#
#
# IDENTIFICATION
-# $Header: /cvsroot/pgsql/src/backend/port/dgux/Attic/Makefile.inc,v 1.1 1996/07/25 20:43:56 scrappy Exp $
+# $Header: /cvsroot/pgsql/src/backend/port/dgux/Attic/Makefile.inc,v 1.2 1996/10/18 00:33:14 scrappy Exp $
#
# NOTES
# The Linux port is included here by courtesy of Kai Petzke.
CFLAGS+= -DLINUX_ELF
HEADERS+= machine.h port-protos.h
-CFLAGS+= #-DNEED_CBRT
-
#
#
# IDENTIFICATION
-# $Header: /cvsroot/pgsql/src/backend/port/hpux/Attic/Makefile.inc,v 1.1.1.1 1996/07/09 06:21:43 scrappy Exp $
+# $Header: /cvsroot/pgsql/src/backend/port/hpux/Attic/Makefile.inc,v 1.2 1996/10/18 00:33:22 scrappy Exp $
#
#-------------------------------------------------------------------------
endif
endif
-CFLAGS+= -DUSE_POSIX_TIME
-
-#
-# cbrt(3m) and rint(3m) are missing from 8.07.
-# cbrt(3m) and rint(3m) are broken in 9.01.
-# cbrt(3m) seems to be missing on 9.00 even though it is documented.
-#
-CFLAGS+= -DNEED_RINT -DNEED_CBRT
-
#
# The #pragma trick required on 8.07 no longer works -- the #pragma
# is thoroughly broken. However, the +u flag has been extended to
#
#
# IDENTIFICATION
-# $Header: /cvsroot/pgsql/src/backend/port/linux/Attic/Makefile.inc,v 1.1.1.1 1996/07/09 06:21:44 scrappy Exp $
+# $Header: /cvsroot/pgsql/src/backend/port/linux/Attic/Makefile.inc,v 1.2 1996/10/18 00:33:32 scrappy Exp $
#
# NOTES
# The Linux port is included here by courtesy of Kai Petzke.
endif
HEADERS+= machine.h port-protos.h
-CFLAGS+= -DNEED_CBRT
-
#define BLCKSZ 8192
+#if defined(sequent) || \
+ defined(PORTNAME_aix) || \
+ defined(PORTNAME_alpha) || \
+ defined(PORTNAME_bsdi) || \
+ defined(PORTNAME_hpux) || \
+ defined(PORTNAME_dgux) || \
+ defined(PORTNAME_i386_solaris) || \
+ defined(PORTNAME_sparc_solaris) || \
+ defined(PORTNAME_ultrix4) || \
+ defined(PORTNAME_svr4)
+#define NEED_UNION_SEMUN
+#endif
+
+#if defined(linux)
+# define NEED_CBRT
+#endif
+
#if defined(hpux)
+# define USE_POSIX_TIME
# define HAVE_TZSET
+# define NEED_CBRT
+# define NEED_RINT
#endif
#if defined(i386_solaris)
# define NOFILE 100
# define NEED_UNION_SEMUN
# define HAVE_TZSET
+# define NEED_CBRT
+# define NEED_ISINF
#endif /* WIN32 */
-#if defined(__FreeBSD__) || \
- defined(__NetBSD__) || \
- defined(bsdi)
+#if defined(BSD44_derived) || \
+ defined(bsdi) || \
+ defined(bsdi_2_1)
# define USE_LIMITS_H
# define USE_POSIX_TIME
+# define NEED_CBRT
#endif
#if defined(aix)
* long locks. For some reason union semun is never defined in the
* System V header files so we must do it ourselves.
*/
-#if defined(sequent) || \
- defined(PORTNAME_aix) || \
- defined(PORTNAME_alpha) || \
- defined(PORTNAME_bsdi) || \
- defined(PORTNAME_hpux) || \
- defined(PORTNAME_dgux) || \
- defined(PORTNAME_i386_solaris) || \
- defined(PORTNAME_sparc_solaris) || \
- defined(PORTNAME_ultrix4) || \
- defined(PORTNAME_svr4)
-#define NEED_UNION_SEMUN
-#endif
/* Debug and various "defines" that should be documented */