diff options
| author | Paul Eggert | 2017-04-29 23:11:16 -0700 |
|---|---|---|
| committer | Paul Eggert | 2017-04-29 23:11:38 -0700 |
| commit | 7cc329fd734992369efd17f6758a732bc5377908 (patch) | |
| tree | 3f32ba40dce4e8db78ed1f377429c9f7be25add4 /lib | |
| parent | b57e03f99803fe4cb801d98269c18803a73928c5 (diff) | |
| download | emacs-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.h | 2 | ||||
| -rw-r--r-- | lib/gnulib.mk.in | 3 |
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@ | |||
| 431 | HAVE_MKOSTEMPS = @HAVE_MKOSTEMPS@ | 431 | HAVE_MKOSTEMPS = @HAVE_MKOSTEMPS@ |
| 432 | HAVE_MKSTEMP = @HAVE_MKSTEMP@ | 432 | HAVE_MKSTEMP = @HAVE_MKSTEMP@ |
| 433 | HAVE_MKSTEMPS = @HAVE_MKSTEMPS@ | 433 | HAVE_MKSTEMPS = @HAVE_MKSTEMPS@ |
| 434 | HAVE_MODULES = @HAVE_MODULES@ | ||
| 434 | HAVE_NANOSLEEP = @HAVE_NANOSLEEP@ | 435 | HAVE_NANOSLEEP = @HAVE_NANOSLEEP@ |
| 435 | HAVE_OPENAT = @HAVE_OPENAT@ | 436 | HAVE_OPENAT = @HAVE_OPENAT@ |
| 436 | HAVE_OPENDIR = @HAVE_OPENDIR@ | 437 | HAVE_OPENDIR = @HAVE_OPENDIR@ |
| @@ -592,6 +593,7 @@ MAKEINFO = @MAKEINFO@ | |||
| 592 | MAKE_PROG = @MAKE_PROG@ | 593 | MAKE_PROG = @MAKE_PROG@ |
| 593 | MKDIR_P = @MKDIR_P@ | 594 | MKDIR_P = @MKDIR_P@ |
| 594 | MODULES_OBJ = @MODULES_OBJ@ | 595 | MODULES_OBJ = @MODULES_OBJ@ |
| 596 | MODULES_SUFFIX = @MODULES_SUFFIX@ | ||
| 595 | NEXT_AS_FIRST_DIRECTIVE_DIRENT_H = @NEXT_AS_FIRST_DIRECTIVE_DIRENT_H@ | 597 | NEXT_AS_FIRST_DIRECTIVE_DIRENT_H = @NEXT_AS_FIRST_DIRECTIVE_DIRENT_H@ |
| 596 | NEXT_AS_FIRST_DIRECTIVE_ERRNO_H = @NEXT_AS_FIRST_DIRECTIVE_ERRNO_H@ | 598 | NEXT_AS_FIRST_DIRECTIVE_ERRNO_H = @NEXT_AS_FIRST_DIRECTIVE_ERRNO_H@ |
| 597 | NEXT_AS_FIRST_DIRECTIVE_FCNTL_H = @NEXT_AS_FIRST_DIRECTIVE_FCNTL_H@ | 599 | NEXT_AS_FIRST_DIRECTIVE_FCNTL_H = @NEXT_AS_FIRST_DIRECTIVE_FCNTL_H@ |
| @@ -922,7 +924,6 @@ pdfdir = @pdfdir@ | |||
| 922 | prefix = @prefix@ | 924 | prefix = @prefix@ |
| 923 | program_transform_name = @program_transform_name@ | 925 | program_transform_name = @program_transform_name@ |
| 924 | psdir = @psdir@ | 926 | psdir = @psdir@ |
| 925 | runstatedir = @runstatedir@ | ||
| 926 | sbindir = @sbindir@ | 927 | sbindir = @sbindir@ |
| 927 | sharedstatedir = @sharedstatedir@ | 928 | sharedstatedir = @sharedstatedir@ |
| 928 | srcdir = @srcdir@ | 929 | srcdir = @srcdir@ |