mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-11-09 03:15:42 +01:00
18 lines
389 B
Bash
18 lines
389 B
Bash
#!/bin/bash
|
|
|
|
if test -d ../alsa-lib/utils; then
|
|
alsa_m4_flags="-I ../alsa-lib/utils"
|
|
fi
|
|
aclocal $alsa_m4_flags $ACLOCAL_FLAGS
|
|
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
|