Diff for /libaitsess/configure between versions 1.2 and 1.3

version 1.2, 2011/04/30 21:35:21 version 1.3, 2011/09/07 13:11:55
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.64 for libaitsess 2.0.# Generated by GNU Autoconf 2.68 for libaitsess 2.1.
 #  #
 # Report bugs to <misho@openbsd-bg.org>.  # Report bugs to <misho@openbsd-bg.org>.
 #  #
   #
 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,  # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
 # Foundation, Inc.  # Foundation, Inc.
 #  #
   #
 # This configure script is free software; the Free Software Foundation  # This configure script is free software; the Free Software Foundation
 # gives unlimited permission to copy, distribute and modify it.  # gives unlimited permission to copy, distribute and modify it.
 ## -------------------- ##  ## -------------------- ##
Line 89  fi Line 91  fi
 IFS=" ""        $as_nl"  IFS=" ""        $as_nl"
   
 # Find who we are.  Look in the path if we contain no directory separator.  # Find who we are.  Look in the path if we contain no directory separator.
   as_myself=
 case $0 in #((  case $0 in #((
   *[\\/]* ) as_myself=$0 ;;    *[\\/]* ) as_myself=$0 ;;
   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
Line 214  IFS=$as_save_IFS Line 217  IFS=$as_save_IFS
   # We cannot yet assume a decent shell, so we have to provide a    # We cannot yet assume a decent shell, so we have to provide a
         # neutralization value for shells without unset; and this also          # neutralization value for shells without unset; and this also
         # works around shells that cannot unset nonexistent variables.          # works around shells that cannot unset nonexistent variables.
           # Preserve -v and -x to the replacement shell.
         BASH_ENV=/dev/null          BASH_ENV=/dev/null
         ENV=/dev/null          ENV=/dev/null
         (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV          (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
         export CONFIG_SHELL          export CONFIG_SHELL
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}        case $- in # ((((
           *v*x* | *x*v* ) as_opts=-vx ;;
           *v* ) as_opts=-v ;;
           *x* ) as_opts=-x ;;
           * ) as_opts= ;;
         esac
         exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
 fi  fi
   
     if test x$as_have_required = xno; then :      if test x$as_have_required = xno; then :
Line 317  $as_echo X"$as_dir" | Line 327  $as_echo X"$as_dir" |
       test -d "$as_dir" && break        test -d "$as_dir" && break
     done      done
     test -z "$as_dirs" || eval "mkdir $as_dirs"      test -z "$as_dirs" || eval "mkdir $as_dirs"
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   
   
 } # as_fn_mkdir_p  } # as_fn_mkdir_p
Line 357  else Line 367  else
 fi # as_fn_arith  fi # as_fn_arith
   
   
# as_fn_error ERROR [LINENO LOG_FD]# as_fn_error STATUS ERROR [LINENO LOG_FD]
# ---------------------------------# ----------------------------------------
 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are  # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the  # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
# script with status $?, using 1 if that was 0.# script with STATUS, using 1 if that was 0.
 as_fn_error ()  as_fn_error ()
 {  {
  as_status=$?; test $as_status -eq 0 && as_status=1  as_status=$1; test $as_status -eq 0 && as_status=1
  if test "$3"; then  if test "$4"; then
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   fi    fi
  $as_echo "$as_me: error: $1" >&2  $as_echo "$as_me: error: $2" >&2
   as_fn_exit $as_status    as_fn_exit $as_status
 } # as_fn_error  } # as_fn_error
   
Line 527  as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS Line 537  as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS
 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"  as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   
   
exec 7<&0 </dev/null 6>&1test -n "$DJDIR" || exec 7<&0 </dev/null
 exec 6>&1
   
 # Name of the host.  # Name of the host.
# hostname on some systems (SVR3.2Linux) returns a bogus exit status,# hostname on some systems (SVR3.2old GNU/Linux) returns a bogus exit status,
 # so uname gets run too.  # so uname gets run too.
 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`  ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
   
Line 549  MAKEFLAGS= Line 560  MAKEFLAGS=
 # Identity of this package.  # Identity of this package.
 PACKAGE_NAME='libaitsess'  PACKAGE_NAME='libaitsess'
 PACKAGE_TARNAME='libaitsess'  PACKAGE_TARNAME='libaitsess'
PACKAGE_VERSION='2.0'PACKAGE_VERSION='2.1'
PACKAGE_STRING='libaitsess 2.0'PACKAGE_STRING='libaitsess 2.1'
 PACKAGE_BUGREPORT='misho@openbsd-bg.org'  PACKAGE_BUGREPORT='misho@openbsd-bg.org'
 PACKAGE_URL=''  PACKAGE_URL=''
   
Line 591  ac_includes_default="\ Line 602  ac_includes_default="\
 # include <unistd.h>  # include <unistd.h>
 #endif"  #endif"
   
   ac_header_list=
 ac_subst_vars='LTLIBOBJS  ac_subst_vars='LTLIBOBJS
 LIBOBJS  LIBOBJS
 EGREP  EGREP
Line 733  do Line 745  do
   fi    fi
   
   case $ac_option in    case $ac_option in
  *=*)        ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  *)        ac_optarg=yes ;;  *=)   ac_optarg= ;;
   *)    ac_optarg=yes ;;
   esac    esac
   
   # Accept the important Cygnus configure options, so we can diagnose typos.    # Accept the important Cygnus configure options, so we can diagnose typos.
Line 779  do Line 792  do
     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`      ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
     # Reject names that are not valid shell variable names.      # Reject names that are not valid shell variable names.
     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
      as_fn_error "invalid feature name: $ac_useropt"      as_fn_error $? "invalid feature name: $ac_useropt"
     ac_useropt_orig=$ac_useropt      ac_useropt_orig=$ac_useropt
     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     case $ac_user_opts in      case $ac_user_opts in
Line 805  do Line 818  do
     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`      ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
     # Reject names that are not valid shell variable names.      # Reject names that are not valid shell variable names.
     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
      as_fn_error "invalid feature name: $ac_useropt"      as_fn_error $? "invalid feature name: $ac_useropt"
     ac_useropt_orig=$ac_useropt      ac_useropt_orig=$ac_useropt
     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     case $ac_user_opts in      case $ac_user_opts in
Line 1009  do Line 1022  do
     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`      ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
     # Reject names that are not valid shell variable names.      # Reject names that are not valid shell variable names.
     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
      as_fn_error "invalid package name: $ac_useropt"      as_fn_error $? "invalid package name: $ac_useropt"
     ac_useropt_orig=$ac_useropt      ac_useropt_orig=$ac_useropt
     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     case $ac_user_opts in      case $ac_user_opts in
Line 1025  do Line 1038  do
     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`      ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
     # Reject names that are not valid shell variable names.      # Reject names that are not valid shell variable names.
     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
      as_fn_error "invalid package name: $ac_useropt"      as_fn_error $? "invalid package name: $ac_useropt"
     ac_useropt_orig=$ac_useropt      ac_useropt_orig=$ac_useropt
     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     case $ac_user_opts in      case $ac_user_opts in
Line 1055  do Line 1068  do
   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)    | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
     x_libraries=$ac_optarg ;;      x_libraries=$ac_optarg ;;
   
  -*) as_fn_error "unrecognized option: \`$ac_option'  -*) as_fn_error $? "unrecognized option: \`$ac_option'
Try \`$0 --help' for more information."Try \`$0 --help' for more information"
     ;;      ;;
   
   *=*)    *=*)
Line 1064  Try \`$0 --help' for more information." Line 1077  Try \`$0 --help' for more information."
     # Reject names that are not valid shell variable names.      # Reject names that are not valid shell variable names.
     case $ac_envvar in #(      case $ac_envvar in #(
       '' | [0-9]* | *[!_$as_cr_alnum]* )        '' | [0-9]* | *[!_$as_cr_alnum]* )
      as_fn_error "invalid variable name: \`$ac_envvar'" ;;      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
     esac      esac
     eval $ac_envvar=\$ac_optarg      eval $ac_envvar=\$ac_optarg
     export $ac_envvar ;;      export $ac_envvar ;;
Line 1074  Try \`$0 --help' for more information." Line 1087  Try \`$0 --help' for more information."
     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2      $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&      expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2        $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
     ;;      ;;
   
   esac    esac
Line 1082  done Line 1095  done
   
 if test -n "$ac_prev"; then  if test -n "$ac_prev"; then
   ac_option=--`echo $ac_prev | sed 's/_/-/g'`    ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  as_fn_error "missing argument to $ac_option"  as_fn_error $? "missing argument to $ac_option"
 fi  fi
   
 if test -n "$ac_unrecognized_opts"; then  if test -n "$ac_unrecognized_opts"; then
   case $enable_option_checking in    case $enable_option_checking in
     no) ;;      no) ;;
    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;      *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   esac    esac
 fi  fi
Line 1111  do Line 1124  do
     [\\/$]* | ?:[\\/]* )  continue;;      [\\/$]* | ?:[\\/]* )  continue;;
     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;      NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   esac    esac
  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
 done  done
   
 # There might be people who depend on the old broken behavior: `$host'  # There might be people who depend on the old broken behavior: `$host'
Line 1125  target=$target_alias Line 1138  target=$target_alias
 if test "x$host_alias" != x; then  if test "x$host_alias" != x; then
   if test "x$build_alias" = x; then    if test "x$build_alias" = x; then
     cross_compiling=maybe      cross_compiling=maybe
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used." >&2    If a cross compiler is detected then cross compile mode will be used" >&2
   elif test "x$build_alias" != "x$host_alias"; then    elif test "x$build_alias" != "x$host_alias"; then
     cross_compiling=yes      cross_compiling=yes
   fi    fi
Line 1141  test "$silent" = yes && exec 6>/dev/null Line 1154  test "$silent" = yes && exec 6>/dev/null
 ac_pwd=`pwd` && test -n "$ac_pwd" &&  ac_pwd=`pwd` && test -n "$ac_pwd" &&
 ac_ls_di=`ls -di .` &&  ac_ls_di=`ls -di .` &&
 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||  ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  as_fn_error "working directory cannot be determined"  as_fn_error $? "working directory cannot be determined"
 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||  test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  as_fn_error "pwd does not report name of working directory"  as_fn_error $? "pwd does not report name of working directory"
   
   
 # Find the source files, if location was not specified.  # Find the source files, if location was not specified.
Line 1182  else Line 1195  else
 fi  fi
 if test ! -r "$srcdir/$ac_unique_file"; then  if test ! -r "$srcdir/$ac_unique_file"; then
   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."    test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
 fi  fi
 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"  ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 ac_abs_confdir=`(  ac_abs_confdir=`(
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
         pwd)`          pwd)`
 # When building in place, set srcdir=.  # When building in place, set srcdir=.
 if test "$ac_abs_confdir" = "$ac_pwd"; then  if test "$ac_abs_confdir" = "$ac_pwd"; then
