From: Takashi Iwai Date: Fri, 12 May 2006 13:37:26 +0000 (+0200) Subject: Add hgcompile script X-Git-Tag: v1.0.12rc1~3 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=ba971bd2c1a4e00f115b6667a18dee64c1aa56be;p=alsa-firmware.git Add hgcompile script Added hgcompile script. --- diff --git a/hgcompile b/hgcompile new file mode 100755 index 0000000..8b5109b --- /dev/null +++ b/hgcompile @@ -0,0 +1,14 @@ +#!/bin/bash + +libtoolize --automake --copy +aclocal $ACLOCAL_FLAGS +automake --foreign --copy --add-missing +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