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