mirror of
https://github.com/alsa-project/alsa-tools.git
synced 2025-10-29 05:40:25 -04:00
Fix cvscompile
- Use autoreconf. - Check as10k1 program in configure.
This commit is contained in:
parent
2df1aa7c20
commit
83b4a93e03
4 changed files with 8 additions and 19 deletions
|
|
@ -15,6 +15,11 @@ LIBS="$LIBS $ALSA_LIBS"
|
|||
effectsdir='$(pkgdatadir)/effects'
|
||||
AC_SUBST(effectsdir)
|
||||
|
||||
AC_CHECK_PROG(AS10K1, as10k1, as10k1)
|
||||
if test -z "$AS10K1"; then
|
||||
AC_MSG_ERROR([as10k1 is not installed])
|
||||
fi
|
||||
|
||||
#taken from alsa-lib
|
||||
dnl Make a symlink for inclusion of lo10k1/xxx.h
|
||||
if test ! -L include/lo10k1 ; then
|
||||
|
|
|
|||
|
|
@ -31,4 +31,4 @@ CLEANFILES = $(dist_effects_DATA)
|
|||
SUFFIXEC = .asm .emu10k1
|
||||
|
||||
.asm.emu10k1:
|
||||
as10k1 -o $@ $<
|
||||
$(AS10K1) -o $@ $<
|
||||
|
|
|
|||
|
|
@ -1,22 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
if test "x$AUTOMAKE_DIR" = "x"; then
|
||||
if test -d /usr/local/share/automake; then
|
||||
AUTOMAKE_DIR=/usr/local/share/automake
|
||||
fi
|
||||
if test -d /usr/share/automake; then
|
||||
AUTOMAKE_DIR="/usr/share/automake"
|
||||
fi
|
||||
fi
|
||||
|
||||
for f in install-sh mkinstalldirs missing; do
|
||||
cp -av $AUTOMAKE_DIR/$f .
|
||||
done
|
||||
|
||||
aclocal $ACLOCAL_FLAGS
|
||||
automake --add-missing --copy
|
||||
touch depcomp
|
||||
autoconf
|
||||
autoreconf -fi
|
||||
export CFLAGS='-O2 -Wall -pipe -g'
|
||||
echo "CFLAGS=$CFLAGS"
|
||||
echo "./configure $@"
|
||||
|
|
|
|||
|
|
@ -15,4 +15,4 @@ CLEANFILES = $(dist_effects_DATA)
|
|||
SUFFIXEC = .asm .emu10k1
|
||||
|
||||
.asm.emu10k1:
|
||||
as10k1 -o $@ $<
|
||||
$(AS10K1) -o $@ $<
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue