changeset 12913:92c12902ae8d

(NO_SOCKETS_IN_FILE_SYSTEM): Defined. (START_FILES): Defined. (LIB_STANDARD): New definition, details depending on __GNUC__.
author Richard M. Stallman <rms@gnu.org>
date Mon, 21 Aug 1995 18:48:21 +0000
parents e519963ce31a
children 22f47b2375c1
files src/s/isc4-1.h
diffstat 1 files changed, 12 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/s/isc4-1.h	Mon Aug 21 17:27:04 1995 +0000
+++ b/src/s/isc4-1.h	Mon Aug 21 18:48:21 1995 +0000
@@ -9,10 +9,18 @@
 #undef LIBS_SYSTEM
 #define LIBS_SYSTEM -linet
 
-/* uddeborg@carmen.se says we don't need -lPW or -lcposix.  */
+/* 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
-
-/* uddeborg@carmen.se recommends the rest of this file.  */
+#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
@@ -21,4 +29,5 @@
 #undef HAVE_TERMIO
 
 #define HAVE_SOCKETS
+#define NO_SOCKETS_IN_FILE_SYSTEM
 #define NEED_NET_ERRNO_H