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