summaryrefslogtreecommitdiff
path: root/modules/strerror_r-posix
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2017-04-23 19:02:08 +0200
committerBruno Haible <bruno@clisp.org>2017-04-25 00:02:07 +0200
commit1b19f8fb032be81398434b709192d06d17abbb87 (patch)
treea819f10da9293b42422f38a28056571fb90d3415 /modules/strerror_r-posix
parent60530d050b8d50ab442026e6b6fac30245e459fd (diff)
downloadgnulib-1b19f8fb032be81398434b709192d06d17abbb87.tar.gz
Fix conflict between strerror_r-posix module and AC_FUNC_STRERROR_R.
* modules/strerror_r-posix (configure.ac): Invoke gl_MODULE_INDICATOR. * lib/error.c: Test GNULIB_STRERROR_R_POSIX before testing HAVE_DECL_STRERROR_R, HAVE_STRERROR_R, or STRERROR_R_CHAR_P. * lib/argp-help.c (__argp_failure): Likewise.
Diffstat (limited to 'modules/strerror_r-posix')
-rw-r--r--modules/strerror_r-posix2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/strerror_r-posix b/modules/strerror_r-posix
index e15cf96add..f91bc0e7cc 100644
--- a/modules/strerror_r-posix
+++ b/modules/strerror_r-posix
@@ -19,6 +19,8 @@ if test $HAVE_DECL_STRERROR_R = 0 || test $REPLACE_STRERROR_R = 1; then
gl_PREREQ_STRERROR_R
fi
gl_STRING_MODULE_INDICATOR([strerror_r])
+dnl For the modules argp, error.
+gl_MODULE_INDICATOR([strerror_r-posix])
Makefile.am: