summaryrefslogtreecommitdiff
path: root/m4/ax_boost_python.m4
diff options
context:
space:
mode:
authorMichael Terry <michael.terry@canonical.com>2011-11-21 19:37:08 +0100
committerPeter Simons <simons@cryp.to>2011-11-21 19:37:08 +0100
commit2fca6b72c6a18efd00712c185f22efb4d61c725c (patch)
tree8b38f84676353032b937bc549db5f9bb74c2a515 /m4/ax_boost_python.m4
parentc398ff19a45daf82754eca619ecea1e9231e8c04 (diff)
downloadautoconf-archive-2fca6b72c6a18efd00712c185f22efb4d61c725c.tar.gz
AX_BOOST_PYTHON: fixed under-quoted use of $CPPFLAGS
See <http://savannah.gnu.org/patch/?7673> for further details.
Diffstat (limited to 'm4/ax_boost_python.m4')
-rw-r--r--m4/ax_boost_python.m48
1 files changed, 4 insertions, 4 deletions
diff --git a/m4/ax_boost_python.m4 b/m4/ax_boost_python.m4
index 3cfcf31..2ec8310 100644
--- a/m4/ax_boost_python.m4
+++ b/m4/ax_boost_python.m4
@@ -51,7 +51,7 @@
# modified version of the Autoconf Macro, you may extend this special
# exception to the GPL to apply to your modified version as well.
-#serial 11
+#serial 12
AC_DEFUN([AX_BOOST_PYTHON],
[AC_REQUIRE([AX_PYTHON])dnl
@@ -59,9 +59,9 @@ AC_CACHE_CHECK(whether the Boost::Python library is available,
ac_cv_boost_python,
[AC_LANG_SAVE
AC_LANG_CPLUSPLUS
- CPPFLAGS_SAVE=$CPPFLAGS
+ CPPFLAGS_SAVE="$CPPFLAGS"
if test x$PYTHON_INCLUDE_DIR != x; then
- CPPFLAGS=-I$PYTHON_INCLUDE_DIR $CPPFLAGS
+ CPPFLAGS="-I$PYTHON_INCLUDE_DIR $CPPFLAGS"
fi
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
#include <boost/python/module.hpp>
@@ -70,7 +70,7 @@ ac_cv_boost_python,
[[return 0;]])],
ac_cv_boost_python=yes, ac_cv_boost_python=no)
AC_LANG_RESTORE
- CPPFLAGS=$CPPFLAGS_SAVE
+ CPPFLAGS="$CPPFLAGS_SAVE"
])
if test "$ac_cv_boost_python" = "yes"; then
AC_DEFINE(HAVE_BOOST_PYTHON,,[define if the Boost::Python library is available])