File:  [ELWIX - Embedded LightWeight unIX -] / libaitsync / configure
Revision 1.3: download - view: text, annotated - select for diffs - revision graph
Sun Jul 22 22:09:47 2012 UTC (11 years, 10 months ago) by misho
Branches: MAIN
CVS tags: sync1_2, SYNC1_1, HEAD
version 1.1

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

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