X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=configure.ad;h=dfa3df0efe76a5e21773e5c0cd06a31f7420b2fb;hb=8b1712c6ee532bbd33ee9cf3b4d6844c63ce77d7;hp=4dd8e659b18c83e6fc96cc292b7def4e87e0a0b1;hpb=4a7c8b4e56accaaaf098155a580df023bfb91c69;p=silc.git diff --git a/configure.ad b/configure.ad index 4dd8e659..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 @@ -605,7 +610,7 @@ else # pkg-config check PKG_CHECK_MODULES(SILC, [silc >= 1.1], compile_libs=false, compile_libs=true) #ifdef SILC_DIST_CLIENTLIB - PKG_CHECK_MODULES(SILCCLIENT, [silcclient >= 1.1], compile_libs=false, compile_libs=true) + PKG_CHECK_MODULES(SILCCLIENT, [silcclient >= 1.1.1], compile_libs=false, compile_libs=true) #endif SILC_DIST_CLIENTLIB #ifdef SILC_DIST_SERVERLIB PKG_CHECK_MODULES(SILCSERVER, silcserver, compile_libs=false, compile_libs=true) @@ -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