From f0125de9d12dcae05a6eefee04c10bef327de288 Mon Sep 17 00:00:00 2001 From: =?utf8?q?M=C3=A5ns=20Rullg=C3=A5rd?= Date: Wed, 28 Oct 2009 20:19:15 +0000 Subject: [PATCH] configure: add C99 flags to HOSTCFLAGS Originally committed as revision 20408 to svn://svn.ffmpeg.org/ffmpeg/trunk --- configure | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 1eb3ba95ff..b221bcc63c 100755 --- a/configure +++ b/configure @@ -778,6 +778,20 @@ check_foo_config(){ return $err } +check_host_cc(){ + log check_host_cc "$@" + cat > $TMPC + log_file $TMPC + check_cmd $host_cc $host_cflags "$@" -c -o $TMPO $TMPC +} + +check_host_cflags(){ + log check_host_cflags "$@" + check_host_cc "$@" < EOF +check_host_cflags -std=c99 + case "$arch" in alpha) arch="alpha" -- 2.11.0