summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog8
-rw-r--r--ChangeLog.pre-2-08
-rw-r--r--ChangeLog.pre-2-108
-rw-r--r--ChangeLog.pre-2-128
-rw-r--r--ChangeLog.pre-2-28
-rw-r--r--ChangeLog.pre-2-48
-rw-r--r--ChangeLog.pre-2-68
-rw-r--r--ChangeLog.pre-2-88
-rw-r--r--configure.in21
9 files changed, 70 insertions, 15 deletions
diff --git a/ChangeLog b/ChangeLog
index a1a048143..e851c3fcf 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+1999-01-28 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
+
+ * configure.in: Simplified configure.in test for posix threads,
+ systems, that provide /usr/include/pthread.h should also have the
+ posix thread library. This is to avoid writing down all the tests
+ twice. New test for thread system on HPUX 11. Info from Matt
+ Nottingham <matt@sar.dera.gov.uk>.
+
Wed Jan 27 20:39:49 PST 1999 Manish Singh <yosh@gimp.org>
* acinclude.m4: Xsed isn't valid here, don't use it
diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0
index a1a048143..e851c3fcf 100644
--- a/ChangeLog.pre-2-0
+++ b/ChangeLog.pre-2-0
@@ -1,3 +1,11 @@
+1999-01-28 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
+
+ * configure.in: Simplified configure.in test for posix threads,
+ systems, that provide /usr/include/pthread.h should also have the
+ posix thread library. This is to avoid writing down all the tests
+ twice. New test for thread system on HPUX 11. Info from Matt
+ Nottingham <matt@sar.dera.gov.uk>.
+
Wed Jan 27 20:39:49 PST 1999 Manish Singh <yosh@gimp.org>
* acinclude.m4: Xsed isn't valid here, don't use it
diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10
index a1a048143..e851c3fcf 100644
--- a/ChangeLog.pre-2-10
+++ b/ChangeLog.pre-2-10
@@ -1,3 +1,11 @@
+1999-01-28 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
+
+ * configure.in: Simplified configure.in test for posix threads,
+ systems, that provide /usr/include/pthread.h should also have the
+ posix thread library. This is to avoid writing down all the tests
+ twice. New test for thread system on HPUX 11. Info from Matt
+ Nottingham <matt@sar.dera.gov.uk>.
+
Wed Jan 27 20:39:49 PST 1999 Manish Singh <yosh@gimp.org>
* acinclude.m4: Xsed isn't valid here, don't use it
diff --git a/ChangeLog.pre-2-12 b/ChangeLog.pre-2-12
index a1a048143..e851c3fcf 100644
--- a/ChangeLog.pre-2-12
+++ b/ChangeLog.pre-2-12
@@ -1,3 +1,11 @@
+1999-01-28 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
+
+ * configure.in: Simplified configure.in test for posix threads,
+ systems, that provide /usr/include/pthread.h should also have the
+ posix thread library. This is to avoid writing down all the tests
+ twice. New test for thread system on HPUX 11. Info from Matt
+ Nottingham <matt@sar.dera.gov.uk>.
+
Wed Jan 27 20:39:49 PST 1999 Manish Singh <yosh@gimp.org>
* acinclude.m4: Xsed isn't valid here, don't use it
diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2
index a1a048143..e851c3fcf 100644
--- a/ChangeLog.pre-2-2
+++ b/ChangeLog.pre-2-2
@@ -1,3 +1,11 @@
+1999-01-28 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
+
+ * configure.in: Simplified configure.in test for posix threads,
+ systems, that provide /usr/include/pthread.h should also have the
+ posix thread library. This is to avoid writing down all the tests
+ twice. New test for thread system on HPUX 11. Info from Matt
+ Nottingham <matt@sar.dera.gov.uk>.
+
Wed Jan 27 20:39:49 PST 1999 Manish Singh <yosh@gimp.org>
* acinclude.m4: Xsed isn't valid here, don't use it
diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4
index a1a048143..e851c3fcf 100644
--- a/ChangeLog.pre-2-4
+++ b/ChangeLog.pre-2-4
@@ -1,3 +1,11 @@
+1999-01-28 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
+
+ * configure.in: Simplified configure.in test for posix threads,
+ systems, that provide /usr/include/pthread.h should also have the
+ posix thread library. This is to avoid writing down all the tests
+ twice. New test for thread system on HPUX 11. Info from Matt
+ Nottingham <matt@sar.dera.gov.uk>.
+
Wed Jan 27 20:39:49 PST 1999 Manish Singh <yosh@gimp.org>
* acinclude.m4: Xsed isn't valid here, don't use it
diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6
index a1a048143..e851c3fcf 100644
--- a/ChangeLog.pre-2-6
+++ b/ChangeLog.pre-2-6
@@ -1,3 +1,11 @@
+1999-01-28 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
+
+ * configure.in: Simplified configure.in test for posix threads,
+ systems, that provide /usr/include/pthread.h should also have the
+ posix thread library. This is to avoid writing down all the tests
+ twice. New test for thread system on HPUX 11. Info from Matt
+ Nottingham <matt@sar.dera.gov.uk>.
+
Wed Jan 27 20:39:49 PST 1999 Manish Singh <yosh@gimp.org>
* acinclude.m4: Xsed isn't valid here, don't use it
diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8
index a1a048143..e851c3fcf 100644
--- a/ChangeLog.pre-2-8
+++ b/ChangeLog.pre-2-8
@@ -1,3 +1,11 @@
+1999-01-28 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
+
+ * configure.in: Simplified configure.in test for posix threads,
+ systems, that provide /usr/include/pthread.h should also have the
+ posix thread library. This is to avoid writing down all the tests
+ twice. New test for thread system on HPUX 11. Info from Matt
+ Nottingham <matt@sar.dera.gov.uk>.
+
Wed Jan 27 20:39:49 PST 1999 Manish Singh <yosh@gimp.org>
* acinclude.m4: Xsed isn't valid here, don't use it
diff --git a/configure.in b/configure.in
index 3669aa829..4a8887bcb 100644
--- a/configure.in
+++ b/configure.in
@@ -594,21 +594,7 @@ if test "x$want_threads" = xyes || test "x$want_threads" = xsolaris; then
fi
if test "x$want_threads" = xyes || test "x$want_threads" = xposix; then
if test "x$have_threads" = xnone; then
- AC_CHECK_LIB(pthread, pthread_attr_init, have_threads=posix)
- fi
- if test "x$have_threads" = xnone; then
- AC_CHECK_LIB(pthreads, pthread_attr_init, have_threads=posix)
- fi
- if test "x$have_threads" = xnone; then
- AC_CHECK_LIB(c_r, pthread_attr_init, have_threads=posix)
- fi
- if test "x$have_threads" = xnone; then
- AC_CHECK_FUNC(pthread_attr_init, have_threads=posix)
- fi
- dnl ********** DG/UX ************
- if test "x$have_threads" = xnone; then
- AC_CHECK_LIB(thread, __d10_pthread_attr_init,
- have_threads=posix)
+ AC_CHECK_HEADER(pthread.h, have_threads=posix)
fi
fi
if test "x$want_threads" = xyes || test "x$want_threads" = xnspr; then
@@ -656,6 +642,11 @@ case $have_threads in
G_THREAD_LIBS="-lthread"
G_THREAD_CFLAGS="-D_POSIX4A_DRAFT10_SOURCE")
fi
+ dnl ********* HPUX 11 ***********
+ if test "x$G_THREAD_LIBS" = xerror; then
+ AC_CHECK_LIB(thread, __pthread_attr_init_system,
+ G_THREAD_LIBS="-lpthread")
+ fi
mutex_has_default=yes
mutex_default_type='pthread_mutex_t'
mutex_default_init='PTHREAD_MUTEX_INITIALIZER'