X-Git-Url: http://git.silcnet.org/gitweb/?p=silc.git;a=blobdiff_plain;f=apps%2Firssi%2Fconfigure.in;h=109e5b2cf11e94d6845595b5422f7c7fa72e886b;hp=c1b1aaf53f345b1100c87d72d8c1b905806a1685;hb=52e57c880aba9c5e89f59d962eb9af75670b76e0;hpb=ae1482a76c29db9fdcd6ed6cf63d312a37a5cb01 diff --git a/apps/irssi/configure.in b/apps/irssi/configure.in index c1b1aaf5..109e5b2c 100644 --- a/apps/irssi/configure.in +++ b/apps/irssi/configure.in @@ -1,4 +1,4 @@ -AC_INIT(src) +AC_INIT([SILC-Client], [0.8.11+], [silc-devel@lists.silcnet.org], [silc-client]) # we don't want VERSION in our config.h if test -n "`grep '^#undef VERSION' config.h.in`"; then @@ -7,7 +7,7 @@ if test -n "`grep '^#undef VERSION' config.h.in`"; then fi AM_CONFIG_HEADER(config.h) -AM_INIT_AUTOMAKE(SILC-Client, 0.8.11+) +AM_INIT_AUTOMAKE AM_MAINTAINER_MODE @@ -191,14 +191,33 @@ 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], -[case "${enableval}" in - yes) silc_plugin=true ;; - no) silc_plugin=false ;; - *) AC_MSG_ERROR(bad value ${enableval} for --enable-silc-plugin) ;; -esac],[silc_plugin=false]) +SILC_IRSSIDIR= +silc_plugin=false +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) + silc_plugin=false + ;; + yes) + AC_MSG_RESULT(yes) + silc_plugin=true + SILC_IRSSIDIR="/usr/lib/irssi/modules" + ;; + *) + AC_MSG_RESULT(yes) + silc_plugin=true + SILC_IRSSIDIR="$withval/modules" + ;; + esac + ]) + AM_CONDITIONAL(SILCPLUGIN, test x$silc_plugin = xtrue) +AC_SUBST(SILC_IRSSIDIR) AC_ARG_WITH(file-offset-size, [ --with-file-offset-size=BITS Set size of file offsets. Usually 32 or 64. @@ -878,7 +897,6 @@ docs/help/Makefile docs/help/in/Makefile irssi-version.h stamp.h -irssi.spec irssi-config) dnl ** for building from objdir