On 10/10/13 08:52, Tom G. Christensen wrote: > This test checks HAVE_STRTOUMAX which is not declared anywhere.
It should be declared by the AC_CHECK_FUNCS_ONCE([strtoumax]) in m4/strtoumax.m4. But I think I see the problem; I forgot to copy some of the stuff in modules/strtoimax into modules/strtoumax. Thanks for reporting it. I installed the following; does it fix things for you? (I no longer have access to a Solaris 8 box; my oldest Solaris antique is running Solaris 9.) --- ChangeLog | 9 +++++++++ modules/strtoumax | 6 +++--- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index b176e1d..3f6bf07 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2013-10-10 Paul Eggert <egg...@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 <egg...@cs.ucla.edu> strtoimax, strtoumax: port to HP-UX 11.11 diff --git a/modules/strtoumax b/modules/strtoumax index 1d2a15a..ba6ec11 100644 --- a/modules/strtoumax +++ b/modules/strtoumax @@ -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 -- 1.8.3.1