automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

This conditional test fails in 1.6d


From: Pavel Roskin
Subject: This conditional test fails in 1.6d
Date: Wed, 18 Sep 2002 18:09:39 -0400 (EDT)

Hello!

> Please SHOUT LOUD if your package works with Automake 1.6.3 but
> doesn't with 1.6d.

Well, my package doesn't.  Here's the test (full test with copyright is 
attached):

------------------------------------
cat >>configure.in << 'EOF'
AM_CONDITIONAL([USE_FOO], [true])
AC_PROG_CC
EOF

cat >Makefile.am << 'EOF'
if USE_FOO
foo_PROGRAMS = foo
endif

foodir = $(libdir)/foo
foo_SOURCES = foo.c
EOF

$ACLOCAL || exit 1
$AUTOMAKE || exit 1
------------------------------------

=== Running test ./cond25.test
/usr/src/automake/tests/testSubDir
Makefile.am:2: `foo_PROGRAMS' is used but `foodir' is undefined.
Makefile.am:6: unused variable: `foo_SOURCES'
FAIL: cond25.test

Automake 1.6.3 passes this test.  I'm using Autoconf 2.54, bash 2.05a, 
perl 5.6.1.

-- 
Regards,
Pavel Roskin

Attachment: cond25.test.gz
Description: GNU Zip compressed data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]