aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2012-01-05 17:57:02 +0100
committerKay Sievers <kay.sievers@vrfy.org>2012-01-05 17:57:02 +0100
commitfbe224e2032cfbd9ea664a64c5254756ce5b5448 (patch)
treef4adc124c7a6c2794322985baf85443ec1fff3ce /autogen.sh
parentbuild-sys: add headers to EXTRA_DIST to fix 'make distcheck' (diff)
downloadsystemd-fbe224e2032cfbd9ea664a64c5254756ce5b5448.tar.gz
systemd-fbe224e2032cfbd9ea664a64c5254756ce5b5448.tar.bz2
systemd-fbe224e2032cfbd9ea664a64c5254756ce5b5448.zip
autogen: add --with-rootlibdir= and switch /usr/local to /usr
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/autogen.sh b/autogen.sh
index 60a0286ac..3b9dd1fd1 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -68,11 +68,12 @@ else
if [ "x$1" != "xac" ]; then
CFLAGS="$CFLAGS -g -O0" ./configure \
+ --with-rootprefix= \
--sysconfdir=/etc \
--localstatedir=/var \
+ --libdir=$(libdir /usr/lib) \
+ --with-rootlibdir=$(libdir /lib) \
--libexecdir=/usr/lib \
- --libdir=$(libdir /usr/local/lib) \
- --with-rootprefix= \
"$@"
make clean
fi