Try -mt as compiler flag for threads, needed for the HP C compiler on
authorMatthias Clasen <mclasen@redhat.com>
Tue, 26 Jul 2005 19:37:34 +0000 (19:37 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Tue, 26 Jul 2005 19:37:34 +0000 (19:37 +0000)
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)

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-8
configure.in

index d9f8331..3bdf610 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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)
 
index d9f8331..3bdf610 100644 (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)
 
index d9f8331..3bdf610 100644 (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)
 
index d9f8331..3bdf610 100644 (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)
 
index 0a589c7..517e29f 100644 (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),