diff options
| author | Paul Eggert | 2011-02-24 23:23:41 -0800 |
|---|---|---|
| committer | Paul Eggert | 2011-02-24 23:23:41 -0800 |
| commit | 9411886d3818d55e86eb1002ed39b38ce2426c63 (patch) | |
| tree | 98c8957b4c7797e53f78c68c889254b0b34e8bfa | |
| parent | b18947669cd182ec8487b317460f6df5878d0f11 (diff) | |
| download | emacs-9411886d3818d55e86eb1002ed39b38ce2426c63.tar.gz emacs-9411886d3818d55e86eb1002ed39b38ce2426c63.zip | |
Regenerate.
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rwxr-xr-x | configure | 34 | ||||
| -rw-r--r-- | lib/Makefile.in | 8 | ||||
| -rw-r--r-- | lib/getopt_int.h | 2 | ||||
| -rw-r--r-- | lib/gnulib.mk | 4 | ||||
| -rw-r--r-- | lib/stdlib.in.h | 30 | ||||
| -rw-r--r-- | m4/stdlib_h.m4 | 6 |
7 files changed, 79 insertions, 10 deletions
| @@ -1,3 +1,8 @@ | |||
| 1 | 2011-02-25 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | * configure, lib/Makefile.in, lib/getopt_int.h, lib/gnulib.mk: | ||
| 4 | * lib/stdlib.in.h, m4/stdlib_h.m4: Regenerate. | ||
| 5 | |||
| 1 | 2011-02-24 Glenn Morris <rgm@gnu.org> | 6 | 2011-02-24 Glenn Morris <rgm@gnu.org> |
| 2 | 7 | ||
| 3 | * configure.in: Replace obsolete AC_OUTPUT() with AC_CONFIG_FILES(), | 8 | * configure.in: Replace obsolete AC_OUTPUT() with AC_CONFIG_FILES(), |
| @@ -874,6 +874,7 @@ GNULIB_DUP2 | |||
| 874 | GNULIB_CLOSE | 874 | GNULIB_CLOSE |
| 875 | GNULIB_CHOWN | 875 | GNULIB_CHOWN |
| 876 | GETLOADAVG_LIBS | 876 | GETLOADAVG_LIBS |
| 877 | REPLACE_WCTOMB | ||
| 877 | REPLACE_UNSETENV | 878 | REPLACE_UNSETENV |
| 878 | REPLACE_STRTOD | 879 | REPLACE_STRTOD |
| 879 | REPLACE_SETENV | 880 | REPLACE_SETENV |
| @@ -881,6 +882,7 @@ REPLACE_REALPATH | |||
| 881 | REPLACE_REALLOC | 882 | REPLACE_REALLOC |
| 882 | REPLACE_PUTENV | 883 | REPLACE_PUTENV |
| 883 | REPLACE_MKSTEMP | 884 | REPLACE_MKSTEMP |
| 885 | REPLACE_MBTOWC | ||
| 884 | REPLACE_MALLOC | 886 | REPLACE_MALLOC |
| 885 | REPLACE_CANONICALIZE_FILE_NAME | 887 | REPLACE_CANONICALIZE_FILE_NAME |
| 886 | REPLACE_CALLOC | 888 | REPLACE_CALLOC |
| @@ -909,6 +911,7 @@ HAVE_DECL_GETLOADAVG | |||
| 909 | HAVE_CANONICALIZE_FILE_NAME | 911 | HAVE_CANONICALIZE_FILE_NAME |
| 910 | HAVE_ATOLL | 912 | HAVE_ATOLL |
| 911 | HAVE__EXIT | 913 | HAVE__EXIT |
| 914 | GNULIB_WCTOMB | ||
| 912 | GNULIB_UNSETENV | 915 | GNULIB_UNSETENV |
| 913 | GNULIB_UNLOCKPT | 916 | GNULIB_UNLOCKPT |
| 914 | GNULIB_SYSTEM_POSIX | 917 | GNULIB_SYSTEM_POSIX |
| @@ -927,6 +930,7 @@ GNULIB_MKSTEMP | |||
| 927 | GNULIB_MKOSTEMPS | 930 | GNULIB_MKOSTEMPS |
| 928 | GNULIB_MKOSTEMP | 931 | GNULIB_MKOSTEMP |
| 929 | GNULIB_MKDTEMP | 932 | GNULIB_MKDTEMP |
| 933 | GNULIB_MBTOWC | ||
| 930 | GNULIB_MALLOC_POSIX | 934 | GNULIB_MALLOC_POSIX |
| 931 | GNULIB_GRANTPT | 935 | GNULIB_GRANTPT |
| 932 | GNULIB_GETSUBOPT | 936 | GNULIB_GETSUBOPT |
| @@ -13780,6 +13784,7 @@ _ACEOF | |||
| 13780 | GNULIB_GETSUBOPT=0; | 13784 | GNULIB_GETSUBOPT=0; |
| 13781 | GNULIB_GRANTPT=0; | 13785 | GNULIB_GRANTPT=0; |
| 13782 | GNULIB_MALLOC_POSIX=0; | 13786 | GNULIB_MALLOC_POSIX=0; |
| 13787 | GNULIB_MBTOWC=0; | ||
| 13783 | GNULIB_MKDTEMP=0; | 13788 | GNULIB_MKDTEMP=0; |
| 13784 | GNULIB_MKOSTEMP=0; | 13789 | GNULIB_MKOSTEMP=0; |
| 13785 | GNULIB_MKOSTEMPS=0; | 13790 | GNULIB_MKOSTEMPS=0; |
| @@ -13798,6 +13803,7 @@ _ACEOF | |||
| 13798 | GNULIB_SYSTEM_POSIX=0; | 13803 | GNULIB_SYSTEM_POSIX=0; |
| 13799 | GNULIB_UNLOCKPT=0; | 13804 | GNULIB_UNLOCKPT=0; |
| 13800 | GNULIB_UNSETENV=0; | 13805 | GNULIB_UNSETENV=0; |
| 13806 | GNULIB_WCTOMB=0; | ||
| 13801 | HAVE__EXIT=1; | 13807 | HAVE__EXIT=1; |
| 13802 | HAVE_ATOLL=1; | 13808 | HAVE_ATOLL=1; |
| 13803 | HAVE_CANONICALIZE_FILE_NAME=1; | 13809 | HAVE_CANONICALIZE_FILE_NAME=1; |
| @@ -13826,6 +13832,7 @@ _ACEOF | |||
| 13826 | REPLACE_CALLOC=0; | 13832 | REPLACE_CALLOC=0; |
| 13827 | REPLACE_CANONICALIZE_FILE_NAME=0; | 13833 | REPLACE_CANONICALIZE_FILE_NAME=0; |
| 13828 | REPLACE_MALLOC=0; | 13834 | REPLACE_MALLOC=0; |
| 13835 | REPLACE_MBTOWC=0; | ||
| 13829 | REPLACE_MKSTEMP=0; | 13836 | REPLACE_MKSTEMP=0; |
| 13830 | REPLACE_PUTENV=0; | 13837 | REPLACE_PUTENV=0; |
| 13831 | REPLACE_REALLOC=0; | 13838 | REPLACE_REALLOC=0; |
| @@ -13833,6 +13840,7 @@ _ACEOF | |||
| 13833 | REPLACE_SETENV=0; | 13840 | REPLACE_SETENV=0; |
| 13834 | REPLACE_STRTOD=0; | 13841 | REPLACE_STRTOD=0; |
| 13835 | REPLACE_UNSETENV=0; | 13842 | REPLACE_UNSETENV=0; |
| 13843 | REPLACE_WCTOMB=0; | ||
| 13836 | 13844 | ||
| 13837 | 13845 | ||
| 13838 | GNULIB_CHOWN=0; | 13846 | GNULIB_CHOWN=0; |
| @@ -19249,7 +19257,15 @@ test "${exec_prefix}" != NONE && | |||
| 19249 | 19257 | ||
| 19250 | ac_config_files="$ac_config_files Makefile lib/Makefile lib-src/Makefile oldXMenu/Makefile doc/emacs/Makefile doc/misc/Makefile doc/lispintro/Makefile doc/lispref/Makefile src/Makefile lwlib/Makefile lisp/Makefile leim/Makefile test/automated/Makefile" | 19258 | ac_config_files="$ac_config_files Makefile lib/Makefile lib-src/Makefile oldXMenu/Makefile doc/emacs/Makefile doc/misc/Makefile doc/lispintro/Makefile doc/lispref/Makefile src/Makefile lwlib/Makefile lisp/Makefile leim/Makefile test/automated/Makefile" |
| 19251 | 19259 | ||
| 19252 | ac_config_commands="$ac_config_commands default" | 19260 | |
| 19261 | ac_config_commands="$ac_config_commands mkdirs" | ||
| 19262 | |||
| 19263 | |||
| 19264 | ac_config_commands="$ac_config_commands epaths" | ||
| 19265 | |||
| 19266 | |||
| 19267 | ac_config_commands="$ac_config_commands gdbinit" | ||
| 19268 | |||
| 19253 | 19269 | ||
| 19254 | cat >confcache <<\_ACEOF | 19270 | cat >confcache <<\_ACEOF |
| 19255 | # This file is a shell script that caches the results of configure | 19271 | # This file is a shell script that caches the results of configure |
| @@ -20034,7 +20050,9 @@ do | |||
| 20034 | "lisp/Makefile") CONFIG_FILES="$CONFIG_FILES lisp/Makefile" ;; | 20050 | "lisp/Makefile") CONFIG_FILES="$CONFIG_FILES lisp/Makefile" ;; |
| 20035 | "leim/Makefile") CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;; | 20051 | "leim/Makefile") CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;; |
| 20036 | "test/automated/Makefile") CONFIG_FILES="$CONFIG_FILES test/automated/Makefile" ;; | 20052 | "test/automated/Makefile") CONFIG_FILES="$CONFIG_FILES test/automated/Makefile" ;; |
| 20037 | "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; | 20053 | "mkdirs") CONFIG_COMMANDS="$CONFIG_COMMANDS mkdirs" ;; |
| 20054 | "epaths") CONFIG_COMMANDS="$CONFIG_COMMANDS epaths" ;; | ||
| 20055 | "gdbinit") CONFIG_COMMANDS="$CONFIG_COMMANDS gdbinit" ;; | ||
| 20038 | 20056 | ||
| 20039 | *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; | 20057 | *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
| 20040 | esac | 20058 | esac |
| @@ -20764,21 +20782,20 @@ $as_echo X"$file" | | |||
| 20764 | done | 20782 | done |
| 20765 | } | 20783 | } |
| 20766 | ;; | 20784 | ;; |
| 20767 | "default":C) | 20785 | "mkdirs":C) |
| 20768 | |||
| 20769 | ### Make the necessary directories, if they don't exist. | ||
| 20770 | for dir in etc lisp ; do | 20786 | for dir in etc lisp ; do |
| 20771 | test -d ${dir} || mkdir ${dir} | 20787 | test -d ${dir} || mkdir ${dir} |
| 20772 | done | 20788 | done |
| 20773 | 20789 | ;; | |
| 20790 | "epaths":C) | ||
| 20774 | echo creating src/epaths.h | 20791 | echo creating src/epaths.h |
| 20775 | ${MAKE-make} epaths-force | 20792 | ${MAKE-make} epaths-force |
| 20776 | 20793 | ;; | |
| 20794 | "gdbinit":C) | ||
| 20777 | if test ! -f src/.gdbinit && test -f $srcdir/src/.gdbinit; then | 20795 | if test ! -f src/.gdbinit && test -f $srcdir/src/.gdbinit; then |
| 20778 | echo creating src/.gdbinit | 20796 | echo creating src/.gdbinit |
| 20779 | echo source $srcdir/src/.gdbinit > src/.gdbinit | 20797 | echo source $srcdir/src/.gdbinit > src/.gdbinit |
| 20780 | fi | 20798 | fi |
| 20781 | |||
| 20782 | ;; | 20799 | ;; |
| 20783 | 20800 | ||
| 20784 | esac | 20801 | esac |
| @@ -20818,3 +20835,4 @@ if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then | |||
| 20818 | $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} | 20835 | $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
| 20819 | fi | 20836 | fi |
| 20820 | 20837 | ||
| 20838 | |||
diff --git a/lib/Makefile.in b/lib/Makefile.in index 48e7b1d6507..7135d3ebbf9 100644 --- a/lib/Makefile.in +++ b/lib/Makefile.in | |||
| @@ -179,6 +179,7 @@ GNULIB_LINKAT = @GNULIB_LINKAT@ | |||
| 179 | GNULIB_LSEEK = @GNULIB_LSEEK@ | 179 | GNULIB_LSEEK = @GNULIB_LSEEK@ |
| 180 | GNULIB_LSTAT = @GNULIB_LSTAT@ | 180 | GNULIB_LSTAT = @GNULIB_LSTAT@ |
| 181 | GNULIB_MALLOC_POSIX = @GNULIB_MALLOC_POSIX@ | 181 | GNULIB_MALLOC_POSIX = @GNULIB_MALLOC_POSIX@ |
| 182 | GNULIB_MBTOWC = @GNULIB_MBTOWC@ | ||
| 182 | GNULIB_MKDIRAT = @GNULIB_MKDIRAT@ | 183 | GNULIB_MKDIRAT = @GNULIB_MKDIRAT@ |
| 183 | GNULIB_MKDTEMP = @GNULIB_MKDTEMP@ | 184 | GNULIB_MKDTEMP = @GNULIB_MKDTEMP@ |
| 184 | GNULIB_MKFIFO = @GNULIB_MKFIFO@ | 185 | GNULIB_MKFIFO = @GNULIB_MKFIFO@ |
| @@ -225,6 +226,7 @@ GNULIB_UNLOCKPT = @GNULIB_UNLOCKPT@ | |||
| 225 | GNULIB_UNSETENV = @GNULIB_UNSETENV@ | 226 | GNULIB_UNSETENV = @GNULIB_UNSETENV@ |
| 226 | GNULIB_USLEEP = @GNULIB_USLEEP@ | 227 | GNULIB_USLEEP = @GNULIB_USLEEP@ |
| 227 | GNULIB_UTIMENSAT = @GNULIB_UTIMENSAT@ | 228 | GNULIB_UTIMENSAT = @GNULIB_UTIMENSAT@ |
| 229 | GNULIB_WCTOMB = @GNULIB_WCTOMB@ | ||
| 228 | GNULIB_WRITE = @GNULIB_WRITE@ | 230 | GNULIB_WRITE = @GNULIB_WRITE@ |
| 229 | GNULIB__EXIT = @GNULIB__EXIT@ | 231 | GNULIB__EXIT = @GNULIB__EXIT@ |
| 230 | GNU_OBJC_CFLAGS = @GNU_OBJC_CFLAGS@ | 232 | GNU_OBJC_CFLAGS = @GNU_OBJC_CFLAGS@ |
| @@ -452,6 +454,7 @@ REPLACE_LOCALTIME_R = @REPLACE_LOCALTIME_R@ | |||
| 452 | REPLACE_LSEEK = @REPLACE_LSEEK@ | 454 | REPLACE_LSEEK = @REPLACE_LSEEK@ |
| 453 | REPLACE_LSTAT = @REPLACE_LSTAT@ | 455 | REPLACE_LSTAT = @REPLACE_LSTAT@ |
| 454 | REPLACE_MALLOC = @REPLACE_MALLOC@ | 456 | REPLACE_MALLOC = @REPLACE_MALLOC@ |
| 457 | REPLACE_MBTOWC = @REPLACE_MBTOWC@ | ||
| 455 | REPLACE_MKDIR = @REPLACE_MKDIR@ | 458 | REPLACE_MKDIR = @REPLACE_MKDIR@ |
| 456 | REPLACE_MKFIFO = @REPLACE_MKFIFO@ | 459 | REPLACE_MKFIFO = @REPLACE_MKFIFO@ |
| 457 | REPLACE_MKNOD = @REPLACE_MKNOD@ | 460 | REPLACE_MKNOD = @REPLACE_MKNOD@ |
| @@ -478,6 +481,7 @@ REPLACE_UNLINKAT = @REPLACE_UNLINKAT@ | |||
| 478 | REPLACE_UNSETENV = @REPLACE_UNSETENV@ | 481 | REPLACE_UNSETENV = @REPLACE_UNSETENV@ |
| 479 | REPLACE_USLEEP = @REPLACE_USLEEP@ | 482 | REPLACE_USLEEP = @REPLACE_USLEEP@ |
| 480 | REPLACE_UTIMENSAT = @REPLACE_UTIMENSAT@ | 483 | REPLACE_UTIMENSAT = @REPLACE_UTIMENSAT@ |
| 484 | REPLACE_WCTOMB = @REPLACE_WCTOMB@ | ||
| 481 | REPLACE_WRITE = @REPLACE_WRITE@ | 485 | REPLACE_WRITE = @REPLACE_WRITE@ |
| 482 | RSVG_CFLAGS = @RSVG_CFLAGS@ | 486 | RSVG_CFLAGS = @RSVG_CFLAGS@ |
| 483 | RSVG_LIBS = @RSVG_LIBS@ | 487 | RSVG_LIBS = @RSVG_LIBS@ |
| @@ -1001,6 +1005,7 @@ stdlib.h: stdlib.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) | |||
| 1001 | -e 's|@''GNULIB_GETSUBOPT''@|$(GNULIB_GETSUBOPT)|g' \ | 1005 | -e 's|@''GNULIB_GETSUBOPT''@|$(GNULIB_GETSUBOPT)|g' \ |
| 1002 | -e 's|@''GNULIB_GRANTPT''@|$(GNULIB_GRANTPT)|g' \ | 1006 | -e 's|@''GNULIB_GRANTPT''@|$(GNULIB_GRANTPT)|g' \ |
| 1003 | -e 's|@''GNULIB_MALLOC_POSIX''@|$(GNULIB_MALLOC_POSIX)|g' \ | 1007 | -e 's|@''GNULIB_MALLOC_POSIX''@|$(GNULIB_MALLOC_POSIX)|g' \ |
| 1008 | -e 's|@''GNULIB_MBTOWC''@|$(GNULIB_MBTOWC)|g' \ | ||
| 1004 | -e 's|@''GNULIB_MKDTEMP''@|$(GNULIB_MKDTEMP)|g' \ | 1009 | -e 's|@''GNULIB_MKDTEMP''@|$(GNULIB_MKDTEMP)|g' \ |
| 1005 | -e 's|@''GNULIB_MKOSTEMP''@|$(GNULIB_MKOSTEMP)|g' \ | 1010 | -e 's|@''GNULIB_MKOSTEMP''@|$(GNULIB_MKOSTEMP)|g' \ |
| 1006 | -e 's|@''GNULIB_MKOSTEMPS''@|$(GNULIB_MKOSTEMPS)|g' \ | 1011 | -e 's|@''GNULIB_MKOSTEMPS''@|$(GNULIB_MKOSTEMPS)|g' \ |
| @@ -1019,6 +1024,7 @@ stdlib.h: stdlib.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) | |||
| 1019 | -e 's|@''GNULIB_SYSTEM_POSIX''@|$(GNULIB_SYSTEM_POSIX)|g' \ | 1024 | -e 's|@''GNULIB_SYSTEM_POSIX''@|$(GNULIB_SYSTEM_POSIX)|g' \ |
| 1020 | -e 's|@''GNULIB_UNLOCKPT''@|$(GNULIB_UNLOCKPT)|g' \ | 1025 | -e 's|@''GNULIB_UNLOCKPT''@|$(GNULIB_UNLOCKPT)|g' \ |
| 1021 | -e 's|@''GNULIB_UNSETENV''@|$(GNULIB_UNSETENV)|g' \ | 1026 | -e 's|@''GNULIB_UNSETENV''@|$(GNULIB_UNSETENV)|g' \ |
| 1027 | -e 's|@''GNULIB_WCTOMB''@|$(GNULIB_WCTOMB)|g' \ | ||
| 1022 | < $(srcdir)/stdlib.in.h | \ | 1028 | < $(srcdir)/stdlib.in.h | \ |
| 1023 | sed -e 's|@''HAVE__EXIT''@|$(HAVE__EXIT)|g' \ | 1029 | sed -e 's|@''HAVE__EXIT''@|$(HAVE__EXIT)|g' \ |
| 1024 | -e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \ | 1030 | -e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \ |
| @@ -1047,6 +1053,7 @@ stdlib.h: stdlib.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) | |||
| 1047 | -e 's|@''REPLACE_CALLOC''@|$(REPLACE_CALLOC)|g' \ | 1053 | -e 's|@''REPLACE_CALLOC''@|$(REPLACE_CALLOC)|g' \ |
| 1048 | -e 's|@''REPLACE_CANONICALIZE_FILE_NAME''@|$(REPLACE_CANONICALIZE_FILE_NAME)|g' \ | 1054 | -e 's|@''REPLACE_CANONICALIZE_FILE_NAME''@|$(REPLACE_CANONICALIZE_FILE_NAME)|g' \ |
| 1049 | -e 's|@''REPLACE_MALLOC''@|$(REPLACE_MALLOC)|g' \ | 1055 | -e 's|@''REPLACE_MALLOC''@|$(REPLACE_MALLOC)|g' \ |
| 1056 | -e 's|@''REPLACE_MBTOWC''@|$(REPLACE_MBTOWC)|g' \ | ||
| 1050 | -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \ | 1057 | -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \ |
| 1051 | -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \ | 1058 | -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \ |
| 1052 | -e 's|@''REPLACE_REALLOC''@|$(REPLACE_REALLOC)|g' \ | 1059 | -e 's|@''REPLACE_REALLOC''@|$(REPLACE_REALLOC)|g' \ |
| @@ -1054,6 +1061,7 @@ stdlib.h: stdlib.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) | |||
| 1054 | -e 's|@''REPLACE_SETENV''@|$(REPLACE_SETENV)|g' \ | 1061 | -e 's|@''REPLACE_SETENV''@|$(REPLACE_SETENV)|g' \ |
| 1055 | -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \ | 1062 | -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \ |
| 1056 | -e 's|@''REPLACE_UNSETENV''@|$(REPLACE_UNSETENV)|g' \ | 1063 | -e 's|@''REPLACE_UNSETENV''@|$(REPLACE_UNSETENV)|g' \ |
| 1064 | -e 's|@''REPLACE_WCTOMB''@|$(REPLACE_WCTOMB)|g' \ | ||
| 1057 | -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ | 1065 | -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ |
| 1058 | -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ | 1066 | -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ |
| 1059 | -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \ | 1067 | -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \ |
diff --git a/lib/getopt_int.h b/lib/getopt_int.h index 7a01a6aa422..9f0c7131a14 100644 --- a/lib/getopt_int.h +++ b/lib/getopt_int.h | |||
| @@ -108,7 +108,7 @@ struct _getopt_data | |||
| 108 | #if defined _LIBC && defined USE_NONOPTION_FLAGS | 108 | #if defined _LIBC && defined USE_NONOPTION_FLAGS |
| 109 | int __nonoption_flags_max_len; | 109 | int __nonoption_flags_max_len; |
| 110 | int __nonoption_flags_len; | 110 | int __nonoption_flags_len; |
| 111 | # endif | 111 | #endif |
| 112 | }; | 112 | }; |
| 113 | 113 | ||
| 114 | /* The initializer is necessary to set OPTIND and OPTERR to their | 114 | /* The initializer is necessary to set OPTIND and OPTERR to their |
diff --git a/lib/gnulib.mk b/lib/gnulib.mk index 32bf5714d17..53cc3815254 100644 --- a/lib/gnulib.mk +++ b/lib/gnulib.mk | |||
| @@ -267,6 +267,7 @@ stdlib.h: stdlib.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) | |||
| 267 | -e 's|@''GNULIB_GETSUBOPT''@|$(GNULIB_GETSUBOPT)|g' \ | 267 | -e 's|@''GNULIB_GETSUBOPT''@|$(GNULIB_GETSUBOPT)|g' \ |
| 268 | -e 's|@''GNULIB_GRANTPT''@|$(GNULIB_GRANTPT)|g' \ | 268 | -e 's|@''GNULIB_GRANTPT''@|$(GNULIB_GRANTPT)|g' \ |
| 269 | -e 's|@''GNULIB_MALLOC_POSIX''@|$(GNULIB_MALLOC_POSIX)|g' \ | 269 | -e 's|@''GNULIB_MALLOC_POSIX''@|$(GNULIB_MALLOC_POSIX)|g' \ |
| 270 | -e 's|@''GNULIB_MBTOWC''@|$(GNULIB_MBTOWC)|g' \ | ||
| 270 | -e 's|@''GNULIB_MKDTEMP''@|$(GNULIB_MKDTEMP)|g' \ | 271 | -e 's|@''GNULIB_MKDTEMP''@|$(GNULIB_MKDTEMP)|g' \ |
| 271 | -e 's|@''GNULIB_MKOSTEMP''@|$(GNULIB_MKOSTEMP)|g' \ | 272 | -e 's|@''GNULIB_MKOSTEMP''@|$(GNULIB_MKOSTEMP)|g' \ |
| 272 | -e 's|@''GNULIB_MKOSTEMPS''@|$(GNULIB_MKOSTEMPS)|g' \ | 273 | -e 's|@''GNULIB_MKOSTEMPS''@|$(GNULIB_MKOSTEMPS)|g' \ |
| @@ -285,6 +286,7 @@ stdlib.h: stdlib.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) | |||
| 285 | -e 's|@''GNULIB_SYSTEM_POSIX''@|$(GNULIB_SYSTEM_POSIX)|g' \ | 286 | -e 's|@''GNULIB_SYSTEM_POSIX''@|$(GNULIB_SYSTEM_POSIX)|g' \ |
| 286 | -e 's|@''GNULIB_UNLOCKPT''@|$(GNULIB_UNLOCKPT)|g' \ | 287 | -e 's|@''GNULIB_UNLOCKPT''@|$(GNULIB_UNLOCKPT)|g' \ |
| 287 | -e 's|@''GNULIB_UNSETENV''@|$(GNULIB_UNSETENV)|g' \ | 288 | -e 's|@''GNULIB_UNSETENV''@|$(GNULIB_UNSETENV)|g' \ |
| 289 | -e 's|@''GNULIB_WCTOMB''@|$(GNULIB_WCTOMB)|g' \ | ||
| 288 | < $(srcdir)/stdlib.in.h | \ | 290 | < $(srcdir)/stdlib.in.h | \ |
| 289 | sed -e 's|@''HAVE__EXIT''@|$(HAVE__EXIT)|g' \ | 291 | sed -e 's|@''HAVE__EXIT''@|$(HAVE__EXIT)|g' \ |
| 290 | -e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \ | 292 | -e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \ |
| @@ -313,6 +315,7 @@ stdlib.h: stdlib.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) | |||
| 313 | -e 's|@''REPLACE_CALLOC''@|$(REPLACE_CALLOC)|g' \ | 315 | -e 's|@''REPLACE_CALLOC''@|$(REPLACE_CALLOC)|g' \ |
| 314 | -e 's|@''REPLACE_CANONICALIZE_FILE_NAME''@|$(REPLACE_CANONICALIZE_FILE_NAME)|g' \ | 316 | -e 's|@''REPLACE_CANONICALIZE_FILE_NAME''@|$(REPLACE_CANONICALIZE_FILE_NAME)|g' \ |
| 315 | -e 's|@''REPLACE_MALLOC''@|$(REPLACE_MALLOC)|g' \ | 317 | -e 's|@''REPLACE_MALLOC''@|$(REPLACE_MALLOC)|g' \ |
| 318 | -e 's|@''REPLACE_MBTOWC''@|$(REPLACE_MBTOWC)|g' \ | ||
| 316 | -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \ | 319 | -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \ |
| 317 | -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \ | 320 | -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \ |
| 318 | -e 's|@''REPLACE_REALLOC''@|$(REPLACE_REALLOC)|g' \ | 321 | -e 's|@''REPLACE_REALLOC''@|$(REPLACE_REALLOC)|g' \ |
| @@ -320,6 +323,7 @@ stdlib.h: stdlib.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) | |||
| 320 | -e 's|@''REPLACE_SETENV''@|$(REPLACE_SETENV)|g' \ | 323 | -e 's|@''REPLACE_SETENV''@|$(REPLACE_SETENV)|g' \ |
| 321 | -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \ | 324 | -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \ |
| 322 | -e 's|@''REPLACE_UNSETENV''@|$(REPLACE_UNSETENV)|g' \ | 325 | -e 's|@''REPLACE_UNSETENV''@|$(REPLACE_UNSETENV)|g' \ |
| 326 | -e 's|@''REPLACE_WCTOMB''@|$(REPLACE_WCTOMB)|g' \ | ||
| 323 | -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ | 327 | -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ |
| 324 | -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ | 328 | -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ |
| 325 | -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \ | 329 | -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \ |
diff --git a/lib/stdlib.in.h b/lib/stdlib.in.h index 62d18c62811..2697a4bd1db 100644 --- a/lib/stdlib.in.h +++ b/lib/stdlib.in.h | |||
| @@ -274,6 +274,21 @@ _GL_WARN_ON_USE (malloc, "malloc is not POSIX compliant everywhere - " | |||
| 274 | "use gnulib module malloc-posix for portability"); | 274 | "use gnulib module malloc-posix for portability"); |
| 275 | #endif | 275 | #endif |
| 276 | 276 | ||
| 277 | /* Convert a multibyte character to a wide character. */ | ||
| 278 | #if @GNULIB_MBTOWC@ | ||
| 279 | # if @REPLACE_MBTOWC@ | ||
| 280 | # if !(defined __cplusplus && defined GNULIB_NAMESPACE) | ||
| 281 | # undef mbtowc | ||
| 282 | # define mbtowc rpl_mbtowc | ||
| 283 | # endif | ||
| 284 | _GL_FUNCDECL_RPL (mbtowc, int, (wchar_t *pwc, const char *s, size_t n)); | ||
| 285 | _GL_CXXALIAS_RPL (mbtowc, int, (wchar_t *pwc, const char *s, size_t n)); | ||
| 286 | # else | ||
| 287 | _GL_CXXALIAS_SYS (mbtowc, int, (wchar_t *pwc, const char *s, size_t n)); | ||
| 288 | # endif | ||
| 289 | _GL_CXXALIASWARN (mbtowc); | ||
| 290 | #endif | ||
| 291 | |||
| 277 | #if @GNULIB_MKDTEMP@ | 292 | #if @GNULIB_MKDTEMP@ |
| 278 | /* Create a unique temporary directory from TEMPLATE. | 293 | /* Create a unique temporary directory from TEMPLATE. |
| 279 | The last six characters of TEMPLATE must be "XXXXXX"; | 294 | The last six characters of TEMPLATE must be "XXXXXX"; |
| @@ -723,6 +738,21 @@ _GL_WARN_ON_USE (unsetenv, "unsetenv is unportable - " | |||
| 723 | # endif | 738 | # endif |
| 724 | #endif | 739 | #endif |
| 725 | 740 | ||
| 741 | /* Convert a wide character to a multibyte character. */ | ||
| 742 | #if @GNULIB_WCTOMB@ | ||
| 743 | # if @REPLACE_WCTOMB@ | ||
| 744 | # if !(defined __cplusplus && defined GNULIB_NAMESPACE) | ||
| 745 | # undef wctomb | ||
| 746 | # define wctomb rpl_wctomb | ||
| 747 | # endif | ||
| 748 | _GL_FUNCDECL_RPL (wctomb, int, (char *s, wchar_t wc)); | ||
| 749 | _GL_CXXALIAS_RPL (wctomb, int, (char *s, wchar_t wc)); | ||
| 750 | # else | ||
| 751 | _GL_CXXALIAS_SYS (wctomb, int, (char *s, wchar_t wc)); | ||
| 752 | # endif | ||
| 753 | _GL_CXXALIASWARN (wctomb); | ||
| 754 | #endif | ||
| 755 | |||
| 726 | 756 | ||
| 727 | #endif /* _GL_STDLIB_H */ | 757 | #endif /* _GL_STDLIB_H */ |
| 728 | #endif /* _GL_STDLIB_H */ | 758 | #endif /* _GL_STDLIB_H */ |
diff --git a/m4/stdlib_h.m4 b/m4/stdlib_h.m4 index d28b552e905..25fdada0de7 100644 --- a/m4/stdlib_h.m4 +++ b/m4/stdlib_h.m4 | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | # stdlib_h.m4 serial 36 | 1 | # stdlib_h.m4 serial 37 |
| 2 | dnl Copyright (C) 2007-2011 Free Software Foundation, Inc. | 2 | dnl Copyright (C) 2007-2011 Free Software Foundation, Inc. |
| 3 | dnl This file is free software; the Free Software Foundation | 3 | dnl This file is free software; the Free Software Foundation |
| 4 | dnl gives unlimited permission to copy and/or distribute it, | 4 | dnl gives unlimited permission to copy and/or distribute it, |
| @@ -44,6 +44,7 @@ AC_DEFUN([gl_STDLIB_H_DEFAULTS], | |||
| 44 | GNULIB_GETSUBOPT=0; AC_SUBST([GNULIB_GETSUBOPT]) | 44 | GNULIB_GETSUBOPT=0; AC_SUBST([GNULIB_GETSUBOPT]) |
| 45 | GNULIB_GRANTPT=0; AC_SUBST([GNULIB_GRANTPT]) | 45 | GNULIB_GRANTPT=0; AC_SUBST([GNULIB_GRANTPT]) |
| 46 | GNULIB_MALLOC_POSIX=0; AC_SUBST([GNULIB_MALLOC_POSIX]) | 46 | GNULIB_MALLOC_POSIX=0; AC_SUBST([GNULIB_MALLOC_POSIX]) |
| 47 | GNULIB_MBTOWC=0; AC_SUBST([GNULIB_MBTOWC]) | ||
| 47 | GNULIB_MKDTEMP=0; AC_SUBST([GNULIB_MKDTEMP]) | 48 | GNULIB_MKDTEMP=0; AC_SUBST([GNULIB_MKDTEMP]) |
| 48 | GNULIB_MKOSTEMP=0; AC_SUBST([GNULIB_MKOSTEMP]) | 49 | GNULIB_MKOSTEMP=0; AC_SUBST([GNULIB_MKOSTEMP]) |
| 49 | GNULIB_MKOSTEMPS=0; AC_SUBST([GNULIB_MKOSTEMPS]) | 50 | GNULIB_MKOSTEMPS=0; AC_SUBST([GNULIB_MKOSTEMPS]) |
| @@ -62,6 +63,7 @@ AC_DEFUN([gl_STDLIB_H_DEFAULTS], | |||
| 62 | GNULIB_SYSTEM_POSIX=0; AC_SUBST([GNULIB_SYSTEM_POSIX]) | 63 | GNULIB_SYSTEM_POSIX=0; AC_SUBST([GNULIB_SYSTEM_POSIX]) |
| 63 | GNULIB_UNLOCKPT=0; AC_SUBST([GNULIB_UNLOCKPT]) | 64 | GNULIB_UNLOCKPT=0; AC_SUBST([GNULIB_UNLOCKPT]) |
| 64 | GNULIB_UNSETENV=0; AC_SUBST([GNULIB_UNSETENV]) | 65 | GNULIB_UNSETENV=0; AC_SUBST([GNULIB_UNSETENV]) |
| 66 | GNULIB_WCTOMB=0; AC_SUBST([GNULIB_WCTOMB]) | ||
| 65 | dnl Assume proper GNU behavior unless another module says otherwise. | 67 | dnl Assume proper GNU behavior unless another module says otherwise. |
| 66 | HAVE__EXIT=1; AC_SUBST([HAVE__EXIT]) | 68 | HAVE__EXIT=1; AC_SUBST([HAVE__EXIT]) |
| 67 | HAVE_ATOLL=1; AC_SUBST([HAVE_ATOLL]) | 69 | HAVE_ATOLL=1; AC_SUBST([HAVE_ATOLL]) |
| @@ -91,6 +93,7 @@ AC_DEFUN([gl_STDLIB_H_DEFAULTS], | |||
| 91 | REPLACE_CALLOC=0; AC_SUBST([REPLACE_CALLOC]) | 93 | REPLACE_CALLOC=0; AC_SUBST([REPLACE_CALLOC]) |
| 92 | REPLACE_CANONICALIZE_FILE_NAME=0; AC_SUBST([REPLACE_CANONICALIZE_FILE_NAME]) | 94 | REPLACE_CANONICALIZE_FILE_NAME=0; AC_SUBST([REPLACE_CANONICALIZE_FILE_NAME]) |
| 93 | REPLACE_MALLOC=0; AC_SUBST([REPLACE_MALLOC]) | 95 | REPLACE_MALLOC=0; AC_SUBST([REPLACE_MALLOC]) |
| 96 | REPLACE_MBTOWC=0; AC_SUBST([REPLACE_MBTOWC]) | ||
| 94 | REPLACE_MKSTEMP=0; AC_SUBST([REPLACE_MKSTEMP]) | 97 | REPLACE_MKSTEMP=0; AC_SUBST([REPLACE_MKSTEMP]) |
| 95 | REPLACE_PUTENV=0; AC_SUBST([REPLACE_PUTENV]) | 98 | REPLACE_PUTENV=0; AC_SUBST([REPLACE_PUTENV]) |
| 96 | REPLACE_REALLOC=0; AC_SUBST([REPLACE_REALLOC]) | 99 | REPLACE_REALLOC=0; AC_SUBST([REPLACE_REALLOC]) |
| @@ -98,4 +101,5 @@ AC_DEFUN([gl_STDLIB_H_DEFAULTS], | |||
| 98 | REPLACE_SETENV=0; AC_SUBST([REPLACE_SETENV]) | 101 | REPLACE_SETENV=0; AC_SUBST([REPLACE_SETENV]) |
| 99 | REPLACE_STRTOD=0; AC_SUBST([REPLACE_STRTOD]) | 102 | REPLACE_STRTOD=0; AC_SUBST([REPLACE_STRTOD]) |
| 100 | REPLACE_UNSETENV=0; AC_SUBST([REPLACE_UNSETENV]) | 103 | REPLACE_UNSETENV=0; AC_SUBST([REPLACE_UNSETENV]) |
| 104 | REPLACE_WCTOMB=0; AC_SUBST([REPLACE_WCTOMB]) | ||
| 101 | ]) | 105 | ]) |