always accpet --enable-clpbn-bp
This commit is contained in:
parent
095cd68cac
commit
46cec46fa8
2
configure
vendored
2
configure
vendored
@ -5059,6 +5059,7 @@ else
|
|||||||
INSTALL_MATLAB=""
|
INSTALL_MATLAB=""
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if test "$yap_cv_clpbn_bp"="yes"; then
|
||||||
ac_ext=cpp
|
ac_ext=cpp
|
||||||
ac_cpp='$CXXCPP $CPPFLAGS'
|
ac_cpp='$CXXCPP $CPPFLAGS'
|
||||||
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
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_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
||||||
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
||||||
|
|
||||||
|
fi
|
||||||
|
|
||||||
if test "$yap_cv_clpbn_bp" = no
|
if test "$yap_cv_clpbn_bp" = no
|
||||||
then
|
then
|
||||||
|
@ -516,6 +516,7 @@ else
|
|||||||
INSTALL_MATLAB=""
|
INSTALL_MATLAB=""
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if test "$yap_cv_clpbn_bp"="yes"; then
|
||||||
AC_LANG_PUSH([C++])
|
AC_LANG_PUSH([C++])
|
||||||
my_save_cxxflags="$CXXFLAGS"
|
my_save_cxxflags="$CXXFLAGS"
|
||||||
CXXFLAGS=-std=c++0x
|
CXXFLAGS=-std=c++0x
|
||||||
@ -527,6 +528,7 @@ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([])],
|
|||||||
)
|
)
|
||||||
CXXFLAGS="$my_save_cxxflags"
|
CXXFLAGS="$my_save_cxxflags"
|
||||||
AC_LANG_POP()
|
AC_LANG_POP()
|
||||||
|
fi
|
||||||
|
|
||||||
if test "$yap_cv_clpbn_bp" = no
|
if test "$yap_cv_clpbn_bp" = no
|
||||||
then
|
then
|
||||||
|
Reference in New Issue
Block a user