projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
configure.ac: use preprocessor to detect dpdk version
[collectd.git]
/
configure.ac
diff --git
a/configure.ac
b/configure.ac
index
d3187b5
..
11fb9ab
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-60,9
+60,9
@@
if test "x$collectd_cv_prog_bison" = "xno" && test ! -f "${srcdir}/src/liboconfi
AC_MSG_ERROR([bison is missing and you do not have ${srcdir}/src/liboconfig/parser.c. Please install bison])
fi
AC_MSG_ERROR([bison is missing and you do not have ${srcdir}/src/liboconfig/parser.c. Please install bison])
fi
-AS_IF([test "x$lt_cv_dlopen" = "xno"],
- [AC_MSG_ERROR([Your system does not support dlopen])]
-)
+if test "x$lt_cv_dlopen" = "xno"; then
+ AC_MSG_ERROR([Your system does not support dlopen])
+fi
AC_SUBST([DLOPEN_LIBS], [$lt_cv_dlopen_libs])
AC_SUBST([DLOPEN_LIBS], [$lt_cv_dlopen_libs])
@@
-2803,7
+2803,7
@@
if test "x$with_libdpdk" != "xno"; then
AC_CHECK_HEADERS([rte_config.h],
[
with_libdpdk="yes"
AC_CHECK_HEADERS([rte_config.h],
[
with_libdpdk="yes"
- AC_
COMPILE
_IFELSE(
+ AC_
PREPROC
_IFELSE(
[
AC_LANG_PROGRAM(
[[
[
AC_LANG_PROGRAM(
[[