From: Andreas Henriksson Date: Mon, 10 Jun 2013 21:00:24 +0000 (+0200) Subject: Fix HAVE_TCA_STATS(2) checks in configure.in X-Git-Tag: collectd-5.4.0~11^2~13 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=4def66d6820b46e9044c4e2a0e30b043b330e8d2;p=collectd.git Fix HAVE_TCA_STATS(2) checks in configure.in --- diff --git a/configure.in b/configure.in index 75ee2ea4..a16d3105 100644 --- a/configure.in +++ b/configure.in @@ -2557,34 +2557,34 @@ then #include ]) AC_COMPILE_IFELSE([AC_LANG_PROGRAM( -[[[ +[[ #include #include #include #include #include #include -]]], -[[[ +]], +[[ int retval = TCA_STATS2; return (retval); -]]] +]] )], [AC_DEFINE([HAVE_TCA_STATS2], [1], [True if the enum-member TCA_STATS2 exists])]) AC_COMPILE_IFELSE([AC_LANG_PROGRAM( -[[[ +[[ #include #include #include #include #include #include -]]], -[[[ +]], +[[ int retval = TCA_STATS; return (retval); -]]] +]] )], [AC_DEFINE([HAVE_TCA_STATS], 1, [True if the enum-member TCA_STATS exists])])