]> git.mxchange.org Git - flightgear.git/blobdiff - configure.ac
Add autoconf macro and better variable handling for Boost.
[flightgear.git] / configure.ac
index 60062168103955dec06cd607145d2a35209fcd7e..d0e9ac3f18fca756a22255895f2673fccff8b21a 100644 (file)
@@ -20,6 +20,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
 
 # specify the simgear location
 AC_ARG_WITH(simgear, [  --with-simgear=PREFIX   Specify the prefix path to SimGear])