File:  [ELWIX - Embedded LightWeight unIX -] / libaitcli / configure
Revision 1.5: download - view: text, annotated - select for diffs - revision graph
Sun Jul 22 22:37:08 2012 UTC (11 years, 10 months ago) by misho
Branches: MAIN
CVS tags: cli2_3, HEAD, CLI2_2
version 2.2

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

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