Diff for /libaitrpc/configure.in between versions 1.8 and 1.21

version 1.8, 2012/03/29 01:34:16 version 1.21, 2013/08/22 15:31:09
Line 2 Line 2
 # $Author$  # $Author$
 # $Id$  # $Id$
 #  #
AC_INIT(libaitrpc, 3.1, misho@elwix.org)AC_INIT(libaitrpc, 6.0, misho@elwix.org)
 AC_CONFIG_SRCDIR([src/aitrpc.c])  AC_CONFIG_SRCDIR([src/aitrpc.c])
 AC_CONFIG_HEADERS([inc/config.h])  AC_CONFIG_HEADERS([inc/config.h])
   
   ac_cv_func_malloc_0_nonnull="yes"
   ac_cv_func_realloc_0_nonnull="yes"
   
 # Checks for programs.  # Checks for programs.
 AC_PROG_CC  AC_PROG_CC
 AC_PROG_INSTALL  AC_PROG_INSTALL
Line 20  CFLAGS="-Wall -O2 -fPIC -I/usr/local/include ${CFLAGS} Line 23  CFLAGS="-Wall -O2 -fPIC -I/usr/local/include ${CFLAGS}
 LDFLAGS="-L/usr/local/lib ${LDFLAGS}"  LDFLAGS="-L/usr/local/lib ${LDFLAGS}"
   
 # Checks for libraries.  # Checks for libraries.
 AC_CHECK_LIB([aitio], [io_arrayInit])  
 AC_CHECK_LIB([aitsched], [schedInit])  
 AC_CHECK_LIB([aitcrc], [crcFletcher16])  
 AC_CHECK_LIB([pthread], [pthread_create])  AC_CHECK_LIB([pthread], [pthread_create])
   AC_CHECK_LIB([elwix], [array_Init])
   AC_CHECK_LIB([aitsched], [schedInit])
   
 # Checks for header files.  # Checks for header files.
 AC_CHECK_HEADERS([arpa/inet.h netdb.h netinet/in.h stdlib.h string.h sys/param.h sys/socket.h unistd.h])  AC_CHECK_HEADERS([arpa/inet.h netdb.h netinet/in.h stdlib.h string.h sys/param.h sys/socket.h unistd.h])
Line 47  AC_CHECK_FUNCS([memset select socket strdup strerror]) Line 49  AC_CHECK_FUNCS([memset select socket strdup strerror])
 AC_CHECK_FUNCS([srandomdev])  AC_CHECK_FUNCS([srandomdev])
 AC_CHECK_FUNCS([crcFletcher16 hash_fnv1])  AC_CHECK_FUNCS([crcFletcher16 hash_fnv1])
 AC_CHECK_FUNCS([pthread_yield])  AC_CHECK_FUNCS([pthread_yield])
AC_CHECK_FUNCS([io_arrayInit io_arrayDestroy])AC_CHECK_FUNCS([array_Init array_Destroy])
 AC_CHECK_FUNCS([schedInit schedEnd])  AC_CHECK_FUNCS([schedInit schedEnd])
   
 DEBUG=no  DEBUG=no
Line 65  AC_ARG_ENABLE(debug, Line 67  AC_ARG_ENABLE(debug,
                                 ;;                                  ;;
                 esac ],)                  esac ],)
 AC_MSG_RESULT($DEBUG)  AC_MSG_RESULT($DEBUG)
   
   CLI_RES_ZC=no
   AC_MSG_CHECKING(Client zero-copy return variables)
   AC_ARG_ENABLE(cli-res-zcpy, 
           [  --enable-cli-res-zcpy   Build library with zero-copy return array from RPC client ], 
           [ CLI_RES_ZC=$enableval
                   case "$enableval" in
                           yes)
                                   AC_DEFINE(CLI_RES_ZCOPY,, 
                                             [Build library with zero-copy return array from RPC client])
                                   ;;
                           *)
                                   ;;
                   esac ],)
   AC_MSG_RESULT($CLI_RES_ZC)
   
 AC_CONFIG_FILES([Makefile  AC_CONFIG_FILES([Makefile
                  inc/Makefile                   inc/Makefile

Removed from v.1.8  
changed lines
  Added in v.1.21


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