--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
parent a14ebfc9c3
commit 5b96b49e38
2 changed files with 21 additions and 1 deletions

View File

@ -74,6 +74,19 @@ AC_ARG_WITH(textui,
fi, fi,
want_textui=yes) 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, AC_ARG_WITH(plugins,
[ --with-plugins Build plugins], [ --with-plugins Build plugins],
if test x$withval = xyes; then if test x$withval = xyes; then
@ -303,6 +316,9 @@ else
fi fi
AM_CONDITIONAL(HAS_CURSES, test "$has_curses" = true) 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 **
dnl ** memory debugging dnl ** memory debugging
dnl ** dnl **

View File

@ -6,12 +6,16 @@ if BUILD_GNOMEUI
GNOMEUI=gui-gnome GNOMEUI=gui-gnome
endif endif
if BUILD_IRSSIBOT
BOTUI=gui-none
endif
noinst_HEADERS = \ noinst_HEADERS = \
common.h \ common.h \
common-setup.h \ common-setup.h \
irssi-plugin.h \ irssi-plugin.h \
irssi-plugin-gui.h irssi-plugin-gui.h
SUBDIRS = irc-base irc-extra ui-common lib-config lib-nongui settings $(GNOMEUI) $(TEXTUI) gui-none SUBDIRS = irc-base irc-extra ui-common lib-config lib-nongui settings $(GNOMEUI) $(TEXTUI) $(BOTUI)
EXTRA_DIST = signal.doc EXTRA_DIST = signal.doc