Test for gmodule inclusion in all cases
authorAlexandre Montplaisir <alexandre.montplaisir@gmail.com>
Wed, 8 Feb 2012 23:19:12 +0000 (18:19 -0500)
committerYannick Brosseau <yannick.brosseau@gmail.com>
Sat, 11 Feb 2012 03:04:40 +0000 (22:04 -0500)
On recent glib versions, it seems gmodule needs to be included
separately from glib/gtk, or it leads to compilation errors,
e.g. undefined reference to `g_module_close'

Signed-off-by: Mathieu Denis <mathieu.denis55@gmail.com>
Signed-off by: Yannick Brosseau <yannick.brosseau@gmail.com>
Signed-off-by: Alexandre Montplaisir <alexandre.montplaisir@gmail.com>
Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
configure.ac

index e5c110cc2dcb3aecb9c777475261e3ef7f1dc002..58af406b18467bfcb618cc4d32a46fd3e06367bf 100644 (file)
@@ -114,13 +114,11 @@ AM_CONDITIONAL([BUILD_JNI_INTERFACE], [ test "$with_jni_interface" = "yes" ] )
 AS_IF([test "x$with_lttv_gui" = "xyes"],[
        pkg_modules="gtk+-2.0 >= 2.0.0"
        PKG_CHECK_MODULES(PACKAGE, [$pkg_modules])
-],[
-       # Else, we still have a dependency on gmodule
-       # We will add flags for gmodule alone
-       pkg_modules="gmodule-2.0 >= 2.0.0"
-       PKG_CHECK_MODULES(GMODULE, [$pkg_modules])
 ])
 
+pkg_modules="gmodule-2.0 >= 2.0.0"
+PKG_CHECK_MODULES(GMODULE, [$pkg_modules])
+
 pkg_modules="gobject-2.0 >= 2.0.0"
 PKG_CHECK_MODULES(GOBJECT, [$pkg_modules])
 
This page took 0.023486 seconds and 4 git commands to generate.