[nautilus-actions] Move back gtk_required variable to configure.ac



commit 57a9a5134adaec30fb36cbfc71bf68b2c091bc0e
Author: Pierre Wieser <pwieser trychlos org>
Date:   Sun Jan 2 13:01:42 2011 +0100

    Move back gtk_required variable to configure.ac

 ChangeLog              |    6 ++++++
 configure.ac           |    5 +++--
 m4/na-check-for-gtk.m4 |    2 --
 3 files changed, 9 insertions(+), 4 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 14635f6..68b8afe 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2011-01-02 Pierre Wieser <pwieser trychlos org>
+
+	* configure.ac:
+	* m4/na-check-for-gtk.m4:
+	Move back gtk_required variable to improve readibility of configure.ac.
+
 2011-01-01 Pierre Wieser <pwieser trychlos org>
 
 	* configure.ac: Post release version bump.
diff --git a/configure.ac b/configure.ac
index fc3b90a..225ac18 100644
--- a/configure.ac
+++ b/configure.ac
@@ -131,9 +131,10 @@ if test "${PKG_CONFIG}" = "no"; then
 	AC_MSG_ERROR([You need to install pkg-config])
 fi
 
-NA_CHECK_FOR_GTK
-
 glib_required=2.16.0
+gtk_required=2.12.0
+
+NA_CHECK_FOR_GTK
 
 dnl aclocal complains if the comma is not just after the square bracket
 NA_CHECK_MODULE([DBUS],              [dbus-glib-1])
diff --git a/m4/na-check-for-gtk.m4 b/m4/na-check-for-gtk.m4
index 4560f8d..f8a7c6c 100644
--- a/m4/na-check-for-gtk.m4
+++ b/m4/na-check-for-gtk.m4
@@ -52,8 +52,6 @@ AC_DEFUN([_AC_NA_ARG_GTK],[
 ])
 
 AC_DEFUN([_AC_NA_CHECK_GTK],[
-	gtk_required=2.12.0
-
 	if test "${with_gtk}" = "auto"; then
 		_AC_NA_CHECK_FOR_GTK3
 		if test "${have_gtk3}" != "yes"; then



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