Commit 6d43453a authored by Jan Gerber's avatar Jan Gerber
Browse files

first check for ogg vorbis and theora

parent 4841624e
......@@ -22,24 +22,22 @@ AC_ARG_WITH(static-linking,
AC_MSG_RESULT(no)
)
PKG_CHECK_MODULES(FFMPEG, libavformat libavcodec, HAVE_FFMPEG=yes, HAVE_FFMPEG=no)
if test x$HAVE_FFMPEG = xno; then
export PKG_CONFIG_PATH=./ffmpeg:$PKG_CONFIG_PATH
PKG_CHECK_MODULES(FFMPEG, libavformat libavcodec, HAVE_FFMPEG=yes,
PKG_CHECK_MODULES(XIPH,ogg >= 1.1 vorbis vorbisenc theora )
AC_SUBST(XIPH_CFLAGS)
AC_SUBST(XIPH_LIBS)
PKG_CONFIG_PATH=./ffmpeg:$PKG_CONFIG_PATH
PKG_CHECK_MODULES(FFMPEG, libavformat libavcodec, HAVE_FFMPEG=yes,
AC_MSG_ERROR([
could not find ffmpeg. please update PKG_CONFIG_PATH to point to ffmpegs source
folder or run ./get_ffmpeg_cvs.sh (for more information see INSTALL)
])
)
fi
AC_SUBST(FFMPEG_CFLAGS)
AC_SUBST(FFMPEG_LIBS)
PKG_CHECK_MODULES(XIPH,ogg >= 1.1 vorbis vorbisenc theora )
AC_SUBST(XIPH_CFLAGS)
AC_SUBST(XIPH_LIBS)
AC_OUTPUT([
Makefile
kino_export/Makefile
......
#!/bin/sh
#optional, if you have the libs installed:
#extra="--enable-faad --enable-dts --enable-libgsm --enable-amr_nb --enable-amr_nb-fixed --enable-amr_wb --enable-amr_if2"
#extra="--enable-faad --enable-libgsm --enable-amr_nb --enable-amr_nb-fixed --enable-amr_wb --enable-amr_if2"
common="--enable-libogg --enable-theora --enable-a52 --enable-gpl --disable-encoders"
common="--enable-libogg --enable-theora --enable-a52 --enable-dts --enable-gpl --disable-encoders"
#linux
options="$common --enable-pthreads $extra"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment