From: Bruno Haible Date: Sun, 16 Oct 2016 15:43:53 +0000 (+0200) Subject: Make the 'argp' module work without the 'error' module. X-Git-Tag: v1.0~6580 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=469bfadfce6db8ca43067756b684535529891287;p=gnulib.git Make the 'argp' module work without the 'error' module. * m4/argp.m4 (gl_ARGP): Require AC_FUNC_STRERROR_R. --- diff --git a/ChangeLog b/ChangeLog index 6f4e2fcd9d..4faf8ba17d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2016-10-16 Bruno Haible + + Make the 'argp' module work without the 'error' module. + * m4/argp.m4 (gl_ARGP): Require AC_FUNC_STRERROR_R. + 2016-10-25 Paul Eggert diffseq: restore TOO_EXPENSIVE heuristic diff --git a/m4/argp.m4 b/m4/argp.m4 index d36c716cb4..478ec21802 100644 --- a/m4/argp.m4 +++ b/m4/argp.m4 @@ -1,4 +1,4 @@ -# argp.m4 serial 14 +# argp.m4 serial 15 dnl Copyright (C) 2003-2016 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -54,6 +54,7 @@ AC_DEFUN([gl_ARGP], AC_CHECK_DECLS_ONCE([putchar_unlocked]) AC_CHECK_FUNCS_ONCE([flockfile funlockfile]) AC_CHECK_HEADERS_ONCE([features.h linewrap.h]) + AC_REQUIRE([AC_FUNC_STRERROR_R]) ]) dnl argp-parse.c depends on GNU getopt internals, therefore use GNU getopt