diff options
author | Lennart Poettering <lennart@lambda.(none)> | 2007-09-04 21:51:48 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@lambda.(none)> | 2007-09-04 21:51:48 +0200 |
commit | 28d28609936bed81ea89676f89313a596dd5e331 (patch) | |
tree | 7ba770e3c1a40abb8992b18e7ed12910725831d6 | |
parent | 1a548ffb4be892da26228dbde8ce7772d6168102 (diff) |
add support for $PULSEAUDIO_SOURCES which when set in configure.ac changes the pulseaduio source tree we are compiling against
-rw-r--r-- | configure.ac | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index af311ad..d4a815e 100644 --- a/configure.ac +++ b/configure.ac @@ -71,7 +71,11 @@ fi PKG_PROG_PKG_CONFIG -if test -d ../pulseaudio ; then +if test x"$PULSEAUDIO_SOURCES" != x ; then + PULSE_CFLAGS="-I${PULSEAUDIO_SOURCES}/src" + PULSE_LIBS="-L${PULSEAUDIO_SOURCES}/src/.libs -lpulse" + echo "*** Using manually configured PA instance in ${PULSEAUDIO_SOURCES} ***" +elif test -d ../pulseaudio ; then PULSE_CFLAGS='-I$(top_srcdir)/../pulseaudio/src' PULSE_LIBS='-L$(top_srcdir)/../pulseaudio/src/.libs -lpulse' echo "*** Found pulseaudio in ../pulseaudio, using that version ***" |