Line 1212  if test "$ac_init_help" = "long"; then Line 1225  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 libaitsess 2.0 to adapt to many kinds of systems.\`configure' configures libaitsess 2.1 to adapt to many kinds of systems.
   
 Usage: $0 [OPTION]... [VAR=VALUE]...  Usage: $0 [OPTION]... [VAR=VALUE]...
   
Line 1226  Configuration: Line 1239  Configuration:
       --help=short        display options specific to this package        --help=short        display options specific to this package
       --help=recursive    display the short help of all the included packages        --help=recursive    display the short help of all the included packages
   -V, --version           display version information and exit    -V, --version           display version information and exit
  -q, --quiet, --silent   do not print \`checking...' messages  -q, --quiet, --silent   do not print \`checking ...' messages
       --cache-file=FILE   cache test results in FILE [disabled]        --cache-file=FILE   cache test results in FILE [disabled]
   -C, --config-cache      alias for \`--cache-file=config.cache'    -C, --config-cache      alias for \`--cache-file=config.cache'
   -n, --no-create         do not create output files    -n, --no-create         do not create output files
Line 1278  fi Line 1291  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 libaitsess 2.0:";;     short | recursive ) echo "Configuration of libaitsess 2.1:";;
    esac     esac
   cat <<\_ACEOF    cat <<\_ACEOF
   
Line 1294  Some influential environment variables: Line 1307  Some influential environment variables:
   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a    LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
               nonstandard directory <lib dir>                nonstandard directory <lib dir>
   LIBS        libraries to pass to the linker, e.g. -l<library>    LIBS        libraries to pass to the linker, e.g. -l<library>
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
               you have headers in a nonstandard directory <include dir>                you have headers in a nonstandard directory <include dir>
   CPP         C preprocessor    CPP         C preprocessor
   
Line 1364  fi Line 1377  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
libaitsess configure 2.0libaitsess configure 2.1
generated by GNU Autoconf 2.64generated by GNU Autoconf 2.68
   
Copyright (C) 2009 Free Software Foundation, Inc.Copyright (C) 2010 Free Software Foundation, Inc.
 This configure script is free software; the Free Software Foundation  This configure script is free software; the Free Software Foundation
 gives unlimited permission to copy, distribute and modify it.  gives unlimited permission to copy, distribute and modify it.
 _ACEOF  _ACEOF
Line 1411  sed 's/^/| /' conftest.$ac_ext >&5 Line 1424  sed 's/^/| /' conftest.$ac_ext >&5
   
         ac_retval=1          ac_retval=1
 fi  fi
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  return $ac_retval  as_fn_set_status $ac_retval
   
 } # ac_fn_c_try_compile  } # ac_fn_c_try_compile
   
Line 1437  $as_echo "$ac_try_echo"; } >&5 Line 1450  $as_echo "$ac_try_echo"; } >&5
     mv -f conftest.er1 conftest.err      mv -f conftest.er1 conftest.err
   fi    fi
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  test $ac_status = 0; } >/dev/null && {  test $ac_status = 0; } > conftest.i && {
          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||           test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
          test ! -s conftest.err           test ! -s conftest.err
        }; then :         }; then :
Line 1448  sed 's/^/| /' conftest.$ac_ext >&5 Line 1461  sed 's/^/| /' conftest.$ac_ext >&5
   
     ac_retval=1      ac_retval=1
 fi  fi
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  return $ac_retval  as_fn_set_status $ac_retval
   
 } # ac_fn_c_try_cpp  } # ac_fn_c_try_cpp
   
Line 1490  sed 's/^/| /' conftest.$ac_ext >&5 Line 1503  sed 's/^/| /' conftest.$ac_ext >&5
        ac_retval=$ac_status         ac_retval=$ac_status
 fi  fi
   rm -rf conftest.dSYM conftest_ipa8_conftest.oo    rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  return $ac_retval  as_fn_set_status $ac_retval
   
 } # ac_fn_c_try_run  } # ac_fn_c_try_run
   
Line 1503  fi Line 1516  fi
 ac_fn_c_check_header_mongrel ()  ac_fn_c_check_header_mongrel ()
 {  {
   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :  if eval \${$3+:} false; then :
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 $as_echo_n "checking for $2... " >&6; }  $as_echo_n "checking for $2... " >&6; }
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :if eval \${$3+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 fi  fi
 eval ac_res=\$$3  eval ac_res=\$$3
Line 1542  if ac_fn_c_try_cpp "$LINENO"; then : Line 1555  if ac_fn_c_try_cpp "$LINENO"; then :
 else  else
   ac_header_preproc=no    ac_header_preproc=no
 fi  fi
rm -f conftest.err conftest.$ac_extrm -f conftest.err conftest.i conftest.$ac_ext
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 $as_echo "$ac_header_preproc" >&6; }  $as_echo "$ac_header_preproc" >&6; }
   
Line 1565  $as_echo "$as_me: WARNING: $2: see the Autoconf docume Line 1578  $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;}
( cat <<\_ASBOX( $as_echo "## ----------------------------------- ##
## ----------------------------------- ## 
 ## Report this to misho@openbsd-bg.org ##  ## Report this to misho@openbsd-bg.org ##
## ----------------------------------- #### ----------------------------------- ##"
_ASBOX 
      ) | sed "s/^/$as_me: WARNING:     /" >&2       ) | sed "s/^/$as_me: WARNING:     /" >&2
     ;;      ;;
 esac  esac
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 $as_echo_n "checking for $2... " >&6; }  $as_echo_n "checking for $2... " >&6; }
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :if eval \${$3+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   eval "$3=\$ac_header_compiler"    eval "$3=\$ac_header_compiler"
Line 1584  eval ac_res=\$$3 Line 1595  eval ac_res=\$$3
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 $as_echo "$ac_res" >&6; }  $as_echo "$ac_res" >&6; }
 fi  fi
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   
 } # ac_fn_c_check_header_mongrel  } # ac_fn_c_check_header_mongrel
   
Line 1597  ac_fn_c_check_header_compile () Line 1608  ac_fn_c_check_header_compile ()
   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 $as_echo_n "checking for $2... " >&6; }  $as_echo_n "checking for $2... " >&6; }
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :if eval \${$3+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Line 1615  fi Line 1626  fi
 eval ac_res=\$$3  eval ac_res=\$$3
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 $as_echo "$ac_res" >&6; }  $as_echo "$ac_res" >&6; }
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   
 } # ac_fn_c_check_header_compile  } # ac_fn_c_check_header_compile
   
Line 1660  fi Line 1671  fi
   # interfere with the next link command; also delete a directory that is    # interfere with the next link command; also delete a directory that is
   # left behind by Apple's compiler.  We do this before executing the actions.    # left behind by Apple's compiler.  We do this before executing the actions.
   rm -rf conftest.dSYM conftest_ipa8_conftest.oo    rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  return $ac_retval  as_fn_set_status $ac_retval
   
 } # ac_fn_c_try_link  } # ac_fn_c_try_link
   
Line 1673  ac_fn_c_check_func () Line 1684  ac_fn_c_check_func ()
   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 $as_echo_n "checking for $2... " >&6; }  $as_echo_n "checking for $2... " >&6; }
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :if eval \${$3+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Line 1728  fi Line 1739  fi
 eval ac_res=\$$3  eval ac_res=\$$3
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 $as_echo "$ac_res" >&6; }  $as_echo "$ac_res" >&6; }
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   
 } # ac_fn_c_check_func  } # ac_fn_c_check_func
 cat >config.log <<_ACEOF  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 libaitsess $as_me 2.0, which wasIt was created by libaitsess $as_me 2.1, which was
generated by GNU Autoconf 2.64.  Invocation command line wasgenerated by GNU Autoconf 2.68.  Invocation command line was
   
   $ $0 $@    $ $0 $@
   
Line 1846  trap 'exit_status=$? Line 1857  trap 'exit_status=$?
   {    {
     echo      echo
   
    cat <<\_ASBOX    $as_echo "## ---------------- ##
## ---------------- ## 
 ## Cache variables. ##  ## Cache variables. ##
## ---------------- #### ---------------- ##"
_ASBOX 
     echo      echo
     # The following way of writing the cache mishandles newlines in values,      # The following way of writing the cache mishandles newlines in values,
 (  (
Line 1884  $as_echo "$as_me: WARNING: cache variable $ac_var cont Line 1893  $as_echo "$as_me: WARNING: cache variable $ac_var cont
 )  )
     echo      echo
   
    cat <<\_ASBOX    $as_echo "## ----------------- ##
## ----------------- ## 
 ## Output variables. ##  ## Output variables. ##
## ----------------- #### ----------------- ##"
_ASBOX 
     echo      echo
     for ac_var in $ac_subst_vars      for ac_var in $ac_subst_vars
     do      do
Line 1901  _ASBOX Line 1908  _ASBOX
     echo      echo
   
     if test -n "$ac_subst_files"; then      if test -n "$ac_subst_files"; then
      cat <<\_ASBOX      $as_echo "## ------------------- ##
## ------------------- ## 
 ## File substitutions. ##  ## File substitutions. ##
## ------------------- #### ------------------- ##"
_ASBOX 
       echo        echo
       for ac_var in $ac_subst_files        for ac_var in $ac_subst_files
       do        do
Line 1919  _ASBOX Line 1924  _ASBOX
     fi      fi
   
     if test -s confdefs.h; then      if test -s confdefs.h; then
      cat <<\_ASBOX      $as_echo "## ----------- ##
## ----------- ## 
 ## confdefs.h. ##  ## confdefs.h. ##
## ----------- #### ----------- ##"
_ASBOX 
       echo        echo
       cat confdefs.h        cat confdefs.h
       echo        echo
Line 1978  _ACEOF Line 1981  _ACEOF
 ac_site_file1=NONE  ac_site_file1=NONE
 ac_site_file2=NONE  ac_site_file2=NONE
 if test -n "$CONFIG_SITE"; then  if test -n "$CONFIG_SITE"; then
  ac_site_file1=$CONFIG_SITE  # We do not want a PATH search for config.site.
   case $CONFIG_SITE in #((
     -*)  ac_site_file1=./$CONFIG_SITE;;
     */*) ac_site_file1=$CONFIG_SITE;;
     *)   ac_site_file1=./$CONFIG_SITE;;
   esac
 elif test "x$prefix" != xNONE; then  elif test "x$prefix" != xNONE; then
   ac_site_file1=$prefix/share/config.site    ac_site_file1=$prefix/share/config.site
   ac_site_file2=$prefix/etc/config.site    ac_site_file2=$prefix/etc/config.site
Line 1989  fi Line 1997  fi
 for ac_site_file in "$ac_site_file1" "$ac_site_file2"  for ac_site_file in "$ac_site_file1" "$ac_site_file2"
 do  do
   test "x$ac_site_file" = xNONE && continue    test "x$ac_site_file" = xNONE && continue
  if test -r "$ac_site_file"; then  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5      { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
 $as_echo "$as_me: loading site script $ac_site_file" >&6;}  $as_echo "$as_me: loading site script $ac_site_file" >&6;}
     sed 's/^/| /' "$ac_site_file" >&5      sed 's/^/| /' "$ac_site_file" >&5
    . "$ac_site_file"    . "$ac_site_file" \
       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 as_fn_error $? "failed to load site script $ac_site_file
 See \`config.log' for more details" "$LINENO" 5; }
   fi    fi
 done  done
   
 if test -r "$cache_file"; then  if test -r "$cache_file"; then
  # Some versions of bash will fail to source /dev/null (special  # Some versions of bash will fail to source /dev/null (special files
  # files actually), so we avoid doing that.  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
  if test -f "$cache_file"; then  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5      { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
 $as_echo "$as_me: loading cache $cache_file" >&6;}  $as_echo "$as_me: loading cache $cache_file" >&6;}
     case $cache_file in      case $cache_file in
Line 2014  $as_echo "$as_me: creating cache $cache_file" >&6;} Line 2026  $as_echo "$as_me: creating cache $cache_file" >&6;}
   >$cache_file    >$cache_file
 fi  fi
   
   as_fn_append ac_header_list " stdlib.h"
   as_fn_append ac_header_list " unistd.h"
   as_fn_append ac_header_list " sys/param.h"
 # Check that the precious variables saved in the cache have kept the same  # Check that the precious variables saved in the cache have kept the same
 # value.  # value.
 ac_cache_corrupted=false  ac_cache_corrupted=false
Line 2069  if $ac_cache_corrupted; then Line 2084  if $ac_cache_corrupted; then
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}  $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
 fi  fi
 ## -------------------- ##  ## -------------------- ##
 ## Main body of script. ##  ## Main body of script. ##
Line 2097  if test -n "$ac_tool_prefix"; then Line 2112  if test -n "$ac_tool_prefix"; then
 set dummy ${ac_tool_prefix}gcc; ac_word=$2  set dummy ${ac_tool_prefix}gcc; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }  $as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_CC+set}" = set; then :if ${ac_cv_prog_CC+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   if test -n "$CC"; then    if test -n "$CC"; then
Line 2137  if test -z "$ac_cv_prog_CC"; then Line 2152  if test -z "$ac_cv_prog_CC"; then
 set dummy gcc; ac_word=$2  set dummy gcc; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }  $as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :if ${ac_cv_prog_ac_ct_CC+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   if test -n "$ac_ct_CC"; then    if test -n "$ac_ct_CC"; then
Line 2190  if test -z "$CC"; then Line 2205  if test -z "$CC"; then
 set dummy ${ac_tool_prefix}cc; ac_word=$2  set dummy ${ac_tool_prefix}cc; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }  $as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_CC+set}" = set; then :if ${ac_cv_prog_CC+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   if test -n "$CC"; then    if test -n "$CC"; then
Line 2230  if test -z "$CC"; then Line 2245  if test -z "$CC"; then
 set dummy cc; ac_word=$2  set dummy cc; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }  $as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_CC+set}" = set; then :if ${ac_cv_prog_CC+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   if test -n "$CC"; then    if test -n "$CC"; then
Line 2289  if test -z "$CC"; then Line 2304  if test -z "$CC"; then
 set dummy $ac_tool_prefix$ac_prog; ac_word=$2  set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }  $as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_CC+set}" = set; then :if ${ac_cv_prog_CC+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   if test -n "$CC"; then    if test -n "$CC"; then
Line 2333  do Line 2348  do
 set dummy $ac_prog; ac_word=$2  set dummy $ac_prog; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }  $as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :if ${ac_cv_prog_ac_ct_CC+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   if test -n "$ac_ct_CC"; then    if test -n "$ac_ct_CC"; then
Line 2387  fi Line 2402  fi
   
 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5  test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
as_fn_error "no acceptable C compiler found in \$PATHas_fn_error $? "no acceptable C compiler found in \$PATH
See \`config.log' for more details." "$LINENO" 5; }See \`config.log' for more details" "$LINENO" 5; }
   
 # Provide some information about the compiler.  # Provide some information about the compiler.
 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5  $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
Line 2409  $as_echo "$ac_try_echo"; } >&5 Line 2424  $as_echo "$ac_try_echo"; } >&5
 ... rest of stderr output deleted ...  ... rest of stderr output deleted ...
          10q' conftest.err >conftest.er1           10q' conftest.err >conftest.er1
     cat conftest.er1 >&5      cat conftest.er1 >&5
     rm -f conftest.er1 conftest.err  
   fi    fi
     rm -f conftest.er1 conftest.err
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }    test $ac_status = 0; }
 done  done
   
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */  /* end confdefs.h.  */
#include <stdio.h>
 int  int
 main ()  main ()
 {  {
 FILE *f = fopen ("conftest.out", "w");  
  return ferror (f) || fclose (f) != 0;  
   
   ;    ;
   return 0;    return 0;
 }  }
 _ACEOF  _ACEOF
 ac_clean_files_save=$ac_clean_files  ac_clean_files_save=$ac_clean_files
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
 # Try to create an executable without -o first, disregard a.out.  # Try to create an executable without -o first, disregard a.out.
 # It will help us diagnose broken compilers, and finding out an intuition  # It will help us diagnose broken compilers, and finding out an intuition
 # of exeext.  # of exeext.
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
$as_echo_n "checking for C compiler default output file name... " >&6; }$as_echo_n "checking whether the C compiler works... " >&6; }
 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`  ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   
 # The possible output files:  # The possible output files:
