From 86bc4727ec521068dd08195d53e2e03aabab4932 Mon Sep 17 00:00:00 2001 From: k-m_schindler Date: Tue, 29 Jan 2013 14:39:10 +0000 Subject: setting check in PKG_HAVE for lua5.*.pc. fixes configure of this cases. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2937 b956fd51-792f-4845-bead-9b4dfca2ff2c --- configure.ac | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index c0cebb94..2c566f53 100644 --- a/configure.ac +++ b/configure.ac @@ -177,20 +177,20 @@ PKG_HAVE([sqlite3], [sqlite3], yes) # find lua 5.2 or 5.11 # (K)Ubuntu uses lua5.2.pc and lua5.1.pc, # Mac OS X and other linux distributions use lua.pc -PKG_HAVE([lua], [lua5.2], no) +PKG_HAVE([lua], [lua5.2], check) lua_LIB_NAME="lua5.2" if [[ x$lua_HAVE = xyes ]]; then PKG_VERSION([lua], [lua5.2]) else - PKG_HAVE([lua], [lua5.1], no) + PKG_HAVE([lua], [lua5.1], check) lua_LIB_NAME="lua5.1" if [[ x$lua_HAVE = xyes ]]; then PKG_VERSION([lua], [lua5.1]) else - PKG_HAVE([lua], [lua >= 5.1], yes) + PKG_HAVE([lua], [lua >= 5.1], yes) lua_LIB_NAME="lua" - PKG_VERSION([lua], [lua]) - fi + PKG_VERSION([lua], [lua]) + fi fi AC_SUBST(lua_LIB_NAME) -- cgit v1.2.3