Changeset 1673


Ignore:
Timestamp:
Jan 9, 2008 3:43:02 PM (17 years ago)
Author:
bennylp
Message:

Ticket #441: Fix endianess detection for PortAudio?

Location:
pjproject/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/aconfigure

    r1612 r1673  
    95619561 
    95629562 
     9563 
     9564if test "x$ac_cv_c_bigendian" = "xyes"; then 
     9565  ac_pa_cflags="$ac_pa_cflags -DPA_BIG_ENDIAN" 
     9566else 
     9567  ac_pa_cflags="$ac_pa_cflags -DPA_LITTLE_ENDIAN" 
     9568fi 
    95639569 
    95649570if test "$enable_sound" = "no"; then 
  • pjproject/trunk/aconfigure.ac

    r1612 r1673  
    312312AC_CHECK_HEADER(machine/soundcard.h, 
    313313                [ac_pa_cflags="$ac_pa_cflags -DHAVE_MACHINE_SOUNDCARD_H"]) 
     314 
     315if test "x$ac_cv_c_bigendian" = "xyes"; then 
     316  ac_pa_cflags="$ac_pa_cflags -DPA_BIG_ENDIAN" 
     317else 
     318  ac_pa_cflags="$ac_pa_cflags -DPA_LITTLE_ENDIAN" 
     319fi 
    314320 
    315321if test "$enable_sound" = "no"; then 
Note: See TracChangeset for help on using the changeset viewer.