LUA_CFLAGS & LUA_LIBS should override pkg-config, not be ignored.
authorJ. Ali Harlow <ali@juiblex.co.uk>
Mon Feb 20 19:30:23 2012 +0000 (2012-02-20)
changeset 4286707b8b11f55
parent 427 08b9c2e3cb37
child 429 51905cfc2bde
LUA_CFLAGS & LUA_LIBS should override pkg-config, not be ignored.
configure.ac
     1.1 --- a/configure.ac	Mon Feb 20 19:28:38 2012 +0000
     1.2 +++ b/configure.ac	Mon Feb 20 19:30:23 2012 +0000
     1.3 @@ -261,9 +261,7 @@
     1.4              [AS_HELP_STRING([--without-lua], [disable support for lua])],
     1.5              [],
     1.6              [with_lua=yes])
     1.7 -          
     1.8 -LUA_CFLAGS=
     1.9 -LUA_LIBS=
    1.10 +
    1.11  AS_IF([test "x$with_lua" != xno],
    1.12    [PKG_CHECK_MODULES(LUA, [lua])
    1.13     REQUIREMENTS="$REQUIREMENTS lua"