[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: unterminated conditionals
From: |
Tom Tromey |
Subject: |
Re: unterminated conditionals |
Date: |
01 Jul 2001 17:31:31 -0600 |
>>>>> "Johannes" == Kremp, Johannes (Extern) <address@hidden> 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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: unterminated conditionals,
Tom Tromey <=