Hi,
I have a list of 'test' directories containing Makefiles. I want to
omit two of those tests if GNU Bison is not found, because they
depend on GNU bison. How do I do this?
AC_CHECK_PROG(BISON,bison,bison)
dnl Below, I want the last two directories to be omitted.
dnl I could do it with two calls to AC_OUTPUT, wrapped in an
dnl if/else statement, but it would look really messy.
dnl Is there a way to build this list beforehand, then add to it
dnl only if bison is found?
AC_OUTPUT(Makefile test-1/Makefile test-2/Makefile
test-bison1/Makefile test-bison2/Makefile)
Thanks.
-John
__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/