diff options
author | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
---|---|---|
committer | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
commit | e2de64d6f1beb9e492daf5b886e19933c1fa41dd (patch) | |
tree | 9047cf9e6b5c43878d5bf82660adae77ceee097a /kfile-plugins/theora/configure.in.in | |
download | tdemultimedia-e2de64d6f1beb9e492daf5b886e19933c1fa41dd.tar.gz tdemultimedia-e2de64d6f1beb9e492daf5b886e19933c1fa41dd.zip |
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kfile-plugins/theora/configure.in.in')
-rw-r--r-- | kfile-plugins/theora/configure.in.in | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/kfile-plugins/theora/configure.in.in b/kfile-plugins/theora/configure.in.in new file mode 100644 index 00000000..b9d8836d --- /dev/null +++ b/kfile-plugins/theora/configure.in.in @@ -0,0 +1,26 @@ +AC_DEFUN([KDE_CHECK_THEORA], +[ +have_theora=yes + +KDE_CHECK_HEADER(theora/theora.h, + [], [have_theora=no]) + +KDE_CHECK_LIB(theora, theora_info_init, + [], [have_theora=no], [-lvorbis -logg]) +]) + +AC_ARG_WITH(theora, + [AC_HELP_STRING(--with-theora, + [enable support for Ogg Theora @<:@default=check@:>@])], + [], with_theora=check) + +have_theora=no +if test "x$with_theora" != xno; then + KDE_CHECK_THEORA + + if test "x$with_theora" != xcheck && test "x$have_theora" != xyes; then + AC_MSG_ERROR([--with-theora was given, but test for Theora failed]) + fi +fi + +AM_CONDITIONAL(include_theora_SUBDIR, test "x$have_theora" = xyes) |