Added configure check for getbkgd and define HAVE_GETBKGD.

5 files changed