# configure.ac -- process this file with autoconf to produce a configure script AC_INIT([sqlite3cc], [0.1.0], [edam@waxworlds.org], , [http://www.waxworlds.org/edam/software/sqlite3cc]) AC_SUBST([LIBSQLITE3CC_INTERFACE], [0:0:0]) AC_CONFIG_AUX_DIR([build-aux]) AC_CONFIG_MACRO_DIR([m4]) AM_INIT_AUTOMAKE([foreign]) AC_CONFIG_SRCDIR([src/command.cc]) AM_CONFIG_HEADER([config.h]) LT_INIT # checks for programs. AC_PROG_CXX AC_PROG_LIBTOOL # checks for libraries. AC_CHECK_LIB([boost_filesystem-mt], main, , AC_MSG_WARN([Unable to find Boost Filesystem library - the library tests may not compile!])) AC_CHECK_LIB([boost_thread-mt], main, , AC_MSG_ERROR([Unable to find Boost Thread library])) AC_CHECK_LIB([sqlite3], sqlite3_initialize, , AC_MSG_ERROR([Unable to find SQLite3 library])) # checks for header files. AC_HEADER_STDC AC_CHECK_HEADERS([string.h]) # checks for typedefs, structures, and compiler characteristics. # checks for library functions. AC_OUTPUT(Makefile src/Makefile include/Makefile test/Makefile)