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

This commit is contained in:
Kay Sievers 2012-02-07 03:23:05 +01:00
parent acb14d318b
commit 772f4698ff

View file

@ -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 "----------------------------------------------------------------"