I have found that spaces in the checks for the ac_unique_file stuff are
not quoted, so the program fails.  I have checked out the CVS sources
and found that the bug is still present and I have created a patch to
fix the problem.

Justace Clutter

P.S.  Yhea, kind of short, but it is a basic bug.
diff -ur autoconf/configure autoconf-new/configure
--- autoconf/configure	2005-06-11 01:06:14.000000000 -0500
+++ autoconf-new/configure	2005-06-23 06:48:45.000000000 -0500
@@ -1053,13 +1053,13 @@
   	  /^X\(\/\).*/{ s//\1/; q; }
   	  s/.*/./; q'`
   srcdir=$ac_confdir
-  if test ! -r $srcdir/$ac_unique_file; then
+  if test ! -r "$srcdir/$ac_unique_file"; then
     srcdir=..
   fi
 else
   ac_srcdir_defaulted=no
 fi
-if test ! -r $srcdir/$ac_unique_file; then
+if test ! -r "$srcdir/$ac_unique_file"; then
   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
    { (exit 1); exit 1; }; }
diff -ur autoconf/lib/autoconf/general.m4 autoconf-new/lib/autoconf/general.m4
--- autoconf/lib/autoconf/general.m4	2005-06-22 04:10:50.000000000 -0500
+++ autoconf-new/lib/autoconf/general.m4	2005-06-23 06:49:08.000000000 -0500
@@ -512,13 +512,13 @@
   # Try the directory containing this script, then its parent.
   ac_confdir=`AS_DIRNAME(["$[0]"])`
   srcdir=$ac_confdir
-  if test ! -r $srcdir/$ac_unique_file; then
+  if test ! -r "$srcdir/$ac_unique_file"; then
     srcdir=..
   fi
 else
   ac_srcdir_defaulted=no
 fi
-if test ! -r $srcdir/$ac_unique_file; then
+if test ! -r "$srcdir/$ac_unique_file"; then
   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   AC_MSG_ERROR([cannot find sources ($ac_unique_file) in $srcdir])
 fi

Reply via email to