Originally committed as revision 5925 to svn://svn.ffmpeg.org/ffmpeg/trunk
}
check_cmd(){
+ log "$@"
"$@" >>$logfile 2>&1
}
log check_cc "$@"
cat >$TMPC
log_file $TMPC
- log $cc $CFLAGS "$@" -c -o $TMPO $TMPC
check_cmd $cc $CFLAGS "$@" -c -o $TMPO $TMPC
}
log check_cpp "$@"
cat >$TMPC
log_file $TMPC
- log $cc $CFLAGS "$@" -E -o $TMPO $TMPC
check_cmd $cc $CFLAGS "$@" -E -o $TMPO $TMPC
}
check_ld(){
log check_ld "$@"
check_cc || return
- log $cc $LDFLAGS "$@" -o $TMPE $TMPO $extralibs
check_cmd $cc $LDFLAGS "$@" -o $TMPE $TMPO $extralibs
}