mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2026-03-03 01:40:08 -05:00
Add --disable-alisp configure option
Added --disable-alisp configure option to disable alsip support.
This commit is contained in:
parent
fba26cd668
commit
612216db0d
5 changed files with 25 additions and 7 deletions
|
|
@ -3,8 +3,10 @@ if BUILD_PCM_PLUGIN_SHM
|
||||||
SUBDIRS += aserver
|
SUBDIRS += aserver
|
||||||
endif
|
endif
|
||||||
if BUILD_MIXER
|
if BUILD_MIXER
|
||||||
|
if BUILD_ALISP
|
||||||
SUBDIRS += alsalisp
|
SUBDIRS += alsalisp
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
SUBDIRS += test utils
|
SUBDIRS += test utils
|
||||||
EXTRA_DIST=ChangeLog INSTALL TODO NOTES configure hgcompile libtool depcomp version MEMORY-LEAK
|
EXTRA_DIST=ChangeLog INSTALL TODO NOTES configure hgcompile libtool depcomp version MEMORY-LEAK
|
||||||
AUTOMAKE_OPTIONS=foreign
|
AUTOMAKE_OPTIONS=foreign
|
||||||
|
|
|
||||||
|
|
@ -239,6 +239,9 @@ AC_ARG_ENABLE(seq,
|
||||||
AC_ARG_ENABLE(instr,
|
AC_ARG_ENABLE(instr,
|
||||||
[ --disable-instr Disable the instrument component],
|
[ --disable-instr Disable the instrument component],
|
||||||
[build_instr="$enableval"], [build_instr="yes"])
|
[build_instr="$enableval"], [build_instr="yes"])
|
||||||
|
AC_ARG_ENABLE(alisp,
|
||||||
|
[ --disable-alisp Disable the alisp component],
|
||||||
|
[build_alisp="$enableval"], [build_alisp="yes"])
|
||||||
|
|
||||||
if test "$build_seq" != "yes"; then
|
if test "$build_seq" != "yes"; then
|
||||||
build_instr="no"
|
build_instr="no"
|
||||||
|
|
@ -250,6 +253,7 @@ AM_CONDITIONAL(BUILD_RAWMIDI, test x$build_rawmidi = xyes)
|
||||||
AM_CONDITIONAL(BUILD_HWDEP, test x$build_hwdep = xyes)
|
AM_CONDITIONAL(BUILD_HWDEP, test x$build_hwdep = xyes)
|
||||||
AM_CONDITIONAL(BUILD_SEQ, test x$build_seq = xyes)
|
AM_CONDITIONAL(BUILD_SEQ, test x$build_seq = xyes)
|
||||||
AM_CONDITIONAL(BUILD_INSTR, test x$build_instr = xyes)
|
AM_CONDITIONAL(BUILD_INSTR, test x$build_instr = xyes)
|
||||||
|
AM_CONDITIONAL(BUILD_ALISP, test x$build_alisp = xyes)
|
||||||
|
|
||||||
if test "$build_mixer" = "yes"; then
|
if test "$build_mixer" = "yes"; then
|
||||||
AC_DEFINE([BUILD_MIXER], "1", [Build mixer component])
|
AC_DEFINE([BUILD_MIXER], "1", [Build mixer component])
|
||||||
|
|
|
||||||
|
|
@ -36,8 +36,12 @@ if BUILD_INSTR
|
||||||
SUBDIRS += instr
|
SUBDIRS += instr
|
||||||
libasound_la_LIBADD += instr/libinstr.la
|
libasound_la_LIBADD += instr/libinstr.la
|
||||||
endif
|
endif
|
||||||
SUBDIRS += compat conf alisp
|
if BUILD_ALISP
|
||||||
libasound_la_LIBADD += compat/libcompat.la alisp/libalisp.la -lm -ldl -lpthread
|
SUBDIRS += alisp
|
||||||
|
libasound_la_LIBADD += alisp/libalisp.la endif
|
||||||
|
endif
|
||||||
|
SUBDIRS += compat conf
|
||||||
|
libasound_la_LIBADD += compat/libcompat.la -lm -ldl -lpthread
|
||||||
|
|
||||||
libasound_la_LDFLAGS = -version-info $(COMPATNUM)
|
libasound_la_LDFLAGS = -version-info $(COMPATNUM)
|
||||||
AM_LDFLAGS = $(VSYMS)
|
AM_LDFLAGS = $(VSYMS)
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,9 @@
|
||||||
SUBDIRS=cards pcm
|
SUBDIRS=cards pcm
|
||||||
|
|
||||||
cfg_files = alsa.conf \
|
cfg_files = alsa.conf
|
||||||
sndo-mixer.alisp
|
if BUILD_ALISP
|
||||||
|
cfg_files += sndo-mixer.alisp
|
||||||
|
endif
|
||||||
|
|
||||||
EXTRA_DIST = $(cfg_files)
|
EXTRA_DIST = $(cfg_files)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -46,17 +46,23 @@ cfg_files = aliases.conf \
|
||||||
VIA8237.conf \
|
VIA8237.conf \
|
||||||
VX222.conf \
|
VX222.conf \
|
||||||
VXPocket.conf \
|
VXPocket.conf \
|
||||||
VXPocket440.conf \
|
VXPocket440.conf
|
||||||
\
|
|
||||||
aliases.alisp
|
if BUILD_ALISP
|
||||||
|
cfg_files += aliases.alisp
|
||||||
|
endif
|
||||||
|
|
||||||
alsa_DATA = $(cfg_files)
|
alsa_DATA = $(cfg_files)
|
||||||
|
|
||||||
|
if BUILD_ALISP
|
||||||
SI7018dir = $(datadir)/alsa/cards/SI7018
|
SI7018dir = $(datadir)/alsa/cards/SI7018
|
||||||
SI7018_files = \
|
SI7018_files = \
|
||||||
SI7018/sndoc-mixer.alisp \
|
SI7018/sndoc-mixer.alisp \
|
||||||
SI7018/sndop-mixer.alisp
|
SI7018/sndop-mixer.alisp
|
||||||
SI7018_DATA = $(SI7018_files)
|
SI7018_DATA = $(SI7018_files)
|
||||||
|
else
|
||||||
|
SI7018_files=
|
||||||
|
endif
|
||||||
|
|
||||||
EXTRA_DIST = \
|
EXTRA_DIST = \
|
||||||
$(cfg_files) \
|
$(cfg_files) \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue