|
|
LDFLAGS="$save_LDFLAGS" | LDFLAGS="$save_LDFLAGS" |
if test "$HAVE_LIBBZ2" = "yes"; then | if test "$HAVE_LIBBZ2" = "yes"; then |
AC_CHECK_HEADER([bzlib.h], | AC_CHECK_HEADER([bzlib.h], |
[LIBCLAMAV_LIBS="$LIBCLAMAV_LIBS $LTLIBBZ2"; |
[LIBCLAMAV_LIBS="$LIBCLAMAV_LIBS -lbz2"; |
AC_DEFINE([HAVE_BZLIB_H],1,[have bzip2])], | AC_DEFINE([HAVE_BZLIB_H],1,[have bzip2])], |
[AC_MSG_WARN([****** bzip2 support disabled])]) | [AC_MSG_WARN([****** bzip2 support disabled])]) |
else | else |
|
|
dnl we don't need to check for __gmpz_init and mpz_init, | dnl we don't need to check for __gmpz_init and mpz_init, |
dnl since we are not checking directly for symbols | dnl since we are not checking directly for symbols |
if test "$HAVE_LIBGMP" = "yes"; then | if test "$HAVE_LIBGMP" = "yes"; then |
LIBCLAMAV_LIBS="$LIBCLAMAV_LIBS $LTLIBGMP"; |
LIBCLAMAV_LIBS="$LIBCLAMAV_LIBS -lgmp"; |
else | else |
AC_MSG_WARN([****** GNU MP 2 or newer NOT FOUND - digital signature support will be disabled !]); | AC_MSG_WARN([****** GNU MP 2 or newer NOT FOUND - digital signature support will be disabled !]); |
want_dsig="no"; | want_dsig="no"; |