Commit f3216838 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(LD_SWITCH_SYSTEM_TEMACS): Define this instead of LD_SWITCH_SYSTEM.

parent 12a274bf
...@@ -23,23 +23,27 @@ ...@@ -23,23 +23,27 @@
#define ORDINARY_LINK #define ORDINARY_LINK
#ifdef HPUX_USE_SHLIBS #ifdef HPUX_USE_SHLIBS
#define LD_SWITCH_SYSTEM #define LD_SWITCH_SYSTEM_TEMACS
#else #else
#define LD_SWITCH_SYSTEM -Xlinker -a -Xlinker archive #define LD_SWITCH_SYSTEM_TEMACS -Xlinker -a -Xlinker archive
#endif #endif
#else /* not __GNUC__ */ #else /* not __GNUC__ */
/* Note, -a only works for hpux ld, not cc. And "cc LD_SWITCH_SYSTEM"
is used in configure's $ac_link to do various autoconf checks.
Since we only need -a when unexec'ing, only pass in -a to
"ld temacs" (ghazi@caip.rutgers.edu 7/10/97). */
#if (defined(hp9000s700) || defined(__hp9000s700)) #if (defined(hp9000s700) || defined(__hp9000s700))
#ifdef HPUX_USE_SHLIBS #ifdef HPUX_USE_SHLIBS
#define LD_SWITCH_SYSTEM -L/lib/pa1.1 #define LD_SWITCH_SYSTEM_TEMACS -L/lib/pa1.1
#else #else
#define LD_SWITCH_SYSTEM -a archive -L/lib/pa1.1 #define LD_SWITCH_SYSTEM_TEMACS -a archive -L/lib/pa1.1
#endif #endif
#else /* not (defined(hp9000s700) || defined(__hp9000s700)) */ #else /* not (defined(hp9000s700) || defined(__hp9000s700)) */
#ifdef HPUX_USE_SHLIBS #ifdef HPUX_USE_SHLIBS
#define LD_SWITCH_SYSTEM #define LD_SWITCH_SYSTEM_TEMACS
#else #else
#define LD_SWITCH_SYSTEM -a archive #define LD_SWITCH_SYSTEM_TEMACS -a archive
#endif #endif
#endif /* not (defined(hp9000s700) || defined(__hp9000s700)) */ #endif /* not (defined(hp9000s700) || defined(__hp9000s700)) */
#endif /* not __GNUC__ */ #endif /* not __GNUC__ */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment