summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorZackery Spytz <zspytz@gmail.com>2020-04-09 12:03:49 (GMT)
committerGitHub <noreply@github.com>2020-04-09 12:03:49 (GMT)
commit97e0de04b8cd44474e452a028761e34407192041 (patch)
treec9041db6144355b0e2c1573a21dae089a6b4e4c6 /configure
parentb54a99d6432de93de85be2b42a63774f8b4581a0 (diff)
downloadcpython-97e0de04b8cd44474e452a028761e34407192041.zip
cpython-97e0de04b8cd44474e452a028761e34407192041.tar.gz
cpython-97e0de04b8cd44474e452a028761e34407192041.tar.bz2
bpo-25780: Expose CAN_RAW_JOIN_FILTERS in the socket module (GH-19190)
Co-Authored-By: Stefan Tatschner <stefan@rumpelsepp.org>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure30
1 files changed, 30 insertions, 0 deletions
diff --git a/configure b/configure
index a7a3ac2..d3e8149 100755
--- a/configure
+++ b/configure
@@ -11307,6 +11307,36 @@ $as_echo "no" >&6; }
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAN_RAW_JOIN_FILTERS" >&5
+$as_echo_n "checking for CAN_RAW_JOIN_FILTERS... " >&6; }
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+#include <linux/can/raw.h>
+int
+main ()
+{
+int can_raw_join_filters = CAN_RAW_JOIN_FILTERS;
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+
+
+$as_echo "#define HAVE_LINUX_CAN_RAW_JOIN_FILTERS 1" >>confdefs.h
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+
+else
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
# Check for --with-doc-strings
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-doc-strings" >&5
$as_echo_n "checking for --with-doc-strings... " >&6; }