"Fossies" - the Fresh Open Source Software Archive

Member "sshpass-1.09/configure.ac" (29 Jan 2021, 1164 Bytes) of package /linux/privat/sshpass-1.09.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "configure.ac": 1.07_vs_1.09.

    1 #                                               -*- Autoconf -*-
    2 # Process this file with autoconf to produce a configure script.
    3 
    4 AC_PREREQ(2.57)
    5 AC_INIT([sshpass], [1.09])
    6 AM_INIT_AUTOMAKE
    7 AC_COPYRIGHT([Copyright (C) 2006,2008,2011,2016,2021 Shachar Shemesh])
    8 AC_CONFIG_SRCDIR([main.c])
    9 
   10 AC_USE_SYSTEM_EXTENSIONS
   11 
   12 # Checks for programs.
   13 AC_PROG_CC
   14 
   15 # Checks for libraries.
   16 
   17 # Checks for header files.
   18 AC_HEADER_STDC
   19 AC_HEADER_SYS_WAIT
   20 AC_CHECK_HEADERS([fcntl.h stdlib.h string.h sys/ioctl.h unistd.h termios.h])
   21 
   22 # Checks for typedefs, structures, and compiler characteristics.
   23 AC_C_CONST
   24 AC_TYPE_PID_T
   25 AC_TYPE_SSIZE_T
   26 
   27 # Checks for library functions.
   28 AC_FUNC_FORK
   29 AC_PROG_GCC_TRADITIONAL
   30 AC_FUNC_MALLOC
   31 AC_FUNC_SELECT_ARGTYPES
   32 AC_TYPE_SIGNAL
   33 AC_CHECK_FUNCS([select posix_openpt strdup])
   34 
   35 AC_ARG_ENABLE([password-prompt],
   36         [AS_HELP_STRING([--enable-password-prompt=prompt], [Provide alternative ssh password prompt to look for.])],
   37         [AC_DEFINE_UNQUOTED([PASSWORD_PROMPT], ["$enable_password_prompt"], [Password prompt to use])],
   38         [AC_DEFINE([PASSWORD_PROMPT], ["assword"])])
   39 
   40 AC_CONFIG_FILES([Makefile])
   41 AM_CONFIG_HEADER(config.h)
   42 AC_OUTPUT