changeset 14206:c2b3ecb1a99b

[gaim-migrate @ 16880] The show must go on, without gntgaim if need be. committer: Tailor Script <tailor@pidgin.im>
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Sat, 19 Aug 2006 08:02:43 +0000
parents 72042b59b658
children fff6be71e0bd
files configure.ac console/Makefile.am
diffstat 2 files changed, 8 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/configure.ac	Sat Aug 19 07:55:17 2006 +0000
+++ b/configure.ac	Sat Aug 19 08:02:43 2006 +0000
@@ -808,6 +808,10 @@
 dnl #######################################################################
 dnl # GNT Gaim
 dnl #######################################################################
+if test "x$enable_gnt" = "xyes"; then
+AC_CHECK_LIB(ncursesw, initscr, , [enable_gnt=no])
+AC_CHECK_LIB(panelw, update_panels, , [enable_gnt=no])
+fi
 AM_CONDITIONAL(ENABLE_GNT, test "x$enable_gnt" = "xyes")
 
 dnl #######################################################################
--- a/console/Makefile.am	Sat Aug 19 07:55:17 2006 +0000
+++ b/console/Makefile.am	Sat Aug 19 08:02:43 2006 +0000
@@ -1,5 +1,6 @@
-#libgnt currently needs to have autogen run for there to be a Makefile...
-# SUBDIRS = libgnt
+if ENABLE_GNT
+
+SUBDIRS = libgnt
 
 bin_PROGRAMS = gntgaim
 
@@ -63,3 +64,4 @@
 	$(GLIB_CFLAGS) \
 	$(DBUS_CFLAGS) \
 	$(LIBXML_CFLAGS) 
+endif