Commit c65e5aab authored by Sebastian Wilhelmi's avatar Sebastian Wilhelmi Committed by Sebastian Wilhelmi

Simplified configure.in test for posix threads, systems, that provide

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>.
parent 9d71cc7f
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
......
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
......
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
......
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
......
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
......
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
......
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
......
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
......
......@@ -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'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment