mirror of
https://github.com/nmap/nmap.git
synced 2025-12-06 12:41:29 +00:00
o Fix a couple bugs in the way the Nmap built system checked for an
existing LUA library. A bashism caused one test to fail on system which don't use bash as /bin/sh, and another bug fixed --with-liblua configure option for specifying your own liblua. [Daniel Roethlisberger]
This commit is contained in:
@@ -4,6 +4,12 @@ o Since assert() calls are used for various security-related tests,
|
||||
their safety is now ensured by keeping NDEBUG undefined throughout
|
||||
Nmap, Nbase and Nsock. [Kris]
|
||||
|
||||
o Fix a couple bugs in the way the Nmap built system checked for an
|
||||
existing LUA library. A bashism caused one test to fail on system
|
||||
which don't use bash as /bin/sh, and another bug fixed --with-liblua
|
||||
configure option for specifying your own liblua. [Daniel
|
||||
Roethlisberger]
|
||||
|
||||
Nmap 4.62 [5/3/08]
|
||||
|
||||
o Added a new --min-rate option that allows specifying a minimum rate
|
||||
|
||||
3
configure
vendored
3
configure
vendored
@@ -7181,7 +7181,6 @@ if test "${with_liblua+set}" = set; then
|
||||
*)
|
||||
CPPFLAGS="-I$with_liblua/include $CPPFLAGS"
|
||||
LDFLAGS="-L$with_liblua/lib $LDFLAGS"
|
||||
have_lua=yes
|
||||
;;
|
||||
esac
|
||||
|
||||
@@ -7189,7 +7188,7 @@ fi
|
||||
|
||||
|
||||
# They don't want lua
|
||||
if test $no_lua == yes; then
|
||||
if test "$no_lua" = "yes"; then
|
||||
CXXFLAGS="-DNOLUA $CXXFLAGS"
|
||||
LIBLUA_LIBS=""
|
||||
LUA_DEPENDS=""
|
||||
|
||||
@@ -493,13 +493,12 @@ AC_HELP_STRING([--without-liblua], [Compile without lua (this will exclude all o
|
||||
*)
|
||||
CPPFLAGS="-I$with_liblua/include $CPPFLAGS"
|
||||
LDFLAGS="-L$with_liblua/lib $LDFLAGS"
|
||||
have_lua=yes
|
||||
;;
|
||||
esac]
|
||||
)
|
||||
|
||||
# They don't want lua
|
||||
if test $no_lua == yes; then
|
||||
if test "$no_lua" = "yes"; then
|
||||
CXXFLAGS="-DNOLUA $CXXFLAGS"
|
||||
LIBLUA_LIBS=""
|
||||
LUA_DEPENDS=""
|
||||
|
||||
Reference in New Issue
Block a user