|
|
|
@ -48,7 +48,7 @@ AC_CHECK_HEADER([GL/gl.h], \
|
|
|
|
|
AC_LANG_SAVE
|
|
|
|
|
AC_LANG_CPLUSPLUS
|
|
|
|
|
cxx_flags_safe="$CXXFLAGS"
|
|
|
|
|
CXXFLAGS="$CXXFLAGS -D__STDC_CONSTANT_MACROS -I$qt_includes"
|
|
|
|
|
CXXFLAGS="$CXXFLAGS -D__STDC_CONSTANT_MACROS -I$tqt_includes"
|
|
|
|
|
AC_CHECK_HEADER([ffmpeg/avcodec.h], \
|
|
|
|
|
[AC_DEFINE(OLD_FFMPEG,1, [old ffmpeg])], \
|
|
|
|
|
[AC_CHECK_HEADER([libavcodec/avcodec.h], \
|
|
|
|
@ -61,7 +61,7 @@ AC_LANG_SAVE
|
|
|
|
|
AC_LANG_CPLUSPLUS
|
|
|
|
|
cxx_flags_safe="$CXXFLAGS"
|
|
|
|
|
cflags_safe="$CFLAGS"
|
|
|
|
|
CXXFLAGS="$CXXFLAGS -D__STDC_CONSTANT_MACROS -I$qt_includes"
|
|
|
|
|
CXXFLAGS="$CXXFLAGS -D__STDC_CONSTANT_MACROS -I$tqt_includes"
|
|
|
|
|
CFLAGS="$CFLAGS -D__STDC_CONSTANT_MACROS"
|
|
|
|
|
AC_MSG_CHECKING([if libavformat/avformat.h provides av_free_packet])
|
|
|
|
|
AC_TRY_LINK([#include <libavformat/avformat.h>
|
|
|
|
|