diff options
| author | Takashi Iwai <tiwai@suse.de> | 2006-05-12 15:35:23 +0200 | 
|---|---|---|
| committer | Takashi Iwai <tiwai@suse.de> | 2006-05-12 15:35:23 +0200 | 
| commit | 23969a4622daeed3682b402cf69613ef813414e5 (patch) | |
| tree | 2013d2ff2fc4fc90244841fedc86c7e47110b014 | |
| parent | 48e2f783f4f72c7021e858054838ff47d89951f4 (diff) | |
Add hgcompile script
Added hgcompile script.
| -rw-r--r-- | Makefile.am | 2 | ||||
| -rwxr-xr-x | hgcompile | 17 | 
2 files changed, 18 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index f33191d..8cef8bd 100644 --- a/Makefile.am +++ b/Makefile.am @@ -12,7 +12,7 @@ A52DIR = a52  endif  SUBDIRS = oss mix $(JACKDIR) $(POLYPDIR) $(SAMPLERATEDIR) $(A52DIR) doc -EXTRA_DIST = cvscompile version COPYING.GPL +EXTRA_DIST = hgcompile version COPYING.GPL  AUTOMAKE_OPTIONS = foreign  dist-hook: 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  | 
