From fa1db0dd22768f09a507674a30beb5b8a87bb35f Mon Sep 17 00:00:00 2001 From: Eric Blake Date: Thu, 10 Oct 2013 12:24:59 -0600 Subject: [PATCH] strtoumax: fix typo in previous commit. Tom G. Christensen reported: > I see this in the configure output: > ./configure: line 7680: test: =: unary operator expected > > $ sed -n 7680p configure > if test $HAVE_STRTOUMAX = 0 || test $REPLACE_STRTOUMAX = 1; then and indeed, we're only setting HAVE_DECL_STRTOUMAX. * modules/strtoumax (Depends-on): Fix typo. * modules/strtoimax (Depends-on): Likewise. Signed-off-by: Eric Blake --- ChangeLog | 6 ++++++ modules/strtoimax | 6 +++--- modules/strtoumax | 6 +++--- 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index 3f6bf0787..0d97328ac 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2013-10-10 Eric Blake + + strtoumax: fix typo in previous commit. + * modules/strtoumax (Depends-on): Fix typo. + * modules/strtoimax (Depends-on): Likewise. + 2013-10-10 Paul Eggert strtoumax: port to Solaris 8 diff --git a/modules/strtoimax b/modules/strtoimax index 2517603c6..5b0ea91b8 100644 --- a/modules/strtoimax +++ b/modules/strtoimax @@ -8,9 +8,9 @@ m4/longlong.m4 Depends-on: inttypes-incomplete -verify [test $HAVE_STRTOIMAX = 0 || test $REPLACE_STRTOIMAX = 1] -stdint [test $HAVE_STRTOIMAX = 0 || test $REPLACE_STRTOIMAX = 1] -strtoll [{ test $HAVE_STRTOIMAX = 0 || test $REPLACE_STRTOIMAX = 1; } && test $ac_cv_type_long_long_int = yes] +verify [test $HAVE_DECL_STRTOIMAX = 0 || test $REPLACE_STRTOIMAX = 1] +stdint [test $HAVE_DECL_STRTOIMAX = 0 || test $REPLACE_STRTOIMAX = 1] +strtoll [{ test $HAVE_DECL_STRTOIMAX = 0 || test $REPLACE_STRTOIMAX = 1; } && test $ac_cv_type_long_long_int = yes] configure.ac: gl_FUNC_STRTOIMAX diff --git a/modules/strtoumax b/modules/strtoumax index ba6ec11e5..694184b21 100644 --- a/modules/strtoumax +++ b/modules/strtoumax @@ -9,9 +9,9 @@ m4/strtoumax.m4 Depends-on: inttypes-incomplete -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] +verify [test $HAVE_DECL_STRTOUMAX = 0 || test $REPLACE_STRTOUMAX = 1] +stdint [test $HAVE_DECL_STRTOUMAX = 0 || test $REPLACE_STRTOUMAX = 1] +strtoull [{ test $HAVE_DECL_STRTOUMAX = 0 || test $REPLACE_STRTOUMAX = 1; } && test $ac_cv_type_unsigned_long_long_int = yes] configure.ac: gl_FUNC_STRTOUMAX -- 2.11.0