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