Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6019 in orxonox.OLD for branches/avi_play/configure.ac


Ignore:
Timestamp:
Dec 10, 2005, 7:15:00 PM (18 years ago)
Author:
bensch
Message:

orxonox/branches/avi_play: conditional check in configure.ac

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/avi_play/configure.ac

    r6013 r6019  
    669669        exit -1
    670670     fi
     671  AC_CHECK_HEADERS([avcodec.h] ,,
     672      [AC_CHECK_HEADERS([ffmpeg/avcodec.h] ,,AC_MSG_ERROR([cannot find FFmpeg header.])]))
    671673  AC_CHECK_LIB([avcodec], [main], [FOUND_avcodec=yes; LIBS="$LIBS -lavcodec"])
    672674     if test x$FOUND_avcodec != xyes ; then
     
    678680     fi
    679681  AC_CHECK_LIB([avutil], [main], [FOUND_avutil=yes; LIBS="$LIBS -lavutil"])
    680      if test x$FOUND_avutil != xyes ; then
    681         echo "------------------"
    682         echo "avutil library not found."
    683         echo "please install the FFmpeg library, which can be found at http://ffmpeg.sourceforge.net"
    684         echo "------------------"
    685         exit -1
    686      fi
     682
    687683  AC_CHECK_LIB([dts], [main], [FOUND_dts=yes; LIBS="$LIBS -ldts"])
    688      if test x$FOUND_dts != xyes ; then
    689         echo "------------------"
    690         echo "dts library not found."
    691         echo "please install the FFmpeg library, which can be found at http://ffmpeg.sourceforge.net"
    692         echo "------------------"
    693         exit -1
    694      fi
     684
    695685
    696686
Note: See TracChangeset for help on using the changeset viewer.