Line 2496  test "$ac_cv_exeext" = no && ac_cv_exeext= Line 2509  test "$ac_cv_exeext" = no && ac_cv_exeext=
 else  else
   ac_file=''    ac_file=''
 fi  fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5  
 $as_echo "$ac_file" >&6; }  
 if test -z "$ac_file"; then :  if test -z "$ac_file"; then :
  $as_echo "$as_me: failed program was:" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 $as_echo "no" >&6; }
 $as_echo "$as_me: failed program was:" >&5
 sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
   
 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
{ as_fn_set_status 77as_fn_error 77 "C compiler cannot create executables
as_fn_error "C compiler cannot create executablesSee \`config.log' for more details" "$LINENO" 5; }
See \`config.log' for more details." "$LINENO" 5; }; }else
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 $as_echo "yes" >&6; }
 fi  fi
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   $as_echo_n "checking for C compiler default output file name... " >&6; }
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   $as_echo "$ac_file" >&6; }
 ac_exeext=$ac_cv_exeext  ac_exeext=$ac_cv_exeext
   
# Check that the compiler produces executables we can run.  If not, eitherrm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
# the compiler is broken, or we cross compile. 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 
$as_echo_n "checking whether the C compiler works... " >&6; } 
# If not cross compiling, check that we can run a simple program. 
if test "$cross_compiling" != yes; then 
  if { ac_try='./$ac_file' 
  { { case "(($ac_try" in 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
  *) ac_try_echo=$ac_try;; 
esac 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
$as_echo "$ac_try_echo"; } >&5 
  (eval "$ac_try") 2>&5 
  ac_status=$? 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
  test $ac_status = 0; }; }; then 
    cross_compiling=no 
  else 
    if test "$cross_compiling" = maybe; then 
        cross_compiling=yes 
    else 
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
as_fn_error "cannot run C compiled programs. 
If you meant to cross compile, use \`--host'. 
See \`config.log' for more details." "$LINENO" 5; } 
    fi 
  fi 
fi 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
$as_echo "yes" >&6; } 
 
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out 
 ac_clean_files=$ac_clean_files_save  ac_clean_files=$ac_clean_files_save
 # Check that the compiler produces executables we can run.  If not, either  
 # the compiler is broken, or we cross compile.  
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5  
 $as_echo_n "checking whether we are cross compiling... " >&6; }  
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5  
 $as_echo "$cross_compiling" >&6; }  
   
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
 $as_echo_n "checking for suffix of executables... " >&6; }  $as_echo_n "checking for suffix of executables... " >&6; }
 if { { ac_try="$ac_link"  if { { ac_try="$ac_link"
Line 2581  done Line 2560  done
 else  else
   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
as_fn_error "cannot compute suffix of executables: cannot compile and linkas_fn_error $? "cannot compute suffix of executables: cannot compile and link
See \`config.log' for more details." "$LINENO" 5; }See \`config.log' for more details" "$LINENO" 5; }
 fi  fi
rm -f conftest$ac_cv_exeextrm -f conftest conftest$ac_cv_exeext
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
 $as_echo "$ac_cv_exeext" >&6; }  $as_echo "$ac_cv_exeext" >&6; }
   
 rm -f conftest.$ac_ext  rm -f conftest.$ac_ext
 EXEEXT=$ac_cv_exeext  EXEEXT=$ac_cv_exeext
 ac_exeext=$EXEEXT  ac_exeext=$EXEEXT
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   /* end confdefs.h.  */
   #include <stdio.h>
   int
   main ()
   {
   FILE *f = fopen ("conftest.out", "w");
    return ferror (f) || fclose (f) != 0;
   
     ;
     return 0;
   }
   _ACEOF
   ac_clean_files="$ac_clean_files conftest.out"
   # Check that the compiler produces executables we can run.  If not, either
   # the compiler is broken, or we cross compile.
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   $as_echo_n "checking whether we are cross compiling... " >&6; }
   if test "$cross_compiling" != yes; then
     { { ac_try="$ac_link"
   case "(($ac_try" in
     *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     *) ac_try_echo=$ac_try;;
   esac
   eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   $as_echo "$ac_try_echo"; } >&5
     (eval "$ac_link") 2>&5
     ac_status=$?
     $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     test $ac_status = 0; }
     if { ac_try='./conftest$ac_cv_exeext'
     { { case "(($ac_try" in
     *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     *) ac_try_echo=$ac_try;;
   esac
   eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   $as_echo "$ac_try_echo"; } >&5
     (eval "$ac_try") 2>&5
     ac_status=$?
     $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     test $ac_status = 0; }; }; then
       cross_compiling=no
     else
       if test "$cross_compiling" = maybe; then
           cross_compiling=yes
       else
           { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   as_fn_error $? "cannot run C compiled programs.
   If you meant to cross compile, use \`--host'.
   See \`config.log' for more details" "$LINENO" 5; }
       fi
     fi
   fi
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   $as_echo "$cross_compiling" >&6; }
   
   rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   ac_clean_files=$ac_clean_files_save
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
 $as_echo_n "checking for suffix of object files... " >&6; }  $as_echo_n "checking for suffix of object files... " >&6; }
if test "${ac_cv_objext+set}" = set; then :if ${ac_cv_objext+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Line 2633  sed 's/^/| /' conftest.$ac_ext >&5 Line 2671  sed 's/^/| /' conftest.$ac_ext >&5
   
 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
as_fn_error "cannot compute suffix of object files: cannot compileas_fn_error $? "cannot compute suffix of object files: cannot compile
See \`config.log' for more details." "$LINENO" 5; }See \`config.log' for more details" "$LINENO" 5; }
 fi  fi
 rm -f conftest.$ac_cv_objext conftest.$ac_ext  rm -f conftest.$ac_cv_objext conftest.$ac_ext
 fi  fi
Line 2644  OBJEXT=$ac_cv_objext Line 2682  OBJEXT=$ac_cv_objext
 ac_objext=$OBJEXT  ac_objext=$OBJEXT
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }  $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
if test "${ac_cv_c_compiler_gnu+set}" = set; then :if ${ac_cv_c_compiler_gnu+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Line 2681  ac_test_CFLAGS=${CFLAGS+set} Line 2719  ac_test_CFLAGS=${CFLAGS+set}
 ac_save_CFLAGS=$CFLAGS  ac_save_CFLAGS=$CFLAGS
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 $as_echo_n "checking whether $CC accepts -g... " >&6; }  $as_echo_n "checking whether $CC accepts -g... " >&6; }
if test "${ac_cv_prog_cc_g+set}" = set; then :if ${ac_cv_prog_cc_g+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   ac_save_c_werror_flag=$ac_c_werror_flag    ac_save_c_werror_flag=$ac_c_werror_flag
Line 2759  else Line 2797  else
 fi  fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }  $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
if test "${ac_cv_prog_cc_c89+set}" = set; then :if ${ac_cv_prog_cc_c89+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   ac_cv_prog_cc_c89=no    ac_cv_prog_cc_c89=no
Line 2856  ac_compiler_gnu=$ac_cv_c_compiler_gnu Line 2894  ac_compiler_gnu=$ac_cv_c_compiler_gnu
   
 ac_aux_dir=  ac_aux_dir=
 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do  for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
  for ac_t in install-sh install.sh shtool; do  if test -f "$ac_dir/install-sh"; then
    if test -f "$ac_dir/$ac_t"; then    ac_aux_dir=$ac_dir
      ac_aux_dir=$ac_dir    ac_install_sh="$ac_aux_dir/install-sh -c"
      ac_install_sh="$ac_aux_dir/$ac_t -c"    break
      break 2  elif test -f "$ac_dir/install.sh"; then
    fi    ac_aux_dir=$ac_dir
  done    ac_install_sh="$ac_aux_dir/install.sh -c"
     break
   elif test -f "$ac_dir/shtool"; then
     ac_aux_dir=$ac_dir
     ac_install_sh="$ac_aux_dir/shtool install -c"
     break
   fi
 done  done
 if test -z "$ac_aux_dir"; then  if test -z "$ac_aux_dir"; then
  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
 fi  fi
   
 # These three variables are undocumented and unsupported,  # These three variables are undocumented and unsupported,
Line 2894  ac_configure="$SHELL $ac_aux_dir/configure"  # Please  Line 2938  ac_configure="$SHELL $ac_aux_dir/configure"  # Please 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
 $as_echo_n "checking for a BSD-compatible install... " >&6; }  $as_echo_n "checking for a BSD-compatible install... " >&6; }
 if test -z "$INSTALL"; then  if test -z "$INSTALL"; then
if test "${ac_cv_path_install+set}" = set; then :if ${ac_cv_path_install+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
Line 2973  test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m Line 3017  test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m
   
 # Make sure we can run config.sub.  # Make sure we can run config.sub.
 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||  $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
 $as_echo_n "checking build system type... " >&6; }  $as_echo_n "checking build system type... " >&6; }
if test "${ac_cv_build+set}" = set; then :if ${ac_cv_build+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   ac_build_alias=$build_alias    ac_build_alias=$build_alias
 test "x$ac_build_alias" = x &&  test "x$ac_build_alias" = x &&
   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`    ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 test "x$ac_build_alias" = x &&  test "x$ac_build_alias" = x &&
  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||  ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   
 fi  fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
 $as_echo "$ac_cv_build" >&6; }  $as_echo "$ac_cv_build" >&6; }
 case $ac_cv_build in  case $ac_cv_build in
 *-*-*) ;;  *-*-*) ;;
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
 esac  esac
 build=$ac_cv_build  build=$ac_cv_build
 ac_save_IFS=$IFS; IFS='-'  ac_save_IFS=$IFS; IFS='-'
