From 35a42eebed17c3caa61062fadc23d0130da71060 Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Wed, 27 Aug 2003 14:37:24 +0000 Subject: fix bug 230; make sure to set #define SYSV for solaris; do this outside of the checks for shared library support (move the IRIX define as well) (This used to be commit 42d9b75d8c6ab61afd3b399ab485da6733af5bd2) --- source3/configure.in | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'source3/configure.in') diff --git a/source3/configure.in b/source3/configure.in index 42ac332b3b..9b637a51a6 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -359,8 +359,11 @@ case "$host_os" in # recommendations on large file support, however it makes the # compile work using gcc 2.7 and 2.8, whereas using the Sun # recommendation makes the compile fail on gcc2.7. JRA. +# +# Solaris uses SYSV printing. Make sure to set that here. --jerry # *solaris*) + AC_DEFINE(SYSV, 1, [Whether to enable System V compatibility]) case `uname -r` in 5.0*|5.1*|5.2*|5.3*|5.5*) AC_MSG_RESULT([no large file support]) @@ -391,6 +394,12 @@ case "$host_os" in esac ;; # +# IRIX uses SYSV printing. Make sure to set that here +# + *irix*) + AC_DEFINE(SYSV, 1, [Whether to enable System V compatibility]) + ;; +# # VOS may need to have POSIX support and System V compatibility enabled. # *vos*) @@ -1055,7 +1064,6 @@ if test "$enable_shared" = "yes"; then AC_DEFINE(BROKEN_GETGRNAM,1,[Does getgrnam work correctly]) ;; *irix*) AC_DEFINE(IRIX,1,[Whether the host os is irix]) - AC_DEFINE(SYSV, 1, [Whether to enable System V compatibility]) case "$host_os" in *irix6*) AC_DEFINE(IRIX6,1,[Whether the host os is irix6]) ;; -- cgit