summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2004-12-14 14:12:55 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2004-12-14 14:12:55 +0000
commitf4f33d2f0f99db5d766739bd0a970c6a571d9253 (patch)
tree114ee98f8c5d5f43e61ab6f2fe1d9ef865c15055 /configure.in
parent3c3fa7f42661c7f26493ae1a05f819d2cdf64d33 (diff)
downloadpango-f4f33d2f0f99db5d766739bd0a970c6a571d9253.tar.gz
Require gmodule-no-export
2004-12-14 Matthias Clasen <mclasen@redhat.com> * pango.pc.in: Require gmodule-no-export * configure.in: Use gmodule-no-export-2.0.pc, require glib 2.5.7
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in23
1 files changed, 3 insertions, 20 deletions
diff --git a/configure.in b/configure.in
index 2756140d..5f2ba3ed 100644
--- a/configure.in
+++ b/configure.in
@@ -281,36 +281,19 @@ fi
#
# Checks for GLib
#
-GLIB_REQUIRED_VERSION=2.4.0
+GLIB_REQUIRED_VERSION=2.5.7
AM_PATH_GLIB_2_0($GLIB_REQUIRED_VERSION, :,
AC_MSG_ERROR([
*** Glib $GLIB_REQUIRED_VERSION or better is required. The latest version of
*** Glib is always available from ftp://ftp.gtk.org/.]),
- gobject gmodule)
+ gobject gmodule-no-export)
-GLIB_CFLAGS=`$PKG_CONFIG --cflags gmodule-2.0 gthread-2.0`
+GLIB_CFLAGS=`$PKG_CONFIG --cflags gmodule-no-export-2.0 gthread-2.0`
AC_SUBST(GLIB_LIBS)
AC_SUBST(GLIB_CFLAGS)
-################################################################
-# Strip -export-dynamic from the link line
-################################################################
-
-#
-# pkg-config --libs gmodule includes the "export_dynamic" flag,
-# but this flag is only meaningful for executables. For libraries
-# the effect is undefined; what it causes on Linux is that the
-# export list from -export-symbols-regex is ignored and everything
-# is exported
-#
-export_dynamic=`(./libtool --config; echo eval echo \\$export_dynamic_flag_spec) | sh`
-if test -n "$export_dynamic"; then
- GLIB_LIBS=`echo $GLIB_LIBS | sed -e "s/$export_dynamic//"`
-fi
-
-
#
# The OpenType test programs aren't particularly portable
#