bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Error compiling strtoimax.c on hppa2.0w-hp-hpux11.11


From: Eric Blake
Subject: Re: Error compiling strtoimax.c on hppa2.0w-hp-hpux11.11
Date: Thu, 10 Oct 2013 12:24:42 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0

On 10/10/2013 11:29 AM, Tom G. Christensen wrote:
> On 10/10/2013 06:18 PM, Paul Eggert wrote:
>> On 10/10/13 08:52, Tom G. Christensen wrote:
>> I installed the following; does it fix things for you?
> 
> No, the error is the same.
> 
> 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

Oh, I see the typo; pushing this.

diff --git i/ChangeLog w/ChangeLog
index 3f6bf07..0d97328 100644
--- i/ChangeLog
+++ w/ChangeLog
@@ -1,3 +1,9 @@
+2013-10-10  Eric Blake  <address@hidden>
+
+       strtoumax: fix typo in previous commit.
+       * modules/strtoumax (Depends-on): Fix typo.
+       * modules/strtoimax (Depends-on): Likewise.
+
 2013-10-10  Paul Eggert  <address@hidden>

        strtoumax: port to Solaris 8
diff --git i/modules/strtoimax w/modules/strtoimax
index 2517603..5b0ea91 100644
--- i/modules/strtoimax
+++ w/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 i/modules/strtoumax w/modules/strtoumax
index ba6ec11..694184b 100644
--- i/modules/strtoumax
+++ w/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


> 
> 

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]