Annotation of libaitsync/configure.in, revision 1.1

1.1     ! misho       1: #
        !             2: # $Author: misho $
        !             3: # $Id: configure.in,v 1.3.2.1 2010/03/22 15:25:04 misho Exp $
        !             4: #
        !             5: AC_INIT(libaitsync, 1.0, misho@aitbg.com)
        !             6: AC_CONFIG_SRCDIR([src/aitsync.c])
        !             7: AC_CONFIG_HEADERS([inc/config.h])
        !             8: 
        !             9: # Checks for programs.
        !            10: AC_PROG_CC
        !            11: AC_PROG_RANLIB
        !            12: AC_PROG_INSTALL
        !            13: 
        !            14: AC_CANONICAL_HOST
        !            15: AC_CANONICAL_TARGET
        !            16: 
        !            17: AC_CHECK_TOOL(MKDEP, mkdep, no)
        !            18: AC_SUBST(MKDEP)
        !            19: 
        !            20: CFLAGS="-Wall -O2 -fPIC -I/usr/local/include ${CFLAGS}"
        !            21: LDFLAGS="-L/usr/local/lib ${LDFLAGS}"
        !            22: 
        !            23: # Checks for libraries.
        !            24: AC_CHECK_LIB([z], [deflate])
        !            25: 
        !            26: # Checks for header files.
        !            27: AC_CHECK_HEADERS([fcntl.h stdlib.h string.h sys/param.h unistd.h])
        !            28: 
        !            29: # Checks for typedefs, structures, and compiler characteristics.
        !            30: AC_C_INLINE
        !            31: AC_TYPE_OFF_T
        !            32: AC_TYPE_SIZE_T
        !            33: 
        !            34: # Checks for library functions.
        !            35: AC_FUNC_MALLOC
        !            36: AC_FUNC_MMAP
        !            37: AC_FUNC_REALLOC
        !            38: AC_CHECK_FUNCS([memset munmap])
        !            39: 
        !            40: DEBUG=no
        !            41: AC_MSG_CHECKING(Debug Build)
        !            42: AC_ARG_ENABLE(debug,
        !            43:        [  --enable-debug          Build library with debug information and additional messages],
        !            44:        [ DEBUG=$enableval
        !            45:                case "$enableval" in
        !            46:                        yes)
        !            47:                                AC_DEFINE(__DEBUG,, [Build libraries with debug information and additional messages])
        !            48:                                CFLAGS="-g ${CFLAGS}"
        !            49:                                ;;
        !            50:                        *)
        !            51:                                AC_DEFINE(NDEBUG,, [Build w/o assert() support])
        !            52:                                ;;
        !            53:                esac ],)
        !            54: AC_MSG_RESULT($DEBUG)
        !            55: 
        !            56: AC_CONFIG_FILES([Makefile
        !            57:                  inc/Makefile
        !            58:                  lib/Makefile
        !            59:                  src/Makefile])
        !            60: AC_OUTPUT

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>