File:  [ELWIX - Embedded LightWeight unIX -] / libaitcfg / configure
Revision 1.5.2.1: download - view: text, annotated - select for diffs - revision graph
Sun May 1 17:25:56 2011 UTC (13 years ago) by misho
Branches: cfg4_1
Diff to: branchpoint 1.5: preferred, unified
new 4.1

    1: #! /bin/sh
    2: # Guess values for system-dependent variables and create Makefiles.
    3: # Generated by GNU Autoconf 2.68 for libaitcfg 4.1.
    4: #
    5: # Report bugs to <misho@openbsd-bg.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
  242: $0: misho@openbsd-bg.org about your system, including any
  243: $0: error possibly output before this message. Then install
  244: $0: a modern shell, or manually run the script under such a
  245: $0: shell if you do 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='4.1'
  564: PACKAGE_STRING='libaitcfg 4.1'
  565: PACKAGE_BUGREPORT='misho@openbsd-bg.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 4.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 4.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@openbsd-bg.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 4.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@openbsd-bg.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 4.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 io_TrimStr in -laitio" >&5
 3225: $as_echo_n "checking for io_TrimStr in -laitio... " >&6; }
 3226: if ${ac_cv_lib_aitio_io_TrimStr+:} false; then :
 3227:   $as_echo_n "(cached) " >&6
 3228: else
 3229:   ac_check_lib_save_LIBS=$LIBS
 3230: LIBS="-laitio  $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 io_TrimStr ();
 3241: int
 3242: main ()
 3243: {
 3244: return io_TrimStr ();
 3245:   ;
 3246:   return 0;
 3247: }
 3248: _ACEOF
 3249: if ac_fn_c_try_link "$LINENO"; then :
 3250:   ac_cv_lib_aitio_io_TrimStr=yes
 3251: else
 3252:   ac_cv_lib_aitio_io_TrimStr=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_aitio_io_TrimStr" >&5
 3259: $as_echo "$ac_cv_lib_aitio_io_TrimStr" >&6; }
 3260: if test "x$ac_cv_lib_aitio_io_TrimStr" = xyes; then :
 3261:   cat >>confdefs.h <<_ACEOF
 3262: #define HAVE_LIBAITIO 1
 3263: _ACEOF
 3264: 
 3265:   LIBS="-laitio $LIBS"
 3266: 
 3267: fi
 3268: 
 3269: 
 3270: # Checks for header files.
 3271: 
 3272: # Checks for typedefs, structures, and compiler characteristics.
 3273: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
 3274: $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
 3275: if ${ac_cv_c_const+:} false; then :
 3276:   $as_echo_n "(cached) " >&6
 3277: else
 3278:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3279: /* end confdefs.h.  */
 3280: 
 3281: int
 3282: main ()
 3283: {
 3284: /* FIXME: Include the comments suggested by Paul. */
 3285: #ifndef __cplusplus
 3286:   /* Ultrix mips cc rejects this.  */
 3287:   typedef int charset[2];
 3288:   const charset cs;
 3289:   /* SunOS 4.1.1 cc rejects this.  */
 3290:   char const *const *pcpcc;
 3291:   char **ppc;
 3292:   /* NEC SVR4.0.2 mips cc rejects this.  */
 3293:   struct point {int x, y;};
 3294:   static struct point const zero = {0,0};
 3295:   /* AIX XL C 1.02.0.0 rejects this.
 3296:      It does not let you subtract one const X* pointer from another in
 3297:      an arm of an if-expression whose if-part is not a constant
 3298:      expression */
 3299:   const char *g = "string";
 3300:   pcpcc = &g + (g ? g-g : 0);
 3301:   /* HPUX 7.0 cc rejects these. */
 3302:   ++pcpcc;
 3303:   ppc = (char**) pcpcc;
 3304:   pcpcc = (char const *const *) ppc;
 3305:   { /* SCO 3.2v4 cc rejects this.  */
 3306:     char *t;
 3307:     char const *s = 0 ? (char *) 0 : (char const *) 0;
 3308: 
 3309:     *t++ = 0;
 3310:     if (s) return 0;
 3311:   }
 3312:   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
 3313:     int x[] = {25, 17};
 3314:     const int *foo = &x[0];
 3315:     ++foo;
 3316:   }
 3317:   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
 3318:     typedef const int *iptr;
 3319:     iptr p = 0;
 3320:     ++p;
 3321:   }
 3322:   { /* AIX XL C 1.02.0.0 rejects this saying
 3323:        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
 3324:     struct s { int j; const int *ap[3]; };
 3325:     struct s *b; b->j = 5;
 3326:   }
 3327:   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
 3328:     const int foo = 10;
 3329:     if (!foo) return 0;
 3330:   }
 3331:   return !cs[0] && !zero.x;
 3332: #endif
 3333: 
 3334:   ;
 3335:   return 0;
 3336: }
 3337: _ACEOF
 3338: if ac_fn_c_try_compile "$LINENO"; then :
 3339:   ac_cv_c_const=yes
 3340: else
 3341:   ac_cv_c_const=no
 3342: fi
 3343: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3344: fi
 3345: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
 3346: $as_echo "$ac_cv_c_const" >&6; }
 3347: if test $ac_cv_c_const = no; then
 3348: 
 3349: $as_echo "#define const /**/" >>confdefs.h
 3350: 
 3351: fi
 3352: 
 3353: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
 3354: $as_echo_n "checking for inline... " >&6; }
 3355: if ${ac_cv_c_inline+:} false; then :
 3356:   $as_echo_n "(cached) " >&6
 3357: else
 3358:   ac_cv_c_inline=no
 3359: for ac_kw in inline __inline__ __inline; do
 3360:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3361: /* end confdefs.h.  */
 3362: #ifndef __cplusplus
 3363: typedef int foo_t;
 3364: static $ac_kw foo_t static_foo () {return 0; }
 3365: $ac_kw foo_t foo () {return 0; }
 3366: #endif
 3367: 
 3368: _ACEOF
 3369: if ac_fn_c_try_compile "$LINENO"; then :
 3370:   ac_cv_c_inline=$ac_kw
 3371: fi
 3372: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3373:   test "$ac_cv_c_inline" != no && break
 3374: done
 3375: 
 3376: fi
 3377: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
 3378: $as_echo "$ac_cv_c_inline" >&6; }
 3379: 
 3380: case $ac_cv_c_inline in
 3381:   inline | yes) ;;
 3382:   *)
 3383:     case $ac_cv_c_inline in
 3384:       no) ac_val=;;
 3385:       *) ac_val=$ac_cv_c_inline;;
 3386:     esac
 3387:     cat >>confdefs.h <<_ACEOF
 3388: #ifndef __cplusplus
 3389: #define inline $ac_val
 3390: #endif
 3391: _ACEOF
 3392:     ;;
 3393: esac
 3394: 
 3395: 
 3396: # Checks for library functions.
 3397: ac_ext=c
 3398: ac_cpp='$CPP $CPPFLAGS'
 3399: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 3400: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 3401: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 3402: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
 3403: $as_echo_n "checking how to run the C preprocessor... " >&6; }
 3404: # On Suns, sometimes $CPP names a directory.
 3405: if test -n "$CPP" && test -d "$CPP"; then
 3406:   CPP=
 3407: fi
 3408: if test -z "$CPP"; then
 3409:   if ${ac_cv_prog_CPP+:} false; then :
 3410:   $as_echo_n "(cached) " >&6
 3411: else
 3412:       # Double quotes because CPP needs to be expanded
 3413:     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 3414:     do
 3415:       ac_preproc_ok=false
 3416: for ac_c_preproc_warn_flag in '' yes
 3417: do
 3418:   # Use a header file that comes with gcc, so configuring glibc
 3419:   # with a fresh cross-compiler works.
 3420:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 3421:   # <limits.h> exists even on freestanding compilers.
 3422:   # On the NeXT, cc -E runs the code through the compiler's parser,
 3423:   # not just through cpp. "Syntax error" is here to catch this case.
 3424:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3425: /* end confdefs.h.  */
 3426: #ifdef __STDC__
 3427: # include <limits.h>
 3428: #else
 3429: # include <assert.h>
 3430: #endif
 3431: 		     Syntax error
 3432: _ACEOF
 3433: if ac_fn_c_try_cpp "$LINENO"; then :
 3434: 
 3435: else
 3436:   # Broken: fails on valid input.
 3437: continue
 3438: fi
 3439: rm -f conftest.err conftest.i conftest.$ac_ext
 3440: 
 3441:   # OK, works on sane cases.  Now check whether nonexistent headers
 3442:   # can be detected and how.
 3443:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3444: /* end confdefs.h.  */
 3445: #include <ac_nonexistent.h>
 3446: _ACEOF
 3447: if ac_fn_c_try_cpp "$LINENO"; then :
 3448:   # Broken: success on invalid input.
 3449: continue
 3450: else
 3451:   # Passes both tests.
 3452: ac_preproc_ok=:
 3453: break
 3454: fi
 3455: rm -f conftest.err conftest.i conftest.$ac_ext
 3456: 
 3457: done
 3458: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 3459: rm -f conftest.i conftest.err conftest.$ac_ext
 3460: if $ac_preproc_ok; then :
 3461:   break
 3462: fi
 3463: 
 3464:     done
 3465:     ac_cv_prog_CPP=$CPP
 3466: 
 3467: fi
 3468:   CPP=$ac_cv_prog_CPP
 3469: else
 3470:   ac_cv_prog_CPP=$CPP
 3471: fi
 3472: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
 3473: $as_echo "$CPP" >&6; }
 3474: ac_preproc_ok=false
 3475: for ac_c_preproc_warn_flag in '' yes
 3476: do
 3477:   # Use a header file that comes with gcc, so configuring glibc
 3478:   # with a fresh cross-compiler works.
 3479:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 3480:   # <limits.h> exists even on freestanding compilers.
 3481:   # On the NeXT, cc -E runs the code through the compiler's parser,
 3482:   # not just through cpp. "Syntax error" is here to catch this case.
 3483:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3484: /* end confdefs.h.  */
 3485: #ifdef __STDC__
 3486: # include <limits.h>
 3487: #else
 3488: # include <assert.h>
 3489: #endif
 3490: 		     Syntax error
 3491: _ACEOF
 3492: if ac_fn_c_try_cpp "$LINENO"; then :
 3493: 
 3494: else
 3495:   # Broken: fails on valid input.
 3496: continue
 3497: fi
 3498: rm -f conftest.err conftest.i conftest.$ac_ext
 3499: 
 3500:   # OK, works on sane cases.  Now check whether nonexistent headers
 3501:   # can be detected and how.
 3502:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3503: /* end confdefs.h.  */
 3504: #include <ac_nonexistent.h>
 3505: _ACEOF
 3506: if ac_fn_c_try_cpp "$LINENO"; then :
 3507:   # Broken: success on invalid input.
 3508: continue
 3509: else
 3510:   # Passes both tests.
 3511: ac_preproc_ok=:
 3512: break
 3513: fi
 3514: rm -f conftest.err conftest.i conftest.$ac_ext
 3515: 
 3516: done
 3517: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 3518: rm -f conftest.i conftest.err conftest.$ac_ext
 3519: if $ac_preproc_ok; then :
 3520: 
 3521: else
 3522:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3523: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3524: as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
 3525: See \`config.log' for more details" "$LINENO" 5; }
 3526: fi
 3527: 
 3528: ac_ext=c
 3529: ac_cpp='$CPP $CPPFLAGS'
 3530: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 3531: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 3532: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 3533: 
 3534: 
 3535: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
 3536: $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 3537: if ${ac_cv_path_GREP+:} false; then :
 3538:   $as_echo_n "(cached) " >&6
 3539: else
 3540:   if test -z "$GREP"; then
 3541:   ac_path_GREP_found=false
 3542:   # Loop through the user's path and test for each of PROGNAME-LIST
 3543:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3544: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 3545: do
 3546:   IFS=$as_save_IFS
 3547:   test -z "$as_dir" && as_dir=.
 3548:     for ac_prog in grep ggrep; do
 3549:     for ac_exec_ext in '' $ac_executable_extensions; do
 3550:       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 3551:       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 3552: # Check for GNU ac_path_GREP and select it if it is found.
 3553:   # Check for GNU $ac_path_GREP
 3554: case `"$ac_path_GREP" --version 2>&1` in
 3555: *GNU*)
 3556:   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 3557: *)
 3558:   ac_count=0
 3559:   $as_echo_n 0123456789 >"conftest.in"
 3560:   while :
 3561:   do
 3562:     cat "conftest.in" "conftest.in" >"conftest.tmp"
 3563:     mv "conftest.tmp" "conftest.in"
 3564:     cp "conftest.in" "conftest.nl"
 3565:     $as_echo 'GREP' >> "conftest.nl"
 3566:     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 3567:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 3568:     as_fn_arith $ac_count + 1 && ac_count=$as_val
 3569:     if test $ac_count -gt ${ac_path_GREP_max-0}; then
 3570:       # Best one so far, save it but keep looking for a better one
 3571:       ac_cv_path_GREP="$ac_path_GREP"
 3572:       ac_path_GREP_max=$ac_count
 3573:     fi
 3574:     # 10*(2^10) chars as input seems more than enough
 3575:     test $ac_count -gt 10 && break
 3576:   done
 3577:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 3578: esac
 3579: 
 3580:       $ac_path_GREP_found && break 3
 3581:     done
 3582:   done
 3583:   done
 3584: IFS=$as_save_IFS
 3585:   if test -z "$ac_cv_path_GREP"; then
 3586:     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 3587:   fi
 3588: else
 3589:   ac_cv_path_GREP=$GREP
 3590: fi
 3591: 
 3592: fi
 3593: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
 3594: $as_echo "$ac_cv_path_GREP" >&6; }
 3595:  GREP="$ac_cv_path_GREP"
 3596: 
 3597: 
 3598: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
 3599: $as_echo_n "checking for egrep... " >&6; }
 3600: if ${ac_cv_path_EGREP+:} false; then :
 3601:   $as_echo_n "(cached) " >&6
 3602: else
 3603:   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 3604:    then ac_cv_path_EGREP="$GREP -E"
 3605:    else
 3606:      if test -z "$EGREP"; then
 3607:   ac_path_EGREP_found=false
 3608:   # Loop through the user's path and test for each of PROGNAME-LIST
 3609:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3610: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 3611: do
 3612:   IFS=$as_save_IFS
 3613:   test -z "$as_dir" && as_dir=.
 3614:     for ac_prog in egrep; do
 3615:     for ac_exec_ext in '' $ac_executable_extensions; do
 3616:       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 3617:       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 3618: # Check for GNU ac_path_EGREP and select it if it is found.
 3619:   # Check for GNU $ac_path_EGREP
 3620: case `"$ac_path_EGREP" --version 2>&1` in
 3621: *GNU*)
 3622:   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 3623: *)
 3624:   ac_count=0
 3625:   $as_echo_n 0123456789 >"conftest.in"
 3626:   while :
 3627:   do
 3628:     cat "conftest.in" "conftest.in" >"conftest.tmp"
 3629:     mv "conftest.tmp" "conftest.in"
 3630:     cp "conftest.in" "conftest.nl"
 3631:     $as_echo 'EGREP' >> "conftest.nl"
 3632:     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 3633:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 3634:     as_fn_arith $ac_count + 1 && ac_count=$as_val
 3635:     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 3636:       # Best one so far, save it but keep looking for a better one
 3637:       ac_cv_path_EGREP="$ac_path_EGREP"
 3638:       ac_path_EGREP_max=$ac_count
 3639:     fi
 3640:     # 10*(2^10) chars as input seems more than enough
 3641:     test $ac_count -gt 10 && break
 3642:   done
 3643:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 3644: esac
 3645: 
 3646:       $ac_path_EGREP_found && break 3
 3647:     done
 3648:   done
 3649:   done
 3650: IFS=$as_save_IFS
 3651:   if test -z "$ac_cv_path_EGREP"; then
 3652:     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 3653:   fi
 3654: else
 3655:   ac_cv_path_EGREP=$EGREP
 3656: fi
 3657: 
 3658:    fi
 3659: fi
 3660: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
 3661: $as_echo "$ac_cv_path_EGREP" >&6; }
 3662:  EGREP="$ac_cv_path_EGREP"
 3663: 
 3664: 
 3665: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 3666: $as_echo_n "checking for ANSI C header files... " >&6; }
 3667: if ${ac_cv_header_stdc+:} false; then :
 3668:   $as_echo_n "(cached) " >&6
 3669: else
 3670:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3671: /* end confdefs.h.  */
 3672: #include <stdlib.h>
 3673: #include <stdarg.h>
 3674: #include <string.h>
 3675: #include <float.h>
 3676: 
 3677: int
 3678: main ()
 3679: {
 3680: 
 3681:   ;
 3682:   return 0;
 3683: }
 3684: _ACEOF
 3685: if ac_fn_c_try_compile "$LINENO"; then :
 3686:   ac_cv_header_stdc=yes
 3687: else
 3688:   ac_cv_header_stdc=no
 3689: fi
 3690: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3691: 
 3692: if test $ac_cv_header_stdc = yes; then
 3693:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 3694:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3695: /* end confdefs.h.  */
 3696: #include <string.h>
 3697: 
 3698: _ACEOF
 3699: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 3700:   $EGREP "memchr" >/dev/null 2>&1; then :
 3701: 
 3702: else
 3703:   ac_cv_header_stdc=no
 3704: fi
 3705: rm -f conftest*
 3706: 
 3707: fi
 3708: 
 3709: if test $ac_cv_header_stdc = yes; then
 3710:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 3711:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3712: /* end confdefs.h.  */
 3713: #include <stdlib.h>
 3714: 
 3715: _ACEOF
 3716: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 3717:   $EGREP "free" >/dev/null 2>&1; then :
 3718: 
 3719: else
 3720:   ac_cv_header_stdc=no
 3721: fi
 3722: rm -f conftest*
 3723: 
 3724: fi
 3725: 
 3726: if test $ac_cv_header_stdc = yes; then
 3727:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 3728:   if test "$cross_compiling" = yes; then :
 3729:   :
 3730: else
 3731:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3732: /* end confdefs.h.  */
 3733: #include <ctype.h>
 3734: #include <stdlib.h>
 3735: #if ((' ' & 0x0FF) == 0x020)
 3736: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 3737: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 3738: #else
 3739: # define ISLOWER(c) \
 3740: 		   (('a' <= (c) && (c) <= 'i') \
 3741: 		     || ('j' <= (c) && (c) <= 'r') \
 3742: 		     || ('s' <= (c) && (c) <= 'z'))
 3743: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 3744: #endif
 3745: 
 3746: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 3747: int
 3748: main ()
 3749: {
 3750:   int i;
 3751:   for (i = 0; i < 256; i++)
 3752:     if (XOR (islower (i), ISLOWER (i))
 3753: 	|| toupper (i) != TOUPPER (i))
 3754:       return 2;
 3755:   return 0;
 3756: }
 3757: _ACEOF
 3758: if ac_fn_c_try_run "$LINENO"; then :
 3759: 
 3760: else
 3761:   ac_cv_header_stdc=no
 3762: fi
 3763: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 3764:   conftest.$ac_objext conftest.beam conftest.$ac_ext
 3765: fi
 3766: 
 3767: fi
 3768: fi
 3769: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
 3770: $as_echo "$ac_cv_header_stdc" >&6; }
 3771: if test $ac_cv_header_stdc = yes; then
 3772: 
 3773: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
 3774: 
 3775: fi
 3776: 
 3777: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
 3778: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 3779: 		  inttypes.h stdint.h unistd.h
 3780: do :
 3781:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 3782: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 3783: "
 3784: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 3785:   cat >>confdefs.h <<_ACEOF
 3786: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 3787: _ACEOF
 3788: 
 3789: fi
 3790: 
 3791: done
 3792: 
 3793: 
 3794: for ac_header in stdlib.h
 3795: do :
 3796:   ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
 3797: if test "x$ac_cv_header_stdlib_h" = xyes; then :
 3798:   cat >>confdefs.h <<_ACEOF
 3799: #define HAVE_STDLIB_H 1
 3800: _ACEOF
 3801: 
 3802: fi
 3803: 
 3804: done
 3805: 
 3806: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
 3807: $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
 3808: if ${ac_cv_func_malloc_0_nonnull+:} false; then :
 3809:   $as_echo_n "(cached) " >&6
 3810: else
 3811:   if test "$cross_compiling" = yes; then :
 3812:   ac_cv_func_malloc_0_nonnull=no
 3813: else
 3814:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3815: /* end confdefs.h.  */
 3816: #if defined STDC_HEADERS || defined HAVE_STDLIB_H
 3817: # include <stdlib.h>
 3818: #else
 3819: char *malloc ();
 3820: #endif
 3821: 
 3822: int
 3823: main ()
 3824: {
 3825: return ! malloc (0);
 3826:   ;
 3827:   return 0;
 3828: }
 3829: _ACEOF
 3830: if ac_fn_c_try_run "$LINENO"; then :
 3831:   ac_cv_func_malloc_0_nonnull=yes
 3832: else
 3833:   ac_cv_func_malloc_0_nonnull=no
 3834: fi
 3835: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 3836:   conftest.$ac_objext conftest.beam conftest.$ac_ext
 3837: fi
 3838: 
 3839: fi
 3840: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
 3841: $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
 3842: if test $ac_cv_func_malloc_0_nonnull = yes; then :
 3843: 
 3844: $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
 3845: 
 3846: else
 3847:   $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
 3848: 
 3849:    case " $LIBOBJS " in
 3850:   *" malloc.$ac_objext "* ) ;;
 3851:   *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
 3852:  ;;
 3853: esac
 3854: 
 3855: 
 3856: $as_echo "#define malloc rpl_malloc" >>confdefs.h
 3857: 
 3858: fi
 3859: 
 3860: 
 3861: for ac_header in stdlib.h
 3862: do :
 3863:   ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
 3864: if test "x$ac_cv_header_stdlib_h" = xyes; then :
 3865:   cat >>confdefs.h <<_ACEOF
 3866: #define HAVE_STDLIB_H 1
 3867: _ACEOF
 3868: 
 3869: fi
 3870: 
 3871: done
 3872: 
 3873: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
 3874: $as_echo_n "checking for GNU libc compatible realloc... " >&6; }
 3875: if ${ac_cv_func_realloc_0_nonnull+:} false; then :
 3876:   $as_echo_n "(cached) " >&6
 3877: else
 3878:   if test "$cross_compiling" = yes; then :
 3879:   ac_cv_func_realloc_0_nonnull=no
 3880: else
 3881:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3882: /* end confdefs.h.  */
 3883: #if defined STDC_HEADERS || defined HAVE_STDLIB_H
 3884: # include <stdlib.h>
 3885: #else
 3886: char *realloc ();
 3887: #endif
 3888: 
 3889: int
 3890: main ()
 3891: {
 3892: return ! realloc (0, 0);
 3893:   ;
 3894:   return 0;
 3895: }
 3896: _ACEOF
 3897: if ac_fn_c_try_run "$LINENO"; then :
 3898:   ac_cv_func_realloc_0_nonnull=yes
 3899: else
 3900:   ac_cv_func_realloc_0_nonnull=no
 3901: fi
 3902: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 3903:   conftest.$ac_objext conftest.beam conftest.$ac_ext
 3904: fi
 3905: 
 3906: fi
 3907: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
 3908: $as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
 3909: if test $ac_cv_func_realloc_0_nonnull = yes; then :
 3910: 
 3911: $as_echo "#define HAVE_REALLOC 1" >>confdefs.h
 3912: 
 3913: else
 3914:   $as_echo "#define HAVE_REALLOC 0" >>confdefs.h
 3915: 
 3916:    case " $LIBOBJS " in
 3917:   *" realloc.$ac_objext "* ) ;;
 3918:   *) LIBOBJS="$LIBOBJS realloc.$ac_objext"
 3919:  ;;
 3920: esac
 3921: 
 3922: 
 3923: $as_echo "#define realloc rpl_realloc" >>confdefs.h
 3924: 
 3925: fi
 3926: 
 3927: 
 3928: for ac_func in bzero memmove memset strchr strspn
 3929: do :
 3930:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 3931: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
 3932: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
 3933:   cat >>confdefs.h <<_ACEOF
 3934: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 3935: _ACEOF
 3936: 
 3937: fi
 3938: done
 3939: 
 3940: 
 3941: DEBUG=no
 3942: { $as_echo "$as_me:${as_lineno-$LINENO}: checking Debug Build" >&5
 3943: $as_echo_n "checking Debug Build... " >&6; }
 3944: # Check whether --enable-debug was given.
 3945: if test "${enable_debug+set}" = set; then :
 3946:   enableval=$enable_debug;  DEBUG=$enableval
 3947: 		case "$enableval" in
 3948: 			yes)
 3949: 
 3950: $as_echo "#define __DEBUG /**/" >>confdefs.h
 3951: 
 3952: 				CFLAGS="-g ${CFLAGS}"
 3953: 				;;
 3954: 			*)
 3955: 				;;
 3956: 		esac
 3957: fi
 3958: 
 3959: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DEBUG" >&5
 3960: $as_echo "$DEBUG" >&6; }
 3961: 
 3962: ac_config_files="$ac_config_files Makefile inc/Makefile lib/Makefile src/Makefile"
 3963: 
 3964: cat >confcache <<\_ACEOF
 3965: # This file is a shell script that caches the results of configure
 3966: # tests run on this system so they can be shared between configure
 3967: # scripts and configure runs, see configure's option --config-cache.
 3968: # It is not useful on other systems.  If it contains results you don't
 3969: # want to keep, you may remove or edit it.
 3970: #
 3971: # config.status only pays attention to the cache file if you give it
 3972: # the --recheck option to rerun configure.
 3973: #
 3974: # `ac_cv_env_foo' variables (set or unset) will be overridden when
 3975: # loading this file, other *unset* `ac_cv_foo' will be assigned the
 3976: # following values.
 3977: 
 3978: _ACEOF
 3979: 
 3980: # The following way of writing the cache mishandles newlines in values,
 3981: # but we know of no workaround that is simple, portable, and efficient.
 3982: # So, we kill variables containing newlines.
 3983: # Ultrix sh set writes to stderr and can't be redirected directly,
 3984: # and sets the high bit in the cache file unless we assign to the vars.
 3985: (
 3986:   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 3987:     eval ac_val=\$$ac_var
 3988:     case $ac_val in #(
 3989:     *${as_nl}*)
 3990:       case $ac_var in #(
 3991:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 3992: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 3993:       esac
 3994:       case $ac_var in #(
 3995:       _ | IFS | as_nl) ;; #(
 3996:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 3997:       *) { eval $ac_var=; unset $ac_var;} ;;
 3998:       esac ;;
 3999:     esac
 4000:   done
 4001: 
 4002:   (set) 2>&1 |
 4003:     case $as_nl`(ac_space=' '; set) 2>&1` in #(
 4004:     *${as_nl}ac_space=\ *)
 4005:       # `set' does not quote correctly, so add quotes: double-quote
 4006:       # substitution turns \\\\ into \\, and sed turns \\ into \.
 4007:       sed -n \
 4008: 	"s/'/'\\\\''/g;
 4009: 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 4010:       ;; #(
 4011:     *)
 4012:       # `set' quotes correctly as required by POSIX, so do not add quotes.
 4013:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 4014:       ;;
 4015:     esac |
 4016:     sort
 4017: ) |
 4018:   sed '
 4019:      /^ac_cv_env_/b end
 4020:      t clear
 4021:      :clear
 4022:      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
 4023:      t end
 4024:      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 4025:      :end' >>confcache
 4026: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 4027:   if test -w "$cache_file"; then
 4028:     if test "x$cache_file" != "x/dev/null"; then
 4029:       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
 4030: $as_echo "$as_me: updating cache $cache_file" >&6;}
 4031:       if test ! -f "$cache_file" || test -h "$cache_file"; then
 4032: 	cat confcache >"$cache_file"
 4033:       else
 4034:         case $cache_file in #(
 4035:         */* | ?:*)
 4036: 	  mv -f confcache "$cache_file"$$ &&
 4037: 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
 4038:         *)
 4039: 	  mv -f confcache "$cache_file" ;;
 4040: 	esac
 4041:       fi
 4042:     fi
 4043:   else
 4044:     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
 4045: $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 4046:   fi
 4047: fi
 4048: rm -f confcache
 4049: 
 4050: test "x$prefix" = xNONE && prefix=$ac_default_prefix
 4051: # Let make expand exec_prefix.
 4052: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
 4053: 
 4054: DEFS=-DHAVE_CONFIG_H
 4055: 
 4056: ac_libobjs=
 4057: ac_ltlibobjs=
 4058: U=
 4059: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
 4060:   # 1. Remove the extension, and $U if already installed.
 4061:   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 4062:   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
 4063:   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 4064:   #    will be set to the directory where LIBOBJS objects are built.
 4065:   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 4066:   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
 4067: done
 4068: LIBOBJS=$ac_libobjs
 4069: 
 4070: LTLIBOBJS=$ac_ltlibobjs
 4071: 
 4072: 
 4073: 
 4074: : "${CONFIG_STATUS=./config.status}"
 4075: ac_write_fail=0
 4076: ac_clean_files_save=$ac_clean_files
 4077: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
 4078: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
 4079: $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 4080: as_write_fail=0
 4081: cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
 4082: #! $SHELL
 4083: # Generated by $as_me.
 4084: # Run this file to recreate the current configuration.
 4085: # Compiler output produced by configure, useful for debugging
 4086: # configure, is in config.log if it exists.
 4087: 
 4088: debug=false
 4089: ac_cs_recheck=false
 4090: ac_cs_silent=false
 4091: 
 4092: SHELL=\${CONFIG_SHELL-$SHELL}
 4093: export SHELL
 4094: _ASEOF
 4095: cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
 4096: ## -------------------- ##
 4097: ## M4sh Initialization. ##
 4098: ## -------------------- ##
 4099: 
 4100: # Be more Bourne compatible
 4101: DUALCASE=1; export DUALCASE # for MKS sh
 4102: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
 4103:   emulate sh
 4104:   NULLCMD=:
 4105:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 4106:   # is contrary to our usage.  Disable this feature.
 4107:   alias -g '${1+"$@"}'='"$@"'
 4108:   setopt NO_GLOB_SUBST
 4109: else
 4110:   case `(set -o) 2>/dev/null` in #(
 4111:   *posix*) :
 4112:     set -o posix ;; #(
 4113:   *) :
 4114:      ;;
 4115: esac
 4116: fi
 4117: 
 4118: 
 4119: as_nl='
 4120: '
 4121: export as_nl
 4122: # Printing a long string crashes Solaris 7 /usr/bin/printf.
 4123: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 4124: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 4125: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 4126: # Prefer a ksh shell builtin over an external printf program on Solaris,
 4127: # but without wasting forks for bash or zsh.
 4128: if test -z "$BASH_VERSION$ZSH_VERSION" \
 4129:     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 4130:   as_echo='print -r --'
 4131:   as_echo_n='print -rn --'
 4132: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 4133:   as_echo='printf %s\n'
 4134:   as_echo_n='printf %s'
 4135: else
 4136:   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 4137:     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 4138:     as_echo_n='/usr/ucb/echo -n'
 4139:   else
 4140:     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 4141:     as_echo_n_body='eval
 4142:       arg=$1;
 4143:       case $arg in #(
 4144:       *"$as_nl"*)
 4145: 	expr "X$arg" : "X\\(.*\\)$as_nl";
 4146: 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 4147:       esac;
 4148:       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 4149:     '
 4150:     export as_echo_n_body
 4151:     as_echo_n='sh -c $as_echo_n_body as_echo'
 4152:   fi
 4153:   export as_echo_body
 4154:   as_echo='sh -c $as_echo_body as_echo'
 4155: fi
 4156: 
 4157: # The user is always right.
 4158: if test "${PATH_SEPARATOR+set}" != set; then
 4159:   PATH_SEPARATOR=:
 4160:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 4161:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 4162:       PATH_SEPARATOR=';'
 4163:   }
 4164: fi
 4165: 
 4166: 
 4167: # IFS
 4168: # We need space, tab and new line, in precisely that order.  Quoting is
 4169: # there to prevent editors from complaining about space-tab.
 4170: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
 4171: # splitting by setting IFS to empty value.)
 4172: IFS=" ""	$as_nl"
 4173: 
 4174: # Find who we are.  Look in the path if we contain no directory separator.
 4175: as_myself=
 4176: case $0 in #((
 4177:   *[\\/]* ) as_myself=$0 ;;
 4178:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4179: for as_dir in $PATH
 4180: do
 4181:   IFS=$as_save_IFS
 4182:   test -z "$as_dir" && as_dir=.
 4183:     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 4184:   done
 4185: IFS=$as_save_IFS
 4186: 
 4187:      ;;
 4188: esac
 4189: # We did not find ourselves, most probably we were run as `sh COMMAND'
 4190: # in which case we are not to be found in the path.
 4191: if test "x$as_myself" = x; then
 4192:   as_myself=$0
 4193: fi
 4194: if test ! -f "$as_myself"; then
 4195:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 4196:   exit 1
 4197: fi
 4198: 
 4199: # Unset variables that we do not need and which cause bugs (e.g. in
 4200: # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 4201: # suppresses any "Segmentation fault" message there.  '((' could
 4202: # trigger a bug in pdksh 5.2.14.
 4203: for as_var in BASH_ENV ENV MAIL MAILPATH
 4204: do eval test x\${$as_var+set} = xset \
 4205:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
 4206: done
 4207: PS1='$ '
 4208: PS2='> '
 4209: PS4='+ '
 4210: 
 4211: # NLS nuisances.
 4212: LC_ALL=C
 4213: export LC_ALL
 4214: LANGUAGE=C
 4215: export LANGUAGE
 4216: 
 4217: # CDPATH.
 4218: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 4219: 
 4220: 
 4221: # as_fn_error STATUS ERROR [LINENO LOG_FD]
 4222: # ----------------------------------------
 4223: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 4224: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 4225: # script with STATUS, using 1 if that was 0.
 4226: as_fn_error ()
 4227: {
 4228:   as_status=$1; test $as_status -eq 0 && as_status=1
 4229:   if test "$4"; then
 4230:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 4231:     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
 4232:   fi
 4233:   $as_echo "$as_me: error: $2" >&2
 4234:   as_fn_exit $as_status
 4235: } # as_fn_error
 4236: 
 4237: 
 4238: # as_fn_set_status STATUS
 4239: # -----------------------
 4240: # Set $? to STATUS, without forking.
 4241: as_fn_set_status ()
 4242: {
 4243:   return $1
 4244: } # as_fn_set_status
 4245: 
 4246: # as_fn_exit STATUS
 4247: # -----------------
 4248: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 4249: as_fn_exit ()
 4250: {
 4251:   set +e
 4252:   as_fn_set_status $1
 4253:   exit $1
 4254: } # as_fn_exit
 4255: 
 4256: # as_fn_unset VAR
 4257: # ---------------
 4258: # Portably unset VAR.
 4259: as_fn_unset ()
 4260: {
 4261:   { eval $1=; unset $1;}
 4262: }
 4263: as_unset=as_fn_unset
 4264: # as_fn_append VAR VALUE
 4265: # ----------------------
 4266: # Append the text in VALUE to the end of the definition contained in VAR. Take
 4267: # advantage of any shell optimizations that allow amortized linear growth over
 4268: # repeated appends, instead of the typical quadratic growth present in naive
 4269: # implementations.
 4270: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 4271:   eval 'as_fn_append ()
 4272:   {
 4273:     eval $1+=\$2
 4274:   }'
 4275: else
 4276:   as_fn_append ()
 4277:   {
 4278:     eval $1=\$$1\$2
 4279:   }
 4280: fi # as_fn_append
 4281: 
 4282: # as_fn_arith ARG...
 4283: # ------------------
 4284: # Perform arithmetic evaluation on the ARGs, and store the result in the
 4285: # global $as_val. Take advantage of shells that can avoid forks. The arguments
 4286: # must be portable across $(()) and expr.
 4287: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 4288:   eval 'as_fn_arith ()
 4289:   {
 4290:     as_val=$(( $* ))
 4291:   }'
 4292: else
 4293:   as_fn_arith ()
 4294:   {
 4295:     as_val=`expr "$@" || test $? -eq 1`
 4296:   }
 4297: fi # as_fn_arith
 4298: 
 4299: 
 4300: if expr a : '\(a\)' >/dev/null 2>&1 &&
 4301:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
 4302:   as_expr=expr
 4303: else
 4304:   as_expr=false
 4305: fi
 4306: 
 4307: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 4308:   as_basename=basename
 4309: else
 4310:   as_basename=false
 4311: fi
 4312: 
 4313: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 4314:   as_dirname=dirname
 4315: else
 4316:   as_dirname=false
 4317: fi
 4318: 
 4319: as_me=`$as_basename -- "$0" ||
 4320: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 4321: 	 X"$0" : 'X\(//\)$' \| \
 4322: 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 4323: $as_echo X/"$0" |
 4324:     sed '/^.*\/\([^/][^/]*\)\/*$/{
 4325: 	    s//\1/
 4326: 	    q
 4327: 	  }
 4328: 	  /^X\/\(\/\/\)$/{
 4329: 	    s//\1/
 4330: 	    q
 4331: 	  }
 4332: 	  /^X\/\(\/\).*/{
 4333: 	    s//\1/
 4334: 	    q
 4335: 	  }
 4336: 	  s/.*/./; q'`
 4337: 
 4338: # Avoid depending upon Character Ranges.
 4339: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 4340: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 4341: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 4342: as_cr_digits='0123456789'
 4343: as_cr_alnum=$as_cr_Letters$as_cr_digits
 4344: 
 4345: ECHO_C= ECHO_N= ECHO_T=
 4346: case `echo -n x` in #(((((
 4347: -n*)
 4348:   case `echo 'xy\c'` in
 4349:   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
 4350:   xy)  ECHO_C='\c';;
 4351:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 4352:        ECHO_T='	';;
 4353:   esac;;
 4354: *)
 4355:   ECHO_N='-n';;
 4356: esac
 4357: 
 4358: rm -f conf$$ conf$$.exe conf$$.file
 4359: if test -d conf$$.dir; then
 4360:   rm -f conf$$.dir/conf$$.file
 4361: else
 4362:   rm -f conf$$.dir
 4363:   mkdir conf$$.dir 2>/dev/null
 4364: fi
 4365: if (echo >conf$$.file) 2>/dev/null; then
 4366:   if ln -s conf$$.file conf$$ 2>/dev/null; then
 4367:     as_ln_s='ln -s'
 4368:     # ... but there are two gotchas:
 4369:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 4370:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 4371:     # In both cases, we have to default to `cp -p'.
 4372:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 4373:       as_ln_s='cp -p'
 4374:   elif ln conf$$.file conf$$ 2>/dev/null; then
 4375:     as_ln_s=ln
 4376:   else
 4377:     as_ln_s='cp -p'
 4378:   fi
 4379: else
 4380:   as_ln_s='cp -p'
 4381: fi
 4382: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 4383: rmdir conf$$.dir 2>/dev/null
 4384: 
 4385: 
 4386: # as_fn_mkdir_p
 4387: # -------------
 4388: # Create "$as_dir" as a directory, including parents if necessary.
 4389: as_fn_mkdir_p ()
 4390: {
 4391: 
 4392:   case $as_dir in #(
 4393:   -*) as_dir=./$as_dir;;
 4394:   esac
 4395:   test -d "$as_dir" || eval $as_mkdir_p || {
 4396:     as_dirs=
 4397:     while :; do
 4398:       case $as_dir in #(
 4399:       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 4400:       *) as_qdir=$as_dir;;
 4401:       esac
 4402:       as_dirs="'$as_qdir' $as_dirs"
 4403:       as_dir=`$as_dirname -- "$as_dir" ||
 4404: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 4405: 	 X"$as_dir" : 'X\(//\)[^/]' \| \
 4406: 	 X"$as_dir" : 'X\(//\)$' \| \
 4407: 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 4408: $as_echo X"$as_dir" |
 4409:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 4410: 	    s//\1/
 4411: 	    q
 4412: 	  }
 4413: 	  /^X\(\/\/\)[^/].*/{
 4414: 	    s//\1/
 4415: 	    q
 4416: 	  }
 4417: 	  /^X\(\/\/\)$/{
 4418: 	    s//\1/
 4419: 	    q
 4420: 	  }
 4421: 	  /^X\(\/\).*/{
 4422: 	    s//\1/
 4423: 	    q
 4424: 	  }
 4425: 	  s/.*/./; q'`
 4426:       test -d "$as_dir" && break
 4427:     done
 4428:     test -z "$as_dirs" || eval "mkdir $as_dirs"
 4429:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 4430: 
 4431: 
 4432: } # as_fn_mkdir_p
 4433: if mkdir -p . 2>/dev/null; then
 4434:   as_mkdir_p='mkdir -p "$as_dir"'
 4435: else
 4436:   test -d ./-p && rmdir ./-p
 4437:   as_mkdir_p=false
 4438: fi
 4439: 
 4440: if test -x / >/dev/null 2>&1; then
 4441:   as_test_x='test -x'
 4442: else
 4443:   if ls -dL / >/dev/null 2>&1; then
 4444:     as_ls_L_option=L
 4445:   else
 4446:     as_ls_L_option=
 4447:   fi
 4448:   as_test_x='
 4449:     eval sh -c '\''
 4450:       if test -d "$1"; then
 4451: 	test -d "$1/.";
 4452:       else
 4453: 	case $1 in #(
 4454: 	-*)set "./$1";;
 4455: 	esac;
 4456: 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
 4457: 	???[sx]*):;;*)false;;esac;fi
 4458:     '\'' sh
 4459:   '
 4460: fi
 4461: as_executable_p=$as_test_x
 4462: 
 4463: # Sed expression to map a string onto a valid CPP name.
 4464: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 4465: 
 4466: # Sed expression to map a string onto a valid variable name.
 4467: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 4468: 
 4469: 
 4470: exec 6>&1
 4471: ## ----------------------------------- ##
 4472: ## Main body of $CONFIG_STATUS script. ##
 4473: ## ----------------------------------- ##
 4474: _ASEOF
 4475: test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
 4476: 
 4477: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 4478: # Save the log message, to keep $0 and so on meaningful, and to
 4479: # report actual input values of CONFIG_FILES etc. instead of their
 4480: # values after options handling.
 4481: ac_log="
 4482: This file was extended by libaitcfg $as_me 4.1, which was
 4483: generated by GNU Autoconf 2.68.  Invocation command line was
 4484: 
 4485:   CONFIG_FILES    = $CONFIG_FILES
 4486:   CONFIG_HEADERS  = $CONFIG_HEADERS
 4487:   CONFIG_LINKS    = $CONFIG_LINKS
 4488:   CONFIG_COMMANDS = $CONFIG_COMMANDS
 4489:   $ $0 $@
 4490: 
 4491: on `(hostname || uname -n) 2>/dev/null | sed 1q`
 4492: "
 4493: 
 4494: _ACEOF
 4495: 
 4496: case $ac_config_files in *"
 4497: "*) set x $ac_config_files; shift; ac_config_files=$*;;
 4498: esac
 4499: 
 4500: case $ac_config_headers in *"
 4501: "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
 4502: esac
 4503: 
 4504: 
 4505: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 4506: # Files that config.status was made for.
 4507: config_files="$ac_config_files"
 4508: config_headers="$ac_config_headers"
 4509: 
 4510: _ACEOF
 4511: 
 4512: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 4513: ac_cs_usage="\
 4514: \`$as_me' instantiates files and other configuration actions
 4515: from templates according to the current configuration.  Unless the files
 4516: and actions are specified as TAGs, all are instantiated by default.
 4517: 
 4518: Usage: $0 [OPTION]... [TAG]...
 4519: 
 4520:   -h, --help       print this help, then exit
 4521:   -V, --version    print version number and configuration settings, then exit
 4522:       --config     print configuration, then exit
 4523:   -q, --quiet, --silent
 4524:                    do not print progress messages
 4525:   -d, --debug      don't remove temporary files
 4526:       --recheck    update $as_me by reconfiguring in the same conditions
 4527:       --file=FILE[:TEMPLATE]
 4528:                    instantiate the configuration file FILE
 4529:       --header=FILE[:TEMPLATE]
 4530:                    instantiate the configuration header FILE
 4531: 
 4532: Configuration files:
 4533: $config_files
 4534: 
 4535: Configuration headers:
 4536: $config_headers
 4537: 
 4538: Report bugs to <misho@openbsd-bg.org>."
 4539: 
 4540: _ACEOF
 4541: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 4542: ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
 4543: ac_cs_version="\\
 4544: libaitcfg config.status 4.1
 4545: configured by $0, generated by GNU Autoconf 2.68,
 4546:   with options \\"\$ac_cs_config\\"
 4547: 
 4548: Copyright (C) 2010 Free Software Foundation, Inc.
 4549: This config.status script is free software; the Free Software Foundation
 4550: gives unlimited permission to copy, distribute and modify it."
 4551: 
 4552: ac_pwd='$ac_pwd'
 4553: srcdir='$srcdir'
 4554: INSTALL='$INSTALL'
 4555: test -n "\$AWK" || AWK=awk
 4556: _ACEOF
 4557: 
 4558: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 4559: # The default lists apply if the user does not specify any file.
 4560: ac_need_defaults=:
 4561: while test $# != 0
 4562: do
 4563:   case $1 in
 4564:   --*=?*)
 4565:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
 4566:     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
 4567:     ac_shift=:
 4568:     ;;
 4569:   --*=)
 4570:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
 4571:     ac_optarg=
 4572:     ac_shift=:
 4573:     ;;
 4574:   *)
 4575:     ac_option=$1
 4576:     ac_optarg=$2
 4577:     ac_shift=shift
 4578:     ;;
 4579:   esac
 4580: 
 4581:   case $ac_option in
 4582:   # Handling of the options.
 4583:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
 4584:     ac_cs_recheck=: ;;
 4585:   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 4586:     $as_echo "$ac_cs_version"; exit ;;
 4587:   --config | --confi | --conf | --con | --co | --c )
 4588:     $as_echo "$ac_cs_config"; exit ;;
 4589:   --debug | --debu | --deb | --de | --d | -d )
 4590:     debug=: ;;
 4591:   --file | --fil | --fi | --f )
 4592:     $ac_shift
 4593:     case $ac_optarg in
 4594:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 4595:     '') as_fn_error $? "missing file argument" ;;
 4596:     esac
 4597:     as_fn_append CONFIG_FILES " '$ac_optarg'"
 4598:     ac_need_defaults=false;;
 4599:   --header | --heade | --head | --hea )
 4600:     $ac_shift
 4601:     case $ac_optarg in
 4602:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 4603:     esac
 4604:     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
 4605:     ac_need_defaults=false;;
 4606:   --he | --h)
 4607:     # Conflict between --help and --header
 4608:     as_fn_error $? "ambiguous option: \`$1'
 4609: Try \`$0 --help' for more information.";;
 4610:   --help | --hel | -h )
 4611:     $as_echo "$ac_cs_usage"; exit ;;
 4612:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 4613:   | -silent | --silent | --silen | --sile | --sil | --si | --s)
 4614:     ac_cs_silent=: ;;
 4615: 
 4616:   # This is an error.
 4617:   -*) as_fn_error $? "unrecognized option: \`$1'
 4618: Try \`$0 --help' for more information." ;;
 4619: 
 4620:   *) as_fn_append ac_config_targets " $1"
 4621:      ac_need_defaults=false ;;
 4622: 
 4623:   esac
 4624:   shift
 4625: done
 4626: 
 4627: ac_configure_extra_args=
 4628: 
 4629: if $ac_cs_silent; then
 4630:   exec 6>/dev/null
 4631:   ac_configure_extra_args="$ac_configure_extra_args --silent"
 4632: fi
 4633: 
 4634: _ACEOF
 4635: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 4636: if \$ac_cs_recheck; then
 4637:   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 4638:   shift
 4639:   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
 4640:   CONFIG_SHELL='$SHELL'
 4641:   export CONFIG_SHELL
 4642:   exec "\$@"
 4643: fi
 4644: 
 4645: _ACEOF
 4646: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 4647: exec 5>>config.log
 4648: {
 4649:   echo
 4650:   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 4651: ## Running $as_me. ##
 4652: _ASBOX
 4653:   $as_echo "$ac_log"
 4654: } >&5
 4655: 
 4656: _ACEOF
 4657: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 4658: _ACEOF
 4659: 
 4660: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 4661: 
 4662: # Handling of arguments.
 4663: for ac_config_target in $ac_config_targets
 4664: do
 4665:   case $ac_config_target in
 4666:     "inc/config.h") CONFIG_HEADERS="$CONFIG_HEADERS inc/config.h" ;;
 4667:     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 4668:     "inc/Makefile") CONFIG_FILES="$CONFIG_FILES inc/Makefile" ;;
 4669:     "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
 4670:     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
 4671: 
 4672:   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
 4673:   esac
 4674: done
 4675: 
 4676: 
 4677: # If the user did not use the arguments to specify the items to instantiate,
 4678: # then the envvar interface is used.  Set only those that are not.
 4679: # We use the long form for the default assignment because of an extremely
 4680: # bizarre bug on SunOS 4.1.3.
 4681: if $ac_need_defaults; then
 4682:   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
 4683:   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
 4684: fi
 4685: 
 4686: # Have a temporary directory for convenience.  Make it in the build tree
 4687: # simply because there is no reason against having it here, and in addition,
 4688: # creating and moving files from /tmp can sometimes cause problems.
 4689: # Hook for its removal unless debugging.
 4690: # Note that there is a small window in which the directory will not be cleaned:
 4691: # after its creation but before its name has been assigned to `$tmp'.
 4692: $debug ||
 4693: {
 4694:   tmp= ac_tmp=
 4695:   trap 'exit_status=$?
 4696:   : "${ac_tmp:=$tmp}"
 4697:   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
 4698: ' 0
 4699:   trap 'as_fn_exit 1' 1 2 13 15
 4700: }
 4701: # Create a (secure) tmp directory for tmp files.
 4702: 
 4703: {
 4704:   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
 4705:   test -d "$tmp"
 4706: }  ||
 4707: {
 4708:   tmp=./conf$$-$RANDOM
 4709:   (umask 077 && mkdir "$tmp")
 4710: } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
 4711: ac_tmp=$tmp
 4712: 
 4713: # Set up the scripts for CONFIG_FILES section.
 4714: # No need to generate them if there are no CONFIG_FILES.
 4715: # This happens for instance with `./config.status config.h'.
 4716: if test -n "$CONFIG_FILES"; then
 4717: 
 4718: 
 4719: ac_cr=`echo X | tr X '\015'`
 4720: # On cygwin, bash can eat \r inside `` if the user requested igncr.
 4721: # But we know of no other shell where ac_cr would be empty at this
 4722: # point, so we can use a bashism as a fallback.
 4723: if test "x$ac_cr" = x; then
 4724:   eval ac_cr=\$\'\\r\'
 4725: fi
 4726: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 4727: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
 4728:   ac_cs_awk_cr='\\r'
 4729: else
 4730:   ac_cs_awk_cr=$ac_cr
 4731: fi
 4732: 
 4733: echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
 4734: _ACEOF
 4735: 
 4736: 
 4737: {
 4738:   echo "cat >conf$$subs.awk <<_ACEOF" &&
 4739:   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
 4740:   echo "_ACEOF"
 4741: } >conf$$subs.sh ||
 4742:   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 4743: ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
 4744: ac_delim='%!_!# '
 4745: for ac_last_try in false false false false false :; do
 4746:   . ./conf$$subs.sh ||
 4747:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 4748: 
 4749:   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
 4750:   if test $ac_delim_n = $ac_delim_num; then
 4751:     break
 4752:   elif $ac_last_try; then
 4753:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 4754:   else
 4755:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 4756:   fi
 4757: done
 4758: rm -f conf$$subs.sh
 4759: 
 4760: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 4761: cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
 4762: _ACEOF
 4763: sed -n '
 4764: h
 4765: s/^/S["/; s/!.*/"]=/
 4766: p
 4767: g
 4768: s/^[^!]*!//
 4769: :repl
 4770: t repl
 4771: s/'"$ac_delim"'$//
 4772: t delim
 4773: :nl
 4774: h
 4775: s/\(.\{148\}\)..*/\1/
 4776: t more1
 4777: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
 4778: p
 4779: n
 4780: b repl
 4781: :more1
 4782: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 4783: p
 4784: g
 4785: s/.\{148\}//
 4786: t nl
 4787: :delim
 4788: h
 4789: s/\(.\{148\}\)..*/\1/
 4790: t more2
 4791: s/["\\]/\\&/g; s/^/"/; s/$/"/
 4792: p
 4793: b
 4794: :more2
 4795: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 4796: p
 4797: g
 4798: s/.\{148\}//
 4799: t delim
 4800: ' <conf$$subs.awk | sed '
 4801: /^[^""]/{
 4802:   N
 4803:   s/\n//
 4804: }
 4805: ' >>$CONFIG_STATUS || ac_write_fail=1
 4806: rm -f conf$$subs.awk
 4807: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 4808: _ACAWK
 4809: cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
 4810:   for (key in S) S_is_set[key] = 1
 4811:   FS = ""
 4812: 
 4813: }
 4814: {
 4815:   line = $ 0
 4816:   nfields = split(line, field, "@")
 4817:   substed = 0
 4818:   len = length(field[1])
 4819:   for (i = 2; i < nfields; i++) {
 4820:     key = field[i]
 4821:     keylen = length(key)
 4822:     if (S_is_set[key]) {
 4823:       value = S[key]
 4824:       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
 4825:       len += length(value) + length(field[++i])
 4826:       substed = 1
 4827:     } else
 4828:       len += 1 + keylen
 4829:   }
 4830: 
 4831:   print line
 4832: }
 4833: 
 4834: _ACAWK
 4835: _ACEOF
 4836: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 4837: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
 4838:   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 4839: else
 4840:   cat
 4841: fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
 4842:   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
 4843: _ACEOF
 4844: 
 4845: # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
 4846: # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
 4847: # trailing colons and then remove the whole line if VPATH becomes empty
 4848: # (actually we leave an empty line to preserve line numbers).
 4849: if test "x$srcdir" = x.; then
 4850:   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
 4851: h
 4852: s///
 4853: s/^/:/
 4854: s/[	 ]*$/:/
 4855: s/:\$(srcdir):/:/g
 4856: s/:\${srcdir}:/:/g
 4857: s/:@srcdir@:/:/g
 4858: s/^:*//
 4859: s/:*$//
 4860: x
 4861: s/\(=[	 ]*\).*/\1/
 4862: G
 4863: s/\n//
 4864: s/^[^=]*=[	 ]*$//
 4865: }'
 4866: fi
 4867: 
 4868: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 4869: fi # test -n "$CONFIG_FILES"
 4870: 
 4871: # Set up the scripts for CONFIG_HEADERS section.
 4872: # No need to generate them if there are no CONFIG_HEADERS.
 4873: # This happens for instance with `./config.status Makefile'.
 4874: if test -n "$CONFIG_HEADERS"; then
 4875: cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
 4876: BEGIN {
 4877: _ACEOF
 4878: 
 4879: # Transform confdefs.h into an awk script `defines.awk', embedded as
 4880: # here-document in config.status, that substitutes the proper values into
 4881: # config.h.in to produce config.h.
 4882: 
 4883: # Create a delimiter string that does not exist in confdefs.h, to ease
 4884: # handling of long lines.
 4885: ac_delim='%!_!# '
 4886: for ac_last_try in false false :; do
 4887:   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
 4888:   if test -z "$ac_tt"; then
 4889:     break
 4890:   elif $ac_last_try; then
 4891:     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
 4892:   else
 4893:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 4894:   fi
 4895: done
 4896: 
 4897: # For the awk script, D is an array of macro values keyed by name,
 4898: # likewise P contains macro parameters if any.  Preserve backslash
 4899: # newline sequences.
 4900: 
 4901: ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 4902: sed -n '
 4903: s/.\{148\}/&'"$ac_delim"'/g
 4904: t rset
 4905: :rset
 4906: s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
 4907: t def
 4908: d
 4909: :def
 4910: s/\\$//
 4911: t bsnl
 4912: s/["\\]/\\&/g
 4913: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
 4914: D["\1"]=" \3"/p
 4915: s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
 4916: d
 4917: :bsnl
 4918: s/["\\]/\\&/g
 4919: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
 4920: D["\1"]=" \3\\\\\\n"\\/p
 4921: t cont
 4922: s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
 4923: t cont
 4924: d
 4925: :cont
 4926: n
 4927: s/.\{148\}/&'"$ac_delim"'/g
 4928: t clear
 4929: :clear
 4930: s/\\$//
 4931: t bsnlc
 4932: s/["\\]/\\&/g; s/^/"/; s/$/"/p
 4933: d
 4934: :bsnlc
 4935: s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
 4936: b cont
 4937: ' <confdefs.h | sed '
 4938: s/'"$ac_delim"'/"\\\
 4939: "/g' >>$CONFIG_STATUS || ac_write_fail=1
 4940: 
 4941: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 4942:   for (key in D) D_is_set[key] = 1
 4943:   FS = ""
 4944: }
 4945: /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
 4946:   line = \$ 0
 4947:   split(line, arg, " ")
 4948:   if (arg[1] == "#") {
 4949:     defundef = arg[2]
 4950:     mac1 = arg[3]
 4951:   } else {
 4952:     defundef = substr(arg[1], 2)
 4953:     mac1 = arg[2]
 4954:   }
 4955:   split(mac1, mac2, "(") #)
 4956:   macro = mac2[1]
 4957:   prefix = substr(line, 1, index(line, defundef) - 1)
 4958:   if (D_is_set[macro]) {
 4959:     # Preserve the white space surrounding the "#".
 4960:     print prefix "define", macro P[macro] D[macro]
 4961:     next
 4962:   } else {
 4963:     # Replace #undef with comments.  This is necessary, for example,
 4964:     # in the case of _POSIX_SOURCE, which is predefined and required
 4965:     # on some systems where configure will not decide to define it.
 4966:     if (defundef == "undef") {
 4967:       print "/*", prefix defundef, macro, "*/"
 4968:       next
 4969:     }
 4970:   }
 4971: }
 4972: { print }
 4973: _ACAWK
 4974: _ACEOF
 4975: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 4976:   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
 4977: fi # test -n "$CONFIG_HEADERS"
 4978: 
 4979: 
 4980: eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    "
 4981: shift
 4982: for ac_tag
 4983: do
 4984:   case $ac_tag in
 4985:   :[FHLC]) ac_mode=$ac_tag; continue;;
 4986:   esac
 4987:   case $ac_mode$ac_tag in
 4988:   :[FHL]*:*);;
 4989:   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
 4990:   :[FH]-) ac_tag=-:-;;
 4991:   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 4992:   esac
 4993:   ac_save_IFS=$IFS
 4994:   IFS=:
 4995:   set x $ac_tag
 4996:   IFS=$ac_save_IFS
 4997:   shift
 4998:   ac_file=$1
 4999:   shift
 5000: 
 5001:   case $ac_mode in
 5002:   :L) ac_source=$1;;
 5003:   :[FH])
 5004:     ac_file_inputs=
 5005:     for ac_f
 5006:     do
 5007:       case $ac_f in
 5008:       -) ac_f="$ac_tmp/stdin";;
 5009:       *) # Look for the file first in the build tree, then in the source tree
 5010: 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
 5011: 	 # because $ac_f cannot contain `:'.
 5012: 	 test -f "$ac_f" ||
 5013: 	   case $ac_f in
 5014: 	   [\\/$]*) false;;
 5015: 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 5016: 	   esac ||
 5017: 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
 5018:       esac
 5019:       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
 5020:       as_fn_append ac_file_inputs " '$ac_f'"
 5021:     done
 5022: 
 5023:     # Let's still pretend it is `configure' which instantiates (i.e., don't
 5024:     # use $as_me), people would be surprised to read:
 5025:     #    /* config.h.  Generated by config.status.  */
 5026:     configure_input='Generated from '`
 5027: 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
 5028: 	`' by configure.'
 5029:     if test x"$ac_file" != x-; then
 5030:       configure_input="$ac_file.  $configure_input"
 5031:       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
 5032: $as_echo "$as_me: creating $ac_file" >&6;}
 5033:     fi
 5034:     # Neutralize special characters interpreted by sed in replacement strings.
 5035:     case $configure_input in #(
 5036:     *\&* | *\|* | *\\* )
 5037:        ac_sed_conf_input=`$as_echo "$configure_input" |
 5038:        sed 's/[\\\\&|]/\\\\&/g'`;; #(
 5039:     *) ac_sed_conf_input=$configure_input;;
 5040:     esac
 5041: 
 5042:     case $ac_tag in
 5043:     *:-:* | *:-) cat >"$ac_tmp/stdin" \
 5044:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
 5045:     esac
 5046:     ;;
 5047:   esac
 5048: 
 5049:   ac_dir=`$as_dirname -- "$ac_file" ||
 5050: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 5051: 	 X"$ac_file" : 'X\(//\)[^/]' \| \
 5052: 	 X"$ac_file" : 'X\(//\)$' \| \
 5053: 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
 5054: $as_echo X"$ac_file" |
 5055:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 5056: 	    s//\1/
 5057: 	    q
 5058: 	  }
 5059: 	  /^X\(\/\/\)[^/].*/{
 5060: 	    s//\1/
 5061: 	    q
 5062: 	  }
 5063: 	  /^X\(\/\/\)$/{
 5064: 	    s//\1/
 5065: 	    q
 5066: 	  }
 5067: 	  /^X\(\/\).*/{
 5068: 	    s//\1/
 5069: 	    q
 5070: 	  }
 5071: 	  s/.*/./; q'`
 5072:   as_dir="$ac_dir"; as_fn_mkdir_p
 5073:   ac_builddir=.
 5074: 
 5075: case "$ac_dir" in
 5076: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 5077: *)
 5078:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 5079:   # A ".." for each directory in $ac_dir_suffix.
 5080:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 5081:   case $ac_top_builddir_sub in
 5082:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 5083:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 5084:   esac ;;
 5085: esac
 5086: ac_abs_top_builddir=$ac_pwd
 5087: ac_abs_builddir=$ac_pwd$ac_dir_suffix
 5088: # for backward compatibility:
 5089: ac_top_builddir=$ac_top_build_prefix
 5090: 
 5091: case $srcdir in
 5092:   .)  # We are building in place.
 5093:     ac_srcdir=.
 5094:     ac_top_srcdir=$ac_top_builddir_sub
 5095:     ac_abs_top_srcdir=$ac_pwd ;;
 5096:   [\\/]* | ?:[\\/]* )  # Absolute name.
 5097:     ac_srcdir=$srcdir$ac_dir_suffix;
 5098:     ac_top_srcdir=$srcdir
 5099:     ac_abs_top_srcdir=$srcdir ;;
 5100:   *) # Relative name.
 5101:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 5102:     ac_top_srcdir=$ac_top_build_prefix$srcdir
 5103:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 5104: esac
 5105: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 5106: 
 5107: 
 5108:   case $ac_mode in
 5109:   :F)
 5110:   #
 5111:   # CONFIG_FILE
 5112:   #
 5113: 
 5114:   case $INSTALL in
 5115:   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
 5116:   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
 5117:   esac
 5118: _ACEOF
 5119: 
 5120: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 5121: # If the template does not know about datarootdir, expand it.
 5122: # FIXME: This hack should be removed a few years after 2.60.
 5123: ac_datarootdir_hack=; ac_datarootdir_seen=
 5124: ac_sed_dataroot='
 5125: /datarootdir/ {
 5126:   p
 5127:   q
 5128: }
 5129: /@datadir@/p
 5130: /@docdir@/p
 5131: /@infodir@/p
 5132: /@localedir@/p
 5133: /@mandir@/p'
 5134: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
 5135: *datarootdir*) ac_datarootdir_seen=yes;;
 5136: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 5137:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 5138: $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 5139: _ACEOF
 5140: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 5141:   ac_datarootdir_hack='
 5142:   s&@datadir@&$datadir&g
 5143:   s&@docdir@&$docdir&g
 5144:   s&@infodir@&$infodir&g
 5145:   s&@localedir@&$localedir&g
 5146:   s&@mandir@&$mandir&g
 5147:   s&\\\${datarootdir}&$datarootdir&g' ;;
 5148: esac
 5149: _ACEOF
 5150: 
 5151: # Neutralize VPATH when `$srcdir' = `.'.
 5152: # Shell code in configure.ac might set extrasub.
 5153: # FIXME: do we really want to maintain this feature?
 5154: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 5155: ac_sed_extra="$ac_vpsub
 5156: $extrasub
 5157: _ACEOF
 5158: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 5159: :t
 5160: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 5161: s|@configure_input@|$ac_sed_conf_input|;t t
 5162: s&@top_builddir@&$ac_top_builddir_sub&;t t
 5163: s&@top_build_prefix@&$ac_top_build_prefix&;t t
 5164: s&@srcdir@&$ac_srcdir&;t t
 5165: s&@abs_srcdir@&$ac_abs_srcdir&;t t
 5166: s&@top_srcdir@&$ac_top_srcdir&;t t
 5167: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 5168: s&@builddir@&$ac_builddir&;t t
 5169: s&@abs_builddir@&$ac_abs_builddir&;t t
 5170: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 5171: s&@INSTALL@&$ac_INSTALL&;t t
 5172: $ac_datarootdir_hack
 5173: "
 5174: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
 5175:   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 5176: 
 5177: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 5178:   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
 5179:   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
 5180:       "$ac_tmp/out"`; test -z "$ac_out"; } &&
 5181:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 5182: which seems to be undefined.  Please make sure it is defined" >&5
 5183: $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 5184: which seems to be undefined.  Please make sure it is defined" >&2;}
 5185: 
 5186:   rm -f "$ac_tmp/stdin"
 5187:   case $ac_file in
 5188:   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
 5189:   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
 5190:   esac \
 5191:   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 5192:  ;;
 5193:   :H)
 5194:   #
 5195:   # CONFIG_HEADER
 5196:   #
 5197:   if test x"$ac_file" != x-; then
 5198:     {
 5199:       $as_echo "/* $configure_input  */" \
 5200:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
 5201:     } >"$ac_tmp/config.h" \
 5202:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 5203:     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
 5204:       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
 5205: $as_echo "$as_me: $ac_file is unchanged" >&6;}
 5206:     else
 5207:       rm -f "$ac_file"
 5208:       mv "$ac_tmp/config.h" "$ac_file" \
 5209: 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
 5210:     fi
 5211:   else
 5212:     $as_echo "/* $configure_input  */" \
 5213:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
 5214:       || as_fn_error $? "could not create -" "$LINENO" 5
 5215:   fi
 5216:  ;;
 5217: 
 5218: 
 5219:   esac
 5220: 
 5221: done # for ac_tag
 5222: 
 5223: 
 5224: as_fn_exit 0
 5225: _ACEOF
 5226: ac_clean_files=$ac_clean_files_save
 5227: 
 5228: test $ac_write_fail = 0 ||
 5229:   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
 5230: 
 5231: 
 5232: # configure is writing to config.log, and then calls config.status.
 5233: # config.status does its own redirection, appending to config.log.
 5234: # Unfortunately, on DOS this fails, as config.log is still kept open
 5235: # by configure, so config.status won't be able to write to it; its
 5236: # output is simply discarded.  So we exec the FD to /dev/null,
 5237: # effectively closing config.log, so it can be properly (re)opened and
 5238: # appended to by config.status.  When coming back to configure, we
 5239: # need to make the FD available again.
 5240: if test "$no_create" != yes; then
 5241:   ac_cs_success=:
 5242:   ac_config_status_args=
 5243:   test "$silent" = yes &&
 5244:     ac_config_status_args="$ac_config_status_args --quiet"
 5245:   exec 5>/dev/null
 5246:   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
 5247:   exec 5>>config.log
 5248:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
 5249:   # would make configure fail if this is the last instruction.
 5250:   $ac_cs_success || as_fn_exit 1
 5251: fi
 5252: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
 5253:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 5254: $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
 5255: fi
 5256: 

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