1
0
mirror of https://github.com/irssi/irssi.git synced 2024-06-23 06:35:36 +00:00

--without-gtk option for configure disables building GTK frontend

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@139 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2000-03-10 20:58:04 +00:00 committed by cras
parent a5f8ae8d01
commit e1bf344ee4
2 changed files with 28 additions and 6 deletions

5
README
View File

@ -73,12 +73,13 @@ Configure can use these parameters (all of these defaults to yes):
irc clients
--with-socks Build with socks library
--with-mysql=dir Build with mysql plugin
--without-gtk Build without GTK frontend
--without-textui Build without text frontend
--without-bot Build without irssibot
--without-gnome Build without GNOME libraries
--without-gnome-panel Build without GNOME panel
--without-imlib Build without Imlib library (you can use only .xpm
files as backgrounds)
--without-textui Build without text mode version
--without-bot Build without irssibot
--enable-memdebug Enable memory debugging, great for finding memory
leaks
--enable-gtk-hebrew Enable Hebrew support - see README-HEBREW

View File

@ -1,7 +1,7 @@
AC_INIT(src)
AM_CONFIG_HEADER(config.h)
AM_INIT_AUTOMAKE(irssi, 0.7.27)
AM_INIT_AUTOMAKE(irssi, 0.7.28)
AM_MAINTAINER_MODE
@ -64,6 +64,19 @@ AC_ARG_WITH(imlib,
fi,
want_imlib=yes)
AC_ARG_WITH(gtk,
[ --with-gtk Build GTK frontend],
if test x$withval = xyes; then
want_gtk=yes
else
if test "x$withval" = xno; then
want_gtk=no
else
want_gtk=yes
fi
fi,
want_gtk=yes)
AC_ARG_WITH(gnome-panel,
[ --with-gnome-panel Build with gnome panel applet support],
if test x$withval = xyes; then
@ -78,7 +91,7 @@ AC_ARG_WITH(gnome-panel,
want_gnome_panel=yes)
AC_ARG_WITH(textui,
[ --with-textui Build irssi-text],
[ --with-textui Build text frontend],
if test x$withval = xyes; then
want_textui=yes
else
@ -248,6 +261,9 @@ if test "x$want_gnome" = "xyes"; then
if test "x$GNOME_LIBS" = "x"; then
want_gnome="no";
fi
if test "x$want_gtk" = "xno"; then
want_gnome="no";
fi
fi
if test "x$want_gnome" = "xyes"; then
@ -274,8 +290,13 @@ if test "x$want_gnome" = "xyes"; then
fi
else
want_gnome_panel="no"
AC_DEFINE(HAVE_GTK)
AM_PATH_GTK(1.2.0)
if test "x$want_gtk" = "xyes"; then
AC_DEFINE(HAVE_GTK)
AM_PATH_GTK(1.2.0)
else
GTK_LIBS=
fi
if test "x$GTK_LIBS" != "x"; then
GUI_CFLAGS="$GTK_CFLAGS"