From e404ff79067fcde24150f42c2dcb926ec5926fd1 Mon Sep 17 00:00:00 2001 From: s_alexander Date: Wed, 13 Jan 2010 20:33:19 +0000 Subject: change lua lib filename for different versions git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2088 b956fd51-792f-4845-bead-9b4dfca2ff2c --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 8f9f6e11..e0846256 100644 --- a/configure.ac +++ b/configure.ac @@ -170,9 +170,12 @@ PKG_HAVE([sqlite3], [sqlite3], yes) # (K)Ubuntu uses lua5.1.pc, Mac OS X and other # linux distributions use lua.pc PKG_HAVE([lua], [lua5.1], no) +lua_LIB_NAME="lua5.1" if [[ x$lua_HAVE = xno ]]; then PKG_HAVE([lua], [lua >= 5.1], yes) + lua_LIB_NAME="lua" fi +AC_SUBST(lua_LIB_NAME) # find FFMpeg # Note: do not use the min/max version parameters with ffmpeg -- cgit v1.2.3