third_party.expat/expat/buildconf.sh
Fred L. Drake, Jr. 3b3a7ec889 Use the AC_C_BIGENDIAN_CROSS macro instead of the non-cross-compile-safe
version normally provided with autoconf.

I have not tested this in a cross-compilation environment, but it does
not break things in my x86 environment.  (If this breaks things for anyone,
please file a bug report!)

This closes SF patch #431342.
2001-07-24 19:54:20 +00:00

35 lines
886 B
Bash
Executable File

#! /bin/sh
#
# Build aclocal.m4 from libtool's libtool.m4
#
ltpath=`conftools/PrintPath libtoolize`
ltpath=`dirname $ltpath`
ltfile=`cd $ltpath/../share/aclocal ; pwd`/libtool.m4
echo "Incorporating $ltfile into aclocal.m4 ..."
echo "dnl THIS FILE IS AUTOMATICALLY GENERATED BY buildconf.sh" > aclocal.m4
echo "dnl edits here will be lost" >> aclocal.m4
cat $ltfile >> aclocal.m4
ltfile='conftools/ac_c_bigendian_cross.m4'
echo "Incorporating $ltfile into aclocal.m4 ..."
cat $ltfile >> aclocal.m4
#
# Create the libtool helper files
#
# Note: we always replace the files, and we copy (rather than link) them.
#
echo "Copying libtool helper files ..."
$ltpath/libtoolize --force --copy
#
# Generate the autoconf header template (config.h.in) and ./configure
#
echo "Creating config.h.in ..."
autoheader
echo "Creating configure ..."
### do some work to toss config.cache?
autoconf