浏览代码

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

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@40595 15284696-431f-4ddb-bdfa-cd5b030d7da7
Hamish Bowman 15 年之前
父节点
当前提交
cb387c13dd
共有 2 个文件被更改,包括 3 次插入3 次删除
  1. 2 2
      configure
  2. 1 1
      configure.in

+ 2 - 2
configure

@@ -1241,7 +1241,7 @@ fi
 # 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 @@ for ac_dir in $SRCDIR $srcdir/$SRCDIR; do
   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

+ 1 - 1
configure.in

@@ -101,7 +101,7 @@ AC_SUBST(ARCH)
 
 # 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