diff options
| author | Richard M. Stallman | 1994-05-23 07:14:38 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1994-05-23 07:14:38 +0000 |
| commit | afce6ded2dc010a6e6cd7eb78f04d39aeda35812 (patch) | |
| tree | 3ef008ad556c3cebbef080f3e48a176a7c523e31 /src/s | |
| parent | d3da379e6cddea11d1decc52fb3d382bdb17ab91 (diff) | |
| download | emacs-afce6ded2dc010a6e6cd7eb78f04d39aeda35812.tar.gz emacs-afce6ded2dc010a6e6cd7eb78f04d39aeda35812.zip | |
(LD_SWITCH_SYSTEM): Add conditionals for HPUX_USE_SHLIBS.
Delete explicit -Xlinker in GCC case.
Diffstat (limited to 'src/s')
| -rw-r--r-- | src/s/hpux8.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/s/hpux8.h b/src/s/hpux8.h index 852e175b016..6960c4c6dc3 100644 --- a/src/s/hpux8.h +++ b/src/s/hpux8.h | |||
| @@ -18,23 +18,23 @@ | |||
| 18 | Note GCC automatically passes -a archive to ld, and it has its own | 18 | Note GCC automatically passes -a archive to ld, and it has its own |
| 19 | conflicting -a. */ | 19 | conflicting -a. */ |
| 20 | #ifdef __GNUC__ | 20 | #ifdef __GNUC__ |
| 21 | #define LD_SWITCH_SYSTEM -Xlinker -a -Xlinker archive | ||
| 22 | |||
| 23 | /* No need to specify roundabout way of linking temacs. */ | 21 | /* No need to specify roundabout way of linking temacs. */ |
| 24 | #define ORDINARY_LINK | 22 | #define ORDINARY_LINK |
| 25 | #else | ||
| 26 | #if defined(hp9000s700) || defined(__hp9000s700) | ||
| 27 | #define LD_SWITCH_SYSTEM -a archive -L/lib/pa1.1 | ||
| 28 | #else | ||
| 29 | #define LD_SWITCH_SYSTEM -a archive | ||
| 30 | #endif | ||
| 31 | #endif | 23 | #endif |
| 32 | 24 | ||
| 33 | #if 0 /* This should no longer be necessary now that | 25 | #if ! defined (__GNUC__) && (defined(hp9000s700) || defined(__hp9000s700)) |
| 34 | C_SWITCH_... are passed down when compiling oldXMenu. */ | 26 | #ifdef HPUX_USE_SHLIBS |
| 35 | /* Specify compiler options for compiling oldXMenu. */ | 27 | #define LD_SWITCH_SYSTEM -L/lib/pa1.1 -L/usr/lib/X11R5 -L/usr/lib/X11R4 |
| 36 | #define OLDXMENU_OPTIONS CFLAGS="-I/usr/include/X11R5 -I/usr/include/X11R4" | 28 | #else |
| 29 | #define LD_SWITCH_SYSTEM -a archive -L/lib/pa1.1 -L/usr/lib/X11R5 -L/usr/lib/X11R4 | ||
| 30 | #endif | ||
| 31 | #else /* __GNUC__ or not (defined(hp9000s700) || defined(__hp9000s700)) */ | ||
| 32 | #ifdef HPUX_USE_SHLIBS | ||
| 33 | #define LD_SWITCH_SYSTEM -L/usr/lib/X11R5 -L/usr/lib/X11R4 | ||
| 34 | #else | ||
| 35 | #define LD_SWITCH_SYSTEM -a archive -L/usr/lib/X11R5 -L/usr/lib/X11R4 | ||
| 37 | #endif | 36 | #endif |
| 37 | #endif /* __GNUC__ or not (defined(hp9000s700) || defined(__hp9000s700)) */ | ||
| 38 | 38 | ||
| 39 | /* Some hpux 8 machines seem to have TIOCGWINSZ, | 39 | /* Some hpux 8 machines seem to have TIOCGWINSZ, |
| 40 | and none have sioctl.h, so might as well define this. */ | 40 | and none have sioctl.h, so might as well define this. */ |