autoconf
[Top][All Lists]
Advanced

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

Broken AC_TRY_COMPILE ?


From: gnutools
Subject: Broken AC_TRY_COMPILE ?
Date: Fri, 07 Jun 2002 19:58:26 GMT+1

Autoconf-2.53

I've got a macro which test available C flags
and cache the result. It used to work well with
ac-2.13. Since I upgraded to 2.53, I noticed that
my macro always return "yes" whatever flag I try
(e.g. -Wallall will work with gcc...).

The problem comes from AC_TRY_COMPILE which
seems to not compile anything...

The command I'm using looks like:
AC_TRY_COMPILE([],[],
 [eval "${ac_try_cflags_var}=yes"],
 [eval "${ac_try_cflags_var}=no"])

where ac_try_cflags_var is the name of the
variable to cache.

I didn't try with other 2.5x variants.
Did somebody else face this problem ?
Am I missing some change in how to use
this macro ?

Thx !

PS: any release plan for ac-2.54 ? :o)
______________________________________________________
BoƮte aux lettres - Caramail - http://www.caramail.com


reply via email to

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