1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
|
--- a/Makefile.in
+++ b/Makefile.in
@@ -89,6 +89,7 @@ TCC += $(OPTS)
VERSION = @VERSION@
VERSION_NUMBER = @VERSION_NUMBER@
RELEASE = @RELEASE@
+SQLCIPHER_VERSION = @SQLCIPHER_VERSION@
# Filename extensions
#
--- /dev/null
+++ b/VERSION_SQLCIPHER
@@ -0,0 +1 @@
+3.2.0
--- a/configure.ac
+++ b/configure.ac
@@ -179,6 +179,10 @@ VERSION_NUMBER=[`cat $srcdir/VERSION \
AC_MSG_NOTICE(Version number set to $VERSION_NUMBER)
AC_SUBST(VERSION_NUMBER)
+SQLCIPHER_VERSION=[`cat $srcdir/VERSION_SQLCIPHER | sed 's/^\([0-9]*\.*[0-9]*\).*/\1/'`]
+AC_MSG_NOTICE(SQLCipher Version set to $SQLCIPHER_VERSION)
+AC_SUBST(SQLCIPHER_VERSION)
+
#########
# Check to see if the --with-hints=FILE option is used. If there is none,
# then check for a files named "$host.hints" and ../$hosts.hints where
--- a/sqlcipher.pc.in
+++ b/sqlcipher.pc.in
@@ -7,7 +7,7 @@ includedir=@includedir@
Name: SQLCipher
Description: SQL database engine
-Version: @PACKAGE_VERSION@
+Version: @SQLCIPHER_VERSION@
Libs: -L${libdir} -lsqlcipher
Libs.private: @LIBS@
Cflags: -I${includedir}
|