Skip to content

Commit aec22a4

Browse files
committed
fix autotools c++11 issue with disabled training
1 parent 1d6de86 commit aec22a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configure.ac

+1-1
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ if test "x$has_cpp11" = "xyes"; then
435435
esac
436436
else
437437
AC_MSG_WARN(Training tools WILL NOT be built because of missing c++11 support.)
438-
AM_CONDITIONAL(ENABLE_TRAINING, false)
438+
AM_CONDITIONAL(ENABLE_TRAINING, [test "x$has_cpp11" = "xyes"])
439439
fi
440440

441441
# ----------------------------------------

0 commit comments

Comments
 (0)