From 6c37fd79538bae79ce50a073899e19501385fb72 Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Mon, 11 Apr 2005 13:15:52 +0000 Subject: [PATCH] Don't require as10k1 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 --- ld10k1/configure.in | 4 +--- ld10k1/setup/effects/Makefile.am | 6 ++++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ld10k1/configure.in b/ld10k1/configure.in index 8f9078c..20c4af8 100644 --- a/ld10k1/configure.in +++ b/ld10k1/configure.in @@ -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 diff --git a/ld10k1/setup/effects/Makefile.am b/ld10k1/setup/effects/Makefile.am index 13a11df..38043cd 100644 --- a/ld10k1/setup/effects/Makefile.am +++ b/ld10k1/setup/effects/Makefile.am @@ -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 -- 2.47.1