Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6532 in orxonox.OLD for trunk/configure.ac


Ignore:
Timestamp:
Jan 18, 2006, 1:20:02 PM (20 years ago)
Author:
bensch
Message:

orxonox/trunk: merged branches/movie_play to the trunk. no conflicts, but a minor virtual function BUG

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r6274 r6532  
     1
    12##########################################################################
    23#   orxonox - the future of 3D-vertical-scrollers                        #
     
    522523AX_CHECK_REQUIRED_HEADER_LIB([vorbis/codec.h], [vorbis], [main],,, [http://www.xiph.org/ogg/vorbis/index.html])
    523524AX_CHECK_REQUIRED_HEADER_LIB([vorbis/vorbisfile.h], [vorbisfile], [main],,, [http://www.xiph.org/ogg/vorbis/index.html])
     525
     526#--------#
     527# FFmpeg #
     528#--------#
     529# checking for FFmpeg-headers
     530  AC_CHECK_HEADERS([avformat.h] ,,
     531      [AC_CHECK_HEADERS([ffmpeg/avformat.h] ,,AC_MSG_ERROR([cannot find FFmpeg header.])]))
     532# checking for ffmpeg-lib
     533  AC_CHECK_LIB([avformat], [main], [FOUND_avformat=yes; LIBS="$LIBS -lavformat"])
     534     if test x$FOUND_avformat != xyes ; then
     535        echo "------------------"
     536        echo "avformat library not found."
     537        echo "please install the FFmpeg library, which can be found at http://ffmpeg.sourceforge.net"
     538        echo "------------------"
     539        exit -1
     540     fi
     541  AC_CHECK_HEADERS([avcodec.h] ,,
     542      [AC_CHECK_HEADERS([ffmpeg/avcodec.h] ,,AC_MSG_ERROR([cannot find FFmpeg header.])]))
     543  AC_CHECK_LIB([avcodec], [main], [FOUND_avcodec=yes; LIBS="$LIBS -lavcodec"])
     544     if test x$FOUND_avcodec != xyes ; then
     545        echo "------------------"
     546        echo "avcodec library not found."
     547        echo "please install the FFmpeg library, which can be found at http://ffmpeg.sourceforge.net"
     548        echo "------------------"
     549        exit -1
     550     fi
     551  AC_CHECK_LIB([avutil], [main], [FOUND_avutil=yes; LIBS="$LIBS -lavutil"])
     552
     553  AC_CHECK_LIB([theora], [main], [FOUND_theora=yes; LIBS="$LIBS -ltheora"])
     554
     555  AC_CHECK_LIB([dts], [main], [FOUND_dts=yes; LIBS="$LIBS -ldts"])
     556
     557  AC_CHECK_LIB([gsm], [main], [FOUND_gsm=yes; LIBS="$LIBS -lgsm"])
     558
     559  AC_CHECK_LIB([dc1394_control], [main], [FOUND_dc1394_control=yes; LIBS="$LIBS -ldc1394_control"])
     560
     561  AC_CHECK_LIB([vorbisenc], [main], [FOUND_vorbisenc=yes; LIBS="$LIBS -lvorbisenc"])
    524562
    525563#---------#
Note: See TracChangeset for help on using the changeset viewer.