> 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