gnome-applets r10862 - trunk



Author: callum
Date: Thu Jun 12 10:35:00 2008
New Revision: 10862
URL: http://svn.gnome.org/viewvc/gnome-applets?rev=10862&view=rev

Log:
Fix the build for people with gucharmap-2. Bug 531298

Modified:
   trunk/ChangeLog
   trunk/configure.in

Modified: trunk/configure.in
==============================================================================
--- trunk/configure.in	(original)
+++ trunk/configure.in	Thu Jun 12 10:35:00 2008
@@ -36,7 +36,7 @@
 GNOME_ICON_THEME_REQUIRED=2.15.91
 LIBXML_REQUIRED=2.5.0
 GWEATHER_REQUIRED=2.22.1
-GUCHARMAP2_REQUIRED=2.21.5
+GUCHARMAP2_REQUIRED=2.23.0
 GUCHARMAP_REQUIRED=1.4.0
 POLKIT_REQUIRED=0.7
 dnl ***************************************************************************
@@ -268,9 +268,11 @@
 
 dnl -- check for gucharmap (optional) -----------------------------------------
 
-PKG_CHECK_MODULES([GUCHARMAP2],[gucharmap-2 >= $GUCHARMAP2_REQUIRED],
-                  [have_gucharmap=yes have_gucharmap_2=yes],[have_gucharmap_2=no])
-if test "$have_gucharmap_2" = "no"; then
+PKG_CHECK_EXISTS([gucharmap-2 >= $GUCHARMAP2_REQUIRED],
+                 [have_gucharmap=yes have_gucharmap_2=yes],[have_gucharmap_2=no])
+if test "$have_gucharmap_2" = "yes"; then
+      PKG_CHECK_MODULES([GUCHARMAP],[gucharmap-2 >= $GUCHARMAP2_REQUIRED])
+else
       PKG_CHECK_MODULES([GUCHARMAP], [gucharmap >= $GUCHARMAP_REQUIRED],
                         [have_gucharmap=yes],[have_gucharmap=no])
 fi
@@ -809,7 +811,8 @@
 	 - accessx-status		$HAVE_XKB
 	 - battstat			$build_battstat_applet
 	 - charpick			always
-	 	- gucharmap support	$HAVE_GUCHARMAP
+	 	- gucharmap support	$have_gucharmap
+		- gucharmap-2 support	$have_gucharmap_2
 	 - cpufreq			$build_cpufreq_applet
 	 	- building selector	$enable_selector
 		- using PolicyKit       $HAVE_POLKIT



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