Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 1 | Index: SDL_image-1.2.12/configure.in |
| 2 | =================================================================== |
| 3 | --- SDL_image-1.2.12.orig/configure.in 2012-01-21 01:51:33.000000000 +0000 |
| 4 | +++ SDL_image-1.2.12/configure.in 2014-07-18 06:56:56.853466678 +0000 |
| 5 | @@ -1,5 +1,4 @@ |
| 6 | dnl Process this file with autoconf to produce a configure script. |
| 7 | -AC_INIT(README) |
| 8 | |
| 9 | dnl Set various version strings - taken gratefully from the GTk sources |
| 10 | |
| 11 | @@ -11,12 +10,19 @@ |
| 12 | # if backwards compatibility has been broken, |
| 13 | # set BINARY_AGE and INTERFACE_AGE to 0. |
| 14 | |
| 15 | -MAJOR_VERSION=1 |
| 16 | -MINOR_VERSION=2 |
| 17 | -MICRO_VERSION=12 |
| 18 | +m4_define([sdlimage_major_version],[1]) |
| 19 | +m4_define([sdlimage_minor_version],[2]) |
| 20 | +m4_define([sdlimage_micro_version],[12]) |
| 21 | +m4_define([sdlimage_version], [sdlimage_major_version.sdlimage_minor_version.sdlimage_micro_version]) |
| 22 | + |
| 23 | +AC_INIT([SDL_image], [sdlimage_version]) |
| 24 | + |
| 25 | +MAJOR_VERSION=sdlimage_major_version |
| 26 | +MINOR_VERSION=sdlimage_minor_version |
| 27 | +MICRO_VERSION=sdlimage_micro_version |
| 28 | INTERFACE_AGE=4 |
| 29 | BINARY_AGE=12 |
| 30 | -VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION |
| 31 | +VERSION=sdlimage_version |
| 32 | |
| 33 | AC_SUBST(MAJOR_VERSION) |
| 34 | AC_SUBST(MINOR_VERSION) |
| 35 | @@ -42,7 +48,7 @@ |
| 36 | AC_CANONICAL_HOST |
| 37 | |
| 38 | dnl Setup for automake |
| 39 | -AM_INIT_AUTOMAKE(SDL_image, $VERSION) |
| 40 | +AM_INIT_AUTOMAKE([foreign]) |
| 41 | |
| 42 | dnl Check for tools |
| 43 | AC_PROG_LIBTOOL |