3
if test -z "$AUTOMAKE_DIR"; then
4
if test -d /usr/local/share/automake; then
5
AUTOMAKE_DIR=/usr/local/share/automake
7
if test -d /usr/share/automake; then
8
AUTOMAKE_DIR="/usr/share/automake"
10
if test -z "$AUTOMAKE_DIR"; then
11
AUTOMAKE_DIR=/usr/share/`ls /usr/share | grep automake | tail -n 1`
15
for f in install-sh mkinstalldirs missing; do
16
cp -av $AUTOMAKE_DIR/$f . || exit 1
19
aclocal $ACLOCAL_FLAGS || exit 1
20
automake --foreign --add-missing --copy || exit 1
21
touch depcomp || exit 1
23
export CFLAGS='-O2 -Wall -pipe -g'
26
./configure $@ || exit 1
28
if [ -z "$GITCOMPILE_NO_MAKE" ]; then