From: Pekka Riikonen Date: Mon, 11 Jun 2007 19:15:01 +0000 (+0000) Subject: udpates. X-Git-Tag: silc.toolkit.1.1.1~17 X-Git-Url: http://git.silcnet.org/gitweb/?p=silc.git;a=commitdiff_plain;h=4deb05b772b70f1a7b40619d67548bc1e87e5bfb udpates. --- diff --git a/configure.ad b/configure.ad index dfa3df0e..de959e79 100644 --- a/configure.ad +++ b/configure.ad @@ -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 diff --git a/includes/silc.h.in b/includes/silc.h.in index accf5225..0353baac 100644 --- a/includes/silc.h.in +++ b/includes/silc.h.in @@ -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 */