aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1994-05-28 10:40:02 +0000
committerRichard M. Stallman1994-05-28 10:40:02 +0000
commitd2e75974f7c523b17df36c6f8f3c2fb652717a14 (patch)
tree40a3d7851d81a4fb56ec9364c6ed7776796a2841 /src
parent7fcf7f051866dbe7fa831076583d92e5904d4450 (diff)
downloademacs-d2e75974f7c523b17df36c6f8f3c2fb652717a14.tar.gz
emacs-d2e75974f7c523b17df36c6f8f3c2fb652717a14.zip
(LD_SWITCH_X_DEFAULT): Define if not defined.
(LIBX): Use LD_SWITCH_X_DEFAULT.
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.in8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/Makefile.in b/src/Makefile.in
index d5b1561efc0..a8acc3828c5 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -163,6 +163,10 @@ CC = C_COMPILER
163#define LD_SWITCH_X_SITE 163#define LD_SWITCH_X_SITE
164#endif 164#endif
165 165
166#ifndef LD_SWITCH_X_DEFAULT
167#define LD_SWITCH_X_DEFAULT
168#endif
169
166/* These can be passed in from config.h to define special load and 170/* These can be passed in from config.h to define special load and
167 compile switches needed by individual sites */ 171 compile switches needed by individual sites */
168#ifndef LD_SWITCH_SITE 172#ifndef LD_SWITCH_SITE
@@ -321,7 +325,9 @@ LIBXT=
321#endif 325#endif
322 326
323#ifdef HAVE_X11 327#ifdef HAVE_X11
324LIBX= $(LIBXMENU) LD_SWITCH_X_SITE $(LIBXT) LIB_X11_LIB LIBX11_MACHINE LIBX11_SYSTEM 328/* LD_SWITCH_X_DEFAULT comes after everything else that specifies
329 options for where to find X libraries, but before those libraries. */
330LIBX= $(LIBXMENU) LD_SWITCH_X_SITE LD_SWITCH_X_DEFAULT $(LIBXT) LIB_X11_LIB LIBX11_MACHINE LIBX11_SYSTEM
325#else /* not HAVE_X11 */ 331#else /* not HAVE_X11 */
326LIBX= $(LIBXMENU) LD_SWITCH_X_SITE -lX10 LIBX10_MACHINE LIBX10_SYSTEM 332LIBX= $(LIBXMENU) LD_SWITCH_X_SITE -lX10 LIBX10_MACHINE LIBX10_SYSTEM
327#endif /* not HAVE_X11 */ 333#endif /* not HAVE_X11 */