Changeset 7695 in orxonox.OLD for branches/script_engine
- Timestamp:
- May 18, 2006, 4:02:46 PM (19 years ago)
- Location:
- branches/script_engine
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/script_engine/config.h.in
r7648 r7695 7 7 #undef DEBUG 8 8 9 /* Define to 1 if you have the <avcodec.h> header file. */10 #undef HAVE_AVCODEC_H11 12 /* Define to 1 if you have the <avformat.h> header file. */13 #undef HAVE_AVFORMAT_H14 15 9 /* Define to 1 if you have the `bzero' function. */ 16 10 #undef HAVE_BZERO … … 18 12 /* if we have CURL */ 19 13 #undef HAVE_CURL 20 21 /* Define to 1 if you have the <ffmpeg/avcodec.h> header file. */22 #undef HAVE_FFMPEG_AVCODEC_H23 24 /* Define to 1 if you have the <ffmpeg/avformat.h> header file. */25 #undef HAVE_FFMPEG_AVFORMAT_H26 14 27 15 /* Define to 1 if you have the <GL/glew.h> header file. */ -
branches/script_engine/configure.ac
r7648 r7695 514 514 #--------# 515 515 # 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 537 519 AC_CHECK_LIB([avutil], [main], [FOUND_avutil=yes; LIBS="$LIBS -lavutil"]) 538 520 AC_CHECK_LIB([xvid], [main], [FOUND_xvid=yes; LIBS="$LIBS -lxvid"])
Note: See TracChangeset
for help on using the changeset viewer.