~ubuntu-branches/debian/wheezy/netatalk/wheezy

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Jonas Smedegaard
  • Date: 2011-06-05 21:04:21 UTC
  • mfrom: (1.1.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20110605210421-19gag2srevj0ocxh
Tags: 2.2~beta4-1
* New upstream release.
  + Fixes "Internal Error" after ad_open on sparc.
    Closes: bug#606005. Thanks to Alfredo Sola.
* Adjust references to unofficial packages in README.Debian.
* Use dversionmangle (not uversionmangle) in watch file. Fix add
  leading dash (-) to upstream version in mangling.
* Update patches:
  + Drop patches 107 and 294 (Zeroconf support): Implemented
    (differently) upstream now.
  + Drop patches 109 and 112 (avoid broken XFS linkage) obsolete.
  + Drop patch 200 (hostname resolving): adopted upstream.
  + Refresh patch 205.
* Rewrite copyright file using draft 174 of DEP-5 format.
* Build-depend on and recommend unversioned (i.e. default) BerkeleyDB
  packages.
  Closes: bug#621413. Thanks to Ondřej Surý.
  Simplify suggestions on older versioned BerkeleyDB packages.
* Stop installing some documentation dropped upstream, and let CDBS
  automagically handle some of the remains.
* Update control file:
  + Bump policy compliance to standards-version 3.9.2.
  + Shorten Vcs-* URLs.
* Add patches 115 and (for automade file) 214 to avoid installing
  unneeded /default dir.
  Closes: bug#628119. Thanks to Russell Muetzelfeldt and Luk Claes.
* Don't ship .la files. Closes: bug#621849. Thanks to Andreas Metzler
  and Luk Claes.
* Stop renaming afile and achfile, dropped upstream.
* Explicitly enable DDP (AppleTalk), now disabled by default.
* Enable Zeroconf, should be stable now.
* Simplify package relations:
  + Drop (build-)dependency fallback unneeded even for oldstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
881
881
LIBTOOL
882
882
LIBADD_DL
883
883
LIBOBJS
 
884
PTHREAD_LIBS
884
885
AFS_LIBS
885
886
AFS_CFLAGS
886
887
PKGCONFDIR
900
901
QUOTA_LIBS
901
902
SLP_LIBS
902
903
SLP_CFLAGS
 
904
PKG_CONFIG
 
905
AVAHI_CFLAGS
 
906
AVAHI_LIBS
 
907
AVAHI_TPOLL_CFLAGS
 
908
AVAHI_TPOLL_LIBS
 
909
ZEROCONF_LIBS
 
910
ZEROCONF_CFLAGS
903
911
PAMDIR
904
912
PAM_CFLAGS
905
913
PAM_LIBS
936
944
GSSAPI_CFLAGS
937
945
USE_GSSAPI_TRUE
938
946
USE_GSSAPI_FALSE
939
 
LIBATALK_ACLS
 
947
ACL_LIBS
940
948
WEBMIN_PATH
941
949
WEBMIN_VERSION
942
950
WEBMIN_USER
953
961
HAVE_LIBGCRYPT_FALSE
954
962
HAVE_OPENSSL_TRUE
955
963
HAVE_OPENSSL_FALSE
956
 
USE_NFSv4_ACLS_TRUE
957
 
USE_NFSv4_ACLS_FALSE
 
964
HAVE_ACLS_TRUE
 
965
HAVE_ACLS_FALSE
 
966
HAVE_LDAP_TRUE
 
967
HAVE_LDAP_FALSE
958
968
USE_DHX_TRUE
959
969
USE_DHX_FALSE
960
970
USE_DHX2_TRUE
995
1005
USE_UNDEF_FALSE
996
1006
USE_BDB_TRUE
997
1007
USE_BDB_FALSE
 
1008
USE_APPLETALK_TRUE
 
1009
USE_APPLETALK_FALSE
 
1010
HAVE_ATFUNCS_TRUE
 
1011
HAVE_ATFUNCS_FALSE
998
1012
LTLIBOBJS'
999
1013
ac_subst_files=''
1000
1014
      ac_precious_vars='build_alias
1011
1025
CCC
1012
1026
CXXCPP
1013
1027
F77
1014
 
FFLAGS'
 
1028
FFLAGS
 
1029
PKG_CONFIG
 
1030
AVAHI_CFLAGS
 
1031
AVAHI_LIBS
 
1032
AVAHI_TPOLL_CFLAGS
 
1033
AVAHI_TPOLL_LIBS'
1015
1034
 
1016
1035
 
1017
1036
# Initialize some variables set by options.
1599
1618
  --disable-libtool-lock  avoid locking (might break parallel builds)
1600
1619
  --disable-admin-group   disable admin group
1601
1620
  --enable-afs            enable AFS support
1602
 
  --disable-ddp           disable DDP
 
1621
  --enable-ddp            enable DDP (AppleTalk)
1603
1622
  --enable-debug1         enable debug code
1604
1623
  --enable-debug          enable verbose debug code
1605
1624
  --enable-debugging      disable SIGALRM timers and DSI tickles (eg for debugging with gdb/dbx/...)
1606
 
  --disable-afp3          disable AFP 3.x calls
1607
1625
  --disable-largefile     omit support for large files
1608
1626
  --enable-dropkludge     enable the experimental dropbox fix (INSECURE!)
1609
1627
  --enable-force-uidgid   allow forcing of uid/gid per volume (BROKEN)
1610
1628
  --enable-quota           Turn on quota support (default=auto)
1611
1629
  --enable-srvloc[=DIR]   enable Server Location Protocol (SLP) support
 
1630
  --enable-zeroconf[=DIR]   enable Zeroconf support [auto]
1612
1631
  --disable-shell-check   disable checking for a valid shell
1613
1632
  --disable-tcp-wrappers  disable TCP wrappers support
1614
1633
  --disable-locking       disable system locking
1627
1646
  --enable-krb4-uam       enable build of Kerberos v4 UAM module
1628
1647
  --enable-krbV-uam       enable build of Kerberos V UAM module
1629
1648
  --enable-overwrite      overwrite configuration files during installation
1630
 
  --enable-nfsv4acls      enable NFSv4 ACL Support (auto)
1631
1649
 
1632
1650
Optional Packages:
1633
1651
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1657
1675
                          lib and include dirs)
1658
1676
  --with-bdb=PATH         specify path to Berkeley DB installation[auto]
1659
1677
  --with-gssapi[=PATH]    path to GSSAPI for Kerberos V UAM [auto]
 
1678
  --with-ldap             LDAP support (default=auto)
 
1679
  --with-acls             Include ACL support (default=auto)
1660
1680
  --with-webmin=PATH      path where webmin is installed [$PKGCONFDIR/webmin]
1661
1681
  --with-webminuser=NAME      name for the webmin admin user
1662
1682
  --with-webminversion=VERSION   Webmin version to fetch from sf.net [1.490]
1677
1697
  CXXCPP      C++ preprocessor
1678
1698
  F77         Fortran 77 compiler command
1679
1699
  FFLAGS      Fortran 77 compiler flags
 
1700
  PKG_CONFIG  path to pkg-config utility
 
1701
  AVAHI_CFLAGS
 
1702
              C compiler flags for AVAHI, overriding pkg-config
 
1703
  AVAHI_LIBS  linker flags for AVAHI, overriding pkg-config
 
1704
  AVAHI_TPOLL_CFLAGS
 
1705
              C compiler flags for AVAHI_TPOLL, overriding pkg-config
 
1706
  AVAHI_TPOLL_LIBS
 
1707
              linker flags for AVAHI_TPOLL, overriding pkg-config
1680
1708
 
1681
1709
Use these variables to override the choices made by `configure' or to help
1682
1710
it to find libraries and programs with nonstandard names/locations.
4853
4881
  ;;
4854
4882
*-*-irix6*)
4855
4883
  # Find out which ABI we are using.
4856
 
  echo '#line 4856 "configure"' > conftest.$ac_ext
 
4884
  echo '#line 4884 "configure"' > conftest.$ac_ext
4857
4885
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4858
4886
  (eval $ac_compile) 2>&5
4859
4887
  ac_status=$?
7905
7933
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7906
7934
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7907
7935
   -e 's:$: $lt_compiler_flag:'`
7908
 
   (eval echo "\"\$as_me:7908: $lt_compile\"" >&5)
 
7936
   (eval echo "\"\$as_me:7936: $lt_compile\"" >&5)
7909
7937
   (eval "$lt_compile" 2>conftest.err)
7910
7938
   ac_status=$?
7911
7939
   cat conftest.err >&5
7912
 
   echo "$as_me:7912: \$? = $ac_status" >&5
 
7940
   echo "$as_me:7940: \$? = $ac_status" >&5
7913
7941
   if (exit $ac_status) && test -s "$ac_outfile"; then
7914
7942
     # The compiler can only warn and ignore the option if not recognized
7915
7943
     # So say no if there are warnings other than the usual output.
8195
8223
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8196
8224
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8197
8225
   -e 's:$: $lt_compiler_flag:'`
8198
 
   (eval echo "\"\$as_me:8198: $lt_compile\"" >&5)
 
8226
   (eval echo "\"\$as_me:8226: $lt_compile\"" >&5)
8199
8227
   (eval "$lt_compile" 2>conftest.err)
8200
8228
   ac_status=$?
8201
8229
   cat conftest.err >&5
8202
 
   echo "$as_me:8202: \$? = $ac_status" >&5
 
8230
   echo "$as_me:8230: \$? = $ac_status" >&5
8203
8231
   if (exit $ac_status) && test -s "$ac_outfile"; then
8204
8232
     # The compiler can only warn and ignore the option if not recognized
8205
8233
     # So say no if there are warnings other than the usual output.
8299
8327
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8300
8328
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8301
8329
   -e 's:$: $lt_compiler_flag:'`
8302
 
   (eval echo "\"\$as_me:8302: $lt_compile\"" >&5)
 
8330
   (eval echo "\"\$as_me:8330: $lt_compile\"" >&5)
8303
8331
   (eval "$lt_compile" 2>out/conftest.err)
8304
8332
   ac_status=$?
8305
8333
   cat out/conftest.err >&5
8306
 
   echo "$as_me:8306: \$? = $ac_status" >&5
 
8334
   echo "$as_me:8334: \$? = $ac_status" >&5
8307
8335
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8308
8336
   then
8309
8337
     # The compiler can only warn and ignore the option if not recognized
10676
10704
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10677
10705
  lt_status=$lt_dlunknown
10678
10706
  cat > conftest.$ac_ext <<EOF
10679
 
#line 10679 "configure"
 
10707
#line 10707 "configure"
10680
10708
#include "confdefs.h"
10681
10709
 
10682
10710
#if HAVE_DLFCN_H
10776
10804
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10777
10805
  lt_status=$lt_dlunknown
10778
10806
  cat > conftest.$ac_ext <<EOF
10779
 
#line 10779 "configure"
 
10807
#line 10807 "configure"
10780
10808
#include "confdefs.h"
10781
10809
 
10782
10810
#if HAVE_DLFCN_H
13177
13205
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13178
13206
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13179
13207
   -e 's:$: $lt_compiler_flag:'`
13180
 
   (eval echo "\"\$as_me:13180: $lt_compile\"" >&5)
 
13208
   (eval echo "\"\$as_me:13208: $lt_compile\"" >&5)
13181
13209
   (eval "$lt_compile" 2>conftest.err)
13182
13210
   ac_status=$?
13183
13211
   cat conftest.err >&5
13184
 
   echo "$as_me:13184: \$? = $ac_status" >&5
 
13212
   echo "$as_me:13212: \$? = $ac_status" >&5
13185
13213
   if (exit $ac_status) && test -s "$ac_outfile"; then
13186
13214
     # The compiler can only warn and ignore the option if not recognized
13187
13215
     # So say no if there are warnings other than the usual output.
13281
13309
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13282
13310
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13283
13311
   -e 's:$: $lt_compiler_flag:'`
13284
 
   (eval echo "\"\$as_me:13284: $lt_compile\"" >&5)
 
13312
   (eval echo "\"\$as_me:13312: $lt_compile\"" >&5)
13285
13313
   (eval "$lt_compile" 2>out/conftest.err)
13286
13314
   ac_status=$?
13287
13315
   cat out/conftest.err >&5
13288
 
   echo "$as_me:13288: \$? = $ac_status" >&5
 
13316
   echo "$as_me:13316: \$? = $ac_status" >&5
13289
13317
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
13290
13318
   then
13291
13319
     # The compiler can only warn and ignore the option if not recognized
14879
14907
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14880
14908
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14881
14909
   -e 's:$: $lt_compiler_flag:'`
14882
 
   (eval echo "\"\$as_me:14882: $lt_compile\"" >&5)
 
14910
   (eval echo "\"\$as_me:14910: $lt_compile\"" >&5)
14883
14911
   (eval "$lt_compile" 2>conftest.err)
14884
14912
   ac_status=$?
14885
14913
   cat conftest.err >&5
14886
 
   echo "$as_me:14886: \$? = $ac_status" >&5
 
14914
   echo "$as_me:14914: \$? = $ac_status" >&5
14887
14915
   if (exit $ac_status) && test -s "$ac_outfile"; then
14888
14916
     # The compiler can only warn and ignore the option if not recognized
14889
14917
     # So say no if there are warnings other than the usual output.
14983
15011
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14984
15012
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14985
15013
   -e 's:$: $lt_compiler_flag:'`
14986
 
   (eval echo "\"\$as_me:14986: $lt_compile\"" >&5)
 
15014
   (eval echo "\"\$as_me:15014: $lt_compile\"" >&5)
14987
15015
   (eval "$lt_compile" 2>out/conftest.err)
14988
15016
   ac_status=$?
14989
15017
   cat out/conftest.err >&5
14990
 
   echo "$as_me:14990: \$? = $ac_status" >&5
 
15018
   echo "$as_me:15018: \$? = $ac_status" >&5
14991
15019
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
14992
15020
   then
14993
15021
     # The compiler can only warn and ignore the option if not recognized
17203
17231
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17204
17232
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17205
17233
   -e 's:$: $lt_compiler_flag:'`
17206
 
   (eval echo "\"\$as_me:17206: $lt_compile\"" >&5)
 
17234
   (eval echo "\"\$as_me:17234: $lt_compile\"" >&5)
17207
17235
   (eval "$lt_compile" 2>conftest.err)
17208
17236
   ac_status=$?
17209
17237
   cat conftest.err >&5
17210
 
   echo "$as_me:17210: \$? = $ac_status" >&5
 
17238
   echo "$as_me:17238: \$? = $ac_status" >&5
17211
17239
   if (exit $ac_status) && test -s "$ac_outfile"; then
17212
17240
     # The compiler can only warn and ignore the option if not recognized
17213
17241
     # So say no if there are warnings other than the usual output.
17493
17521
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17494
17522
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17495
17523
   -e 's:$: $lt_compiler_flag:'`
17496
 
   (eval echo "\"\$as_me:17496: $lt_compile\"" >&5)
 
17524
   (eval echo "\"\$as_me:17524: $lt_compile\"" >&5)
17497
17525
   (eval "$lt_compile" 2>conftest.err)
17498
17526
   ac_status=$?
17499
17527
   cat conftest.err >&5
17500
 
   echo "$as_me:17500: \$? = $ac_status" >&5
 
17528
   echo "$as_me:17528: \$? = $ac_status" >&5
17501
17529
   if (exit $ac_status) && test -s "$ac_outfile"; then
17502
17530
     # The compiler can only warn and ignore the option if not recognized
17503
17531
     # So say no if there are warnings other than the usual output.
