2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 22:15:20 +00:00

--enable-threads should now be "unimplemented" in the sanitized version

This commit is contained in:
Brian Wellington
2000-09-28 23:36:44 +00:00
parent 2f96e6b9bb
commit 9d9f5a2dd3
2 changed files with 210 additions and 196 deletions

391
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.186 $)
AC_REVISION($Revision: 1.187 $)
AC_INIT(lib/dns/name.c)
AC_PREREQ(2.13)
@@ -136,13 +136,20 @@ case "$enable_threads" in
yes|'')
AC_MSG_RESULT(yes)
use_threads=true
ISC_PLATFORM_USETHREADS="#define ISC_PLATFORM_USETHREADS 1" ;;
ISC_PLATFORM_USETHREADS="#define ISC_PLATFORM_USETHREADS 1"
;;
no)
AC_MSG_RESULT(no)
use_threads=false
ISC_PLATFORM_USETHREADS="#undef ISC_PLATFORM_USETHREADS" ;;
#ifdef ISC_PLATFORM_USETHREADS
ISC_PLATFORM_USETHREADS="#undef ISC_PLATFORM_USETHREADS"
#else /* ISC_PLATFORM_USETHREADS */
#+ AC_MSG_ERROR(["--enable-threads is not implemented"])
#endif /* ISC_PLATFORM_USETHREADS */
;;
*)
AC_MSG_ERROR(["--enable-threads takes yes or no"]) ;;
AC_MSG_ERROR(["--enable-threads takes yes or no"])
;;
esac
AC_SUBST(ISC_PLATFORM_USETHREADS)