comparison configure.in @ 3426:ee0178f1c507

Fixed bug #878 Jack Jansen 2009-11-05 14:20:22 PST I'm building "fat" SDL 1.3 libraries for MacOSX, but now I am running into the issue that audio does not work on PowerPC macintoshes if you build the library on an Intel. The problem is that configure hard-codes the byteorder, which is then stored in SDL_config.h
author Sam Lantinga <slouken@libsdl.org>
date Mon, 09 Nov 2009 04:13:51 +0000
parents 1756b9569141
children 3427271a2d75
comparison
equal deleted inserted replaced
3425:25ccea045c9f 3426:ee0178f1c507
46 AC_SUBST(LT_REVISION) 46 AC_SUBST(LT_REVISION)
47 AC_SUBST(LT_AGE) 47 AC_SUBST(LT_AGE)
48 48
49 dnl Detect the canonical build and host environments 49 dnl Detect the canonical build and host environments
50 dnl AC_CANONICAL_HOST 50 dnl AC_CANONICAL_HOST
51 AC_C_BIGENDIAN
52 if test x$ac_cv_c_bigendian = xyes; then
53 AC_DEFINE(SDL_BYTEORDER, 4321)
54 else
55 AC_DEFINE(SDL_BYTEORDER, 1234)
56 fi
57 51
58 dnl Check for tools 52 dnl Check for tools
59 AC_PROG_LIBTOOL 53 AC_PROG_LIBTOOL
60 AC_PROG_CC 54 AC_PROG_CC
61 AC_PROG_CXX 55 AC_PROG_CXX