projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
00345ba
)
Fix HAVE_TCA_STATS(2) checks in configure.in
author
Andreas Henriksson
<andreas@fatal.se>
Mon, 10 Jun 2013 21:00:24 +0000
(23:00 +0200)
committer
Marc Fournier
<marc.fournier@camptocamp.com>
Thu, 18 Jul 2013 10:04:23 +0000
(12:04 +0200)
configure.in
patch
|
blob
|
history
diff --git
a/configure.in
b/configure.in
index
75ee2ea
..
a16d310
100644
(file)
--- a/
configure.in
+++ b/
configure.in
@@
-2557,34
+2557,34
@@
then
#include <sys/socket.h>])
AC_COMPILE_IFELSE([AC_LANG_PROGRAM(
#include <sys/socket.h>])
AC_COMPILE_IFELSE([AC_LANG_PROGRAM(
-[[
[
+[[
#include <stdio.h>
#include <sys/types.h>
#include <asm/types.h>
#include <sys/socket.h>
#include <linux/netlink.h>
#include <linux/rtnetlink.h>
#include <stdio.h>
#include <sys/types.h>
#include <asm/types.h>
#include <sys/socket.h>
#include <linux/netlink.h>
#include <linux/rtnetlink.h>
-]]
]
,
-[[
[
+]],
+[[
int retval = TCA_STATS2;
return (retval);
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(
)],
[AC_DEFINE([HAVE_TCA_STATS2], [1], [True if the enum-member TCA_STATS2 exists])])
AC_COMPILE_IFELSE([AC_LANG_PROGRAM(
-[[
[
+[[
#include <stdio.h>
#include <sys/types.h>
#include <asm/types.h>
#include <sys/socket.h>
#include <linux/netlink.h>
#include <linux/rtnetlink.h>
#include <stdio.h>
#include <sys/types.h>
#include <asm/types.h>
#include <sys/socket.h>
#include <linux/netlink.h>
#include <linux/rtnetlink.h>
-]]
]
,
-[[
[
+]],
+[[
int retval = TCA_STATS;
return (retval);
int retval = TCA_STATS;
return (retval);
-]]
]
+]]
)],
[AC_DEFINE([HAVE_TCA_STATS], 1, [True if the enum-member TCA_STATS exists])])
)],
[AC_DEFINE([HAVE_TCA_STATS], 1, [True if the enum-member TCA_STATS exists])])