* Ralf Wildenhues wrote on Sat, Mar 15, 2008 at 03:18:47PM CET: > -- configure.ac -- > if $condition; then > AC_CONFIG_FILES([prog]) > fi > > -- Makefile.am > if COND > bin_SCRIPTS = prog > else > bin_PROGRAMS = prog > prog_SOURCES = ... > endif > > will not cause the rules for the prog$(EXEEXT) binary nor those for the > prog script to be disabled if respective condition is not met. (The > first is a bug, the second a limitation: automake cannot understand > shell conditionals in configure.ac).
The second is fixed with using this: <http://thread.gmane.org/gmane.comp.sysutils.automake.patches/3129>