File:  [ELWIX - Embedded LightWeight unIX -] / libaitsched / configure
Revision 1.44: download - view: text, annotated - select for diffs - revision graph
Mon Sep 26 19:42:50 2022 UTC (20 months, 3 weeks ago) by misho
Branches: MAIN
CVS tags: sched6_9, SCHED6_8, HEAD
Version 6.8
 - Debian port

    1: #! /bin/sh
    2: # Guess values for system-dependent variables and create Makefiles.
    3: # Generated by GNU Autoconf 2.69 for libaitsched 6.8.
    4: #
    5: # Report bugs to <misho@elwix.org>.
    6: #
    7: #
    8: # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
    9: #
   10: #
   11: # This configure script is free software; the Free Software Foundation
   12: # gives unlimited permission to copy, distribute and modify it.
   13: ## -------------------- ##
   14: ## M4sh Initialization. ##
   15: ## -------------------- ##
   16: 
   17: # Be more Bourne compatible
   18: DUALCASE=1; export DUALCASE # for MKS sh
   19: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   20:   emulate sh
   21:   NULLCMD=:
   22:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   23:   # is contrary to our usage.  Disable this feature.
   24:   alias -g '${1+"$@"}'='"$@"'
   25:   setopt NO_GLOB_SUBST
   26: else
   27:   case `(set -o) 2>/dev/null` in #(
   28:   *posix*) :
   29:     set -o posix ;; #(
   30:   *) :
   31:      ;;
   32: esac
   33: fi
   34: 
   35: 
   36: as_nl='
   37: '
   38: export as_nl
   39: # Printing a long string crashes Solaris 7 /usr/bin/printf.
   40: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   41: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   42: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   43: # Prefer a ksh shell builtin over an external printf program on Solaris,
   44: # but without wasting forks for bash or zsh.
   45: if test -z "$BASH_VERSION$ZSH_VERSION" \
   46:     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   47:   as_echo='print -r --'
   48:   as_echo_n='print -rn --'
   49: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   50:   as_echo='printf %s\n'
   51:   as_echo_n='printf %s'
   52: else
   53:   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   54:     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   55:     as_echo_n='/usr/ucb/echo -n'
   56:   else
   57:     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   58:     as_echo_n_body='eval
   59:       arg=$1;
   60:       case $arg in #(
   61:       *"$as_nl"*)
   62: 	expr "X$arg" : "X\\(.*\\)$as_nl";
   63: 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   64:       esac;
   65:       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   66:     '
   67:     export as_echo_n_body
   68:     as_echo_n='sh -c $as_echo_n_body as_echo'
   69:   fi
   70:   export as_echo_body
   71:   as_echo='sh -c $as_echo_body as_echo'
   72: fi
   73: 
   74: # The user is always right.
   75: if test "${PATH_SEPARATOR+set}" != set; then
   76:   PATH_SEPARATOR=:
   77:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   78:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   79:       PATH_SEPARATOR=';'
   80:   }
   81: fi
   82: 
   83: 
   84: # IFS
   85: # We need space, tab and new line, in precisely that order.  Quoting is
   86: # there to prevent editors from complaining about space-tab.
   87: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   88: # splitting by setting IFS to empty value.)
   89: IFS=" ""	$as_nl"
   90: 
   91: # Find who we are.  Look in the path if we contain no directory separator.
   92: as_myself=
   93: case $0 in #((
   94:   *[\\/]* ) as_myself=$0 ;;
   95:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   96: for as_dir in $PATH
   97: do
   98:   IFS=$as_save_IFS
   99:   test -z "$as_dir" && as_dir=.
  100:     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  101:   done
  102: IFS=$as_save_IFS
  103: 
  104:      ;;
  105: esac
  106: # We did not find ourselves, most probably we were run as `sh COMMAND'
  107: # in which case we are not to be found in the path.
  108: if test "x$as_myself" = x; then
  109:   as_myself=$0
  110: fi
  111: if test ! -f "$as_myself"; then
  112:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  113:   exit 1
  114: fi
  115: 
  116: # Unset variables that we do not need and which cause bugs (e.g. in
  117: # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
  118: # suppresses any "Segmentation fault" message there.  '((' could
  119: # trigger a bug in pdksh 5.2.14.
  120: for as_var in BASH_ENV ENV MAIL MAILPATH
  121: do eval test x\${$as_var+set} = xset \
  122:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  123: done
  124: PS1='$ '
  125: PS2='> '
  126: PS4='+ '
  127: 
  128: # NLS nuisances.
  129: LC_ALL=C
  130: export LC_ALL
  131: LANGUAGE=C
  132: export LANGUAGE
  133: 
  134: # CDPATH.
  135: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  136: 
  137: # Use a proper internal environment variable to ensure we don't fall
  138:   # into an infinite loop, continuously re-executing ourselves.
  139:   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
  140:     _as_can_reexec=no; export _as_can_reexec;
  141:     # We cannot yet assume a decent shell, so we have to provide a
  142: # neutralization value for shells without unset; and this also
  143: # works around shells that cannot unset nonexistent variables.
  144: # Preserve -v and -x to the replacement shell.
  145: BASH_ENV=/dev/null
  146: ENV=/dev/null
  147: (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  148: case $- in # ((((
  149:   *v*x* | *x*v* ) as_opts=-vx ;;
  150:   *v* ) as_opts=-v ;;
  151:   *x* ) as_opts=-x ;;
  152:   * ) as_opts= ;;
  153: esac
  154: exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
  155: # Admittedly, this is quite paranoid, since all the known shells bail
  156: # out after a failed `exec'.
  157: $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
  158: as_fn_exit 255
  159:   fi
  160:   # We don't want this to propagate to other subprocesses.
  161:           { _as_can_reexec=; unset _as_can_reexec;}
  162: if test "x$CONFIG_SHELL" = x; then
  163:   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
  164:   emulate sh
  165:   NULLCMD=:
  166:   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
  167:   # is contrary to our usage.  Disable this feature.
  168:   alias -g '\${1+\"\$@\"}'='\"\$@\"'
  169:   setopt NO_GLOB_SUBST
  170: else
  171:   case \`(set -o) 2>/dev/null\` in #(
  172:   *posix*) :
  173:     set -o posix ;; #(
  174:   *) :
  175:      ;;
  176: esac
  177: fi
  178: "
  179:   as_required="as_fn_return () { (exit \$1); }
  180: as_fn_success () { as_fn_return 0; }
  181: as_fn_failure () { as_fn_return 1; }
  182: as_fn_ret_success () { return 0; }
  183: as_fn_ret_failure () { return 1; }
  184: 
  185: exitcode=0
  186: as_fn_success || { exitcode=1; echo as_fn_success failed.; }
  187: as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
  188: as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
  189: as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
  190: if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
  191: 
  192: else
  193:   exitcode=1; echo positional parameters were not saved.
  194: fi
  195: test x\$exitcode = x0 || exit 1
  196: test -x / || exit 1"
  197:   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
  198:   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
  199:   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
  200:   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
  201: test \$(( 1 + 1 )) = 2 || exit 1"
  202:   if (eval "$as_required") 2>/dev/null; then :
  203:   as_have_required=yes
  204: else
  205:   as_have_required=no
  206: fi
  207:   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
  208: 
  209: else
  210:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  211: as_found=false
  212: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  213: do
  214:   IFS=$as_save_IFS
  215:   test -z "$as_dir" && as_dir=.
  216:   as_found=:
  217:   case $as_dir in #(
  218: 	 /*)
  219: 	   for as_base in sh bash ksh sh5; do
  220: 	     # Try only shells that exist, to save several forks.
  221: 	     as_shell=$as_dir/$as_base
  222: 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  223: 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
  224:   CONFIG_SHELL=$as_shell as_have_required=yes
  225: 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
  226:   break 2
  227: fi
  228: fi
  229: 	   done;;
  230:        esac
  231:   as_found=false
  232: done
  233: $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
  234: 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
  235:   CONFIG_SHELL=$SHELL as_have_required=yes
  236: fi; }
  237: IFS=$as_save_IFS
  238: 
  239: 
  240:       if test "x$CONFIG_SHELL" != x; then :
  241:   export CONFIG_SHELL
  242:              # We cannot yet assume a decent shell, so we have to provide a
  243: # neutralization value for shells without unset; and this also
  244: # works around shells that cannot unset nonexistent variables.
  245: # Preserve -v and -x to the replacement shell.
  246: BASH_ENV=/dev/null
  247: ENV=/dev/null
  248: (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  249: case $- in # ((((
  250:   *v*x* | *x*v* ) as_opts=-vx ;;
  251:   *v* ) as_opts=-v ;;
  252:   *x* ) as_opts=-x ;;
  253:   * ) as_opts= ;;
  254: esac
  255: exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
  256: # Admittedly, this is quite paranoid, since all the known shells bail
  257: # out after a failed `exec'.
  258: $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
  259: exit 255
  260: fi
  261: 
  262:     if test x$as_have_required = xno; then :
  263:   $as_echo "$0: This script requires a shell more modern than all"
  264:   $as_echo "$0: the shells that I found on your system."
  265:   if test x${ZSH_VERSION+set} = xset ; then
  266:     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
  267:     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
  268:   else
  269:     $as_echo "$0: Please tell bug-autoconf@gnu.org and misho@elwix.org
  270: $0: about your system, including any error possibly output
  271: $0: before this message. Then install a modern shell, or
  272: $0: manually run the script under such a shell if you do
  273: $0: have one."
  274:   fi
  275:   exit 1
  276: fi
  277: fi
  278: fi
  279: SHELL=${CONFIG_SHELL-/bin/sh}
  280: export SHELL
  281: # Unset more variables known to interfere with behavior of common tools.
  282: CLICOLOR_FORCE= GREP_OPTIONS=
  283: unset CLICOLOR_FORCE GREP_OPTIONS
  284: 
  285: ## --------------------- ##
  286: ## M4sh Shell Functions. ##
  287: ## --------------------- ##
  288: # as_fn_unset VAR
  289: # ---------------
  290: # Portably unset VAR.
  291: as_fn_unset ()
  292: {
  293:   { eval $1=; unset $1;}
  294: }
  295: as_unset=as_fn_unset
  296: 
  297: # as_fn_set_status STATUS
  298: # -----------------------
  299: # Set $? to STATUS, without forking.
  300: as_fn_set_status ()
  301: {
  302:   return $1
  303: } # as_fn_set_status
  304: 
  305: # as_fn_exit STATUS
  306: # -----------------
  307: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  308: as_fn_exit ()
  309: {
  310:   set +e
  311:   as_fn_set_status $1
  312:   exit $1
  313: } # as_fn_exit
  314: 
  315: # as_fn_mkdir_p
  316: # -------------
  317: # Create "$as_dir" as a directory, including parents if necessary.
  318: as_fn_mkdir_p ()
  319: {
  320: 
  321:   case $as_dir in #(
  322:   -*) as_dir=./$as_dir;;
  323:   esac
  324:   test -d "$as_dir" || eval $as_mkdir_p || {
  325:     as_dirs=
  326:     while :; do
  327:       case $as_dir in #(
  328:       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  329:       *) as_qdir=$as_dir;;
  330:       esac
  331:       as_dirs="'$as_qdir' $as_dirs"
  332:       as_dir=`$as_dirname -- "$as_dir" ||
  333: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  334: 	 X"$as_dir" : 'X\(//\)[^/]' \| \
  335: 	 X"$as_dir" : 'X\(//\)$' \| \
  336: 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  337: $as_echo X"$as_dir" |
  338:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  339: 	    s//\1/
  340: 	    q
  341: 	  }
  342: 	  /^X\(\/\/\)[^/].*/{
  343: 	    s//\1/
  344: 	    q
  345: 	  }
  346: 	  /^X\(\/\/\)$/{
  347: 	    s//\1/
  348: 	    q
  349: 	  }
  350: 	  /^X\(\/\).*/{
  351: 	    s//\1/
  352: 	    q
  353: 	  }
  354: 	  s/.*/./; q'`
  355:       test -d "$as_dir" && break
  356:     done
  357:     test -z "$as_dirs" || eval "mkdir $as_dirs"
  358:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  359: 
  360: 
  361: } # as_fn_mkdir_p
  362: 
  363: # as_fn_executable_p FILE
  364: # -----------------------
  365: # Test if FILE is an executable regular file.
  366: as_fn_executable_p ()
  367: {
  368:   test -f "$1" && test -x "$1"
  369: } # as_fn_executable_p
  370: # as_fn_append VAR VALUE
  371: # ----------------------
  372: # Append the text in VALUE to the end of the definition contained in VAR. Take
  373: # advantage of any shell optimizations that allow amortized linear growth over
  374: # repeated appends, instead of the typical quadratic growth present in naive
  375: # implementations.
  376: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  377:   eval 'as_fn_append ()
  378:   {
  379:     eval $1+=\$2
  380:   }'
  381: else
  382:   as_fn_append ()
  383:   {
  384:     eval $1=\$$1\$2
  385:   }
  386: fi # as_fn_append
  387: 
  388: # as_fn_arith ARG...
  389: # ------------------
  390: # Perform arithmetic evaluation on the ARGs, and store the result in the
  391: # global $as_val. Take advantage of shells that can avoid forks. The arguments
  392: # must be portable across $(()) and expr.
  393: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  394:   eval 'as_fn_arith ()
  395:   {
  396:     as_val=$(( $* ))
  397:   }'
  398: else
  399:   as_fn_arith ()
  400:   {
  401:     as_val=`expr "$@" || test $? -eq 1`
  402:   }
  403: fi # as_fn_arith
  404: 
  405: 
  406: # as_fn_error STATUS ERROR [LINENO LOG_FD]
  407: # ----------------------------------------
  408: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  409: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  410: # script with STATUS, using 1 if that was 0.
  411: as_fn_error ()
  412: {
  413:   as_status=$1; test $as_status -eq 0 && as_status=1
  414:   if test "$4"; then
  415:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  416:     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  417:   fi
  418:   $as_echo "$as_me: error: $2" >&2
  419:   as_fn_exit $as_status
  420: } # as_fn_error
  421: 
  422: if expr a : '\(a\)' >/dev/null 2>&1 &&
  423:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
  424:   as_expr=expr
  425: else
  426:   as_expr=false
  427: fi
  428: 
  429: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  430:   as_basename=basename
  431: else
  432:   as_basename=false
  433: fi
  434: 
  435: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  436:   as_dirname=dirname
  437: else
  438:   as_dirname=false
  439: fi
  440: 
  441: as_me=`$as_basename -- "$0" ||
  442: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  443: 	 X"$0" : 'X\(//\)$' \| \
  444: 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  445: $as_echo X/"$0" |
  446:     sed '/^.*\/\([^/][^/]*\)\/*$/{
  447: 	    s//\1/
  448: 	    q
  449: 	  }
  450: 	  /^X\/\(\/\/\)$/{
  451: 	    s//\1/
  452: 	    q
  453: 	  }
  454: 	  /^X\/\(\/\).*/{
  455: 	    s//\1/
  456: 	    q
  457: 	  }
  458: 	  s/.*/./; q'`
  459: 
  460: # Avoid depending upon Character Ranges.
  461: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  462: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  463: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  464: as_cr_digits='0123456789'
  465: as_cr_alnum=$as_cr_Letters$as_cr_digits
  466: 
  467: 
  468:   as_lineno_1=$LINENO as_lineno_1a=$LINENO
  469:   as_lineno_2=$LINENO as_lineno_2a=$LINENO
  470:   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
  471:   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
  472:   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
  473:   sed -n '
  474:     p
  475:     /[$]LINENO/=
  476:   ' <$as_myself |
  477:     sed '
  478:       s/[$]LINENO.*/&-/
  479:       t lineno
  480:       b
  481:       :lineno
  482:       N
  483:       :loop
  484:       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  485:       t loop
  486:       s/-\n.*//
  487:     ' >$as_me.lineno &&
  488:   chmod +x "$as_me.lineno" ||
  489:     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
  490: 
  491:   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
  492:   # already done that, so ensure we don't try to do so again and fall
  493:   # in an infinite loop.  This has already happened in practice.
  494:   _as_can_reexec=no; export _as_can_reexec
  495:   # Don't try to exec as it changes $[0], causing all sort of problems
  496:   # (the dirname of $[0] is not the place where we might find the
  497:   # original and so on.  Autoconf is especially sensitive to this).
  498:   . "./$as_me.lineno"
  499:   # Exit status is that of the last command.
  500:   exit
  501: }
  502: 
  503: ECHO_C= ECHO_N= ECHO_T=
  504: case `echo -n x` in #(((((
  505: -n*)
  506:   case `echo 'xy\c'` in
  507:   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
  508:   xy)  ECHO_C='\c';;
  509:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
  510:        ECHO_T='	';;
  511:   esac;;
  512: *)
  513:   ECHO_N='-n';;
  514: esac
  515: 
  516: rm -f conf$$ conf$$.exe conf$$.file
  517: if test -d conf$$.dir; then
  518:   rm -f conf$$.dir/conf$$.file
  519: else
  520:   rm -f conf$$.dir
  521:   mkdir conf$$.dir 2>/dev/null
  522: fi
  523: if (echo >conf$$.file) 2>/dev/null; then
  524:   if ln -s conf$$.file conf$$ 2>/dev/null; then
  525:     as_ln_s='ln -s'
  526:     # ... but there are two gotchas:
  527:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  528:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  529:     # In both cases, we have to default to `cp -pR'.
  530:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  531:       as_ln_s='cp -pR'
  532:   elif ln conf$$.file conf$$ 2>/dev/null; then
  533:     as_ln_s=ln
  534:   else
  535:     as_ln_s='cp -pR'
  536:   fi
  537: else
  538:   as_ln_s='cp -pR'
  539: fi
  540: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  541: rmdir conf$$.dir 2>/dev/null
  542: 
  543: if mkdir -p . 2>/dev/null; then
  544:   as_mkdir_p='mkdir -p "$as_dir"'
  545: else
  546:   test -d ./-p && rmdir ./-p
  547:   as_mkdir_p=false
  548: fi
  549: 
  550: as_test_x='test -x'
  551: as_executable_p=as_fn_executable_p
  552: 
  553: # Sed expression to map a string onto a valid CPP name.
  554: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  555: 
  556: # Sed expression to map a string onto a valid variable name.
  557: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  558: 
  559: 
  560: test -n "$DJDIR" || exec 7<&0 </dev/null
  561: exec 6>&1
  562: 
  563: # Name of the host.
  564: # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
  565: # so uname gets run too.
  566: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  567: 
  568: #
  569: # Initializations.
  570: #
  571: ac_default_prefix=/usr/local
  572: ac_clean_files=
  573: ac_config_libobj_dir=.
  574: LIBOBJS=
  575: cross_compiling=no
  576: subdirs=
  577: MFLAGS=
  578: MAKEFLAGS=
  579: 
  580: # Identity of this package.
  581: PACKAGE_NAME='libaitsched'
  582: PACKAGE_TARNAME='libaitsched'
  583: PACKAGE_VERSION='6.8'
  584: PACKAGE_STRING='libaitsched 6.8'
  585: PACKAGE_BUGREPORT='misho@elwix.org'
  586: PACKAGE_URL=''
  587: 
  588: ac_unique_file="src/aitsched.c"
  589: # Factoring default headers for most tests.
  590: ac_includes_default="\
  591: #include <stdio.h>
  592: #ifdef HAVE_SYS_TYPES_H
  593: # include <sys/types.h>
  594: #endif
  595: #ifdef HAVE_SYS_STAT_H
  596: # include <sys/stat.h>
  597: #endif
  598: #ifdef STDC_HEADERS
  599: # include <stdlib.h>
  600: # include <stddef.h>
  601: #else
  602: # ifdef HAVE_STDLIB_H
  603: #  include <stdlib.h>
  604: # endif
  605: #endif
  606: #ifdef HAVE_STRING_H
  607: # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  608: #  include <memory.h>
  609: # endif
  610: # include <string.h>
  611: #endif
  612: #ifdef HAVE_STRINGS_H
  613: # include <strings.h>
  614: #endif
  615: #ifdef HAVE_INTTYPES_H
  616: # include <inttypes.h>
  617: #endif
  618: #ifdef HAVE_STDINT_H
  619: # include <stdint.h>
  620: #endif
  621: #ifdef HAVE_UNISTD_H
  622: # include <unistd.h>
  623: #endif"
  624: 
  625: ac_subst_vars='LTLIBOBJS
  626: LIBOBJS
  627: EGREP
  628: GREP
  629: CPP
  630: MKDEP
  631: target_os
  632: target_vendor
  633: target_cpu
  634: target
  635: host_os
  636: host_vendor
  637: host_cpu
  638: host
  639: build_os
  640: build_vendor
  641: build_cpu
  642: build
  643: RANLIB
  644: INSTALL_DATA
  645: INSTALL_SCRIPT
  646: INSTALL_PROGRAM
  647: OBJEXT
  648: EXEEXT
  649: ac_ct_CC
  650: CPPFLAGS
  651: LDFLAGS
  652: CFLAGS
  653: CC
  654: target_alias
  655: host_alias
  656: build_alias
  657: LIBS
  658: ECHO_T
  659: ECHO_N
  660: ECHO_C
  661: DEFS
  662: mandir
  663: localedir
  664: libdir
  665: psdir
  666: pdfdir
  667: dvidir
  668: htmldir
  669: infodir
  670: docdir
  671: oldincludedir
  672: includedir
  673: runstatedir
  674: localstatedir
  675: sharedstatedir
  676: sysconfdir
  677: datadir
  678: datarootdir
  679: libexecdir
  680: sbindir
  681: bindir
  682: program_transform_name
  683: prefix
  684: exec_prefix
  685: PACKAGE_URL
  686: PACKAGE_BUGREPORT
  687: PACKAGE_STRING
  688: PACKAGE_VERSION
  689: PACKAGE_TARNAME
  690: PACKAGE_NAME
  691: PATH_SEPARATOR
  692: SHELL'
  693: ac_subst_files=''
  694: ac_user_opts='
  695: enable_option_checking
  696: enable_debug
  697: enable_aio
  698: enable_epoll
  699: enable_kqueue
  700: with_kq_events
  701: '
  702:       ac_precious_vars='build_alias
  703: host_alias
  704: target_alias
  705: CC
  706: CFLAGS
  707: LDFLAGS
  708: LIBS
  709: CPPFLAGS
  710: CPP'
  711: 
  712: 
  713: # Initialize some variables set by options.
  714: ac_init_help=
  715: ac_init_version=false
  716: ac_unrecognized_opts=
  717: ac_unrecognized_sep=
  718: # The variables have the same names as the options, with
  719: # dashes changed to underlines.
  720: cache_file=/dev/null
  721: exec_prefix=NONE
  722: no_create=
  723: no_recursion=
  724: prefix=NONE
  725: program_prefix=NONE
  726: program_suffix=NONE
  727: program_transform_name=s,x,x,
  728: silent=
  729: site=
  730: srcdir=
  731: verbose=
  732: x_includes=NONE
  733: x_libraries=NONE
  734: 
  735: # Installation directory options.
  736: # These are left unexpanded so users can "make install exec_prefix=/foo"
  737: # and all the variables that are supposed to be based on exec_prefix
  738: # by default will actually change.
  739: # Use braces instead of parens because sh, perl, etc. also accept them.
  740: # (The list follows the same order as the GNU Coding Standards.)
  741: bindir='${exec_prefix}/bin'
  742: sbindir='${exec_prefix}/sbin'
  743: libexecdir='${exec_prefix}/libexec'
  744: datarootdir='${prefix}/share'
  745: datadir='${datarootdir}'
  746: sysconfdir='${prefix}/etc'
  747: sharedstatedir='${prefix}/com'
  748: localstatedir='${prefix}/var'
  749: runstatedir='${localstatedir}/run'
  750: includedir='${prefix}/include'
  751: oldincludedir='/usr/include'
  752: docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  753: infodir='${datarootdir}/info'
  754: htmldir='${docdir}'
  755: dvidir='${docdir}'
  756: pdfdir='${docdir}'
  757: psdir='${docdir}'
  758: libdir='${exec_prefix}/lib'
  759: localedir='${datarootdir}/locale'
  760: mandir='${datarootdir}/man'
  761: 
  762: ac_prev=
  763: ac_dashdash=
  764: for ac_option
  765: do
  766:   # If the previous option needs an argument, assign it.
  767:   if test -n "$ac_prev"; then
  768:     eval $ac_prev=\$ac_option
  769:     ac_prev=
  770:     continue
  771:   fi
  772: 
  773:   case $ac_option in
  774:   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  775:   *=)   ac_optarg= ;;
  776:   *)    ac_optarg=yes ;;
  777:   esac
  778: 
  779:   # Accept the important Cygnus configure options, so we can diagnose typos.
  780: 
  781:   case $ac_dashdash$ac_option in
  782:   --)
  783:     ac_dashdash=yes ;;
  784: 
  785:   -bindir | --bindir | --bindi | --bind | --bin | --bi)
  786:     ac_prev=bindir ;;
  787:   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  788:     bindir=$ac_optarg ;;
  789: 
  790:   -build | --build | --buil | --bui | --bu)
  791:     ac_prev=build_alias ;;
  792:   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  793:     build_alias=$ac_optarg ;;
  794: 
  795:   -cache-file | --cache-file | --cache-fil | --cache-fi \
  796:   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  797:     ac_prev=cache_file ;;
  798:   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  799:   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  800:     cache_file=$ac_optarg ;;
  801: 
  802:   --config-cache | -C)
  803:     cache_file=config.cache ;;
  804: 
  805:   -datadir | --datadir | --datadi | --datad)
  806:     ac_prev=datadir ;;
  807:   -datadir=* | --datadir=* | --datadi=* | --datad=*)
  808:     datadir=$ac_optarg ;;
  809: 
  810:   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  811:   | --dataroo | --dataro | --datar)
  812:     ac_prev=datarootdir ;;
  813:   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  814:   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  815:     datarootdir=$ac_optarg ;;
  816: 
  817:   -disable-* | --disable-*)
  818:     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  819:     # Reject names that are not valid shell variable names.
  820:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  821:       as_fn_error $? "invalid feature name: $ac_useropt"
  822:     ac_useropt_orig=$ac_useropt
  823:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  824:     case $ac_user_opts in
  825:       *"
  826: "enable_$ac_useropt"
  827: "*) ;;
  828:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
  829: 	 ac_unrecognized_sep=', ';;
  830:     esac
  831:     eval enable_$ac_useropt=no ;;
  832: 
  833:   -docdir | --docdir | --docdi | --doc | --do)
  834:     ac_prev=docdir ;;
  835:   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  836:     docdir=$ac_optarg ;;
  837: 
  838:   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  839:     ac_prev=dvidir ;;
  840:   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  841:     dvidir=$ac_optarg ;;
  842: 
  843:   -enable-* | --enable-*)
  844:     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  845:     # Reject names that are not valid shell variable names.
  846:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  847:       as_fn_error $? "invalid feature name: $ac_useropt"
  848:     ac_useropt_orig=$ac_useropt
  849:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  850:     case $ac_user_opts in
  851:       *"
  852: "enable_$ac_useropt"
  853: "*) ;;
  854:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
  855: 	 ac_unrecognized_sep=', ';;
  856:     esac
  857:     eval enable_$ac_useropt=\$ac_optarg ;;
  858: 
  859:   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  860:   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  861:   | --exec | --exe | --ex)
  862:     ac_prev=exec_prefix ;;
  863:   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  864:   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  865:   | --exec=* | --exe=* | --ex=*)
  866:     exec_prefix=$ac_optarg ;;
  867: 
  868:   -gas | --gas | --ga | --g)
  869:     # Obsolete; use --with-gas.
  870:     with_gas=yes ;;
  871: 
  872:   -help | --help | --hel | --he | -h)
  873:     ac_init_help=long ;;
  874:   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  875:     ac_init_help=recursive ;;
  876:   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  877:     ac_init_help=short ;;
  878: 
  879:   -host | --host | --hos | --ho)
  880:     ac_prev=host_alias ;;
  881:   -host=* | --host=* | --hos=* | --ho=*)
  882:     host_alias=$ac_optarg ;;
  883: 
  884:   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  885:     ac_prev=htmldir ;;
  886:   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  887:   | --ht=*)
  888:     htmldir=$ac_optarg ;;
  889: 
  890:   -includedir | --includedir | --includedi | --included | --include \
  891:   | --includ | --inclu | --incl | --inc)
  892:     ac_prev=includedir ;;
  893:   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  894:   | --includ=* | --inclu=* | --incl=* | --inc=*)
  895:     includedir=$ac_optarg ;;
  896: 
  897:   -infodir | --infodir | --infodi | --infod | --info | --inf)
  898:     ac_prev=infodir ;;
  899:   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  900:     infodir=$ac_optarg ;;
  901: 
  902:   -libdir | --libdir | --libdi | --libd)
  903:     ac_prev=libdir ;;
  904:   -libdir=* | --libdir=* | --libdi=* | --libd=*)
  905:     libdir=$ac_optarg ;;
  906: 
  907:   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  908:   | --libexe | --libex | --libe)
  909:     ac_prev=libexecdir ;;
  910:   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  911:   | --libexe=* | --libex=* | --libe=*)
  912:     libexecdir=$ac_optarg ;;
  913: 
  914:   -localedir | --localedir | --localedi | --localed | --locale)
  915:     ac_prev=localedir ;;
  916:   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  917:     localedir=$ac_optarg ;;
  918: 
  919:   -localstatedir | --localstatedir | --localstatedi | --localstated \
  920:   | --localstate | --localstat | --localsta | --localst | --locals)
  921:     ac_prev=localstatedir ;;
  922:   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  923:   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  924:     localstatedir=$ac_optarg ;;
  925: 
  926:   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  927:     ac_prev=mandir ;;
  928:   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  929:     mandir=$ac_optarg ;;
  930: 
  931:   -nfp | --nfp | --nf)
  932:     # Obsolete; use --without-fp.
  933:     with_fp=no ;;
  934: 
  935:   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  936:   | --no-cr | --no-c | -n)
  937:     no_create=yes ;;
  938: 
  939:   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  940:   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  941:     no_recursion=yes ;;
  942: 
  943:   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  944:   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  945:   | --oldin | --oldi | --old | --ol | --o)
  946:     ac_prev=oldincludedir ;;
  947:   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  948:   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  949:   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  950:     oldincludedir=$ac_optarg ;;
  951: 
  952:   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  953:     ac_prev=prefix ;;
  954:   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  955:     prefix=$ac_optarg ;;
  956: 
  957:   -program-prefix | --program-prefix | --program-prefi | --program-pref \
  958:   | --program-pre | --program-pr | --program-p)
  959:     ac_prev=program_prefix ;;
  960:   -program-prefix=* | --program-prefix=* | --program-prefi=* \
  961:   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  962:     program_prefix=$ac_optarg ;;
  963: 
  964:   -program-suffix | --program-suffix | --program-suffi | --program-suff \
  965:   | --program-suf | --program-su | --program-s)
  966:     ac_prev=program_suffix ;;
  967:   -program-suffix=* | --program-suffix=* | --program-suffi=* \
  968:   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  969:     program_suffix=$ac_optarg ;;
  970: 
  971:   -program-transform-name | --program-transform-name \
  972:   | --program-transform-nam | --program-transform-na \
  973:   | --program-transform-n | --program-transform- \
  974:   | --program-transform | --program-transfor \
  975:   | --program-transfo | --program-transf \
  976:   | --program-trans | --program-tran \
  977:   | --progr-tra | --program-tr | --program-t)
  978:     ac_prev=program_transform_name ;;
  979:   -program-transform-name=* | --program-transform-name=* \
  980:   | --program-transform-nam=* | --program-transform-na=* \
  981:   | --program-transform-n=* | --program-transform-=* \
  982:   | --program-transform=* | --program-transfor=* \
  983:   | --program-transfo=* | --program-transf=* \
  984:   | --program-trans=* | --program-tran=* \
  985:   | --progr-tra=* | --program-tr=* | --program-t=*)
  986:     program_transform_name=$ac_optarg ;;
  987: 
  988:   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  989:     ac_prev=pdfdir ;;
  990:   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  991:     pdfdir=$ac_optarg ;;
  992: 
  993:   -psdir | --psdir | --psdi | --psd | --ps)
  994:     ac_prev=psdir ;;
  995:   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  996:     psdir=$ac_optarg ;;
  997: 
  998:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  999:   | -silent | --silent | --silen | --sile | --sil)
 1000:     silent=yes ;;
 1001: 
 1002:   -runstatedir | --runstatedir | --runstatedi | --runstated \
 1003:   | --runstate | --runstat | --runsta | --runst | --runs \
 1004:   | --run | --ru | --r)
 1005:     ac_prev=runstatedir ;;
 1006:   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
 1007:   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
 1008:   | --run=* | --ru=* | --r=*)
 1009:     runstatedir=$ac_optarg ;;
 1010: 
 1011:   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
 1012:     ac_prev=sbindir ;;
 1013:   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
 1014:   | --sbi=* | --sb=*)
 1015:     sbindir=$ac_optarg ;;
 1016: 
 1017:   -sharedstatedir | --sharedstatedir | --sharedstatedi \
 1018:   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
 1019:   | --sharedst | --shareds | --shared | --share | --shar \
 1020:   | --sha | --sh)
 1021:     ac_prev=sharedstatedir ;;
 1022:   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
 1023:   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
 1024:   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
 1025:   | --sha=* | --sh=*)
 1026:     sharedstatedir=$ac_optarg ;;
 1027: 
 1028:   -site | --site | --sit)
 1029:     ac_prev=site ;;
 1030:   -site=* | --site=* | --sit=*)
 1031:     site=$ac_optarg ;;
 1032: 
 1033:   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
 1034:     ac_prev=srcdir ;;
 1035:   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
 1036:     srcdir=$ac_optarg ;;
 1037: 
 1038:   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
 1039:   | --syscon | --sysco | --sysc | --sys | --sy)
 1040:     ac_prev=sysconfdir ;;
 1041:   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
 1042:   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
 1043:     sysconfdir=$ac_optarg ;;
 1044: 
 1045:   -target | --target | --targe | --targ | --tar | --ta | --t)
 1046:     ac_prev=target_alias ;;
 1047:   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
 1048:     target_alias=$ac_optarg ;;
 1049: 
 1050:   -v | -verbose | --verbose | --verbos | --verbo | --verb)
 1051:     verbose=yes ;;
 1052: 
 1053:   -version | --version | --versio | --versi | --vers | -V)
 1054:     ac_init_version=: ;;
 1055: 
 1056:   -with-* | --with-*)
 1057:     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 1058:     # Reject names that are not valid shell variable names.
 1059:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 1060:       as_fn_error $? "invalid package name: $ac_useropt"
 1061:     ac_useropt_orig=$ac_useropt
 1062:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 1063:     case $ac_user_opts in
 1064:       *"
 1065: "with_$ac_useropt"
 1066: "*) ;;
 1067:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 1068: 	 ac_unrecognized_sep=', ';;
 1069:     esac
 1070:     eval with_$ac_useropt=\$ac_optarg ;;
 1071: 
 1072:   -without-* | --without-*)
 1073:     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 1074:     # Reject names that are not valid shell variable names.
 1075:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 1076:       as_fn_error $? "invalid package name: $ac_useropt"
 1077:     ac_useropt_orig=$ac_useropt
 1078:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 1079:     case $ac_user_opts in
 1080:       *"
 1081: "with_$ac_useropt"
 1082: "*) ;;
 1083:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 1084: 	 ac_unrecognized_sep=', ';;
 1085:     esac
 1086:     eval with_$ac_useropt=no ;;
 1087: 
 1088:   --x)
 1089:     # Obsolete; use --with-x.
 1090:     with_x=yes ;;
 1091: 
 1092:   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
 1093:   | --x-incl | --x-inc | --x-in | --x-i)
 1094:     ac_prev=x_includes ;;
 1095:   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
 1096:   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
 1097:     x_includes=$ac_optarg ;;
 1098: 
 1099:   -x-libraries | --x-libraries | --x-librarie | --x-librari \
 1100:   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
 1101:     ac_prev=x_libraries ;;
 1102:   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
 1103:   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
 1104:     x_libraries=$ac_optarg ;;
 1105: 
 1106:   -*) as_fn_error $? "unrecognized option: \`$ac_option'
 1107: Try \`$0 --help' for more information"
 1108:     ;;
 1109: 
 1110:   *=*)
 1111:     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
 1112:     # Reject names that are not valid shell variable names.
 1113:     case $ac_envvar in #(
 1114:       '' | [0-9]* | *[!_$as_cr_alnum]* )
 1115:       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
 1116:     esac
 1117:     eval $ac_envvar=\$ac_optarg
 1118:     export $ac_envvar ;;
 1119: 
 1120:   *)
 1121:     # FIXME: should be removed in autoconf 3.0.
 1122:     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 1123:     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 1124:       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 1125:     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
 1126:     ;;
 1127: 
 1128:   esac
 1129: done
 1130: 
 1131: if test -n "$ac_prev"; then
 1132:   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
 1133:   as_fn_error $? "missing argument to $ac_option"
 1134: fi
 1135: 
 1136: if test -n "$ac_unrecognized_opts"; then
 1137:   case $enable_option_checking in
 1138:     no) ;;
 1139:     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
 1140:     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 1141:   esac
 1142: fi
 1143: 
 1144: # Check all directory arguments for consistency.
 1145: for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
 1146: 		datadir sysconfdir sharedstatedir localstatedir includedir \
 1147: 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 1148: 		libdir localedir mandir runstatedir
 1149: do
 1150:   eval ac_val=\$$ac_var
 1151:   # Remove trailing slashes.
 1152:   case $ac_val in
 1153:     */ )
 1154:       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 1155:       eval $ac_var=\$ac_val;;
 1156:   esac
 1157:   # Be sure to have absolute directory names.
 1158:   case $ac_val in
 1159:     [\\/$]* | ?:[\\/]* )  continue;;
 1160:     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 1161:   esac
 1162:   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
 1163: done
 1164: 
 1165: # There might be people who depend on the old broken behavior: `$host'
 1166: # used to hold the argument of --host etc.
 1167: # FIXME: To remove some day.
 1168: build=$build_alias
 1169: host=$host_alias
 1170: target=$target_alias
 1171: 
 1172: # FIXME: To remove some day.
 1173: if test "x$host_alias" != x; then
 1174:   if test "x$build_alias" = x; then
 1175:     cross_compiling=maybe
 1176:   elif test "x$build_alias" != "x$host_alias"; then
 1177:     cross_compiling=yes
 1178:   fi
 1179: fi
 1180: 
 1181: ac_tool_prefix=
 1182: test -n "$host_alias" && ac_tool_prefix=$host_alias-
 1183: 
 1184: test "$silent" = yes && exec 6>/dev/null
 1185: 
 1186: 
 1187: ac_pwd=`pwd` && test -n "$ac_pwd" &&
 1188: ac_ls_di=`ls -di .` &&
 1189: ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 1190:   as_fn_error $? "working directory cannot be determined"
 1191: test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 1192:   as_fn_error $? "pwd does not report name of working directory"
 1193: 
 1194: 
 1195: # Find the source files, if location was not specified.
 1196: if test -z "$srcdir"; then
 1197:   ac_srcdir_defaulted=yes
 1198:   # Try the directory containing this script, then the parent directory.
 1199:   ac_confdir=`$as_dirname -- "$as_myself" ||
 1200: $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 1201: 	 X"$as_myself" : 'X\(//\)[^/]' \| \
 1202: 	 X"$as_myself" : 'X\(//\)$' \| \
 1203: 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 1204: $as_echo X"$as_myself" |
 1205:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 1206: 	    s//\1/
 1207: 	    q
 1208: 	  }
 1209: 	  /^X\(\/\/\)[^/].*/{
 1210: 	    s//\1/
 1211: 	    q
 1212: 	  }
 1213: 	  /^X\(\/\/\)$/{
 1214: 	    s//\1/
 1215: 	    q
 1216: 	  }
 1217: 	  /^X\(\/\).*/{
 1218: 	    s//\1/
 1219: 	    q
 1220: 	  }
 1221: 	  s/.*/./; q'`
 1222:   srcdir=$ac_confdir
 1223:   if test ! -r "$srcdir/$ac_unique_file"; then
 1224:     srcdir=..
 1225:   fi
 1226: else
 1227:   ac_srcdir_defaulted=no
 1228: fi
 1229: if test ! -r "$srcdir/$ac_unique_file"; then
 1230:   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 1231:   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
 1232: fi
 1233: ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 1234: ac_abs_confdir=`(
 1235: 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
 1236: 	pwd)`
 1237: # When building in place, set srcdir=.
 1238: if test "$ac_abs_confdir" = "$ac_pwd"; then
 1239:   srcdir=.
 1240: fi
 1241: # Remove unnecessary trailing slashes from srcdir.
 1242: # Double slashes in file names in object file debugging info
 1243: # mess up M-x gdb in Emacs.
 1244: case $srcdir in
 1245: */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 1246: esac
 1247: for ac_var in $ac_precious_vars; do
 1248:   eval ac_env_${ac_var}_set=\${${ac_var}+set}
 1249:   eval ac_env_${ac_var}_value=\$${ac_var}
 1250:   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 1251:   eval ac_cv_env_${ac_var}_value=\$${ac_var}
 1252: done
 1253: 
 1254: #
 1255: # Report the --help message.
 1256: #
 1257: if test "$ac_init_help" = "long"; then
 1258:   # Omit some internal or obsolete options to make the list less imposing.
 1259:   # This message is too long to be a string in the A/UX 3.1 sh.
 1260:   cat <<_ACEOF
 1261: \`configure' configures libaitsched 6.8 to adapt to many kinds of systems.
 1262: 
 1263: Usage: $0 [OPTION]... [VAR=VALUE]...
 1264: 
 1265: To assign environment variables (e.g., CC, CFLAGS...), specify them as
 1266: VAR=VALUE.  See below for descriptions of some of the useful variables.
 1267: 
 1268: Defaults for the options are specified in brackets.
 1269: 
 1270: Configuration:
 1271:   -h, --help              display this help and exit
 1272:       --help=short        display options specific to this package
 1273:       --help=recursive    display the short help of all the included packages
 1274:   -V, --version           display version information and exit
 1275:   -q, --quiet, --silent   do not print \`checking ...' messages
 1276:       --cache-file=FILE   cache test results in FILE [disabled]
 1277:   -C, --config-cache      alias for \`--cache-file=config.cache'
 1278:   -n, --no-create         do not create output files
 1279:       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
 1280: 
 1281: Installation directories:
 1282:   --prefix=PREFIX         install architecture-independent files in PREFIX
 1283:                           [$ac_default_prefix]
 1284:   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
 1285:                           [PREFIX]
 1286: 
 1287: By default, \`make install' will install all the files in
 1288: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
 1289: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
 1290: for instance \`--prefix=\$HOME'.
 1291: 
 1292: For better control, use the options below.
 1293: 
 1294: Fine tuning of the installation directories:
 1295:   --bindir=DIR            user executables [EPREFIX/bin]
 1296:   --sbindir=DIR           system admin executables [EPREFIX/sbin]
 1297:   --libexecdir=DIR        program executables [EPREFIX/libexec]
 1298:   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 1299:   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 1300:   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 1301:   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
 1302:   --libdir=DIR            object code libraries [EPREFIX/lib]
 1303:   --includedir=DIR        C header files [PREFIX/include]
 1304:   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 1305:   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 1306:   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 1307:   --infodir=DIR           info documentation [DATAROOTDIR/info]
 1308:   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 1309:   --mandir=DIR            man documentation [DATAROOTDIR/man]
 1310:   --docdir=DIR            documentation root [DATAROOTDIR/doc/libaitsched]
 1311:   --htmldir=DIR           html documentation [DOCDIR]
 1312:   --dvidir=DIR            dvi documentation [DOCDIR]
 1313:   --pdfdir=DIR            pdf documentation [DOCDIR]
 1314:   --psdir=DIR             ps documentation [DOCDIR]
 1315: _ACEOF
 1316: 
 1317:   cat <<\_ACEOF
 1318: 
 1319: System types:
 1320:   --build=BUILD     configure for building on BUILD [guessed]
 1321:   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
 1322:   --target=TARGET   configure for building compilers for TARGET [HOST]
 1323: _ACEOF
 1324: fi
 1325: 
 1326: if test -n "$ac_init_help"; then
 1327:   case $ac_init_help in
 1328:      short | recursive ) echo "Configuration of libaitsched 6.8:";;
 1329:    esac
 1330:   cat <<\_ACEOF
 1331: 
 1332: Optional Features:
 1333:   --disable-option-checking  ignore unrecognized --enable/--with options
 1334:   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
 1335:   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
 1336:   --enable-debug          Build library with debug information and additional messages
 1337:   --enable-aio            Build scheduler library with AIO operations
 1338:   --enable-epoll          Enable epoll support (only under Linux)
 1339:   --disable-kqueue        Disable kqueue support
 1340: 
 1341: Optional Packages:
 1342:   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
 1343:   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
 1344:   --with-kq_events        Set how many kqueue events can scheduling at one time
 1345: 
 1346: Some influential environment variables:
 1347:   CC          C compiler command
 1348:   CFLAGS      C compiler flags
 1349:   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
 1350:               nonstandard directory <lib dir>
 1351:   LIBS        libraries to pass to the linker, e.g. -l<library>
 1352:   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
 1353:               you have headers in a nonstandard directory <include dir>
 1354:   CPP         C preprocessor
 1355: 
 1356: Use these variables to override the choices made by `configure' or to help
 1357: it to find libraries and programs with nonstandard names/locations.
 1358: 
 1359: Report bugs to <misho@elwix.org>.
 1360: _ACEOF
 1361: ac_status=$?
 1362: fi
 1363: 
 1364: if test "$ac_init_help" = "recursive"; then
 1365:   # If there are subdirs, report their specific --help.
 1366:   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
 1367:     test -d "$ac_dir" ||
 1368:       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 1369:       continue
 1370:     ac_builddir=.
 1371: 
 1372: case "$ac_dir" in
 1373: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 1374: *)
 1375:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 1376:   # A ".." for each directory in $ac_dir_suffix.
 1377:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 1378:   case $ac_top_builddir_sub in
 1379:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 1380:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 1381:   esac ;;
 1382: esac
 1383: ac_abs_top_builddir=$ac_pwd
 1384: ac_abs_builddir=$ac_pwd$ac_dir_suffix
 1385: # for backward compatibility:
 1386: ac_top_builddir=$ac_top_build_prefix
 1387: 
 1388: case $srcdir in
 1389:   .)  # We are building in place.
 1390:     ac_srcdir=.
 1391:     ac_top_srcdir=$ac_top_builddir_sub
 1392:     ac_abs_top_srcdir=$ac_pwd ;;
 1393:   [\\/]* | ?:[\\/]* )  # Absolute name.
 1394:     ac_srcdir=$srcdir$ac_dir_suffix;
 1395:     ac_top_srcdir=$srcdir
 1396:     ac_abs_top_srcdir=$srcdir ;;
 1397:   *) # Relative name.
 1398:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 1399:     ac_top_srcdir=$ac_top_build_prefix$srcdir
 1400:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 1401: esac
 1402: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 1403: 
 1404:     cd "$ac_dir" || { ac_status=$?; continue; }
 1405:     # Check for guested configure.
 1406:     if test -f "$ac_srcdir/configure.gnu"; then
 1407:       echo &&
 1408:       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 1409:     elif test -f "$ac_srcdir/configure"; then
 1410:       echo &&
 1411:       $SHELL "$ac_srcdir/configure" --help=recursive
 1412:     else
 1413:       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 1414:     fi || ac_status=$?
 1415:     cd "$ac_pwd" || { ac_status=$?; break; }
 1416:   done
 1417: fi
 1418: 
 1419: test -n "$ac_init_help" && exit $ac_status
 1420: if $ac_init_version; then
 1421:   cat <<\_ACEOF
 1422: libaitsched configure 6.8
 1423: generated by GNU Autoconf 2.69
 1424: 
 1425: Copyright (C) 2012 Free Software Foundation, Inc.
 1426: This configure script is free software; the Free Software Foundation
 1427: gives unlimited permission to copy, distribute and modify it.
 1428: _ACEOF
 1429:   exit
 1430: fi
 1431: 
 1432: ## ------------------------ ##
 1433: ## Autoconf initialization. ##
 1434: ## ------------------------ ##
 1435: 
 1436: # ac_fn_c_try_compile LINENO
 1437: # --------------------------
 1438: # Try to compile conftest.$ac_ext, and return whether this succeeded.
 1439: ac_fn_c_try_compile ()
 1440: {
 1441:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1442:   rm -f conftest.$ac_objext
 1443:   if { { ac_try="$ac_compile"
 1444: case "(($ac_try" in
 1445:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1446:   *) ac_try_echo=$ac_try;;
 1447: esac
 1448: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1449: $as_echo "$ac_try_echo"; } >&5
 1450:   (eval "$ac_compile") 2>conftest.err
 1451:   ac_status=$?
 1452:   if test -s conftest.err; then
 1453:     grep -v '^ *+' conftest.err >conftest.er1
 1454:     cat conftest.er1 >&5
 1455:     mv -f conftest.er1 conftest.err
 1456:   fi
 1457:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1458:   test $ac_status = 0; } && {
 1459: 	 test -z "$ac_c_werror_flag" ||
 1460: 	 test ! -s conftest.err
 1461:        } && test -s conftest.$ac_objext; then :
 1462:   ac_retval=0
 1463: else
 1464:   $as_echo "$as_me: failed program was:" >&5
 1465: sed 's/^/| /' conftest.$ac_ext >&5
 1466: 
 1467: 	ac_retval=1
 1468: fi
 1469:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1470:   as_fn_set_status $ac_retval
 1471: 
 1472: } # ac_fn_c_try_compile
 1473: 
 1474: # ac_fn_c_try_link LINENO
 1475: # -----------------------
 1476: # Try to link conftest.$ac_ext, and return whether this succeeded.
 1477: ac_fn_c_try_link ()
 1478: {
 1479:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1480:   rm -f conftest.$ac_objext conftest$ac_exeext
 1481:   if { { ac_try="$ac_link"
 1482: case "(($ac_try" in
 1483:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1484:   *) ac_try_echo=$ac_try;;
 1485: esac
 1486: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1487: $as_echo "$ac_try_echo"; } >&5
 1488:   (eval "$ac_link") 2>conftest.err
 1489:   ac_status=$?
 1490:   if test -s conftest.err; then
 1491:     grep -v '^ *+' conftest.err >conftest.er1
 1492:     cat conftest.er1 >&5
 1493:     mv -f conftest.er1 conftest.err
 1494:   fi
 1495:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1496:   test $ac_status = 0; } && {
 1497: 	 test -z "$ac_c_werror_flag" ||
 1498: 	 test ! -s conftest.err
 1499:        } && test -s conftest$ac_exeext && {
 1500: 	 test "$cross_compiling" = yes ||
 1501: 	 test -x conftest$ac_exeext
 1502:        }; then :
 1503:   ac_retval=0
 1504: else
 1505:   $as_echo "$as_me: failed program was:" >&5
 1506: sed 's/^/| /' conftest.$ac_ext >&5
 1507: 
 1508: 	ac_retval=1
 1509: fi
 1510:   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 1511:   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 1512:   # interfere with the next link command; also delete a directory that is
 1513:   # left behind by Apple's compiler.  We do this before executing the actions.
 1514:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 1515:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1516:   as_fn_set_status $ac_retval
 1517: 
 1518: } # ac_fn_c_try_link
 1519: 
 1520: # ac_fn_c_try_cpp LINENO
 1521: # ----------------------
 1522: # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 1523: ac_fn_c_try_cpp ()
 1524: {
 1525:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1526:   if { { ac_try="$ac_cpp conftest.$ac_ext"
 1527: case "(($ac_try" in
 1528:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1529:   *) ac_try_echo=$ac_try;;
 1530: esac
 1531: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1532: $as_echo "$ac_try_echo"; } >&5
 1533:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 1534:   ac_status=$?
 1535:   if test -s conftest.err; then
 1536:     grep -v '^ *+' conftest.err >conftest.er1
 1537:     cat conftest.er1 >&5
 1538:     mv -f conftest.er1 conftest.err
 1539:   fi
 1540:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1541:   test $ac_status = 0; } > conftest.i && {
 1542: 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 1543: 	 test ! -s conftest.err
 1544:        }; then :
 1545:   ac_retval=0
 1546: else
 1547:   $as_echo "$as_me: failed program was:" >&5
 1548: sed 's/^/| /' conftest.$ac_ext >&5
 1549: 
 1550:     ac_retval=1
 1551: fi
 1552:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1553:   as_fn_set_status $ac_retval
 1554: 
 1555: } # ac_fn_c_try_cpp
 1556: 
 1557: # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
 1558: # -------------------------------------------------------
 1559: # Tests whether HEADER exists, giving a warning if it cannot be compiled using
 1560: # the include files in INCLUDES and setting the cache variable VAR
 1561: # accordingly.
 1562: ac_fn_c_check_header_mongrel ()
 1563: {
 1564:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1565:   if eval \${$3+:} false; then :
 1566:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 1567: $as_echo_n "checking for $2... " >&6; }
 1568: if eval \${$3+:} false; then :
 1569:   $as_echo_n "(cached) " >&6
 1570: fi
 1571: eval ac_res=\$$3
 1572: 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 1573: $as_echo "$ac_res" >&6; }
 1574: else
 1575:   # Is the header compilable?
 1576: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
 1577: $as_echo_n "checking $2 usability... " >&6; }
 1578: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1579: /* end confdefs.h.  */
 1580: $4
 1581: #include <$2>
 1582: _ACEOF
 1583: if ac_fn_c_try_compile "$LINENO"; then :
 1584:   ac_header_compiler=yes
 1585: else
 1586:   ac_header_compiler=no
 1587: fi
 1588: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 1589: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
 1590: $as_echo "$ac_header_compiler" >&6; }
 1591: 
 1592: # Is the header present?
 1593: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
 1594: $as_echo_n "checking $2 presence... " >&6; }
 1595: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1596: /* end confdefs.h.  */
 1597: #include <$2>
 1598: _ACEOF
 1599: if ac_fn_c_try_cpp "$LINENO"; then :
 1600:   ac_header_preproc=yes
 1601: else
 1602:   ac_header_preproc=no
 1603: fi
 1604: rm -f conftest.err conftest.i conftest.$ac_ext
 1605: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 1606: $as_echo "$ac_header_preproc" >&6; }
 1607: 
 1608: # So?  What about this header?
 1609: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
 1610:   yes:no: )
 1611:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
 1612: $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
 1613:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 1614: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 1615:     ;;
 1616:   no:yes:* )
 1617:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
 1618: $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
 1619:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
 1620: $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
 1621:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
 1622: $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
 1623:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
 1624: $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
 1625:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 1626: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 1627: ( $as_echo "## ------------------------------ ##
 1628: ## Report this to misho@elwix.org ##
 1629: ## ------------------------------ ##"
 1630:      ) | sed "s/^/$as_me: WARNING:     /" >&2
 1631:     ;;
 1632: esac
 1633:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 1634: $as_echo_n "checking for $2... " >&6; }
 1635: if eval \${$3+:} false; then :
 1636:   $as_echo_n "(cached) " >&6
 1637: else
 1638:   eval "$3=\$ac_header_compiler"
 1639: fi
 1640: eval ac_res=\$$3
 1641: 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 1642: $as_echo "$ac_res" >&6; }
 1643: fi
 1644:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1645: 
 1646: } # ac_fn_c_check_header_mongrel
 1647: 
 1648: # ac_fn_c_try_run LINENO
 1649: # ----------------------
 1650: # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
 1651: # that executables *can* be run.
 1652: ac_fn_c_try_run ()
 1653: {
 1654:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1655:   if { { ac_try="$ac_link"
 1656: case "(($ac_try" in
 1657:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1658:   *) ac_try_echo=$ac_try;;
 1659: esac
 1660: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1661: $as_echo "$ac_try_echo"; } >&5
 1662:   (eval "$ac_link") 2>&5
 1663:   ac_status=$?
 1664:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1665:   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 1666:   { { case "(($ac_try" in
 1667:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1668:   *) ac_try_echo=$ac_try;;
 1669: esac
 1670: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1671: $as_echo "$ac_try_echo"; } >&5
 1672:   (eval "$ac_try") 2>&5
 1673:   ac_status=$?
 1674:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1675:   test $ac_status = 0; }; }; then :
 1676:   ac_retval=0
 1677: else
 1678:   $as_echo "$as_me: program exited with status $ac_status" >&5
 1679:        $as_echo "$as_me: failed program was:" >&5
 1680: sed 's/^/| /' conftest.$ac_ext >&5
 1681: 
 1682:        ac_retval=$ac_status
 1683: fi
 1684:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 1685:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1686:   as_fn_set_status $ac_retval
 1687: 
 1688: } # ac_fn_c_try_run
 1689: 
 1690: # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
 1691: # -------------------------------------------------------
 1692: # Tests whether HEADER exists and can be compiled using the include files in
 1693: # INCLUDES, setting the cache variable VAR accordingly.
 1694: ac_fn_c_check_header_compile ()
 1695: {
 1696:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1697:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 1698: $as_echo_n "checking for $2... " >&6; }
 1699: if eval \${$3+:} false; then :
 1700:   $as_echo_n "(cached) " >&6
 1701: else
 1702:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1703: /* end confdefs.h.  */
 1704: $4
 1705: #include <$2>
 1706: _ACEOF
 1707: if ac_fn_c_try_compile "$LINENO"; then :
 1708:   eval "$3=yes"
 1709: else
 1710:   eval "$3=no"
 1711: fi
 1712: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 1713: fi
 1714: eval ac_res=\$$3
 1715: 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 1716: $as_echo "$ac_res" >&6; }
 1717:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1718: 
 1719: } # ac_fn_c_check_header_compile
 1720: 
 1721: # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
 1722: # -------------------------------------------
 1723: # Tests whether TYPE exists after having included INCLUDES, setting cache
 1724: # variable VAR accordingly.
 1725: ac_fn_c_check_type ()
 1726: {
 1727:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1728:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 1729: $as_echo_n "checking for $2... " >&6; }
 1730: if eval \${$3+:} false; then :
 1731:   $as_echo_n "(cached) " >&6
 1732: else
 1733:   eval "$3=no"
 1734:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1735: /* end confdefs.h.  */
 1736: $4
 1737: int
 1738: main ()
 1739: {
 1740: if (sizeof ($2))
 1741: 	 return 0;
 1742:   ;
 1743:   return 0;
 1744: }
 1745: _ACEOF
 1746: if ac_fn_c_try_compile "$LINENO"; then :
 1747:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1748: /* end confdefs.h.  */
 1749: $4
 1750: int
 1751: main ()
 1752: {
 1753: if (sizeof (($2)))
 1754: 	    return 0;
 1755:   ;
 1756:   return 0;
 1757: }
 1758: _ACEOF
 1759: if ac_fn_c_try_compile "$LINENO"; then :
 1760: 
 1761: else
 1762:   eval "$3=yes"
 1763: fi
 1764: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 1765: fi
 1766: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 1767: fi
 1768: eval ac_res=\$$3
 1769: 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 1770: $as_echo "$ac_res" >&6; }
 1771:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1772: 
 1773: } # ac_fn_c_check_type
 1774: 
 1775: # ac_fn_c_check_func LINENO FUNC VAR
 1776: # ----------------------------------
 1777: # Tests whether FUNC exists, setting the cache variable VAR accordingly
 1778: ac_fn_c_check_func ()
 1779: {
 1780:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1781:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 1782: $as_echo_n "checking for $2... " >&6; }
 1783: if eval \${$3+:} false; then :
 1784:   $as_echo_n "(cached) " >&6
 1785: else
 1786:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1787: /* end confdefs.h.  */
 1788: /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
 1789:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 1790: #define $2 innocuous_$2
 1791: 
 1792: /* System header to define __stub macros and hopefully few prototypes,
 1793:     which can conflict with char $2 (); below.
 1794:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 1795:     <limits.h> exists even on freestanding compilers.  */
 1796: 
 1797: #ifdef __STDC__
 1798: # include <limits.h>
 1799: #else
 1800: # include <assert.h>
 1801: #endif
 1802: 
 1803: #undef $2
 1804: 
 1805: /* Override any GCC internal prototype to avoid an error.
 1806:    Use char because int might match the return type of a GCC
 1807:    builtin and then its argument prototype would still apply.  */
 1808: #ifdef __cplusplus
 1809: extern "C"
 1810: #endif
 1811: char $2 ();
 1812: /* The GNU C library defines this for functions which it implements
 1813:     to always fail with ENOSYS.  Some functions are actually named
 1814:     something starting with __ and the normal name is an alias.  */
 1815: #if defined __stub_$2 || defined __stub___$2
 1816: choke me
 1817: #endif
 1818: 
 1819: int
 1820: main ()
 1821: {
 1822: return $2 ();
 1823:   ;
 1824:   return 0;
 1825: }
 1826: _ACEOF
 1827: if ac_fn_c_try_link "$LINENO"; then :
 1828:   eval "$3=yes"
 1829: else
 1830:   eval "$3=no"
 1831: fi
 1832: rm -f core conftest.err conftest.$ac_objext \
 1833:     conftest$ac_exeext conftest.$ac_ext
 1834: fi
 1835: eval ac_res=\$$3
 1836: 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 1837: $as_echo "$ac_res" >&6; }
 1838:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1839: 
 1840: } # ac_fn_c_check_func
 1841: cat >config.log <<_ACEOF
 1842: This file contains any messages produced by compilers while
 1843: running configure, to aid debugging if configure makes a mistake.
 1844: 
 1845: It was created by libaitsched $as_me 6.8, which was
 1846: generated by GNU Autoconf 2.69.  Invocation command line was
 1847: 
 1848:   $ $0 $@
 1849: 
 1850: _ACEOF
 1851: exec 5>>config.log
 1852: {
 1853: cat <<_ASUNAME
 1854: ## --------- ##
 1855: ## Platform. ##
 1856: ## --------- ##
 1857: 
 1858: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
 1859: uname -m = `(uname -m) 2>/dev/null || echo unknown`
 1860: uname -r = `(uname -r) 2>/dev/null || echo unknown`
 1861: uname -s = `(uname -s) 2>/dev/null || echo unknown`
 1862: uname -v = `(uname -v) 2>/dev/null || echo unknown`
 1863: 
 1864: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
 1865: /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
 1866: 
 1867: /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
 1868: /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
 1869: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
 1870: /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
 1871: /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
 1872: /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
 1873: /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
 1874: 
 1875: _ASUNAME
 1876: 
 1877: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 1878: for as_dir in $PATH
 1879: do
 1880:   IFS=$as_save_IFS
 1881:   test -z "$as_dir" && as_dir=.
 1882:     $as_echo "PATH: $as_dir"
 1883:   done
 1884: IFS=$as_save_IFS
 1885: 
 1886: } >&5
 1887: 
 1888: cat >&5 <<_ACEOF
 1889: 
 1890: 
 1891: ## ----------- ##
 1892: ## Core tests. ##
 1893: ## ----------- ##
 1894: 
 1895: _ACEOF
 1896: 
 1897: 
 1898: # Keep a trace of the command line.
 1899: # Strip out --no-create and --no-recursion so they do not pile up.
 1900: # Strip out --silent because we don't want to record it for future runs.
 1901: # Also quote any args containing shell meta-characters.
 1902: # Make two passes to allow for proper duplicate-argument suppression.
 1903: ac_configure_args=
 1904: ac_configure_args0=
 1905: ac_configure_args1=
 1906: ac_must_keep_next=false
 1907: for ac_pass in 1 2
 1908: do
 1909:   for ac_arg
 1910:   do
 1911:     case $ac_arg in
 1912:     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
 1913:     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 1914:     | -silent | --silent | --silen | --sile | --sil)
 1915:       continue ;;
 1916:     *\'*)
 1917:       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 1918:     esac
 1919:     case $ac_pass in
 1920:     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
 1921:     2)
 1922:       as_fn_append ac_configure_args1 " '$ac_arg'"
 1923:       if test $ac_must_keep_next = true; then
 1924: 	ac_must_keep_next=false # Got value, back to normal.
 1925:       else
 1926: 	case $ac_arg in
 1927: 	  *=* | --config-cache | -C | -disable-* | --disable-* \
 1928: 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 1929: 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 1930: 	  | -with-* | --with-* | -without-* | --without-* | --x)
 1931: 	    case "$ac_configure_args0 " in
 1932: 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 1933: 	    esac
 1934: 	    ;;
 1935: 	  -* ) ac_must_keep_next=true ;;
 1936: 	esac
 1937:       fi
 1938:       as_fn_append ac_configure_args " '$ac_arg'"
 1939:       ;;
 1940:     esac
 1941:   done
 1942: done
 1943: { ac_configure_args0=; unset ac_configure_args0;}
 1944: { ac_configure_args1=; unset ac_configure_args1;}
 1945: 
 1946: # When interrupted or exit'd, cleanup temporary files, and complete
 1947: # config.log.  We remove comments because anyway the quotes in there
 1948: # would cause problems or look ugly.
 1949: # WARNING: Use '\'' to represent an apostrophe within the trap.
 1950: # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
 1951: trap 'exit_status=$?
 1952:   # Save into config.log some information that might help in debugging.
 1953:   {
 1954:     echo
 1955: 
 1956:     $as_echo "## ---------------- ##
 1957: ## Cache variables. ##
 1958: ## ---------------- ##"
 1959:     echo
 1960:     # The following way of writing the cache mishandles newlines in values,
 1961: (
 1962:   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 1963:     eval ac_val=\$$ac_var
 1964:     case $ac_val in #(
 1965:     *${as_nl}*)
 1966:       case $ac_var in #(
 1967:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 1968: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 1969:       esac
 1970:       case $ac_var in #(
 1971:       _ | IFS | as_nl) ;; #(
 1972:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 1973:       *) { eval $ac_var=; unset $ac_var;} ;;
 1974:       esac ;;
 1975:     esac
 1976:   done
 1977:   (set) 2>&1 |
 1978:     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 1979:     *${as_nl}ac_space=\ *)
 1980:       sed -n \
 1981: 	"s/'\''/'\''\\\\'\'''\''/g;
 1982: 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 1983:       ;; #(
 1984:     *)
 1985:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 1986:       ;;
 1987:     esac |
 1988:     sort
 1989: )
 1990:     echo
 1991: 
 1992:     $as_echo "## ----------------- ##
 1993: ## Output variables. ##
 1994: ## ----------------- ##"
 1995:     echo
 1996:     for ac_var in $ac_subst_vars
 1997:     do
 1998:       eval ac_val=\$$ac_var
 1999:       case $ac_val in
 2000:       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 2001:       esac
 2002:       $as_echo "$ac_var='\''$ac_val'\''"
 2003:     done | sort
 2004:     echo
 2005: 
 2006:     if test -n "$ac_subst_files"; then
 2007:       $as_echo "## ------------------- ##
 2008: ## File substitutions. ##
 2009: ## ------------------- ##"
 2010:       echo
 2011:       for ac_var in $ac_subst_files
 2012:       do
 2013: 	eval ac_val=\$$ac_var
 2014: 	case $ac_val in
 2015: 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 2016: 	esac
 2017: 	$as_echo "$ac_var='\''$ac_val'\''"
 2018:       done | sort
 2019:       echo
 2020:     fi
 2021: 
 2022:     if test -s confdefs.h; then
 2023:       $as_echo "## ----------- ##
 2024: ## confdefs.h. ##
 2025: ## ----------- ##"
 2026:       echo
 2027:       cat confdefs.h
 2028:       echo
 2029:     fi
 2030:     test "$ac_signal" != 0 &&
 2031:       $as_echo "$as_me: caught signal $ac_signal"
 2032:     $as_echo "$as_me: exit $exit_status"
 2033:   } >&5
 2034:   rm -f core *.core core.conftest.* &&
 2035:     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
 2036:     exit $exit_status
 2037: ' 0
 2038: for ac_signal in 1 2 13 15; do
 2039:   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
 2040: done
 2041: ac_signal=0
 2042: 
 2043: # confdefs.h avoids OS command line length limits that DEFS can exceed.
 2044: rm -f -r conftest* confdefs.h
 2045: 
 2046: $as_echo "/* confdefs.h */" > confdefs.h
 2047: 
 2048: # Predefined preprocessor variables.
 2049: 
 2050: cat >>confdefs.h <<_ACEOF
 2051: #define PACKAGE_NAME "$PACKAGE_NAME"
 2052: _ACEOF
 2053: 
 2054: cat >>confdefs.h <<_ACEOF
 2055: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
 2056: _ACEOF
 2057: 
 2058: cat >>confdefs.h <<_ACEOF
 2059: #define PACKAGE_VERSION "$PACKAGE_VERSION"
 2060: _ACEOF
 2061: 
 2062: cat >>confdefs.h <<_ACEOF
 2063: #define PACKAGE_STRING "$PACKAGE_STRING"
 2064: _ACEOF
 2065: 
 2066: cat >>confdefs.h <<_ACEOF
 2067: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
 2068: _ACEOF
 2069: 
 2070: cat >>confdefs.h <<_ACEOF
 2071: #define PACKAGE_URL "$PACKAGE_URL"
 2072: _ACEOF
 2073: 
 2074: 
 2075: # Let the site file select an alternate cache file if it wants to.
 2076: # Prefer an explicitly selected file to automatically selected ones.
 2077: ac_site_file1=NONE
 2078: ac_site_file2=NONE
 2079: if test -n "$CONFIG_SITE"; then
 2080:   # We do not want a PATH search for config.site.
 2081:   case $CONFIG_SITE in #((
 2082:     -*)  ac_site_file1=./$CONFIG_SITE;;
 2083:     */*) ac_site_file1=$CONFIG_SITE;;
 2084:     *)   ac_site_file1=./$CONFIG_SITE;;
 2085:   esac
 2086: elif test "x$prefix" != xNONE; then
 2087:   ac_site_file1=$prefix/share/config.site
 2088:   ac_site_file2=$prefix/etc/config.site
 2089: else
 2090:   ac_site_file1=$ac_default_prefix/share/config.site
 2091:   ac_site_file2=$ac_default_prefix/etc/config.site
 2092: fi
 2093: for ac_site_file in "$ac_site_file1" "$ac_site_file2"
 2094: do
 2095:   test "x$ac_site_file" = xNONE && continue
 2096:   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
 2097:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
 2098: $as_echo "$as_me: loading site script $ac_site_file" >&6;}
 2099:     sed 's/^/| /' "$ac_site_file" >&5
 2100:     . "$ac_site_file" \
 2101:       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 2102: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 2103: as_fn_error $? "failed to load site script $ac_site_file
 2104: See \`config.log' for more details" "$LINENO" 5; }
 2105:   fi
 2106: done
 2107: 
 2108: if test -r "$cache_file"; then
 2109:   # Some versions of bash will fail to source /dev/null (special files
 2110:   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
 2111:   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
 2112:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
 2113: $as_echo "$as_me: loading cache $cache_file" >&6;}
 2114:     case $cache_file in
 2115:       [\\/]* | ?:[\\/]* ) . "$cache_file";;
 2116:       *)                      . "./$cache_file";;
 2117:     esac
 2118:   fi
 2119: else
 2120:   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
 2121: $as_echo "$as_me: creating cache $cache_file" >&6;}
 2122:   >$cache_file
 2123: fi
 2124: 
 2125: # Check that the precious variables saved in the cache have kept the same
 2126: # value.
 2127: ac_cache_corrupted=false
 2128: for ac_var in $ac_precious_vars; do
 2129:   eval ac_old_set=\$ac_cv_env_${ac_var}_set
 2130:   eval ac_new_set=\$ac_env_${ac_var}_set
 2131:   eval ac_old_val=\$ac_cv_env_${ac_var}_value
 2132:   eval ac_new_val=\$ac_env_${ac_var}_value
 2133:   case $ac_old_set,$ac_new_set in
 2134:     set,)
 2135:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 2136: $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 2137:       ac_cache_corrupted=: ;;
 2138:     ,set)
 2139:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
 2140: $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 2141:       ac_cache_corrupted=: ;;
 2142:     ,);;
 2143:     *)
 2144:       if test "x$ac_old_val" != "x$ac_new_val"; then
 2145: 	# differences in whitespace do not lead to failure.
 2146: 	ac_old_val_w=`echo x $ac_old_val`
 2147: 	ac_new_val_w=`echo x $ac_new_val`
 2148: 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
 2149: 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
 2150: $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 2151: 	  ac_cache_corrupted=:
 2152: 	else
 2153: 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 2154: $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 2155: 	  eval $ac_var=\$ac_old_val
 2156: 	fi
 2157: 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
 2158: $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 2159: 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
 2160: $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
 2161:       fi;;
 2162:   esac
 2163:   # Pass precious variables to config.status.
 2164:   if test "$ac_new_set" = set; then
 2165:     case $ac_new_val in
 2166:     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 2167:     *) ac_arg=$ac_var=$ac_new_val ;;
 2168:     esac
 2169:     case " $ac_configure_args " in
 2170:       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
 2171:       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
 2172:     esac
 2173:   fi
 2174: done
 2175: if $ac_cache_corrupted; then
 2176:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 2177: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 2178:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
 2179: $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 2180:   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
 2181: fi
 2182: ## -------------------- ##
 2183: ## Main body of script. ##
 2184: ## -------------------- ##
 2185: 
 2186: ac_ext=c
 2187: ac_cpp='$CPP $CPPFLAGS'
 2188: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 2189: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 2190: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 2191: 
 2192: 
 2193: 
 2194: ac_config_headers="$ac_config_headers inc/config.h"
 2195: 
 2196: 
 2197: ac_cv_func_malloc_0_nonnull="yes"
 2198: ac_cv_func_realloc_0_nonnull="yes"
 2199: 
 2200: # Checks for programs.
 2201: ac_ext=c
 2202: ac_cpp='$CPP $CPPFLAGS'
 2203: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 2204: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 2205: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 2206: if test -n "$ac_tool_prefix"; then
 2207:   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 2208: set dummy ${ac_tool_prefix}gcc; ac_word=$2
 2209: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 2210: $as_echo_n "checking for $ac_word... " >&6; }
 2211: if ${ac_cv_prog_CC+:} false; then :
 2212:   $as_echo_n "(cached) " >&6
 2213: else
 2214:   if test -n "$CC"; then
 2215:   ac_cv_prog_CC="$CC" # Let the user override the test.
 2216: else
 2217: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2218: for as_dir in $PATH
 2219: do
 2220:   IFS=$as_save_IFS
 2221:   test -z "$as_dir" && as_dir=.
 2222:     for ac_exec_ext in '' $ac_executable_extensions; do
 2223:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2224:     ac_cv_prog_CC="${ac_tool_prefix}gcc"
 2225:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 2226:     break 2
 2227:   fi
 2228: done
 2229:   done
 2230: IFS=$as_save_IFS
 2231: 
 2232: fi
 2233: fi
 2234: CC=$ac_cv_prog_CC
 2235: if test -n "$CC"; then
 2236:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 2237: $as_echo "$CC" >&6; }
 2238: else
 2239:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 2240: $as_echo "no" >&6; }
 2241: fi
 2242: 
 2243: 
 2244: fi
 2245: if test -z "$ac_cv_prog_CC"; then
 2246:   ac_ct_CC=$CC
 2247:   # Extract the first word of "gcc", so it can be a program name with args.
 2248: set dummy gcc; ac_word=$2
 2249: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 2250: $as_echo_n "checking for $ac_word... " >&6; }
 2251: if ${ac_cv_prog_ac_ct_CC+:} false; then :
 2252:   $as_echo_n "(cached) " >&6
 2253: else
 2254:   if test -n "$ac_ct_CC"; then
 2255:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 2256: else
 2257: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2258: for as_dir in $PATH
 2259: do
 2260:   IFS=$as_save_IFS
 2261:   test -z "$as_dir" && as_dir=.
 2262:     for ac_exec_ext in '' $ac_executable_extensions; do
 2263:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2264:     ac_cv_prog_ac_ct_CC="gcc"
 2265:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 2266:     break 2
 2267:   fi
 2268: done
 2269:   done
 2270: IFS=$as_save_IFS
 2271: 
 2272: fi
 2273: fi
 2274: ac_ct_CC=$ac_cv_prog_ac_ct_CC
 2275: if test -n "$ac_ct_CC"; then
 2276:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 2277: $as_echo "$ac_ct_CC" >&6; }
 2278: else
 2279:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 2280: $as_echo "no" >&6; }
 2281: fi
 2282: 
 2283:   if test "x$ac_ct_CC" = x; then
 2284:     CC=""
 2285:   else
 2286:     case $cross_compiling:$ac_tool_warned in
 2287: yes:)
 2288: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 2289: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 2290: ac_tool_warned=yes ;;
 2291: esac
 2292:     CC=$ac_ct_CC
 2293:   fi
 2294: else
 2295:   CC="$ac_cv_prog_CC"
 2296: fi
 2297: 
 2298: if test -z "$CC"; then
 2299:           if test -n "$ac_tool_prefix"; then
 2300:     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 2301: set dummy ${ac_tool_prefix}cc; ac_word=$2
 2302: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 2303: $as_echo_n "checking for $ac_word... " >&6; }
 2304: if ${ac_cv_prog_CC+:} false; then :
 2305:   $as_echo_n "(cached) " >&6
 2306: else
 2307:   if test -n "$CC"; then
 2308:   ac_cv_prog_CC="$CC" # Let the user override the test.
 2309: else
 2310: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2311: for as_dir in $PATH
 2312: do
 2313:   IFS=$as_save_IFS
 2314:   test -z "$as_dir" && as_dir=.
 2315:     for ac_exec_ext in '' $ac_executable_extensions; do
 2316:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2317:     ac_cv_prog_CC="${ac_tool_prefix}cc"
 2318:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 2319:     break 2
 2320:   fi
 2321: done
 2322:   done
 2323: IFS=$as_save_IFS
 2324: 
 2325: fi
 2326: fi
 2327: CC=$ac_cv_prog_CC
 2328: if test -n "$CC"; then
 2329:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 2330: $as_echo "$CC" >&6; }
 2331: else
 2332:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 2333: $as_echo "no" >&6; }
 2334: fi
 2335: 
 2336: 
 2337:   fi
 2338: fi
 2339: if test -z "$CC"; then
 2340:   # Extract the first word of "cc", so it can be a program name with args.
 2341: set dummy cc; ac_word=$2
 2342: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 2343: $as_echo_n "checking for $ac_word... " >&6; }
 2344: if ${ac_cv_prog_CC+:} false; then :
 2345:   $as_echo_n "(cached) " >&6
 2346: else
 2347:   if test -n "$CC"; then
 2348:   ac_cv_prog_CC="$CC" # Let the user override the test.
 2349: else
 2350:   ac_prog_rejected=no
 2351: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2352: for as_dir in $PATH
 2353: do
 2354:   IFS=$as_save_IFS
 2355:   test -z "$as_dir" && as_dir=.
 2356:     for ac_exec_ext in '' $ac_executable_extensions; do
 2357:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2358:     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 2359:        ac_prog_rejected=yes
 2360:        continue
 2361:      fi
 2362:     ac_cv_prog_CC="cc"
 2363:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 2364:     break 2
 2365:   fi
 2366: done
 2367:   done
 2368: IFS=$as_save_IFS
 2369: 
 2370: if test $ac_prog_rejected = yes; then
 2371:   # We found a bogon in the path, so make sure we never use it.
 2372:   set dummy $ac_cv_prog_CC
 2373:   shift
 2374:   if test $# != 0; then
 2375:     # We chose a different compiler from the bogus one.
 2376:     # However, it has the same basename, so the bogon will be chosen
 2377:     # first if we set CC to just the basename; use the full file name.
 2378:     shift
 2379:     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 2380:   fi
 2381: fi
 2382: fi
 2383: fi
 2384: CC=$ac_cv_prog_CC
 2385: if test -n "$CC"; then
 2386:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 2387: $as_echo "$CC" >&6; }
 2388: else
 2389:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 2390: $as_echo "no" >&6; }
 2391: fi
 2392: 
 2393: 
 2394: fi
 2395: if test -z "$CC"; then
 2396:   if test -n "$ac_tool_prefix"; then
 2397:   for ac_prog in cl.exe
 2398:   do
 2399:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 2400: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 2401: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 2402: $as_echo_n "checking for $ac_word... " >&6; }
 2403: if ${ac_cv_prog_CC+:} false; then :
 2404:   $as_echo_n "(cached) " >&6
 2405: else
 2406:   if test -n "$CC"; then
 2407:   ac_cv_prog_CC="$CC" # Let the user override the test.
 2408: else
 2409: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2410: for as_dir in $PATH
 2411: do
 2412:   IFS=$as_save_IFS
 2413:   test -z "$as_dir" && as_dir=.
 2414:     for ac_exec_ext in '' $ac_executable_extensions; do
 2415:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2416:     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 2417:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 2418:     break 2
 2419:   fi
 2420: done
 2421:   done
 2422: IFS=$as_save_IFS
 2423: 
 2424: fi
 2425: fi
 2426: CC=$ac_cv_prog_CC
 2427: if test -n "$CC"; then
 2428:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 2429: $as_echo "$CC" >&6; }
 2430: else
 2431:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 2432: $as_echo "no" >&6; }
 2433: fi
 2434: 
 2435: 
 2436:     test -n "$CC" && break
 2437:   done
 2438: fi
 2439: if test -z "$CC"; then
 2440:   ac_ct_CC=$CC
 2441:   for ac_prog in cl.exe
 2442: do
 2443:   # Extract the first word of "$ac_prog", so it can be a program name with args.
 2444: set dummy $ac_prog; ac_word=$2
 2445: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 2446: $as_echo_n "checking for $ac_word... " >&6; }
 2447: if ${ac_cv_prog_ac_ct_CC+:} false; then :
 2448:   $as_echo_n "(cached) " >&6
 2449: else
 2450:   if test -n "$ac_ct_CC"; then
 2451:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 2452: else
 2453: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2454: for as_dir in $PATH
 2455: do
 2456:   IFS=$as_save_IFS
 2457:   test -z "$as_dir" && as_dir=.
 2458:     for ac_exec_ext in '' $ac_executable_extensions; do
 2459:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2460:     ac_cv_prog_ac_ct_CC="$ac_prog"
 2461:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 2462:     break 2
 2463:   fi
 2464: done
 2465:   done
 2466: IFS=$as_save_IFS
 2467: 
 2468: fi
 2469: fi
 2470: ac_ct_CC=$ac_cv_prog_ac_ct_CC
 2471: if test -n "$ac_ct_CC"; then
 2472:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 2473: $as_echo "$ac_ct_CC" >&6; }
 2474: else
 2475:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 2476: $as_echo "no" >&6; }
 2477: fi
 2478: 
 2479: 
 2480:   test -n "$ac_ct_CC" && break
 2481: done
 2482: 
 2483:   if test "x$ac_ct_CC" = x; then
 2484:     CC=""
 2485:   else
 2486:     case $cross_compiling:$ac_tool_warned in
 2487: yes:)
 2488: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 2489: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 2490: ac_tool_warned=yes ;;
 2491: esac
 2492:     CC=$ac_ct_CC
 2493:   fi
 2494: fi
 2495: 
 2496: fi
 2497: 
 2498: 
 2499: test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 2500: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 2501: as_fn_error $? "no acceptable C compiler found in \$PATH
 2502: See \`config.log' for more details" "$LINENO" 5; }
 2503: 
 2504: # Provide some information about the compiler.
 2505: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
 2506: set X $ac_compile
 2507: ac_compiler=$2
 2508: for ac_option in --version -v -V -qversion; do
 2509:   { { ac_try="$ac_compiler $ac_option >&5"
 2510: case "(($ac_try" in
 2511:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 2512:   *) ac_try_echo=$ac_try;;
 2513: esac
 2514: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 2515: $as_echo "$ac_try_echo"; } >&5
 2516:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 2517:   ac_status=$?
 2518:   if test -s conftest.err; then
 2519:     sed '10a\
 2520: ... rest of stderr output deleted ...
 2521:          10q' conftest.err >conftest.er1
 2522:     cat conftest.er1 >&5
 2523:   fi
 2524:   rm -f conftest.er1 conftest.err
 2525:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 2526:   test $ac_status = 0; }
 2527: done
 2528: 
 2529: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2530: /* end confdefs.h.  */
 2531: 
 2532: int
 2533: main ()
 2534: {
 2535: 
 2536:   ;
 2537:   return 0;
 2538: }
 2539: _ACEOF
 2540: ac_clean_files_save=$ac_clean_files
 2541: ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
 2542: # Try to create an executable without -o first, disregard a.out.
 2543: # It will help us diagnose broken compilers, and finding out an intuition
 2544: # of exeext.
 2545: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
 2546: $as_echo_n "checking whether the C compiler works... " >&6; }
 2547: ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 2548: 
 2549: # The possible output files:
 2550: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 2551: 
 2552: ac_rmfiles=
 2553: for ac_file in $ac_files
 2554: do
 2555:   case $ac_file in
 2556:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 2557:     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 2558:   esac
 2559: done
 2560: rm -f $ac_rmfiles
 2561: 
 2562: if { { ac_try="$ac_link_default"
 2563: case "(($ac_try" in
 2564:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 2565:   *) ac_try_echo=$ac_try;;
 2566: esac
 2567: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 2568: $as_echo "$ac_try_echo"; } >&5
 2569:   (eval "$ac_link_default") 2>&5
 2570:   ac_status=$?
 2571:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 2572:   test $ac_status = 0; }; then :
 2573:   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 2574: # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 2575: # in a Makefile.  We should not override ac_cv_exeext if it was cached,
 2576: # so that the user can short-circuit this test for compilers unknown to
 2577: # Autoconf.
 2578: for ac_file in $ac_files ''
 2579: do
 2580:   test -f "$ac_file" || continue
 2581:   case $ac_file in
 2582:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
 2583: 	;;
 2584:     [ab].out )
 2585: 	# We found the default executable, but exeext='' is most
 2586: 	# certainly right.
 2587: 	break;;
 2588:     *.* )
 2589: 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 2590: 	then :; else
 2591: 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 2592: 	fi
 2593: 	# We set ac_cv_exeext here because the later test for it is not
 2594: 	# safe: cross compilers may not add the suffix if given an `-o'
 2595: 	# argument, so we may need to know it at that point already.
 2596: 	# Even if this section looks crufty: it has the advantage of
 2597: 	# actually working.
 2598: 	break;;
 2599:     * )
 2600: 	break;;
 2601:   esac
 2602: done
 2603: test "$ac_cv_exeext" = no && ac_cv_exeext=
 2604: 
 2605: else
 2606:   ac_file=''
 2607: fi
 2608: if test -z "$ac_file"; then :
 2609:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 2610: $as_echo "no" >&6; }
 2611: $as_echo "$as_me: failed program was:" >&5
 2612: sed 's/^/| /' conftest.$ac_ext >&5
 2613: 
 2614: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 2615: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 2616: as_fn_error 77 "C compiler cannot create executables
 2617: See \`config.log' for more details" "$LINENO" 5; }
 2618: else
 2619:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 2620: $as_echo "yes" >&6; }
 2621: fi
 2622: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
 2623: $as_echo_n "checking for C compiler default output file name... " >&6; }
 2624: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
 2625: $as_echo "$ac_file" >&6; }
 2626: ac_exeext=$ac_cv_exeext
 2627: 
 2628: rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
 2629: ac_clean_files=$ac_clean_files_save
 2630: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
 2631: $as_echo_n "checking for suffix of executables... " >&6; }
 2632: if { { ac_try="$ac_link"
 2633: case "(($ac_try" in
 2634:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 2635:   *) ac_try_echo=$ac_try;;
 2636: esac
 2637: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 2638: $as_echo "$ac_try_echo"; } >&5
 2639:   (eval "$ac_link") 2>&5
 2640:   ac_status=$?
 2641:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 2642:   test $ac_status = 0; }; then :
 2643:   # If both `conftest.exe' and `conftest' are `present' (well, observable)
 2644: # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
 2645: # work properly (i.e., refer to `conftest.exe'), while it won't with
 2646: # `rm'.
 2647: for ac_file in conftest.exe conftest conftest.*; do
 2648:   test -f "$ac_file" || continue
 2649:   case $ac_file in
 2650:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 2651:     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 2652: 	  break;;
 2653:     * ) break;;
 2654:   esac
 2655: done
 2656: else
 2657:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 2658: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 2659: as_fn_error $? "cannot compute suffix of executables: cannot compile and link
 2660: See \`config.log' for more details" "$LINENO" 5; }
 2661: fi
 2662: rm -f conftest conftest$ac_cv_exeext
 2663: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
 2664: $as_echo "$ac_cv_exeext" >&6; }
 2665: 
 2666: rm -f conftest.$ac_ext
 2667: EXEEXT=$ac_cv_exeext
 2668: ac_exeext=$EXEEXT
 2669: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2670: /* end confdefs.h.  */
 2671: #include <stdio.h>
 2672: int
 2673: main ()
 2674: {
 2675: FILE *f = fopen ("conftest.out", "w");
 2676:  return ferror (f) || fclose (f) != 0;
 2677: 
 2678:   ;
 2679:   return 0;
 2680: }
 2681: _ACEOF
 2682: ac_clean_files="$ac_clean_files conftest.out"
 2683: # Check that the compiler produces executables we can run.  If not, either
 2684: # the compiler is broken, or we cross compile.
 2685: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 2686: $as_echo_n "checking whether we are cross compiling... " >&6; }
 2687: if test "$cross_compiling" != yes; then
 2688:   { { ac_try="$ac_link"
 2689: case "(($ac_try" in
 2690:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 2691:   *) ac_try_echo=$ac_try;;
 2692: esac
 2693: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 2694: $as_echo "$ac_try_echo"; } >&5
 2695:   (eval "$ac_link") 2>&5
 2696:   ac_status=$?
 2697:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 2698:   test $ac_status = 0; }
 2699:   if { ac_try='./conftest$ac_cv_exeext'
 2700:   { { case "(($ac_try" in
 2701:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 2702:   *) ac_try_echo=$ac_try;;
 2703: esac
 2704: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 2705: $as_echo "$ac_try_echo"; } >&5
 2706:   (eval "$ac_try") 2>&5
 2707:   ac_status=$?
 2708:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 2709:   test $ac_status = 0; }; }; then
 2710:     cross_compiling=no
 2711:   else
 2712:     if test "$cross_compiling" = maybe; then
 2713: 	cross_compiling=yes
 2714:     else
 2715: 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 2716: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 2717: as_fn_error $? "cannot run C compiled programs.
 2718: If you meant to cross compile, use \`--host'.
 2719: See \`config.log' for more details" "$LINENO" 5; }
 2720:     fi
 2721:   fi
 2722: fi
 2723: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 2724: $as_echo "$cross_compiling" >&6; }
 2725: 
 2726: rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
 2727: ac_clean_files=$ac_clean_files_save
 2728: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
 2729: $as_echo_n "checking for suffix of object files... " >&6; }
 2730: if ${ac_cv_objext+:} false; then :
 2731:   $as_echo_n "(cached) " >&6
 2732: else
 2733:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2734: /* end confdefs.h.  */
 2735: 
 2736: int
 2737: main ()
 2738: {
 2739: 
 2740:   ;
 2741:   return 0;
 2742: }
 2743: _ACEOF
 2744: rm -f conftest.o conftest.obj
 2745: if { { ac_try="$ac_compile"
 2746: case "(($ac_try" in
 2747:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 2748:   *) ac_try_echo=$ac_try;;
 2749: esac
 2750: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 2751: $as_echo "$ac_try_echo"; } >&5
 2752:   (eval "$ac_compile") 2>&5
 2753:   ac_status=$?
 2754:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 2755:   test $ac_status = 0; }; then :
 2756:   for ac_file in conftest.o conftest.obj conftest.*; do
 2757:   test -f "$ac_file" || continue;
 2758:   case $ac_file in
 2759:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
 2760:     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
 2761:        break;;
 2762:   esac
 2763: done
 2764: else
 2765:   $as_echo "$as_me: failed program was:" >&5
 2766: sed 's/^/| /' conftest.$ac_ext >&5
 2767: 
 2768: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 2769: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 2770: as_fn_error $? "cannot compute suffix of object files: cannot compile
 2771: See \`config.log' for more details" "$LINENO" 5; }
 2772: fi
 2773: rm -f conftest.$ac_cv_objext conftest.$ac_ext
 2774: fi
 2775: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
 2776: $as_echo "$ac_cv_objext" >&6; }
 2777: OBJEXT=$ac_cv_objext
 2778: ac_objext=$OBJEXT
 2779: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 2780: $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 2781: if ${ac_cv_c_compiler_gnu+:} false; then :
 2782:   $as_echo_n "(cached) " >&6
 2783: else
 2784:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2785: /* end confdefs.h.  */
 2786: 
 2787: int
 2788: main ()
 2789: {
 2790: #ifndef __GNUC__
 2791:        choke me
 2792: #endif
 2793: 
 2794:   ;
 2795:   return 0;
 2796: }
 2797: _ACEOF
 2798: if ac_fn_c_try_compile "$LINENO"; then :
 2799:   ac_compiler_gnu=yes
 2800: else
 2801:   ac_compiler_gnu=no
 2802: fi
 2803: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2804: ac_cv_c_compiler_gnu=$ac_compiler_gnu
 2805: 
 2806: fi
 2807: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
 2808: $as_echo "$ac_cv_c_compiler_gnu" >&6; }
 2809: if test $ac_compiler_gnu = yes; then
 2810:   GCC=yes
 2811: else
 2812:   GCC=
 2813: fi
 2814: ac_test_CFLAGS=${CFLAGS+set}
 2815: ac_save_CFLAGS=$CFLAGS
 2816: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 2817: $as_echo_n "checking whether $CC accepts -g... " >&6; }
 2818: if ${ac_cv_prog_cc_g+:} false; then :
 2819:   $as_echo_n "(cached) " >&6
 2820: else
 2821:   ac_save_c_werror_flag=$ac_c_werror_flag
 2822:    ac_c_werror_flag=yes
 2823:    ac_cv_prog_cc_g=no
 2824:    CFLAGS="-g"
 2825:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2826: /* end confdefs.h.  */
 2827: 
 2828: int
 2829: main ()
 2830: {
 2831: 
 2832:   ;
 2833:   return 0;
 2834: }
 2835: _ACEOF
 2836: if ac_fn_c_try_compile "$LINENO"; then :
 2837:   ac_cv_prog_cc_g=yes
 2838: else
 2839:   CFLAGS=""
 2840:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2841: /* end confdefs.h.  */
 2842: 
 2843: int
 2844: main ()
 2845: {
 2846: 
 2847:   ;
 2848:   return 0;
 2849: }
 2850: _ACEOF
 2851: if ac_fn_c_try_compile "$LINENO"; then :
 2852: 
 2853: else
 2854:   ac_c_werror_flag=$ac_save_c_werror_flag
 2855: 	 CFLAGS="-g"
 2856: 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2857: /* end confdefs.h.  */
 2858: 
 2859: int
 2860: main ()
 2861: {
 2862: 
 2863:   ;
 2864:   return 0;
 2865: }
 2866: _ACEOF
 2867: if ac_fn_c_try_compile "$LINENO"; then :
 2868:   ac_cv_prog_cc_g=yes
 2869: fi
 2870: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2871: fi
 2872: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2873: fi
 2874: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 2875:    ac_c_werror_flag=$ac_save_c_werror_flag
 2876: fi
 2877: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
 2878: $as_echo "$ac_cv_prog_cc_g" >&6; }
 2879: if test "$ac_test_CFLAGS" = set; then
 2880:   CFLAGS=$ac_save_CFLAGS
 2881: elif test $ac_cv_prog_cc_g = yes; then
 2882:   if test "$GCC" = yes; then
 2883:     CFLAGS="-g -O2"
 2884:   else
 2885:     CFLAGS="-g"
 2886:   fi
 2887: else
 2888:   if test "$GCC" = yes; then
 2889:     CFLAGS="-O2"
 2890:   else
 2891:     CFLAGS=
 2892:   fi
 2893: fi
 2894: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 2895: $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 2896: if ${ac_cv_prog_cc_c89+:} false; then :
 2897:   $as_echo_n "(cached) " >&6
 2898: else
 2899:   ac_cv_prog_cc_c89=no
 2900: ac_save_CC=$CC
 2901: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 2902: /* end confdefs.h.  */
 2903: #include <stdarg.h>
 2904: #include <stdio.h>
 2905: struct stat;
 2906: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 2907: struct buf { int x; };
 2908: FILE * (*rcsopen) (struct buf *, struct stat *, int);
 2909: static char *e (p, i)
 2910:      char **p;
 2911:      int i;
 2912: {
 2913:   return p[i];
 2914: }
 2915: static char *f (char * (*g) (char **, int), char **p, ...)
 2916: {
 2917:   char *s;
 2918:   va_list v;
 2919:   va_start (v,p);
 2920:   s = g (p, va_arg (v,int));
 2921:   va_end (v);
 2922:   return s;
 2923: }
 2924: 
 2925: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 2926:    function prototypes and stuff, but not '\xHH' hex character constants.
 2927:    These don't provoke an error unfortunately, instead are silently treated
 2928:    as 'x'.  The following induces an error, until -std is added to get
 2929:    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 2930:    array size at least.  It's necessary to write '\x00'==0 to get something
 2931:    that's true only with -std.  */
 2932: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 2933: 
 2934: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 2935:    inside strings and character constants.  */
 2936: #define FOO(x) 'x'
 2937: int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 2938: 
 2939: int test (int i, double x);
 2940: struct s1 {int (*f) (int a);};
 2941: struct s2 {int (*f) (double a);};
 2942: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 2943: int argc;
 2944: char **argv;
 2945: int
 2946: main ()
 2947: {
 2948: return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 2949:   ;
 2950:   return 0;
 2951: }
 2952: _ACEOF
 2953: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 2954: 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 2955: do
 2956:   CC="$ac_save_CC $ac_arg"
 2957:   if ac_fn_c_try_compile "$LINENO"; then :
 2958:   ac_cv_prog_cc_c89=$ac_arg
 2959: fi
 2960: rm -f core conftest.err conftest.$ac_objext
 2961:   test "x$ac_cv_prog_cc_c89" != "xno" && break
 2962: done
 2963: rm -f conftest.$ac_ext
 2964: CC=$ac_save_CC
 2965: 
 2966: fi
 2967: # AC_CACHE_VAL
 2968: case "x$ac_cv_prog_cc_c89" in
 2969:   x)
 2970:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 2971: $as_echo "none needed" >&6; } ;;
 2972:   xno)
 2973:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 2974: $as_echo "unsupported" >&6; } ;;
 2975:   *)
 2976:     CC="$CC $ac_cv_prog_cc_c89"
 2977:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
 2978: $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
 2979: esac
 2980: if test "x$ac_cv_prog_cc_c89" != xno; then :
 2981: 
 2982: fi
 2983: 
 2984: ac_ext=c
 2985: ac_cpp='$CPP $CPPFLAGS'
 2986: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 2987: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 2988: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 2989: 
 2990: ac_aux_dir=
 2991: for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
 2992:   if test -f "$ac_dir/install-sh"; then
 2993:     ac_aux_dir=$ac_dir
 2994:     ac_install_sh="$ac_aux_dir/install-sh -c"
 2995:     break
 2996:   elif test -f "$ac_dir/install.sh"; then
 2997:     ac_aux_dir=$ac_dir
 2998:     ac_install_sh="$ac_aux_dir/install.sh -c"
 2999:     break
 3000:   elif test -f "$ac_dir/shtool"; then
 3001:     ac_aux_dir=$ac_dir
 3002:     ac_install_sh="$ac_aux_dir/shtool install -c"
 3003:     break
 3004:   fi
 3005: done
 3006: if test -z "$ac_aux_dir"; then
 3007:   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
 3008: fi
 3009: 
 3010: # These three variables are undocumented and unsupported,
 3011: # and are intended to be withdrawn in a future Autoconf release.
 3012: # They can cause serious problems if a builder's source tree is in a directory
 3013: # whose full name contains unusual characters.
 3014: ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 3015: ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 3016: ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 3017: 
 3018: 
 3019: # Find a good install program.  We prefer a C program (faster),
 3020: # so one script is as good as another.  But avoid the broken or
 3021: # incompatible versions:
 3022: # SysV /etc/install, /usr/sbin/install
 3023: # SunOS /usr/etc/install
 3024: # IRIX /sbin/install
 3025: # AIX /bin/install
 3026: # AmigaOS /C/install, which installs bootblocks on floppy discs
 3027: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 3028: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
 3029: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 3030: # OS/2's system install, which has a completely different semantic
 3031: # ./install, which can be erroneously created by make from ./install.sh.
 3032: # Reject install programs that cannot install multiple files.
 3033: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
 3034: $as_echo_n "checking for a BSD-compatible install... " >&6; }
 3035: if test -z "$INSTALL"; then
 3036: if ${ac_cv_path_install+:} false; then :
 3037:   $as_echo_n "(cached) " >&6
 3038: else
 3039:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3040: for as_dir in $PATH
 3041: do
 3042:   IFS=$as_save_IFS
 3043:   test -z "$as_dir" && as_dir=.
 3044:     # Account for people who put trailing slashes in PATH elements.
 3045: case $as_dir/ in #((
 3046:   ./ | .// | /[cC]/* | \
 3047:   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 3048:   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
 3049:   /usr/ucb/* ) ;;
 3050:   *)
 3051:     # OSF1 and SCO ODT 3.0 have their own names for install.
 3052:     # Don't use installbsd from OSF since it installs stuff as root
 3053:     # by default.
 3054:     for ac_prog in ginstall scoinst install; do
 3055:       for ac_exec_ext in '' $ac_executable_extensions; do
 3056: 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 3057: 	  if test $ac_prog = install &&
 3058: 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 3059: 	    # AIX install.  It has an incompatible calling convention.
 3060: 	    :
 3061: 	  elif test $ac_prog = install &&
 3062: 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 3063: 	    # program-specific install script used by HP pwplus--don't use.
 3064: 	    :
 3065: 	  else
 3066: 	    rm -rf conftest.one conftest.two conftest.dir
 3067: 	    echo one > conftest.one
 3068: 	    echo two > conftest.two
 3069: 	    mkdir conftest.dir
 3070: 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 3071: 	      test -s conftest.one && test -s conftest.two &&
 3072: 	      test -s conftest.dir/conftest.one &&
 3073: 	      test -s conftest.dir/conftest.two
 3074: 	    then
 3075: 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 3076: 	      break 3
 3077: 	    fi
 3078: 	  fi
 3079: 	fi
 3080:       done
 3081:     done
 3082:     ;;
 3083: esac
 3084: 
 3085:   done
 3086: IFS=$as_save_IFS
 3087: 
 3088: rm -rf conftest.one conftest.two conftest.dir
 3089: 
 3090: fi
 3091:   if test "${ac_cv_path_install+set}" = set; then
 3092:     INSTALL=$ac_cv_path_install
 3093:   else
 3094:     # As a last resort, use the slow shell script.  Don't cache a
 3095:     # value for INSTALL within a source directory, because that will
 3096:     # break other packages using the cache if that directory is
 3097:     # removed, or if the value is a relative name.
 3098:     INSTALL=$ac_install_sh
 3099:   fi
 3100: fi
 3101: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
 3102: $as_echo "$INSTALL" >&6; }
 3103: 
 3104: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 3105: # It thinks the first close brace ends the variable substitution.
 3106: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 3107: 
 3108: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 3109: 
 3110: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 3111: 
 3112: if test -n "$ac_tool_prefix"; then
 3113:   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 3114: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 3115: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3116: $as_echo_n "checking for $ac_word... " >&6; }
 3117: if ${ac_cv_prog_RANLIB+:} false; then :
 3118:   $as_echo_n "(cached) " >&6
 3119: else
 3120:   if test -n "$RANLIB"; then
 3121:   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 3122: else
 3123: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3124: for as_dir in $PATH
 3125: do
 3126:   IFS=$as_save_IFS
 3127:   test -z "$as_dir" && as_dir=.
 3128:     for ac_exec_ext in '' $ac_executable_extensions; do
 3129:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 3130:     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 3131:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3132:     break 2
 3133:   fi
 3134: done
 3135:   done
 3136: IFS=$as_save_IFS
 3137: 
 3138: fi
 3139: fi
 3140: RANLIB=$ac_cv_prog_RANLIB
 3141: if test -n "$RANLIB"; then
 3142:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
 3143: $as_echo "$RANLIB" >&6; }
 3144: else
 3145:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3146: $as_echo "no" >&6; }
 3147: fi
 3148: 
 3149: 
 3150: fi
 3151: if test -z "$ac_cv_prog_RANLIB"; then
 3152:   ac_ct_RANLIB=$RANLIB
 3153:   # Extract the first word of "ranlib", so it can be a program name with args.
 3154: set dummy ranlib; ac_word=$2
 3155: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3156: $as_echo_n "checking for $ac_word... " >&6; }
 3157: if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
 3158:   $as_echo_n "(cached) " >&6
 3159: else
 3160:   if test -n "$ac_ct_RANLIB"; then
 3161:   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 3162: else
 3163: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3164: for as_dir in $PATH
 3165: do
 3166:   IFS=$as_save_IFS
 3167:   test -z "$as_dir" && as_dir=.
 3168:     for ac_exec_ext in '' $ac_executable_extensions; do
 3169:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 3170:     ac_cv_prog_ac_ct_RANLIB="ranlib"
 3171:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3172:     break 2
 3173:   fi
 3174: done
 3175:   done
 3176: IFS=$as_save_IFS
 3177: 
 3178: fi
 3179: fi
 3180: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 3181: if test -n "$ac_ct_RANLIB"; then
 3182:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
 3183: $as_echo "$ac_ct_RANLIB" >&6; }
 3184: else
 3185:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3186: $as_echo "no" >&6; }
 3187: fi
 3188: 
 3189:   if test "x$ac_ct_RANLIB" = x; then
 3190:     RANLIB=":"
 3191:   else
 3192:     case $cross_compiling:$ac_tool_warned in
 3193: yes:)
 3194: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 3195: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 3196: ac_tool_warned=yes ;;
 3197: esac
 3198:     RANLIB=$ac_ct_RANLIB
 3199:   fi
 3200: else
 3201:   RANLIB="$ac_cv_prog_RANLIB"
 3202: fi
 3203: 
 3204: 
 3205: # Make sure we can run config.sub.
 3206: $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 3207:   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
 3208: 
 3209: { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
 3210: $as_echo_n "checking build system type... " >&6; }
 3211: if ${ac_cv_build+:} false; then :
 3212:   $as_echo_n "(cached) " >&6
 3213: else
 3214:   ac_build_alias=$build_alias
 3215: test "x$ac_build_alias" = x &&
 3216:   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 3217: test "x$ac_build_alias" = x &&
 3218:   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
 3219: ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 3220:   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
 3221: 
 3222: fi
 3223: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
 3224: $as_echo "$ac_cv_build" >&6; }
 3225: case $ac_cv_build in
 3226: *-*-*) ;;
 3227: *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
 3228: esac
 3229: build=$ac_cv_build
 3230: ac_save_IFS=$IFS; IFS='-'
 3231: set x $ac_cv_build
 3232: shift
 3233: build_cpu=$1
 3234: build_vendor=$2
 3235: shift; shift
 3236: # Remember, the first character of IFS is used to create $*,
 3237: # except with old shells:
 3238: build_os=$*
 3239: IFS=$ac_save_IFS
 3240: case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 3241: 
 3242: 
 3243: { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
 3244: $as_echo_n "checking host system type... " >&6; }
 3245: if ${ac_cv_host+:} false; then :
 3246:   $as_echo_n "(cached) " >&6
 3247: else
 3248:   if test "x$host_alias" = x; then
 3249:   ac_cv_host=$ac_cv_build
 3250: else
 3251:   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 3252:     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
 3253: fi
 3254: 
 3255: fi
 3256: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
 3257: $as_echo "$ac_cv_host" >&6; }
 3258: case $ac_cv_host in
 3259: *-*-*) ;;
 3260: *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
 3261: esac
 3262: host=$ac_cv_host
 3263: ac_save_IFS=$IFS; IFS='-'
 3264: set x $ac_cv_host
 3265: shift
 3266: host_cpu=$1
 3267: host_vendor=$2
 3268: shift; shift
 3269: # Remember, the first character of IFS is used to create $*,
 3270: # except with old shells:
 3271: host_os=$*
 3272: IFS=$ac_save_IFS
 3273: case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 3274: 
 3275: 
 3276: { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
 3277: $as_echo_n "checking target system type... " >&6; }
 3278: if ${ac_cv_target+:} false; then :
 3279:   $as_echo_n "(cached) " >&6
 3280: else
 3281:   if test "x$target_alias" = x; then
 3282:   ac_cv_target=$ac_cv_host
 3283: else
 3284:   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
 3285:     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
 3286: fi
 3287: 
 3288: fi
 3289: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
 3290: $as_echo "$ac_cv_target" >&6; }
 3291: case $ac_cv_target in
 3292: *-*-*) ;;
 3293: *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
 3294: esac
 3295: target=$ac_cv_target
 3296: ac_save_IFS=$IFS; IFS='-'
 3297: set x $ac_cv_target
 3298: shift
 3299: target_cpu=$1
 3300: target_vendor=$2
 3301: shift; shift
 3302: # Remember, the first character of IFS is used to create $*,
 3303: # except with old shells:
 3304: target_os=$*
 3305: IFS=$ac_save_IFS
 3306: case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
 3307: 
 3308: 
 3309: # The aliases save the names the user supplied, while $host etc.
 3310: # will get canonicalized.
 3311: test -n "$target_alias" &&
 3312:   test "$program_prefix$program_suffix$program_transform_name" = \
 3313:     NONENONEs,x,x, &&
 3314:   program_prefix=${target_alias}-
 3315: 
 3316: if test -n "$ac_tool_prefix"; then
 3317:   # Extract the first word of "${ac_tool_prefix}mkdep", so it can be a program name with args.
 3318: set dummy ${ac_tool_prefix}mkdep; ac_word=$2
 3319: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3320: $as_echo_n "checking for $ac_word... " >&6; }
 3321: if ${ac_cv_prog_MKDEP+:} false; then :
 3322:   $as_echo_n "(cached) " >&6
 3323: else
 3324:   if test -n "$MKDEP"; then
 3325:   ac_cv_prog_MKDEP="$MKDEP" # Let the user override the test.
 3326: else
 3327: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3328: for as_dir in $PATH
 3329: do
 3330:   IFS=$as_save_IFS
 3331:   test -z "$as_dir" && as_dir=.
 3332:     for ac_exec_ext in '' $ac_executable_extensions; do
 3333:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 3334:     ac_cv_prog_MKDEP="${ac_tool_prefix}mkdep"
 3335:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3336:     break 2
 3337:   fi
 3338: done
 3339:   done
 3340: IFS=$as_save_IFS
 3341: 
 3342: fi
 3343: fi
 3344: MKDEP=$ac_cv_prog_MKDEP
 3345: if test -n "$MKDEP"; then
 3346:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDEP" >&5
 3347: $as_echo "$MKDEP" >&6; }
 3348: else
 3349:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3350: $as_echo "no" >&6; }
 3351: fi
 3352: 
 3353: 
 3354: fi
 3355: if test -z "$ac_cv_prog_MKDEP"; then
 3356:   ac_ct_MKDEP=$MKDEP
 3357:   # Extract the first word of "mkdep", so it can be a program name with args.
 3358: set dummy mkdep; ac_word=$2
 3359: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3360: $as_echo_n "checking for $ac_word... " >&6; }
 3361: if ${ac_cv_prog_ac_ct_MKDEP+:} false; then :
 3362:   $as_echo_n "(cached) " >&6
 3363: else
 3364:   if test -n "$ac_ct_MKDEP"; then
 3365:   ac_cv_prog_ac_ct_MKDEP="$ac_ct_MKDEP" # Let the user override the test.
 3366: else
 3367: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3368: for as_dir in $PATH
 3369: do
 3370:   IFS=$as_save_IFS
 3371:   test -z "$as_dir" && as_dir=.
 3372:     for ac_exec_ext in '' $ac_executable_extensions; do
 3373:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 3374:     ac_cv_prog_ac_ct_MKDEP="mkdep"
 3375:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3376:     break 2
 3377:   fi
 3378: done
 3379:   done
 3380: IFS=$as_save_IFS
 3381: 
 3382: fi
 3383: fi
 3384: ac_ct_MKDEP=$ac_cv_prog_ac_ct_MKDEP
 3385: if test -n "$ac_ct_MKDEP"; then
 3386:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MKDEP" >&5
 3387: $as_echo "$ac_ct_MKDEP" >&6; }
 3388: else
 3389:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3390: $as_echo "no" >&6; }
 3391: fi
 3392: 
 3393:   if test "x$ac_ct_MKDEP" = x; then
 3394:     MKDEP="../mkdep"
 3395:   else
 3396:     case $cross_compiling:$ac_tool_warned in
 3397: yes:)
 3398: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 3399: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 3400: ac_tool_warned=yes ;;
 3401: esac
 3402:     MKDEP=$ac_ct_MKDEP
 3403:   fi
 3404: else
 3405:   MKDEP="$ac_cv_prog_MKDEP"
 3406: fi
 3407: 
 3408: 
 3409: 
 3410: CFLAGS="-Wall -O2 -fPIC ${CFLAGS}"
 3411: LDFLAGS="${LDFLAGS}"
 3412: 
 3413: 
 3414: # Checks for libraries.
 3415: 
 3416: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
 3417: $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
 3418: if ${ac_cv_lib_pthread_pthread_create+:} false; then :
 3419:   $as_echo_n "(cached) " >&6
 3420: else
 3421:   ac_check_lib_save_LIBS=$LIBS
 3422: LIBS="-lpthread  $LIBS"
 3423: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3424: /* end confdefs.h.  */
 3425: 
 3426: /* Override any GCC internal prototype to avoid an error.
 3427:    Use char because int might match the return type of a GCC
 3428:    builtin and then its argument prototype would still apply.  */
 3429: #ifdef __cplusplus
 3430: extern "C"
 3431: #endif
 3432: char pthread_create ();
 3433: int
 3434: main ()
 3435: {
 3436: return pthread_create ();
 3437:   ;
 3438:   return 0;
 3439: }
 3440: _ACEOF
 3441: if ac_fn_c_try_link "$LINENO"; then :
 3442:   ac_cv_lib_pthread_pthread_create=yes
 3443: else
 3444:   ac_cv_lib_pthread_pthread_create=no
 3445: fi
 3446: rm -f core conftest.err conftest.$ac_objext \
 3447:     conftest$ac_exeext conftest.$ac_ext
 3448: LIBS=$ac_check_lib_save_LIBS
 3449: fi
 3450: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
 3451: $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
 3452: if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
 3453:   cat >>confdefs.h <<_ACEOF
 3454: #define HAVE_LIBPTHREAD 1
 3455: _ACEOF
 3456: 
 3457:   LIBS="-lpthread $LIBS"
 3458: 
 3459: fi
 3460: 
 3461: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for aio_read in -lrt" >&5
 3462: $as_echo_n "checking for aio_read in -lrt... " >&6; }
 3463: if ${ac_cv_lib_rt_aio_read+:} false; then :
 3464:   $as_echo_n "(cached) " >&6
 3465: else
 3466:   ac_check_lib_save_LIBS=$LIBS
 3467: LIBS="-lrt  $LIBS"
 3468: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3469: /* end confdefs.h.  */
 3470: 
 3471: /* Override any GCC internal prototype to avoid an error.
 3472:    Use char because int might match the return type of a GCC
 3473:    builtin and then its argument prototype would still apply.  */
 3474: #ifdef __cplusplus
 3475: extern "C"
 3476: #endif
 3477: char aio_read ();
 3478: int
 3479: main ()
 3480: {
 3481: return aio_read ();
 3482:   ;
 3483:   return 0;
 3484: }
 3485: _ACEOF
 3486: if ac_fn_c_try_link "$LINENO"; then :
 3487:   ac_cv_lib_rt_aio_read=yes
 3488: else
 3489:   ac_cv_lib_rt_aio_read=no
 3490: fi
 3491: rm -f core conftest.err conftest.$ac_objext \
 3492:     conftest$ac_exeext conftest.$ac_ext
 3493: LIBS=$ac_check_lib_save_LIBS
 3494: fi
 3495: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_aio_read" >&5
 3496: $as_echo "$ac_cv_lib_rt_aio_read" >&6; }
 3497: if test "x$ac_cv_lib_rt_aio_read" = xyes; then :
 3498:   cat >>confdefs.h <<_ACEOF
 3499: #define HAVE_LIBRT 1
 3500: _ACEOF
 3501: 
 3502:   LIBS="-lrt $LIBS"
 3503: 
 3504: fi
 3505: 
 3506: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strlcpy in -lbsd" >&5
 3507: $as_echo_n "checking for strlcpy in -lbsd... " >&6; }
 3508: if ${ac_cv_lib_bsd_strlcpy+:} false; then :
 3509:   $as_echo_n "(cached) " >&6
 3510: else
 3511:   ac_check_lib_save_LIBS=$LIBS
 3512: LIBS="-lbsd  $LIBS"
 3513: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3514: /* end confdefs.h.  */
 3515: 
 3516: /* Override any GCC internal prototype to avoid an error.
 3517:    Use char because int might match the return type of a GCC
 3518:    builtin and then its argument prototype would still apply.  */
 3519: #ifdef __cplusplus
 3520: extern "C"
 3521: #endif
 3522: char strlcpy ();
 3523: int
 3524: main ()
 3525: {
 3526: return strlcpy ();
 3527:   ;
 3528:   return 0;
 3529: }
 3530: _ACEOF
 3531: if ac_fn_c_try_link "$LINENO"; then :
 3532:   ac_cv_lib_bsd_strlcpy=yes
 3533: else
 3534:   ac_cv_lib_bsd_strlcpy=no
 3535: fi
 3536: rm -f core conftest.err conftest.$ac_objext \
 3537:     conftest$ac_exeext conftest.$ac_ext
 3538: LIBS=$ac_check_lib_save_LIBS
 3539: fi
 3540: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_strlcpy" >&5
 3541: $as_echo "$ac_cv_lib_bsd_strlcpy" >&6; }
 3542: if test "x$ac_cv_lib_bsd_strlcpy" = xyes; then :
 3543:   cat >>confdefs.h <<_ACEOF
 3544: #define HAVE_LIBBSD 1
 3545: _ACEOF
 3546: 
 3547:   LIBS="-lbsd $LIBS"
 3548: 
 3549: fi
 3550: 
 3551: 
 3552: # Checks for header files.
 3553: ac_ext=c
 3554: ac_cpp='$CPP $CPPFLAGS'
 3555: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 3556: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 3557: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 3558: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
 3559: $as_echo_n "checking how to run the C preprocessor... " >&6; }
 3560: # On Suns, sometimes $CPP names a directory.
 3561: if test -n "$CPP" && test -d "$CPP"; then
 3562:   CPP=
 3563: fi
 3564: if test -z "$CPP"; then
 3565:   if ${ac_cv_prog_CPP+:} false; then :
 3566:   $as_echo_n "(cached) " >&6
 3567: else
 3568:       # Double quotes because CPP needs to be expanded
 3569:     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 3570:     do
 3571:       ac_preproc_ok=false
 3572: for ac_c_preproc_warn_flag in '' yes
 3573: do
 3574:   # Use a header file that comes with gcc, so configuring glibc
 3575:   # with a fresh cross-compiler works.
 3576:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 3577:   # <limits.h> exists even on freestanding compilers.
 3578:   # On the NeXT, cc -E runs the code through the compiler's parser,
 3579:   # not just through cpp. "Syntax error" is here to catch this case.
 3580:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3581: /* end confdefs.h.  */
 3582: #ifdef __STDC__
 3583: # include <limits.h>
 3584: #else
 3585: # include <assert.h>
 3586: #endif
 3587: 		     Syntax error
 3588: _ACEOF
 3589: if ac_fn_c_try_cpp "$LINENO"; then :
 3590: 
 3591: else
 3592:   # Broken: fails on valid input.
 3593: continue
 3594: fi
 3595: rm -f conftest.err conftest.i conftest.$ac_ext
 3596: 
 3597:   # OK, works on sane cases.  Now check whether nonexistent headers
 3598:   # can be detected and how.
 3599:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3600: /* end confdefs.h.  */
 3601: #include <ac_nonexistent.h>
 3602: _ACEOF
 3603: if ac_fn_c_try_cpp "$LINENO"; then :
 3604:   # Broken: success on invalid input.
 3605: continue
 3606: else
 3607:   # Passes both tests.
 3608: ac_preproc_ok=:
 3609: break
 3610: fi
 3611: rm -f conftest.err conftest.i conftest.$ac_ext
 3612: 
 3613: done
 3614: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 3615: rm -f conftest.i conftest.err conftest.$ac_ext
 3616: if $ac_preproc_ok; then :
 3617:   break
 3618: fi
 3619: 
 3620:     done
 3621:     ac_cv_prog_CPP=$CPP
 3622: 
 3623: fi
 3624:   CPP=$ac_cv_prog_CPP
 3625: else
 3626:   ac_cv_prog_CPP=$CPP
 3627: fi
 3628: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
 3629: $as_echo "$CPP" >&6; }
 3630: ac_preproc_ok=false
 3631: for ac_c_preproc_warn_flag in '' yes
 3632: do
 3633:   # Use a header file that comes with gcc, so configuring glibc
 3634:   # with a fresh cross-compiler works.
 3635:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 3636:   # <limits.h> exists even on freestanding compilers.
 3637:   # On the NeXT, cc -E runs the code through the compiler's parser,
 3638:   # not just through cpp. "Syntax error" is here to catch this case.
 3639:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3640: /* end confdefs.h.  */
 3641: #ifdef __STDC__
 3642: # include <limits.h>
 3643: #else
 3644: # include <assert.h>
 3645: #endif
 3646: 		     Syntax error
 3647: _ACEOF
 3648: if ac_fn_c_try_cpp "$LINENO"; then :
 3649: 
 3650: else
 3651:   # Broken: fails on valid input.
 3652: continue
 3653: fi
 3654: rm -f conftest.err conftest.i conftest.$ac_ext
 3655: 
 3656:   # OK, works on sane cases.  Now check whether nonexistent headers
 3657:   # can be detected and how.
 3658:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3659: /* end confdefs.h.  */
 3660: #include <ac_nonexistent.h>
 3661: _ACEOF
 3662: if ac_fn_c_try_cpp "$LINENO"; then :
 3663:   # Broken: success on invalid input.
 3664: continue
 3665: else
 3666:   # Passes both tests.
 3667: ac_preproc_ok=:
 3668: break
 3669: fi
 3670: rm -f conftest.err conftest.i conftest.$ac_ext
 3671: 
 3672: done
 3673: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 3674: rm -f conftest.i conftest.err conftest.$ac_ext
 3675: if $ac_preproc_ok; then :
 3676: 
 3677: else
 3678:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3679: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3680: as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
 3681: See \`config.log' for more details" "$LINENO" 5; }
 3682: fi
 3683: 
 3684: ac_ext=c
 3685: ac_cpp='$CPP $CPPFLAGS'
 3686: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 3687: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 3688: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 3689: 
 3690: 
 3691: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
 3692: $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 3693: if ${ac_cv_path_GREP+:} false; then :
 3694:   $as_echo_n "(cached) " >&6
 3695: else
 3696:   if test -z "$GREP"; then
 3697:   ac_path_GREP_found=false
 3698:   # Loop through the user's path and test for each of PROGNAME-LIST
 3699:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3700: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 3701: do
 3702:   IFS=$as_save_IFS
 3703:   test -z "$as_dir" && as_dir=.
 3704:     for ac_prog in grep ggrep; do
 3705:     for ac_exec_ext in '' $ac_executable_extensions; do
 3706:       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 3707:       as_fn_executable_p "$ac_path_GREP" || continue
 3708: # Check for GNU ac_path_GREP and select it if it is found.
 3709:   # Check for GNU $ac_path_GREP
 3710: case `"$ac_path_GREP" --version 2>&1` in
 3711: *GNU*)
 3712:   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 3713: *)
 3714:   ac_count=0
 3715:   $as_echo_n 0123456789 >"conftest.in"
 3716:   while :
 3717:   do
 3718:     cat "conftest.in" "conftest.in" >"conftest.tmp"
 3719:     mv "conftest.tmp" "conftest.in"
 3720:     cp "conftest.in" "conftest.nl"
 3721:     $as_echo 'GREP' >> "conftest.nl"
 3722:     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 3723:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 3724:     as_fn_arith $ac_count + 1 && ac_count=$as_val
 3725:     if test $ac_count -gt ${ac_path_GREP_max-0}; then
 3726:       # Best one so far, save it but keep looking for a better one
 3727:       ac_cv_path_GREP="$ac_path_GREP"
 3728:       ac_path_GREP_max=$ac_count
 3729:     fi
 3730:     # 10*(2^10) chars as input seems more than enough
 3731:     test $ac_count -gt 10 && break
 3732:   done
 3733:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 3734: esac
 3735: 
 3736:       $ac_path_GREP_found && break 3
 3737:     done
 3738:   done
 3739:   done
 3740: IFS=$as_save_IFS
 3741:   if test -z "$ac_cv_path_GREP"; then
 3742:     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 3743:   fi
 3744: else
 3745:   ac_cv_path_GREP=$GREP
 3746: fi
 3747: 
 3748: fi
 3749: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
 3750: $as_echo "$ac_cv_path_GREP" >&6; }
 3751:  GREP="$ac_cv_path_GREP"
 3752: 
 3753: 
 3754: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
 3755: $as_echo_n "checking for egrep... " >&6; }
 3756: if ${ac_cv_path_EGREP+:} false; then :
 3757:   $as_echo_n "(cached) " >&6
 3758: else
 3759:   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 3760:    then ac_cv_path_EGREP="$GREP -E"
 3761:    else
 3762:      if test -z "$EGREP"; then
 3763:   ac_path_EGREP_found=false
 3764:   # Loop through the user's path and test for each of PROGNAME-LIST
 3765:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3766: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 3767: do
 3768:   IFS=$as_save_IFS
 3769:   test -z "$as_dir" && as_dir=.
 3770:     for ac_prog in egrep; do
 3771:     for ac_exec_ext in '' $ac_executable_extensions; do
 3772:       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 3773:       as_fn_executable_p "$ac_path_EGREP" || continue
 3774: # Check for GNU ac_path_EGREP and select it if it is found.
 3775:   # Check for GNU $ac_path_EGREP
 3776: case `"$ac_path_EGREP" --version 2>&1` in
 3777: *GNU*)
 3778:   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 3779: *)
 3780:   ac_count=0
 3781:   $as_echo_n 0123456789 >"conftest.in"
 3782:   while :
 3783:   do
 3784:     cat "conftest.in" "conftest.in" >"conftest.tmp"
 3785:     mv "conftest.tmp" "conftest.in"
 3786:     cp "conftest.in" "conftest.nl"
 3787:     $as_echo 'EGREP' >> "conftest.nl"
 3788:     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 3789:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 3790:     as_fn_arith $ac_count + 1 && ac_count=$as_val
 3791:     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 3792:       # Best one so far, save it but keep looking for a better one
 3793:       ac_cv_path_EGREP="$ac_path_EGREP"
 3794:       ac_path_EGREP_max=$ac_count
 3795:     fi
 3796:     # 10*(2^10) chars as input seems more than enough
 3797:     test $ac_count -gt 10 && break
 3798:   done
 3799:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 3800: esac
 3801: 
 3802:       $ac_path_EGREP_found && break 3
 3803:     done
 3804:   done
 3805:   done
 3806: IFS=$as_save_IFS
 3807:   if test -z "$ac_cv_path_EGREP"; then
 3808:     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 3809:   fi
 3810: else
 3811:   ac_cv_path_EGREP=$EGREP
 3812: fi
 3813: 
 3814:    fi
 3815: fi
 3816: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
 3817: $as_echo "$ac_cv_path_EGREP" >&6; }
 3818:  EGREP="$ac_cv_path_EGREP"
 3819: 
 3820: 
 3821: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 3822: $as_echo_n "checking for ANSI C header files... " >&6; }
 3823: if ${ac_cv_header_stdc+:} false; then :
 3824:   $as_echo_n "(cached) " >&6
 3825: else
 3826:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3827: /* end confdefs.h.  */
 3828: #include <stdlib.h>
 3829: #include <stdarg.h>
 3830: #include <string.h>
 3831: #include <float.h>
 3832: 
 3833: int
 3834: main ()
 3835: {
 3836: 
 3837:   ;
 3838:   return 0;
 3839: }
 3840: _ACEOF
 3841: if ac_fn_c_try_compile "$LINENO"; then :
 3842:   ac_cv_header_stdc=yes
 3843: else
 3844:   ac_cv_header_stdc=no
 3845: fi
 3846: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3847: 
 3848: if test $ac_cv_header_stdc = yes; then
 3849:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 3850:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3851: /* end confdefs.h.  */
 3852: #include <string.h>
 3853: 
 3854: _ACEOF
 3855: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 3856:   $EGREP "memchr" >/dev/null 2>&1; then :
 3857: 
 3858: else
 3859:   ac_cv_header_stdc=no
 3860: fi
 3861: rm -f conftest*
 3862: 
 3863: fi
 3864: 
 3865: if test $ac_cv_header_stdc = yes; then
 3866:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 3867:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3868: /* end confdefs.h.  */
 3869: #include <stdlib.h>
 3870: 
 3871: _ACEOF
 3872: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 3873:   $EGREP "free" >/dev/null 2>&1; then :
 3874: 
 3875: else
 3876:   ac_cv_header_stdc=no
 3877: fi
 3878: rm -f conftest*
 3879: 
 3880: fi
 3881: 
 3882: if test $ac_cv_header_stdc = yes; then
 3883:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 3884:   if test "$cross_compiling" = yes; then :
 3885:   :
 3886: else
 3887:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3888: /* end confdefs.h.  */
 3889: #include <ctype.h>
 3890: #include <stdlib.h>
 3891: #if ((' ' & 0x0FF) == 0x020)
 3892: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 3893: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 3894: #else
 3895: # define ISLOWER(c) \
 3896: 		   (('a' <= (c) && (c) <= 'i') \
 3897: 		     || ('j' <= (c) && (c) <= 'r') \
 3898: 		     || ('s' <= (c) && (c) <= 'z'))
 3899: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 3900: #endif
 3901: 
 3902: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 3903: int
 3904: main ()
 3905: {
 3906:   int i;
 3907:   for (i = 0; i < 256; i++)
 3908:     if (XOR (islower (i), ISLOWER (i))
 3909: 	|| toupper (i) != TOUPPER (i))
 3910:       return 2;
 3911:   return 0;
 3912: }
 3913: _ACEOF
 3914: if ac_fn_c_try_run "$LINENO"; then :
 3915: 
 3916: else
 3917:   ac_cv_header_stdc=no
 3918: fi
 3919: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 3920:   conftest.$ac_objext conftest.beam conftest.$ac_ext
 3921: fi
 3922: 
 3923: fi
 3924: fi
 3925: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
 3926: $as_echo "$ac_cv_header_stdc" >&6; }
 3927: if test $ac_cv_header_stdc = yes; then
 3928: 
 3929: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
 3930: 
 3931: fi
 3932: 
 3933: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
 3934: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 3935: 		  inttypes.h stdint.h unistd.h
 3936: do :
 3937:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 3938: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 3939: "
 3940: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 3941:   cat >>confdefs.h <<_ACEOF
 3942: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 3943: _ACEOF
 3944: 
 3945: fi
 3946: 
 3947: done
 3948: 
 3949: 
 3950: for ac_header in stdint.h stdlib.h string.h sys/time.h unistd.h
 3951: do :
 3952:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 3953: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
 3954: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 3955:   cat >>confdefs.h <<_ACEOF
 3956: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 3957: _ACEOF
 3958: 
 3959: fi
 3960: 
 3961: done
 3962: 
 3963: for ac_header in bsd/string.h
 3964: do :
 3965:   ac_fn_c_check_header_mongrel "$LINENO" "bsd/string.h" "ac_cv_header_bsd_string_h" "$ac_includes_default"
 3966: if test "x$ac_cv_header_bsd_string_h" = xyes; then :
 3967:   cat >>confdefs.h <<_ACEOF
 3968: #define HAVE_BSD_STRING_H 1
 3969: _ACEOF
 3970: 
 3971: fi
 3972: 
 3973: done
 3974: 
 3975: 
 3976: # Checks for typedefs, structures, and compiler characteristics.
 3977: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
 3978: $as_echo_n "checking for inline... " >&6; }
 3979: if ${ac_cv_c_inline+:} false; then :
 3980:   $as_echo_n "(cached) " >&6
 3981: else
 3982:   ac_cv_c_inline=no
 3983: for ac_kw in inline __inline__ __inline; do
 3984:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3985: /* end confdefs.h.  */
 3986: #ifndef __cplusplus
 3987: typedef int foo_t;
 3988: static $ac_kw foo_t static_foo () {return 0; }
 3989: $ac_kw foo_t foo () {return 0; }
 3990: #endif
 3991: 
 3992: _ACEOF
 3993: if ac_fn_c_try_compile "$LINENO"; then :
 3994:   ac_cv_c_inline=$ac_kw
 3995: fi
 3996: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3997:   test "$ac_cv_c_inline" != no && break
 3998: done
 3999: 
 4000: fi
 4001: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
 4002: $as_echo "$ac_cv_c_inline" >&6; }
 4003: 
 4004: case $ac_cv_c_inline in
 4005:   inline | yes) ;;
 4006:   *)
 4007:     case $ac_cv_c_inline in
 4008:       no) ac_val=;;
 4009:       *) ac_val=$ac_cv_c_inline;;
 4010:     esac
 4011:     cat >>confdefs.h <<_ACEOF
 4012: #ifndef __cplusplus
 4013: #define inline $ac_val
 4014: #endif
 4015: _ACEOF
 4016:     ;;
 4017: esac
 4018: 
 4019: ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
 4020: if test "x$ac_cv_type_size_t" = xyes; then :
 4021: 
 4022: else
 4023: 
 4024: cat >>confdefs.h <<_ACEOF
 4025: #define size_t unsigned int
 4026: _ACEOF
 4027: 
 4028: fi
 4029: 
 4030: 
 4031: # Checks for library functions.
 4032: for ac_header in stdlib.h
 4033: do :
 4034:   ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
 4035: if test "x$ac_cv_header_stdlib_h" = xyes; then :
 4036:   cat >>confdefs.h <<_ACEOF
 4037: #define HAVE_STDLIB_H 1
 4038: _ACEOF
 4039: 
 4040: fi
 4041: 
 4042: done
 4043: 
 4044: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
 4045: $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
 4046: if ${ac_cv_func_malloc_0_nonnull+:} false; then :
 4047:   $as_echo_n "(cached) " >&6
 4048: else
 4049:   if test "$cross_compiling" = yes; then :
 4050:   ac_cv_func_malloc_0_nonnull=no
 4051: else
 4052:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4053: /* end confdefs.h.  */
 4054: #if defined STDC_HEADERS || defined HAVE_STDLIB_H
 4055: # include <stdlib.h>
 4056: #else
 4057: char *malloc ();
 4058: #endif
 4059: 
 4060: int
 4061: main ()
 4062: {
 4063: return ! malloc (0);
 4064:   ;
 4065:   return 0;
 4066: }
 4067: _ACEOF
 4068: if ac_fn_c_try_run "$LINENO"; then :
 4069:   ac_cv_func_malloc_0_nonnull=yes
 4070: else
 4071:   ac_cv_func_malloc_0_nonnull=no
 4072: fi
 4073: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 4074:   conftest.$ac_objext conftest.beam conftest.$ac_ext
 4075: fi
 4076: 
 4077: fi
 4078: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
 4079: $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
 4080: if test $ac_cv_func_malloc_0_nonnull = yes; then :
 4081: 
 4082: $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
 4083: 
 4084: else
 4085:   $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
 4086: 
 4087:    case " $LIBOBJS " in
 4088:   *" malloc.$ac_objext "* ) ;;
 4089:   *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
 4090:  ;;
 4091: esac
 4092: 
 4093: 
 4094: $as_echo "#define malloc rpl_malloc" >>confdefs.h
 4095: 
 4096: fi
 4097: 
 4098: 
 4099: for ac_func in clock_gettime memset strerror timer_create timer_settime timer_delete strlcat strlcpy
 4100: do :
 4101:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 4102: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
 4103: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
 4104:   cat >>confdefs.h <<_ACEOF
 4105: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 4106: _ACEOF
 4107: 
 4108: fi
 4109: done
 4110: 
 4111: 
 4112: DEBUG=no
 4113: { $as_echo "$as_me:${as_lineno-$LINENO}: checking Debug Build" >&5
 4114: $as_echo_n "checking Debug Build... " >&6; }
 4115: # Check whether --enable-debug was given.
 4116: if test "${enable_debug+set}" = set; then :
 4117:   enableval=$enable_debug;  DEBUG=$enableval
 4118: 		case "$enableval" in
 4119: 			yes)
 4120: 
 4121: $as_echo "#define __DEBUG /**/" >>confdefs.h
 4122: 
 4123: 				CFLAGS="-g ${CFLAGS}"
 4124: 				;;
 4125: 			*)
 4126: 
 4127: $as_echo "#define NDEBUG /**/" >>confdefs.h
 4128: 
 4129: 				;;
 4130: 		esac
 4131: else
 4132: 
 4133: $as_echo "#define NDEBUG /**/" >>confdefs.h
 4134: 
 4135: fi
 4136: 
 4137: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DEBUG" >&5
 4138: $as_echo "$DEBUG" >&6; }
 4139: 
 4140: AIO=no
 4141: { $as_echo "$as_me:${as_lineno-$LINENO}: checking AIO Builtin support" >&5
 4142: $as_echo_n "checking AIO Builtin support... " >&6; }
 4143: # Check whether --enable-aio was given.
 4144: if test "${enable_aio+set}" = set; then :
 4145:   enableval=$enable_aio;  AIO=$enableval
 4146: 		case "$enableval" in
 4147: 			yes)
 4148: 
 4149: $as_echo "#define AIO_SUPPORT /**/" >>confdefs.h
 4150: 
 4151: 				;;
 4152: 			*)
 4153: 				;;
 4154: 		esac
 4155: fi
 4156: 
 4157: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AIO" >&5
 4158: $as_echo "$AIO" >&6; }
 4159: 
 4160: 
 4161: $as_echo "#define NO_SUPPORT 0" >>confdefs.h
 4162: 
 4163: 
 4164: $as_echo "#define KQ_SUPPORT 1" >>confdefs.h
 4165: 
 4166: 
 4167: $as_echo "#define EP_SUPPORT 2" >>confdefs.h
 4168: 
 4169: 
 4170: 
 4171: $as_echo "#define SUP_ENABLE KQ_SUPPORT" >>confdefs.h
 4172: 
 4173: 
 4174: EPSUP=no
 4175: { $as_echo "$as_me:${as_lineno-$LINENO}: checking epoll support" >&5
 4176: $as_echo_n "checking epoll support... " >&6; }
 4177: # Check whether --enable-epoll was given.
 4178: if test "${enable_epoll+set}" = set; then :
 4179:   enableval=$enable_epoll;  EPSUP=$enableval
 4180: 		case "$enableval" in
 4181: 			yes)
 4182: 
 4183: $as_echo "#define SUP_ENABLE EP_SUPPORT" >>confdefs.h
 4184: 
 4185: 				KQSUP=no
 4186: 				;;
 4187: 			*)
 4188: 				KQSUP=yes
 4189: 				;;
 4190: 	 	esac
 4191: else
 4192:    KQSUP=yes
 4193: fi
 4194: 
 4195: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EPSUP" >&5
 4196: $as_echo "$EPSUP" >&6; }
 4197: 
 4198: { $as_echo "$as_me:${as_lineno-$LINENO}: checking kqueue support" >&5
 4199: $as_echo_n "checking kqueue support... " >&6; }
 4200: # Check whether --enable-kqueue was given.
 4201: if test "${enable_kqueue+set}" = set; then :
 4202:   enableval=$enable_kqueue;  KQSUP=$enableval
 4203: 		case "$enableval" in
 4204: 			no)
 4205: 
 4206: $as_echo "#define SUP_ENABLE NO_SUPPORT" >>confdefs.h
 4207: 
 4208: 				;;
 4209: 			*)
 4210: 				;;
 4211: 	 	esac
 4212: fi
 4213: 
 4214: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $KQSUP" >&5
 4215: $as_echo "$KQSUP" >&6; }
 4216: 
 4217: KQ_EVENTS=24
 4218: { $as_echo "$as_me:${as_lineno-$LINENO}: checking How many kqueue events can scheduling at one time" >&5
 4219: $as_echo_n "checking How many kqueue events can scheduling at one time... " >&6; }
 4220: 
 4221: # Check whether --with-kq_events was given.
 4222: if test "${with_kq_events+set}" = set; then :
 4223:   withval=$with_kq_events;  KQ_EVENTS=$withval
 4224: else
 4225:   KQ_EVENTS=32
 4226: fi
 4227: 
 4228: 
 4229: cat >>confdefs.h <<_ACEOF
 4230: #define KQ_EVENTS $KQ_EVENTS
 4231: _ACEOF
 4232: 
 4233: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $KQ_EVENTS" >&5
 4234: $as_echo "$KQ_EVENTS" >&6; }
 4235: 
 4236: ac_config_files="$ac_config_files Makefile inc/Makefile lib/Makefile src/Makefile"
 4237: 
 4238: cat >confcache <<\_ACEOF
 4239: # This file is a shell script that caches the results of configure
 4240: # tests run on this system so they can be shared between configure
 4241: # scripts and configure runs, see configure's option --config-cache.
 4242: # It is not useful on other systems.  If it contains results you don't
 4243: # want to keep, you may remove or edit it.
 4244: #
 4245: # config.status only pays attention to the cache file if you give it
 4246: # the --recheck option to rerun configure.
 4247: #
 4248: # `ac_cv_env_foo' variables (set or unset) will be overridden when
 4249: # loading this file, other *unset* `ac_cv_foo' will be assigned the
 4250: # following values.
 4251: 
 4252: _ACEOF
 4253: 
 4254: # The following way of writing the cache mishandles newlines in values,
 4255: # but we know of no workaround that is simple, portable, and efficient.
 4256: # So, we kill variables containing newlines.
 4257: # Ultrix sh set writes to stderr and can't be redirected directly,
 4258: # and sets the high bit in the cache file unless we assign to the vars.
 4259: (
 4260:   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 4261:     eval ac_val=\$$ac_var
 4262:     case $ac_val in #(
 4263:     *${as_nl}*)
 4264:       case $ac_var in #(
 4265:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 4266: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 4267:       esac
 4268:       case $ac_var in #(
 4269:       _ | IFS | as_nl) ;; #(
 4270:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 4271:       *) { eval $ac_var=; unset $ac_var;} ;;
 4272:       esac ;;
 4273:     esac
 4274:   done
 4275: 
 4276:   (set) 2>&1 |
 4277:     case $as_nl`(ac_space=' '; set) 2>&1` in #(
 4278:     *${as_nl}ac_space=\ *)
 4279:       # `set' does not quote correctly, so add quotes: double-quote
 4280:       # substitution turns \\\\ into \\, and sed turns \\ into \.
 4281:       sed -n \
 4282: 	"s/'/'\\\\''/g;
 4283: 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 4284:       ;; #(
 4285:     *)
 4286:       # `set' quotes correctly as required by POSIX, so do not add quotes.
 4287:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 4288:       ;;
 4289:     esac |
 4290:     sort
 4291: ) |
 4292:   sed '
 4293:      /^ac_cv_env_/b end
 4294:      t clear
 4295:      :clear
 4296:      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
 4297:      t end
 4298:      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 4299:      :end' >>confcache
 4300: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 4301:   if test -w "$cache_file"; then
 4302:     if test "x$cache_file" != "x/dev/null"; then
 4303:       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
 4304: $as_echo "$as_me: updating cache $cache_file" >&6;}
 4305:       if test ! -f "$cache_file" || test -h "$cache_file"; then
 4306: 	cat confcache >"$cache_file"
 4307:       else
 4308:         case $cache_file in #(
 4309:         */* | ?:*)
 4310: 	  mv -f confcache "$cache_file"$$ &&
 4311: 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
 4312:         *)
 4313: 	  mv -f confcache "$cache_file" ;;
 4314: 	esac
 4315:       fi
 4316:     fi
 4317:   else
 4318:     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
 4319: $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 4320:   fi
 4321: fi
 4322: rm -f confcache
 4323: 
 4324: test "x$prefix" = xNONE && prefix=$ac_default_prefix
 4325: # Let make expand exec_prefix.
 4326: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
 4327: 
 4328: DEFS=-DHAVE_CONFIG_H
 4329: 
 4330: ac_libobjs=
 4331: ac_ltlibobjs=
 4332: U=
 4333: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
 4334:   # 1. Remove the extension, and $U if already installed.
 4335:   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 4336:   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
 4337:   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 4338:   #    will be set to the directory where LIBOBJS objects are built.
 4339:   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 4340:   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
 4341: done
 4342: LIBOBJS=$ac_libobjs
 4343: 
 4344: LTLIBOBJS=$ac_ltlibobjs
 4345: 
 4346: 
 4347: 
 4348: : "${CONFIG_STATUS=./config.status}"
 4349: ac_write_fail=0
 4350: ac_clean_files_save=$ac_clean_files
 4351: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
 4352: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
 4353: $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 4354: as_write_fail=0
 4355: cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
 4356: #! $SHELL
 4357: # Generated by $as_me.
 4358: # Run this file to recreate the current configuration.
 4359: # Compiler output produced by configure, useful for debugging
 4360: # configure, is in config.log if it exists.
 4361: 
 4362: debug=false
 4363: ac_cs_recheck=false
 4364: ac_cs_silent=false
 4365: 
 4366: SHELL=\${CONFIG_SHELL-$SHELL}
 4367: export SHELL
 4368: _ASEOF
 4369: cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
 4370: ## -------------------- ##
 4371: ## M4sh Initialization. ##
 4372: ## -------------------- ##
 4373: 
 4374: # Be more Bourne compatible
 4375: DUALCASE=1; export DUALCASE # for MKS sh
 4376: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
 4377:   emulate sh
 4378:   NULLCMD=:
 4379:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 4380:   # is contrary to our usage.  Disable this feature.
 4381:   alias -g '${1+"$@"}'='"$@"'
 4382:   setopt NO_GLOB_SUBST
 4383: else
 4384:   case `(set -o) 2>/dev/null` in #(
 4385:   *posix*) :
 4386:     set -o posix ;; #(
 4387:   *) :
 4388:      ;;
 4389: esac
 4390: fi
 4391: 
 4392: 
 4393: as_nl='
 4394: '
 4395: export as_nl
 4396: # Printing a long string crashes Solaris 7 /usr/bin/printf.
 4397: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 4398: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 4399: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 4400: # Prefer a ksh shell builtin over an external printf program on Solaris,
 4401: # but without wasting forks for bash or zsh.
 4402: if test -z "$BASH_VERSION$ZSH_VERSION" \
 4403:     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 4404:   as_echo='print -r --'
 4405:   as_echo_n='print -rn --'
 4406: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 4407:   as_echo='printf %s\n'
 4408:   as_echo_n='printf %s'
 4409: else
 4410:   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 4411:     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 4412:     as_echo_n='/usr/ucb/echo -n'
 4413:   else
 4414:     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 4415:     as_echo_n_body='eval
 4416:       arg=$1;
 4417:       case $arg in #(
 4418:       *"$as_nl"*)
 4419: 	expr "X$arg" : "X\\(.*\\)$as_nl";
 4420: 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 4421:       esac;
 4422:       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 4423:     '
 4424:     export as_echo_n_body
 4425:     as_echo_n='sh -c $as_echo_n_body as_echo'
 4426:   fi
 4427:   export as_echo_body
 4428:   as_echo='sh -c $as_echo_body as_echo'
 4429: fi
 4430: 
 4431: # The user is always right.
 4432: if test "${PATH_SEPARATOR+set}" != set; then
 4433:   PATH_SEPARATOR=:
 4434:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 4435:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 4436:       PATH_SEPARATOR=';'
 4437:   }
 4438: fi
 4439: 
 4440: 
 4441: # IFS
 4442: # We need space, tab and new line, in precisely that order.  Quoting is
 4443: # there to prevent editors from complaining about space-tab.
 4444: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
 4445: # splitting by setting IFS to empty value.)
 4446: IFS=" ""	$as_nl"
 4447: 
 4448: # Find who we are.  Look in the path if we contain no directory separator.
 4449: as_myself=
 4450: case $0 in #((
 4451:   *[\\/]* ) as_myself=$0 ;;
 4452:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4453: for as_dir in $PATH
 4454: do
 4455:   IFS=$as_save_IFS
 4456:   test -z "$as_dir" && as_dir=.
 4457:     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 4458:   done
 4459: IFS=$as_save_IFS
 4460: 
 4461:      ;;
 4462: esac
 4463: # We did not find ourselves, most probably we were run as `sh COMMAND'
 4464: # in which case we are not to be found in the path.
 4465: if test "x$as_myself" = x; then
 4466:   as_myself=$0
 4467: fi
 4468: if test ! -f "$as_myself"; then
 4469:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 4470:   exit 1
 4471: fi
 4472: 
 4473: # Unset variables that we do not need and which cause bugs (e.g. in
 4474: # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 4475: # suppresses any "Segmentation fault" message there.  '((' could
 4476: # trigger a bug in pdksh 5.2.14.
 4477: for as_var in BASH_ENV ENV MAIL MAILPATH
 4478: do eval test x\${$as_var+set} = xset \
 4479:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
 4480: done
 4481: PS1='$ '
 4482: PS2='> '
 4483: PS4='+ '
 4484: 
 4485: # NLS nuisances.
 4486: LC_ALL=C
 4487: export LC_ALL
 4488: LANGUAGE=C
 4489: export LANGUAGE
 4490: 
 4491: # CDPATH.
 4492: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 4493: 
 4494: 
 4495: # as_fn_error STATUS ERROR [LINENO LOG_FD]
 4496: # ----------------------------------------
 4497: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 4498: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 4499: # script with STATUS, using 1 if that was 0.
 4500: as_fn_error ()
 4501: {
 4502:   as_status=$1; test $as_status -eq 0 && as_status=1
 4503:   if test "$4"; then
 4504:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 4505:     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
 4506:   fi
 4507:   $as_echo "$as_me: error: $2" >&2
 4508:   as_fn_exit $as_status
 4509: } # as_fn_error
 4510: 
 4511: 
 4512: # as_fn_set_status STATUS
 4513: # -----------------------
 4514: # Set $? to STATUS, without forking.
 4515: as_fn_set_status ()
 4516: {
 4517:   return $1
 4518: } # as_fn_set_status
 4519: 
 4520: # as_fn_exit STATUS
 4521: # -----------------
 4522: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 4523: as_fn_exit ()
 4524: {
 4525:   set +e
 4526:   as_fn_set_status $1
 4527:   exit $1
 4528: } # as_fn_exit
 4529: 
 4530: # as_fn_unset VAR
 4531: # ---------------
 4532: # Portably unset VAR.
 4533: as_fn_unset ()
 4534: {
 4535:   { eval $1=; unset $1;}
 4536: }
 4537: as_unset=as_fn_unset
 4538: # as_fn_append VAR VALUE
 4539: # ----------------------
 4540: # Append the text in VALUE to the end of the definition contained in VAR. Take
 4541: # advantage of any shell optimizations that allow amortized linear growth over
 4542: # repeated appends, instead of the typical quadratic growth present in naive
 4543: # implementations.
 4544: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 4545:   eval 'as_fn_append ()
 4546:   {
 4547:     eval $1+=\$2
 4548:   }'
 4549: else
 4550:   as_fn_append ()
 4551:   {
 4552:     eval $1=\$$1\$2
 4553:   }
 4554: fi # as_fn_append
 4555: 
 4556: # as_fn_arith ARG...
 4557: # ------------------
 4558: # Perform arithmetic evaluation on the ARGs, and store the result in the
 4559: # global $as_val. Take advantage of shells that can avoid forks. The arguments
 4560: # must be portable across $(()) and expr.
 4561: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 4562:   eval 'as_fn_arith ()
 4563:   {
 4564:     as_val=$(( $* ))
 4565:   }'
 4566: else
 4567:   as_fn_arith ()
 4568:   {
 4569:     as_val=`expr "$@" || test $? -eq 1`
 4570:   }
 4571: fi # as_fn_arith
 4572: 
 4573: 
 4574: if expr a : '\(a\)' >/dev/null 2>&1 &&
 4575:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
 4576:   as_expr=expr
 4577: else
 4578:   as_expr=false
 4579: fi
 4580: 
 4581: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 4582:   as_basename=basename
 4583: else
 4584:   as_basename=false
 4585: fi
 4586: 
 4587: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 4588:   as_dirname=dirname
 4589: else
 4590:   as_dirname=false
 4591: fi
 4592: 
 4593: as_me=`$as_basename -- "$0" ||
 4594: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 4595: 	 X"$0" : 'X\(//\)$' \| \
 4596: 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 4597: $as_echo X/"$0" |
 4598:     sed '/^.*\/\([^/][^/]*\)\/*$/{
 4599: 	    s//\1/
 4600: 	    q
 4601: 	  }
 4602: 	  /^X\/\(\/\/\)$/{
 4603: 	    s//\1/
 4604: 	    q
 4605: 	  }
 4606: 	  /^X\/\(\/\).*/{
 4607: 	    s//\1/
 4608: 	    q
 4609: 	  }
 4610: 	  s/.*/./; q'`
 4611: 
 4612: # Avoid depending upon Character Ranges.
 4613: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 4614: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 4615: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 4616: as_cr_digits='0123456789'
 4617: as_cr_alnum=$as_cr_Letters$as_cr_digits
 4618: 
 4619: ECHO_C= ECHO_N= ECHO_T=
 4620: case `echo -n x` in #(((((
 4621: -n*)
 4622:   case `echo 'xy\c'` in
 4623:   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
 4624:   xy)  ECHO_C='\c';;
 4625:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 4626:        ECHO_T='	';;
 4627:   esac;;
 4628: *)
 4629:   ECHO_N='-n';;
 4630: esac
 4631: 
 4632: rm -f conf$$ conf$$.exe conf$$.file
 4633: if test -d conf$$.dir; then
 4634:   rm -f conf$$.dir/conf$$.file
 4635: else
 4636:   rm -f conf$$.dir
 4637:   mkdir conf$$.dir 2>/dev/null
 4638: fi
 4639: if (echo >conf$$.file) 2>/dev/null; then
 4640:   if ln -s conf$$.file conf$$ 2>/dev/null; then
 4641:     as_ln_s='ln -s'
 4642:     # ... but there are two gotchas:
 4643:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 4644:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 4645:     # In both cases, we have to default to `cp -pR'.
 4646:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 4647:       as_ln_s='cp -pR'
 4648:   elif ln conf$$.file conf$$ 2>/dev/null; then
 4649:     as_ln_s=ln
 4650:   else
 4651:     as_ln_s='cp -pR'
 4652:   fi
 4653: else
 4654:   as_ln_s='cp -pR'
 4655: fi
 4656: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 4657: rmdir conf$$.dir 2>/dev/null
 4658: 
 4659: 
 4660: # as_fn_mkdir_p
 4661: # -------------
 4662: # Create "$as_dir" as a directory, including parents if necessary.
 4663: as_fn_mkdir_p ()
 4664: {
 4665: 
 4666:   case $as_dir in #(
 4667:   -*) as_dir=./$as_dir;;
 4668:   esac
 4669:   test -d "$as_dir" || eval $as_mkdir_p || {
 4670:     as_dirs=
 4671:     while :; do
 4672:       case $as_dir in #(
 4673:       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 4674:       *) as_qdir=$as_dir;;
 4675:       esac
 4676:       as_dirs="'$as_qdir' $as_dirs"
 4677:       as_dir=`$as_dirname -- "$as_dir" ||
 4678: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 4679: 	 X"$as_dir" : 'X\(//\)[^/]' \| \
 4680: 	 X"$as_dir" : 'X\(//\)$' \| \
 4681: 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 4682: $as_echo X"$as_dir" |
 4683:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 4684: 	    s//\1/
 4685: 	    q
 4686: 	  }
 4687: 	  /^X\(\/\/\)[^/].*/{
 4688: 	    s//\1/
 4689: 	    q
 4690: 	  }
 4691: 	  /^X\(\/\/\)$/{
 4692: 	    s//\1/
 4693: 	    q
 4694: 	  }
 4695: 	  /^X\(\/\).*/{
 4696: 	    s//\1/
 4697: 	    q
 4698: 	  }
 4699: 	  s/.*/./; q'`
 4700:       test -d "$as_dir" && break
 4701:     done
 4702:     test -z "$as_dirs" || eval "mkdir $as_dirs"
 4703:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 4704: 
 4705: 
 4706: } # as_fn_mkdir_p
 4707: if mkdir -p . 2>/dev/null; then
 4708:   as_mkdir_p='mkdir -p "$as_dir"'
 4709: else
 4710:   test -d ./-p && rmdir ./-p
 4711:   as_mkdir_p=false
 4712: fi
 4713: 
 4714: 
 4715: # as_fn_executable_p FILE
 4716: # -----------------------
 4717: # Test if FILE is an executable regular file.
 4718: as_fn_executable_p ()
 4719: {
 4720:   test -f "$1" && test -x "$1"
 4721: } # as_fn_executable_p
 4722: as_test_x='test -x'
 4723: as_executable_p=as_fn_executable_p
 4724: 
 4725: # Sed expression to map a string onto a valid CPP name.
 4726: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 4727: 
 4728: # Sed expression to map a string onto a valid variable name.
 4729: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 4730: 
 4731: 
 4732: exec 6>&1
 4733: ## ----------------------------------- ##
 4734: ## Main body of $CONFIG_STATUS script. ##
 4735: ## ----------------------------------- ##
 4736: _ASEOF
 4737: test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
 4738: 
 4739: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 4740: # Save the log message, to keep $0 and so on meaningful, and to
 4741: # report actual input values of CONFIG_FILES etc. instead of their
 4742: # values after options handling.
 4743: ac_log="
 4744: This file was extended by libaitsched $as_me 6.8, which was
 4745: generated by GNU Autoconf 2.69.  Invocation command line was
 4746: 
 4747:   CONFIG_FILES    = $CONFIG_FILES
 4748:   CONFIG_HEADERS  = $CONFIG_HEADERS
 4749:   CONFIG_LINKS    = $CONFIG_LINKS
 4750:   CONFIG_COMMANDS = $CONFIG_COMMANDS
 4751:   $ $0 $@
 4752: 
 4753: on `(hostname || uname -n) 2>/dev/null | sed 1q`
 4754: "
 4755: 
 4756: _ACEOF
 4757: 
 4758: case $ac_config_files in *"
 4759: "*) set x $ac_config_files; shift; ac_config_files=$*;;
 4760: esac
 4761: 
 4762: case $ac_config_headers in *"
 4763: "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
 4764: esac
 4765: 
 4766: 
 4767: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 4768: # Files that config.status was made for.
 4769: config_files="$ac_config_files"
 4770: config_headers="$ac_config_headers"
 4771: 
 4772: _ACEOF
 4773: 
 4774: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 4775: ac_cs_usage="\
 4776: \`$as_me' instantiates files and other configuration actions
 4777: from templates according to the current configuration.  Unless the files
 4778: and actions are specified as TAGs, all are instantiated by default.
 4779: 
 4780: Usage: $0 [OPTION]... [TAG]...
 4781: 
 4782:   -h, --help       print this help, then exit
 4783:   -V, --version    print version number and configuration settings, then exit
 4784:       --config     print configuration, then exit
 4785:   -q, --quiet, --silent
 4786:                    do not print progress messages
 4787:   -d, --debug      don't remove temporary files
 4788:       --recheck    update $as_me by reconfiguring in the same conditions
 4789:       --file=FILE[:TEMPLATE]
 4790:                    instantiate the configuration file FILE
 4791:       --header=FILE[:TEMPLATE]
 4792:                    instantiate the configuration header FILE
 4793: 
 4794: Configuration files:
 4795: $config_files
 4796: 
 4797: Configuration headers:
 4798: $config_headers
 4799: 
 4800: Report bugs to <misho@elwix.org>."
 4801: 
 4802: _ACEOF
 4803: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 4804: ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
 4805: ac_cs_version="\\
 4806: libaitsched config.status 6.8
 4807: configured by $0, generated by GNU Autoconf 2.69,
 4808:   with options \\"\$ac_cs_config\\"
 4809: 
 4810: Copyright (C) 2012 Free Software Foundation, Inc.
 4811: This config.status script is free software; the Free Software Foundation
 4812: gives unlimited permission to copy, distribute and modify it."
 4813: 
 4814: ac_pwd='$ac_pwd'
 4815: srcdir='$srcdir'
 4816: INSTALL='$INSTALL'
 4817: test -n "\$AWK" || AWK=awk
 4818: _ACEOF
 4819: 
 4820: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 4821: # The default lists apply if the user does not specify any file.
 4822: ac_need_defaults=:
 4823: while test $# != 0
 4824: do
 4825:   case $1 in
 4826:   --*=?*)
 4827:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
 4828:     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
 4829:     ac_shift=:
 4830:     ;;
 4831:   --*=)
 4832:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
 4833:     ac_optarg=
 4834:     ac_shift=:
 4835:     ;;
 4836:   *)
 4837:     ac_option=$1
 4838:     ac_optarg=$2
 4839:     ac_shift=shift
 4840:     ;;
 4841:   esac
 4842: 
 4843:   case $ac_option in
 4844:   # Handling of the options.
 4845:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
 4846:     ac_cs_recheck=: ;;
 4847:   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 4848:     $as_echo "$ac_cs_version"; exit ;;
 4849:   --config | --confi | --conf | --con | --co | --c )
 4850:     $as_echo "$ac_cs_config"; exit ;;
 4851:   --debug | --debu | --deb | --de | --d | -d )
 4852:     debug=: ;;
 4853:   --file | --fil | --fi | --f )
 4854:     $ac_shift
 4855:     case $ac_optarg in
 4856:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 4857:     '') as_fn_error $? "missing file argument" ;;
 4858:     esac
 4859:     as_fn_append CONFIG_FILES " '$ac_optarg'"
 4860:     ac_need_defaults=false;;
 4861:   --header | --heade | --head | --hea )
 4862:     $ac_shift
 4863:     case $ac_optarg in
 4864:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 4865:     esac
 4866:     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
 4867:     ac_need_defaults=false;;
 4868:   --he | --h)
 4869:     # Conflict between --help and --header
 4870:     as_fn_error $? "ambiguous option: \`$1'
 4871: Try \`$0 --help' for more information.";;
 4872:   --help | --hel | -h )
 4873:     $as_echo "$ac_cs_usage"; exit ;;
 4874:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 4875:   | -silent | --silent | --silen | --sile | --sil | --si | --s)
 4876:     ac_cs_silent=: ;;
 4877: 
 4878:   # This is an error.
 4879:   -*) as_fn_error $? "unrecognized option: \`$1'
 4880: Try \`$0 --help' for more information." ;;
 4881: 
 4882:   *) as_fn_append ac_config_targets " $1"
 4883:      ac_need_defaults=false ;;
 4884: 
 4885:   esac
 4886:   shift
 4887: done
 4888: 
 4889: ac_configure_extra_args=
 4890: 
 4891: if $ac_cs_silent; then
 4892:   exec 6>/dev/null
 4893:   ac_configure_extra_args="$ac_configure_extra_args --silent"
 4894: fi
 4895: 
 4896: _ACEOF
 4897: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 4898: if \$ac_cs_recheck; then
 4899:   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 4900:   shift
 4901:   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
 4902:   CONFIG_SHELL='$SHELL'
 4903:   export CONFIG_SHELL
 4904:   exec "\$@"
 4905: fi
 4906: 
 4907: _ACEOF
 4908: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 4909: exec 5>>config.log
 4910: {
 4911:   echo
 4912:   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 4913: ## Running $as_me. ##
 4914: _ASBOX
 4915:   $as_echo "$ac_log"
 4916: } >&5
 4917: 
 4918: _ACEOF
 4919: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 4920: _ACEOF
 4921: 
 4922: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 4923: 
 4924: # Handling of arguments.
 4925: for ac_config_target in $ac_config_targets
 4926: do
 4927:   case $ac_config_target in
 4928:     "inc/config.h") CONFIG_HEADERS="$CONFIG_HEADERS inc/config.h" ;;
 4929:     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 4930:     "inc/Makefile") CONFIG_FILES="$CONFIG_FILES inc/Makefile" ;;
 4931:     "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
 4932:     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
 4933: 
 4934:   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
 4935:   esac
 4936: done
 4937: 
 4938: 
 4939: # If the user did not use the arguments to specify the items to instantiate,
 4940: # then the envvar interface is used.  Set only those that are not.
 4941: # We use the long form for the default assignment because of an extremely
 4942: # bizarre bug on SunOS 4.1.3.
 4943: if $ac_need_defaults; then
 4944:   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
 4945:   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
 4946: fi
 4947: 
 4948: # Have a temporary directory for convenience.  Make it in the build tree
 4949: # simply because there is no reason against having it here, and in addition,
 4950: # creating and moving files from /tmp can sometimes cause problems.
 4951: # Hook for its removal unless debugging.
 4952: # Note that there is a small window in which the directory will not be cleaned:
 4953: # after its creation but before its name has been assigned to `$tmp'.
 4954: $debug ||
 4955: {
 4956:   tmp= ac_tmp=
 4957:   trap 'exit_status=$?
 4958:   : "${ac_tmp:=$tmp}"
 4959:   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
 4960: ' 0
 4961:   trap 'as_fn_exit 1' 1 2 13 15
 4962: }
 4963: # Create a (secure) tmp directory for tmp files.
 4964: 
 4965: {
 4966:   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
 4967:   test -d "$tmp"
 4968: }  ||
 4969: {
 4970:   tmp=./conf$$-$RANDOM
 4971:   (umask 077 && mkdir "$tmp")
 4972: } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
 4973: ac_tmp=$tmp
 4974: 
 4975: # Set up the scripts for CONFIG_FILES section.
 4976: # No need to generate them if there are no CONFIG_FILES.
 4977: # This happens for instance with `./config.status config.h'.
 4978: if test -n "$CONFIG_FILES"; then
 4979: 
 4980: 
 4981: ac_cr=`echo X | tr X '\015'`
 4982: # On cygwin, bash can eat \r inside `` if the user requested igncr.
 4983: # But we know of no other shell where ac_cr would be empty at this
 4984: # point, so we can use a bashism as a fallback.
 4985: if test "x$ac_cr" = x; then
 4986:   eval ac_cr=\$\'\\r\'
 4987: fi
 4988: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 4989: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
 4990:   ac_cs_awk_cr='\\r'
 4991: else
 4992:   ac_cs_awk_cr=$ac_cr
 4993: fi
 4994: 
 4995: echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
 4996: _ACEOF
 4997: 
 4998: 
 4999: {
 5000:   echo "cat >conf$$subs.awk <<_ACEOF" &&
 5001:   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
 5002:   echo "_ACEOF"
 5003: } >conf$$subs.sh ||
 5004:   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 5005: ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
 5006: ac_delim='%!_!# '
 5007: for ac_last_try in false false false false false :; do
 5008:   . ./conf$$subs.sh ||
 5009:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 5010: 
 5011:   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
 5012:   if test $ac_delim_n = $ac_delim_num; then
 5013:     break
 5014:   elif $ac_last_try; then
 5015:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 5016:   else
 5017:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 5018:   fi
 5019: done
 5020: rm -f conf$$subs.sh
 5021: 
 5022: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 5023: cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
 5024: _ACEOF
 5025: sed -n '
 5026: h
 5027: s/^/S["/; s/!.*/"]=/
 5028: p
 5029: g
 5030: s/^[^!]*!//
 5031: :repl
 5032: t repl
 5033: s/'"$ac_delim"'$//
 5034: t delim
 5035: :nl
 5036: h
 5037: s/\(.\{148\}\)..*/\1/
 5038: t more1
 5039: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
 5040: p
 5041: n
 5042: b repl
 5043: :more1
 5044: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 5045: p
 5046: g
 5047: s/.\{148\}//
 5048: t nl
 5049: :delim
 5050: h
 5051: s/\(.\{148\}\)..*/\1/
 5052: t more2
 5053: s/["\\]/\\&/g; s/^/"/; s/$/"/
 5054: p
 5055: b
 5056: :more2
 5057: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 5058: p
 5059: g
 5060: s/.\{148\}//
 5061: t delim
 5062: ' <conf$$subs.awk | sed '
 5063: /^[^""]/{
 5064:   N
 5065:   s/\n//
 5066: }
 5067: ' >>$CONFIG_STATUS || ac_write_fail=1
 5068: rm -f conf$$subs.awk
 5069: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 5070: _ACAWK
 5071: cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
 5072:   for (key in S) S_is_set[key] = 1
 5073:   FS = ""
 5074: 
 5075: }
 5076: {
 5077:   line = $ 0
 5078:   nfields = split(line, field, "@")
 5079:   substed = 0
 5080:   len = length(field[1])
 5081:   for (i = 2; i < nfields; i++) {
 5082:     key = field[i]
 5083:     keylen = length(key)
 5084:     if (S_is_set[key]) {
 5085:       value = S[key]
 5086:       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
 5087:       len += length(value) + length(field[++i])
 5088:       substed = 1
 5089:     } else
 5090:       len += 1 + keylen
 5091:   }
 5092: 
 5093:   print line
 5094: }
 5095: 
 5096: _ACAWK
 5097: _ACEOF
 5098: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 5099: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
 5100:   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 5101: else
 5102:   cat
 5103: fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
 5104:   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
 5105: _ACEOF
 5106: 
 5107: # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
 5108: # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
 5109: # trailing colons and then remove the whole line if VPATH becomes empty
 5110: # (actually we leave an empty line to preserve line numbers).
 5111: if test "x$srcdir" = x.; then
 5112:   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
 5113: h
 5114: s///
 5115: s/^/:/
 5116: s/[	 ]*$/:/
 5117: s/:\$(srcdir):/:/g
 5118: s/:\${srcdir}:/:/g
 5119: s/:@srcdir@:/:/g
 5120: s/^:*//
 5121: s/:*$//
 5122: x
 5123: s/\(=[	 ]*\).*/\1/
 5124: G
 5125: s/\n//
 5126: s/^[^=]*=[	 ]*$//
 5127: }'
 5128: fi
 5129: 
 5130: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 5131: fi # test -n "$CONFIG_FILES"
 5132: 
 5133: # Set up the scripts for CONFIG_HEADERS section.
 5134: # No need to generate them if there are no CONFIG_HEADERS.
 5135: # This happens for instance with `./config.status Makefile'.
 5136: if test -n "$CONFIG_HEADERS"; then
 5137: cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
 5138: BEGIN {
 5139: _ACEOF
 5140: 
 5141: # Transform confdefs.h into an awk script `defines.awk', embedded as
 5142: # here-document in config.status, that substitutes the proper values into
 5143: # config.h.in to produce config.h.
 5144: 
 5145: # Create a delimiter string that does not exist in confdefs.h, to ease
 5146: # handling of long lines.
 5147: ac_delim='%!_!# '
 5148: for ac_last_try in false false :; do
 5149:   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
 5150:   if test -z "$ac_tt"; then
 5151:     break
 5152:   elif $ac_last_try; then
 5153:     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
 5154:   else
 5155:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 5156:   fi
 5157: done
 5158: 
 5159: # For the awk script, D is an array of macro values keyed by name,
 5160: # likewise P contains macro parameters if any.  Preserve backslash
 5161: # newline sequences.
 5162: 
 5163: ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 5164: sed -n '
 5165: s/.\{148\}/&'"$ac_delim"'/g
 5166: t rset
 5167: :rset
 5168: s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
 5169: t def
 5170: d
 5171: :def
 5172: s/\\$//
 5173: t bsnl
 5174: s/["\\]/\\&/g
 5175: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
 5176: D["\1"]=" \3"/p
 5177: s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
 5178: d
 5179: :bsnl
 5180: s/["\\]/\\&/g
 5181: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
 5182: D["\1"]=" \3\\\\\\n"\\/p
 5183: t cont
 5184: s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
 5185: t cont
 5186: d
 5187: :cont
 5188: n
 5189: s/.\{148\}/&'"$ac_delim"'/g
 5190: t clear
 5191: :clear
 5192: s/\\$//
 5193: t bsnlc
 5194: s/["\\]/\\&/g; s/^/"/; s/$/"/p
 5195: d
 5196: :bsnlc
 5197: s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
 5198: b cont
 5199: ' <confdefs.h | sed '
 5200: s/'"$ac_delim"'/"\\\
 5201: "/g' >>$CONFIG_STATUS || ac_write_fail=1
 5202: 
 5203: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 5204:   for (key in D) D_is_set[key] = 1
 5205:   FS = ""
 5206: }
 5207: /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
 5208:   line = \$ 0
 5209:   split(line, arg, " ")
 5210:   if (arg[1] == "#") {
 5211:     defundef = arg[2]
 5212:     mac1 = arg[3]
 5213:   } else {
 5214:     defundef = substr(arg[1], 2)
 5215:     mac1 = arg[2]
 5216:   }
 5217:   split(mac1, mac2, "(") #)
 5218:   macro = mac2[1]
 5219:   prefix = substr(line, 1, index(line, defundef) - 1)
 5220:   if (D_is_set[macro]) {
 5221:     # Preserve the white space surrounding the "#".
 5222:     print prefix "define", macro P[macro] D[macro]
 5223:     next
 5224:   } else {
 5225:     # Replace #undef with comments.  This is necessary, for example,
 5226:     # in the case of _POSIX_SOURCE, which is predefined and required
 5227:     # on some systems where configure will not decide to define it.
 5228:     if (defundef == "undef") {
 5229:       print "/*", prefix defundef, macro, "*/"
 5230:       next
 5231:     }
 5232:   }
 5233: }
 5234: { print }
 5235: _ACAWK
 5236: _ACEOF
 5237: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 5238:   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
 5239: fi # test -n "$CONFIG_HEADERS"
 5240: 
 5241: 
 5242: eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    "
 5243: shift
 5244: for ac_tag
 5245: do
 5246:   case $ac_tag in
 5247:   :[FHLC]) ac_mode=$ac_tag; continue;;
 5248:   esac
 5249:   case $ac_mode$ac_tag in
 5250:   :[FHL]*:*);;
 5251:   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
 5252:   :[FH]-) ac_tag=-:-;;
 5253:   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 5254:   esac
 5255:   ac_save_IFS=$IFS
 5256:   IFS=:
 5257:   set x $ac_tag
 5258:   IFS=$ac_save_IFS
 5259:   shift
 5260:   ac_file=$1
 5261:   shift
 5262: 
 5263:   case $ac_mode in
 5264:   :L) ac_source=$1;;
 5265:   :[FH])
 5266:     ac_file_inputs=
 5267:     for ac_f
 5268:     do
 5269:       case $ac_f in
 5270:       -) ac_f="$ac_tmp/stdin";;
 5271:       *) # Look for the file first in the build tree, then in the source tree
 5272: 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
 5273: 	 # because $ac_f cannot contain `:'.
 5274: 	 test -f "$ac_f" ||
 5275: 	   case $ac_f in
 5276: 	   [\\/$]*) false;;
 5277: 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 5278: 	   esac ||
 5279: 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
 5280:       esac
 5281:       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
 5282:       as_fn_append ac_file_inputs " '$ac_f'"
 5283:     done
 5284: 
 5285:     # Let's still pretend it is `configure' which instantiates (i.e., don't
 5286:     # use $as_me), people would be surprised to read:
 5287:     #    /* config.h.  Generated by config.status.  */
 5288:     configure_input='Generated from '`
 5289: 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
 5290: 	`' by configure.'
 5291:     if test x"$ac_file" != x-; then
 5292:       configure_input="$ac_file.  $configure_input"
 5293:       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
 5294: $as_echo "$as_me: creating $ac_file" >&6;}
 5295:     fi
 5296:     # Neutralize special characters interpreted by sed in replacement strings.
 5297:     case $configure_input in #(
 5298:     *\&* | *\|* | *\\* )
 5299:        ac_sed_conf_input=`$as_echo "$configure_input" |
 5300:        sed 's/[\\\\&|]/\\\\&/g'`;; #(
 5301:     *) ac_sed_conf_input=$configure_input;;
 5302:     esac
 5303: 
 5304:     case $ac_tag in
 5305:     *:-:* | *:-) cat >"$ac_tmp/stdin" \
 5306:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
 5307:     esac
 5308:     ;;
 5309:   esac
 5310: 
 5311:   ac_dir=`$as_dirname -- "$ac_file" ||
 5312: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 5313: 	 X"$ac_file" : 'X\(//\)[^/]' \| \
 5314: 	 X"$ac_file" : 'X\(//\)$' \| \
 5315: 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
 5316: $as_echo X"$ac_file" |
 5317:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 5318: 	    s//\1/
 5319: 	    q
 5320: 	  }
 5321: 	  /^X\(\/\/\)[^/].*/{
 5322: 	    s//\1/
 5323: 	    q
 5324: 	  }
 5325: 	  /^X\(\/\/\)$/{
 5326: 	    s//\1/
 5327: 	    q
 5328: 	  }
 5329: 	  /^X\(\/\).*/{
 5330: 	    s//\1/
 5331: 	    q
 5332: 	  }
 5333: 	  s/.*/./; q'`
 5334:   as_dir="$ac_dir"; as_fn_mkdir_p
 5335:   ac_builddir=.
 5336: 
 5337: case "$ac_dir" in
 5338: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 5339: *)
 5340:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 5341:   # A ".." for each directory in $ac_dir_suffix.
 5342:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 5343:   case $ac_top_builddir_sub in
 5344:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 5345:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 5346:   esac ;;
 5347: esac
 5348: ac_abs_top_builddir=$ac_pwd
 5349: ac_abs_builddir=$ac_pwd$ac_dir_suffix
 5350: # for backward compatibility:
 5351: ac_top_builddir=$ac_top_build_prefix
 5352: 
 5353: case $srcdir in
 5354:   .)  # We are building in place.
 5355:     ac_srcdir=.
 5356:     ac_top_srcdir=$ac_top_builddir_sub
 5357:     ac_abs_top_srcdir=$ac_pwd ;;
 5358:   [\\/]* | ?:[\\/]* )  # Absolute name.
 5359:     ac_srcdir=$srcdir$ac_dir_suffix;
 5360:     ac_top_srcdir=$srcdir
 5361:     ac_abs_top_srcdir=$srcdir ;;
 5362:   *) # Relative name.
 5363:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 5364:     ac_top_srcdir=$ac_top_build_prefix$srcdir
 5365:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 5366: esac
 5367: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 5368: 
 5369: 
 5370:   case $ac_mode in
 5371:   :F)
 5372:   #
 5373:   # CONFIG_FILE
 5374:   #
 5375: 
 5376:   case $INSTALL in
 5377:   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
 5378:   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
 5379:   esac
 5380: _ACEOF
 5381: 
 5382: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 5383: # If the template does not know about datarootdir, expand it.
 5384: # FIXME: This hack should be removed a few years after 2.60.
 5385: ac_datarootdir_hack=; ac_datarootdir_seen=
 5386: ac_sed_dataroot='
 5387: /datarootdir/ {
 5388:   p
 5389:   q
 5390: }
 5391: /@datadir@/p
 5392: /@docdir@/p
 5393: /@infodir@/p
 5394: /@localedir@/p
 5395: /@mandir@/p'
 5396: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
 5397: *datarootdir*) ac_datarootdir_seen=yes;;
 5398: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 5399:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 5400: $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 5401: _ACEOF
 5402: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 5403:   ac_datarootdir_hack='
 5404:   s&@datadir@&$datadir&g
 5405:   s&@docdir@&$docdir&g
 5406:   s&@infodir@&$infodir&g
 5407:   s&@localedir@&$localedir&g
 5408:   s&@mandir@&$mandir&g
 5409:   s&\\\${datarootdir}&$datarootdir&g' ;;
 5410: esac
 5411: _ACEOF
 5412: 
 5413: # Neutralize VPATH when `$srcdir' = `.'.
 5414: # Shell code in configure.ac might set extrasub.
 5415: # FIXME: do we really want to maintain this feature?
 5416: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 5417: ac_sed_extra="$ac_vpsub
 5418: $extrasub
 5419: _ACEOF
 5420: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 5421: :t
 5422: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 5423: s|@configure_input@|$ac_sed_conf_input|;t t
 5424: s&@top_builddir@&$ac_top_builddir_sub&;t t
 5425: s&@top_build_prefix@&$ac_top_build_prefix&;t t
 5426: s&@srcdir@&$ac_srcdir&;t t
 5427: s&@abs_srcdir@&$ac_abs_srcdir&;t t
 5428: s&@top_srcdir@&$ac_top_srcdir&;t t
 5429: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 5430: s&@builddir@&$ac_builddir&;t t
 5431: s&@abs_builddir@&$ac_abs_builddir&;t t
 5432: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 5433: s&@INSTALL@&$ac_INSTALL&;t t
 5434: $ac_datarootdir_hack
 5435: "
 5436: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
 5437:   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 5438: 
 5439: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 5440:   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
 5441:   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
 5442:       "$ac_tmp/out"`; test -z "$ac_out"; } &&
 5443:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 5444: which seems to be undefined.  Please make sure it is defined" >&5
 5445: $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 5446: which seems to be undefined.  Please make sure it is defined" >&2;}
 5447: 
 5448:   rm -f "$ac_tmp/stdin"
 5449:   case $ac_file in
 5450:   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
 5451:   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
 5452:   esac \
 5453:   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 5454:  ;;
 5455:   :H)
 5456:   #
 5457:   # CONFIG_HEADER
 5458:   #
 5459:   if test x"$ac_file" != x-; then
 5460:     {
 5461:       $as_echo "/* $configure_input  */" \
 5462:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
 5463:     } >"$ac_tmp/config.h" \
 5464:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 5465:     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
 5466:       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
 5467: $as_echo "$as_me: $ac_file is unchanged" >&6;}
 5468:     else
 5469:       rm -f "$ac_file"
 5470:       mv "$ac_tmp/config.h" "$ac_file" \
 5471: 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
 5472:     fi
 5473:   else
 5474:     $as_echo "/* $configure_input  */" \
 5475:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
 5476:       || as_fn_error $? "could not create -" "$LINENO" 5
 5477:   fi
 5478:  ;;
 5479: 
 5480: 
 5481:   esac
 5482: 
 5483: done # for ac_tag
 5484: 
 5485: 
 5486: as_fn_exit 0
 5487: _ACEOF
 5488: ac_clean_files=$ac_clean_files_save
 5489: 
 5490: test $ac_write_fail = 0 ||
 5491:   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
 5492: 
 5493: 
 5494: # configure is writing to config.log, and then calls config.status.
 5495: # config.status does its own redirection, appending to config.log.
 5496: # Unfortunately, on DOS this fails, as config.log is still kept open
 5497: # by configure, so config.status won't be able to write to it; its
 5498: # output is simply discarded.  So we exec the FD to /dev/null,
 5499: # effectively closing config.log, so it can be properly (re)opened and
 5500: # appended to by config.status.  When coming back to configure, we
 5501: # need to make the FD available again.
 5502: if test "$no_create" != yes; then
 5503:   ac_cs_success=:
 5504:   ac_config_status_args=
 5505:   test "$silent" = yes &&
 5506:     ac_config_status_args="$ac_config_status_args --quiet"
 5507:   exec 5>/dev/null
 5508:   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
 5509:   exec 5>>config.log
 5510:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
 5511:   # would make configure fail if this is the last instruction.
 5512:   $ac_cs_success || as_fn_exit 1
 5513: fi
 5514: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
 5515:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 5516: $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
 5517: fi
 5518: 

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