From 8b1712c6ee532bbd33ee9cf3b4d6844c63ce77d7 Mon Sep 17 00:00:00 2001 From: Pekka Riikonen Date: Mon, 11 Jun 2007 19:15:00 +0000 Subject: [PATCH] udpates. --- CHANGES | 6 ++++++ configure.ad | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/CHANGES b/CHANGES index 87a83573..a87492f3 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,9 @@ +Mon Jun 11 22:10:17 EEST 2007 Pekka Riikonen + + * Added __SILC_TOOLKIT_x_x_x macro to all Toolkit distribution + which can be used to check for Toolkit version in third-party + software. Affected file is configure.ad, includes/silc.h.in. + Sun Jun 10 17:32:15 EEST 2007 Pekka Riikonen * Added support for channel@server channel name strings to diff --git a/configure.ad b/configure.ad index 47702fb4..dfa3df0e 100644 --- a/configure.ad +++ b/configure.ad @@ -94,6 +94,11 @@ __SILC_HAVE_PTHREAD="" __SILC_HAVE_SIM="" __SILC_ENABLE_DEBUG="" +#ifdef SILC_DIST_TOOLKIT +toolkitver=`echo $VERSION | sed 's/\.//g'` +__SILC_PACKAGE_VERSION="#define __SILC_TOOLKIT_VERSION $toolkitver" +#endif SILC_DIST_TOOLKIT + AC_PROG_RANLIB #ifndef SILC_DIST_TOOLKIT AC_DISABLE_SHARED @@ -1319,6 +1324,7 @@ AC_SUBST(SILC_LIB_INCLUDES) AC_SUBST(__SILC_HAVE_PTHREAD) AC_SUBST(__SILC_HAVE_SIM) AC_SUBST(__SILC_ENABLE_DEBUG) +AC_SUBST(__SILC_PACKAGE_VERSION) # # Fix the libtool to support run-time configuration. This allows us -- 2.24.0