--without-bot to configure doesn't build irssi-bot

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@30 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 1999-10-02 10:29:01 +00:00 committed by cras
commit 5b96b49e38
2 changed files with 21 additions and 1 deletions

View file

@ -74,6 +74,19 @@ AC_ARG_WITH(textui,
fi,
want_textui=yes)
AC_ARG_WITH(bot,
[ --with-bot Build irssi-bot],
if test x$withval = xyes; then
want_irssibot=yes
else
if test "x$withval" = xno; then
want_irssibot=no
else
want_irssibot=yes
fi
fi,
want_irssibot=yes)
AC_ARG_WITH(plugins,
[ --with-plugins Build plugins],
if test x$withval = xyes; then
@ -303,6 +316,9 @@ else
fi
AM_CONDITIONAL(HAS_CURSES, test "$has_curses" = true)
dnl ** check if we want to build irssibot
AM_CONDITIONAL(BUILD_IRSSIBOT, test "$want_irssibot" = true)
dnl **
dnl ** memory debugging
dnl **