]> git.eshelyaron.com Git - emacs.git/commitdiff
[__ELF__] (LD_SWITCH_SYSTEM): Define it.
authorRichard M. Stallman <rms@gnu.org>
Tue, 11 Jun 1996 01:39:29 +0000 (01:39 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 11 Jun 1996 01:39:29 +0000 (01:39 +0000)
src/s/gnu-linux.h

index a809739ae8bed9cf1a1bad2026aa63e796b191fc..2225f5f8e9e190a340197a3101889a83bfde5d9f 100644 (file)
@@ -157,6 +157,19 @@ Boston, MA 02111-1307, USA.  */
 #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