Changeset 8061 in orxonox.OLD for trunk/configure.ac
- Timestamp:
- Jun 1, 2006, 1:59:42 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure.ac
r7954 r8061 310 310 AC_CHECK_LIB([winmm], [main], [FOUND_winmm=yes]) 311 311 if test x${FOUND_winmm} = xyes ; then 312 312 LIBS="$LIBS -lwinmm" 313 313 fi 314 314 … … 524 524 #--------# 525 525 # checking for FFmpeg-headers 526 AC_CHECK_HEADERS([avformat.h] ,, 527 [AC_CHECK_HEADERS([ffmpeg/avformat.h] ,,AC_MSG_ERROR([cannot find FFmpeg header.])])) 528 # checking for ffmpeg-lib 529 AC_CHECK_LIB([avformat], [main], [FOUND_avformat=yes; LIBS="$LIBS -lavformat"]) 530 if test x$FOUND_avformat != xyes ; then 531 echo "------------------" 532 echo "avformat 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 537 AC_CHECK_HEADERS([avcodec.h] ,, 538 [AC_CHECK_HEADERS([ffmpeg/avcodec.h] ,,AC_MSG_ERROR([cannot find FFmpeg header.])])) 539 AC_CHECK_LIB([avcodec], [main], [FOUND_avcodec=yes; LIBS="$LIBS -lavcodec"]) 540 if test x$FOUND_avcodec != xyes ; then 541 echo "------------------" 542 echo "avcodec library not found." 543 echo "please install the FFmpeg library, which can be found at http://ffmpeg.sourceforge.net" 544 echo "------------------" 545 exit -1 546 fi 526 AX_CHECK_REQUIRED_HEADER_LIB([avformat.h ffmpeg/avformat.h] ,[avformat], [main], 527 [AX_CHECK_REQUIRED_HEADER_LIB([avcodec.h ffmpeg/avcodec.h], [avcodec], [main],,, [http://ffmpeg.sourceforge.net]) LIBS="${LIBS} -lavformat -lavcodec"], 528 [AX_GET_INSTALL_NECESSARY_LIB([http://svn.orxonox.net/webdev/develop/ext_libs], [ffmpeg.tar.gz], [ffmpeg], [extern_libs/], [include/*.h lib/*.a]) 529 LIBS="-llualib -llua" CPPFLAGS="${CPPFLAGS} -I$(top_build_dir)/extern_libs" ], 530 [http://ffmpeg.sourceforge.net]) 531 532 547 533 AC_CHECK_LIB([avutil], [main], [FOUND_avutil=yes; LIBS="$LIBS -lavutil"]) 548 534 AC_CHECK_LIB([xvid], [main], [FOUND_xvid=yes; LIBS="$LIBS -lxvid"]) … … 588 574 AC_SUBST(CURL_CFLAGS) 589 575 AM_CONDITIONAL(HAVE_CURL, test "x$have_curl" = "xyes") 576 577 #-----# 578 # LUA # 579 #-----# 580 LUA_DIR="/usr/include/lua" 581 AX_CHECK_LUA([${LUA_DIR}]) 590 582 591 583 #--------# … … 636 628 src/lib/gui/gl_gui/Makefile 637 629 src/lib/gui/qt_gui/Makefile 630 src/lib/script_engine/Makefile 638 631 src/lib/parser/Makefile 639 632 src/lib/parser/tinyxml/Makefile
Note: See TracChangeset
for help on using the changeset viewer.