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