# HG changeset patch # User Richard M. Stallman # Date 722383973 0 # Node ID e49c2e6349e433c312e1269c651cf40e719f81bc # Parent e81cb2cc709e00f6bd050023b1809838550f4f1d (LD_SWITCH_SYSTEM): Make alternate version for GCC. diff -r e81cb2cc709e -r e49c2e6349e4 src/s/sol2.h --- a/src/s/sol2.h Sat Nov 21 01:51:33 1992 +0000 +++ b/src/s/sol2.h Sat Nov 21 22:12:53 1992 +0000 @@ -4,8 +4,12 @@ /* Here is how to find X Windows. The -L option tells the linker where to find the libraries at link time, the -R option at run time. */ +#define C_SWITCH_X_SYSTEM -I/usr/openwin/include +#ifndef __GNUC__ #define LD_SWITCH_SYSTEM -L/usr/openwin/lib -R/usr/openwin/lib -#define C_SWITCH_X_SYSTEM -I/usr/openwin/include +#else /* GCC */ +#define LD_SWITCH_SYSTEM -L/usr/openwin/lib -Xlinker -R/usr/openwin/lib +#endif /* GCC */ /* Compile in non-ansi fashion to work around bugs in system header files. */ #ifndef __GNUC__