chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
socket: add option for SO_PASSEC
[elogind.git]
/
autogen.sh
diff --git
a/autogen.sh
b/autogen.sh
index 7a09c44dbc4d2502869881cac3c676849e181e6f..9ca53772a4dd8cebb92712635c1cc481f0701274 100755
(executable)
--- a/
autogen.sh
+++ b/
autogen.sh
@@
-29,13
+29,18
@@
libdir() {
}
args="\
}
args="\
---with-rootprefix= \
--sysconfdir=/etc \
--localstatedir=/var \
--libdir=$(libdir /usr/lib) \
--sysconfdir=/etc \
--localstatedir=/var \
--libdir=$(libdir /usr/lib) \
---with-rootlibdir=$(libdir /lib) \
--libexecdir=/usr/lib"
--libexecdir=/usr/lib"
+if [ ! -L /bin ]; then
+args="$args \
+--with-rootprefix= \
+--with-rootlibdir=$(libdir /lib) \
+"
+fi
+
if [ "x$1" != "xc" ]; then
echo
echo "----------------------------------------------------------------"
if [ "x$1" != "xc" ]; then
echo
echo "----------------------------------------------------------------"