/usr/share/dune/aclocal/dune_boost_base.m4 is in libdune-common-dev 2.4.1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | # SYNOPSIS
#
# DUNE_BOOST_BASE([MINIMUM-VERSION], [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
#
# DESCRIPTION
#
# Test for the Boost C++ libraries of a particular version (or newer)
#
# If no path to the installed boost library is given the macro searchs
# under /usr, /usr/local, /opt and /opt/local and evaluates the
# $BOOST_ROOT environment variable. Further documentation is available at
# <http://randspringer.de/boost/index.html>.
#
# This macro calls:
#
# AX_BOOST_BASE / AC_SUBST(BOOST_CPPFLAGS) / AC_SUBST(BOOST_LDFLAGS)
#
# And sets:
#
# HAVE_DUNE_BOOST
# ENABLE_BOOST or undefined. Whether boost was found. The correct way to
# to check this is "#if HAVE_BOOST": This way boost features will be disabled
# unless ${BOOST_CPPFLAGS} was given when compiling
#serial 1
AC_DEFUN([DUNE_BOOST_BASE],
[
AX_BOOST_BASE([$1],[
AC_DEFINE(HAVE_DUNE_BOOST, [ENABLE_BOOST],[Define to ENABLE_BOOST if the Boost library is available])
BOOST_CPPFLAGS="$BOOST_CPPFLAGS -DENABLE_BOOST"
AC_SUBST(BOOST_CPPFLAGS)
# execute ACTION-IF-FOUND (if present):
ifelse([$2], , :, [$2])
],[
# execute ACTION-IF-NOT-FOUND (if present):
ifelse([$3], , :, [$3])
])])
|