summaryrefslogtreecommitdiff
path: root/src/confmisc.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2007-05-03 20:55:54 +0200
committerTakashi Iwai <tiwai@suse.de>2007-05-03 20:55:54 +0200
commit21888c5f509323b481f321a8d4242540d6aaf9b4 (patch)
treefad9c7159b4f52bd623fd020effba0c302b953f1 /src/confmisc.c
parent4c9e869ea38eaccd2deb77e371bea71cdcf1b758 (diff)
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.
Diffstat (limited to 'src/confmisc.c')
-rw-r--r--src/confmisc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/confmisc.c b/src/confmisc.c
index 86b8de9c..b0b03019 100644
--- a/src/confmisc.c
+++ b/src/confmisc.c
@@ -588,7 +588,7 @@ int snd_func_datadir(snd_config_t **dst, snd_config_t *root ATTRIBUTE_UNUSED,
err = snd_config_get_id(src, &id);
if (err < 0)
return err;
- return snd_config_imake_string(dst, id, DATADIR "/alsa");
+ return snd_config_imake_string(dst, id, ALSA_CONFIG_DIR);
}
#ifndef DOC_HIDDEN
SND_DLSYM_BUILD_VERSION(snd_func_datadir, SND_CONFIG_DLSYM_VERSION_EVALUATE);