strtoimax, strtoumax: port to HP-UX 11.11
[gnulib.git] / modules / strtoumax
index dc72a0a..1d2a15a 100644 (file)
@@ -15,7 +15,7 @@ strtoull        [test $ac_cv_func_strtoumax = no && test $ac_cv_type_unsigned_lo
 
 configure.ac:
 gl_FUNC_STRTOUMAX
-if test $ac_cv_func_strtoumax = no; then
+if test $HAVE_STRTOUMAX = 0 || test $REPLACE_STRTOUMAX = 1; then
   AC_LIBOBJ([strtoumax])
   gl_PREREQ_STRTOUMAX
 fi