changeset 80983:72cdb7d8d8f0

* configure.in (AC_CHECK_HEADERS) Add gpm.h. (AC_CHECK_LIB): Add -lgpm.
author Nick Roberts <nickrob@snap.net.nz>
date Sun, 20 May 2007 02:38:07 +0000
parents 3b8b04d20e39
children 9247e9d47488
files configure.in
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure.in	Sun May 20 02:35:48 2007 +0000
+++ b/configure.in	Sun May 20 02:38:07 2007 +0000
@@ -1630,7 +1630,7 @@
   linux/version.h sys/systeminfo.h termios.h limits.h string.h stdlib.h \
   termcap.h stdio_ext.h fcntl.h strings.h coff.h pty.h sys/mman.h \
   sys/param.h sys/vlimit.h sys/resource.h locale.h sys/_mbstate_t.h \
-  sys/utsname.h pwd.h)
+  sys/utsname.h pwd.h gpm.h)
 
 AC_MSG_CHECKING(if personality LINUX32 can be set)
 AC_TRY_COMPILE([#include <sys/personality.h>], [personality (PER_LINUX32)],
@@ -2938,6 +2938,9 @@
 	     buffer space.])
 fi
 
+AC_CHECK_LIB(gpm, Gpm_Open, LIBGPM=-lgpm)
+AC_SUBST(LIBGPM)
+
 AH_TOP([/* GNU Emacs site configuration template file.
    Copyright (C) 1988, 1993, 1994, 1999, 2000, 2001, 2002, 2004, 2005, 2006, 2007
              Free Software Foundation, Inc.