autoconf-archive-maintainers
[Top][All Lists]
Advanced

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

Re: [patch #7596] Autoconf macro to detect comiler flags for building ru


From: Stanislav Sedov
Subject: Re: [patch #7596] Autoconf macro to detect comiler flags for building ruby extensions
Date: Fri, 19 Aug 2011 19:53:26 -0700

On Sun, 14 Aug 2011 20:50:16 +0200
Maarten Bosmans <address@hidden> mentioned:

> Wouldn't this be a good macro to define using AC_DEFUN_ONCE?
> 
> Also, it would be nice to take the effort to add proper caching, for
> this macro and also the perl one.
> 

Hi, Maarten!

Sorry for the delay!  I'm not sure that these macros should be AC_DEFUN_ONCE,
because potentially they could be called several times with different values
of $PERL/$RUBY to find values for different kinds of interpreter.  But I don't
have a strong position on this point.  Do you think that I better maker them
one-shot?

As for the caching -- do you have any pointers on how to implement a proper
caching?  I can certainly use AC_CACHE_VAL, but then if the value of $RUBY
changes between runs it will pick up wrong values?  Or will the cache be
discarded automatically in this case?

Thanks!

-- 
Stanislav Sedov
ST4096-RIPE

()  ascii ribbon campaign - against html e-mail 
/\  www.asciiribbon.org   - against proprietary attachments



reply via email to

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