2000-10-29 21:51:51 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
2000-10-30 10:31:43 +00:00
|
|
|
if test "x$AUTOMAKE_DIR" = "x"; then
|
|
|
|
|
if test -d /usr/local/share/automake; then
|
|
|
|
|
AUTOMAKE_DIR=/usr/local/share/automake
|
|
|
|
|
fi
|
|
|
|
|
if test -d /usr/share/automake; then
|
|
|
|
|
AUTOMAKE_DIR="/usr/share/automake"
|
|
|
|
|
fi
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
for f in install-sh mkinstalldirs missing; do
|
|
|
|
|
cp -av $AUTOMAKE_DIR/$f .
|
|
|
|
|
done
|
2000-10-29 21:51:51 +00:00
|
|
|
|
|
|
|
|
aclocal $ACLOCAL_FLAGS
|
2002-10-24 12:26:42 +00:00
|
|
|
automake --foreign --add-missing --copy
|
|
|
|
|
touch depcomp
|
2000-10-29 21:51:51 +00:00
|
|
|
autoconf
|
|
|
|
|
export CFLAGS='-O2 -Wall -pipe -g'
|
|
|
|
|
echo "CFLAGS=$CFLAGS"
|
|
|
|
|
echo "./configure $@"
|
|
|
|
|
./configure $@
|
|
|
|
|
unset CFLAGS
|
|
|
|
|
make
|