1 #! /bin/sh 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.65 for Valgrind 3.6.1. 4 # 5 # Report bugs to <valgrind-users (at] lists.sourceforge.net>. 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: valgrind-users (at] lists.sourceforge.net 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 test -n "$DJDIR" || exec 7<&0 </dev/null 533 exec 6>&1 534 535 # Name of the host. 536 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 537 # so uname gets run too. 538 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 539 540 # 541 # Initializations. 542 # 543 ac_default_prefix=/usr/local 544 ac_clean_files= 545 ac_config_libobj_dir=. 546 LIBOBJS= 547 cross_compiling=no 548 subdirs= 549 MFLAGS= 550 MAKEFLAGS= 551 552 # Identity of this package. 553 PACKAGE_NAME='Valgrind' 554 PACKAGE_TARNAME='valgrind' 555 PACKAGE_VERSION='3.6.1' 556 PACKAGE_STRING='Valgrind 3.6.1' 557 PACKAGE_BUGREPORT='valgrind-users@lists.sourceforge.net' 558 PACKAGE_URL='' 559 560 ac_unique_file="coregrind/m_main.c" 561 # Factoring default headers for most tests. 562 ac_includes_default="\ 563 #include <stdio.h> 564 #ifdef HAVE_SYS_TYPES_H 565 # include <sys/types.h> 566 #endif 567 #ifdef HAVE_SYS_STAT_H 568 # include <sys/stat.h> 569 #endif 570 #ifdef STDC_HEADERS 571 # include <stdlib.h> 572 # include <stddef.h> 573 #else 574 # ifdef HAVE_STDLIB_H 575 # include <stdlib.h> 576 # endif 577 #endif 578 #ifdef HAVE_STRING_H 579 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H 580 # include <memory.h> 581 # endif 582 # include <string.h> 583 #endif 584 #ifdef HAVE_STRINGS_H 585 # include <strings.h> 586 #endif 587 #ifdef HAVE_INTTYPES_H 588 # include <inttypes.h> 589 #endif 590 #ifdef HAVE_STDINT_H 591 # include <stdint.h> 592 #endif 593 #ifdef HAVE_UNISTD_H 594 # include <unistd.h> 595 #endif" 596 597 ac_header_list= 598 ac_subst_vars='am__EXEEXT_FALSE 599 am__EXEEXT_TRUE 600 LTLIBOBJS 601 HAVE_BUILTIN_ATOMIC_FALSE 602 HAVE_BUILTIN_ATOMIC_TRUE 603 HAVE_OPENMP_FALSE 604 HAVE_OPENMP_TRUE 605 HAVE_BOOST_1_35_FALSE 606 HAVE_BOOST_1_35_TRUE 607 BOOST_LIBS 608 BOOST_CFLAGS 609 HAVE_QTCORE_QATOMICINT_FALSE 610 HAVE_QTCORE_QATOMICINT_TRUE 611 HAVE_QTCORE_FALSE 612 HAVE_QTCORE_TRUE 613 QTCORE_LIBS 614 QTCORE_CFLAGS 615 PKG_CONFIG 616 BUILD_MPIWRAP_SEC_FALSE 617 BUILD_MPIWRAP_SEC_TRUE 618 BUILD_MPIWRAP_PRI_FALSE 619 BUILD_MPIWRAP_PRI_TRUE 620 MPI_CC 621 HAVE_PTHREAD_SPINLOCK_FALSE 622 HAVE_PTHREAD_SPINLOCK_TRUE 623 HAVE_PTHREAD_MUTEX_TIMEDLOCK_FALSE 624 HAVE_PTHREAD_MUTEX_TIMEDLOCK_TRUE 625 HAVE_PTHREAD_BARRIER_FALSE 626 HAVE_PTHREAD_BARRIER_TRUE 627 LIBOBJS 628 BUILD_LZCNT_TESTS_FALSE 629 BUILD_LZCNT_TESTS_TRUE 630 BUILD_PCLMULQDQ_TESTS_FALSE 631 BUILD_PCLMULQDQ_TESTS_TRUE 632 BUILD_SSSE3_TESTS_FALSE 633 BUILD_SSSE3_TESTS_TRUE 634 BUILD_SSE3_TESTS_FALSE 635 BUILD_SSE3_TESTS_TRUE 636 FLAG_NO_BUILD_ID 637 FLAG_UNLIMITED_INLINE_UNIT_GROWTH 638 FLAG_FNO_STACK_PROTECTOR 639 FLAG_W_EXTRA 640 FLAG_W_NO_UNINITIALIZED 641 FLAG_W_NO_FORMAT_ZERO_LENGTH 642 FLAG_W_NO_EMPTY_BODY 643 PREFERRED_STACK_BOUNDARY 644 FLAG_MSSE 645 FLAG_MMMX 646 FLAG_MAIX64 647 FLAG_M64 648 FLAG_MAIX32 649 FLAG_M32 650 HAVE_PTHREAD_CREATE_GLIBC_2_0_FALSE 651 HAVE_PTHREAD_CREATE_GLIBC_2_0_TRUE 652 HAS_ALTIVEC_FALSE 653 HAS_ALTIVEC_TRUE 654 GLIBC_VERSION 655 EGREP 656 GREP 657 DEFAULT_SUPP 658 VALT_LOAD_ADDRESS_SEC 659 VALT_LOAD_ADDRESS_PRI 660 VGCONF_HAVE_PLATFORM_SEC_FALSE 661 VGCONF_HAVE_PLATFORM_SEC_TRUE 662 VGCONF_OS_IS_DARWIN_FALSE 663 VGCONF_OS_IS_DARWIN_TRUE 664 VGCONF_OS_IS_AIX5_FALSE 665 VGCONF_OS_IS_AIX5_TRUE 666 VGCONF_OS_IS_LINUX_FALSE 667 VGCONF_OS_IS_LINUX_TRUE 668 VGCONF_PLATFORMS_INCLUDE_AMD64_DARWIN_FALSE 669 VGCONF_PLATFORMS_INCLUDE_AMD64_DARWIN_TRUE 670 VGCONF_PLATFORMS_INCLUDE_X86_DARWIN_FALSE 671 VGCONF_PLATFORMS_INCLUDE_X86_DARWIN_TRUE 672 VGCONF_PLATFORMS_INCLUDE_PPC64_AIX5_FALSE 673 VGCONF_PLATFORMS_INCLUDE_PPC64_AIX5_TRUE 674 VGCONF_PLATFORMS_INCLUDE_PPC32_AIX5_FALSE 675 VGCONF_PLATFORMS_INCLUDE_PPC32_AIX5_TRUE 676 VGCONF_PLATFORMS_INCLUDE_ARM_LINUX_FALSE 677 VGCONF_PLATFORMS_INCLUDE_ARM_LINUX_TRUE 678 VGCONF_PLATFORMS_INCLUDE_PPC64_LINUX_FALSE 679 VGCONF_PLATFORMS_INCLUDE_PPC64_LINUX_TRUE 680 VGCONF_PLATFORMS_INCLUDE_PPC32_LINUX_FALSE 681 VGCONF_PLATFORMS_INCLUDE_PPC32_LINUX_TRUE 682 VGCONF_PLATFORMS_INCLUDE_AMD64_LINUX_FALSE 683 VGCONF_PLATFORMS_INCLUDE_AMD64_LINUX_TRUE 684 VGCONF_PLATFORMS_INCLUDE_X86_LINUX_FALSE 685 VGCONF_PLATFORMS_INCLUDE_X86_LINUX_TRUE 686 VGCONF_ARCHS_INCLUDE_ARM_FALSE 687 VGCONF_ARCHS_INCLUDE_ARM_TRUE 688 VGCONF_ARCHS_INCLUDE_PPC64_FALSE 689 VGCONF_ARCHS_INCLUDE_PPC64_TRUE 690 VGCONF_ARCHS_INCLUDE_PPC32_FALSE 691 VGCONF_ARCHS_INCLUDE_PPC32_TRUE 692 VGCONF_ARCHS_INCLUDE_AMD64_FALSE 693 VGCONF_ARCHS_INCLUDE_AMD64_TRUE 694 VGCONF_ARCHS_INCLUDE_X86_FALSE 695 VGCONF_ARCHS_INCLUDE_X86_TRUE 696 VGCONF_PLATFORM_SEC_CAPS 697 VGCONF_PLATFORM_PRI_CAPS 698 VGCONF_ARCH_SEC 699 VGCONF_ARCH_PRI 700 VGCONF_OS 701 host_os 702 host_vendor 703 host_cpu 704 host 705 build_os 706 build_vendor 707 build_cpu 708 build 709 DIFF 710 am__fastdepCCAS_FALSE 711 am__fastdepCCAS_TRUE 712 CCASDEPMODE 713 CCASFLAGS 714 CCAS 715 GDB 716 PERL 717 AR 718 SED 719 RANLIB 720 am__fastdepCXX_FALSE 721 am__fastdepCXX_TRUE 722 CXXDEPMODE 723 ac_ct_CXX 724 CXXFLAGS 725 CXX 726 CPP 727 am__fastdepCC_FALSE 728 am__fastdepCC_TRUE 729 CCDEPMODE 730 AMDEPBACKSLASH 731 AMDEP_FALSE 732 AMDEP_TRUE 733 am__quote 734 am__include 735 DEPDIR 736 OBJEXT 737 EXEEXT 738 ac_ct_CC 739 CPPFLAGS 740 LDFLAGS 741 CFLAGS 742 CC 743 LN_S 744 MAINT 745 MAINTAINER_MODE_FALSE 746 MAINTAINER_MODE_TRUE 747 am__untar 748 am__tar 749 AMTAR 750 am__leading_dot 751 SET_MAKE 752 AWK 753 mkdir_p 754 MKDIR_P 755 INSTALL_STRIP_PROGRAM 756 STRIP 757 install_sh 758 MAKEINFO 759 AUTOHEADER 760 AUTOMAKE 761 AUTOCONF 762 ACLOCAL 763 VERSION 764 PACKAGE 765 CYGPATH_W 766 am__isrc 767 INSTALL_DATA 768 INSTALL_SCRIPT 769 INSTALL_PROGRAM 770 target_alias 771 host_alias 772 build_alias 773 LIBS 774 ECHO_T 775 ECHO_N 776 ECHO_C 777 DEFS 778 mandir 779 localedir 780 libdir 781 psdir 782 pdfdir 783 dvidir 784 htmldir 785 infodir 786 docdir 787 oldincludedir 788 includedir 789 localstatedir 790 sharedstatedir 791 sysconfdir 792 datadir 793 datarootdir 794 libexecdir 795 sbindir 796 bindir 797 program_transform_name 798 prefix 799 exec_prefix 800 PACKAGE_URL 801 PACKAGE_BUGREPORT 802 PACKAGE_STRING 803 PACKAGE_VERSION 804 PACKAGE_TARNAME 805 PACKAGE_NAME 806 PATH_SEPARATOR 807 SHELL' 808 ac_subst_files='' 809 ac_user_opts=' 810 enable_option_checking 811 enable_maintainer_mode 812 enable_dependency_tracking 813 enable_only64bit 814 enable_only32bit 815 enable_inner 816 enable_tls 817 with_mpicc 818 ' 819 ac_precious_vars='build_alias 820 host_alias 821 target_alias 822 CC 823 CFLAGS 824 LDFLAGS 825 LIBS 826 CPPFLAGS 827 CPP 828 CXX 829 CXXFLAGS 830 CCC 831 AR 832 CCAS 833 CCASFLAGS 834 PKG_CONFIG 835 QTCORE_CFLAGS 836 QTCORE_LIBS' 837 838 839 # Initialize some variables set by options. 840 ac_init_help= 841 ac_init_version=false 842 ac_unrecognized_opts= 843 ac_unrecognized_sep= 844 # The variables have the same names as the options, with 845 # dashes changed to underlines. 846 cache_file=/dev/null 847 exec_prefix=NONE 848 no_create= 849 no_recursion= 850 prefix=NONE 851 program_prefix=NONE 852 program_suffix=NONE 853 program_transform_name=s,x,x, 854 silent= 855 site= 856 srcdir= 857 verbose= 858 x_includes=NONE 859 x_libraries=NONE 860 861 # Installation directory options. 862 # These are left unexpanded so users can "make install exec_prefix=/foo" 863 # and all the variables that are supposed to be based on exec_prefix 864 # by default will actually change. 865 # Use braces instead of parens because sh, perl, etc. also accept them. 866 # (The list follows the same order as the GNU Coding Standards.) 867 bindir='${exec_prefix}/bin' 868 sbindir='${exec_prefix}/sbin' 869 libexecdir='${exec_prefix}/libexec' 870 datarootdir='${prefix}/share' 871 datadir='${datarootdir}' 872 sysconfdir='${prefix}/etc' 873 sharedstatedir='${prefix}/com' 874 localstatedir='${prefix}/var' 875 includedir='${prefix}/include' 876 oldincludedir='/usr/include' 877 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 878 infodir='${datarootdir}/info' 879 htmldir='${docdir}' 880 dvidir='${docdir}' 881 pdfdir='${docdir}' 882 psdir='${docdir}' 883 libdir='${exec_prefix}/lib' 884 localedir='${datarootdir}/locale' 885 mandir='${datarootdir}/man' 886 887 ac_prev= 888 ac_dashdash= 889 for ac_option 890 do 891 # If the previous option needs an argument, assign it. 892 if test -n "$ac_prev"; then 893 eval $ac_prev=\$ac_option 894 ac_prev= 895 continue 896 fi 897 898 case $ac_option in 899 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 900 *) ac_optarg=yes ;; 901 esac 902 903 # Accept the important Cygnus configure options, so we can diagnose typos. 904 905 case $ac_dashdash$ac_option in 906 --) 907 ac_dashdash=yes ;; 908 909 -bindir | --bindir | --bindi | --bind | --bin | --bi) 910 ac_prev=bindir ;; 911 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 912 bindir=$ac_optarg ;; 913 914 -build | --build | --buil | --bui | --bu) 915 ac_prev=build_alias ;; 916 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 917 build_alias=$ac_optarg ;; 918 919 -cache-file | --cache-file | --cache-fil | --cache-fi \ 920 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 921 ac_prev=cache_file ;; 922 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 923 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 924 cache_file=$ac_optarg ;; 925 926 --config-cache | -C) 927 cache_file=config.cache ;; 928 929 -datadir | --datadir | --datadi | --datad) 930 ac_prev=datadir ;; 931 -datadir=* | --datadir=* | --datadi=* | --datad=*) 932 datadir=$ac_optarg ;; 933 934 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 935 | --dataroo | --dataro | --datar) 936 ac_prev=datarootdir ;; 937 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 938 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 939 datarootdir=$ac_optarg ;; 940 941 -disable-* | --disable-*) 942 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 943 # Reject names that are not valid shell variable names. 944 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 945 as_fn_error "invalid feature name: $ac_useropt" 946 ac_useropt_orig=$ac_useropt 947 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 948 case $ac_user_opts in 949 *" 950 "enable_$ac_useropt" 951 "*) ;; 952 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 953 ac_unrecognized_sep=', ';; 954 esac 955 eval enable_$ac_useropt=no ;; 956 957 -docdir | --docdir | --docdi | --doc | --do) 958 ac_prev=docdir ;; 959 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 960 docdir=$ac_optarg ;; 961 962 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 963 ac_prev=dvidir ;; 964 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 965 dvidir=$ac_optarg ;; 966 967 -enable-* | --enable-*) 968 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 969 # Reject names that are not valid shell variable names. 970 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 971 as_fn_error "invalid feature name: $ac_useropt" 972 ac_useropt_orig=$ac_useropt 973 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 974 case $ac_user_opts in 975 *" 976 "enable_$ac_useropt" 977 "*) ;; 978 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 979 ac_unrecognized_sep=', ';; 980 esac 981 eval enable_$ac_useropt=\$ac_optarg ;; 982 983 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 984 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 985 | --exec | --exe | --ex) 986 ac_prev=exec_prefix ;; 987 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 988 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 989 | --exec=* | --exe=* | --ex=*) 990 exec_prefix=$ac_optarg ;; 991 992 -gas | --gas | --ga | --g) 993 # Obsolete; use --with-gas. 994 with_gas=yes ;; 995 996 -help | --help | --hel | --he | -h) 997 ac_init_help=long ;; 998 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 999 ac_init_help=recursive ;; 1000 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 1001 ac_init_help=short ;; 1002 1003 -host | --host | --hos | --ho) 1004 ac_prev=host_alias ;; 1005 -host=* | --host=* | --hos=* | --ho=*) 1006 host_alias=$ac_optarg ;; 1007 1008 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 1009 ac_prev=htmldir ;; 1010 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 1011 | --ht=*) 1012 htmldir=$ac_optarg ;; 1013 1014 -includedir | --includedir | --includedi | --included | --include \ 1015 | --includ | --inclu | --incl | --inc) 1016 ac_prev=includedir ;; 1017 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 1018 | --includ=* | --inclu=* | --incl=* | --inc=*) 1019 includedir=$ac_optarg ;; 1020 1021 -infodir | --infodir | --infodi | --infod | --info | --inf) 1022 ac_prev=infodir ;; 1023 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 1024 infodir=$ac_optarg ;; 1025 1026 -libdir | --libdir | --libdi | --libd) 1027 ac_prev=libdir ;; 1028 -libdir=* | --libdir=* | --libdi=* | --libd=*) 1029 libdir=$ac_optarg ;; 1030 1031 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1032 | --libexe | --libex | --libe) 1033 ac_prev=libexecdir ;; 1034 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1035 | --libexe=* | --libex=* | --libe=*) 1036 libexecdir=$ac_optarg ;; 1037 1038 -localedir | --localedir | --localedi | --localed | --locale) 1039 ac_prev=localedir ;; 1040 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1041 localedir=$ac_optarg ;; 1042 1043 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1044 | --localstate | --localstat | --localsta | --localst | --locals) 1045 ac_prev=localstatedir ;; 1046 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1047 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1048 localstatedir=$ac_optarg ;; 1049 1050 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1051 ac_prev=mandir ;; 1052 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1053 mandir=$ac_optarg ;; 1054 1055 -nfp | --nfp | --nf) 1056 # Obsolete; use --without-fp. 1057 with_fp=no ;; 1058 1059 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1060 | --no-cr | --no-c | -n) 1061 no_create=yes ;; 1062 1063 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1064 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1065 no_recursion=yes ;; 1066 1067 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1068 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1069 | --oldin | --oldi | --old | --ol | --o) 1070 ac_prev=oldincludedir ;; 1071 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1072 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1073 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1074 oldincludedir=$ac_optarg ;; 1075 1076 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1077 ac_prev=prefix ;; 1078 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1079 prefix=$ac_optarg ;; 1080 1081 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1082 | --program-pre | --program-pr | --program-p) 1083 ac_prev=program_prefix ;; 1084 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1085 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1086 program_prefix=$ac_optarg ;; 1087 1088 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1089 | --program-suf | --program-su | --program-s) 1090 ac_prev=program_suffix ;; 1091 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1092 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1093 program_suffix=$ac_optarg ;; 1094 1095 -program-transform-name | --program-transform-name \ 1096 | --program-transform-nam | --program-transform-na \ 1097 | --program-transform-n | --program-transform- \ 1098 | --program-transform | --program-transfor \ 1099 | --program-transfo | --program-transf \ 1100 | --program-trans | --program-tran \ 1101 | --progr-tra | --program-tr | --program-t) 1102 ac_prev=program_transform_name ;; 1103 -program-transform-name=* | --program-transform-name=* \ 1104 | --program-transform-nam=* | --program-transform-na=* \ 1105 | --program-transform-n=* | --program-transform-=* \ 1106 | --program-transform=* | --program-transfor=* \ 1107 | --program-transfo=* | --program-transf=* \ 1108 | --program-trans=* | --program-tran=* \ 1109 | --progr-tra=* | --program-tr=* | --program-t=*) 1110 program_transform_name=$ac_optarg ;; 1111 1112 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1113 ac_prev=pdfdir ;; 1114 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1115 pdfdir=$ac_optarg ;; 1116 1117 -psdir | --psdir | --psdi | --psd | --ps) 1118 ac_prev=psdir ;; 1119 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1120 psdir=$ac_optarg ;; 1121 1122 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1123 | -silent | --silent | --silen | --sile | --sil) 1124 silent=yes ;; 1125 1126 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1127 ac_prev=sbindir ;; 1128 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1129 | --sbi=* | --sb=*) 1130 sbindir=$ac_optarg ;; 1131 1132 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1133 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1134 | --sharedst | --shareds | --shared | --share | --shar \ 1135 | --sha | --sh) 1136 ac_prev=sharedstatedir ;; 1137 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1138 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1139 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1140 | --sha=* | --sh=*) 1141 sharedstatedir=$ac_optarg ;; 1142 1143 -site | --site | --sit) 1144 ac_prev=site ;; 1145 -site=* | --site=* | --sit=*) 1146 site=$ac_optarg ;; 1147 1148 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1149 ac_prev=srcdir ;; 1150 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1151 srcdir=$ac_optarg ;; 1152 1153 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1154 | --syscon | --sysco | --sysc | --sys | --sy) 1155 ac_prev=sysconfdir ;; 1156 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1157 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1158 sysconfdir=$ac_optarg ;; 1159 1160 -target | --target | --targe | --targ | --tar | --ta | --t) 1161 ac_prev=target_alias ;; 1162 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1163 target_alias=$ac_optarg ;; 1164 1165 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1166 verbose=yes ;; 1167 1168 -version | --version | --versio | --versi | --vers | -V) 1169 ac_init_version=: ;; 1170 1171 -with-* | --with-*) 1172 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1173 # Reject names that are not valid shell variable names. 1174 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1175 as_fn_error "invalid package name: $ac_useropt" 1176 ac_useropt_orig=$ac_useropt 1177 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1178 case $ac_user_opts in 1179 *" 1180 "with_$ac_useropt" 1181 "*) ;; 1182 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1183 ac_unrecognized_sep=', ';; 1184 esac 1185 eval with_$ac_useropt=\$ac_optarg ;; 1186 1187 -without-* | --without-*) 1188 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1189 # Reject names that are not valid shell variable names. 1190 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1191 as_fn_error "invalid package name: $ac_useropt" 1192 ac_useropt_orig=$ac_useropt 1193 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1194 case $ac_user_opts in 1195 *" 1196 "with_$ac_useropt" 1197 "*) ;; 1198 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1199 ac_unrecognized_sep=', ';; 1200 esac 1201 eval with_$ac_useropt=no ;; 1202 1203 --x) 1204 # Obsolete; use --with-x. 1205 with_x=yes ;; 1206 1207 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1208 | --x-incl | --x-inc | --x-in | --x-i) 1209 ac_prev=x_includes ;; 1210 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1211 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1212 x_includes=$ac_optarg ;; 1213 1214 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1215 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1216 ac_prev=x_libraries ;; 1217 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1218 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1219 x_libraries=$ac_optarg ;; 1220 1221 -*) as_fn_error "unrecognized option: \`$ac_option' 1222 Try \`$0 --help' for more information." 1223 ;; 1224 1225 *=*) 1226 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1227 # Reject names that are not valid shell variable names. 1228 case $ac_envvar in #( 1229 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1230 as_fn_error "invalid variable name: \`$ac_envvar'" ;; 1231 esac 1232 eval $ac_envvar=\$ac_optarg 1233 export $ac_envvar ;; 1234 1235 *) 1236 # FIXME: should be removed in autoconf 3.0. 1237 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1238 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1239 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1240 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1241 ;; 1242 1243 esac 1244 done 1245 1246 if test -n "$ac_prev"; then 1247 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1248 as_fn_error "missing argument to $ac_option" 1249 fi 1250 1251 if test -n "$ac_unrecognized_opts"; then 1252 case $enable_option_checking in 1253 no) ;; 1254 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; 1255 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1256 esac 1257 fi 1258 1259 # Check all directory arguments for consistency. 1260 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1261 datadir sysconfdir sharedstatedir localstatedir includedir \ 1262 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1263 libdir localedir mandir 1264 do 1265 eval ac_val=\$$ac_var 1266 # Remove trailing slashes. 1267 case $ac_val in 1268 */ ) 1269 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1270 eval $ac_var=\$ac_val;; 1271 esac 1272 # Be sure to have absolute directory names. 1273 case $ac_val in 1274 [\\/$]* | ?:[\\/]* ) continue;; 1275 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1276 esac 1277 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" 1278 done 1279 1280 # There might be people who depend on the old broken behavior: `$host' 1281 # used to hold the argument of --host etc. 1282 # FIXME: To remove some day. 1283 build=$build_alias 1284 host=$host_alias 1285 target=$target_alias 1286 1287 # FIXME: To remove some day. 1288 if test "x$host_alias" != x; then 1289 if test "x$build_alias" = x; then 1290 cross_compiling=maybe 1291 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1292 If a cross compiler is detected then cross compile mode will be used." >&2 1293 elif test "x$build_alias" != "x$host_alias"; then 1294 cross_compiling=yes 1295 fi 1296 fi 1297 1298 ac_tool_prefix= 1299 test -n "$host_alias" && ac_tool_prefix=$host_alias- 1300 1301 test "$silent" = yes && exec 6>/dev/null 1302 1303 1304 ac_pwd=`pwd` && test -n "$ac_pwd" && 1305 ac_ls_di=`ls -di .` && 1306 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1307 as_fn_error "working directory cannot be determined" 1308 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1309 as_fn_error "pwd does not report name of working directory" 1310 1311 1312 # Find the source files, if location was not specified. 1313 if test -z "$srcdir"; then 1314 ac_srcdir_defaulted=yes 1315 # Try the directory containing this script, then the parent directory. 1316 ac_confdir=`$as_dirname -- "$as_myself" || 1317 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1318 X"$as_myself" : 'X\(//\)[^/]' \| \ 1319 X"$as_myself" : 'X\(//\)$' \| \ 1320 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1321 $as_echo X"$as_myself" | 1322 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1323 s//\1/ 1324 q 1325 } 1326 /^X\(\/\/\)[^/].*/{ 1327 s//\1/ 1328 q 1329 } 1330 /^X\(\/\/\)$/{ 1331 s//\1/ 1332 q 1333 } 1334 /^X\(\/\).*/{ 1335 s//\1/ 1336 q 1337 } 1338 s/.*/./; q'` 1339 srcdir=$ac_confdir 1340 if test ! -r "$srcdir/$ac_unique_file"; then 1341 srcdir=.. 1342 fi 1343 else 1344 ac_srcdir_defaulted=no 1345 fi 1346 if test ! -r "$srcdir/$ac_unique_file"; then 1347 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1348 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" 1349 fi 1350 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1351 ac_abs_confdir=`( 1352 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" 1353 pwd)` 1354 # When building in place, set srcdir=. 1355 if test "$ac_abs_confdir" = "$ac_pwd"; then 1356 srcdir=. 1357 fi 1358 # Remove unnecessary trailing slashes from srcdir. 1359 # Double slashes in file names in object file debugging info 1360 # mess up M-x gdb in Emacs. 1361 case $srcdir in 1362 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1363 esac 1364 for ac_var in $ac_precious_vars; do 1365 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1366 eval ac_env_${ac_var}_value=\$${ac_var} 1367 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1368 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1369 done 1370 1371 # 1372 # Report the --help message. 1373 # 1374 if test "$ac_init_help" = "long"; then 1375 # Omit some internal or obsolete options to make the list less imposing. 1376 # This message is too long to be a string in the A/UX 3.1 sh. 1377 cat <<_ACEOF 1378 \`configure' configures Valgrind 3.6.1 to adapt to many kinds of systems. 1379 1380 Usage: $0 [OPTION]... [VAR=VALUE]... 1381 1382 To assign environment variables (e.g., CC, CFLAGS...), specify them as 1383 VAR=VALUE. See below for descriptions of some of the useful variables. 1384 1385 Defaults for the options are specified in brackets. 1386 1387 Configuration: 1388 -h, --help display this help and exit 1389 --help=short display options specific to this package 1390 --help=recursive display the short help of all the included packages 1391 -V, --version display version information and exit 1392 -q, --quiet, --silent do not print \`checking...' messages 1393 --cache-file=FILE cache test results in FILE [disabled] 1394 -C, --config-cache alias for \`--cache-file=config.cache' 1395 -n, --no-create do not create output files 1396 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1397 1398 Installation directories: 1399 --prefix=PREFIX install architecture-independent files in PREFIX 1400 [$ac_default_prefix] 1401 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1402 [PREFIX] 1403 1404 By default, \`make install' will install all the files in 1405 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1406 an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1407 for instance \`--prefix=\$HOME'. 1408 1409 For better control, use the options below. 1410 1411 Fine tuning of the installation directories: 1412 --bindir=DIR user executables [EPREFIX/bin] 1413 --sbindir=DIR system admin executables [EPREFIX/sbin] 1414 --libexecdir=DIR program executables [EPREFIX/libexec] 1415 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1416 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1417 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1418 --libdir=DIR object code libraries [EPREFIX/lib] 1419 --includedir=DIR C header files [PREFIX/include] 1420 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1421 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1422 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1423 --infodir=DIR info documentation [DATAROOTDIR/info] 1424 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1425 --mandir=DIR man documentation [DATAROOTDIR/man] 1426 --docdir=DIR documentation root [DATAROOTDIR/doc/valgrind] 1427 --htmldir=DIR html documentation [DOCDIR] 1428 --dvidir=DIR dvi documentation [DOCDIR] 1429 --pdfdir=DIR pdf documentation [DOCDIR] 1430 --psdir=DIR ps documentation [DOCDIR] 1431 _ACEOF 1432 1433 cat <<\_ACEOF 1434 1435 Program names: 1436 --program-prefix=PREFIX prepend PREFIX to installed program names 1437 --program-suffix=SUFFIX append SUFFIX to installed program names 1438 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1439 1440 System types: 1441 --build=BUILD configure for building on BUILD [guessed] 1442 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1443 _ACEOF 1444 fi 1445 1446 if test -n "$ac_init_help"; then 1447 case $ac_init_help in 1448 short | recursive ) echo "Configuration of Valgrind 3.6.1:";; 1449 esac 1450 cat <<\_ACEOF 1451 1452 Optional Features: 1453 --disable-option-checking ignore unrecognized --enable/--with options 1454 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1455 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1456 --enable-maintainer-mode enable make rules and dependencies not useful 1457 (and sometimes confusing) to the casual installer 1458 --disable-dependency-tracking speeds up one-time build 1459 --enable-dependency-tracking do not reject slow dependency extractors 1460 --enable-only64bit do a 64-bit only build 1461 --enable-only32bit do a 32-bit only build 1462 --enable-inner enables self-hosting 1463 --enable-tls platform supports TLS 1464 1465 Optional Packages: 1466 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1467 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1468 --with-mpicc= Specify name of MPI2-ised C compiler 1469 1470 Some influential environment variables: 1471 CC C compiler command 1472 CFLAGS C compiler flags 1473 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1474 nonstandard directory <lib dir> 1475 LIBS libraries to pass to the linker, e.g. -l<library> 1476 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1477 you have headers in a nonstandard directory <include dir> 1478 CPP C preprocessor 1479 CXX C++ compiler command 1480 CXXFLAGS C++ compiler flags 1481 AR Archiver command 1482 CCAS assembler compiler command (defaults to CC) 1483 CCASFLAGS assembler compiler flags (defaults to CFLAGS) 1484 PKG_CONFIG path to pkg-config utility 1485 QTCORE_CFLAGS 1486 C compiler flags for QTCORE, overriding pkg-config 1487 QTCORE_LIBS linker flags for QTCORE, overriding pkg-config 1488 1489 Use these variables to override the choices made by `configure' or to help 1490 it to find libraries and programs with nonstandard names/locations. 1491 1492 Report bugs to <valgrind-users@lists.sourceforge.net>. 1493 _ACEOF 1494 ac_status=$? 1495 fi 1496 1497 if test "$ac_init_help" = "recursive"; then 1498 # If there are subdirs, report their specific --help. 1499 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1500 test -d "$ac_dir" || 1501 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1502 continue 1503 ac_builddir=. 1504 1505 case "$ac_dir" in 1506 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1507 *) 1508 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1509 # A ".." for each directory in $ac_dir_suffix. 1510 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1511 case $ac_top_builddir_sub in 1512 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1513 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1514 esac ;; 1515 esac 1516 ac_abs_top_builddir=$ac_pwd 1517 ac_abs_builddir=$ac_pwd$ac_dir_suffix 1518 # for backward compatibility: 1519 ac_top_builddir=$ac_top_build_prefix 1520 1521 case $srcdir in 1522 .) # We are building in place. 1523 ac_srcdir=. 1524 ac_top_srcdir=$ac_top_builddir_sub 1525 ac_abs_top_srcdir=$ac_pwd ;; 1526 [\\/]* | ?:[\\/]* ) # Absolute name. 1527 ac_srcdir=$srcdir$ac_dir_suffix; 1528 ac_top_srcdir=$srcdir 1529 ac_abs_top_srcdir=$srcdir ;; 1530 *) # Relative name. 1531 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1532 ac_top_srcdir=$ac_top_build_prefix$srcdir 1533 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1534 esac 1535 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1536 1537 cd "$ac_dir" || { ac_status=$?; continue; } 1538 # Check for guested configure. 1539 if test -f "$ac_srcdir/configure.gnu"; then 1540 echo && 1541 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1542 elif test -f "$ac_srcdir/configure"; then 1543 echo && 1544 $SHELL "$ac_srcdir/configure" --help=recursive 1545 else 1546 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1547 fi || ac_status=$? 1548 cd "$ac_pwd" || { ac_status=$?; break; } 1549 done 1550 fi 1551 1552 test -n "$ac_init_help" && exit $ac_status 1553 if $ac_init_version; then 1554 cat <<\_ACEOF 1555 Valgrind configure 3.6.1 1556 generated by GNU Autoconf 2.65 1557 1558 Copyright (C) 2009 Free Software Foundation, Inc. 1559 This configure script is free software; the Free Software Foundation 1560 gives unlimited permission to copy, distribute and modify it. 1561 _ACEOF 1562 exit 1563 fi 1564 1565 ## ------------------------ ## 1566 ## Autoconf initialization. ## 1567 ## ------------------------ ## 1568 1569 # ac_fn_c_try_compile LINENO 1570 # -------------------------- 1571 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1572 ac_fn_c_try_compile () 1573 { 1574 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1575 rm -f conftest.$ac_objext 1576 if { { ac_try="$ac_compile" 1577 case "(($ac_try" in 1578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1579 *) ac_try_echo=$ac_try;; 1580 esac 1581 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1582 $as_echo "$ac_try_echo"; } >&5 1583 (eval "$ac_compile") 2>conftest.err 1584 ac_status=$? 1585 if test -s conftest.err; then 1586 grep -v '^ *+' conftest.err >conftest.er1 1587 cat conftest.er1 >&5 1588 mv -f conftest.er1 conftest.err 1589 fi 1590 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1591 test $ac_status = 0; } && { 1592 test -z "$ac_c_werror_flag" || 1593 test ! -s conftest.err 1594 } && test -s conftest.$ac_objext; then : 1595 ac_retval=0 1596 else 1597 $as_echo "$as_me: failed program was:" >&5 1598 sed 's/^/| /' conftest.$ac_ext >&5 1599 1600 ac_retval=1 1601 fi 1602 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1603 as_fn_set_status $ac_retval 1604 1605 } # ac_fn_c_try_compile 1606 1607 # ac_fn_c_try_cpp LINENO 1608 # ---------------------- 1609 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1610 ac_fn_c_try_cpp () 1611 { 1612 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1613 if { { ac_try="$ac_cpp conftest.$ac_ext" 1614 case "(($ac_try" in 1615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1616 *) ac_try_echo=$ac_try;; 1617 esac 1618 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1619 $as_echo "$ac_try_echo"; } >&5 1620 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1621 ac_status=$? 1622 if test -s conftest.err; then 1623 grep -v '^ *+' conftest.err >conftest.er1 1624 cat conftest.er1 >&5 1625 mv -f conftest.er1 conftest.err 1626 fi 1627 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1628 test $ac_status = 0; } >/dev/null && { 1629 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1630 test ! -s conftest.err 1631 }; then : 1632 ac_retval=0 1633 else 1634 $as_echo "$as_me: failed program was:" >&5 1635 sed 's/^/| /' conftest.$ac_ext >&5 1636 1637 ac_retval=1 1638 fi 1639 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1640 as_fn_set_status $ac_retval 1641 1642 } # ac_fn_c_try_cpp 1643 1644 # ac_fn_cxx_try_compile LINENO 1645 # ---------------------------- 1646 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1647 ac_fn_cxx_try_compile () 1648 { 1649 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1650 rm -f conftest.$ac_objext 1651 if { { ac_try="$ac_compile" 1652 case "(($ac_try" in 1653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1654 *) ac_try_echo=$ac_try;; 1655 esac 1656 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1657 $as_echo "$ac_try_echo"; } >&5 1658 (eval "$ac_compile") 2>conftest.err 1659 ac_status=$? 1660 if test -s conftest.err; then 1661 grep -v '^ *+' conftest.err >conftest.er1 1662 cat conftest.er1 >&5 1663 mv -f conftest.er1 conftest.err 1664 fi 1665 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1666 test $ac_status = 0; } && { 1667 test -z "$ac_cxx_werror_flag" || 1668 test ! -s conftest.err 1669 } && test -s conftest.$ac_objext; then : 1670 ac_retval=0 1671 else 1672 $as_echo "$as_me: failed program was:" >&5 1673 sed 's/^/| /' conftest.$ac_ext >&5 1674 1675 ac_retval=1 1676 fi 1677 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1678 as_fn_set_status $ac_retval 1679 1680 } # ac_fn_cxx_try_compile 1681 1682 # ac_fn_c_try_link LINENO 1683 # ----------------------- 1684 # Try to link conftest.$ac_ext, and return whether this succeeded. 1685 ac_fn_c_try_link () 1686 { 1687 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1688 rm -f conftest.$ac_objext conftest$ac_exeext 1689 if { { ac_try="$ac_link" 1690 case "(($ac_try" in 1691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1692 *) ac_try_echo=$ac_try;; 1693 esac 1694 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1695 $as_echo "$ac_try_echo"; } >&5 1696 (eval "$ac_link") 2>conftest.err 1697 ac_status=$? 1698 if test -s conftest.err; then 1699 grep -v '^ *+' conftest.err >conftest.er1 1700 cat conftest.er1 >&5 1701 mv -f conftest.er1 conftest.err 1702 fi 1703 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1704 test $ac_status = 0; } && { 1705 test -z "$ac_c_werror_flag" || 1706 test ! -s conftest.err 1707 } && test -s conftest$ac_exeext && { 1708 test "$cross_compiling" = yes || 1709 $as_test_x conftest$ac_exeext 1710 }; then : 1711 ac_retval=0 1712 else 1713 $as_echo "$as_me: failed program was:" >&5 1714 sed 's/^/| /' conftest.$ac_ext >&5 1715 1716 ac_retval=1 1717 fi 1718 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1719 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1720 # interfere with the next link command; also delete a directory that is 1721 # left behind by Apple's compiler. We do this before executing the actions. 1722 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1723 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1724 as_fn_set_status $ac_retval 1725 1726 } # ac_fn_c_try_link 1727 1728 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1729 # ------------------------------------------------------- 1730 # Tests whether HEADER exists, giving a warning if it cannot be compiled using 1731 # the include files in INCLUDES and setting the cache variable VAR 1732 # accordingly. 1733 ac_fn_c_check_header_mongrel () 1734 { 1735 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1736 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1738 $as_echo_n "checking for $2... " >&6; } 1739 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1740 $as_echo_n "(cached) " >&6 1741 fi 1742 eval ac_res=\$$3 1743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1744 $as_echo "$ac_res" >&6; } 1745 else 1746 # Is the header compilable? 1747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1748 $as_echo_n "checking $2 usability... " >&6; } 1749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1750 /* end confdefs.h. */ 1751 $4 1752 #include <$2> 1753 _ACEOF 1754 if ac_fn_c_try_compile "$LINENO"; then : 1755 ac_header_compiler=yes 1756 else 1757 ac_header_compiler=no 1758 fi 1759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1761 $as_echo "$ac_header_compiler" >&6; } 1762 1763 # Is the header present? 1764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1765 $as_echo_n "checking $2 presence... " >&6; } 1766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1767 /* end confdefs.h. */ 1768 #include <$2> 1769 _ACEOF 1770 if ac_fn_c_try_cpp "$LINENO"; then : 1771 ac_header_preproc=yes 1772 else 1773 ac_header_preproc=no 1774 fi 1775 rm -f conftest.err conftest.$ac_ext 1776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1777 $as_echo "$ac_header_preproc" >&6; } 1778 1779 # So? What about this header? 1780 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1781 yes:no: ) 1782 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1783 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1784 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1785 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1786 ;; 1787 no:yes:* ) 1788 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1789 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1790 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1791 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1792 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1793 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1794 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1795 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1796 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1797 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1798 ( cat <<\_ASBOX 1799 ## --------------------------------------------------- ## 1800 ## Report this to valgrind-users (at] lists.sourceforge.net ## 1801 ## --------------------------------------------------- ## 1802 _ASBOX 1803 ) | sed "s/^/$as_me: WARNING: /" >&2 1804 ;; 1805 esac 1806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1807 $as_echo_n "checking for $2... " >&6; } 1808 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1809 $as_echo_n "(cached) " >&6 1810 else 1811 eval "$3=\$ac_header_compiler" 1812 fi 1813 eval ac_res=\$$3 1814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1815 $as_echo "$ac_res" >&6; } 1816 fi 1817 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1818 1819 } # ac_fn_c_check_header_mongrel 1820 1821 # ac_fn_c_try_run LINENO 1822 # ---------------------- 1823 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1824 # that executables *can* be run. 1825 ac_fn_c_try_run () 1826 { 1827 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1828 if { { ac_try="$ac_link" 1829 case "(($ac_try" in 1830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1831 *) ac_try_echo=$ac_try;; 1832 esac 1833 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1834 $as_echo "$ac_try_echo"; } >&5 1835 (eval "$ac_link") 2>&5 1836 ac_status=$? 1837 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1838 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1839 { { case "(($ac_try" in 1840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1841 *) ac_try_echo=$ac_try;; 1842 esac 1843 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1844 $as_echo "$ac_try_echo"; } >&5 1845 (eval "$ac_try") 2>&5 1846 ac_status=$? 1847 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1848 test $ac_status = 0; }; }; then : 1849 ac_retval=0 1850 else 1851 $as_echo "$as_me: program exited with status $ac_status" >&5 1852 $as_echo "$as_me: failed program was:" >&5 1853 sed 's/^/| /' conftest.$ac_ext >&5 1854 1855 ac_retval=$ac_status 1856 fi 1857 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1858 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1859 as_fn_set_status $ac_retval 1860 1861 } # ac_fn_c_try_run 1862 1863 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1864 # ------------------------------------------------------- 1865 # Tests whether HEADER exists and can be compiled using the include files in 1866 # INCLUDES, setting the cache variable VAR accordingly. 1867 ac_fn_c_check_header_compile () 1868 { 1869 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1871 $as_echo_n "checking for $2... " >&6; } 1872 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1873 $as_echo_n "(cached) " >&6 1874 else 1875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1876 /* end confdefs.h. */ 1877 $4 1878 #include <$2> 1879 _ACEOF 1880 if ac_fn_c_try_compile "$LINENO"; then : 1881 eval "$3=yes" 1882 else 1883 eval "$3=no" 1884 fi 1885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1886 fi 1887 eval ac_res=\$$3 1888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1889 $as_echo "$ac_res" >&6; } 1890 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1891 1892 } # ac_fn_c_check_header_compile 1893 1894 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES 1895 # ---------------------------------------------------- 1896 # Tries to find if the field MEMBER exists in type AGGR, after including 1897 # INCLUDES, setting cache variable VAR accordingly. 1898 ac_fn_c_check_member () 1899 { 1900 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 1902 $as_echo_n "checking for $2.$3... " >&6; } 1903 if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then : 1904 $as_echo_n "(cached) " >&6 1905 else 1906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1907 /* end confdefs.h. */ 1908 $5 1909 int 1910 main () 1911 { 1912 static $2 ac_aggr; 1913 if (ac_aggr.$3) 1914 return 0; 1915 ; 1916 return 0; 1917 } 1918 _ACEOF 1919 if ac_fn_c_try_compile "$LINENO"; then : 1920 eval "$4=yes" 1921 else 1922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1923 /* end confdefs.h. */ 1924 $5 1925 int 1926 main () 1927 { 1928 static $2 ac_aggr; 1929 if (sizeof ac_aggr.$3) 1930 return 0; 1931 ; 1932 return 0; 1933 } 1934 _ACEOF 1935 if ac_fn_c_try_compile "$LINENO"; then : 1936 eval "$4=yes" 1937 else 1938 eval "$4=no" 1939 fi 1940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1941 fi 1942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1943 fi 1944 eval ac_res=\$$4 1945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1946 $as_echo "$ac_res" >&6; } 1947 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1948 1949 } # ac_fn_c_check_member 1950 1951 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES 1952 # ------------------------------------------- 1953 # Tests whether TYPE exists after having included INCLUDES, setting cache 1954 # variable VAR accordingly. 1955 ac_fn_c_check_type () 1956 { 1957 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1959 $as_echo_n "checking for $2... " >&6; } 1960 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1961 $as_echo_n "(cached) " >&6 1962 else 1963 eval "$3=no" 1964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1965 /* end confdefs.h. */ 1966 $4 1967 int 1968 main () 1969 { 1970 if (sizeof ($2)) 1971 return 0; 1972 ; 1973 return 0; 1974 } 1975 _ACEOF 1976 if ac_fn_c_try_compile "$LINENO"; then : 1977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1978 /* end confdefs.h. */ 1979 $4 1980 int 1981 main () 1982 { 1983 if (sizeof (($2))) 1984 return 0; 1985 ; 1986 return 0; 1987 } 1988 _ACEOF 1989 if ac_fn_c_try_compile "$LINENO"; then : 1990 1991 else 1992 eval "$3=yes" 1993 fi 1994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1995 fi 1996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1997 fi 1998 eval ac_res=\$$3 1999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2000 $as_echo "$ac_res" >&6; } 2001 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2002 2003 } # ac_fn_c_check_type 2004 2005 # ac_fn_c_check_func LINENO FUNC VAR 2006 # ---------------------------------- 2007 # Tests whether FUNC exists, setting the cache variable VAR accordingly 2008 ac_fn_c_check_func () 2009 { 2010 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2012 $as_echo_n "checking for $2... " >&6; } 2013 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 2014 $as_echo_n "(cached) " >&6 2015 else 2016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2017 /* end confdefs.h. */ 2018 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. 2019 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 2020 #define $2 innocuous_$2 2021 2022 /* System header to define __stub macros and hopefully few prototypes, 2023 which can conflict with char $2 (); below. 2024 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 2025 <limits.h> exists even on freestanding compilers. */ 2026 2027 #ifdef __STDC__ 2028 # include <limits.h> 2029 #else 2030 # include <assert.h> 2031 #endif 2032 2033 #undef $2 2034 2035 /* Override any GCC internal prototype to avoid an error. 2036 Use char because int might match the return type of a GCC 2037 builtin and then its argument prototype would still apply. */ 2038 #ifdef __cplusplus 2039 extern "C" 2040 #endif 2041 char $2 (); 2042 /* The GNU C library defines this for functions which it implements 2043 to always fail with ENOSYS. Some functions are actually named 2044 something starting with __ and the normal name is an alias. */ 2045 #if defined __stub_$2 || defined __stub___$2 2046 choke me 2047 #endif 2048 2049 int 2050 main () 2051 { 2052 return $2 (); 2053 ; 2054 return 0; 2055 } 2056 _ACEOF 2057 if ac_fn_c_try_link "$LINENO"; then : 2058 eval "$3=yes" 2059 else 2060 eval "$3=no" 2061 fi 2062 rm -f core conftest.err conftest.$ac_objext \ 2063 conftest$ac_exeext conftest.$ac_ext 2064 fi 2065 eval ac_res=\$$3 2066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2067 $as_echo "$ac_res" >&6; } 2068 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2069 2070 } # ac_fn_c_check_func 2071 2072 # ac_fn_cxx_try_link LINENO 2073 # ------------------------- 2074 # Try to link conftest.$ac_ext, and return whether this succeeded. 2075 ac_fn_cxx_try_link () 2076 { 2077 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2078 rm -f conftest.$ac_objext conftest$ac_exeext 2079 if { { ac_try="$ac_link" 2080 case "(($ac_try" in 2081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2082 *) ac_try_echo=$ac_try;; 2083 esac 2084 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2085 $as_echo "$ac_try_echo"; } >&5 2086 (eval "$ac_link") 2>conftest.err 2087 ac_status=$? 2088 if test -s conftest.err; then 2089 grep -v '^ *+' conftest.err >conftest.er1 2090 cat conftest.er1 >&5 2091 mv -f conftest.er1 conftest.err 2092 fi 2093 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2094 test $ac_status = 0; } && { 2095 test -z "$ac_cxx_werror_flag" || 2096 test ! -s conftest.err 2097 } && test -s conftest$ac_exeext && { 2098 test "$cross_compiling" = yes || 2099 $as_test_x conftest$ac_exeext 2100 }; then : 2101 ac_retval=0 2102 else 2103 $as_echo "$as_me: failed program was:" >&5 2104 sed 's/^/| /' conftest.$ac_ext >&5 2105 2106 ac_retval=1 2107 fi 2108 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 2109 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 2110 # interfere with the next link command; also delete a directory that is 2111 # left behind by Apple's compiler. We do this before executing the actions. 2112 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2113 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2114 as_fn_set_status $ac_retval 2115 2116 } # ac_fn_cxx_try_link 2117 cat >config.log <<_ACEOF 2118 This file contains any messages produced by compilers while 2119 running configure, to aid debugging if configure makes a mistake. 2120 2121 It was created by Valgrind $as_me 3.6.1, which was 2122 generated by GNU Autoconf 2.65. Invocation command line was 2123 2124 $ $0 $@ 2125 2126 _ACEOF 2127 exec 5>>config.log 2128 { 2129 cat <<_ASUNAME 2130 ## --------- ## 2131 ## Platform. ## 2132 ## --------- ## 2133 2134 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 2135 uname -m = `(uname -m) 2>/dev/null || echo unknown` 2136 uname -r = `(uname -r) 2>/dev/null || echo unknown` 2137 uname -s = `(uname -s) 2>/dev/null || echo unknown` 2138 uname -v = `(uname -v) 2>/dev/null || echo unknown` 2139 2140 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 2141 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 2142 2143 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 2144 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 2145 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 2146 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 2147 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 2148 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 2149 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 2150 2151 _ASUNAME 2152 2153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2154 for as_dir in $PATH 2155 do 2156 IFS=$as_save_IFS 2157 test -z "$as_dir" && as_dir=. 2158 $as_echo "PATH: $as_dir" 2159 done 2160 IFS=$as_save_IFS 2161 2162 } >&5 2163 2164 cat >&5 <<_ACEOF 2165 2166 2167 ## ----------- ## 2168 ## Core tests. ## 2169 ## ----------- ## 2170 2171 _ACEOF 2172 2173 2174 # Keep a trace of the command line. 2175 # Strip out --no-create and --no-recursion so they do not pile up. 2176 # Strip out --silent because we don't want to record it for future runs. 2177 # Also quote any args containing shell meta-characters. 2178 # Make two passes to allow for proper duplicate-argument suppression. 2179 ac_configure_args= 2180 ac_configure_args0= 2181 ac_configure_args1= 2182 ac_must_keep_next=false 2183 for ac_pass in 1 2 2184 do 2185 for ac_arg 2186 do 2187 case $ac_arg in 2188 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 2189 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2190 | -silent | --silent | --silen | --sile | --sil) 2191 continue ;; 2192 *\'*) 2193 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2194 esac 2195 case $ac_pass in 2196 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2197 2) 2198 as_fn_append ac_configure_args1 " '$ac_arg'" 2199 if test $ac_must_keep_next = true; then 2200 ac_must_keep_next=false # Got value, back to normal. 2201 else 2202 case $ac_arg in 2203 *=* | --config-cache | -C | -disable-* | --disable-* \ 2204 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 2205 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 2206 | -with-* | --with-* | -without-* | --without-* | --x) 2207 case "$ac_configure_args0 " in 2208 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 2209 esac 2210 ;; 2211 -* ) ac_must_keep_next=true ;; 2212 esac 2213 fi 2214 as_fn_append ac_configure_args " '$ac_arg'" 2215 ;; 2216 esac 2217 done 2218 done 2219 { ac_configure_args0=; unset ac_configure_args0;} 2220 { ac_configure_args1=; unset ac_configure_args1;} 2221 2222 # When interrupted or exit'd, cleanup temporary files, and complete 2223 # config.log. We remove comments because anyway the quotes in there 2224 # would cause problems or look ugly. 2225 # WARNING: Use '\'' to represent an apostrophe within the trap. 2226 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2227 trap 'exit_status=$? 2228 # Save into config.log some information that might help in debugging. 2229 { 2230 echo 2231 2232 cat <<\_ASBOX 2233 ## ---------------- ## 2234 ## Cache variables. ## 2235 ## ---------------- ## 2236 _ASBOX 2237 echo 2238 # The following way of writing the cache mishandles newlines in values, 2239 ( 2240 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2241 eval ac_val=\$$ac_var 2242 case $ac_val in #( 2243 *${as_nl}*) 2244 case $ac_var in #( 2245 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2246 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2247 esac 2248 case $ac_var in #( 2249 _ | IFS | as_nl) ;; #( 2250 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2251 *) { eval $ac_var=; unset $ac_var;} ;; 2252 esac ;; 2253 esac 2254 done 2255 (set) 2>&1 | 2256 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2257 *${as_nl}ac_space=\ *) 2258 sed -n \ 2259 "s/'\''/'\''\\\\'\'''\''/g; 2260 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2261 ;; #( 2262 *) 2263 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2264 ;; 2265 esac | 2266 sort 2267 ) 2268 echo 2269 2270 cat <<\_ASBOX 2271 ## ----------------- ## 2272 ## Output variables. ## 2273 ## ----------------- ## 2274 _ASBOX 2275 echo 2276 for ac_var in $ac_subst_vars 2277 do 2278 eval ac_val=\$$ac_var 2279 case $ac_val in 2280 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2281 esac 2282 $as_echo "$ac_var='\''$ac_val'\''" 2283 done | sort 2284 echo 2285 2286 if test -n "$ac_subst_files"; then 2287 cat <<\_ASBOX 2288 ## ------------------- ## 2289 ## File substitutions. ## 2290 ## ------------------- ## 2291 _ASBOX 2292 echo 2293 for ac_var in $ac_subst_files 2294 do 2295 eval ac_val=\$$ac_var 2296 case $ac_val in 2297 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2298 esac 2299 $as_echo "$ac_var='\''$ac_val'\''" 2300 done | sort 2301 echo 2302 fi 2303 2304 if test -s confdefs.h; then 2305 cat <<\_ASBOX 2306 ## ----------- ## 2307 ## confdefs.h. ## 2308 ## ----------- ## 2309 _ASBOX 2310 echo 2311 cat confdefs.h 2312 echo 2313 fi 2314 test "$ac_signal" != 0 && 2315 $as_echo "$as_me: caught signal $ac_signal" 2316 $as_echo "$as_me: exit $exit_status" 2317 } >&5 2318 rm -f core *.core core.conftest.* && 2319 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2320 exit $exit_status 2321 ' 0 2322 for ac_signal in 1 2 13 15; do 2323 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2324 done 2325 ac_signal=0 2326 2327 # confdefs.h avoids OS command line length limits that DEFS can exceed. 2328 rm -f -r conftest* confdefs.h 2329 2330 $as_echo "/* confdefs.h */" > confdefs.h 2331 2332 # Predefined preprocessor variables. 2333 2334 cat >>confdefs.h <<_ACEOF 2335 #define PACKAGE_NAME "$PACKAGE_NAME" 2336 _ACEOF 2337 2338 cat >>confdefs.h <<_ACEOF 2339 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2340 _ACEOF 2341 2342 cat >>confdefs.h <<_ACEOF 2343 #define PACKAGE_VERSION "$PACKAGE_VERSION" 2344 _ACEOF 2345 2346 cat >>confdefs.h <<_ACEOF 2347 #define PACKAGE_STRING "$PACKAGE_STRING" 2348 _ACEOF 2349 2350 cat >>confdefs.h <<_ACEOF 2351 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2352 _ACEOF 2353 2354 cat >>confdefs.h <<_ACEOF 2355 #define PACKAGE_URL "$PACKAGE_URL" 2356 _ACEOF 2357 2358 2359 # Let the site file select an alternate cache file if it wants to. 2360 # Prefer an explicitly selected file to automatically selected ones. 2361 ac_site_file1=NONE 2362 ac_site_file2=NONE 2363 if test -n "$CONFIG_SITE"; then 2364 ac_site_file1=$CONFIG_SITE 2365 elif test "x$prefix" != xNONE; then 2366 ac_site_file1=$prefix/share/config.site 2367 ac_site_file2=$prefix/etc/config.site 2368 else 2369 ac_site_file1=$ac_default_prefix/share/config.site 2370 ac_site_file2=$ac_default_prefix/etc/config.site 2371 fi 2372 for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2373 do 2374 test "x$ac_site_file" = xNONE && continue 2375 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2376 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2377 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 2378 sed 's/^/| /' "$ac_site_file" >&5 2379 . "$ac_site_file" 2380 fi 2381 done 2382 2383 if test -r "$cache_file"; then 2384 # Some versions of bash will fail to source /dev/null (special files 2385 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2386 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2387 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2388 $as_echo "$as_me: loading cache $cache_file" >&6;} 2389 case $cache_file in 2390 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2391 *) . "./$cache_file";; 2392 esac 2393 fi 2394 else 2395 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2396 $as_echo "$as_me: creating cache $cache_file" >&6;} 2397 >$cache_file 2398 fi 2399 2400 as_fn_append ac_header_list " stdlib.h" 2401 as_fn_append ac_header_list " unistd.h" 2402 as_fn_append ac_header_list " sys/param.h" 2403 # Check that the precious variables saved in the cache have kept the same 2404 # value. 2405 ac_cache_corrupted=false 2406 for ac_var in $ac_precious_vars; do 2407 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2408 eval ac_new_set=\$ac_env_${ac_var}_set 2409 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2410 eval ac_new_val=\$ac_env_${ac_var}_value 2411 case $ac_old_set,$ac_new_set in 2412 set,) 2413 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2414 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2415 ac_cache_corrupted=: ;; 2416 ,set) 2417 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2418 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2419 ac_cache_corrupted=: ;; 2420 ,);; 2421 *) 2422 if test "x$ac_old_val" != "x$ac_new_val"; then 2423 # differences in whitespace do not lead to failure. 2424 ac_old_val_w=`echo x $ac_old_val` 2425 ac_new_val_w=`echo x $ac_new_val` 2426 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2427 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2428 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2429 ac_cache_corrupted=: 2430 else 2431 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2432 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2433 eval $ac_var=\$ac_old_val 2434 fi 2435 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2436 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2437 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2438 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2439 fi;; 2440 esac 2441 # Pass precious variables to config.status. 2442 if test "$ac_new_set" = set; then 2443 case $ac_new_val in 2444 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2445 *) ac_arg=$ac_var=$ac_new_val ;; 2446 esac 2447 case " $ac_configure_args " in 2448 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2449 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2450 esac 2451 fi 2452 done 2453 if $ac_cache_corrupted; then 2454 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2455 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2456 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2457 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2458 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2459 fi 2460 ## -------------------- ## 2461 ## Main body of script. ## 2462 ## -------------------- ## 2463 2464 ac_ext=c 2465 ac_cpp='$CPP $CPPFLAGS' 2466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2468 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2469 2470 2471 2472 ac_config_headers="$ac_config_headers config.h" 2473 2474 am__api_version='1.11' 2475 2476 ac_aux_dir= 2477 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2478 for ac_t in install-sh install.sh shtool; do 2479 if test -f "$ac_dir/$ac_t"; then 2480 ac_aux_dir=$ac_dir 2481 ac_install_sh="$ac_aux_dir/$ac_t -c" 2482 break 2 2483 fi 2484 done 2485 done 2486 if test -z "$ac_aux_dir"; then 2487 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2488 fi 2489 2490 # These three variables are undocumented and unsupported, 2491 # and are intended to be withdrawn in a future Autoconf release. 2492 # They can cause serious problems if a builder's source tree is in a directory 2493 # whose full name contains unusual characters. 2494 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2495 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2496 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2497 2498 2499 # Find a good install program. We prefer a C program (faster), 2500 # so one script is as good as another. But avoid the broken or 2501 # incompatible versions: 2502 # SysV /etc/install, /usr/sbin/install 2503 # SunOS /usr/etc/install 2504 # IRIX /sbin/install 2505 # AIX /bin/install 2506 # AmigaOS /C/install, which installs bootblocks on floppy discs 2507 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2508 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 2509 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2510 # OS/2's system install, which has a completely different semantic 2511 # ./install, which can be erroneously created by make from ./install.sh. 2512 # Reject install programs that cannot install multiple files. 2513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2514 $as_echo_n "checking for a BSD-compatible install... " >&6; } 2515 if test -z "$INSTALL"; then 2516 if test "${ac_cv_path_install+set}" = set; then : 2517 $as_echo_n "(cached) " >&6 2518 else 2519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2520 for as_dir in $PATH 2521 do 2522 IFS=$as_save_IFS 2523 test -z "$as_dir" && as_dir=. 2524 # Account for people who put trailing slashes in PATH elements. 2525 case $as_dir/ in #(( 2526 ./ | .// | /[cC]/* | \ 2527 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2528 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2529 /usr/ucb/* ) ;; 2530 *) 2531 # OSF1 and SCO ODT 3.0 have their own names for install. 2532 # Don't use installbsd from OSF since it installs stuff as root 2533 # by default. 2534 for ac_prog in ginstall scoinst install; do 2535 for ac_exec_ext in '' $ac_executable_extensions; do 2536 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 2537 if test $ac_prog = install && 2538 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2539 # AIX install. It has an incompatible calling convention. 2540 : 2541 elif test $ac_prog = install && 2542 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2543 # program-specific install script used by HP pwplus--don't use. 2544 : 2545 else 2546 rm -rf conftest.one conftest.two conftest.dir 2547 echo one > conftest.one 2548 echo two > conftest.two 2549 mkdir conftest.dir 2550 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2551 test -s conftest.one && test -s conftest.two && 2552 test -s conftest.dir/conftest.one && 2553 test -s conftest.dir/conftest.two 2554 then 2555 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2556 break 3 2557 fi 2558 fi 2559 fi 2560 done 2561 done 2562 ;; 2563 esac 2564 2565 done 2566 IFS=$as_save_IFS 2567 2568 rm -rf conftest.one conftest.two conftest.dir 2569 2570 fi 2571 if test "${ac_cv_path_install+set}" = set; then 2572 INSTALL=$ac_cv_path_install 2573 else 2574 # As a last resort, use the slow shell script. Don't cache a 2575 # value for INSTALL within a source directory, because that will 2576 # break other packages using the cache if that directory is 2577 # removed, or if the value is a relative name. 2578 INSTALL=$ac_install_sh 2579 fi 2580 fi 2581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2582 $as_echo "$INSTALL" >&6; } 2583 2584 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2585 # It thinks the first close brace ends the variable substitution. 2586 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2587 2588 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2589 2590 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2591 2592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2593 $as_echo_n "checking whether build environment is sane... " >&6; } 2594 # Just in case 2595 sleep 1 2596 echo timestamp > conftest.file 2597 # Reject unsafe characters in $srcdir or the absolute working directory 2598 # name. Accept space and tab only in the latter. 2599 am_lf=' 2600 ' 2601 case `pwd` in 2602 *[\\\"\#\$\&\'\`$am_lf]*) 2603 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;; 2604 esac 2605 case $srcdir in 2606 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2607 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; 2608 esac 2609 2610 # Do `set' in a subshell so we don't clobber the current shell's 2611 # arguments. Must try -L first in case configure is actually a 2612 # symlink; some systems play weird games with the mod time of symlinks 2613 # (eg FreeBSD returns the mod time of the symlink's containing 2614 # directory). 2615 if ( 2616 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2617 if test "$*" = "X"; then 2618 # -L didn't work. 2619 set X `ls -t "$srcdir/configure" conftest.file` 2620 fi 2621 rm -f conftest.file 2622 if test "$*" != "X $srcdir/configure conftest.file" \ 2623 && test "$*" != "X conftest.file $srcdir/configure"; then 2624 2625 # If neither matched, then we have a broken ls. This can happen 2626 # if, for instance, CONFIG_SHELL is bash and it inherits a 2627 # broken ls alias from the environment. This has actually 2628 # happened. Such a system could not be considered "sane". 2629 as_fn_error "ls -t appears to fail. Make sure there is not a broken 2630 alias in your environment" "$LINENO" 5 2631 fi 2632 2633 test "$2" = conftest.file 2634 ) 2635 then 2636 # Ok. 2637 : 2638 else 2639 as_fn_error "newly created file is older than distributed files! 2640 Check your system clock" "$LINENO" 5 2641 fi 2642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2643 $as_echo "yes" >&6; } 2644 test "$program_prefix" != NONE && 2645 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2646 # Use a double $ so make ignores it. 2647 test "$program_suffix" != NONE && 2648 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2649 # Double any \ or $. 2650 # By default was `s,x,x', remove it if useless. 2651 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2652 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2653 2654 # expand $ac_aux_dir to an absolute path 2655 am_aux_dir=`cd $ac_aux_dir && pwd` 2656 2657 if test x"${MISSING+set}" != xset; then 2658 case $am_aux_dir in 2659 *\ * | *\ *) 2660 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2661 *) 2662 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2663 esac 2664 fi 2665 # Use eval to expand $SHELL 2666 if eval "$MISSING --run true"; then 2667 am_missing_run="$MISSING --run " 2668 else 2669 am_missing_run= 2670 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 2671 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 2672 fi 2673 2674 if test x"${install_sh}" != xset; then 2675 case $am_aux_dir in 2676 *\ * | *\ *) 2677 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2678 *) 2679 install_sh="\${SHELL} $am_aux_dir/install-sh" 2680 esac 2681 fi 2682 2683 # Installed binaries are usually stripped using `strip' when the user 2684 # run `make install-strip'. However `strip' might not be the right 2685 # tool to use in cross-compilation environments, therefore Automake 2686 # will honor the `STRIP' environment variable to overrule this program. 2687 if test "$cross_compiling" != no; then 2688 if test -n "$ac_tool_prefix"; then 2689 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2690 set dummy ${ac_tool_prefix}strip; ac_word=$2 2691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2692 $as_echo_n "checking for $ac_word... " >&6; } 2693 if test "${ac_cv_prog_STRIP+set}" = set; then : 2694 $as_echo_n "(cached) " >&6 2695 else 2696 if test -n "$STRIP"; then 2697 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2698 else 2699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2700 for as_dir in $PATH 2701 do 2702 IFS=$as_save_IFS 2703 test -z "$as_dir" && as_dir=. 2704 for ac_exec_ext in '' $ac_executable_extensions; do 2705 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2706 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2707 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2708 break 2 2709 fi 2710 done 2711 done 2712 IFS=$as_save_IFS 2713 2714 fi 2715 fi 2716 STRIP=$ac_cv_prog_STRIP 2717 if test -n "$STRIP"; then 2718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2719 $as_echo "$STRIP" >&6; } 2720 else 2721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2722 $as_echo "no" >&6; } 2723 fi 2724 2725 2726 fi 2727 if test -z "$ac_cv_prog_STRIP"; then 2728 ac_ct_STRIP=$STRIP 2729 # Extract the first word of "strip", so it can be a program name with args. 2730 set dummy strip; ac_word=$2 2731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2732 $as_echo_n "checking for $ac_word... " >&6; } 2733 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : 2734 $as_echo_n "(cached) " >&6 2735 else 2736 if test -n "$ac_ct_STRIP"; then 2737 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2738 else 2739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2740 for as_dir in $PATH 2741 do 2742 IFS=$as_save_IFS 2743 test -z "$as_dir" && as_dir=. 2744 for ac_exec_ext in '' $ac_executable_extensions; do 2745 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2746 ac_cv_prog_ac_ct_STRIP="strip" 2747 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2748 break 2 2749 fi 2750 done 2751 done 2752 IFS=$as_save_IFS 2753 2754 fi 2755 fi 2756 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2757 if test -n "$ac_ct_STRIP"; then 2758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2759 $as_echo "$ac_ct_STRIP" >&6; } 2760 else 2761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2762 $as_echo "no" >&6; } 2763 fi 2764 2765 if test "x$ac_ct_STRIP" = x; then 2766 STRIP=":" 2767 else 2768 case $cross_compiling:$ac_tool_warned in 2769 yes:) 2770 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2771 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2772 ac_tool_warned=yes ;; 2773 esac 2774 STRIP=$ac_ct_STRIP 2775 fi 2776 else 2777 STRIP="$ac_cv_prog_STRIP" 2778 fi 2779 2780 fi 2781 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2782 2783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2784 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2785 if test -z "$MKDIR_P"; then 2786 if test "${ac_cv_path_mkdir+set}" = set; then : 2787 $as_echo_n "(cached) " >&6 2788 else 2789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2790 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2791 do 2792 IFS=$as_save_IFS 2793 test -z "$as_dir" && as_dir=. 2794 for ac_prog in mkdir gmkdir; do 2795 for ac_exec_ext in '' $ac_executable_extensions; do 2796 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 2797 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2798 'mkdir (GNU coreutils) '* | \ 2799 'mkdir (coreutils) '* | \ 2800 'mkdir (fileutils) '4.1*) 2801 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2802 break 3;; 2803 esac 2804 done 2805 done 2806 done 2807 IFS=$as_save_IFS 2808 2809 fi 2810 2811 test -d ./--version && rmdir ./--version 2812 if test "${ac_cv_path_mkdir+set}" = set; then 2813 MKDIR_P="$ac_cv_path_mkdir -p" 2814 else 2815 # As a last resort, use the slow shell script. Don't cache a 2816 # value for MKDIR_P within a source directory, because that will 2817 # break other packages using the cache if that directory is 2818 # removed, or if the value is a relative name. 2819 MKDIR_P="$ac_install_sh -d" 2820 fi 2821 fi 2822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2823 $as_echo "$MKDIR_P" >&6; } 2824 2825 mkdir_p="$MKDIR_P" 2826 case $mkdir_p in 2827 [\\/$]* | ?:[\\/]*) ;; 2828 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 2829 esac 2830 2831 for ac_prog in gawk mawk nawk awk 2832 do 2833 # Extract the first word of "$ac_prog", so it can be a program name with args. 2834 set dummy $ac_prog; ac_word=$2 2835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2836 $as_echo_n "checking for $ac_word... " >&6; } 2837 if test "${ac_cv_prog_AWK+set}" = set; then : 2838 $as_echo_n "(cached) " >&6 2839 else 2840 if test -n "$AWK"; then 2841 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2842 else 2843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2844 for as_dir in $PATH 2845 do 2846 IFS=$as_save_IFS 2847 test -z "$as_dir" && as_dir=. 2848 for ac_exec_ext in '' $ac_executable_extensions; do 2849 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2850 ac_cv_prog_AWK="$ac_prog" 2851 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2852 break 2 2853 fi 2854 done 2855 done 2856 IFS=$as_save_IFS 2857 2858 fi 2859 fi 2860 AWK=$ac_cv_prog_AWK 2861 if test -n "$AWK"; then 2862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2863 $as_echo "$AWK" >&6; } 2864 else 2865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2866 $as_echo "no" >&6; } 2867 fi 2868 2869 2870 test -n "$AWK" && break 2871 done 2872 2873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2874 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2875 set x ${MAKE-make} 2876 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2877 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : 2878 $as_echo_n "(cached) " >&6 2879 else 2880 cat >conftest.make <<\_ACEOF 2881 SHELL = /bin/sh 2882 all: 2883 @echo '@@@%%%=$(MAKE)=@@@%%%' 2884 _ACEOF 2885 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 2886 case `${MAKE-make} -f conftest.make 2>/dev/null` in 2887 *@@@%%%=?*=@@@%%%*) 2888 eval ac_cv_prog_make_${ac_make}_set=yes;; 2889 *) 2890 eval ac_cv_prog_make_${ac_make}_set=no;; 2891 esac 2892 rm -f conftest.make 2893 fi 2894 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2896 $as_echo "yes" >&6; } 2897 SET_MAKE= 2898 else 2899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2900 $as_echo "no" >&6; } 2901 SET_MAKE="MAKE=${MAKE-make}" 2902 fi 2903 2904 rm -rf .tst 2>/dev/null 2905 mkdir .tst 2>/dev/null 2906 if test -d .tst; then 2907 am__leading_dot=. 2908 else 2909 am__leading_dot=_ 2910 fi 2911 rmdir .tst 2>/dev/null 2912 2913 if test "`cd $srcdir && pwd`" != "`pwd`"; then 2914 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2915 # is not polluted with repeated "-I." 2916 am__isrc=' -I$(srcdir)' 2917 # test to see if srcdir already configured 2918 if test -f $srcdir/config.status; then 2919 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2920 fi 2921 fi 2922 2923 # test whether we have cygpath 2924 if test -z "$CYGPATH_W"; then 2925 if (cygpath --version) >/dev/null 2>/dev/null; then 2926 CYGPATH_W='cygpath -w' 2927 else 2928 CYGPATH_W=echo 2929 fi 2930 fi 2931 2932 2933 # Define the identity of the package. 2934 PACKAGE='valgrind' 2935 VERSION='3.6.1' 2936 2937 2938 cat >>confdefs.h <<_ACEOF 2939 #define PACKAGE "$PACKAGE" 2940 _ACEOF 2941 2942 2943 cat >>confdefs.h <<_ACEOF 2944 #define VERSION "$VERSION" 2945 _ACEOF 2946 2947 # Some tools Automake needs. 2948 2949 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2950 2951 2952 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2953 2954 2955 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2956 2957 2958 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2959 2960 2961 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2962 2963 # We need awk for the "check" target. The system "awk" is bad on 2964 # some platforms. 2965 # Always define AMTAR for backward compatibility. 2966 2967 AMTAR=${AMTAR-"${am_missing_run}tar"} 2968 2969 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 2970 2971 2972 2973 2974 2975 2976 2977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 2978 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 2979 # Check whether --enable-maintainer-mode was given. 2980 if test "${enable_maintainer_mode+set}" = set; then : 2981 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 2982 else 2983 USE_MAINTAINER_MODE=no 2984 fi 2985 2986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 2987 $as_echo "$USE_MAINTAINER_MODE" >&6; } 2988 if test $USE_MAINTAINER_MODE = yes; then 2989 MAINTAINER_MODE_TRUE= 2990 MAINTAINER_MODE_FALSE='#' 2991 else 2992 MAINTAINER_MODE_TRUE='#' 2993 MAINTAINER_MODE_FALSE= 2994 fi 2995 2996 MAINT=$MAINTAINER_MODE_TRUE 2997 2998 2999 3000 #---------------------------------------------------------------------------- 3001 # Checks for various programs. 3002 #---------------------------------------------------------------------------- 3003 CFLAGS="-Wno-long-long $CFLAGS" 3004 3005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 3006 $as_echo_n "checking whether ln -s works... " >&6; } 3007 LN_S=$as_ln_s 3008 if test "$LN_S" = "ln -s"; then 3009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3010 $as_echo "yes" >&6; } 3011 else 3012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 3013 $as_echo "no, using $LN_S" >&6; } 3014 fi 3015 3016 ac_ext=c 3017 ac_cpp='$CPP $CPPFLAGS' 3018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3020 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3021 if test -n "$ac_tool_prefix"; then 3022 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 3023 set dummy ${ac_tool_prefix}gcc; ac_word=$2 3024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3025 $as_echo_n "checking for $ac_word... " >&6; } 3026 if test "${ac_cv_prog_CC+set}" = set; then : 3027 $as_echo_n "(cached) " >&6 3028 else 3029 if test -n "$CC"; then 3030 ac_cv_prog_CC="$CC" # Let the user override the test. 3031 else 3032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3033 for as_dir in $PATH 3034 do 3035 IFS=$as_save_IFS 3036 test -z "$as_dir" && as_dir=. 3037 for ac_exec_ext in '' $ac_executable_extensions; do 3038 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3039 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3040 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3041 break 2 3042 fi 3043 done 3044 done 3045 IFS=$as_save_IFS 3046 3047 fi 3048 fi 3049 CC=$ac_cv_prog_CC 3050 if test -n "$CC"; then 3051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3052 $as_echo "$CC" >&6; } 3053 else 3054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3055 $as_echo "no" >&6; } 3056 fi 3057 3058 3059 fi 3060 if test -z "$ac_cv_prog_CC"; then 3061 ac_ct_CC=$CC 3062 # Extract the first word of "gcc", so it can be a program name with args. 3063 set dummy gcc; ac_word=$2 3064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3065 $as_echo_n "checking for $ac_word... " >&6; } 3066 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 3067 $as_echo_n "(cached) " >&6 3068 else 3069 if test -n "$ac_ct_CC"; then 3070 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3071 else 3072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3073 for as_dir in $PATH 3074 do 3075 IFS=$as_save_IFS 3076 test -z "$as_dir" && as_dir=. 3077 for ac_exec_ext in '' $ac_executable_extensions; do 3078 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3079 ac_cv_prog_ac_ct_CC="gcc" 3080 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3081 break 2 3082 fi 3083 done 3084 done 3085 IFS=$as_save_IFS 3086 3087 fi 3088 fi 3089 ac_ct_CC=$ac_cv_prog_ac_ct_CC 3090 if test -n "$ac_ct_CC"; then 3091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3092 $as_echo "$ac_ct_CC" >&6; } 3093 else 3094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3095 $as_echo "no" >&6; } 3096 fi 3097 3098 if test "x$ac_ct_CC" = x; then 3099 CC="" 3100 else 3101 case $cross_compiling:$ac_tool_warned in 3102 yes:) 3103 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3104 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3105 ac_tool_warned=yes ;; 3106 esac 3107 CC=$ac_ct_CC 3108 fi 3109 else 3110 CC="$ac_cv_prog_CC" 3111 fi 3112 3113 if test -z "$CC"; then 3114 if test -n "$ac_tool_prefix"; then 3115 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3116 set dummy ${ac_tool_prefix}cc; ac_word=$2 3117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3118 $as_echo_n "checking for $ac_word... " >&6; } 3119 if test "${ac_cv_prog_CC+set}" = set; then : 3120 $as_echo_n "(cached) " >&6 3121 else 3122 if test -n "$CC"; then 3123 ac_cv_prog_CC="$CC" # Let the user override the test. 3124 else 3125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3126 for as_dir in $PATH 3127 do 3128 IFS=$as_save_IFS 3129 test -z "$as_dir" && as_dir=. 3130 for ac_exec_ext in '' $ac_executable_extensions; do 3131 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3132 ac_cv_prog_CC="${ac_tool_prefix}cc" 3133 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3134 break 2 3135 fi 3136 done 3137 done 3138 IFS=$as_save_IFS 3139 3140 fi 3141 fi 3142 CC=$ac_cv_prog_CC 3143 if test -n "$CC"; then 3144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3145 $as_echo "$CC" >&6; } 3146 else 3147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3148 $as_echo "no" >&6; } 3149 fi 3150 3151 3152 fi 3153 fi 3154 if test -z "$CC"; then 3155 # Extract the first word of "cc", so it can be a program name with args. 3156 set dummy cc; ac_word=$2 3157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3158 $as_echo_n "checking for $ac_word... " >&6; } 3159 if test "${ac_cv_prog_CC+set}" = set; then : 3160 $as_echo_n "(cached) " >&6 3161 else 3162 if test -n "$CC"; then 3163 ac_cv_prog_CC="$CC" # Let the user override the test. 3164 else 3165 ac_prog_rejected=no 3166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3167 for as_dir in $PATH 3168 do 3169 IFS=$as_save_IFS 3170 test -z "$as_dir" && as_dir=. 3171 for ac_exec_ext in '' $ac_executable_extensions; do 3172 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3173 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3174 ac_prog_rejected=yes 3175 continue 3176 fi 3177 ac_cv_prog_CC="cc" 3178 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3179 break 2 3180 fi 3181 done 3182 done 3183 IFS=$as_save_IFS 3184 3185 if test $ac_prog_rejected = yes; then 3186 # We found a bogon in the path, so make sure we never use it. 3187 set dummy $ac_cv_prog_CC 3188 shift 3189 if test $# != 0; then 3190 # We chose a different compiler from the bogus one. 3191 # However, it has the same basename, so the bogon will be chosen 3192 # first if we set CC to just the basename; use the full file name. 3193 shift 3194 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3195 fi 3196 fi 3197 fi 3198 fi 3199 CC=$ac_cv_prog_CC 3200 if test -n "$CC"; then 3201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3202 $as_echo "$CC" >&6; } 3203 else 3204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3205 $as_echo "no" >&6; } 3206 fi 3207 3208 3209 fi 3210 if test -z "$CC"; then 3211 if test -n "$ac_tool_prefix"; then 3212 for ac_prog in cl.exe 3213 do 3214 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3215 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3217 $as_echo_n "checking for $ac_word... " >&6; } 3218 if test "${ac_cv_prog_CC+set}" = set; then : 3219 $as_echo_n "(cached) " >&6 3220 else 3221 if test -n "$CC"; then 3222 ac_cv_prog_CC="$CC" # Let the user override the test. 3223 else 3224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3225 for as_dir in $PATH 3226 do 3227 IFS=$as_save_IFS 3228 test -z "$as_dir" && as_dir=. 3229 for ac_exec_ext in '' $ac_executable_extensions; do 3230 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3231 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3232 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3233 break 2 3234 fi 3235 done 3236 done 3237 IFS=$as_save_IFS 3238 3239 fi 3240 fi 3241 CC=$ac_cv_prog_CC 3242 if test -n "$CC"; then 3243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3244 $as_echo "$CC" >&6; } 3245 else 3246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3247 $as_echo "no" >&6; } 3248 fi 3249 3250 3251 test -n "$CC" && break 3252 done 3253 fi 3254 if test -z "$CC"; then 3255 ac_ct_CC=$CC 3256 for ac_prog in cl.exe 3257 do 3258 # Extract the first word of "$ac_prog", so it can be a program name with args. 3259 set dummy $ac_prog; ac_word=$2 3260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3261 $as_echo_n "checking for $ac_word... " >&6; } 3262 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 3263 $as_echo_n "(cached) " >&6 3264 else 3265 if test -n "$ac_ct_CC"; then 3266 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3267 else 3268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3269 for as_dir in $PATH 3270 do 3271 IFS=$as_save_IFS 3272 test -z "$as_dir" && as_dir=. 3273 for ac_exec_ext in '' $ac_executable_extensions; do 3274 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3275 ac_cv_prog_ac_ct_CC="$ac_prog" 3276 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3277 break 2 3278 fi 3279 done 3280 done 3281 IFS=$as_save_IFS 3282 3283 fi 3284 fi 3285 ac_ct_CC=$ac_cv_prog_ac_ct_CC 3286 if test -n "$ac_ct_CC"; then 3287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3288 $as_echo "$ac_ct_CC" >&6; } 3289 else 3290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3291 $as_echo "no" >&6; } 3292 fi 3293 3294 3295 test -n "$ac_ct_CC" && break 3296 done 3297 3298 if test "x$ac_ct_CC" = x; then 3299 CC="" 3300 else 3301 case $cross_compiling:$ac_tool_warned in 3302 yes:) 3303 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3304 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3305 ac_tool_warned=yes ;; 3306 esac 3307 CC=$ac_ct_CC 3308 fi 3309 fi 3310 3311 fi 3312 3313 3314 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3315 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3316 as_fn_error "no acceptable C compiler found in \$PATH 3317 See \`config.log' for more details." "$LINENO" 5; } 3318 3319 # Provide some information about the compiler. 3320 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3321 set X $ac_compile 3322 ac_compiler=$2 3323 for ac_option in --version -v -V -qversion; do 3324 { { ac_try="$ac_compiler $ac_option >&5" 3325 case "(($ac_try" in 3326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3327 *) ac_try_echo=$ac_try;; 3328 esac 3329 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3330 $as_echo "$ac_try_echo"; } >&5 3331 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3332 ac_status=$? 3333 if test -s conftest.err; then 3334 sed '10a\ 3335 ... rest of stderr output deleted ... 3336 10q' conftest.err >conftest.er1 3337 cat conftest.er1 >&5 3338 fi 3339 rm -f conftest.er1 conftest.err 3340 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3341 test $ac_status = 0; } 3342 done 3343 3344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3345 /* end confdefs.h. */ 3346 3347 int 3348 main () 3349 { 3350 3351 ; 3352 return 0; 3353 } 3354 _ACEOF 3355 ac_clean_files_save=$ac_clean_files 3356 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3357 # Try to create an executable without -o first, disregard a.out. 3358 # It will help us diagnose broken compilers, and finding out an intuition 3359 # of exeext. 3360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3361 $as_echo_n "checking whether the C compiler works... " >&6; } 3362 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3363 3364 # The possible output files: 3365 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3366 3367 ac_rmfiles= 3368 for ac_file in $ac_files 3369 do 3370 case $ac_file in 3371 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3372 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3373 esac 3374 done 3375 rm -f $ac_rmfiles 3376 3377 if { { ac_try="$ac_link_default" 3378 case "(($ac_try" in 3379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3380 *) ac_try_echo=$ac_try;; 3381 esac 3382 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3383 $as_echo "$ac_try_echo"; } >&5 3384 (eval "$ac_link_default") 2>&5 3385 ac_status=$? 3386 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3387 test $ac_status = 0; }; then : 3388 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3389 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3390 # in a Makefile. We should not override ac_cv_exeext if it was cached, 3391 # so that the user can short-circuit this test for compilers unknown to 3392 # Autoconf. 3393 for ac_file in $ac_files '' 3394 do 3395 test -f "$ac_file" || continue 3396 case $ac_file in 3397 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3398 ;; 3399 [ab].out ) 3400 # We found the default executable, but exeext='' is most 3401 # certainly right. 3402 break;; 3403 *.* ) 3404 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3405 then :; else 3406 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3407 fi 3408 # We set ac_cv_exeext here because the later test for it is not 3409 # safe: cross compilers may not add the suffix if given an `-o' 3410 # argument, so we may need to know it at that point already. 3411 # Even if this section looks crufty: it has the advantage of 3412 # actually working. 3413 break;; 3414 * ) 3415 break;; 3416 esac 3417 done 3418 test "$ac_cv_exeext" = no && ac_cv_exeext= 3419 3420 else 3421 ac_file='' 3422 fi 3423 if test -z "$ac_file"; then : 3424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3425 $as_echo "no" >&6; } 3426 $as_echo "$as_me: failed program was:" >&5 3427 sed 's/^/| /' conftest.$ac_ext >&5 3428 3429 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3430 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3431 { as_fn_set_status 77 3432 as_fn_error "C compiler cannot create executables 3433 See \`config.log' for more details." "$LINENO" 5; }; } 3434 else 3435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3436 $as_echo "yes" >&6; } 3437 fi 3438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3439 $as_echo_n "checking for C compiler default output file name... " >&6; } 3440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3441 $as_echo "$ac_file" >&6; } 3442 ac_exeext=$ac_cv_exeext 3443 3444 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3445 ac_clean_files=$ac_clean_files_save 3446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3447 $as_echo_n "checking for suffix of executables... " >&6; } 3448 if { { ac_try="$ac_link" 3449 case "(($ac_try" in 3450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3451 *) ac_try_echo=$ac_try;; 3452 esac 3453 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3454 $as_echo "$ac_try_echo"; } >&5 3455 (eval "$ac_link") 2>&5 3456 ac_status=$? 3457 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3458 test $ac_status = 0; }; then : 3459 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3460 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3461 # work properly (i.e., refer to `conftest.exe'), while it won't with 3462 # `rm'. 3463 for ac_file in conftest.exe conftest conftest.*; do 3464 test -f "$ac_file" || continue 3465 case $ac_file in 3466 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3467 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3468 break;; 3469 * ) break;; 3470 esac 3471 done 3472 else 3473 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3474 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3475 as_fn_error "cannot compute suffix of executables: cannot compile and link 3476 See \`config.log' for more details." "$LINENO" 5; } 3477 fi 3478 rm -f conftest conftest$ac_cv_exeext 3479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3480 $as_echo "$ac_cv_exeext" >&6; } 3481 3482 rm -f conftest.$ac_ext 3483 EXEEXT=$ac_cv_exeext 3484 ac_exeext=$EXEEXT 3485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3486 /* end confdefs.h. */ 3487 #include <stdio.h> 3488 int 3489 main () 3490 { 3491 FILE *f = fopen ("conftest.out", "w"); 3492 return ferror (f) || fclose (f) != 0; 3493 3494 ; 3495 return 0; 3496 } 3497 _ACEOF 3498 ac_clean_files="$ac_clean_files conftest.out" 3499 # Check that the compiler produces executables we can run. If not, either 3500 # the compiler is broken, or we cross compile. 3501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3502 $as_echo_n "checking whether we are cross compiling... " >&6; } 3503 if test "$cross_compiling" != yes; then 3504 { { ac_try="$ac_link" 3505 case "(($ac_try" in 3506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3507 *) ac_try_echo=$ac_try;; 3508 esac 3509 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3510 $as_echo "$ac_try_echo"; } >&5 3511 (eval "$ac_link") 2>&5 3512 ac_status=$? 3513 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3514 test $ac_status = 0; } 3515 if { ac_try='./conftest$ac_cv_exeext' 3516 { { case "(($ac_try" in 3517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3518 *) ac_try_echo=$ac_try;; 3519 esac 3520 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3521 $as_echo "$ac_try_echo"; } >&5 3522 (eval "$ac_try") 2>&5 3523 ac_status=$? 3524 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3525 test $ac_status = 0; }; }; then 3526 cross_compiling=no 3527 else 3528 if test "$cross_compiling" = maybe; then 3529 cross_compiling=yes 3530 else 3531 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3532 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3533 as_fn_error "cannot run C compiled programs. 3534 If you meant to cross compile, use \`--host'. 3535 See \`config.log' for more details." "$LINENO" 5; } 3536 fi 3537 fi 3538 fi 3539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3540 $as_echo "$cross_compiling" >&6; } 3541 3542 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3543 ac_clean_files=$ac_clean_files_save 3544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3545 $as_echo_n "checking for suffix of object files... " >&6; } 3546 if test "${ac_cv_objext+set}" = set; then : 3547 $as_echo_n "(cached) " >&6 3548 else 3549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3550 /* end confdefs.h. */ 3551 3552 int 3553 main () 3554 { 3555 3556 ; 3557 return 0; 3558 } 3559 _ACEOF 3560 rm -f conftest.o conftest.obj 3561 if { { ac_try="$ac_compile" 3562 case "(($ac_try" in 3563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3564 *) ac_try_echo=$ac_try;; 3565 esac 3566 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3567 $as_echo "$ac_try_echo"; } >&5 3568 (eval "$ac_compile") 2>&5 3569 ac_status=$? 3570 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3571 test $ac_status = 0; }; then : 3572 for ac_file in conftest.o conftest.obj conftest.*; do 3573 test -f "$ac_file" || continue; 3574 case $ac_file in 3575 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3576 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3577 break;; 3578 esac 3579 done 3580 else 3581 $as_echo "$as_me: failed program was:" >&5 3582 sed 's/^/| /' conftest.$ac_ext >&5 3583 3584 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3585 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3586 as_fn_error "cannot compute suffix of object files: cannot compile 3587 See \`config.log' for more details." "$LINENO" 5; } 3588 fi 3589 rm -f conftest.$ac_cv_objext conftest.$ac_ext 3590 fi 3591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3592 $as_echo "$ac_cv_objext" >&6; } 3593 OBJEXT=$ac_cv_objext 3594 ac_objext=$OBJEXT 3595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3596 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3597 if test "${ac_cv_c_compiler_gnu+set}" = set; then : 3598 $as_echo_n "(cached) " >&6 3599 else 3600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3601 /* end confdefs.h. */ 3602 3603 int 3604 main () 3605 { 3606 #ifndef __GNUC__ 3607 choke me 3608 #endif 3609 3610 ; 3611 return 0; 3612 } 3613 _ACEOF 3614 if ac_fn_c_try_compile "$LINENO"; then : 3615 ac_compiler_gnu=yes 3616 else 3617 ac_compiler_gnu=no 3618 fi 3619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3620 ac_cv_c_compiler_gnu=$ac_compiler_gnu 3621 3622 fi 3623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3624 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 3625 if test $ac_compiler_gnu = yes; then 3626 GCC=yes 3627 else 3628 GCC= 3629 fi 3630 ac_test_CFLAGS=${CFLAGS+set} 3631 ac_save_CFLAGS=$CFLAGS 3632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3633 $as_echo_n "checking whether $CC accepts -g... " >&6; } 3634 if test "${ac_cv_prog_cc_g+set}" = set; then : 3635 $as_echo_n "(cached) " >&6 3636 else 3637 ac_save_c_werror_flag=$ac_c_werror_flag 3638 ac_c_werror_flag=yes 3639 ac_cv_prog_cc_g=no 3640 CFLAGS="-g" 3641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3642 /* end confdefs.h. */ 3643 3644 int 3645 main () 3646 { 3647 3648 ; 3649 return 0; 3650 } 3651 _ACEOF 3652 if ac_fn_c_try_compile "$LINENO"; then : 3653 ac_cv_prog_cc_g=yes 3654 else 3655 CFLAGS="" 3656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3657 /* end confdefs.h. */ 3658 3659 int 3660 main () 3661 { 3662 3663 ; 3664 return 0; 3665 } 3666 _ACEOF 3667 if ac_fn_c_try_compile "$LINENO"; then : 3668 3669 else 3670 ac_c_werror_flag=$ac_save_c_werror_flag 3671 CFLAGS="-g" 3672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3673 /* end confdefs.h. */ 3674 3675 int 3676 main () 3677 { 3678 3679 ; 3680 return 0; 3681 } 3682 _ACEOF 3683 if ac_fn_c_try_compile "$LINENO"; then : 3684 ac_cv_prog_cc_g=yes 3685 fi 3686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3687 fi 3688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3689 fi 3690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3691 ac_c_werror_flag=$ac_save_c_werror_flag 3692 fi 3693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3694 $as_echo "$ac_cv_prog_cc_g" >&6; } 3695 if test "$ac_test_CFLAGS" = set; then 3696 CFLAGS=$ac_save_CFLAGS 3697 elif test $ac_cv_prog_cc_g = yes; then 3698 if test "$GCC" = yes; then 3699 CFLAGS="-g -O2" 3700 else 3701 CFLAGS="-g" 3702 fi 3703 else 3704 if test "$GCC" = yes; then 3705 CFLAGS="-O2" 3706 else 3707 CFLAGS= 3708 fi 3709 fi 3710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3711 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3712 if test "${ac_cv_prog_cc_c89+set}" = set; then : 3713 $as_echo_n "(cached) " >&6 3714 else 3715 ac_cv_prog_cc_c89=no 3716 ac_save_CC=$CC 3717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3718 /* end confdefs.h. */ 3719 #include <stdarg.h> 3720 #include <stdio.h> 3721 #include <sys/types.h> 3722 #include <sys/stat.h> 3723 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3724 struct buf { int x; }; 3725 FILE * (*rcsopen) (struct buf *, struct stat *, int); 3726 static char *e (p, i) 3727 char **p; 3728 int i; 3729 { 3730 return p[i]; 3731 } 3732 static char *f (char * (*g) (char **, int), char **p, ...) 3733 { 3734 char *s; 3735 va_list v; 3736 va_start (v,p); 3737 s = g (p, va_arg (v,int)); 3738 va_end (v); 3739 return s; 3740 } 3741 3742 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3743 function prototypes and stuff, but not '\xHH' hex character constants. 3744 These don't provoke an error unfortunately, instead are silently treated 3745 as 'x'. The following induces an error, until -std is added to get 3746 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3747 array size at least. It's necessary to write '\x00'==0 to get something 3748 that's true only with -std. */ 3749 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3750 3751 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3752 inside strings and character constants. */ 3753 #define FOO(x) 'x' 3754 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3755 3756 int test (int i, double x); 3757 struct s1 {int (*f) (int a);}; 3758 struct s2 {int (*f) (double a);}; 3759 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3760 int argc; 3761 char **argv; 3762 int 3763 main () 3764 { 3765 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3766 ; 3767 return 0; 3768 } 3769 _ACEOF 3770 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3771 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3772 do 3773 CC="$ac_save_CC $ac_arg" 3774 if ac_fn_c_try_compile "$LINENO"; then : 3775 ac_cv_prog_cc_c89=$ac_arg 3776 fi 3777 rm -f core conftest.err conftest.$ac_objext 3778 test "x$ac_cv_prog_cc_c89" != "xno" && break 3779 done 3780 rm -f conftest.$ac_ext 3781 CC=$ac_save_CC 3782 3783 fi 3784 # AC_CACHE_VAL 3785 case "x$ac_cv_prog_cc_c89" in 3786 x) 3787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3788 $as_echo "none needed" >&6; } ;; 3789 xno) 3790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3791 $as_echo "unsupported" >&6; } ;; 3792 *) 3793 CC="$CC $ac_cv_prog_cc_c89" 3794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3795 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3796 esac 3797 if test "x$ac_cv_prog_cc_c89" != xno; then : 3798 3799 fi 3800 3801 ac_ext=c 3802 ac_cpp='$CPP $CPPFLAGS' 3803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3805 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3806 DEPDIR="${am__leading_dot}deps" 3807 3808 ac_config_commands="$ac_config_commands depfiles" 3809 3810 3811 am_make=${MAKE-make} 3812 cat > confinc << 'END' 3813 am__doit: 3814 @echo this is the am__doit target 3815 .PHONY: am__doit 3816 END 3817 # If we don't find an include directive, just comment out the code. 3818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 3819 $as_echo_n "checking for style of include used by $am_make... " >&6; } 3820 am__include="#" 3821 am__quote= 3822 _am_result=none 3823 # First try GNU make style include. 3824 echo "include confinc" > confmf 3825 # Ignore all kinds of additional output from `make'. 3826 case `$am_make -s -f confmf 2> /dev/null` in #( 3827 *the\ am__doit\ target*) 3828 am__include=include 3829 am__quote= 3830 _am_result=GNU 3831 ;; 3832 esac 3833 # Now try BSD make style include. 3834 if test "$am__include"