PERFORCE change 168816 for review

Stanislav Sedov stas at FreeBSD.org
Wed Sep 23 14:15:17 UTC 2009


http://perforce.freebsd.org/chv.cgi?CH=168816

Change 168816 by stas at stas_yandex on 2009/09/23 14:15:03

	- Fix pthread_barrier check.

Affected files ...

.. //depot/projects/valgrind/configure.in#15 edit

Differences ...

==== //depot/projects/valgrind/configure.in#15 (text+ko) ====

@@ -1547,6 +1547,8 @@
 
 AC_CHECK_LIB([rt], [clock_gettime])
 
+safe_CFLAGS=$CFLAGS
+CFLAGS="${CFLAGS} -pthread"
 AC_CHECK_FUNCS([     \
         clock_gettime\
         epoll_create \
@@ -1577,6 +1579,7 @@
         timerfd      \
         utimensat    \
         ])
+CFLAGS=$safe_CFLAGS
 
 # AC_CHECK_LIB adds any library found to the variable LIBS, and links these
 # libraries with any shared object and/or executable. This is NOT what we


More information about the p4-projects mailing list