mirror of
https://git.savannah.gnu.org/git/gperf.git
synced 2025-12-02 13:09:22 +00:00
* autogen.sh (GNULIB_MODULES): Add getopt-gnu. Use directory gnulib-local. * gnulib-local/lib/getopt-pfx-ext.h.diff: New file. * Makefile.in (SOURCE_FILES): Add it. (distdir): Use 'mkdir -p' instead of 'mkdir'. * lib/getopt.h: Remove file. * lib/getopt.c: Remove file. * lib/getopt1.c: Remove file. * lib/Makefile.am (libgp_a_SOURCES): Remove them.
17 lines
535 B
Diff
17 lines
535 B
Diff
diff --git a/lib/getopt-pfx-ext.h b/lib/getopt-pfx-ext.h
|
|
index 1f2b2d71bf..a61c68c795 100644
|
|
--- a/lib/getopt-pfx-ext.h
|
|
+++ b/lib/getopt-pfx-ext.h
|
|
@@ -38,11 +38,9 @@
|
|
# endif
|
|
# undef getopt_long
|
|
# undef getopt_long_only
|
|
-# undef option
|
|
# undef _getopt_internal
|
|
# define getopt_long __GETOPT_ID (getopt_long)
|
|
# define getopt_long_only __GETOPT_ID (getopt_long_only)
|
|
-# define option __GETOPT_ID (option)
|
|
# define _getopt_internal __GETOPT_ID (getopt_internal)
|
|
|
|
/* The system's getopt.h may have already included getopt-ext.h to
|