Autotest for netpacket/packet.h, as it is not available on all Linux versions.

Depend AF_PACKET on HAVE_NETPACKET_PACKET_H.
This commit is contained in:
Martin v. Löwis 2001-08-10 20:29:40 +00:00
parent 1ba3fd5d51
commit f24b2f3285
2 changed files with 5 additions and 2 deletions

4
configure vendored
View File

@ -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

View File

@ -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