Permalink
Browse files

Report correct chosen lua

  • Loading branch information...
1 parent dd8853c commit 920f987cc8d630892b93e2d42299b74e44a075d3 @cmouse cmouse committed with mind04 Jan 13, 2015
Showing with 1 addition and 1 deletion.
  1. +1 −1 m4/pdns_with_lua.m4
View
@@ -8,12 +8,12 @@ AC_DEFUN([PDNS_WITH_LUA],[
AS_IF([test "x$with_lua" != "xno"],[
AS_IF([test "x$with_lua" = "xyes" -o "x$with_lua" = "xauto"],
[for LUAPC in lua5.2 lua-5.2 lua5.1 lua-5.1 lua; do
- if test "x$LUA_LIBS" != "x"; then break; fi
PKG_CHECK_MODULES([LUA], $LUAPC >= 5.1, [
AC_DEFINE([HAVE_LUA], [1], [liblua])
AC_DEFINE([HAVE_LUA_H], [1], [lua.h])
with_lua=yes
], [LUAPC=""]) # otherwise pkg_check will fail
+ if test "x$LUA_LIBS" != "x"; then break; fi
done
],
[LUAPC="$with_lua"

0 comments on commit 920f987

Please sign in to comment.