From 1558f59456ae8abe428c8378910e6a1f26bf9411 Mon Sep 17 00:00:00 2001 From: Marcel Dijkstra Date: Wed, 16 May 2012 04:13:53 +0200 Subject: only depend on gmodule-2.0 if it exists --- configure.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.in b/configure.in index e96d8465..dd2d0b9c 100644 --- a/configure.in +++ b/configure.in @@ -423,8 +423,8 @@ LIBCAJA_EXTENSION_LIBS="`$PKG_CONFIG --libs $LIBCAJA_EXTENSION_MODULES`" AC_SUBST(LIBCAJA_EXTENSION_LIBS) dnl core caja -CORE_MODULES="glib-2.0 gmodule-2.0 mate-desktop-2.0 gthread-2.0 gio-2.0 gio-unix-2.0 -gail mateconf-2.0 libxml-2.0 $EXTRA_CORE_MODULES gtk+-$GTK_API_VERSION" +PKG_CHECK_MODULES(GMODULE, gmodule-2.0, [GMODULE_ADD="gmodule-2.0"],[GMODULE_ADD=""]) +CORE_MODULES="glib-2.0 $GMODULE_ADD mate-desktop-2.0 gthread-2.0 gio-2.0 gio-unix-2.0 gail mateconf-2.0 libxml-2.0 $EXTRA_CORE_MODULES gtk+-$GTK_API_VERSION" CORE_CFLAGS="`$PKG_CONFIG --cflags $CORE_MODULES` $x_cflags" AC_SUBST(CORE_CFLAGS) CORE_LIBS="`$PKG_CONFIG --libs $CORE_MODULES` $x_libs" -- cgit v1.2.1