Stop Sun Studio from issuing a warning during configure when passed

the --version option.
patch by Diego 'Flameeyes' Pettenò, flameeyes gmail com

Originally committed as revision 15532 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Diego Pettenò 2008-10-03 00:19:05 +00:00 committed by Diego Biurrun
parent b1cb73aa15
commit 0c45cd0720
1 changed files with 1 additions and 1 deletions

2
configure vendored
View File

@ -1883,7 +1883,7 @@ check_cflags -fno-math-errno
check_cflags -fno-signed-zeros
# add some flags for Intel C Compiler
if $cc --version | grep -q Intel; then
if $cc --version 2> /dev/null | grep -q Intel; then
# Just warnings, no remarks
check_cflags -w1
# -wd: Disable following warnings