rbb         01/04/14 21:28:17

  Modified:    xml/expat buildconf.sh configure.in
  Log:
  Clean up some buildconf warnings about AC_TRY_RUN.  AC_TRY_RUN is being
  called from an autoconf provided macro that we can't fix, so we just
  hide the warnings.  This is the same approach taken in Apache itself.
  
  Revision  Changes    Path
  1.4       +4 -2      apr-util/xml/expat/buildconf.sh
  
  Index: buildconf.sh
  ===================================================================
  RCS file: /home/cvs/apr-util/xml/expat/buildconf.sh,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -d -b -w -u -r1.3 -r1.4
  --- buildconf.sh      2001/04/02 22:49:31     1.3
  +++ buildconf.sh      2001/04/15 04:28:16     1.4
  @@ -15,6 +15,8 @@
   echo "dnl edits here will be lost" >> aclocal.m4
   cat $ltfile >> aclocal.m4
   
  +cross_compile_warning="warning: AC_TRY_RUN called without default to allow 
cross compiling"
  +
   #
   # Create the libtool helper files
   #
  @@ -27,8 +29,8 @@
   # Generate the autoconf header template (config.h.in) and ./configure
   #
   echo "Creating config.h.in ..."
  -autoheader
  +autoheader 2>&1 | grep -v "$cross_compile_warning"
   
   echo "Creating configure ..."
   ### do some work to toss config.cache?
  -autoconf
  +autoconf 2>&1 | grep -v "$cross_compile_warning"
  
  
  
  1.4       +7 -1      apr-util/xml/expat/configure.in
  
  Index: configure.in
  ===================================================================
  RCS file: /home/cvs/apr-util/xml/expat/configure.in,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -d -b -w -u -r1.3 -r1.4
  --- configure.in      2001/03/31 13:32:37     1.3
  +++ configure.in      2001/04/15 04:28:16     1.4
  @@ -79,7 +79,13 @@
   AC_CHECK_HEADERS(fcntl.h unistd.h)
   
   dnl Checks for typedefs, structures, and compiler characteristics.
  +dnl check for endianness
  +if test "$cross_compiling" = "no"; then
   AC_C_BIGENDIAN
  +else
  +  AC_DEFINE(AP_UNKNOWN_BYTE_ORDER,1,
  +                [byte order is unknown due to cross-compilation])
  +fi
   AC_C_CONST
   AC_TYPE_OFF_T
   AC_TYPE_SIZE_T
  
  
  

Reply via email to