From: Jaroslav Kysela Date: Tue, 27 Oct 2015 11:02:09 +0000 (+0100) Subject: add gitcompile X-Git-Tag: v1.1.0~1 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=173af40555fdad175e2426b1aa1513fb7f3dfadc;p=tinycompress.git add gitcompile --- diff --git a/gitcompile b/gitcompile new file mode 100755 index 0000000..d4c3bcf --- /dev/null +++ b/gitcompile @@ -0,0 +1,17 @@ +#!/bin/bash + +libtoolize --force --copy --automake +aclocal $alsa_m4_flags $ACLOCAL_FLAGS +# save original files to avoid stupid modifications by gettextize +autoheader +automake --foreign --copy --add-missing +touch depcomp # for older automake +autoconf +export CFLAGS='-O2 -Wall -pipe -g' +echo "CFLAGS=$CFLAGS" +echo "./configure $@" +./configure $@ || exit 1 +unset CFLAGS +if [ -z "$GITCOMPILE_NO_MAKE" ]; then + make +fi