-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #120 from rouault/fix_119
Add LIBGEOTIFF_MAJOR_VERSION, LIBGEOTIFF_MINOR_VERSION, LIBGEOTIFF_PATCH_VERSION, LIBGEOTIFF_REV_VERSION, and LIBGEOTIFF_STRING_VERSION variables in geotiff.h, and autogenerate it
- Loading branch information
Showing
6 changed files
with
58 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,29 @@ | ||
|
||
|
||
m4_define([VERSION_MAJOR], [1]) | ||
m4_define([VERSION_MINOR], [7]) | ||
m4_define([VERSION_POINT], [3]) | ||
m4_define([GEOTIFF_VERSION], | ||
[VERSION_MAJOR.VERSION_MINOR.VERSION_POINT]) | ||
|
||
m4_include([m4/ax_prog_doxygen.m4]) | ||
|
||
AC_PREREQ([2.59]) | ||
AC_INIT([libgeotiff], [GEOTIFF_VERSION], [[email protected]]) | ||
AC_INIT([libgeotiff], [1.7.4], [[email protected]]) | ||
AC_CANONICAL_BUILD | ||
|
||
AC_CONFIG_MACRO_DIR([m4]) | ||
|
||
RELEASE_VERSION=GEOTIFF_VERSION | ||
AC_SUBST([RELEASE_VERSION]) | ||
AC_CONFIG_HEADER(geo_config.h) | ||
LIBGEOTIFF_MAJOR_VERSION=1 | ||
LIBGEOTIFF_MINOR_VERSION=7 | ||
LIBGEOTIFF_PATCH_VERSION=4 | ||
LIBGEOTIFF_REV_VERSION=0 | ||
|
||
LIBGEOTIFF_STRING_VERSION=${LIBGEOTIFF_MAJOR_VERSION}.${LIBGEOTIFF_MINOR_VERSION}.${LIBGEOTIFF_PATCH_VERSION} | ||
LIBGEOTIFF_VERSION="${LIBGEOTIFF_MAJOR_VERSION}${LIBGEOTIFF_MINOR_VERSION}${LIBGEOTIFF_PATCH_VERSION}${LIBGEOTIFF_REV_VERSION}" | ||
|
||
AC_SUBST(LIBGEOTIFF_MAJOR_VERSION) | ||
AC_SUBST(LIBGEOTIFF_MINOR_VERSION) | ||
AC_SUBST(LIBGEOTIFF_PATCH_VERSION) | ||
AC_SUBST(LIBGEOTIFF_REV_VERSION) | ||
AC_SUBST(LIBGEOTIFF_STRING_VERSION) | ||
AC_SUBST(LIBGEOTIFF_VERSION) | ||
|
||
AC_CONFIG_HEADERS([geo_config.h]) | ||
AC_CONFIG_FILES([geotiff.h]) | ||
|
||
dnl ######################################################################### | ||
dnl Checks for programs. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters