Diff for /libaitsched/configure between versions 1.15 and 1.43.2.2

version 1.15, 2012/08/08 08:26:19 version 1.43.2.2, 2022/09/26 19:06:17
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 libaitsched 3.0.# Generated by GNU Autoconf 2.69 for libaitsched 6.8.
 #  #
# Report bugs to <misho@openbsd-bg.org>.# Report bugs to <misho@elwix.org>.
 #  #
 #  #
 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.  # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
Line 266  fi Line 266  fi
     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"      $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
     $as_echo "$0: be upgraded to zsh 4.3.4 or later."      $as_echo "$0: be upgraded to zsh 4.3.4 or later."
   else    else
    $as_echo "$0: Please tell bug-autoconf@gnu.org and    $as_echo "$0: Please tell bug-autoconf@gnu.org and misho@elwix.org
$0: misho@openbsd-bg.org about your system, including any$0: about your system, including any error possibly output
$0: error possibly output before this message. Then install$0: before this message. Then install a modern shell, or
$0: a modern shell, or manually run the script under such a$0: manually run the script under such a shell if you do
$0: shell if you do have one."$0: have one."
   fi    fi
   exit 1    exit 1
 fi  fi
Line 580  MAKEFLAGS= Line 580  MAKEFLAGS=
 # Identity of this package.  # Identity of this package.
 PACKAGE_NAME='libaitsched'  PACKAGE_NAME='libaitsched'
 PACKAGE_TARNAME='libaitsched'  PACKAGE_TARNAME='libaitsched'
PACKAGE_VERSION='3.0'PACKAGE_VERSION='6.8'
PACKAGE_STRING='libaitsched 3.0'PACKAGE_STRING='libaitsched 6.8'
PACKAGE_BUGREPORT='misho@openbsd-bg.org'PACKAGE_BUGREPORT='misho@elwix.org'
 PACKAGE_URL=''  PACKAGE_URL=''
   
 ac_unique_file="src/aitsched.c"  ac_unique_file="src/aitsched.c"
Line 670  infodir Line 670  infodir
 docdir  docdir
 oldincludedir  oldincludedir
 includedir  includedir
   runstatedir
 localstatedir  localstatedir
 sharedstatedir  sharedstatedir
 sysconfdir  sysconfdir
Line 694  ac_user_opts=' Line 695  ac_user_opts='
 enable_option_checking  enable_option_checking
 enable_debug  enable_debug
 enable_aio  enable_aio
   enable_epoll
   enable_kqueue
   with_kq_events
 '  '
       ac_precious_vars='build_alias        ac_precious_vars='build_alias
 host_alias  host_alias
Line 742  datadir='${datarootdir}' Line 746  datadir='${datarootdir}'
 sysconfdir='${prefix}/etc'  sysconfdir='${prefix}/etc'
 sharedstatedir='${prefix}/com'  sharedstatedir='${prefix}/com'
 localstatedir='${prefix}/var'  localstatedir='${prefix}/var'
   runstatedir='${localstatedir}/run'
 includedir='${prefix}/include'  includedir='${prefix}/include'
 oldincludedir='/usr/include'  oldincludedir='/usr/include'
 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'  docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
Line 994  do Line 999  do
   | -silent | --silent | --silen | --sile | --sil)    | -silent | --silent | --silen | --sile | --sil)
     silent=yes ;;      silent=yes ;;
   
     -runstatedir | --runstatedir | --runstatedi | --runstated \
     | --runstate | --runstat | --runsta | --runst | --runs \
     | --run | --ru | --r)
       ac_prev=runstatedir ;;
     -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
     | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
     | --run=* | --ru=* | --r=*)
       runstatedir=$ac_optarg ;;
   
   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)    -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
     ac_prev=sbindir ;;      ac_prev=sbindir ;;
   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \    -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
Line 1131  fi Line 1145  fi
 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \  for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
                 datadir sysconfdir sharedstatedir localstatedir includedir \                  datadir sysconfdir sharedstatedir localstatedir includedir \
                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \                  oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
                libdir localedir mandir                libdir localedir mandir runstatedir
 do  do
   eval ac_val=\$$ac_var    eval ac_val=\$$ac_var
   # Remove trailing slashes.    # Remove trailing slashes.
