diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2012-03-24 19:41:40 +0100 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2012-03-24 21:54:57 +0100 |
commit | 03a66522d5aef7b49fbf63e4da475c4ab8b1fe2e (patch) | |
tree | 4f5f8dd0c3ed0ecee5281199207b44a395b48776 /configure.ac | |
parent | 8f01b6bcc58e25c92a263f99283748d29421cacb (diff) | |
download | libsigrokdecode-03a66522d5aef7b49fbf63e4da475c4ab8b1fe2e.tar.gz libsigrokdecode-03a66522d5aef7b49fbf63e4da475c4ab8b1fe2e.zip |
srd: sigrokdecode.h: Add version macros.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/configure.ac b/configure.ac index 8b783e6..8fbfd45 100644 --- a/configure.ac +++ b/configure.ac @@ -67,6 +67,10 @@ LIBSIGROKDECODE_LT_REVISION=0 LIBSIGROKDECODE_LT_AGE=0 LIBSIGROKDECODE_LT_VERSION="$LIBSIGROKDECODE_LT_CURRENT:$LIBSIGROKDECODE_LT_REVISION:$LIBSIGROKDECODE_LT_AGE" LIBSIGROKDECODE_LT_LDFLAGS="-version-info $LIBSIGROKDECODE_LT_VERSION" +AC_SUBST(LIBSIGROKDECODE_LT_CURRENT) +AC_SUBST(LIBSIGROKDECODE_LT_REVISION) +AC_SUBST(LIBSIGROKDECODE_LT_AGE) +AC_SUBST(LIBSIGROKDECODE_LT_VERSION) AC_SUBST(LIBSIGROKDECODE_LT_LDFLAGS) # Checks for libraries. @@ -140,16 +144,8 @@ AC_SUBST(LIBSIGROKDECODE_MINOR_VERSION) AC_SUBST(LIBSIGROKDECODE_MICRO_VERSION) AC_SUBST(LIBSIGROKDECODE_VERSION) -AC_DEFINE(LIBSIGROKDECODE_MAJOR_VERSION, [libsigrokdecode_major_version], - [Define to the libsigrokdecode major package version]) -AC_DEFINE(LIBSIGROKDECODE_MINOR_VERSION, [libsigrokdecode_minor_version], - [Define to the libsigrokdecode minor package version]) -AC_DEFINE(LIBSIGROKDECODE_MICRO_VERSION, [libsigrokdecode_micro_version], - [Define to the libsigrokdecode micro package version]) -AC_DEFINE(LIBSIGROKDECODE_VERSION, [libsigrokdecode_version], - [Define to the libsigrokdecode package version]) - AC_CONFIG_FILES([Makefile + sigrokdecode.h libsigrokdecode.pc decoders/Makefile decoders/dcf77/Makefile |