]> git.sesse.net Git - ffmpeg/blobdiff - configure
new texinfo documentation - HTML version also included
[ffmpeg] / configure
index 19527df9d3da21aedcec46e86a79857d03267238..2029edcd96c996818f430a6150e28162a7fb10e1 100755 (executable)
--- a/configure
+++ b/configure
@@ -267,6 +267,8 @@ ar="${cross_prefix}${ar}"
 ranlib="${cross_prefix}${ranlib}"
 strip="${cross_prefix}${strip}"
 
+if test -z "$cross_prefix" ; then
+
 # ---
 # big/little endian test
 cat > $TMPC << EOF
@@ -283,6 +285,15 @@ else
 echo big/little test failed
 fi
 
+else
+
+# if cross compiling, cannot launch a program, so make a static guess
+if test "$cpu" = "powerpc" -o "$cpu" = "mips" ; then
+    bigendian="yes"
+fi
+
+fi
+
 # ---
 # check availability of some header files