Patch for --prefix=/usr/
Andreas Jaeger
aj@suse.de
Sun Feb 27 09:24:00 GMT 2000
I got a bug report where somebody specified /usr/ instead of just /usr
as prefix on Linux - and the files went into /usr/lib instead of /lib.
I'm appending a patch to handle this.
Andreas
2000-02-27 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/configure.in: Treat also "/usr/" as
prefix especially.
============================================================
Index: sysdeps/unix/sysv/linux/configure.in
--- sysdeps/unix/sysv/linux/configure.in 2000/02/11 18:50:21 1.27
+++ sysdeps/unix/sysv/linux/configure.in 2000/02/27 16:56:50
@@ -62,7 +62,7 @@
# files. I.e., when the installation prefix is "/usr" we have to place
# shared library objects and the configuration files on the root partition
# in /lib and /etc.
-if test "$prefix" = "/usr"; then
+if test "$prefix" = "/usr" -o "$prefix" = "/usr/"; then
# 64bit libraries on sparc go to /lib64 and not /lib
if test "$machine" = "sparc/sparc64"; then
libc_cv_slibdir="/lib64"
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.rhein-neckar.de
More information about the Libc-hacker
mailing list