Annotation of libaitsess/configure.in, revision 1.1.2.1
1.1.2.1 ! misho 1: #
! 2: # $Author: misho $
! 3: # $Id: configure.in,v 1.1.2.5 2008/09/30 20:00:26 misho Exp $
! 4: #
! 5: AC_INIT(libaitsess, 2.0, misho@openbsd-bg.org)
! 6: AC_CONFIG_SRCDIR([src/aitsess.c])
! 7: AC_CONFIG_HEADERS([inc/config.h])
! 8:
! 9: # Checks for programs.
! 10: AC_PROG_CC
! 11: AC_PROG_INSTALL
! 12:
! 13: AC_CANONICAL_HOST
! 14: AC_CANONICAL_TARGET
! 15:
! 16: AC_CHECK_TOOL(MKDEP, mkdep, no)
! 17: AC_SUBST(MKDEP)
! 18:
! 19: CFLAGS="-Wall -O2 -fPIC -I/usr/local/include ${CFLAGS}"
! 20: LDFLAGS="-L/usr/local/lib ${LDFLAGS}"
! 21:
! 22: # Checks for libraries.
! 23:
! 24: # Checks for header files.
! 25:
! 26: # Checks for typedefs, structures, and compiler characteristics.
! 27: AC_C_CONST
! 28: AC_C_INLINE
! 29:
! 30: # Checks for library functions.
! 31: AC_FUNC_MALLOC
! 32: AC_FUNC_MMAP
! 33: AC_CHECK_FUNCS([bzero memset munmap])
! 34:
! 35: DEBUG=no
! 36: AC_MSG_CHECKING(Debug Build)
! 37: AC_ARG_ENABLE(debug,
! 38: [ --enable-debug Build library with debug information and additional messages],
! 39: [ DEBUG=$enableval
! 40: case "$enableval" in
! 41: yes)
! 42: AC_DEFINE(__DEBUG,, [Build libraries with debug information and additional messages])
! 43: ;;
! 44: *)
! 45: ;;
! 46: esac ],)
! 47: AC_MSG_RESULT($DEBUG)
! 48:
! 49: AC_CONFIG_FILES([Makefile
! 50: inc/Makefile
! 51: lib/Makefile
! 52: src/Makefile])
! 53: AC_OUTPUT
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>