]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* lib/autotest/general.m4 (AT_INIT): Fix detection of '-C -'.
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Tue, 4 Mar 2008 06:36:58 +0000 (07:36 +0100)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Tue, 4 Mar 2008 06:38:09 +0000 (07:38 +0100)
ChangeLog
lib/autotest/general.m4

index bfeb1de814e487177a92722b09d1f0261f67f8ad..0bb35a93fec67b143e2ec9e975b95abb2ccdb438 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-03-04  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * lib/autotest/general.m4 (AT_INIT): Fix detection of '-C -'.
+
 2008-03-03  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
        autoreconf -m now honors $MAKE.
index 939119a083cc89cf85ef93f184d0da3156afdc68..e8ca1dd33b403c034719009b24a65a9d57fe3c55 100644 (file)
@@ -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