From: Yang Tse Date: Thu, 2 Jun 2011 15:02:46 +0000 (+0200) Subject: unit tests: make unit tests building actually depend on --enable-debug option. X-Git-Tag: curl-7_21_7~57 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=910d7953aa11ac6c0d0334efc21064533fa3c777;p=thirdparty%2Fcurl.git unit tests: make unit tests building actually depend on --enable-debug option. --- diff --git a/configure.ac b/configure.ac index c8c0d42c04..412242f443 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.