X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=configure.ac;h=9c94fc12441c3a2201987d991ba739eca1f39806;hb=88baaa72be7ee36e25b7afcd34c2fead6245324a;hp=8aff50e47eadf1c087a261262492d301b3a38c19;hpb=fd34cc0b87f17fe729f6f3891c52b97498273acd;p=simgear.git diff --git a/configure.ac b/configure.ac index 8aff50e4..9c94fc12 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, 0.3.10) +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 @@ -361,7 +366,7 @@ if test "x$ac_cv_header_plib_ul_h" != "xyes"; then exit fi -AC_MSG_CHECKING([for plib 1.8.4 or newer]) +AC_MSG_CHECKING([for plib 1.8.5 or newer]) AC_TRY_RUN([ #include @@ -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 @@ -465,6 +480,7 @@ AC_CONFIG_FILES([ \ simgear/props/Makefile \ simgear/route/Makefile \ simgear/scene/Makefile \ + simgear/scene/bvh/Makefile \ simgear/scene/material/Makefile \ simgear/scene/model/Makefile \ simgear/scene/sky/Makefile \