view src/s/sol2.h @ 2639:0e6a6d065a94

mawk, SunOS 4.1.3 nawk, and Ultrix/MKS nawk all barf on /[/]/, so change it to /[\/]/. This should work on all Posix-compliant awks. It's slightly wrong with traditional (Unix version 7) awk, since it also allows \, but that's a minor problem compared to awk syntax errors.
author Paul Eggert <eggert@twinsun.com>
date Mon, 03 May 1993 17:55:22 +0000
parents e49c2e6349e4
children 1d72336294c6
line wrap: on
line source

#include "s-usg5-4.h"

#define POSIX

/* 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
#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__
#define C_SWITCH_SYSTEM -Xs
#else /* GCC */
#define C_SWITCH_SYSTEM -traditional
#endif /* GCC */