Ticket #18850: patch-configure.ac.diff
File patch-configure.ac.diff, 2.1 KB (added by yattenator@…, 16 years ago) |
---|
-
configure.ac
old new 946 946 AC_MSG_NOTICE([You are running OSX, assuming threadsafe gethostbyname version]) 947 947 elif test $CYGWIN_OS -eq 1; then 948 948 AC_MSG_NOTICE([Your are building under Cygwin, assuming threadsafe gethostbyname implementation]) 949 fi 950 949 else 951 950 AC_CHECK_FUNCS([gethostbyname_r],[], 952 951 [ 953 952 AC_CHECK_HEADERS([lwres/netdb.h], … … 960 959 fi 961 960 ]) 962 961 ]) 962 fi 963 963 964 964 AC_CHECK_FUNCS([if_nameindex],[], 965 965 [ … … 2327 2327 if test "x$FFMPEG_OK" = xyes; then 2328 2328 if test -n "$FFMPEG_SEARCH_HEADERS" ; then 2329 2329 CPPFLAGS="-I$FFMPEG_SEARCH_HEADERS" 2330 AC_CHECK_HEADER($FFMPEG_SEARCH_HEADERS/ ffmpeg/avformat.h,2330 AC_CHECK_HEADER($FFMPEG_SEARCH_HEADERS/libavformat/avformat.h, 2331 2331 [ 2332 2332 FFMPEG_CXXFLAGS="-I$FFMPEG_SEARCH_HEADERS" 2333 2333 ], … … 2340 2340 ] 2341 2341 ) 2342 2342 else 2343 AC_CHECK_HEADER( ffmpeg/avformat.h,2343 AC_CHECK_HEADER(libavformat/avformat.h, 2344 2344 [], 2345 2345 [ 2346 2346 CPPFLAGS="-I$SEARCH_DIR_HEADERS" 2347 2347 unset ac_cv_header_ffmpeg_avformat_h 2348 AC_CHECK_HEADER($SEARCH_DIR_HEADERS/ ffmpeg/avformat.h,2348 AC_CHECK_HEADER($SEARCH_DIR_HEADERS/libavformat/avformat.h, 2349 2349 [ 2350 2350 FFMPEG_CXXFLAGS="-I$SEARCH_DIR_HEADERS" 2351 2351 ], … … 2447 2447 [ 2448 2448 #define __STDC_CONSTANT_MACROS 2449 2449 #include <stdint.h> 2450 #include < ffmpeg/avformat.h>2450 #include <libavformat/avformat.h> 2451 2451 ], 2452 2452 [ 2453 2453 av_register_all(); … … 2462 2462 #define __STDC_CONSTANT_MACROS 2463 2463 #include <stdint.h> 2464 2464 extern "C" { 2465 #include < ffmpeg/avformat.h>2465 #include <libavformat/avformat.h> 2466 2466 } 2467 2467 ], 2468 2468 [