diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2001-10-20 18:10:52 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2001-10-20 18:10:52 +0000 |
commit | e439c9fe362468af0233189f86faeca817110b86 (patch) | |
tree | fc35f9c5826162e958b701cd4e697ab35d4394e4 | |
parent | 88711e3972944ed39056740304c2dc38f3079e64 (diff) | |
download | tar-e439c9fe362468af0233189f86faeca817110b86.tar.gz |
(jm_PREREQ_ERROR): Do not invoke AC_CHECK_FUNCS with strerror_r, as
AC_FUNC_STRERROR_R does that.
Check for strerror declaration.
-rw-r--r-- | m4/error.m4 | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/m4/error.m4 b/m4/error.m4 index 3d9b2b7b..3fddb5c1 100644 --- a/m4/error.m4 +++ b/m4/error.m4 @@ -1,4 +1,4 @@ -#serial 3 +#serial 4 dnl FIXME: put these prerequisite-only *.m4 files in a separate dnl directory -- otherwise, they'll conflict with existing files. @@ -6,7 +6,8 @@ dnl directory -- otherwise, they'll conflict with existing files. dnl These are the prerequisite macros for GNU's error.c file. AC_DEFUN([jm_PREREQ_ERROR], [ - AC_CHECK_FUNCS(strerror strerror_r vprintf doprnt) + AC_CHECK_FUNCS(strerror vprintf doprnt) + AC_CHECK_DECLS([strerror]) AC_FUNC_STRERROR_R AC_HEADER_STDC ]) |