Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | #!/bin/bash |
2 | |||||
3 | aclocal $ACLOCAL_FLAGS || exit 1 | ||||
4 | automake --foreign --add-missing || exit 1 | ||||
5 | autoconf || exit 1 | ||||
6 | export CFLAGS='-O2 -Wall -pipe -g' | ||||
7 | echo "CFLAGS=$CFLAGS" | ||||
8 | echo "./configure $@" | ||||
9 | ./configure $@ || exit 1 | ||||
10 | unset CFLAGS | ||||
11 | if [ -z "$GITCOMPILE_NO_MAKE" ]; then | ||||
12 | make || exit 1 | ||||
13 | fi |