configure.ac: use preprocessor to detect dpdk version
[collectd.git] / configure.ac
index 90acfb8..11fb9ab 100644 (file)
@@ -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(
             [[