[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
How to omit files from AC_OUTPUT?
From: |
John W. Millaway |
Subject: |
How to omit files from AC_OUTPUT? |
Date: |
Mon, 30 Apr 2001 11:41:35 -0700 (PDT) |
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/
- How to omit files from AC_OUTPUT?,
John W. Millaway <=