fix threads-disabling features that were accidentally checked in with

the previous change
This commit is contained in:
Andreas Gustafsson
2000-08-29 00:16:24 +00:00
parent 9ceaa92a8c
commit 9ce476812c
2 changed files with 190 additions and 186 deletions

370
configure vendored

File diff suppressed because it is too large Load Diff

View File

@@ -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.