soc.2008.masterpassword: b3723db1: The GNOME Keyring library may or may not...

qulogic at pidgin.im qulogic at pidgin.im
Mon Nov 7 02:38:02 EST 2011


----------------------------------------------------------------------
Revision: b3723db1f85781f6d0a7af8c04759b3dba1ca6da
Parent:   e8c364ec836b823e2e161fa817706cbb5a6a4a96
Author:   qulogic at pidgin.im
Date:     11/06/11 02:41:02
Branch:   im.pidgin.soc.2008.masterpassword
URL: http://d.pidgin.im/viewmtn/revision/info/b3723db1f85781f6d0a7af8c04759b3dba1ca6da

Changelog: 

The GNOME Keyring library may or may not use D-Bus to communicate with
its backend, but it doesn't appear to need D-Bus for compiling and
linking with it.

Changes against parent e8c364ec836b823e2e161fa817706cbb5a6a4a96

  patched  configure.ac

-------------- next part --------------
============================================================
--- configure.ac	020d7a7e9736cf908164495d60697f3491abc0b4
+++ configure.ac	f9b40e854dc99fcfbe3e1f567f8441d4f4a12806
@@ -1297,7 +1297,6 @@ AC_ARG_ENABLE(nm, [AC_HELP_STRING([--dis
 
 AC_ARG_ENABLE(dbus, [AC_HELP_STRING([--disable-dbus], [disable D-Bus support])], , enable_dbus=yes)
 AC_ARG_ENABLE(nm, [AC_HELP_STRING([--disable-nm], [disable NetworkManager support (requires D-Bus)])], enable_nm=$enableval, enable_nm=yes)
-AC_ARG_ENABLE(gnome-keyring, [AC_HELP_STRING([--disable-gnome-keyring], [disable GNOME Keyring support (requires D-Bus)])], enable_gnome_keyring=$enableval, enable_gnome_keyring=yes)
 
 if test "x$enable_dbus" = "xyes" ; then
 	AC_CHECK_PROG(enable_dbus, dbus-binding-tool, yes, no)
@@ -1334,25 +1333,29 @@ Use --disable-nm if you do not need Netw
 ])
 			fi])
 	fi
+else
+	enable_nm=no
+fi
 
+dnl #######################################################################
+dnl # Check for GNOME Keyring headers
+dnl #######################################################################
 
+AC_ARG_ENABLE(gnome-keyring, [AC_HELP_STRING([--disable-gnome-keyring], [disable GNOME Keyring support])], enable_gnome_keyring=$enableval, enable_gnome_keyring=yes)
+
 dnl Check for gnome-keyring.h; if we don't have it, oh well
-	if test "x$enable_gnome_keyring" = "xyes" ; then
-		PKG_CHECK_MODULES(GNOMEKEYRING, [gnome-keyring-1], [
-			AC_SUBST(GNOMEKEYRING_CFLAGS)
-			AC_SUBST(GNOMEKEYRING_LIBS)
-			AC_DEFINE(HAVE_GNOMEKEYRING, 1, [Define if we have GNOME Keyring.])
-		], [
-			if test "x$force_deps" = "xyes" ; then
-				AC_MSG_ERROR([
+if test "x$enable_gnome_keyring" = "xyes" ; then
+	PKG_CHECK_MODULES(GNOMEKEYRING, [gnome-keyring-1], [
+		AC_SUBST(GNOMEKEYRING_CFLAGS)
+		AC_SUBST(GNOMEKEYRING_LIBS)
+		AC_DEFINE(HAVE_GNOMEKEYRING, 1, [Define if we have GNOME Keyring.])
+	], [
+		if test "x$force_deps" = "xyes" ; then
+			AC_MSG_ERROR([
 GNOME Keyring development headers not found.
 Use --disable-gnome-keyring if you do not need GNOME Keyring support.
 ])
-			fi])
-	fi
-else
-	enable_gnome_keyring=no
-	enable_nm=no
+		fi])
 fi
 
 AM_CONDITIONAL(ENABLE_GNOMEKEYRING, test "x$enable_gnome_keyring" = "xyes")


More information about the Commits mailing list