From fb090a7ce80fbce5dc75aa5bf99423b3a992bf58 Mon Sep 17 00:00:00 2001 From: "N.N." Date: Wed, 8 Aug 2007 18:56:10 +0000 Subject: handle quicktime \>= 1.0.0 svn path=/trunk/externals/pidip/; revision=8474 --- configure.ac | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'configure.ac') 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 -- cgit v1.2.1