File:  [ELWIX - Embedded LightWeight unIX -] / ansh / configure.in
Revision 1.2: download - view: text, annotated - select for diffs - revision graph
Mon Oct 17 20:14:01 2011 UTC (12 years, 7 months ago) by misho
Branches: MAIN
CVS tags: ansh1_1, HEAD, ANSH1_0
ver 1.0

    1: #
    2: # $Author: misho $
    3: # $Id: configure.in,v 1.2 2011/10/17 20:14:01 misho Exp $
    4: #
    5: AC_INIT(ansh, 1.0, misho@elwix.org)
    6: AC_CONFIG_SRCDIR([src/anshd.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: AC_CHECK_LIB([crypto], [AES_ctr128_encrypt])
   24: AC_CHECK_LIB([util], [openpty])
   25: AC_CHECK_LIB([aitcrc], [crcAdler])
   26: AC_CHECK_LIB([aitio], [ioForkPTY])
   27: AC_CHECK_LIB([aitsched], [schedRead])
   28: 
   29: # Checks for header files.
   30: AC_CHECK_HEADERS([arpa/inet.h fcntl.h netdb.h netinet/in.h stdlib.h string.h sys/ioctl.h sys/param.h sys/socket.h syslog.h unistd.h])
   31: 
   32: # Checks for typedefs, structures, and compiler characteristics.
   33: AC_TYPE_INT8_T
   34: AC_TYPE_PID_T
   35: AC_TYPE_UINT16_T
   36: AC_TYPE_UINT32_T
   37: AC_TYPE_UINT8_T
   38: 
   39: # Checks for library functions.
   40: AC_FUNC_FORK
   41: AC_FUNC_MALLOC
   42: AC_CHECK_FUNCS([dup2 endpwent gethostbyname memset select socket strerror 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>