Changeset 867fb5 for m4/boost.m4


Ignore:
Timestamp:
May 19, 2021, 7:06:29 PM (4 years ago)
Author:
Frederik Heber <frederik.heber@…>
Branches:
Candidate_v1.7.0, stable
Children:
7ca7d5d
Parents:
7b1824
git-author:
Frederik Heber <frederik.heber@…> (04/23/19 00:16:36)
git-committer:
Frederik Heber <frederik.heber@…> (05/19/21 19:06:29)
Message:

Added BOOST_NUMPY to boost.m4.

  • we know require boost 1.64
File:
1 edited

Legend:

Unmodified
Added
Removed
  • m4/boost.m4

    r7b1824 r867fb5  
    10391039
    10401040
     1041# BOOST_NUMPY([PREFERRED-RT-OPT])
     1042# --------------------------------
     1043# Look for Boost.Python.Numpy.  For the documentation of PREFERRED-RT-OPT,
     1044# see the documentation of BOOST_FIND_LIB above.
     1045BOOST_DEFUN([Numpy],
     1046[m4_pattern_allow([^BOOST_PYTHON_(LIBS|LDFLAGS)$])dnl
     1047LIBS="$LIBS $BOOST_PYTHON_LIBS $BOOST_PYTHON_LIB"
     1048LDFLAGS="$LDFLAGS $BOOST_PYTHON_LDFLAGS"
     1049CPPFLAGS="$CPPFLAGS $BOOST_PYTHON_CPPFLAGS"
     1050BOOST_FIND_LIBS([numpy], [numpy numpy3], [$1],
     1051                [boost/python/numpy.hpp],
     1052                [ boost::python::numpy::initialize();], [])
     1053CPPFLAGS=$boost_numpy_save_CPPFLAGS
     1054LDFLAGS=$boost_numpy_save_LDFLAGS
     1055LIBS=$boost_numpy_save_LIBS
     1056])# BOOST_NUMPY
     1057
    10411058# BOOST_OPTIONAL()
    10421059# ----------------
     
    14921509  # the same defines as GCC's).
    14931510  for i in \
     1511    _BOOST_mingw_test(7, 5) \
     1512    _BOOST_gcc_test(7, 5) \
    14941513    _BOOST_mingw_test(6, 2) \
    14951514    _BOOST_gcc_test(6, 2) \
Note: See TracChangeset for help on using the changeset viewer.