1999-01-30 20:12:34 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
2003-11-24 09:13:37 +01:00
|
|
|
if test -d ../alsa-lib/utils && ! test -r `aclocal --print-ac-dir`/alsa.m4; then
|
2003-05-01 10:28:15 +02:00
|
|
|
alsa_m4_flags="-I ../alsa-lib/utils"
|
|
|
|
fi
|
|
|
|
aclocal $alsa_m4_flags $ACLOCAL_FLAGS
|
2005-08-19 15:07:45 +02:00
|
|
|
# save original files to avoid stupid modifications by gettextize
|
|
|
|
cp Makefile.am Makefile.am.ok
|
2005-08-19 13:30:25 +02:00
|
|
|
cp configure.in configure.in.ok
|
|
|
|
gettextize -c -f --no-changelog
|
2005-08-19 15:07:45 +02:00
|
|
|
echo "EXTRA_DIST = gettext.m4" > m4/Makefile.am
|
|
|
|
cp Makefile.am.ok Makefile.am
|
2005-08-19 13:30:25 +02:00
|
|
|
cp configure.in.ok configure.in
|
2002-08-06 09:09:12 +02:00
|
|
|
autoheader
|
2002-10-23 17:00:24 +02:00
|
|
|
automake --foreign --copy --add-missing
|
2002-10-24 14:10:53 +02:00
|
|
|
touch depcomp # for older automake
|
1999-01-30 20:12:34 +01:00
|
|
|
autoconf
|
1999-07-22 10:37:35 +02:00
|
|
|
export CFLAGS='-O2 -Wall -pipe -g'
|
1999-02-17 10:45:08 +01:00
|
|
|
echo "CFLAGS=$CFLAGS"
|
|
|
|
echo "./configure $@"
|
2001-11-26 19:24:41 +01:00
|
|
|
./configure $@ || exit 1
|
1999-01-30 20:12:34 +01:00
|
|
|
unset CFLAGS
|
2001-11-26 19:24:41 +01:00
|
|
|
if [ -z "$CVSCOMPILE_NO_MAKE" ]; then
|
|
|
|
make
|
|
|
|
fi
|