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  *mips*) :
2503
2504
2505$as_echo "#define STRESSAPPTEST_CPU_MIPS /**/" >>confdefs.h
2506
2507     ;; #(
2508  *powerpc*) :
2509
2510
2511$as_echo "#define STRESSAPPTEST_CPU_PPC /**/" >>confdefs.h
2512
2513     ;; #(
2514  *armv7a*) :
2515
2516
2517$as_echo "#define STRESSAPPTEST_CPU_ARMV7A /**/" >>confdefs.h
2518
2519     ;; #(
2520  *aarch64*) :
2521
2522
2523$as_echo "#define STRESSAPPTEST_CPU_AARCH64 /**/" >>confdefs.h
2524
2525     ;; #(
2526  *) :
2527    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unsupported CPU: $host_cpu! Try x86_64, i686, mips, powerpc, armv7a, or aarch64" >&5
2528$as_echo "$as_me: WARNING: Unsupported CPU: $host_cpu! Try x86_64, i686, mips, powerpc, armv7a, or aarch64" >&2;}
2529 ;;
2530esac
2531
2532## The following allows like systems to share settings. This is not meant to
2533## imply that these OS are the same thing. From OpenOffice dmake configure.in
2534case "$host_os" in #(
2535  *linux*) :
2536
2537    OS_VERSION=linux
2538
2539$as_echo "#define STRESSAPPTEST_OS_LINUX /**/" >>confdefs.h
2540
2541     ;; #(
2542  *darwin*) :
2543
2544    OS_VERSION=macosx
2545
2546$as_echo "#define STRESSAPPTEST_OS_DARWIN /**/" >>confdefs.h
2547
2548     ;; #(
2549  *freebsd*) :
2550
2551    OS_VERSION=bsd
2552
2553$as_echo "#define STRESSAPPTEST_OS_BSD /**/" >>confdefs.h
2554
2555     ;; #(
2556  *netbsd*) :
2557
2558    OS_VERSION=bsd
2559
2560$as_echo "#define STRESSAPPTEST_OS_BSD /**/" >>confdefs.h
2561
2562     ;; #(
2563  *) :
2564    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unsupported system: $host_os" >&5
2565$as_echo "$as_me: WARNING: unsupported system: $host_os" >&2;}
2566 ;;
2567esac
2568
2569am__api_version='1.11'
2570
2571# Find a good install program.  We prefer a C program (faster),
2572# so one script is as good as another.  But avoid the broken or
2573# incompatible versions:
2574# SysV /etc/install, /usr/sbin/install
2575# SunOS /usr/etc/install
2576# IRIX /sbin/install
2577# AIX /bin/install
2578# AmigaOS /C/install, which installs bootblocks on floppy discs
2579# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2580# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2581# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2582# OS/2's system install, which has a completely different semantic
2583# ./install, which can be erroneously created by make from ./install.sh.
2584# Reject install programs that cannot install multiple files.
2585{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2586$as_echo_n "checking for a BSD-compatible install... " >&6; }
2587if test -z "$INSTALL"; then
2588if ${ac_cv_path_install+:} false; then :
2589  $as_echo_n "(cached) " >&6
2590else
2591  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2592for as_dir in $PATH
2593do
2594  IFS=$as_save_IFS
2595  test -z "$as_dir" && as_dir=.
2596    # Account for people who put trailing slashes in PATH elements.
2597case $as_dir/ in #((
2598  ./ | .// | /[cC]/* | \
2599  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2600  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2601  /usr/ucb/* ) ;;
2602  *)
2603    # OSF1 and SCO ODT 3.0 have their own names for install.
2604    # Don't use installbsd from OSF since it installs stuff as root
2605    # by default.
2606    for ac_prog in ginstall scoinst install; do
2607      for ac_exec_ext in '' $ac_executable_extensions; do
2608	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2609	  if test $ac_prog = install &&
2610	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2611	    # AIX install.  It has an incompatible calling convention.
2612	    :
2613	  elif test $ac_prog = install &&
2614	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2615	    # program-specific install script used by HP pwplus--don't use.
2616	    :
2617	  else
2618	    rm -rf conftest.one conftest.two conftest.dir
2619	    echo one > conftest.one
2620	    echo two > conftest.two
2621	    mkdir conftest.dir
2622	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2623	      test -s conftest.one && test -s conftest.two &&
2624	      test -s conftest.dir/conftest.one &&
2625	      test -s conftest.dir/conftest.two
2626	    then
2627	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2628	      break 3
2629	    fi
2630	  fi
2631	fi
2632      done
2633    done
2634    ;;
2635esac
2636
2637  done
2638IFS=$as_save_IFS
2639
2640rm -rf conftest.one conftest.two conftest.dir
2641
2642fi
2643  if test "${ac_cv_path_install+set}" = set; then
2644    INSTALL=$ac_cv_path_install
2645  else
2646    # As a last resort, use the slow shell script.  Don't cache a
2647    # value for INSTALL within a source directory, because that will
2648    # break other packages using the cache if that directory is
2649    # removed, or if the value is a relative name.
2650    INSTALL=$ac_install_sh
2651  fi
2652fi
2653{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2654$as_echo "$INSTALL" >&6; }
2655
2656# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2657# It thinks the first close brace ends the variable substitution.
2658test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2659
2660test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2661
2662test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2663
2664{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2665$as_echo_n "checking whether build environment is sane... " >&6; }
2666# Just in case
2667sleep 1
2668echo timestamp > conftest.file
2669# Reject unsafe characters in $srcdir or the absolute working directory
2670# name.  Accept space and tab only in the latter.
2671am_lf='
2672'
2673case `pwd` in
2674  *[\\\"\#\$\&\'\`$am_lf]*)
2675    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2676esac
2677case $srcdir in
2678  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2679    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2680esac
2681
2682# Do `set' in a subshell so we don't clobber the current shell's
2683# arguments.  Must try -L first in case configure is actually a
2684# symlink; some systems play weird games with the mod time of symlinks
2685# (eg FreeBSD returns the mod time of the symlink's containing
2686# directory).
2687if (
2688   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2689   if test "$*" = "X"; then
2690      # -L didn't work.
2691      set X `ls -t "$srcdir/configure" conftest.file`
2692   fi
2693   rm -f conftest.file
2694   if test "$*" != "X $srcdir/configure conftest.file" \
2695      && test "$*" != "X conftest.file $srcdir/configure"; then
2696
2697      # If neither matched, then we have a broken ls.  This can happen
2698      # if, for instance, CONFIG_SHELL is bash and it inherits a
2699      # broken ls alias from the environment.  This has actually
2700      # happened.  Such a system could not be considered "sane".
2701      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2702alias in your environment" "$LINENO" 5
2703   fi
2704
2705   test "$2" = conftest.file
2706   )
2707then
2708   # Ok.
2709   :
2710else
2711   as_fn_error $? "newly created file is older than distributed files!
2712Check your system clock" "$LINENO" 5
2713fi
2714{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2715$as_echo "yes" >&6; }
2716test "$program_prefix" != NONE &&
2717  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2718# Use a double $ so make ignores it.
2719test "$program_suffix" != NONE &&
2720  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2721# Double any \ or $.
2722# By default was `s,x,x', remove it if useless.
2723ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2724program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2725
2726# expand $ac_aux_dir to an absolute path
2727am_aux_dir=`cd $ac_aux_dir && pwd`
2728
2729if test x"${MISSING+set}" != xset; then
2730  case $am_aux_dir in
2731  *\ * | *\	*)
2732    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2733  *)
2734    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2735  esac
2736fi
2737# Use eval to expand $SHELL
2738if eval "$MISSING --run true"; then
2739  am_missing_run="$MISSING --run "
2740else
2741  am_missing_run=
2742  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2743$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2744fi
2745
2746if test x"${install_sh}" != xset; then
2747  case $am_aux_dir in
2748  *\ * | *\	*)
2749    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2750  *)
2751    install_sh="\${SHELL} $am_aux_dir/install-sh"
2752  esac
2753fi
2754
2755# Installed binaries are usually stripped using `strip' when the user
2756# run `make install-strip'.  However `strip' might not be the right
2757# tool to use in cross-compilation environments, therefore Automake
2758# will honor the `STRIP' environment variable to overrule this program.
2759if test "$cross_compiling" != no; then
2760  if test -n "$ac_tool_prefix"; then
2761  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2762set dummy ${ac_tool_prefix}strip; ac_word=$2
2763{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2764$as_echo_n "checking for $ac_word... " >&6; }
2765if ${ac_cv_prog_STRIP+:} false; then :
2766  $as_echo_n "(cached) " >&6
2767else
2768  if test -n "$STRIP"; then
2769  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2770else
2771as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2772for as_dir in $PATH
2773do
2774  IFS=$as_save_IFS
2775  test -z "$as_dir" && as_dir=.
2776    for ac_exec_ext in '' $ac_executable_extensions; do
2777  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2778    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2779    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2780    break 2
2781  fi
2782done
2783  done
2784IFS=$as_save_IFS
2785
2786fi
2787fi
2788STRIP=$ac_cv_prog_STRIP
2789if test -n "$STRIP"; then
2790  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2791$as_echo "$STRIP" >&6; }
2792else
2793  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2794$as_echo "no" >&6; }
2795fi
2796
2797
2798fi
2799if test -z "$ac_cv_prog_STRIP"; then
2800  ac_ct_STRIP=$STRIP
2801  # Extract the first word of "strip", so it can be a program name with args.
2802set dummy strip; ac_word=$2
2803{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2804$as_echo_n "checking for $ac_word... " >&6; }
2805if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2806  $as_echo_n "(cached) " >&6
2807else
2808  if test -n "$ac_ct_STRIP"; then
2809  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2810else
2811as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2812for as_dir in $PATH
2813do
2814  IFS=$as_save_IFS
2815  test -z "$as_dir" && as_dir=.
2816    for ac_exec_ext in '' $ac_executable_extensions; do
2817  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2818    ac_cv_prog_ac_ct_STRIP="strip"
2819    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2820    break 2
2821  fi
2822done
2823  done
2824IFS=$as_save_IFS
2825
2826fi
2827fi
2828ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2829if test -n "$ac_ct_STRIP"; then
2830  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2831$as_echo "$ac_ct_STRIP" >&6; }
2832else
2833  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2834$as_echo "no" >&6; }
2835fi
2836
2837  if test "x$ac_ct_STRIP" = x; then
2838    STRIP=":"
2839  else
2840    case $cross_compiling:$ac_tool_warned in
2841yes:)
2842{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2843$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2844ac_tool_warned=yes ;;
2845esac
2846    STRIP=$ac_ct_STRIP
2847  fi
2848else
2849  STRIP="$ac_cv_prog_STRIP"
2850fi
2851
2852fi
2853INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2854
2855{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2856$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2857if test -z "$MKDIR_P"; then
2858  if ${ac_cv_path_mkdir+:} false; then :
2859  $as_echo_n "(cached) " >&6
2860else
2861  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2862for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2863do
2864  IFS=$as_save_IFS
2865  test -z "$as_dir" && as_dir=.
2866    for ac_prog in mkdir gmkdir; do
2867	 for ac_exec_ext in '' $ac_executable_extensions; do
2868	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2869	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2870	     'mkdir (GNU coreutils) '* | \
2871	     'mkdir (coreutils) '* | \
2872	     'mkdir (fileutils) '4.1*)
2873	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2874	       break 3;;
2875	   esac
2876	 done
2877       done
2878  done
2879IFS=$as_save_IFS
2880
2881fi
2882
2883  test -d ./--version && rmdir ./--version
2884  if test "${ac_cv_path_mkdir+set}" = set; then
2885    MKDIR_P="$ac_cv_path_mkdir -p"
2886  else
2887    # As a last resort, use the slow shell script.  Don't cache a
2888    # value for MKDIR_P within a source directory, because that will
2889    # break other packages using the cache if that directory is
2890    # removed, or if the value is a relative name.
2891    MKDIR_P="$ac_install_sh -d"
2892  fi
2893fi
2894{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2895$as_echo "$MKDIR_P" >&6; }
2896
2897mkdir_p="$MKDIR_P"
2898case $mkdir_p in
2899  [\\/$]* | ?:[\\/]*) ;;
2900  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2901esac
2902
2903for ac_prog in gawk mawk nawk awk
2904do
2905  # Extract the first word of "$ac_prog", so it can be a program name with args.
2906set dummy $ac_prog; ac_word=$2
2907{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2908$as_echo_n "checking for $ac_word... " >&6; }
2909if ${ac_cv_prog_AWK+:} false; then :
2910  $as_echo_n "(cached) " >&6
2911else
2912  if test -n "$AWK"; then
2913  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2914else
2915as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2916for as_dir in $PATH
2917do
2918  IFS=$as_save_IFS
2919  test -z "$as_dir" && as_dir=.
2920    for ac_exec_ext in '' $ac_executable_extensions; do
2921  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2922    ac_cv_prog_AWK="$ac_prog"
2923    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2924    break 2
2925  fi
2926done
2927  done
2928IFS=$as_save_IFS
2929
2930fi
2931fi
2932AWK=$ac_cv_prog_AWK
2933if test -n "$AWK"; then
2934  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2935$as_echo "$AWK" >&6; }
2936else
2937  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2938$as_echo "no" >&6; }
2939fi
2940
2941
2942  test -n "$AWK" && break
2943done
2944
2945{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2946$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2947set x ${MAKE-make}
2948ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2949if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2950  $as_echo_n "(cached) " >&6
2951else
2952  cat >conftest.make <<\_ACEOF
2953SHELL = /bin/sh
2954all:
2955	@echo '@@@%%%=$(MAKE)=@@@%%%'
2956_ACEOF
2957# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2958case `${MAKE-make} -f conftest.make 2>/dev/null` in
2959  *@@@%%%=?*=@@@%%%*)
2960    eval ac_cv_prog_make_${ac_make}_set=yes;;
2961  *)
2962    eval ac_cv_prog_make_${ac_make}_set=no;;
2963esac
2964rm -f conftest.make
2965fi
2966if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2967  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2968$as_echo "yes" >&6; }
2969  SET_MAKE=
2970else
2971  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2972$as_echo "no" >&6; }
2973  SET_MAKE="MAKE=${MAKE-make}"
2974fi
2975
2976rm -rf .tst 2>/dev/null
2977mkdir .tst 2>/dev/null
2978if test -d .tst; then
2979  am__leading_dot=.
2980else
2981  am__leading_dot=_
2982fi
2983rmdir .tst 2>/dev/null
2984
2985if test "`cd $srcdir && pwd`" != "`pwd`"; then
2986  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2987  # is not polluted with repeated "-I."
2988  am__isrc=' -I$(srcdir)'
2989  # test to see if srcdir already configured
2990  if test -f $srcdir/config.status; then
2991    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2992  fi
2993fi
2994
2995# test whether we have cygpath
2996if test -z "$CYGPATH_W"; then
2997  if (cygpath --version) >/dev/null 2>/dev/null; then
2998    CYGPATH_W='cygpath -w'
2999  else
3000    CYGPATH_W=echo
3001  fi
3002fi
3003
3004
3005# Define the identity of the package.
3006 PACKAGE='stressapptest'
3007 VERSION='1.0.9_autoconf'
3008
3009
3010cat >>confdefs.h <<_ACEOF
3011#define PACKAGE "$PACKAGE"
3012_ACEOF
3013
3014
3015cat >>confdefs.h <<_ACEOF
3016#define VERSION "$VERSION"
3017_ACEOF
3018
3019# Some tools Automake needs.
3020
3021ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3022
3023
3024AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3025
3026
3027AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3028
3029
3030AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3031
3032
3033MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3034
3035# We need awk for the "check" target.  The system "awk" is bad on
3036# some platforms.
3037# Always define AMTAR for backward compatibility.
3038
3039AMTAR=${AMTAR-"${am_missing_run}tar"}
3040
3041am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3042
3043
3044
3045
3046
3047
3048ac_config_headers="$ac_config_headers src/stressapptest_config.h"
3049
3050
3051# Checks for programs.
3052#  Don't generate CXXFLAGS defaults: if CXXFLAGS are unset
3053#  AC_PROG_CXX will override them with unwanted defaults.
3054CXXFLAGS="$CXXFLAGS"
3055ac_ext=cpp
3056ac_cpp='$CXXCPP $CPPFLAGS'
3057ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3058ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3059ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3060if test -z "$CXX"; then
3061  if test -n "$CCC"; then
3062    CXX=$CCC
3063  else
3064    if test -n "$ac_tool_prefix"; then
3065  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3066  do
3067    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3068set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3069{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3070$as_echo_n "checking for $ac_word... " >&6; }
3071if ${ac_cv_prog_CXX+:} false; then :
3072  $as_echo_n "(cached) " >&6
3073else
3074  if test -n "$CXX"; then
3075  ac_cv_prog_CXX="$CXX" # Let the user override the test.
3076else
3077as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3078for as_dir in $PATH
3079do
3080  IFS=$as_save_IFS
3081  test -z "$as_dir" && as_dir=.
3082    for ac_exec_ext in '' $ac_executable_extensions; do
3083  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3084    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3085    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3086    break 2
3087  fi
3088done
3089  done
3090IFS=$as_save_IFS
3091
3092fi
3093fi
3094CXX=$ac_cv_prog_CXX
3095if test -n "$CXX"; then
3096  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3097$as_echo "$CXX" >&6; }
3098else
3099  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3100$as_echo "no" >&6; }
3101fi
3102
3103
3104    test -n "$CXX" && break
3105  done
3106fi
3107if test -z "$CXX"; then
3108  ac_ct_CXX=$CXX
3109  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3110do
3111  # Extract the first word of "$ac_prog", so it can be a program name with args.
3112set dummy $ac_prog; ac_word=$2
3113{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3114$as_echo_n "checking for $ac_word... " >&6; }
3115if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3116  $as_echo_n "(cached) " >&6
3117else
3118  if test -n "$ac_ct_CXX"; then
3119  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3120else
3121as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3122for as_dir in $PATH
3123do
3124  IFS=$as_save_IFS
3125  test -z "$as_dir" && as_dir=.
3126    for ac_exec_ext in '' $ac_executable_extensions; do
3127  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3128    ac_cv_prog_ac_ct_CXX="$ac_prog"
3129    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3130    break 2
3131  fi
3132done
3133  done
3134IFS=$as_save_IFS
3135
3136fi
3137fi
3138ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3139if test -n "$ac_ct_CXX"; then
3140  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3141$as_echo "$ac_ct_CXX" >&6; }
3142else
3143  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3144$as_echo "no" >&6; }
3145fi
3146
3147
3148  test -n "$ac_ct_CXX" && break
3149done
3150
3151  if test "x$ac_ct_CXX" = x; then
3152    CXX="g++"
3153  else
3154    case $cross_compiling:$ac_tool_warned in
3155yes:)
3156{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3157$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3158ac_tool_warned=yes ;;
3159esac
3160    CXX=$ac_ct_CXX
3161  fi
3162fi
3163
3164  fi
3165fi
3166# Provide some information about the compiler.
3167$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3168set X $ac_compile
3169ac_compiler=$2
3170for ac_option in --version -v -V -qversion; do
3171  { { ac_try="$ac_compiler $ac_option >&5"
3172case "(($ac_try" in
3173  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3174  *) ac_try_echo=$ac_try;;
3175esac
3176eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3177$as_echo "$ac_try_echo"; } >&5
3178  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3179  ac_status=$?
3180  if test -s conftest.err; then
3181    sed '10a\
3182... rest of stderr output deleted ...
3183         10q' conftest.err >conftest.er1
3184    cat conftest.er1 >&5
3185  fi
3186  rm -f conftest.er1 conftest.err
3187  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3188  test $ac_status = 0; }
3189done
3190
3191cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3192/* end confdefs.h.  */
3193
3194int
3195main ()
3196{
3197
3198  ;
3199  return 0;
3200}
3201_ACEOF
3202ac_clean_files_save=$ac_clean_files
3203ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3204# Try to create an executable without -o first, disregard a.out.
3205# It will help us diagnose broken compilers, and finding out an intuition
3206# of exeext.
3207{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
3208$as_echo_n "checking whether the C++ compiler works... " >&6; }
3209ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3210
3211# The possible output files:
3212ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3213
3214ac_rmfiles=
3215for ac_file in $ac_files
3216do
3217  case $ac_file in
3218    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3219    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3220  esac
3221done
3222rm -f $ac_rmfiles
3223
3224if { { ac_try="$ac_link_default"
3225case "(($ac_try" in
3226  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3227  *) ac_try_echo=$ac_try;;
3228esac
3229eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3230$as_echo "$ac_try_echo"; } >&5
3231  (eval "$ac_link_default") 2>&5
3232  ac_status=$?
3233  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3234  test $ac_status = 0; }; then :
3235  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3236# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3237# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3238# so that the user can short-circuit this test for compilers unknown to
3239# Autoconf.
3240for ac_file in $ac_files ''
3241do
3242  test -f "$ac_file" || continue
3243  case $ac_file in
3244    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3245	;;
3246    [ab].out )
3247	# We found the default executable, but exeext='' is most
3248	# certainly right.
3249	break;;
3250    *.* )
3251	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3252	then :; else
3253	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3254	fi
3255	# We set ac_cv_exeext here because the later test for it is not
3256	# safe: cross compilers may not add the suffix if given an `-o'
3257	# argument, so we may need to know it at that point already.
3258	# Even if this section looks crufty: it has the advantage of
3259	# actually working.
3260	break;;
3261    * )
3262	break;;
3263  esac
3264done
3265test "$ac_cv_exeext" = no && ac_cv_exeext=
3266
3267else
3268  ac_file=''
3269fi
3270if test -z "$ac_file"; then :
3271  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3272$as_echo "no" >&6; }
3273$as_echo "$as_me: failed program was:" >&5
3274sed 's/^/| /' conftest.$ac_ext >&5
3275
3276{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3277$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3278as_fn_error 77 "C++ compiler cannot create executables
3279See \`config.log' for more details" "$LINENO" 5; }
3280else
3281  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3282$as_echo "yes" >&6; }
3283fi
3284{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3285$as_echo_n "checking for C++ compiler default output file name... " >&6; }
3286{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3287$as_echo "$ac_file" >&6; }
3288ac_exeext=$ac_cv_exeext
3289
3290rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3291ac_clean_files=$ac_clean_files_save
3292{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3293$as_echo_n "checking for suffix of executables... " >&6; }
3294if { { ac_try="$ac_link"
3295case "(($ac_try" in
3296  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3297  *) ac_try_echo=$ac_try;;
3298esac
3299eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3300$as_echo "$ac_try_echo"; } >&5
3301  (eval "$ac_link") 2>&5
3302  ac_status=$?
3303  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3304  test $ac_status = 0; }; then :
3305  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3306# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3307# work properly (i.e., refer to `conftest.exe'), while it won't with
3308# `rm'.
3309for ac_file in conftest.exe conftest conftest.*; do
3310  test -f "$ac_file" || continue
3311  case $ac_file in
3312    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3313    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3314	  break;;
3315    * ) break;;
3316  esac
3317done
3318else
3319  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3320$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3321as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3322See \`config.log' for more details" "$LINENO" 5; }
3323fi
3324rm -f conftest conftest$ac_cv_exeext
3325{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3326$as_echo "$ac_cv_exeext" >&6; }
3327
3328rm -f conftest.$ac_ext
3329EXEEXT=$ac_cv_exeext
3330ac_exeext=$EXEEXT
3331cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3332/* end confdefs.h.  */
3333#include <stdio.h>
3334int
3335main ()
3336{
3337FILE *f = fopen ("conftest.out", "w");
3338 return ferror (f) || fclose (f) != 0;
3339
3340  ;
3341  return 0;
3342}
3343_ACEOF
3344ac_clean_files="$ac_clean_files conftest.out"
3345# Check that the compiler produces executables we can run.  If not, either
3346# the compiler is broken, or we cross compile.
3347{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3348$as_echo_n "checking whether we are cross compiling... " >&6; }
3349if test "$cross_compiling" != yes; then
3350  { { ac_try="$ac_link"
3351case "(($ac_try" in
3352  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3353  *) ac_try_echo=$ac_try;;
3354esac
3355eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3356$as_echo "$ac_try_echo"; } >&5
3357  (eval "$ac_link") 2>&5
3358  ac_status=$?
3359  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3360  test $ac_status = 0; }
3361  if { ac_try='./conftest$ac_cv_exeext'
3362  { { case "(($ac_try" in
3363  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3364  *) ac_try_echo=$ac_try;;
3365esac
3366eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3367$as_echo "$ac_try_echo"; } >&5
3368  (eval "$ac_try") 2>&5
3369  ac_status=$?
3370  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3371  test $ac_status = 0; }; }; then
3372    cross_compiling=no
3373  else
3374    if test "$cross_compiling" = maybe; then
3375	cross_compiling=yes
3376    else
3377	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3378$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3379as_fn_error $? "cannot run C++ compiled programs.
3380If you meant to cross compile, use \`--host'.
3381See \`config.log' for more details" "$LINENO" 5; }
3382    fi
3383  fi
3384fi
3385{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3386$as_echo "$cross_compiling" >&6; }
3387
3388rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3389ac_clean_files=$ac_clean_files_save
3390{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3391$as_echo_n "checking for suffix of object files... " >&6; }
3392if ${ac_cv_objext+:} false; then :
3393  $as_echo_n "(cached) " >&6
3394else
3395  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3396/* end confdefs.h.  */
3397
3398int
3399main ()
3400{
3401
3402  ;
3403  return 0;
3404}
3405_ACEOF
3406rm -f conftest.o conftest.obj
3407if { { ac_try="$ac_compile"
3408case "(($ac_try" in
3409  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3410  *) ac_try_echo=$ac_try;;
3411esac
3412eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3413$as_echo "$ac_try_echo"; } >&5
3414  (eval "$ac_compile") 2>&5
3415  ac_status=$?
3416  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3417  test $ac_status = 0; }; then :
3418  for ac_file in conftest.o conftest.obj conftest.*; do
3419  test -f "$ac_file" || continue;
3420  case $ac_file in
3421    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3422    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3423       break;;
3424  esac
3425done
3426else
3427  $as_echo "$as_me: failed program was:" >&5
3428sed 's/^/| /' conftest.$ac_ext >&5
3429
3430{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3431$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3432as_fn_error $? "cannot compute suffix of object files: cannot compile
3433See \`config.log' for more details" "$LINENO" 5; }
3434fi
3435rm -f conftest.$ac_cv_objext conftest.$ac_ext
3436fi
3437{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3438$as_echo "$ac_cv_objext" >&6; }
3439OBJEXT=$ac_cv_objext
3440ac_objext=$OBJEXT
3441{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3442$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3443if ${ac_cv_cxx_compiler_gnu+:} false; then :
3444  $as_echo_n "(cached) " >&6
3445else
3446  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3447/* end confdefs.h.  */
3448
3449int
3450main ()
3451{
3452#ifndef __GNUC__
3453       choke me
3454#endif
3455
3456  ;
3457  return 0;
3458}
3459_ACEOF
3460if ac_fn_cxx_try_compile "$LINENO"; then :
3461  ac_compiler_gnu=yes
3462else
3463  ac_compiler_gnu=no
3464fi
3465rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3466ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3467
3468fi
3469{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3470$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3471if test $ac_compiler_gnu = yes; then
3472  GXX=yes
3473else
3474  GXX=
3475fi
3476ac_test_CXXFLAGS=${CXXFLAGS+set}
3477ac_save_CXXFLAGS=$CXXFLAGS
3478{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3479$as_echo_n "checking whether $CXX accepts -g... " >&6; }
3480if ${ac_cv_prog_cxx_g+:} false; then :
3481  $as_echo_n "(cached) " >&6
3482else
3483  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3484   ac_cxx_werror_flag=yes
3485   ac_cv_prog_cxx_g=no
3486   CXXFLAGS="-g"
3487   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3488/* end confdefs.h.  */
3489
3490int
3491main ()
3492{
3493
3494  ;
3495  return 0;
3496}
3497_ACEOF
3498if ac_fn_cxx_try_compile "$LINENO"; then :
3499  ac_cv_prog_cxx_g=yes
3500else
3501  CXXFLAGS=""
3502      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3503/* end confdefs.h.  */
3504
3505int
3506main ()
3507{
3508
3509  ;
3510  return 0;
3511}
3512_ACEOF
3513if ac_fn_cxx_try_compile "$LINENO"; then :
3514
3515else
3516  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3517	 CXXFLAGS="-g"
3518	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3519/* end confdefs.h.  */
3520
3521int
3522main ()
3523{
3524
3525  ;
3526  return 0;
3527}
3528_ACEOF
3529if ac_fn_cxx_try_compile "$LINENO"; then :
3530  ac_cv_prog_cxx_g=yes
3531fi
3532rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3533fi
3534rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3535fi
3536rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3537   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3538fi
3539{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3540$as_echo "$ac_cv_prog_cxx_g" >&6; }
3541if test "$ac_test_CXXFLAGS" = set; then
3542  CXXFLAGS=$ac_save_CXXFLAGS
3543elif test $ac_cv_prog_cxx_g = yes; then
3544  if test "$GXX" = yes; then
3545    CXXFLAGS="-g -O2"
3546  else
3547    CXXFLAGS="-g"
3548  fi
3549else
3550  if test "$GXX" = yes; then
3551    CXXFLAGS="-O2"
3552  else
3553    CXXFLAGS=
3554  fi
3555fi
3556ac_ext=c
3557ac_cpp='$CPP $CPPFLAGS'
3558ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3559ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3560ac_compiler_gnu=$ac_cv_c_compiler_gnu
3561DEPDIR="${am__leading_dot}deps"
3562
3563ac_config_commands="$ac_config_commands depfiles"
3564
3565
3566am_make=${MAKE-make}
3567cat > confinc << 'END'
3568am__doit:
3569	@echo this is the am__doit target
3570.PHONY: am__doit
3571END
3572# If we don't find an include directive, just comment out the code.
3573{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3574$as_echo_n "checking for style of include used by $am_make... " >&6; }
3575am__include="#"
3576am__quote=
3577_am_result=none
3578# First try GNU make style include.
3579echo "include confinc" > confmf
3580# Ignore all kinds of additional output from `make'.
3581case `$am_make -s -f confmf 2> /dev/null` in #(
3582*the\ am__doit\ target*)
3583  am__include=include
3584  am__quote=
3585  _am_result=GNU
3586  ;;
3587esac
3588# Now try BSD make style include.
3589if test "$am__include" = "#"; then
3590   echo '.include "confinc"' > confmf
3591   case `$am_make -s -f confmf 2> /dev/null` in #(
3592   *the\ am__doit\ target*)
3593     am__include=.include
3594     am__quote="\""
3595     _am_result=BSD
3596     ;;
3597   esac
3598fi
3599
3600
3601{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3602$as_echo "$_am_result" >&6; }
3603rm -f confinc confmf
3604
3605# Check whether --enable-dependency-tracking was given.
3606if test "${enable_dependency_tracking+set}" = set; then :
3607  enableval=$enable_dependency_tracking;
3608fi
3609
3610if test "x$enable_dependency_tracking" != xno; then
3611  am_depcomp="$ac_aux_dir/depcomp"
3612  AMDEPBACKSLASH='\'
3613fi
3614 if test "x$enable_dependency_tracking" != xno; then
3615  AMDEP_TRUE=
3616  AMDEP_FALSE='#'
3617else
3618  AMDEP_TRUE='#'
3619  AMDEP_FALSE=
3620fi
3621
3622
3623
3624depcc="$CXX"  am_compiler_list=
3625
3626{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3627$as_echo_n "checking dependency style of $depcc... " >&6; }
3628if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
3629  $as_echo_n "(cached) " >&6
3630else
3631  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3632  # We make a subdir and do the tests there.  Otherwise we can end up
3633  # making bogus files that we don't know about and never remove.  For
3634  # instance it was reported that on HP-UX the gcc test will end up
3635  # making a dummy file named `D' -- because `-MD' means `put the output
3636  # in D'.
3637  mkdir conftest.dir
3638  # Copy depcomp to subdir because otherwise we won't find it if we're
3639  # using a relative directory.
3640  cp "$am_depcomp" conftest.dir
3641  cd conftest.dir
3642  # We will build objects and dependencies in a subdirectory because
3643  # it helps to detect inapplicable dependency modes.  For instance
3644  # both Tru64's cc and ICC support -MD to output dependencies as a
3645  # side effect of compilation, but ICC will put the dependencies in
3646  # the current directory while Tru64 will put them in the object
3647  # directory.
3648  mkdir sub
3649
3650  am_cv_CXX_dependencies_compiler_type=none
3651  if test "$am_compiler_list" = ""; then
3652     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3653  fi
3654  am__universal=false
3655  case " $depcc " in #(
3656     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3657     esac
3658
3659  for depmode in $am_compiler_list; do
3660    # Setup a source with many dependencies, because some compilers
3661    # like to wrap large dependency lists on column 80 (with \), and
3662    # we should not choose a depcomp mode which is confused by this.
3663    #
3664    # We need to recreate these files for each test, as the compiler may
3665    # overwrite some of them when testing with obscure command lines.
3666    # This happens at least with the AIX C compiler.
3667    : > sub/conftest.c
3668    for i in 1 2 3 4 5 6; do
3669      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3670      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3671      # Solaris 8's {/usr,}/bin/sh.
3672      touch sub/conftst$i.h
3673    done
3674    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3675
3676    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3677    # mode.  It turns out that the SunPro C++ compiler does not properly
3678    # handle `-M -o', and we need to detect this.  Also, some Intel
3679    # versions had trouble with output in subdirs
3680    am__obj=sub/conftest.${OBJEXT-o}
3681    am__minus_obj="-o $am__obj"
3682    case $depmode in
3683    gcc)
3684      # This depmode causes a compiler race in universal mode.
3685      test "$am__universal" = false || continue
3686      ;;
3687    nosideeffect)
3688      # after this tag, mechanisms are not by side-effect, so they'll
3689      # only be used when explicitly requested
3690      if test "x$enable_dependency_tracking" = xyes; then
3691	continue
3692      else
3693	break
3694      fi
3695      ;;
3696    msvisualcpp | msvcmsys)
3697      # This compiler won't grok `-c -o', but also, the minuso test has
3698      # not run yet.  These depmodes are late enough in the game, and
3699      # so weak that their functioning should not be impacted.
3700      am__obj=conftest.${OBJEXT-o}
3701      am__minus_obj=
3702      ;;
3703    none) break ;;
3704    esac
3705    if depmode=$depmode \
3706       source=sub/conftest.c object=$am__obj \
3707       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3708       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3709         >/dev/null 2>conftest.err &&
3710       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3711       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3712       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3713       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3714      # icc doesn't choke on unknown options, it will just issue warnings
3715      # or remarks (even with -Werror).  So we grep stderr for any message
3716      # that says an option was ignored or not supported.
3717      # When given -MP, icc 7.0 and 7.1 complain thusly:
3718      #   icc: Command line warning: ignoring option '-M'; no argument required
3719      # The diagnosis changed in icc 8.0:
3720      #   icc: Command line remark: option '-MP' not supported
3721      if (grep 'ignoring option' conftest.err ||
3722          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3723        am_cv_CXX_dependencies_compiler_type=$depmode
3724        break
3725      fi
3726    fi
3727  done
3728
3729  cd ..
3730  rm -rf conftest.dir
3731else
3732  am_cv_CXX_dependencies_compiler_type=none
3733fi
3734
3735fi
3736{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
3737$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3738CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3739
3740 if
3741  test "x$enable_dependency_tracking" != xno \
3742  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3743  am__fastdepCXX_TRUE=
3744  am__fastdepCXX_FALSE='#'
3745else
3746  am__fastdepCXX_TRUE='#'
3747  am__fastdepCXX_FALSE=
3748fi
3749
3750
3751ac_ext=c
3752ac_cpp='$CPP $CPPFLAGS'
3753ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3754ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3755ac_compiler_gnu=$ac_cv_c_compiler_gnu
3756if test -n "$ac_tool_prefix"; then
3757  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3758set dummy ${ac_tool_prefix}gcc; ac_word=$2
3759{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3760$as_echo_n "checking for $ac_word... " >&6; }
3761if ${ac_cv_prog_CC+:} false; then :
3762  $as_echo_n "(cached) " >&6
3763else
3764  if test -n "$CC"; then
3765  ac_cv_prog_CC="$CC" # Let the user override the test.
3766else
3767as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3768for as_dir in $PATH
3769do
3770  IFS=$as_save_IFS
3771  test -z "$as_dir" && as_dir=.
3772    for ac_exec_ext in '' $ac_executable_extensions; do
3773  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3774    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3775    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3776    break 2
3777  fi
3778done
3779  done
3780IFS=$as_save_IFS
3781
3782fi
3783fi
3784CC=$ac_cv_prog_CC
3785if test -n "$CC"; then
3786  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3787$as_echo "$CC" >&6; }
3788else
3789  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3790$as_echo "no" >&6; }
3791fi
3792
3793
3794fi
3795if test -z "$ac_cv_prog_CC"; then
3796  ac_ct_CC=$CC
3797  # Extract the first word of "gcc", so it can be a program name with args.
3798set dummy gcc; ac_word=$2
3799{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3800$as_echo_n "checking for $ac_word... " >&6; }
3801if ${ac_cv_prog_ac_ct_CC+:} false; then :
3802  $as_echo_n "(cached) " >&6
3803else
3804  if test -n "$ac_ct_CC"; then
3805  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3806else
3807as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3808for as_dir in $PATH
3809do
3810  IFS=$as_save_IFS
3811  test -z "$as_dir" && as_dir=.
3812    for ac_exec_ext in '' $ac_executable_extensions; do
3813  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3814    ac_cv_prog_ac_ct_CC="gcc"
3815    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3816    break 2
3817  fi
3818done
3819  done
3820IFS=$as_save_IFS
3821
3822fi
3823fi
3824ac_ct_CC=$ac_cv_prog_ac_ct_CC
3825if test -n "$ac_ct_CC"; then
3826  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3827$as_echo "$ac_ct_CC" >&6; }
3828else
3829  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3830$as_echo "no" >&6; }
3831fi
3832
3833  if test "x$ac_ct_CC" = x; then
3834    CC=""
3835  else
3836    case $cross_compiling:$ac_tool_warned in
3837yes:)
3838{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3839$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3840ac_tool_warned=yes ;;
3841esac
3842    CC=$ac_ct_CC
3843  fi
3844else
3845  CC="$ac_cv_prog_CC"
3846fi
3847
3848if test -z "$CC"; then
3849          if test -n "$ac_tool_prefix"; then
3850    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3851set dummy ${ac_tool_prefix}cc; ac_word=$2
3852{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3853$as_echo_n "checking for $ac_word... " >&6; }
3854if ${ac_cv_prog_CC+:} false; then :
3855  $as_echo_n "(cached) " >&6
3856else
3857  if test -n "$CC"; then
3858  ac_cv_prog_CC="$CC" # Let the user override the test.
3859else
3860as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3861for as_dir in $PATH
3862do
3863  IFS=$as_save_IFS
3864  test -z "$as_dir" && as_dir=.
3865    for ac_exec_ext in '' $ac_executable_extensions; do
3866  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3867    ac_cv_prog_CC="${ac_tool_prefix}cc"
3868    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3869    break 2
3870  fi
3871done
3872  done
3873IFS=$as_save_IFS
3874
3875fi
3876fi
3877CC=$ac_cv_prog_CC
3878if test -n "$CC"; then
3879  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3880$as_echo "$CC" >&6; }
3881else
3882  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3883$as_echo "no" >&6; }
3884fi
3885
3886
3887  fi
3888fi
3889if test -z "$CC"; then
3890  # Extract the first word of "cc", so it can be a program name with args.
3891set dummy cc; ac_word=$2
3892{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3893$as_echo_n "checking for $ac_word... " >&6; }
3894if ${ac_cv_prog_CC+:} false; then :
3895  $as_echo_n "(cached) " >&6
3896else
3897  if test -n "$CC"; then
3898  ac_cv_prog_CC="$CC" # Let the user override the test.
3899else
3900  ac_prog_rejected=no
3901as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3902for as_dir in $PATH
3903do
3904  IFS=$as_save_IFS
3905  test -z "$as_dir" && as_dir=.
3906    for ac_exec_ext in '' $ac_executable_extensions; do
3907  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3908    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3909       ac_prog_rejected=yes
3910       continue
3911     fi
3912    ac_cv_prog_CC="cc"
3913    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3914    break 2
3915  fi
3916done
3917  done
3918IFS=$as_save_IFS
3919
3920if test $ac_prog_rejected = yes; then
3921  # We found a bogon in the path, so make sure we never use it.
3922  set dummy $ac_cv_prog_CC
3923  shift
3924  if test $# != 0; then
3925    # We chose a different compiler from the bogus one.
3926    # However, it has the same basename, so the bogon will be chosen
3927    # first if we set CC to just the basename; use the full file name.
3928    shift
3929    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3930  fi
3931fi
3932fi
3933fi
3934CC=$ac_cv_prog_CC
3935if test -n "$CC"; then
3936  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3937$as_echo "$CC" >&6; }
3938else
3939  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3940$as_echo "no" >&6; }
3941fi
3942
3943
3944fi
3945if test -z "$CC"; then
3946  if test -n "$ac_tool_prefix"; then
3947  for ac_prog in cl.exe
3948  do
3949    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3950set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3951{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3952$as_echo_n "checking for $ac_word... " >&6; }
3953if ${ac_cv_prog_CC+:} false; then :
3954  $as_echo_n "(cached) " >&6
3955else
3956  if test -n "$CC"; then
3957  ac_cv_prog_CC="$CC" # Let the user override the test.
3958else
3959as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3960for as_dir in $PATH
3961do
3962  IFS=$as_save_IFS
3963  test -z "$as_dir" && as_dir=.
3964    for ac_exec_ext in '' $ac_executable_extensions; do
3965  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3966    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3967    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3968    break 2
3969  fi
3970done
3971  done
3972IFS=$as_save_IFS
3973
3974fi
3975fi
3976CC=$ac_cv_prog_CC
3977if test -n "$CC"; then
3978  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3979$as_echo "$CC" >&6; }
3980else
3981  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3982$as_echo "no" >&6; }
3983fi
3984
3985
3986    test -n "$CC" && break
3987  done
3988fi
3989if test -z "$CC"; then
3990  ac_ct_CC=$CC
3991  for ac_prog in cl.exe
3992do
3993  # Extract the first word of "$ac_prog", so it can be a program name with args.
3994set dummy $ac_prog; ac_word=$2
3995{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3996$as_echo_n "checking for $ac_word... " >&6; }
3997if ${ac_cv_prog_ac_ct_CC+:} false; then :
3998  $as_echo_n "(cached) " >&6
3999else
4000  if test -n "$ac_ct_CC"; then
4001  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4002else
4003as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4004for as_dir in $PATH
4005do
4006  IFS=$as_save_IFS
4007  test -z "$as_dir" && as_dir=.
4008    for ac_exec_ext in '' $ac_executable_extensions; do
4009  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4010    ac_cv_prog_ac_ct_CC="$ac_prog"
4011    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4012    break 2
4013  fi
4014done
4015  done
4016IFS=$as_save_IFS
4017
4018fi
4019fi
4020ac_ct_CC=$ac_cv_prog_ac_ct_CC
4021if test -n "$ac_ct_CC"; then
4022  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4023$as_echo "$ac_ct_CC" >&6; }
4024else
4025  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4026$as_echo "no" >&6; }
4027fi
4028
4029
4030  test -n "$ac_ct_CC" && break
4031done
4032
4033  if test "x$ac_ct_CC" = x; then
4034    CC=""
4035  else
4036    case $cross_compiling:$ac_tool_warned in
4037yes:)
4038{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4039$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4040ac_tool_warned=yes ;;
4041esac
4042    CC=$ac_ct_CC
4043  fi
4044fi
4045
4046fi
4047
4048
4049test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4050$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4051as_fn_error $? "no acceptable C compiler found in \$PATH
4052See \`config.log' for more details" "$LINENO" 5; }
4053
4054# Provide some information about the compiler.
4055$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4056set X $ac_compile
4057ac_compiler=$2
4058for ac_option in --version -v -V -qversion; do
4059  { { ac_try="$ac_compiler $ac_option >&5"
4060case "(($ac_try" in
4061  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4062  *) ac_try_echo=$ac_try;;
4063esac
4064eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4065$as_echo "$ac_try_echo"; } >&5
4066  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4067  ac_status=$?
4068  if test -s conftest.err; then
4069    sed '10a\
4070... rest of stderr output deleted ...
4071         10q' conftest.err >conftest.er1
4072    cat conftest.er1 >&5
4073  fi
4074  rm -f conftest.er1 conftest.err
4075  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4076  test $ac_status = 0; }
4077done
4078
4079{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4080$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4081if ${ac_cv_c_compiler_gnu+:} false; then :
4082  $as_echo_n "(cached) " >&6
4083else
4084  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4085/* end confdefs.h.  */
4086
4087int
4088main ()
4089{
4090#ifndef __GNUC__
4091       choke me
4092#endif
4093
4094  ;
4095  return 0;
4096}
4097_ACEOF
4098if ac_fn_c_try_compile "$LINENO"; then :
4099  ac_compiler_gnu=yes
4100else
4101  ac_compiler_gnu=no
4102fi
4103rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4104ac_cv_c_compiler_gnu=$ac_compiler_gnu
4105
4106fi
4107{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4108$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4109if test $ac_compiler_gnu = yes; then
4110  GCC=yes
4111else
4112  GCC=
4113fi
4114ac_test_CFLAGS=${CFLAGS+set}
4115ac_save_CFLAGS=$CFLAGS
4116{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4117$as_echo_n "checking whether $CC accepts -g... " >&6; }
4118if ${ac_cv_prog_cc_g+:} false; then :
4119  $as_echo_n "(cached) " >&6
4120else
4121  ac_save_c_werror_flag=$ac_c_werror_flag
4122   ac_c_werror_flag=yes
4123   ac_cv_prog_cc_g=no
4124   CFLAGS="-g"
4125   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4126/* end confdefs.h.  */
4127
4128int
4129main ()
4130{
4131
4132  ;
4133  return 0;
4134}
4135_ACEOF
4136if ac_fn_c_try_compile "$LINENO"; then :
4137  ac_cv_prog_cc_g=yes
4138else
4139  CFLAGS=""
4140      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4141/* end confdefs.h.  */
4142
4143int
4144main ()
4145{
4146
4147  ;
4148  return 0;
4149}
4150_ACEOF
4151if ac_fn_c_try_compile "$LINENO"; then :
4152
4153else
4154  ac_c_werror_flag=$ac_save_c_werror_flag
4155	 CFLAGS="-g"
4156	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4157/* end confdefs.h.  */
4158
4159int
4160main ()
4161{
4162
4163  ;
4164  return 0;
4165}
4166_ACEOF
4167if ac_fn_c_try_compile "$LINENO"; then :
4168  ac_cv_prog_cc_g=yes
4169fi
4170rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4171fi
4172rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4173fi
4174rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4175   ac_c_werror_flag=$ac_save_c_werror_flag
4176fi
4177{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4178$as_echo "$ac_cv_prog_cc_g" >&6; }
4179if test "$ac_test_CFLAGS" = set; then
4180  CFLAGS=$ac_save_CFLAGS
4181elif test $ac_cv_prog_cc_g = yes; then
4182  if test "$GCC" = yes; then
4183    CFLAGS="-g -O2"
4184  else
4185    CFLAGS="-g"
4186  fi
4187else
4188  if test "$GCC" = yes; then
4189    CFLAGS="-O2"
4190  else
4191    CFLAGS=
4192  fi
4193fi
4194{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4195$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4196if ${ac_cv_prog_cc_c89+:} false; then :
4197  $as_echo_n "(cached) " >&6
4198else
4199  ac_cv_prog_cc_c89=no
4200ac_save_CC=$CC
4201cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4202/* end confdefs.h.  */
4203#include <stdarg.h>
4204#include <stdio.h>
4205struct stat;
4206/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4207struct buf { int x; };
4208FILE * (*rcsopen) (struct buf *, struct stat *, int);
4209static char *e (p, i)
4210     char **p;
4211     int i;
4212{
4213  return p[i];
4214}
4215static char *f (char * (*g) (char **, int), char **p, ...)
4216{
4217  char *s;
4218  va_list v;
4219  va_start (v,p);
4220  s = g (p, va_arg (v,int));
4221  va_end (v);
4222  return s;
4223}
4224
4225/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4226   function prototypes and stuff, but not '\xHH' hex character constants.
4227   These don't provoke an error unfortunately, instead are silently treated
4228   as 'x'.  The following induces an error, until -std is added to get
4229   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4230   array size at least.  It's necessary to write '\x00'==0 to get something
4231   that's true only with -std.  */
4232int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4233
4234/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4235   inside strings and character constants.  */
4236#define FOO(x) 'x'
4237int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4238
4239int test (int i, double x);
4240struct s1 {int (*f) (int a);};
4241struct s2 {int (*f) (double a);};
4242int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4243int argc;
4244char **argv;
4245int
4246main ()
4247{
4248return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4249  ;
4250  return 0;
4251}
4252_ACEOF
4253for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4254	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4255do
4256  CC="$ac_save_CC $ac_arg"
4257  if ac_fn_c_try_compile "$LINENO"; then :
4258  ac_cv_prog_cc_c89=$ac_arg
4259fi
4260rm -f core conftest.err conftest.$ac_objext
4261  test "x$ac_cv_prog_cc_c89" != "xno" && break
4262done
4263rm -f conftest.$ac_ext
4264CC=$ac_save_CC
4265
4266fi
4267# AC_CACHE_VAL
4268case "x$ac_cv_prog_cc_c89" in
4269  x)
4270    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4271$as_echo "none needed" >&6; } ;;
4272  xno)
4273    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4274$as_echo "unsupported" >&6; } ;;
4275  *)
4276    CC="$CC $ac_cv_prog_cc_c89"
4277    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4278$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4279esac
4280if test "x$ac_cv_prog_cc_c89" != xno; then :
4281
4282fi
4283
4284ac_ext=c
4285ac_cpp='$CPP $CPPFLAGS'
4286ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4287ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4288ac_compiler_gnu=$ac_cv_c_compiler_gnu
4289
4290depcc="$CC"   am_compiler_list=
4291
4292{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4293$as_echo_n "checking dependency style of $depcc... " >&6; }
4294if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4295  $as_echo_n "(cached) " >&6
4296else
4297  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4298  # We make a subdir and do the tests there.  Otherwise we can end up
4299  # making bogus files that we don't know about and never remove.  For
4300  # instance it was reported that on HP-UX the gcc test will end up
4301  # making a dummy file named `D' -- because `-MD' means `put the output
4302  # in D'.
4303  mkdir conftest.dir
4304  # Copy depcomp to subdir because otherwise we won't find it if we're
4305  # using a relative directory.
4306  cp "$am_depcomp" conftest.dir
4307  cd conftest.dir
4308  # We will build objects and dependencies in a subdirectory because
4309  # it helps to detect inapplicable dependency modes.  For instance
4310  # both Tru64's cc and ICC support -MD to output dependencies as a
4311  # side effect of compilation, but ICC will put the dependencies in
4312  # the current directory while Tru64 will put them in the object
4313  # directory.
4314  mkdir sub
4315
4316  am_cv_CC_dependencies_compiler_type=none
4317  if test "$am_compiler_list" = ""; then
4318     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4319  fi
4320  am__universal=false
4321  case " $depcc " in #(
4322     *\ -arch\ *\ -arch\ *) am__universal=true ;;
4323     esac
4324
4325  for depmode in $am_compiler_list; do
4326    # Setup a source with many dependencies, because some compilers
4327    # like to wrap large dependency lists on column 80 (with \), and
4328    # we should not choose a depcomp mode which is confused by this.
4329    #
4330    # We need to recreate these files for each test, as the compiler may
4331    # overwrite some of them when testing with obscure command lines.
4332    # This happens at least with the AIX C compiler.
4333    : > sub/conftest.c
4334    for i in 1 2 3 4 5 6; do
4335      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4336      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4337      # Solaris 8's {/usr,}/bin/sh.
4338      touch sub/conftst$i.h
4339    done
4340    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4341
4342    # We check with `-c' and `-o' for the sake of the "dashmstdout"
4343    # mode.  It turns out that the SunPro C++ compiler does not properly
4344    # handle `-M -o', and we need to detect this.  Also, some Intel
4345    # versions had trouble with output in subdirs
4346    am__obj=sub/conftest.${OBJEXT-o}
4347    am__minus_obj="-o $am__obj"
4348    case $depmode in
4349    gcc)
4350      # This depmode causes a compiler race in universal mode.
4351      test "$am__universal" = false || continue
4352      ;;
4353    nosideeffect)
4354      # after this tag, mechanisms are not by side-effect, so they'll
4355      # only be used when explicitly requested
4356      if test "x$enable_dependency_tracking" = xyes; then
4357	continue
4358      else
4359	break
4360      fi
4361      ;;
4362    msvisualcpp | msvcmsys)
4363      # This compiler won't grok `-c -o', but also, the minuso test has
4364      # not run yet.  These depmodes are late enough in the game, and
4365      # so weak that their functioning should not be impacted.
4366      am__obj=conftest.${OBJEXT-o}
4367      am__minus_obj=
4368      ;;
4369    none) break ;;
4370    esac
4371    if depmode=$depmode \
4372       source=sub/conftest.c object=$am__obj \
4373       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4374       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4375         >/dev/null 2>conftest.err &&
4376       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4377       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4378       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4379       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4380      # icc doesn't choke on unknown options, it will just issue warnings
4381      # or remarks (even with -Werror).  So we grep stderr for any message
4382      # that says an option was ignored or not supported.
4383      # When given -MP, icc 7.0 and 7.1 complain thusly:
4384      #   icc: Command line warning: ignoring option '-M'; no argument required
4385      # The diagnosis changed in icc 8.0:
4386      #   icc: Command line remark: option '-MP' not supported
4387      if (grep 'ignoring option' conftest.err ||
4388          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4389        am_cv_CC_dependencies_compiler_type=$depmode
4390        break
4391      fi
4392    fi
4393  done
4394
4395  cd ..
4396  rm -rf conftest.dir
4397else
4398  am_cv_CC_dependencies_compiler_type=none
4399fi
4400
4401fi
4402{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4403$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4404CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4405
4406 if
4407  test "x$enable_dependency_tracking" != xno \
4408  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4409  am__fastdepCC_TRUE=
4410  am__fastdepCC_FALSE='#'
4411else
4412  am__fastdepCC_TRUE='#'
4413  am__fastdepCC_FALSE=
4414fi
4415
4416
4417
4418#Getting user and host info
4419username=$(whoami)
4420{ $as_echo "$as_me:${as_lineno-$LINENO}: checking user ID" >&5
4421$as_echo_n "checking user ID... " >&6; }
4422{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $username" >&5
4423$as_echo "$username" >&6; }
4424
4425hostname=$(uname -n)
4426{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host name" >&5
4427$as_echo_n "checking host name... " >&6; }
4428{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hostname" >&5
4429$as_echo "$hostname" >&6; }
4430
4431timestamp=$(date)
4432{ $as_echo "$as_me:${as_lineno-$LINENO}: checking current timestamp" >&5
4433$as_echo_n "checking current timestamp... " >&6; }
4434{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $timestamp" >&5
4435$as_echo "$timestamp" >&6; }
4436
4437
4438cat >>confdefs.h <<_ACEOF
4439#define STRESSAPPTEST_TIMESTAMP "$username @ $hostname on $timestamp"
4440_ACEOF
4441
4442
4443# Check whether --enable-default-optimizations was given.
4444if test "${enable_default_optimizations+set}" = set; then :
4445  enableval=$enable_default_optimizations;
4446fi
4447
4448if test x"$enable_default_optimizations" != xno; then :
4449
4450    #Default cxxflags
4451    CXXFLAGS="$CXXFLAGS -DCHECKOPTS"
4452    CXXFLAGS="$CXXFLAGS -Wreturn-type -Wunused -Wuninitialized -Wall"
4453    CXXFLAGS="$CXXFLAGS -O3 -funroll-all-loops  -funroll-loops -DNDEBUG"
4454
4455fi
4456
4457# Checks for header files.
4458
4459ac_header_dirent=no
4460for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
4461  as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
4462{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
4463$as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
4464if eval \${$as_ac_Header+:} false; then :
4465  $as_echo_n "(cached) " >&6
4466else
4467  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4468/* end confdefs.h.  */
4469#include <sys/types.h>
4470#include <$ac_hdr>
4471
4472int
4473main ()
4474{
4475if ((DIR *) 0)
4476return 0;
4477  ;
4478  return 0;
4479}
4480_ACEOF
4481if ac_fn_c_try_compile "$LINENO"; then :
4482  eval "$as_ac_Header=yes"
4483else
4484  eval "$as_ac_Header=no"
4485fi
4486rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4487fi
4488eval ac_res=\$$as_ac_Header
4489	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
4490$as_echo "$ac_res" >&6; }
4491if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4492  cat >>confdefs.h <<_ACEOF
4493#define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
4494_ACEOF
4495
4496ac_header_dirent=$ac_hdr; break
4497fi
4498
4499done
4500# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
4501if test $ac_header_dirent = dirent.h; then
4502  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
4503$as_echo_n "checking for library containing opendir... " >&6; }
4504if ${ac_cv_search_opendir+:} false; then :
4505  $as_echo_n "(cached) " >&6
4506else
4507  ac_func_search_save_LIBS=$LIBS
4508cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4509/* end confdefs.h.  */
4510
4511/* Override any GCC internal prototype to avoid an error.
4512   Use char because int might match the return type of a GCC
4513   builtin and then its argument prototype would still apply.  */
4514#ifdef __cplusplus
4515extern "C"
4516#endif
4517char opendir ();
4518int
4519main ()
4520{
4521return opendir ();
4522  ;
4523  return 0;
4524}
4525_ACEOF
4526for ac_lib in '' dir; do
4527  if test -z "$ac_lib"; then
4528    ac_res="none required"
4529  else
4530    ac_res=-l$ac_lib
4531    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
4532  fi
4533  if ac_fn_c_try_link "$LINENO"; then :
4534  ac_cv_search_opendir=$ac_res
4535fi
4536rm -f core conftest.err conftest.$ac_objext \
4537    conftest$ac_exeext
4538  if ${ac_cv_search_opendir+:} false; then :
4539  break
4540fi
4541done
4542if ${ac_cv_search_opendir+:} false; then :
4543
4544else
4545  ac_cv_search_opendir=no
4546fi
4547rm conftest.$ac_ext
4548LIBS=$ac_func_search_save_LIBS
4549fi
4550{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
4551$as_echo "$ac_cv_search_opendir" >&6; }
4552ac_res=$ac_cv_search_opendir
4553if test "$ac_res" != no; then :
4554  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4555
4556fi
4557
4558else
4559  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
4560$as_echo_n "checking for library containing opendir... " >&6; }
4561if ${ac_cv_search_opendir+:} false; then :
4562  $as_echo_n "(cached) " >&6
4563else
4564  ac_func_search_save_LIBS=$LIBS
4565cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4566/* end confdefs.h.  */
4567
4568/* Override any GCC internal prototype to avoid an error.
4569   Use char because int might match the return type of a GCC
4570   builtin and then its argument prototype would still apply.  */
4571#ifdef __cplusplus
4572extern "C"
4573#endif
4574char opendir ();
4575int
4576main ()
4577{
4578return opendir ();
4579  ;
4580  return 0;
4581}
4582_ACEOF
4583for ac_lib in '' x; do
4584  if test -z "$ac_lib"; then
4585    ac_res="none required"
4586  else
4587    ac_res=-l$ac_lib
4588    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
4589  fi
4590  if ac_fn_c_try_link "$LINENO"; then :
4591  ac_cv_search_opendir=$ac_res
4592fi
4593rm -f core conftest.err conftest.$ac_objext \
4594    conftest$ac_exeext
4595  if ${ac_cv_search_opendir+:} false; then :
4596  break
4597fi
4598done
4599if ${ac_cv_search_opendir+:} false; then :
4600
4601else
4602  ac_cv_search_opendir=no
4603fi
4604rm conftest.$ac_ext
4605LIBS=$ac_func_search_save_LIBS
4606fi
4607{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
4608$as_echo "$ac_cv_search_opendir" >&6; }
4609ac_res=$ac_cv_search_opendir
4610if test "$ac_res" != no; then :
4611  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4612
4613fi
4614
4615fi
4616
4617ac_ext=c
4618ac_cpp='$CPP $CPPFLAGS'
4619ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4620ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4621ac_compiler_gnu=$ac_cv_c_compiler_gnu
4622{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4623$as_echo_n "checking how to run the C preprocessor... " >&6; }
4624# On Suns, sometimes $CPP names a directory.
4625if test -n "$CPP" && test -d "$CPP"; then
4626  CPP=
4627fi
4628if test -z "$CPP"; then
4629  if ${ac_cv_prog_CPP+:} false; then :
4630  $as_echo_n "(cached) " >&6
4631else
4632      # Double quotes because CPP needs to be expanded
4633    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4634    do
4635      ac_preproc_ok=false
4636for ac_c_preproc_warn_flag in '' yes
4637do
4638  # Use a header file that comes with gcc, so configuring glibc
4639  # with a fresh cross-compiler works.
4640  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4641  # <limits.h> exists even on freestanding compilers.
4642  # On the NeXT, cc -E runs the code through the compiler's parser,
4643  # not just through cpp. "Syntax error" is here to catch this case.
4644  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4645/* end confdefs.h.  */
4646#ifdef __STDC__
4647# include <limits.h>
4648#else
4649# include <assert.h>
4650#endif
4651		     Syntax error
4652_ACEOF
4653if ac_fn_c_try_cpp "$LINENO"; then :
4654
4655else
4656  # Broken: fails on valid input.
4657continue
4658fi
4659rm -f conftest.err conftest.i conftest.$ac_ext
4660
4661  # OK, works on sane cases.  Now check whether nonexistent headers
4662  # can be detected and how.
4663  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4664/* end confdefs.h.  */
4665#include <ac_nonexistent.h>
4666_ACEOF
4667if ac_fn_c_try_cpp "$LINENO"; then :
4668  # Broken: success on invalid input.
4669continue
4670else
4671  # Passes both tests.
4672ac_preproc_ok=:
4673break
4674fi
4675rm -f conftest.err conftest.i conftest.$ac_ext
4676
4677done
4678# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4679rm -f conftest.i conftest.err conftest.$ac_ext
4680if $ac_preproc_ok; then :
4681  break
4682fi
4683
4684    done
4685    ac_cv_prog_CPP=$CPP
4686
4687fi
4688  CPP=$ac_cv_prog_CPP
4689else
4690  ac_cv_prog_CPP=$CPP
4691fi
4692{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4693$as_echo "$CPP" >&6; }
4694ac_preproc_ok=false
4695for ac_c_preproc_warn_flag in '' yes
4696do
4697  # Use a header file that comes with gcc, so configuring glibc
4698  # with a fresh cross-compiler works.
4699  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4700  # <limits.h> exists even on freestanding compilers.
4701  # On the NeXT, cc -E runs the code through the compiler's parser,
4702  # not just through cpp. "Syntax error" is here to catch this case.
4703  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4704/* end confdefs.h.  */
4705#ifdef __STDC__
4706# include <limits.h>
4707#else
4708# include <assert.h>
4709#endif
4710		     Syntax error
4711_ACEOF
4712if ac_fn_c_try_cpp "$LINENO"; then :
4713
4714else
4715  # Broken: fails on valid input.
4716continue
4717fi
4718rm -f conftest.err conftest.i conftest.$ac_ext
4719
4720  # OK, works on sane cases.  Now check whether nonexistent headers
4721  # can be detected and how.
4722  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4723/* end confdefs.h.  */
4724#include <ac_nonexistent.h>
4725_ACEOF
4726if ac_fn_c_try_cpp "$LINENO"; then :
4727  # Broken: success on invalid input.
4728continue
4729else
4730  # Passes both tests.
4731ac_preproc_ok=:
4732break
4733fi
4734rm -f conftest.err conftest.i conftest.$ac_ext
4735
4736done
4737# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4738rm -f conftest.i conftest.err conftest.$ac_ext
4739if $ac_preproc_ok; then :
4740
4741else
4742  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4743$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4744as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4745See \`config.log' for more details" "$LINENO" 5; }
4746fi
4747
4748ac_ext=c
4749ac_cpp='$CPP $CPPFLAGS'
4750ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4751ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4752ac_compiler_gnu=$ac_cv_c_compiler_gnu
4753
4754
4755{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4756$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4757if ${ac_cv_path_GREP+:} false; then :
4758  $as_echo_n "(cached) " >&6
4759else
4760  if test -z "$GREP"; then
4761  ac_path_GREP_found=false
4762  # Loop through the user's path and test for each of PROGNAME-LIST
4763  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4764for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4765do
4766  IFS=$as_save_IFS
4767  test -z "$as_dir" && as_dir=.
4768    for ac_prog in grep ggrep; do
4769    for ac_exec_ext in '' $ac_executable_extensions; do
4770      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4771      as_fn_executable_p "$ac_path_GREP" || continue
4772# Check for GNU ac_path_GREP and select it if it is found.
4773  # Check for GNU $ac_path_GREP
4774case `"$ac_path_GREP" --version 2>&1` in
4775*GNU*)
4776  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4777*)
4778  ac_count=0
4779  $as_echo_n 0123456789 >"conftest.in"
4780  while :
4781  do
4782    cat "conftest.in" "conftest.in" >"conftest.tmp"
4783    mv "conftest.tmp" "conftest.in"
4784    cp "conftest.in" "conftest.nl"
4785    $as_echo 'GREP' >> "conftest.nl"
4786    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4787    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4788    as_fn_arith $ac_count + 1 && ac_count=$as_val
4789    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4790      # Best one so far, save it but keep looking for a better one
4791      ac_cv_path_GREP="$ac_path_GREP"
4792      ac_path_GREP_max=$ac_count
4793    fi
4794    # 10*(2^10) chars as input seems more than enough
4795    test $ac_count -gt 10 && break
4796  done
4797  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4798esac
4799
4800      $ac_path_GREP_found && break 3
4801    done
4802  done
4803  done
4804IFS=$as_save_IFS
4805  if test -z "$ac_cv_path_GREP"; then
4806    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4807  fi
4808else
4809  ac_cv_path_GREP=$GREP
4810fi
4811
4812fi
4813{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4814$as_echo "$ac_cv_path_GREP" >&6; }
4815 GREP="$ac_cv_path_GREP"
4816
4817
4818{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4819$as_echo_n "checking for egrep... " >&6; }
4820if ${ac_cv_path_EGREP+:} false; then :
4821  $as_echo_n "(cached) " >&6
4822else
4823  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4824   then ac_cv_path_EGREP="$GREP -E"
4825   else
4826     if test -z "$EGREP"; then
4827  ac_path_EGREP_found=false
4828  # Loop through the user's path and test for each of PROGNAME-LIST
4829  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4830for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4831do
4832  IFS=$as_save_IFS
4833  test -z "$as_dir" && as_dir=.
4834    for ac_prog in egrep; do
4835    for ac_exec_ext in '' $ac_executable_extensions; do
4836      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4837      as_fn_executable_p "$ac_path_EGREP" || continue
4838# Check for GNU ac_path_EGREP and select it if it is found.
4839  # Check for GNU $ac_path_EGREP
4840case `"$ac_path_EGREP" --version 2>&1` in
4841*GNU*)
4842  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4843*)
4844  ac_count=0
4845  $as_echo_n 0123456789 >"conftest.in"
4846  while :
4847  do
4848    cat "conftest.in" "conftest.in" >"conftest.tmp"
4849    mv "conftest.tmp" "conftest.in"
4850    cp "conftest.in" "conftest.nl"
4851    $as_echo 'EGREP' >> "conftest.nl"
4852    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4853    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4854    as_fn_arith $ac_count + 1 && ac_count=$as_val
4855    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4856      # Best one so far, save it but keep looking for a better one
4857      ac_cv_path_EGREP="$ac_path_EGREP"
4858      ac_path_EGREP_max=$ac_count
4859    fi
4860    # 10*(2^10) chars as input seems more than enough
4861    test $ac_count -gt 10 && break
4862  done
4863  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4864esac
4865
4866      $ac_path_EGREP_found && break 3
4867    done
4868  done
4869  done
4870IFS=$as_save_IFS
4871  if test -z "$ac_cv_path_EGREP"; then
4872    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4873  fi
4874else
4875  ac_cv_path_EGREP=$EGREP
4876fi
4877
4878   fi
4879fi
4880{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4881$as_echo "$ac_cv_path_EGREP" >&6; }
4882 EGREP="$ac_cv_path_EGREP"
4883
4884
4885{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4886$as_echo_n "checking for ANSI C header files... " >&6; }
4887if ${ac_cv_header_stdc+:} false; then :
4888  $as_echo_n "(cached) " >&6
4889else
4890  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4891/* end confdefs.h.  */
4892#include <stdlib.h>
4893#include <stdarg.h>
4894#include <string.h>
4895#include <float.h>
4896
4897int
4898main ()
4899{
4900
4901  ;
4902  return 0;
4903}
4904_ACEOF
4905if ac_fn_c_try_compile "$LINENO"; then :
4906  ac_cv_header_stdc=yes
4907else
4908  ac_cv_header_stdc=no
4909fi
4910rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4911
4912if test $ac_cv_header_stdc = yes; then
4913  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4914  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4915/* end confdefs.h.  */
4916#include <string.h>
4917
4918_ACEOF
4919if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4920  $EGREP "memchr" >/dev/null 2>&1; then :
4921
4922else
4923  ac_cv_header_stdc=no
4924fi
4925rm -f conftest*
4926
4927fi
4928
4929if test $ac_cv_header_stdc = yes; then
4930  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4931  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4932/* end confdefs.h.  */
4933#include <stdlib.h>
4934
4935_ACEOF
4936if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4937  $EGREP "free" >/dev/null 2>&1; then :
4938
4939else
4940  ac_cv_header_stdc=no
4941fi
4942rm -f conftest*
4943
4944fi
4945
4946if test $ac_cv_header_stdc = yes; then
4947  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4948  if test "$cross_compiling" = yes; then :
4949  :
4950else
4951  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4952/* end confdefs.h.  */
4953#include <ctype.h>
4954#include <stdlib.h>
4955#if ((' ' & 0x0FF) == 0x020)
4956# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4957# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4958#else
4959# define ISLOWER(c) \
4960		   (('a' <= (c) && (c) <= 'i') \
4961		     || ('j' <= (c) && (c) <= 'r') \
4962		     || ('s' <= (c) && (c) <= 'z'))
4963# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4964#endif
4965
4966#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4967int
4968main ()
4969{
4970  int i;
4971  for (i = 0; i < 256; i++)
4972    if (XOR (islower (i), ISLOWER (i))
4973	|| toupper (i) != TOUPPER (i))
4974      return 2;
4975  return 0;
4976}
4977_ACEOF
4978if ac_fn_c_try_run "$LINENO"; then :
4979
4980else
4981  ac_cv_header_stdc=no
4982fi
4983rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4984  conftest.$ac_objext conftest.beam conftest.$ac_ext
4985fi
4986
4987fi
4988fi
4989{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4990$as_echo "$ac_cv_header_stdc" >&6; }
4991if test $ac_cv_header_stdc = yes; then
4992
4993$as_echo "#define STDC_HEADERS 1" >>confdefs.h
4994
4995fi
4996
4997# Skip malloc.h to prevent redefinition of HAVE_MALLOC_H on some platforms
4998# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4999for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5000		  inttypes.h stdint.h unistd.h
5001do :
5002  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5003ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5004"
5005if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5006  cat >>confdefs.h <<_ACEOF
5007#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5008_ACEOF
5009
5010fi
5011
5012done
5013
5014
5015for 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
5016do :
5017  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5018ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5019if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5020  cat >>confdefs.h <<_ACEOF
5021#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5022_ACEOF
5023
5024else
5025  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5026$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5027as_fn_error $? "Missing some header files.
5028See \`config.log' for more details" "$LINENO" 5; }
5029fi
5030
5031done
5032
5033for ac_header in pthread.h
5034do :
5035  ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
5036if test "x$ac_cv_header_pthread_h" = xyes; then :
5037  cat >>confdefs.h <<_ACEOF
5038#define HAVE_PTHREAD_H 1
5039_ACEOF
5040
5041fi
5042
5043done
5044
5045{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pthread_create" >&5
5046$as_echo_n "checking for library containing pthread_create... " >&6; }
5047if ${ac_cv_search_pthread_create+:} false; then :
5048  $as_echo_n "(cached) " >&6
5049else
5050  ac_func_search_save_LIBS=$LIBS
5051cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5052/* end confdefs.h.  */
5053
5054/* Override any GCC internal prototype to avoid an error.
5055   Use char because int might match the return type of a GCC
5056   builtin and then its argument prototype would still apply.  */
5057#ifdef __cplusplus
5058extern "C"
5059#endif
5060char pthread_create ();
5061int
5062main ()
5063{
5064return pthread_create ();
5065  ;
5066  return 0;
5067}
5068_ACEOF
5069for ac_lib in '' pthread; do
5070  if test -z "$ac_lib"; then
5071    ac_res="none required"
5072  else
5073    ac_res=-l$ac_lib
5074    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
5075  fi
5076  if ac_fn_c_try_link "$LINENO"; then :
5077  ac_cv_search_pthread_create=$ac_res
5078fi
5079rm -f core conftest.err conftest.$ac_objext \
5080    conftest$ac_exeext
5081  if ${ac_cv_search_pthread_create+:} false; then :
5082  break
5083fi
5084done
5085if ${ac_cv_search_pthread_create+:} false; then :
5086
5087else
5088  ac_cv_search_pthread_create=no
5089fi
5090rm conftest.$ac_ext
5091LIBS=$ac_func_search_save_LIBS
5092fi
5093{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pthread_create" >&5
5094$as_echo "$ac_cv_search_pthread_create" >&6; }
5095ac_res=$ac_cv_search_pthread_create
5096if test "$ac_res" != no; then :
5097  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5098
5099fi
5100
5101ac_fn_c_check_type "$LINENO" "pthread_barrier_t" "ac_cv_type_pthread_barrier_t" "$ac_includes_default"
5102if test "x$ac_cv_type_pthread_barrier_t" = xyes; then :
5103
5104$as_echo "#define HAVE_PTHREAD_BARRIERS 1" >>confdefs.h
5105
5106fi
5107
5108for ac_header in libaio.h
5109do :
5110  ac_fn_c_check_header_mongrel "$LINENO" "libaio.h" "ac_cv_header_libaio_h" "$ac_includes_default"
5111if test "x$ac_cv_header_libaio_h" = xyes; then :
5112  cat >>confdefs.h <<_ACEOF
5113#define HAVE_LIBAIO_H 1
5114_ACEOF
5115
5116fi
5117
5118done
5119
5120{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing io_setup" >&5
5121$as_echo_n "checking for library containing io_setup... " >&6; }
5122if ${ac_cv_search_io_setup+:} false; then :
5123  $as_echo_n "(cached) " >&6
5124else
5125  ac_func_search_save_LIBS=$LIBS
5126cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5127/* end confdefs.h.  */
5128
5129/* Override any GCC internal prototype to avoid an error.
5130   Use char because int might match the return type of a GCC
5131   builtin and then its argument prototype would still apply.  */
5132#ifdef __cplusplus
5133extern "C"
5134#endif
5135char io_setup ();
5136int
5137main ()
5138{
5139return io_setup ();
5140  ;
5141  return 0;
5142}
5143_ACEOF
5144for ac_lib in '' aio; do
5145  if test -z "$ac_lib"; then
5146    ac_res="none required"
5147  else
5148    ac_res=-l$ac_lib
5149    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
5150  fi
5151  if ac_fn_c_try_link "$LINENO"; then :
5152  ac_cv_search_io_setup=$ac_res
5153fi
5154rm -f core conftest.err conftest.$ac_objext \
5155    conftest$ac_exeext
5156  if ${ac_cv_search_io_setup+:} false; then :
5157  break
5158fi
5159done
5160if ${ac_cv_search_io_setup+:} false; then :
5161
5162else
5163  ac_cv_search_io_setup=no
5164fi
5165rm conftest.$ac_ext
5166LIBS=$ac_func_search_save_LIBS
5167fi
5168{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_io_setup" >&5
5169$as_echo "$ac_cv_search_io_setup" >&6; }
5170ac_res=$ac_cv_search_io_setup
5171if test "$ac_res" != no; then :
5172  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5173
5174fi
5175
5176for ac_header in sys/shm.h
5177do :
5178  ac_fn_c_check_header_mongrel "$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
5179if test "x$ac_cv_header_sys_shm_h" = xyes; then :
5180  cat >>confdefs.h <<_ACEOF
5181#define HAVE_SYS_SHM_H 1
5182_ACEOF
5183
5184fi
5185
5186done
5187
5188{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing shm_open" >&5
5189$as_echo_n "checking for library containing shm_open... " >&6; }
5190if ${ac_cv_search_shm_open+:} false; then :
5191  $as_echo_n "(cached) " >&6
5192else
5193  ac_func_search_save_LIBS=$LIBS
5194cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5195/* end confdefs.h.  */
5196
5197/* Override any GCC internal prototype to avoid an error.
5198   Use char because int might match the return type of a GCC
5199   builtin and then its argument prototype would still apply.  */
5200#ifdef __cplusplus
5201extern "C"
5202#endif
5203char shm_open ();
5204int
5205main ()
5206{
5207return shm_open ();
5208  ;
5209  return 0;
5210}
5211_ACEOF
5212for ac_lib in '' rt; do
5213  if test -z "$ac_lib"; then
5214    ac_res="none required"
5215  else
5216    ac_res=-l$ac_lib
5217    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
5218  fi
5219  if ac_fn_c_try_link "$LINENO"; then :
5220  ac_cv_search_shm_open=$ac_res
5221fi
5222rm -f core conftest.err conftest.$ac_objext \
5223    conftest$ac_exeext
5224  if ${ac_cv_search_shm_open+:} false; then :
5225  break
5226fi
5227done
5228if ${ac_cv_search_shm_open+:} false; then :
5229
5230else
5231  ac_cv_search_shm_open=no
5232fi
5233rm conftest.$ac_ext
5234LIBS=$ac_func_search_save_LIBS
5235fi
5236{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_shm_open" >&5
5237$as_echo "$ac_cv_search_shm_open" >&6; }
5238ac_res=$ac_cv_search_shm_open
5239if test "$ac_res" != no; then :
5240  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5241
5242fi
5243
5244
5245
5246# Checks for typedefs, structures, and compiler characteristics.
5247{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
5248$as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
5249if ${ac_cv_header_stdbool_h+:} false; then :
5250  $as_echo_n "(cached) " >&6
5251else
5252  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5253/* end confdefs.h.  */
5254
5255             #include <stdbool.h>
5256             #ifndef bool
5257              "error: bool is not defined"
5258             #endif
5259             #ifndef false
5260              "error: false is not defined"
5261             #endif
5262             #if false
5263              "error: false is not 0"
5264             #endif
5265             #ifndef true
5266              "error: true is not defined"
5267             #endif
5268             #if true != 1
5269              "error: true is not 1"
5270             #endif
5271             #ifndef __bool_true_false_are_defined
5272              "error: __bool_true_false_are_defined is not defined"
5273             #endif
5274
5275             struct s { _Bool s: 1; _Bool t; } s;
5276
5277             char a[true == 1 ? 1 : -1];
5278             char b[false == 0 ? 1 : -1];
5279             char c[__bool_true_false_are_defined == 1 ? 1 : -1];
5280             char d[(bool) 0.5 == true ? 1 : -1];
5281             /* See body of main program for 'e'.  */
5282             char f[(_Bool) 0.0 == false ? 1 : -1];
5283             char g[true];
5284             char h[sizeof (_Bool)];
5285             char i[sizeof s.t];
5286             enum { j = false, k = true, l = false * true, m = true * 256 };
5287             /* The following fails for
5288                HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
5289             _Bool n[m];
5290             char o[sizeof n == m * sizeof n[0] ? 1 : -1];
5291             char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
5292             /* Catch a bug in an HP-UX C compiler.  See
5293                http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
5294                http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
5295              */
5296             _Bool q = true;
5297             _Bool *pq = &q;
5298
5299int
5300main ()
5301{
5302
5303             bool e = &s;
5304             *pq |= q;
5305             *pq |= ! q;
5306             /* Refer to every declared value, to avoid compiler optimizations.  */
5307             return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
5308                     + !m + !n + !o + !p + !q + !pq);
5309
5310  ;
5311  return 0;
5312}
5313_ACEOF
5314if ac_fn_c_try_compile "$LINENO"; then :
5315  ac_cv_header_stdbool_h=yes
5316else
5317  ac_cv_header_stdbool_h=no
5318fi
5319rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5320fi
5321{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
5322$as_echo "$ac_cv_header_stdbool_h" >&6; }
5323   ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
5324if test "x$ac_cv_type__Bool" = xyes; then :
5325
5326cat >>confdefs.h <<_ACEOF
5327#define HAVE__BOOL 1
5328_ACEOF
5329
5330
5331fi
5332
5333
5334if test $ac_cv_header_stdbool_h = yes; then
5335
5336$as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
5337
5338fi
5339
5340{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
5341$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
5342if ${ac_cv_c_const+:} false; then :
5343  $as_echo_n "(cached) " >&6
5344else
5345  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5346/* end confdefs.h.  */
5347
5348int
5349main ()
5350{
5351
5352#ifndef __cplusplus
5353  /* Ultrix mips cc rejects this sort of thing.  */
5354  typedef int charset[2];
5355  const charset cs = { 0, 0 };
5356  /* SunOS 4.1.1 cc rejects this.  */
5357  char const *const *pcpcc;
5358  char **ppc;
5359  /* NEC SVR4.0.2 mips cc rejects this.  */
5360  struct point {int x, y;};
5361  static struct point const zero = {0,0};
5362  /* AIX XL C 1.02.0.0 rejects this.
5363     It does not let you subtract one const X* pointer from another in
5364     an arm of an if-expression whose if-part is not a constant
5365     expression */
5366  const char *g = "string";
5367  pcpcc = &g + (g ? g-g : 0);
5368  /* HPUX 7.0 cc rejects these. */
5369  ++pcpcc;
5370  ppc = (char**) pcpcc;
5371  pcpcc = (char const *const *) ppc;
5372  { /* SCO 3.2v4 cc rejects this sort of thing.  */
5373    char tx;
5374    char *t = &tx;
5375    char const *s = 0 ? (char *) 0 : (char const *) 0;
5376
5377    *t++ = 0;
5378    if (s) return 0;
5379  }
5380  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
5381    int x[] = {25, 17};
5382    const int *foo = &x[0];
5383    ++foo;
5384  }
5385  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5386    typedef const int *iptr;
5387    iptr p = 0;
5388    ++p;
5389  }
5390  { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
5391       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5392    struct s { int j; const int *ap[3]; } bx;
5393    struct s *b = &bx; b->j = 5;
5394  }
5395  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5396    const int foo = 10;
5397    if (!foo) return 0;
5398  }
5399  return !cs[0] && !zero.x;
5400#endif
5401
5402  ;
5403  return 0;
5404}
5405_ACEOF
5406if ac_fn_c_try_compile "$LINENO"; then :
5407  ac_cv_c_const=yes
5408else
5409  ac_cv_c_const=no
5410fi
5411rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5412fi
5413{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
5414$as_echo "$ac_cv_c_const" >&6; }
5415if test $ac_cv_c_const = no; then
5416
5417$as_echo "#define const /**/" >>confdefs.h
5418
5419fi
5420
5421{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
5422$as_echo_n "checking for inline... " >&6; }
5423if ${ac_cv_c_inline+:} false; then :
5424  $as_echo_n "(cached) " >&6
5425else
5426  ac_cv_c_inline=no
5427for ac_kw in inline __inline__ __inline; do
5428  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5429/* end confdefs.h.  */
5430#ifndef __cplusplus
5431typedef int foo_t;
5432static $ac_kw foo_t static_foo () {return 0; }
5433$ac_kw foo_t foo () {return 0; }
5434#endif
5435
5436_ACEOF
5437if ac_fn_c_try_compile "$LINENO"; then :
5438  ac_cv_c_inline=$ac_kw
5439fi
5440rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5441  test "$ac_cv_c_inline" != no && break
5442done
5443
5444fi
5445{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
5446$as_echo "$ac_cv_c_inline" >&6; }
5447
5448case $ac_cv_c_inline in
5449  inline | yes) ;;
5450  *)
5451    case $ac_cv_c_inline in
5452      no) ac_val=;;
5453      *) ac_val=$ac_cv_c_inline;;
5454    esac
5455    cat >>confdefs.h <<_ACEOF
5456#ifndef __cplusplus
5457#define inline $ac_val
5458#endif
5459_ACEOF
5460    ;;
5461esac
5462
5463ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
5464if test "x$ac_cv_type_pid_t" = xyes; then :
5465
5466else
5467
5468cat >>confdefs.h <<_ACEOF
5469#define pid_t int
5470_ACEOF
5471
5472fi
5473
5474{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C/C++ restrict keyword" >&5
5475$as_echo_n "checking for C/C++ restrict keyword... " >&6; }
5476if ${ac_cv_c_restrict+:} false; then :
5477  $as_echo_n "(cached) " >&6
5478else
5479  ac_cv_c_restrict=no
5480   # The order here caters to the fact that C++ does not require restrict.
5481   for ac_kw in __restrict __restrict__ _Restrict restrict; do
5482     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5483/* end confdefs.h.  */
5484typedef int * int_ptr;
5485	int foo (int_ptr $ac_kw ip) {
5486	return ip[0];
5487       }
5488int
5489main ()
5490{
5491int s[1];
5492	int * $ac_kw t = s;
5493	t[0] = 0;
5494	return foo(t)
5495  ;
5496  return 0;
5497}
5498_ACEOF
5499if ac_fn_c_try_compile "$LINENO"; then :
5500  ac_cv_c_restrict=$ac_kw
5501fi
5502rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5503     test "$ac_cv_c_restrict" != no && break
5504   done
5505
5506fi
5507{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_restrict" >&5
5508$as_echo "$ac_cv_c_restrict" >&6; }
5509
5510 case $ac_cv_c_restrict in
5511   restrict) ;;
5512   no) $as_echo "#define restrict /**/" >>confdefs.h
5513 ;;
5514   *)  cat >>confdefs.h <<_ACEOF
5515#define restrict $ac_cv_c_restrict
5516_ACEOF
5517 ;;
5518 esac
5519
5520ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
5521if test "x$ac_cv_type_size_t" = xyes; then :
5522
5523else
5524
5525cat >>confdefs.h <<_ACEOF
5526#define size_t unsigned int
5527_ACEOF
5528
5529fi
5530
5531ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
5532if test "x$ac_cv_type_ssize_t" = xyes; then :
5533
5534else
5535
5536cat >>confdefs.h <<_ACEOF
5537#define ssize_t int
5538_ACEOF
5539
5540fi
5541
5542{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
5543$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
5544if ${ac_cv_header_time+:} false; then :
5545  $as_echo_n "(cached) " >&6
5546else
5547  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5548/* end confdefs.h.  */
5549#include <sys/types.h>
5550#include <sys/time.h>
5551#include <time.h>
5552
5553int
5554main ()
5555{
5556if ((struct tm *) 0)
5557return 0;
5558  ;
5559  return 0;
5560}
5561_ACEOF
5562if ac_fn_c_try_compile "$LINENO"; then :
5563  ac_cv_header_time=yes
5564else
5565  ac_cv_header_time=no
5566fi
5567rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5568fi
5569{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
5570$as_echo "$ac_cv_header_time" >&6; }
5571if test $ac_cv_header_time = yes; then
5572
5573$as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
5574
5575fi
5576
5577ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t"
5578case $ac_cv_c_uint16_t in #(
5579  no|yes) ;; #(
5580  *)
5581
5582
5583cat >>confdefs.h <<_ACEOF
5584#define uint16_t $ac_cv_c_uint16_t
5585_ACEOF
5586;;
5587  esac
5588
5589{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5
5590$as_echo_n "checking for working volatile... " >&6; }
5591if ${ac_cv_c_volatile+:} false; then :
5592  $as_echo_n "(cached) " >&6
5593else
5594  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5595/* end confdefs.h.  */
5596
5597int
5598main ()
5599{
5600
5601volatile int x;
5602int * volatile y = (int *) 0;
5603return !x && !y;
5604  ;
5605  return 0;
5606}
5607_ACEOF
5608if ac_fn_c_try_compile "$LINENO"; then :
5609  ac_cv_c_volatile=yes
5610else
5611  ac_cv_c_volatile=no
5612fi
5613rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5614fi
5615{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_volatile" >&5
5616$as_echo "$ac_cv_c_volatile" >&6; }
5617if test $ac_cv_c_volatile = no; then
5618
5619$as_echo "#define volatile /**/" >>confdefs.h
5620
5621fi
5622
5623
5624
5625# Checks for library functions.
5626{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether closedir returns void" >&5
5627$as_echo_n "checking whether closedir returns void... " >&6; }
5628if ${ac_cv_func_closedir_void+:} false; then :
5629  $as_echo_n "(cached) " >&6
5630else
5631  if test "$cross_compiling" = yes; then :
5632  ac_cv_func_closedir_void=yes
5633else
5634  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5635/* end confdefs.h.  */
5636$ac_includes_default
5637#include <$ac_header_dirent>
5638#ifndef __cplusplus
5639int closedir ();
5640#endif
5641
5642int
5643main ()
5644{
5645return closedir (opendir (".")) != 0;
5646  ;
5647  return 0;
5648}
5649_ACEOF
5650if ac_fn_c_try_run "$LINENO"; then :
5651  ac_cv_func_closedir_void=no
5652else
5653  ac_cv_func_closedir_void=yes
5654fi
5655rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5656  conftest.$ac_objext conftest.beam conftest.$ac_ext
5657fi
5658
5659fi
5660{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_closedir_void" >&5
5661$as_echo "$ac_cv_func_closedir_void" >&6; }
5662if test $ac_cv_func_closedir_void = yes; then
5663
5664$as_echo "#define CLOSEDIR_VOID 1" >>confdefs.h
5665
5666fi
5667
5668if test $ac_cv_c_compiler_gnu = yes; then
5669    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
5670$as_echo_n "checking whether $CC needs -traditional... " >&6; }
5671if ${ac_cv_prog_gcc_traditional+:} false; then :
5672  $as_echo_n "(cached) " >&6
5673else
5674    ac_pattern="Autoconf.*'x'"
5675  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5676/* end confdefs.h.  */
5677#include <sgtty.h>
5678Autoconf TIOCGETP
5679_ACEOF
5680if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5681  $EGREP "$ac_pattern" >/dev/null 2>&1; then :
5682  ac_cv_prog_gcc_traditional=yes
5683else
5684  ac_cv_prog_gcc_traditional=no
5685fi
5686rm -f conftest*
5687
5688
5689  if test $ac_cv_prog_gcc_traditional = no; then
5690    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5691/* end confdefs.h.  */
5692#include <termio.h>
5693Autoconf TCGETA
5694_ACEOF
5695if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5696  $EGREP "$ac_pattern" >/dev/null 2>&1; then :
5697  ac_cv_prog_gcc_traditional=yes
5698fi
5699rm -f conftest*
5700
5701  fi
5702fi
5703{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
5704$as_echo "$ac_cv_prog_gcc_traditional" >&6; }
5705  if test $ac_cv_prog_gcc_traditional = yes; then
5706    CC="$CC -traditional"
5707  fi
5708fi
5709
5710for ac_header in sys/select.h sys/socket.h
5711do :
5712  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5713ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5714if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5715  cat >>confdefs.h <<_ACEOF
5716#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5717_ACEOF
5718
5719fi
5720
5721done
5722
5723{ $as_echo "$as_me:${as_lineno-$LINENO}: checking types of arguments for select" >&5
5724$as_echo_n "checking types of arguments for select... " >&6; }
5725if ${ac_cv_func_select_args+:} false; then :
5726  $as_echo_n "(cached) " >&6
5727else
5728  for ac_arg234 in 'fd_set *' 'int *' 'void *'; do
5729 for ac_arg1 in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
5730  for ac_arg5 in 'struct timeval *' 'const struct timeval *'; do
5731   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5732/* end confdefs.h.  */
5733$ac_includes_default
5734#ifdef HAVE_SYS_SELECT_H
5735# include <sys/select.h>
5736#endif
5737#ifdef HAVE_SYS_SOCKET_H
5738# include <sys/socket.h>
5739#endif
5740
5741int
5742main ()
5743{
5744extern int select ($ac_arg1,
5745					    $ac_arg234, $ac_arg234, $ac_arg234,
5746					    $ac_arg5);
5747  ;
5748  return 0;
5749}
5750_ACEOF
5751if ac_fn_c_try_compile "$LINENO"; then :
5752  ac_cv_func_select_args="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
5753fi
5754rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5755  done
5756 done
5757done
5758# Provide a safe default value.
5759: "${ac_cv_func_select_args=int,int *,struct timeval *}"
5760
5761fi
5762{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_select_args" >&5
5763$as_echo "$ac_cv_func_select_args" >&6; }
5764ac_save_IFS=$IFS; IFS=','
5765set dummy `echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
5766IFS=$ac_save_IFS
5767shift
5768
5769cat >>confdefs.h <<_ACEOF
5770#define SELECT_TYPE_ARG1 $1
5771_ACEOF
5772
5773
5774cat >>confdefs.h <<_ACEOF
5775#define SELECT_TYPE_ARG234 ($2)
5776_ACEOF
5777
5778
5779cat >>confdefs.h <<_ACEOF
5780#define SELECT_TYPE_ARG5 ($3)
5781_ACEOF
5782
5783rm -f conftest*
5784
5785{ $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
5786$as_echo_n "checking return type of signal handlers... " >&6; }
5787if ${ac_cv_type_signal+:} false; then :
5788  $as_echo_n "(cached) " >&6
5789else
5790  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5791/* end confdefs.h.  */
5792#include <sys/types.h>
5793#include <signal.h>
5794
5795int
5796main ()
5797{
5798return *(signal (0, 0)) (0) == 1;
5799  ;
5800  return 0;
5801}
5802_ACEOF
5803if ac_fn_c_try_compile "$LINENO"; then :
5804  ac_cv_type_signal=int
5805else
5806  ac_cv_type_signal=void
5807fi
5808rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5809fi
5810{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
5811$as_echo "$ac_cv_type_signal" >&6; }
5812
5813cat >>confdefs.h <<_ACEOF
5814#define RETSIGTYPE $ac_cv_type_signal
5815_ACEOF
5816
5817
5818ac_fn_c_check_decl "$LINENO" "strerror_r" "ac_cv_have_decl_strerror_r" "$ac_includes_default"
5819if test "x$ac_cv_have_decl_strerror_r" = xyes; then :
5820  ac_have_decl=1
5821else
5822  ac_have_decl=0
5823fi
5824
5825cat >>confdefs.h <<_ACEOF
5826#define HAVE_DECL_STRERROR_R $ac_have_decl
5827_ACEOF
5828
5829for ac_func in strerror_r
5830do :
5831  ac_fn_c_check_func "$LINENO" "strerror_r" "ac_cv_func_strerror_r"
5832if test "x$ac_cv_func_strerror_r" = xyes; then :
5833  cat >>confdefs.h <<_ACEOF
5834#define HAVE_STRERROR_R 1
5835_ACEOF
5836
5837fi
5838done
5839
5840{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strerror_r returns char *" >&5
5841$as_echo_n "checking whether strerror_r returns char *... " >&6; }
5842if ${ac_cv_func_strerror_r_char_p+:} false; then :
5843  $as_echo_n "(cached) " >&6
5844else
5845
5846    ac_cv_func_strerror_r_char_p=no
5847    if test $ac_cv_have_decl_strerror_r = yes; then
5848      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5849/* end confdefs.h.  */
5850$ac_includes_default
5851int
5852main ()
5853{
5854
5855	  char buf[100];
5856	  char x = *strerror_r (0, buf, sizeof buf);
5857	  char *p = strerror_r (0, buf, sizeof buf);
5858	  return !p || x;
5859
5860  ;
5861  return 0;
5862}
5863_ACEOF
5864if ac_fn_c_try_compile "$LINENO"; then :
5865  ac_cv_func_strerror_r_char_p=yes
5866fi
5867rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5868    else
5869      # strerror_r is not declared.  Choose between
5870      # systems that have relatively inaccessible declarations for the
5871      # function.  BeOS and DEC UNIX 4.0 fall in this category, but the
5872      # former has a strerror_r that returns char*, while the latter
5873      # has a strerror_r that returns `int'.
5874      # This test should segfault on the DEC system.
5875      if test "$cross_compiling" = yes; then :
5876  :
5877else
5878  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5879/* end confdefs.h.  */
5880$ac_includes_default
5881	extern char *strerror_r ();
5882int
5883main ()
5884{
5885char buf[100];
5886	  char x = *strerror_r (0, buf, sizeof buf);
5887	  return ! isalpha (x);
5888  ;
5889  return 0;
5890}
5891_ACEOF
5892if ac_fn_c_try_run "$LINENO"; then :
5893  ac_cv_func_strerror_r_char_p=yes
5894fi
5895rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5896  conftest.$ac_objext conftest.beam conftest.$ac_ext
5897fi
5898
5899    fi
5900
5901fi
5902{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strerror_r_char_p" >&5
5903$as_echo "$ac_cv_func_strerror_r_char_p" >&6; }
5904if test $ac_cv_func_strerror_r_char_p = yes; then
5905
5906$as_echo "#define STRERROR_R_CHAR_P 1" >>confdefs.h
5907
5908fi
5909
5910for ac_func in vprintf
5911do :
5912  ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
5913if test "x$ac_cv_func_vprintf" = xyes; then :
5914  cat >>confdefs.h <<_ACEOF
5915#define HAVE_VPRINTF 1
5916_ACEOF
5917
5918ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
5919if test "x$ac_cv_func__doprnt" = xyes; then :
5920
5921$as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
5922
5923fi
5924
5925fi
5926done
5927
5928
5929for ac_func in ftruncate gettimeofday memset munmap select socket strtol strtoull
5930do :
5931  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5932ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
5933if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
5934  cat >>confdefs.h <<_ACEOF
5935#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5936_ACEOF
5937
5938fi
5939done
5940
5941for ac_func in mmap64 posix_memalign rand_r sched_getaffinity
5942do :
5943  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5944ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
5945if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
5946  cat >>confdefs.h <<_ACEOF
5947#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5948_ACEOF
5949
5950fi
5951done
5952
5953
5954ac_config_files="$ac_config_files Makefile src/Makefile"
5955
5956cat >confcache <<\_ACEOF
5957# This file is a shell script that caches the results of configure
5958# tests run on this system so they can be shared between configure
5959# scripts and configure runs, see configure's option --config-cache.
5960# It is not useful on other systems.  If it contains results you don't
5961# want to keep, you may remove or edit it.
5962#
5963# config.status only pays attention to the cache file if you give it
5964# the --recheck option to rerun configure.
5965#
5966# `ac_cv_env_foo' variables (set or unset) will be overridden when
5967# loading this file, other *unset* `ac_cv_foo' will be assigned the
5968# following values.
5969
5970_ACEOF
5971
5972# The following way of writing the cache mishandles newlines in values,
5973# but we know of no workaround that is simple, portable, and efficient.
5974# So, we kill variables containing newlines.
5975# Ultrix sh set writes to stderr and can't be redirected directly,
5976# and sets the high bit in the cache file unless we assign to the vars.
5977(
5978  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5979    eval ac_val=\$$ac_var
5980    case $ac_val in #(
5981    *${as_nl}*)
5982      case $ac_var in #(
5983      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5984$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5985      esac
5986      case $ac_var in #(
5987      _ | IFS | as_nl) ;; #(
5988      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5989      *) { eval $ac_var=; unset $ac_var;} ;;
5990      esac ;;
5991    esac
5992  done
5993
5994  (set) 2>&1 |
5995    case $as_nl`(ac_space=' '; set) 2>&1` in #(
5996    *${as_nl}ac_space=\ *)
5997      # `set' does not quote correctly, so add quotes: double-quote
5998      # substitution turns \\\\ into \\, and sed turns \\ into \.
5999      sed -n \
6000	"s/'/'\\\\''/g;
6001	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6002      ;; #(
6003    *)
6004      # `set' quotes correctly as required by POSIX, so do not add quotes.
6005      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6006      ;;
6007    esac |
6008    sort
6009) |
6010  sed '
6011     /^ac_cv_env_/b end
6012     t clear
6013     :clear
6014     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6015     t end
6016     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6017     :end' >>confcache
6018if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
6019  if test -w "$cache_file"; then
6020    if test "x$cache_file" != "x/dev/null"; then
6021      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
6022$as_echo "$as_me: updating cache $cache_file" >&6;}
6023      if test ! -f "$cache_file" || test -h "$cache_file"; then
6024	cat confcache >"$cache_file"
6025      else
6026        case $cache_file in #(
6027        */* | ?:*)
6028	  mv -f confcache "$cache_file"$$ &&
6029	  mv -f "$cache_file"$$ "$cache_file" ;; #(
6030        *)
6031	  mv -f confcache "$cache_file" ;;
6032	esac
6033      fi
6034    fi
6035  else
6036    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
6037$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6038  fi
6039fi
6040rm -f confcache
6041
6042test "x$prefix" = xNONE && prefix=$ac_default_prefix
6043# Let make expand exec_prefix.
6044test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
6045
6046DEFS=-DHAVE_CONFIG_H
6047
6048ac_libobjs=
6049ac_ltlibobjs=
6050U=
6051for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6052  # 1. Remove the extension, and $U if already installed.
6053  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
6054  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
6055  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
6056  #    will be set to the directory where LIBOBJS objects are built.
6057  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6058  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
6059done
6060LIBOBJS=$ac_libobjs
6061
6062LTLIBOBJS=$ac_ltlibobjs
6063
6064
6065 if test -n "$EXEEXT"; then
6066  am__EXEEXT_TRUE=
6067  am__EXEEXT_FALSE='#'
6068else
6069  am__EXEEXT_TRUE='#'
6070  am__EXEEXT_FALSE=
6071fi
6072
6073if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6074  as_fn_error $? "conditional \"AMDEP\" was never defined.
6075Usually this means the macro was only invoked conditionally." "$LINENO" 5
6076fi
6077if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
6078  as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
6079Usually this means the macro was only invoked conditionally." "$LINENO" 5
6080fi
6081if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6082  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
6083Usually this means the macro was only invoked conditionally." "$LINENO" 5
6084fi
6085
6086: "${CONFIG_STATUS=./config.status}"
6087ac_write_fail=0
6088ac_clean_files_save=$ac_clean_files
6089ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6090{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
6091$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
6092as_write_fail=0
6093cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
6094#! $SHELL
6095# Generated by $as_me.
6096# Run this file to recreate the current configuration.
6097# Compiler output produced by configure, useful for debugging
6098# configure, is in config.log if it exists.
6099
6100debug=false
6101ac_cs_recheck=false
6102ac_cs_silent=false
6103
6104SHELL=\${CONFIG_SHELL-$SHELL}
6105export SHELL
6106_ASEOF
6107cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
6108## -------------------- ##
6109## M4sh Initialization. ##
6110## -------------------- ##
6111
6112# Be more Bourne compatible
6113DUALCASE=1; export DUALCASE # for MKS sh
6114if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
6115  emulate sh
6116  NULLCMD=:
6117  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
6118  # is contrary to our usage.  Disable this feature.
6119  alias -g '${1+"$@"}'='"$@"'
6120  setopt NO_GLOB_SUBST
6121else
6122  case `(set -o) 2>/dev/null` in #(
6123  *posix*) :
6124    set -o posix ;; #(
6125  *) :
6126     ;;
6127esac
6128fi
6129
6130
6131as_nl='
6132'
6133export as_nl
6134# Printing a long string crashes Solaris 7 /usr/bin/printf.
6135as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6136as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
6137as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
6138# Prefer a ksh shell builtin over an external printf program on Solaris,
6139# but without wasting forks for bash or zsh.
6140if test -z "$BASH_VERSION$ZSH_VERSION" \
6141    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
6142  as_echo='print -r --'
6143  as_echo_n='print -rn --'
6144elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
6145  as_echo='printf %s\n'
6146  as_echo_n='printf %s'
6147else
6148  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
6149    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
6150    as_echo_n='/usr/ucb/echo -n'
6151  else
6152    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
6153    as_echo_n_body='eval
6154      arg=$1;
6155      case $arg in #(
6156      *"$as_nl"*)
6157	expr "X$arg" : "X\\(.*\\)$as_nl";
6158	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6159      esac;
6160      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
6161    '
6162    export as_echo_n_body
6163    as_echo_n='sh -c $as_echo_n_body as_echo'
6164  fi
6165  export as_echo_body
6166  as_echo='sh -c $as_echo_body as_echo'
6167fi
6168
6169# The user is always right.
6170if test "${PATH_SEPARATOR+set}" != set; then
6171  PATH_SEPARATOR=:
6172  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6173    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6174      PATH_SEPARATOR=';'
6175  }
6176fi
6177
6178
6179# IFS
6180# We need space, tab and new line, in precisely that order.  Quoting is
6181# there to prevent editors from complaining about space-tab.
6182# (If _AS_PATH_WALK were called with IFS unset, it would disable word
6183# splitting by setting IFS to empty value.)
6184IFS=" ""	$as_nl"
6185
6186# Find who we are.  Look in the path if we contain no directory separator.
6187as_myself=
6188case $0 in #((
6189  *[\\/]* ) as_myself=$0 ;;
6190  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6191for as_dir in $PATH
6192do
6193  IFS=$as_save_IFS
6194  test -z "$as_dir" && as_dir=.
6195    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6196  done
6197IFS=$as_save_IFS
6198
6199     ;;
6200esac
6201# We did not find ourselves, most probably we were run as `sh COMMAND'
6202# in which case we are not to be found in the path.
6203if test "x$as_myself" = x; then
6204  as_myself=$0
6205fi
6206if test ! -f "$as_myself"; then
6207  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6208  exit 1
6209fi
6210
6211# Unset variables that we do not need and which cause bugs (e.g. in
6212# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
6213# suppresses any "Segmentation fault" message there.  '((' could
6214# trigger a bug in pdksh 5.2.14.
6215for as_var in BASH_ENV ENV MAIL MAILPATH
6216do eval test x\${$as_var+set} = xset \
6217  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
6218done
6219PS1='$ '
6220PS2='> '
6221PS4='+ '
6222
6223# NLS nuisances.
6224LC_ALL=C
6225export LC_ALL
6226LANGUAGE=C
6227export LANGUAGE
6228
6229# CDPATH.
6230(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
6231
6232
6233# as_fn_error STATUS ERROR [LINENO LOG_FD]
6234# ----------------------------------------
6235# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
6236# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
6237# script with STATUS, using 1 if that was 0.
6238as_fn_error ()
6239{
6240  as_status=$1; test $as_status -eq 0 && as_status=1
6241  if test "$4"; then
6242    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
6243    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
6244  fi
6245  $as_echo "$as_me: error: $2" >&2
6246  as_fn_exit $as_status
6247} # as_fn_error
6248
6249
6250# as_fn_set_status STATUS
6251# -----------------------
6252# Set $? to STATUS, without forking.
6253as_fn_set_status ()
6254{
6255  return $1
6256} # as_fn_set_status
6257
6258# as_fn_exit STATUS
6259# -----------------
6260# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
6261as_fn_exit ()
6262{
6263  set +e
6264  as_fn_set_status $1
6265  exit $1
6266} # as_fn_exit
6267
6268# as_fn_unset VAR
6269# ---------------
6270# Portably unset VAR.
6271as_fn_unset ()
6272{
6273  { eval $1=; unset $1;}
6274}
6275as_unset=as_fn_unset
6276# as_fn_append VAR VALUE
6277# ----------------------
6278# Append the text in VALUE to the end of the definition contained in VAR. Take
6279# advantage of any shell optimizations that allow amortized linear growth over
6280# repeated appends, instead of the typical quadratic growth present in naive
6281# implementations.
6282if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
6283  eval 'as_fn_append ()
6284  {
6285    eval $1+=\$2
6286  }'
6287else
6288  as_fn_append ()
6289  {
6290    eval $1=\$$1\$2
6291  }
6292fi # as_fn_append
6293
6294# as_fn_arith ARG...
6295# ------------------
6296# Perform arithmetic evaluation on the ARGs, and store the result in the
6297# global $as_val. Take advantage of shells that can avoid forks. The arguments
6298# must be portable across $(()) and expr.
6299if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
6300  eval 'as_fn_arith ()
6301  {
6302    as_val=$(( $* ))
6303  }'
6304else
6305  as_fn_arith ()
6306  {
6307    as_val=`expr "$@" || test $? -eq 1`
6308  }
6309fi # as_fn_arith
6310
6311
6312if expr a : '\(a\)' >/dev/null 2>&1 &&
6313   test "X`expr 00001 : '.*\(...\)'`" = X001; then
6314  as_expr=expr
6315else
6316  as_expr=false
6317fi
6318
6319if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6320  as_basename=basename
6321else
6322  as_basename=false
6323fi
6324
6325if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
6326  as_dirname=dirname
6327else
6328  as_dirname=false
6329fi
6330
6331as_me=`$as_basename -- "$0" ||
6332$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6333	 X"$0" : 'X\(//\)$' \| \
6334	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6335$as_echo X/"$0" |
6336    sed '/^.*\/\([^/][^/]*\)\/*$/{
6337	    s//\1/
6338	    q
6339	  }
6340	  /^X\/\(\/\/\)$/{
6341	    s//\1/
6342	    q
6343	  }
6344	  /^X\/\(\/\).*/{
6345	    s//\1/
6346	    q
6347	  }
6348	  s/.*/./; q'`
6349
6350# Avoid depending upon Character Ranges.
6351as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6352as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6353as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6354as_cr_digits='0123456789'
6355as_cr_alnum=$as_cr_Letters$as_cr_digits
6356
6357ECHO_C= ECHO_N= ECHO_T=
6358case `echo -n x` in #(((((
6359-n*)
6360  case `echo 'xy\c'` in
6361  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
6362  xy)  ECHO_C='\c';;
6363  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
6364       ECHO_T='	';;
6365  esac;;
6366*)
6367  ECHO_N='-n';;
6368esac
6369
6370rm -f conf$$ conf$$.exe conf$$.file
6371if test -d conf$$.dir; then
6372  rm -f conf$$.dir/conf$$.file
6373else
6374  rm -f conf$$.dir
6375  mkdir conf$$.dir 2>/dev/null
6376fi
6377if (echo >conf$$.file) 2>/dev/null; then
6378  if ln -s conf$$.file conf$$ 2>/dev/null; then
6379    as_ln_s='ln -s'
6380    # ... but there are two gotchas:
6381    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6382    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6383    # In both cases, we have to default to `cp -pR'.
6384    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
6385      as_ln_s='cp -pR'
6386  elif ln conf$$.file conf$$ 2>/dev/null; then
6387    as_ln_s=ln
6388  else
6389    as_ln_s='cp -pR'
6390  fi
6391else
6392  as_ln_s='cp -pR'
6393fi
6394rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
6395rmdir conf$$.dir 2>/dev/null
6396
6397
6398# as_fn_mkdir_p
6399# -------------
6400# Create "$as_dir" as a directory, including parents if necessary.
6401as_fn_mkdir_p ()
6402{
6403
6404  case $as_dir in #(
6405  -*) as_dir=./$as_dir;;
6406  esac
6407  test -d "$as_dir" || eval $as_mkdir_p || {
6408    as_dirs=
6409    while :; do
6410      case $as_dir in #(
6411      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6412      *) as_qdir=$as_dir;;
6413      esac
6414      as_dirs="'$as_qdir' $as_dirs"
6415      as_dir=`$as_dirname -- "$as_dir" ||
6416$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6417	 X"$as_dir" : 'X\(//\)[^/]' \| \
6418	 X"$as_dir" : 'X\(//\)$' \| \
6419	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6420$as_echo X"$as_dir" |
6421    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6422	    s//\1/
6423	    q
6424	  }
6425	  /^X\(\/\/\)[^/].*/{
6426	    s//\1/
6427	    q
6428	  }
6429	  /^X\(\/\/\)$/{
6430	    s//\1/
6431	    q
6432	  }
6433	  /^X\(\/\).*/{
6434	    s//\1/
6435	    q
6436	  }
6437	  s/.*/./; q'`
6438      test -d "$as_dir" && break
6439    done
6440    test -z "$as_dirs" || eval "mkdir $as_dirs"
6441  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
6442
6443
6444} # as_fn_mkdir_p
6445if mkdir -p . 2>/dev/null; then
6446  as_mkdir_p='mkdir -p "$as_dir"'
6447else
6448  test -d ./-p && rmdir ./-p
6449  as_mkdir_p=false
6450fi
6451
6452
6453# as_fn_executable_p FILE
6454# -----------------------
6455# Test if FILE is an executable regular file.
6456as_fn_executable_p ()
6457{
6458  test -f "$1" && test -x "$1"
6459} # as_fn_executable_p
6460as_test_x='test -x'
6461as_executable_p=as_fn_executable_p
6462
6463# Sed expression to map a string onto a valid CPP name.
6464as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6465
6466# Sed expression to map a string onto a valid variable name.
6467as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6468
6469
6470exec 6>&1
6471## ----------------------------------- ##
6472## Main body of $CONFIG_STATUS script. ##
6473## ----------------------------------- ##
6474_ASEOF
6475test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
6476
6477cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6478# Save the log message, to keep $0 and so on meaningful, and to
6479# report actual input values of CONFIG_FILES etc. instead of their
6480# values after options handling.
6481ac_log="
6482This file was extended by stressapptest $as_me 1.0.9_autoconf, which was
6483generated by GNU Autoconf 2.69.  Invocation command line was
6484
6485  CONFIG_FILES    = $CONFIG_FILES
6486  CONFIG_HEADERS  = $CONFIG_HEADERS
6487  CONFIG_LINKS    = $CONFIG_LINKS
6488  CONFIG_COMMANDS = $CONFIG_COMMANDS
6489  $ $0 $@
6490
6491on `(hostname || uname -n) 2>/dev/null | sed 1q`
6492"
6493
6494_ACEOF
6495
6496case $ac_config_files in *"
6497"*) set x $ac_config_files; shift; ac_config_files=$*;;
6498esac
6499
6500case $ac_config_headers in *"
6501"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
6502esac
6503
6504
6505cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6506# Files that config.status was made for.
6507config_files="$ac_config_files"
6508config_headers="$ac_config_headers"
6509config_commands="$ac_config_commands"
6510
6511_ACEOF
6512
6513cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6514ac_cs_usage="\
6515\`$as_me' instantiates files and other configuration actions
6516from templates according to the current configuration.  Unless the files
6517and actions are specified as TAGs, all are instantiated by default.
6518
6519Usage: $0 [OPTION]... [TAG]...
6520
6521  -h, --help       print this help, then exit
6522  -V, --version    print version number and configuration settings, then exit
6523      --config     print configuration, then exit
6524  -q, --quiet, --silent
6525                   do not print progress messages
6526  -d, --debug      don't remove temporary files
6527      --recheck    update $as_me by reconfiguring in the same conditions
6528      --file=FILE[:TEMPLATE]
6529                   instantiate the configuration file FILE
6530      --header=FILE[:TEMPLATE]
6531                   instantiate the configuration header FILE
6532
6533Configuration files:
6534$config_files
6535
6536Configuration headers:
6537$config_headers
6538
6539Configuration commands:
6540$config_commands
6541
6542Report bugs to <opensource@google.com>."
6543
6544_ACEOF
6545cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6546ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
6547ac_cs_version="\\
6548stressapptest config.status 1.0.9_autoconf
6549configured by $0, generated by GNU Autoconf 2.69,
6550  with options \\"\$ac_cs_config\\"
6551
6552Copyright (C) 2012 Free Software Foundation, Inc.
6553This config.status script is free software; the Free Software Foundation
6554gives unlimited permission to copy, distribute and modify it."
6555
6556ac_pwd='$ac_pwd'
6557srcdir='$srcdir'
6558INSTALL='$INSTALL'
6559MKDIR_P='$MKDIR_P'
6560AWK='$AWK'
6561test -n "\$AWK" || AWK=awk
6562_ACEOF
6563
6564cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6565# The default lists apply if the user does not specify any file.
6566ac_need_defaults=:
6567while test $# != 0
6568do
6569  case $1 in
6570  --*=?*)
6571    ac_option=`expr "X$1" : 'X\([^=]*\)='`
6572    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6573    ac_shift=:
6574    ;;
6575  --*=)
6576    ac_option=`expr "X$1" : 'X\([^=]*\)='`
6577    ac_optarg=
6578    ac_shift=:
6579    ;;
6580  *)
6581    ac_option=$1
6582    ac_optarg=$2
6583    ac_shift=shift
6584    ;;
6585  esac
6586
6587  case $ac_option in
6588  # Handling of the options.
6589  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6590    ac_cs_recheck=: ;;
6591  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6592    $as_echo "$ac_cs_version"; exit ;;
6593  --config | --confi | --conf | --con | --co | --c )
6594    $as_echo "$ac_cs_config"; exit ;;
6595  --debug | --debu | --deb | --de | --d | -d )
6596    debug=: ;;
6597  --file | --fil | --fi | --f )
6598    $ac_shift
6599    case $ac_optarg in
6600    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6601    '') as_fn_error $? "missing file argument" ;;
6602    esac
6603    as_fn_append CONFIG_FILES " '$ac_optarg'"
6604    ac_need_defaults=false;;
6605  --header | --heade | --head | --hea )
6606    $ac_shift
6607    case $ac_optarg in
6608    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6609    esac
6610    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
6611    ac_need_defaults=false;;
6612  --he | --h)
6613    # Conflict between --help and --header
6614    as_fn_error $? "ambiguous option: \`$1'
6615Try \`$0 --help' for more information.";;
6616  --help | --hel | -h )
6617    $as_echo "$ac_cs_usage"; exit ;;
6618  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6619  | -silent | --silent | --silen | --sile | --sil | --si | --s)
6620    ac_cs_silent=: ;;
6621
6622  # This is an error.
6623  -*) as_fn_error $? "unrecognized option: \`$1'
6624Try \`$0 --help' for more information." ;;
6625
6626  *) as_fn_append ac_config_targets " $1"
6627     ac_need_defaults=false ;;
6628
6629  esac
6630  shift
6631done
6632
6633ac_configure_extra_args=
6634
6635if $ac_cs_silent; then
6636  exec 6>/dev/null
6637  ac_configure_extra_args="$ac_configure_extra_args --silent"
6638fi
6639
6640_ACEOF
6641cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6642if \$ac_cs_recheck; then
6643  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6644  shift
6645  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6646  CONFIG_SHELL='$SHELL'
6647  export CONFIG_SHELL
6648  exec "\$@"
6649fi
6650
6651_ACEOF
6652cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6653exec 5>>config.log
6654{
6655  echo
6656  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6657## Running $as_me. ##
6658_ASBOX
6659  $as_echo "$ac_log"
6660} >&5
6661
6662_ACEOF
6663cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6664#
6665# INIT-COMMANDS
6666#
6667AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6668
6669_ACEOF
6670
6671cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6672
6673# Handling of arguments.
6674for ac_config_target in $ac_config_targets
6675do
6676  case $ac_config_target in
6677    "src/stressapptest_config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/stressapptest_config.h" ;;
6678    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
6679    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6680    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
6681
6682  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6683  esac
6684done
6685
6686
6687# If the user did not use the arguments to specify the items to instantiate,
6688# then the envvar interface is used.  Set only those that are not.
6689# We use the long form for the default assignment because of an extremely
6690# bizarre bug on SunOS 4.1.3.
6691if $ac_need_defaults; then
6692  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6693  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
6694  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6695fi
6696
6697# Have a temporary directory for convenience.  Make it in the build tree
6698# simply because there is no reason against having it here, and in addition,
6699# creating and moving files from /tmp can sometimes cause problems.
6700# Hook for its removal unless debugging.
6701# Note that there is a small window in which the directory will not be cleaned:
6702# after its creation but before its name has been assigned to `$tmp'.
6703$debug ||
6704{
6705  tmp= ac_tmp=
6706  trap 'exit_status=$?
6707  : "${ac_tmp:=$tmp}"
6708  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
6709' 0
6710  trap 'as_fn_exit 1' 1 2 13 15
6711}
6712# Create a (secure) tmp directory for tmp files.
6713
6714{
6715  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6716  test -d "$tmp"
6717}  ||
6718{
6719  tmp=./conf$$-$RANDOM
6720  (umask 077 && mkdir "$tmp")
6721} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
6722ac_tmp=$tmp
6723
6724# Set up the scripts for CONFIG_FILES section.
6725# No need to generate them if there are no CONFIG_FILES.
6726# This happens for instance with `./config.status config.h'.
6727if test -n "$CONFIG_FILES"; then
6728
6729
6730ac_cr=`echo X | tr X '\015'`
6731# On cygwin, bash can eat \r inside `` if the user requested igncr.
6732# But we know of no other shell where ac_cr would be empty at this
6733# point, so we can use a bashism as a fallback.
6734if test "x$ac_cr" = x; then
6735  eval ac_cr=\$\'\\r\'
6736fi
6737ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6738if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6739  ac_cs_awk_cr='\\r'
6740else
6741  ac_cs_awk_cr=$ac_cr
6742fi
6743
6744echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6745_ACEOF
6746
6747
6748{
6749  echo "cat >conf$$subs.awk <<_ACEOF" &&
6750  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6751  echo "_ACEOF"
6752} >conf$$subs.sh ||
6753  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6754ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6755ac_delim='%!_!# '
6756for ac_last_try in false false false false false :; do
6757  . ./conf$$subs.sh ||
6758    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6759
6760  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6761  if test $ac_delim_n = $ac_delim_num; then
6762    break
6763  elif $ac_last_try; then
6764    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6765  else
6766    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6767  fi
6768done
6769rm -f conf$$subs.sh
6770
6771cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6772cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
6773_ACEOF
6774sed -n '
6775h
6776s/^/S["/; s/!.*/"]=/
6777p
6778g
6779s/^[^!]*!//
6780:repl
6781t repl
6782s/'"$ac_delim"'$//
6783t delim
6784:nl
6785h
6786s/\(.\{148\}\)..*/\1/
6787t more1
6788s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6789p
6790n
6791b repl
6792:more1
6793s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6794p
6795g
6796s/.\{148\}//
6797t nl
6798:delim
6799h
6800s/\(.\{148\}\)..*/\1/
6801t more2
6802s/["\\]/\\&/g; s/^/"/; s/$/"/
6803p
6804b
6805:more2
6806s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6807p
6808g
6809s/.\{148\}//
6810t delim
6811' <conf$$subs.awk | sed '
6812/^[^""]/{
6813  N
6814  s/\n//
6815}
6816' >>$CONFIG_STATUS || ac_write_fail=1
6817rm -f conf$$subs.awk
6818cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6819_ACAWK
6820cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
6821  for (key in S) S_is_set[key] = 1
6822  FS = ""
6823
6824}
6825{
6826  line = $ 0
6827  nfields = split(line, field, "@")
6828  substed = 0
6829  len = length(field[1])
6830  for (i = 2; i < nfields; i++) {
6831    key = field[i]
6832    keylen = length(key)
6833    if (S_is_set[key]) {
6834      value = S[key]
6835      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6836      len += length(value) + length(field[++i])
6837      substed = 1
6838    } else
6839      len += 1 + keylen
6840  }
6841
6842  print line
6843}
6844
6845_ACAWK
6846_ACEOF
6847cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6848if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6849  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6850else
6851  cat
6852fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
6853  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
6854_ACEOF
6855
6856# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6857# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
6858# trailing colons and then remove the whole line if VPATH becomes empty
6859# (actually we leave an empty line to preserve line numbers).
6860if test "x$srcdir" = x.; then
6861  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
6862h
6863s///
6864s/^/:/
6865s/[	 ]*$/:/
6866s/:\$(srcdir):/:/g
6867s/:\${srcdir}:/:/g
6868s/:@srcdir@:/:/g
6869s/^:*//
6870s/:*$//
6871x
6872s/\(=[	 ]*\).*/\1/
6873G
6874s/\n//
6875s/^[^=]*=[	 ]*$//
6876}'
6877fi
6878
6879cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6880fi # test -n "$CONFIG_FILES"
6881
6882# Set up the scripts for CONFIG_HEADERS section.
6883# No need to generate them if there are no CONFIG_HEADERS.
6884# This happens for instance with `./config.status Makefile'.
6885if test -n "$CONFIG_HEADERS"; then
6886cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
6887BEGIN {
6888_ACEOF
6889
6890# Transform confdefs.h into an awk script `defines.awk', embedded as
6891# here-document in config.status, that substitutes the proper values into
6892# config.h.in to produce config.h.
6893
6894# Create a delimiter string that does not exist in confdefs.h, to ease
6895# handling of long lines.
6896ac_delim='%!_!# '
6897for ac_last_try in false false :; do
6898  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
6899  if test -z "$ac_tt"; then
6900    break
6901  elif $ac_last_try; then
6902    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
6903  else
6904    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6905  fi
6906done
6907
6908# For the awk script, D is an array of macro values keyed by name,
6909# likewise P contains macro parameters if any.  Preserve backslash
6910# newline sequences.
6911
6912ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6913sed -n '
6914s/.\{148\}/&'"$ac_delim"'/g
6915t rset
6916:rset
6917s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
6918t def
6919d
6920:def
6921s/\\$//
6922t bsnl
6923s/["\\]/\\&/g
6924s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
6925D["\1"]=" \3"/p
6926s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
6927d
6928:bsnl
6929s/["\\]/\\&/g
6930s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
6931D["\1"]=" \3\\\\\\n"\\/p
6932t cont
6933s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
6934t cont
6935d
6936:cont
6937n
6938s/.\{148\}/&'"$ac_delim"'/g
6939t clear
6940:clear
6941s/\\$//
6942t bsnlc
6943s/["\\]/\\&/g; s/^/"/; s/$/"/p
6944d
6945:bsnlc
6946s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
6947b cont
6948' <confdefs.h | sed '
6949s/'"$ac_delim"'/"\\\
6950"/g' >>$CONFIG_STATUS || ac_write_fail=1
6951
6952cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6953  for (key in D) D_is_set[key] = 1
6954  FS = ""
6955}
6956/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6957  line = \$ 0
6958  split(line, arg, " ")
6959  if (arg[1] == "#") {
6960    defundef = arg[2]
6961    mac1 = arg[3]
6962  } else {
6963    defundef = substr(arg[1], 2)
6964    mac1 = arg[2]
6965  }
6966  split(mac1, mac2, "(") #)
6967  macro = mac2[1]
6968  prefix = substr(line, 1, index(line, defundef) - 1)
6969  if (D_is_set[macro]) {
6970    # Preserve the white space surrounding the "#".
6971    print prefix "define", macro P[macro] D[macro]
6972    next
6973  } else {
6974    # Replace #undef with comments.  This is necessary, for example,
6975    # in the case of _POSIX_SOURCE, which is predefined and required
6976    # on some systems where configure will not decide to define it.
6977    if (defundef == "undef") {
6978      print "/*", prefix defundef, macro, "*/"
6979      next
6980    }
6981  }
6982}
6983{ print }
6984_ACAWK
6985_ACEOF
6986cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6987  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
6988fi # test -n "$CONFIG_HEADERS"
6989
6990
6991eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
6992shift
6993for ac_tag
6994do
6995  case $ac_tag in
6996  :[FHLC]) ac_mode=$ac_tag; continue;;
6997  esac
6998  case $ac_mode$ac_tag in
6999  :[FHL]*:*);;
7000  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
7001  :[FH]-) ac_tag=-:-;;
7002  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
7003  esac
7004  ac_save_IFS=$IFS
7005  IFS=:
7006  set x $ac_tag
7007  IFS=$ac_save_IFS
7008  shift
7009  ac_file=$1
7010  shift
7011
7012  case $ac_mode in
7013  :L) ac_source=$1;;
7014  :[FH])
7015    ac_file_inputs=
7016    for ac_f
7017    do
7018      case $ac_f in
7019      -) ac_f="$ac_tmp/stdin";;
7020      *) # Look for the file first in the build tree, then in the source tree
7021	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
7022	 # because $ac_f cannot contain `:'.
7023	 test -f "$ac_f" ||
7024	   case $ac_f in
7025	   [\\/$]*) false;;
7026	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
7027	   esac ||
7028	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
7029      esac
7030      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
7031      as_fn_append ac_file_inputs " '$ac_f'"
7032    done
7033
7034    # Let's still pretend it is `configure' which instantiates (i.e., don't
7035    # use $as_me), people would be surprised to read:
7036    #    /* config.h.  Generated by config.status.  */
7037    configure_input='Generated from '`
7038	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
7039	`' by configure.'
7040    if test x"$ac_file" != x-; then
7041      configure_input="$ac_file.  $configure_input"
7042      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
7043$as_echo "$as_me: creating $ac_file" >&6;}
7044    fi
7045    # Neutralize special characters interpreted by sed in replacement strings.
7046    case $configure_input in #(
7047    *\&* | *\|* | *\\* )
7048       ac_sed_conf_input=`$as_echo "$configure_input" |
7049       sed 's/[\\\\&|]/\\\\&/g'`;; #(
7050    *) ac_sed_conf_input=$configure_input;;
7051    esac
7052
7053    case $ac_tag in
7054    *:-:* | *:-) cat >"$ac_tmp/stdin" \
7055      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
7056    esac
7057    ;;
7058  esac
7059
7060  ac_dir=`$as_dirname -- "$ac_file" ||
7061$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7062	 X"$ac_file" : 'X\(//\)[^/]' \| \
7063	 X"$ac_file" : 'X\(//\)$' \| \
7064	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7065$as_echo X"$ac_file" |
7066    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7067	    s//\1/
7068	    q
7069	  }
7070	  /^X\(\/\/\)[^/].*/{
7071	    s//\1/
7072	    q
7073	  }
7074	  /^X\(\/\/\)$/{
7075	    s//\1/
7076	    q
7077	  }
7078	  /^X\(\/\).*/{
7079	    s//\1/
7080	    q
7081	  }
7082	  s/.*/./; q'`
7083  as_dir="$ac_dir"; as_fn_mkdir_p
7084  ac_builddir=.
7085
7086case "$ac_dir" in
7087.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
7088*)
7089  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
7090  # A ".." for each directory in $ac_dir_suffix.
7091  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
7092  case $ac_top_builddir_sub in
7093  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
7094  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
7095  esac ;;
7096esac
7097ac_abs_top_builddir=$ac_pwd
7098ac_abs_builddir=$ac_pwd$ac_dir_suffix
7099# for backward compatibility:
7100ac_top_builddir=$ac_top_build_prefix
7101
7102case $srcdir in
7103  .)  # We are building in place.
7104    ac_srcdir=.
7105    ac_top_srcdir=$ac_top_builddir_sub
7106    ac_abs_top_srcdir=$ac_pwd ;;
7107  [\\/]* | ?:[\\/]* )  # Absolute name.
7108    ac_srcdir=$srcdir$ac_dir_suffix;
7109    ac_top_srcdir=$srcdir
7110    ac_abs_top_srcdir=$srcdir ;;
7111  *) # Relative name.
7112    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
7113    ac_top_srcdir=$ac_top_build_prefix$srcdir
7114    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
7115esac
7116ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
7117
7118
7119  case $ac_mode in
7120  :F)
7121  #
7122  # CONFIG_FILE
7123  #
7124
7125  case $INSTALL in
7126  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
7127  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
7128  esac
7129  ac_MKDIR_P=$MKDIR_P
7130  case $MKDIR_P in
7131  [\\/$]* | ?:[\\/]* ) ;;
7132  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
7133  esac
7134_ACEOF
7135
7136cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7137# If the template does not know about datarootdir, expand it.
7138# FIXME: This hack should be removed a few years after 2.60.
7139ac_datarootdir_hack=; ac_datarootdir_seen=
7140ac_sed_dataroot='
7141/datarootdir/ {
7142  p
7143  q
7144}
7145/@datadir@/p
7146/@docdir@/p
7147/@infodir@/p
7148/@localedir@/p
7149/@mandir@/p'
7150case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
7151*datarootdir*) ac_datarootdir_seen=yes;;
7152*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
7153  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7154$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7155_ACEOF
7156cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7157  ac_datarootdir_hack='
7158  s&@datadir@&$datadir&g
7159  s&@docdir@&$docdir&g
7160  s&@infodir@&$infodir&g
7161  s&@localedir@&$localedir&g
7162  s&@mandir@&$mandir&g
7163  s&\\\${datarootdir}&$datarootdir&g' ;;
7164esac
7165_ACEOF
7166
7167# Neutralize VPATH when `$srcdir' = `.'.
7168# Shell code in configure.ac might set extrasub.
7169# FIXME: do we really want to maintain this feature?
7170cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7171ac_sed_extra="$ac_vpsub
7172$extrasub
7173_ACEOF
7174cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7175:t
7176/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7177s|@configure_input@|$ac_sed_conf_input|;t t
7178s&@top_builddir@&$ac_top_builddir_sub&;t t
7179s&@top_build_prefix@&$ac_top_build_prefix&;t t
7180s&@srcdir@&$ac_srcdir&;t t
7181s&@abs_srcdir@&$ac_abs_srcdir&;t t
7182s&@top_srcdir@&$ac_top_srcdir&;t t
7183s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
7184s&@builddir@&$ac_builddir&;t t
7185s&@abs_builddir@&$ac_abs_builddir&;t t
7186s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
7187s&@INSTALL@&$ac_INSTALL&;t t
7188s&@MKDIR_P@&$ac_MKDIR_P&;t t
7189$ac_datarootdir_hack
7190"
7191eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
7192  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7193
7194test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7195  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
7196  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
7197      "$ac_tmp/out"`; test -z "$ac_out"; } &&
7198  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7199which seems to be undefined.  Please make sure it is defined" >&5
7200$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7201which seems to be undefined.  Please make sure it is defined" >&2;}
7202
7203  rm -f "$ac_tmp/stdin"
7204  case $ac_file in
7205  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
7206  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
7207  esac \
7208  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7209 ;;
7210  :H)
7211  #
7212  # CONFIG_HEADER
7213  #
7214  if test x"$ac_file" != x-; then
7215    {
7216      $as_echo "/* $configure_input  */" \
7217      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
7218    } >"$ac_tmp/config.h" \
7219      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7220    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
7221      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
7222$as_echo "$as_me: $ac_file is unchanged" >&6;}
7223    else
7224      rm -f "$ac_file"
7225      mv "$ac_tmp/config.h" "$ac_file" \
7226	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
7227    fi
7228  else
7229    $as_echo "/* $configure_input  */" \
7230      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
7231      || as_fn_error $? "could not create -" "$LINENO" 5
7232  fi
7233# Compute "$ac_file"'s index in $config_headers.
7234_am_arg="$ac_file"
7235_am_stamp_count=1
7236for _am_header in $config_headers :; do
7237  case $_am_header in
7238    $_am_arg | $_am_arg:* )
7239      break ;;
7240    * )
7241      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
7242  esac
7243done
7244echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
7245$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7246	 X"$_am_arg" : 'X\(//\)[^/]' \| \
7247	 X"$_am_arg" : 'X\(//\)$' \| \
7248	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
7249$as_echo X"$_am_arg" |
7250    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7251	    s//\1/
7252	    q
7253	  }
7254	  /^X\(\/\/\)[^/].*/{
7255	    s//\1/
7256	    q
7257	  }
7258	  /^X\(\/\/\)$/{
7259	    s//\1/
7260	    q
7261	  }
7262	  /^X\(\/\).*/{
7263	    s//\1/
7264	    q
7265	  }
7266	  s/.*/./; q'`/stamp-h$_am_stamp_count
7267 ;;
7268
7269  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
7270$as_echo "$as_me: executing $ac_file commands" >&6;}
7271 ;;
7272  esac
7273
7274
7275  case $ac_file$ac_mode in
7276    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
7277  # Autoconf 2.62 quotes --file arguments for eval, but not when files
7278  # are listed without --file.  Let's play safe and only enable the eval
7279  # if we detect the quoting.
7280  case $CONFIG_FILES in
7281  *\'*) eval set x "$CONFIG_FILES" ;;
7282  *)   set x $CONFIG_FILES ;;
7283  esac
7284  shift
7285  for mf
7286  do
7287    # Strip MF so we end up with the name of the file.
7288    mf=`echo "$mf" | sed -e 's/:.*$//'`
7289    # Check whether this is an Automake generated Makefile or not.
7290    # We used to match only the files named `Makefile.in', but
7291    # some people rename them; so instead we look at the file content.
7292    # Grep'ing the first line is not enough: some people post-process
7293    # each Makefile.in and add a new line on top of each file to say so.
7294    # Grep'ing the whole file is not good either: AIX grep has a line
7295    # limit of 2048, but all sed's we know have understand at least 4000.
7296    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
7297      dirpart=`$as_dirname -- "$mf" ||
7298$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7299	 X"$mf" : 'X\(//\)[^/]' \| \
7300	 X"$mf" : 'X\(//\)$' \| \
7301	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
7302$as_echo X"$mf" |
7303    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7304	    s//\1/
7305	    q
7306	  }
7307	  /^X\(\/\/\)[^/].*/{
7308	    s//\1/
7309	    q
7310	  }
7311	  /^X\(\/\/\)$/{
7312	    s//\1/
7313	    q
7314	  }
7315	  /^X\(\/\).*/{
7316	    s//\1/
7317	    q
7318	  }
7319	  s/.*/./; q'`
7320    else
7321      continue
7322    fi
7323    # Extract the definition of DEPDIR, am__include, and am__quote
7324    # from the Makefile without running `make'.
7325    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
7326    test -z "$DEPDIR" && continue
7327    am__include=`sed -n 's/^am__include = //p' < "$mf"`
7328    test -z "am__include" && continue
7329    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
7330    # When using ansi2knr, U may be empty or an underscore; expand it
7331    U=`sed -n 's/^U = //p' < "$mf"`
7332    # Find all dependency output files, they are included files with
7333    # $(DEPDIR) in their names.  We invoke sed twice because it is the
7334    # simplest approach to changing $(DEPDIR) to its actual value in the
7335    # expansion.
7336    for file in `sed -n "
7337      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
7338	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
7339      # Make sure the directory exists.
7340      test -f "$dirpart/$file" && continue
7341      fdir=`$as_dirname -- "$file" ||
7342$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7343	 X"$file" : 'X\(//\)[^/]' \| \
7344	 X"$file" : 'X\(//\)$' \| \
7345	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
7346$as_echo X"$file" |
7347    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7348	    s//\1/
7349	    q
7350	  }
7351	  /^X\(\/\/\)[^/].*/{
7352	    s//\1/
7353	    q
7354	  }
7355	  /^X\(\/\/\)$/{
7356	    s//\1/
7357	    q
7358	  }
7359	  /^X\(\/\).*/{
7360	    s//\1/
7361	    q
7362	  }
7363	  s/.*/./; q'`
7364      as_dir=$dirpart/$fdir; as_fn_mkdir_p
7365      # echo "creating $dirpart/$file"
7366      echo '# dummy' > "$dirpart/$file"
7367    done
7368  done
7369}
7370 ;;
7371
7372  esac
7373done # for ac_tag
7374
7375
7376as_fn_exit 0
7377_ACEOF
7378ac_clean_files=$ac_clean_files_save
7379
7380test $ac_write_fail = 0 ||
7381  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
7382
7383
7384# configure is writing to config.log, and then calls config.status.
7385# config.status does its own redirection, appending to config.log.
7386# Unfortunately, on DOS this fails, as config.log is still kept open
7387# by configure, so config.status won't be able to write to it; its
7388# output is simply discarded.  So we exec the FD to /dev/null,
7389# effectively closing config.log, so it can be properly (re)opened and
7390# appended to by config.status.  When coming back to configure, we
7391# need to make the FD available again.
7392if test "$no_create" != yes; then
7393  ac_cs_success=:
7394  ac_config_status_args=
7395  test "$silent" = yes &&
7396    ac_config_status_args="$ac_config_status_args --quiet"
7397  exec 5>/dev/null
7398  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7399  exec 5>>config.log
7400  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7401  # would make configure fail if this is the last instruction.
7402  $ac_cs_success || as_fn_exit 1
7403fi
7404if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
7405  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
7406$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
7407fi
7408
7409