diff options
author | Eike Rathke <erack@redhat.com> | 2012-06-15 13:10:12 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2012-06-15 13:10:12 +0200 |
commit | d0b706ed2a418c213148fe8f3b14250a168779b1 (patch) | |
tree | 28bd5a9d3456d0e11689aa38779934034521e66c /configure.in | |
parent | Make sure homeDirectory exists (diff) | |
download | core-d0b706ed2a418c213148fe8f3b14250a168779b1.tar.gz core-d0b706ed2a418c213148fe8f3b14250a168779b1.zip |
pkg-config glib
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/configure.in b/configure.in index c496eacf4265..8edae7cadf4e 100644 --- a/configure.in +++ b/configure.in @@ -10792,6 +10792,18 @@ else fi AC_SUBST(SYSTEM_GLIB) +dnl Get system's glib flags and libs. +dnl The i18npool LanguageTag wrapper uses it for liblangtag. + +GLIB_CFLAGS='' +GLIB_LIBS='' +if test "$SYSTEM_GLIB" = YES; then + PKG_CHECK_MODULES( GLIB, glib-2.0 ) +fi +AC_SUBST(GLIB_CFLAGS) +AC_SUBST(GLIB_LIBS) + + dnl =================================================================== dnl Test whether to build gettext runtime (libintl) or rely on the dnl system version |