X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=configure.ac;h=08b07ab45ba8d2790594afb262f4e357f46c4199;hb=fdd3c77298779143eba8903426c7f275725af9ba;hp=4f19330378a993a899dfc1122ed102dfe664528d;hpb=91e22c1fb3780af19f29447cf2448a11cedba29a;p=simgear.git diff --git a/configure.ac b/configure.ac index 4f193303..08b07ab4 100644 --- a/configure.ac +++ b/configure.ac @@ -8,7 +8,7 @@ dnl Require at least automake 2.52 AC_PREREQ(2.52) dnl Initialize the automake stuff -AM_INIT_AUTOMAKE(SimGear, 1.99.5) +AM_INIT_AUTOMAKE(SimGear, 1.9.1) dnl Specify KAI C++ compiler and flags. dnl Borrowed with slight modification from blitz distribution. @@ -37,6 +37,11 @@ AC_PROG_CXX AC_PROG_RANLIB AC_PROG_INSTALL AC_PROG_LN_S +AX_BOOST_BASE([1.34.0]) + +if test "x$BOOST_CPPFLAGS" != "x-I/usr/include" ; then + CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS" +fi dnl set the $host variable based on local machine/os AC_CANONICAL_HOST @@ -398,6 +403,16 @@ if test "x$ac_cv_header_osg_Version" != "xyes"; then exit fi +AC_CHECK_HEADER(boost/version.hpp) +if test "x$ac_cv_header_boost_version_hpp" != "xyes"; then + echo + echo "You *must* have the Boost library installed on your system" + echo "to build this version of SimGear!" + echo + echo "configure aborted." + exit +fi + AC_LANG_POP dnl Check for system installed zlib