From: Ruben Kerkhof Date: Sat, 27 May 2017 12:59:57 +0000 (+0200) Subject: configure.ac: use preprocessor to detect dpdk version X-Git-Tag: collectd-5.8.0~157 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=27b74c66c80c061efac9b22f059bdc27de064015;p=collectd.git configure.ac: use preprocessor to detect dpdk version The test doesn't run any code, so no need to compile it. --- diff --git a/configure.ac b/configure.ac index 90acfb8d..11fb9ab3 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( [[