changeset 17520:796d7689f6de

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.
author Paul Eggert <eggert@cs.ucla.edu>
date Thu, 10 Oct 2013 09:15:18 -0700
parents 4cfb909c5f0d
children aca7f4376f8c
files ChangeLog modules/strtoumax
diffstat 2 files changed, 12 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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
--- a/modules/strtoumax
+++ b/modules/strtoumax
@@ -9,9 +9,9 @@
 
 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