From 23969a4622daeed3682b402cf69613ef813414e5 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Fri, 12 May 2006 15:35:23 +0200 Subject: Add hgcompile script Added hgcompile script. --- hgcompile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 hgcompile (limited to 'hgcompile') diff --git a/hgcompile b/hgcompile new file mode 100755 index 0000000..484a400 --- /dev/null +++ b/hgcompile @@ -0,0 +1,17 @@ +#!/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 -- cgit