diff options
author | Yang Tse <yangsita@gmail.com> | 2011-06-02 17:02:46 +0200 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2011-06-02 17:02:46 +0200 |
commit | 910d7953aa11ac6c0d0334efc21064533fa3c777 (patch) | |
tree | 550edcc000a56f3f1a5105e1de66b13dd3c1b293 | |
parent | 970117ef2df2c63ea77eb7adf7efa442844779a3 (diff) |
unit tests: make unit tests building actually depend on --enable-debug option.
-rw-r--r-- | configure.ac | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index c8c0d42c0..412242f44 100644 --- a/configure.ac +++ b/configure.ac @@ -305,7 +305,8 @@ AM_CONDITIONAL(NO_UNDEFINED, test x$need_no_undefined = xyes) CURL_CHECK_CURLDEBUG AM_CONDITIONAL(CURLDEBUG, test x$want_curldebug = xyes) -AM_CONDITIONAL(BUILD_UNITTESTS, test x$want_curldebug = xyes) +dnl Build unit tests when option --enable-debug is given. +AM_CONDITIONAL(BUILD_UNITTESTS, test x$want_debug = xyes) dnl ********************************************************************** dnl Compilation based checks should not be done before this point. |