Changeset 2724 for trunk/configure


Ignore:
Timestamp:
Dec 9, 2011, 2:40:15 PM (8 years ago)
Author:
gah
Message:

Addition checks for ffmeg

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure

    r2723 r2724  
    1003310033done
    1003410034
     10035  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     10036/* end confdefs.h.  */
     10037
     10038#define __STDC_CONSTANT_MACROS 1
     10039#include <stdlib.h>
     10040#ifdef HAVE_FFMPEG_AVCODEC_H
     10041# include <ffmpeg/avcodec.h>
     10042#endif
     10043#ifdef HAVE_LIBAVCODEC_AVCODEC_H
     10044# include <libavcodec/avcodec.h>
     10045#endif
     10046int x = AVMEDIA_TYPE_VIDEO;
     10047
     10048int
     10049main ()
     10050{
     10051
     10052  ;
     10053  return 0;
     10054}
     10055_ACEOF
     10056if ac_fn_cxx_try_compile "$LINENO"; then :
     10057  ac_avmedia_type_video="yes"
     10058else
     10059  ac_avmedia_type_video="no"
     10060fi
     10061rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     10062  if test "$ac_avmedia_type_video" == "yes" ; then
     10063
     10064$as_echo "#define HAVE_AVMEDIA_TYPE_VIDEO 1" >>confdefs.h
     10065
     10066  fi
    1003510067fi
    1003610068
Note: See TracChangeset for help on using the changeset viewer.