aboutsummaryrefslogtreecommitdiffstats
path: root/src/s/gnu-linux.h
diff options
context:
space:
mode:
authorRichard M. Stallman1996-06-11 01:39:29 +0000
committerRichard M. Stallman1996-06-11 01:39:29 +0000
commit588a9a3ece02095d4747dcdab9ba5231c7327552 (patch)
tree0a6aa3b8aa7c1a3f79236fe626629a12ea4b2332 /src/s/gnu-linux.h
parente00c3a0c27cd9150a0ed6c3606864565e49d2884 (diff)
downloademacs-588a9a3ece02095d4747dcdab9ba5231c7327552.tar.gz
emacs-588a9a3ece02095d4747dcdab9ba5231c7327552.zip
[__ELF__] (LD_SWITCH_SYSTEM): Define it.
Diffstat (limited to 'src/s/gnu-linux.h')
-rw-r--r--src/s/gnu-linux.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/s/gnu-linux.h b/src/s/gnu-linux.h
index a809739ae8b..2225f5f8e9e 100644
--- a/src/s/gnu-linux.h
+++ b/src/s/gnu-linux.h
@@ -157,6 +157,19 @@ Boston, MA 02111-1307, USA. */
157#define START_FILES pre-crt0.o /usr/lib/crt1.o /usr/lib/crti.o 157#define START_FILES pre-crt0.o /usr/lib/crt1.o /usr/lib/crti.o
158#endif 158#endif
159 159
160#ifdef __ELF__
161/* Here is how to find X Windows. LD_SWITCH_X_SITE_AUX gives an -R option
162 says where to find X windows at run time. */
163#ifndef __GNUC__
164#define LD_SWITCH_SYSTEM LD_SWITCH_X_SITE_AUX
165#else /* GCC */
166/* We use ./prefix-args because we don't know whether LD_SWITCH_X_SITE_AUX
167 has anything in it. It can be empty.
168 This works ok in src. Luckily lib-src does not use LD_SWITCH_SYSTEM. */
169#define LD_SWITCH_SYSTEM `./prefix-args -Xlinker LD_SWITCH_X_SITE_AUX`
170#endif /* GCC */
171#endif /* __ELF__ */
172
160/* As of version 1.1.51, Linux does not actually implement SIGIO. */ 173/* As of version 1.1.51, Linux does not actually implement SIGIO. */
161/* Here we assume that signal.h is already included. */ 174/* Here we assume that signal.h is already included. */
162#ifdef emacs 175#ifdef emacs