diff options
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.in b/configure.in index d85fa8bff..799e6c6cd 100644 --- a/configure.in +++ b/configure.in @@ -288,7 +288,7 @@ AC_TRY_COMPILE([#include <dirent.h>], [DIR *dir;], # Run AM_PATH_GLIB_2_0 to make sure that GLib is installed and working # -GLIB_PACKAGES="gobject-2.0 gmodule-2.0 gthread-2.0" +GLIB_PACKAGES="gobject-2.0 gmodule-2.0" GLIB_REQUIRED_VERSION=1.3.2 AM_PATH_GLIB_2_0($GLIB_REQUIRED_VERSION, :, @@ -297,6 +297,8 @@ AM_PATH_GLIB_2_0($GLIB_REQUIRED_VERSION, :, *** GLIB is always available from ftp://ftp.gtk.org/.]), gobject gmodule gthread) +dnl Call pkg-config again since we don't want -lgthread here +GLIB_LIBS=`$PKG_CONFIG --libs $GLIB_PACKAGES` GLIB_DEPLIBS=$GLIB_LIBS CFLAGS="$CFLAGS $GLIB_CFLAGS" |