From b2c09c27f3e5dbaa3b43a654593151214e81d118 Mon Sep 17 00:00:00 2001 From: Stefan Kost Date: Wed, 14 Feb 2007 21:54:09 +0000 Subject: [PATCH] reviewed by: Matthias Clasen * configure.in: determine installation prefixes of dependent libs to crossreference docs (#407146). svn path=/trunk/; revision=17294 --- ChangeLog | 7 +++++++ configure.in | 9 +++++++++ 2 files changed, 16 insertions(+) diff --git a/ChangeLog b/ChangeLog index 3cb18e9a1e..55eca2a029 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2007-02-14 Stefan Kost + + reviewed by: Matthias Clasen + + * configure.in: determine installation prefixes of dependent libs to + crossreference docs (#407146). + 2007-02-14 Kristian Rietveld * gtk/gtktooltip.c (child_location_foreach): check return value diff --git a/configure.in b/configure.in index d57fe21bff..dd3d1d2846 100644 --- a/configure.in +++ b/configure.in @@ -1472,12 +1472,21 @@ if test x"$os_win32" = xyes; then GTK_EXTRA_CFLAGS="$msnative_struct" fi +GLIB_PREFIX="`$PKG_CONFIG --variable=prefix glib-2.0`" +ATK_PREFIX="`$PKG_CONFIG --variable=prefix atk`" +PANGO_PREFIX="`$PKG_CONFIG --variable=prefix pango`" +CAIRO_PREFIX="`pkg-config --variable=prefix cairo`" + AC_SUBST(GTK_PACKAGES) AC_SUBST(GTK_EXTRA_LIBS) AC_SUBST(GTK_EXTRA_CFLAGS) AC_SUBST(GTK_DEP_LIBS) AC_SUBST(GTK_DEP_CFLAGS) +AC_SUBST(GLIB_PREFIX) +AC_SUBST(ATK_PREFIX) +AC_SUBST(PANGO_PREFIX) +AC_SUBST(CAIRO_PREFIX) AC_SUBST(GTK_DEBUG_FLAGS) AC_SUBST(GTK_XIM_FLAGS)