forked from PsychoticNinja/irssi
--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:
parent
a5f8ae8d01
commit
e1bf344ee4
5
README
5
README
@ -73,12 +73,13 @@ Configure can use these parameters (all of these defaults to yes):
|
|||||||
irc clients
|
irc clients
|
||||||
--with-socks Build with socks library
|
--with-socks Build with socks library
|
||||||
--with-mysql=dir Build with mysql plugin
|
--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 Build without GNOME libraries
|
||||||
--without-gnome-panel Build without GNOME panel
|
--without-gnome-panel Build without GNOME panel
|
||||||
--without-imlib Build without Imlib library (you can use only .xpm
|
--without-imlib Build without Imlib library (you can use only .xpm
|
||||||
files as backgrounds)
|
files as backgrounds)
|
||||||
--without-textui Build without text mode version
|
|
||||||
--without-bot Build without irssibot
|
|
||||||
--enable-memdebug Enable memory debugging, great for finding memory
|
--enable-memdebug Enable memory debugging, great for finding memory
|
||||||
leaks
|
leaks
|
||||||
--enable-gtk-hebrew Enable Hebrew support - see README-HEBREW
|
--enable-gtk-hebrew Enable Hebrew support - see README-HEBREW
|
||||||
|
29
configure.in
29
configure.in
@ -1,7 +1,7 @@
|
|||||||
AC_INIT(src)
|
AC_INIT(src)
|
||||||
|
|
||||||
AM_CONFIG_HEADER(config.h)
|
AM_CONFIG_HEADER(config.h)
|
||||||
AM_INIT_AUTOMAKE(irssi, 0.7.27)
|
AM_INIT_AUTOMAKE(irssi, 0.7.28)
|
||||||
|
|
||||||
AM_MAINTAINER_MODE
|
AM_MAINTAINER_MODE
|
||||||
|
|
||||||
@ -64,6 +64,19 @@ AC_ARG_WITH(imlib,
|
|||||||
fi,
|
fi,
|
||||||
want_imlib=yes)
|
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,
|
AC_ARG_WITH(gnome-panel,
|
||||||
[ --with-gnome-panel Build with gnome panel applet support],
|
[ --with-gnome-panel Build with gnome panel applet support],
|
||||||
if test x$withval = xyes; then
|
if test x$withval = xyes; then
|
||||||
@ -78,7 +91,7 @@ AC_ARG_WITH(gnome-panel,
|
|||||||
want_gnome_panel=yes)
|
want_gnome_panel=yes)
|
||||||
|
|
||||||
AC_ARG_WITH(textui,
|
AC_ARG_WITH(textui,
|
||||||
[ --with-textui Build irssi-text],
|
[ --with-textui Build text frontend],
|
||||||
if test x$withval = xyes; then
|
if test x$withval = xyes; then
|
||||||
want_textui=yes
|
want_textui=yes
|
||||||
else
|
else
|
||||||
@ -248,6 +261,9 @@ if test "x$want_gnome" = "xyes"; then
|
|||||||
if test "x$GNOME_LIBS" = "x"; then
|
if test "x$GNOME_LIBS" = "x"; then
|
||||||
want_gnome="no";
|
want_gnome="no";
|
||||||
fi
|
fi
|
||||||
|
if test "x$want_gtk" = "xno"; then
|
||||||
|
want_gnome="no";
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test "x$want_gnome" = "xyes"; then
|
if test "x$want_gnome" = "xyes"; then
|
||||||
@ -274,8 +290,13 @@ if test "x$want_gnome" = "xyes"; then
|
|||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
want_gnome_panel="no"
|
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
|
if test "x$GTK_LIBS" != "x"; then
|
||||||
GUI_CFLAGS="$GTK_CFLAGS"
|
GUI_CFLAGS="$GTK_CFLAGS"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user