Mercurial > sdl-ios-xcode
comparison configure.in @ 4308:447fd6ae10cf SDL-1.2
Fixed bug #833
Fixed errors with older autoconf
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sat, 10 Oct 2009 09:58:32 +0000 |
parents | 602642738b83 |
children | df4108bfbe1e |
comparison
equal
deleted
inserted
replaced
4307:f4ee83767bfd | 4308:447fd6ae10cf |
---|---|
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_CONFIG_AUX_DIR([build-scripts]) | 47 AC_CONFIG_AUX_DIR([build-scripts]) |
47 AC_CANONICAL_HOST | 48 dnl AC_CANONICAL_HOST |
48 AC_C_BIGENDIAN | 49 AC_C_BIGENDIAN |
49 if test x$ac_cv_c_bigendian = xyes; then | 50 if test x$ac_cv_c_bigendian = xyes; then |
50 AC_DEFINE(SDL_BYTEORDER, 4321) | 51 AC_DEFINE(SDL_BYTEORDER, 4321) |
51 else | 52 else |
52 AC_DEFINE(SDL_BYTEORDER, 1234) | 53 AC_DEFINE(SDL_BYTEORDER, 1234) |