1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-06 04:31:29 +00:00

Fixed a bug which lead to libpcap ./configure errors on Solaris which

looked like:

./configure: line 6651: syntax error near unexpected token `in'
./configure: line 6651: `       for ac_header in'
configure: error: ./configure failed for libpcap

Example: http://seclists.org/nmap-dev/2010/q1/444

The problem is a bogus empty test in the libpcap/configure.in.  It
was actually fixed by libpcap in SVN back in 2008, but there hasn't
been a release since then :(.  They seem to still be actively developing,
just not making releases.  Sigh.
This commit is contained in:
fyodor
2010-03-24 05:48:02 +00:00
parent ede6b224f5
commit 364ecfca39
3 changed files with 2237 additions and 1928 deletions

View File

@@ -1,5 +1,21 @@
o Included this file, renamed directory from libpcap-1.0.0 to libpcap.
o Applied this configure.in patch which removes a useless test which caused configure to
fail on Solaris 9 (and other versions). This was fixed by libpcap in SVN a year and a half
ago but they haven't made a release since then. Details:
http://sourceforge.net/tracker/index.php?func=detail&aid=2224954&group_id=53067&atid=469577
--- configure.in (revision 17039)
+++ configure.in (working copy)
@@ -358,7 +358,6 @@
#include <net/if.h>
#include <linux/types.h>
])
- AC_CHECK_HEADERS()
AC_LBL_TPACKET_STATS
AC_LBL_LINUX_TPACKET_AUXDATA_TP_VLAN_TCI
;;
o Removed these files and directories:
packaging/
config.guess

4148
libpcap/configure vendored

File diff suppressed because it is too large Load Diff

View File

@@ -358,7 +358,6 @@ linux)
#include <net/if.h>
#include <linux/types.h>
])
AC_CHECK_HEADERS()
AC_LBL_TPACKET_STATS
AC_LBL_LINUX_TPACKET_AUXDATA_TP_VLAN_TCI
;;