Put configure.ac back in the repo; not sure how it got removed
authorIan Lynagh <igloo@earth.li>
Thu, 24 May 2007 14:17:45 +0000 (14:17 +0000)
committerIan Lynagh <igloo@earth.li>
Thu, 24 May 2007 14:17:45 +0000 (14:17 +0000)
configure.ac [new file with mode: 0644]

diff --git a/configure.ac b/configure.ac
new file mode 100644 (file)
index 0000000..c75262c
--- /dev/null
@@ -0,0 +1,16 @@
+AC_INIT([Haskell directory package], [1.0], [libraries@haskell.org], [directory])
+
+# Safety check: Ensure that we are in the correct source directory.
+AC_CONFIG_SRCDIR([include/HsDirectory.h])
+
+AC_CONFIG_HEADERS([include/HsDirectoryConfig.h])
+
+AC_ARG_WITH([cc],
+            [C compiler],
+            [CC=$withval])
+AC_PROG_CC()
+
+# check for specific header (.h) files that we are interested in
+AC_CHECK_HEADERS([sys/types.h unistd.h sys/stat.h])
+
+AC_OUTPUT