From: Eric Bollengier Date: Wed, 13 Oct 2021 11:56:57 +0000 (+0200) Subject: Tweak ZSTD detection in configure.in X-Git-Tag: Beta-15.0.0~829 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1b3de48b82e36276a038292ab6f00cfb1e60d37f;p=thirdparty%2Fbacula.git Tweak ZSTD detection in configure.in --- diff --git a/bacula/autoconf/config.h.in b/bacula/autoconf/config.h.in index f8abfaeb7..1ba536f36 100644 --- a/bacula/autoconf/config.h.in +++ b/bacula/autoconf/config.h.in @@ -113,6 +113,9 @@ /* Define if you have zlib */ #undef HAVE_LIBZ +/* Define if you have zstd lib */ +#undef HAVE_ZSTD + /* Define if you have lzo lib */ #undef HAVE_LZO diff --git a/bacula/autoconf/configure.in b/bacula/autoconf/configure.in index 6391cf9e0..01b5fc282 100644 --- a/bacula/autoconf/configure.in +++ b/bacula/autoconf/configure.in @@ -1007,7 +1007,9 @@ AC_CHECK_LIB(zstd,ZSTD_createCCtx,,[error="Can't find ZSTD library."]) if test x"${error}" == "x"; then support_zstd=yes -fi +else + support_zstd=no +fi AC_MSG_RESULT([$support_zstd]) if test "$support_zstd" = "yes"; then