(cabal check) Add "No internal name clash" test
[cabal.git] / cabal-testsuite / PackageTests / Configure / configure.ac
blob853d9d143904ee1c4c073213bf2f713d536b1b45
1 AC_INIT([Haskell zlib package], [1.1], [libraries@haskell.org], [zlib])
3 # Safety check: Ensure that we are in the correct source directory.
4 AC_CONFIG_SRCDIR([zlib.cabal])
6 # Header file to place defines in
7 AC_CONFIG_HEADERS([include/HsZlibConfig.h])
9 # Check for zlib include
10 AC_CHECK_HEADER(zlib.h, [ZLIB_HEADER=yes], [], [])
12 # Build the package if we found X11 stuff
13 if test "x$ZLIB_HEADER" = "x"
14 then BUILD_PACKAGE_BOOL=False
15 else BUILD_PACKAGE_BOOL=True
17 AC_SUBST([BUILD_PACKAGE_BOOL])
19 AC_CONFIG_FILES([zlib.buildinfo])
20 AC_OUTPUT