2011-02-19 16:05:27 +00:00
|
|
|
# -sedlibmk.inp-----------------------------------------------------------
|
|
|
|
# Configuration script for lib/Makefile under DJGPP v2.x
|
|
|
|
# ----------------------------------------------------------------------
|
|
|
|
#
|
2012-04-11 01:25:51 +00:00
|
|
|
# Copyright (C) 2011-2012 Free Software Foundation, Inc.
|
2011-02-19 16:05:27 +00:00
|
|
|
#
|
|
|
|
# This file is part of GNU Emacs.
|
|
|
|
#
|
|
|
|
# This file is free software; as a special exception, the author gives
|
|
|
|
# unlimited permission to copy and/or distribute it, with or without
|
|
|
|
# modifications, as long as this notice is preserved.
|
|
|
|
#
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
#
|
|
|
|
# ----------------------------------------------------------------------
|
|
|
|
#
|
2011-03-25 12:10:45 +00:00
|
|
|
# Checklist to add a new gnulib module:
|
|
|
|
#
|
|
|
|
# . If the module includes source files that need to be compiled, add
|
|
|
|
# the corresponding .o file names to the list that gets assigned to
|
|
|
|
# the gl_LIBOBJS variable.
|
|
|
|
#
|
|
|
|
# . If the module defines functions that need to replace DJGPP
|
|
|
|
# functions, edit the appropriate REPLACE_foo variables to 1;
|
|
|
|
# otherwise edit them to zero:
|
|
|
|
#
|
|
|
|
# /^REPLACE_CALLOC *=/s/@REPLACE_CALLOC@/0/
|
2012-04-14 05:04:54 +00:00
|
|
|
#
|
2011-03-25 12:52:03 +00:00
|
|
|
# . If the module is a header or adds headers, edit the corresponding
|
|
|
|
# variable to either an empty value or to the name of the header.
|
|
|
|
# Examples:
|
2011-03-25 12:10:45 +00:00
|
|
|
#
|
|
|
|
# /^STDINT_H *=/s/@[^@\n]*@/stdint.h/ -- stdint.h is needed
|
|
|
|
# /^STDDEF_H *=/s/@[^@\n]*@// -- stddef.h is not needed
|
|
|
|
#
|
2011-04-06 17:49:21 +00:00
|
|
|
# . Some of the headers are generated conditionally, and the
|
2011-04-24 12:48:30 +00:00
|
|
|
# corresponding recipes are guarded by @GL_GENERATE_xxxx_H_TRUE@
|
2011-04-06 17:49:21 +00:00
|
|
|
# and @GL_GENERATE_xxxx_H_FALSE@. Depending on whether DJGPP uses
|
|
|
|
# the corresponding header, these should be edited either to
|
|
|
|
# nothing (thus exposing the recipe) or to #, which comments the
|
|
|
|
# recipe away. Example:
|
|
|
|
#
|
|
|
|
# s/^@GL_GENERATE_STDBOOL_H_TRUE@/\#/
|
|
|
|
# s/^@GL_GENERATE_STDBOOL_H_FALSE@//
|
|
|
|
#
|
2011-03-25 12:10:45 +00:00
|
|
|
# . Also edit the NEXT_foo and NEXT_AS_FIRST_DIRECTIVE_foo_H variable
|
2011-03-25 12:52:03 +00:00
|
|
|
# as appropriately: to an empty value if the gnulib header is not
|
|
|
|
# used, and to the corresponding DJGPP header name otherwise.
|
|
|
|
# Examples:
|
2011-03-25 12:10:45 +00:00
|
|
|
#
|
|
|
|
# /^NEXT_STDDEF_H *=/s/@[^@\n]*@//
|
|
|
|
# /^NEXT_STDINT_H *=/s/@[^@\n]*@/<stdint.h>/
|
|
|
|
# /^NEXT_AS_FIRST_DIRECTIVE_GETOPT_H *=/s/@[^@\n]*@/<getopt.h>/
|
|
|
|
# /^NEXT_AS_FIRST_DIRECTIVE_STDDEF_H *=/s/@[^@\n]*@//
|
|
|
|
#
|
2011-03-25 12:52:03 +00:00
|
|
|
# . Note that some gnulib headers cannot be left unused: those for
|
|
|
|
# which there's no corresponding foo_H variable in
|
|
|
|
# autogen/Makefile.in (example: stdio.h). For these the "not
|
|
|
|
# needed" path is not applicable.
|
|
|
|
#
|
2011-03-25 12:10:45 +00:00
|
|
|
# . If the header is needed, edit all the variables it uses as
|
|
|
|
# appropriate. In general, if DJGPP has the corresponding feature,
|
|
|
|
# the value of the corresponding HAVE_foo should be set to what
|
|
|
|
# DJGPP has, and the corresponding GNULIB_foo variable should be
|
|
|
|
# edited to zero. If the feature is not available, the HAVE_foo
|
|
|
|
# variable should be edited to zero and the corresponding
|
|
|
|
# GNULIB_foo variable should be edited to 1 if the gnulib
|
|
|
|
# replacement can work for DJGPP (a rare phenomenon), zero
|
|
|
|
# otherwise.
|
|
|
|
#
|
|
|
|
# . Some gnulib header files have more complex recipes in
|
|
|
|
# autogen/Makefile.in than others. The tell-tale sign of such a
|
|
|
|
# recipe is that the input redirection from the .in.h file is not
|
|
|
|
# present at the end of the command, like this:
|
|
|
|
#
|
|
|
|
# -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
|
|
|
|
# } > $@-t && \
|
|
|
|
# mv $@-t $@
|
|
|
|
#
|
|
|
|
# as opposed to this:
|
|
|
|
#
|
|
|
|
# -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
|
|
|
|
# < $(srcdir)/sys_stat.in.h; \
|
|
|
|
# } > $@-t && \
|
|
|
|
# mv $@-t $@
|
|
|
|
#
|
|
|
|
# For those recipes that do _not_ have redirection at the end of
|
|
|
|
# the command, add a block of Sed commands like this:
|
|
|
|
#
|
|
|
|
# /^stdio\.h:/,/^ [ ]*mv /{
|
|
|
|
# s/'\; \\ *$/' >> $@-t/
|
|
|
|
# }
|
|
|
|
#
|
Fix the MSDOS build following gnulib update.
config.bat (lib): Create/update lib/stdalign.in-h and
lib/sys_types.in-h.
msods/sedlibmk.inp (GNULIB_GL_UNISTD_H_GETOPT, GNULIB_POSIX_OPENPT)
(GNULIB_ISATTY, GNULIB_PTSNAME_R, GNULIB_RANDOM)
(GNULIB_SETHOSTNAME, HAVE_POSIX_OPENPT, HAVE_PTSNAME_R)
(HAVE_RANDOM, HAVE_SETHOSTNAME, NEXT_SYS_TYPES_H)
(NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H, REPLACE_FTRUNCATE)
(REPLACE_ISATTY, REPLACE_PTSNAME_R, REPLACE_RANDOM_R)
(REPLACE_STRTOIMAX, STDALIGN_H, WINDOWS_64_BIT_OFF_T)
(WINDOWS_64_BIT_ST_SIZE, GL_GENERATE_STDALIGN_H_TRUE)
(GL_GENERATE_STDALIGN_H_FALSE): Edit as appropriate for DJGPP.
(cat FOO): Edit into "sed -e '' FOO >>".
2012-05-27 13:42:13 +00:00
|
|
|
# . If the recipe for generating a header file uses 'cat', replace it with
|
|
|
|
#
|
|
|
|
# sed -e ''
|
|
|
|
#
|
|
|
|
# (if needed; there's already an edit command that should take care of
|
|
|
|
# this).
|
|
|
|
#
|
2011-03-25 12:52:03 +00:00
|
|
|
# The following Awk script is useful for editing portions of
|
|
|
|
# autogen/Makefile.in into Sed commands that define the corresponding
|
|
|
|
# variables to zero (which is what is required in the absolute
|
|
|
|
# majority of cases):
|
|
|
|
#
|
|
|
|
# { printf "/^%s *=/s/%s/0/\n",$1,$3}
|
|
|
|
#
|
2011-03-25 12:10:45 +00:00
|
|
|
# ----------------------------------------------------------------------
|
2011-02-19 16:05:27 +00:00
|
|
|
# Replace @..@ constants.
|
|
|
|
/^\# @configure_input@/s!@configure_input@!lib/Makefile. Generated from Makefile.in by config.bat!
|
|
|
|
/^@SET_MAKE@$/s/@SET_MAKE@//
|
|
|
|
/^VPATH *=/s/@[^@\n]*@/./
|
|
|
|
s/@PACKAGE@/emacs/
|
|
|
|
/^am__cd *=/c\
|
|
|
|
am__cd = cd
|
|
|
|
/^ALLOCA *=/s/@[^@\n]*@//
|
|
|
|
/^ALSA_CFLAGS *=/s/@[^@\n]*@//
|
|
|
|
/^ALSA_LIBS *=/s/@[^@\n]*@//
|
Fix the MSDOS build.
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.
2011-09-29 12:00:18 +00:00
|
|
|
/^AR *=/s/@[^@\n]*@/ar/
|
|
|
|
/^ARFLAGS *=/s/@[^@\n]*@/cru/
|
2011-02-19 16:05:27 +00:00
|
|
|
/^AWK *=/s/@[^@\n]*@/gawk/
|
|
|
|
/^CANNOT_DUMP *=/s/@[^@\n]*@/no/
|
|
|
|
/^CC *=/s/@[^@\n]*@/gcc/
|
|
|
|
/^CPP *=/s/@[^@\n]*@/gcc -e/
|
|
|
|
/^CPPFLAGS *=/s/@[^@\n]*@//
|
|
|
|
/^CCDEPMODE *=/s/@[^@\n]*@/depmode=gcc3/
|
|
|
|
/^CFLAGS *=/s/@[^@\n]*@/-g -O2/
|
|
|
|
/^CYGPATH_W *=/s/@[^@\n]*@//
|
|
|
|
/^CYGWIN_OBJ *=/s/@[^@\n]*@//
|
|
|
|
/^C_SWITCH_MACHINE *=/s/@C_SWITCH_MACHINE@//
|
|
|
|
/^C_SWITCH_SYSTEM *=/s/@C_SWITCH_SYSTEM@//
|
2012-04-11 01:25:51 +00:00
|
|
|
/^GNUSTEP_CFLAGS *=/s/@GNUSTEP_CFLAGS@//
|
2011-02-19 16:05:27 +00:00
|
|
|
/^C_SWITCH_X_SITE *=/s/@C_SWITCH_X_SITE@//
|
2012-04-14 05:04:54 +00:00
|
|
|
/^GNULIB_WARN_CFLAGS *=/s/@GNULIB_WARN_CFLAGS@//
|
|
|
|
/^WARN_CFLAGS *=/s/@WARN_CFLAGS@//
|
|
|
|
/^WERROR_CFLAGS *=/s/@WERROR_CFLAGS@//
|
2012-06-26 01:05:39 +00:00
|
|
|
/^DEFS *=/s/@[^@\n]*@//
|
2011-02-19 16:05:27 +00:00
|
|
|
/^DEPDIR *=/s/@[^@\n]*@/deps/
|
|
|
|
/^DEPFLAGS *=/s/@[^@\n]*@/-MMD -MF ${DEPDIR}\/$*.d/
|
|
|
|
/^ECHO_N *=/s/@[^@\n]*@/-n/
|
|
|
|
/^EXEEXT *=/s/@[^@\n]*@/.exe/
|
|
|
|
/^GETOPT_H *=/s/@[^@\n]*@/getopt.h/
|
Fix Sed scripts and srs/s/msdos.h for gnulib additions. Not tested yet.
src/s/msdos.h (HAVE_LSTAT): Define for DJGPP >= 2.04.
(lstat): Define for DJGPP < 2.04.
msdos/sedlibmk.inp (BITSIZEOF_PTRDIFF_T, BITSIZEOF_SIG_ATOMIC_T)
(BITSIZEOF_SIZE_T, BITSIZEOF_WCHAR_T)
(BITSIZEOF_WINT_TGNULIB_FCHMODAT, GNULIB_FSTATAT, GNULIB_FUTIMENS)
(GNULIB_LCHMOD, GNULIB_LSTAT, GNULIB_MBTOWC, GNULIB_MKDIRAT)
(GNULIB_MKFIFO, GNULIB_MKFIFOAT, GNULIB_MKNOD, GNULIB_MKNODAT)
(GNULIB_STAT, GNULIB_UTIMENSAT, GNULIB_WCTOMB, HAVE_FCHMODAT)
(HAVE_FSTATAT, HAVE_FUTIMENS, HAVE_INTTYPES_H, HAVE_LCHMOD)
(HAVE_LONG_LONG_INT, HAVE_LSTAT, HAVE_MKDIRAT, HAVE_MKFIFO)
(HAVE_MKFIFOAT, HAVE_MKNOD, HAVE_MKNODAT)
(HAVE_SIGNED_SIG_ATOMIC_T, HAVE_SIGNED_WCHAR_T)
(HAVE_SIGNED_WINT_T, HAVE_STDINT_H, HAVE_SYS_BITYPES_H)
(HAVE_SYS_INTTYPES_H, HAVE_SYS_TYPES_H)
(HAVE_UNSIGNED_LONG_LONG_INT, HAVE_UTIMENSAT, HAVE_WCHAR_H)
(MKDIR_P, NEXT_AS_FIRST_DIRECTIVE_STDINT_H)
(NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H, NEXT_STDINT_H)
(NEXT_SYS_STAT_H, REPLACE_LSTAT, REPLACE_MBTOWC, REPLACE_MKDIR)
(REPLACE_MKFIFO, REPLACE_MKNOD, REPLACE_STAT, REPLACE_UTIMENSAT)
(REPLACE_WCTOMB, SIG_ATOMIC_T_SUFFIX, SIZE_T_SUFFIX, STDINT_H)
(WCHAR_T_SUFFIX, WINT_T_SUFFIX): New edits.
($(MKDIR_P)): Replace with equivalent DOS command.
msdos/sed2v2.inp (BITSIZEOF_PTRDIFF_T, BITSIZEOF_SIG_ATOMIC_T)
(BITSIZEOF_SIZE_T, BITSIZEOF_WCHAR_T, BITSIZEOF_WINT_T)
(HAVE_LONG_LONG_INT, HAVE_SIGNED_SIG_ATOMIC_T, HAVE_SIGNED_WINT_T)
(HAVE_UNSIGNED_LONG_LONG_INT, HAVE_WCHAR_H, HAVE_INTTYPES_H): New
edits.
2011-02-26 12:55:10 +00:00
|
|
|
#
|
|
|
|
# Gnulib stuff
|
|
|
|
/^BITSIZEOF_PTRDIFF_T *=/s/@BITSIZEOF_PTRDIFF_T@/32/
|
|
|
|
/^BITSIZEOF_SIG_ATOMIC_T *=/s/@BITSIZEOF_SIG_ATOMIC_T@/32/
|
|
|
|
/^BITSIZEOF_SIZE_T *=/s/@BITSIZEOF_SIZE_T@/32/
|
|
|
|
/^BITSIZEOF_WCHAR_T *=/s/@BITSIZEOF_WCHAR_T@/16/
|
|
|
|
/^BITSIZEOF_WINT_T *=/s/@BITSIZEOF_WINT_T@/32/
|
2011-02-26 13:38:25 +00:00
|
|
|
/^APPLE_UNIVERSAL_BUILD *=/s/@APPLE_UNIVERSAL_BUILD@/0/
|
2011-02-19 16:05:27 +00:00
|
|
|
#
|
|
|
|
# Some GNULIB_* are replaced with zero even though DJGPP does not have
|
|
|
|
# these features. That's because the gnulib replacements cannot
|
|
|
|
# possibly work for DJGPP, so we prefer to fail the link than have a
|
|
|
|
# subtly botched executable.
|
|
|
|
/^GNULIB_ATOLL *=/s/@GNULIB_ATOLL@/1/
|
|
|
|
/^GNULIB_CALLOC_POSIX *=/s/@GNULIB_CALLOC_POSIX@/0/
|
|
|
|
/^GNULIB_CANONICALIZE_FILE_NAME *=/s/@GNULIB_CANONICALIZE_FILE_NAME@/0/
|
Fix the MSDOS build.
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.
2011-09-29 12:00:18 +00:00
|
|
|
/^GNULIB_CHDIR *=/s/@GNULIB_CHDIR@/0/
|
2011-02-19 16:05:27 +00:00
|
|
|
/^GNULIB_CHOWN *=/s/@GNULIB_CHOWN@/0/
|
|
|
|
/^GNULIB_CLOSE *=/s/@GNULIB_CLOSE@/0/
|
2011-03-25 12:10:45 +00:00
|
|
|
/^GNULIB_DPRINTF *=/s/@GNULIB_DPRINTF@/0/
|
Fix the MSDOS build.
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.
2011-09-29 12:00:18 +00:00
|
|
|
/^GNULIB_DUP *=/s/@GNULIB_DUP@/0/
|
2011-02-19 16:05:27 +00:00
|
|
|
/^GNULIB_DUP2 *=/s/@GNULIB_DUP2@/0/
|
|
|
|
/^GNULIB_DUP3 *=/s/@GNULIB_DUP3@/1/
|
|
|
|
/^GNULIB_ENVIRON *=/s/@GNULIB_ENVIRON@/0/
|
|
|
|
/^GNULIB_EUIDACCESS *=/s/@GNULIB_EUIDACCESS@/0/
|
|
|
|
/^GNULIB_FACCESSAT *=/s/@GNULIB_FACCESSAT@/0/
|
|
|
|
/^GNULIB_FCHDIR *=/s/@GNULIB_FCHDIR@/0/
|
|
|
|
/^GNULIB_FCHOWNAT *=/s/@GNULIB_FCHOWNAT@/0/
|
Fix Sed scripts and srs/s/msdos.h for gnulib additions. Not tested yet.
src/s/msdos.h (HAVE_LSTAT): Define for DJGPP >= 2.04.
(lstat): Define for DJGPP < 2.04.
msdos/sedlibmk.inp (BITSIZEOF_PTRDIFF_T, BITSIZEOF_SIG_ATOMIC_T)
(BITSIZEOF_SIZE_T, BITSIZEOF_WCHAR_T)
(BITSIZEOF_WINT_TGNULIB_FCHMODAT, GNULIB_FSTATAT, GNULIB_FUTIMENS)
(GNULIB_LCHMOD, GNULIB_LSTAT, GNULIB_MBTOWC, GNULIB_MKDIRAT)
(GNULIB_MKFIFO, GNULIB_MKFIFOAT, GNULIB_MKNOD, GNULIB_MKNODAT)
(GNULIB_STAT, GNULIB_UTIMENSAT, GNULIB_WCTOMB, HAVE_FCHMODAT)
(HAVE_FSTATAT, HAVE_FUTIMENS, HAVE_INTTYPES_H, HAVE_LCHMOD)
(HAVE_LONG_LONG_INT, HAVE_LSTAT, HAVE_MKDIRAT, HAVE_MKFIFO)
(HAVE_MKFIFOAT, HAVE_MKNOD, HAVE_MKNODAT)
(HAVE_SIGNED_SIG_ATOMIC_T, HAVE_SIGNED_WCHAR_T)
(HAVE_SIGNED_WINT_T, HAVE_STDINT_H, HAVE_SYS_BITYPES_H)
(HAVE_SYS_INTTYPES_H, HAVE_SYS_TYPES_H)
(HAVE_UNSIGNED_LONG_LONG_INT, HAVE_UTIMENSAT, HAVE_WCHAR_H)
(MKDIR_P, NEXT_AS_FIRST_DIRECTIVE_STDINT_H)
(NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H, NEXT_STDINT_H)
(NEXT_SYS_STAT_H, REPLACE_LSTAT, REPLACE_MBTOWC, REPLACE_MKDIR)
(REPLACE_MKFIFO, REPLACE_MKNOD, REPLACE_STAT, REPLACE_UTIMENSAT)
(REPLACE_WCTOMB, SIG_ATOMIC_T_SUFFIX, SIZE_T_SUFFIX, STDINT_H)
(WCHAR_T_SUFFIX, WINT_T_SUFFIX): New edits.
($(MKDIR_P)): Replace with equivalent DOS command.
msdos/sed2v2.inp (BITSIZEOF_PTRDIFF_T, BITSIZEOF_SIG_ATOMIC_T)
(BITSIZEOF_SIZE_T, BITSIZEOF_WCHAR_T, BITSIZEOF_WINT_T)
(HAVE_LONG_LONG_INT, HAVE_SIGNED_SIG_ATOMIC_T, HAVE_SIGNED_WINT_T)
(HAVE_UNSIGNED_LONG_LONG_INT, HAVE_WCHAR_H, HAVE_INTTYPES_H): New
edits.
2011-02-26 12:55:10 +00:00
|
|
|
/^GNULIB_FCHMODAT *=/s/@GNULIB_FCHMODAT@/0/
|
2011-03-25 12:10:45 +00:00
|
|
|
/^GNULIB_FCLOSE *=/s/@GNULIB_FCLOSE@/0/
|
Fix the MSDOS build.
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.
2011-09-29 12:00:18 +00:00
|
|
|
/^GNULIB_FDATASYNC *=/s/@GNULIB_FDATASYNC@/0/
|
|
|
|
/^GNULIB_FDOPEN *=/s/@GNULIB_FDOPEN@/0/
|
2011-03-25 12:10:45 +00:00
|
|
|
/^GNULIB_FFLUSH *=/s/@GNULIB_FFLUSH@/0/
|
2011-04-24 12:48:30 +00:00
|
|
|
/^GNULIB_FGETC *=/s/@GNULIB_FGETC@/0/
|
|
|
|
/^GNULIB_FGETS *=/s/@GNULIB_FGETS@/0/
|
2011-03-25 12:10:45 +00:00
|
|
|
/^GNULIB_FOPEN *=/s/@GNULIB_FOPEN@/0/
|
|
|
|
/^GNULIB_FPRINTF *=/s/@GNULIB_FPRINTF@/0/
|
|
|
|
/^GNULIB_FPRINTF_POSIX *=/s/@GNULIB_FPRINTF_POSIX@/0/
|
|
|
|
/^GNULIB_FPURGE *=/s/@GNULIB_FPURGE@/0/
|
|
|
|
/^GNULIB_FPUTC *=/s/@GNULIB_FPUTC@/0/
|
|
|
|
/^GNULIB_FPUTS *=/s/@GNULIB_FPUTS@/0/
|
2011-04-24 12:48:30 +00:00
|
|
|
/^GNULIB_FREAD *=/s/@GNULIB_FREAD@/0/
|
2011-03-25 12:10:45 +00:00
|
|
|
/^GNULIB_FREOPEN *=/s/@GNULIB_FREOPEN@/0/
|
2011-04-24 12:48:30 +00:00
|
|
|
/^GNULIB_FSCANF *=/s/@GNULIB_FSCANF@/0/
|
2011-03-25 12:10:45 +00:00
|
|
|
/^GNULIB_FSEEK *=/s/@GNULIB_FSEEK@/0/
|
|
|
|
/^GNULIB_FSEEKO *=/s/@GNULIB_FSEEKO@/0/
|
Fix the MSDOS build.
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.
2011-09-29 12:00:18 +00:00
|
|
|
/^GNULIB_FSTAT *=/s/@GNULIB_FSTAT@/0/
|
Fix Sed scripts and srs/s/msdos.h for gnulib additions. Not tested yet.
src/s/msdos.h (HAVE_LSTAT): Define for DJGPP >= 2.04.
(lstat): Define for DJGPP < 2.04.
msdos/sedlibmk.inp (BITSIZEOF_PTRDIFF_T, BITSIZEOF_SIG_ATOMIC_T)
(BITSIZEOF_SIZE_T, BITSIZEOF_WCHAR_T)
(BITSIZEOF_WINT_TGNULIB_FCHMODAT, GNULIB_FSTATAT, GNULIB_FUTIMENS)
(GNULIB_LCHMOD, GNULIB_LSTAT, GNULIB_MBTOWC, GNULIB_MKDIRAT)
(GNULIB_MKFIFO, GNULIB_MKFIFOAT, GNULIB_MKNOD, GNULIB_MKNODAT)
(GNULIB_STAT, GNULIB_UTIMENSAT, GNULIB_WCTOMB, HAVE_FCHMODAT)
(HAVE_FSTATAT, HAVE_FUTIMENS, HAVE_INTTYPES_H, HAVE_LCHMOD)
(HAVE_LONG_LONG_INT, HAVE_LSTAT, HAVE_MKDIRAT, HAVE_MKFIFO)
(HAVE_MKFIFOAT, HAVE_MKNOD, HAVE_MKNODAT)
(HAVE_SIGNED_SIG_ATOMIC_T, HAVE_SIGNED_WCHAR_T)
(HAVE_SIGNED_WINT_T, HAVE_STDINT_H, HAVE_SYS_BITYPES_H)
(HAVE_SYS_INTTYPES_H, HAVE_SYS_TYPES_H)
(HAVE_UNSIGNED_LONG_LONG_INT, HAVE_UTIMENSAT, HAVE_WCHAR_H)
(MKDIR_P, NEXT_AS_FIRST_DIRECTIVE_STDINT_H)
(NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H, NEXT_STDINT_H)
(NEXT_SYS_STAT_H, REPLACE_LSTAT, REPLACE_MBTOWC, REPLACE_MKDIR)
(REPLACE_MKFIFO, REPLACE_MKNOD, REPLACE_STAT, REPLACE_UTIMENSAT)
(REPLACE_WCTOMB, SIG_ATOMIC_T_SUFFIX, SIZE_T_SUFFIX, STDINT_H)
(WCHAR_T_SUFFIX, WINT_T_SUFFIX): New edits.
($(MKDIR_P)): Replace with equivalent DOS command.
msdos/sed2v2.inp (BITSIZEOF_PTRDIFF_T, BITSIZEOF_SIG_ATOMIC_T)
(BITSIZEOF_SIZE_T, BITSIZEOF_WCHAR_T, BITSIZEOF_WINT_T)
(HAVE_LONG_LONG_INT, HAVE_SIGNED_SIG_ATOMIC_T, HAVE_SIGNED_WINT_T)
(HAVE_UNSIGNED_LONG_LONG_INT, HAVE_WCHAR_H, HAVE_INTTYPES_H): New
edits.
2011-02-26 12:55:10 +00:00
|
|
|
/^GNULIB_FSTATAT *=/s/@GNULIB_FSTATAT@/0/
|
2011-02-19 16:05:27 +00:00
|
|
|
/^GNULIB_FSYNC *=/s/@GNULIB_FSYNC@/0/
|
2011-03-25 12:10:45 +00:00
|
|
|
/^GNULIB_FTELL *=/s/@GNULIB_FTELL@/0/
|
|
|
|
/^GNULIB_FTELLO *=/s/@GNULIB_FTELLO@/0/
|
2011-02-19 16:05:27 +00:00
|
|
|
/^GNULIB_FTRUNCATE *=/s/@GNULIB_FTRUNCATE@/0/
|
Fix Sed scripts and srs/s/msdos.h for gnulib additions. Not tested yet.
src/s/msdos.h (HAVE_LSTAT): Define for DJGPP >= 2.04.
(lstat): Define for DJGPP < 2.04.
msdos/sedlibmk.inp (BITSIZEOF_PTRDIFF_T, BITSIZEOF_SIG_ATOMIC_T)
(BITSIZEOF_SIZE_T, BITSIZEOF_WCHAR_T)
(BITSIZEOF_WINT_TGNULIB_FCHMODAT, GNULIB_FSTATAT, GNULIB_FUTIMENS)
(GNULIB_LCHMOD, GNULIB_LSTAT, GNULIB_MBTOWC, GNULIB_MKDIRAT)
(GNULIB_MKFIFO, GNULIB_MKFIFOAT, GNULIB_MKNOD, GNULIB_MKNODAT)
(GNULIB_STAT, GNULIB_UTIMENSAT, GNULIB_WCTOMB, HAVE_FCHMODAT)
(HAVE_FSTATAT, HAVE_FUTIMENS, HAVE_INTTYPES_H, HAVE_LCHMOD)
(HAVE_LONG_LONG_INT, HAVE_LSTAT, HAVE_MKDIRAT, HAVE_MKFIFO)
(HAVE_MKFIFOAT, HAVE_MKNOD, HAVE_MKNODAT)
(HAVE_SIGNED_SIG_ATOMIC_T, HAVE_SIGNED_WCHAR_T)
(HAVE_SIGNED_WINT_T, HAVE_STDINT_H, HAVE_SYS_BITYPES_H)
(HAVE_SYS_INTTYPES_H, HAVE_SYS_TYPES_H)
(HAVE_UNSIGNED_LONG_LONG_INT, HAVE_UTIMENSAT, HAVE_WCHAR_H)
(MKDIR_P, NEXT_AS_FIRST_DIRECTIVE_STDINT_H)
(NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H, NEXT_STDINT_H)
(NEXT_SYS_STAT_H, REPLACE_LSTAT, REPLACE_MBTOWC, REPLACE_MKDIR)
(REPLACE_MKFIFO, REPLACE_MKNOD, REPLACE_STAT, REPLACE_UTIMENSAT)
(REPLACE_WCTOMB, SIG_ATOMIC_T_SUFFIX, SIZE_T_SUFFIX, STDINT_H)
(WCHAR_T_SUFFIX, WINT_T_SUFFIX): New edits.
($(MKDIR_P)): Replace with equivalent DOS command.
msdos/sed2v2.inp (BITSIZEOF_PTRDIFF_T, BITSIZEOF_SIG_ATOMIC_T)
(BITSIZEOF_SIZE_T, BITSIZEOF_WCHAR_T, BITSIZEOF_WINT_T)
(HAVE_LONG_LONG_INT, HAVE_SIGNED_SIG_ATOMIC_T, HAVE_SIGNED_WINT_T)
(HAVE_UNSIGNED_LONG_LONG_INT, HAVE_WCHAR_H, HAVE_INTTYPES_H): New
edits.
2011-02-26 12:55:10 +00:00
|
|
|
/^GNULIB_FUTIMENS *=/s/@GNULIB_FUTIMENS@/0/
|
2011-03-25 12:10:45 +00:00
|
|
|
/^GNULIB_FWRITE *=/s/@GNULIB_FWRITE@/0/
|
2011-04-24 12:48:30 +00:00
|
|
|
/^GNULIB_GETC *=/s/@GNULIB_GETC@/0/
|
|
|
|
/^GNULIB_GETCHAR *=/s/@GNULIB_GETCHAR@/0/
|
2011-02-19 16:05:27 +00:00
|
|
|
/^GNULIB_GETCWD *=/s/@GNULIB_GETCWD@/0/
|
2011-03-25 12:10:45 +00:00
|
|
|
/^GNULIB_GETDELIM *=/s/@GNULIB_GETDELIM@/0/
|
2011-02-19 16:05:27 +00:00
|
|
|
/^GNULIB_GETDOMAINNAME *=/s/@GNULIB_GETDOMAINNAME@/0/
|
|
|
|
/^GNULIB_GETDTABLESIZE *=/s/@GNULIB_GETDTABLESIZE@/0/
|
|
|
|
/^GNULIB_GETGROUPS *=/s/@GNULIB_GETGROUPS@/0/
|
|
|
|
/^GNULIB_GETHOSTNAME *=/s/@GNULIB_GETHOSTNAME@/0/
|
2011-03-25 12:10:45 +00:00
|
|
|
/^GNULIB_GETLINE *=/s/@GNULIB_GETLINE@/0/
|
2011-02-19 16:05:27 +00:00
|
|
|
/^GNULIB_GETLOADAVG *=/s/@GNULIB_GETLOADAVG@/1/
|
|
|
|
/^GNULIB_GETLOGIN *=/s/@GNULIB_GETLOGIN@/0/
|
|
|
|
/^GNULIB_GETLOGIN_R *=/s/@GNULIB_GETLOGIN_R@/0/
|
|
|
|
/^GNULIB_GETPAGESIZE *=/s/@GNULIB_GETPAGESIZE@/0/
|
Fix the MSDOS build following gnulib update.
config.bat (lib): Create/update lib/stdalign.in-h and
lib/sys_types.in-h.
msods/sedlibmk.inp (GNULIB_GL_UNISTD_H_GETOPT, GNULIB_POSIX_OPENPT)
(GNULIB_ISATTY, GNULIB_PTSNAME_R, GNULIB_RANDOM)
(GNULIB_SETHOSTNAME, HAVE_POSIX_OPENPT, HAVE_PTSNAME_R)
(HAVE_RANDOM, HAVE_SETHOSTNAME, NEXT_SYS_TYPES_H)
(NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H, REPLACE_FTRUNCATE)
(REPLACE_ISATTY, REPLACE_PTSNAME_R, REPLACE_RANDOM_R)
(REPLACE_STRTOIMAX, STDALIGN_H, WINDOWS_64_BIT_OFF_T)
(WINDOWS_64_BIT_ST_SIZE, GL_GENERATE_STDALIGN_H_TRUE)
(GL_GENERATE_STDALIGN_H_FALSE): Edit as appropriate for DJGPP.
(cat FOO): Edit into "sed -e '' FOO >>".
2012-05-27 13:42:13 +00:00
|
|
|
/^GNULIB_GL_UNISTD_H_GETOPT *=/s/@GNULIB_GL_UNISTD_H_GETOPT@/1/
|
2011-02-19 16:05:27 +00:00
|
|
|
/^GNULIB_GETSUBOPT *=/s/@GNULIB_GETSUBOPT@/0/
|
|
|
|
/^GNULIB_GETUSERSHELL *=/s/@GNULIB_GETUSERSHELL@/0/
|
|
|
|
/^GNULIB_GRANTPT *=/s/@GNULIB_GRANTPT@/0/
|
2011-05-20 09:47:59 +00:00
|
|
|
/^GNULIB_GROUP_MEMBER *=/s/@GNULIB_GROUP_MEMBER@/0/
|
Fix the MSDOS build following gnulib update.
config.bat (lib): Create/update lib/stdalign.in-h and
lib/sys_types.in-h.
msods/sedlibmk.inp (GNULIB_GL_UNISTD_H_GETOPT, GNULIB_POSIX_OPENPT)
(GNULIB_ISATTY, GNULIB_PTSNAME_R, GNULIB_RANDOM)
(GNULIB_SETHOSTNAME, HAVE_POSIX_OPENPT, HAVE_PTSNAME_R)
(HAVE_RANDOM, HAVE_SETHOSTNAME, NEXT_SYS_TYPES_H)
(NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H, REPLACE_FTRUNCATE)
(REPLACE_ISATTY, REPLACE_PTSNAME_R, REPLACE_RANDOM_R)
(REPLACE_STRTOIMAX, STDALIGN_H, WINDOWS_64_BIT_OFF_T)
(WINDOWS_64_BIT_ST_SIZE, GL_GENERATE_STDALIGN_H_TRUE)
(GL_GENERATE_STDALIGN_H_FALSE): Edit as appropriate for DJGPP.
(cat FOO): Edit into "sed -e '' FOO >>".
2012-05-27 13:42:13 +00:00
|
|
|
/^GNULIB_ISATTY *=/s/@GNULIB_ISATTY@/0/
|
Fix Sed scripts and srs/s/msdos.h for gnulib additions. Not tested yet.
src/s/msdos.h (HAVE_LSTAT): Define for DJGPP >= 2.04.
(lstat): Define for DJGPP < 2.04.
msdos/sedlibmk.inp (BITSIZEOF_PTRDIFF_T, BITSIZEOF_SIG_ATOMIC_T)
(BITSIZEOF_SIZE_T, BITSIZEOF_WCHAR_T)
(BITSIZEOF_WINT_TGNULIB_FCHMODAT, GNULIB_FSTATAT, GNULIB_FUTIMENS)
(GNULIB_LCHMOD, GNULIB_LSTAT, GNULIB_MBTOWC, GNULIB_MKDIRAT)
(GNULIB_MKFIFO, GNULIB_MKFIFOAT, GNULIB_MKNOD, GNULIB_MKNODAT)
(GNULIB_STAT, GNULIB_UTIMENSAT, GNULIB_WCTOMB, HAVE_FCHMODAT)
(HAVE_FSTATAT, HAVE_FUTIMENS, HAVE_INTTYPES_H, HAVE_LCHMOD)
(HAVE_LONG_LONG_INT, HAVE_LSTAT, HAVE_MKDIRAT, HAVE_MKFIFO)
(HAVE_MKFIFOAT, HAVE_MKNOD, HAVE_MKNODAT)
(HAVE_SIGNED_SIG_ATOMIC_T, HAVE_SIGNED_WCHAR_T)
(HAVE_SIGNED_WINT_T, HAVE_STDINT_H, HAVE_SYS_BITYPES_H)
(HAVE_SYS_INTTYPES_H, HAVE_SYS_TYPES_H)
(HAVE_UNSIGNED_LONG_LONG_INT, HAVE_UTIMENSAT, HAVE_WCHAR_H)
(MKDIR_P, NEXT_AS_FIRST_DIRECTIVE_STDINT_H)
(NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H, NEXT_STDINT_H)
(NEXT_SYS_STAT_H, REPLACE_LSTAT, REPLACE_MBTOWC, REPLACE_MKDIR)
(REPLACE_MKFIFO, REPLACE_MKNOD, REPLACE_STAT, REPLACE_UTIMENSAT)
(REPLACE_WCTOMB, SIG_ATOMIC_T_SUFFIX, SIZE_T_SUFFIX, STDINT_H)
(WCHAR_T_SUFFIX, WINT_T_SUFFIX): New edits.
($(MKDIR_P)): Replace with equivalent DOS command.
msdos/sed2v2.inp (BITSIZEOF_PTRDIFF_T, BITSIZEOF_SIG_ATOMIC_T)
(BITSIZEOF_SIZE_T, BITSIZEOF_WCHAR_T, BITSIZEOF_WINT_T)
(HAVE_LONG_LONG_INT, HAVE_SIGNED_SIG_ATOMIC_T, HAVE_SIGNED_WINT_T)
(HAVE_UNSIGNED_LONG_LONG_INT, HAVE_WCHAR_H, HAVE_INTTYPES_H): New
edits.
2011-02-26 12:55:10 +00:00
|
|
|
/^GNULIB_LCHMOD *=/s/@GNULIB_LCHMOD@/0/
|
2011-02-19 16:05:27 +00:00
|
|
|
/^GNULIB_LCHOWN *=/s/@GNULIB_LCHOWN@/0/
|
|
|
|
/^GNULIB_LINK *=/s/@GNULIB_LINK@/0/
|
|
|
|
/^GNULIB_LINKAT *=/s/@GNULIB_LINKAT@/0/
|
|
|
|
/^GNULIB_LSEEK *=/s/@GNULIB_LSEEK@/0/
|
Fix Sed scripts and srs/s/msdos.h for gnulib additions. Not tested yet.
src/s/msdos.h (HAVE_LSTAT): Define for DJGPP >= 2.04.
(lstat): Define for DJGPP < 2.04.
msdos/sedlibmk.inp (BITSIZEOF_PTRDIFF_T, BITSIZEOF_SIG_ATOMIC_T)
(BITSIZEOF_SIZE_T, BITSIZEOF_WCHAR_T)
(BITSIZEOF_WINT_TGNULIB_FCHMODAT, GNULIB_FSTATAT, GNULIB_FUTIMENS)
(GNULIB_LCHMOD, GNULIB_LSTAT, GNULIB_MBTOWC, GNULIB_MKDIRAT)
(GNULIB_MKFIFO, GNULIB_MKFIFOAT, GNULIB_MKNOD, GNULIB_MKNODAT)
(GNULIB_STAT, GNULIB_UTIMENSAT, GNULIB_WCTOMB, HAVE_FCHMODAT)
(HAVE_FSTATAT, HAVE_FUTIMENS, HAVE_INTTYPES_H, HAVE_LCHMOD)
(HAVE_LONG_LONG_INT, HAVE_LSTAT, HAVE_MKDIRAT, HAVE_MKFIFO)
(HAVE_MKFIFOAT, HAVE_MKNOD, HAVE_MKNODAT)
(HAVE_SIGNED_SIG_ATOMIC_T, HAVE_SIGNED_WCHAR_T)
(HAVE_SIGNED_WINT_T, HAVE_STDINT_H, HAVE_SYS_BITYPES_H)
(HAVE_SYS_INTTYPES_H, HAVE_SYS_TYPES_H)
(HAVE_UNSIGNED_LONG_LONG_INT, HAVE_UTIMENSAT, HAVE_WCHAR_H)
(MKDIR_P, NEXT_AS_FIRST_DIRECTIVE_STDINT_H)
(NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H, NEXT_STDINT_H)
(NEXT_SYS_STAT_H, REPLACE_LSTAT, REPLACE_MBTOWC, REPLACE_MKDIR)
(REPLACE_MKFIFO, REPLACE_MKNOD, REPLACE_STAT, REPLACE_UTIMENSAT)
(REPLACE_WCTOMB, SIG_ATOMIC_T_SUFFIX, SIZE_T_SUFFIX, STDINT_H)
(WCHAR_T_SUFFIX, WINT_T_SUFFIX): New edits.
($(MKDIR_P)): Replace with equivalent DOS command.
msdos/sed2v2.inp (BITSIZEOF_PTRDIFF_T, BITSIZEOF_SIG_ATOMIC_T)
(BITSIZEOF_SIZE_T, BITSIZEOF_WCHAR_T, BITSIZEOF_WINT_T)
(HAVE_LONG_LONG_INT, HAVE_SIGNED_SIG_ATOMIC_T, HAVE_SIGNED_WINT_T)
(HAVE_UNSIGNED_LONG_LONG_INT, HAVE_WCHAR_H, HAVE_INTTYPES_H): New
edits.
2011-02-26 12:55:10 +00:00
|
|
|
/^GNULIB_LSTAT *=/s/@GNULIB_LSTAT@/0/
|
2011-02-19 16:05:27 +00:00
|
|
|
/^GNULIB_MALLOC_POSIX *=/s/@GNULIB_MALLOC_POSIX@/0/
|
Fix Sed scripts and srs/s/msdos.h for gnulib additions. Not tested yet.
src/s/msdos.h (HAVE_LSTAT): Define for DJGPP >= 2.04.
(lstat): Define for DJGPP < 2.04.
msdos/sedlibmk.inp (BITSIZEOF_PTRDIFF_T, BITSIZEOF_SIG_ATOMIC_T)
(BITSIZEOF_SIZE_T, BITSIZEOF_WCHAR_T)
(BITSIZEOF_WINT_TGNULIB_FCHMODAT, GNULIB_FSTATAT, GNULIB_FUTIMENS)
(GNULIB_LCHMOD, GNULIB_LSTAT, GNULIB_MBTOWC, GNULIB_MKDIRAT)
(GNULIB_MKFIFO, GNULIB_MKFIFOAT, GNULIB_MKNOD, GNULIB_MKNODAT)
(GNULIB_STAT, GNULIB_UTIMENSAT, GNULIB_WCTOMB, HAVE_FCHMODAT)
(HAVE_FSTATAT, HAVE_FUTIMENS, HAVE_INTTYPES_H, HAVE_LCHMOD)
(HAVE_LONG_LONG_INT, HAVE_LSTAT, HAVE_MKDIRAT, HAVE_MKFIFO)
(HAVE_MKFIFOAT, HAVE_MKNOD, HAVE_MKNODAT)
(HAVE_SIGNED_SIG_ATOMIC_T, HAVE_SIGNED_WCHAR_T)
(HAVE_SIGNED_WINT_T, HAVE_STDINT_H, HAVE_SYS_BITYPES_H)
(HAVE_SYS_INTTYPES_H, HAVE_SYS_TYPES_H)
(HAVE_UNSIGNED_LONG_LONG_INT, HAVE_UTIMENSAT, HAVE_WCHAR_H)
(MKDIR_P, NEXT_AS_FIRST_DIRECTIVE_STDINT_H)
(NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H, NEXT_STDINT_H)
(NEXT_SYS_STAT_H, REPLACE_LSTAT, REPLACE_MBTOWC, REPLACE_MKDIR)
(REPLACE_MKFIFO, REPLACE_MKNOD, REPLACE_STAT, REPLACE_UTIMENSAT)
(REPLACE_WCTOMB, SIG_ATOMIC_T_SUFFIX, SIZE_T_SUFFIX, STDINT_H)
(WCHAR_T_SUFFIX, WINT_T_SUFFIX): New edits.
($(MKDIR_P)): Replace with equivalent DOS command.
msdos/sed2v2.inp (BITSIZEOF_PTRDIFF_T, BITSIZEOF_SIG_ATOMIC_T)
(BITSIZEOF_SIZE_T, BITSIZEOF_WCHAR_T, BITSIZEOF_WINT_T)
(HAVE_LONG_LONG_INT, HAVE_SIGNED_SIG_ATOMIC_T, HAVE_SIGNED_WINT_T)
(HAVE_UNSIGNED_LONG_LONG_INT, HAVE_WCHAR_H, HAVE_INTTYPES_H): New
edits.
2011-02-26 12:55:10 +00:00
|
|
|
/^GNULIB_MBTOWC *=/s/@GNULIB_MBTOWC@/0/
|
|
|
|
/^GNULIB_MKDIRAT *=/s/@GNULIB_MKDIRAT@/0/
|
2011-02-19 16:05:27 +00:00
|
|
|
/^GNULIB_MKDTEMP *=/s/@GNULIB_MKDTEMP@/0/
|
Fix Sed scripts and srs/s/msdos.h for gnulib additions. Not tested yet.
src/s/msdos.h (HAVE_LSTAT): Define for DJGPP >= 2.04.
(lstat): Define for DJGPP < 2.04.
msdos/sedlibmk.inp (BITSIZEOF_PTRDIFF_T, BITSIZEOF_SIG_ATOMIC_T)
(BITSIZEOF_SIZE_T, BITSIZEOF_WCHAR_T)
(BITSIZEOF_WINT_TGNULIB_FCHMODAT, GNULIB_FSTATAT, GNULIB_FUTIMENS)
(GNULIB_LCHMOD, GNULIB_LSTAT, GNULIB_MBTOWC, GNULIB_MKDIRAT)
(GNULIB_MKFIFO, GNULIB_MKFIFOAT, GNULIB_MKNOD, GNULIB_MKNODAT)
(GNULIB_STAT, GNULIB_UTIMENSAT, GNULIB_WCTOMB, HAVE_FCHMODAT)
(HAVE_FSTATAT, HAVE_FUTIMENS, HAVE_INTTYPES_H, HAVE_LCHMOD)
(HAVE_LONG_LONG_INT, HAVE_LSTAT, HAVE_MKDIRAT, HAVE_MKFIFO)
(HAVE_MKFIFOAT, HAVE_MKNOD, HAVE_MKNODAT)
(HAVE_SIGNED_SIG_ATOMIC_T, HAVE_SIGNED_WCHAR_T)
(HAVE_SIGNED_WINT_T, HAVE_STDINT_H, HAVE_SYS_BITYPES_H)
(HAVE_SYS_INTTYPES_H, HAVE_SYS_TYPES_H)
(HAVE_UNSIGNED_LONG_LONG_INT, HAVE_UTIMENSAT, HAVE_WCHAR_H)
(MKDIR_P, NEXT_AS_FIRST_DIRECTIVE_STDINT_H)
(NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H, NEXT_STDINT_H)
(NEXT_SYS_STAT_H, REPLACE_LSTAT, REPLACE_MBTOWC, REPLACE_MKDIR)
(REPLACE_MKFIFO, REPLACE_MKNOD, REPLACE_STAT, REPLACE_UTIMENSAT)
(REPLACE_WCTOMB, SIG_ATOMIC_T_SUFFIX, SIZE_T_SUFFIX, STDINT_H)
(WCHAR_T_SUFFIX, WINT_T_SUFFIX): New edits.
($(MKDIR_P)): Replace with equivalent DOS command.
msdos/sed2v2.inp (BITSIZEOF_PTRDIFF_T, BITSIZEOF_SIG_ATOMIC_T)
(BITSIZEOF_SIZE_T, BITSIZEOF_WCHAR_T, BITSIZEOF_WINT_T)
(HAVE_LONG_LONG_INT, HAVE_SIGNED_SIG_ATOMIC_T, HAVE_SIGNED_WINT_T)
(HAVE_UNSIGNED_LONG_LONG_INT, HAVE_WCHAR_H, HAVE_INTTYPES_H): New
edits.
2011-02-26 12:55:10 +00:00
|
|
|
/^GNULIB_MKFIFO *=/s/@GNULIB_MKFIFO@/0/
|
|
|
|
/^GNULIB_MKFIFOAT *=/s/@GNULIB_MKFIFOAT@/0/
|
|
|
|
/^GNULIB_MKNOD *=/s/@GNULIB_MKNOD@/0/
|
|
|
|
/^GNULIB_MKNODAT *=/s/@GNULIB_MKNODAT@/0/
|
2011-02-19 16:05:27 +00:00
|
|
|
/^GNULIB_MKOSTEMP *=/s/@GNULIB_MKOSTEMP@/0/
|
|
|
|
/^GNULIB_MKOSTEMPS *=/s/@GNULIB_MKOSTEMPS@/0/
|
|
|
|
/^GNULIB_MKSTEMP *=/s/@GNULIB_MKSTEMP@/0/
|
|
|
|
/^GNULIB_MKSTEMPS *=/s/@GNULIB_MKSTEMPS@/0/
|
|
|
|
/^GNULIB_MKTIME *=/s/@GNULIB_MKTIME@/0/
|
|
|
|
/^GNULIB_NANOSLEEP *=/s/@GNULIB_NANOSLEEP@/0/
|
2011-03-25 12:10:45 +00:00
|
|
|
/^GNULIB_OBSTACK_PRINTF *=/s/@GNULIB_OBSTACK_PRINTF@/0/
|
|
|
|
/^GNULIB_OBSTACK_PRINTF_POSIX *=/s/@GNULIB_OBSTACK_PRINTF_POSIX@/0/
|
Fix the MSDOS build.
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.
2011-09-29 12:00:18 +00:00
|
|
|
/^GNULIB_PCLOSE *=/s/@GNULIB_PCLOSE@/0/
|
2011-03-25 12:10:45 +00:00
|
|
|
/^GNULIB_PERROR *=/s/@GNULIB_PERROR@/0/
|
2011-02-19 16:05:27 +00:00
|
|
|
/^GNULIB_PIPE *=/s/@GNULIB_PIPE@/0/
|
|
|
|
/^GNULIB_PIPE2 *=/s/@GNULIB_PIPE2@/0/
|
2011-03-25 12:10:45 +00:00
|
|
|
/^GNULIB_POPEN *=/s/@GNULIB_POPEN@/0/
|
Fix the MSDOS build following gnulib update.
config.bat (lib): Create/update lib/stdalign.in-h and
lib/sys_types.in-h.
msods/sedlibmk.inp (GNULIB_GL_UNISTD_H_GETOPT, GNULIB_POSIX_OPENPT)
(GNULIB_ISATTY, GNULIB_PTSNAME_R, GNULIB_RANDOM)
(GNULIB_SETHOSTNAME, HAVE_POSIX_OPENPT, HAVE_PTSNAME_R)
(HAVE_RANDOM, HAVE_SETHOSTNAME, NEXT_SYS_TYPES_H)
(NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H, REPLACE_FTRUNCATE)
(REPLACE_ISATTY, REPLACE_PTSNAME_R, REPLACE_RANDOM_R)
(REPLACE_STRTOIMAX, STDALIGN_H, WINDOWS_64_BIT_OFF_T)
(WINDOWS_64_BIT_ST_SIZE, GL_GENERATE_STDALIGN_H_TRUE)
(GL_GENERATE_STDALIGN_H_FALSE): Edit as appropriate for DJGPP.
(cat FOO): Edit into "sed -e '' FOO >>".
2012-05-27 13:42:13 +00:00
|
|
|
/^GNULIB_POSIX_OPENPT *=/s/@GNULIB_POSIX_OPENPT@/0/
|
2011-02-19 16:05:27 +00:00
|
|
|
/^GNULIB_PREAD *=/s/@GNULIB_PREAD@/0/
|
2011-03-25 12:52:03 +00:00
|
|
|
/^GNULIB_PRINTF *=/s/@GNULIB_PRINTF@/0/
|
|
|
|
/^GNULIB_PRINTF_POSIX *=/s/@GNULIB_PRINTF_POSIX@/0/
|
Fix the MSDOS build.
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.
2011-09-29 12:00:18 +00:00
|
|
|
/^GNULIB_PTHREAD_SIGMASK *=/s/@GNULIB_PTHREAD_SIGMASK@/0/
|
2011-02-19 16:05:27 +00:00
|
|
|
/^GNULIB_PTSNAME *=/s/@GNULIB_PTSNAME@/0/
|
Fix the MSDOS build following gnulib update.
config.bat (lib): Create/update lib/stdalign.in-h and
lib/sys_types.in-h.
msods/sedlibmk.inp (GNULIB_GL_UNISTD_H_GETOPT, GNULIB_POSIX_OPENPT)
(GNULIB_ISATTY, GNULIB_PTSNAME_R, GNULIB_RANDOM)
(GNULIB_SETHOSTNAME, HAVE_POSIX_OPENPT, HAVE_PTSNAME_R)
(HAVE_RANDOM, HAVE_SETHOSTNAME, NEXT_SYS_TYPES_H)
(NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H, REPLACE_FTRUNCATE)
(REPLACE_ISATTY, REPLACE_PTSNAME_R, REPLACE_RANDOM_R)
(REPLACE_STRTOIMAX, STDALIGN_H, WINDOWS_64_BIT_OFF_T)
(WINDOWS_64_BIT_ST_SIZE, GL_GENERATE_STDALIGN_H_TRUE)
(GL_GENERATE_STDALIGN_H_FALSE): Edit as appropriate for DJGPP.
(cat FOO): Edit into "sed -e '' FOO >>".
2012-05-27 13:42:13 +00:00
|
|
|
/^GNULIB_PTSNAME_R *=/s/@GNULIB_PTSNAME_R@/0/
|
2011-03-25 12:10:45 +00:00
|
|
|
/^GNULIB_PUTC *=/s/@GNULIB_PUTC@/0/
|
|
|
|
/^GNULIB_PUTCHAR *=/s/@GNULIB_PUTCHAR@/0/
|
2011-02-19 16:05:27 +00:00
|
|
|
/^GNULIB_PUTENV *=/s/@GNULIB_PUTENV@/0/
|
2011-03-25 12:10:45 +00:00
|
|
|
/^GNULIB_PUTS *=/s/@GNULIB_PUTS@/0/
|
2011-02-19 16:05:27 +00:00
|
|
|
/^GNULIB_PWRITE *=/s/@GNULIB_PWRITE@/0/
|
Fix the MSDOS build.
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.
2011-09-29 12:00:18 +00:00
|
|
|
/^GNULIB_RAISE *=/s/@GNULIB_RAISE@/0/
|
Fix the MSDOS build following gnulib update.
config.bat (lib): Create/update lib/stdalign.in-h and
lib/sys_types.in-h.
msods/sedlibmk.inp (GNULIB_GL_UNISTD_H_GETOPT, GNULIB_POSIX_OPENPT)
(GNULIB_ISATTY, GNULIB_PTSNAME_R, GNULIB_RANDOM)
(GNULIB_SETHOSTNAME, HAVE_POSIX_OPENPT, HAVE_PTSNAME_R)
(HAVE_RANDOM, HAVE_SETHOSTNAME, NEXT_SYS_TYPES_H)
(NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H, REPLACE_FTRUNCATE)
(REPLACE_ISATTY, REPLACE_PTSNAME_R, REPLACE_RANDOM_R)
(REPLACE_STRTOIMAX, STDALIGN_H, WINDOWS_64_BIT_OFF_T)
(WINDOWS_64_BIT_ST_SIZE, GL_GENERATE_STDALIGN_H_TRUE)
(GL_GENERATE_STDALIGN_H_FALSE): Edit as appropriate for DJGPP.
(cat FOO): Edit into "sed -e '' FOO >>".
2012-05-27 13:42:13 +00:00
|
|
|
/^GNULIB_RANDOM *=/s/@GNULIB_RANDOM@/0/
|
2011-02-19 16:05:27 +00:00
|
|
|
/^GNULIB_RANDOM_R *=/s/@GNULIB_RANDOM_R@/0/
|
2011-04-24 12:48:30 +00:00
|
|
|
/^GNULIB_READ *=/s/@GNULIB_READ@/0/
|
2011-02-19 16:05:27 +00:00
|
|
|
/^GNULIB_READLINK *=/s/@GNULIB_READLINK@/0/
|
|
|
|
/^GNULIB_READLINKAT *=/s/@GNULIB_READLINKAT@/0/
|
|
|
|
/^GNULIB_REALLOC_POSIX *=/s/@GNULIB_REALLOC_POSIX@/0/
|
|
|
|
/^GNULIB_REALPATH *=/s/@GNULIB_REALPATH@/0/
|
2011-03-25 12:10:45 +00:00
|
|
|
/^GNULIB_REMOVE *=/s/@GNULIB_REMOVE@/0/
|
|
|
|
/^GNULIB_RENAME *=/s/@GNULIB_RENAME@/0/
|
|
|
|
/^GNULIB_RENAMEAT *=/s/@GNULIB_RENAMEAT@/0/
|
2011-02-19 16:05:27 +00:00
|
|
|
/^GNULIB_RMDIR *=/s/@GNULIB_RMDIR@/0/
|
|
|
|
/^GNULIB_RPMATCH *=/s/@GNULIB_RPMATCH@/0/
|
2011-04-24 12:48:30 +00:00
|
|
|
/^GNULIB_SCANF *=/s/@GNULIB_SCANF@/0/
|
2011-02-19 16:05:27 +00:00
|
|
|
/^GNULIB_SETENV *=/s/@GNULIB_SETENV@/0/
|
Fix the MSDOS build following gnulib update.
config.bat (lib): Create/update lib/stdalign.in-h and
lib/sys_types.in-h.
msods/sedlibmk.inp (GNULIB_GL_UNISTD_H_GETOPT, GNULIB_POSIX_OPENPT)
(GNULIB_ISATTY, GNULIB_PTSNAME_R, GNULIB_RANDOM)
(GNULIB_SETHOSTNAME, HAVE_POSIX_OPENPT, HAVE_PTSNAME_R)
(HAVE_RANDOM, HAVE_SETHOSTNAME, NEXT_SYS_TYPES_H)
(NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H, REPLACE_FTRUNCATE)
(REPLACE_ISATTY, REPLACE_PTSNAME_R, REPLACE_RANDOM_R)
(REPLACE_STRTOIMAX, STDALIGN_H, WINDOWS_64_BIT_OFF_T)
(WINDOWS_64_BIT_ST_SIZE, GL_GENERATE_STDALIGN_H_TRUE)
(GL_GENERATE_STDALIGN_H_FALSE): Edit as appropriate for DJGPP.
(cat FOO): Edit into "sed -e '' FOO >>".
2012-05-27 13:42:13 +00:00
|
|
|
/^GNULIB_SETHOSTNAME *=/s/@GNULIB_SETHOSTNAME@/0/
|
Fix the MSDOS build.
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.
2011-09-29 12:00:18 +00:00
|
|
|
/^GNULIB_SIGACTION *=/s/@GNULIB_SIGACTION@/0/
|
|
|
|
/^GNULIB_SIGNAL_H_SIGPIPE *=/s/@GNULIB_SIGNAL_H_SIGPIPE@/0/
|
|
|
|
/^GNULIB_SIGPROCMASK *=/s/@GNULIB_SIGPROCMASK@/0/
|
2011-02-19 16:05:27 +00:00
|
|
|
/^GNULIB_SLEEP *=/s/@GNULIB_SLEEP@/0/
|
2011-03-25 12:10:45 +00:00
|
|
|
/^GNULIB_SNPRINTF *=/s/@GNULIB_SNPRINTF@/0/
|
|
|
|
/^GNULIB_SPRINTF_POSIX *=/s/@GNULIB_SPRINTF_POSIX@/0/
|
Fix Sed scripts and srs/s/msdos.h for gnulib additions. Not tested yet.
src/s/msdos.h (HAVE_LSTAT): Define for DJGPP >= 2.04.
(lstat): Define for DJGPP < 2.04.
msdos/sedlibmk.inp (BITSIZEOF_PTRDIFF_T, BITSIZEOF_SIG_ATOMIC_T)
(BITSIZEOF_SIZE_T, BITSIZEOF_WCHAR_T)
(BITSIZEOF_WINT_TGNULIB_FCHMODAT, GNULIB_FSTATAT, GNULIB_FUTIMENS)
(GNULIB_LCHMOD, GNULIB_LSTAT, GNULIB_MBTOWC, GNULIB_MKDIRAT)
(GNULIB_MKFIFO, GNULIB_MKFIFOAT, GNULIB_MKNOD, GNULIB_MKNODAT)
(GNULIB_STAT, GNULIB_UTIMENSAT, GNULIB_WCTOMB, HAVE_FCHMODAT)
(HAVE_FSTATAT, HAVE_FUTIMENS, HAVE_INTTYPES_H, HAVE_LCHMOD)
(HAVE_LONG_LONG_INT, HAVE_LSTAT, HAVE_MKDIRAT, HAVE_MKFIFO)
(HAVE_MKFIFOAT, HAVE_MKNOD, HAVE_MKNODAT)
(HAVE_SIGNED_SIG_ATOMIC_T, HAVE_SIGNED_WCHAR_T)
(HAVE_SIGNED_WINT_T, HAVE_STDINT_H, HAVE_SYS_BITYPES_H)
(HAVE_SYS_INTTYPES_H, HAVE_SYS_TYPES_H)
(HAVE_UNSIGNED_LONG_LONG_INT, HAVE_UTIMENSAT, HAVE_WCHAR_H)
(MKDIR_P, NEXT_AS_FIRST_DIRECTIVE_STDINT_H)
(NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H, NEXT_STDINT_H)
(NEXT_SYS_STAT_H, REPLACE_LSTAT, REPLACE_MBTOWC, REPLACE_MKDIR)
(REPLACE_MKFIFO, REPLACE_MKNOD, REPLACE_STAT, REPLACE_UTIMENSAT)
(REPLACE_WCTOMB, SIG_ATOMIC_T_SUFFIX, SIZE_T_SUFFIX, STDINT_H)
(WCHAR_T_SUFFIX, WINT_T_SUFFIX): New edits.
($(MKDIR_P)): Replace with equivalent DOS command.
msdos/sed2v2.inp (BITSIZEOF_PTRDIFF_T, BITSIZEOF_SIG_ATOMIC_T)
(BITSIZEOF_SIZE_T, BITSIZEOF_WCHAR_T, BITSIZEOF_WINT_T)
(HAVE_LONG_LONG_INT, HAVE_SIGNED_SIG_ATOMIC_T, HAVE_SIGNED_WINT_T)
(HAVE_UNSIGNED_LONG_LONG_INT, HAVE_WCHAR_H, HAVE_INTTYPES_H): New
edits.
2011-02-26 12:55:10 +00:00
|
|
|
/^GNULIB_STAT *=/s/@GNULIB_STAT@/0/
|
2011-04-24 12:48:30 +00:00
|
|
|
/^GNULIB_STDIO_H_NONBLOCKING *=/s/@GNULIB_STDIO_H_NONBLOCKING@/0/
|
2011-03-25 12:10:45 +00:00
|
|
|
/^GNULIB_STDIO_H_SIGPIPE *=/s/@GNULIB_STDIO_H_SIGPIPE@/0/
|
2011-02-19 16:05:27 +00:00
|
|
|
/^GNULIB_STRPTIME *=/s/@GNULIB_STRPTIME@/0/
|
|
|
|
/^GNULIB_STRTOD *=/s/@GNULIB_STRTOD@/0/
|
|
|
|
/^GNULIB_STRTOLL *=/s/@GNULIB_STRTOLL@/0/
|
|
|
|
/^GNULIB_STRTOULL *=/s/@GNULIB_STRTOULL@/0/
|
|
|
|
/^GNULIB_SYMLINK *=/s/@GNULIB_SYMLINK@/0/
|
|
|
|
/^GNULIB_SYMLINKAT *=/s/@GNULIB_SYMLINKAT@/0/
|
|
|
|
/^GNULIB_SYSTEM_POSIX *=/s/@GNULIB_SYSTEM_POSIX@/0/
|
|
|
|
/^GNULIB_TIMEGM *=/s/@GNULIB_TIMEGM@/0/
|
|
|
|
/^GNULIB_TIME_R *=/s/@GNULIB_TIME_R@/1/
|
2011-03-25 12:10:45 +00:00
|
|
|
/^GNULIB_TMPFILE *=/s/@GNULIB_TMPFILE@/0/
|
2011-02-19 16:05:27 +00:00
|
|
|
/^GNULIB_TTYNAME_R *=/s/@GNULIB_TTYNAME_R@/0/
|
2011-04-24 12:48:30 +00:00
|
|
|
/^GNULIB_UNISTD_H_NONBLOCKING *=/s/@GNULIB_UNISTD_H_NONBLOCKING@/0/
|
2011-02-19 16:05:27 +00:00
|
|
|
/^GNULIB_UNISTD_H_SIGPIPE *=/s/@GNULIB_UNISTD_H_SIGPIPE@/0/
|
|
|
|
/^GNULIB_UNLINK *=/s/@GNULIB_UNLINK@/0/
|
|
|
|
/^GNULIB_UNLINKAT *=/s/@GNULIB_UNLINKAT@/0/
|
|
|
|
/^GNULIB_UNLOCKPT *=/s/@GNULIB_UNLOCKPT@/0/
|
|
|
|
/^GNULIB_UNSETENV *=/s/@GNULIB_UNSETENV@/1/
|
|
|
|
/^GNULIB_USLEEP *=/s/@GNULIB_USLEEP@/0/
|
Fix Sed scripts and srs/s/msdos.h for gnulib additions. Not tested yet.
src/s/msdos.h (HAVE_LSTAT): Define for DJGPP >= 2.04.
(lstat): Define for DJGPP < 2.04.
msdos/sedlibmk.inp (BITSIZEOF_PTRDIFF_T, BITSIZEOF_SIG_ATOMIC_T)
(BITSIZEOF_SIZE_T, BITSIZEOF_WCHAR_T)
(BITSIZEOF_WINT_TGNULIB_FCHMODAT, GNULIB_FSTATAT, GNULIB_FUTIMENS)
(GNULIB_LCHMOD, GNULIB_LSTAT, GNULIB_MBTOWC, GNULIB_MKDIRAT)
(GNULIB_MKFIFO, GNULIB_MKFIFOAT, GNULIB_MKNOD, GNULIB_MKNODAT)
(GNULIB_STAT, GNULIB_UTIMENSAT, GNULIB_WCTOMB, HAVE_FCHMODAT)
(HAVE_FSTATAT, HAVE_FUTIMENS, HAVE_INTTYPES_H, HAVE_LCHMOD)
(HAVE_LONG_LONG_INT, HAVE_LSTAT, HAVE_MKDIRAT, HAVE_MKFIFO)
(HAVE_MKFIFOAT, HAVE_MKNOD, HAVE_MKNODAT)
(HAVE_SIGNED_SIG_ATOMIC_T, HAVE_SIGNED_WCHAR_T)
(HAVE_SIGNED_WINT_T, HAVE_STDINT_H, HAVE_SYS_BITYPES_H)
(HAVE_SYS_INTTYPES_H, HAVE_SYS_TYPES_H)
(HAVE_UNSIGNED_LONG_LONG_INT, HAVE_UTIMENSAT, HAVE_WCHAR_H)
(MKDIR_P, NEXT_AS_FIRST_DIRECTIVE_STDINT_H)
(NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H, NEXT_STDINT_H)
(NEXT_SYS_STAT_H, REPLACE_LSTAT, REPLACE_MBTOWC, REPLACE_MKDIR)
(REPLACE_MKFIFO, REPLACE_MKNOD, REPLACE_STAT, REPLACE_UTIMENSAT)
(REPLACE_WCTOMB, SIG_ATOMIC_T_SUFFIX, SIZE_T_SUFFIX, STDINT_H)
(WCHAR_T_SUFFIX, WINT_T_SUFFIX): New edits.
($(MKDIR_P)): Replace with equivalent DOS command.
msdos/sed2v2.inp (BITSIZEOF_PTRDIFF_T, BITSIZEOF_SIG_ATOMIC_T)
(BITSIZEOF_SIZE_T, BITSIZEOF_WCHAR_T, BITSIZEOF_WINT_T)
(HAVE_LONG_LONG_INT, HAVE_SIGNED_SIG_ATOMIC_T, HAVE_SIGNED_WINT_T)
(HAVE_UNSIGNED_LONG_LONG_INT, HAVE_WCHAR_H, HAVE_INTTYPES_H): New
edits.
2011-02-26 12:55:10 +00:00
|
|
|
/^GNULIB_UTIMENSAT *=/s/@GNULIB_UTIMENSAT@/0/
|
2011-03-25 12:10:45 +00:00
|
|
|
/^GNULIB_VASPRINTF *=/s/@GNULIB_VASPRINTF@/0/
|
|
|
|
/^GNULIB_VDPRINTF *=/s/@GNULIB_VDPRINTF@/0/
|
|
|
|
/^GNULIB_VFPRINTF *=/s/@GNULIB_VFPRINTF@/0/
|
|
|
|
/^GNULIB_VFPRINTF_POSIX *=/s/@GNULIB_VFPRINTF_POSIX@/0/
|
2011-04-24 12:48:30 +00:00
|
|
|
/^GNULIB_VFSCANF *=/s/@GNULIB_VFSCANF@/0/
|
2011-03-25 12:10:45 +00:00
|
|
|
/^GNULIB_VPRINTF *=/s/@GNULIB_VPRINTF@/0/
|
|
|
|
/^GNULIB_VPRINTF_POSIX *=/s/@GNULIB_VPRINTF_POSIX@/0/
|
2011-04-24 12:48:30 +00:00
|
|
|
/^GNULIB_VSCANF *=/s/@GNULIB_VSCANF@/0/
|
2011-03-25 12:10:45 +00:00
|
|
|
/^GNULIB_VSNPRINTF *=/s/@GNULIB_VSNPRINTF@/0/
|
|
|
|
/^GNULIB_VSPRINTF_POSIX *=/s/@GNULIB_VSPRINTF_POSIX@/0/
|
Fix Sed scripts and srs/s/msdos.h for gnulib additions. Not tested yet.
src/s/msdos.h (HAVE_LSTAT): Define for DJGPP >= 2.04.
(lstat): Define for DJGPP < 2.04.
msdos/sedlibmk.inp (BITSIZEOF_PTRDIFF_T, BITSIZEOF_SIG_ATOMIC_T)
(BITSIZEOF_SIZE_T, BITSIZEOF_WCHAR_T)
(BITSIZEOF_WINT_TGNULIB_FCHMODAT, GNULIB_FSTATAT, GNULIB_FUTIMENS)
(GNULIB_LCHMOD, GNULIB_LSTAT, GNULIB_MBTOWC, GNULIB_MKDIRAT)
(GNULIB_MKFIFO, GNULIB_MKFIFOAT, GNULIB_MKNOD, GNULIB_MKNODAT)
(GNULIB_STAT, GNULIB_UTIMENSAT, GNULIB_WCTOMB, HAVE_FCHMODAT)
(HAVE_FSTATAT, HAVE_FUTIMENS, HAVE_INTTYPES_H, HAVE_LCHMOD)
(HAVE_LONG_LONG_INT, HAVE_LSTAT, HAVE_MKDIRAT, HAVE_MKFIFO)
(HAVE_MKFIFOAT, HAVE_MKNOD, HAVE_MKNODAT)
(HAVE_SIGNED_SIG_ATOMIC_T, HAVE_SIGNED_WCHAR_T)
(HAVE_SIGNED_WINT_T, HAVE_STDINT_H, HAVE_SYS_BITYPES_H)
(HAVE_SYS_INTTYPES_H, HAVE_SYS_TYPES_H)
(HAVE_UNSIGNED_LONG_LONG_INT, HAVE_UTIMENSAT, HAVE_WCHAR_H)
(MKDIR_P, NEXT_AS_FIRST_DIRECTIVE_STDINT_H)
(NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H, NEXT_STDINT_H)
(NEXT_SYS_STAT_H, REPLACE_LSTAT, REPLACE_MBTOWC, REPLACE_MKDIR)
(REPLACE_MKFIFO, REPLACE_MKNOD, REPLACE_STAT, REPLACE_UTIMENSAT)
(REPLACE_WCTOMB, SIG_ATOMIC_T_SUFFIX, SIZE_T_SUFFIX, STDINT_H)
(WCHAR_T_SUFFIX, WINT_T_SUFFIX): New edits.
($(MKDIR_P)): Replace with equivalent DOS command.
msdos/sed2v2.inp (BITSIZEOF_PTRDIFF_T, BITSIZEOF_SIG_ATOMIC_T)
(BITSIZEOF_SIZE_T, BITSIZEOF_WCHAR_T, BITSIZEOF_WINT_T)
(HAVE_LONG_LONG_INT, HAVE_SIGNED_SIG_ATOMIC_T, HAVE_SIGNED_WINT_T)
(HAVE_UNSIGNED_LONG_LONG_INT, HAVE_WCHAR_H, HAVE_INTTYPES_H): New
edits.
2011-02-26 12:55:10 +00:00
|
|
|
/^GNULIB_WCTOMB *=/s/@GNULIB_WCTOMB@/0/
|
2011-02-19 16:05:27 +00:00
|
|
|
/^GNULIB_WRITE *=/s/@GNULIB_WRITE@/0/
|
|
|
|
/^GNULIB__EXIT *=/s/@GNULIB__EXIT@/0/
|
Fix the MSDOS build.
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.
2011-09-29 12:00:18 +00:00
|
|
|
/^GSETTINGS_CFLAGS *=/s/@[^@\n]*@//
|
|
|
|
/^GSETTINGS_LIBS *=/s/@[^@\n]*@//
|
2011-02-19 16:05:27 +00:00
|
|
|
/^HAVE_ATOLL *=/s/@HAVE_ATOLL@/0/
|
|
|
|
/^HAVE_CANONICALIZE_FILE_NAME *=/s/@HAVE_CANONICALIZE_FILE_NAME@/0/
|
|
|
|
/^HAVE_CHOWN *=/s/@HAVE_CHOWN@/1/
|
|
|
|
/^HAVE_DECL_ENVIRON *=/s/@HAVE_DECL_ENVIRON@/1/
|
|
|
|
/^HAVE_DECL_FCHDIR *=/s/@HAVE_DECL_FCHDIR@/0/
|
Fix the MSDOS build.
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.
2011-09-29 12:00:18 +00:00
|
|
|
/^HAVE_DECL_FDATASYNC *=/s/@HAVE_DECL_FDATASYNC@/0/
|
2011-03-25 12:10:45 +00:00
|
|
|
/^HAVE_DECL_FPURGE *=/s/@HAVE_DECL_FPURGE@//
|
|
|
|
/^HAVE_DECL_FSEEKO *=/s/@HAVE_DECL_FSEEKO@/0/
|
|
|
|
/^HAVE_DECL_FTELLO *=/s/@HAVE_DECL_FTELLO@/0/
|
|
|
|
/^HAVE_DECL_GETDELIM *=/s/@HAVE_DECL_GETDELIM@/0/
|
2011-02-19 16:05:27 +00:00
|
|
|
/^HAVE_DECL_GETDOMAINNAME *=/s/@HAVE_DECL_GETDOMAINNAME@/0/
|
2011-03-25 12:10:45 +00:00
|
|
|
/^HAVE_DECL_GETLINE *=/s/@HAVE_DECL_GETLINE@/0/
|
2011-02-19 16:05:27 +00:00
|
|
|
/^HAVE_DECL_GETLOADAVG *=/s/@HAVE_DECL_GETLOADAVG@/0/
|
|
|
|
/^HAVE_DECL_GETLOGIN_R *=/s/@HAVE_DECL_GETLOGIN_R@/0/
|
|
|
|
/^HAVE_DECL_GETPAGESIZE *=/s/@HAVE_DECL_GETPAGESIZE@/1/
|
|
|
|
/^HAVE_DECL_GETUSERSHELL *=/s/@HAVE_DECL_GETUSERSHELL@/0/
|
|
|
|
/^HAVE_DECL_LOCALTIME_R *=/s/@HAVE_DECL_LOCALTIME_R@/0/
|
2011-03-25 12:10:45 +00:00
|
|
|
/^HAVE_DECL_OBSTACK_PRINTF *=/s/@HAVE_DECL_OBSTACK_PRINTF@/0/
|
Fix the MSDOS build following gnulib update.
config.bat (lib): Create/update lib/stdalign.in-h and
lib/sys_types.in-h.
msods/sedlibmk.inp (GNULIB_GL_UNISTD_H_GETOPT, GNULIB_POSIX_OPENPT)
(GNULIB_ISATTY, GNULIB_PTSNAME_R, GNULIB_RANDOM)
(GNULIB_SETHOSTNAME, HAVE_POSIX_OPENPT, HAVE_PTSNAME_R)
(HAVE_RANDOM, HAVE_SETHOSTNAME, NEXT_SYS_TYPES_H)
(NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H, REPLACE_FTRUNCATE)
(REPLACE_ISATTY, REPLACE_PTSNAME_R, REPLACE_RANDOM_R)
(REPLACE_STRTOIMAX, STDALIGN_H, WINDOWS_64_BIT_OFF_T)
(WINDOWS_64_BIT_ST_SIZE, GL_GENERATE_STDALIGN_H_TRUE)
(GL_GENERATE_STDALIGN_H_FALSE): Edit as appropriate for DJGPP.
(cat FOO): Edit into "sed -e '' FOO >>".
2012-05-27 13:42:13 +00:00
|
|
|
/^HAVE_DECL_SETHOSTNAME *=/s/@HAVE_DECL_SETHOSTNAME@/0/
|
2011-02-19 16:05:27 +00:00
|
|
|
/^HAVE_DECL_SETENV *=/s/@HAVE_DECL_SETENV@/1/
|
2011-03-25 12:10:45 +00:00
|
|
|
/^HAVE_DECL_SNPRINTF *=/s/@HAVE_DECL_SNPRINTF@/0/
|
2011-02-19 16:05:27 +00:00
|
|
|
/^HAVE_DECL_TTYNAME_R *=/s/@HAVE_DECL_TTYNAME_R@/0/
|
|
|
|
/^HAVE_DECL_UNSETENV *=/s/@HAVE_DECL_UNSETENV@/0/
|
2011-03-25 12:10:45 +00:00
|
|
|
/^HAVE_DECL_VSNPRINTF *=/s/@HAVE_DECL_VSNPRINTF@/0/
|
|
|
|
/^HAVE_DPRINTF *=/s/@HAVE_DPRINTF@/0/
|
2011-02-19 16:05:27 +00:00
|
|
|
/^HAVE_DUP2 *=/s/@HAVE_DUP2@/1/
|
|
|
|
/^HAVE_DUP3 *=/s/@HAVE_DUP3@/0/
|
|
|
|
/^HAVE_EUIDACCESS *=/s/@HAVE_EUIDACCESS@/0/
|
|
|
|
/^HAVE_FACCESSAT *=/s/@HAVE_FACCESSAT@/0/
|
|
|
|
/^HAVE_FCHDIR *=/s/@HAVE_FCHDIR@/0/
|
Fix Sed scripts and srs/s/msdos.h for gnulib additions. Not tested yet.
src/s/msdos.h (HAVE_LSTAT): Define for DJGPP >= 2.04.
(lstat): Define for DJGPP < 2.04.
msdos/sedlibmk.inp (BITSIZEOF_PTRDIFF_T, BITSIZEOF_SIG_ATOMIC_T)
(BITSIZEOF_SIZE_T, BITSIZEOF_WCHAR_T)
(BITSIZEOF_WINT_TGNULIB_FCHMODAT, GNULIB_FSTATAT, GNULIB_FUTIMENS)
(GNULIB_LCHMOD, GNULIB_LSTAT, GNULIB_MBTOWC, GNULIB_MKDIRAT)
(GNULIB_MKFIFO, GNULIB_MKFIFOAT, GNULIB_MKNOD, GNULIB_MKNODAT)
(GNULIB_STAT, GNULIB_UTIMENSAT, GNULIB_WCTOMB, HAVE_FCHMODAT)
(HAVE_FSTATAT, HAVE_FUTIMENS, HAVE_INTTYPES_H, HAVE_LCHMOD)
(HAVE_LONG_LONG_INT, HAVE_LSTAT, HAVE_MKDIRAT, HAVE_MKFIFO)
(HAVE_MKFIFOAT, HAVE_MKNOD, HAVE_MKNODAT)
(HAVE_SIGNED_SIG_ATOMIC_T, HAVE_SIGNED_WCHAR_T)
(HAVE_SIGNED_WINT_T, HAVE_STDINT_H, HAVE_SYS_BITYPES_H)
(HAVE_SYS_INTTYPES_H, HAVE_SYS_TYPES_H)
(HAVE_UNSIGNED_LONG_LONG_INT, HAVE_UTIMENSAT, HAVE_WCHAR_H)
(MKDIR_P, NEXT_AS_FIRST_DIRECTIVE_STDINT_H)
(NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H, NEXT_STDINT_H)
(NEXT_SYS_STAT_H, REPLACE_LSTAT, REPLACE_MBTOWC, REPLACE_MKDIR)
(REPLACE_MKFIFO, REPLACE_MKNOD, REPLACE_STAT, REPLACE_UTIMENSAT)
(REPLACE_WCTOMB, SIG_ATOMIC_T_SUFFIX, SIZE_T_SUFFIX, STDINT_H)
(WCHAR_T_SUFFIX, WINT_T_SUFFIX): New edits.
($(MKDIR_P)): Replace with equivalent DOS command.
msdos/sed2v2.inp (BITSIZEOF_PTRDIFF_T, BITSIZEOF_SIG_ATOMIC_T)
(BITSIZEOF_SIZE_T, BITSIZEOF_WCHAR_T, BITSIZEOF_WINT_T)
(HAVE_LONG_LONG_INT, HAVE_SIGNED_SIG_ATOMIC_T, HAVE_SIGNED_WINT_T)
(HAVE_UNSIGNED_LONG_LONG_INT, HAVE_WCHAR_H, HAVE_INTTYPES_H): New
edits.
2011-02-26 12:55:10 +00:00
|
|
|
/^HAVE_FCHMODAT *=/s/@HAVE_FCHMODAT@/0/
|
2011-02-19 16:05:27 +00:00
|
|
|
/^HAVE_FCHOWNAT *=/s/@HAVE_FCHOWNAT@/0/
|
Fix the MSDOS build.
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.
2011-09-29 12:00:18 +00:00
|
|
|
/^HAVE_FDATASYNC *=/s/@HAVE_FDATASYNC@/0/
|
2011-03-25 12:10:45 +00:00
|
|
|
/^HAVE_FSEEKO *=/s/@HAVE_FSEEKO@/0/
|
Fix Sed scripts and srs/s/msdos.h for gnulib additions. Not tested yet.
src/s/msdos.h (HAVE_LSTAT): Define for DJGPP >= 2.04.
(lstat): Define for DJGPP < 2.04.
msdos/sedlibmk.inp (BITSIZEOF_PTRDIFF_T, BITSIZEOF_SIG_ATOMIC_T)
(BITSIZEOF_SIZE_T, BITSIZEOF_WCHAR_T)
(BITSIZEOF_WINT_TGNULIB_FCHMODAT, GNULIB_FSTATAT, GNULIB_FUTIMENS)
(GNULIB_LCHMOD, GNULIB_LSTAT, GNULIB_MBTOWC, GNULIB_MKDIRAT)
(GNULIB_MKFIFO, GNULIB_MKFIFOAT, GNULIB_MKNOD, GNULIB_MKNODAT)
(GNULIB_STAT, GNULIB_UTIMENSAT, GNULIB_WCTOMB, HAVE_FCHMODAT)
(HAVE_FSTATAT, HAVE_FUTIMENS, HAVE_INTTYPES_H, HAVE_LCHMOD)
(HAVE_LONG_LONG_INT, HAVE_LSTAT, HAVE_MKDIRAT, HAVE_MKFIFO)
(HAVE_MKFIFOAT, HAVE_MKNOD, HAVE_MKNODAT)
(HAVE_SIGNED_SIG_ATOMIC_T, HAVE_SIGNED_WCHAR_T)
(HAVE_SIGNED_WINT_T, HAVE_STDINT_H, HAVE_SYS_BITYPES_H)
(HAVE_SYS_INTTYPES_H, HAVE_SYS_TYPES_H)
(HAVE_UNSIGNED_LONG_LONG_INT, HAVE_UTIMENSAT, HAVE_WCHAR_H)
(MKDIR_P, NEXT_AS_FIRST_DIRECTIVE_STDINT_H)
(NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H, NEXT_STDINT_H)
(NEXT_SYS_STAT_H, REPLACE_LSTAT, REPLACE_MBTOWC, REPLACE_MKDIR)
(REPLACE_MKFIFO, REPLACE_MKNOD, REPLACE_STAT, REPLACE_UTIMENSAT)
(REPLACE_WCTOMB, SIG_ATOMIC_T_SUFFIX, SIZE_T_SUFFIX, STDINT_H)
(WCHAR_T_SUFFIX, WINT_T_SUFFIX): New edits.
($(MKDIR_P)): Replace with equivalent DOS command.
msdos/sed2v2.inp (BITSIZEOF_PTRDIFF_T, BITSIZEOF_SIG_ATOMIC_T)
(BITSIZEOF_SIZE_T, BITSIZEOF_WCHAR_T, BITSIZEOF_WINT_T)
(HAVE_LONG_LONG_INT, HAVE_SIGNED_SIG_ATOMIC_T, HAVE_SIGNED_WINT_T)
(HAVE_UNSIGNED_LONG_LONG_INT, HAVE_WCHAR_H, HAVE_INTTYPES_H): New
edits.
2011-02-26 12:55:10 +00:00
|
|
|
/^HAVE_FSTATAT *=/s/@HAVE_FSTATAT@/0/
|
2011-02-19 16:05:27 +00:00
|
|
|
/^HAVE_FSYNC *=/s/@HAVE_FSYNC@/1/
|
2011-03-25 12:10:45 +00:00
|
|
|
/^HAVE_FTELLO *=/s/@HAVE_FTELLO@/0/
|
2011-02-19 16:05:27 +00:00
|
|
|
/^HAVE_FTRUNCATE *=/s/@HAVE_FTRUNCATE@/1/
|
Fix Sed scripts and srs/s/msdos.h for gnulib additions. Not tested yet.
src/s/msdos.h (HAVE_LSTAT): Define for DJGPP >= 2.04.
(lstat): Define for DJGPP < 2.04.
msdos/sedlibmk.inp (BITSIZEOF_PTRDIFF_T, BITSIZEOF_SIG_ATOMIC_T)
(BITSIZEOF_SIZE_T, BITSIZEOF_WCHAR_T)
(BITSIZEOF_WINT_TGNULIB_FCHMODAT, GNULIB_FSTATAT, GNULIB_FUTIMENS)
(GNULIB_LCHMOD, GNULIB_LSTAT, GNULIB_MBTOWC, GNULIB_MKDIRAT)
(GNULIB_MKFIFO, GNULIB_MKFIFOAT, GNULIB_MKNOD, GNULIB_MKNODAT)
(GNULIB_STAT, GNULIB_UTIMENSAT, GNULIB_WCTOMB, HAVE_FCHMODAT)
(HAVE_FSTATAT, HAVE_FUTIMENS, HAVE_INTTYPES_H, HAVE_LCHMOD)
(HAVE_LONG_LONG_INT, HAVE_LSTAT, HAVE_MKDIRAT, HAVE_MKFIFO)
(HAVE_MKFIFOAT, HAVE_MKNOD, HAVE_MKNODAT)
(HAVE_SIGNED_SIG_ATOMIC_T, HAVE_SIGNED_WCHAR_T)
(HAVE_SIGNED_WINT_T, HAVE_STDINT_H, HAVE_SYS_BITYPES_H)
(HAVE_SYS_INTTYPES_H, HAVE_SYS_TYPES_H)
(HAVE_UNSIGNED_LONG_LONG_INT, HAVE_UTIMENSAT, HAVE_WCHAR_H)
(MKDIR_P, NEXT_AS_FIRST_DIRECTIVE_STDINT_H)
(NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H, NEXT_STDINT_H)
(NEXT_SYS_STAT_H, REPLACE_LSTAT, REPLACE_MBTOWC, REPLACE_MKDIR)
(REPLACE_MKFIFO, REPLACE_MKNOD, REPLACE_STAT, REPLACE_UTIMENSAT)
(REPLACE_WCTOMB, SIG_ATOMIC_T_SUFFIX, SIZE_T_SUFFIX, STDINT_H)
(WCHAR_T_SUFFIX, WINT_T_SUFFIX): New edits.
($(MKDIR_P)): Replace with equivalent DOS command.
msdos/sed2v2.inp (BITSIZEOF_PTRDIFF_T, BITSIZEOF_SIG_ATOMIC_T)
(BITSIZEOF_SIZE_T, BITSIZEOF_WCHAR_T, BITSIZEOF_WINT_T)
(HAVE_LONG_LONG_INT, HAVE_SIGNED_SIG_ATOMIC_T, HAVE_SIGNED_WINT_T)
(HAVE_UNSIGNED_LONG_LONG_INT, HAVE_WCHAR_H, HAVE_INTTYPES_H): New
edits.
2011-02-26 12:55:10 +00:00
|
|
|
/^HAVE_FUTIMENS *=/s/@HAVE_FUTIMENS@/0/
|
2011-02-19 16:05:27 +00:00
|
|
|
/^HAVE_GETDTABLESIZE *=/s/@HAVE_GETDTABLESIZE@/0/
|
|
|
|
/^HAVE_GETGROUPS *=/s/@HAVE_GETGROUPS@/0/
|
|
|
|
/^HAVE_GETHOSTNAME *=/s/@HAVE_GETHOSTNAME@/1/
|
|
|
|
/^HAVE_GETLOGIN *=/s/@HAVE_GETLOGIN@/1/
|
2011-02-19 17:35:11 +00:00
|
|
|
/^HAVE_GETOPT_H *=/s/@HAVE_GETOPT_H@/0/
|
2011-02-19 16:05:27 +00:00
|
|
|
/^HAVE_GETPAGESIZE *=/s/@HAVE_GETPAGESIZE@/1/
|
|
|
|
/^HAVE_GETSUBOPT *=/s/@HAVE_GETSUBOPT@/0/
|
|
|
|
/^HAVE_GRANTPT *=/s/@HAVE_GRANTPT@/0/
|
2011-05-20 09:47:59 +00:00
|
|
|
/^HAVE_GROUP_MEMBER *=/s/@HAVE_GROUP_MEMBER@/0/
|
2011-02-19 16:05:27 +00:00
|
|
|
/^HAVE_LCHOWN *=/s/@HAVE_LCHOWN@/0/
|
Fix Sed scripts and srs/s/msdos.h for gnulib additions. Not tested yet.
src/s/msdos.h (HAVE_LSTAT): Define for DJGPP >= 2.04.
(lstat): Define for DJGPP < 2.04.
msdos/sedlibmk.inp (BITSIZEOF_PTRDIFF_T, BITSIZEOF_SIG_ATOMIC_T)
(BITSIZEOF_SIZE_T, BITSIZEOF_WCHAR_T)
(BITSIZEOF_WINT_TGNULIB_FCHMODAT, GNULIB_FSTATAT, GNULIB_FUTIMENS)
(GNULIB_LCHMOD, GNULIB_LSTAT, GNULIB_MBTOWC, GNULIB_MKDIRAT)
(GNULIB_MKFIFO, GNULIB_MKFIFOAT, GNULIB_MKNOD, GNULIB_MKNODAT)
(GNULIB_STAT, GNULIB_UTIMENSAT, GNULIB_WCTOMB, HAVE_FCHMODAT)
(HAVE_FSTATAT, HAVE_FUTIMENS, HAVE_INTTYPES_H, HAVE_LCHMOD)
(HAVE_LONG_LONG_INT, HAVE_LSTAT, HAVE_MKDIRAT, HAVE_MKFIFO)
(HAVE_MKFIFOAT, HAVE_MKNOD, HAVE_MKNODAT)
(HAVE_SIGNED_SIG_ATOMIC_T, HAVE_SIGNED_WCHAR_T)
(HAVE_SIGNED_WINT_T, HAVE_STDINT_H, HAVE_SYS_BITYPES_H)
(HAVE_SYS_INTTYPES_H, HAVE_SYS_TYPES_H)
(HAVE_UNSIGNED_LONG_LONG_INT, HAVE_UTIMENSAT, HAVE_WCHAR_H)
(MKDIR_P, NEXT_AS_FIRST_DIRECTIVE_STDINT_H)
(NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H, NEXT_STDINT_H)
(NEXT_SYS_STAT_H, REPLACE_LSTAT, REPLACE_MBTOWC, REPLACE_MKDIR)
(REPLACE_MKFIFO, REPLACE_MKNOD, REPLACE_STAT, REPLACE_UTIMENSAT)
(REPLACE_WCTOMB, SIG_ATOMIC_T_SUFFIX, SIZE_T_SUFFIX, STDINT_H)
(WCHAR_T_SUFFIX, WINT_T_SUFFIX): New edits.
($(MKDIR_P)): Replace with equivalent DOS command.
msdos/sed2v2.inp (BITSIZEOF_PTRDIFF_T, BITSIZEOF_SIG_ATOMIC_T)
(BITSIZEOF_SIZE_T, BITSIZEOF_WCHAR_T, BITSIZEOF_WINT_T)
(HAVE_LONG_LONG_INT, HAVE_SIGNED_SIG_ATOMIC_T, HAVE_SIGNED_WINT_T)
(HAVE_UNSIGNED_LONG_LONG_INT, HAVE_WCHAR_H, HAVE_INTTYPES_H): New
edits.
2011-02-26 12:55:10 +00:00
|
|
|
/^HAVE_INTTYPES_H *=/s/@HAVE_INTTYPES_H@/HAVE_INTTYPES_H/
|
|
|
|
/^HAVE_LCHMOD *=/s/@HAVE_LCHMOD@/0/
|
2011-02-19 16:05:27 +00:00
|
|
|
/^HAVE_LINK *=/s/@HAVE_LINK@/1/
|
|
|
|
/^HAVE_LINKAT *=/s/@HAVE_LINKAT@/0/
|
Fix Sed scripts and srs/s/msdos.h for gnulib additions. Not tested yet.
src/s/msdos.h (HAVE_LSTAT): Define for DJGPP >= 2.04.
(lstat): Define for DJGPP < 2.04.
msdos/sedlibmk.inp (BITSIZEOF_PTRDIFF_T, BITSIZEOF_SIG_ATOMIC_T)
(BITSIZEOF_SIZE_T, BITSIZEOF_WCHAR_T)
(BITSIZEOF_WINT_TGNULIB_FCHMODAT, GNULIB_FSTATAT, GNULIB_FUTIMENS)
(GNULIB_LCHMOD, GNULIB_LSTAT, GNULIB_MBTOWC, GNULIB_MKDIRAT)
(GNULIB_MKFIFO, GNULIB_MKFIFOAT, GNULIB_MKNOD, GNULIB_MKNODAT)
(GNULIB_STAT, GNULIB_UTIMENSAT, GNULIB_WCTOMB, HAVE_FCHMODAT)
(HAVE_FSTATAT, HAVE_FUTIMENS, HAVE_INTTYPES_H, HAVE_LCHMOD)
(HAVE_LONG_LONG_INT, HAVE_LSTAT, HAVE_MKDIRAT, HAVE_MKFIFO)
(HAVE_MKFIFOAT, HAVE_MKNOD, HAVE_MKNODAT)
(HAVE_SIGNED_SIG_ATOMIC_T, HAVE_SIGNED_WCHAR_T)
(HAVE_SIGNED_WINT_T, HAVE_STDINT_H, HAVE_SYS_BITYPES_H)
(HAVE_SYS_INTTYPES_H, HAVE_SYS_TYPES_H)
(HAVE_UNSIGNED_LONG_LONG_INT, HAVE_UTIMENSAT, HAVE_WCHAR_H)
(MKDIR_P, NEXT_AS_FIRST_DIRECTIVE_STDINT_H)
(NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H, NEXT_STDINT_H)
(NEXT_SYS_STAT_H, REPLACE_LSTAT, REPLACE_MBTOWC, REPLACE_MKDIR)
(REPLACE_MKFIFO, REPLACE_MKNOD, REPLACE_STAT, REPLACE_UTIMENSAT)
(REPLACE_WCTOMB, SIG_ATOMIC_T_SUFFIX, SIZE_T_SUFFIX, STDINT_H)
(WCHAR_T_SUFFIX, WINT_T_SUFFIX): New edits.
($(MKDIR_P)): Replace with equivalent DOS command.
msdos/sed2v2.inp (BITSIZEOF_PTRDIFF_T, BITSIZEOF_SIG_ATOMIC_T)
(BITSIZEOF_SIZE_T, BITSIZEOF_WCHAR_T, BITSIZEOF_WINT_T)
(HAVE_LONG_LONG_INT, HAVE_SIGNED_SIG_ATOMIC_T, HAVE_SIGNED_WINT_T)
(HAVE_UNSIGNED_LONG_LONG_INT, HAVE_WCHAR_H, HAVE_INTTYPES_H): New
edits.
2011-02-26 12:55:10 +00:00
|
|
|
/^HAVE_LONG_LONG_INT *=/s/@HAVE_LONG_LONG_INT@/1/
|
|
|
|
/^HAVE_LSTAT *=/s/@HAVE_LSTAT@/HAVE_LSTAT/
|
2011-02-19 16:05:27 +00:00
|
|
|
/^HAVE_MAKEINFO *=/s/@HAVE_MAKEINFO@/yes/
|
Fix Sed scripts and srs/s/msdos.h for gnulib additions. Not tested yet.
src/s/msdos.h (HAVE_LSTAT): Define for DJGPP >= 2.04.
(lstat): Define for DJGPP < 2.04.
msdos/sedlibmk.inp (BITSIZEOF_PTRDIFF_T, BITSIZEOF_SIG_ATOMIC_T)
(BITSIZEOF_SIZE_T, BITSIZEOF_WCHAR_T)
(BITSIZEOF_WINT_TGNULIB_FCHMODAT, GNULIB_FSTATAT, GNULIB_FUTIMENS)
(GNULIB_LCHMOD, GNULIB_LSTAT, GNULIB_MBTOWC, GNULIB_MKDIRAT)
(GNULIB_MKFIFO, GNULIB_MKFIFOAT, GNULIB_MKNOD, GNULIB_MKNODAT)
(GNULIB_STAT, GNULIB_UTIMENSAT, GNULIB_WCTOMB, HAVE_FCHMODAT)
(HAVE_FSTATAT, HAVE_FUTIMENS, HAVE_INTTYPES_H, HAVE_LCHMOD)
(HAVE_LONG_LONG_INT, HAVE_LSTAT, HAVE_MKDIRAT, HAVE_MKFIFO)
(HAVE_MKFIFOAT, HAVE_MKNOD, HAVE_MKNODAT)
(HAVE_SIGNED_SIG_ATOMIC_T, HAVE_SIGNED_WCHAR_T)
(HAVE_SIGNED_WINT_T, HAVE_STDINT_H, HAVE_SYS_BITYPES_H)
(HAVE_SYS_INTTYPES_H, HAVE_SYS_TYPES_H)
(HAVE_UNSIGNED_LONG_LONG_INT, HAVE_UTIMENSAT, HAVE_WCHAR_H)
(MKDIR_P, NEXT_AS_FIRST_DIRECTIVE_STDINT_H)
(NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H, NEXT_STDINT_H)
(NEXT_SYS_STAT_H, REPLACE_LSTAT, REPLACE_MBTOWC, REPLACE_MKDIR)
(REPLACE_MKFIFO, REPLACE_MKNOD, REPLACE_STAT, REPLACE_UTIMENSAT)
(REPLACE_WCTOMB, SIG_ATOMIC_T_SUFFIX, SIZE_T_SUFFIX, STDINT_H)
(WCHAR_T_SUFFIX, WINT_T_SUFFIX): New edits.
($(MKDIR_P)): Replace with equivalent DOS command.
msdos/sed2v2.inp (BITSIZEOF_PTRDIFF_T, BITSIZEOF_SIG_ATOMIC_T)
(BITSIZEOF_SIZE_T, BITSIZEOF_WCHAR_T, BITSIZEOF_WINT_T)
(HAVE_LONG_LONG_INT, HAVE_SIGNED_SIG_ATOMIC_T, HAVE_SIGNED_WINT_T)
(HAVE_UNSIGNED_LONG_LONG_INT, HAVE_WCHAR_H, HAVE_INTTYPES_H): New
edits.
2011-02-26 12:55:10 +00:00
|
|
|
/^HAVE_MKDIRAT *=/s/@HAVE_MKDIRAT@/0/
|
2011-02-19 16:05:27 +00:00
|
|
|
/^HAVE_MKDTEMP *=/s/@HAVE_MKDTEMP@/0/
|
Fix Sed scripts and srs/s/msdos.h for gnulib additions. Not tested yet.
src/s/msdos.h (HAVE_LSTAT): Define for DJGPP >= 2.04.
(lstat): Define for DJGPP < 2.04.
msdos/sedlibmk.inp (BITSIZEOF_PTRDIFF_T, BITSIZEOF_SIG_ATOMIC_T)
(BITSIZEOF_SIZE_T, BITSIZEOF_WCHAR_T)
(BITSIZEOF_WINT_TGNULIB_FCHMODAT, GNULIB_FSTATAT, GNULIB_FUTIMENS)
(GNULIB_LCHMOD, GNULIB_LSTAT, GNULIB_MBTOWC, GNULIB_MKDIRAT)
(GNULIB_MKFIFO, GNULIB_MKFIFOAT, GNULIB_MKNOD, GNULIB_MKNODAT)
(GNULIB_STAT, GNULIB_UTIMENSAT, GNULIB_WCTOMB, HAVE_FCHMODAT)
(HAVE_FSTATAT, HAVE_FUTIMENS, HAVE_INTTYPES_H, HAVE_LCHMOD)
(HAVE_LONG_LONG_INT, HAVE_LSTAT, HAVE_MKDIRAT, HAVE_MKFIFO)
(HAVE_MKFIFOAT, HAVE_MKNOD, HAVE_MKNODAT)
(HAVE_SIGNED_SIG_ATOMIC_T, HAVE_SIGNED_WCHAR_T)
(HAVE_SIGNED_WINT_T, HAVE_STDINT_H, HAVE_SYS_BITYPES_H)
(HAVE_SYS_INTTYPES_H, HAVE_SYS_TYPES_H)
(HAVE_UNSIGNED_LONG_LONG_INT, HAVE_UTIMENSAT, HAVE_WCHAR_H)
(MKDIR_P, NEXT_AS_FIRST_DIRECTIVE_STDINT_H)
(NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H, NEXT_STDINT_H)
(NEXT_SYS_STAT_H, REPLACE_LSTAT, REPLACE_MBTOWC, REPLACE_MKDIR)
(REPLACE_MKFIFO, REPLACE_MKNOD, REPLACE_STAT, REPLACE_UTIMENSAT)
(REPLACE_WCTOMB, SIG_ATOMIC_T_SUFFIX, SIZE_T_SUFFIX, STDINT_H)
(WCHAR_T_SUFFIX, WINT_T_SUFFIX): New edits.
($(MKDIR_P)): Replace with equivalent DOS command.
msdos/sed2v2.inp (BITSIZEOF_PTRDIFF_T, BITSIZEOF_SIG_ATOMIC_T)
(BITSIZEOF_SIZE_T, BITSIZEOF_WCHAR_T, BITSIZEOF_WINT_T)
(HAVE_LONG_LONG_INT, HAVE_SIGNED_SIG_ATOMIC_T, HAVE_SIGNED_WINT_T)
(HAVE_UNSIGNED_LONG_LONG_INT, HAVE_WCHAR_H, HAVE_INTTYPES_H): New
edits.
2011-02-26 12:55:10 +00:00
|
|
|
/^HAVE_MKFIFO *=/s/@HAVE_MKFIFO@/1/
|
|
|
|
/^HAVE_MKFIFOAT *=/s/@HAVE_MKFIFOAT@/0/
|
|
|
|
/^HAVE_MKNOD *=/s/@HAVE_MKNOD@/1/
|
|
|
|
/^HAVE_MKNODAT *=/s/@HAVE_MKNODAT@/0/
|
2011-02-19 16:05:27 +00:00
|
|
|
/^HAVE_MKOSTEMP *=/s/@HAVE_MKOSTEMP@/0/
|
|
|
|
/^HAVE_MKOSTEMPS *=/s/@HAVE_MKOSTEMPS@/0/
|
|
|
|
/^HAVE_MKSTEMP *=/s/@HAVE_MKSTEMP@/1/
|
|
|
|
/^HAVE_MKSTEMPS *=/s/@HAVE_MKSTEMPS@/0/
|
|
|
|
/^HAVE_NANOSLEEP *=/s/@HAVE_NANOSLEEP@/0/
|
|
|
|
/^HAVE_OS_H *=/s/@HAVE_OS_H@/0/
|
|
|
|
/^HAVE_PIPE *=/s/@HAVE_PIPE@/0/
|
Fix the MSDOS build.
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.
2011-09-29 12:00:18 +00:00
|
|
|
/^HAVE_PCLOSE *=/s/@HAVE_PCLOSE@/1/
|
2011-02-19 16:05:27 +00:00
|
|
|
/^HAVE_PIPE2 *=/s/@HAVE_PIPE2@/0/
|
Fix the MSDOS build.
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.
2011-09-29 12:00:18 +00:00
|
|
|
/^HAVE_POPEN *=/s/@HAVE_POPEN@/1/
|
|
|
|
/^HAVE_POSIX_SIGNALBLOCKING *=/s/@HAVE_POSIX_SIGNALBLOCKING@/1/
|
Fix the MSDOS build following gnulib update.
config.bat (lib): Create/update lib/stdalign.in-h and
lib/sys_types.in-h.
msods/sedlibmk.inp (GNULIB_GL_UNISTD_H_GETOPT, GNULIB_POSIX_OPENPT)
(GNULIB_ISATTY, GNULIB_PTSNAME_R, GNULIB_RANDOM)
(GNULIB_SETHOSTNAME, HAVE_POSIX_OPENPT, HAVE_PTSNAME_R)
(HAVE_RANDOM, HAVE_SETHOSTNAME, NEXT_SYS_TYPES_H)
(NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H, REPLACE_FTRUNCATE)
(REPLACE_ISATTY, REPLACE_PTSNAME_R, REPLACE_RANDOM_R)
(REPLACE_STRTOIMAX, STDALIGN_H, WINDOWS_64_BIT_OFF_T)
(WINDOWS_64_BIT_ST_SIZE, GL_GENERATE_STDALIGN_H_TRUE)
(GL_GENERATE_STDALIGN_H_FALSE): Edit as appropriate for DJGPP.
(cat FOO): Edit into "sed -e '' FOO >>".
2012-05-27 13:42:13 +00:00
|
|
|
/^HAVE_POSIX_OPENPT *=/s/@HAVE_POSIX_OPENPT@/0/
|
2011-02-19 16:05:27 +00:00
|
|
|
/^HAVE_PREAD *=/s/@HAVE_PREAD@/0/
|
|
|
|
/^HAVE_PTSNAME *=/s/@HAVE_PTSNAME@/0/
|
Fix the MSDOS build following gnulib update.
config.bat (lib): Create/update lib/stdalign.in-h and
lib/sys_types.in-h.
msods/sedlibmk.inp (GNULIB_GL_UNISTD_H_GETOPT, GNULIB_POSIX_OPENPT)
(GNULIB_ISATTY, GNULIB_PTSNAME_R, GNULIB_RANDOM)
(GNULIB_SETHOSTNAME, HAVE_POSIX_OPENPT, HAVE_PTSNAME_R)
(HAVE_RANDOM, HAVE_SETHOSTNAME, NEXT_SYS_TYPES_H)
(NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H, REPLACE_FTRUNCATE)
(REPLACE_ISATTY, REPLACE_PTSNAME_R, REPLACE_RANDOM_R)
(REPLACE_STRTOIMAX, STDALIGN_H, WINDOWS_64_BIT_OFF_T)
(WINDOWS_64_BIT_ST_SIZE, GL_GENERATE_STDALIGN_H_TRUE)
(GL_GENERATE_STDALIGN_H_FALSE): Edit as appropriate for DJGPP.
(cat FOO): Edit into "sed -e '' FOO >>".
2012-05-27 13:42:13 +00:00
|
|
|
/^HAVE_PTSNAME_R *=/s/@HAVE_PTSNAME_R@/0/
|
Fix the MSDOS build.
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.
2011-09-29 12:00:18 +00:00
|
|
|
/^HAVE_PTHREAD_SIGMASK *=/s/@HAVE_PTHREAD_SIGMASK@/0/
|
2011-02-19 16:05:27 +00:00
|
|
|
/^HAVE_PWRITE *=/s/@HAVE_PWRITE@/0/
|
|
|
|
/^HAVE_RANDOM_H *=/s/@HAVE_RANDOM_H@/1/
|
Fix the MSDOS build.
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.
2011-09-29 12:00:18 +00:00
|
|
|
/^HAVE_RAISE *=/s/@HAVE_RAISE@/1/
|
Fix the MSDOS build following gnulib update.
config.bat (lib): Create/update lib/stdalign.in-h and
lib/sys_types.in-h.
msods/sedlibmk.inp (GNULIB_GL_UNISTD_H_GETOPT, GNULIB_POSIX_OPENPT)
(GNULIB_ISATTY, GNULIB_PTSNAME_R, GNULIB_RANDOM)
(GNULIB_SETHOSTNAME, HAVE_POSIX_OPENPT, HAVE_PTSNAME_R)
(HAVE_RANDOM, HAVE_SETHOSTNAME, NEXT_SYS_TYPES_H)
(NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H, REPLACE_FTRUNCATE)
(REPLACE_ISATTY, REPLACE_PTSNAME_R, REPLACE_RANDOM_R)
(REPLACE_STRTOIMAX, STDALIGN_H, WINDOWS_64_BIT_OFF_T)
(WINDOWS_64_BIT_ST_SIZE, GL_GENERATE_STDALIGN_H_TRUE)
(GL_GENERATE_STDALIGN_H_FALSE): Edit as appropriate for DJGPP.
(cat FOO): Edit into "sed -e '' FOO >>".
2012-05-27 13:42:13 +00:00
|
|
|
/^HAVE_RANDOM *=/s/@HAVE_RANDOM@/1/
|
2011-02-19 16:05:27 +00:00
|
|
|
/^HAVE_RANDOM_R *=/s/@HAVE_RANDOM_R@/0/
|
|
|
|
/^HAVE_READLINK *=/s/@HAVE_READLINK@/0/
|
|
|
|
/^HAVE_READLINKAT *=/s/@HAVE_READLINKAT@/0/
|
|
|
|
/^HAVE_REALPATH *=/s/@HAVE_REALPATH@/0/
|
2011-03-25 12:10:45 +00:00
|
|
|
/^HAVE_RENAMEAT *=/s/@HAVE_RENAMEAT@/0/
|
2011-02-19 16:05:27 +00:00
|
|
|
/^HAVE_RPMATCH *=/s/@HAVE_RPMATCH@/0/
|
|
|
|
/^HAVE_SETENV *=/s/@HAVE_SETENV@/1/
|
Fix the MSDOS build following gnulib update.
config.bat (lib): Create/update lib/stdalign.in-h and
lib/sys_types.in-h.
msods/sedlibmk.inp (GNULIB_GL_UNISTD_H_GETOPT, GNULIB_POSIX_OPENPT)
(GNULIB_ISATTY, GNULIB_PTSNAME_R, GNULIB_RANDOM)
(GNULIB_SETHOSTNAME, HAVE_POSIX_OPENPT, HAVE_PTSNAME_R)
(HAVE_RANDOM, HAVE_SETHOSTNAME, NEXT_SYS_TYPES_H)
(NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H, REPLACE_FTRUNCATE)
(REPLACE_ISATTY, REPLACE_PTSNAME_R, REPLACE_RANDOM_R)
(REPLACE_STRTOIMAX, STDALIGN_H, WINDOWS_64_BIT_OFF_T)
(WINDOWS_64_BIT_ST_SIZE, GL_GENERATE_STDALIGN_H_TRUE)
(GL_GENERATE_STDALIGN_H_FALSE): Edit as appropriate for DJGPP.
(cat FOO): Edit into "sed -e '' FOO >>".
2012-05-27 13:42:13 +00:00
|
|
|
/^HAVE_SETHOSTNAME *=/s/@HAVE_SETHOSTNAME@/0/
|
Fix the MSDOS build.
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.
2011-09-29 12:00:18 +00:00
|
|
|
/^HAVE_SIGACTION *=/s/@HAVE_SIGACTION@/1/
|
|
|
|
/^HAVE_SIGHANDLER_T *=/s/@HAVE_SIGHANDLER_T@/0/
|
|
|
|
/^HAVE_SIGINFO_T *=/s/@HAVE_SIGINFO_T@/0/
|
Fix Sed scripts and srs/s/msdos.h for gnulib additions. Not tested yet.
src/s/msdos.h (HAVE_LSTAT): Define for DJGPP >= 2.04.
(lstat): Define for DJGPP < 2.04.
msdos/sedlibmk.inp (BITSIZEOF_PTRDIFF_T, BITSIZEOF_SIG_ATOMIC_T)
(BITSIZEOF_SIZE_T, BITSIZEOF_WCHAR_T)
(BITSIZEOF_WINT_TGNULIB_FCHMODAT, GNULIB_FSTATAT, GNULIB_FUTIMENS)
(GNULIB_LCHMOD, GNULIB_LSTAT, GNULIB_MBTOWC, GNULIB_MKDIRAT)
(GNULIB_MKFIFO, GNULIB_MKFIFOAT, GNULIB_MKNOD, GNULIB_MKNODAT)
(GNULIB_STAT, GNULIB_UTIMENSAT, GNULIB_WCTOMB, HAVE_FCHMODAT)
(HAVE_FSTATAT, HAVE_FUTIMENS, HAVE_INTTYPES_H, HAVE_LCHMOD)
(HAVE_LONG_LONG_INT, HAVE_LSTAT, HAVE_MKDIRAT, HAVE_MKFIFO)
(HAVE_MKFIFOAT, HAVE_MKNOD, HAVE_MKNODAT)
(HAVE_SIGNED_SIG_ATOMIC_T, HAVE_SIGNED_WCHAR_T)
(HAVE_SIGNED_WINT_T, HAVE_STDINT_H, HAVE_SYS_BITYPES_H)
(HAVE_SYS_INTTYPES_H, HAVE_SYS_TYPES_H)
(HAVE_UNSIGNED_LONG_LONG_INT, HAVE_UTIMENSAT, HAVE_WCHAR_H)
(MKDIR_P, NEXT_AS_FIRST_DIRECTIVE_STDINT_H)
(NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H, NEXT_STDINT_H)
(NEXT_SYS_STAT_H, REPLACE_LSTAT, REPLACE_MBTOWC, REPLACE_MKDIR)
(REPLACE_MKFIFO, REPLACE_MKNOD, REPLACE_STAT, REPLACE_UTIMENSAT)
(REPLACE_WCTOMB, SIG_ATOMIC_T_SUFFIX, SIZE_T_SUFFIX, STDINT_H)
(WCHAR_T_SUFFIX, WINT_T_SUFFIX): New edits.
($(MKDIR_P)): Replace with equivalent DOS command.
msdos/sed2v2.inp (BITSIZEOF_PTRDIFF_T, BITSIZEOF_SIG_ATOMIC_T)
(BITSIZEOF_SIZE_T, BITSIZEOF_WCHAR_T, BITSIZEOF_WINT_T)
(HAVE_LONG_LONG_INT, HAVE_SIGNED_SIG_ATOMIC_T, HAVE_SIGNED_WINT_T)
(HAVE_UNSIGNED_LONG_LONG_INT, HAVE_WCHAR_H, HAVE_INTTYPES_H): New
edits.
2011-02-26 12:55:10 +00:00
|
|
|
/^HAVE_SIGNED_SIG_ATOMIC_T *=/s/@HAVE_SIGNED_SIG_ATOMIC_T@/1/
|
|
|
|
/^HAVE_SIGNED_WCHAR_T *=/s/@HAVE_SIGNED_WCHAR_T@/0/
|
|
|
|
/^HAVE_SIGNED_WINT_T *=/s/@HAVE_SIGNED_WINT_T@/1/
|
Fix the MSDOS build.
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.
2011-09-29 12:00:18 +00:00
|
|
|
/^HAVE_SIGSET_T *=/s/@HAVE_SIGSET_T@/1/
|
2011-02-19 16:05:27 +00:00
|
|
|
/^HAVE_SLEEP *=/s/@HAVE_SLEEP@/1/
|
Fix Sed scripts and srs/s/msdos.h for gnulib additions. Not tested yet.
src/s/msdos.h (HAVE_LSTAT): Define for DJGPP >= 2.04.
(lstat): Define for DJGPP < 2.04.
msdos/sedlibmk.inp (BITSIZEOF_PTRDIFF_T, BITSIZEOF_SIG_ATOMIC_T)
(BITSIZEOF_SIZE_T, BITSIZEOF_WCHAR_T)
(BITSIZEOF_WINT_TGNULIB_FCHMODAT, GNULIB_FSTATAT, GNULIB_FUTIMENS)
(GNULIB_LCHMOD, GNULIB_LSTAT, GNULIB_MBTOWC, GNULIB_MKDIRAT)
(GNULIB_MKFIFO, GNULIB_MKFIFOAT, GNULIB_MKNOD, GNULIB_MKNODAT)
(GNULIB_STAT, GNULIB_UTIMENSAT, GNULIB_WCTOMB, HAVE_FCHMODAT)
(HAVE_FSTATAT, HAVE_FUTIMENS, HAVE_INTTYPES_H, HAVE_LCHMOD)
(HAVE_LONG_LONG_INT, HAVE_LSTAT, HAVE_MKDIRAT, HAVE_MKFIFO)
(HAVE_MKFIFOAT, HAVE_MKNOD, HAVE_MKNODAT)
(HAVE_SIGNED_SIG_ATOMIC_T, HAVE_SIGNED_WCHAR_T)
(HAVE_SIGNED_WINT_T, HAVE_STDINT_H, HAVE_SYS_BITYPES_H)
(HAVE_SYS_INTTYPES_H, HAVE_SYS_TYPES_H)
(HAVE_UNSIGNED_LONG_LONG_INT, HAVE_UTIMENSAT, HAVE_WCHAR_H)
(MKDIR_P, NEXT_AS_FIRST_DIRECTIVE_STDINT_H)
(NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H, NEXT_STDINT_H)
(NEXT_SYS_STAT_H, REPLACE_LSTAT, REPLACE_MBTOWC, REPLACE_MKDIR)
(REPLACE_MKFIFO, REPLACE_MKNOD, REPLACE_STAT, REPLACE_UTIMENSAT)
(REPLACE_WCTOMB, SIG_ATOMIC_T_SUFFIX, SIZE_T_SUFFIX, STDINT_H)
(WCHAR_T_SUFFIX, WINT_T_SUFFIX): New edits.
($(MKDIR_P)): Replace with equivalent DOS command.
msdos/sed2v2.inp (BITSIZEOF_PTRDIFF_T, BITSIZEOF_SIG_ATOMIC_T)
(BITSIZEOF_SIZE_T, BITSIZEOF_WCHAR_T, BITSIZEOF_WINT_T)
(HAVE_LONG_LONG_INT, HAVE_SIGNED_SIG_ATOMIC_T, HAVE_SIGNED_WINT_T)
(HAVE_UNSIGNED_LONG_LONG_INT, HAVE_WCHAR_H, HAVE_INTTYPES_H): New
edits.
2011-02-26 12:55:10 +00:00
|
|
|
/^HAVE_STDINT_H *=/s/@HAVE_STDINT_H@/HAVE_STDINT_H/
|
2011-02-19 16:05:27 +00:00
|
|
|
/^HAVE_STRPTIME *=/s/@HAVE_STRPTIME@/0/
|
|
|
|
/^HAVE_STRTOD *=/s/@HAVE_STRTOD@/1/
|
|
|
|
/^HAVE_STRTOLL *=/s/@HAVE_STRTOLL@/1/
|
|
|
|
/^HAVE_STRTOULL *=/s/@HAVE_STRTOULL@/1/
|
Fix the MSDOS build.
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.
2011-09-29 12:00:18 +00:00
|
|
|
/^HAVE_STRUCT_SIGACTION_SA_SIGACTION *=/s/@HAVE_STRUCT_SIGACTION_SA_SIGACTION@/0/
|
2011-02-19 16:05:27 +00:00
|
|
|
/^HAVE_STRUCT_RANDOM_DATA *=/s/@HAVE_STRUCT_RANDOM_DATA@/0/
|
|
|
|
/^HAVE_SYMLINK *=/s/@HAVE_SYMLINK@/1/
|
|
|
|
/^HAVE_SYMLINKAT *=/s/@HAVE_SYMLINKAT@/0/
|
Fix Sed scripts and srs/s/msdos.h for gnulib additions. Not tested yet.
src/s/msdos.h (HAVE_LSTAT): Define for DJGPP >= 2.04.
(lstat): Define for DJGPP < 2.04.
msdos/sedlibmk.inp (BITSIZEOF_PTRDIFF_T, BITSIZEOF_SIG_ATOMIC_T)
(BITSIZEOF_SIZE_T, BITSIZEOF_WCHAR_T)
(BITSIZEOF_WINT_TGNULIB_FCHMODAT, GNULIB_FSTATAT, GNULIB_FUTIMENS)
(GNULIB_LCHMOD, GNULIB_LSTAT, GNULIB_MBTOWC, GNULIB_MKDIRAT)
(GNULIB_MKFIFO, GNULIB_MKFIFOAT, GNULIB_MKNOD, GNULIB_MKNODAT)
(GNULIB_STAT, GNULIB_UTIMENSAT, GNULIB_WCTOMB, HAVE_FCHMODAT)
(HAVE_FSTATAT, HAVE_FUTIMENS, HAVE_INTTYPES_H, HAVE_LCHMOD)
(HAVE_LONG_LONG_INT, HAVE_LSTAT, HAVE_MKDIRAT, HAVE_MKFIFO)
(HAVE_MKFIFOAT, HAVE_MKNOD, HAVE_MKNODAT)
(HAVE_SIGNED_SIG_ATOMIC_T, HAVE_SIGNED_WCHAR_T)
(HAVE_SIGNED_WINT_T, HAVE_STDINT_H, HAVE_SYS_BITYPES_H)
(HAVE_SYS_INTTYPES_H, HAVE_SYS_TYPES_H)
(HAVE_UNSIGNED_LONG_LONG_INT, HAVE_UTIMENSAT, HAVE_WCHAR_H)
(MKDIR_P, NEXT_AS_FIRST_DIRECTIVE_STDINT_H)
(NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H, NEXT_STDINT_H)
(NEXT_SYS_STAT_H, REPLACE_LSTAT, REPLACE_MBTOWC, REPLACE_MKDIR)
(REPLACE_MKFIFO, REPLACE_MKNOD, REPLACE_STAT, REPLACE_UTIMENSAT)
(REPLACE_WCTOMB, SIG_ATOMIC_T_SUFFIX, SIZE_T_SUFFIX, STDINT_H)
(WCHAR_T_SUFFIX, WINT_T_SUFFIX): New edits.
($(MKDIR_P)): Replace with equivalent DOS command.
msdos/sed2v2.inp (BITSIZEOF_PTRDIFF_T, BITSIZEOF_SIG_ATOMIC_T)
(BITSIZEOF_SIZE_T, BITSIZEOF_WCHAR_T, BITSIZEOF_WINT_T)
(HAVE_LONG_LONG_INT, HAVE_SIGNED_SIG_ATOMIC_T, HAVE_SIGNED_WINT_T)
(HAVE_UNSIGNED_LONG_LONG_INT, HAVE_WCHAR_H, HAVE_INTTYPES_H): New
edits.
2011-02-26 12:55:10 +00:00
|
|
|
/^HAVE_SYS_BITYPES_H *=/s/@HAVE_SYS_BITYPES_H@/0/
|
|
|
|
/^HAVE_SYS_INTTYPES_H *=/s/@HAVE_SYS_INTTYPES_H@/0/
|
2011-02-19 16:05:27 +00:00
|
|
|
/^HAVE_SYS_LOADAVG_H *=/s/@HAVE_SYS_LOADAVG_H@/0/
|
|
|
|
/^HAVE_SYS_PARAM_H *=/s/@HAVE_SYS_PARAM_H@/1/
|
Fix Sed scripts and srs/s/msdos.h for gnulib additions. Not tested yet.
src/s/msdos.h (HAVE_LSTAT): Define for DJGPP >= 2.04.
(lstat): Define for DJGPP < 2.04.
msdos/sedlibmk.inp (BITSIZEOF_PTRDIFF_T, BITSIZEOF_SIG_ATOMIC_T)
(BITSIZEOF_SIZE_T, BITSIZEOF_WCHAR_T)
(BITSIZEOF_WINT_TGNULIB_FCHMODAT, GNULIB_FSTATAT, GNULIB_FUTIMENS)
(GNULIB_LCHMOD, GNULIB_LSTAT, GNULIB_MBTOWC, GNULIB_MKDIRAT)
(GNULIB_MKFIFO, GNULIB_MKFIFOAT, GNULIB_MKNOD, GNULIB_MKNODAT)
(GNULIB_STAT, GNULIB_UTIMENSAT, GNULIB_WCTOMB, HAVE_FCHMODAT)
(HAVE_FSTATAT, HAVE_FUTIMENS, HAVE_INTTYPES_H, HAVE_LCHMOD)
(HAVE_LONG_LONG_INT, HAVE_LSTAT, HAVE_MKDIRAT, HAVE_MKFIFO)
(HAVE_MKFIFOAT, HAVE_MKNOD, HAVE_MKNODAT)
(HAVE_SIGNED_SIG_ATOMIC_T, HAVE_SIGNED_WCHAR_T)
(HAVE_SIGNED_WINT_T, HAVE_STDINT_H, HAVE_SYS_BITYPES_H)
(HAVE_SYS_INTTYPES_H, HAVE_SYS_TYPES_H)
(HAVE_UNSIGNED_LONG_LONG_INT, HAVE_UTIMENSAT, HAVE_WCHAR_H)
(MKDIR_P, NEXT_AS_FIRST_DIRECTIVE_STDINT_H)
(NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H, NEXT_STDINT_H)
(NEXT_SYS_STAT_H, REPLACE_LSTAT, REPLACE_MBTOWC, REPLACE_MKDIR)
(REPLACE_MKFIFO, REPLACE_MKNOD, REPLACE_STAT, REPLACE_UTIMENSAT)
(REPLACE_WCTOMB, SIG_ATOMIC_T_SUFFIX, SIZE_T_SUFFIX, STDINT_H)
(WCHAR_T_SUFFIX, WINT_T_SUFFIX): New edits.
($(MKDIR_P)): Replace with equivalent DOS command.
msdos/sed2v2.inp (BITSIZEOF_PTRDIFF_T, BITSIZEOF_SIG_ATOMIC_T)
(BITSIZEOF_SIZE_T, BITSIZEOF_WCHAR_T, BITSIZEOF_WINT_T)
(HAVE_LONG_LONG_INT, HAVE_SIGNED_SIG_ATOMIC_T, HAVE_SIGNED_WINT_T)
(HAVE_UNSIGNED_LONG_LONG_INT, HAVE_WCHAR_H, HAVE_INTTYPES_H): New
edits.
2011-02-26 12:55:10 +00:00
|
|
|
/^HAVE_SYS_TYPES_H *=/s/@HAVE_SYS_TYPES_H@/1/
|
2011-02-19 16:05:27 +00:00
|
|
|
/^HAVE_TIMEGM *=/s/@HAVE_TIMEGM@/0/
|
Fix the MSDOS build.
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.
2011-09-29 12:00:18 +00:00
|
|
|
/^HAVE_TYPE_VOLATILE_SIG_ATOMIC_T *=/s/@HAVE_TYPE_VOLATILE_SIG_ATOMIC_T@/1/
|
2011-02-19 16:05:27 +00:00
|
|
|
/^HAVE_UNISTD_H *=/s/@HAVE_UNISTD_H@/1/
|
|
|
|
/^HAVE_UNLINKAT *=/s/@HAVE_UNLINKAT@/0/
|
|
|
|
/^HAVE_UNLOCKPT *=/s/@HAVE_UNLOCKPT@/0/
|
Fix Sed scripts and srs/s/msdos.h for gnulib additions. Not tested yet.
src/s/msdos.h (HAVE_LSTAT): Define for DJGPP >= 2.04.
(lstat): Define for DJGPP < 2.04.
msdos/sedlibmk.inp (BITSIZEOF_PTRDIFF_T, BITSIZEOF_SIG_ATOMIC_T)
(BITSIZEOF_SIZE_T, BITSIZEOF_WCHAR_T)
(BITSIZEOF_WINT_TGNULIB_FCHMODAT, GNULIB_FSTATAT, GNULIB_FUTIMENS)
(GNULIB_LCHMOD, GNULIB_LSTAT, GNULIB_MBTOWC, GNULIB_MKDIRAT)
(GNULIB_MKFIFO, GNULIB_MKFIFOAT, GNULIB_MKNOD, GNULIB_MKNODAT)
(GNULIB_STAT, GNULIB_UTIMENSAT, GNULIB_WCTOMB, HAVE_FCHMODAT)
(HAVE_FSTATAT, HAVE_FUTIMENS, HAVE_INTTYPES_H, HAVE_LCHMOD)
(HAVE_LONG_LONG_INT, HAVE_LSTAT, HAVE_MKDIRAT, HAVE_MKFIFO)
(HAVE_MKFIFOAT, HAVE_MKNOD, HAVE_MKNODAT)
(HAVE_SIGNED_SIG_ATOMIC_T, HAVE_SIGNED_WCHAR_T)
(HAVE_SIGNED_WINT_T, HAVE_STDINT_H, HAVE_SYS_BITYPES_H)
(HAVE_SYS_INTTYPES_H, HAVE_SYS_TYPES_H)
(HAVE_UNSIGNED_LONG_LONG_INT, HAVE_UTIMENSAT, HAVE_WCHAR_H)
(MKDIR_P, NEXT_AS_FIRST_DIRECTIVE_STDINT_H)
(NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H, NEXT_STDINT_H)
(NEXT_SYS_STAT_H, REPLACE_LSTAT, REPLACE_MBTOWC, REPLACE_MKDIR)
(REPLACE_MKFIFO, REPLACE_MKNOD, REPLACE_STAT, REPLACE_UTIMENSAT)
(REPLACE_WCTOMB, SIG_ATOMIC_T_SUFFIX, SIZE_T_SUFFIX, STDINT_H)
(WCHAR_T_SUFFIX, WINT_T_SUFFIX): New edits.
($(MKDIR_P)): Replace with equivalent DOS command.
msdos/sed2v2.inp (BITSIZEOF_PTRDIFF_T, BITSIZEOF_SIG_ATOMIC_T)
(BITSIZEOF_SIZE_T, BITSIZEOF_WCHAR_T, BITSIZEOF_WINT_T)
(HAVE_LONG_LONG_INT, HAVE_SIGNED_SIG_ATOMIC_T, HAVE_SIGNED_WINT_T)
(HAVE_UNSIGNED_LONG_LONG_INT, HAVE_WCHAR_H, HAVE_INTTYPES_H): New
edits.
2011-02-26 12:55:10 +00:00
|
|
|
/^HAVE_UNSIGNED_LONG_LONG_INT *=/s/@HAVE_UNSIGNED_LONG_LONG_INT@/1/
|
2011-02-19 16:05:27 +00:00
|
|
|
/^HAVE_USLEEP *=/s/@HAVE_USLEEP@/1/
|
Fix Sed scripts and srs/s/msdos.h for gnulib additions. Not tested yet.
src/s/msdos.h (HAVE_LSTAT): Define for DJGPP >= 2.04.
(lstat): Define for DJGPP < 2.04.
msdos/sedlibmk.inp (BITSIZEOF_PTRDIFF_T, BITSIZEOF_SIG_ATOMIC_T)
(BITSIZEOF_SIZE_T, BITSIZEOF_WCHAR_T)
(BITSIZEOF_WINT_TGNULIB_FCHMODAT, GNULIB_FSTATAT, GNULIB_FUTIMENS)
(GNULIB_LCHMOD, GNULIB_LSTAT, GNULIB_MBTOWC, GNULIB_MKDIRAT)
(GNULIB_MKFIFO, GNULIB_MKFIFOAT, GNULIB_MKNOD, GNULIB_MKNODAT)
(GNULIB_STAT, GNULIB_UTIMENSAT, GNULIB_WCTOMB, HAVE_FCHMODAT)
(HAVE_FSTATAT, HAVE_FUTIMENS, HAVE_INTTYPES_H, HAVE_LCHMOD)
(HAVE_LONG_LONG_INT, HAVE_LSTAT, HAVE_MKDIRAT, HAVE_MKFIFO)
(HAVE_MKFIFOAT, HAVE_MKNOD, HAVE_MKNODAT)
(HAVE_SIGNED_SIG_ATOMIC_T, HAVE_SIGNED_WCHAR_T)
(HAVE_SIGNED_WINT_T, HAVE_STDINT_H, HAVE_SYS_BITYPES_H)
(HAVE_SYS_INTTYPES_H, HAVE_SYS_TYPES_H)
(HAVE_UNSIGNED_LONG_LONG_INT, HAVE_UTIMENSAT, HAVE_WCHAR_H)
(MKDIR_P, NEXT_AS_FIRST_DIRECTIVE_STDINT_H)
(NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H, NEXT_STDINT_H)
(NEXT_SYS_STAT_H, REPLACE_LSTAT, REPLACE_MBTOWC, REPLACE_MKDIR)
(REPLACE_MKFIFO, REPLACE_MKNOD, REPLACE_STAT, REPLACE_UTIMENSAT)
(REPLACE_WCTOMB, SIG_ATOMIC_T_SUFFIX, SIZE_T_SUFFIX, STDINT_H)
(WCHAR_T_SUFFIX, WINT_T_SUFFIX): New edits.
($(MKDIR_P)): Replace with equivalent DOS command.
msdos/sed2v2.inp (BITSIZEOF_PTRDIFF_T, BITSIZEOF_SIG_ATOMIC_T)
(BITSIZEOF_SIZE_T, BITSIZEOF_WCHAR_T, BITSIZEOF_WINT_T)
(HAVE_LONG_LONG_INT, HAVE_SIGNED_SIG_ATOMIC_T, HAVE_SIGNED_WINT_T)
(HAVE_UNSIGNED_LONG_LONG_INT, HAVE_WCHAR_H, HAVE_INTTYPES_H): New
edits.
2011-02-26 12:55:10 +00:00
|
|
|
/^HAVE_UTIMENSAT *=/s/@HAVE_UTIMENSAT@/0/
|
2011-03-25 12:10:45 +00:00
|
|
|
/^HAVE_VASPRINTF *=/s/@HAVE_VASPRINTF@/0/
|
|
|
|
/^HAVE_VDPRINTF *=/s/@HAVE_VDPRINTF@/0/
|
Fix Sed scripts and srs/s/msdos.h for gnulib additions. Not tested yet.
src/s/msdos.h (HAVE_LSTAT): Define for DJGPP >= 2.04.
(lstat): Define for DJGPP < 2.04.
msdos/sedlibmk.inp (BITSIZEOF_PTRDIFF_T, BITSIZEOF_SIG_ATOMIC_T)
(BITSIZEOF_SIZE_T, BITSIZEOF_WCHAR_T)
(BITSIZEOF_WINT_TGNULIB_FCHMODAT, GNULIB_FSTATAT, GNULIB_FUTIMENS)
(GNULIB_LCHMOD, GNULIB_LSTAT, GNULIB_MBTOWC, GNULIB_MKDIRAT)
(GNULIB_MKFIFO, GNULIB_MKFIFOAT, GNULIB_MKNOD, GNULIB_MKNODAT)
(GNULIB_STAT, GNULIB_UTIMENSAT, GNULIB_WCTOMB, HAVE_FCHMODAT)
(HAVE_FSTATAT, HAVE_FUTIMENS, HAVE_INTTYPES_H, HAVE_LCHMOD)
(HAVE_LONG_LONG_INT, HAVE_LSTAT, HAVE_MKDIRAT, HAVE_MKFIFO)
(HAVE_MKFIFOAT, HAVE_MKNOD, HAVE_MKNODAT)
(HAVE_SIGNED_SIG_ATOMIC_T, HAVE_SIGNED_WCHAR_T)
(HAVE_SIGNED_WINT_T, HAVE_STDINT_H, HAVE_SYS_BITYPES_H)
(HAVE_SYS_INTTYPES_H, HAVE_SYS_TYPES_H)
(HAVE_UNSIGNED_LONG_LONG_INT, HAVE_UTIMENSAT, HAVE_WCHAR_H)
(MKDIR_P, NEXT_AS_FIRST_DIRECTIVE_STDINT_H)
(NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H, NEXT_STDINT_H)
(NEXT_SYS_STAT_H, REPLACE_LSTAT, REPLACE_MBTOWC, REPLACE_MKDIR)
(REPLACE_MKFIFO, REPLACE_MKNOD, REPLACE_STAT, REPLACE_UTIMENSAT)
(REPLACE_WCTOMB, SIG_ATOMIC_T_SUFFIX, SIZE_T_SUFFIX, STDINT_H)
(WCHAR_T_SUFFIX, WINT_T_SUFFIX): New edits.
($(MKDIR_P)): Replace with equivalent DOS command.
msdos/sed2v2.inp (BITSIZEOF_PTRDIFF_T, BITSIZEOF_SIG_ATOMIC_T)
(BITSIZEOF_SIZE_T, BITSIZEOF_WCHAR_T, BITSIZEOF_WINT_T)
(HAVE_LONG_LONG_INT, HAVE_SIGNED_SIG_ATOMIC_T, HAVE_SIGNED_WINT_T)
(HAVE_UNSIGNED_LONG_LONG_INT, HAVE_WCHAR_H, HAVE_INTTYPES_H): New
edits.
2011-02-26 12:55:10 +00:00
|
|
|
/^HAVE_WCHAR_H *=/s/@HAVE_WCHAR_H@/1/
|
2011-02-19 16:05:27 +00:00
|
|
|
/^HAVE_WCHAR_T *=/s/@HAVE_WCHAR_T@/1/
|
|
|
|
/^HAVE_XSERVER *=/s/@HAVE_XSERVER@/0/
|
|
|
|
/^HAVE__BOOL *=/s/@HAVE__BOOL@/1/
|
|
|
|
/^HAVE__EXIT *=/s/@HAVE__EXIT@/1/
|
|
|
|
/^INCLUDE_NEXT *=/s/@INCLUDE_NEXT@/include_next/
|
|
|
|
/^INCLUDE_NEXT_AS_FIRST_DIRECTIVE *=/s/@[^@\n]*@/include_next/
|
|
|
|
/^LDFLAGS *=/s/@[^@\n]*@//
|
|
|
|
/^LD_FIRSTFLAG *=/s/@[^@\n]*@//
|
Fix the MSDOS build.
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.
2011-09-29 12:00:18 +00:00
|
|
|
/^LIB_PTHREAD *=/s/@[^@\n]*@//
|
|
|
|
/^LIB_PTHREAD_SIGMASK *=/s/@[^@\n]*@//
|
2011-02-19 16:05:27 +00:00
|
|
|
/^LIBS *=/s/@[^@\n]*@//
|
|
|
|
/^MAKEINFO *=/s/@MAKEINFO@/makeinfo/
|
Fix Sed scripts and srs/s/msdos.h for gnulib additions. Not tested yet.
src/s/msdos.h (HAVE_LSTAT): Define for DJGPP >= 2.04.
(lstat): Define for DJGPP < 2.04.
msdos/sedlibmk.inp (BITSIZEOF_PTRDIFF_T, BITSIZEOF_SIG_ATOMIC_T)
(BITSIZEOF_SIZE_T, BITSIZEOF_WCHAR_T)
(BITSIZEOF_WINT_TGNULIB_FCHMODAT, GNULIB_FSTATAT, GNULIB_FUTIMENS)
(GNULIB_LCHMOD, GNULIB_LSTAT, GNULIB_MBTOWC, GNULIB_MKDIRAT)
(GNULIB_MKFIFO, GNULIB_MKFIFOAT, GNULIB_MKNOD, GNULIB_MKNODAT)
(GNULIB_STAT, GNULIB_UTIMENSAT, GNULIB_WCTOMB, HAVE_FCHMODAT)
(HAVE_FSTATAT, HAVE_FUTIMENS, HAVE_INTTYPES_H, HAVE_LCHMOD)
(HAVE_LONG_LONG_INT, HAVE_LSTAT, HAVE_MKDIRAT, HAVE_MKFIFO)
(HAVE_MKFIFOAT, HAVE_MKNOD, HAVE_MKNODAT)
(HAVE_SIGNED_SIG_ATOMIC_T, HAVE_SIGNED_WCHAR_T)
(HAVE_SIGNED_WINT_T, HAVE_STDINT_H, HAVE_SYS_BITYPES_H)
(HAVE_SYS_INTTYPES_H, HAVE_SYS_TYPES_H)
(HAVE_UNSIGNED_LONG_LONG_INT, HAVE_UTIMENSAT, HAVE_WCHAR_H)
(MKDIR_P, NEXT_AS_FIRST_DIRECTIVE_STDINT_H)
(NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H, NEXT_STDINT_H)
(NEXT_SYS_STAT_H, REPLACE_LSTAT, REPLACE_MBTOWC, REPLACE_MKDIR)
(REPLACE_MKFIFO, REPLACE_MKNOD, REPLACE_STAT, REPLACE_UTIMENSAT)
(REPLACE_WCTOMB, SIG_ATOMIC_T_SUFFIX, SIZE_T_SUFFIX, STDINT_H)
(WCHAR_T_SUFFIX, WINT_T_SUFFIX): New edits.
($(MKDIR_P)): Replace with equivalent DOS command.
msdos/sed2v2.inp (BITSIZEOF_PTRDIFF_T, BITSIZEOF_SIG_ATOMIC_T)
(BITSIZEOF_SIZE_T, BITSIZEOF_WCHAR_T, BITSIZEOF_WINT_T)
(HAVE_LONG_LONG_INT, HAVE_SIGNED_SIG_ATOMIC_T, HAVE_SIGNED_WINT_T)
(HAVE_UNSIGNED_LONG_LONG_INT, HAVE_WCHAR_H, HAVE_INTTYPES_H): New
edits.
2011-02-26 12:55:10 +00:00
|
|
|
# MKDIR_P lines are edited further below
|
|
|
|
/^MKDIR_P *=/s/@MKDIR_P@//
|
2011-02-19 16:05:27 +00:00
|
|
|
/^NEXT_AS_FIRST_DIRECTIVE_GETOPT_H *=/s/@[^@\n]*@/<getopt.h>/
|
Fix the MSDOS build.
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.
2011-09-29 12:00:18 +00:00
|
|
|
/^NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H *=/s/@[^@\n]*@/<signal.h>/
|
2011-05-07 10:24:55 +00:00
|
|
|
/^NEXT_AS_FIRST_DIRECTIVE_STDARG_H *=/s/@[^@\n]*@//
|
2011-02-19 16:05:27 +00:00
|
|
|
/^NEXT_AS_FIRST_DIRECTIVE_STDDEF_H *=/s/@[^@\n]*@//
|
Fix Sed scripts and srs/s/msdos.h for gnulib additions. Not tested yet.
src/s/msdos.h (HAVE_LSTAT): Define for DJGPP >= 2.04.
(lstat): Define for DJGPP < 2.04.
msdos/sedlibmk.inp (BITSIZEOF_PTRDIFF_T, BITSIZEOF_SIG_ATOMIC_T)
(BITSIZEOF_SIZE_T, BITSIZEOF_WCHAR_T)
(BITSIZEOF_WINT_TGNULIB_FCHMODAT, GNULIB_FSTATAT, GNULIB_FUTIMENS)
(GNULIB_LCHMOD, GNULIB_LSTAT, GNULIB_MBTOWC, GNULIB_MKDIRAT)
(GNULIB_MKFIFO, GNULIB_MKFIFOAT, GNULIB_MKNOD, GNULIB_MKNODAT)
(GNULIB_STAT, GNULIB_UTIMENSAT, GNULIB_WCTOMB, HAVE_FCHMODAT)
(HAVE_FSTATAT, HAVE_FUTIMENS, HAVE_INTTYPES_H, HAVE_LCHMOD)
(HAVE_LONG_LONG_INT, HAVE_LSTAT, HAVE_MKDIRAT, HAVE_MKFIFO)
(HAVE_MKFIFOAT, HAVE_MKNOD, HAVE_MKNODAT)
(HAVE_SIGNED_SIG_ATOMIC_T, HAVE_SIGNED_WCHAR_T)
(HAVE_SIGNED_WINT_T, HAVE_STDINT_H, HAVE_SYS_BITYPES_H)
(HAVE_SYS_INTTYPES_H, HAVE_SYS_TYPES_H)
(HAVE_UNSIGNED_LONG_LONG_INT, HAVE_UTIMENSAT, HAVE_WCHAR_H)
(MKDIR_P, NEXT_AS_FIRST_DIRECTIVE_STDINT_H)
(NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H, NEXT_STDINT_H)
(NEXT_SYS_STAT_H, REPLACE_LSTAT, REPLACE_MBTOWC, REPLACE_MKDIR)
(REPLACE_MKFIFO, REPLACE_MKNOD, REPLACE_STAT, REPLACE_UTIMENSAT)
(REPLACE_WCTOMB, SIG_ATOMIC_T_SUFFIX, SIZE_T_SUFFIX, STDINT_H)
(WCHAR_T_SUFFIX, WINT_T_SUFFIX): New edits.
($(MKDIR_P)): Replace with equivalent DOS command.
msdos/sed2v2.inp (BITSIZEOF_PTRDIFF_T, BITSIZEOF_SIG_ATOMIC_T)
(BITSIZEOF_SIZE_T, BITSIZEOF_WCHAR_T, BITSIZEOF_WINT_T)
(HAVE_LONG_LONG_INT, HAVE_SIGNED_SIG_ATOMIC_T, HAVE_SIGNED_WINT_T)
(HAVE_UNSIGNED_LONG_LONG_INT, HAVE_WCHAR_H, HAVE_INTTYPES_H): New
edits.
2011-02-26 12:55:10 +00:00
|
|
|
/^NEXT_AS_FIRST_DIRECTIVE_STDINT_H *=/s/@[^@\n]*@/<stdint.h>/
|
2011-03-25 12:52:03 +00:00
|
|
|
/^NEXT_AS_FIRST_DIRECTIVE_STDIO_H *=/s/@[^@\n]*@/<stdio.h>/
|
2011-02-19 16:05:27 +00:00
|
|
|
/^NEXT_AS_FIRST_DIRECTIVE_STDLIB_H *=/s/@[^@\n]*@/<stdlib.h>/
|
Fix Sed scripts and srs/s/msdos.h for gnulib additions. Not tested yet.
src/s/msdos.h (HAVE_LSTAT): Define for DJGPP >= 2.04.
(lstat): Define for DJGPP < 2.04.
msdos/sedlibmk.inp (BITSIZEOF_PTRDIFF_T, BITSIZEOF_SIG_ATOMIC_T)
(BITSIZEOF_SIZE_T, BITSIZEOF_WCHAR_T)
(BITSIZEOF_WINT_TGNULIB_FCHMODAT, GNULIB_FSTATAT, GNULIB_FUTIMENS)
(GNULIB_LCHMOD, GNULIB_LSTAT, GNULIB_MBTOWC, GNULIB_MKDIRAT)
(GNULIB_MKFIFO, GNULIB_MKFIFOAT, GNULIB_MKNOD, GNULIB_MKNODAT)
(GNULIB_STAT, GNULIB_UTIMENSAT, GNULIB_WCTOMB, HAVE_FCHMODAT)
(HAVE_FSTATAT, HAVE_FUTIMENS, HAVE_INTTYPES_H, HAVE_LCHMOD)
(HAVE_LONG_LONG_INT, HAVE_LSTAT, HAVE_MKDIRAT, HAVE_MKFIFO)
(HAVE_MKFIFOAT, HAVE_MKNOD, HAVE_MKNODAT)
(HAVE_SIGNED_SIG_ATOMIC_T, HAVE_SIGNED_WCHAR_T)
(HAVE_SIGNED_WINT_T, HAVE_STDINT_H, HAVE_SYS_BITYPES_H)
(HAVE_SYS_INTTYPES_H, HAVE_SYS_TYPES_H)
(HAVE_UNSIGNED_LONG_LONG_INT, HAVE_UTIMENSAT, HAVE_WCHAR_H)
(MKDIR_P, NEXT_AS_FIRST_DIRECTIVE_STDINT_H)
(NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H, NEXT_STDINT_H)
(NEXT_SYS_STAT_H, REPLACE_LSTAT, REPLACE_MBTOWC, REPLACE_MKDIR)
(REPLACE_MKFIFO, REPLACE_MKNOD, REPLACE_STAT, REPLACE_UTIMENSAT)
(REPLACE_WCTOMB, SIG_ATOMIC_T_SUFFIX, SIZE_T_SUFFIX, STDINT_H)
(WCHAR_T_SUFFIX, WINT_T_SUFFIX): New edits.
($(MKDIR_P)): Replace with equivalent DOS command.
msdos/sed2v2.inp (BITSIZEOF_PTRDIFF_T, BITSIZEOF_SIG_ATOMIC_T)
(BITSIZEOF_SIZE_T, BITSIZEOF_WCHAR_T, BITSIZEOF_WINT_T)
(HAVE_LONG_LONG_INT, HAVE_SIGNED_SIG_ATOMIC_T, HAVE_SIGNED_WINT_T)
(HAVE_UNSIGNED_LONG_LONG_INT, HAVE_WCHAR_H, HAVE_INTTYPES_H): New
edits.
2011-02-26 12:55:10 +00:00
|
|
|
/^NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H *=/s!@[^@\n]*@!<sys/stat.h>!
|
Fix the MSDOS build following gnulib update.
config.bat (lib): Create/update lib/stdalign.in-h and
lib/sys_types.in-h.
msods/sedlibmk.inp (GNULIB_GL_UNISTD_H_GETOPT, GNULIB_POSIX_OPENPT)
(GNULIB_ISATTY, GNULIB_PTSNAME_R, GNULIB_RANDOM)
(GNULIB_SETHOSTNAME, HAVE_POSIX_OPENPT, HAVE_PTSNAME_R)
(HAVE_RANDOM, HAVE_SETHOSTNAME, NEXT_SYS_TYPES_H)
(NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H, REPLACE_FTRUNCATE)
(REPLACE_ISATTY, REPLACE_PTSNAME_R, REPLACE_RANDOM_R)
(REPLACE_STRTOIMAX, STDALIGN_H, WINDOWS_64_BIT_OFF_T)
(WINDOWS_64_BIT_ST_SIZE, GL_GENERATE_STDALIGN_H_TRUE)
(GL_GENERATE_STDALIGN_H_FALSE): Edit as appropriate for DJGPP.
(cat FOO): Edit into "sed -e '' FOO >>".
2012-05-27 13:42:13 +00:00
|
|
|
/^NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H *=/s!@[^@\n]*@!<sys/types.h>!
|
2011-02-19 16:05:27 +00:00
|
|
|
/^NEXT_AS_FIRST_DIRECTIVE_TIME_H *=/s/@[^@\n]*@/<time.h>/
|
|
|
|
/^NEXT_AS_FIRST_DIRECTIVE_UNISTD_H *=/s/@[^@\n]*@/<unistd.h>/
|
|
|
|
/^NEXT_GETOPT_H *=/s/@[^@\n]*@/<getopt.h>/
|
2011-05-07 10:24:55 +00:00
|
|
|
/^NEXT_STDARG_H *=/s/@[^@\n]*@//
|
Fix the MSDOS build.
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.
2011-09-29 12:00:18 +00:00
|
|
|
/^NEXT_SIGNAL_H *=/s/@[^@\n]*@/<signal.h>/
|
2011-02-19 16:05:27 +00:00
|
|
|
/^NEXT_STDDEF_H *=/s/@[^@\n]*@//
|
2011-03-25 12:52:03 +00:00
|
|
|
/^NEXT_STDIO_H *=/s/@[^@\n]*@/<stdio.h>/
|
Fix Sed scripts and srs/s/msdos.h for gnulib additions. Not tested yet.
src/s/msdos.h (HAVE_LSTAT): Define for DJGPP >= 2.04.
(lstat): Define for DJGPP < 2.04.
msdos/sedlibmk.inp (BITSIZEOF_PTRDIFF_T, BITSIZEOF_SIG_ATOMIC_T)
(BITSIZEOF_SIZE_T, BITSIZEOF_WCHAR_T)
(BITSIZEOF_WINT_TGNULIB_FCHMODAT, GNULIB_FSTATAT, GNULIB_FUTIMENS)
(GNULIB_LCHMOD, GNULIB_LSTAT, GNULIB_MBTOWC, GNULIB_MKDIRAT)
(GNULIB_MKFIFO, GNULIB_MKFIFOAT, GNULIB_MKNOD, GNULIB_MKNODAT)
(GNULIB_STAT, GNULIB_UTIMENSAT, GNULIB_WCTOMB, HAVE_FCHMODAT)
(HAVE_FSTATAT, HAVE_FUTIMENS, HAVE_INTTYPES_H, HAVE_LCHMOD)
(HAVE_LONG_LONG_INT, HAVE_LSTAT, HAVE_MKDIRAT, HAVE_MKFIFO)
(HAVE_MKFIFOAT, HAVE_MKNOD, HAVE_MKNODAT)
(HAVE_SIGNED_SIG_ATOMIC_T, HAVE_SIGNED_WCHAR_T)
(HAVE_SIGNED_WINT_T, HAVE_STDINT_H, HAVE_SYS_BITYPES_H)
(HAVE_SYS_INTTYPES_H, HAVE_SYS_TYPES_H)
(HAVE_UNSIGNED_LONG_LONG_INT, HAVE_UTIMENSAT, HAVE_WCHAR_H)
(MKDIR_P, NEXT_AS_FIRST_DIRECTIVE_STDINT_H)
(NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H, NEXT_STDINT_H)
(NEXT_SYS_STAT_H, REPLACE_LSTAT, REPLACE_MBTOWC, REPLACE_MKDIR)
(REPLACE_MKFIFO, REPLACE_MKNOD, REPLACE_STAT, REPLACE_UTIMENSAT)
(REPLACE_WCTOMB, SIG_ATOMIC_T_SUFFIX, SIZE_T_SUFFIX, STDINT_H)
(WCHAR_T_SUFFIX, WINT_T_SUFFIX): New edits.
($(MKDIR_P)): Replace with equivalent DOS command.
msdos/sed2v2.inp (BITSIZEOF_PTRDIFF_T, BITSIZEOF_SIG_ATOMIC_T)
(BITSIZEOF_SIZE_T, BITSIZEOF_WCHAR_T, BITSIZEOF_WINT_T)
(HAVE_LONG_LONG_INT, HAVE_SIGNED_SIG_ATOMIC_T, HAVE_SIGNED_WINT_T)
(HAVE_UNSIGNED_LONG_LONG_INT, HAVE_WCHAR_H, HAVE_INTTYPES_H): New
edits.
2011-02-26 12:55:10 +00:00
|
|
|
/^NEXT_STDINT_H *=/s/@[^@\n]*@/<stdint.h>/
|
2011-02-19 16:05:27 +00:00
|
|
|
/^NEXT_STDLIB_H *=/s/@[^@\n]*@/<stdlib.h>/
|
Fix Sed scripts and srs/s/msdos.h for gnulib additions. Not tested yet.
src/s/msdos.h (HAVE_LSTAT): Define for DJGPP >= 2.04.
(lstat): Define for DJGPP < 2.04.
msdos/sedlibmk.inp (BITSIZEOF_PTRDIFF_T, BITSIZEOF_SIG_ATOMIC_T)
(BITSIZEOF_SIZE_T, BITSIZEOF_WCHAR_T)
(BITSIZEOF_WINT_TGNULIB_FCHMODAT, GNULIB_FSTATAT, GNULIB_FUTIMENS)
(GNULIB_LCHMOD, GNULIB_LSTAT, GNULIB_MBTOWC, GNULIB_MKDIRAT)
(GNULIB_MKFIFO, GNULIB_MKFIFOAT, GNULIB_MKNOD, GNULIB_MKNODAT)
(GNULIB_STAT, GNULIB_UTIMENSAT, GNULIB_WCTOMB, HAVE_FCHMODAT)
(HAVE_FSTATAT, HAVE_FUTIMENS, HAVE_INTTYPES_H, HAVE_LCHMOD)
(HAVE_LONG_LONG_INT, HAVE_LSTAT, HAVE_MKDIRAT, HAVE_MKFIFO)
(HAVE_MKFIFOAT, HAVE_MKNOD, HAVE_MKNODAT)
(HAVE_SIGNED_SIG_ATOMIC_T, HAVE_SIGNED_WCHAR_T)
(HAVE_SIGNED_WINT_T, HAVE_STDINT_H, HAVE_SYS_BITYPES_H)
(HAVE_SYS_INTTYPES_H, HAVE_SYS_TYPES_H)
(HAVE_UNSIGNED_LONG_LONG_INT, HAVE_UTIMENSAT, HAVE_WCHAR_H)
(MKDIR_P, NEXT_AS_FIRST_DIRECTIVE_STDINT_H)
(NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H, NEXT_STDINT_H)
(NEXT_SYS_STAT_H, REPLACE_LSTAT, REPLACE_MBTOWC, REPLACE_MKDIR)
(REPLACE_MKFIFO, REPLACE_MKNOD, REPLACE_STAT, REPLACE_UTIMENSAT)
(REPLACE_WCTOMB, SIG_ATOMIC_T_SUFFIX, SIZE_T_SUFFIX, STDINT_H)
(WCHAR_T_SUFFIX, WINT_T_SUFFIX): New edits.
($(MKDIR_P)): Replace with equivalent DOS command.
msdos/sed2v2.inp (BITSIZEOF_PTRDIFF_T, BITSIZEOF_SIG_ATOMIC_T)
(BITSIZEOF_SIZE_T, BITSIZEOF_WCHAR_T, BITSIZEOF_WINT_T)
(HAVE_LONG_LONG_INT, HAVE_SIGNED_SIG_ATOMIC_T, HAVE_SIGNED_WINT_T)
(HAVE_UNSIGNED_LONG_LONG_INT, HAVE_WCHAR_H, HAVE_INTTYPES_H): New
edits.
2011-02-26 12:55:10 +00:00
|
|
|
/^NEXT_SYS_STAT_H *=/s!@[^@\n]*@!<sys/stat.h>!
|
Fix the MSDOS build following gnulib update.
config.bat (lib): Create/update lib/stdalign.in-h and
lib/sys_types.in-h.
msods/sedlibmk.inp (GNULIB_GL_UNISTD_H_GETOPT, GNULIB_POSIX_OPENPT)
(GNULIB_ISATTY, GNULIB_PTSNAME_R, GNULIB_RANDOM)
(GNULIB_SETHOSTNAME, HAVE_POSIX_OPENPT, HAVE_PTSNAME_R)
(HAVE_RANDOM, HAVE_SETHOSTNAME, NEXT_SYS_TYPES_H)
(NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H, REPLACE_FTRUNCATE)
(REPLACE_ISATTY, REPLACE_PTSNAME_R, REPLACE_RANDOM_R)
(REPLACE_STRTOIMAX, STDALIGN_H, WINDOWS_64_BIT_OFF_T)
(WINDOWS_64_BIT_ST_SIZE, GL_GENERATE_STDALIGN_H_TRUE)
(GL_GENERATE_STDALIGN_H_FALSE): Edit as appropriate for DJGPP.
(cat FOO): Edit into "sed -e '' FOO >>".
2012-05-27 13:42:13 +00:00
|
|
|
/^NEXT_SYS_TYPES_H *=/s!@[^@\n]*@!<sys/types.h>!
|
2011-02-19 16:05:27 +00:00
|
|
|
/^NEXT_TIME_H *=/s/@[^@\n]*@/<time.h>/
|
|
|
|
/^NEXT_UNISTD_H *=/s/@[^@\n]*@/<unistd.h>/
|
|
|
|
/^OBJEXT *=/s/@[^@\n]*@/o/
|
|
|
|
/^PRAGMA_COLUMNS *=/s/@[^@\n]*@//
|
2011-02-19 17:35:11 +00:00
|
|
|
/^PRAGMA_SYSTEM_HEADER *=/s/@[^@\n]*@/\\\#pragma GCC system_header/
|
2011-02-19 16:05:27 +00:00
|
|
|
/^PTHREAD_H_DEFINES_STRUCT_TIMESPEC *=/s/@[^@\n]*@/0/
|
2011-06-07 13:57:44 +00:00
|
|
|
/^PTRDIFF_T_SUFFIX *=/s/@[^@\n]*@//
|
2011-02-19 16:05:27 +00:00
|
|
|
/^RANLIB *=/s/@[^@\n]*@/ranlib/
|
|
|
|
/^REPLACE_CALLOC *=/s/@REPLACE_CALLOC@/0/
|
|
|
|
/^REPLACE_CANONICALIZE_FILE_NAME *=/s/@REPLACE_CANONICALIZE_FILE_NAME@/0/
|
|
|
|
/^REPLACE_CHOWN *=/s/@REPLACE_CHOWN@/0/
|
|
|
|
/^REPLACE_CLOSE *=/s/@REPLACE_CLOSE@/0/
|
2011-03-25 12:10:45 +00:00
|
|
|
/^REPLACE_DPRINTF *=/s/@REPLACE_DPRINTF@/0/
|
2011-02-19 16:05:27 +00:00
|
|
|
/^REPLACE_DUP *=/s/@REPLACE_DUP@/0/
|
|
|
|
/^REPLACE_DUP2 *=/s/@REPLACE_DUP2@/0/
|
|
|
|
/^REPLACE_FCHOWNAT *=/s/@REPLACE_FCHOWNAT@/0/
|
2011-03-25 12:10:45 +00:00
|
|
|
/^REPLACE_FCLOSE *=/s/@REPLACE_FCLOSE@/0/
|
Fix the MSDOS build.
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.
2011-09-29 12:00:18 +00:00
|
|
|
/^REPLACE_FDOPEN *=/s/@REPLACE_FDOPEN@/0/
|
2011-03-25 12:10:45 +00:00
|
|
|
/^REPLACE_FFLUSH *=/s/@REPLACE_FFLUSH@/0/
|
|
|
|
/^REPLACE_FOPEN *=/s/@REPLACE_FOPEN@/0/
|
|
|
|
/^REPLACE_FPRINTF *=/s/@REPLACE_FPRINTF@/0/
|
|
|
|
/^REPLACE_FPURGE *=/s/@REPLACE_FPURGE@/0/
|
|
|
|
/^REPLACE_FREOPEN *=/s/@REPLACE_FREOPEN@/0/
|
|
|
|
/^REPLACE_FSEEK *=/s/@REPLACE_FSEEK@/0/
|
|
|
|
/^REPLACE_FSEEKO *=/s/@REPLACE_FSEEKO@/0/
|
2011-02-26 13:38:25 +00:00
|
|
|
/^REPLACE_FSTAT *=/s/@REPLACE_FSTAT@/0/
|
2011-03-25 12:10:45 +00:00
|
|
|
/^REPLACE_FSTATAT *=/s/@REPLACE_FSTATAT@/0/
|
|
|
|
/^REPLACE_FTELL *=/s/@REPLACE_FTELL@/0/
|
|
|
|
/^REPLACE_FTELLO *=/s/@REPLACE_FTELLO@/0/
|
Fix the MSDOS build following gnulib update.
config.bat (lib): Create/update lib/stdalign.in-h and
lib/sys_types.in-h.
msods/sedlibmk.inp (GNULIB_GL_UNISTD_H_GETOPT, GNULIB_POSIX_OPENPT)
(GNULIB_ISATTY, GNULIB_PTSNAME_R, GNULIB_RANDOM)
(GNULIB_SETHOSTNAME, HAVE_POSIX_OPENPT, HAVE_PTSNAME_R)
(HAVE_RANDOM, HAVE_SETHOSTNAME, NEXT_SYS_TYPES_H)
(NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H, REPLACE_FTRUNCATE)
(REPLACE_ISATTY, REPLACE_PTSNAME_R, REPLACE_RANDOM_R)
(REPLACE_STRTOIMAX, STDALIGN_H, WINDOWS_64_BIT_OFF_T)
(WINDOWS_64_BIT_ST_SIZE, GL_GENERATE_STDALIGN_H_TRUE)
(GL_GENERATE_STDALIGN_H_FALSE): Edit as appropriate for DJGPP.
(cat FOO): Edit into "sed -e '' FOO >>".
2012-05-27 13:42:13 +00:00
|
|
|
/^REPLACE_FTRUNCATE *=/s/@REPLACE_FTRUNCATE@/0/
|
2011-02-19 16:05:27 +00:00
|
|
|
/^REPLACE_GETCWD *=/s/@REPLACE_GETCWD@/0/
|
2011-03-25 12:10:45 +00:00
|
|
|
/^REPLACE_GETDELIM *=/s/@REPLACE_GETDELIM@/0/
|
2011-02-19 16:05:27 +00:00
|
|
|
/^REPLACE_GETDOMAINNAME *=/s/@REPLACE_GETDOMAINNAME@/0/
|
|
|
|
/^REPLACE_GETGROUPS *=/s/@REPLACE_GETGROUPS@/0/
|
2011-03-25 12:10:45 +00:00
|
|
|
/^REPLACE_GETLINE *=/s/@REPLACE_GETLINE@/0/
|
2011-02-19 16:05:27 +00:00
|
|
|
/^REPLACE_GETLOGIN_R *=/s/@REPLACE_GETLOGIN_R@/0/
|
|
|
|
/^REPLACE_GETPAGESIZE *=/s/@REPLACE_GETPAGESIZE@/0/
|
Fix the MSDOS build following gnulib update.
config.bat (lib): Create/update lib/stdalign.in-h and
lib/sys_types.in-h.
msods/sedlibmk.inp (GNULIB_GL_UNISTD_H_GETOPT, GNULIB_POSIX_OPENPT)
(GNULIB_ISATTY, GNULIB_PTSNAME_R, GNULIB_RANDOM)
(GNULIB_SETHOSTNAME, HAVE_POSIX_OPENPT, HAVE_PTSNAME_R)
(HAVE_RANDOM, HAVE_SETHOSTNAME, NEXT_SYS_TYPES_H)
(NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H, REPLACE_FTRUNCATE)
(REPLACE_ISATTY, REPLACE_PTSNAME_R, REPLACE_RANDOM_R)
(REPLACE_STRTOIMAX, STDALIGN_H, WINDOWS_64_BIT_OFF_T)
(WINDOWS_64_BIT_ST_SIZE, GL_GENERATE_STDALIGN_H_TRUE)
(GL_GENERATE_STDALIGN_H_FALSE): Edit as appropriate for DJGPP.
(cat FOO): Edit into "sed -e '' FOO >>".
2012-05-27 13:42:13 +00:00
|
|
|
/^REPLACE_ISATTY *=/s/@REPLACE_ISATTY@/0/
|
2011-02-19 16:05:27 +00:00
|
|
|
/^REPLACE_LCHOWN *=/s/@REPLACE_LCHOWN@/0/
|
|
|
|
/^REPLACE_LINK *=/s/@REPLACE_LINK@/0/
|
|
|
|
/^REPLACE_LINKAT *=/s/@REPLACE_LINKAT@/0/
|
|
|
|
/^REPLACE_LOCALTIME_R *=/s/@REPLACE_LOCALTIME_R@/0/
|
|
|
|
/^REPLACE_LSEEK *=/s/@REPLACE_LSEEK@/0/
|
Fix Sed scripts and srs/s/msdos.h for gnulib additions. Not tested yet.
src/s/msdos.h (HAVE_LSTAT): Define for DJGPP >= 2.04.
(lstat): Define for DJGPP < 2.04.
msdos/sedlibmk.inp (BITSIZEOF_PTRDIFF_T, BITSIZEOF_SIG_ATOMIC_T)
(BITSIZEOF_SIZE_T, BITSIZEOF_WCHAR_T)
(BITSIZEOF_WINT_TGNULIB_FCHMODAT, GNULIB_FSTATAT, GNULIB_FUTIMENS)
(GNULIB_LCHMOD, GNULIB_LSTAT, GNULIB_MBTOWC, GNULIB_MKDIRAT)
(GNULIB_MKFIFO, GNULIB_MKFIFOAT, GNULIB_MKNOD, GNULIB_MKNODAT)
(GNULIB_STAT, GNULIB_UTIMENSAT, GNULIB_WCTOMB, HAVE_FCHMODAT)
(HAVE_FSTATAT, HAVE_FUTIMENS, HAVE_INTTYPES_H, HAVE_LCHMOD)
(HAVE_LONG_LONG_INT, HAVE_LSTAT, HAVE_MKDIRAT, HAVE_MKFIFO)
(HAVE_MKFIFOAT, HAVE_MKNOD, HAVE_MKNODAT)
(HAVE_SIGNED_SIG_ATOMIC_T, HAVE_SIGNED_WCHAR_T)
(HAVE_SIGNED_WINT_T, HAVE_STDINT_H, HAVE_SYS_BITYPES_H)
(HAVE_SYS_INTTYPES_H, HAVE_SYS_TYPES_H)
(HAVE_UNSIGNED_LONG_LONG_INT, HAVE_UTIMENSAT, HAVE_WCHAR_H)
(MKDIR_P, NEXT_AS_FIRST_DIRECTIVE_STDINT_H)
(NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H, NEXT_STDINT_H)
(NEXT_SYS_STAT_H, REPLACE_LSTAT, REPLACE_MBTOWC, REPLACE_MKDIR)
(REPLACE_MKFIFO, REPLACE_MKNOD, REPLACE_STAT, REPLACE_UTIMENSAT)
(REPLACE_WCTOMB, SIG_ATOMIC_T_SUFFIX, SIZE_T_SUFFIX, STDINT_H)
(WCHAR_T_SUFFIX, WINT_T_SUFFIX): New edits.
($(MKDIR_P)): Replace with equivalent DOS command.
msdos/sed2v2.inp (BITSIZEOF_PTRDIFF_T, BITSIZEOF_SIG_ATOMIC_T)
(BITSIZEOF_SIZE_T, BITSIZEOF_WCHAR_T, BITSIZEOF_WINT_T)
(HAVE_LONG_LONG_INT, HAVE_SIGNED_SIG_ATOMIC_T, HAVE_SIGNED_WINT_T)
(HAVE_UNSIGNED_LONG_LONG_INT, HAVE_WCHAR_H, HAVE_INTTYPES_H): New
edits.
2011-02-26 12:55:10 +00:00
|
|
|
/^REPLACE_LSTAT *=/s/@REPLACE_LSTAT@/0/
|
2011-02-19 16:05:27 +00:00
|
|
|
/^REPLACE_MALLOC *=/s/@REPLACE_MALLOC@/0/
|
Fix Sed scripts and srs/s/msdos.h for gnulib additions. Not tested yet.
src/s/msdos.h (HAVE_LSTAT): Define for DJGPP >= 2.04.
(lstat): Define for DJGPP < 2.04.
msdos/sedlibmk.inp (BITSIZEOF_PTRDIFF_T, BITSIZEOF_SIG_ATOMIC_T)
(BITSIZEOF_SIZE_T, BITSIZEOF_WCHAR_T)
(BITSIZEOF_WINT_TGNULIB_FCHMODAT, GNULIB_FSTATAT, GNULIB_FUTIMENS)
(GNULIB_LCHMOD, GNULIB_LSTAT, GNULIB_MBTOWC, GNULIB_MKDIRAT)
(GNULIB_MKFIFO, GNULIB_MKFIFOAT, GNULIB_MKNOD, GNULIB_MKNODAT)
(GNULIB_STAT, GNULIB_UTIMENSAT, GNULIB_WCTOMB, HAVE_FCHMODAT)
(HAVE_FSTATAT, HAVE_FUTIMENS, HAVE_INTTYPES_H, HAVE_LCHMOD)
(HAVE_LONG_LONG_INT, HAVE_LSTAT, HAVE_MKDIRAT, HAVE_MKFIFO)
(HAVE_MKFIFOAT, HAVE_MKNOD, HAVE_MKNODAT)
(HAVE_SIGNED_SIG_ATOMIC_T, HAVE_SIGNED_WCHAR_T)
(HAVE_SIGNED_WINT_T, HAVE_STDINT_H, HAVE_SYS_BITYPES_H)
(HAVE_SYS_INTTYPES_H, HAVE_SYS_TYPES_H)
(HAVE_UNSIGNED_LONG_LONG_INT, HAVE_UTIMENSAT, HAVE_WCHAR_H)
(MKDIR_P, NEXT_AS_FIRST_DIRECTIVE_STDINT_H)
(NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H, NEXT_STDINT_H)
(NEXT_SYS_STAT_H, REPLACE_LSTAT, REPLACE_MBTOWC, REPLACE_MKDIR)
(REPLACE_MKFIFO, REPLACE_MKNOD, REPLACE_STAT, REPLACE_UTIMENSAT)
(REPLACE_WCTOMB, SIG_ATOMIC_T_SUFFIX, SIZE_T_SUFFIX, STDINT_H)
(WCHAR_T_SUFFIX, WINT_T_SUFFIX): New edits.
($(MKDIR_P)): Replace with equivalent DOS command.
msdos/sed2v2.inp (BITSIZEOF_PTRDIFF_T, BITSIZEOF_SIG_ATOMIC_T)
(BITSIZEOF_SIZE_T, BITSIZEOF_WCHAR_T, BITSIZEOF_WINT_T)
(HAVE_LONG_LONG_INT, HAVE_SIGNED_SIG_ATOMIC_T, HAVE_SIGNED_WINT_T)
(HAVE_UNSIGNED_LONG_LONG_INT, HAVE_WCHAR_H, HAVE_INTTYPES_H): New
edits.
2011-02-26 12:55:10 +00:00
|
|
|
/^REPLACE_MBTOWC *=/s/@REPLACE_MBTOWC@/0/
|
|
|
|
/^REPLACE_MKDIR *=/s/@REPLACE_MKDIR@/0/
|
|
|
|
/^REPLACE_MKFIFO *=/s/@REPLACE_MKFIFO@/0/
|
|
|
|
/^REPLACE_MKNOD *=/s/@REPLACE_MKNOD@/0/
|
2011-02-19 16:05:27 +00:00
|
|
|
/^REPLACE_MKSTEMP *=/s/@REPLACE_MKSTEMP@/0/
|
|
|
|
/^REPLACE_MKTIME *=/s/@REPLACE_MKTIME@/0/
|
|
|
|
/^REPLACE_NANOSLEEP *=/s/@REPLACE_NANOSLEEP@/0/
|
|
|
|
/^REPLACE_NULL *=/s/@REPLACE_NULL@/0/
|
2011-03-25 12:10:45 +00:00
|
|
|
/^REPLACE_OBSTACK_PRINTF *=/s/@REPLACE_OBSTACK_PRINTF@/0/
|
|
|
|
/^REPLACE_PERROR *=/s/@REPLACE_PERROR@/0/
|
|
|
|
/^REPLACE_POPEN *=/s/@REPLACE_POPEN@/0/
|
2011-02-19 16:05:27 +00:00
|
|
|
/^REPLACE_PREAD *=/s/@REPLACE_PREAD@/0/
|
2011-03-25 12:10:45 +00:00
|
|
|
/^REPLACE_PRINTF *=/s/@REPLACE_PRINTF@/0/
|
Fix the MSDOS build.
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.
2011-09-29 12:00:18 +00:00
|
|
|
/^REPLACE_PTHREAD_SIGMASK *=/s/@REPLACE_PTHREAD_SIGMASK@/0/
|
Fix the MSDOS build following gnulib update.
config.bat (lib): Create/update lib/stdalign.in-h and
lib/sys_types.in-h.
msods/sedlibmk.inp (GNULIB_GL_UNISTD_H_GETOPT, GNULIB_POSIX_OPENPT)
(GNULIB_ISATTY, GNULIB_PTSNAME_R, GNULIB_RANDOM)
(GNULIB_SETHOSTNAME, HAVE_POSIX_OPENPT, HAVE_PTSNAME_R)
(HAVE_RANDOM, HAVE_SETHOSTNAME, NEXT_SYS_TYPES_H)
(NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H, REPLACE_FTRUNCATE)
(REPLACE_ISATTY, REPLACE_PTSNAME_R, REPLACE_RANDOM_R)
(REPLACE_STRTOIMAX, STDALIGN_H, WINDOWS_64_BIT_OFF_T)
(WINDOWS_64_BIT_ST_SIZE, GL_GENERATE_STDALIGN_H_TRUE)
(GL_GENERATE_STDALIGN_H_FALSE): Edit as appropriate for DJGPP.
(cat FOO): Edit into "sed -e '' FOO >>".
2012-05-27 13:42:13 +00:00
|
|
|
/^REPLACE_PTSNAME_R *=/s/@REPLACE_PTSNAME_R@/0/
|
2011-02-19 16:05:27 +00:00
|
|
|
/^REPLACE_PUTENV *=/s/@REPLACE_PUTENV@/0/
|
|
|
|
/^REPLACE_PWRITE *=/s/@REPLACE_PWRITE@/0/
|
Fix the MSDOS build following gnulib update.
config.bat (lib): Create/update lib/stdalign.in-h and
lib/sys_types.in-h.
msods/sedlibmk.inp (GNULIB_GL_UNISTD_H_GETOPT, GNULIB_POSIX_OPENPT)
(GNULIB_ISATTY, GNULIB_PTSNAME_R, GNULIB_RANDOM)
(GNULIB_SETHOSTNAME, HAVE_POSIX_OPENPT, HAVE_PTSNAME_R)
(HAVE_RANDOM, HAVE_SETHOSTNAME, NEXT_SYS_TYPES_H)
(NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H, REPLACE_FTRUNCATE)
(REPLACE_ISATTY, REPLACE_PTSNAME_R, REPLACE_RANDOM_R)
(REPLACE_STRTOIMAX, STDALIGN_H, WINDOWS_64_BIT_OFF_T)
(WINDOWS_64_BIT_ST_SIZE, GL_GENERATE_STDALIGN_H_TRUE)
(GL_GENERATE_STDALIGN_H_FALSE): Edit as appropriate for DJGPP.
(cat FOO): Edit into "sed -e '' FOO >>".
2012-05-27 13:42:13 +00:00
|
|
|
/^REPLACE_RANDOM_R *=/s/@REPLACE_RANDOM_R@/0/
|
2011-04-24 12:48:30 +00:00
|
|
|
/^REPLACE_READ *=/s/@REPLACE_READ@/0/
|
Fix the MSDOS build.
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.
2011-09-29 12:00:18 +00:00
|
|
|
/^REPLACE_RAISE *=/s/@REPLACE_RAISE@/0/
|
2011-02-19 16:05:27 +00:00
|
|
|
/^REPLACE_READLINK *=/s/@REPLACE_READLINK@/0/
|
|
|
|
/^REPLACE_REALLOC *=/s/@REPLACE_REALLOC@/0/
|
|
|
|
/^REPLACE_REALPATH *=/s/@REPLACE_REALPATH@/0/
|
2011-03-25 12:10:45 +00:00
|
|
|
/^REPLACE_REMOVE *=/s/@REPLACE_REMOVE@/0/
|
|
|
|
/^REPLACE_RENAME *=/s/@REPLACE_RENAME@/0/
|
|
|
|
/^REPLACE_RENAMEAT *=/s/@REPLACE_RENAMEAT@/0/
|
2011-02-19 16:05:27 +00:00
|
|
|
/^REPLACE_RMDIR *=/s/@REPLACE_RMDIR@/0/
|
|
|
|
/^REPLACE_SETENV *=/s/@REPLACE_SETENV@/0/
|
|
|
|
/^REPLACE_SLEEP *=/s/@REPLACE_SLEEP@/0/
|
2011-03-25 12:10:45 +00:00
|
|
|
/^REPLACE_SNPRINTF *=/s/@REPLACE_SNPRINTF@/0/
|
|
|
|
/^REPLACE_SPRINTF *=/s/@REPLACE_SPRINTF@/0/
|
Fix Sed scripts and srs/s/msdos.h for gnulib additions. Not tested yet.
src/s/msdos.h (HAVE_LSTAT): Define for DJGPP >= 2.04.
(lstat): Define for DJGPP < 2.04.
msdos/sedlibmk.inp (BITSIZEOF_PTRDIFF_T, BITSIZEOF_SIG_ATOMIC_T)
(BITSIZEOF_SIZE_T, BITSIZEOF_WCHAR_T)
(BITSIZEOF_WINT_TGNULIB_FCHMODAT, GNULIB_FSTATAT, GNULIB_FUTIMENS)
(GNULIB_LCHMOD, GNULIB_LSTAT, GNULIB_MBTOWC, GNULIB_MKDIRAT)
(GNULIB_MKFIFO, GNULIB_MKFIFOAT, GNULIB_MKNOD, GNULIB_MKNODAT)
(GNULIB_STAT, GNULIB_UTIMENSAT, GNULIB_WCTOMB, HAVE_FCHMODAT)
(HAVE_FSTATAT, HAVE_FUTIMENS, HAVE_INTTYPES_H, HAVE_LCHMOD)
(HAVE_LONG_LONG_INT, HAVE_LSTAT, HAVE_MKDIRAT, HAVE_MKFIFO)
(HAVE_MKFIFOAT, HAVE_MKNOD, HAVE_MKNODAT)
(HAVE_SIGNED_SIG_ATOMIC_T, HAVE_SIGNED_WCHAR_T)
(HAVE_SIGNED_WINT_T, HAVE_STDINT_H, HAVE_SYS_BITYPES_H)
(HAVE_SYS_INTTYPES_H, HAVE_SYS_TYPES_H)
(HAVE_UNSIGNED_LONG_LONG_INT, HAVE_UTIMENSAT, HAVE_WCHAR_H)
(MKDIR_P, NEXT_AS_FIRST_DIRECTIVE_STDINT_H)
(NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H, NEXT_STDINT_H)
(NEXT_SYS_STAT_H, REPLACE_LSTAT, REPLACE_MBTOWC, REPLACE_MKDIR)
(REPLACE_MKFIFO, REPLACE_MKNOD, REPLACE_STAT, REPLACE_UTIMENSAT)
(REPLACE_WCTOMB, SIG_ATOMIC_T_SUFFIX, SIZE_T_SUFFIX, STDINT_H)
(WCHAR_T_SUFFIX, WINT_T_SUFFIX): New edits.
($(MKDIR_P)): Replace with equivalent DOS command.
msdos/sed2v2.inp (BITSIZEOF_PTRDIFF_T, BITSIZEOF_SIG_ATOMIC_T)
(BITSIZEOF_SIZE_T, BITSIZEOF_WCHAR_T, BITSIZEOF_WINT_T)
(HAVE_LONG_LONG_INT, HAVE_SIGNED_SIG_ATOMIC_T, HAVE_SIGNED_WINT_T)
(HAVE_UNSIGNED_LONG_LONG_INT, HAVE_WCHAR_H, HAVE_INTTYPES_H): New
edits.
2011-02-26 12:55:10 +00:00
|
|
|
/^REPLACE_STAT *=/s/@REPLACE_STAT@/0/
|
2011-04-24 12:48:30 +00:00
|
|
|
/^REPLACE_STDIO_READ_FUNCS *=/s/@REPLACE_STDIO_READ_FUNCS@/0/
|
2011-03-25 12:10:45 +00:00
|
|
|
/^REPLACE_STDIO_WRITE_FUNCS *=/s/@REPLACE_STDIO_WRITE_FUNCS@/0/
|
2011-02-19 16:05:27 +00:00
|
|
|
/^REPLACE_STRTOD *=/s/@REPLACE_STRTOD@/0/
|
Fix the MSDOS build following gnulib update.
config.bat (lib): Create/update lib/stdalign.in-h and
lib/sys_types.in-h.
msods/sedlibmk.inp (GNULIB_GL_UNISTD_H_GETOPT, GNULIB_POSIX_OPENPT)
(GNULIB_ISATTY, GNULIB_PTSNAME_R, GNULIB_RANDOM)
(GNULIB_SETHOSTNAME, HAVE_POSIX_OPENPT, HAVE_PTSNAME_R)
(HAVE_RANDOM, HAVE_SETHOSTNAME, NEXT_SYS_TYPES_H)
(NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H, REPLACE_FTRUNCATE)
(REPLACE_ISATTY, REPLACE_PTSNAME_R, REPLACE_RANDOM_R)
(REPLACE_STRTOIMAX, STDALIGN_H, WINDOWS_64_BIT_OFF_T)
(WINDOWS_64_BIT_ST_SIZE, GL_GENERATE_STDALIGN_H_TRUE)
(GL_GENERATE_STDALIGN_H_FALSE): Edit as appropriate for DJGPP.
(cat FOO): Edit into "sed -e '' FOO >>".
2012-05-27 13:42:13 +00:00
|
|
|
/^REPLACE_STRTOIMAX *=/s/@REPLACE_STRTOIMAX@/0/
|
2011-02-19 16:05:27 +00:00
|
|
|
/^REPLACE_SYMLINK *=/s/@REPLACE_SYMLINK@/0/
|
|
|
|
/^REPLACE_TIMEGM *=/s/@REPLACE_TIMEGM@/0/
|
2011-03-25 12:10:45 +00:00
|
|
|
/^REPLACE_TMPFILE *=/s/@REPLACE_TMPFILE@/0/
|
2011-02-19 16:05:27 +00:00
|
|
|
/^REPLACE_TTYNAME_R *=/s/@REPLACE_TTYNAME_R@/0/
|
|
|
|
/^REPLACE_UNLINK *=/s/@REPLACE_UNLINK@/0/
|
|
|
|
/^REPLACE_UNLINKAT *=/s/@REPLACE_UNLINKAT@/0/
|
|
|
|
/^REPLACE_UNSETENV *=/s/@REPLACE_UNSETENV@/0/
|
|
|
|
/^REPLACE_USLEEP *=/s/@REPLACE_USLEEP@/0/
|
Fix Sed scripts and srs/s/msdos.h for gnulib additions. Not tested yet.
src/s/msdos.h (HAVE_LSTAT): Define for DJGPP >= 2.04.
(lstat): Define for DJGPP < 2.04.
msdos/sedlibmk.inp (BITSIZEOF_PTRDIFF_T, BITSIZEOF_SIG_ATOMIC_T)
(BITSIZEOF_SIZE_T, BITSIZEOF_WCHAR_T)
(BITSIZEOF_WINT_TGNULIB_FCHMODAT, GNULIB_FSTATAT, GNULIB_FUTIMENS)
(GNULIB_LCHMOD, GNULIB_LSTAT, GNULIB_MBTOWC, GNULIB_MKDIRAT)
(GNULIB_MKFIFO, GNULIB_MKFIFOAT, GNULIB_MKNOD, GNULIB_MKNODAT)
(GNULIB_STAT, GNULIB_UTIMENSAT, GNULIB_WCTOMB, HAVE_FCHMODAT)
(HAVE_FSTATAT, HAVE_FUTIMENS, HAVE_INTTYPES_H, HAVE_LCHMOD)
(HAVE_LONG_LONG_INT, HAVE_LSTAT, HAVE_MKDIRAT, HAVE_MKFIFO)
(HAVE_MKFIFOAT, HAVE_MKNOD, HAVE_MKNODAT)
(HAVE_SIGNED_SIG_ATOMIC_T, HAVE_SIGNED_WCHAR_T)
(HAVE_SIGNED_WINT_T, HAVE_STDINT_H, HAVE_SYS_BITYPES_H)
(HAVE_SYS_INTTYPES_H, HAVE_SYS_TYPES_H)
(HAVE_UNSIGNED_LONG_LONG_INT, HAVE_UTIMENSAT, HAVE_WCHAR_H)
(MKDIR_P, NEXT_AS_FIRST_DIRECTIVE_STDINT_H)
(NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H, NEXT_STDINT_H)
(NEXT_SYS_STAT_H, REPLACE_LSTAT, REPLACE_MBTOWC, REPLACE_MKDIR)
(REPLACE_MKFIFO, REPLACE_MKNOD, REPLACE_STAT, REPLACE_UTIMENSAT)
(REPLACE_WCTOMB, SIG_ATOMIC_T_SUFFIX, SIZE_T_SUFFIX, STDINT_H)
(WCHAR_T_SUFFIX, WINT_T_SUFFIX): New edits.
($(MKDIR_P)): Replace with equivalent DOS command.
msdos/sed2v2.inp (BITSIZEOF_PTRDIFF_T, BITSIZEOF_SIG_ATOMIC_T)
(BITSIZEOF_SIZE_T, BITSIZEOF_WCHAR_T, BITSIZEOF_WINT_T)
(HAVE_LONG_LONG_INT, HAVE_SIGNED_SIG_ATOMIC_T, HAVE_SIGNED_WINT_T)
(HAVE_UNSIGNED_LONG_LONG_INT, HAVE_WCHAR_H, HAVE_INTTYPES_H): New
edits.
2011-02-26 12:55:10 +00:00
|
|
|
/^REPLACE_UTIMENSAT *=/s/@REPLACE_UTIMENSAT@/0/
|
2011-03-25 12:10:45 +00:00
|
|
|
/^REPLACE_VASPRINTF *=/s/@REPLACE_VASPRINTF@/0/
|
|
|
|
/^REPLACE_VDPRINTF *=/s/@REPLACE_VDPRINTF@/0/
|
|
|
|
/^REPLACE_VFPRINTF *=/s/@REPLACE_VFPRINTF@/0/
|
|
|
|
/^REPLACE_VPRINTF *=/s/@REPLACE_VPRINTF@/0/
|
|
|
|
/^REPLACE_VSNPRINTF *=/s/@REPLACE_VSNPRINTF@/0/
|
|
|
|
/^REPLACE_VSPRINTF *=/s/@REPLACE_VSPRINTF@/0/
|
Fix Sed scripts and srs/s/msdos.h for gnulib additions. Not tested yet.
src/s/msdos.h (HAVE_LSTAT): Define for DJGPP >= 2.04.
(lstat): Define for DJGPP < 2.04.
msdos/sedlibmk.inp (BITSIZEOF_PTRDIFF_T, BITSIZEOF_SIG_ATOMIC_T)
(BITSIZEOF_SIZE_T, BITSIZEOF_WCHAR_T)
(BITSIZEOF_WINT_TGNULIB_FCHMODAT, GNULIB_FSTATAT, GNULIB_FUTIMENS)
(GNULIB_LCHMOD, GNULIB_LSTAT, GNULIB_MBTOWC, GNULIB_MKDIRAT)
(GNULIB_MKFIFO, GNULIB_MKFIFOAT, GNULIB_MKNOD, GNULIB_MKNODAT)
(GNULIB_STAT, GNULIB_UTIMENSAT, GNULIB_WCTOMB, HAVE_FCHMODAT)
(HAVE_FSTATAT, HAVE_FUTIMENS, HAVE_INTTYPES_H, HAVE_LCHMOD)
(HAVE_LONG_LONG_INT, HAVE_LSTAT, HAVE_MKDIRAT, HAVE_MKFIFO)
(HAVE_MKFIFOAT, HAVE_MKNOD, HAVE_MKNODAT)
(HAVE_SIGNED_SIG_ATOMIC_T, HAVE_SIGNED_WCHAR_T)
(HAVE_SIGNED_WINT_T, HAVE_STDINT_H, HAVE_SYS_BITYPES_H)
(HAVE_SYS_INTTYPES_H, HAVE_SYS_TYPES_H)
(HAVE_UNSIGNED_LONG_LONG_INT, HAVE_UTIMENSAT, HAVE_WCHAR_H)
(MKDIR_P, NEXT_AS_FIRST_DIRECTIVE_STDINT_H)
(NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H, NEXT_STDINT_H)
(NEXT_SYS_STAT_H, REPLACE_LSTAT, REPLACE_MBTOWC, REPLACE_MKDIR)
(REPLACE_MKFIFO, REPLACE_MKNOD, REPLACE_STAT, REPLACE_UTIMENSAT)
(REPLACE_WCTOMB, SIG_ATOMIC_T_SUFFIX, SIZE_T_SUFFIX, STDINT_H)
(WCHAR_T_SUFFIX, WINT_T_SUFFIX): New edits.
($(MKDIR_P)): Replace with equivalent DOS command.
msdos/sed2v2.inp (BITSIZEOF_PTRDIFF_T, BITSIZEOF_SIG_ATOMIC_T)
(BITSIZEOF_SIZE_T, BITSIZEOF_WCHAR_T, BITSIZEOF_WINT_T)
(HAVE_LONG_LONG_INT, HAVE_SIGNED_SIG_ATOMIC_T, HAVE_SIGNED_WINT_T)
(HAVE_UNSIGNED_LONG_LONG_INT, HAVE_WCHAR_H, HAVE_INTTYPES_H): New
edits.
2011-02-26 12:55:10 +00:00
|
|
|
/^REPLACE_WCTOMB *=/s/@REPLACE_WCTOMB@/0/
|
2011-02-19 16:05:27 +00:00
|
|
|
/^REPLACE_WRITE *=/s/@REPLACE_WRITE@/0/
|
Fix Sed scripts and srs/s/msdos.h for gnulib additions. Not tested yet.
src/s/msdos.h (HAVE_LSTAT): Define for DJGPP >= 2.04.
(lstat): Define for DJGPP < 2.04.
msdos/sedlibmk.inp (BITSIZEOF_PTRDIFF_T, BITSIZEOF_SIG_ATOMIC_T)
(BITSIZEOF_SIZE_T, BITSIZEOF_WCHAR_T)
(BITSIZEOF_WINT_TGNULIB_FCHMODAT, GNULIB_FSTATAT, GNULIB_FUTIMENS)
(GNULIB_LCHMOD, GNULIB_LSTAT, GNULIB_MBTOWC, GNULIB_MKDIRAT)
(GNULIB_MKFIFO, GNULIB_MKFIFOAT, GNULIB_MKNOD, GNULIB_MKNODAT)
(GNULIB_STAT, GNULIB_UTIMENSAT, GNULIB_WCTOMB, HAVE_FCHMODAT)
(HAVE_FSTATAT, HAVE_FUTIMENS, HAVE_INTTYPES_H, HAVE_LCHMOD)
(HAVE_LONG_LONG_INT, HAVE_LSTAT, HAVE_MKDIRAT, HAVE_MKFIFO)
(HAVE_MKFIFOAT, HAVE_MKNOD, HAVE_MKNODAT)
(HAVE_SIGNED_SIG_ATOMIC_T, HAVE_SIGNED_WCHAR_T)
(HAVE_SIGNED_WINT_T, HAVE_STDINT_H, HAVE_SYS_BITYPES_H)
(HAVE_SYS_INTTYPES_H, HAVE_SYS_TYPES_H)
(HAVE_UNSIGNED_LONG_LONG_INT, HAVE_UTIMENSAT, HAVE_WCHAR_H)
(MKDIR_P, NEXT_AS_FIRST_DIRECTIVE_STDINT_H)
(NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H, NEXT_STDINT_H)
(NEXT_SYS_STAT_H, REPLACE_LSTAT, REPLACE_MBTOWC, REPLACE_MKDIR)
(REPLACE_MKFIFO, REPLACE_MKNOD, REPLACE_STAT, REPLACE_UTIMENSAT)
(REPLACE_WCTOMB, SIG_ATOMIC_T_SUFFIX, SIZE_T_SUFFIX, STDINT_H)
(WCHAR_T_SUFFIX, WINT_T_SUFFIX): New edits.
($(MKDIR_P)): Replace with equivalent DOS command.
msdos/sed2v2.inp (BITSIZEOF_PTRDIFF_T, BITSIZEOF_SIG_ATOMIC_T)
(BITSIZEOF_SIZE_T, BITSIZEOF_WCHAR_T, BITSIZEOF_WINT_T)
(HAVE_LONG_LONG_INT, HAVE_SIGNED_SIG_ATOMIC_T, HAVE_SIGNED_WINT_T)
(HAVE_UNSIGNED_LONG_LONG_INT, HAVE_WCHAR_H, HAVE_INTTYPES_H): New
edits.
2011-02-26 12:55:10 +00:00
|
|
|
/^SIG_ATOMIC_T_SUFFIX *=/s/@SIG_ATOMIC_T_SUFFIX@//
|
|
|
|
/^SIZE_T_SUFFIX *=/s/@SIZE_T_SUFFIX@/u/
|
Fix the MSDOS build.
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.
2011-09-29 12:00:18 +00:00
|
|
|
/^ALLOCA_H *=/s/@[^@\n]*@/alloca.h/
|
2011-02-19 16:05:27 +00:00
|
|
|
/^STDBOOL_H *=/s/@[^@\n]*@//
|
Fix the MSDOS build following gnulib update.
config.bat (lib): Create/update lib/stdalign.in-h and
lib/sys_types.in-h.
msods/sedlibmk.inp (GNULIB_GL_UNISTD_H_GETOPT, GNULIB_POSIX_OPENPT)
(GNULIB_ISATTY, GNULIB_PTSNAME_R, GNULIB_RANDOM)
(GNULIB_SETHOSTNAME, HAVE_POSIX_OPENPT, HAVE_PTSNAME_R)
(HAVE_RANDOM, HAVE_SETHOSTNAME, NEXT_SYS_TYPES_H)
(NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H, REPLACE_FTRUNCATE)
(REPLACE_ISATTY, REPLACE_PTSNAME_R, REPLACE_RANDOM_R)
(REPLACE_STRTOIMAX, STDALIGN_H, WINDOWS_64_BIT_OFF_T)
(WINDOWS_64_BIT_ST_SIZE, GL_GENERATE_STDALIGN_H_TRUE)
(GL_GENERATE_STDALIGN_H_FALSE): Edit as appropriate for DJGPP.
(cat FOO): Edit into "sed -e '' FOO >>".
2012-05-27 13:42:13 +00:00
|
|
|
/^STDALIGN_H *=/s/@[^@\n]*@/stdalign.h/
|
2011-05-07 10:24:55 +00:00
|
|
|
/^STDARG_H *=/s/@[^@\n]*@//
|
2011-02-19 16:05:27 +00:00
|
|
|
/^STDDEF_H *=/s/@[^@\n]*@//
|
Fix Sed scripts and srs/s/msdos.h for gnulib additions. Not tested yet.
src/s/msdos.h (HAVE_LSTAT): Define for DJGPP >= 2.04.
(lstat): Define for DJGPP < 2.04.
msdos/sedlibmk.inp (BITSIZEOF_PTRDIFF_T, BITSIZEOF_SIG_ATOMIC_T)
(BITSIZEOF_SIZE_T, BITSIZEOF_WCHAR_T)
(BITSIZEOF_WINT_TGNULIB_FCHMODAT, GNULIB_FSTATAT, GNULIB_FUTIMENS)
(GNULIB_LCHMOD, GNULIB_LSTAT, GNULIB_MBTOWC, GNULIB_MKDIRAT)
(GNULIB_MKFIFO, GNULIB_MKFIFOAT, GNULIB_MKNOD, GNULIB_MKNODAT)
(GNULIB_STAT, GNULIB_UTIMENSAT, GNULIB_WCTOMB, HAVE_FCHMODAT)
(HAVE_FSTATAT, HAVE_FUTIMENS, HAVE_INTTYPES_H, HAVE_LCHMOD)
(HAVE_LONG_LONG_INT, HAVE_LSTAT, HAVE_MKDIRAT, HAVE_MKFIFO)
(HAVE_MKFIFOAT, HAVE_MKNOD, HAVE_MKNODAT)
(HAVE_SIGNED_SIG_ATOMIC_T, HAVE_SIGNED_WCHAR_T)
(HAVE_SIGNED_WINT_T, HAVE_STDINT_H, HAVE_SYS_BITYPES_H)
(HAVE_SYS_INTTYPES_H, HAVE_SYS_TYPES_H)
(HAVE_UNSIGNED_LONG_LONG_INT, HAVE_UTIMENSAT, HAVE_WCHAR_H)
(MKDIR_P, NEXT_AS_FIRST_DIRECTIVE_STDINT_H)
(NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H, NEXT_STDINT_H)
(NEXT_SYS_STAT_H, REPLACE_LSTAT, REPLACE_MBTOWC, REPLACE_MKDIR)
(REPLACE_MKFIFO, REPLACE_MKNOD, REPLACE_STAT, REPLACE_UTIMENSAT)
(REPLACE_WCTOMB, SIG_ATOMIC_T_SUFFIX, SIZE_T_SUFFIX, STDINT_H)
(WCHAR_T_SUFFIX, WINT_T_SUFFIX): New edits.
($(MKDIR_P)): Replace with equivalent DOS command.
msdos/sed2v2.inp (BITSIZEOF_PTRDIFF_T, BITSIZEOF_SIG_ATOMIC_T)
(BITSIZEOF_SIZE_T, BITSIZEOF_WCHAR_T, BITSIZEOF_WINT_T)
(HAVE_LONG_LONG_INT, HAVE_SIGNED_SIG_ATOMIC_T, HAVE_SIGNED_WINT_T)
(HAVE_UNSIGNED_LONG_LONG_INT, HAVE_WCHAR_H, HAVE_INTTYPES_H): New
edits.
2011-02-26 12:55:10 +00:00
|
|
|
/^STDINT_H *=/s/@[^@\n]*@/stdint.h/
|
2011-02-19 16:05:27 +00:00
|
|
|
/^SYS_TIME_H_DEFINES_STRUCT_TIMESPEC *=/s/@[^@\n]*@/0/
|
|
|
|
/^TIME_H_DEFINES_STRUCT_TIMESPEC *=/s/@[^@\n]*@/0/
|
|
|
|
/^UNISTD_H_HAVE_WINSOCK2_H *=/s/@[^@\n]*@/0/
|
|
|
|
/^UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS *=/s/@[^@\n]*@/0/
|
Fix Sed scripts and srs/s/msdos.h for gnulib additions. Not tested yet.
src/s/msdos.h (HAVE_LSTAT): Define for DJGPP >= 2.04.
(lstat): Define for DJGPP < 2.04.
msdos/sedlibmk.inp (BITSIZEOF_PTRDIFF_T, BITSIZEOF_SIG_ATOMIC_T)
(BITSIZEOF_SIZE_T, BITSIZEOF_WCHAR_T)
(BITSIZEOF_WINT_TGNULIB_FCHMODAT, GNULIB_FSTATAT, GNULIB_FUTIMENS)
(GNULIB_LCHMOD, GNULIB_LSTAT, GNULIB_MBTOWC, GNULIB_MKDIRAT)
(GNULIB_MKFIFO, GNULIB_MKFIFOAT, GNULIB_MKNOD, GNULIB_MKNODAT)
(GNULIB_STAT, GNULIB_UTIMENSAT, GNULIB_WCTOMB, HAVE_FCHMODAT)
(HAVE_FSTATAT, HAVE_FUTIMENS, HAVE_INTTYPES_H, HAVE_LCHMOD)
(HAVE_LONG_LONG_INT, HAVE_LSTAT, HAVE_MKDIRAT, HAVE_MKFIFO)
(HAVE_MKFIFOAT, HAVE_MKNOD, HAVE_MKNODAT)
(HAVE_SIGNED_SIG_ATOMIC_T, HAVE_SIGNED_WCHAR_T)
(HAVE_SIGNED_WINT_T, HAVE_STDINT_H, HAVE_SYS_BITYPES_H)
(HAVE_SYS_INTTYPES_H, HAVE_SYS_TYPES_H)
(HAVE_UNSIGNED_LONG_LONG_INT, HAVE_UTIMENSAT, HAVE_WCHAR_H)
(MKDIR_P, NEXT_AS_FIRST_DIRECTIVE_STDINT_H)
(NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H, NEXT_STDINT_H)
(NEXT_SYS_STAT_H, REPLACE_LSTAT, REPLACE_MBTOWC, REPLACE_MKDIR)
(REPLACE_MKFIFO, REPLACE_MKNOD, REPLACE_STAT, REPLACE_UTIMENSAT)
(REPLACE_WCTOMB, SIG_ATOMIC_T_SUFFIX, SIZE_T_SUFFIX, STDINT_H)
(WCHAR_T_SUFFIX, WINT_T_SUFFIX): New edits.
($(MKDIR_P)): Replace with equivalent DOS command.
msdos/sed2v2.inp (BITSIZEOF_PTRDIFF_T, BITSIZEOF_SIG_ATOMIC_T)
(BITSIZEOF_SIZE_T, BITSIZEOF_WCHAR_T, BITSIZEOF_WINT_T)
(HAVE_LONG_LONG_INT, HAVE_SIGNED_SIG_ATOMIC_T, HAVE_SIGNED_WINT_T)
(HAVE_UNSIGNED_LONG_LONG_INT, HAVE_WCHAR_H, HAVE_INTTYPES_H): New
edits.
2011-02-26 12:55:10 +00:00
|
|
|
/^WCHAR_T_SUFFIX *=/s/@WCHAR_T_SUFFIX@/h/
|
|
|
|
/^WINT_T_SUFFIX *=/s/@WINT_T_SUFFIX@//
|
Fix the MSDOS build following gnulib update.
config.bat (lib): Create/update lib/stdalign.in-h and
lib/sys_types.in-h.
msods/sedlibmk.inp (GNULIB_GL_UNISTD_H_GETOPT, GNULIB_POSIX_OPENPT)
(GNULIB_ISATTY, GNULIB_PTSNAME_R, GNULIB_RANDOM)
(GNULIB_SETHOSTNAME, HAVE_POSIX_OPENPT, HAVE_PTSNAME_R)
(HAVE_RANDOM, HAVE_SETHOSTNAME, NEXT_SYS_TYPES_H)
(NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H, REPLACE_FTRUNCATE)
(REPLACE_ISATTY, REPLACE_PTSNAME_R, REPLACE_RANDOM_R)
(REPLACE_STRTOIMAX, STDALIGN_H, WINDOWS_64_BIT_OFF_T)
(WINDOWS_64_BIT_ST_SIZE, GL_GENERATE_STDALIGN_H_TRUE)
(GL_GENERATE_STDALIGN_H_FALSE): Edit as appropriate for DJGPP.
(cat FOO): Edit into "sed -e '' FOO >>".
2012-05-27 13:42:13 +00:00
|
|
|
/^WINDOWS_64_BIT_OFF_T *=/s/@WINDOWS_64_BIT_OFF_T@/0/
|
|
|
|
/^WINDOWS_64_BIT_ST_SIZE *=/s/@WINDOWS_64_BIT_ST_SIZE@/0/
|
2011-05-07 10:24:55 +00:00
|
|
|
/am__append_1 *=.*gettext\.h/s/@[^@\n]*@/\#/
|
|
|
|
/am__append_2 *=.*verify\.h/s/@[^@\n]*@//
|
Fix the MSDOS build.
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.
2011-09-29 12:00:18 +00:00
|
|
|
/^gl_LIBOBJS *=/s/@[^@\n]*@/getopt.o getopt1.o strftime.o time_r.o getloadavg.o pthread_sigmask.o/
|
2011-04-30 10:31:17 +00:00
|
|
|
/^BUILT_SOURCES *=/s/ *inttypes\.h//
|
|
|
|
/^am_libgnu_a_OBJECTS *=/s/careadlinkat\.\$(OBJEXT)//
|
|
|
|
/^am_libgnu_a_OBJECTS *=/s/allocator\.\$(OBJEXT)//
|
2011-02-19 16:05:27 +00:00
|
|
|
/^srcdir *=/s/@[^@\n]*@/./
|
|
|
|
/^top_srcdir *=/s/@[^@\n]*@/../
|
2011-02-19 17:35:11 +00:00
|
|
|
/^top_builddir *=/s/@[^@\n]*@/../
|
|
|
|
s/@PRAGMA_SYSTEM_HEADER@/\#pragma GCC system_header/
|
|
|
|
s/@PRAGMA_COLUMNS@//
|
2011-02-19 16:05:27 +00:00
|
|
|
#
|
|
|
|
# Delete the recipes we don't want to get in our way.
|
|
|
|
/^\$(srcdir)\/Makefile\.in:/,/^[ ][ ]*\$(AUTOMAKE)/d
|
2011-02-19 17:35:11 +00:00
|
|
|
/^Makefile:/,/^[ ][ ]*esac/d
|
2011-02-19 16:05:27 +00:00
|
|
|
/^\$(top_srcdir)\/configure:/,/^\$(ACLOCAL_M4)/d
|
2011-04-06 17:49:21 +00:00
|
|
|
/^\$(top_builddir)\/config.status:/,/^$/d
|
|
|
|
#
|
|
|
|
# Remove the dependencies on $(top_builddir)/config.status
|
|
|
|
s/ $(top_builddir)\/config.status//
|
2011-02-19 16:05:27 +00:00
|
|
|
#
|
|
|
|
# Fix the include-dependency lines
|
|
|
|
s/^@AMDEP_TRUE@//
|
|
|
|
s/^@AMDEP_FALSE@/\#/
|
|
|
|
s/@am__include@/include/
|
|
|
|
s/@am__quote@//g
|
|
|
|
s/^@am__fastdepCC_TRUE@//
|
2011-04-06 17:49:21 +00:00
|
|
|
s/^@am__fastdepCC_FALSE@/\#/
|
2011-02-19 16:05:27 +00:00
|
|
|
#
|
|
|
|
# Fix the *-clean rules, to not use a Unixy `test' command. Empty
|
|
|
|
# lists are replaced with a dummy file, to avoid an error message from
|
|
|
|
# "rm -f" with no arguments.
|
|
|
|
/^CONFIG_CLEAN_FILES *= *$/c\
|
|
|
|
CONFIG_CLEAN_FILES = xyzzy
|
|
|
|
/^CONFIG_CLEAN_VPATH_FILES *= *$/c\
|
|
|
|
CONFIG_CLEAN_VPATH_FILES = xyzzy
|
2011-02-19 16:53:10 +00:00
|
|
|
s/^ -*test -z.*|| rm/ -rm/
|
2011-02-19 16:05:27 +00:00
|
|
|
s/@echo /@djecho/
|
|
|
|
#
|
|
|
|
# Fix the recipes for header files
|
Fix the MSDOS build.
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.
2011-09-29 12:00:18 +00:00
|
|
|
s/^@GL_GENERATE_ALLOCA_H_TRUE@//
|
|
|
|
s/^@GL_GENERATE_ALLOCA_H_FALSE@/\#/
|
2011-04-06 17:49:21 +00:00
|
|
|
s/^@GL_GENERATE_STDBOOL_H_TRUE@/\#/
|
|
|
|
s/^@GL_GENERATE_STDBOOL_H_FALSE@//
|
2011-05-07 10:24:55 +00:00
|
|
|
s/^@GL_GENERATE_STDARG_H_TRUE@/\#/
|
|
|
|
s/^@GL_GENERATE_STDARG_H_FALSE@/\#/
|
2011-04-06 17:49:21 +00:00
|
|
|
s/^@GL_GENERATE_STDDEF_H_TRUE@/\#/
|
2011-05-07 10:24:55 +00:00
|
|
|
s/^@GL_GENERATE_STDDEF_H_FALSE@/\#/
|
2011-04-06 17:49:21 +00:00
|
|
|
s/^@GL_GENERATE_STDINT_H_TRUE@//
|
|
|
|
s/^@GL_GENERATE_STDINT_H_FALSE@/\#/
|
Fix the MSDOS build following gnulib update.
config.bat (lib): Create/update lib/stdalign.in-h and
lib/sys_types.in-h.
msods/sedlibmk.inp (GNULIB_GL_UNISTD_H_GETOPT, GNULIB_POSIX_OPENPT)
(GNULIB_ISATTY, GNULIB_PTSNAME_R, GNULIB_RANDOM)
(GNULIB_SETHOSTNAME, HAVE_POSIX_OPENPT, HAVE_PTSNAME_R)
(HAVE_RANDOM, HAVE_SETHOSTNAME, NEXT_SYS_TYPES_H)
(NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H, REPLACE_FTRUNCATE)
(REPLACE_ISATTY, REPLACE_PTSNAME_R, REPLACE_RANDOM_R)
(REPLACE_STRTOIMAX, STDALIGN_H, WINDOWS_64_BIT_OFF_T)
(WINDOWS_64_BIT_ST_SIZE, GL_GENERATE_STDALIGN_H_TRUE)
(GL_GENERATE_STDALIGN_H_FALSE): Edit as appropriate for DJGPP.
(cat FOO): Edit into "sed -e '' FOO >>".
2012-05-27 13:42:13 +00:00
|
|
|
s/^@GL_GENERATE_STDALIGN_H_TRUE@//
|
|
|
|
s/^@GL_GENERATE_STDALIGN_H_FALSE@/\#/
|
2011-02-19 16:05:27 +00:00
|
|
|
/^arg-nonnull\.h:/,/^[ ][ ]*mv /c\
|
Merge from gnulib, using build-aux to remove clutter.
* m4/largefile.m4: New file, so that Emacs does not mess up when
accessing files with large inode numbers in MacOS X 10.5 and later.
* m4/nocrash.m4: New file, to avoid triggering background debugger
and/or create core dumps during 'configure'.
* build-aux/move-if-change: Renamed from move-if-change.
* build-aux/snippet/arg-nonnull.h: Renamed from arg-nonnull.h.
* build-aux/snippet/c++defs.h: Renamed from c++defs.h.
* build-aux/snippet/warn-on-use.h: Renamed from warn-on-use.h.
* build-aux/snippet/_Noreturn.h: New file, for draft C1X _Noreturn.
* .bzrignore: The autogenerated files compile, config.guess,
config.sub, depcomp, install-sh, and missing are now in build-aux.
* Makefile.in (epaths-force, sync-from-gnulib):
move-if-change is now in build-aux.
(GNULIB_TOOL_FLAGS): Avoid threadlib; this is now a prerequisite
of gnulib's pthread_sigmask module, but Emacs doesn't need it.
(mkdir): install-sh is now in build-aux.
* config.bat: c++defs.h is now in build-aux/snippets.
* configure.in: Specify AC_CONFIG_AUX_DIR with build-aux (the
usual parameter).
* lib/gnulib.mk, m4/gl-comp.m4: Regenerate.
* lib/makefile.w32-in (ARG_NONNULL_H): arg-nonnull.h moved
to build-aux/snippet.
* lib/pthread_sigmask.c, lib/stdlib.in.h, m4/extensions.m4:
* m4/getopt.m4, m4/gnulib-common.m4, m4/pthread_sigmask.m4:
Merge from gnuilib. This fixes porting bugs on Cygwin, Irix, and
Solaris, enables MacOS extensions, and enables nocrash during
'configure'.
* make-dist: Adjust to new build-aux and build-aux/snippit dirs.
* admin/notes/copyright: The files compile, config.guess, config.sub,
depcomp, install-sh, missing, and move-if-change are now in the
new build-aux subdirectory. The files arg-nonnull.h, c++defs.h,
and warn-on-use.h are now in build-aux/snippets. New file
build-aux/snippets/_Noreturn.h.
* leim/Makefile.in (install): install-sh is now in build-aux.
* lib-src/Makefile.in ($(DESTDIR)${archlibdir}): install-sh moved
to build-aux.
* msdos/sedlibmk.inp (CONFIG_CLEAN_VPATH_FILES): Adjust to snippet moves
from top level to build-aux/snippet.
* src/Makefile.in (gl-stamp): move-if-change is now in build-aux.
2011-07-24 22:15:47 +00:00
|
|
|
arg-nonnull.h: $(top_srcdir)/build-aux/snippet/arg-nonnull.h\
|
|
|
|
sed -n -e '/GL_ARG_NONNULL/,$$p' < $(top_srcdir)/build-aux/snippet/arg-nonnull.h > $@
|
2011-02-19 16:05:27 +00:00
|
|
|
/^cxxdefs\.h:/,/^[ ][ ]*mv /c\
|
Merge from gnulib, using build-aux to remove clutter.
* m4/largefile.m4: New file, so that Emacs does not mess up when
accessing files with large inode numbers in MacOS X 10.5 and later.
* m4/nocrash.m4: New file, to avoid triggering background debugger
and/or create core dumps during 'configure'.
* build-aux/move-if-change: Renamed from move-if-change.
* build-aux/snippet/arg-nonnull.h: Renamed from arg-nonnull.h.
* build-aux/snippet/c++defs.h: Renamed from c++defs.h.
* build-aux/snippet/warn-on-use.h: Renamed from warn-on-use.h.
* build-aux/snippet/_Noreturn.h: New file, for draft C1X _Noreturn.
* .bzrignore: The autogenerated files compile, config.guess,
config.sub, depcomp, install-sh, and missing are now in build-aux.
* Makefile.in (epaths-force, sync-from-gnulib):
move-if-change is now in build-aux.
(GNULIB_TOOL_FLAGS): Avoid threadlib; this is now a prerequisite
of gnulib's pthread_sigmask module, but Emacs doesn't need it.
(mkdir): install-sh is now in build-aux.
* config.bat: c++defs.h is now in build-aux/snippets.
* configure.in: Specify AC_CONFIG_AUX_DIR with build-aux (the
usual parameter).
* lib/gnulib.mk, m4/gl-comp.m4: Regenerate.
* lib/makefile.w32-in (ARG_NONNULL_H): arg-nonnull.h moved
to build-aux/snippet.
* lib/pthread_sigmask.c, lib/stdlib.in.h, m4/extensions.m4:
* m4/getopt.m4, m4/gnulib-common.m4, m4/pthread_sigmask.m4:
Merge from gnuilib. This fixes porting bugs on Cygwin, Irix, and
Solaris, enables MacOS extensions, and enables nocrash during
'configure'.
* make-dist: Adjust to new build-aux and build-aux/snippit dirs.
* admin/notes/copyright: The files compile, config.guess, config.sub,
depcomp, install-sh, missing, and move-if-change are now in the
new build-aux subdirectory. The files arg-nonnull.h, c++defs.h,
and warn-on-use.h are now in build-aux/snippets. New file
build-aux/snippets/_Noreturn.h.
* leim/Makefile.in (install): install-sh is now in build-aux.
* lib-src/Makefile.in ($(DESTDIR)${archlibdir}): install-sh moved
to build-aux.
* msdos/sedlibmk.inp (CONFIG_CLEAN_VPATH_FILES): Adjust to snippet moves
from top level to build-aux/snippet.
* src/Makefile.in (gl-stamp): move-if-change is now in build-aux.
2011-07-24 22:15:47 +00:00
|
|
|
cxxdefs.h: $(top_srcdir)/build-aux/snippet/cxxdefs.h\
|
|
|
|
sed -n -e '/_GL_CXXDEFS/,$$p' < $(top_srcdir)/build-aux/snippet/cxxdefs.h > $@
|
Fix the MSDOS build.
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.
2011-09-29 12:00:18 +00:00
|
|
|
/^warn-on-use\.h:/,/^[ ][ ]*mv /c\
|
|
|
|
warn-on-use.h: $(top_srcdir)/build-aux/snippet/warn-on-use.h\
|
|
|
|
sed -n -e '/^.ifndef/,$$p' < $(top_srcdir)/build-aux/snippet/warn-on-use.h > $@
|
2011-02-19 16:05:27 +00:00
|
|
|
s/^ [ ]*{ echo \(.*\); \\/ djecho \1 > $@-t/
|
2011-02-19 17:35:11 +00:00
|
|
|
s/^ [ ]*{ echo \(.*\) && \\/ djecho \1 > $@-t/
|
Fix the MSDOS build following gnulib update.
config.bat (lib): Create/update lib/stdalign.in-h and
lib/sys_types.in-h.
msods/sedlibmk.inp (GNULIB_GL_UNISTD_H_GETOPT, GNULIB_POSIX_OPENPT)
(GNULIB_ISATTY, GNULIB_PTSNAME_R, GNULIB_RANDOM)
(GNULIB_SETHOSTNAME, HAVE_POSIX_OPENPT, HAVE_PTSNAME_R)
(HAVE_RANDOM, HAVE_SETHOSTNAME, NEXT_SYS_TYPES_H)
(NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H, REPLACE_FTRUNCATE)
(REPLACE_ISATTY, REPLACE_PTSNAME_R, REPLACE_RANDOM_R)
(REPLACE_STRTOIMAX, STDALIGN_H, WINDOWS_64_BIT_OFF_T)
(WINDOWS_64_BIT_ST_SIZE, GL_GENERATE_STDALIGN_H_TRUE)
(GL_GENERATE_STDALIGN_H_FALSE): Edit as appropriate for DJGPP.
(cat FOO): Edit into "sed -e '' FOO >>".
2012-05-27 13:42:13 +00:00
|
|
|
s/^ [ ]*cat \(.*\); \\/ sed -e '' \1 >> $@-t/
|
2011-02-19 17:35:11 +00:00
|
|
|
s/ \&\& \\ *$//
|
2011-02-19 16:05:27 +00:00
|
|
|
s/\.in-h\; *\\$/.in-h >> $@-t/
|
|
|
|
/^ [ ]*} /d
|
2011-03-25 12:10:45 +00:00
|
|
|
/^stdio\.h:/,/^ [ ]*mv /{
|
|
|
|
s/'\; \\ *$/' >> $@-t/
|
|
|
|
}
|
2011-02-19 16:05:27 +00:00
|
|
|
/^stdlib\.h:/,/^ [ ]*mv /{
|
|
|
|
s/'\; \\ *$/' >> $@-t/
|
|
|
|
}
|
|
|
|
/^unistd\.h:/,/^ [ ]*mv /{
|
|
|
|
s/'\; \\ *$/' >> $@-t/
|
|
|
|
}
|
2011-03-25 12:52:03 +00:00
|
|
|
s!\$(MKDIR_P)[ ][ ]*sys!command.com /c "if not exist sys\\stat.h md sys"!
|