diff options
| author | Richard M. Stallman | 1997-07-26 01:41:59 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1997-07-26 01:41:59 +0000 |
| commit | f3216838e86b1e40c72b34ce538894ac33c10e77 (patch) | |
| tree | 1c3b967771abc9a46d817f68c172dcbbad2f6643 /src | |
| parent | 12a274bfe39d571db78cc0bfc3c253386a64726b (diff) | |
| download | emacs-f3216838e86b1e40c72b34ce538894ac33c10e77.tar.gz emacs-f3216838e86b1e40c72b34ce538894ac33c10e77.zip | |
(LD_SWITCH_SYSTEM_TEMACS): Define this instead of LD_SWITCH_SYSTEM.
Diffstat (limited to 'src')
| -rw-r--r-- | src/s/hpux8.h | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/src/s/hpux8.h b/src/s/hpux8.h index 86a04f77aea..a525cce068b 100644 --- a/src/s/hpux8.h +++ b/src/s/hpux8.h | |||
| @@ -23,23 +23,27 @@ | |||
| 23 | #define ORDINARY_LINK | 23 | #define ORDINARY_LINK |
| 24 | 24 | ||
| 25 | #ifdef HPUX_USE_SHLIBS | 25 | #ifdef HPUX_USE_SHLIBS |
| 26 | #define LD_SWITCH_SYSTEM | 26 | #define LD_SWITCH_SYSTEM_TEMACS |
| 27 | #else | 27 | #else |
| 28 | #define LD_SWITCH_SYSTEM -Xlinker -a -Xlinker archive | 28 | #define LD_SWITCH_SYSTEM_TEMACS -Xlinker -a -Xlinker archive |
| 29 | #endif | 29 | #endif |
| 30 | 30 | ||
| 31 | #else /* not __GNUC__ */ | 31 | #else /* not __GNUC__ */ |
| 32 | /* Note, -a only works for hpux ld, not cc. And "cc LD_SWITCH_SYSTEM" | ||
| 33 | is used in configure's $ac_link to do various autoconf checks. | ||
| 34 | Since we only need -a when unexec'ing, only pass in -a to | ||
| 35 | "ld temacs" (ghazi@caip.rutgers.edu 7/10/97). */ | ||
| 32 | #if (defined(hp9000s700) || defined(__hp9000s700)) | 36 | #if (defined(hp9000s700) || defined(__hp9000s700)) |
| 33 | #ifdef HPUX_USE_SHLIBS | 37 | #ifdef HPUX_USE_SHLIBS |
| 34 | #define LD_SWITCH_SYSTEM -L/lib/pa1.1 | 38 | #define LD_SWITCH_SYSTEM_TEMACS -L/lib/pa1.1 |
| 35 | #else | 39 | #else |
| 36 | #define LD_SWITCH_SYSTEM -a archive -L/lib/pa1.1 | 40 | #define LD_SWITCH_SYSTEM_TEMACS -a archive -L/lib/pa1.1 |
| 37 | #endif | 41 | #endif |
| 38 | #else /* not (defined(hp9000s700) || defined(__hp9000s700)) */ | 42 | #else /* not (defined(hp9000s700) || defined(__hp9000s700)) */ |
| 39 | #ifdef HPUX_USE_SHLIBS | 43 | #ifdef HPUX_USE_SHLIBS |
| 40 | #define LD_SWITCH_SYSTEM | 44 | #define LD_SWITCH_SYSTEM_TEMACS |
| 41 | #else | 45 | #else |
| 42 | #define LD_SWITCH_SYSTEM -a archive | 46 | #define LD_SWITCH_SYSTEM_TEMACS -a archive |
| 43 | #endif | 47 | #endif |
| 44 | #endif /* not (defined(hp9000s700) || defined(__hp9000s700)) */ | 48 | #endif /* not (defined(hp9000s700) || defined(__hp9000s700)) */ |
| 45 | #endif /* not __GNUC__ */ | 49 | #endif /* not __GNUC__ */ |