[ expat-Patches-431342 ] Fix cross compile.

noreply@sourceforge.net noreply@sourceforge.net
Fri, 08 Jun 2001 01:26:28 -0700


Patches item #431342, was updated on 2001-06-08 01:26
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=310127&aid=431342&group_id=10127

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Mo DeJong (mdejong)
Assigned to: Nobody/Anonymous (nobody)
Summary: Fix cross compile.

Initial Comment:
Here is a patch to fix cross compiling of
expat. The problem is the AC_C_BIGENDIAN
macro. Instead of using AC_C_BIGENDIAN,
the AC_C_BIGENDIAN_CROSS macro from the
autoconf archive should be used. I am
going to attach the macro file here. Note
that you can also obtain this same file
from:

http://cryp.to/autoconf-archive/Cross_Compilation/ac_c_bigendian_cross.html

Also, I am not claiming this is the perfect
way to add .m4 files to aclocal.m4. I tried
to make it work like your existing buildconf.sh.
Note that the macro file should live in:

conftools/ac_c_bigendian_cross.m4

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=310127&aid=431342&group_id=10127