]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit - configure.ac
update configure defaults
authorChristoph Hellwig <hch@lst.de>
Sat, 10 Oct 2009 21:02:53 +0000 (17:02 -0400)
committerhch@lst.de <Christoph Hellwig>
Sat, 10 Oct 2009 21:02:53 +0000 (17:02 -0400)
commit595e27dbd7360e81fa9e74d992098fe44fd7aed5
tree8b2fdc75452a77c66a63250cc7eaba38bf42e8b6
parenta22714b8639ff0830296dc91124320c683354db4
update configure defaults

Currenly xfsprogs has two different sets of defauls for it's installation
layout.  One is in set in the configure.in file and used when running
./configure directly, and the second one is passed by make to ./configure
when configuring through make.

The defaults in the makefile are a lot better, as they install xfsprogs
into the / vs /usr split used by most distributions and enable multi-libs
when detected.

This patch changes the build system to also use the same defaults when
running ./configure.  To do this we get rid of some of the hacky
autoconf abuse we had in the past in xfsprogs and just use the normal
default sbindir and libdir variables for /usr/sbin an /usr/lib respecticly
and define new root_sbindir and root_libdir variables for those few
binaries installed into /.  The installation to / is disabled if the
user chooses a non-default exec prefix.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Eric Sandeen <sandeen@sandeen.net>
18 files changed:
Makefile
configure.in
copy/Makefile
db/Makefile
debian/Makefile
estimate/Makefile
fsck/Makefile
fsr/Makefile
growfs/Makefile
include/builddefs.in
include/buildmacros
io/Makefile
logprint/Makefile
mdrestore/Makefile
mkfs/Makefile
quota/Makefile
repair/Makefile
rtcp/Makefile