[gnutls-dev] GNUTLS configure is buggered
Simon Josefsson
simon at josefsson.org
Mon Jun 11 20:55:20 CEST 2007
"Kristofer T. Karas" <ktk at enterprise.bidmc.harvard.edu> 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
More information about the Gnutls-devel
mailing list