| 1 | #!/bin/bash |
| 2 | |
| 3 | touch ltconfig |
| 4 | libtoolize --force --copy --automake |
| 5 | aclocal $ACLOCAL_FLAGS |
| 6 | autoheader |
| 7 | automake --foreign --copy --add-missing |
| 8 | touch depcomp # seems to be missing for old automake |
| 9 | autoconf |
| 10 | export CFLAGS='-O2 -Wall -W -pipe -g' |
| 11 | echo "CFLAGS=$CFLAGS" |
| 12 | echo "./configure $@" |
| 13 | ./configure $@ || exit 1 |
| 14 | unset CFLAGS |
| 15 | if [ -z "$GITCOMPILE_NO_MAKE" ]; then |
| 16 | make |
| 17 | fi |