[monkey-bubble: 135/753] NOTE: You must update your gnome-common to make this work !



commit 0fad9e06ef274275ffe6e9ca754a1e4180fd31c3
Author: Martin Baulig <baulig suse de>
Date:   Fri Apr 13 17:10:28 2001 +0000

    NOTE: You must update your gnome-common to make this work !
    
    2001-04-13  Martin Baulig  <baulig suse de>
    
    	NOTE: You must update your gnome-common to make this work !
    
    	* configure.in: Optionally depend on libbonobo and define
    	`HAVE_LIBBONOBO' automake conditional.
    	(LIBGNOME_EXTRA_DEPS): New AC_SUBST'ed variable for our .pc file.

 ChangeLog    |    8 ++++++++
 configure.in |   12 ++++++++++++
 2 files changed, 20 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 68883ab..a287c23 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2001-04-13  Martin Baulig  <baulig suse de>
+
+	NOTE: You must update your gnome-common to make this work !
+	
+	* configure.in: Optionally depend on libbonobo and define
+	`HAVE_LIBBONOBO' automake conditional.
+	(LIBGNOME_EXTRA_DEPS): New AC_SUBST'ed variable for our .pc file.
+
 2001-04-12  Martin Baulig  <baulig suse de>
 
 	* configure.in (--disable-deprecated): Put back this command
diff --git a/configure.in b/configure.in
index b87a32e..4432797 100644
--- a/configure.in
+++ b/configure.in
@@ -119,6 +119,18 @@ GNOME_PKGCONFIG_CHECK_MODULES(LIBXML, libxml-2.0:2.3.1)
 AC_SUBST(LIBXML_CFLAGS)
 AC_SUBST(LIBXML_LIBS)
 
+GNOME_PKGCONFIG_CHECK_OPTIONAL_MODULES(LIBBONOBO, libbonobo-2.0:1.96.0)
+AM_CONDITIONAL(HAVE_LIBBONOBO, test x$have_LIBBONOBO = yes)
+AC_SUBST(LIBBONOBO_CFLAGS)
+AC_SUBST(LIBBONOBO_LIBS)
+
+if test x$have_LIBBONOBO = xyes ; then
+  LIBGNOME_EXTRA_DEPS=libbonobo-2.0
+else
+  LIBGNOME_EXTRA_DEPS=
+fi
+AC_SUBST(LIBGNOME_EXTRA_DEPS)
+
 AC_CHECK_LIB(popt, poptStrippedArgv,, AC_MSG_ERROR([popt 1.5 or newer is required to build
 gnome-libs. You can download the latest version from ftp://people.redhat.com/sopwith/popt/]))
 



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