updates.
authorPekka Riikonen <priikone@silcnet.org>
Mon, 18 Apr 2005 16:24:49 +0000 (16:24 +0000)
committerPekka Riikonen <priikone@silcnet.org>
Mon, 18 Apr 2005 16:24:49 +0000 (16:24 +0000)
configure.ad
distdir/client
distdir/post-dist [new file with mode: 0644]
distdir/server
distdir/toolkit

index cff35cfdcf737ab13fea79116478a88129fe7131..cb6ed7f8b1af69355d4f64f8c9e79baa44be6b43 100644 (file)
@@ -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
index 76ec28b164e3c07834723c4387cda522ba29d780..2e92c8c5293c8bf6dd936fc4c1b4990cf50b823b 100644 (file)
@@ -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 (file)
index 0000000..e53ca6f
--- /dev/null
@@ -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
+
index 15eaecc4467878a1586c7fb37c48271e76dc2bb5..3d2246955b7126f6f27e4bdbde27be963963517d 100644 (file)
@@ -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
index 180ab29a0d80620cfb8952c13f8a704bfc5922d8..fb678dd722122ad2a790f3bbbda62ab050c7f377 100644 (file)
@@ -11,3 +11,4 @@ include README.MACOSX
 include silcer
 include tutorial
 pre-hook distdir/pre-run
+post-dist-hook distdir/post-dist