Line 1244  if test "$ac_init_help" = "long"; then Line 1258  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 libaitsched 3.0 to adapt to many kinds of systems.\`configure' configures libaitsched 6.8 to adapt to many kinds of systems.
   
 Usage: $0 [OPTION]... [VAR=VALUE]...  Usage: $0 [OPTION]... [VAR=VALUE]...
   
Line 1284  Fine tuning of the installation directories: Line 1298  Fine tuning of the installation directories:
   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]    --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]    --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]    --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
     --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   --libdir=DIR            object code libraries [EPREFIX/lib]    --libdir=DIR            object code libraries [EPREFIX/lib]
   --includedir=DIR        C header files [PREFIX/include]    --includedir=DIR        C header files [PREFIX/include]
   --oldincludedir=DIR     C header files for non-gcc [/usr/include]    --oldincludedir=DIR     C header files for non-gcc [/usr/include]
Line 1310  fi Line 1325  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 libaitsched 3.0:";;     short | recursive ) echo "Configuration of libaitsched 6.8:";;
    esac     esac
   cat <<\_ACEOF    cat <<\_ACEOF
   
Line 1320  Optional Features: Line 1335  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-aio            Build scheduler library with AIO operations    --enable-aio            Build scheduler library with AIO operations
     --enable-epoll          Enable epoll support (only under Linux)
     --disable-kqueue        Disable kqueue support
   
   Optional Packages:
     --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
     --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
     --with-kq_events        Set how many kqueue events can scheduling at one time
   
 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 1334  Some influential environment variables: Line 1356  Some influential environment variables:
 Use these variables to override the choices made by `configure' or to help  Use these variables to override the choices made by `configure' or to help
 it to find libraries and programs with nonstandard names/locations.  it to find libraries and programs with nonstandard names/locations.
   
Report bugs to <misho@openbsd-bg.org>.Report bugs to <misho@elwix.org>.
 _ACEOF  _ACEOF
 ac_status=$?  ac_status=$?
 fi  fi
Line 1397  fi Line 1419  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
libaitsched configure 3.0libaitsched configure 6.8
 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 1602  $as_echo "$as_me: WARNING: $2: see the Autoconf docume Line 1624  $as_echo "$as_me: WARNING: $2: see the Autoconf docume
 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}  $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}  $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
( $as_echo "## ----------------------------------- ##( $as_echo "## ------------------------------ ##
## Report this to misho@openbsd-bg.org #### Report this to misho@elwix.org ##
## ----------------------------------- ##"## ------------------------------ ##"
      ) | sed "s/^/$as_me: WARNING:     /" >&2       ) | sed "s/^/$as_me: WARNING:     /" >&2
     ;;      ;;
 esac  esac
Line 1820  cat >config.log <<_ACEOF Line 1842  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 libaitsched $as_me 3.0, which wasIt was created by libaitsched $as_me 6.8, which was
 generated by GNU Autoconf 2.69.  Invocation command line was  generated by GNU Autoconf 2.69.  Invocation command line was
   
   $ $0 $@    $ $0 $@
Line 2172  ac_compiler_gnu=$ac_cv_c_compiler_gnu Line 2194  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 3366  $as_echo "no" >&6; } Line 3391  $as_echo "no" >&6; }
 fi  fi
   
   if test "x$ac_ct_MKDEP" = x; then    if test "x$ac_ct_MKDEP" = x; then
    MKDEP="no"    MKDEP="../mkdep"
   else    else
     case $cross_compiling:$ac_tool_warned in      case $cross_compiling:$ac_tool_warned in
 yes:)  yes:)
