aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2011-09-29 15:13:54 +0300
committerEli Zaretskii2011-09-29 15:13:54 +0300
commit68b98f17f9dbf0384e83d03ca01ee8ddd2217eeb (patch)
treef1c20173ec2b68bef0eee27a3bb595fadcf31b05
parentccee00c0189fe7f59ef6136292d37a28378e52a0 (diff)
parent7cc013b5ba8d4141b100228494d4044b112120ad (diff)
downloademacs-68b98f17f9dbf0384e83d03ca01ee8ddd2217eeb.tar.gz
emacs-68b98f17f9dbf0384e83d03ca01ee8ddd2217eeb.zip
Fix the MSDOS build due to recent changes.
msdos/mainmake.v2 (boot): Condition the value on the existence of autogen/README, not admin/admin.el, since the latter is now part of the release tarball. (install): Don't copy lib-src/fns.el, as that file is no longer generated in that directory. msdos/sed1v2.inp (LIB_PTHREAD, LIB_PTHREAD_SIGMASK): Edit to empty. (SETTINGS_CFLAGS, SETTINGS_LIBS): Edit these instead of GCONF_CFLAGS and GCONF_LIBS. msdos/sedlibmk.inp (ALLOCA_H, AR, ARFLAGS, GNULIB_CHDIR, GNULIB_DUP) (GNULIB_FDATASYNC, GNULIB_FDOPEN, GNULIB_FSTAT, GNULIB_PCLOSE) (GNULIB_PTHREAD_SIGMASK, GNULIB_RAISE, GNULIB_SIGACTION) (GNULIB_SIGPROCMASK, GNULIB_SIGNAL_H_SIGPIPE, HAVE_FDATASYNC) (HAVE_PCLOSE, HAVE_POPEN, HAVE_POSIX_SIGNALBLOCKING) (HAVE_PTHREAD_SIGMASK, HAVE_RAISE, HAVE_SIGACTION) (HAVE_SIGHANDLER_T, HAVE_SIGINFO_T, HAVE_SIGSET_T) (HAVE_STRUCT_SIGACTION_SA_SIGACTION) (HAVE_TYPE_VOLATILE_SIG_ATOMIC_T, LIB_PTHREAD) (LIB_PTHREAD_SIGMASK, NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H) (NEXT_SIGNAL_H, REPLACE_FDOPEN, REPLACE_PTHREAD_SIGMASK) (REPLACE_RAISE): New edits. (gl_LIBOBJS): Remove md5.o, filemode.o, and sha1.o. Add pthread_sigmask.o. (@GL_GENERATE_ALLOCA_H_TRUE@, @GL_GENERATE_ALLOCA_H_FALSE@): Edit to comment out unneeded lines. (warn-on-use.h): Edit the recipe commands to work with DJGPP without requiring a Unixy shell. msdos/inttypes.h (strtoimax) [DJGPP < 2.04]: New macro. msdos/sed2v2.inp (HAVE_ALLOCA, HAVE_DECL_STRTOLL, HAVE_DECL_STRTOIMAX) (HAVE_STRTOLL, HAVE_SIGSET_T, HAVE_SNPRINTF): New edits. .bzrignore: Add ./GNUmakefile.unix. config.bat: Rename GNUmakefile, so it is not run on MS-DOS. Rename signal.in.h and alloca.in.h. src/sysdep.c (snprintf) [EOVERFLOW]: If EOVERFLOW is not defined, use EDOM.
-rw-r--r--ChangeLog7
-rw-r--r--config.bat4
-rw-r--r--msdos/ChangeLog36
-rw-r--r--msdos/inttypes.h1
-rw-r--r--msdos/mainmake.v210
-rw-r--r--msdos/sed1v2.inp6
-rw-r--r--msdos/sed2v2.inp12
-rw-r--r--msdos/sedlibmk.inp43
-rw-r--r--src/ChangeLog5
-rw-r--r--src/sysdep.c4
10 files changed, 119 insertions, 9 deletions
diff --git a/ChangeLog b/ChangeLog
index c1a80f2d92f..878d76e59f8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
12011-09-29 Eli Zaretskii <eliz@gnu.org>
2
3 * .bzrignore: Add ./GNUMakefile.unix.
4
5 * config.bat: Rename GNUMakefile, so it is not run on MS-DOS.
6 Rename signal.in.h and alloca.in.h.
7
12011-09-28 Eli Zaretskii <eliz@gnu.org> 82011-09-28 Eli Zaretskii <eliz@gnu.org>
2 9
3 * INSTALL: Mention that m17n libraries and libotf are needed for 10 * INSTALL: Mention that m17n libraries and libotf are needed for
diff --git a/config.bat b/config.bat
index a3660d577cd..cbbcf0cfcd5 100644
--- a/config.bat
+++ b/config.bat
@@ -279,8 +279,10 @@ If Exist build-aux\snippet\c++defs.h update build-aux/snippet/c++defs.h build-au
279cd lib 279cd lib
280Rem Rename files like djtar on plain DOS filesystem would. 280Rem Rename files like djtar on plain DOS filesystem would.
281If Exist build-aux\snippet\c++defs.h update build-aux/snippet/c++defs.h build-aux/snippet/cxxdefs.h 281If Exist build-aux\snippet\c++defs.h update build-aux/snippet/c++defs.h build-aux/snippet/cxxdefs.h
282If Exist alloca.in.h update alloca.in.h alloca.in-h
282If Exist getopt.in.h update getopt.in.h getopt.in-h 283If Exist getopt.in.h update getopt.in.h getopt.in-h
283If Exist stdbool.in.h update stdbool.in.h stdbool.in-h 284If Exist stdbool.in.h update stdbool.in.h stdbool.in-h
285If Exist signal.in.h update signal.in.h signal.in-h
284If Exist stddef.in.h update stddef.in.h stddef.in-h 286If Exist stddef.in.h update stddef.in.h stddef.in-h
285If Exist stdint.in.h update stdint.in.h stdint.in-h 287If Exist stdint.in.h update stdint.in.h stdint.in-h
286If Exist stdio.in.h update stdio.in.h stdio.in-h 288If Exist stdio.in.h update stdio.in.h stdio.in-h
@@ -326,6 +328,8 @@ Echo Then run CONFIG.BAT again with the same arguments you did now.
326goto End 328goto End
327:gdbinitOk 329:gdbinitOk
328Echo Looking for the GDB init file...found 330Echo Looking for the GDB init file...found
331rem GNUMakefile is not appropriate for MS-DOS so move it out of the way
332If Exist GNUmakefile mv -f GNUmakefile GNUmakefile.unix
329copy msdos\mainmake.v2 Makefile >nul 333copy msdos\mainmake.v2 Makefile >nul
330rem ---------------------------------------------------------------------- 334rem ----------------------------------------------------------------------
331goto End 335goto End
diff --git a/msdos/ChangeLog b/msdos/ChangeLog
index 46a5b69cc16..78ea6ebf1c5 100644
--- a/msdos/ChangeLog
+++ b/msdos/ChangeLog
@@ -1,3 +1,39 @@
12011-09-29 Eli Zaretskii <eliz@gnu.org>
2
3 * mainmake.v2 (boot): Condition the value on the existence of
4 autogen/README, not admin/admin.el, since the latter is now part
5 of the release tarball.
6 (install): Don't copy lib-src/fns.el, as that file is no longer
7 generated in that directory.
8
9 * sed1v2.inp (LIB_PTHREAD, LIB_PTHREAD_SIGMASK): Edit to empty.
10 (SETTINGS_CFLAGS, SETTINGS_LIBS): Edit these instead of
11 GCONF_CFLAGS and GCONF_LIBS.
12
13 * sedlibmk.inp (ALLOCA_H, AR, ARFLAGS, GNULIB_CHDIR, GNULIB_DUP)
14 (GNULIB_FDATASYNC, GNULIB_FDOPEN, GNULIB_FSTAT, GNULIB_PCLOSE)
15 (GNULIB_PTHREAD_SIGMASK, GNULIB_RAISE, GNULIB_SIGACTION)
16 (GNULIB_SIGPROCMASK, GNULIB_SIGNAL_H_SIGPIPE, HAVE_FDATASYNC)
17 (HAVE_PCLOSE, HAVE_POPEN, HAVE_POSIX_SIGNALBLOCKING)
18 (HAVE_PTHREAD_SIGMASK, HAVE_RAISE, HAVE_SIGACTION)
19 (HAVE_SIGHANDLER_T, HAVE_SIGINFO_T, HAVE_SIGSET_T)
20 (HAVE_STRUCT_SIGACTION_SA_SIGACTION)
21 (HAVE_TYPE_VOLATILE_SIG_ATOMIC_T, LIB_PTHREAD)
22 (LIB_PTHREAD_SIGMASK, NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H)
23 (NEXT_SIGNAL_H, REPLACE_FDOPEN, REPLACE_PTHREAD_SIGMASK)
24 (REPLACE_RAISE): New edits.
25 (gl_LIBOBJS): Remove md5.o, filemode.o, and sha1.o. Add
26 pthread_sigmask.o.
27 (@GL_GENERATE_ALLOCA_H_TRUE@, @GL_GENERATE_ALLOCA_H_FALSE@): Edit
28 to comment out unneeded lines.
29 (warn-on-use.h): Edit the recipe commands to work with DJGPP
30 without requiring a Unixy shell.
31
32 * inttypes.h (strtoimax) [DJGPP < 2.04]: New macro.
33
34 * sed2v2.inp (HAVE_ALLOCA, HAVE_DECL_STRTOLL, HAVE_DECL_STRTOIMAX)
35 (HAVE_STRTOLL, HAVE_SIGSET_T, HAVE_SNPRINTF): New edits.
36
12011-09-06 Paul Eggert <eggert@cs.ucla.edu> 372011-09-06 Paul Eggert <eggert@cs.ucla.edu>
2 38
3 * sedlibmk.inp (CONFIG_CLEAN_VPATH_FILES): Adjust to snippet moves 39 * sedlibmk.inp (CONFIG_CLEAN_VPATH_FILES): Adjust to snippet moves
diff --git a/msdos/inttypes.h b/msdos/inttypes.h
index e21f1b1055c..2c9b2b2cd11 100644
--- a/msdos/inttypes.h
+++ b/msdos/inttypes.h
@@ -30,6 +30,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
30#else /* __DJGPP__ < 2.04 */ 30#else /* __DJGPP__ < 2.04 */
31#include <stdlib.h> 31#include <stdlib.h>
32#define strtoumax strtoull 32#define strtoumax strtoull
33#define strtoimax strtoll
33#endif /* __DJGPP__ < 2.04 */ 34#endif /* __DJGPP__ < 2.04 */
34 35
35#endif 36#endif
diff --git a/msdos/mainmake.v2 b/msdos/mainmake.v2
index 1aea06d2a4d..3b65fcc5ea4 100644
--- a/msdos/mainmake.v2
+++ b/msdos/mainmake.v2
@@ -64,12 +64,13 @@ MAKESHELL=/xyzzy/command
64top_srcdir := $(subst \,/,$(shell cd)) 64top_srcdir := $(subst \,/,$(shell cd))
65 65
66# Q: Do we need to bootstrap? 66# Q: Do we need to bootstrap?
67# A: Only if we find admin/admin.el, i.e. we are building out of 67# A: Only if we find autogen/README, i.e. we are building out of
68# a VCS-checkout (not a release) and src/b-emacs.exe does not exist. 68# a VCS-checkout (not a release), and src/b-emacs.exe does not exist.
69# This avoids building a bootstrap-emacs and recompiling Lisp files 69# This avoids building a bootstrap-emacs and recompiling Lisp files
70# when building a pretest/release tarball. 70# when building a pretest/release tarball. Recompiling Lisp files
71# is BAD because lisp/Makefile.in requires a Unixy shell.
71boot := 72boot :=
72ifneq ($(wildcard admin/admin.el),) 73ifneq ($(wildcard autogen/README),)
73ifeq ($(wildcard src/b-emacs.exe),) 74ifeq ($(wildcard src/b-emacs.exe),)
74boot := b-emacs.exe 75boot := b-emacs.exe
75endif 76endif
@@ -132,7 +133,6 @@ install: all
132 cd lib-src 133 cd lib-src
133 command.com /c >/dev/null for %p in (hexl etags ctags ebrowse) do\ 134 command.com /c >/dev/null for %p in (hexl etags ctags ebrowse) do\
134 if exist %p.exe mv -f %p.exe ../bin 135 if exist %p.exe mv -f %p.exe ../bin
135 if exist fns.el update fns.el ../bin/fns.el
136 cd .. 136 cd ..
137 cd src 137 cd src
138 mv -f emacs.exe ../bin/ 138 mv -f emacs.exe ../bin/
diff --git a/msdos/sed1v2.inp b/msdos/sed1v2.inp
index 623f5cacbc9..d92fd1340ab 100644
--- a/msdos/sed1v2.inp
+++ b/msdos/sed1v2.inp
@@ -53,6 +53,7 @@ s/\.h\.in/.h-in/
53/^LIB_GCC *=/s/@LIB_GCC@// 53/^LIB_GCC *=/s/@LIB_GCC@//
54/^LIB_STANDARD *=/s/@LIB_STANDARD@// 54/^LIB_STANDARD *=/s/@LIB_STANDARD@//
55/^LIB_MATH *=/s/@LIB_MATH@/-lm/ 55/^LIB_MATH *=/s/@LIB_MATH@/-lm/
56/^LIB_PTHREAD *=/s/@LIB_PTHREAD@//
56/^LIBTIFF *=/s/@LIBTIFF@// 57/^LIBTIFF *=/s/@LIBTIFF@//
57/^LIBJPEG *=/s/@LIBJPEG@// 58/^LIBJPEG *=/s/@LIBJPEG@//
58/^LIBPNG *=/s/@LIBPNG@// 59/^LIBPNG *=/s/@LIBPNG@//
@@ -70,8 +71,8 @@ s/\.h\.in/.h-in/
70/^DBUS_CFLAGS *=/s/@DBUS_CFLAGS@// 71/^DBUS_CFLAGS *=/s/@DBUS_CFLAGS@//
71/^DBUS_LIBS *=/s/@DBUS_LIBS@// 72/^DBUS_LIBS *=/s/@DBUS_LIBS@//
72/^DBUS_OBJ *=/s/@DBUS_OBJ@// 73/^DBUS_OBJ *=/s/@DBUS_OBJ@//
73/^GCONF_CFLAGS *=/s/@GCONF_CFLAGS@// 74/^SETTINGS_CFLAGS *=/s/@SETTINGS_CFLAGS@//
74/^GCONF_LIBS *=/s/@GCONF_LIBS@// 75/^SETTINGS_LIBS *=/s/@SETTINGS_LIBS@//
75/^GTK_OBJ *=/s/@GTK_OBJ@// 76/^GTK_OBJ *=/s/@GTK_OBJ@//
76/^LIBS_TERMCAP *=/s/@LIBS_TERMCAP@// 77/^LIBS_TERMCAP *=/s/@LIBS_TERMCAP@//
77/^TERMCAP_OBJ *=/s/@TERMCAP_OBJ@/termcap.o tparam.o/ 78/^TERMCAP_OBJ *=/s/@TERMCAP_OBJ@/termcap.o tparam.o/
@@ -102,6 +103,7 @@ s/\.h\.in/.h-in/
102/^GNU_OBJC_CFLAGS*=/s/@GNU_OBJC_CFLAGS@// 103/^GNU_OBJC_CFLAGS*=/s/@GNU_OBJC_CFLAGS@//
103/^LIBRESOLV *=/s/@LIBRESOLV@// 104/^LIBRESOLV *=/s/@LIBRESOLV@//
104/^LIBSELINUX_LIBS *=/s/@LIBSELINUX_LIBS@// 105/^LIBSELINUX_LIBS *=/s/@LIBSELINUX_LIBS@//
106/^LIB_PTHREAD_SIGMASK *=/s/@[^@\n]*@//
105/^LIBGNUTLS_LIBS *=/s/@[^@\n]*@// 107/^LIBGNUTLS_LIBS *=/s/@[^@\n]*@//
106/^LIBGNUTLS_CFLAGS *=/s/@[^@\n]*@// 108/^LIBGNUTLS_CFLAGS *=/s/@[^@\n]*@//
107/^GETLOADAVG_LIBS *=/s/@[^@\n]*@// 109/^GETLOADAVG_LIBS *=/s/@[^@\n]*@//
diff --git a/msdos/sed2v2.inp b/msdos/sed2v2.inp
index 3c3e69377f0..ea35a29c6b1 100644
--- a/msdos/sed2v2.inp
+++ b/msdos/sed2v2.inp
@@ -26,6 +26,7 @@
26#define NSIG 320\ 26#define NSIG 320\
27#endif 27#endif
28 28
29/^#undef HAVE_ALLOCA *$/s/^.*$/#define HAVE_ALLOCA 1/
29/^#undef HAVE_SETITIMER *$/s/^.*$/#define HAVE_SETITIMER 1/ 30/^#undef HAVE_SETITIMER *$/s/^.*$/#define HAVE_SETITIMER 1/
30/^#undef HAVE_STRUCT_UTIMBUF *$/s/^.*$/#define HAVE_STRUCT_UTIMBUF 1/ 31/^#undef HAVE_STRUCT_UTIMBUF *$/s/^.*$/#define HAVE_STRUCT_UTIMBUF 1/
31/^#undef LOCALTIME_CACHE *$/s/^.*$/#define LOCALTIME_CACHE 1/ 32/^#undef LOCALTIME_CACHE *$/s/^.*$/#define LOCALTIME_CACHE 1/
@@ -100,10 +101,19 @@ s/^#undef POINTER_TYPE *$/#define POINTER_TYPE void/
100#else\ 101#else\
101#undef HAVE_STDINT_H\ 102#undef HAVE_STDINT_H\
102#endif 103#endif
104s/^#undef HAVE_DECL_STRTOLL *$/#define HAVE_DECL_STRTOLL 1/
103s/^#undef HAVE_DECL_STRTOULL *$/#define HAVE_DECL_STRTOULL 1/ 105s/^#undef HAVE_DECL_STRTOULL *$/#define HAVE_DECL_STRTOULL 1/
106s/^#undef HAVE_DECL_STRTOIMAX *$/#define HAVE_DECL_STRTOIMAX 1/
104s/^#undef HAVE_DECL_STRTOUMAX *$/#define HAVE_DECL_STRTOUMAX 1/ 107s/^#undef HAVE_DECL_STRTOUMAX *$/#define HAVE_DECL_STRTOUMAX 1/
108s/^#undef HAVE_STRTOLL *$/#define HAVE_STRTOLL 1/
105s/^#undef HAVE_STRTOULL *$/#define HAVE_STRTOULL 1/ 109s/^#undef HAVE_STRTOULL *$/#define HAVE_STRTOULL 1/
106s/^#undef HAVE_STRTOULL *$/#define HAVE_STRTOULL 1/ 110/^#undef HAVE_SIGSET_T *$/s/^.*$/#define HAVE_SIGSET_T 1/
111/^#undef HAVE_SNPRINTF/c\
112#if __DJGPP__ > 2 || __DJGPP_MINOR__ > 3\
113#define HAVE_SNPRINTF 1\
114#else\
115#undef HAVE_SNPRINTF\
116#endif
107 117
108# Comment out any remaining undef directives, because some of them 118# Comment out any remaining undef directives, because some of them
109# might be defined in sys/config.h we include at the top of config.h. 119# might be defined in sys/config.h we include at the top of config.h.
diff --git a/msdos/sedlibmk.inp b/msdos/sedlibmk.inp
index a97ec7cb5f6..fdb8f8887db 100644
--- a/msdos/sedlibmk.inp
+++ b/msdos/sedlibmk.inp
@@ -111,6 +111,8 @@ am__cd = cd
111/^ALLOCA *=/s/@[^@\n]*@// 111/^ALLOCA *=/s/@[^@\n]*@//
112/^ALSA_CFLAGS *=/s/@[^@\n]*@// 112/^ALSA_CFLAGS *=/s/@[^@\n]*@//
113/^ALSA_LIBS *=/s/@[^@\n]*@// 113/^ALSA_LIBS *=/s/@[^@\n]*@//
114/^AR *=/s/@[^@\n]*@/ar/
115/^ARFLAGS *=/s/@[^@\n]*@/cru/
114/^AWK *=/s/@[^@\n]*@/gawk/ 116/^AWK *=/s/@[^@\n]*@/gawk/
115/^CANNOT_DUMP *=/s/@[^@\n]*@/no/ 117/^CANNOT_DUMP *=/s/@[^@\n]*@/no/
116/^CC *=/s/@[^@\n]*@/gcc/ 118/^CC *=/s/@[^@\n]*@/gcc/
@@ -147,9 +149,11 @@ am__cd = cd
147/^GNULIB_ATOLL *=/s/@GNULIB_ATOLL@/1/ 149/^GNULIB_ATOLL *=/s/@GNULIB_ATOLL@/1/
148/^GNULIB_CALLOC_POSIX *=/s/@GNULIB_CALLOC_POSIX@/0/ 150/^GNULIB_CALLOC_POSIX *=/s/@GNULIB_CALLOC_POSIX@/0/
149/^GNULIB_CANONICALIZE_FILE_NAME *=/s/@GNULIB_CANONICALIZE_FILE_NAME@/0/ 151/^GNULIB_CANONICALIZE_FILE_NAME *=/s/@GNULIB_CANONICALIZE_FILE_NAME@/0/
152/^GNULIB_CHDIR *=/s/@GNULIB_CHDIR@/0/
150/^GNULIB_CHOWN *=/s/@GNULIB_CHOWN@/0/ 153/^GNULIB_CHOWN *=/s/@GNULIB_CHOWN@/0/
151/^GNULIB_CLOSE *=/s/@GNULIB_CLOSE@/0/ 154/^GNULIB_CLOSE *=/s/@GNULIB_CLOSE@/0/
152/^GNULIB_DPRINTF *=/s/@GNULIB_DPRINTF@/0/ 155/^GNULIB_DPRINTF *=/s/@GNULIB_DPRINTF@/0/
156/^GNULIB_DUP *=/s/@GNULIB_DUP@/0/
153/^GNULIB_DUP2 *=/s/@GNULIB_DUP2@/0/ 157/^GNULIB_DUP2 *=/s/@GNULIB_DUP2@/0/
154/^GNULIB_DUP3 *=/s/@GNULIB_DUP3@/1/ 158/^GNULIB_DUP3 *=/s/@GNULIB_DUP3@/1/
155/^GNULIB_ENVIRON *=/s/@GNULIB_ENVIRON@/0/ 159/^GNULIB_ENVIRON *=/s/@GNULIB_ENVIRON@/0/
@@ -159,6 +163,8 @@ am__cd = cd
159/^GNULIB_FCHOWNAT *=/s/@GNULIB_FCHOWNAT@/0/ 163/^GNULIB_FCHOWNAT *=/s/@GNULIB_FCHOWNAT@/0/
160/^GNULIB_FCHMODAT *=/s/@GNULIB_FCHMODAT@/0/ 164/^GNULIB_FCHMODAT *=/s/@GNULIB_FCHMODAT@/0/
161/^GNULIB_FCLOSE *=/s/@GNULIB_FCLOSE@/0/ 165/^GNULIB_FCLOSE *=/s/@GNULIB_FCLOSE@/0/
166/^GNULIB_FDATASYNC *=/s/@GNULIB_FDATASYNC@/0/
167/^GNULIB_FDOPEN *=/s/@GNULIB_FDOPEN@/0/
162/^GNULIB_FFLUSH *=/s/@GNULIB_FFLUSH@/0/ 168/^GNULIB_FFLUSH *=/s/@GNULIB_FFLUSH@/0/
163/^GNULIB_FGETC *=/s/@GNULIB_FGETC@/0/ 169/^GNULIB_FGETC *=/s/@GNULIB_FGETC@/0/
164/^GNULIB_FGETS *=/s/@GNULIB_FGETS@/0/ 170/^GNULIB_FGETS *=/s/@GNULIB_FGETS@/0/
@@ -173,6 +179,7 @@ am__cd = cd
173/^GNULIB_FSCANF *=/s/@GNULIB_FSCANF@/0/ 179/^GNULIB_FSCANF *=/s/@GNULIB_FSCANF@/0/
174/^GNULIB_FSEEK *=/s/@GNULIB_FSEEK@/0/ 180/^GNULIB_FSEEK *=/s/@GNULIB_FSEEK@/0/
175/^GNULIB_FSEEKO *=/s/@GNULIB_FSEEKO@/0/ 181/^GNULIB_FSEEKO *=/s/@GNULIB_FSEEKO@/0/
182/^GNULIB_FSTAT *=/s/@GNULIB_FSTAT@/0/
176/^GNULIB_FSTATAT *=/s/@GNULIB_FSTATAT@/0/ 183/^GNULIB_FSTATAT *=/s/@GNULIB_FSTATAT@/0/
177/^GNULIB_FSYNC *=/s/@GNULIB_FSYNC@/0/ 184/^GNULIB_FSYNC *=/s/@GNULIB_FSYNC@/0/
178/^GNULIB_FTELL *=/s/@GNULIB_FTELL@/0/ 185/^GNULIB_FTELL *=/s/@GNULIB_FTELL@/0/
@@ -220,6 +227,7 @@ am__cd = cd
220/^GNULIB_NANOSLEEP *=/s/@GNULIB_NANOSLEEP@/0/ 227/^GNULIB_NANOSLEEP *=/s/@GNULIB_NANOSLEEP@/0/
221/^GNULIB_OBSTACK_PRINTF *=/s/@GNULIB_OBSTACK_PRINTF@/0/ 228/^GNULIB_OBSTACK_PRINTF *=/s/@GNULIB_OBSTACK_PRINTF@/0/
222/^GNULIB_OBSTACK_PRINTF_POSIX *=/s/@GNULIB_OBSTACK_PRINTF_POSIX@/0/ 229/^GNULIB_OBSTACK_PRINTF_POSIX *=/s/@GNULIB_OBSTACK_PRINTF_POSIX@/0/
230/^GNULIB_PCLOSE *=/s/@GNULIB_PCLOSE@/0/
223/^GNULIB_PERROR *=/s/@GNULIB_PERROR@/0/ 231/^GNULIB_PERROR *=/s/@GNULIB_PERROR@/0/
224/^GNULIB_PIPE *=/s/@GNULIB_PIPE@/0/ 232/^GNULIB_PIPE *=/s/@GNULIB_PIPE@/0/
225/^GNULIB_PIPE2 *=/s/@GNULIB_PIPE2@/0/ 233/^GNULIB_PIPE2 *=/s/@GNULIB_PIPE2@/0/
@@ -227,12 +235,14 @@ am__cd = cd
227/^GNULIB_PREAD *=/s/@GNULIB_PREAD@/0/ 235/^GNULIB_PREAD *=/s/@GNULIB_PREAD@/0/
228/^GNULIB_PRINTF *=/s/@GNULIB_PRINTF@/0/ 236/^GNULIB_PRINTF *=/s/@GNULIB_PRINTF@/0/
229/^GNULIB_PRINTF_POSIX *=/s/@GNULIB_PRINTF_POSIX@/0/ 237/^GNULIB_PRINTF_POSIX *=/s/@GNULIB_PRINTF_POSIX@/0/
238/^GNULIB_PTHREAD_SIGMASK *=/s/@GNULIB_PTHREAD_SIGMASK@/0/
230/^GNULIB_PTSNAME *=/s/@GNULIB_PTSNAME@/0/ 239/^GNULIB_PTSNAME *=/s/@GNULIB_PTSNAME@/0/
231/^GNULIB_PUTC *=/s/@GNULIB_PUTC@/0/ 240/^GNULIB_PUTC *=/s/@GNULIB_PUTC@/0/
232/^GNULIB_PUTCHAR *=/s/@GNULIB_PUTCHAR@/0/ 241/^GNULIB_PUTCHAR *=/s/@GNULIB_PUTCHAR@/0/
233/^GNULIB_PUTENV *=/s/@GNULIB_PUTENV@/0/ 242/^GNULIB_PUTENV *=/s/@GNULIB_PUTENV@/0/
234/^GNULIB_PUTS *=/s/@GNULIB_PUTS@/0/ 243/^GNULIB_PUTS *=/s/@GNULIB_PUTS@/0/
235/^GNULIB_PWRITE *=/s/@GNULIB_PWRITE@/0/ 244/^GNULIB_PWRITE *=/s/@GNULIB_PWRITE@/0/
245/^GNULIB_RAISE *=/s/@GNULIB_RAISE@/0/
236/^GNULIB_RANDOM_R *=/s/@GNULIB_RANDOM_R@/0/ 246/^GNULIB_RANDOM_R *=/s/@GNULIB_RANDOM_R@/0/
237/^GNULIB_READ *=/s/@GNULIB_READ@/0/ 247/^GNULIB_READ *=/s/@GNULIB_READ@/0/
238/^GNULIB_READLINK *=/s/@GNULIB_READLINK@/0/ 248/^GNULIB_READLINK *=/s/@GNULIB_READLINK@/0/
@@ -246,6 +256,9 @@ am__cd = cd
246/^GNULIB_RPMATCH *=/s/@GNULIB_RPMATCH@/0/ 256/^GNULIB_RPMATCH *=/s/@GNULIB_RPMATCH@/0/
247/^GNULIB_SCANF *=/s/@GNULIB_SCANF@/0/ 257/^GNULIB_SCANF *=/s/@GNULIB_SCANF@/0/
248/^GNULIB_SETENV *=/s/@GNULIB_SETENV@/0/ 258/^GNULIB_SETENV *=/s/@GNULIB_SETENV@/0/
259/^GNULIB_SIGACTION *=/s/@GNULIB_SIGACTION@/0/
260/^GNULIB_SIGNAL_H_SIGPIPE *=/s/@GNULIB_SIGNAL_H_SIGPIPE@/0/
261/^GNULIB_SIGPROCMASK *=/s/@GNULIB_SIGPROCMASK@/0/
249/^GNULIB_SLEEP *=/s/@GNULIB_SLEEP@/0/ 262/^GNULIB_SLEEP *=/s/@GNULIB_SLEEP@/0/
250/^GNULIB_SNPRINTF *=/s/@GNULIB_SNPRINTF@/0/ 263/^GNULIB_SNPRINTF *=/s/@GNULIB_SNPRINTF@/0/
251/^GNULIB_SPRINTF_POSIX *=/s/@GNULIB_SPRINTF_POSIX@/0/ 264/^GNULIB_SPRINTF_POSIX *=/s/@GNULIB_SPRINTF_POSIX@/0/
@@ -285,11 +298,14 @@ am__cd = cd
285/^GNULIB_WCTOMB *=/s/@GNULIB_WCTOMB@/0/ 298/^GNULIB_WCTOMB *=/s/@GNULIB_WCTOMB@/0/
286/^GNULIB_WRITE *=/s/@GNULIB_WRITE@/0/ 299/^GNULIB_WRITE *=/s/@GNULIB_WRITE@/0/
287/^GNULIB__EXIT *=/s/@GNULIB__EXIT@/0/ 300/^GNULIB__EXIT *=/s/@GNULIB__EXIT@/0/
301/^GSETTINGS_CFLAGS *=/s/@[^@\n]*@//
302/^GSETTINGS_LIBS *=/s/@[^@\n]*@//
288/^HAVE_ATOLL *=/s/@HAVE_ATOLL@/0/ 303/^HAVE_ATOLL *=/s/@HAVE_ATOLL@/0/
289/^HAVE_CANONICALIZE_FILE_NAME *=/s/@HAVE_CANONICALIZE_FILE_NAME@/0/ 304/^HAVE_CANONICALIZE_FILE_NAME *=/s/@HAVE_CANONICALIZE_FILE_NAME@/0/
290/^HAVE_CHOWN *=/s/@HAVE_CHOWN@/1/ 305/^HAVE_CHOWN *=/s/@HAVE_CHOWN@/1/
291/^HAVE_DECL_ENVIRON *=/s/@HAVE_DECL_ENVIRON@/1/ 306/^HAVE_DECL_ENVIRON *=/s/@HAVE_DECL_ENVIRON@/1/
292/^HAVE_DECL_FCHDIR *=/s/@HAVE_DECL_FCHDIR@/0/ 307/^HAVE_DECL_FCHDIR *=/s/@HAVE_DECL_FCHDIR@/0/
308/^HAVE_DECL_FDATASYNC *=/s/@HAVE_DECL_FDATASYNC@/0/
293/^HAVE_DECL_FPURGE *=/s/@HAVE_DECL_FPURGE@// 309/^HAVE_DECL_FPURGE *=/s/@HAVE_DECL_FPURGE@//
294/^HAVE_DECL_FSEEKO *=/s/@HAVE_DECL_FSEEKO@/0/ 310/^HAVE_DECL_FSEEKO *=/s/@HAVE_DECL_FSEEKO@/0/
295/^HAVE_DECL_FTELLO *=/s/@HAVE_DECL_FTELLO@/0/ 311/^HAVE_DECL_FTELLO *=/s/@HAVE_DECL_FTELLO@/0/
@@ -315,6 +331,7 @@ am__cd = cd
315/^HAVE_FCHDIR *=/s/@HAVE_FCHDIR@/0/ 331/^HAVE_FCHDIR *=/s/@HAVE_FCHDIR@/0/
316/^HAVE_FCHMODAT *=/s/@HAVE_FCHMODAT@/0/ 332/^HAVE_FCHMODAT *=/s/@HAVE_FCHMODAT@/0/
317/^HAVE_FCHOWNAT *=/s/@HAVE_FCHOWNAT@/0/ 333/^HAVE_FCHOWNAT *=/s/@HAVE_FCHOWNAT@/0/
334/^HAVE_FDATASYNC *=/s/@HAVE_FDATASYNC@/0/
318/^HAVE_FSEEKO *=/s/@HAVE_FSEEKO@/0/ 335/^HAVE_FSEEKO *=/s/@HAVE_FSEEKO@/0/
319/^HAVE_FSTATAT *=/s/@HAVE_FSTATAT@/0/ 336/^HAVE_FSTATAT *=/s/@HAVE_FSTATAT@/0/
320/^HAVE_FSYNC *=/s/@HAVE_FSYNC@/1/ 337/^HAVE_FSYNC *=/s/@HAVE_FSYNC@/1/
@@ -351,11 +368,16 @@ am__cd = cd
351/^HAVE_NANOSLEEP *=/s/@HAVE_NANOSLEEP@/0/ 368/^HAVE_NANOSLEEP *=/s/@HAVE_NANOSLEEP@/0/
352/^HAVE_OS_H *=/s/@HAVE_OS_H@/0/ 369/^HAVE_OS_H *=/s/@HAVE_OS_H@/0/
353/^HAVE_PIPE *=/s/@HAVE_PIPE@/0/ 370/^HAVE_PIPE *=/s/@HAVE_PIPE@/0/
371/^HAVE_PCLOSE *=/s/@HAVE_PCLOSE@/1/
354/^HAVE_PIPE2 *=/s/@HAVE_PIPE2@/0/ 372/^HAVE_PIPE2 *=/s/@HAVE_PIPE2@/0/
373/^HAVE_POPEN *=/s/@HAVE_POPEN@/1/
374/^HAVE_POSIX_SIGNALBLOCKING *=/s/@HAVE_POSIX_SIGNALBLOCKING@/1/
355/^HAVE_PREAD *=/s/@HAVE_PREAD@/0/ 375/^HAVE_PREAD *=/s/@HAVE_PREAD@/0/
356/^HAVE_PTSNAME *=/s/@HAVE_PTSNAME@/0/ 376/^HAVE_PTSNAME *=/s/@HAVE_PTSNAME@/0/
377/^HAVE_PTHREAD_SIGMASK *=/s/@HAVE_PTHREAD_SIGMASK@/0/
357/^HAVE_PWRITE *=/s/@HAVE_PWRITE@/0/ 378/^HAVE_PWRITE *=/s/@HAVE_PWRITE@/0/
358/^HAVE_RANDOM_H *=/s/@HAVE_RANDOM_H@/1/ 379/^HAVE_RANDOM_H *=/s/@HAVE_RANDOM_H@/1/
380/^HAVE_RAISE *=/s/@HAVE_RAISE@/1/
359/^HAVE_RANDOM_R *=/s/@HAVE_RANDOM_R@/0/ 381/^HAVE_RANDOM_R *=/s/@HAVE_RANDOM_R@/0/
360/^HAVE_READLINK *=/s/@HAVE_READLINK@/0/ 382/^HAVE_READLINK *=/s/@HAVE_READLINK@/0/
361/^HAVE_READLINKAT *=/s/@HAVE_READLINKAT@/0/ 383/^HAVE_READLINKAT *=/s/@HAVE_READLINKAT@/0/
@@ -363,15 +385,20 @@ am__cd = cd
363/^HAVE_RENAMEAT *=/s/@HAVE_RENAMEAT@/0/ 385/^HAVE_RENAMEAT *=/s/@HAVE_RENAMEAT@/0/
364/^HAVE_RPMATCH *=/s/@HAVE_RPMATCH@/0/ 386/^HAVE_RPMATCH *=/s/@HAVE_RPMATCH@/0/
365/^HAVE_SETENV *=/s/@HAVE_SETENV@/1/ 387/^HAVE_SETENV *=/s/@HAVE_SETENV@/1/
388/^HAVE_SIGACTION *=/s/@HAVE_SIGACTION@/1/
389/^HAVE_SIGHANDLER_T *=/s/@HAVE_SIGHANDLER_T@/0/
390/^HAVE_SIGINFO_T *=/s/@HAVE_SIGINFO_T@/0/
366/^HAVE_SIGNED_SIG_ATOMIC_T *=/s/@HAVE_SIGNED_SIG_ATOMIC_T@/1/ 391/^HAVE_SIGNED_SIG_ATOMIC_T *=/s/@HAVE_SIGNED_SIG_ATOMIC_T@/1/
367/^HAVE_SIGNED_WCHAR_T *=/s/@HAVE_SIGNED_WCHAR_T@/0/ 392/^HAVE_SIGNED_WCHAR_T *=/s/@HAVE_SIGNED_WCHAR_T@/0/
368/^HAVE_SIGNED_WINT_T *=/s/@HAVE_SIGNED_WINT_T@/1/ 393/^HAVE_SIGNED_WINT_T *=/s/@HAVE_SIGNED_WINT_T@/1/
394/^HAVE_SIGSET_T *=/s/@HAVE_SIGSET_T@/1/
369/^HAVE_SLEEP *=/s/@HAVE_SLEEP@/1/ 395/^HAVE_SLEEP *=/s/@HAVE_SLEEP@/1/
370/^HAVE_STDINT_H *=/s/@HAVE_STDINT_H@/HAVE_STDINT_H/ 396/^HAVE_STDINT_H *=/s/@HAVE_STDINT_H@/HAVE_STDINT_H/
371/^HAVE_STRPTIME *=/s/@HAVE_STRPTIME@/0/ 397/^HAVE_STRPTIME *=/s/@HAVE_STRPTIME@/0/
372/^HAVE_STRTOD *=/s/@HAVE_STRTOD@/1/ 398/^HAVE_STRTOD *=/s/@HAVE_STRTOD@/1/
373/^HAVE_STRTOLL *=/s/@HAVE_STRTOLL@/1/ 399/^HAVE_STRTOLL *=/s/@HAVE_STRTOLL@/1/
374/^HAVE_STRTOULL *=/s/@HAVE_STRTOULL@/1/ 400/^HAVE_STRTOULL *=/s/@HAVE_STRTOULL@/1/
401/^HAVE_STRUCT_SIGACTION_SA_SIGACTION *=/s/@HAVE_STRUCT_SIGACTION_SA_SIGACTION@/0/
375/^HAVE_STRUCT_RANDOM_DATA *=/s/@HAVE_STRUCT_RANDOM_DATA@/0/ 402/^HAVE_STRUCT_RANDOM_DATA *=/s/@HAVE_STRUCT_RANDOM_DATA@/0/
376/^HAVE_SYMLINK *=/s/@HAVE_SYMLINK@/1/ 403/^HAVE_SYMLINK *=/s/@HAVE_SYMLINK@/1/
377/^HAVE_SYMLINKAT *=/s/@HAVE_SYMLINKAT@/0/ 404/^HAVE_SYMLINKAT *=/s/@HAVE_SYMLINKAT@/0/
@@ -381,6 +408,7 @@ am__cd = cd
381/^HAVE_SYS_PARAM_H *=/s/@HAVE_SYS_PARAM_H@/1/ 408/^HAVE_SYS_PARAM_H *=/s/@HAVE_SYS_PARAM_H@/1/
382/^HAVE_SYS_TYPES_H *=/s/@HAVE_SYS_TYPES_H@/1/ 409/^HAVE_SYS_TYPES_H *=/s/@HAVE_SYS_TYPES_H@/1/
383/^HAVE_TIMEGM *=/s/@HAVE_TIMEGM@/0/ 410/^HAVE_TIMEGM *=/s/@HAVE_TIMEGM@/0/
411/^HAVE_TYPE_VOLATILE_SIG_ATOMIC_T *=/s/@HAVE_TYPE_VOLATILE_SIG_ATOMIC_T@/1/
384/^HAVE_UNISTD_H *=/s/@HAVE_UNISTD_H@/1/ 412/^HAVE_UNISTD_H *=/s/@HAVE_UNISTD_H@/1/
385/^HAVE_UNLINKAT *=/s/@HAVE_UNLINKAT@/0/ 413/^HAVE_UNLINKAT *=/s/@HAVE_UNLINKAT@/0/
386/^HAVE_UNLOCKPT *=/s/@HAVE_UNLOCKPT@/0/ 414/^HAVE_UNLOCKPT *=/s/@HAVE_UNLOCKPT@/0/
@@ -398,11 +426,14 @@ am__cd = cd
398/^INCLUDE_NEXT_AS_FIRST_DIRECTIVE *=/s/@[^@\n]*@/include_next/ 426/^INCLUDE_NEXT_AS_FIRST_DIRECTIVE *=/s/@[^@\n]*@/include_next/
399/^LDFLAGS *=/s/@[^@\n]*@// 427/^LDFLAGS *=/s/@[^@\n]*@//
400/^LD_FIRSTFLAG *=/s/@[^@\n]*@// 428/^LD_FIRSTFLAG *=/s/@[^@\n]*@//
429/^LIB_PTHREAD *=/s/@[^@\n]*@//
430/^LIB_PTHREAD_SIGMASK *=/s/@[^@\n]*@//
401/^LIBS *=/s/@[^@\n]*@// 431/^LIBS *=/s/@[^@\n]*@//
402/^MAKEINFO *=/s/@MAKEINFO@/makeinfo/ 432/^MAKEINFO *=/s/@MAKEINFO@/makeinfo/
403# MKDIR_P lines are edited further below 433# MKDIR_P lines are edited further below
404/^MKDIR_P *=/s/@MKDIR_P@// 434/^MKDIR_P *=/s/@MKDIR_P@//
405/^NEXT_AS_FIRST_DIRECTIVE_GETOPT_H *=/s/@[^@\n]*@/<getopt.h>/ 435/^NEXT_AS_FIRST_DIRECTIVE_GETOPT_H *=/s/@[^@\n]*@/<getopt.h>/
436/^NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H *=/s/@[^@\n]*@/<signal.h>/
406/^NEXT_AS_FIRST_DIRECTIVE_STDARG_H *=/s/@[^@\n]*@// 437/^NEXT_AS_FIRST_DIRECTIVE_STDARG_H *=/s/@[^@\n]*@//
407/^NEXT_AS_FIRST_DIRECTIVE_STDDEF_H *=/s/@[^@\n]*@// 438/^NEXT_AS_FIRST_DIRECTIVE_STDDEF_H *=/s/@[^@\n]*@//
408/^NEXT_AS_FIRST_DIRECTIVE_STDINT_H *=/s/@[^@\n]*@/<stdint.h>/ 439/^NEXT_AS_FIRST_DIRECTIVE_STDINT_H *=/s/@[^@\n]*@/<stdint.h>/
@@ -413,6 +444,7 @@ am__cd = cd
413/^NEXT_AS_FIRST_DIRECTIVE_UNISTD_H *=/s/@[^@\n]*@/<unistd.h>/ 444/^NEXT_AS_FIRST_DIRECTIVE_UNISTD_H *=/s/@[^@\n]*@/<unistd.h>/
414/^NEXT_GETOPT_H *=/s/@[^@\n]*@/<getopt.h>/ 445/^NEXT_GETOPT_H *=/s/@[^@\n]*@/<getopt.h>/
415/^NEXT_STDARG_H *=/s/@[^@\n]*@// 446/^NEXT_STDARG_H *=/s/@[^@\n]*@//
447/^NEXT_SIGNAL_H *=/s/@[^@\n]*@/<signal.h>/
416/^NEXT_STDDEF_H *=/s/@[^@\n]*@// 448/^NEXT_STDDEF_H *=/s/@[^@\n]*@//
417/^NEXT_STDIO_H *=/s/@[^@\n]*@/<stdio.h>/ 449/^NEXT_STDIO_H *=/s/@[^@\n]*@/<stdio.h>/
418/^NEXT_STDINT_H *=/s/@[^@\n]*@/<stdint.h>/ 450/^NEXT_STDINT_H *=/s/@[^@\n]*@/<stdint.h>/
@@ -435,6 +467,7 @@ am__cd = cd
435/^REPLACE_DUP2 *=/s/@REPLACE_DUP2@/0/ 467/^REPLACE_DUP2 *=/s/@REPLACE_DUP2@/0/
436/^REPLACE_FCHOWNAT *=/s/@REPLACE_FCHOWNAT@/0/ 468/^REPLACE_FCHOWNAT *=/s/@REPLACE_FCHOWNAT@/0/
437/^REPLACE_FCLOSE *=/s/@REPLACE_FCLOSE@/0/ 469/^REPLACE_FCLOSE *=/s/@REPLACE_FCLOSE@/0/
470/^REPLACE_FDOPEN *=/s/@REPLACE_FDOPEN@/0/
438/^REPLACE_FFLUSH *=/s/@REPLACE_FFLUSH@/0/ 471/^REPLACE_FFLUSH *=/s/@REPLACE_FFLUSH@/0/
439/^REPLACE_FOPEN *=/s/@REPLACE_FOPEN@/0/ 472/^REPLACE_FOPEN *=/s/@REPLACE_FOPEN@/0/
440/^REPLACE_FPRINTF *=/s/@REPLACE_FPRINTF@/0/ 473/^REPLACE_FPRINTF *=/s/@REPLACE_FPRINTF@/0/
@@ -473,9 +506,11 @@ am__cd = cd
473/^REPLACE_POPEN *=/s/@REPLACE_POPEN@/0/ 506/^REPLACE_POPEN *=/s/@REPLACE_POPEN@/0/
474/^REPLACE_PREAD *=/s/@REPLACE_PREAD@/0/ 507/^REPLACE_PREAD *=/s/@REPLACE_PREAD@/0/
475/^REPLACE_PRINTF *=/s/@REPLACE_PRINTF@/0/ 508/^REPLACE_PRINTF *=/s/@REPLACE_PRINTF@/0/
509/^REPLACE_PTHREAD_SIGMASK *=/s/@REPLACE_PTHREAD_SIGMASK@/0/
476/^REPLACE_PUTENV *=/s/@REPLACE_PUTENV@/0/ 510/^REPLACE_PUTENV *=/s/@REPLACE_PUTENV@/0/
477/^REPLACE_PWRITE *=/s/@REPLACE_PWRITE@/0/ 511/^REPLACE_PWRITE *=/s/@REPLACE_PWRITE@/0/
478/^REPLACE_READ *=/s/@REPLACE_READ@/0/ 512/^REPLACE_READ *=/s/@REPLACE_READ@/0/
513/^REPLACE_RAISE *=/s/@REPLACE_RAISE@/0/
479/^REPLACE_READLINK *=/s/@REPLACE_READLINK@/0/ 514/^REPLACE_READLINK *=/s/@REPLACE_READLINK@/0/
480/^REPLACE_REALLOC *=/s/@REPLACE_REALLOC@/0/ 515/^REPLACE_REALLOC *=/s/@REPLACE_REALLOC@/0/
481/^REPLACE_REALPATH *=/s/@REPLACE_REALPATH@/0/ 516/^REPLACE_REALPATH *=/s/@REPLACE_REALPATH@/0/
@@ -510,6 +545,7 @@ am__cd = cd
510/^REPLACE_WRITE *=/s/@REPLACE_WRITE@/0/ 545/^REPLACE_WRITE *=/s/@REPLACE_WRITE@/0/
511/^SIG_ATOMIC_T_SUFFIX *=/s/@SIG_ATOMIC_T_SUFFIX@// 546/^SIG_ATOMIC_T_SUFFIX *=/s/@SIG_ATOMIC_T_SUFFIX@//
512/^SIZE_T_SUFFIX *=/s/@SIZE_T_SUFFIX@/u/ 547/^SIZE_T_SUFFIX *=/s/@SIZE_T_SUFFIX@/u/
548/^ALLOCA_H *=/s/@[^@\n]*@/alloca.h/
513/^STDBOOL_H *=/s/@[^@\n]*@// 549/^STDBOOL_H *=/s/@[^@\n]*@//
514/^STDARG_H *=/s/@[^@\n]*@// 550/^STDARG_H *=/s/@[^@\n]*@//
515/^STDDEF_H *=/s/@[^@\n]*@// 551/^STDDEF_H *=/s/@[^@\n]*@//
@@ -522,7 +558,7 @@ am__cd = cd
522/^WINT_T_SUFFIX *=/s/@WINT_T_SUFFIX@// 558/^WINT_T_SUFFIX *=/s/@WINT_T_SUFFIX@//
523/am__append_1 *=.*gettext\.h/s/@[^@\n]*@/\#/ 559/am__append_1 *=.*gettext\.h/s/@[^@\n]*@/\#/
524/am__append_2 *=.*verify\.h/s/@[^@\n]*@// 560/am__append_2 *=.*verify\.h/s/@[^@\n]*@//
525/^gl_LIBOBJS *=/s/@[^@\n]*@/getopt.o getopt1.o strftime.o time_r.o getloadavg.o md5.o filemode.o sha1.o/ 561/^gl_LIBOBJS *=/s/@[^@\n]*@/getopt.o getopt1.o strftime.o time_r.o getloadavg.o pthread_sigmask.o/
526/^BUILT_SOURCES *=/s/ *inttypes\.h// 562/^BUILT_SOURCES *=/s/ *inttypes\.h//
527/^am_libgnu_a_OBJECTS *=/s/careadlinkat\.\$(OBJEXT)// 563/^am_libgnu_a_OBJECTS *=/s/careadlinkat\.\$(OBJEXT)//
528/^am_libgnu_a_OBJECTS *=/s/allocator\.\$(OBJEXT)// 564/^am_libgnu_a_OBJECTS *=/s/allocator\.\$(OBJEXT)//
@@ -560,6 +596,8 @@ s/^ -*test -z.*|| rm/ -rm/
560s/@echo /@djecho/ 596s/@echo /@djecho/
561# 597#
562# Fix the recipes for header files 598# Fix the recipes for header files
599s/^@GL_GENERATE_ALLOCA_H_TRUE@//
600s/^@GL_GENERATE_ALLOCA_H_FALSE@/\#/
563s/^@GL_GENERATE_STDBOOL_H_TRUE@/\#/ 601s/^@GL_GENERATE_STDBOOL_H_TRUE@/\#/
564s/^@GL_GENERATE_STDBOOL_H_FALSE@// 602s/^@GL_GENERATE_STDBOOL_H_FALSE@//
565s/^@GL_GENERATE_STDARG_H_TRUE@/\#/ 603s/^@GL_GENERATE_STDARG_H_TRUE@/\#/
@@ -574,6 +612,9 @@ arg-nonnull.h: $(top_srcdir)/build-aux/snippet/arg-nonnull.h\
574/^cxxdefs\.h:/,/^[ ][ ]*mv /c\ 612/^cxxdefs\.h:/,/^[ ][ ]*mv /c\
575cxxdefs.h: $(top_srcdir)/build-aux/snippet/cxxdefs.h\ 613cxxdefs.h: $(top_srcdir)/build-aux/snippet/cxxdefs.h\
576 sed -n -e '/_GL_CXXDEFS/,$$p' < $(top_srcdir)/build-aux/snippet/cxxdefs.h > $@ 614 sed -n -e '/_GL_CXXDEFS/,$$p' < $(top_srcdir)/build-aux/snippet/cxxdefs.h > $@
615/^warn-on-use\.h:/,/^[ ][ ]*mv /c\
616warn-on-use.h: $(top_srcdir)/build-aux/snippet/warn-on-use.h\
617 sed -n -e '/^.ifndef/,$$p' < $(top_srcdir)/build-aux/snippet/warn-on-use.h > $@
577s/^ [ ]*{ echo \(.*\); \\/ djecho \1 > $@-t/ 618s/^ [ ]*{ echo \(.*\); \\/ djecho \1 > $@-t/
578s/^ [ ]*{ echo \(.*\) && \\/ djecho \1 > $@-t/ 619s/^ [ ]*{ echo \(.*\) && \\/ djecho \1 > $@-t/
579s/ \&\& \\ *$// 620s/ \&\& \\ *$//
diff --git a/src/ChangeLog b/src/ChangeLog
index f26754d1135..dcbeffac1b4 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12011-09-29 Eli Zaretskii <eliz@gnu.org>
2
3 * sysdep.c (snprintf) [EOVERFLOW]: If EOVERFLOW is not defined,
4 use EDOM.
5
12011-09-28 Eli Zaretskii <eliz@gnu.org> 62011-09-28 Eli Zaretskii <eliz@gnu.org>
2 7
3 * xdisp.c (compute_display_string_end): If there's no display 8 * xdisp.c (compute_display_string_end): If there's no display
diff --git a/src/sysdep.c b/src/sysdep.c
index f97a8585253..b0d5a1abbe3 100644
--- a/src/sysdep.c
+++ b/src/sysdep.c
@@ -1844,7 +1844,11 @@ snprintf (char *buf, size_t bufsize, char const *format, ...)
1844 1844
1845 if (INT_MAX < nbytes) 1845 if (INT_MAX < nbytes)
1846 { 1846 {
1847#ifdef EOVERFLOW
1847 errno = EOVERFLOW; 1848 errno = EOVERFLOW;
1849#else
1850 errno = EDOM;
1851#endif
1848 return -1; 1852 return -1;
1849 } 1853 }
1850 return nbytes; 1854 return nbytes;