Mercurial > emacs
annotate msdos/sed3v2.inp @ 110628:19b118dd1498
nt/*.c: Use const char*; remove unused code.
* addpm.c (entry, add_registry, main):
* addsection.c (file_data, open_input_file, open_output_file)
(find_section, PTR_TO_OFFSET, copy_executable_and_add_section)
(COPY_CHUNK):
* cmdproxy.c (vfprintf, fprintf, printf, fail, warn, skip_space)
(skip_nonspace, get_next_token, search_dir, make_absolute)
(spawn, main):
* preprep.c (file_data, open_input_file, open_output_file)
(open_inout_file, find_section, PTR_TO_OFFSET, COPY_CHUNK, main):
Use const char*.
* cmdproxy.c (stdin): Don't define, not used.
(main): Don't assign remlen after last use.
author | Juanma Barranquero <lekktu@gmail.com> |
---|---|
date | Tue, 28 Sep 2010 02:55:08 +0200 |
parents | 6d8c29fae125 |
children | 158de1f7d257 |
rev | line source |
---|---|
14967 | 1 # -sed3v2.inp------------------------------------------------------------- |
2 # Configuration script for lib-src/makefile under DJGPP v2 | |
3 # ---------------------------------------------------------------------- | |
36461
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
30380
diff
changeset
|
4 # |
75249
4ad431d8e164
Update copyright for years from Emacs 21 to present (mainly adding
Glenn Morris <rgm@gnu.org>
parents:
68648
diff
changeset
|
5 # Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, |
106815 | 6 # 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. |
36461
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
30380
diff
changeset
|
7 # |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
30380
diff
changeset
|
8 # This file is part of GNU Emacs. |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
30380
diff
changeset
|
9 # |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
30380
diff
changeset
|
10 # This file is free software; as a special exception, the author gives |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
30380
diff
changeset
|
11 # unlimited permission to copy and/or distribute it, with or without |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
30380
diff
changeset
|
12 # modifications, as long as this notice is preserved. |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
30380
diff
changeset
|
13 # |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
30380
diff
changeset
|
14 # This program is distributed in the hope that it will be useful, |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
30380
diff
changeset
|
15 # but WITHOUT ANY WARRANTY; without even the implied warranty of |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
30380
diff
changeset
|
16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
30380
diff
changeset
|
17 # |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
30380
diff
changeset
|
18 # ---------------------------------------------------------------------- |
14967 | 19 /^# DIST: /d |
20 /^SHELL *=/s/^/# / | |
21 /^CC *=/s/=.*$/=gcc/ | |
21594
529f64fddbb6
When installing ${version}, do it replacing @version@.
Richard M. Stallman <rms@gnu.org>
parents:
14967
diff
changeset
|
22 /-DVERSION=/s/@version@/\${version}/ |
14967 | 23 /^configname *=/s/=.*$/=msdos/ |
24 /^archlibdir *=/s!=.*$!=/emacs/bin! | |
25 /^bindir *=/s!=.*$!=/emacs/bin! | |
26 /^libdir *=/s!=.*$!=/emacs/bin! | |
52389
3627ac63d5a9
(srcdir): Use "command.com /c cd" to produce an
Eli Zaretskii <eliz@gnu.org>
parents:
52316
diff
changeset
|
27 /^srcdir=/s!srcdir=@srcdir@!srcdir := $(subst \\,/,$(shell command.com /c cd))! |
14967 | 28 /^VPATH *=/s!=.*$!=.! |
108379
203aa49071bf
Move MAIL_USE_FLOCK, MAIL_USE_LOCKF, BLESSMAIL_TARGET from cpp to configure.
Glenn Morris <rgm@gnu.org>
parents:
108298
diff
changeset
|
29 /^BLESSMAIL_TARGET *=/s!@BLESSMAIL_TARGET@!need-blessmail! |
107548
f1433702b7ea
Fix the MSDOS build as fallout from the latest Makefile.in changes.
Eli Zaretskii <eliz@gnu.org>
parents:
106815
diff
changeset
|
30 /^KRB4LIB *=/s/@[^@\n]*@//g |
f1433702b7ea
Fix the MSDOS build as fallout from the latest Makefile.in changes.
Eli Zaretskii <eliz@gnu.org>
parents:
106815
diff
changeset
|
31 /^DESLIB *=/s/@[^@\n]*@//g |
f1433702b7ea
Fix the MSDOS build as fallout from the latest Makefile.in changes.
Eli Zaretskii <eliz@gnu.org>
parents:
106815
diff
changeset
|
32 /^KRB5LIB *=/s/@[^@\n]*@//g |
f1433702b7ea
Fix the MSDOS build as fallout from the latest Makefile.in changes.
Eli Zaretskii <eliz@gnu.org>
parents:
106815
diff
changeset
|
33 /^CRYPTOLIB *=/s/@[^@\n]*@//g |
f1433702b7ea
Fix the MSDOS build as fallout from the latest Makefile.in changes.
Eli Zaretskii <eliz@gnu.org>
parents:
106815
diff
changeset
|
34 /^COM_ERRLIB *=/s/@[^@\n]*@//g |
f1433702b7ea
Fix the MSDOS build as fallout from the latest Makefile.in changes.
Eli Zaretskii <eliz@gnu.org>
parents:
106815
diff
changeset
|
35 /^LIBHESIOD *=/s/@[^@\n]*@//g |
f1433702b7ea
Fix the MSDOS build as fallout from the latest Makefile.in changes.
Eli Zaretskii <eliz@gnu.org>
parents:
106815
diff
changeset
|
36 /^LIBRESOLV *=/s/@[^@\n]*@//g |
f1433702b7ea
Fix the MSDOS build as fallout from the latest Makefile.in changes.
Eli Zaretskii <eliz@gnu.org>
parents:
106815
diff
changeset
|
37 /^LIBS_MAIL *=/s/@[^@\n]*@//g |
108382
b9b3b94979ee
Move LIBS_SYSTEM from cpp to configure.
Glenn Morris <rgm@gnu.org>
parents:
108379
diff
changeset
|
38 /^LIBS_SYSTEM *=/s/@[^@\n]*@//g |
14967 | 39 /^CFLAGS *=/s!=.*$!=-O2 -g! |
40 /^C_SWITCH_SYSTEM *=/s!=.*$!=-DMSDOS! | |
108298
ffcbc15ab440
Fix MS-DOS configuring in lib-src/ and src/, broken by autoconfiscation.
Eli Zaretskii <eliz@gnu.org>
parents:
107548
diff
changeset
|
41 /^C_SWITCH_MACHINE *=/s/@C_SWITCH_MACHINE@// |
109368
6d8c29fae125
Fix the MS-DOS build (fallout from revno 100791, 100794, 100795).
Eli Zaretskii <eliz@gnu.org>
parents:
108592
diff
changeset
|
42 /^C_WARNINGS_SWITCH *=/s/@C_WARNINGS_SWITCH@// |
6d8c29fae125
Fix the MS-DOS build (fallout from revno 100791, 100794, 100795).
Eli Zaretskii <eliz@gnu.org>
parents:
108592
diff
changeset
|
43 /^PROFILING_CFLAGS *=/s/@PROFILING_CFLAGS@// |
6d8c29fae125
Fix the MS-DOS build (fallout from revno 100791, 100794, 100795).
Eli Zaretskii <eliz@gnu.org>
parents:
108592
diff
changeset
|
44 /^PROFILING_LDFLAGS *=/s/@PROFILING_LDFLAGS@// |
14967 | 45 /^LOADLIBES *=/s!=.*$!=! |
30380
4c605d08a747
Define ALLOCA to an empty string.
Eli Zaretskii <eliz@gnu.org>
parents:
21594
diff
changeset
|
46 /^ALLOCA *=/s!@ALLOCA@!! |
52316
c2cfd1a0a301
(EXEEXT): Define to an empty string.
Eli Zaretskii <eliz@gnu.org>
parents:
36461
diff
changeset
|
47 /^EXEEXT *=/s!@EXEEXT@!! |
65408
148f72c0ee3b
(GETOPT_H, GETOPTOBJS): Define to use getopt.h, getopt.o and getopt1.o.
Eli Zaretskii <eliz@gnu.org>
parents:
64890
diff
changeset
|
48 /^GETOPT_H *=/s!@GETOPT_H@!getopt.h! |
148f72c0ee3b
(GETOPT_H, GETOPTOBJS): Define to use getopt.h, getopt.o and getopt1.o.
Eli Zaretskii <eliz@gnu.org>
parents:
64890
diff
changeset
|
49 /^GETOPTOBJS *=/s!@GETOPTOBJS@!getopt.o getopt1.o! |
108592 | 50 /^INSTALLABLES/s/emacsclient[^ ]* *// |
14967 | 51 s!^ \./! ! |
108592 | 52 /^UTILITIES *=/,/^$/{ |
53 s/movemail[^ ]* *// | |
54 } | |
52401 | 55 |
56 # arch-tag: 16f3be18-a45b-496c-b19c-e43840359de8 |