2 # Process this file with autoconf to produce a configure script.
5 AC_INIT([Xestia Address Book], [1.0], [bugs@xestia.co.uk])
6 #AC_CONFIG_SRCDIR([version.h])
7 #AC_CONFIG_HEADERS([config.h])
14 # Checks for libraries.
18 AM_PATH_WXCONFIG($reqwx, wxWin=1)
19 if test "$wxWin" != 1; then
21 wxWidgets must be installed on your system.
23 Please check that wx-config is in path, the directory where wxWidgets libraries
24 are installed (returned by 'wx-config --libs' or 'wx-config --static --libs'
25 command) is in LD_LIBRARY_PATH or equivalent variable and wxWidgets version
30 CPPFLAGS="$CPPFLAGS $WX_CPPFLAGS"
31 CXXFLAGS="$CXXFLAGS $WX_CXXFLAGS_ONLY"
32 CFLAGS="$CFLAGS $WX_CFLAGS_ONLY"
35 # FIXME: Replace `main' with a function in `-lboost_filesystem':
36 AC_CHECK_LIB([boost_filesystem], [main], [], [
37 echo "Error! Boost Filesystem Library (libboost_filesystem) is not installed!
38 Please check that this library is installed property before
39 running configure again."
42 # FIXME: Replace `main' with a function in `-lboost_system':
43 AC_CHECK_LIB([boost_system], [main], [], [
44 echo "Error! Boost System Library (libboost_system) is not installed!
45 Please check that this library is installed property before
46 running configure again."
49 #AC_CHECK_PROG([WXCONFIG], [wx-config])
51 # Checks for header files.
52 AC_CHECK_HEADERS([stdlib.h string.h])
54 # Checks for typedefs, structures, and compiler characteristics.
58 # Checks for library functions.
60 AC_CONFIG_FILES([Makefile])