alsa-utils/cvscompile
Takashi Iwai 9cbb9ba893 Create m4 directory
Create m4 directory (which was removed from cvs repo)
2005-08-19 12:43:59 +00:00

23 lines
591 B
Bash

#!/bin/bash
if test -d ../alsa-lib/utils && ! test -r `aclocal --print-ac-dir`/alsa.m4; then
alsa_m4_flags="-I ../alsa-lib/utils"
fi
aclocal $alsa_m4_flags $ACLOCAL_FLAGS
mkdir -p m4
echo "EXTRA_DIST = gettext.m4" > m4/Makefile.am
cp configure.in configure.in.ok
gettextize -c -f --no-changelog
cp configure.in.ok configure.in
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 "$CVSCOMPILE_NO_MAKE" ]; then
make
fi