annotate msdos/sed3v2.inp @ 112440:b5017c649dfb

Check return values of some library calls.
author Paul Eggert <eggert@cs.ucla.edu>
date Sat, 22 Jan 2011 23:30:19 -0800
parents ef719132ddfa
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
14967
5c431b2e0f95 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1 # -sed3v2.inp-------------------------------------------------------------
5c431b2e0f95 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2 # Configuration script for lib-src/makefile under DJGPP v2
5c431b2e0f95 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
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,
112218
376148b31b5e Add 2011 to FSF/AIST copyright years.
Glenn Morris <rgm@gnu.org>
parents: 106815
diff changeset
6 # 2005, 2006, 2007, 2008, 2009, 2010, 2011 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
5c431b2e0f95 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
19 /^# DIST: /d
5c431b2e0f95 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
20 /^SHELL *=/s/^/# /
5c431b2e0f95 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
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
5c431b2e0f95 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
23 /^configname *=/s/=.*$/=msdos/
5c431b2e0f95 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
24 /^archlibdir *=/s!=.*$!=/emacs/bin!
5c431b2e0f95 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
25 /^bindir *=/s!=.*$!=/emacs/bin!
5c431b2e0f95 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
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
5c431b2e0f95 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
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
5c431b2e0f95 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
39 /^CFLAGS *=/s!=.*$!=-O2 -g!
5c431b2e0f95 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
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@//
14967
5c431b2e0f95 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
44 /^LOADLIBES *=/s!=.*$!=!
30380
4c605d08a747 Define ALLOCA to an empty string.
Eli Zaretskii <eliz@gnu.org>
parents: 21594
diff changeset
45 /^ALLOCA *=/s!@ALLOCA@!!
52316
c2cfd1a0a301 (EXEEXT): Define to an empty string.
Eli Zaretskii <eliz@gnu.org>
parents: 36461
diff changeset
46 /^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
47 /^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
48 /^GETOPTOBJS *=/s!@GETOPTOBJS@!getopt.o getopt1.o!
108592
d1257e56bb95 Fix "config msdos" step.
Eli Zaretskii <eliz@gnu.org>
parents: 108508
diff changeset
49 /^INSTALLABLES/s/emacsclient[^ ]* *//
14967
5c431b2e0f95 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
50 s!^ \./! !
108592
d1257e56bb95 Fix "config msdos" step.
Eli Zaretskii <eliz@gnu.org>
parents: 108508
diff changeset
51 /^UTILITIES *=/,/^$/{
d1257e56bb95 Fix "config msdos" step.
Eli Zaretskii <eliz@gnu.org>
parents: 108508
diff changeset
52 s/movemail[^ ]* *//
d1257e56bb95 Fix "config msdos" step.
Eli Zaretskii <eliz@gnu.org>
parents: 108508
diff changeset
53 }
52401
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 52389
diff changeset
54