Fix MSDOS build broken by autoconfiscation and changes in symbol handling.
[bpt/emacs.git] / msdos / sed3v2.inp
1 # -sed3v2.inp-------------------------------------------------------------
2 # Configuration script for lib-src/makefile under DJGPP v2
3 # ----------------------------------------------------------------------
4 #
5 # Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004,
6 # 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
7 #
8 # This file is part of GNU Emacs.
9 #
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.
13 #
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.
17 #
18 # ----------------------------------------------------------------------
19 /^# DIST: /d
20 /^SHELL *=/s/^/# /
21 /^CC *=/s/=.*$/=gcc/
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))!
28 /^VPATH *=/s!=.*$!=.!
29 /^KRB4LIB *=/s/@[^@\n]*@//g
30 /^DESLIB *=/s/@[^@\n]*@//g
31 /^KRB5LIB *=/s/@[^@\n]*@//g
32 /^CRYPTOLIB *=/s/@[^@\n]*@//g
33 /^COM_ERRLIB *=/s/@[^@\n]*@//g
34 /^LIBHESIOD *=/s/@[^@\n]*@//g
35 /^LIBRESOLV *=/s/@[^@\n]*@//g
36 /^LIBS_MAIL *=/s/@[^@\n]*@//g
37 /^CFLAGS *=/s!=.*$!=-O2 -g!
38 /^C_SWITCH_SYSTEM *=/s!=.*$!=-DMSDOS!
39 /^C_SWITCH_MACHINE *=/s/@C_SWITCH_MACHINE@//
40 /^LOADLIBES *=/s!=.*$!=!
41 /^ALLOCA *=/s!@ALLOCA@!!
42 /^EXEEXT *=/s!@EXEEXT@!!
43 /^GETOPT_H *=/s!@GETOPT_H@!getopt.h!
44 /^GETOPTOBJS *=/s!@GETOPTOBJS@!getopt.o getopt1.o!
45 /^INSTALLABLES/s/emacsclient *//
46 /^INSTALLABLES/s/ @LIB_SRC_EXTRA_INSTALLABLES@//
47 s!^ \./! !
48 /^UTILITIES=/s/ wakeup//
49 /^UTILITIES=/s/ movemail//
50 /^UTILITIES=/s/ emacsserver//
51 /^UTILITIES=/s/ timer//
52
53 # arch-tag: 16f3be18-a45b-496c-b19c-e43840359de8