Recognize nptl add-on name.

This commit is contained in:
Ulrich Drepper 2002-09-25 06:44:02 +00:00
parent 29514aade7
commit 1ad484c629
1 changed files with 10 additions and 1 deletions

View File

@ -174,12 +174,21 @@ if test "$prefix" = "/usr" -o "$prefix" = "/usr/"; then
libc_cv_rootsbindir="/sbin" libc_cv_rootsbindir="/sbin"
fi fi
# Under Linux the LinuxThreads add-on should be available. # Under Linux the LinuxThreads or NPTL add-on should be available.
case $add_ons in case $add_ons in
# Only one of the add-ons should be available.
*linuxthreads*nptl*|*nptl*linuxthreads*)
echo "\
*** LinuxThreads and NPTL add-ons are both available. Only one must be used."
exit 1
;;
# It is available. Good. # It is available. Good.
*linuxthreads*) *linuxthreads*)
linuxthreads_missing= linuxthreads_missing=
;; ;;
*nptl*)
linuxthreads_missing=
;;
*) *)
linuxthreads_missing=yes linuxthreads_missing=yes
;; ;;