diff options
author | Takashi Iwai <tiwai@suse.de> | 2007-07-06 11:02:53 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2007-07-06 11:02:53 +0200 |
commit | 6884a1595a33529f647ede2c3d7d0b1aaa8d001a (patch) | |
tree | 9171a1b24d3c2e2d81d5593bb69072b1c02aa4a2 | |
parent | 9bf761f6c028e2f8a123e1927b2da2bb6380858a (diff) | |
download | salsa-lib-6884a1595a33529f647ede2c3d7d0b1aaa8d001a.tar.gz |
fix asoundlib.h without pcm support
-rw-r--r-- | configure.ac | 1 | ||||
-rw-r--r-- | src/asoundlib-head.h | 1 |
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" |