Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6019 in orxonox.OLD


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

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

Location:
branches/avi_play
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/avi_play/config.h.in

    r5960 r6019  
    1313#undef HAVE_AL_AL_H
    1414
     15/* Define to 1 if you have the <avcodec.h> header file. */
     16#undef HAVE_AVCODEC_H
     17
    1518/* Define to 1 if you have the <avformat.h> header file. */
    1619#undef HAVE_AVFORMAT_H
     
    2427/* Define to 1 if you have the <curl/curl.h> header file. */
    2528#undef HAVE_CURL_CURL_H
     29
     30/* Define to 1 if you have the <ffmpeg/avcodec.h> header file. */
     31#undef HAVE_FFMPEG_AVCODEC_H
    2632
    2733/* Define to 1 if you have the <ffmpeg/avformat.h> header file. */
  • 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.