diff options
author | Andreas Jaeger <aj@suse.de> | 2002-05-19 18:37:21 +0000 |
---|---|---|
committer | Andreas Jaeger <aj@suse.de> | 2002-05-19 18:37:21 +0000 |
commit | 79ab8d898d0e16d8394c0203a14db6080d6841b1 (patch) | |
tree | 839e1bdafafbe642d8dd911269b16c4514c79f60 /sysdeps | |
parent | bc9307fc941edf641f2cf1f9cfaa0cc0aaf5e91e (diff) | |
download | glibc-79ab8d898d0e16d8394c0203a14db6080d6841b1.zip glibc-79ab8d898d0e16d8394c0203a14db6080d6841b1.tar.gz glibc-79ab8d898d0e16d8394c0203a14db6080d6841b1.tar.bz2 |
Warn against installing into /usr/local
2002-05-19 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/configure.in: Warn against an
installation in /usr/local.
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/unix/sysv/linux/configure.in | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/configure.in b/sysdeps/unix/sysv/linux/configure.in index 486b10d..5362d45 100644 --- a/sysdeps/unix/sysv/linux/configure.in +++ b/sysdeps/unix/sysv/linux/configure.in @@ -185,6 +185,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 |