[Ffmpeg-cvslog] r5551 - trunk/configure
mru
subversion
Fri Jun 30 01:47:51 CEST 2006
Author: mru
Date: Fri Jun 30 01:47:50 2006
New Revision: 5551
Modified:
trunk/configure
Log:
compiler sanity check
Modified: trunk/configure
==============================================================================
--- trunk/configure (original)
+++ trunk/configure Fri Jun 30 01:47:50 2006
@@ -1033,6 +1033,20 @@
esac
fi
+# compiler sanity check
+check_exec <<EOF
+int main(){
+ return 0;
+}
+EOF
+if test "$?" != 0; then
+ echo "$cc is unable to create an executable file."
+ if test -z "$cross_prefix" -a "$cross_compile" = no; then
+ echo "If $cc is a cross-compiler, use the --cross-compile option."
+ fi
+ die "C compiler test failed."
+fi
+
# check for SIMD availability
# AltiVec flags: The FSF version of GCC differs from the Apple version
More information about the ffmpeg-cvslog
mailing list