From: Ralf Wildenhues Date: Tue, 4 Mar 2008 06:36:58 +0000 (+0100) Subject: * lib/autotest/general.m4 (AT_INIT): Fix detection of '-C -'. X-Git-Tag: v2.62~52 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cd4eae6962f6d11b3d07349d78b88b4dfc4ede90;p=thirdparty%2Fautoconf.git * lib/autotest/general.m4 (AT_INIT): Fix detection of '-C -'. --- diff --git a/ChangeLog b/ChangeLog index bfeb1de8..0bb35a93 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2008-03-04 Ralf Wildenhues + + * lib/autotest/general.m4 (AT_INIT): Fix detection of '-C -'. + 2008-03-03 Ralf Wildenhues autoreconf -m now honors $MAKE. diff --git a/lib/autotest/general.m4 b/lib/autotest/general.m4 index 939119a0..e8ca1dd3 100644 --- a/lib/autotest/general.m4 +++ b/lib/autotest/general.m4 @@ -702,10 +702,10 @@ m4_divert_push([TESTS_BEGIN])dnl # Take any -C into account. if $at_change_dir ; then - if test x- = x$"at_dir" ; then + if test x- = "x$at_dir" ; then at_dir=./- fi - test x != x"$at_dir" && cd "$at_dir" \ + test x != "x$at_dir" && cd "$at_dir" \ || AS_ERROR([unable to change directory]) at_dir=`pwd` fi