summaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/configure.in
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-09-25 06:44:02 +0000
committerUlrich Drepper <drepper@redhat.com>2002-09-25 06:44:02 +0000
commit1ad484c629e37cd2ec5e88ebe3429d5dbf479bc2 (patch)
tree44b69bd50a099ad3d1324f5cf752cd4438a7e813 /sysdeps/unix/sysv/linux/configure.in
parent29514aade72d8a96937326a87bfe994f85896d94 (diff)
Recognize nptl add-on name.
Diffstat (limited to 'sysdeps/unix/sysv/linux/configure.in')
-rw-r--r--sysdeps/unix/sysv/linux/configure.in11
1 files changed, 10 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/configure.in b/sysdeps/unix/sysv/linux/configure.in
index 4d52ee539c..f3af969c0e 100644
--- a/sysdeps/unix/sysv/linux/configure.in
+++ b/sysdeps/unix/sysv/linux/configure.in
@@ -174,12 +174,21 @@ if test "$prefix" = "/usr" -o "$prefix" = "/usr/"; then
libc_cv_rootsbindir="/sbin"
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
+ # 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.
*linuxthreads*)
linuxthreads_missing=
;;
+ *nptl*)
+ linuxthreads_missing=
+ ;;
*)
linuxthreads_missing=yes
;;