diff options
| author | Jan Djärv | 2007-05-20 13:20:25 +0000 |
|---|---|---|
| committer | Jan Djärv | 2007-05-20 13:20:25 +0000 |
| commit | 26114bc08f03789f30f0acca925955f2139df690 (patch) | |
| tree | 4f42a82cd70f17cc5ec9e7447a549cb96109995a /src | |
| parent | 4a364c5ef224b6f80de65cd1b45567b2a08f36cf (diff) | |
| download | emacs-26114bc08f03789f30f0acca925955f2139df690.tar.gz emacs-26114bc08f03789f30f0acca925955f2139df690.zip | |
Move GPM check outside HAVE_X_WINDOWS.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 4 | ||||
| -rw-r--r-- | src/Makefile.in | 19 |
2 files changed, 14 insertions, 9 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index a5dad6a3505..67f6bd282c2 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2007-05-20 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> | ||
| 2 | |||
| 3 | * Makefile.in: Move GPM check outside HAVE_X_WINDOWS. | ||
| 4 | |||
| 1 | 2007-05-20 Nick Roberts <nickrob@snap.net.nz> | 5 | 2007-05-20 Nick Roberts <nickrob@snap.net.nz> |
| 2 | 6 | ||
| 3 | * config.in, keyboard.c, Makefile.in, sysdep.c, term.c, | 7 | * config.in, keyboard.c, Makefile.in, sysdep.c, term.c, |
diff --git a/src/Makefile.in b/src/Makefile.in index 09b85b4f2e2..65a604bf78c 100644 --- a/src/Makefile.in +++ b/src/Makefile.in | |||
| @@ -446,14 +446,6 @@ XFT_LIBS=@XFT_LIBS@ | |||
| 446 | #define LIBGIF | 446 | #define LIBGIF |
| 447 | #endif /* not HAVE_GIF */ | 447 | #endif /* not HAVE_GIF */ |
| 448 | 448 | ||
| 449 | #if HAVE_GPM | ||
| 450 | #ifndef LIBGPM | ||
| 451 | #define LIBGPM -lgpm | ||
| 452 | #endif /* not defined LIBGPM */ | ||
| 453 | #else /* not HAVE_GPM */ | ||
| 454 | #define LIBGPM | ||
| 455 | #endif /* not HAVE_GPM */ | ||
| 456 | |||
| 457 | #ifdef HAVE_X11 | 449 | #ifdef HAVE_X11 |
| 458 | /* LD_SWITCH_X_DEFAULT comes after everything else that specifies | 450 | /* LD_SWITCH_X_DEFAULT comes after everything else that specifies |
| 459 | options for where to find X libraries, but before those libraries. */ | 451 | options for where to find X libraries, but before those libraries. */ |
| @@ -465,6 +457,15 @@ LIBX= $(LIBXMENU) LD_SWITCH_X_SITE -lX10 LIBX10_MACHINE LIBX10_SYSTEM | |||
| 465 | #else /* not HAVE_X_WINDOWS */ | 457 | #else /* not HAVE_X_WINDOWS */ |
| 466 | #endif /* not HAVE_X_WINDOWS */ | 458 | #endif /* not HAVE_X_WINDOWS */ |
| 467 | 459 | ||
| 460 | #if HAVE_GPM | ||
| 461 | #ifndef LIBGPM | ||
| 462 | #define LIBGPM -lgpm | ||
| 463 | #endif /* not defined LIBGPM */ | ||
| 464 | #else /* not HAVE_GPM */ | ||
| 465 | #define LIBGPM | ||
| 466 | #endif /* not HAVE_GPM */ | ||
| 467 | |||
| 468 | |||
| 468 | LIBSOUND= @LIBSOUND@ | 469 | LIBSOUND= @LIBSOUND@ |
| 469 | CFLAGS_SOUND= @CFLAGS_SOUND@ | 470 | CFLAGS_SOUND= @CFLAGS_SOUND@ |
| 470 | 471 | ||
| @@ -941,7 +942,7 @@ SOME_MACHINE_LISP = ${dotdot}/lisp/mouse.elc \ | |||
| 941 | Note that SunOS needs -lm to come before -lc; otherwise, you get | 942 | Note that SunOS needs -lm to come before -lc; otherwise, you get |
| 942 | duplicated symbols. If the standard libraries were compiled | 943 | duplicated symbols. If the standard libraries were compiled |
| 943 | with GCC, we might need gnulib again after them. */ | 944 | with GCC, we might need gnulib again after them. */ |
| 944 | LIBES = $(LOADLIBES) $(LIBS) $(LIBX) $(LIBSOUND) LIBGPM\ | 945 | LIBES = $(LOADLIBES) $(LIBS) $(LIBX) $(LIBSOUND) LIBGPM \ |
| 945 | LIBS_SYSTEM LIBS_MACHINE LIBS_TERMCAP \ | 946 | LIBS_SYSTEM LIBS_MACHINE LIBS_TERMCAP \ |
| 946 | LIBS_DEBUG $(GETLOADAVG_LIBS) $(GNULIB_VAR) LIB_MATH LIB_STANDARD \ | 947 | LIBS_DEBUG $(GETLOADAVG_LIBS) $(GNULIB_VAR) LIB_MATH LIB_STANDARD \ |
| 947 | $(GNULIB_VAR) | 948 | $(GNULIB_VAR) |