always accpet --enable-clpbn-bp

This commit is contained in:
Vitor Santos Costa 2012-11-26 16:20:36 +00:00
parent 095cd68cac
commit 46cec46fa8
2 changed files with 19 additions and 15 deletions

2
configure vendored
View File

@ -5059,6 +5059,7 @@ else
INSTALL_MATLAB=""
fi
if test "$yap_cv_clpbn_bp"="yes"; then
ac_ext=cpp
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
@ -5097,6 +5098,7 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
fi
if test "$yap_cv_clpbn_bp" = no
then

View File

@ -516,6 +516,7 @@ else
INSTALL_MATLAB=""
fi
if test "$yap_cv_clpbn_bp"="yes"; then
AC_LANG_PUSH([C++])
my_save_cxxflags="$CXXFLAGS"
CXXFLAGS=-std=c++0x
@ -527,6 +528,7 @@ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([])],
)
CXXFLAGS="$my_save_cxxflags"
AC_LANG_POP()
fi
if test "$yap_cv_clpbn_bp" = no
then