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])
EXTRA_DIRS="${EXTRA_DIRS} $with_osg"
fi
-# specify Boost location
-AC_ARG_WITH(osg, [ --with-boost=PREFIX Specify the prefix path to Boost])
-
-if test "x$with_boost" != "x" ; then
- echo "Boost prefix is $with_boost"
- EXTRA_DIRS="${EXTRA_DIRS} $with_boost"
-fi
-
dnl Determine an extra directories to add to include/lib search paths
case "${host}" in
*-apple-darwin* | *-*-mingw32*)
exit
fi
-AC_CHECK_HEADER(boost/foreach.hpp)
-if test "x$ac_cv_header_boost_foreach_hpp" != "xyes"; then
- echo
- echo "You *must* have the Boost libraries installed."
- echo
- echo "configure aborted."
- exit
-fi
-
# Find the OSG libraries. Note special handling for OS X frameworks
case "${host}" in
*-apple-darwin*)