From: Richard M. Stallman Date: Sat, 28 May 1994 10:40:02 +0000 (+0000) Subject: (LD_SWITCH_X_DEFAULT): Define if not defined. X-Git-Tag: emacs-19.34~8130 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d2e75974f7c523b17df36c6f8f3c2fb652717a14;p=emacs.git (LD_SWITCH_X_DEFAULT): Define if not defined. (LIBX): Use LD_SWITCH_X_DEFAULT. --- 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 #define LD_SWITCH_X_SITE #endif +#ifndef LD_SWITCH_X_DEFAULT +#define LD_SWITCH_X_DEFAULT +#endif + /* These can be passed in from config.h to define special load and compile switches needed by individual sites */ #ifndef LD_SWITCH_SITE @@ -321,7 +325,9 @@ LIBXT= #endif #ifdef HAVE_X11 -LIBX= $(LIBXMENU) LD_SWITCH_X_SITE $(LIBXT) LIB_X11_LIB LIBX11_MACHINE LIBX11_SYSTEM +/* LD_SWITCH_X_DEFAULT comes after everything else that specifies + options for where to find X libraries, but before those libraries. */ +LIBX= $(LIBXMENU) LD_SWITCH_X_SITE LD_SWITCH_X_DEFAULT $(LIBXT) LIB_X11_LIB LIBX11_MACHINE LIBX11_SYSTEM #else /* not HAVE_X11 */ LIBX= $(LIBXMENU) LD_SWITCH_X_SITE -lX10 LIBX10_MACHINE LIBX10_SYSTEM #endif /* not HAVE_X11 */