comparison configure.ac @ 1173:d734fe76b72f coverity

merge
author Matt Johnston <matt@ucc.asn.au>
date Mon, 23 Nov 2015 23:04:48 +0800
parents f567a4152c14
children fbcd0a20e667
comparison
equal deleted inserted replaced
1144:624fc24cfae5 1173:d734fe76b72f
630 630
631 # Checks for library functions. 631 # Checks for library functions.
632 AC_PROG_GCC_TRADITIONAL 632 AC_PROG_GCC_TRADITIONAL
633 AC_FUNC_MEMCMP 633 AC_FUNC_MEMCMP
634 AC_FUNC_SELECT_ARGTYPES 634 AC_FUNC_SELECT_ARGTYPES
635 AC_CHECK_FUNCS([dup2 getspnam getusershell memset putenv select socket strdup clearenv strlcpy strlcat daemon basename _getpty getaddrinfo freeaddrinfo getnameinfo fork writev]) 635 AC_CHECK_FUNCS([dup2 getpass getspnam getusershell memset putenv select socket strdup clearenv strlcpy strlcat daemon basename _getpty getaddrinfo freeaddrinfo getnameinfo fork writev crypt])
636 636
637 AC_SEARCH_LIBS(basename, gen, AC_DEFINE(HAVE_BASENAME)) 637 AC_SEARCH_LIBS(basename, gen, AC_DEFINE(HAVE_BASENAME))
638 638
639 # Solaris needs ptmx 639 # Solaris needs ptmx
640 if test -z "$no_ptmx_check" ; then 640 if test -z "$no_ptmx_check" ; then
717 AC_CONFIG_FILES(Makefile $LIBTOM_FILES) 717 AC_CONFIG_FILES(Makefile $LIBTOM_FILES)
718 AC_OUTPUT 718 AC_OUTPUT
719 719
720 AC_MSG_NOTICE() 720 AC_MSG_NOTICE()
721 if test $BUNDLED_LIBTOM = 1 ; then 721 if test $BUNDLED_LIBTOM = 1 ; then
722 AC_MSG_NOTICE(Using bundled libtomcrypt and libtommath) 722 AC_MSG_NOTICE([Using bundled libtomcrypt and libtommath])
723 else 723 else
724 AC_MSG_NOTICE(Using system libtomcrypt and libtommath) 724 AC_MSG_NOTICE([Using system libtomcrypt and libtommath])
725 fi 725 fi
726 726
727
728 if test "x$ac_cv_func_getpass" != xyes; then
727 AC_MSG_NOTICE() 729 AC_MSG_NOTICE()
728 AC_MSG_NOTICE(Now edit options.h to choose features.) 730 AC_MSG_NOTICE([getpass() not available, dbclient will only have public-key authentication])
731 fi
732
733 if test "x$ac_cv_func_crypt" != xyes; then
734 AC_MSG_NOTICE()
735 AC_MSG_NOTICE([crypt() not available, dropbear server will not have password authentication])
736 fi
737
738 AC_MSG_NOTICE()
739 AC_MSG_NOTICE([Now edit options.h to choose features.])