[systemd-commits] autogen.sh

Kay Sievers kay at kemper.freedesktop.org
Mon Feb 6 18:24:17 PST 2012


 autogen.sh |    9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

New commits:
commit 772f4698ff415ce8e3c97944c59c4dbcdda4d92d
Author: Kay Sievers <kay.sievers at vrfy.org>
Date:   Tue Feb 7 03:23:05 2012 +0100

    autogen.sh: detect historic split-system-directories and add root options

diff --git a/autogen.sh b/autogen.sh
index 7a09c44..9ca5377 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -29,13 +29,18 @@ libdir() {
 }
 
 args="\
---with-rootprefix= \
 --sysconfdir=/etc \
 --localstatedir=/var \
 --libdir=$(libdir /usr/lib) \
---with-rootlibdir=$(libdir /lib) \
 --libexecdir=/usr/lib"
 
+if [ ! -L /bin ]; then
+args="$args \
+--with-rootprefix= \
+--with-rootlibdir=$(libdir /lib) \
+"
+fi
+
 if [ "x$1" != "xc" ]; then
     echo
     echo "----------------------------------------------------------------"



More information about the systemd-commits mailing list