File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / istgt / configure
Revision 1.1.1.2 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Tue Oct 9 09:13:23 2012 UTC (11 years, 7 months ago) by misho
Branches: istgt, MAIN
CVS tags: v20121028, v20120901, HEAD
dhcp 4.1 r7

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

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