summaryrefslogtreecommitdiff
path: root/gitcompile
blob: 0098413295d2311be6dfaf2f5c4e42389bf8726b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash

libtoolize --force --copy --automake
aclocal $ACLOCAL_FLAGS
# save original files to avoid stupid modifications by gettextize
autoheader
automake --foreign --copy --add-missing
touch depcomp		# for older automake
autoconf
export CFLAGS='-O2 -Wall -pipe -g'
echo "CFLAGS=$CFLAGS"
echo "./configure $@"
./configure $@ || exit 1
unset CFLAGS
if [ -z "$GITCOMPILE_NO_MAKE" ]; then
  make
fi