alsa-lib/hgcompile
Takashi Iwai 8a347e4267 Add hgcompile script and fix INSTALL document
Added hgcompile script (just a copy of cvscompile), and
fixed INSTALL document about HG.
2006-05-12 15:33:44 +02:00

17 lines
369 B
Bash
Executable file

#!/bin/bash
touch ltconfig
libtoolize --force --copy --automake
aclocal $ACLOCAL_FLAGS
autoheader
automake --foreign --copy --add-missing
touch depcomp # seems to be missing for old automake
autoconf
export CFLAGS='-O2 -Wall -W -pipe -g'
echo "CFLAGS=$CFLAGS"
echo "./configure $@"
./configure $@ || exit 1
unset CFLAGS
if [ -z "$HGCOMPILE_NO_MAKE" ]; then
make
fi