Annotation of fwmaker/configure.in, revision 1.1
1.1 ! misho 1: AC_INIT(fwmaker, 1.0, misho@elwix.org)
! 2: AC_CONFIG_HEADERS([inc/config.h])
! 3: AC_CONFIG_SRCDIR([src/fwmaker.c])
! 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, ../mkdep)
! 13: AC_SUBST(MKDEP)
! 14:
! 15: # Checks for libraries.
! 16: AC_CHECK_LIB([aitcli], [cliInputLine])
! 17: AC_CHECK_LIB([elwix], [elwix_GetError])
! 18:
! 19: # Checks for header files.
! 20: AC_CHECK_HEADERS([fcntl.h unistd.h])
! 21:
! 22: # Checks for typedefs, structures, and compiler characteristics.
! 23: AC_TYPE_OFF_T
! 24: AC_TYPE_SIZE_T
! 25:
! 26: DEBUG=no
! 27: AC_MSG_CHECKING(Debug Build)
! 28: AC_ARG_ENABLE(debug,
! 29: [ --enable-debug Build library with debug information and additional messages],
! 30: [ DEBUG=$enableval
! 31: case "$enableval" in
! 32: yes)
! 33: CFLAGS="-g ${CFLAGS}"
! 34: ;;
! 35: *)
! 36: AC_DEFINE(NDEBUG,, [Build w/o assert() support])
! 37: ;;
! 38: esac ],)
! 39: AC_MSG_RESULT($DEBUG)
! 40:
! 41: # Checks for library functions.
! 42: AC_CHECK_FUNCS([ftruncate memset strpbrk strtol])
! 43:
! 44: AC_CONFIG_FILES([Makefile
! 45: bin/Makefile
! 46: inc/Makefile
! 47: src/Makefile])
! 48: AC_OUTPUT
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>