aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Pettenò <flameeyes@gmail.com>2008-10-03 00:19:05 +0000
committerDiego Biurrun <diego@biurrun.de>2008-10-03 00:19:05 +0000
commit0c45cd0720cdf2415a93ef63475690faf68364c2 (patch)
treee7f9e219e1ff1638c9d0b8afa9d7b39921ead1f3
parentb1cb73aa1589bda105859221198d55a97c3eddee (diff)
downloadffmpeg-0c45cd0720cdf2415a93ef63475690faf68364c2.tar.gz
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
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index c7416014a6..3ef85bdcda 100755
--- a/configure
+++ b/configure
@@ -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