X-Git-Url: http://git.megacz.com/?p=haskell-directory.git;a=blobdiff_plain;f=configure.ac;h=c75262c3e91f3e31122e853cea71bcd74d98c264;hp=0c248e1b13814bc16acd085a2f6a0a5345536aab;hb=a58562a8d584e914c24bf3d13f129cfc0b82f29c;hpb=608217d0b5749156de0ce3eb2327145ed419234f diff --git a/configure.ac b/configure.ac index 0c248e1..c75262c 100644 --- a/configure.ac +++ b/configure.ac @@ -1,12 +1,16 @@ -AC_INIT([base], [], [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