# HG changeset patch # User Richard M. Stallman # Date 834457169 0 # Node ID 9f223b2f92ac98894839b17ebae6234bec47137a # Parent dfcab63fbbd39bd5c63fc7523255babf3640abcf [__ELF__] (LD_SWITCH_SYSTEM): Define it. diff -r dfcab63fbbd3 -r 9f223b2f92ac src/s/gnu-linux.h --- a/src/s/gnu-linux.h Tue Jun 11 01:33:41 1996 +0000 +++ b/src/s/gnu-linux.h Tue Jun 11 01:39:29 1996 +0000 @@ -157,6 +157,19 @@ #define START_FILES pre-crt0.o /usr/lib/crt1.o /usr/lib/crti.o #endif +#ifdef __ELF__ +/* Here is how to find X Windows. LD_SWITCH_X_SITE_AUX gives an -R option + says where to find X windows at run time. */ +#ifndef __GNUC__ +#define LD_SWITCH_SYSTEM LD_SWITCH_X_SITE_AUX +#else /* GCC */ +/* We use ./prefix-args because we don't know whether LD_SWITCH_X_SITE_AUX + has anything in it. It can be empty. + This works ok in src. Luckily lib-src does not use LD_SWITCH_SYSTEM. */ +#define LD_SWITCH_SYSTEM `./prefix-args -Xlinker LD_SWITCH_X_SITE_AUX` +#endif /* GCC */ +#endif /* __ELF__ */ + /* As of version 1.1.51, Linux does not actually implement SIGIO. */ /* Here we assume that signal.h is already included. */ #ifdef emacs