File:  [ELWIX - Embedded LightWeight unIX -] / libaitpelco / configure
Revision 1.2: download - view: text, annotated - select for diffs - revision graph
Sun Jul 22 22:21:49 2012 UTC (11 years, 10 months ago) by misho
Branches: MAIN
CVS tags: pelco1_2, PELCO1_1, HEAD
version 1.1

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

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