aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2007-07-06 11:02:53 +0200
committerTakashi Iwai <tiwai@suse.de>2007-07-06 11:02:53 +0200
commit6884a1595a33529f647ede2c3d7d0b1aaa8d001a (patch)
tree9171a1b24d3c2e2d81d5593bb69072b1c02aa4a2
parent9bf761f6c028e2f8a123e1927b2da2bb6380858a (diff)
downloadsalsa-lib-6884a1595a33529f647ede2c3d7d0b1aaa8d001a.tar.gz
fix asoundlib.h without pcm support
-rw-r--r--configure.ac1
-rw-r--r--src/asoundlib-head.h1
2 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index b68c51d..43353d8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -135,6 +135,7 @@ AC_OUTPUT([
echo "Creating asoundlib.h..."
cp "$srcdir"/src/asoundlib-head.h src/asoundlib.h
+test "$pcm" = "yes" && echo "#include \"pcm.h\"" >> src/asoundlib.h
test "$mixer" = "yes" && echo "#include \"mixer.h\"" >> src/asoundlib.h
test "$rawmidi" = "yes" && echo "#include \"rawmidi.h\"" >> src/asoundlib.h
test "$hwdep" = "yes" && echo "#include \"hwdep.h\"" >> src/asoundlib.h
diff --git a/src/asoundlib-head.h b/src/asoundlib-head.h
index 7074474..a1c93fc 100644
--- a/src/asoundlib-head.h
+++ b/src/asoundlib-head.h
@@ -45,4 +45,3 @@ extern "C" {
#include "output.h"
#include "error.h"
#include "control.h"
-#include "pcm.h"