comparison configure.in @ 3085:4800979de337

Updated libtool from version 1.5.22 to 2.2.6a, so it works on current QNX
author Sam Lantinga <slouken@libsdl.org>
date Wed, 04 Mar 2009 08:57:30 +0000
parents 0bc41e0361d3
children 0b6f51c29267
comparison
equal deleted inserted replaced
3084:fb256fee28d8 3085:4800979de337
1 dnl Process this file with autoconf to produce a configure script. 1 dnl Process this file with autoconf to produce a configure script.
2 AC_INIT(README) 2 AC_INIT(README)
3 AC_CONFIG_HEADER(include/SDL_config.h) 3 AC_CONFIG_HEADER(include/SDL_config.h)
4 AC_GNU_SOURCE 4 AC_GNU_SOURCE
5 AC_CONFIG_AUX_DIRS($srcdir/build-scripts)
5 6
6 dnl Set various version strings - taken gratefully from the GTk sources 7 dnl Set various version strings - taken gratefully from the GTk sources
7 # 8 #
8 # Making releases: 9 # Making releases:
9 # Edit include/SDL/SDL_version.h and change the version, then: 10 # Edit include/SDL/SDL_version.h and change the version, then:
27 AC_SUBST(SDL_INTERFACE_AGE) 28 AC_SUBST(SDL_INTERFACE_AGE)
28 AC_SUBST(SDL_BINARY_AGE) 29 AC_SUBST(SDL_BINARY_AGE)
29 AC_SUBST(SDL_VERSION) 30 AC_SUBST(SDL_VERSION)
30 31
31 # libtool versioning 32 # libtool versioning
33 LT_INIT([win32-dll])
34
32 LT_RELEASE=$SDL_MAJOR_VERSION.$SDL_MINOR_VERSION 35 LT_RELEASE=$SDL_MAJOR_VERSION.$SDL_MINOR_VERSION
33 LT_CURRENT=`expr $SDL_MICRO_VERSION - $SDL_INTERFACE_AGE` 36 LT_CURRENT=`expr $SDL_MICRO_VERSION - $SDL_INTERFACE_AGE`
34 LT_REVISION=$SDL_INTERFACE_AGE 37 LT_REVISION=$SDL_INTERFACE_AGE
35 LT_AGE=`expr $SDL_BINARY_AGE - $SDL_INTERFACE_AGE` 38 LT_AGE=`expr $SDL_BINARY_AGE - $SDL_INTERFACE_AGE`
36 39
38 AC_SUBST(LT_CURRENT) 41 AC_SUBST(LT_CURRENT)
39 AC_SUBST(LT_REVISION) 42 AC_SUBST(LT_REVISION)
40 AC_SUBST(LT_AGE) 43 AC_SUBST(LT_AGE)
41 44
42 dnl Detect the canonical build and host environments 45 dnl Detect the canonical build and host environments
43 AC_CONFIG_AUX_DIRS($srcdir/build-scripts)
44 AC_CANONICAL_HOST 46 AC_CANONICAL_HOST
45 AC_C_BIGENDIAN 47 AC_C_BIGENDIAN
46 if test x$ac_cv_c_bigendian = xyes; then 48 if test x$ac_cv_c_bigendian = xyes; then
47 AC_DEFINE(SDL_BYTEORDER, 4321) 49 AC_DEFINE(SDL_BYTEORDER, 4321)
48 else 50 else
88 CPPFLAGS="$CPPFLAGS $EXTRA_CFLAGS" 90 CPPFLAGS="$CPPFLAGS $EXTRA_CFLAGS"
89 CFLAGS="$CFLAGS $EXTRA_CFLAGS" 91 CFLAGS="$CFLAGS $EXTRA_CFLAGS"
90 LDFLAGS="$LDFLAGS $EXTRA_LDFLAGS" 92 LDFLAGS="$LDFLAGS $EXTRA_LDFLAGS"
91 93
92 dnl Check for tools 94 dnl Check for tools
93 AC_LIBTOOL_WIN32_DLL
94 AC_PROG_LIBTOOL 95 AC_PROG_LIBTOOL
95 AC_PROG_CC 96 AC_PROG_CC
96 AC_PROG_CXX 97 AC_PROG_CXX
97 AC_PROG_INSTALL 98 AC_PROG_INSTALL
98 AC_PROG_MAKE_SET 99 AC_PROG_MAKE_SET