Line 3011  case $build_os in *\ *) build_os=`echo "$build_os" | s Line 3055  case $build_os in *\ *) build_os=`echo "$build_os" | s
   
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
 $as_echo_n "checking host system type... " >&6; }  $as_echo_n "checking host system type... " >&6; }
if test "${ac_cv_host+set}" = set; then :if ${ac_cv_host+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   if test "x$host_alias" = x; then    if test "x$host_alias" = x; then
   ac_cv_host=$ac_cv_build    ac_cv_host=$ac_cv_build
 else  else
   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||    ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
 fi  fi
   
 fi  fi
Line 3026  fi Line 3070  fi
 $as_echo "$ac_cv_host" >&6; }  $as_echo "$ac_cv_host" >&6; }
 case $ac_cv_host in  case $ac_cv_host in
 *-*-*) ;;  *-*-*) ;;
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
 esac  esac
 host=$ac_cv_host  host=$ac_cv_host
 ac_save_IFS=$IFS; IFS='-'  ac_save_IFS=$IFS; IFS='-'
Line 3044  case $host_os in *\ *) host_os=`echo "$host_os" | sed  Line 3088  case $host_os in *\ *) host_os=`echo "$host_os" | sed 
   
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
 $as_echo_n "checking target system type... " >&6; }  $as_echo_n "checking target system type... " >&6; }
