浏览代码

configure.in: enable `pwd -W` (testing in progress)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@57314 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 11 年之前
父节点
当前提交
65eeed003f
共有 2 个文件被更改,包括 678 次插入673 次删除
  1. 671 665
      configure
  2. 7 8
      configure.in

文件差异内容过多而无法显示
+ 671 - 665
configure


+ 7 - 8
configure.in

@@ -64,11 +64,11 @@ AC_SUBST(BINDIR)
 
 AC_PATH_PROG(pwd, pwd, pwd)
 
-dnl if test "$MINGW32" = yes ; then
-dnl   winpwd="$pwd -W"
-dnl else
-dnl   winpwd="$pwd"
-dnl fi
+if test "$MINGW32" = yes ; then
+  winpwd="$pwd -W"
+else
+  winpwd="$pwd"
+fi
 
 AC_MSG_CHECKING(for source directory)
 
@@ -83,7 +83,7 @@ AC_MSG_RESULT("$SRCDIR")
 AC_MSG_CHECKING(for build directory)
 
 DSTDIR=`$pwd`
-dnl WINDSTDIR=`$winpwd`
+WINDSTDIR=`$winpwd`
 
 AC_MSG_RESULT("$DSTDIR")
 
@@ -107,8 +107,7 @@ AC_CONFIG_AUX_DIR("$SRCDIR")
 
 # Set GISBASE and GRASS_BIN
 
-dnl GISBASE="${WINDSTDIR}/dist.${ARCH}"
-GISBASE="${DSTDIR}/dist.${ARCH}"
+GISBASE="${WINDSTDIR}/dist.${ARCH}"
 GRASS_BIN="${DSTDIR}/bin.${ARCH}"
 
 AC_SUBST(GISBASE)