From: Ruben Kerkhof Date: Sat, 27 May 2017 13:06:47 +0000 (+0200) Subject: configure.ac: no need for body for preproc test X-Git-Tag: collectd-5.8.0~155 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=cdebbb94ea37ea1325545dcb20e3405b478a7e2f;p=collectd.git configure.ac: no need for body for preproc test --- diff --git a/configure.ac b/configure.ac index 5ed0ab3f..a769d492 100644 --- a/configure.ac +++ b/configure.ac @@ -2805,15 +2805,12 @@ if test "x$with_libdpdk" != "xno"; then with_libdpdk="yes" AC_PREPROC_IFELSE( [ - AC_LANG_PROGRAM( + AC_LANG_SOURCE( [[ #include #if RTE_VERSION < RTE_VERSION_NUM(16,7,0,0) #error "required DPDK >= 16.07" #endif - ]], - [[ - return 0; ]] ) ],