alsa-lib/hgcompile
Takashi Iwai 65f397845a make sure commands in cvs/hg compile scripts worked
simple patch ... just add 'set -e' to the top of the files in alsa-lib :)

From: Mike Frysinger <vapier@gentoo.org>
2006-09-26 15:37:07 +02:00

19 lines
377 B
Bash
Executable file

#!/bin/bash
set -e
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