mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
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>.
This commit is contained in:
parent
9d71cc7f50
commit
c65e5aab74
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
21
configure.in
21
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'
|
||||
|
Loading…
Reference in New Issue
Block a user