Code

Fix Lua header detection
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Sat, 19 Nov 2016 10:47:00 +0000 (11:47 +0100)
committerFlorian Forster <octo@collectd.org>
Sun, 20 Nov 2016 20:42:26 +0000 (21:42 +0100)
commit3eda78360090edab0538f3b54c79d27a7fa1ec22
tree30c339f8a7024e553974457dbe258e0f5302f43a
parentdb961f476426f5dd3ca1663ffc094f0fc7f6f8a2
Fix Lua header detection

checking lua.h usability... yes
checking lua.h presence... no
configure: WARNING: lua.h: accepted by the compiler, rejected by the
preprocessor!
configure: WARNING: lua.h: proceeding with the compiler's result
checking for lua.h... yes
checking lauxlib.h usability... yes
checking lauxlib.h presence... no
configure: WARNING: lauxlib.h: accepted by the compiler, rejected by the
preprocessor!
configure: WARNING: lauxlib.h: proceeding with the compiler's result
checking for lauxlib.h... yes
checking lualib.h usability... yes
checking lualib.h presence... no
configure: WARNING: lualib.h: accepted by the compiler, rejected by the
preprocessor!
configure: WARNING: lualib.h: proceeding with the compiler's result
checking for lualib.h... yes

AC_CHECK_HEADERS uses the preprocessor directly, which doesn't use
CFLAGS. Fixes detection of the lua-5.1 compat libs on Fedora Rawhide.
configure.ac