]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* acgeneral.m4 (_AC_INIT_PREPARE_FS_SEPARATORS): Use `.;.' instead
authorAkim Demaille <akim@epita.fr>
Wed, 28 Feb 2001 08:45:55 +0000 (08:45 +0000)
committerAkim Demaille <akim@epita.fr>
Wed, 28 Feb 2001 08:45:55 +0000 (08:45 +0000)
of `.;`pwd`': if pwd is c:/foo, we might walk through `.:c'
(fails), and then `/foo' which might succeed, resulting in
believing `;' is the right path separator.

ChangeLog
acgeneral.m4
lib/autoconf/general.m4

index bdbbf0feecfb6fe703a8c99a31dcb3f95373ad74..16bf6471077be097b04e086e139cea6193c8339d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,9 @@
-2001-02-26  Pavel Roskin  <proski@gnu.org>
+2001-02-28  Akim Demaille  <akim@epita.fr>
 
-       * autoupdate.in: Preserve exit status of the failed command when
-       die() follows system() by dividing $! by 256.
+       * acgeneral.m4 (_AC_INIT_PREPARE_FS_SEPARATORS): Use `.;.' instead
+       of `.;`pwd`': if pwd is c:/foo, we might walk through `.:c'
+       (fails), and then `/foo' which might succeed, resulting in
+       believing `;' is the right path separator.
 
 2001-02-26  Akim Demaille  <akim@epita.fr>
 
index d93fd2c3b42952b2f451dbab24de089d8e25e4ea..d7103fee2fb0ba19d1167487d400de434ab92a35 100644 (file)
@@ -1388,7 +1388,7 @@ m4_define([_AC_INIT_PREPARE_FS_SEPARATORS],
 [echo "#! $SHELL" >conftest.sh
 echo  "exit 0"   >>conftest.sh
 chmod +x conftest.sh
-if AC_RUN_LOG([PATH=".;`pwd`"; conftest.sh]); then
+if AC_RUN_LOG([PATH=".;."; conftest.sh]); then
   ac_path_separator=';'
 else
   ac_path_separator=:
index d93fd2c3b42952b2f451dbab24de089d8e25e4ea..d7103fee2fb0ba19d1167487d400de434ab92a35 100644 (file)
@@ -1388,7 +1388,7 @@ m4_define([_AC_INIT_PREPARE_FS_SEPARATORS],
 [echo "#! $SHELL" >conftest.sh
 echo  "exit 0"   >>conftest.sh
 chmod +x conftest.sh
-if AC_RUN_LOG([PATH=".;`pwd`"; conftest.sh]); then
+if AC_RUN_LOG([PATH=".;."; conftest.sh]); then
   ac_path_separator=';'
 else
   ac_path_separator=: