diff options
| author | Richard M. Stallman | 1992-11-21 22:12:53 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1992-11-21 22:12:53 +0000 |
| commit | 7fe7fd40d2cbe4623a31d73a500ef407df882448 (patch) | |
| tree | 0f3cc88234151bf8cb4b35659b5279dc01a2d4fd | |
| parent | 9114e2792fe477299d6d7f8856c616fe4ce31d21 (diff) | |
| download | emacs-7fe7fd40d2cbe4623a31d73a500ef407df882448.tar.gz emacs-7fe7fd40d2cbe4623a31d73a500ef407df882448.zip | |
(LD_SWITCH_SYSTEM): Make alternate version for GCC.
| -rw-r--r-- | src/s/sol2.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/s/sol2.h b/src/s/sol2.h index c985e96967b..ac499294f25 100644 --- a/src/s/sol2.h +++ b/src/s/sol2.h | |||
| @@ -4,8 +4,12 @@ | |||
| 4 | 4 | ||
| 5 | /* Here is how to find X Windows. The -L option tells the linker where | 5 | /* Here is how to find X Windows. The -L option tells the linker where |
| 6 | to find the libraries at link time, the -R option at run time. */ | 6 | to find the libraries at link time, the -R option at run time. */ |
| 7 | #define LD_SWITCH_SYSTEM -L/usr/openwin/lib -R/usr/openwin/lib | ||
| 8 | #define C_SWITCH_X_SYSTEM -I/usr/openwin/include | 7 | #define C_SWITCH_X_SYSTEM -I/usr/openwin/include |
| 8 | #ifndef __GNUC__ | ||
| 9 | #define LD_SWITCH_SYSTEM -L/usr/openwin/lib -R/usr/openwin/lib | ||
| 10 | #else /* GCC */ | ||
| 11 | #define LD_SWITCH_SYSTEM -L/usr/openwin/lib -Xlinker -R/usr/openwin/lib | ||
| 12 | #endif /* GCC */ | ||
| 9 | 13 | ||
| 10 | /* Compile in non-ansi fashion to work around bugs in system header files. */ | 14 | /* Compile in non-ansi fashion to work around bugs in system header files. */ |
| 11 | #ifndef __GNUC__ | 15 | #ifndef __GNUC__ |