From: Kay Sievers Date: Tue, 7 Feb 2012 02:23:05 +0000 (+0100) Subject: autogen.sh: detect historic split-system-directories and add root options X-Git-Tag: v40~2 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=772f4698ff415ce8e3c97944c59c4dbcdda4d92d;p=systemd autogen.sh: detect historic split-system-directories and add root options --- diff --git a/autogen.sh b/autogen.sh index 7a09c44d..9ca53772 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 "----------------------------------------------------------------"