configure.ac: use preprocessor to detect dpdk version
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Sat, 27 May 2017 12:59:57 +0000 (14:59 +0200)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Sat, 27 May 2017 12:59:57 +0000 (14:59 +0200)
The test doesn't run any code, so no need to compile it.

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(
             [[