if test "${ac_cv_target+set}" = set; then :if ${ac_cv_target+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   if test "x$target_alias" = x; then    if test "x$target_alias" = x; then
   ac_cv_target=$ac_cv_host    ac_cv_target=$ac_cv_host
 else  else
   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||    ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
    as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
 fi  fi
   
 fi  fi
Line 3059  fi Line 3103  fi
 $as_echo "$ac_cv_target" >&6; }  $as_echo "$ac_cv_target" >&6; }
 case $ac_cv_target in  case $ac_cv_target in
 *-*-*) ;;  *-*-*) ;;
*) as_fn_error "invalid value of canonical target" "$LINENO" 5;;*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
 esac  esac
 target=$ac_cv_target  target=$ac_cv_target
 ac_save_IFS=$IFS; IFS='-'  ac_save_IFS=$IFS; IFS='-'
Line 3087  if test -n "$ac_tool_prefix"; then Line 3131  if test -n "$ac_tool_prefix"; then
 set dummy ${ac_tool_prefix}mkdep; ac_word=$2  set dummy ${ac_tool_prefix}mkdep; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }  $as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_MKDEP+set}" = set; then :if ${ac_cv_prog_MKDEP+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   if test -n "$MKDEP"; then    if test -n "$MKDEP"; then
Line 3127  if test -z "$ac_cv_prog_MKDEP"; then Line 3171  if test -z "$ac_cv_prog_MKDEP"; then
 set dummy mkdep; ac_word=$2  set dummy mkdep; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }  $as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_ac_ct_MKDEP+set}" = set; then :if ${ac_cv_prog_ac_ct_MKDEP+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   if test -n "$ac_ct_MKDEP"; then    if test -n "$ac_ct_MKDEP"; then
