~ubuntu-branches/ubuntu/maverick/samba/maverick-security

« back to all changes in this revision

Viewing changes to .pc/autoconf.patch/source3/configure

  • Committer: Bazaar Package Importer
  • Author(s): Chuck Short
  • Date: 2010-01-29 06:16:15 UTC
  • mfrom: (0.27.9 upstream) (0.34.4 squeeze)
  • Revision ID: james.westby@ubuntu.com-20100129061615-37hs6xqpsdhjq3ld
Tags: 2:3.4.5~dfsg-1ubuntu1
* Merge from debian testing.  Remaining changes:
  + debian/patches/VERSION.patch:
    - set SAMBA_VERSION_SUFFIX to Ubuntu.
  + debian/smb.conf:
    - Add "(Samba, Ubuntu)" to server string.
    - Comment out the default [homes] share, and add a comment about "valid users = %s"
      to show users how to restrict access to \\server\username to only username.
    - Set 'usershare allow guests', so that usershare admins are allowed to create
      public shares in additon to authenticated ones.
    - add map to guest = Bad user, maps bad username to gues access.
  + debian/samba-common.conf:
    - Do not change priority to high if dhclient3 is installed.
    - Use priority medium instead of high for the workgroup question.
  + debian/mksambapasswd.awk:
    - Do not add user with UID less than 1000 to smbpasswd.
  + debian/control: 
    - Make libswbclient0 replace/conflict with hardy's likewise-open.
    - Don't build against ctdb, since its not in main yet.
  + debian/rules:
    - Enable "native" PIE hardening.
    - Add BIND_NOW to maximize benefit of RELRO hardening.
  + Add ufw integration:
    - Created debian/samba.ufw.profile.
    - debian/rules, debian/samba.dirs, debian/samba.files: install
  + Add apoort hook:
    - Created debian/source_samba.py.
    - debian/rules, debian/samba.dirs, debian/samba-common-bin.files: install
  + debian/rules, debian/samba.if-up: allow "NetworkManager" as a recognized address
    family... it's obviously /not/ an address family, but it's what gets
    sent when using NM, so we'll cope for now.  (LP: #462169). Taken from karmic-proposed.
  + debian/control: Recommend keyutils for smbfs (LP: #493565)
  + Dropped patches:
    - debian/patches/security-CVE-2009-3297.patch: No longer needed
    - debian/patches/fix-too-many-open-files.patch: No longer needed

Show diffs side-by-side

added added

removed removed

Lines of Context:
11577
11577
 
11578
11578
        { $as_echo "$as_me:$LINENO: result: no" >&5
11579
11579
$as_echo "no" >&6; }
11580
 
                 if x$enable_external_libtalloc = xyes; then
 
11580
                 if test "x$enable_external_libtalloc" = xyes; then
11581
11581
                        { { $as_echo "$as_me:$LINENO: error: Unable to find libtalloc" >&5
11582
11582
$as_echo "$as_me: error: Unable to find libtalloc" >&2;}
11583
11583
   { (exit 1); exit 1; }; }
11586
11586
                  fi
11587
11587
 
11588
11588
elif test $pkg_failed = untried; then
11589
 
         if x$enable_external_libtalloc = xyes; then
 
11589
         if test "x$enable_external_libtalloc" = xyes; then
11590
11590
                        { { $as_echo "$as_me:$LINENO: error: Unable to find libtalloc" >&5
11591
11591
$as_echo "$as_me: error: Unable to find libtalloc" >&2;}
11592
11592
   { (exit 1); exit 1; }; }
42714
42714
done
42715
42715
 
42716
42716
 
 
42717
for ac_func in strupr
 
42718
do
 
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
 
42724
else
 
42725
  cat >conftest.$ac_ext <<_ACEOF
 
42726
/* confdefs.h.  */
 
42727
_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
 
42734
 
 
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.  */
 
42739
 
 
42740
#ifdef __STDC__
 
42741
# include <limits.h>
 
42742
#else
 
42743
# include <assert.h>
 
42744
#endif
 
42745
 
 
42746
#undef $ac_func
 
42747
 
 
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.  */
 
42751
#ifdef __cplusplus
 
42752
extern "C"
 
42753
#endif
 
42754
char $ac_func ();
 
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
 
42759
choke me
 
42760
#endif
 
42761
 
 
42762
int
 
42763
main ()
 
42764
{
 
42765
return $ac_func ();
 
42766
  ;
 
42767
  return 0;
 
42768
}
 
42769
_ACEOF
 
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;;
 
42775
esac
 
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
 
42779
  ac_status=$?
 
42780
  grep -v '^ *+' conftest.er1 >conftest.err
 
42781
  rm -f conftest.er1
 
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
 
42790
       }; then
 
