autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: testsuite problem


From: Tim Van Holder
Subject: Re: testsuite problem
Date: Tue, 27 Feb 2001 18:53:12 +0100

You _might_ be running into a pathsep bug.

acgeneral.m4 runs

        PATH=".;`pwd`"; conftest.sh

to check whether ';' works as pathsep. But because of the ';' after
the PATH assignment, conftest gets the regular path.  So if your
regular PATH contains the current dir, autoconf will assume ';' is
a valid pathsep on your system.  And since your PATH actually uses
':', splitting PATH up using ';' will cause nothing to be found.

Try removing the ';' in acgeneral.m4 (as shown below), then rebuild
autoconf & the testsuite.

Still, the testsuite seems to be able to run autoconf, so it might
be something else entirely.

Index: acgeneral.m4
===================================================================
RCS file: /cvs/autoconf/acgeneral.m4,v
retrieving revision 1.699
diff -c -r1.699 acgeneral.m4
*** 1388,1394 ****
  [echo "#! $SHELL" >conftest.sh
  echo  "exit 0"   >>conftest.sh
  chmod +x conftest.sh
! if AC_RUN_LOG([PATH=".;`pwd`"; conftest.sh]); then
    ac_path_separator=';'
  else
    ac_path_separator=:
--- 1392,1398 ----
  [echo "#! $SHELL" >conftest.sh
  echo  "exit 0"   >>conftest.sh
  chmod +x conftest.sh
! if AC_RUN_LOG([PATH=".;`pwd`" conftest.sh]); then
    ac_path_separator=';'
  else
    ac_path_separator=:




reply via email to

[Prev in Thread] Current Thread [Next in Thread]