OSDN Git Service

Fix for alsa-lib cross-compilation problems with ALSA_CONFIG_DIR and ALSA_PLUGIN_DIR
authorPawel MOLL <pawel.moll@st.com>
Fri, 7 Mar 2008 16:18:16 +0000 (17:18 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 7 Mar 2008 16:18:16 +0000 (17:18 +0100)
commitd587383d6b2dba9731959d5b5ad11e672fb361c7
tree795aa143fd2ebe6071054223dd4dcff5dfce4064
parentdf87a4be3de3fe86cefa73bc435469d163b3dcce
Fix for alsa-lib cross-compilation problems with ALSA_CONFIG_DIR and ALSA_PLUGIN_DIR

"./configure" options for selecting ALSA configuration (default
/usr/share/alsa) and plugin (/usr/lib/alsa-lib) directories introduced
by alsa-hg/alsa-lib changeset 2284 cause problems with cross-compilation
and packaging - there is no way to redefine them in runtime, during
installation phase.

This patch adds a level of indirection between constants and their
usage - alsaconfigdir for ALSA_CONFIG_DIR and alsaplugindir for
ALSA_PLUGIN_DIR - which can be redefined during "make install" stage.

Signed-off-by: Pawel MOLL <pawel.moll@st.com>
modules/mixer/simple/Makefile.am
src/conf/Makefile.am
src/conf/cards/Makefile.am
src/conf/pcm/Makefile.am