From 159434a42c5ce5def50a8cd0d145f65e1ded82d0 Mon Sep 17 00:00:00 2001 From: Pekka Riikonen Date: Mon, 18 Apr 2005 16:24:49 +0000 Subject: [PATCH] updates. --- configure.ad | 5 ++--- distdir/client | 1 + distdir/post-dist | 14 ++++++++++++++ distdir/server | 1 + distdir/toolkit | 1 + 5 files changed, 19 insertions(+), 3 deletions(-) create mode 100644 distdir/post-dist diff --git a/configure.ad b/configure.ad index cff35cfd..cb6ed7f8 100644 --- a/configure.ad +++ b/configure.ad @@ -461,6 +461,7 @@ if test -n "$with_silc_includes" || test -n "$with_silc_libs"; then if test -n "$f"; then LIBS="$LIBS -lpthread" check_threads=false + has_threads=true fi f=`$EGREP __SILC_HAVE_SIM $ac_silc_includes/silcincludes.h` if test -n "$f"; then @@ -832,7 +833,6 @@ fi # POSIX threads support # -has_threads=false AC_MSG_CHECKING(whether to search for POSIX threads) AC_ARG_WITH(pthreads, [[ --with-pthreads[=DIR] use POSIX threads [search in DIR/include and DIR/lib]]], @@ -856,6 +856,7 @@ AC_ARG_WITH(pthreads, ]) if test x$check_threads = xtrue; then + has_threads=false SAVE_LIBS="$LIBS" SAVE_CFLAGS="$CFLAGS" SAVE_LDFLAGS="$LDFLAGS" @@ -986,7 +987,6 @@ AM_CONDITIONAL(SILC_BEOS, test xfalse = xtrue) AM_CONDITIONAL(SILC_OS2, test xfalse = xtrue) #ifdef SILC_DIST_TOOLKIT - # --without-irssi # without_irssi=false @@ -1014,7 +1014,6 @@ AC_ARG_WITH(silcd, [ AC_MSG_RESULT(yes) ]) - #endif SILC_DIST_TOOLKIT #ifdef SILC_DIST_CLIENT diff --git a/distdir/client b/distdir/client index 76ec28b1..2e92c8c5 100644 --- a/distdir/client +++ b/distdir/client @@ -5,3 +5,4 @@ inherit common define SILC_DIST_CLIENT define SILC_DIST_CLIENTLIB pre-hook distdir/pre-run +post-dist-hook distdir/post-dist diff --git a/distdir/post-dist b/distdir/post-dist new file mode 100644 index 00000000..e53ca6ff --- /dev/null +++ b/distdir/post-dist @@ -0,0 +1,14 @@ +#!/bin/sh + +distribution=$1 +dist_version=$2 +package=$3 +distdir=$4 + +if test -f $distdir.tar.gz; then + md5sum $distdir.tar.gz > distdir.tar.gz.md5 +fi +if test -f $distdir.tar.bz2; then + md5sum $distdir.tar.bz2 > distdir.tar.bz2.md5 +fi + diff --git a/distdir/server b/distdir/server index 15eaecc4..3d224695 100644 --- a/distdir/server +++ b/distdir/server @@ -5,3 +5,4 @@ license distdir/BSD license-header distdir/GPL-header distdir/BSD-header inherit common define SILC_DIST_SERVER +post-dist-hook distdir/post-dist diff --git a/distdir/toolkit b/distdir/toolkit index 180ab29a..fb678dd7 100644 --- a/distdir/toolkit +++ b/distdir/toolkit @@ -11,3 +11,4 @@ include README.MACOSX include silcer include tutorial pre-hook distdir/pre-run +post-dist-hook distdir/post-dist -- 2.24.0