[GRASS-SVN] r40595 - grass/trunk

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Jan 21 01:59:12 EST 2010


Author: hamish
Date: 2010-01-21 01:59:11 -0500 (Thu, 21 Jan 2010)
New Revision: 40595

Modified:
   grass/trunk/configure
   grass/trunk/configure.in
Log:
quote a pathname which could have a space in it, but it doesn't get us much further as Autoconf 2.13's substitution doesn't quote paths

Modified: grass/trunk/configure
===================================================================
--- grass/trunk/configure	2010-01-21 06:36:14 UTC (rev 40594)
+++ grass/trunk/configure	2010-01-21 06:59:11 UTC (rev 40595)
@@ -1241,7 +1241,7 @@
 # Use absolute path for aux directory so that install-sh works
 
 ac_aux_dir=
-for ac_dir in $SRCDIR $srcdir/$SRCDIR; do
+for ac_dir in "$SRCDIR" $srcdir/"$SRCDIR"; do
   if test -f $ac_dir/install-sh; then
     ac_aux_dir=$ac_dir
     ac_install_sh="$ac_aux_dir/install-sh -c"
@@ -1253,7 +1253,7 @@
   fi
 done
 if test -z "$ac_aux_dir"; then
-  { echo "configure: error: can not find install-sh or install.sh in $SRCDIR $srcdir/$SRCDIR" 1>&2; exit 1; }
+  { echo "configure: error: can not find install-sh or install.sh in "$SRCDIR" $srcdir/"$SRCDIR"" 1>&2; exit 1; }
 fi
 ac_config_guess=$ac_aux_dir/config.guess
 ac_config_sub=$ac_aux_dir/config.sub

Modified: grass/trunk/configure.in
===================================================================
--- grass/trunk/configure.in	2010-01-21 06:36:14 UTC (rev 40594)
+++ grass/trunk/configure.in	2010-01-21 06:59:11 UTC (rev 40595)
@@ -101,7 +101,7 @@
 
 # Use absolute path for aux directory so that install-sh works
 
-AC_CONFIG_AUX_DIR($SRCDIR)
+AC_CONFIG_AUX_DIR("$SRCDIR")
 
 # Set GISBASE and GRASS_BIN
 



More information about the grass-commit mailing list