X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=configure.in;h=027bf9c378359f2ee9a8df1c6bca01e8a6d59bdc;hb=refs%2Fheads%2Fcollectd-5.0;hp=bdcb084f3dec0a6faaf924f2369cb1f44b1b40f9;hpb=ab6ab6ad6428ba0a0987a20a7d1cfa47d6cc6f8b;p=collectd.git diff --git a/configure.in b/configure.in index bdcb084f..027bf9c3 100644 --- a/configure.in +++ b/configure.in @@ -2360,21 +2360,20 @@ then #include #include ]) - AC_COMPILE_IFELSE( -[#include -#include -#include -#include -#include -#include - -int main (void) -{ - 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_STATS2; + return (retval); + ] + )], + [AC_DEFINE([HAVE_TCA_STATS2], [1], [True if the enum-member TCA_STATS2 exists])]) AC_COMPILE_IFELSE( [#include