Files
sysbench/autogen.sh
Alexey Kopytov df31f6767f * Removed autogenerated ltmain.sh from the repository.
* Upgraded autogen.sh to invoke libtoolize to simplify
  building from the Bazaar repository.
* Updated docs.
2009-07-28 15:41:45 +04:00

19 lines
381 B
Bash
Executable File

#!/bin/sh
aclocal || exit 1
LIBTOOLIZE=""
for f in libtoolize glibtoolize ; do
if $f --version >/dev/null 2>&1 ; then
LIBTOOLIZE=$f
break
fi
done
if test -z "$LIBTOOLIZE"; then
echo "libtoolize not found, you may want to install libtool on your system"
exit 1
fi
$LIBTOOLIZE --copy --force || exit 1
automake -c --foreign --add-missing && autoheader && autoconf