[glibmm] Set GTHREAD_LIBS to the full --libs value again



commit 2fce1bc36a9b911c2fcfcd6b6f20f266f50d5a8b
Author: Daniel Elstner <daniel kitta gmail com>
Date:   Sun Aug 16 19:13:00 2009 +0200

    Set GTHREAD_LIBS to the full --libs value again
    
    * configure.ac (GTHREAD_LIBS): Go back to pkg-config --libs
    to retrieve the linker flags to use with threaded programs.
    For some reason --libs-only-other does not include -pthread.

 ChangeLog    |    8 ++++++++
 configure.ac |    5 +++--
 2 files changed, 11 insertions(+), 2 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index da8383a..4a1bf32 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
 2009-08-16  Daniel Elstner  <daniel kitta gmail com>
 
+	Set GTHREAD_LIBS to the full --libs value again
+
+	* configure.ac (GTHREAD_LIBS): Go back to pkg-config --libs
+	to retrieve the linker flags to use with threaded programs.
+	For some reason --libs-only-other does not include -pthread.
+
+2009-08-16  Daniel Elstner  <daniel kitta gmail com>
+
 	Get rid of all uses of GLIBMM_USING_STD()
 
 	* glib/src/*.{ccg,hg}: Remove all uses of GLIBMM_USING_STD().
diff --git a/configure.ac b/configure.ac
index 0a1315a..d85c65c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -62,11 +62,12 @@ PKG_CHECK_MODULES([GLIBMM], [$GLIBMM_MODULES])
 PKG_CHECK_MODULES([GIOMM],  [$GIOMM_MODULES])
 
 MM_PKG_CONFIG_SUBST([GTHREAD_CFLAGS], [--cflags-only-other gthread-2.0])
-MM_PKG_CONFIG_SUBST([GTHREAD_LIBS], [--libs-only-other --libs-only-l gthread-2.0])
+MM_PKG_CONFIG_SUBST([GTHREAD_LIBS], [--libs gthread-2.0])
 
 AC_CHECK_PROGS([M4], [gm4 m4], [m4])
 
-# Check for the SUN Forte compiler, and define GLIBMM_COMPILER_SUN_FORTE in the header.
+# Check for the SUN Forte compiler, and define GLIBMM_COMPILER_SUN_FORTE
+# in the header.
 GLIBMM_PROG_CXX_SUN
 
 AC_CHECK_FUNCS([flockfile funlockfile getc_unlocked mkfifo])



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]