1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-10 09:49:05 +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:
fyodor
2008-05-04 19:27:34 +00:00
parent 85edc7a005
commit d622c98e4b
3 changed files with 8 additions and 4 deletions

3
configure vendored
View File

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