17597
17625
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17598
17626
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17599
17627
   -e 's:$: $lt_compiler_flag:'`
17600
 
   (eval echo "\"\$as_me:17600: $lt_compile\"" >&5)
 
17628
   (eval echo "\"\$as_me:17628: $lt_compile\"" >&5)
17601
17629
   (eval "$lt_compile" 2>out/conftest.err)
17602
17630
   ac_status=$?
17603
17631
   cat out/conftest.err >&5
17604
 
   echo "$as_me:17604: \$? = $ac_status" >&5
 
17632
   echo "$as_me:17632: \$? = $ac_status" >&5
17605
17633
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
17606
17634
   then
17607
17635
     # The compiler can only warn and ignore the option if not recognized
20554
20582
 
20555
20583
 
20556
20584
 
20557
 
############################################
20558
 
# we need dlopen/dlclose/dlsym/dlerror for PAM, the password database plugins and the plugin loading code
20559
 
#AC_SEARCH_LIBS(dlopen, [dl])
20560
 
# dlopen/dlclose/dlsym/dlerror will be checked again later and defines will be set then
20561
 
 
20562
 
 
20563
 
{ echo "$as_me:$LINENO: checking for gethostbyname" >&5
20564
 
echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
20565
 
if test "${ac_cv_func_gethostbyname+set}" = set; then
20566
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20567
 
else
20568
 
  cat >conftest.$ac_ext <<_ACEOF
20569
 
/* confdefs.h.  */
20570
 
_ACEOF
20571
 
cat confdefs.h >>conftest.$ac_ext
20572
 
cat >>conftest.$ac_ext <<_ACEOF
20573
 
/* end confdefs.h.  */
20574
 
/* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
20575
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20576
 
#define gethostbyname innocuous_gethostbyname
20577
 
 
20578
 
/* System header to define __stub macros and hopefully few prototypes,
20579
 
    which can conflict with char gethostbyname (); below.
20580
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20581
 
    <limits.h> exists even on freestanding compilers.  */
20582
 
 
20583
 
#ifdef __STDC__
20584
 
# include <limits.h>
20585
 
#else
20586
 
# include <assert.h>
20587
 
#endif
20588
 
 
20589
 
#undef gethostbyname
20590
 
 
20591
 
/* Override any GCC internal prototype to avoid an error.
20592
 
   Use char because int might match the return type of a GCC
20593
 
   builtin and then its argument prototype would still apply.  */
20594
 
#ifdef __cplusplus
20595
 
extern "C"
20596
 
#endif
20597
 
char gethostbyname ();
20598
 
/* The GNU C library defines this for functions which it implements
20599
 
    to always fail with ENOSYS.  Some functions are actually named
20600
 
    something starting with __ and the normal name is an alias.  */
20601
 
#if defined __stub_gethostbyname || defined __stub___gethostbyname
20602
 
choke me
20603
 
#endif
20604
 
 
20605
 
int
20606
 
main ()
20607
 
{
20608
 
return gethostbyname ();
20609
 
  ;
20610
 
  return 0;
20611
 
}
20612
 
_ACEOF
20613
 
rm -f conftest.$ac_objext conftest$ac_exeext
20614
 
if { (ac_try="$ac_link"
20615
 
case "(($ac_try" in
20616
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20617
 
  *) ac_try_echo=$ac_try;;
20618
 
esac
20619
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20620
 
  (eval "$ac_link") 2>conftest.er1
20621
 
  ac_status=$?
20622
 
  grep -v '^ *+' conftest.er1 >conftest.err
20623
 
  rm -f conftest.er1
20624
 
  cat conftest.err >&5
20625
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20626
 
  (exit $ac_status); } && {
20627
 
         test -z "$ac_c_werror_flag" ||
20628
 
         test ! -s conftest.err
20629
 
       } && test -s conftest$ac_exeext &&
20630
 
       $as_test_x conftest$ac_exeext; then
20631
 
  ac_cv_func_gethostbyname=yes
20632
 
else
20633
 
  echo "$as_me: failed program was:" >&5
20634
 
sed 's/^/| /' conftest.$ac_ext >&5
20635
 
 
20636
 
        ac_cv_func_gethostbyname=no
20637
 
fi
20638
 
 
20639
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20640
 
      conftest$ac_exeext conftest.$ac_ext
20641
 
fi
20642
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
20643
 
echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
20644
 
if test $ac_cv_func_gethostbyname = yes; then
20645
 
  :
20646
 
else
20647
 
 
20648
 
{ echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
20649
 
echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
20650
 
if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
20651
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20652
 
else
20653
 
  ac_check_lib_save_LIBS=$LIBS
20654
 
LIBS="-lnsl  $LIBS"
20655
 
cat >conftest.$ac_ext <<_ACEOF
20656
 
/* confdefs.h.  */
20657
 
_ACEOF
20658
 
cat confdefs.h >>conftest.$ac_ext
20659
 
cat >>conftest.$ac_ext <<_ACEOF
20660
 
/* end confdefs.h.  */
20661
 
 
20662
 
/* Override any GCC internal prototype to avoid an error.
20663
 
   Use char because int might match the return type of a GCC
20664
 
   builtin and then its argument prototype would still apply.  */
20665
 
#ifdef __cplusplus
20666
 
extern "C"
20667
 
#endif
20668
 
char gethostbyname ();
20669
 
int
20670
 
main ()
20671
 
{
20672
 
return gethostbyname ();
20673
 
  ;
20674
 
  return 0;
20675
 
}
20676
 
_ACEOF
20677
 
rm -f conftest.$ac_objext conftest$ac_exeext
20678
 
if { (ac_try="$ac_link"
20679
 
case "(($ac_try" in
20680
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20681
 
  *) ac_try_echo=$ac_try;;
20682
 
esac
20683
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20684
 
  (eval "$ac_link") 2>conftest.er1
20685
 
  ac_status=$?
20686
 
  grep -v '^ *+' conftest.er1 >conftest.err
20687
 
  rm -f conftest.er1
20688
 
  cat conftest.err >&5
20689
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20690
 
  (exit $ac_status); } && {
20691
 
         test -z "$ac_c_werror_flag" ||
20692
 
         test ! -s conftest.err
20693
 
       } && test -s conftest$ac_exeext &&
20694
 
       $as_test_x conftest$ac_exeext; then
20695
 
  ac_cv_lib_nsl_gethostbyname=yes
20696
 
else
20697
 
  echo "$as_me: failed program was:" >&5
20698
 
sed 's/^/| /' conftest.$ac_ext >&5
20699
 
 
20700
 
        ac_cv_lib_nsl_gethostbyname=no
20701
 
fi
20702
 
 
20703
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20704
 
      conftest$ac_exeext conftest.$ac_ext
20705
 
LIBS=$ac_check_lib_save_LIBS
20706
 
fi
20707
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
20708
 
echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
20709
 
if test $ac_cv_lib_nsl_gethostbyname = yes; then
20710
 
  cat >>confdefs.h <<_ACEOF
20711
 
#define HAVE_LIBNSL 1
20712
 
_ACEOF
20713
 
 
20714
 
  LIBS="-lnsl $LIBS"
20715
 
 
20716
 
fi
20717
 
 
20718
 
fi
20719
 
 
20720
 
{ echo "$as_me:$LINENO: checking for connect" >&5
20721
 
echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
20722
 
if test "${ac_cv_func_connect+set}" = set; then
20723
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20724
 
else
20725
 
  cat >conftest.$ac_ext <<_ACEOF
20726
 
/* confdefs.h.  */
20727
 
_ACEOF
20728
 
cat confdefs.h >>conftest.$ac_ext
20729
 
cat >>conftest.$ac_ext <<_ACEOF
20730
 
/* end confdefs.h.  */
20731
 
/* Define connect to an innocuous variant, in case <limits.h> declares connect.
20732
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20733
 
#define connect innocuous_connect
20734
 
 
20735
 
/* System header to define __stub macros and hopefully few prototypes,
20736
 
    which can conflict with char connect (); below.
20737
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20738
 
    <limits.h> exists even on freestanding compilers.  */
20739
 
 
20740
 
#ifdef __STDC__
20741
 
# include <limits.h>
20742
 
#else
20743
 
# include <assert.h>
20744
 
#endif
20745
 
 
20746
 
#undef connect
20747
 
 
20748
 
/* Override any GCC internal prototype to avoid an error.
20749
 
   Use char because int might match the return type of a GCC
20750
 
   builtin and then its argument prototype would still apply.  */
20751
 
#ifdef __cplusplus
20752
 
extern "C"
20753
 
#endif
20754
 
char connect ();
20755
 
/* The GNU C library defines this for functions which it implements
20756
 
    to always fail with ENOSYS.  Some functions are actually named
20757
 
    something starting with __ and the normal name is an alias.  */
20758
 
#if defined __stub_connect || defined __stub___connect
20759
 
choke me
20760
 
#endif
20761
 
 
20762
 
int
20763
 
main ()
20764
 
{
20765
 
return connect ();
20766
 
  ;
20767
 
  return 0;
20768
 
}
20769
 
_ACEOF
20770
 
rm -f conftest.$ac_objext conftest$ac_exeext
20771
 
if { (ac_try="$ac_link"
20772
 
case "(($ac_try" in
20773
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20774
 
  *) ac_try_echo=$ac_try;;
20775
 
esac
20776
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20777
 
  (eval "$ac_link") 2>conftest.er1
20778
 
  ac_status=$?
20779
 
  grep -v '^ *+' conftest.er1 >conftest.err
20780
 
  rm -f conftest.er1
20781
 
  cat conftest.err >&5
20782
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20783
 
  (exit $ac_status); } && {
20784
 
         test -z "$ac_c_werror_flag" ||
20785
 
         test ! -s conftest.err
20786
 
       } && test -s conftest$ac_exeext &&
20787
 
       $as_test_x conftest$ac_exeext; then
20788
 
  ac_cv_func_connect=yes
20789
 
else
20790
 
  echo "$as_me: failed program was:" >&5
20791
 
sed 's/^/| /' conftest.$ac_ext >&5
20792
 
 
20793
 
        ac_cv_func_connect=no
20794
 
fi
20795
 
 
20796
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20797
 
      conftest$ac_exeext conftest.$ac_ext
20798
 
fi
20799
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
20800
 
echo "${ECHO_T}$ac_cv_func_connect" >&6; }
20801
 
if test $ac_cv_func_connect = yes; then
20802
 
  :
20803
 
else
20804
 
 
20805
 
{ echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
20806
 
echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
20807
 
if test "${ac_cv_lib_socket_connect+set}" = set; then
20808
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20809
 
else
20810
 
  ac_check_lib_save_LIBS=$LIBS
20811
 
LIBS="-lsocket  $LIBS"
20812
 
cat >conftest.$ac_ext <<_ACEOF
20813
 
/* confdefs.h.  */
20814
 
_ACEOF
20815
 
cat confdefs.h >>conftest.$ac_ext
20816
 
cat >>conftest.$ac_ext <<_ACEOF
20817
 
/* end confdefs.h.  */
20818
 
 
20819
 
/* Override any GCC internal prototype to avoid an error.
20820
 
   Use char because int might match the return type of a GCC
20821
 
   builtin and then its argument prototype would still apply.  */
20822
 
#ifdef __cplusplus
20823
 
extern "C"
20824
 
#endif
20825
 
char connect ();
20826
 
int
20827
 
main ()
20828
 
{
20829
 
return connect ();
20830
 
  ;
20831
 
  return 0;
20832
 
}
20833
 
_ACEOF
20834
 
rm -f conftest.$ac_objext conftest$ac_exeext
20835
 
if { (ac_try="$ac_link"
20836
 
case "(($ac_try" in
20837
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20838
 
  *) ac_try_echo=$ac_try;;
20839
 
esac
20840
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20841
 
  (eval "$ac_link") 2>conftest.er1
20842
 
  ac_status=$?
20843
 
  grep -v '^ *+' conftest.er1 >conftest.err
20844
 
  rm -f conftest.er1
20845
 
  cat conftest.err >&5
20846
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20847
 
  (exit $ac_status); } && {
20848
 
         test -z "$ac_c_werror_flag" ||
20849
 
         test ! -s conftest.err
20850
 
       } && test -s conftest$ac_exeext &&
20851
 
       $as_test_x conftest$ac_exeext; then
20852
 
  ac_cv_lib_socket_connect=yes
20853
 
else
20854
 
  echo "$as_me: failed program was:" >&5
20855
 
sed 's/^/| /' conftest.$ac_ext >&5
20856
 
 
20857
 
        ac_cv_lib_socket_connect=no
20858
 
fi
20859
 
 
20860
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20861
 
      conftest$ac_exeext conftest.$ac_ext
20862
 
LIBS=$ac_check_lib_save_LIBS
20863
 
fi
20864
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
20865
 
echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
20866
 
if test $ac_cv_lib_socket_connect = yes; then
20867
 
  cat >>confdefs.h <<_ACEOF
20868
 
#define HAVE_LIBSOCKET 1
20869
 
_ACEOF
20870
 
 
20871
 
  LIBS="-lsocket $LIBS"
20872
 
 
20873
 
fi
20874
 
 
20875
 
fi
20876
 
 
20877
 
 
20878
 
 
20879
 
 
20880
 
#
20881
 
# Check presence of some functions
20882
 
#
20883
 
# Check for XPG4 access() function
20884
 
# Be sure to test before adding AFS libs in LIBS path as AFS lib
20885
 
# has such a function that works only on AFS filesystems.
20886
 
 
20887
 
for ac_func in access
20888
 
do
20889
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20890
 
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
20891
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
20892
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
20893
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20894
 
else
20895
 
  cat >conftest.$ac_ext <<_ACEOF
20896
 
/* confdefs.h.  */
20897
 
_ACEOF
20898
 
cat confdefs.h >>conftest.$ac_ext
20899
 
cat >>conftest.$ac_ext <<_ACEOF
20900
 
/* end confdefs.h.  */
20901
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20902
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20903
 
#define $ac_func innocuous_$ac_func
20904
 
 
20905
 
/* System header to define __stub macros and hopefully few prototypes,
20906
 
    which can conflict with char $ac_func (); below.
20907
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20908
 
    <limits.h> exists even on freestanding compilers.  */
20909
 
 
20910
 
#ifdef __STDC__
20911
 
# include <limits.h>
20912
 
#else
20913
 
# include <assert.h>
20914
 
#endif
20915
 
 
20916
 
#undef $ac_func
20917
 
 
20918
 
/* Override any GCC internal prototype to avoid an error.
20919
 
   Use char because int might match the return type of a GCC
20920
 
   builtin and then its argument prototype would still apply.  */
20921
 
#ifdef __cplusplus
20922
 
extern "C"
20923
 
#endif
20924
 
char $ac_func ();
20925
 
/* The GNU C library defines this for functions which it implements
20926
 
    to always fail with ENOSYS.  Some functions are actually named
20927
 
    something starting with __ and the normal name is an alias.  */
20928
 
#if defined __stub_$ac_func || defined __stub___$ac_func
20929
 
choke me
20930
 
#endif
20931
 
 
20932
 
int
20933
 
main ()
20934
 
{
20935
 
return $ac_func ();
20936
 
  ;
20937
 
  return 0;
20938
 
}
20939
 
_ACEOF
20940
 
rm -f conftest.$ac_objext conftest$ac_exeext
20941
 
if { (ac_try="$ac_link"
20942
 
case "(($ac_try" in
20943
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20944
 
  *) ac_try_echo=$ac_try;;
20945
 
esac
20946
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20947
 
  (eval "$ac_link") 2>conftest.er1
20948
 
  ac_status=$?
20949
 
  grep -v '^ *+' conftest.er1 >conftest.err
20950
 
  rm -f conftest.er1
20951
 
  cat conftest.err >&5
20952
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20953
 
  (exit $ac_status); } && {
20954
 
         test -z "$ac_c_werror_flag" ||
20955
 
         test ! -s conftest.err
20956
 
       } && test -s conftest$ac_exeext &&
20957
 
       $as_test_x conftest$ac_exeext; then
20958
 
  eval "$as_ac_var=yes"
20959
 
else
20960
 
  echo "$as_me: failed program was:" >&5
20961
 
sed 's/^/| /' conftest.$ac_ext >&5
20962
 
 
20963
 
        eval "$as_ac_var=no"
20964
 
fi
20965
 
 
20966
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20967
 
      conftest$ac_exeext conftest.$ac_ext
20968
 
fi
20969
 
ac_res=`eval echo '${'$as_ac_var'}'`
20970
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
20971
 
echo "${ECHO_T}$ac_res" >&6; }
20972
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
20973
 
  cat >>confdefs.h <<_ACEOF
20974
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20975
 
_ACEOF
20976
 
 
20977
 
fi
20978
 
done
20979
 
 
20980
 
#
20981
 
 
20982
 
 
20983
 
for ac_func in pread pwrite
20984
 
do
20985
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20986
 
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
20987
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
20988
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
20989
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20990
 
else
20991
 
  cat >conftest.$ac_ext <<_ACEOF
20992
 
/* confdefs.h.  */
20993
 
_ACEOF
20994
 
cat confdefs.h >>conftest.$ac_ext
20995
 
cat >>conftest.$ac_ext <<_ACEOF
20996
 
/* end confdefs.h.  */
20997
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20998
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20999
 
#define $ac_func innocuous_$ac_func
21000
 
 
21001
 
/* System header to define __stub macros and hopefully few prototypes,
21002
 
    which can conflict with char $ac_func (); below.
21003
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21004
 
    <limits.h> exists even on freestanding compilers.  */
21005
 
 
21006
 
#ifdef __STDC__
21007
 
# include <limits.h>
21008
 
#else
21009
 
# include <assert.h>
21010
 
#endif
21011
 
 
21012
 
#undef $ac_func
21013
 
 
21014
 
/* Override any GCC internal prototype to avoid an error.
21015
 
   Use char because int might match the return type of a GCC
21016
 
   builtin and then its argument prototype would still apply.  */
21017
 
#ifdef __cplusplus
21018
 
extern "C"
21019
 
#endif
21020
 
char $ac_func ();
21021
 
/* The GNU C library defines this for functions which it implements
21022
 
    to always fail with ENOSYS.  Some functions are actually named
21023
 
    something starting with __ and the normal name is an alias.  */
21024
 
#if defined __stub_$ac_func || defined __stub___$ac_func
21025
 
choke me
21026
 
#endif
21027
 
 
21028
 
int
21029
 
main ()
21030
 
{
21031
 
return $ac_func ();
21032
 
  ;
21033
 
  return 0;
21034
 
}
21035
 
_ACEOF
21036
 
rm -f conftest.$ac_objext conftest$ac_exeext
21037
 
if { (ac_try="$ac_link"
21038
 
case "(($ac_try" in
21039
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21040
 
  *) ac_try_echo=$ac_try;;
21041
 
esac
21042
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21043
 
  (eval "$ac_link") 2>conftest.er1
21044
 
  ac_status=$?
21045
 
  grep -v '^ *+' conftest.er1 >conftest.err
21046
 
  rm -f conftest.er1
21047
 
  cat conftest.err >&5
21048
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21049
 
  (exit $ac_status); } && {
21050
 
         test -z "$ac_c_werror_flag" ||
21051
 
         test ! -s conftest.err
21052
 
       } && test -s conftest$ac_exeext &&
21053
 
       $as_test_x conftest$ac_exeext; then
21054
 
  eval "$as_ac_var=yes"
21055
 
else
21056
 
  echo "$as_me: failed program was:" >&5
21057
 
sed 's/^/| /' conftest.$ac_ext >&5
21058
 
 
21059
 
        eval "$as_ac_var=no"
21060
 
fi
21061
 
 
21062
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21063
 
      conftest$ac_exeext conftest.$ac_ext
21064
 
fi
21065
 
ac_res=`eval echo '${'$as_ac_var'}'`
21066
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
21067
 
echo "${ECHO_T}$ac_res" >&6; }
21068
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
21069
 
  cat >>confdefs.h <<_ACEOF
21070
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21071
 
_ACEOF
21072
 
 
21073
 
fi
21074
 
done
21075
 
 
21076
 
 
21077
 
 
21078
20585
 
21079
20586
 
21080
20587
 
21585
21092
 
21586
21093
 
21587
21094
 
21588
 
for ac_header in fcntl.h limits.h stdint.h strings.h time.h sys/param.h sys/fcntl.h sys/file.h sys/ioctl.h sys/time.h sys/mnttab.h sys/statvfs.h sys/stat.h sys/vfs.h mntent.h syslog.h unistd.h termios.h sys/termios.h netdb.h sgtty.h ufs/quota.h mount.h statfs.h sys/types.h dlfcn.h errno.h sys/errno.h sys/uio.h
 
21095
 
 
21096
 
 
21097
 
 
21098
for ac_header in fcntl.h limits.h stdint.h strings.h time.h sys/param.h sys/fcntl.h sys/file.h sys/ioctl.h sys/time.h sys/mnttab.h sys/statvfs.h sys/stat.h sys/vfs.h mntent.h syslog.h unistd.h termios.h sys/termios.h netdb.h sgtty.h ufs/quota.h mount.h statfs.h sys/types.h dlfcn.h errno.h sys/errno.h sys/uio.h langinfo.h locale.h sys/filio.h
21589
21099
do
21590
21100
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21591
21101
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21921
21431
done
21922
21432
 
21923
21433
 
21924
 
 
21925
 
 
21926
 
 
21927
 
for ac_header in langinfo.h locale.h sys/filio.h
21928
 
do
21929
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21930
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21931
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
21932
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21933
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21934
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21935
 
fi
21936
 
ac_res=`eval echo '${'$as_ac_Header'}'`
21937
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
21938
 
echo "${ECHO_T}$ac_res" >&6; }
21939
 
else
21940
 
  # Is the header compilable?
21941
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
21942
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
21943
 
cat >conftest.$ac_ext <<_ACEOF
21944
 
/* confdefs.h.  */
21945
 
_ACEOF
21946
 
cat confdefs.h >>conftest.$ac_ext
21947
 
cat >>conftest.$ac_ext <<_ACEOF
21948
 
/* end confdefs.h.  */
21949
 
$ac_includes_default
21950
 
#include <$ac_header>
21951
 
_ACEOF
21952
 
rm -f conftest.$ac_objext
21953
 
if { (ac_try="$ac_compile"
21954
 
case "(($ac_try" in
21955
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21956
 
  *) ac_try_echo=$ac_try;;
21957
 
esac
21958
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21959
 
  (eval "$ac_compile") 2>conftest.er1
21960
 
  ac_status=$?
21961
 
  grep -v '^ *+' conftest.er1 >conftest.err
21962
 
  rm -f conftest.er1
21963
 
  cat conftest.err >&5
21964
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21965
 
  (exit $ac_status); } && {
21966
 
         test -z "$ac_c_werror_flag" ||
21967
 
         test ! -s conftest.err
21968
 
       } && test -s conftest.$ac_objext; then
21969
 
  ac_header_compiler=yes
21970
 
else
21971
 
  echo "$as_me: failed program was:" >&5
21972
 
sed 's/^/| /' conftest.$ac_ext >&5
21973
 
 
21974
 
        ac_header_compiler=no
21975
 
fi
21976
 
 
21977
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21978
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21979
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
21980
 
 
21981
 
# Is the header present?
21982
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
21983
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
21984
 
cat >conftest.$ac_ext <<_ACEOF
21985
 
/* confdefs.h.  */
21986
 
_ACEOF
21987
 
cat confdefs.h >>conftest.$ac_ext
21988
 
cat >>conftest.$ac_ext <<_ACEOF
21989
 
/* end confdefs.h.  */
21990
 
#include <$ac_header>
21991
 
_ACEOF
21992
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
21993
 
case "(($ac_try" in
21994
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21995
 
  *) ac_try_echo=$ac_try;;
21996
 
esac
21997
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21998
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21999
 
  ac_status=$?
22000
 
  grep -v '^ *+' conftest.er1 >conftest.err
22001
 
  rm -f conftest.er1
22002
 
  cat conftest.err >&5
22003
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22004
 
  (exit $ac_status); } >/dev/null && {
22005
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
22006
 
         test ! -s conftest.err
22007
 
       }; then
22008
 
  ac_header_preproc=yes
22009
 
else
22010
 
  echo "$as_me: failed program was:" >&5
22011
 
sed 's/^/| /' conftest.$ac_ext >&5
22012
 
 
22013
 
  ac_header_preproc=no
22014
 
fi
22015
 
 
22016
 
rm -f conftest.err conftest.$ac_ext
22017
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22018
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
22019
 
 
22020
 
# So?  What about this header?
22021
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22022
 
  yes:no: )
22023
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22024
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22025
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22026
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22027
 
    ac_header_preproc=yes
22028
 
    ;;
22029
 
  no:yes:* )
22030
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22031
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22032
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
22033
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
22034
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22035
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22036
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
22037
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
22038
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22039
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22040
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22041
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22042
 
 
22043
 
    ;;
22044
 
esac
22045
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
22046
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
22047
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22048
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22049
 
else
22050
 
  eval "$as_ac_Header=\$ac_header_preproc"
22051
 
fi
22052
 
ac_res=`eval echo '${'$as_ac_Header'}'`
22053
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
22054
 
echo "${ECHO_T}$ac_res" >&6; }
22055
 
 
22056
 
fi
22057
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
22058
 
  cat >>confdefs.h <<_ACEOF
22059
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22060
 
_ACEOF
22061
 
 
22062
 
fi
22063
 
 
22064
 
done
22065
 
 
22066
 
 
22067
21434
{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
22068
21435
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
22069
21436
if test "${ac_cv_c_const+set}" = set; then
23554
22921
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
23555
22922
  lt_status=$lt_dlunknown
23556
22923
  cat > conftest.$ac_ext <<EOF
23557
 
#line 23557 "configure"
 
22924
#line 22924 "configure"
23558
22925
#include "confdefs.h"
23559
22926
 
23560
22927
#if HAVE_DLFCN_H
23660
23027
 
23661
23028
fi
23662
23029
 
23663
 
 
23664
23030
{ echo "$as_me:$LINENO: checking type of array argument to getgroups" >&5
23665
23031
echo $ECHO_N "checking type of array argument to getgroups... $ECHO_C" >&6; }
23666
23032
if test "${ac_cv_type_getgroups+set}" = set; then
25143
24509
 
25144
24510
 
25145
24511
 
25146
 
for ac_func in backtrace_symbols setlocale nl_langinfo strlcpy strlcat setlinebuf dirfd pselect
 
24512
 
 
24513
 
 
24514
 
 
24515
for ac_func in backtrace_symbols setlocale nl_langinfo strlcpy strlcat setlinebuf dirfd pselect access pread pwrite
25147
24516
do
25148
24517
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25149
24518
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
25344
24713
fi
25345
24714
done
25346
24715
 
25347
 
{ echo "$as_me:$LINENO: checking for renameat" >&5
25348
 
echo $ECHO_N "checking for renameat... $ECHO_C" >&6; }
25349
 
if test "${ac_cv_func_renameat+set}" = set; then
 
24716
ac_neta_haveatfuncs=yes
 
24717
 
 
24718
 
 
24719
 
 
24720
 
 
24721
for ac_func in openat renameat fstatat unlinkat
 
24722
do
 
24723
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
24724
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
 
24725
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
24726
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25350
24727
  echo $ECHO_N "(cached) $ECHO_C" >&6
25351
24728
else
25352
24729
  cat >conftest.$ac_ext <<_ACEOF
25355
24732
cat confdefs.h >>conftest.$ac_ext
25356
24733
cat >>conftest.$ac_ext <<_ACEOF
25357
24734
/* end confdefs.h.  */
25358
 
/* Define renameat to an innocuous variant, in case <limits.h> declares renameat.
 
24735
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25359
24736
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25360
 
#define renameat innocuous_renameat
 
24737
#define $ac_func innocuous_$ac_func
25361
24738
 
25362
24739
/* System header to define __stub macros and hopefully few prototypes,
25363
 
    which can conflict with char renameat (); below.
 
24740
    which can conflict with char $ac_func (); below.
25364
24741
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25365
24742
    <limits.h> exists even on freestanding compilers.  */
25366
24743
 
25370
24747
# include <assert.h>
25371
24748
#endif
25372
24749
 
25373
 
#undef renameat
 
24750
#undef $ac_func
25374
24751
 
25375
24752
/* Override any GCC internal prototype to avoid an error.
25376
24753
   Use char because int might match the return type of a GCC
25378
24755
#ifdef __cplusplus
25379
24756
extern "C"
25380
24757
#endif
25381
 
char renameat ();
 
24758
char $ac_func ();
25382
24759
/* The GNU C library defines this for functions which it implements
25383
24760
    to always fail with ENOSYS.  Some functions are actually named
25384
24761
    something starting with __ and the normal name is an alias.  */
25385
 
#if defined __stub_renameat || defined __stub___renameat
 
24762
#if defined __stub_$ac_func || defined __stub___$ac_func
25386
24763
choke me
25387
24764
#endif
25388
24765
 
25389
24766
int
25390
24767
main ()
25391
24768
{
25392
 
return renameat ();
 
24769
return $ac_func ();
25393
24770
  ;
25394
24771
  return 0;
25395
24772
}
25412
24789
         test ! -s conftest.err
25413
24790
       } && test -s conftest$ac_exeext &&
25414
24791
       $as_test_x conftest$ac_exeext; then
25415
 
  ac_cv_func_renameat=yes
 
24792
  eval "$as_ac_var=yes"
25416
24793
else
25417
24794
  echo "$as_me: failed program was:" >&5
25418
24795
sed 's/^/| /' conftest.$ac_ext >&5
25419
24796
 
25420
 
        ac_cv_func_renameat=no
 
24797
        eval "$as_ac_var=no"
25421
24798
fi
25422
24799
 
25423
24800
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25424
24801
      conftest$ac_exeext conftest.$ac_ext
25425
24802
fi
25426
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_renameat" >&5
25427
 
echo "${ECHO_T}$ac_cv_func_renameat" >&6; }
25428
 
if test $ac_cv_func_renameat = yes; then
 
24803
ac_res=`eval echo '${'$as_ac_var'}'`
 
24804
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
24805
echo "${ECHO_T}$ac_res" >&6; }
 
24806
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
24807
  cat >>confdefs.h <<_ACEOF
 
24808
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
24809
_ACEOF
 
24810
 
 
24811
else
 
24812
  ac_neta_haveatfuncs=no
 
24813
fi
 
24814
done
 
24815
 
 
24816
if test x"$ac_neta_haveatfuncs" = x"yes" ; then
25429
24817
 
25430
24818
cat >>confdefs.h <<\_ACEOF
25431
24819
#define _ATFILE_SOURCE 1
25432
24820
_ACEOF
25433
24821
 
 
24822
 
 
24823
cat >>confdefs.h <<\_ACEOF
 
24824
#define HAVE_ATFUNCS 1
 
24825
_ACEOF
 
24826
 
25434
24827
fi
25435
24828
 
25436
24829
{ echo "$as_me:$LINENO: checking for struct tm.tm_gmtoff" >&5
25537
24930
 
25538
24931
fi
25539
24932
 
 
24933
 
 
24934
{ echo "$as_me:$LINENO: checking for gethostbyname" >&5
 
24935
echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
 
24936
if test "${ac_cv_func_gethostbyname+set}" = set; then
 
24937
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
24938
else
 
24939
  cat >conftest.$ac_ext <<_ACEOF
 
24940
/* confdefs.h.  */
 
24941
_ACEOF
 
24942
cat confdefs.h >>conftest.$ac_ext
 
24943
cat >>conftest.$ac_ext <<_ACEOF
 
24944
/* end confdefs.h.  */
 
24945
/* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
 
24946
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
24947
#define gethostbyname innocuous_gethostbyname
 
24948
 
 
24949
/* System header to define __stub macros and hopefully few prototypes,
 
24950
    which can conflict with char gethostbyname (); below.
 
24951
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
24952
    <limits.h> exists even on freestanding compilers.  */
 
24953
 
 
24954
#ifdef __STDC__
 
24955
# include <limits.h>
 
24956
#else
 
24957
# include <assert.h>
 
24958
#endif
 
24959
 
 
24960
#undef gethostbyname
 
24961
 
 
24962
/* Override any GCC internal prototype to avoid an error.
 
24963
   Use char because int might match the return type of a GCC
 
24964
   builtin and then its argument prototype would still apply.  */
 
24965
#ifdef __cplusplus
 
24966
extern "C"
 
24967
#endif
 
24968
char gethostbyname ();
 
24969
/* The GNU C library defines this for functions which it implements
 
24970
    to always fail with ENOSYS.  Some functions are actually named
 
24971
    something starting with __ and the normal name is an alias.  */
 
24972
#if defined __stub_gethostbyname || defined __stub___gethostbyname
 
24973
choke me
 
24974
#endif
 
24975
 
 
24976
int
 
24977
main ()
 
24978
{
 
24979
return gethostbyname ();
 
24980
  ;
 
24981
  return 0;
 
24982
}
 
24983
_ACEOF
 
24984
rm -f conftest.$ac_objext conftest$ac_exeext
 
24985
if { (ac_try="$ac_link"
 
24986
case "(($ac_try" in
 
24987
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24988
  *) ac_try_echo=$ac_try;;
 
24989
esac
 
24990
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24991
  (eval "$ac_link") 2>conftest.er1
 
24992
  ac_status=$?
 
24993
  grep -v '^ *+' conftest.er1 >conftest.err
 
24994
  rm -f conftest.er1
 
24995
  cat conftest.err >&5
 
24996
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24997
  (exit $ac_status); } && {
 
24998
         test -z "$ac_c_werror_flag" ||
 
24999
         test ! -s conftest.err
 
25000
       } && test -s conftest$ac_exeext &&
 
25001
       $as_test_x conftest$ac_exeext; then
 
25002
  ac_cv_func_gethostbyname=yes
 
25003
else
 
25004
  echo "$as_me: failed program was:" >&5
 
25005
sed 's/^/| /' conftest.$ac_ext >&5
 
25006
 
 
25007
        ac_cv_func_gethostbyname=no
 
25008
fi
 
25009
 
 
25010
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
25011
      conftest$ac_exeext conftest.$ac_ext
 
25012
fi
 
25013
{ echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
 
25014
echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
 
25015
if test $ac_cv_func_gethostbyname = yes; then
 
25016
  :
 
25017
else
 
25018
 
 
25019
{ echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
 
25020
echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
 
25021
if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
 
25022
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
25023
else
 
25024
  ac_check_lib_save_LIBS=$LIBS
 
25025
LIBS="-lnsl  $LIBS"
 
25026
cat >conftest.$ac_ext <<_ACEOF
 
25027
/* confdefs.h.  */
 
25028
_ACEOF
 
25029
cat confdefs.h >>conftest.$ac_ext
 
25030
cat >>conftest.$ac_ext <<_ACEOF
 
25031
/* end confdefs.h.  */
 
25032
 
 
25033
/* Override any GCC internal prototype to avoid an error.
 
25034
   Use char because int might match the return type of a GCC
 
25035
   builtin and then its argument prototype would still apply.  */
 
25036
#ifdef __cplusplus
 
25037
extern "C"
 
25038
#endif
 
25039
char gethostbyname ();
 
25040
int
 
25041
main ()
 
25042
{
 
25043
return gethostbyname ();
 
25044
  ;
 
25045
  return 0;
 
25046
}
 
25047
_ACEOF
 
25048
rm -f conftest.$ac_objext conftest$ac_exeext
 
25049
if { (ac_try="$ac_link"
 
25050
case "(($ac_try" in
 
25051
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25052
  *) ac_try_echo=$ac_try;;
 
25053
esac
 
25054
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25055
  (eval "$ac_link") 2>conftest.er1
 
25056
  ac_status=$?
 
25057
  grep -v '^ *+' conftest.er1 >conftest.err
 
25058
  rm -f conftest.er1
 
25059
  cat conftest.err >&5
 
25060
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
25061
  (exit $ac_status); } && {
 
25062
         test -z "$ac_c_werror_flag" ||
 
25063
         test ! -s conftest.err
 
25064
       } && test -s conftest$ac_exeext &&
 
25065
       $as_test_x conftest$ac_exeext; then
 
25066
  ac_cv_lib_nsl_gethostbyname=yes
 
25067
else
 
25068
  echo "$as_me: failed program was:" >&5
 
25069
sed 's/^/| /' conftest.$ac_ext >&5
 
25070
 
 
25071
        ac_cv_lib_nsl_gethostbyname=no
 
25072
fi
 
25073
 
 
25074
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
25075
      conftest$ac_exeext conftest.$ac_ext
 
25076
LIBS=$ac_check_lib_save_LIBS
 
25077
fi
 
25078
{ echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
 
25079
echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
 
25080
if test $ac_cv_lib_nsl_gethostbyname = yes; then
 
25081
  cat >>confdefs.h <<_ACEOF
 
25082
#define HAVE_LIBNSL 1
 
25083
_ACEOF
 
25084
 
 
25085
  LIBS="-lnsl $LIBS"
 
25086
 
 
25087
fi
 
25088
 
 
25089
fi
 
25090
 
 
25091
{ echo "$as_me:$LINENO: checking for connect" >&5
 
25092
echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
 
25093
if test "${ac_cv_func_connect+set}" = set; then
 
25094
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
25095
else
 
25096
  cat >conftest.$ac_ext <<_ACEOF
 
25097
/* confdefs.h.  */
 
25098
_ACEOF
 
25099
cat confdefs.h >>conftest.$ac_ext
 
25100
cat >>conftest.$ac_ext <<_ACEOF
 
25101
/* end confdefs.h.  */
 
25102
/* Define connect to an innocuous variant, in case <limits.h> declares connect.
 
25103
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
25104
#define connect innocuous_connect
 
25105
 
 
25106
/* System header to define __stub macros and hopefully few prototypes,
 
25107
    which can conflict with char connect (); below.
 
25108
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
25109
    <limits.h> exists even on freestanding compilers.  */
 
25110
 
 
25111
#ifdef __STDC__
 
25112
# include <limits.h>
 
25113
#else
 
25114
# include <assert.h>
 
25115
#endif
 
25116
 
 
25117
#undef connect
 
25118
 
 
25119
/* Override any GCC internal prototype to avoid an error.
 
25120
   Use char because int might match the return type of a GCC
 
25121
   builtin and then its argument prototype would still apply.  */
 
25122
#ifdef __cplusplus
 
25123
extern "C"
 
25124
#endif
 
25125
char connect ();
 
25126
/* The GNU C library defines this for functions which it implements
 
25127
    to always fail with ENOSYS.  Some functions are actually named
 
25128
    something starting with __ and the normal name is an alias.  */
 
25129
#if defined __stub_connect || defined __stub___connect
 
25130
choke me
 
25131
#endif
 
25132
 
 
25133
int
 
25134
main ()
 
25135
{
 
25136
return connect ();
 
25137
  ;
 
25138
  return 0;
 
25139
}
 
25140
_ACEOF
 
25141
rm -f conftest.$ac_objext conftest$ac_exeext
 
25142
if { (ac_try="$ac_link"
 
25143
case "(($ac_try" in
 
25144
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25145
  *) ac_try_echo=$ac_try;;
 
25146
esac
 
25147
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25148
  (eval "$ac_link") 2>conftest.er1
 
25149
  ac_status=$?
 
25150
  grep -v '^ *+' conftest.er1 >conftest.err
 
25151
  rm -f conftest.er1
 
25152
  cat conftest.err >&5
 
25153
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
25154
  (exit $ac_status); } && {
 
25155
         test -z "$ac_c_werror_flag" ||
 
25156
         test ! -s conftest.err
 
25157
       } && test -s conftest$ac_exeext &&
 
25158
       $as_test_x conftest$ac_exeext; then
 
25159
  ac_cv_func_connect=yes
 
25160
else
 
25161
  echo "$as_me: failed program was:" >&5
 
25162
sed 's/^/| /' conftest.$ac_ext >&5
 
25163
 
 
25164
        ac_cv_func_connect=no
 
25165
fi
 
25166
 
 
25167
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
25168
      conftest$ac_exeext conftest.$ac_ext
 
25169
fi
 
25170
{ echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
 
25171
echo "${ECHO_T}$ac_cv_func_connect" >&6; }
 
25172
if test $ac_cv_func_connect = yes; then
 
25173
  :
 
25174
else
 
25175
 
 
25176
{ echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
 
25177
echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
 
25178
if test "${ac_cv_lib_socket_connect+set}" = set; then
 
25179
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
25180
else
 
25181
  ac_check_lib_save_LIBS=$LIBS
 
25182
LIBS="-lsocket  $LIBS"
 
25183
cat >conftest.$ac_ext <<_ACEOF
 
25184
/* confdefs.h.  */
 
25185
_ACEOF
 
25186
cat confdefs.h >>conftest.$ac_ext
 
25187
cat >>conftest.$ac_ext <<_ACEOF
 
25188
/* end confdefs.h.  */
 
25189
 
 
25190
/* Override any GCC internal prototype to avoid an error.
 
25191
   Use char because int might match the return type of a GCC
 
25192
   builtin and then its argument prototype would still apply.  */
 
25193
#ifdef __cplusplus
 
25194
extern "C"
 
25195
#endif
 
25196
char connect ();
 
25197
int
 
25198
main ()
 
25199
{
 
25200
return connect ();
 
25201
  ;
 
25202
  return 0;
 
25203
}
 
25204
_ACEOF
 
25205
rm -f conftest.$ac_objext conftest$ac_exeext
 
25206
if { (ac_try="$ac_link"
 
25207
case "(($ac_try" in
 
25208
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25209
  *) ac_try_echo=$ac_try;;
 
25210
esac
 
25211
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25212
  (eval "$ac_link") 2>conftest.er1
 
25213
  ac_status=$?
 
25214
  grep -v '^ *+' conftest.er1 >conftest.err
 
25215
  rm -f conftest.er1
 
25216
  cat conftest.err >&5
 
25217
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
25218
  (exit $ac_status); } && {
 
25219
         test -z "$ac_c_werror_flag" ||
 
25220
         test ! -s conftest.err
 
25221
       } && test -s conftest$ac_exeext &&
 
25222
       $as_test_x conftest$ac_exeext; then
 
25223
  ac_cv_lib_socket_connect=yes
 
25224
else
 
25225
  echo "$as_me: failed program was:" >&5
 
25226
sed 's/^/| /' conftest.$ac_ext >&5
 
25227
 
 
25228
        ac_cv_lib_socket_connect=no
 
25229
fi
 
25230
 
 
25231
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
25232
      conftest$ac_exeext conftest.$ac_ext
 
25233
LIBS=$ac_check_lib_save_LIBS
 
25234
fi
 
25235
{ echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
 
25236
echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
 
25237
if test $ac_cv_lib_socket_connect = yes; then
 
25238
  cat >>confdefs.h <<_ACEOF
 
25239
#define HAVE_LIBSOCKET 1
 
25240
_ACEOF
 
25241
 
 
25242
  LIBS="-lsocket $LIBS"
 
25243
 
 
25244
fi
 
25245
 
 
25246
fi
 
25247
 
 
25248
{ echo "$as_me:$LINENO: checking for library containing pthread_sigmask" >&5
 
25249
echo $ECHO_N "checking for library containing pthread_sigmask... $ECHO_C" >&6; }
 
25250
if test "${ac_cv_search_pthread_sigmask+set}" = set; then
 
25251
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
25252
else
 
25253
  ac_func_search_save_LIBS=$LIBS
 
25254
cat >conftest.$ac_ext <<_ACEOF
 
25255
/* confdefs.h.  */
 
25256
_ACEOF
 
25257
cat confdefs.h >>conftest.$ac_ext
 
25258
cat >>conftest.$ac_ext <<_ACEOF
 
25259
/* end confdefs.h.  */
 
25260
 
 
25261
/* Override any GCC internal prototype to avoid an error.
 
25262
   Use char because int might match the return type of a GCC
 
25263
   builtin and then its argument prototype would still apply.  */
 
25264
#ifdef __cplusplus
 
25265
extern "C"
 
25266
#endif
 
25267
char pthread_sigmask ();
 
25268
int
 
25269
main ()
 
25270
{
 
25271
return pthread_sigmask ();
 
25272
  ;
 
25273
  return 0;
 
25274
}
 
25275
_ACEOF
 
25276
for ac_lib in '' pthread; do
 
25277
  if test -z "$ac_lib"; then
 
25278
    ac_res="none required"
 
25279
  else
 
25280
    ac_res=-l$ac_lib
 
25281
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 
25282
  fi
 
25283
  rm -f conftest.$ac_objext conftest$ac_exeext
 
25284
if { (ac_try="$ac_link"
 
25285
case "(($ac_try" in
 
25286
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25287
  *) ac_try_echo=$ac_try;;
 
25288
esac
 
25289
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25290
  (eval "$ac_link") 2>conftest.er1
 
25291
  ac_status=$?
 
25292
  grep -v '^ *+' conftest.er1 >conftest.err
 
25293
  rm -f conftest.er1
 
25294
  cat conftest.err >&5
 
25295
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
25296
  (exit $ac_status); } && {
 
25297
         test -z "$ac_c_werror_flag" ||
 
25298
         test ! -s conftest.err
 
25299
       } && test -s conftest$ac_exeext &&
 
25300
       $as_test_x conftest$ac_exeext; then
 
25301
  ac_cv_search_pthread_sigmask=$ac_res
 
25302
else
 
25303
  echo "$as_me: failed program was:" >&5
 
25304
sed 's/^/| /' conftest.$ac_ext >&5
 
25305
 
 
25306
 
 
25307
fi
 
25308
 
 
25309
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
25310
      conftest$ac_exeext
 
25311
  if test "${ac_cv_search_pthread_sigmask+set}" = set; then
 
25312
  break
 
25313
fi
 
25314
done
 
25315
if test "${ac_cv_search_pthread_sigmask+set}" = set; then
 
25316
  :
 
25317
else
 
25318
  ac_cv_search_pthread_sigmask=no
 
25319
fi
 
25320
rm conftest.$ac_ext
 
25321
LIBS=$ac_func_search_save_LIBS
 
25322
fi
 
25323
{ echo "$as_me:$LINENO: result: $ac_cv_search_pthread_sigmask" >&5
 
25324
echo "${ECHO_T}$ac_cv_search_pthread_sigmask" >&6; }
 
25325
ac_res=$ac_cv_search_pthread_sigmask
 
25326
if test "$ac_res" != no; then
 
25327
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 
25328
 
 
25329
else
 
25330
  { { echo "$as_me:$LINENO: error: cannot find pthread_sigmask in libc or libpthread" >&5
 
25331
echo "$as_me: error: cannot find pthread_sigmask in libc or libpthread" >&2;}
 
25332
   { (exit 1); exit 1; }; }
 
25333
fi
 
25334
 
 
25335
if test x"$ac_cv_search_pthread_sigmask" != x"none required" ; then
 
25336
   PTHREAD_LIBS=$ac_cv_search_pthread_sigmask
 
25337
fi
 
25338
 
25540
25339
cat >confcache <<\_ACEOF
25541
25340
# This file is a shell script that caches the results of configure
25542
25341
# tests run on this system so they can be shared between configure
26519
26318
 
26520
26319
{ echo "$as_me:$LINENO: checking whether to check for 64bit libraries" >&5
26521
26320
echo $ECHO_N "checking whether to check for 64bit libraries... $ECHO_C" >&6; }
26522
 
case $host in
26523
 
*-*-linux*)
26524
 
  # Test if the compiler is 64bit
26525
 
  echo 'int i;' > conftest.$ac_ext
26526
 
  atalk_cv_cc_64bit_output=no
26527
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
26321
# Test if the compiler is in 64bit mode
 
26322
echo 'int i;' > conftest.$ac_ext
 
26323
atalk_cv_cc_64bit_output=no
 
26324
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26528
26325
  (eval $ac_compile) 2>&5
26529
26326
  ac_status=$?
26530
26327
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26534
26331
      atalk_cv_cc_64bit_output=yes
26535
26332
      ;;
26536
26333
    esac
26537
 
  fi
26538
 
  rm -rf conftest*
26539
 
  ;;
26540
 
esac
26541
 
 
 
26334
fi
 
26335
rm -rf conftest*
26542
26336
 
26543
26337
case $host_cpu:$atalk_cv_cc_64bit_output in
26544
 
powerpc64:yes | s390x:yes | sparc64:yes | x86_64:yes)
26545
 
  atalk_libname="lib64"
26546
 
  { echo "$as_me:$LINENO: result: yes" >&5
 
26338
powerpc64:yes | s390x:yes | sparc*:yes | x86_64:yes | i386:yes)
 
26339
    { echo "$as_me:$LINENO: result: yes" >&5
26547
26340
echo "${ECHO_T}yes" >&6; }
26548
 
  ;;
 
26341
    case $target_os in
 
26342
    solaris2*)
 
26343
        atalk_libname="lib/64"
 
26344
        ;;
 
26345
    *)
 
26346
        atalk_libname="lib64"
 
26347
        ;;
 
26348
    esac
 
26349
    ;;
26549
26350
*:*)
26550
 
  atalk_libname="lib"
26551
 
  { echo "$as_me:$LINENO: result: no" >&5
 
26351
    { echo "$as_me:$LINENO: result: no" >&5
26552
26352
echo "${ECHO_T}no" >&6; }
26553
 
  ;;
 
26353
    atalk_libname="lib"
 
26354
    ;;
26554
26355
esac
26555
26356
 
26556
26357
 
26836
26637
{ echo "$as_me:$LINENO: result: $netatalk_cv_with_cracklib" >&5
26837
26638
echo "${ECHO_T}$netatalk_cv_with_cracklib" >&6; }
26838
26639
 
26839
 
netatalk_cv_ddp_enabled=yes
 
26640
netatalk_cv_ddp_enabled=no
26840
26641
{ echo "$as_me:$LINENO: checking whether to enable DDP" >&5
26841
26642
echo $ECHO_N "checking whether to enable DDP... $ECHO_C" >&6; }
26842
26643
# Check whether --enable-ddp was given.
26843
26644
if test "${enable_ddp+set}" = set; then
26844
26645
  enableval=$enable_ddp;
26845
 
        if test "$enableval" = "no"; then
26846
 
 
26847
 
cat >>confdefs.h <<\_ACEOF
26848
 
#define NO_DDP 1
26849
 
_ACEOF
26850
 
 
26851
 
                { echo "$as_me:$LINENO: result: no" >&5
26852
 
echo "${ECHO_T}no" >&6; }
26853
 
                netatalk_cv_ddp_enabled=no
 
26646
        if test "$enableval" = "yes"; then
 
26647
                { echo "$as_me:$LINENO: result: yes" >&5
 
26648
echo "${ECHO_T}yes" >&6; }
 
26649
                netatalk_cv_ddp_enabled=yes
26854
26650
        else
26855
26651
                { echo "$as_me:$LINENO: result: yes" >&5
26856
26652
echo "${ECHO_T}yes" >&6; }
 
26653
 
 
26654
cat >>confdefs.h <<\_ACEOF
 
26655
#define NO_DDP 1
 
26656
_ACEOF
 
26657
 
26857
26658
        fi
26858
26659
 
26859
26660
else
26860
26661
 
26861
 
                { echo "$as_me:$LINENO: result: yes" >&5
26862
 
echo "${ECHO_T}yes" >&6; }
 
26662
                { echo "$as_me:$LINENO: result: no" >&5
 
26663
echo "${ECHO_T}no" >&6; }
 
26664
 
 
26665
cat >>confdefs.h <<\_ACEOF
 
26666
#define NO_DDP 1
 
26667
_ACEOF
 
26668
 
26863
26669
 
26864
26670
 
26865
26671
fi
26924
26730
        else
26925
26731
                { echo "$as_me:$LINENO: result: no" >&5
26926
26732
echo "${ECHO_T}no" >&6; }
 
26733
 
 
26734
cat >>confdefs.h <<\_ACEOF
 
26735
#define NDEBUG 1
 
26736
_ACEOF
 
26737
 
26927
26738
        fi
26928
26739
 
26929
26740
else
26931
26742
                { echo "$as_me:$LINENO: result: no" >&5
26932
26743
echo "${ECHO_T}no" >&6; }
26933
26744
 
 
26745
cat >>confdefs.h <<\_ACEOF
 
26746
#define NDEBUG 1
 
26747
_ACEOF
 
26748
 
 
26749
 
26934
26750
 
26935
26751
fi
26936
26752
 
26970
26786
fi
26971
26787
 
26972
26788
 
26973
 
 
26974
 
afp3=no
26975
 
afp3set=no
26976
 
{ echo "$as_me:$LINENO: checking whether AFP 3.x calls should be enabled" >&5
26977
 
echo $ECHO_N "checking whether AFP 3.x calls should be enabled... $ECHO_C" >&6; }
26978
 
# Check whether --enable-afp3 was given.
26979
 
if test "${enable_afp3+set}" = set; then
26980
 
  enableval=$enable_afp3;
26981
 
            if test x"$enableval" != x"no"; then
26982
 
                afp3set=yes
26983
 
                afp3=yes
26984
 
                { echo "$as_me:$LINENO: result: yes" >&5
26985
 
echo "${ECHO_T}yes" >&6; }
26986
 
            else
26987
 
                { echo "$as_me:$LINENO: result: no" >&5
26988
 
echo "${ECHO_T}no" >&6; }
26989
 
            fi
26990
 
 
26991
 
else
26992
 
 
26993
 
            { echo "$as_me:$LINENO: result: yes" >&5
26994
 
echo "${ECHO_T}yes" >&6; }
26995
 
            afp3=yes
26996
 
 
26997
 
 
26998
 
fi
26999
 
 
27000
 
 
27001
 
if test x"$afp3" = x"yes"; then
27002
 
        # Check whether --enable-largefile was given.
 
26789
# Check whether --enable-largefile was given.
27003
26790
if test "${enable_largefile+set}" = set; then
27004
26791
  enableval=$enable_largefile;
27005
26792
fi
27211
26998
 
27212
26999
        { echo "$as_me:$LINENO: result: yes" >&5
27213
27000
echo "${ECHO_T}yes" >&6; }
27214
 
 
27215
 
 
27216
 
cat >>confdefs.h <<\_ACEOF
27217
 
#define AFP3x 1
27218
 
_ACEOF
27219
 
 
27220
 
 
 
27001
        :
27221
27002
    else
27222
27003
        { echo "$as_me:$LINENO: result: no" >&5
27223
27004
echo "${ECHO_T}no" >&6; }
27224
 
 
27225
 
                if test x"$afp3set" = x"yes"; then
27226
 
                        { { echo "$as_me:$LINENO: error: AFP 3.x support requires Large File Support." >&5
 
27005
        { { echo "$as_me:$LINENO: error: AFP 3.x support requires Large File Support." >&5
27227
27006
echo "$as_me: error: AFP 3.x support requires Large File Support." >&2;}
27228
27007
   { (exit 1); exit 1; }; }
27229
 
                else
27230
 
                        { echo "$as_me:$LINENO: WARNING: AFP 3.x support requires Large File Support. AFP3.x support disabled" >&5
27231
 
echo "$as_me: WARNING: AFP 3.x support requires Large File Support. AFP3.x support disabled" >&2;}
27232
 
                        afp3=no
27233
 
                fi
27234
 
 
27235
27008
    fi
27236
27009
fi
27237
27010
 
27238
 
fi
27239
 
 
27240
27011
 
27241
27012
 
27242
27013
        savedcflags="$CFLAGS"
28325
28096
 
28326
28097
 
28327
28098
 
 
28099
 
 
28100
 
 
28101
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
 
28102
        if test -n "$ac_tool_prefix"; then
 
28103
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
 
28104
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
 
28105
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
28106
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
28107
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
 
28108
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
28109
else
 
28110
  case $PKG_CONFIG in
 
28111
  [\\/]* | ?:[\\/]*)
 
28112
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
 
28113
  ;;
 
28114
  *)
 
28115
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
28116
for as_dir in $PATH
 
28117
do
 
28118
  IFS=$as_save_IFS
 
28119
  test -z "$as_dir" && as_dir=.
 
28120
  for ac_exec_ext in '' $ac_executable_extensions; do
 
28121
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
28122
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
28123
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
28124
    break 2
 
28125
  fi
 
28126
done
 
28127
done
 
28128
IFS=$as_save_IFS
 
28129
 
 
28130
  ;;
 
28131
esac
 
28132
fi
 
28133
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
 
28134
if test -n "$PKG_CONFIG"; then
 
28135
  { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
 
28136
echo "${ECHO_T}$PKG_CONFIG" >&6; }
 
28137
else
 
28138
  { echo "$as_me:$LINENO: result: no" >&5
 
28139
echo "${ECHO_T}no" >&6; }
 
28140
fi
 
28141
 
 
28142
 
 
28143
fi
 
28144
if test -z "$ac_cv_path_PKG_CONFIG"; then
 
28145
  ac_pt_PKG_CONFIG=$PKG_CONFIG
 
28146
  # Extract the first word of "pkg-config", so it can be a program name with args.
 
28147
set dummy pkg-config; ac_word=$2
 
28148
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
28149
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
28150
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
 
28151
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
28152
else
 
28153
  case $ac_pt_PKG_CONFIG in
 
28154
  [\\/]* | ?:[\\/]*)
 
28155
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
 
28156
  ;;
 
28157
  *)
 
28158
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
28159
for as_dir in $PATH
 
28160
do
 
28161
  IFS=$as_save_IFS
 
28162
  test -z "$as_dir" && as_dir=.
 
28163
  for ac_exec_ext in '' $ac_executable_extensions; do
 
28164
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
28165
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
28166
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
28167
    break 2
 
28168
  fi
 
28169
done
 
28170
done
 
28171
IFS=$as_save_IFS
 
28172
 
 
28173
  ;;
 
28174
esac
 
28175
fi
 
28176
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
 
28177
if test -n "$ac_pt_PKG_CONFIG"; then
 
28178
  { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
 
28179
echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
 
28180
else
 
28181
  { echo "$as_me:$LINENO: result: no" >&5
 
28182
echo "${ECHO_T}no" >&6; }
 
28183
fi
 
28184
 
 
28185
  if test "x$ac_pt_PKG_CONFIG" = x; then
 
28186
    PKG_CONFIG=""
 
28187
  else
 
28188
    case $cross_compiling:$ac_tool_warned in
 
28189
yes:)
 
28190
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
28191
whose name does not start with the host triplet.  If you think this
 
28192
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
28193
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
28194
whose name does not start with the host triplet.  If you think this
 
28195
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
28196
ac_tool_warned=yes ;;
 
28197
esac
 
28198
    PKG_CONFIG=$ac_pt_PKG_CONFIG
 
28199
  fi
 
28200
else
 
28201
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
 
28202
fi
 
28203
 
 
28204
fi
 
28205
if test -n "$PKG_CONFIG"; then
 
28206
        _pkg_min_version=0.9.0
 
28207
        { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
 
28208
echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
 
28209
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
 
28210
                { echo "$as_me:$LINENO: result: yes" >&5
 
28211
echo "${ECHO_T}yes" >&6; }
 
28212
        else
 
28213
                { echo "$as_me:$LINENO: result: no" >&5
 
28214
echo "${ECHO_T}no" >&6; }
 
28215
                PKG_CONFIG=""
 
28216
        fi
 
28217
 
 
28218
fi
 
28219
 
 
28220
        ZEROCONF_LIBS=""
 
28221
        ZEROCONF_CFLAGS=""
 
28222
        found_zeroconf=no
 
28223
        zeroconf_dir=""
 
28224
 
 
28225
        # Check whether --enable-zeroconf was given.
 
28226
if test "${enable_zeroconf+set}" = set; then
 
28227
  enableval=$enable_zeroconf; zeroconf=$enableval
 
28228
else
 
28229
  zeroconf=try
 
28230
 
 
28231
fi
 
28232
 
 
28233
 
 
28234
        [ -n "$atalk_libname" ] || { { echo "$as_me:$LINENO: error: internal error, atalk_libname undefined" >&5
 
28235
echo "$as_me: error: internal error, atalk_libname undefined" >&2;}
 
28236
   { (exit 1); exit 1; }; }
 
28237
 
 
28238
        if test "x$zeroconf" != "xno"; then
 
28239
                savedcppflags="$CPPFLAGS"
 
28240
                savedldflags="$LDFLAGS"
 
28241
 
 
28242
                if test "x$zeroconf" = "xyes" -o "x$zeroconf" = "xtry"; then
 
28243
                        zeroconf_dir="/usr"
 
28244
                else
 
28245
                        zeroconf_dir="$zeroconf"
 
28246
                fi
 
28247
 
 
28248
    # mDNS support using Avahi
 
28249
    if test "${ac_cv_header_avahi_client_client_h+set}" = set; then
 
28250
  { echo "$as_me:$LINENO: checking for avahi-client/client.h" >&5
 
28251
echo $ECHO_N "checking for avahi-client/client.h... $ECHO_C" >&6; }
 
28252
if test "${ac_cv_header_avahi_client_client_h+set}" = set; then
 
28253
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
28254
fi
 
28255
{ echo "$as_me:$LINENO: result: $ac_cv_header_avahi_client_client_h" >&5
 
28256
echo "${ECHO_T}$ac_cv_header_avahi_client_client_h" >&6; }
 
28257
else
 
28258
  # Is the header compilable?
 
28259
{ echo "$as_me:$LINENO: checking avahi-client/client.h usability" >&5
 
28260
echo $ECHO_N "checking avahi-client/client.h usability... $ECHO_C" >&6; }
 
28261
cat >conftest.$ac_ext <<_ACEOF
 
28262
/* confdefs.h.  */
 
28263
_ACEOF
 
28264
cat confdefs.h >>conftest.$ac_ext
 
28265
cat >>conftest.$ac_ext <<_ACEOF
 
28266
/* end confdefs.h.  */
 
28267
$ac_includes_default
 
28268
#include <avahi-client/client.h>
 
28269
_ACEOF
 
28270
rm -f conftest.$ac_objext
 
28271
if { (ac_try="$ac_compile"
 
28272
case "(($ac_try" in
 
28273
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
28274
  *) ac_try_echo=$ac_try;;
 
28275
esac
 
28276
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
28277
  (eval "$ac_compile") 2>conftest.er1
 
28278
  ac_status=$?
 
28279
  grep -v '^ *+' conftest.er1 >conftest.err
 
28280
  rm -f conftest.er1
 
28281
  cat conftest.err >&5
 
28282
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
28283
  (exit $ac_status); } && {
 
28284
         test -z "$ac_c_werror_flag" ||
 
28285
         test ! -s conftest.err
 
28286
       } && test -s conftest.$ac_objext; then
 
28287
  ac_header_compiler=yes
 
28288
else
 
28289
  echo "$as_me: failed program was:" >&5
 
28290
sed 's/^/| /' conftest.$ac_ext >&5
 
28291
 
 
28292
        ac_header_compiler=no
 
28293
fi
 
28294
 
 
28295
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
28296
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
28297
echo "${ECHO_T}$ac_header_compiler" >&6; }
 
28298
 
 
28299
# Is the header present?
 
28300
{ echo "$as_me:$LINENO: checking avahi-client/client.h presence" >&5
 
28301
echo $ECHO_N "checking avahi-client/client.h presence... $ECHO_C" >&6; }
 
28302
cat >conftest.$ac_ext <<_ACEOF
 
28303
/* confdefs.h.  */
 
28304
_ACEOF
 
28305
cat confdefs.h >>conftest.$ac_ext
 
28306
cat >>conftest.$ac_ext <<_ACEOF
 
28307
/* end confdefs.h.  */
 
28308
#include <avahi-client/client.h>
 
28309
_ACEOF
 
28310
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
28311
case "(($ac_try" in
 
28312
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
28313
  *) ac_try_echo=$ac_try;;
 
28314
esac
 
28315
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
28316
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
28317
  ac_status=$?
 
28318
  grep -v '^ *+' conftest.er1 >conftest.err
 
28319
  rm -f conftest.er1
 
28320
  cat conftest.err >&5
 
28321
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
28322
  (exit $ac_status); } >/dev/null && {
 
28323
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
28324
         test ! -s conftest.err
 
28325
       }; then
 
28326
  ac_header_preproc=yes
 
28327
else
 
28328
  echo "$as_me: failed program was:" >&5
 
28329
sed 's/^/| /' conftest.$ac_ext >&5
 
28330
 
 
28331
  ac_header_preproc=no
 
28332
fi
 
28333
 
 
28334
rm -f conftest.err conftest.$ac_ext
 
28335
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
28336
echo "${ECHO_T}$ac_header_preproc" >&6; }
 
28337
 
 
28338
# So?  What about this header?
 
28339
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 
28340
  yes:no: )
 
28341
    { echo "$as_me:$LINENO: WARNING: avahi-client/client.h: accepted by the compiler, rejected by the preprocessor!" >&5
 
28342
echo "$as_me: WARNING: avahi-client/client.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
28343
    { echo "$as_me:$LINENO: WARNING: avahi-client/client.h: proceeding with the compiler's result" >&5
 
28344
echo "$as_me: WARNING: avahi-client/client.h: proceeding with the compiler's result" >&2;}
 
28345
    ac_header_preproc=yes
 
28346
    ;;
 
28347
  no:yes:* )
 
28348
    { echo "$as_me:$LINENO: WARNING: avahi-client/client.h: present but cannot be compiled" >&5
 
28349
echo "$as_me: WARNING: avahi-client/client.h: present but cannot be compiled" >&2;}
 
28350
    { echo "$as_me:$LINENO: WARNING: avahi-client/client.h:     check for missing prerequisite headers?" >&5
 
28351
echo "$as_me: WARNING: avahi-client/client.h:     check for missing prerequisite headers?" >&2;}
 
28352
    { echo "$as_me:$LINENO: WARNING: avahi-client/client.h: see the Autoconf documentation" >&5
 
28353
echo "$as_me: WARNING: avahi-client/client.h: see the Autoconf documentation" >&2;}
 
28354
    { echo "$as_me:$LINENO: WARNING: avahi-client/client.h:     section \"Present But Cannot Be Compiled\"" >&5
 
28355
echo "$as_me: WARNING: avahi-client/client.h:     section \"Present But Cannot Be Compiled\"" >&2;}
 
28356
    { echo "$as_me:$LINENO: WARNING: avahi-client/client.h: proceeding with the preprocessor's result" >&5
 
28357
echo "$as_me: WARNING: avahi-client/client.h: proceeding with the preprocessor's result" >&2;}
 
28358
    { echo "$as_me:$LINENO: WARNING: avahi-client/client.h: in the future, the compiler will take precedence" >&5
 
28359
echo "$as_me: WARNING: avahi-client/client.h: in the future, the compiler will take precedence" >&2;}
 
28360
 
 
28361
    ;;
 
28362
esac
 
28363
{ echo "$as_me:$LINENO: checking for avahi-client/client.h" >&5
 
28364
echo $ECHO_N "checking for avahi-client/client.h... $ECHO_C" >&6; }
 
28365
if test "${ac_cv_header_avahi_client_client_h+set}" = set; then
 
28366
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
28367
else
 
28368
  ac_cv_header_avahi_client_client_h=$ac_header_preproc
 
28369
fi
 
28370
{ echo "$as_me:$LINENO: result: $ac_cv_header_avahi_client_client_h" >&5
 
28371
echo "${ECHO_T}$ac_cv_header_avahi_client_client_h" >&6; }
 
28372
 
 
28373
fi
 
28374
if test $ac_cv_header_avahi_client_client_h = yes; then
 
28375
  { echo "$as_me:$LINENO: checking for avahi_client_new in -lavahi-client" >&5
 
28376
echo $ECHO_N "checking for avahi_client_new in -lavahi-client... $ECHO_C" >&6; }
 
28377
if test "${ac_cv_lib_avahi_client_avahi_client_new+set}" = set; then
 
28378
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
28379
else
 
28380
  ac_check_lib_save_LIBS=$LIBS
 
28381
LIBS="-lavahi-client  $LIBS"
 
28382
cat >conftest.$ac_ext <<_ACEOF
 
28383
/* confdefs.h.  */
 
28384
_ACEOF
 
28385
cat confdefs.h >>conftest.$ac_ext
 
28386
cat >>conftest.$ac_ext <<_ACEOF
 
28387
/* end confdefs.h.  */
 
28388
 
 
28389
/* Override any GCC internal prototype to avoid an error.
 
28390
   Use char because int might match the return type of a GCC
 
28391
   builtin and then its argument prototype would still apply.  */
 
28392
#ifdef __cplusplus
 
28393
extern "C"
 
28394
#endif
 
28395
char avahi_client_new ();
 
28396
int
 
28397
main ()
 
28398
{
 
28399
return avahi_client_new ();
 
28400
  ;
 
28401
  return 0;
 
28402
}
 
28403
_ACEOF
 
28404
rm -f conftest.$ac_objext conftest$ac_exeext
 
28405
if { (ac_try="$ac_link"
 
28406
case "(($ac_try" in
 
28407
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
28408
  *) ac_try_echo=$ac_try;;
 
28409
esac
 
28410
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
28411
  (eval "$ac_link") 2>conftest.er1
 
28412
  ac_status=$?
 
28413
  grep -v '^ *+' conftest.er1 >conftest.err
 
28414
  rm -f conftest.er1
 
28415
  cat conftest.err >&5
 
28416
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
28417
  (exit $ac_status); } && {
 
28418
         test -z "$ac_c_werror_flag" ||
 
28419
         test ! -s conftest.err
 
28420
       } && test -s conftest$ac_exeext &&
 
28421
       $as_test_x conftest$ac_exeext; then
 
28422
  ac_cv_lib_avahi_client_avahi_client_new=yes
 
28423
else
 
28424
  echo "$as_me: failed program was:" >&5
 
28425
sed 's/^/| /' conftest.$ac_ext >&5
 
28426
 
 
28427
        ac_cv_lib_avahi_client_avahi_client_new=no
 
28428
fi
 
28429
 
 
28430
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
28431
      conftest$ac_exeext conftest.$ac_ext
 
28432
LIBS=$ac_check_lib_save_LIBS
 
28433
fi
 
28434
{ echo "$as_me:$LINENO: result: $ac_cv_lib_avahi_client_avahi_client_new" >&5
 
28435
echo "${ECHO_T}$ac_cv_lib_avahi_client_avahi_client_new" >&6; }
 
28436
if test $ac_cv_lib_avahi_client_avahi_client_new = yes; then
 
28437
 
 
28438
cat >>confdefs.h <<\_ACEOF
 
28439
#define USE_ZEROCONF 1
 
28440
_ACEOF
 
28441
 
 
28442
fi
 
28443
 
 
28444
 
 
28445
fi
 
28446
 
 
28447
 
 
28448
 
 
28449
    case "$ac_cv_lib_avahi_client_avahi_client_new" in
 
28450
      yes)
 
28451
 
 
28452
pkg_failed=no
 
28453
{ echo "$as_me:$LINENO: checking for AVAHI" >&5
 
28454
echo $ECHO_N "checking for AVAHI... $ECHO_C" >&6; }
 
28455
 
 
28456
if test -n "$PKG_CONFIG"; then
 
28457
    if test -n "$AVAHI_CFLAGS"; then
 
28458
        pkg_cv_AVAHI_CFLAGS="$AVAHI_CFLAGS"
 
28459
    else
 
28460
        if test -n "$PKG_CONFIG" && \
 
28461
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \" avahi-client >= 0.6 \"") >&5
 
28462
  ($PKG_CONFIG --exists --print-errors " avahi-client >= 0.6 ") 2>&5
 
28463
  ac_status=$?
 
28464
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
28465
  (exit $ac_status); }; then
 
28466
  pkg_cv_AVAHI_CFLAGS=`$PKG_CONFIG --cflags " avahi-client >= 0.6 " 2>/dev/null`
 
28467
else
 
28468
  pkg_failed=yes
 
28469
fi
 
28470
    fi
 
28471
else
 
28472
        pkg_failed=untried
 
28473
fi
 
28474
if test -n "$PKG_CONFIG"; then
 
28475
    if test -n "$AVAHI_LIBS"; then
 
28476
        pkg_cv_AVAHI_LIBS="$AVAHI_LIBS"
 
28477
    else
 
28478
        if test -n "$PKG_CONFIG" && \
 
28479
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \" avahi-client >= 0.6 \"") >&5
 
28480
  ($PKG_CONFIG --exists --print-errors " avahi-client >= 0.6 ") 2>&5
 
28481
  ac_status=$?
 
28482
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
28483
  (exit $ac_status); }; then
 
28484
  pkg_cv_AVAHI_LIBS=`$PKG_CONFIG --libs " avahi-client >= 0.6 " 2>/dev/null`
 
28485
else
 
28486
  pkg_failed=yes
 
28487
fi
 
28488
    fi
 
28489
else
 
28490
        pkg_failed=untried
 
28491
fi
 
28492
 
 
28493
 
 
28494
 
 
28495
if test $pkg_failed = yes; then
 
28496
 
 
28497
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
28498
        _pkg_short_errors_supported=yes
 
28499
else
 
28500
        _pkg_short_errors_supported=no
 
28501
fi
 
28502
        if test $_pkg_short_errors_supported = yes; then
 
28503
                AVAHI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors " avahi-client >= 0.6 "`
 
