summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2001-08-10 20:29:40 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2001-08-10 20:29:40 (GMT)
commitf24b2f32850625dc56d510e2a5d019641bd06b4e (patch)
tree1e8280306450fd73e5538ab618b79461787a1416
parent1ba3fd5d515ae601eaab660971f110fbbc2c42e7 (diff)
downloadcpython-f24b2f32850625dc56d510e2a5d019641bd06b4e.zip
cpython-f24b2f32850625dc56d510e2a5d019641bd06b4e.tar.gz
cpython-f24b2f32850625dc56d510e2a5d019641bd06b4e.tar.bz2
Autotest for netpacket/packet.h, as it is not available on all Linux versions.
Depend AF_PACKET on HAVE_NETPACKET_PACKET_H.
-rwxr-xr-xconfigure4
-rw-r--r--pyconfig.h.in3
2 files changed, 5 insertions, 2 deletions
diff --git a/configure b/configure
index dda7659..017e3fb 100755
--- a/configure
+++ b/configure
@@ -1,6 +1,6 @@
#! /bin/sh
-# From configure.in Revision: 1.242
+# From configure.in Revision: 1.243
# Guess values for system-dependent variables and create Makefiles.
# 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 \
sys/audioio.h sys/file.h sys/lock.h sys/modem.h db_185.h db.h \
sys/param.h sys/poll.h sys/select.h sys/socket.h sys/time.h sys/times.h \
sys/un.h sys/utsname.h sys/wait.h pty.h libutil.h \
-ndbm.h db1/ndbm.h gdbm/ndbm.h sys/resource.h
+ndbm.h db1/ndbm.h gdbm/ndbm.h sys/resource.h netpacket/packet.h
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
diff --git a/pyconfig.h.in b/pyconfig.h.in
index e0d8075..bdb242c 100644
--- a/pyconfig.h.in
+++ b/pyconfig.h.in
@@ -611,6 +611,9 @@
/* Define if you have the <ndir.h> header file. */
#undef HAVE_NDIR_H
+/* Define if you have the <netpacket/packet.h> header file. */
+#undef HAVE_NETPACKET_PACKET_H
+
/* Define if you have the <poll.h> header file. */
#undef HAVE_POLL_H