diff configure.ac @ 14325:985e5e3f6f2c

[gaim-migrate @ 17020] Some distros put the ncursesw headers in ncursesw/, some don't. committer: Tailor Script <tailor@pidgin.im>
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Thu, 24 Aug 2006 19:41:34 +0000
parents 63ef6342db05
children 17eba43f98a9
line wrap: on
line diff
--- a/configure.ac	Thu Aug 24 18:33:53 2006 +0000
+++ b/configure.ac	Thu Aug 24 19:41:34 2006 +0000
@@ -807,6 +807,9 @@
 if test "x$enable_gnt" = "xyes"; then
 	AC_CHECK_LIB(ncursesw, initscr, [GNT_LIBS="-lncursesw"], [enable_gnt=no])
 	AC_CHECK_LIB(panelw, update_panels, [GNT_LIBS="$GNT_LIBS -lpanelw"], [enable_gnt=no])
+
+	# Some distros put the headers in ncursesw/, some don't
+	AC_CHECK_HEADER(ncursesw/ncurses.h, [AC_DEFINE(HAVE_NCURSESW_INC, 1, [Define if you have the ncursesw headers in ncursesw/])])
 else
 	enable_gnt=no
 fi