diff configure.ac @ 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 ecc7f6f64ddd
children fff6be71e0bd
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 #######################################################################