autoconf
[Top][All Lists]
Advanced

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

Re: How to omit files from AC_OUTPUT?


From: Lars Hecking
Subject: Re: How to omit files from AC_OUTPUT?
Date: Tue, 1 May 2001 10:16:25 +0100
User-agent: Mutt/1.3.17i

> In autoconf 2.13, you might get away with:
> 
> if test x$ac_cv_prog_BISON = xbison; then
>   extra_makefiles="test-bison1/Makefile test-bison2/Makefile"
> fi
> AC_OUTPUT(Makefile test-1/Makefile test-2/Makefile $extra_makefiles)

 IIRC one cannot use variables in AC_OUTPUT.

 You could do something like

$ cat test-bison1/Makefile.in
...
all: @TEST_BISON1@
...

 and accordingly for the other subdirs, and AC_SUBST the proper values
 for the TEST_BISONx variables in configure.




reply via email to

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