summaryrefslogtreecommitdiff
path: root/net/samba/files/patch-sysv
blob: c23cae9579bef8854a4f83f3cae7211430f2c445 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
diff -urN source.old/acconfig.h source/acconfig.h
--- source.old/acconfig.h	Mon Oct 21 12:19:22 2002
+++ source/acconfig.h	Mon Oct 21 12:22:00 2002
@@ -27,6 +27,8 @@
 #undef AIX
 #undef BSD
 #undef IRIX
+#undef UNIXWARE
+#undef SYSV
 #undef IRIX6
 #undef HPUX
 #undef QNX
diff -urN source.old/configure.in source/configure.in
--- source.old/configure.in	Mon Oct 21 12:19:22 2002
+++ source/configure.in	Mon Oct 21 12:21:27 2002
@@ -952,7 +952,7 @@
 		;;
 		*next2*) AC_DEFINE(NEXT2);;
 		*dgux*) AC_CHECK_PROG( ROFF, groff, [groff -etpsR -Tascii -man]);;
-		*sysv4*)
+		*sysv4*) AC_DEFINE(SYSV)
 			case "$host" in
 				*-univel-*)     if [ test "$GCC" != yes ]; then
 									AC_DEFINE(HAVE_MEMSET)
@@ -963,7 +963,7 @@
 				*mips-sni-sysv4*) AC_DEFINE(RELIANTUNIX);;
 			esac
 			;;
-		*sysv5*)
+		*sysv5*) AC_DEFINE(SYSV)
 			if [ test "$GCC" != yes ]; then
 				AC_DEFINE(HAVE_MEMSET)
 			fi
diff -urN source.old/include/includes.h source/include/includes.h
--- source.old/include/includes.h	Mon Oct 21 12:19:22 2002
+++ source/include/includes.h	Mon Oct 21 12:23:01 2002
@@ -748,11 +748,6 @@
 #define QSORT_CAST (int (*)(const void *, const void *))
 #endif
 
-/* this guess needs to be improved (tridge) */
-#if (defined(STAT_STATVFS) || defined(STAT_STATVFS64)) && !defined(SYSV)
-#define SYSV 1
-#endif
-
 /*
  * Veritas File System.  Often in addition to native.
  * Quotas different.