|
From: Jeroen N. W. [Bahco] <jn...@xs...> - 2009-04-26 10:12:30
|
Forgive me for intruding, but ...
sv...@va... wrote:
> Author: bart
> Date: 2009-04-26 08:11:48 +0100 (Sun, 26 Apr 2009)
> New Revision: 9632
>
> Log:
> Added configure test for pthread_create@GLIBC2.0().
>
> Modified:
> trunk/configure.in
>
>
> Modified: trunk/configure.in
> ===================================================================
> --- trunk/configure.in 2009-04-25 16:25:45 UTC (rev 9631)
> +++ trunk/configure.in 2009-04-26 07:11:48 UTC (rev 9632)
> @@ -883,6 +883,31 @@
> AM_CONDITIONAL([HAVE_ALTIVEC_H], [test x$ac_have_altivec = xyes])
>
>
> +# Check for pthread_create@GLIBC2.0
> +AC_MSG_CHECKING([for pthread_create@GLIBC2.0()])
> +
> +AC_TRY_LINK(
> +[
> +extern int pthread_create_glibc_2_0(void*, const void*,
> + void *(*)(void*), void*);
> +__asm__(".symver pthread_create_glibc_2_0, pthread_create@GLIBC_2.0");
> +], [
> + return &pthread_create_glibc_2_0 != 0;
> +],
> +[
> +ac_have_pthread_create_glibc_2_0=yes
> +AC_MSG_RESULT([yes])
> +AC_DEFINE([HAVE_PTHREAD_CREATE_GLIBC_2_0], 1,
> + [Define to 1 if you have the `pthread_create@glibc2.0'
> function.])
> +], [
> +ac_have_pthread_create_glibc_2_0=no
> +AC_MSG_RESULT([no])
> +])
> +
> +AM_CONDITIONAL(HAVE_PTHREAD_CREATE_GLIBC_2_0,
> + test x$ac_have_pthread_create_glibc_2_0 = yes)
Shouldn't this be
> + test x$ac_have_pthread_create_glibc_2_0 = xyes)
> +
> +
> # Check for eventfd_t, eventfd() and eventfd_read()
> AC_MSG_CHECKING([for eventfd()])
>
>
>
> ------------------------------------------------------------------------------
> Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensign option that enables unlimited
> royalty-free distribution of the report engine for externally facing
> server and web deployment.
> http://p.sf.net/sfu/businessobjects
> _______________________________________________
> Valgrind-developers mailing list
> Val...@li...
> https://lists.sourceforge.net/lists/listinfo/valgrind-developers
>
|
|
From: Bart V. A. <bar...@gm...> - 2009-04-26 11:45:23
|
On Sun, Apr 26, 2009 at 12:12 PM, Jeroen N. Witmond [Bahco] <jn...@xs...> wrote: >> +AM_CONDITIONAL(HAVE_PTHREAD_CREATE_GLIBC_2_0, >> + test x$ac_have_pthread_create_glibc_2_0 = yes) > > Shouldn't this be >> + test x$ac_have_pthread_create_glibc_2_0 = xyes) Hello Jeroen, Well spotted, should be fixed by this time. By the way, the above illustrates that "make distclean && ./autogen.sh && ./configure && make && make check && make regtest" is not enough when testing Valgrind modifications. I had run this sequence, but "make distclean" did not remove the existing file "drd/tests/pth_create_glibc_2_0", just because of the above typo ... Bart. |