42791
  eval "$as_ac_var=yes"
 
42792
else
 
42793
  $as_echo "$as_me: failed program was:" >&5
 
42794
sed 's/^/| /' conftest.$ac_ext >&5
 
42795
 
 
42796
        eval "$as_ac_var=no"
 
42797
fi
 
42798
 
 
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
 
42802
fi
 
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
 
42812
_ACEOF
 
42813
 
 
42814
fi
 
42815
done
 
42816
 
 
42817
 
42717
42818
# Find a method of generating a stack trace
42718
42819
 
42719
42820
 
43236
43337
done
43237
43338
 
43238
43339
 
43239
 
printf "%s" "checking for GPFS GPL libs... "
43240
 
save_LIBS="$LIBS"
43241
 
LIBS="$LIBS -lgpfs_gpl"
43242
 
cat >conftest.$ac_ext <<_ACEOF
43243
 
/* confdefs.h.  */
43244
 
_ACEOF
43245
 
cat confdefs.h >>conftest.$ac_ext
43246
 
cat >>conftest.$ac_ext <<_ACEOF
43247
 
/* end confdefs.h.  */
43248
 
#include <gpfs_gpl.h>
43249
 
int
43250
 
main ()
43251
 
{
43252
 
gpfs_set_share(0,GPFS_SHARE_READ,GPFS_DENY_NONE)
43253
 
  ;
43254
 
  return 0;
43255
 
}
43256
 
_ACEOF
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;;
43262
 
esac
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
43266
 
  ac_status=$?
43267
 
  grep -v '^ *+' conftest.er1 >conftest.err
43268
 
  rm -f conftest.er1
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
43277
 
       }; then
43278
 
  samba_cv_HAVE_GPFS=yes
43279
 
else
43280
 
  $as_echo "$as_me: failed program was:" >&5
43281
 
sed 's/^/| /' conftest.$ac_ext >&5
43282
 
 
43283
 
        samba_cv_HAVE_GPFS=no
43284
 
fi
43285
 
 
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
43291
 
 
43292
 
cat >>confdefs.h <<\_ACEOF
43293
 
#define HAVE_GPFS 1
43294
 
_ACEOF
43295
 
 
43296
 
    default_shared_modules="$default_shared_modules vfs_gpfs"
43297
 
fi
43298
 
LIBS="$save_LIBS"
43299
 
 
43300
 
printf "%s" "checking for GPFS libs (with 3.2.1 PTF8 available as GPL)... "
43301
 
save_LIBS="$LIBS"
43302
 
LIBS="$LIBS -lgpfs"
43303
 
cat >conftest.$ac_ext <<_ACEOF
43304
 
/* confdefs.h.  */
43305
 
_ACEOF
43306
 
cat confdefs.h >>conftest.$ac_ext
43307
 
cat >>conftest.$ac_ext <<_ACEOF
43308
 
/* end confdefs.h.  */
43309
 
#include <gpfs.h>
43310
 
int
43311
 
main ()
43312
 
{
43313
 
gpfs_set_share(0,GPFS_SHARE_READ,GPFS_DENY_NONE)
43314
 
  ;
43315
 
  return 0;
43316
 
}
43317
 
_ACEOF
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;;
43323
 
esac
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
43327
 
  ac_status=$?
43328
 
  grep -v '^ *+' conftest.er1 >conftest.err
43329
 
  rm -f conftest.er1
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
43338
 
       }; then
