From 02ed7a7cfb3d78d2cf40d68ad4d79863295d028a Mon Sep 17 00:00:00 2001 From: Nick Roberts Date: Sun, 20 May 2007 02:38:07 +0000 Subject: [PATCH] * configure.in (AC_CHECK_HEADERS) Add gpm.h. (AC_CHECK_LIB): Add -lgpm. --- configure.in | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/configure.in b/configure.in index 4c64970fe0f..78876a4bed0 100644 --- a/configure.in +++ b/configure.in @@ -1630,7 +1630,7 @@ AC_CHECK_HEADERS(sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \ 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 @@ if test "${REL_ALLOC}" = "yes" ; then 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. -- 2.11.4.GIT