Commit 851ffa80 authored by Måns Rullgård's avatar Måns Rullgård

configure: use warn function for unrecognised --cc and --arch settings

Originally committed as revision 23762 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 31a0dcb2
...@@ -1856,7 +1856,8 @@ elif $cc -V 2>&1 | grep -q Sun; then ...@@ -1856,7 +1856,8 @@ elif $cc -V 2>&1 | grep -q Sun; then
} }
fi 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} : ${as_default:=$cc}
: ${dep_cc_default:=$cc} : ${dep_cc_default:=$cc}
...@@ -1947,7 +1948,7 @@ case "$arch" in ...@@ -1947,7 +1948,7 @@ case "$arch" in
;; ;;
esac esac
is_in $arch $ARCH_LIST || echo "WARNING: unknown arch $arch" is_in $arch $ARCH_LIST || warn "unknown architecture $arch"
enable $arch enable $arch
# Add processor-specific flags # Add processor-specific flags
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment