Hello,

Looking at ticket #412 (http://wiki.powerdns.com/trac/ticket/412), it appears 
that the --without-lua issue has been closed, but running ./configure 
--without-lua on pdns-3.0.1 still fails.

Patches are attached; in the hope that they might help diagnose the problem, 
and as it stands right now, they at least allow ./configure to complete.

Should a ticket be (re)opened to backport the fix in #412 to pdns-3.0.1, as 
pdns-3.1 has not been released yet?


                                          
--- configure.ac.orig	Thu Jan  5 07:36:57 2012
+++ configure.ac	Sat Mar 31 10:32:48 2012
@@ -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
--- pdns/lua-pdns-recursor.cc.orig	Sat Mar 31 10:34:20 2012
+++ pdns/lua-pdns-recursor.cc	Sat Mar 31 10:35:45 2012
@@ -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
 
_______________________________________________
Pdns-dev mailing list
[email protected]
http://mailman.powerdns.com/mailman/listinfo/pdns-dev

Reply via email to