diff options
Diffstat (limited to 'libfsoresource/configure.ac')
-rw-r--r-- | libfsoresource/configure.ac | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/libfsoresource/configure.ac b/libfsoresource/configure.ac index c9ff63ce..611de98e 100644 --- a/libfsoresource/configure.ac +++ b/libfsoresource/configure.ac @@ -3,6 +3,15 @@ m4_define([fsoresource_base_version], [0.11.0]) m4_define([fsoresource_maybe_gitrev], m4_if(fsoresource_released, [1], [], [m4_esyscmd([git show-ref --hash=5 HEAD | tr -d '\n\r'])])) m4_define([fsoresource_version], m4_if(fsoresource_released, [1], [fsoresource_base_version], [fsoresource_base_version-fsoresource_maybe_gitrev])) +# If library source has changed since last release, increment revision +# If public symbols have been added, removed or changed since last release, +# increment current and set revision to 0 +# If public symbols have been added since last release, increment age +# If public symbols have been removed since last release, set age to 0 +m4_define([fsoresource_lt_current], [0]) +m4_define([fsoresource_lt_revision], [0]) +m4_define([fsoresource_lt_age], [0]) + AC_INIT([libfsoresource], fsoresource_version, [smartphones-userland@linuxtogo.org], [libfsoresource]) m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) @@ -23,6 +32,13 @@ AC_SUBST(CFLAGS) AC_SUBST(CPPFLAGS) AC_SUBST(LDFLAGS) +LT_CURRENT=fsoresource_lt_current +LT_REVISION=fsoresource_lt_revision +LT_AGE=fsoresource_lt_age +AC_SUBST([LT_CURRENT]) +AC_SUBST([LT_REVISION]) +AC_SUBST([LT_AGE]) + ######################################################################################### # Vala building options -- allows tarball builds without installing vala ######################################################################################### |