aboutsummaryrefslogtreecommitdiffstats
path: root/msdos
diff options
context:
space:
mode:
authorEli Zaretskii2014-04-16 16:27:28 +0300
committerEli Zaretskii2014-04-16 16:27:28 +0300
commitbf6b4923f7eedea193dee2130bf7fa597a5932d4 (patch)
tree62bd144e45df20c0fc1600eedb3f744dcfe959a2 /msdos
parent3a31cae4677c7c5e501dcf7e5c520e49db16f75e (diff)
downloademacs-bf6b4923f7eedea193dee2130bf7fa597a5932d4.tar.gz
emacs-bf6b4923f7eedea193dee2130bf7fa597a5932d4.zip
Fix the MSDOS build.
src/unexcoff.c [MSDOS]: Include libc/atexit.h. (copy_text_and_data): Zero out the atexit chain pointer before dumping Emacs. src/termhooks.h (encode_terminal_code): Update prototype. src/term.c (encode_terminal_code) [DOS_NT]: Make it externally visible for all DOS_NT ports, not just WINDOWSNT. (syms_of_term) [!MSDOS]: Don't define 'tty-menu-*' symbols on MSDOS. src/sysdep.c (emacs_sigaction_init, init_signals): Don't use SIGCHLD unless it is defined. (emacs_pipe) [MSDOS]: Redirect to 'pipe'. src/process.c (close_on_exec, accept4, process_socket): Move into the "ifdef subprocesses" part. (catch_child_signal): Condition by "ifdef subprocesses". (syms_of_process) <Qinternal_default_process_sentinel> <Qinternal_default_process_filter>: Condition by "ifdef subprocesses". src/msdos.h: Add prototypes for new functions. (EINPROGRESS): Define. (O_CLOEXEC): Define to zero. src/msdos.c (check_window_system): Remove unnecessary an incompatible duplicate function. (sys_opendir, readlinkat, faccessat, fstatat, unsetenv): New functions in support of new functionality. src/menu.c (single_menu_item): Add visual indication of submenu also for menus on MSDOS frames. (Fx_popup_menu) [!MSDOS]: Do not call tty_menu_show on MSDOS. src/lisp.h (CHECK_PROCESS) [!subprocesses]: Do not define when async subprocesses aren't supported. src/font.h (FONT_WIDTH) [MSDOS]: MSDOS-specific definition. src/emacs.c (close_output_streams): Zero out errno before calling close_stream. src/dired.c [MSDOS]: Include msdos.h. src/conf_post.h (opendir) [MSDOS]: Redirect to sys_opendir. (DATA_START) [MSDOS]: Define. (SYSTEM_PURESIZE_EXTRA) [MSDOS]: Enlarge by 25K. src/callproc.c (block_child_signal, unblock_child_signal) [MSDOS]: Ifdef away for MSDOS. (record_kill_process) [MSDOS]: Ifdef away the entire body for MSDOS. (call_process_cleanup) [MSDOS]: Ifdef away portions not relevant for MSDOS. (call_process) [MSDOS]: Fix call sequence of dostounix_filename. Use temporary file template that is compatible with mkostemp. Move vfork-related portions under #ifndef MSDOS. (syms_of_callproc): Unify templates of MSDOS and WINDOWSNT. lisp/term/pc-win.el (x-list-fonts, x-get-selection-value): Provide doc strings, as required by snarf-documentation. msdos/sedlisp.inp: msdos/sedlibmk.inp: msdos/sedleim.inp: msdos/sed3v2.inp: msdos/sed2v2.inp: msdos/sed1v2.inp: Update Sed scripts for Emacs 24.4. msdos/inttypes.h: Add PRIdMAX. msdos/INSTALL: Update for Emacs 24.4. msdos/sedadmin.inp: New file.
Diffstat (limited to 'msdos')
-rw-r--r--msdos/ChangeLog15
-rw-r--r--msdos/INSTALL58
-rw-r--r--msdos/inttypes.h1
-rw-r--r--msdos/sed1v2.inp37
-rw-r--r--msdos/sed2v2.inp1
-rw-r--r--msdos/sed3v2.inp10
-rw-r--r--msdos/sed6.inp2
-rw-r--r--msdos/sedleim.inp53
-rw-r--r--msdos/sedlibmk.inp468
-rw-r--r--msdos/sedlisp.inp3
10 files changed, 198 insertions, 450 deletions
diff --git a/msdos/ChangeLog b/msdos/ChangeLog
index 65122a01659..f1d6c322bc2 100644
--- a/msdos/ChangeLog
+++ b/msdos/ChangeLog
@@ -1,3 +1,18 @@
12014-04-16 Eli Zaretskii <eliz@gnu.org>
2
3 * sedlisp.inp:
4 * sedlibmk.inp:
5 * sedleim.inp:
6 * sed3v2.inp:
7 * sed2v2.inp:
8 * sed1v2.inp: Update Sed scripts for Emacs 24.4.
9
10 * inttypes.h: Add PRIdMAX.
11
12 * INSTALL: Update for Emacs 24.4.
13
14 * sedadmin.inp: New file.
15
12013-12-24 Paul Eggert <eggert@cs.ucla.edu> 162013-12-24 Paul Eggert <eggert@cs.ucla.edu>
2 17
3 * autogen/Makefile.in: Update copyright year. 18 * autogen/Makefile.in: Update copyright year.
diff --git a/msdos/INSTALL b/msdos/INSTALL
index 815da38bd77..de950b89def 100644
--- a/msdos/INSTALL
+++ b/msdos/INSTALL
@@ -4,18 +4,19 @@ Copyright (C) 1992, 1994, 1996-1997, 2000-2014 Free Software Foundation,
4Inc. 4Inc.
5See the end of the file for license conditions. 5See the end of the file for license conditions.
6 6
7The DJGPP port of GNU Emacs builds and runs on plain DOS and also on 7The DJGPP port of GNU Emacs builds and runs on all versions of
8all versions of MS-Windows from version 3.X on, including Windows XP, 8MS-Windows from version 3.X on, including Windows XP, Vista, and
9Vista, and Windows 7 (however, see below for issues with Windows Vista 9Windows 7 (however, see below for issues with Windows Vista and 7).
10and 7). 10Building on plain MS-DOS is supported only if long file names are
11supported (e.g., with a specialized driver such as doslfn).
11 12
12To build and install the DJGPP port, you need to have the DJGPP ports 13To build and install the DJGPP port, you need to have the DJGPP ports
13of GCC (the GNU C compiler), GNU Make, rm, mv, and sed. See the 14of GCC (the GNU C compiler), GNU Make, rm, mv, cp, and sed. See the
14remarks in CONFIG.BAT for more information about locations and 15remarks in CONFIG.BAT for more information about locations and
15versions. The Emacs FAQ (see info/efaq) includes pointers to Internet 16versions. The Emacs FAQ (see info/efaq.info) includes pointers to
16sites where you can find the necessary utilities; search for "MS-DOS". 17Internet sites where you can find the necessary utilities; search for
17The configuration step (see below) will test for these utilities and 18"MS-DOS". The configuration step (see below) will test for these
18will refuse to continue if any of them isn't found. 19utilities and will refuse to continue if any of them isn't found.
19 20
20Bootstrapping Emacs or recompiling Lisp files in the `lisp' 21Bootstrapping Emacs or recompiling Lisp files in the `lisp'
21subdirectory using the various targets in the lisp/Makefile file 22subdirectory using the various targets in the lisp/Makefile file
@@ -27,18 +28,14 @@ are distributed in byte-compiled form as well. As for bootstrapping
27itself, you will only need that if you check-out development sources 28itself, you will only need that if you check-out development sources
28from the Emacs source repository. 29from the Emacs source repository.
29 30
30If you are building the DJGPP version of Emacs on a DOS-like system 31Building the DJGPP version of Emacs is currently supported only on
31which supports long file names (e.g. Windows 9X or Windows XP), you 32systems which support long file names (e.g. Windows 9X or Windows XP).
32need to make sure that long file names are handled consistently both 33You need to unpack Emacs distribution in a way that doesn't truncate
33when you unpack the distribution and compile it. With DJGPP v2.0 or 34the original long filenames to the DOS 8.3 namespace; the easiest way
34later, long file names support is by default, so you need to unpack 35to do this is to use djtar program which comes with DJGPP, since it
35Emacs distribution in a way that doesn't truncate the original long 36will behave consistently with the rest of DJGPP tools. Do _not_
36filenames to the DOS 8.3 namespace; the easiest way to do this is to 37disable the DJGPP long-file-name support (a.k.a. "LFN") while building
37use djtar program which comes with DJGPP, since it will behave 38Emacs.
38consistently with the rest of DJGPP tools. Alternatively, you can
39build Emacs with LFN=n, if some of your tools don't support long file
40names: just ensure that LFN is set to `n' during both unpacking and
41compiling.
42 39
43(By the time you read this, you have already unpacked the Emacs 40(By the time you read this, you have already unpacked the Emacs
44distribution, but if the explanations above imply that you should have 41distribution, but if the explanations above imply that you should have
@@ -46,18 +43,6 @@ done it differently, it's safer to delete the directory tree created
46by the unpacking program and unpack Emacs again, than to risk running 43by the unpacking program and unpack Emacs again, than to risk running
47into strange problems during the build process.) 44into strange problems during the build process.)
48 45
49It is important to understand that the runtime support of long file
50names by the Emacs binary is NOT affected by the LFN setting during
51compilation; Emacs compiled with DJGPP v2.0 or later will always
52support long file names on Windows no matter what was the setting
53of LFN at compile time. However, if you compiled with LFN disabled
54and want to enable LFN support after Emacs was already built, you need
55to make sure that the support files in the lisp, etc and info
56directories are called by their original long names as found in the
57distribution. You can do this either by renaming the files manually,
58or by extracting them from the original distribution archive with
59djtar after you set LFN=y in the environment.
60
61To unpack Emacs with djtar, type this command: 46To unpack Emacs with djtar, type this command:
62 47
63 djtar -x emacs.tgz 48 djtar -x emacs.tgz
@@ -68,13 +53,6 @@ your system.)
68When unpacking Emacs is done, a directory called `emacs-XX.YY' will be 53When unpacking Emacs is done, a directory called `emacs-XX.YY' will be
69created, where XX.YY is the Emacs version. 54created, where XX.YY is the Emacs version.
70 55
71On plain DOS, unpacking can complain about several directories and
72files in the `nextstep' subdirectory of the `emacs-XX.YY' top-level
73directory. This is because the names of these files overflow the
7467-character limit on the file-name length imposed by DOS filesystems.
75When prompted by `djtar' for a different name for these files, just
76press [Enter] to skip them: they are not needed for the DJGPP build.
77
78If you want to print international characters, install the intlfonts 56If you want to print international characters, install the intlfonts
79distribution. For this, create a directory called `fonts' under the 57distribution. For this, create a directory called `fonts' under the
80`emacs-XX.YY' top-level directory created by unpacking emacs.tgz, 58`emacs-XX.YY' top-level directory created by unpacking emacs.tgz,
diff --git a/msdos/inttypes.h b/msdos/inttypes.h
index 9f59d4e1a2e..7469ea07b71 100644
--- a/msdos/inttypes.h
+++ b/msdos/inttypes.h
@@ -32,6 +32,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
32#define strtoumax strtoull 32#define strtoumax strtoull
33#define strtoimax strtoll 33#define strtoimax strtoll
34#define PRIuMAX "llu" 34#define PRIuMAX "llu"
35#define PRIdMAX "lld"
35#endif /* __DJGPP__ < 2.04 */ 36#endif /* __DJGPP__ < 2.04 */
36 37
37#endif 38#endif
diff --git a/msdos/sed1v2.inp b/msdos/sed1v2.inp
index c7e770cb3ee..77c74fe2f0c 100644
--- a/msdos/sed1v2.inp
+++ b/msdos/sed1v2.inp
@@ -48,12 +48,16 @@ s/\.h\.in/.h-in/
48/^LD_SWITCH_SYSTEM_TEMACS *=/s/@LD_SWITCH_SYSTEM_TEMACS@// 48/^LD_SWITCH_SYSTEM_TEMACS *=/s/@LD_SWITCH_SYSTEM_TEMACS@//
49/^LD_SWITCH_X_SITE_AUX *=/s/@LD_SWITCH_X_SITE_AUX@// 49/^LD_SWITCH_X_SITE_AUX *=/s/@LD_SWITCH_X_SITE_AUX@//
50/^LD_SWITCH_X_SITE_AUX_RPATH *=/s/@LD_SWITCH_X_SITE_AUX_RPATH@// 50/^LD_SWITCH_X_SITE_AUX_RPATH *=/s/@LD_SWITCH_X_SITE_AUX_RPATH@//
51/^LD_SWITCH_X_SITE_RPATH *=/s/@LD_SWITCH_X_SITE_RPATH@//
51/^LD_SWITCH_SYSTEM *=/s/@LD_SWITCH_SYSTEM@// 52/^LD_SWITCH_SYSTEM *=/s/@LD_SWITCH_SYSTEM@//
52/^LIBS_SYSTEM *=/s/@LIBS_SYSTEM@// 53/^LIBS_SYSTEM *=/s/@LIBS_SYSTEM@//
53/^LIB_GCC *=/s/@LIB_GCC@// 54/^LIB_GCC *=/s/@LIB_GCC@//
54/^LIB_STANDARD *=/s/@LIB_STANDARD@// 55/^LIB_STANDARD *=/s/@LIB_STANDARD@//
55/^LIB_MATH *=/s/@LIB_MATH@/-lm/ 56/^LIB_MATH *=/s/@LIB_MATH@/-lm/
56/^LIB_PTHREAD *=/s/@LIB_PTHREAD@// 57/^LIB_PTHREAD *=/s/@LIB_PTHREAD@//
58/^LIB_ACL *=/s/@LIB_ACL@//
59/^LIB_EACCESS *=/s/@LIB_EACCESS@//
60/^LIB_FDATASYNC *=/s/@LIB_FDATASYNC@//
57s/ *@LIBTIFF@// 61s/ *@LIBTIFF@//
58s/ *@LIBJPEG@// 62s/ *@LIBJPEG@//
59s/ *@LIBPNG@// 63s/ *@LIBPNG@//
@@ -71,8 +75,10 @@ s/ *@LIBXPM@//
71/^DBUS_CFLAGS *=/s/@DBUS_CFLAGS@// 75/^DBUS_CFLAGS *=/s/@DBUS_CFLAGS@//
72/^DBUS_LIBS *=/s/@DBUS_LIBS@// 76/^DBUS_LIBS *=/s/@DBUS_LIBS@//
73/^DBUS_OBJ *=/s/@DBUS_OBJ@// 77/^DBUS_OBJ *=/s/@DBUS_OBJ@//
78/^NOTIFY_OBJ *=/s/@NOTIFY_OBJ@//
74/^SETTINGS_CFLAGS *=/s/@SETTINGS_CFLAGS@// 79/^SETTINGS_CFLAGS *=/s/@SETTINGS_CFLAGS@//
75/^SETTINGS_LIBS *=/s/@SETTINGS_LIBS@// 80/^SETTINGS_LIBS *=/s/@SETTINGS_LIBS@//
81/^GFILENOTIFY_LIBS *=/s/@GFILENOTIFY_LIBS@//
76/^GTK_OBJ *=/s/@GTK_OBJ@// 82/^GTK_OBJ *=/s/@GTK_OBJ@//
77/^LIBS_TERMCAP *=/s/@LIBS_TERMCAP@// 83/^LIBS_TERMCAP *=/s/@LIBS_TERMCAP@//
78/^TERMCAP_OBJ *=/s/@TERMCAP_OBJ@/termcap.o tparam.o/ 84/^TERMCAP_OBJ *=/s/@TERMCAP_OBJ@/termcap.o tparam.o/
@@ -83,6 +89,7 @@ s/ *@LIBXPM@//
83/^OLDXMENU_TARGET *=/s/@OLDXMENU_TARGET@// 89/^OLDXMENU_TARGET *=/s/@OLDXMENU_TARGET@//
84/^OLDXMENU_DEPS *=/s/@OLDXMENU_DEPS@// 90/^OLDXMENU_DEPS *=/s/@OLDXMENU_DEPS@//
85/^XOBJ *=/s/@XOBJ@// 91/^XOBJ *=/s/@XOBJ@//
92/^XGSELOBJ *=/s/@XGSELOBJ@//
86/^TOOLKIT_LIBW *=/s/@TOOLKIT_LIBW@// 93/^TOOLKIT_LIBW *=/s/@TOOLKIT_LIBW@//
87/^LIBSOUND *=/s/@LIBSOUND@// 94/^LIBSOUND *=/s/@LIBSOUND@//
88/^LIBS_GNUSTEP *=/s/@LIBS_GNUSTEP@// 95/^LIBS_GNUSTEP *=/s/@LIBS_GNUSTEP@//
@@ -114,12 +121,19 @@ s/ *@LIBXPM@//
114/^XMENU_OBJ *=/s/@XMENU_OBJ@/xmenu.o/ 121/^XMENU_OBJ *=/s/@XMENU_OBJ@/xmenu.o/
115/^FONT_OBJ *=/s/@FONT_OBJ@// 122/^FONT_OBJ *=/s/@FONT_OBJ@//
116/^LIBGPM *=/s/@LIBGPM@// 123/^LIBGPM *=/s/@LIBGPM@//
124/^LIBZ *=/s/@LIBZ@//
117/^EXEEXT *=/s/@EXEEXT@/.exe/ 125/^EXEEXT *=/s/@EXEEXT@/.exe/
126/^MKDIR_P *=/s/@MKDIR_P@/gmkdir -p/
118/^OLDXMENU *=/s/@OLDXMENU@/nothing/ 127/^OLDXMENU *=/s/@OLDXMENU@/nothing/
119/^LIBXMENU *=/s/@LIBXMENU@// 128/^LIBXMENU *=/s/@LIBXMENU@//
120/^LIBX_OTHER *=/s/@LIBX_OTHER@// 129/^LIBX_OTHER *=/s/@LIBX_OTHER@//
130/^XRANDR_LIBS *=/s/@XRANDR_LIBS@//
131/^XRANDR_CFLAGS *=/s/@XRANDR_CFLAGS@//
132/^XINERAMA_LIBS *=/s/@XINERAMA_LIBS@//
133/^XINERAMA_CFLAGS *=/s/@XINERAMA_CFLAGS@//
121/^GMALLOC_OBJ *=/s/@GMALLOC_OBJ@/gmalloc.o/ 134/^GMALLOC_OBJ *=/s/@GMALLOC_OBJ@/gmalloc.o/
122/^VMLIMIT_OBJ *=/s/@VMLIMIT_OBJ@/vm-limit.o/ 135/^VMLIMIT_OBJ *=/s/@VMLIMIT_OBJ@/vm-limit.o/
136/^FIRSTFILE_OBJ *=/s/@FIRSTFILE_OBJ@//
123/^RALLOC_OBJ *=/s/@RALLOC_OBJ@/ralloc.o/ 137/^RALLOC_OBJ *=/s/@RALLOC_OBJ@/ralloc.o/
124/^PRE_ALLOC_OBJ *=/s/@PRE_ALLOC_OBJ@/lastfile.o/ 138/^PRE_ALLOC_OBJ *=/s/@PRE_ALLOC_OBJ@/lastfile.o/
125/^POST_ALLOC_OBJ *=/s/@POST_ALLOC_OBJ@/$(vmlimitobj)/ 139/^POST_ALLOC_OBJ *=/s/@POST_ALLOC_OBJ@/$(vmlimitobj)/
@@ -130,9 +144,15 @@ s/ *@LIBXPM@//
130/^W32_OBJ *=/s/@W32_OBJ@// 144/^W32_OBJ *=/s/@W32_OBJ@//
131/^W32_LIBS *=/s/@W32_LIBS@// 145/^W32_LIBS *=/s/@W32_LIBS@//
132/^version *=/s/@[^@\n]*@// 146/^version *=/s/@[^@\n]*@//
147/^EMACSRES *=/s/@EMACSRES@//
148/^EMACS_MANIFEST *=/s/@EMACS_MANIFEST@//
149/^W32_RES_LINK *=/s/@W32_RES_LINK@//
150/^CM_OBJ *=/s/@CM_OBJ@/cm.o/
133/^@SET_MAKE@$/s/@SET_MAKE@// 151/^@SET_MAKE@$/s/@SET_MAKE@//
152/^TEMACS_POST_LINK *=/s/@TEMACS_POST_LINK@/stubedit temacs.exe minstack=1024k/
153/^ADDSECTION *=/s/@ADDSECTION@//
134/^ [ ]*\$(libsrc)\/make-docfile.*>.*\/DOC/s!make-docfile!make-docfile -o $(etc)/DOC! 154/^ [ ]*\$(libsrc)\/make-docfile.*>.*\/DOC/s!make-docfile!make-docfile -o $(etc)/DOC!
135/^ [ ]*\$(libsrc)\/make-docfile.*>.*gl-tmp/s!make-docfile!make-docfile -o gl-tmp! 155/^ [ ]*\$(libsrc)\/make-docfile.*>.*gl.tmp/s!make-docfile!make-docfile -o gl.tmp!
136/^.\$(libsrc)\/make-doc/s!>.*$!! 156/^.\$(libsrc)\/make-doc/s!>.*$!!
137/^ [ ]*\$(libsrc)\/make-docfile /s!`[^`]*`!$(lisp); cd ../src! 157/^ [ ]*\$(libsrc)\/make-docfile /s!`[^`]*`!$(lisp); cd ../src!
138/^[ ]*$/d 158/^[ ]*$/d
@@ -142,6 +162,7 @@ s/ *@LIBXPM@//
142/^ *test "X\$(PAXCTL)" = X/d 162/^ *test "X\$(PAXCTL)" = X/d
143/^ *test "\$(CANNOT_DUMP)" = "yes"/d 163/^ *test "\$(CANNOT_DUMP)" = "yes"/d
144/^ if test "\$(CANNOT_DUMP)" =/,/^ else /d 164/^ if test "\$(CANNOT_DUMP)" =/,/^ else /d
165/^ *\$(SETFATTR) -n/d
145/^ -\{0,1\} *ln /s/bootstrap-emacs\$(EXEEXT).*$/bootstrap-emacs$(EXEEXT)/ 166/^ -\{0,1\} *ln /s/bootstrap-emacs\$(EXEEXT).*$/bootstrap-emacs$(EXEEXT)/
146/^ fi/d 167/^ fi/d
147/^ *LC_ALL=C \$(RUN_TEMACS)/i\ 168/^ *LC_ALL=C \$(RUN_TEMACS)/i\
@@ -156,15 +177,17 @@ s/ @true *$/ @rem/
156s/^ [^ ]*move-if-change / update / 177s/^ [^ ]*move-if-change / update /
157/^ echo[ ][ ]*timestamp/s/echo /djecho / 178/^ echo[ ][ ]*timestamp/s/echo /djecho /
158/^ .*djecho timestamp/a\ 179/^ .*djecho timestamp/a\
159 @rm -f gl-tmp 180 @rm -f gl.tmp
160/^ cd \$(leimdir) && \$(MAKE)/i\ 181/^ cd ..\/leim && \$(MAKE)/i\
161 $(RUN_TEMACS) -batch -l loadup dump\ 182 $(RUN_TEMACS) -batch -l loadup dump\
162 stubify emacs\ 183 stubify emacs\
163 stubedit emacs.exe minstack=2048k\ 184 stubedit emacs.exe minstack=2048k\
164 rm -f b-emacs$(EXEEXT)\ 185 rm -f b-emacs$(EXEEXT)\
165 cp emacs$(EXEEXT) b-emacs$(EXEEXT) 186 cp emacs$(EXEEXT) b-emacs$(EXEEXT)
166/^ cd \$(leimdir) && \$(MAKE)/c\ 187/^ cd ..\/leim && \$(MAKE)/c\
167 $(MAKE) $(MFLAGS) -C $(leimdir) leim-list.el EMACS=$(bootstrap_exe) 188 $(MAKE) $(MFLAGS) -C ../leim leim-list.el EMACS=$(bootstrap_exe)
189/^ cd ..\/admin\/unidata && \$(MAKE)/c\
190 $(MAKE) $(MFLAGS) -C ../admin/unidata all EMACS="../$(bootstrap_exe)"
168/^ cd \$(lib) && \$(MAKE)/c\ 191/^ cd \$(lib) && \$(MAKE)/c\
169 $(MAKE) $(MFLAGS) -C $(lib) libgnu.a 192 $(MAKE) $(MFLAGS) -C $(lib) libgnu.a
170/^RUN_TEMACS *=/s|`/bin/pwd`|.| 193/^RUN_TEMACS *=/s|`/bin/pwd`|.|
@@ -199,6 +222,10 @@ s/echo.*buildobj.lst/dj&/
199/^ @\{0,1\}cd ..\/lisp;.*[^\]$/s|$|\; cd ../src| 222/^ @\{0,1\}cd ..\/lisp;.*[^\]$/s|$|\; cd ../src|
200/^ *THEFILE=/s|$|\; cd ../src| 223/^ *THEFILE=/s|$|\; cd ../src|
201/^ echo.* buildobj.h/s|echo |djecho | 224/^ echo.* buildobj.h/s|echo |djecho |
225/^buildobj\.h:/,/^ mv /{
226 /^ *for /,/^ *done /c\
227 djecho "$(ALLOBJS)" | sed -e 's/^ */"/' -e 's/ *$$/"/' -e 's/ */", "/g' >>$@.tmp
228}
202# Make the GCC command line fit one screen line 229# Make the GCC command line fit one screen line
203/^[ ][ ]*\$(GNUSTEP_CFLAGS)/d 230/^[ ][ ]*\$(GNUSTEP_CFLAGS)/d
204/^[ ][ ]*\$(GCONF_CFLAGS)/d 231/^[ ][ ]*\$(GCONF_CFLAGS)/d
diff --git a/msdos/sed2v2.inp b/msdos/sed2v2.inp
index 421ccd4be05..806e2b416ea 100644
--- a/msdos/sed2v2.inp
+++ b/msdos/sed2v2.inp
@@ -132,6 +132,7 @@ s/^#undef HAVE_STRTOULL *$/#define HAVE_STRTOULL 1/
132#else\ 132#else\
133#undef HAVE_SNPRINTF\ 133#undef HAVE_SNPRINTF\
134#endif 134#endif
135s/^#undef PENDING_OUTPUT_N_BYTES *$/#define PENDING_OUTPUT_N_BYTES fp->_ptr - fp->_base/
135 136
136# Comment out any remaining undef directives, because some of them 137# Comment out any remaining undef directives, because some of them
137# might be defined in sys/config.h we include at the top of config.h. 138# might be defined in sys/config.h we include at the top of config.h.
diff --git a/msdos/sed3v2.inp b/msdos/sed3v2.inp
index dcc09ddeb3c..09f2f089831 100644
--- a/msdos/sed3v2.inp
+++ b/msdos/sed3v2.inp
@@ -42,9 +42,17 @@ s/-DVERSION[^ ]* //
42/^C_SWITCH_MACHINE *=/s/@C_SWITCH_MACHINE@// 42/^C_SWITCH_MACHINE *=/s/@C_SWITCH_MACHINE@//
43/^WARN_CFLAGS *=/s/@WARN_CFLAGS@// 43/^WARN_CFLAGS *=/s/@WARN_CFLAGS@//
44/^WERROR_CFLAGS *=/s/@WERROR_CFLAGS@// 44/^WERROR_CFLAGS *=/s/@WERROR_CFLAGS@//
45/^UPDATE_MANIFEST *=/s/@UPDATE_MANIFEST@//
45/^PROFILING_CFLAGS *=/s/@PROFILING_CFLAGS@// 46/^PROFILING_CFLAGS *=/s/@PROFILING_CFLAGS@//
46/^ALLOCA *=/s!@ALLOCA@!! 47/^ALLOCA *=/s!@ALLOCA@!!
47/^EXEEXT *=/s!@EXEEXT@!! 48/^EXEEXT *=/s!@EXEEXT@!.exe!
49/^CLIENTW *=/s/@CLIENTW@//
50/^LIB_FDATASYNC *=/s/@LIB_FDATASYNC@//
51/^LIB_WSOCK32 *=/s/@LIB_WSOCK32@//
52/^LIBS_ECLIENT *=/s/@LIBS_ECLIENT@//
53/^NTLIB *=/s/@NTLIB@//
54/^CLIENTRES *=/s/@CLIENTRES@//
55/^WINDRES *=/s/@WINDRES@//
48/^GETOPT_H *=/s!@GETOPT_H@!getopt.h! 56/^GETOPT_H *=/s!@GETOPT_H@!getopt.h!
49/^GETOPTOBJS *=/s!@GETOPTOBJS@!getopt.o getopt1.o! 57/^GETOPTOBJS *=/s!@GETOPTOBJS@!getopt.o getopt1.o!
50/^INSTALLABLES/s/emacsclient[^ ]* *// 58/^INSTALLABLES/s/emacsclient[^ ]* *//
diff --git a/msdos/sed6.inp b/msdos/sed6.inp
index 32f39dd543c..a15f4236f57 100644
--- a/msdos/sed6.inp
+++ b/msdos/sed6.inp
@@ -42,5 +42,5 @@ export MAKEINFO := $(MAKEINFO) $(MAKEINFO_OPTS)
42 s/^ for file in $(INFO_TARGETS)\; do rm -f.*$/ rm -f $(INFO_TARGETS)/ 42 s/^ for file in $(INFO_TARGETS)\; do rm -f.*$/ rm -f $(INFO_TARGETS)/
43} 43}
44 44
45/^mkinfodir *=/s| @.*$|@command.com /c if not exist ..\\..\\info\\emacs mkdir ..\\..\\info| 45/^mkinfodir *=/s| @.*$|@command.com /c if not exist ..\\..\\info\\emacs$(INFO_EXT) mkdir ..\\..\\info|
46 46
diff --git a/msdos/sedleim.inp b/msdos/sedleim.inp
index 07aa3c6d2fb..fab8094a7e9 100644
--- a/msdos/sedleim.inp
+++ b/msdos/sedleim.inp
@@ -19,56 +19,21 @@
19SHELL=/xyzzy/command\ 19SHELL=/xyzzy/command\
20MAKESHELL=/xyzzy/command 20MAKESHELL=/xyzzy/command
21 21
22/^version=/d
23/^prefix=/d
24/^datadir=/s|@datadir@|../..|
25/^srcdir=/s|srcdir=@srcdir@|srcdir := $(subst \\,/,$(shell cd))| 22/^srcdir=/s|srcdir=@srcdir@|srcdir := $(subst \\,/,$(shell cd))|
26 23
27/^INSTALLDIR=/c\ 24# Need a relative directory name for the md command, otherwise it
28INSTALLDIR=. 25# chokes, perhaps due to multiple dots in emacs-XX.YY.NN name.
26/^leimdir *=/a\
27rel_leimdir = ..\\lisp\\leim
29 28
30/touch stamp-subdir/s|touch|djecho "stamp-subdir" >|
31s|\([ ]\)echo|\1djecho|g 29s|\([ ]\)echo|\1djecho|g
32/^ @true *$/d 30/^ @true *$/d
33 31
34/RUN_EMACS *=/,/^$/c\ 32/RUN_EMACS *=/,/^$/c\
35export EMACSLOADPATH=${buildlisppath}\ 33export EMACSLOADPATH=\
36RUN_EMACS = ${EMACS} -batch --no-site-file 34RUN_EMACS = ${EMACS} -batch --no-site-file --no-site-lisp
37 35
38/^MKDIR_P *=/s,@MKDIR_P@,command.com /c md, 36/^MKDIR_P *=/s,@MKDIR_P@,-command.com /c md,
39
40/^ cd ../c\
41 ${MAKE} -C ../src ${MFLAGS} emacs
42
43/if \[ -f $@ \]\; then true/d
44/fi$/s/; fi$//
45
46/^leim-list.el:/,/^$/ {
47 /^ if/d
48 /^ else/,/^ fi/d
49 s| *| |
50 /^ --eval/,/; \\$/s|\; \\||
51}
52
53/^setwins=/,/^$/d
54/^\.PHONY: compile-targets/d
55/^compile-targets:/d
56/^compile-main:/,/^$/c\
57compile-main: ${TIT_MISC}\
58 $(MAKE) $(MFLAGS) $(foreach f,$(wildcard ja-dic/*.el),$(basename $f).elc)\
59 $(MAKE) $(MFLAGS) $(foreach f,$(wildcard quail/*.el),$(basename $f).elc)\
60
61
62/^install:/,/^$/c\
63install: all\
64
65/^bootstrap-clean:/,/^$/c\
66bootstrap-clean: clean\
67 rm -f ja-dic/*.elc quail/*.elc\
68
69
70/^ if test -f/d
71/^distclean:/,/^$/ {
72 s|\(rm -f Makefile\)|\1 stamp-subdir|
73}
74 37
38/MKDIR_P.* \${leimdir}\/.*$/s|\${leimdir}/|$(rel_leimdir)\\|
39/MKDIR_P.* \$(leimdir)\/.*$/s|\$(leimdir)/|$(rel_leimdir)\\|
diff --git a/msdos/sedlibmk.inp b/msdos/sedlibmk.inp
index 40737fa5133..badb30b0b65 100644
--- a/msdos/sedlibmk.inp
+++ b/msdos/sedlibmk.inp
@@ -18,15 +18,25 @@
18# 18#
19# Checklist to add a new gnulib module: 19# Checklist to add a new gnulib module:
20# 20#
21# . If the module includes source files that need to be compiled, add 21# . If the module includes source files that need to be compiled, and
22# the corresponding .o file names to the list that gets assigned to 22# does not appear in the am_libgnu_a_OBJECTS list, add the
23# the gl_LIBOBJS variable. 23# corresponding .o file names to the list that gets assigned to the
24# gl_LIBOBJS variable.
25#
26# . If a module appears in am_libgnu_a_OBJECTS that is not required
27# for the MSDOS build, edit it out by adding an appropriate command
28# to the set that edits the am_libgnu_a_OBJECTS block.
24# 29#
25# . If the module defines functions that need to replace DJGPP 30# . If the module defines functions that need to replace DJGPP
26# functions, edit the appropriate REPLACE_foo variables to 1; 31# functions, edit the appropriate REPLACE_foo variables to 1:
27# otherwise edit them to zero: 32#
33# /^REPLACE_CALLOC *=/s/@REPLACE_CALLOC@/1/
28# 34#
29# /^REPLACE_CALLOC *=/s/@REPLACE_CALLOC@/0/ 35# Note that this file already has a command to edit all the
36# REPLACE_foo variables to zero, so if some gnulib replacement
37# function is ever needed, the corresponding editing command such
38# as above should be placed before that catchall rule (search for
39# "REPLACE_" below).
30# 40#
31# . If the module is a header or adds headers, edit the corresponding 41# . If the module is a header or adds headers, edit the corresponding
32# variable to either an empty value or to the name of the header. 42# variable to either an empty value or to the name of the header.
@@ -45,10 +55,10 @@
45# s/^@GL_GENERATE_STDBOOL_H_TRUE@/\#/ 55# s/^@GL_GENERATE_STDBOOL_H_TRUE@/\#/
46# s/^@GL_GENERATE_STDBOOL_H_FALSE@// 56# s/^@GL_GENERATE_STDBOOL_H_FALSE@//
47# 57#
48# . Also edit the NEXT_foo and NEXT_AS_FIRST_DIRECTIVE_foo_H variable 58# . Also edit the NEXT_foo_H and NEXT_AS_FIRST_DIRECTIVE_foo_H
49# as appropriately: to an empty value if the gnulib header is not 59# variables as appropriately: to an empty value if the gnulib
50# used, and to the corresponding DJGPP header name otherwise. 60# header is not used, and to the corresponding DJGPP header name
51# Examples: 61# otherwise. Examples:
52# 62#
53# /^NEXT_STDDEF_H *=/s/@[^@\n]*@// 63# /^NEXT_STDDEF_H *=/s/@[^@\n]*@//
54# /^NEXT_STDINT_H *=/s/@[^@\n]*@/<stdint.h>/ 64# /^NEXT_STDINT_H *=/s/@[^@\n]*@/<stdint.h>/
@@ -57,7 +67,7 @@
57# 67#
58# . Note that some gnulib headers cannot be left unused: those for 68# . Note that some gnulib headers cannot be left unused: those for
59# which there's no corresponding foo_H variable in 69# which there's no corresponding foo_H variable in
60# autogen/Makefile.in (example: stdio.h). For these the "not 70# msdos/autogen/Makefile.in (example: stdio.h). For these the "not
61# needed" path is not applicable. 71# needed" path is not applicable.
62# 72#
63# . If the header is needed, edit all the variables it uses as 73# . If the header is needed, edit all the variables it uses as
@@ -68,12 +78,14 @@
68# variable should be edited to zero and the corresponding 78# variable should be edited to zero and the corresponding
69# GNULIB_foo variable should be edited to 1 if the gnulib 79# GNULIB_foo variable should be edited to 1 if the gnulib
70# replacement can work for DJGPP (a rare phenomenon), zero 80# replacement can work for DJGPP (a rare phenomenon), zero
71# otherwise. 81# otherwise. Note that by default all HAVE_foo and GNULIB_foo
82# variables that don't have a specific editing rule will be edited
83# to zero.
72# 84#
73# . Some gnulib header files have more complex recipes in 85# . Some gnulib header files have more complex recipes in
74# autogen/Makefile.in than others. The tell-tale sign of such a 86# msdos/autogen/Makefile.in than others. The tell-tale sign of
75# recipe is that the input redirection from the .in.h file is not 87# such a recipe is that the input redirection from the .in.h file
76# present at the end of the command, like this: 88# is not present at the end of the command, like this:
77# 89#
78# -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \ 90# -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
79# } > $@-t && \ 91# } > $@-t && \
@@ -93,6 +105,16 @@
93# s/'\; \\ *$/' >> $@-t/ 105# s/'\; \\ *$/' >> $@-t/
94# } 106# }
95# 107#
108# There's also a 3rd variety of script, which ends like this:
109#
110# -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
111# < $(srcdir)/string.in.h; \
112# } > $@-t && \
113# mv $@-t $@
114#
115# For these, you will need Sed commands like those used for
116# string.h, see below.
117#
96# . If the recipe for generating a header file uses 'cat', replace it with 118# . If the recipe for generating a header file uses 'cat', replace it with
97# 119#
98# sed -e '' 120# sed -e ''
@@ -101,9 +123,9 @@
101# this). 123# this).
102# 124#
103# The following Awk script is useful for editing portions of 125# The following Awk script is useful for editing portions of
104# autogen/Makefile.in into Sed commands that define the corresponding 126# msdos/autogen/Makefile.in into Sed commands that define the
105# variables to zero (which is what is required in the absolute 127# corresponding variables to zero (which is what is required in the
106# majority of cases): 128# absolute majority of cases):
107# 129#
108# { printf "/^%s *=/s/%s/0/\n",$1,$3} 130# { printf "/^%s *=/s/%s/0/\n",$1,$3}
109# 131#
@@ -115,6 +137,8 @@
115s/@PACKAGE@/emacs/ 137s/@PACKAGE@/emacs/
116/^am__cd *=/c\ 138/^am__cd *=/c\
117am__cd = cd 139am__cd = cd
140/^@BUILDING_FOR_WINDOWSNT_TRUE@/s/@[^@\n]*@/#/
141/^@BUILDING_FOR_WINDOWSNT_FALSE@/s/@[^@\n]*@//
118/^ALLOCA *=/s/@[^@\n]*@// 142/^ALLOCA *=/s/@[^@\n]*@//
119/^ALSA_CFLAGS *=/s/@[^@\n]*@// 143/^ALSA_CFLAGS *=/s/@[^@\n]*@//
120/^ALSA_LIBS *=/s/@[^@\n]*@// 144/^ALSA_LIBS *=/s/@[^@\n]*@//
@@ -133,6 +157,7 @@ am__cd = cd
133/^C_SWITCH_SYSTEM *=/s/@C_SWITCH_SYSTEM@// 157/^C_SWITCH_SYSTEM *=/s/@C_SWITCH_SYSTEM@//
134/^GNUSTEP_CFLAGS *=/s/@GNUSTEP_CFLAGS@// 158/^GNUSTEP_CFLAGS *=/s/@GNUSTEP_CFLAGS@//
135/^C_SWITCH_X_SITE *=/s/@C_SWITCH_X_SITE@// 159/^C_SWITCH_X_SITE *=/s/@C_SWITCH_X_SITE@//
160/^PROFILING_CFLAGS *=/s/@PROFILING_CFLAGS@//
136/^GNULIB_WARN_CFLAGS *=/s/@GNULIB_WARN_CFLAGS@// 161/^GNULIB_WARN_CFLAGS *=/s/@GNULIB_WARN_CFLAGS@//
137/^WARN_CFLAGS *=/s/@WARN_CFLAGS@// 162/^WARN_CFLAGS *=/s/@WARN_CFLAGS@//
138/^WERROR_CFLAGS *=/s/@WERROR_CFLAGS@// 163/^WERROR_CFLAGS *=/s/@WERROR_CFLAGS@//
@@ -152,303 +177,86 @@ am__cd = cd
152/^BITSIZEOF_WINT_T *=/s/@BITSIZEOF_WINT_T@/32/ 177/^BITSIZEOF_WINT_T *=/s/@BITSIZEOF_WINT_T@/32/
153/^APPLE_UNIVERSAL_BUILD *=/s/@APPLE_UNIVERSAL_BUILD@/0/ 178/^APPLE_UNIVERSAL_BUILD *=/s/@APPLE_UNIVERSAL_BUILD@/0/
154# 179#
155# Some GNULIB_* are replaced with zero even though DJGPP does not have 180# Most GNULIB_* are replaced with zero even though DJGPP does not have
156# these features. That's because the gnulib replacements cannot 181# these features. That's because the gnulib replacements cannot
157# possibly work for DJGPP, so we prefer to fail the link than have a 182# possibly work for DJGPP, so we prefer to fail the link than have a
158# subtly botched executable. 183# subtly botched executable. Those replacements that _are_ needed
184# should be before the last catch-all rule.
159/^GNULIB_ATOLL *=/s/@GNULIB_ATOLL@/1/ 185/^GNULIB_ATOLL *=/s/@GNULIB_ATOLL@/1/
160/^GNULIB_CALLOC_POSIX *=/s/@GNULIB_CALLOC_POSIX@/0/
161/^GNULIB_CANONICALIZE_FILE_NAME *=/s/@GNULIB_CANONICALIZE_FILE_NAME@/0/
162/^GNULIB_CHDIR *=/s/@GNULIB_CHDIR@/0/
163/^GNULIB_CHOWN *=/s/@GNULIB_CHOWN@/0/
164/^GNULIB_CLOSE *=/s/@GNULIB_CLOSE@/0/
165/^GNULIB_DPRINTF *=/s/@GNULIB_DPRINTF@/0/
166/^GNULIB_DUP *=/s/@GNULIB_DUP@/0/
167/^GNULIB_DUP2 *=/s/@GNULIB_DUP2@/0/
168/^GNULIB_DUP3 *=/s/@GNULIB_DUP3@/1/ 186/^GNULIB_DUP3 *=/s/@GNULIB_DUP3@/1/
169/^GNULIB_ENVIRON *=/s/@GNULIB_ENVIRON@/1/ 187/^GNULIB_ENVIRON *=/s/@GNULIB_ENVIRON@/1/
170/^GNULIB_EUIDACCESS *=/s/@GNULIB_EUIDACCESS@/0/ 188/^GNULIB_FDATASYNC *=/s/@GNULIB_FDATASYNC@/1/
171/^GNULIB_FACCESSAT *=/s/@GNULIB_FACCESSAT@/0/
172/^GNULIB_FCHDIR *=/s/@GNULIB_FCHDIR@/0/
173/^GNULIB_FCHOWNAT *=/s/@GNULIB_FCHOWNAT@/0/
174/^GNULIB_FCHMODAT *=/s/@GNULIB_FCHMODAT@/0/
175/^GNULIB_FCLOSE *=/s/@GNULIB_FCLOSE@/0/
176/^GNULIB_FDATASYNC *=/s/@GNULIB_FDATASYNC@/0/
177/^GNULIB_FDOPEN *=/s/@GNULIB_FDOPEN@/0/
178/^GNULIB_FFLUSH *=/s/@GNULIB_FFLUSH@/0/
179/^GNULIB_FGETC *=/s/@GNULIB_FGETC@/0/
180/^GNULIB_FGETS *=/s/@GNULIB_FGETS@/0/
181/^GNULIB_FOPEN *=/s/@GNULIB_FOPEN@/0/
182/^GNULIB_FPRINTF *=/s/@GNULIB_FPRINTF@/0/
183/^GNULIB_FPRINTF_POSIX *=/s/@GNULIB_FPRINTF_POSIX@/0/
184/^GNULIB_FPURGE *=/s/@GNULIB_FPURGE@/0/
185/^GNULIB_FPUTC *=/s/@GNULIB_FPUTC@/0/
186/^GNULIB_FPUTS *=/s/@GNULIB_FPUTS@/0/
187/^GNULIB_FREAD *=/s/@GNULIB_FREAD@/0/
188/^GNULIB_FREOPEN *=/s/@GNULIB_FREOPEN@/0/
189/^GNULIB_FSCANF *=/s/@GNULIB_FSCANF@/0/
190/^GNULIB_FSEEK *=/s/@GNULIB_FSEEK@/0/
191/^GNULIB_FSEEKO *=/s/@GNULIB_FSEEKO@/0/
192/^GNULIB_FSTAT *=/s/@GNULIB_FSTAT@/0/
193/^GNULIB_FSTATAT *=/s/@GNULIB_FSTATAT@/0/
194/^GNULIB_FSYNC *=/s/@GNULIB_FSYNC@/0/
195/^GNULIB_FTELL *=/s/@GNULIB_FTELL@/0/
196/^GNULIB_FTELLO *=/s/@GNULIB_FTELLO@/0/
197/^GNULIB_FTRUNCATE *=/s/@GNULIB_FTRUNCATE@/0/
198/^GNULIB_FUTIMENS *=/s/@GNULIB_FUTIMENS@/0/
199/^GNULIB_FWRITE *=/s/@GNULIB_FWRITE@/0/
200/^GNULIB_GETC *=/s/@GNULIB_GETC@/0/
201/^GNULIB_GETCHAR *=/s/@GNULIB_GETCHAR@/0/
202/^GNULIB_GETCWD *=/s/@GNULIB_GETCWD@/0/
203/^GNULIB_GETDELIM *=/s/@GNULIB_GETDELIM@/0/
204/^GNULIB_GETDOMAINNAME *=/s/@GNULIB_GETDOMAINNAME@/0/
205/^GNULIB_GETDTABLESIZE *=/s/@GNULIB_GETDTABLESIZE@/0/
206/^GNULIB_GETGROUPS *=/s/@GNULIB_GETGROUPS@/0/
207/^GNULIB_GETHOSTNAME *=/s/@GNULIB_GETHOSTNAME@/0/
208/^GNULIB_GETLINE *=/s/@GNULIB_GETLINE@/0/
209/^GNULIB_GETLOADAVG *=/s/@GNULIB_GETLOADAVG@/1/ 189/^GNULIB_GETLOADAVG *=/s/@GNULIB_GETLOADAVG@/1/
210/^GNULIB_GETLOGIN *=/s/@GNULIB_GETLOGIN@/0/
211/^GNULIB_GETLOGIN_R *=/s/@GNULIB_GETLOGIN_R@/0/
212/^GNULIB_GETPAGESIZE *=/s/@GNULIB_GETPAGESIZE@/0/
213/^GNULIB_GL_UNISTD_H_GETOPT *=/s/@GNULIB_GL_UNISTD_H_GETOPT@/1/ 190/^GNULIB_GL_UNISTD_H_GETOPT *=/s/@GNULIB_GL_UNISTD_H_GETOPT@/1/
214/^GNULIB_GETSUBOPT *=/s/@GNULIB_GETSUBOPT@/0/ 191/^GNULIB_MEMRCHR *=/s/@GNULIB_MEMRCHR@/1/
215/^GNULIB_GETTIMEOFDAY *=/s/@GNULIB_GETTIMEOFDAY@/0/ 192/^GNULIB_MKOSTEMP *=/s/@GNULIB_MKOSTEMP@/1/
216/^GNULIB_GETUSERSHELL *=/s/@GNULIB_GETUSERSHELL@/0/
217/^GNULIB_GRANTPT *=/s/@GNULIB_GRANTPT@/0/
218/^GNULIB_GROUP_MEMBER *=/s/@GNULIB_GROUP_MEMBER@/0/
219/^GNULIB_ISATTY *=/s/@GNULIB_ISATTY@/0/
220/^GNULIB_LCHMOD *=/s/@GNULIB_LCHMOD@/0/
221/^GNULIB_LCHOWN *=/s/@GNULIB_LCHOWN@/0/
222/^GNULIB_LINK *=/s/@GNULIB_LINK@/0/
223/^GNULIB_LINKAT *=/s/@GNULIB_LINKAT@/0/
224/^GNULIB_LSEEK *=/s/@GNULIB_LSEEK@/0/
225/^GNULIB_LSTAT *=/s/@GNULIB_LSTAT@/0/
226/^GNULIB_MALLOC_POSIX *=/s/@GNULIB_MALLOC_POSIX@/0/
227/^GNULIB_MBTOWC *=/s/@GNULIB_MBTOWC@/0/
228/^GNULIB_MKDIRAT *=/s/@GNULIB_MKDIRAT@/0/
229/^GNULIB_MKDTEMP *=/s/@GNULIB_MKDTEMP@/0/
230/^GNULIB_MKFIFO *=/s/@GNULIB_MKFIFO@/0/
231/^GNULIB_MKFIFOAT *=/s/@GNULIB_MKFIFOAT@/0/
232/^GNULIB_MKNOD *=/s/@GNULIB_MKNOD@/0/
233/^GNULIB_MKNODAT *=/s/@GNULIB_MKNODAT@/0/
234/^GNULIB_MKOSTEMP *=/s/@GNULIB_MKOSTEMP@/0/
235/^GNULIB_MKOSTEMPS *=/s/@GNULIB_MKOSTEMPS@/0/
236/^GNULIB_MKSTEMP *=/s/@GNULIB_MKSTEMP@/0/
237/^GNULIB_MKSTEMPS *=/s/@GNULIB_MKSTEMPS@/0/
238/^GNULIB_MKTIME *=/s/@GNULIB_MKTIME@/0/
239/^GNULIB_NANOSLEEP *=/s/@GNULIB_NANOSLEEP@/0/
240/^GNULIB_OBSTACK_PRINTF *=/s/@GNULIB_OBSTACK_PRINTF@/0/
241/^GNULIB_OBSTACK_PRINTF_POSIX *=/s/@GNULIB_OBSTACK_PRINTF_POSIX@/0/
242/^GNULIB_PCLOSE *=/s/@GNULIB_PCLOSE@/0/
243/^GNULIB_PERROR *=/s/@GNULIB_PERROR@/0/
244/^GNULIB_PIPE *=/s/@GNULIB_PIPE@/0/
245/^GNULIB_PIPE2 *=/s/@GNULIB_PIPE2@/0/
246/^GNULIB_POPEN *=/s/@GNULIB_POPEN@/0/
247/^GNULIB_POSIX_OPENPT *=/s/@GNULIB_POSIX_OPENPT@/0/
248/^GNULIB_PREAD *=/s/@GNULIB_PREAD@/0/
249/^GNULIB_PRINTF *=/s/@GNULIB_PRINTF@/0/
250/^GNULIB_PRINTF_POSIX *=/s/@GNULIB_PRINTF_POSIX@/0/
251/^GNULIB_PSELECT *=/s/@GNULIB_PSELECT@/0/
252/^GNULIB_PTHREAD_SIGMASK *=/s/@GNULIB_PTHREAD_SIGMASK@/0/
253/^GNULIB_PTSNAME *=/s/@GNULIB_PTSNAME@/0/
254/^GNULIB_PTSNAME_R *=/s/@GNULIB_PTSNAME_R@/0/
255/^GNULIB_PUTC *=/s/@GNULIB_PUTC@/0/
256/^GNULIB_PUTCHAR *=/s/@GNULIB_PUTCHAR@/0/
257/^GNULIB_PUTENV *=/s/@GNULIB_PUTENV@/0/
258/^GNULIB_PUTS *=/s/@GNULIB_PUTS@/0/
259/^GNULIB_PWRITE *=/s/@GNULIB_PWRITE@/0/
260/^GNULIB_RAISE *=/s/@GNULIB_RAISE@/0/
261/^GNULIB_RANDOM *=/s/@GNULIB_RANDOM@/0/
262/^GNULIB_RANDOM_R *=/s/@GNULIB_RANDOM_R@/0/
263/^GNULIB_READ *=/s/@GNULIB_READ@/0/
264/^GNULIB_READLINK *=/s/@GNULIB_READLINK@/0/
265/^GNULIB_READLINKAT *=/s/@GNULIB_READLINKAT@/0/
266/^GNULIB_REALLOC_POSIX *=/s/@GNULIB_REALLOC_POSIX@/0/
267/^GNULIB_REALPATH *=/s/@GNULIB_REALPATH@/0/
268/^GNULIB_REMOVE *=/s/@GNULIB_REMOVE@/0/
269/^GNULIB_RENAME *=/s/@GNULIB_RENAME@/0/
270/^GNULIB_RENAMEAT *=/s/@GNULIB_RENAMEAT@/0/
271/^GNULIB_RMDIR *=/s/@GNULIB_RMDIR@/0/
272/^GNULIB_RPMATCH *=/s/@GNULIB_RPMATCH@/0/
273/^GNULIB_SCANF *=/s/@GNULIB_SCANF@/0/
274/^GNULIB_SECURE_GETENV *=/s/@GNULIB_SECURE_GETENV@/0/
275/^GNULIB_SELECT *=/s/@GNULIB_SELECT@/0/
276/^GNULIB_SETENV *=/s/@GNULIB_SETENV@/0/
277/^GNULIB_SETHOSTNAME *=/s/@GNULIB_SETHOSTNAME@/0/
278/^GNULIB_SIGACTION *=/s/@GNULIB_SIGACTION@/0/
279/^GNULIB_SIGNAL_H_SIGPIPE *=/s/@GNULIB_SIGNAL_H_SIGPIPE@/0/
280/^GNULIB_SIGPROCMASK *=/s/@GNULIB_SIGPROCMASK@/0/
281/^GNULIB_SLEEP *=/s/@GNULIB_SLEEP@/0/
282/^GNULIB_SNPRINTF *=/s/@GNULIB_SNPRINTF@/0/
283/^GNULIB_SPRINTF_POSIX *=/s/@GNULIB_SPRINTF_POSIX@/0/
284/^GNULIB_STAT *=/s/@GNULIB_STAT@/0/
285/^GNULIB_STDIO_H_NONBLOCKING *=/s/@GNULIB_STDIO_H_NONBLOCKING@/0/
286/^GNULIB_STDIO_H_SIGPIPE *=/s/@GNULIB_STDIO_H_SIGPIPE@/0/
287/^GNULIB_STRPTIME *=/s/@GNULIB_STRPTIME@/0/
288/^GNULIB_STRTOD *=/s/@GNULIB_STRTOD@/0/
289/^GNULIB_STRTOLL *=/s/@GNULIB_STRTOLL@/0/
290/^GNULIB_STRTOULL *=/s/@GNULIB_STRTOULL@/0/
291/^GNULIB_SYMLINK *=/s/@GNULIB_SYMLINK@/0/
292/^GNULIB_SYMLINKAT *=/s/@GNULIB_SYMLINKAT@/0/
293/^GNULIB_SYSTEM_POSIX *=/s/@GNULIB_SYSTEM_POSIX@/0/
294/^GNULIB_TIMEGM *=/s/@GNULIB_TIMEGM@/0/
295/^GNULIB_TIME_R *=/s/@GNULIB_TIME_R@/1/ 193/^GNULIB_TIME_R *=/s/@GNULIB_TIME_R@/1/
296/^GNULIB_TMPFILE *=/s/@GNULIB_TMPFILE@/0/
297/^GNULIB_TTYNAME_R *=/s/@GNULIB_TTYNAME_R@/0/
298/^GNULIB_UNISTD_H_NONBLOCKING *=/s/@GNULIB_UNISTD_H_NONBLOCKING@/0/
299/^GNULIB_UNISTD_H_SIGPIPE *=/s/@GNULIB_UNISTD_H_SIGPIPE@/0/
300/^GNULIB_UNLINK *=/s/@GNULIB_UNLINK@/0/
301/^GNULIB_UNLINKAT *=/s/@GNULIB_UNLINKAT@/0/
302/^GNULIB_UNLOCKPT *=/s/@GNULIB_UNLOCKPT@/0/
303/^GNULIB_UNSETENV *=/s/@GNULIB_UNSETENV@/1/ 194/^GNULIB_UNSETENV *=/s/@GNULIB_UNSETENV@/1/
304/^GNULIB_USLEEP *=/s/@GNULIB_USLEEP@/0/ 195/^GNULIB_[^ =]* *= *@/s/@[^@\n]*@/0/
305/^GNULIB_UTIMENSAT *=/s/@GNULIB_UTIMENSAT@/0/
306/^GNULIB_VASPRINTF *=/s/@GNULIB_VASPRINTF@/0/
307/^GNULIB_VDPRINTF *=/s/@GNULIB_VDPRINTF@/0/
308/^GNULIB_VFPRINTF *=/s/@GNULIB_VFPRINTF@/0/
309/^GNULIB_VFPRINTF_POSIX *=/s/@GNULIB_VFPRINTF_POSIX@/0/
310/^GNULIB_VFSCANF *=/s/@GNULIB_VFSCANF@/0/
311/^GNULIB_VPRINTF *=/s/@GNULIB_VPRINTF@/0/
312/^GNULIB_VPRINTF_POSIX *=/s/@GNULIB_VPRINTF_POSIX@/0/
313/^GNULIB_VSCANF *=/s/@GNULIB_VSCANF@/0/
314/^GNULIB_VSNPRINTF *=/s/@GNULIB_VSNPRINTF@/0/
315/^GNULIB_VSPRINTF_POSIX *=/s/@GNULIB_VSPRINTF_POSIX@/0/
316/^GNULIB_WCTOMB *=/s/@GNULIB_WCTOMB@/0/
317/^GNULIB_WRITE *=/s/@GNULIB_WRITE@/0/
318/^GNULIB__EXIT *=/s/@GNULIB__EXIT@/0/
319/^GSETTINGS_CFLAGS *=/s/@[^@\n]*@// 196/^GSETTINGS_CFLAGS *=/s/@[^@\n]*@//
320/^GSETTINGS_LIBS *=/s/@[^@\n]*@// 197/^GSETTINGS_LIBS *=/s/@[^@\n]*@//
198#
199# Edit the HAVE_foo variables
321/^HAVE_ATOLL *=/s/@HAVE_ATOLL@/0/ 200/^HAVE_ATOLL *=/s/@HAVE_ATOLL@/0/
322/^HAVE_CANONICALIZE_FILE_NAME *=/s/@HAVE_CANONICALIZE_FILE_NAME@/0/
323/^HAVE_CHOWN *=/s/@HAVE_CHOWN@/1/ 201/^HAVE_CHOWN *=/s/@HAVE_CHOWN@/1/
324/^HAVE_DECL_ENVIRON *=/s/@HAVE_DECL_ENVIRON@/0/ 202/^HAVE_CLOSEDIR *=/s/@HAVE_CLOSEDIR@/1/
325/^HAVE_DECL_FCHDIR *=/s/@HAVE_DECL_FCHDIR@/0/
326/^HAVE_DECL_FDATASYNC *=/s/@HAVE_DECL_FDATASYNC@/0/
327/^HAVE_DECL_FPURGE *=/s/@HAVE_DECL_FPURGE@//
328/^HAVE_DECL_FSEEKO *=/s/@HAVE_DECL_FSEEKO@/0/
329/^HAVE_DECL_FTELLO *=/s/@HAVE_DECL_FTELLO@/0/
330/^HAVE_DECL_GETDELIM *=/s/@HAVE_DECL_GETDELIM@/0/
331/^HAVE_DECL_GETDOMAINNAME *=/s/@HAVE_DECL_GETDOMAINNAME@/0/
332/^HAVE_DECL_GETLINE *=/s/@HAVE_DECL_GETLINE@/0/
333/^HAVE_DECL_GETLOADAVG *=/s/@HAVE_DECL_GETLOADAVG@/0/
334/^HAVE_DECL_GETLOGIN_R *=/s/@HAVE_DECL_GETLOGIN_R@/0/
335/^HAVE_DECL_GETPAGESIZE *=/s/@HAVE_DECL_GETPAGESIZE@/1/ 203/^HAVE_DECL_GETPAGESIZE *=/s/@HAVE_DECL_GETPAGESIZE@/1/
336/^HAVE_DECL_GETUSERSHELL *=/s/@HAVE_DECL_GETUSERSHELL@/0/
337/^HAVE_DECL_LOCALTIME_R *=/s/@HAVE_DECL_LOCALTIME_R@/0/
338/^HAVE_DECL_OBSTACK_PRINTF *=/s/@HAVE_DECL_OBSTACK_PRINTF@/0/
339/^HAVE_DECL_SETHOSTNAME *=/s/@HAVE_DECL_SETHOSTNAME@/0/
340/^HAVE_DECL_SETENV *=/s/@HAVE_DECL_SETENV@/1/ 204/^HAVE_DECL_SETENV *=/s/@HAVE_DECL_SETENV@/1/
341/^HAVE_DECL_SNPRINTF *=/s/@HAVE_DECL_SNPRINTF@/0/ 205/^HAVE_DECL_STRDUP *=/s/@HAVE_DECL_STRDUP@/1/
342/^HAVE_DECL_TTYNAME_R *=/s/@HAVE_DECL_TTYNAME_R@/0/ 206# The following two rely on msdos/inttypes.h redirections
343/^HAVE_DECL_UNSETENV *=/s/@HAVE_DECL_UNSETENV@/0/ 207/^HAVE_DECL_STRTOIMAX *=/s/@HAVE_DECL_STRTOIMAX@/1/
344/^HAVE_DECL_VSNPRINTF *=/s/@HAVE_DECL_VSNPRINTF@/0/ 208/^HAVE_DECL_STRTOUMAX *=/s/@HAVE_DECL_STRTOUMAX@/1/
345/^HAVE_DPRINTF *=/s/@HAVE_DPRINTF@/0/ 209/^HAVE_DIRENT_H *=/s/@HAVE_DIRENT_H@/1/
346/^HAVE_DUP2 *=/s/@HAVE_DUP2@/1/ 210/^HAVE_DUP2 *=/s/@HAVE_DUP2@/1/
347/^HAVE_DUP3 *=/s/@HAVE_DUP3@/0/
348/^HAVE_EUIDACCESS *=/s/@HAVE_EUIDACCESS@/0/
349/^HAVE_FACCESSAT *=/s/@HAVE_FACCESSAT@/0/
350/^HAVE_FCHDIR *=/s/@HAVE_FCHDIR@/0/
351/^HAVE_FCHMODAT *=/s/@HAVE_FCHMODAT@/0/
352/^HAVE_FCHOWNAT *=/s/@HAVE_FCHOWNAT@/0/
353/^HAVE_FDATASYNC *=/s/@HAVE_FDATASYNC@/0/
354/^HAVE_FSEEKO *=/s/@HAVE_FSEEKO@/0/
355/^HAVE_FSTATAT *=/s/@HAVE_FSTATAT@/0/
356/^HAVE_FSYNC *=/s/@HAVE_FSYNC@/1/ 211/^HAVE_FSYNC *=/s/@HAVE_FSYNC@/1/
357/^HAVE_FTELLO *=/s/@HAVE_FTELLO@/0/
358/^HAVE_FTRUNCATE *=/s/@HAVE_FTRUNCATE@/1/ 212/^HAVE_FTRUNCATE *=/s/@HAVE_FTRUNCATE@/1/
359/^HAVE_FUTIMENS *=/s/@HAVE_FUTIMENS@/0/
360/^HAVE_GETDTABLESIZE *=/s/@HAVE_GETDTABLESIZE@/0/
361/^HAVE_GETGROUPS *=/s/@HAVE_GETGROUPS@/0/
362/^HAVE_GETHOSTNAME *=/s/@HAVE_GETHOSTNAME@/1/ 213/^HAVE_GETHOSTNAME *=/s/@HAVE_GETHOSTNAME@/1/
363/^HAVE_GETLOGIN *=/s/@HAVE_GETLOGIN@/1/ 214/^HAVE_GETLOGIN *=/s/@HAVE_GETLOGIN@/1/
364/^HAVE_GETOPT_H *=/s/@HAVE_GETOPT_H@/0/
365/^HAVE_GETPAGESIZE *=/s/@HAVE_GETPAGESIZE@/1/ 215/^HAVE_GETPAGESIZE *=/s/@HAVE_GETPAGESIZE@/1/
366/^HAVE_GETSUBOPT *=/s/@HAVE_GETSUBOPT@/0/
367/^HAVE_GRANTPT *=/s/@HAVE_GRANTPT@/0/
368/^HAVE_GROUP_MEMBER *=/s/@HAVE_GROUP_MEMBER@/0/
369/^HAVE_LCHOWN *=/s/@HAVE_LCHOWN@/0/
370/^HAVE_INTTYPES_H *=/s/@HAVE_INTTYPES_H@/HAVE_INTTYPES_H/ 216/^HAVE_INTTYPES_H *=/s/@HAVE_INTTYPES_H@/HAVE_INTTYPES_H/
371/^HAVE_LCHMOD *=/s/@HAVE_LCHMOD@/0/
372/^HAVE_LINK *=/s/@HAVE_LINK@/1/ 217/^HAVE_LINK *=/s/@HAVE_LINK@/1/
373/^HAVE_LINKAT *=/s/@HAVE_LINKAT@/0/
374/^HAVE_LONG_LONG_INT *=/s/@HAVE_LONG_LONG_INT@/1/ 218/^HAVE_LONG_LONG_INT *=/s/@HAVE_LONG_LONG_INT@/1/
375/^HAVE_LSTAT *=/s/@HAVE_LSTAT@/HAVE_LSTAT/ 219/^HAVE_LSTAT *=/s/@HAVE_LSTAT@/HAVE_LSTAT/
376/^HAVE_MAKEINFO *=/s/@HAVE_MAKEINFO@/yes/ 220/^HAVE_MAKEINFO *=/s/@HAVE_MAKEINFO@/yes/
377/^HAVE_MKDIRAT *=/s/@HAVE_MKDIRAT@/0/ 221/^HAVE_MEMCHR *=/s/@HAVE_MEMCHR@/1/
378/^HAVE_MKDTEMP *=/s/@HAVE_MKDTEMP@/0/
379/^HAVE_MKFIFO *=/s/@HAVE_MKFIFO@/1/ 222/^HAVE_MKFIFO *=/s/@HAVE_MKFIFO@/1/
380/^HAVE_MKFIFOAT *=/s/@HAVE_MKFIFOAT@/0/
381/^HAVE_MKNOD *=/s/@HAVE_MKNOD@/1/ 223/^HAVE_MKNOD *=/s/@HAVE_MKNOD@/1/
382/^HAVE_MKNODAT *=/s/@HAVE_MKNODAT@/0/
383/^HAVE_MKOSTEMP *=/s/@HAVE_MKOSTEMP@/0/
384/^HAVE_MKOSTEMPS *=/s/@HAVE_MKOSTEMPS@/0/
385/^HAVE_MKSTEMP *=/s/@HAVE_MKSTEMP@/1/ 224/^HAVE_MKSTEMP *=/s/@HAVE_MKSTEMP@/1/
386/^HAVE_MKSTEMPS *=/s/@HAVE_MKSTEMPS@/0/ 225/^HAVE_OPENDIR *=/s/@HAVE_OPENDIR@/1/
387/^HAVE_NANOSLEEP *=/s/@HAVE_NANOSLEEP@/0/
388/^HAVE_OS_H *=/s/@HAVE_OS_H@/0/
389/^HAVE_PIPE *=/s/@HAVE_PIPE@/0/
390/^HAVE_PCLOSE *=/s/@HAVE_PCLOSE@/1/ 226/^HAVE_PCLOSE *=/s/@HAVE_PCLOSE@/1/
391/^HAVE_PIPE2 *=/s/@HAVE_PIPE2@/0/
392/^HAVE_POPEN *=/s/@HAVE_POPEN@/1/ 227/^HAVE_POPEN *=/s/@HAVE_POPEN@/1/
393/^HAVE_POSIX_SIGNALBLOCKING *=/s/@HAVE_POSIX_SIGNALBLOCKING@/1/ 228/^HAVE_POSIX_SIGNALBLOCKING *=/s/@HAVE_POSIX_SIGNALBLOCKING@/1/
394/^HAVE_POSIX_OPENPT *=/s/@HAVE_POSIX_OPENPT@/0/
395/^HAVE_PREAD *=/s/@HAVE_PREAD@/0/
396/^HAVE_PTSNAME *=/s/@HAVE_PTSNAME@/0/
397/^HAVE_PTSNAME_R *=/s/@HAVE_PTSNAME_R@/0/
398/^HAVE_PTHREAD_SIGMASK *=/s/@HAVE_PTHREAD_SIGMASK@/0/
399/^HAVE_PWRITE *=/s/@HAVE_PWRITE@/0/
400/^HAVE_RANDOM_H *=/s/@HAVE_RANDOM_H@/1/ 229/^HAVE_RANDOM_H *=/s/@HAVE_RANDOM_H@/1/
401/^HAVE_RAISE *=/s/@HAVE_RAISE@/1/ 230/^HAVE_RAISE *=/s/@HAVE_RAISE@/1/
402/^HAVE_RANDOM *=/s/@HAVE_RANDOM@/1/ 231/^HAVE_RANDOM *=/s/@HAVE_RANDOM@/1/
403/^HAVE_RANDOM_R *=/s/@HAVE_RANDOM_R@/0/ 232/^HAVE_READDIR *=/s/@HAVE_READDIR@/1/
404/^HAVE_READLINK *=/s/@HAVE_READLINK@/0/ 233/^HAVE_REWINDDIR *=/s/@HAVE_REWINDDIR@/1/
405/^HAVE_READLINKAT *=/s/@HAVE_READLINKAT@/0/
406/^HAVE_REALPATH *=/s/@HAVE_REALPATH@/0/
407/^HAVE_RENAMEAT *=/s/@HAVE_RENAMEAT@/0/
408/^HAVE_RPMATCH *=/s/@HAVE_RPMATCH@/0/
409/^HAVE_SECURE_GETENV *=/s/@HAVE_SECURE_GETENV@/0/
410/^HAVE_SETENV *=/s/@HAVE_SETENV@/1/ 234/^HAVE_SETENV *=/s/@HAVE_SETENV@/1/
411/^HAVE_SETHOSTNAME *=/s/@HAVE_SETHOSTNAME@/0/
412/^HAVE_SIGACTION *=/s/@HAVE_SIGACTION@/1/ 235/^HAVE_SIGACTION *=/s/@HAVE_SIGACTION@/1/
413/^HAVE_SIGHANDLER_T *=/s/@HAVE_SIGHANDLER_T@/0/
414/^HAVE_SIGINFO_T *=/s/@HAVE_SIGINFO_T@/0/
415/^HAVE_SIGNED_SIG_ATOMIC_T *=/s/@HAVE_SIGNED_SIG_ATOMIC_T@/1/ 236/^HAVE_SIGNED_SIG_ATOMIC_T *=/s/@HAVE_SIGNED_SIG_ATOMIC_T@/1/
416/^HAVE_SIGNED_WCHAR_T *=/s/@HAVE_SIGNED_WCHAR_T@/0/
417/^HAVE_SIGNED_WINT_T *=/s/@HAVE_SIGNED_WINT_T@/1/ 237/^HAVE_SIGNED_WINT_T *=/s/@HAVE_SIGNED_WINT_T@/1/
418/^HAVE_SIGSET_T *=/s/@HAVE_SIGSET_T@/1/ 238/^HAVE_SIGSET_T *=/s/@HAVE_SIGSET_T@/1/
419/^HAVE_SLEEP *=/s/@HAVE_SLEEP@/1/ 239/^HAVE_SLEEP *=/s/@HAVE_SLEEP@/1/
420/^HAVE_STDINT_H *=/s/@HAVE_STDINT_H@/HAVE_STDINT_H/ 240/^HAVE_STDINT_H *=/s/@HAVE_STDINT_H@/HAVE_STDINT_H/
421/^HAVE_STRPTIME *=/s/@HAVE_STRPTIME@/0/ 241/^HAVE_STRPBRK *=/s/@HAVE_STRPBRK@/1/
242/^HAVE_STRSEP *=/s/@HAVE_STRSEP@/1/
422/^HAVE_STRTOD *=/s/@HAVE_STRTOD@/1/ 243/^HAVE_STRTOD *=/s/@HAVE_STRTOD@/1/
423/^HAVE_STRTOLL *=/s/@HAVE_STRTOLL@/1/ 244/^HAVE_STRTOLL *=/s/@HAVE_STRTOLL@/1/
424/^HAVE_STRTOULL *=/s/@HAVE_STRTOULL@/1/ 245/^HAVE_STRTOULL *=/s/@HAVE_STRTOULL@/1/
425/^HAVE_STRUCT_SIGACTION_SA_SIGACTION *=/s/@HAVE_STRUCT_SIGACTION_SA_SIGACTION@/0/
426/^HAVE_STRUCT_RANDOM_DATA *=/s/@HAVE_STRUCT_RANDOM_DATA@/0/
427/^HAVE_STRUCT_TIMEVAL *=/s/@HAVE_STRUCT_TIMEVAL@/1/ 246/^HAVE_STRUCT_TIMEVAL *=/s/@HAVE_STRUCT_TIMEVAL@/1/
428/^HAVE_SYMLINK *=/s/@HAVE_SYMLINK@/1/ 247/^HAVE_SYMLINK *=/s/@HAVE_SYMLINK@/1/
429/^HAVE_SYMLINKAT *=/s/@HAVE_SYMLINKAT@/0/
430/^HAVE_SYS_BITYPES_H *=/s/@HAVE_SYS_BITYPES_H@/0/
431/^HAVE_SYS_INTTYPES_H *=/s/@HAVE_SYS_INTTYPES_H@/0/
432/^HAVE_SYS_LOADAVG_H *=/s/@HAVE_SYS_LOADAVG_H@/0/
433/^HAVE_SYS_PARAM_H *=/s/@HAVE_SYS_PARAM_H@/1/ 248/^HAVE_SYS_PARAM_H *=/s/@HAVE_SYS_PARAM_H@/1/
434/^HAVE_SYS_SELECT_H *=/s/@HAVE_SYS_SELECT_H@/0/
435/^HAVE_SYS_TIME_H *=/s/@HAVE_SYS_TIME_H@/1/ 249/^HAVE_SYS_TIME_H *=/s/@HAVE_SYS_TIME_H@/1/
436/^HAVE_SYS_TYPES_H *=/s/@HAVE_SYS_TYPES_H@/1/ 250/^HAVE_SYS_TYPES_H *=/s/@HAVE_SYS_TYPES_H@/1/
437/^HAVE_TIMEGM *=/s/@HAVE_TIMEGM@/0/
438/^HAVE_TYPE_VOLATILE_SIG_ATOMIC_T *=/s/@HAVE_TYPE_VOLATILE_SIG_ATOMIC_T@/1/ 251/^HAVE_TYPE_VOLATILE_SIG_ATOMIC_T *=/s/@HAVE_TYPE_VOLATILE_SIG_ATOMIC_T@/1/
439/^HAVE_UNISTD_H *=/s/@HAVE_UNISTD_H@/1/ 252/^HAVE_UNISTD_H *=/s/@HAVE_UNISTD_H@/1/
440/^HAVE_UNLINKAT *=/s/@HAVE_UNLINKAT@/0/
441/^HAVE_UNLOCKPT *=/s/@HAVE_UNLOCKPT@/0/
442/^HAVE_UNSIGNED_LONG_LONG_INT *=/s/@HAVE_UNSIGNED_LONG_LONG_INT@/1/ 253/^HAVE_UNSIGNED_LONG_LONG_INT *=/s/@HAVE_UNSIGNED_LONG_LONG_INT@/1/
443/^HAVE_USLEEP *=/s/@HAVE_USLEEP@/1/ 254/^HAVE_USLEEP *=/s/@HAVE_USLEEP@/1/
444/^HAVE_UTIMENSAT *=/s/@HAVE_UTIMENSAT@/0/
445/^HAVE_VASPRINTF *=/s/@HAVE_VASPRINTF@/0/
446/^HAVE_VDPRINTF *=/s/@HAVE_VDPRINTF@/0/
447/^HAVE_WCHAR_H *=/s/@HAVE_WCHAR_H@/1/ 255/^HAVE_WCHAR_H *=/s/@HAVE_WCHAR_H@/1/
448/^HAVE_WCHAR_T *=/s/@HAVE_WCHAR_T@/1/ 256/^HAVE_WCHAR_T *=/s/@HAVE_WCHAR_T@/1/
449/^HAVE_XSERVER *=/s/@HAVE_XSERVER@/0/
450/^HAVE__BOOL *=/s/@HAVE__BOOL@/1/ 257/^HAVE__BOOL *=/s/@HAVE__BOOL@/1/
451/^HAVE__EXIT *=/s/@HAVE__EXIT@/1/ 258/^HAVE__EXIT *=/s/@HAVE__EXIT@/1/
259/^HAVE_[^ =]* *= *@/s/@[^@\n]*@/0/
452/^INCLUDE_NEXT *=/s/@INCLUDE_NEXT@/include_next/ 260/^INCLUDE_NEXT *=/s/@INCLUDE_NEXT@/include_next/
453/^INCLUDE_NEXT_AS_FIRST_DIRECTIVE *=/s/@[^@\n]*@/include_next/ 261/^INCLUDE_NEXT_AS_FIRST_DIRECTIVE *=/s/@[^@\n]*@/include_next/
454/^LDFLAGS *=/s/@[^@\n]*@// 262/^LDFLAGS *=/s/@[^@\n]*@//
@@ -459,6 +267,9 @@ am__cd = cd
459/^MAKEINFO *=/s/@MAKEINFO@/makeinfo/ 267/^MAKEINFO *=/s/@MAKEINFO@/makeinfo/
460# MKDIR_P lines are edited further below 268# MKDIR_P lines are edited further below
461/^MKDIR_P *=/s/@MKDIR_P@// 269/^MKDIR_P *=/s/@MKDIR_P@//
270/^NEXT_AS_FIRST_DIRECTIVE_DIRENT_H *=/s/@[^@\n]*@/<dirent.h>/
271/^NEXT_AS_FIRST_DIRECTIVE_ERRNO_H *=/s/@[^@\n]*@//
272/^NEXT_AS_FIRST_DIRECTIVE_FCNTL_H *=/s/@[^@\n]*@/<fcntl.h>/
462/^NEXT_AS_FIRST_DIRECTIVE_GETOPT_H *=/s/@[^@\n]*@/<getopt.h>/ 273/^NEXT_AS_FIRST_DIRECTIVE_GETOPT_H *=/s/@[^@\n]*@/<getopt.h>/
463/^NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H *=/s/@[^@\n]*@/<signal.h>/ 274/^NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H *=/s/@[^@\n]*@/<signal.h>/
464/^NEXT_AS_FIRST_DIRECTIVE_STDARG_H *=/s/@[^@\n]*@// 275/^NEXT_AS_FIRST_DIRECTIVE_STDARG_H *=/s/@[^@\n]*@//
@@ -466,12 +277,16 @@ am__cd = cd
466/^NEXT_AS_FIRST_DIRECTIVE_STDINT_H *=/s/@[^@\n]*@/<stdint.h>/ 277/^NEXT_AS_FIRST_DIRECTIVE_STDINT_H *=/s/@[^@\n]*@/<stdint.h>/
467/^NEXT_AS_FIRST_DIRECTIVE_STDIO_H *=/s/@[^@\n]*@/<stdio.h>/ 278/^NEXT_AS_FIRST_DIRECTIVE_STDIO_H *=/s/@[^@\n]*@/<stdio.h>/
468/^NEXT_AS_FIRST_DIRECTIVE_STDLIB_H *=/s/@[^@\n]*@/<stdlib.h>/ 279/^NEXT_AS_FIRST_DIRECTIVE_STDLIB_H *=/s/@[^@\n]*@/<stdlib.h>/
280/^NEXT_AS_FIRST_DIRECTIVE_STRING_H *=/s/@[^@\n]*@/<string.h>/
469/^NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H *=/s/@[^@\n]*@// 281/^NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H *=/s/@[^@\n]*@//
470/^NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H *=/s!@[^@\n]*@!<sys/stat.h>! 282/^NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H *=/s!@[^@\n]*@!<sys/stat.h>!
471/^NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H *=/s/@[^@\n]*@// 283/^NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H *=/s/@[^@\n]*@//
472/^NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H *=/s!@[^@\n]*@!<sys/types.h>! 284/^NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H *=/s!@[^@\n]*@!<sys/types.h>!
473/^NEXT_AS_FIRST_DIRECTIVE_TIME_H *=/s/@[^@\n]*@/<time.h>/ 285/^NEXT_AS_FIRST_DIRECTIVE_TIME_H *=/s/@[^@\n]*@/<time.h>/
474/^NEXT_AS_FIRST_DIRECTIVE_UNISTD_H *=/s/@[^@\n]*@/<unistd.h>/ 286/^NEXT_AS_FIRST_DIRECTIVE_UNISTD_H *=/s/@[^@\n]*@/<unistd.h>/
287/^NEXT_DIRENT_H *=/s/@[^@\n]*@/<dirent.h>/
288/^NEXT_ERRNO_H *=/s/@[^@\n]*@//
289/^NEXT_FCNTL_H *=/s/@[^@\n]*@/<fcntl.h>/
475/^NEXT_GETOPT_H *=/s/@[^@\n]*@/<getopt.h>/ 290/^NEXT_GETOPT_H *=/s/@[^@\n]*@/<getopt.h>/
476/^NEXT_STDARG_H *=/s/@[^@\n]*@// 291/^NEXT_STDARG_H *=/s/@[^@\n]*@//
477/^NEXT_SIGNAL_H *=/s/@[^@\n]*@/<signal.h>/ 292/^NEXT_SIGNAL_H *=/s/@[^@\n]*@/<signal.h>/
@@ -479,6 +294,7 @@ am__cd = cd
479/^NEXT_STDIO_H *=/s/@[^@\n]*@/<stdio.h>/ 294/^NEXT_STDIO_H *=/s/@[^@\n]*@/<stdio.h>/
480/^NEXT_STDINT_H *=/s/@[^@\n]*@/<stdint.h>/ 295/^NEXT_STDINT_H *=/s/@[^@\n]*@/<stdint.h>/
481/^NEXT_STDLIB_H *=/s/@[^@\n]*@/<stdlib.h>/ 296/^NEXT_STDLIB_H *=/s/@[^@\n]*@/<stdlib.h>/
297/^NEXT_STRING_H *=/s/@[^@\n]*@/<string.h>/
482/^NEXT_SYS_SELECT_H *=/s/@[^@\n]*@// 298/^NEXT_SYS_SELECT_H *=/s/@[^@\n]*@//
483/^NEXT_SYS_STAT_H *=/s!@[^@\n]*@!<sys/stat.h>! 299/^NEXT_SYS_STAT_H *=/s!@[^@\n]*@!<sys/stat.h>!
484/^NEXT_SYS_TIME_H *=/s/@[^@\n]*@// 300/^NEXT_SYS_TIME_H *=/s/@[^@\n]*@//
@@ -491,104 +307,14 @@ am__cd = cd
491/^PTHREAD_H_DEFINES_STRUCT_TIMESPEC *=/s/@[^@\n]*@/0/ 307/^PTHREAD_H_DEFINES_STRUCT_TIMESPEC *=/s/@[^@\n]*@/0/
492/^PTRDIFF_T_SUFFIX *=/s/@[^@\n]*@// 308/^PTRDIFF_T_SUFFIX *=/s/@[^@\n]*@//
493/^RANLIB *=/s/@[^@\n]*@/ranlib/ 309/^RANLIB *=/s/@[^@\n]*@/ranlib/
494/^REPLACE_CALLOC *=/s/@REPLACE_CALLOC@/0/ 310# We never want any gnulib replacement functions
495/^REPLACE_CANONICALIZE_FILE_NAME *=/s/@REPLACE_CANONICALIZE_FILE_NAME@/0/ 311/^REPLACE_[^ =]* *= *@/s/@[^@\n]*@/0/
496/^REPLACE_CHOWN *=/s/@REPLACE_CHOWN@/0/
497/^REPLACE_CLOSE *=/s/@REPLACE_CLOSE@/0/
498/^REPLACE_DPRINTF *=/s/@REPLACE_DPRINTF@/0/
499/^REPLACE_DUP *=/s/@REPLACE_DUP@/0/
500/^REPLACE_DUP2 *=/s/@REPLACE_DUP2@/0/
501/^REPLACE_FCHOWNAT *=/s/@REPLACE_FCHOWNAT@/0/
502/^REPLACE_FCLOSE *=/s/@REPLACE_FCLOSE@/0/
503/^REPLACE_FDOPEN *=/s/@REPLACE_FDOPEN@/0/
504/^REPLACE_FFLUSH *=/s/@REPLACE_FFLUSH@/0/
505/^REPLACE_FOPEN *=/s/@REPLACE_FOPEN@/0/
506/^REPLACE_FPRINTF *=/s/@REPLACE_FPRINTF@/0/
507/^REPLACE_FPURGE *=/s/@REPLACE_FPURGE@/0/
508/^REPLACE_FREOPEN *=/s/@REPLACE_FREOPEN@/0/
509/^REPLACE_FSEEK *=/s/@REPLACE_FSEEK@/0/
510/^REPLACE_FSEEKO *=/s/@REPLACE_FSEEKO@/0/
511/^REPLACE_FSTAT *=/s/@REPLACE_FSTAT@/0/
512/^REPLACE_FSTATAT *=/s/@REPLACE_FSTATAT@/0/
513/^REPLACE_FTELL *=/s/@REPLACE_FTELL@/0/
514/^REPLACE_FTELLO *=/s/@REPLACE_FTELLO@/0/
515/^REPLACE_FTRUNCATE *=/s/@REPLACE_FTRUNCATE@/0/
516/^REPLACE_GETCWD *=/s/@REPLACE_GETCWD@/0/
517/^REPLACE_GETDELIM *=/s/@REPLACE_GETDELIM@/0/
518/^REPLACE_GETDOMAINNAME *=/s/@REPLACE_GETDOMAINNAME@/0/
519/^REPLACE_GETGROUPS *=/s/@REPLACE_GETGROUPS@/0/
520/^REPLACE_GETLINE *=/s/@REPLACE_GETLINE@/0/
521/^REPLACE_GETLOGIN_R *=/s/@REPLACE_GETLOGIN_R@/0/
522/^REPLACE_GETPAGESIZE *=/s/@REPLACE_GETPAGESIZE@/0/
523/^REPLACE_GETTIMEOFDAY *=/s/@REPLACE_GETTIMEOFDAY@/0/
524/^REPLACE_ISATTY *=/s/@REPLACE_ISATTY@/0/
525/^REPLACE_LCHOWN *=/s/@REPLACE_LCHOWN@/0/
526/^REPLACE_LINK *=/s/@REPLACE_LINK@/0/
527/^REPLACE_LINKAT *=/s/@REPLACE_LINKAT@/0/
528/^REPLACE_LOCALTIME_R *=/s/@REPLACE_LOCALTIME_R@/0/
529/^REPLACE_LSEEK *=/s/@REPLACE_LSEEK@/0/
530/^REPLACE_LSTAT *=/s/@REPLACE_LSTAT@/0/
531/^REPLACE_MALLOC *=/s/@REPLACE_MALLOC@/0/
532/^REPLACE_MBTOWC *=/s/@REPLACE_MBTOWC@/0/
533/^REPLACE_MKDIR *=/s/@REPLACE_MKDIR@/0/
534/^REPLACE_MKFIFO *=/s/@REPLACE_MKFIFO@/0/
535/^REPLACE_MKNOD *=/s/@REPLACE_MKNOD@/0/
536/^REPLACE_MKSTEMP *=/s/@REPLACE_MKSTEMP@/0/
537/^REPLACE_MKTIME *=/s/@REPLACE_MKTIME@/0/
538/^REPLACE_NANOSLEEP *=/s/@REPLACE_NANOSLEEP@/0/
539/^REPLACE_NULL *=/s/@REPLACE_NULL@/0/
540/^REPLACE_OBSTACK_PRINTF *=/s/@REPLACE_OBSTACK_PRINTF@/0/
541/^REPLACE_PERROR *=/s/@REPLACE_PERROR@/0/
542/^REPLACE_POPEN *=/s/@REPLACE_POPEN@/0/
543/^REPLACE_PREAD *=/s/@REPLACE_PREAD@/0/
544/^REPLACE_PRINTF *=/s/@REPLACE_PRINTF@/0/
545/^REPLACE_PTHREAD_SIGMASK *=/s/@REPLACE_PTHREAD_SIGMASK@/0/
546/^REPLACE_PTSNAME *=/s/@REPLACE_PTSNAME@/0/
547/^REPLACE_PSELECT *=/s/@REPLACE_PSELECT@/0/
548/^REPLACE_PTSNAME *=/s/@REPLACE_PTSNAME@/0/
549/^REPLACE_PTSNAME_R *=/s/@REPLACE_PTSNAME_R@/0/
550/^REPLACE_PUTENV *=/s/@REPLACE_PUTENV@/0/
551/^REPLACE_PWRITE *=/s/@REPLACE_PWRITE@/0/
552/^REPLACE_RANDOM_R *=/s/@REPLACE_RANDOM_R@/0/
553/^REPLACE_READ *=/s/@REPLACE_READ@/0/
554/^REPLACE_RAISE *=/s/@REPLACE_RAISE@/0/
555/^REPLACE_READLINK *=/s/@REPLACE_READLINK@/0/
556/^REPLACE_REALLOC *=/s/@REPLACE_REALLOC@/0/
557/^REPLACE_REALPATH *=/s/@REPLACE_REALPATH@/0/
558/^REPLACE_REMOVE *=/s/@REPLACE_REMOVE@/0/
559/^REPLACE_RENAME *=/s/@REPLACE_RENAME@/0/
560/^REPLACE_RENAMEAT *=/s/@REPLACE_RENAMEAT@/0/
561/^REPLACE_RMDIR *=/s/@REPLACE_RMDIR@/0/
562/^REPLACE_SETENV *=/s/@REPLACE_SETENV@/0/
563/^REPLACE_SLEEP *=/s/@REPLACE_SLEEP@/0/
564/^REPLACE_SNPRINTF *=/s/@REPLACE_SNPRINTF@/0/
565/^REPLACE_SPRINTF *=/s/@REPLACE_SPRINTF@/0/
566/^REPLACE_STAT *=/s/@REPLACE_STAT@/0/
567/^REPLACE_STDIO_READ_FUNCS *=/s/@REPLACE_STDIO_READ_FUNCS@/0/
568/^REPLACE_STDIO_WRITE_FUNCS *=/s/@REPLACE_STDIO_WRITE_FUNCS@/0/
569/^REPLACE_STRTOD *=/s/@REPLACE_STRTOD@/0/
570/^REPLACE_STRTOIMAX *=/s/@REPLACE_STRTOIMAX@/0/
571/^REPLACE_STRUCT_TIMEVAL *=/s/@REPLACE_STRUCT_TIMEVAL@/0/
572/^REPLACE_SYMLINK *=/s/@REPLACE_SYMLINK@/0/
573/^REPLACE_TIMEGM *=/s/@REPLACE_TIMEGM@/0/
574/^REPLACE_TMPFILE *=/s/@REPLACE_TMPFILE@/0/
575/^REPLACE_TTYNAME_R *=/s/@REPLACE_TTYNAME_R@/0/
576/^REPLACE_UNLINK *=/s/@REPLACE_UNLINK@/0/
577/^REPLACE_UNLINKAT *=/s/@REPLACE_UNLINKAT@/0/
578/^REPLACE_UNSETENV *=/s/@REPLACE_UNSETENV@/0/
579/^REPLACE_USLEEP *=/s/@REPLACE_USLEEP@/0/
580/^REPLACE_UTIMENSAT *=/s/@REPLACE_UTIMENSAT@/0/
581/^REPLACE_VASPRINTF *=/s/@REPLACE_VASPRINTF@/0/
582/^REPLACE_VDPRINTF *=/s/@REPLACE_VDPRINTF@/0/
583/^REPLACE_VFPRINTF *=/s/@REPLACE_VFPRINTF@/0/
584/^REPLACE_VPRINTF *=/s/@REPLACE_VPRINTF@/0/
585/^REPLACE_VSNPRINTF *=/s/@REPLACE_VSNPRINTF@/0/
586/^REPLACE_VSPRINTF *=/s/@REPLACE_VSPRINTF@/0/
587/^REPLACE_WCTOMB *=/s/@REPLACE_WCTOMB@/0/
588/^REPLACE_WRITE *=/s/@REPLACE_WRITE@/0/
589/^SIG_ATOMIC_T_SUFFIX *=/s/@SIG_ATOMIC_T_SUFFIX@// 312/^SIG_ATOMIC_T_SUFFIX *=/s/@SIG_ATOMIC_T_SUFFIX@//
590/^SIZE_T_SUFFIX *=/s/@SIZE_T_SUFFIX@/u/ 313/^SIZE_T_SUFFIX *=/s/@SIZE_T_SUFFIX@/u/
591/^ALLOCA_H *=/s/@[^@\n]*@/alloca.h/ 314/^ALLOCA_H *=/s/@[^@\n]*@/alloca.h/
315/^BYTESWAP_H *=/s/@[^@\n]*@/byteswap.h/
316/^DIRENT_H *=/s/@[^@\n]*@//
317/^ERRNO_H *=/s/@[^@\n]*@//
592/^STDBOOL_H *=/s/@[^@\n]*@// 318/^STDBOOL_H *=/s/@[^@\n]*@//
593/^STDALIGN_H *=/s/@[^@\n]*@/stdalign.h/ 319/^STDALIGN_H *=/s/@[^@\n]*@/stdalign.h/
594/^STDARG_H *=/s/@[^@\n]*@// 320/^STDARG_H *=/s/@[^@\n]*@//
@@ -598,21 +324,32 @@ am__cd = cd
598/^TIME_H_DEFINES_STRUCT_TIMESPEC *=/s/@[^@\n]*@/0/ 324/^TIME_H_DEFINES_STRUCT_TIMESPEC *=/s/@[^@\n]*@/0/
599/^UNISTD_H_HAVE_WINSOCK2_H *=/s/@[^@\n]*@/0/ 325/^UNISTD_H_HAVE_WINSOCK2_H *=/s/@[^@\n]*@/0/
600/^UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS *=/s/@[^@\n]*@/0/ 326/^UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS *=/s/@[^@\n]*@/0/
327/^UNDEFINE_STRTOK_R *=/s/@UNDEFINE_STRTOK_R@/0/
601/^WCHAR_T_SUFFIX *=/s/@WCHAR_T_SUFFIX@/h/ 328/^WCHAR_T_SUFFIX *=/s/@WCHAR_T_SUFFIX@/h/
602/^WINT_T_SUFFIX *=/s/@WINT_T_SUFFIX@// 329/^WINT_T_SUFFIX *=/s/@WINT_T_SUFFIX@//
603/^WINDOWS_64_BIT_OFF_T *=/s/@WINDOWS_64_BIT_OFF_T@/0/ 330/^WINDOWS_64_BIT_OFF_T *=/s/@WINDOWS_64_BIT_OFF_T@/0/
604/^WINDOWS_64_BIT_ST_SIZE *=/s/@WINDOWS_64_BIT_ST_SIZE@/0/ 331/^WINDOWS_64_BIT_ST_SIZE *=/s/@WINDOWS_64_BIT_ST_SIZE@/0/
605/am__append_1 *=.*gettext\.h/s/@[^@\n]*@/\#/ 332# Tailor lists of files to what we need
333/am__append_[1-9][0-9]* *=.*gettext\.h/s/@[^@\n]*@/\#/
606/am__append_2 *=.*verify\.h/s/@[^@\n]*@// 334/am__append_2 *=.*verify\.h/s/@[^@\n]*@//
607/^gl_LIBOBJS *=/s/@[^@\n]*@/getopt.o getopt1.o strftime.o time_r.o getloadavg.o pthread_sigmask.o/ 335/^@gl_GNULIB_ENABLED_tempname_TRUE@/s/@[^@\n]*@//
608/^BUILT_SOURCES *=/s/ *inttypes\.h// 336/^gl_LIBOBJS *=/s/@[^@\n]*@/getopt.o getopt1.o memrchr.o sig2str.o time_r.o getloadavg.o pthread_sigmask.o mkostemp.o fpending.o fdatasync.o/
609/^BUILT_SOURCES *=/,/^[^ ]/{ 337/^am__append_[1-9][0-9]* *=/,/^[^ ]/{
338 s/ *inttypes\.h//
610 s| *sys/select\.h|| 339 s| *sys/select\.h||
611 s| *sys/time\.h|| 340 s| *sys/time\.h||
612} 341}
613/^am_libgnu_a_OBJECTS *=/,/^[^ ]/{ 342/^am_libgnu_a_OBJECTS *=/,/^[^ ]/{
614 s/allocator\.\$(OBJEXT) // 343 s/allocator\.\$(OBJEXT) //
344 s/binary-io\.\$(OBJEXT) //
615 s/careadlinkat\.\$(OBJEXT) // 345 s/careadlinkat\.\$(OBJEXT) //
346 s/pipe2\.\$(OBJEXT) //
347 s/acl-errno-valid\.\$(OBJEXT) //
348 s/file-has-acl\.\$(OBJEXT) //
349 s/qcopy-acl\.\$(OBJEXT) //
350 s/qset-acl\.\$(OBJEXT) //
351 s/openat-die\.\$(OBJEXT) //
352 s/save-cwd\.\$(OBJEXT) //
616} 353}
617/^srcdir *=/s/@[^@\n]*@/./ 354/^srcdir *=/s/@[^@\n]*@/./
618/^top_srcdir *=/s/@[^@\n]*@/../ 355/^top_srcdir *=/s/@[^@\n]*@/../
@@ -623,7 +360,7 @@ s/@PRAGMA_COLUMNS@//
623# Delete the recipes we don't want to get in our way. 360# Delete the recipes we don't want to get in our way.
624/^\$(srcdir)\/Makefile\.in:/,/^[ ][ ]*\$(AUTOMAKE)/d 361/^\$(srcdir)\/Makefile\.in:/,/^[ ][ ]*\$(AUTOMAKE)/d
625/^Makefile:/,/^[ ][ ]*esac/d 362/^Makefile:/,/^[ ][ ]*esac/d
626/^\$(top_srcdir)\/configure:/,/^\$(ACLOCAL_M4)/d 363/^\$(top_srcdir)\/configure:/,/^\$(am__aclocal_m4_deps):/d
627/^\$(top_builddir)\/config.status:/,/^$/d 364/^\$(top_builddir)\/config.status:/,/^$/d
628# 365#
629# Remove the dependencies on $(top_builddir)/config.status 366# Remove the dependencies on $(top_builddir)/config.status
@@ -640,16 +377,22 @@ s/^@am__fastdepCC_FALSE@/\#/
640# Fix the *-clean rules, to not use a Unixy `test' command. Empty 377# Fix the *-clean rules, to not use a Unixy `test' command. Empty
641# lists are replaced with a dummy file, to avoid an error message from 378# lists are replaced with a dummy file, to avoid an error message from
642# "rm -f" with no arguments. 379# "rm -f" with no arguments.
380/^CLEANFILES *= *$/c\
381CLEANFILES = xyzzy
643/^CONFIG_CLEAN_FILES *= *$/c\ 382/^CONFIG_CLEAN_FILES *= *$/c\
644CONFIG_CLEAN_FILES = xyzzy 383CONFIG_CLEAN_FILES = xyzzy
645/^CONFIG_CLEAN_VPATH_FILES *= *$/c\ 384/^CONFIG_CLEAN_VPATH_FILES *= *$/c\
646CONFIG_CLEAN_VPATH_FILES = xyzzy 385CONFIG_CLEAN_VPATH_FILES = xyzzy
647s/^ -*test -z.*|| rm/ -rm/ 386s/^ -*test -z.*|| rm/ -rm/
648s/@echo /@djecho/ 387s/@echo /@djecho /
649# 388#
650# Fix the recipes for header files 389# Fix the recipes for header files
651s/^@GL_GENERATE_ALLOCA_H_TRUE@// 390s/^@GL_GENERATE_ALLOCA_H_TRUE@//
652s/^@GL_GENERATE_ALLOCA_H_FALSE@/\#/ 391s/^@GL_GENERATE_ALLOCA_H_FALSE@/\#/
392s/^@GL_GENERATE_BYTESWAP_H_TRUE@//
393s/^@GL_GENERATE_BYTESWAP_H_FALSE@/\#/
394s/^@GL_GENERATE_ERRNO_H_TRUE@/\#/
395s/^@GL_GENERATE_ERRNO_H_FALSE@//
653s/^@GL_GENERATE_EXECINFO_H_TRUE@// 396s/^@GL_GENERATE_EXECINFO_H_TRUE@//
654s/^@GL_GENERATE_EXECINFO_H_FALSE@/\#/ 397s/^@GL_GENERATE_EXECINFO_H_FALSE@/\#/
655s/^@GL_GENERATE_STDBOOL_H_TRUE@/\#/ 398s/^@GL_GENERATE_STDBOOL_H_TRUE@/\#/
@@ -688,7 +431,16 @@ s/\.in-h\; *\\$/.in-h >> $@-t/
688/^unistd\.h:/,/^ [ ]*mv /{ 431/^unistd\.h:/,/^ [ ]*mv /{
689 s/'\; \\ *$/' >> $@-t/ 432 s/'\; \\ *$/' >> $@-t/
690} 433}
434/^string\.h:/,/^ [ ]*mv /{
435 s/'\; \\ *$/' >> $@-t/
436 /< \$(srcdir)\/string\.in-h >>/d
437}
691s!\$(MKDIR_P)[ ][ ]*sys!command.com /c "if not exist sys\\stat.h md sys"! 438s!\$(MKDIR_P)[ ][ ]*sys!command.com /c "if not exist sys\\stat.h md sys"!
692/^ @for dir in/,/^[^ ]/c\ 439/^ @for dir in/,/^[^ ]/c\
693 -rm -rf $(MOSTLYCLEANDIRS) 440 -rm -rf $(MOSTLYCLEANDIRS)
694/^ *-test . /d 441/^ *-test . /d
442#
443# Fix the Automake verbosity stuff
444/^ *\$(AM_V_at)/s/\$(AM_V_at)//
445/^ *\$(AM_V_AR)/s/\$(AM_V_AR)//
446/^ *\$(AM_V_CC)/s/\$(AM_V_CC)//
diff --git a/msdos/sedlisp.inp b/msdos/sedlisp.inp
index caf8e0c5497..332630c4dc2 100644
--- a/msdos/sedlisp.inp
+++ b/msdos/sedlisp.inp
@@ -19,8 +19,9 @@
19/^SHELL *=/i\ 19/^SHELL *=/i\
20export FNCASE=y 20export FNCASE=y
21 21
22/^SHELL *=/s|@SHELL@|/bin/sh|
22/^lisp *=/s|\$(srcdir)|$(CURDIR)| 23/^lisp *=/s|\$(srcdir)|$(CURDIR)|
23/^srcdir *=/s|@srcdir@|.| 24/^srcdir *=/s|@srcdir@|.|
24/^top_srcdir *=/s|@top_srcdir@|./..| 25/^top_srcdir *=/s|@top_srcdir@|./..|
25/^abs_top_builddir *=/s|@abs_top_builddir@|$(CURDIR)/..| 26/^XARGS_LIMIT *=/s|@XARGS_LIMIT@||
26 27