From dbb439db8fa164ffef555f6b8eff65e17ec4c6ac Mon Sep 17 00:00:00 2001 From: Simon Marlow Date: Sat, 16 Sep 2006 08:42:05 +0000 Subject: emit an error if the user ran autoconf instead of autoreconf --- configure.ac | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'configure.ac') 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? -- cgit v1.2.1