autoconf
[Top][All Lists]
Advanced

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

Re: automatic caching


From: Patrick Welche
Subject: Re: automatic caching
Date: Thu, 10 Apr 2003 14:56:57 +0100
User-agent: Mutt/1.3.19i

On Tue, Apr 08, 2003 at 05:05:43PM +0700, Alexey Morozov wrote:
> ? ???, 08.04.2003, ? 07:17, Patrick Welche ?????:
> > I see in the fine manual under "Existing Tests", These tests ... cache their
> > results for future 'configure' runs, and AC_CHECK_LIB is one of them. How
> > can one turn this caching off?
> When I asked this question a while ago, I got answer like "use
> AC_{COMPILE,LINK,etc}_IFELSE macros family instead of AC_CHECK_{HEADER,
> LIB, etc}". Although I still think, this way is not quite convenient,
> but nevertheless it works. Another possible way is to 'unset'
> appropriate cache variables (like 'unset ac_cv_header_oci_h') between
> two subsequent tests but 'unset' is marked as being non-portable.

Thanks for the tip, I rewrote my configure.ac. It seems that essentially
it means duplicating AC_CHECK_LIB removing the cached variables. How about
adding another argument to AC_CHECK_LIB to turn caching on/off?

> > this is with today's CVS code - it worked back in January when I first wrote
> > configure.ac...
> Hmm, I thought this code is much older...
You're probably right, it looks more like
revision 1.7
date: 2002/10/27 18:21:32;  author: akim;  state: Exp;  lines: +13 -10
* lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING): Don't use
AC_TRY_LINK_FUNC nor AC_TRY_LINK.
* lib/autoconf/libs.m4 (AC_CHECK_LIB, AC_PATH_XTRA): Likewise.
so I must have had an older autoconf on it..

Thanks,

Patrick




reply via email to

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