apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jor...@apache.org
Subject cvs commit: apr configure.in
Date Thu, 06 Nov 2003 09:18:23 GMT
jorton      2003/11/06 01:18:22

  Modified:    .        configure.in
  Log:
  * configure.in: Fix endianness detection with autoconf 2.1x.
  
  Revision  Changes    Path
  1.551     +7 -2      apr/configure.in
  
  Index: configure.in
  ===================================================================
  RCS file: /home/cvs/apr/configure.in,v
  retrieving revision 1.550
  retrieving revision 1.551
  diff -u -u -r1.550 -r1.551
  --- configure.in	5 Nov 2003 15:32:28 -0000	1.550
  +++ configure.in	6 Nov 2003 09:18:22 -0000	1.551
  @@ -1188,8 +1188,13 @@
       pid_t_fmt='#error Can not determine the proper size for pid_t'
   fi
   
  -dnl Checks for endianness
  -AC_C_BIGENDIAN([bigendian=1],[bigendian=0])
  +# Checks for endianness
  +AC_C_BIGENDIAN
  +if test $ac_cv_c_bigendian = yes; then
  +    bigendian=1
  +else
  +    bigendian=0
  +fi
   
   # Basically, we have tried to figure out the correct format strings
   # for APR types which vary between platforms, but we don't always get 
  
  
  

Mime
View raw message