X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=configure.ac;h=c75262c3e91f3e31122e853cea71bcd74d98c264;hb=e6e0fcd70d76aecbbbb73bebd1dd18ca6545d667;hp=a275e200cdeca1fb0ced1128ced2f042db594d6d;hpb=7aaade59f10b1c79686c7a36a7bb8af883d01644;p=haskell-directory.git diff --git a/configure.ac b/configure.ac index a275e20..c75262c 100644 --- a/configure.ac +++ b/configure.ac @@ -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