42717
for ac_func in strupr
42719
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42720
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
42721
$as_echo_n "checking for $ac_func... " >&6; }
42722
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42723
$as_echo_n "(cached) " >&6
42725
cat >conftest.$ac_ext <<_ACEOF
42728
cat confdefs.h >>conftest.$ac_ext
42729
cat >>conftest.$ac_ext <<_ACEOF
42730
/* end confdefs.h. */
42731
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42732
For example, HP-UX 11i <limits.h> declares gettimeofday. */
42733
#define $ac_func innocuous_$ac_func
42735
/* System header to define __stub macros and hopefully few prototypes,
42736
which can conflict with char $ac_func (); below.
42737
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42738
<limits.h> exists even on freestanding compilers. */
42741
# include <limits.h>
42743
# include <assert.h>
42748
/* Override any GCC internal prototype to avoid an error.
42749
Use char because int might match the return type of a GCC
42750
builtin and then its argument prototype would still apply. */
42755
/* The GNU C library defines this for functions which it implements
42756
to always fail with ENOSYS. Some functions are actually named
42757
something starting with __ and the normal name is an alias. */
42758
#if defined __stub_$ac_func || defined __stub___$ac_func
42765
return $ac_func ();
42770
rm -f conftest.$ac_objext conftest$ac_exeext
42771
if { (ac_try="$ac_link"
42772
case "(($ac_try" in
42773
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42774
*) ac_try_echo=$ac_try;;
42776
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
42777
$as_echo "$ac_try_echo") >&5
42778
(eval "$ac_link") 2>conftest.er1
42780
grep -v '^ *+' conftest.er1 >conftest.err
42782
cat conftest.err >&5
42783
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
42784
(exit $ac_status); } && {
42785
test -z "$ac_c_werror_flag" ||
42786
test ! -s conftest.err
42787
} && test -s conftest$ac_exeext && {
42788
test "$cross_compiling" = yes ||
42789
$as_test_x conftest$ac_exeext
42791
eval "$as_ac_var=yes"
42793
$as_echo "$as_me: failed program was:" >&5
42794
sed 's/^/| /' conftest.$ac_ext >&5
42796
eval "$as_ac_var=no"
42799
rm -rf conftest.dSYM
42800
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42801
conftest$ac_exeext conftest.$ac_ext
42803
ac_res=`eval 'as_val=${'$as_ac_var'}
42804
$as_echo "$as_val"'`
42805
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
42806
$as_echo "$ac_res" >&6; }
42807
as_val=`eval 'as_val=${'$as_ac_var'}
42808
$as_echo "$as_val"'`
42809
if test "x$as_val" = x""yes; then
42810
cat >>confdefs.h <<_ACEOF
42811
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42717
42818
# Find a method of generating a stack trace
43239
printf "%s" "checking for GPFS GPL libs... "
43241
LIBS="$LIBS -lgpfs_gpl"
43242
cat >conftest.$ac_ext <<_ACEOF
43245
cat confdefs.h >>conftest.$ac_ext
43246
cat >>conftest.$ac_ext <<_ACEOF
43247
/* end confdefs.h. */
43248
#include <gpfs_gpl.h>
43252
gpfs_set_share(0,GPFS_SHARE_READ,GPFS_DENY_NONE)
43257
rm -f conftest.$ac_objext conftest$ac_exeext
43258
if { (ac_try="$ac_link"
43259
case "(($ac_try" in
43260
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43261
*) ac_try_echo=$ac_try;;
43263
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
43264
$as_echo "$ac_try_echo") >&5
43265
(eval "$ac_link") 2>conftest.er1
43267
grep -v '^ *+' conftest.er1 >conftest.err
43269
cat conftest.err >&5
43270
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
43271
(exit $ac_status); } && {
43272
test -z "$ac_c_werror_flag" ||
43273
test ! -s conftest.err
43274
} && test -s conftest$ac_exeext && {
43275
test "$cross_compiling" = yes ||
43276
$as_test_x conftest$ac_exeext
43278
samba_cv_HAVE_GPFS=yes
43280
$as_echo "$as_me: failed program was:" >&5
43281
sed 's/^/| /' conftest.$ac_ext >&5
43283
samba_cv_HAVE_GPFS=no
43286
rm -rf conftest.dSYM
43287
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43288
conftest$ac_exeext conftest.$ac_ext
43289
echo $samba_cv_HAVE_GPFS
43290
if test x"$samba_cv_HAVE_GPFS" = x"yes"; then
43292
cat >>confdefs.h <<\_ACEOF
43293
#define HAVE_GPFS 1
43296
default_shared_modules="$default_shared_modules vfs_gpfs"
43300
printf "%s" "checking for GPFS libs (with 3.2.1 PTF8 available as GPL)... "
43302
LIBS="$LIBS -lgpfs"
43303
cat >conftest.$ac_ext <<_ACEOF
43306
cat confdefs.h >>conftest.$ac_ext
43307
cat >>conftest.$ac_ext <<_ACEOF
43308
/* end confdefs.h. */
43313
gpfs_set_share(0,GPFS_SHARE_READ,GPFS_DENY_NONE)
43318
rm -f conftest.$ac_objext conftest$ac_exeext
43319
if { (ac_try="$ac_link"
43320
case "(($ac_try" in
43321
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43322
*) ac_try_echo=$ac_try;;
43324
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
43325
$as_echo "$ac_try_echo") >&5
43326
(eval "$ac_link") 2>conftest.er1
43328
grep -v '^ *+' conftest.er1 >conftest.err
43330
cat conftest.err >&5
43331
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
43332
(exit $ac_status); } && {
43333
test -z "$ac_c_werror_flag" ||
43334
test ! -s conftest.err
43335
} && test -s conftest$ac_exeext && {
43336
test "$cross_compiling" = yes ||
43337
$as_test_x conftest$ac_exeext
43339
samba_cv_HAVE_GPFS=yes
43341
$as_echo "$as_me: failed program was:" >&5
43342
sed 's/^/| /' conftest.$ac_ext >&5
43344
samba_cv_HAVE_GPFS=no
43347
rm -rf conftest.dSYM
43348
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43349
conftest$ac_exeext conftest.$ac_ext
43350
echo $samba_cv_HAVE_GPFS
43351
if test x"$samba_cv_HAVE_GPFS" = x"yes"; then
43353
cat >>confdefs.h <<\_ACEOF
43354
#define HAVE_GPFS 1
43357
default_shared_modules="$default_shared_modules vfs_gpfs"
43340
#############################
43341
# check if building with gpfs
43343
for ac_header in gpfs_gpl.h
43345
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
43346
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43347
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
43348
$as_echo_n "checking for $ac_header... " >&6; }
43349
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43350
$as_echo_n "(cached) " >&6
43352
ac_res=`eval 'as_val=${'$as_ac_Header'}
43353
$as_echo "$as_val"'`
43354
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
43355
$as_echo "$ac_res" >&6; }
43357
# Is the header compilable?
43358
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
43359
$as_echo_n "checking $ac_header usability... " >&6; }
43360
cat >conftest.$ac_ext <<_ACEOF
43363
cat confdefs.h >>conftest.$ac_ext
43364
cat >>conftest.$ac_ext <<_ACEOF
43365
/* end confdefs.h. */
43366
$ac_includes_default
43367
#include <$ac_header>
43369
rm -f conftest.$ac_objext
43370
if { (ac_try="$ac_compile"
43371
case "(($ac_try" in
43372
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43373
*) ac_try_echo=$ac_try;;
43375
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
43376
$as_echo "$ac_try_echo") >&5
43377
(eval "$ac_compile") 2>conftest.er1
43379
grep -v '^ *+' conftest.er1 >conftest.err
43381
cat conftest.err >&5
43382
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
43383
(exit $ac_status); } && {
43384
test -z "$ac_c_werror_flag" ||
43385
test ! -s conftest.err
43386
} && test -s conftest.$ac_objext; then
43387
ac_header_compiler=yes
43389
$as_echo "$as_me: failed program was:" >&5
43390
sed 's/^/| /' conftest.$ac_ext >&5
43392
ac_header_compiler=no
43395
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43396
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
43397
$as_echo "$ac_header_compiler" >&6; }
43399
# Is the header present?
43400
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
43401
$as_echo_n "checking $ac_header presence... " >&6; }
43402
cat >conftest.$ac_ext <<_ACEOF
43405
cat confdefs.h >>conftest.$ac_ext
43406
cat >>conftest.$ac_ext <<_ACEOF
43407
/* end confdefs.h. */
43408
#include <$ac_header>
43410
if { (ac_try="$ac_cpp conftest.$ac_ext"
43411
case "(($ac_try" in
43412
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43413
*) ac_try_echo=$ac_try;;
43415
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
43416
$as_echo "$ac_try_echo") >&5
43417
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
43419
grep -v '^ *+' conftest.er1 >conftest.err
43421
cat conftest.err >&5
43422
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
43423
(exit $ac_status); } >/dev/null && {
43424
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
43425
test ! -s conftest.err
43427
ac_header_preproc=yes
43429
$as_echo "$as_me: failed program was:" >&5
43430
sed 's/^/| /' conftest.$ac_ext >&5
43432
ac_header_preproc=no
43435
rm -f conftest.err conftest.$ac_ext
43436
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
43437
$as_echo "$ac_header_preproc" >&6; }
43439
# So? What about this header?
43440
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
43442
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
43443
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
43444
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
43445
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
43446
ac_header_preproc=yes
43449
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
43450
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
43451
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
43452
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
43453
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
43454
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
43455
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
43456
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
43457
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
43458
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
43459
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
43460
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
43462
## ---------------------------------------- ##
43463
## Report this to samba-technical@samba.org ##
43464
## ---------------------------------------- ##
43466
) | sed "s/^/$as_me: WARNING: /" >&2
43469
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
43470
$as_echo_n "checking for $ac_header... " >&6; }
43471
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43472
$as_echo_n "(cached) " >&6
43474
eval "$as_ac_Header=\$ac_header_preproc"
43476
ac_res=`eval 'as_val=${'$as_ac_Header'}
43477
$as_echo "$as_val"'`
43478
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
43479
$as_echo "$ac_res" >&6; }
43482
as_val=`eval 'as_val=${'$as_ac_Header'}
43483
$as_echo "$as_val"'`
43484
if test "x$as_val" = x""yes; then
43485
cat >>confdefs.h <<_ACEOF
43486
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
43493
if test x"$ac_cv_header_gpfs_gpl_h" = x"yes"; then
43495
cat >>confdefs.h <<\_ACEOF
43496
#define HAVE_GPFS 1
43499
default_shared_modules="$default_shared_modules vfs_gpfs"
43361
43502
#############################################
43362
43503
# check if building on Isilon OneFS
55411
55603
test "$cross_compiling" = yes ||
55412
55604
$as_test_x conftest$ac_exeext
55414
jm_cv_include="iconv.h"
55415
jm_cv_func_iconv=yes
55418
$as_echo "$as_me: failed program was:" >&5
55419
sed 's/^/| /' conftest.$ac_ext >&5
55424
rm -rf conftest.dSYM
55425
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
55426
conftest$ac_exeext conftest.$ac_ext
55428
if test "$jm_cv_lib_iconv" != yes; then
55429
jm_save_LIBS="$LIBS"
55430
LIBS="$LIBS -lgiconv"
55431
cat >conftest.$ac_ext <<_ACEOF
55434
cat confdefs.h >>conftest.$ac_ext
55435
cat >>conftest.$ac_ext <<_ACEOF
55436
/* end confdefs.h. */
55437
#include <stdlib.h>
55438
#include <giconv.h>
55442
iconv_t cd = iconv_open("","");
55443
iconv(cd,NULL,NULL,NULL,NULL);
55449
rm -f conftest.$ac_objext conftest$ac_exeext
55450
if { (ac_try="$ac_link"
55451
case "(($ac_try" in
55452
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
55453
*) ac_try_echo=$ac_try;;
55455
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
55456
$as_echo "$ac_try_echo") >&5
55457
(eval "$ac_link") 2>conftest.er1
55459
grep -v '^ *+' conftest.er1 >conftest.err
55461
cat conftest.err >&5
55462
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
55463
(exit $ac_status); } && {
55464
test -z "$ac_c_werror_flag" ||
55465
test ! -s conftest.err
55466
} && test -s conftest$ac_exeext && {
55467
test "$cross_compiling" = yes ||
55468
$as_test_x conftest$ac_exeext
55470
55606
jm_cv_lib_iconv=yes
55471
jm_cv_func_iconv=yes
55472
jm_cv_include="giconv.h"
55474
jm_cv_lib_iconv="giconv"
55607
jm_cv_func_iconv=yes
55608
jm_cv_include="giconv.h"
55610
jm_cv_lib_iconv="giconv"
55476
55612
$as_echo "$as_me: failed program was:" >&5
55477
55613
sed 's/^/| /' conftest.$ac_ext >&5
62085
62216
test -z "$ac_c_werror_flag" ||
62086
62217
test ! -s conftest.err
62087
62218
} && test -s conftest.$ac_objext; then
62088
ac_header_compiler=yes
62219
eval "$as_ac_Header=yes"
62090
62221
$as_echo "$as_me: failed program was:" >&5
62091
62222
sed 's/^/| /' conftest.$ac_ext >&5
62093
ac_header_compiler=no
62224
eval "$as_ac_Header=no"
62096
62227
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62097
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
62098
$as_echo "$ac_header_compiler" >&6; }
62100
# Is the header present?
62101
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
62102
$as_echo_n "checking $ac_header presence... " >&6; }
62103
cat >conftest.$ac_ext <<_ACEOF
62106
cat confdefs.h >>conftest.$ac_ext
62107
cat >>conftest.$ac_ext <<_ACEOF
62108
/* end confdefs.h. */
62109
#include <$ac_header>
62111
if { (ac_try="$ac_cpp conftest.$ac_ext"
62112
case "(($ac_try" in
62113
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
62114
*) ac_try_echo=$ac_try;;
62116
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
62117
$as_echo "$ac_try_echo") >&5
62118
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
62120
grep -v '^ *+' conftest.er1 >conftest.err
62122
cat conftest.err >&5
62123
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
62124
(exit $ac_status); } >/dev/null && {
62125
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
62126
test ! -s conftest.err
62128
ac_header_preproc=yes
62130
$as_echo "$as_me: failed program was:" >&5
62131
sed 's/^/| /' conftest.$ac_ext >&5
62133
ac_header_preproc=no
62136
rm -f conftest.err conftest.$ac_ext
62137
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
62138
$as_echo "$ac_header_preproc" >&6; }
62140
# So? What about this header?
62141
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
62143
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
62144
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
62145
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
62146
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
62147
ac_header_preproc=yes
62150
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
62151
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
62152
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
62153
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
62154
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
62155
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
62156
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
62157
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
62158
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
62159
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
62160
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
62161
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
62163
## ---------------------------------------- ##
62164
## Report this to samba-technical@samba.org ##
62165
## ---------------------------------------- ##
62167
) | sed "s/^/$as_me: WARNING: /" >&2
62170
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
62171
$as_echo_n "checking for $ac_header... " >&6; }
62172
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
62173
$as_echo_n "(cached) " >&6
62175
eval "$as_ac_Header=\$ac_header_preproc"
62177
62229
ac_res=`eval 'as_val=${'$as_ac_Header'}
62178
62230
$as_echo "$as_val"'`
62179
62231
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
62180
62232
$as_echo "$ac_res" >&6; }
62183
62233
as_val=`eval 'as_val=${'$as_ac_Header'}
62184
62234
$as_echo "$as_val"'`
62185
62235
if test "x$as_val" = x""yes; then
62194
62245
if test x"$ac_cv_header_krb5_locate_plugin_h" = x"yes"; then
62195
62246
WINBIND_KRB5_LOCATOR="bin/winbind_krb5_locator.$SHLIBEXT"
62196
62247
EXTRA_ALL_TARGETS="$EXTRA_ALL_TARGETS $WINBIND_KRB5_LOCATOR"
62250
# check for new heimdal KRB5_DEPRECATED handling
62252
{ $as_echo "$as_me:$LINENO: checking for KRB5_DEPRECATED define taking an identifier" >&5
62253
$as_echo_n "checking for KRB5_DEPRECATED define taking an identifier... " >&6; }
62254
if test "${samba_cv_HAVE_KRB5_DEPRECATED_WITH_IDENTIFIER+set}" = set; then
62255
$as_echo_n "(cached) " >&6
62258
cat >conftest.$ac_ext <<_ACEOF
62261
cat confdefs.h >>conftest.$ac_ext
62262
cat >>conftest.$ac_ext <<_ACEOF
62263
/* end confdefs.h. */
62264
#define KRB5_DEPRECATED 1
62274
rm -f conftest.$ac_objext
62275
if { (ac_try="$ac_compile"
62276
case "(($ac_try" in
62277
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
62278
*) ac_try_echo=$ac_try;;
62280
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
62281
$as_echo "$ac_try_echo") >&5
62282
(eval "$ac_compile") 2>conftest.er1
62284
grep -v '^ *+' conftest.er1 >conftest.err
62286
cat conftest.err >&5
62287
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
62288
(exit $ac_status); } && {
62289
test -z "$ac_c_werror_flag" ||
62290
test ! -s conftest.err
62291
} && test -s conftest.$ac_objext; then
62292
samba_cv_HAVE_KRB5_DEPRECATED_WITH_IDENTIFIER=yes
62294
$as_echo "$as_me: failed program was:" >&5
62295
sed 's/^/| /' conftest.$ac_ext >&5
62297
samba_cv_HAVE_KRB5_DEPRECATED_WITH_IDENTIFIER=no
62300
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62302
{ $as_echo "$as_me:$LINENO: result: $samba_cv_HAVE_KRB5_DEPRECATED_WITH_IDENTIFIER" >&5
62303
$as_echo "$samba_cv_HAVE_KRB5_DEPRECATED_WITH_IDENTIFIER" >&6; }
62305
if test x"$samba_cv_HAVE_KRB5_DEPRECATED_WITH_IDENTIFIER" = x"yes"; then
62307
cat >>confdefs.h <<\_ACEOF
62308
#define HAVE_KRB5_DEPRECATED_WITH_IDENTIFIER 1
62200
62314
# Now we have determined whether we really want ADS support
67600
# MIT krb5 1.7beta3 (in Ubuntu Karmic) does not have this declaration
67601
# but does have the symbol
67602
{ $as_echo "$as_me:$LINENO: checking whether krb5_auth_con_set_req_cksumtype is declared" >&5
67603
$as_echo_n "checking whether krb5_auth_con_set_req_cksumtype is declared... " >&6; }
67604
if test "${ac_cv_have_decl_krb5_auth_con_set_req_cksumtype+set}" = set; then
67605
$as_echo_n "(cached) " >&6
67607
cat >conftest.$ac_ext <<_ACEOF
67610
cat confdefs.h >>conftest.$ac_ext
67611
cat >>conftest.$ac_ext <<_ACEOF
67612
/* end confdefs.h. */
67618
#ifndef krb5_auth_con_set_req_cksumtype
67619
(void) krb5_auth_con_set_req_cksumtype;
67626
rm -f conftest.$ac_objext
67627
if { (ac_try="$ac_compile"
67628
case "(($ac_try" in
67629
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
67630
*) ac_try_echo=$ac_try;;
67632
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
67633
$as_echo "$ac_try_echo") >&5
67634
(eval "$ac_compile") 2>conftest.er1
67636
grep -v '^ *+' conftest.er1 >conftest.err
67638
cat conftest.err >&5
67639
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
67640
(exit $ac_status); } && {
67641
test -z "$ac_c_werror_flag" ||
67642
test ! -s conftest.err
67643
} && test -s conftest.$ac_objext; then
67644
ac_cv_have_decl_krb5_auth_con_set_req_cksumtype=yes
67646
$as_echo "$as_me: failed program was:" >&5
67647
sed 's/^/| /' conftest.$ac_ext >&5
67649
ac_cv_have_decl_krb5_auth_con_set_req_cksumtype=no
67652
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67654
{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_krb5_auth_con_set_req_cksumtype" >&5
67655
$as_echo "$ac_cv_have_decl_krb5_auth_con_set_req_cksumtype" >&6; }
67656
if test "x$ac_cv_have_decl_krb5_auth_con_set_req_cksumtype" = x""yes; then
67658
cat >>confdefs.h <<_ACEOF
67659
#define HAVE_DECL_KRB5_AUTH_CON_SET_REQ_CKSUMTYPE 1
67664
cat >>confdefs.h <<_ACEOF
67665
#define HAVE_DECL_KRB5_AUTH_CON_SET_REQ_CKSUMTYPE 0
67486
67673
LIBS="$KRB5_LIBS $LIBS"
67488
67675
{ $as_echo "$as_me:$LINENO: checking whether krb5_ticket contains kvno and enctype" >&5