mirror of
https://github.com/nmap/nmap.git
synced 2025-12-06 12:41:29 +00:00
In configure.ac, move the line
LUA_CFLAGS="-DLUA_USE_POSIX -DLUA_USE_DLOPEN" out of a case statement so that it becomes the default for all systems but Mac OS X. Previously it was in the '*' branch of the case statement, so it ran only for systems that weren't otherwise handled. This may have caused the error reported at http://seclists.org/nmap-dev/2008/q2/0464.html.
This commit is contained in:
4
configure
vendored
4
configure
vendored
@@ -4209,6 +4209,8 @@ fi
|
||||
|
||||
needs_cpp_precomp=no
|
||||
|
||||
LUA_CFLAGS="-DLUA_USE_POSIX -DLUA_USE_DLOPEN"
|
||||
|
||||
case "$host" in
|
||||
*alpha-dec-osf*)
|
||||
cat >>confdefs.h <<\_ACEOF
|
||||
@@ -4494,8 +4496,6 @@ fi
|
||||
LUA_CFLAGS="-DLUA_USE_MACOSX"
|
||||
needs_cpp_precomp=yes
|
||||
;;
|
||||
*)
|
||||
LUA_CFLAGS="-DLUA_USE_POSIX -DLUA_USE_DLOPEN"
|
||||
esac
|
||||
|
||||
|
||||
|
||||
@@ -104,6 +104,8 @@ AC_PATH_TOOL([STRIP], [strip], [/bin/true])
|
||||
|
||||
needs_cpp_precomp=no
|
||||
|
||||
LUA_CFLAGS="-DLUA_USE_POSIX -DLUA_USE_DLOPEN"
|
||||
|
||||
case "$host" in
|
||||
*alpha-dec-osf*)
|
||||
AC_DEFINE(DEC)
|
||||
@@ -178,8 +180,6 @@ case "$host" in
|
||||
LUA_CFLAGS="-DLUA_USE_MACOSX"
|
||||
needs_cpp_precomp=yes
|
||||
;;
|
||||
*)
|
||||
LUA_CFLAGS="-DLUA_USE_POSIX -DLUA_USE_DLOPEN"
|
||||
esac
|
||||
|
||||
AC_SUBST(LUA_CFLAGS)
|
||||
|
||||
Reference in New Issue
Block a user