Check for declaration of strtoumax, for src/printf.c.
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 28 Jul 2004 06:58:09 +0000 (06:58 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 28 Jul 2004 06:58:09 +0000 (06:58 +0000)
configure.ac

index f4222317b6b26d5a56c8bd2c49e09416e5897dae..592f3179e281fac3b48df8c8bf84e0f7e291aa94 100644 (file)
@@ -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])