Commit 9ce47681 authored by Andreas Gustafsson's avatar Andreas Gustafsson
Browse files

fix threads-disabling features that were accidentally checked in with

the previous change
parent 9ceaa92a
This diff is collapsed.
......@@ -18,7 +18,7 @@ AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)dnl
esyscmd([sed "s/^/# /" COPYRIGHT])dnl
AC_DIVERT_POP()dnl
AC_REVISION($Revision: 1.180 $)
AC_REVISION($Revision: 1.181 $)
AC_INIT(lib/dns/name.c)
AC_PREREQ(2.13)
......@@ -135,9 +135,11 @@ AC_ARG_ENABLE(threads,
case "$enable_threads" in
yes|'')
AC_MSG_RESULT(yes)
use_threads=true
ISC_PLATFORM_USETHREADS="#define ISC_PLATFORM_USETHREADS 1" ;;
no)
AC_MSG_RESULT(no)
use_threads=false
ISC_PLATFORM_USETHREADS="#undef ISC_PLATFORM_USETHREADS" ;;
*)
AC_MSG_ERROR(["--enable-threads takes yes or no"]) ;;
......@@ -322,7 +324,7 @@ AC_C_INLINE
AC_TYPE_SIZE_T
AC_HEADER_TIME
if "$enable_threads" = "yes"
if $use_threads
then
#
# Search for / configure pthreads in a system-dependent fashion.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment