diff -ru nmap-4.76/configure.ac nmap-4.76+iPhone/configure.ac --- nmap-4.76/configure.ac 2008-09-08 23:37:03.000000000 +0000 +++ nmap-4.76+iPhone/configure.ac 2008-10-09 08:42:26.000000000 +0000 @@ -537,7 +537,7 @@ # They don't want lua if test "$no_lua" = "yes"; then - CXXFLAGS="-DNOLUA $CXXFLAGS" + CPPFLAGS="-DNOLUA $CPPFLAGS" LIBLUA_LIBS="" LUA_DEPENDS="" LUA_BUILD=""