Add config and plugin directory options to configure

Added --with-configdir and --with-plugindir options to configure
which specify the directories for config files and plugin objects
respectively.  The default paths when these options are not
specified are unchanged.
This commit is contained in:
Takashi Iwai 2007-05-03 20:55:54 +02:00
parent 4c9e869ea3
commit 21888c5f50
14 changed files with 51 additions and 31 deletions

View file

@ -10,5 +10,5 @@ endif
EXTRA_DIST = $(cfg_files)
alsadir = $(datadir)/alsa
alsadir = @ALSA_CONFIG_DIR@
alsa_DATA = $(cfg_files)

View file

@ -1,4 +1,4 @@
alsadir = $(datadir)/alsa/cards
alsadir = @ALSA_CONFIG_DIR@/cards
cfg_files = aliases.conf \
AACI.conf \
ATIIXP.conf \
@ -56,7 +56,7 @@ endif
alsa_DATA = $(cfg_files)
if BUILD_ALISP
SI7018dir = $(datadir)/alsa/cards/SI7018
SI7018dir = @ALSA_CONFIG_DIR@/cards/SI7018
SI7018_files = \
SI7018/sndoc-mixer.alisp \
SI7018/sndop-mixer.alisp

View file

@ -7,5 +7,5 @@ cfg_files = default.conf front.conf rear.conf center_lfe.conf side.conf\
EXTRA_DIST = $(cfg_files)
alsadir = $(datadir)/alsa/pcm
alsadir = @ALSA_CONFIG_DIR@/pcm
alsa_DATA = $(cfg_files)