X-Git-Url: https://git.octo.it/?a=blobdiff_plain;ds=sidebyside;f=configure.ac;h=5ed0ab3fadbe894c18d6ef6419b4a2daa8b0373c;hb=39bc5376a7a29a1fab35e72aae3eb1a4676d80a6;hp=90acfb8dfda997059a3dc70480276c1fd692b708;hpb=ac295b96842daff60631573c806150487467fa4a;p=collectd.git diff --git a/configure.ac b/configure.ac index 90acfb8d..5ed0ab3f 100644 --- a/configure.ac +++ b/configure.ac @@ -2803,7 +2803,7 @@ if test "x$with_libdpdk" != "xno"; then AC_CHECK_HEADERS([rte_config.h], [ with_libdpdk="yes" - AC_COMPILE_IFELSE( + AC_PREPROC_IFELSE( [ AC_LANG_PROGRAM( [[ @@ -4428,14 +4428,14 @@ fi if test "x$with_libpqos" = "xyes"; then SAVE_CPPFLAGS="$CPPFLAGS" CPPFLAGS="$CPPFLAGS $with_libpqos_cppflags" - AC_RUN_IFELSE( + AC_PREPROC_IFELSE( [ - AC_LANG_PROGRAM( + AC_LANG_SOURCE( [[ #include - ]], - [[ - return !(PQOS_VERSION >= 106) + #if PQOS_VERSION < 106 + #error "required PQOS version >= 1.06" + #endif ]] ) ],