summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--aclocal.m46
-rw-r--r--configure.ac2
2 files changed, 6 insertions, 2 deletions
diff --git a/aclocal.m4 b/aclocal.m4
index bace42ab56..7fd96fe079 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -1104,11 +1104,15 @@ rm -f *.o
rm -f *.hi
rm -f pwd
rm -f pwd.exe
-$WithGhc -v0 --make pwd
+$WithGhc -v0 --make pwd -o pwd
cd ../..
hardtop=`utils/pwd/pwd forwardslash`
+if ! test -d "$hardtop"; then
+ AC_MSG_ERROR([cannot determine current directory])
+fi
+
dnl Remove common automounter nonsense
dnl
hardtop=`echo $hardtop | sed 's|^/tmp_mnt.*\(/local/.*\)$|\1|' | sed 's|^/tmp_mnt/|/|'`
diff --git a/configure.ac b/configure.ac
index e37972124c..25963ff142 100644
--- a/configure.ac
+++ b/configure.ac
@@ -13,7 +13,7 @@ dnl
# see what flags are available. (Better yet, read the documentation!)
#
-AC_INIT([The Glorious Glasgow Haskell Compilation System], [6.7], [glasgow-haskell-bugs@haskell.org], [ghc])
+AC_INIT([The Glorious Glasgow Haskell Compilation System], [6.7.20070731], [glasgow-haskell-bugs@haskell.org], [ghc])
# Set this to YES for a released version, otherwise NO
: ${RELEASE=NO}