File:  [ELWIX - Embedded LightWeight unIX -] / embedtools / configure
Revision 1.2.2.4: download - view: text, annotated - select for diffs - revision graph
Tue Mar 20 15:26:40 2012 UTC (12 years, 3 months ago) by misho
Branches: tools1_1
Diff to: branchpoint 1.2: preferred, unified
add libaitwww support

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

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