43339
 
  samba_cv_HAVE_GPFS=yes
43340
 
else
43341
 
  $as_echo "$as_me: failed program was:" >&5
43342
 
sed 's/^/| /' conftest.$ac_ext >&5
43343
 
 
43344
 
        samba_cv_HAVE_GPFS=no
43345
 
fi
43346
 
 
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
43352
 
 
43353
 
cat >>confdefs.h <<\_ACEOF
43354
 
#define HAVE_GPFS 1
43355
 
_ACEOF
43356
 
 
43357
 
    default_shared_modules="$default_shared_modules vfs_gpfs"
43358
 
fi
43359
 
LIBS="$save_LIBS"
 
43340
#############################
 
43341
# check if building with gpfs
 
43342
 
 
43343
for ac_header in gpfs_gpl.h
 
43344
do
 
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
 
43351
fi
 
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; }
 
43356
else
 
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
 
43361
/* confdefs.h.  */
 
43362
_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>
 
43368
_ACEOF
 
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;;
 
43374
esac
 
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
 
43378
  ac_status=$?
 
43379
  grep -v '^ *+' conftest.er1 >conftest.err
 
43380
  rm -f conftest.er1
 
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
 
43388
else
 
43389
  $as_echo "$as_me: failed program was:" >&5
 
43390
sed 's/^/| /' conftest.$ac_ext >&5
 
43391
 
 
43392
        ac_header_compiler=no
 
43393
fi
 
43394
 
 
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; }
 
43398
 
 
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
 
43403
/* confdefs.h.  */
 
43404
_ACEOF
 
43405
cat confdefs.h >>conftest.$ac_ext
 
43406
cat >>conftest.$ac_ext <<_ACEOF
 
43407
/* end confdefs.h.  */
 
43408
#include <$ac_header>
 
43409
_ACEOF
 
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;;
 
43414
esac
 
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
 
43418
  ac_status=$?
 
43419
  grep -v '^ *+' conftest.er1 >conftest.err
 
43420
  rm -f conftest.er1
 
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
 
43426
       }; then
 
43427
  ac_header_preproc=yes
 
43428
else
 
43429
  $as_echo "$as_me: failed program was:" >&5
 
43430
sed 's/^/| /' conftest.$ac_ext >&5
 
43431
 
 
43432
  ac_header_preproc=no
 
43433
fi
 
43434
 
 
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; }
 
43438
 
 
43439
# So?  What about this header?
 
43440
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 
43441
  yes:no: )
 
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
 
43447
    ;;
 
43448
  no: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;}
 
43461
    ( cat <<\_ASBOX
 
43462
## ---------------------------------------- ##
 
43463
## Report this to samba-technical@samba.org ##
 
43464
## ---------------------------------------- ##
 
43465
_ASBOX
 
43466
     ) | sed "s/^/$as_me: WARNING:     /" >&2
 
43467
    ;;
 
43468
esac
 
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
 
43473
else
 
43474
  eval "$as_ac_Header=\$ac_header_preproc"
 
43475
fi
 
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; }
 
43480
 
 
43481
fi
 
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
 
43487
_ACEOF
 
43488
 
 
43489
fi
 
43490
 
 
43491
done
 
43492
 
 
43493
if test x"$ac_cv_header_gpfs_gpl_h" = x"yes"; then
 
43494
 
 
43495
cat >>confdefs.h <<\_ACEOF
 
43496
#define HAVE_GPFS 1
 
43497
_ACEOF
 
43498
 
 
43499
    default_shared_modules="$default_shared_modules vfs_gpfs"
 
43500
fi
43360
43501
 
43361
43502
#############################################
43362
43503
# check if building on Isilon OneFS
51622
51763
 
51623
51764
  # and these are for particular systems
51624
51765
  case "$host_os" in
51625
 
                *linux* | gnu* | k*bsd*-gnu | kopensolaris*-gnu)
51626
 
                        case "$host_os" in *linux*)
51627
 
 
 
51766
                *linux* | gnu* | k*bsd*-gnu | kopensolaris*-gnu | *qnx*)
 
