Small configure.ac refactoring
authorIan Lynagh <ian@well-typed.com>
Sat, 23 Mar 2013 21:54:53 +0000 (21:54 +0000)
committerIan Lynagh <ian@well-typed.com>
Sat, 23 Mar 2013 21:55:46 +0000 (21:55 +0000)
configure.ac

index f2c85bc..9d83660 100644 (file)
@@ -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