configure-check-for-timegm-20021001
[openafs.git] / acinclude.m4
index 7b86cd4..55fd5f2 100644 (file)
@@ -140,12 +140,16 @@ case $system in
                 LINUX_FS_STRUCT_INODE_HAS_I_DIRTY_DATA_BUFFERS
                 LINUX_FS_STRUCT_INODE_HAS_I_DEVICES
                 LINUX_INODE_SETATTR_RETURN_TYPE
+                LINUX_COMPLETION_H_EXISTS
                 LINUX_EXPORTS_TASKLIST_LOCK
                 LINUX_NEED_RHCONFIG
                 LINUX_WHICH_MODULES
                 if test "x$ac_cv_linux_exports_tasklist_lock" = "xyes" ; then
                  AC_DEFINE(EXPORTED_TASKLIST_LOCK)
                 fi
+                if test "x$ac_cv_linux_completion_h_exists" = "xyes" ; then
+                 AC_DEFINE(COMPLETION_H_EXISTS)
+                fi
                 if test "x$ac_cv_linux_func_inode_setattr_returns_int" = "xyes" ; then
                  AC_DEFINE(INODE_SETATTR_NOT_VOID)
                 fi
@@ -235,6 +239,9 @@ if test "x$with_afs_sysname" != "x"; then
 else
        AC_MSG_CHECKING(your AFS sysname)
        case $host in
+               i386-unknown-openbsd3.1)
+                       AFS_SYSNAME="i386_obsd31"
+                       ;;
                i?86-*-freebsd4.2*)
                        AFS_SYSNAME="i386_fbsd_42"
                        ;;
@@ -299,6 +306,9 @@ else
                powerpc-apple-darwin6.0*)
                        AFS_SYSNAME="ppc_darwin_60"
                        ;;
+               powerpc-apple-darwin6.1*)
+                       AFS_SYSNAME="ppc_darwin_60"
+                       ;;
                sparc-sun-solaris2.5*)
                        AFS_SYSNAME="sun4x_55"
                        ;;
@@ -332,6 +342,9 @@ else
                alpha*-dec-osf5.0*)
                        AFS_SYSNAME="alpha_dux50"
                        ;;
+               alpha*-dec-osf5.1*)
+                       AFS_SYSNAME="alpha_dux51"
+                       ;;
                mips-sgi-irix6.5)
                        AFS_SYSNAME="sgi_65"
                        ;;
@@ -565,6 +578,8 @@ AC_CHECK_FUNCS(utimes random srandom getdtablesize snprintf re_comp re_exec)
 AC_CHECK_FUNCS(setprogname getprogname sigaction)
 AC_CHECK_TYPE(ssize_t, int)
 
+AC_CHECK_FUNCS(timegm)
+
 dnl Directory PATH handling
 if test "x$enable_transarc_paths" = "xyes"  ; then 
     afsconfdir=${afsconfdir=/usr/afs/etc}