51767
                        case "$host_os" in
 
51768
                                *linux*)
51628
51769
cat >>confdefs.h <<\_ACEOF
51629
51770
#define LINUX 1
51630
51771
_ACEOF
51631
51772
 ;;
 
51773
                                *qnx*)
 
51774
cat >>confdefs.h <<\_ACEOF
 
51775
#define QNX 1
 
51776
_ACEOF
 
51777
 ;;
51632
51778
                        esac
51633
51779
                        BLDSHARED="true"
51634
51780
                        if test "${ac_cv_gnu_ld_no_default_allow_shlib_undefined}" = "yes"; then
51824
51970
_ACEOF
51825
51971
 
51826
51972
                        ;;
51827
 
                *qnx*)
51828
 
cat >>confdefs.h <<\_ACEOF
51829
 
#define QNX 1
51830
 
_ACEOF
51831
 
 
51832
 
                        cat >>confdefs.h <<\_ACEOF
51833
 
#define STAT_ST_BLOCKSIZE 512
51834
 
_ACEOF
51835
 
 
51836
 
                        ;;
51837
51973
                *osf*)
51838
51974
cat >>confdefs.h <<\_ACEOF
51839
51975
#define OSF1 1
55316
55452
    jm_cv_giconv=no
55317
55453
    jm_save_LIBS="$LIBS"
55318
55454
 
 
55455
    if test "$jm_cv_func_iconv" != yes; then
 
55456
    cat >conftest.$ac_ext <<_ACEOF
 
55457
/* confdefs.h.  */
 
55458
_ACEOF
 
55459
cat confdefs.h >>conftest.$ac_ext
 
55460
cat >>conftest.$ac_ext <<_ACEOF
 
55461
/* end confdefs.h.  */
 
55462
#include <stdlib.h>
 
55463
#include <giconv.h>
 
55464
int
 
55465
main ()
 
55466
{
 
55467
iconv_t cd = iconv_open("","");
 
55468
       iconv(cd,NULL,NULL,NULL,NULL);
 
55469
       iconv_close(cd);
 
55470
  ;
 
55471
  return 0;
 
55472
}
 
55473
_ACEOF
 
55474
rm -f conftest.$ac_objext conftest$ac_exeext
 
55475
if { (ac_try="$ac_link"
 
55476
case "(($ac_try" in
 
55477
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
55478
  *) ac_try_echo=$ac_try;;
 
55479
esac
 
55480
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
55481
$as_echo "$ac_try_echo") >&5
 
55482
  (eval "$ac_link") 2>conftest.er1
 
55483
  ac_status=$?
 
55484
  grep -v '^ *+' conftest.er1 >conftest.err
 
55485
  rm -f conftest.er1
 
55486
  cat conftest.err >&5
 
55487
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
55488
  (exit $ac_status); } && {
 
55489
         test -z "$ac_c_werror_flag" ||
 
55490
         test ! -s conftest.err
 
55491
       } && test -s conftest$ac_exeext && {
 
55492
         test "$cross_compiling" = yes ||
 
55493
         $as_test_x conftest$ac_exeext
 
55494
       }; then
 
55495
  jm_cv_func_iconv=yes
 
55496
       jm_cv_include="giconv.h"
 
55497
       jm_cv_giconv="yes"
 
55498
       jm_cv_lib_iconv=""
 
55499
else
 
55500
  $as_echo "$as_me: failed program was:" >&5
 
55501
sed 's/^/| /' conftest.$ac_ext >&5
 
55502
 
 
55503
 
 
55504
fi
 
55505
 
 
55506
rm -rf conftest.dSYM
 
55507
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
55508
      conftest$ac_exeext conftest.$ac_ext
 
55509
 
55319
55510
        if test "$jm_cv_func_iconv" != yes; then
55320
55511
      cat >conftest.$ac_ext <<_ACEOF
55321
55512
/* confdefs.h.  */
55324
55515
cat >>conftest.$ac_ext <<_ACEOF
55325
55516
/* end confdefs.h.  */
55326
55517
#include <stdlib.h>
55327
 
