1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.64 for gold 0.1. 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='gold' 548PACKAGE_TARNAME='gold' 549PACKAGE_VERSION='0.1' 550PACKAGE_STRING='gold 0.1' 551PACKAGE_BUGREPORT='' 552PACKAGE_URL='' 553 554ac_unique_file="gold.cc" 555# Factoring default headers for most tests. 556ac_includes_default="\ 557#include <stdio.h> 558#ifdef HAVE_SYS_TYPES_H 559# include <sys/types.h> 560#endif 561#ifdef HAVE_SYS_STAT_H 562# include <sys/stat.h> 563#endif 564#ifdef STDC_HEADERS 565# include <stdlib.h> 566# include <stddef.h> 567#else 568# ifdef HAVE_STDLIB_H 569# include <stdlib.h> 570# endif 571#endif 572#ifdef HAVE_STRING_H 573# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 574# include <memory.h> 575# endif 576# include <string.h> 577#endif 578#ifdef HAVE_STRINGS_H 579# include <strings.h> 580#endif 581#ifdef HAVE_INTTYPES_H 582# include <inttypes.h> 583#endif 584#ifdef HAVE_STDINT_H 585# include <stdint.h> 586#endif 587#ifdef HAVE_UNISTD_H 588# include <unistd.h> 589#endif" 590 591ac_subst_vars='am__EXEEXT_FALSE 592am__EXEEXT_TRUE 593LTLIBOBJS 594MAINT 595MAINTAINER_MODE_FALSE 596MAINTAINER_MODE_TRUE 597DLOPEN_LIBS 598CXXCPP 599HAVE_NO_USE_LINKER_PLUGIN_FALSE 600HAVE_NO_USE_LINKER_PLUGIN_TRUE 601HAVE_PUBNAMES_FALSE 602HAVE_PUBNAMES_TRUE 603HAVE_ZLIB_FALSE 604HAVE_ZLIB_TRUE 605LIBOBJS 606LFS_CFLAGS 607GOLD_LDADD 608GOLD_LDFLAGS 609WARN_CXXFLAGS 610NO_WERROR 611WARN_CFLAGS 612IFUNC_STATIC_FALSE 613IFUNC_STATIC_TRUE 614IFUNC_FALSE 615IFUNC_TRUE 616RANDOM_SEED_CFLAGS 617TLS_DESCRIPTORS_FALSE 618TLS_DESCRIPTORS_TRUE 619TLS_GNU2_DIALECT_FALSE 620TLS_GNU2_DIALECT_TRUE 621OMP_SUPPORT_FALSE 622OMP_SUPPORT_TRUE 623STATIC_TLS_FALSE 624STATIC_TLS_TRUE 625TLS_FALSE 626TLS_TRUE 627MERGE_CONSTANTS_FLAG 628MCMODEL_MEDIUM_FALSE 629MCMODEL_MEDIUM_TRUE 630FN_PTRS_IN_SO_WITHOUT_PIC_FALSE 631FN_PTRS_IN_SO_WITHOUT_PIC_TRUE 632HAVE_STATIC_FALSE 633HAVE_STATIC_TRUE 634NATIVE_OR_CROSS_LINKER_FALSE 635NATIVE_OR_CROSS_LINKER_TRUE 636GCC_FALSE 637GCC_TRUE 638TEST_AS_NATIVE_LINKER_FALSE 639TEST_AS_NATIVE_LINKER_TRUE 640MSGMERGE 641MSGFMT 642MKINSTALLDIRS 643CATOBJEXT 644GENCAT 645INSTOBJEXT 646DATADIRNAME 647CATALOGS 648POSUB 649GMSGFMT 650XGETTEXT 651INCINTL 652LIBINTL_DEP 653LIBINTL 654USE_NLS 655EGREP 656GREP 657CPP 658LN_S 659RANLIB 660YFLAGS 661YACC 662am__fastdepCXX_FALSE 663am__fastdepCXX_TRUE 664CXXDEPMODE 665ac_ct_CXX 666CXXFLAGS 667CXX 668am__fastdepCC_FALSE 669am__fastdepCC_TRUE 670CCDEPMODE 671AMDEPBACKSLASH 672AMDEP_FALSE 673AMDEP_TRUE 674am__quote 675am__include 676DEPDIR 677OBJEXT 678EXEEXT 679ac_ct_CC 680CPPFLAGS 681LDFLAGS 682CFLAGS 683CC 684NM 685TARGETOBJS 686DEFAULT_TARGET 687DEFAULT_TARGET_MIPS_FALSE 688DEFAULT_TARGET_MIPS_TRUE 689DEFAULT_TARGET_TILEGX_FALSE 690DEFAULT_TARGET_TILEGX_TRUE 691DEFAULT_TARGET_X32_FALSE 692DEFAULT_TARGET_X32_TRUE 693DEFAULT_TARGET_X86_64_FALSE 694DEFAULT_TARGET_X86_64_TRUE 695DEFAULT_TARGET_SPARC_FALSE 696DEFAULT_TARGET_SPARC_TRUE 697DEFAULT_TARGET_POWERPC_FALSE 698DEFAULT_TARGET_POWERPC_TRUE 699DEFAULT_TARGET_I386_FALSE 700DEFAULT_TARGET_I386_TRUE 701DEFAULT_TARGET_ARM_FALSE 702DEFAULT_TARGET_ARM_TRUE 703DEFAULT_TARGET_AARCH64_FALSE 704DEFAULT_TARGET_AARCH64_TRUE 705PLUGINS_FALSE 706PLUGINS_TRUE 707THREADS_FALSE 708THREADS_TRUE 709installed_linker 710install_as_default 711am__untar 712am__tar 713AMTAR 714am__leading_dot 715SET_MAKE 716AWK 717mkdir_p 718MKDIR_P 719INSTALL_STRIP_PROGRAM 720STRIP 721install_sh 722MAKEINFO 723AUTOHEADER 724AUTOMAKE 725AUTOCONF 726ACLOCAL 727VERSION 728PACKAGE 729CYGPATH_W 730am__isrc 731INSTALL_DATA 732INSTALL_SCRIPT 733INSTALL_PROGRAM 734target_os 735target_vendor 736target_cpu 737target 738host_os 739host_vendor 740host_cpu 741host 742build_os 743build_vendor 744build_cpu 745build 746target_alias 747host_alias 748build_alias 749LIBS 750ECHO_T 751ECHO_N 752ECHO_C 753DEFS 754mandir 755localedir 756libdir 757psdir 758pdfdir 759dvidir 760htmldir 761infodir 762docdir 763oldincludedir 764includedir 765localstatedir 766sharedstatedir 767sysconfdir 768datadir 769datarootdir 770libexecdir 771sbindir 772bindir 773program_transform_name 774prefix 775exec_prefix 776PACKAGE_URL 777PACKAGE_BUGREPORT 778PACKAGE_STRING 779PACKAGE_VERSION 780PACKAGE_TARNAME 781PACKAGE_NAME 782PATH_SEPARATOR 783SHELL' 784ac_subst_files='' 785ac_user_opts=' 786enable_option_checking 787with_sysroot 788enable_gold 789enable_threads 790enable_plugins 791enable_targets 792enable_test_as_native 793with_lib_path 794enable_dependency_tracking 795enable_nls 796enable_werror 797enable_build_warnings 798with_gold_ldflags 799with_gold_ldadd 800with_zlib 801enable_maintainer_mode 802' 803 ac_precious_vars='build_alias 804host_alias 805target_alias 806CC 807CFLAGS 808LDFLAGS 809LIBS 810CPPFLAGS 811CXX 812CXXFLAGS 813CCC 814YACC 815YFLAGS 816CPP 817CXXCPP' 818 819 820# Initialize some variables set by options. 821ac_init_help= 822ac_init_version=false 823ac_unrecognized_opts= 824ac_unrecognized_sep= 825# The variables have the same names as the options, with 826# dashes changed to underlines. 827cache_file=/dev/null 828exec_prefix=NONE 829no_create= 830no_recursion= 831prefix=NONE 832program_prefix=NONE 833program_suffix=NONE 834program_transform_name=s,x,x, 835silent= 836site= 837srcdir= 838verbose= 839x_includes=NONE 840x_libraries=NONE 841 842# Installation directory options. 843# These are left unexpanded so users can "make install exec_prefix=/foo" 844# and all the variables that are supposed to be based on exec_prefix 845# by default will actually change. 846# Use braces instead of parens because sh, perl, etc. also accept them. 847# (The list follows the same order as the GNU Coding Standards.) 848bindir='${exec_prefix}/bin' 849sbindir='${exec_prefix}/sbin' 850libexecdir='${exec_prefix}/libexec' 851datarootdir='${prefix}/share' 852datadir='${datarootdir}' 853sysconfdir='${prefix}/etc' 854sharedstatedir='${prefix}/com' 855localstatedir='${prefix}/var' 856includedir='${prefix}/include' 857oldincludedir='/usr/include' 858docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 859infodir='${datarootdir}/info' 860htmldir='${docdir}' 861dvidir='${docdir}' 862pdfdir='${docdir}' 863psdir='${docdir}' 864libdir='${exec_prefix}/lib' 865localedir='${datarootdir}/locale' 866mandir='${datarootdir}/man' 867 868ac_prev= 869ac_dashdash= 870for ac_option 871do 872 # If the previous option needs an argument, assign it. 873 if test -n "$ac_prev"; then 874 eval $ac_prev=\$ac_option 875 ac_prev= 876 continue 877 fi 878 879 case $ac_option in 880 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 881 *) ac_optarg=yes ;; 882 esac 883 884 # Accept the important Cygnus configure options, so we can diagnose typos. 885 886 case $ac_dashdash$ac_option in 887 --) 888 ac_dashdash=yes ;; 889 890 -bindir | --bindir | --bindi | --bind | --bin | --bi) 891 ac_prev=bindir ;; 892 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 893 bindir=$ac_optarg ;; 894 895 -build | --build | --buil | --bui | --bu) 896 ac_prev=build_alias ;; 897 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 898 build_alias=$ac_optarg ;; 899 900 -cache-file | --cache-file | --cache-fil | --cache-fi \ 901 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 902 ac_prev=cache_file ;; 903 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 904 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 905 cache_file=$ac_optarg ;; 906 907 --config-cache | -C) 908 cache_file=config.cache ;; 909 910 -datadir | --datadir | --datadi | --datad) 911 ac_prev=datadir ;; 912 -datadir=* | --datadir=* | --datadi=* | --datad=*) 913 datadir=$ac_optarg ;; 914 915 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 916 | --dataroo | --dataro | --datar) 917 ac_prev=datarootdir ;; 918 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 919 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 920 datarootdir=$ac_optarg ;; 921 922 -disable-* | --disable-*) 923 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 924 # Reject names that are not valid shell variable names. 925 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 926 as_fn_error "invalid feature name: $ac_useropt" 927 ac_useropt_orig=$ac_useropt 928 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 929 case $ac_user_opts in 930 *" 931"enable_$ac_useropt" 932"*) ;; 933 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 934 ac_unrecognized_sep=', ';; 935 esac 936 eval enable_$ac_useropt=no ;; 937 938 -docdir | --docdir | --docdi | --doc | --do) 939 ac_prev=docdir ;; 940 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 941 docdir=$ac_optarg ;; 942 943 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 944 ac_prev=dvidir ;; 945 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 946 dvidir=$ac_optarg ;; 947 948 -enable-* | --enable-*) 949 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 950 # Reject names that are not valid shell variable names. 951 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 952 as_fn_error "invalid feature name: $ac_useropt" 953 ac_useropt_orig=$ac_useropt 954 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 955 case $ac_user_opts in 956 *" 957"enable_$ac_useropt" 958"*) ;; 959 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 960 ac_unrecognized_sep=', ';; 961 esac 962 eval enable_$ac_useropt=\$ac_optarg ;; 963 964 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 965 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 966 | --exec | --exe | --ex) 967 ac_prev=exec_prefix ;; 968 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 969 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 970 | --exec=* | --exe=* | --ex=*) 971 exec_prefix=$ac_optarg ;; 972 973 -gas | --gas | --ga | --g) 974 # Obsolete; use --with-gas. 975 with_gas=yes ;; 976 977 -help | --help | --hel | --he | -h) 978 ac_init_help=long ;; 979 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 980 ac_init_help=recursive ;; 981 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 982 ac_init_help=short ;; 983 984 -host | --host | --hos | --ho) 985 ac_prev=host_alias ;; 986 -host=* | --host=* | --hos=* | --ho=*) 987 host_alias=$ac_optarg ;; 988 989 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 990 ac_prev=htmldir ;; 991 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 992 | --ht=*) 993 htmldir=$ac_optarg ;; 994 995 -includedir | --includedir | --includedi | --included | --include \ 996 | --includ | --inclu | --incl | --inc) 997 ac_prev=includedir ;; 998 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 999 | --includ=* | --inclu=* | --incl=* | --inc=*) 1000 includedir=$ac_optarg ;; 1001 1002 -infodir | --infodir | --infodi | --infod | --info | --inf) 1003 ac_prev=infodir ;; 1004 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 1005 infodir=$ac_optarg ;; 1006 1007 -libdir | --libdir | --libdi | --libd) 1008 ac_prev=libdir ;; 1009 -libdir=* | --libdir=* | --libdi=* | --libd=*) 1010 libdir=$ac_optarg ;; 1011 1012 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1013 | --libexe | --libex | --libe) 1014 ac_prev=libexecdir ;; 1015 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1016 | --libexe=* | --libex=* | --libe=*) 1017 libexecdir=$ac_optarg ;; 1018 1019 -localedir | --localedir | --localedi | --localed | --locale) 1020 ac_prev=localedir ;; 1021 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1022 localedir=$ac_optarg ;; 1023 1024 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1025 | --localstate | --localstat | --localsta | --localst | --locals) 1026 ac_prev=localstatedir ;; 1027 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1028 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1029 localstatedir=$ac_optarg ;; 1030 1031 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1032 ac_prev=mandir ;; 1033 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1034 mandir=$ac_optarg ;; 1035 1036 -nfp | --nfp | --nf) 1037 # Obsolete; use --without-fp. 1038 with_fp=no ;; 1039 1040 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1041 | --no-cr | --no-c | -n) 1042 no_create=yes ;; 1043 1044 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1045 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1046 no_recursion=yes ;; 1047 1048 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1049 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1050 | --oldin | --oldi | --old | --ol | --o) 1051 ac_prev=oldincludedir ;; 1052 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1053 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1054 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1055 oldincludedir=$ac_optarg ;; 1056 1057 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1058 ac_prev=prefix ;; 1059 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1060 prefix=$ac_optarg ;; 1061 1062 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1063 | --program-pre | --program-pr | --program-p) 1064 ac_prev=program_prefix ;; 1065 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1066 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1067 program_prefix=$ac_optarg ;; 1068 1069 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1070 | --program-suf | --program-su | --program-s) 1071 ac_prev=program_suffix ;; 1072 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1073 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1074 program_suffix=$ac_optarg ;; 1075 1076 -program-transform-name | --program-transform-name \ 1077 | --program-transform-nam | --program-transform-na \ 1078 | --program-transform-n | --program-transform- \ 1079 | --program-transform | --program-transfor \ 1080 | --program-transfo | --program-transf \ 1081 | --program-trans | --program-tran \ 1082 | --progr-tra | --program-tr | --program-t) 1083 ac_prev=program_transform_name ;; 1084 -program-transform-name=* | --program-transform-name=* \ 1085 | --program-transform-nam=* | --program-transform-na=* \ 1086 | --program-transform-n=* | --program-transform-=* \ 1087 | --program-transform=* | --program-transfor=* \ 1088 | --program-transfo=* | --program-transf=* \ 1089 | --program-trans=* | --program-tran=* \ 1090 | --progr-tra=* | --program-tr=* | --program-t=*) 1091 program_transform_name=$ac_optarg ;; 1092 1093 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1094 ac_prev=pdfdir ;; 1095 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1096 pdfdir=$ac_optarg ;; 1097 1098 -psdir | --psdir | --psdi | --psd | --ps) 1099 ac_prev=psdir ;; 1100 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1101 psdir=$ac_optarg ;; 1102 1103 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1104 | -silent | --silent | --silen | --sile | --sil) 1105 silent=yes ;; 1106 1107 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1108 ac_prev=sbindir ;; 1109 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1110 | --sbi=* | --sb=*) 1111 sbindir=$ac_optarg ;; 1112 1113 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1114 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1115 | --sharedst | --shareds | --shared | --share | --shar \ 1116 | --sha | --sh) 1117 ac_prev=sharedstatedir ;; 1118 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1119 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1120 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1121 | --sha=* | --sh=*) 1122 sharedstatedir=$ac_optarg ;; 1123 1124 -site | --site | --sit) 1125 ac_prev=site ;; 1126 -site=* | --site=* | --sit=*) 1127 site=$ac_optarg ;; 1128 1129 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1130 ac_prev=srcdir ;; 1131 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1132 srcdir=$ac_optarg ;; 1133 1134 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1135 | --syscon | --sysco | --sysc | --sys | --sy) 1136 ac_prev=sysconfdir ;; 1137 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1138 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1139 sysconfdir=$ac_optarg ;; 1140 1141 -target | --target | --targe | --targ | --tar | --ta | --t) 1142 ac_prev=target_alias ;; 1143 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1144 target_alias=$ac_optarg ;; 1145 1146 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1147 verbose=yes ;; 1148 1149 -version | --version | --versio | --versi | --vers | -V) 1150 ac_init_version=: ;; 1151 1152 -with-* | --with-*) 1153 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1154 # Reject names that are not valid shell variable names. 1155 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1156 as_fn_error "invalid package name: $ac_useropt" 1157 ac_useropt_orig=$ac_useropt 1158 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1159 case $ac_user_opts in 1160 *" 1161"with_$ac_useropt" 1162"*) ;; 1163 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1164 ac_unrecognized_sep=', ';; 1165 esac 1166 eval with_$ac_useropt=\$ac_optarg ;; 1167 1168 -without-* | --without-*) 1169 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1170 # Reject names that are not valid shell variable names. 1171 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1172 as_fn_error "invalid package name: $ac_useropt" 1173 ac_useropt_orig=$ac_useropt 1174 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1175 case $ac_user_opts in 1176 *" 1177"with_$ac_useropt" 1178"*) ;; 1179 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1180 ac_unrecognized_sep=', ';; 1181 esac 1182 eval with_$ac_useropt=no ;; 1183 1184 --x) 1185 # Obsolete; use --with-x. 1186 with_x=yes ;; 1187 1188 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1189 | --x-incl | --x-inc | --x-in | --x-i) 1190 ac_prev=x_includes ;; 1191 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1192 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1193 x_includes=$ac_optarg ;; 1194 1195 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1196 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1197 ac_prev=x_libraries ;; 1198 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1199 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1200 x_libraries=$ac_optarg ;; 1201 1202 -*) as_fn_error "unrecognized option: \`$ac_option' 1203Try \`$0 --help' for more information." 1204 ;; 1205 1206 *=*) 1207 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1208 # Reject names that are not valid shell variable names. 1209 case $ac_envvar in #( 1210 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1211 as_fn_error "invalid variable name: \`$ac_envvar'" ;; 1212 esac 1213 eval $ac_envvar=\$ac_optarg 1214 export $ac_envvar ;; 1215 1216 *) 1217 # FIXME: should be removed in autoconf 3.0. 1218 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1219 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1220 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1221 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1222 ;; 1223 1224 esac 1225done 1226 1227if test -n "$ac_prev"; then 1228 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1229 as_fn_error "missing argument to $ac_option" 1230fi 1231 1232if test -n "$ac_unrecognized_opts"; then 1233 case $enable_option_checking in 1234 no) ;; 1235 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; 1236 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1237 esac 1238fi 1239 1240# Check all directory arguments for consistency. 1241for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1242 datadir sysconfdir sharedstatedir localstatedir includedir \ 1243 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1244 libdir localedir mandir 1245do 1246 eval ac_val=\$$ac_var 1247 # Remove trailing slashes. 1248 case $ac_val in 1249 */ ) 1250 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1251 eval $ac_var=\$ac_val;; 1252 esac 1253 # Be sure to have absolute directory names. 1254 case $ac_val in 1255 [\\/$]* | ?:[\\/]* ) continue;; 1256 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1257 esac 1258 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" 1259done 1260 1261# There might be people who depend on the old broken behavior: `$host' 1262# used to hold the argument of --host etc. 1263# FIXME: To remove some day. 1264build=$build_alias 1265host=$host_alias 1266target=$target_alias 1267 1268# FIXME: To remove some day. 1269if test "x$host_alias" != x; then 1270 if test "x$build_alias" = x; then 1271 cross_compiling=maybe 1272 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1273 If a cross compiler is detected then cross compile mode will be used." >&2 1274 elif test "x$build_alias" != "x$host_alias"; then 1275 cross_compiling=yes 1276 fi 1277fi 1278 1279ac_tool_prefix= 1280test -n "$host_alias" && ac_tool_prefix=$host_alias- 1281 1282test "$silent" = yes && exec 6>/dev/null 1283 1284 1285ac_pwd=`pwd` && test -n "$ac_pwd" && 1286ac_ls_di=`ls -di .` && 1287ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1288 as_fn_error "working directory cannot be determined" 1289test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1290 as_fn_error "pwd does not report name of working directory" 1291 1292 1293# Find the source files, if location was not specified. 1294if test -z "$srcdir"; then 1295 ac_srcdir_defaulted=yes 1296 # Try the directory containing this script, then the parent directory. 1297 ac_confdir=`$as_dirname -- "$as_myself" || 1298$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1299 X"$as_myself" : 'X\(//\)[^/]' \| \ 1300 X"$as_myself" : 'X\(//\)$' \| \ 1301 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1302$as_echo X"$as_myself" | 1303 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1304 s//\1/ 1305 q 1306 } 1307 /^X\(\/\/\)[^/].*/{ 1308 s//\1/ 1309 q 1310 } 1311 /^X\(\/\/\)$/{ 1312 s//\1/ 1313 q 1314 } 1315 /^X\(\/\).*/{ 1316 s//\1/ 1317 q 1318 } 1319 s/.*/./; q'` 1320 srcdir=$ac_confdir 1321 if test ! -r "$srcdir/$ac_unique_file"; then 1322 srcdir=.. 1323 fi 1324else 1325 ac_srcdir_defaulted=no 1326fi 1327if test ! -r "$srcdir/$ac_unique_file"; then 1328 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1329 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" 1330fi 1331ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1332ac_abs_confdir=`( 1333 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" 1334 pwd)` 1335# When building in place, set srcdir=. 1336if test "$ac_abs_confdir" = "$ac_pwd"; then 1337 srcdir=. 1338fi 1339# Remove unnecessary trailing slashes from srcdir. 1340# Double slashes in file names in object file debugging info 1341# mess up M-x gdb in Emacs. 1342case $srcdir in 1343*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1344esac 1345for ac_var in $ac_precious_vars; do 1346 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1347 eval ac_env_${ac_var}_value=\$${ac_var} 1348 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1349 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1350done 1351 1352# 1353# Report the --help message. 1354# 1355if test "$ac_init_help" = "long"; then 1356 # Omit some internal or obsolete options to make the list less imposing. 1357 # This message is too long to be a string in the A/UX 3.1 sh. 1358 cat <<_ACEOF 1359\`configure' configures gold 0.1 to adapt to many kinds of systems. 1360 1361Usage: $0 [OPTION]... [VAR=VALUE]... 1362 1363To assign environment variables (e.g., CC, CFLAGS...), specify them as 1364VAR=VALUE. See below for descriptions of some of the useful variables. 1365 1366Defaults for the options are specified in brackets. 1367 1368Configuration: 1369 -h, --help display this help and exit 1370 --help=short display options specific to this package 1371 --help=recursive display the short help of all the included packages 1372 -V, --version display version information and exit 1373 -q, --quiet, --silent do not print \`checking...' messages 1374 --cache-file=FILE cache test results in FILE [disabled] 1375 -C, --config-cache alias for \`--cache-file=config.cache' 1376 -n, --no-create do not create output files 1377 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1378 1379Installation directories: 1380 --prefix=PREFIX install architecture-independent files in PREFIX 1381 [$ac_default_prefix] 1382 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1383 [PREFIX] 1384 1385By default, \`make install' will install all the files in 1386\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1387an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1388for instance \`--prefix=\$HOME'. 1389 1390For better control, use the options below. 1391 1392Fine tuning of the installation directories: 1393 --bindir=DIR user executables [EPREFIX/bin] 1394 --sbindir=DIR system admin executables [EPREFIX/sbin] 1395 --libexecdir=DIR program executables [EPREFIX/libexec] 1396 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1397 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1398 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1399 --libdir=DIR object code libraries [EPREFIX/lib] 1400 --includedir=DIR C header files [PREFIX/include] 1401 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1402 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1403 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1404 --infodir=DIR info documentation [DATAROOTDIR/info] 1405 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1406 --mandir=DIR man documentation [DATAROOTDIR/man] 1407 --docdir=DIR documentation root [DATAROOTDIR/doc/gold] 1408 --htmldir=DIR html documentation [DOCDIR] 1409 --dvidir=DIR dvi documentation [DOCDIR] 1410 --pdfdir=DIR pdf documentation [DOCDIR] 1411 --psdir=DIR ps documentation [DOCDIR] 1412_ACEOF 1413 1414 cat <<\_ACEOF 1415 1416Program names: 1417 --program-prefix=PREFIX prepend PREFIX to installed program names 1418 --program-suffix=SUFFIX append SUFFIX to installed program names 1419 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1420 1421System types: 1422 --build=BUILD configure for building on BUILD [guessed] 1423 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1424 --target=TARGET configure for building compilers for TARGET [HOST] 1425_ACEOF 1426fi 1427 1428if test -n "$ac_init_help"; then 1429 case $ac_init_help in 1430 short | recursive ) echo "Configuration of gold 0.1:";; 1431 esac 1432 cat <<\_ACEOF 1433 1434Optional Features: 1435 --disable-option-checking ignore unrecognized --enable/--with options 1436 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1437 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1438 --enable-gold[=ARG] build gold [ARG={default,yes,no}] 1439 --enable-threads multi-threaded linking 1440 --enable-plugins linker plugins 1441 --enable-targets alternative target configurations 1442 --enable-test-as-native test as though linker is native 1443 --disable-dependency-tracking speeds up one-time build 1444 --enable-dependency-tracking do not reject slow dependency extractors 1445 --disable-nls do not use Native Language Support 1446 --enable-werror treat compile warnings as errors 1447 --enable-build-warnings enable build-time compiler warnings 1448 --enable-maintainer-mode enable make rules and dependencies not useful 1449 (and sometimes confusing) to the casual installer 1450 1451Optional Packages: 1452 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1453 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1454 --with-sysroot=DIR search for usr/lib et al within DIR 1455 --with-lib-path=dir1:dir2... set default LIB_PATH 1456 --with-gold-ldflags=FLAGS additional link flags for gold 1457 --with-gold-ldadd=LIBS additional libraries for gold 1458 --with-zlib include zlib support (auto/yes/no) default=auto 1459 1460Some influential environment variables: 1461 CC C compiler command 1462 CFLAGS C compiler flags 1463 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1464 nonstandard directory <lib dir> 1465 LIBS libraries to pass to the linker, e.g. -l<library> 1466 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1467 you have headers in a nonstandard directory <include dir> 1468 CXX C++ compiler command 1469 CXXFLAGS C++ compiler flags 1470 YACC The `Yet Another C Compiler' implementation to use. Defaults to 1471 the first program found out of: `bison -y', `byacc', `yacc'. 1472 YFLAGS The list of arguments that will be passed by default to $YACC. 1473 This script will default YFLAGS to the empty string to avoid a 1474 default value of `-d' given by some make applications. 1475 CPP C preprocessor 1476 CXXCPP C++ preprocessor 1477 1478Use these variables to override the choices made by `configure' or to help 1479it to find libraries and programs with nonstandard names/locations. 1480 1481Report bugs to the package provider. 1482_ACEOF 1483ac_status=$? 1484fi 1485 1486if test "$ac_init_help" = "recursive"; then 1487 # If there are subdirs, report their specific --help. 1488 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1489 test -d "$ac_dir" || 1490 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1491 continue 1492 ac_builddir=. 1493 1494case "$ac_dir" in 1495.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1496*) 1497 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1498 # A ".." for each directory in $ac_dir_suffix. 1499 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1500 case $ac_top_builddir_sub in 1501 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1502 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1503 esac ;; 1504esac 1505ac_abs_top_builddir=$ac_pwd 1506ac_abs_builddir=$ac_pwd$ac_dir_suffix 1507# for backward compatibility: 1508ac_top_builddir=$ac_top_build_prefix 1509 1510case $srcdir in 1511 .) # We are building in place. 1512 ac_srcdir=. 1513 ac_top_srcdir=$ac_top_builddir_sub 1514 ac_abs_top_srcdir=$ac_pwd ;; 1515 [\\/]* | ?:[\\/]* ) # Absolute name. 1516 ac_srcdir=$srcdir$ac_dir_suffix; 1517 ac_top_srcdir=$srcdir 1518 ac_abs_top_srcdir=$srcdir ;; 1519 *) # Relative name. 1520 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1521 ac_top_srcdir=$ac_top_build_prefix$srcdir 1522 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1523esac 1524ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1525 1526 cd "$ac_dir" || { ac_status=$?; continue; } 1527 # Check for guested configure. 1528 if test -f "$ac_srcdir/configure.gnu"; then 1529 echo && 1530 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1531 elif test -f "$ac_srcdir/configure"; then 1532 echo && 1533 $SHELL "$ac_srcdir/configure" --help=recursive 1534 else 1535 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1536 fi || ac_status=$? 1537 cd "$ac_pwd" || { ac_status=$?; break; } 1538 done 1539fi 1540 1541test -n "$ac_init_help" && exit $ac_status 1542if $ac_init_version; then 1543 cat <<\_ACEOF 1544gold configure 0.1 1545generated by GNU Autoconf 2.64 1546 1547Copyright (C) 2009 Free Software Foundation, Inc. 1548This configure script is free software; the Free Software Foundation 1549gives unlimited permission to copy, distribute and modify it. 1550_ACEOF 1551 exit 1552fi 1553 1554## ------------------------ ## 1555## Autoconf initialization. ## 1556## ------------------------ ## 1557 1558# ac_fn_c_try_compile LINENO 1559# -------------------------- 1560# Try to compile conftest.$ac_ext, and return whether this succeeded. 1561ac_fn_c_try_compile () 1562{ 1563 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1564 rm -f conftest.$ac_objext 1565 if { { ac_try="$ac_compile" 1566case "(($ac_try" in 1567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1568 *) ac_try_echo=$ac_try;; 1569esac 1570eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1571$as_echo "$ac_try_echo"; } >&5 1572 (eval "$ac_compile") 2>conftest.err 1573 ac_status=$? 1574 if test -s conftest.err; then 1575 grep -v '^ *+' conftest.err >conftest.er1 1576 cat conftest.er1 >&5 1577 mv -f conftest.er1 conftest.err 1578 fi 1579 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1580 test $ac_status = 0; } && { 1581 test -z "$ac_c_werror_flag" || 1582 test ! -s conftest.err 1583 } && test -s conftest.$ac_objext; then : 1584 ac_retval=0 1585else 1586 $as_echo "$as_me: failed program was:" >&5 1587sed 's/^/| /' conftest.$ac_ext >&5 1588 1589 ac_retval=1 1590fi 1591 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1592 return $ac_retval 1593 1594} # ac_fn_c_try_compile 1595 1596# ac_fn_cxx_try_compile LINENO 1597# ---------------------------- 1598# Try to compile conftest.$ac_ext, and return whether this succeeded. 1599ac_fn_cxx_try_compile () 1600{ 1601 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1602 rm -f conftest.$ac_objext 1603 if { { ac_try="$ac_compile" 1604case "(($ac_try" in 1605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1606 *) ac_try_echo=$ac_try;; 1607esac 1608eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1609$as_echo "$ac_try_echo"; } >&5 1610 (eval "$ac_compile") 2>conftest.err 1611 ac_status=$? 1612 if test -s conftest.err; then 1613 grep -v '^ *+' conftest.err >conftest.er1 1614 cat conftest.er1 >&5 1615 mv -f conftest.er1 conftest.err 1616 fi 1617 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1618 test $ac_status = 0; } && { 1619 test -z "$ac_cxx_werror_flag" || 1620 test ! -s conftest.err 1621 } && test -s conftest.$ac_objext; then : 1622 ac_retval=0 1623else 1624 $as_echo "$as_me: failed program was:" >&5 1625sed 's/^/| /' conftest.$ac_ext >&5 1626 1627 ac_retval=1 1628fi 1629 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1630 return $ac_retval 1631 1632} # ac_fn_cxx_try_compile 1633 1634# ac_fn_c_try_cpp LINENO 1635# ---------------------- 1636# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1637ac_fn_c_try_cpp () 1638{ 1639 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1640 if { { ac_try="$ac_cpp conftest.$ac_ext" 1641case "(($ac_try" in 1642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1643 *) ac_try_echo=$ac_try;; 1644esac 1645eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1646$as_echo "$ac_try_echo"; } >&5 1647 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1648 ac_status=$? 1649 if test -s conftest.err; then 1650 grep -v '^ *+' conftest.err >conftest.er1 1651 cat conftest.er1 >&5 1652 mv -f conftest.er1 conftest.err 1653 fi 1654 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1655 test $ac_status = 0; } >/dev/null && { 1656 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1657 test ! -s conftest.err 1658 }; then : 1659 ac_retval=0 1660else 1661 $as_echo "$as_me: failed program was:" >&5 1662sed 's/^/| /' conftest.$ac_ext >&5 1663 1664 ac_retval=1 1665fi 1666 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1667 return $ac_retval 1668 1669} # ac_fn_c_try_cpp 1670 1671# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1672# ------------------------------------------------------- 1673# Tests whether HEADER exists, giving a warning if it cannot be compiled using 1674# the include files in INCLUDES and setting the cache variable VAR 1675# accordingly. 1676ac_fn_c_check_header_mongrel () 1677{ 1678 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1679 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1681$as_echo_n "checking for $2... " >&6; } 1682if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1683 $as_echo_n "(cached) " >&6 1684fi 1685eval ac_res=\$$3 1686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1687$as_echo "$ac_res" >&6; } 1688else 1689 # Is the header compilable? 1690{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1691$as_echo_n "checking $2 usability... " >&6; } 1692cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1693/* end confdefs.h. */ 1694$4 1695#include <$2> 1696_ACEOF 1697if ac_fn_c_try_compile "$LINENO"; then : 1698 ac_header_compiler=yes 1699else 1700 ac_header_compiler=no 1701fi 1702rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1703{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1704$as_echo "$ac_header_compiler" >&6; } 1705 1706# Is the header present? 1707{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1708$as_echo_n "checking $2 presence... " >&6; } 1709cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1710/* end confdefs.h. */ 1711#include <$2> 1712_ACEOF 1713if ac_fn_c_try_cpp "$LINENO"; then : 1714 ac_header_preproc=yes 1715else 1716 ac_header_preproc=no 1717fi 1718rm -f conftest.err conftest.$ac_ext 1719{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1720$as_echo "$ac_header_preproc" >&6; } 1721 1722# So? What about this header? 1723case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1724 yes:no: ) 1725 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1726$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1727 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1728$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1729 ;; 1730 no:yes:* ) 1731 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1732$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1733 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1734$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1735 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1736$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1737 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1738$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1739 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1740$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1741 ;; 1742esac 1743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1744$as_echo_n "checking for $2... " >&6; } 1745if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1746 $as_echo_n "(cached) " >&6 1747else 1748 eval "$3=\$ac_header_compiler" 1749fi 1750eval ac_res=\$$3 1751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1752$as_echo "$ac_res" >&6; } 1753fi 1754 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1755 1756} # ac_fn_c_check_header_mongrel 1757 1758# ac_fn_c_try_run LINENO 1759# ---------------------- 1760# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1761# that executables *can* be run. 1762ac_fn_c_try_run () 1763{ 1764 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1765 if { { ac_try="$ac_link" 1766case "(($ac_try" in 1767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1768 *) ac_try_echo=$ac_try;; 1769esac 1770eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1771$as_echo "$ac_try_echo"; } >&5 1772 (eval "$ac_link") 2>&5 1773 ac_status=$? 1774 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1775 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1776 { { case "(($ac_try" in 1777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1778 *) ac_try_echo=$ac_try;; 1779esac 1780eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1781$as_echo "$ac_try_echo"; } >&5 1782 (eval "$ac_try") 2>&5 1783 ac_status=$? 1784 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1785 test $ac_status = 0; }; }; then : 1786 ac_retval=0 1787else 1788 $as_echo "$as_me: program exited with status $ac_status" >&5 1789 $as_echo "$as_me: failed program was:" >&5 1790sed 's/^/| /' conftest.$ac_ext >&5 1791 1792 ac_retval=$ac_status 1793fi 1794 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1795 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1796 return $ac_retval 1797 1798} # ac_fn_c_try_run 1799 1800# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1801# ------------------------------------------------------- 1802# Tests whether HEADER exists and can be compiled using the include files in 1803# INCLUDES, setting the cache variable VAR accordingly. 1804ac_fn_c_check_header_compile () 1805{ 1806 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1808$as_echo_n "checking for $2... " >&6; } 1809if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1810 $as_echo_n "(cached) " >&6 1811else 1812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1813/* end confdefs.h. */ 1814$4 1815#include <$2> 1816_ACEOF 1817if ac_fn_c_try_compile "$LINENO"; then : 1818 eval "$3=yes" 1819else 1820 eval "$3=no" 1821fi 1822rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1823fi 1824eval ac_res=\$$3 1825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1826$as_echo "$ac_res" >&6; } 1827 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1828 1829} # ac_fn_c_check_header_compile 1830 1831# ac_fn_c_try_link LINENO 1832# ----------------------- 1833# Try to link conftest.$ac_ext, and return whether this succeeded. 1834ac_fn_c_try_link () 1835{ 1836 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1837 rm -f conftest.$ac_objext conftest$ac_exeext 1838 if { { ac_try="$ac_link" 1839case "(($ac_try" in 1840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1841 *) ac_try_echo=$ac_try;; 1842esac 1843eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1844$as_echo "$ac_try_echo"; } >&5 1845 (eval "$ac_link") 2>conftest.err 1846 ac_status=$? 1847 if test -s conftest.err; then 1848 grep -v '^ *+' conftest.err >conftest.er1 1849 cat conftest.er1 >&5 1850 mv -f conftest.er1 conftest.err 1851 fi 1852 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1853 test $ac_status = 0; } && { 1854 test -z "$ac_c_werror_flag" || 1855 test ! -s conftest.err 1856 } && test -s conftest$ac_exeext && { 1857 test "$cross_compiling" = yes || 1858 $as_test_x conftest$ac_exeext 1859 }; then : 1860 ac_retval=0 1861else 1862 $as_echo "$as_me: failed program was:" >&5 1863sed 's/^/| /' conftest.$ac_ext >&5 1864 1865 ac_retval=1 1866fi 1867 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1868 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1869 # interfere with the next link command; also delete a directory that is 1870 # left behind by Apple's compiler. We do this before executing the actions. 1871 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1872 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1873 return $ac_retval 1874 1875} # ac_fn_c_try_link 1876 1877# ac_fn_c_check_func LINENO FUNC VAR 1878# ---------------------------------- 1879# Tests whether FUNC exists, setting the cache variable VAR accordingly 1880ac_fn_c_check_func () 1881{ 1882 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1884$as_echo_n "checking for $2... " >&6; } 1885if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1886 $as_echo_n "(cached) " >&6 1887else 1888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1889/* end confdefs.h. */ 1890/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1891 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1892#define $2 innocuous_$2 1893 1894/* System header to define __stub macros and hopefully few prototypes, 1895 which can conflict with char $2 (); below. 1896 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1897 <limits.h> exists even on freestanding compilers. */ 1898 1899#ifdef __STDC__ 1900# include <limits.h> 1901#else 1902# include <assert.h> 1903#endif 1904 1905#undef $2 1906 1907/* Override any GCC internal prototype to avoid an error. 1908 Use char because int might match the return type of a GCC 1909 builtin and then its argument prototype would still apply. */ 1910#ifdef __cplusplus 1911extern "C" 1912#endif 1913char $2 (); 1914/* The GNU C library defines this for functions which it implements 1915 to always fail with ENOSYS. Some functions are actually named 1916 something starting with __ and the normal name is an alias. */ 1917#if defined __stub_$2 || defined __stub___$2 1918choke me 1919#endif 1920 1921int 1922main () 1923{ 1924return $2 (); 1925 ; 1926 return 0; 1927} 1928_ACEOF 1929if ac_fn_c_try_link "$LINENO"; then : 1930 eval "$3=yes" 1931else 1932 eval "$3=no" 1933fi 1934rm -f core conftest.err conftest.$ac_objext \ 1935 conftest$ac_exeext conftest.$ac_ext 1936fi 1937eval ac_res=\$$3 1938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1939$as_echo "$ac_res" >&6; } 1940 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1941 1942} # ac_fn_c_check_func 1943 1944# ac_fn_c_check_decl LINENO SYMBOL VAR 1945# ------------------------------------ 1946# Tests whether SYMBOL is declared, setting cache variable VAR accordingly. 1947ac_fn_c_check_decl () 1948{ 1949 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1950 as_decl_name=`echo $2|sed 's/ *(.*//'` 1951 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` 1952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 1953$as_echo_n "checking whether $as_decl_name is declared... " >&6; } 1954if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1955 $as_echo_n "(cached) " >&6 1956else 1957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1958/* end confdefs.h. */ 1959$4 1960int 1961main () 1962{ 1963#ifndef $as_decl_name 1964#ifdef __cplusplus 1965 (void) $as_decl_use; 1966#else 1967 (void) $as_decl_name; 1968#endif 1969#endif 1970 1971 ; 1972 return 0; 1973} 1974_ACEOF 1975if ac_fn_c_try_compile "$LINENO"; then : 1976 eval "$3=yes" 1977else 1978 eval "$3=no" 1979fi 1980rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1981fi 1982eval ac_res=\$$3 1983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1984$as_echo "$ac_res" >&6; } 1985 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1986 1987} # ac_fn_c_check_decl 1988 1989# ac_fn_cxx_try_cpp LINENO 1990# ------------------------ 1991# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1992ac_fn_cxx_try_cpp () 1993{ 1994 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1995 if { { ac_try="$ac_cpp conftest.$ac_ext" 1996case "(($ac_try" in 1997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1998 *) ac_try_echo=$ac_try;; 1999esac 2000eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2001$as_echo "$ac_try_echo"; } >&5 2002 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 2003 ac_status=$? 2004 if test -s conftest.err; then 2005 grep -v '^ *+' conftest.err >conftest.er1 2006 cat conftest.er1 >&5 2007 mv -f conftest.er1 conftest.err 2008 fi 2009 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2010 test $ac_status = 0; } >/dev/null && { 2011 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 2012 test ! -s conftest.err 2013 }; then : 2014 ac_retval=0 2015else 2016 $as_echo "$as_me: failed program was:" >&5 2017sed 's/^/| /' conftest.$ac_ext >&5 2018 2019 ac_retval=1 2020fi 2021 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2022 return $ac_retval 2023 2024} # ac_fn_cxx_try_cpp 2025 2026# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES 2027# --------------------------------------------------------- 2028# Tests whether HEADER exists, giving a warning if it cannot be compiled using 2029# the include files in INCLUDES and setting the cache variable VAR 2030# accordingly. 2031ac_fn_cxx_check_header_mongrel () 2032{ 2033 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2034 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 2035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2036$as_echo_n "checking for $2... " >&6; } 2037if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 2038 $as_echo_n "(cached) " >&6 2039fi 2040eval ac_res=\$$3 2041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2042$as_echo "$ac_res" >&6; } 2043else 2044 # Is the header compilable? 2045{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 2046$as_echo_n "checking $2 usability... " >&6; } 2047cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2048/* end confdefs.h. */ 2049$4 2050#include <$2> 2051_ACEOF 2052if ac_fn_cxx_try_compile "$LINENO"; then : 2053 ac_header_compiler=yes 2054else 2055 ac_header_compiler=no 2056fi 2057rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2058{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 2059$as_echo "$ac_header_compiler" >&6; } 2060 2061# Is the header present? 2062{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 2063$as_echo_n "checking $2 presence... " >&6; } 2064cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2065/* end confdefs.h. */ 2066#include <$2> 2067_ACEOF 2068if ac_fn_cxx_try_cpp "$LINENO"; then : 2069 ac_header_preproc=yes 2070else 2071 ac_header_preproc=no 2072fi 2073rm -f conftest.err conftest.$ac_ext 2074{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 2075$as_echo "$ac_header_preproc" >&6; } 2076 2077# So? What about this header? 2078case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #(( 2079 yes:no: ) 2080 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 2081$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 2082 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2083$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2084 ;; 2085 no:yes:* ) 2086 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 2087$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 2088 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 2089$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 2090 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 2091$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 2092 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 2093$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 2094 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2095$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2096 ;; 2097esac 2098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2099$as_echo_n "checking for $2... " >&6; } 2100if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 2101 $as_echo_n "(cached) " >&6 2102else 2103 eval "$3=\$ac_header_compiler" 2104fi 2105eval ac_res=\$$3 2106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2107$as_echo "$ac_res" >&6; } 2108fi 2109 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2110 2111} # ac_fn_cxx_check_header_mongrel 2112 2113# ac_fn_cxx_try_link LINENO 2114# ------------------------- 2115# Try to link conftest.$ac_ext, and return whether this succeeded. 2116ac_fn_cxx_try_link () 2117{ 2118 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2119 rm -f conftest.$ac_objext conftest$ac_exeext 2120 if { { ac_try="$ac_link" 2121case "(($ac_try" in 2122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2123 *) ac_try_echo=$ac_try;; 2124esac 2125eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2126$as_echo "$ac_try_echo"; } >&5 2127 (eval "$ac_link") 2>conftest.err 2128 ac_status=$? 2129 if test -s conftest.err; then 2130 grep -v '^ *+' conftest.err >conftest.er1 2131 cat conftest.er1 >&5 2132 mv -f conftest.er1 conftest.err 2133 fi 2134 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2135 test $ac_status = 0; } && { 2136 test -z "$ac_cxx_werror_flag" || 2137 test ! -s conftest.err 2138 } && test -s conftest$ac_exeext && { 2139 test "$cross_compiling" = yes || 2140 $as_test_x conftest$ac_exeext 2141 }; then : 2142 ac_retval=0 2143else 2144 $as_echo "$as_me: failed program was:" >&5 2145sed 's/^/| /' conftest.$ac_ext >&5 2146 2147 ac_retval=1 2148fi 2149 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 2150 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 2151 # interfere with the next link command; also delete a directory that is 2152 # left behind by Apple's compiler. We do this before executing the actions. 2153 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2154 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2155 return $ac_retval 2156 2157} # ac_fn_cxx_try_link 2158 2159# ac_fn_cxx_check_func LINENO FUNC VAR 2160# ------------------------------------ 2161# Tests whether FUNC exists, setting the cache variable VAR accordingly 2162ac_fn_cxx_check_func () 2163{ 2164 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2166$as_echo_n "checking for $2... " >&6; } 2167if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 2168 $as_echo_n "(cached) " >&6 2169else 2170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2171/* end confdefs.h. */ 2172/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 2173 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 2174#define $2 innocuous_$2 2175 2176/* System header to define __stub macros and hopefully few prototypes, 2177 which can conflict with char $2 (); below. 2178 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 2179 <limits.h> exists even on freestanding compilers. */ 2180 2181#ifdef __STDC__ 2182# include <limits.h> 2183#else 2184# include <assert.h> 2185#endif 2186 2187#undef $2 2188 2189/* Override any GCC internal prototype to avoid an error. 2190 Use char because int might match the return type of a GCC 2191 builtin and then its argument prototype would still apply. */ 2192#ifdef __cplusplus 2193extern "C" 2194#endif 2195char $2 (); 2196/* The GNU C library defines this for functions which it implements 2197 to always fail with ENOSYS. Some functions are actually named 2198 something starting with __ and the normal name is an alias. */ 2199#if defined __stub_$2 || defined __stub___$2 2200choke me 2201#endif 2202 2203int 2204main () 2205{ 2206return $2 (); 2207 ; 2208 return 0; 2209} 2210_ACEOF 2211if ac_fn_cxx_try_link "$LINENO"; then : 2212 eval "$3=yes" 2213else 2214 eval "$3=no" 2215fi 2216rm -f core conftest.err conftest.$ac_objext \ 2217 conftest$ac_exeext conftest.$ac_ext 2218fi 2219eval ac_res=\$$3 2220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2221$as_echo "$ac_res" >&6; } 2222 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2223 2224} # ac_fn_cxx_check_func 2225 2226# ac_fn_cxx_check_decl LINENO SYMBOL VAR 2227# -------------------------------------- 2228# Tests whether SYMBOL is declared, setting cache variable VAR accordingly. 2229ac_fn_cxx_check_decl () 2230{ 2231 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2232 as_decl_name=`echo $2|sed 's/ *(.*//'` 2233 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` 2234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 2235$as_echo_n "checking whether $as_decl_name is declared... " >&6; } 2236if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 2237 $as_echo_n "(cached) " >&6 2238else 2239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2240/* end confdefs.h. */ 2241$4 2242int 2243main () 2244{ 2245#ifndef $as_decl_name 2246#ifdef __cplusplus 2247 (void) $as_decl_use; 2248#else 2249 (void) $as_decl_name; 2250#endif 2251#endif 2252 2253 ; 2254 return 0; 2255} 2256_ACEOF 2257if ac_fn_cxx_try_compile "$LINENO"; then : 2258 eval "$3=yes" 2259else 2260 eval "$3=no" 2261fi 2262rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2263fi 2264eval ac_res=\$$3 2265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2266$as_echo "$ac_res" >&6; } 2267 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2268 2269} # ac_fn_cxx_check_decl 2270cat >config.log <<_ACEOF 2271This file contains any messages produced by compilers while 2272running configure, to aid debugging if configure makes a mistake. 2273 2274It was created by gold $as_me 0.1, which was 2275generated by GNU Autoconf 2.64. Invocation command line was 2276 2277 $ $0 $@ 2278 2279_ACEOF 2280exec 5>>config.log 2281{ 2282cat <<_ASUNAME 2283## --------- ## 2284## Platform. ## 2285## --------- ## 2286 2287hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 2288uname -m = `(uname -m) 2>/dev/null || echo unknown` 2289uname -r = `(uname -r) 2>/dev/null || echo unknown` 2290uname -s = `(uname -s) 2>/dev/null || echo unknown` 2291uname -v = `(uname -v) 2>/dev/null || echo unknown` 2292 2293/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 2294/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 2295 2296/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 2297/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 2298/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 2299/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 2300/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 2301/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 2302/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 2303 2304_ASUNAME 2305 2306as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2307for as_dir in $PATH 2308do 2309 IFS=$as_save_IFS 2310 test -z "$as_dir" && as_dir=. 2311 $as_echo "PATH: $as_dir" 2312 done 2313IFS=$as_save_IFS 2314 2315} >&5 2316 2317cat >&5 <<_ACEOF 2318 2319 2320## ----------- ## 2321## Core tests. ## 2322## ----------- ## 2323 2324_ACEOF 2325 2326 2327# Keep a trace of the command line. 2328# Strip out --no-create and --no-recursion so they do not pile up. 2329# Strip out --silent because we don't want to record it for future runs. 2330# Also quote any args containing shell meta-characters. 2331# Make two passes to allow for proper duplicate-argument suppression. 2332ac_configure_args= 2333ac_configure_args0= 2334ac_configure_args1= 2335ac_must_keep_next=false 2336for ac_pass in 1 2 2337do 2338 for ac_arg 2339 do 2340 case $ac_arg in 2341 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 2342 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2343 | -silent | --silent | --silen | --sile | --sil) 2344 continue ;; 2345 *\'*) 2346 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2347 esac 2348 case $ac_pass in 2349 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2350 2) 2351 as_fn_append ac_configure_args1 " '$ac_arg'" 2352 if test $ac_must_keep_next = true; then 2353 ac_must_keep_next=false # Got value, back to normal. 2354 else 2355 case $ac_arg in 2356 *=* | --config-cache | -C | -disable-* | --disable-* \ 2357 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 2358 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 2359 | -with-* | --with-* | -without-* | --without-* | --x) 2360 case "$ac_configure_args0 " in 2361 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 2362 esac 2363 ;; 2364 -* ) ac_must_keep_next=true ;; 2365 esac 2366 fi 2367 as_fn_append ac_configure_args " '$ac_arg'" 2368 ;; 2369 esac 2370 done 2371done 2372{ ac_configure_args0=; unset ac_configure_args0;} 2373{ ac_configure_args1=; unset ac_configure_args1;} 2374 2375# When interrupted or exit'd, cleanup temporary files, and complete 2376# config.log. We remove comments because anyway the quotes in there 2377# would cause problems or look ugly. 2378# WARNING: Use '\'' to represent an apostrophe within the trap. 2379# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2380trap 'exit_status=$? 2381 # Save into config.log some information that might help in debugging. 2382 { 2383 echo 2384 2385 cat <<\_ASBOX 2386## ---------------- ## 2387## Cache variables. ## 2388## ---------------- ## 2389_ASBOX 2390 echo 2391 # The following way of writing the cache mishandles newlines in values, 2392( 2393 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2394 eval ac_val=\$$ac_var 2395 case $ac_val in #( 2396 *${as_nl}*) 2397 case $ac_var in #( 2398 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2399$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2400 esac 2401 case $ac_var in #( 2402 _ | IFS | as_nl) ;; #( 2403 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2404 *) { eval $ac_var=; unset $ac_var;} ;; 2405 esac ;; 2406 esac 2407 done 2408 (set) 2>&1 | 2409 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2410 *${as_nl}ac_space=\ *) 2411 sed -n \ 2412 "s/'\''/'\''\\\\'\'''\''/g; 2413 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2414 ;; #( 2415 *) 2416 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2417 ;; 2418 esac | 2419 sort 2420) 2421 echo 2422 2423 cat <<\_ASBOX 2424## ----------------- ## 2425## Output variables. ## 2426## ----------------- ## 2427_ASBOX 2428 echo 2429 for ac_var in $ac_subst_vars 2430 do 2431 eval ac_val=\$$ac_var 2432 case $ac_val in 2433 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2434 esac 2435 $as_echo "$ac_var='\''$ac_val'\''" 2436 done | sort 2437 echo 2438 2439 if test -n "$ac_subst_files"; then 2440 cat <<\_ASBOX 2441## ------------------- ## 2442## File substitutions. ## 2443## ------------------- ## 2444_ASBOX 2445 echo 2446 for ac_var in $ac_subst_files 2447 do 2448 eval ac_val=\$$ac_var 2449 case $ac_val in 2450 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2451 esac 2452 $as_echo "$ac_var='\''$ac_val'\''" 2453 done | sort 2454 echo 2455 fi 2456 2457 if test -s confdefs.h; then 2458 cat <<\_ASBOX 2459## ----------- ## 2460## confdefs.h. ## 2461## ----------- ## 2462_ASBOX 2463 echo 2464 cat confdefs.h 2465 echo 2466 fi 2467 test "$ac_signal" != 0 && 2468 $as_echo "$as_me: caught signal $ac_signal" 2469 $as_echo "$as_me: exit $exit_status" 2470 } >&5 2471 rm -f core *.core core.conftest.* && 2472 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2473 exit $exit_status 2474' 0 2475for ac_signal in 1 2 13 15; do 2476 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2477done 2478ac_signal=0 2479 2480# confdefs.h avoids OS command line length limits that DEFS can exceed. 2481rm -f -r conftest* confdefs.h 2482 2483$as_echo "/* confdefs.h */" > confdefs.h 2484 2485# Predefined preprocessor variables. 2486 2487cat >>confdefs.h <<_ACEOF 2488#define PACKAGE_NAME "$PACKAGE_NAME" 2489_ACEOF 2490 2491cat >>confdefs.h <<_ACEOF 2492#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2493_ACEOF 2494 2495cat >>confdefs.h <<_ACEOF 2496#define PACKAGE_VERSION "$PACKAGE_VERSION" 2497_ACEOF 2498 2499cat >>confdefs.h <<_ACEOF 2500#define PACKAGE_STRING "$PACKAGE_STRING" 2501_ACEOF 2502 2503cat >>confdefs.h <<_ACEOF 2504#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2505_ACEOF 2506 2507cat >>confdefs.h <<_ACEOF 2508#define PACKAGE_URL "$PACKAGE_URL" 2509_ACEOF 2510 2511 2512# Let the site file select an alternate cache file if it wants to. 2513# Prefer an explicitly selected file to automatically selected ones. 2514ac_site_file1=NONE 2515ac_site_file2=NONE 2516if test -n "$CONFIG_SITE"; then 2517 ac_site_file1=$CONFIG_SITE 2518elif test "x$prefix" != xNONE; then 2519 ac_site_file1=$prefix/share/config.site 2520 ac_site_file2=$prefix/etc/config.site 2521else 2522 ac_site_file1=$ac_default_prefix/share/config.site 2523 ac_site_file2=$ac_default_prefix/etc/config.site 2524fi 2525for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2526do 2527 test "x$ac_site_file" = xNONE && continue 2528 if test -r "$ac_site_file"; then 2529 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2530$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2531 sed 's/^/| /' "$ac_site_file" >&5 2532 . "$ac_site_file" 2533 fi 2534done 2535 2536if test -r "$cache_file"; then 2537 # Some versions of bash will fail to source /dev/null (special 2538 # files actually), so we avoid doing that. 2539 if test -f "$cache_file"; then 2540 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2541$as_echo "$as_me: loading cache $cache_file" >&6;} 2542 case $cache_file in 2543 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2544 *) . "./$cache_file";; 2545 esac 2546 fi 2547else 2548 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2549$as_echo "$as_me: creating cache $cache_file" >&6;} 2550 >$cache_file 2551fi 2552 2553# Check that the precious variables saved in the cache have kept the same 2554# value. 2555ac_cache_corrupted=false 2556for ac_var in $ac_precious_vars; do 2557 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2558 eval ac_new_set=\$ac_env_${ac_var}_set 2559 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2560 eval ac_new_val=\$ac_env_${ac_var}_value 2561 case $ac_old_set,$ac_new_set in 2562 set,) 2563 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2564$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2565 ac_cache_corrupted=: ;; 2566 ,set) 2567 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2568$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2569 ac_cache_corrupted=: ;; 2570 ,);; 2571 *) 2572 if test "x$ac_old_val" != "x$ac_new_val"; then 2573 # differences in whitespace do not lead to failure. 2574 ac_old_val_w=`echo x $ac_old_val` 2575 ac_new_val_w=`echo x $ac_new_val` 2576 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2577 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2578$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2579 ac_cache_corrupted=: 2580 else 2581 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2582$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2583 eval $ac_var=\$ac_old_val 2584 fi 2585 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2586$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2587 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2588$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2589 fi;; 2590 esac 2591 # Pass precious variables to config.status. 2592 if test "$ac_new_set" = set; then 2593 case $ac_new_val in 2594 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2595 *) ac_arg=$ac_var=$ac_new_val ;; 2596 esac 2597 case " $ac_configure_args " in 2598 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2599 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2600 esac 2601 fi 2602done 2603if $ac_cache_corrupted; then 2604 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2605$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2606 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2607$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2608 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2609fi 2610## -------------------- ## 2611## Main body of script. ## 2612## -------------------- ## 2613 2614ac_ext=c 2615ac_cpp='$CPP $CPPFLAGS' 2616ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2617ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2618ac_compiler_gnu=$ac_cv_c_compiler_gnu 2619 2620 2621 2622 2623 2624 2625 2626ac_aux_dir= 2627for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2628 for ac_t in install-sh install.sh shtool; do 2629 if test -f "$ac_dir/$ac_t"; then 2630 ac_aux_dir=$ac_dir 2631 ac_install_sh="$ac_aux_dir/$ac_t -c" 2632 break 2 2633 fi 2634 done 2635done 2636if test -z "$ac_aux_dir"; then 2637 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2638fi 2639 2640# These three variables are undocumented and unsupported, 2641# and are intended to be withdrawn in a future Autoconf release. 2642# They can cause serious problems if a builder's source tree is in a directory 2643# whose full name contains unusual characters. 2644ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2645ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2646ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2647 2648 2649# Make sure we can run config.sub. 2650$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 2651 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 2652 2653{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 2654$as_echo_n "checking build system type... " >&6; } 2655if test "${ac_cv_build+set}" = set; then : 2656 $as_echo_n "(cached) " >&6 2657else 2658 ac_build_alias=$build_alias 2659test "x$ac_build_alias" = x && 2660 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 2661test "x$ac_build_alias" = x && 2662 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 2663ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 2664 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 2665 2666fi 2667{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 2668$as_echo "$ac_cv_build" >&6; } 2669case $ac_cv_build in 2670*-*-*) ;; 2671*) as_fn_error "invalid value of canonical build" "$LINENO" 5;; 2672esac 2673build=$ac_cv_build 2674ac_save_IFS=$IFS; IFS='-' 2675set x $ac_cv_build 2676shift 2677build_cpu=$1 2678build_vendor=$2 2679shift; shift 2680# Remember, the first character of IFS is used to create $*, 2681# except with old shells: 2682build_os=$* 2683IFS=$ac_save_IFS 2684case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 2685 2686 2687{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 2688$as_echo_n "checking host system type... " >&6; } 2689if test "${ac_cv_host+set}" = set; then : 2690 $as_echo_n "(cached) " >&6 2691else 2692 if test "x$host_alias" = x; then 2693 ac_cv_host=$ac_cv_build 2694else 2695 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 2696 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 2697fi 2698 2699fi 2700{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 2701$as_echo "$ac_cv_host" >&6; } 2702case $ac_cv_host in 2703*-*-*) ;; 2704*) as_fn_error "invalid value of canonical host" "$LINENO" 5;; 2705esac 2706host=$ac_cv_host 2707ac_save_IFS=$IFS; IFS='-' 2708set x $ac_cv_host 2709shift 2710host_cpu=$1 2711host_vendor=$2 2712shift; shift 2713# Remember, the first character of IFS is used to create $*, 2714# except with old shells: 2715host_os=$* 2716IFS=$ac_save_IFS 2717case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 2718 2719 2720{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 2721$as_echo_n "checking target system type... " >&6; } 2722if test "${ac_cv_target+set}" = set; then : 2723 $as_echo_n "(cached) " >&6 2724else 2725 if test "x$target_alias" = x; then 2726 ac_cv_target=$ac_cv_host 2727else 2728 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 2729 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 2730fi 2731 2732fi 2733{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 2734$as_echo "$ac_cv_target" >&6; } 2735case $ac_cv_target in 2736*-*-*) ;; 2737*) as_fn_error "invalid value of canonical target" "$LINENO" 5;; 2738esac 2739target=$ac_cv_target 2740ac_save_IFS=$IFS; IFS='-' 2741set x $ac_cv_target 2742shift 2743target_cpu=$1 2744target_vendor=$2 2745shift; shift 2746# Remember, the first character of IFS is used to create $*, 2747# except with old shells: 2748target_os=$* 2749IFS=$ac_save_IFS 2750case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac 2751 2752 2753# The aliases save the names the user supplied, while $host etc. 2754# will get canonicalized. 2755test -n "$target_alias" && 2756 test "$program_prefix$program_suffix$program_transform_name" = \ 2757 NONENONEs,x,x, && 2758 program_prefix=${target_alias}- 2759 2760am__api_version='1.11' 2761 2762# Find a good install program. We prefer a C program (faster), 2763# so one script is as good as another. But avoid the broken or 2764# incompatible versions: 2765# SysV /etc/install, /usr/sbin/install 2766# SunOS /usr/etc/install 2767# IRIX /sbin/install 2768# AIX /bin/install 2769# AmigaOS /C/install, which installs bootblocks on floppy discs 2770# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2771# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2772# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2773# OS/2's system install, which has a completely different semantic 2774# ./install, which can be erroneously created by make from ./install.sh. 2775# Reject install programs that cannot install multiple files. 2776{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2777$as_echo_n "checking for a BSD-compatible install... " >&6; } 2778if test -z "$INSTALL"; then 2779if test "${ac_cv_path_install+set}" = set; then : 2780 $as_echo_n "(cached) " >&6 2781else 2782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2783for as_dir in $PATH 2784do 2785 IFS=$as_save_IFS 2786 test -z "$as_dir" && as_dir=. 2787 # Account for people who put trailing slashes in PATH elements. 2788case $as_dir/ in #(( 2789 ./ | .// | /[cC]/* | \ 2790 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2791 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2792 /usr/ucb/* ) ;; 2793 *) 2794 # OSF1 and SCO ODT 3.0 have their own names for install. 2795 # Don't use installbsd from OSF since it installs stuff as root 2796 # by default. 2797 for ac_prog in ginstall scoinst install; do 2798 for ac_exec_ext in '' $ac_executable_extensions; do 2799 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 2800 if test $ac_prog = install && 2801 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2802 # AIX install. It has an incompatible calling convention. 2803 : 2804 elif test $ac_prog = install && 2805 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2806 # program-specific install script used by HP pwplus--don't use. 2807 : 2808 else 2809 rm -rf conftest.one conftest.two conftest.dir 2810 echo one > conftest.one 2811 echo two > conftest.two 2812 mkdir conftest.dir 2813 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2814 test -s conftest.one && test -s conftest.two && 2815 test -s conftest.dir/conftest.one && 2816 test -s conftest.dir/conftest.two 2817 then 2818 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2819 break 3 2820 fi 2821 fi 2822 fi 2823 done 2824 done 2825 ;; 2826esac 2827 2828 done 2829IFS=$as_save_IFS 2830 2831rm -rf conftest.one conftest.two conftest.dir 2832 2833fi 2834 if test "${ac_cv_path_install+set}" = set; then 2835 INSTALL=$ac_cv_path_install 2836 else 2837 # As a last resort, use the slow shell script. Don't cache a 2838 # value for INSTALL within a source directory, because that will 2839 # break other packages using the cache if that directory is 2840 # removed, or if the value is a relative name. 2841 INSTALL=$ac_install_sh 2842 fi 2843fi 2844{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2845$as_echo "$INSTALL" >&6; } 2846 2847# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2848# It thinks the first close brace ends the variable substitution. 2849test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2850 2851test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2852 2853test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2854 2855{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2856$as_echo_n "checking whether build environment is sane... " >&6; } 2857# Just in case 2858sleep 1 2859echo timestamp > conftest.file 2860# Reject unsafe characters in $srcdir or the absolute working directory 2861# name. Accept space and tab only in the latter. 2862am_lf=' 2863' 2864case `pwd` in 2865 *[\\\"\#\$\&\'\`$am_lf]*) 2866 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;; 2867esac 2868case $srcdir in 2869 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2870 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; 2871esac 2872 2873# Do `set' in a subshell so we don't clobber the current shell's 2874# arguments. Must try -L first in case configure is actually a 2875# symlink; some systems play weird games with the mod time of symlinks 2876# (eg FreeBSD returns the mod time of the symlink's containing 2877# directory). 2878if ( 2879 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2880 if test "$*" = "X"; then 2881 # -L didn't work. 2882 set X `ls -t "$srcdir/configure" conftest.file` 2883 fi 2884 rm -f conftest.file 2885 if test "$*" != "X $srcdir/configure conftest.file" \ 2886 && test "$*" != "X conftest.file $srcdir/configure"; then 2887 2888 # If neither matched, then we have a broken ls. This can happen 2889 # if, for instance, CONFIG_SHELL is bash and it inherits a 2890 # broken ls alias from the environment. This has actually 2891 # happened. Such a system could not be considered "sane". 2892 as_fn_error "ls -t appears to fail. Make sure there is not a broken 2893alias in your environment" "$LINENO" 5 2894 fi 2895 2896 test "$2" = conftest.file 2897 ) 2898then 2899 # Ok. 2900 : 2901else 2902 as_fn_error "newly created file is older than distributed files! 2903Check your system clock" "$LINENO" 5 2904fi 2905{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2906$as_echo "yes" >&6; } 2907test "$program_prefix" != NONE && 2908 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2909# Use a double $ so make ignores it. 2910test "$program_suffix" != NONE && 2911 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2912# Double any \ or $. 2913# By default was `s,x,x', remove it if useless. 2914ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2915program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2916 2917# expand $ac_aux_dir to an absolute path 2918am_aux_dir=`cd $ac_aux_dir && pwd` 2919 2920if test x"${MISSING+set}" != xset; then 2921 case $am_aux_dir in 2922 *\ * | *\ *) 2923 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2924 *) 2925 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2926 esac 2927fi 2928# Use eval to expand $SHELL 2929if eval "$MISSING --run true"; then 2930 am_missing_run="$MISSING --run " 2931else 2932 am_missing_run= 2933 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 2934$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 2935fi 2936 2937if test x"${install_sh}" != xset; then 2938 case $am_aux_dir in 2939 *\ * | *\ *) 2940 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2941 *) 2942 install_sh="\${SHELL} $am_aux_dir/install-sh" 2943 esac 2944fi 2945 2946# Installed binaries are usually stripped using `strip' when the user 2947# run `make install-strip'. However `strip' might not be the right 2948# tool to use in cross-compilation environments, therefore Automake 2949# will honor the `STRIP' environment variable to overrule this program. 2950if test "$cross_compiling" != no; then 2951 if test -n "$ac_tool_prefix"; then 2952 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2953set dummy ${ac_tool_prefix}strip; ac_word=$2 2954{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2955$as_echo_n "checking for $ac_word... " >&6; } 2956if test "${ac_cv_prog_STRIP+set}" = set; then : 2957 $as_echo_n "(cached) " >&6 2958else 2959 if test -n "$STRIP"; then 2960 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2961else 2962as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2963for as_dir in $PATH 2964do 2965 IFS=$as_save_IFS 2966 test -z "$as_dir" && as_dir=. 2967 for ac_exec_ext in '' $ac_executable_extensions; do 2968 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2969 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2970 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2971 break 2 2972 fi 2973done 2974 done 2975IFS=$as_save_IFS 2976 2977fi 2978fi 2979STRIP=$ac_cv_prog_STRIP 2980if test -n "$STRIP"; then 2981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2982$as_echo "$STRIP" >&6; } 2983else 2984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2985$as_echo "no" >&6; } 2986fi 2987 2988 2989fi 2990if test -z "$ac_cv_prog_STRIP"; then 2991 ac_ct_STRIP=$STRIP 2992 # Extract the first word of "strip", so it can be a program name with args. 2993set dummy strip; ac_word=$2 2994{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2995$as_echo_n "checking for $ac_word... " >&6; } 2996if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : 2997 $as_echo_n "(cached) " >&6 2998else 2999 if test -n "$ac_ct_STRIP"; then 3000 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 3001else 3002as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3003for as_dir in $PATH 3004do 3005 IFS=$as_save_IFS 3006 test -z "$as_dir" && as_dir=. 3007 for ac_exec_ext in '' $ac_executable_extensions; do 3008 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3009 ac_cv_prog_ac_ct_STRIP="strip" 3010 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3011 break 2 3012 fi 3013done 3014 done 3015IFS=$as_save_IFS 3016 3017fi 3018fi 3019ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 3020if test -n "$ac_ct_STRIP"; then 3021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 3022$as_echo "$ac_ct_STRIP" >&6; } 3023else 3024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3025$as_echo "no" >&6; } 3026fi 3027 3028 if test "x$ac_ct_STRIP" = x; then 3029 STRIP=":" 3030 else 3031 case $cross_compiling:$ac_tool_warned in 3032yes:) 3033{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3034$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3035ac_tool_warned=yes ;; 3036esac 3037 STRIP=$ac_ct_STRIP 3038 fi 3039else 3040 STRIP="$ac_cv_prog_STRIP" 3041fi 3042 3043fi 3044INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 3045 3046{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 3047$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 3048if test -z "$MKDIR_P"; then 3049 if test "${ac_cv_path_mkdir+set}" = set; then : 3050 $as_echo_n "(cached) " >&6 3051else 3052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3053for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 3054do 3055 IFS=$as_save_IFS 3056 test -z "$as_dir" && as_dir=. 3057 for ac_prog in mkdir gmkdir; do 3058 for ac_exec_ext in '' $ac_executable_extensions; do 3059 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 3060 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 3061 'mkdir (GNU coreutils) '* | \ 3062 'mkdir (coreutils) '* | \ 3063 'mkdir (fileutils) '4.1*) 3064 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 3065 break 3;; 3066 esac 3067 done 3068 done 3069 done 3070IFS=$as_save_IFS 3071 3072fi 3073 3074 if test "${ac_cv_path_mkdir+set}" = set; then 3075 MKDIR_P="$ac_cv_path_mkdir -p" 3076 else 3077 # As a last resort, use the slow shell script. Don't cache a 3078 # value for MKDIR_P within a source directory, because that will 3079 # break other packages using the cache if that directory is 3080 # removed, or if the value is a relative name. 3081 test -d ./--version && rmdir ./--version 3082 MKDIR_P="$ac_install_sh -d" 3083 fi 3084fi 3085{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 3086$as_echo "$MKDIR_P" >&6; } 3087 3088mkdir_p="$MKDIR_P" 3089case $mkdir_p in 3090 [\\/$]* | ?:[\\/]*) ;; 3091 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 3092esac 3093 3094for ac_prog in gawk mawk nawk awk 3095do 3096 # Extract the first word of "$ac_prog", so it can be a program name with args. 3097set dummy $ac_prog; ac_word=$2 3098{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3099$as_echo_n "checking for $ac_word... " >&6; } 3100if test "${ac_cv_prog_AWK+set}" = set; then : 3101 $as_echo_n "(cached) " >&6 3102else 3103 if test -n "$AWK"; then 3104 ac_cv_prog_AWK="$AWK" # Let the user override the test. 3105else 3106as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3107for as_dir in $PATH 3108do 3109 IFS=$as_save_IFS 3110 test -z "$as_dir" && as_dir=. 3111 for ac_exec_ext in '' $ac_executable_extensions; do 3112 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3113 ac_cv_prog_AWK="$ac_prog" 3114 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3115 break 2 3116 fi 3117done 3118 done 3119IFS=$as_save_IFS 3120 3121fi 3122fi 3123AWK=$ac_cv_prog_AWK 3124if test -n "$AWK"; then 3125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 3126$as_echo "$AWK" >&6; } 3127else 3128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3129$as_echo "no" >&6; } 3130fi 3131 3132 3133 test -n "$AWK" && break 3134done 3135 3136{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 3137$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 3138set x ${MAKE-make} 3139ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 3140if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : 3141 $as_echo_n "(cached) " >&6 3142else 3143 cat >conftest.make <<\_ACEOF 3144SHELL = /bin/sh 3145all: 3146 @echo '@@@%%%=$(MAKE)=@@@%%%' 3147_ACEOF 3148# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 3149case `${MAKE-make} -f conftest.make 2>/dev/null` in 3150 *@@@%%%=?*=@@@%%%*) 3151 eval ac_cv_prog_make_${ac_make}_set=yes;; 3152 *) 3153 eval ac_cv_prog_make_${ac_make}_set=no;; 3154esac 3155rm -f conftest.make 3156fi 3157if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 3158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3159$as_echo "yes" >&6; } 3160 SET_MAKE= 3161else 3162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3163$as_echo "no" >&6; } 3164 SET_MAKE="MAKE=${MAKE-make}" 3165fi 3166 3167rm -rf .tst 2>/dev/null 3168mkdir .tst 2>/dev/null 3169if test -d .tst; then 3170 am__leading_dot=. 3171else 3172 am__leading_dot=_ 3173fi 3174rmdir .tst 2>/dev/null 3175 3176if test "`cd $srcdir && pwd`" != "`pwd`"; then 3177 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 3178 # is not polluted with repeated "-I." 3179 am__isrc=' -I$(srcdir)' 3180 # test to see if srcdir already configured 3181 if test -f $srcdir/config.status; then 3182 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 3183 fi 3184fi 3185 3186# test whether we have cygpath 3187if test -z "$CYGPATH_W"; then 3188 if (cygpath --version) >/dev/null 2>/dev/null; then 3189 CYGPATH_W='cygpath -w' 3190 else 3191 CYGPATH_W=echo 3192 fi 3193fi 3194 3195 3196# Define the identity of the package. 3197 PACKAGE='gold' 3198 VERSION='0.1' 3199 3200 3201cat >>confdefs.h <<_ACEOF 3202#define PACKAGE "$PACKAGE" 3203_ACEOF 3204 3205 3206cat >>confdefs.h <<_ACEOF 3207#define VERSION "$VERSION" 3208_ACEOF 3209 3210# Some tools Automake needs. 3211 3212ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 3213 3214 3215AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 3216 3217 3218AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 3219 3220 3221AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 3222 3223 3224MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 3225 3226# We need awk for the "check" target. The system "awk" is bad on 3227# some platforms. 3228# Always define AMTAR for backward compatibility. 3229 3230AMTAR=${AMTAR-"${am_missing_run}tar"} 3231 3232am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 3233 3234 3235 3236 3237 3238 3239ac_config_headers="$ac_config_headers config.h:config.in" 3240 3241 3242# PR 14072 3243 3244 3245 3246# Check whether --with-sysroot was given. 3247if test "${with_sysroot+set}" = set; then : 3248 withval=$with_sysroot; sysroot=$withval 3249else 3250 sysroot=no 3251fi 3252 3253 3254if test "$sysroot" = "yes"; then 3255 sysroot='${exec_prefix}/${target_alias}/sys-root' 3256elif test "$sysroot" = "no"; then 3257 sysroot= 3258fi 3259 3260sysroot_relocatable=0 3261if test -n "$sysroot"; then 3262 case "sysroot" in 3263 "${prefix}" | "${prefix}/"* | \ 3264 "${exec_prefix}" | "${exec_prefix}/"* | \ 3265 '${prefix}' | '${prefix}/'*| \ 3266 '${exec_prefix}' | '${exec_prefix}/'*) 3267 sysroot_relocatable=1 3268 ;; 3269 esac 3270fi 3271 3272 3273cat >>confdefs.h <<_ACEOF 3274#define TARGET_SYSTEM_ROOT "$sysroot" 3275_ACEOF 3276 3277 3278cat >>confdefs.h <<_ACEOF 3279#define TARGET_SYSTEM_ROOT_RELOCATABLE $sysroot_relocatable 3280_ACEOF 3281 3282 3283 3284installed_linker=ld.gold 3285# Check whether --enable-gold was given. 3286if test "${enable_gold+set}" = set; then : 3287 enableval=$enable_gold; case "${enableval}" in 3288 default) 3289 install_as_default=yes 3290 ;; 3291 yes) 3292 if test x${enable_ld} = xno; then 3293 install_as_default=yes 3294 fi 3295 ;; 3296 esac 3297else 3298 install_as_default=no 3299fi 3300 3301 3302 3303 3304# Check whether --enable-threads was given. 3305if test "${enable_threads+set}" = set; then : 3306 enableval=$enable_threads; case "${enableval}" in 3307 yes | "") threads=yes ;; 3308 no) threads=no ;; 3309 *) threads=yes ;; 3310 esac 3311else 3312 threads=no 3313fi 3314 3315if test "$threads" = "yes"; then 3316 3317$as_echo "#define ENABLE_THREADS 1" >>confdefs.h 3318 3319fi 3320 if test "$threads" = "yes"; then 3321 THREADS_TRUE= 3322 THREADS_FALSE='#' 3323else 3324 THREADS_TRUE='#' 3325 THREADS_FALSE= 3326fi 3327 3328 3329# Check whether --enable-plugins was given. 3330if test "${enable_plugins+set}" = set; then : 3331 enableval=$enable_plugins; case "${enableval}" in 3332 yes | "") plugins=yes ;; 3333 no) plugins=no ;; 3334 *) plugins=yes ;; 3335 esac 3336else 3337 plugins=no 3338fi 3339 3340if test "$plugins" = "yes"; then 3341 3342$as_echo "#define ENABLE_PLUGINS 1" >>confdefs.h 3343 3344fi 3345 if test "$plugins" = "yes"; then 3346 PLUGINS_TRUE= 3347 PLUGINS_FALSE='#' 3348else 3349 PLUGINS_TRUE='#' 3350 PLUGINS_FALSE= 3351fi 3352 3353 3354# Check whether --enable-targets was given. 3355if test "${enable_targets+set}" = set; then : 3356 enableval=$enable_targets; case "${enableval}" in 3357 yes | "") 3358 as_fn_error "--enable-targets option must specify target names or 'all'" "$LINENO" 5 3359 ;; 3360 no) 3361 enable_targets= 3362 ;; 3363 *) 3364 enable_targets=$enableval 3365 ;; 3366esac 3367else 3368 # For now, enable all targets by default 3369 enable_targets=all 3370 3371fi 3372 3373 3374# Canonicalize the enabled targets. 3375if test -n "$enable_targets"; then 3376 for targ in `echo $enable_targets | sed -e 's/,/ /g'`; do 3377 result=`$ac_config_sub $targ 2>/dev/null` 3378 if test -n "$result"; then 3379 canon_targets="$canon_targets $result" 3380 else 3381 # Permit unrecognized target names, like "all". 3382 canon_targets="$canon_targets $targ" 3383 fi 3384 done 3385fi 3386 3387# Check whether --enable-test-as-native was given. 3388if test "${enable_test_as_native+set}" = set; then : 3389 enableval=$enable_test_as_native; case "${enableval}" in 3390 no) 3391 test_as_native=no 3392 ;; 3393 *) 3394 test_as_native=yes 3395 ;; 3396esac 3397else 3398 if test "x$target_alias" = "x" -o "x$host_alias" = "x$target_alias"; then 3399 test_as_native=yes 3400else 3401 test_as_native=no 3402fi 3403fi 3404 3405 3406 3407# See which specific instantiations we need. 3408targetobjs= 3409all_targets= 3410default_machine= 3411default_size= 3412default_big_endian= 3413default_osabi=ELFOSABI_NONE 3414targ_32_little= 3415targ_32_big= 3416targ_64_little= 3417targ_64_big= 3418for targ in $target $canon_targets; do 3419 if test "$targ" = "all"; then 3420 targ_32_little=yes 3421 targ_32_big=yes 3422 targ_64_little=yes 3423 targ_64_big=yes 3424 all_targets=yes 3425 else 3426 . ${srcdir}/configure.tgt 3427 3428 if test "$targ_obj" = "UNKNOWN"; then 3429 as_fn_error "\"unsupported target $targ\"" "$LINENO" 5 3430 else 3431 targetobjs="$targetobjs ${targ_obj}.\$(OBJEXT)" 3432 if test "$targ_extra_obj" != ""; then 3433 targetobjs="$targetobjs ${targ_extra_obj}.\$(OBJEXT)" 3434 fi 3435 if test "$targ_size" = "32" -o "$targ_extra_size" = "32"; then 3436 if test "$targ_big_endian" = "true" \ 3437 -o "$targ_extra_big_endian" = "true"; then 3438 targ_32_big=yes 3439 fi 3440 if test "$targ_big_endian" = "false" \ 3441 -o "$targ_extra_big_endian" = "false"; then 3442 targ_32_little=yes 3443 fi 3444 fi 3445 if test "$targ_size" = "64" -o "$targ_extra_size" = "64"; then 3446 if test "$targ_big_endian" = "true" \ 3447 -o "$targ_extra_big_endian" = "true"; then 3448 targ_64_big=yes 3449 fi 3450 if test "$targ_big_endian" = "false" \ 3451 -o "$targ_extra_big_endian" = "false"; then 3452 targ_64_little=yes 3453 fi 3454 fi 3455 3456 if test "$target" = "$targ"; then 3457 default_machine=$targ_machine 3458 default_size=$targ_size 3459 default_big_endian=$targ_big_endian 3460 default_osabi=$targ_osabi 3461 3462 if test "$targ_obj" = "aarch64"; then 3463 DEFAULT_TARGET_AARCH64_TRUE= 3464 DEFAULT_TARGET_AARCH64_FALSE='#' 3465else 3466 DEFAULT_TARGET_AARCH64_TRUE='#' 3467 DEFAULT_TARGET_AARCH64_FALSE= 3468fi 3469 3470 if test "$targ_obj" = "arm"; then 3471 DEFAULT_TARGET_ARM_TRUE= 3472 DEFAULT_TARGET_ARM_FALSE='#' 3473else 3474 DEFAULT_TARGET_ARM_TRUE='#' 3475 DEFAULT_TARGET_ARM_FALSE= 3476fi 3477 3478 if test "$targ_obj" = "i386"; then 3479 DEFAULT_TARGET_I386_TRUE= 3480 DEFAULT_TARGET_I386_FALSE='#' 3481else 3482 DEFAULT_TARGET_I386_TRUE='#' 3483 DEFAULT_TARGET_I386_FALSE= 3484fi 3485 3486 if test "$targ_obj" = "powerpc"; then 3487 DEFAULT_TARGET_POWERPC_TRUE= 3488 DEFAULT_TARGET_POWERPC_FALSE='#' 3489else 3490 DEFAULT_TARGET_POWERPC_TRUE='#' 3491 DEFAULT_TARGET_POWERPC_FALSE= 3492fi 3493 3494 if test "$targ_obj" = "sparc"; then 3495 DEFAULT_TARGET_SPARC_TRUE= 3496 DEFAULT_TARGET_SPARC_FALSE='#' 3497else 3498 DEFAULT_TARGET_SPARC_TRUE='#' 3499 DEFAULT_TARGET_SPARC_FALSE= 3500fi 3501 3502 target_x86_64=no 3503 target_x32=no 3504 if test "$targ_obj" = "x86_64"; then 3505 case "$target" in 3506 x86_64*-linux-gnux32) 3507 target_x32=yes 3508 default_size=32 3509 ;; 3510 *) 3511 target_x86_64=yes 3512 ;; 3513 esac 3514 fi 3515 if test "$target_x86_64" = "yes"; then 3516 DEFAULT_TARGET_X86_64_TRUE= 3517 DEFAULT_TARGET_X86_64_FALSE='#' 3518else 3519 DEFAULT_TARGET_X86_64_TRUE='#' 3520 DEFAULT_TARGET_X86_64_FALSE= 3521fi 3522 3523 if test "$target_x32" = "yes"; then 3524 DEFAULT_TARGET_X32_TRUE= 3525 DEFAULT_TARGET_X32_FALSE='#' 3526else 3527 DEFAULT_TARGET_X32_TRUE='#' 3528 DEFAULT_TARGET_X32_FALSE= 3529fi 3530 3531 if test "$targ_obj" = "tilegx"; then 3532 DEFAULT_TARGET_TILEGX_TRUE= 3533 DEFAULT_TARGET_TILEGX_FALSE='#' 3534else 3535 DEFAULT_TARGET_TILEGX_TRUE='#' 3536 DEFAULT_TARGET_TILEGX_FALSE= 3537fi 3538 3539 if test "$targ_obj" = "mips"; then 3540 DEFAULT_TARGET_MIPS_TRUE= 3541 DEFAULT_TARGET_MIPS_FALSE='#' 3542else 3543 DEFAULT_TARGET_MIPS_TRUE='#' 3544 DEFAULT_TARGET_MIPS_FALSE= 3545fi 3546 3547 DEFAULT_TARGET=${targ_obj} 3548 3549 fi 3550 fi 3551 fi 3552done 3553 3554# Remove any duplicates. 3555to="" 3556for t in $targetobjs; do 3557 case " $to " in 3558 *" $t "*) ;; 3559 *) to="$to $t" ;; 3560 esac 3561done 3562targetobjs=$to 3563 3564if test -n "$targ_32_little"; then 3565 3566$as_echo "#define HAVE_TARGET_32_LITTLE 1" >>confdefs.h 3567 3568fi 3569if test -n "$targ_32_big"; then 3570 3571$as_echo "#define HAVE_TARGET_32_BIG 1" >>confdefs.h 3572 3573fi 3574if test -n "$targ_64_little"; then 3575 3576$as_echo "#define HAVE_TARGET_64_LITTLE 1" >>confdefs.h 3577 3578fi 3579if test -n "$targ_64_big"; then 3580 3581$as_echo "#define HAVE_TARGET_64_BIG 1" >>confdefs.h 3582 3583fi 3584 3585if test -n "$all_targets"; then 3586 TARGETOBJS='$(ALL_TARGETOBJS)' 3587else 3588 TARGETOBJS="$targetobjs" 3589fi 3590 3591 3592 3593cat >>confdefs.h <<_ACEOF 3594#define GOLD_DEFAULT_MACHINE $default_machine 3595_ACEOF 3596 3597 3598cat >>confdefs.h <<_ACEOF 3599#define GOLD_DEFAULT_SIZE $default_size 3600_ACEOF 3601 3602 3603cat >>confdefs.h <<_ACEOF 3604#define GOLD_DEFAULT_BIG_ENDIAN $default_big_endian 3605_ACEOF 3606 3607 3608cat >>confdefs.h <<_ACEOF 3609#define GOLD_DEFAULT_OSABI $default_osabi 3610_ACEOF 3611 3612 3613 3614# Check whether --with-lib-path was given. 3615if test "${with_lib_path+set}" = set; then : 3616 withval=$with_lib_path; case "$withval" in 3617 yes) LIB_PATH='"/lib:/usr/lib"' ;; 3618 no) LIB_PATH='""' ;; 3619 *) LIB_PATH='"'"$withval"'"' ;; 3620 esac 3621else 3622 LIB_PATH='"::DEFAULT::"' 3623fi 3624 3625 3626cat >>confdefs.h <<_ACEOF 3627#define LIB_PATH $LIB_PATH 3628_ACEOF 3629 3630if test "x$target_alias" = "x" -o "x$host_alias" = "x$target_alias"; then 3631 3632$as_echo "#define NATIVE_LINKER 1" >>confdefs.h 3633 3634fi 3635 3636if test -n "$ac_tool_prefix"; then 3637 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args. 3638set dummy ${ac_tool_prefix}nm; ac_word=$2 3639{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3640$as_echo_n "checking for $ac_word... " >&6; } 3641if test "${ac_cv_prog_NM+set}" = set; then : 3642 $as_echo_n "(cached) " >&6 3643else 3644 if test -n "$NM"; then 3645 ac_cv_prog_NM="$NM" # Let the user override the test. 3646else 3647as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3648for as_dir in $PATH 3649do 3650 IFS=$as_save_IFS 3651 test -z "$as_dir" && as_dir=. 3652 for ac_exec_ext in '' $ac_executable_extensions; do 3653 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3654 ac_cv_prog_NM="${ac_tool_prefix}nm" 3655 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3656 break 2 3657 fi 3658done 3659 done 3660IFS=$as_save_IFS 3661 3662fi 3663fi 3664NM=$ac_cv_prog_NM 3665if test -n "$NM"; then 3666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5 3667$as_echo "$NM" >&6; } 3668else 3669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3670$as_echo "no" >&6; } 3671fi 3672 3673 3674fi 3675if test -z "$ac_cv_prog_NM"; then 3676 ac_ct_NM=$NM 3677 # Extract the first word of "nm", so it can be a program name with args. 3678set dummy nm; ac_word=$2 3679{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3680$as_echo_n "checking for $ac_word... " >&6; } 3681if test "${ac_cv_prog_ac_ct_NM+set}" = set; then : 3682 $as_echo_n "(cached) " >&6 3683else 3684 if test -n "$ac_ct_NM"; then 3685 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test. 3686else 3687as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3688for as_dir in $PATH 3689do 3690 IFS=$as_save_IFS 3691 test -z "$as_dir" && as_dir=. 3692 for ac_exec_ext in '' $ac_executable_extensions; do 3693 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3694 ac_cv_prog_ac_ct_NM="nm" 3695 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3696 break 2 3697 fi 3698done 3699 done 3700IFS=$as_save_IFS 3701 3702fi 3703fi 3704ac_ct_NM=$ac_cv_prog_ac_ct_NM 3705if test -n "$ac_ct_NM"; then 3706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5 3707$as_echo "$ac_ct_NM" >&6; } 3708else 3709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3710$as_echo "no" >&6; } 3711fi 3712 3713 if test "x$ac_ct_NM" = x; then 3714 NM="" 3715 else 3716 case $cross_compiling:$ac_tool_warned in 3717yes:) 3718{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3719$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3720ac_tool_warned=yes ;; 3721esac 3722 NM=$ac_ct_NM 3723 fi 3724else 3725 NM="$ac_cv_prog_NM" 3726fi 3727 3728 3729ac_ext=c 3730ac_cpp='$CPP $CPPFLAGS' 3731ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3732ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3733ac_compiler_gnu=$ac_cv_c_compiler_gnu 3734if test -n "$ac_tool_prefix"; then 3735 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 3736set dummy ${ac_tool_prefix}gcc; ac_word=$2 3737{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3738$as_echo_n "checking for $ac_word... " >&6; } 3739if test "${ac_cv_prog_CC+set}" = set; then : 3740 $as_echo_n "(cached) " >&6 3741else 3742 if test -n "$CC"; then 3743 ac_cv_prog_CC="$CC" # Let the user override the test. 3744else 3745as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3746for as_dir in $PATH 3747do 3748 IFS=$as_save_IFS 3749 test -z "$as_dir" && as_dir=. 3750 for ac_exec_ext in '' $ac_executable_extensions; do 3751 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3752 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3753 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3754 break 2 3755 fi 3756done 3757 done 3758IFS=$as_save_IFS 3759 3760fi 3761fi 3762CC=$ac_cv_prog_CC 3763if test -n "$CC"; then 3764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3765$as_echo "$CC" >&6; } 3766else 3767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3768$as_echo "no" >&6; } 3769fi 3770 3771 3772fi 3773if test -z "$ac_cv_prog_CC"; then 3774 ac_ct_CC=$CC 3775 # Extract the first word of "gcc", so it can be a program name with args. 3776set dummy gcc; ac_word=$2 3777{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3778$as_echo_n "checking for $ac_word... " >&6; } 3779if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 3780 $as_echo_n "(cached) " >&6 3781else 3782 if test -n "$ac_ct_CC"; then 3783 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3784else 3785as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3786for as_dir in $PATH 3787do 3788 IFS=$as_save_IFS 3789 test -z "$as_dir" && as_dir=. 3790 for ac_exec_ext in '' $ac_executable_extensions; do 3791 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3792 ac_cv_prog_ac_ct_CC="gcc" 3793 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3794 break 2 3795 fi 3796done 3797 done 3798IFS=$as_save_IFS 3799 3800fi 3801fi 3802ac_ct_CC=$ac_cv_prog_ac_ct_CC 3803if test -n "$ac_ct_CC"; then 3804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3805$as_echo "$ac_ct_CC" >&6; } 3806else 3807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3808$as_echo "no" >&6; } 3809fi 3810 3811 if test "x$ac_ct_CC" = x; then 3812 CC="" 3813 else 3814 case $cross_compiling:$ac_tool_warned in 3815yes:) 3816{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3817$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3818ac_tool_warned=yes ;; 3819esac 3820 CC=$ac_ct_CC 3821 fi 3822else 3823 CC="$ac_cv_prog_CC" 3824fi 3825 3826if test -z "$CC"; then 3827 if test -n "$ac_tool_prefix"; then 3828 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3829set dummy ${ac_tool_prefix}cc; ac_word=$2 3830{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3831$as_echo_n "checking for $ac_word... " >&6; } 3832if test "${ac_cv_prog_CC+set}" = set; then : 3833 $as_echo_n "(cached) " >&6 3834else 3835 if test -n "$CC"; then 3836 ac_cv_prog_CC="$CC" # Let the user override the test. 3837else 3838as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3839for as_dir in $PATH 3840do 3841 IFS=$as_save_IFS 3842 test -z "$as_dir" && as_dir=. 3843 for ac_exec_ext in '' $ac_executable_extensions; do 3844 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3845 ac_cv_prog_CC="${ac_tool_prefix}cc" 3846 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3847 break 2 3848 fi 3849done 3850 done 3851IFS=$as_save_IFS 3852 3853fi 3854fi 3855CC=$ac_cv_prog_CC 3856if test -n "$CC"; then 3857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3858$as_echo "$CC" >&6; } 3859else 3860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3861$as_echo "no" >&6; } 3862fi 3863 3864 3865 fi 3866fi 3867if test -z "$CC"; then 3868 # Extract the first word of "cc", so it can be a program name with args. 3869set dummy cc; ac_word=$2 3870{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3871$as_echo_n "checking for $ac_word... " >&6; } 3872if test "${ac_cv_prog_CC+set}" = set; then : 3873 $as_echo_n "(cached) " >&6 3874else 3875 if test -n "$CC"; then 3876 ac_cv_prog_CC="$CC" # Let the user override the test. 3877else 3878 ac_prog_rejected=no 3879as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3880for as_dir in $PATH 3881do 3882 IFS=$as_save_IFS 3883 test -z "$as_dir" && as_dir=. 3884 for ac_exec_ext in '' $ac_executable_extensions; do 3885 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3886 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3887 ac_prog_rejected=yes 3888 continue 3889 fi 3890 ac_cv_prog_CC="cc" 3891 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3892 break 2 3893 fi 3894done 3895 done 3896IFS=$as_save_IFS 3897 3898if test $ac_prog_rejected = yes; then 3899 # We found a bogon in the path, so make sure we never use it. 3900 set dummy $ac_cv_prog_CC 3901 shift 3902 if test $# != 0; then 3903 # We chose a different compiler from the bogus one. 3904 # However, it has the same basename, so the bogon will be chosen 3905 # first if we set CC to just the basename; use the full file name. 3906 shift 3907 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3908 fi 3909fi 3910fi 3911fi 3912CC=$ac_cv_prog_CC 3913if test -n "$CC"; then 3914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3915$as_echo "$CC" >&6; } 3916else 3917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3918$as_echo "no" >&6; } 3919fi 3920 3921 3922fi 3923if test -z "$CC"; then 3924 if test -n "$ac_tool_prefix"; then 3925 for ac_prog in cl.exe 3926 do 3927 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3928set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3929{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3930$as_echo_n "checking for $ac_word... " >&6; } 3931if test "${ac_cv_prog_CC+set}" = set; then : 3932 $as_echo_n "(cached) " >&6 3933else 3934 if test -n "$CC"; then 3935 ac_cv_prog_CC="$CC" # Let the user override the test. 3936else 3937as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3938for as_dir in $PATH 3939do 3940 IFS=$as_save_IFS 3941 test -z "$as_dir" && as_dir=. 3942 for ac_exec_ext in '' $ac_executable_extensions; do 3943 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3944 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3945 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3946 break 2 3947 fi 3948done 3949 done 3950IFS=$as_save_IFS 3951 3952fi 3953fi 3954CC=$ac_cv_prog_CC 3955if test -n "$CC"; then 3956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3957$as_echo "$CC" >&6; } 3958else 3959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3960$as_echo "no" >&6; } 3961fi 3962 3963 3964 test -n "$CC" && break 3965 done 3966fi 3967if test -z "$CC"; then 3968 ac_ct_CC=$CC 3969 for ac_prog in cl.exe 3970do 3971 # Extract the first word of "$ac_prog", so it can be a program name with args. 3972set dummy $ac_prog; ac_word=$2 3973{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3974$as_echo_n "checking for $ac_word... " >&6; } 3975if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 3976 $as_echo_n "(cached) " >&6 3977else 3978 if test -n "$ac_ct_CC"; then 3979 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3980else 3981as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3982for as_dir in $PATH 3983do 3984 IFS=$as_save_IFS 3985 test -z "$as_dir" && as_dir=. 3986 for ac_exec_ext in '' $ac_executable_extensions; do 3987 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3988 ac_cv_prog_ac_ct_CC="$ac_prog" 3989 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3990 break 2 3991 fi 3992done 3993 done 3994IFS=$as_save_IFS 3995 3996fi 3997fi 3998ac_ct_CC=$ac_cv_prog_ac_ct_CC 3999if test -n "$ac_ct_CC"; then 4000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 4001$as_echo "$ac_ct_CC" >&6; } 4002else 4003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4004$as_echo "no" >&6; } 4005fi 4006 4007 4008 test -n "$ac_ct_CC" && break 4009done 4010 4011 if test "x$ac_ct_CC" = x; then 4012 CC="" 4013 else 4014 case $cross_compiling:$ac_tool_warned in 4015yes:) 4016{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4017$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4018ac_tool_warned=yes ;; 4019esac 4020 CC=$ac_ct_CC 4021 fi 4022fi 4023 4024fi 4025 4026 4027test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4028$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4029as_fn_error "no acceptable C compiler found in \$PATH 4030See \`config.log' for more details." "$LINENO" 5; } 4031 4032# Provide some information about the compiler. 4033$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 4034set X $ac_compile 4035ac_compiler=$2 4036for ac_option in --version -v -V -qversion; do 4037 { { ac_try="$ac_compiler $ac_option >&5" 4038case "(($ac_try" in 4039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4040 *) ac_try_echo=$ac_try;; 4041esac 4042eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4043$as_echo "$ac_try_echo"; } >&5 4044 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 4045 ac_status=$? 4046 if test -s conftest.err; then 4047 sed '10a\ 4048... rest of stderr output deleted ... 4049 10q' conftest.err >conftest.er1 4050 cat conftest.er1 >&5 4051 rm -f conftest.er1 conftest.err 4052 fi 4053 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4054 test $ac_status = 0; } 4055done 4056 4057cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4058/* end confdefs.h. */ 4059 4060int 4061main () 4062{ 4063 4064 ; 4065 return 0; 4066} 4067_ACEOF 4068ac_clean_files_save=$ac_clean_files 4069ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out" 4070# Try to create an executable without -o first, disregard a.out. 4071# It will help us diagnose broken compilers, and finding out an intuition 4072# of exeext. 4073{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 4074$as_echo_n "checking for C compiler default output file name... " >&6; } 4075ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 4076 4077# The possible output files: 4078ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 4079 4080ac_rmfiles= 4081for ac_file in $ac_files 4082do 4083 case $ac_file in 4084 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 4085 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 4086 esac 4087done 4088rm -f $ac_rmfiles 4089 4090if { { ac_try="$ac_link_default" 4091case "(($ac_try" in 4092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4093 *) ac_try_echo=$ac_try;; 4094esac 4095eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4096$as_echo "$ac_try_echo"; } >&5 4097 (eval "$ac_link_default") 2>&5 4098 ac_status=$? 4099 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4100 test $ac_status = 0; }; then : 4101 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 4102# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 4103# in a Makefile. We should not override ac_cv_exeext if it was cached, 4104# so that the user can short-circuit this test for compilers unknown to 4105# Autoconf. 4106for ac_file in $ac_files '' 4107do 4108 test -f "$ac_file" || continue 4109 case $ac_file in 4110 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 4111 ;; 4112 [ab].out ) 4113 # We found the default executable, but exeext='' is most 4114 # certainly right. 4115 break;; 4116 *.* ) 4117 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 4118 then :; else 4119 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 4120 fi 4121 # We set ac_cv_exeext here because the later test for it is not 4122 # safe: cross compilers may not add the suffix if given an `-o' 4123 # argument, so we may need to know it at that point already. 4124 # Even if this section looks crufty: it has the advantage of 4125 # actually working. 4126 break;; 4127 * ) 4128 break;; 4129 esac 4130done 4131test "$ac_cv_exeext" = no && ac_cv_exeext= 4132 4133else 4134 ac_file='' 4135fi 4136{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 4137$as_echo "$ac_file" >&6; } 4138if test -z "$ac_file"; then : 4139 $as_echo "$as_me: failed program was:" >&5 4140sed 's/^/| /' conftest.$ac_ext >&5 4141 4142{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4143$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4144{ as_fn_set_status 77 4145as_fn_error "C compiler cannot create executables 4146See \`config.log' for more details." "$LINENO" 5; }; } 4147fi 4148ac_exeext=$ac_cv_exeext 4149 4150# Check that the compiler produces executables we can run. If not, either 4151# the compiler is broken, or we cross compile. 4152{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 4153$as_echo_n "checking whether the C compiler works... " >&6; } 4154# If not cross compiling, check that we can run a simple program. 4155if test "$cross_compiling" != yes; then 4156 if { ac_try='./$ac_file' 4157 { { case "(($ac_try" in 4158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4159 *) ac_try_echo=$ac_try;; 4160esac 4161eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4162$as_echo "$ac_try_echo"; } >&5 4163 (eval "$ac_try") 2>&5 4164 ac_status=$? 4165 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4166 test $ac_status = 0; }; }; then 4167 cross_compiling=no 4168 else 4169 if test "$cross_compiling" = maybe; then 4170 cross_compiling=yes 4171 else 4172 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4173$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4174as_fn_error "cannot run C compiled programs. 4175If you meant to cross compile, use \`--host'. 4176See \`config.log' for more details." "$LINENO" 5; } 4177 fi 4178 fi 4179fi 4180{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4181$as_echo "yes" >&6; } 4182 4183rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out 4184ac_clean_files=$ac_clean_files_save 4185# Check that the compiler produces executables we can run. If not, either 4186# the compiler is broken, or we cross compile. 4187{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 4188$as_echo_n "checking whether we are cross compiling... " >&6; } 4189{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 4190$as_echo "$cross_compiling" >&6; } 4191 4192{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 4193$as_echo_n "checking for suffix of executables... " >&6; } 4194if { { ac_try="$ac_link" 4195case "(($ac_try" in 4196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4197 *) ac_try_echo=$ac_try;; 4198esac 4199eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4200$as_echo "$ac_try_echo"; } >&5 4201 (eval "$ac_link") 2>&5 4202 ac_status=$? 4203 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4204 test $ac_status = 0; }; then : 4205 # If both `conftest.exe' and `conftest' are `present' (well, observable) 4206# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 4207# work properly (i.e., refer to `conftest.exe'), while it won't with 4208# `rm'. 4209for ac_file in conftest.exe conftest conftest.*; do 4210 test -f "$ac_file" || continue 4211 case $ac_file in 4212 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 4213 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 4214 break;; 4215 * ) break;; 4216 esac 4217done 4218else 4219 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4220$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4221as_fn_error "cannot compute suffix of executables: cannot compile and link 4222See \`config.log' for more details." "$LINENO" 5; } 4223fi 4224rm -f conftest$ac_cv_exeext 4225{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 4226$as_echo "$ac_cv_exeext" >&6; } 4227 4228rm -f conftest.$ac_ext 4229EXEEXT=$ac_cv_exeext 4230ac_exeext=$EXEEXT 4231{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 4232$as_echo_n "checking for suffix of object files... " >&6; } 4233if test "${ac_cv_objext+set}" = set; then : 4234 $as_echo_n "(cached) " >&6 4235else 4236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4237/* end confdefs.h. */ 4238 4239int 4240main () 4241{ 4242 4243 ; 4244 return 0; 4245} 4246_ACEOF 4247rm -f conftest.o conftest.obj 4248if { { ac_try="$ac_compile" 4249case "(($ac_try" in 4250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4251 *) ac_try_echo=$ac_try;; 4252esac 4253eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4254$as_echo "$ac_try_echo"; } >&5 4255 (eval "$ac_compile") 2>&5 4256 ac_status=$? 4257 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4258 test $ac_status = 0; }; then : 4259 for ac_file in conftest.o conftest.obj conftest.*; do 4260 test -f "$ac_file" || continue; 4261 case $ac_file in 4262 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 4263 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 4264 break;; 4265 esac 4266done 4267else 4268 $as_echo "$as_me: failed program was:" >&5 4269sed 's/^/| /' conftest.$ac_ext >&5 4270 4271{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4272$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4273as_fn_error "cannot compute suffix of object files: cannot compile 4274See \`config.log' for more details." "$LINENO" 5; } 4275fi 4276rm -f conftest.$ac_cv_objext conftest.$ac_ext 4277fi 4278{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 4279$as_echo "$ac_cv_objext" >&6; } 4280OBJEXT=$ac_cv_objext 4281ac_objext=$OBJEXT 4282{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 4283$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 4284if test "${ac_cv_c_compiler_gnu+set}" = set; then : 4285 $as_echo_n "(cached) " >&6 4286else 4287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4288/* end confdefs.h. */ 4289 4290int 4291main () 4292{ 4293#ifndef __GNUC__ 4294 choke me 4295#endif 4296 4297 ; 4298 return 0; 4299} 4300_ACEOF 4301if ac_fn_c_try_compile "$LINENO"; then : 4302 ac_compiler_gnu=yes 4303else 4304 ac_compiler_gnu=no 4305fi 4306rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4307ac_cv_c_compiler_gnu=$ac_compiler_gnu 4308 4309fi 4310{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 4311$as_echo "$ac_cv_c_compiler_gnu" >&6; } 4312if test $ac_compiler_gnu = yes; then 4313 GCC=yes 4314else 4315 GCC= 4316fi 4317ac_test_CFLAGS=${CFLAGS+set} 4318ac_save_CFLAGS=$CFLAGS 4319{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 4320$as_echo_n "checking whether $CC accepts -g... " >&6; } 4321if test "${ac_cv_prog_cc_g+set}" = set; then : 4322 $as_echo_n "(cached) " >&6 4323else 4324 ac_save_c_werror_flag=$ac_c_werror_flag 4325 ac_c_werror_flag=yes 4326 ac_cv_prog_cc_g=no 4327 CFLAGS="-g" 4328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4329/* end confdefs.h. */ 4330 4331int 4332main () 4333{ 4334 4335 ; 4336 return 0; 4337} 4338_ACEOF 4339if ac_fn_c_try_compile "$LINENO"; then : 4340 ac_cv_prog_cc_g=yes 4341else 4342 CFLAGS="" 4343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4344/* end confdefs.h. */ 4345 4346int 4347main () 4348{ 4349 4350 ; 4351 return 0; 4352} 4353_ACEOF 4354if ac_fn_c_try_compile "$LINENO"; then : 4355 4356else 4357 ac_c_werror_flag=$ac_save_c_werror_flag 4358 CFLAGS="-g" 4359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4360/* end confdefs.h. */ 4361 4362int 4363main () 4364{ 4365 4366 ; 4367 return 0; 4368} 4369_ACEOF 4370if ac_fn_c_try_compile "$LINENO"; then : 4371 ac_cv_prog_cc_g=yes 4372fi 4373rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4374fi 4375rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4376fi 4377rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4378 ac_c_werror_flag=$ac_save_c_werror_flag 4379fi 4380{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 4381$as_echo "$ac_cv_prog_cc_g" >&6; } 4382if test "$ac_test_CFLAGS" = set; then 4383 CFLAGS=$ac_save_CFLAGS 4384elif test $ac_cv_prog_cc_g = yes; then 4385 if test "$GCC" = yes; then 4386 CFLAGS="-g -O2" 4387 else 4388 CFLAGS="-g" 4389 fi 4390else 4391 if test "$GCC" = yes; then 4392 CFLAGS="-O2" 4393 else 4394 CFLAGS= 4395 fi 4396fi 4397{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 4398$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 4399if test "${ac_cv_prog_cc_c89+set}" = set; then : 4400 $as_echo_n "(cached) " >&6 4401else 4402 ac_cv_prog_cc_c89=no 4403ac_save_CC=$CC 4404cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4405/* end confdefs.h. */ 4406#include <stdarg.h> 4407#include <stdio.h> 4408#include <sys/types.h> 4409#include <sys/stat.h> 4410/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 4411struct buf { int x; }; 4412FILE * (*rcsopen) (struct buf *, struct stat *, int); 4413static char *e (p, i) 4414 char **p; 4415 int i; 4416{ 4417 return p[i]; 4418} 4419static char *f (char * (*g) (char **, int), char **p, ...) 4420{ 4421 char *s; 4422 va_list v; 4423 va_start (v,p); 4424 s = g (p, va_arg (v,int)); 4425 va_end (v); 4426 return s; 4427} 4428 4429/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 4430 function prototypes and stuff, but not '\xHH' hex character constants. 4431 These don't provoke an error unfortunately, instead are silently treated 4432 as 'x'. The following induces an error, until -std is added to get 4433 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 4434 array size at least. It's necessary to write '\x00'==0 to get something 4435 that's true only with -std. */ 4436int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 4437 4438/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 4439 inside strings and character constants. */ 4440#define FOO(x) 'x' 4441int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 4442 4443int test (int i, double x); 4444struct s1 {int (*f) (int a);}; 4445struct s2 {int (*f) (double a);}; 4446int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 4447int argc; 4448char **argv; 4449int 4450main () 4451{ 4452return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 4453 ; 4454 return 0; 4455} 4456_ACEOF 4457for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 4458 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 4459do 4460 CC="$ac_save_CC $ac_arg" 4461 if ac_fn_c_try_compile "$LINENO"; then : 4462 ac_cv_prog_cc_c89=$ac_arg 4463fi 4464rm -f core conftest.err conftest.$ac_objext 4465 test "x$ac_cv_prog_cc_c89" != "xno" && break 4466done 4467rm -f conftest.$ac_ext 4468CC=$ac_save_CC 4469 4470fi 4471# AC_CACHE_VAL 4472case "x$ac_cv_prog_cc_c89" in 4473 x) 4474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4475$as_echo "none needed" >&6; } ;; 4476 xno) 4477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4478$as_echo "unsupported" >&6; } ;; 4479 *) 4480 CC="$CC $ac_cv_prog_cc_c89" 4481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 4482$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 4483esac 4484if test "x$ac_cv_prog_cc_c89" != xno; then : 4485 4486fi 4487 4488ac_ext=c 4489ac_cpp='$CPP $CPPFLAGS' 4490ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4491ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4492ac_compiler_gnu=$ac_cv_c_compiler_gnu 4493DEPDIR="${am__leading_dot}deps" 4494 4495ac_config_commands="$ac_config_commands depfiles" 4496 4497 4498am_make=${MAKE-make} 4499cat > confinc << 'END' 4500am__doit: 4501 @echo this is the am__doit target 4502.PHONY: am__doit 4503END 4504# If we don't find an include directive, just comment out the code. 4505{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 4506$as_echo_n "checking for style of include used by $am_make... " >&6; } 4507am__include="#" 4508am__quote= 4509_am_result=none 4510# First try GNU make style include. 4511echo "include confinc" > confmf 4512# Ignore all kinds of additional output from `make'. 4513case `$am_make -s -f confmf 2> /dev/null` in #( 4514*the\ am__doit\ target*) 4515 am__include=include 4516 am__quote= 4517 _am_result=GNU 4518 ;; 4519esac 4520# Now try BSD make style include. 4521if test "$am__include" = "#"; then 4522 echo '.include "confinc"' > confmf 4523 case `$am_make -s -f confmf 2> /dev/null` in #( 4524 *the\ am__doit\ target*) 4525 am__include=.include 4526 am__quote="\"" 4527 _am_result=BSD 4528 ;; 4529 esac 4530fi 4531 4532 4533{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 4534$as_echo "$_am_result" >&6; } 4535rm -f confinc confmf 4536 4537# Check whether --enable-dependency-tracking was given. 4538if test "${enable_dependency_tracking+set}" = set; then : 4539 enableval=$enable_dependency_tracking; 4540fi 4541 4542if test "x$enable_dependency_tracking" != xno; then 4543 am_depcomp="$ac_aux_dir/depcomp" 4544 AMDEPBACKSLASH='\' 4545fi 4546 if test "x$enable_dependency_tracking" != xno; then 4547 AMDEP_TRUE= 4548 AMDEP_FALSE='#' 4549else 4550 AMDEP_TRUE='#' 4551 AMDEP_FALSE= 4552fi 4553 4554 4555 4556depcc="$CC" am_compiler_list= 4557 4558{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 4559$as_echo_n "checking dependency style of $depcc... " >&6; } 4560if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : 4561 $as_echo_n "(cached) " >&6 4562else 4563 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 4564 # We make a subdir and do the tests there. Otherwise we can end up 4565 # making bogus files that we don't know about and never remove. For 4566 # instance it was reported that on HP-UX the gcc test will end up 4567 # making a dummy file named `D' -- because `-MD' means `put the output 4568 # in D'. 4569 mkdir conftest.dir 4570 # Copy depcomp to subdir because otherwise we won't find it if we're 4571 # using a relative directory. 4572 cp "$am_depcomp" conftest.dir 4573 cd conftest.dir 4574 # We will build objects and dependencies in a subdirectory because 4575 # it helps to detect inapplicable dependency modes. For instance 4576 # both Tru64's cc and ICC support -MD to output dependencies as a 4577 # side effect of compilation, but ICC will put the dependencies in 4578 # the current directory while Tru64 will put them in the object 4579 # directory. 4580 mkdir sub 4581 4582 am_cv_CC_dependencies_compiler_type=none 4583 if test "$am_compiler_list" = ""; then 4584 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 4585 fi 4586 am__universal=false 4587 case " $depcc " in #( 4588 *\ -arch\ *\ -arch\ *) am__universal=true ;; 4589 esac 4590 4591 for depmode in $am_compiler_list; do 4592 # Setup a source with many dependencies, because some compilers 4593 # like to wrap large dependency lists on column 80 (with \), and 4594 # we should not choose a depcomp mode which is confused by this. 4595 # 4596 # We need to recreate these files for each test, as the compiler may 4597 # overwrite some of them when testing with obscure command lines. 4598 # This happens at least with the AIX C compiler. 4599 : > sub/conftest.c 4600 for i in 1 2 3 4 5 6; do 4601 echo '#include "conftst'$i'.h"' >> sub/conftest.c 4602 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 4603 # Solaris 8's {/usr,}/bin/sh. 4604 touch sub/conftst$i.h 4605 done 4606 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 4607 4608 # We check with `-c' and `-o' for the sake of the "dashmstdout" 4609 # mode. It turns out that the SunPro C++ compiler does not properly 4610 # handle `-M -o', and we need to detect this. Also, some Intel 4611 # versions had trouble with output in subdirs 4612 am__obj=sub/conftest.${OBJEXT-o} 4613 am__minus_obj="-o $am__obj" 4614 case $depmode in 4615 gcc) 4616 # This depmode causes a compiler race in universal mode. 4617 test "$am__universal" = false || continue 4618 ;; 4619 nosideeffect) 4620 # after this tag, mechanisms are not by side-effect, so they'll 4621 # only be used when explicitly requested 4622 if test "x$enable_dependency_tracking" = xyes; then 4623 continue 4624 else 4625 break 4626 fi 4627 ;; 4628 msvisualcpp | msvcmsys) 4629 # This compiler won't grok `-c -o', but also, the minuso test has 4630 # not run yet. These depmodes are late enough in the game, and 4631 # so weak that their functioning should not be impacted. 4632 am__obj=conftest.${OBJEXT-o} 4633 am__minus_obj= 4634 ;; 4635 none) break ;; 4636 esac 4637 if depmode=$depmode \ 4638 source=sub/conftest.c object=$am__obj \ 4639 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4640 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 4641 >/dev/null 2>conftest.err && 4642 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 4643 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 4644 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 4645 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4646 # icc doesn't choke on unknown options, it will just issue warnings 4647 # or remarks (even with -Werror). So we grep stderr for any message 4648 # that says an option was ignored or not supported. 4649 # When given -MP, icc 7.0 and 7.1 complain thusly: 4650 # icc: Command line warning: ignoring option '-M'; no argument required 4651 # The diagnosis changed in icc 8.0: 4652 # icc: Command line remark: option '-MP' not supported 4653 if (grep 'ignoring option' conftest.err || 4654 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 4655 am_cv_CC_dependencies_compiler_type=$depmode 4656 break 4657 fi 4658 fi 4659 done 4660 4661 cd .. 4662 rm -rf conftest.dir 4663else 4664 am_cv_CC_dependencies_compiler_type=none 4665fi 4666 4667fi 4668{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 4669$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 4670CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 4671 4672 if 4673 test "x$enable_dependency_tracking" != xno \ 4674 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 4675 am__fastdepCC_TRUE= 4676 am__fastdepCC_FALSE='#' 4677else 4678 am__fastdepCC_TRUE='#' 4679 am__fastdepCC_FALSE= 4680fi 4681 4682 4683ac_ext=cpp 4684ac_cpp='$CXXCPP $CPPFLAGS' 4685ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4686ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4687ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 4688if test -z "$CXX"; then 4689 if test -n "$CCC"; then 4690 CXX=$CCC 4691 else 4692 if test -n "$ac_tool_prefix"; then 4693 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 4694 do 4695 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4696set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4697{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4698$as_echo_n "checking for $ac_word... " >&6; } 4699if test "${ac_cv_prog_CXX+set}" = set; then : 4700 $as_echo_n "(cached) " >&6 4701else 4702 if test -n "$CXX"; then 4703 ac_cv_prog_CXX="$CXX" # Let the user override the test. 4704else 4705as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4706for as_dir in $PATH 4707do 4708 IFS=$as_save_IFS 4709 test -z "$as_dir" && as_dir=. 4710 for ac_exec_ext in '' $ac_executable_extensions; do 4711 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4712 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 4713 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4714 break 2 4715 fi 4716done 4717 done 4718IFS=$as_save_IFS 4719 4720fi 4721fi 4722CXX=$ac_cv_prog_CXX 4723if test -n "$CXX"; then 4724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 4725$as_echo "$CXX" >&6; } 4726else 4727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4728$as_echo "no" >&6; } 4729fi 4730 4731 4732 test -n "$CXX" && break 4733 done 4734fi 4735if test -z "$CXX"; then 4736 ac_ct_CXX=$CXX 4737 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 4738do 4739 # Extract the first word of "$ac_prog", so it can be a program name with args. 4740set dummy $ac_prog; ac_word=$2 4741{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4742$as_echo_n "checking for $ac_word... " >&6; } 4743if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then : 4744 $as_echo_n "(cached) " >&6 4745else 4746 if test -n "$ac_ct_CXX"; then 4747 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 4748else 4749as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4750for as_dir in $PATH 4751do 4752 IFS=$as_save_IFS 4753 test -z "$as_dir" && as_dir=. 4754 for ac_exec_ext in '' $ac_executable_extensions; do 4755 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4756 ac_cv_prog_ac_ct_CXX="$ac_prog" 4757 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4758 break 2 4759 fi 4760done 4761 done 4762IFS=$as_save_IFS 4763 4764fi 4765fi 4766ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 4767if test -n "$ac_ct_CXX"; then 4768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 4769$as_echo "$ac_ct_CXX" >&6; } 4770else 4771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4772$as_echo "no" >&6; } 4773fi 4774 4775 4776 test -n "$ac_ct_CXX" && break 4777done 4778 4779 if test "x$ac_ct_CXX" = x; then 4780 CXX="g++" 4781 else 4782 case $cross_compiling:$ac_tool_warned in 4783yes:) 4784{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4785$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4786ac_tool_warned=yes ;; 4787esac 4788 CXX=$ac_ct_CXX 4789 fi 4790fi 4791 4792 fi 4793fi 4794# Provide some information about the compiler. 4795$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 4796set X $ac_compile 4797ac_compiler=$2 4798for ac_option in --version -v -V -qversion; do 4799 { { ac_try="$ac_compiler $ac_option >&5" 4800case "(($ac_try" in 4801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4802 *) ac_try_echo=$ac_try;; 4803esac 4804eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4805$as_echo "$ac_try_echo"; } >&5 4806 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 4807 ac_status=$? 4808 if test -s conftest.err; then 4809 sed '10a\ 4810... rest of stderr output deleted ... 4811 10q' conftest.err >conftest.er1 4812 cat conftest.er1 >&5 4813 rm -f conftest.er1 conftest.err 4814 fi 4815 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4816 test $ac_status = 0; } 4817done 4818 4819{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 4820$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 4821if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : 4822 $as_echo_n "(cached) " >&6 4823else 4824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4825/* end confdefs.h. */ 4826 4827int 4828main () 4829{ 4830#ifndef __GNUC__ 4831 choke me 4832#endif 4833 4834 ; 4835 return 0; 4836} 4837_ACEOF 4838if ac_fn_cxx_try_compile "$LINENO"; then : 4839 ac_compiler_gnu=yes 4840else 4841 ac_compiler_gnu=no 4842fi 4843rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4844ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 4845 4846fi 4847{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 4848$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 4849if test $ac_compiler_gnu = yes; then 4850 GXX=yes 4851else 4852 GXX= 4853fi 4854ac_test_CXXFLAGS=${CXXFLAGS+set} 4855ac_save_CXXFLAGS=$CXXFLAGS 4856{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 4857$as_echo_n "checking whether $CXX accepts -g... " >&6; } 4858if test "${ac_cv_prog_cxx_g+set}" = set; then : 4859 $as_echo_n "(cached) " >&6 4860else 4861 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 4862 ac_cxx_werror_flag=yes 4863 ac_cv_prog_cxx_g=no 4864 CXXFLAGS="-g" 4865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4866/* end confdefs.h. */ 4867 4868int 4869main () 4870{ 4871 4872 ; 4873 return 0; 4874} 4875_ACEOF 4876if ac_fn_cxx_try_compile "$LINENO"; then : 4877 ac_cv_prog_cxx_g=yes 4878else 4879 CXXFLAGS="" 4880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4881/* end confdefs.h. */ 4882 4883int 4884main () 4885{ 4886 4887 ; 4888 return 0; 4889} 4890_ACEOF 4891if ac_fn_cxx_try_compile "$LINENO"; then : 4892 4893else 4894 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 4895 CXXFLAGS="-g" 4896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4897/* end confdefs.h. */ 4898 4899int 4900main () 4901{ 4902 4903 ; 4904 return 0; 4905} 4906_ACEOF 4907if ac_fn_cxx_try_compile "$LINENO"; then : 4908 ac_cv_prog_cxx_g=yes 4909fi 4910rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4911fi 4912rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4913fi 4914rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4915 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 4916fi 4917{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 4918$as_echo "$ac_cv_prog_cxx_g" >&6; } 4919if test "$ac_test_CXXFLAGS" = set; then 4920 CXXFLAGS=$ac_save_CXXFLAGS 4921elif test $ac_cv_prog_cxx_g = yes; then 4922 if test "$GXX" = yes; then 4923 CXXFLAGS="-g -O2" 4924 else 4925 CXXFLAGS="-g" 4926 fi 4927else 4928 if test "$GXX" = yes; then 4929 CXXFLAGS="-O2" 4930 else 4931 CXXFLAGS= 4932 fi 4933fi 4934ac_ext=c 4935ac_cpp='$CPP $CPPFLAGS' 4936ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4937ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4938ac_compiler_gnu=$ac_cv_c_compiler_gnu 4939 4940depcc="$CXX" am_compiler_list= 4941 4942{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 4943$as_echo_n "checking dependency style of $depcc... " >&6; } 4944if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then : 4945 $as_echo_n "(cached) " >&6 4946else 4947 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 4948 # We make a subdir and do the tests there. Otherwise we can end up 4949 # making bogus files that we don't know about and never remove. For 4950 # instance it was reported that on HP-UX the gcc test will end up 4951 # making a dummy file named `D' -- because `-MD' means `put the output 4952 # in D'. 4953 mkdir conftest.dir 4954 # Copy depcomp to subdir because otherwise we won't find it if we're 4955 # using a relative directory. 4956 cp "$am_depcomp" conftest.dir 4957 cd conftest.dir 4958 # We will build objects and dependencies in a subdirectory because 4959 # it helps to detect inapplicable dependency modes. For instance 4960 # both Tru64's cc and ICC support -MD to output dependencies as a 4961 # side effect of compilation, but ICC will put the dependencies in 4962 # the current directory while Tru64 will put them in the object 4963 # directory. 4964 mkdir sub 4965 4966 am_cv_CXX_dependencies_compiler_type=none 4967 if test "$am_compiler_list" = ""; then 4968 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 4969 fi 4970 am__universal=false 4971 case " $depcc " in #( 4972 *\ -arch\ *\ -arch\ *) am__universal=true ;; 4973 esac 4974 4975 for depmode in $am_compiler_list; do 4976 # Setup a source with many dependencies, because some compilers 4977 # like to wrap large dependency lists on column 80 (with \), and 4978 # we should not choose a depcomp mode which is confused by this. 4979 # 4980 # We need to recreate these files for each test, as the compiler may 4981 # overwrite some of them when testing with obscure command lines. 4982 # This happens at least with the AIX C compiler. 4983 : > sub/conftest.c 4984 for i in 1 2 3 4 5 6; do 4985 echo '#include "conftst'$i'.h"' >> sub/conftest.c 4986 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 4987 # Solaris 8's {/usr,}/bin/sh. 4988 touch sub/conftst$i.h 4989 done 4990 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 4991 4992 # We check with `-c' and `-o' for the sake of the "dashmstdout" 4993 # mode. It turns out that the SunPro C++ compiler does not properly 4994 # handle `-M -o', and we need to detect this. Also, some Intel 4995 # versions had trouble with output in subdirs 4996 am__obj=sub/conftest.${OBJEXT-o} 4997 am__minus_obj="-o $am__obj" 4998 case $depmode in 4999 gcc) 5000 # This depmode causes a compiler race in universal mode. 5001 test "$am__universal" = false || continue 5002 ;; 5003 nosideeffect) 5004 # after this tag, mechanisms are not by side-effect, so they'll 5005 # only be used when explicitly requested 5006 if test "x$enable_dependency_tracking" = xyes; then 5007 continue 5008 else 5009 break 5010 fi 5011 ;; 5012 msvisualcpp | msvcmsys) 5013 # This compiler won't grok `-c -o', but also, the minuso test has 5014 # not run yet. These depmodes are late enough in the game, and 5015 # so weak that their functioning should not be impacted. 5016 am__obj=conftest.${OBJEXT-o} 5017 am__minus_obj= 5018 ;; 5019 none) break ;; 5020 esac 5021 if depmode=$depmode \ 5022 source=sub/conftest.c object=$am__obj \ 5023 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 5024 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 5025 >/dev/null 2>conftest.err && 5026 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 5027 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 5028 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 5029 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 5030 # icc doesn't choke on unknown options, it will just issue warnings 5031 # or remarks (even with -Werror). So we grep stderr for any message 5032 # that says an option was ignored or not supported. 5033 # When given -MP, icc 7.0 and 7.1 complain thusly: 5034 # icc: Command line warning: ignoring option '-M'; no argument required 5035 # The diagnosis changed in icc 8.0: 5036 # icc: Command line remark: option '-MP' not supported 5037 if (grep 'ignoring option' conftest.err || 5038 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 5039 am_cv_CXX_dependencies_compiler_type=$depmode 5040 break 5041 fi 5042 fi 5043 done 5044 5045 cd .. 5046 rm -rf conftest.dir 5047else 5048 am_cv_CXX_dependencies_compiler_type=none 5049fi 5050 5051fi 5052{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 5053$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } 5054CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type 5055 5056 if 5057 test "x$enable_dependency_tracking" != xno \ 5058 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then 5059 am__fastdepCXX_TRUE= 5060 am__fastdepCXX_FALSE='#' 5061else 5062 am__fastdepCXX_TRUE='#' 5063 am__fastdepCXX_FALSE= 5064fi 5065 5066 5067for ac_prog in 'bison -y' byacc 5068do 5069 # Extract the first word of "$ac_prog", so it can be a program name with args. 5070set dummy $ac_prog; ac_word=$2 5071{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5072$as_echo_n "checking for $ac_word... " >&6; } 5073if test "${ac_cv_prog_YACC+set}" = set; then : 5074 $as_echo_n "(cached) " >&6 5075else 5076 if test -n "$YACC"; then 5077 ac_cv_prog_YACC="$YACC" # Let the user override the test. 5078else 5079as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5080for as_dir in $PATH 5081do 5082 IFS=$as_save_IFS 5083 test -z "$as_dir" && as_dir=. 5084 for ac_exec_ext in '' $ac_executable_extensions; do 5085 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5086 ac_cv_prog_YACC="$ac_prog" 5087 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5088 break 2 5089 fi 5090done 5091 done 5092IFS=$as_save_IFS 5093 5094fi 5095fi 5096YACC=$ac_cv_prog_YACC 5097if test -n "$YACC"; then 5098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5 5099$as_echo "$YACC" >&6; } 5100else 5101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5102$as_echo "no" >&6; } 5103fi 5104 5105 5106 test -n "$YACC" && break 5107done 5108test -n "$YACC" || YACC="yacc" 5109 5110if test -n "$ac_tool_prefix"; then 5111 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 5112set dummy ${ac_tool_prefix}ranlib; ac_word=$2 5113{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5114$as_echo_n "checking for $ac_word... " >&6; } 5115if test "${ac_cv_prog_RANLIB+set}" = set; then : 5116 $as_echo_n "(cached) " >&6 5117else 5118 if test -n "$RANLIB"; then 5119 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 5120else 5121as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5122for as_dir in $PATH 5123do 5124 IFS=$as_save_IFS 5125 test -z "$as_dir" && as_dir=. 5126 for ac_exec_ext in '' $ac_executable_extensions; do 5127 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5128 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 5129 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5130 break 2 5131 fi 5132done 5133 done 5134IFS=$as_save_IFS 5135 5136fi 5137fi 5138RANLIB=$ac_cv_prog_RANLIB 5139if test -n "$RANLIB"; then 5140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 5141$as_echo "$RANLIB" >&6; } 5142else 5143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5144$as_echo "no" >&6; } 5145fi 5146 5147 5148fi 5149if test -z "$ac_cv_prog_RANLIB"; then 5150 ac_ct_RANLIB=$RANLIB 5151 # Extract the first word of "ranlib", so it can be a program name with args. 5152set dummy ranlib; ac_word=$2 5153{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5154$as_echo_n "checking for $ac_word... " >&6; } 5155if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : 5156 $as_echo_n "(cached) " >&6 5157else 5158 if test -n "$ac_ct_RANLIB"; then 5159 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 5160else 5161as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5162for as_dir in $PATH 5163do 5164 IFS=$as_save_IFS 5165 test -z "$as_dir" && as_dir=. 5166 for ac_exec_ext in '' $ac_executable_extensions; do 5167 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5168 ac_cv_prog_ac_ct_RANLIB="ranlib" 5169 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5170 break 2 5171 fi 5172done 5173 done 5174IFS=$as_save_IFS 5175 5176fi 5177fi 5178ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 5179if test -n "$ac_ct_RANLIB"; then 5180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 5181$as_echo "$ac_ct_RANLIB" >&6; } 5182else 5183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5184$as_echo "no" >&6; } 5185fi 5186 5187 if test "x$ac_ct_RANLIB" = x; then 5188 RANLIB=":" 5189 else 5190 case $cross_compiling:$ac_tool_warned in 5191yes:) 5192{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5193$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5194ac_tool_warned=yes ;; 5195esac 5196 RANLIB=$ac_ct_RANLIB 5197 fi 5198else 5199 RANLIB="$ac_cv_prog_RANLIB" 5200fi 5201 5202 5203{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 5204$as_echo_n "checking whether ln -s works... " >&6; } 5205LN_S=$as_ln_s 5206if test "$LN_S" = "ln -s"; then 5207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5208$as_echo "yes" >&6; } 5209else 5210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 5211$as_echo "no, using $LN_S" >&6; } 5212fi 5213 5214 5215 5216ac_ext=c 5217ac_cpp='$CPP $CPPFLAGS' 5218ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5219ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5220ac_compiler_gnu=$ac_cv_c_compiler_gnu 5221{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 5222$as_echo_n "checking how to run the C preprocessor... " >&6; } 5223# On Suns, sometimes $CPP names a directory. 5224if test -n "$CPP" && test -d "$CPP"; then 5225 CPP= 5226fi 5227if test -z "$CPP"; then 5228 if test "${ac_cv_prog_CPP+set}" = set; then : 5229 $as_echo_n "(cached) " >&6 5230else 5231 # Double quotes because CPP needs to be expanded 5232 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 5233 do 5234 ac_preproc_ok=false 5235for ac_c_preproc_warn_flag in '' yes 5236do 5237 # Use a header file that comes with gcc, so configuring glibc 5238 # with a fresh cross-compiler works. 5239 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 5240 # <limits.h> exists even on freestanding compilers. 5241 # On the NeXT, cc -E runs the code through the compiler's parser, 5242 # not just through cpp. "Syntax error" is here to catch this case. 5243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5244/* end confdefs.h. */ 5245#ifdef __STDC__ 5246# include <limits.h> 5247#else 5248# include <assert.h> 5249#endif 5250 Syntax error 5251_ACEOF 5252if ac_fn_c_try_cpp "$LINENO"; then : 5253 5254else 5255 # Broken: fails on valid input. 5256continue 5257fi 5258rm -f conftest.err conftest.$ac_ext 5259 5260 # OK, works on sane cases. Now check whether nonexistent headers 5261 # can be detected and how. 5262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5263/* end confdefs.h. */ 5264#include <ac_nonexistent.h> 5265_ACEOF 5266if ac_fn_c_try_cpp "$LINENO"; then : 5267 # Broken: success on invalid input. 5268continue 5269else 5270 # Passes both tests. 5271ac_preproc_ok=: 5272break 5273fi 5274rm -f conftest.err conftest.$ac_ext 5275 5276done 5277# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 5278rm -f conftest.err conftest.$ac_ext 5279if $ac_preproc_ok; then : 5280 break 5281fi 5282 5283 done 5284 ac_cv_prog_CPP=$CPP 5285 5286fi 5287 CPP=$ac_cv_prog_CPP 5288else 5289 ac_cv_prog_CPP=$CPP 5290fi 5291{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 5292$as_echo "$CPP" >&6; } 5293ac_preproc_ok=false 5294for ac_c_preproc_warn_flag in '' yes 5295do 5296 # Use a header file that comes with gcc, so configuring glibc 5297 # with a fresh cross-compiler works. 5298 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 5299 # <limits.h> exists even on freestanding compilers. 5300 # On the NeXT, cc -E runs the code through the compiler's parser, 5301 # not just through cpp. "Syntax error" is here to catch this case. 5302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5303/* end confdefs.h. */ 5304#ifdef __STDC__ 5305# include <limits.h> 5306#else 5307# include <assert.h> 5308#endif 5309 Syntax error 5310_ACEOF 5311if ac_fn_c_try_cpp "$LINENO"; then : 5312 5313else 5314 # Broken: fails on valid input. 5315continue 5316fi 5317rm -f conftest.err conftest.$ac_ext 5318 5319 # OK, works on sane cases. Now check whether nonexistent headers 5320 # can be detected and how. 5321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5322/* end confdefs.h. */ 5323#include <ac_nonexistent.h> 5324_ACEOF 5325if ac_fn_c_try_cpp "$LINENO"; then : 5326 # Broken: success on invalid input. 5327continue 5328else 5329 # Passes both tests. 5330ac_preproc_ok=: 5331break 5332fi 5333rm -f conftest.err conftest.$ac_ext 5334 5335done 5336# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 5337rm -f conftest.err conftest.$ac_ext 5338if $ac_preproc_ok; then : 5339 5340else 5341 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 5342$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 5343as_fn_error "C preprocessor \"$CPP\" fails sanity check 5344See \`config.log' for more details." "$LINENO" 5; } 5345fi 5346 5347ac_ext=c 5348ac_cpp='$CPP $CPPFLAGS' 5349ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5350ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5351ac_compiler_gnu=$ac_cv_c_compiler_gnu 5352 5353 5354{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 5355$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 5356if test "${ac_cv_path_GREP+set}" = set; then : 5357 $as_echo_n "(cached) " >&6 5358else 5359 if test -z "$GREP"; then 5360 ac_path_GREP_found=false 5361 # Loop through the user's path and test for each of PROGNAME-LIST 5362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5363for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5364do 5365 IFS=$as_save_IFS 5366 test -z "$as_dir" && as_dir=. 5367 for ac_prog in grep ggrep; do 5368 for ac_exec_ext in '' $ac_executable_extensions; do 5369 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 5370 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 5371# Check for GNU ac_path_GREP and select it if it is found. 5372 # Check for GNU $ac_path_GREP 5373case `"$ac_path_GREP" --version 2>&1` in 5374*GNU*) 5375 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 5376*) 5377 ac_count=0 5378 $as_echo_n 0123456789 >"conftest.in" 5379 while : 5380 do 5381 cat "conftest.in" "conftest.in" >"conftest.tmp" 5382 mv "conftest.tmp" "conftest.in" 5383 cp "conftest.in" "conftest.nl" 5384 $as_echo 'GREP' >> "conftest.nl" 5385 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 5386 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5387 as_fn_arith $ac_count + 1 && ac_count=$as_val 5388 if test $ac_count -gt ${ac_path_GREP_max-0}; then 5389 # Best one so far, save it but keep looking for a better one 5390 ac_cv_path_GREP="$ac_path_GREP" 5391 ac_path_GREP_max=$ac_count 5392 fi 5393 # 10*(2^10) chars as input seems more than enough 5394 test $ac_count -gt 10 && break 5395 done 5396 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5397esac 5398 5399 $ac_path_GREP_found && break 3 5400 done 5401 done 5402 done 5403IFS=$as_save_IFS 5404 if test -z "$ac_cv_path_GREP"; then 5405 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5406 fi 5407else 5408 ac_cv_path_GREP=$GREP 5409fi 5410 5411fi 5412{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 5413$as_echo "$ac_cv_path_GREP" >&6; } 5414 GREP="$ac_cv_path_GREP" 5415 5416 5417{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 5418$as_echo_n "checking for egrep... " >&6; } 5419if test "${ac_cv_path_EGREP+set}" = set; then : 5420 $as_echo_n "(cached) " >&6 5421else 5422 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 5423 then ac_cv_path_EGREP="$GREP -E" 5424 else 5425 if test -z "$EGREP"; then 5426 ac_path_EGREP_found=false 5427 # Loop through the user's path and test for each of PROGNAME-LIST 5428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5429for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5430do 5431 IFS=$as_save_IFS 5432 test -z "$as_dir" && as_dir=. 5433 for ac_prog in egrep; do 5434 for ac_exec_ext in '' $ac_executable_extensions; do 5435 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 5436 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 5437# Check for GNU ac_path_EGREP and select it if it is found. 5438 # Check for GNU $ac_path_EGREP 5439case `"$ac_path_EGREP" --version 2>&1` in 5440*GNU*) 5441 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 5442*) 5443 ac_count=0 5444 $as_echo_n 0123456789 >"conftest.in" 5445 while : 5446 do 5447 cat "conftest.in" "conftest.in" >"conftest.tmp" 5448 mv "conftest.tmp" "conftest.in" 5449 cp "conftest.in" "conftest.nl" 5450 $as_echo 'EGREP' >> "conftest.nl" 5451 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 5452 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5453 as_fn_arith $ac_count + 1 && ac_count=$as_val 5454 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 5455 # Best one so far, save it but keep looking for a better one 5456 ac_cv_path_EGREP="$ac_path_EGREP" 5457 ac_path_EGREP_max=$ac_count 5458 fi 5459 # 10*(2^10) chars as input seems more than enough 5460 test $ac_count -gt 10 && break 5461 done 5462 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5463esac 5464 5465 $ac_path_EGREP_found && break 3 5466 done 5467 done 5468 done 5469IFS=$as_save_IFS 5470 if test -z "$ac_cv_path_EGREP"; then 5471 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5472 fi 5473else 5474 ac_cv_path_EGREP=$EGREP 5475fi 5476 5477 fi 5478fi 5479{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 5480$as_echo "$ac_cv_path_EGREP" >&6; } 5481 EGREP="$ac_cv_path_EGREP" 5482 5483 5484{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 5485$as_echo_n "checking for ANSI C header files... " >&6; } 5486if test "${ac_cv_header_stdc+set}" = set; then : 5487 $as_echo_n "(cached) " >&6 5488else 5489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5490/* end confdefs.h. */ 5491#include <stdlib.h> 5492#include <stdarg.h> 5493#include <string.h> 5494#include <float.h> 5495 5496int 5497main () 5498{ 5499 5500 ; 5501 return 0; 5502} 5503_ACEOF 5504if ac_fn_c_try_compile "$LINENO"; then : 5505 ac_cv_header_stdc=yes 5506else 5507 ac_cv_header_stdc=no 5508fi 5509rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5510 5511if test $ac_cv_header_stdc = yes; then 5512 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 5513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5514/* end confdefs.h. */ 5515#include <string.h> 5516 5517_ACEOF 5518if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5519 $EGREP "memchr" >/dev/null 2>&1; then : 5520 5521else 5522 ac_cv_header_stdc=no 5523fi 5524rm -f conftest* 5525 5526fi 5527 5528if test $ac_cv_header_stdc = yes; then 5529 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 5530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5531/* end confdefs.h. */ 5532#include <stdlib.h> 5533 5534_ACEOF 5535if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5536 $EGREP "free" >/dev/null 2>&1; then : 5537 5538else 5539 ac_cv_header_stdc=no 5540fi 5541rm -f conftest* 5542 5543fi 5544 5545if test $ac_cv_header_stdc = yes; then 5546 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 5547 if test "$cross_compiling" = yes; then : 5548 : 5549else 5550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5551/* end confdefs.h. */ 5552#include <ctype.h> 5553#include <stdlib.h> 5554#if ((' ' & 0x0FF) == 0x020) 5555# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 5556# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 5557#else 5558# define ISLOWER(c) \ 5559 (('a' <= (c) && (c) <= 'i') \ 5560 || ('j' <= (c) && (c) <= 'r') \ 5561 || ('s' <= (c) && (c) <= 'z')) 5562# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 5563#endif 5564 5565#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 5566int 5567main () 5568{ 5569 int i; 5570 for (i = 0; i < 256; i++) 5571 if (XOR (islower (i), ISLOWER (i)) 5572 || toupper (i) != TOUPPER (i)) 5573 return 2; 5574 return 0; 5575} 5576_ACEOF 5577if ac_fn_c_try_run "$LINENO"; then : 5578 5579else 5580 ac_cv_header_stdc=no 5581fi 5582rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 5583 conftest.$ac_objext conftest.beam conftest.$ac_ext 5584fi 5585 5586fi 5587fi 5588{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 5589$as_echo "$ac_cv_header_stdc" >&6; } 5590if test $ac_cv_header_stdc = yes; then 5591 5592$as_echo "#define STDC_HEADERS 1" >>confdefs.h 5593 5594fi 5595 5596# On IRIX 5.3, sys/types and inttypes.h are conflicting. 5597for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 5598 inttypes.h stdint.h unistd.h 5599do : 5600 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 5601ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 5602" 5603eval as_val=\$$as_ac_Header 5604 if test "x$as_val" = x""yes; then : 5605 cat >>confdefs.h <<_ACEOF 5606#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 5607_ACEOF 5608 5609fi 5610 5611done 5612 5613 5614 5615 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" 5616if test "x$ac_cv_header_minix_config_h" = x""yes; then : 5617 MINIX=yes 5618else 5619 MINIX= 5620fi 5621 5622 5623 if test "$MINIX" = yes; then 5624 5625$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h 5626 5627 5628$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h 5629 5630 5631$as_echo "#define _MINIX 1" >>confdefs.h 5632 5633 fi 5634 5635 5636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 5637$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } 5638if test "${ac_cv_safe_to_define___extensions__+set}" = set; then : 5639 $as_echo_n "(cached) " >&6 5640else 5641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5642/* end confdefs.h. */ 5643 5644# define __EXTENSIONS__ 1 5645 $ac_includes_default 5646int 5647main () 5648{ 5649 5650 ; 5651 return 0; 5652} 5653_ACEOF 5654if ac_fn_c_try_compile "$LINENO"; then : 5655 ac_cv_safe_to_define___extensions__=yes 5656else 5657 ac_cv_safe_to_define___extensions__=no 5658fi 5659rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5660fi 5661{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 5662$as_echo "$ac_cv_safe_to_define___extensions__" >&6; } 5663 test $ac_cv_safe_to_define___extensions__ = yes && 5664 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h 5665 5666 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h 5667 5668 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h 5669 5670 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h 5671 5672 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h 5673 5674 5675 5676 5677# If we haven't got the data from the intl directory, 5678# assume NLS is disabled. 5679USE_NLS=no 5680LIBINTL= 5681LIBINTL_DEP= 5682INCINTL= 5683XGETTEXT= 5684GMSGFMT= 5685POSUB= 5686 5687if test -f ../intl/config.intl; then 5688 . ../intl/config.intl 5689fi 5690{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 5691$as_echo_n "checking whether NLS is requested... " >&6; } 5692if test x"$USE_NLS" != xyes; then 5693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5694$as_echo "no" >&6; } 5695else 5696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5697$as_echo "yes" >&6; } 5698 5699$as_echo "#define ENABLE_NLS 1" >>confdefs.h 5700 5701 5702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5 5703$as_echo_n "checking for catalogs to be installed... " >&6; } 5704 # Look for .po and .gmo files in the source directory. 5705 CATALOGS= 5706 XLINGUAS= 5707 for cat in $srcdir/po/*.gmo $srcdir/po/*.po; do 5708 # If there aren't any .gmo files the shell will give us the 5709 # literal string "../path/to/srcdir/po/*.gmo" which has to be 5710 # weeded out. 5711 case "$cat" in *\**) 5712 continue;; 5713 esac 5714 # The quadruple backslash is collapsed to a double backslash 5715 # by the backticks, then collapsed again by the double quotes, 5716 # leaving us with one backslash in the sed expression (right 5717 # before the dot that mustn't act as a wildcard). 5718 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"` 5719 lang=`echo $cat | sed -e "s!\\\\.gmo!!"` 5720 # The user is allowed to set LINGUAS to a list of languages to 5721 # install catalogs for. If it's empty that means "all of them." 5722 if test "x$LINGUAS" = x; then 5723 CATALOGS="$CATALOGS $cat" 5724 XLINGUAS="$XLINGUAS $lang" 5725 else 5726 case "$LINGUAS" in *$lang*) 5727 CATALOGS="$CATALOGS $cat" 5728 XLINGUAS="$XLINGUAS $lang" 5729 ;; 5730 esac 5731 fi 5732 done 5733 LINGUAS="$XLINGUAS" 5734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5 5735$as_echo "$LINGUAS" >&6; } 5736 5737 5738 DATADIRNAME=share 5739 5740 INSTOBJEXT=.mo 5741 5742 GENCAT=gencat 5743 5744 CATOBJEXT=.gmo 5745 5746fi 5747 5748 MKINSTALLDIRS= 5749 if test -n "$ac_aux_dir"; then 5750 case "$ac_aux_dir" in 5751 /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;; 5752 *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;; 5753 esac 5754 fi 5755 if test -z "$MKINSTALLDIRS"; then 5756 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" 5757 fi 5758 5759 5760 5761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 5762$as_echo_n "checking whether NLS is requested... " >&6; } 5763 # Check whether --enable-nls was given. 5764if test "${enable_nls+set}" = set; then : 5765 enableval=$enable_nls; USE_NLS=$enableval 5766else 5767 USE_NLS=yes 5768fi 5769 5770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 5771$as_echo "$USE_NLS" >&6; } 5772 5773 5774 5775 5776 5777 5778# Prepare PATH_SEPARATOR. 5779# The user is always right. 5780if test "${PATH_SEPARATOR+set}" != set; then 5781 echo "#! /bin/sh" >conf$$.sh 5782 echo "exit 0" >>conf$$.sh 5783 chmod +x conf$$.sh 5784 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 5785 PATH_SEPARATOR=';' 5786 else 5787 PATH_SEPARATOR=: 5788 fi 5789 rm -f conf$$.sh 5790fi 5791 5792# Find out how to test for executable files. Don't use a zero-byte file, 5793# as systems may use methods other than mode bits to determine executability. 5794cat >conf$$.file <<_ASEOF 5795#! /bin/sh 5796exit 0 5797_ASEOF 5798chmod +x conf$$.file 5799if test -x conf$$.file >/dev/null 2>&1; then 5800 ac_executable_p="test -x" 5801else 5802 ac_executable_p="test -f" 5803fi 5804rm -f conf$$.file 5805 5806# Extract the first word of "msgfmt", so it can be a program name with args. 5807set dummy msgfmt; ac_word=$2 5808{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5809$as_echo_n "checking for $ac_word... " >&6; } 5810if test "${ac_cv_path_MSGFMT+set}" = set; then : 5811 $as_echo_n "(cached) " >&6 5812else 5813 case "$MSGFMT" in 5814 [\\/]* | ?:[\\/]*) 5815 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. 5816 ;; 5817 *) 5818 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR 5819 for ac_dir in $PATH; do 5820 IFS="$ac_save_IFS" 5821 test -z "$ac_dir" && ac_dir=. 5822 for ac_exec_ext in '' $ac_executable_extensions; do 5823 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then 5824 if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 && 5825 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then 5826 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext" 5827 break 2 5828 fi 5829 fi 5830 done 5831 done 5832 IFS="$ac_save_IFS" 5833 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":" 5834 ;; 5835esac 5836fi 5837MSGFMT="$ac_cv_path_MSGFMT" 5838if test "$MSGFMT" != ":"; then 5839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 5840$as_echo "$MSGFMT" >&6; } 5841else 5842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5843$as_echo "no" >&6; } 5844fi 5845 5846 # Extract the first word of "gmsgfmt", so it can be a program name with args. 5847set dummy gmsgfmt; ac_word=$2 5848{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5849$as_echo_n "checking for $ac_word... " >&6; } 5850if test "${ac_cv_path_GMSGFMT+set}" = set; then : 5851 $as_echo_n "(cached) " >&6 5852else 5853 case $GMSGFMT in 5854 [\\/]* | ?:[\\/]*) 5855 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. 5856 ;; 5857 *) 5858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5859for as_dir in $PATH 5860do 5861 IFS=$as_save_IFS 5862 test -z "$as_dir" && as_dir=. 5863 for ac_exec_ext in '' $ac_executable_extensions; do 5864 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5865 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" 5866 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5867 break 2 5868 fi 5869done 5870 done 5871IFS=$as_save_IFS 5872 5873 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" 5874 ;; 5875esac 5876fi 5877GMSGFMT=$ac_cv_path_GMSGFMT 5878if test -n "$GMSGFMT"; then 5879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 5880$as_echo "$GMSGFMT" >&6; } 5881else 5882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5883$as_echo "no" >&6; } 5884fi 5885 5886 5887 5888 5889# Prepare PATH_SEPARATOR. 5890# The user is always right. 5891if test "${PATH_SEPARATOR+set}" != set; then 5892 echo "#! /bin/sh" >conf$$.sh 5893 echo "exit 0" >>conf$$.sh 5894 chmod +x conf$$.sh 5895 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 5896 PATH_SEPARATOR=';' 5897 else 5898 PATH_SEPARATOR=: 5899 fi 5900 rm -f conf$$.sh 5901fi 5902 5903# Find out how to test for executable files. Don't use a zero-byte file, 5904# as systems may use methods other than mode bits to determine executability. 5905cat >conf$$.file <<_ASEOF 5906#! /bin/sh 5907exit 0 5908_ASEOF 5909chmod +x conf$$.file 5910if test -x conf$$.file >/dev/null 2>&1; then 5911 ac_executable_p="test -x" 5912else 5913 ac_executable_p="test -f" 5914fi 5915rm -f conf$$.file 5916 5917# Extract the first word of "xgettext", so it can be a program name with args. 5918set dummy xgettext; ac_word=$2 5919{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5920$as_echo_n "checking for $ac_word... " >&6; } 5921if test "${ac_cv_path_XGETTEXT+set}" = set; then : 5922 $as_echo_n "(cached) " >&6 5923else 5924 case "$XGETTEXT" in 5925 [\\/]* | ?:[\\/]*) 5926 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. 5927 ;; 5928 *) 5929 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR 5930 for ac_dir in $PATH; do 5931 IFS="$ac_save_IFS" 5932 test -z "$ac_dir" && ac_dir=. 5933 for ac_exec_ext in '' $ac_executable_extensions; do 5934 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then 5935 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 && 5936 (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then 5937 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext" 5938 break 2 5939 fi 5940 fi 5941 done 5942 done 5943 IFS="$ac_save_IFS" 5944 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" 5945 ;; 5946esac 5947fi 5948XGETTEXT="$ac_cv_path_XGETTEXT" 5949if test "$XGETTEXT" != ":"; then 5950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 5951$as_echo "$XGETTEXT" >&6; } 5952else 5953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5954$as_echo "no" >&6; } 5955fi 5956 5957 rm -f messages.po 5958 5959 5960# Prepare PATH_SEPARATOR. 5961# The user is always right. 5962if test "${PATH_SEPARATOR+set}" != set; then 5963 echo "#! /bin/sh" >conf$$.sh 5964 echo "exit 0" >>conf$$.sh 5965 chmod +x conf$$.sh 5966 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 5967 PATH_SEPARATOR=';' 5968 else 5969 PATH_SEPARATOR=: 5970 fi 5971 rm -f conf$$.sh 5972fi 5973 5974# Find out how to test for executable files. Don't use a zero-byte file, 5975# as systems may use methods other than mode bits to determine executability. 5976cat >conf$$.file <<_ASEOF 5977#! /bin/sh 5978exit 0 5979_ASEOF 5980chmod +x conf$$.file 5981if test -x conf$$.file >/dev/null 2>&1; then 5982 ac_executable_p="test -x" 5983else 5984 ac_executable_p="test -f" 5985fi 5986rm -f conf$$.file 5987 5988# Extract the first word of "msgmerge", so it can be a program name with args. 5989set dummy msgmerge; ac_word=$2 5990{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5991$as_echo_n "checking for $ac_word... " >&6; } 5992if test "${ac_cv_path_MSGMERGE+set}" = set; then : 5993 $as_echo_n "(cached) " >&6 5994else 5995 case "$MSGMERGE" in 5996 [\\/]* | ?:[\\/]*) 5997 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. 5998 ;; 5999 *) 6000 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR 6001 for ac_dir in $PATH; do 6002 IFS="$ac_save_IFS" 6003 test -z "$ac_dir" && ac_dir=. 6004 for ac_exec_ext in '' $ac_executable_extensions; do 6005 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then 6006 if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then 6007 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext" 6008 break 2 6009 fi 6010 fi 6011 done 6012 done 6013 IFS="$ac_save_IFS" 6014 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":" 6015 ;; 6016esac 6017fi 6018MSGMERGE="$ac_cv_path_MSGMERGE" 6019if test "$MSGMERGE" != ":"; then 6020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 6021$as_echo "$MSGMERGE" >&6; } 6022else 6023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6024$as_echo "no" >&6; } 6025fi 6026 6027 6028 if test "$GMSGFMT" != ":"; then 6029 if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 && 6030 (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then 6031 : ; 6032 else 6033 GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'` 6034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5 6035$as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; } 6036 GMSGFMT=":" 6037 fi 6038 fi 6039 6040 if test "$XGETTEXT" != ":"; then 6041 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 && 6042 (if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then 6043 : ; 6044 else 6045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5 6046$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; } 6047 XGETTEXT=":" 6048 fi 6049 rm -f messages.po 6050 fi 6051 6052 ac_config_commands="$ac_config_commands default-1" 6053 6054 6055 6056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 6057$as_echo_n "checking whether byte ordering is bigendian... " >&6; } 6058if test "${ac_cv_c_bigendian+set}" = set; then : 6059 $as_echo_n "(cached) " >&6 6060else 6061 ac_cv_c_bigendian=unknown 6062 # See if we're dealing with a universal compiler. 6063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6064/* end confdefs.h. */ 6065#ifndef __APPLE_CC__ 6066 not a universal capable compiler 6067 #endif 6068 typedef int dummy; 6069 6070_ACEOF 6071if ac_fn_c_try_compile "$LINENO"; then : 6072 6073 # Check for potential -arch flags. It is not universal unless 6074 # there are at least two -arch flags with different values. 6075 ac_arch= 6076 ac_prev= 6077 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do 6078 if test -n "$ac_prev"; then 6079 case $ac_word in 6080 i?86 | x86_64 | ppc | ppc64) 6081 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then 6082 ac_arch=$ac_word 6083 else 6084 ac_cv_c_bigendian=universal 6085 break 6086 fi 6087 ;; 6088 esac 6089 ac_prev= 6090 elif test "x$ac_word" = "x-arch"; then 6091 ac_prev=arch 6092 fi 6093 done 6094fi 6095rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6096 if test $ac_cv_c_bigendian = unknown; then 6097 # See if sys/param.h defines the BYTE_ORDER macro. 6098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6099/* end confdefs.h. */ 6100#include <sys/types.h> 6101 #include <sys/param.h> 6102 6103int 6104main () 6105{ 6106#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ 6107 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ 6108 && LITTLE_ENDIAN) 6109 bogus endian macros 6110 #endif 6111 6112 ; 6113 return 0; 6114} 6115_ACEOF 6116if ac_fn_c_try_compile "$LINENO"; then : 6117 # It does; now see whether it defined to BIG_ENDIAN or not. 6118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6119/* end confdefs.h. */ 6120#include <sys/types.h> 6121 #include <sys/param.h> 6122 6123int 6124main () 6125{ 6126#if BYTE_ORDER != BIG_ENDIAN 6127 not big endian 6128 #endif 6129 6130 ; 6131 return 0; 6132} 6133_ACEOF 6134if ac_fn_c_try_compile "$LINENO"; then : 6135 ac_cv_c_bigendian=yes 6136else 6137 ac_cv_c_bigendian=no 6138fi 6139rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6140fi 6141rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6142 fi 6143 if test $ac_cv_c_bigendian = unknown; then 6144 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 6145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6146/* end confdefs.h. */ 6147#include <limits.h> 6148 6149int 6150main () 6151{ 6152#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) 6153 bogus endian macros 6154 #endif 6155 6156 ; 6157 return 0; 6158} 6159_ACEOF 6160if ac_fn_c_try_compile "$LINENO"; then : 6161 # It does; now see whether it defined to _BIG_ENDIAN or not. 6162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6163/* end confdefs.h. */ 6164#include <limits.h> 6165 6166int 6167main () 6168{ 6169#ifndef _BIG_ENDIAN 6170 not big endian 6171 #endif 6172 6173 ; 6174 return 0; 6175} 6176_ACEOF 6177if ac_fn_c_try_compile "$LINENO"; then : 6178 ac_cv_c_bigendian=yes 6179else 6180 ac_cv_c_bigendian=no 6181fi 6182rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6183fi 6184rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6185 fi 6186 if test $ac_cv_c_bigendian = unknown; then 6187 # Compile a test program. 6188 if test "$cross_compiling" = yes; then : 6189 # Try to guess by grepping values from an object file. 6190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6191/* end confdefs.h. */ 6192short int ascii_mm[] = 6193 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 6194 short int ascii_ii[] = 6195 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 6196 int use_ascii (int i) { 6197 return ascii_mm[i] + ascii_ii[i]; 6198 } 6199 short int ebcdic_ii[] = 6200 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 6201 short int ebcdic_mm[] = 6202 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 6203 int use_ebcdic (int i) { 6204 return ebcdic_mm[i] + ebcdic_ii[i]; 6205 } 6206 extern int foo; 6207 6208int 6209main () 6210{ 6211return use_ascii (foo) == use_ebcdic (foo); 6212 ; 6213 return 0; 6214} 6215_ACEOF 6216if ac_fn_c_try_compile "$LINENO"; then : 6217 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 6218 ac_cv_c_bigendian=yes 6219 fi 6220 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 6221 if test "$ac_cv_c_bigendian" = unknown; then 6222 ac_cv_c_bigendian=no 6223 else 6224 # finding both strings is unlikely to happen, but who knows? 6225 ac_cv_c_bigendian=unknown 6226 fi 6227 fi 6228fi 6229rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6230else 6231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6232/* end confdefs.h. */ 6233$ac_includes_default 6234int 6235main () 6236{ 6237 6238 /* Are we little or big endian? From Harbison&Steele. */ 6239 union 6240 { 6241 long int l; 6242 char c[sizeof (long int)]; 6243 } u; 6244 u.l = 1; 6245 return u.c[sizeof (long int) - 1] == 1; 6246 6247 ; 6248 return 0; 6249} 6250_ACEOF 6251if ac_fn_c_try_run "$LINENO"; then : 6252 ac_cv_c_bigendian=no 6253else 6254 ac_cv_c_bigendian=yes 6255fi 6256rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 6257 conftest.$ac_objext conftest.beam conftest.$ac_ext 6258fi 6259 6260 fi 6261fi 6262{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 6263$as_echo "$ac_cv_c_bigendian" >&6; } 6264 case $ac_cv_c_bigendian in #( 6265 yes) 6266 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h 6267;; #( 6268 no) 6269 ;; #( 6270 universal) 6271 6272$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 6273 6274 ;; #( 6275 *) 6276 as_fn_error "unknown endianness 6277 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 6278 esac 6279 6280 6281 6282 6283 if test "x$test_as_native" = "xyes"; then 6284 TEST_AS_NATIVE_LINKER_TRUE= 6285 TEST_AS_NATIVE_LINKER_FALSE='#' 6286else 6287 TEST_AS_NATIVE_LINKER_TRUE='#' 6288 TEST_AS_NATIVE_LINKER_FALSE= 6289fi 6290 6291 if test "$GCC" = yes; then 6292 GCC_TRUE= 6293 GCC_FALSE='#' 6294else 6295 GCC_TRUE='#' 6296 GCC_FALSE= 6297fi 6298 6299 6300 if test "x$target_alias" = "x" -o "x$host_alias" = "x$target_alias" -o "x$host_alias" = "x$build_alias"; then 6301 NATIVE_OR_CROSS_LINKER_TRUE= 6302 NATIVE_OR_CROSS_LINKER_FALSE='#' 6303else 6304 NATIVE_OR_CROSS_LINKER_TRUE='#' 6305 NATIVE_OR_CROSS_LINKER_FALSE= 6306fi 6307 6308 6309{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether static linking works" >&5 6310$as_echo_n "checking whether static linking works... " >&6; } 6311if test "${gold_cv_lib_static+set}" = set; then : 6312 $as_echo_n "(cached) " >&6 6313else 6314 LDFLAGS_hold=$LDFLAGS 6315LDFLAGS="$LDFLAGS -static" 6316cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6317/* end confdefs.h. */ 6318 6319void f() { } 6320int 6321main () 6322{ 6323 6324 ; 6325 return 0; 6326} 6327_ACEOF 6328if ac_fn_c_try_link "$LINENO"; then : 6329 gold_cv_lib_static=yes 6330else 6331 gold_cv_lib_static=no 6332fi 6333rm -f core conftest.err conftest.$ac_objext \ 6334 conftest$ac_exeext conftest.$ac_ext 6335LDFLAGS=$LDFLAGS_hold 6336fi 6337{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_lib_static" >&5 6338$as_echo "$gold_cv_lib_static" >&6; } 6339 if test "$gold_cv_lib_static" = "yes"; then 6340 HAVE_STATIC_TRUE= 6341 HAVE_STATIC_FALSE='#' 6342else 6343 HAVE_STATIC_TRUE='#' 6344 HAVE_STATIC_FALSE= 6345fi 6346 6347 6348 if 6349 case $target_cpu in 6350 powerpc*) false;; 6351 x86_64) false;; 6352 sparc64) false;; 6353 *) true;; 6354 esac; then 6355 FN_PTRS_IN_SO_WITHOUT_PIC_TRUE= 6356 FN_PTRS_IN_SO_WITHOUT_PIC_FALSE='#' 6357else 6358 FN_PTRS_IN_SO_WITHOUT_PIC_TRUE='#' 6359 FN_PTRS_IN_SO_WITHOUT_PIC_FALSE= 6360fi 6361 6362 6363{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc >= 4.1" >&5 6364$as_echo_n "checking for gcc >= 4.1... " >&6; } 6365if test "${gold_cv_prog_gcc41+set}" = set; then : 6366 $as_echo_n "(cached) " >&6 6367else 6368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6369/* end confdefs.h. */ 6370 6371#if !defined __GNUC__ 6372error 6373#elif __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 1) 6374error 6375#endif 6376 6377_ACEOF 6378if ac_fn_c_try_compile "$LINENO"; then : 6379 gold_cv_prog_gcc41=yes 6380else 6381 gold_cv_prog_gcc41=no 6382fi 6383rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6384fi 6385{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_prog_gcc41" >&5 6386$as_echo "$gold_cv_prog_gcc41" >&6; } 6387 6388save_CFLAGS="$CFLAGS" 6389CFLAGS="$CFLAGS -mcmodel=medium" 6390cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6391/* end confdefs.h. */ 6392int i; 6393_ACEOF 6394if ac_fn_c_try_compile "$LINENO"; then : 6395 have_mcmodel_medium=yes 6396else 6397 have_mcmodel_medium=no 6398fi 6399rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6400CFLAGS="$save_CFLAGS" 6401 if test "$target_cpu" = "x86_64" -a "$have_mcmodel_medium" = "yes" -a "$gold_cv_prog_gcc41" = "yes"; then 6402 MCMODEL_MEDIUM_TRUE= 6403 MCMODEL_MEDIUM_FALSE='#' 6404else 6405 MCMODEL_MEDIUM_TRUE='#' 6406 MCMODEL_MEDIUM_FALSE= 6407fi 6408 6409 6410{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fmerge-constants" >&5 6411$as_echo_n "checking whether $CC supports -fmerge-constants... " >&6; } 6412if test "${gold_cv_merge_constants+set}" = set; then : 6413 $as_echo_n "(cached) " >&6 6414else 6415 6416save_CFLAGS="$CFLAGS" 6417CFLAGS="$CFLAGS -fmerge-constants" 6418cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6419/* end confdefs.h. */ 6420const char *s = "foo"; 6421_ACEOF 6422if ac_fn_c_try_compile "$LINENO"; then : 6423 gold_cv_merge_constants=yes 6424else 6425 gold_cv_merge_constants=no 6426fi 6427rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6428CFLAGS="$save_CFLAGS" 6429fi 6430{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_merge_constants" >&5 6431$as_echo "$gold_cv_merge_constants" >&6; } 6432 6433if test "$gold_cv_merge_constants" = yes; then : 6434 MERGE_CONSTANTS_FLAG=-fmerge-constants 6435else 6436 MERGE_CONSTANTS_FLAG= 6437fi 6438 6439{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread support" >&5 6440$as_echo_n "checking for thread support... " >&6; } 6441if test "${gold_cv_c_thread+set}" = set; then : 6442 $as_echo_n "(cached) " >&6 6443else 6444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6445/* end confdefs.h. */ 6446__thread int i = 1; 6447_ACEOF 6448if ac_fn_c_try_compile "$LINENO"; then : 6449 gold_cv_c_thread=yes 6450else 6451 gold_cv_c_thread=no 6452fi 6453rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6454fi 6455{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_c_thread" >&5 6456$as_echo "$gold_cv_c_thread" >&6; } 6457 6458 if test "$gold_cv_c_thread" = "yes"; then 6459 TLS_TRUE= 6460 TLS_FALSE='#' 6461else 6462 TLS_TRUE='#' 6463 TLS_FALSE= 6464fi 6465 6466 6467{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for glibc >= 2.4" >&5 6468$as_echo_n "checking for glibc >= 2.4... " >&6; } 6469if test "${gold_cv_lib_glibc24+set}" = set; then : 6470 $as_echo_n "(cached) " >&6 6471else 6472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6473/* end confdefs.h. */ 6474 6475#include <features.h> 6476#if !defined __GLIBC__ 6477error 6478#elif __GLIBC__ < 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ < 4) 6479error 6480#endif 6481 6482_ACEOF 6483if ac_fn_c_try_compile "$LINENO"; then : 6484 gold_cv_lib_glibc24=yes 6485else 6486 gold_cv_lib_glibc24=no 6487fi 6488rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6489fi 6490{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_lib_glibc24" >&5 6491$as_echo "$gold_cv_lib_glibc24" >&6; } 6492 6493 if test "$gold_cv_lib_glibc24" = "yes"; then 6494 STATIC_TLS_TRUE= 6495 STATIC_TLS_FALSE='#' 6496else 6497 STATIC_TLS_TRUE='#' 6498 STATIC_TLS_FALSE= 6499fi 6500 6501 6502{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for omp support" >&5 6503$as_echo_n "checking for omp support... " >&6; } 6504if test "${gold_cv_c_threadprivate+set}" = set; then : 6505 $as_echo_n "(cached) " >&6 6506else 6507 save_CFLAGS="$CFLAGS" 6508CFLAGS="$CFLAGS -fopenmp" 6509cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6510/* end confdefs.h. */ 6511 6512#include <omp.h> 6513int i; 6514#pragma omp threadprivate (i) 6515 6516_ACEOF 6517if ac_fn_c_try_compile "$LINENO"; then : 6518 gold_cv_c_threadprivate=yes 6519else 6520 gold_cv_c_threadprivate=no 6521fi 6522rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6523CFLAGS="$save_CFLAGS" 6524fi 6525{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_c_threadprivate" >&5 6526$as_echo "$gold_cv_c_threadprivate" >&6; } 6527if test "$gold_cv_c_threadprivate" = "yes"; then 6528 6529$as_echo "#define HAVE_OMP_SUPPORT 1" >>confdefs.h 6530 6531fi 6532 if test "$gold_cv_c_threadprivate" = "yes"; then 6533 OMP_SUPPORT_TRUE= 6534 OMP_SUPPORT_FALSE='#' 6535else 6536 OMP_SUPPORT_TRUE='#' 6537 OMP_SUPPORT_FALSE= 6538fi 6539 6540 6541save_CFLAGS="$CFLAGS" 6542CFLAGS="$CFLAGS -Werror -fpic -mtls-dialect=gnu2" 6543cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6544/* end confdefs.h. */ 6545 6546__thread int i; 6547void foo (void) 6548{ 6549 i = 10; 6550} 6551 6552_ACEOF 6553if ac_fn_c_try_compile "$LINENO"; then : 6554 have_tls_gnu2=yes 6555else 6556 have_tls_gnu2=no 6557fi 6558rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6559CFLAGS="$save_CFLAGS" 6560 if test "$have_tls_gnu2" = "yes"; then 6561 TLS_GNU2_DIALECT_TRUE= 6562 TLS_GNU2_DIALECT_FALSE='#' 6563else 6564 TLS_GNU2_DIALECT_TRUE='#' 6565 TLS_GNU2_DIALECT_FALSE= 6566fi 6567 6568 6569{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for glibc >= 2.9" >&5 6570$as_echo_n "checking for glibc >= 2.9... " >&6; } 6571if test "${gold_cv_lib_glibc29+set}" = set; then : 6572 $as_echo_n "(cached) " >&6 6573else 6574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6575/* end confdefs.h. */ 6576 6577#include <features.h> 6578#if !defined __GLIBC__ 6579error 6580#elif __GLIBC__ < 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ < 9) 6581error 6582#endif 6583 6584_ACEOF 6585if ac_fn_c_try_compile "$LINENO"; then : 6586 gold_cv_lib_glibc29=yes 6587else 6588 gold_cv_lib_glibc29=no 6589fi 6590rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6591fi 6592{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_lib_glibc29" >&5 6593$as_echo "$gold_cv_lib_glibc29" >&6; } 6594 6595 if test "$gold_cv_lib_glibc29" = "yes"; then 6596 TLS_DESCRIPTORS_TRUE= 6597 TLS_DESCRIPTORS_FALSE='#' 6598else 6599 TLS_DESCRIPTORS_TRUE='#' 6600 TLS_DESCRIPTORS_FALSE= 6601fi 6602 6603 6604{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -frandom-seed support" >&5 6605$as_echo_n "checking for -frandom-seed support... " >&6; } 6606if test "${gold_cv_c_random_seed+set}" = set; then : 6607 $as_echo_n "(cached) " >&6 6608else 6609 save_CFLAGS="$CFLAGS" 6610CFLAGS="$CFLAGS -frandom-seed=foo" 6611cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6612/* end confdefs.h. */ 6613int i; 6614_ACEOF 6615if ac_fn_c_try_compile "$LINENO"; then : 6616 gold_cv_c_random_seed=yes 6617else 6618 gold_cv_c_random_seed=no 6619fi 6620rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6621CFLAGS="$save_CFLAGS" 6622fi 6623{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_c_random_seed" >&5 6624$as_echo "$gold_cv_c_random_seed" >&6; } 6625if test "$gold_cv_c_random_seed" = "yes"; then 6626 # In Makefile, '$@' will be expanded to be the name of the file 6627 # being built, providing a unique seed for each file. 6628 RANDOM_SEED_CFLAGS=-frandom-seed=\$@ 6629fi 6630 6631 6632{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for glibc ifunc support" >&5 6633$as_echo_n "checking for glibc ifunc support... " >&6; } 6634if test "${gold_cv_lib_glibc_ifunc+set}" = set; then : 6635 $as_echo_n "(cached) " >&6 6636else 6637 save_LDFLAGS="$LDFLAGS" 6638LDFLAGS="$LDFLAGS -static" 6639cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6640/* end confdefs.h. */ 6641 6642#include <features.h> 6643#if !defined __GLIBC__ 6644error 6645#elif __GLIBC__ < 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ < 11) 6646error 6647#endif 6648void func (void) { } 6649void invoke (void); 6650__asm__(".type invoke, %gnu_indirect_function"); 6651typedef void (*funcptr) (void); 6652funcptr dispatch (void) __asm__ ("invoke"); 6653funcptr dispatch (void) { return &func; } 6654int 6655main () 6656{ 6657invoke(); 6658 ; 6659 return 0; 6660} 6661 6662_ACEOF 6663if ac_fn_c_try_link "$LINENO"; then : 6664 6665if ${NM} conftest$EXEEXT | grep "__rela\?_iplt_start" >/dev/null 2>&1; then 6666 gold_cv_lib_glibc_ifunc=both 6667else 6668 gold_cv_lib_glibc_ifunc=dyn 6669fi 6670else 6671 gold_cv_lib_glibc_ifunc=no 6672fi 6673rm -f core conftest.err conftest.$ac_objext \ 6674 conftest$ac_exeext conftest.$ac_ext 6675LDFLAGS="$save_LDFLAGS" 6676fi 6677{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_lib_glibc_ifunc" >&5 6678$as_echo "$gold_cv_lib_glibc_ifunc" >&6; } 6679 6680 if test "$gold_cv_lib_glibc_ifunc" != "no"; then 6681 IFUNC_TRUE= 6682 IFUNC_FALSE='#' 6683else 6684 IFUNC_TRUE='#' 6685 IFUNC_FALSE= 6686fi 6687 6688 if test "$gold_cv_lib_glibc_ifunc" = "both"; then 6689 IFUNC_STATIC_TRUE= 6690 IFUNC_STATIC_FALSE='#' 6691else 6692 IFUNC_STATIC_TRUE='#' 6693 IFUNC_STATIC_FALSE= 6694fi 6695 6696 6697 6698# Set the 'development' global. 6699. $srcdir/../bfd/development.sh 6700 6701GCC_WARN_CFLAGS="-W -Wall -Wstrict-prototypes -Wmissing-prototypes" 6702cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6703/* end confdefs.h. */ 6704__GNUC__ 6705_ACEOF 6706if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 6707 $EGREP "^[0-3]$" >/dev/null 2>&1; then : 6708 6709else 6710 GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Wshadow" 6711fi 6712rm -f conftest* 6713 6714 6715# Check whether --enable-werror was given. 6716if test "${enable_werror+set}" = set; then : 6717 enableval=$enable_werror; case "${enableval}" in 6718 yes | y) ERROR_ON_WARNING="yes" ;; 6719 no | n) ERROR_ON_WARNING="no" ;; 6720 *) as_fn_error "bad value ${enableval} for --enable-werror" "$LINENO" 5 ;; 6721 esac 6722fi 6723 6724 6725# Disable -Wformat by default when using gcc on mingw 6726case "${host}" in 6727 *-*-mingw32*) 6728 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then 6729 GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Wno-format" 6730 fi 6731 ;; 6732 *) ;; 6733esac 6734 6735# Enable -Werror by default when using gcc. Turn it off for releases. 6736if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" -a "$development" = true ; then 6737 ERROR_ON_WARNING=yes 6738fi 6739 6740NO_WERROR= 6741if test "${ERROR_ON_WARNING}" = yes ; then 6742 GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Werror" 6743 NO_WERROR="-Wno-error" 6744fi 6745 6746if test "${GCC}" = yes ; then 6747 WARN_CFLAGS="${GCC_WARN_CFLAGS}" 6748fi 6749 6750# Check whether --enable-build-warnings was given. 6751if test "${enable_build_warnings+set}" = set; then : 6752 enableval=$enable_build_warnings; case "${enableval}" in 6753 yes) WARN_CFLAGS="${GCC_WARN_CFLAGS}";; 6754 no) if test "${GCC}" = yes ; then 6755 WARN_CFLAGS="-w" 6756 fi;; 6757 ,*) t=`echo "${enableval}" | sed -e "s/,/ /g"` 6758 WARN_CFLAGS="${GCC_WARN_CFLAGS} ${t}";; 6759 *,) t=`echo "${enableval}" | sed -e "s/,/ /g"` 6760 WARN_CFLAGS="${t} ${GCC_WARN_CFLAGS}";; 6761 *) WARN_CFLAGS=`echo "${enableval}" | sed -e "s/,/ /g"`;; 6762esac 6763fi 6764 6765 6766if test x"$silent" != x"yes" && test x"$WARN_CFLAGS" != x""; then 6767 echo "Setting warning flags = $WARN_CFLAGS" 6>&1 6768fi 6769 6770 6771 6772 6773 6774WARN_CXXFLAGS=`echo ${WARN_CFLAGS} | sed -e 's/-Wstrict-prototypes//' -e 's/-Wmissing-prototypes//' -e 's/-Wshadow//'` 6775 6776 6777 6778# Check whether --with-gold-ldflags was given. 6779if test "${with_gold_ldflags+set}" = set; then : 6780 withval=$with_gold_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then 6781 GOLD_LDFLAGS= 6782 else 6783 GOLD_LDFLAGS=$withval 6784 fi 6785else 6786 GOLD_LDFLAGS= 6787fi 6788 6789 6790 6791 6792# Check whether --with-gold-ldadd was given. 6793if test "${with_gold_ldadd+set}" = set; then : 6794 withval=$with_gold_ldadd; if test "$withval" = "no" -o "$withval" = "yes"; then 6795 GOLD_LDADD= 6796 else 6797 GOLD_LDADD=$withval 6798 fi 6799else 6800 GOLD_LDADD= 6801fi 6802 6803 6804 6805LFS_CFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" 6806 6807 6808for ac_header in sys/mman.h 6809do : 6810 ac_fn_c_check_header_mongrel "$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default" 6811if test "x$ac_cv_header_sys_mman_h" = x""yes; then : 6812 cat >>confdefs.h <<_ACEOF 6813#define HAVE_SYS_MMAN_H 1 6814_ACEOF 6815 6816fi 6817 6818done 6819 6820for ac_func in chsize mmap 6821do : 6822 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 6823ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 6824eval as_val=\$$as_ac_var 6825 if test "x$as_val" = x""yes; then : 6826 cat >>confdefs.h <<_ACEOF 6827#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 6828_ACEOF 6829 6830fi 6831done 6832 6833for ac_func in pread ftruncate ffsll 6834do : 6835 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 6836ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 6837eval as_val=\$$as_ac_var 6838 if test "x$as_val" = x""yes; then : 6839 cat >>confdefs.h <<_ACEOF 6840#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 6841_ACEOF 6842 6843else 6844 case " $LIBOBJS " in 6845 *" $ac_func.$ac_objext "* ) ;; 6846 *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" 6847 ;; 6848esac 6849 6850fi 6851done 6852 6853 6854 6855{ $as_echo "$as_me:${as_lineno-$LINENO}: checking mremap with MREMAP_MAYMOVE" >&5 6856$as_echo_n "checking mremap with MREMAP_MAYMOVE... " >&6; } 6857if test "${gold_cv_lib_mremap_maymove+set}" = set; then : 6858 $as_echo_n "(cached) " >&6 6859else 6860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6861/* end confdefs.h. */ 6862 6863 6864#include <sys/mman.h> 6865void f() { mremap (0, 0, 0, MREMAP_MAYMOVE); } 6866 6867int 6868main () 6869{ 6870 6871 ; 6872 return 0; 6873} 6874_ACEOF 6875if ac_fn_c_try_link "$LINENO"; then : 6876 gold_cv_lib_mremap_maymove=yes 6877else 6878 gold_cv_lib_mremap_maymove=no 6879fi 6880rm -f core conftest.err conftest.$ac_objext \ 6881 conftest$ac_exeext conftest.$ac_ext 6882fi 6883{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_lib_mremap_maymove" >&5 6884$as_echo "$gold_cv_lib_mremap_maymove" >&6; } 6885if test "$gold_cv_lib_mremap_maymove" = "yes"; then 6886 6887$as_echo "#define HAVE_MREMAP 1" >>confdefs.h 6888 6889else 6890 case " $LIBOBJS " in 6891 *" mremap.$ac_objext "* ) ;; 6892 *) LIBOBJS="$LIBOBJS mremap.$ac_objext" 6893 ;; 6894esac 6895 6896fi 6897 6898# Link in zlib if we can. This allows us to write compressed sections. 6899 6900 # See if the user specified whether he wants zlib support or not. 6901 6902# Check whether --with-zlib was given. 6903if test "${with_zlib+set}" = set; then : 6904 withval=$with_zlib; 6905else 6906 with_zlib=auto 6907fi 6908 6909 6910 if test "$with_zlib" != "no"; then 6911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing zlibVersion" >&5 6912$as_echo_n "checking for library containing zlibVersion... " >&6; } 6913if test "${ac_cv_search_zlibVersion+set}" = set; then : 6914 $as_echo_n "(cached) " >&6 6915else 6916 ac_func_search_save_LIBS=$LIBS 6917cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6918/* end confdefs.h. */ 6919 6920/* Override any GCC internal prototype to avoid an error. 6921 Use char because int might match the return type of a GCC 6922 builtin and then its argument prototype would still apply. */ 6923#ifdef __cplusplus 6924extern "C" 6925#endif 6926char zlibVersion (); 6927int 6928main () 6929{ 6930return zlibVersion (); 6931 ; 6932 return 0; 6933} 6934_ACEOF 6935for ac_lib in '' z; do 6936 if test -z "$ac_lib"; then 6937 ac_res="none required" 6938 else 6939 ac_res=-l$ac_lib 6940 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 6941 fi 6942 if ac_fn_c_try_link "$LINENO"; then : 6943 ac_cv_search_zlibVersion=$ac_res 6944fi 6945rm -f core conftest.err conftest.$ac_objext \ 6946 conftest$ac_exeext 6947 if test "${ac_cv_search_zlibVersion+set}" = set; then : 6948 break 6949fi 6950done 6951if test "${ac_cv_search_zlibVersion+set}" = set; then : 6952 6953else 6954 ac_cv_search_zlibVersion=no 6955fi 6956rm conftest.$ac_ext 6957LIBS=$ac_func_search_save_LIBS 6958fi 6959{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_zlibVersion" >&5 6960$as_echo "$ac_cv_search_zlibVersion" >&6; } 6961ac_res=$ac_cv_search_zlibVersion 6962if test "$ac_res" != no; then : 6963 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 6964 for ac_header in zlib.h 6965do : 6966 ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default" 6967if test "x$ac_cv_header_zlib_h" = x""yes; then : 6968 cat >>confdefs.h <<_ACEOF 6969#define HAVE_ZLIB_H 1 6970_ACEOF 6971 6972fi 6973 6974done 6975 6976fi 6977 6978 if test "$with_zlib" = "yes" -a "$ac_cv_header_zlib_h" != "yes"; then 6979 as_fn_error "zlib (libz) library was explicitly requested but not found" "$LINENO" 5 6980 fi 6981 fi 6982 6983 if test "$ac_cv_header_zlib_h" = "yes"; then 6984 HAVE_ZLIB_TRUE= 6985 HAVE_ZLIB_FALSE='#' 6986else 6987 HAVE_ZLIB_TRUE='#' 6988 HAVE_ZLIB_FALSE= 6989fi 6990 6991 6992ac_fn_c_check_decl "$LINENO" "basename" "ac_cv_have_decl_basename" "$ac_includes_default" 6993if test "x$ac_cv_have_decl_basename" = x""yes; then : 6994 ac_have_decl=1 6995else 6996 ac_have_decl=0 6997fi 6998 6999cat >>confdefs.h <<_ACEOF 7000#define HAVE_DECL_BASENAME $ac_have_decl 7001_ACEOF 7002ac_fn_c_check_decl "$LINENO" "ffs" "ac_cv_have_decl_ffs" "$ac_includes_default" 7003if test "x$ac_cv_have_decl_ffs" = x""yes; then : 7004 ac_have_decl=1 7005else 7006 ac_have_decl=0 7007fi 7008 7009cat >>confdefs.h <<_ACEOF 7010#define HAVE_DECL_FFS $ac_have_decl 7011_ACEOF 7012ac_fn_c_check_decl "$LINENO" "asprintf" "ac_cv_have_decl_asprintf" "$ac_includes_default" 7013if test "x$ac_cv_have_decl_asprintf" = x""yes; then : 7014 ac_have_decl=1 7015else 7016 ac_have_decl=0 7017fi 7018 7019cat >>confdefs.h <<_ACEOF 7020#define HAVE_DECL_ASPRINTF $ac_have_decl 7021_ACEOF 7022ac_fn_c_check_decl "$LINENO" "vasprintf" "ac_cv_have_decl_vasprintf" "$ac_includes_default" 7023if test "x$ac_cv_have_decl_vasprintf" = x""yes; then : 7024 ac_have_decl=1 7025else 7026 ac_have_decl=0 7027fi 7028 7029cat >>confdefs.h <<_ACEOF 7030#define HAVE_DECL_VASPRINTF $ac_have_decl 7031_ACEOF 7032ac_fn_c_check_decl "$LINENO" "snprintf" "ac_cv_have_decl_snprintf" "$ac_includes_default" 7033if test "x$ac_cv_have_decl_snprintf" = x""yes; then : 7034 ac_have_decl=1 7035else 7036 ac_have_decl=0 7037fi 7038 7039cat >>confdefs.h <<_ACEOF 7040#define HAVE_DECL_SNPRINTF $ac_have_decl 7041_ACEOF 7042ac_fn_c_check_decl "$LINENO" "vsnprintf" "ac_cv_have_decl_vsnprintf" "$ac_includes_default" 7043if test "x$ac_cv_have_decl_vsnprintf" = x""yes; then : 7044 ac_have_decl=1 7045else 7046 ac_have_decl=0 7047fi 7048 7049cat >>confdefs.h <<_ACEOF 7050#define HAVE_DECL_VSNPRINTF $ac_have_decl 7051_ACEOF 7052ac_fn_c_check_decl "$LINENO" "strverscmp" "ac_cv_have_decl_strverscmp" "$ac_includes_default" 7053if test "x$ac_cv_have_decl_strverscmp" = x""yes; then : 7054 ac_have_decl=1 7055else 7056 ac_have_decl=0 7057fi 7058 7059cat >>confdefs.h <<_ACEOF 7060#define HAVE_DECL_STRVERSCMP $ac_have_decl 7061_ACEOF 7062 7063 7064save_CFLAGS="$CFLAGS" 7065CFLAGS="$CFLAGS -Werror -gpubnames" 7066cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7067/* end confdefs.h. */ 7068int i; 7069_ACEOF 7070if ac_fn_c_try_compile "$LINENO"; then : 7071 have_pubnames=yes 7072else 7073 have_pubnames=no 7074fi 7075rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7076CFLAGS="$save_CFLAGS" 7077 if test "$have_pubnames" = "yes"; then 7078 HAVE_PUBNAMES_TRUE= 7079 HAVE_PUBNAMES_FALSE='#' 7080else 7081 HAVE_PUBNAMES_TRUE='#' 7082 HAVE_PUBNAMES_FALSE= 7083fi 7084 7085 7086save_CFLAGS="$CFLAGS" 7087CFLAGS="$CFLAGS -Werror -fno-use-linker-plugin" 7088cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7089/* end confdefs.h. */ 7090int i; 7091_ACEOF 7092if ac_fn_c_try_compile "$LINENO"; then : 7093 have_no_use_linker_plugin=yes 7094else 7095 have_no_use_linker_plugin=no 7096fi 7097rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7098CFLAGS="$save_CFLAGS" 7099 if test "$have_no_use_linker_plugin" = "yes"; then 7100 HAVE_NO_USE_LINKER_PLUGIN_TRUE= 7101 HAVE_NO_USE_LINKER_PLUGIN_FALSE='#' 7102else 7103 HAVE_NO_USE_LINKER_PLUGIN_TRUE='#' 7104 HAVE_NO_USE_LINKER_PLUGIN_FALSE= 7105fi 7106 7107 7108ac_ext=cpp 7109ac_cpp='$CXXCPP $CPPFLAGS' 7110ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7111ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7112ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 7113 7114 7115 7116ac_ext=cpp 7117ac_cpp='$CXXCPP $CPPFLAGS' 7118ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7119ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7120ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 7121{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 7122$as_echo_n "checking how to run the C++ preprocessor... " >&6; } 7123if test -z "$CXXCPP"; then 7124 if test "${ac_cv_prog_CXXCPP+set}" = set; then : 7125 $as_echo_n "(cached) " >&6 7126else 7127 # Double quotes because CXXCPP needs to be expanded 7128 for CXXCPP in "$CXX -E" "/lib/cpp" 7129 do 7130 ac_preproc_ok=false 7131for ac_cxx_preproc_warn_flag in '' yes 7132do 7133 # Use a header file that comes with gcc, so configuring glibc 7134 # with a fresh cross-compiler works. 7135 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7136 # <limits.h> exists even on freestanding compilers. 7137 # On the NeXT, cc -E runs the code through the compiler's parser, 7138 # not just through cpp. "Syntax error" is here to catch this case. 7139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7140/* end confdefs.h. */ 7141#ifdef __STDC__ 7142# include <limits.h> 7143#else 7144# include <assert.h> 7145#endif 7146 Syntax error 7147_ACEOF 7148if ac_fn_cxx_try_cpp "$LINENO"; then : 7149 7150else 7151 # Broken: fails on valid input. 7152continue 7153fi 7154rm -f conftest.err conftest.$ac_ext 7155 7156 # OK, works on sane cases. Now check whether nonexistent headers 7157 # can be detected and how. 7158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7159/* end confdefs.h. */ 7160#include <ac_nonexistent.h> 7161_ACEOF 7162if ac_fn_cxx_try_cpp "$LINENO"; then : 7163 # Broken: success on invalid input. 7164continue 7165else 7166 # Passes both tests. 7167ac_preproc_ok=: 7168break 7169fi 7170rm -f conftest.err conftest.$ac_ext 7171 7172done 7173# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7174rm -f conftest.err conftest.$ac_ext 7175if $ac_preproc_ok; then : 7176 break 7177fi 7178 7179 done 7180 ac_cv_prog_CXXCPP=$CXXCPP 7181 7182fi 7183 CXXCPP=$ac_cv_prog_CXXCPP 7184else 7185 ac_cv_prog_CXXCPP=$CXXCPP 7186fi 7187{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5 7188$as_echo "$CXXCPP" >&6; } 7189ac_preproc_ok=false 7190for ac_cxx_preproc_warn_flag in '' yes 7191do 7192 # Use a header file that comes with gcc, so configuring glibc 7193 # with a fresh cross-compiler works. 7194 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7195 # <limits.h> exists even on freestanding compilers. 7196 # On the NeXT, cc -E runs the code through the compiler's parser, 7197 # not just through cpp. "Syntax error" is here to catch this case. 7198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7199/* end confdefs.h. */ 7200#ifdef __STDC__ 7201# include <limits.h> 7202#else 7203# include <assert.h> 7204#endif 7205 Syntax error 7206_ACEOF 7207if ac_fn_cxx_try_cpp "$LINENO"; then : 7208 7209else 7210 # Broken: fails on valid input. 7211continue 7212fi 7213rm -f conftest.err conftest.$ac_ext 7214 7215 # OK, works on sane cases. Now check whether nonexistent headers 7216 # can be detected and how. 7217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7218/* end confdefs.h. */ 7219#include <ac_nonexistent.h> 7220_ACEOF 7221if ac_fn_cxx_try_cpp "$LINENO"; then : 7222 # Broken: success on invalid input. 7223continue 7224else 7225 # Passes both tests. 7226ac_preproc_ok=: 7227break 7228fi 7229rm -f conftest.err conftest.$ac_ext 7230 7231done 7232# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7233rm -f conftest.err conftest.$ac_ext 7234if $ac_preproc_ok; then : 7235 7236else 7237 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 7238$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7239as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check 7240See \`config.log' for more details." "$LINENO" 5; } 7241fi 7242 7243ac_ext=cpp 7244ac_cpp='$CXXCPP $CPPFLAGS' 7245ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7246ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7247ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 7248 7249 7250for ac_header in unordered_set unordered_map 7251do : 7252 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7253ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 7254eval as_val=\$$as_ac_Header 7255 if test "x$as_val" = x""yes; then : 7256 cat >>confdefs.h <<_ACEOF 7257#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 7258_ACEOF 7259 7260fi 7261 7262done 7263 7264for ac_header in tr1/unordered_set tr1/unordered_map 7265do : 7266 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7267ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 7268eval as_val=\$$as_ac_Header 7269 if test "x$as_val" = x""yes; then : 7270 cat >>confdefs.h <<_ACEOF 7271#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 7272_ACEOF 7273 7274fi 7275 7276done 7277 7278for ac_header in ext/hash_map ext/hash_set 7279do : 7280 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7281ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 7282eval as_val=\$$as_ac_Header 7283 if test "x$as_val" = x""yes; then : 7284 cat >>confdefs.h <<_ACEOF 7285#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 7286_ACEOF 7287 7288fi 7289 7290done 7291 7292for ac_header in byteswap.h 7293do : 7294 ac_fn_cxx_check_header_mongrel "$LINENO" "byteswap.h" "ac_cv_header_byteswap_h" "$ac_includes_default" 7295if test "x$ac_cv_header_byteswap_h" = x""yes; then : 7296 cat >>confdefs.h <<_ACEOF 7297#define HAVE_BYTESWAP_H 1 7298_ACEOF 7299 7300fi 7301 7302done 7303 7304 7305for ac_header in windows.h 7306do : 7307 ac_fn_cxx_check_header_mongrel "$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default" 7308if test "x$ac_cv_header_windows_h" = x""yes; then : 7309 cat >>confdefs.h <<_ACEOF 7310#define HAVE_WINDOWS_H 1 7311_ACEOF 7312 7313fi 7314 7315done 7316 7317for ac_header in dlfcn.h 7318do : 7319 ac_fn_cxx_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default" 7320if test "x$ac_cv_header_dlfcn_h" = x""yes; then : 7321 cat >>confdefs.h <<_ACEOF 7322#define HAVE_DLFCN_H 1 7323_ACEOF 7324 7325fi 7326 7327done 7328 7329{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5 7330$as_echo_n "checking for library containing dlopen... " >&6; } 7331if test "${ac_cv_search_dlopen+set}" = set; then : 7332 $as_echo_n "(cached) " >&6 7333else 7334 ac_func_search_save_LIBS=$LIBS 7335cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7336/* end confdefs.h. */ 7337 7338/* Override any GCC internal prototype to avoid an error. 7339 Use char because int might match the return type of a GCC 7340 builtin and then its argument prototype would still apply. */ 7341#ifdef __cplusplus 7342extern "C" 7343#endif 7344char dlopen (); 7345int 7346main () 7347{ 7348return dlopen (); 7349 ; 7350 return 0; 7351} 7352_ACEOF 7353for ac_lib in '' dl dld; do 7354 if test -z "$ac_lib"; then 7355 ac_res="none required" 7356 else 7357 ac_res=-l$ac_lib 7358 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 7359 fi 7360 if ac_fn_cxx_try_link "$LINENO"; then : 7361 ac_cv_search_dlopen=$ac_res 7362fi 7363rm -f core conftest.err conftest.$ac_objext \ 7364 conftest$ac_exeext 7365 if test "${ac_cv_search_dlopen+set}" = set; then : 7366 break 7367fi 7368done 7369if test "${ac_cv_search_dlopen+set}" = set; then : 7370 7371else 7372 ac_cv_search_dlopen=no 7373fi 7374rm conftest.$ac_ext 7375LIBS=$ac_func_search_save_LIBS 7376fi 7377{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5 7378$as_echo "$ac_cv_search_dlopen" >&6; } 7379ac_res=$ac_cv_search_dlopen 7380if test "$ac_res" != no; then : 7381 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 7382 7383fi 7384 7385case "$ac_cv_search_dlopen" in 7386 no*) DLOPEN_LIBS="";; 7387 *) DLOPEN_LIBS="$ac_cv_search_dlopen";; 7388esac 7389 7390 7391for ac_func in mallinfo posix_fallocate fallocate readv sysconf times 7392do : 7393 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 7394ac_fn_cxx_check_func "$LINENO" "$ac_func" "$as_ac_var" 7395eval as_val=\$$as_ac_var 7396 if test "x$as_val" = x""yes; then : 7397 cat >>confdefs.h <<_ACEOF 7398#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 7399_ACEOF 7400 7401fi 7402done 7403 7404ac_fn_cxx_check_decl "$LINENO" "basename" "ac_cv_have_decl_basename" "$ac_includes_default" 7405if test "x$ac_cv_have_decl_basename" = x""yes; then : 7406 ac_have_decl=1 7407else 7408 ac_have_decl=0 7409fi 7410 7411cat >>confdefs.h <<_ACEOF 7412#define HAVE_DECL_BASENAME $ac_have_decl 7413_ACEOF 7414ac_fn_cxx_check_decl "$LINENO" "ffs" "ac_cv_have_decl_ffs" "$ac_includes_default" 7415if test "x$ac_cv_have_decl_ffs" = x""yes; then : 7416 ac_have_decl=1 7417else 7418 ac_have_decl=0 7419fi 7420 7421cat >>confdefs.h <<_ACEOF 7422#define HAVE_DECL_FFS $ac_have_decl 7423_ACEOF 7424ac_fn_cxx_check_decl "$LINENO" "asprintf" "ac_cv_have_decl_asprintf" "$ac_includes_default" 7425if test "x$ac_cv_have_decl_asprintf" = x""yes; then : 7426 ac_have_decl=1 7427else 7428 ac_have_decl=0 7429fi 7430 7431cat >>confdefs.h <<_ACEOF 7432#define HAVE_DECL_ASPRINTF $ac_have_decl 7433_ACEOF 7434ac_fn_cxx_check_decl "$LINENO" "vasprintf" "ac_cv_have_decl_vasprintf" "$ac_includes_default" 7435if test "x$ac_cv_have_decl_vasprintf" = x""yes; then : 7436 ac_have_decl=1 7437else 7438 ac_have_decl=0 7439fi 7440 7441cat >>confdefs.h <<_ACEOF 7442#define HAVE_DECL_VASPRINTF $ac_have_decl 7443_ACEOF 7444ac_fn_cxx_check_decl "$LINENO" "snprintf" "ac_cv_have_decl_snprintf" "$ac_includes_default" 7445if test "x$ac_cv_have_decl_snprintf" = x""yes; then : 7446 ac_have_decl=1 7447else 7448 ac_have_decl=0 7449fi 7450 7451cat >>confdefs.h <<_ACEOF 7452#define HAVE_DECL_SNPRINTF $ac_have_decl 7453_ACEOF 7454ac_fn_cxx_check_decl "$LINENO" "vsnprintf" "ac_cv_have_decl_vsnprintf" "$ac_includes_default" 7455if test "x$ac_cv_have_decl_vsnprintf" = x""yes; then : 7456 ac_have_decl=1 7457else 7458 ac_have_decl=0 7459fi 7460 7461cat >>confdefs.h <<_ACEOF 7462#define HAVE_DECL_VSNPRINTF $ac_have_decl 7463_ACEOF 7464ac_fn_cxx_check_decl "$LINENO" "strverscmp" "ac_cv_have_decl_strverscmp" "$ac_includes_default" 7465if test "x$ac_cv_have_decl_strverscmp" = x""yes; then : 7466 ac_have_decl=1 7467else 7468 ac_have_decl=0 7469fi 7470 7471cat >>confdefs.h <<_ACEOF 7472#define HAVE_DECL_STRVERSCMP $ac_have_decl 7473_ACEOF 7474ac_fn_cxx_check_decl "$LINENO" "strndup" "ac_cv_have_decl_strndup" "$ac_includes_default" 7475if test "x$ac_cv_have_decl_strndup" = x""yes; then : 7476 ac_have_decl=1 7477else 7478 ac_have_decl=0 7479fi 7480 7481cat >>confdefs.h <<_ACEOF 7482#define HAVE_DECL_STRNDUP $ac_have_decl 7483_ACEOF 7484ac_fn_cxx_check_decl "$LINENO" "memmem" "ac_cv_have_decl_memmem" "$ac_includes_default" 7485if test "x$ac_cv_have_decl_memmem" = x""yes; then : 7486 ac_have_decl=1 7487else 7488 ac_have_decl=0 7489fi 7490 7491cat >>confdefs.h <<_ACEOF 7492#define HAVE_DECL_MEMMEM $ac_have_decl 7493_ACEOF 7494 7495 7496# Use of ::std::tr1::unordered_map::rehash causes undefined symbols 7497# at link time with some versions of GCC. 7498{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ::std::tr1::unordered_map::rehash is usable." >&5 7499$as_echo_n "checking whether ::std::tr1::unordered_map::rehash is usable.... " >&6; } 7500if test "${gold_cv_unordered_map_rehash+set}" = set; then : 7501 $as_echo_n "(cached) " >&6 7502else 7503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7504/* end confdefs.h. */ 7505 7506#include <tr1/unordered_map> 7507void bar() { ::std::tr1::unordered_map<int, int> x; x.rehash(10); } 7508 7509int 7510main () 7511{ 7512 7513 ; 7514 return 0; 7515} 7516_ACEOF 7517if ac_fn_cxx_try_link "$LINENO"; then : 7518 gold_cv_unordered_map_rehash=yes 7519else 7520 gold_cv_unordered_map_rehash=no 7521fi 7522rm -f core conftest.err conftest.$ac_objext \ 7523 conftest$ac_exeext conftest.$ac_ext 7524fi 7525{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_unordered_map_rehash" >&5 7526$as_echo "$gold_cv_unordered_map_rehash" >&6; } 7527if test "$gold_cv_unordered_map_rehash" = "yes"; then 7528 7529$as_echo "#define HAVE_TR1_UNORDERED_MAP_REHASH 1" >>confdefs.h 7530 7531fi 7532 7533# Use of tr1/unordered_map with off_t as a key is not supported on GCC 7534# 4.1.xx when compiling in 32-bit mode with a 64-bit off_t type. 7535{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether std::tr1::hash<off_t> is defined" >&5 7536$as_echo_n "checking whether std::tr1::hash<off_t> is defined... " >&6; } 7537if test "${gold_cv_hash_off_t+set}" = set; then : 7538 $as_echo_n "(cached) " >&6 7539else 7540 CXXFLAGS_hold=$CXXFLAGS 7541CXXFLAGS="$CXXFLAGS $LFS_CFLAGS" 7542cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7543/* end confdefs.h. */ 7544 7545#include <sys/types.h> 7546#include <tr1/unordered_map> 7547std::tr1::hash<off_t> h; 7548 7549_ACEOF 7550if ac_fn_cxx_try_compile "$LINENO"; then : 7551 gold_cv_hash_off_t=yes 7552else 7553 gold_cv_hash_off_t=no 7554fi 7555rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7556CXXFLAGS=$CXXFLAGS_hold 7557fi 7558{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_hash_off_t" >&5 7559$as_echo "$gold_cv_hash_off_t" >&6; } 7560if test "$gold_cv_hash_off_t" = "yes"; then 7561 7562$as_echo "#define HAVE_TR1_HASH_OFF_T 1" >>confdefs.h 7563 7564fi 7565 7566# gcc 4.3.0 doesn't recognize the printf attribute on a template 7567# function. Check for that. This is gcc bug 35546. This test can 7568# probably be removed after the bug has been fixed for a while. 7569{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use attributes with template functions" >&5 7570$as_echo_n "checking whether we can use attributes with template functions... " >&6; } 7571if test "${gold_cv_template_attribute+set}" = set; then : 7572 $as_echo_n "(cached) " >&6 7573else 7574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7575/* end confdefs.h. */ 7576 7577template<typename T> extern void foo(const char*, ...) 7578 __attribute__ ((__format__ (__printf__, 1, 2))); 7579template<typename T> void foo(const char* format, ...) {} 7580void bar() { foo<int>("%s\n", "foo"); } 7581 7582_ACEOF 7583if ac_fn_cxx_try_compile "$LINENO"; then : 7584 gold_cv_template_attribute=yes 7585else 7586 gold_cv_template_attribute=no 7587fi 7588rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7589fi 7590{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_template_attribute" >&5 7591$as_echo "$gold_cv_template_attribute" >&6; } 7592if test "$gold_cv_template_attribute" = "yes"; then 7593 7594$as_echo "#define HAVE_TEMPLATE_ATTRIBUTES 1" >>confdefs.h 7595 7596fi 7597 7598{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat::st_mtim." >&5 7599$as_echo_n "checking for struct stat::st_mtim.... " >&6; } 7600if test "${gold_cv_stat_st_mtim+set}" = set; then : 7601 $as_echo_n "(cached) " >&6 7602else 7603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7604/* end confdefs.h. */ 7605 7606#include <sys/stat.h> 7607long bar() { struct stat s; return (long)(s.st_mtim.tv_sec + s.st_mtim.tv_sec);} 7608 7609int 7610main () 7611{ 7612 7613 ; 7614 return 0; 7615} 7616_ACEOF 7617if ac_fn_cxx_try_compile "$LINENO"; then : 7618 gold_cv_stat_st_mtim=yes 7619else 7620 gold_cv_stat_st_mtim=no 7621fi 7622rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7623fi 7624{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_stat_st_mtim" >&5 7625$as_echo "$gold_cv_stat_st_mtim" >&6; } 7626if test "$gold_cv_stat_st_mtim" = "yes"; then 7627 7628$as_echo "#define HAVE_STAT_ST_MTIM 1" >>confdefs.h 7629 7630fi 7631 7632ac_ext=c 7633ac_cpp='$CPP $CPPFLAGS' 7634ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7635ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7636ac_compiler_gnu=$ac_cv_c_compiler_gnu 7637 7638 7639for ac_header in locale.h 7640do : 7641 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default" 7642if test "x$ac_cv_header_locale_h" = x""yes; then : 7643 cat >>confdefs.h <<_ACEOF 7644#define HAVE_LOCALE_H 1 7645_ACEOF 7646 7647fi 7648 7649done 7650 7651for ac_func in setlocale 7652do : 7653 ac_fn_c_check_func "$LINENO" "setlocale" "ac_cv_func_setlocale" 7654if test "x$ac_cv_func_setlocale" = x""yes; then : 7655 cat >>confdefs.h <<_ACEOF 7656#define HAVE_SETLOCALE 1 7657_ACEOF 7658 7659fi 7660done 7661 7662 7663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5 7664$as_echo_n "checking for LC_MESSAGES... " >&6; } 7665if test "${am_cv_val_LC_MESSAGES+set}" = set; then : 7666 $as_echo_n "(cached) " >&6 7667else 7668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7669/* end confdefs.h. */ 7670#include <locale.h> 7671int 7672main () 7673{ 7674return LC_MESSAGES 7675 ; 7676 return 0; 7677} 7678_ACEOF 7679if ac_fn_c_try_link "$LINENO"; then : 7680 am_cv_val_LC_MESSAGES=yes 7681else 7682 am_cv_val_LC_MESSAGES=no 7683fi 7684rm -f core conftest.err conftest.$ac_objext \ 7685 conftest$ac_exeext conftest.$ac_ext 7686fi 7687{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5 7688$as_echo "$am_cv_val_LC_MESSAGES" >&6; } 7689 if test $am_cv_val_LC_MESSAGES = yes; then 7690 7691$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h 7692 7693 fi 7694 7695 7696 7697{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 7698$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 7699 # Check whether --enable-maintainer-mode was given. 7700if test "${enable_maintainer_mode+set}" = set; then : 7701 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 7702else 7703 USE_MAINTAINER_MODE=no 7704fi 7705 7706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 7707$as_echo "$USE_MAINTAINER_MODE" >&6; } 7708 if test $USE_MAINTAINER_MODE = yes; then 7709 MAINTAINER_MODE_TRUE= 7710 MAINTAINER_MODE_FALSE='#' 7711else 7712 MAINTAINER_MODE_TRUE='#' 7713 MAINTAINER_MODE_FALSE= 7714fi 7715 7716 MAINT=$MAINTAINER_MODE_TRUE 7717 7718 7719 7720ac_config_files="$ac_config_files Makefile testsuite/Makefile po/Makefile.in:po/Make-in" 7721 7722cat >confcache <<\_ACEOF 7723# This file is a shell script that caches the results of configure 7724# tests run on this system so they can be shared between configure 7725# scripts and configure runs, see configure's option --config-cache. 7726# It is not useful on other systems. If it contains results you don't 7727# want to keep, you may remove or edit it. 7728# 7729# config.status only pays attention to the cache file if you give it 7730# the --recheck option to rerun configure. 7731# 7732# `ac_cv_env_foo' variables (set or unset) will be overridden when 7733# loading this file, other *unset* `ac_cv_foo' will be assigned the 7734# following values. 7735 7736_ACEOF 7737 7738# The following way of writing the cache mishandles newlines in values, 7739# but we know of no workaround that is simple, portable, and efficient. 7740# So, we kill variables containing newlines. 7741# Ultrix sh set writes to stderr and can't be redirected directly, 7742# and sets the high bit in the cache file unless we assign to the vars. 7743( 7744 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 7745 eval ac_val=\$$ac_var 7746 case $ac_val in #( 7747 *${as_nl}*) 7748 case $ac_var in #( 7749 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 7750$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 7751 esac 7752 case $ac_var in #( 7753 _ | IFS | as_nl) ;; #( 7754 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 7755 *) { eval $ac_var=; unset $ac_var;} ;; 7756 esac ;; 7757 esac 7758 done 7759 7760 (set) 2>&1 | 7761 case $as_nl`(ac_space=' '; set) 2>&1` in #( 7762 *${as_nl}ac_space=\ *) 7763 # `set' does not quote correctly, so add quotes: double-quote 7764 # substitution turns \\\\ into \\, and sed turns \\ into \. 7765 sed -n \ 7766 "s/'/'\\\\''/g; 7767 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 7768 ;; #( 7769 *) 7770 # `set' quotes correctly as required by POSIX, so do not add quotes. 7771 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 7772 ;; 7773 esac | 7774 sort 7775) | 7776 sed ' 7777 /^ac_cv_env_/b end 7778 t clear 7779 :clear 7780 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 7781 t end 7782 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 7783 :end' >>confcache 7784if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 7785 if test -w "$cache_file"; then 7786 test "x$cache_file" != "x/dev/null" && 7787 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 7788$as_echo "$as_me: updating cache $cache_file" >&6;} 7789 cat confcache >$cache_file 7790 else 7791 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 7792$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 7793 fi 7794fi 7795rm -f confcache 7796 7797test "x$prefix" = xNONE && prefix=$ac_default_prefix 7798# Let make expand exec_prefix. 7799test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 7800 7801DEFS=-DHAVE_CONFIG_H 7802 7803ac_libobjs= 7804ac_ltlibobjs= 7805for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 7806 # 1. Remove the extension, and $U if already installed. 7807 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 7808 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 7809 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 7810 # will be set to the directory where LIBOBJS objects are built. 7811 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 7812 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 7813done 7814LIBOBJS=$ac_libobjs 7815 7816LTLIBOBJS=$ac_ltlibobjs 7817 7818 7819 if test -n "$EXEEXT"; then 7820 am__EXEEXT_TRUE= 7821 am__EXEEXT_FALSE='#' 7822else 7823 am__EXEEXT_TRUE='#' 7824 am__EXEEXT_FALSE= 7825fi 7826 7827if test -z "${THREADS_TRUE}" && test -z "${THREADS_FALSE}"; then 7828 as_fn_error "conditional \"THREADS\" was never defined. 7829Usually this means the macro was only invoked conditionally." "$LINENO" 5 7830fi 7831if test -z "${PLUGINS_TRUE}" && test -z "${PLUGINS_FALSE}"; then 7832 as_fn_error "conditional \"PLUGINS\" was never defined. 7833Usually this means the macro was only invoked conditionally." "$LINENO" 5 7834fi 7835if test -z "${DEFAULT_TARGET_AARCH64_TRUE}" && test -z "${DEFAULT_TARGET_AARCH64_FALSE}"; then 7836 as_fn_error "conditional \"DEFAULT_TARGET_AARCH64\" was never defined. 7837Usually this means the macro was only invoked conditionally." "$LINENO" 5 7838fi 7839if test -z "${DEFAULT_TARGET_ARM_TRUE}" && test -z "${DEFAULT_TARGET_ARM_FALSE}"; then 7840 as_fn_error "conditional \"DEFAULT_TARGET_ARM\" was never defined. 7841Usually this means the macro was only invoked conditionally." "$LINENO" 5 7842fi 7843if test -z "${DEFAULT_TARGET_I386_TRUE}" && test -z "${DEFAULT_TARGET_I386_FALSE}"; then 7844 as_fn_error "conditional \"DEFAULT_TARGET_I386\" was never defined. 7845Usually this means the macro was only invoked conditionally." "$LINENO" 5 7846fi 7847if test -z "${DEFAULT_TARGET_POWERPC_TRUE}" && test -z "${DEFAULT_TARGET_POWERPC_FALSE}"; then 7848 as_fn_error "conditional \"DEFAULT_TARGET_POWERPC\" was never defined. 7849Usually this means the macro was only invoked conditionally." "$LINENO" 5 7850fi 7851if test -z "${DEFAULT_TARGET_SPARC_TRUE}" && test -z "${DEFAULT_TARGET_SPARC_FALSE}"; then 7852 as_fn_error "conditional \"DEFAULT_TARGET_SPARC\" was never defined. 7853Usually this means the macro was only invoked conditionally." "$LINENO" 5 7854fi 7855if test -z "${DEFAULT_TARGET_X86_64_TRUE}" && test -z "${DEFAULT_TARGET_X86_64_FALSE}"; then 7856 as_fn_error "conditional \"DEFAULT_TARGET_X86_64\" was never defined. 7857Usually this means the macro was only invoked conditionally." "$LINENO" 5 7858fi 7859if test -z "${DEFAULT_TARGET_X32_TRUE}" && test -z "${DEFAULT_TARGET_X32_FALSE}"; then 7860 as_fn_error "conditional \"DEFAULT_TARGET_X32\" was never defined. 7861Usually this means the macro was only invoked conditionally." "$LINENO" 5 7862fi 7863if test -z "${DEFAULT_TARGET_TILEGX_TRUE}" && test -z "${DEFAULT_TARGET_TILEGX_FALSE}"; then 7864 as_fn_error "conditional \"DEFAULT_TARGET_TILEGX\" was never defined. 7865Usually this means the macro was only invoked conditionally." "$LINENO" 5 7866fi 7867if test -z "${DEFAULT_TARGET_MIPS_TRUE}" && test -z "${DEFAULT_TARGET_MIPS_FALSE}"; then 7868 as_fn_error "conditional \"DEFAULT_TARGET_MIPS\" was never defined. 7869Usually this means the macro was only invoked conditionally." "$LINENO" 5 7870fi 7871if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 7872 as_fn_error "conditional \"AMDEP\" was never defined. 7873Usually this means the macro was only invoked conditionally." "$LINENO" 5 7874fi 7875if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 7876 as_fn_error "conditional \"am__fastdepCC\" was never defined. 7877Usually this means the macro was only invoked conditionally." "$LINENO" 5 7878fi 7879if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then 7880 as_fn_error "conditional \"am__fastdepCXX\" was never defined. 7881Usually this means the macro was only invoked conditionally." "$LINENO" 5 7882fi 7883 7884if test -z "${TEST_AS_NATIVE_LINKER_TRUE}" && test -z "${TEST_AS_NATIVE_LINKER_FALSE}"; then 7885 as_fn_error "conditional \"TEST_AS_NATIVE_LINKER\" was never defined. 7886Usually this means the macro was only invoked conditionally." "$LINENO" 5 7887fi 7888if test -z "${GCC_TRUE}" && test -z "${GCC_FALSE}"; then 7889 as_fn_error "conditional \"GCC\" was never defined. 7890Usually this means the macro was only invoked conditionally." "$LINENO" 5 7891fi 7892if test -z "${NATIVE_OR_CROSS_LINKER_TRUE}" && test -z "${NATIVE_OR_CROSS_LINKER_FALSE}"; then 7893 as_fn_error "conditional \"NATIVE_OR_CROSS_LINKER\" was never defined. 7894Usually this means the macro was only invoked conditionally." "$LINENO" 5 7895fi 7896if test -z "${HAVE_STATIC_TRUE}" && test -z "${HAVE_STATIC_FALSE}"; then 7897 as_fn_error "conditional \"HAVE_STATIC\" was never defined. 7898Usually this means the macro was only invoked conditionally." "$LINENO" 5 7899fi 7900if test -z "${FN_PTRS_IN_SO_WITHOUT_PIC_TRUE}" && test -z "${FN_PTRS_IN_SO_WITHOUT_PIC_FALSE}"; then 7901 as_fn_error "conditional \"FN_PTRS_IN_SO_WITHOUT_PIC\" was never defined. 7902Usually this means the macro was only invoked conditionally." "$LINENO" 5 7903fi 7904if test -z "${MCMODEL_MEDIUM_TRUE}" && test -z "${MCMODEL_MEDIUM_FALSE}"; then 7905 as_fn_error "conditional \"MCMODEL_MEDIUM\" was never defined. 7906Usually this means the macro was only invoked conditionally." "$LINENO" 5 7907fi 7908if test -z "${TLS_TRUE}" && test -z "${TLS_FALSE}"; then 7909 as_fn_error "conditional \"TLS\" was never defined. 7910Usually this means the macro was only invoked conditionally." "$LINENO" 5 7911fi 7912if test -z "${STATIC_TLS_TRUE}" && test -z "${STATIC_TLS_FALSE}"; then 7913 as_fn_error "conditional \"STATIC_TLS\" was never defined. 7914Usually this means the macro was only invoked conditionally." "$LINENO" 5 7915fi 7916if test -z "${OMP_SUPPORT_TRUE}" && test -z "${OMP_SUPPORT_FALSE}"; then 7917 as_fn_error "conditional \"OMP_SUPPORT\" was never defined. 7918Usually this means the macro was only invoked conditionally." "$LINENO" 5 7919fi 7920if test -z "${TLS_GNU2_DIALECT_TRUE}" && test -z "${TLS_GNU2_DIALECT_FALSE}"; then 7921 as_fn_error "conditional \"TLS_GNU2_DIALECT\" was never defined. 7922Usually this means the macro was only invoked conditionally." "$LINENO" 5 7923fi 7924if test -z "${TLS_DESCRIPTORS_TRUE}" && test -z "${TLS_DESCRIPTORS_FALSE}"; then 7925 as_fn_error "conditional \"TLS_DESCRIPTORS\" was never defined. 7926Usually this means the macro was only invoked conditionally." "$LINENO" 5 7927fi 7928if test -z "${IFUNC_TRUE}" && test -z "${IFUNC_FALSE}"; then 7929 as_fn_error "conditional \"IFUNC\" was never defined. 7930Usually this means the macro was only invoked conditionally." "$LINENO" 5 7931fi 7932if test -z "${IFUNC_STATIC_TRUE}" && test -z "${IFUNC_STATIC_FALSE}"; then 7933 as_fn_error "conditional \"IFUNC_STATIC\" was never defined. 7934Usually this means the macro was only invoked conditionally." "$LINENO" 5 7935fi 7936if test -z "${HAVE_ZLIB_TRUE}" && test -z "${HAVE_ZLIB_FALSE}"; then 7937 as_fn_error "conditional \"HAVE_ZLIB\" was never defined. 7938Usually this means the macro was only invoked conditionally." "$LINENO" 5 7939fi 7940if test -z "${HAVE_PUBNAMES_TRUE}" && test -z "${HAVE_PUBNAMES_FALSE}"; then 7941 as_fn_error "conditional \"HAVE_PUBNAMES\" was never defined. 7942Usually this means the macro was only invoked conditionally." "$LINENO" 5 7943fi 7944if test -z "${HAVE_NO_USE_LINKER_PLUGIN_TRUE}" && test -z "${HAVE_NO_USE_LINKER_PLUGIN_FALSE}"; then 7945 as_fn_error "conditional \"HAVE_NO_USE_LINKER_PLUGIN\" was never defined. 7946Usually this means the macro was only invoked conditionally." "$LINENO" 5 7947fi 7948if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 7949 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined. 7950Usually this means the macro was only invoked conditionally." "$LINENO" 5 7951fi 7952 7953: ${CONFIG_STATUS=./config.status} 7954ac_write_fail=0 7955ac_clean_files_save=$ac_clean_files 7956ac_clean_files="$ac_clean_files $CONFIG_STATUS" 7957{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 7958$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 7959as_write_fail=0 7960cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 7961#! $SHELL 7962# Generated by $as_me. 7963# Run this file to recreate the current configuration. 7964# Compiler output produced by configure, useful for debugging 7965# configure, is in config.log if it exists. 7966 7967debug=false 7968ac_cs_recheck=false 7969ac_cs_silent=false 7970 7971SHELL=\${CONFIG_SHELL-$SHELL} 7972export SHELL 7973_ASEOF 7974cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 7975## -------------------- ## 7976## M4sh Initialization. ## 7977## -------------------- ## 7978 7979# Be more Bourne compatible 7980DUALCASE=1; export DUALCASE # for MKS sh 7981if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 7982 emulate sh 7983 NULLCMD=: 7984 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 7985 # is contrary to our usage. Disable this feature. 7986 alias -g '${1+"$@"}'='"$@"' 7987 setopt NO_GLOB_SUBST 7988else 7989 case `(set -o) 2>/dev/null` in #( 7990 *posix*) : 7991 set -o posix ;; #( 7992 *) : 7993 ;; 7994esac 7995fi 7996 7997 7998as_nl=' 7999' 8000export as_nl 8001# Printing a long string crashes Solaris 7 /usr/bin/printf. 8002as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 8003as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 8004as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 8005# Prefer a ksh shell builtin over an external printf program on Solaris, 8006# but without wasting forks for bash or zsh. 8007if test -z "$BASH_VERSION$ZSH_VERSION" \ 8008 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 8009 as_echo='print -r --' 8010 as_echo_n='print -rn --' 8011elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 8012 as_echo='printf %s\n' 8013 as_echo_n='printf %s' 8014else 8015 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 8016 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 8017 as_echo_n='/usr/ucb/echo -n' 8018 else 8019 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 8020 as_echo_n_body='eval 8021 arg=$1; 8022 case $arg in #( 8023 *"$as_nl"*) 8024 expr "X$arg" : "X\\(.*\\)$as_nl"; 8025 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 8026 esac; 8027 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 8028 ' 8029 export as_echo_n_body 8030 as_echo_n='sh -c $as_echo_n_body as_echo' 8031 fi 8032 export as_echo_body 8033 as_echo='sh -c $as_echo_body as_echo' 8034fi 8035 8036# The user is always right. 8037if test "${PATH_SEPARATOR+set}" != set; then 8038 PATH_SEPARATOR=: 8039 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 8040 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 8041 PATH_SEPARATOR=';' 8042 } 8043fi 8044 8045 8046# IFS 8047# We need space, tab and new line, in precisely that order. Quoting is 8048# there to prevent editors from complaining about space-tab. 8049# (If _AS_PATH_WALK were called with IFS unset, it would disable word 8050# splitting by setting IFS to empty value.) 8051IFS=" "" $as_nl" 8052 8053# Find who we are. Look in the path if we contain no directory separator. 8054case $0 in #(( 8055 *[\\/]* ) as_myself=$0 ;; 8056 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8057for as_dir in $PATH 8058do 8059 IFS=$as_save_IFS 8060 test -z "$as_dir" && as_dir=. 8061 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 8062 done 8063IFS=$as_save_IFS 8064 8065 ;; 8066esac 8067# We did not find ourselves, most probably we were run as `sh COMMAND' 8068# in which case we are not to be found in the path. 8069if test "x$as_myself" = x; then 8070 as_myself=$0 8071fi 8072if test ! -f "$as_myself"; then 8073 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 8074 exit 1 8075fi 8076 8077# Unset variables that we do not need and which cause bugs (e.g. in 8078# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 8079# suppresses any "Segmentation fault" message there. '((' could 8080# trigger a bug in pdksh 5.2.14. 8081for as_var in BASH_ENV ENV MAIL MAILPATH 8082do eval test x\${$as_var+set} = xset \ 8083 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 8084done 8085PS1='$ ' 8086PS2='> ' 8087PS4='+ ' 8088 8089# NLS nuisances. 8090LC_ALL=C 8091export LC_ALL 8092LANGUAGE=C 8093export LANGUAGE 8094 8095# CDPATH. 8096(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 8097 8098 8099# as_fn_error ERROR [LINENO LOG_FD] 8100# --------------------------------- 8101# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 8102# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 8103# script with status $?, using 1 if that was 0. 8104as_fn_error () 8105{ 8106 as_status=$?; test $as_status -eq 0 && as_status=1 8107 if test "$3"; then 8108 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 8109 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 8110 fi 8111 $as_echo "$as_me: error: $1" >&2 8112 as_fn_exit $as_status 8113} # as_fn_error 8114 8115 8116# as_fn_set_status STATUS 8117# ----------------------- 8118# Set $? to STATUS, without forking. 8119as_fn_set_status () 8120{ 8121 return $1 8122} # as_fn_set_status 8123 8124# as_fn_exit STATUS 8125# ----------------- 8126# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 8127as_fn_exit () 8128{ 8129 set +e 8130 as_fn_set_status $1 8131 exit $1 8132} # as_fn_exit 8133 8134# as_fn_unset VAR 8135# --------------- 8136# Portably unset VAR. 8137as_fn_unset () 8138{ 8139 { eval $1=; unset $1;} 8140} 8141as_unset=as_fn_unset 8142# as_fn_append VAR VALUE 8143# ---------------------- 8144# Append the text in VALUE to the end of the definition contained in VAR. Take 8145# advantage of any shell optimizations that allow amortized linear growth over 8146# repeated appends, instead of the typical quadratic growth present in naive 8147# implementations. 8148if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 8149 eval 'as_fn_append () 8150 { 8151 eval $1+=\$2 8152 }' 8153else 8154 as_fn_append () 8155 { 8156 eval $1=\$$1\$2 8157 } 8158fi # as_fn_append 8159 8160# as_fn_arith ARG... 8161# ------------------ 8162# Perform arithmetic evaluation on the ARGs, and store the result in the 8163# global $as_val. Take advantage of shells that can avoid forks. The arguments 8164# must be portable across $(()) and expr. 8165if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 8166 eval 'as_fn_arith () 8167 { 8168 as_val=$(( $* )) 8169 }' 8170else 8171 as_fn_arith () 8172 { 8173 as_val=`expr "$@" || test $? -eq 1` 8174 } 8175fi # as_fn_arith 8176 8177 8178if expr a : '\(a\)' >/dev/null 2>&1 && 8179 test "X`expr 00001 : '.*\(...\)'`" = X001; then 8180 as_expr=expr 8181else 8182 as_expr=false 8183fi 8184 8185if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 8186 as_basename=basename 8187else 8188 as_basename=false 8189fi 8190 8191if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 8192 as_dirname=dirname 8193else 8194 as_dirname=false 8195fi 8196 8197as_me=`$as_basename -- "$0" || 8198$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 8199 X"$0" : 'X\(//\)$' \| \ 8200 X"$0" : 'X\(/\)' \| . 2>/dev/null || 8201$as_echo X/"$0" | 8202 sed '/^.*\/\([^/][^/]*\)\/*$/{ 8203 s//\1/ 8204 q 8205 } 8206 /^X\/\(\/\/\)$/{ 8207 s//\1/ 8208 q 8209 } 8210 /^X\/\(\/\).*/{ 8211 s//\1/ 8212 q 8213 } 8214 s/.*/./; q'` 8215 8216# Avoid depending upon Character Ranges. 8217as_cr_letters='abcdefghijklmnopqrstuvwxyz' 8218as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 8219as_cr_Letters=$as_cr_letters$as_cr_LETTERS 8220as_cr_digits='0123456789' 8221as_cr_alnum=$as_cr_Letters$as_cr_digits 8222 8223ECHO_C= ECHO_N= ECHO_T= 8224case `echo -n x` in #((((( 8225-n*) 8226 case `echo 'xy\c'` in 8227 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 8228 xy) ECHO_C='\c';; 8229 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 8230 ECHO_T=' ';; 8231 esac;; 8232*) 8233 ECHO_N='-n';; 8234esac 8235 8236rm -f conf$$ conf$$.exe conf$$.file 8237if test -d conf$$.dir; then 8238 rm -f conf$$.dir/conf$$.file 8239else 8240 rm -f conf$$.dir 8241 mkdir conf$$.dir 2>/dev/null 8242fi 8243if (echo >conf$$.file) 2>/dev/null; then 8244 if ln -s conf$$.file conf$$ 2>/dev/null; then 8245 as_ln_s='ln -s' 8246 # ... but there are two gotchas: 8247 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 8248 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 8249 # In both cases, we have to default to `cp -p'. 8250 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 8251 as_ln_s='cp -p' 8252 elif ln conf$$.file conf$$ 2>/dev/null; then 8253 as_ln_s=ln 8254 else 8255 as_ln_s='cp -p' 8256 fi 8257else 8258 as_ln_s='cp -p' 8259fi 8260rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 8261rmdir conf$$.dir 2>/dev/null 8262 8263 8264# as_fn_mkdir_p 8265# ------------- 8266# Create "$as_dir" as a directory, including parents if necessary. 8267as_fn_mkdir_p () 8268{ 8269 8270 case $as_dir in #( 8271 -*) as_dir=./$as_dir;; 8272 esac 8273 test -d "$as_dir" || eval $as_mkdir_p || { 8274 as_dirs= 8275 while :; do 8276 case $as_dir in #( 8277 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 8278 *) as_qdir=$as_dir;; 8279 esac 8280 as_dirs="'$as_qdir' $as_dirs" 8281 as_dir=`$as_dirname -- "$as_dir" || 8282$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8283 X"$as_dir" : 'X\(//\)[^/]' \| \ 8284 X"$as_dir" : 'X\(//\)$' \| \ 8285 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 8286$as_echo X"$as_dir" | 8287 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 8288 s//\1/ 8289 q 8290 } 8291 /^X\(\/\/\)[^/].*/{ 8292 s//\1/ 8293 q 8294 } 8295 /^X\(\/\/\)$/{ 8296 s//\1/ 8297 q 8298 } 8299 /^X\(\/\).*/{ 8300 s//\1/ 8301 q 8302 } 8303 s/.*/./; q'` 8304 test -d "$as_dir" && break 8305 done 8306 test -z "$as_dirs" || eval "mkdir $as_dirs" 8307 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 8308 8309 8310} # as_fn_mkdir_p 8311if mkdir -p . 2>/dev/null; then 8312 as_mkdir_p='mkdir -p "$as_dir"' 8313else 8314 test -d ./-p && rmdir ./-p 8315 as_mkdir_p=false 8316fi 8317 8318if test -x / >/dev/null 2>&1; then 8319 as_test_x='test -x' 8320else 8321 if ls -dL / >/dev/null 2>&1; then 8322 as_ls_L_option=L 8323 else 8324 as_ls_L_option= 8325 fi 8326 as_test_x=' 8327 eval sh -c '\'' 8328 if test -d "$1"; then 8329 test -d "$1/."; 8330 else 8331 case $1 in #( 8332 -*)set "./$1";; 8333 esac; 8334 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 8335 ???[sx]*):;;*)false;;esac;fi 8336 '\'' sh 8337 ' 8338fi 8339as_executable_p=$as_test_x 8340 8341# Sed expression to map a string onto a valid CPP name. 8342as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 8343 8344# Sed expression to map a string onto a valid variable name. 8345as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 8346 8347 8348exec 6>&1 8349## ----------------------------------- ## 8350## Main body of $CONFIG_STATUS script. ## 8351## ----------------------------------- ## 8352_ASEOF 8353test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 8354 8355cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8356# Save the log message, to keep $0 and so on meaningful, and to 8357# report actual input values of CONFIG_FILES etc. instead of their 8358# values after options handling. 8359ac_log=" 8360This file was extended by gold $as_me 0.1, which was 8361generated by GNU Autoconf 2.64. Invocation command line was 8362 8363 CONFIG_FILES = $CONFIG_FILES 8364 CONFIG_HEADERS = $CONFIG_HEADERS 8365 CONFIG_LINKS = $CONFIG_LINKS 8366 CONFIG_COMMANDS = $CONFIG_COMMANDS 8367 $ $0 $@ 8368 8369on `(hostname || uname -n) 2>/dev/null | sed 1q` 8370" 8371 8372_ACEOF 8373 8374case $ac_config_files in *" 8375"*) set x $ac_config_files; shift; ac_config_files=$*;; 8376esac 8377 8378case $ac_config_headers in *" 8379"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 8380esac 8381 8382 8383cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 8384# Files that config.status was made for. 8385config_files="$ac_config_files" 8386config_headers="$ac_config_headers" 8387config_commands="$ac_config_commands" 8388 8389_ACEOF 8390 8391cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8392ac_cs_usage="\ 8393\`$as_me' instantiates files and other configuration actions 8394from templates according to the current configuration. Unless the files 8395and actions are specified as TAGs, all are instantiated by default. 8396 8397Usage: $0 [OPTION]... [TAG]... 8398 8399 -h, --help print this help, then exit 8400 -V, --version print version number and configuration settings, then exit 8401 -q, --quiet, --silent 8402 do not print progress messages 8403 -d, --debug don't remove temporary files 8404 --recheck update $as_me by reconfiguring in the same conditions 8405 --file=FILE[:TEMPLATE] 8406 instantiate the configuration file FILE 8407 --header=FILE[:TEMPLATE] 8408 instantiate the configuration header FILE 8409 8410Configuration files: 8411$config_files 8412 8413Configuration headers: 8414$config_headers 8415 8416Configuration commands: 8417$config_commands 8418 8419Report bugs to the package provider." 8420 8421_ACEOF 8422cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 8423ac_cs_version="\\ 8424gold config.status 0.1 8425configured by $0, generated by GNU Autoconf 2.64, 8426 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 8427 8428Copyright (C) 2009 Free Software Foundation, Inc. 8429This config.status script is free software; the Free Software Foundation 8430gives unlimited permission to copy, distribute and modify it." 8431 8432ac_pwd='$ac_pwd' 8433srcdir='$srcdir' 8434INSTALL='$INSTALL' 8435MKDIR_P='$MKDIR_P' 8436AWK='$AWK' 8437test -n "\$AWK" || AWK=awk 8438_ACEOF 8439 8440cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8441# The default lists apply if the user does not specify any file. 8442ac_need_defaults=: 8443while test $# != 0 8444do 8445 case $1 in 8446 --*=*) 8447 ac_option=`expr "X$1" : 'X\([^=]*\)='` 8448 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 8449 ac_shift=: 8450 ;; 8451 *) 8452 ac_option=$1 8453 ac_optarg=$2 8454 ac_shift=shift 8455 ;; 8456 esac 8457 8458 case $ac_option in 8459 # Handling of the options. 8460 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 8461 ac_cs_recheck=: ;; 8462 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 8463 $as_echo "$ac_cs_version"; exit ;; 8464 --debug | --debu | --deb | --de | --d | -d ) 8465 debug=: ;; 8466 --file | --fil | --fi | --f ) 8467 $ac_shift 8468 case $ac_optarg in 8469 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 8470 esac 8471 as_fn_append CONFIG_FILES " '$ac_optarg'" 8472 ac_need_defaults=false;; 8473 --header | --heade | --head | --hea ) 8474 $ac_shift 8475 case $ac_optarg in 8476 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 8477 esac 8478 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 8479 ac_need_defaults=false;; 8480 --he | --h) 8481 # Conflict between --help and --header 8482 as_fn_error "ambiguous option: \`$1' 8483Try \`$0 --help' for more information.";; 8484 --help | --hel | -h ) 8485 $as_echo "$ac_cs_usage"; exit ;; 8486 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 8487 | -silent | --silent | --silen | --sile | --sil | --si | --s) 8488 ac_cs_silent=: ;; 8489 8490 # This is an error. 8491 -*) as_fn_error "unrecognized option: \`$1' 8492Try \`$0 --help' for more information." ;; 8493 8494 *) as_fn_append ac_config_targets " $1" 8495 ac_need_defaults=false ;; 8496 8497 esac 8498 shift 8499done 8500 8501ac_configure_extra_args= 8502 8503if $ac_cs_silent; then 8504 exec 6>/dev/null 8505 ac_configure_extra_args="$ac_configure_extra_args --silent" 8506fi 8507 8508_ACEOF 8509cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 8510if \$ac_cs_recheck; then 8511 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 8512 shift 8513 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 8514 CONFIG_SHELL='$SHELL' 8515 export CONFIG_SHELL 8516 exec "\$@" 8517fi 8518 8519_ACEOF 8520cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8521exec 5>>config.log 8522{ 8523 echo 8524 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 8525## Running $as_me. ## 8526_ASBOX 8527 $as_echo "$ac_log" 8528} >&5 8529 8530_ACEOF 8531cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 8532# 8533# INIT-COMMANDS 8534# 8535AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 8536# Capture the value of obsolete ALL_LINGUAS because we need it to compute 8537 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it 8538 # from automake. 8539 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"' 8540 # Capture the value of LINGUAS because we need it to compute CATALOGS. 8541 LINGUAS="${LINGUAS-%UNSET%}" 8542 8543 8544_ACEOF 8545 8546cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8547 8548# Handling of arguments. 8549for ac_config_target in $ac_config_targets 8550do 8551 case $ac_config_target in 8552 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;; 8553 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 8554 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; 8555 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 8556 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;; 8557 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in:po/Make-in" ;; 8558 8559 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 8560 esac 8561done 8562 8563 8564# If the user did not use the arguments to specify the items to instantiate, 8565# then the envvar interface is used. Set only those that are not. 8566# We use the long form for the default assignment because of an extremely 8567# bizarre bug on SunOS 4.1.3. 8568if $ac_need_defaults; then 8569 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 8570 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 8571 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 8572fi 8573 8574# Have a temporary directory for convenience. Make it in the build tree 8575# simply because there is no reason against having it here, and in addition, 8576# creating and moving files from /tmp can sometimes cause problems. 8577# Hook for its removal unless debugging. 8578# Note that there is a small window in which the directory will not be cleaned: 8579# after its creation but before its name has been assigned to `$tmp'. 8580$debug || 8581{ 8582 tmp= 8583 trap 'exit_status=$? 8584 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 8585' 0 8586 trap 'as_fn_exit 1' 1 2 13 15 8587} 8588# Create a (secure) tmp directory for tmp files. 8589 8590{ 8591 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 8592 test -n "$tmp" && test -d "$tmp" 8593} || 8594{ 8595 tmp=./conf$$-$RANDOM 8596 (umask 077 && mkdir "$tmp") 8597} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 8598 8599# Set up the scripts for CONFIG_FILES section. 8600# No need to generate them if there are no CONFIG_FILES. 8601# This happens for instance with `./config.status config.h'. 8602if test -n "$CONFIG_FILES"; then 8603 8604 8605ac_cr=`echo X | tr X '\015'` 8606# On cygwin, bash can eat \r inside `` if the user requested igncr. 8607# But we know of no other shell where ac_cr would be empty at this 8608# point, so we can use a bashism as a fallback. 8609if test "x$ac_cr" = x; then 8610 eval ac_cr=\$\'\\r\' 8611fi 8612ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 8613if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 8614 ac_cs_awk_cr='\r' 8615else 8616 ac_cs_awk_cr=$ac_cr 8617fi 8618 8619echo 'BEGIN {' >"$tmp/subs1.awk" && 8620_ACEOF 8621 8622 8623{ 8624 echo "cat >conf$$subs.awk <<_ACEOF" && 8625 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 8626 echo "_ACEOF" 8627} >conf$$subs.sh || 8628 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 8629ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 8630ac_delim='%!_!# ' 8631for ac_last_try in false false false false false :; do 8632 . ./conf$$subs.sh || 8633 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 8634 8635 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 8636 if test $ac_delim_n = $ac_delim_num; then 8637 break 8638 elif $ac_last_try; then 8639 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 8640 else 8641 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 8642 fi 8643done 8644rm -f conf$$subs.sh 8645 8646cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 8647cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 8648_ACEOF 8649sed -n ' 8650h 8651s/^/S["/; s/!.*/"]=/ 8652p 8653g 8654s/^[^!]*!// 8655:repl 8656t repl 8657s/'"$ac_delim"'$// 8658t delim 8659:nl 8660h 8661s/\(.\{148\}\).*/\1/ 8662t more1 8663s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 8664p 8665n 8666b repl 8667:more1 8668s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 8669p 8670g 8671s/.\{148\}// 8672t nl 8673:delim 8674h 8675s/\(.\{148\}\).*/\1/ 8676t more2 8677s/["\\]/\\&/g; s/^/"/; s/$/"/ 8678p 8679b 8680:more2 8681s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 8682p 8683g 8684s/.\{148\}// 8685t delim 8686' <conf$$subs.awk | sed ' 8687/^[^""]/{ 8688 N 8689 s/\n// 8690} 8691' >>$CONFIG_STATUS || ac_write_fail=1 8692rm -f conf$$subs.awk 8693cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 8694_ACAWK 8695cat >>"\$tmp/subs1.awk" <<_ACAWK && 8696 for (key in S) S_is_set[key] = 1 8697 FS = "" 8698 8699} 8700{ 8701 line = $ 0 8702 nfields = split(line, field, "@") 8703 substed = 0 8704 len = length(field[1]) 8705 for (i = 2; i < nfields; i++) { 8706 key = field[i] 8707 keylen = length(key) 8708 if (S_is_set[key]) { 8709 value = S[key] 8710 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 8711 len += length(value) + length(field[++i]) 8712 substed = 1 8713 } else 8714 len += 1 + keylen 8715 } 8716 8717 print line 8718} 8719 8720_ACAWK 8721_ACEOF 8722cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8723if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 8724 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 8725else 8726 cat 8727fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 8728 || as_fn_error "could not setup config files machinery" "$LINENO" 5 8729_ACEOF 8730 8731# VPATH may cause trouble with some makes, so we remove $(srcdir), 8732# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 8733# trailing colons and then remove the whole line if VPATH becomes empty 8734# (actually we leave an empty line to preserve line numbers). 8735if test "x$srcdir" = x.; then 8736 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 8737s/:*\$(srcdir):*/:/ 8738s/:*\${srcdir}:*/:/ 8739s/:*@srcdir@:*/:/ 8740s/^\([^=]*=[ ]*\):*/\1/ 8741s/:*$// 8742s/^[^=]*=[ ]*$// 8743}' 8744fi 8745 8746cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8747fi # test -n "$CONFIG_FILES" 8748 8749# Set up the scripts for CONFIG_HEADERS section. 8750# No need to generate them if there are no CONFIG_HEADERS. 8751# This happens for instance with `./config.status Makefile'. 8752if test -n "$CONFIG_HEADERS"; then 8753cat >"$tmp/defines.awk" <<\_ACAWK || 8754BEGIN { 8755_ACEOF 8756 8757# Transform confdefs.h into an awk script `defines.awk', embedded as 8758# here-document in config.status, that substitutes the proper values into 8759# config.h.in to produce config.h. 8760 8761# Create a delimiter string that does not exist in confdefs.h, to ease 8762# handling of long lines. 8763ac_delim='%!_!# ' 8764for ac_last_try in false false :; do 8765 ac_t=`sed -n "/$ac_delim/p" confdefs.h` 8766 if test -z "$ac_t"; then 8767 break 8768 elif $ac_last_try; then 8769 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 8770 else 8771 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 8772 fi 8773done 8774 8775# For the awk script, D is an array of macro values keyed by name, 8776# likewise P contains macro parameters if any. Preserve backslash 8777# newline sequences. 8778 8779ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 8780sed -n ' 8781s/.\{148\}/&'"$ac_delim"'/g 8782t rset 8783:rset 8784s/^[ ]*#[ ]*define[ ][ ]*/ / 8785t def 8786d 8787:def 8788s/\\$// 8789t bsnl 8790s/["\\]/\\&/g 8791s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 8792D["\1"]=" \3"/p 8793s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 8794d 8795:bsnl 8796s/["\\]/\\&/g 8797s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 8798D["\1"]=" \3\\\\\\n"\\/p 8799t cont 8800s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 8801t cont 8802d 8803:cont 8804n 8805s/.\{148\}/&'"$ac_delim"'/g 8806t clear 8807:clear 8808s/\\$// 8809t bsnlc 8810s/["\\]/\\&/g; s/^/"/; s/$/"/p 8811d 8812:bsnlc 8813s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 8814b cont 8815' <confdefs.h | sed ' 8816s/'"$ac_delim"'/"\\\ 8817"/g' >>$CONFIG_STATUS || ac_write_fail=1 8818 8819cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 8820 for (key in D) D_is_set[key] = 1 8821 FS = "" 8822} 8823/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 8824 line = \$ 0 8825 split(line, arg, " ") 8826 if (arg[1] == "#") { 8827 defundef = arg[2] 8828 mac1 = arg[3] 8829 } else { 8830 defundef = substr(arg[1], 2) 8831 mac1 = arg[2] 8832 } 8833 split(mac1, mac2, "(") #) 8834 macro = mac2[1] 8835 prefix = substr(line, 1, index(line, defundef) - 1) 8836 if (D_is_set[macro]) { 8837 # Preserve the white space surrounding the "#". 8838 print prefix "define", macro P[macro] D[macro] 8839 next 8840 } else { 8841 # Replace #undef with comments. This is necessary, for example, 8842 # in the case of _POSIX_SOURCE, which is predefined and required 8843 # on some systems where configure will not decide to define it. 8844 if (defundef == "undef") { 8845 print "/*", prefix defundef, macro, "*/" 8846 next 8847 } 8848 } 8849} 8850{ print } 8851_ACAWK 8852_ACEOF 8853cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8854 as_fn_error "could not setup config headers machinery" "$LINENO" 5 8855fi # test -n "$CONFIG_HEADERS" 8856 8857 8858eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 8859shift 8860for ac_tag 8861do 8862 case $ac_tag in 8863 :[FHLC]) ac_mode=$ac_tag; continue;; 8864 esac 8865 case $ac_mode$ac_tag in 8866 :[FHL]*:*);; 8867 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; 8868 :[FH]-) ac_tag=-:-;; 8869 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 8870 esac 8871 ac_save_IFS=$IFS 8872 IFS=: 8873 set x $ac_tag 8874 IFS=$ac_save_IFS 8875 shift 8876 ac_file=$1 8877 shift 8878 8879 case $ac_mode in 8880 :L) ac_source=$1;; 8881 :[FH]) 8882 ac_file_inputs= 8883 for ac_f 8884 do 8885 case $ac_f in 8886 -) ac_f="$tmp/stdin";; 8887 *) # Look for the file first in the build tree, then in the source tree 8888 # (if the path is not absolute). The absolute path cannot be DOS-style, 8889 # because $ac_f cannot contain `:'. 8890 test -f "$ac_f" || 8891 case $ac_f in 8892 [\\/$]*) false;; 8893 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 8894 esac || 8895 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; 8896 esac 8897 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 8898 as_fn_append ac_file_inputs " '$ac_f'" 8899 done 8900 8901 # Let's still pretend it is `configure' which instantiates (i.e., don't 8902 # use $as_me), people would be surprised to read: 8903 # /* config.h. Generated by config.status. */ 8904 configure_input='Generated from '` 8905 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 8906 `' by configure.' 8907 if test x"$ac_file" != x-; then 8908 configure_input="$ac_file. $configure_input" 8909 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 8910$as_echo "$as_me: creating $ac_file" >&6;} 8911 fi 8912 # Neutralize special characters interpreted by sed in replacement strings. 8913 case $configure_input in #( 8914 *\&* | *\|* | *\\* ) 8915 ac_sed_conf_input=`$as_echo "$configure_input" | 8916 sed 's/[\\\\&|]/\\\\&/g'`;; #( 8917 *) ac_sed_conf_input=$configure_input;; 8918 esac 8919 8920 case $ac_tag in 8921 *:-:* | *:-) cat >"$tmp/stdin" \ 8922 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; 8923 esac 8924 ;; 8925 esac 8926 8927 ac_dir=`$as_dirname -- "$ac_file" || 8928$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8929 X"$ac_file" : 'X\(//\)[^/]' \| \ 8930 X"$ac_file" : 'X\(//\)$' \| \ 8931 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 8932$as_echo X"$ac_file" | 8933 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 8934 s//\1/ 8935 q 8936 } 8937 /^X\(\/\/\)[^/].*/{ 8938 s//\1/ 8939 q 8940 } 8941 /^X\(\/\/\)$/{ 8942 s//\1/ 8943 q 8944 } 8945 /^X\(\/\).*/{ 8946 s//\1/ 8947 q 8948 } 8949 s/.*/./; q'` 8950 as_dir="$ac_dir"; as_fn_mkdir_p 8951 ac_builddir=. 8952 8953case "$ac_dir" in 8954.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 8955*) 8956 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 8957 # A ".." for each directory in $ac_dir_suffix. 8958 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 8959 case $ac_top_builddir_sub in 8960 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 8961 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 8962 esac ;; 8963esac 8964ac_abs_top_builddir=$ac_pwd 8965ac_abs_builddir=$ac_pwd$ac_dir_suffix 8966# for backward compatibility: 8967ac_top_builddir=$ac_top_build_prefix 8968 8969case $srcdir in 8970 .) # We are building in place. 8971 ac_srcdir=. 8972 ac_top_srcdir=$ac_top_builddir_sub 8973 ac_abs_top_srcdir=$ac_pwd ;; 8974 [\\/]* | ?:[\\/]* ) # Absolute name. 8975 ac_srcdir=$srcdir$ac_dir_suffix; 8976 ac_top_srcdir=$srcdir 8977 ac_abs_top_srcdir=$srcdir ;; 8978 *) # Relative name. 8979 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 8980 ac_top_srcdir=$ac_top_build_prefix$srcdir 8981 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 8982esac 8983ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 8984 8985 8986 case $ac_mode in 8987 :F) 8988 # 8989 # CONFIG_FILE 8990 # 8991 8992 case $INSTALL in 8993 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 8994 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 8995 esac 8996 ac_MKDIR_P=$MKDIR_P 8997 case $MKDIR_P in 8998 [\\/$]* | ?:[\\/]* ) ;; 8999 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 9000 esac 9001_ACEOF 9002 9003cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9004# If the template does not know about datarootdir, expand it. 9005# FIXME: This hack should be removed a few years after 2.60. 9006ac_datarootdir_hack=; ac_datarootdir_seen= 9007ac_sed_dataroot=' 9008/datarootdir/ { 9009 p 9010 q 9011} 9012/@datadir@/p 9013/@docdir@/p 9014/@infodir@/p 9015/@localedir@/p 9016/@mandir@/p' 9017case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 9018*datarootdir*) ac_datarootdir_seen=yes;; 9019*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 9020 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 9021$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 9022_ACEOF 9023cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9024 ac_datarootdir_hack=' 9025 s&@datadir@&$datadir&g 9026 s&@docdir@&$docdir&g 9027 s&@infodir@&$infodir&g 9028 s&@localedir@&$localedir&g 9029 s&@mandir@&$mandir&g 9030 s&\\\${datarootdir}&$datarootdir&g' ;; 9031esac 9032_ACEOF 9033 9034# Neutralize VPATH when `$srcdir' = `.'. 9035# Shell code in configure.ac might set extrasub. 9036# FIXME: do we really want to maintain this feature? 9037cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9038ac_sed_extra="$ac_vpsub 9039$extrasub 9040_ACEOF 9041cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9042:t 9043/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 9044s|@configure_input@|$ac_sed_conf_input|;t t 9045s&@top_builddir@&$ac_top_builddir_sub&;t t 9046s&@top_build_prefix@&$ac_top_build_prefix&;t t 9047s&@srcdir@&$ac_srcdir&;t t 9048s&@abs_srcdir@&$ac_abs_srcdir&;t t 9049s&@top_srcdir@&$ac_top_srcdir&;t t 9050s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 9051s&@builddir@&$ac_builddir&;t t 9052s&@abs_builddir@&$ac_abs_builddir&;t t 9053s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 9054s&@INSTALL@&$ac_INSTALL&;t t 9055s&@MKDIR_P@&$ac_MKDIR_P&;t t 9056$ac_datarootdir_hack 9057" 9058eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 9059 || as_fn_error "could not create $ac_file" "$LINENO" 5 9060 9061test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 9062 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 9063 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 9064 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 9065which seems to be undefined. Please make sure it is defined." >&5 9066$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 9067which seems to be undefined. Please make sure it is defined." >&2;} 9068 9069 rm -f "$tmp/stdin" 9070 case $ac_file in 9071 -) cat "$tmp/out" && rm -f "$tmp/out";; 9072 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 9073 esac \ 9074 || as_fn_error "could not create $ac_file" "$LINENO" 5 9075 ;; 9076 :H) 9077 # 9078 # CONFIG_HEADER 9079 # 9080 if test x"$ac_file" != x-; then 9081 { 9082 $as_echo "/* $configure_input */" \ 9083 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 9084 } >"$tmp/config.h" \ 9085 || as_fn_error "could not create $ac_file" "$LINENO" 5 9086 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 9087 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 9088$as_echo "$as_me: $ac_file is unchanged" >&6;} 9089 else 9090 rm -f "$ac_file" 9091 mv "$tmp/config.h" "$ac_file" \ 9092 || as_fn_error "could not create $ac_file" "$LINENO" 5 9093 fi 9094 else 9095 $as_echo "/* $configure_input */" \ 9096 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 9097 || as_fn_error "could not create -" "$LINENO" 5 9098 fi 9099# Compute "$ac_file"'s index in $config_headers. 9100_am_arg="$ac_file" 9101_am_stamp_count=1 9102for _am_header in $config_headers :; do 9103 case $_am_header in 9104 $_am_arg | $_am_arg:* ) 9105 break ;; 9106 * ) 9107 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 9108 esac 9109done 9110echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 9111$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 9112 X"$_am_arg" : 'X\(//\)[^/]' \| \ 9113 X"$_am_arg" : 'X\(//\)$' \| \ 9114 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 9115$as_echo X"$_am_arg" | 9116 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 9117 s//\1/ 9118 q 9119 } 9120 /^X\(\/\/\)[^/].*/{ 9121 s//\1/ 9122 q 9123 } 9124 /^X\(\/\/\)$/{ 9125 s//\1/ 9126 q 9127 } 9128 /^X\(\/\).*/{ 9129 s//\1/ 9130 q 9131 } 9132 s/.*/./; q'`/stamp-h$_am_stamp_count 9133 ;; 9134 9135 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 9136$as_echo "$as_me: executing $ac_file commands" >&6;} 9137 ;; 9138 esac 9139 9140 9141 case $ac_file$ac_mode in 9142 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 9143 # Autoconf 2.62 quotes --file arguments for eval, but not when files 9144 # are listed without --file. Let's play safe and only enable the eval 9145 # if we detect the quoting. 9146 case $CONFIG_FILES in 9147 *\'*) eval set x "$CONFIG_FILES" ;; 9148 *) set x $CONFIG_FILES ;; 9149 esac 9150 shift 9151 for mf 9152 do 9153 # Strip MF so we end up with the name of the file. 9154 mf=`echo "$mf" | sed -e 's/:.*$//'` 9155 # Check whether this is an Automake generated Makefile or not. 9156 # We used to match only the files named `Makefile.in', but 9157 # some people rename them; so instead we look at the file content. 9158 # Grep'ing the first line is not enough: some people post-process 9159 # each Makefile.in and add a new line on top of each file to say so. 9160 # Grep'ing the whole file is not good either: AIX grep has a line 9161 # limit of 2048, but all sed's we know have understand at least 4000. 9162 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 9163 dirpart=`$as_dirname -- "$mf" || 9164$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 9165 X"$mf" : 'X\(//\)[^/]' \| \ 9166 X"$mf" : 'X\(//\)$' \| \ 9167 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 9168$as_echo X"$mf" | 9169 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 9170 s//\1/ 9171 q 9172 } 9173 /^X\(\/\/\)[^/].*/{ 9174 s//\1/ 9175 q 9176 } 9177 /^X\(\/\/\)$/{ 9178 s//\1/ 9179 q 9180 } 9181 /^X\(\/\).*/{ 9182 s//\1/ 9183 q 9184 } 9185 s/.*/./; q'` 9186 else 9187 continue 9188 fi 9189 # Extract the definition of DEPDIR, am__include, and am__quote 9190 # from the Makefile without running `make'. 9191 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 9192 test -z "$DEPDIR" && continue 9193 am__include=`sed -n 's/^am__include = //p' < "$mf"` 9194 test -z "am__include" && continue 9195 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 9196 # When using ansi2knr, U may be empty or an underscore; expand it 9197 U=`sed -n 's/^U = //p' < "$mf"` 9198 # Find all dependency output files, they are included files with 9199 # $(DEPDIR) in their names. We invoke sed twice because it is the 9200 # simplest approach to changing $(DEPDIR) to its actual value in the 9201 # expansion. 9202 for file in `sed -n " 9203 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 9204 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 9205 # Make sure the directory exists. 9206 test -f "$dirpart/$file" && continue 9207 fdir=`$as_dirname -- "$file" || 9208$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 9209 X"$file" : 'X\(//\)[^/]' \| \ 9210 X"$file" : 'X\(//\)$' \| \ 9211 X"$file" : 'X\(/\)' \| . 2>/dev/null || 9212$as_echo X"$file" | 9213 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 9214 s//\1/ 9215 q 9216 } 9217 /^X\(\/\/\)[^/].*/{ 9218 s//\1/ 9219 q 9220 } 9221 /^X\(\/\/\)$/{ 9222 s//\1/ 9223 q 9224 } 9225 /^X\(\/\).*/{ 9226 s//\1/ 9227 q 9228 } 9229 s/.*/./; q'` 9230 as_dir=$dirpart/$fdir; as_fn_mkdir_p 9231 # echo "creating $dirpart/$file" 9232 echo '# dummy' > "$dirpart/$file" 9233 done 9234 done 9235} 9236 ;; 9237 "default-1":C) 9238 for ac_file in $CONFIG_FILES; do 9239 # Support "outfile[:infile[:infile...]]" 9240 case "$ac_file" in 9241 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; 9242 esac 9243 # PO directories have a Makefile.in generated from Makefile.in.in. 9244 case "$ac_file" in */Makefile.in) 9245 # Adjust a relative srcdir. 9246 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` 9247 ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'` 9248 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` 9249 # In autoconf-2.13 it is called $ac_given_srcdir. 9250 # In autoconf-2.50 it is called $srcdir. 9251 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" 9252 case "$ac_given_srcdir" in 9253 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; 9254 /*) top_srcdir="$ac_given_srcdir" ;; 9255 *) top_srcdir="$ac_dots$ac_given_srcdir" ;; 9256 esac 9257 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then 9258 rm -f "$ac_dir/POTFILES" 9259 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" 9260 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES" 9261 POMAKEFILEDEPS="POTFILES.in" 9262 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend 9263 # on $ac_dir but don't depend on user-specified configuration 9264 # parameters. 9265 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then 9266 # The LINGUAS file contains the set of available languages. 9267 if test -n "$OBSOLETE_ALL_LINGUAS"; then 9268 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" 9269 fi 9270 ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"` 9271 # Hide the ALL_LINGUAS assigment from automake. 9272 eval 'ALL_LINGUAS''=$ALL_LINGUAS_' 9273 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" 9274 else 9275 # The set of available languages was given in configure.in. 9276 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS' 9277 fi 9278 case "$ac_given_srcdir" in 9279 .) srcdirpre= ;; 9280 *) srcdirpre='$(srcdir)/' ;; 9281 esac 9282 POFILES= 9283 GMOFILES= 9284 UPDATEPOFILES= 9285 DUMMYPOFILES= 9286 for lang in $ALL_LINGUAS; do 9287 POFILES="$POFILES $srcdirpre$lang.po" 9288 GMOFILES="$GMOFILES $srcdirpre$lang.gmo" 9289 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" 9290 DUMMYPOFILES="$DUMMYPOFILES $lang.nop" 9291 done 9292 # CATALOGS depends on both $ac_dir and the user's LINGUAS 9293 # environment variable. 9294 INST_LINGUAS= 9295 if test -n "$ALL_LINGUAS"; then 9296 for presentlang in $ALL_LINGUAS; do 9297 useit=no 9298 if test "%UNSET%" != "$LINGUAS"; then 9299 desiredlanguages="$LINGUAS" 9300 else 9301 desiredlanguages="$ALL_LINGUAS" 9302 fi 9303 for desiredlang in $desiredlanguages; do 9304 # Use the presentlang catalog if desiredlang is 9305 # a. equal to presentlang, or 9306 # b. a variant of presentlang (because in this case, 9307 # presentlang can be used as a fallback for messages 9308 # which are not translated in the desiredlang catalog). 9309 case "$desiredlang" in 9310 "$presentlang"*) useit=yes;; 9311 esac 9312 done 9313 if test $useit = yes; then 9314 INST_LINGUAS="$INST_LINGUAS $presentlang" 9315 fi 9316 done 9317 fi 9318 CATALOGS= 9319 if test -n "$INST_LINGUAS"; then 9320 for lang in $INST_LINGUAS; do 9321 CATALOGS="$CATALOGS $lang.gmo" 9322 done 9323 fi 9324 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" 9325 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile" 9326 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do 9327 if test -f "$f"; then 9328 case "$f" in 9329 *.orig | *.bak | *~) ;; 9330 *) cat "$f" >> "$ac_dir/Makefile" ;; 9331 esac 9332 fi 9333 done 9334 fi 9335 ;; 9336 esac 9337 done ;; 9338 9339 esac 9340done # for ac_tag 9341 9342 9343as_fn_exit 0 9344_ACEOF 9345ac_clean_files=$ac_clean_files_save 9346 9347test $ac_write_fail = 0 || 9348 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 9349 9350 9351# configure is writing to config.log, and then calls config.status. 9352# config.status does its own redirection, appending to config.log. 9353# Unfortunately, on DOS this fails, as config.log is still kept open 9354# by configure, so config.status won't be able to write to it; its 9355# output is simply discarded. So we exec the FD to /dev/null, 9356# effectively closing config.log, so it can be properly (re)opened and 9357# appended to by config.status. When coming back to configure, we 9358# need to make the FD available again. 9359if test "$no_create" != yes; then 9360 ac_cs_success=: 9361 ac_config_status_args= 9362 test "$silent" = yes && 9363 ac_config_status_args="$ac_config_status_args --quiet" 9364 exec 5>/dev/null 9365 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 9366 exec 5>>config.log 9367 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 9368 # would make configure fail if this is the last instruction. 9369 $ac_cs_success || as_fn_exit $? 9370fi 9371if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 9372 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 9373$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 9374fi 9375 9376