Date: Tue, 25 Apr 2000 14:21:03 -0700 (PDT)
From: Mo DeJong <[EMAIL PROTECTED]>
When running a simple configure.in script that uses AC_C_BIGENDIAN
I get the following error.
checking whether the C++ compiler (i386-mingw32msvc-c++ ) works... yes
checking whether the C++ compiler (i386-mingw32msvc-c++ ) is a
cross-compiler... yes
...
checking whether byte ordering is bigendian... configure: error: cannot
run test program while cross compiling
It seems clear that the AC_TRY_RUN does not have an argument for
the cross compile case. Can we at least get agreement that this
AC_C_BIGENDIAN macro is in fact broken?
It's a tough call, really. What should happen?
Perhaps AC_C_BIGENDIAN should take an optional argument which it can
pass as the fourth argument to AC_TRY_RUN.
Ian