Diff for /libaitrpc/configure between versions 1.14 and 1.32

version 1.14, 2013/01/17 16:11:25 version 1.32, 2015/01/21 21:17:04
Line 1 Line 1
 #! /bin/sh  #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.  # Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.69 for libaitrpc 4.4.# Generated by GNU Autoconf 2.69 for libaitrpc 8.0.
 #  #
 # Report bugs to <misho@elwix.org>.  # Report bugs to <misho@elwix.org>.
 #  #
Line 580  MAKEFLAGS= Line 580  MAKEFLAGS=
 # Identity of this package.  # Identity of this package.
 PACKAGE_NAME='libaitrpc'  PACKAGE_NAME='libaitrpc'
 PACKAGE_TARNAME='libaitrpc'  PACKAGE_TARNAME='libaitrpc'
PACKAGE_VERSION='4.4'<<<<<<< configure
PACKAGE_STRING='libaitrpc 4.4'PACKAGE_VERSION='8.0'
 PACKAGE_STRING='libaitrpc 8.0'
 =======
 PACKAGE_VERSION='7.2'
 PACKAGE_STRING='libaitrpc 7.2'
 >>>>>>> 1.31
 PACKAGE_BUGREPORT='misho@elwix.org'  PACKAGE_BUGREPORT='misho@elwix.org'
 PACKAGE_URL=''  PACKAGE_URL=''
   
Line 693  ac_user_opts=' Line 698  ac_user_opts='
 enable_option_checking  enable_option_checking
 enable_debug  enable_debug
 enable_cli_res_zcpy  enable_cli_res_zcpy
   enable_tcp_sess_exp
   with_timeout_period
 '  '
       ac_precious_vars='build_alias        ac_precious_vars='build_alias
 host_alias  host_alias
Line 1243  if test "$ac_init_help" = "long"; then Line 1250  if test "$ac_init_help" = "long"; then
   # Omit some internal or obsolete options to make the list less imposing.    # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.    # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF    cat <<_ACEOF
