strtoumax: port to Solaris 8
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 10 Oct 2013 16:15:18 +0000 (09:15 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 10 Oct 2013 16:17:15 +0000 (09:17 -0700)
This problem was introduced in the recent HP-UX patch.
Reported by Tom G. Christensen in
<http://lists.gnu.org/archive/html/bug-gnulib/2013-10/msg00037.html>.
* modules/strtoumax (Depends-on): Test HAVE_STRTOUMAX
and REPLACE_STRTOUMAX rather than ac_cv_func_strtoumax.

ChangeLog
modules/strtoumax

index b176e1d..3f6bf07 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2013-10-10  Paul Eggert  <eggert@cs.ucla.edu>
+
+       strtoumax: port to Solaris 8
+       This problem was introduced in the recent HP-UX patch.
+       Reported by Tom G. Christensen in
+       <http://lists.gnu.org/archive/html/bug-gnulib/2013-10/msg00037.html>.
+       * modules/strtoumax (Depends-on): Test HAVE_STRTOUMAX
+       and REPLACE_STRTOUMAX rather than ac_cv_func_strtoumax.
+
 2013-10-09  Paul Eggert  <eggert@cs.ucla.edu>
 
        strtoimax, strtoumax: port to HP-UX 11.11
index 1d2a15a..ba6ec11 100644 (file)
@@ -9,9 +9,9 @@ m4/strtoumax.m4
 
 Depends-on:
 inttypes-incomplete
-verify          [test $ac_cv_func_strtoumax = no]
-stdint          [test $ac_cv_func_strtoumax = no]
-strtoull        [test $ac_cv_func_strtoumax = no && test $ac_cv_type_unsigned_long_long_int = yes]
+verify          [test $HAVE_STRTOUMAX = 0 || test $REPLACE_STRTOUMAX = 1]
+stdint          [test $HAVE_STRTOUMAX = 0 || test $REPLACE_STRTOUMAX = 1]
+strtoull        [{ test $HAVE_STRTOUMAX = 0 || test $REPLACE_STRTOUMAX = 1; } && test $ac_cv_type_unsigned_long_long_int = yes]
 
 configure.ac:
 gl_FUNC_STRTOUMAX