diff options
author | Andrew Cagney <cagney@gnu.org> | 2004-03-22 02:57:42 +0300 |
---|---|---|
committer | Andrew Cagney <cagney@gnu.org> | 2004-03-22 02:57:42 +0300 |
commit | f0dd14d0d811920274773d6c465e905bcb5c4402 (patch) | |
tree | c1f841c37296271b04c5a8ba12199067b2badb24 /config/accross.m4 | |
parent | 0264ff199a9473cd94da9d1d6747b86129cc5173 (diff) |
Merge with mainline cagney_tramp-20040321-mergepoint.cagney_tramp-20040309-branch
Diffstat (limited to 'config/accross.m4')
-rw-r--r-- | config/accross.m4 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/accross.m4 b/config/accross.m4 index a4cebf692..535a6f5c0 100644 --- a/config/accross.m4 +++ b/config/accross.m4 @@ -64,7 +64,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>&AC_FD_MSG ac_cv_c_bigendian=yes @@ -93,6 +93,6 @@ else fi AC_DEFINE_UNQUOTED(BYTEORDER, $BYTEORDER, [1234 = LIL_ENDIAN, 4321 = BIGENDIAN]) if test $ac_cv_c_bigendian = unknown; then - AC_MSG_ERROR(unknown endianess - sorry, please pre-set ac_cv_c_bigendian) + AC_MSG_ERROR([unknown endianess - sorry, please pre-set ac_cv_c_bigendian]) fi ]) |