#include <giconv.h>
 
55518
#include <iconv.h>
55328
55519
int
55329
55520
main ()
55330
55521
{
55356
55547
         test "$cross_compiling" = yes ||
55357
55548
         $as_test_x conftest$ac_exeext
55358
55549
       }; then
55359
 
  jm_cv_func_iconv=yes
55360
 
         jm_cv_include="giconv.h"
55361
 
         jm_cv_giconv="yes"
 
55550
  jm_cv_include="iconv.h"
 
55551
         jm_cv_func_iconv=yes
55362
55552
         jm_cv_lib_iconv=""
55363
55553
else
55364
55554
  $as_echo "$as_me: failed program was:" >&5
55372
55562
      conftest$ac_exeext conftest.$ac_ext
55373
55563
 
55374
55564
            if test "$jm_cv_func_iconv" != yes; then
 
55565
        jm_save_LIBS="$LIBS"
 
55566
        LIBS="$LIBS -lgiconv"
55375
55567
        cat >conftest.$ac_ext <<_ACEOF
55376
55568
/* confdefs.h.  */
55377
55569
_ACEOF
55379
55571
cat >>conftest.$ac_ext <<_ACEOF
55380
55572
/* end confdefs.h.  */
55381
55573
#include <stdlib.h>
55382
 
#include <iconv.h>
 
55574
#include <giconv.h>
55383
55575
int
55384
55576
main ()
55385
55577
{
55411
55603
         test "$cross_compiling" = yes ||
55412
55604
         $as_test_x conftest$ac_exeext
55413
55605
       }; then
55414
 
  jm_cv_include="iconv.h"
55415
 
           jm_cv_func_iconv=yes
55416
 
           jm_cv_lib_iconv=""
55417
 
else
55418
 
  $as_echo "$as_me: failed program was:" >&5
55419
 
sed 's/^/| /' conftest.$ac_ext >&5
55420
 
 
55421
 
 
55422
 
fi
55423
 
 
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
55427
 
 
55428
 
          if test "$jm_cv_lib_iconv" != yes; then
55429
 
            jm_save_LIBS="$LIBS"
55430
 
            LIBS="$LIBS -lgiconv"
55431
 
            cat >conftest.$ac_ext <<_ACEOF
55432
 
/* confdefs.h.  */
55433
 
_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>
55439
 
int
55440
 
main ()
55441
 
{
55442
 
iconv_t cd = iconv_open("","");
55443
 
               iconv(cd,NULL,NULL,NULL,NULL);
55444
 
               iconv_close(cd);
55445
 
  ;
55446
 
  return 0;
55447
 
}
55448
 
_ACEOF
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;;
55454
 
esac
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
55458
 
  ac_status=$?
55459
 
  grep -v '^ *+' conftest.er1 >conftest.err
55460
 
  rm -f conftest.er1
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
55469
 
       }; then
55470
55606
  jm_cv_lib_iconv=yes
55471
 
              jm_cv_func_iconv=yes
55472
 
              jm_cv_include="giconv.h"
55473
 
              jm_cv_giconv=yes
55474
 
              jm_cv_lib_iconv="giconv"
 
55607
          jm_cv_func_iconv=yes
 
55608
          jm_cv_include="giconv.h"
 
55609
          jm_cv_giconv=yes
 
55610
          jm_cv_lib_iconv="giconv"
55475
55611
else
55476
55612
  $as_echo "$as_me: failed program was:" >&5
55477
55613
sed 's/^/| /' conftest.$ac_ext >&5
55483
55619
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
55484
55620
      conftest$ac_exeext conftest.$ac_ext
55485
55621
 
55486
 
           LIBS="$jm_save_LIBS"
 
55622
        LIBS="$jm_save_LIBS"
55487
55623
 
55488
 
        if test "$jm_cv_func_iconv" != yes; then
 
55624
                if test "$jm_cv_func_iconv" != yes; then
55489
55625
          jm_save_LIBS="$LIBS"
55490
55626
          LIBS="$LIBS -liconv"
