changeset 37200:4d0f0bc7a42f

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 7ef1b37f96c9
children 8660fad5c0ba
files ChangeLog modules/strtoumax
diffstat 2 files changed, 12 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Thu Oct 10 09:13:26 2013 -0700
+++ b/ChangeLog	Thu Oct 10 09:15:18 2013 -0700
@@ -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	Thu Oct 10 09:13:26 2013 -0700
+++ b/modules/strtoumax	Thu Oct 10 09:15:18 2013 -0700
@@ -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