summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2008-03-17 09:40:42 +0000
committerDiego Biurrun <diego@biurrun.de>2008-03-17 09:40:42 +0000
commit3dddba4b5dfc45fc0da0812981c8c3d96607fbba (patch)
tree26cc54a5557529fb57e0bb6801f1546b418737f7 /configure
parent78fe7631f8988d6dbd11d5b7da20726cd584a0d0 (diff)
Fix previously broken xlc checks, simplifying them in the process.
Originally committed as revision 12474 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 0ff7cd2af8..fccb1b007e 100755
--- a/configure
+++ b/configure
@@ -1372,7 +1372,7 @@ test -z "$need_memalign" && need_memalign="$mmx"
#Darwin CC versions
if test $targetos = darwin; then
- if test -n "`$cc -v 2>&1 | grep -q xlc`"; then
+ if $cc -v 2>&1 | grep -q xlc; then
add_cflags "-qpdf2 -qlanglvl=extc99 -qmaxmem=-1 -qarch=auto -qtune=auto"
else
add_cflags "-pipe"
@@ -1802,7 +1802,7 @@ if enabled small; then
check_cflags -Os # not all compilers support -Os
optimizations="small"
elif enabled optimizations; then
- if test -n "`$cc -v 2>&1 | grep -q xlc`"; then
+ if $cc -v 2>&1 | grep -q xlc; then
add_cflags "-O5"
add_ldflags "-O5"
else