2
# 22 August 2001 Steve Langasek <vorlon@debian.org>
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.
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.
19
# This config.cache file contains a list of acceptable autoconf
20
# values which can be used in compiling Samba for Debian woody/sid.
22
# Autoconf sorts options alphabetically in its output. This file
23
# groups options logically.
26
# Load any architecture-specific settings
27
if [ -n "$DEB_HOST_GNU_TYPE" \
28
-a -f ../debian/config.cache.${DEB_HOST_GNU_TYPE} ]; then
29
. ../debian/config.cache.${DEB_HOST_GNU_TYPE}
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
37
samba_cv_HAVE_KERNEL_OPLOCKS_LINUX=${samba_cv_HAVE_KERNEL_OPLOCKS_LINUX=no}
38
samba_cv_HAVE_KERNEL_CHANGE_NOTIFY=${samba_cv_HAVE_KERNEL_CHANGE_NOTIFY=no}
39
samba_cv_HAVE_KERNEL_SHARE_MODES=${samba_cv_HAVE_KERNEL_SHARE_MODES=no}
42
# These are present in 2.2 kernels, but not in 2.0...
44
samba_cv_have_setresuid=${samba_cv_have_setresuid=yes}
45
samba_cv_have_setresgid=${samba_cv_have_setresgid=yes}
46
samba_cv_USE_SETRESUID=${samba_cv_USE_SETRESUID=yes}
49
# Various basic libc/compiler stuff that it's blindingly obvious that
50
# Linux supports (now watch me get bitten for saying that)
52
ac_cv_c_const=${ac_cv_c_const=yes}
53
ac_cv_c_inline=${ac_cv_c_inline=inline}
54
samba_cv_volatile=${samba_cv_volatile=yes}
55
ac_cv_dirent_d_off=${ac_cv_dirent_d_off=yes}
56
ac_cv_func_bzero=${ac_cv_func_bzero=yes}
57
ac_cv_func_chmod=${ac_cv_func_chmod=yes}
58
ac_cv_func_chown=${ac_cv_func_chown=yes}
59
ac_cv_func_chroot=${ac_cv_func_chroot=yes}
60
ac_cv_func_connect=${ac_cv_func_connect=yes}
61
ac_cv_func_dup2=${ac_cv_func_dup2=yes}
62
ac_cv_func_execl=${ac_cv_func_execl=yes}
63
ac_cv_func_fchmod=${ac_cv_func_fchmod=yes}
64
ac_cv_func_fchown=${ac_cv_func_fchown=yes}
65
ac_cv_func_fstat=${ac_cv_func_fstat=yes}
66
ac_cv_func_fsync=${ac_cv_func_fsync=yes}
67
ac_cv_func_ftruncate=${ac_cv_func_ftruncate=yes}
68
ac_cv_func_getcwd=${ac_cv_func_getcwd=yes}
69
ac_cv_func_getgrent=${ac_cv_func_getgrent=yes}
70
ac_cv_func_getgrnam=${ac_cv_func_getgrnam=yes}
71
ac_cv_func_getspnam=${ac_cv_func_getspnam=yes}
72
ac_cv_func_glob=${ac_cv_func_glob=yes}
73
ac_cv_func_grantpt=${ac_cv_func_grantpt=yes}
74
ac_cv_func_initgroups=${ac_cv_func_initgroups=yes}
75
ac_cv_func_llseek=${ac_cv_func_llseek=yes}
76
ac_cv_func_memcmp_clean=${ac_cv_func_memcmp_clean=yes}
77
ac_cv_func_memmove=${ac_cv_func_memmove=yes}
78
ac_cv_func_memset=${ac_cv_func_memset=yes}
79
ac_cv_func_mktime=${ac_cv_func_mktime=yes}
80
ac_cv_func_pipe=${ac_cv_func_pipe=yes}
81
ac_cv_func_poll=${ac_cv_func_poll=yes}
82
ac_cv_func_pread=${ac_cv_func_pread=yes}
83
ac_cv_func_pwrite=${ac_cv_func_pwrite=yes}
84
ac_cv_func_rand=${ac_cv_func_rand=yes}
85
ac_cv_func_random=${ac_cv_func_random=yes}
86
ac_cv_func_readlink=${ac_cv_func_readlink=yes}
87
ac_cv_func_rename=${ac_cv_func_rename=yes}
88
ac_cv_func_select=${ac_cv_func_select=yes}
89
ac_cv_func_setenv=${ac_cv_func_setenv=yes}
90
ac_cv_func_setgroups=${ac_cv_func_setgroups=yes}
91
ac_cv_func_setsid=${ac_cv_func_setsid=yes}
92
ac_cv_func_sigaction=${ac_cv_func_sigaction=yes}
93
ac_cv_func_sigblock=${ac_cv_func_sigblock=yes}
94
ac_cv_func_sigprocmask=${ac_cv_func_sigprocmask=yes}
95
ac_cv_func_snprintf=${ac_cv_func_snprintf=yes}
96
ac_cv_func_srand=${ac_cv_func_srand=yes}
97
ac_cv_func_srandom=${ac_cv_func_srandom=yes}
98
ac_cv_func_strcasecmp=${ac_cv_func_strcasecmp=yes}
99
ac_cv_func_strchr=${ac_cv_func_strchr=yes}
100
ac_cv_func_strdup=${ac_cv_func_strdup=yes}
101
ac_cv_func_strerror=${ac_cv_func_strerror=yes}
102
ac_cv_func_strftime=${ac_cv_func_strftime=yes}
103
ac_cv_func_strpbrk=${ac_cv_func_strpbrk=yes}
104
ac_cv_func_strtoul=${ac_cv_func_strtoul=yes}
105
ac_cv_func_symlink=${ac_cv_func_symlink=yes}
106
ac_cv_func_usleep=${ac_cv_func_usleep=yes}
107
ac_cv_func_utime=${ac_cv_func_utime=yes}
108
ac_cv_func_utimes=${ac_cv_func_utimes=yes}
109
ac_cv_func_vsnprintf=${ac_cv_func_vsnprintf=yes}
110
ac_cv_func_waitpid=${ac_cv_func_waitpid=yes}
111
ac_cv_type_ino_t=${ac_cv_type_ino_t=yes}
112
ac_cv_type_mode_t=${ac_cv_type_mode_t=yes}
113
ac_cv_type_pid_t=${ac_cv_type_pid_t=yes}
114
ac_cv_type_size_t=${ac_cv_type_size_t=yes}
115
ac_cv_type_uid_t=${ac_cv_type_uid_t=yes}
116
samba_cv_socklen_t=${samba_cv_socklen_t=yes}
118
# Yes, we know Linux supports fcntl locking. Just ignore
119
# any errors caused by building on an NFS mount.
120
samba_cv_HAVE_FCNTL_LOCK=${samba_cv_HAVE_FCNTL_LOCK=yes}
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.
127
ac_cv_func___chdir=${ac_cv_func___chdir=no}
128
ac_cv_func__chdir=${ac_cv_func__chdir=no}
129
ac_cv_func___close=${ac_cv_func___close=no}
130
ac_cv_func__close=${ac_cv_func__close=no}
131
ac_cv_func___closedir=${ac_cv_func___closedir=no}
132
ac_cv_func__closedir=${ac_cv_func__closedir=no}
133
ac_cv_func___dup=${ac_cv_func___dup=no}
134
ac_cv_func__dup=${ac_cv_func__dup=no}
135
ac_cv_func___dup2=${ac_cv_func___dup2=no}
136
ac_cv_func__dup2=${ac_cv_func__dup2=no}
137
ac_cv_func___fchdir=${ac_cv_func___fchdir=no}
138
ac_cv_func__fchdir=${ac_cv_func__fchdir=no}
139
ac_cv_func___fcntl=${ac_cv_func___fcntl=no}
140
ac_cv_func__fcntl=${ac_cv_func__fcntl=no}
141
ac_cv_func___fork=${ac_cv_func___fork=no}
142
ac_cv_func__fork=${ac_cv_func__fork=no}
143
ac_cv_func___fstat=${ac_cv_func___fstat=no}
144
ac_cv_func__fstat=${ac_cv_func__fstat=no}
145
ac_cv_func___fstat64=${ac_cv_func___fstat64=no}
146
ac_cv_func__fstat64=${ac_cv_func__fstat64=no}
147
ac_cv_func___fxstat=${ac_cv_func___fxstat=no}
148
ac_cv_func___getcwd=${ac_cv_func___getcwd=no}
149
ac_cv_func__getcwd=${ac_cv_func__getcwd=no}
150
ac_cv_func___getdents=${ac_cv_func___getdents=no}
151
ac_cv_func__getdents=${ac_cv_func__getdents=no}
152
ac_cv_func___llseek=${ac_cv_func___llseek=no}
153
ac_cv_func___sys_llseek=${ac_cv_func___sys_llseek=no}
154
ac_cv_func__llseek=${ac_cv_func__llseek=no}
155
ac_cv_func___lseek=${ac_cv_func___lseek=no}
156
ac_cv_func__lseek=${ac_cv_func__lseek=no}
157
ac_cv_func___lstat=${ac_cv_func___lstat=no}
158
ac_cv_func__lstat=${ac_cv_func__lstat=no}
159
ac_cv_func___lstat64=${ac_cv_func___lstat64=no}
160
ac_cv_func__lstat64=${ac_cv_func__lstat64=no}
161
ac_cv_func___lxstat=${ac_cv_func___lxstat=no}
162
ac_cv_func___open=${ac_cv_func___open=no}
163
ac_cv_func__open=${ac_cv_func__open=no}
164
ac_cv_func___open64=${ac_cv_func___open64=no}
165
ac_cv_func__open64=${ac_cv_func__open64=no}
166
ac_cv_func___opendir=${ac_cv_func___opendir=no}
167
ac_cv_func__opendir=${ac_cv_func__opendir=no}
168
ac_cv_func___pread=${ac_cv_func___pread=no}
169
ac_cv_func__pread=${ac_cv_func__pread=no}
170
ac_cv_func___pread64=${ac_cv_func___pread64=no}
171
ac_cv_func__pread64=${ac_cv_func__pread64=no}
172
ac_cv_func___pwrite=${ac_cv_func___pwrite=no}
173
ac_cv_func__pwrite=${ac_cv_func__pwrite=no}
174
ac_cv_func___pwrite64=${ac_cv_func___pwrite64=no}
175
ac_cv_func__pwrite64=${ac_cv_func__pwrite64=no}
176
ac_cv_func___read=${ac_cv_func___read=no}
177
ac_cv_func__read=${ac_cv_func__read=no}
178
ac_cv_func___readdir=${ac_cv_func___readdir=no}
179
ac_cv_func__readdir=${ac_cv_func__readdir=no}
180
ac_cv_func___readdir64=${ac_cv_func___readdir64=no}
181
ac_cv_func__readdir64=${ac_cv_func__readdir64=no}
182
ac_cv_func___seekdir=${ac_cv_func___seekdir=no}
183
ac_cv_func__seekdir=${ac_cv_func__seekdir=no}
184
ac_cv_func___stat=${ac_cv_func___stat=no}
185
ac_cv_func__stat=${ac_cv_func__stat=no}
186
ac_cv_func___stat64=${ac_cv_func___stat64=no}
187
ac_cv_func__stat64=${ac_cv_func__stat64=no}
188
ac_cv_func___telldir=${ac_cv_func___telldir=no}
189
ac_cv_func__telldir=${ac_cv_func__telldir=no}
190
ac_cv_func___write=${ac_cv_func___write=no}
191
ac_cv_func__write=${ac_cv_func__write=no}
192
ac_cv_func___xstat=${ac_cv_func___xstat=no}
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.
200
ac_cv_func_bigcrypt=${ac_cv_func_bigcrypt=no}
201
ac_cv_func_crypt16=${ac_cv_func_crypt16=no}
202
ac_cv_func_getauthuid=${ac_cv_func_getauthuid=no}
203
ac_cv_func_getprpwnam=${ac_cv_func_getprpwnam=no}
204
ac_cv_func_getpwanam=${ac_cv_func_getpwanam=no}
205
ac_cv_func_putprpwnam=${ac_cv_func_putprpwnam=no}
206
ac_cv_func_rdchk=${ac_cv_func_rdchk=no}
207
ac_cv_func_set_auth_parameters=${ac_cv_func_set_auth_parameters=no}
208
ac_cv_func_setgidx=${ac_cv_func_setgidx=no}
209
ac_cv_func_setluid=${ac_cv_func_setluid=no}
210
ac_cv_func_setpriv=${ac_cv_func_setpriv=no}
211
ac_cv_func_setuidx=${ac_cv_func_setuidx=no}
212
ac_cv_lib_sec_bigcrypt=${ac_cv_lib_sec_bigcrypt=no}
213
ac_cv_lib_sec_getprpwnam=${ac_cv_lib_sec_getprpwnam=no}
214
ac_cv_lib_sec_getspnam=${ac_cv_lib_sec_getspnam=no}
215
ac_cv_lib_sec_putprpwnam=${ac_cv_lib_sec_putprpwnam=no}
216
ac_cv_lib_sec_set_auth_parameters=${ac_cv_lib_sec_set_auth_parameters=no}
217
ac_cv_lib_security_bigcrypt=${ac_cv_lib_security_bigcrypt=no}
218
ac_cv_lib_security_getprpwnam=${ac_cv_lib_security_getprpwnam=no}
219
ac_cv_lib_security_getspnam=${ac_cv_lib_security_getspnam=no}
220
ac_cv_lib_security_putprpwnam=${ac_cv_lib_security_putprpwnam=no}
221
ac_cv_lib_security_set_auth_parameters=${ac_cv_lib_security_set_auth_parameters=no}