Skip to content

Commit 4a0a33e

Browse files
committed
Use AC_RUN_IFELSE
1 parent 0d88d6d commit 4a0a33e

File tree

2 files changed

+29
-7
lines changed

2 files changed

+29
-7
lines changed

configure

Lines changed: 28 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5421,7 +5421,7 @@ PKG_CHECK_MODULES([LIBZSTD], [libzstd], [have_libzstd=yes], [
54215421
LIBS="$LIBS $LIBZSTD_LIBS"
54225422
AC_CHECK_HEADERS([zstd.h zdict.h], [
54235423
AC_CHECK_LIB([zstd], [ZDICT_finalizeDictionary], [
5424-
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([
5424+
AC_RUN_IFELSE([AC_LANG_PROGRAM([
54255425
#include "zstd.h"
54265426
], [
54275427
// if you update the minimum version, you should update the compile

0 commit comments

Comments
 (0)