summaryrefslogtreecommitdiff
path: root/nptl/configure
diff options
context:
space:
mode:
Diffstat (limited to 'nptl/configure')
-rw-r--r--nptl/configure17
1 files changed, 12 insertions, 5 deletions
diff --git a/nptl/configure b/nptl/configure
index 3ad635f48d..dd246c755a 100644
--- a/nptl/configure
+++ b/nptl/configure
@@ -1,6 +1,13 @@
-# This is only to keep the GNU C library configure mechanism happy.
# This is a shell script fragment sourced by the main configure script.
-# We have nothing we need to add here.
-#
-# Perhaps some day we will need a real configuration script for different
-# kernel versions or so.
+# We're obliged to give here the canonical name that will be used to
+# as a subdirectory to search for in other add-ons' sysdeps trees.
+
+libc_add_on_canonical=nptl
+
+# Only linux configurations support NPTL.
+if test $add_ons_automatic = yes; then
+ case "$config_os" in
+ *linux*) ;;
+ *) libc_add_on= ;;
+ esac
+fi