mirror of
https://github.com/irssi/irssi.git
synced 2025-01-03 14:56:47 -05:00
For curses fixes..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@580 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
92e0995223
commit
2ae366c997
@ -23,6 +23,7 @@
|
||||
#undef HAVE_NCURSES_USE_DEFAULT_COLORS
|
||||
#undef HAVE_CURSES_IDCOK
|
||||
#undef HAVE_CURSES_RESIZETERM
|
||||
#undef HAVE_CURSES_WRESIZE
|
||||
|
||||
/* nls */
|
||||
#undef ENABLE_NLS
|
||||
|
24
configure.in
24
configure.in
@ -27,21 +27,6 @@ AC_ARG_WITH(socks,
|
||||
fi,
|
||||
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(textui,
|
||||
[ --with-textui Build text frontend],
|
||||
if test x$withval = xyes; then
|
||||
@ -214,6 +199,9 @@ if test "x$want_textui" = "xyes"; then
|
||||
AC_CHECK_LIB(ncurses, resizeterm, [
|
||||
AC_DEFINE(HAVE_CURSES_RESIZETERM)
|
||||
],, $CURSES_LIBS)
|
||||
AC_CHECK_LIB(ncurses, wresize, [
|
||||
AC_DEFINE(HAVE_CURSES_WRESIZE)
|
||||
],, $CURSES_LIBS)
|
||||
else
|
||||
AC_CHECK_LIB(curses, idcok, [
|
||||
AC_DEFINE(HAVE_CURSES_IDCOK)
|
||||
@ -221,6 +209,9 @@ if test "x$want_textui" = "xyes"; then
|
||||
AC_CHECK_LIB(curses, resizeterm, [
|
||||
AC_DEFINE(HAVE_CURSES_RESIZETERM)
|
||||
],, $CURSES_LIBS)
|
||||
AC_CHECK_LIB(curses, wresize, [
|
||||
AC_DEFINE(HAVE_CURSES_WRESIZE)
|
||||
],, $CURSES_LIBS)
|
||||
fi
|
||||
|
||||
if test "$has_curses" != "true"; then
|
||||
@ -268,11 +259,8 @@ AM_CONDITIONAL(BUILD_TEXTUI, test "$want_textui" = "yes")
|
||||
AM_CONDITIONAL(BUILD_IRSSIBOT, test "$want_irssibot" = "yes")
|
||||
AM_CONDITIONAL(BUILD_PLUGINS, test "$want_plugins" = "yes")
|
||||
AM_CONDITIONAL(BUILD_SERVERTEST, test "$want_servertest" = "yes")
|
||||
AM_CONDITIONAL(HAVE_MYSQL, test "$want_mysql" = "yes")
|
||||
AM_CONDITIONAL(HAVE_PERL, test "$want_perl" = "yes")
|
||||
|
||||
AC_SUBST(MYSQL_LIBS)
|
||||
|
||||
dnl **
|
||||
dnl ** Keep all the libraries here so each frontend doesn't need to
|
||||
dnl ** keep track of them all
|
||||
|
Loading…
Reference in New Issue
Block a user