]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
unit tests: make unit tests building actually depend on --enable-debug option.
authorYang Tse <yangsita@gmail.com>
Thu, 2 Jun 2011 15:02:46 +0000 (17:02 +0200)
committerYang Tse <yangsita@gmail.com>
Thu, 2 Jun 2011 15:02:46 +0000 (17:02 +0200)
configure.ac

index c8c0d42c04a6ad74cdbec3dcbfea15def5d3e2e8..412242f4434cb34ed9797c5a244adc3bfb10a848 100644 (file)
@@ -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.