Commit 8c0697ce authored by incardon's avatar incardon

Fixing BOOST detection

parent 90170160
......@@ -251,8 +251,8 @@ fi
# eliminate any /usr/lib and and /usr/include from $BOOST_LIB and $BOOST_INCLUDE
BOOST_LDFLAGS=$(echo "$BOOST_LDFLAGS" | sed -e 's/-L\/usr\/lib64//g' | sed -e 's/-L\/usr\/lib//g')
BOOST_CPPFLAGS=$(echo "$BOOST_CPPFLAGS" | sed -e 's/-I\/usr\/include//g')
BOOST_LDFLAGS=$(echo "$BOOST_LDFLAGS" | sed -e 's/ -L\/usr\/lib64[ \b]//g' | sed -e 's/ -L\/usr\/lib[ \b]//g')
BOOST_CPPFLAGS=$(echo "$BOOST_CPPFLAGS" | sed -e 's/-I\/usr\/include[ \b]//g')
AC_SUBST(BOOST_LDFLAGS)
AC_SUBST(BOOST_CPPFLAGS)
......
......@@ -100,7 +100,7 @@ AC_DEFUN([AX_BOOST_PROGRAM_OPTIONS],
exit 202
fi
if test "x$link_program_options" != "xyes"; then
echo "Could not link against [$ax_lib] !"
echo "Could not link against $ax_lib !"
exit 202
fi
fi
......
......@@ -22,6 +22,8 @@
///////////////////////////////////////////////////
#ifndef COVERTY_SCAN
//! the array itself
template<class T, unsigned long... args> struct ArrayHolder_constexpr {
static constexpr T data[sizeof...(args)] = { args... };
......@@ -39,6 +41,8 @@ struct generate_array_constexpr_impl<T,0,orig_N, F, args...> {
typedef ArrayHolder_constexpr<T,F<0,orig_N>::value, args...> result;
};
#endif
/*! \brief Main class to generate constexpr compile-time array
*
*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment