mirror of
https://git.openafs.org/openafs.git
synced 2025-01-18 15:00:12 +00:00
i-hate-aclocal-20040603
FIXES 4922 aclocal wants [] around macro names. good for aclocal.
This commit is contained in:
parent
1d5ddeb9db
commit
4a69168cdf
@ -4,7 +4,7 @@ dnl
|
||||
dnl NB: Because this code is a macro, references to positional shell
|
||||
dnl parameters must be done like $[]1 instead of $1
|
||||
|
||||
AC_DEFUN(OPENAFS_CONFIGURE_COMMON,[
|
||||
AC_DEFUN([OPENAFS_CONFIGURE_COMMON],[
|
||||
|
||||
AC_CANONICAL_HOST
|
||||
SRCDIR_PARENT=`pwd`
|
||||
|
@ -14,7 +14,7 @@ dnl vac.C 4.4.0.0 440
|
||||
dnl vac.C 5.0.2.1 502
|
||||
dnl
|
||||
|
||||
AC_DEFUN(AC_AIX_CC_GOOD, [
|
||||
AC_DEFUN([AC_AIX_CC_GOOD], [
|
||||
AIXCC="$CC"
|
||||
save_CC="$CC"
|
||||
if test "$CC" ; then
|
||||
|
@ -7,7 +7,7 @@ dnl if we can figure it out at compile-time then don't define the cpp symbol
|
||||
dnl otherwise test for it and define it. also allow options for overriding
|
||||
dnl it when cross-compiling
|
||||
|
||||
AC_DEFUN(OPENAFS_CHECK_BIGENDIAN, [
|
||||
AC_DEFUN([OPENAFS_CHECK_BIGENDIAN], [
|
||||
AC_ARG_ENABLE(bigendian,
|
||||
[ --enable-bigendian the target is big endian],
|
||||
openafs_cv_c_bigendian=yes)
|
||||
|
@ -1,4 +1,4 @@
|
||||
AC_DEFUN(COMPILER_HAS_FUNCTION_MACRO, [
|
||||
AC_DEFUN([COMPILER_HAS_FUNCTION_MACRO], [
|
||||
AC_MSG_CHECKING(for __FUNCTION__ and __LINE__ macros)
|
||||
AC_CACHE_VAL(ac_cv_compiler_has_function_macro,
|
||||
[
|
||||
|
@ -1,4 +1,4 @@
|
||||
AC_DEFUN(IRIX_SYS_SYSTM_H_HAS_MEM_FUNCS, [
|
||||
AC_DEFUN([IRIX_SYS_SYSTM_H_HAS_MEM_FUNCS], [
|
||||
AC_MSG_CHECKING(for mem* in sys/systm.h)
|
||||
save_CPPFLAGS="$CPPFLAGS"
|
||||
CPPFLAGS="$CPPFLAGS -D_KERNEL -D__STRING_H__"
|
||||
|
@ -1,4 +1,4 @@
|
||||
AC_DEFUN(LINUX_INODE_SETATTR_RETURN_TYPE,[
|
||||
AC_DEFUN([LINUX_INODE_SETATTR_RETURN_TYPE],[
|
||||
AC_MSG_CHECKING(for inode_setattr return type)
|
||||
save_CPPFLAGS="$CPPFLAGS"
|
||||
CPPFLAGS="-I${LINUX_KERNEL_PATH}/include -I${LINUX_KERNEL_PATH}/include/asm/mach-${SUBARCH} -D__KERNEL__ $CPPFLAGS"
|
||||
|
@ -1,4 +1,4 @@
|
||||
AC_DEFUN(LINUX_FS_STRUCT_ADDRESS_SPACE_HAS_GFP_MASK, [
|
||||
AC_DEFUN([LINUX_FS_STRUCT_ADDRESS_SPACE_HAS_GFP_MASK], [
|
||||
AC_MSG_CHECKING(for gfp_mask in struct address_space)
|
||||
save_CPPFLAGS="$CPPFLAGS"
|
||||
CPPFLAGS="-I${LINUX_KERNEL_PATH}/include -I${LINUX_KERNEL_PATH}/include/asm/mach-${SUBARCH} -D__KERNEL__ $CPPFLAGS"
|
||||
@ -13,7 +13,7 @@ ac_cv_linux_fs_struct_address_space_has_gfp_mask=no)])
|
||||
AC_MSG_RESULT($ac_cv_linux_fs_struct_address_space_has_gfp_mask)
|
||||
CPPFLAGS="$save_CPPFLAGS"])
|
||||
|
||||
AC_DEFUN(LINUX_FS_STRUCT_INODE_HAS_I_BYTES, [
|
||||
AC_DEFUN([LINUX_FS_STRUCT_INODE_HAS_I_BYTES], [
|
||||
AC_MSG_CHECKING(for i_bytes in struct inode)
|
||||
save_CPPFLAGS="$CPPFLAGS"
|
||||
CPPFLAGS="-I${LINUX_KERNEL_PATH}/include -I${LINUX_KERNEL_PATH}/include/asm/mach-${SUBARCH} -D__KERNEL__ $CPPFLAGS"
|
||||
@ -28,7 +28,7 @@ ac_cv_linux_fs_struct_inode_has_i_bytes=no)])
|
||||
AC_MSG_RESULT($ac_cv_linux_fs_struct_inode_has_i_bytes)
|
||||
CPPFLAGS="$save_CPPFLAGS"])
|
||||
|
||||
AC_DEFUN(LINUX_FS_STRUCT_INODE_HAS_I_ALLOC_SEM, [
|
||||
AC_DEFUN([LINUX_FS_STRUCT_INODE_HAS_I_ALLOC_SEM], [
|
||||
AC_MSG_CHECKING(for i_alloc_sem in struct inode)
|
||||
save_CPPFLAGS="$CPPFLAGS"
|
||||
CPPFLAGS="-I${LINUX_KERNEL_PATH}/include -I${LINUX_KERNEL_PATH}/include/asm/mach-${SUBARCH} -D__KERNEL__ $CPPFLAGS"
|
||||
@ -43,7 +43,7 @@ ac_cv_linux_fs_struct_inode_has_i_alloc_sem=no)])
|
||||
AC_MSG_RESULT($ac_cv_linux_fs_struct_inode_has_i_alloc_sem)
|
||||
CPPFLAGS="$save_CPPFLAGS"])
|
||||
|
||||
AC_DEFUN(LINUX_FS_STRUCT_INODE_HAS_I_TRUNCATE_SEM, [
|
||||
AC_DEFUN([LINUX_FS_STRUCT_INODE_HAS_I_TRUNCATE_SEM], [
|
||||
AC_MSG_CHECKING(for i_truncate_sem in struct inode)
|
||||
save_CPPFLAGS="$CPPFLAGS"
|
||||
CPPFLAGS="-I${LINUX_KERNEL_PATH}/include -I${LINUX_KERNEL_PATH}/include/asm/mach-${SUBARCH} -D__KERNEL__ $CPPFLAGS"
|
||||
@ -58,7 +58,7 @@ ac_cv_linux_fs_struct_inode_has_i_truncate_sem=no)])
|
||||
AC_MSG_RESULT($ac_cv_linux_fs_struct_inode_has_i_truncate_sem)
|
||||
CPPFLAGS="$save_CPPFLAGS"])
|
||||
|
||||
AC_DEFUN(LINUX_FS_STRUCT_ADDRESS_SPACE_HAS_PAGE_LOCK, [
|
||||
AC_DEFUN([LINUX_FS_STRUCT_ADDRESS_SPACE_HAS_PAGE_LOCK], [
|
||||
AC_MSG_CHECKING(for page_lock in struct address_space)
|
||||
save_CPPFLAGS="$CPPFLAGS"
|
||||
CPPFLAGS="-I${LINUX_KERNEL_PATH}/include -I${LINUX_KERNEL_PATH}/include/asm/mach-${SUBARCH} -D__KERNEL__ $CPPFLAGS"
|
||||
@ -77,7 +77,7 @@ CPPFLAGS="$save_CPPFLAGS"])
|
||||
dnl LINUX_BUILD_VNODE_FROM_INODE (configdir, outputdir, tmpldir)
|
||||
dnl defaults: (src/config, src/afs/LINUX, src/afs/linux)
|
||||
|
||||
AC_DEFUN(LINUX_BUILD_VNODE_FROM_INODE, [
|
||||
AC_DEFUN([LINUX_BUILD_VNODE_FROM_INODE], [
|
||||
AC_MSG_CHECKING(whether to build osi_vfs.h)
|
||||
configdir=ifelse([$1], ,[src/config],$1)
|
||||
outputdir=ifelse([$2], ,[src/afs/LINUX],$2)
|
||||
|
@ -1,4 +1,4 @@
|
||||
AC_DEFUN(LINUX_KERNEL_LINUX_SYSCALL_H,[
|
||||
AC_DEFUN([LINUX_KERNEL_LINUX_SYSCALL_H],[
|
||||
AC_MSG_CHECKING(for linux/syscall.h in kernel)
|
||||
if test -f "${LINUX_KERNEL_PATH}/include/linux/syscall.h"; then
|
||||
ac_linux_syscall=yes
|
||||
@ -9,7 +9,7 @@ AC_DEFUN(LINUX_KERNEL_LINUX_SYSCALL_H,[
|
||||
fi
|
||||
])
|
||||
|
||||
AC_DEFUN(LINUX_NEED_RHCONFIG,[
|
||||
AC_DEFUN([LINUX_NEED_RHCONFIG],[
|
||||
RHCONFIG_SP=""
|
||||
RHCONFIG_MP=""
|
||||
if test "x$enable_redhat_buildsys" = "xyes"; then
|
||||
@ -33,7 +33,7 @@ AC_SUBST(RHCONFIG_SP)
|
||||
AC_SUBST(RHCONFIG_MP)
|
||||
])
|
||||
|
||||
AC_DEFUN(LINUX_WHICH_MODULES,[
|
||||
AC_DEFUN([LINUX_WHICH_MODULES],[
|
||||
if test "x$enable_redhat_buildsys" = "xyes"; then
|
||||
MPS=Default
|
||||
else
|
||||
|
@ -1,4 +1,4 @@
|
||||
AC_DEFUN(LINUX_COMPLETION_H_EXISTS, [
|
||||
AC_DEFUN([LINUX_COMPLETION_H_EXISTS], [
|
||||
AC_MSG_CHECKING(for linux/completion.h existance)
|
||||
save_CPPFLAGS="$CPPFLAGS"
|
||||
CPPFLAGS="-I${LINUX_KERNEL_PATH}/include -I${LINUX_KERNEL_PATH}/include/asm/mach-${SUBARCH} -D__KERNEL__ $CPPFLAGS"
|
||||
@ -18,7 +18,7 @@ AC_MSG_RESULT($ac_cv_linux_completion_h_exists)
|
||||
CPPFLAGS="$save_CPPFLAGS"])
|
||||
|
||||
|
||||
AC_DEFUN(LINUX_DEFINES_FOR_EACH_PROCESS, [
|
||||
AC_DEFUN([LINUX_DEFINES_FOR_EACH_PROCESS], [
|
||||
AC_MSG_CHECKING(for defined for_each_process)
|
||||
save_CPPFLAGS="$CPPFLAGS"
|
||||
CPPFLAGS="-I${LINUX_KERNEL_PATH}/include -I${LINUX_KERNEL_PATH}/include/asm/mach-${SUBARCH} -D__KERNEL__ $CPPFLAGS"
|
||||
@ -35,7 +35,7 @@ AC_MSG_RESULT($ac_cv_linux_defines_for_each_process)
|
||||
CPPFLAGS="$save_CPPFLAGS"])
|
||||
|
||||
|
||||
AC_DEFUN(LINUX_DEFINES_PREV_TASK, [
|
||||
AC_DEFUN([LINUX_DEFINES_PREV_TASK], [
|
||||
AC_MSG_CHECKING(for defined prev_task)
|
||||
save_CPPFLAGS="$CPPFLAGS"
|
||||
CPPFLAGS="-I${LINUX_KERNEL_PATH}/include -I${LINUX_KERNEL_PATH}/include/asm/mach-${SUBARCH} -D__KERNEL__ $CPPFLAGS"
|
||||
@ -52,7 +52,7 @@ AC_MSG_RESULT($ac_cv_linux_defines_prev_task)
|
||||
CPPFLAGS="$save_CPPFLAGS"])
|
||||
|
||||
|
||||
AC_DEFUN(LINUX_EXPORTS_INIT_MM, [
|
||||
AC_DEFUN([LINUX_EXPORTS_INIT_MM], [
|
||||
AC_MSG_CHECKING(for exported init_mm)
|
||||
save_CPPFLAGS="$CPPFLAGS"
|
||||
CPPFLAGS="-I${LINUX_KERNEL_PATH}/include -I${LINUX_KERNEL_PATH}/include/asm/mach-${SUBARCH} -D__KERNEL__ $CPPFLAGS"
|
||||
@ -69,7 +69,7 @@ AC_MSG_RESULT($ac_cv_linux_exports_init_mm)
|
||||
CPPFLAGS="$save_CPPFLAGS"])
|
||||
|
||||
|
||||
AC_DEFUN(LINUX_EXPORTS_KALLSYMS_ADDRESS, [
|
||||
AC_DEFUN([LINUX_EXPORTS_KALLSYMS_ADDRESS], [
|
||||
AC_MSG_CHECKING(for exported kallsyms_address_to_symbol)
|
||||
save_CPPFLAGS="$CPPFLAGS"
|
||||
CPPFLAGS="-I${LINUX_KERNEL_PATH}/include -I${LINUX_KERNEL_PATH}/include/asm/mach-${SUBARCH} -D__KERNEL__ $CPPFLAGS"
|
||||
@ -86,7 +86,7 @@ AC_MSG_RESULT($ac_cv_linux_exports_kallsyms_address)
|
||||
CPPFLAGS="$save_CPPFLAGS"])
|
||||
|
||||
|
||||
AC_DEFUN(LINUX_EXPORTS_KALLSYMS_SYMBOL, [
|
||||
AC_DEFUN([LINUX_EXPORTS_KALLSYMS_SYMBOL], [
|
||||
AC_MSG_CHECKING(for exported kallsyms_symbol_to_address)
|
||||
save_CPPFLAGS="$CPPFLAGS"
|
||||
CPPFLAGS="-I${LINUX_KERNEL_PATH}/include -I${LINUX_KERNEL_PATH}/include/asm/mach-${SUBARCH} -D__KERNEL__ $CPPFLAGS"
|
||||
@ -103,7 +103,7 @@ AC_MSG_RESULT($ac_cv_linux_exports_kallsyms_symbol)
|
||||
CPPFLAGS="$save_CPPFLAGS"])
|
||||
|
||||
|
||||
AC_DEFUN(LINUX_EXPORTS_SYS_CALL_TABLE, [
|
||||
AC_DEFUN([LINUX_EXPORTS_SYS_CALL_TABLE], [
|
||||
AC_MSG_CHECKING(for exported sys_call_table)
|
||||
save_CPPFLAGS="$CPPFLAGS"
|
||||
CPPFLAGS="-I${LINUX_KERNEL_PATH}/include -I${LINUX_KERNEL_PATH}/include/asm/mach-${SUBARCH} -D__KERNEL__ $CPPFLAGS"
|
||||
@ -120,7 +120,7 @@ AC_MSG_RESULT($ac_cv_linux_exports_sys_call_table)
|
||||
CPPFLAGS="$save_CPPFLAGS"])
|
||||
|
||||
|
||||
AC_DEFUN(LINUX_EXPORTS_IA32_SYS_CALL_TABLE, [
|
||||
AC_DEFUN([LINUX_EXPORTS_IA32_SYS_CALL_TABLE], [
|
||||
AC_MSG_CHECKING(for exported ia32_sys_call_table)
|
||||
save_CPPFLAGS="$CPPFLAGS"
|
||||
CPPFLAGS="-I${LINUX_KERNEL_PATH}/include -I${LINUX_KERNEL_PATH}/include/asm/mach-${SUBARCH} -D__KERNEL__ $CPPFLAGS"
|
||||
@ -137,7 +137,7 @@ AC_MSG_RESULT($ac_cv_linux_exports_ia32_sys_call_table)
|
||||
CPPFLAGS="$save_CPPFLAGS"])
|
||||
|
||||
|
||||
AC_DEFUN(LINUX_EXPORTS_SYS_CHDIR, [
|
||||
AC_DEFUN([LINUX_EXPORTS_SYS_CHDIR], [
|
||||
AC_MSG_CHECKING(for exported sys_chdir)
|
||||
save_CPPFLAGS="$CPPFLAGS"
|
||||
CPPFLAGS="-I${LINUX_KERNEL_PATH}/include -I${LINUX_KERNEL_PATH}/include/asm/mach-${SUBARCH} -D__KERNEL__ $CPPFLAGS"
|
||||
@ -154,7 +154,7 @@ AC_MSG_RESULT($ac_cv_linux_exports_sys_chdir)
|
||||
CPPFLAGS="$save_CPPFLAGS"])
|
||||
|
||||
|
||||
AC_DEFUN(LINUX_EXPORTS_SYS_CLOSE, [
|
||||
AC_DEFUN([LINUX_EXPORTS_SYS_CLOSE], [
|
||||
AC_MSG_CHECKING(for exported sys_close)
|
||||
save_CPPFLAGS="$CPPFLAGS"
|
||||
CPPFLAGS="-I${LINUX_KERNEL_PATH}/include -I${LINUX_KERNEL_PATH}/include/asm/mach-${SUBARCH} -D__KERNEL__ $CPPFLAGS"
|
||||
@ -171,7 +171,7 @@ AC_MSG_RESULT($ac_cv_linux_exports_sys_close)
|
||||
CPPFLAGS="$save_CPPFLAGS"])
|
||||
|
||||
|
||||
AC_DEFUN(LINUX_EXPORTS_SYS_WAIT4, [
|
||||
AC_DEFUN([LINUX_EXPORTS_SYS_WAIT4], [
|
||||
AC_MSG_CHECKING(for exported sys_wait4)
|
||||
save_CPPFLAGS="$CPPFLAGS"
|
||||
CPPFLAGS="-I${LINUX_KERNEL_PATH}/include -I${LINUX_KERNEL_PATH}/include/asm/mach-${SUBARCH} -D__KERNEL__ $CPPFLAGS"
|
||||
@ -188,7 +188,7 @@ AC_MSG_RESULT($ac_cv_linux_exports_sys_wait4)
|
||||
CPPFLAGS="$save_CPPFLAGS"])
|
||||
|
||||
|
||||
AC_DEFUN(LINUX_EXPORTS_TASKLIST_LOCK, [
|
||||
AC_DEFUN([LINUX_EXPORTS_TASKLIST_LOCK], [
|
||||
AC_MSG_CHECKING(for exported tasklist_lock)
|
||||
save_CPPFLAGS="$CPPFLAGS"
|
||||
CPPFLAGS="-I${LINUX_KERNEL_PATH}/include -I${LINUX_KERNEL_PATH}/include/asm/mach-${SUBARCH} -D__KERNEL__ $CPPFLAGS"
|
||||
@ -205,7 +205,7 @@ AC_MSG_RESULT($ac_cv_linux_exports_tasklist_lock)
|
||||
CPPFLAGS="$save_CPPFLAGS"])
|
||||
|
||||
|
||||
AC_DEFUN(LINUX_FS_STRUCT_INODE_HAS_I_CDEV, [
|
||||
AC_DEFUN([LINUX_FS_STRUCT_INODE_HAS_I_CDEV], [
|
||||
AC_MSG_CHECKING(for i_cdev in struct inode)
|
||||
save_CPPFLAGS="$CPPFLAGS"
|
||||
CPPFLAGS="-I${LINUX_KERNEL_PATH}/include -I${LINUX_KERNEL_PATH}/include/asm/mach-${SUBARCH} -D__KERNEL__ $CPPFLAGS"
|
||||
@ -221,7 +221,7 @@ AC_MSG_RESULT($ac_cv_linux_fs_struct_inode_has_i_cdev)
|
||||
CPPFLAGS="$save_CPPFLAGS"])
|
||||
|
||||
|
||||
AC_DEFUN(LINUX_FS_STRUCT_INODE_HAS_I_DEVICES, [
|
||||
AC_DEFUN([LINUX_FS_STRUCT_INODE_HAS_I_DEVICES], [
|
||||
AC_MSG_CHECKING(for i_devices in struct inode)
|
||||
save_CPPFLAGS="$CPPFLAGS"
|
||||
CPPFLAGS="-I${LINUX_KERNEL_PATH}/include -I${LINUX_KERNEL_PATH}/include/asm/mach-${SUBARCH} -D__KERNEL__ $CPPFLAGS"
|
||||
@ -237,7 +237,7 @@ AC_MSG_RESULT($ac_cv_linux_fs_struct_inode_has_i_devices)
|
||||
CPPFLAGS="$save_CPPFLAGS"])
|
||||
|
||||
|
||||
AC_DEFUN(LINUX_FS_STRUCT_INODE_HAS_I_DIRTY_DATA_BUFFERS, [
|
||||
AC_DEFUN([LINUX_FS_STRUCT_INODE_HAS_I_DIRTY_DATA_BUFFERS], [
|
||||
AC_MSG_CHECKING(for i_dirty_data_buffers in struct inode)
|
||||
save_CPPFLAGS="$CPPFLAGS"
|
||||
CPPFLAGS="-I${LINUX_KERNEL_PATH}/include -I${LINUX_KERNEL_PATH}/include/asm/mach-${SUBARCH} -D__KERNEL__ $CPPFLAGS"
|
||||
@ -253,7 +253,7 @@ AC_MSG_RESULT($ac_cv_linux_fs_struct_inode_has_i_dirty_data_buffers)
|
||||
CPPFLAGS="$save_CPPFLAGS"])
|
||||
|
||||
|
||||
AC_DEFUN(LINUX_FS_STRUCT_INODE_HAS_I_MAPPING_OVERLOAD, [
|
||||
AC_DEFUN([LINUX_FS_STRUCT_INODE_HAS_I_MAPPING_OVERLOAD], [
|
||||
AC_MSG_CHECKING(for i_mapping_overload in struct inode)
|
||||
save_CPPFLAGS="$CPPFLAGS"
|
||||
CPPFLAGS="-I${LINUX_KERNEL_PATH}/include -I${LINUX_KERNEL_PATH}/include/asm/mach-${SUBARCH} -D__KERNEL__ $CPPFLAGS"
|
||||
@ -269,7 +269,7 @@ AC_MSG_RESULT($ac_cv_linux_fs_struct_inode_has_i_mapping_overload)
|
||||
CPPFLAGS="$save_CPPFLAGS"])
|
||||
|
||||
|
||||
AC_DEFUN(LINUX_FS_STRUCT_INODE_HAS_I_MMAP_SHARED, [
|
||||
AC_DEFUN([LINUX_FS_STRUCT_INODE_HAS_I_MMAP_SHARED], [
|
||||
AC_MSG_CHECKING(for i_mmap_shared in struct inode)
|
||||
save_CPPFLAGS="$CPPFLAGS"
|
||||
CPPFLAGS="-I${LINUX_KERNEL_PATH}/include -I${LINUX_KERNEL_PATH}/include/asm/mach-${SUBARCH} -D__KERNEL__ $CPPFLAGS"
|
||||
@ -285,7 +285,7 @@ AC_MSG_RESULT($ac_cv_linux_fs_struct_inode_has_i_mmap_shared)
|
||||
CPPFLAGS="$save_CPPFLAGS"])
|
||||
|
||||
|
||||
AC_DEFUN(LINUX_RECALC_SIGPENDING_ARG_TYPE,[
|
||||
AC_DEFUN([LINUX_RECALC_SIGPENDING_ARG_TYPE],[
|
||||
AC_MSG_CHECKING(for recalc_sigpending arg type)
|
||||
save_CPPFLAGS="$CPPFLAGS"
|
||||
CPPFLAGS="-I${LINUX_KERNEL_PATH}/include -I${LINUX_KERNEL_PATH}/include/asm/mach-${SUBARCH} -D__KERNEL__ $CPPFLAGS"
|
||||
@ -300,7 +300,7 @@ AC_MSG_RESULT($ac_cv_linux_func_recalc_sigpending_takes_void)
|
||||
CPPFLAGS="$save_CPPFLAGS"])
|
||||
|
||||
|
||||
AC_DEFUN(LINUX_SCHED_STRUCT_TASK_STRUCT_HAS_PARENT, [
|
||||
AC_DEFUN([LINUX_SCHED_STRUCT_TASK_STRUCT_HAS_PARENT], [
|
||||
AC_MSG_CHECKING(for parent in struct task_struct)
|
||||
save_CPPFLAGS="$CPPFLAGS"
|
||||
CPPFLAGS="-I${LINUX_KERNEL_PATH}/include -I${LINUX_KERNEL_PATH}/include/asm/mach-${SUBARCH} -D__KERNEL__ $CPPFLAGS"
|
||||
@ -316,7 +316,7 @@ AC_MSG_RESULT($ac_cv_linux_sched_struct_task_struct_has_parent)
|
||||
CPPFLAGS="$save_CPPFLAGS"])
|
||||
|
||||
|
||||
AC_DEFUN(LINUX_SCHED_STRUCT_TASK_STRUCT_HAS_REAL_PARENT, [
|
||||
AC_DEFUN([LINUX_SCHED_STRUCT_TASK_STRUCT_HAS_REAL_PARENT], [
|
||||
AC_MSG_CHECKING(for real_parent in struct task_struct)
|
||||
save_CPPFLAGS="$CPPFLAGS"
|
||||
CPPFLAGS="-I${LINUX_KERNEL_PATH}/include -I${LINUX_KERNEL_PATH}/include/asm/mach-${SUBARCH} -D__KERNEL__ $CPPFLAGS"
|
||||
@ -332,7 +332,7 @@ AC_MSG_RESULT($ac_cv_linux_sched_struct_task_struct_has_real_parent)
|
||||
CPPFLAGS="$save_CPPFLAGS"])
|
||||
|
||||
|
||||
AC_DEFUN(LINUX_SCHED_STRUCT_TASK_STRUCT_HAS_SIG, [
|
||||
AC_DEFUN([LINUX_SCHED_STRUCT_TASK_STRUCT_HAS_SIG], [
|
||||
AC_MSG_CHECKING(for sig in struct task_struct)
|
||||
save_CPPFLAGS="$CPPFLAGS"
|
||||
CPPFLAGS="-I${LINUX_KERNEL_PATH}/include -I${LINUX_KERNEL_PATH}/include/asm/mach-${SUBARCH} -D__KERNEL__ $CPPFLAGS"
|
||||
@ -347,7 +347,7 @@ ac_cv_linux_sched_struct_task_struct_has_sig=no)])
|
||||
AC_MSG_RESULT($ac_cv_linux_sched_struct_task_struct_has_sig)
|
||||
CPPFLAGS="$save_CPPFLAGS"])
|
||||
|
||||
AC_DEFUN(LINUX_SCHED_STRUCT_TASK_STRUCT_HAS_SIGMASK_LOCK, [
|
||||
AC_DEFUN([LINUX_SCHED_STRUCT_TASK_STRUCT_HAS_SIGMASK_LOCK], [
|
||||
AC_MSG_CHECKING(for sigmask_lock in struct task_struct)
|
||||
save_CPPFLAGS="$CPPFLAGS"
|
||||
CPPFLAGS="-I${LINUX_KERNEL_PATH}/include -I${LINUX_KERNEL_PATH}/include/asm/mach-${SUBARCH} -D__KERNEL__ $CPPFLAGS"
|
||||
@ -362,7 +362,7 @@ ac_cv_linux_sched_struct_task_struct_has_sigmask_lock=no)])
|
||||
AC_MSG_RESULT($ac_cv_linux_sched_struct_task_struct_has_sigmask_lock)
|
||||
CPPFLAGS="$save_CPPFLAGS"])
|
||||
|
||||
AC_DEFUN(LINUX_SCHED_STRUCT_TASK_STRUCT_HAS_SIGHAND, [
|
||||
AC_DEFUN([LINUX_SCHED_STRUCT_TASK_STRUCT_HAS_SIGHAND], [
|
||||
AC_MSG_CHECKING(for sighand in struct task_struct)
|
||||
save_CPPFLAGS="$CPPFLAGS"
|
||||
CPPFLAGS="-I${LINUX_KERNEL_PATH}/include -I${LINUX_KERNEL_PATH}/include/asm/mach-${SUBARCH} -D__KERNEL__ $CPPFLAGS"
|
||||
|
@ -1,5 +1,5 @@
|
||||
|
||||
AC_DEFUN(OPENAFS_GCC_SUPPORTS_MARCH, [
|
||||
AC_DEFUN([OPENAFS_GCC_SUPPORTS_MARCH], [
|
||||
AC_MSG_CHECKING(if $CC accepts -march=pentium)
|
||||
save_CFLAGS="$CFLAGS"
|
||||
CFLAGS="-MARCH=pentium"
|
||||
@ -18,7 +18,7 @@ fi
|
||||
CFLAGS="$save_CFLAGS"
|
||||
])
|
||||
|
||||
AC_DEFUN(OPENAFS_GCC_NEEDS_NO_STRICT_ALIASING, [
|
||||
AC_DEFUN([OPENAFS_GCC_NEEDS_NO_STRICT_ALIASING], [
|
||||
AC_MSG_CHECKING(if $CC needs -fno-strict-aliasing)
|
||||
save_CFLAGS="$CFLAGS"
|
||||
CFLAGS="-fno-strict-aliasing"
|
||||
@ -35,7 +35,7 @@ fi
|
||||
CFLAGS="$save_CFLAGS"
|
||||
])
|
||||
|
||||
AC_DEFUN(OPENAFS_GCC_NEEDS_NO_STRENGTH_REDUCE, [
|
||||
AC_DEFUN([OPENAFS_GCC_NEEDS_NO_STRENGTH_REDUCE], [
|
||||
AC_MSG_CHECKING(if $CC needs -fno-strength-reduce)
|
||||
save_CFLAGS="$CFLAGS"
|
||||
CFLAGS="-fno-strength-reduce"
|
||||
@ -52,7 +52,7 @@ fi
|
||||
CFLAGS="$save_CFLAGS"
|
||||
])
|
||||
|
||||
AC_DEFUN(OPENAFS_GCC_SUPPORTS_NO_COMMON, [
|
||||
AC_DEFUN([OPENAFS_GCC_SUPPORTS_NO_COMMON], [
|
||||
AC_MSG_CHECKING(if $CC supports -fno-common)
|
||||
save_CFLAGS="$CFLAGS"
|
||||
CFLAGS="-fno-common"
|
||||
@ -69,7 +69,7 @@ fi
|
||||
CFLAGS="$save_CFLAGS"
|
||||
])
|
||||
|
||||
AC_DEFUN(OPENAFS_GCC_SUPPORTS_PIPE, [
|
||||
AC_DEFUN([OPENAFS_GCC_SUPPORTS_PIPE], [
|
||||
AC_MSG_CHECKING(if $CC supports -pipe)
|
||||
save_CFLAGS="$CFLAGS"
|
||||
CFLAGS="-pipe"
|
||||
|
@ -1,5 +1,5 @@
|
||||
|
||||
AC_DEFUN(OPENAFS_OSCONF, [
|
||||
AC_DEFUN([OPENAFS_OSCONF], [
|
||||
|
||||
dnl defaults, override in case below as needed
|
||||
XCFLAGS='${DBG} ${OPTMZ}'
|
||||
|
@ -1,4 +1,4 @@
|
||||
AC_DEFUN(AC_FUNC_RES_SEARCH, [
|
||||
AC_DEFUN([AC_FUNC_RES_SEARCH], [
|
||||
ac_cv_func_res_search=no
|
||||
AC_TRY_LINK([
|
||||
#include <sys/types.h>
|
||||
|
@ -8,7 +8,7 @@ dnl whose digits correspond to the digits in the compiler
|
||||
dnl version. Thus compiler version 4.2.0 is 0x420.
|
||||
dnl
|
||||
|
||||
AC_DEFUN(AC_SOLARIS_CC_GOOD, [
|
||||
AC_DEFUN([AC_SOLARIS_CC_GOOD], [
|
||||
SOLARISCC="$CC"
|
||||
save_CC="$CC"
|
||||
if test "$CC" ; then
|
||||
|
@ -1,4 +1,4 @@
|
||||
AC_DEFUN(SOLARIS_UFSVFS_HAS_DQRWLOCK, [
|
||||
AC_DEFUN([SOLARIS_UFSVFS_HAS_DQRWLOCK], [
|
||||
AC_MSG_CHECKING(for vfs_dqrwlock in struct ufsvfs)
|
||||
AC_CACHE_VAL(ac_cv_solaris_ufsvfs_has_dqrwlock,
|
||||
[
|
||||
|
@ -1,4 +1,4 @@
|
||||
AC_DEFUN(SOLARIS_FS_HAS_FS_ROLLED, [
|
||||
AC_DEFUN([SOLARIS_FS_HAS_FS_ROLLED], [
|
||||
AC_MSG_CHECKING(for fs_rolled in struct proc)
|
||||
AC_CACHE_VAL(ac_cv_solaris_fs_has_fs_rolled,
|
||||
[
|
||||
|
@ -1,4 +1,4 @@
|
||||
AC_DEFUN(SOLARIS_PROC_HAS_P_COREFILE, [
|
||||
AC_DEFUN([SOLARIS_PROC_HAS_P_COREFILE], [
|
||||
AC_MSG_CHECKING(for p_corefile in struct proc)
|
||||
AC_CACHE_VAL(ac_cv_solaris_proc_has_p_corefile,
|
||||
[
|
||||
|
Loading…
Reference in New Issue
Block a user