diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 8e3d9d2837..aeea6a4d9e 100644 --- a/configure.ac +++ b/configure.ac @@ -161,6 +161,10 @@ if test "$BootingFromHc" = "NO"; then or --with-ghc to specify a different GHC to use.]) fi fi + + GHC_PACKAGE_DB_FLAG=package-db + FP_COMPARE_VERSIONS([$GhcVersion],[-lt],[7.5],GHC_PACKAGE_DB_FLAG=package-conf) + AC_SUBST(GHC_PACKAGE_DB_FLAG) fi; # GHC is passed to Cabal, so we need a native path |