aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorN.N. <sevyves@users.sourceforge.net>2007-08-08 18:56:10 +0000
committerN.N. <sevyves@users.sourceforge.net>2007-08-08 18:56:10 +0000
commitfb090a7ce80fbce5dc75aa5bf99423b3a992bf58 (patch)
treed5dc146a975bed5a22a75560e6d46fc78613eb35
parentf9011320e157f5226f8605302f5710f8e5eb1a9f (diff)
handle quicktime \>= 1.0.0
svn path=/trunk/externals/pidip/; revision=8474
-rw-r--r--configure.ac7
1 files changed, 6 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 717f9af..e1640c5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -134,7 +134,8 @@ AC_CHECK_LIB(theora, theora_encode_init, , AC_MSG_ERROR(theora library needed! s
AC_CHECK_LIB(quicktime, lqt_decode_video, , AC_MSG_ERROR(libquicktime not found) )
qt_minor_version="`lqt-config --version | cut -f3 -d'.'`"
-echo "qt version minor : ${qt_minor_version}"
+qt_major_version="`lqt-config --version | cut -f1 -d'.'`"
+echo "qt version minor : ${qt_minor_version} major : ${qt_major_version}"
if test ${qt_minor_version} == "8";
then
IMLIB_CFLAGS="$CFLAGS -DQUICKTIME_NEWER=1"
@@ -155,6 +156,10 @@ if test ${qt_minor_version} == "12";
then
IMLIB_CFLAGS="$CFLAGS -DQUICKTIME_NEWER=1"
fi
+if test ${qt_major_version} == "1";
+then
+ IMLIB_CFLAGS="$CFLAGS -DQUICKTIME_NEWER=1"
+fi
THEORA_LIBS="-ltheora -logg -lvorbis -lvorbisenc"
if test -f /usr/lib/libtheora.a