udpates.
authorPekka Riikonen <priikone@silcnet.org>
Mon, 11 Jun 2007 19:15:01 +0000 (19:15 +0000)
committerPekka Riikonen <priikone@silcnet.org>
Mon, 11 Jun 2007 19:15:01 +0000 (19:15 +0000)
configure.ad
includes/silc.h.in

index dfa3df0efe76a5e21773e5c0cd06a31f7420b2fb..de959e791d3fc542e2b537025f855ca099175ecb 100644 (file)
@@ -95,8 +95,8 @@ __SILC_HAVE_SIM=""
 __SILC_ENABLE_DEBUG=""
 
 #ifdef SILC_DIST_TOOLKIT
-toolkitver=`echo $VERSION | sed 's/\.//g'`
-__SILC_PACKAGE_VERSION="#define __SILC_TOOLKIT_VERSION $toolkitver"
+toolkitver=`echo $VERSION | sed 's/\./_/g'`
+__SILC_PACKAGE_VERSION="#define __SILC_TOOLKIT_$toolkitver 1"
 #endif SILC_DIST_TOOLKIT
 
 AC_PROG_RANLIB
index accf52253b65e52d30cbe70023af67db24c19949..0353baac7675c6427ca687b8918c26da5361c9b6 100644 (file)
@@ -65,6 +65,7 @@ extern "C" {
 @__SILC_HAVE_PTHREAD@
 @__SILC_HAVE_SIM@
 @__SILC_ENABLE_DEBUG@
+@__SILC_PACKAGE_VERSION@
 
 #if defined(HAVE_SILCDEFS_H)
 /* Automatically generated configuration header */