OSDN Git Service

Fix Makefile.am.
[islib/islib.git] / configure.in
1 #                                               -*- Autoconf -*-
2 # Process this file with autoconf to produce a configure script.
3
4 AC_PREREQ([2.63])
5 AC_INIT([islib], [0.1], [no-define])
6 AC_CONFIG_SRCDIR([config.h.in])
7 AC_CONFIG_HEADERS([config.h])
8
9 AM_INIT_AUTOMAKE([$PACKAGE_NAME], [$PACKAGE_VERSION])
10
11 # Checks for programs.
12 AC_PROG_CXX
13 AC_PROG_INSTALL
14 AC_PROG_RANLIB
15
16 # Checks for libraries.
17 AC_CHECK_LIB([boost_filesystem], [-lboost_filesystem])
18
19 # Checks for header files.
20 AC_CHECK_HEADERS([string.h unistd.h utime.h])
21
22 # Checks for typedefs, structures, and compiler characteristics.
23 AC_C_INLINE
24 AC_TYPE_MODE_T
25 AC_TYPE_OFF_T
26 AC_TYPE_SIZE_T
27 AC_TYPE_SSIZE_T
28
29 # Checks for library functions.
30 AC_FUNC_STRERROR_R
31 AC_CHECK_FUNCS([localtime_r mkdir pow utime])
32
33 AC_CONFIG_FILES([Makefile])
34 AC_OUTPUT