mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-21 03:13:42 +08:00
Fix a missing 'fi'
This commit is contained in:
parent
939245ca4a
commit
ccfe62de72
23
configure.ac
23
configure.ac
@ -799,7 +799,7 @@ AC_ARG_ENABLE([filter-bz2],
|
||||
[AS_HELP_STRING([--disable-filter-bz2],
|
||||
[disable external bz2 filter support. bz2 support defaults to internal implementation if this is disabled or if the external library is not found.])])
|
||||
test "x$enable_filter_bz2" = xno || enable_filter_bz2=yes
|
||||
AC_MSG_RESULT($enable_filter_bz2)
|
||||
AC_MSG_RESULT([$enable_filter_bz2])
|
||||
|
||||
if test "x$enable_filter_bz2" = "xyes" ; then
|
||||
|
||||
@ -811,15 +811,20 @@ if test "x$enable_filter_bz2" = "xyes" ; then
|
||||
AC_MSG_CHECKING([whether libbz2 library is available])
|
||||
AC_MSG_RESULT([${have_bz2}])
|
||||
|
||||
if test "x$have_bz2" = x ; then
|
||||
# How about bzip2
|
||||
AC_CHECK_LIB([bzip2],[BZ2_bzCompress],[have_bz2=yes],[have_bz2=no])
|
||||
if test "x$have_bz2" = "xyes" ; then
|
||||
AC_SEARCH_LIBS([BZ2_bzCompress],[bzip2 bzip2.dll cygbzip2.dll], [], [])
|
||||
AC_DEFINE([HAVE_BZ2], [1], [if true, bzip2 library is installed])
|
||||
fi
|
||||
AC_MSG_CHECKING([whether libbzip2 library is available])
|
||||
AC_MSG_RESULT([${have_bz2}])
|
||||
|
||||
# How about bzip2
|
||||
|
||||
if test "x$have_bz2" = x ; then
|
||||
|
||||
AC_CHECK_LIB([bzip2],[BZ2_bzCompress],[have_bz2=yes],[have_bz2=no])
|
||||
if test "x$have_bz2" = "xyes" ; then
|
||||
AC_SEARCH_LIBS([BZ2_bzCompress],[bzip2 bzip2.dll cygbzip2.dll], [], [])
|
||||
AC_DEFINE([HAVE_BZ2], [1], [if true, bzip2 library is installed])
|
||||
fi
|
||||
AC_MSG_CHECKING([whether libbzip2 library is available])
|
||||
AC_MSG_RESULT([${have_bz2}])
|
||||
|
||||
fi
|
||||
|
||||
if test "x$have_bz2" = "xno" ; then
|
||||
|
Loading…
Reference in New Issue
Block a user