about summary refs log tree commit diff
path: root/linuxthreads/configure
diff options
context:
space:
mode:
Diffstat (limited to 'linuxthreads/configure')
-rwxr-xr-xlinuxthreads/configure21
1 files changed, 16 insertions, 5 deletions
diff --git a/linuxthreads/configure b/linuxthreads/configure
index 3ad635f48d..2624f9ec5a 100755
--- a/linuxthreads/configure
+++ b/linuxthreads/configure
@@ -1,6 +1,17 @@
-# This is only to keep the GNU C library configure mechanism happy.
+# This file is generated from configure.in by Autoconf.  DO NOT EDIT!
+
+# LinuxThreads fragment for GNU C library configure mechanism.
 # 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.
+
+for other in $add_ons; do
+  test $other = nptl || continue
+  if test $add_ons_automatic = yes; then
+    echo "$as_me:$LINENO: result: $libc_add_on disabled because $other add-on is also in use" >&5
+echo "${ECHO_T}$libc_add_on disabled because $other add-on is also in use" >&6
+    libc_add_on=
+  else
+    { { echo "$as_me:$LINENO: error: cannot use both $libc_add_on and $other add-ons in one build" >&5
+echo "$as_me: error: cannot use both $libc_add_on and $other add-ons in one build" >&2;}
+   { (exit 1); exit 1; }; }
+  fi
+done