Recognize nptl add-on name.
authorUlrich Drepper <drepper@redhat.com>
Wed, 25 Sep 2002 06:44:02 +0000 (06:44 +0000)
committerUlrich Drepper <drepper@redhat.com>
Wed, 25 Sep 2002 06:44:02 +0000 (06:44 +0000)
sysdeps/unix/sysv/linux/configure.in

index 4d52ee5..f3af969 100644 (file)
@@ -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
     ;;