diff options
author | Zackery Spytz <zspytz@gmail.com> | 2020-04-09 12:03:49 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-09 12:03:49 (GMT) |
commit | 97e0de04b8cd44474e452a028761e34407192041 (patch) | |
tree | c9041db6144355b0e2c1573a21dae089a6b4e4c6 /configure | |
parent | b54a99d6432de93de85be2b42a63774f8b4581a0 (diff) | |
download | cpython-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-x | configure | 30 |
1 files changed, 30 insertions, 0 deletions
@@ -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; } |