1999-04-25 00:14:18 +08:00
|
|
|
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)
|
|
|
|
|
1999-12-17 21:36:15 +08:00
|
|
|
sinclude(tsrm.m4)
|
|
|
|
|
|
|
|
TSRM_BASIC_CHECKS
|
2000-09-02 23:24:18 +08:00
|
|
|
TSRM_THREADS_CHECKS
|
1999-12-17 21:36:15 +08:00
|
|
|
|
1999-10-04 23:21:39 +08:00
|
|
|
AM_PROG_LIBTOOL
|
|
|
|
if test "$enable_debug" != "yes"; then
|
|
|
|
AM_SET_LIBTOOL_VARIABLE([--silent])
|
|
|
|
fi
|
|
|
|
|
2000-09-02 23:11:45 +08:00
|
|
|
dnl TSRM_PTHREAD
|
1999-04-25 07:22:09 +08:00
|
|
|
|
2000-09-04 02:18:13 +08:00
|
|
|
AC_CHECK_HEADERS(
|
|
|
|
utime.h \
|
|
|
|
dirent.h \
|
2000-09-07 23:31:29 +08:00
|
|
|
stdarg.h \
|
|
|
|
alloca.h \
|
|
|
|
unistd.h \
|
|
|
|
limits.h
|
2000-09-04 02:18:13 +08:00
|
|
|
)
|
|
|
|
|
2000-09-01 07:44:10 +08:00
|
|
|
AC_DEFINE(ZTS,1,[ ])
|
|
|
|
|
1999-10-04 23:21:39 +08:00
|
|
|
AC_OUTPUT(Makefile)
|