1 dnl Process this file with autoconf to produce a configure script.
3 AC_CONFIG_AUX_DIR(../../config)
4 AM_INIT_AUTOMAKE(sidcomp,0.1)
5 AM_CONFIG_HEADER(config.h:config.in)
20 dnl No need to check for these any more: they are always included
21 dnl AC_CHECK_LIB(ltdl, lt_dlopen)
22 dnl AC_CHECK_HEADERS(ltdl.h)
25 AC_CHECK_FUNCS(cygwin_conv_to_full_posix_path)
27 dnl Timebomb processing
28 AC_CHECK_HEADERS(time.h)
30 AC_ARG_ENABLE(timebomb,
31 [ --enable-timebomb=TIME refuse to start after TIME seconds past epoch])
33 if test -z "$enable_timebomb"
36 elif test "$enable_timebomb" = "no"
39 elif expr "$enable_timebomb" : '[[0-9]]*$' >/dev/null
41 SID_TIMEBOMB=$enable_timebomb
42 # XXX: support relative "days from now" format
44 AC_ERROR([Must specify timebomb time in proper format])
46 AC_DEFINE_UNQUOTED(SID_TIMEBOMB, $SID_TIMEBOMB, [Timebomb - seconds since epoch - 0=unlimited])
49 AC_CONFIG_SUBDIRS(libltdl)