28504
        else
 
28505
                AVAHI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors " avahi-client >= 0.6 "`
 
28506
        fi
 
28507
        # Put the nasty error message in config.log where it belongs
 
28508
        echo "$AVAHI_PKG_ERRORS" >&5
 
28509
 
 
28510
        { { echo "$as_me:$LINENO: error: Package requirements ( avahi-client >= 0.6 ) were not met:
 
28511
 
 
28512
$AVAHI_PKG_ERRORS
 
28513
 
 
28514
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
28515
installed software in a non-standard prefix.
 
28516
 
 
28517
Alternatively, you may set the environment variables AVAHI_CFLAGS
 
28518
and AVAHI_LIBS to avoid the need to call pkg-config.
 
28519
See the pkg-config man page for more details.
 
28520
" >&5
 
28521
echo "$as_me: error: Package requirements ( avahi-client >= 0.6 ) were not met:
 
28522
 
 
28523
$AVAHI_PKG_ERRORS
 
28524
 
 
28525
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
28526
installed software in a non-standard prefix.
 
28527
 
 
28528
Alternatively, you may set the environment variables AVAHI_CFLAGS
 
28529
and AVAHI_LIBS to avoid the need to call pkg-config.
 
28530
See the pkg-config man page for more details.
 
28531
" >&2;}
 
28532
   { (exit 1); exit 1; }; }
 
28533
elif test $pkg_failed = untried; then
 
28534
        { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
 
28535
is in your PATH or set the PKG_CONFIG environment variable to the full
 
28536
path to pkg-config.
 
28537
 
 
28538
Alternatively, you may set the environment variables AVAHI_CFLAGS
 
28539
and AVAHI_LIBS to avoid the need to call pkg-config.
 
28540
See the pkg-config man page for more details.
 
28541
 
 
28542
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
28543
See \`config.log' for more details." >&5
 
28544
echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
 
28545
is in your PATH or set the PKG_CONFIG environment variable to the full
 
28546
path to pkg-config.
 
28547
 
 
28548
Alternatively, you may set the environment variables AVAHI_CFLAGS
 
28549
and AVAHI_LIBS to avoid the need to call pkg-config.
 
28550
See the pkg-config man page for more details.
 
28551
 
 
28552
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
28553
See \`config.log' for more details." >&2;}
 
28554
   { (exit 1); exit 1; }; }
 
28555
else
 
28556
        AVAHI_CFLAGS=$pkg_cv_AVAHI_CFLAGS
 
28557
        AVAHI_LIBS=$pkg_cv_AVAHI_LIBS
 
28558
        { echo "$as_me:$LINENO: result: yes" >&5
 
28559
echo "${ECHO_T}yes" >&6; }
 
28560
        :
 
28561
fi
 
28562
 
 
28563
pkg_failed=no
 
28564
{ echo "$as_me:$LINENO: checking for AVAHI_TPOLL" >&5
 
28565
echo $ECHO_N "checking for AVAHI_TPOLL... $ECHO_C" >&6; }
 
28566
 
 
28567
if test -n "$PKG_CONFIG"; then
 
28568
    if test -n "$AVAHI_TPOLL_CFLAGS"; then
 
28569
        pkg_cv_AVAHI_TPOLL_CFLAGS="$AVAHI_TPOLL_CFLAGS"
 
28570
    else
 
28571
        if test -n "$PKG_CONFIG" && \
 
28572
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \" avahi-client >= 0.6.4 \"") >&5
 
28573
  ($PKG_CONFIG --exists --print-errors " avahi-client >= 0.6.4 ") 2>&5
 
28574
  ac_status=$?
 
28575
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
28576
  (exit $ac_status); }; then
 
28577
  pkg_cv_AVAHI_TPOLL_CFLAGS=`$PKG_CONFIG --cflags " avahi-client >= 0.6.4 " 2>/dev/null`
 
28578
else
 
28579
  pkg_failed=yes
 
28580
fi
 
28581
    fi
 
28582
else
 
28583
        pkg_failed=untried
 
28584
fi
 
28585
if test -n "$PKG_CONFIG"; then
 
28586
    if test -n "$AVAHI_TPOLL_LIBS"; then
 
28587
        pkg_cv_AVAHI_TPOLL_LIBS="$AVAHI_TPOLL_LIBS"
 
28588
    else
 
28589
        if test -n "$PKG_CONFIG" && \
 
28590
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \" avahi-client >= 0.6.4 \"") >&5
 
28591
  ($PKG_CONFIG --exists --print-errors " avahi-client >= 0.6.4 ") 2>&5
 
28592
  ac_status=$?
 
28593
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
28594
  (exit $ac_status); }; then
 
28595
  pkg_cv_AVAHI_TPOLL_LIBS=`$PKG_CONFIG --libs " avahi-client >= 0.6.4 " 2>/dev/null`
 
28596
else
 
28597
  pkg_failed=yes
 
28598
fi
 
28599
    fi
 
28600
else
 
28601
        pkg_failed=untried
 
28602
fi
 
28603
 
 
28604
 
 
28605
 
 
28606
if test $pkg_failed = yes; then
 
28607
 
 
28608
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
28609
        _pkg_short_errors_supported=yes
 
28610
else
 
28611
        _pkg_short_errors_supported=no
 
28612
fi
 
28613
        if test $_pkg_short_errors_supported = yes; then
 
28614
                AVAHI_TPOLL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors " avahi-client >= 0.6.4 "`
 
