diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2011-05-27 13:23:34 +0200 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2011-05-27 13:23:34 +0200 |
commit | 870921a99f2434a2089367283e908fe77dda5e4b (patch) | |
tree | ac053a766e832bd98e3b7c6e41611492d7e18018 | |
parent | 913209ab9acfcd4b547fa0f0d9edbe351f36895e (diff) | |
download | cmumble-870921a99f2434a2089367283e908fe77dda5e4b.tar.gz cmumble-870921a99f2434a2089367283e908fe77dda5e4b.tar.bz2 cmumble-870921a99f2434a2089367283e908fe77dda5e4b.zip |
configure.ac: Check for needed gstreamer elements
-rw-r--r-- | configure.ac | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 84ef3d6..31a6316 100644 --- a/configure.ac +++ b/configure.ac @@ -1,4 +1,5 @@ AC_PREREQ([2.64]) + AC_INIT([cmumble], [0.1], [benjaminfranzke@googlemail.com], @@ -27,6 +28,15 @@ PKG_CHECK_MODULES(GSTREAMER, [gstreamer-0.10 gstreamer-app-0.10],, [AC_MSG_ERROR([gstreamer-0.10 or gstreamer-app-0.10 missing])]) PKG_CHECK_MODULES(CELT, [celt],,[AC_MSG_ERROR([celt missing])]) +GST_ELEMENTS="appsrc appsink celtdec celtenc capsfilter + audioconvert audioresample autoaudiosrc autoaudiosink" + +for element in $GST_ELEMENTS +do + AM_GST_ELEMENT_CHECK([$element], [], + AC_MSG_ERROR([gstreamer element $element not found])) +done + PROTOBUF_EXECUTABLE=`pkg-config --variable=exec_prefix libprotobuf-c` if test -n "$PROTOBUF_EXECUTABLE"; then PROTOBUF_EXECUTABLE=protoc-c |