Mercurial > dropbear
comparison configure.ac @ 1550:93a3726a36d6
Remove unused tests for headers and functions
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Tue, 27 Feb 2018 21:41:56 +0800 |
parents | 55120acb9994 |
children | 61a793b6e471 |
comparison
equal
deleted
inserted
replaced
1549:5212630893ab | 1550:93a3726a36d6 |
---|---|
318 | 318 |
319 | 319 |
320 # Checks for header files. | 320 # Checks for header files. |
321 AC_HEADER_STDC | 321 AC_HEADER_STDC |
322 AC_HEADER_SYS_WAIT | 322 AC_HEADER_SYS_WAIT |
323 AC_CHECK_HEADERS([fcntl.h limits.h netinet/in.h netinet/tcp.h stdlib.h \ | 323 AC_CHECK_HEADERS([netinet/in.h netinet/tcp.h \ |
324 string.h sys/socket.h sys/time.h termios.h unistd.h crypt.h \ | 324 crypt.h \ |
325 pty.h ioctl.h libutil.h libgen.h inttypes.h stropts.h utmp.h \ | 325 pty.h libutil.h libgen.h inttypes.h stropts.h utmp.h \ |
326 utmpx.h lastlog.h paths.h util.h netdb.h security/pam_appl.h \ | 326 utmpx.h lastlog.h paths.h util.h netdb.h security/pam_appl.h \ |
327 pam/pam_appl.h netinet/in_systm.h sys/uio.h linux/pkt_sched.h]) | 327 pam/pam_appl.h netinet/in_systm.h sys/uio.h linux/pkt_sched.h]) |
328 | 328 |
329 # Checks for typedefs, structures, and compiler characteristics. | 329 # Checks for typedefs, structures, and compiler characteristics. |
330 AC_C_CONST | 330 AC_C_CONST |
477 AC_CHECK_HEADERS([mach/mach_time.h]) | 477 AC_CHECK_HEADERS([mach/mach_time.h]) |
478 AC_CHECK_FUNCS(mach_absolute_time) | 478 AC_CHECK_FUNCS(mach_absolute_time) |
479 | 479 |
480 AC_CHECK_FUNCS(explicit_bzero memset_s) | 480 AC_CHECK_FUNCS(explicit_bzero memset_s) |
481 | 481 |
482 | |
483 AC_ARG_ENABLE(bundled-libtom, | 482 AC_ARG_ENABLE(bundled-libtom, |
484 [ --enable-bundled-libtom Force using bundled libtomcrypt/libtommath even if a system version exists. | 483 [ --enable-bundled-libtom Force using bundled libtomcrypt/libtommath even if a system version exists. |
485 --disable-bundled-libtom Force using system libtomcrypt/libtommath, fail if it does not exist. | 484 --disable-bundled-libtom Force using system libtomcrypt/libtommath, fail if it does not exist. |
486 Default is to use system if available, otherwise bundled.], | 485 Default is to use system if available, otherwise bundled.], |
487 [ | 486 [ |
773 | 772 |
774 # Checks for library functions. | 773 # Checks for library functions. |
775 AC_PROG_GCC_TRADITIONAL | 774 AC_PROG_GCC_TRADITIONAL |
776 AC_FUNC_MEMCMP | 775 AC_FUNC_MEMCMP |
777 AC_FUNC_SELECT_ARGTYPES | 776 AC_FUNC_SELECT_ARGTYPES |
778 AC_CHECK_FUNCS([dup2 getpass getspnam getusershell memset putenv select socket strdup clearenv strlcpy strlcat daemon basename _getpty getaddrinfo freeaddrinfo getnameinfo fork writev]) | 777 AC_CHECK_FUNCS([getpass getspnam getusershell putenv]) |
778 AC_CHECK_FUNCS([clearenv strlcpy strlcat daemon basename _getpty getaddrinfo ]) | |
779 AC_CHECK_FUNCS([freeaddrinfo getnameinfo fork writev getgrouplist]) | |
779 | 780 |
780 AC_SEARCH_LIBS(basename, gen, AC_DEFINE(HAVE_BASENAME)) | 781 AC_SEARCH_LIBS(basename, gen, AC_DEFINE(HAVE_BASENAME)) |
781 | 782 |
782 # Solaris needs ptmx | 783 # Solaris needs ptmx |
783 if test -z "$no_ptmx_check" ; then | 784 if test -z "$no_ptmx_check" ; then |