Changeset 702
- Timestamp:
- 02/18/08 10:10:17 (9 months ago)
- Files:
-
- trunk/server/configure.ac (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/server/configure.ac
r668 r702 165 165 if test "x$ac_cv_search_pthread_create" != "xno"; then 166 166 AC_DEFINE([USE_THREADS],,[Define this if you want to use pthreads]) 167 dnl Sun compilers need the -mt flag! 168 AC_RUN_IFELSE( 169 [AC_LANG_PROGRAM([], [dnl 170 #ifdef __SUNPRO_C 171 return 0; 172 #else 173 return 1; 174 #endif 175 ]) 176 ],[ 177 CFLAGS="-mt $CFLAGS" 178 ]) 167 179 else 168 180 AC_MSG_ERROR([Can't enable threads without the POSIX thread library.])
