summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/configure
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2002-05-19 18:37:30 +0000
committerAndreas Jaeger <aj@suse.de>2002-05-19 18:37:30 +0000
commit43ac190514d87929321027d8019c6400a07c5a47 (patch)
treeb941b2900908c01e12afff4991a31d95daf0bd44 /sysdeps/unix/sysv/linux/configure
parent79ab8d898d0e16d8394c0203a14db6080d6841b1 (diff)
downloadglibc-43ac190514d87929321027d8019c6400a07c5a47.tar.gz
glibc-43ac190514d87929321027d8019c6400a07c5a47.tar.xz
glibc-43ac190514d87929321027d8019c6400a07c5a47.zip
Regenerated.
Diffstat (limited to 'sysdeps/unix/sysv/linux/configure')
-rw-r--r--sysdeps/unix/sysv/linux/configure19
1 files changed, 18 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/configure b/sysdeps/unix/sysv/linux/configure
index daeee5f113..b08bbb2973 100644
--- a/sysdeps/unix/sysv/linux/configure
+++ b/sysdeps/unix/sysv/linux/configure
@@ -217,6 +217,23 @@ if test "$linuxthreads_missing"; then
   fi
 fi
 
+if test "$prefix" = "/usr/local" -o "$prefix" = "/usr/local/" -o "$prefix" = "NONE"; then
+  if test $enable_sanity = yes; then
+    echo "\
+*** On GNU/Linux systems the GNU C Library should not be installed into
+*** /usr/local since this might make your system totally unusable.
+*** We strongly advise to use a different prefix.  For details read the FAQ.
+*** If you really mean to do this, run configure again using the extra 
+*** parameter \`--disable-sanity-checks'."
+    exit 1
+  else
+    echo "\
+*** WARNING: Do you really want to install the GNU C Library into /usr/local?
+*** This might make your system totally unusable, for details read the FAQ."
+  fi
+fi
+
+
 # One Linux we use ldconfig.
 use_ldconfig=yes
 
@@ -253,7 +270,7 @@ if test $host = $build; then
     ac_prefix=$ac_default_prefix
   fi
   echo $ac_n "checking for symlinks in ${ac_prefix}/include""... $ac_c" 1>&6
-echo "configure:257: checking for symlinks in ${ac_prefix}/include" >&5
+echo "configure:274: checking for symlinks in ${ac_prefix}/include" >&5
   ac_message=
   if test -L ${ac_prefix}/include/net; then
     ac_message="$ac_message