2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for stressapptest 1.0.6_autoconf.
5 # Report bugs to <opensource@google.com>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh -c $as_echo_n_body as_echo'
73 as_echo='sh -c $as_echo_body as_echo'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
113 if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there. '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
139 if test "x$CONFIG_SHELL" = x; then
140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144 # is contrary to our usage. Disable this feature.
145 alias -g '\${1+\"\$@\"}'='\"\$@\"'
148 case \`(set -o) 2>/dev/null\` in #(
156 as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
170 exitcode=1; echo positional parameters were not saved.
172 test x\$exitcode = x0 || exit 1"
173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177 test \$(( 1 + 1 )) = 2 || exit 1"
178 if (eval "$as_required") 2>/dev/null; then :
183 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
188 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
191 test -z "$as_dir" && as_dir=.
195 for as_base in sh bash ksh sh5; do
196 # Try only shells that exist, to save several forks.
197 as_shell=$as_dir/$as_base
198 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
199 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
200 CONFIG_SHELL=$as_shell as_have_required=yes
201 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
209 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
210 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
211 CONFIG_SHELL=$SHELL as_have_required=yes
216 if test "x$CONFIG_SHELL" != x; then :
217 # We cannot yet assume a decent shell, so we have to provide a
218 # neutralization value for shells without unset; and this also
219 # works around shells that cannot unset nonexistent variables.
220 # Preserve -v and -x to the replacement shell.
223 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
226 *v*x* | *x*v* ) as_opts=-vx ;;
231 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
234 if test x$as_have_required = xno; then :
235 $as_echo "$0: This script requires a shell more modern than all"
236 $as_echo "$0: the shells that I found on your system."
237 if test x${ZSH_VERSION+set} = xset ; then
238 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
239 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
241 $as_echo "$0: Please tell bug-autoconf@gnu.org and
242 $0: opensource@google.com about your system, including any
243 $0: error possibly output before this message. Then install
244 $0: a modern shell, or manually run the script under such a
245 $0: shell if you do have one."
251 SHELL=${CONFIG_SHELL-/bin/sh}
253 # Unset more variables known to interfere with behavior of common tools.
254 CLICOLOR_FORCE= GREP_OPTIONS=
255 unset CLICOLOR_FORCE GREP_OPTIONS
257 ## --------------------- ##
258 ## M4sh Shell Functions. ##
259 ## --------------------- ##
262 # Portably unset VAR.
265 { eval $1=; unset $1;}
269 # as_fn_set_status STATUS
270 # -----------------------
271 # Set $? to STATUS, without forking.
279 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
289 # Create "$as_dir" as a directory, including parents if necessary.
294 -*) as_dir=./$as_dir;;
296 test -d "$as_dir" || eval $as_mkdir_p || {
300 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
303 as_dirs="'$as_qdir' $as_dirs"
304 as_dir=`$as_dirname -- "$as_dir" ||
305 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
306 X"$as_dir" : 'X\(//\)[^/]' \| \
307 X"$as_dir" : 'X\(//\)$' \| \
308 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
309 $as_echo X"$as_dir" |
310 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
327 test -d "$as_dir" && break
329 test -z "$as_dirs" || eval "mkdir $as_dirs"
330 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
334 # as_fn_append VAR VALUE
335 # ----------------------
336 # Append the text in VALUE to the end of the definition contained in VAR. Take
337 # advantage of any shell optimizations that allow amortized linear growth over
338 # repeated appends, instead of the typical quadratic growth present in naive
340 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
341 eval 'as_fn_append ()
354 # Perform arithmetic evaluation on the ARGs, and store the result in the
355 # global $as_val. Take advantage of shells that can avoid forks. The arguments
356 # must be portable across $(()) and expr.
357 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
365 as_val=`expr "$@" || test $? -eq 1`
370 # as_fn_error STATUS ERROR [LINENO LOG_FD]
371 # ----------------------------------------
372 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
373 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
374 # script with STATUS, using 1 if that was 0.
377 as_status=$1; test $as_status -eq 0 && as_status=1
379 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
380 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
382 $as_echo "$as_me: error: $2" >&2
383 as_fn_exit $as_status
386 if expr a : '\(a\)' >/dev/null 2>&1 &&
387 test "X`expr 00001 : '.*\(...\)'`" = X001; then
393 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
399 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
405 as_me=`$as_basename -- "$0" ||
406 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
407 X"$0" : 'X\(//\)$' \| \
408 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
410 sed '/^.*\/\([^/][^/]*\)\/*$/{
424 # Avoid depending upon Character Ranges.
425 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
426 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
427 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
428 as_cr_digits='0123456789'
429 as_cr_alnum=$as_cr_Letters$as_cr_digits
432 as_lineno_1=$LINENO as_lineno_1a=$LINENO
433 as_lineno_2=$LINENO as_lineno_2a=$LINENO
434 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
435 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
436 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
448 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
452 chmod +x "$as_me.lineno" ||
453 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
455 # Don't try to exec as it changes $[0], causing all sort of problems
456 # (the dirname of $[0] is not the place where we might find the
457 # original and so on. Autoconf is especially sensitive to this).
459 # Exit status is that of the last command.
463 ECHO_C= ECHO_N= ECHO_T=
464 case `echo -n x` in #(((((
466 case `echo 'xy\c'` in
467 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
469 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
476 rm -f conf$$ conf$$.exe conf$$.file
477 if test -d conf$$.dir; then
478 rm -f conf$$.dir/conf$$.file
481 mkdir conf$$.dir 2>/dev/null
483 if (echo >conf$$.file) 2>/dev/null; then
484 if ln -s conf$$.file conf$$ 2>/dev/null; then
486 # ... but there are two gotchas:
487 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
488 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
489 # In both cases, we have to default to `cp -p'.
490 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
492 elif ln conf$$.file conf$$ 2>/dev/null; then
500 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
501 rmdir conf$$.dir 2>/dev/null
503 if mkdir -p . 2>/dev/null; then
504 as_mkdir_p='mkdir -p "$as_dir"'
506 test -d ./-p && rmdir ./-p
510 if test -x / >/dev/null 2>&1; then
513 if ls -dL / >/dev/null 2>&1; then
520 if test -d "$1"; then
526 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
527 ???[sx]*):;;*)false;;esac;fi
531 as_executable_p=$as_test_x
533 # Sed expression to map a string onto a valid CPP name.
534 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
536 # Sed expression to map a string onto a valid variable name.
537 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
540 test -n "$DJDIR" || exec 7<&0 </dev/null
544 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
545 # so uname gets run too.
546 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
551 ac_default_prefix=/usr/local
553 ac_config_libobj_dir=.
560 # Identity of this package.
561 PACKAGE_NAME='stressapptest'
562 PACKAGE_TARNAME='stressapptest'
563 PACKAGE_VERSION='1.0.6_autoconf'
564 PACKAGE_STRING='stressapptest 1.0.6_autoconf'
565 PACKAGE_BUGREPORT='opensource@google.com'
568 ac_unique_file="src/"
569 # Factoring default headers for most tests.
570 ac_includes_default="\
572 #ifdef HAVE_SYS_TYPES_H
573 # include <sys/types.h>
575 #ifdef HAVE_SYS_STAT_H
576 # include <sys/stat.h>
582 # ifdef HAVE_STDLIB_H
587 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
592 #ifdef HAVE_STRINGS_H
593 # include <strings.h>
595 #ifdef HAVE_INTTYPES_H
596 # include <inttypes.h>
605 ac_subst_vars='am__EXEEXT_FALSE
643 INSTALL_STRIP_PROGRAM
693 program_transform_name
706 enable_option_checking
708 enable_dependency_tracking
709 enable_default_optimizations
711 ac_precious_vars='build_alias
725 # Initialize some variables set by options.
727 ac_init_version=false
728 ac_unrecognized_opts=
730 # The variables have the same names as the options, with
731 # dashes changed to underlines.
739 program_transform_name=s,x,x,
747 # Installation directory options.
748 # These are left unexpanded so users can "make install exec_prefix=/foo"
749 # and all the variables that are supposed to be based on exec_prefix
750 # by default will actually change.
751 # Use braces instead of parens because sh, perl, etc. also accept them.
752 # (The list follows the same order as the GNU Coding Standards.)
753 bindir='${exec_prefix}/bin'
754 sbindir='${exec_prefix}/sbin'
755 libexecdir='${exec_prefix}/libexec'
756 datarootdir='${prefix}/share'
757 datadir='${datarootdir}'
758 sysconfdir='${prefix}/etc'
759 sharedstatedir='${prefix}/com'
760 localstatedir='${prefix}/var'
761 includedir='${prefix}/include'
762 oldincludedir='/usr/include'
763 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
764 infodir='${datarootdir}/info'
769 libdir='${exec_prefix}/lib'
770 localedir='${datarootdir}/locale'
771 mandir='${datarootdir}/man'
777 # If the previous option needs an argument, assign it.
778 if test -n "$ac_prev"; then
779 eval $ac_prev=\$ac_option
785 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
790 # Accept the important Cygnus configure options, so we can diagnose typos.
792 case $ac_dashdash$ac_option in
796 -bindir | --bindir | --bindi | --bind | --bin | --bi)
798 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
801 -build | --build | --buil | --bui | --bu)
802 ac_prev=build_alias ;;
803 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
804 build_alias=$ac_optarg ;;
806 -cache-file | --cache-file | --cache-fil | --cache-fi \
807 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
808 ac_prev=cache_file ;;
809 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
810 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
811 cache_file=$ac_optarg ;;
814 cache_file=config.cache ;;
816 -datadir | --datadir | --datadi | --datad)
818 -datadir=* | --datadir=* | --datadi=* | --datad=*)
819 datadir=$ac_optarg ;;
821 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
822 | --dataroo | --dataro | --datar)
823 ac_prev=datarootdir ;;
824 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
825 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
826 datarootdir=$ac_optarg ;;
828 -disable-* | --disable-*)
829 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
830 # Reject names that are not valid shell variable names.
831 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
832 as_fn_error $? "invalid feature name: $ac_useropt"
833 ac_useropt_orig=$ac_useropt
834 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
835 case $ac_user_opts in
839 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
840 ac_unrecognized_sep=', ';;
842 eval enable_$ac_useropt=no ;;
844 -docdir | --docdir | --docdi | --doc | --do)
846 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
849 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
851 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
854 -enable-* | --enable-*)
855 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
856 # Reject names that are not valid shell variable names.
857 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
858 as_fn_error $? "invalid feature name: $ac_useropt"
859 ac_useropt_orig=$ac_useropt
860 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
861 case $ac_user_opts in
865 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
866 ac_unrecognized_sep=', ';;
868 eval enable_$ac_useropt=\$ac_optarg ;;
870 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
871 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
872 | --exec | --exe | --ex)
873 ac_prev=exec_prefix ;;
874 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
875 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
876 | --exec=* | --exe=* | --ex=*)
877 exec_prefix=$ac_optarg ;;
879 -gas | --gas | --ga | --g)
880 # Obsolete; use --with-gas.
883 -help | --help | --hel | --he | -h)
885 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
886 ac_init_help=recursive ;;
887 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
888 ac_init_help=short ;;
890 -host | --host | --hos | --ho)
891 ac_prev=host_alias ;;
892 -host=* | --host=* | --hos=* | --ho=*)
893 host_alias=$ac_optarg ;;
895 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
897 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
899 htmldir=$ac_optarg ;;
901 -includedir | --includedir | --includedi | --included | --include \
902 | --includ | --inclu | --incl | --inc)
903 ac_prev=includedir ;;
904 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
905 | --includ=* | --inclu=* | --incl=* | --inc=*)
906 includedir=$ac_optarg ;;
908 -infodir | --infodir | --infodi | --infod | --info | --inf)
910 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
911 infodir=$ac_optarg ;;
913 -libdir | --libdir | --libdi | --libd)
915 -libdir=* | --libdir=* | --libdi=* | --libd=*)
918 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
919 | --libexe | --libex | --libe)
920 ac_prev=libexecdir ;;
921 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
922 | --libexe=* | --libex=* | --libe=*)
923 libexecdir=$ac_optarg ;;
925 -localedir | --localedir | --localedi | --localed | --locale)
927 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
928 localedir=$ac_optarg ;;
930 -localstatedir | --localstatedir | --localstatedi | --localstated \
931 | --localstate | --localstat | --localsta | --localst | --locals)
932 ac_prev=localstatedir ;;
933 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
934 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
935 localstatedir=$ac_optarg ;;
937 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
939 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
943 # Obsolete; use --without-fp.
946 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
947 | --no-cr | --no-c | -n)
950 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
951 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
954 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
955 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
956 | --oldin | --oldi | --old | --ol | --o)
957 ac_prev=oldincludedir ;;
958 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
959 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
960 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
961 oldincludedir=$ac_optarg ;;
963 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
965 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
968 -program-prefix | --program-prefix | --program-prefi | --program-pref \
969 | --program-pre | --program-pr | --program-p)
970 ac_prev=program_prefix ;;
971 -program-prefix=* | --program-prefix=* | --program-prefi=* \
972 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
973 program_prefix=$ac_optarg ;;
975 -program-suffix | --program-suffix | --program-suffi | --program-suff \
976 | --program-suf | --program-su | --program-s)
977 ac_prev=program_suffix ;;
978 -program-suffix=* | --program-suffix=* | --program-suffi=* \
979 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
980 program_suffix=$ac_optarg ;;
982 -program-transform-name | --program-transform-name \
983 | --program-transform-nam | --program-transform-na \
984 | --program-transform-n | --program-transform- \
985 | --program-transform | --program-transfor \
986 | --program-transfo | --program-transf \
987 | --program-trans | --program-tran \
988 | --progr-tra | --program-tr | --program-t)
989 ac_prev=program_transform_name ;;
990 -program-transform-name=* | --program-transform-name=* \
991 | --program-transform-nam=* | --program-transform-na=* \
992 | --program-transform-n=* | --program-transform-=* \
993 | --program-transform=* | --program-transfor=* \
994 | --program-transfo=* | --program-transf=* \
995 | --program-trans=* | --program-tran=* \
996 | --progr-tra=* | --program-tr=* | --program-t=*)
997 program_transform_name=$ac_optarg ;;
999 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1001 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1002 pdfdir=$ac_optarg ;;
1004 -psdir | --psdir | --psdi | --psd | --ps)
1006 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1009 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1010 | -silent | --silent | --silen | --sile | --sil)
1013 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1015 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1017 sbindir=$ac_optarg ;;
1019 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1020 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1021 | --sharedst | --shareds | --shared | --share | --shar \
1023 ac_prev=sharedstatedir ;;
1024 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1025 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1026 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1028 sharedstatedir=$ac_optarg ;;
1030 -site | --site | --sit)
1032 -site=* | --site=* | --sit=*)
1035 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1037 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1038 srcdir=$ac_optarg ;;
1040 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1041 | --syscon | --sysco | --sysc | --sys | --sy)
1042 ac_prev=sysconfdir ;;
1043 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1044 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1045 sysconfdir=$ac_optarg ;;
1047 -target | --target | --targe | --targ | --tar | --ta | --t)
1048 ac_prev=target_alias ;;
1049 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1050 target_alias=$ac_optarg ;;
1052 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1055 -version | --version | --versio | --versi | --vers | -V)
1056 ac_init_version=: ;;
1059 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1060 # Reject names that are not valid shell variable names.
1061 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1062 as_fn_error $? "invalid package name: $ac_useropt"
1063 ac_useropt_orig=$ac_useropt
1064 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1065 case $ac_user_opts in
1069 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1070 ac_unrecognized_sep=', ';;
1072 eval with_$ac_useropt=\$ac_optarg ;;
1074 -without-* | --without-*)
1075 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1076 # Reject names that are not valid shell variable names.
1077 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1078 as_fn_error $? "invalid package name: $ac_useropt"
1079 ac_useropt_orig=$ac_useropt
1080 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1081 case $ac_user_opts in
1085 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1086 ac_unrecognized_sep=', ';;
1088 eval with_$ac_useropt=no ;;
1091 # Obsolete; use --with-x.
1094 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1095 | --x-incl | --x-inc | --x-in | --x-i)
1096 ac_prev=x_includes ;;
1097 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1098 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1099 x_includes=$ac_optarg ;;
1101 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1102 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1103 ac_prev=x_libraries ;;
1104 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1105 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1106 x_libraries=$ac_optarg ;;
1108 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1109 Try \`$0 --help' for more information"
1113 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1114 # Reject names that are not valid shell variable names.
1115 case $ac_envvar in #(
1116 '' | [0-9]* | *[!_$as_cr_alnum]* )
1117 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1119 eval $ac_envvar=\$ac_optarg
1120 export $ac_envvar ;;
1123 # FIXME: should be removed in autoconf 3.0.
1124 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1125 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1126 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1127 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1133 if test -n "$ac_prev"; then
1134 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1135 as_fn_error $? "missing argument to $ac_option"
1138 if test -n "$ac_unrecognized_opts"; then
1139 case $enable_option_checking in
1141 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1142 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1146 # Check all directory arguments for consistency.
1147 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1148 datadir sysconfdir sharedstatedir localstatedir includedir \
1149 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1150 libdir localedir mandir
1152 eval ac_val=\$$ac_var
1153 # Remove trailing slashes.
1156 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1157 eval $ac_var=\$ac_val;;
1159 # Be sure to have absolute directory names.
1161 [\\/$]* | ?:[\\/]* ) continue;;
1162 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1164 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1167 # There might be people who depend on the old broken behavior: `$host'
1168 # used to hold the argument of --host etc.
1169 # FIXME: To remove some day.
1172 target=$target_alias
1174 # FIXME: To remove some day.
1175 if test "x$host_alias" != x; then
1176 if test "x$build_alias" = x; then
1177 cross_compiling=maybe
1178 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1179 If a cross compiler is detected then cross compile mode will be used" >&2
1180 elif test "x$build_alias" != "x$host_alias"; then
1186 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1188 test "$silent" = yes && exec 6>/dev/null
1191 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1192 ac_ls_di=`ls -di .` &&
1193 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1194 as_fn_error $? "working directory cannot be determined"
1195 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1196 as_fn_error $? "pwd does not report name of working directory"
1199 # Find the source files, if location was not specified.
1200 if test -z "$srcdir"; then
1201 ac_srcdir_defaulted=yes
1202 # Try the directory containing this script, then the parent directory.
1203 ac_confdir=`$as_dirname -- "$as_myself" ||
1204 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1205 X"$as_myself" : 'X\(//\)[^/]' \| \
1206 X"$as_myself" : 'X\(//\)$' \| \
1207 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1208 $as_echo X"$as_myself" |
1209 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1227 if test ! -r "$srcdir/$ac_unique_file"; then
1231 ac_srcdir_defaulted=no
1233 if test ! -r "$srcdir/$ac_unique_file"; then
1234 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1235 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1237 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1239 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1241 # When building in place, set srcdir=.
1242 if test "$ac_abs_confdir" = "$ac_pwd"; then
1245 # Remove unnecessary trailing slashes from srcdir.
1246 # Double slashes in file names in object file debugging info
1247 # mess up M-x gdb in Emacs.
1249 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1251 for ac_var in $ac_precious_vars; do
1252 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1253 eval ac_env_${ac_var}_value=\$${ac_var}
1254 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1255 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1259 # Report the --help message.
1261 if test "$ac_init_help" = "long"; then
1262 # Omit some internal or obsolete options to make the list less imposing.
1263 # This message is too long to be a string in the A/UX 3.1 sh.
1265 \`configure' configures stressapptest 1.0.6_autoconf to adapt to many kinds of systems.
1267 Usage: $0 [OPTION]... [VAR=VALUE]...
1269 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1270 VAR=VALUE. See below for descriptions of some of the useful variables.
1272 Defaults for the options are specified in brackets.
1275 -h, --help display this help and exit
1276 --help=short display options specific to this package
1277 --help=recursive display the short help of all the included packages
1278 -V, --version display version information and exit
1279 -q, --quiet, --silent do not print \`checking ...' messages
1280 --cache-file=FILE cache test results in FILE [disabled]
1281 -C, --config-cache alias for \`--cache-file=config.cache'
1282 -n, --no-create do not create output files
1283 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1285 Installation directories:
1286 --prefix=PREFIX install architecture-independent files in PREFIX
1287 [$ac_default_prefix]
1288 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1291 By default, \`make install' will install all the files in
1292 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1293 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1294 for instance \`--prefix=\$HOME'.
1296 For better control, use the options below.
1298 Fine tuning of the installation directories:
1299 --bindir=DIR user executables [EPREFIX/bin]
1300 --sbindir=DIR system admin executables [EPREFIX/sbin]
1301 --libexecdir=DIR program executables [EPREFIX/libexec]
1302 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1303 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1304 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1305 --libdir=DIR object code libraries [EPREFIX/lib]
1306 --includedir=DIR C header files [PREFIX/include]
1307 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1308 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1309 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1310 --infodir=DIR info documentation [DATAROOTDIR/info]
1311 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1312 --mandir=DIR man documentation [DATAROOTDIR/man]
1313 --docdir=DIR documentation root [DATAROOTDIR/doc/stressapptest]
1314 --htmldir=DIR html documentation [DOCDIR]
1315 --dvidir=DIR dvi documentation [DOCDIR]
1316 --pdfdir=DIR pdf documentation [DOCDIR]
1317 --psdir=DIR ps documentation [DOCDIR]
1323 --program-prefix=PREFIX prepend PREFIX to installed program names
1324 --program-suffix=SUFFIX append SUFFIX to installed program names
1325 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1328 --build=BUILD configure for building on BUILD [guessed]
1329 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1333 if test -n "$ac_init_help"; then
1334 case $ac_init_help in
1335 short | recursive ) echo "Configuration of stressapptest 1.0.6_autoconf:";;
1340 --disable-option-checking ignore unrecognized --enable/--with options
1341 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1342 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1343 --disable-dependency-tracking speeds up one-time build
1344 --enable-dependency-tracking do not reject slow dependency extractors
1345 --disable-default-optimizations
1346 Disable default optimization flag overrides
1349 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1350 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1351 --with-static enable static linking
1353 Some influential environment variables:
1354 CXX C++ compiler command
1355 CXXFLAGS C++ compiler flags
1356 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1357 nonstandard directory <lib dir>
1358 LIBS libraries to pass to the linker, e.g. -l<library>
1359 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1360 you have headers in a nonstandard directory <include dir>
1361 CC C compiler command
1362 CFLAGS C compiler flags
1365 Use these variables to override the choices made by `configure' or to help
1366 it to find libraries and programs with nonstandard names/locations.
1368 Report bugs to <opensource@google.com>.
1373 if test "$ac_init_help" = "recursive"; then
1374 # If there are subdirs, report their specific --help.
1375 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1376 test -d "$ac_dir" ||
1377 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1382 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1384 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1385 # A ".." for each directory in $ac_dir_suffix.
1386 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1387 case $ac_top_builddir_sub in
1388 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1389 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1392 ac_abs_top_builddir=$ac_pwd
1393 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1394 # for backward compatibility:
1395 ac_top_builddir=$ac_top_build_prefix
1398 .) # We are building in place.
1400 ac_top_srcdir=$ac_top_builddir_sub
1401 ac_abs_top_srcdir=$ac_pwd ;;
1402 [\\/]* | ?:[\\/]* ) # Absolute name.
1403 ac_srcdir=$srcdir$ac_dir_suffix;
1404 ac_top_srcdir=$srcdir
1405 ac_abs_top_srcdir=$srcdir ;;
1407 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1408 ac_top_srcdir=$ac_top_build_prefix$srcdir
1409 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1411 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1413 cd "$ac_dir" || { ac_status=$?; continue; }
1414 # Check for guested configure.
1415 if test -f "$ac_srcdir/configure.gnu"; then
1417 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1418 elif test -f "$ac_srcdir/configure"; then
1420 $SHELL "$ac_srcdir/configure" --help=recursive
1422 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1424 cd "$ac_pwd" || { ac_status=$?; break; }
1428 test -n "$ac_init_help" && exit $ac_status
1429 if $ac_init_version; then
1431 stressapptest configure 1.0.6_autoconf
1432 generated by GNU Autoconf 2.68
1434 Copyright (C) 2010 Free Software Foundation, Inc.
1435 This configure script is free software; the Free Software Foundation
1436 gives unlimited permission to copy, distribute and modify it.
1441 ## ------------------------ ##
1442 ## Autoconf initialization. ##
1443 ## ------------------------ ##
1445 # ac_fn_cxx_try_compile LINENO
1446 # ----------------------------
1447 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1448 ac_fn_cxx_try_compile ()
1450 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1451 rm -f conftest.$ac_objext
1452 if { { ac_try="$ac_compile"
1454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1455 *) ac_try_echo=$ac_try;;
1457 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1458 $as_echo "$ac_try_echo"; } >&5
1459 (eval "$ac_compile") 2>conftest.err
1461 if test -s conftest.err; then
1462 grep -v '^ *+' conftest.err >conftest.er1
1463 cat conftest.er1 >&5
1464 mv -f conftest.er1 conftest.err
1466 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1467 test $ac_status = 0; } && {
1468 test -z "$ac_cxx_werror_flag" ||
1469 test ! -s conftest.err
1470 } && test -s conftest.$ac_objext; then :
1473 $as_echo "$as_me: failed program was:" >&5
1474 sed 's/^/| /' conftest.$ac_ext >&5
1478 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1479 as_fn_set_status $ac_retval
1481 } # ac_fn_cxx_try_compile
1483 # ac_fn_c_try_compile LINENO
1484 # --------------------------
1485 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1486 ac_fn_c_try_compile ()
1488 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1489 rm -f conftest.$ac_objext
1490 if { { ac_try="$ac_compile"
1492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1493 *) ac_try_echo=$ac_try;;
1495 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1496 $as_echo "$ac_try_echo"; } >&5
1497 (eval "$ac_compile") 2>conftest.err
1499 if test -s conftest.err; then
1500 grep -v '^ *+' conftest.err >conftest.er1
1501 cat conftest.er1 >&5
1502 mv -f conftest.er1 conftest.err
1504 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1505 test $ac_status = 0; } && {
1506 test -z "$ac_c_werror_flag" ||
1507 test ! -s conftest.err
1508 } && test -s conftest.$ac_objext; then :
1511 $as_echo "$as_me: failed program was:" >&5
1512 sed 's/^/| /' conftest.$ac_ext >&5
1516 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1517 as_fn_set_status $ac_retval
1519 } # ac_fn_c_try_compile
1521 # ac_fn_c_try_link LINENO
1522 # -----------------------
1523 # Try to link conftest.$ac_ext, and return whether this succeeded.
1526 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1527 rm -f conftest.$ac_objext conftest$ac_exeext
1528 if { { ac_try="$ac_link"
1530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1531 *) ac_try_echo=$ac_try;;
1533 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1534 $as_echo "$ac_try_echo"; } >&5
1535 (eval "$ac_link") 2>conftest.err
1537 if test -s conftest.err; then
1538 grep -v '^ *+' conftest.err >conftest.er1
1539 cat conftest.er1 >&5
1540 mv -f conftest.er1 conftest.err
1542 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1543 test $ac_status = 0; } && {
1544 test -z "$ac_c_werror_flag" ||
1545 test ! -s conftest.err
1546 } && test -s conftest$ac_exeext && {
1547 test "$cross_compiling" = yes ||
1548 $as_test_x conftest$ac_exeext
1552 $as_echo "$as_me: failed program was:" >&5
1553 sed 's/^/| /' conftest.$ac_ext >&5
1557 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1558 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1559 # interfere with the next link command; also delete a directory that is
1560 # left behind by Apple's compiler. We do this before executing the actions.
1561 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1562 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1563 as_fn_set_status $ac_retval
1565 } # ac_fn_c_try_link
1567 # ac_fn_c_try_cpp LINENO
1568 # ----------------------
1569 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1572 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1573 if { { ac_try="$ac_cpp conftest.$ac_ext"
1575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1576 *) ac_try_echo=$ac_try;;
1578 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1579 $as_echo "$ac_try_echo"; } >&5
1580 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1582 if test -s conftest.err; then
1583 grep -v '^ *+' conftest.err >conftest.er1
1584 cat conftest.er1 >&5
1585 mv -f conftest.er1 conftest.err
1587 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1588 test $ac_status = 0; } > conftest.i && {
1589 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1590 test ! -s conftest.err
1594 $as_echo "$as_me: failed program was:" >&5
1595 sed 's/^/| /' conftest.$ac_ext >&5
1599 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1600 as_fn_set_status $ac_retval
1604 # ac_fn_c_try_run LINENO
1605 # ----------------------
1606 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1607 # that executables *can* be run.
1610 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1611 if { { ac_try="$ac_link"
1613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1614 *) ac_try_echo=$ac_try;;
1616 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1617 $as_echo "$ac_try_echo"; } >&5
1618 (eval "$ac_link") 2>&5
1620 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1621 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1622 { { case "(($ac_try" in
1623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1624 *) ac_try_echo=$ac_try;;
1626 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1627 $as_echo "$ac_try_echo"; } >&5
1628 (eval "$ac_try") 2>&5
1630 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1631 test $ac_status = 0; }; }; then :
1634 $as_echo "$as_me: program exited with status $ac_status" >&5
1635 $as_echo "$as_me: failed program was:" >&5
1636 sed 's/^/| /' conftest.$ac_ext >&5
1638 ac_retval=$ac_status
1640 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1641 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1642 as_fn_set_status $ac_retval
1646 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1647 # -------------------------------------------------------
1648 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1649 # the include files in INCLUDES and setting the cache variable VAR
1651 ac_fn_c_check_header_mongrel ()
1653 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1654 if eval \${$3+:} false; then :
1655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1656 $as_echo_n "checking for $2... " >&6; }
1657 if eval \${$3+:} false; then :
1658 $as_echo_n "(cached) " >&6
1661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1662 $as_echo "$ac_res" >&6; }
1664 # Is the header compilable?
1665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1666 $as_echo_n "checking $2 usability... " >&6; }
1667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1668 /* end confdefs.h. */
1672 if ac_fn_c_try_compile "$LINENO"; then :
1673 ac_header_compiler=yes
1675 ac_header_compiler=no
1677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1679 $as_echo "$ac_header_compiler" >&6; }
1681 # Is the header present?
1682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1683 $as_echo_n "checking $2 presence... " >&6; }
1684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1685 /* end confdefs.h. */
1688 if ac_fn_c_try_cpp "$LINENO"; then :
1689 ac_header_preproc=yes
1691 ac_header_preproc=no
1693 rm -f conftest.err conftest.i conftest.$ac_ext
1694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1695 $as_echo "$ac_header_preproc" >&6; }
1697 # So? What about this header?
1698 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1700 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1701 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1702 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1703 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1706 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1707 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1708 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1709 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1710 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1711 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1712 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1713 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1714 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1715 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1716 ( $as_echo "## ------------------------------------ ##
1717 ## Report this to opensource@google.com ##
1718 ## ------------------------------------ ##"
1719 ) | sed "s/^/$as_me: WARNING: /" >&2
1722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1723 $as_echo_n "checking for $2... " >&6; }
1724 if eval \${$3+:} false; then :
1725 $as_echo_n "(cached) " >&6
1727 eval "$3=\$ac_header_compiler"
1730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1731 $as_echo "$ac_res" >&6; }
1733 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1735 } # ac_fn_c_check_header_mongrel
1737 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1738 # -------------------------------------------------------
1739 # Tests whether HEADER exists and can be compiled using the include files in
1740 # INCLUDES, setting the cache variable VAR accordingly.
1741 ac_fn_c_check_header_compile ()
1743 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1745 $as_echo_n "checking for $2... " >&6; }
1746 if eval \${$3+:} false; then :
1747 $as_echo_n "(cached) " >&6
1749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1750 /* end confdefs.h. */
1754 if ac_fn_c_try_compile "$LINENO"; then :
1759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1763 $as_echo "$ac_res" >&6; }
1764 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1766 } # ac_fn_c_check_header_compile
1768 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1769 # -------------------------------------------
1770 # Tests whether TYPE exists after having included INCLUDES, setting cache
1771 # variable VAR accordingly.
1772 ac_fn_c_check_type ()
1774 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1776 $as_echo_n "checking for $2... " >&6; }
1777 if eval \${$3+:} false; then :
1778 $as_echo_n "(cached) " >&6
1781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1782 /* end confdefs.h. */
1793 if ac_fn_c_try_compile "$LINENO"; then :
1794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1795 /* end confdefs.h. */
1806 if ac_fn_c_try_compile "$LINENO"; then :
1811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1817 $as_echo "$ac_res" >&6; }
1818 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1820 } # ac_fn_c_check_type
1822 # ac_fn_c_find_uintX_t LINENO BITS VAR
1823 # ------------------------------------
1824 # Finds an unsigned integer type with width BITS, setting cache variable VAR
1826 ac_fn_c_find_uintX_t ()
1828 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
1830 $as_echo_n "checking for uint$2_t... " >&6; }
1831 if eval \${$3+:} false; then :
1832 $as_echo_n "(cached) " >&6
1835 # Order is important - never check a type that is potentially smaller
1836 # than half of the expected target width.
1837 for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
1838 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
1839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1840 /* end confdefs.h. */
1841 $ac_includes_default
1845 static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
1852 if ac_fn_c_try_compile "$LINENO"; then :
1857 eval "$3=\$ac_type" ;;
1860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1861 if eval test \"x\$"$3"\" = x"no"; then :
1869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1870 $as_echo "$ac_res" >&6; }
1871 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1873 } # ac_fn_c_find_uintX_t
1875 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1876 # ---------------------------------------------
1877 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1879 ac_fn_c_check_decl ()
1881 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1882 as_decl_name=`echo $2|sed 's/ *(.*//'`
1883 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1885 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1886 if eval \${$3+:} false; then :
1887 $as_echo_n "(cached) " >&6
1889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1890 /* end confdefs.h. */
1895 #ifndef $as_decl_name
1897 (void) $as_decl_use;
1899 (void) $as_decl_name;
1907 if ac_fn_c_try_compile "$LINENO"; then :
1912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1916 $as_echo "$ac_res" >&6; }
1917 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1919 } # ac_fn_c_check_decl
1921 # ac_fn_c_check_func LINENO FUNC VAR
1922 # ----------------------------------
1923 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1924 ac_fn_c_check_func ()
1926 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1928 $as_echo_n "checking for $2... " >&6; }
1929 if eval \${$3+:} false; then :
1930 $as_echo_n "(cached) " >&6
1932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1933 /* end confdefs.h. */
1934 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1935 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1936 #define $2 innocuous_$2
1938 /* System header to define __stub macros and hopefully few prototypes,
1939 which can conflict with char $2 (); below.
1940 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1941 <limits.h> exists even on freestanding compilers. */
1944 # include <limits.h>
1946 # include <assert.h>
1951 /* Override any GCC internal prototype to avoid an error.
1952 Use char because int might match the return type of a GCC
1953 builtin and then its argument prototype would still apply. */
1958 /* The GNU C library defines this for functions which it implements
1959 to always fail with ENOSYS. Some functions are actually named
1960 something starting with __ and the normal name is an alias. */
1961 #if defined __stub_$2 || defined __stub___$2
1973 if ac_fn_c_try_link "$LINENO"; then :
1978 rm -f core conftest.err conftest.$ac_objext \
1979 conftest$ac_exeext conftest.$ac_ext
1982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1983 $as_echo "$ac_res" >&6; }
1984 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1986 } # ac_fn_c_check_func
1987 cat >config.log <<_ACEOF
1988 This file contains any messages produced by compilers while
1989 running configure, to aid debugging if configure makes a mistake.
1991 It was created by stressapptest $as_me 1.0.6_autoconf, which was
1992 generated by GNU Autoconf 2.68. Invocation command line was
2004 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2005 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2006 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2007 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2008 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2010 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2011 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2013 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2014 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2015 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2016 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2017 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2018 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2019 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2027 test -z "$as_dir" && as_dir=.
2028 $as_echo "PATH: $as_dir"
2044 # Keep a trace of the command line.
2045 # Strip out --no-create and --no-recursion so they do not pile up.
2046 # Strip out --silent because we don't want to record it for future runs.
2047 # Also quote any args containing shell meta-characters.
2048 # Make two passes to allow for proper duplicate-argument suppression.
2052 ac_must_keep_next=false
2058 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2059 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2060 | -silent | --silent | --silen | --sile | --sil)
2063 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2066 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2068 as_fn_append ac_configure_args1 " '$ac_arg'"
2069 if test $ac_must_keep_next = true; then
2070 ac_must_keep_next=false # Got value, back to normal.
2073 *=* | --config-cache | -C | -disable-* | --disable-* \
2074 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2075 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2076 | -with-* | --with-* | -without-* | --without-* | --x)
2077 case "$ac_configure_args0 " in
2078 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2081 -* ) ac_must_keep_next=true ;;
2084 as_fn_append ac_configure_args " '$ac_arg'"
2089 { ac_configure_args0=; unset ac_configure_args0;}
2090 { ac_configure_args1=; unset ac_configure_args1;}
2092 # When interrupted or exit'd, cleanup temporary files, and complete
2093 # config.log. We remove comments because anyway the quotes in there
2094 # would cause problems or look ugly.
2095 # WARNING: Use '\'' to represent an apostrophe within the trap.
2096 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2097 trap 'exit_status=$?
2098 # Save into config.log some information that might help in debugging.
2102 $as_echo "## ---------------- ##
2103 ## Cache variables. ##
2104 ## ---------------- ##"
2106 # The following way of writing the cache mishandles newlines in values,
2108 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2109 eval ac_val=\$$ac_var
2113 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2114 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2117 _ | IFS | as_nl) ;; #(
2118 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2119 *) { eval $ac_var=; unset $ac_var;} ;;
2124 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2125 *${as_nl}ac_space=\ *)
2127 "s/'\''/'\''\\\\'\'''\''/g;
2128 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2131 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2138 $as_echo "## ----------------- ##
2139 ## Output variables. ##
2140 ## ----------------- ##"
2142 for ac_var in $ac_subst_vars
2144 eval ac_val=\$$ac_var
2146 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2148 $as_echo "$ac_var='\''$ac_val'\''"
2152 if test -n "$ac_subst_files"; then
2153 $as_echo "## ------------------- ##
2154 ## File substitutions. ##
2155 ## ------------------- ##"
2157 for ac_var in $ac_subst_files
2159 eval ac_val=\$$ac_var
2161 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2163 $as_echo "$ac_var='\''$ac_val'\''"
2168 if test -s confdefs.h; then
2169 $as_echo "## ----------- ##
2176 test "$ac_signal" != 0 &&
2177 $as_echo "$as_me: caught signal $ac_signal"
2178 $as_echo "$as_me: exit $exit_status"
2180 rm -f core *.core core.conftest.* &&
2181 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2184 for ac_signal in 1 2 13 15; do
2185 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2189 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2190 rm -f -r conftest* confdefs.h
2192 $as_echo "/* confdefs.h */" > confdefs.h
2194 # Predefined preprocessor variables.
2196 cat >>confdefs.h <<_ACEOF
2197 #define PACKAGE_NAME "$PACKAGE_NAME"
2200 cat >>confdefs.h <<_ACEOF
2201 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2204 cat >>confdefs.h <<_ACEOF
2205 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2208 cat >>confdefs.h <<_ACEOF
2209 #define PACKAGE_STRING "$PACKAGE_STRING"
2212 cat >>confdefs.h <<_ACEOF
2213 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2216 cat >>confdefs.h <<_ACEOF
2217 #define PACKAGE_URL "$PACKAGE_URL"
2221 # Let the site file select an alternate cache file if it wants to.
2222 # Prefer an explicitly selected file to automatically selected ones.
2225 if test -n "$CONFIG_SITE"; then
2226 # We do not want a PATH search for config.site.
2227 case $CONFIG_SITE in #((
2228 -*) ac_site_file1=./$CONFIG_SITE;;
2229 */*) ac_site_file1=$CONFIG_SITE;;
2230 *) ac_site_file1=./$CONFIG_SITE;;
2232 elif test "x$prefix" != xNONE; then
2233 ac_site_file1=$prefix/share/config.site
2234 ac_site_file2=$prefix/etc/config.site
2236 ac_site_file1=$ac_default_prefix/share/config.site
2237 ac_site_file2=$ac_default_prefix/etc/config.site
2239 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2241 test "x$ac_site_file" = xNONE && continue
2242 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2243 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2244 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2245 sed 's/^/| /' "$ac_site_file" >&5
2247 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2248 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2249 as_fn_error $? "failed to load site script $ac_site_file
2250 See \`config.log' for more details" "$LINENO" 5; }
2254 if test -r "$cache_file"; then
2255 # Some versions of bash will fail to source /dev/null (special files
2256 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2257 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2258 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2259 $as_echo "$as_me: loading cache $cache_file" >&6;}
2261 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2262 *) . "./$cache_file";;
2266 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2267 $as_echo "$as_me: creating cache $cache_file" >&6;}
2271 # Check that the precious variables saved in the cache have kept the same
2273 ac_cache_corrupted=false
2274 for ac_var in $ac_precious_vars; do
2275 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2276 eval ac_new_set=\$ac_env_${ac_var}_set
2277 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2278 eval ac_new_val=\$ac_env_${ac_var}_value
2279 case $ac_old_set,$ac_new_set in
2281 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2282 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2283 ac_cache_corrupted=: ;;
2285 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2286 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2287 ac_cache_corrupted=: ;;
2290 if test "x$ac_old_val" != "x$ac_new_val"; then
2291 # differences in whitespace do not lead to failure.
2292 ac_old_val_w=`echo x $ac_old_val`
2293 ac_new_val_w=`echo x $ac_new_val`
2294 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2295 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2296 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2297 ac_cache_corrupted=:
2299 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2300 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2301 eval $ac_var=\$ac_old_val
2303 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2304 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2305 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2306 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2309 # Pass precious variables to config.status.
2310 if test "$ac_new_set" = set; then
2312 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2313 *) ac_arg=$ac_var=$ac_new_val ;;
2315 case " $ac_configure_args " in
2316 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2317 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2321 if $ac_cache_corrupted; then
2322 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2323 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2324 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2325 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2326 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2328 ## -------------------- ##
2329 ## Main body of script. ##
2330 ## -------------------- ##
2333 ac_cpp='$CPP $CPPFLAGS'
2334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2341 # Check whether --with-static was given.
2342 if test "${with_static+set}" = set; then :
2343 withval=$with_static;
2347 if test "$with_static" == "yes"
2349 { $as_echo "$as_me:${as_lineno-$LINENO}: Compiling with staticaly linked libraries." >&5
2350 $as_echo "$as_me: Compiling with staticaly linked libraries." >&6;}
2351 LIBS="$LIBS -static"
2353 { $as_echo "$as_me:${as_lineno-$LINENO}: Compiling with dynamically linked libraries." >&5
2354 $as_echo "$as_me: Compiling with dynamically linked libraries." >&6;}
2358 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2359 if test -f "$ac_dir/install-sh"; then
2361 ac_install_sh="$ac_aux_dir/install-sh -c"
2363 elif test -f "$ac_dir/install.sh"; then
2365 ac_install_sh="$ac_aux_dir/install.sh -c"
2367 elif test -f "$ac_dir/shtool"; then
2369 ac_install_sh="$ac_aux_dir/shtool install -c"
2373 if test -z "$ac_aux_dir"; then
2374 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2377 # These three variables are undocumented and unsupported,
2378 # and are intended to be withdrawn in a future Autoconf release.
2379 # They can cause serious problems if a builder's source tree is in a directory
2380 # whose full name contains unusual characters.
2381 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2382 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2383 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2386 # Make sure we can run config.sub.
2387 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2388 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2391 $as_echo_n "checking build system type... " >&6; }
2392 if ${ac_cv_build+:} false; then :
2393 $as_echo_n "(cached) " >&6
2395 ac_build_alias=$build_alias
2396 test "x$ac_build_alias" = x &&
2397 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2398 test "x$ac_build_alias" = x &&
2399 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2400 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2401 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2405 $as_echo "$ac_cv_build" >&6; }
2406 case $ac_cv_build in
2408 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2411 ac_save_IFS=$IFS; IFS='-'
2417 # Remember, the first character of IFS is used to create $*,
2418 # except with old shells:
2421 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2425 $as_echo_n "checking host system type... " >&6; }
2426 if ${ac_cv_host+:} false; then :
2427 $as_echo_n "(cached) " >&6
2429 if test "x$host_alias" = x; then
2430 ac_cv_host=$ac_cv_build
2432 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2433 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2438 $as_echo "$ac_cv_host" >&6; }
2441 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2444 ac_save_IFS=$IFS; IFS='-'
2450 # Remember, the first character of IFS is used to create $*,
2451 # except with old shells:
2454 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2457 # Checking for target cpu and setting custom configuration
2458 # for the different platforms
2459 case "$host_cpu" in #(
2463 $as_echo "#define STRESSAPPTEST_CPU_X86_64 /**/" >>confdefs.h
2469 $as_echo "#define STRESSAPPTEST_CPU_I686 /**/" >>confdefs.h
2475 $as_echo "#define STRESSAPPTEST_CPU_PPC /**/" >>confdefs.h
2481 $as_echo "#define STRESSAPPTEST_CPU_ARMV7A /**/" >>confdefs.h
2485 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unsupported CPU: $host_cpu! Try x86_64, i686, powerpc, or armv7a" >&5
2486 $as_echo "$as_me: WARNING: Unsupported CPU: $host_cpu! Try x86_64, i686, powerpc, or armv7a" >&2;}
2490 ## The following allows like systems to share settings. This is not meant to
2491 ## imply that these OS are the same thing. From OpenOffice dmake configure.in
2492 case "$host_os" in #(
2497 $as_echo "#define STRESSAPPTEST_OS_LINUX /**/" >>confdefs.h
2504 $as_echo "#define STRESSAPPTEST_OS_DARWIN /**/" >>confdefs.h
2511 $as_echo "#define STRESSAPPTEST_OS_BSD /**/" >>confdefs.h
2518 $as_echo "#define STRESSAPPTEST_OS_BSD /**/" >>confdefs.h
2522 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unsupported system: $host_os" >&5
2523 $as_echo "$as_me: WARNING: unsupported system: $host_os" >&2;}
2527 am__api_version='1.11'
2529 # Find a good install program. We prefer a C program (faster),
2530 # so one script is as good as another. But avoid the broken or
2531 # incompatible versions:
2532 # SysV /etc/install, /usr/sbin/install
2533 # SunOS /usr/etc/install
2534 # IRIX /sbin/install
2536 # AmigaOS /C/install, which installs bootblocks on floppy discs
2537 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2538 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2539 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2540 # OS/2's system install, which has a completely different semantic
2541 # ./install, which can be erroneously created by make from ./install.sh.
2542 # Reject install programs that cannot install multiple files.
2543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2544 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2545 if test -z "$INSTALL"; then
2546 if ${ac_cv_path_install+:} false; then :
2547 $as_echo_n "(cached) " >&6
2549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2553 test -z "$as_dir" && as_dir=.
2554 # Account for people who put trailing slashes in PATH elements.
2555 case $as_dir/ in #((
2556 ./ | .// | /[cC]/* | \
2557 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2558 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2561 # OSF1 and SCO ODT 3.0 have their own names for install.
2562 # Don't use installbsd from OSF since it installs stuff as root
2564 for ac_prog in ginstall scoinst install; do
2565 for ac_exec_ext in '' $ac_executable_extensions; do
2566 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2567 if test $ac_prog = install &&
2568 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2569 # AIX install. It has an incompatible calling convention.
2571 elif test $ac_prog = install &&
2572 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2573 # program-specific install script used by HP pwplus--don't use.
2576 rm -rf conftest.one conftest.two conftest.dir
2577 echo one > conftest.one
2578 echo two > conftest.two
2580 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2581 test -s conftest.one && test -s conftest.two &&
2582 test -s conftest.dir/conftest.one &&
2583 test -s conftest.dir/conftest.two
2585 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2598 rm -rf conftest.one conftest.two conftest.dir
2601 if test "${ac_cv_path_install+set}" = set; then
2602 INSTALL=$ac_cv_path_install
2604 # As a last resort, use the slow shell script. Don't cache a
2605 # value for INSTALL within a source directory, because that will
2606 # break other packages using the cache if that directory is
2607 # removed, or if the value is a relative name.
2608 INSTALL=$ac_install_sh
2611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2612 $as_echo "$INSTALL" >&6; }
2614 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2615 # It thinks the first close brace ends the variable substitution.
2616 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2618 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2620 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2623 $as_echo_n "checking whether build environment is sane... " >&6; }
2626 echo timestamp > conftest.file
2627 # Reject unsafe characters in $srcdir or the absolute working directory
2628 # name. Accept space and tab only in the latter.
2632 *[\\\"\#\$\&\'\`$am_lf]*)
2633 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2636 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2637 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2640 # Do `set' in a subshell so we don't clobber the current shell's
2641 # arguments. Must try -L first in case configure is actually a
2642 # symlink; some systems play weird games with the mod time of symlinks
2643 # (eg FreeBSD returns the mod time of the symlink's containing
2646 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2647 if test "$*" = "X"; then
2649 set X `ls -t "$srcdir/configure" conftest.file`
2652 if test "$*" != "X $srcdir/configure conftest.file" \
2653 && test "$*" != "X conftest.file $srcdir/configure"; then
2655 # If neither matched, then we have a broken ls. This can happen
2656 # if, for instance, CONFIG_SHELL is bash and it inherits a
2657 # broken ls alias from the environment. This has actually
2658 # happened. Such a system could not be considered "sane".
2659 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2660 alias in your environment" "$LINENO" 5
2663 test "$2" = conftest.file
2669 as_fn_error $? "newly created file is older than distributed files!
2670 Check your system clock" "$LINENO" 5
2672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2673 $as_echo "yes" >&6; }
2674 test "$program_prefix" != NONE &&
2675 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2676 # Use a double $ so make ignores it.
2677 test "$program_suffix" != NONE &&
2678 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2679 # Double any \ or $.
2680 # By default was `s,x,x', remove it if useless.
2681 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2682 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2684 # expand $ac_aux_dir to an absolute path
2685 am_aux_dir=`cd $ac_aux_dir && pwd`
2687 if test x"${MISSING+set}" != xset; then
2690 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2692 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2695 # Use eval to expand $SHELL
2696 if eval "$MISSING --run true"; then
2697 am_missing_run="$MISSING --run "
2700 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2701 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2704 if test x"${install_sh}" != xset; then
2707 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2709 install_sh="\${SHELL} $am_aux_dir/install-sh"
2713 # Installed binaries are usually stripped using `strip' when the user
2714 # run `make install-strip'. However `strip' might not be the right
2715 # tool to use in cross-compilation environments, therefore Automake
2716 # will honor the `STRIP' environment variable to overrule this program.
2717 if test "$cross_compiling" != no; then
2718 if test -n "$ac_tool_prefix"; then
2719 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2720 set dummy ${ac_tool_prefix}strip; ac_word=$2
2721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2722 $as_echo_n "checking for $ac_word... " >&6; }
2723 if ${ac_cv_prog_STRIP+:} false; then :
2724 $as_echo_n "(cached) " >&6
2726 if test -n "$STRIP"; then
2727 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2733 test -z "$as_dir" && as_dir=.
2734 for ac_exec_ext in '' $ac_executable_extensions; do
2735 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2736 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2737 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2746 STRIP=$ac_cv_prog_STRIP
2747 if test -n "$STRIP"; then
2748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2749 $as_echo "$STRIP" >&6; }
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2752 $as_echo "no" >&6; }
2757 if test -z "$ac_cv_prog_STRIP"; then
2759 # Extract the first word of "strip", so it can be a program name with args.
2760 set dummy strip; ac_word=$2
2761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2762 $as_echo_n "checking for $ac_word... " >&6; }
2763 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2764 $as_echo_n "(cached) " >&6
2766 if test -n "$ac_ct_STRIP"; then
2767 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2773 test -z "$as_dir" && as_dir=.
2774 for ac_exec_ext in '' $ac_executable_extensions; do
2775 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2776 ac_cv_prog_ac_ct_STRIP="strip"
2777 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2786 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2787 if test -n "$ac_ct_STRIP"; then
2788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2789 $as_echo "$ac_ct_STRIP" >&6; }
2791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2792 $as_echo "no" >&6; }
2795 if test "x$ac_ct_STRIP" = x; then
2798 case $cross_compiling:$ac_tool_warned in
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2801 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2802 ac_tool_warned=yes ;;
2807 STRIP="$ac_cv_prog_STRIP"
2811 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2814 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2815 if test -z "$MKDIR_P"; then
2816 if ${ac_cv_path_mkdir+:} false; then :
2817 $as_echo_n "(cached) " >&6
2819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2820 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2823 test -z "$as_dir" && as_dir=.
2824 for ac_prog in mkdir gmkdir; do
2825 for ac_exec_ext in '' $ac_executable_extensions; do
2826 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2827 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2828 'mkdir (GNU coreutils) '* | \
2829 'mkdir (coreutils) '* | \
2830 'mkdir (fileutils) '4.1*)
2831 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2841 test -d ./--version && rmdir ./--version
2842 if test "${ac_cv_path_mkdir+set}" = set; then
2843 MKDIR_P="$ac_cv_path_mkdir -p"
2845 # As a last resort, use the slow shell script. Don't cache a
2846 # value for MKDIR_P within a source directory, because that will
2847 # break other packages using the cache if that directory is
2848 # removed, or if the value is a relative name.
2849 MKDIR_P="$ac_install_sh -d"
2852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2853 $as_echo "$MKDIR_P" >&6; }
2857 [\\/$]* | ?:[\\/]*) ;;
2858 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2861 for ac_prog in gawk mawk nawk awk
2863 # Extract the first word of "$ac_prog", so it can be a program name with args.
2864 set dummy $ac_prog; ac_word=$2
2865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2866 $as_echo_n "checking for $ac_word... " >&6; }
2867 if ${ac_cv_prog_AWK+:} false; then :
2868 $as_echo_n "(cached) " >&6
2870 if test -n "$AWK"; then
2871 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2877 test -z "$as_dir" && as_dir=.
2878 for ac_exec_ext in '' $ac_executable_extensions; do
2879 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2880 ac_cv_prog_AWK="$ac_prog"
2881 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2891 if test -n "$AWK"; then
2892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2893 $as_echo "$AWK" >&6; }
2895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2896 $as_echo "no" >&6; }
2900 test -n "$AWK" && break
2903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2904 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2906 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2907 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2908 $as_echo_n "(cached) " >&6
2910 cat >conftest.make <<\_ACEOF
2913 @echo '@@@%%%=$(MAKE)=@@@%%%'
2915 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2916 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2918 eval ac_cv_prog_make_${ac_make}_set=yes;;
2920 eval ac_cv_prog_make_${ac_make}_set=no;;
2924 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2926 $as_echo "yes" >&6; }
2929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2930 $as_echo "no" >&6; }
2931 SET_MAKE="MAKE=${MAKE-make}"
2934 rm -rf .tst 2>/dev/null
2935 mkdir .tst 2>/dev/null
2936 if test -d .tst; then
2941 rmdir .tst 2>/dev/null
2943 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2944 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2945 # is not polluted with repeated "-I."
2946 am__isrc=' -I$(srcdir)'
2947 # test to see if srcdir already configured
2948 if test -f $srcdir/config.status; then
2949 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2953 # test whether we have cygpath
2954 if test -z "$CYGPATH_W"; then
2955 if (cygpath --version) >/dev/null 2>/dev/null; then
2956 CYGPATH_W='cygpath -w'
2963 # Define the identity of the package.
2964 PACKAGE='stressapptest'
2965 VERSION='1.0.6_autoconf'
2968 cat >>confdefs.h <<_ACEOF
2969 #define PACKAGE "$PACKAGE"
2973 cat >>confdefs.h <<_ACEOF
2974 #define VERSION "$VERSION"
2977 # Some tools Automake needs.
2979 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2982 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2985 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2988 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2991 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2993 # We need awk for the "check" target. The system "awk" is bad on
2995 # Always define AMTAR for backward compatibility. Yes, it's still used
2996 # in the wild :-( We should find a proper way to deprecate it ...
2999 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3006 ac_config_headers="$ac_config_headers src/stressapptest_config.h"
3009 # Checks for programs.
3010 # Don't generate CXXFLAGS defaults: if CXXFLAGS are unset
3011 # AC_PROG_CXX will override them with unwanted defaults.
3012 CXXFLAGS="$CXXFLAGS"
3014 ac_cpp='$CXXCPP $CPPFLAGS'
3015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3018 if test -z "$CXX"; then
3019 if test -n "$CCC"; then
3022 if test -n "$ac_tool_prefix"; then
3023 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3025 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3026 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3028 $as_echo_n "checking for $ac_word... " >&6; }
3029 if ${ac_cv_prog_CXX+:} false; then :
3030 $as_echo_n "(cached) " >&6
3032 if test -n "$CXX"; then
3033 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3039 test -z "$as_dir" && as_dir=.
3040 for ac_exec_ext in '' $ac_executable_extensions; do
3041 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3042 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3043 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3053 if test -n "$CXX"; then
3054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3055 $as_echo "$CXX" >&6; }
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3058 $as_echo "no" >&6; }
3062 test -n "$CXX" && break
3065 if test -z "$CXX"; then
3067 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3069 # Extract the first word of "$ac_prog", so it can be a program name with args.
3070 set dummy $ac_prog; ac_word=$2
3071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3072 $as_echo_n "checking for $ac_word... " >&6; }
3073 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3074 $as_echo_n "(cached) " >&6
3076 if test -n "$ac_ct_CXX"; then
3077 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3083 test -z "$as_dir" && as_dir=.
3084 for ac_exec_ext in '' $ac_executable_extensions; do
3085 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3086 ac_cv_prog_ac_ct_CXX="$ac_prog"
3087 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3096 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3097 if test -n "$ac_ct_CXX"; then
3098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3099 $as_echo "$ac_ct_CXX" >&6; }
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3102 $as_echo "no" >&6; }
3106 test -n "$ac_ct_CXX" && break
3109 if test "x$ac_ct_CXX" = x; then
3112 case $cross_compiling:$ac_tool_warned in
3114 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3115 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3116 ac_tool_warned=yes ;;
3124 # Provide some information about the compiler.
3125 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3128 for ac_option in --version -v -V -qversion; do
3129 { { ac_try="$ac_compiler $ac_option >&5"
3131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3132 *) ac_try_echo=$ac_try;;
3134 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3135 $as_echo "$ac_try_echo"; } >&5
3136 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3138 if test -s conftest.err; then
3140 ... rest of stderr output deleted ...
3141 10q' conftest.err >conftest.er1
3142 cat conftest.er1 >&5
3144 rm -f conftest.er1 conftest.err
3145 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3146 test $ac_status = 0; }
3149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3150 /* end confdefs.h. */
3160 ac_clean_files_save=$ac_clean_files
3161 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3162 # Try to create an executable without -o first, disregard a.out.
3163 # It will help us diagnose broken compilers, and finding out an intuition
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
3166 $as_echo_n "checking whether the C++ compiler works... " >&6; }
3167 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3169 # The possible output files:
3170 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3173 for ac_file in $ac_files
3176 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3177 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3182 if { { ac_try="$ac_link_default"
3184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3185 *) ac_try_echo=$ac_try;;
3187 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3188 $as_echo "$ac_try_echo"; } >&5
3189 (eval "$ac_link_default") 2>&5
3191 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3192 test $ac_status = 0; }; then :
3193 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3194 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3195 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3196 # so that the user can short-circuit this test for compilers unknown to
3198 for ac_file in $ac_files ''
3200 test -f "$ac_file" || continue
3202 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3205 # We found the default executable, but exeext='' is most
3209 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3211 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3213 # We set ac_cv_exeext here because the later test for it is not
3214 # safe: cross compilers may not add the suffix if given an `-o'
3215 # argument, so we may need to know it at that point already.
3216 # Even if this section looks crufty: it has the advantage of
3223 test "$ac_cv_exeext" = no && ac_cv_exeext=
3228 if test -z "$ac_file"; then :
3229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3230 $as_echo "no" >&6; }
3231 $as_echo "$as_me: failed program was:" >&5
3232 sed 's/^/| /' conftest.$ac_ext >&5
3234 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3235 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3236 as_fn_error 77 "C++ compiler cannot create executables
3237 See \`config.log' for more details" "$LINENO" 5; }
3239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3240 $as_echo "yes" >&6; }
3242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3243 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
3244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3245 $as_echo "$ac_file" >&6; }
3246 ac_exeext=$ac_cv_exeext
3248 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3249 ac_clean_files=$ac_clean_files_save
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3251 $as_echo_n "checking for suffix of executables... " >&6; }
3252 if { { ac_try="$ac_link"
3254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3255 *) ac_try_echo=$ac_try;;
3257 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3258 $as_echo "$ac_try_echo"; } >&5
3259 (eval "$ac_link") 2>&5
3261 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3262 test $ac_status = 0; }; then :
3263 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3264 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3265 # work properly (i.e., refer to `conftest.exe'), while it won't with
3267 for ac_file in conftest.exe conftest conftest.*; do
3268 test -f "$ac_file" || continue
3270 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3271 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3277 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3278 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3279 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3280 See \`config.log' for more details" "$LINENO" 5; }
3282 rm -f conftest conftest$ac_cv_exeext
3283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3284 $as_echo "$ac_cv_exeext" >&6; }
3286 rm -f conftest.$ac_ext
3287 EXEEXT=$ac_cv_exeext
3289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3290 /* end confdefs.h. */
3295 FILE *f = fopen ("conftest.out", "w");
3296 return ferror (f) || fclose (f) != 0;
3302 ac_clean_files="$ac_clean_files conftest.out"
3303 # Check that the compiler produces executables we can run. If not, either
3304 # the compiler is broken, or we cross compile.
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3306 $as_echo_n "checking whether we are cross compiling... " >&6; }
3307 if test "$cross_compiling" != yes; then
3308 { { ac_try="$ac_link"
3310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3311 *) ac_try_echo=$ac_try;;
3313 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3314 $as_echo "$ac_try_echo"; } >&5
3315 (eval "$ac_link") 2>&5
3317 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3318 test $ac_status = 0; }
3319 if { ac_try='./conftest$ac_cv_exeext'
3320 { { case "(($ac_try" in
3321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3322 *) ac_try_echo=$ac_try;;
3324 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3325 $as_echo "$ac_try_echo"; } >&5
3326 (eval "$ac_try") 2>&5
3328 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3329 test $ac_status = 0; }; }; then
3332 if test "$cross_compiling" = maybe; then
3335 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3336 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3337 as_fn_error $? "cannot run C++ compiled programs.
3338 If you meant to cross compile, use \`--host'.
3339 See \`config.log' for more details" "$LINENO" 5; }
3343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3344 $as_echo "$cross_compiling" >&6; }
3346 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3347 ac_clean_files=$ac_clean_files_save
3348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3349 $as_echo_n "checking for suffix of object files... " >&6; }
3350 if ${ac_cv_objext+:} false; then :
3351 $as_echo_n "(cached) " >&6
3353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3354 /* end confdefs.h. */
3364 rm -f conftest.o conftest.obj
3365 if { { ac_try="$ac_compile"
3367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3368 *) ac_try_echo=$ac_try;;
3370 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3371 $as_echo "$ac_try_echo"; } >&5
3372 (eval "$ac_compile") 2>&5
3374 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3375 test $ac_status = 0; }; then :
3376 for ac_file in conftest.o conftest.obj conftest.*; do
3377 test -f "$ac_file" || continue;
3379 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3380 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3385 $as_echo "$as_me: failed program was:" >&5
3386 sed 's/^/| /' conftest.$ac_ext >&5
3388 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3389 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3390 as_fn_error $? "cannot compute suffix of object files: cannot compile
3391 See \`config.log' for more details" "$LINENO" 5; }
3393 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3396 $as_echo "$ac_cv_objext" >&6; }
3397 OBJEXT=$ac_cv_objext
3399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3400 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3401 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3402 $as_echo_n "(cached) " >&6
3404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3405 /* end confdefs.h. */
3418 if ac_fn_cxx_try_compile "$LINENO"; then :
3423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3424 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3428 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3429 if test $ac_compiler_gnu = yes; then
3434 ac_test_CXXFLAGS=${CXXFLAGS+set}
3435 ac_save_CXXFLAGS=$CXXFLAGS
3436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3437 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3438 if ${ac_cv_prog_cxx_g+:} false; then :
3439 $as_echo_n "(cached) " >&6
3441 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3442 ac_cxx_werror_flag=yes
3445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3446 /* end confdefs.h. */
3456 if ac_fn_cxx_try_compile "$LINENO"; then :
3457 ac_cv_prog_cxx_g=yes
3460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3461 /* end confdefs.h. */
3471 if ac_fn_cxx_try_compile "$LINENO"; then :
3474 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3477 /* end confdefs.h. */
3487 if ac_fn_cxx_try_compile "$LINENO"; then :
3488 ac_cv_prog_cxx_g=yes
3490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3495 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3498 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3499 if test "$ac_test_CXXFLAGS" = set; then
3500 CXXFLAGS=$ac_save_CXXFLAGS
3501 elif test $ac_cv_prog_cxx_g = yes; then
3502 if test "$GXX" = yes; then
3508 if test "$GXX" = yes; then
3515 ac_cpp='$CPP $CPPFLAGS'
3516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3519 DEPDIR="${am__leading_dot}deps"
3521 ac_config_commands="$ac_config_commands depfiles"
3524 am_make=${MAKE-make}
3525 cat > confinc << 'END'
3527 @echo this is the am__doit target
3530 # If we don't find an include directive, just comment out the code.
3531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3532 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3536 # First try GNU make style include.
3537 echo "include confinc" > confmf
3538 # Ignore all kinds of additional output from `make'.
3539 case `$am_make -s -f confmf 2> /dev/null` in #(
3540 *the\ am__doit\ target*)
3546 # Now try BSD make style include.
3547 if test "$am__include" = "#"; then
3548 echo '.include "confinc"' > confmf
3549 case `$am_make -s -f confmf 2> /dev/null` in #(
3550 *the\ am__doit\ target*)
3551 am__include=.include
3559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3560 $as_echo "$_am_result" >&6; }
3561 rm -f confinc confmf
3563 # Check whether --enable-dependency-tracking was given.
3564 if test "${enable_dependency_tracking+set}" = set; then :
3565 enableval=$enable_dependency_tracking;
3568 if test "x$enable_dependency_tracking" != xno; then
3569 am_depcomp="$ac_aux_dir/depcomp"
3573 if test "x$enable_dependency_tracking" != xno; then
3583 depcc="$CXX" am_compiler_list=
3585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3586 $as_echo_n "checking dependency style of $depcc... " >&6; }
3587 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
3588 $as_echo_n "(cached) " >&6
3590 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3591 # We make a subdir and do the tests there. Otherwise we can end up
3592 # making bogus files that we don't know about and never remove. For
3593 # instance it was reported that on HP-UX the gcc test will end up
3594 # making a dummy file named `D' -- because `-MD' means `put the output
3598 # Copy depcomp to subdir because otherwise we won't find it if we're
3599 # using a relative directory.
3600 cp "$am_depcomp" conftest.dir
3602 # We will build objects and dependencies in a subdirectory because
3603 # it helps to detect inapplicable dependency modes. For instance
3604 # both Tru64's cc and ICC support -MD to output dependencies as a
3605 # side effect of compilation, but ICC will put the dependencies in
3606 # the current directory while Tru64 will put them in the object
3610 am_cv_CXX_dependencies_compiler_type=none
3611 if test "$am_compiler_list" = ""; then
3612 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3615 case " $depcc " in #(
3616 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3619 for depmode in $am_compiler_list; do
3620 # Setup a source with many dependencies, because some compilers
3621 # like to wrap large dependency lists on column 80 (with \), and
3622 # we should not choose a depcomp mode which is confused by this.
3624 # We need to recreate these files for each test, as the compiler may
3625 # overwrite some of them when testing with obscure command lines.
3626 # This happens at least with the AIX C compiler.
3628 for i in 1 2 3 4 5 6; do
3629 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3630 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3631 # Solaris 8's {/usr,}/bin/sh.
3632 touch sub/conftst$i.h
3634 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3636 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3637 # mode. It turns out that the SunPro C++ compiler does not properly
3638 # handle `-M -o', and we need to detect this. Also, some Intel
3639 # versions had trouble with output in subdirs
3640 am__obj=sub/conftest.${OBJEXT-o}
3641 am__minus_obj="-o $am__obj"
3644 # This depmode causes a compiler race in universal mode.
3645 test "$am__universal" = false || continue
3648 # after this tag, mechanisms are not by side-effect, so they'll
3649 # only be used when explicitly requested
3650 if test "x$enable_dependency_tracking" = xyes; then
3656 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3657 # This compiler won't grok `-c -o', but also, the minuso test has
3658 # not run yet. These depmodes are late enough in the game, and
3659 # so weak that their functioning should not be impacted.
3660 am__obj=conftest.${OBJEXT-o}
3665 if depmode=$depmode \
3666 source=sub/conftest.c object=$am__obj \
3667 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3668 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3669 >/dev/null 2>conftest.err &&
3670 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3671 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3672 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3673 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3674 # icc doesn't choke on unknown options, it will just issue warnings
3675 # or remarks (even with -Werror). So we grep stderr for any message
3676 # that says an option was ignored or not supported.
3677 # When given -MP, icc 7.0 and 7.1 complain thusly:
3678 # icc: Command line warning: ignoring option '-M'; no argument required
3679 # The diagnosis changed in icc 8.0:
3680 # icc: Command line remark: option '-MP' not supported
3681 if (grep 'ignoring option' conftest.err ||
3682 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3683 am_cv_CXX_dependencies_compiler_type=$depmode
3692 am_cv_CXX_dependencies_compiler_type=none
3696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
3697 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3698 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3701 test "x$enable_dependency_tracking" != xno \
3702 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3703 am__fastdepCXX_TRUE=
3704 am__fastdepCXX_FALSE='#'
3706 am__fastdepCXX_TRUE='#'
3707 am__fastdepCXX_FALSE=
3712 ac_cpp='$CPP $CPPFLAGS'
3713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3716 if test -n "$ac_tool_prefix"; then
3717 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3718 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3720 $as_echo_n "checking for $ac_word... " >&6; }
3721 if ${ac_cv_prog_CC+:} false; then :
3722 $as_echo_n "(cached) " >&6
3724 if test -n "$CC"; then
3725 ac_cv_prog_CC="$CC" # Let the user override the test.
3727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3731 test -z "$as_dir" && as_dir=.
3732 for ac_exec_ext in '' $ac_executable_extensions; do
3733 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3734 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3735 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3745 if test -n "$CC"; then
3746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3747 $as_echo "$CC" >&6; }
3749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3750 $as_echo "no" >&6; }
3755 if test -z "$ac_cv_prog_CC"; then
3757 # Extract the first word of "gcc", so it can be a program name with args.
3758 set dummy 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; }
3761 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3762 $as_echo_n "(cached) " >&6
3764 if test -n "$ac_ct_CC"; then
3765 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3771 test -z "$as_dir" && as_dir=.
3772 for ac_exec_ext in '' $ac_executable_extensions; do
3773 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3774 ac_cv_prog_ac_ct_CC="gcc"
3775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3784 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3785 if test -n "$ac_ct_CC"; then
3786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3787 $as_echo "$ac_ct_CC" >&6; }
3789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3790 $as_echo "no" >&6; }
3793 if test "x$ac_ct_CC" = x; then
3796 case $cross_compiling:$ac_tool_warned in
3798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3799 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3800 ac_tool_warned=yes ;;
3808 if test -z "$CC"; then
3809 if test -n "$ac_tool_prefix"; then
3810 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3811 set dummy ${ac_tool_prefix}cc; ac_word=$2
3812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3813 $as_echo_n "checking for $ac_word... " >&6; }
3814 if ${ac_cv_prog_CC+:} false; then :
3815 $as_echo_n "(cached) " >&6
3817 if test -n "$CC"; then
3818 ac_cv_prog_CC="$CC" # Let the user override the test.
3820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3824 test -z "$as_dir" && as_dir=.
3825 for ac_exec_ext in '' $ac_executable_extensions; do
3826 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3827 ac_cv_prog_CC="${ac_tool_prefix}cc"
3828 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3838 if test -n "$CC"; then
3839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3840 $as_echo "$CC" >&6; }
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3843 $as_echo "no" >&6; }
3849 if test -z "$CC"; then
3850 # Extract the first word of "cc", so it can be a program name with args.
3851 set dummy 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; }
3854 if ${ac_cv_prog_CC+:} false; then :
3855 $as_echo_n "(cached) " >&6
3857 if test -n "$CC"; then
3858 ac_cv_prog_CC="$CC" # Let the user override the test.
3861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3865 test -z "$as_dir" && as_dir=.
3866 for ac_exec_ext in '' $ac_executable_extensions; do
3867 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3868 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3869 ac_prog_rejected=yes
3873 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3880 if test $ac_prog_rejected = yes; then
3881 # We found a bogon in the path, so make sure we never use it.
3882 set dummy $ac_cv_prog_CC
3884 if test $# != 0; then
3885 # We chose a different compiler from the bogus one.
3886 # However, it has the same basename, so the bogon will be chosen
3887 # first if we set CC to just the basename; use the full file name.
3889 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3895 if test -n "$CC"; then
3896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3897 $as_echo "$CC" >&6; }
3899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3900 $as_echo "no" >&6; }
3905 if test -z "$CC"; then
3906 if test -n "$ac_tool_prefix"; then
3907 for ac_prog in cl.exe
3909 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3910 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3912 $as_echo_n "checking for $ac_word... " >&6; }
3913 if ${ac_cv_prog_CC+:} false; then :
3914 $as_echo_n "(cached) " >&6
3916 if test -n "$CC"; then
3917 ac_cv_prog_CC="$CC" # Let the user override the test.
3919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3923 test -z "$as_dir" && as_dir=.
3924 for ac_exec_ext in '' $ac_executable_extensions; do
3925 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3926 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3927 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3937 if test -n "$CC"; then
3938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3939 $as_echo "$CC" >&6; }
3941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3942 $as_echo "no" >&6; }
3946 test -n "$CC" && break
3949 if test -z "$CC"; then
3951 for ac_prog in cl.exe
3953 # Extract the first word of "$ac_prog", so it can be a program name with args.
3954 set dummy $ac_prog; ac_word=$2
3955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3956 $as_echo_n "checking for $ac_word... " >&6; }
3957 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3958 $as_echo_n "(cached) " >&6
3960 if test -n "$ac_ct_CC"; then
3961 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3967 test -z "$as_dir" && as_dir=.
3968 for ac_exec_ext in '' $ac_executable_extensions; do
3969 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3970 ac_cv_prog_ac_ct_CC="$ac_prog"
3971 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3980 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3981 if test -n "$ac_ct_CC"; then
3982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3983 $as_echo "$ac_ct_CC" >&6; }
3985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3986 $as_echo "no" >&6; }
3990 test -n "$ac_ct_CC" && break
3993 if test "x$ac_ct_CC" = x; then
3996 case $cross_compiling:$ac_tool_warned in
3998 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3999 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4000 ac_tool_warned=yes ;;
4009 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4010 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4011 as_fn_error $? "no acceptable C compiler found in \$PATH
4012 See \`config.log' for more details" "$LINENO" 5; }
4014 # Provide some information about the compiler.
4015 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4018 for ac_option in --version -v -V -qversion; do
4019 { { ac_try="$ac_compiler $ac_option >&5"
4021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4022 *) ac_try_echo=$ac_try;;
4024 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4025 $as_echo "$ac_try_echo"; } >&5
4026 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4028 if test -s conftest.err; then
4030 ... rest of stderr output deleted ...
4031 10q' conftest.err >conftest.er1
4032 cat conftest.er1 >&5
4034 rm -f conftest.er1 conftest.err
4035 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4036 test $ac_status = 0; }
4039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4040 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4041 if ${ac_cv_c_compiler_gnu+:} false; then :
4042 $as_echo_n "(cached) " >&6
4044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4045 /* end confdefs.h. */
4058 if ac_fn_c_try_compile "$LINENO"; then :
4063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4064 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4068 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4069 if test $ac_compiler_gnu = yes; then
4074 ac_test_CFLAGS=${CFLAGS+set}
4075 ac_save_CFLAGS=$CFLAGS
4076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4077 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4078 if ${ac_cv_prog_cc_g+:} false; then :
4079 $as_echo_n "(cached) " >&6
4081 ac_save_c_werror_flag=$ac_c_werror_flag
4082 ac_c_werror_flag=yes
4085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4086 /* end confdefs.h. */
4096 if ac_fn_c_try_compile "$LINENO"; then :
4100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4101 /* end confdefs.h. */
4111 if ac_fn_c_try_compile "$LINENO"; then :
4114 ac_c_werror_flag=$ac_save_c_werror_flag
4116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4117 /* end confdefs.h. */
4127 if ac_fn_c_try_compile "$LINENO"; then :
4130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4135 ac_c_werror_flag=$ac_save_c_werror_flag
4137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4138 $as_echo "$ac_cv_prog_cc_g" >&6; }
4139 if test "$ac_test_CFLAGS" = set; then
4140 CFLAGS=$ac_save_CFLAGS
4141 elif test $ac_cv_prog_cc_g = yes; then
4142 if test "$GCC" = yes; then
4148 if test "$GCC" = yes; then
4154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4155 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4156 if ${ac_cv_prog_cc_c89+:} false; then :
4157 $as_echo_n "(cached) " >&6
4159 ac_cv_prog_cc_c89=no
4161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4162 /* end confdefs.h. */
4165 #include <sys/types.h>
4166 #include <sys/stat.h>
4167 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4168 struct buf { int x; };
4169 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4170 static char *e (p, i)
4176 static char *f (char * (*g) (char **, int), char **p, ...)
4181 s = g (p, va_arg (v,int));
4186 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4187 function prototypes and stuff, but not '\xHH' hex character constants.
4188 These don't provoke an error unfortunately, instead are silently treated
4189 as 'x'. The following induces an error, until -std is added to get
4190 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4191 array size at least. It's necessary to write '\x00'==0 to get something
4192 that's true only with -std. */
4193 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4195 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4196 inside strings and character constants. */
4198 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4200 int test (int i, double x);
4201 struct s1 {int (*f) (int a);};
4202 struct s2 {int (*f) (double a);};
4203 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4209 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4214 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4215 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4217 CC="$ac_save_CC $ac_arg"
4218 if ac_fn_c_try_compile "$LINENO"; then :
4219 ac_cv_prog_cc_c89=$ac_arg
4221 rm -f core conftest.err conftest.$ac_objext
4222 test "x$ac_cv_prog_cc_c89" != "xno" && break
4224 rm -f conftest.$ac_ext
4229 case "x$ac_cv_prog_cc_c89" in
4231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4232 $as_echo "none needed" >&6; } ;;
4234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4235 $as_echo "unsupported" >&6; } ;;
4237 CC="$CC $ac_cv_prog_cc_c89"
4238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4239 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4241 if test "x$ac_cv_prog_cc_c89" != xno; then :
4246 ac_cpp='$CPP $CPPFLAGS'
4247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4251 depcc="$CC" am_compiler_list=
4253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4254 $as_echo_n "checking dependency style of $depcc... " >&6; }
4255 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4256 $as_echo_n "(cached) " >&6
4258 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4259 # We make a subdir and do the tests there. Otherwise we can end up
4260 # making bogus files that we don't know about and never remove. For
4261 # instance it was reported that on HP-UX the gcc test will end up
4262 # making a dummy file named `D' -- because `-MD' means `put the output
4266 # Copy depcomp to subdir because otherwise we won't find it if we're
4267 # using a relative directory.
4268 cp "$am_depcomp" conftest.dir
4270 # We will build objects and dependencies in a subdirectory because
4271 # it helps to detect inapplicable dependency modes. For instance
4272 # both Tru64's cc and ICC support -MD to output dependencies as a
4273 # side effect of compilation, but ICC will put the dependencies in
4274 # the current directory while Tru64 will put them in the object
4278 am_cv_CC_dependencies_compiler_type=none
4279 if test "$am_compiler_list" = ""; then
4280 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4283 case " $depcc " in #(
4284 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4287 for depmode in $am_compiler_list; do
4288 # Setup a source with many dependencies, because some compilers
4289 # like to wrap large dependency lists on column 80 (with \), and
4290 # we should not choose a depcomp mode which is confused by this.
4292 # We need to recreate these files for each test, as the compiler may
4293 # overwrite some of them when testing with obscure command lines.
4294 # This happens at least with the AIX C compiler.
4296 for i in 1 2 3 4 5 6; do
4297 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4298 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4299 # Solaris 8's {/usr,}/bin/sh.
4300 touch sub/conftst$i.h
4302 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4304 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4305 # mode. It turns out that the SunPro C++ compiler does not properly
4306 # handle `-M -o', and we need to detect this. Also, some Intel
4307 # versions had trouble with output in subdirs
4308 am__obj=sub/conftest.${OBJEXT-o}
4309 am__minus_obj="-o $am__obj"
4312 # This depmode causes a compiler race in universal mode.
4313 test "$am__universal" = false || continue
4316 # after this tag, mechanisms are not by side-effect, so they'll
4317 # only be used when explicitly requested
4318 if test "x$enable_dependency_tracking" = xyes; then
4324 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4325 # This compiler won't grok `-c -o', but also, the minuso test has
4326 # not run yet. These depmodes are late enough in the game, and
4327 # so weak that their functioning should not be impacted.
4328 am__obj=conftest.${OBJEXT-o}
4333 if depmode=$depmode \
4334 source=sub/conftest.c object=$am__obj \
4335 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4336 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4337 >/dev/null 2>conftest.err &&
4338 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4339 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4340 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4341 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4342 # icc doesn't choke on unknown options, it will just issue warnings
4343 # or remarks (even with -Werror). So we grep stderr for any message
4344 # that says an option was ignored or not supported.
4345 # When given -MP, icc 7.0 and 7.1 complain thusly:
4346 # icc: Command line warning: ignoring option '-M'; no argument required
4347 # The diagnosis changed in icc 8.0:
4348 # icc: Command line remark: option '-MP' not supported
4349 if (grep 'ignoring option' conftest.err ||
4350 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4351 am_cv_CC_dependencies_compiler_type=$depmode
4360 am_cv_CC_dependencies_compiler_type=none
4364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4365 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4366 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4369 test "x$enable_dependency_tracking" != xno \
4370 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4372 am__fastdepCC_FALSE='#'
4374 am__fastdepCC_TRUE='#'
4375 am__fastdepCC_FALSE=
4380 #Getting user and host info
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking user ID" >&5
4383 $as_echo_n "checking user ID... " >&6; }
4384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $username" >&5
4385 $as_echo "$username" >&6; }
4387 hostname=$(uname -n)
4388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host name" >&5
4389 $as_echo_n "checking host name... " >&6; }
4390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hostname" >&5
4391 $as_echo "$hostname" >&6; }
4394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking current timestamp" >&5
4395 $as_echo_n "checking current timestamp... " >&6; }
4396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $timestamp" >&5
4397 $as_echo "$timestamp" >&6; }
4400 cat >>confdefs.h <<_ACEOF
4401 #define STRESSAPPTEST_TIMESTAMP "$username @ $hostname on $timestamp"
4405 # Check whether --enable-default-optimizations was given.
4406 if test "${enable_default_optimizations+set}" = set; then :
4407 enableval=$enable_default_optimizations;
4410 if test x"$enable_default_optimizations" != xno; then :
4413 CXXFLAGS="$CXXFLAGS -DCHECKOPTS"
4414 CXXFLAGS="$CXXFLAGS -Wreturn-type -Wunused -Wuninitialized -Wall -Wno-psabi"
4415 CXXFLAGS="$CXXFLAGS -O3 -funroll-all-loops -funroll-loops -DNDEBUG"
4419 # Checks for header files.
4422 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
4423 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
4424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
4425 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
4426 if eval \${$as_ac_Header+:} false; then :
4427 $as_echo_n "(cached) " >&6
4429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4430 /* end confdefs.h. */
4431 #include <sys/types.h>
4443 if ac_fn_c_try_compile "$LINENO"; then :
4444 eval "$as_ac_Header=yes"
4446 eval "$as_ac_Header=no"
4448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4450 eval ac_res=\$$as_ac_Header
4451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
4452 $as_echo "$ac_res" >&6; }
4453 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4454 cat >>confdefs.h <<_ACEOF
4455 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
4458 ac_header_dirent=$ac_hdr; break
4462 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
4463 if test $ac_header_dirent = dirent.h; then
4464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
4465 $as_echo_n "checking for library containing opendir... " >&6; }
4466 if ${ac_cv_search_opendir+:} false; then :
4467 $as_echo_n "(cached) " >&6
4469 ac_func_search_save_LIBS=$LIBS
4470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4471 /* end confdefs.h. */
4473 /* Override any GCC internal prototype to avoid an error.
4474 Use char because int might match the return type of a GCC
4475 builtin and then its argument prototype would still apply. */
4488 for ac_lib in '' dir; do
4489 if test -z "$ac_lib"; then
4490 ac_res="none required"
4493 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4495 if ac_fn_c_try_link "$LINENO"; then :
4496 ac_cv_search_opendir=$ac_res
4498 rm -f core conftest.err conftest.$ac_objext \
4500 if ${ac_cv_search_opendir+:} false; then :
4504 if ${ac_cv_search_opendir+:} false; then :
4507 ac_cv_search_opendir=no
4510 LIBS=$ac_func_search_save_LIBS
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
4513 $as_echo "$ac_cv_search_opendir" >&6; }
4514 ac_res=$ac_cv_search_opendir
4515 if test "$ac_res" != no; then :
4516 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
4522 $as_echo_n "checking for library containing opendir... " >&6; }
4523 if ${ac_cv_search_opendir+:} false; then :
4524 $as_echo_n "(cached) " >&6
4526 ac_func_search_save_LIBS=$LIBS
4527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4528 /* end confdefs.h. */
4530 /* Override any GCC internal prototype to avoid an error.
4531 Use char because int might match the return type of a GCC
4532 builtin and then its argument prototype would still apply. */
4545 for ac_lib in '' x; do
4546 if test -z "$ac_lib"; then
4547 ac_res="none required"
4550 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4552 if ac_fn_c_try_link "$LINENO"; then :
4553 ac_cv_search_opendir=$ac_res
4555 rm -f core conftest.err conftest.$ac_objext \
4557 if ${ac_cv_search_opendir+:} false; then :
4561 if ${ac_cv_search_opendir+:} false; then :
4564 ac_cv_search_opendir=no
4567 LIBS=$ac_func_search_save_LIBS
4569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
4570 $as_echo "$ac_cv_search_opendir" >&6; }
4571 ac_res=$ac_cv_search_opendir
4572 if test "$ac_res" != no; then :
4573 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4580 ac_cpp='$CPP $CPPFLAGS'
4581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4585 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4586 # On Suns, sometimes $CPP names a directory.
4587 if test -n "$CPP" && test -d "$CPP"; then
4590 if test -z "$CPP"; then
4591 if ${ac_cv_prog_CPP+:} false; then :
4592 $as_echo_n "(cached) " >&6
4594 # Double quotes because CPP needs to be expanded
4595 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4598 for ac_c_preproc_warn_flag in '' yes
4600 # Use a header file that comes with gcc, so configuring glibc
4601 # with a fresh cross-compiler works.
4602 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4603 # <limits.h> exists even on freestanding compilers.
4604 # On the NeXT, cc -E runs the code through the compiler's parser,
4605 # not just through cpp. "Syntax error" is here to catch this case.
4606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4607 /* end confdefs.h. */
4609 # include <limits.h>
4611 # include <assert.h>
4615 if ac_fn_c_try_cpp "$LINENO"; then :
4618 # Broken: fails on valid input.
4621 rm -f conftest.err conftest.i conftest.$ac_ext
4623 # OK, works on sane cases. Now check whether nonexistent headers
4624 # can be detected and how.
4625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4626 /* end confdefs.h. */
4627 #include <ac_nonexistent.h>
4629 if ac_fn_c_try_cpp "$LINENO"; then :
4630 # Broken: success on invalid input.
4633 # Passes both tests.
4637 rm -f conftest.err conftest.i conftest.$ac_ext
4640 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4641 rm -f conftest.i conftest.err conftest.$ac_ext
4642 if $ac_preproc_ok; then :
4654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4655 $as_echo "$CPP" >&6; }
4657 for ac_c_preproc_warn_flag in '' yes
4659 # Use a header file that comes with gcc, so configuring glibc
4660 # with a fresh cross-compiler works.
4661 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4662 # <limits.h> exists even on freestanding compilers.
4663 # On the NeXT, cc -E runs the code through the compiler's parser,
4664 # not just through cpp. "Syntax error" is here to catch this case.
4665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4666 /* end confdefs.h. */
4668 # include <limits.h>
4670 # include <assert.h>
4674 if ac_fn_c_try_cpp "$LINENO"; then :
4677 # Broken: fails on valid input.
4680 rm -f conftest.err conftest.i conftest.$ac_ext
4682 # OK, works on sane cases. Now check whether nonexistent headers
4683 # can be detected and how.
4684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4685 /* end confdefs.h. */
4686 #include <ac_nonexistent.h>
4688 if ac_fn_c_try_cpp "$LINENO"; then :
4689 # Broken: success on invalid input.
4692 # Passes both tests.
4696 rm -f conftest.err conftest.i conftest.$ac_ext
4699 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4700 rm -f conftest.i conftest.err conftest.$ac_ext
4701 if $ac_preproc_ok; then :
4704 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4705 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4706 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4707 See \`config.log' for more details" "$LINENO" 5; }
4711 ac_cpp='$CPP $CPPFLAGS'
4712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4718 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4719 if ${ac_cv_path_GREP+:} false; then :
4720 $as_echo_n "(cached) " >&6
4722 if test -z "$GREP"; then
4723 ac_path_GREP_found=false
4724 # Loop through the user's path and test for each of PROGNAME-LIST
4725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4726 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4729 test -z "$as_dir" && as_dir=.
4730 for ac_prog in grep ggrep; do
4731 for ac_exec_ext in '' $ac_executable_extensions; do
4732 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4733 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4734 # Check for GNU ac_path_GREP and select it if it is found.
4735 # Check for GNU $ac_path_GREP
4736 case `"$ac_path_GREP" --version 2>&1` in
4738 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4741 $as_echo_n 0123456789 >"conftest.in"
4744 cat "conftest.in" "conftest.in" >"conftest.tmp"
4745 mv "conftest.tmp" "conftest.in"
4746 cp "conftest.in" "conftest.nl"
4747 $as_echo 'GREP' >> "conftest.nl"
4748 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4749 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4750 as_fn_arith $ac_count + 1 && ac_count=$as_val
4751 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4752 # Best one so far, save it but keep looking for a better one
4753 ac_cv_path_GREP="$ac_path_GREP"
4754 ac_path_GREP_max=$ac_count
4756 # 10*(2^10) chars as input seems more than enough
4757 test $ac_count -gt 10 && break
4759 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4762 $ac_path_GREP_found && break 3
4767 if test -z "$ac_cv_path_GREP"; then
4768 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4771 ac_cv_path_GREP=$GREP
4775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4776 $as_echo "$ac_cv_path_GREP" >&6; }
4777 GREP="$ac_cv_path_GREP"
4780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4781 $as_echo_n "checking for egrep... " >&6; }
4782 if ${ac_cv_path_EGREP+:} false; then :
4783 $as_echo_n "(cached) " >&6
4785 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4786 then ac_cv_path_EGREP="$GREP -E"
4788 if test -z "$EGREP"; then
4789 ac_path_EGREP_found=false
4790 # Loop through the user's path and test for each of PROGNAME-LIST
4791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4792 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4795 test -z "$as_dir" && as_dir=.
4796 for ac_prog in egrep; do
4797 for ac_exec_ext in '' $ac_executable_extensions; do
4798 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4799 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4800 # Check for GNU ac_path_EGREP and select it if it is found.
4801 # Check for GNU $ac_path_EGREP
4802 case `"$ac_path_EGREP" --version 2>&1` in
4804 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4807 $as_echo_n 0123456789 >"conftest.in"
4810 cat "conftest.in" "conftest.in" >"conftest.tmp"
4811 mv "conftest.tmp" "conftest.in"
4812 cp "conftest.in" "conftest.nl"
4813 $as_echo 'EGREP' >> "conftest.nl"
4814 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4815 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4816 as_fn_arith $ac_count + 1 && ac_count=$as_val
4817 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4818 # Best one so far, save it but keep looking for a better one
4819 ac_cv_path_EGREP="$ac_path_EGREP"
4820 ac_path_EGREP_max=$ac_count
4822 # 10*(2^10) chars as input seems more than enough
4823 test $ac_count -gt 10 && break
4825 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4828 $ac_path_EGREP_found && break 3
4833 if test -z "$ac_cv_path_EGREP"; then
4834 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4837 ac_cv_path_EGREP=$EGREP
4842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4843 $as_echo "$ac_cv_path_EGREP" >&6; }
4844 EGREP="$ac_cv_path_EGREP"
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4848 $as_echo_n "checking for ANSI C header files... " >&6; }
4849 if ${ac_cv_header_stdc+:} false; then :
4850 $as_echo_n "(cached) " >&6
4852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4853 /* end confdefs.h. */
4867 if ac_fn_c_try_compile "$LINENO"; then :
4868 ac_cv_header_stdc=yes
4870 ac_cv_header_stdc=no
4872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4874 if test $ac_cv_header_stdc = yes; then
4875 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4877 /* end confdefs.h. */
4881 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4882 $EGREP "memchr" >/dev/null 2>&1; then :
4885 ac_cv_header_stdc=no
4891 if test $ac_cv_header_stdc = yes; then
4892 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4894 /* end confdefs.h. */
4898 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4899 $EGREP "free" >/dev/null 2>&1; then :
4902 ac_cv_header_stdc=no
4908 if test $ac_cv_header_stdc = yes; then
4909 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4910 if test "$cross_compiling" = yes; then :
4913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4914 /* end confdefs.h. */
4917 #if ((' ' & 0x0FF) == 0x020)
4918 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4919 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4921 # define ISLOWER(c) \
4922 (('a' <= (c) && (c) <= 'i') \
4923 || ('j' <= (c) && (c) <= 'r') \
4924 || ('s' <= (c) && (c) <= 'z'))
4925 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4928 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4933 for (i = 0; i < 256; i++)
4934 if (XOR (islower (i), ISLOWER (i))
4935 || toupper (i) != TOUPPER (i))
4940 if ac_fn_c_try_run "$LINENO"; then :
4943 ac_cv_header_stdc=no
4945 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4946 conftest.$ac_objext conftest.beam conftest.$ac_ext
4951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4952 $as_echo "$ac_cv_header_stdc" >&6; }
4953 if test $ac_cv_header_stdc = yes; then
4955 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4959 # Skip malloc.h to prevent redefinition of HAVE_MALLOC_H on some platforms
4960 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4961 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4962 inttypes.h stdint.h unistd.h
4964 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4965 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4967 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4968 cat >>confdefs.h <<_ACEOF
4969 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4977 for ac_header in arpa/inet.h fcntl.h netdb.h stdint.h stdlib.h string.h sys/ioctl.h sys/socket.h sys/time.h unistd.h
4979 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4980 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4981 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4982 cat >>confdefs.h <<_ACEOF
4983 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4987 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4988 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4989 as_fn_error $? "Missing some header files.
4990 See \`config.log' for more details" "$LINENO" 5; }
4995 for ac_header in pthread.h
4997 ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
4998 if test "x$ac_cv_header_pthread_h" = xyes; then :
4999 cat >>confdefs.h <<_ACEOF
5000 #define HAVE_PTHREAD_H 1
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pthread_create" >&5
5008 $as_echo_n "checking for library containing pthread_create... " >&6; }
5009 if ${ac_cv_search_pthread_create+:} false; then :
5010 $as_echo_n "(cached) " >&6
5012 ac_func_search_save_LIBS=$LIBS
5013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5014 /* end confdefs.h. */
5016 /* Override any GCC internal prototype to avoid an error.
5017 Use char because int might match the return type of a GCC
5018 builtin and then its argument prototype would still apply. */
5022 char pthread_create ();
5026 return pthread_create ();
5031 for ac_lib in '' pthread; do
5032 if test -z "$ac_lib"; then
5033 ac_res="none required"
5036 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
5038 if ac_fn_c_try_link "$LINENO"; then :
5039 ac_cv_search_pthread_create=$ac_res
5041 rm -f core conftest.err conftest.$ac_objext \
5043 if ${ac_cv_search_pthread_create+:} false; then :
5047 if ${ac_cv_search_pthread_create+:} false; then :
5050 ac_cv_search_pthread_create=no
5053 LIBS=$ac_func_search_save_LIBS
5055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pthread_create" >&5
5056 $as_echo "$ac_cv_search_pthread_create" >&6; }
5057 ac_res=$ac_cv_search_pthread_create
5058 if test "$ac_res" != no; then :
5059 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5063 ac_fn_c_check_type "$LINENO" "pthread_barrier_t" "ac_cv_type_pthread_barrier_t" "$ac_includes_default"
5064 if test "x$ac_cv_type_pthread_barrier_t" = xyes; then :
5066 $as_echo "#define HAVE_PTHREAD_BARRIERS 1" >>confdefs.h
5070 for ac_header in libaio.h
5072 ac_fn_c_check_header_mongrel "$LINENO" "libaio.h" "ac_cv_header_libaio_h" "$ac_includes_default"
5073 if test "x$ac_cv_header_libaio_h" = xyes; then :
5074 cat >>confdefs.h <<_ACEOF
5075 #define HAVE_LIBAIO_H 1
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing io_setup" >&5
5083 $as_echo_n "checking for library containing io_setup... " >&6; }
5084 if ${ac_cv_search_io_setup+:} false; then :
5085 $as_echo_n "(cached) " >&6
5087 ac_func_search_save_LIBS=$LIBS
5088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5089 /* end confdefs.h. */
5091 /* Override any GCC internal prototype to avoid an error.
5092 Use char because int might match the return type of a GCC
5093 builtin and then its argument prototype would still apply. */
5106 for ac_lib in '' aio; do
5107 if test -z "$ac_lib"; then
5108 ac_res="none required"
5111 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
5113 if ac_fn_c_try_link "$LINENO"; then :
5114 ac_cv_search_io_setup=$ac_res
5116 rm -f core conftest.err conftest.$ac_objext \
5118 if ${ac_cv_search_io_setup+:} false; then :
5122 if ${ac_cv_search_io_setup+:} false; then :
5125 ac_cv_search_io_setup=no
5128 LIBS=$ac_func_search_save_LIBS
5130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_io_setup" >&5
5131 $as_echo "$ac_cv_search_io_setup" >&6; }
5132 ac_res=$ac_cv_search_io_setup
5133 if test "$ac_res" != no; then :
5134 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5138 for ac_header in sys/shm.h
5140 ac_fn_c_check_header_mongrel "$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
5141 if test "x$ac_cv_header_sys_shm_h" = xyes; then :
5142 cat >>confdefs.h <<_ACEOF
5143 #define HAVE_SYS_SHM_H 1
5150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing shm_open" >&5
5151 $as_echo_n "checking for library containing shm_open... " >&6; }
5152 if ${ac_cv_search_shm_open+:} false; then :
5153 $as_echo_n "(cached) " >&6
5155 ac_func_search_save_LIBS=$LIBS
5156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5157 /* end confdefs.h. */
5159 /* Override any GCC internal prototype to avoid an error.
5160 Use char because int might match the return type of a GCC
5161 builtin and then its argument prototype would still apply. */
5174 for ac_lib in '' rt; do
5175 if test -z "$ac_lib"; then
5176 ac_res="none required"
5179 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
5181 if ac_fn_c_try_link "$LINENO"; then :
5182 ac_cv_search_shm_open=$ac_res
5184 rm -f core conftest.err conftest.$ac_objext \
5186 if ${ac_cv_search_shm_open+:} false; then :
5190 if ${ac_cv_search_shm_open+:} false; then :
5193 ac_cv_search_shm_open=no
5196 LIBS=$ac_func_search_save_LIBS
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_shm_open" >&5
5199 $as_echo "$ac_cv_search_shm_open" >&6; }
5200 ac_res=$ac_cv_search_shm_open
5201 if test "$ac_res" != no; then :
5202 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5208 # Checks for typedefs, structures, and compiler characteristics.
5209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
5210 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
5211 if ${ac_cv_header_stdbool_h+:} false; then :
5212 $as_echo_n "(cached) " >&6
5214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5215 /* end confdefs.h. */
5217 #include <stdbool.h>
5219 "error: bool is not defined"
5222 "error: false is not defined"
5225 "error: false is not 0"
5228 "error: true is not defined"
5231 "error: true is not 1"
5233 #ifndef __bool_true_false_are_defined
5234 "error: __bool_true_false_are_defined is not defined"
5237 struct s { _Bool s: 1; _Bool t; } s;
5239 char a[true == 1 ? 1 : -1];
5240 char b[false == 0 ? 1 : -1];
5241 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
5242 char d[(bool) 0.5 == true ? 1 : -1];
5243 /* See body of main program for 'e'. */
5244 char f[(_Bool) 0.0 == false ? 1 : -1];
5246 char h[sizeof (_Bool)];
5248 enum { j = false, k = true, l = false * true, m = true * 256 };
5249 /* The following fails for
5250 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
5252 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
5253 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
5254 /* Catch a bug in an HP-UX C compiler. See
5255 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
5256 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
5268 /* Refer to every declared value, to avoid compiler optimizations. */
5269 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
5270 + !m + !n + !o + !p + !q + !pq);
5276 if ac_fn_c_try_compile "$LINENO"; then :
5277 ac_cv_header_stdbool_h=yes
5279 ac_cv_header_stdbool_h=no
5281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
5284 $as_echo "$ac_cv_header_stdbool_h" >&6; }
5285 ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
5286 if test "x$ac_cv_type__Bool" = xyes; then :
5288 cat >>confdefs.h <<_ACEOF
5289 #define HAVE__BOOL 1
5295 if test $ac_cv_header_stdbool_h = yes; then
5297 $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
5301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
5302 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
5303 if ${ac_cv_c_const+:} false; then :
5304 $as_echo_n "(cached) " >&6
5306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5307 /* end confdefs.h. */
5312 /* FIXME: Include the comments suggested by Paul. */
5314 /* Ultrix mips cc rejects this. */
5315 typedef int charset[2];
5317 /* SunOS 4.1.1 cc rejects this. */
5318 char const *const *pcpcc;
5320 /* NEC SVR4.0.2 mips cc rejects this. */
5321 struct point {int x, y;};
5322 static struct point const zero = {0,0};
5323 /* AIX XL C 1.02.0.0 rejects this.
5324 It does not let you subtract one const X* pointer from another in
5325 an arm of an if-expression whose if-part is not a constant
5327 const char *g = "string";
5328 pcpcc = &g + (g ? g-g : 0);
5329 /* HPUX 7.0 cc rejects these. */
5331 ppc = (char**) pcpcc;
5332 pcpcc = (char const *const *) ppc;
5333 { /* SCO 3.2v4 cc rejects this. */
5335 char const *s = 0 ? (char *) 0 : (char const *) 0;
5340 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
5342 const int *foo = &x[0];
5345 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5346 typedef const int *iptr;
5350 { /* AIX XL C 1.02.0.0 rejects this saying
5351 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5352 struct s { int j; const int *ap[3]; };
5353 struct s *b; b->j = 5;
5355 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5359 return !cs[0] && !zero.x;
5366 if ac_fn_c_try_compile "$LINENO"; then :
5371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
5374 $as_echo "$ac_cv_c_const" >&6; }
5375 if test $ac_cv_c_const = no; then
5377 $as_echo "#define const /**/" >>confdefs.h
5381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
5382 $as_echo_n "checking for inline... " >&6; }
5383 if ${ac_cv_c_inline+:} false; then :
5384 $as_echo_n "(cached) " >&6
5387 for ac_kw in inline __inline__ __inline; do
5388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5389 /* end confdefs.h. */
5392 static $ac_kw foo_t static_foo () {return 0; }
5393 $ac_kw foo_t foo () {return 0; }
5397 if ac_fn_c_try_compile "$LINENO"; then :
5398 ac_cv_c_inline=$ac_kw
5400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5401 test "$ac_cv_c_inline" != no && break
5405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
5406 $as_echo "$ac_cv_c_inline" >&6; }
5408 case $ac_cv_c_inline in
5411 case $ac_cv_c_inline in
5413 *) ac_val=$ac_cv_c_inline;;
5415 cat >>confdefs.h <<_ACEOF
5417 #define inline $ac_val
5423 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
5424 if test "x$ac_cv_type_pid_t" = xyes; then :
5428 cat >>confdefs.h <<_ACEOF
5434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C/C++ restrict keyword" >&5
5435 $as_echo_n "checking for C/C++ restrict keyword... " >&6; }
5436 if ${ac_cv_c_restrict+:} false; then :
5437 $as_echo_n "(cached) " >&6
5440 # The order here caters to the fact that C++ does not require restrict.
5441 for ac_kw in __restrict __restrict__ _Restrict restrict; do
5442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5443 /* end confdefs.h. */
5444 typedef int * int_ptr;
5445 int foo (int_ptr $ac_kw ip) {
5459 if ac_fn_c_try_compile "$LINENO"; then :
5460 ac_cv_c_restrict=$ac_kw
5462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5463 test "$ac_cv_c_restrict" != no && break
5467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_restrict" >&5
5468 $as_echo "$ac_cv_c_restrict" >&6; }
5470 case $ac_cv_c_restrict in
5472 no) $as_echo "#define restrict /**/" >>confdefs.h
5474 *) cat >>confdefs.h <<_ACEOF
5475 #define restrict $ac_cv_c_restrict
5480 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
5481 if test "x$ac_cv_type_size_t" = xyes; then :
5485 cat >>confdefs.h <<_ACEOF
5486 #define size_t unsigned int
5491 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
5492 if test "x$ac_cv_type_ssize_t" = xyes; then :
5496 cat >>confdefs.h <<_ACEOF
5502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
5503 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
5504 if ${ac_cv_header_time+:} false; then :
5505 $as_echo_n "(cached) " >&6
5507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5508 /* end confdefs.h. */
5509 #include <sys/types.h>
5510 #include <sys/time.h>
5516 if ((struct tm *) 0)
5522 if ac_fn_c_try_compile "$LINENO"; then :
5523 ac_cv_header_time=yes
5525 ac_cv_header_time=no
5527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
5530 $as_echo "$ac_cv_header_time" >&6; }
5531 if test $ac_cv_header_time = yes; then
5533 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
5537 ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t"
5538 case $ac_cv_c_uint16_t in #(
5543 cat >>confdefs.h <<_ACEOF
5544 #define uint16_t $ac_cv_c_uint16_t
5549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5
5550 $as_echo_n "checking for working volatile... " >&6; }
5551 if ${ac_cv_c_volatile+:} false; then :
5552 $as_echo_n "(cached) " >&6
5554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5555 /* end confdefs.h. */
5562 int * volatile y = (int *) 0;
5568 if ac_fn_c_try_compile "$LINENO"; then :
5569 ac_cv_c_volatile=yes
5573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_volatile" >&5
5576 $as_echo "$ac_cv_c_volatile" >&6; }
5577 if test $ac_cv_c_volatile = no; then
5579 $as_echo "#define volatile /**/" >>confdefs.h
5585 # Checks for library functions.
5586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether closedir returns void" >&5
5587 $as_echo_n "checking whether closedir returns void... " >&6; }
5588 if ${ac_cv_func_closedir_void+:} false; then :
5589 $as_echo_n "(cached) " >&6
5591 if test "$cross_compiling" = yes; then :
5592 ac_cv_func_closedir_void=yes
5594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5595 /* end confdefs.h. */
5596 $ac_includes_default
5597 #include <$ac_header_dirent>
5605 return closedir (opendir (".")) != 0;
5610 if ac_fn_c_try_run "$LINENO"; then :
5611 ac_cv_func_closedir_void=no
5613 ac_cv_func_closedir_void=yes
5615 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5616 conftest.$ac_objext conftest.beam conftest.$ac_ext
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_closedir_void" >&5
5621 $as_echo "$ac_cv_func_closedir_void" >&6; }
5622 if test $ac_cv_func_closedir_void = yes; then
5624 $as_echo "#define CLOSEDIR_VOID 1" >>confdefs.h
5628 if test $ac_cv_c_compiler_gnu = yes; then
5629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
5630 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
5631 if ${ac_cv_prog_gcc_traditional+:} false; then :
5632 $as_echo_n "(cached) " >&6
5634 ac_pattern="Autoconf.*'x'"
5635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5636 /* end confdefs.h. */
5640 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5641 $EGREP "$ac_pattern" >/dev/null 2>&1; then :
5642 ac_cv_prog_gcc_traditional=yes
5644 ac_cv_prog_gcc_traditional=no
5649 if test $ac_cv_prog_gcc_traditional = no; then
5650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5651 /* end confdefs.h. */
5655 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5656 $EGREP "$ac_pattern" >/dev/null 2>&1; then :
5657 ac_cv_prog_gcc_traditional=yes
5663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
5664 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
5665 if test $ac_cv_prog_gcc_traditional = yes; then
5666 CC="$CC -traditional"
5670 for ac_header in sys/select.h sys/socket.h
5672 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5673 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5674 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5675 cat >>confdefs.h <<_ACEOF
5676 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking types of arguments for select" >&5
5684 $as_echo_n "checking types of arguments for select... " >&6; }
5685 if ${ac_cv_func_select_args+:} false; then :
5686 $as_echo_n "(cached) " >&6
5688 for ac_arg234 in 'fd_set *' 'int *' 'void *'; do
5689 for ac_arg1 in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
5690 for ac_arg5 in 'struct timeval *' 'const struct timeval *'; do
5691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5692 /* end confdefs.h. */
5693 $ac_includes_default
5694 #ifdef HAVE_SYS_SELECT_H
5695 # include <sys/select.h>
5697 #ifdef HAVE_SYS_SOCKET_H
5698 # include <sys/socket.h>
5704 extern int select ($ac_arg1,
5705 $ac_arg234, $ac_arg234, $ac_arg234,
5711 if ac_fn_c_try_compile "$LINENO"; then :
5712 ac_cv_func_select_args="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
5714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5718 # Provide a safe default value.
5719 : "${ac_cv_func_select_args=int,int *,struct timeval *}"
5722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_select_args" >&5
5723 $as_echo "$ac_cv_func_select_args" >&6; }
5724 ac_save_IFS=$IFS; IFS=','
5725 set dummy `echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
5729 cat >>confdefs.h <<_ACEOF
5730 #define SELECT_TYPE_ARG1 $1
5734 cat >>confdefs.h <<_ACEOF
5735 #define SELECT_TYPE_ARG234 ($2)
5739 cat >>confdefs.h <<_ACEOF
5740 #define SELECT_TYPE_ARG5 ($3)
5745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
5746 $as_echo_n "checking return type of signal handlers... " >&6; }
5747 if ${ac_cv_type_signal+:} false; then :
5748 $as_echo_n "(cached) " >&6
5750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5751 /* end confdefs.h. */
5752 #include <sys/types.h>
5758 return *(signal (0, 0)) (0) == 1;
5763 if ac_fn_c_try_compile "$LINENO"; then :
5764 ac_cv_type_signal=int
5766 ac_cv_type_signal=void
5768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
5771 $as_echo "$ac_cv_type_signal" >&6; }
5773 cat >>confdefs.h <<_ACEOF
5774 #define RETSIGTYPE $ac_cv_type_signal
5778 ac_fn_c_check_decl "$LINENO" "strerror_r" "ac_cv_have_decl_strerror_r" "$ac_includes_default"
5779 if test "x$ac_cv_have_decl_strerror_r" = xyes; then :
5785 cat >>confdefs.h <<_ACEOF
5786 #define HAVE_DECL_STRERROR_R $ac_have_decl
5789 for ac_func in strerror_r
5791 ac_fn_c_check_func "$LINENO" "strerror_r" "ac_cv_func_strerror_r"
5792 if test "x$ac_cv_func_strerror_r" = xyes; then :
5793 cat >>confdefs.h <<_ACEOF
5794 #define HAVE_STRERROR_R 1
5800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strerror_r returns char *" >&5
5801 $as_echo_n "checking whether strerror_r returns char *... " >&6; }
5802 if ${ac_cv_func_strerror_r_char_p+:} false; then :
5803 $as_echo_n "(cached) " >&6
5806 ac_cv_func_strerror_r_char_p=no
5807 if test $ac_cv_have_decl_strerror_r = yes; then
5808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5809 /* end confdefs.h. */
5810 $ac_includes_default
5816 char x = *strerror_r (0, buf, sizeof buf);
5817 char *p = strerror_r (0, buf, sizeof buf);
5824 if ac_fn_c_try_compile "$LINENO"; then :
5825 ac_cv_func_strerror_r_char_p=yes
5827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5829 # strerror_r is not declared. Choose between
5830 # systems that have relatively inaccessible declarations for the
5831 # function. BeOS and DEC UNIX 4.0 fall in this category, but the
5832 # former has a strerror_r that returns char*, while the latter
5833 # has a strerror_r that returns `int'.
5834 # This test should segfault on the DEC system.
5835 if test "$cross_compiling" = yes; then :
5838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5839 /* end confdefs.h. */
5840 $ac_includes_default
5841 extern char *strerror_r ();
5846 char x = *strerror_r (0, buf, sizeof buf);
5847 return ! isalpha (x);
5852 if ac_fn_c_try_run "$LINENO"; then :
5853 ac_cv_func_strerror_r_char_p=yes
5855 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5856 conftest.$ac_objext conftest.beam conftest.$ac_ext
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strerror_r_char_p" >&5
5863 $as_echo "$ac_cv_func_strerror_r_char_p" >&6; }
5864 if test $ac_cv_func_strerror_r_char_p = yes; then
5866 $as_echo "#define STRERROR_R_CHAR_P 1" >>confdefs.h
5870 for ac_func in vprintf
5872 ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
5873 if test "x$ac_cv_func_vprintf" = xyes; then :
5874 cat >>confdefs.h <<_ACEOF
5875 #define HAVE_VPRINTF 1
5878 ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
5879 if test "x$ac_cv_func__doprnt" = xyes; then :
5881 $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
5889 for ac_func in ftruncate gettimeofday memset munmap select socket strtol strtoull
5891 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5892 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
5893 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
5894 cat >>confdefs.h <<_ACEOF
5895 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5901 for ac_func in mmap64 posix_memalign rand_r sched_getaffinity
5903 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5904 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
5905 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
5906 cat >>confdefs.h <<_ACEOF
5907 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5914 ac_config_files="$ac_config_files Makefile src/Makefile"
5916 cat >confcache <<\_ACEOF
5917 # This file is a shell script that caches the results of configure
5918 # tests run on this system so they can be shared between configure
5919 # scripts and configure runs, see configure's option --config-cache.
5920 # It is not useful on other systems. If it contains results you don't
5921 # want to keep, you may remove or edit it.
5923 # config.status only pays attention to the cache file if you give it
5924 # the --recheck option to rerun configure.
5926 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5927 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5932 # The following way of writing the cache mishandles newlines in values,
5933 # but we know of no workaround that is simple, portable, and efficient.
5934 # So, we kill variables containing newlines.
5935 # Ultrix sh set writes to stderr and can't be redirected directly,
5936 # and sets the high bit in the cache file unless we assign to the vars.
5938 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5939 eval ac_val=\$$ac_var
5943 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5944 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5947 _ | IFS | as_nl) ;; #(
5948 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5949 *) { eval $ac_var=; unset $ac_var;} ;;
5955 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5956 *${as_nl}ac_space=\ *)
5957 # `set' does not quote correctly, so add quotes: double-quote
5958 # substitution turns \\\\ into \\, and sed turns \\ into \.
5961 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5964 # `set' quotes correctly as required by POSIX, so do not add quotes.
5965 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5974 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5976 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5978 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5979 if test -w "$cache_file"; then
5980 if test "x$cache_file" != "x/dev/null"; then
5981 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5982 $as_echo "$as_me: updating cache $cache_file" >&6;}
5983 if test ! -f "$cache_file" || test -h "$cache_file"; then
5984 cat confcache >"$cache_file"
5986 case $cache_file in #(
5988 mv -f confcache "$cache_file"$$ &&
5989 mv -f "$cache_file"$$ "$cache_file" ;; #(
5991 mv -f confcache "$cache_file" ;;
5996 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5997 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6002 test "x$prefix" = xNONE && prefix=$ac_default_prefix
6003 # Let make expand exec_prefix.
6004 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
6006 DEFS=-DHAVE_CONFIG_H
6011 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6012 # 1. Remove the extension, and $U if already installed.
6013 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
6014 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
6015 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6016 # will be set to the directory where LIBOBJS objects are built.
6017 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6018 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
6022 LTLIBOBJS=$ac_ltlibobjs
6025 if test -n "$EXEEXT"; then
6027 am__EXEEXT_FALSE='#'
6033 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6034 as_fn_error $? "conditional \"AMDEP\" was never defined.
6035 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6037 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
6038 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
6039 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6041 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6042 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
6043 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6046 : "${CONFIG_STATUS=./config.status}"
6048 ac_clean_files_save=$ac_clean_files
6049 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6050 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
6051 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
6053 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
6055 # Generated by $as_me.
6056 # Run this file to recreate the current configuration.
6057 # Compiler output produced by configure, useful for debugging
6058 # configure, is in config.log if it exists.
6064 SHELL=\${CONFIG_SHELL-$SHELL}
6067 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
6068 ## -------------------- ##
6069 ## M4sh Initialization. ##
6070 ## -------------------- ##
6072 # Be more Bourne compatible
6073 DUALCASE=1; export DUALCASE # for MKS sh
6074 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
6077 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
6078 # is contrary to our usage. Disable this feature.
6079 alias -g '${1+"$@"}'='"$@"'
6080 setopt NO_GLOB_SUBST
6082 case `(set -o) 2>/dev/null` in #(
6094 # Printing a long string crashes Solaris 7 /usr/bin/printf.
6095 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6096 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
6097 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
6098 # Prefer a ksh shell builtin over an external printf program on Solaris,
6099 # but without wasting forks for bash or zsh.
6100 if test -z "$BASH_VERSION$ZSH_VERSION" \
6101 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
6102 as_echo='print -r --'
6103 as_echo_n='print -rn --'
6104 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
6105 as_echo='printf %s\n'
6106 as_echo_n='printf %s'
6108 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
6109 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
6110 as_echo_n='/usr/ucb/echo -n'
6112 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
6113 as_echo_n_body='eval
6117 expr "X$arg" : "X\\(.*\\)$as_nl";
6118 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6120 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
6122 export as_echo_n_body
6123 as_echo_n='sh -c $as_echo_n_body as_echo'
6126 as_echo='sh -c $as_echo_body as_echo'
6129 # The user is always right.
6130 if test "${PATH_SEPARATOR+set}" != set; then
6132 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6133 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6140 # We need space, tab and new line, in precisely that order. Quoting is
6141 # there to prevent editors from complaining about space-tab.
6142 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6143 # splitting by setting IFS to empty value.)
6146 # Find who we are. Look in the path if we contain no directory separator.
6149 *[\\/]* ) as_myself=$0 ;;
6150 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6154 test -z "$as_dir" && as_dir=.
6155 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6161 # We did not find ourselves, most probably we were run as `sh COMMAND'
6162 # in which case we are not to be found in the path.
6163 if test "x$as_myself" = x; then
6166 if test ! -f "$as_myself"; then
6167 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6171 # Unset variables that we do not need and which cause bugs (e.g. in
6172 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
6173 # suppresses any "Segmentation fault" message there. '((' could
6174 # trigger a bug in pdksh 5.2.14.
6175 for as_var in BASH_ENV ENV MAIL MAILPATH
6176 do eval test x\${$as_var+set} = xset \
6177 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
6190 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
6193 # as_fn_error STATUS ERROR [LINENO LOG_FD]
6194 # ----------------------------------------
6195 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
6196 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
6197 # script with STATUS, using 1 if that was 0.
6200 as_status=$1; test $as_status -eq 0 && as_status=1
6202 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
6203 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
6205 $as_echo "$as_me: error: $2" >&2
6206 as_fn_exit $as_status
6210 # as_fn_set_status STATUS
6211 # -----------------------
6212 # Set $? to STATUS, without forking.
6216 } # as_fn_set_status
6220 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
6230 # Portably unset VAR.
6233 { eval $1=; unset $1;}
6235 as_unset=as_fn_unset
6236 # as_fn_append VAR VALUE
6237 # ----------------------
6238 # Append the text in VALUE to the end of the definition contained in VAR. Take
6239 # advantage of any shell optimizations that allow amortized linear growth over
6240 # repeated appends, instead of the typical quadratic growth present in naive
6242 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
6243 eval 'as_fn_append ()
6254 # as_fn_arith ARG...
6255 # ------------------
6256 # Perform arithmetic evaluation on the ARGs, and store the result in the
6257 # global $as_val. Take advantage of shells that can avoid forks. The arguments
6258 # must be portable across $(()) and expr.
6259 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
6260 eval 'as_fn_arith ()
6267 as_val=`expr "$@" || test $? -eq 1`
6272 if expr a : '\(a\)' >/dev/null 2>&1 &&
6273 test "X`expr 00001 : '.*\(...\)'`" = X001; then
6279 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6280 as_basename=basename
6285 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
6291 as_me=`$as_basename -- "$0" ||
6292 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6293 X"$0" : 'X\(//\)$' \| \
6294 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6296 sed '/^.*\/\([^/][^/]*\)\/*$/{
6310 # Avoid depending upon Character Ranges.
6311 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6312 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6313 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6314 as_cr_digits='0123456789'
6315 as_cr_alnum=$as_cr_Letters$as_cr_digits
6317 ECHO_C= ECHO_N= ECHO_T=
6318 case `echo -n x` in #(((((
6320 case `echo 'xy\c'` in
6321 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
6323 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
6330 rm -f conf$$ conf$$.exe conf$$.file
6331 if test -d conf$$.dir; then
6332 rm -f conf$$.dir/conf$$.file
6335 mkdir conf$$.dir 2>/dev/null
6337 if (echo >conf$$.file) 2>/dev/null; then
6338 if ln -s conf$$.file conf$$ 2>/dev/null; then
6340 # ... but there are two gotchas:
6341 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6342 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6343 # In both cases, we have to default to `cp -p'.
6344 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
6346 elif ln conf$$.file conf$$ 2>/dev/null; then
6354 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
6355 rmdir conf$$.dir 2>/dev/null
6360 # Create "$as_dir" as a directory, including parents if necessary.
6365 -*) as_dir=./$as_dir;;
6367 test -d "$as_dir" || eval $as_mkdir_p || {
6371 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6372 *) as_qdir=$as_dir;;
6374 as_dirs="'$as_qdir' $as_dirs"
6375 as_dir=`$as_dirname -- "$as_dir" ||
6376 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6377 X"$as_dir" : 'X\(//\)[^/]' \| \
6378 X"$as_dir" : 'X\(//\)$' \| \
6379 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6380 $as_echo X"$as_dir" |
6381 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6398 test -d "$as_dir" && break
6400 test -z "$as_dirs" || eval "mkdir $as_dirs"
6401 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
6405 if mkdir -p . 2>/dev/null; then
6406 as_mkdir_p='mkdir -p "$as_dir"'
6408 test -d ./-p && rmdir ./-p
6412 if test -x / >/dev/null 2>&1; then
6415 if ls -dL / >/dev/null 2>&1; then
6422 if test -d "$1"; then
6428 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
6429 ???[sx]*):;;*)false;;esac;fi
6433 as_executable_p=$as_test_x
6435 # Sed expression to map a string onto a valid CPP name.
6436 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6438 # Sed expression to map a string onto a valid variable name.
6439 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6443 ## ----------------------------------- ##
6444 ## Main body of $CONFIG_STATUS script. ##
6445 ## ----------------------------------- ##
6447 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
6449 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6450 # Save the log message, to keep $0 and so on meaningful, and to
6451 # report actual input values of CONFIG_FILES etc. instead of their
6452 # values after options handling.
6454 This file was extended by stressapptest $as_me 1.0.6_autoconf, which was
6455 generated by GNU Autoconf 2.68. Invocation command line was
6457 CONFIG_FILES = $CONFIG_FILES
6458 CONFIG_HEADERS = $CONFIG_HEADERS
6459 CONFIG_LINKS = $CONFIG_LINKS
6460 CONFIG_COMMANDS = $CONFIG_COMMANDS
6463 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6468 case $ac_config_files in *"
6469 "*) set x $ac_config_files; shift; ac_config_files=$*;;
6472 case $ac_config_headers in *"
6473 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
6477 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6478 # Files that config.status was made for.
6479 config_files="$ac_config_files"
6480 config_headers="$ac_config_headers"
6481 config_commands="$ac_config_commands"
6485 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6487 \`$as_me' instantiates files and other configuration actions
6488 from templates according to the current configuration. Unless the files
6489 and actions are specified as TAGs, all are instantiated by default.
6491 Usage: $0 [OPTION]... [TAG]...
6493 -h, --help print this help, then exit
6494 -V, --version print version number and configuration settings, then exit
6495 --config print configuration, then exit
6496 -q, --quiet, --silent
6497 do not print progress messages
6498 -d, --debug don't remove temporary files
6499 --recheck update $as_me by reconfiguring in the same conditions
6500 --file=FILE[:TEMPLATE]
6501 instantiate the configuration file FILE
6502 --header=FILE[:TEMPLATE]
6503 instantiate the configuration header FILE
6505 Configuration files:
6508 Configuration headers:
6511 Configuration commands:
6514 Report bugs to <opensource@google.com>."
6517 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6518 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
6520 stressapptest config.status 1.0.6_autoconf
6521 configured by $0, generated by GNU Autoconf 2.68,
6522 with options \\"\$ac_cs_config\\"
6524 Copyright (C) 2010 Free Software Foundation, Inc.
6525 This config.status script is free software; the Free Software Foundation
6526 gives unlimited permission to copy, distribute and modify it."
6533 test -n "\$AWK" || AWK=awk
6536 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6537 # The default lists apply if the user does not specify any file.
6543 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6544 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6548 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6560 # Handling of the options.
6561 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6563 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6564 $as_echo "$ac_cs_version"; exit ;;
6565 --config | --confi | --conf | --con | --co | --c )
6566 $as_echo "$ac_cs_config"; exit ;;
6567 --debug | --debu | --deb | --de | --d | -d )
6569 --file | --fil | --fi | --f )
6572 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6573 '') as_fn_error $? "missing file argument" ;;
6575 as_fn_append CONFIG_FILES " '$ac_optarg'"
6576 ac_need_defaults=false;;
6577 --header | --heade | --head | --hea )
6580 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6582 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
6583 ac_need_defaults=false;;
6585 # Conflict between --help and --header
6586 as_fn_error $? "ambiguous option: \`$1'
6587 Try \`$0 --help' for more information.";;
6588 --help | --hel | -h )
6589 $as_echo "$ac_cs_usage"; exit ;;
6590 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6591 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6595 -*) as_fn_error $? "unrecognized option: \`$1'
6596 Try \`$0 --help' for more information." ;;
6598 *) as_fn_append ac_config_targets " $1"
6599 ac_need_defaults=false ;;
6605 ac_configure_extra_args=
6607 if $ac_cs_silent; then
6609 ac_configure_extra_args="$ac_configure_extra_args --silent"
6613 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6614 if \$ac_cs_recheck; then
6615 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6617 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6618 CONFIG_SHELL='$SHELL'
6624 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6628 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6629 ## Running $as_me. ##
6635 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6639 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6643 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6645 # Handling of arguments.
6646 for ac_config_target in $ac_config_targets
6648 case $ac_config_target in
6649 "src/stressapptest_config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/stressapptest_config.h" ;;
6650 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
6651 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6652 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
6654 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6659 # If the user did not use the arguments to specify the items to instantiate,
6660 # then the envvar interface is used. Set only those that are not.
6661 # We use the long form for the default assignment because of an extremely
6662 # bizarre bug on SunOS 4.1.3.
6663 if $ac_need_defaults; then
6664 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6665 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
6666 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6669 # Have a temporary directory for convenience. Make it in the build tree
6670 # simply because there is no reason against having it here, and in addition,
6671 # creating and moving files from /tmp can sometimes cause problems.
6672 # Hook for its removal unless debugging.
6673 # Note that there is a small window in which the directory will not be cleaned:
6674 # after its creation but before its name has been assigned to `$tmp'.
6678 trap 'exit_status=$?
6680 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
6682 trap 'as_fn_exit 1' 1 2 13 15
6684 # Create a (secure) tmp directory for tmp files.
6687 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6691 tmp=./conf$$-$RANDOM
6692 (umask 077 && mkdir "$tmp")
6693 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
6696 # Set up the scripts for CONFIG_FILES section.
6697 # No need to generate them if there are no CONFIG_FILES.
6698 # This happens for instance with `./config.status config.h'.
6699 if test -n "$CONFIG_FILES"; then
6702 ac_cr=`echo X | tr X '\015'`
6703 # On cygwin, bash can eat \r inside `` if the user requested igncr.
6704 # But we know of no other shell where ac_cr would be empty at this
6705 # point, so we can use a bashism as a fallback.
6706 if test "x$ac_cr" = x; then
6707 eval ac_cr=\$\'\\r\'
6709 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6710 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6716 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6721 echo "cat >conf$$subs.awk <<_ACEOF" &&
6722 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6725 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6726 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6728 for ac_last_try in false false false false false :; do
6729 . ./conf$$subs.sh ||
6730 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6732 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6733 if test $ac_delim_n = $ac_delim_num; then
6735 elif $ac_last_try; then
6736 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6738 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6743 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6744 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
6748 s/^/S["/; s/!.*/"]=/
6758 s/\(.\{148\}\)..*/\1/
6760 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6765 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6772 s/\(.\{148\}\)..*/\1/
6774 s/["\\]/\\&/g; s/^/"/; s/$/"/
6778 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6783 ' <conf$$subs.awk | sed '
6788 ' >>$CONFIG_STATUS || ac_write_fail=1
6789 rm -f conf$$subs.awk
6790 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6792 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
6793 for (key in S) S_is_set[key] = 1
6799 nfields = split(line, field, "@")
6801 len = length(field[1])
6802 for (i = 2; i < nfields; i++) {
6804 keylen = length(key)
6805 if (S_is_set[key]) {
6807 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6808 len += length(value) + length(field[++i])
6819 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6820 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6821 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6824 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
6825 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
6828 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6829 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
6830 # trailing colons and then remove the whole line if VPATH becomes empty
6831 # (actually we leave an empty line to preserve line numbers).
6832 if test "x$srcdir" = x.; then
6833 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
6851 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6852 fi # test -n "$CONFIG_FILES"
6854 # Set up the scripts for CONFIG_HEADERS section.
6855 # No need to generate them if there are no CONFIG_HEADERS.
6856 # This happens for instance with `./config.status Makefile'.
6857 if test -n "$CONFIG_HEADERS"; then
6858 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
6862 # Transform confdefs.h into an awk script `defines.awk', embedded as
6863 # here-document in config.status, that substitutes the proper values into
6864 # config.h.in to produce config.h.
6866 # Create a delimiter string that does not exist in confdefs.h, to ease
6867 # handling of long lines.
6869 for ac_last_try in false false :; do
6870 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
6871 if test -z "$ac_tt"; then
6873 elif $ac_last_try; then
6874 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
6876 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6880 # For the awk script, D is an array of macro values keyed by name,
6881 # likewise P contains macro parameters if any. Preserve backslash
6882 # newline sequences.
6884 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6886 s/.\{148\}/&'"$ac_delim"'/g
6889 s/^[ ]*#[ ]*define[ ][ ]*/ /
6896 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6898 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
6902 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6903 D["\1"]=" \3\\\\\\n"\\/p
6905 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
6910 s/.\{148\}/&'"$ac_delim"'/g
6915 s/["\\]/\\&/g; s/^/"/; s/$/"/p
6918 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
6920 ' <confdefs.h | sed '
6921 s/'"$ac_delim"'/"\\\
6922 "/g' >>$CONFIG_STATUS || ac_write_fail=1
6924 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6925 for (key in D) D_is_set[key] = 1
6928 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6930 split(line, arg, " ")
6931 if (arg[1] == "#") {
6935 defundef = substr(arg[1], 2)
6938 split(mac1, mac2, "(") #)
6940 prefix = substr(line, 1, index(line, defundef) - 1)
6941 if (D_is_set[macro]) {
6942 # Preserve the white space surrounding the "#".
6943 print prefix "define", macro P[macro] D[macro]
6946 # Replace #undef with comments. This is necessary, for example,
6947 # in the case of _POSIX_SOURCE, which is predefined and required
6948 # on some systems where configure will not decide to define it.
6949 if (defundef == "undef") {
6950 print "/*", prefix defundef, macro, "*/"
6958 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6959 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
6960 fi # test -n "$CONFIG_HEADERS"
6963 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
6968 :[FHLC]) ac_mode=$ac_tag; continue;;
6970 case $ac_mode$ac_tag in
6972 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
6973 :[FH]-) ac_tag=-:-;;
6974 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6991 -) ac_f="$ac_tmp/stdin";;
6992 *) # Look for the file first in the build tree, then in the source tree
6993 # (if the path is not absolute). The absolute path cannot be DOS-style,
6994 # because $ac_f cannot contain `:'.
6998 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
7000 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
7002 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
7003 as_fn_append ac_file_inputs " '$ac_f'"
7006 # Let's still pretend it is `configure' which instantiates (i.e., don't
7007 # use $as_me), people would be surprised to read:
7008 # /* config.h. Generated by config.status. */
7009 configure_input='Generated from '`
7010 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
7012 if test x"$ac_file" != x-; then
7013 configure_input="$ac_file. $configure_input"
7014 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
7015 $as_echo "$as_me: creating $ac_file" >&6;}
7017 # Neutralize special characters interpreted by sed in replacement strings.
7018 case $configure_input in #(
7019 *\&* | *\|* | *\\* )
7020 ac_sed_conf_input=`$as_echo "$configure_input" |
7021 sed 's/[\\\\&|]/\\\\&/g'`;; #(
7022 *) ac_sed_conf_input=$configure_input;;
7026 *:-:* | *:-) cat >"$ac_tmp/stdin" \
7027 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
7032 ac_dir=`$as_dirname -- "$ac_file" ||
7033 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7034 X"$ac_file" : 'X\(//\)[^/]' \| \
7035 X"$ac_file" : 'X\(//\)$' \| \
7036 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7037 $as_echo X"$ac_file" |
7038 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7055 as_dir="$ac_dir"; as_fn_mkdir_p
7059 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
7061 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
7062 # A ".." for each directory in $ac_dir_suffix.
7063 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
7064 case $ac_top_builddir_sub in
7065 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
7066 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
7069 ac_abs_top_builddir=$ac_pwd
7070 ac_abs_builddir=$ac_pwd$ac_dir_suffix
7071 # for backward compatibility:
7072 ac_top_builddir=$ac_top_build_prefix
7075 .) # We are building in place.
7077 ac_top_srcdir=$ac_top_builddir_sub
7078 ac_abs_top_srcdir=$ac_pwd ;;
7079 [\\/]* | ?:[\\/]* ) # Absolute name.
7080 ac_srcdir=$srcdir$ac_dir_suffix;
7081 ac_top_srcdir=$srcdir
7082 ac_abs_top_srcdir=$srcdir ;;
7084 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
7085 ac_top_srcdir=$ac_top_build_prefix$srcdir
7086 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
7088 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
7098 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
7099 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
7103 [\\/$]* | ?:[\\/]* ) ;;
7104 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
7108 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7109 # If the template does not know about datarootdir, expand it.
7110 # FIXME: This hack should be removed a few years after 2.60.
7111 ac_datarootdir_hack=; ac_datarootdir_seen=
7122 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
7123 *datarootdir*) ac_datarootdir_seen=yes;;
7124 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
7125 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7126 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7128 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7129 ac_datarootdir_hack='
7130 s&@datadir@&$datadir&g
7131 s&@docdir@&$docdir&g
7132 s&@infodir@&$infodir&g
7133 s&@localedir@&$localedir&g
7134 s&@mandir@&$mandir&g
7135 s&\\\${datarootdir}&$datarootdir&g' ;;
7139 # Neutralize VPATH when `$srcdir' = `.'.
7140 # Shell code in configure.ac might set extrasub.
7141 # FIXME: do we really want to maintain this feature?
7142 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7143 ac_sed_extra="$ac_vpsub
7146 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7148 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7149 s|@configure_input@|$ac_sed_conf_input|;t t
7150 s&@top_builddir@&$ac_top_builddir_sub&;t t
7151 s&@top_build_prefix@&$ac_top_build_prefix&;t t
7152 s&@srcdir@&$ac_srcdir&;t t
7153 s&@abs_srcdir@&$ac_abs_srcdir&;t t
7154 s&@top_srcdir@&$ac_top_srcdir&;t t
7155 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
7156 s&@builddir@&$ac_builddir&;t t
7157 s&@abs_builddir@&$ac_abs_builddir&;t t
7158 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
7159 s&@INSTALL@&$ac_INSTALL&;t t
7160 s&@MKDIR_P@&$ac_MKDIR_P&;t t
7161 $ac_datarootdir_hack
7163 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
7164 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7166 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7167 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
7168 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
7169 "$ac_tmp/out"`; test -z "$ac_out"; } &&
7170 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7171 which seems to be undefined. Please make sure it is defined" >&5
7172 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7173 which seems to be undefined. Please make sure it is defined" >&2;}
7175 rm -f "$ac_tmp/stdin"
7177 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
7178 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
7180 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7186 if test x"$ac_file" != x-; then
7188 $as_echo "/* $configure_input */" \
7189 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
7190 } >"$ac_tmp/config.h" \
7191 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7192 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
7193 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
7194 $as_echo "$as_me: $ac_file is unchanged" >&6;}
7197 mv "$ac_tmp/config.h" "$ac_file" \
7198 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7201 $as_echo "/* $configure_input */" \
7202 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
7203 || as_fn_error $? "could not create -" "$LINENO" 5
7205 # Compute "$ac_file"'s index in $config_headers.
7208 for _am_header in $config_headers :; do
7210 $_am_arg | $_am_arg:* )
7213 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
7216 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
7217 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7218 X"$_am_arg" : 'X\(//\)[^/]' \| \
7219 X"$_am_arg" : 'X\(//\)$' \| \
7220 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
7221 $as_echo X"$_am_arg" |
7222 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7238 s/.*/./; q'`/stamp-h$_am_stamp_count
7241 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
7242 $as_echo "$as_me: executing $ac_file commands" >&6;}
7247 case $ac_file$ac_mode in
7248 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
7249 # Autoconf 2.62 quotes --file arguments for eval, but not when files
7250 # are listed without --file. Let's play safe and only enable the eval
7251 # if we detect the quoting.
7252 case $CONFIG_FILES in
7253 *\'*) eval set x "$CONFIG_FILES" ;;
7254 *) set x $CONFIG_FILES ;;
7259 # Strip MF so we end up with the name of the file.
7260 mf=`echo "$mf" | sed -e 's/:.*$//'`
7261 # Check whether this is an Automake generated Makefile or not.
7262 # We used to match only the files named `Makefile.in', but
7263 # some people rename them; so instead we look at the file content.
7264 # Grep'ing the first line is not enough: some people post-process
7265 # each Makefile.in and add a new line on top of each file to say so.
7266 # Grep'ing the whole file is not good either: AIX grep has a line
7267 # limit of 2048, but all sed's we know have understand at least 4000.
7268 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
7269 dirpart=`$as_dirname -- "$mf" ||
7270 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7271 X"$mf" : 'X\(//\)[^/]' \| \
7272 X"$mf" : 'X\(//\)$' \| \
7273 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
7275 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7295 # Extract the definition of DEPDIR, am__include, and am__quote
7296 # from the Makefile without running `make'.
7297 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
7298 test -z "$DEPDIR" && continue
7299 am__include=`sed -n 's/^am__include = //p' < "$mf"`
7300 test -z "am__include" && continue
7301 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
7302 # When using ansi2knr, U may be empty or an underscore; expand it
7303 U=`sed -n 's/^U = //p' < "$mf"`
7304 # Find all dependency output files, they are included files with
7305 # $(DEPDIR) in their names. We invoke sed twice because it is the
7306 # simplest approach to changing $(DEPDIR) to its actual value in the
7308 for file in `sed -n "
7309 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
7310 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
7311 # Make sure the directory exists.
7312 test -f "$dirpart/$file" && continue
7313 fdir=`$as_dirname -- "$file" ||
7314 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7315 X"$file" : 'X\(//\)[^/]' \| \
7316 X"$file" : 'X\(//\)$' \| \
7317 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
7319 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7336 as_dir=$dirpart/$fdir; as_fn_mkdir_p
7337 # echo "creating $dirpart/$file"
7338 echo '# dummy' > "$dirpart/$file"
7350 ac_clean_files=$ac_clean_files_save
7352 test $ac_write_fail = 0 ||
7353 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
7356 # configure is writing to config.log, and then calls config.status.
7357 # config.status does its own redirection, appending to config.log.
7358 # Unfortunately, on DOS this fails, as config.log is still kept open
7359 # by configure, so config.status won't be able to write to it; its
7360 # output is simply discarded. So we exec the FD to /dev/null,
7361 # effectively closing config.log, so it can be properly (re)opened and
7362 # appended to by config.status. When coming back to configure, we
7363 # need to make the FD available again.
7364 if test "$no_create" != yes; then
7366 ac_config_status_args=
7367 test "$silent" = yes &&
7368 ac_config_status_args="$ac_config_status_args --quiet"
7370 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7372 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7373 # would make configure fail if this is the last instruction.
7374 $ac_cs_success || as_fn_exit 1
7376 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
7377 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
7378 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}