aboutsummaryrefslogtreecommitdiff
path: root/nptl/configure
diff options
context:
space:
mode:
Diffstat (limited to 'nptl/configure')
-rw-r--r--nptl/configure8
1 files changed, 8 insertions, 0 deletions
diff --git a/nptl/configure b/nptl/configure
index 1ce3cae..dd246c7 100644
--- a/nptl/configure
+++ b/nptl/configure
@@ -3,3 +3,11 @@
# 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