>>>>> "Johannes" == Kremp, Johannes (Extern) <[EMAIL PROTECTED]> writes:
Johannes> and in my 'Makefile.am':
Johannes> if HELLO
Johannes> include hellofiles
Johannes> bin_PROGRAMS = hello
Johannes> hello_SOURCES = $(FILES) #from file 'hellofiles'
Johannes> endif
Thanks. This looks like a bug in the 1.4 series.
As such I'm afraid I'm leaving it for Gary.
Gary, I wrote the appended test.
It works with the trunk automake.
Tom
#! /bin/sh
. $srcdir/defs || exit 1
cat >> configure.in << 'END'
AC_PROG_CC
SWITCH=hello
AM_CONDITIONAL(HELLO, test "$SWITCH" = hello)
END
cat > Makefile.am << 'END'
if HELLO
include hellofiles
bin_PROGRAMS = hello
hello_SOURCES = $(FILES) #from file 'hellofiles'
endif
END
cat > hellofiles << 'END'
FILES = foo.c
END
$AUTOMAKE