Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8061 in orxonox.OLD for trunk/configure.ac


Ignore:
Timestamp:
Jun 1, 2006, 1:59:42 PM (19 years ago)
Author:
bensch
Message:

merged the scriptengine back to the trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r7954 r8061  
    310310    AC_CHECK_LIB([winmm], [main], [FOUND_winmm=yes])
    311311    if test x${FOUND_winmm} = xyes ; then
    312         LIBS="$LIBS -lwinmm"
     312        LIBS="$LIBS -lwinmm"
    313313    fi
    314314
     
    524524#--------#
    525525# 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
    547533  AC_CHECK_LIB([avutil], [main], [FOUND_avutil=yes; LIBS="$LIBS -lavutil"])
    548534  AC_CHECK_LIB([xvid], [main], [FOUND_xvid=yes; LIBS="$LIBS -lxvid"])
     
    588574AC_SUBST(CURL_CFLAGS)
    589575AM_CONDITIONAL(HAVE_CURL, test "x$have_curl" = "xyes")
     576
     577#-----#
     578# LUA #
     579#-----#
     580LUA_DIR="/usr/include/lua"
     581AX_CHECK_LUA([${LUA_DIR}])
    590582
    591583#--------#
     
    636628                 src/lib/gui/gl_gui/Makefile
    637629                 src/lib/gui/qt_gui/Makefile
     630                 src/lib/script_engine/Makefile
    638631                 src/lib/parser/Makefile
    639632                 src/lib/parser/tinyxml/Makefile
Note: See TracChangeset for help on using the changeset viewer.