Line 3382  fi Line 3407  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.
Line 3478  _ACEOF Line 3503  _ACEOF
   
 fi  fi
   
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strlcpy in -lbsd" >&5
   $as_echo_n "checking for strlcpy in -lbsd... " >&6; }
   if ${ac_cv_lib_bsd_strlcpy+:} false; then :
     $as_echo_n "(cached) " >&6
   else
     ac_check_lib_save_LIBS=$LIBS
   LIBS="-lbsd  $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 strlcpy ();
   int
   main ()
   {
   return strlcpy ();
     ;
     return 0;
   }
   _ACEOF
   if ac_fn_c_try_link "$LINENO"; then :
     ac_cv_lib_bsd_strlcpy=yes
   else
     ac_cv_lib_bsd_strlcpy=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_bsd_strlcpy" >&5
   $as_echo "$ac_cv_lib_bsd_strlcpy" >&6; }
   if test "x$ac_cv_lib_bsd_strlcpy" = xyes; then :
     cat >>confdefs.h <<_ACEOF
   #define HAVE_LIBBSD 1
   _ACEOF
   
     LIBS="-lbsd $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 3890  fi Line 3960  fi
   
 done  done
   
   for ac_header in bsd/string.h
   do :
     ac_fn_c_check_header_mongrel "$LINENO" "bsd/string.h" "ac_cv_header_bsd_string_h" "$ac_includes_default"
   if test "x$ac_cv_header_bsd_string_h" = xyes; then :
     cat >>confdefs.h <<_ACEOF
   #define HAVE_BSD_STRING_H 1
   _ACEOF
   
   fi
   
   done
   
   
 # Checks for typedefs, structures, and compiler characteristics.  # Checks for typedefs, structures, and compiler characteristics.
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
 $as_echo_n "checking for inline... " >&6; }  $as_echo_n "checking for inline... " >&6; }
Line 4014  $as_echo "#define malloc rpl_malloc" >>confdefs.h Line 4096  $as_echo "#define malloc rpl_malloc" >>confdefs.h
 fi  fi
   
   
for ac_func in clock_gettime memset strerrorfor ac_func in clock_gettime memset strerror timer_create timer_settime timer_delete strlcat strlcpy
 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 4075  fi Line 4157  fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AIO" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AIO" >&5
 $as_echo "$AIO" >&6; }  $as_echo "$AIO" >&6; }
   
   
   $as_echo "#define NO_SUPPORT 0" >>confdefs.h
   
   
   $as_echo "#define KQ_SUPPORT 1" >>confdefs.h
   
   
   $as_echo "#define EP_SUPPORT 2" >>confdefs.h
   
   
   
   $as_echo "#define SUP_ENABLE KQ_SUPPORT" >>confdefs.h
   
   
   EPSUP=no
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking epoll support" >&5
   $as_echo_n "checking epoll support... " >&6; }
   # Check whether --enable-epoll was given.
   if test "${enable_epoll+set}" = set; then :
     enableval=$enable_epoll;  EPSUP=$enableval
                   case "$enableval" in
                           yes)
   
   $as_echo "#define SUP_ENABLE EP_SUPPORT" >>confdefs.h
   
                                   KQSUP=no
                                   ;;
                           *)
                                   KQSUP=yes
                                   ;;
                   esac
   else
      KQSUP=yes
   fi
   
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EPSUP" >&5
   $as_echo "$EPSUP" >&6; }
   
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking kqueue support" >&5
   $as_echo_n "checking kqueue support... " >&6; }
   # Check whether --enable-kqueue was given.
   if test "${enable_kqueue+set}" = set; then :
     enableval=$enable_kqueue;  KQSUP=$enableval
                   case "$enableval" in
                           no)
   
   $as_echo "#define SUP_ENABLE NO_SUPPORT" >>confdefs.h
   
                                   ;;
                           *)
                                   ;;
                   esac
   fi
   
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $KQSUP" >&5
   $as_echo "$KQSUP" >&6; }
   
   KQ_EVENTS=24
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking How many kqueue events can scheduling at one time" >&5
   $as_echo_n "checking How many kqueue events can scheduling at one time... " >&6; }
   
   # Check whether --with-kq_events was given.
   if test "${with_kq_events+set}" = set; then :
     withval=$with_kq_events;  KQ_EVENTS=$withval
   else
     KQ_EVENTS=32
   fi
   
   
   cat >>confdefs.h <<_ACEOF
   #define KQ_EVENTS $KQ_EVENTS
   _ACEOF
   
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $KQ_EVENTS" >&5
   $as_echo "$KQ_EVENTS" >&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 4583  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 Line 4741  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 libaitsched $as_me 3.0, which wasThis file was extended by libaitsched $as_me 6.8, which was
 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 4639  $config_files Line 4797  $config_files
 Configuration headers:  Configuration headers:
 $config_headers  $config_headers
   
Report bugs to <misho@openbsd-bg.org>."Report bugs to <misho@elwix.org>."
   
 _ACEOF  _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="\\
libaitsched config.status 3.0libaitsched config.status 6.8
 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.15  
changed lines
  Added in v.1.43.2.2


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