]> Savannah Git Hosting - gnulib.git/commitdiff
Make the 'argp' module work without the 'error' module.
authorBruno Haible <bruno@clisp.org>
Sun, 16 Oct 2016 15:43:53 +0000 (17:43 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 26 Oct 2016 11:57:17 +0000 (13:57 +0200)
* m4/argp.m4 (gl_ARGP): Require AC_FUNC_STRERROR_R.

ChangeLog
m4/argp.m4

index 6f4e2fcd9d132b6da3b41cbb258187accd20a9f3..4faf8ba17d75d024ffb444462acc724e4f33b34d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2016-10-16  Bruno Haible  <bruno@clisp.org>
+
+       Make the 'argp' module work without the 'error' module.
+       * m4/argp.m4 (gl_ARGP): Require AC_FUNC_STRERROR_R.
+
 2016-10-25  Paul Eggert  <eggert@cs.ucla.edu>
 
        diffseq: restore TOO_EXPENSIVE heuristic
index d36c716cb460ff1b3af1d514e3621a2984f58436..478ec21802966e401164e1212dbce835012ebfb7 100644 (file)
@@ -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