summaryrefslogtreecommitdiff
blob: 86e0b434777ffb6bbfa01cd18bc7018173eaf712 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Index: configure.ac
===================================================================
--- configure.ac	(revision 2250)
+++ 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 2250)
+++ 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(HAVE_LUA) || !defined(LIBDIR)
 
 // stub implementation