\`configure' configures libaitrpc 4.4 to adapt to many kinds of systems.<<<<<<< configure
 \`configure' configures libaitrpc 8.0 to adapt to many kinds of systems.
 =======
 \`configure' configures libaitrpc 7.2 to adapt to many kinds of systems.
 >>>>>>> 1.31
   
 Usage: $0 [OPTION]... [VAR=VALUE]...  Usage: $0 [OPTION]... [VAR=VALUE]...
   
Line 1309  fi Line 1320  fi
   
 if test -n "$ac_init_help"; then  if test -n "$ac_init_help"; then
   case $ac_init_help in    case $ac_init_help in
     short | recursive ) echo "Configuration of libaitrpc 4.4:";;<<<<<<< configure
      short | recursive ) echo "Configuration of libaitrpc 8.0:";;
 =======
      short | recursive ) echo "Configuration of libaitrpc 7.2:";;
 >>>>>>> 1.31
    esac     esac
   cat <<\_ACEOF    cat <<\_ACEOF
   
Line 1319  Optional Features: Line 1334  Optional Features:
   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]    --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   --enable-debug          Build library with debug information and additional messages    --enable-debug          Build library with debug information and additional messages
   --enable-cli-res-zcpy   Build library with zero-copy return array from RPC client    --enable-cli-res-zcpy   Build library with zero-copy return array from RPC client
     --enable-tcp_sess_exp   Build library with TCP session expiration
   
   Optional Packages:
     --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
     --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
     --with-timeout_period   Build library with TCP timeout period
   
 Some influential environment variables:  Some influential environment variables:
   CC          C compiler command    CC          C compiler command
   CFLAGS      C compiler flags    CFLAGS      C compiler flags
Line 1396  fi Line 1417  fi
 test -n "$ac_init_help" && exit $ac_status  test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then  if $ac_init_version; then
   cat <<\_ACEOF    cat <<\_ACEOF
libaitrpc configure 4.4<<<<<<< configure
 libaitrpc configure 8.0
 =======
 libaitrpc configure 7.2
 >>>>>>> 1.31
 generated by GNU Autoconf 2.69  generated by GNU Autoconf 2.69
   
 Copyright (C) 2012 Free Software Foundation, Inc.  Copyright (C) 2012 Free Software Foundation, Inc.
Line 1949  cat >config.log <<_ACEOF Line 1974  cat >config.log <<_ACEOF
 This file contains any messages produced by compilers while  This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.  running configure, to aid debugging if configure makes a mistake.
   
It was created by libaitrpc $as_me 4.4, which was<<<<<<< configure
 It was created by libaitrpc $as_me 8.0, which was
 =======
 It was created by libaitrpc $as_me 7.2, which was
 >>>>>>> 1.31
 generated by GNU Autoconf 2.69.  Invocation command line was  generated by GNU Autoconf 2.69.  Invocation command line was
   
   $ $0 $@    $ $0 $@
Line 2301  ac_compiler_gnu=$ac_cv_c_compiler_gnu Line 2330  ac_compiler_gnu=$ac_cv_c_compiler_gnu
 ac_config_headers="$ac_config_headers inc/config.h"  ac_config_headers="$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_ext=c  ac_ext=c
 ac_cpp='$CPP $CPPFLAGS'  ac_cpp='$CPP $CPPFLAGS'
Line 3419  fi Line 3451  fi
   
   
   
CFLAGS="-Wall -O2 -fPIC -I/usr/local/include ${CFLAGS}"CFLAGS="-Wall -O2 -fPIC ${CFLAGS}"
LDFLAGS="-L/usr/local/lib ${LDFLAGS}"LDFLAGS="${LDFLAGS}"
   
 # Checks for libraries.  # Checks for libraries.
   
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for io_arrayInit in -laitio" >&5{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
$as_echo_n "checking for io_arrayInit in -laitio... " >&6; }$as_echo_n "checking for pthread_create in -lpthread... " >&6; }
if ${ac_cv_lib_aitio_io_arrayInit+:} false; then :if ${ac_cv_lib_pthread_pthread_create+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
LIBS="-laitio  $LIBS"LIBS="-lpthread  $LIBS"
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */  /* end confdefs.h.  */
   
Line 3440  cat confdefs.h - <<_ACEOF >conftest.$ac_ext Line 3472  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 #ifdef __cplusplus  #ifdef __cplusplus
 extern "C"  extern "C"
 #endif  #endif
char io_arrayInit ();char pthread_create ();
 int  int
 main ()  main ()
 {  {
return io_arrayInit ();return pthread_create ();
   ;    ;
   return 0;    return 0;
 }  }
 _ACEOF  _ACEOF
 if ac_fn_c_try_link "$LINENO"; then :  if ac_fn_c_try_link "$LINENO"; then :
  ac_cv_lib_aitio_io_arrayInit=yes  ac_cv_lib_pthread_pthread_create=yes
 else  else
  ac_cv_lib_aitio_io_arrayInit=no  ac_cv_lib_pthread_pthread_create=no
 fi  fi
 rm -f core conftest.err conftest.$ac_objext \  rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext conftest.$ac_ext      conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
 fi  fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_aitio_io_arrayInit" >&5{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
$as_echo "$ac_cv_lib_aitio_io_arrayInit" >&6; }$as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
if test "x$ac_cv_lib_aitio_io_arrayInit" = xyes; then :if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
   cat >>confdefs.h <<_ACEOF    cat >>confdefs.h <<_ACEOF
#define HAVE_LIBAITIO 1#define HAVE_LIBPTHREAD 1
 _ACEOF  _ACEOF
   
  LIBS="-laitio $LIBS"  LIBS="-lpthread $LIBS"
   
 fi  fi
   
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for schedInit in -laitsched" >&5{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for array_Init in -lelwix" >&5
$as_echo_n "checking for schedInit in -laitsched... " >&6; }$as_echo_n "checking for array_Init in -lelwix... " >&6; }
if ${ac_cv_lib_aitsched_schedInit+:} false; then :if ${ac_cv_lib_elwix_array_Init+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
LIBS="-laitsched  $LIBS"LIBS="-lelwix  $LIBS"
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */  /* end confdefs.h.  */
   
Line 3485  cat confdefs.h - <<_ACEOF >conftest.$ac_ext Line 3517  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 #ifdef __cplusplus  #ifdef __cplusplus
 extern "C"  extern "C"
 #endif  #endif
char schedInit ();char array_Init ();
 int  int
 main ()  main ()
 {  {
return schedInit ();return array_Init ();
   ;    ;
   return 0;    return 0;
 }  }
 _ACEOF  _ACEOF
 if ac_fn_c_try_link "$LINENO"; then :  if ac_fn_c_try_link "$LINENO"; then :
  ac_cv_lib_aitsched_schedInit=yes  ac_cv_lib_elwix_array_Init=yes
 else  else
  ac_cv_lib_aitsched_schedInit=no  ac_cv_lib_elwix_array_Init=no
 fi  fi
 rm -f core conftest.err conftest.$ac_objext \  rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext conftest.$ac_ext      conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
 fi  fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_aitsched_schedInit" >&5{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_elwix_array_Init" >&5
$as_echo "$ac_cv_lib_aitsched_schedInit" >&6; }$as_echo "$ac_cv_lib_elwix_array_Init" >&6; }
if test "x$ac_cv_lib_aitsched_schedInit" = xyes; then :if test "x$ac_cv_lib_elwix_array_Init" = xyes; then :
   cat >>confdefs.h <<_ACEOF    cat >>confdefs.h <<_ACEOF
#define HAVE_LIBAITSCHED 1#define HAVE_LIBELWIX 1
 _ACEOF  _ACEOF
   
  LIBS="-laitsched $LIBS"  LIBS="-lelwix $LIBS"
   
 fi  fi
   
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for crcFletcher16 in -laitcrc" >&5{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for schedInit in -laitsched" >&5
$as_echo_n "checking for crcFletcher16 in -laitcrc... " >&6; }$as_echo_n "checking for schedInit in -laitsched... " >&6; }
if ${ac_cv_lib_aitcrc_crcFletcher16+:} false; then :if ${ac_cv_lib_aitsched_schedInit+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
LIBS="-laitcrc  $LIBS"LIBS="-laitsched  $LIBS"
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */  /* end confdefs.h.  */
   
Line 3530  cat confdefs.h - <<_ACEOF >conftest.$ac_ext Line 3562  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 #ifdef __cplusplus  #ifdef __cplusplus
 extern "C"  extern "C"
 #endif  #endif
char crcFletcher16 ();char schedInit ();
 int  int
 main ()  main ()
 {  {
return crcFletcher16 ();return schedInit ();
   ;    ;
   return 0;    return 0;
 }  }
 _ACEOF  _ACEOF
 if ac_fn_c_try_link "$LINENO"; then :  if ac_fn_c_try_link "$LINENO"; then :
  ac_cv_lib_aitcrc_crcFletcher16=yes  ac_cv_lib_aitsched_schedInit=yes
 else  else
  ac_cv_lib_aitcrc_crcFletcher16=no  ac_cv_lib_aitsched_schedInit=no
 fi  fi
 rm -f core conftest.err conftest.$ac_objext \  rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext conftest.$ac_ext      conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
 fi  fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_aitcrc_crcFletcher16" >&5{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_aitsched_schedInit" >&5
$as_echo "$ac_cv_lib_aitcrc_crcFletcher16" >&6; }$as_echo "$ac_cv_lib_aitsched_schedInit" >&6; }
if test "x$ac_cv_lib_aitcrc_crcFletcher16" = xyes; then :if test "x$ac_cv_lib_aitsched_schedInit" = xyes; then :
   cat >>confdefs.h <<_ACEOF    cat >>confdefs.h <<_ACEOF
#define HAVE_LIBAITCRC 1#define HAVE_LIBAITSCHED 1
 _ACEOF  _ACEOF
   
  LIBS="-laitcrc $LIBS"  LIBS="-laitsched $LIBS"
   
 fi  fi
   
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5  
 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }  
 if ${ac_cv_lib_pthread_pthread_create+:} false; then :  
   $as_echo_n "(cached) " >&6  
 else  
   ac_check_lib_save_LIBS=$LIBS  
 LIBS="-lpthread  $LIBS"  
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext  
 /* end confdefs.h.  */  
   
 /* Override any GCC internal prototype to avoid an error.  
    Use char because int might match the return type of a GCC  
    builtin and then its argument prototype would still apply.  */  
 #ifdef __cplusplus  
 extern "C"  
 #endif  
 char pthread_create ();  
 int  
 main ()  
 {  
 return pthread_create ();  
   ;  
   return 0;  
 }  
 _ACEOF  
 if ac_fn_c_try_link "$LINENO"; then :  
   ac_cv_lib_pthread_pthread_create=yes  
 else  
   ac_cv_lib_pthread_pthread_create=no  
 fi  
 rm -f core conftest.err conftest.$ac_objext \  
     conftest$ac_exeext conftest.$ac_ext  
 LIBS=$ac_check_lib_save_LIBS  
 fi  
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5  
 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }  
 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :  
   cat >>confdefs.h <<_ACEOF  
 #define HAVE_LIBPTHREAD 1  
 _ACEOF  
   
   LIBS="-lpthread $LIBS"  
   
 fi  
   
   
 # Checks for header files.  # Checks for header files.
 ac_ext=c  ac_ext=c
 ac_cpp='$CPP $CPPFLAGS'  ac_cpp='$CPP $CPPFLAGS'
Line 4564  _ACEOF Line 4551  _ACEOF
 fi  fi
 done  done
   
for ac_func in io_arrayInit io_arrayDestroyfor ac_func in array_Init array_Destroy
 do :  do :
   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"  ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
Line 4633  fi Line 4620  fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CLI_RES_ZC" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CLI_RES_ZC" >&5
 $as_echo "$CLI_RES_ZC" >&6; }  $as_echo "$CLI_RES_ZC" >&6; }
   
   TCP_SESSION_TIMEOUT=no
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking RPC server can to do expiring for TCP sessions" >&5
   $as_echo_n "checking RPC server can to do expiring for TCP sessions... " >&6; }
   # Check whether --enable-tcp_sess_exp was given.
   if test "${enable_tcp_sess_exp+set}" = set; then :
     enableval=$enable_tcp_sess_exp;  TCP_SESSION_TIMEOUT=$enableval
                   case "$enableval" in
                           yes)
   
   $as_echo "#define TCP_SESSION_TIMEOUT /**/" >>confdefs.h
   
                                   ;;
                           *)
                                   ;;
                   esac
   fi
   
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TCP_SESSION_TIMEOUT" >&5
   $as_echo "$TCP_SESSION_TIMEOUT" >&6; }
   
   DEF_RPC_TIMEOUT=60
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking RPC server timeout period" >&5
   $as_echo_n "checking RPC server timeout period... " >&6; }
   
   # Check whether --with-timeout_period was given.
   if test "${with_timeout_period+set}" = set; then :
     withval=$with_timeout_period;  DEF_RPC_TIMEOUT=$withval
   fi
   
   
   cat >>confdefs.h <<_ACEOF
   #define DEF_RPC_TIMEOUT $DEF_RPC_TIMEOUT
   _ACEOF
   
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DEF_RPC_TIMEOUT" >&5
   $as_echo "$DEF_RPC_TIMEOUT" >&6; }
   
   
 ac_config_files="$ac_config_files Makefile inc/Makefile lib/Makefile src/Makefile"  ac_config_files="$ac_config_files Makefile inc/Makefile lib/Makefile src/Makefile"
   
 cat >confcache <<\_ACEOF  cat >confcache <<\_ACEOF
Line 5141  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 Line 5166  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 # report actual input values of CONFIG_FILES etc. instead of their  # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.  # values after options handling.
 ac_log="  ac_log="
This file was extended by libaitrpc $as_me 4.4, which was<<<<<<< configure
 This file was extended by libaitrpc $as_me 8.0, which was
 =======
 This file was extended by libaitrpc $as_me 7.2, which was
 >>>>>>> 1.31
 generated by GNU Autoconf 2.69.  Invocation command line was  generated by GNU Autoconf 2.69.  Invocation command line was
   
   CONFIG_FILES    = $CONFIG_FILES    CONFIG_FILES    = $CONFIG_FILES
Line 5203  _ACEOF Line 5232  _ACEOF
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1  cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"  ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\  ac_cs_version="\\
libaitrpc config.status 4.4<<<<<<< configure
 libaitrpc config.status 8.0
 =======
 libaitrpc config.status 7.2
 >>>>>>> 1.31
 configured by $0, generated by GNU Autoconf 2.69,  configured by $0, generated by GNU Autoconf 2.69,
   with options \\"\$ac_cs_config\\"    with options \\"\$ac_cs_config\\"
   

Removed from v.1.14  
changed lines
  Added in v.1.32


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