summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2004-07-28 06:58:09 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2004-07-28 06:58:09 +0000
commit2cc7823212ad5c077bdb1978f117dbdb99153113 (patch)
tree8febaa86215a9a1d85b9ddd7b832c736d9cdbb61
parent62824b327f782bd1f648ef891d986e31eade32f6 (diff)
downloadcoreutils-2cc7823212ad5c077bdb1978f117dbdb99153113.tar.xz
Check for declaration of strtoumax, for src/printf.c.
-rw-r--r--configure.ac4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index f4222317b..592f3179e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -225,11 +225,13 @@ if test $jm_cv_sys_tiocgwinsz_needs_termios_h = no && \
fi
# For src/kill.c.
-AC_CHECK_DECLS([strtoimax])
AC_CHECK_DECLS([strsignal, sys_siglist, _sys_siglist, __sys_siglist], , ,
[AC_INCLUDES_DEFAULT
#include <signal.h>])
+# For src/kill.c and src/printf.c.
+AC_CHECK_DECLS([strtoimax, strtoumax])
+
gl_LIB_CHECK
AM_GNU_GETTEXT([external], [need-ngettext])