| 526 AC_ARG_WITH(tclconfig, [ --with-tclconfig=DIR directory containing tclConfig.sh]) |
526 AC_ARG_WITH(tclconfig, [ --with-tclconfig=DIR directory containing tclConfig.sh]) |
| 527 AC_ARG_ENABLE(tk, [ --disable-tk compile without Tcl support for Tk],,enable_tk=yes) |
527 AC_ARG_ENABLE(tk, [ --disable-tk compile without Tcl support for Tk],,enable_tk=yes) |
| 528 AC_ARG_WITH(tkconfig, [ --with-tkconfig=DIR directory containing tkConfig.sh]) |
528 AC_ARG_WITH(tkconfig, [ --with-tkconfig=DIR directory containing tkConfig.sh]) |
| 529 AC_ARG_ENABLE(gtkspell, [ --disable-gtkspell compile without GtkSpell automatic spell checking],,enable_gtkspell=yes) |
529 AC_ARG_ENABLE(gtkspell, [ --disable-gtkspell compile without GtkSpell automatic spell checking],,enable_gtkspell=yes) |
| 530 AC_ARG_ENABLE(debug, [ --enable-debug compile with debugging support],,enable_debug=no) |
530 AC_ARG_ENABLE(debug, [ --enable-debug compile with debugging support],,enable_debug=no) |
| 531 AC_ARG_ENABLE(gtkgaim, [AC_HELP_STRING([--disable-gtkgaim], [compile without GtkGaim client])], , enable_gtk=yes) |
531 AC_ARG_ENABLE(gtkgaim, [AC_HELP_STRING([--disable-gtkgaim], [compile without GtkGaim client])], |
| 532 AC_ARG_ENABLE(gntgaim, [AC_HELP_STRING([--disable-gntgaim], [compile without GntGaim console client])], , enable_gnt=yes) |
532 enable_gtk=$enableval, enable_gtk=yes) |
| |
533 AC_ARG_ENABLE(gntgaim, [AC_HELP_STRING([--disable-gntgaim], [compile without GntGaim console client])], |
| |
534 enable_gnt=$enableval, enable_gnt=yes) |
| 533 AC_ARG_ENABLE(fatal-asserts, [ --enable-fatal-asserts make assertions fatal (useful for debugging)],,enable_fatal_asserts=no) |
535 AC_ARG_ENABLE(fatal-asserts, [ --enable-fatal-asserts make assertions fatal (useful for debugging)],,enable_fatal_asserts=no) |
| 534 dnl We know Gaim won't compile with deprecated APIs disabled. |
536 dnl We know Gaim won't compile with deprecated APIs disabled. |
| 535 dnl We have no desire to support two different versions of the |
537 dnl We have no desire to support two different versions of the |
| 536 dnl same code when it's not necessary, so we're sticking with |
538 dnl same code when it's not necessary, so we're sticking with |
| 537 dnl the deprecated APIs in many cases. |
539 dnl the deprecated APIs in many cases. |
| 810 AC_CHECK_LIB(ncursesw, initscr, [GNT_LIBS="-lncursesw"], [enable_gnt=no]) |
810 AC_CHECK_LIB(ncursesw, initscr, [GNT_LIBS="-lncursesw"], [enable_gnt=no]) |
| 811 AC_CHECK_LIB(panelw, update_panels, [GNT_LIBS="$GNT_LIBS -lpanelw"], [enable_gnt=no]) |
811 AC_CHECK_LIB(panelw, update_panels, [GNT_LIBS="$GNT_LIBS -lpanelw"], [enable_gnt=no]) |
| 812 |
812 |
| 813 # Some distros put the headers in ncursesw/, some don't |
813 # Some distros put the headers in ncursesw/, some don't |
| 814 AC_CHECK_HEADER(ncursesw/ncurses.h, [AC_DEFINE(HAVE_NCURSESW_INC, 1, [Define if you have the ncursesw headers in ncursesw/])]) |
814 AC_CHECK_HEADER(ncursesw/ncurses.h, [AC_DEFINE(HAVE_NCURSESW_INC, 1, [Define if you have the ncursesw headers in ncursesw/])]) |
| 815 else |
|
| 816 enable_gnt=no |
|
| 817 fi |
815 fi |
| 818 AC_SUBST(GNT_LIBS) |
816 AC_SUBST(GNT_LIBS) |
| 819 AM_CONDITIONAL(ENABLE_GNT, test "x$enable_gnt" = "xyes") |
817 AM_CONDITIONAL(ENABLE_GNT, test "x$enable_gnt" = "xyes") |
| 820 |
818 |
| 821 dnl ####################################################################### |
819 dnl ####################################################################### |