From 4deb05b772b70f1a7b40619d67548bc1e87e5bfb Mon Sep 17 00:00:00 2001 From: Pekka Riikonen Date: Mon, 11 Jun 2007 19:15:01 +0000 Subject: [PATCH] udpates. --- configure.ad | 4 ++-- includes/silc.h.in | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) 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 */ -- 2.24.0