chiark / gitweb /
login: track login class (i.e. one of "user", "greeter", "lock-screen") for each...
[elogind.git] / autogen.sh
index 7a09c44..9ca5377 100755 (executable)
@@ -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 "----------------------------------------------------------------"