From 0607887f0d5b57c9e88276ce19e9d163692d002b Mon Sep 17 00:00:00 2001 From: =?utf8?q?M=C3=A5ns=20Rullg=C3=A5rd?= Date: Wed, 12 Jul 2006 00:33:22 +0000 Subject: [PATCH] split compile and link in check_ld based on patch by Graham Booker Originally committed as revision 5722 to svn://svn.ffmpeg.org/ffmpeg/trunk --- configure | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/configure b/configure index 50ea191..5a8f365 100755 --- a/configure +++ b/configure @@ -231,10 +231,9 @@ check_cpp(){ check_ld(){ log check_ld "$@" - cat >$TMPC - log_file $TMPC - log $cc $CFLAGS $LDFLAGS "$@" -o $TMPE $TMPC $extralibs - $cc $CFLAGS $LDFLAGS "$@" -o $TMPE $TMPC $extralibs >>$logfile 2>&1 + check_cc || return + log $cc $LDFLAGS "$@" -o $TMPE $TMPO $extralibs + $cc $LDFLAGS "$@" -o $TMPE $TMPO $extralibs >>$logfile 2>&1 } check_cflags(){ -- 2.7.4