Mercurial > sdl-ios-xcode
comparison configure.in @ 3368:ca6f355e44b2
Fixed bug #833
Fixed errors with older autoconf
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sat, 10 Oct 2009 09:58:24 +0000 |
parents | 1164528004ff |
children | dd11d2376e27 |
comparison
equal
deleted
inserted
replaced
3367:7a7a61a1484d | 3368:ca6f355e44b2 |
---|---|
34 | 34 |
35 LT_RELEASE=$SDL_MAJOR_VERSION.$SDL_MINOR_VERSION | 35 LT_RELEASE=$SDL_MAJOR_VERSION.$SDL_MINOR_VERSION |
36 LT_CURRENT=`expr $SDL_MICRO_VERSION - $SDL_INTERFACE_AGE` | 36 LT_CURRENT=`expr $SDL_MICRO_VERSION - $SDL_INTERFACE_AGE` |
37 LT_REVISION=$SDL_INTERFACE_AGE | 37 LT_REVISION=$SDL_INTERFACE_AGE |
38 LT_AGE=`expr $SDL_BINARY_AGE - $SDL_INTERFACE_AGE` | 38 LT_AGE=`expr $SDL_BINARY_AGE - $SDL_INTERFACE_AGE` |
39 m4_pattern_allow([^LT_]) | |
39 | 40 |
40 AC_SUBST(LT_RELEASE) | 41 AC_SUBST(LT_RELEASE) |
41 AC_SUBST(LT_CURRENT) | 42 AC_SUBST(LT_CURRENT) |
42 AC_SUBST(LT_REVISION) | 43 AC_SUBST(LT_REVISION) |
43 AC_SUBST(LT_AGE) | 44 AC_SUBST(LT_AGE) |
44 | 45 |
45 dnl Detect the canonical build and host environments | 46 dnl Detect the canonical build and host environments |
46 AC_CANONICAL_HOST | 47 dnl AC_CANONICAL_HOST |
47 AC_C_BIGENDIAN | 48 AC_C_BIGENDIAN |
48 if test x$ac_cv_c_bigendian = xyes; then | 49 if test x$ac_cv_c_bigendian = xyes; then |
49 AC_DEFINE(SDL_BYTEORDER, 4321) | 50 AC_DEFINE(SDL_BYTEORDER, 4321) |
50 else | 51 else |
51 AC_DEFINE(SDL_BYTEORDER, 1234) | 52 AC_DEFINE(SDL_BYTEORDER, 1234) |