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