Commit 910d7953 authored by Yang Tse's avatar Yang Tse
Browse files

unit tests: make unit tests building actually depend on --enable-debug option.

parent 970117ef
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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.