aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorPaul Eggert2017-04-29 23:11:16 -0700
committerPaul Eggert2017-04-29 23:11:38 -0700
commit7cc329fd734992369efd17f6758a732bc5377908 (patch)
tree3f32ba40dce4e8db78ed1f377429c9f7be25add4 /lib
parentb57e03f99803fe4cb801d98269c18803a73928c5 (diff)
downloademacs-7cc329fd734992369efd17f6758a732bc5377908.tar.gz
emacs-7cc329fd734992369efd17f6758a732bc5377908.zip
Merge from gnulib
This incorporates: 2017-04-29 getopt: port to Solaris 10 with circa-1997 glibc getopt.h * lib/getopt-pfx-ext.h: Copy from gnulib. * lib/gnulib.mk.in: Regenerate.
Diffstat (limited to 'lib')
-rw-r--r--lib/getopt-pfx-ext.h2
-rw-r--r--lib/gnulib.mk.in3
2 files changed, 4 insertions, 1 deletions
diff --git a/lib/getopt-pfx-ext.h b/lib/getopt-pfx-ext.h
index bc6052a1dd1..08397591790 100644
--- a/lib/getopt-pfx-ext.h
+++ b/lib/getopt-pfx-ext.h
@@ -40,9 +40,11 @@
40# undef getopt_long 40# undef getopt_long
41# undef getopt_long_only 41# undef getopt_long_only
42# undef option 42# undef option
43# undef _getopt_internal
43# define getopt_long __GETOPT_ID (getopt_long) 44# define getopt_long __GETOPT_ID (getopt_long)
44# define getopt_long_only __GETOPT_ID (getopt_long_only) 45# define getopt_long_only __GETOPT_ID (getopt_long_only)
45# define option __GETOPT_ID (option) 46# define option __GETOPT_ID (option)
47# define _getopt_internal __GETOPT_ID (getopt_internal)
46#endif 48#endif
47 49
48/* Standalone applications get correct prototypes for getopt_long and 50/* Standalone applications get correct prototypes for getopt_long and
diff --git a/lib/gnulib.mk.in b/lib/gnulib.mk.in
index 08f48c2ca38..4a76f0a5aed 100644
--- a/lib/gnulib.mk.in
+++ b/lib/gnulib.mk.in
@@ -431,6 +431,7 @@ HAVE_MKOSTEMP = @HAVE_MKOSTEMP@
431HAVE_MKOSTEMPS = @HAVE_MKOSTEMPS@ 431HAVE_MKOSTEMPS = @HAVE_MKOSTEMPS@
432HAVE_MKSTEMP = @HAVE_MKSTEMP@ 432HAVE_MKSTEMP = @HAVE_MKSTEMP@
433HAVE_MKSTEMPS = @HAVE_MKSTEMPS@ 433HAVE_MKSTEMPS = @HAVE_MKSTEMPS@
434HAVE_MODULES = @HAVE_MODULES@
434HAVE_NANOSLEEP = @HAVE_NANOSLEEP@ 435HAVE_NANOSLEEP = @HAVE_NANOSLEEP@
435HAVE_OPENAT = @HAVE_OPENAT@ 436HAVE_OPENAT = @HAVE_OPENAT@
436HAVE_OPENDIR = @HAVE_OPENDIR@ 437HAVE_OPENDIR = @HAVE_OPENDIR@
@@ -592,6 +593,7 @@ MAKEINFO = @MAKEINFO@
592MAKE_PROG = @MAKE_PROG@ 593MAKE_PROG = @MAKE_PROG@
593MKDIR_P = @MKDIR_P@ 594MKDIR_P = @MKDIR_P@
594MODULES_OBJ = @MODULES_OBJ@ 595MODULES_OBJ = @MODULES_OBJ@
596MODULES_SUFFIX = @MODULES_SUFFIX@
595NEXT_AS_FIRST_DIRECTIVE_DIRENT_H = @NEXT_AS_FIRST_DIRECTIVE_DIRENT_H@ 597NEXT_AS_FIRST_DIRECTIVE_DIRENT_H = @NEXT_AS_FIRST_DIRECTIVE_DIRENT_H@
596NEXT_AS_FIRST_DIRECTIVE_ERRNO_H = @NEXT_AS_FIRST_DIRECTIVE_ERRNO_H@ 598NEXT_AS_FIRST_DIRECTIVE_ERRNO_H = @NEXT_AS_FIRST_DIRECTIVE_ERRNO_H@
597NEXT_AS_FIRST_DIRECTIVE_FCNTL_H = @NEXT_AS_FIRST_DIRECTIVE_FCNTL_H@ 599NEXT_AS_FIRST_DIRECTIVE_FCNTL_H = @NEXT_AS_FIRST_DIRECTIVE_FCNTL_H@
@@ -922,7 +924,6 @@ pdfdir = @pdfdir@
922prefix = @prefix@ 924prefix = @prefix@
923program_transform_name = @program_transform_name@ 925program_transform_name = @program_transform_name@
924psdir = @psdir@ 926psdir = @psdir@
925runstatedir = @runstatedir@
926sbindir = @sbindir@ 927sbindir = @sbindir@
927sharedstatedir = @sharedstatedir@ 928sharedstatedir = @sharedstatedir@
928srcdir = @srcdir@ 929srcdir = @srcdir@