Mon Mar 5 23:27:32 CET 2007 Jochen Eisinger <coffee@silcnet.org>
[silc.git] / apps / irssi / configure.ad
1 #ifdef SILC_DIST_CLIENT
2 #
3 #  apps/irssi/configure.ad
4 #
5 #  Author: Pekka Riikonen <priikone@silcnet.org>
6 #
7 #  Copyright (C) 2005 Pekka Riikonen
8 #
9 #  This program is free software; you can redistribute it and/or modify
10 #  it under the terms of the GNU General Public License as published by
11 #  the Free Software Foundation; version 2 of the License.
12 #
13 #  This program is distributed in the hope that it will be useful,
14 #  but WITHOUT ANY WARRANTY; without even the implied warranty of
15 #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16 #  GNU General Public License for more details.
17 #
18
19 # The actual configure script is apps/irssi/configure.in.  This file is
20 # for getting irssi specific stuff to top configure script with Autodist
21 # without polluting the top configure.ad file with these stuff.
22
23 #ifdef SILC_DIST_TOOLKIT
24 if test x$without_irssi = xfalse; then
25 #endif SILC_DIST_TOOLKIT
26
27 # help directory
28 #
29 HELPDIR="$silc_prefix/help"
30 AC_ARG_WITH(helpdir,
31   [[  --with-helpdir=DIR      directory for SILC Client help files [PREFIX/help]]],
32   [
33     case "$withval" in
34       no|yes)
35         ;;
36       *)
37        HELPDIR="$withval"
38        ;;
39     esac
40   ])
41 AC_SUBST(HELPDIR)
42 AC_DEFINE_UNQUOTED([SILC_HELPDIR], "$HELPDIR", [SILC_HELPDIR])
43
44 # Irssi perl support
45 #
46 AC_ARG_WITH(perl,
47   [[  --with-perl[=yes|no|module]  Build with Perl support - also specifies
48                                if it should be built into main silc binary
49                                (static, default) or as a module]])
50
51 AC_CONFIG_SUBDIRS(apps/irssi)
52 AC_CONFIG_FILES(
53 apps/irssi/Makefile.defines
54 apps/irssi/Makefile.defines_int
55 )
56
57 irssi="yes"
58 #ifdef SILC_DIST_TOOLKIT
59 fi      # without_irssi = false
60 #endif SILC_DIST_TOOLKIT
61 #endif SILC_DIST_CLIENT