Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7695 in orxonox.OLD


Ignore:
Timestamp:
May 18, 2006, 4:02:46 PM (18 years ago)
Author:
bensch
Message:

ffmpeg-stuff

Location:
branches/script_engine
Files:
2 edited

Legend:

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

    r7648 r7695  
    77#undef DEBUG
    88
    9 /* Define to 1 if you have the <avcodec.h> header file. */
    10 #undef HAVE_AVCODEC_H
    11 
    12 /* Define to 1 if you have the <avformat.h> header file. */
    13 #undef HAVE_AVFORMAT_H
    14 
    159/* Define to 1 if you have the `bzero' function. */
    1610#undef HAVE_BZERO
     
    1812/* if we have CURL */
    1913#undef HAVE_CURL
    20 
    21 /* Define to 1 if you have the <ffmpeg/avcodec.h> header file. */
    22 #undef HAVE_FFMPEG_AVCODEC_H
    23 
    24 /* Define to 1 if you have the <ffmpeg/avformat.h> header file. */
    25 #undef HAVE_FFMPEG_AVFORMAT_H
    2614
    2715/* Define to 1 if you have the <GL/glew.h> header file. */
  • branches/script_engine/configure.ac

    r7648 r7695  
    514514#--------#
    515515# checking for FFmpeg-headers
    516   AC_CHECK_HEADERS([avformat.h] ,,
    517       [AC_CHECK_HEADERS([ffmpeg/avformat.h] ,,AC_MSG_ERROR([cannot find FFmpeg header.])]))
    518 # checking for ffmpeg-lib
    519   AC_CHECK_LIB([avformat], [main], [FOUND_avformat=yes; LIBS="$LIBS -lavformat"])
    520      if test x$FOUND_avformat != xyes ; then
    521         echo "------------------"
    522         echo "avformat library not found."
    523         echo "please install the FFmpeg library, which can be found at http://ffmpeg.sourceforge.net"
    524         echo "------------------"
    525         exit -1
    526      fi
    527   AC_CHECK_HEADERS([avcodec.h] ,,
    528       [AC_CHECK_HEADERS([ffmpeg/avcodec.h] ,,AC_MSG_ERROR([cannot find FFmpeg header.])]))
    529   AC_CHECK_LIB([avcodec], [main], [FOUND_avcodec=yes; LIBS="$LIBS -lavcodec"])
    530      if test x$FOUND_avcodec != xyes ; then
    531         echo "------------------"
    532         echo "avcodec library not found."
    533         echo "please install the FFmpeg library, which can be found at http://ffmpeg.sourceforge.net"
    534         echo "------------------"
    535         exit -1
    536      fi
     516  AX_CHECK_REQUIRED_HEADER_LIB([avformat.h ffmpeg/avformat.h] ,[avformat], [main],,, [http://ffmpeg.sourceforge.net])
     517  AX_CHECK_REQUIRED_HEADER_LIB([avcodec.h ffmpeg/avcodec.h], [avcodec], [main],,, [http://ffmpeg.sourceforge.net])
     518
    537519  AC_CHECK_LIB([avutil], [main], [FOUND_avutil=yes; LIBS="$LIBS -lavutil"])
    538520  AC_CHECK_LIB([xvid], [main], [FOUND_xvid=yes; LIBS="$LIBS -lxvid"])
Note: See TracChangeset for help on using the changeset viewer.