Skip to content

Commit 2f19691

Browse files
committed
Fix: Setting of HAVE_LINUX_CAN_ISOTP_H by configure
For unknown reason, HAVE_LINUX_CAN_ISOTP_H was not set during build. After changing the order of items in that particular line of configure.ac, it now works as expected. Signed-off-by: Patrick Menschel <[email protected]>
1 parent eb283c2 commit 2f19691

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

configure.ac

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2269,8 +2269,8 @@ AC_CHECK_HEADERS(linux/vm_sockets.h,,,[
22692269
#endif
22702270
])
22712271

2272-
# On Linux, can.h, can/bcm.h, can/j1939.h, can/raw.h require sys/socket.h
2273-
AC_CHECK_HEADERS(linux/can.h linux/can/bcm.h linux/can/j1939.h linux/can/raw.h linux/can/isotp.h,,,[
2272+
# On Linux, can.h, can/bcm.h, linux/can/isotp.h, can/j1939.h, can/raw.h require sys/socket.h
2273+
AC_CHECK_HEADERS(linux/can.h linux/can/bcm.h linux/can/isotp.h linux/can/j1939.h linux/can/raw.h,,,[
22742274
#ifdef HAVE_SYS_SOCKET_H
22752275
#include <sys/socket.h>
22762276
#endif

pyconfig.h.in

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -643,6 +643,9 @@
643643
/* Define to 1 if you have the <linux/can/j1939.h> header file. */
644644
#undef HAVE_LINUX_CAN_J1939_H
645645

646+
/* Define to 1 if you have the <linux/can/isotp.h> header file. */
647+
#undef HAVE_LINUX_CAN_ISOTP_H
648+
646649
/* Define if compiling using Linux 3.6 or later. */
647650
#undef HAVE_LINUX_CAN_RAW_FD_FRAMES
648651

0 commit comments

Comments
 (0)