|
version 1.1, 2010/04/16 13:20:29
|
version 1.10.2.1, 2013/10/08 12:06:01
|
|
Line 2
|
Line 2
|
| # $Author$ |
# $Author$ |
| # $Id$ |
# $Id$ |
| # |
# |
| AC_INIT(libaitcli, 1.1, misho@openbsd-bg.org) | AC_INIT(libaitcli, 3.4, 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 20 CFLAGS="-Wall -O2 -fPIC -I/usr/local/include ${CFLAGS}
|
Line 23 CFLAGS="-Wall -O2 -fPIC -I/usr/local/include ${CFLAGS}
|
| LDFLAGS="-L/usr/local/lib ${LDFLAGS}" |
LDFLAGS="-L/usr/local/lib ${LDFLAGS}" |
| |
|
| # Checks for libraries. |
# Checks for libraries. |
| AC_CHECK_LIB(readline, [readline]) | AC_CHECK_LIB(util, [forkpty]) |
| | AC_CHECK_LIB(elwix, [str_Trim]) |
| |
|
| # 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([str_Trim]) |
| |
AC_CHECK_FUNCS([forkpty]) |
| |
|
| DEBUG=no |
DEBUG=no |
| AC_MSG_CHECKING(Debug Build) |
AC_MSG_CHECKING(Debug Build) |