TS-3823 Fix tests for -lpthread since the previous commit breaks on FreeBSD
Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/fe64607f Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/fe64607f Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/fe64607f Branch: refs/heads/6.0.x Commit: fe64607f236ca8bb4a0911eb8ad1d5c17ba90b81 Parents: b4dea28 Author: Leif Hedstrom <zw...@apache.org> Authored: Wed Aug 5 16:46:48 2015 -0600 Committer: Leif Hedstrom <zw...@apache.org> Committed: Wed Aug 5 16:46:48 2015 -0600 ---------------------------------------------------------------------- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/trafficserver/blob/fe64607f/configure.ac ---------------------------------------------------------------------- diff --git a/configure.ac b/configure.ac index 22d6464..7f811e0 100644 --- a/configure.ac +++ b/configure.ac @@ -1061,9 +1061,9 @@ dnl We check for dlsym here instead of e.g. dlopen() because ASAN hijacks the la AC_SEARCH_LIBS([dlsym], [dl], [], []) dnl Linux has pthread symbol stubss in both libc and libpthread, so it's important to test -dnl specifically for pthread_kill() here. In addition, ASAN hijacks pthread_create() so +dnl specifically for pthread_yield() here. In addition, ASAN hijacks pthread_create() so dnl we can't use that anymore. -AC_SEARCH_LIBS([pthread_kill], [pthread], [], []) +AC_SEARCH_LIBS([pthread_yield], [pthread], [], []) dnl XXX The following check incorrectly causes the build to succeed dnl on Darwin. We should be using AC_SEARCH_LIBS, but rest_init is