Mercurial > emacs
diff src/s/gnu-linux.h @ 15404:9f223b2f92ac
[__ELF__] (LD_SWITCH_SYSTEM): Define it.
| author | Richard M. Stallman <rms@gnu.org> |
|---|---|
| date | Tue, 11 Jun 1996 01:39:29 +0000 |
| parents | cee88fc1cecd |
| children | 0be0ca99aa9a |
line wrap: on
line diff
--- 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
