Changeset 668
- Timestamp:
- 12/08/07 04:16:24 (1 year ago)
- Files:
-
- trunk/server/configure.ac (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/server/configure.ac
r623 r668 96 96 AC_SEARCH_LIBS(gethostbyname, nsl) 97 97 AC_SEARCH_LIBS(mallinfo, malloc) 98 AC_SEARCH_LIBS(pthread_create, pthread)99 98 100 99 AC_CHECK_FUNC(daemon,AC_DEFINE([HAVE_DAEMON],,[Define this if you have daemon()]),[AC_LIBOBJ(daemon)]) … … 161 160 dnl Check whether the user wants threads or not 162 161 AC_ARG_ENABLE(threads, 163 [AS_HELP_STRING([--enable-threads],[support multithreaded execution])], 164 [if test "$ac_cv_search_pthread_create" != "no"; then 162 [AS_HELP_STRING([--enable-threads],[support multithreaded execution])]) 163 if test "x$enable_threads" == "xyes"; then 164 AC_SEARCH_LIBS(pthread_create, pthread) 165 if test "x$ac_cv_search_pthread_create" != "xno"; then 165 166 AC_DEFINE([USE_THREADS],,[Define this if you want to use pthreads]) 166 else167 else 167 168 AC_MSG_ERROR([Can't enable threads without the POSIX thread library.]) 168 fi]) 169 fi 170 fi 169 171 170 172 AC_CHECK_FUNCS(mlockall)
