mirror of
https://git.openafs.org/openafs.git
synced 2025-01-31 05:27:44 +00:00
DEVEL15-namei-by-default-on-sol10-20080816
LICENSE IPL10 default to namei, not inode, on solaris 10 except by request (cherry picked from commit 03982bd54839f81cdc691ad83e946fac8f8789b7)
This commit is contained in:
parent
2ca7bc4dbc
commit
8b5faafec6
17
acinclude.m4
17
acinclude.m4
@ -50,7 +50,7 @@ AC_ARG_ENABLE([namei-fileserver],
|
||||
[force compilation of namei fileserver in preference to inode
|
||||
fileserver])],
|
||||
,
|
||||
[enable_namei_fileserver="no"])
|
||||
[enable_namei_fileserver="default"])
|
||||
AC_ARG_ENABLE([supergroups],
|
||||
[AS_HELP_STRING([--enable-supergroups],
|
||||
[enable support for nested pts groups])],
|
||||
@ -1337,6 +1337,21 @@ fi
|
||||
|
||||
if test "$enable_namei_fileserver" = "yes"; then
|
||||
AC_DEFINE(AFS_NAMEI_ENV, 1, [define if you want to want namei fileserver])
|
||||
else
|
||||
if test "$enable_namei_fileserver" = "default"; then
|
||||
case $host in
|
||||
*-solaris2.10*)
|
||||
AC_MSG_WARN(Some Solaris 10 versions are not safe with the inode fileserver. Forcing namei. Override with --disable-namei-fileserver)
|
||||
AC_DEFINE(AFS_NAMEI_ENV, 1, [define if you want to want namei fileserver])
|
||||
;;
|
||||
*-solaris2.11*)
|
||||
AC_MSG_WARN(Solaris 11 versions are not safe with the inode fileserver. Forcing namei. Override with --disable-namei-fileserver)
|
||||
AC_DEFINE(AFS_NAMEI_ENV, 1, [define if you want to want namei fileserver])
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
fi
|
||||
|
||||
if test "$enable_afsdb" = "yes"; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user