Line 3187  LDFLAGS="-L/usr/local/lib ${LDFLAGS}" Line 3231  LDFLAGS="-L/usr/local/lib ${LDFLAGS}"
   
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }  $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
if test "${ac_cv_c_const+set}" = set; then :if ${ac_cv_c_const+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Line 3267  fi Line 3311  fi
   
 { $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; }
if test "${ac_cv_c_inline+set}" = set; then :if ${ac_cv_c_inline+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   ac_cv_c_inline=no    ac_cv_c_inline=no
Line 3321  if test -n "$CPP" && test -d "$CPP"; then Line 3365  if test -n "$CPP" && test -d "$CPP"; then
   CPP=    CPP=
 fi  fi
 if test -z "$CPP"; then  if test -z "$CPP"; then
  if test "${ac_cv_prog_CPP+set}" = set; then :  if ${ac_cv_prog_CPP+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
       # Double quotes because CPP needs to be expanded        # Double quotes because CPP needs to be expanded
Line 3351  else Line 3395  else
   # Broken: fails on valid input.    # Broken: fails on valid input.
 continue  continue
 fi  fi
rm -f conftest.err conftest.$ac_extrm -f conftest.err conftest.i conftest.$ac_ext
   
   # OK, works on sane cases.  Now check whether nonexistent headers    # OK, works on sane cases.  Now check whether nonexistent headers
   # can be detected and how.    # can be detected and how.
Line 3367  else Line 3411  else
 ac_preproc_ok=:  ac_preproc_ok=:
 break  break
 fi  fi
rm -f conftest.err conftest.$ac_extrm -f conftest.err conftest.i conftest.$ac_ext
   
 done  done
 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.  # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
rm -f conftest.err conftest.$ac_extrm -f conftest.i conftest.err conftest.$ac_ext
 if $ac_preproc_ok; then :  if $ac_preproc_ok; then :
   break    break
 fi  fi
Line 3410  else Line 3454  else
   # Broken: fails on valid input.    # Broken: fails on valid input.
 continue  continue
 fi  fi
rm -f conftest.err conftest.$ac_extrm -f conftest.err conftest.i conftest.$ac_ext
   
   # OK, works on sane cases.  Now check whether nonexistent headers    # OK, works on sane cases.  Now check whether nonexistent headers
   # can be detected and how.    # can be detected and how.
Line 3426  else Line 3470  else
 ac_preproc_ok=:  ac_preproc_ok=:
 break  break
 fi  fi
rm -f conftest.err conftest.$ac_extrm -f conftest.err conftest.i conftest.$ac_ext
   
 done  done
 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.  # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
rm -f conftest.err conftest.$ac_extrm -f conftest.i conftest.err conftest.$ac_ext
 if $ac_preproc_ok; then :  if $ac_preproc_ok; then :
   
 else  else
   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
as_fn_error "C preprocessor \"$CPP\" fails sanity checkas_fn_error $? "C preprocessor \"$CPP\" fails sanity check
See \`config.log' for more details." "$LINENO" 5; }See \`config.log' for more details" "$LINENO" 5; }
 fi  fi
   
 ac_ext=c  ac_ext=c
Line 3449  ac_compiler_gnu=$ac_cv_c_compiler_gnu Line 3493  ac_compiler_gnu=$ac_cv_c_compiler_gnu
   
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }  $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
if test "${ac_cv_path_GREP+set}" = set; then :if ${ac_cv_path_GREP+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   if test -z "$GREP"; then    if test -z "$GREP"; then
Line 3498  esac Line 3542  esac
   done    done
 IFS=$as_save_IFS  IFS=$as_save_IFS
   if test -z "$ac_cv_path_GREP"; then    if test -z "$ac_cv_path_GREP"; then
    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   fi    fi
 else  else
   ac_cv_path_GREP=$GREP    ac_cv_path_GREP=$GREP
Line 3512  $as_echo "$ac_cv_path_GREP" >&6; } Line 3556  $as_echo "$ac_cv_path_GREP" >&6; }
   
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
 $as_echo_n "checking for egrep... " >&6; }  $as_echo_n "checking for egrep... " >&6; }
if test "${ac_cv_path_EGREP+set}" = set; then :if ${ac_cv_path_EGREP+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1    if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
Line 3564  esac Line 3608  esac
   done    done
 IFS=$as_save_IFS  IFS=$as_save_IFS
   if test -z "$ac_cv_path_EGREP"; then    if test -z "$ac_cv_path_EGREP"; then
    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   fi    fi
 else  else
   ac_cv_path_EGREP=$EGREP    ac_cv_path_EGREP=$EGREP
Line 3579  $as_echo "$ac_cv_path_EGREP" >&6; } Line 3623  $as_echo "$ac_cv_path_EGREP" >&6; }
   
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 $as_echo_n "checking for ANSI C header files... " >&6; }  $as_echo_n "checking for ANSI C header files... " >&6; }
if test "${ac_cv_header_stdc+set}" = set; then :if ${ac_cv_header_stdc+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Line 3696  do : Line 3740  do :
   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default  ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 "  "
eval as_val=\$$as_ac_Headerif eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   if test "x$as_val" = x""yes; then : 
   cat >>confdefs.h <<_ACEOF    cat >>confdefs.h <<_ACEOF
 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1  #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 _ACEOF  _ACEOF
Line 3710  done Line 3753  done
 for ac_header in stdlib.h  for ac_header in stdlib.h
 do :  do :
   ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"    ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
if test "x$ac_cv_header_stdlib_h" = x""yes; then :if test "x$ac_cv_header_stdlib_h" = xyes; then :
   cat >>confdefs.h <<_ACEOF    cat >>confdefs.h <<_ACEOF
 #define HAVE_STDLIB_H 1  #define HAVE_STDLIB_H 1
 _ACEOF  _ACEOF
Line 3721  done Line 3764  done
   
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }  $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then :if ${ac_cv_func_malloc_0_nonnull+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   if test "$cross_compiling" = yes; then :    if test "$cross_compiling" = yes; then :
Line 3774  $as_echo "#define malloc rpl_malloc" >>confdefs.h Line 3817  $as_echo "#define malloc rpl_malloc" >>confdefs.h
 fi  fi
   
   
for ac_header in stdlib.h unistd.h
 
 
   for ac_header in $ac_header_list
 do :  do :
   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
eval as_val=\$$as_ac_Header"
   if test "x$as_val" = x""yes; then :if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   cat >>confdefs.h <<_ACEOF    cat >>confdefs.h <<_ACEOF
 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1  #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 _ACEOF  _ACEOF
Line 3788  fi Line 3834  fi
   
 done  done
   
   
   
   
   
   
   
   
 for ac_func in getpagesize  for ac_func in getpagesize
 do :  do :
   ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"    ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
if test "x$ac_cv_func_getpagesize" = x""yes; then :if test "x$ac_cv_func_getpagesize" = xyes; then :
   cat >>confdefs.h <<_ACEOF    cat >>confdefs.h <<_ACEOF
 #define HAVE_GETPAGESIZE 1  #define HAVE_GETPAGESIZE 1
 _ACEOF  _ACEOF
Line 3801  done Line 3854  done
   
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
 $as_echo_n "checking for working mmap... " >&6; }  $as_echo_n "checking for working mmap... " >&6; }
if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then :if ${ac_cv_func_mmap_fixed_mapped+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   if test "$cross_compiling" = yes; then :    if test "$cross_compiling" = yes; then :
Line 3844  char *malloc (); Line 3897  char *malloc ();
   
 /* This mess was copied from the GNU getpagesize.h.  */  /* This mess was copied from the GNU getpagesize.h.  */
 #ifndef HAVE_GETPAGESIZE  #ifndef HAVE_GETPAGESIZE
 /* Assume that all systems that can run configure have sys/param.h.  */  
 # ifndef HAVE_SYS_PARAM_H  
 #  define HAVE_SYS_PARAM_H 1  
 # endif  
   
 # ifdef _SC_PAGESIZE  # ifdef _SC_PAGESIZE
 #  define getpagesize() sysconf(_SC_PAGESIZE)  #  define getpagesize() sysconf(_SC_PAGESIZE)
 # else /* no _SC_PAGESIZE */  # else /* no _SC_PAGESIZE */
Line 3883  int Line 3931  int
 main ()  main ()
 {  {
   char *data, *data2, *data3;    char *data, *data2, *data3;
     const char *cdata2;
   int i, pagesize;    int i, pagesize;
  int fd;  int fd, fd2;
   
   pagesize = getpagesize ();    pagesize = getpagesize ();
   
Line 3897  main () Line 3946  main ()
   umask (0);    umask (0);
   fd = creat ("conftest.mmap", 0600);    fd = creat ("conftest.mmap", 0600);
   if (fd < 0)    if (fd < 0)
    return 1;    return 2;
   if (write (fd, data, pagesize) != pagesize)    if (write (fd, data, pagesize) != pagesize)
    return 1;    return 3;
   close (fd);    close (fd);
   
     /* Next, check that the tail of a page is zero-filled.  File must have
        non-zero length, otherwise we risk SIGBUS for entire page.  */
     fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
     if (fd2 < 0)
       return 4;
     cdata2 = "";
     if (write (fd2, cdata2, 1) != 1)
       return 5;
     data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
     if (data2 == MAP_FAILED)
       return 6;
     for (i = 0; i < pagesize; ++i)
       if (*(data2 + i))
         return 7;
     close (fd2);
     if (munmap (data2, pagesize))
       return 8;
   
   /* Next, try to mmap the file at a fixed address which already has    /* Next, try to mmap the file at a fixed address which already has
      something else allocated at it.  If we can, also make sure that       something else allocated at it.  If we can, also make sure that
      we see the same garbage.  */       we see the same garbage.  */
   fd = open ("conftest.mmap", O_RDWR);    fd = open ("conftest.mmap", O_RDWR);
   if (fd < 0)    if (fd < 0)
    return 1;    return 9;
  data2 = (char *) malloc (2 * pagesize); 
  if (!data2) 
    return 1; 
  data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1); 
   if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,    if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
                      MAP_PRIVATE | MAP_FIXED, fd, 0L))                       MAP_PRIVATE | MAP_FIXED, fd, 0L))
    return 1;    return 10;
   for (i = 0; i < pagesize; ++i)    for (i = 0; i < pagesize; ++i)
     if (*(data + i) != *(data2 + i))      if (*(data + i) != *(data2 + i))
      return 1;      return 11;
   
   /* Finally, make sure that changes to the mapped area do not    /* Finally, make sure that changes to the mapped area do not
      percolate back to the file as seen by read().  (This is a bug on       percolate back to the file as seen by read().  (This is a bug on
Line 3926  main () Line 3989  main ()
     *(data2 + i) = *(data2 + i) + 1;      *(data2 + i) = *(data2 + i) + 1;
   data3 = (char *) malloc (pagesize);    data3 = (char *) malloc (pagesize);
   if (!data3)    if (!data3)
    return 1;    return 12;
   if (read (fd, data3, pagesize) != pagesize)    if (read (fd, data3, pagesize) != pagesize)
    return 1;    return 13;
   for (i = 0; i < pagesize; ++i)    for (i = 0; i < pagesize; ++i)
     if (*(data + i) != *(data3 + i))      if (*(data + i) != *(data3 + i))
      return 1;      return 14;
   close (fd);    close (fd);
   return 0;    return 0;
 }  }
Line 3953  if test $ac_cv_func_mmap_fixed_mapped = yes; then Line 4016  if test $ac_cv_func_mmap_fixed_mapped = yes; then
 $as_echo "#define HAVE_MMAP 1" >>confdefs.h  $as_echo "#define HAVE_MMAP 1" >>confdefs.h
   
 fi  fi
rm -f conftest.mmaprm -f conftest.mmap conftest.txt
   
 for ac_func in bzero memset munmap  for ac_func in bzero memset munmap
 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"
eval as_val=\$$as_ac_varif eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   if test "x$as_val" = x""yes; then : 
   cat >>confdefs.h <<_ACEOF    cat >>confdefs.h <<_ACEOF
 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1  #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 _ACEOF  _ACEOF
Line 4090  $as_echo "$as_me: WARNING: cache variable $ac_var cont Line 4152  $as_echo "$as_me: WARNING: cache variable $ac_var cont
      :end' >>confcache       :end' >>confcache
 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else  if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   if test -w "$cache_file"; then    if test -w "$cache_file"; then
    test "x$cache_file" != "x/dev/null" &&    if test "x$cache_file" != "x/dev/null"; then
       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5        { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
 $as_echo "$as_me: updating cache $cache_file" >&6;}  $as_echo "$as_me: updating cache $cache_file" >&6;}
    cat confcache >$cache_file      if test ! -f "$cache_file" || test -h "$cache_file"; then
         cat confcache >"$cache_file"
       else
         case $cache_file in #(
         */* | ?:*)
           mv -f confcache "$cache_file"$$ &&
           mv -f "$cache_file"$$ "$cache_file" ;; #(
         *)
           mv -f confcache "$cache_file" ;;
         esac
       fi
     fi
   else    else
     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5      { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}  $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
Line 4109  DEFS=-DHAVE_CONFIG_H Line 4182  DEFS=-DHAVE_CONFIG_H
   
 ac_libobjs=  ac_libobjs=
 ac_ltlibobjs=  ac_ltlibobjs=
   U=
 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue  for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   # 1. Remove the extension, and $U if already installed.    # 1. Remove the extension, and $U if already installed.
   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'    ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
Line 4124  LTLIBOBJS=$ac_ltlibobjs Line 4198  LTLIBOBJS=$ac_ltlibobjs
   
   
   
: ${CONFIG_STATUS=./config.status}: "${CONFIG_STATUS=./config.status}"
 ac_write_fail=0  ac_write_fail=0
 ac_clean_files_save=$ac_clean_files  ac_clean_files_save=$ac_clean_files
 ac_clean_files="$ac_clean_files $CONFIG_STATUS"  ac_clean_files="$ac_clean_files $CONFIG_STATUS"
Line 4225  fi Line 4299  fi
 IFS=" ""        $as_nl"  IFS=" ""        $as_nl"
   
 # Find who we are.  Look in the path if we contain no directory separator.  # Find who we are.  Look in the path if we contain no directory separator.
   as_myself=
 case $0 in #((  case $0 in #((
   *[\\/]* ) as_myself=$0 ;;    *[\\/]* ) as_myself=$0 ;;
   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
Line 4270  export LANGUAGE Line 4345  export LANGUAGE
 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH  (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   
   
# as_fn_error ERROR [LINENO LOG_FD]# as_fn_error STATUS ERROR [LINENO LOG_FD]
# ---------------------------------# ----------------------------------------
 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are  # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the  # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
# script with status $?, using 1 if that was 0.# script with STATUS, using 1 if that was 0.
 as_fn_error ()  as_fn_error ()
 {  {
  as_status=$?; test $as_status -eq 0 && as_status=1  as_status=$1; test $as_status -eq 0 && as_status=1
  if test "$3"; then  if test "$4"; then
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   fi    fi
  $as_echo "$as_me: error: $1" >&2  $as_echo "$as_me: error: $2" >&2
   as_fn_exit $as_status    as_fn_exit $as_status
 } # as_fn_error  } # as_fn_error
   
Line 4478  $as_echo X"$as_dir" | Line 4553  $as_echo X"$as_dir" |
       test -d "$as_dir" && break        test -d "$as_dir" && break
     done      done
     test -z "$as_dirs" || eval "mkdir $as_dirs"      test -z "$as_dirs" || eval "mkdir $as_dirs"
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   
   
 } # as_fn_mkdir_p  } # as_fn_mkdir_p
Line 4531  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 Line 4606  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 libaitsess $as_me 2.0, which wasThis file was extended by libaitsess $as_me 2.1, which was
generated by GNU Autoconf 2.64.  Invocation command line wasgenerated by GNU Autoconf 2.68.  Invocation command line was
   
   CONFIG_FILES    = $CONFIG_FILES    CONFIG_FILES    = $CONFIG_FILES
   CONFIG_HEADERS  = $CONFIG_HEADERS    CONFIG_HEADERS  = $CONFIG_HEADERS
Line 4571  Usage: $0 [OPTION]... [TAG]... Line 4646  Usage: $0 [OPTION]... [TAG]...
   
   -h, --help       print this help, then exit    -h, --help       print this help, then exit
   -V, --version    print version number and configuration settings, then exit    -V, --version    print version number and configuration settings, then exit
         --config     print configuration, then exit
   -q, --quiet, --silent    -q, --quiet, --silent
                    do not print progress messages                     do not print progress messages
   -d, --debug      don't remove temporary files    -d, --debug      don't remove temporary files
Line 4590  Report bugs to <misho@openbsd-bg.org>." Line 4666  Report bugs to <misho@openbsd-bg.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_version="\\  ac_cs_version="\\
libaitsess config.status 2.0libaitsess config.status 2.1
configured by $0, generated by GNU Autoconf 2.64,configured by $0, generated by GNU Autoconf 2.68,
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"  with options \\"\$ac_cs_config\\"
   
Copyright (C) 2009 Free Software Foundation, Inc.Copyright (C) 2010 Free Software Foundation, Inc.
 This config.status script is free software; the Free Software Foundation  This config.status script is free software; the Free Software Foundation
 gives unlimited permission to copy, distribute and modify it."  gives unlimited permission to copy, distribute and modify it."
   
Line 4611  ac_need_defaults=: Line 4688  ac_need_defaults=:
 while test $# != 0  while test $# != 0
 do  do
   case $1 in    case $1 in
  --*=*)  --*=?*)
     ac_option=`expr "X$1" : 'X\([^=]*\)='`      ac_option=`expr "X$1" : 'X\([^=]*\)='`
     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`      ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
     ac_shift=:      ac_shift=:
     ;;      ;;
     --*=)
       ac_option=`expr "X$1" : 'X\([^=]*\)='`
       ac_optarg=
       ac_shift=:
       ;;
   *)    *)
     ac_option=$1      ac_option=$1
     ac_optarg=$2      ac_optarg=$2
