mirror of
https://github.com/nmap/nmap.git
synced 2025-12-07 13:11:28 +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:
@@ -1,5 +1,21 @@
|
|||||||
o Included this file, renamed directory from libpcap-1.0.0 to libpcap.
|
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:
|
o Removed these files and directories:
|
||||||
packaging/
|
packaging/
|
||||||
config.guess
|
config.guess
|
||||||
|
|||||||
4148
libpcap/configure
vendored
4148
libpcap/configure
vendored
File diff suppressed because it is too large
Load Diff
@@ -358,7 +358,6 @@ linux)
|
|||||||
#include <net/if.h>
|
#include <net/if.h>
|
||||||
#include <linux/types.h>
|
#include <linux/types.h>
|
||||||
])
|
])
|
||||||
AC_CHECK_HEADERS()
|
|
||||||
AC_LBL_TPACKET_STATS
|
AC_LBL_TPACKET_STATS
|
||||||
AC_LBL_LINUX_TPACKET_AUXDATA_TP_VLAN_TCI
|
AC_LBL_LINUX_TPACKET_AUXDATA_TP_VLAN_TCI
|
||||||
;;
|
;;
|
||||||
|
|||||||
Reference in New Issue
Block a user