version 1.2, 2011/05/09 14:36:33
|
version 1.7.2.1, 2014/02/04 17:00:04
|
Line 2
|
Line 2
|
# $Author$ |
# $Author$ |
# $Id$ |
# $Id$ |
# |
# |
AC_INIT(libaitsync, 1.0, misho@aitbg.com) | AC_INIT(libaitsync, 2.2, misho@elwix.org) |
AC_CONFIG_SRCDIR([src/aitsync.c]) |
AC_CONFIG_SRCDIR([src/aitsync.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_RANLIB |
AC_PROG_RANLIB |
Line 17 AC_CANONICAL_TARGET
|
Line 20 AC_CANONICAL_TARGET
|
AC_CHECK_TOOL(MKDEP, mkdep, no) |
AC_CHECK_TOOL(MKDEP, mkdep, no) |
AC_SUBST(MKDEP) |
AC_SUBST(MKDEP) |
|
|
CFLAGS="-Wall -O2 -fPIC -I/usr/local/include ${CFLAGS}" | CFLAGS="-Wall -O2 -fPIC ${CFLAGS}" |
LDFLAGS="-L/usr/local/lib ${LDFLAGS}" | LDFLAGS="${LDFLAGS}" |
|
|
# Checks for libraries. |
# Checks for libraries. |
AC_CHECK_LIB([z], [deflate]) |
AC_CHECK_LIB([z], [deflate]) |
|
AC_CHECK_LIB([elwix], [crcAdler]) |
|
|
# Checks for header files. |
# Checks for header files. |
AC_CHECK_HEADERS([fcntl.h stdlib.h string.h sys/param.h unistd.h]) |
AC_CHECK_HEADERS([fcntl.h stdlib.h string.h sys/param.h unistd.h]) |