changeset 5477:65231c66005d

(gl_ARGP): Require gl_GETOPT_SUBSTITUTE unconditionally: argp-parse.c depends on getopt internals, that means we should always use our getopt, to be on the safe side.
author Sergey Poznyakoff <gray@gnu.org.ua>
date Tue, 23 Nov 2004 02:52:07 +0000
parents bd24d57774ac
children fca5a7f08a72
files m4/argp.m4
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/m4/argp.m4
+++ b/m4/argp.m4
@@ -11,9 +11,9 @@
   AC_REQUIRE([AC_C_INLINE])
   AC_REQUIRE([gl_FUNC_GLIBC_UNLOCKED_IO])
   AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
+  AC_REQUIRE([gl_GETOPT_SUBSTITUTE])
   AC_CHECK_DECLS([program_invocation_name, program_invocation_short_name],,,
     [#include <errno.h>])
   AC_CHECK_FUNCS_ONCE([flockfile funlockfile])
   AC_CHECK_HEADERS_ONCE([features.h linewrap.h])
-  AC_CHECK_FUNC(_getopt_long_only_r, :, [gl_GETOPT_SUBSTITUTE])
 ])