Fix cvscompile

- Use autoreconf.
- Check as10k1 program in configure.
This commit is contained in:
Takashi Iwai 2005-03-18 16:34:28 +00:00
parent 2df1aa7c20
commit 83b4a93e03
4 changed files with 8 additions and 19 deletions

View file

@ -1,22 +1,6 @@
#!/bin/bash
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 --add-missing --copy
touch depcomp
autoconf
autoreconf -fi
export CFLAGS='-O2 -Wall -pipe -g'
echo "CFLAGS=$CFLAGS"
echo "./configure $@"