]> git.ipfire.org Git - thirdparty/automake.git/commit
java: avoid compilation errors when CLASSPATH is empty
authorDaniel Richard G <skunk@iskunk.org>
Tue, 16 Aug 2011 13:19:14 +0000 (15:19 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Thu, 18 Aug 2011 19:33:51 +0000 (21:33 +0200)
commit720f0a2e5ad7e232390e2c590c331773389e8a25
treed111bbcc885aa9fae102eb01de97652dbabecd30
parentb3afcecf956210275843c3e6e2d6f639f48156eb
java: avoid compilation errors when CLASSPATH is empty

* lib/am/java.am (CLASSPATH_ENV): When redefining `$CLASSPATH',
do not append an empty component in case the previous value of
CLASSPATH is empty or unset.
* tests/java-empty-classpath.test: New test.
* tests/Makefile.am (TESTS): Update.

Fixes automake bug#9306.
ChangeLog
lib/am/java.am
tests/java-empty-classpath.test [new file with mode: 0755]