Hi When running 'configure --with-lua=no' I got the following output: checking if with lua... no]
and then it continued to check for LUA existance. In addition, after fixing the obvious autoconf typo, the stub #ifdef path in lua-pdns-recursor.cc wasn't taken due to LIBDIR beeing set. The following patch fixes both issues: Index: configure.ac =================================================================== --- configure.ac (revision 2279) +++ configure.ac (working copy) @@ -26,7 +26,7 @@ dnl Check for lua AC_MSG_CHECKING(if with lua) -AC_ARG_WITH(lua, AC_HELP_STRING([--with-lua],[lua]), WITH_LUA=$withval],[WITH_LUA=yes]) +AC_ARG_WITH(lua, AC_HELP_STRING([--with-lua],[lua]), WITH_LUA=$withval,[WITH_LUA=yes]) AC_MSG_RESULT($WITH_LUA) if test "$WITH_LUA" != "no"; then Index: pdns/lua-pdns-recursor.cc =================================================================== --- pdns/lua-pdns-recursor.cc (revision 2279) +++ pdns/lua-pdns-recursor.cc (working copy) @@ -1,6 +1,6 @@ #include "lua-pdns-recursor.hh" -#if !defined(PDNS_ENABLE_LUA) && !defined(LIBDIR) +#if !defined(PDNS_ENABLE_LUA) || !defined(LIBDIR) // stub implementation Best regards, Jimmy
_______________________________________________ Pdns-dev mailing list [email protected] http://mailman.powerdns.com/mailman/listinfo/pdns-dev
