| 1 |
#!/usr/bin/env bash |
| 2 |
# -*- sh -*- |
| 3 |
set -ex # exit on error |
| 4 |
libtoolize --force --copy |
| 5 |
aclocal |
| 6 |
autoheader |
| 7 |
automake --foreign --add-missing --copy |
| 8 |
autoconf |
| 9 |
if [ "$1" = "-a" ]; then |
| 10 |
./configure --prefix=/usr --enable-shared --enable-static |
| 11 |
make |
| 12 |
make dist |
| 13 |
fi |