# HG changeset patch # User Nick Roberts # Date 1179628687 0 # Node ID 72cdb7d8d8f09b2dec14e6e767b493337b892e4e # Parent 3b8b04d20e395a1a97a10e33b590c298230cec44 * configure.in (AC_CHECK_HEADERS) Add gpm.h. (AC_CHECK_LIB): Add -lgpm. diff -r 3b8b04d20e39 -r 72cdb7d8d8f0 configure.in --- 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 ], [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.