Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 26 lines (16 sloc) 0.472 kB
91549cf Move config code into separate file
Sascha Schumann authored
1
2 AC_DEFUN(TSRM_BASIC_CHECKS,[
3
4 AC_REQUIRE([AC_PROG_CC])dnl
5 dnl AC_REQUIRE([AM_PROG_CC_STDC])dnl
6 AC_REQUIRE([AC_PROG_CC_C_O])dnl
7 AC_REQUIRE([AC_PROG_RANLIB])dnl
8
9 AC_CHECK_HEADERS(stdarg.h)
10
11 ])
12
13 AC_DEFUN(TSRM_PTHREAD,[
14
15 AC_CHECK_LIB(c_r, pthread_kill)
16 AC_CHECK_LIB(pthread, pthread_kill)
17
18 AC_CHECK_FUNCS(pthread_kill)
19
20 if test "$ac_cv_func_pthread_kill" != "yes"; then
21 AC_MSG_ERROR(You need pthreads to build TSRM.)
22 fi
23
24 AC_DEFINE(PTHREADS, [], Whether to use Pthreads)
25 ])
Something went wrong with that request. Please try again.