]> git.ipfire.org Git - thirdparty/pdns.git/commit
Handle missing Lua when lua backend is enabled 1788/head
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Tue, 7 Oct 2014 10:04:32 +0000 (12:04 +0200)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Tue, 7 Oct 2014 10:11:24 +0000 (12:11 +0200)
commita20adc10d1613e9bbabb5a39a8884faed7823187
treefb5ff0a8a537ec7df28020eecb0f5c57b0d3a84e
parenta0c34f7bbc1b60dc743ab298e5bec2f0f3d91441
Handle missing Lua when lua backend is enabled

The first case handles ./configure --with-modules='lua' --with-lua=no.
I don't know who would do such a thing, but better handle it in
./configure than bailing out later with a compiler error.

The second case handles ./configure --with-modules=lua when you don't have
Lua installed, which I actually observed since I assumed enabling the
lua backend would be enough, and I did't have the lua headers on my
system.

Fixes #1618
configure.ac