Add a boring file
[haskell-directory.git] / configure.ac
index a275e20..c75262c 100644 (file)
@@ -1,12 +1,16 @@
-AC_INIT([Haskell base package], [1.0], [libraries@haskell.org], [base])
+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/HsBase.h])
+AC_CONFIG_SRCDIR([include/HsDirectory.h])
 
-AC_CONFIG_HEADERS([include/HsBaseConfig.h])
+AC_CONFIG_HEADERS([include/HsDirectoryConfig.h])
 
-dnl ** Check for idiosyncracies in some mingw impls of directory handling.
-FP_READDIR_EOF_ERRNO
-FP_DIRENT_FLAT_LAYOUT
+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