bcachefs-tools/autogen.sh
Claudio Fleiner 24e98ce46d Adding autotools support to bcache-tools
thie enables building it in a different directory, more
flexible install and configure options, and should make it
easier to eventualy create deb and rpm packages. Additionally
this makes it much easier to build and test this package
as it now behaves the same way as others we are using.
2013-10-28 22:47:23 -07:00

19 lines
294 B
Bash
Executable File

#!/bin/bash
set -e
export ACLOCAL_FLAGS=""
export ACLOCAL_AMFLAGS="-I m4"
aclocal $ACLOCAL_FLAGS
if glibtoolize -h > /dev/null 2>&1 ; then
glibtoolize --copy --force
else
libtoolize --copy --force
fi
autoheader
automake --copy --add-missing --foreign -Wall -Wno-portability
autoconf