Let's just say I have a better understanding of autoconf now (I should really have read the manual first). It helps t...

Original commit message from CVS:
Let's just say I have a better understanding of autoconf now (I should really have read the manual first). It helps to remember that yes != no ;)
This commit is contained in:
Andrew Mitchell 2001-06-02 15:33:38 +00:00
parent 14ae775e05
commit 528d8c273b

View file

@ -778,8 +778,8 @@ esac],
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
@ -787,8 +787,8 @@ esac],
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