diff options
Diffstat (limited to 'sys-devel/autoconf/files/autoconf-2.59-more-quotes.patch')
-rw-r--r-- | sys-devel/autoconf/files/autoconf-2.59-more-quotes.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/sys-devel/autoconf/files/autoconf-2.59-more-quotes.patch b/sys-devel/autoconf/files/autoconf-2.59-more-quotes.patch new file mode 100644 index 000000000000..eb2c8395fa90 --- /dev/null +++ b/sys-devel/autoconf/files/autoconf-2.59-more-quotes.patch @@ -0,0 +1,34 @@ +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. + +--- lib/autoconf/general.m4 ++++ lib/autoconf/general.m4 +@@ -476,20 +476,20 @@ + # 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 + if test "$ac_srcdir_defaulted" = yes; then + AC_MSG_ERROR([cannot find sources ($ac_unique_file) in $ac_confdir or ..]) + else + AC_MSG_ERROR([cannot find sources ($ac_unique_file) in $srcdir]) + fi + fi +-(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || ++(cd $srcdir && test -r "./$ac_unique_file") 2>/dev/null || + AC_MSG_ERROR([sources are in $srcdir, but `cd $srcdir' does not work]) + dnl Double slashes in pathnames in object file debugging info + dnl mess up M-x gdb in Emacs. |