X-Git-Url: http://git.silcnet.org/gitweb/?p=silc.git;a=blobdiff_plain;f=apps%2Firssi%2Fconfigure.ad;h=66e007b6658b22b7164eb688359658c33905735a;hp=a25473e75ede08ac76381e712eb9e459d6b10afc;hb=52e57c880aba9c5e89f59d962eb9af75670b76e0;hpb=ae1482a76c29db9fdcd6ed6cf63d312a37a5cb01 diff --git a/apps/irssi/configure.ad b/apps/irssi/configure.ad index a25473e7..66e007b6 100644 --- a/apps/irssi/configure.ad +++ b/apps/irssi/configure.ad @@ -4,7 +4,7 @@ # # Author: Pekka Riikonen # -# Copyright (C) 2005 Pekka Riikonen +# Copyright (C) 2005 - 2007 Pekka Riikonen # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -30,9 +30,9 @@ IRSSI_SUBDIR=irssi # help directory # -HELPDIR="$silc_prefix/help" +HELPDIR="$datadir/silc/help" AC_ARG_WITH(helpdir, - [[ --with-helpdir=DIR directory for SILC Client help files [PREFIX/help]]], + [[ --with-helpdir=DIR directory for SILC Client help files [DATADIR/silc/help]]], [ case "$withval" in no|yes) @@ -54,8 +54,20 @@ AC_ARG_WITH(perl, # Irssi SILC Plugin support # -AC_ARG_ENABLE(silc-plugin, -[ --enable-silc-plugin Compile the SILC Plugin instead of the SILC Client]) +AC_MSG_CHECKING(whether to compile SILC Plugin for Irssi) +AC_ARG_WITH(silc-plugin, + [[ --with-silc-plugin[=DIR] Compile the SILC Plugin for Irssi, specify + Irssi location [/usr/lib/irssi]]], + [ + case "${withval}" in + no) + AC_MSG_RESULT(no) + ;; + *) + AC_MSG_RESULT(yes) + ;; + esac + ],[AC_MSG_RESULT(no)]) AC_CONFIG_SUBDIRS(apps/irssi) AC_CONFIG_FILES(