mirror of
https://github.com/php/php-src.git
synced 2024-12-12 11:23:53 +08:00
25 lines
370 B
Plaintext
25 lines
370 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
|
|
AC_PROG_CC_C_O
|
|
AC_PROG_RANLIB
|
|
|
|
AC_CHECK_LIB(pthread, pthread_create, [
|
|
AC_DEFINE(PTHREADS)
|
|
LIBS="$LIBS -lpthread"
|
|
],[
|
|
AC_MSG_ERROR(You need pthreads to build TSRM.)
|
|
])
|
|
|
|
AC_CHECK_HEADERS(stdarg.h)
|
|
|
|
AC_OUTPUT(Makefile)
|
|
|