changeset 37201:8660fad5c0ba

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 <eblake@redhat.com>
author Eric Blake <eblake@redhat.com>
date Thu, 10 Oct 2013 12:24:59 -0600
parents 4d0f0bc7a42f
children 143cea48b4d3
files ChangeLog modules/strtoimax modules/strtoumax
diffstat 3 files changed, 12 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Thu Oct 10 09:15:18 2013 -0700
+++ b/ChangeLog	Thu Oct 10 12:24:59 2013 -0600
@@ -1,3 +1,9 @@
+2013-10-10  Eric Blake  <eblake@redhat.com>
+
+	strtoumax: fix typo in previous commit.
+	* modules/strtoumax (Depends-on): Fix typo.
+	* modules/strtoimax (Depends-on): Likewise.
+
 2013-10-10  Paul Eggert  <eggert@cs.ucla.edu>
 
 	strtoumax: port to Solaris 8
--- a/modules/strtoimax	Thu Oct 10 09:15:18 2013 -0700
+++ b/modules/strtoimax	Thu Oct 10 12:24:59 2013 -0600
@@ -8,9 +8,9 @@
 
 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
--- a/modules/strtoumax	Thu Oct 10 09:15:18 2013 -0700
+++ b/modules/strtoumax	Thu Oct 10 12:24:59 2013 -0600
@@ -9,9 +9,9 @@
 
 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