File:  [ELWIX - Embedded LightWeight unIX -] / libaitcfg / configure
Revision 1.7: download - view: text, annotated - select for diffs - revision graph
Sun Jul 22 21:54:47 2012 UTC (11 years, 9 months ago) by misho
Branches: MAIN
CVS tags: cfg5_2, HEAD, CFG5_1
version 5.1

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

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