source:
scripts/untested/autotools/patches/autoconf-2.59-more-quotes.patch@
f118837
Last change on this file since f118837 was d1afb9e, checked in by , 19 years ago | |
---|---|
|
|
File size: 1.2 KB |
-
lib/autoconf/general.m4
http://bugs.gentoo.org/96882 date: 2005/06/23 20:09:27; author: eggert; state: Exp; lines: +29 -34 Fix some more shell quoting problems. Prompted by a bug report from Justace Clutter. * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Allow special characters in $ac_unique_file.
old new 476 476 # Try the directory containing this script, then its parent. 477 477 ac_confdir=`AS_DIRNAME(["$[0]"])` 478 478 srcdir=$ac_confdir 479 if test ! -r $srcdir/$ac_unique_file; then479 if test ! -r "$srcdir/$ac_unique_file"; then 480 480 srcdir=.. 481 481 fi 482 482 else 483 483 ac_srcdir_defaulted=no 484 484 fi 485 if test ! -r $srcdir/$ac_unique_file; then485 if test ! -r "$srcdir/$ac_unique_file"; then 486 486 if test "$ac_srcdir_defaulted" = yes; then 487 487 AC_MSG_ERROR([cannot find sources ($ac_unique_file) in $ac_confdir or ..]) 488 488 else 489 489 AC_MSG_ERROR([cannot find sources ($ac_unique_file) in $srcdir]) 490 490 fi 491 491 fi 492 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||492 (cd $srcdir && test -r "./$ac_unique_file") 2>/dev/null || 493 493 AC_MSG_ERROR([sources are in $srcdir, but `cd $srcdir' does not work]) 494 494 dnl Double slashes in pathnames in object file debugging info 495 495 dnl mess up M-x gdb in Emacs.
Note:
See TracBrowser
for help on using the repository browser.