]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* NEWS: Don't worry about spaces in bindir etc. Only srcdir and working
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 24 Jun 2005 02:13:39 +0000 (02:13 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 24 Jun 2005 02:13:39 +0000 (02:13 +0000)
directory have inherent problems with special characters like spaces,
due to limitations in Make syntax.  Problem reported by Alexandre
Duret-Lutz.
* lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Implement the above.
Also, fix Tru64 porting problem with shell patterns,
reported by Ralf Wildenhues.

ChangeLog
NEWS
lib/autoconf/general.m4

index 7aba50d94e96c61361feb1634d97c81a7eafd987..44e35ae9a3eeb0da827642b0cd13863e368be9e9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2005-06-23  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * NEWS: Don't worry about spaces in bindir etc.  Only srcdir and working
+       directory have inherent problems with special characters like spaces,
+       due to limitations in Make syntax.  Problem reported by Alexandre
+       Duret-Lutz.
+       * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Implement the above.
+       Also, fix Tru64 porting problem with shell patterns,
+       reported by Ralf Wildenhues.
+
 2005-06-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
         * doc/autoconf.texi (Subdirectories): Fix markup typos.
diff --git a/NEWS b/NEWS
index 46ae1cce3845a707df1adc2c8a71348656ae9292..e7f66f845f58e00605c4a33eea46481c302f1398 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,7 +1,7 @@
 * Major changes in Autoconf 2.59c
 
-** The configure command now warns you if you attempt to use a directory
-  whose name contains a special character like space, newline, or "\".
+** The configure command now diagnoses attempts to use a working or source
+  directory whose name contains a special character like space, newline, or "\".
   Such names are not supported, and can cause "configure" to crash.
 
 ** The configure command now redirects standard input from /dev/null,
index fc3abb4c925bc2cbf2ad5ccf8118b3a895e1ac95..a6562144add1517df085b36b54f9004ed460ae82 100644 (file)
@@ -467,12 +467,9 @@ ac_pwd=`pwd` && test -n "$ac_pwd" ||
   AC_MSG_ERROR([Working directory cannot be determined])
 
 ac_pat="[[\$][{][_$as_cr_Letters][_$as_cr_alnum]*[}]]"
+ac_pat1='*[)]*'
 
-for ac_var in ac_pwd srcdir \
-  bindir sbindir libexecdir datarootdir datadir \
-  sysconfdir sharedstatedir localstatedir includedir \
-  oldincludedir docdir infodir htmldir dvidir pdfdir \
-  psdir libdir localedir mandir
+for ac_var in ac_pwd srcdir
 do
   # Remove references to shell or make variables.
   eval ac_dir=\$$ac_var
@@ -492,7 +489,7 @@ do
   # Preserve that tab character below!
   case $ac_dirx in
   '' | -* | */-* | *'
-'* | *'        '* | *' '* | *\"* | *\#* | *\$* | *\&* | *\'* | *\(* | *\)* | \
+'* | *'        '* | *' '* | *\"* | *\#* | *\$* | *\&* | *\'* | *\(* | $ac_pat1 | \
   *\** | *\;* | *\<* | *\=* | *\>* | *\?* | *\@<:@* | *\\* | *\`* | \
   *\|* | \~*)
     AC_MSG_ERROR([$ac_var directory name `$ac_dir' has special characters]);;