[LLVMdev] Auto-configuration of llvm/projects directory

Misha Brukman brukman at uiuc.edu
Thu Sep 23 14:45:44 PDT 2004


On Thu, Sep 23, 2004 at 01:40:46PM -0700, Reid Spencer wrote:
> If you use a variable instead of a liberal, you currently get a
> warning. 

What if one uses a conservative instead of a liberal? :)  *g, d, r*

> The documentation says that this will, eventually, become an error as
> it is deprecated because using a variable cannot be successfully
> implemented on all platforms. That is, we can't write things like:
> 
> if test -r projects/${proj}/configure ; then
>   AC_CONFIG_SUBDIRS(${proj})
> fi
> 
> Instead, autoconf requires us to write:
> 
> if test -r projects/llvm-test/configure ; then
>   AC_CONFIG_SUBDIRS(projects/llvm-test)
> fi
> 
> This change was requested by Misha who noted that "one of these things
> is not the same" and because I was uncomfortable with disregarding the
> autoconf warning messages about the misuse of AC_CONFIG_SUBDIRS. 

To be more to the point, what Misha noted was that every project was
named "llvm-xyz" with the exception of "Java".  He was not talking about
the format of AC_CONFIG_SUBDIRS() .

-- 
Misha Brukman :: http://misha.brukman.net :: http://llvm.cs.uiuc.edu




More information about the llvm-dev mailing list