From: Matthias Clasen Date: Tue, 26 Jul 2005 19:37:34 +0000 (+0000) Subject: Try -mt as compiler flag for threads, needed for the HP C compiler on X-Git-Tag: GLIB_2_7_5~17 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ab033c6d1bccdce1cbe812ef1cfb2f42ccb9d04d;p=platform%2Fupstream%2Fglib.git 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) --- diff --git a/ChangeLog b/ChangeLog index d9f8331..3bdf610 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 d9f8331..3bdf610 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 d9f8331..3bdf610 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 d9f8331..3bdf610 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 0a589c7..517e29f 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),