Skip to content

Commit

Permalink
Detect Lua on OpenBSD
Browse files Browse the repository at this point in the history
Signed-off-by: Ruben Kerkhof <ruben@rubenkerkhof.com>
(cherry picked from commit 3c9143a3e907d70c9967d725ac76c1602769f023)
  • Loading branch information
rubenk committed May 9, 2015
1 parent 5abd150 commit e25a09c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion m4/pdns_with_lua.m4
Expand Up @@ -7,7 +7,7 @@ AC_DEFUN([PDNS_WITH_LUA],[
AS_IF([test "x$with_lua" != "xno"],[ AS_IF([test "x$with_lua" != "xno"],[
AS_IF([test "x$with_lua" = "xyes" -o "x$with_lua" = "xauto"], AS_IF([test "x$with_lua" = "xyes" -o "x$with_lua" = "xauto"],
[for LUAPC in lua5.3 lua-5.3 lua5.2 lua-5.2 lua5.1 lua-5.1 lua; do [for LUAPC in lua5.3 lua-5.3 lua53 lua5.2 lua-5.2 lua52 lua5.1 lua-5.1 lua51 lua; do
PKG_CHECK_MODULES([LUA], $LUAPC >= 5.1, [ PKG_CHECK_MODULES([LUA], $LUAPC >= 5.1, [
AC_DEFINE([HAVE_LUA], [1], [liblua]) AC_DEFINE([HAVE_LUA], [1], [liblua])
AC_DEFINE([HAVE_LUA_H], [1], [lua.h]) AC_DEFINE([HAVE_LUA_H], [1], [lua.h])
Expand Down

0 comments on commit e25a09c

Please sign in to comment.