From: Akim Demaille Date: Wed, 28 Feb 2001 08:45:55 +0000 (+0000) Subject: * acgeneral.m4 (_AC_INIT_PREPARE_FS_SEPARATORS): Use `.;.' instead X-Git-Tag: autoconf-2.50~108 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=417f6ae5d5d4cf8be824ae0cb89bed71d36468d7;p=thirdparty%2Fautoconf.git * 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. --- diff --git a/ChangeLog b/ChangeLog index bdbbf0fee..16bf64710 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,7 +1,9 @@ -2001-02-26 Pavel Roskin +2001-02-28 Akim Demaille - * 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 diff --git a/acgeneral.m4 b/acgeneral.m4 index d93fd2c3b..d7103fee2 100644 --- a/acgeneral.m4 +++ b/acgeneral.m4 @@ -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=: diff --git a/lib/autoconf/general.m4 b/lib/autoconf/general.m4 index d93fd2c3b..d7103fee2 100644 --- a/lib/autoconf/general.m4 +++ b/lib/autoconf/general.m4 @@ -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=: