1 dnl Process this file with autoconf to produce a configure script.
3 AC_INIT(ffmpeg2theora,0.21+svn)
4 AC_CONFIG_SRCDIR([Makefile.am])
5 AM_INIT_AUTOMAKE([dist-bzip2])
13 AC_MSG_CHECKING(whether to link statically)
14 AC_ARG_WITH(static-linking,
15 [ --with-static-linking Link binaries statically],
22 LDFLAGS="-static $LDFLAGS"
28 PKG_CHECK_MODULES(XIPH,ogg >= 1.1 vorbis vorbisenc theora >= 1.0beta1)
32 export PKG_CONFIG_PATH=./libkate/misc/pkgconfig:./libkate/pkg/pkgconfig:$PKG_CONFIG_PATH
33 PKG_CHECK_MODULES(KATE,oggkate >= 0.1.3,
34 KATE_CFLAGS="-DHAVE_KATE -DHAVE_OGGKATE $KATE_CFLAGS",
37 . Could not find libkate. Subtitles support will be disabled.
38 You can also run ./get_libkate.sh (for more information see INSTALL)
39 or update PKG_CONFIG_PATH to point to libkate's source folder
45 export PKG_CONFIG_PATH=./ffmpeg/libavutil:./ffmpeg/libavformat:./ffmpeg/libavcodec:./ffmpeg/libavdevice:./ffmpeg/libswscale:./ffmpeg/libpostproc:$PKG_CONFIG_PATH
46 PKG_CHECK_MODULES(FFMPEG, libavformat libavcodec libavdevice libswscale libpostproc, HAVE_FFMPEG=yes,
49 . Could not find libavformat libavcodec libavdevice libswscale libpostproc.
50 You can install it via
51 sudo apt-get install libavformat-dev libavcodec-dev libavdevice-dev libswscale-dev libpostproc-dev
52 or update PKG_CONFIG_PATH to point to ffmpeg's source folder
53 or run ./get_ffmpeg_svn.sh (for more information see INSTALL)
56 AC_SUBST(FFMPEG_CFLAGS)