aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2010-06-24 20:49:39 +0000
committerMåns Rullgård <mans@mansr.com>2010-06-24 20:49:39 +0000
commit851ffa803f18d80c2a746f698472dd70b5b9f553 (patch)
treec9cdf55d15c4f9c1ae31aca9c1e4d59f48872a4e
parent31a0dcb232f62d91609a0feac9cf8e9c608df57a (diff)
downloadffmpeg-851ffa803f18d80c2a746f698472dd70b5b9f553.tar.gz
configure: use warn function for unrecognised --cc and --arch settings
Originally committed as revision 23762 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rwxr-xr-xconfigure5
1 files changed, 3 insertions, 2 deletions
diff --git a/configure b/configure
index 20a0452ed0..b938749fa7 100755
--- a/configure
+++ b/configure
@@ -1856,7 +1856,8 @@ elif $cc -V 2>&1 | grep -q Sun; then
}
fi
-test -n "$cc_type" && enable $cc_type || echolog "Unknown C compiler $cc"
+test -n "$cc_type" && enable $cc_type ||
+ warn "Unknown C compiler $cc, unable to select optimal CFLAGS"
: ${as_default:=$cc}
: ${dep_cc_default:=$cc}
@@ -1947,7 +1948,7 @@ case "$arch" in
;;
esac
-is_in $arch $ARCH_LIST || echo "WARNING: unknown arch $arch"
+is_in $arch $ARCH_LIST || warn "unknown architecture $arch"
enable $arch
# Add processor-specific flags