From 69cfb4a4d92fedb3837e165915f595da1bedab3c Mon Sep 17 00:00:00 2001 From: david Date: Tue, 27 May 2008 15:59:43 +0000 Subject: [PATCH] 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. --- configure | 4 ++-- configure.ac | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/configure b/configure index f3457ebaa..91336993a 100755 --- a/configure +++ b/configure @@ -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 diff --git a/configure.ac b/configure.ac index 6b9ffdbef..83e42bc63 100644 --- a/configure.ac +++ b/configure.ac @@ -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)