Try -mt as compiler flag for threads, needed for the HP C compiler on

2005-07-26  Matthias Clasen  <mclasen@redhat.com>

	* configure.in: Try -mt as compiler flag for threads, needed
	for the HP C compiler on HP-UX.  (#163051, Paul Cornett)
This commit is contained in:
Matthias Clasen 2005-07-26 19:37:34 +00:00 committed by Matthias Clasen
parent 27096aedb5
commit ab033c6d1b
5 changed files with 13 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2005-07-26 Matthias Clasen <mclasen@redhat.com>
* 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)

View File

@ -1,5 +1,8 @@
2005-07-26 Matthias Clasen <mclasen@redhat.com>
* 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)

View File

@ -1,5 +1,8 @@
2005-07-26 Matthias Clasen <mclasen@redhat.com>
* 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)

View File

@ -1,5 +1,8 @@
2005-07-26 Matthias Clasen <mclasen@redhat.com>
* 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)

View File

@ -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),