* configure: Regenerate for config/accross.m4 correction.
[platform/upstream/gcc.git] / libffi / configure
index bd94f7d..d153d41 100755 (executable)
@@ -3491,7 +3491,7 @@ void _ebcdic() { char* s = (char*) ebcdic_mm; s = (char*) ebcdic_ii; }
 int main() { _ascii (); _ebcdic (); return 0; }
 EOF
  if test -f conftest.c ; then
-     if ${CC-cc} ${CFLAGS} conftest.c -o conftest.o && test -f conftest.o ; then
+     if ${CC-cc} ${CFLAGS} -c conftest.c -o conftest.o && test -f conftest.o ; then
         if test `grep -l BIGenDianSyS conftest.o` ; then
            echo $ac_n ' big endian probe OK, ' 1>&6
            ac_cv_c_bigendian=yes
@@ -3527,7 +3527,7 @@ cat >> confdefs.h <<EOF
 EOF
 
 if test $ac_cv_c_bigendian = unknown; then
-  { echo "configure: error: unknown endianess - sorry" 1>&2; exit 1; }
+  { echo "configure: error: unknown endianess - sorry, please pre-set ac_cv_c_bigendian" 1>&2; exit 1; }
 fi