aboutsummaryrefslogtreecommitdiffstats
path: root/src/s/gnu-linux.h
diff options
context:
space:
mode:
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