[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gnutls-dev] GNUTLS configure is buggered
From: |
Simon Josefsson |
Subject: |
Re: [gnutls-dev] GNUTLS configure is buggered |
Date: |
Mon, 11 Jun 2007 20:55:20 +0200 |
User-agent: |
Gnus/5.110007 (No Gnus v0.7) Emacs/22.0.95 (gnu/linux) |
"Kristofer T. Karas" <address@hidden> writes:
> Hi,
>
> Just wanted to report that the "configure" script in gnutls versions
> 1.7.12 and 1.7.13 is broken. (See the output of make on a Slackware
> gnu/linux system, below.)
>
> It seems that configure performs a number of tests to identify what
> features the c compiler supports (gcc 3.4.6 in this case) and it
> attempts to do so by setting AM_CFLAGS to the command-line option in
> question. However, AM_CFLAGS is not used by $ac_compile, resulting in a
> "true" result for every single test performed.
Hi! Thanks for the report. I have reverted the recent
s/CFLAGS/AM_CFLAGS/ change for the -Wno-pointer-sign test, since it is
not needed there.
I couldn't find any other test in configure.in that set AM_CFLAGS and
then tested whether it worked or not, though. Please test whether
tomorrow's snapshot works for you.
Regards,
Simon
> Example:
> configure:9496: checking if gcc supports -Wno-pointer-sign
> configure:9521: gcc -std=gnu99 -c -D_REENTRANT -D_THREAD_SAFE conftest.c
> >&5
> configure:9527: $? = 0
> configure:9541: result: yes
>
> And when attempting to make, we get:
>
> /bin/sh ../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H
> -I. -I.. -I../intl -D_REENTRANT -D_THREAD_SAFE -Wno-pointer-sign -pipe
> -D_REENTRANT -D_THREAD_SAFE -MT dummy.lo -MD -MP -MF .deps/dummy.Tpo -c -o
> dummy.lo dummy.c
> gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../intl -D_REENTRANT
> -D_THREAD_SAFE -Wno-pointer-sign -pipe -D_REENTRANT -D_THREAD_SAFE -MT
> dummy.lo -MD -MP -MF .deps/dummy.Tpo -c dummy.c -fPIC -DPIC -o .libs/dummy.o
> cc1: error: unrecognized command line option "-Wno-pointer-sign"
> make[3]: *** [dummy.lo] Error 1
>
> Regards,
> Kris
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [gnutls-dev] GNUTLS configure is buggered,
Simon Josefsson <=