Changeset 3570 for trunk/configure.in


Ignore:
Timestamp:
Mar 25, 2013, 6:57:17 AM (12 years ago)
Author:
gah
Message:

add FFMPEG to configure output

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.in

    r3471 r3570  
    286286# search for ffmpeg libraries libavcodec, libavformat, libswscale
    287287#--------------------------------------------------------------------
     288if test "${with_ffmpeg}" != "no" ; then
     289  if test "${with_tclsh}" = "yes" ; then
     290    AC_PATH_PROG(FFMPEG, ffmpeg, [], $PATH)
     291  else
     292    AC_PATH_PROG(FFMPEG, ffmpeg, [], [${with_ffmpeg}/bin:${with_ffmpeg}])
     293  fi
     294  if text "${FFMPEG}x" != "x" ; then
     295    AC_DEFINE(HAVE_FFMPEG, 1, [Render servers can use ffmpeg])
     296  fi
     297fi
    288298
    289299AC_CHECK_HEADERS([ffmpeg/avcodec.h libavcodec/avcodec.h ffmpeg/avformat.h libavformat/avformat.h ffmpeg/avutil.h libavutil/avutil.h ffmpeg/swscale.h libswscale/swscale.h],,,[
     
    358368AC_SUBST(CFLAGS_OPTIMIZE)
    359369AC_SUBST(ENABLE_GUI)
     370AC_SUBST(FFMPEG)
    360371AC_SUBST(HAVE_FFMPEG_LIBS)
    361372AC_SUBST(HAVE_INTTYPES_H)
Note: See TracChangeset for help on using the changeset viewer.