]> git.alsa-project.org Git - alsa-oss.git/commitdiff
Add hgcompile script
authorTakashi Iwai <tiwai@suse.de>
Fri, 12 May 2006 13:34:58 +0000 (15:34 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 12 May 2006 13:34:58 +0000 (15:34 +0200)
Added hgcompile script.

hgcompile [new file with mode: 0755]

diff --git a/hgcompile b/hgcompile
new file mode 100755 (executable)
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