mirror of
https://github.com/php/php-src.git
synced 2024-12-04 23:34:25 +08:00
34 lines
561 B
Plaintext
34 lines
561 B
Plaintext
dnl $Id$
|
|
dnl
|
|
dnl Minimalistic configure.in for TSRM.
|
|
dnl
|
|
|
|
AC_INIT(TSRM.c)
|
|
AM_INIT_AUTOMAKE(TSRM, 1.0)
|
|
AM_CONFIG_HEADER(tsrm_config.h)
|
|
|
|
AC_PROG_CC
|
|
AM_PROG_CC_STDC
|
|
AC_PROG_CC_C_O
|
|
AC_PROG_RANLIB
|
|
|
|
AM_PROG_LIBTOOL
|
|
if test "$enable_debug" != "yes"; then
|
|
AM_SET_LIBTOOL_VARIABLE([--silent])
|
|
fi
|
|
|
|
AC_CHECK_LIB(c_r, pthread_kill)
|
|
AC_CHECK_LIB(pthread, pthread_kill)
|
|
|
|
AC_CHECK_FUNCS(pthread_kill)
|
|
|
|
if test "$ac_cv_func_pthread_kill" != "yes"; then
|
|
AC_MSG_ERROR(You need pthreads to build TSRM.)
|
|
fi
|
|
|
|
AC_DEFINE(PTHREADS)
|
|
|
|
AC_CHECK_HEADERS(stdarg.h)
|
|
|
|
AC_OUTPUT(Makefile)
|