summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac10
1 files changed, 8 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 8fb032d..503051f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2,7 +2,7 @@
2# Process this file with autoconf to produce a configure script. 2# Process this file with autoconf to produce a configure script.
3 3
4AC_PREREQ([2.68]) 4AC_PREREQ([2.68])
5AC_INIT([libimobiledevice], [1.3.1], [https://github.com/libimobiledevice/libimobiledevice/issues], [], [https://libimobiledevice.org]) 5AC_INIT([libimobiledevice], [m4_esyscmd(./git-version-gen $RELEASE_VERSION)], [https://github.com/libimobiledevice/libimobiledevice/issues], [], [https://libimobiledevice.org])
6AM_INIT_AUTOMAKE([dist-bzip2 no-dist-gzip check-news]) 6AM_INIT_AUTOMAKE([dist-bzip2 no-dist-gzip check-news])
7m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES]) 7m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES])
8AC_CONFIG_SRCDIR([src/]) 8AC_CONFIG_SRCDIR([src/])
@@ -17,12 +17,18 @@ dnl libtool versioning
17# CURRENT : REVISION : AGE 17# CURRENT : REVISION : AGE
18LIBIMOBILEDEVICE_SO_VERSION=6:0:0 18LIBIMOBILEDEVICE_SO_VERSION=6:0:0
19 19
20AC_SUBST(LIBIMOBILEDEVICE_SO_VERSION)
21
22# Check if we have a version defined
23if test -z $PACKAGE_VERSION; then
24 AC_MSG_ERROR([PACKAGE_VERSION is not defined. Make sure to configure a source tree checked out from git or that .tarball-version is present.])
25fi
26
20dnl Minimum package versions 27dnl Minimum package versions
21LIBUSBMUXD_VERSION=2.0.2 28LIBUSBMUXD_VERSION=2.0.2
22LIBPLIST_VERSION=2.2.0 29LIBPLIST_VERSION=2.2.0
23LIMD_GLUE_VERSION=1.0.0 30LIMD_GLUE_VERSION=1.0.0
24 31
25AC_SUBST(LIBIMOBILEDEVICE_SO_VERSION)
26AC_SUBST(LIBUSBMUXD_VERSION) 32AC_SUBST(LIBUSBMUXD_VERSION)
27AC_SUBST(LIBPLIST_VERSION) 33AC_SUBST(LIBPLIST_VERSION)
28AC_SUBST(LIMD_GLUE_VERSION) 34AC_SUBST(LIMD_GLUE_VERSION)