1 #! /bin/sh 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.65 for gperftools 2.0. 4 # 5 # Report bugs to <google-perftools (at] googlegroups.com>. 6 # 7 # 8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, 10 # Inc. 11 # 12 # 13 # This configure script is free software; the Free Software Foundation 14 # gives unlimited permission to copy, distribute and modify it. 15 ## -------------------- ## 16 ## M4sh Initialization. ## 17 ## -------------------- ## 18 19 # Be more Bourne compatible 20 DUALCASE=1; export DUALCASE # for MKS sh 21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 22 emulate sh 23 NULLCMD=: 24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 25 # is contrary to our usage. Disable this feature. 26 alias -g '${1+"$@"}'='"$@"' 27 setopt NO_GLOB_SUBST 28 else 29 case `(set -o) 2>/dev/null` in #( 30 *posix*) : 31 set -o posix ;; #( 32 *) : 33 ;; 34 esac 35 fi 36 37 38 as_nl=' 39 ' 40 export as_nl 41 # Printing a long string crashes Solaris 7 /usr/bin/printf. 42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 45 # Prefer a ksh shell builtin over an external printf program on Solaris, 46 # but without wasting forks for bash or zsh. 47 if test -z "$BASH_VERSION$ZSH_VERSION" \ 48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 49 as_echo='print -r --' 50 as_echo_n='print -rn --' 51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 52 as_echo='printf %s\n' 53 as_echo_n='printf %s' 54 else 55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 57 as_echo_n='/usr/ucb/echo -n' 58 else 59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 60 as_echo_n_body='eval 61 arg=$1; 62 case $arg in #( 63 *"$as_nl"*) 64 expr "X$arg" : "X\\(.*\\)$as_nl"; 65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 66 esac; 67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 68 ' 69 export as_echo_n_body 70 as_echo_n='sh -c $as_echo_n_body as_echo' 71 fi 72 export as_echo_body 73 as_echo='sh -c $as_echo_body as_echo' 74 fi 75 76 # The user is always right. 77 if test "${PATH_SEPARATOR+set}" != set; then 78 PATH_SEPARATOR=: 79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 81 PATH_SEPARATOR=';' 82 } 83 fi 84 85 86 # IFS 87 # We need space, tab and new line, in precisely that order. Quoting is 88 # there to prevent editors from complaining about space-tab. 89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 90 # splitting by setting IFS to empty value.) 91 IFS=" "" $as_nl" 92 93 # Find who we are. Look in the path if we contain no directory separator. 94 case $0 in #(( 95 *[\\/]* ) as_myself=$0 ;; 96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 97 for as_dir in $PATH 98 do 99 IFS=$as_save_IFS 100 test -z "$as_dir" && as_dir=. 101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 102 done 103 IFS=$as_save_IFS 104 105 ;; 106 esac 107 # We did not find ourselves, most probably we were run as `sh COMMAND' 108 # in which case we are not to be found in the path. 109 if test "x$as_myself" = x; then 110 as_myself=$0 111 fi 112 if test ! -f "$as_myself"; then 113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 114 exit 1 115 fi 116 117 # Unset variables that we do not need and which cause bugs (e.g. in 118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 119 # suppresses any "Segmentation fault" message there. '((' could 120 # trigger a bug in pdksh 5.2.14. 121 for as_var in BASH_ENV ENV MAIL MAILPATH 122 do eval test x\${$as_var+set} = xset \ 123 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 124 done 125 PS1='$ ' 126 PS2='> ' 127 PS4='+ ' 128 129 # NLS nuisances. 130 LC_ALL=C 131 export LC_ALL 132 LANGUAGE=C 133 export LANGUAGE 134 135 # CDPATH. 136 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 137 138 if test "x$CONFIG_SHELL" = x; then 139 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 140 emulate sh 141 NULLCMD=: 142 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 143 # is contrary to our usage. Disable this feature. 144 alias -g '\${1+\"\$@\"}'='\"\$@\"' 145 setopt NO_GLOB_SUBST 146 else 147 case \`(set -o) 2>/dev/null\` in #( 148 *posix*) : 149 set -o posix ;; #( 150 *) : 151 ;; 152 esac 153 fi 154 " 155 as_required="as_fn_return () { (exit \$1); } 156 as_fn_success () { as_fn_return 0; } 157 as_fn_failure () { as_fn_return 1; } 158 as_fn_ret_success () { return 0; } 159 as_fn_ret_failure () { return 1; } 160 161 exitcode=0 162 as_fn_success || { exitcode=1; echo as_fn_success failed.; } 163 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 164 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 165 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 166 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 167 168 else 169 exitcode=1; echo positional parameters were not saved. 170 fi 171 test x\$exitcode = x0 || exit 1" 172 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 173 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 174 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 175 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 176 test \$(( 1 + 1 )) = 2 || exit 1" 177 if (eval "$as_required") 2>/dev/null; then : 178 as_have_required=yes 179 else 180 as_have_required=no 181 fi 182 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 183 184 else 185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 186 as_found=false 187 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 188 do 189 IFS=$as_save_IFS 190 test -z "$as_dir" && as_dir=. 191 as_found=: 192 case $as_dir in #( 193 /*) 194 for as_base in sh bash ksh sh5; do 195 # Try only shells that exist, to save several forks. 196 as_shell=$as_dir/$as_base 197 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 198 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 199 CONFIG_SHELL=$as_shell as_have_required=yes 200 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 201 break 2 202 fi 203 fi 204 done;; 205 esac 206 as_found=false 207 done 208 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 209 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 210 CONFIG_SHELL=$SHELL as_have_required=yes 211 fi; } 212 IFS=$as_save_IFS 213 214 215 if test "x$CONFIG_SHELL" != x; then : 216 # We cannot yet assume a decent shell, so we have to provide a 217 # neutralization value for shells without unset; and this also 218 # works around shells that cannot unset nonexistent variables. 219 BASH_ENV=/dev/null 220 ENV=/dev/null 221 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 222 export CONFIG_SHELL 223 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 224 fi 225 226 if test x$as_have_required = xno; then : 227 $as_echo "$0: This script requires a shell more modern than all" 228 $as_echo "$0: the shells that I found on your system." 229 if test x${ZSH_VERSION+set} = xset ; then 230 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 231 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 232 else 233 $as_echo "$0: Please tell bug-autoconf (at] gnu.org and 234 $0: google-perftools (at] googlegroups.com about your system, 235 $0: including any error possibly output before this 236 $0: message. Then install a modern shell, or manually run 237 $0: the script under such a shell if you do have one." 238 fi 239 exit 1 240 fi 241 fi 242 fi 243 SHELL=${CONFIG_SHELL-/bin/sh} 244 export SHELL 245 # Unset more variables known to interfere with behavior of common tools. 246 CLICOLOR_FORCE= GREP_OPTIONS= 247 unset CLICOLOR_FORCE GREP_OPTIONS 248 249 ## --------------------- ## 250 ## M4sh Shell Functions. ## 251 ## --------------------- ## 252 # as_fn_unset VAR 253 # --------------- 254 # Portably unset VAR. 255 as_fn_unset () 256 { 257 { eval $1=; unset $1;} 258 } 259 as_unset=as_fn_unset 260 261 # as_fn_set_status STATUS 262 # ----------------------- 263 # Set $? to STATUS, without forking. 264 as_fn_set_status () 265 { 266 return $1 267 } # as_fn_set_status 268 269 # as_fn_exit STATUS 270 # ----------------- 271 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 272 as_fn_exit () 273 { 274 set +e 275 as_fn_set_status $1 276 exit $1 277 } # as_fn_exit 278 279 # as_fn_mkdir_p 280 # ------------- 281 # Create "$as_dir" as a directory, including parents if necessary. 282 as_fn_mkdir_p () 283 { 284 285 case $as_dir in #( 286 -*) as_dir=./$as_dir;; 287 esac 288 test -d "$as_dir" || eval $as_mkdir_p || { 289 as_dirs= 290 while :; do 291 case $as_dir in #( 292 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 293 *) as_qdir=$as_dir;; 294 esac 295 as_dirs="'$as_qdir' $as_dirs" 296 as_dir=`$as_dirname -- "$as_dir" || 297 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 298 X"$as_dir" : 'X\(//\)[^/]' \| \ 299 X"$as_dir" : 'X\(//\)$' \| \ 300 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 301 $as_echo X"$as_dir" | 302 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 303 s//\1/ 304 q 305 } 306 /^X\(\/\/\)[^/].*/{ 307 s//\1/ 308 q 309 } 310 /^X\(\/\/\)$/{ 311 s//\1/ 312 q 313 } 314 /^X\(\/\).*/{ 315 s//\1/ 316 q 317 } 318 s/.*/./; q'` 319 test -d "$as_dir" && break 320 done 321 test -z "$as_dirs" || eval "mkdir $as_dirs" 322 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 323 324 325 } # as_fn_mkdir_p 326 # as_fn_append VAR VALUE 327 # ---------------------- 328 # Append the text in VALUE to the end of the definition contained in VAR. Take 329 # advantage of any shell optimizations that allow amortized linear growth over 330 # repeated appends, instead of the typical quadratic growth present in naive 331 # implementations. 332 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 333 eval 'as_fn_append () 334 { 335 eval $1+=\$2 336 }' 337 else 338 as_fn_append () 339 { 340 eval $1=\$$1\$2 341 } 342 fi # as_fn_append 343 344 # as_fn_arith ARG... 345 # ------------------ 346 # Perform arithmetic evaluation on the ARGs, and store the result in the 347 # global $as_val. Take advantage of shells that can avoid forks. The arguments 348 # must be portable across $(()) and expr. 349 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 350 eval 'as_fn_arith () 351 { 352 as_val=$(( $* )) 353 }' 354 else 355 as_fn_arith () 356 { 357 as_val=`expr "$@" || test $? -eq 1` 358 } 359 fi # as_fn_arith 360 361 362 # as_fn_error ERROR [LINENO LOG_FD] 363 # --------------------------------- 364 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 365 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 366 # script with status $?, using 1 if that was 0. 367 as_fn_error () 368 { 369 as_status=$?; test $as_status -eq 0 && as_status=1 370 if test "$3"; then 371 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 372 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 373 fi 374 $as_echo "$as_me: error: $1" >&2 375 as_fn_exit $as_status 376 } # as_fn_error 377 378 if expr a : '\(a\)' >/dev/null 2>&1 && 379 test "X`expr 00001 : '.*\(...\)'`" = X001; then 380 as_expr=expr 381 else 382 as_expr=false 383 fi 384 385 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 386 as_basename=basename 387 else 388 as_basename=false 389 fi 390 391 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 392 as_dirname=dirname 393 else 394 as_dirname=false 395 fi 396 397 as_me=`$as_basename -- "$0" || 398 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 399 X"$0" : 'X\(//\)$' \| \ 400 X"$0" : 'X\(/\)' \| . 2>/dev/null || 401 $as_echo X/"$0" | 402 sed '/^.*\/\([^/][^/]*\)\/*$/{ 403 s//\1/ 404 q 405 } 406 /^X\/\(\/\/\)$/{ 407 s//\1/ 408 q 409 } 410 /^X\/\(\/\).*/{ 411 s//\1/ 412 q 413 } 414 s/.*/./; q'` 415 416 # Avoid depending upon Character Ranges. 417 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 418 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 419 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 420 as_cr_digits='0123456789' 421 as_cr_alnum=$as_cr_Letters$as_cr_digits 422 423 424 as_lineno_1=$LINENO as_lineno_1a=$LINENO 425 as_lineno_2=$LINENO as_lineno_2a=$LINENO 426 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 427 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 428 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 429 sed -n ' 430 p 431 /[$]LINENO/= 432 ' <$as_myself | 433 sed ' 434 s/[$]LINENO.*/&-/ 435 t lineno 436 b 437 :lineno 438 N 439 :loop 440 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 441 t loop 442 s/-\n.*// 443 ' >$as_me.lineno && 444 chmod +x "$as_me.lineno" || 445 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 446 447 # Don't try to exec as it changes $[0], causing all sort of problems 448 # (the dirname of $[0] is not the place where we might find the 449 # original and so on. Autoconf is especially sensitive to this). 450 . "./$as_me.lineno" 451 # Exit status is that of the last command. 452 exit 453 } 454 455 ECHO_C= ECHO_N= ECHO_T= 456 case `echo -n x` in #((((( 457 -n*) 458 case `echo 'xy\c'` in 459 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 460 xy) ECHO_C='\c';; 461 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 462 ECHO_T=' ';; 463 esac;; 464 *) 465 ECHO_N='-n';; 466 esac 467 468 rm -f conf$$ conf$$.exe conf$$.file 469 if test -d conf$$.dir; then 470 rm -f conf$$.dir/conf$$.file 471 else 472 rm -f conf$$.dir 473 mkdir conf$$.dir 2>/dev/null 474 fi 475 if (echo >conf$$.file) 2>/dev/null; then 476 if ln -s conf$$.file conf$$ 2>/dev/null; then 477 as_ln_s='ln -s' 478 # ... but there are two gotchas: 479 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 480 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 481 # In both cases, we have to default to `cp -p'. 482 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 483 as_ln_s='cp -p' 484 elif ln conf$$.file conf$$ 2>/dev/null; then 485 as_ln_s=ln 486 else 487 as_ln_s='cp -p' 488 fi 489 else 490 as_ln_s='cp -p' 491 fi 492 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 493 rmdir conf$$.dir 2>/dev/null 494 495 if mkdir -p . 2>/dev/null; then 496 as_mkdir_p='mkdir -p "$as_dir"' 497 else 498 test -d ./-p && rmdir ./-p 499 as_mkdir_p=false 500 fi 501 502 if test -x / >/dev/null 2>&1; then 503 as_test_x='test -x' 504 else 505 if ls -dL / >/dev/null 2>&1; then 506 as_ls_L_option=L 507 else 508 as_ls_L_option= 509 fi 510 as_test_x=' 511 eval sh -c '\'' 512 if test -d "$1"; then 513 test -d "$1/."; 514 else 515 case $1 in #( 516 -*)set "./$1";; 517 esac; 518 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 519 ???[sx]*):;;*)false;;esac;fi 520 '\'' sh 521 ' 522 fi 523 as_executable_p=$as_test_x 524 525 # Sed expression to map a string onto a valid CPP name. 526 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 527 528 # Sed expression to map a string onto a valid variable name. 529 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 530 531 532 533 # Check that we are running under the correct shell. 534 SHELL=${CONFIG_SHELL-/bin/sh} 535 536 case X$lt_ECHO in 537 X*--fallback-echo) 538 # Remove one level of quotation (which was required for Make). 539 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','` 540 ;; 541 esac 542 543 ECHO=${lt_ECHO-echo} 544 if test "X$1" = X--no-reexec; then 545 # Discard the --no-reexec flag, and continue. 546 shift 547 elif test "X$1" = X--fallback-echo; then 548 # Avoid inline document here, it may be left over 549 : 550 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then 551 # Yippee, $ECHO works! 552 : 553 else 554 # Restart under the correct shell. 555 exec $SHELL "$0" --no-reexec ${1+"$@"} 556 fi 557 558 if test "X$1" = X--fallback-echo; then 559 # used as fallback echo 560 shift 561 cat <<_LT_EOF 562 $* 563 _LT_EOF 564 exit 0 565 fi 566 567 # The HP-UX ksh and POSIX shell print the target directory to stdout 568 # if CDPATH is set. 569 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 570 571 if test -z "$lt_ECHO"; then 572 if test "X${echo_test_string+set}" != Xset; then 573 # find a string as large as possible, as long as the shell can cope with it 574 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do 575 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... 576 if { echo_test_string=`eval $cmd`; } 2>/dev/null && 577 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null 578 then 579 break 580 fi 581 done 582 fi 583 584 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && 585 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && 586 test "X$echo_testing_string" = "X$echo_test_string"; then 587 : 588 else 589 # The Solaris, AIX, and Digital Unix default echo programs unquote 590 # backslashes. This makes it impossible to quote backslashes using 591 # echo "$something" | sed 's/\\/\\\\/g' 592 # 593 # So, first we look for a working echo in the user's PATH. 594 595 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 596 for dir in $PATH /usr/ucb; do 597 IFS="$lt_save_ifs" 598 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && 599 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && 600 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && 601 test "X$echo_testing_string" = "X$echo_test_string"; then 602 ECHO="$dir/echo" 603 break 604 fi 605 done 606 IFS="$lt_save_ifs" 607 608 if test "X$ECHO" = Xecho; then 609 # We didn't find a better echo, so look for alternatives. 610 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' && 611 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` && 612 test "X$echo_testing_string" = "X$echo_test_string"; then 613 # This shell has a builtin print -r that does the trick. 614 ECHO='print -r' 615 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } && 616 test "X$CONFIG_SHELL" != X/bin/ksh; then 617 # If we have ksh, try running configure again with it. 618 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} 619 export ORIGINAL_CONFIG_SHELL 620 CONFIG_SHELL=/bin/ksh 621 export CONFIG_SHELL 622 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"} 623 else 624 # Try using printf. 625 ECHO='printf %s\n' 626 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && 627 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && 628 test "X$echo_testing_string" = "X$echo_test_string"; then 629 # Cool, printf works 630 : 631 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && 632 test "X$echo_testing_string" = 'X\t' && 633 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && 634 test "X$echo_testing_string" = "X$echo_test_string"; then 635 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL 636 export CONFIG_SHELL 637 SHELL="$CONFIG_SHELL" 638 export SHELL 639 ECHO="$CONFIG_SHELL $0 --fallback-echo" 640 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && 641 test "X$echo_testing_string" = 'X\t' && 642 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && 643 test "X$echo_testing_string" = "X$echo_test_string"; then 644 ECHO="$CONFIG_SHELL $0 --fallback-echo" 645 else 646 # maybe with a smaller string... 647 prev=: 648 649 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do 650 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null 651 then 652 break 653 fi 654 prev="$cmd" 655 done 656 657 if test "$prev" != 'sed 50q "$0"'; then 658 echo_test_string=`eval $prev` 659 export echo_test_string 660 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"} 661 else 662 # Oops. We lost completely, so just stick with echo. 663 ECHO=echo 664 fi 665 fi 666 fi 667 fi 668 fi 669 fi 670 671 # Copy echo and quote the copy suitably for passing to libtool from 672 # the Makefile, instead of quoting the original, which is used later. 673 lt_ECHO=$ECHO 674 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then 675 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo" 676 fi 677 678 679 680 681 test -n "$DJDIR" || exec 7<&0 </dev/null 682 exec 6>&1 683 684 # Name of the host. 685 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 686 # so uname gets run too. 687 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 688 689 # 690 # Initializations. 691 # 692 ac_default_prefix=/usr/local 693 ac_clean_files= 694 ac_config_libobj_dir=. 695 LIBOBJS= 696 cross_compiling=no 697 subdirs= 698 MFLAGS= 699 MAKEFLAGS= 700 701 # Identity of this package. 702 PACKAGE_NAME='gperftools' 703 PACKAGE_TARNAME='gperftools' 704 PACKAGE_VERSION='2.0' 705 PACKAGE_STRING='gperftools 2.0' 706 PACKAGE_BUGREPORT='google-perftools (at] googlegroups.com' 707 PACKAGE_URL='' 708 709 ac_unique_file="README" 710 # Factoring default headers for most tests. 711 ac_includes_default="\ 712 #include <stdio.h> 713 #ifdef HAVE_SYS_TYPES_H 714 # include <sys/types.h> 715 #endif 716 #ifdef HAVE_SYS_STAT_H 717 # include <sys/stat.h> 718 #endif 719 #ifdef STDC_HEADERS 720 # include <stdlib.h> 721 # include <stddef.h> 722 #else 723 # ifdef HAVE_STDLIB_H 724 # include <stdlib.h> 725 # endif 726 #endif 727 #ifdef HAVE_STRING_H 728 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H 729 # include <memory.h> 730 # endif 731 # include <string.h> 732 #endif 733 #ifdef HAVE_STRINGS_H 734 # include <strings.h> 735 #endif 736 #ifdef HAVE_INTTYPES_H 737 # include <inttypes.h> 738 #endif 739 #ifdef HAVE_STDINT_H 740 # include <stdint.h> 741 #endif 742 #ifdef HAVE_UNISTD_H 743 # include <unistd.h> 744 #endif" 745 746 ac_header_list= 747 ac_subst_vars='LTLIBOBJS 748 LIBOBJS 749 WITH_STACK_TRACE_FALSE 750 WITH_STACK_TRACE_TRUE 751 WITH_HEAP_PROFILER_OR_CHECKER_FALSE 752 WITH_HEAP_PROFILER_OR_CHECKER_TRUE 753 WITH_DEBUGALLOC_FALSE 754 WITH_DEBUGALLOC_TRUE 755 WITH_HEAP_CHECKER_FALSE 756 WITH_HEAP_CHECKER_TRUE 757 WITH_HEAP_PROFILER_FALSE 758 WITH_HEAP_PROFILER_TRUE 759 WITH_CPU_PROFILER_FALSE 760 WITH_CPU_PROFILER_TRUE 761 OSX_FALSE 762 OSX_TRUE 763 MINGW_FALSE 764 MINGW_TRUE 765 PTHREAD_CFLAGS 766 PTHREAD_LIBS 767 PTHREAD_CC 768 acx_pthread_config 769 LIBSTDCXX_LA_LINKER_FLAG 770 NANOSLEEP_LIBS 771 HAVE_W_NO_UNUSED_RESULT_FALSE 772 HAVE_W_NO_UNUSED_RESULT_TRUE 773 I386_FALSE 774 I386_TRUE 775 X86_64_AND_NO_FP_BY_DEFAULT_FALSE 776 X86_64_AND_NO_FP_BY_DEFAULT_TRUE 777 ENABLE_FRAME_POINTERS_FALSE 778 ENABLE_FRAME_POINTERS_TRUE 779 UNWIND_LIBS 780 ENABLE_STATIC_FALSE 781 ENABLE_STATIC_TRUE 782 ac_cv_have_struct_mallinfo 783 USE_LIBTOOL_FALSE 784 USE_LIBTOOL_TRUE 785 LIBTOOL_DEPS 786 CXXCPP 787 OTOOL64 788 OTOOL 789 LIPO 790 NMEDIT 791 DSYMUTIL 792 lt_ECHO 793 RANLIB 794 AR 795 OBJDUMP 796 LN_S 797 NM 798 ac_ct_DUMPBIN 799 DUMPBIN 800 LD 801 FGREP 802 EGREP 803 GREP 804 SED 805 LIBTOOL 806 HAVE_OBJCOPY_WEAKEN_FALSE 807 HAVE_OBJCOPY_WEAKEN_TRUE 808 OBJCOPY 809 GCC_FALSE 810 GCC_TRUE 811 CPP 812 am__fastdepCC_FALSE 813 am__fastdepCC_TRUE 814 CCDEPMODE 815 ac_ct_CC 816 CFLAGS 817 CC 818 am__fastdepCXX_FALSE 819 am__fastdepCXX_TRUE 820 CXXDEPMODE 821 AMDEPBACKSLASH 822 AMDEP_FALSE 823 AMDEP_TRUE 824 am__quote 825 am__include 826 DEPDIR 827 OBJEXT 828 EXEEXT 829 ac_ct_CXX 830 CPPFLAGS 831 LDFLAGS 832 CXXFLAGS 833 CXX 834 TC_VERSION_PATCH 835 TC_VERSION_MINOR 836 TC_VERSION_MAJOR 837 am__untar 838 am__tar 839 AMTAR 840 am__leading_dot 841 SET_MAKE 842 AWK 843 mkdir_p 844 MKDIR_P 845 INSTALL_STRIP_PROGRAM 846 STRIP 847 install_sh 848 MAKEINFO 849 AUTOHEADER 850 AUTOMAKE 851 AUTOCONF 852 ACLOCAL 853 VERSION 854 PACKAGE 855 CYGPATH_W 856 am__isrc 857 INSTALL_DATA 858 INSTALL_SCRIPT 859 INSTALL_PROGRAM 860 host_os 861 host_vendor 862 host_cpu 863 host 864 build_os 865 build_vendor 866 build_cpu 867 build 868 PROFILER_SO_VERSION 869 TCMALLOC_SO_VERSION 870 target_alias 871 host_alias 872 build_alias 873 LIBS 874 ECHO_T 875 ECHO_N 876 ECHO_C 877 DEFS 878 mandir 879 localedir 880 libdir 881 psdir 882 pdfdir 883 dvidir 884 htmldir 885 infodir 886 docdir 887 oldincludedir 888 includedir 889 localstatedir 890 sharedstatedir 891 sysconfdir 892 datadir 893 datarootdir 894 libexecdir 895 sbindir 896 bindir 897 program_transform_name 898 prefix 899 exec_prefix 900 PACKAGE_URL 901 PACKAGE_BUGREPORT 902 PACKAGE_STRING 903 PACKAGE_VERSION 904 PACKAGE_TARNAME 905 PACKAGE_NAME 906 PATH_SEPARATOR 907 SHELL' 908 ac_subst_files='' 909 ac_user_opts=' 910 enable_option_checking 911 enable_cpu_profiler 912 enable_heap_profiler 913 enable_heap_checker 914 enable_debugalloc 915 enable_minimal 916 enable_dependency_tracking 917 enable_fast_install 918 enable_shared 919 enable_static 920 with_pic 921 with_gnu_ld 922 enable_libtool_lock 923 enable_frame_pointers 924 ' 925 ac_precious_vars='build_alias 926 host_alias 927 target_alias 928 CXX 929 CXXFLAGS 930 LDFLAGS 931 LIBS 932 CPPFLAGS 933 CCC 934 CC 935 CFLAGS 936 CPP 937 CXXCPP' 938 939 940 # Initialize some variables set by options. 941 ac_init_help= 942 ac_init_version=false 943 ac_unrecognized_opts= 944 ac_unrecognized_sep= 945 # The variables have the same names as the options, with 946 # dashes changed to underlines. 947 cache_file=/dev/null 948 exec_prefix=NONE 949 no_create= 950 no_recursion= 951 prefix=NONE 952 program_prefix=NONE 953 program_suffix=NONE 954 program_transform_name=s,x,x, 955 silent= 956 site= 957 srcdir= 958 verbose= 959 x_includes=NONE 960 x_libraries=NONE 961 962 # Installation directory options. 963 # These are left unexpanded so users can "make install exec_prefix=/foo" 964 # and all the variables that are supposed to be based on exec_prefix 965 # by default will actually change. 966 # Use braces instead of parens because sh, perl, etc. also accept them. 967 # (The list follows the same order as the GNU Coding Standards.) 968 bindir='${exec_prefix}/bin' 969 sbindir='${exec_prefix}/sbin' 970 libexecdir='${exec_prefix}/libexec' 971 datarootdir='${prefix}/share' 972 datadir='${datarootdir}' 973 sysconfdir='${prefix}/etc' 974 sharedstatedir='${prefix}/com' 975 localstatedir='${prefix}/var' 976 includedir='${prefix}/include' 977 oldincludedir='/usr/include' 978 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 979 infodir='${datarootdir}/info' 980 htmldir='${docdir}' 981 dvidir='${docdir}' 982 pdfdir='${docdir}' 983 psdir='${docdir}' 984 libdir='${exec_prefix}/lib' 985 localedir='${datarootdir}/locale' 986 mandir='${datarootdir}/man' 987 988 ac_prev= 989 ac_dashdash= 990 for ac_option 991 do 992 # If the previous option needs an argument, assign it. 993 if test -n "$ac_prev"; then 994 eval $ac_prev=\$ac_option 995 ac_prev= 996 continue 997 fi 998 999 case $ac_option in 1000 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 1001 *) ac_optarg=yes ;; 1002 esac 1003 1004 # Accept the important Cygnus configure options, so we can diagnose typos. 1005 1006 case $ac_dashdash$ac_option in 1007 --) 1008 ac_dashdash=yes ;; 1009 1010 -bindir | --bindir | --bindi | --bind | --bin | --bi) 1011 ac_prev=bindir ;; 1012 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 1013 bindir=$ac_optarg ;; 1014 1015 -build | --build | --buil | --bui | --bu) 1016 ac_prev=build_alias ;; 1017 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 1018 build_alias=$ac_optarg ;; 1019 1020 -cache-file | --cache-file | --cache-fil | --cache-fi \ 1021 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 1022 ac_prev=cache_file ;; 1023 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 1024 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 1025 cache_file=$ac_optarg ;; 1026 1027 --config-cache | -C) 1028 cache_file=config.cache ;; 1029 1030 -datadir | --datadir | --datadi | --datad) 1031 ac_prev=datadir ;; 1032 -datadir=* | --datadir=* | --datadi=* | --datad=*) 1033 datadir=$ac_optarg ;; 1034 1035 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 1036 | --dataroo | --dataro | --datar) 1037 ac_prev=datarootdir ;; 1038 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 1039 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 1040 datarootdir=$ac_optarg ;; 1041 1042 -disable-* | --disable-*) 1043 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 1044 # Reject names that are not valid shell variable names. 1045 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1046 as_fn_error "invalid feature name: $ac_useropt" 1047 ac_useropt_orig=$ac_useropt 1048 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1049 case $ac_user_opts in 1050 *" 1051 "enable_$ac_useropt" 1052 "*) ;; 1053 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 1054 ac_unrecognized_sep=', ';; 1055 esac 1056 eval enable_$ac_useropt=no ;; 1057 1058 -docdir | --docdir | --docdi | --doc | --do) 1059 ac_prev=docdir ;; 1060 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 1061 docdir=$ac_optarg ;; 1062 1063 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 1064 ac_prev=dvidir ;; 1065 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 1066 dvidir=$ac_optarg ;; 1067 1068 -enable-* | --enable-*) 1069 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 1070 # Reject names that are not valid shell variable names. 1071 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1072 as_fn_error "invalid feature name: $ac_useropt" 1073 ac_useropt_orig=$ac_useropt 1074 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1075 case $ac_user_opts in 1076 *" 1077 "enable_$ac_useropt" 1078 "*) ;; 1079 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 1080 ac_unrecognized_sep=', ';; 1081 esac 1082 eval enable_$ac_useropt=\$ac_optarg ;; 1083 1084 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 1085 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 1086 | --exec | --exe | --ex) 1087 ac_prev=exec_prefix ;; 1088 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 1089 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 1090 | --exec=* | --exe=* | --ex=*) 1091 exec_prefix=$ac_optarg ;; 1092 1093 -gas | --gas | --ga | --g) 1094 # Obsolete; use --with-gas. 1095 with_gas=yes ;; 1096 1097 -help | --help | --hel | --he | -h) 1098 ac_init_help=long ;; 1099 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 1100 ac_init_help=recursive ;; 1101 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 1102 ac_init_help=short ;; 1103 1104 -host | --host | --hos | --ho) 1105 ac_prev=host_alias ;; 1106 -host=* | --host=* | --hos=* | --ho=*) 1107 host_alias=$ac_optarg ;; 1108 1109 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 1110 ac_prev=htmldir ;; 1111 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 1112 | --ht=*) 1113 htmldir=$ac_optarg ;; 1114 1115 -includedir | --includedir | --includedi | --included | --include \ 1116 | --includ | --inclu | --incl | --inc) 1117 ac_prev=includedir ;; 1118 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 1119 | --includ=* | --inclu=* | --incl=* | --inc=*) 1120 includedir=$ac_optarg ;; 1121 1122 -infodir | --infodir | --infodi | --infod | --info | --inf) 1123 ac_prev=infodir ;; 1124 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 1125 infodir=$ac_optarg ;; 1126 1127 -libdir | --libdir | --libdi | --libd) 1128 ac_prev=libdir ;; 1129 -libdir=* | --libdir=* | --libdi=* | --libd=*) 1130 libdir=$ac_optarg ;; 1131 1132 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1133 | --libexe | --libex | --libe) 1134 ac_prev=libexecdir ;; 1135 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1136 | --libexe=* | --libex=* | --libe=*) 1137 libexecdir=$ac_optarg ;; 1138 1139 -localedir | --localedir | --localedi | --localed | --locale) 1140 ac_prev=localedir ;; 1141 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1142 localedir=$ac_optarg ;; 1143 1144 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1145 | --localstate | --localstat | --localsta | --localst | --locals) 1146 ac_prev=localstatedir ;; 1147 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1148 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1149 localstatedir=$ac_optarg ;; 1150 1151 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1152 ac_prev=mandir ;; 1153 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1154 mandir=$ac_optarg ;; 1155 1156 -nfp | --nfp | --nf) 1157 # Obsolete; use --without-fp. 1158 with_fp=no ;; 1159 1160 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1161 | --no-cr | --no-c | -n) 1162 no_create=yes ;; 1163 1164 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1165 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1166 no_recursion=yes ;; 1167 1168 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1169 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1170 | --oldin | --oldi | --old | --ol | --o) 1171 ac_prev=oldincludedir ;; 1172 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1173 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1174 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1175 oldincludedir=$ac_optarg ;; 1176 1177 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1178 ac_prev=prefix ;; 1179 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1180 prefix=$ac_optarg ;; 1181 1182 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1183 | --program-pre | --program-pr | --program-p) 1184 ac_prev=program_prefix ;; 1185 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1186 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1187 program_prefix=$ac_optarg ;; 1188 1189 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1190 | --program-suf | --program-su | --program-s) 1191 ac_prev=program_suffix ;; 1192 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1193 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1194 program_suffix=$ac_optarg ;; 1195 1196 -program-transform-name | --program-transform-name \ 1197 | --program-transform-nam | --program-transform-na \ 1198 | --program-transform-n | --program-transform- \ 1199 | --program-transform | --program-transfor \ 1200 | --program-transfo | --program-transf \ 1201 | --program-trans | --program-tran \ 1202 | --progr-tra | --program-tr | --program-t) 1203 ac_prev=program_transform_name ;; 1204 -program-transform-name=* | --program-transform-name=* \ 1205 | --program-transform-nam=* | --program-transform-na=* \ 1206 | --program-transform-n=* | --program-transform-=* \ 1207 | --program-transform=* | --program-transfor=* \ 1208 | --program-transfo=* | --program-transf=* \ 1209 | --program-trans=* | --program-tran=* \ 1210 | --progr-tra=* | --program-tr=* | --program-t=*) 1211 program_transform_name=$ac_optarg ;; 1212 1213 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1214 ac_prev=pdfdir ;; 1215 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1216 pdfdir=$ac_optarg ;; 1217 1218 -psdir | --psdir | --psdi | --psd | --ps) 1219 ac_prev=psdir ;; 1220 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1221 psdir=$ac_optarg ;; 1222 1223 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1224 | -silent | --silent | --silen | --sile | --sil) 1225 silent=yes ;; 1226 1227 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1228 ac_prev=sbindir ;; 1229 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1230 | --sbi=* | --sb=*) 1231 sbindir=$ac_optarg ;; 1232 1233 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1234 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1235 | --sharedst | --shareds | --shared | --share | --shar \ 1236 | --sha | --sh) 1237 ac_prev=sharedstatedir ;; 1238 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1239 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1240 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1241 | --sha=* | --sh=*) 1242 sharedstatedir=$ac_optarg ;; 1243 1244 -site | --site | --sit) 1245 ac_prev=site ;; 1246 -site=* | --site=* | --sit=*) 1247 site=$ac_optarg ;; 1248 1249 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1250 ac_prev=srcdir ;; 1251 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1252 srcdir=$ac_optarg ;; 1253 1254 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1255 | --syscon | --sysco | --sysc | --sys | --sy) 1256 ac_prev=sysconfdir ;; 1257 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1258 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1259 sysconfdir=$ac_optarg ;; 1260 1261 -target | --target | --targe | --targ | --tar | --ta | --t) 1262 ac_prev=target_alias ;; 1263 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1264 target_alias=$ac_optarg ;; 1265 1266 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1267 verbose=yes ;; 1268 1269 -version | --version | --versio | --versi | --vers | -V) 1270 ac_init_version=: ;; 1271 1272 -with-* | --with-*) 1273 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1274 # Reject names that are not valid shell variable names. 1275 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1276 as_fn_error "invalid package name: $ac_useropt" 1277 ac_useropt_orig=$ac_useropt 1278 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1279 case $ac_user_opts in 1280 *" 1281 "with_$ac_useropt" 1282 "*) ;; 1283 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1284 ac_unrecognized_sep=', ';; 1285 esac 1286 eval with_$ac_useropt=\$ac_optarg ;; 1287 1288 -without-* | --without-*) 1289 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1290 # Reject names that are not valid shell variable names. 1291 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1292 as_fn_error "invalid package name: $ac_useropt" 1293 ac_useropt_orig=$ac_useropt 1294 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1295 case $ac_user_opts in 1296 *" 1297 "with_$ac_useropt" 1298 "*) ;; 1299 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1300 ac_unrecognized_sep=', ';; 1301 esac 1302 eval with_$ac_useropt=no ;; 1303 1304 --x) 1305 # Obsolete; use --with-x. 1306 with_x=yes ;; 1307 1308 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1309 | --x-incl | --x-inc | --x-in | --x-i) 1310 ac_prev=x_includes ;; 1311 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1312 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1313 x_includes=$ac_optarg ;; 1314 1315 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1316 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1317 ac_prev=x_libraries ;; 1318 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1319 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1320 x_libraries=$ac_optarg ;; 1321 1322 -*) as_fn_error "unrecognized option: \`$ac_option' 1323 Try \`$0 --help' for more information." 1324 ;; 1325 1326 *=*) 1327 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1328 # Reject names that are not valid shell variable names. 1329 case $ac_envvar in #( 1330 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1331 as_fn_error "invalid variable name: \`$ac_envvar'" ;; 1332 esac 1333 eval $ac_envvar=\$ac_optarg 1334 export $ac_envvar ;; 1335 1336 *) 1337 # FIXME: should be removed in autoconf 3.0. 1338 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1339 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1340 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1341 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1342 ;; 1343 1344 esac 1345 done 1346 1347 if test -n "$ac_prev"; then 1348 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1349 as_fn_error "missing argument to $ac_option" 1350 fi 1351 1352 if test -n "$ac_unrecognized_opts"; then 1353 case $enable_option_checking in 1354 no) ;; 1355 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; 1356 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1357 esac 1358 fi 1359 1360 # Check all directory arguments for consistency. 1361 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1362 datadir sysconfdir sharedstatedir localstatedir includedir \ 1363 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1364 libdir localedir mandir 1365 do 1366 eval ac_val=\$$ac_var 1367 # Remove trailing slashes. 1368 case $ac_val in 1369 */ ) 1370 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1371 eval $ac_var=\$ac_val;; 1372 esac 1373 # Be sure to have absolute directory names. 1374 case $ac_val in 1375 [\\/$]* | ?:[\\/]* ) continue;; 1376 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1377 esac 1378 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" 1379 done 1380 1381 # There might be people who depend on the old broken behavior: `$host' 1382 # used to hold the argument of --host etc. 1383 # FIXME: To remove some day. 1384 build=$build_alias 1385 host=$host_alias 1386 target=$target_alias 1387 1388 # FIXME: To remove some day. 1389 if test "x$host_alias" != x; then 1390 if test "x$build_alias" = x; then 1391 cross_compiling=maybe 1392 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1393 If a cross compiler is detected then cross compile mode will be used." >&2 1394 elif test "x$build_alias" != "x$host_alias"; then 1395 cross_compiling=yes 1396 fi 1397 fi 1398 1399 ac_tool_prefix= 1400 test -n "$host_alias" && ac_tool_prefix=$host_alias- 1401 1402 test "$silent" = yes && exec 6>/dev/null 1403 1404 1405 ac_pwd=`pwd` && test -n "$ac_pwd" && 1406 ac_ls_di=`ls -di .` && 1407 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1408 as_fn_error "working directory cannot be determined" 1409 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1410 as_fn_error "pwd does not report name of working directory" 1411 1412 1413 # Find the source files, if location was not specified. 1414 if test -z "$srcdir"; then 1415 ac_srcdir_defaulted=yes 1416 # Try the directory containing this script, then the parent directory. 1417 ac_confdir=`$as_dirname -- "$as_myself" || 1418 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1419 X"$as_myself" : 'X\(//\)[^/]' \| \ 1420 X"$as_myself" : 'X\(//\)$' \| \ 1421 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1422 $as_echo X"$as_myself" | 1423 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1424 s//\1/ 1425 q 1426 } 1427 /^X\(\/\/\)[^/].*/{ 1428 s//\1/ 1429 q 1430 } 1431 /^X\(\/\/\)$/{ 1432 s//\1/ 1433 q 1434 } 1435 /^X\(\/\).*/{ 1436 s//\1/ 1437 q 1438 } 1439 s/.*/./; q'` 1440 srcdir=$ac_confdir 1441 if test ! -r "$srcdir/$ac_unique_file"; then 1442 srcdir=.. 1443 fi 1444 else 1445 ac_srcdir_defaulted=no 1446 fi 1447 if test ! -r "$srcdir/$ac_unique_file"; then 1448 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1449 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" 1450 fi 1451 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1452 ac_abs_confdir=`( 1453 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" 1454 pwd)` 1455 # When building in place, set srcdir=. 1456 if test "$ac_abs_confdir" = "$ac_pwd"; then 1457 srcdir=. 1458 fi 1459 # Remove unnecessary trailing slashes from srcdir. 1460 # Double slashes in file names in object file debugging info 1461 # mess up M-x gdb in Emacs. 1462 case $srcdir in 1463 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1464 esac 1465 for ac_var in $ac_precious_vars; do 1466 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1467 eval ac_env_${ac_var}_value=\$${ac_var} 1468 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1469 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1470 done 1471 1472 # 1473 # Report the --help message. 1474 # 1475 if test "$ac_init_help" = "long"; then 1476 # Omit some internal or obsolete options to make the list less imposing. 1477 # This message is too long to be a string in the A/UX 3.1 sh. 1478 cat <<_ACEOF 1479 \`configure' configures gperftools 2.0 to adapt to many kinds of systems. 1480 1481 Usage: $0 [OPTION]... [VAR=VALUE]... 1482 1483 To assign environment variables (e.g., CC, CFLAGS...), specify them as 1484 VAR=VALUE. See below for descriptions of some of the useful variables. 1485 1486 Defaults for the options are specified in brackets. 1487 1488 Configuration: 1489 -h, --help display this help and exit 1490 --help=short display options specific to this package 1491 --help=recursive display the short help of all the included packages 1492 -V, --version display version information and exit 1493 -q, --quiet, --silent do not print \`checking...' messages 1494 --cache-file=FILE cache test results in FILE [disabled] 1495 -C, --config-cache alias for \`--cache-file=config.cache' 1496 -n, --no-create do not create output files 1497 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1498 1499 Installation directories: 1500 --prefix=PREFIX install architecture-independent files in PREFIX 1501 [$ac_default_prefix] 1502 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1503 [PREFIX] 1504 1505 By default, \`make install' will install all the files in 1506 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1507 an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1508 for instance \`--prefix=\$HOME'. 1509 1510 For better control, use the options below. 1511 1512 Fine tuning of the installation directories: 1513 --bindir=DIR user executables [EPREFIX/bin] 1514 --sbindir=DIR system admin executables [EPREFIX/sbin] 1515 --libexecdir=DIR program executables [EPREFIX/libexec] 1516 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1517 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1518 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1519 --libdir=DIR object code libraries [EPREFIX/lib] 1520 --includedir=DIR C header files [PREFIX/include] 1521 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1522 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1523 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1524 --infodir=DIR info documentation [DATAROOTDIR/info] 1525 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1526 --mandir=DIR man documentation [DATAROOTDIR/man] 1527 --docdir=DIR documentation root [DATAROOTDIR/doc/gperftools] 1528 --htmldir=DIR html documentation [DOCDIR] 1529 --dvidir=DIR dvi documentation [DOCDIR] 1530 --pdfdir=DIR pdf documentation [DOCDIR] 1531 --psdir=DIR ps documentation [DOCDIR] 1532 _ACEOF 1533 1534 cat <<\_ACEOF 1535 1536 Program names: 1537 --program-prefix=PREFIX prepend PREFIX to installed program names 1538 --program-suffix=SUFFIX append SUFFIX to installed program names 1539 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1540 1541 System types: 1542 --build=BUILD configure for building on BUILD [guessed] 1543 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1544 _ACEOF 1545 fi 1546 1547 if test -n "$ac_init_help"; then 1548 case $ac_init_help in 1549 short | recursive ) echo "Configuration of gperftools 2.0:";; 1550 esac 1551 cat <<\_ACEOF 1552 1553 Optional Features: 1554 --disable-option-checking ignore unrecognized --enable/--with options 1555 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1556 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1557 --disable-cpu-profiler do not build the cpu profiler 1558 --disable-heap-profiler do not build the heap profiler 1559 --disable-heap-checker do not build the heap checker 1560 --disable-debugalloc do not build versions of libs with debugalloc 1561 --enable-minimal build only tcmalloc-minimal (and maybe 1562 tcmalloc-minimal-debug) 1563 --disable-dependency-tracking speeds up one-time build 1564 --enable-dependency-tracking do not reject slow dependency extractors 1565 --enable-fast-install[=PKGS] 1566 optimize for fast installation [default=no] 1567 --enable-shared[=PKGS] build shared libraries [default=yes] 1568 --enable-static[=PKGS] build static libraries [default=yes] 1569 --disable-libtool-lock avoid locking (might break parallel builds) 1570 --enable-frame-pointers On x86_64 systems, compile with 1571 -fno-omit-frame-pointer (see INSTALL) 1572 1573 Optional Packages: 1574 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1575 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1576 --with-pic try to use only PIC/non-PIC objects [default=use 1577 both] 1578 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1579 1580 Some influential environment variables: 1581 CXX C++ compiler command 1582 CXXFLAGS C++ compiler flags 1583 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1584 nonstandard directory <lib dir> 1585 LIBS libraries to pass to the linker, e.g. -l<library> 1586 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1587 you have headers in a nonstandard directory <include dir> 1588 CC C compiler command 1589 CFLAGS C compiler flags 1590 CPP C preprocessor 1591 CXXCPP C++ preprocessor 1592 1593 Use these variables to override the choices made by `configure' or to help 1594 it to find libraries and programs with nonstandard names/locations. 1595 1596 Report bugs to <google-perftools@googlegroups.com>. 1597 _ACEOF 1598 ac_status=$? 1599 fi 1600 1601 if test "$ac_init_help" = "recursive"; then 1602 # If there are subdirs, report their specific --help. 1603 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1604 test -d "$ac_dir" || 1605 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1606 continue 1607 ac_builddir=. 1608 1609 case "$ac_dir" in 1610 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1611 *) 1612 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1613 # A ".." for each directory in $ac_dir_suffix. 1614 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1615 case $ac_top_builddir_sub in 1616 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1617 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1618 esac ;; 1619 esac 1620 ac_abs_top_builddir=$ac_pwd 1621 ac_abs_builddir=$ac_pwd$ac_dir_suffix 1622 # for backward compatibility: 1623 ac_top_builddir=$ac_top_build_prefix 1624 1625 case $srcdir in 1626 .) # We are building in place. 1627 ac_srcdir=. 1628 ac_top_srcdir=$ac_top_builddir_sub 1629 ac_abs_top_srcdir=$ac_pwd ;; 1630 [\\/]* | ?:[\\/]* ) # Absolute name. 1631 ac_srcdir=$srcdir$ac_dir_suffix; 1632 ac_top_srcdir=$srcdir 1633 ac_abs_top_srcdir=$srcdir ;; 1634 *) # Relative name. 1635 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1636 ac_top_srcdir=$ac_top_build_prefix$srcdir 1637 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1638 esac 1639 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1640 1641 cd "$ac_dir" || { ac_status=$?; continue; } 1642 # Check for guested configure. 1643 if test -f "$ac_srcdir/configure.gnu"; then 1644 echo && 1645 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1646 elif test -f "$ac_srcdir/configure"; then 1647 echo && 1648 $SHELL "$ac_srcdir/configure" --help=recursive 1649 else 1650 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1651 fi || ac_status=$? 1652 cd "$ac_pwd" || { ac_status=$?; break; } 1653 done 1654 fi 1655 1656 test -n "$ac_init_help" && exit $ac_status 1657 if $ac_init_version; then 1658 cat <<\_ACEOF 1659 gperftools configure 2.0 1660 generated by GNU Autoconf 2.65 1661 1662 Copyright (C) 2009 Free Software Foundation, Inc. 1663 This configure script is free software; the Free Software Foundation 1664 gives unlimited permission to copy, distribute and modify it. 1665 _ACEOF 1666 exit 1667 fi 1668 1669 ## ------------------------ ## 1670 ## Autoconf initialization. ## 1671 ## ------------------------ ## 1672 1673 # ac_fn_cxx_try_compile LINENO 1674 # ---------------------------- 1675 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1676 ac_fn_cxx_try_compile () 1677 { 1678 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1679 rm -f conftest.$ac_objext 1680 if { { ac_try="$ac_compile" 1681 case "(($ac_try" in 1682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1683 *) ac_try_echo=$ac_try;; 1684 esac 1685 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1686 $as_echo "$ac_try_echo"; } >&5 1687 (eval "$ac_compile") 2>conftest.err 1688 ac_status=$? 1689 if test -s conftest.err; then 1690 grep -v '^ *+' conftest.err >conftest.er1 1691 cat conftest.er1 >&5 1692 mv -f conftest.er1 conftest.err 1693 fi 1694 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1695 test $ac_status = 0; } && { 1696 test -z "$ac_cxx_werror_flag" || 1697 test ! -s conftest.err 1698 } && test -s conftest.$ac_objext; then : 1699 ac_retval=0 1700 else 1701 $as_echo "$as_me: failed program was:" >&5 1702 sed 's/^/| /' conftest.$ac_ext >&5 1703 1704 ac_retval=1 1705 fi 1706 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1707 as_fn_set_status $ac_retval 1708 1709 } # ac_fn_cxx_try_compile 1710 1711 # ac_fn_c_try_compile LINENO 1712 # -------------------------- 1713 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1714 ac_fn_c_try_compile () 1715 { 1716 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1717 rm -f conftest.$ac_objext 1718 if { { ac_try="$ac_compile" 1719 case "(($ac_try" in 1720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1721 *) ac_try_echo=$ac_try;; 1722 esac 1723 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1724 $as_echo "$ac_try_echo"; } >&5 1725 (eval "$ac_compile") 2>conftest.err 1726 ac_status=$? 1727 if test -s conftest.err; then 1728 grep -v '^ *+' conftest.err >conftest.er1 1729 cat conftest.er1 >&5 1730 mv -f conftest.er1 conftest.err 1731 fi 1732 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1733 test $ac_status = 0; } && { 1734 test -z "$ac_c_werror_flag" || 1735 test ! -s conftest.err 1736 } && test -s conftest.$ac_objext; then : 1737 ac_retval=0 1738 else 1739 $as_echo "$as_me: failed program was:" >&5 1740 sed 's/^/| /' conftest.$ac_ext >&5 1741 1742 ac_retval=1 1743 fi 1744 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1745 as_fn_set_status $ac_retval 1746 1747 } # ac_fn_c_try_compile 1748 1749 # ac_fn_c_try_cpp LINENO 1750 # ---------------------- 1751 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1752 ac_fn_c_try_cpp () 1753 { 1754 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1755 if { { ac_try="$ac_cpp conftest.$ac_ext" 1756 case "(($ac_try" in 1757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1758 *) ac_try_echo=$ac_try;; 1759 esac 1760 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1761 $as_echo "$ac_try_echo"; } >&5 1762 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1763 ac_status=$? 1764 if test -s conftest.err; then 1765 grep -v '^ *+' conftest.err >conftest.er1 1766 cat conftest.er1 >&5 1767 mv -f conftest.er1 conftest.err 1768 fi 1769 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1770 test $ac_status = 0; } >/dev/null && { 1771 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1772 test ! -s conftest.err 1773 }; then : 1774 ac_retval=0 1775 else 1776 $as_echo "$as_me: failed program was:" >&5 1777 sed 's/^/| /' conftest.$ac_ext >&5 1778 1779 ac_retval=1 1780 fi 1781 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1782 as_fn_set_status $ac_retval 1783 1784 } # ac_fn_c_try_cpp 1785 1786 # ac_fn_c_try_link LINENO 1787 # ----------------------- 1788 # Try to link conftest.$ac_ext, and return whether this succeeded. 1789 ac_fn_c_try_link () 1790 { 1791 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1792 rm -f conftest.$ac_objext conftest$ac_exeext 1793 if { { ac_try="$ac_link" 1794 case "(($ac_try" in 1795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1796 *) ac_try_echo=$ac_try;; 1797 esac 1798 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1799 $as_echo "$ac_try_echo"; } >&5 1800 (eval "$ac_link") 2>conftest.err 1801 ac_status=$? 1802 if test -s conftest.err; then 1803 grep -v '^ *+' conftest.err >conftest.er1 1804 cat conftest.er1 >&5 1805 mv -f conftest.er1 conftest.err 1806 fi 1807 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1808 test $ac_status = 0; } && { 1809 test -z "$ac_c_werror_flag" || 1810 test ! -s conftest.err 1811 } && test -s conftest$ac_exeext && { 1812 test "$cross_compiling" = yes || 1813 $as_test_x conftest$ac_exeext 1814 }; then : 1815 ac_retval=0 1816 else 1817 $as_echo "$as_me: failed program was:" >&5 1818 sed 's/^/| /' conftest.$ac_ext >&5 1819 1820 ac_retval=1 1821 fi 1822 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1823 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1824 # interfere with the next link command; also delete a directory that is 1825 # left behind by Apple's compiler. We do this before executing the actions. 1826 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1827 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1828 as_fn_set_status $ac_retval 1829 1830 } # ac_fn_c_try_link 1831 1832 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1833 # ------------------------------------------------------- 1834 # Tests whether HEADER exists and can be compiled using the include files in 1835 # INCLUDES, setting the cache variable VAR accordingly. 1836 ac_fn_c_check_header_compile () 1837 { 1838 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1840 $as_echo_n "checking for $2... " >&6; } 1841 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1842 $as_echo_n "(cached) " >&6 1843 else 1844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1845 /* end confdefs.h. */ 1846 $4 1847 #include <$2> 1848 _ACEOF 1849 if ac_fn_c_try_compile "$LINENO"; then : 1850 eval "$3=yes" 1851 else 1852 eval "$3=no" 1853 fi 1854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1855 fi 1856 eval ac_res=\$$3 1857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1858 $as_echo "$ac_res" >&6; } 1859 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1860 1861 } # ac_fn_c_check_header_compile 1862 1863 # ac_fn_c_try_run LINENO 1864 # ---------------------- 1865 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1866 # that executables *can* be run. 1867 ac_fn_c_try_run () 1868 { 1869 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1870 if { { ac_try="$ac_link" 1871 case "(($ac_try" in 1872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1873 *) ac_try_echo=$ac_try;; 1874 esac 1875 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1876 $as_echo "$ac_try_echo"; } >&5 1877 (eval "$ac_link") 2>&5 1878 ac_status=$? 1879 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1880 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1881 { { case "(($ac_try" in 1882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1883 *) ac_try_echo=$ac_try;; 1884 esac 1885 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1886 $as_echo "$ac_try_echo"; } >&5 1887 (eval "$ac_try") 2>&5 1888 ac_status=$? 1889 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1890 test $ac_status = 0; }; }; then : 1891 ac_retval=0 1892 else 1893 $as_echo "$as_me: program exited with status $ac_status" >&5 1894 $as_echo "$as_me: failed program was:" >&5 1895 sed 's/^/| /' conftest.$ac_ext >&5 1896 1897 ac_retval=$ac_status 1898 fi 1899 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1900 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1901 as_fn_set_status $ac_retval 1902 1903 } # ac_fn_c_try_run 1904 1905 # ac_fn_c_check_func LINENO FUNC VAR 1906 # ---------------------------------- 1907 # Tests whether FUNC exists, setting the cache variable VAR accordingly 1908 ac_fn_c_check_func () 1909 { 1910 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1912 $as_echo_n "checking for $2... " >&6; } 1913 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1914 $as_echo_n "(cached) " >&6 1915 else 1916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1917 /* end confdefs.h. */ 1918 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1919 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1920 #define $2 innocuous_$2 1921 1922 /* System header to define __stub macros and hopefully few prototypes, 1923 which can conflict with char $2 (); below. 1924 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1925 <limits.h> exists even on freestanding compilers. */ 1926 1927 #ifdef __STDC__ 1928 # include <limits.h> 1929 #else 1930 # include <assert.h> 1931 #endif 1932 1933 #undef $2 1934 1935 /* Override any GCC internal prototype to avoid an error. 1936 Use char because int might match the return type of a GCC 1937 builtin and then its argument prototype would still apply. */ 1938 #ifdef __cplusplus 1939 extern "C" 1940 #endif 1941 char $2 (); 1942 /* The GNU C library defines this for functions which it implements 1943 to always fail with ENOSYS. Some functions are actually named 1944 something starting with __ and the normal name is an alias. */ 1945 #if defined __stub_$2 || defined __stub___$2 1946 choke me 1947 #endif 1948 1949 int 1950 main () 1951 { 1952 return $2 (); 1953 ; 1954 return 0; 1955 } 1956 _ACEOF 1957 if ac_fn_c_try_link "$LINENO"; then : 1958 eval "$3=yes" 1959 else 1960 eval "$3=no" 1961 fi 1962 rm -f core conftest.err conftest.$ac_objext \ 1963 conftest$ac_exeext conftest.$ac_ext 1964 fi 1965 eval ac_res=\$$3 1966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1967 $as_echo "$ac_res" >&6; } 1968 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1969 1970 } # ac_fn_c_check_func 1971 1972 # ac_fn_cxx_try_cpp LINENO 1973 # ------------------------ 1974 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1975 ac_fn_cxx_try_cpp () 1976 { 1977 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1978 if { { ac_try="$ac_cpp conftest.$ac_ext" 1979 case "(($ac_try" in 1980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1981 *) ac_try_echo=$ac_try;; 1982 esac 1983 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1984 $as_echo "$ac_try_echo"; } >&5 1985 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1986 ac_status=$? 1987 if test -s conftest.err; then 1988 grep -v '^ *+' conftest.err >conftest.er1 1989 cat conftest.er1 >&5 1990 mv -f conftest.er1 conftest.err 1991 fi 1992 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1993 test $ac_status = 0; } >/dev/null && { 1994 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 1995 test ! -s conftest.err 1996 }; then : 1997 ac_retval=0 1998 else 1999 $as_echo "$as_me: failed program was:" >&5 2000 sed 's/^/| /' conftest.$ac_ext >&5 2001 2002 ac_retval=1 2003 fi 2004 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2005 as_fn_set_status $ac_retval 2006 2007 } # ac_fn_cxx_try_cpp 2008 2009 # ac_fn_cxx_try_link LINENO 2010 # ------------------------- 2011 # Try to link conftest.$ac_ext, and return whether this succeeded. 2012 ac_fn_cxx_try_link () 2013 { 2014 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2015 rm -f conftest.$ac_objext conftest$ac_exeext 2016 if { { ac_try="$ac_link" 2017 case "(($ac_try" in 2018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2019 *) ac_try_echo=$ac_try;; 2020 esac 2021 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2022 $as_echo "$ac_try_echo"; } >&5 2023 (eval "$ac_link") 2>conftest.err 2024 ac_status=$? 2025 if test -s conftest.err; then 2026 grep -v '^ *+' conftest.err >conftest.er1 2027 cat conftest.er1 >&5 2028 mv -f conftest.er1 conftest.err 2029 fi 2030 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2031 test $ac_status = 0; } && { 2032 test -z "$ac_cxx_werror_flag" || 2033 test ! -s conftest.err 2034 } && test -s conftest$ac_exeext && { 2035 test "$cross_compiling" = yes || 2036 $as_test_x conftest$ac_exeext 2037 }; then : 2038 ac_retval=0 2039 else 2040 $as_echo "$as_me: failed program was:" >&5 2041 sed 's/^/| /' conftest.$ac_ext >&5 2042 2043 ac_retval=1 2044 fi 2045 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 2046 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 2047 # interfere with the next link command; also delete a directory that is 2048 # left behind by Apple's compiler. We do this before executing the actions. 2049 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2050 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2051 as_fn_set_status $ac_retval 2052 2053 } # ac_fn_cxx_try_link 2054 2055 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES 2056 # ------------------------------------------- 2057 # Tests whether TYPE exists after having included INCLUDES, setting cache 2058 # variable VAR accordingly. 2059 ac_fn_c_check_type () 2060 { 2061 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2063 $as_echo_n "checking for $2... " >&6; } 2064 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 2065 $as_echo_n "(cached) " >&6 2066 else 2067 eval "$3=no" 2068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2069 /* end confdefs.h. */ 2070 $4 2071 int 2072 main () 2073 { 2074 if (sizeof ($2)) 2075 return 0; 2076 ; 2077 return 0; 2078 } 2079 _ACEOF 2080 if ac_fn_c_try_compile "$LINENO"; then : 2081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2082 /* end confdefs.h. */ 2083 $4 2084 int 2085 main () 2086 { 2087 if (sizeof (($2))) 2088 return 0; 2089 ; 2090 return 0; 2091 } 2092 _ACEOF 2093 if ac_fn_c_try_compile "$LINENO"; then : 2094 2095 else 2096 eval "$3=yes" 2097 fi 2098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2099 fi 2100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2101 fi 2102 eval ac_res=\$$3 2103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2104 $as_echo "$ac_res" >&6; } 2105 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2106 2107 } # ac_fn_c_check_type 2108 2109 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 2110 # ------------------------------------------------------- 2111 # Tests whether HEADER exists, giving a warning if it cannot be compiled using 2112 # the include files in INCLUDES and setting the cache variable VAR 2113 # accordingly. 2114 ac_fn_c_check_header_mongrel () 2115 { 2116 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2117 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 2118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2119 $as_echo_n "checking for $2... " >&6; } 2120 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 2121 $as_echo_n "(cached) " >&6 2122 fi 2123 eval ac_res=\$$3 2124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2125 $as_echo "$ac_res" >&6; } 2126 else 2127 # Is the header compilable? 2128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 2129 $as_echo_n "checking $2 usability... " >&6; } 2130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2131 /* end confdefs.h. */ 2132 $4 2133 #include <$2> 2134 _ACEOF 2135 if ac_fn_c_try_compile "$LINENO"; then : 2136 ac_header_compiler=yes 2137 else 2138 ac_header_compiler=no 2139 fi 2140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 2142 $as_echo "$ac_header_compiler" >&6; } 2143 2144 # Is the header present? 2145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 2146 $as_echo_n "checking $2 presence... " >&6; } 2147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2148 /* end confdefs.h. */ 2149 #include <$2> 2150 _ACEOF 2151 if ac_fn_c_try_cpp "$LINENO"; then : 2152 ac_header_preproc=yes 2153 else 2154 ac_header_preproc=no 2155 fi 2156 rm -f conftest.err conftest.$ac_ext 2157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 2158 $as_echo "$ac_header_preproc" >&6; } 2159 2160 # So? What about this header? 2161 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 2162 yes:no: ) 2163 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 2164 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 2165 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2166 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2167 ;; 2168 no:yes:* ) 2169 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 2170 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 2171 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 2172 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 2173 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 2174 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 2175 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 2176 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 2177 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2178 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2179 ( cat <<\_ASBOX 2180 ## ------------------------------------------------ ## 2181 ## Report this to google-perftools (at] googlegroups.com ## 2182 ## ------------------------------------------------ ## 2183 _ASBOX 2184 ) | sed "s/^/$as_me: WARNING: /" >&2 2185 ;; 2186 esac 2187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2188 $as_echo_n "checking for $2... " >&6; } 2189 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 2190 $as_echo_n "(cached) " >&6 2191 else 2192 eval "$3=\$ac_header_compiler" 2193 fi 2194 eval ac_res=\$$3 2195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2196 $as_echo "$ac_res" >&6; } 2197 fi 2198 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2199 2200 } # ac_fn_c_check_header_mongrel 2201 2202 # ac_fn_c_check_decl LINENO SYMBOL VAR 2203 # ------------------------------------ 2204 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly. 2205 ac_fn_c_check_decl () 2206 { 2207 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5 2209 $as_echo_n "checking whether $2 is declared... " >&6; } 2210 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 2211 $as_echo_n "(cached) " >&6 2212 else 2213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2214 /* end confdefs.h. */ 2215 $4 2216 int 2217 main () 2218 { 2219 #ifndef $2 2220 (void) $2; 2221 #endif 2222 2223 ; 2224 return 0; 2225 } 2226 _ACEOF 2227 if ac_fn_c_try_compile "$LINENO"; then : 2228 eval "$3=yes" 2229 else 2230 eval "$3=no" 2231 fi 2232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2233 fi 2234 eval ac_res=\$$3 2235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2236 $as_echo "$ac_res" >&6; } 2237 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2238 2239 } # ac_fn_c_check_decl 2240 cat >config.log <<_ACEOF 2241 This file contains any messages produced by compilers while 2242 running configure, to aid debugging if configure makes a mistake. 2243 2244 It was created by gperftools $as_me 2.0, which was 2245 generated by GNU Autoconf 2.65. Invocation command line was 2246 2247 $ $0 $@ 2248 2249 _ACEOF 2250 exec 5>>config.log 2251 { 2252 cat <<_ASUNAME 2253 ## --------- ## 2254 ## Platform. ## 2255 ## --------- ## 2256 2257 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 2258 uname -m = `(uname -m) 2>/dev/null || echo unknown` 2259 uname -r = `(uname -r) 2>/dev/null || echo unknown` 2260 uname -s = `(uname -s) 2>/dev/null || echo unknown` 2261 uname -v = `(uname -v) 2>/dev/null || echo unknown` 2262 2263 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 2264 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 2265 2266 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 2267 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 2268 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 2269 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 2270 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 2271 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 2272 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 2273 2274 _ASUNAME 2275 2276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2277 for as_dir in $PATH 2278 do 2279 IFS=$as_save_IFS 2280 test -z "$as_dir" && as_dir=. 2281 $as_echo "PATH: $as_dir" 2282 done 2283 IFS=$as_save_IFS 2284 2285 } >&5 2286 2287 cat >&5 <<_ACEOF 2288 2289 2290 ## ----------- ## 2291 ## Core tests. ## 2292 ## ----------- ## 2293 2294 _ACEOF 2295 2296 2297 # Keep a trace of the command line. 2298 # Strip out --no-create and --no-recursion so they do not pile up. 2299 # Strip out --silent because we don't want to record it for future runs. 2300 # Also quote any args containing shell meta-characters. 2301 # Make two passes to allow for proper duplicate-argument suppression. 2302 ac_configure_args= 2303 ac_configure_args0= 2304 ac_configure_args1= 2305 ac_must_keep_next=false 2306 for ac_pass in 1 2 2307 do 2308 for ac_arg 2309 do 2310 case $ac_arg in 2311 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 2312 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2313 | -silent | --silent | --silen | --sile | --sil) 2314 continue ;; 2315 *\'*) 2316 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2317 esac 2318 case $ac_pass in 2319 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2320 2) 2321 as_fn_append ac_configure_args1 " '$ac_arg'" 2322 if test $ac_must_keep_next = true; then 2323 ac_must_keep_next=false # Got value, back to normal. 2324 else 2325 case $ac_arg in 2326 *=* | --config-cache | -C | -disable-* | --disable-* \ 2327 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 2328 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 2329 | -with-* | --with-* | -without-* | --without-* | --x) 2330 case "$ac_configure_args0 " in 2331 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 2332 esac 2333 ;; 2334 -* ) ac_must_keep_next=true ;; 2335 esac 2336 fi 2337 as_fn_append ac_configure_args " '$ac_arg'" 2338 ;; 2339 esac 2340 done 2341 done 2342 { ac_configure_args0=; unset ac_configure_args0;} 2343 { ac_configure_args1=; unset ac_configure_args1;} 2344 2345 # When interrupted or exit'd, cleanup temporary files, and complete 2346 # config.log. We remove comments because anyway the quotes in there 2347 # would cause problems or look ugly. 2348 # WARNING: Use '\'' to represent an apostrophe within the trap. 2349 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2350 trap 'exit_status=$? 2351 # Save into config.log some information that might help in debugging. 2352 { 2353 echo 2354 2355 cat <<\_ASBOX 2356 ## ---------------- ## 2357 ## Cache variables. ## 2358 ## ---------------- ## 2359 _ASBOX 2360 echo 2361 # The following way of writing the cache mishandles newlines in values, 2362 ( 2363 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2364 eval ac_val=\$$ac_var 2365 case $ac_val in #( 2366 *${as_nl}*) 2367 case $ac_var in #( 2368 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2369 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2370 esac 2371 case $ac_var in #( 2372 _ | IFS | as_nl) ;; #( 2373 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2374 *) { eval $ac_var=; unset $ac_var;} ;; 2375 esac ;; 2376 esac 2377 done 2378 (set) 2>&1 | 2379 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2380 *${as_nl}ac_space=\ *) 2381 sed -n \ 2382 "s/'\''/'\''\\\\'\'''\''/g; 2383 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2384 ;; #( 2385 *) 2386 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2387 ;; 2388 esac | 2389 sort 2390 ) 2391 echo 2392 2393 cat <<\_ASBOX 2394 ## ----------------- ## 2395 ## Output variables. ## 2396 ## ----------------- ## 2397 _ASBOX 2398 echo 2399 for ac_var in $ac_subst_vars 2400 do 2401 eval ac_val=\$$ac_var 2402 case $ac_val in 2403 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2404 esac 2405 $as_echo "$ac_var='\''$ac_val'\''" 2406 done | sort 2407 echo 2408 2409 if test -n "$ac_subst_files"; then 2410 cat <<\_ASBOX 2411 ## ------------------- ## 2412 ## File substitutions. ## 2413 ## ------------------- ## 2414 _ASBOX 2415 echo 2416 for ac_var in $ac_subst_files 2417 do 2418 eval ac_val=\$$ac_var 2419 case $ac_val in 2420 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2421 esac 2422 $as_echo "$ac_var='\''$ac_val'\''" 2423 done | sort 2424 echo 2425 fi 2426 2427 if test -s confdefs.h; then 2428 cat <<\_ASBOX 2429 ## ----------- ## 2430 ## confdefs.h. ## 2431 ## ----------- ## 2432 _ASBOX 2433 echo 2434 cat confdefs.h 2435 echo 2436 fi 2437 test "$ac_signal" != 0 && 2438 $as_echo "$as_me: caught signal $ac_signal" 2439 $as_echo "$as_me: exit $exit_status" 2440 } >&5 2441 rm -f core *.core core.conftest.* && 2442 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2443 exit $exit_status 2444 ' 0 2445 for ac_signal in 1 2 13 15; do 2446 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2447 done 2448 ac_signal=0 2449 2450 # confdefs.h avoids OS command line length limits that DEFS can exceed. 2451 rm -f -r conftest* confdefs.h 2452 2453 $as_echo "/* confdefs.h */" > confdefs.h 2454 2455 # Predefined preprocessor variables. 2456 2457 cat >>confdefs.h <<_ACEOF 2458 #define PACKAGE_NAME "$PACKAGE_NAME" 2459 _ACEOF 2460 2461 cat >>confdefs.h <<_ACEOF 2462 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2463 _ACEOF 2464 2465 cat >>confdefs.h <<_ACEOF 2466 #define PACKAGE_VERSION "$PACKAGE_VERSION" 2467 _ACEOF 2468 2469 cat >>confdefs.h <<_ACEOF 2470 #define PACKAGE_STRING "$PACKAGE_STRING" 2471 _ACEOF 2472 2473 cat >>confdefs.h <<_ACEOF 2474 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2475 _ACEOF 2476 2477 cat >>confdefs.h <<_ACEOF 2478 #define PACKAGE_URL "$PACKAGE_URL" 2479 _ACEOF 2480 2481 2482 # Let the site file select an alternate cache file if it wants to. 2483 # Prefer an explicitly selected file to automatically selected ones. 2484 ac_site_file1=NONE 2485 ac_site_file2=NONE 2486 if test -n "$CONFIG_SITE"; then 2487 ac_site_file1=$CONFIG_SITE 2488 elif test "x$prefix" != xNONE; then 2489 ac_site_file1=$prefix/share/config.site 2490 ac_site_file2=$prefix/etc/config.site 2491 else 2492 ac_site_file1=$ac_default_prefix/share/config.site 2493 ac_site_file2=$ac_default_prefix/etc/config.site 2494 fi 2495 for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2496 do 2497 test "x$ac_site_file" = xNONE && continue 2498 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2499 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2500 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 2501 sed 's/^/| /' "$ac_site_file" >&5 2502 . "$ac_site_file" 2503 fi 2504 done 2505 2506 if test -r "$cache_file"; then 2507 # Some versions of bash will fail to source /dev/null (special files 2508 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2509 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2510 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2511 $as_echo "$as_me: loading cache $cache_file" >&6;} 2512 case $cache_file in 2513 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2514 *) . "./$cache_file";; 2515 esac 2516 fi 2517 else 2518 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2519 $as_echo "$as_me: creating cache $cache_file" >&6;} 2520 >$cache_file 2521 fi 2522 2523 as_fn_append ac_header_list " stdlib.h" 2524 as_fn_append ac_header_list " unistd.h" 2525 as_fn_append ac_header_list " sys/param.h" 2526 # Check that the precious variables saved in the cache have kept the same 2527 # value. 2528 ac_cache_corrupted=false 2529 for ac_var in $ac_precious_vars; do 2530 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2531 eval ac_new_set=\$ac_env_${ac_var}_set 2532 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2533 eval ac_new_val=\$ac_env_${ac_var}_value 2534 case $ac_old_set,$ac_new_set in 2535 set,) 2536 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2537 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2538 ac_cache_corrupted=: ;; 2539 ,set) 2540 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2541 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2542 ac_cache_corrupted=: ;; 2543 ,);; 2544 *) 2545 if test "x$ac_old_val" != "x$ac_new_val"; then 2546 # differences in whitespace do not lead to failure. 2547 ac_old_val_w=`echo x $ac_old_val` 2548 ac_new_val_w=`echo x $ac_new_val` 2549 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2550 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2551 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2552 ac_cache_corrupted=: 2553 else 2554 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2555 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2556 eval $ac_var=\$ac_old_val 2557 fi 2558 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2559 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2560 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2561 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2562 fi;; 2563 esac 2564 # Pass precious variables to config.status. 2565 if test "$ac_new_set" = set; then 2566 case $ac_new_val in 2567 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2568 *) ac_arg=$ac_var=$ac_new_val ;; 2569 esac 2570 case " $ac_configure_args " in 2571 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2572 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2573 esac 2574 fi 2575 done 2576 if $ac_cache_corrupted; then 2577 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2578 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2579 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2580 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2581 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2582 fi 2583 ## -------------------- ## 2584 ## Main body of script. ## 2585 ## -------------------- ## 2586 2587 ac_ext=c 2588 ac_cpp='$CPP $CPPFLAGS' 2589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2591 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2592 2593 2594 # Update this value for every release! (A:B:C will map to foo.so.(A-C).C.B) 2595 # http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html 2596 TCMALLOC_SO_VERSION=5:0:1 2597 PROFILER_SO_VERSION=3:0:3 2598 2599 2600 2601 2602 # The argument here is just something that should be in the current directory 2603 # (for sanity checking) 2604 2605 2606 ac_aux_dir= 2607 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2608 for ac_t in install-sh install.sh shtool; do 2609 if test -f "$ac_dir/$ac_t"; then 2610 ac_aux_dir=$ac_dir 2611 ac_install_sh="$ac_aux_dir/$ac_t -c" 2612 break 2 2613 fi 2614 done 2615 done 2616 if test -z "$ac_aux_dir"; then 2617 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2618 fi 2619 2620 # These three variables are undocumented and unsupported, 2621 # and are intended to be withdrawn in a future Autoconf release. 2622 # They can cause serious problems if a builder's source tree is in a directory 2623 # whose full name contains unusual characters. 2624 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2625 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2626 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2627 2628 2629 # Make sure we can run config.sub. 2630 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 2631 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 2632 2633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 2634 $as_echo_n "checking build system type... " >&6; } 2635 if test "${ac_cv_build+set}" = set; then : 2636 $as_echo_n "(cached) " >&6 2637 else 2638 ac_build_alias=$build_alias 2639 test "x$ac_build_alias" = x && 2640 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 2641 test "x$ac_build_alias" = x && 2642 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 2643 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 2644 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 2645 2646 fi 2647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 2648 $as_echo "$ac_cv_build" >&6; } 2649 case $ac_cv_build in 2650 *-*-*) ;; 2651 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;; 2652 esac 2653 build=$ac_cv_build 2654 ac_save_IFS=$IFS; IFS='-' 2655 set x $ac_cv_build 2656 shift 2657 build_cpu=$1 2658 build_vendor=$2 2659 shift; shift 2660 # Remember, the first character of IFS is used to create $*, 2661 # except with old shells: 2662 build_os=$* 2663 IFS=$ac_save_IFS 2664 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 2665 2666 2667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 2668 $as_echo_n "checking host system type... " >&6; } 2669 if test "${ac_cv_host+set}" = set; then : 2670 $as_echo_n "(cached) " >&6 2671 else 2672 if test "x$host_alias" = x; then 2673 ac_cv_host=$ac_cv_build 2674 else 2675 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 2676 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 2677 fi 2678 2679 fi 2680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 2681 $as_echo "$ac_cv_host" >&6; } 2682 case $ac_cv_host in 2683 *-*-*) ;; 2684 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;; 2685 esac 2686 host=$ac_cv_host 2687 ac_save_IFS=$IFS; IFS='-' 2688 set x $ac_cv_host 2689 shift 2690 host_cpu=$1 2691 host_vendor=$2 2692 shift; shift 2693 # Remember, the first character of IFS is used to create $*, 2694 # except with old shells: 2695 host_os=$* 2696 IFS=$ac_save_IFS 2697 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 2698 2699 2700 am__api_version='1.10' 2701 2702 # Find a good install program. We prefer a C program (faster), 2703 # so one script is as good as another. But avoid the broken or 2704 # incompatible versions: 2705 # SysV /etc/install, /usr/sbin/install 2706 # SunOS /usr/etc/install 2707 # IRIX /sbin/install 2708 # AIX /bin/install 2709 # AmigaOS /C/install, which installs bootblocks on floppy discs 2710 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2711 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 2712 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2713 # OS/2's system install, which has a completely different semantic 2714 # ./install, which can be erroneously created by make from ./install.sh. 2715 # Reject install programs that cannot install multiple files. 2716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2717 $as_echo_n "checking for a BSD-compatible install... " >&6; } 2718 if test -z "$INSTALL"; then 2719 if test "${ac_cv_path_install+set}" = set; then : 2720 $as_echo_n "(cached) " >&6 2721 else 2722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2723 for as_dir in $PATH 2724 do 2725 IFS=$as_save_IFS 2726 test -z "$as_dir" && as_dir=. 2727 # Account for people who put trailing slashes in PATH elements. 2728 case $as_dir/ in #(( 2729 ./ | .// | /[cC]/* | \ 2730 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2731 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2732 /usr/ucb/* ) ;; 2733 *) 2734 # OSF1 and SCO ODT 3.0 have their own names for install. 2735 # Don't use installbsd from OSF since it installs stuff as root 2736 # by default. 2737 for ac_prog in ginstall scoinst install; do 2738 for ac_exec_ext in '' $ac_executable_extensions; do 2739 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 2740 if test $ac_prog = install && 2741 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2742 # AIX install. It has an incompatible calling convention. 2743 : 2744 elif test $ac_prog = install && 2745 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2746 # program-specific install script used by HP pwplus--don't use. 2747 : 2748 else 2749 rm -rf conftest.one conftest.two conftest.dir 2750 echo one > conftest.one 2751 echo two > conftest.two 2752 mkdir conftest.dir 2753 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2754 test -s conftest.one && test -s conftest.two && 2755 test -s conftest.dir/conftest.one && 2756 test -s conftest.dir/conftest.two 2757 then 2758 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2759 break 3 2760 fi 2761 fi 2762 fi 2763 done 2764 done 2765 ;; 2766 esac 2767 2768 done 2769 IFS=$as_save_IFS 2770 2771 rm -rf conftest.one conftest.two conftest.dir 2772 2773 fi 2774 if test "${ac_cv_path_install+set}" = set; then 2775 INSTALL=$ac_cv_path_install 2776 else 2777 # As a last resort, use the slow shell script. Don't cache a 2778 # value for INSTALL within a source directory, because that will 2779 # break other packages using the cache if that directory is 2780 # removed, or if the value is a relative name. 2781 INSTALL=$ac_install_sh 2782 fi 2783 fi 2784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2785 $as_echo "$INSTALL" >&6; } 2786 2787 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2788 # It thinks the first close brace ends the variable substitution. 2789 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2790 2791 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2792 2793 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2794 2795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2796 $as_echo_n "checking whether build environment is sane... " >&6; } 2797 # Just in case 2798 sleep 1 2799 echo timestamp > conftest.file 2800 # Do `set' in a subshell so we don't clobber the current shell's 2801 # arguments. Must try -L first in case configure is actually a 2802 # symlink; some systems play weird games with the mod time of symlinks 2803 # (eg FreeBSD returns the mod time of the symlink's containing 2804 # directory). 2805 if ( 2806 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` 2807 if test "$*" = "X"; then 2808 # -L didn't work. 2809 set X `ls -t $srcdir/configure conftest.file` 2810 fi 2811 rm -f conftest.file 2812 if test "$*" != "X $srcdir/configure conftest.file" \ 2813 && test "$*" != "X conftest.file $srcdir/configure"; then 2814 2815 # If neither matched, then we have a broken ls. This can happen 2816 # if, for instance, CONFIG_SHELL is bash and it inherits a 2817 # broken ls alias from the environment. This has actually 2818 # happened. Such a system could not be considered "sane". 2819 as_fn_error "ls -t appears to fail. Make sure there is not a broken 2820 alias in your environment" "$LINENO" 5 2821 fi 2822 2823 test "$2" = conftest.file 2824 ) 2825 then 2826 # Ok. 2827 : 2828 else 2829 as_fn_error "newly created file is older than distributed files! 2830 Check your system clock" "$LINENO" 5 2831 fi 2832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2833 $as_echo "yes" >&6; } 2834 test "$program_prefix" != NONE && 2835 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2836 # Use a double $ so make ignores it. 2837 test "$program_suffix" != NONE && 2838 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2839 # Double any \ or $. 2840 # By default was `s,x,x', remove it if useless. 2841 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2842 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2843 2844 # expand $ac_aux_dir to an absolute path 2845 am_aux_dir=`cd $ac_aux_dir && pwd` 2846 2847 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" 2848 # Use eval to expand $SHELL 2849 if eval "$MISSING --run true"; then 2850 am_missing_run="$MISSING --run " 2851 else 2852 am_missing_run= 2853 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 2854 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 2855 fi 2856 2857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2858 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2859 if test -z "$MKDIR_P"; then 2860 if test "${ac_cv_path_mkdir+set}" = set; then : 2861 $as_echo_n "(cached) " >&6 2862 else 2863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2864 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2865 do 2866 IFS=$as_save_IFS 2867 test -z "$as_dir" && as_dir=. 2868 for ac_prog in mkdir gmkdir; do 2869 for ac_exec_ext in '' $ac_executable_extensions; do 2870 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 2871 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2872 'mkdir (GNU coreutils) '* | \ 2873 'mkdir (coreutils) '* | \ 2874 'mkdir (fileutils) '4.1*) 2875 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2876 break 3;; 2877 esac 2878 done 2879 done 2880 done 2881 IFS=$as_save_IFS 2882 2883 fi 2884 2885 test -d ./--version && rmdir ./--version 2886 if test "${ac_cv_path_mkdir+set}" = set; then 2887 MKDIR_P="$ac_cv_path_mkdir -p" 2888 else 2889 # As a last resort, use the slow shell script. Don't cache a 2890 # value for MKDIR_P within a source directory, because that will 2891 # break other packages using the cache if that directory is 2892 # removed, or if the value is a relative name. 2893 MKDIR_P="$ac_install_sh -d" 2894 fi 2895 fi 2896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2897 $as_echo "$MKDIR_P" >&6; } 2898 2899 mkdir_p="$MKDIR_P" 2900 case $mkdir_p in 2901 [\\/$]* | ?:[\\/]*) ;; 2902 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 2903 esac 2904 2905 for ac_prog in gawk mawk nawk awk 2906 do 2907 # Extract the first word of "$ac_prog", so it can be a program name with args. 2908 set dummy $ac_prog; ac_word=$2 2909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2910 $as_echo_n "checking for $ac_word... " >&6; } 2911 if test "${ac_cv_prog_AWK+set}" = set; then : 2912 $as_echo_n "(cached) " >&6 2913 else 2914 if test -n "$AWK"; then 2915 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2916 else 2917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2918 for as_dir in $PATH 2919 do 2920 IFS=$as_save_IFS 2921 test -z "$as_dir" && as_dir=. 2922 for ac_exec_ext in '' $ac_executable_extensions; do 2923 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2924 ac_cv_prog_AWK="$ac_prog" 2925 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2926 break 2 2927 fi 2928 done 2929 done 2930 IFS=$as_save_IFS 2931 2932 fi 2933 fi 2934 AWK=$ac_cv_prog_AWK 2935 if test -n "$AWK"; then 2936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2937 $as_echo "$AWK" >&6; } 2938 else 2939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2940 $as_echo "no" >&6; } 2941 fi 2942 2943 2944 test -n "$AWK" && break 2945 done 2946 2947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2948 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2949 set x ${MAKE-make} 2950 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2951 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : 2952 $as_echo_n "(cached) " >&6 2953 else 2954 cat >conftest.make <<\_ACEOF 2955 SHELL = /bin/sh 2956 all: 2957 @echo '@@@%%%=$(MAKE)=@@@%%%' 2958 _ACEOF 2959 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 2960 case `${MAKE-make} -f conftest.make 2>/dev/null` in 2961 *@@@%%%=?*=@@@%%%*) 2962 eval ac_cv_prog_make_${ac_make}_set=yes;; 2963 *) 2964 eval ac_cv_prog_make_${ac_make}_set=no;; 2965 esac 2966 rm -f conftest.make 2967 fi 2968 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2970 $as_echo "yes" >&6; } 2971 SET_MAKE= 2972 else 2973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2974 $as_echo "no" >&6; } 2975 SET_MAKE="MAKE=${MAKE-make}" 2976 fi 2977 2978 rm -rf .tst 2>/dev/null 2979 mkdir .tst 2>/dev/null 2980 if test -d .tst; then 2981 am__leading_dot=. 2982 else 2983 am__leading_dot=_ 2984 fi 2985 rmdir .tst 2>/dev/null 2986 2987 if test "`cd $srcdir && pwd`" != "`pwd`"; then 2988 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2989 # is not polluted with repeated "-I." 2990 am__isrc=' -I$(srcdir)' 2991 # test to see if srcdir already configured 2992 if test -f $srcdir/config.status; then 2993 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2994 fi 2995 fi 2996 2997 # test whether we have cygpath 2998 if test -z "$CYGPATH_W"; then 2999 if (cygpath --version) >/dev/null 2>/dev/null; then 3000 CYGPATH_W='cygpath -w' 3001 else 3002 CYGPATH_W=echo 3003 fi 3004 fi 3005 3006 3007 # Define the identity of the package. 3008 PACKAGE='gperftools' 3009 VERSION='2.0' 3010 3011 3012 cat >>confdefs.h <<_ACEOF 3013 #define PACKAGE "$PACKAGE" 3014 _ACEOF 3015 3016 3017 cat >>confdefs.h <<_ACEOF 3018 #define VERSION "$VERSION" 3019 _ACEOF 3020 3021 # Some tools Automake needs. 3022 3023 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 3024 3025 3026 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 3027 3028 3029 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 3030 3031 3032 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 3033 3034 3035 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 3036 3037 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"} 3038 3039 # Installed binaries are usually stripped using `strip' when the user 3040 # run `make install-strip'. However `strip' might not be the right 3041 # tool to use in cross-compilation environments, therefore Automake 3042 # will honor the `STRIP' environment variable to overrule this program. 3043 if test "$cross_compiling" != no; then 3044 if test -n "$ac_tool_prefix"; then 3045 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 3046 set dummy ${ac_tool_prefix}strip; ac_word=$2 3047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3048 $as_echo_n "checking for $ac_word... " >&6; } 3049 if test "${ac_cv_prog_STRIP+set}" = set; then : 3050 $as_echo_n "(cached) " >&6 3051 else 3052 if test -n "$STRIP"; then 3053 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 3054 else 3055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3056 for as_dir in $PATH 3057 do 3058 IFS=$as_save_IFS 3059 test -z "$as_dir" && as_dir=. 3060 for ac_exec_ext in '' $ac_executable_extensions; do 3061 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3062 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 3063 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3064 break 2 3065 fi 3066 done 3067 done 3068 IFS=$as_save_IFS 3069 3070 fi 3071 fi 3072 STRIP=$ac_cv_prog_STRIP 3073 if test -n "$STRIP"; then 3074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 3075 $as_echo "$STRIP" >&6; } 3076 else 3077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3078 $as_echo "no" >&6; } 3079 fi 3080 3081 3082 fi 3083 if test -z "$ac_cv_prog_STRIP"; then 3084 ac_ct_STRIP=$STRIP 3085 # Extract the first word of "strip", so it can be a program name with args. 3086 set dummy strip; ac_word=$2 3087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3088 $as_echo_n "checking for $ac_word... " >&6; } 3089 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : 3090 $as_echo_n "(cached) " >&6 3091 else 3092 if test -n "$ac_ct_STRIP"; then 3093 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 3094 else 3095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3096 for as_dir in $PATH 3097 do 3098 IFS=$as_save_IFS 3099 test -z "$as_dir" && as_dir=. 3100 for ac_exec_ext in '' $ac_executable_extensions; do 3101 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3102 ac_cv_prog_ac_ct_STRIP="strip" 3103 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3104 break 2 3105 fi 3106 done 3107 done 3108 IFS=$as_save_IFS 3109 3110 fi 3111 fi 3112 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 3113 if test -n "$ac_ct_STRIP"; then 3114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 3115 $as_echo "$ac_ct_STRIP" >&6; } 3116 else 3117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3118 $as_echo "no" >&6; } 3119 fi 3120 3121 if test "x$ac_ct_STRIP" = x; then 3122 STRIP=":" 3123 else 3124 case $cross_compiling:$ac_tool_warned in 3125 yes:) 3126 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3127 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3128 ac_tool_warned=yes ;; 3129 esac 3130 STRIP=$ac_ct_STRIP 3131 fi 3132 else 3133 STRIP="$ac_cv_prog_STRIP" 3134 fi 3135 3136 fi 3137 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 3138 3139 # We need awk for the "check" target. The system "awk" is bad on 3140 # some platforms. 3141 # Always define AMTAR for backward compatibility. 3142 3143 AMTAR=${AMTAR-"${am_missing_run}tar"} 3144 3145 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 3146 3147 3148 3149 3150 3151 ac_config_headers="$ac_config_headers src/config.h" 3152 3153 3154 # Export the version information (for tc_version and friends) 3155 TC_VERSION_MAJOR=`expr "$PACKAGE_VERSION" : '\([0-9]*\)'` 3156 TC_VERSION_MINOR=`expr "$PACKAGE_VERSION" : '[0-9]*\.\([0-9]*\)'` 3157 TC_VERSION_PATCH=`expr "$PACKAGE_VERSION" : '[0-9]*\.[0-9]*\(.*\)$'` 3158 3159 3160 3161 3162 3163 # The user can choose not to compile in the heap-profiler, the 3164 # heap-checker, or the cpu-profiler. There's also the possibility 3165 # for a 'fully minimal' compile, which leaves out the stacktrace 3166 # code as well. By default, we include all of these that the 3167 # target system supports. 3168 default_enable_cpu_profiler=yes 3169 default_enable_heap_profiler=yes 3170 default_enable_heap_checker=yes 3171 default_enable_debugalloc=yes 3172 default_enable_minimal=no 3173 need_nanosleep=yes # Used later, to decide if to run ACX_NANOSLEEP 3174 case "$host" in 3175 *-mingw*) default_enable_minimal=yes; default_enable_debugalloc=no; 3176 need_nanosleep=no;; 3177 *-cygwin*) default_enable_heap_checker=no; default_enable_cpu_profiler=no;; 3178 *-freebsd*) default_enable_heap_checker=no;; 3179 *-darwin*) default_enable_heap_checker=no;; 3180 esac 3181 3182 # Check whether --enable-cpu-profiler was given. 3183 if test "${enable_cpu_profiler+set}" = set; then : 3184 enableval=$enable_cpu_profiler; 3185 else 3186 enable_cpu_profiler="$default_enable_cpu_profiler" 3187 fi 3188 3189 # Check whether --enable-heap-profiler was given. 3190 if test "${enable_heap_profiler+set}" = set; then : 3191 enableval=$enable_heap_profiler; 3192 else 3193 enable_heap_profiler="$default_enable_heap_profiler" 3194 fi 3195 3196 # Check whether --enable-heap-checker was given. 3197 if test "${enable_heap_checker+set}" = set; then : 3198 enableval=$enable_heap_checker; 3199 else 3200 enable_heap_checker="$default_enable_heap_checker" 3201 fi 3202 3203 # Check whether --enable-debugalloc was given. 3204 if test "${enable_debugalloc+set}" = set; then : 3205 enableval=$enable_debugalloc; 3206 else 3207 enable_debugalloc="$default_enable_debugalloc" 3208 fi 3209 3210 # Check whether --enable-minimal was given. 3211 if test "${enable_minimal+set}" = set; then : 3212 enableval=$enable_minimal; 3213 else 3214 enable_minimal="$default_enable_minimal" 3215 fi 3216 3217 if test "$enable_minimal" = yes; then 3218 enable_cpu_profiler=no 3219 enable_heap_profiler=no 3220 enable_heap_checker=no 3221 fi 3222 3223 3224 # Checks for programs. 3225 ac_ext=cpp 3226 ac_cpp='$CXXCPP $CPPFLAGS' 3227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 3230 if test -z "$CXX"; then 3231 if test -n "$CCC"; then 3232 CXX=$CCC 3233 else 3234 if test -n "$ac_tool_prefix"; then 3235 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 3236 do 3237 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3238 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3240 $as_echo_n "checking for $ac_word... " >&6; } 3241 if test "${ac_cv_prog_CXX+set}" = set; then : 3242 $as_echo_n "(cached) " >&6 3243 else 3244 if test -n "$CXX"; then 3245 ac_cv_prog_CXX="$CXX" # Let the user override the test. 3246 else 3247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3248 for as_dir in $PATH 3249 do 3250 IFS=$as_save_IFS 3251 test -z "$as_dir" && as_dir=. 3252 for ac_exec_ext in '' $ac_executable_extensions; do 3253 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3254 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 3255 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3256 break 2 3257 fi 3258 done 3259 done 3260 IFS=$as_save_IFS 3261 3262 fi 3263 fi 3264 CXX=$ac_cv_prog_CXX 3265 if test -n "$CXX"; then 3266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 3267 $as_echo "$CXX" >&6; } 3268 else 3269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3270 $as_echo "no" >&6; } 3271 fi 3272 3273 3274 test -n "$CXX" && break 3275 done 3276 fi 3277 if test -z "$CXX"; then 3278 ac_ct_CXX=$CXX 3279 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 3280 do 3281 # Extract the first word of "$ac_prog", so it can be a program name with args. 3282 set dummy $ac_prog; ac_word=$2 3283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3284 $as_echo_n "checking for $ac_word... " >&6; } 3285 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then : 3286 $as_echo_n "(cached) " >&6 3287 else 3288 if test -n "$ac_ct_CXX"; then 3289 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 3290 else 3291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3292 for as_dir in $PATH 3293 do 3294 IFS=$as_save_IFS 3295 test -z "$as_dir" && as_dir=. 3296 for ac_exec_ext in '' $ac_executable_extensions; do 3297 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3298 ac_cv_prog_ac_ct_CXX="$ac_prog" 3299 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3300 break 2 3301 fi 3302 done 3303 done 3304 IFS=$as_save_IFS 3305 3306 fi 3307 fi 3308 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 3309 if test -n "$ac_ct_CXX"; then 3310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 3311 $as_echo "$ac_ct_CXX" >&6; } 3312 else 3313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3314 $as_echo "no" >&6; } 3315 fi 3316 3317 3318 test -n "$ac_ct_CXX" && break 3319 done 3320 3321 if test "x$ac_ct_CXX" = x; then 3322 CXX="g++" 3323 else 3324 case $cross_compiling:$ac_tool_warned in 3325 yes:) 3326 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3327 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3328 ac_tool_warned=yes ;; 3329 esac 3330 CXX=$ac_ct_CXX 3331 fi 3332 fi 3333 3334 fi 3335 fi 3336 # Provide some information about the compiler. 3337 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 3338 set X $ac_compile 3339 ac_compiler=$2 3340 for ac_option in --version -v -V -qversion; do 3341 { { ac_try="$ac_compiler $ac_option >&5" 3342 case "(($ac_try" in 3343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3344 *) ac_try_echo=$ac_try;; 3345 esac 3346 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3347 $as_echo "$ac_try_echo"; } >&5 3348 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3349 ac_status=$? 3350 if test -s conftest.err; then 3351 sed '10a\ 3352 ... rest of stderr output deleted ... 3353 10q' conftest.err >conftest.er1 3354 cat conftest.er1 >&5 3355 fi 3356 rm -f conftest.er1 conftest.err 3357 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3358 test $ac_status = 0; } 3359 done 3360 3361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3362 /* end confdefs.h. */ 3363 3364 int 3365 main () 3366 { 3367 3368 ; 3369 return 0; 3370 } 3371 _ACEOF 3372 ac_clean_files_save=$ac_clean_files 3373 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3374 # Try to create an executable without -o first, disregard a.out. 3375 # It will help us diagnose broken compilers, and finding out an intuition 3376 # of exeext. 3377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5 3378 $as_echo_n "checking whether the C++ compiler works... " >&6; } 3379 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3380 3381 # The possible output files: 3382 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3383 3384 ac_rmfiles= 3385 for ac_file in $ac_files 3386 do 3387 case $ac_file in 3388 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3389 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3390 esac 3391 done 3392 rm -f $ac_rmfiles 3393 3394 if { { ac_try="$ac_link_default" 3395 case "(($ac_try" in 3396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3397 *) ac_try_echo=$ac_try;; 3398 esac 3399 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3400 $as_echo "$ac_try_echo"; } >&5 3401 (eval "$ac_link_default") 2>&5 3402 ac_status=$? 3403 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3404 test $ac_status = 0; }; then : 3405 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3406 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3407 # in a Makefile. We should not override ac_cv_exeext if it was cached, 3408 # so that the user can short-circuit this test for compilers unknown to 3409 # Autoconf. 3410 for ac_file in $ac_files '' 3411 do 3412 test -f "$ac_file" || continue 3413 case $ac_file in 3414 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3415 ;; 3416 [ab].out ) 3417 # We found the default executable, but exeext='' is most 3418 # certainly right. 3419 break;; 3420 *.* ) 3421 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3422 then :; else 3423 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3424 fi 3425 # We set ac_cv_exeext here because the later test for it is not 3426 # safe: cross compilers may not add the suffix if given an `-o' 3427 # argument, so we may need to know it at that point already. 3428 # Even if this section looks crufty: it has the advantage of 3429 # actually working. 3430 break;; 3431 * ) 3432 break;; 3433 esac 3434 done 3435 test "$ac_cv_exeext" = no && ac_cv_exeext= 3436 3437 else 3438 ac_file='' 3439 fi 3440 if test -z "$ac_file"; then : 3441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3442 $as_echo "no" >&6; } 3443 $as_echo "$as_me: failed program was:" >&5 3444 sed 's/^/| /' conftest.$ac_ext >&5 3445 3446 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3447 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3448 { as_fn_set_status 77 3449 as_fn_error "C++ compiler cannot create executables 3450 See \`config.log' for more details." "$LINENO" 5; }; } 3451 else 3452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3453 $as_echo "yes" >&6; } 3454 fi 3455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5 3456 $as_echo_n "checking for C++ compiler default output file name... " >&6; } 3457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3458 $as_echo "$ac_file" >&6; } 3459 ac_exeext=$ac_cv_exeext 3460 3461 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3462 ac_clean_files=$ac_clean_files_save 3463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3464 $as_echo_n "checking for suffix of executables... " >&6; } 3465 if { { ac_try="$ac_link" 3466 case "(($ac_try" in 3467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3468 *) ac_try_echo=$ac_try;; 3469 esac 3470 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3471 $as_echo "$ac_try_echo"; } >&5 3472 (eval "$ac_link") 2>&5 3473 ac_status=$? 3474 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3475 test $ac_status = 0; }; then : 3476 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3477 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3478 # work properly (i.e., refer to `conftest.exe'), while it won't with 3479 # `rm'. 3480 for ac_file in conftest.exe conftest conftest.*; do 3481 test -f "$ac_file" || continue 3482 case $ac_file in 3483 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3484 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3485 break;; 3486 * ) break;; 3487 esac 3488 done 3489 else 3490 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3491 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3492 as_fn_error "cannot compute suffix of executables: cannot compile and link 3493 See \`config.log' for more details." "$LINENO" 5; } 3494 fi 3495 rm -f conftest conftest$ac_cv_exeext 3496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3497 $as_echo "$ac_cv_exeext" >&6; } 3498 3499 rm -f conftest.$ac_ext 3500 EXEEXT=$ac_cv_exeext 3501 ac_exeext=$EXEEXT 3502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3503 /* end confdefs.h. */ 3504 #include <stdio.h> 3505 int 3506 main () 3507 { 3508 FILE *f = fopen ("conftest.out", "w"); 3509 return ferror (f) || fclose (f) != 0; 3510 3511 ; 3512 return 0; 3513 } 3514 _ACEOF 3515 ac_clean_files="$ac_clean_files conftest.out" 3516 # Check that the compiler produces executables we can run. If not, either 3517 # the compiler is broken, or we cross compile. 3518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3519 $as_echo_n "checking whether we are cross compiling... " >&6; } 3520 if test "$cross_compiling" != yes; then 3521 { { ac_try="$ac_link" 3522 case "(($ac_try" in 3523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3524 *) ac_try_echo=$ac_try;; 3525 esac 3526 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3527 $as_echo "$ac_try_echo"; } >&5 3528 (eval "$ac_link") 2>&5 3529 ac_status=$? 3530 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3531 test $ac_status = 0; } 3532 if { ac_try='./conftest$ac_cv_exeext' 3533 { { case "(($ac_try" in 3534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3535 *) ac_try_echo=$ac_try;; 3536 esac 3537 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3538 $as_echo "$ac_try_echo"; } >&5 3539 (eval "$ac_try") 2>&5 3540 ac_status=$? 3541 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3542 test $ac_status = 0; }; }; then 3543 cross_compiling=no 3544 else 3545 if test "$cross_compiling" = maybe; then 3546 cross_compiling=yes 3547 else 3548 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3549 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3550 as_fn_error "cannot run C++ compiled programs. 3551 If you meant to cross compile, use \`--host'. 3552 See \`config.log' for more details." "$LINENO" 5; } 3553 fi 3554 fi 3555 fi 3556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3557 $as_echo "$cross_compiling" >&6; } 3558 3559 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3560 ac_clean_files=$ac_clean_files_save 3561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3562 $as_echo_n "checking for suffix of object files... " >&6; } 3563 if test "${ac_cv_objext+set}" = set; then : 3564 $as_echo_n "(cached) " >&6 3565 else 3566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3567 /* end confdefs.h. */ 3568 3569 int 3570 main () 3571 { 3572 3573 ; 3574 return 0; 3575 } 3576 _ACEOF 3577 rm -f conftest.o conftest.obj 3578 if { { ac_try="$ac_compile" 3579 case "(($ac_try" in 3580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3581 *) ac_try_echo=$ac_try;; 3582 esac 3583 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3584 $as_echo "$ac_try_echo"; } >&5 3585 (eval "$ac_compile") 2>&5 3586 ac_status=$? 3587 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3588 test $ac_status = 0; }; then : 3589 for ac_file in conftest.o conftest.obj conftest.*; do 3590 test -f "$ac_file" || continue; 3591 case $ac_file in 3592 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3593 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3594 break;; 3595 esac 3596 done 3597 else 3598 $as_echo "$as_me: failed program was:" >&5 3599 sed 's/^/| /' conftest.$ac_ext >&5 3600 3601 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3602 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3603 as_fn_error "cannot compute suffix of object files: cannot compile 3604 See \`config.log' for more details." "$LINENO" 5; } 3605 fi 3606 rm -f conftest.$ac_cv_objext conftest.$ac_ext 3607 fi 3608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3609 $as_echo "$ac_cv_objext" >&6; } 3610 OBJEXT=$ac_cv_objext 3611 ac_objext=$OBJEXT 3612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 3613 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 3614 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : 3615 $as_echo_n "(cached) " >&6 3616 else 3617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3618 /* end confdefs.h. */ 3619 3620 int 3621 main () 3622 { 3623 #ifndef __GNUC__ 3624 choke me 3625 #endif 3626 3627 ; 3628 return 0; 3629 } 3630 _ACEOF 3631 if ac_fn_cxx_try_compile "$LINENO"; then : 3632 ac_compiler_gnu=yes 3633 else 3634 ac_compiler_gnu=no 3635 fi 3636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3637 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 3638 3639 fi 3640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 3641 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 3642 if test $ac_compiler_gnu = yes; then 3643 GXX=yes 3644 else 3645 GXX= 3646 fi 3647 ac_test_CXXFLAGS=${CXXFLAGS+set} 3648 ac_save_CXXFLAGS=$CXXFLAGS 3649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 3650 $as_echo_n "checking whether $CXX accepts -g... " >&6; } 3651 if test "${ac_cv_prog_cxx_g+set}" = set; then : 3652 $as_echo_n "(cached) " >&6 3653 else 3654 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 3655 ac_cxx_werror_flag=yes 3656 ac_cv_prog_cxx_g=no 3657 CXXFLAGS="-g" 3658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3659 /* end confdefs.h. */ 3660 3661 int 3662 main () 3663 { 3664 3665 ; 3666 return 0; 3667 } 3668 _ACEOF 3669 if ac_fn_cxx_try_compile "$LINENO"; then : 3670 ac_cv_prog_cxx_g=yes 3671 else 3672 CXXFLAGS="" 3673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3674 /* end confdefs.h. */ 3675 3676 int 3677 main () 3678 { 3679 3680 ; 3681 return 0; 3682 } 3683 _ACEOF 3684 if ac_fn_cxx_try_compile "$LINENO"; then : 3685 3686 else 3687 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3688 CXXFLAGS="-g" 3689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3690 /* end confdefs.h. */ 3691 3692 int 3693 main () 3694 { 3695 3696 ; 3697 return 0; 3698 } 3699 _ACEOF 3700 if ac_fn_cxx_try_compile "$LINENO"; then : 3701 ac_cv_prog_cxx_g=yes 3702 fi 3703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3704 fi 3705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3706 fi 3707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3708 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3709 fi 3710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 3711 $as_echo "$ac_cv_prog_cxx_g" >&6; } 3712 if test "$ac_test_CXXFLAGS" = set; then 3713 CXXFLAGS=$ac_save_CXXFLAGS 3714 elif test $ac_cv_prog_cxx_g = yes; then 3715 if test "$GXX" = yes; then 3716 CXXFLAGS="-g -O2" 3717 else 3718 CXXFLAGS="-g" 3719 fi 3720 else 3721 if test "$GXX" = yes; then 3722 CXXFLAGS="-O2" 3723 else 3724 CXXFLAGS= 3725 fi 3726 fi 3727 ac_ext=c 3728 ac_cpp='$CPP $CPPFLAGS' 3729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3731 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3732 DEPDIR="${am__leading_dot}deps" 3733 3734 ac_config_commands="$ac_config_commands depfiles" 3735 3736 3737 am_make=${MAKE-make} 3738 cat > confinc << 'END' 3739 am__doit: 3740 @echo done 3741 .PHONY: am__doit 3742 END 3743 # If we don't find an include directive, just comment out the code. 3744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 3745 $as_echo_n "checking for style of include used by $am_make... " >&6; } 3746 am__include="#" 3747 am__quote= 3748 _am_result=none 3749 # First try GNU make style include. 3750 echo "include confinc" > confmf 3751 # We grep out `Entering directory' and `Leaving directory' 3752 # messages which can occur if `w' ends up in MAKEFLAGS. 3753 # In particular we don't look at `^make:' because GNU make might 3754 # be invoked under some other name (usually "gmake"), in which 3755 # case it prints its new name instead of `make'. 3756 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then 3757 am__include=include 3758 am__quote= 3759 _am_result=GNU 3760 fi 3761 # Now try BSD make style include. 3762 if test "$am__include" = "#"; then 3763 echo '.include "confinc"' > confmf 3764 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then 3765 am__include=.include 3766 am__quote="\"" 3767 _am_result=BSD 3768 fi 3769 fi 3770 3771 3772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 3773 $as_echo "$_am_result" >&6; } 3774 rm -f confinc confmf 3775 3776 # Check whether --enable-dependency-tracking was given. 3777 if test "${enable_dependency_tracking+set}" = set; then : 3778 enableval=$enable_dependency_tracking; 3779 fi 3780 3781 if test "x$enable_dependency_tracking" != xno; then 3782 am_depcomp="$ac_aux_dir/depcomp" 3783 AMDEPBACKSLASH='\' 3784 fi 3785 if test "x$enable_dependency_tracking" != xno; then 3786 AMDEP_TRUE= 3787 AMDEP_FALSE='#' 3788 else 3789 AMDEP_TRUE='#' 3790 AMDEP_FALSE= 3791 fi 3792 3793 3794 3795 depcc="$CXX" am_compiler_list= 3796 3797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 3798 $as_echo_n "checking dependency style of $depcc... " >&6; } 3799 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then : 3800 $as_echo_n "(cached) " >&6 3801 else 3802 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3803 # We make a subdir and do the tests there. Otherwise we can end up 3804 # making bogus files that we don't know about and never remove. For 3805 # instance it was reported that on HP-UX the gcc test will end up 3806 # making a dummy file named `D' -- because `-MD' means `put the output 3807 # in D'. 3808 mkdir conftest.dir 3809 # Copy depcomp to subdir because otherwise we won't find it if we're 3810 # using a relative directory. 3811 cp "$am_depcomp" conftest.dir 3812 cd conftest.dir 3813 # We will build objects and dependencies in a subdirectory because 3814 # it helps to detect inapplicable dependency modes. For instance 3815 # both Tru64's cc and ICC support -MD to output dependencies as a 3816 # side effect of compilation, but ICC will put the dependencies in 3817 # the current directory while Tru64 will put them in the object 3818 # directory. 3819 mkdir sub 3820 3821 am_cv_CXX_dependencies_compiler_type=none 3822 if test "$am_compiler_list" = ""; then 3823 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3824 fi 3825 for depmode in $am_compiler_list; do 3826 # Setup a source with many dependencies, because some compilers 3827 # like to wrap large dependency lists on column 80 (with \), and 3828 # we should not choose a depcomp mode which is confused by this. 3829 # 3830 # We need to recreate these files for each test, as the compiler may 3831 # overwrite some of them when testing with obscure command lines. 3832 # This happens at least with the AIX C compiler. 3833 : > sub/conftest.c 3834 for i in 1 2 3 4 5 6; do 3835 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3836 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 3837 # Solaris 8's {/usr,}/bin/sh. 3838 touch sub/conftst$i.h 3839 done 3840 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3841 3842 case $depmode in 3843 nosideeffect) 3844 # after this tag, mechanisms are not by side-effect, so they'll 3845 # only be used when explicitly requested 3846 if test "x$enable_dependency_tracking" = xyes; then 3847 continue 3848 else 3849 break 3850 fi 3851 ;; 3852 none) break ;; 3853 esac 3854 # We check with `-c' and `-o' for the sake of the "dashmstdout" 3855 # mode. It turns out that the SunPro C++ compiler does not properly 3856 # handle `-M -o', and we need to detect this. 3857 if depmode=$depmode \ 3858 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ 3859 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3860 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ 3861 >/dev/null 2>conftest.err && 3862 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 3863 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3864 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && 3865 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3866 # icc doesn't choke on unknown options, it will just issue warnings 3867 # or remarks (even with -Werror). So we grep stderr for any message 3868 # that says an option was ignored or not supported. 3869 # When given -MP, icc 7.0 and 7.1 complain thusly: 3870 # icc: Command line warning: ignoring option '-M'; no argument required 3871 # The diagnosis changed in icc 8.0: 3872 # icc: Command line remark: option '-MP' not supported 3873 if (grep 'ignoring option' conftest.err || 3874 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3875 am_cv_CXX_dependencies_compiler_type=$depmode 3876 break 3877 fi 3878 fi 3879 done 3880 3881 cd .. 3882 rm -rf conftest.dir 3883 else 3884 am_cv_CXX_dependencies_compiler_type=none 3885 fi 3886 3887 fi 3888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 3889 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } 3890 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type 3891 3892 if 3893 test "x$enable_dependency_tracking" != xno \ 3894 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then 3895 am__fastdepCXX_TRUE= 3896 am__fastdepCXX_FALSE='#' 3897 else 3898 am__fastdepCXX_TRUE='#' 3899 am__fastdepCXX_FALSE= 3900 fi 3901 3902 3903 ac_ext=c 3904 ac_cpp='$CPP $CPPFLAGS' 3905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3907 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3908 if test -n "$ac_tool_prefix"; then 3909 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 3910 set dummy ${ac_tool_prefix}gcc; ac_word=$2 3911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3912 $as_echo_n "checking for $ac_word... " >&6; } 3913 if test "${ac_cv_prog_CC+set}" = set; then : 3914 $as_echo_n "(cached) " >&6 3915 else 3916 if test -n "$CC"; then 3917 ac_cv_prog_CC="$CC" # Let the user override the test. 3918 else 3919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3920 for as_dir in $PATH 3921 do 3922 IFS=$as_save_IFS 3923 test -z "$as_dir" && as_dir=. 3924 for ac_exec_ext in '' $ac_executable_extensions; do 3925 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3926 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3927 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3928 break 2 3929 fi 3930 done 3931 done 3932 IFS=$as_save_IFS 3933 3934 fi 3935 fi 3936 CC=$ac_cv_prog_CC 3937 if test -n "$CC"; then 3938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3939 $as_echo "$CC" >&6; } 3940 else 3941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3942 $as_echo "no" >&6; } 3943 fi 3944 3945 3946 fi 3947 if test -z "$ac_cv_prog_CC"; then 3948 ac_ct_CC=$CC 3949 # Extract the first word of "gcc", so it can be a program name with args. 3950 set dummy gcc; ac_word=$2 3951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3952 $as_echo_n "checking for $ac_word... " >&6; } 3953 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 3954 $as_echo_n "(cached) " >&6 3955 else 3956 if test -n "$ac_ct_CC"; then 3957 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3958 else 3959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3960 for as_dir in $PATH 3961 do 3962 IFS=$as_save_IFS 3963 test -z "$as_dir" && as_dir=. 3964 for ac_exec_ext in '' $ac_executable_extensions; do 3965 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3966 ac_cv_prog_ac_ct_CC="gcc" 3967 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3968 break 2 3969 fi 3970 done 3971 done 3972 IFS=$as_save_IFS 3973 3974 fi 3975 fi 3976 ac_ct_CC=$ac_cv_prog_ac_ct_CC 3977 if test -n "$ac_ct_CC"; then 3978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3979 $as_echo "$ac_ct_CC" >&6; } 3980 else 3981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3982 $as_echo "no" >&6; } 3983 fi 3984 3985 if test "x$ac_ct_CC" = x; then 3986 CC="" 3987 else 3988 case $cross_compiling:$ac_tool_warned in 3989 yes:) 3990 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3991 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3992 ac_tool_warned=yes ;; 3993 esac 3994 CC=$ac_ct_CC 3995 fi 3996 else 3997 CC="$ac_cv_prog_CC" 3998 fi 3999 4000 if test -z "$CC"; then 4001 if test -n "$ac_tool_prefix"; then 4002 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 4003 set dummy ${ac_tool_prefix}cc; ac_word=$2 4004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4005 $as_echo_n "checking for $ac_word... " >&6; } 4006 if test "${ac_cv_prog_CC+set}" = set; then : 4007 $as_echo_n "(cached) " >&6 4008 else 4009 if test -n "$CC"; then 4010 ac_cv_prog_CC="$CC" # Let the user override the test. 4011 else 4012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4013 for as_dir in $PATH 4014 do 4015 IFS=$as_save_IFS 4016 test -z "$as_dir" && as_dir=. 4017 for ac_exec_ext in '' $ac_executable_extensions; do 4018 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4019 ac_cv_prog_CC="${ac_tool_prefix}cc" 4020 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4021 break 2 4022 fi 4023 done 4024 done 4025 IFS=$as_save_IFS 4026 4027 fi 4028 fi 4029 CC=$ac_cv_prog_CC 4030 if test -n "$CC"; then 4031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4032 $as_echo "$CC" >&6; } 4033 else 4034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4035 $as_echo "no" >&6; } 4036 fi 4037 4038 4039 fi 4040 fi 4041 if test -z "$CC"; then 4042 # Extract the first word of "cc", so it can be a program name with args. 4043 set dummy cc; ac_word=$2 4044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4045 $as_echo_n "checking for $ac_word... " >&6; } 4046 if test "${ac_cv_prog_CC+set}" = set; then : 4047 $as_echo_n "(cached) " >&6 4048 else 4049 if test -n "$CC"; then 4050 ac_cv_prog_CC="$CC" # Let the user override the test. 4051 else 4052 ac_prog_rejected=no 4053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4054 for as_dir in $PATH 4055 do 4056 IFS=$as_save_IFS 4057 test -z "$as_dir" && as_dir=. 4058 for ac_exec_ext in '' $ac_executable_extensions; do 4059 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4060 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 4061 ac_prog_rejected=yes 4062 continue 4063 fi 4064 ac_cv_prog_CC="cc" 4065 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4066 break 2 4067 fi 4068 done 4069 done 4070 IFS=$as_save_IFS 4071 4072 if test $ac_prog_rejected = yes; then 4073 # We found a bogon in the path, so make sure we never use it. 4074 set dummy $ac_cv_prog_CC 4075 shift 4076 if test $# != 0; then 4077 # We chose a different compiler from the bogus one. 4078 # However, it has the same basename, so the bogon will be chosen 4079 # first if we set CC to just the basename; use the full file name. 4080 shift 4081 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 4082 fi 4083 fi 4084 fi 4085 fi 4086 CC=$ac_cv_prog_CC 4087 if test -n "$CC"; then 4088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4089 $as_echo "$CC" >&6; } 4090 else 4091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4092 $as_echo "no" >&6; } 4093 fi 4094 4095 4096 fi 4097 if test -z "$CC"; then 4098 if test -n "$ac_tool_prefix"; then 4099 for ac_prog in cl.exe 4100 do 4101 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4102 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4104 $as_echo_n "checking for $ac_word... " >&6; } 4105 if test "${ac_cv_prog_CC+set}" = set; then : 4106 $as_echo_n "(cached) " >&6 4107 else 4108 if test -n "$CC"; then 4109 ac_cv_prog_CC="$CC" # Let the user override the test. 4110 else 4111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4112 for as_dir in $PATH 4113 do 4114 IFS=$as_save_IFS 4115 test -z "$as_dir" && as_dir=. 4116 for ac_exec_ext in '' $ac_executable_extensions; do 4117 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4118 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 4119 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4120 break 2 4121 fi 4122 done 4123 done 4124 IFS=$as_save_IFS 4125 4126 fi 4127 fi 4128 CC=$ac_cv_prog_CC 4129 if test -n "$CC"; then 4130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4131 $as_echo "$CC" >&6; } 4132 else 4133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4134 $as_echo "no" >&6; } 4135 fi 4136 4137 4138 test -n "$CC" && break 4139 done 4140 fi 4141 if test -z "$CC"; then 4142 ac_ct_CC=$CC 4143 for ac_prog in cl.exe 4144 do 4145 # Extract the first word of "$ac_prog", so it can be a program name with args. 4146 set dummy $ac_prog; ac_word=$2 4147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4148 $as_echo_n "checking for $ac_word... " >&6; } 4149 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 4150 $as_echo_n "(cached) " >&6 4151 else 4152 if test -n "$ac_ct_CC"; then 4153 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 4154 else 4155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4156 for as_dir in $PATH 4157 do 4158 IFS=$as_save_IFS 4159 test -z "$as_dir" && as_dir=. 4160 for ac_exec_ext in '' $ac_executable_extensions; do 4161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4162 ac_cv_prog_ac_ct_CC="$ac_prog" 4163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4164 break 2 4165 fi 4166 done 4167 done 4168 IFS=$as_save_IFS 4169 4170 fi 4171 fi 4172 ac_ct_CC=$ac_cv_prog_ac_ct_CC 4173 if test -n "$ac_ct_CC"; then 4174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 4175 $as_echo "$ac_ct_CC" >&6; } 4176 else 4177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4178 $as_echo "no" >&6; } 4179 fi 4180 4181 4182 test -n "$ac_ct_CC" && break 4183 done 4184 4185 if test "x$ac_ct_CC" = x; then 4186 CC="" 4187 else 4188 case $cross_compiling:$ac_tool_warned in 4189 yes:) 4190 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4191 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4192 ac_tool_warned=yes ;; 4193 esac 4194 CC=$ac_ct_CC 4195 fi 4196 fi 4197 4198 fi 4199 4200 4201 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4202 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4203 as_fn_error "no acceptable C compiler found in \$PATH 4204 See \`config.log' for more details." "$LINENO" 5; } 4205 4206 # Provide some information about the compiler. 4207 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 4208 set X $ac_compile 4209 ac_compiler=$2 4210 for ac_option in --version -v -V -qversion; do 4211 { { ac_try="$ac_compiler $ac_option >&5" 4212 case "(($ac_try" in 4213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4214 *) ac_try_echo=$ac_try;; 4215 esac 4216 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4217 $as_echo "$ac_try_echo"; } >&5 4218 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 4219 ac_status=$? 4220 if test -s conftest.err; then 4221 sed '10a\ 4222 ... rest of stderr output deleted ... 4223 10q' conftest.err >conftest.er1 4224 cat conftest.er1 >&5 4225 fi 4226 rm -f conftest.er1 conftest.err 4227 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4228 test $ac_status = 0; } 4229 done 4230 4231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 4232 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 4233 if test "${ac_cv_c_compiler_gnu+set}" = set; then : 4234 $as_echo_n "(cached) " >&6 4235 else 4236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4237 /* end confdefs.h. */ 4238 4239 int 4240 main () 4241 { 4242 #ifndef __GNUC__ 4243 choke me 4244 #endif 4245 4246 ; 4247 return 0; 4248 } 4249 _ACEOF 4250 if ac_fn_c_try_compile "$LINENO"; then : 4251 ac_compiler_gnu=yes 4252 else 4253 ac_compiler_gnu=no 4254 fi 4255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4256 ac_cv_c_compiler_gnu=$ac_compiler_gnu 4257 4258 fi 4259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 4260 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 4261 if test $ac_compiler_gnu = yes; then 4262 GCC=yes 4263 else 4264 GCC= 4265 fi 4266 ac_test_CFLAGS=${CFLAGS+set} 4267 ac_save_CFLAGS=$CFLAGS 4268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 4269 $as_echo_n "checking whether $CC accepts -g... " >&6; } 4270 if test "${ac_cv_prog_cc_g+set}" = set; then : 4271 $as_echo_n "(cached) " >&6 4272 else 4273 ac_save_c_werror_flag=$ac_c_werror_flag 4274 ac_c_werror_flag=yes 4275 ac_cv_prog_cc_g=no 4276 CFLAGS="-g" 4277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4278 /* end confdefs.h. */ 4279 4280 int 4281 main () 4282 { 4283 4284 ; 4285 return 0; 4286 } 4287 _ACEOF 4288 if ac_fn_c_try_compile "$LINENO"; then : 4289 ac_cv_prog_cc_g=yes 4290 else 4291 CFLAGS="" 4292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4293 /* end confdefs.h. */ 4294 4295 int 4296 main () 4297 { 4298 4299 ; 4300 return 0; 4301 } 4302 _ACEOF 4303 if ac_fn_c_try_compile "$LINENO"; then : 4304 4305 else 4306 ac_c_werror_flag=$ac_save_c_werror_flag 4307 CFLAGS="-g" 4308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4309 /* end confdefs.h. */ 4310 4311 int 4312 main () 4313 { 4314 4315 ; 4316 return 0; 4317 } 4318 _ACEOF 4319 if ac_fn_c_try_compile "$LINENO"; then : 4320 ac_cv_prog_cc_g=yes 4321 fi 4322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4323 fi 4324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4325 fi 4326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4327 ac_c_werror_flag=$ac_save_c_werror_flag 4328 fi 4329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 4330 $as_echo "$ac_cv_prog_cc_g" >&6; } 4331 if test "$ac_test_CFLAGS" = set; then 4332 CFLAGS=$ac_save_CFLAGS 4333 elif test $ac_cv_prog_cc_g = yes; then 4334 if test "$GCC" = yes; then 4335 CFLAGS="-g -O2" 4336 else 4337 CFLAGS="-g" 4338 fi 4339 else 4340 if test "$GCC" = yes; then 4341 CFLAGS="-O2" 4342 else 4343 CFLAGS= 4344 fi 4345 fi 4346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 4347 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 4348 if test "${ac_cv_prog_cc_c89+set}" = set; then : 4349 $as_echo_n "(cached) " >&6 4350 else 4351 ac_cv_prog_cc_c89=no 4352 ac_save_CC=$CC 4353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4354 /* end confdefs.h. */ 4355 #include <stdarg.h> 4356 #include <stdio.h> 4357 #include <sys/types.h> 4358 #include <sys/stat.h> 4359 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 4360 struct buf { int x; }; 4361 FILE * (*rcsopen) (struct buf *, struct stat *, int); 4362 static char *e (p, i) 4363 char **p; 4364 int i; 4365 { 4366 return p[i]; 4367 } 4368 static char *f (char * (*g) (char **, int), char **p, ...) 4369 { 4370 char *s; 4371 va_list v; 4372 va_start (v,p); 4373 s = g (p, va_arg (v,int)); 4374 va_end (v); 4375 return s; 4376 } 4377 4378 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 4379 function prototypes and stuff, but not '\xHH' hex character constants. 4380 These don't provoke an error unfortunately, instead are silently treated 4381 as 'x'. The following induces an error, until -std is added to get 4382 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 4383 array size at least. It's necessary to write '\x00'==0 to get something 4384 that's true only with -std. */ 4385 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 4386 4387 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 4388 inside strings and character constants. */ 4389 #define FOO(x) 'x' 4390 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 4391 4392 int test (int i, double x); 4393 struct s1 {int (*f) (int a);}; 4394 struct s2 {int (*f) (double a);}; 4395 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 4396 int argc; 4397 char **argv; 4398 int 4399 main () 4400 { 4401 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 4402 ; 4403 return 0; 4404 } 4405 _ACEOF 4406 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 4407 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 4408 do 4409 CC="$ac_save_CC $ac_arg" 4410 if ac_fn_c_try_compile "$LINENO"; then : 4411 ac_cv_prog_cc_c89=$ac_arg 4412 fi 4413 rm -f core conftest.err conftest.$ac_objext 4414 test "x$ac_cv_prog_cc_c89" != "xno" && break 4415 done 4416 rm -f conftest.$ac_ext 4417 CC=$ac_save_CC 4418 4419 fi 4420 # AC_CACHE_VAL 4421 case "x$ac_cv_prog_cc_c89" in 4422 x) 4423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4424 $as_echo "none needed" >&6; } ;; 4425 xno) 4426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4427 $as_echo "unsupported" >&6; } ;; 4428 *) 4429 CC="$CC $ac_cv_prog_cc_c89" 4430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 4431 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 4432 esac 4433 if test "x$ac_cv_prog_cc_c89" != xno; then : 4434 4435 fi 4436 4437 ac_ext=c 4438 ac_cpp='$CPP $CPPFLAGS' 4439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4441 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4442 4443 depcc="$CC" am_compiler_list= 4444 4445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 4446 $as_echo_n "checking dependency style of $depcc... " >&6; } 4447 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : 4448 $as_echo_n "(cached) " >&6 4449 else 4450 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 4451 # We make a subdir and do the tests there. Otherwise we can end up 4452 # making bogus files that we don't know about and never remove. For 4453 # instance it was reported that on HP-UX the gcc test will end up 4454 # making a dummy file named `D' -- because `-MD' means `put the output 4455 # in D'. 4456 mkdir conftest.dir 4457 # Copy depcomp to subdir because otherwise we won't find it if we're 4458 # using a relative directory. 4459 cp "$am_depcomp" conftest.dir 4460 cd conftest.dir 4461 # We will build objects and dependencies in a subdirectory because 4462 # it helps to detect inapplicable dependency modes. For instance 4463 # both Tru64's cc and ICC support -MD to output dependencies as a 4464 # side effect of compilation, but ICC will put the dependencies in 4465 # the current directory while Tru64 will put them in the object 4466 # directory. 4467 mkdir sub 4468 4469 am_cv_CC_dependencies_compiler_type=none 4470 if test "$am_compiler_list" = ""; then 4471 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 4472 fi 4473 for depmode in $am_compiler_list; do 4474 # Setup a source with many dependencies, because some compilers 4475 # like to wrap large dependency lists on column 80 (with \), and 4476 # we should not choose a depcomp mode which is confused by this. 4477 # 4478 # We need to recreate these files for each test, as the compiler may 4479 # overwrite some of them when testing with obscure command lines. 4480 # This happens at least with the AIX C compiler. 4481 : > sub/conftest.c 4482 for i in 1 2 3 4 5 6; do 4483 echo '#include "conftst'$i'.h"' >> sub/conftest.c 4484 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 4485 # Solaris 8's {/usr,}/bin/sh. 4486 touch sub/conftst$i.h 4487 done 4488 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 4489 4490 case $depmode in 4491 nosideeffect) 4492 # after this tag, mechanisms are not by side-effect, so they'll 4493 # only be used when explicitly requested 4494 if test "x$enable_dependency_tracking" = xyes; then 4495 continue 4496 else 4497 break 4498 fi 4499 ;; 4500 none) break ;; 4501 esac 4502 # We check with `-c' and `-o' for the sake of the "dashmstdout" 4503 # mode. It turns out that the SunPro C++ compiler does not properly 4504 # handle `-M -o', and we need to detect this. 4505 if depmode=$depmode \ 4506 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ 4507 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4508 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ 4509 >/dev/null 2>conftest.err && 4510 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 4511 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 4512 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && 4513 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4514 # icc doesn't choke on unknown options, it will just issue warnings 4515 # or remarks (even with -Werror). So we grep stderr for any message 4516 # that says an option was ignored or not supported. 4517 # When given -MP, icc 7.0 and 7.1 complain thusly: 4518 # icc: Command line warning: ignoring option '-M'; no argument required 4519 # The diagnosis changed in icc 8.0: 4520 # icc: Command line remark: option '-MP' not supported 4521 if (grep 'ignoring option' conftest.err || 4522 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 4523 am_cv_CC_dependencies_compiler_type=$depmode 4524 break 4525 fi 4526 fi 4527 done 4528 4529 cd .. 4530 rm -rf conftest.dir 4531 else 4532 am_cv_CC_dependencies_compiler_type=none 4533 fi 4534 4535 fi 4536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 4537 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 4538 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 4539 4540 if 4541 test "x$enable_dependency_tracking" != xno \ 4542 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 4543 am__fastdepCC_TRUE= 4544 am__fastdepCC_FALSE='#' 4545 else 4546 am__fastdepCC_TRUE='#' 4547 am__fastdepCC_FALSE= 4548 fi 4549 4550 4551 ac_ext=c 4552 ac_cpp='$CPP $CPPFLAGS' 4553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4555 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 4557 $as_echo_n "checking how to run the C preprocessor... " >&6; } 4558 # On Suns, sometimes $CPP names a directory. 4559 if test -n "$CPP" && test -d "$CPP"; then 4560 CPP= 4561 fi 4562 if test -z "$CPP"; then 4563 if test "${ac_cv_prog_CPP+set}" = set; then : 4564 $as_echo_n "(cached) " >&6 4565 else 4566 # Double quotes because CPP needs to be expanded 4567 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 4568 do 4569 ac_preproc_ok=false 4570 for ac_c_preproc_warn_flag in '' yes 4571 do 4572 # Use a header file that comes with gcc, so configuring glibc 4573 # with a fresh cross-compiler works. 4574 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4575 # <limits.h> exists even on freestanding compilers. 4576 # On the NeXT, cc -E runs the code through the compiler's parser, 4577 # not just through cpp. "Syntax error" is here to catch this case. 4578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4579 /* end confdefs.h. */ 4580 #ifdef __STDC__ 4581 # include <limits.h> 4582 #else 4583 # include <assert.h> 4584 #endif 4585 Syntax error 4586 _ACEOF 4587 if ac_fn_c_try_cpp "$LINENO"; then : 4588 4589 else 4590 # Broken: fails on valid input. 4591 continue 4592 fi 4593 rm -f conftest.err conftest.$ac_ext 4594 4595 # OK, works on sane cases. Now check whether nonexistent headers 4596 # can be detected and how. 4597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4598 /* end confdefs.h. */ 4599 #include <ac_nonexistent.h> 4600 _ACEOF 4601 if ac_fn_c_try_cpp "$LINENO"; then : 4602 # Broken: success on invalid input. 4603 continue 4604 else 4605 # Passes both tests. 4606 ac_preproc_ok=: 4607 break 4608 fi 4609 rm -f conftest.err conftest.$ac_ext 4610 4611 done 4612 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4613 rm -f conftest.err conftest.$ac_ext 4614 if $ac_preproc_ok; then : 4615 break 4616 fi 4617 4618 done 4619 ac_cv_prog_CPP=$CPP 4620 4621 fi 4622 CPP=$ac_cv_prog_CPP 4623 else 4624 ac_cv_prog_CPP=$CPP 4625 fi 4626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 4627 $as_echo "$CPP" >&6; } 4628 ac_preproc_ok=false 4629 for ac_c_preproc_warn_flag in '' yes 4630 do 4631 # Use a header file that comes with gcc, so configuring glibc 4632 # with a fresh cross-compiler works. 4633 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4634 # <limits.h> exists even on freestanding compilers. 4635 # On the NeXT, cc -E runs the code through the compiler's parser, 4636 # not just through cpp. "Syntax error" is here to catch this case. 4637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4638 /* end confdefs.h. */ 4639 #ifdef __STDC__ 4640 # include <limits.h> 4641 #else 4642 # include <assert.h> 4643 #endif 4644 Syntax error 4645 _ACEOF 4646 if ac_fn_c_try_cpp "$LINENO"; then : 4647 4648 else 4649 # Broken: fails on valid input. 4650 continue 4651 fi 4652 rm -f conftest.err conftest.$ac_ext 4653 4654 # OK, works on sane cases. Now check whether nonexistent headers 4655 # can be detected and how. 4656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4657 /* end confdefs.h. */ 4658 #include <ac_nonexistent.h> 4659 _ACEOF 4660 if ac_fn_c_try_cpp "$LINENO"; then : 4661 # Broken: success on invalid input. 4662 continue 4663 else 4664 # Passes both tests. 4665 ac_preproc_ok=: 4666 break 4667 fi 4668 rm -f conftest.err conftest.$ac_ext 4669 4670 done 4671 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4672 rm -f conftest.err conftest.$ac_ext 4673 if $ac_preproc_ok; then : 4674 4675 else 4676 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4677 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4678 as_fn_error "C preprocessor \"$CPP\" fails sanity check 4679 See \`config.log' for more details." "$LINENO" 5; } 4680 fi 4681 4682 ac_ext=c 4683 ac_cpp='$CPP $CPPFLAGS' 4684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4686 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4687 4688 if test "$GCC" = yes; then 4689 GCC_TRUE= 4690 GCC_FALSE='#' 4691 else 4692 GCC_TRUE='#' 4693 GCC_FALSE= 4694 fi 4695 # let the Makefile know if we're gcc 4696 if test "x$CC" != xcc; then 4697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5 4698 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; } 4699 else 4700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5 4701 $as_echo_n "checking whether cc understands -c and -o together... " >&6; } 4702 fi 4703 set dummy $CC; ac_cc=`$as_echo "$2" | 4704 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` 4705 if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then : 4706 $as_echo_n "(cached) " >&6 4707 else 4708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4709 /* end confdefs.h. */ 4710 4711 int 4712 main () 4713 { 4714 4715 ; 4716 return 0; 4717 } 4718 _ACEOF 4719 # Make sure it works both with $CC and with simple cc. 4720 # We do the test twice because some compilers refuse to overwrite an 4721 # existing .o file with -o, though they will create one. 4722 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5' 4723 rm -f conftest2.* 4724 if { { case "(($ac_try" in 4725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4726 *) ac_try_echo=$ac_try;; 4727 esac 4728 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4729 $as_echo "$ac_try_echo"; } >&5 4730 (eval "$ac_try") 2>&5 4731 ac_status=$? 4732 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4733 test $ac_status = 0; } && 4734 test -f conftest2.$ac_objext && { { case "(($ac_try" in 4735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4736 *) ac_try_echo=$ac_try;; 4737 esac 4738 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4739 $as_echo "$ac_try_echo"; } >&5 4740 (eval "$ac_try") 2>&5 4741 ac_status=$? 4742 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4743 test $ac_status = 0; }; 4744 then 4745 eval ac_cv_prog_cc_${ac_cc}_c_o=yes 4746 if test "x$CC" != xcc; then 4747 # Test first that cc exists at all. 4748 if { ac_try='cc -c conftest.$ac_ext >&5' 4749 { { case "(($ac_try" in 4750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4751 *) ac_try_echo=$ac_try;; 4752 esac 4753 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4754 $as_echo "$ac_try_echo"; } >&5 4755 (eval "$ac_try") 2>&5 4756 ac_status=$? 4757 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4758 test $ac_status = 0; }; }; then 4759 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5' 4760 rm -f conftest2.* 4761 if { { case "(($ac_try" in 4762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4763 *) ac_try_echo=$ac_try;; 4764 esac 4765 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4766 $as_echo "$ac_try_echo"; } >&5 4767 (eval "$ac_try") 2>&5 4768 ac_status=$? 4769 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4770 test $ac_status = 0; } && 4771 test -f conftest2.$ac_objext && { { case "(($ac_try" in 4772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4773 *) ac_try_echo=$ac_try;; 4774 esac 4775 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4776 $as_echo "$ac_try_echo"; } >&5 4777 (eval "$ac_try") 2>&5 4778 ac_status=$? 4779 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4780 test $ac_status = 0; }; 4781 then 4782 # cc works too. 4783 : 4784 else 4785 # cc exists but doesn't like -o. 4786 eval ac_cv_prog_cc_${ac_cc}_c_o=no 4787 fi 4788 fi 4789 fi 4790 else 4791 eval ac_cv_prog_cc_${ac_cc}_c_o=no 4792 fi 4793 rm -f core conftest* 4794 4795 fi 4796 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then 4797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4798 $as_echo "yes" >&6; } 4799 else 4800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4801 $as_echo "no" >&6; } 4802 4803 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h 4804 4805 fi 4806 4807 # FIXME: we rely on the cache variable name because 4808 # there is no other way. 4809 set dummy $CC 4810 ac_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` 4811 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then 4812 # Losing compiler, so override with the script. 4813 # FIXME: It is wrong to rewrite CC. 4814 # But if we don't then we get into trouble of one sort or another. 4815 # A longer-term fix would be to have automake use am__CC in this case, 4816 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 4817 CC="$am_aux_dir/compile $CC" 4818 fi 4819 4820 # shrug: autogen.sh suddenly needs this for some reason 4821 4822 # Check if we have an objcopy installed that supports -W 4823 if test -n "$ac_tool_prefix"; then 4824 # Extract the first word of "${ac_tool_prefix}objcopy", so it can be a program name with args. 4825 set dummy ${ac_tool_prefix}objcopy; ac_word=$2 4826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4827 $as_echo_n "checking for $ac_word... " >&6; } 4828 if test "${ac_cv_prog_OBJCOPY+set}" = set; then : 4829 $as_echo_n "(cached) " >&6 4830 else 4831 if test -n "$OBJCOPY"; then 4832 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test. 4833 else 4834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4835 for as_dir in $PATH 4836 do 4837 IFS=$as_save_IFS 4838 test -z "$as_dir" && as_dir=. 4839 for ac_exec_ext in '' $ac_executable_extensions; do 4840 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4841 ac_cv_prog_OBJCOPY="${ac_tool_prefix}objcopy" 4842 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4843 break 2 4844 fi 4845 done 4846 done 4847 IFS=$as_save_IFS 4848 4849 fi 4850 fi 4851 OBJCOPY=$ac_cv_prog_OBJCOPY 4852 if test -n "$OBJCOPY"; then 4853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5 4854 $as_echo "$OBJCOPY" >&6; } 4855 else 4856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4857 $as_echo "no" >&6; } 4858 fi 4859 4860 4861 fi 4862 if test -z "$ac_cv_prog_OBJCOPY"; then 4863 ac_ct_OBJCOPY=$OBJCOPY 4864 # Extract the first word of "objcopy", so it can be a program name with args. 4865 set dummy objcopy; ac_word=$2 4866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4867 $as_echo_n "checking for $ac_word... " >&6; } 4868 if test "${ac_cv_prog_ac_ct_OBJCOPY+set}" = set; then : 4869 $as_echo_n "(cached) " >&6 4870 else 4871 if test -n "$ac_ct_OBJCOPY"; then 4872 ac_cv_prog_ac_ct_OBJCOPY="$ac_ct_OBJCOPY" # Let the user override the test. 4873 else 4874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4875 for as_dir in $PATH 4876 do 4877 IFS=$as_save_IFS 4878 test -z "$as_dir" && as_dir=. 4879 for ac_exec_ext in '' $ac_executable_extensions; do 4880 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4881 ac_cv_prog_ac_ct_OBJCOPY="objcopy" 4882 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4883 break 2 4884 fi 4885 done 4886 done 4887 IFS=$as_save_IFS 4888 4889 fi 4890 fi 4891 ac_ct_OBJCOPY=$ac_cv_prog_ac_ct_OBJCOPY 4892 if test -n "$ac_ct_OBJCOPY"; then 4893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCOPY" >&5 4894 $as_echo "$ac_ct_OBJCOPY" >&6; } 4895 else 4896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4897 $as_echo "no" >&6; } 4898 fi 4899 4900 if test "x$ac_ct_OBJCOPY" = x; then 4901 OBJCOPY="" 4902 else 4903 case $cross_compiling:$ac_tool_warned in 4904 yes:) 4905 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4906 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4907 ac_tool_warned=yes ;; 4908 esac 4909 OBJCOPY=$ac_ct_OBJCOPY 4910 fi 4911 else 4912 OBJCOPY="$ac_cv_prog_OBJCOPY" 4913 fi 4914 4915 4916 if test -n "$OBJCOPY"; then : 4917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $OBJCOPY supports -W" >&5 4918 $as_echo_n "checking if $OBJCOPY supports -W... " >&6; } 4919 if test "${gpt_cv_objcopy_weaken+set}" = set; then : 4920 $as_echo_n "(cached) " >&6 4921 else 4922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4923 /* end confdefs.h. */ 4924 void foo() {} int main() {return 0;} 4925 _ACEOF 4926 if ac_fn_c_try_link "$LINENO"; then : 4927 if "$OBJCOPY" -W foo conftest$ac_exeext /dev/null; then : 4928 gpt_cv_objcopy_weaken=yes 4929 else 4930 gpt_cv_objcopy_weaken=no 4931 fi 4932 else 4933 gpt_cv_objcopy_weaken=no 4934 fi 4935 rm -f core conftest.err conftest.$ac_objext \ 4936 conftest$ac_exeext conftest.$ac_ext 4937 fi 4938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gpt_cv_objcopy_weaken" >&5 4939 $as_echo "$gpt_cv_objcopy_weaken" >&6; } 4940 else 4941 gpt_cv_objcopy_weaken=no 4942 fi 4943 if test $gpt_cv_objcopy_weaken = yes; then 4944 HAVE_OBJCOPY_WEAKEN_TRUE= 4945 HAVE_OBJCOPY_WEAKEN_FALSE='#' 4946 else 4947 HAVE_OBJCOPY_WEAKEN_TRUE='#' 4948 HAVE_OBJCOPY_WEAKEN_FALSE= 4949 fi 4950 4951 4952 case $host_os in 4953 *mingw*) 4954 # Disabling fast install keeps libtool from creating wrapper scripts 4955 # around the executables it builds. Such scripts have caused failures on 4956 # MinGW. Using this option means an extra link step is executed during 4957 # "make install". 4958 # Check whether --enable-fast-install was given. 4959 if test "${enable_fast_install+set}" = set; then : 4960 enableval=$enable_fast_install; p=${PACKAGE-default} 4961 case $enableval in 4962 yes) enable_fast_install=yes ;; 4963 no) enable_fast_install=no ;; 4964 *) 4965 enable_fast_install=no 4966 # Look at the argument we got. We use all the common list separators. 4967 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 4968 for pkg in $enableval; do 4969 IFS="$lt_save_ifs" 4970 if test "X$pkg" = "X$p"; then 4971 enable_fast_install=yes 4972 fi 4973 done 4974 IFS="$lt_save_ifs" 4975 ;; 4976 esac 4977 else 4978 enable_fast_install=no 4979 fi 4980 4981 4982 4983 4984 4985 4986 4987 4988 4989 ;; 4990 *) 4991 # Check whether --enable-fast-install was given. 4992 if test "${enable_fast_install+set}" = set; then : 4993 enableval=$enable_fast_install; p=${PACKAGE-default} 4994 case $enableval in 4995 yes) enable_fast_install=yes ;; 4996 no) enable_fast_install=no ;; 4997 *) 4998 enable_fast_install=no 4999 # Look at the argument we got. We use all the common list separators. 5000 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 5001 for pkg in $enableval; do 5002 IFS="$lt_save_ifs" 5003 if test "X$pkg" = "X$p"; then 5004 enable_fast_install=yes 5005 fi 5006 done 5007 IFS="$lt_save_ifs" 5008 ;; 5009 esac 5010 else 5011 enable_fast_install=yes 5012 fi 5013 5014 5015 5016 5017 5018 5019 ;; 5020 esac 5021 5022 case `pwd` in 5023 *\ * | *\ *) 5024 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 5025 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 5026 esac 5027 5028 5029 5030 macro_version='2.2.6b' 5031 macro_revision='1.3017' 5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 ltmain="$ac_aux_dir/ltmain.sh" 5046 5047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 5048 $as_echo_n "checking for a sed that does not truncate output... " >&6; } 5049 if test "${ac_cv_path_SED+set}" = set; then : 5050 $as_echo_n "(cached) " >&6 5051 else 5052 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 5053 for ac_i in 1 2 3 4 5 6 7; do 5054 ac_script="$ac_script$as_nl$ac_script" 5055 done 5056 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 5057 { ac_script=; unset ac_script;} 5058 if test -z "$SED"; then 5059 ac_path_SED_found=false 5060 # Loop through the user's path and test for each of PROGNAME-LIST 5061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5062 for as_dir in $PATH 5063 do 5064 IFS=$as_save_IFS 5065 test -z "$as_dir" && as_dir=. 5066 for ac_prog in sed gsed; do 5067 for ac_exec_ext in '' $ac_executable_extensions; do 5068 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 5069 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue 5070 # Check for GNU ac_path_SED and select it if it is found. 5071 # Check for GNU $ac_path_SED 5072 case `"$ac_path_SED" --version 2>&1` in 5073 *GNU*) 5074 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 5075 *) 5076 ac_count=0 5077 $as_echo_n 0123456789 >"conftest.in" 5078 while : 5079 do 5080 cat "conftest.in" "conftest.in" >"conftest.tmp" 5081 mv "conftest.tmp" "conftest.in" 5082 cp "conftest.in" "conftest.nl" 5083 $as_echo '' >> "conftest.nl" 5084 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 5085 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5086 as_fn_arith $ac_count + 1 && ac_count=$as_val 5087 if test $ac_count -gt ${ac_path_SED_max-0}; then 5088 # Best one so far, save it but keep looking for a better one 5089 ac_cv_path_SED="$ac_path_SED" 5090 ac_path_SED_max=$ac_count 5091 fi 5092 # 10*(2^10) chars as input seems more than enough 5093 test $ac_count -gt 10 && break 5094 done 5095 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5096 esac 5097 5098 $ac_path_SED_found && break 3 5099 done 5100 done 5101 done 5102 IFS=$as_save_IFS 5103 if test -z "$ac_cv_path_SED"; then 5104 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5 5105 fi 5106 else 5107 ac_cv_path_SED=$SED 5108 fi 5109 5110 fi 5111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 5112 $as_echo "$ac_cv_path_SED" >&6; } 5113 SED="$ac_cv_path_SED" 5114 rm -f conftest.sed 5115 5116 test -z "$SED" && SED=sed 5117 Xsed="$SED -e 1s/^X//" 5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 5130 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 5131 if test "${ac_cv_path_GREP+set}" = set; then : 5132 $as_echo_n "(cached) " >&6 5133 else 5134 if test -z "$GREP"; then 5135 ac_path_GREP_found=false 5136 # Loop through the user's path and test for each of PROGNAME-LIST 5137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5138 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5139 do 5140 IFS=$as_save_IFS 5141 test -z "$as_dir" && as_dir=. 5142 for ac_prog in grep ggrep; do 5143 for ac_exec_ext in '' $ac_executable_extensions; do 5144 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 5145 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 5146 # Check for GNU ac_path_GREP and select it if it is found. 5147 # Check for GNU $ac_path_GREP 5148 case `"$ac_path_GREP" --version 2>&1` in 5149 *GNU*) 5150 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 5151 *) 5152 ac_count=0 5153 $as_echo_n 0123456789 >"conftest.in" 5154 while : 5155 do 5156 cat "conftest.in" "conftest.in" >"conftest.tmp" 5157 mv "conftest.tmp" "conftest.in" 5158 cp "conftest.in" "conftest.nl" 5159 $as_echo 'GREP' >> "conftest.nl" 5160 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 5161 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5162 as_fn_arith $ac_count + 1 && ac_count=$as_val 5163 if test $ac_count -gt ${ac_path_GREP_max-0}; then 5164 # Best one so far, save it but keep looking for a better one 5165 ac_cv_path_GREP="$ac_path_GREP" 5166 ac_path_GREP_max=$ac_count 5167 fi 5168 # 10*(2^10) chars as input seems more than enough 5169 test $ac_count -gt 10 && break 5170 done 5171 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5172 esac 5173 5174 $ac_path_GREP_found && break 3 5175 done 5176 done 5177 done 5178 IFS=$as_save_IFS 5179 if test -z "$ac_cv_path_GREP"; then 5180 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5181 fi 5182 else 5183 ac_cv_path_GREP=$GREP 5184 fi 5185 5186 fi 5187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 5188 $as_echo "$ac_cv_path_GREP" >&6; } 5189 GREP="$ac_cv_path_GREP" 5190 5191 5192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 5193 $as_echo_n "checking for egrep... " >&6; } 5194 if test "${ac_cv_path_EGREP+set}" = set; then : 5195 $as_echo_n "(cached) " >&6 5196 else 5197 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 5198 then ac_cv_path_EGREP="$GREP -E" 5199 else 5200 if test -z "$EGREP"; then 5201 ac_path_EGREP_found=false 5202 # Loop through the user's path and test for each of PROGNAME-LIST 5203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5204 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5205 do 5206 IFS=$as_save_IFS 5207 test -z "$as_dir" && as_dir=. 5208 for ac_prog in egrep; do 5209 for ac_exec_ext in '' $ac_executable_extensions; do 5210 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 5211 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 5212 # Check for GNU ac_path_EGREP and select it if it is found. 5213 # Check for GNU $ac_path_EGREP 5214 case `"$ac_path_EGREP" --version 2>&1` in 5215 *GNU*) 5216 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 5217 *) 5218 ac_count=0 5219 $as_echo_n 0123456789 >"conftest.in" 5220 while : 5221 do 5222 cat "conftest.in" "conftest.in" >"conftest.tmp" 5223 mv "conftest.tmp" "conftest.in" 5224 cp "conftest.in" "conftest.nl" 5225 $as_echo 'EGREP' >> "conftest.nl" 5226 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 5227 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5228 as_fn_arith $ac_count + 1 && ac_count=$as_val 5229 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 5230 # Best one so far, save it but keep looking for a better one 5231 ac_cv_path_EGREP="$ac_path_EGREP" 5232 ac_path_EGREP_max=$ac_count 5233 fi 5234 # 10*(2^10) chars as input seems more than enough 5235 test $ac_count -gt 10 && break 5236 done 5237 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5238 esac 5239 5240 $ac_path_EGREP_found && break 3 5241 done 5242 done 5243 done 5244 IFS=$as_save_IFS 5245 if test -z "$ac_cv_path_EGREP"; then 5246 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5247 fi 5248 else 5249 ac_cv_path_EGREP=$EGREP 5250 fi 5251 5252 fi 5253 fi 5254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 5255 $as_echo "$ac_cv_path_EGREP" >&6; } 5256 EGREP="$ac_cv_path_EGREP" 5257 5258 5259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 5260 $as_echo_n "checking for fgrep... " >&6; } 5261 if test "${ac_cv_path_FGREP+set}" = set; then : 5262 $as_echo_n "(cached) " >&6 5263 else 5264 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 5265 then ac_cv_path_FGREP="$GREP -F" 5266 else 5267 if test -z "$FGREP"; then 5268 ac_path_FGREP_found=false 5269 # Loop through the user's path and test for each of PROGNAME-LIST 5270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5271 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5272 do 5273 IFS=$as_save_IFS 5274 test -z "$as_dir" && as_dir=. 5275 for ac_prog in fgrep; do 5276 for ac_exec_ext in '' $ac_executable_extensions; do 5277 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 5278 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue 5279 # Check for GNU ac_path_FGREP and select it if it is found. 5280 # Check for GNU $ac_path_FGREP 5281 case `"$ac_path_FGREP" --version 2>&1` in 5282 *GNU*) 5283 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 5284 *) 5285 ac_count=0 5286 $as_echo_n 0123456789 >"conftest.in" 5287 while : 5288 do 5289 cat "conftest.in" "conftest.in" >"conftest.tmp" 5290 mv "conftest.tmp" "conftest.in" 5291 cp "conftest.in" "conftest.nl" 5292 $as_echo 'FGREP' >> "conftest.nl" 5293 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 5294 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5295 as_fn_arith $ac_count + 1 && ac_count=$as_val 5296 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 5297 # Best one so far, save it but keep looking for a better one 5298 ac_cv_path_FGREP="$ac_path_FGREP" 5299 ac_path_FGREP_max=$ac_count 5300 fi 5301 # 10*(2^10) chars as input seems