55491
55627
          cat >conftest.$ac_ext <<_ACEOF
55542
55678
      conftest$ac_exeext conftest.$ac_ext
55543
55679
          LIBS="$jm_save_LIBS"
55544
55680
 
55545
 
          if test "$jm_cv_lib_iconv" != yes; then
 
55681
                    if test "$jm_cv_func_iconv" != yes; then
55546
55682
            jm_save_LIBS="$LIBS"
55547
55683
            LIBS="$LIBS -lbiconv"
55548
55684
            cat >conftest.$ac_ext <<_ACEOF
55601
55737
      conftest$ac_exeext conftest.$ac_ext
55602
55738
 
55603
55739
            LIBS="$jm_save_LIBS"
55604
 
          fi
 
55740
          fi
55605
55741
        fi
55606
55742
      fi
55607
55743
    fi
62044
62180
for ac_header in krb5/locate_plugin.h
62045
62181
do
62046
62182
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
62047
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
62048
 
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
62183
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
62049
62184
$as_echo_n "checking for $ac_header... " >&6; }
62050
62185
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
62051
62186
  $as_echo_n "(cached) " >&6
62052
 
fi
62053
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
62054
 
                 $as_echo "$as_val"'`
62055
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
62056
 
$as_echo "$ac_res" >&6; }
62057
62187
else
62058
 
  # Is the header compilable?
62059
 
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
62060
 
$as_echo_n "checking $ac_header usability... " >&6; }
62061
 
cat >conftest.$ac_ext <<_ACEOF
 
62188
  cat >conftest.$ac_ext <<_ACEOF
62062
62189
/* confdefs.h.  */
62063
62190
_ACEOF
62064
62191
cat confdefs.h >>conftest.$ac_ext
62065
62192
cat >>conftest.$ac_ext <<_ACEOF
62066
62193
/* end confdefs.h.  */
62067
 
$ac_includes_default
 
62194
#ifdef HAVE_KRB5_H
 
62195
 #include <krb5.h>
 
62196
 #endif
 
62197
 
 
62198
 
62068
62199
#include <$ac_header>
62069
62200
_ACEOF
62070
62201
rm -f conftest.$ac_objext
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"
62089
62220
else
62090
62221
  $as_echo "$as_me: failed program was:" >&5
62091
62222
sed 's/^/| /' conftest.$ac_ext >&5
62092
62223
 
62093
 
        ac_header_compiler=no
 
62224
        eval "$as_ac_Header=no"
62094
62225
fi
62095
62226
 
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; }
62099
 
 
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
62104
 
/* confdefs.h.  */
62105
 
_ACEOF
62106
 
cat confdefs.h >>conftest.$ac_ext
62107
 
cat >>conftest.$ac_ext <<_ACEOF
62108
 
/* end confdefs.h.  */
62109
 
#include <$ac_header>
62110
 
_ACEOF
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;;
62115
 
esac
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
62119
 
  ac_status=$?
62120
 
  grep -v '^ *+' conftest.er1 >conftest.err
62121
 
  rm -f conftest.er1
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
62127
 
       }; then
62128
 
  ac_header_preproc=yes
62129
 
else
62130
 
  $as_echo "$as_me: failed program was:" >&5
62131
 
sed 's/^/| /' conftest.$ac_ext >&5
62132
 
 
62133
 
  ac_header_preproc=no
62134
 
fi
62135
 
 
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; }
62139
 
 
62140
 
# So?  What about this header?
62141
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
62142
 
  yes:no: )
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
62148
 
    ;;
62149
 
  no: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;}
62162
 
    ( cat <<\_ASBOX
62163
 
## ---------------------------------------- ##
62164
 
## Report this to samba-technical@samba.org ##
62165
 
## ---------------------------------------- ##
62166
 
_ASBOX
62167
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
62168
 
    ;;
62169
 
esac
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
62174
 
else
62175
 
  eval "$as_ac_Header=\$ac_header_preproc"
62176
62228
fi
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; }
62181
 
 
62182
 
fi
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
62191
62241
 
62192
62242
done
62193
62243
 
 
62244
 
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"
62197
62248
  fi
 
