Simplify autogen.sh

Make use of the autoreconf tool
This commit is contained in:
Max Horn 2016-02-14 22:09:52 +01:00
parent 35657208d7
commit 471cd60635

View File

@ -1,15 +1,3 @@
#!/bin/sh
glibtoolize=$(which glibtoolize 2> /dev/null)
if [ ${#glibtoolize} -gt 0 ]
then libtoolize=glibtoolize
else libtoolize=libtoolize
fi
mkdir -p m4
aclocal -I m4
autoconf
autoheader
$libtoolize --copy --force
automake --add-missing --copy
autoreconf --install --force