mirror of
https://github.com/irssi/irssi.git
synced 2025-01-03 14:56:47 -05:00
MySQL plugin is only build with using --with-mysql[=yes|=dir]
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@92 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
1a64ce1709
commit
b670cec847
6
README
6
README
@ -69,10 +69,12 @@ Configure can use these parameters (all of these defaults to yes):
|
|||||||
--with-proplist=dir Specify libPropList directory
|
--with-proplist=dir Specify libPropList directory
|
||||||
--with-servertest Build test irc server which you can use to try crash
|
--with-servertest Build test irc server which you can use to try crash
|
||||||
irc clients
|
irc clients
|
||||||
|
--with-socks Build with socks library
|
||||||
|
--with-mysql=dir Build with mysql plugin
|
||||||
--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
|
--without-imlib Build without Imlib library (you can use only .xpm
|
||||||
--without-socks Build without socks library
|
files as backgrounds)
|
||||||
--without-textui Build without text mode version
|
--without-textui Build without text mode version
|
||||||
--without-bot Build without irssibot
|
--without-bot Build without irssibot
|
||||||
--enable-memdebug Enable memory debugging, great for finding memory
|
--enable-memdebug Enable memory debugging, great for finding memory
|
||||||
|
20
configure.in
20
configure.in
@ -20,7 +20,7 @@ GNOME_INIT
|
|||||||
GNOME_SUPPORT_CHECKS
|
GNOME_SUPPORT_CHECKS
|
||||||
|
|
||||||
AC_ARG_WITH(proplist,
|
AC_ARG_WITH(proplist,
|
||||||
[ --with-proplist Specify libPropList location],
|
[ --with-proplist Specify libPropList location],
|
||||||
proplist_dir=$withval)
|
proplist_dir=$withval)
|
||||||
|
|
||||||
AC_ARG_WITH(socks,
|
AC_ARG_WITH(socks,
|
||||||
@ -36,6 +36,21 @@ AC_ARG_WITH(socks,
|
|||||||
fi,
|
fi,
|
||||||
want_socks=no)
|
want_socks=no)
|
||||||
|
|
||||||
|
AC_ARG_WITH(mysql,
|
||||||
|
[ --with-mysql Build MySQL plugin],
|
||||||
|
if test x$withval = xyes; then
|
||||||
|
want_mysql=yes
|
||||||
|
MYSQL_LIBS="-L/usr/lib/mysql -lmysqlclient"
|
||||||
|
else
|
||||||
|
if test "x$withval" = xno; then
|
||||||
|
want_mysql=no
|
||||||
|
else
|
||||||
|
want_mysql=yes
|
||||||
|
MYSQL_LIBS="-L$withval/lib/mysql -lmysqlclient"
|
||||||
|
fi
|
||||||
|
fi,
|
||||||
|
want_mysql=no)
|
||||||
|
|
||||||
AC_ARG_WITH(imlib,
|
AC_ARG_WITH(imlib,
|
||||||
[ --with-imlib Build with imlib support],
|
[ --with-imlib Build with imlib support],
|
||||||
if test x$withval = xyes; then
|
if test x$withval = xyes; then
|
||||||
@ -313,6 +328,9 @@ AM_CONDITIONAL(BUILD_SERVERTEST, test "x$want_servertest" = "xyes")
|
|||||||
AM_CONDITIONAL(BUILD_GNOMEUI, test "x$GUI_LIBS" != "x")
|
AM_CONDITIONAL(BUILD_GNOMEUI, test "x$GUI_LIBS" != "x")
|
||||||
AM_CONDITIONAL(HAVE_GNOME, test "x$want_gnome" = "xyes")
|
AM_CONDITIONAL(HAVE_GNOME, test "x$want_gnome" = "xyes")
|
||||||
AM_CONDITIONAL(HAVE_GNOME_PANEL, test "x$want_gnome_panel" = "xyes")
|
AM_CONDITIONAL(HAVE_GNOME_PANEL, test "x$want_gnome_panel" = "xyes")
|
||||||
|
AM_CONDITIONAL(HAVE_MYSQL, test "x$want_mysql" = "xyes")
|
||||||
|
|
||||||
|
AC_SUBST(MYSQL_LIBS)
|
||||||
|
|
||||||
dnl **
|
dnl **
|
||||||
dnl ** memory debugging
|
dnl ** memory debugging
|
||||||
|
Loading…
Reference in New Issue
Block a user