]> git.eshelyaron.com Git - emacs.git/commitdiff
(LIBGPM): Allow it to be set from configure.
authorNick Roberts <nickrob@snap.net.nz>
Sun, 20 May 2007 02:49:03 +0000 (02:49 +0000)
committerNick Roberts <nickrob@snap.net.nz>
Sun, 20 May 2007 02:49:03 +0000 (02:49 +0000)
If set then link Emacs with it.

src/Makefile.in

index 1ce3702336fa34919f419b2219d1a8ee06e748b3..216e6a420c111b45c2154dee059cfab8c44e7c26 100644 (file)
@@ -460,6 +460,8 @@ LIBX= $(LIBXMENU) LD_SWITCH_X_SITE -lX10 LIBX10_MACHINE LIBX10_SYSTEM
 LIBSOUND= @LIBSOUND@
 CFLAGS_SOUND= @CFLAGS_SOUND@
 
+LIBGPM= @LIBGPM@
+
 #ifndef ORDINARY_LINK
 /* Fix linking if compiled with GCC.  */
 #ifdef __GNUC__
@@ -933,7 +935,7 @@ SOME_MACHINE_LISP = ${dotdot}/lisp/mouse.elc \
    Note that SunOS needs -lm to come before -lc; otherwise, you get
    duplicated symbols.  If the standard libraries were compiled
    with GCC, we might need gnulib again after them.  */
-LIBES = $(LOADLIBES) $(LIBS) $(LIBX) $(LIBSOUND) \
+LIBES = $(LOADLIBES) $(LIBS) $(LIBX) $(LIBSOUND) $(LIBGPM)\
    LIBS_SYSTEM LIBS_MACHINE LIBS_TERMCAP \
    LIBS_DEBUG $(GETLOADAVG_LIBS) $(GNULIB_VAR) LIB_MATH LIB_STANDARD \
    $(GNULIB_VAR)