ranlib="${cross_prefix}${ranlib}"
strip="${cross_prefix}${strip}"
+if test -z "$cross_prefix" ; then
+
# ---
# big/little endian test
cat > $TMPC << EOF
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