1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.64 for GNU C Runtime Library 1.0. 4# 5# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 6# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software 7# Foundation, Inc. 8# 9# This configure script is free software; the Free Software Foundation 10# gives unlimited permission to copy, distribute and modify it. 11## -------------------- ## 12## M4sh Initialization. ## 13## -------------------- ## 14 15# Be more Bourne compatible 16DUALCASE=1; export DUALCASE # for MKS sh 17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 18 emulate sh 19 NULLCMD=: 20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 21 # is contrary to our usage. Disable this feature. 22 alias -g '${1+"$@"}'='"$@"' 23 setopt NO_GLOB_SUBST 24else 25 case `(set -o) 2>/dev/null` in #( 26 *posix*) : 27 set -o posix ;; #( 28 *) : 29 ;; 30esac 31fi 32 33 34as_nl=' 35' 36export as_nl 37# Printing a long string crashes Solaris 7 /usr/bin/printf. 38as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 39as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 40as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 41# Prefer a ksh shell builtin over an external printf program on Solaris, 42# but without wasting forks for bash or zsh. 43if test -z "$BASH_VERSION$ZSH_VERSION" \ 44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 45 as_echo='print -r --' 46 as_echo_n='print -rn --' 47elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 48 as_echo='printf %s\n' 49 as_echo_n='printf %s' 50else 51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 53 as_echo_n='/usr/ucb/echo -n' 54 else 55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 56 as_echo_n_body='eval 57 arg=$1; 58 case $arg in #( 59 *"$as_nl"*) 60 expr "X$arg" : "X\\(.*\\)$as_nl"; 61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 62 esac; 63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 64 ' 65 export as_echo_n_body 66 as_echo_n='sh -c $as_echo_n_body as_echo' 67 fi 68 export as_echo_body 69 as_echo='sh -c $as_echo_body as_echo' 70fi 71 72# The user is always right. 73if test "${PATH_SEPARATOR+set}" != set; then 74 PATH_SEPARATOR=: 75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 77 PATH_SEPARATOR=';' 78 } 79fi 80 81 82# IFS 83# We need space, tab and new line, in precisely that order. Quoting is 84# there to prevent editors from complaining about space-tab. 85# (If _AS_PATH_WALK were called with IFS unset, it would disable word 86# splitting by setting IFS to empty value.) 87IFS=" "" $as_nl" 88 89# Find who we are. Look in the path if we contain no directory separator. 90case $0 in #(( 91 *[\\/]* ) as_myself=$0 ;; 92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 93for as_dir in $PATH 94do 95 IFS=$as_save_IFS 96 test -z "$as_dir" && as_dir=. 97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 98 done 99IFS=$as_save_IFS 100 101 ;; 102esac 103# We did not find ourselves, most probably we were run as `sh COMMAND' 104# in which case we are not to be found in the path. 105if test "x$as_myself" = x; then 106 as_myself=$0 107fi 108if test ! -f "$as_myself"; then 109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 110 exit 1 111fi 112 113# Unset variables that we do not need and which cause bugs (e.g. in 114# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 115# suppresses any "Segmentation fault" message there. '((' could 116# trigger a bug in pdksh 5.2.14. 117for as_var in BASH_ENV ENV MAIL MAILPATH 118do eval test x\${$as_var+set} = xset \ 119 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 120done 121PS1='$ ' 122PS2='> ' 123PS4='+ ' 124 125# NLS nuisances. 126LC_ALL=C 127export LC_ALL 128LANGUAGE=C 129export LANGUAGE 130 131# CDPATH. 132(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 133 134if test "x$CONFIG_SHELL" = x; then 135 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 136 emulate sh 137 NULLCMD=: 138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 139 # is contrary to our usage. Disable this feature. 140 alias -g '\${1+\"\$@\"}'='\"\$@\"' 141 setopt NO_GLOB_SUBST 142else 143 case \`(set -o) 2>/dev/null\` in #( 144 *posix*) : 145 set -o posix ;; #( 146 *) : 147 ;; 148esac 149fi 150" 151 as_required="as_fn_return () { (exit \$1); } 152as_fn_success () { as_fn_return 0; } 153as_fn_failure () { as_fn_return 1; } 154as_fn_ret_success () { return 0; } 155as_fn_ret_failure () { return 1; } 156 157exitcode=0 158as_fn_success || { exitcode=1; echo as_fn_success failed.; } 159as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 160as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 161as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 162if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 163 164else 165 exitcode=1; echo positional parameters were not saved. 166fi 167test x\$exitcode = x0 || exit 1" 168 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 169 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 172test \$(( 1 + 1 )) = 2 || exit 1" 173 if (eval "$as_required") 2>/dev/null; then : 174 as_have_required=yes 175else 176 as_have_required=no 177fi 178 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 179 180else 181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 182as_found=false 183for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 184do 185 IFS=$as_save_IFS 186 test -z "$as_dir" && as_dir=. 187 as_found=: 188 case $as_dir in #( 189 /*) 190 for as_base in sh bash ksh sh5; do 191 # Try only shells that exist, to save several forks. 192 as_shell=$as_dir/$as_base 193 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 194 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 195 CONFIG_SHELL=$as_shell as_have_required=yes 196 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 197 break 2 198fi 199fi 200 done;; 201 esac 202 as_found=false 203done 204$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 205 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 206 CONFIG_SHELL=$SHELL as_have_required=yes 207fi; } 208IFS=$as_save_IFS 209 210 211 if test "x$CONFIG_SHELL" != x; then : 212 # We cannot yet assume a decent shell, so we have to provide a 213 # neutralization value for shells without unset; and this also 214 # works around shells that cannot unset nonexistent variables. 215 BASH_ENV=/dev/null 216 ENV=/dev/null 217 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 218 export CONFIG_SHELL 219 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 220fi 221 222 if test x$as_have_required = xno; then : 223 $as_echo "$0: This script requires a shell more modern than all" 224 $as_echo "$0: the shells that I found on your system." 225 if test x${ZSH_VERSION+set} = xset ; then 226 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 227 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 228 else 229 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, 230$0: including any error possibly output before this 231$0: message. Then install a modern shell, or manually run 232$0: the script under such a shell if you do have one." 233 fi 234 exit 1 235fi 236fi 237fi 238SHELL=${CONFIG_SHELL-/bin/sh} 239export SHELL 240# Unset more variables known to interfere with behavior of common tools. 241CLICOLOR_FORCE= GREP_OPTIONS= 242unset CLICOLOR_FORCE GREP_OPTIONS 243 244## --------------------- ## 245## M4sh Shell Functions. ## 246## --------------------- ## 247# as_fn_unset VAR 248# --------------- 249# Portably unset VAR. 250as_fn_unset () 251{ 252 { eval $1=; unset $1;} 253} 254as_unset=as_fn_unset 255 256# as_fn_set_status STATUS 257# ----------------------- 258# Set $? to STATUS, without forking. 259as_fn_set_status () 260{ 261 return $1 262} # as_fn_set_status 263 264# as_fn_exit STATUS 265# ----------------- 266# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 267as_fn_exit () 268{ 269 set +e 270 as_fn_set_status $1 271 exit $1 272} # as_fn_exit 273 274# as_fn_mkdir_p 275# ------------- 276# Create "$as_dir" as a directory, including parents if necessary. 277as_fn_mkdir_p () 278{ 279 280 case $as_dir in #( 281 -*) as_dir=./$as_dir;; 282 esac 283 test -d "$as_dir" || eval $as_mkdir_p || { 284 as_dirs= 285 while :; do 286 case $as_dir in #( 287 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 288 *) as_qdir=$as_dir;; 289 esac 290 as_dirs="'$as_qdir' $as_dirs" 291 as_dir=`$as_dirname -- "$as_dir" || 292$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 293 X"$as_dir" : 'X\(//\)[^/]' \| \ 294 X"$as_dir" : 'X\(//\)$' \| \ 295 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 296$as_echo X"$as_dir" | 297 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 298 s//\1/ 299 q 300 } 301 /^X\(\/\/\)[^/].*/{ 302 s//\1/ 303 q 304 } 305 /^X\(\/\/\)$/{ 306 s//\1/ 307 q 308 } 309 /^X\(\/\).*/{ 310 s//\1/ 311 q 312 } 313 s/.*/./; q'` 314 test -d "$as_dir" && break 315 done 316 test -z "$as_dirs" || eval "mkdir $as_dirs" 317 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 318 319 320} # as_fn_mkdir_p 321# as_fn_append VAR VALUE 322# ---------------------- 323# Append the text in VALUE to the end of the definition contained in VAR. Take 324# advantage of any shell optimizations that allow amortized linear growth over 325# repeated appends, instead of the typical quadratic growth present in naive 326# implementations. 327if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 328 eval 'as_fn_append () 329 { 330 eval $1+=\$2 331 }' 332else 333 as_fn_append () 334 { 335 eval $1=\$$1\$2 336 } 337fi # as_fn_append 338 339# as_fn_arith ARG... 340# ------------------ 341# Perform arithmetic evaluation on the ARGs, and store the result in the 342# global $as_val. Take advantage of shells that can avoid forks. The arguments 343# must be portable across $(()) and expr. 344if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 345 eval 'as_fn_arith () 346 { 347 as_val=$(( $* )) 348 }' 349else 350 as_fn_arith () 351 { 352 as_val=`expr "$@" || test $? -eq 1` 353 } 354fi # as_fn_arith 355 356 357# as_fn_error ERROR [LINENO LOG_FD] 358# --------------------------------- 359# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 360# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 361# script with status $?, using 1 if that was 0. 362as_fn_error () 363{ 364 as_status=$?; test $as_status -eq 0 && as_status=1 365 if test "$3"; then 366 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 367 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 368 fi 369 $as_echo "$as_me: error: $1" >&2 370 as_fn_exit $as_status 371} # as_fn_error 372 373if expr a : '\(a\)' >/dev/null 2>&1 && 374 test "X`expr 00001 : '.*\(...\)'`" = X001; then 375 as_expr=expr 376else 377 as_expr=false 378fi 379 380if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 381 as_basename=basename 382else 383 as_basename=false 384fi 385 386if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 387 as_dirname=dirname 388else 389 as_dirname=false 390fi 391 392as_me=`$as_basename -- "$0" || 393$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 394 X"$0" : 'X\(//\)$' \| \ 395 X"$0" : 'X\(/\)' \| . 2>/dev/null || 396$as_echo X/"$0" | 397 sed '/^.*\/\([^/][^/]*\)\/*$/{ 398 s//\1/ 399 q 400 } 401 /^X\/\(\/\/\)$/{ 402 s//\1/ 403 q 404 } 405 /^X\/\(\/\).*/{ 406 s//\1/ 407 q 408 } 409 s/.*/./; q'` 410 411# Avoid depending upon Character Ranges. 412as_cr_letters='abcdefghijklmnopqrstuvwxyz' 413as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 414as_cr_Letters=$as_cr_letters$as_cr_LETTERS 415as_cr_digits='0123456789' 416as_cr_alnum=$as_cr_Letters$as_cr_digits 417 418 419 as_lineno_1=$LINENO as_lineno_1a=$LINENO 420 as_lineno_2=$LINENO as_lineno_2a=$LINENO 421 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 422 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 423 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 424 sed -n ' 425 p 426 /[$]LINENO/= 427 ' <$as_myself | 428 sed ' 429 s/[$]LINENO.*/&-/ 430 t lineno 431 b 432 :lineno 433 N 434 :loop 435 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 436 t loop 437 s/-\n.*// 438 ' >$as_me.lineno && 439 chmod +x "$as_me.lineno" || 440 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 441 442 # Don't try to exec as it changes $[0], causing all sort of problems 443 # (the dirname of $[0] is not the place where we might find the 444 # original and so on. Autoconf is especially sensitive to this). 445 . "./$as_me.lineno" 446 # Exit status is that of the last command. 447 exit 448} 449 450ECHO_C= ECHO_N= ECHO_T= 451case `echo -n x` in #((((( 452-n*) 453 case `echo 'xy\c'` in 454 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 455 xy) ECHO_C='\c';; 456 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 457 ECHO_T=' ';; 458 esac;; 459*) 460 ECHO_N='-n';; 461esac 462 463rm -f conf$$ conf$$.exe conf$$.file 464if test -d conf$$.dir; then 465 rm -f conf$$.dir/conf$$.file 466else 467 rm -f conf$$.dir 468 mkdir conf$$.dir 2>/dev/null 469fi 470if (echo >conf$$.file) 2>/dev/null; then 471 if ln -s conf$$.file conf$$ 2>/dev/null; then 472 as_ln_s='ln -s' 473 # ... but there are two gotchas: 474 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 475 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 476 # In both cases, we have to default to `cp -p'. 477 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 478 as_ln_s='cp -p' 479 elif ln conf$$.file conf$$ 2>/dev/null; then 480 as_ln_s=ln 481 else 482 as_ln_s='cp -p' 483 fi 484else 485 as_ln_s='cp -p' 486fi 487rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 488rmdir conf$$.dir 2>/dev/null 489 490if mkdir -p . 2>/dev/null; then 491 as_mkdir_p='mkdir -p "$as_dir"' 492else 493 test -d ./-p && rmdir ./-p 494 as_mkdir_p=false 495fi 496 497if test -x / >/dev/null 2>&1; then 498 as_test_x='test -x' 499else 500 if ls -dL / >/dev/null 2>&1; then 501 as_ls_L_option=L 502 else 503 as_ls_L_option= 504 fi 505 as_test_x=' 506 eval sh -c '\'' 507 if test -d "$1"; then 508 test -d "$1/."; 509 else 510 case $1 in #( 511 -*)set "./$1";; 512 esac; 513 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 514 ???[sx]*):;;*)false;;esac;fi 515 '\'' sh 516 ' 517fi 518as_executable_p=$as_test_x 519 520# Sed expression to map a string onto a valid CPP name. 521as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 522 523# Sed expression to map a string onto a valid variable name. 524as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 525 526 527exec 7<&0 </dev/null 6>&1 528 529# Name of the host. 530# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 531# so uname gets run too. 532ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 533 534# 535# Initializations. 536# 537ac_default_prefix=/usr/local 538ac_clean_files= 539ac_config_libobj_dir=. 540LIBOBJS= 541cross_compiling=no 542subdirs= 543MFLAGS= 544MAKEFLAGS= 545 546# Identity of this package. 547PACKAGE_NAME='GNU C Runtime Library' 548PACKAGE_TARNAME='libgcc' 549PACKAGE_VERSION='1.0' 550PACKAGE_STRING='GNU C Runtime Library 1.0' 551PACKAGE_BUGREPORT='' 552PACKAGE_URL='http://www.gnu.org/software/libgcc/' 553 554ac_unique_file="static-object.mk" 555ac_includes_default='/* none */' 556ac_subst_vars='LTLIBOBJS 557LIBOBJS 558asm_hidden_op 559extra_parts 560cpu_type 561thread_header 562tm_defines 563tm_file 564tmake_file 565sfp_machine_header 566set_use_emutls 567set_have_cc_tls 568vis_hide 569fixed_point 570enable_decimal_float 571decimal_float 572long_double_type_size 573double_type_size 574CPP 575OBJEXT 576EXEEXT 577ac_ct_CC 578CPPFLAGS 579LDFLAGS 580CFLAGS 581CC 582LN_S 583STRIP 584RANLIB 585NM 586LIPO 587AR 588toolexeclibdir 589toolexecdir 590target_subdir 591host_subdir 592build_subdir 593build_libsubdir 594target_noncanonical 595host_noncanonical 596AWK 597INSTALL_DATA 598INSTALL_SCRIPT 599INSTALL_PROGRAM 600MAINT 601slibdir 602PICFLAG 603host_os 604host_vendor 605host_cpu 606host 607build_os 608build_vendor 609build_cpu 610build 611enable_vtable_verify 612enable_shared 613libgcc_topdir 614target_alias 615host_alias 616build_alias 617LIBS 618ECHO_T 619ECHO_N 620ECHO_C 621DEFS 622mandir 623localedir 624libdir 625psdir 626pdfdir 627dvidir 628htmldir 629infodir 630docdir 631oldincludedir 632includedir 633localstatedir 634sharedstatedir 635sysconfdir 636datadir 637datarootdir 638libexecdir 639sbindir 640bindir 641program_transform_name 642prefix 643exec_prefix 644PACKAGE_URL 645PACKAGE_BUGREPORT 646PACKAGE_STRING 647PACKAGE_VERSION 648PACKAGE_TARNAME 649PACKAGE_NAME 650PATH_SEPARATOR 651SHELL' 652ac_subst_files='' 653ac_user_opts=' 654enable_option_checking 655with_target_subdir 656with_cross_host 657with_ld 658enable_shared 659enable_vtable_verify 660enable_version_specific_runtime_libs 661with_slibdir 662enable_maintainer_mode 663with_build_libsubdir 664enable_decimal_float 665with_system_libunwind 666enable_sjlj_exceptions 667enable_tls 668' 669 ac_precious_vars='build_alias 670host_alias 671target_alias 672CC 673CFLAGS 674LDFLAGS 675LIBS 676CPPFLAGS 677CPP' 678 679 680# Initialize some variables set by options. 681ac_init_help= 682ac_init_version=false 683ac_unrecognized_opts= 684ac_unrecognized_sep= 685# The variables have the same names as the options, with 686# dashes changed to underlines. 687cache_file=/dev/null 688exec_prefix=NONE 689no_create= 690no_recursion= 691prefix=NONE 692program_prefix=NONE 693program_suffix=NONE 694program_transform_name=s,x,x, 695silent= 696site= 697srcdir= 698verbose= 699x_includes=NONE 700x_libraries=NONE 701 702# Installation directory options. 703# These are left unexpanded so users can "make install exec_prefix=/foo" 704# and all the variables that are supposed to be based on exec_prefix 705# by default will actually change. 706# Use braces instead of parens because sh, perl, etc. also accept them. 707# (The list follows the same order as the GNU Coding Standards.) 708bindir='${exec_prefix}/bin' 709sbindir='${exec_prefix}/sbin' 710libexecdir='${exec_prefix}/libexec' 711datarootdir='${prefix}/share' 712datadir='${datarootdir}' 713sysconfdir='${prefix}/etc' 714sharedstatedir='${prefix}/com' 715localstatedir='${prefix}/var' 716includedir='${prefix}/include' 717oldincludedir='/usr/include' 718docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 719infodir='${datarootdir}/info' 720htmldir='${docdir}' 721dvidir='${docdir}' 722pdfdir='${docdir}' 723psdir='${docdir}' 724libdir='${exec_prefix}/lib' 725localedir='${datarootdir}/locale' 726mandir='${datarootdir}/man' 727 728ac_prev= 729ac_dashdash= 730for ac_option 731do 732 # If the previous option needs an argument, assign it. 733 if test -n "$ac_prev"; then 734 eval $ac_prev=\$ac_option 735 ac_prev= 736 continue 737 fi 738 739 case $ac_option in 740 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 741 *) ac_optarg=yes ;; 742 esac 743 744 # Accept the important Cygnus configure options, so we can diagnose typos. 745 746 case $ac_dashdash$ac_option in 747 --) 748 ac_dashdash=yes ;; 749 750 -bindir | --bindir | --bindi | --bind | --bin | --bi) 751 ac_prev=bindir ;; 752 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 753 bindir=$ac_optarg ;; 754 755 -build | --build | --buil | --bui | --bu) 756 ac_prev=build_alias ;; 757 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 758 build_alias=$ac_optarg ;; 759 760 -cache-file | --cache-file | --cache-fil | --cache-fi \ 761 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 762 ac_prev=cache_file ;; 763 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 764 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 765 cache_file=$ac_optarg ;; 766 767 --config-cache | -C) 768 cache_file=config.cache ;; 769 770 -datadir | --datadir | --datadi | --datad) 771 ac_prev=datadir ;; 772 -datadir=* | --datadir=* | --datadi=* | --datad=*) 773 datadir=$ac_optarg ;; 774 775 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 776 | --dataroo | --dataro | --datar) 777 ac_prev=datarootdir ;; 778 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 779 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 780 datarootdir=$ac_optarg ;; 781 782 -disable-* | --disable-*) 783 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 784 # Reject names that are not valid shell variable names. 785 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 786 as_fn_error "invalid feature name: $ac_useropt" 787 ac_useropt_orig=$ac_useropt 788 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 789 case $ac_user_opts in 790 *" 791"enable_$ac_useropt" 792"*) ;; 793 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 794 ac_unrecognized_sep=', ';; 795 esac 796 eval enable_$ac_useropt=no ;; 797 798 -docdir | --docdir | --docdi | --doc | --do) 799 ac_prev=docdir ;; 800 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 801 docdir=$ac_optarg ;; 802 803 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 804 ac_prev=dvidir ;; 805 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 806 dvidir=$ac_optarg ;; 807 808 -enable-* | --enable-*) 809 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 810 # Reject names that are not valid shell variable names. 811 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 812 as_fn_error "invalid feature name: $ac_useropt" 813 ac_useropt_orig=$ac_useropt 814 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 815 case $ac_user_opts in 816 *" 817"enable_$ac_useropt" 818"*) ;; 819 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 820 ac_unrecognized_sep=', ';; 821 esac 822 eval enable_$ac_useropt=\$ac_optarg ;; 823 824 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 825 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 826 | --exec | --exe | --ex) 827 ac_prev=exec_prefix ;; 828 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 829 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 830 | --exec=* | --exe=* | --ex=*) 831 exec_prefix=$ac_optarg ;; 832 833 -gas | --gas | --ga | --g) 834 # Obsolete; use --with-gas. 835 with_gas=yes ;; 836 837 -help | --help | --hel | --he | -h) 838 ac_init_help=long ;; 839 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 840 ac_init_help=recursive ;; 841 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 842 ac_init_help=short ;; 843 844 -host | --host | --hos | --ho) 845 ac_prev=host_alias ;; 846 -host=* | --host=* | --hos=* | --ho=*) 847 host_alias=$ac_optarg ;; 848 849 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 850 ac_prev=htmldir ;; 851 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 852 | --ht=*) 853 htmldir=$ac_optarg ;; 854 855 -includedir | --includedir | --includedi | --included | --include \ 856 | --includ | --inclu | --incl | --inc) 857 ac_prev=includedir ;; 858 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 859 | --includ=* | --inclu=* | --incl=* | --inc=*) 860 includedir=$ac_optarg ;; 861 862 -infodir | --infodir | --infodi | --infod | --info | --inf) 863 ac_prev=infodir ;; 864 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 865 infodir=$ac_optarg ;; 866 867 -libdir | --libdir | --libdi | --libd) 868 ac_prev=libdir ;; 869 -libdir=* | --libdir=* | --libdi=* | --libd=*) 870 libdir=$ac_optarg ;; 871 872 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 873 | --libexe | --libex | --libe) 874 ac_prev=libexecdir ;; 875 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 876 | --libexe=* | --libex=* | --libe=*) 877 libexecdir=$ac_optarg ;; 878 879 -localedir | --localedir | --localedi | --localed | --locale) 880 ac_prev=localedir ;; 881 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 882 localedir=$ac_optarg ;; 883 884 -localstatedir | --localstatedir | --localstatedi | --localstated \ 885 | --localstate | --localstat | --localsta | --localst | --locals) 886 ac_prev=localstatedir ;; 887 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 888 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 889 localstatedir=$ac_optarg ;; 890 891 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 892 ac_prev=mandir ;; 893 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 894 mandir=$ac_optarg ;; 895 896 -nfp | --nfp | --nf) 897 # Obsolete; use --without-fp. 898 with_fp=no ;; 899 900 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 901 | --no-cr | --no-c | -n) 902 no_create=yes ;; 903 904 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 905 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 906 no_recursion=yes ;; 907 908 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 909 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 910 | --oldin | --oldi | --old | --ol | --o) 911 ac_prev=oldincludedir ;; 912 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 913 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 914 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 915 oldincludedir=$ac_optarg ;; 916 917 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 918 ac_prev=prefix ;; 919 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 920 prefix=$ac_optarg ;; 921 922 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 923 | --program-pre | --program-pr | --program-p) 924 ac_prev=program_prefix ;; 925 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 926 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 927 program_prefix=$ac_optarg ;; 928 929 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 930 | --program-suf | --program-su | --program-s) 931 ac_prev=program_suffix ;; 932 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 933 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 934 program_suffix=$ac_optarg ;; 935 936 -program-transform-name | --program-transform-name \ 937 | --program-transform-nam | --program-transform-na \ 938 | --program-transform-n | --program-transform- \ 939 | --program-transform | --program-transfor \ 940 | --program-transfo | --program-transf \ 941 | --program-trans | --program-tran \ 942 | --progr-tra | --program-tr | --program-t) 943 ac_prev=program_transform_name ;; 944 -program-transform-name=* | --program-transform-name=* \ 945 | --program-transform-nam=* | --program-transform-na=* \ 946 | --program-transform-n=* | --program-transform-=* \ 947 | --program-transform=* | --program-transfor=* \ 948 | --program-transfo=* | --program-transf=* \ 949 | --program-trans=* | --program-tran=* \ 950 | --progr-tra=* | --program-tr=* | --program-t=*) 951 program_transform_name=$ac_optarg ;; 952 953 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 954 ac_prev=pdfdir ;; 955 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 956 pdfdir=$ac_optarg ;; 957 958 -psdir | --psdir | --psdi | --psd | --ps) 959 ac_prev=psdir ;; 960 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 961 psdir=$ac_optarg ;; 962 963 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 964 | -silent | --silent | --silen | --sile | --sil) 965 silent=yes ;; 966 967 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 968 ac_prev=sbindir ;; 969 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 970 | --sbi=* | --sb=*) 971 sbindir=$ac_optarg ;; 972 973 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 974 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 975 | --sharedst | --shareds | --shared | --share | --shar \ 976 | --sha | --sh) 977 ac_prev=sharedstatedir ;; 978 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 979 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 980 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 981 | --sha=* | --sh=*) 982 sharedstatedir=$ac_optarg ;; 983 984 -site | --site | --sit) 985 ac_prev=site ;; 986 -site=* | --site=* | --sit=*) 987 site=$ac_optarg ;; 988 989 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 990 ac_prev=srcdir ;; 991 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 992 srcdir=$ac_optarg ;; 993 994 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 995 | --syscon | --sysco | --sysc | --sys | --sy) 996 ac_prev=sysconfdir ;; 997 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 998 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 999 sysconfdir=$ac_optarg ;; 1000 1001 -target | --target | --targe | --targ | --tar | --ta | --t) 1002 ac_prev=target_alias ;; 1003 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1004 target_alias=$ac_optarg ;; 1005 1006 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1007 verbose=yes ;; 1008 1009 -version | --version | --versio | --versi | --vers | -V) 1010 ac_init_version=: ;; 1011 1012 -with-* | --with-*) 1013 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1014 # Reject names that are not valid shell variable names. 1015 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1016 as_fn_error "invalid package name: $ac_useropt" 1017 ac_useropt_orig=$ac_useropt 1018 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1019 case $ac_user_opts in 1020 *" 1021"with_$ac_useropt" 1022"*) ;; 1023 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1024 ac_unrecognized_sep=', ';; 1025 esac 1026 eval with_$ac_useropt=\$ac_optarg ;; 1027 1028 -without-* | --without-*) 1029 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1030 # Reject names that are not valid shell variable names. 1031 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1032 as_fn_error "invalid package name: $ac_useropt" 1033 ac_useropt_orig=$ac_useropt 1034 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1035 case $ac_user_opts in 1036 *" 1037"with_$ac_useropt" 1038"*) ;; 1039 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1040 ac_unrecognized_sep=', ';; 1041 esac 1042 eval with_$ac_useropt=no ;; 1043 1044 --x) 1045 # Obsolete; use --with-x. 1046 with_x=yes ;; 1047 1048 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1049 | --x-incl | --x-inc | --x-in | --x-i) 1050 ac_prev=x_includes ;; 1051 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1052 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1053 x_includes=$ac_optarg ;; 1054 1055 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1056 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1057 ac_prev=x_libraries ;; 1058 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1059 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1060 x_libraries=$ac_optarg ;; 1061 1062 -*) as_fn_error "unrecognized option: \`$ac_option' 1063Try \`$0 --help' for more information." 1064 ;; 1065 1066 *=*) 1067 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1068 # Reject names that are not valid shell variable names. 1069 case $ac_envvar in #( 1070 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1071 as_fn_error "invalid variable name: \`$ac_envvar'" ;; 1072 esac 1073 eval $ac_envvar=\$ac_optarg 1074 export $ac_envvar ;; 1075 1076 *) 1077 # FIXME: should be removed in autoconf 3.0. 1078 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1079 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1080 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1081 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1082 ;; 1083 1084 esac 1085done 1086 1087if test -n "$ac_prev"; then 1088 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1089 as_fn_error "missing argument to $ac_option" 1090fi 1091 1092if test -n "$ac_unrecognized_opts"; then 1093 case $enable_option_checking in 1094 no) ;; 1095 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; 1096 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1097 esac 1098fi 1099 1100# Check all directory arguments for consistency. 1101for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1102 datadir sysconfdir sharedstatedir localstatedir includedir \ 1103 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1104 libdir localedir mandir 1105do 1106 eval ac_val=\$$ac_var 1107 # Remove trailing slashes. 1108 case $ac_val in 1109 */ ) 1110 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1111 eval $ac_var=\$ac_val;; 1112 esac 1113 # Be sure to have absolute directory names. 1114 case $ac_val in 1115 [\\/$]* | ?:[\\/]* ) continue;; 1116 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1117 esac 1118 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" 1119done 1120 1121# There might be people who depend on the old broken behavior: `$host' 1122# used to hold the argument of --host etc. 1123# FIXME: To remove some day. 1124build=$build_alias 1125host=$host_alias 1126target=$target_alias 1127 1128# FIXME: To remove some day. 1129if test "x$host_alias" != x; then 1130 if test "x$build_alias" = x; then 1131 cross_compiling=maybe 1132 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1133 If a cross compiler is detected then cross compile mode will be used." >&2 1134 elif test "x$build_alias" != "x$host_alias"; then 1135 cross_compiling=yes 1136 fi 1137fi 1138 1139ac_tool_prefix= 1140test -n "$host_alias" && ac_tool_prefix=$host_alias- 1141 1142test "$silent" = yes && exec 6>/dev/null 1143 1144 1145ac_pwd=`pwd` && test -n "$ac_pwd" && 1146ac_ls_di=`ls -di .` && 1147ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1148 as_fn_error "working directory cannot be determined" 1149test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1150 as_fn_error "pwd does not report name of working directory" 1151 1152 1153# Find the source files, if location was not specified. 1154if test -z "$srcdir"; then 1155 ac_srcdir_defaulted=yes 1156 # Try the directory containing this script, then the parent directory. 1157 ac_confdir=`$as_dirname -- "$as_myself" || 1158$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1159 X"$as_myself" : 'X\(//\)[^/]' \| \ 1160 X"$as_myself" : 'X\(//\)$' \| \ 1161 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1162$as_echo X"$as_myself" | 1163 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1164 s//\1/ 1165 q 1166 } 1167 /^X\(\/\/\)[^/].*/{ 1168 s//\1/ 1169 q 1170 } 1171 /^X\(\/\/\)$/{ 1172 s//\1/ 1173 q 1174 } 1175 /^X\(\/\).*/{ 1176 s//\1/ 1177 q 1178 } 1179 s/.*/./; q'` 1180 srcdir=$ac_confdir 1181 if test ! -r "$srcdir/$ac_unique_file"; then 1182 srcdir=.. 1183 fi 1184else 1185 ac_srcdir_defaulted=no 1186fi 1187if test ! -r "$srcdir/$ac_unique_file"; then 1188 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1189 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" 1190fi 1191ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1192ac_abs_confdir=`( 1193 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" 1194 pwd)` 1195# When building in place, set srcdir=. 1196if test "$ac_abs_confdir" = "$ac_pwd"; then 1197 srcdir=. 1198fi 1199# Remove unnecessary trailing slashes from srcdir. 1200# Double slashes in file names in object file debugging info 1201# mess up M-x gdb in Emacs. 1202case $srcdir in 1203*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1204esac 1205for ac_var in $ac_precious_vars; do 1206 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1207 eval ac_env_${ac_var}_value=\$${ac_var} 1208 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1209 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1210done 1211 1212# 1213# Report the --help message. 1214# 1215if test "$ac_init_help" = "long"; then 1216 # Omit some internal or obsolete options to make the list less imposing. 1217 # This message is too long to be a string in the A/UX 3.1 sh. 1218 cat <<_ACEOF 1219\`configure' configures GNU C Runtime Library 1.0 to adapt to many kinds of systems. 1220 1221Usage: $0 [OPTION]... [VAR=VALUE]... 1222 1223To assign environment variables (e.g., CC, CFLAGS...), specify them as 1224VAR=VALUE. See below for descriptions of some of the useful variables. 1225 1226Defaults for the options are specified in brackets. 1227 1228Configuration: 1229 -h, --help display this help and exit 1230 --help=short display options specific to this package 1231 --help=recursive display the short help of all the included packages 1232 -V, --version display version information and exit 1233 -q, --quiet, --silent do not print \`checking...' messages 1234 --cache-file=FILE cache test results in FILE [disabled] 1235 -C, --config-cache alias for \`--cache-file=config.cache' 1236 -n, --no-create do not create output files 1237 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1238 1239Installation directories: 1240 --prefix=PREFIX install architecture-independent files in PREFIX 1241 [$ac_default_prefix] 1242 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1243 [PREFIX] 1244 1245By default, \`make install' will install all the files in 1246\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1247an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1248for instance \`--prefix=\$HOME'. 1249 1250For better control, use the options below. 1251 1252Fine tuning of the installation directories: 1253 --bindir=DIR user executables [EPREFIX/bin] 1254 --sbindir=DIR system admin executables [EPREFIX/sbin] 1255 --libexecdir=DIR program executables [EPREFIX/libexec] 1256 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1257 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1258 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1259 --libdir=DIR object code libraries [EPREFIX/lib] 1260 --includedir=DIR C header files [PREFIX/include] 1261 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1262 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1263 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1264 --infodir=DIR info documentation [DATAROOTDIR/info] 1265 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1266 --mandir=DIR man documentation [DATAROOTDIR/man] 1267 --docdir=DIR documentation root [DATAROOTDIR/doc/libgcc] 1268 --htmldir=DIR html documentation [DOCDIR] 1269 --dvidir=DIR dvi documentation [DOCDIR] 1270 --pdfdir=DIR pdf documentation [DOCDIR] 1271 --psdir=DIR ps documentation [DOCDIR] 1272_ACEOF 1273 1274 cat <<\_ACEOF 1275 1276System types: 1277 --build=BUILD configure for building on BUILD [guessed] 1278 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1279_ACEOF 1280fi 1281 1282if test -n "$ac_init_help"; then 1283 case $ac_init_help in 1284 short | recursive ) echo "Configuration of GNU C Runtime Library 1.0:";; 1285 esac 1286 cat <<\_ACEOF 1287 1288Optional Features: 1289 --disable-option-checking ignore unrecognized --enable/--with options 1290 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1291 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1292 --disable-shared don't provide a shared libgcc 1293 --enable-vtable-verify Enable vtable verification feature 1294 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory 1295 --enable-maintainer-mode 1296 enable make rules and dependencies not useful (and 1297 sometimes confusing) to the casual installer 1298 --enable-decimal-float={no,yes,bid,dpd} 1299 enable decimal float extension to C. Selecting 'bid' 1300 or 'dpd' choses which decimal floating point format 1301 to use 1302 --enable-sjlj-exceptions 1303 force use of builtin_setjmp for exceptions 1304 --enable-tls Use thread-local storage [default=yes] 1305 1306Optional Packages: 1307 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1308 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1309 --with-target-subdir=SUBDIR Configuring in a subdirectory for target 1310 --with-cross-host=HOST Configuring with a cross compiler 1311 --with-ld arrange to use the specified ld (full pathname) 1312 --with-slibdir=DIR shared libraries in DIR LIBDIR 1313 --with-build-libsubdir=DIR Directory where to find libraries for build system 1314 --with-system-libunwind use installed libunwind 1315 1316Some influential environment variables: 1317 CC C compiler command 1318 CFLAGS C compiler flags 1319 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1320 nonstandard directory <lib dir> 1321 LIBS libraries to pass to the linker, e.g. -l<library> 1322 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1323 you have headers in a nonstandard directory <include dir> 1324 CPP C preprocessor 1325 1326Use these variables to override the choices made by `configure' or to help 1327it to find libraries and programs with nonstandard names/locations. 1328 1329Report bugs to the package provider. 1330GNU C Runtime Library home page: <http://www.gnu.org/software/libgcc/>. 1331General help using GNU software: <http://www.gnu.org/gethelp/>. 1332_ACEOF 1333ac_status=$? 1334fi 1335 1336if test "$ac_init_help" = "recursive"; then 1337 # If there are subdirs, report their specific --help. 1338 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1339 test -d "$ac_dir" || 1340 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1341 continue 1342 ac_builddir=. 1343 1344case "$ac_dir" in 1345.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1346*) 1347 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1348 # A ".." for each directory in $ac_dir_suffix. 1349 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1350 case $ac_top_builddir_sub in 1351 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1352 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1353 esac ;; 1354esac 1355ac_abs_top_builddir=$ac_pwd 1356ac_abs_builddir=$ac_pwd$ac_dir_suffix 1357# for backward compatibility: 1358ac_top_builddir=$ac_top_build_prefix 1359 1360case $srcdir in 1361 .) # We are building in place. 1362 ac_srcdir=. 1363 ac_top_srcdir=$ac_top_builddir_sub 1364 ac_abs_top_srcdir=$ac_pwd ;; 1365 [\\/]* | ?:[\\/]* ) # Absolute name. 1366 ac_srcdir=$srcdir$ac_dir_suffix; 1367 ac_top_srcdir=$srcdir 1368 ac_abs_top_srcdir=$srcdir ;; 1369 *) # Relative name. 1370 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1371 ac_top_srcdir=$ac_top_build_prefix$srcdir 1372 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1373esac 1374ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1375 1376 cd "$ac_dir" || { ac_status=$?; continue; } 1377 # Check for guested configure. 1378 if test -f "$ac_srcdir/configure.gnu"; then 1379 echo && 1380 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1381 elif test -f "$ac_srcdir/configure"; then 1382 echo && 1383 $SHELL "$ac_srcdir/configure" --help=recursive 1384 else 1385 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1386 fi || ac_status=$? 1387 cd "$ac_pwd" || { ac_status=$?; break; } 1388 done 1389fi 1390 1391test -n "$ac_init_help" && exit $ac_status 1392if $ac_init_version; then 1393 cat <<\_ACEOF 1394GNU C Runtime Library configure 1.0 1395generated by GNU Autoconf 2.64 1396 1397Copyright (C) 2009 Free Software Foundation, Inc. 1398This configure script is free software; the Free Software Foundation 1399gives unlimited permission to copy, distribute and modify it. 1400_ACEOF 1401 exit 1402fi 1403 1404## ------------------------ ## 1405## Autoconf initialization. ## 1406## ------------------------ ## 1407 1408# ac_fn_c_try_compile LINENO 1409# -------------------------- 1410# Try to compile conftest.$ac_ext, and return whether this succeeded. 1411ac_fn_c_try_compile () 1412{ 1413 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1414 rm -f conftest.$ac_objext 1415 if { { ac_try="$ac_compile" 1416case "(($ac_try" in 1417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1418 *) ac_try_echo=$ac_try;; 1419esac 1420eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1421$as_echo "$ac_try_echo"; } >&5 1422 (eval "$ac_compile") 2>conftest.err 1423 ac_status=$? 1424 if test -s conftest.err; then 1425 grep -v '^ *+' conftest.err >conftest.er1 1426 cat conftest.er1 >&5 1427 mv -f conftest.er1 conftest.err 1428 fi 1429 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1430 test $ac_status = 0; } && { 1431 test -z "$ac_c_werror_flag" || 1432 test ! -s conftest.err 1433 } && test -s conftest.$ac_objext; then : 1434 ac_retval=0 1435else 1436 $as_echo "$as_me: failed program was:" >&5 1437sed 's/^/| /' conftest.$ac_ext >&5 1438 1439 ac_retval=1 1440fi 1441 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1442 return $ac_retval 1443 1444} # ac_fn_c_try_compile 1445 1446# ac_fn_c_try_cpp LINENO 1447# ---------------------- 1448# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1449ac_fn_c_try_cpp () 1450{ 1451 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1452 if { { ac_try="$ac_cpp conftest.$ac_ext" 1453case "(($ac_try" in 1454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1455 *) ac_try_echo=$ac_try;; 1456esac 1457eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1458$as_echo "$ac_try_echo"; } >&5 1459 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1460 ac_status=$? 1461 if test -s conftest.err; then 1462 grep -v '^ *+' conftest.err >conftest.er1 1463 cat conftest.er1 >&5 1464 mv -f conftest.er1 conftest.err 1465 fi 1466 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1467 test $ac_status = 0; } >/dev/null && { 1468 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1469 test ! -s conftest.err 1470 }; then : 1471 ac_retval=0 1472else 1473 $as_echo "$as_me: failed program was:" >&5 1474sed 's/^/| /' conftest.$ac_ext >&5 1475 1476 ac_retval=1 1477fi 1478 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1479 return $ac_retval 1480 1481} # ac_fn_c_try_cpp 1482 1483# ac_fn_c_try_run LINENO 1484# ---------------------- 1485# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1486# that executables *can* be run. 1487ac_fn_c_try_run () 1488{ 1489 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1490 if { { ac_try="$ac_link" 1491case "(($ac_try" in 1492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1493 *) ac_try_echo=$ac_try;; 1494esac 1495eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1496$as_echo "$ac_try_echo"; } >&5 1497 (eval "$ac_link") 2>&5 1498 ac_status=$? 1499 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1500 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1501 { { case "(($ac_try" in 1502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1503 *) ac_try_echo=$ac_try;; 1504esac 1505eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1506$as_echo "$ac_try_echo"; } >&5 1507 (eval "$ac_try") 2>&5 1508 ac_status=$? 1509 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1510 test $ac_status = 0; }; }; then : 1511 ac_retval=0 1512else 1513 $as_echo "$as_me: program exited with status $ac_status" >&5 1514 $as_echo "$as_me: failed program was:" >&5 1515sed 's/^/| /' conftest.$ac_ext >&5 1516 1517 ac_retval=$ac_status 1518fi 1519 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1520 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1521 return $ac_retval 1522 1523} # ac_fn_c_try_run 1524 1525# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES 1526# -------------------------------------------- 1527# Tries to find the compile-time value of EXPR in a program that includes 1528# INCLUDES, setting VAR accordingly. Returns whether the value could be 1529# computed 1530ac_fn_c_compute_int () 1531{ 1532 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1533 if test "$cross_compiling" = yes; then 1534 # Depending upon the size, compute the lo and hi bounds. 1535cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1536/* end confdefs.h. */ 1537$4 1538int 1539main () 1540{ 1541static int test_array [1 - 2 * !(($2) >= 0)]; 1542test_array [0] = 0 1543 1544 ; 1545 return 0; 1546} 1547_ACEOF 1548if ac_fn_c_try_compile "$LINENO"; then : 1549 ac_lo=0 ac_mid=0 1550 while :; do 1551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1552/* end confdefs.h. */ 1553$4 1554int 1555main () 1556{ 1557static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 1558test_array [0] = 0 1559 1560 ; 1561 return 0; 1562} 1563_ACEOF 1564if ac_fn_c_try_compile "$LINENO"; then : 1565 ac_hi=$ac_mid; break 1566else 1567 as_fn_arith $ac_mid + 1 && ac_lo=$as_val 1568 if test $ac_lo -le $ac_mid; then 1569 ac_lo= ac_hi= 1570 break 1571 fi 1572 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val 1573fi 1574rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1575 done 1576else 1577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1578/* end confdefs.h. */ 1579$4 1580int 1581main () 1582{ 1583static int test_array [1 - 2 * !(($2) < 0)]; 1584test_array [0] = 0 1585 1586 ; 1587 return 0; 1588} 1589_ACEOF 1590if ac_fn_c_try_compile "$LINENO"; then : 1591 ac_hi=-1 ac_mid=-1 1592 while :; do 1593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1594/* end confdefs.h. */ 1595$4 1596int 1597main () 1598{ 1599static int test_array [1 - 2 * !(($2) >= $ac_mid)]; 1600test_array [0] = 0 1601 1602 ; 1603 return 0; 1604} 1605_ACEOF 1606if ac_fn_c_try_compile "$LINENO"; then : 1607 ac_lo=$ac_mid; break 1608else 1609 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val 1610 if test $ac_mid -le $ac_hi; then 1611 ac_lo= ac_hi= 1612 break 1613 fi 1614 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val 1615fi 1616rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1617 done 1618else 1619 ac_lo= ac_hi= 1620fi 1621rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1622fi 1623rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1624# Binary search between lo and hi bounds. 1625while test "x$ac_lo" != "x$ac_hi"; do 1626 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val 1627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1628/* end confdefs.h. */ 1629$4 1630int 1631main () 1632{ 1633static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 1634test_array [0] = 0 1635 1636 ; 1637 return 0; 1638} 1639_ACEOF 1640if ac_fn_c_try_compile "$LINENO"; then : 1641 ac_hi=$ac_mid 1642else 1643 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val 1644fi 1645rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1646done 1647case $ac_lo in #(( 1648?*) eval "$3=\$ac_lo"; ac_retval=0 ;; 1649'') ac_retval=1 ;; 1650esac 1651 else 1652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1653/* end confdefs.h. */ 1654$4 1655static long int longval () { return $2; } 1656static unsigned long int ulongval () { return $2; } 1657#include <stdio.h> 1658#include <stdlib.h> 1659int 1660main () 1661{ 1662 1663 FILE *f = fopen ("conftest.val", "w"); 1664 if (! f) 1665 return 1; 1666 if (($2) < 0) 1667 { 1668 long int i = longval (); 1669 if (i != ($2)) 1670 return 1; 1671 fprintf (f, "%ld", i); 1672 } 1673 else 1674 { 1675 unsigned long int i = ulongval (); 1676 if (i != ($2)) 1677 return 1; 1678 fprintf (f, "%lu", i); 1679 } 1680 /* Do not output a trailing newline, as this causes \r\n confusion 1681 on some platforms. */ 1682 return ferror (f) || fclose (f) != 0; 1683 1684 ; 1685 return 0; 1686} 1687_ACEOF 1688if ac_fn_c_try_run "$LINENO"; then : 1689 echo >>conftest.val; read $3 <conftest.val; ac_retval=0 1690else 1691 ac_retval=1 1692fi 1693rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 1694 conftest.$ac_objext conftest.beam conftest.$ac_ext 1695rm -f conftest.val 1696 1697 fi 1698 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1699 return $ac_retval 1700 1701} # ac_fn_c_compute_int 1702cat >config.log <<_ACEOF 1703This file contains any messages produced by compilers while 1704running configure, to aid debugging if configure makes a mistake. 1705 1706It was created by GNU C Runtime Library $as_me 1.0, which was 1707generated by GNU Autoconf 2.64. Invocation command line was 1708 1709 $ $0 $@ 1710 1711_ACEOF 1712exec 5>>config.log 1713{ 1714cat <<_ASUNAME 1715## --------- ## 1716## Platform. ## 1717## --------- ## 1718 1719hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1720uname -m = `(uname -m) 2>/dev/null || echo unknown` 1721uname -r = `(uname -r) 2>/dev/null || echo unknown` 1722uname -s = `(uname -s) 2>/dev/null || echo unknown` 1723uname -v = `(uname -v) 2>/dev/null || echo unknown` 1724 1725/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1726/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1727 1728/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1729/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1730/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1731/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1732/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1733/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1734/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1735 1736_ASUNAME 1737 1738as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1739for as_dir in $PATH 1740do 1741 IFS=$as_save_IFS 1742 test -z "$as_dir" && as_dir=. 1743 $as_echo "PATH: $as_dir" 1744 done 1745IFS=$as_save_IFS 1746 1747} >&5 1748 1749cat >&5 <<_ACEOF 1750 1751 1752## ----------- ## 1753## Core tests. ## 1754## ----------- ## 1755 1756_ACEOF 1757 1758 1759# Keep a trace of the command line. 1760# Strip out --no-create and --no-recursion so they do not pile up. 1761# Strip out --silent because we don't want to record it for future runs. 1762# Also quote any args containing shell meta-characters. 1763# Make two passes to allow for proper duplicate-argument suppression. 1764ac_configure_args= 1765ac_configure_args0= 1766ac_configure_args1= 1767ac_must_keep_next=false 1768for ac_pass in 1 2 1769do 1770 for ac_arg 1771 do 1772 case $ac_arg in 1773 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1774 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1775 | -silent | --silent | --silen | --sile | --sil) 1776 continue ;; 1777 *\'*) 1778 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1779 esac 1780 case $ac_pass in 1781 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1782 2) 1783 as_fn_append ac_configure_args1 " '$ac_arg'" 1784 if test $ac_must_keep_next = true; then 1785 ac_must_keep_next=false # Got value, back to normal. 1786 else 1787 case $ac_arg in 1788 *=* | --config-cache | -C | -disable-* | --disable-* \ 1789 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1790 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1791 | -with-* | --with-* | -without-* | --without-* | --x) 1792 case "$ac_configure_args0 " in 1793 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1794 esac 1795 ;; 1796 -* ) ac_must_keep_next=true ;; 1797 esac 1798 fi 1799 as_fn_append ac_configure_args " '$ac_arg'" 1800 ;; 1801 esac 1802 done 1803done 1804{ ac_configure_args0=; unset ac_configure_args0;} 1805{ ac_configure_args1=; unset ac_configure_args1;} 1806 1807# When interrupted or exit'd, cleanup temporary files, and complete 1808# config.log. We remove comments because anyway the quotes in there 1809# would cause problems or look ugly. 1810# WARNING: Use '\'' to represent an apostrophe within the trap. 1811# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1812trap 'exit_status=$? 1813 # Save into config.log some information that might help in debugging. 1814 { 1815 echo 1816 1817 cat <<\_ASBOX 1818## ---------------- ## 1819## Cache variables. ## 1820## ---------------- ## 1821_ASBOX 1822 echo 1823 # The following way of writing the cache mishandles newlines in values, 1824( 1825 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1826 eval ac_val=\$$ac_var 1827 case $ac_val in #( 1828 *${as_nl}*) 1829 case $ac_var in #( 1830 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1831$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1832 esac 1833 case $ac_var in #( 1834 _ | IFS | as_nl) ;; #( 1835 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1836 *) { eval $ac_var=; unset $ac_var;} ;; 1837 esac ;; 1838 esac 1839 done 1840 (set) 2>&1 | 1841 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1842 *${as_nl}ac_space=\ *) 1843 sed -n \ 1844 "s/'\''/'\''\\\\'\'''\''/g; 1845 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1846 ;; #( 1847 *) 1848 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1849 ;; 1850 esac | 1851 sort 1852) 1853 echo 1854 1855 cat <<\_ASBOX 1856## ----------------- ## 1857## Output variables. ## 1858## ----------------- ## 1859_ASBOX 1860 echo 1861 for ac_var in $ac_subst_vars 1862 do 1863 eval ac_val=\$$ac_var 1864 case $ac_val in 1865 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1866 esac 1867 $as_echo "$ac_var='\''$ac_val'\''" 1868 done | sort 1869 echo 1870 1871 if test -n "$ac_subst_files"; then 1872 cat <<\_ASBOX 1873## ------------------- ## 1874## File substitutions. ## 1875## ------------------- ## 1876_ASBOX 1877 echo 1878 for ac_var in $ac_subst_files 1879 do 1880 eval ac_val=\$$ac_var 1881 case $ac_val in 1882 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1883 esac 1884 $as_echo "$ac_var='\''$ac_val'\''" 1885 done | sort 1886 echo 1887 fi 1888 1889 if test -s confdefs.h; then 1890 cat <<\_ASBOX 1891## ----------- ## 1892## confdefs.h. ## 1893## ----------- ## 1894_ASBOX 1895 echo 1896 cat confdefs.h 1897 echo 1898 fi 1899 test "$ac_signal" != 0 && 1900 $as_echo "$as_me: caught signal $ac_signal" 1901 $as_echo "$as_me: exit $exit_status" 1902 } >&5 1903 rm -f core *.core core.conftest.* && 1904 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1905 exit $exit_status 1906' 0 1907for ac_signal in 1 2 13 15; do 1908 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1909done 1910ac_signal=0 1911 1912# confdefs.h avoids OS command line length limits that DEFS can exceed. 1913rm -f -r conftest* confdefs.h 1914 1915$as_echo "/* confdefs.h */" > confdefs.h 1916 1917# Predefined preprocessor variables. 1918 1919cat >>confdefs.h <<_ACEOF 1920#define PACKAGE_NAME "$PACKAGE_NAME" 1921_ACEOF 1922 1923cat >>confdefs.h <<_ACEOF 1924#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1925_ACEOF 1926 1927cat >>confdefs.h <<_ACEOF 1928#define PACKAGE_VERSION "$PACKAGE_VERSION" 1929_ACEOF 1930 1931cat >>confdefs.h <<_ACEOF 1932#define PACKAGE_STRING "$PACKAGE_STRING" 1933_ACEOF 1934 1935cat >>confdefs.h <<_ACEOF 1936#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1937_ACEOF 1938 1939cat >>confdefs.h <<_ACEOF 1940#define PACKAGE_URL "$PACKAGE_URL" 1941_ACEOF 1942 1943 1944# Let the site file select an alternate cache file if it wants to. 1945# Prefer an explicitly selected file to automatically selected ones. 1946ac_site_file1=NONE 1947ac_site_file2=NONE 1948if test -n "$CONFIG_SITE"; then 1949 ac_site_file1=$CONFIG_SITE 1950elif test "x$prefix" != xNONE; then 1951 ac_site_file1=$prefix/share/config.site 1952 ac_site_file2=$prefix/etc/config.site 1953else 1954 ac_site_file1=$ac_default_prefix/share/config.site 1955 ac_site_file2=$ac_default_prefix/etc/config.site 1956fi 1957for ac_site_file in "$ac_site_file1" "$ac_site_file2" 1958do 1959 test "x$ac_site_file" = xNONE && continue 1960 if test -r "$ac_site_file"; then 1961 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 1962$as_echo "$as_me: loading site script $ac_site_file" >&6;} 1963 sed 's/^/| /' "$ac_site_file" >&5 1964 . "$ac_site_file" 1965 fi 1966done 1967 1968if test -r "$cache_file"; then 1969 # Some versions of bash will fail to source /dev/null (special 1970 # files actually), so we avoid doing that. 1971 if test -f "$cache_file"; then 1972 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 1973$as_echo "$as_me: loading cache $cache_file" >&6;} 1974 case $cache_file in 1975 [\\/]* | ?:[\\/]* ) . "$cache_file";; 1976 *) . "./$cache_file";; 1977 esac 1978 fi 1979else 1980 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 1981$as_echo "$as_me: creating cache $cache_file" >&6;} 1982 >$cache_file 1983fi 1984 1985# Check that the precious variables saved in the cache have kept the same 1986# value. 1987ac_cache_corrupted=false 1988for ac_var in $ac_precious_vars; do 1989 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1990 eval ac_new_set=\$ac_env_${ac_var}_set 1991 eval ac_old_val=\$ac_cv_env_${ac_var}_value 1992 eval ac_new_val=\$ac_env_${ac_var}_value 1993 case $ac_old_set,$ac_new_set in 1994 set,) 1995 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1996$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1997 ac_cache_corrupted=: ;; 1998 ,set) 1999 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2000$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2001 ac_cache_corrupted=: ;; 2002 ,);; 2003 *) 2004 if test "x$ac_old_val" != "x$ac_new_val"; then 2005 # differences in whitespace do not lead to failure. 2006 ac_old_val_w=`echo x $ac_old_val` 2007 ac_new_val_w=`echo x $ac_new_val` 2008 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2009 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2010$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2011 ac_cache_corrupted=: 2012 else 2013 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2014$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2015 eval $ac_var=\$ac_old_val 2016 fi 2017 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2018$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2019 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2020$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2021 fi;; 2022 esac 2023 # Pass precious variables to config.status. 2024 if test "$ac_new_set" = set; then 2025 case $ac_new_val in 2026 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2027 *) ac_arg=$ac_var=$ac_new_val ;; 2028 esac 2029 case " $ac_configure_args " in 2030 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2031 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2032 esac 2033 fi 2034done 2035if $ac_cache_corrupted; then 2036 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2037$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2038 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2039$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2040 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2041fi 2042## -------------------- ## 2043## Main body of script. ## 2044## -------------------- ## 2045 2046ac_ext=c 2047ac_cpp='$CPP $CPPFLAGS' 2048ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2049ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2050ac_compiler_gnu=$ac_cv_c_compiler_gnu 2051 2052 2053 2054 2055 2056 2057 2058# The libgcc should not depend on any header files 2059 2060 2061 2062# Check whether --with-target-subdir was given. 2063if test "${with_target_subdir+set}" = set; then : 2064 withval=$with_target_subdir; 2065fi 2066 2067 2068# Check whether --with-cross-host was given. 2069if test "${with_cross_host+set}" = set; then : 2070 withval=$with_cross_host; 2071fi 2072 2073 2074# Check whether --with-ld was given. 2075if test "${with_ld+set}" = set; then : 2076 withval=$with_ld; 2077fi 2078 2079 2080if test "${srcdir}" = "."; then 2081 if test -n "${with_build_subdir}"; then 2082 libgcc_topdir="${srcdir}/../.." 2083 with_target_subdir= 2084 elif test -z "${with_target_subdir}"; then 2085 libgcc_topdir="${srcdir}/.." 2086 else 2087 if test "${with_target_subdir}" != "."; then 2088 libgcc_topdir="${srcdir}/${with_multisrctop}../.." 2089 else 2090 libgcc_topdir="${srcdir}/${with_multisrctop}.." 2091 fi 2092 fi 2093else 2094 libgcc_topdir="${srcdir}/.." 2095fi 2096 2097ac_aux_dir= 2098for ac_dir in $libgcc_topdir "$srcdir"/$libgcc_topdir; do 2099 for ac_t in install-sh install.sh shtool; do 2100 if test -f "$ac_dir/$ac_t"; then 2101 ac_aux_dir=$ac_dir 2102 ac_install_sh="$ac_aux_dir/$ac_t -c" 2103 break 2 2104 fi 2105 done 2106done 2107if test -z "$ac_aux_dir"; then 2108 as_fn_error "cannot find install-sh, install.sh, or shtool in $libgcc_topdir \"$srcdir\"/$libgcc_topdir" "$LINENO" 5 2109fi 2110 2111# These three variables are undocumented and unsupported, 2112# and are intended to be withdrawn in a future Autoconf release. 2113# They can cause serious problems if a builder's source tree is in a directory 2114# whose full name contains unusual characters. 2115ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2116ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2117ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2118 2119 2120ac_config_headers="$ac_config_headers auto-target.h:config.in" 2121 2122 2123# Check whether --enable-shared was given. 2124if test "${enable_shared+set}" = set; then : 2125 enableval=$enable_shared; 2126 case $enable_shared in 2127 yes | no) ;; 2128 *) 2129 enable_shared=no 2130 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," 2131 for pkg in $enableval; do 2132 if test "X$pkg" = "Xgcc" || test "X$pkg" = "Xlibgcc"; then 2133 enable_shared=yes 2134 fi 2135 done 2136 IFS="$ac_save_ifs" 2137 ;; 2138 esac 2139 2140else 2141 enable_shared=yes 2142fi 2143 2144 2145 2146# Check whether --enable-vtable-verify was given. 2147if test "${enable_vtable_verify+set}" = set; then : 2148 enableval=$enable_vtable_verify; case "$enableval" in 2149 yes) enable_vtable_verify=yes ;; 2150 no) enable_vtable_verify=no ;; 2151 *) enable_vtable_verify=no;; 2152 esac 2153else 2154 enable_vtable_verify=no 2155fi 2156 2157 2158 2159# Make sure we can run config.sub. 2160$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 2161 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 2162 2163{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 2164$as_echo_n "checking build system type... " >&6; } 2165if test "${ac_cv_build+set}" = set; then : 2166 $as_echo_n "(cached) " >&6 2167else 2168 ac_build_alias=$build_alias 2169test "x$ac_build_alias" = x && 2170 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 2171test "x$ac_build_alias" = x && 2172 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 2173ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 2174 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 2175 2176fi 2177{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 2178$as_echo "$ac_cv_build" >&6; } 2179case $ac_cv_build in 2180*-*-*) ;; 2181*) as_fn_error "invalid value of canonical build" "$LINENO" 5;; 2182esac 2183build=$ac_cv_build 2184ac_save_IFS=$IFS; IFS='-' 2185set x $ac_cv_build 2186shift 2187build_cpu=$1 2188build_vendor=$2 2189shift; shift 2190# Remember, the first character of IFS is used to create $*, 2191# except with old shells: 2192build_os=$* 2193IFS=$ac_save_IFS 2194case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 2195 2196 2197{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 2198$as_echo_n "checking host system type... " >&6; } 2199if test "${ac_cv_host+set}" = set; then : 2200 $as_echo_n "(cached) " >&6 2201else 2202 if test "x$host_alias" = x; then 2203 ac_cv_host=$ac_cv_build 2204else 2205 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 2206 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 2207fi 2208 2209fi 2210{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 2211$as_echo "$ac_cv_host" >&6; } 2212case $ac_cv_host in 2213*-*-*) ;; 2214*) as_fn_error "invalid value of canonical host" "$LINENO" 5;; 2215esac 2216host=$ac_cv_host 2217ac_save_IFS=$IFS; IFS='-' 2218set x $ac_cv_host 2219shift 2220host_cpu=$1 2221host_vendor=$2 2222shift; shift 2223# Remember, the first character of IFS is used to create $*, 2224# except with old shells: 2225host_os=$* 2226IFS=$ac_save_IFS 2227case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 2228 2229 2230 2231 2232 2233 2234case "${host}" in 2235 # PIC is the default on some targets or must not be used. 2236 *-*-darwin*) 2237 # PIC is the default on this platform 2238 # Common symbols not allowed in MH_DYLIB files 2239 PICFLAG=-fno-common 2240 ;; 2241 alpha*-dec-osf5*) 2242 # PIC is the default. 2243 ;; 2244 hppa*64*-*-hpux*) 2245 # PIC is the default for 64-bit PA HP-UX. 2246 ;; 2247 i[34567]86-*-cygwin* | x86_64-*-cygwin*) 2248 ;; 2249 i[34567]86-*-mingw* | x86_64-*-mingw*) 2250 ;; 2251 i[34567]86-*-interix[3-9]*) 2252 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 2253 # Instead, we relocate shared libraries at runtime. 2254 ;; 2255 i[34567]86-*-nto-qnx*) 2256 # QNX uses GNU C++, but need to define -shared option too, otherwise 2257 # it will coredump. 2258 PICFLAG='-fPIC -shared' 2259 ;; 2260 i[34567]86-pc-msdosdjgpp*) 2261 # DJGPP does not support shared libraries at all. 2262 ;; 2263 ia64*-*-hpux*) 2264 # On IA64 HP-UX, PIC is the default but the pic flag 2265 # sets the default TLS model and affects inlining. 2266 PICFLAG=-fPIC 2267 ;; 2268 mips-sgi-irix6*) 2269 # PIC is the default. 2270 ;; 2271 rs6000-ibm-aix* | powerpc-ibm-aix*) 2272 # All AIX code is PIC. 2273 ;; 2274 2275 # Some targets support both -fPIC and -fpic, but prefer the latter. 2276 # FIXME: Why? 2277 i[34567]86-*-* | x86_64-*-*) 2278 PICFLAG=-fpic 2279 ;; 2280 # FIXME: Override -fPIC default in libgcc only? 2281 sh-*-linux* | sh[2346lbe]*-*-linux*) 2282 PICFLAG=-fpic 2283 ;; 2284 # FIXME: Simplify to sh*-*-netbsd*? 2285 sh-*-netbsdelf* | shl*-*-netbsdelf* | sh5-*-netbsd* | sh5l*-*-netbsd* | \ 2286 sh64-*-netbsd* | sh64l*-*-netbsd*) 2287 PICFLAG=-fpic 2288 ;; 2289 # Default to -fPIC unless specified otherwise. 2290 *) 2291 PICFLAG=-fPIC 2292 ;; 2293esac 2294 2295# If the user explicitly uses -fpic/-fPIC, keep that. 2296case "${CFLAGS}" in 2297 *-fpic*) 2298 PICFLAG=-fpic 2299 ;; 2300 *-fPIC*) 2301 PICFLAG=-fPIC 2302 ;; 2303esac 2304 2305 2306 2307{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5 2308$as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; } 2309# Check whether --enable-version-specific-runtime-libs was given. 2310if test "${enable_version_specific_runtime_libs+set}" = set; then : 2311 enableval=$enable_version_specific_runtime_libs; case "$enableval" in 2312 yes) version_specific_libs=yes ;; 2313 no) version_specific_libs=no ;; 2314 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;; 2315 esac 2316else 2317 version_specific_libs=no 2318fi 2319 2320{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5 2321$as_echo "$version_specific_libs" >&6; } 2322 2323 2324# Check whether --with-slibdir was given. 2325if test "${with_slibdir+set}" = set; then : 2326 withval=$with_slibdir; slibdir="$with_slibdir" 2327else 2328 if test "${version_specific_libs}" = yes; then 2329 slibdir='$(libsubdir)' 2330elif test -n "$with_cross_host" && test x"$with_cross_host" != x"no"; then 2331 slibdir='$(exec_prefix)/$(host_noncanonical)/lib' 2332else 2333 slibdir='$(libdir)' 2334fi 2335fi 2336 2337 2338 2339# Command-line options. 2340# Very limited version of AC_MAINTAINER_MODE. 2341# Check whether --enable-maintainer-mode was given. 2342if test "${enable_maintainer_mode+set}" = set; then : 2343 enableval=$enable_maintainer_mode; case ${enable_maintainer_mode} in 2344 yes) MAINT='' ;; 2345 no) MAINT='#' ;; 2346 *) as_fn_error "--enable-maintainer-mode must be yes or no" "$LINENO" 5 ;; 2347 esac 2348 maintainer_mode=${enableval} 2349else 2350 MAINT='#' 2351fi 2352 2353 2354# Find a good install program. We prefer a C program (faster), 2355# so one script is as good as another. But avoid the broken or 2356# incompatible versions: 2357# SysV /etc/install, /usr/sbin/install 2358# SunOS /usr/etc/install 2359# IRIX /sbin/install 2360# AIX /bin/install 2361# AmigaOS /C/install, which installs bootblocks on floppy discs 2362# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2363# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2364# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2365# OS/2's system install, which has a completely different semantic 2366# ./install, which can be erroneously created by make from ./install.sh. 2367# Reject install programs that cannot install multiple files. 2368{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2369$as_echo_n "checking for a BSD-compatible install... " >&6; } 2370if test -z "$INSTALL"; then 2371if test "${ac_cv_path_install+set}" = set; then : 2372 $as_echo_n "(cached) " >&6 2373else 2374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2375for as_dir in $PATH 2376do 2377 IFS=$as_save_IFS 2378 test -z "$as_dir" && as_dir=. 2379 # Account for people who put trailing slashes in PATH elements. 2380case $as_dir/ in #(( 2381 ./ | .// | /[cC]/* | \ 2382 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2383 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2384 /usr/ucb/* ) ;; 2385 *) 2386 # OSF1 and SCO ODT 3.0 have their own names for install. 2387 # Don't use installbsd from OSF since it installs stuff as root 2388 # by default. 2389 for ac_prog in ginstall scoinst install; do 2390 for ac_exec_ext in '' $ac_executable_extensions; do 2391 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 2392 if test $ac_prog = install && 2393 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2394 # AIX install. It has an incompatible calling convention. 2395 : 2396 elif test $ac_prog = install && 2397 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2398 # program-specific install script used by HP pwplus--don't use. 2399 : 2400 else 2401 rm -rf conftest.one conftest.two conftest.dir 2402 echo one > conftest.one 2403 echo two > conftest.two 2404 mkdir conftest.dir 2405 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2406 test -s conftest.one && test -s conftest.two && 2407 test -s conftest.dir/conftest.one && 2408 test -s conftest.dir/conftest.two 2409 then 2410 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2411 break 3 2412 fi 2413 fi 2414 fi 2415 done 2416 done 2417 ;; 2418esac 2419 2420 done 2421IFS=$as_save_IFS 2422 2423rm -rf conftest.one conftest.two conftest.dir 2424 2425fi 2426 if test "${ac_cv_path_install+set}" = set; then 2427 INSTALL=$ac_cv_path_install 2428 else 2429 # As a last resort, use the slow shell script. Don't cache a 2430 # value for INSTALL within a source directory, because that will 2431 # break other packages using the cache if that directory is 2432 # removed, or if the value is a relative name. 2433 INSTALL=$ac_install_sh 2434 fi 2435fi 2436{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2437$as_echo "$INSTALL" >&6; } 2438 2439# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2440# It thinks the first close brace ends the variable substitution. 2441test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2442 2443test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2444 2445test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2446 2447 2448for ac_prog in gawk mawk nawk awk 2449do 2450 # Extract the first word of "$ac_prog", so it can be a program name with args. 2451set dummy $ac_prog; ac_word=$2 2452{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2453$as_echo_n "checking for $ac_word... " >&6; } 2454if test "${ac_cv_prog_AWK+set}" = set; then : 2455 $as_echo_n "(cached) " >&6 2456else 2457 if test -n "$AWK"; then 2458 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2459else 2460as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2461for as_dir in $PATH 2462do 2463 IFS=$as_save_IFS 2464 test -z "$as_dir" && as_dir=. 2465 for ac_exec_ext in '' $ac_executable_extensions; do 2466 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2467 ac_cv_prog_AWK="$ac_prog" 2468 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2469 break 2 2470 fi 2471done 2472 done 2473IFS=$as_save_IFS 2474 2475fi 2476fi 2477AWK=$ac_cv_prog_AWK 2478if test -n "$AWK"; then 2479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2480$as_echo "$AWK" >&6; } 2481else 2482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2483$as_echo "no" >&6; } 2484fi 2485 2486 2487 test -n "$AWK" && break 2488done 2489 2490# We need awk; bail out if it's missing. 2491case ${AWK} in 2492 "") as_fn_error "can't build without awk, bailing out" "$LINENO" 5 ;; 2493esac 2494 2495 2496 case ${build_alias} in 2497 "") build_noncanonical=${build} ;; 2498 *) build_noncanonical=${build_alias} ;; 2499esac 2500 2501 case ${host_alias} in 2502 "") host_noncanonical=${build_noncanonical} ;; 2503 *) host_noncanonical=${host_alias} ;; 2504esac 2505 2506 2507 2508 case ${target_alias} in 2509 "") target_noncanonical=${host_noncanonical} ;; 2510 *) target_noncanonical=${target_alias} ;; 2511esac 2512 2513 2514 2515 2516# post-stage1 host modules use a different CC_FOR_BUILD so, in order to 2517# have matching libraries, they should use host libraries: Makefile.tpl 2518# arranges to pass --with-build-libsubdir=$(HOST_SUBDIR). 2519# However, they still use the build modules, because the corresponding 2520# host modules (e.g. bison) are only built for the host when bootstrap 2521# finishes. So: 2522# - build_subdir is where we find build modules, and never changes. 2523# - build_libsubdir is where we find build libraries, and can be overridden. 2524 2525# Prefix 'build-' so this never conflicts with target_subdir. 2526build_subdir="build-${build_noncanonical}" 2527 2528# Check whether --with-build-libsubdir was given. 2529if test "${with_build_libsubdir+set}" = set; then : 2530 withval=$with_build_libsubdir; build_libsubdir="$withval" 2531else 2532 build_libsubdir="$build_subdir" 2533fi 2534 2535# --srcdir=. covers the toplevel, while "test -d" covers the subdirectories 2536if ( test $srcdir = . && test -d gcc ) \ 2537 || test -d $srcdir/../host-${host_noncanonical}; then 2538 host_subdir="host-${host_noncanonical}" 2539else 2540 host_subdir=. 2541fi 2542# No prefix. 2543target_subdir=${target_noncanonical} 2544 2545 2546# Calculate toolexeclibdir 2547# Also toolexecdir, though it's only used in toolexeclibdir 2548case ${version_specific_libs} in 2549 yes) 2550 # Need the gcc compiler version to know where to install libraries 2551 # and header files if --enable-version-specific-runtime-libs option 2552 # is selected. 2553 toolexecdir='$(libdir)/gcc/$(target_noncanonical)' 2554 toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)' 2555 ;; 2556 no) 2557 if test -n "$with_cross_host" && 2558 test x"$with_cross_host" != x"no"; then 2559 # Install a library built with a cross compiler in tooldir, not libdir. 2560 toolexecdir='$(exec_prefix)/$(target_noncanonical)' 2561 toolexeclibdir='$(toolexecdir)/lib' 2562 else 2563 toolexecdir='$(libdir)/gcc-lib/$(target_noncanonical)' 2564 toolexeclibdir='$(libdir)' 2565 fi 2566 multi_os_directory=`$CC -print-multi-os-directory` 2567 case $multi_os_directory in 2568 .) ;; # Avoid trailing /. 2569 *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;; 2570 esac 2571 ;; 2572esac 2573 2574 2575 2576if test -n "$ac_tool_prefix"; then 2577 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. 2578set dummy ${ac_tool_prefix}ar; ac_word=$2 2579{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2580$as_echo_n "checking for $ac_word... " >&6; } 2581if test "${ac_cv_prog_AR+set}" = set; then : 2582 $as_echo_n "(cached) " >&6 2583else 2584 if test -n "$AR"; then 2585 ac_cv_prog_AR="$AR" # Let the user override the test. 2586else 2587as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2588for as_dir in $PATH 2589do 2590 IFS=$as_save_IFS 2591 test -z "$as_dir" && as_dir=. 2592 for ac_exec_ext in '' $ac_executable_extensions; do 2593 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2594 ac_cv_prog_AR="${ac_tool_prefix}ar" 2595 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2596 break 2 2597 fi 2598done 2599 done 2600IFS=$as_save_IFS 2601 2602fi 2603fi 2604AR=$ac_cv_prog_AR 2605if test -n "$AR"; then 2606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 2607$as_echo "$AR" >&6; } 2608else 2609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2610$as_echo "no" >&6; } 2611fi 2612 2613 2614fi 2615if test -z "$ac_cv_prog_AR"; then 2616 ac_ct_AR=$AR 2617 # Extract the first word of "ar", so it can be a program name with args. 2618set dummy ar; ac_word=$2 2619{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2620$as_echo_n "checking for $ac_word... " >&6; } 2621if test "${ac_cv_prog_ac_ct_AR+set}" = set; then : 2622 $as_echo_n "(cached) " >&6 2623else 2624 if test -n "$ac_ct_AR"; then 2625 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 2626else 2627as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2628for as_dir in $PATH 2629do 2630 IFS=$as_save_IFS 2631 test -z "$as_dir" && as_dir=. 2632 for ac_exec_ext in '' $ac_executable_extensions; do 2633 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2634 ac_cv_prog_ac_ct_AR="ar" 2635 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2636 break 2 2637 fi 2638done 2639 done 2640IFS=$as_save_IFS 2641 2642fi 2643fi 2644ac_ct_AR=$ac_cv_prog_ac_ct_AR 2645if test -n "$ac_ct_AR"; then 2646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 2647$as_echo "$ac_ct_AR" >&6; } 2648else 2649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2650$as_echo "no" >&6; } 2651fi 2652 2653 if test "x$ac_ct_AR" = x; then 2654 AR="" 2655 else 2656 case $cross_compiling:$ac_tool_warned in 2657yes:) 2658{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2659$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2660ac_tool_warned=yes ;; 2661esac 2662 AR=$ac_ct_AR 2663 fi 2664else 2665 AR="$ac_cv_prog_AR" 2666fi 2667 2668if test -n "$ac_tool_prefix"; then 2669 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 2670set dummy ${ac_tool_prefix}lipo; ac_word=$2 2671{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2672$as_echo_n "checking for $ac_word... " >&6; } 2673if test "${ac_cv_prog_LIPO+set}" = set; then : 2674 $as_echo_n "(cached) " >&6 2675else 2676 if test -n "$LIPO"; then 2677 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 2678else 2679as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2680for as_dir in $PATH 2681do 2682 IFS=$as_save_IFS 2683 test -z "$as_dir" && as_dir=. 2684 for ac_exec_ext in '' $ac_executable_extensions; do 2685 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2686 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 2687 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2688 break 2 2689 fi 2690done 2691 done 2692IFS=$as_save_IFS 2693 2694fi 2695fi 2696LIPO=$ac_cv_prog_LIPO 2697if test -n "$LIPO"; then 2698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 2699$as_echo "$LIPO" >&6; } 2700else 2701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2702$as_echo "no" >&6; } 2703fi 2704 2705 2706fi 2707if test -z "$ac_cv_prog_LIPO"; then 2708 ac_ct_LIPO=$LIPO 2709 # Extract the first word of "lipo", so it can be a program name with args. 2710set dummy lipo; ac_word=$2 2711{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2712$as_echo_n "checking for $ac_word... " >&6; } 2713if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then : 2714 $as_echo_n "(cached) " >&6 2715else 2716 if test -n "$ac_ct_LIPO"; then 2717 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 2718else 2719as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2720for as_dir in $PATH 2721do 2722 IFS=$as_save_IFS 2723 test -z "$as_dir" && as_dir=. 2724 for ac_exec_ext in '' $ac_executable_extensions; do 2725 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2726 ac_cv_prog_ac_ct_LIPO="lipo" 2727 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2728 break 2 2729 fi 2730done 2731 done 2732IFS=$as_save_IFS 2733 2734fi 2735fi 2736ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 2737if test -n "$ac_ct_LIPO"; then 2738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 2739$as_echo "$ac_ct_LIPO" >&6; } 2740else 2741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2742$as_echo "no" >&6; } 2743fi 2744 2745 if test "x$ac_ct_LIPO" = x; then 2746 LIPO=":" 2747 else 2748 case $cross_compiling:$ac_tool_warned in 2749yes:) 2750{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2751$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2752ac_tool_warned=yes ;; 2753esac 2754 LIPO=$ac_ct_LIPO 2755 fi 2756else 2757 LIPO="$ac_cv_prog_LIPO" 2758fi 2759 2760if test -n "$ac_tool_prefix"; then 2761 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args. 2762set dummy ${ac_tool_prefix}nm; ac_word=$2 2763{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2764$as_echo_n "checking for $ac_word... " >&6; } 2765if test "${ac_cv_prog_NM+set}" = set; then : 2766 $as_echo_n "(cached) " >&6 2767else 2768 if test -n "$NM"; then 2769 ac_cv_prog_NM="$NM" # Let the user override the test. 2770else 2771as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2772for as_dir in $PATH 2773do 2774 IFS=$as_save_IFS 2775 test -z "$as_dir" && as_dir=. 2776 for ac_exec_ext in '' $ac_executable_extensions; do 2777 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2778 ac_cv_prog_NM="${ac_tool_prefix}nm" 2779 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2780 break 2 2781 fi 2782done 2783 done 2784IFS=$as_save_IFS 2785 2786fi 2787fi 2788NM=$ac_cv_prog_NM 2789if test -n "$NM"; then 2790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5 2791$as_echo "$NM" >&6; } 2792else 2793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2794$as_echo "no" >&6; } 2795fi 2796 2797 2798fi 2799if test -z "$ac_cv_prog_NM"; then 2800 ac_ct_NM=$NM 2801 # Extract the first word of "nm", so it can be a program name with args. 2802set dummy nm; ac_word=$2 2803{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2804$as_echo_n "checking for $ac_word... " >&6; } 2805if test "${ac_cv_prog_ac_ct_NM+set}" = set; then : 2806 $as_echo_n "(cached) " >&6 2807else 2808 if test -n "$ac_ct_NM"; then 2809 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test. 2810else 2811as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2812for as_dir in $PATH 2813do 2814 IFS=$as_save_IFS 2815 test -z "$as_dir" && as_dir=. 2816 for ac_exec_ext in '' $ac_executable_extensions; do 2817 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2818 ac_cv_prog_ac_ct_NM="nm" 2819 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2820 break 2 2821 fi 2822done 2823 done 2824IFS=$as_save_IFS 2825 2826fi 2827fi 2828ac_ct_NM=$ac_cv_prog_ac_ct_NM 2829if test -n "$ac_ct_NM"; then 2830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5 2831$as_echo "$ac_ct_NM" >&6; } 2832else 2833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2834$as_echo "no" >&6; } 2835fi 2836 2837 if test "x$ac_ct_NM" = x; then 2838 NM="" 2839 else 2840 case $cross_compiling:$ac_tool_warned in 2841yes:) 2842{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2843$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2844ac_tool_warned=yes ;; 2845esac 2846 NM=$ac_ct_NM 2847 fi 2848else 2849 NM="$ac_cv_prog_NM" 2850fi 2851 2852if test -n "$ac_tool_prefix"; then 2853 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 2854set dummy ${ac_tool_prefix}ranlib; ac_word=$2 2855{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2856$as_echo_n "checking for $ac_word... " >&6; } 2857if test "${ac_cv_prog_RANLIB+set}" = set; then : 2858 $as_echo_n "(cached) " >&6 2859else 2860 if test -n "$RANLIB"; then 2861 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 2862else 2863as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2864for as_dir in $PATH 2865do 2866 IFS=$as_save_IFS 2867 test -z "$as_dir" && as_dir=. 2868 for ac_exec_ext in '' $ac_executable_extensions; do 2869 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2870 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 2871 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2872 break 2 2873 fi 2874done 2875 done 2876IFS=$as_save_IFS 2877 2878fi 2879fi 2880RANLIB=$ac_cv_prog_RANLIB 2881if test -n "$RANLIB"; then 2882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 2883$as_echo "$RANLIB" >&6; } 2884else 2885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2886$as_echo "no" >&6; } 2887fi 2888 2889 2890fi 2891if test -z "$ac_cv_prog_RANLIB"; then 2892 ac_ct_RANLIB=$RANLIB 2893 # Extract the first word of "ranlib", so it can be a program name with args. 2894set dummy ranlib; ac_word=$2 2895{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2896$as_echo_n "checking for $ac_word... " >&6; } 2897if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : 2898 $as_echo_n "(cached) " >&6 2899else 2900 if test -n "$ac_ct_RANLIB"; then 2901 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 2902else 2903as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2904for as_dir in $PATH 2905do 2906 IFS=$as_save_IFS 2907 test -z "$as_dir" && as_dir=. 2908 for ac_exec_ext in '' $ac_executable_extensions; do 2909 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2910 ac_cv_prog_ac_ct_RANLIB="ranlib" 2911 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2912 break 2 2913 fi 2914done 2915 done 2916IFS=$as_save_IFS 2917 2918fi 2919fi 2920ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 2921if test -n "$ac_ct_RANLIB"; then 2922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 2923$as_echo "$ac_ct_RANLIB" >&6; } 2924else 2925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2926$as_echo "no" >&6; } 2927fi 2928 2929 if test "x$ac_ct_RANLIB" = x; then 2930 RANLIB=":" 2931 else 2932 case $cross_compiling:$ac_tool_warned in 2933yes:) 2934{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2935$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2936ac_tool_warned=yes ;; 2937esac 2938 RANLIB=$ac_ct_RANLIB 2939 fi 2940else 2941 RANLIB="$ac_cv_prog_RANLIB" 2942fi 2943 2944if test -n "$ac_tool_prefix"; then 2945 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2946set dummy ${ac_tool_prefix}strip; ac_word=$2 2947{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2948$as_echo_n "checking for $ac_word... " >&6; } 2949if test "${ac_cv_prog_STRIP+set}" = set; then : 2950 $as_echo_n "(cached) " >&6 2951else 2952 if test -n "$STRIP"; then 2953 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2954else 2955as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2956for as_dir in $PATH 2957do 2958 IFS=$as_save_IFS 2959 test -z "$as_dir" && as_dir=. 2960 for ac_exec_ext in '' $ac_executable_extensions; do 2961 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2962 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2963 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2964 break 2 2965 fi 2966done 2967 done 2968IFS=$as_save_IFS 2969 2970fi 2971fi 2972STRIP=$ac_cv_prog_STRIP 2973if test -n "$STRIP"; then 2974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2975$as_echo "$STRIP" >&6; } 2976else 2977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2978$as_echo "no" >&6; } 2979fi 2980 2981 2982fi 2983if test -z "$ac_cv_prog_STRIP"; then 2984 ac_ct_STRIP=$STRIP 2985 # Extract the first word of "strip", so it can be a program name with args. 2986set dummy strip; ac_word=$2 2987{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2988$as_echo_n "checking for $ac_word... " >&6; } 2989if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : 2990 $as_echo_n "(cached) " >&6 2991else 2992 if test -n "$ac_ct_STRIP"; then 2993 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2994else 2995as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2996for as_dir in $PATH 2997do 2998 IFS=$as_save_IFS 2999 test -z "$as_dir" && as_dir=. 3000 for ac_exec_ext in '' $ac_executable_extensions; do 3001 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3002 ac_cv_prog_ac_ct_STRIP="strip" 3003 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3004 break 2 3005 fi 3006done 3007 done 3008IFS=$as_save_IFS 3009 3010fi 3011fi 3012ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 3013if test -n "$ac_ct_STRIP"; then 3014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 3015$as_echo "$ac_ct_STRIP" >&6; } 3016else 3017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3018$as_echo "no" >&6; } 3019fi 3020 3021 if test "x$ac_ct_STRIP" = x; then 3022 STRIP=":" 3023 else 3024 case $cross_compiling:$ac_tool_warned in 3025yes:) 3026{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3027$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3028ac_tool_warned=yes ;; 3029esac 3030 STRIP=$ac_ct_STRIP 3031 fi 3032else 3033 STRIP="$ac_cv_prog_STRIP" 3034fi 3035 3036{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 3037$as_echo_n "checking whether ln -s works... " >&6; } 3038LN_S=$as_ln_s 3039if test "$LN_S" = "ln -s"; then 3040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3041$as_echo "yes" >&6; } 3042else 3043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 3044$as_echo "no, using $LN_S" >&6; } 3045fi 3046 3047 3048 3049ac_ext=c 3050ac_cpp='$CPP $CPPFLAGS' 3051ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3052ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3053ac_compiler_gnu=$ac_cv_c_compiler_gnu 3054if test -n "$ac_tool_prefix"; then 3055 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 3056set dummy ${ac_tool_prefix}gcc; ac_word=$2 3057{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3058$as_echo_n "checking for $ac_word... " >&6; } 3059if test "${ac_cv_prog_CC+set}" = set; then : 3060 $as_echo_n "(cached) " >&6 3061else 3062 if test -n "$CC"; then 3063 ac_cv_prog_CC="$CC" # Let the user override the test. 3064else 3065as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3066for as_dir in $PATH 3067do 3068 IFS=$as_save_IFS 3069 test -z "$as_dir" && as_dir=. 3070 for ac_exec_ext in '' $ac_executable_extensions; do 3071 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3072 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3073 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3074 break 2 3075 fi 3076done 3077 done 3078IFS=$as_save_IFS 3079 3080fi 3081fi 3082CC=$ac_cv_prog_CC 3083if test -n "$CC"; then 3084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3085$as_echo "$CC" >&6; } 3086else 3087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3088$as_echo "no" >&6; } 3089fi 3090 3091 3092fi 3093if test -z "$ac_cv_prog_CC"; then 3094 ac_ct_CC=$CC 3095 # Extract the first word of "gcc", so it can be a program name with args. 3096set dummy gcc; ac_word=$2 3097{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3098$as_echo_n "checking for $ac_word... " >&6; } 3099if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 3100 $as_echo_n "(cached) " >&6 3101else 3102 if test -n "$ac_ct_CC"; then 3103 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3104else 3105as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3106for as_dir in $PATH 3107do 3108 IFS=$as_save_IFS 3109 test -z "$as_dir" && as_dir=. 3110 for ac_exec_ext in '' $ac_executable_extensions; do 3111 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3112 ac_cv_prog_ac_ct_CC="gcc" 3113 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3114 break 2 3115 fi 3116done 3117 done 3118IFS=$as_save_IFS 3119 3120fi 3121fi 3122ac_ct_CC=$ac_cv_prog_ac_ct_CC 3123if test -n "$ac_ct_CC"; then 3124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3125$as_echo "$ac_ct_CC" >&6; } 3126else 3127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3128$as_echo "no" >&6; } 3129fi 3130 3131 if test "x$ac_ct_CC" = x; then 3132 CC="" 3133 else 3134 case $cross_compiling:$ac_tool_warned in 3135yes:) 3136{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3137$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3138ac_tool_warned=yes ;; 3139esac 3140 CC=$ac_ct_CC 3141 fi 3142else 3143 CC="$ac_cv_prog_CC" 3144fi 3145 3146if test -z "$CC"; then 3147 if test -n "$ac_tool_prefix"; then 3148 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3149set dummy ${ac_tool_prefix}cc; ac_word=$2 3150{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3151$as_echo_n "checking for $ac_word... " >&6; } 3152if test "${ac_cv_prog_CC+set}" = set; then : 3153 $as_echo_n "(cached) " >&6 3154else 3155 if test -n "$CC"; then 3156 ac_cv_prog_CC="$CC" # Let the user override the test. 3157else 3158as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3159for as_dir in $PATH 3160do 3161 IFS=$as_save_IFS 3162 test -z "$as_dir" && as_dir=. 3163 for ac_exec_ext in '' $ac_executable_extensions; do 3164 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3165 ac_cv_prog_CC="${ac_tool_prefix}cc" 3166 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3167 break 2 3168 fi 3169done 3170 done 3171IFS=$as_save_IFS 3172 3173fi 3174fi 3175CC=$ac_cv_prog_CC 3176if test -n "$CC"; then 3177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3178$as_echo "$CC" >&6; } 3179else 3180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3181$as_echo "no" >&6; } 3182fi 3183 3184 3185 fi 3186fi 3187if test -z "$CC"; then 3188 # Extract the first word of "cc", so it can be a program name with args. 3189set dummy cc; ac_word=$2 3190{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3191$as_echo_n "checking for $ac_word... " >&6; } 3192if test "${ac_cv_prog_CC+set}" = set; then : 3193 $as_echo_n "(cached) " >&6 3194else 3195 if test -n "$CC"; then 3196 ac_cv_prog_CC="$CC" # Let the user override the test. 3197else 3198 ac_prog_rejected=no 3199as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3200for as_dir in $PATH 3201do 3202 IFS=$as_save_IFS 3203 test -z "$as_dir" && as_dir=. 3204 for ac_exec_ext in '' $ac_executable_extensions; do 3205 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3206 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3207 ac_prog_rejected=yes 3208 continue 3209 fi 3210 ac_cv_prog_CC="cc" 3211 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3212 break 2 3213 fi 3214done 3215 done 3216IFS=$as_save_IFS 3217 3218if test $ac_prog_rejected = yes; then 3219 # We found a bogon in the path, so make sure we never use it. 3220 set dummy $ac_cv_prog_CC 3221 shift 3222 if test $# != 0; then 3223 # We chose a different compiler from the bogus one. 3224 # However, it has the same basename, so the bogon will be chosen 3225 # first if we set CC to just the basename; use the full file name. 3226 shift 3227 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3228 fi 3229fi 3230fi 3231fi 3232CC=$ac_cv_prog_CC 3233if test -n "$CC"; then 3234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3235$as_echo "$CC" >&6; } 3236else 3237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3238$as_echo "no" >&6; } 3239fi 3240 3241 3242fi 3243if test -z "$CC"; then 3244 if test -n "$ac_tool_prefix"; then 3245 for ac_prog in cl.exe 3246 do 3247 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3248set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3249{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3250$as_echo_n "checking for $ac_word... " >&6; } 3251if test "${ac_cv_prog_CC+set}" = set; then : 3252 $as_echo_n "(cached) " >&6 3253else 3254 if test -n "$CC"; then 3255 ac_cv_prog_CC="$CC" # Let the user override the test. 3256else 3257as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3258for as_dir in $PATH 3259do 3260 IFS=$as_save_IFS 3261 test -z "$as_dir" && as_dir=. 3262 for ac_exec_ext in '' $ac_executable_extensions; do 3263 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3264 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3265 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3266 break 2 3267 fi 3268done 3269 done 3270IFS=$as_save_IFS 3271 3272fi 3273fi 3274CC=$ac_cv_prog_CC 3275if test -n "$CC"; then 3276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3277$as_echo "$CC" >&6; } 3278else 3279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3280$as_echo "no" >&6; } 3281fi 3282 3283 3284 test -n "$CC" && break 3285 done 3286fi 3287if test -z "$CC"; then 3288 ac_ct_CC=$CC 3289 for ac_prog in cl.exe 3290do 3291 # Extract the first word of "$ac_prog", so it can be a program name with args. 3292set dummy $ac_prog; ac_word=$2 3293{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3294$as_echo_n "checking for $ac_word... " >&6; } 3295if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 3296 $as_echo_n "(cached) " >&6 3297else 3298 if test -n "$ac_ct_CC"; then 3299 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3300else 3301as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3302for as_dir in $PATH 3303do 3304 IFS=$as_save_IFS 3305 test -z "$as_dir" && as_dir=. 3306 for ac_exec_ext in '' $ac_executable_extensions; do 3307 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3308 ac_cv_prog_ac_ct_CC="$ac_prog" 3309 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3310 break 2 3311 fi 3312done 3313 done 3314IFS=$as_save_IFS 3315 3316fi 3317fi 3318ac_ct_CC=$ac_cv_prog_ac_ct_CC 3319if test -n "$ac_ct_CC"; then 3320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3321$as_echo "$ac_ct_CC" >&6; } 3322else 3323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3324$as_echo "no" >&6; } 3325fi 3326 3327 3328 test -n "$ac_ct_CC" && break 3329done 3330 3331 if test "x$ac_ct_CC" = x; then 3332 CC="" 3333 else 3334 case $cross_compiling:$ac_tool_warned in 3335yes:) 3336{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3337$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3338ac_tool_warned=yes ;; 3339esac 3340 CC=$ac_ct_CC 3341 fi 3342fi 3343 3344fi 3345 3346 3347test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3348$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3349as_fn_error "no acceptable C compiler found in \$PATH 3350See \`config.log' for more details." "$LINENO" 5; } 3351 3352# Provide some information about the compiler. 3353$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3354set X $ac_compile 3355ac_compiler=$2 3356for ac_option in --version -v -V -qversion; do 3357 { { ac_try="$ac_compiler $ac_option >&5" 3358case "(($ac_try" in 3359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3360 *) ac_try_echo=$ac_try;; 3361esac 3362eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3363$as_echo "$ac_try_echo"; } >&5 3364 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3365 ac_status=$? 3366 if test -s conftest.err; then 3367 sed '10a\ 3368... rest of stderr output deleted ... 3369 10q' conftest.err >conftest.er1 3370 cat conftest.er1 >&5 3371 rm -f conftest.er1 conftest.err 3372 fi 3373 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3374 test $ac_status = 0; } 3375done 3376 3377cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3378/* end confdefs.h. */ 3379 3380int 3381main () 3382{ 3383 3384 ; 3385 return 0; 3386} 3387_ACEOF 3388# FIXME: Cleanup? 3389if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 3390 (eval $ac_link) 2>&5 3391 ac_status=$? 3392 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3393 test $ac_status = 0; }; then : 3394 gcc_no_link=no 3395else 3396 gcc_no_link=yes 3397fi 3398if test x$gcc_no_link = xyes; then 3399 # Setting cross_compile will disable run tests; it will 3400 # also disable AC_CHECK_FILE but that's generally 3401 # correct if we can't link. 3402 cross_compiling=yes 3403 EXEEXT= 3404else 3405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3406/* end confdefs.h. */ 3407 3408int 3409main () 3410{ 3411 3412 ; 3413 return 0; 3414} 3415_ACEOF 3416ac_clean_files_save=$ac_clean_files 3417ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out" 3418# Try to create an executable without -o first, disregard a.out. 3419# It will help us diagnose broken compilers, and finding out an intuition 3420# of exeext. 3421{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3422$as_echo_n "checking for C compiler default output file name... " >&6; } 3423ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3424 3425# The possible output files: 3426ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3427 3428ac_rmfiles= 3429for ac_file in $ac_files 3430do 3431 case $ac_file in 3432 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3433 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3434 esac 3435done 3436rm -f $ac_rmfiles 3437 3438if { { ac_try="$ac_link_default" 3439case "(($ac_try" in 3440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3441 *) ac_try_echo=$ac_try;; 3442esac 3443eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3444$as_echo "$ac_try_echo"; } >&5 3445 (eval "$ac_link_default") 2>&5 3446 ac_status=$? 3447 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3448 test $ac_status = 0; }; then : 3449 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3450# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3451# in a Makefile. We should not override ac_cv_exeext if it was cached, 3452# so that the user can short-circuit this test for compilers unknown to 3453# Autoconf. 3454for ac_file in $ac_files '' 3455do 3456 test -f "$ac_file" || continue 3457 case $ac_file in 3458 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3459 ;; 3460 [ab].out ) 3461 # We found the default executable, but exeext='' is most 3462 # certainly right. 3463 break;; 3464 *.* ) 3465 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3466 then :; else 3467 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3468 fi 3469 # We set ac_cv_exeext here because the later test for it is not 3470 # safe: cross compilers may not add the suffix if given an `-o' 3471 # argument, so we may need to know it at that point already. 3472 # Even if this section looks crufty: it has the advantage of 3473 # actually working. 3474 break;; 3475 * ) 3476 break;; 3477 esac 3478done 3479test "$ac_cv_exeext" = no && ac_cv_exeext= 3480 3481else 3482 ac_file='' 3483fi 3484{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3485$as_echo "$ac_file" >&6; } 3486if test -z "$ac_file"; then : 3487 $as_echo "$as_me: failed program was:" >&5 3488sed 's/^/| /' conftest.$ac_ext >&5 3489 3490{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3491$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3492{ as_fn_set_status 77 3493as_fn_error "C compiler cannot create executables 3494See \`config.log' for more details." "$LINENO" 5; }; } 3495fi 3496ac_exeext=$ac_cv_exeext 3497 3498# Check that the compiler produces executables we can run. If not, either 3499# the compiler is broken, or we cross compile. 3500{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3501$as_echo_n "checking whether the C compiler works... " >&6; } 3502# If not cross compiling, check that we can run a simple program. 3503if test "$cross_compiling" != yes; then 3504 if { ac_try='./$ac_file' 3505 { { case "(($ac_try" in 3506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3507 *) ac_try_echo=$ac_try;; 3508esac 3509eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3510$as_echo "$ac_try_echo"; } >&5 3511 (eval "$ac_try") 2>&5 3512 ac_status=$? 3513 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3514 test $ac_status = 0; }; }; then 3515 cross_compiling=no 3516 else 3517 if test "$cross_compiling" = maybe; then 3518 cross_compiling=yes 3519 else 3520 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3521$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3522as_fn_error "cannot run C compiled programs. 3523If you meant to cross compile, use \`--host'. 3524See \`config.log' for more details." "$LINENO" 5; } 3525 fi 3526 fi 3527fi 3528{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3529$as_echo "yes" >&6; } 3530 3531rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out 3532ac_clean_files=$ac_clean_files_save 3533# Check that the compiler produces executables we can run. If not, either 3534# the compiler is broken, or we cross compile. 3535{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3536$as_echo_n "checking whether we are cross compiling... " >&6; } 3537{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3538$as_echo "$cross_compiling" >&6; } 3539 3540{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3541$as_echo_n "checking for suffix of executables... " >&6; } 3542if { { ac_try="$ac_link" 3543case "(($ac_try" in 3544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3545 *) ac_try_echo=$ac_try;; 3546esac 3547eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3548$as_echo "$ac_try_echo"; } >&5 3549 (eval "$ac_link") 2>&5 3550 ac_status=$? 3551 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3552 test $ac_status = 0; }; then : 3553 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3554# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3555# work properly (i.e., refer to `conftest.exe'), while it won't with 3556# `rm'. 3557for ac_file in conftest.exe conftest conftest.*; do 3558 test -f "$ac_file" || continue 3559 case $ac_file in 3560 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3561 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3562 break;; 3563 * ) break;; 3564 esac 3565done 3566else 3567 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3568$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3569as_fn_error "cannot compute suffix of executables: cannot compile and link 3570See \`config.log' for more details." "$LINENO" 5; } 3571fi 3572rm -f conftest$ac_cv_exeext 3573{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3574$as_echo "$ac_cv_exeext" >&6; } 3575 3576rm -f conftest.$ac_ext 3577EXEEXT=$ac_cv_exeext 3578ac_exeext=$EXEEXT 3579fi 3580{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3581$as_echo_n "checking for suffix of object files... " >&6; } 3582if test "${ac_cv_objext+set}" = set; then : 3583 $as_echo_n "(cached) " >&6 3584else 3585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3586/* end confdefs.h. */ 3587 3588int 3589main () 3590{ 3591 3592 ; 3593 return 0; 3594} 3595_ACEOF 3596rm -f conftest.o conftest.obj 3597if { { ac_try="$ac_compile" 3598case "(($ac_try" in 3599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3600 *) ac_try_echo=$ac_try;; 3601esac 3602eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3603$as_echo "$ac_try_echo"; } >&5 3604 (eval "$ac_compile") 2>&5 3605 ac_status=$? 3606 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3607 test $ac_status = 0; }; then : 3608 for ac_file in conftest.o conftest.obj conftest.*; do 3609 test -f "$ac_file" || continue; 3610 case $ac_file in 3611 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3612 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3613 break;; 3614 esac 3615done 3616else 3617 $as_echo "$as_me: failed program was:" >&5 3618sed 's/^/| /' conftest.$ac_ext >&5 3619 3620{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3621$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3622as_fn_error "cannot compute suffix of object files: cannot compile 3623See \`config.log' for more details." "$LINENO" 5; } 3624fi 3625rm -f conftest.$ac_cv_objext conftest.$ac_ext 3626fi 3627{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3628$as_echo "$ac_cv_objext" >&6; } 3629OBJEXT=$ac_cv_objext 3630ac_objext=$OBJEXT 3631{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3632$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3633if test "${ac_cv_c_compiler_gnu+set}" = set; then : 3634 $as_echo_n "(cached) " >&6 3635else 3636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3637/* end confdefs.h. */ 3638 3639int 3640main () 3641{ 3642#ifndef __GNUC__ 3643 choke me 3644#endif 3645 3646 ; 3647 return 0; 3648} 3649_ACEOF 3650if ac_fn_c_try_compile "$LINENO"; then : 3651 ac_compiler_gnu=yes 3652else 3653 ac_compiler_gnu=no 3654fi 3655rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3656ac_cv_c_compiler_gnu=$ac_compiler_gnu 3657 3658fi 3659{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3660$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3661if test $ac_compiler_gnu = yes; then 3662 GCC=yes 3663else 3664 GCC= 3665fi 3666ac_test_CFLAGS=${CFLAGS+set} 3667ac_save_CFLAGS=$CFLAGS 3668{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3669$as_echo_n "checking whether $CC accepts -g... " >&6; } 3670if test "${ac_cv_prog_cc_g+set}" = set; then : 3671 $as_echo_n "(cached) " >&6 3672else 3673 ac_save_c_werror_flag=$ac_c_werror_flag 3674 ac_c_werror_flag=yes 3675 ac_cv_prog_cc_g=no 3676 CFLAGS="-g" 3677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3678/* end confdefs.h. */ 3679 3680int 3681main () 3682{ 3683 3684 ; 3685 return 0; 3686} 3687_ACEOF 3688if ac_fn_c_try_compile "$LINENO"; then : 3689 ac_cv_prog_cc_g=yes 3690else 3691 CFLAGS="" 3692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3693/* end confdefs.h. */ 3694 3695int 3696main () 3697{ 3698 3699 ; 3700 return 0; 3701} 3702_ACEOF 3703if ac_fn_c_try_compile "$LINENO"; then : 3704 3705else 3706 ac_c_werror_flag=$ac_save_c_werror_flag 3707 CFLAGS="-g" 3708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3709/* end confdefs.h. */ 3710 3711int 3712main () 3713{ 3714 3715 ; 3716 return 0; 3717} 3718_ACEOF 3719if ac_fn_c_try_compile "$LINENO"; then : 3720 ac_cv_prog_cc_g=yes 3721fi 3722rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3723fi 3724rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3725fi 3726rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3727 ac_c_werror_flag=$ac_save_c_werror_flag 3728fi 3729{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3730$as_echo "$ac_cv_prog_cc_g" >&6; } 3731if test "$ac_test_CFLAGS" = set; then 3732 CFLAGS=$ac_save_CFLAGS 3733elif test $ac_cv_prog_cc_g = yes; then 3734 if test "$GCC" = yes; then 3735 CFLAGS="-g -O2" 3736 else 3737 CFLAGS="-g" 3738 fi 3739else 3740 if test "$GCC" = yes; then 3741 CFLAGS="-O2" 3742 else 3743 CFLAGS= 3744 fi 3745fi 3746{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3747$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3748if test "${ac_cv_prog_cc_c89+set}" = set; then : 3749 $as_echo_n "(cached) " >&6 3750else 3751 ac_cv_prog_cc_c89=no 3752ac_save_CC=$CC 3753cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3754/* end confdefs.h. */ 3755#include <stdarg.h> 3756#include <stdio.h> 3757#include <sys/types.h> 3758#include <sys/stat.h> 3759/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3760struct buf { int x; }; 3761FILE * (*rcsopen) (struct buf *, struct stat *, int); 3762static char *e (p, i) 3763 char **p; 3764 int i; 3765{ 3766 return p[i]; 3767} 3768static char *f (char * (*g) (char **, int), char **p, ...) 3769{ 3770 char *s; 3771 va_list v; 3772 va_start (v,p); 3773 s = g (p, va_arg (v,int)); 3774 va_end (v); 3775 return s; 3776} 3777 3778/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3779 function prototypes and stuff, but not '\xHH' hex character constants. 3780 These don't provoke an error unfortunately, instead are silently treated 3781 as 'x'. The following induces an error, until -std is added to get 3782 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3783 array size at least. It's necessary to write '\x00'==0 to get something 3784 that's true only with -std. */ 3785int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3786 3787/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3788 inside strings and character constants. */ 3789#define FOO(x) 'x' 3790int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3791 3792int test (int i, double x); 3793struct s1 {int (*f) (int a);}; 3794struct s2 {int (*f) (double a);}; 3795int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3796int argc; 3797char **argv; 3798int 3799main () 3800{ 3801return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3802 ; 3803 return 0; 3804} 3805_ACEOF 3806for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3807 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3808do 3809 CC="$ac_save_CC $ac_arg" 3810 if ac_fn_c_try_compile "$LINENO"; then : 3811 ac_cv_prog_cc_c89=$ac_arg 3812fi 3813rm -f core conftest.err conftest.$ac_objext 3814 test "x$ac_cv_prog_cc_c89" != "xno" && break 3815done 3816rm -f conftest.$ac_ext 3817CC=$ac_save_CC 3818 3819fi 3820# AC_CACHE_VAL 3821case "x$ac_cv_prog_cc_c89" in 3822 x) 3823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3824$as_echo "none needed" >&6; } ;; 3825 xno) 3826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3827$as_echo "unsupported" >&6; } ;; 3828 *) 3829 CC="$CC $ac_cv_prog_cc_c89" 3830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3831$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3832esac 3833if test "x$ac_cv_prog_cc_c89" != xno; then : 3834 3835fi 3836 3837ac_ext=c 3838ac_cpp='$CPP $CPPFLAGS' 3839ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3840ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3841ac_compiler_gnu=$ac_cv_c_compiler_gnu 3842 3843ac_ext=c 3844ac_cpp='$CPP $CPPFLAGS' 3845ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3846ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3847ac_compiler_gnu=$ac_cv_c_compiler_gnu 3848{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 3849$as_echo_n "checking how to run the C preprocessor... " >&6; } 3850# On Suns, sometimes $CPP names a directory. 3851if test -n "$CPP" && test -d "$CPP"; then 3852 CPP= 3853fi 3854if test -z "$CPP"; then 3855 if test "${ac_cv_prog_CPP+set}" = set; then : 3856 $as_echo_n "(cached) " >&6 3857else 3858 # Double quotes because CPP needs to be expanded 3859 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 3860 do 3861 ac_preproc_ok=false 3862for ac_c_preproc_warn_flag in '' yes 3863do 3864 # Use a header file that comes with gcc, so configuring glibc 3865 # with a fresh cross-compiler works. 3866 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3867 # <limits.h> exists even on freestanding compilers. 3868 # On the NeXT, cc -E runs the code through the compiler's parser, 3869 # not just through cpp. "Syntax error" is here to catch this case. 3870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3871/* end confdefs.h. */ 3872#ifdef __STDC__ 3873# include <limits.h> 3874#else 3875# include <assert.h> 3876#endif 3877 Syntax error 3878_ACEOF 3879if ac_fn_c_try_cpp "$LINENO"; then : 3880 3881else 3882 # Broken: fails on valid input. 3883continue 3884fi 3885rm -f conftest.err conftest.$ac_ext 3886 3887 # OK, works on sane cases. Now check whether nonexistent headers 3888 # can be detected and how. 3889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3890/* end confdefs.h. */ 3891#include <ac_nonexistent.h> 3892_ACEOF 3893if ac_fn_c_try_cpp "$LINENO"; then : 3894 # Broken: success on invalid input. 3895continue 3896else 3897 # Passes both tests. 3898ac_preproc_ok=: 3899break 3900fi 3901rm -f conftest.err conftest.$ac_ext 3902 3903done 3904# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3905rm -f conftest.err conftest.$ac_ext 3906if $ac_preproc_ok; then : 3907 break 3908fi 3909 3910 done 3911 ac_cv_prog_CPP=$CPP 3912 3913fi 3914 CPP=$ac_cv_prog_CPP 3915else 3916 ac_cv_prog_CPP=$CPP 3917fi 3918{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 3919$as_echo "$CPP" >&6; } 3920ac_preproc_ok=false 3921for ac_c_preproc_warn_flag in '' yes 3922do 3923 # Use a header file that comes with gcc, so configuring glibc 3924 # with a fresh cross-compiler works. 3925 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3926 # <limits.h> exists even on freestanding compilers. 3927 # On the NeXT, cc -E runs the code through the compiler's parser, 3928 # not just through cpp. "Syntax error" is here to catch this case. 3929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3930/* end confdefs.h. */ 3931#ifdef __STDC__ 3932# include <limits.h> 3933#else 3934# include <assert.h> 3935#endif 3936 Syntax error 3937_ACEOF 3938if ac_fn_c_try_cpp "$LINENO"; then : 3939 3940else 3941 # Broken: fails on valid input. 3942continue 3943fi 3944rm -f conftest.err conftest.$ac_ext 3945 3946 # OK, works on sane cases. Now check whether nonexistent headers 3947 # can be detected and how. 3948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3949/* end confdefs.h. */ 3950#include <ac_nonexistent.h> 3951_ACEOF 3952if ac_fn_c_try_cpp "$LINENO"; then : 3953 # Broken: success on invalid input. 3954continue 3955else 3956 # Passes both tests. 3957ac_preproc_ok=: 3958break 3959fi 3960rm -f conftest.err conftest.$ac_ext 3961 3962done 3963# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3964rm -f conftest.err conftest.$ac_ext 3965if $ac_preproc_ok; then : 3966 3967else 3968 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3969$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3970as_fn_error "C preprocessor \"$CPP\" fails sanity check 3971See \`config.log' for more details." "$LINENO" 5; } 3972fi 3973 3974ac_ext=c 3975ac_cpp='$CPP $CPPFLAGS' 3976ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3977ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3978ac_compiler_gnu=$ac_cv_c_compiler_gnu 3979 3980 3981ac_c_preproc_warn_flag=yes 3982 3983 3984 3985# The cast to long int works around a bug in the HP C Compiler 3986# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 3987# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 3988# This bug is HP SR number 8606223364. 3989{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of double" >&5 3990$as_echo_n "checking size of double... " >&6; } 3991if test "${ac_cv_sizeof_double+set}" = set; then : 3992 $as_echo_n "(cached) " >&6 3993else 3994 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (double))" "ac_cv_sizeof_double" "$ac_includes_default"; then : 3995 3996else 3997 if test "$ac_cv_type_double" = yes; then 3998 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3999$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4000{ as_fn_set_status 77 4001as_fn_error "cannot compute sizeof (double) 4002See \`config.log' for more details." "$LINENO" 5; }; } 4003 else 4004 ac_cv_sizeof_double=0 4005 fi 4006fi 4007 4008fi 4009{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_double" >&5 4010$as_echo "$ac_cv_sizeof_double" >&6; } 4011 4012 4013 4014cat >>confdefs.h <<_ACEOF 4015#define SIZEOF_DOUBLE $ac_cv_sizeof_double 4016_ACEOF 4017 4018 4019# The cast to long int works around a bug in the HP C Compiler 4020# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 4021# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 4022# This bug is HP SR number 8606223364. 4023{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long double" >&5 4024$as_echo_n "checking size of long double... " >&6; } 4025if test "${ac_cv_sizeof_long_double+set}" = set; then : 4026 $as_echo_n "(cached) " >&6 4027else 4028 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long double))" "ac_cv_sizeof_long_double" "$ac_includes_default"; then : 4029 4030else 4031 if test "$ac_cv_type_long_double" = yes; then 4032 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4033$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4034{ as_fn_set_status 77 4035as_fn_error "cannot compute sizeof (long double) 4036See \`config.log' for more details." "$LINENO" 5; }; } 4037 else 4038 ac_cv_sizeof_long_double=0 4039 fi 4040fi 4041 4042fi 4043{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_double" >&5 4044$as_echo "$ac_cv_sizeof_long_double" >&6; } 4045 4046 4047 4048cat >>confdefs.h <<_ACEOF 4049#define SIZEOF_LONG_DOUBLE $ac_cv_sizeof_long_double 4050_ACEOF 4051 4052 4053as_fn_arith $ac_cv_sizeof_double \* 8 && double_type_size=$as_val 4054as_fn_arith $ac_cv_sizeof_long_double \* 8 && long_double_type_size=$as_val 4055 4056 4057 4058# Check for decimal float support. 4059{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether decimal floating point is supported" >&5 4060$as_echo_n "checking whether decimal floating point is supported... " >&6; } 4061if test "${libgcc_cv_dfp+set}" = set; then : 4062 $as_echo_n "(cached) " >&6 4063else 4064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4065/* end confdefs.h. */ 4066 4067#include <fenv.h> 4068 4069int 4070main () 4071{ 4072 4073_Decimal32 x; 4074int fe_except = 4075 FE_INVALID|FE_DIVBYZERO|FE_OVERFLOW|FE_UNDERFLOW|FE_INEXACT; 4076 4077 ; 4078 return 0; 4079} 4080_ACEOF 4081if ac_fn_c_try_compile "$LINENO"; then : 4082 libgcc_cv_dfp=yes 4083else 4084 libgcc_cv_dfp=no 4085fi 4086rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4087fi 4088{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_dfp" >&5 4089$as_echo "$libgcc_cv_dfp" >&6; } 4090decimal_float=$libgcc_cv_dfp 4091 4092 4093 4094# Check whether --enable-decimal-float was given. 4095if test "${enable_decimal_float+set}" = set; then : 4096 enableval=$enable_decimal_float; 4097 case $enable_decimal_float in 4098 yes | no | bid | dpd) default_decimal_float=$enable_decimal_float ;; 4099 *) as_fn_error "'$enable_decimal_float' is an invalid value for --enable-decimal-float. 4100Valid choices are 'yes', 'bid', 'dpd', and 'no'." "$LINENO" 5 ;; 4101 esac 4102 4103else 4104 4105 case $host in 4106 powerpc*-*-linux* | i?86*-*-linux* | x86_64*-*-linux* | s390*-*-linux* | \ 4107 i?86*-*-gnu* | \ 4108 i?86*-*-mingw* | x86_64*-*-mingw* | \ 4109 i?86*-*-cygwin* | x86_64*-*-cygwin*) 4110 enable_decimal_float=yes 4111 ;; 4112 *) 4113 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: decimal float is not supported for this target, ignored" >&5 4114$as_echo "$as_me: WARNING: decimal float is not supported for this target, ignored" >&2;} 4115 enable_decimal_float=no 4116 ;; 4117 esac 4118 4119fi 4120 4121 4122# x86's use BID format instead of DPD 4123case x$enable_decimal_float in 4124 xyes) 4125 case $host in 4126 i?86*-*-* | x86_64*-*-*) 4127 enable_decimal_float=bid 4128 ;; 4129 *) 4130 enable_decimal_float=dpd 4131 ;; 4132 esac 4133 default_decimal_float=$enable_decimal_float 4134 ;; 4135 xno) 4136 # ENABLE_DECIMAL_FLOAT is set to 0. But we have to have proper 4137 # dependency on libdecnumber. 4138 default_decimal_float=dpd 4139 ;; 4140esac 4141 4142 4143 4144 4145# Check for fixed-point support. 4146{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fixed-point is supported" >&5 4147$as_echo_n "checking whether fixed-point is supported... " >&6; } 4148if test "${libgcc_cv_fixed_point+set}" = set; then : 4149 $as_echo_n "(cached) " >&6 4150else 4151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4152/* end confdefs.h. */ 4153_Sat _Fract x; 4154_ACEOF 4155if ac_fn_c_try_compile "$LINENO"; then : 4156 libgcc_cv_fixed_point=yes 4157else 4158 libgcc_cv_fixed_point=no 4159fi 4160rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4161fi 4162{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_fixed_point" >&5 4163$as_echo "$libgcc_cv_fixed_point" >&6; } 4164fixed_point=$libgcc_cv_fixed_point 4165 4166 4167# For platforms with the unwind ABI which includes an unwind library, 4168# libunwind, we can choose to use the system libunwind. 4169# config.gcc also contains tests of with_system_libunwind. 4170 4171 4172# Check whether --with-system-libunwind was given. 4173if test "${with_system_libunwind+set}" = set; then : 4174 withval=$with_system_libunwind; 4175fi 4176 4177 # If system-libunwind was not specifically set, pick a default setting. 4178 if test x$with_system_libunwind = x; then 4179 case ${target} in 4180 ia64-*-hpux*) with_system_libunwind=yes ;; 4181 *) with_system_libunwind=no ;; 4182 esac 4183 fi 4184 # Based on system-libunwind and target, do we have ipinfo? 4185 if test x$with_system_libunwind = xyes; then 4186 case ${target} in 4187 ia64-*-*) have_unwind_getipinfo=no ;; 4188 *) have_unwind_getipinfo=yes ;; 4189 esac 4190 else 4191 # Darwin before version 9 does not have _Unwind_GetIPInfo. 4192 4193 case ${target} in 4194 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;; 4195 *) have_unwind_getipinfo=yes ;; 4196 esac 4197 4198 fi 4199 4200 if test x$have_unwind_getipinfo = xyes; then 4201 4202$as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h 4203 4204 fi 4205 4206 4207# The sjlj test is almost duplicated here and in libgo/configure.ac (for C), 4208# libstdc++-v3/acinclude.m4 and libjava/configure.ac (for C++), and 4209# libobjc/configure.ac (for Objective-C). 4210# FIXME: This should be centralized in config/sjlj.m4. 4211# Check whether --enable-sjlj-exceptions was given. 4212if test "${enable_sjlj_exceptions+set}" = set; then : 4213 enableval=$enable_sjlj_exceptions; case "$enableval" in 4214 yes|no|auto) ;; 4215 *) as_fn_error "unknown argument to --enable-sjlj-exceptions" "$LINENO" 5 ;; 4216 esac 4217else 4218 enable_sjlj_exceptions=auto 4219fi 4220 4221 4222{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use setjmp/longjmp exceptions" >&5 4223$as_echo_n "checking whether to use setjmp/longjmp exceptions... " >&6; } 4224if test "${libgcc_cv_lib_sjlj_exceptions+set}" = set; then : 4225 $as_echo_n "(cached) " >&6 4226else 4227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4228/* end confdefs.h. */ 4229 4230void bar (); 4231void clean (int *); 4232void foo () 4233{ 4234 int i __attribute__ ((cleanup (clean))); 4235 bar(); 4236} 4237 4238_ACEOF 4239CFLAGS_hold=$CFLAGS 4240CFLAGS="--save-temps -fexceptions" 4241libgcc_cv_lib_sjlj_exceptions=unknown 4242if ac_fn_c_try_compile; then : 4243 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1; then 4244 libgcc_cv_lib_sjlj_exceptions=yes 4245 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1; then 4246 libgcc_cv_lib_sjlj_exceptions=no 4247 fi 4248fi 4249CFLAGS=$CFLAGS_hold 4250rm -f conftest* 4251 4252fi 4253{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_lib_sjlj_exceptions" >&5 4254$as_echo "$libgcc_cv_lib_sjlj_exceptions" >&6; } 4255 4256if test "$enable_sjlj_exceptions" = "auto"; then 4257 enable_sjlj_exceptions=$libgcc_cv_lib_sjlj_exceptions 4258fi 4259 4260case $enable_sjlj_exceptions in 4261yes) 4262 4263$as_echo "#define LIBGCC_SJLJ_EXCEPTIONS 1" >>confdefs.h 4264 4265 ;; 4266no) 4267 ;; 4268*) 4269 as_fn_error "unable to detect exception model" "$LINENO" 5 4270 ;; 4271esac 4272 4273{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 4274$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 4275if test "${acl_cv_prog_gnu_ld+set}" = set; then : 4276 $as_echo_n "(cached) " >&6 4277else 4278 # I'd rather use --version here, but apparently some GNU ld's only accept -v. 4279if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then 4280 acl_cv_prog_gnu_ld=yes 4281else 4282 acl_cv_prog_gnu_ld=no 4283fi 4284fi 4285{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5 4286$as_echo "$acl_cv_prog_gnu_ld" >&6; } 4287with_gnu_ld=$acl_cv_prog_gnu_ld 4288 4289 4290{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5 4291$as_echo_n "checking for thread model used by GCC... " >&6; } 4292target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'` 4293{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5 4294$as_echo "$target_thread_file" >&6; } 4295 4296# Check for assembler CFI support. 4297{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether assembler supports CFI directives" >&5 4298$as_echo_n "checking whether assembler supports CFI directives... " >&6; } 4299if test "${libgcc_cv_cfi+set}" = set; then : 4300 $as_echo_n "(cached) " >&6 4301else 4302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4303/* end confdefs.h. */ 4304asm("\n\ 4305 .text\n\ 4306 .cfi_startproc\n\ 4307 .cfi_personality 0, symbol\n\ 4308 .cfi_endproc"); 4309_ACEOF 4310if ac_fn_c_try_compile "$LINENO"; then : 4311 libgcc_cv_cfi=yes 4312else 4313 libgcc_cv_cfi=no 4314fi 4315rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4316fi 4317{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_cfi" >&5 4318$as_echo "$libgcc_cv_cfi" >&6; } 4319 4320# Check 32bit or 64bit. In the case of MIPS, this really determines the 4321# word size rather than the address size. 4322cat > conftest.c <<EOF 4323#if defined(__x86_64__) || (!defined(__i386__) && defined(__LP64__)) \ 4324 || defined(__mips64) 4325host_address=64 4326#else 4327host_address=32 4328#endif 4329EOF 4330eval `${CC-cc} -E conftest.c | grep host_address=` 4331rm -f conftest.c 4332 4333case ${host} in 4334mips*-*-*) 4335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target is hard-float" >&5 4336$as_echo_n "checking whether the target is hard-float... " >&6; } 4337if test "${libgcc_cv_mips_hard_float+set}" = set; then : 4338 $as_echo_n "(cached) " >&6 4339else 4340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4341/* end confdefs.h. */ 4342#ifndef __mips_hard_float 4343 #error FOO 4344 #endif 4345_ACEOF 4346if ac_fn_c_try_compile "$LINENO"; then : 4347 libgcc_cv_mips_hard_float=yes 4348else 4349 libgcc_cv_mips_hard_float=no 4350fi 4351rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4352fi 4353{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_mips_hard_float" >&5 4354$as_echo "$libgcc_cv_mips_hard_float" >&6; } 4355esac 4356 4357# Collect host-machine-specific information. 4358. ${srcdir}/config.host 4359 4360# Check if Solaris/x86 linker supports ZERO terminator unwind entries. 4361# This is after config.host so we can augment tmake_file. 4362# Link with -nostartfiles -nodefaultlibs since neither are present while 4363# building libgcc. 4364case ${host} in 4365i?86-*-solaris2* | x86_64-*-solaris2.1[0-9]*) 4366 cat > conftest.s <<EOF 4367 .section .eh_frame,"a",@unwind 4368 .zero 4 4369 .section .jcr,"aw",@progbits 4370 .zero 8 4371EOF 4372 if { ac_try='${CC-cc} -shared -nostartfiles -nodefaultlibs -o conftest.so conftest.s 1>&5' 4373 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 4374 (eval $ac_try) 2>&5 4375 ac_status=$? 4376 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4377 test $ac_status = 0; }; }; then 4378 tmake_file="${tmake_file} i386/t-crtstuff" 4379 fi 4380 ;; 4381esac 4382 4383# Check for visibility support. This is after config.host so that 4384# we can check for asm_hidden_op. 4385{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__((visibility(\"hidden\")))" >&5 4386$as_echo_n "checking for __attribute__((visibility(\"hidden\")))... " >&6; } 4387if test "${libgcc_cv_hidden_visibility_attribute+set}" = set; then : 4388 $as_echo_n "(cached) " >&6 4389else 4390 4391 echo 'int __attribute__ ((visibility ("hidden"))) foo (void) { return 1; }' > conftest.c 4392 libgcc_cv_hidden_visibility_attribute=no 4393 if { ac_try='${CC-cc} -Werror -S conftest.c -o conftest.s 1>&5' 4394 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 4395 (eval $ac_try) 2>&5 4396 ac_status=$? 4397 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4398 test $ac_status = 0; }; }; then 4399 if grep "\\$asm_hidden_op.*foo" conftest.s >/dev/null; then 4400 libgcc_cv_hidden_visibility_attribute=yes 4401 fi 4402 fi 4403 rm -f conftest.* 4404 4405fi 4406{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_hidden_visibility_attribute" >&5 4407$as_echo "$libgcc_cv_hidden_visibility_attribute" >&6; } 4408 4409if test $libgcc_cv_hidden_visibility_attribute = yes; then 4410 vis_hide='-fvisibility=hidden -DHIDE_EXPORTS' 4411else 4412 vis_hide= 4413fi 4414 4415 4416# See if we have thread-local storage. We can only test assembler 4417# since link-time and run-time tests require the newly built 4418# gcc, which can't be used to build executable due to that libgcc 4419# is yet to be built here. 4420 4421 # Check whether --enable-tls was given. 4422if test "${enable_tls+set}" = set; then : 4423 enableval=$enable_tls; 4424 case "$enableval" in 4425 yes|no) ;; 4426 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;; 4427 esac 4428 4429else 4430 enable_tls=yes 4431fi 4432 4433 4434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target assembler supports thread-local storage" >&5 4435$as_echo_n "checking whether the target assembler supports thread-local storage... " >&6; } 4436if test "${gcc_cv_have_cc_tls+set}" = set; then : 4437 $as_echo_n "(cached) " >&6 4438else 4439 4440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4441/* end confdefs.h. */ 4442__thread int a; int b; int main() { return a = b; } 4443_ACEOF 4444if ac_fn_c_try_compile "$LINENO"; then : 4445 gcc_cv_have_cc_tls=yes 4446else 4447 gcc_cv_have_cc_tls=no 4448fi 4449rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4450 4451fi 4452{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_cc_tls" >&5 4453$as_echo "$gcc_cv_have_cc_tls" >&6; } 4454set_have_cc_tls= 4455if test "$enable_tls $gcc_cv_have_cc_tls" = "yes yes"; then 4456 set_have_cc_tls="-DHAVE_CC_TLS" 4457fi 4458 4459 4460# See if we have emulated thread-local storage. 4461 4462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the thread-local storage support is from emutls" >&5 4463$as_echo_n "checking whether the thread-local storage support is from emutls... " >&6; } 4464if test "${gcc_cv_use_emutls+set}" = set; then : 4465 $as_echo_n "(cached) " >&6 4466else 4467 4468 gcc_cv_use_emutls=no 4469 echo '__thread int a; int b; int main() { return a = b; }' > conftest.c 4470 if { ac_try='${CC-cc} -Werror -S -o conftest.s conftest.c 1>&5' 4471 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 4472 (eval $ac_try) 2>&5 4473 ac_status=$? 4474 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4475 test $ac_status = 0; }; }; then 4476 if grep __emutls_get_address conftest.s > /dev/null; then 4477 gcc_cv_use_emutls=yes 4478 fi 4479 fi 4480 rm -f conftest.* 4481 4482fi 4483{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_use_emutls" >&5 4484$as_echo "$gcc_cv_use_emutls" >&6; } 4485 if test "$gcc_cv_use_emutls" = "yes" ; then 4486 4487$as_echo "#define USE_EMUTLS 1" >>confdefs.h 4488 4489 fi 4490set_use_emutls= 4491if test "$enable_tls $gcc_cv_use_emutls" = "yes yes"; then 4492 set_use_emutls="-DUSE_EMUTLS" 4493fi 4494 4495 4496{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for init priority support" >&5 4497$as_echo_n "checking for init priority support... " >&6; } 4498if test "${libgcc_cv_init_priority+set}" = set; then : 4499 $as_echo_n "(cached) " >&6 4500else 4501 4502cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4503/* end confdefs.h. */ 4504 4505int 4506main () 4507{ 4508void ip (void) __attribute__ ((constructor (1))); 4509 ; 4510 return 0; 4511} 4512_ACEOF 4513if ac_fn_c_try_compile "$LINENO"; then : 4514 libgcc_cv_init_priority=yes 4515else 4516 libgcc_cv_init_priority=no 4517fi 4518rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4519fi 4520{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_init_priority" >&5 4521$as_echo "$libgcc_cv_init_priority" >&6; } 4522if test $libgcc_cv_init_priority = yes; then 4523 4524$as_echo "#define HAVE_INIT_PRIORITY 1" >>confdefs.h 4525 4526fi 4527 4528# Conditionalize the sfp-machine.h header for this target machine. 4529if test -z "${sfp_machine_header}"; then 4530 sfp_machine_header=$cpu_type/sfp-machine.h 4531 if test -f ${srcdir}/config/${sfp_machine_header}; then 4532 : 4533 else 4534 sfp_machine_header=no-sfp-machine.h 4535 fi 4536fi 4537 4538 4539# Conditionalize the makefile for this target machine. 4540tmake_file_= 4541for f in ${tmake_file} 4542do 4543 if test -f ${srcdir}/config/$f 4544 then 4545 tmake_file_="${tmake_file_} \$(srcdir)/config/$f" 4546 fi 4547done 4548tmake_file="${tmake_file_}" 4549 4550 4551# Likewise export definitions for libgcc_tm.h 4552tm_file_= 4553for f in ${tm_file} 4554do 4555 tm_file_="${tm_file_} \$(srcdir)/config/$f" 4556done 4557tm_file="${tm_file_}" 4558 4559 4560 4561# Map from thread model to thread header. 4562 4563case $target_thread_file in 4564 aix) thread_header=config/rs6000/gthr-aix.h ;; 4565 dce) thread_header=config/pa/gthr-dce.h ;; 4566 lynx) thread_header=config/gthr-lynx.h ;; 4567 mipssde) thread_header=config/mips/gthr-mipssde.h ;; 4568 posix) thread_header=gthr-posix.h ;; 4569 rtems) thread_header=config/gthr-rtems.h ;; 4570 single) thread_header=gthr-single.h ;; 4571 tpf) thread_header=config/s390/gthr-tpf.h ;; 4572 vxworks) thread_header=config/gthr-vxworks.h ;; 4573 win32) thread_header=config/i386/gthr-win32.h ;; 4574esac 4575 4576 4577 4578# Substitute configuration variables 4579 4580 4581 4582ac_config_links="$ac_config_links enable-execute-stack.c:$enable_execute_stack" 4583 4584ac_config_links="$ac_config_links unwind.h:$unwind_header" 4585 4586ac_config_links="$ac_config_links md-unwind-support.h:config/$md_unwind_header" 4587 4588ac_config_links="$ac_config_links sfp-machine.h:config/$sfp_machine_header" 4589 4590ac_config_links="$ac_config_links gthr-default.h:$thread_header" 4591 4592 4593# We need multilib support. 4594ac_config_files="$ac_config_files Makefile" 4595 4596ac_config_commands="$ac_config_commands default" 4597 4598cat >confcache <<\_ACEOF 4599# This file is a shell script that caches the results of configure 4600# tests run on this system so they can be shared between configure 4601# scripts and configure runs, see configure's option --config-cache. 4602# It is not useful on other systems. If it contains results you don't 4603# want to keep, you may remove or edit it. 4604# 4605# config.status only pays attention to the cache file if you give it 4606# the --recheck option to rerun configure. 4607# 4608# `ac_cv_env_foo' variables (set or unset) will be overridden when 4609# loading this file, other *unset* `ac_cv_foo' will be assigned the 4610# following values. 4611 4612_ACEOF 4613 4614# The following way of writing the cache mishandles newlines in values, 4615# but we know of no workaround that is simple, portable, and efficient. 4616# So, we kill variables containing newlines. 4617# Ultrix sh set writes to stderr and can't be redirected directly, 4618# and sets the high bit in the cache file unless we assign to the vars. 4619( 4620 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 4621 eval ac_val=\$$ac_var 4622 case $ac_val in #( 4623 *${as_nl}*) 4624 case $ac_var in #( 4625 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 4626$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 4627 esac 4628 case $ac_var in #( 4629 _ | IFS | as_nl) ;; #( 4630 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 4631 *) { eval $ac_var=; unset $ac_var;} ;; 4632 esac ;; 4633 esac 4634 done 4635 4636 (set) 2>&1 | 4637 case $as_nl`(ac_space=' '; set) 2>&1` in #( 4638 *${as_nl}ac_space=\ *) 4639 # `set' does not quote correctly, so add quotes: double-quote 4640 # substitution turns \\\\ into \\, and sed turns \\ into \. 4641 sed -n \ 4642 "s/'/'\\\\''/g; 4643 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 4644 ;; #( 4645 *) 4646 # `set' quotes correctly as required by POSIX, so do not add quotes. 4647 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 4648 ;; 4649 esac | 4650 sort 4651) | 4652 sed ' 4653 /^ac_cv_env_/b end 4654 t clear 4655 :clear 4656 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 4657 t end 4658 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 4659 :end' >>confcache 4660if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 4661 if test -w "$cache_file"; then 4662 test "x$cache_file" != "x/dev/null" && 4663 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 4664$as_echo "$as_me: updating cache $cache_file" >&6;} 4665 cat confcache >$cache_file 4666 else 4667 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 4668$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 4669 fi 4670fi 4671rm -f confcache 4672 4673test "x$prefix" = xNONE && prefix=$ac_default_prefix 4674# Let make expand exec_prefix. 4675test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 4676 4677DEFS=-DHAVE_CONFIG_H 4678 4679ac_libobjs= 4680ac_ltlibobjs= 4681for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 4682 # 1. Remove the extension, and $U if already installed. 4683 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 4684 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 4685 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 4686 # will be set to the directory where LIBOBJS objects are built. 4687 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 4688 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 4689done 4690LIBOBJS=$ac_libobjs 4691 4692LTLIBOBJS=$ac_ltlibobjs 4693 4694 4695 4696: ${CONFIG_STATUS=./config.status} 4697ac_write_fail=0 4698ac_clean_files_save=$ac_clean_files 4699ac_clean_files="$ac_clean_files $CONFIG_STATUS" 4700{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 4701$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 4702as_write_fail=0 4703cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 4704#! $SHELL 4705# Generated by $as_me. 4706# Run this file to recreate the current configuration. 4707# Compiler output produced by configure, useful for debugging 4708# configure, is in config.log if it exists. 4709 4710debug=false 4711ac_cs_recheck=false 4712ac_cs_silent=false 4713 4714SHELL=\${CONFIG_SHELL-$SHELL} 4715export SHELL 4716_ASEOF 4717cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 4718## -------------------- ## 4719## M4sh Initialization. ## 4720## -------------------- ## 4721 4722# Be more Bourne compatible 4723DUALCASE=1; export DUALCASE # for MKS sh 4724if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 4725 emulate sh 4726 NULLCMD=: 4727 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 4728 # is contrary to our usage. Disable this feature. 4729 alias -g '${1+"$@"}'='"$@"' 4730 setopt NO_GLOB_SUBST 4731else 4732 case `(set -o) 2>/dev/null` in #( 4733 *posix*) : 4734 set -o posix ;; #( 4735 *) : 4736 ;; 4737esac 4738fi 4739 4740 4741as_nl=' 4742' 4743export as_nl 4744# Printing a long string crashes Solaris 7 /usr/bin/printf. 4745as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 4746as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 4747as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 4748# Prefer a ksh shell builtin over an external printf program on Solaris, 4749# but without wasting forks for bash or zsh. 4750if test -z "$BASH_VERSION$ZSH_VERSION" \ 4751 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 4752 as_echo='print -r --' 4753 as_echo_n='print -rn --' 4754elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 4755 as_echo='printf %s\n' 4756 as_echo_n='printf %s' 4757else 4758 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 4759 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 4760 as_echo_n='/usr/ucb/echo -n' 4761 else 4762 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 4763 as_echo_n_body='eval 4764 arg=$1; 4765 case $arg in #( 4766 *"$as_nl"*) 4767 expr "X$arg" : "X\\(.*\\)$as_nl"; 4768 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 4769 esac; 4770 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 4771 ' 4772 export as_echo_n_body 4773 as_echo_n='sh -c $as_echo_n_body as_echo' 4774 fi 4775 export as_echo_body 4776 as_echo='sh -c $as_echo_body as_echo' 4777fi 4778 4779# The user is always right. 4780if test "${PATH_SEPARATOR+set}" != set; then 4781 PATH_SEPARATOR=: 4782 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 4783 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 4784 PATH_SEPARATOR=';' 4785 } 4786fi 4787 4788 4789# IFS 4790# We need space, tab and new line, in precisely that order. Quoting is 4791# there to prevent editors from complaining about space-tab. 4792# (If _AS_PATH_WALK were called with IFS unset, it would disable word 4793# splitting by setting IFS to empty value.) 4794IFS=" "" $as_nl" 4795 4796# Find who we are. Look in the path if we contain no directory separator. 4797case $0 in #(( 4798 *[\\/]* ) as_myself=$0 ;; 4799 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4800for as_dir in $PATH 4801do 4802 IFS=$as_save_IFS 4803 test -z "$as_dir" && as_dir=. 4804 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 4805 done 4806IFS=$as_save_IFS 4807 4808 ;; 4809esac 4810# We did not find ourselves, most probably we were run as `sh COMMAND' 4811# in which case we are not to be found in the path. 4812if test "x$as_myself" = x; then 4813 as_myself=$0 4814fi 4815if test ! -f "$as_myself"; then 4816 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 4817 exit 1 4818fi 4819 4820# Unset variables that we do not need and which cause bugs (e.g. in 4821# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 4822# suppresses any "Segmentation fault" message there. '((' could 4823# trigger a bug in pdksh 5.2.14. 4824for as_var in BASH_ENV ENV MAIL MAILPATH 4825do eval test x\${$as_var+set} = xset \ 4826 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 4827done 4828PS1='$ ' 4829PS2='> ' 4830PS4='+ ' 4831 4832# NLS nuisances. 4833LC_ALL=C 4834export LC_ALL 4835LANGUAGE=C 4836export LANGUAGE 4837 4838# CDPATH. 4839(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 4840 4841 4842# as_fn_error ERROR [LINENO LOG_FD] 4843# --------------------------------- 4844# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 4845# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 4846# script with status $?, using 1 if that was 0. 4847as_fn_error () 4848{ 4849 as_status=$?; test $as_status -eq 0 && as_status=1 4850 if test "$3"; then 4851 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 4852 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 4853 fi 4854 $as_echo "$as_me: error: $1" >&2 4855 as_fn_exit $as_status 4856} # as_fn_error 4857 4858 4859# as_fn_set_status STATUS 4860# ----------------------- 4861# Set $? to STATUS, without forking. 4862as_fn_set_status () 4863{ 4864 return $1 4865} # as_fn_set_status 4866 4867# as_fn_exit STATUS 4868# ----------------- 4869# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 4870as_fn_exit () 4871{ 4872 set +e 4873 as_fn_set_status $1 4874 exit $1 4875} # as_fn_exit 4876 4877# as_fn_unset VAR 4878# --------------- 4879# Portably unset VAR. 4880as_fn_unset () 4881{ 4882 { eval $1=; unset $1;} 4883} 4884as_unset=as_fn_unset 4885# as_fn_append VAR VALUE 4886# ---------------------- 4887# Append the text in VALUE to the end of the definition contained in VAR. Take 4888# advantage of any shell optimizations that allow amortized linear growth over 4889# repeated appends, instead of the typical quadratic growth present in naive 4890# implementations. 4891if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 4892 eval 'as_fn_append () 4893 { 4894 eval $1+=\$2 4895 }' 4896else 4897 as_fn_append () 4898 { 4899 eval $1=\$$1\$2 4900 } 4901fi # as_fn_append 4902 4903# as_fn_arith ARG... 4904# ------------------ 4905# Perform arithmetic evaluation on the ARGs, and store the result in the 4906# global $as_val. Take advantage of shells that can avoid forks. The arguments 4907# must be portable across $(()) and expr. 4908if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 4909 eval 'as_fn_arith () 4910 { 4911 as_val=$(( $* )) 4912 }' 4913else 4914 as_fn_arith () 4915 { 4916 as_val=`expr "$@" || test $? -eq 1` 4917 } 4918fi # as_fn_arith 4919 4920 4921if expr a : '\(a\)' >/dev/null 2>&1 && 4922 test "X`expr 00001 : '.*\(...\)'`" = X001; then 4923 as_expr=expr 4924else 4925 as_expr=false 4926fi 4927 4928if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 4929 as_basename=basename 4930else 4931 as_basename=false 4932fi 4933 4934if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 4935 as_dirname=dirname 4936else 4937 as_dirname=false 4938fi 4939 4940as_me=`$as_basename -- "$0" || 4941$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 4942 X"$0" : 'X\(//\)$' \| \ 4943 X"$0" : 'X\(/\)' \| . 2>/dev/null || 4944$as_echo X/"$0" | 4945 sed '/^.*\/\([^/][^/]*\)\/*$/{ 4946 s//\1/ 4947 q 4948 } 4949 /^X\/\(\/\/\)$/{ 4950 s//\1/ 4951 q 4952 } 4953 /^X\/\(\/\).*/{ 4954 s//\1/ 4955 q 4956 } 4957 s/.*/./; q'` 4958 4959# Avoid depending upon Character Ranges. 4960as_cr_letters='abcdefghijklmnopqrstuvwxyz' 4961as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 4962as_cr_Letters=$as_cr_letters$as_cr_LETTERS 4963as_cr_digits='0123456789' 4964as_cr_alnum=$as_cr_Letters$as_cr_digits 4965 4966ECHO_C= ECHO_N= ECHO_T= 4967case `echo -n x` in #((((( 4968-n*) 4969 case `echo 'xy\c'` in 4970 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 4971 xy) ECHO_C='\c';; 4972 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 4973 ECHO_T=' ';; 4974 esac;; 4975*) 4976 ECHO_N='-n';; 4977esac 4978 4979rm -f conf$$ conf$$.exe conf$$.file 4980if test -d conf$$.dir; then 4981 rm -f conf$$.dir/conf$$.file 4982else 4983 rm -f conf$$.dir 4984 mkdir conf$$.dir 2>/dev/null 4985fi 4986if (echo >conf$$.file) 2>/dev/null; then 4987 if ln -s conf$$.file conf$$ 2>/dev/null; then 4988 as_ln_s='ln -s' 4989 # ... but there are two gotchas: 4990 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 4991 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 4992 # In both cases, we have to default to `cp -p'. 4993 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 4994 as_ln_s='cp -p' 4995 elif ln conf$$.file conf$$ 2>/dev/null; then 4996 as_ln_s=ln 4997 else 4998 as_ln_s='cp -p' 4999 fi 5000else 5001 as_ln_s='cp -p' 5002fi 5003rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 5004rmdir conf$$.dir 2>/dev/null 5005 5006 5007# as_fn_mkdir_p 5008# ------------- 5009# Create "$as_dir" as a directory, including parents if necessary. 5010as_fn_mkdir_p () 5011{ 5012 5013 case $as_dir in #( 5014 -*) as_dir=./$as_dir;; 5015 esac 5016 test -d "$as_dir" || eval $as_mkdir_p || { 5017 as_dirs= 5018 while :; do 5019 case $as_dir in #( 5020 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 5021 *) as_qdir=$as_dir;; 5022 esac 5023 as_dirs="'$as_qdir' $as_dirs" 5024 as_dir=`$as_dirname -- "$as_dir" || 5025$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5026 X"$as_dir" : 'X\(//\)[^/]' \| \ 5027 X"$as_dir" : 'X\(//\)$' \| \ 5028 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 5029$as_echo X"$as_dir" | 5030 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 5031 s//\1/ 5032 q 5033 } 5034 /^X\(\/\/\)[^/].*/{ 5035 s//\1/ 5036 q 5037 } 5038 /^X\(\/\/\)$/{ 5039 s//\1/ 5040 q 5041 } 5042 /^X\(\/\).*/{ 5043 s//\1/ 5044 q 5045 } 5046 s/.*/./; q'` 5047 test -d "$as_dir" && break 5048 done 5049 test -z "$as_dirs" || eval "mkdir $as_dirs" 5050 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 5051 5052 5053} # as_fn_mkdir_p 5054if mkdir -p . 2>/dev/null; then 5055 as_mkdir_p='mkdir -p "$as_dir"' 5056else 5057 test -d ./-p && rmdir ./-p 5058 as_mkdir_p=false 5059fi 5060 5061if test -x / >/dev/null 2>&1; then 5062 as_test_x='test -x' 5063else 5064 if ls -dL / >/dev/null 2>&1; then 5065 as_ls_L_option=L 5066 else 5067 as_ls_L_option= 5068 fi 5069 as_test_x=' 5070 eval sh -c '\'' 5071 if test -d "$1"; then 5072 test -d "$1/."; 5073 else 5074 case $1 in #( 5075 -*)set "./$1";; 5076 esac; 5077 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 5078 ???[sx]*):;;*)false;;esac;fi 5079 '\'' sh 5080 ' 5081fi 5082as_executable_p=$as_test_x 5083 5084# Sed expression to map a string onto a valid CPP name. 5085as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 5086 5087# Sed expression to map a string onto a valid variable name. 5088as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 5089 5090 5091exec 6>&1 5092## ----------------------------------- ## 5093## Main body of $CONFIG_STATUS script. ## 5094## ----------------------------------- ## 5095_ASEOF 5096test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 5097 5098cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5099# Save the log message, to keep $0 and so on meaningful, and to 5100# report actual input values of CONFIG_FILES etc. instead of their 5101# values after options handling. 5102ac_log=" 5103This file was extended by GNU C Runtime Library $as_me 1.0, which was 5104generated by GNU Autoconf 2.64. Invocation command line was 5105 5106 CONFIG_FILES = $CONFIG_FILES 5107 CONFIG_HEADERS = $CONFIG_HEADERS 5108 CONFIG_LINKS = $CONFIG_LINKS 5109 CONFIG_COMMANDS = $CONFIG_COMMANDS 5110 $ $0 $@ 5111 5112on `(hostname || uname -n) 2>/dev/null | sed 1q` 5113" 5114 5115_ACEOF 5116 5117case $ac_config_files in *" 5118"*) set x $ac_config_files; shift; ac_config_files=$*;; 5119esac 5120 5121case $ac_config_headers in *" 5122"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 5123esac 5124 5125 5126cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5127# Files that config.status was made for. 5128config_files="$ac_config_files" 5129config_headers="$ac_config_headers" 5130config_links="$ac_config_links" 5131config_commands="$ac_config_commands" 5132 5133_ACEOF 5134 5135cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5136ac_cs_usage="\ 5137\`$as_me' instantiates files and other configuration actions 5138from templates according to the current configuration. Unless the files 5139and actions are specified as TAGs, all are instantiated by default. 5140 5141Usage: $0 [OPTION]... [TAG]... 5142 5143 -h, --help print this help, then exit 5144 -V, --version print version number and configuration settings, then exit 5145 -q, --quiet, --silent 5146 do not print progress messages 5147 -d, --debug don't remove temporary files 5148 --recheck update $as_me by reconfiguring in the same conditions 5149 --file=FILE[:TEMPLATE] 5150 instantiate the configuration file FILE 5151 --header=FILE[:TEMPLATE] 5152 instantiate the configuration header FILE 5153 5154Configuration files: 5155$config_files 5156 5157Configuration headers: 5158$config_headers 5159 5160Configuration links: 5161$config_links 5162 5163Configuration commands: 5164$config_commands 5165 5166Report bugs to the package provider. 5167GNU C Runtime Library home page: <http://www.gnu.org/software/libgcc/>. 5168General help using GNU software: <http://www.gnu.org/gethelp/>." 5169 5170_ACEOF 5171cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5172ac_cs_version="\\ 5173GNU C Runtime Library config.status 1.0 5174configured by $0, generated by GNU Autoconf 2.64, 5175 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 5176 5177Copyright (C) 2009 Free Software Foundation, Inc. 5178This config.status script is free software; the Free Software Foundation 5179gives unlimited permission to copy, distribute and modify it." 5180 5181ac_pwd='$ac_pwd' 5182srcdir='$srcdir' 5183INSTALL='$INSTALL' 5184AWK='$AWK' 5185test -n "\$AWK" || AWK=awk 5186_ACEOF 5187 5188cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5189# The default lists apply if the user does not specify any file. 5190ac_need_defaults=: 5191while test $# != 0 5192do 5193 case $1 in 5194 --*=*) 5195 ac_option=`expr "X$1" : 'X\([^=]*\)='` 5196 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 5197 ac_shift=: 5198 ;; 5199 *) 5200 ac_option=$1 5201 ac_optarg=$2 5202 ac_shift=shift 5203 ;; 5204 esac 5205 5206 case $ac_option in 5207 # Handling of the options. 5208 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 5209 ac_cs_recheck=: ;; 5210 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 5211 $as_echo "$ac_cs_version"; exit ;; 5212 --debug | --debu | --deb | --de | --d | -d ) 5213 debug=: ;; 5214 --file | --fil | --fi | --f ) 5215 $ac_shift 5216 case $ac_optarg in 5217 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 5218 esac 5219 as_fn_append CONFIG_FILES " '$ac_optarg'" 5220 ac_need_defaults=false;; 5221 --header | --heade | --head | --hea ) 5222 $ac_shift 5223 case $ac_optarg in 5224 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 5225 esac 5226 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 5227 ac_need_defaults=false;; 5228 --he | --h) 5229 # Conflict between --help and --header 5230 as_fn_error "ambiguous option: \`$1' 5231Try \`$0 --help' for more information.";; 5232 --help | --hel | -h ) 5233 $as_echo "$ac_cs_usage"; exit ;; 5234 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 5235 | -silent | --silent | --silen | --sile | --sil | --si | --s) 5236 ac_cs_silent=: ;; 5237 5238 # This is an error. 5239 -*) as_fn_error "unrecognized option: \`$1' 5240Try \`$0 --help' for more information." ;; 5241 5242 *) as_fn_append ac_config_targets " $1" 5243 ac_need_defaults=false ;; 5244 5245 esac 5246 shift 5247done 5248 5249ac_configure_extra_args= 5250 5251if $ac_cs_silent; then 5252 exec 6>/dev/null 5253 ac_configure_extra_args="$ac_configure_extra_args --silent" 5254fi 5255 5256_ACEOF 5257cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5258if \$ac_cs_recheck; then 5259 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 5260 shift 5261 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 5262 CONFIG_SHELL='$SHELL' 5263 export CONFIG_SHELL 5264 exec "\$@" 5265fi 5266 5267_ACEOF 5268cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5269exec 5>>config.log 5270{ 5271 echo 5272 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 5273## Running $as_me. ## 5274_ASBOX 5275 $as_echo "$ac_log" 5276} >&5 5277 5278_ACEOF 5279cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5280# 5281# INIT-COMMANDS 5282# 5283srcdir=${srcdir} 5284host=${host} 5285with_target_subdir=${with_target_subdir} 5286with_multisubdir=${with_multisubdir} 5287ac_configure_args="--enable-multilib ${ac_configure_args}" 5288CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} 5289libgcc_topdir=${libgcc_topdir} 5290CC="${CC}" 5291 5292 5293_ACEOF 5294 5295cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5296 5297# Handling of arguments. 5298for ac_config_target in $ac_config_targets 5299do 5300 case $ac_config_target in 5301 "auto-target.h") CONFIG_HEADERS="$CONFIG_HEADERS auto-target.h:config.in" ;; 5302 "enable-execute-stack.c") CONFIG_LINKS="$CONFIG_LINKS enable-execute-stack.c:$enable_execute_stack" ;; 5303 "unwind.h") CONFIG_LINKS="$CONFIG_LINKS unwind.h:$unwind_header" ;; 5304 "md-unwind-support.h") CONFIG_LINKS="$CONFIG_LINKS md-unwind-support.h:config/$md_unwind_header" ;; 5305 "sfp-machine.h") CONFIG_LINKS="$CONFIG_LINKS sfp-machine.h:config/$sfp_machine_header" ;; 5306 "gthr-default.h") CONFIG_LINKS="$CONFIG_LINKS gthr-default.h:$thread_header" ;; 5307 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 5308 "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; 5309 5310 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 5311 esac 5312done 5313 5314 5315# If the user did not use the arguments to specify the items to instantiate, 5316# then the envvar interface is used. Set only those that are not. 5317# We use the long form for the default assignment because of an extremely 5318# bizarre bug on SunOS 4.1.3. 5319if $ac_need_defaults; then 5320 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 5321 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 5322 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links 5323 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 5324fi 5325 5326# Have a temporary directory for convenience. Make it in the build tree 5327# simply because there is no reason against having it here, and in addition, 5328# creating and moving files from /tmp can sometimes cause problems. 5329# Hook for its removal unless debugging. 5330# Note that there is a small window in which the directory will not be cleaned: 5331# after its creation but before its name has been assigned to `$tmp'. 5332$debug || 5333{ 5334 tmp= 5335 trap 'exit_status=$? 5336 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 5337' 0 5338 trap 'as_fn_exit 1' 1 2 13 15 5339} 5340# Create a (secure) tmp directory for tmp files. 5341 5342{ 5343 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 5344 test -n "$tmp" && test -d "$tmp" 5345} || 5346{ 5347 tmp=./conf$$-$RANDOM 5348 (umask 077 && mkdir "$tmp") 5349} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 5350 5351# Set up the scripts for CONFIG_FILES section. 5352# No need to generate them if there are no CONFIG_FILES. 5353# This happens for instance with `./config.status config.h'. 5354if test -n "$CONFIG_FILES"; then 5355 5356 5357ac_cr=`echo X | tr X '\015'` 5358# On cygwin, bash can eat \r inside `` if the user requested igncr. 5359# But we know of no other shell where ac_cr would be empty at this 5360# point, so we can use a bashism as a fallback. 5361if test "x$ac_cr" = x; then 5362 eval ac_cr=\$\'\\r\' 5363fi 5364ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 5365if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 5366 ac_cs_awk_cr='\r' 5367else 5368 ac_cs_awk_cr=$ac_cr 5369fi 5370 5371echo 'BEGIN {' >"$tmp/subs1.awk" && 5372_ACEOF 5373 5374 5375{ 5376 echo "cat >conf$$subs.awk <<_ACEOF" && 5377 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 5378 echo "_ACEOF" 5379} >conf$$subs.sh || 5380 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 5381ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 5382ac_delim='%!_!# ' 5383for ac_last_try in false false false false false :; do 5384 . ./conf$$subs.sh || 5385 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 5386 5387 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 5388 if test $ac_delim_n = $ac_delim_num; then 5389 break 5390 elif $ac_last_try; then 5391 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 5392 else 5393 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 5394 fi 5395done 5396rm -f conf$$subs.sh 5397 5398cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5399cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 5400_ACEOF 5401sed -n ' 5402h 5403s/^/S["/; s/!.*/"]=/ 5404p 5405g 5406s/^[^!]*!// 5407:repl 5408t repl 5409s/'"$ac_delim"'$// 5410t delim 5411:nl 5412h 5413s/\(.\{148\}\).*/\1/ 5414t more1 5415s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 5416p 5417n 5418b repl 5419:more1 5420s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 5421p 5422g 5423s/.\{148\}// 5424t nl 5425:delim 5426h 5427s/\(.\{148\}\).*/\1/ 5428t more2 5429s/["\\]/\\&/g; s/^/"/; s/$/"/ 5430p 5431b 5432:more2 5433s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 5434p 5435g 5436s/.\{148\}// 5437t delim 5438' <conf$$subs.awk | sed ' 5439/^[^""]/{ 5440 N 5441 s/\n// 5442} 5443' >>$CONFIG_STATUS || ac_write_fail=1 5444rm -f conf$$subs.awk 5445cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5446_ACAWK 5447cat >>"\$tmp/subs1.awk" <<_ACAWK && 5448 for (key in S) S_is_set[key] = 1 5449 FS = "" 5450 5451} 5452{ 5453 line = $ 0 5454 nfields = split(line, field, "@") 5455 substed = 0 5456 len = length(field[1]) 5457 for (i = 2; i < nfields; i++) { 5458 key = field[i] 5459 keylen = length(key) 5460 if (S_is_set[key]) { 5461 value = S[key] 5462 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 5463 len += length(value) + length(field[++i]) 5464 substed = 1 5465 } else 5466 len += 1 + keylen 5467 } 5468 5469 print line 5470} 5471 5472_ACAWK 5473_ACEOF 5474cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5475if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 5476 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 5477else 5478 cat 5479fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 5480 || as_fn_error "could not setup config files machinery" "$LINENO" 5 5481_ACEOF 5482 5483# VPATH may cause trouble with some makes, so we remove $(srcdir), 5484# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 5485# trailing colons and then remove the whole line if VPATH becomes empty 5486# (actually we leave an empty line to preserve line numbers). 5487if test "x$srcdir" = x.; then 5488 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 5489s/:*\$(srcdir):*/:/ 5490s/:*\${srcdir}:*/:/ 5491s/:*@srcdir@:*/:/ 5492s/^\([^=]*=[ ]*\):*/\1/ 5493s/:*$// 5494s/^[^=]*=[ ]*$// 5495}' 5496fi 5497 5498cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5499fi # test -n "$CONFIG_FILES" 5500 5501# Set up the scripts for CONFIG_HEADERS section. 5502# No need to generate them if there are no CONFIG_HEADERS. 5503# This happens for instance with `./config.status Makefile'. 5504if test -n "$CONFIG_HEADERS"; then 5505cat >"$tmp/defines.awk" <<\_ACAWK || 5506BEGIN { 5507_ACEOF 5508 5509# Transform confdefs.h into an awk script `defines.awk', embedded as 5510# here-document in config.status, that substitutes the proper values into 5511# config.h.in to produce config.h. 5512 5513# Create a delimiter string that does not exist in confdefs.h, to ease 5514# handling of long lines. 5515ac_delim='%!_!# ' 5516for ac_last_try in false false :; do 5517 ac_t=`sed -n "/$ac_delim/p" confdefs.h` 5518 if test -z "$ac_t"; then 5519 break 5520 elif $ac_last_try; then 5521 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 5522 else 5523 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 5524 fi 5525done 5526 5527# For the awk script, D is an array of macro values keyed by name, 5528# likewise P contains macro parameters if any. Preserve backslash 5529# newline sequences. 5530 5531ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 5532sed -n ' 5533s/.\{148\}/&'"$ac_delim"'/g 5534t rset 5535:rset 5536s/^[ ]*#[ ]*define[ ][ ]*/ / 5537t def 5538d 5539:def 5540s/\\$// 5541t bsnl 5542s/["\\]/\\&/g 5543s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 5544D["\1"]=" \3"/p 5545s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 5546d 5547:bsnl 5548s/["\\]/\\&/g 5549s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 5550D["\1"]=" \3\\\\\\n"\\/p 5551t cont 5552s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 5553t cont 5554d 5555:cont 5556n 5557s/.\{148\}/&'"$ac_delim"'/g 5558t clear 5559:clear 5560s/\\$// 5561t bsnlc 5562s/["\\]/\\&/g; s/^/"/; s/$/"/p 5563d 5564:bsnlc 5565s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 5566b cont 5567' <confdefs.h | sed ' 5568s/'"$ac_delim"'/"\\\ 5569"/g' >>$CONFIG_STATUS || ac_write_fail=1 5570 5571cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5572 for (key in D) D_is_set[key] = 1 5573 FS = "" 5574} 5575/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 5576 line = \$ 0 5577 split(line, arg, " ") 5578 if (arg[1] == "#") { 5579 defundef = arg[2] 5580 mac1 = arg[3] 5581 } else { 5582 defundef = substr(arg[1], 2) 5583 mac1 = arg[2] 5584 } 5585 split(mac1, mac2, "(") #) 5586 macro = mac2[1] 5587 prefix = substr(line, 1, index(line, defundef) - 1) 5588 if (D_is_set[macro]) { 5589 # Preserve the white space surrounding the "#". 5590 print prefix "define", macro P[macro] D[macro] 5591 next 5592 } else { 5593 # Replace #undef with comments. This is necessary, for example, 5594 # in the case of _POSIX_SOURCE, which is predefined and required 5595 # on some systems where configure will not decide to define it. 5596 if (defundef == "undef") { 5597 print "/*", prefix defundef, macro, "*/" 5598 next 5599 } 5600 } 5601} 5602{ print } 5603_ACAWK 5604_ACEOF 5605cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5606 as_fn_error "could not setup config headers machinery" "$LINENO" 5 5607fi # test -n "$CONFIG_HEADERS" 5608 5609 5610eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS" 5611shift 5612for ac_tag 5613do 5614 case $ac_tag in 5615 :[FHLC]) ac_mode=$ac_tag; continue;; 5616 esac 5617 case $ac_mode$ac_tag in 5618 :[FHL]*:*);; 5619 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; 5620 :[FH]-) ac_tag=-:-;; 5621 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 5622 esac 5623 ac_save_IFS=$IFS 5624 IFS=: 5625 set x $ac_tag 5626 IFS=$ac_save_IFS 5627 shift 5628 ac_file=$1 5629 shift 5630 5631 case $ac_mode in 5632 :L) ac_source=$1;; 5633 :[FH]) 5634 ac_file_inputs= 5635 for ac_f 5636 do 5637 case $ac_f in 5638 -) ac_f="$tmp/stdin";; 5639 *) # Look for the file first in the build tree, then in the source tree 5640 # (if the path is not absolute). The absolute path cannot be DOS-style, 5641 # because $ac_f cannot contain `:'. 5642 test -f "$ac_f" || 5643 case $ac_f in 5644 [\\/$]*) false;; 5645 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 5646 esac || 5647 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; 5648 esac 5649 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 5650 as_fn_append ac_file_inputs " '$ac_f'" 5651 done 5652 5653 # Let's still pretend it is `configure' which instantiates (i.e., don't 5654 # use $as_me), people would be surprised to read: 5655 # /* config.h. Generated by config.status. */ 5656 configure_input='Generated from '` 5657 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 5658 `' by configure.' 5659 if test x"$ac_file" != x-; then 5660 configure_input="$ac_file. $configure_input" 5661 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 5662$as_echo "$as_me: creating $ac_file" >&6;} 5663 fi 5664 # Neutralize special characters interpreted by sed in replacement strings. 5665 case $configure_input in #( 5666 *\&* | *\|* | *\\* ) 5667 ac_sed_conf_input=`$as_echo "$configure_input" | 5668 sed 's/[\\\\&|]/\\\\&/g'`;; #( 5669 *) ac_sed_conf_input=$configure_input;; 5670 esac 5671 5672 case $ac_tag in 5673 *:-:* | *:-) cat >"$tmp/stdin" \ 5674 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; 5675 esac 5676 ;; 5677 esac 5678 5679 ac_dir=`$as_dirname -- "$ac_file" || 5680$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5681 X"$ac_file" : 'X\(//\)[^/]' \| \ 5682 X"$ac_file" : 'X\(//\)$' \| \ 5683 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 5684$as_echo X"$ac_file" | 5685 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 5686 s//\1/ 5687 q 5688 } 5689 /^X\(\/\/\)[^/].*/{ 5690 s//\1/ 5691 q 5692 } 5693 /^X\(\/\/\)$/{ 5694 s//\1/ 5695 q 5696 } 5697 /^X\(\/\).*/{ 5698 s//\1/ 5699 q 5700 } 5701 s/.*/./; q'` 5702 as_dir="$ac_dir"; as_fn_mkdir_p 5703 ac_builddir=. 5704 5705case "$ac_dir" in 5706.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 5707*) 5708 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 5709 # A ".." for each directory in $ac_dir_suffix. 5710 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 5711 case $ac_top_builddir_sub in 5712 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 5713 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 5714 esac ;; 5715esac 5716ac_abs_top_builddir=$ac_pwd 5717ac_abs_builddir=$ac_pwd$ac_dir_suffix 5718# for backward compatibility: 5719ac_top_builddir=$ac_top_build_prefix 5720 5721case $srcdir in 5722 .) # We are building in place. 5723 ac_srcdir=. 5724 ac_top_srcdir=$ac_top_builddir_sub 5725 ac_abs_top_srcdir=$ac_pwd ;; 5726 [\\/]* | ?:[\\/]* ) # Absolute name. 5727 ac_srcdir=$srcdir$ac_dir_suffix; 5728 ac_top_srcdir=$srcdir 5729 ac_abs_top_srcdir=$srcdir ;; 5730 *) # Relative name. 5731 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 5732 ac_top_srcdir=$ac_top_build_prefix$srcdir 5733 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 5734esac 5735ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 5736 5737 5738 case $ac_mode in 5739 :F) 5740 # 5741 # CONFIG_FILE 5742 # 5743 5744 case $INSTALL in 5745 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 5746 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 5747 esac 5748_ACEOF 5749 5750cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5751# If the template does not know about datarootdir, expand it. 5752# FIXME: This hack should be removed a few years after 2.60. 5753ac_datarootdir_hack=; ac_datarootdir_seen= 5754ac_sed_dataroot=' 5755/datarootdir/ { 5756 p 5757 q 5758} 5759/@datadir@/p 5760/@docdir@/p 5761/@infodir@/p 5762/@localedir@/p 5763/@mandir@/p' 5764case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 5765*datarootdir*) ac_datarootdir_seen=yes;; 5766*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 5767 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 5768$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 5769_ACEOF 5770cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5771 ac_datarootdir_hack=' 5772 s&@datadir@&$datadir&g 5773 s&@docdir@&$docdir&g 5774 s&@infodir@&$infodir&g 5775 s&@localedir@&$localedir&g 5776 s&@mandir@&$mandir&g 5777 s&\\\${datarootdir}&$datarootdir&g' ;; 5778esac 5779_ACEOF 5780 5781# Neutralize VPATH when `$srcdir' = `.'. 5782# Shell code in configure.ac might set extrasub. 5783# FIXME: do we really want to maintain this feature? 5784cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5785ac_sed_extra="$ac_vpsub 5786$extrasub 5787_ACEOF 5788cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5789:t 5790/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 5791s|@configure_input@|$ac_sed_conf_input|;t t 5792s&@top_builddir@&$ac_top_builddir_sub&;t t 5793s&@top_build_prefix@&$ac_top_build_prefix&;t t 5794s&@srcdir@&$ac_srcdir&;t t 5795s&@abs_srcdir@&$ac_abs_srcdir&;t t 5796s&@top_srcdir@&$ac_top_srcdir&;t t 5797s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 5798s&@builddir@&$ac_builddir&;t t 5799s&@abs_builddir@&$ac_abs_builddir&;t t 5800s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 5801s&@INSTALL@&$ac_INSTALL&;t t 5802$ac_datarootdir_hack 5803" 5804eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 5805 || as_fn_error "could not create $ac_file" "$LINENO" 5 5806 5807test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 5808 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 5809 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 5810 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 5811which seems to be undefined. Please make sure it is defined." >&5 5812$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 5813which seems to be undefined. Please make sure it is defined." >&2;} 5814 5815 rm -f "$tmp/stdin" 5816 case $ac_file in 5817 -) cat "$tmp/out" && rm -f "$tmp/out";; 5818 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 5819 esac \ 5820 || as_fn_error "could not create $ac_file" "$LINENO" 5 5821 ;; 5822 :H) 5823 # 5824 # CONFIG_HEADER 5825 # 5826 if test x"$ac_file" != x-; then 5827 { 5828 $as_echo "/* $configure_input */" \ 5829 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 5830 } >"$tmp/config.h" \ 5831 || as_fn_error "could not create $ac_file" "$LINENO" 5 5832 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 5833 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 5834$as_echo "$as_me: $ac_file is unchanged" >&6;} 5835 else 5836 rm -f "$ac_file" 5837 mv "$tmp/config.h" "$ac_file" \ 5838 || as_fn_error "could not create $ac_file" "$LINENO" 5 5839 fi 5840 else 5841 $as_echo "/* $configure_input */" \ 5842 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 5843 || as_fn_error "could not create -" "$LINENO" 5 5844 fi 5845 ;; 5846 :L) 5847 # 5848 # CONFIG_LINK 5849 # 5850 5851 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then 5852 : 5853 else 5854 # Prefer the file from the source tree if names are identical. 5855 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then 5856 ac_source=$srcdir/$ac_source 5857 fi 5858 5859 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5 5860$as_echo "$as_me: linking $ac_source to $ac_file" >&6;} 5861 5862 if test ! -r "$ac_source"; then 5863 as_fn_error "$ac_source: file not found" "$LINENO" 5 5864 fi 5865 rm -f "$ac_file" 5866 5867 # Try a relative symlink, then a hard link, then a copy. 5868 case $srcdir in 5869 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;; 5870 *) ac_rel_source=$ac_top_build_prefix$ac_source ;; 5871 esac 5872 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null || 5873 ln "$ac_source" "$ac_file" 2>/dev/null || 5874 cp -p "$ac_source" "$ac_file" || 5875 as_fn_error "cannot link or copy $ac_source to $ac_file" "$LINENO" 5 5876 fi 5877 ;; 5878 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 5879$as_echo "$as_me: executing $ac_file commands" >&6;} 5880 ;; 5881 esac 5882 5883 5884 case $ac_file$ac_mode in 5885 "default":C) test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h 5886if test -n "$CONFIG_FILES"; then 5887 # FIXME: We shouldn't need to set ac_file 5888 ac_file=Makefile 5889 . ${libgcc_topdir}/config-ml.in 5890fi ;; 5891 5892 esac 5893done # for ac_tag 5894 5895 5896as_fn_exit 0 5897_ACEOF 5898ac_clean_files=$ac_clean_files_save 5899 5900test $ac_write_fail = 0 || 5901 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 5902 5903 5904# configure is writing to config.log, and then calls config.status. 5905# config.status does its own redirection, appending to config.log. 5906# Unfortunately, on DOS this fails, as config.log is still kept open 5907# by configure, so config.status won't be able to write to it; its 5908# output is simply discarded. So we exec the FD to /dev/null, 5909# effectively closing config.log, so it can be properly (re)opened and 5910# appended to by config.status. When coming back to configure, we 5911# need to make the FD available again. 5912if test "$no_create" != yes; then 5913 ac_cs_success=: 5914 ac_config_status_args= 5915 test "$silent" = yes && 5916 ac_config_status_args="$ac_config_status_args --quiet" 5917 exec 5>/dev/null 5918 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 5919 exec 5>>config.log 5920 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 5921 # would make configure fail if this is the last instruction. 5922 $ac_cs_success || as_fn_exit $? 5923fi 5924if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 5925 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 5926$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 5927fi 5928 5929