gegl r2049 - trunk



Author: kcozens
Date: Mon Feb 18 19:47:43 2008
New Revision: 2049
URL: http://svn.gnome.org/viewvc/gegl?rev=2049&view=rev

Log:
* configure.ac: Check for Lua 5.1.0 or newer.


Modified:
   trunk/ChangeLog
   trunk/configure.ac

Modified: trunk/configure.ac
==============================================================================
--- trunk/configure.ac	(original)
+++ trunk/configure.ac	Mon Feb 18 19:47:43 2008
@@ -41,6 +41,7 @@
 m4_define([babl_required_version], [0.0.14])
 m4_define([glib_required_version], [2.14.1])
 m4_define([gtk_required_version], [2.8.6])
+m4_define([lua_required_version], [5.1.0])
 m4_define([cairo_required_version], [0.0.0])
 m4_define([pango_required_version], [0.0.0])
 m4_define([pangocairo_required_version], [0.0.0])
@@ -112,6 +113,9 @@
 AC_SUBST(GLIB_REQUIRED_VERSION)
 AC_SUBST(GTK_REQUIRED_VERSION)
 
+LUA_REQUIRED_VERSION=lua_required_version
+AC_SUBST(LUA_REQUIRED_VERSION)
+
 PACKAGE_NAME=gegl
 AC_SUBST(PACKAGE_NAME)
 
@@ -414,13 +418,9 @@
 # Check for Lua
 ###############
 
-PKG_CHECK_MODULES(LUA, lua,
+PKG_CHECK_MODULES(HAVE_LUA, lua >= $LUA_REQUIRED_VERSION,
   have_lua="yes",
-  [PKG_CHECK_MODULES(LUA, lua5.1,
-     have_lua="yes",
-     [PKG_CHECK_MODULES(LUA, lua50,
-        have_lua="yes",
-        have_lua="no  (usable lua not found)")])])
+  have_lua="no  (usable lua not found)")
 AM_CONDITIONAL(HAVE_LUA, test "x$have_lua" = "xyes")
 
 AC_SUBST(LUA_CFLAGS) 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]