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