+AC_ARG_ENABLE(binaries, [ --disable-binaries Do not build the encoder and decoder binaries, only the library])
+if test "$enable_binaries" != no; then
+ XIPH_PATH_OGG([src="src"], [src=""])
+else
+ src=""
+fi
+
AC_SUBST(src)
LT_LIB_M
@@ -339,7 +345,7 @@ AC_CONFIG_HEADERS([config.h])
AC_OUTPUT
-if test "x$src" = "x"; then
+if test "x$src" = "x" -a "$enable_binaries" != no; then
echo "**IMPORTANT**"
echo "You don't seem to have the development package for libogg (libogg-devel) installed. Only the Speex library (libspeex) will be built (no encoder/decoder executable)"
echo "You can download libogg from http://downloads.xiph.org/releases/ogg/"