1# 2# 22 August 2001 Steve Langasek <vorlon@debian.org> 3# 4# This file is a shell script that caches the results of configure 5# tests run on this system so they can be shared between configure 6# scripts and configure runs. It is not useful on other systems. 7# If it contains results you don't want to keep, you may remove or edit it. 8# 9# By default, configure uses ./config.cache as the cache file, 10# creating it if it does not exist already. You can give configure 11# the --cache-file=FILE option to use a different cache file; that is 12# what configure does when it calls configure scripts in 13# subdirectories, so they share the cache. 14# Giving --cache-file=/dev/null disables caching, for debugging configure. 15# config.status only pays attention to the cache file if you give it the 16# --recheck option to rerun configure. 17# 18# 19# This config.cache file contains a list of acceptable autoconf 20# values which can be used in compiling Samba for Debian woody/sid. 21# 22# Autoconf sorts options alphabetically in its output. This file 23# groups options logically. 24 25 26# Load any architecture-specific settings 27if [ -n "$DEB_HOST_GNU_TYPE" \ 28 -a -f ../debian/config.cache.${DEB_HOST_GNU_TYPE} ]; then 29 . ../debian/config.cache.${DEB_HOST_GNU_TYPE} 30fi 31 32 33# This is at the top because it's most in need of regular tweaking. 34# These are options which are supported on 2.4 kernels, but not on 2.2 35# kernels. 36 37samba_cv_HAVE_KERNEL_OPLOCKS_LINUX=${samba_cv_HAVE_KERNEL_OPLOCKS_LINUX=no} 38samba_cv_HAVE_KERNEL_CHANGE_NOTIFY=${samba_cv_HAVE_KERNEL_CHANGE_NOTIFY=no} 39samba_cv_HAVE_KERNEL_SHARE_MODES=${samba_cv_HAVE_KERNEL_SHARE_MODES=no} 40 41 42# These are present in 2.2 kernels, but not in 2.0... 43 44samba_cv_have_setresuid=${samba_cv_have_setresuid=yes} 45samba_cv_have_setresgid=${samba_cv_have_setresgid=yes} 46samba_cv_USE_SETRESUID=${samba_cv_USE_SETRESUID=yes} 47 48 49# Various basic libc/compiler stuff that it's blindingly obvious that 50# Linux supports (now watch me get bitten for saying that) 51 52ac_cv_c_const=${ac_cv_c_const=yes} 53ac_cv_c_inline=${ac_cv_c_inline=inline} 54samba_cv_volatile=${samba_cv_volatile=yes} 55ac_cv_dirent_d_off=${ac_cv_dirent_d_off=yes} 56ac_cv_func_bzero=${ac_cv_func_bzero=yes} 57ac_cv_func_chmod=${ac_cv_func_chmod=yes} 58ac_cv_func_chown=${ac_cv_func_chown=yes} 59ac_cv_func_chroot=${ac_cv_func_chroot=yes} 60ac_cv_func_connect=${ac_cv_func_connect=yes} 61ac_cv_func_dup2=${ac_cv_func_dup2=yes} 62ac_cv_func_execl=${ac_cv_func_execl=yes} 63ac_cv_func_fchmod=${ac_cv_func_fchmod=yes} 64ac_cv_func_fchown=${ac_cv_func_fchown=yes} 65ac_cv_func_fstat=${ac_cv_func_fstat=yes} 66ac_cv_func_fsync=${ac_cv_func_fsync=yes} 67ac_cv_func_ftruncate=${ac_cv_func_ftruncate=yes} 68ac_cv_func_getcwd=${ac_cv_func_getcwd=yes} 69ac_cv_func_getgrent=${ac_cv_func_getgrent=yes} 70ac_cv_func_getgrnam=${ac_cv_func_getgrnam=yes} 71ac_cv_func_getspnam=${ac_cv_func_getspnam=yes} 72ac_cv_func_glob=${ac_cv_func_glob=yes} 73ac_cv_func_grantpt=${ac_cv_func_grantpt=yes} 74ac_cv_func_initgroups=${ac_cv_func_initgroups=yes} 75ac_cv_func_llseek=${ac_cv_func_llseek=yes} 76ac_cv_func_memcmp_clean=${ac_cv_func_memcmp_clean=yes} 77ac_cv_func_memmove=${ac_cv_func_memmove=yes} 78ac_cv_func_memset=${ac_cv_func_memset=yes} 79ac_cv_func_mktime=${ac_cv_func_mktime=yes} 80ac_cv_func_pipe=${ac_cv_func_pipe=yes} 81ac_cv_func_poll=${ac_cv_func_poll=yes} 82ac_cv_func_pread=${ac_cv_func_pread=yes} 83ac_cv_func_pwrite=${ac_cv_func_pwrite=yes} 84ac_cv_func_rand=${ac_cv_func_rand=yes} 85ac_cv_func_random=${ac_cv_func_random=yes} 86ac_cv_func_readlink=${ac_cv_func_readlink=yes} 87ac_cv_func_rename=${ac_cv_func_rename=yes} 88ac_cv_func_select=${ac_cv_func_select=yes} 89ac_cv_func_setenv=${ac_cv_func_setenv=yes} 90ac_cv_func_setgroups=${ac_cv_func_setgroups=yes} 91ac_cv_func_setsid=${ac_cv_func_setsid=yes} 92ac_cv_func_sigaction=${ac_cv_func_sigaction=yes} 93ac_cv_func_sigblock=${ac_cv_func_sigblock=yes} 94ac_cv_func_sigprocmask=${ac_cv_func_sigprocmask=yes} 95ac_cv_func_snprintf=${ac_cv_func_snprintf=yes} 96ac_cv_func_srand=${ac_cv_func_srand=yes} 97ac_cv_func_srandom=${ac_cv_func_srandom=yes} 98ac_cv_func_strcasecmp=${ac_cv_func_strcasecmp=yes} 99ac_cv_func_strchr=${ac_cv_func_strchr=yes} 100ac_cv_func_strdup=${ac_cv_func_strdup=yes} 101ac_cv_func_strerror=${ac_cv_func_strerror=yes} 102ac_cv_func_strftime=${ac_cv_func_strftime=yes} 103ac_cv_func_strpbrk=${ac_cv_func_strpbrk=yes} 104ac_cv_func_strtoul=${ac_cv_func_strtoul=yes} 105ac_cv_func_symlink=${ac_cv_func_symlink=yes} 106ac_cv_func_usleep=${ac_cv_func_usleep=yes} 107ac_cv_func_utime=${ac_cv_func_utime=yes} 108ac_cv_func_utimes=${ac_cv_func_utimes=yes} 109ac_cv_func_vsnprintf=${ac_cv_func_vsnprintf=yes} 110ac_cv_func_waitpid=${ac_cv_func_waitpid=yes} 111ac_cv_type_ino_t=${ac_cv_type_ino_t=yes} 112ac_cv_type_mode_t=${ac_cv_type_mode_t=yes} 113ac_cv_type_pid_t=${ac_cv_type_pid_t=yes} 114ac_cv_type_size_t=${ac_cv_type_size_t=yes} 115ac_cv_type_uid_t=${ac_cv_type_uid_t=yes} 116samba_cv_socklen_t=${samba_cv_socklen_t=yes} 117 118# Yes, we know Linux supports fcntl locking. Just ignore 119# any errors caused by building on an NFS mount. 120samba_cv_HAVE_FCNTL_LOCK=${samba_cv_HAVE_FCNTL_LOCK=yes} 121 122 123# smbwrapper doesn't work because the glibc maintainers don't want 124# to support transparent userland VFS. We might as well preempt 125# any checks for shadowed symbols that are only useful for smbwrapper. 126 127ac_cv_func___chdir=${ac_cv_func___chdir=no} 128ac_cv_func__chdir=${ac_cv_func__chdir=no} 129ac_cv_func___close=${ac_cv_func___close=no} 130ac_cv_func__close=${ac_cv_func__close=no} 131ac_cv_func___closedir=${ac_cv_func___closedir=no} 132ac_cv_func__closedir=${ac_cv_func__closedir=no} 133ac_cv_func___dup=${ac_cv_func___dup=no} 134ac_cv_func__dup=${ac_cv_func__dup=no} 135ac_cv_func___dup2=${ac_cv_func___dup2=no} 136ac_cv_func__dup2=${ac_cv_func__dup2=no} 137ac_cv_func___fchdir=${ac_cv_func___fchdir=no} 138ac_cv_func__fchdir=${ac_cv_func__fchdir=no} 139ac_cv_func___fcntl=${ac_cv_func___fcntl=no} 140ac_cv_func__fcntl=${ac_cv_func__fcntl=no} 141ac_cv_func___fork=${ac_cv_func___fork=no} 142ac_cv_func__fork=${ac_cv_func__fork=no} 143ac_cv_func___fstat=${ac_cv_func___fstat=no} 144ac_cv_func__fstat=${ac_cv_func__fstat=no} 145ac_cv_func___fstat64=${ac_cv_func___fstat64=no} 146ac_cv_func__fstat64=${ac_cv_func__fstat64=no} 147ac_cv_func___fxstat=${ac_cv_func___fxstat=no} 148ac_cv_func___getcwd=${ac_cv_func___getcwd=no} 149ac_cv_func__getcwd=${ac_cv_func__getcwd=no} 150ac_cv_func___getdents=${ac_cv_func___getdents=no} 151ac_cv_func__getdents=${ac_cv_func__getdents=no} 152ac_cv_func___llseek=${ac_cv_func___llseek=no} 153ac_cv_func___sys_llseek=${ac_cv_func___sys_llseek=no} 154ac_cv_func__llseek=${ac_cv_func__llseek=no} 155ac_cv_func___lseek=${ac_cv_func___lseek=no} 156ac_cv_func__lseek=${ac_cv_func__lseek=no} 157ac_cv_func___lstat=${ac_cv_func___lstat=no} 158ac_cv_func__lstat=${ac_cv_func__lstat=no} 159ac_cv_func___lstat64=${ac_cv_func___lstat64=no} 160ac_cv_func__lstat64=${ac_cv_func__lstat64=no} 161ac_cv_func___lxstat=${ac_cv_func___lxstat=no} 162ac_cv_func___open=${ac_cv_func___open=no} 163ac_cv_func__open=${ac_cv_func__open=no} 164ac_cv_func___open64=${ac_cv_func___open64=no} 165ac_cv_func__open64=${ac_cv_func__open64=no} 166ac_cv_func___opendir=${ac_cv_func___opendir=no} 167ac_cv_func__opendir=${ac_cv_func__opendir=no} 168ac_cv_func___pread=${ac_cv_func___pread=no} 169ac_cv_func__pread=${ac_cv_func__pread=no} 170ac_cv_func___pread64=${ac_cv_func___pread64=no} 171ac_cv_func__pread64=${ac_cv_func__pread64=no} 172ac_cv_func___pwrite=${ac_cv_func___pwrite=no} 173ac_cv_func__pwrite=${ac_cv_func__pwrite=no} 174ac_cv_func___pwrite64=${ac_cv_func___pwrite64=no} 175ac_cv_func__pwrite64=${ac_cv_func__pwrite64=no} 176ac_cv_func___read=${ac_cv_func___read=no} 177ac_cv_func__read=${ac_cv_func__read=no} 178ac_cv_func___readdir=${ac_cv_func___readdir=no} 179ac_cv_func__readdir=${ac_cv_func__readdir=no} 180ac_cv_func___readdir64=${ac_cv_func___readdir64=no} 181ac_cv_func__readdir64=${ac_cv_func__readdir64=no} 182ac_cv_func___seekdir=${ac_cv_func___seekdir=no} 183ac_cv_func__seekdir=${ac_cv_func__seekdir=no} 184ac_cv_func___stat=${ac_cv_func___stat=no} 185ac_cv_func__stat=${ac_cv_func__stat=no} 186ac_cv_func___stat64=${ac_cv_func___stat64=no} 187ac_cv_func__stat64=${ac_cv_func__stat64=no} 188ac_cv_func___telldir=${ac_cv_func___telldir=no} 189ac_cv_func__telldir=${ac_cv_func__telldir=no} 190ac_cv_func___write=${ac_cv_func___write=no} 191ac_cv_func__write=${ac_cv_func__write=no} 192ac_cv_func___xstat=${ac_cv_func___xstat=no} 193 194 195 196# Miscellaneous stuff that isn't, and shouldn't be, available 197# in Debian. Those interested in building debs for other systems may 198# need to remove some of these defines. 199 200ac_cv_func_bigcrypt=${ac_cv_func_bigcrypt=no} 201ac_cv_func_crypt16=${ac_cv_func_crypt16=no} 202ac_cv_func_getauthuid=${ac_cv_func_getauthuid=no} 203ac_cv_func_getprpwnam=${ac_cv_func_getprpwnam=no} 204ac_cv_func_getpwanam=${ac_cv_func_getpwanam=no} 205ac_cv_func_putprpwnam=${ac_cv_func_putprpwnam=no} 206ac_cv_func_rdchk=${ac_cv_func_rdchk=no} 207ac_cv_func_set_auth_parameters=${ac_cv_func_set_auth_parameters=no} 208ac_cv_func_setgidx=${ac_cv_func_setgidx=no} 209ac_cv_func_setluid=${ac_cv_func_setluid=no} 210ac_cv_func_setpriv=${ac_cv_func_setpriv=no} 211ac_cv_func_setuidx=${ac_cv_func_setuidx=no} 212ac_cv_lib_sec_bigcrypt=${ac_cv_lib_sec_bigcrypt=no} 213ac_cv_lib_sec_getprpwnam=${ac_cv_lib_sec_getprpwnam=no} 214ac_cv_lib_sec_getspnam=${ac_cv_lib_sec_getspnam=no} 215ac_cv_lib_sec_putprpwnam=${ac_cv_lib_sec_putprpwnam=no} 216ac_cv_lib_sec_set_auth_parameters=${ac_cv_lib_sec_set_auth_parameters=no} 217ac_cv_lib_security_bigcrypt=${ac_cv_lib_security_bigcrypt=no} 218ac_cv_lib_security_getprpwnam=${ac_cv_lib_security_getprpwnam=no} 219ac_cv_lib_security_getspnam=${ac_cv_lib_security_getspnam=no} 220ac_cv_lib_security_putprpwnam=${ac_cv_lib_security_putprpwnam=no} 221ac_cv_lib_security_set_auth_parameters=${ac_cv_lib_security_set_auth_parameters=no} 222