version 1.1, 2010/03/24 16:00:14
|
version 1.5.2.2, 2013/05/22 11:31:18
|
Line 2
|
Line 2
|
# $Author$ |
# $Author$ |
# $Id$ |
# $Id$ |
# |
# |
AC_INIT(libaitsync, 1.0, misho@aitbg.com) | AC_INIT(libaitsync, 2.0, 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 22 LDFLAGS="-L/usr/local/lib ${LDFLAGS}"
|
Line 25 LDFLAGS="-L/usr/local/lib ${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]) |
Line 36 AC_FUNC_MALLOC
|
Line 40 AC_FUNC_MALLOC
|
AC_FUNC_MMAP |
AC_FUNC_MMAP |
AC_FUNC_REALLOC |
AC_FUNC_REALLOC |
AC_CHECK_FUNCS([memset munmap]) |
AC_CHECK_FUNCS([memset munmap]) |
|
AC_CHECK_FUNCS([mkstemps]) |
|
|
DEBUG=no |
DEBUG=no |
AC_MSG_CHECKING(Debug Build) |
AC_MSG_CHECKING(Debug Build) |