Skip libbz2 check on MinGW for now
This commit is contained in:
+6
-1
@@ -1,7 +1,12 @@
|
||||
AC_DEFUN([SM_BZIP],
|
||||
[
|
||||
AC_REQUIRE([SM_STATIC])
|
||||
AC_CHECK_LIB(bz2, BZ2_bzCompressInit, have_bzip=yes, have_bzip=no)
|
||||
|
||||
dnl # XXX: AC_CHECK_LIB doesn't work correctly on MinGW for BZip.
|
||||
dnl # Hardcoding it because I'm so fed up with this shit.
|
||||
if test "$host_os" != "mingw32"; then
|
||||
AC_CHECK_LIB(bz2, BZ2_bzCompressInit, have_bzip=yes, have_bzip=no)
|
||||
fi
|
||||
AC_CHECK_HEADER(bzlib.h, have_bzip_header=yes, have_bzip_header=no)
|
||||
AC_ARG_WITH(static-bzip, AS_HELP_STRING([--with-static-bzip],[Statically link bzip]), with_static_bzip=$withval, with_static_bzip=no)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user