62249
 
 
62250
  # check for new heimdal KRB5_DEPRECATED handling
 
62251
 
 
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
 
62256
else
 
62257
 
 
62258
    cat >conftest.$ac_ext <<_ACEOF
 
62259
/* confdefs.h.  */
 
62260
_ACEOF
 
62261
cat confdefs.h >>conftest.$ac_ext
 
62262
cat >>conftest.$ac_ext <<_ACEOF
 
62263
/* end confdefs.h.  */
 
62264
#define KRB5_DEPRECATED 1
 
62265
      #include <krb5.h>
 
62266
int
 
62267
main ()
 
62268
{
 
62269
 
 
62270
  ;
 
62271
  return 0;
 
62272
}
 
62273
_ACEOF
 
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;;
 
62279
esac
 
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
 
62283
  ac_status=$?
 
62284
  grep -v '^ *+' conftest.er1 >conftest.err
 
62285
  rm -f conftest.er1
 
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
 
62293
else
 
62294
  $as_echo "$as_me: failed program was:" >&5
 
62295
sed 's/^/| /' conftest.$ac_ext >&5
 
62296
 
 
62297
        samba_cv_HAVE_KRB5_DEPRECATED_WITH_IDENTIFIER=no
 
62298
fi
 
62299
 
 
62300
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
62301
fi
 
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; }
 
62304
 
 
62305
  if test x"$samba_cv_HAVE_KRB5_DEPRECATED_WITH_IDENTIFIER" = x"yes"; then
 
62306
 
 
62307
cat >>confdefs.h <<\_ACEOF
 
62308
#define HAVE_KRB5_DEPRECATED_WITH_IDENTIFIER 1
 
62309
_ACEOF
 
62310
 
 
62311
  fi
62198
62312
fi
62199
62313
 
62200
62314
# Now we have determined whether we really want ADS support
67483
67597
fi
67484
67598
 
67485
67599
 
 
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
 
67606
else
 
67607
  cat >conftest.$ac_ext <<_ACEOF
 
67608
/* confdefs.h.  */
 
67609
_ACEOF
 
67610
cat confdefs.h >>conftest.$ac_ext
 
67611
cat >>conftest.$ac_ext <<_ACEOF
 
67612
/* end confdefs.h.  */
 
67613
#include <krb5.h>
 
67614
 
 
67615
int
 
67616
main ()
 
67617
{
 
67618
#ifndef krb5_auth_con_set_req_cksumtype
 
67619
  (void) krb5_auth_con_set_req_cksumtype;
 
67620
#endif
 
67621
 
 
67622
  ;
 
67623
  return 0;
 
67624
}
 
67625
_ACEOF
 
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;;
 
67631
esac
 
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
 
67635
  ac_status=$?
 
67636
  grep -v '^ *+' conftest.er1 >conftest.err
 
67637
  rm -f conftest.er1
 
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
 
67645
else
 
67646
  $as_echo "$as_me: failed program was:" >&5
 
67647
sed 's/^/| /' conftest.$ac_ext >&5
 
67648
 
 
67649
        ac_cv_have_decl_krb5_auth_con_set_req_cksumtype=no
 
67650
fi
 
67651
 
 
67652
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
67653
fi
 
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
 
67657
 
 
67658
cat >>confdefs.h <<_ACEOF
 
67659
#define HAVE_DECL_KRB5_AUTH_CON_SET_REQ_CKSUMTYPE 1
 
67660
_ACEOF
 
67661
 
 
67662
 
 
67663
else
 
67664
  cat >>confdefs.h <<_ACEOF
 
67665
#define HAVE_DECL_KRB5_AUTH_CON_SET_REQ_CKSUMTYPE 0
 
67666
_ACEOF
 
67667
 
 
67668
 
 
67669
fi
 
67670
 
 
67671
 
 
67672
 
67486
67673
  LIBS="$KRB5_LIBS $LIBS"
67487
67674
 
67488
67675
  { $as_echo "$as_me:$LINENO: checking whether krb5_ticket contains kvno and enctype" >&5