Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 288833 | Differences between
and this patch

Collapse All | Expand All

(-)memcached-1.4.2.orig/configure.ac (-6 / +8 lines)
Lines 101-106 Link Here
101
AC_SUBST(DTRACEFLAGS)
101
AC_SUBST(DTRACEFLAGS)
102
AC_SUBST(PROFILER_LDFLAGS)
102
AC_SUBST(PROFILER_LDFLAGS)
103
103
104
dnl Check whether the user's system supports pthread before adding -pthread to CFLAGS
105
dnl otherwise we won't get -l{threads} in LIBS
106
dnl AFAIK -pthread should be added to LDFLAGS on BSD systems
107
AC_SEARCH_LIBS(pthread_create, [pthread pthreads thread threads] )
108
if test "x$ac_cv_search_pthread_create" == "xno"; then
109
  AC_MSG_ERROR([Can't enable threads without the POSIX thread library.])
110
fi
111
104
AC_ARG_ENABLE(coverage,
112
AC_ARG_ENABLE(coverage,
105
  [AS_HELP_STRING([--disable-coverage],[Disable code coverage])])
113
  [AS_HELP_STRING([--disable-coverage],[Disable code coverage])])
106
114
Lines 306-317 Link Here
306
314
307
AC_C_HTONLL
315
AC_C_HTONLL
308
316
309
dnl Check whether the user's system supports pthread
310
AC_SEARCH_LIBS(pthread_create, pthread)
311
if test "x$ac_cv_search_pthread_create" == "xno"; then
312
  AC_MSG_ERROR([Can't enable threads without the POSIX thread library.])
313
fi
314
315
AC_CHECK_FUNCS(mlockall)
317
AC_CHECK_FUNCS(mlockall)
316
AC_CHECK_FUNCS(getpagesizes)
318
AC_CHECK_FUNCS(getpagesizes)
317
AC_CHECK_FUNCS(memcntl)
319
AC_CHECK_FUNCS(memcntl)

Return to bug 288833