summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2013-11-15 22:32:45 (EST)
committer P. J. McDermott <pjm@nac.net>2013-11-15 22:32:45 (EST)
commit8c54860fd7e05355840d5b2b67ee8ff3ccb3af66 (patch)
tree612116414edec40bcadb16bf13255c4c4ae972cb
parent3bacf773c7b9dc7bcc90c2edd214cbe24d931e49 (diff)
downloadoverworld-rpg-8c54860fd7e05355840d5b2b67ee8ff3ccb3af66.zip
overworld-rpg-8c54860fd7e05355840d5b2b67ee8ff3ccb3af66.tar.gz
overworld-rpg-8c54860fd7e05355840d5b2b67ee8ff3ccb3af66.tar.bz2
configure.ac: Check for the Lua 5.1 library.
-rw-r--r--configure.ac4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index c82fc40..f9e2b1a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -43,6 +43,10 @@ PKG_CHECK_MODULES([SDL], [sdl])
PKG_CHECK_MODULES([SDL_IMAGE], [SDL_image])
PKG_CHECK_MODULES([ZLIB], [zlib])
PKG_CHECK_MODULES([EXPAT], [expat])
+PKG_CHECK_MODULES([LUA], [lua >= 5.1], [],
+ [PKG_CHECK_MODULES([LUA], [lua5.1 >= 5.1], [],
+ [PKG_CHECK_MODULES([LUA], [lua-5.1 >= 5.1])])
+ ])
AC_ARG_VAR([XCF2PNG], [path to xcf2png utility])
AC_CHECK_PROGS([XCF2PNG], [xcf2png], [no])