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
# 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]]],
])
if test x$check_threads = xtrue; then
+ has_threads=false
SAVE_LIBS="$LIBS"
SAVE_CFLAGS="$CFLAGS"
SAVE_LDFLAGS="$LDFLAGS"
AM_CONDITIONAL(SILC_OS2, test xfalse = xtrue)
#ifdef SILC_DIST_TOOLKIT
-
# --without-irssi
#
without_irssi=false
[
AC_MSG_RESULT(yes)
])
-
#endif SILC_DIST_TOOLKIT
#ifdef SILC_DIST_CLIENT
define SILC_DIST_CLIENT
define SILC_DIST_CLIENTLIB
pre-hook distdir/pre-run
+post-dist-hook distdir/post-dist
--- /dev/null
+#!/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
+
license-header distdir/GPL-header distdir/BSD-header
inherit common
define SILC_DIST_SERVER
+post-dist-hook distdir/post-dist
include silcer
include tutorial
pre-hook distdir/pre-run
+post-dist-hook distdir/post-dist