[FFmpeg-cvslog] configure: more properly disable header when check_header_oc() fails

Thilo Borgmann thilo.borgmann at mail.de
Sun Apr 6 12:49:31 CEST 2014


Am 05.04.14 13:48, schrieb Michael Niedermayer:
> ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sat Apr  5 13:29:28 2014 +0200| [323c049c7e43cb610e3c5ffbe09fc46278808ad5] | committer: Michael Niedermayer
> 
> configure: more properly disable header when check_header_oc() fails
> 
> This should make no difference currently
> 
> Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> 
>> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=323c049c7e43cb610e3c5ffbe09fc46278808ad5
> ---
> [...]


configure fails detection for ICC compilers, because giving an .m file does not
produce an error (this might also be true for the microsoft compiler also
failing on FATE, I can't check):


fate at FATE-01:~/FFmpeg$ /opt/intel/composerxe-2011.4.191/bin/intel64/icc
-D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -fomit-frame-pointer
-pthread -c -o test test.m && echo OK
icc: warning #10147: no action performed for specified file(s)
OK

fate at FATE-01:~/FFmpeg$ cp test.m test.c

fate at FATE-01:~/FFmpeg$ /opt/intel/composerxe-2011.4.191/bin/intel64/icc
-D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -fomit-frame-pointer
-pthread -c -o test test.c && echo OK
test.c(1): catastrophic error: cannot open source file "QTKit/QTKit.h"
  #include <QTKit/QTKit.h>
                          ^

compilation aborted for test.c (code 4)

fate at FATE-01:~/FFmpeg$


I still don't have a better idea how to handle it generically, though.
Checking with "check_header" at least only fails on Mac OS X >= 10.7 running
GCC, IIRC.

-Thilo


More information about the ffmpeg-cvslog mailing list