summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2016-08-06 10:49:58 +0100
committerColin Watson <cjwatson@debian.org>2016-08-06 10:49:58 +0100
commita8ed8d256b2e2c05b0c15565a7938028c5192277 (patch)
tree87abbdc914a38b43e4e5bb9581ad1f46eabbf88e /configure.ac
parentf0329aac23c61e1a5197d6d57349a63f459bccb0 (diff)
parent99522ba7ec6963a05c04a156bf20e3ba3605987c (diff)
Import openssh_7.3p1.orig.tar.gz
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac192
1 files changed, 124 insertions, 68 deletions
diff --git a/configure.ac b/configure.ac
index 7258cc0e5..373d21b34 100644
--- a/configure.ac
+++ b/configure.ac
@@ -373,6 +373,7 @@ AC_CHECK_HEADERS([ \
373 dirent.h \ 373 dirent.h \
374 endian.h \ 374 endian.h \
375 elf.h \ 375 elf.h \
376 err.h \
376 features.h \ 377 features.h \
377 fcntl.h \ 378 fcntl.h \
378 floatingpoint.h \ 379 floatingpoint.h \
@@ -381,6 +382,7 @@ AC_CHECK_HEADERS([ \
381 ia.h \ 382 ia.h \
382 iaf.h \ 383 iaf.h \
383 inttypes.h \ 384 inttypes.h \
385 langinfo.h \
384 limits.h \ 386 limits.h \
385 locale.h \ 387 locale.h \
386 login.h \ 388 login.h \
@@ -433,6 +435,7 @@ AC_CHECK_HEADERS([ \
433 utmp.h \ 435 utmp.h \
434 utmpx.h \ 436 utmpx.h \
435 vis.h \ 437 vis.h \
438 wchar.h \
436]) 439])
437 440
438# lastlog.h requires sys/time.h to be included first on Solaris 441# lastlog.h requires sys/time.h to be included first on Solaris
@@ -586,9 +589,6 @@ case "$host" in
586 [Define if you want to disable shadow passwords]) 589 [Define if you want to disable shadow passwords])
587 AC_DEFINE([NO_X11_UNIX_SOCKETS], [1], 590 AC_DEFINE([NO_X11_UNIX_SOCKETS], [1],
588 [Define if X11 doesn't support AF_UNIX sockets on that system]) 591 [Define if X11 doesn't support AF_UNIX sockets on that system])
589 AC_DEFINE([NO_IPPORT_RESERVED_CONCEPT], [1],
590 [Define if the concept of ports only accessible to
591 superusers isn't known])
592 AC_DEFINE([DISABLE_FD_PASSING], [1], 592 AC_DEFINE([DISABLE_FD_PASSING], [1],
593 [Define if your platform needs to skip post auth 593 [Define if your platform needs to skip post auth
594 file descriptor passing]) 594 file descriptor passing])
@@ -633,7 +633,7 @@ main() { if (NSVersionOfRunTimeLibrary("System") >= (60 << 16))
633 AC_DEFINE([SSH_TUN_PREPEND_AF], [1], 633 AC_DEFINE([SSH_TUN_PREPEND_AF], [1],
634 [Prepend the address family to IP tunnel traffic]) 634 [Prepend the address family to IP tunnel traffic])
635 m4_pattern_allow([AU_IPv]) 635 m4_pattern_allow([AU_IPv])
636 AC_CHECK_DECL([AU_IPv4], [], 636 AC_CHECK_DECL([AU_IPv4], [],
637 AC_DEFINE([AU_IPv4], [0], [System only supports IPv4 audit records]) 637 AC_DEFINE([AU_IPv4], [0], [System only supports IPv4 audit records])
638 [#include <bsm/audit.h>] 638 [#include <bsm/audit.h>]
639 AC_DEFINE([LASTLOG_WRITE_PUTUTXLINE], [1], 639 AC_DEFINE([LASTLOG_WRITE_PUTUTXLINE], [1],
@@ -652,12 +652,12 @@ main() { if (NSVersionOfRunTimeLibrary("System") >= (60 << 16))
652 SSHDLIBS="$SSHDLIBS -lcrypt" 652 SSHDLIBS="$SSHDLIBS -lcrypt"
653 TEST_MALLOC_OPTIONS="AFGJPRX" 653 TEST_MALLOC_OPTIONS="AFGJPRX"
654 ;; 654 ;;
655*-*-haiku*) 655*-*-haiku*)
656 LIBS="$LIBS -lbsd " 656 LIBS="$LIBS -lbsd "
657 AC_CHECK_LIB([network], [socket]) 657 AC_CHECK_LIB([network], [socket])
658 AC_DEFINE([HAVE_U_INT64_T]) 658 AC_DEFINE([HAVE_U_INT64_T])
659 MANTYPE=man 659 MANTYPE=man
660 ;; 660 ;;
661*-*-hpux*) 661*-*-hpux*)
662 # first we define all of the options common to all HP-UX releases 662 # first we define all of the options common to all HP-UX releases
663 CPPFLAGS="$CPPFLAGS -D_HPUX_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1" 663 CPPFLAGS="$CPPFLAGS -D_HPUX_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1"
@@ -797,6 +797,30 @@ main() { if (NSVersionOfRunTimeLibrary("System") >= (60 << 16))
797 aarch64*-*) 797 aarch64*-*)
798 seccomp_audit_arch=AUDIT_ARCH_AARCH64 798 seccomp_audit_arch=AUDIT_ARCH_AARCH64
799 ;; 799 ;;
800 s390x-*)
801 seccomp_audit_arch=AUDIT_ARCH_S390X
802 ;;
803 s390-*)
804 seccomp_audit_arch=AUDIT_ARCH_S390
805 ;;
806 powerpc64-*)
807 seccomp_audit_arch=AUDIT_ARCH_PPC64
808 ;;
809 powerpc64le-*)
810 seccomp_audit_arch=AUDIT_ARCH_PPC64LE
811 ;;
812 mips-*)
813 seccomp_audit_arch=AUDIT_ARCH_MIPS
814 ;;
815 mipsel-*)
816 seccomp_audit_arch=AUDIT_ARCH_MIPSEL
817 ;;
818 mips64-*)
819 seccomp_audit_arch=AUDIT_ARCH_MIPS64
820 ;;
821 mips64el-*)
822 seccomp_audit_arch=AUDIT_ARCH_MIPSEL64
823 ;;
800 esac 824 esac
801 if test "x$seccomp_audit_arch" != "x" ; then 825 if test "x$seccomp_audit_arch" != "x" ; then
802 AC_MSG_RESULT(["$seccomp_audit_arch"]) 826 AC_MSG_RESULT(["$seccomp_audit_arch"])
@@ -815,6 +839,7 @@ mips-sony-bsd|mips-sony-newsos4)
815 if test "x$withval" != "xno" ; then 839 if test "x$withval" != "xno" ; then
816 need_dash_r=1 840 need_dash_r=1
817 fi 841 fi
842 CPPFLAGS="$CPPFLAGS -D_OPENBSD_SOURCE"
818 AC_DEFINE([SSH_TUN_FREEBSD], [1], [Open tunnel devices the FreeBSD way]) 843 AC_DEFINE([SSH_TUN_FREEBSD], [1], [Open tunnel devices the FreeBSD way])
819 AC_CHECK_HEADER([net/if_tap.h], , 844 AC_CHECK_HEADER([net/if_tap.h], ,
820 AC_DEFINE([SSH_TUN_NO_L2], [1], [No layer 2 tunnel support])) 845 AC_DEFINE([SSH_TUN_NO_L2], [1], [No layer 2 tunnel support]))
@@ -899,6 +924,7 @@ mips-sony-bsd|mips-sony-newsos4)
899 else 924 else
900 AC_MSG_RESULT([no]) 925 AC_MSG_RESULT([no])
901 fi 926 fi
927 AC_CHECK_FUNCS([setpflags])
902 AC_CHECK_FUNCS([setppriv]) 928 AC_CHECK_FUNCS([setppriv])
903 AC_CHECK_FUNCS([priv_basicset]) 929 AC_CHECK_FUNCS([priv_basicset])
904 AC_CHECK_HEADERS([priv.h]) 930 AC_CHECK_HEADERS([priv.h])
@@ -1378,6 +1404,9 @@ g.gl_statv = NULL;
1378 1404
1379AC_CHECK_DECLS([GLOB_NOMATCH], , , [#include <glob.h>]) 1405AC_CHECK_DECLS([GLOB_NOMATCH], , , [#include <glob.h>])
1380 1406
1407AC_CHECK_DECL([VIS_ALL], ,
1408 AC_DEFINE(BROKEN_STRNVIS, 1, [missing VIS_ALL]), [#include <vis.h>])
1409
1381AC_MSG_CHECKING([whether struct dirent allocates space for d_name]) 1410AC_MSG_CHECKING([whether struct dirent allocates space for d_name])
1382AC_RUN_IFELSE( 1411AC_RUN_IFELSE(
1383 [AC_LANG_PROGRAM([[ 1412 [AC_LANG_PROGRAM([[
@@ -1438,7 +1467,7 @@ AC_ARG_WITH([skey],
1438 AC_MSG_RESULT([no]) 1467 AC_MSG_RESULT([no])
1439 AC_MSG_ERROR([** Incomplete or missing s/key libraries.]) 1468 AC_MSG_ERROR([** Incomplete or missing s/key libraries.])
1440 ]) 1469 ])
1441 AC_MSG_CHECKING([if skeychallenge takes 4 arguments]) 1470 AC_MSG_CHECKING([if skeychallenge takes 4 arguments])
1442 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ 1471 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
1443#include <stdio.h> 1472#include <stdio.h>
1444#include <skey.h> 1473#include <skey.h>
@@ -1501,7 +1530,7 @@ AC_ARG_WITH([libedit],
1501 AC_PATH_TOOL([PKGCONFIG], [pkg-config], [no]) 1530 AC_PATH_TOOL([PKGCONFIG], [pkg-config], [no])
1502 if test "x$PKGCONFIG" != "xno"; then 1531 if test "x$PKGCONFIG" != "xno"; then
1503 AC_MSG_CHECKING([if $PKGCONFIG knows about libedit]) 1532 AC_MSG_CHECKING([if $PKGCONFIG knows about libedit])
1504 if "$PKGCONFIG" libedit; then 1533 if "$PKGCONFIG" libedit; then
1505 AC_MSG_RESULT([yes]) 1534 AC_MSG_RESULT([yes])
1506 use_pkgconfig_for_libedit=yes 1535 use_pkgconfig_for_libedit=yes
1507 else 1536 else
@@ -1572,9 +1601,9 @@ AC_ARG_WITH([audit],
1572 AC_CHECK_FUNCS([getaudit_addr aug_get_machine]) 1601 AC_CHECK_FUNCS([getaudit_addr aug_get_machine])
1573 AC_DEFINE([USE_BSM_AUDIT], [1], [Use BSM audit module]) 1602 AC_DEFINE([USE_BSM_AUDIT], [1], [Use BSM audit module])
1574 if test "$sol2ver" -ge 11; then 1603 if test "$sol2ver" -ge 11; then
1575 SSHDLIBS="$SSHDLIBS -lscf" 1604 SSHDLIBS="$SSHDLIBS -lscf"
1576 AC_DEFINE([BROKEN_BSM_API], [1], 1605 AC_DEFINE([BROKEN_BSM_API], [1],
1577 [The system has incomplete BSM API]) 1606 [The system has incomplete BSM API])
1578 fi 1607 fi
1579 ;; 1608 ;;
1580 linux) 1609 linux)
@@ -1666,6 +1695,8 @@ AC_CHECK_FUNCS([ \
1666 closefrom \ 1695 closefrom \
1667 dirfd \ 1696 dirfd \
1668 endgrent \ 1697 endgrent \
1698 err \
1699 errx \
1669 explicit_bzero \ 1700 explicit_bzero \
1670 fchmod \ 1701 fchmod \
1671 fchown \ 1702 fchown \
@@ -1692,7 +1723,6 @@ AC_CHECK_FUNCS([ \
1692 inet_ntop \ 1723 inet_ntop \
1693 innetgr \ 1724 innetgr \
1694 login_getcapbool \ 1725 login_getcapbool \
1695 mblen \
1696 md5_crypt \ 1726 md5_crypt \
1697 memmove \ 1727 memmove \
1698 memset_s \ 1728 memset_s \
@@ -1757,8 +1787,15 @@ AC_CHECK_FUNCS([ \
1757 vasprintf \ 1787 vasprintf \
1758 vsnprintf \ 1788 vsnprintf \
1759 waitpid \ 1789 waitpid \
1790 warn \
1760]) 1791])
1761 1792
1793dnl Wide character support. Linux man page says it needs _XOPEN_SOURCE.
1794saved_CFLAGS="$CFLAGS"
1795CFLAGS="$CFLAGS -D_XOPEN_SOURCE"
1796AC_CHECK_FUNCS([mblen mbtowc nl_langinfo wcwidth])
1797CFLAGS="$saved_CFLAGS"
1798
1762AC_LINK_IFELSE( 1799AC_LINK_IFELSE(
1763 [AC_LANG_PROGRAM( 1800 [AC_LANG_PROGRAM(
1764 [[ #include <ctype.h> ]], 1801 [[ #include <ctype.h> ]],
@@ -1766,8 +1803,18 @@ AC_LINK_IFELSE(
1766 [AC_DEFINE([HAVE_ISBLANK], [1], [Define if you have isblank(3C).]) 1803 [AC_DEFINE([HAVE_ISBLANK], [1], [Define if you have isblank(3C).])
1767]) 1804])
1768 1805
1806disable_pkcs11=
1807AC_ARG_ENABLE([pkcs11],
1808 [ --disable-pkcs11 disable PKCS#11 support code [no]],
1809 [
1810 if test "x$enableval" = "xno" ; then
1811 disable_pkcs11=1
1812 fi
1813 ]
1814)
1815
1769# PKCS11 depends on OpenSSL. 1816# PKCS11 depends on OpenSSL.
1770if test "x$openssl" = "xyes" ; then 1817if test "x$openssl" = "xyes" && test "x$disable_pkcs11" = "x"; then
1771 # PKCS#11 support requires dlopen() and co 1818 # PKCS#11 support requires dlopen() and co
1772 AC_SEARCH_LIBS([dlopen], [dl], 1819 AC_SEARCH_LIBS([dlopen], [dl],
1773 [AC_DEFINE([ENABLE_PKCS11], [], [Enable for PKCS#11 support])] 1820 [AC_DEFINE([ENABLE_PKCS11], [], [Enable for PKCS#11 support])]
@@ -1982,7 +2029,7 @@ if test "x$ac_cv_func_snprintf" = "xyes" ; then
1982 [[ 2029 [[
1983 char b[5]; 2030 char b[5];
1984 snprintf(b,5,"123456789"); 2031 snprintf(b,5,"123456789");
1985 exit(b[4]!='\0'); 2032 exit(b[4]!='\0');
1986 ]])], 2033 ]])],
1987 [AC_MSG_RESULT([yes])], 2034 [AC_MSG_RESULT([yes])],
1988 [ 2035 [
@@ -2392,8 +2439,9 @@ if test "x$openssl" = "xyes" ; then
2392 if(fd == NULL) 2439 if(fd == NULL)
2393 exit(1); 2440 exit(1);
2394 2441
2395 if ((rc = fprintf(fd ,"%08lx (%s)\n", 2442 if ((rc = fprintf(fd, "%08lx (%s)\n",
2396 (unsigned long)OPENSSL_VERSION_NUMBER, OPENSSL_VERSION_TEXT)) <0) 2443 (unsigned long)OPENSSL_VERSION_NUMBER,
2444 OPENSSL_VERSION_TEXT)) < 0)
2397 exit(1); 2445 exit(1);
2398 2446
2399 exit(0); 2447 exit(0);
@@ -2428,8 +2476,8 @@ if test "x$openssl" = "xyes" ; then
2428 if(fd == NULL) 2476 if(fd == NULL)
2429 exit(1); 2477 exit(1);
2430 2478
2431 if ((rc = fprintf(fd ,"%08x (%s)\n", SSLeay(), 2479 if ((rc = fprintf(fd, "%08lx (%s)\n", (unsigned long)SSLeay(),
2432 SSLeay_version(SSLEAY_VERSION))) <0) 2480 SSLeay_version(SSLEAY_VERSION))) < 0)
2433 exit(1); 2481 exit(1);
2434 2482
2435 exit(0); 2483 exit(0);
@@ -2604,7 +2652,8 @@ if test "x$openssl" = "xyes" ; then
2604 [ 2652 [
2605 AC_MSG_RESULT([no]) 2653 AC_MSG_RESULT([no])
2606 unsupported_algorithms="$unsupported_cipers \ 2654 unsupported_algorithms="$unsupported_cipers \
2607 aes128-gcm@openssh.com aes256-gcm@openssh.com" 2655 aes128-gcm@openssh.com \
2656 aes256-gcm@openssh.com"
2608 ] 2657 ]
2609 ) 2658 )
2610 2659
@@ -2647,16 +2696,18 @@ if test "x$openssl" = "xyes" ; then
2647 # Search for SHA256 support in libc and/or OpenSSL 2696 # Search for SHA256 support in libc and/or OpenSSL
2648 AC_CHECK_FUNCS([SHA256_Update EVP_sha256], , 2697 AC_CHECK_FUNCS([SHA256_Update EVP_sha256], ,
2649 [unsupported_algorithms="$unsupported_algorithms \ 2698 [unsupported_algorithms="$unsupported_algorithms \
2650 hmac-sha2-256 hmac-sha2-512 \ 2699 hmac-sha2-256 \
2700 hmac-sha2-512 \
2651 diffie-hellman-group-exchange-sha256 \ 2701 diffie-hellman-group-exchange-sha256 \
2652 hmac-sha2-256-etm@openssh.com hmac-sha2-512-etm@openssh.com" 2702 hmac-sha2-256-etm@openssh.com \
2703 hmac-sha2-512-etm@openssh.com"
2653 ] 2704 ]
2654 ) 2705 )
2655 # Search for RIPE-MD support in OpenSSL 2706 # Search for RIPE-MD support in OpenSSL
2656 AC_CHECK_FUNCS([EVP_ripemd160], , 2707 AC_CHECK_FUNCS([EVP_ripemd160], ,
2657 [unsupported_algorithms="$unsupported_algorithms \ 2708 [unsupported_algorithms="$unsupported_algorithms \
2658 hmac-ripemd160 2709 hmac-ripemd160 \
2659 hmac-ripemd160@openssh.com 2710 hmac-ripemd160@openssh.com \
2660 hmac-ripemd160-etm@openssh.com" 2711 hmac-ripemd160-etm@openssh.com"
2661 ] 2712 ]
2662 ) 2713 )
@@ -2757,24 +2808,30 @@ if test "x$openssl" = "xyes" ; then
2757 TEST_SSH_ECC=yes 2808 TEST_SSH_ECC=yes
2758 COMMENT_OUT_ECC="" 2809 COMMENT_OUT_ECC=""
2759 else 2810 else
2760 unsupported_algorithms="$unsupported_algorithms ecdsa-sha2-nistp256 \ 2811 unsupported_algorithms="$unsupported_algorithms \
2761 ecdh-sha2-nistp256 ecdsa-sha2-nistp256-cert-v01@openssh.com" 2812 ecdsa-sha2-nistp256 \
2813 ecdh-sha2-nistp256 \
2814 ecdsa-sha2-nistp256-cert-v01@openssh.com"
2762 fi 2815 fi
2763 if test x$enable_nistp384 = x1; then 2816 if test x$enable_nistp384 = x1; then
2764 AC_DEFINE([OPENSSL_HAS_NISTP384], [1], [libcrypto has NID_secp384r1]) 2817 AC_DEFINE([OPENSSL_HAS_NISTP384], [1], [libcrypto has NID_secp384r1])
2765 TEST_SSH_ECC=yes 2818 TEST_SSH_ECC=yes
2766 COMMENT_OUT_ECC="" 2819 COMMENT_OUT_ECC=""
2767 else 2820 else
2768 unsupported_algorithms="$unsupported_algorithms ecdsa-sha2-nistp384 \ 2821 unsupported_algorithms="$unsupported_algorithms \
2769 ecdh-sha2-nistp384 ecdsa-sha2-nistp384-cert-v01@openssh.com" 2822 ecdsa-sha2-nistp384 \
2823 ecdh-sha2-nistp384 \
2824 ecdsa-sha2-nistp384-cert-v01@openssh.com"
2770 fi 2825 fi
2771 if test x$enable_nistp521 = x1; then 2826 if test x$enable_nistp521 = x1; then
2772 AC_DEFINE([OPENSSL_HAS_NISTP521], [1], [libcrypto has NID_secp521r1]) 2827 AC_DEFINE([OPENSSL_HAS_NISTP521], [1], [libcrypto has NID_secp521r1])
2773 TEST_SSH_ECC=yes 2828 TEST_SSH_ECC=yes
2774 COMMENT_OUT_ECC="" 2829 COMMENT_OUT_ECC=""
2775 else 2830 else
2776 unsupported_algorithms="$unsupported_algorithms ecdh-sha2-nistp521 \ 2831 unsupported_algorithms="$unsupported_algorithms \
2777 ecdsa-sha2-nistp521 ecdsa-sha2-nistp521-cert-v01@openssh.com" 2832 ecdh-sha2-nistp521 \
2833 ecdsa-sha2-nistp521 \
2834 ecdsa-sha2-nistp521-cert-v01@openssh.com"
2778 fi 2835 fi
2779 2836
2780 AC_SUBST([TEST_SSH_ECC]) 2837 AC_SUBST([TEST_SSH_ECC])
@@ -2796,7 +2853,7 @@ AC_CHECK_LIB([iaf], [ia_openinfo], [
2796 LIBS="$LIBS -liaf" 2853 LIBS="$LIBS -liaf"
2797 AC_CHECK_FUNCS([set_id], [SSHDLIBS="$SSHDLIBS -liaf" 2854 AC_CHECK_FUNCS([set_id], [SSHDLIBS="$SSHDLIBS -liaf"
2798 AC_DEFINE([HAVE_LIBIAF], [1], 2855 AC_DEFINE([HAVE_LIBIAF], [1],
2799 [Define if system has libiaf that supports set_id]) 2856 [Define if system has libiaf that supports set_id])
2800 ]) 2857 ])
2801]) 2858])
2802LIBS="$saved_LIBS" 2859LIBS="$saved_LIBS"
@@ -3322,7 +3379,7 @@ fi
3322AC_CACHE_CHECK([for u_int type], ac_cv_have_u_int, [ 3379AC_CACHE_CHECK([for u_int type], ac_cv_have_u_int, [
3323 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ #include <sys/types.h> ]], 3380 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ #include <sys/types.h> ]],
3324 [[ u_int a; a = 1;]])], 3381 [[ u_int a; a = 1;]])],
3325 [ ac_cv_have_u_int="yes" ], [ ac_cv_have_u_int="no" 3382 [ ac_cv_have_u_int="yes" ], [ ac_cv_have_u_int="no"
3326 ]) 3383 ])
3327]) 3384])
3328if test "x$ac_cv_have_u_int" = "xyes" ; then 3385if test "x$ac_cv_have_u_int" = "xyes" ; then
@@ -3333,7 +3390,7 @@ fi
3333AC_CACHE_CHECK([for intXX_t types], ac_cv_have_intxx_t, [ 3390AC_CACHE_CHECK([for intXX_t types], ac_cv_have_intxx_t, [
3334 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ #include <sys/types.h> ]], 3391 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ #include <sys/types.h> ]],
3335 [[ int8_t a; int16_t b; int32_t c; a = b = c = 1;]])], 3392 [[ int8_t a; int16_t b; int32_t c; a = b = c = 1;]])],
3336 [ ac_cv_have_intxx_t="yes" ], [ ac_cv_have_intxx_t="no" 3393 [ ac_cv_have_intxx_t="yes" ], [ ac_cv_have_intxx_t="no"
3337 ]) 3394 ])
3338]) 3395])
3339if test "x$ac_cv_have_intxx_t" = "xyes" ; then 3396if test "x$ac_cv_have_intxx_t" = "xyes" ; then
@@ -3350,7 +3407,7 @@ then
3350 [ 3407 [
3351 AC_DEFINE([HAVE_INTXX_T]) 3408 AC_DEFINE([HAVE_INTXX_T])
3352 AC_MSG_RESULT([yes]) 3409 AC_MSG_RESULT([yes])
3353 ], [ AC_MSG_RESULT([no]) 3410 ], [ AC_MSG_RESULT([no])
3354 ]) 3411 ])
3355fi 3412fi
3356 3413
@@ -3367,7 +3424,7 @@ AC_CACHE_CHECK([for int64_t type], ac_cv_have_int64_t, [
3367 ]], [[ 3424 ]], [[
3368int64_t a; a = 1; 3425int64_t a; a = 1;
3369 ]])], 3426 ]])],
3370 [ ac_cv_have_int64_t="yes" ], [ ac_cv_have_int64_t="no" 3427 [ ac_cv_have_int64_t="yes" ], [ ac_cv_have_int64_t="no"
3371 ]) 3428 ])
3372]) 3429])
3373if test "x$ac_cv_have_int64_t" = "xyes" ; then 3430if test "x$ac_cv_have_int64_t" = "xyes" ; then
@@ -3377,7 +3434,7 @@ fi
3377AC_CACHE_CHECK([for u_intXX_t types], ac_cv_have_u_intxx_t, [ 3434AC_CACHE_CHECK([for u_intXX_t types], ac_cv_have_u_intxx_t, [
3378 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ #include <sys/types.h> ]], 3435 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ #include <sys/types.h> ]],
3379 [[ u_int8_t a; u_int16_t b; u_int32_t c; a = b = c = 1;]])], 3436 [[ u_int8_t a; u_int16_t b; u_int32_t c; a = b = c = 1;]])],
3380 [ ac_cv_have_u_intxx_t="yes" ], [ ac_cv_have_u_intxx_t="no" 3437 [ ac_cv_have_u_intxx_t="yes" ], [ ac_cv_have_u_intxx_t="no"
3381 ]) 3438 ])
3382]) 3439])
3383if test "x$ac_cv_have_u_intxx_t" = "xyes" ; then 3440if test "x$ac_cv_have_u_intxx_t" = "xyes" ; then
@@ -3392,14 +3449,14 @@ if test -z "$have_u_intxx_t" ; then
3392 [ 3449 [
3393 AC_DEFINE([HAVE_U_INTXX_T]) 3450 AC_DEFINE([HAVE_U_INTXX_T])
3394 AC_MSG_RESULT([yes]) 3451 AC_MSG_RESULT([yes])
3395 ], [ AC_MSG_RESULT([no]) 3452 ], [ AC_MSG_RESULT([no])
3396 ]) 3453 ])
3397fi 3454fi
3398 3455
3399AC_CACHE_CHECK([for u_int64_t types], ac_cv_have_u_int64_t, [ 3456AC_CACHE_CHECK([for u_int64_t types], ac_cv_have_u_int64_t, [
3400 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ #include <sys/types.h> ]], 3457 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ #include <sys/types.h> ]],
3401 [[ u_int64_t a; a = 1;]])], 3458 [[ u_int64_t a; a = 1;]])],
3402 [ ac_cv_have_u_int64_t="yes" ], [ ac_cv_have_u_int64_t="no" 3459 [ ac_cv_have_u_int64_t="yes" ], [ ac_cv_have_u_int64_t="no"
3403 ]) 3460 ])
3404]) 3461])
3405if test "x$ac_cv_have_u_int64_t" = "xyes" ; then 3462if test "x$ac_cv_have_u_int64_t" = "xyes" ; then
@@ -3416,7 +3473,7 @@ then
3416 [ 3473 [
3417 AC_DEFINE([HAVE_U_INT64_T]) 3474 AC_DEFINE([HAVE_U_INT64_T])
3418 AC_MSG_RESULT([yes]) 3475 AC_MSG_RESULT([yes])
3419 ], [ AC_MSG_RESULT([no]) 3476 ], [ AC_MSG_RESULT([no])
3420 ]) 3477 ])
3421fi 3478fi
3422 3479
@@ -3430,7 +3487,7 @@ if test -z "$have_u_intxx_t" ; then
3430 uint32_t c; 3487 uint32_t c;
3431 a = b = c = 1; 3488 a = b = c = 1;
3432 ]])], 3489 ]])],
3433 [ ac_cv_have_uintxx_t="yes" ], [ ac_cv_have_uintxx_t="no" 3490 [ ac_cv_have_uintxx_t="yes" ], [ ac_cv_have_uintxx_t="no"
3434 ]) 3491 ])
3435 ]) 3492 ])
3436 if test "x$ac_cv_have_uintxx_t" = "xyes" ; then 3493 if test "x$ac_cv_have_uintxx_t" = "xyes" ; then
@@ -3448,7 +3505,7 @@ then
3448 [ 3505 [
3449 AC_DEFINE([HAVE_UINTXX_T]) 3506 AC_DEFINE([HAVE_UINTXX_T])
3450 AC_MSG_RESULT([yes]) 3507 AC_MSG_RESULT([yes])
3451 ], [ AC_MSG_RESULT([no]) 3508 ], [ AC_MSG_RESULT([no])
3452 ]) 3509 ])
3453fi 3510fi
3454 3511
@@ -3461,7 +3518,7 @@ then
3461 [ 3518 [
3462 AC_DEFINE([HAVE_UINTXX_T]) 3519 AC_DEFINE([HAVE_UINTXX_T])
3463 AC_MSG_RESULT([yes]) 3520 AC_MSG_RESULT([yes])
3464 ], [ AC_MSG_RESULT([no]) 3521 ], [ AC_MSG_RESULT([no])
3465 ]) 3522 ])
3466fi 3523fi
3467 3524
@@ -3488,7 +3545,7 @@ fi
3488AC_CACHE_CHECK([for u_char], ac_cv_have_u_char, [ 3545AC_CACHE_CHECK([for u_char], ac_cv_have_u_char, [
3489 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ #include <sys/types.h> ]], 3546 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ #include <sys/types.h> ]],
3490 [[ u_char foo; foo = 125; ]])], 3547 [[ u_char foo; foo = 125; ]])],
3491 [ ac_cv_have_u_char="yes" ], [ ac_cv_have_u_char="no" 3548 [ ac_cv_have_u_char="yes" ], [ ac_cv_have_u_char="no"
3492 ]) 3549 ])
3493]) 3550])
3494if test "x$ac_cv_have_u_char" = "xyes" ; then 3551if test "x$ac_cv_have_u_char" = "xyes" ; then
@@ -3523,7 +3580,7 @@ AC_CHECK_TYPES([in_addr_t, in_port_t], , ,
3523AC_CACHE_CHECK([for size_t], ac_cv_have_size_t, [ 3580AC_CACHE_CHECK([for size_t], ac_cv_have_size_t, [
3524 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ #include <sys/types.h> ]], 3581 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ #include <sys/types.h> ]],
3525 [[ size_t foo; foo = 1235; ]])], 3582 [[ size_t foo; foo = 1235; ]])],
3526 [ ac_cv_have_size_t="yes" ], [ ac_cv_have_size_t="no" 3583 [ ac_cv_have_size_t="yes" ], [ ac_cv_have_size_t="no"
3527 ]) 3584 ])
3528]) 3585])
3529if test "x$ac_cv_have_size_t" = "xyes" ; then 3586if test "x$ac_cv_have_size_t" = "xyes" ; then
@@ -3533,7 +3590,7 @@ fi
3533AC_CACHE_CHECK([for ssize_t], ac_cv_have_ssize_t, [ 3590AC_CACHE_CHECK([for ssize_t], ac_cv_have_ssize_t, [
3534 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ #include <sys/types.h> ]], 3591 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ #include <sys/types.h> ]],
3535 [[ ssize_t foo; foo = 1235; ]])], 3592 [[ ssize_t foo; foo = 1235; ]])],
3536 [ ac_cv_have_ssize_t="yes" ], [ ac_cv_have_ssize_t="no" 3593 [ ac_cv_have_ssize_t="yes" ], [ ac_cv_have_ssize_t="no"
3537 ]) 3594 ])
3538]) 3595])
3539if test "x$ac_cv_have_ssize_t" = "xyes" ; then 3596if test "x$ac_cv_have_ssize_t" = "xyes" ; then
@@ -3543,7 +3600,7 @@ fi
3543AC_CACHE_CHECK([for clock_t], ac_cv_have_clock_t, [ 3600AC_CACHE_CHECK([for clock_t], ac_cv_have_clock_t, [
3544 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ #include <time.h> ]], 3601 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ #include <time.h> ]],
3545 [[ clock_t foo; foo = 1235; ]])], 3602 [[ clock_t foo; foo = 1235; ]])],
3546 [ ac_cv_have_clock_t="yes" ], [ ac_cv_have_clock_t="no" 3603 [ ac_cv_have_clock_t="yes" ], [ ac_cv_have_clock_t="no"
3547 ]) 3604 ])
3548]) 3605])
3549if test "x$ac_cv_have_clock_t" = "xyes" ; then 3606if test "x$ac_cv_have_clock_t" = "xyes" ; then
@@ -3574,7 +3631,7 @@ fi
3574AC_CACHE_CHECK([for pid_t], ac_cv_have_pid_t, [ 3631AC_CACHE_CHECK([for pid_t], ac_cv_have_pid_t, [
3575 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ #include <sys/types.h> ]], 3632 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ #include <sys/types.h> ]],
3576 [[ pid_t foo; foo = 1235; ]])], 3633 [[ pid_t foo; foo = 1235; ]])],
3577 [ ac_cv_have_pid_t="yes" ], [ ac_cv_have_pid_t="no" 3634 [ ac_cv_have_pid_t="yes" ], [ ac_cv_have_pid_t="no"
3578 ]) 3635 ])
3579]) 3636])
3580if test "x$ac_cv_have_pid_t" = "xyes" ; then 3637if test "x$ac_cv_have_pid_t" = "xyes" ; then
@@ -3584,7 +3641,7 @@ fi
3584AC_CACHE_CHECK([for mode_t], ac_cv_have_mode_t, [ 3641AC_CACHE_CHECK([for mode_t], ac_cv_have_mode_t, [
3585 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ #include <sys/types.h> ]], 3642 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ #include <sys/types.h> ]],
3586 [[ mode_t foo; foo = 1235; ]])], 3643 [[ mode_t foo; foo = 1235; ]])],
3587 [ ac_cv_have_mode_t="yes" ], [ ac_cv_have_mode_t="no" 3644 [ ac_cv_have_mode_t="yes" ], [ ac_cv_have_mode_t="no"
3588 ]) 3645 ])
3589]) 3646])
3590if test "x$ac_cv_have_mode_t" = "xyes" ; then 3647if test "x$ac_cv_have_mode_t" = "xyes" ; then
@@ -3598,7 +3655,7 @@ AC_CACHE_CHECK([for struct sockaddr_storage], ac_cv_have_struct_sockaddr_storage
3598#include <sys/socket.h> 3655#include <sys/socket.h>
3599 ]], [[ struct sockaddr_storage s; ]])], 3656 ]], [[ struct sockaddr_storage s; ]])],
3600 [ ac_cv_have_struct_sockaddr_storage="yes" ], 3657 [ ac_cv_have_struct_sockaddr_storage="yes" ],
3601 [ ac_cv_have_struct_sockaddr_storage="no" 3658 [ ac_cv_have_struct_sockaddr_storage="no"
3602 ]) 3659 ])
3603]) 3660])
3604if test "x$ac_cv_have_struct_sockaddr_storage" = "xyes" ; then 3661if test "x$ac_cv_have_struct_sockaddr_storage" = "xyes" ; then
@@ -3612,7 +3669,7 @@ AC_CACHE_CHECK([for struct sockaddr_in6], ac_cv_have_struct_sockaddr_in6, [
3612#include <netinet/in.h> 3669#include <netinet/in.h>
3613 ]], [[ struct sockaddr_in6 s; s.sin6_family = 0; ]])], 3670 ]], [[ struct sockaddr_in6 s; s.sin6_family = 0; ]])],
3614 [ ac_cv_have_struct_sockaddr_in6="yes" ], 3671 [ ac_cv_have_struct_sockaddr_in6="yes" ],
3615 [ ac_cv_have_struct_sockaddr_in6="no" 3672 [ ac_cv_have_struct_sockaddr_in6="no"
3616 ]) 3673 ])
3617]) 3674])
3618if test "x$ac_cv_have_struct_sockaddr_in6" = "xyes" ; then 3675if test "x$ac_cv_have_struct_sockaddr_in6" = "xyes" ; then
@@ -3626,7 +3683,7 @@ AC_CACHE_CHECK([for struct in6_addr], ac_cv_have_struct_in6_addr, [
3626#include <netinet/in.h> 3683#include <netinet/in.h>
3627 ]], [[ struct in6_addr s; s.s6_addr[0] = 0; ]])], 3684 ]], [[ struct in6_addr s; s.s6_addr[0] = 0; ]])],
3628 [ ac_cv_have_struct_in6_addr="yes" ], 3685 [ ac_cv_have_struct_in6_addr="yes" ],
3629 [ ac_cv_have_struct_in6_addr="no" 3686 [ ac_cv_have_struct_in6_addr="no"
3630 ]) 3687 ])
3631]) 3688])
3632if test "x$ac_cv_have_struct_in6_addr" = "xyes" ; then 3689if test "x$ac_cv_have_struct_in6_addr" = "xyes" ; then
@@ -3650,7 +3707,7 @@ AC_CACHE_CHECK([for struct addrinfo], ac_cv_have_struct_addrinfo, [
3650#include <netdb.h> 3707#include <netdb.h>
3651 ]], [[ struct addrinfo s; s.ai_flags = AI_PASSIVE; ]])], 3708 ]], [[ struct addrinfo s; s.ai_flags = AI_PASSIVE; ]])],
3652 [ ac_cv_have_struct_addrinfo="yes" ], 3709 [ ac_cv_have_struct_addrinfo="yes" ],
3653 [ ac_cv_have_struct_addrinfo="no" 3710 [ ac_cv_have_struct_addrinfo="no"
3654 ]) 3711 ])
3655]) 3712])
3656if test "x$ac_cv_have_struct_addrinfo" = "xyes" ; then 3713if test "x$ac_cv_have_struct_addrinfo" = "xyes" ; then
@@ -3662,7 +3719,7 @@ AC_CACHE_CHECK([for struct timeval], ac_cv_have_struct_timeval, [
3662 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ #include <sys/time.h> ]], 3719 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ #include <sys/time.h> ]],
3663 [[ struct timeval tv; tv.tv_sec = 1;]])], 3720 [[ struct timeval tv; tv.tv_sec = 1;]])],
3664 [ ac_cv_have_struct_timeval="yes" ], 3721 [ ac_cv_have_struct_timeval="yes" ],
3665 [ ac_cv_have_struct_timeval="no" 3722 [ ac_cv_have_struct_timeval="no"
3666 ]) 3723 ])
3667]) 3724])
3668if test "x$ac_cv_have_struct_timeval" = "xyes" ; then 3725if test "x$ac_cv_have_struct_timeval" = "xyes" ; then
@@ -3770,7 +3827,7 @@ AC_CACHE_CHECK([for __ss_family field in struct sockaddr_storage],
3770#include <sys/socket.h> 3827#include <sys/socket.h>
3771 ]], [[ struct sockaddr_storage s; s.__ss_family = 1; ]])], 3828 ]], [[ struct sockaddr_storage s; s.__ss_family = 1; ]])],
3772 [ ac_cv_have___ss_family_in_struct_ss="yes" ], 3829 [ ac_cv_have___ss_family_in_struct_ss="yes" ],
3773 [ ac_cv_have___ss_family_in_struct_ss="no" 3830 [ ac_cv_have___ss_family_in_struct_ss="no"
3774 ]) 3831 ])
3775]) 3832])
3776if test "x$ac_cv_have___ss_family_in_struct_ss" = "xyes" ; then 3833if test "x$ac_cv_have___ss_family_in_struct_ss" = "xyes" ; then
@@ -3869,7 +3926,7 @@ AC_CACHE_CHECK([if libc defines __progname], ac_cv_libc_defines___progname, [
3869 AC_LINK_IFELSE([AC_LANG_PROGRAM([[]], 3926 AC_LINK_IFELSE([AC_LANG_PROGRAM([[]],
3870 [[ extern char *__progname; printf("%s", __progname); ]])], 3927 [[ extern char *__progname; printf("%s", __progname); ]])],
3871 [ ac_cv_libc_defines___progname="yes" ], 3928 [ ac_cv_libc_defines___progname="yes" ],
3872 [ ac_cv_libc_defines___progname="no" 3929 [ ac_cv_libc_defines___progname="no"
3873 ]) 3930 ])
3874]) 3931])
3875if test "x$ac_cv_libc_defines___progname" = "xyes" ; then 3932if test "x$ac_cv_libc_defines___progname" = "xyes" ; then
@@ -3880,7 +3937,7 @@ AC_CACHE_CHECK([whether $CC implements __FUNCTION__], ac_cv_cc_implements___FUNC
3880 AC_LINK_IFELSE([AC_LANG_PROGRAM([[ #include <stdio.h> ]], 3937 AC_LINK_IFELSE([AC_LANG_PROGRAM([[ #include <stdio.h> ]],
3881 [[ printf("%s", __FUNCTION__); ]])], 3938 [[ printf("%s", __FUNCTION__); ]])],
3882 [ ac_cv_cc_implements___FUNCTION__="yes" ], 3939 [ ac_cv_cc_implements___FUNCTION__="yes" ],
3883 [ ac_cv_cc_implements___FUNCTION__="no" 3940 [ ac_cv_cc_implements___FUNCTION__="no"
3884 ]) 3941 ])
3885]) 3942])
3886if test "x$ac_cv_cc_implements___FUNCTION__" = "xyes" ; then 3943if test "x$ac_cv_cc_implements___FUNCTION__" = "xyes" ; then
@@ -3892,7 +3949,7 @@ AC_CACHE_CHECK([whether $CC implements __func__], ac_cv_cc_implements___func__,
3892 AC_LINK_IFELSE([AC_LANG_PROGRAM([[ #include <stdio.h> ]], 3949 AC_LINK_IFELSE([AC_LANG_PROGRAM([[ #include <stdio.h> ]],
3893 [[ printf("%s", __func__); ]])], 3950 [[ printf("%s", __func__); ]])],
3894 [ ac_cv_cc_implements___func__="yes" ], 3951 [ ac_cv_cc_implements___func__="yes" ],
3895 [ ac_cv_cc_implements___func__="no" 3952 [ ac_cv_cc_implements___func__="no"
3896 ]) 3953 ])
3897]) 3954])
3898if test "x$ac_cv_cc_implements___func__" = "xyes" ; then 3955if test "x$ac_cv_cc_implements___func__" = "xyes" ; then
@@ -3905,7 +3962,7 @@ AC_CACHE_CHECK([whether va_copy exists], ac_cv_have_va_copy, [
3905va_list x,y; 3962va_list x,y;
3906 ]], [[ va_copy(x,y); ]])], 3963 ]], [[ va_copy(x,y); ]])],
3907 [ ac_cv_have_va_copy="yes" ], 3964 [ ac_cv_have_va_copy="yes" ],
3908 [ ac_cv_have_va_copy="no" 3965 [ ac_cv_have_va_copy="no"
3909 ]) 3966 ])
3910]) 3967])
3911if test "x$ac_cv_have_va_copy" = "xyes" ; then 3968if test "x$ac_cv_have_va_copy" = "xyes" ; then
@@ -3917,7 +3974,7 @@ AC_CACHE_CHECK([whether __va_copy exists], ac_cv_have___va_copy, [
3917#include <stdarg.h> 3974#include <stdarg.h>
3918va_list x,y; 3975va_list x,y;
3919 ]], [[ __va_copy(x,y); ]])], 3976 ]], [[ __va_copy(x,y); ]])],
3920 [ ac_cv_have___va_copy="yes" ], [ ac_cv_have___va_copy="no" 3977 [ ac_cv_have___va_copy="yes" ], [ ac_cv_have___va_copy="no"
3921 ]) 3978 ])
3922]) 3979])
3923if test "x$ac_cv_have___va_copy" = "xyes" ; then 3980if test "x$ac_cv_have___va_copy" = "xyes" ; then
@@ -3929,7 +3986,7 @@ AC_CACHE_CHECK([whether getopt has optreset support],
3929 AC_LINK_IFELSE([AC_LANG_PROGRAM([[ #include <getopt.h> ]], 3986 AC_LINK_IFELSE([AC_LANG_PROGRAM([[ #include <getopt.h> ]],
3930 [[ extern int optreset; optreset = 0; ]])], 3987 [[ extern int optreset; optreset = 0; ]])],
3931 [ ac_cv_have_getopt_optreset="yes" ], 3988 [ ac_cv_have_getopt_optreset="yes" ],
3932 [ ac_cv_have_getopt_optreset="no" 3989 [ ac_cv_have_getopt_optreset="no"
3933 ]) 3990 ])
3934]) 3991])
3935if test "x$ac_cv_have_getopt_optreset" = "xyes" ; then 3992if test "x$ac_cv_have_getopt_optreset" = "xyes" ; then
@@ -3941,7 +3998,7 @@ AC_CACHE_CHECK([if libc defines sys_errlist], ac_cv_libc_defines_sys_errlist, [
3941 AC_LINK_IFELSE([AC_LANG_PROGRAM([[]], 3998 AC_LINK_IFELSE([AC_LANG_PROGRAM([[]],
3942[[ extern const char *const sys_errlist[]; printf("%s", sys_errlist[0]);]])], 3999[[ extern const char *const sys_errlist[]; printf("%s", sys_errlist[0]);]])],
3943 [ ac_cv_libc_defines_sys_errlist="yes" ], 4000 [ ac_cv_libc_defines_sys_errlist="yes" ],
3944 [ ac_cv_libc_defines_sys_errlist="no" 4001 [ ac_cv_libc_defines_sys_errlist="no"
3945 ]) 4002 ])
3946]) 4003])
3947if test "x$ac_cv_libc_defines_sys_errlist" = "xyes" ; then 4004if test "x$ac_cv_libc_defines_sys_errlist" = "xyes" ; then
@@ -3954,7 +4011,7 @@ AC_CACHE_CHECK([if libc defines sys_nerr], ac_cv_libc_defines_sys_nerr, [
3954 AC_LINK_IFELSE([AC_LANG_PROGRAM([[]], 4011 AC_LINK_IFELSE([AC_LANG_PROGRAM([[]],
3955[[ extern int sys_nerr; printf("%i", sys_nerr);]])], 4012[[ extern int sys_nerr; printf("%i", sys_nerr);]])],
3956 [ ac_cv_libc_defines_sys_nerr="yes" ], 4013 [ ac_cv_libc_defines_sys_nerr="yes" ],
3957 [ ac_cv_libc_defines_sys_nerr="no" 4014 [ ac_cv_libc_defines_sys_nerr="no"
3958 ]) 4015 ])
3959]) 4016])
3960if test "x$ac_cv_libc_defines_sys_nerr" = "xyes" ; then 4017if test "x$ac_cv_libc_defines_sys_nerr" = "xyes" ; then
@@ -4113,7 +4170,6 @@ AC_ARG_WITH([kerberos5],
4113 [K5LIBS="$K5LIBS -ldes"]) 4170 [K5LIBS="$K5LIBS -ldes"])
4114 ], [ AC_MSG_RESULT([no]) 4171 ], [ AC_MSG_RESULT([no])
4115 K5LIBS="-lkrb5 -lk5crypto -lcom_err" 4172 K5LIBS="-lkrb5 -lk5crypto -lcom_err"
4116
4117 ]) 4173 ])
4118 AC_SEARCH_LIBS([dn_expand], [resolv]) 4174 AC_SEARCH_LIBS([dn_expand], [resolv])
4119 4175
@@ -4296,7 +4352,7 @@ AC_ARG_WITH([maildir],
4296 exit(0); 4352 exit(0);
4297 ]])], 4353 ]])],
4298 [ 4354 [
4299 maildir_what=`awk -F: '{print $1}' conftest.maildir` 4355 maildir_what=`awk -F: '{print $1}' conftest.maildir`
4300 maildir=`awk -F: '{print $2}' conftest.maildir \ 4356 maildir=`awk -F: '{print $2}' conftest.maildir \
4301 | sed 's|/$||'` 4357 | sed 's|/$||'`
4302 AC_MSG_RESULT([Using: $maildir from $maildir_what]) 4358 AC_MSG_RESULT([Using: $maildir from $maildir_what])
@@ -4641,7 +4697,7 @@ AC_ARG_WITH([pid-dir],
4641 ] 4697 ]
4642) 4698)
4643 4699
4644AC_DEFINE_UNQUOTED([_PATH_SSH_PIDDIR], ["$piddir"], 4700AC_DEFINE_UNQUOTED([_PATH_SSH_PIDDIR], ["$piddir"],
4645 [Specify location of ssh.pid]) 4701 [Specify location of ssh.pid])
4646AC_SUBST([piddir]) 4702AC_SUBST([piddir])
4647 4703
@@ -4799,7 +4855,7 @@ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
4799 ]], [[ char *utmp = UTMP_FILE; ]])], 4855 ]], [[ char *utmp = UTMP_FILE; ]])],
4800 [ AC_MSG_RESULT([yes]) ], 4856 [ AC_MSG_RESULT([yes]) ],
4801 [ AC_MSG_RESULT([no]) 4857 [ AC_MSG_RESULT([no])
4802 system_utmp_path=no 4858 system_utmp_path=no
4803]) 4859])
4804if test -z "$conf_utmp_location"; then 4860if test -z "$conf_utmp_location"; then
4805 if test x"$system_utmp_path" = x"no" ; then 4861 if test x"$system_utmp_path" = x"no" ; then
@@ -4829,7 +4885,7 @@ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
4829 ]], [[ char *wtmp = WTMP_FILE; ]])], 4885 ]], [[ char *wtmp = WTMP_FILE; ]])],
4830 [ AC_MSG_RESULT([yes]) ], 4886 [ AC_MSG_RESULT([yes]) ],
4831 [ AC_MSG_RESULT([no]) 4887 [ AC_MSG_RESULT([no])
4832 system_wtmp_path=no 4888 system_wtmp_path=no
4833]) 4889])
4834if test -z "$conf_wtmp_location"; then 4890if test -z "$conf_wtmp_location"; then
4835 if test x"$system_wtmp_path" = x"no" ; then 4891 if test x"$system_wtmp_path" = x"no" ; then
@@ -4862,7 +4918,7 @@ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
4862 ]], [[ char *wtmpx = WTMPX_FILE; ]])], 4918 ]], [[ char *wtmpx = WTMPX_FILE; ]])],
4863 [ AC_MSG_RESULT([yes]) ], 4919 [ AC_MSG_RESULT([yes]) ],
4864 [ AC_MSG_RESULT([no]) 4920 [ AC_MSG_RESULT([no])
4865 system_wtmpx_path=no 4921 system_wtmpx_path=no
4866]) 4922])
4867if test -z "$conf_wtmpx_location"; then 4923if test -z "$conf_wtmpx_location"; then
4868 if test x"$system_wtmpx_path" = x"no" ; then 4924 if test x"$system_wtmpx_path" = x"no" ; then