2 # Process this file with autoconf to produce a configure script.
5 AC_INIT([islib], [1.0.0], [issoftware@users.sourceforge.jp])
6 AC_CONFIG_SRCDIR([config.h.in])
7 AC_CONFIG_HEADERS([config.h])
9 AC_ARG_ENABLE(debug, AS_HELP_STRING([--enable-debug], [Turn on debugging]), enable_debug="$enableval", enable_fcgi="no")
11 AM_INIT_AUTOMAKE([$PACKAGE_NAME], [$PACKAGE_VERSION])
12 AM_CONDITIONAL([DEBUG], [test "$enable_debug" = "yes"])
14 # Checks for programs.
19 # Checks for libraries.
20 AC_CHECK_LIB([boost_filesystem], [-lboost_filesystem])
22 # Checks for header files.
23 AC_CHECK_HEADERS([string.h unistd.h utime.h])
25 # Checks for typedefs, structures, and compiler characteristics.
32 # Checks for library functions.
34 AC_CHECK_FUNCS([localtime_r mkdir pow utime])
36 AC_CONFIG_FILES([Makefile])