summaryrefslogtreecommitdiff
path: root/src/confmisc.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2007-03-22 00:48:18 +0100
committerTakashi Iwai <tiwai@suse.de>2007-03-22 00:48:18 +0100
commit70e4ec9d08ca7c162dce873d82b5610c700cf707 (patch)
treefa2bd727ca4f527443f56c134264716b648e980c /src/confmisc.c
parent9a75eec6645c7034542f571e63cc5824a5d3e1cd (diff)
Allow build without libdl and libpthread
Allow building alsa-lib without libdl and libpthread. Added new options to configure, --with-libdl and --with-pthread.
Diffstat (limited to 'src/confmisc.c')
-rw-r--r--src/confmisc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/confmisc.c b/src/confmisc.c
index ff22d189..86b8de9c 100644
--- a/src/confmisc.c
+++ b/src/confmisc.c
@@ -946,6 +946,8 @@ int snd_func_card_name(snd_config_t **dst, snd_config_t *root,
SND_DLSYM_BUILD_VERSION(snd_func_card_name, SND_CONFIG_DLSYM_VERSION_EVALUATE);
#endif
+#ifdef BUILD_PCM
+
/**
* \brief Returns the pcm identification of a device.
* \param dst The function puts the handle to the result configuration node
@@ -1199,6 +1201,8 @@ int snd_func_private_pcm_subdevice(snd_config_t **dst, snd_config_t *root ATTRIB
SND_DLSYM_BUILD_VERSION(snd_func_private_pcm_subdevice, SND_CONFIG_DLSYM_VERSION_EVALUATE);
#endif
+#endif /* BUILD_PCM */
+
/**
* \brief Copies the specified configuration node.
* \param dst The function puts the handle to the result configuration node