Ticket #18850: patch-configure.diff
File patch-configure.diff, 3.2 KB (added by dbevans (David B. Evans), 16 years ago) |
---|
-
configure
old new 26123 26123 if test "x$FFMPEG_OK" = xyes; then 26124 26124 if test -n "$FFMPEG_SEARCH_HEADERS" ; then 26125 26125 CPPFLAGS="-I$FFMPEG_SEARCH_HEADERS" 26126 as_ac_Header=`echo "ac_cv_header_$FFMPEG_SEARCH_HEADERS/ ffmpeg/avformat.h" | $as_tr_sh`26127 { echo "$as_me:$LINENO: checking for $FFMPEG_SEARCH_HEADERS/ ffmpeg/avformat.h" >&526128 echo $ECHO_N "checking for $FFMPEG_SEARCH_HEADERS/ ffmpeg/avformat.h... $ECHO_C" >&6; }26126 as_ac_Header=`echo "ac_cv_header_$FFMPEG_SEARCH_HEADERS/libavformat/avformat.h" | $as_tr_sh` 26127 { echo "$as_me:$LINENO: checking for $FFMPEG_SEARCH_HEADERS/libavformat/avformat.h" >&5 26128 echo $ECHO_N "checking for $FFMPEG_SEARCH_HEADERS/libavformat/avformat.h... $ECHO_C" >&6; } 26129 26129 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 26130 26130 echo $ECHO_N "(cached) $ECHO_C" >&6 26131 26131 else … … 26141 26141 26142 26142 26143 26143 26144 #include <$FFMPEG_SEARCH_HEADERS/ ffmpeg/avformat.h>26144 #include <$FFMPEG_SEARCH_HEADERS/libavformat/avformat.h> 26145 26145 _ACEOF 26146 26146 rm -f conftest.$ac_objext 26147 26147 if { (ac_try="$ac_compile" … … 26187 26187 26188 26188 26189 26189 else 26190 { echo "$as_me:$LINENO: checking for ffmpeg/avformat.h" >&526191 echo $ECHO_N "checking for ffmpeg/avformat.h... $ECHO_C" >&6; }26190 { echo "$as_me:$LINENO: checking for libavformat/avformat.h" >&5 26191 echo $ECHO_N "checking for libavformat/avformat.h... $ECHO_C" >&6; } 26192 26192 if test "${ac_cv_header_ffmpeg_avformat_h+set}" = set; then 26193 26193 echo $ECHO_N "(cached) $ECHO_C" >&6 26194 26194 else … … 26204 26204 26205 26205 26206 26206 26207 #include < ffmpeg/avformat.h>26207 #include <libavformat/avformat.h> 26208 26208 _ACEOF 26209 26209 rm -f conftest.$ac_objext 26210 26210 if { (ac_try="$ac_compile" … … 26241 26241 26242 26242 CPPFLAGS="-I$SEARCH_DIR_HEADERS" 26243 26243 unset ac_cv_header_ffmpeg_avformat_h 26244 as_ac_Header=`echo "ac_cv_header_$SEARCH_DIR_HEADERS/ ffmpeg/avformat.h" | $as_tr_sh`26245 { echo "$as_me:$LINENO: checking for $SEARCH_DIR_HEADERS/ ffmpeg/avformat.h" >&526246 echo $ECHO_N "checking for $SEARCH_DIR_HEADERS/ ffmpeg/avformat.h... $ECHO_C" >&6; }26244 as_ac_Header=`echo "ac_cv_header_$SEARCH_DIR_HEADERS/libavformat/avformat.h" | $as_tr_sh` 26245 { echo "$as_me:$LINENO: checking for $SEARCH_DIR_HEADERS/libavformat/avformat.h" >&5 26246 echo $ECHO_N "checking for $SEARCH_DIR_HEADERS/libavformat/avformat.h... $ECHO_C" >&6; } 26247 26247 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 26248 26248 echo $ECHO_N "(cached) $ECHO_C" >&6 26249 26249 else … … 26259 26259 26260 26260 26261 26261 26262 #include <$SEARCH_DIR_HEADERS/ ffmpeg/avformat.h>26262 #include <$SEARCH_DIR_HEADERS/libavformat/avformat.h> 26263 26263 _ACEOF 26264 26264 rm -f conftest.$ac_objext 26265 26265 if { (ac_try="$ac_compile" … … 26846 26846 26847 26847 #define __STDC_CONSTANT_MACROS 26848 26848 #include <stdint.h> 26849 #include < ffmpeg/avformat.h>26849 #include <libavformat/avformat.h> 26850 26850 26851 26851 int 26852 26852 main () … … 26895 26895 #define __STDC_CONSTANT_MACROS 26896 26896 #include <stdint.h> 26897 26897 extern "C" { 26898 #include < ffmpeg/avformat.h>26898 #include <libavformat/avformat.h> 26899 26899 } 26900 26900 26901 26901 int