Skip to content

Commit f24b2f3

Browse files
committed
Autotest for netpacket/packet.h, as it is not available on all Linux versions.
Depend AF_PACKET on HAVE_NETPACKET_PACKET_H.
1 parent 1ba3fd5 commit f24b2f3

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

configure

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#! /bin/sh
22

3-
# From configure.in Revision: 1.242
3+
# From configure.in Revision: 1.243
44

55
# Guess values for system-dependent variables and create Makefiles.
66
# Generated automatically using autoconf version 2.13
@@ -1886,7 +1886,7 @@ signal.h stdarg.h stddef.h stdlib.h thread.h unistd.h utime.h termios.h \
18861886
sys/audioio.h sys/file.h sys/lock.h sys/modem.h db_185.h db.h \
18871887
sys/param.h sys/poll.h sys/select.h sys/socket.h sys/time.h sys/times.h \
18881888
sys/un.h sys/utsname.h sys/wait.h pty.h libutil.h \
1889-
ndbm.h db1/ndbm.h gdbm/ndbm.h sys/resource.h
1889+
ndbm.h db1/ndbm.h gdbm/ndbm.h sys/resource.h netpacket/packet.h
18901890
do
18911891
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
18921892
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6

pyconfig.h.in

+3
Original file line numberDiff line numberDiff line change
@@ -611,6 +611,9 @@
611611
/* Define if you have the <ndir.h> header file. */
612612
#undef HAVE_NDIR_H
613613

614+
/* Define if you have the <netpacket/packet.h> header file. */
615+
#undef HAVE_NETPACKET_PACKET_H
616+
614617
/* Define if you have the <poll.h> header file. */
615618
#undef HAVE_POLL_H
616619

0 commit comments

Comments
 (0)