summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2003-08-27 14:37:24 +0000
committerGerald Carter <jerry@samba.org>2003-08-27 14:37:24 +0000
commit35a42eebed17c3caa61062fadc23d0130da71060 (patch)
treeeba4d5131e82ad8edfe429ac5bf0976f5c856b6c
parentbc0f3c17922588e605784b76b4e2688d59be8e5a (diff)
downloadsamba-35a42eebed17c3caa61062fadc23d0130da71060.tar.gz
samba-35a42eebed17c3caa61062fadc23d0130da71060.tar.bz2
samba-35a42eebed17c3caa61062fadc23d0130da71060.zip
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)
-rw-r--r--source3/configure.in10
1 files changed, 9 insertions, 1 deletions
diff --git a/source3/configure.in b/source3/configure.in
index 42ac332b3b..9b637a51a6 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -360,7 +360,10 @@ case "$host_os" in
# 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])
;;