From: Pavel Roskin Date: Tue, 10 Oct 2000 00:18:53 +0000 (+0000) Subject: * m4/init.m4 (AM_INIT_AUTOMAKE): Don't rely on variable X-Git-Tag: Release-1-4b~44 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5cad77aabe41395e44fd6a5e990749782f541890;p=thirdparty%2Fautomake.git * m4/init.m4 (AM_INIT_AUTOMAKE): Don't rely on variable assignments changing $? - it's broken in ash-0.2. * m4/missing.m4 (AM_MISSING_HAS_RUN): Likewise. --- diff --git a/ChangeLog b/ChangeLog index ddcb7faf7..7167c6fd8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2000-10-09 Pavel Roskin + + * m4/init.m4 (AM_INIT_AUTOMAKE): Don't rely on variable + assignments changing $? - it's broken in ash-0.2. + * m4/missing.m4 (AM_MISSING_HAS_RUN): Likewise. + 2000-10-06 Alexandre Duret-Lutz * aclocal.in (add_file): Strip comments while scanning for diff --git a/m4/init.m4 b/m4/init.m4 index ef6fb8897..613e908b1 100644 --- a/m4/init.m4 +++ b/m4/init.m4 @@ -26,7 +26,7 @@ AC_DEFUN([AM_INIT_AUTOMAKE], [dnl We require 2.13 because we rely on SHELL being computed by configure. AC_REQUIRE([AC_PROG_INSTALL])dnl # test to see if srcdir already configured -if test "`CDPATH=: && cd $srcdir && pwd`" != "`pwd`" && +if test "`CDPATH=:; cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) fi diff --git a/m4/missing.m4 b/m4/missing.m4 index 1b6b1f55a..d01f3fc49 100644 --- a/m4/missing.m4 +++ b/m4/missing.m4 @@ -26,7 +26,7 @@ AC_SUBST(install_sh)]) # If it does, set am_missing_run to use it, otherwise, to nothing. AC_DEFUN([AM_MISSING_HAS_RUN], [ test x"${MISSING+set}" = xset || \ - MISSING="\${SHELL} `CDPATH=: && cd $ac_aux_dir && pwd`/missing" + MISSING="\${SHELL} `CDPATH=:; cd $ac_aux_dir && pwd`/missing" # Use eval to expand $SHELL if eval "$MISSING --run :"; then am_missing_run="$MISSING --run "