# HG changeset patch # User J. Ali Harlow # Date 1329766223 0 # Node ID 6707b8b11f551341900f20ee474009a03d49a4c4 # Parent 08b9c2e3cb373e8c6e574dfcc2cb20e0005e2054 LUA_CFLAGS & LUA_LIBS should override pkg-config, not be ignored. diff -r 08b9c2e3cb37 -r 6707b8b11f55 configure.ac --- a/configure.ac Mon Feb 20 19:28:38 2012 +0000 +++ b/configure.ac Mon Feb 20 19:30:23 2012 +0000 @@ -261,9 +261,7 @@ [AS_HELP_STRING([--without-lua], [disable support for lua])], [], [with_lua=yes]) - -LUA_CFLAGS= -LUA_LIBS= + AS_IF([test "x$with_lua" != xno], [PKG_CHECK_MODULES(LUA, [lua]) REQUIREMENTS="$REQUIREMENTS lua"