Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Tiago Peixoto
graph-tool
Commits
cb0e04d1
Commit
cb0e04d1
authored
Mar 11, 2012
by
Tiago Peixoto
Browse files
Improve autoconf checking of boost_python
parent
e35f6b0c
Changes
1
Hide whitespace changes
Inline
Side-by-side
m4/ax_boost_python.m4
View file @
cb0e04d1
...
...
@@ -70,7 +70,7 @@ ac_cv_boost_python,
using namespace boost::python;
BOOST_PYTHON_MODULE(test) { throw "Boost::Python test."; }]],
[[return 0;]]),
ac_cv_boost_python=yes, ac_cv_boost_python=no)
ac_cv_boost_python=yes, ac_cv_boost_python=no)
AC_LANG_RESTORE
CPPFLAGS="$CPPFLAGS_SAVE"
])
...
...
@@ -82,8 +82,12 @@ if test "$ac_cv_boost_python" = "yes"; then
ax_python_lib=$with_boost_python
ax_boost_python_lib=boost_python-$with_boost_python
fi])
for ax_lib in $ax_python_lib $ax_boost_python_lib boost_python boost_python-mt
boost_python-mt-py2.5
; do
for ax_lib in $ax_python_lib $ax_boost_python_lib boost_python boost_python-mt; do
AC_CHECK_LIB($ax_lib, exit, [BOOST_PYTHON_LIB=$ax_lib break])
ax_lib_alt=${ax_lib}-py$PYTHON_VERSION
AC_CHECK_LIB($ax_lib_alt, exit, [BOOST_PYTHON_LIB=$ax_lib_alt break])
ax_lib_alt=${ax_lib}-$PYTHON_VERSION
AC_CHECK_LIB($ax_lib_alt, exit, [BOOST_PYTHON_LIB=$ax_lib_alt break])
done
AC_SUBST(BOOST_PYTHON_LIB)
fi
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment