[monkey-bubble: 456/753] You need to update your gnome-common to get this working.



commit 281dac3c79d85a436cffcf7eb1832fcb587d2901
Author: Martin Baulig <baulig suse de>
Date:   Wed Jun 13 19:08:28 2001 +0000

    You need to update your gnome-common to get this working.
    
    2001-06-13  Martin Baulig  <baulig suse de>
    
    	You need to update your gnome-common to get this working.
    
    	* configure.in: Use PKG_CHECK_MODULES from pkg-config to check for stuff.

 ChangeLog            |    6 ++++++
 configure.in         |   46 ++++++++--------------------------------------
 libgnome/Makefile.am |   14 ++------------
 3 files changed, 16 insertions(+), 50 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 2a60b3d..4ff9c69 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2001-06-13  Martin Baulig  <baulig suse de>
+
+	You need to update your gnome-common to get this working.
+
+	* configure.in: Use PKG_CHECK_MODULES from pkg-config to check for stuff.
+
 2001-06-10  Martin Baulig  <baulig suse de>
 
 	* configure.in: Don't depend on GConf anymore.
diff --git a/configure.in b/configure.in
index 3908fd5..adefadb 100644
--- a/configure.in
+++ b/configure.in
@@ -58,53 +58,23 @@ AC_SUBST(REBUILD)
 dnl
 dnl Start of pkg-config checks
 dnl
-GNOME_PKGCONFIG_CHECK_OPTIONAL_MODULES(LIBGNOMESUPPORT, libgnomesupport-2.0:1.96.0)
-if test x$HAVE_LIBGNOMESUPPORT = xyes ; then
-  AC_DEFINE(HAVE_GNOMESUPPORT)
-fi
-AC_SUBST(LIBGNOMESUPPORT_CFLAGS)
-AC_SUBST(LIBGNOMESUPPORT_LIBS)
-
-GNOME_PKGCONFIG_CHECK_MODULES(ORBIT, ORBit-2.0:2.3.90)
-AC_PATH_PROG(ORBIT_IDL, orbit-idl, no)
-AC_SUBST(ORBIT_CFLAGS)
-AC_SUBST(ORBIT_LIBS)
+PKG_CHECK_MODULES(LIBGNOME, ORBit-2.0 >= 2.3.90 glib-2.0 >= 1.3.1 gnome-vfs-2.0 oaf-2.0 libxml-2.0 libbonobo-2.0)
+AC_SUBST(LIBGNOME_CFLAGS)
+AC_SUBST(LIBGNOME_LIBS)
 
-GNOME_PKGCONFIG_CHECK_MODULES(GLIB, glib-2.0:1.3.1)
-AC_SUBST(GLIB_CFLAGS)
-AC_SUBST(GLIB_LIBS)
+PKG_CHECK_MODULES(MONIKER, ORBit-2.0 >= 2.3.90 glib-2.0 >= 1.3.1 gnome-vfs-2.0 oaf-2.0 libxml-2.0 libbonobo-2.0)
+AC_SUBST(MONIKER_CFLAGS)
+AC_SUBST(MONIKER_LIBS)
 
-GNOME_PKGCONFIG_CHECK_MODULES(GNOME_VFS, gnome-vfs-2.0)
 GNOME_VFS_VERSION=`$PKG_CONFIG --modversion gnome-vfs-2.0`
 AC_SUBST(GNOME_VFS_VERSION)
-AC_SUBST(GNOME_VFS_CFLAGS)
-AC_SUBST(GNOME_VFS_LIBS)
-
-GNOME_PKGCONFIG_CHECK_MODULES(OAF, oaf-2.0)
-AC_SUBST(OAF_CFLAGS)
-AC_SUBST(OAF_LIBS)
-
-GNOME_PKGCONFIG_CHECK_MODULES(LIBXML, libxml-2.0:2.3.1)
-AC_SUBST(LIBXML_CFLAGS)
-AC_SUBST(LIBXML_LIBS)
 
-GNOME_PKGCONFIG_CHECK_MODULES(LIBBONOBO, libbonobo-2.0:1.96.0)
-AC_SUBST(LIBBONOBO_CFLAGS)
-AC_SUBST(LIBBONOBO_LIBS)
+AC_PATH_PROG(ORBIT_IDL, orbit-idl, no)
+AC_SUBST(ORBIT_IDL)
 
 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/]))
 
-dnl
-dnl Deprecated stuff
-dnl
-AC_ARG_ENABLE(deprecated, [  --disable-deprecated    Disable deprecated stuff in header files],[enable_deprecated="$enableval"],[enable_deprecated=no])
-if test x$enable_deprecated != xyes ; then
-  AC_DEFINE(GNOME_EXCLUDE_DEPRECATED_SOURCE)
-  AC_DEFINE(GNOME_EXCLUDE_DEPRECATED)
-fi
-AM_CONDITIONAL(EXCLUDE_DEPRECATED, test x$enable_deprecated != xyes)
-
 dnl This is installed from GTK+ 2.0's gdk-pixbuf
 AC_PATH_PROG(MAKE_INLINE_PIXBUF, make-inline-pixbuf)
 test -z "$MAKE_INLINE_PIXBUF" && AC_MSG_ERROR([
diff --git a/libgnome/Makefile.am b/libgnome/Makefile.am
index 06ba1c7..1d794d3 100644
--- a/libgnome/Makefile.am
+++ b/libgnome/Makefile.am
@@ -21,12 +21,7 @@ INCLUDES = \
 	-I..					\
 	-I$(srcdir)/..				\
 	$(WARN_CFLAGS)				\
-	$(GLIB_CFLAGS)				\
-	$(LIBGNOMESUPPORT_CFLAGS)		\
-	$(LIBBONOBO_CFLAGS)			\
-	$(OAF_CFLAGS)				\
-	$(LIBXML_CFLAGS)			\
-	$(GNOME_VFS_CFLAGS)			\
+	$(LIBGNOME_CFLAGS)			\
 	-DLIBGNOME_PREFIX=\""$(prefix)"\"		\
 	-DLIBGNOME_LIBDIR=\""$(libdir)"\"		\
 	-DLIBGNOME_DATADIR=\""$(datadir)"\"		\
@@ -179,12 +174,7 @@ BUILT_SOURCES = \
 
 libgnome_2_la_LDFLAGS = -version-info $(LIB_VERSION)
 libgnome_2_la_LIBADD =		\
-	$(LIBGNOMESUPPORT_LIBS)	\
-	$(OAF_LIBS)		\
-	$(LIBXML_LIBS)		\
-	$(GNOME_VFS_LIBS)	\
-	$(LIBBONOBO_LIBS)	\
-	$(GLIB_LIBS)
+	$(LIBGNOME_LIBS)
 
 noinst_PROGRAMS = \
 	test-libgnome



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