File:  [ELWIX - Embedded LightWeight unIX -] / libaitsync / configure
Revision 1.3.2.1: download - view: text, annotated - select for diffs - revision graph
Sun Jul 22 22:15:43 2012 UTC (11 years, 11 months ago) by misho
Branches: sync1_2
Diff to: branchpoint 1.3: preferred, unified
new ver 1.2

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

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