fix --enable-clpbn-bp flag
This commit is contained in:
parent
46cec46fa8
commit
3e2a1a9678
4
configure
vendored
4
configure
vendored
@ -4665,7 +4665,7 @@ fi
|
|||||||
if test "${enable_clpbn_bp+set}" = set; then :
|
if test "${enable_clpbn_bp+set}" = set; then :
|
||||||
enableval=$enable_clpbn_bp; yap_cv_clpbn_bp="$enableval"
|
enableval=$enable_clpbn_bp; yap_cv_clpbn_bp="$enableval"
|
||||||
else
|
else
|
||||||
yap_cv_clpbn_bp=no
|
yap_cv_clpbn_bp=yes
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
@ -5084,10 +5084,10 @@ _ACEOF
|
|||||||
if ac_fn_cxx_try_compile "$LINENO"; then :
|
if ac_fn_cxx_try_compile "$LINENO"; then :
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
||||||
$as_echo "yes" >&6; }
|
$as_echo "yes" >&6; }
|
||||||
yap_cv_clpbn_bp=yes
|
|
||||||
else
|
else
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
||||||
$as_echo "no" >&6; }
|
$as_echo "no" >&6; }
|
||||||
|
yap_cv_clpbn_bp=no
|
||||||
|
|
||||||
fi
|
fi
|
||||||
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
||||||
|
@ -218,7 +218,7 @@ AC_ARG_ENABLE(cplint,
|
|||||||
|
|
||||||
AC_ARG_ENABLE(clpbn-bp,
|
AC_ARG_ENABLE(clpbn-bp,
|
||||||
[ --enable-clpbn-bp enable belief propagation solver in CLPBN. ],
|
[ --enable-clpbn-bp enable belief propagation solver in CLPBN. ],
|
||||||
yap_cv_clpbn_bp="$enableval", yap_cv_clpbn_bp=no)
|
yap_cv_clpbn_bp="$enableval", yap_cv_clpbn_bp=yes)
|
||||||
|
|
||||||
AC_ARG_WITH(gmp,
|
AC_ARG_WITH(gmp,
|
||||||
[ --with-gmp[=DIR] use GNU Multiple Precision in DIR],
|
[ --with-gmp[=DIR] use GNU Multiple Precision in DIR],
|
||||||
@ -522,9 +522,9 @@ if test "$yap_cv_clpbn_bp"="yes"; then
|
|||||||
CXXFLAGS=-std=c++0x
|
CXXFLAGS=-std=c++0x
|
||||||
AC_MSG_CHECKING([whether CXX supports -std-c++0x])
|
AC_MSG_CHECKING([whether CXX supports -std-c++0x])
|
||||||
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([])],
|
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([])],
|
||||||
[AC_MSG_RESULT([yes])]
|
[AC_MSG_RESULT([yes])],
|
||||||
[yap_cv_clpbn_bp=yes],
|
|
||||||
[AC_MSG_RESULT([no])]
|
[AC_MSG_RESULT([no])]
|
||||||
|
[yap_cv_clpbn_bp=no]
|
||||||
)
|
)
|
||||||
CXXFLAGS="$my_save_cxxflags"
|
CXXFLAGS="$my_save_cxxflags"
|
||||||
AC_LANG_POP()
|
AC_LANG_POP()
|
||||||
|
Reference in New Issue
Block a user