28615
        else
 
28616
                AVAHI_TPOLL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors " avahi-client >= 0.6.4 "`
 
28617
        fi
 
28618
        # Put the nasty error message in config.log where it belongs
 
28619
        echo "$AVAHI_TPOLL_PKG_ERRORS" >&5
 
28620
 
 
28621
        { echo "$as_me:$LINENO: result: no" >&5
 
28622
echo "${ECHO_T}no" >&6; }
 
28623
                { echo "$as_me:$LINENO: WARNING: This Avahi implementation is not supporting threaded poll objects. Maybe this is not what you want." >&5
 
28624
echo "$as_me: WARNING: This Avahi implementation is not supporting threaded poll objects. Maybe this is not what you want." >&2;}
 
28625
elif test $pkg_failed = untried; then
 
28626
        { echo "$as_me:$LINENO: WARNING: This Avahi implementation is not supporting threaded poll objects. Maybe this is not what you want." >&5
 
28627
echo "$as_me: WARNING: This Avahi implementation is not supporting threaded poll objects. Maybe this is not what you want." >&2;}
 
28628
else
 
28629
        AVAHI_TPOLL_CFLAGS=$pkg_cv_AVAHI_TPOLL_CFLAGS
 
28630
        AVAHI_TPOLL_LIBS=$pkg_cv_AVAHI_TPOLL_LIBS
 
28631
        { echo "$as_me:$LINENO: result: yes" >&5
 
28632
echo "${ECHO_T}yes" >&6; }
 
28633
 
 
28634
cat >>confdefs.h <<\_ACEOF
 
28635
#define HAVE_AVAHI_THREADED_POLL 1
 
28636
_ACEOF
 
28637
 
 
28638
fi
 
28639
      ZEROCONF_LIBS="$AVAHI_LIBS"
 
28640
      ZEROCONF_CFLAGS="$AVAHI_CFLAGS"
 
28641
 
 
28642
cat >>confdefs.h <<\_ACEOF
 
28643
#define HAVE_AVAHI 1
 
28644
_ACEOF
 
28645
 
 
28646
      found_zeroconf=yes
 
28647
      ;;
 
28648
    esac
 
28649
 
 
28650
                CPPFLAGS="$savedcppflags"
 
28651
                LDFLAGS="$savedldflags"
 
28652
        fi
 
28653
 
 
28654
        netatalk_cv_zeroconf=no
 
28655
        { echo "$as_me:$LINENO: checking whether to enable Zerconf support" >&5
 
28656
echo $ECHO_N "checking whether to enable Zerconf support... $ECHO_C" >&6; }
 
28657
        if test "x$found_zeroconf" = "xyes"; then
 
28658
                { echo "$as_me:$LINENO: result: yes" >&5
 
28659
echo "${ECHO_T}yes" >&6; }
 
28660
 
 
28661
cat >>confdefs.h <<\_ACEOF
 
28662
#define USE_ZEROCONF 1
 
28663
_ACEOF
 
28664
 
 
28665
                netatalk_cv_zeroconf=yes
 
28666
        else
 
28667
                { echo "$as_me:$LINENO: result: no" >&5
 
28668
echo "${ECHO_T}no" >&6; }
 
28669
                if test "x$zeroconf" != "xno" -a "x$zeroconf" != "xtry"; then
 
28670
                        { { echo "$as_me:$LINENO: error: Zeroconf installation not found" >&5
 
28671
echo "$as_me: error: Zeroconf installation not found" >&2;}
 
28672
   { (exit 1); exit 1; }; }
 
28673
                fi
 
28674
        fi
 
28675
 
 
28676
 
 
28677
  ac_new_flags=""
 
28678
  for i in $ZEROCONF_LIBS; do
 
28679
    case $i in
 
28680
    -L/usr/lib|-L/usr/lib/|-L/usr|-L/usr/) ;;
 
28681
    *) ac_new_flags="$ac_new_flags $i" ;;
 
28682
    esac
 
28683
  done
 
28684
  ZEROCONF_LIBS=$ac_new_flags
 
28685
 
 
28686
 
 
28687
  ac_new_flags=""
 
28688
  for i in $ZEROCONF_CFLAGS; do
 
28689
    case $i in
 
28690
    -I/usr/include|-I/usr/include/) ;;
 
28691
    *) ac_new_flags="$ac_new_flags $i" ;;
 
28692
    esac
 
28693
  done
 
28694
  ZEROCONF_CFLAGS=$ac_new_flags
 
28695
 
 
28696
 
 
28697
 
 
28698
 
 
28699
 
28328
28700
netatalk_cv_use_pam=no
28329
28701
 
28330
28702
 
30311
30683
        solaris_module=no
30312
30684
        { echo "$as_me:$LINENO: checking if we can build Solaris kernel module" >&5
30313
30685
echo $ECHO_N "checking if we can build Solaris kernel module... $ECHO_C" >&6; }
30314
 
        if test -x /usr/ccs/bin/ld && test x$netatalk_cv_ddp_enabled = yes ; then
 
30686
        if test -x /usr/ccs/bin/ld && test x"$netatalk_cv_ddp_enabled" = x"yes" ; then
30315
30687
                solaris_module=yes
30316
30688
        fi
30317
30689
        { echo "$as_me:$LINENO: result: $solaris_module" >&5
31165
31537
                            break;
31166
31538
                        fi
31167
31539
 
31168
 
                                                if test x"$atalk_libname" = x"lib64" ; then
 
31540
                                                                                                if test x"$atalk_libname" != x"lib" ; then
31169
31541
                           bdblibdir="${bdbdir}/lib"
31170
31542
                           bdbbindir="${bdbdir}/bin"
31171
31543
 
32376
32748
{ echo "$as_me:$LINENO: result: $OVERWRITE_CONFIG" >&5
32377
32749
echo "${ECHO_T}$OVERWRITE_CONFIG" >&6; }
32378
32750
 
32379
 
{ echo "$as_me:$LINENO: checking if NFSv4 ACL Support should be enabled" >&5
32380
 
echo $ECHO_N "checking if NFSv4 ACL Support should be enabled... $ECHO_C" >&6; }
32381
 
# Check whether --enable-nfsv4acls was given.
32382
 
if test "${enable_nfsv4acls+set}" = set; then
32383
 
  enableval=$enable_nfsv4acls;
32384
 
        if test x"$enableval" = x"yes"; then
32385
 
           { echo "$as_me:$LINENO: result: yes" >&5
32386
 
echo "${ECHO_T}yes" >&6; }
32387
 
           neta_cv_nfsv4acl="yes"
32388
 
        else
32389
 
           { echo "$as_me:$LINENO: result: no" >&5
32390
 
echo "${ECHO_T}no" >&6; }
32391
 
           neta_cv_nfsv4acl="no"
32392
 
        fi
32393
 
else
32394
 
 
32395
 
           { echo "$as_me:$LINENO: result: auto" >&5
32396
 
echo "${ECHO_T}auto" >&6; }
32397
 
           neta_cv_nfsv4acl="yes"
32398
 
 
32399
 
 
32400
 
fi
32401
 
 
32402
 
 
32403
 
if test x"$this_os" != x"solaris" && test x"$neta_cv_nfsv4acl" = x"yes" ; then
32404
 
                { echo "$as_me:$LINENO: NFSv4 ACL Support only available on (Open)Solaris" >&5
32405
 
echo "$as_me: NFSv4 ACL Support only available on (Open)Solaris" >&6;}
32406
 
        neta_cv_nfsv4acl="no"
32407
 
fi
32408
 
 
32409
 
if test x$neta_cv_nfsv4acl = xyes; then
 
32751
{ echo "$as_me:$LINENO: checking for LDAP (necessary for client-side ACL visibility)" >&5
 
32752
echo $ECHO_N "checking for LDAP (necessary for client-side ACL visibility)... $ECHO_C" >&6; }
 
32753
 
 
32754
# Check whether --with-ldap was given.
 
32755
if test "${with_ldap+set}" = set; then
 
32756
  withval=$with_ldap;  case "$withval" in
 
32757
      yes|no)
 
32758
          with_ldap="$withval"
 
32759
                  ;;
 
32760
      *)
 
32761
          with_ldap=auto
 
32762
          ;;
 
32763
      esac
 
32764
fi
 
32765
 
 
32766
{ echo "$as_me:$LINENO: result: $with_ldap" >&5
 
32767
echo "${ECHO_T}$with_ldap" >&6; }
 
32768
 
 
32769
if test x"$with_ldap" != x"no" ; then
32410
32770
        if test "${ac_cv_header_ldap_h+set}" = set; then
32411
32771
  { echo "$as_me:$LINENO: checking for ldap.h" >&5
32412
32772
echo $ECHO_N "checking for ldap.h... $ECHO_C" >&6; }
32533
32893
 
32534
32894
fi
32535
32895
if test $ac_cv_header_ldap_h = yes; then
32536
 
  :
 
32896
  with_ldap=yes
32537
32897
else
32538
 
 
32539
 
                { { echo "$as_me:$LINENO: error: ACL Support need the LDAP client headers not found." >&5
32540
 
echo "$as_me: error: ACL Support need the LDAP client headers not found." >&2;}
 
32898
   if test x"$with_ldap" = x"yes" ; then
 
32899
            { { echo "$as_me:$LINENO: error: Missing LDAP headers" >&5
 
32900
echo "$as_me: error: Missing LDAP headers" >&2;}
32541
32901
   { (exit 1); exit 1; }; }
32542
 
                neta_cv_nfsv4acl=no
32543
 
 
 
32902
        fi
 
32903
                with_ldap=no
32544
32904
 
32545
32905
fi
32546
32906
 
32607
32967
{ echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_ldap_init" >&5
32608
32968
echo "${ECHO_T}$ac_cv_lib_ldap_ldap_init" >&6; }
32609
32969
if test $ac_cv_lib_ldap_ldap_init = yes; then
32610
 
  neta_cv_nfsv4acl=yes
32611
 
else
32612
 
  neta_cv_nfsv4acl=no
32613
 
fi
32614
 
 
32615
 
fi
32616
 
if test x$neta_cv_nfsv4acl = xyes; then
32617
 
        if test "${ac_cv_header_sys_acl_h+set}" = set; then
32618
 
  { echo "$as_me:$LINENO: checking for sys/acl.h" >&5
32619
 
echo $ECHO_N "checking for sys/acl.h... $ECHO_C" >&6; }
32620
 
if test "${ac_cv_header_sys_acl_h+set}" = set; then
32621
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
32622
 
fi
32623
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_acl_h" >&5
32624
 
echo "${ECHO_T}$ac_cv_header_sys_acl_h" >&6; }
32625
 
else
32626
 
  # Is the header compilable?
32627
 
{ echo "$as_me:$LINENO: checking sys/acl.h usability" >&5
32628
 
echo $ECHO_N "checking sys/acl.h usability... $ECHO_C" >&6; }
32629
 
cat >conftest.$ac_ext <<_ACEOF
32630
 
/* confdefs.h.  */
32631
 
_ACEOF
32632
 
cat confdefs.h >>conftest.$ac_ext
32633
 
cat >>conftest.$ac_ext <<_ACEOF
32634
 
/* end confdefs.h.  */
32635
 
$ac_includes_default
32636
 
#include <sys/acl.h>
32637
 
_ACEOF
32638
 
rm -f conftest.$ac_objext
32639
 
if { (ac_try="$ac_compile"
32640
 
case "(($ac_try" in
32641
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32642
 
  *) ac_try_echo=$ac_try;;
32643
 
esac
32644
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32645
 
  (eval "$ac_compile") 2>conftest.er1
32646
 
  ac_status=$?
32647
 
  grep -v '^ *+' conftest.er1 >conftest.err
32648
 
  rm -f conftest.er1
32649
 
  cat conftest.err >&5
32650
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32651
 
  (exit $ac_status); } && {
32652
 
         test -z "$ac_c_werror_flag" ||
32653
 
         test ! -s conftest.err
32654
 
       } && test -s conftest.$ac_objext; then
32655
 
  ac_header_compiler=yes
32656
 
else
32657
 
  echo "$as_me: failed program was:" >&5
32658
 
sed 's/^/| /' conftest.$ac_ext >&5
32659
 
 
32660
 
        ac_header_compiler=no
32661
 
fi
32662
 
 
32663
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32664
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32665
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
32666
 
 
32667
 
# Is the header present?
32668
 
{ echo "$as_me:$LINENO: checking sys/acl.h presence" >&5
32669
 
echo $ECHO_N "checking sys/acl.h presence... $ECHO_C" >&6; }
32670
 
cat >conftest.$ac_ext <<_ACEOF
32671
 
/* confdefs.h.  */
32672
 
_ACEOF
32673
 
cat confdefs.h >>conftest.$ac_ext
32674
 
cat >>conftest.$ac_ext <<_ACEOF
32675
 
/* end confdefs.h.  */
32676
 
#include <sys/acl.h>
32677
 
_ACEOF
32678
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
32679
 
case "(($ac_try" in
32680
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32681
 
  *) ac_try_echo=$ac_try;;
32682
 
esac
32683
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32684
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
32685
 
  ac_status=$?
32686
 
  grep -v '^ *+' conftest.er1 >conftest.err
32687
 
  rm -f conftest.er1
32688
 
  cat conftest.err >&5
32689
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
32690
 
  (exit $ac_status); } >/dev/null && {
32691
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
32692
 
         test ! -s conftest.err
32693
 
       }; then
32694
 
  ac_header_preproc=yes
32695
 
else
32696
 
  echo "$as_me: failed program was:" >&5
32697
 
sed 's/^/| /' conftest.$ac_ext >&5
32698
 
 
32699
 
  ac_header_preproc=no
32700
 
fi
32701
 
 
32702
 
rm -f conftest.err conftest.$ac_ext
32703
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32704
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
32705
 
 
32706
 
# So?  What about this header?
32707
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32708
 
  yes:no: )
32709
 
    { echo "$as_me:$LINENO: WARNING: sys/acl.h: accepted by the compiler, rejected by the preprocessor!" >&5
32710
 
echo "$as_me: WARNING: sys/acl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32711
 
    { echo "$as_me:$LINENO: WARNING: sys/acl.h: proceeding with the compiler's result" >&5
32712
 
echo "$as_me: WARNING: sys/acl.h: proceeding with the compiler's result" >&2;}
32713
 
    ac_header_preproc=yes
32714
 
    ;;
32715
 
  no:yes:* )
32716
 
    { echo "$as_me:$LINENO: WARNING: sys/acl.h: present but cannot be compiled" >&5
32717
 
echo "$as_me: WARNING: sys/acl.h: present but cannot be compiled" >&2;}
32718
 
    { echo "$as_me:$LINENO: WARNING: sys/acl.h:     check for missing prerequisite headers?" >&5
32719
 
echo "$as_me: WARNING: sys/acl.h:     check for missing prerequisite headers?" >&2;}
32720
 
    { echo "$as_me:$LINENO: WARNING: sys/acl.h: see the Autoconf documentation" >&5
32721
 
echo "$as_me: WARNING: sys/acl.h: see the Autoconf documentation" >&2;}
32722
 
    { echo "$as_me:$LINENO: WARNING: sys/acl.h:     section \"Present But Cannot Be Compiled\"" >&5
32723
 
echo "$as_me: WARNING: sys/acl.h:     section \"Present But Cannot Be Compiled\"" >&2;}
32724
 
    { echo "$as_me:$LINENO: WARNING: sys/acl.h: proceeding with the preprocessor's result" >&5
32725
 
echo "$as_me: WARNING: sys/acl.h: proceeding with the preprocessor's result" >&2;}
32726
 
    { echo "$as_me:$LINENO: WARNING: sys/acl.h: in the future, the compiler will take precedence" >&5
32727
 
echo "$as_me: WARNING: sys/acl.h: in the future, the compiler will take precedence" >&2;}
32728
 
 
32729
 
    ;;
32730
 
esac
32731
 
{ echo "$as_me:$LINENO: checking for sys/acl.h" >&5
32732
 
echo $ECHO_N "checking for sys/acl.h... $ECHO_C" >&6; }
32733
 
if test "${ac_cv_header_sys_acl_h+set}" = set; then
32734
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
32735
 
else
32736
 
  ac_cv_header_sys_acl_h=$ac_header_preproc
32737
 
fi
32738
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_acl_h" >&5
32739
 
echo "${ECHO_T}$ac_cv_header_sys_acl_h" >&6; }
32740
 
 
32741
 
fi
32742
 
if test $ac_cv_header_sys_acl_h = yes; then
32743
 
 
32744
 
 
32745
 
cat >>confdefs.h <<\_ACEOF
32746
 
#define HAVE_NFSv4_ACLS 1
32747
 
_ACEOF
32748
 
 
32749
 
                { echo "$as_me:$LINENO: Enabling ACL support" >&5
32750
 
echo "$as_me: Enabling ACL support" >&6;}
32751
 
 
32752
 
else
32753
 
  neta_cv_nfsv4acl=no
32754
 
 
32755
 
fi
32756
 
 
32757
 
 
32758
 
fi
32759
 
if test x$neta_cv_nfsv4acl = xyes; then
32760
 
        LIBATALK_ACLS="acl/libacl.la"
32761
 
else
32762
 
        LIBATALK_ACLS=""
32763
 
fi
32764
 
 
 
32970
  with_ldap=yes
 
32971
else
 
32972
   if test x"$with_ldap" = x"yes" ; then
 
32973
            { { echo "$as_me:$LINENO: error: Missing LDAP library" >&5
 
32974
echo "$as_me: error: Missing LDAP library" >&2;}
 
32975
   { (exit 1); exit 1; }; }
 
32976
        fi
 
32977
                with_ldap=no
 
32978
 
 
32979
fi
 
32980
 
 
32981
fi
 
32982
 
 
32983
if test x"$with_ldap" = x"yes"; then
 
32984
 
 
32985
cat >>confdefs.h <<\_ACEOF
 
32986
#define HAVE_LDAP 1
 
32987
_ACEOF
 
32988
 
 
32989
fi
 
32990
 
 
32991
{ echo "$as_me:$LINENO: checking whether to support ACLs" >&5
 
32992
echo $ECHO_N "checking whether to support ACLs... $ECHO_C" >&6; }
 
32993
 
 
32994
# Check whether --with-acls was given.
 
32995
if test "${with_acls+set}" = set; then
 
32996
  withval=$with_acls;  case "$withval" in
 
32997
      yes|no)
 
32998
          with_acl_support="$withval"
 
32999
                  ;;
 
33000
      *)
 
33001
          with_acl_support=auto
 
33002
          ;;
 
33003
      esac
 
33004
else
 
33005
  with_acl_support=auto
 
33006
fi
 
33007
 
 
33008
{ echo "$as_me:$LINENO: result: $with_acl_support" >&5
 
33009
echo "${ECHO_T}$with_acl_support" >&6; }
 
33010
 
 
33011
if test x"$with_acl_support" = x"no"; then
 
33012
        { echo "$as_me:$LINENO: result: Disabling ACL support" >&5
 
33013
echo "${ECHO_T}Disabling ACL support" >&6; }
 
33014
 
 
33015
cat >>confdefs.h <<\_ACEOF
 
33016
#define HAVE_NO_ACLS 1
 
33017
_ACEOF
 
33018
 
 
33019
else
 
33020
    with_acl_support=yes
 
33021
fi
 
33022
 
 
33023
if test x"$with_acl_support" = x"yes" ; then
 
33024
        { echo "$as_me:$LINENO: checking whether ACL support is available:" >&5
 
33025
echo "$as_me: checking whether ACL support is available:" >&6;}
 
33026
        case "$host_os" in
 
33027
        *sysv5*)
 
33028
                { echo "$as_me:$LINENO: Using UnixWare ACLs" >&5
 
33029
echo "$as_me: Using UnixWare ACLs" >&6;}
 
33030
 
 
33031
cat >>confdefs.h <<\_ACEOF
 
33032
#define HAVE_UNIXWARE_ACLS 1
 
33033
_ACEOF
 
33034
 
 
33035
                ;;
 
33036
        *solaris*)
 
33037
                { echo "$as_me:$LINENO: Using solaris ACLs" >&5
 
33038
echo "$as_me: Using solaris ACLs" >&6;}
 
33039
 
 
33040
cat >>confdefs.h <<\_ACEOF
 
33041
#define HAVE_SOLARIS_ACLS 1
 
33042
_ACEOF
 
33043
 
 
33044
                ACL_LIBS="$ACL_LIBS -lsec"
 
33045
                ;;
 
33046
        *hpux*)
 
33047
                { echo "$as_me:$LINENO: Using HPUX ACLs" >&5
 
33048
echo "$as_me: Using HPUX ACLs" >&6;}
 
33049
 
 
33050
cat >>confdefs.h <<\_ACEOF
 
33051
#define HAVE_HPUX_ACLS 1
 
33052
_ACEOF
 
33053
 
 
33054
                ;;
 
33055
        *irix*)
 
33056
                { echo "$as_me:$LINENO: Using IRIX ACLs" >&5
 
33057
echo "$as_me: Using IRIX ACLs" >&6;}
 
33058
 
 
33059
cat >>confdefs.h <<\_ACEOF
 
33060
#define HAVE_IRIX_ACLS 1
 
33061
_ACEOF
 
33062
 
 
33063
                ;;
 
33064
        *aix*)
 
33065
                { echo "$as_me:$LINENO: Using AIX ACLs" >&5
 
33066
echo "$as_me: Using AIX ACLs" >&6;}
 
33067
 
 
33068
cat >>confdefs.h <<\_ACEOF
 
33069
#define HAVE_AIX_ACLS 1
 
33070
_ACEOF
 
33071
 
 
33072
                ;;
 
33073
        *osf*)
 
33074
                { echo "$as_me:$LINENO: Using Tru64 ACLs" >&5
 
33075
echo "$as_me: Using Tru64 ACLs" >&6;}
 
33076
 
 
33077
cat >>confdefs.h <<\_ACEOF
 
33078
#define HAVE_TRU64_ACLS 1
 
33079
_ACEOF
 
33080
 
 
33081
                ACL_LIBS="$ACL_LIBS -lpacl"
 
33082
                ;;
 
33083
        *darwin*)
 
33084
                { echo "$as_me:$LINENO: ACLs on Darwin currently not supported" >&5
 
33085
echo "$as_me: ACLs on Darwin currently not supported" >&6;}
 
33086
 
 
33087
cat >>confdefs.h <<\_ACEOF
 
33088
#define HAVE_NO_ACLS 1
 
33089
_ACEOF
 
33090
 
 
33091
                ;;
 
33092
        *)
 
33093
                { echo "$as_me:$LINENO: checking for acl_get_file in -lacl" >&5
 
33094
echo $ECHO_N "checking for acl_get_file in -lacl... $ECHO_C" >&6; }
 
33095
if test "${ac_cv_lib_acl_acl_get_file+set}" = set; then
 
33096
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
33097
else
 
33098
  ac_check_lib_save_LIBS=$LIBS
 
33099
LIBS="-lacl  $LIBS"
 
33100
cat >conftest.$ac_ext <<_ACEOF
 
33101
/* confdefs.h.  */
 
33102
_ACEOF
 
33103
cat confdefs.h >>conftest.$ac_ext
 
33104
cat >>conftest.$ac_ext <<_ACEOF
 
33105
/* end confdefs.h.  */
 
33106
 
 
33107
/* Override any GCC internal prototype to avoid an error.
 
33108
   Use char because int might match the return type of a GCC
 
33109
   builtin and then its argument prototype would still apply.  */
 
33110
#ifdef __cplusplus
 
33111
extern "C"
 
33112
#endif
 
33113
char acl_get_file ();
 
33114
int
 
33115
main ()
 
33116
{
 
33117
return acl_get_file ();
 
33118
  ;
 
33119
  return 0;
 
33120
}
 
33121
_ACEOF
 
33122
rm -f conftest.$ac_objext conftest$ac_exeext
 
33123
if { (ac_try="$ac_link"
 
33124
case "(($ac_try" in
 
33125
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
33126
  *) ac_try_echo=$ac_try;;
 
33127
esac
 
33128
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
33129
  (eval "$ac_link") 2>conftest.er1
 
33130
  ac_status=$?
 
33131
  grep -v '^ *+' conftest.er1 >conftest.err
 
33132
  rm -f conftest.er1
 
33133
  cat conftest.err >&5
 
33134
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
33135
  (exit $ac_status); } && {
 
33136
         test -z "$ac_c_werror_flag" ||
 
33137
         test ! -s conftest.err
 
33138
       } && test -s conftest$ac_exeext &&
 
33139
       $as_test_x conftest$ac_exeext; then
 
33140
  ac_cv_lib_acl_acl_get_file=yes
 
33141
else
 
33142
  echo "$as_me: failed program was:" >&5
 
33143
sed 's/^/| /' conftest.$ac_ext >&5
 
33144
 
 
33145
        ac_cv_lib_acl_acl_get_file=no
 
33146
fi
 
33147
 
 
33148
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
33149
      conftest$ac_exeext conftest.$ac_ext
 
33150
LIBS=$ac_check_lib_save_LIBS
 
33151
fi
 
33152
{ echo "$as_me:$LINENO: result: $ac_cv_lib_acl_acl_get_file" >&5
 
33153
echo "${ECHO_T}$ac_cv_lib_acl_acl_get_file" >&6; }
 
33154
if test $ac_cv_lib_acl_acl_get_file = yes; then
 
33155
  ACL_LIBS="$ACL_LIBS -lacl"
 
33156
fi
 
33157
 
 
33158
                case "$host_os" in
 
33159
                *linux*)
 
33160
                        { echo "$as_me:$LINENO: checking for getxattr in -lattr" >&5
 
33161
echo $ECHO_N "checking for getxattr in -lattr... $ECHO_C" >&6; }
 
33162
if test "${ac_cv_lib_attr_getxattr+set}" = set; then
 
33163
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
33164
else
 
33165
  ac_check_lib_save_LIBS=$LIBS
 
33166
LIBS="-lattr  $LIBS"
 
33167
cat >conftest.$ac_ext <<_ACEOF
 
33168
/* confdefs.h.  */
 
33169
_ACEOF
 
33170
cat confdefs.h >>conftest.$ac_ext
 
33171
cat >>conftest.$ac_ext <<_ACEOF
 
33172
/* end confdefs.h.  */
 
33173
 
 
33174
/* Override any GCC internal prototype to avoid an error.
 
33175
   Use char because int might match the return type of a GCC
 
33176
   builtin and then its argument prototype would still apply.  */
 
33177
#ifdef __cplusplus
 
33178
extern "C"
 
33179
#endif
 
33180
char getxattr ();
 
33181
int
 
33182
main ()
 
33183
{
 
33184
return getxattr ();
 
33185
  ;
 
33186
  return 0;
 
33187
}
 
33188
_ACEOF
 
33189
rm -f conftest.$ac_objext conftest$ac_exeext
 
33190
if { (ac_try="$ac_link"
 
33191
case "(($ac_try" in
 
33192
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
33193
  *) ac_try_echo=$ac_try;;
 
33194
esac
 
33195
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
33196
  (eval "$ac_link") 2>conftest.er1
 
33197
  ac_status=$?
 
33198
  grep -v '^ *+' conftest.er1 >conftest.err
 
33199
  rm -f conftest.er1
 
33200
  cat conftest.err >&5
 
33201
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
33202
  (exit $ac_status); } && {
 
33203
         test -z "$ac_c_werror_flag" ||
 
33204
         test ! -s conftest.err
 
33205
       } && test -s conftest$ac_exeext &&
 
33206
       $as_test_x conftest$ac_exeext; then
 
33207
  ac_cv_lib_attr_getxattr=yes
 
33208
else
 
33209
  echo "$as_me: failed program was:" >&5
 
33210
sed 's/^/| /' conftest.$ac_ext >&5
 
33211
 
 
33212
        ac_cv_lib_attr_getxattr=no
 
33213
fi
 
33214
 
 
33215
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
33216
      conftest$ac_exeext conftest.$ac_ext
 
33217
LIBS=$ac_check_lib_save_LIBS
 
33218
fi
 
33219
{ echo "$as_me:$LINENO: result: $ac_cv_lib_attr_getxattr" >&5
 
33220
echo "${ECHO_T}$ac_cv_lib_attr_getxattr" >&6; }
 
33221
if test $ac_cv_lib_attr_getxattr = yes; then
 
33222
  ACL_LIBS="$ACL_LIBS -lattr"
 
33223
fi
 
33224
 
 
33225
                        ;;
 
33226
                esac
 
33227
                { echo "$as_me:$LINENO: checking for POSIX ACL support" >&5
 
33228
echo $ECHO_N "checking for POSIX ACL support... $ECHO_C" >&6; }
 
33229
if test "${netatalk_cv_HAVE_POSIX_ACLS+set}" = set; then
 
33230
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
33231
else
 
33232
 
 
33233
                        acl_LIBS=$LIBS
 
33234
                        LIBS="$LIBS $ACL_LIBS"
 
33235
                        cat >conftest.$ac_ext <<_ACEOF
 
33236
/* confdefs.h.  */
 
33237
_ACEOF
 
33238
cat confdefs.h >>conftest.$ac_ext
 
33239
cat >>conftest.$ac_ext <<_ACEOF
 
33240
/* end confdefs.h.  */
 
33241
 
 
33242
                                #include <sys/types.h>
 
33243
                                #include <sys/acl.h>
 
33244
 
 
33245
int
 
33246
main ()
 
33247
{
 
33248
 
 
33249
                                acl_t acl;
 
33250
                                int entry_id;
 
33251
                                acl_entry_t *entry_p;
 
33252
                                return acl_get_entry(acl, entry_id, entry_p);
 
33253
 
 
33254
  ;
 
33255
  return 0;
 
33256
}
 
33257
_ACEOF
 
33258
rm -f conftest.$ac_objext conftest$ac_exeext
 
33259
if { (ac_try="$ac_link"
 
33260
case "(($ac_try" in
 
33261
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
33262
  *) ac_try_echo=$ac_try;;
 
33263
esac
 
33264
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
33265
  (eval "$ac_link") 2>conftest.er1
 
33266
  ac_status=$?
 
33267
  grep -v '^ *+' conftest.er1 >conftest.err
 
33268
  rm -f conftest.er1
 
33269
  cat conftest.err >&5
 
33270
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
33271
  (exit $ac_status); } && {
 
33272
         test -z "$ac_c_werror_flag" ||
 
33273
         test ! -s conftest.err
 
33274
       } && test -s conftest$ac_exeext &&
 
33275
       $as_test_x conftest$ac_exeext; then
 
33276
  netatalk_cv_HAVE_POSIX_ACLS=yes
 
33277
else
 
33278
  echo "$as_me: failed program was:" >&5
 
33279
sed 's/^/| /' conftest.$ac_ext >&5
 
33280
 
 
33281
        netatalk_cv_HAVE_POSIX_ACLS=no
 
33282
                with_acl_support=no
 
33283
fi
 
33284
 
 
33285
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
33286
      conftest$ac_exeext conftest.$ac_ext
 
33287
                        LIBS=$acl_LIBS
 
33288
 
 
33289
fi
 
33290
{ echo "$as_me:$LINENO: result: $netatalk_cv_HAVE_POSIX_ACLS" >&5
 
33291
echo "${ECHO_T}$netatalk_cv_HAVE_POSIX_ACLS" >&6; }
 
33292
                if test x"$netatalk_cv_HAVE_POSIX_ACLS" = x"yes"; then
 
33293
                        { echo "$as_me:$LINENO: Using POSIX ACLs" >&5
 
33294
echo "$as_me: Using POSIX ACLs" >&6;}
 
33295
 
 
33296
cat >>confdefs.h <<\_ACEOF
 
33297
#define HAVE_POSIX_ACLS 1
 
33298
_ACEOF
 
33299
 
 
33300
                        { echo "$as_me:$LINENO: checking for acl_get_perm_np" >&5
 
33301
echo $ECHO_N "checking for acl_get_perm_np... $ECHO_C" >&6; }
 
33302
if test "${netatalk_cv_HAVE_ACL_GET_PERM_NP+set}" = set; then
 
33303
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
33304
else
 
33305
 
 
33306
                                acl_LIBS=$LIBS
 
33307
                                LIBS="$LIBS $ACL_LIBS"
 
33308
                                cat >conftest.$ac_ext <<_ACEOF
 
33309
/* confdefs.h.  */
 
33310
_ACEOF
 
33311
cat confdefs.h >>conftest.$ac_ext
 
33312
cat >>conftest.$ac_ext <<_ACEOF
 
33313
/* end confdefs.h.  */
 
33314
 
 
33315
                                        #include <sys/types.h>
 
33316
                                        #include <sys/acl.h>
 
33317
 
 
33318
int
 
33319
main ()
 
33320
{
 
33321
 
 
33322
                                        acl_permset_t permset_d;
 
33323
                                        acl_perm_t perm;
 
33324
                                        return acl_get_perm_np(permset_d, perm);
 
33325
 
 
33326
  ;
 
33327
  return 0;
 
33328
}
 
33329
_ACEOF
 
33330
rm -f conftest.$ac_objext conftest$ac_exeext
 
33331
if { (ac_try="$ac_link"
 
33332
case "(($ac_try" in
 
33333
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
33334
  *) ac_try_echo=$ac_try;;
 
33335
esac
 
33336
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
33337
  (eval "$ac_link") 2>conftest.er1
 
33338
  ac_status=$?
 
33339
  grep -v '^ *+' conftest.er1 >conftest.err
 
33340
  rm -f conftest.er1
 
33341
  cat conftest.err >&5
 
33342
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
33343
  (exit $ac_status); } && {
 
33344
         test -z "$ac_c_werror_flag" ||
 
33345
         test ! -s conftest.err
 
33346
       } && test -s conftest$ac_exeext &&
 
33347
       $as_test_x conftest$ac_exeext; then
 
33348
  samba_cv_HAVE_ACL_GET_PERM_NP=yes
 
33349
else
 
33350
  echo "$as_me: failed program was:" >&5
 
33351
sed 's/^/| /' conftest.$ac_ext >&5
 
33352
 
 
33353
        samba_cv_HAVE_ACL_GET_PERM_NP=no
 
33354
fi
 
33355
 
 
33356
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
33357
      conftest$ac_exeext conftest.$ac_ext
 
33358
                                LIBS=$acl_LIBS
 
33359
 
 
33360
fi
 
33361
{ echo "$as_me:$LINENO: result: $netatalk_cv_HAVE_ACL_GET_PERM_NP" >&5
 
33362
echo "${ECHO_T}$netatalk_cv_HAVE_ACL_GET_PERM_NP" >&6; }
 
33363
                        if test x"netatalk_cv_HAVE_ACL_GET_PERM_NP" = x"yes"; then
 
33364
 
 
33365
cat >>confdefs.h <<\_ACEOF
 
33366
#define HAVE_ACL_GET_PERM_NP 1
 
33367
_ACEOF
 
33368
 
 
33369
                        fi
 
33370
                else
 
33371
                        { echo "$as_me:$LINENO: ACL support is not avaliable" >&5
 
33372
echo "$as_me: ACL support is not avaliable" >&6;}
 
33373
 
 
33374
cat >>confdefs.h <<\_ACEOF
 
33375
#define HAVE_NO_ACLS 1
 
33376
_ACEOF
 
33377
 
 
33378
                fi
 
33379
                ;;
 
33380
    esac
 
33381
fi
 
33382
 
 
33383
if test x"$with_acl_support" = x"yes" ; then
 
33384
 
 
33385
cat >>confdefs.h <<\_ACEOF
 
33386
#define HAVE_ACLS 1
 
33387
_ACEOF
 
33388
 
 
33389
 
 
33390
fi
32765
33391
 
32766
33392
neta_cv_eas="ad"
32767
33393
neta_cv_eas_sys_found=no
34669
35295
   fi
34670
35296
fi
34671
35297
 
 
35298
cat >>confdefs.h <<_ACEOF
 
35299
#define EA_MODULES "$neta_cv_eas"
 
35300
_ACEOF
 
35301
 
 
35302
 
34672
35303
{ echo "$as_me:$LINENO: checking if the realpath function allows a NULL argument" >&5
34673
35304
echo $ECHO_N "checking if the realpath function allows a NULL argument... $ECHO_C" >&6; }
34674
35305
if test "${neta_cv_REALPATH_TAKES_NULL+set}" = set; then
34903
35534
  HAVE_OPENSSL_FALSE=
34904
35535
fi
34905
35536
 
34906
 
 if test x$neta_cv_nfsv4acl = xyes; then
34907
 
  USE_NFSv4_ACLS_TRUE=
34908
 
  USE_NFSv4_ACLS_FALSE='#'
34909
 
else
34910
 
  USE_NFSv4_ACLS_TRUE='#'
34911
 
  USE_NFSv4_ACLS_FALSE=
 
35537
 if test x"$with_acl_support" = x"yes"; then
 
35538
  HAVE_ACLS_TRUE=
 
35539
  HAVE_ACLS_FALSE='#'
 
35540
else
 
35541
  HAVE_ACLS_TRUE='#'
 
35542
  HAVE_ACLS_FALSE=
 
35543
fi
 
35544
 
 
35545
 if test x"$with_ldap" = x"yes"; then
 
35546
  HAVE_LDAP_TRUE=
 
35547
  HAVE_LDAP_FALSE='#'
 
35548
else
 
35549
  HAVE_LDAP_TRUE='#'
 
35550
  HAVE_LDAP_FALSE=
34912
35551
fi
34913
35552
 
34914
35553
 if test x$neta_cv_compile_dhx = xyes; then
35071
35710
  USE_BDB_FALSE=
35072
35711
fi
35073
35712
 
35074
 
 
35075
 
 
35076
 
ac_config_files="$ac_config_files Makefile bin/Makefile bin/adv1tov2/Makefile bin/aecho/Makefile bin/afile/Makefile bin/afppasswd/Makefile bin/cnid/Makefile bin/cnid/cnid2_create bin/getzones/Makefile bin/megatron/Makefile bin/misc/Makefile bin/nbp/Makefile bin/pap/Makefile bin/psorder/Makefile bin/uniconv/Makefile config/Makefile config/pam/Makefile contrib/Makefile contrib/macusers/Makefile contrib/macusers/macusers contrib/printing/Makefile contrib/shell_utils/Makefile contrib/shell_utils/afpd-mtab.pl contrib/shell_utils/apple_cp contrib/shell_utils/apple_dump contrib/shell_utils/apple_mv contrib/shell_utils/apple_rm contrib/shell_utils/asip-status.pl contrib/timelord/Makefile contrib/a2boot/Makefile distrib/Makefile distrib/config/Makefile distrib/config/netatalk-config distrib/initscripts/Makefile distrib/m4/Makefile doc/Makefile etc/Makefile etc/afpd/Makefile etc/atalkd/Makefile etc/cnid_dbd/Makefile etc/uams/Makefile etc/uams/uams_krb4/Makefile etc/papd/Makefile etc/psf/Makefile include/Makefile include/atalk/Makefile libatalk/Makefile libatalk/acl/Makefile libatalk/adouble/Makefile libatalk/asp/Makefile libatalk/atp/Makefile libatalk/cnid/Makefile libatalk/cnid/cdb/Makefile libatalk/cnid/last/Makefile libatalk/cnid/dbd/Makefile libatalk/cnid/tdb/Makefile libatalk/compat/Makefile libatalk/dsi/Makefile libatalk/nbp/Makefile libatalk/netddp/Makefile libatalk/util/Makefile libatalk/util/test/Makefile libatalk/tdb/Makefile libatalk/unicode/Makefile libatalk/unicode/charsets/Makefile libatalk/vfs/Makefile macros/Makefile man/Makefile man/man1/Makefile man/man3/Makefile man/man4/Makefile man/man5/Makefile man/man8/Makefile sys/Makefile sys/generic/Makefile sys/generic/sys/Makefile sys/netatalk/Makefile sys/netbsd/Makefile sys/netbsd/netatalk/Makefile sys/solaris/Makefile sys/sunos/Makefile sys/ultrix/Makefile"
 
35713
 if test x$netatalk_cv_ddp_enabled = xyes; then
 
35714
  USE_APPLETALK_TRUE=
 
35715
  USE_APPLETALK_FALSE='#'
 
35716
else
 
35717
  USE_APPLETALK_TRUE='#'
 
35718
  USE_APPLETALK_FALSE=
 
35719
fi
 
35720
 
 
35721
 if test x"$ac_neta_haveatfuncs" = x"yes"; then
 
35722
  HAVE_ATFUNCS_TRUE=
 
35723
  HAVE_ATFUNCS_FALSE='#'
 
35724
else
 
35725
  HAVE_ATFUNCS_TRUE='#'
 
35726
  HAVE_ATFUNCS_FALSE=
 
35727
fi
 
35728
 
 
35729
 
 
35730
 
 
35731
ac_config_files="$ac_config_files Makefile bin/Makefile bin/ad/Makefile bin/adv1tov2/Makefile bin/aecho/Makefile bin/afppasswd/Makefile bin/cnid/Makefile bin/cnid/cnid2_create bin/getzones/Makefile bin/megatron/Makefile bin/misc/Makefile bin/nbp/Makefile bin/pap/Makefile bin/psorder/Makefile bin/uniconv/Makefile config/Makefile config/pam/Makefile contrib/Makefile contrib/macusers/Makefile contrib/macusers/macusers contrib/printing/Makefile contrib/shell_utils/Makefile contrib/shell_utils/afpd-mtab.pl contrib/shell_utils/apple_dump contrib/shell_utils/asip-status.pl contrib/timelord/Makefile contrib/a2boot/Makefile distrib/Makefile distrib/config/Makefile distrib/config/netatalk-config distrib/initscripts/Makefile distrib/m4/Makefile doc/Makefile etc/Makefile etc/afpd/Makefile etc/atalkd/Makefile etc/cnid_dbd/Makefile etc/uams/Makefile etc/uams/uams_krb4/Makefile etc/papd/Makefile etc/psf/Makefile include/Makefile include/atalk/Makefile libatalk/Makefile libatalk/acl/Makefile libatalk/adouble/Makefile libatalk/asp/Makefile libatalk/atp/Makefile libatalk/bstring/Makefile libatalk/cnid/Makefile libatalk/cnid/cdb/Makefile libatalk/cnid/last/Makefile libatalk/cnid/dbd/Makefile libatalk/cnid/tdb/Makefile libatalk/compat/Makefile libatalk/dsi/Makefile libatalk/nbp/Makefile libatalk/netddp/Makefile libatalk/util/Makefile libatalk/tdb/Makefile libatalk/unicode/Makefile libatalk/unicode/charsets/Makefile libatalk/vfs/Makefile macros/Makefile man/Makefile man/man1/Makefile man/man3/Makefile man/man4/Makefile man/man5/Makefile man/man8/Makefile sys/Makefile sys/generic/Makefile sys/generic/sys/Makefile sys/netatalk/Makefile sys/netbsd/Makefile sys/netbsd/netatalk/Makefile sys/solaris/Makefile sys/sunos/Makefile sys/ultrix/Makefile test/Makefile test/afpd/Makefile"
35077
35732
 
35078
35733
ac_config_commands="$ac_config_commands default"
35079
35734
 
35271
35926
Usually this means the macro was only invoked conditionally." >&2;}
35272
35927
   { (exit 1); exit 1; }; }
35273
35928
fi
35274
 
if test -z "${USE_NFSv4_ACLS_TRUE}" && test -z "${USE_NFSv4_ACLS_FALSE}"; then
35275
 
  { { echo "$as_me:$LINENO: error: conditional \"USE_NFSv4_ACLS\" was never defined.
35276
 
Usually this means the macro was only invoked conditionally." >&5
35277
 
echo "$as_me: error: conditional \"USE_NFSv4_ACLS\" was never defined.
 
35929
if test -z "${HAVE_ACLS_TRUE}" && test -z "${HAVE_ACLS_FALSE}"; then
 
35930
  { { echo "$as_me:$LINENO: error: conditional \"HAVE_ACLS\" was never defined.
 
35931
Usually this means the macro was only invoked conditionally." >&5
 
35932
echo "$as_me: error: conditional \"HAVE_ACLS\" was never defined.
 
35933
Usually this means the macro was only invoked conditionally." >&2;}
 
35934
   { (exit 1); exit 1; }; }
 
35935
fi
 
35936
if test -z "${HAVE_LDAP_TRUE}" && test -z "${HAVE_LDAP_FALSE}"; then
 
35937
  { { echo "$as_me:$LINENO: error: conditional \"HAVE_LDAP\" was never defined.
 
35938
Usually this means the macro was only invoked conditionally." >&5
 
35939
echo "$as_me: error: conditional \"HAVE_LDAP\" was never defined.
35278
35940
Usually this means the macro was only invoked conditionally." >&2;}
35279
35941
   { (exit 1); exit 1; }; }
35280
35942
fi
35418
36080
Usually this means the macro was only invoked conditionally." >&2;}
35419
36081
   { (exit 1); exit 1; }; }
35420
36082
fi
 
36083
if test -z "${USE_APPLETALK_TRUE}" && test -z "${USE_APPLETALK_FALSE}"; then
 
36084
  { { echo "$as_me:$LINENO: error: conditional \"USE_APPLETALK\" was never defined.
 
36085
Usually this means the macro was only invoked conditionally." >&5
 
36086
echo "$as_me: error: conditional \"USE_APPLETALK\" was never defined.
 
36087
Usually this means the macro was only invoked conditionally." >&2;}
 
36088
   { (exit 1); exit 1; }; }
 
36089
fi
 
36090
if test -z "${HAVE_ATFUNCS_TRUE}" && test -z "${HAVE_ATFUNCS_FALSE}"; then
 
36091
  { { echo "$as_me:$LINENO: error: conditional \"HAVE_ATFUNCS\" was never defined.
 
36092
Usually this means the macro was only invoked conditionally." >&5
 
36093
echo "$as_me: error: conditional \"HAVE_ATFUNCS\" was never defined.
 
36094
Usually this means the macro was only invoked conditionally." >&2;}
 
36095
   { (exit 1); exit 1; }; }
 
36096
fi
35421
36097
 
35422
36098
: ${CONFIG_STATUS=./config.status}
35423
36099
ac_clean_files_save=$ac_clean_files
35889
36565
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
35890
36566
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
35891
36567
    "bin/Makefile") CONFIG_FILES="$CONFIG_FILES bin/Makefile" ;;
 
36568
    "bin/ad/Makefile") CONFIG_FILES="$CONFIG_FILES bin/ad/Makefile" ;;
35892
36569
    "bin/adv1tov2/Makefile") CONFIG_FILES="$CONFIG_FILES bin/adv1tov2/Makefile" ;;
35893
36570
    "bin/aecho/Makefile") CONFIG_FILES="$CONFIG_FILES bin/aecho/Makefile" ;;
35894
 
    "bin/afile/Makefile") CONFIG_FILES="$CONFIG_FILES bin/afile/Makefile" ;;
35895
36571
    "bin/afppasswd/Makefile") CONFIG_FILES="$CONFIG_FILES bin/afppasswd/Makefile" ;;
35896
36572
    "bin/cnid/Makefile") CONFIG_FILES="$CONFIG_FILES bin/cnid/Makefile" ;;
35897
36573
    "bin/cnid/cnid2_create") CONFIG_FILES="$CONFIG_FILES bin/cnid/cnid2_create" ;;
35910
36586
    "contrib/printing/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/printing/Makefile" ;;
35911
36587
    "contrib/shell_utils/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/shell_utils/Makefile" ;;
35912
36588
    "contrib/shell_utils/afpd-mtab.pl") CONFIG_FILES="$CONFIG_FILES contrib/shell_utils/afpd-mtab.pl" ;;
35913
 
    "contrib/shell_utils/apple_cp") CONFIG_FILES="$CONFIG_FILES contrib/shell_utils/apple_cp" ;;
35914
36589
    "contrib/shell_utils/apple_dump") CONFIG_FILES="$CONFIG_FILES contrib/shell_utils/apple_dump" ;;
35915
 
    "contrib/shell_utils/apple_mv") CONFIG_FILES="$CONFIG_FILES contrib/shell_utils/apple_mv" ;;
35916
 
    "contrib/shell_utils/apple_rm") CONFIG_FILES="$CONFIG_FILES contrib/shell_utils/apple_rm" ;;
35917
36590
    "contrib/shell_utils/asip-status.pl") CONFIG_FILES="$CONFIG_FILES contrib/shell_utils/asip-status.pl" ;;
35918
36591
    "contrib/timelord/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/timelord/Makefile" ;;
35919
36592
    "contrib/a2boot/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/a2boot/Makefile" ;;
35938
36611
    "libatalk/adouble/Makefile") CONFIG_FILES="$CONFIG_FILES libatalk/adouble/Makefile" ;;
35939
36612
    "libatalk/asp/Makefile") CONFIG_FILES="$CONFIG_FILES libatalk/asp/Makefile" ;;
35940
36613
    "libatalk/atp/Makefile") CONFIG_FILES="$CONFIG_FILES libatalk/atp/Makefile" ;;
 
36614
    "libatalk/bstring/Makefile") CONFIG_FILES="$CONFIG_FILES libatalk/bstring/Makefile" ;;
35941
36615
    "libatalk/cnid/Makefile") CONFIG_FILES="$CONFIG_FILES libatalk/cnid/Makefile" ;;
35942
36616
    "libatalk/cnid/cdb/Makefile") CONFIG_FILES="$CONFIG_FILES libatalk/cnid/cdb/Makefile" ;;
35943
36617
    "libatalk/cnid/last/Makefile") CONFIG_FILES="$CONFIG_FILES libatalk/cnid/last/Makefile" ;;
35948
36622
    "libatalk/nbp/Makefile") CONFIG_FILES="$CONFIG_FILES libatalk/nbp/Makefile" ;;
35949
36623
    "libatalk/netddp/Makefile") CONFIG_FILES="$CONFIG_FILES libatalk/netddp/Makefile" ;;
35950
36624
    "libatalk/util/Makefile") CONFIG_FILES="$CONFIG_FILES libatalk/util/Makefile" ;;
35951
 
    "libatalk/util/test/Makefile") CONFIG_FILES="$CONFIG_FILES libatalk/util/test/Makefile" ;;
35952
36625
    "libatalk/tdb/Makefile") CONFIG_FILES="$CONFIG_FILES libatalk/tdb/Makefile" ;;
35953
36626
    "libatalk/unicode/Makefile") CONFIG_FILES="$CONFIG_FILES libatalk/unicode/Makefile" ;;
35954
36627
    "libatalk/unicode/charsets/Makefile") CONFIG_FILES="$CONFIG_FILES libatalk/unicode/charsets/Makefile" ;;
35969
36642
    "sys/solaris/Makefile") CONFIG_FILES="$CONFIG_FILES sys/solaris/Makefile" ;;
35970
36643
    "sys/sunos/Makefile") CONFIG_FILES="$CONFIG_FILES sys/sunos/Makefile" ;;
35971
36644
    "sys/ultrix/Makefile") CONFIG_FILES="$CONFIG_FILES sys/ultrix/Makefile" ;;
 
36645
    "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
 
36646
    "test/afpd/Makefile") CONFIG_FILES="$CONFIG_FILES test/afpd/Makefile" ;;
35972
36647
    "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
35973
36648
 
35974
36649
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
36186
36861
LIBTOOL!$LIBTOOL$ac_delim
36187
36862
LIBADD_DL!$LIBADD_DL$ac_delim
36188
36863
LIBOBJS!$LIBOBJS$ac_delim
 
36864
PTHREAD_LIBS!$PTHREAD_LIBS$ac_delim
36189
36865
AFS_LIBS!$AFS_LIBS$ac_delim
36190
36866
AFS_CFLAGS!$AFS_CFLAGS$ac_delim
36191
36867
PKGCONFDIR!$PKGCONFDIR$ac_delim
36205
36881
QUOTA_LIBS!$QUOTA_LIBS$ac_delim
36206
36882
SLP_LIBS!$SLP_LIBS$ac_delim
36207
36883
SLP_CFLAGS!$SLP_CFLAGS$ac_delim
 
36884
PKG_CONFIG!$PKG_CONFIG$ac_delim
 
36885
AVAHI_CFLAGS!$AVAHI_CFLAGS$ac_delim
 
36886
AVAHI_LIBS!$AVAHI_LIBS$ac_delim
 
36887
AVAHI_TPOLL_CFLAGS!$AVAHI_TPOLL_CFLAGS$ac_delim
 
36888
AVAHI_TPOLL_LIBS!$AVAHI_TPOLL_LIBS$ac_delim
 
36889
ZEROCONF_LIBS!$ZEROCONF_LIBS$ac_delim
 
36890
ZEROCONF_CFLAGS!$ZEROCONF_CFLAGS$ac_delim
36208
36891
PAMDIR!$PAMDIR$ac_delim
36209
36892
PAM_CFLAGS!$PAM_CFLAGS$ac_delim
36210
36893
PAM_LIBS!$PAM_LIBS$ac_delim
36241
36924
GSSAPI_CFLAGS!$GSSAPI_CFLAGS$ac_delim
36242
36925
USE_GSSAPI_TRUE!$USE_GSSAPI_TRUE$ac_delim
36243
36926
USE_GSSAPI_FALSE!$USE_GSSAPI_FALSE$ac_delim
36244
 
LIBATALK_ACLS!$LIBATALK_ACLS$ac_delim
 
36927
ACL_LIBS!$ACL_LIBS$ac_delim
36245
36928
WEBMIN_PATH!$WEBMIN_PATH$ac_delim
36246
36929
WEBMIN_VERSION!$WEBMIN_VERSION$ac_delim
36247
36930
WEBMIN_USER!$WEBMIN_USER$ac_delim
36258
36941
HAVE_LIBGCRYPT_FALSE!$HAVE_LIBGCRYPT_FALSE$ac_delim
36259
36942
HAVE_OPENSSL_TRUE!$HAVE_OPENSSL_TRUE$ac_delim
36260
36943
HAVE_OPENSSL_FALSE!$HAVE_OPENSSL_FALSE$ac_delim
36261
 
USE_NFSv4_ACLS_TRUE!$USE_NFSv4_ACLS_TRUE$ac_delim
36262
 
USE_NFSv4_ACLS_FALSE!$USE_NFSv4_ACLS_FALSE$ac_delim
 
36944
HAVE_ACLS_TRUE!$HAVE_ACLS_TRUE$ac_delim
 
36945
_ACEOF
 
36946
 
 
36947
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
 
36948
    break
 
36949
  elif $ac_last_try; then
 
36950
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
36951
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
36952
   { (exit 1); exit 1; }; }
 
36953
  else
 
36954
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
36955
  fi
 
36956
done
 
36957
 
 
36958
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 
36959
if test -n "$ac_eof"; then
 
36960
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 
36961
  ac_eof=`expr $ac_eof + 1`
 
36962
fi
 
36963
 
 
36964
cat >>$CONFIG_STATUS <<_ACEOF
 
36965
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
 
36966
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 
36967
_ACEOF
 
36968
sed '
 
36969
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 
36970
s/^/s,@/; s/!/@,|#_!!_#|/
 
36971
:n
 
36972
t n
 
36973
s/'"$ac_delim"'$/,g/; t
 
36974
s/$/\\/; p
 
36975
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 
36976
' >>$CONFIG_STATUS <conf$$subs.sed
 
36977
rm -f conf$$subs.sed
 
36978
cat >>$CONFIG_STATUS <<_ACEOF
 
36979
CEOF$ac_eof
 
36980
_ACEOF
 
36981
 
 
36982
 
 
36983
ac_delim='%!_!# '
 
36984
for ac_last_try in false false false false false :; do
 
36985
  cat >conf$$subs.sed <<_ACEOF
 
36986
HAVE_ACLS_FALSE!$HAVE_ACLS_FALSE$ac_delim
 
36987
HAVE_LDAP_TRUE!$HAVE_LDAP_TRUE$ac_delim
 
36988
HAVE_LDAP_FALSE!$HAVE_LDAP_FALSE$ac_delim
36263
36989
USE_DHX_TRUE!$USE_DHX_TRUE$ac_delim
36264
36990
USE_DHX_FALSE!$USE_DHX_FALSE$ac_delim
36265
36991
USE_DHX2_TRUE!$USE_DHX2_TRUE$ac_delim
36267
36993
USE_RANDNUM_TRUE!$USE_RANDNUM_TRUE$ac_delim
36268
36994
USE_RANDNUM_FALSE!$USE_RANDNUM_FALSE$ac_delim
36269
36995
USE_KERBEROS_TRUE!$USE_KERBEROS_TRUE$ac_delim
36270
 
_ACEOF
36271
 
 
36272
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
36273
 
    break
36274
 
  elif $ac_last_try; then
36275
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
36276
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
36277
 
   { (exit 1); exit 1; }; }
36278
 
  else
36279
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
36280
 
  fi
36281
 
done
36282
 
 
36283
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
36284
 
if test -n "$ac_eof"; then
36285
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
36286
 
  ac_eof=`expr $ac_eof + 1`
36287
 
fi
36288
 
 
36289
 
cat >>$CONFIG_STATUS <<_ACEOF
36290
 
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
36291
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
36292
 
_ACEOF
36293
 
sed '
36294
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
36295
 
s/^/s,@/; s/!/@,|#_!!_#|/
36296
 
:n
36297
 
t n
36298
 
s/'"$ac_delim"'$/,g/; t
36299
 
s/$/\\/; p
36300
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
36301
 
' >>$CONFIG_STATUS <conf$$subs.sed
36302
 
rm -f conf$$subs.sed
36303
 
cat >>$CONFIG_STATUS <<_ACEOF
36304
 
CEOF$ac_eof
36305
 
_ACEOF
36306
 
 
36307
 
 
36308
 
ac_delim='%!_!# '
36309
 
for ac_last_try in false false false false false :; do
36310
 
  cat >conf$$subs.sed <<_ACEOF
36311
36996
USE_KERBEROS_FALSE!$USE_KERBEROS_FALSE$ac_delim
36312
36997
USE_PAM_SO_TRUE!$USE_PAM_SO_TRUE$ac_delim
36313
36998
USE_PAM_SO_FALSE!$USE_PAM_SO_FALSE$ac_delim
36341
37026
USE_UNDEF_FALSE!$USE_UNDEF_FALSE$ac_delim
36342
37027
USE_BDB_TRUE!$USE_BDB_TRUE$ac_delim
36343
37028
USE_BDB_FALSE!$USE_BDB_FALSE$ac_delim
 
37029
USE_APPLETALK_TRUE!$USE_APPLETALK_TRUE$ac_delim
 
37030
USE_APPLETALK_FALSE!$USE_APPLETALK_FALSE$ac_delim
 
37031
HAVE_ATFUNCS_TRUE!$HAVE_ATFUNCS_TRUE$ac_delim
 
37032
HAVE_ATFUNCS_FALSE!$HAVE_ATFUNCS_FALSE$ac_delim
36344
37033
LTLIBOBJS!$LTLIBOBJS$ac_delim
36345
37034
_ACEOF
36346
37035
 
36347
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 34; then
 
37036
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 48; then
36348
37037
    break
36349
37038
  elif $ac_last_try; then
36350
37039
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
37042
37731
        fi
37043
37732
        { echo "$as_me:$LINENO: result:          Extended Attributes: $neta_cv_eas" >&5
37044
37733
echo "${ECHO_T}         Extended Attributes: $neta_cv_eas" >&6; }
37045
 
        { echo "$as_me:$LINENO: result:          DDP enabled: $netatalk_cv_ddp_enabled" >&5
37046
 
echo "${ECHO_T}         DDP enabled: $netatalk_cv_ddp_enabled" >&6; }
37047
37734
        { echo "$as_me:$LINENO: result:     CNID:" >&5
37048
37735
echo "${ECHO_T}    CNID:" >&6; }
37049
37736
        { echo "$as_me:$LINENO: result:          backends: $compiled_backends" >&5
37087
37774
echo "${ECHO_T}         guest" >&6; }
37088
37775
        { echo "$as_me:$LINENO: result:     Options:" >&5
37089
37776
echo "${ECHO_T}    Options:" >&6; }
37090
 
        { echo "$as_me:$LINENO: result:          CUPS support:           $netatalk_cv_use_cups" >&5
37091
 
echo "${ECHO_T}         CUPS support:           $netatalk_cv_use_cups" >&6; }
37092
 
        { echo "$as_me:$LINENO: result:          SLP support:            $netatalk_cv_srvloc" >&5
37093
 
echo "${ECHO_T}         SLP support:            $netatalk_cv_srvloc" >&6; }
37094
 
        { echo "$as_me:$LINENO: result:          tcp wrapper support:    $netatalk_cv_tcpwrap" >&5
37095
 
echo "${ECHO_T}         tcp wrapper support:    $netatalk_cv_tcpwrap" >&6; }
37096
 
        { echo "$as_me:$LINENO: result:          quota support:          $netatalk_cv_quotasupport" >&5
37097
 
echo "${ECHO_T}         quota support:          $netatalk_cv_quotasupport" >&6; }
37098
 
        { echo "$as_me:$LINENO: result:          admin group support:    $netatalk_cv_admin_group" >&5
37099
 
echo "${ECHO_T}         admin group support:    $netatalk_cv_admin_group" >&6; }
37100
 
        { echo "$as_me:$LINENO: result:          valid shell check:      $netatalk_cv_use_shellcheck" >&5
37101
 
echo "${ECHO_T}         valid shell check:      $netatalk_cv_use_shellcheck" >&6; }
37102
 
        { echo "$as_me:$LINENO: result:          cracklib support:       $netatalk_cv_with_cracklib" >&5
37103
 
echo "${ECHO_T}         cracklib support:       $netatalk_cv_with_cracklib" >&6; }
37104
 
        { echo "$as_me:$LINENO: result:          dropbox kludge:         $netatalk_cv_dropkludge" >&5
37105
 
echo "${ECHO_T}         dropbox kludge:         $netatalk_cv_dropkludge" >&6; }
37106
 
        { echo "$as_me:$LINENO: result:          force volume uid/gid:   $netatalk_cv_force_uidgid" >&5
37107
 
echo "${ECHO_T}         force volume uid/gid:   $netatalk_cv_force_uidgid" >&6; }
37108
 
        { echo "$as_me:$LINENO: result:          Apple 2 boot support:   $compile_a2boot" >&5
37109
 
echo "${ECHO_T}         Apple 2 boot support:   $compile_a2boot" >&6; }
37110
 
        { echo "$as_me:$LINENO: result:          ACL support:            $neta_cv_nfsv4acl" >&5
37111
 
echo "${ECHO_T}         ACL support:            $neta_cv_nfsv4acl" >&6; }
 
37777
        { echo "$as_me:$LINENO: result:          DDP (AppleTalk) support: $netatalk_cv_ddp_enabled" >&5
 
37778
echo "${ECHO_T}         DDP (AppleTalk) support: $netatalk_cv_ddp_enabled" >&6; }
 
37779
        { echo "$as_me:$LINENO: result:          CUPS support:            $netatalk_cv_use_cups" >&5
 
37780
echo "${ECHO_T}         CUPS support:            $netatalk_cv_use_cups" >&6; }
 
37781
        { echo "$as_me:$LINENO: result:          SLP support:             $netatalk_cv_srvloc" >&5
 
37782
echo "${ECHO_T}         SLP support:             $netatalk_cv_srvloc" >&6; }
 
37783
        { echo "$as_me:$LINENO: result:          Zeroconf support:        $netatalk_cv_zeroconf" >&5
 
37784
echo "${ECHO_T}         Zeroconf support:        $netatalk_cv_zeroconf" >&6; }
 
37785
        { echo "$as_me:$LINENO: result:          tcp wrapper support:     $netatalk_cv_tcpwrap" >&5
 
37786
echo "${ECHO_T}         tcp wrapper support:     $netatalk_cv_tcpwrap" >&6; }
 
37787
        { echo "$as_me:$LINENO: result:          quota support:           $netatalk_cv_quotasupport" >&5
 
37788
echo "${ECHO_T}         quota support:           $netatalk_cv_quotasupport" >&6; }
 
37789
        { echo "$as_me:$LINENO: result:          admin group support:     $netatalk_cv_admin_group" >&5
 
37790
echo "${ECHO_T}         admin group support:     $netatalk_cv_admin_group" >&6; }
 
37791
        { echo "$as_me:$LINENO: result:          valid shell check:       $netatalk_cv_use_shellcheck" >&5
 
37792
echo "${ECHO_T}         valid shell check:       $netatalk_cv_use_shellcheck" >&6; }
 
37793
        { echo "$as_me:$LINENO: result:          cracklib support:        $netatalk_cv_with_cracklib" >&5
 
37794
echo "${ECHO_T}         cracklib support:        $netatalk_cv_with_cracklib" >&6; }
 
37795
        { echo "$as_me:$LINENO: result:          dropbox kludge:          $netatalk_cv_dropkludge" >&5
 
37796
echo "${ECHO_T}         dropbox kludge:          $netatalk_cv_dropkludge" >&6; }
 
37797
        { echo "$as_me:$LINENO: result:          force volume uid/gid:    $netatalk_cv_force_uidgid" >&5
 
37798
echo "${ECHO_T}         force volume uid/gid:    $netatalk_cv_force_uidgid" >&6; }
 
37799
        { echo "$as_me:$LINENO: result:          Apple 2 boot support:    $compile_a2boot" >&5
 
37800
echo "${ECHO_T}         Apple 2 boot support:    $compile_a2boot" >&6; }
 
37801
        { echo "$as_me:$LINENO: result:          ACL support:             $with_acl_support" >&5
 
37802
echo "${ECHO_T}         ACL support:             $with_acl_support" >&6; }
37112
37803
        if test x"$use_pam_so" = x"yes" -a x"$netatalk_cv_install_pam" = x"no"; then
37113
37804
                { echo "$as_me:$LINENO: result: " >&5
37114
37805
echo "${ECHO_T}" >&6; }