|
version 1.3, 2011/03/16 17:24:03
|
version 1.14.2.1, 2013/12/03 20:34:05
|
|
Line 2
|
Line 2
|
| # $Author$ |
# $Author$ |
| # $Id$ |
# $Id$ |
| # |
# |
| AC_INIT(libaitcli, 2.0, misho@openbsd-bg.org) | AC_INIT(libaitcli, 3.8, misho@elwix.org) |
| AC_CONFIG_SRCDIR([src/aitcli.c]) |
AC_CONFIG_SRCDIR([src/aitcli.c]) |
| AC_CONFIG_HEADERS([inc/config.h]) |
AC_CONFIG_HEADERS([inc/config.h]) |
| |
|
| |
ac_cv_func_malloc_0_nonnull="yes" |
| |
ac_cv_func_realloc_0_nonnull="yes" |
| |
|
| # Checks for programs. |
# Checks for programs. |
| AC_PROG_CC |
AC_PROG_CC |
| AC_PROG_INSTALL |
AC_PROG_INSTALL |
|
Line 21 LDFLAGS="-L/usr/local/lib ${LDFLAGS}"
|
Line 24 LDFLAGS="-L/usr/local/lib ${LDFLAGS}"
|
| |
|
| # Checks for libraries. |
# Checks for libraries. |
| AC_CHECK_LIB(util, [forkpty]) |
AC_CHECK_LIB(util, [forkpty]) |
| AC_CHECK_LIB(aitio, [io_TrimStr]) | AC_CHECK_LIB(elwix, [str_Trim]) |
| AC_CHECK_LIB(aittelnet, [telnetRecv]) | |
| |
|
| # Checks for header files. |
# Checks for header files. |
| AC_CHECK_HEADERS([stdlib.h string.h sys/ioctl.h termios.h unistd.h]) | AC_CHECK_HEADERS([stdlib.h string.h sys/ioctl.h termios.h unistd.h libutil.h]) |
| |
|
| # Checks for typedefs, structures, and compiler characteristics. |
# Checks for typedefs, structures, and compiler characteristics. |
| AC_C_INLINE |
AC_C_INLINE |
| |
|
| # Checks for library functions. |
# Checks for library functions. |
| AC_CHECK_FUNCS([memset strdup strerror]) |
AC_CHECK_FUNCS([memset strdup strerror]) |
| AC_CHECK_FUNCS([io_TrimStr]) | AC_CHECK_FUNCS([str_Trim]) |
| AC_CHECK_FUNCS([forkpty]) |
AC_CHECK_FUNCS([forkpty]) |
| AC_CHECK_FUNCS([telnetRecv telnetSend]) |
|
| |
|
| DEBUG=no |
DEBUG=no |
| AC_MSG_CHECKING(Debug Build) |
AC_MSG_CHECKING(Debug Build) |