* 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 01ee065..6ab9e8e 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 0896601..64d26f0 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 9e08204..1bf5577 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