Added configure check for getbkgd and define HAVE_GETBKGD.
diff --git a/include/acconfig.h b/include/acconfig.h
index e2b7616..cf93e71 100644
--- a/include/acconfig.h
+++ b/include/acconfig.h
@@ -69,6 +69,9 @@
/* Define if ncurses have the new resizeterm function */
#undef HAVE_RESIZETERM
+/* Define if ncurses have the new getbkgd function */
+#undef HAVE_GETBKGD
+
/* Define if we can a compatible xterm program */
#undef XTERM_PROGRAM
diff --git a/include/config.h.in b/include/config.h.in
index 6d8cb4b..3a96d68 100644
--- a/include/config.h.in
+++ b/include/config.h.in
@@ -75,6 +75,9 @@
/* Define if ncurses have the new resizeterm function */
#undef HAVE_RESIZETERM
+/* Define if ncurses have the new getbkgd function */
+#undef HAVE_GETBKGD
+
/* Define if IPX should use netipx/ipx.h from libc */
#undef HAVE_IPX_GNU