[FFmpeg-cvslog] r17498 - trunk/configure

Stefano Sabatini stefano.sabatini-lala
Sun Feb 22 12:29:15 CET 2009


On date Saturday 2009-02-21 22:07:32 +0100, mru wrote:
> Author: mru
> Date: Sat Feb 21 22:07:32 2009
> New Revision: 17498
> 
> Log:
> configure: move detection of compiler type to single location
> 
> Modified:
>    trunk/configure
> 
> Modified: trunk/configure
> ==============================================================================
> --- trunk/configure	Sat Feb 21 21:57:46 2009	(r17497)
> +++ trunk/configure	Sat Feb 21 22:07:32 2009	(r17498)
> @@ -1350,6 +1350,16 @@ EOF
>  fi
>  rm $TMPSH
>  
> +if   $cc --version 2>/dev/null | grep -q '(GCC)'; then
> +    cc_type=gcc
> +elif $cc --version 2>/dev/null | grep -q Intel; then
> +    cc_type=icc
> +elif $cc -v 2>&1 | grep -q xlc; then
> +    cc_type=xlc
> +fi
> +
> +test -n "$cc_type" && enable $cc_type || echolog "Unknown C compiler $cc"
> +
>  # compiler sanity check
>  check_exec <<EOF
>  int main(void){ return 0; }

This triggers the warning:
"Unknown C compiler gcc"

with gcc 4.3.2.

stefano at geppetto ~/s/ffmpeg> gcc --version
gcc (Debian 4.3.2-1) 4.3.2
Copyright (C) 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Regards.





More information about the ffmpeg-cvslog mailing list