1 # -sed3v2.inp-------------------------------------------------------------
2 # Configuration script for lib-src/makefile under DJGPP v2
3 # ----------------------------------------------------------------------
5 # Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004,
6 # 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
8 # This file is part of GNU Emacs.
10 # This file is free software; as a special exception, the author gives
11 # unlimited permission to copy and/or distribute it, with or without
12 # modifications, as long as this notice is preserved.
14 # This program is distributed in the hope that it will be useful,
15 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
18 # ----------------------------------------------------------------------
22 /-DVERSION=/s/@version@/\${version}/
23 /^configname *=/s/=.*$/=msdos/
24 /^archlibdir *=/s!=.*$!=/emacs/bin!
25 /^bindir *=/s!=.*$!=/emacs/bin!
26 /^libdir *=/s!=.*$!=/emacs/bin!
27 /^srcdir=/s!srcdir=@srcdir@!srcdir := $(subst \\,/,$(shell command.com /c cd))!
29 /^BLESSMAIL_TARGET *=/s!@BLESSMAIL_TARGET@!need-blessmail!
30 /^KRB4LIB *=/s/@[^@\n]*@//g
31 /^DESLIB *=/s/@[^@\n]*@//g
32 /^KRB5LIB *=/s/@[^@\n]*@//g
33 /^CRYPTOLIB *=/s/@[^@\n]*@//g
34 /^COM_ERRLIB *=/s/@[^@\n]*@//g
35 /^LIBHESIOD *=/s/@[^@\n]*@//g
36 /^LIBRESOLV *=/s/@[^@\n]*@//g
37 /^LIBS_MAIL *=/s/@[^@\n]*@//g
38 /^LIBS_SYSTEM *=/s/@[^@\n]*@//g
39 /^CFLAGS *=/s!=.*$!=-O2 -g!
40 /^C_SWITCH_SYSTEM *=/s!=.*$!=-DMSDOS!
41 /^C_SWITCH_MACHINE *=/s/@C_SWITCH_MACHINE@//
42 /^C_WARNINGS_SWITCH *=/s/@C_WARNINGS_SWITCH@//
43 /^PROFILING_CFLAGS *=/s/@PROFILING_CFLAGS@//
44 /^LOADLIBES *=/s!=.*$!=!
45 /^ALLOCA *=/s!@ALLOCA@!!
46 /^EXEEXT *=/s!@EXEEXT@!!
47 /^GETOPT_H *=/s!@GETOPT_H@!getopt.h!
48 /^GETOPTOBJS *=/s!@GETOPTOBJS@!getopt.o getopt1.o!
49 /^INSTALLABLES/s/emacsclient[^ ]* *//
55 # arch-tag: 16f3be18-a45b-496c-b19c-e43840359de8