Subject: [PATCHES] port patch: ultrix4
ultrix4 doesn't compile without this. this also fixes a problem
with dynamic loading (ultrix relocatable objects must be loaded
with -G 0).
# define USE_POSIX_TIME
# define NEED_STRDUP
+#ifndef BYTE_ORDER
+#define BYTE_ORDER LITTLE_ENDIAN
+#endif
+
/*
* Except for those system calls and library functions that are either
* - covered by the C standard library and Posix.1
extern int fsync(int);
extern int ftruncate(int, off_t);
-/* End of ultrix4.h */
+extern char *crypt(char *, char *);
+/* End of ultrix4.h */
# install creates intermediate directories
NO_BEFOREINSTL= true
+SHELL=/bin/sh5
+
+#
+# "-G 0" works for both DEC cc and GNU cc.
+#
+%.so: %.c
+ $(CC) -c -G 0 $(CFLAGS) -o $@ $<
SRCH_INC:
SRCH_LIB:
USE_LOCALE:no
-DLSUFFIX:.o
+DLSUFFIX:.so
YFLAGS:-d
YACC: