From ab033c6d1bccdce1cbe812ef1cfb2f42ccb9d04d Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 26 Jul 2005 19:37:34 +0000 Subject: [PATCH] Try -mt as compiler flag for threads, needed for the HP C compiler on 2005-07-26 Matthias Clasen * configure.in: Try -mt as compiler flag for threads, needed for the HP C compiler on HP-UX. (#163051, Paul Cornett) --- ChangeLog | 3 +++ ChangeLog.pre-2-10 | 3 +++ ChangeLog.pre-2-12 | 3 +++ ChangeLog.pre-2-8 | 3 +++ configure.in | 2 +- 5 files changed, 13 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index d9f83312f..3bdf61049 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2005-07-26 Matthias Clasen + * configure.in: Try -mt as compiler flag for threads, needed + for the HP C compiler on HP-UX. (#163051, Paul Cornett) + * glib/ghash.c (g_hash_table_foreach): Fix a typo in the docs. (#311569, Ross Burton) diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index d9f83312f..3bdf61049 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,5 +1,8 @@ 2005-07-26 Matthias Clasen + * configure.in: Try -mt as compiler flag for threads, needed + for the HP C compiler on HP-UX. (#163051, Paul Cornett) + * glib/ghash.c (g_hash_table_foreach): Fix a typo in the docs. (#311569, Ross Burton) diff --git a/ChangeLog.pre-2-12 b/ChangeLog.pre-2-12 index d9f83312f..3bdf61049 100644 --- a/ChangeLog.pre-2-12 +++ b/ChangeLog.pre-2-12 @@ -1,5 +1,8 @@ 2005-07-26 Matthias Clasen + * configure.in: Try -mt as compiler flag for threads, needed + for the HP C compiler on HP-UX. (#163051, Paul Cornett) + * glib/ghash.c (g_hash_table_foreach): Fix a typo in the docs. (#311569, Ross Burton) diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index d9f83312f..3bdf61049 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,5 +1,8 @@ 2005-07-26 Matthias Clasen + * configure.in: Try -mt as compiler flag for threads, needed + for the HP C compiler on HP-UX. (#163051, Paul Cornett) + * glib/ghash.c (g_hash_table_foreach): Fix a typo in the docs. (#311569, Ross Burton) diff --git a/configure.in b/configure.in index 0a589c714..517e29f63 100644 --- a/configure.in +++ b/configure.in @@ -1480,7 +1480,7 @@ if test x"$have_threads" != xno; then # skip cygwin -pthread or -pthreads test ;; *) - for flag in pthread pthreads; do + for flag in pthread pthreads mt; do glib_save_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -$flag" AC_TRY_RUN(glib_thread_test(0),