]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
* configure.ac (ACLOCAL, AUTOMAKE): Fix quoting for rebuilding
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sat, 24 Nov 2007 08:53:05 +0000 (09:53 +0100)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sat, 24 Nov 2007 08:53:05 +0000 (09:53 +0100)
rules, if the absolute build directory name contains white space.

ChangeLog
configure
configure.ac

index 01ee0650f425dbcaaade97cdd7f336cc38b2baeb..6ab9e8ef079dd920cb9652ab00dfa4de014f3b24 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-11-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * configure.ac (ACLOCAL, AUTOMAKE): Fix quoting for rebuilding
+       rules, if the absolute build directory name contains white space.
+
 2007-11-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
        * aclocal.in (trace_used_macros): Quote input files.
index 0896601edc9b52283eaf38e6c315a8f239147abb..64d26f0ccede0395223ec838dd8ca2d8716d3c35 100755 (executable)
--- a/configure
+++ b/configure
@@ -2217,8 +2217,8 @@ pkgvdatadir="\${datadir}/$PACKAGE-$APIVERSION"
 
 # $AUTOMAKE and $ACLOCAL are always run after a `cd $top_srcdir',
 # hence `.' is really what we want for perllibdir, libdir, and acdir.
-ACLOCAL="perllibdir=`pwd`\"/lib$PATH_SEPARATOR./lib\" `pwd`/aclocal --acdir=m4 -I m4"
-AUTOMAKE="perllibdir=`pwd`\"/lib$PATH_SEPARATOR./lib\" `pwd`/automake --libdir=lib"
+ACLOCAL="perllibdir=\"`pwd`/lib$PATH_SEPARATOR./lib\" \"`pwd`/aclocal\" --acdir=m4 -I m4"
+AUTOMAKE="perllibdir=\"`pwd`/lib$PATH_SEPARATOR./lib\" \"`pwd`/automake\" --libdir=lib"
 
 # Extract the first word of "perl", so it can be a program name with args.
 set dummy perl; ac_word=$2
index 9e082045b8c2bba44e7ba62adb469cfa2446b323..1bf557703189e3f7a80f2545aa5ddec82b06bb11 100644 (file)
@@ -1,6 +1,6 @@
 # Process this file with autoconf to produce a configure script.
 
-# Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2006,
+# Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
 # 2004, 2006, 2007  Free Software Foundation, Inc.
 #
 # This program is free software; you can redistribute it and/or modify
@@ -49,8 +49,8 @@ AC_SUBST([pkgvdatadir], ["\${datadir}/$PACKAGE-$APIVERSION"])
 
 # $AUTOMAKE and $ACLOCAL are always run after a `cd $top_srcdir',
 # hence `.' is really what we want for perllibdir, libdir, and acdir.
-ACLOCAL="perllibdir=`pwd`\"/lib$PATH_SEPARATOR./lib\" `pwd`/aclocal --acdir=m4 -I m4"
-AUTOMAKE="perllibdir=`pwd`\"/lib$PATH_SEPARATOR./lib\" `pwd`/automake --libdir=lib"
+ACLOCAL="perllibdir=\"`pwd`/lib$PATH_SEPARATOR./lib\" \"`pwd`/aclocal\" --acdir=m4 -I m4"
+AUTOMAKE="perllibdir=\"`pwd`/lib$PATH_SEPARATOR./lib\" \"`pwd`/automake\" --libdir=lib"
 
 AC_PATH_PROG(PERL, perl)
 if test -z "$PERL"; then