CVS fixes

This commit is contained in:
Abramo Bagnara 2000-10-30 10:31:43 +00:00
parent 8785f9288e
commit 9518a4581f

View file

@ -1,18 +1,20 @@
#!/bin/bash
share=/usr/share/automake/missing
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
aclocal $ACLOCAL_FLAGS
automake --foreign
if [ ! -r install-sh ]; then
cp $share/install-sh .
fi
if [ ! -r mkinstalldirs ]; then
cp $share/mkinstalldirs .
fi
if [ ! -r missing ]; then
cp $share/missing .
fi
automake --foreign --add-missing
autoconf
export CFLAGS='-O2 -Wall -pipe -g'
echo "CFLAGS=$CFLAGS"