Make Control.Exception buildable by nhc98.
[haskell-directory.git] / configure.ac
index d1927e8..e318cf5 100644 (file)
@@ -5,6 +5,11 @@ AC_CONFIG_SRCDIR([include/HsBase.h])
 
 AC_CONFIG_HEADERS([include/HsBaseConfig.h])
 
+AC_ARG_WITH([cc],
+            [C compiler],
+            [CC=$withval])
+AC_PROG_CC()
+
 # do we have long longs?
 AC_CHECK_TYPES([long long])