SUBARCH=default
fi
AC_MSG_RESULT(linux)
+ if test "x$enable_kernel_module" = "xyes"; then
+ AFS_SYSKVERS=`echo $LINUX_VERSION | awk -F\. '{print $[]1 $[]2}'`
+ if test "x${AFS_SYSKVERS}" = "x"; then
+ AC_MSG_ERROR(Couldn't guess your Linux version [2])
+ fi
+ fi
;;
*-solaris*)
MKAFS_OSTYPE=SOLARIS
AFS_PARAM_COMMON=param.nbsd16.h
AFS_SYSNAME="ppc_nbsd16"
;;
- i?86-*-netbsd*2.99*)
+ i?86-*-netbsd*2.1*)
AFS_PARAM_COMMON=param.nbsd21.h
AFS_SYSNAME="i386_nbsd21"
;;
+ i?86-*-netbsd*2.99*)
+ AFS_PARAM_COMMON=param.nbsd30.h
+ AFS_SYSNAME="i386_nbsd30"
+ ;;
+ i?86-*-netbsd*3.0*)
+ AFS_PARAM_COMMON=param.nbsd30.h
+ AFS_SYSNAME="i386_nbsd30"
+ ;;
hppa*-hp-hpux11.0*)
AFS_SYSNAME="hp_ux110"
;;
esac
case $AFS_SYSNAME in
*_linux* | *_umlinux*)
- if test "x$enable_kernel_module" = "xyes"; then
- AFS_SYSKVERS=`echo $LINUX_VERSION | awk -F\. '{print $[]1 $[]2}'`
- fi
if test "x${AFS_SYSKVERS}" = "x"; then
AC_MSG_ERROR(Couldn't guess your Linux version. Please use the --with-afs-sysname option to configure an AFS sysname.)
fi
LINUX_SCHED_STRUCT_TASK_STRUCT_HAS_SIG
LINUX_SCHED_STRUCT_TASK_STRUCT_HAS_SIGHAND
LINUX_SCHED_STRUCT_TASK_STRUCT_HAS_SIGMASK_LOCK
+ LINUX_SCHED_STRUCT_TASK_STRUCT_HAS_RLIM
+ LINUX_SCHED_STRUCT_TASK_STRUCT_HAS_SIGNAL_RLIM
LINUX_WHICH_MODULES
if test "x$ac_cv_linux_config_modversions" = "xno" -o $AFS_SYSKVERS -ge 26; then
AC_MSG_WARN([Cannot determine sys_call_table status. assuming it isn't exported])
if test "x$ac_cv_linux_sched_struct_task_struct_has_sig" = "xyes"; then
AC_DEFINE(STRUCT_TASK_STRUCT_HAS_SIG, 1, [define if your struct task_struct has sig])
fi
+ if test "x$ac_cv_linux_sched_struct_task_struct_has_rlim" = "xyes"; then
+ AC_DEFINE(STRUCT_TASK_STRUCT_HAS_RLIM, 1, [define if your struct task_struct has rlim])
+ fi
+ if test "x$ac_cv_linux_sched_struct_task_struct_has_signal_rlim" = "xyes"; then
+ AC_DEFINE(STRUCT_TASK_STRUCT_HAS_SIGNAL_RLIM, 1, [define if your struct task_struct has signal->rlim])
+ fi
:
fi
esac