AC_ARG_ENABLE(tests,
[ --disable-tests disable building test apps],
[case "${enableval}" in
- yes) BUILD_TESTS=no ;;
- no) BUILD_TESTS=yes ;;
+ yes) BUILD_TESTS=yes ;;
+ no) BUILD_TESTS=no ;;
*) AC_MSG_ERROR(bad value ${enableval} for --disable-tests) ;;
esac],
[BUILD_TESTS=yes]) dnl Default value
AC_ARG_ENABLE(examples,
[ --disable-examples disable building examples],
[case "${enableval}" in
- yes) BUILD_EXAMPLES=no ;;
- no) BUILD_EXAMPLES=yes ;;
+ yes) BUILD_EXAMPLES=yes ;;
+ no) BUILD_EXAMPLES=no ;;
*) AC_MSG_ERROR(bad value ${enableval} for --disable-examples) ;;
esac],
[BUILD_EXAMPLES=yes]) dnl Default value