From 469bfadfce6db8ca43067756b684535529891287 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 16 Oct 2016 17:43:53 +0200 Subject: [PATCH] Make the 'argp' module work without the 'error' module. * m4/argp.m4 (gl_ARGP): Require AC_FUNC_STRERROR_R. --- ChangeLog | 5 +++++ m4/argp.m4 | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) 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 -- 2.39.5