]> git.alsa-project.org Git - alsa-tools.git/commitdiff
Don't require as10k1
authorMikael Magnusson <mikma@users.sourceforge.net>
Mon, 11 Apr 2005 13:15:52 +0000 (13:15 +0000)
committerTakashi Iwai <tiwai@suse.de>
Mon, 11 Apr 2005 13:15:52 +0000 (13:15 +0000)
Don't require as10k1 in the configure script and remove the .emu10k1
files in maintainer-clean instead of clean, since the assembled
.emu10k1 files are included in the alsa-tools dist.

Signed-off-by: Mikael Magnusson <mikma@users.sourceforge.net>
ld10k1/configure.in
ld10k1/setup/effects/Makefile.am

index 8f9078ca56e236911a50b414cd242d3c599b3d0f..20c4af8214467e1b6a24b58b1c365614a92edaf3 100644 (file)
@@ -16,9 +16,7 @@ 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
+AM_CONDITIONAL(HAVE_AS10K1, test x"$AS10K1" != x)
 
 #taken from alsa-lib
 dnl Make a symlink for inclusion of lo10k1/xxx.h
index 13a11df2d63b27c8eba3b0e75940b8cb99dd4133..38043cde1b6751093613ebad267877450950ca9a 100644 (file)
@@ -10,9 +10,11 @@ dist_effects_DATA = simple.emu10k1 vol_master.emu10k1 tone.emu10k1 \
        sto51.emu10k1 switch_6.emu10k1 copy_2.emu10k1 \
        prologic.emu10k1 fxbus.emu10k1
 
-CLEANFILES = $(dist_effects_DATA)
+MAINTAINERCLEANFILES = $(dist_effects_DATA)
 
-SUFFIXEC = .asm .emu10k1
+SUFFIXES = .asm .emu10k1
 
+if HAVE_AS10K1
 .asm.emu10k1:
        $(AS10K1) -o $@ $<
+endif HAVE_AS10K1