Line 4629  do Line 4711  do
     ac_cs_recheck=: ;;      ac_cs_recheck=: ;;
   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )    --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
     $as_echo "$ac_cs_version"; exit ;;      $as_echo "$ac_cs_version"; exit ;;
     --config | --confi | --conf | --con | --co | --c )
       $as_echo "$ac_cs_config"; exit ;;
   --debug | --debu | --deb | --de | --d | -d )    --debug | --debu | --deb | --de | --d | -d )
     debug=: ;;      debug=: ;;
   --file | --fil | --fi | --f )    --file | --fil | --fi | --f )
     $ac_shift      $ac_shift
     case $ac_optarg in      case $ac_optarg in
     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;      *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
       '') as_fn_error $? "missing file argument" ;;
     esac      esac
     as_fn_append CONFIG_FILES " '$ac_optarg'"      as_fn_append CONFIG_FILES " '$ac_optarg'"
     ac_need_defaults=false;;      ac_need_defaults=false;;
Line 4647  do Line 4732  do
     ac_need_defaults=false;;      ac_need_defaults=false;;
   --he | --h)    --he | --h)
     # Conflict between --help and --header      # Conflict between --help and --header
    as_fn_error "ambiguous option: \`$1'    as_fn_error $? "ambiguous option: \`$1'
 Try \`$0 --help' for more information.";;  Try \`$0 --help' for more information.";;
   --help | --hel | -h )    --help | --hel | -h )
     $as_echo "$ac_cs_usage"; exit ;;      $as_echo "$ac_cs_usage"; exit ;;
Line 4656  Try \`$0 --help' for more information.";; Line 4741  Try \`$0 --help' for more information.";;
     ac_cs_silent=: ;;      ac_cs_silent=: ;;
   
   # This is an error.    # This is an error.
  -*) as_fn_error "unrecognized option: \`$1'  -*) as_fn_error $? "unrecognized option: \`$1'
 Try \`$0 --help' for more information." ;;  Try \`$0 --help' for more information." ;;
   
   *) as_fn_append ac_config_targets " $1"    *) as_fn_append ac_config_targets " $1"
Line 4711  do Line 4796  do
     "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;      "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;      "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   
  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   esac    esac
 done  done
   
Line 4733  fi Line 4818  fi
 # after its creation but before its name has been assigned to `$tmp'.  # after its creation but before its name has been assigned to `$tmp'.
 $debug ||  $debug ||
 {  {
  tmp=  tmp= ac_tmp=
   trap 'exit_status=$?    trap 'exit_status=$?
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status  : "${ac_tmp:=$tmp}"
   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
 ' 0  ' 0
   trap 'as_fn_exit 1' 1 2 13 15    trap 'as_fn_exit 1' 1 2 13 15
 }  }
