X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=configure.in;h=027bf9c378359f2ee9a8df1c6bca01e8a6d59bdc;hb=9e7b3a035836474cb4af253b248de30d5eb97f4d;hp=bdcb084f3dec0a6faaf924f2369cb1f44b1b40f9;hpb=400596160704146845940d7d9c4f794c0d2ddc03;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