summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorIan Lynagh <ian@well-typed.com>2013-03-23 21:54:53 +0000
committerIan Lynagh <ian@well-typed.com>2013-03-23 21:55:46 +0000
commitf4a2796d85c60ba7d0e3fbc1c5061b30bfb85ca6 (patch)
tree71e9d8878a20c87c91533bff05cccefa2918dd36 /configure.ac
parent9548ec53d31b478bd22a4dd9cbce1244db013b67 (diff)
downloadhaskell-f4a2796d85c60ba7d0e3fbc1c5061b30bfb85ca6.tar.gz
Small configure.ac refactoring
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 3 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index f2c85bc2f8..9d83660519 100644
--- a/configure.ac
+++ b/configure.ac
@@ -151,8 +151,9 @@ then
fi
fi
-GHC_PACKAGE_DB_FLAG=package-db
-FP_COMPARE_VERSIONS([$GhcVersion],[-lt],[7.5],GHC_PACKAGE_DB_FLAG=package-conf)
+FP_COMPARE_VERSIONS([$GhcVersion],[-lt],[7.5],
+ GHC_PACKAGE_DB_FLAG=package-conf,
+ GHC_PACKAGE_DB_FLAG=package-db)
AC_SUBST(GHC_PACKAGE_DB_FLAG)
# GHC is passed to Cabal, so we need a native path