From f24b2f32850625dc56d510e2a5d019641bd06b4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Fri, 10 Aug 2001 20:29:40 +0000 Subject: [PATCH] Autotest for netpacket/packet.h, as it is not available on all Linux versions. Depend AF_PACKET on HAVE_NETPACKET_PACKET_H. --- configure | 4 ++-- pyconfig.h.in | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/configure b/configure index dda76594d5b8dc..017e3fb8182cf4 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 e0d807585715ff..bdb242c4d6e75e 100644 --- a/pyconfig.h.in +++ b/pyconfig.h.in @@ -611,6 +611,9 @@ /* Define if you have the header file. */ #undef HAVE_NDIR_H +/* Define if you have the header file. */ +#undef HAVE_NETPACKET_PACKET_H + /* Define if you have the header file. */ #undef HAVE_POLL_H