From: Simon Marlow Date: Tue, 7 Jul 2009 08:18:45 +0000 (+0000) Subject: check for tabs in compiler/ghc.cabal.in (#3344) X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=a6ce3525d991c7df80aec6355b9d0aa941810a94 check for tabs in compiler/ghc.cabal.in (#3344) --- diff --git a/configure.ac b/configure.ac index 872cdc7..2d8fbe1 100644 --- a/configure.ac +++ b/configure.ac @@ -893,6 +893,10 @@ fi AC_SUBST(BUILD_DOCBOOK_PS) AC_SUBST(BUILD_DOCBOOK_PDF) +if grep ' ' compiler/ghc.cabal.in 2>&1 >/dev/null; then + AC_MSG_ERROR([compiler/ghc.cabal.in contains tab characters; please remove them]) +fi + AC_CONFIG_FILES([mk/config.mk mk/project.mk compiler/ghc.cabal ghc/ghc-bin.cabal ghc.spec extra-gcc-opts docs/users_guide/ug-book.xml distrib/ghc.iss]) AC_CONFIG_COMMANDS([mk/stamp-h],[echo timestamp > mk/stamp-h]) AC_OUTPUT