mirror of
git://git.savannah.gnu.org/libtool.git
synced 2024-11-21 01:40:57 +08:00
* tests/testsuite.at (LT_AT_EXEC_CHECK): Make sure
that the exit status of the tested program is propagated as the exit status of the expression fed to AT_CHECK.
This commit is contained in:
parent
d398ce8acb
commit
38599480fc
@ -1,3 +1,10 @@
|
||||
2005-09-16 Peter Ekberg <peda@lysator.liu.se>,
|
||||
|
||||
* tests/testsuite.at (LT_AT_EXEC_CHECK): Make sure
|
||||
that the exit status of the tested program is
|
||||
propagated as the exit status of the expression
|
||||
fed to AT_CHECK.
|
||||
|
||||
2005-09-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
||||
|
||||
* libltdl/argz.c <HAVE_CONFIG_H>: Avoid redefinition warning.
|
||||
|
@ -57,10 +57,10 @@ test -f ./configure || exit 1
|
||||
# LT_AT_EXEC_CHECK(EXECUTABLE, [STATUS = 0], [STDOUT], [STDERR])
|
||||
# --------------------------------------------------------------
|
||||
m4_define([LT_AT_EXEC_CHECK],
|
||||
[AT_CHECK([if $1; then :;
|
||||
[AT_CHECK([$1; lt_status=$?; if test $lt_status -eq 0; then :;
|
||||
elif test "X$host" != "X$build" && \
|
||||
{ test -x "$1" || test -x "$1"$EXEEXT; }
|
||||
then (exit 77); fi],[$2],[$3],[$4])
|
||||
then (exit 77); else (exit $lt_status); fi],[$2],[$3],[$4])
|
||||
])
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user