| 806 AM_CONDITIONAL(ENABLE_DBUS, test "x$enable_dbus" = "xyes") |
806 AM_CONDITIONAL(ENABLE_DBUS, test "x$enable_dbus" = "xyes") |
| 807 |
807 |
| 808 dnl ####################################################################### |
808 dnl ####################################################################### |
| 809 dnl # GNT Gaim |
809 dnl # GNT Gaim |
| 810 dnl ####################################################################### |
810 dnl ####################################################################### |
| |
811 GNT_LIBS= |
| 811 if test "x$enable_gnt" = "xyes"; then |
812 if test "x$enable_gnt" = "xyes"; then |
| 812 AC_CHECK_LIB(ncursesw, initscr, , [enable_gnt=no]) |
813 AC_CHECK_LIB(ncursesw, initscr, [GNT_LIBS="-lncursesw"], [enable_gnt=no]) |
| 813 AC_CHECK_LIB(panelw, update_panels, , [enable_gnt=no]) |
814 AC_CHECK_LIB(panelw, update_panels, [GNT_LIBS="$GNT_LIBS -lpanelw"], [enable_gnt=no]) |
| 814 else |
815 else |
| 815 enable_gnt=no |
816 enable_gnt=no |
| 816 fi |
817 fi |
| |
818 AC_SUBST(GNT_LIBS) |
| 817 AM_CONDITIONAL(ENABLE_GNT, test "x$enable_gnt" = "xyes") |
819 AM_CONDITIONAL(ENABLE_GNT, test "x$enable_gnt" = "xyes") |
| 818 |
820 |
| 819 dnl ####################################################################### |
821 dnl ####################################################################### |
| 820 dnl # Look for startup-notification, evolution integration, X-libraries, |
822 dnl # Look for startup-notification, evolution integration, X-libraries, |
| 821 dnl # XScreenSaver, X session management, GtkSpell only if GTK+ was found |
823 dnl # XScreenSaver, X session management, GtkSpell only if GTK+ was found |