summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorSimon Marlow <simonmar@microsoft.com>2006-09-16 08:42:05 +0000
committerSimon Marlow <simonmar@microsoft.com>2006-09-16 08:42:05 +0000
commitdbb439db8fa164ffef555f6b8eff65e17ec4c6ac (patch)
tree713d94843461909c37d68ed576a66e6abd601f07 /configure.ac
parent26616741ca47e55baaefa0cc7516b001473a9938 (diff)
downloadhaskell-dbb439db8fa164ffef555f6b8eff65e17ec4c6ac.tar.gz
emit an error if the user ran autoconf instead of autoreconf
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 042f33ba8f..3b6cc97c2b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -15,6 +15,11 @@ dnl
AC_INIT([The Glorious Glasgow Haskell Compilation System], [6.5], [glasgow-haskell-bugs@haskell.org], [ghc])
+if test ! -f mk/config.h.in; then
+ echo "mk/config.h.in doesn't exist: perhaps you haven't run 'autoreconf'?"
+ exit 1
+fi
+
FP_SETUP_PROJECT_VERSION
# Hmmm, we fix the RPM release number to 1 here... Is this convenient?