initial commit
[ETG_Helmet] / SOFTWARE / UTILS / sshpass / src / configure.ac
1 #                                               -*- Autoconf -*-
2 # Process this file with autoconf to produce a configure script.
3
4 AC_PREREQ(2.57)
5 AC_INIT([sshpass], [1.05])
6 AM_INIT_AUTOMAKE
7 AC_COPYRIGHT([Copyright (C) 2006,2008,2011 Lingnu Open Source Consulting Ltd.])
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_CONFIG_FILES([Makefile])
36 AM_CONFIG_HEADER(config.h)
37 AC_OUTPUT
Contact me: dev (at) shalnoff (dot) com
PGP fingerprint: A6B8 3B23 6013 F18A 0C71 198B 83D8 C64D 917A 5717