From: Richard M. Stallman Date: Mon, 21 Aug 1995 18:48:21 +0000 (+0000) Subject: (NO_SOCKETS_IN_FILE_SYSTEM): Defined. X-Git-Tag: emacs-19.34~2947 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a20435c0616b502acd0243f0f053845990547dae;p=emacs.git (NO_SOCKETS_IN_FILE_SYSTEM): Defined. (START_FILES): Defined. (LIB_STANDARD): New definition, details depending on __GNUC__. --- diff --git a/src/s/isc4-1.h b/src/s/isc4-1.h index 38732c1bc6b..2f84bac40f6 100644 --- a/src/s/isc4-1.h +++ b/src/s/isc4-1.h @@ -9,11 +9,19 @@ #undef LIBS_SYSTEM #define LIBS_SYSTEM -linet -/* uddeborg@carmen.se says we don't need -lPW or -lcposix. */ -#undef LIB_STANDARD - /* uddeborg@carmen.se recommends the rest of this file. */ +/* A special startup file is used when compiling with Posix. */ +#define START_FILES pre-crt0.o /lib/crtp1.o + +/* -lPW is only needed if not using Gcc. */ +#undef LIB_STANDARD +#if defined (__GNUC__) +# define LIB_STANDARD -lcposix -lc /lib/crtn.o +#else /* !__GNUC__ */ +# define LIB_STANDARD -lPW -lcposix -lc /lib/crtn.o +#endif /* !__GNUC__ */ + /* We have Posix termios. */ #define HAVE_TERMIOS /* According to template.h HAVE_TERMIO and HAVE_TERMIOS shouldn't be */ @@ -21,4 +29,5 @@ #undef HAVE_TERMIO #define HAVE_SOCKETS +#define NO_SOCKETS_IN_FILE_SYSTEM #define NEED_NET_ERRNO_H