Code

Fix HAVE_TCA_STATS(2) checks in configure.in
authorAndreas Henriksson <andreas@fatal.se>
Mon, 10 Jun 2013 21:00:24 +0000 (23:00 +0200)
committerMarc Fournier <marc.fournier@camptocamp.com>
Thu, 18 Jul 2013 10:04:23 +0000 (12:04 +0200)
configure.in

index 75ee2ea43b4003c663d5fd5f8c00dc609418fc2f..a16d3105c42667694cb927048fc5736fa118c156 100644 (file)
@@ -2557,34 +2557,34 @@ then
 #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>
-]]],
-[[[
+]],
+[[
 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 <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);
-]]]
+]]
        )],
        [AC_DEFINE([HAVE_TCA_STATS], 1, [True if the enum-member TCA_STATS exists])])