configure.in buglet in CVS glib 1.3.1
- From: Valdis Kletnieks vt edu
- To: gtk-list redhat com
- Subject: configure.in buglet in CVS glib 1.3.1
- Date: Fri, 03 Mar 2000 02:17:01 -0500
AIX 4.3.3 pthread.h prototypes 'pthread_attr_init' as follows:
extern int
pthread_attr_init __((pthread_attr_t *));
The attached patch allows configure to find Posix pthreads. I added
a similar check for DCE threads just in case. The patch should be
harmless on other machines.
(Did I do this patch before, or was that against a 1.2.X glib, or some
other package? I'm having severe deja vu on this...)
Valdis Kletnieks
Operating Systems Analyst
Virginia Tech
*** configure.in.dist Fri Feb 18 22:58:25 2000
--- configure.in Fri Mar 3 02:07:32 2000
***************
*** 687,698 ****
glib_save_CPPFLAGS="$CPPFLAGS"
CPPFLAGS="$CPPFLAGS $GTHREAD_COMPILE_IMPL_DEFINES"
if test "x$have_threads" = xnone; then
! AC_EGREP_HEADER([[^a-zA-Z_]pthread_attr_init[^a-zA-Z_]],
pthread.h,
have_threads=posix)
fi
if test "x$have_threads" = xnone; then
! AC_EGREP_HEADER([[^a-zA-Z_]pthread_attr_create[^a-zA-Z_]],
pthread.h,
have_threads=dce)
fi
--- 687,698 ----
glib_save_CPPFLAGS="$CPPFLAGS"
CPPFLAGS="$CPPFLAGS $GTHREAD_COMPILE_IMPL_DEFINES"
if test "x$have_threads" = xnone; then
! AC_EGREP_HEADER([[^a-zA-Z_]*pthread_attr_init[^a-zA-Z_]],
pthread.h,
have_threads=posix)
fi
if test "x$have_threads" = xnone; then
! AC_EGREP_HEADER([[^a-zA-Z_]*pthread_attr_create[^a-zA-Z_]],
pthread.h,
have_threads=dce)
fi
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]