From: Sebastian Wilhelmi Date: Fri, 3 Mar 2000 09:36:32 +0000 (+0000) Subject: Make the search for pthread_attr_... prototypes find names at the start of X-Git-Tag: GLIB_1_3_1~88 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ead3a8c0c9ab36e0a09304da270d82f607c156b6;p=platform%2Fupstream%2Fglib.git Make the search for pthread_attr_... prototypes find names at the start of 2000-03-03 Sebastian Wilhelmi * configure.in: Make the search for pthread_attr_... prototypes find names at the start of a line also, like it is on AIX. Thanks to Valdis Kletnieks for the info. --- diff --git a/ChangeLog b/ChangeLog index bbd5d84..cbe73d8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2000-03-03 Sebastian Wilhelmi + + * configure.in: Make the search for pthread_attr_... prototypes + find names at the start of a line also, like it is on AIX. Thanks + to Valdis Kletnieks for the info. + Wed Mar 1 10:39:39 2000 Tim Janik * gslist.c (g_slist_reverse): minor optimization. diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 index bbd5d84..cbe73d8 100644 --- a/ChangeLog.pre-2-0 +++ b/ChangeLog.pre-2-0 @@ -1,3 +1,9 @@ +2000-03-03 Sebastian Wilhelmi + + * configure.in: Make the search for pthread_attr_... prototypes + find names at the start of a line also, like it is on AIX. Thanks + to Valdis Kletnieks for the info. + Wed Mar 1 10:39:39 2000 Tim Janik * gslist.c (g_slist_reverse): minor optimization. diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index bbd5d84..cbe73d8 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,9 @@ +2000-03-03 Sebastian Wilhelmi + + * configure.in: Make the search for pthread_attr_... prototypes + find names at the start of a line also, like it is on AIX. Thanks + to Valdis Kletnieks for the info. + Wed Mar 1 10:39:39 2000 Tim Janik * gslist.c (g_slist_reverse): minor optimization. diff --git a/ChangeLog.pre-2-12 b/ChangeLog.pre-2-12 index bbd5d84..cbe73d8 100644 --- a/ChangeLog.pre-2-12 +++ b/ChangeLog.pre-2-12 @@ -1,3 +1,9 @@ +2000-03-03 Sebastian Wilhelmi + + * configure.in: Make the search for pthread_attr_... prototypes + find names at the start of a line also, like it is on AIX. Thanks + to Valdis Kletnieks for the info. + Wed Mar 1 10:39:39 2000 Tim Janik * gslist.c (g_slist_reverse): minor optimization. diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index bbd5d84..cbe73d8 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,9 @@ +2000-03-03 Sebastian Wilhelmi + + * configure.in: Make the search for pthread_attr_... prototypes + find names at the start of a line also, like it is on AIX. Thanks + to Valdis Kletnieks for the info. + Wed Mar 1 10:39:39 2000 Tim Janik * gslist.c (g_slist_reverse): minor optimization. diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index bbd5d84..cbe73d8 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,9 @@ +2000-03-03 Sebastian Wilhelmi + + * configure.in: Make the search for pthread_attr_... prototypes + find names at the start of a line also, like it is on AIX. Thanks + to Valdis Kletnieks for the info. + Wed Mar 1 10:39:39 2000 Tim Janik * gslist.c (g_slist_reverse): minor optimization. diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index bbd5d84..cbe73d8 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,9 @@ +2000-03-03 Sebastian Wilhelmi + + * configure.in: Make the search for pthread_attr_... prototypes + find names at the start of a line also, like it is on AIX. Thanks + to Valdis Kletnieks for the info. + Wed Mar 1 10:39:39 2000 Tim Janik * gslist.c (g_slist_reverse): minor optimization. diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index bbd5d84..cbe73d8 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,9 @@ +2000-03-03 Sebastian Wilhelmi + + * configure.in: Make the search for pthread_attr_... prototypes + find names at the start of a line also, like it is on AIX. Thanks + to Valdis Kletnieks for the info. + Wed Mar 1 10:39:39 2000 Tim Janik * gslist.c (g_slist_reverse): minor optimization. diff --git a/configure.in b/configure.in index 70ff7aa..1198338 100644 --- a/configure.in +++ b/configure.in @@ -687,12 +687,12 @@ if test "x$want_threads" = xyes || test "x$want_threads" = xposix \ 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_]], + 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_]], + AC_EGREP_HEADER([^(|.*[^a-zA-Z_])pthread_attr_create[^a-zA-Z_]], pthread.h, have_threads=dce) fi