Code

configure.ac: no need for body for preproc test
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Sat, 27 May 2017 13:06:47 +0000 (15:06 +0200)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Sat, 27 May 2017 13:06:47 +0000 (15:06 +0200)
configure.ac

index 5ed0ab3fadbe894c18d6ef6419b4a2daa8b0373c..a769d492c4776313d3788a0ae50f6e0fe825a205 100644 (file)
@@ -2805,15 +2805,12 @@ if test "x$with_libdpdk" != "xno"; then
       with_libdpdk="yes"
       AC_PREPROC_IFELSE(
         [
-          AC_LANG_PROGRAM(
+          AC_LANG_SOURCE(
             [[
               #include <rte_version.h>
               #if RTE_VERSION < RTE_VERSION_NUM(16,7,0,0)
               #error "required DPDK >= 16.07"
               #endif
-            ]],
-            [[
-              return 0;
             ]]
           )
         ],