[gaim-migrate @ 16880]

Sat, 19 Aug 2006 08:02:43 +0000

author
Sadrul Habib Chowdhury <sadrul@pidgin.im>
date
Sat, 19 Aug 2006 08:02:43 +0000
changeset 14268
3c3c19b6ba4c
parent 14267
f66fd9ea5ea8
child 14269
cd16418f69e8

[gaim-migrate @ 16880]
The show must go on, without gntgaim if need be.

configure.ac file | annotate | diff | comparison | revisions
console/Makefile.am file | annotate | diff | comparison | revisions
--- 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

mercurial