Line 4743  $debug || Line 4829  $debug ||
   
 {  {
   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&    tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  test -n "$tmp" && test -d "$tmp"  test -d "$tmp"
 }  ||  }  ||
 {  {
   tmp=./conf$$-$RANDOM    tmp=./conf$$-$RANDOM
   (umask 077 && mkdir "$tmp")    (umask 077 && mkdir "$tmp")
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
 ac_tmp=$tmp
   
 # Set up the scripts for CONFIG_FILES section.  # Set up the scripts for CONFIG_FILES section.
 # No need to generate them if there are no CONFIG_FILES.  # No need to generate them if there are no CONFIG_FILES.
Line 4765  if test "x$ac_cr" = x; then Line 4852  if test "x$ac_cr" = x; then
 fi  fi
 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`  ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then  if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
  ac_cs_awk_cr='\r'  ac_cs_awk_cr='\\r'
 else  else
   ac_cs_awk_cr=$ac_cr    ac_cs_awk_cr=$ac_cr
 fi  fi
   
echo 'BEGIN {' >"$tmp/subs1.awk" &&echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
 _ACEOF  _ACEOF
   
   
Line 4779  _ACEOF Line 4866  _ACEOF
   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&    echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   echo "_ACEOF"    echo "_ACEOF"
 } >conf$$subs.sh ||  } >conf$$subs.sh ||
  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
 ac_delim='%!_!# '  ac_delim='%!_!# '
 for ac_last_try in false false false false false :; do  for ac_last_try in false false false false false :; do
   . ./conf$$subs.sh ||    . ./conf$$subs.sh ||
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   
   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`    ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   if test $ac_delim_n = $ac_delim_num; then    if test $ac_delim_n = $ac_delim_num; then
     break      break
   elif $ac_last_try; then    elif $ac_last_try; then
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   else    else
     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   fi    fi
Line 4798  done Line 4885  done
 rm -f conf$$subs.sh  rm -f conf$$subs.sh
   
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1  cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
 _ACEOF  _ACEOF
 sed -n '  sed -n '
 h  h
Line 4812  s/'"$ac_delim"'$// Line 4899  s/'"$ac_delim"'$//
 t delim  t delim
 :nl  :nl
 h  h
s/\(.\{148\}\).*/\1/s/\(.\{148\}\)..*/\1/
 t more1  t more1
 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/  s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
 p  p
Line 4826  s/.\{148\}// Line 4913  s/.\{148\}//
 t nl  t nl
 :delim  :delim
 h  h
s/\(.\{148\}\).*/\1/s/\(.\{148\}\)..*/\1/
 t more2  t more2
 s/["\\]/\\&/g; s/^/"/; s/$/"/  s/["\\]/\\&/g; s/^/"/; s/$/"/
 p  p
Line 4846  t delim Line 4933  t delim
 rm -f conf$$subs.awk  rm -f conf$$subs.awk
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1  cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 _ACAWK  _ACAWK
cat >>"\$tmp/subs1.awk" <<_ACAWK &&cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   for (key in S) S_is_set[key] = 1    for (key in S) S_is_set[key] = 1
   FS = ""    FS = ""
   
Line 4878  if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then Line 4965  if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"    sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 else  else
   cat    cat
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
  || as_fn_error "could not setup config files machinery" "$LINENO" 5  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
 _ACEOF  _ACEOF
   
# VPATH may cause trouble with some makes, so we remove $(srcdir),# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
 # trailing colons and then remove the whole line if VPATH becomes empty  # trailing colons and then remove the whole line if VPATH becomes empty
 # (actually we leave an empty line to preserve line numbers).  # (actually we leave an empty line to preserve line numbers).
 if test "x$srcdir" = x.; then  if test "x$srcdir" = x.; then
  ac_vpsub='/^[  ]*VPATH[        ]*=/{  ac_vpsub='/^[  ]*VPATH[        ]*=[        ]*/{
s/:*\$(srcdir):*/:/h
s/:*\${srcdir}:*/:/s///
s/:*@srcdir@:*/:/s/^/:/
s/^\([^=]*=[     ]*\):*/\1/s/[      ]*$/:/
 s/:\$(srcdir):/:/g
 s/:\${srcdir}:/:/g
 s/:@srcdir@:/:/g
 s/^:*//
 s/:*$//  s/:*$//
   x
   s/\(=[   ]*\).*/\1/
   G
   s/\n//
 s/^[^=]*=[       ]*$//  s/^[^=]*=[       ]*$//
 }'  }'
 fi  fi
Line 4904  fi # test -n "$CONFIG_FILES" Line 4999  fi # test -n "$CONFIG_FILES"
 # No need to generate them if there are no CONFIG_HEADERS.  # No need to generate them if there are no CONFIG_HEADERS.
 # This happens for instance with `./config.status Makefile'.  # This happens for instance with `./config.status Makefile'.
 if test -n "$CONFIG_HEADERS"; then  if test -n "$CONFIG_HEADERS"; then
cat >"$tmp/defines.awk" <<\_ACAWK ||cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
 BEGIN {  BEGIN {
 _ACEOF  _ACEOF
   
Line 4916  _ACEOF Line 5011  _ACEOF
 # handling of long lines.  # handling of long lines.
 ac_delim='%!_!# '  ac_delim='%!_!# '
 for ac_last_try in false false :; do  for ac_last_try in false false :; do
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
  if test -z "$ac_t"; then  if test -z "$ac_tt"; then
     break      break
   elif $ac_last_try; then    elif $ac_last_try; then
    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   else    else
     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   fi    fi
Line 5005  cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 Line 5100  cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 _ACAWK  _ACAWK
 _ACEOF  _ACEOF
 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  as_fn_error "could not setup config headers machinery" "$LINENO" 5  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
 fi # test -n "$CONFIG_HEADERS"  fi # test -n "$CONFIG_HEADERS"
   
   
Line 5018  do Line 5113  do
   esac    esac
   case $ac_mode$ac_tag in    case $ac_mode$ac_tag in
   :[FHL]*:*);;    :[FHL]*:*);;
  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   :[FH]-) ac_tag=-:-;;    :[FH]-) ac_tag=-:-;;
   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;    :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   esac    esac
Line 5037  do Line 5132  do
     for ac_f      for ac_f
     do      do
       case $ac_f in        case $ac_f in
      -) ac_f="$tmp/stdin";;      -) ac_f="$ac_tmp/stdin";;
       *) # Look for the file first in the build tree, then in the source tree        *) # Look for the file first in the build tree, then in the source tree
          # (if the path is not absolute).  The absolute path cannot be DOS-style,           # (if the path is not absolute).  The absolute path cannot be DOS-style,
          # because $ac_f cannot contain `:'.           # because $ac_f cannot contain `:'.
Line 5046  do Line 5141  do
            [\\/$]*) false;;             [\\/$]*) false;;
            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;             *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
            esac ||             esac ||
           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
       esac        esac
       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac        case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
       as_fn_append ac_file_inputs " '$ac_f'"        as_fn_append ac_file_inputs " '$ac_f'"
Line 5072  $as_echo "$as_me: creating $ac_file" >&6;} Line 5167  $as_echo "$as_me: creating $ac_file" >&6;}
     esac      esac
   
     case $ac_tag in      case $ac_tag in
    *:-:* | *:-) cat >"$tmp/stdin" \    *:-:* | *:-) cat >"$ac_tmp/stdin" \
      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
     esac      esac
     ;;      ;;
   esac    esac
Line 5203  s&@abs_top_builddir@&$ac_abs_top_builddir&;t t Line 5298  s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 s&@INSTALL@&$ac_INSTALL&;t t  s&@INSTALL@&$ac_INSTALL&;t t
 $ac_datarootdir_hack  $ac_datarootdir_hack
 "  "
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
  || as_fn_error "could not create $ac_file" "$LINENO" 5  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   
 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&  test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
which seems to be undefined.  Please make sure it is defined." >&5which seems to be undefined.  Please make sure it is defined" >&5
 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'  $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
which seems to be undefined.  Please make sure it is defined." >&2;}which seems to be undefined.  Please make sure it is defined" >&2;}
   
  rm -f "$tmp/stdin"  rm -f "$ac_tmp/stdin"
   case $ac_file in    case $ac_file in
  -) cat "$tmp/out" && rm -f "$tmp/out";;  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   esac \    esac \
  || as_fn_error "could not create $ac_file" "$LINENO" 5  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  ;;   ;;
   :H)    :H)
   #    #
Line 5228  which seems to be undefined.  Please make sure it is d Line 5324  which seems to be undefined.  Please make sure it is d
   if test x"$ac_file" != x-; then    if test x"$ac_file" != x-; then
     {      {
       $as_echo "/* $configure_input  */" \        $as_echo "/* $configure_input  */" \
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
    } >"$tmp/config.h" \    } >"$ac_tmp/config.h" \
      || as_fn_error "could not create $ac_file" "$LINENO" 5      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5        { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
 $as_echo "$as_me: $ac_file is unchanged" >&6;}  $as_echo "$as_me: $ac_file is unchanged" >&6;}
     else      else
       rm -f "$ac_file"        rm -f "$ac_file"
      mv "$tmp/config.h" "$ac_file" \      mv "$ac_tmp/config.h" "$ac_file" \
        || as_fn_error "could not create $ac_file" "$LINENO" 5        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
     fi      fi
   else    else
     $as_echo "/* $configure_input  */" \      $as_echo "/* $configure_input  */" \
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
      || as_fn_error "could not create -" "$LINENO" 5      || as_fn_error $? "could not create -" "$LINENO" 5
   fi    fi
  ;;   ;;
   
Line 5257  _ACEOF Line 5353  _ACEOF
 ac_clean_files=$ac_clean_files_save  ac_clean_files=$ac_clean_files_save
   
 test $ac_write_fail = 0 ||  test $ac_write_fail = 0 ||
  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   
   
 # configure is writing to config.log, and then calls config.status.  # configure is writing to config.log, and then calls config.status.
Line 5278  if test "$no_create" != yes; then Line 5374  if test "$no_create" != yes; then
   exec 5>>config.log    exec 5>>config.log
   # Use ||, not &&, to avoid exiting from the if with $? = 1, which    # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   # would make configure fail if this is the last instruction.    # would make configure fail if this is the last instruction.
  $ac_cs_success || as_fn_exit $?  $ac_cs_success || as_fn_exit 1
 fi  fi
 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then  if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5

Removed from v.1.2  
changed lines
  Added in v.1.3


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