1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/toolkit/crashreporter/google-breakpad/src/third_party/glog/configure Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,19068 @@ 1.4 +#! /bin/sh 1.5 +# Guess values for system-dependent variables and create Makefiles. 1.6 +# Generated by GNU Autoconf 2.65 for glog 0.3.1. 1.7 +# 1.8 +# Report bugs to <opensource@google.com>. 1.9 +# 1.10 +# 1.11 +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1.12 +# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, 1.13 +# Inc. 1.14 +# 1.15 +# 1.16 +# This configure script is free software; the Free Software Foundation 1.17 +# gives unlimited permission to copy, distribute and modify it. 1.18 +## -------------------- ## 1.19 +## M4sh Initialization. ## 1.20 +## -------------------- ## 1.21 + 1.22 +# Be more Bourne compatible 1.23 +DUALCASE=1; export DUALCASE # for MKS sh 1.24 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 1.25 + emulate sh 1.26 + NULLCMD=: 1.27 + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 1.28 + # is contrary to our usage. Disable this feature. 1.29 + alias -g '${1+"$@"}'='"$@"' 1.30 + setopt NO_GLOB_SUBST 1.31 +else 1.32 + case `(set -o) 2>/dev/null` in #( 1.33 + *posix*) : 1.34 + set -o posix ;; #( 1.35 + *) : 1.36 + ;; 1.37 +esac 1.38 +fi 1.39 + 1.40 + 1.41 +as_nl=' 1.42 +' 1.43 +export as_nl 1.44 +# Printing a long string crashes Solaris 7 /usr/bin/printf. 1.45 +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 1.46 +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 1.47 +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 1.48 +# Prefer a ksh shell builtin over an external printf program on Solaris, 1.49 +# but without wasting forks for bash or zsh. 1.50 +if test -z "$BASH_VERSION$ZSH_VERSION" \ 1.51 + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 1.52 + as_echo='print -r --' 1.53 + as_echo_n='print -rn --' 1.54 +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 1.55 + as_echo='printf %s\n' 1.56 + as_echo_n='printf %s' 1.57 +else 1.58 + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 1.59 + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 1.60 + as_echo_n='/usr/ucb/echo -n' 1.61 + else 1.62 + as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 1.63 + as_echo_n_body='eval 1.64 + arg=$1; 1.65 + case $arg in #( 1.66 + *"$as_nl"*) 1.67 + expr "X$arg" : "X\\(.*\\)$as_nl"; 1.68 + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 1.69 + esac; 1.70 + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 1.71 + ' 1.72 + export as_echo_n_body 1.73 + as_echo_n='sh -c $as_echo_n_body as_echo' 1.74 + fi 1.75 + export as_echo_body 1.76 + as_echo='sh -c $as_echo_body as_echo' 1.77 +fi 1.78 + 1.79 +# The user is always right. 1.80 +if test "${PATH_SEPARATOR+set}" != set; then 1.81 + PATH_SEPARATOR=: 1.82 + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 1.83 + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 1.84 + PATH_SEPARATOR=';' 1.85 + } 1.86 +fi 1.87 + 1.88 + 1.89 +# IFS 1.90 +# We need space, tab and new line, in precisely that order. Quoting is 1.91 +# there to prevent editors from complaining about space-tab. 1.92 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word 1.93 +# splitting by setting IFS to empty value.) 1.94 +IFS=" "" $as_nl" 1.95 + 1.96 +# Find who we are. Look in the path if we contain no directory separator. 1.97 +case $0 in #(( 1.98 + *[\\/]* ) as_myself=$0 ;; 1.99 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1.100 +for as_dir in $PATH 1.101 +do 1.102 + IFS=$as_save_IFS 1.103 + test -z "$as_dir" && as_dir=. 1.104 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 1.105 + done 1.106 +IFS=$as_save_IFS 1.107 + 1.108 + ;; 1.109 +esac 1.110 +# We did not find ourselves, most probably we were run as `sh COMMAND' 1.111 +# in which case we are not to be found in the path. 1.112 +if test "x$as_myself" = x; then 1.113 + as_myself=$0 1.114 +fi 1.115 +if test ! -f "$as_myself"; then 1.116 + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 1.117 + exit 1 1.118 +fi 1.119 + 1.120 +# Unset variables that we do not need and which cause bugs (e.g. in 1.121 +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 1.122 +# suppresses any "Segmentation fault" message there. '((' could 1.123 +# trigger a bug in pdksh 5.2.14. 1.124 +for as_var in BASH_ENV ENV MAIL MAILPATH 1.125 +do eval test x\${$as_var+set} = xset \ 1.126 + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 1.127 +done 1.128 +PS1='$ ' 1.129 +PS2='> ' 1.130 +PS4='+ ' 1.131 + 1.132 +# NLS nuisances. 1.133 +LC_ALL=C 1.134 +export LC_ALL 1.135 +LANGUAGE=C 1.136 +export LANGUAGE 1.137 + 1.138 +# CDPATH. 1.139 +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 1.140 + 1.141 +if test "x$CONFIG_SHELL" = x; then 1.142 + as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 1.143 + emulate sh 1.144 + NULLCMD=: 1.145 + # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 1.146 + # is contrary to our usage. Disable this feature. 1.147 + alias -g '\${1+\"\$@\"}'='\"\$@\"' 1.148 + setopt NO_GLOB_SUBST 1.149 +else 1.150 + case \`(set -o) 2>/dev/null\` in #( 1.151 + *posix*) : 1.152 + set -o posix ;; #( 1.153 + *) : 1.154 + ;; 1.155 +esac 1.156 +fi 1.157 +" 1.158 + as_required="as_fn_return () { (exit \$1); } 1.159 +as_fn_success () { as_fn_return 0; } 1.160 +as_fn_failure () { as_fn_return 1; } 1.161 +as_fn_ret_success () { return 0; } 1.162 +as_fn_ret_failure () { return 1; } 1.163 + 1.164 +exitcode=0 1.165 +as_fn_success || { exitcode=1; echo as_fn_success failed.; } 1.166 +as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 1.167 +as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 1.168 +as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 1.169 +if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 1.170 + 1.171 +else 1.172 + exitcode=1; echo positional parameters were not saved. 1.173 +fi 1.174 +test x\$exitcode = x0 || exit 1" 1.175 + as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 1.176 + as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 1.177 + eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 1.178 + test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 1.179 +test \$(( 1 + 1 )) = 2 || exit 1" 1.180 + if (eval "$as_required") 2>/dev/null; then : 1.181 + as_have_required=yes 1.182 +else 1.183 + as_have_required=no 1.184 +fi 1.185 + if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 1.186 + 1.187 +else 1.188 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1.189 +as_found=false 1.190 +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 1.191 +do 1.192 + IFS=$as_save_IFS 1.193 + test -z "$as_dir" && as_dir=. 1.194 + as_found=: 1.195 + case $as_dir in #( 1.196 + /*) 1.197 + for as_base in sh bash ksh sh5; do 1.198 + # Try only shells that exist, to save several forks. 1.199 + as_shell=$as_dir/$as_base 1.200 + if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 1.201 + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 1.202 + CONFIG_SHELL=$as_shell as_have_required=yes 1.203 + if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 1.204 + break 2 1.205 +fi 1.206 +fi 1.207 + done;; 1.208 + esac 1.209 + as_found=false 1.210 +done 1.211 +$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 1.212 + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 1.213 + CONFIG_SHELL=$SHELL as_have_required=yes 1.214 +fi; } 1.215 +IFS=$as_save_IFS 1.216 + 1.217 + 1.218 + if test "x$CONFIG_SHELL" != x; then : 1.219 + # We cannot yet assume a decent shell, so we have to provide a 1.220 + # neutralization value for shells without unset; and this also 1.221 + # works around shells that cannot unset nonexistent variables. 1.222 + BASH_ENV=/dev/null 1.223 + ENV=/dev/null 1.224 + (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 1.225 + export CONFIG_SHELL 1.226 + exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 1.227 +fi 1.228 + 1.229 + if test x$as_have_required = xno; then : 1.230 + $as_echo "$0: This script requires a shell more modern than all" 1.231 + $as_echo "$0: the shells that I found on your system." 1.232 + if test x${ZSH_VERSION+set} = xset ; then 1.233 + $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 1.234 + $as_echo "$0: be upgraded to zsh 4.3.4 or later." 1.235 + else 1.236 + $as_echo "$0: Please tell bug-autoconf@gnu.org and 1.237 +$0: opensource@google.com about your system, including any 1.238 +$0: error possibly output before this message. Then install 1.239 +$0: a modern shell, or manually run the script under such a 1.240 +$0: shell if you do have one." 1.241 + fi 1.242 + exit 1 1.243 +fi 1.244 +fi 1.245 +fi 1.246 +SHELL=${CONFIG_SHELL-/bin/sh} 1.247 +export SHELL 1.248 +# Unset more variables known to interfere with behavior of common tools. 1.249 +CLICOLOR_FORCE= GREP_OPTIONS= 1.250 +unset CLICOLOR_FORCE GREP_OPTIONS 1.251 + 1.252 +## --------------------- ## 1.253 +## M4sh Shell Functions. ## 1.254 +## --------------------- ## 1.255 +# as_fn_unset VAR 1.256 +# --------------- 1.257 +# Portably unset VAR. 1.258 +as_fn_unset () 1.259 +{ 1.260 + { eval $1=; unset $1;} 1.261 +} 1.262 +as_unset=as_fn_unset 1.263 + 1.264 +# as_fn_set_status STATUS 1.265 +# ----------------------- 1.266 +# Set $? to STATUS, without forking. 1.267 +as_fn_set_status () 1.268 +{ 1.269 + return $1 1.270 +} # as_fn_set_status 1.271 + 1.272 +# as_fn_exit STATUS 1.273 +# ----------------- 1.274 +# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 1.275 +as_fn_exit () 1.276 +{ 1.277 + set +e 1.278 + as_fn_set_status $1 1.279 + exit $1 1.280 +} # as_fn_exit 1.281 + 1.282 +# as_fn_mkdir_p 1.283 +# ------------- 1.284 +# Create "$as_dir" as a directory, including parents if necessary. 1.285 +as_fn_mkdir_p () 1.286 +{ 1.287 + 1.288 + case $as_dir in #( 1.289 + -*) as_dir=./$as_dir;; 1.290 + esac 1.291 + test -d "$as_dir" || eval $as_mkdir_p || { 1.292 + as_dirs= 1.293 + while :; do 1.294 + case $as_dir in #( 1.295 + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 1.296 + *) as_qdir=$as_dir;; 1.297 + esac 1.298 + as_dirs="'$as_qdir' $as_dirs" 1.299 + as_dir=`$as_dirname -- "$as_dir" || 1.300 +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1.301 + X"$as_dir" : 'X\(//\)[^/]' \| \ 1.302 + X"$as_dir" : 'X\(//\)$' \| \ 1.303 + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 1.304 +$as_echo X"$as_dir" | 1.305 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1.306 + s//\1/ 1.307 + q 1.308 + } 1.309 + /^X\(\/\/\)[^/].*/{ 1.310 + s//\1/ 1.311 + q 1.312 + } 1.313 + /^X\(\/\/\)$/{ 1.314 + s//\1/ 1.315 + q 1.316 + } 1.317 + /^X\(\/\).*/{ 1.318 + s//\1/ 1.319 + q 1.320 + } 1.321 + s/.*/./; q'` 1.322 + test -d "$as_dir" && break 1.323 + done 1.324 + test -z "$as_dirs" || eval "mkdir $as_dirs" 1.325 + } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 1.326 + 1.327 + 1.328 +} # as_fn_mkdir_p 1.329 +# as_fn_append VAR VALUE 1.330 +# ---------------------- 1.331 +# Append the text in VALUE to the end of the definition contained in VAR. Take 1.332 +# advantage of any shell optimizations that allow amortized linear growth over 1.333 +# repeated appends, instead of the typical quadratic growth present in naive 1.334 +# implementations. 1.335 +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 1.336 + eval 'as_fn_append () 1.337 + { 1.338 + eval $1+=\$2 1.339 + }' 1.340 +else 1.341 + as_fn_append () 1.342 + { 1.343 + eval $1=\$$1\$2 1.344 + } 1.345 +fi # as_fn_append 1.346 + 1.347 +# as_fn_arith ARG... 1.348 +# ------------------ 1.349 +# Perform arithmetic evaluation on the ARGs, and store the result in the 1.350 +# global $as_val. Take advantage of shells that can avoid forks. The arguments 1.351 +# must be portable across $(()) and expr. 1.352 +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 1.353 + eval 'as_fn_arith () 1.354 + { 1.355 + as_val=$(( $* )) 1.356 + }' 1.357 +else 1.358 + as_fn_arith () 1.359 + { 1.360 + as_val=`expr "$@" || test $? -eq 1` 1.361 + } 1.362 +fi # as_fn_arith 1.363 + 1.364 + 1.365 +# as_fn_error ERROR [LINENO LOG_FD] 1.366 +# --------------------------------- 1.367 +# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 1.368 +# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 1.369 +# script with status $?, using 1 if that was 0. 1.370 +as_fn_error () 1.371 +{ 1.372 + as_status=$?; test $as_status -eq 0 && as_status=1 1.373 + if test "$3"; then 1.374 + as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1.375 + $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 1.376 + fi 1.377 + $as_echo "$as_me: error: $1" >&2 1.378 + as_fn_exit $as_status 1.379 +} # as_fn_error 1.380 + 1.381 +if expr a : '\(a\)' >/dev/null 2>&1 && 1.382 + test "X`expr 00001 : '.*\(...\)'`" = X001; then 1.383 + as_expr=expr 1.384 +else 1.385 + as_expr=false 1.386 +fi 1.387 + 1.388 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 1.389 + as_basename=basename 1.390 +else 1.391 + as_basename=false 1.392 +fi 1.393 + 1.394 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 1.395 + as_dirname=dirname 1.396 +else 1.397 + as_dirname=false 1.398 +fi 1.399 + 1.400 +as_me=`$as_basename -- "$0" || 1.401 +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 1.402 + X"$0" : 'X\(//\)$' \| \ 1.403 + X"$0" : 'X\(/\)' \| . 2>/dev/null || 1.404 +$as_echo X/"$0" | 1.405 + sed '/^.*\/\([^/][^/]*\)\/*$/{ 1.406 + s//\1/ 1.407 + q 1.408 + } 1.409 + /^X\/\(\/\/\)$/{ 1.410 + s//\1/ 1.411 + q 1.412 + } 1.413 + /^X\/\(\/\).*/{ 1.414 + s//\1/ 1.415 + q 1.416 + } 1.417 + s/.*/./; q'` 1.418 + 1.419 +# Avoid depending upon Character Ranges. 1.420 +as_cr_letters='abcdefghijklmnopqrstuvwxyz' 1.421 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 1.422 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS 1.423 +as_cr_digits='0123456789' 1.424 +as_cr_alnum=$as_cr_Letters$as_cr_digits 1.425 + 1.426 + 1.427 + as_lineno_1=$LINENO as_lineno_1a=$LINENO 1.428 + as_lineno_2=$LINENO as_lineno_2a=$LINENO 1.429 + eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 1.430 + test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 1.431 + # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 1.432 + sed -n ' 1.433 + p 1.434 + /[$]LINENO/= 1.435 + ' <$as_myself | 1.436 + sed ' 1.437 + s/[$]LINENO.*/&-/ 1.438 + t lineno 1.439 + b 1.440 + :lineno 1.441 + N 1.442 + :loop 1.443 + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 1.444 + t loop 1.445 + s/-\n.*// 1.446 + ' >$as_me.lineno && 1.447 + chmod +x "$as_me.lineno" || 1.448 + { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 1.449 + 1.450 + # Don't try to exec as it changes $[0], causing all sort of problems 1.451 + # (the dirname of $[0] is not the place where we might find the 1.452 + # original and so on. Autoconf is especially sensitive to this). 1.453 + . "./$as_me.lineno" 1.454 + # Exit status is that of the last command. 1.455 + exit 1.456 +} 1.457 + 1.458 +ECHO_C= ECHO_N= ECHO_T= 1.459 +case `echo -n x` in #((((( 1.460 +-n*) 1.461 + case `echo 'xy\c'` in 1.462 + *c*) ECHO_T=' ';; # ECHO_T is single tab character. 1.463 + xy) ECHO_C='\c';; 1.464 + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 1.465 + ECHO_T=' ';; 1.466 + esac;; 1.467 +*) 1.468 + ECHO_N='-n';; 1.469 +esac 1.470 + 1.471 +rm -f conf$$ conf$$.exe conf$$.file 1.472 +if test -d conf$$.dir; then 1.473 + rm -f conf$$.dir/conf$$.file 1.474 +else 1.475 + rm -f conf$$.dir 1.476 + mkdir conf$$.dir 2>/dev/null 1.477 +fi 1.478 +if (echo >conf$$.file) 2>/dev/null; then 1.479 + if ln -s conf$$.file conf$$ 2>/dev/null; then 1.480 + as_ln_s='ln -s' 1.481 + # ... but there are two gotchas: 1.482 + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 1.483 + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 1.484 + # In both cases, we have to default to `cp -p'. 1.485 + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 1.486 + as_ln_s='cp -p' 1.487 + elif ln conf$$.file conf$$ 2>/dev/null; then 1.488 + as_ln_s=ln 1.489 + else 1.490 + as_ln_s='cp -p' 1.491 + fi 1.492 +else 1.493 + as_ln_s='cp -p' 1.494 +fi 1.495 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 1.496 +rmdir conf$$.dir 2>/dev/null 1.497 + 1.498 +if mkdir -p . 2>/dev/null; then 1.499 + as_mkdir_p='mkdir -p "$as_dir"' 1.500 +else 1.501 + test -d ./-p && rmdir ./-p 1.502 + as_mkdir_p=false 1.503 +fi 1.504 + 1.505 +if test -x / >/dev/null 2>&1; then 1.506 + as_test_x='test -x' 1.507 +else 1.508 + if ls -dL / >/dev/null 2>&1; then 1.509 + as_ls_L_option=L 1.510 + else 1.511 + as_ls_L_option= 1.512 + fi 1.513 + as_test_x=' 1.514 + eval sh -c '\'' 1.515 + if test -d "$1"; then 1.516 + test -d "$1/."; 1.517 + else 1.518 + case $1 in #( 1.519 + -*)set "./$1";; 1.520 + esac; 1.521 + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 1.522 + ???[sx]*):;;*)false;;esac;fi 1.523 + '\'' sh 1.524 + ' 1.525 +fi 1.526 +as_executable_p=$as_test_x 1.527 + 1.528 +# Sed expression to map a string onto a valid CPP name. 1.529 +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 1.530 + 1.531 +# Sed expression to map a string onto a valid variable name. 1.532 +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 1.533 + 1.534 + 1.535 + 1.536 +# Check that we are running under the correct shell. 1.537 +SHELL=${CONFIG_SHELL-/bin/sh} 1.538 + 1.539 +case X$lt_ECHO in 1.540 +X*--fallback-echo) 1.541 + # Remove one level of quotation (which was required for Make). 1.542 + ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','` 1.543 + ;; 1.544 +esac 1.545 + 1.546 +ECHO=${lt_ECHO-echo} 1.547 +if test "X$1" = X--no-reexec; then 1.548 + # Discard the --no-reexec flag, and continue. 1.549 + shift 1.550 +elif test "X$1" = X--fallback-echo; then 1.551 + # Avoid inline document here, it may be left over 1.552 + : 1.553 +elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then 1.554 + # Yippee, $ECHO works! 1.555 + : 1.556 +else 1.557 + # Restart under the correct shell. 1.558 + exec $SHELL "$0" --no-reexec ${1+"$@"} 1.559 +fi 1.560 + 1.561 +if test "X$1" = X--fallback-echo; then 1.562 + # used as fallback echo 1.563 + shift 1.564 + cat <<_LT_EOF 1.565 +$* 1.566 +_LT_EOF 1.567 + exit 0 1.568 +fi 1.569 + 1.570 +# The HP-UX ksh and POSIX shell print the target directory to stdout 1.571 +# if CDPATH is set. 1.572 +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 1.573 + 1.574 +if test -z "$lt_ECHO"; then 1.575 + if test "X${echo_test_string+set}" != Xset; then 1.576 + # find a string as large as possible, as long as the shell can cope with it 1.577 + for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do 1.578 + # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... 1.579 + if { echo_test_string=`eval $cmd`; } 2>/dev/null && 1.580 + { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null 1.581 + then 1.582 + break 1.583 + fi 1.584 + done 1.585 + fi 1.586 + 1.587 + if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && 1.588 + echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && 1.589 + test "X$echo_testing_string" = "X$echo_test_string"; then 1.590 + : 1.591 + else 1.592 + # The Solaris, AIX, and Digital Unix default echo programs unquote 1.593 + # backslashes. This makes it impossible to quote backslashes using 1.594 + # echo "$something" | sed 's/\\/\\\\/g' 1.595 + # 1.596 + # So, first we look for a working echo in the user's PATH. 1.597 + 1.598 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 1.599 + for dir in $PATH /usr/ucb; do 1.600 + IFS="$lt_save_ifs" 1.601 + if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && 1.602 + test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && 1.603 + echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && 1.604 + test "X$echo_testing_string" = "X$echo_test_string"; then 1.605 + ECHO="$dir/echo" 1.606 + break 1.607 + fi 1.608 + done 1.609 + IFS="$lt_save_ifs" 1.610 + 1.611 + if test "X$ECHO" = Xecho; then 1.612 + # We didn't find a better echo, so look for alternatives. 1.613 + if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' && 1.614 + echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` && 1.615 + test "X$echo_testing_string" = "X$echo_test_string"; then 1.616 + # This shell has a builtin print -r that does the trick. 1.617 + ECHO='print -r' 1.618 + elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } && 1.619 + test "X$CONFIG_SHELL" != X/bin/ksh; then 1.620 + # If we have ksh, try running configure again with it. 1.621 + ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} 1.622 + export ORIGINAL_CONFIG_SHELL 1.623 + CONFIG_SHELL=/bin/ksh 1.624 + export CONFIG_SHELL 1.625 + exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"} 1.626 + else 1.627 + # Try using printf. 1.628 + ECHO='printf %s\n' 1.629 + if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && 1.630 + echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && 1.631 + test "X$echo_testing_string" = "X$echo_test_string"; then 1.632 + # Cool, printf works 1.633 + : 1.634 + elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && 1.635 + test "X$echo_testing_string" = 'X\t' && 1.636 + echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && 1.637 + test "X$echo_testing_string" = "X$echo_test_string"; then 1.638 + CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL 1.639 + export CONFIG_SHELL 1.640 + SHELL="$CONFIG_SHELL" 1.641 + export SHELL 1.642 + ECHO="$CONFIG_SHELL $0 --fallback-echo" 1.643 + elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && 1.644 + test "X$echo_testing_string" = 'X\t' && 1.645 + echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && 1.646 + test "X$echo_testing_string" = "X$echo_test_string"; then 1.647 + ECHO="$CONFIG_SHELL $0 --fallback-echo" 1.648 + else 1.649 + # maybe with a smaller string... 1.650 + prev=: 1.651 + 1.652 + for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do 1.653 + if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null 1.654 + then 1.655 + break 1.656 + fi 1.657 + prev="$cmd" 1.658 + done 1.659 + 1.660 + if test "$prev" != 'sed 50q "$0"'; then 1.661 + echo_test_string=`eval $prev` 1.662 + export echo_test_string 1.663 + exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"} 1.664 + else 1.665 + # Oops. We lost completely, so just stick with echo. 1.666 + ECHO=echo 1.667 + fi 1.668 + fi 1.669 + fi 1.670 + fi 1.671 + fi 1.672 +fi 1.673 + 1.674 +# Copy echo and quote the copy suitably for passing to libtool from 1.675 +# the Makefile, instead of quoting the original, which is used later. 1.676 +lt_ECHO=$ECHO 1.677 +if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then 1.678 + lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo" 1.679 +fi 1.680 + 1.681 + 1.682 + 1.683 + 1.684 +test -n "$DJDIR" || exec 7<&0 </dev/null 1.685 +exec 6>&1 1.686 + 1.687 +# Name of the host. 1.688 +# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 1.689 +# so uname gets run too. 1.690 +ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 1.691 + 1.692 +# 1.693 +# Initializations. 1.694 +# 1.695 +ac_default_prefix=/usr/local 1.696 +ac_clean_files= 1.697 +ac_config_libobj_dir=. 1.698 +LIBOBJS= 1.699 +cross_compiling=no 1.700 +subdirs= 1.701 +MFLAGS= 1.702 +MAKEFLAGS= 1.703 + 1.704 +# Identity of this package. 1.705 +PACKAGE_NAME='glog' 1.706 +PACKAGE_TARNAME='glog' 1.707 +PACKAGE_VERSION='0.3.1' 1.708 +PACKAGE_STRING='glog 0.3.1' 1.709 +PACKAGE_BUGREPORT='opensource@google.com' 1.710 +PACKAGE_URL='' 1.711 + 1.712 +ac_unique_file="README" 1.713 +# Factoring default headers for most tests. 1.714 +ac_includes_default="\ 1.715 +#include <stdio.h> 1.716 +#ifdef HAVE_SYS_TYPES_H 1.717 +# include <sys/types.h> 1.718 +#endif 1.719 +#ifdef HAVE_SYS_STAT_H 1.720 +# include <sys/stat.h> 1.721 +#endif 1.722 +#ifdef STDC_HEADERS 1.723 +# include <stdlib.h> 1.724 +# include <stddef.h> 1.725 +#else 1.726 +# ifdef HAVE_STDLIB_H 1.727 +# include <stdlib.h> 1.728 +# endif 1.729 +#endif 1.730 +#ifdef HAVE_STRING_H 1.731 +# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 1.732 +# include <memory.h> 1.733 +# endif 1.734 +# include <string.h> 1.735 +#endif 1.736 +#ifdef HAVE_STRINGS_H 1.737 +# include <strings.h> 1.738 +#endif 1.739 +#ifdef HAVE_INTTYPES_H 1.740 +# include <inttypes.h> 1.741 +#endif 1.742 +#ifdef HAVE_STDINT_H 1.743 +# include <stdint.h> 1.744 +#endif 1.745 +#ifdef HAVE_UNISTD_H 1.746 +# include <unistd.h> 1.747 +#endif" 1.748 + 1.749 +ac_subst_vars='am__EXEEXT_FALSE 1.750 +am__EXEEXT_TRUE 1.751 +LTLIBOBJS 1.752 +LIBOBJS 1.753 +GMOCK_LIBS 1.754 +GTEST_LIBS 1.755 +GFLAGS_LIBS 1.756 +GMOCK_CFLAGS 1.757 +GTEST_CFLAGS 1.758 +GFLAGS_CFLAGS 1.759 +ac_cv_have_libgflags 1.760 +ac_cv_have___uint16 1.761 +ac_cv_have_u_int16_t 1.762 +ac_cv_have_uint16_t 1.763 +ac_cv_have_unistd_h 1.764 +ac_cv_have_inttypes_h 1.765 +ac_cv_have_systypes_h 1.766 +ac_cv_have_stdint_h 1.767 +ac_cv_have___builtin_expect 1.768 +ac_cv___attribute___printf_4_5 1.769 +ac_cv___attribute___noreturn 1.770 +ac_cv_cxx_using_operator 1.771 +ac_google_namespace 1.772 +ac_google_end_namespace 1.773 +ac_google_start_namespace 1.774 +UNWIND_LIBS 1.775 +HAVE_GMOCK_FALSE 1.776 +HAVE_GMOCK_TRUE 1.777 +GMOCK_CONFIG 1.778 +GTEST_CONFIG 1.779 +PTHREAD_CFLAGS 1.780 +PTHREAD_LIBS 1.781 +PTHREAD_CC 1.782 +acx_pthread_config 1.783 +X86_64_FALSE 1.784 +X86_64_TRUE 1.785 +ENABLE_FRAME_POINTERS_FALSE 1.786 +ENABLE_FRAME_POINTERS_TRUE 1.787 +LIBTOOL_DEPS 1.788 +CXXCPP 1.789 +OTOOL64 1.790 +OTOOL 1.791 +LIPO 1.792 +NMEDIT 1.793 +DSYMUTIL 1.794 +lt_ECHO 1.795 +RANLIB 1.796 +AR 1.797 +OBJDUMP 1.798 +LN_S 1.799 +NM 1.800 +ac_ct_DUMPBIN 1.801 +DUMPBIN 1.802 +LD 1.803 +FGREP 1.804 +EGREP 1.805 +GREP 1.806 +SED 1.807 +host_os 1.808 +host_vendor 1.809 +host_cpu 1.810 +host 1.811 +build_os 1.812 +build_vendor 1.813 +build_cpu 1.814 +build 1.815 +LIBTOOL 1.816 +GCC_FALSE 1.817 +GCC_TRUE 1.818 +am__fastdepCXX_FALSE 1.819 +am__fastdepCXX_TRUE 1.820 +CXXDEPMODE 1.821 +ac_ct_CXX 1.822 +CXXFLAGS 1.823 +CXX 1.824 +CPP 1.825 +am__fastdepCC_FALSE 1.826 +am__fastdepCC_TRUE 1.827 +CCDEPMODE 1.828 +AMDEPBACKSLASH 1.829 +AMDEP_FALSE 1.830 +AMDEP_TRUE 1.831 +am__quote 1.832 +am__include 1.833 +DEPDIR 1.834 +OBJEXT 1.835 +EXEEXT 1.836 +ac_ct_CC 1.837 +CPPFLAGS 1.838 +LDFLAGS 1.839 +CFLAGS 1.840 +CC 1.841 +am__untar 1.842 +am__tar 1.843 +AMTAR 1.844 +am__leading_dot 1.845 +SET_MAKE 1.846 +AWK 1.847 +mkdir_p 1.848 +MKDIR_P 1.849 +INSTALL_STRIP_PROGRAM 1.850 +STRIP 1.851 +install_sh 1.852 +MAKEINFO 1.853 +AUTOHEADER 1.854 +AUTOMAKE 1.855 +AUTOCONF 1.856 +ACLOCAL 1.857 +VERSION 1.858 +PACKAGE 1.859 +CYGPATH_W 1.860 +am__isrc 1.861 +INSTALL_DATA 1.862 +INSTALL_SCRIPT 1.863 +INSTALL_PROGRAM 1.864 +target_alias 1.865 +host_alias 1.866 +build_alias 1.867 +LIBS 1.868 +ECHO_T 1.869 +ECHO_N 1.870 +ECHO_C 1.871 +DEFS 1.872 +mandir 1.873 +localedir 1.874 +libdir 1.875 +psdir 1.876 +pdfdir 1.877 +dvidir 1.878 +htmldir 1.879 +infodir 1.880 +docdir 1.881 +oldincludedir 1.882 +includedir 1.883 +localstatedir 1.884 +sharedstatedir 1.885 +sysconfdir 1.886 +datadir 1.887 +datarootdir 1.888 +libexecdir 1.889 +sbindir 1.890 +bindir 1.891 +program_transform_name 1.892 +prefix 1.893 +exec_prefix 1.894 +PACKAGE_URL 1.895 +PACKAGE_BUGREPORT 1.896 +PACKAGE_STRING 1.897 +PACKAGE_VERSION 1.898 +PACKAGE_TARNAME 1.899 +PACKAGE_NAME 1.900 +PATH_SEPARATOR 1.901 +SHELL' 1.902 +ac_subst_files='' 1.903 +ac_user_opts=' 1.904 +enable_option_checking 1.905 +enable_dependency_tracking 1.906 +enable_shared 1.907 +enable_static 1.908 +with_pic 1.909 +enable_fast_install 1.910 +with_gnu_ld 1.911 +enable_libtool_lock 1.912 +enable_frame_pointers 1.913 +with_gflags 1.914 +enable_namespace 1.915 +' 1.916 + ac_precious_vars='build_alias 1.917 +host_alias 1.918 +target_alias 1.919 +CC 1.920 +CFLAGS 1.921 +LDFLAGS 1.922 +LIBS 1.923 +CPPFLAGS 1.924 +CPP 1.925 +CXX 1.926 +CXXFLAGS 1.927 +CCC 1.928 +CXXCPP' 1.929 + 1.930 + 1.931 +# Initialize some variables set by options. 1.932 +ac_init_help= 1.933 +ac_init_version=false 1.934 +ac_unrecognized_opts= 1.935 +ac_unrecognized_sep= 1.936 +# The variables have the same names as the options, with 1.937 +# dashes changed to underlines. 1.938 +cache_file=/dev/null 1.939 +exec_prefix=NONE 1.940 +no_create= 1.941 +no_recursion= 1.942 +prefix=NONE 1.943 +program_prefix=NONE 1.944 +program_suffix=NONE 1.945 +program_transform_name=s,x,x, 1.946 +silent= 1.947 +site= 1.948 +srcdir= 1.949 +verbose= 1.950 +x_includes=NONE 1.951 +x_libraries=NONE 1.952 + 1.953 +# Installation directory options. 1.954 +# These are left unexpanded so users can "make install exec_prefix=/foo" 1.955 +# and all the variables that are supposed to be based on exec_prefix 1.956 +# by default will actually change. 1.957 +# Use braces instead of parens because sh, perl, etc. also accept them. 1.958 +# (The list follows the same order as the GNU Coding Standards.) 1.959 +bindir='${exec_prefix}/bin' 1.960 +sbindir='${exec_prefix}/sbin' 1.961 +libexecdir='${exec_prefix}/libexec' 1.962 +datarootdir='${prefix}/share' 1.963 +datadir='${datarootdir}' 1.964 +sysconfdir='${prefix}/etc' 1.965 +sharedstatedir='${prefix}/com' 1.966 +localstatedir='${prefix}/var' 1.967 +includedir='${prefix}/include' 1.968 +oldincludedir='/usr/include' 1.969 +docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 1.970 +infodir='${datarootdir}/info' 1.971 +htmldir='${docdir}' 1.972 +dvidir='${docdir}' 1.973 +pdfdir='${docdir}' 1.974 +psdir='${docdir}' 1.975 +libdir='${exec_prefix}/lib' 1.976 +localedir='${datarootdir}/locale' 1.977 +mandir='${datarootdir}/man' 1.978 + 1.979 +ac_prev= 1.980 +ac_dashdash= 1.981 +for ac_option 1.982 +do 1.983 + # If the previous option needs an argument, assign it. 1.984 + if test -n "$ac_prev"; then 1.985 + eval $ac_prev=\$ac_option 1.986 + ac_prev= 1.987 + continue 1.988 + fi 1.989 + 1.990 + case $ac_option in 1.991 + *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 1.992 + *) ac_optarg=yes ;; 1.993 + esac 1.994 + 1.995 + # Accept the important Cygnus configure options, so we can diagnose typos. 1.996 + 1.997 + case $ac_dashdash$ac_option in 1.998 + --) 1.999 + ac_dashdash=yes ;; 1.1000 + 1.1001 + -bindir | --bindir | --bindi | --bind | --bin | --bi) 1.1002 + ac_prev=bindir ;; 1.1003 + -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 1.1004 + bindir=$ac_optarg ;; 1.1005 + 1.1006 + -build | --build | --buil | --bui | --bu) 1.1007 + ac_prev=build_alias ;; 1.1008 + -build=* | --build=* | --buil=* | --bui=* | --bu=*) 1.1009 + build_alias=$ac_optarg ;; 1.1010 + 1.1011 + -cache-file | --cache-file | --cache-fil | --cache-fi \ 1.1012 + | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 1.1013 + ac_prev=cache_file ;; 1.1014 + -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 1.1015 + | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 1.1016 + cache_file=$ac_optarg ;; 1.1017 + 1.1018 + --config-cache | -C) 1.1019 + cache_file=config.cache ;; 1.1020 + 1.1021 + -datadir | --datadir | --datadi | --datad) 1.1022 + ac_prev=datadir ;; 1.1023 + -datadir=* | --datadir=* | --datadi=* | --datad=*) 1.1024 + datadir=$ac_optarg ;; 1.1025 + 1.1026 + -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 1.1027 + | --dataroo | --dataro | --datar) 1.1028 + ac_prev=datarootdir ;; 1.1029 + -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 1.1030 + | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 1.1031 + datarootdir=$ac_optarg ;; 1.1032 + 1.1033 + -disable-* | --disable-*) 1.1034 + ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 1.1035 + # Reject names that are not valid shell variable names. 1.1036 + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1.1037 + as_fn_error "invalid feature name: $ac_useropt" 1.1038 + ac_useropt_orig=$ac_useropt 1.1039 + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1.1040 + case $ac_user_opts in 1.1041 + *" 1.1042 +"enable_$ac_useropt" 1.1043 +"*) ;; 1.1044 + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 1.1045 + ac_unrecognized_sep=', ';; 1.1046 + esac 1.1047 + eval enable_$ac_useropt=no ;; 1.1048 + 1.1049 + -docdir | --docdir | --docdi | --doc | --do) 1.1050 + ac_prev=docdir ;; 1.1051 + -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 1.1052 + docdir=$ac_optarg ;; 1.1053 + 1.1054 + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 1.1055 + ac_prev=dvidir ;; 1.1056 + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 1.1057 + dvidir=$ac_optarg ;; 1.1058 + 1.1059 + -enable-* | --enable-*) 1.1060 + ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 1.1061 + # Reject names that are not valid shell variable names. 1.1062 + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1.1063 + as_fn_error "invalid feature name: $ac_useropt" 1.1064 + ac_useropt_orig=$ac_useropt 1.1065 + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1.1066 + case $ac_user_opts in 1.1067 + *" 1.1068 +"enable_$ac_useropt" 1.1069 +"*) ;; 1.1070 + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 1.1071 + ac_unrecognized_sep=', ';; 1.1072 + esac 1.1073 + eval enable_$ac_useropt=\$ac_optarg ;; 1.1074 + 1.1075 + -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 1.1076 + | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 1.1077 + | --exec | --exe | --ex) 1.1078 + ac_prev=exec_prefix ;; 1.1079 + -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 1.1080 + | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 1.1081 + | --exec=* | --exe=* | --ex=*) 1.1082 + exec_prefix=$ac_optarg ;; 1.1083 + 1.1084 + -gas | --gas | --ga | --g) 1.1085 + # Obsolete; use --with-gas. 1.1086 + with_gas=yes ;; 1.1087 + 1.1088 + -help | --help | --hel | --he | -h) 1.1089 + ac_init_help=long ;; 1.1090 + -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 1.1091 + ac_init_help=recursive ;; 1.1092 + -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 1.1093 + ac_init_help=short ;; 1.1094 + 1.1095 + -host | --host | --hos | --ho) 1.1096 + ac_prev=host_alias ;; 1.1097 + -host=* | --host=* | --hos=* | --ho=*) 1.1098 + host_alias=$ac_optarg ;; 1.1099 + 1.1100 + -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 1.1101 + ac_prev=htmldir ;; 1.1102 + -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 1.1103 + | --ht=*) 1.1104 + htmldir=$ac_optarg ;; 1.1105 + 1.1106 + -includedir | --includedir | --includedi | --included | --include \ 1.1107 + | --includ | --inclu | --incl | --inc) 1.1108 + ac_prev=includedir ;; 1.1109 + -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 1.1110 + | --includ=* | --inclu=* | --incl=* | --inc=*) 1.1111 + includedir=$ac_optarg ;; 1.1112 + 1.1113 + -infodir | --infodir | --infodi | --infod | --info | --inf) 1.1114 + ac_prev=infodir ;; 1.1115 + -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 1.1116 + infodir=$ac_optarg ;; 1.1117 + 1.1118 + -libdir | --libdir | --libdi | --libd) 1.1119 + ac_prev=libdir ;; 1.1120 + -libdir=* | --libdir=* | --libdi=* | --libd=*) 1.1121 + libdir=$ac_optarg ;; 1.1122 + 1.1123 + -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1.1124 + | --libexe | --libex | --libe) 1.1125 + ac_prev=libexecdir ;; 1.1126 + -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1.1127 + | --libexe=* | --libex=* | --libe=*) 1.1128 + libexecdir=$ac_optarg ;; 1.1129 + 1.1130 + -localedir | --localedir | --localedi | --localed | --locale) 1.1131 + ac_prev=localedir ;; 1.1132 + -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1.1133 + localedir=$ac_optarg ;; 1.1134 + 1.1135 + -localstatedir | --localstatedir | --localstatedi | --localstated \ 1.1136 + | --localstate | --localstat | --localsta | --localst | --locals) 1.1137 + ac_prev=localstatedir ;; 1.1138 + -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1.1139 + | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1.1140 + localstatedir=$ac_optarg ;; 1.1141 + 1.1142 + -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1.1143 + ac_prev=mandir ;; 1.1144 + -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1.1145 + mandir=$ac_optarg ;; 1.1146 + 1.1147 + -nfp | --nfp | --nf) 1.1148 + # Obsolete; use --without-fp. 1.1149 + with_fp=no ;; 1.1150 + 1.1151 + -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1.1152 + | --no-cr | --no-c | -n) 1.1153 + no_create=yes ;; 1.1154 + 1.1155 + -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1.1156 + | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1.1157 + no_recursion=yes ;; 1.1158 + 1.1159 + -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1.1160 + | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1.1161 + | --oldin | --oldi | --old | --ol | --o) 1.1162 + ac_prev=oldincludedir ;; 1.1163 + -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1.1164 + | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1.1165 + | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1.1166 + oldincludedir=$ac_optarg ;; 1.1167 + 1.1168 + -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1.1169 + ac_prev=prefix ;; 1.1170 + -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1.1171 + prefix=$ac_optarg ;; 1.1172 + 1.1173 + -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1.1174 + | --program-pre | --program-pr | --program-p) 1.1175 + ac_prev=program_prefix ;; 1.1176 + -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1.1177 + | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1.1178 + program_prefix=$ac_optarg ;; 1.1179 + 1.1180 + -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1.1181 + | --program-suf | --program-su | --program-s) 1.1182 + ac_prev=program_suffix ;; 1.1183 + -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1.1184 + | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1.1185 + program_suffix=$ac_optarg ;; 1.1186 + 1.1187 + -program-transform-name | --program-transform-name \ 1.1188 + | --program-transform-nam | --program-transform-na \ 1.1189 + | --program-transform-n | --program-transform- \ 1.1190 + | --program-transform | --program-transfor \ 1.1191 + | --program-transfo | --program-transf \ 1.1192 + | --program-trans | --program-tran \ 1.1193 + | --progr-tra | --program-tr | --program-t) 1.1194 + ac_prev=program_transform_name ;; 1.1195 + -program-transform-name=* | --program-transform-name=* \ 1.1196 + | --program-transform-nam=* | --program-transform-na=* \ 1.1197 + | --program-transform-n=* | --program-transform-=* \ 1.1198 + | --program-transform=* | --program-transfor=* \ 1.1199 + | --program-transfo=* | --program-transf=* \ 1.1200 + | --program-trans=* | --program-tran=* \ 1.1201 + | --progr-tra=* | --program-tr=* | --program-t=*) 1.1202 + program_transform_name=$ac_optarg ;; 1.1203 + 1.1204 + -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1.1205 + ac_prev=pdfdir ;; 1.1206 + -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1.1207 + pdfdir=$ac_optarg ;; 1.1208 + 1.1209 + -psdir | --psdir | --psdi | --psd | --ps) 1.1210 + ac_prev=psdir ;; 1.1211 + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1.1212 + psdir=$ac_optarg ;; 1.1213 + 1.1214 + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1.1215 + | -silent | --silent | --silen | --sile | --sil) 1.1216 + silent=yes ;; 1.1217 + 1.1218 + -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1.1219 + ac_prev=sbindir ;; 1.1220 + -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1.1221 + | --sbi=* | --sb=*) 1.1222 + sbindir=$ac_optarg ;; 1.1223 + 1.1224 + -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1.1225 + | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1.1226 + | --sharedst | --shareds | --shared | --share | --shar \ 1.1227 + | --sha | --sh) 1.1228 + ac_prev=sharedstatedir ;; 1.1229 + -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1.1230 + | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1.1231 + | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1.1232 + | --sha=* | --sh=*) 1.1233 + sharedstatedir=$ac_optarg ;; 1.1234 + 1.1235 + -site | --site | --sit) 1.1236 + ac_prev=site ;; 1.1237 + -site=* | --site=* | --sit=*) 1.1238 + site=$ac_optarg ;; 1.1239 + 1.1240 + -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1.1241 + ac_prev=srcdir ;; 1.1242 + -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1.1243 + srcdir=$ac_optarg ;; 1.1244 + 1.1245 + -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1.1246 + | --syscon | --sysco | --sysc | --sys | --sy) 1.1247 + ac_prev=sysconfdir ;; 1.1248 + -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1.1249 + | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1.1250 + sysconfdir=$ac_optarg ;; 1.1251 + 1.1252 + -target | --target | --targe | --targ | --tar | --ta | --t) 1.1253 + ac_prev=target_alias ;; 1.1254 + -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1.1255 + target_alias=$ac_optarg ;; 1.1256 + 1.1257 + -v | -verbose | --verbose | --verbos | --verbo | --verb) 1.1258 + verbose=yes ;; 1.1259 + 1.1260 + -version | --version | --versio | --versi | --vers | -V) 1.1261 + ac_init_version=: ;; 1.1262 + 1.1263 + -with-* | --with-*) 1.1264 + ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1.1265 + # Reject names that are not valid shell variable names. 1.1266 + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1.1267 + as_fn_error "invalid package name: $ac_useropt" 1.1268 + ac_useropt_orig=$ac_useropt 1.1269 + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1.1270 + case $ac_user_opts in 1.1271 + *" 1.1272 +"with_$ac_useropt" 1.1273 +"*) ;; 1.1274 + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1.1275 + ac_unrecognized_sep=', ';; 1.1276 + esac 1.1277 + eval with_$ac_useropt=\$ac_optarg ;; 1.1278 + 1.1279 + -without-* | --without-*) 1.1280 + ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1.1281 + # Reject names that are not valid shell variable names. 1.1282 + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1.1283 + as_fn_error "invalid package name: $ac_useropt" 1.1284 + ac_useropt_orig=$ac_useropt 1.1285 + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1.1286 + case $ac_user_opts in 1.1287 + *" 1.1288 +"with_$ac_useropt" 1.1289 +"*) ;; 1.1290 + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1.1291 + ac_unrecognized_sep=', ';; 1.1292 + esac 1.1293 + eval with_$ac_useropt=no ;; 1.1294 + 1.1295 + --x) 1.1296 + # Obsolete; use --with-x. 1.1297 + with_x=yes ;; 1.1298 + 1.1299 + -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1.1300 + | --x-incl | --x-inc | --x-in | --x-i) 1.1301 + ac_prev=x_includes ;; 1.1302 + -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1.1303 + | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1.1304 + x_includes=$ac_optarg ;; 1.1305 + 1.1306 + -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1.1307 + | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1.1308 + ac_prev=x_libraries ;; 1.1309 + -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1.1310 + | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1.1311 + x_libraries=$ac_optarg ;; 1.1312 + 1.1313 + -*) as_fn_error "unrecognized option: \`$ac_option' 1.1314 +Try \`$0 --help' for more information." 1.1315 + ;; 1.1316 + 1.1317 + *=*) 1.1318 + ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1.1319 + # Reject names that are not valid shell variable names. 1.1320 + case $ac_envvar in #( 1.1321 + '' | [0-9]* | *[!_$as_cr_alnum]* ) 1.1322 + as_fn_error "invalid variable name: \`$ac_envvar'" ;; 1.1323 + esac 1.1324 + eval $ac_envvar=\$ac_optarg 1.1325 + export $ac_envvar ;; 1.1326 + 1.1327 + *) 1.1328 + # FIXME: should be removed in autoconf 3.0. 1.1329 + $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1.1330 + expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1.1331 + $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1.1332 + : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1.1333 + ;; 1.1334 + 1.1335 + esac 1.1336 +done 1.1337 + 1.1338 +if test -n "$ac_prev"; then 1.1339 + ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1.1340 + as_fn_error "missing argument to $ac_option" 1.1341 +fi 1.1342 + 1.1343 +if test -n "$ac_unrecognized_opts"; then 1.1344 + case $enable_option_checking in 1.1345 + no) ;; 1.1346 + fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; 1.1347 + *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1.1348 + esac 1.1349 +fi 1.1350 + 1.1351 +# Check all directory arguments for consistency. 1.1352 +for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1.1353 + datadir sysconfdir sharedstatedir localstatedir includedir \ 1.1354 + oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1.1355 + libdir localedir mandir 1.1356 +do 1.1357 + eval ac_val=\$$ac_var 1.1358 + # Remove trailing slashes. 1.1359 + case $ac_val in 1.1360 + */ ) 1.1361 + ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1.1362 + eval $ac_var=\$ac_val;; 1.1363 + esac 1.1364 + # Be sure to have absolute directory names. 1.1365 + case $ac_val in 1.1366 + [\\/$]* | ?:[\\/]* ) continue;; 1.1367 + NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1.1368 + esac 1.1369 + as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" 1.1370 +done 1.1371 + 1.1372 +# There might be people who depend on the old broken behavior: `$host' 1.1373 +# used to hold the argument of --host etc. 1.1374 +# FIXME: To remove some day. 1.1375 +build=$build_alias 1.1376 +host=$host_alias 1.1377 +target=$target_alias 1.1378 + 1.1379 +# FIXME: To remove some day. 1.1380 +if test "x$host_alias" != x; then 1.1381 + if test "x$build_alias" = x; then 1.1382 + cross_compiling=maybe 1.1383 + $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1.1384 + If a cross compiler is detected then cross compile mode will be used." >&2 1.1385 + elif test "x$build_alias" != "x$host_alias"; then 1.1386 + cross_compiling=yes 1.1387 + fi 1.1388 +fi 1.1389 + 1.1390 +ac_tool_prefix= 1.1391 +test -n "$host_alias" && ac_tool_prefix=$host_alias- 1.1392 + 1.1393 +test "$silent" = yes && exec 6>/dev/null 1.1394 + 1.1395 + 1.1396 +ac_pwd=`pwd` && test -n "$ac_pwd" && 1.1397 +ac_ls_di=`ls -di .` && 1.1398 +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1.1399 + as_fn_error "working directory cannot be determined" 1.1400 +test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1.1401 + as_fn_error "pwd does not report name of working directory" 1.1402 + 1.1403 + 1.1404 +# Find the source files, if location was not specified. 1.1405 +if test -z "$srcdir"; then 1.1406 + ac_srcdir_defaulted=yes 1.1407 + # Try the directory containing this script, then the parent directory. 1.1408 + ac_confdir=`$as_dirname -- "$as_myself" || 1.1409 +$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1.1410 + X"$as_myself" : 'X\(//\)[^/]' \| \ 1.1411 + X"$as_myself" : 'X\(//\)$' \| \ 1.1412 + X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1.1413 +$as_echo X"$as_myself" | 1.1414 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1.1415 + s//\1/ 1.1416 + q 1.1417 + } 1.1418 + /^X\(\/\/\)[^/].*/{ 1.1419 + s//\1/ 1.1420 + q 1.1421 + } 1.1422 + /^X\(\/\/\)$/{ 1.1423 + s//\1/ 1.1424 + q 1.1425 + } 1.1426 + /^X\(\/\).*/{ 1.1427 + s//\1/ 1.1428 + q 1.1429 + } 1.1430 + s/.*/./; q'` 1.1431 + srcdir=$ac_confdir 1.1432 + if test ! -r "$srcdir/$ac_unique_file"; then 1.1433 + srcdir=.. 1.1434 + fi 1.1435 +else 1.1436 + ac_srcdir_defaulted=no 1.1437 +fi 1.1438 +if test ! -r "$srcdir/$ac_unique_file"; then 1.1439 + test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1.1440 + as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" 1.1441 +fi 1.1442 +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1.1443 +ac_abs_confdir=`( 1.1444 + cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" 1.1445 + pwd)` 1.1446 +# When building in place, set srcdir=. 1.1447 +if test "$ac_abs_confdir" = "$ac_pwd"; then 1.1448 + srcdir=. 1.1449 +fi 1.1450 +# Remove unnecessary trailing slashes from srcdir. 1.1451 +# Double slashes in file names in object file debugging info 1.1452 +# mess up M-x gdb in Emacs. 1.1453 +case $srcdir in 1.1454 +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1.1455 +esac 1.1456 +for ac_var in $ac_precious_vars; do 1.1457 + eval ac_env_${ac_var}_set=\${${ac_var}+set} 1.1458 + eval ac_env_${ac_var}_value=\$${ac_var} 1.1459 + eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1.1460 + eval ac_cv_env_${ac_var}_value=\$${ac_var} 1.1461 +done 1.1462 + 1.1463 +# 1.1464 +# Report the --help message. 1.1465 +# 1.1466 +if test "$ac_init_help" = "long"; then 1.1467 + # Omit some internal or obsolete options to make the list less imposing. 1.1468 + # This message is too long to be a string in the A/UX 3.1 sh. 1.1469 + cat <<_ACEOF 1.1470 +\`configure' configures glog 0.3.1 to adapt to many kinds of systems. 1.1471 + 1.1472 +Usage: $0 [OPTION]... [VAR=VALUE]... 1.1473 + 1.1474 +To assign environment variables (e.g., CC, CFLAGS...), specify them as 1.1475 +VAR=VALUE. See below for descriptions of some of the useful variables. 1.1476 + 1.1477 +Defaults for the options are specified in brackets. 1.1478 + 1.1479 +Configuration: 1.1480 + -h, --help display this help and exit 1.1481 + --help=short display options specific to this package 1.1482 + --help=recursive display the short help of all the included packages 1.1483 + -V, --version display version information and exit 1.1484 + -q, --quiet, --silent do not print \`checking...' messages 1.1485 + --cache-file=FILE cache test results in FILE [disabled] 1.1486 + -C, --config-cache alias for \`--cache-file=config.cache' 1.1487 + -n, --no-create do not create output files 1.1488 + --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1.1489 + 1.1490 +Installation directories: 1.1491 + --prefix=PREFIX install architecture-independent files in PREFIX 1.1492 + [$ac_default_prefix] 1.1493 + --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1.1494 + [PREFIX] 1.1495 + 1.1496 +By default, \`make install' will install all the files in 1.1497 +\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1.1498 +an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1.1499 +for instance \`--prefix=\$HOME'. 1.1500 + 1.1501 +For better control, use the options below. 1.1502 + 1.1503 +Fine tuning of the installation directories: 1.1504 + --bindir=DIR user executables [EPREFIX/bin] 1.1505 + --sbindir=DIR system admin executables [EPREFIX/sbin] 1.1506 + --libexecdir=DIR program executables [EPREFIX/libexec] 1.1507 + --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1.1508 + --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1.1509 + --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1.1510 + --libdir=DIR object code libraries [EPREFIX/lib] 1.1511 + --includedir=DIR C header files [PREFIX/include] 1.1512 + --oldincludedir=DIR C header files for non-gcc [/usr/include] 1.1513 + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1.1514 + --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1.1515 + --infodir=DIR info documentation [DATAROOTDIR/info] 1.1516 + --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1.1517 + --mandir=DIR man documentation [DATAROOTDIR/man] 1.1518 + --docdir=DIR documentation root [DATAROOTDIR/doc/glog] 1.1519 + --htmldir=DIR html documentation [DOCDIR] 1.1520 + --dvidir=DIR dvi documentation [DOCDIR] 1.1521 + --pdfdir=DIR pdf documentation [DOCDIR] 1.1522 + --psdir=DIR ps documentation [DOCDIR] 1.1523 +_ACEOF 1.1524 + 1.1525 + cat <<\_ACEOF 1.1526 + 1.1527 +Program names: 1.1528 + --program-prefix=PREFIX prepend PREFIX to installed program names 1.1529 + --program-suffix=SUFFIX append SUFFIX to installed program names 1.1530 + --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1.1531 + 1.1532 +System types: 1.1533 + --build=BUILD configure for building on BUILD [guessed] 1.1534 + --host=HOST cross-compile to build programs to run on HOST [BUILD] 1.1535 +_ACEOF 1.1536 +fi 1.1537 + 1.1538 +if test -n "$ac_init_help"; then 1.1539 + case $ac_init_help in 1.1540 + short | recursive ) echo "Configuration of glog 0.3.1:";; 1.1541 + esac 1.1542 + cat <<\_ACEOF 1.1543 + 1.1544 +Optional Features: 1.1545 + --disable-option-checking ignore unrecognized --enable/--with options 1.1546 + --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1.1547 + --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1.1548 + --disable-dependency-tracking speeds up one-time build 1.1549 + --enable-dependency-tracking do not reject slow dependency extractors 1.1550 + --enable-shared[=PKGS] build shared libraries [default=yes] 1.1551 + --enable-static[=PKGS] build static libraries [default=yes] 1.1552 + --enable-fast-install[=PKGS] 1.1553 + optimize for fast installation [default=yes] 1.1554 + --disable-libtool-lock avoid locking (might break parallel builds) 1.1555 + --enable-frame-pointers On x86_64 systems, compile with 1.1556 + -fno-omit-frame-pointer (see INSTALL) 1.1557 + --enable-namespace=FOO to define these Google 1.1558 + classes in the FOO namespace. --disable-namespace 1.1559 + to define them in the global namespace. Default 1.1560 + is to define them in namespace google. 1.1561 + 1.1562 +Optional Packages: 1.1563 + --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1.1564 + --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1.1565 + --with-pic try to use only PIC/non-PIC objects [default=use 1.1566 + both] 1.1567 + --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1.1568 + --with-gflags=GFLAGS_DIR 1.1569 + 1.1570 +Some influential environment variables: 1.1571 + CC C compiler command 1.1572 + CFLAGS C compiler flags 1.1573 + LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1.1574 + nonstandard directory <lib dir> 1.1575 + LIBS libraries to pass to the linker, e.g. -l<library> 1.1576 + CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1.1577 + you have headers in a nonstandard directory <include dir> 1.1578 + CPP C preprocessor 1.1579 + CXX C++ compiler command 1.1580 + CXXFLAGS C++ compiler flags 1.1581 + CXXCPP C++ preprocessor 1.1582 + 1.1583 +Use these variables to override the choices made by `configure' or to help 1.1584 +it to find libraries and programs with nonstandard names/locations. 1.1585 + 1.1586 +Report bugs to <opensource@google.com>. 1.1587 +_ACEOF 1.1588 +ac_status=$? 1.1589 +fi 1.1590 + 1.1591 +if test "$ac_init_help" = "recursive"; then 1.1592 + # If there are subdirs, report their specific --help. 1.1593 + for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1.1594 + test -d "$ac_dir" || 1.1595 + { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1.1596 + continue 1.1597 + ac_builddir=. 1.1598 + 1.1599 +case "$ac_dir" in 1.1600 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1.1601 +*) 1.1602 + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1.1603 + # A ".." for each directory in $ac_dir_suffix. 1.1604 + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1.1605 + case $ac_top_builddir_sub in 1.1606 + "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1.1607 + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1.1608 + esac ;; 1.1609 +esac 1.1610 +ac_abs_top_builddir=$ac_pwd 1.1611 +ac_abs_builddir=$ac_pwd$ac_dir_suffix 1.1612 +# for backward compatibility: 1.1613 +ac_top_builddir=$ac_top_build_prefix 1.1614 + 1.1615 +case $srcdir in 1.1616 + .) # We are building in place. 1.1617 + ac_srcdir=. 1.1618 + ac_top_srcdir=$ac_top_builddir_sub 1.1619 + ac_abs_top_srcdir=$ac_pwd ;; 1.1620 + [\\/]* | ?:[\\/]* ) # Absolute name. 1.1621 + ac_srcdir=$srcdir$ac_dir_suffix; 1.1622 + ac_top_srcdir=$srcdir 1.1623 + ac_abs_top_srcdir=$srcdir ;; 1.1624 + *) # Relative name. 1.1625 + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1.1626 + ac_top_srcdir=$ac_top_build_prefix$srcdir 1.1627 + ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1.1628 +esac 1.1629 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1.1630 + 1.1631 + cd "$ac_dir" || { ac_status=$?; continue; } 1.1632 + # Check for guested configure. 1.1633 + if test -f "$ac_srcdir/configure.gnu"; then 1.1634 + echo && 1.1635 + $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1.1636 + elif test -f "$ac_srcdir/configure"; then 1.1637 + echo && 1.1638 + $SHELL "$ac_srcdir/configure" --help=recursive 1.1639 + else 1.1640 + $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1.1641 + fi || ac_status=$? 1.1642 + cd "$ac_pwd" || { ac_status=$?; break; } 1.1643 + done 1.1644 +fi 1.1645 + 1.1646 +test -n "$ac_init_help" && exit $ac_status 1.1647 +if $ac_init_version; then 1.1648 + cat <<\_ACEOF 1.1649 +glog configure 0.3.1 1.1650 +generated by GNU Autoconf 2.65 1.1651 + 1.1652 +Copyright (C) 2009 Free Software Foundation, Inc. 1.1653 +This configure script is free software; the Free Software Foundation 1.1654 +gives unlimited permission to copy, distribute and modify it. 1.1655 +_ACEOF 1.1656 + exit 1.1657 +fi 1.1658 + 1.1659 +## ------------------------ ## 1.1660 +## Autoconf initialization. ## 1.1661 +## ------------------------ ## 1.1662 + 1.1663 +# ac_fn_c_try_compile LINENO 1.1664 +# -------------------------- 1.1665 +# Try to compile conftest.$ac_ext, and return whether this succeeded. 1.1666 +ac_fn_c_try_compile () 1.1667 +{ 1.1668 + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1.1669 + rm -f conftest.$ac_objext 1.1670 + if { { ac_try="$ac_compile" 1.1671 +case "(($ac_try" in 1.1672 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1.1673 + *) ac_try_echo=$ac_try;; 1.1674 +esac 1.1675 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1.1676 +$as_echo "$ac_try_echo"; } >&5 1.1677 + (eval "$ac_compile") 2>conftest.err 1.1678 + ac_status=$? 1.1679 + if test -s conftest.err; then 1.1680 + grep -v '^ *+' conftest.err >conftest.er1 1.1681 + cat conftest.er1 >&5 1.1682 + mv -f conftest.er1 conftest.err 1.1683 + fi 1.1684 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1.1685 + test $ac_status = 0; } && { 1.1686 + test -z "$ac_c_werror_flag" || 1.1687 + test ! -s conftest.err 1.1688 + } && test -s conftest.$ac_objext; then : 1.1689 + ac_retval=0 1.1690 +else 1.1691 + $as_echo "$as_me: failed program was:" >&5 1.1692 +sed 's/^/| /' conftest.$ac_ext >&5 1.1693 + 1.1694 + ac_retval=1 1.1695 +fi 1.1696 + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1.1697 + as_fn_set_status $ac_retval 1.1698 + 1.1699 +} # ac_fn_c_try_compile 1.1700 + 1.1701 +# ac_fn_c_try_cpp LINENO 1.1702 +# ---------------------- 1.1703 +# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1.1704 +ac_fn_c_try_cpp () 1.1705 +{ 1.1706 + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1.1707 + if { { ac_try="$ac_cpp conftest.$ac_ext" 1.1708 +case "(($ac_try" in 1.1709 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1.1710 + *) ac_try_echo=$ac_try;; 1.1711 +esac 1.1712 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1.1713 +$as_echo "$ac_try_echo"; } >&5 1.1714 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1.1715 + ac_status=$? 1.1716 + if test -s conftest.err; then 1.1717 + grep -v '^ *+' conftest.err >conftest.er1 1.1718 + cat conftest.er1 >&5 1.1719 + mv -f conftest.er1 conftest.err 1.1720 + fi 1.1721 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1.1722 + test $ac_status = 0; } >/dev/null && { 1.1723 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1.1724 + test ! -s conftest.err 1.1725 + }; then : 1.1726 + ac_retval=0 1.1727 +else 1.1728 + $as_echo "$as_me: failed program was:" >&5 1.1729 +sed 's/^/| /' conftest.$ac_ext >&5 1.1730 + 1.1731 + ac_retval=1 1.1732 +fi 1.1733 + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1.1734 + as_fn_set_status $ac_retval 1.1735 + 1.1736 +} # ac_fn_c_try_cpp 1.1737 + 1.1738 +# ac_fn_cxx_try_compile LINENO 1.1739 +# ---------------------------- 1.1740 +# Try to compile conftest.$ac_ext, and return whether this succeeded. 1.1741 +ac_fn_cxx_try_compile () 1.1742 +{ 1.1743 + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1.1744 + rm -f conftest.$ac_objext 1.1745 + if { { ac_try="$ac_compile" 1.1746 +case "(($ac_try" in 1.1747 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1.1748 + *) ac_try_echo=$ac_try;; 1.1749 +esac 1.1750 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1.1751 +$as_echo "$ac_try_echo"; } >&5 1.1752 + (eval "$ac_compile") 2>conftest.err 1.1753 + ac_status=$? 1.1754 + if test -s conftest.err; then 1.1755 + grep -v '^ *+' conftest.err >conftest.er1 1.1756 + cat conftest.er1 >&5 1.1757 + mv -f conftest.er1 conftest.err 1.1758 + fi 1.1759 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1.1760 + test $ac_status = 0; } && { 1.1761 + test -z "$ac_cxx_werror_flag" || 1.1762 + test ! -s conftest.err 1.1763 + } && test -s conftest.$ac_objext; then : 1.1764 + ac_retval=0 1.1765 +else 1.1766 + $as_echo "$as_me: failed program was:" >&5 1.1767 +sed 's/^/| /' conftest.$ac_ext >&5 1.1768 + 1.1769 + ac_retval=1 1.1770 +fi 1.1771 + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1.1772 + as_fn_set_status $ac_retval 1.1773 + 1.1774 +} # ac_fn_cxx_try_compile 1.1775 + 1.1776 +# ac_fn_c_try_link LINENO 1.1777 +# ----------------------- 1.1778 +# Try to link conftest.$ac_ext, and return whether this succeeded. 1.1779 +ac_fn_c_try_link () 1.1780 +{ 1.1781 + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1.1782 + rm -f conftest.$ac_objext conftest$ac_exeext 1.1783 + if { { ac_try="$ac_link" 1.1784 +case "(($ac_try" in 1.1785 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1.1786 + *) ac_try_echo=$ac_try;; 1.1787 +esac 1.1788 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1.1789 +$as_echo "$ac_try_echo"; } >&5 1.1790 + (eval "$ac_link") 2>conftest.err 1.1791 + ac_status=$? 1.1792 + if test -s conftest.err; then 1.1793 + grep -v '^ *+' conftest.err >conftest.er1 1.1794 + cat conftest.er1 >&5 1.1795 + mv -f conftest.er1 conftest.err 1.1796 + fi 1.1797 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1.1798 + test $ac_status = 0; } && { 1.1799 + test -z "$ac_c_werror_flag" || 1.1800 + test ! -s conftest.err 1.1801 + } && test -s conftest$ac_exeext && { 1.1802 + test "$cross_compiling" = yes || 1.1803 + $as_test_x conftest$ac_exeext 1.1804 + }; then : 1.1805 + ac_retval=0 1.1806 +else 1.1807 + $as_echo "$as_me: failed program was:" >&5 1.1808 +sed 's/^/| /' conftest.$ac_ext >&5 1.1809 + 1.1810 + ac_retval=1 1.1811 +fi 1.1812 + # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1.1813 + # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1.1814 + # interfere with the next link command; also delete a directory that is 1.1815 + # left behind by Apple's compiler. We do this before executing the actions. 1.1816 + rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1.1817 + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1.1818 + as_fn_set_status $ac_retval 1.1819 + 1.1820 +} # ac_fn_c_try_link 1.1821 + 1.1822 +# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1.1823 +# ------------------------------------------------------- 1.1824 +# Tests whether HEADER exists and can be compiled using the include files in 1.1825 +# INCLUDES, setting the cache variable VAR accordingly. 1.1826 +ac_fn_c_check_header_compile () 1.1827 +{ 1.1828 + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1.1829 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1.1830 +$as_echo_n "checking for $2... " >&6; } 1.1831 +if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1.1832 + $as_echo_n "(cached) " >&6 1.1833 +else 1.1834 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.1835 +/* end confdefs.h. */ 1.1836 +$4 1.1837 +#include <$2> 1.1838 +_ACEOF 1.1839 +if ac_fn_c_try_compile "$LINENO"; then : 1.1840 + eval "$3=yes" 1.1841 +else 1.1842 + eval "$3=no" 1.1843 +fi 1.1844 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1.1845 +fi 1.1846 +eval ac_res=\$$3 1.1847 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1.1848 +$as_echo "$ac_res" >&6; } 1.1849 + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1.1850 + 1.1851 +} # ac_fn_c_check_header_compile 1.1852 + 1.1853 +# ac_fn_c_try_run LINENO 1.1854 +# ---------------------- 1.1855 +# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1.1856 +# that executables *can* be run. 1.1857 +ac_fn_c_try_run () 1.1858 +{ 1.1859 + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1.1860 + if { { ac_try="$ac_link" 1.1861 +case "(($ac_try" in 1.1862 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1.1863 + *) ac_try_echo=$ac_try;; 1.1864 +esac 1.1865 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1.1866 +$as_echo "$ac_try_echo"; } >&5 1.1867 + (eval "$ac_link") 2>&5 1.1868 + ac_status=$? 1.1869 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1.1870 + test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1.1871 + { { case "(($ac_try" in 1.1872 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1.1873 + *) ac_try_echo=$ac_try;; 1.1874 +esac 1.1875 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1.1876 +$as_echo "$ac_try_echo"; } >&5 1.1877 + (eval "$ac_try") 2>&5 1.1878 + ac_status=$? 1.1879 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1.1880 + test $ac_status = 0; }; }; then : 1.1881 + ac_retval=0 1.1882 +else 1.1883 + $as_echo "$as_me: program exited with status $ac_status" >&5 1.1884 + $as_echo "$as_me: failed program was:" >&5 1.1885 +sed 's/^/| /' conftest.$ac_ext >&5 1.1886 + 1.1887 + ac_retval=$ac_status 1.1888 +fi 1.1889 + rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1.1890 + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1.1891 + as_fn_set_status $ac_retval 1.1892 + 1.1893 +} # ac_fn_c_try_run 1.1894 + 1.1895 +# ac_fn_c_check_func LINENO FUNC VAR 1.1896 +# ---------------------------------- 1.1897 +# Tests whether FUNC exists, setting the cache variable VAR accordingly 1.1898 +ac_fn_c_check_func () 1.1899 +{ 1.1900 + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1.1901 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1.1902 +$as_echo_n "checking for $2... " >&6; } 1.1903 +if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1.1904 + $as_echo_n "(cached) " >&6 1.1905 +else 1.1906 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.1907 +/* end confdefs.h. */ 1.1908 +/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1.1909 + For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1.1910 +#define $2 innocuous_$2 1.1911 + 1.1912 +/* System header to define __stub macros and hopefully few prototypes, 1.1913 + which can conflict with char $2 (); below. 1.1914 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1.1915 + <limits.h> exists even on freestanding compilers. */ 1.1916 + 1.1917 +#ifdef __STDC__ 1.1918 +# include <limits.h> 1.1919 +#else 1.1920 +# include <assert.h> 1.1921 +#endif 1.1922 + 1.1923 +#undef $2 1.1924 + 1.1925 +/* Override any GCC internal prototype to avoid an error. 1.1926 + Use char because int might match the return type of a GCC 1.1927 + builtin and then its argument prototype would still apply. */ 1.1928 +#ifdef __cplusplus 1.1929 +extern "C" 1.1930 +#endif 1.1931 +char $2 (); 1.1932 +/* The GNU C library defines this for functions which it implements 1.1933 + to always fail with ENOSYS. Some functions are actually named 1.1934 + something starting with __ and the normal name is an alias. */ 1.1935 +#if defined __stub_$2 || defined __stub___$2 1.1936 +choke me 1.1937 +#endif 1.1938 + 1.1939 +int 1.1940 +main () 1.1941 +{ 1.1942 +return $2 (); 1.1943 + ; 1.1944 + return 0; 1.1945 +} 1.1946 +_ACEOF 1.1947 +if ac_fn_c_try_link "$LINENO"; then : 1.1948 + eval "$3=yes" 1.1949 +else 1.1950 + eval "$3=no" 1.1951 +fi 1.1952 +rm -f core conftest.err conftest.$ac_objext \ 1.1953 + conftest$ac_exeext conftest.$ac_ext 1.1954 +fi 1.1955 +eval ac_res=\$$3 1.1956 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1.1957 +$as_echo "$ac_res" >&6; } 1.1958 + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1.1959 + 1.1960 +} # ac_fn_c_check_func 1.1961 + 1.1962 +# ac_fn_cxx_try_cpp LINENO 1.1963 +# ------------------------ 1.1964 +# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1.1965 +ac_fn_cxx_try_cpp () 1.1966 +{ 1.1967 + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1.1968 + if { { ac_try="$ac_cpp conftest.$ac_ext" 1.1969 +case "(($ac_try" in 1.1970 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1.1971 + *) ac_try_echo=$ac_try;; 1.1972 +esac 1.1973 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1.1974 +$as_echo "$ac_try_echo"; } >&5 1.1975 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1.1976 + ac_status=$? 1.1977 + if test -s conftest.err; then 1.1978 + grep -v '^ *+' conftest.err >conftest.er1 1.1979 + cat conftest.er1 >&5 1.1980 + mv -f conftest.er1 conftest.err 1.1981 + fi 1.1982 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1.1983 + test $ac_status = 0; } >/dev/null && { 1.1984 + test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 1.1985 + test ! -s conftest.err 1.1986 + }; then : 1.1987 + ac_retval=0 1.1988 +else 1.1989 + $as_echo "$as_me: failed program was:" >&5 1.1990 +sed 's/^/| /' conftest.$ac_ext >&5 1.1991 + 1.1992 + ac_retval=1 1.1993 +fi 1.1994 + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1.1995 + as_fn_set_status $ac_retval 1.1996 + 1.1997 +} # ac_fn_cxx_try_cpp 1.1998 + 1.1999 +# ac_fn_cxx_try_link LINENO 1.2000 +# ------------------------- 1.2001 +# Try to link conftest.$ac_ext, and return whether this succeeded. 1.2002 +ac_fn_cxx_try_link () 1.2003 +{ 1.2004 + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1.2005 + rm -f conftest.$ac_objext conftest$ac_exeext 1.2006 + if { { ac_try="$ac_link" 1.2007 +case "(($ac_try" in 1.2008 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1.2009 + *) ac_try_echo=$ac_try;; 1.2010 +esac 1.2011 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1.2012 +$as_echo "$ac_try_echo"; } >&5 1.2013 + (eval "$ac_link") 2>conftest.err 1.2014 + ac_status=$? 1.2015 + if test -s conftest.err; then 1.2016 + grep -v '^ *+' conftest.err >conftest.er1 1.2017 + cat conftest.er1 >&5 1.2018 + mv -f conftest.er1 conftest.err 1.2019 + fi 1.2020 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1.2021 + test $ac_status = 0; } && { 1.2022 + test -z "$ac_cxx_werror_flag" || 1.2023 + test ! -s conftest.err 1.2024 + } && test -s conftest$ac_exeext && { 1.2025 + test "$cross_compiling" = yes || 1.2026 + $as_test_x conftest$ac_exeext 1.2027 + }; then : 1.2028 + ac_retval=0 1.2029 +else 1.2030 + $as_echo "$as_me: failed program was:" >&5 1.2031 +sed 's/^/| /' conftest.$ac_ext >&5 1.2032 + 1.2033 + ac_retval=1 1.2034 +fi 1.2035 + # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1.2036 + # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1.2037 + # interfere with the next link command; also delete a directory that is 1.2038 + # left behind by Apple's compiler. We do this before executing the actions. 1.2039 + rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1.2040 + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1.2041 + as_fn_set_status $ac_retval 1.2042 + 1.2043 +} # ac_fn_cxx_try_link 1.2044 + 1.2045 +# ac_fn_cxx_try_run LINENO 1.2046 +# ------------------------ 1.2047 +# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1.2048 +# that executables *can* be run. 1.2049 +ac_fn_cxx_try_run () 1.2050 +{ 1.2051 + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1.2052 + if { { ac_try="$ac_link" 1.2053 +case "(($ac_try" in 1.2054 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1.2055 + *) ac_try_echo=$ac_try;; 1.2056 +esac 1.2057 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1.2058 +$as_echo "$ac_try_echo"; } >&5 1.2059 + (eval "$ac_link") 2>&5 1.2060 + ac_status=$? 1.2061 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1.2062 + test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1.2063 + { { case "(($ac_try" in 1.2064 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1.2065 + *) ac_try_echo=$ac_try;; 1.2066 +esac 1.2067 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1.2068 +$as_echo "$ac_try_echo"; } >&5 1.2069 + (eval "$ac_try") 2>&5 1.2070 + ac_status=$? 1.2071 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1.2072 + test $ac_status = 0; }; }; then : 1.2073 + ac_retval=0 1.2074 +else 1.2075 + $as_echo "$as_me: program exited with status $ac_status" >&5 1.2076 + $as_echo "$as_me: failed program was:" >&5 1.2077 +sed 's/^/| /' conftest.$ac_ext >&5 1.2078 + 1.2079 + ac_retval=$ac_status 1.2080 +fi 1.2081 + rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1.2082 + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1.2083 + as_fn_set_status $ac_retval 1.2084 + 1.2085 +} # ac_fn_cxx_try_run 1.2086 + 1.2087 +# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES 1.2088 +# --------------------------------------------------------- 1.2089 +# Tests whether HEADER exists, giving a warning if it cannot be compiled using 1.2090 +# the include files in INCLUDES and setting the cache variable VAR 1.2091 +# accordingly. 1.2092 +ac_fn_cxx_check_header_mongrel () 1.2093 +{ 1.2094 + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1.2095 + if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1.2096 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1.2097 +$as_echo_n "checking for $2... " >&6; } 1.2098 +if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1.2099 + $as_echo_n "(cached) " >&6 1.2100 +fi 1.2101 +eval ac_res=\$$3 1.2102 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1.2103 +$as_echo "$ac_res" >&6; } 1.2104 +else 1.2105 + # Is the header compilable? 1.2106 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1.2107 +$as_echo_n "checking $2 usability... " >&6; } 1.2108 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.2109 +/* end confdefs.h. */ 1.2110 +$4 1.2111 +#include <$2> 1.2112 +_ACEOF 1.2113 +if ac_fn_cxx_try_compile "$LINENO"; then : 1.2114 + ac_header_compiler=yes 1.2115 +else 1.2116 + ac_header_compiler=no 1.2117 +fi 1.2118 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1.2119 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1.2120 +$as_echo "$ac_header_compiler" >&6; } 1.2121 + 1.2122 +# Is the header present? 1.2123 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1.2124 +$as_echo_n "checking $2 presence... " >&6; } 1.2125 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.2126 +/* end confdefs.h. */ 1.2127 +#include <$2> 1.2128 +_ACEOF 1.2129 +if ac_fn_cxx_try_cpp "$LINENO"; then : 1.2130 + ac_header_preproc=yes 1.2131 +else 1.2132 + ac_header_preproc=no 1.2133 +fi 1.2134 +rm -f conftest.err conftest.$ac_ext 1.2135 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1.2136 +$as_echo "$ac_header_preproc" >&6; } 1.2137 + 1.2138 +# So? What about this header? 1.2139 +case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #(( 1.2140 + yes:no: ) 1.2141 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1.2142 +$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1.2143 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1.2144 +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1.2145 + ;; 1.2146 + no:yes:* ) 1.2147 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1.2148 +$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1.2149 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1.2150 +$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1.2151 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1.2152 +$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1.2153 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1.2154 +$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1.2155 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1.2156 +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1.2157 +( cat <<\_ASBOX 1.2158 +## ------------------------------------ ## 1.2159 +## Report this to opensource@google.com ## 1.2160 +## ------------------------------------ ## 1.2161 +_ASBOX 1.2162 + ) | sed "s/^/$as_me: WARNING: /" >&2 1.2163 + ;; 1.2164 +esac 1.2165 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1.2166 +$as_echo_n "checking for $2... " >&6; } 1.2167 +if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1.2168 + $as_echo_n "(cached) " >&6 1.2169 +else 1.2170 + eval "$3=\$ac_header_compiler" 1.2171 +fi 1.2172 +eval ac_res=\$$3 1.2173 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1.2174 +$as_echo "$ac_res" >&6; } 1.2175 +fi 1.2176 + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1.2177 + 1.2178 +} # ac_fn_cxx_check_header_mongrel 1.2179 + 1.2180 +# ac_fn_cxx_compute_int LINENO EXPR VAR INCLUDES 1.2181 +# ---------------------------------------------- 1.2182 +# Tries to find the compile-time value of EXPR in a program that includes 1.2183 +# INCLUDES, setting VAR accordingly. Returns whether the value could be 1.2184 +# computed 1.2185 +ac_fn_cxx_compute_int () 1.2186 +{ 1.2187 + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1.2188 + if test "$cross_compiling" = yes; then 1.2189 + # Depending upon the size, compute the lo and hi bounds. 1.2190 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.2191 +/* end confdefs.h. */ 1.2192 +$4 1.2193 +int 1.2194 +main () 1.2195 +{ 1.2196 +static int test_array [1 - 2 * !(($2) >= 0)]; 1.2197 +test_array [0] = 0 1.2198 + 1.2199 + ; 1.2200 + return 0; 1.2201 +} 1.2202 +_ACEOF 1.2203 +if ac_fn_cxx_try_compile "$LINENO"; then : 1.2204 + ac_lo=0 ac_mid=0 1.2205 + while :; do 1.2206 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.2207 +/* end confdefs.h. */ 1.2208 +$4 1.2209 +int 1.2210 +main () 1.2211 +{ 1.2212 +static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 1.2213 +test_array [0] = 0 1.2214 + 1.2215 + ; 1.2216 + return 0; 1.2217 +} 1.2218 +_ACEOF 1.2219 +if ac_fn_cxx_try_compile "$LINENO"; then : 1.2220 + ac_hi=$ac_mid; break 1.2221 +else 1.2222 + as_fn_arith $ac_mid + 1 && ac_lo=$as_val 1.2223 + if test $ac_lo -le $ac_mid; then 1.2224 + ac_lo= ac_hi= 1.2225 + break 1.2226 + fi 1.2227 + as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val 1.2228 +fi 1.2229 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1.2230 + done 1.2231 +else 1.2232 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.2233 +/* end confdefs.h. */ 1.2234 +$4 1.2235 +int 1.2236 +main () 1.2237 +{ 1.2238 +static int test_array [1 - 2 * !(($2) < 0)]; 1.2239 +test_array [0] = 0 1.2240 + 1.2241 + ; 1.2242 + return 0; 1.2243 +} 1.2244 +_ACEOF 1.2245 +if ac_fn_cxx_try_compile "$LINENO"; then : 1.2246 + ac_hi=-1 ac_mid=-1 1.2247 + while :; do 1.2248 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.2249 +/* end confdefs.h. */ 1.2250 +$4 1.2251 +int 1.2252 +main () 1.2253 +{ 1.2254 +static int test_array [1 - 2 * !(($2) >= $ac_mid)]; 1.2255 +test_array [0] = 0 1.2256 + 1.2257 + ; 1.2258 + return 0; 1.2259 +} 1.2260 +_ACEOF 1.2261 +if ac_fn_cxx_try_compile "$LINENO"; then : 1.2262 + ac_lo=$ac_mid; break 1.2263 +else 1.2264 + as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val 1.2265 + if test $ac_mid -le $ac_hi; then 1.2266 + ac_lo= ac_hi= 1.2267 + break 1.2268 + fi 1.2269 + as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val 1.2270 +fi 1.2271 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1.2272 + done 1.2273 +else 1.2274 + ac_lo= ac_hi= 1.2275 +fi 1.2276 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1.2277 +fi 1.2278 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1.2279 +# Binary search between lo and hi bounds. 1.2280 +while test "x$ac_lo" != "x$ac_hi"; do 1.2281 + as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val 1.2282 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.2283 +/* end confdefs.h. */ 1.2284 +$4 1.2285 +int 1.2286 +main () 1.2287 +{ 1.2288 +static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 1.2289 +test_array [0] = 0 1.2290 + 1.2291 + ; 1.2292 + return 0; 1.2293 +} 1.2294 +_ACEOF 1.2295 +if ac_fn_cxx_try_compile "$LINENO"; then : 1.2296 + ac_hi=$ac_mid 1.2297 +else 1.2298 + as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val 1.2299 +fi 1.2300 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1.2301 +done 1.2302 +case $ac_lo in #(( 1.2303 +?*) eval "$3=\$ac_lo"; ac_retval=0 ;; 1.2304 +'') ac_retval=1 ;; 1.2305 +esac 1.2306 + else 1.2307 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.2308 +/* end confdefs.h. */ 1.2309 +$4 1.2310 +static long int longval () { return $2; } 1.2311 +static unsigned long int ulongval () { return $2; } 1.2312 +#include <stdio.h> 1.2313 +#include <stdlib.h> 1.2314 +int 1.2315 +main () 1.2316 +{ 1.2317 + 1.2318 + FILE *f = fopen ("conftest.val", "w"); 1.2319 + if (! f) 1.2320 + return 1; 1.2321 + if (($2) < 0) 1.2322 + { 1.2323 + long int i = longval (); 1.2324 + if (i != ($2)) 1.2325 + return 1; 1.2326 + fprintf (f, "%ld", i); 1.2327 + } 1.2328 + else 1.2329 + { 1.2330 + unsigned long int i = ulongval (); 1.2331 + if (i != ($2)) 1.2332 + return 1; 1.2333 + fprintf (f, "%lu", i); 1.2334 + } 1.2335 + /* Do not output a trailing newline, as this causes \r\n confusion 1.2336 + on some platforms. */ 1.2337 + return ferror (f) || fclose (f) != 0; 1.2338 + 1.2339 + ; 1.2340 + return 0; 1.2341 +} 1.2342 +_ACEOF 1.2343 +if ac_fn_cxx_try_run "$LINENO"; then : 1.2344 + echo >>conftest.val; read $3 <conftest.val; ac_retval=0 1.2345 +else 1.2346 + ac_retval=1 1.2347 +fi 1.2348 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 1.2349 + conftest.$ac_objext conftest.beam conftest.$ac_ext 1.2350 +rm -f conftest.val 1.2351 + 1.2352 + fi 1.2353 + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1.2354 + as_fn_set_status $ac_retval 1.2355 + 1.2356 +} # ac_fn_cxx_compute_int 1.2357 + 1.2358 +# ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES 1.2359 +# --------------------------------------------- 1.2360 +# Tests whether TYPE exists after having included INCLUDES, setting cache 1.2361 +# variable VAR accordingly. 1.2362 +ac_fn_cxx_check_type () 1.2363 +{ 1.2364 + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1.2365 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1.2366 +$as_echo_n "checking for $2... " >&6; } 1.2367 +if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1.2368 + $as_echo_n "(cached) " >&6 1.2369 +else 1.2370 + eval "$3=no" 1.2371 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.2372 +/* end confdefs.h. */ 1.2373 +$4 1.2374 +int 1.2375 +main () 1.2376 +{ 1.2377 +if (sizeof ($2)) 1.2378 + return 0; 1.2379 + ; 1.2380 + return 0; 1.2381 +} 1.2382 +_ACEOF 1.2383 +if ac_fn_cxx_try_compile "$LINENO"; then : 1.2384 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.2385 +/* end confdefs.h. */ 1.2386 +$4 1.2387 +int 1.2388 +main () 1.2389 +{ 1.2390 +if (sizeof (($2))) 1.2391 + return 0; 1.2392 + ; 1.2393 + return 0; 1.2394 +} 1.2395 +_ACEOF 1.2396 +if ac_fn_cxx_try_compile "$LINENO"; then : 1.2397 + 1.2398 +else 1.2399 + eval "$3=yes" 1.2400 +fi 1.2401 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1.2402 +fi 1.2403 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1.2404 +fi 1.2405 +eval ac_res=\$$3 1.2406 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1.2407 +$as_echo "$ac_res" >&6; } 1.2408 + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1.2409 + 1.2410 +} # ac_fn_cxx_check_type 1.2411 + 1.2412 +# ac_fn_cxx_check_func LINENO FUNC VAR 1.2413 +# ------------------------------------ 1.2414 +# Tests whether FUNC exists, setting the cache variable VAR accordingly 1.2415 +ac_fn_cxx_check_func () 1.2416 +{ 1.2417 + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1.2418 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1.2419 +$as_echo_n "checking for $2... " >&6; } 1.2420 +if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1.2421 + $as_echo_n "(cached) " >&6 1.2422 +else 1.2423 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.2424 +/* end confdefs.h. */ 1.2425 +/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1.2426 + For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1.2427 +#define $2 innocuous_$2 1.2428 + 1.2429 +/* System header to define __stub macros and hopefully few prototypes, 1.2430 + which can conflict with char $2 (); below. 1.2431 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1.2432 + <limits.h> exists even on freestanding compilers. */ 1.2433 + 1.2434 +#ifdef __STDC__ 1.2435 +# include <limits.h> 1.2436 +#else 1.2437 +# include <assert.h> 1.2438 +#endif 1.2439 + 1.2440 +#undef $2 1.2441 + 1.2442 +/* Override any GCC internal prototype to avoid an error. 1.2443 + Use char because int might match the return type of a GCC 1.2444 + builtin and then its argument prototype would still apply. */ 1.2445 +#ifdef __cplusplus 1.2446 +extern "C" 1.2447 +#endif 1.2448 +char $2 (); 1.2449 +/* The GNU C library defines this for functions which it implements 1.2450 + to always fail with ENOSYS. Some functions are actually named 1.2451 + something starting with __ and the normal name is an alias. */ 1.2452 +#if defined __stub_$2 || defined __stub___$2 1.2453 +choke me 1.2454 +#endif 1.2455 + 1.2456 +int 1.2457 +main () 1.2458 +{ 1.2459 +return $2 (); 1.2460 + ; 1.2461 + return 0; 1.2462 +} 1.2463 +_ACEOF 1.2464 +if ac_fn_cxx_try_link "$LINENO"; then : 1.2465 + eval "$3=yes" 1.2466 +else 1.2467 + eval "$3=no" 1.2468 +fi 1.2469 +rm -f core conftest.err conftest.$ac_objext \ 1.2470 + conftest$ac_exeext conftest.$ac_ext 1.2471 +fi 1.2472 +eval ac_res=\$$3 1.2473 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1.2474 +$as_echo "$ac_res" >&6; } 1.2475 + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1.2476 + 1.2477 +} # ac_fn_cxx_check_func 1.2478 +cat >config.log <<_ACEOF 1.2479 +This file contains any messages produced by compilers while 1.2480 +running configure, to aid debugging if configure makes a mistake. 1.2481 + 1.2482 +It was created by glog $as_me 0.3.1, which was 1.2483 +generated by GNU Autoconf 2.65. Invocation command line was 1.2484 + 1.2485 + $ $0 $@ 1.2486 + 1.2487 +_ACEOF 1.2488 +exec 5>>config.log 1.2489 +{ 1.2490 +cat <<_ASUNAME 1.2491 +## --------- ## 1.2492 +## Platform. ## 1.2493 +## --------- ## 1.2494 + 1.2495 +hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1.2496 +uname -m = `(uname -m) 2>/dev/null || echo unknown` 1.2497 +uname -r = `(uname -r) 2>/dev/null || echo unknown` 1.2498 +uname -s = `(uname -s) 2>/dev/null || echo unknown` 1.2499 +uname -v = `(uname -v) 2>/dev/null || echo unknown` 1.2500 + 1.2501 +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1.2502 +/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1.2503 + 1.2504 +/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1.2505 +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1.2506 +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1.2507 +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1.2508 +/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1.2509 +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1.2510 +/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1.2511 + 1.2512 +_ASUNAME 1.2513 + 1.2514 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1.2515 +for as_dir in $PATH 1.2516 +do 1.2517 + IFS=$as_save_IFS 1.2518 + test -z "$as_dir" && as_dir=. 1.2519 + $as_echo "PATH: $as_dir" 1.2520 + done 1.2521 +IFS=$as_save_IFS 1.2522 + 1.2523 +} >&5 1.2524 + 1.2525 +cat >&5 <<_ACEOF 1.2526 + 1.2527 + 1.2528 +## ----------- ## 1.2529 +## Core tests. ## 1.2530 +## ----------- ## 1.2531 + 1.2532 +_ACEOF 1.2533 + 1.2534 + 1.2535 +# Keep a trace of the command line. 1.2536 +# Strip out --no-create and --no-recursion so they do not pile up. 1.2537 +# Strip out --silent because we don't want to record it for future runs. 1.2538 +# Also quote any args containing shell meta-characters. 1.2539 +# Make two passes to allow for proper duplicate-argument suppression. 1.2540 +ac_configure_args= 1.2541 +ac_configure_args0= 1.2542 +ac_configure_args1= 1.2543 +ac_must_keep_next=false 1.2544 +for ac_pass in 1 2 1.2545 +do 1.2546 + for ac_arg 1.2547 + do 1.2548 + case $ac_arg in 1.2549 + -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1.2550 + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1.2551 + | -silent | --silent | --silen | --sile | --sil) 1.2552 + continue ;; 1.2553 + *\'*) 1.2554 + ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1.2555 + esac 1.2556 + case $ac_pass in 1.2557 + 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1.2558 + 2) 1.2559 + as_fn_append ac_configure_args1 " '$ac_arg'" 1.2560 + if test $ac_must_keep_next = true; then 1.2561 + ac_must_keep_next=false # Got value, back to normal. 1.2562 + else 1.2563 + case $ac_arg in 1.2564 + *=* | --config-cache | -C | -disable-* | --disable-* \ 1.2565 + | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1.2566 + | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1.2567 + | -with-* | --with-* | -without-* | --without-* | --x) 1.2568 + case "$ac_configure_args0 " in 1.2569 + "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1.2570 + esac 1.2571 + ;; 1.2572 + -* ) ac_must_keep_next=true ;; 1.2573 + esac 1.2574 + fi 1.2575 + as_fn_append ac_configure_args " '$ac_arg'" 1.2576 + ;; 1.2577 + esac 1.2578 + done 1.2579 +done 1.2580 +{ ac_configure_args0=; unset ac_configure_args0;} 1.2581 +{ ac_configure_args1=; unset ac_configure_args1;} 1.2582 + 1.2583 +# When interrupted or exit'd, cleanup temporary files, and complete 1.2584 +# config.log. We remove comments because anyway the quotes in there 1.2585 +# would cause problems or look ugly. 1.2586 +# WARNING: Use '\'' to represent an apostrophe within the trap. 1.2587 +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1.2588 +trap 'exit_status=$? 1.2589 + # Save into config.log some information that might help in debugging. 1.2590 + { 1.2591 + echo 1.2592 + 1.2593 + cat <<\_ASBOX 1.2594 +## ---------------- ## 1.2595 +## Cache variables. ## 1.2596 +## ---------------- ## 1.2597 +_ASBOX 1.2598 + echo 1.2599 + # The following way of writing the cache mishandles newlines in values, 1.2600 +( 1.2601 + for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1.2602 + eval ac_val=\$$ac_var 1.2603 + case $ac_val in #( 1.2604 + *${as_nl}*) 1.2605 + case $ac_var in #( 1.2606 + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1.2607 +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1.2608 + esac 1.2609 + case $ac_var in #( 1.2610 + _ | IFS | as_nl) ;; #( 1.2611 + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1.2612 + *) { eval $ac_var=; unset $ac_var;} ;; 1.2613 + esac ;; 1.2614 + esac 1.2615 + done 1.2616 + (set) 2>&1 | 1.2617 + case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1.2618 + *${as_nl}ac_space=\ *) 1.2619 + sed -n \ 1.2620 + "s/'\''/'\''\\\\'\'''\''/g; 1.2621 + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1.2622 + ;; #( 1.2623 + *) 1.2624 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1.2625 + ;; 1.2626 + esac | 1.2627 + sort 1.2628 +) 1.2629 + echo 1.2630 + 1.2631 + cat <<\_ASBOX 1.2632 +## ----------------- ## 1.2633 +## Output variables. ## 1.2634 +## ----------------- ## 1.2635 +_ASBOX 1.2636 + echo 1.2637 + for ac_var in $ac_subst_vars 1.2638 + do 1.2639 + eval ac_val=\$$ac_var 1.2640 + case $ac_val in 1.2641 + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1.2642 + esac 1.2643 + $as_echo "$ac_var='\''$ac_val'\''" 1.2644 + done | sort 1.2645 + echo 1.2646 + 1.2647 + if test -n "$ac_subst_files"; then 1.2648 + cat <<\_ASBOX 1.2649 +## ------------------- ## 1.2650 +## File substitutions. ## 1.2651 +## ------------------- ## 1.2652 +_ASBOX 1.2653 + echo 1.2654 + for ac_var in $ac_subst_files 1.2655 + do 1.2656 + eval ac_val=\$$ac_var 1.2657 + case $ac_val in 1.2658 + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1.2659 + esac 1.2660 + $as_echo "$ac_var='\''$ac_val'\''" 1.2661 + done | sort 1.2662 + echo 1.2663 + fi 1.2664 + 1.2665 + if test -s confdefs.h; then 1.2666 + cat <<\_ASBOX 1.2667 +## ----------- ## 1.2668 +## confdefs.h. ## 1.2669 +## ----------- ## 1.2670 +_ASBOX 1.2671 + echo 1.2672 + cat confdefs.h 1.2673 + echo 1.2674 + fi 1.2675 + test "$ac_signal" != 0 && 1.2676 + $as_echo "$as_me: caught signal $ac_signal" 1.2677 + $as_echo "$as_me: exit $exit_status" 1.2678 + } >&5 1.2679 + rm -f core *.core core.conftest.* && 1.2680 + rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1.2681 + exit $exit_status 1.2682 +' 0 1.2683 +for ac_signal in 1 2 13 15; do 1.2684 + trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1.2685 +done 1.2686 +ac_signal=0 1.2687 + 1.2688 +# confdefs.h avoids OS command line length limits that DEFS can exceed. 1.2689 +rm -f -r conftest* confdefs.h 1.2690 + 1.2691 +$as_echo "/* confdefs.h */" > confdefs.h 1.2692 + 1.2693 +# Predefined preprocessor variables. 1.2694 + 1.2695 +cat >>confdefs.h <<_ACEOF 1.2696 +#define PACKAGE_NAME "$PACKAGE_NAME" 1.2697 +_ACEOF 1.2698 + 1.2699 +cat >>confdefs.h <<_ACEOF 1.2700 +#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1.2701 +_ACEOF 1.2702 + 1.2703 +cat >>confdefs.h <<_ACEOF 1.2704 +#define PACKAGE_VERSION "$PACKAGE_VERSION" 1.2705 +_ACEOF 1.2706 + 1.2707 +cat >>confdefs.h <<_ACEOF 1.2708 +#define PACKAGE_STRING "$PACKAGE_STRING" 1.2709 +_ACEOF 1.2710 + 1.2711 +cat >>confdefs.h <<_ACEOF 1.2712 +#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1.2713 +_ACEOF 1.2714 + 1.2715 +cat >>confdefs.h <<_ACEOF 1.2716 +#define PACKAGE_URL "$PACKAGE_URL" 1.2717 +_ACEOF 1.2718 + 1.2719 + 1.2720 +# Let the site file select an alternate cache file if it wants to. 1.2721 +# Prefer an explicitly selected file to automatically selected ones. 1.2722 +ac_site_file1=NONE 1.2723 +ac_site_file2=NONE 1.2724 +if test -n "$CONFIG_SITE"; then 1.2725 + ac_site_file1=$CONFIG_SITE 1.2726 +elif test "x$prefix" != xNONE; then 1.2727 + ac_site_file1=$prefix/share/config.site 1.2728 + ac_site_file2=$prefix/etc/config.site 1.2729 +else 1.2730 + ac_site_file1=$ac_default_prefix/share/config.site 1.2731 + ac_site_file2=$ac_default_prefix/etc/config.site 1.2732 +fi 1.2733 +for ac_site_file in "$ac_site_file1" "$ac_site_file2" 1.2734 +do 1.2735 + test "x$ac_site_file" = xNONE && continue 1.2736 + if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 1.2737 + { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 1.2738 +$as_echo "$as_me: loading site script $ac_site_file" >&6;} 1.2739 + sed 's/^/| /' "$ac_site_file" >&5 1.2740 + . "$ac_site_file" 1.2741 + fi 1.2742 +done 1.2743 + 1.2744 +if test -r "$cache_file"; then 1.2745 + # Some versions of bash will fail to source /dev/null (special files 1.2746 + # actually), so we avoid doing that. DJGPP emulates it as a regular file. 1.2747 + if test /dev/null != "$cache_file" && test -f "$cache_file"; then 1.2748 + { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 1.2749 +$as_echo "$as_me: loading cache $cache_file" >&6;} 1.2750 + case $cache_file in 1.2751 + [\\/]* | ?:[\\/]* ) . "$cache_file";; 1.2752 + *) . "./$cache_file";; 1.2753 + esac 1.2754 + fi 1.2755 +else 1.2756 + { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 1.2757 +$as_echo "$as_me: creating cache $cache_file" >&6;} 1.2758 + >$cache_file 1.2759 +fi 1.2760 + 1.2761 +# Check that the precious variables saved in the cache have kept the same 1.2762 +# value. 1.2763 +ac_cache_corrupted=false 1.2764 +for ac_var in $ac_precious_vars; do 1.2765 + eval ac_old_set=\$ac_cv_env_${ac_var}_set 1.2766 + eval ac_new_set=\$ac_env_${ac_var}_set 1.2767 + eval ac_old_val=\$ac_cv_env_${ac_var}_value 1.2768 + eval ac_new_val=\$ac_env_${ac_var}_value 1.2769 + case $ac_old_set,$ac_new_set in 1.2770 + set,) 1.2771 + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1.2772 +$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1.2773 + ac_cache_corrupted=: ;; 1.2774 + ,set) 1.2775 + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 1.2776 +$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1.2777 + ac_cache_corrupted=: ;; 1.2778 + ,);; 1.2779 + *) 1.2780 + if test "x$ac_old_val" != "x$ac_new_val"; then 1.2781 + # differences in whitespace do not lead to failure. 1.2782 + ac_old_val_w=`echo x $ac_old_val` 1.2783 + ac_new_val_w=`echo x $ac_new_val` 1.2784 + if test "$ac_old_val_w" != "$ac_new_val_w"; then 1.2785 + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 1.2786 +$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1.2787 + ac_cache_corrupted=: 1.2788 + else 1.2789 + { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 1.2790 +$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 1.2791 + eval $ac_var=\$ac_old_val 1.2792 + fi 1.2793 + { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 1.2794 +$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 1.2795 + { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 1.2796 +$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1.2797 + fi;; 1.2798 + esac 1.2799 + # Pass precious variables to config.status. 1.2800 + if test "$ac_new_set" = set; then 1.2801 + case $ac_new_val in 1.2802 + *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1.2803 + *) ac_arg=$ac_var=$ac_new_val ;; 1.2804 + esac 1.2805 + case " $ac_configure_args " in 1.2806 + *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1.2807 + *) as_fn_append ac_configure_args " '$ac_arg'" ;; 1.2808 + esac 1.2809 + fi 1.2810 +done 1.2811 +if $ac_cache_corrupted; then 1.2812 + { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1.2813 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1.2814 + { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 1.2815 +$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1.2816 + as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 1.2817 +fi 1.2818 +## -------------------- ## 1.2819 +## Main body of script. ## 1.2820 +## -------------------- ## 1.2821 + 1.2822 +ac_ext=c 1.2823 +ac_cpp='$CPP $CPPFLAGS' 1.2824 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1.2825 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1.2826 +ac_compiler_gnu=$ac_cv_c_compiler_gnu 1.2827 + 1.2828 + 1.2829 +# The argument here is just something that should be in the current directory 1.2830 +# (for sanity checking) 1.2831 + 1.2832 + 1.2833 +am__api_version='1.11' 1.2834 + 1.2835 +ac_aux_dir= 1.2836 +for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 1.2837 + for ac_t in install-sh install.sh shtool; do 1.2838 + if test -f "$ac_dir/$ac_t"; then 1.2839 + ac_aux_dir=$ac_dir 1.2840 + ac_install_sh="$ac_aux_dir/$ac_t -c" 1.2841 + break 2 1.2842 + fi 1.2843 + done 1.2844 +done 1.2845 +if test -z "$ac_aux_dir"; then 1.2846 + as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 1.2847 +fi 1.2848 + 1.2849 +# These three variables are undocumented and unsupported, 1.2850 +# and are intended to be withdrawn in a future Autoconf release. 1.2851 +# They can cause serious problems if a builder's source tree is in a directory 1.2852 +# whose full name contains unusual characters. 1.2853 +ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 1.2854 +ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 1.2855 +ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 1.2856 + 1.2857 + 1.2858 +# Find a good install program. We prefer a C program (faster), 1.2859 +# so one script is as good as another. But avoid the broken or 1.2860 +# incompatible versions: 1.2861 +# SysV /etc/install, /usr/sbin/install 1.2862 +# SunOS /usr/etc/install 1.2863 +# IRIX /sbin/install 1.2864 +# AIX /bin/install 1.2865 +# AmigaOS /C/install, which installs bootblocks on floppy discs 1.2866 +# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 1.2867 +# AFS /usr/afsws/bin/install, which mishandles nonexistent args 1.2868 +# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 1.2869 +# OS/2's system install, which has a completely different semantic 1.2870 +# ./install, which can be erroneously created by make from ./install.sh. 1.2871 +# Reject install programs that cannot install multiple files. 1.2872 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 1.2873 +$as_echo_n "checking for a BSD-compatible install... " >&6; } 1.2874 +if test -z "$INSTALL"; then 1.2875 +if test "${ac_cv_path_install+set}" = set; then : 1.2876 + $as_echo_n "(cached) " >&6 1.2877 +else 1.2878 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1.2879 +for as_dir in $PATH 1.2880 +do 1.2881 + IFS=$as_save_IFS 1.2882 + test -z "$as_dir" && as_dir=. 1.2883 + # Account for people who put trailing slashes in PATH elements. 1.2884 +case $as_dir/ in #(( 1.2885 + ./ | .// | /[cC]/* | \ 1.2886 + /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 1.2887 + ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 1.2888 + /usr/ucb/* ) ;; 1.2889 + *) 1.2890 + # OSF1 and SCO ODT 3.0 have their own names for install. 1.2891 + # Don't use installbsd from OSF since it installs stuff as root 1.2892 + # by default. 1.2893 + for ac_prog in ginstall scoinst install; do 1.2894 + for ac_exec_ext in '' $ac_executable_extensions; do 1.2895 + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 1.2896 + if test $ac_prog = install && 1.2897 + grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1.2898 + # AIX install. It has an incompatible calling convention. 1.2899 + : 1.2900 + elif test $ac_prog = install && 1.2901 + grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1.2902 + # program-specific install script used by HP pwplus--don't use. 1.2903 + : 1.2904 + else 1.2905 + rm -rf conftest.one conftest.two conftest.dir 1.2906 + echo one > conftest.one 1.2907 + echo two > conftest.two 1.2908 + mkdir conftest.dir 1.2909 + if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 1.2910 + test -s conftest.one && test -s conftest.two && 1.2911 + test -s conftest.dir/conftest.one && 1.2912 + test -s conftest.dir/conftest.two 1.2913 + then 1.2914 + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 1.2915 + break 3 1.2916 + fi 1.2917 + fi 1.2918 + fi 1.2919 + done 1.2920 + done 1.2921 + ;; 1.2922 +esac 1.2923 + 1.2924 + done 1.2925 +IFS=$as_save_IFS 1.2926 + 1.2927 +rm -rf conftest.one conftest.two conftest.dir 1.2928 + 1.2929 +fi 1.2930 + if test "${ac_cv_path_install+set}" = set; then 1.2931 + INSTALL=$ac_cv_path_install 1.2932 + else 1.2933 + # As a last resort, use the slow shell script. Don't cache a 1.2934 + # value for INSTALL within a source directory, because that will 1.2935 + # break other packages using the cache if that directory is 1.2936 + # removed, or if the value is a relative name. 1.2937 + INSTALL=$ac_install_sh 1.2938 + fi 1.2939 +fi 1.2940 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 1.2941 +$as_echo "$INSTALL" >&6; } 1.2942 + 1.2943 +# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 1.2944 +# It thinks the first close brace ends the variable substitution. 1.2945 +test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 1.2946 + 1.2947 +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 1.2948 + 1.2949 +test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 1.2950 + 1.2951 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 1.2952 +$as_echo_n "checking whether build environment is sane... " >&6; } 1.2953 +# Just in case 1.2954 +sleep 1 1.2955 +echo timestamp > conftest.file 1.2956 +# Reject unsafe characters in $srcdir or the absolute working directory 1.2957 +# name. Accept space and tab only in the latter. 1.2958 +am_lf=' 1.2959 +' 1.2960 +case `pwd` in 1.2961 + *[\\\"\#\$\&\'\`$am_lf]*) 1.2962 + as_fn_error "unsafe absolute working directory name" "$LINENO" 5;; 1.2963 +esac 1.2964 +case $srcdir in 1.2965 + *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 1.2966 + as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; 1.2967 +esac 1.2968 + 1.2969 +# Do `set' in a subshell so we don't clobber the current shell's 1.2970 +# arguments. Must try -L first in case configure is actually a 1.2971 +# symlink; some systems play weird games with the mod time of symlinks 1.2972 +# (eg FreeBSD returns the mod time of the symlink's containing 1.2973 +# directory). 1.2974 +if ( 1.2975 + set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 1.2976 + if test "$*" = "X"; then 1.2977 + # -L didn't work. 1.2978 + set X `ls -t "$srcdir/configure" conftest.file` 1.2979 + fi 1.2980 + rm -f conftest.file 1.2981 + if test "$*" != "X $srcdir/configure conftest.file" \ 1.2982 + && test "$*" != "X conftest.file $srcdir/configure"; then 1.2983 + 1.2984 + # If neither matched, then we have a broken ls. This can happen 1.2985 + # if, for instance, CONFIG_SHELL is bash and it inherits a 1.2986 + # broken ls alias from the environment. This has actually 1.2987 + # happened. Such a system could not be considered "sane". 1.2988 + as_fn_error "ls -t appears to fail. Make sure there is not a broken 1.2989 +alias in your environment" "$LINENO" 5 1.2990 + fi 1.2991 + 1.2992 + test "$2" = conftest.file 1.2993 + ) 1.2994 +then 1.2995 + # Ok. 1.2996 + : 1.2997 +else 1.2998 + as_fn_error "newly created file is older than distributed files! 1.2999 +Check your system clock" "$LINENO" 5 1.3000 +fi 1.3001 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 1.3002 +$as_echo "yes" >&6; } 1.3003 +test "$program_prefix" != NONE && 1.3004 + program_transform_name="s&^&$program_prefix&;$program_transform_name" 1.3005 +# Use a double $ so make ignores it. 1.3006 +test "$program_suffix" != NONE && 1.3007 + program_transform_name="s&\$&$program_suffix&;$program_transform_name" 1.3008 +# Double any \ or $. 1.3009 +# By default was `s,x,x', remove it if useless. 1.3010 +ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 1.3011 +program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 1.3012 + 1.3013 +# expand $ac_aux_dir to an absolute path 1.3014 +am_aux_dir=`cd $ac_aux_dir && pwd` 1.3015 + 1.3016 +if test x"${MISSING+set}" != xset; then 1.3017 + case $am_aux_dir in 1.3018 + *\ * | *\ *) 1.3019 + MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 1.3020 + *) 1.3021 + MISSING="\${SHELL} $am_aux_dir/missing" ;; 1.3022 + esac 1.3023 +fi 1.3024 +# Use eval to expand $SHELL 1.3025 +if eval "$MISSING --run true"; then 1.3026 + am_missing_run="$MISSING --run " 1.3027 +else 1.3028 + am_missing_run= 1.3029 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 1.3030 +$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 1.3031 +fi 1.3032 + 1.3033 +if test x"${install_sh}" != xset; then 1.3034 + case $am_aux_dir in 1.3035 + *\ * | *\ *) 1.3036 + install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 1.3037 + *) 1.3038 + install_sh="\${SHELL} $am_aux_dir/install-sh" 1.3039 + esac 1.3040 +fi 1.3041 + 1.3042 +# Installed binaries are usually stripped using `strip' when the user 1.3043 +# run `make install-strip'. However `strip' might not be the right 1.3044 +# tool to use in cross-compilation environments, therefore Automake 1.3045 +# will honor the `STRIP' environment variable to overrule this program. 1.3046 +if test "$cross_compiling" != no; then 1.3047 + if test -n "$ac_tool_prefix"; then 1.3048 + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 1.3049 +set dummy ${ac_tool_prefix}strip; ac_word=$2 1.3050 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 1.3051 +$as_echo_n "checking for $ac_word... " >&6; } 1.3052 +if test "${ac_cv_prog_STRIP+set}" = set; then : 1.3053 + $as_echo_n "(cached) " >&6 1.3054 +else 1.3055 + if test -n "$STRIP"; then 1.3056 + ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 1.3057 +else 1.3058 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1.3059 +for as_dir in $PATH 1.3060 +do 1.3061 + IFS=$as_save_IFS 1.3062 + test -z "$as_dir" && as_dir=. 1.3063 + for ac_exec_ext in '' $ac_executable_extensions; do 1.3064 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1.3065 + ac_cv_prog_STRIP="${ac_tool_prefix}strip" 1.3066 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1.3067 + break 2 1.3068 + fi 1.3069 +done 1.3070 + done 1.3071 +IFS=$as_save_IFS 1.3072 + 1.3073 +fi 1.3074 +fi 1.3075 +STRIP=$ac_cv_prog_STRIP 1.3076 +if test -n "$STRIP"; then 1.3077 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 1.3078 +$as_echo "$STRIP" >&6; } 1.3079 +else 1.3080 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1.3081 +$as_echo "no" >&6; } 1.3082 +fi 1.3083 + 1.3084 + 1.3085 +fi 1.3086 +if test -z "$ac_cv_prog_STRIP"; then 1.3087 + ac_ct_STRIP=$STRIP 1.3088 + # Extract the first word of "strip", so it can be a program name with args. 1.3089 +set dummy strip; ac_word=$2 1.3090 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 1.3091 +$as_echo_n "checking for $ac_word... " >&6; } 1.3092 +if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : 1.3093 + $as_echo_n "(cached) " >&6 1.3094 +else 1.3095 + if test -n "$ac_ct_STRIP"; then 1.3096 + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 1.3097 +else 1.3098 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1.3099 +for as_dir in $PATH 1.3100 +do 1.3101 + IFS=$as_save_IFS 1.3102 + test -z "$as_dir" && as_dir=. 1.3103 + for ac_exec_ext in '' $ac_executable_extensions; do 1.3104 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1.3105 + ac_cv_prog_ac_ct_STRIP="strip" 1.3106 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1.3107 + break 2 1.3108 + fi 1.3109 +done 1.3110 + done 1.3111 +IFS=$as_save_IFS 1.3112 + 1.3113 +fi 1.3114 +fi 1.3115 +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 1.3116 +if test -n "$ac_ct_STRIP"; then 1.3117 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 1.3118 +$as_echo "$ac_ct_STRIP" >&6; } 1.3119 +else 1.3120 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1.3121 +$as_echo "no" >&6; } 1.3122 +fi 1.3123 + 1.3124 + if test "x$ac_ct_STRIP" = x; then 1.3125 + STRIP=":" 1.3126 + else 1.3127 + case $cross_compiling:$ac_tool_warned in 1.3128 +yes:) 1.3129 +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 1.3130 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 1.3131 +ac_tool_warned=yes ;; 1.3132 +esac 1.3133 + STRIP=$ac_ct_STRIP 1.3134 + fi 1.3135 +else 1.3136 + STRIP="$ac_cv_prog_STRIP" 1.3137 +fi 1.3138 + 1.3139 +fi 1.3140 +INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 1.3141 + 1.3142 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 1.3143 +$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 1.3144 +if test -z "$MKDIR_P"; then 1.3145 + if test "${ac_cv_path_mkdir+set}" = set; then : 1.3146 + $as_echo_n "(cached) " >&6 1.3147 +else 1.3148 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1.3149 +for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 1.3150 +do 1.3151 + IFS=$as_save_IFS 1.3152 + test -z "$as_dir" && as_dir=. 1.3153 + for ac_prog in mkdir gmkdir; do 1.3154 + for ac_exec_ext in '' $ac_executable_extensions; do 1.3155 + { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 1.3156 + case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 1.3157 + 'mkdir (GNU coreutils) '* | \ 1.3158 + 'mkdir (coreutils) '* | \ 1.3159 + 'mkdir (fileutils) '4.1*) 1.3160 + ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 1.3161 + break 3;; 1.3162 + esac 1.3163 + done 1.3164 + done 1.3165 + done 1.3166 +IFS=$as_save_IFS 1.3167 + 1.3168 +fi 1.3169 + 1.3170 + test -d ./--version && rmdir ./--version 1.3171 + if test "${ac_cv_path_mkdir+set}" = set; then 1.3172 + MKDIR_P="$ac_cv_path_mkdir -p" 1.3173 + else 1.3174 + # As a last resort, use the slow shell script. Don't cache a 1.3175 + # value for MKDIR_P within a source directory, because that will 1.3176 + # break other packages using the cache if that directory is 1.3177 + # removed, or if the value is a relative name. 1.3178 + MKDIR_P="$ac_install_sh -d" 1.3179 + fi 1.3180 +fi 1.3181 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 1.3182 +$as_echo "$MKDIR_P" >&6; } 1.3183 + 1.3184 +mkdir_p="$MKDIR_P" 1.3185 +case $mkdir_p in 1.3186 + [\\/$]* | ?:[\\/]*) ;; 1.3187 + */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 1.3188 +esac 1.3189 + 1.3190 +for ac_prog in gawk mawk nawk awk 1.3191 +do 1.3192 + # Extract the first word of "$ac_prog", so it can be a program name with args. 1.3193 +set dummy $ac_prog; ac_word=$2 1.3194 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 1.3195 +$as_echo_n "checking for $ac_word... " >&6; } 1.3196 +if test "${ac_cv_prog_AWK+set}" = set; then : 1.3197 + $as_echo_n "(cached) " >&6 1.3198 +else 1.3199 + if test -n "$AWK"; then 1.3200 + ac_cv_prog_AWK="$AWK" # Let the user override the test. 1.3201 +else 1.3202 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1.3203 +for as_dir in $PATH 1.3204 +do 1.3205 + IFS=$as_save_IFS 1.3206 + test -z "$as_dir" && as_dir=. 1.3207 + for ac_exec_ext in '' $ac_executable_extensions; do 1.3208 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1.3209 + ac_cv_prog_AWK="$ac_prog" 1.3210 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1.3211 + break 2 1.3212 + fi 1.3213 +done 1.3214 + done 1.3215 +IFS=$as_save_IFS 1.3216 + 1.3217 +fi 1.3218 +fi 1.3219 +AWK=$ac_cv_prog_AWK 1.3220 +if test -n "$AWK"; then 1.3221 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 1.3222 +$as_echo "$AWK" >&6; } 1.3223 +else 1.3224 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1.3225 +$as_echo "no" >&6; } 1.3226 +fi 1.3227 + 1.3228 + 1.3229 + test -n "$AWK" && break 1.3230 +done 1.3231 + 1.3232 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 1.3233 +$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 1.3234 +set x ${MAKE-make} 1.3235 +ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 1.3236 +if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : 1.3237 + $as_echo_n "(cached) " >&6 1.3238 +else 1.3239 + cat >conftest.make <<\_ACEOF 1.3240 +SHELL = /bin/sh 1.3241 +all: 1.3242 + @echo '@@@%%%=$(MAKE)=@@@%%%' 1.3243 +_ACEOF 1.3244 +# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 1.3245 +case `${MAKE-make} -f conftest.make 2>/dev/null` in 1.3246 + *@@@%%%=?*=@@@%%%*) 1.3247 + eval ac_cv_prog_make_${ac_make}_set=yes;; 1.3248 + *) 1.3249 + eval ac_cv_prog_make_${ac_make}_set=no;; 1.3250 +esac 1.3251 +rm -f conftest.make 1.3252 +fi 1.3253 +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 1.3254 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 1.3255 +$as_echo "yes" >&6; } 1.3256 + SET_MAKE= 1.3257 +else 1.3258 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1.3259 +$as_echo "no" >&6; } 1.3260 + SET_MAKE="MAKE=${MAKE-make}" 1.3261 +fi 1.3262 + 1.3263 +rm -rf .tst 2>/dev/null 1.3264 +mkdir .tst 2>/dev/null 1.3265 +if test -d .tst; then 1.3266 + am__leading_dot=. 1.3267 +else 1.3268 + am__leading_dot=_ 1.3269 +fi 1.3270 +rmdir .tst 2>/dev/null 1.3271 + 1.3272 +if test "`cd $srcdir && pwd`" != "`pwd`"; then 1.3273 + # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 1.3274 + # is not polluted with repeated "-I." 1.3275 + am__isrc=' -I$(srcdir)' 1.3276 + # test to see if srcdir already configured 1.3277 + if test -f $srcdir/config.status; then 1.3278 + as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 1.3279 + fi 1.3280 +fi 1.3281 + 1.3282 +# test whether we have cygpath 1.3283 +if test -z "$CYGPATH_W"; then 1.3284 + if (cygpath --version) >/dev/null 2>/dev/null; then 1.3285 + CYGPATH_W='cygpath -w' 1.3286 + else 1.3287 + CYGPATH_W=echo 1.3288 + fi 1.3289 +fi 1.3290 + 1.3291 + 1.3292 +# Define the identity of the package. 1.3293 + PACKAGE='glog' 1.3294 + VERSION='0.3.1' 1.3295 + 1.3296 + 1.3297 +cat >>confdefs.h <<_ACEOF 1.3298 +#define PACKAGE "$PACKAGE" 1.3299 +_ACEOF 1.3300 + 1.3301 + 1.3302 +cat >>confdefs.h <<_ACEOF 1.3303 +#define VERSION "$VERSION" 1.3304 +_ACEOF 1.3305 + 1.3306 +# Some tools Automake needs. 1.3307 + 1.3308 +ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 1.3309 + 1.3310 + 1.3311 +AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 1.3312 + 1.3313 + 1.3314 +AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 1.3315 + 1.3316 + 1.3317 +AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 1.3318 + 1.3319 + 1.3320 +MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 1.3321 + 1.3322 +# We need awk for the "check" target. The system "awk" is bad on 1.3323 +# some platforms. 1.3324 +# Always define AMTAR for backward compatibility. 1.3325 + 1.3326 +AMTAR=${AMTAR-"${am_missing_run}tar"} 1.3327 + 1.3328 +am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 1.3329 + 1.3330 + 1.3331 + 1.3332 + 1.3333 + 1.3334 +ac_config_headers="$ac_config_headers src/config.h" 1.3335 + 1.3336 + 1.3337 +ac_ext=cpp 1.3338 +ac_cpp='$CXXCPP $CPPFLAGS' 1.3339 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1.3340 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1.3341 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 1.3342 + 1.3343 + 1.3344 +# Checks for programs. 1.3345 +ac_ext=c 1.3346 +ac_cpp='$CPP $CPPFLAGS' 1.3347 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1.3348 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1.3349 +ac_compiler_gnu=$ac_cv_c_compiler_gnu 1.3350 +if test -n "$ac_tool_prefix"; then 1.3351 + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1.3352 +set dummy ${ac_tool_prefix}gcc; ac_word=$2 1.3353 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 1.3354 +$as_echo_n "checking for $ac_word... " >&6; } 1.3355 +if test "${ac_cv_prog_CC+set}" = set; then : 1.3356 + $as_echo_n "(cached) " >&6 1.3357 +else 1.3358 + if test -n "$CC"; then 1.3359 + ac_cv_prog_CC="$CC" # Let the user override the test. 1.3360 +else 1.3361 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1.3362 +for as_dir in $PATH 1.3363 +do 1.3364 + IFS=$as_save_IFS 1.3365 + test -z "$as_dir" && as_dir=. 1.3366 + for ac_exec_ext in '' $ac_executable_extensions; do 1.3367 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1.3368 + ac_cv_prog_CC="${ac_tool_prefix}gcc" 1.3369 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1.3370 + break 2 1.3371 + fi 1.3372 +done 1.3373 + done 1.3374 +IFS=$as_save_IFS 1.3375 + 1.3376 +fi 1.3377 +fi 1.3378 +CC=$ac_cv_prog_CC 1.3379 +if test -n "$CC"; then 1.3380 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 1.3381 +$as_echo "$CC" >&6; } 1.3382 +else 1.3383 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1.3384 +$as_echo "no" >&6; } 1.3385 +fi 1.3386 + 1.3387 + 1.3388 +fi 1.3389 +if test -z "$ac_cv_prog_CC"; then 1.3390 + ac_ct_CC=$CC 1.3391 + # Extract the first word of "gcc", so it can be a program name with args. 1.3392 +set dummy gcc; ac_word=$2 1.3393 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 1.3394 +$as_echo_n "checking for $ac_word... " >&6; } 1.3395 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 1.3396 + $as_echo_n "(cached) " >&6 1.3397 +else 1.3398 + if test -n "$ac_ct_CC"; then 1.3399 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1.3400 +else 1.3401 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1.3402 +for as_dir in $PATH 1.3403 +do 1.3404 + IFS=$as_save_IFS 1.3405 + test -z "$as_dir" && as_dir=. 1.3406 + for ac_exec_ext in '' $ac_executable_extensions; do 1.3407 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1.3408 + ac_cv_prog_ac_ct_CC="gcc" 1.3409 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1.3410 + break 2 1.3411 + fi 1.3412 +done 1.3413 + done 1.3414 +IFS=$as_save_IFS 1.3415 + 1.3416 +fi 1.3417 +fi 1.3418 +ac_ct_CC=$ac_cv_prog_ac_ct_CC 1.3419 +if test -n "$ac_ct_CC"; then 1.3420 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 1.3421 +$as_echo "$ac_ct_CC" >&6; } 1.3422 +else 1.3423 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1.3424 +$as_echo "no" >&6; } 1.3425 +fi 1.3426 + 1.3427 + if test "x$ac_ct_CC" = x; then 1.3428 + CC="" 1.3429 + else 1.3430 + case $cross_compiling:$ac_tool_warned in 1.3431 +yes:) 1.3432 +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 1.3433 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 1.3434 +ac_tool_warned=yes ;; 1.3435 +esac 1.3436 + CC=$ac_ct_CC 1.3437 + fi 1.3438 +else 1.3439 + CC="$ac_cv_prog_CC" 1.3440 +fi 1.3441 + 1.3442 +if test -z "$CC"; then 1.3443 + if test -n "$ac_tool_prefix"; then 1.3444 + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 1.3445 +set dummy ${ac_tool_prefix}cc; ac_word=$2 1.3446 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 1.3447 +$as_echo_n "checking for $ac_word... " >&6; } 1.3448 +if test "${ac_cv_prog_CC+set}" = set; then : 1.3449 + $as_echo_n "(cached) " >&6 1.3450 +else 1.3451 + if test -n "$CC"; then 1.3452 + ac_cv_prog_CC="$CC" # Let the user override the test. 1.3453 +else 1.3454 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1.3455 +for as_dir in $PATH 1.3456 +do 1.3457 + IFS=$as_save_IFS 1.3458 + test -z "$as_dir" && as_dir=. 1.3459 + for ac_exec_ext in '' $ac_executable_extensions; do 1.3460 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1.3461 + ac_cv_prog_CC="${ac_tool_prefix}cc" 1.3462 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1.3463 + break 2 1.3464 + fi 1.3465 +done 1.3466 + done 1.3467 +IFS=$as_save_IFS 1.3468 + 1.3469 +fi 1.3470 +fi 1.3471 +CC=$ac_cv_prog_CC 1.3472 +if test -n "$CC"; then 1.3473 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 1.3474 +$as_echo "$CC" >&6; } 1.3475 +else 1.3476 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1.3477 +$as_echo "no" >&6; } 1.3478 +fi 1.3479 + 1.3480 + 1.3481 + fi 1.3482 +fi 1.3483 +if test -z "$CC"; then 1.3484 + # Extract the first word of "cc", so it can be a program name with args. 1.3485 +set dummy cc; ac_word=$2 1.3486 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 1.3487 +$as_echo_n "checking for $ac_word... " >&6; } 1.3488 +if test "${ac_cv_prog_CC+set}" = set; then : 1.3489 + $as_echo_n "(cached) " >&6 1.3490 +else 1.3491 + if test -n "$CC"; then 1.3492 + ac_cv_prog_CC="$CC" # Let the user override the test. 1.3493 +else 1.3494 + ac_prog_rejected=no 1.3495 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1.3496 +for as_dir in $PATH 1.3497 +do 1.3498 + IFS=$as_save_IFS 1.3499 + test -z "$as_dir" && as_dir=. 1.3500 + for ac_exec_ext in '' $ac_executable_extensions; do 1.3501 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1.3502 + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 1.3503 + ac_prog_rejected=yes 1.3504 + continue 1.3505 + fi 1.3506 + ac_cv_prog_CC="cc" 1.3507 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1.3508 + break 2 1.3509 + fi 1.3510 +done 1.3511 + done 1.3512 +IFS=$as_save_IFS 1.3513 + 1.3514 +if test $ac_prog_rejected = yes; then 1.3515 + # We found a bogon in the path, so make sure we never use it. 1.3516 + set dummy $ac_cv_prog_CC 1.3517 + shift 1.3518 + if test $# != 0; then 1.3519 + # We chose a different compiler from the bogus one. 1.3520 + # However, it has the same basename, so the bogon will be chosen 1.3521 + # first if we set CC to just the basename; use the full file name. 1.3522 + shift 1.3523 + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 1.3524 + fi 1.3525 +fi 1.3526 +fi 1.3527 +fi 1.3528 +CC=$ac_cv_prog_CC 1.3529 +if test -n "$CC"; then 1.3530 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 1.3531 +$as_echo "$CC" >&6; } 1.3532 +else 1.3533 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1.3534 +$as_echo "no" >&6; } 1.3535 +fi 1.3536 + 1.3537 + 1.3538 +fi 1.3539 +if test -z "$CC"; then 1.3540 + if test -n "$ac_tool_prefix"; then 1.3541 + for ac_prog in cl.exe 1.3542 + do 1.3543 + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 1.3544 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2 1.3545 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 1.3546 +$as_echo_n "checking for $ac_word... " >&6; } 1.3547 +if test "${ac_cv_prog_CC+set}" = set; then : 1.3548 + $as_echo_n "(cached) " >&6 1.3549 +else 1.3550 + if test -n "$CC"; then 1.3551 + ac_cv_prog_CC="$CC" # Let the user override the test. 1.3552 +else 1.3553 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1.3554 +for as_dir in $PATH 1.3555 +do 1.3556 + IFS=$as_save_IFS 1.3557 + test -z "$as_dir" && as_dir=. 1.3558 + for ac_exec_ext in '' $ac_executable_extensions; do 1.3559 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1.3560 + ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 1.3561 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1.3562 + break 2 1.3563 + fi 1.3564 +done 1.3565 + done 1.3566 +IFS=$as_save_IFS 1.3567 + 1.3568 +fi 1.3569 +fi 1.3570 +CC=$ac_cv_prog_CC 1.3571 +if test -n "$CC"; then 1.3572 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 1.3573 +$as_echo "$CC" >&6; } 1.3574 +else 1.3575 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1.3576 +$as_echo "no" >&6; } 1.3577 +fi 1.3578 + 1.3579 + 1.3580 + test -n "$CC" && break 1.3581 + done 1.3582 +fi 1.3583 +if test -z "$CC"; then 1.3584 + ac_ct_CC=$CC 1.3585 + for ac_prog in cl.exe 1.3586 +do 1.3587 + # Extract the first word of "$ac_prog", so it can be a program name with args. 1.3588 +set dummy $ac_prog; ac_word=$2 1.3589 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 1.3590 +$as_echo_n "checking for $ac_word... " >&6; } 1.3591 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 1.3592 + $as_echo_n "(cached) " >&6 1.3593 +else 1.3594 + if test -n "$ac_ct_CC"; then 1.3595 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1.3596 +else 1.3597 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1.3598 +for as_dir in $PATH 1.3599 +do 1.3600 + IFS=$as_save_IFS 1.3601 + test -z "$as_dir" && as_dir=. 1.3602 + for ac_exec_ext in '' $ac_executable_extensions; do 1.3603 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1.3604 + ac_cv_prog_ac_ct_CC="$ac_prog" 1.3605 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1.3606 + break 2 1.3607 + fi 1.3608 +done 1.3609 + done 1.3610 +IFS=$as_save_IFS 1.3611 + 1.3612 +fi 1.3613 +fi 1.3614 +ac_ct_CC=$ac_cv_prog_ac_ct_CC 1.3615 +if test -n "$ac_ct_CC"; then 1.3616 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 1.3617 +$as_echo "$ac_ct_CC" >&6; } 1.3618 +else 1.3619 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1.3620 +$as_echo "no" >&6; } 1.3621 +fi 1.3622 + 1.3623 + 1.3624 + test -n "$ac_ct_CC" && break 1.3625 +done 1.3626 + 1.3627 + if test "x$ac_ct_CC" = x; then 1.3628 + CC="" 1.3629 + else 1.3630 + case $cross_compiling:$ac_tool_warned in 1.3631 +yes:) 1.3632 +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 1.3633 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 1.3634 +ac_tool_warned=yes ;; 1.3635 +esac 1.3636 + CC=$ac_ct_CC 1.3637 + fi 1.3638 +fi 1.3639 + 1.3640 +fi 1.3641 + 1.3642 + 1.3643 +test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1.3644 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1.3645 +as_fn_error "no acceptable C compiler found in \$PATH 1.3646 +See \`config.log' for more details." "$LINENO" 5; } 1.3647 + 1.3648 +# Provide some information about the compiler. 1.3649 +$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 1.3650 +set X $ac_compile 1.3651 +ac_compiler=$2 1.3652 +for ac_option in --version -v -V -qversion; do 1.3653 + { { ac_try="$ac_compiler $ac_option >&5" 1.3654 +case "(($ac_try" in 1.3655 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1.3656 + *) ac_try_echo=$ac_try;; 1.3657 +esac 1.3658 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1.3659 +$as_echo "$ac_try_echo"; } >&5 1.3660 + (eval "$ac_compiler $ac_option >&5") 2>conftest.err 1.3661 + ac_status=$? 1.3662 + if test -s conftest.err; then 1.3663 + sed '10a\ 1.3664 +... rest of stderr output deleted ... 1.3665 + 10q' conftest.err >conftest.er1 1.3666 + cat conftest.er1 >&5 1.3667 + fi 1.3668 + rm -f conftest.er1 conftest.err 1.3669 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1.3670 + test $ac_status = 0; } 1.3671 +done 1.3672 + 1.3673 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.3674 +/* end confdefs.h. */ 1.3675 + 1.3676 +int 1.3677 +main () 1.3678 +{ 1.3679 + 1.3680 + ; 1.3681 + return 0; 1.3682 +} 1.3683 +_ACEOF 1.3684 +ac_clean_files_save=$ac_clean_files 1.3685 +ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 1.3686 +# Try to create an executable without -o first, disregard a.out. 1.3687 +# It will help us diagnose broken compilers, and finding out an intuition 1.3688 +# of exeext. 1.3689 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 1.3690 +$as_echo_n "checking whether the C compiler works... " >&6; } 1.3691 +ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 1.3692 + 1.3693 +# The possible output files: 1.3694 +ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 1.3695 + 1.3696 +ac_rmfiles= 1.3697 +for ac_file in $ac_files 1.3698 +do 1.3699 + case $ac_file in 1.3700 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 1.3701 + * ) ac_rmfiles="$ac_rmfiles $ac_file";; 1.3702 + esac 1.3703 +done 1.3704 +rm -f $ac_rmfiles 1.3705 + 1.3706 +if { { ac_try="$ac_link_default" 1.3707 +case "(($ac_try" in 1.3708 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1.3709 + *) ac_try_echo=$ac_try;; 1.3710 +esac 1.3711 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1.3712 +$as_echo "$ac_try_echo"; } >&5 1.3713 + (eval "$ac_link_default") 2>&5 1.3714 + ac_status=$? 1.3715 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1.3716 + test $ac_status = 0; }; then : 1.3717 + # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 1.3718 +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 1.3719 +# in a Makefile. We should not override ac_cv_exeext if it was cached, 1.3720 +# so that the user can short-circuit this test for compilers unknown to 1.3721 +# Autoconf. 1.3722 +for ac_file in $ac_files '' 1.3723 +do 1.3724 + test -f "$ac_file" || continue 1.3725 + case $ac_file in 1.3726 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 1.3727 + ;; 1.3728 + [ab].out ) 1.3729 + # We found the default executable, but exeext='' is most 1.3730 + # certainly right. 1.3731 + break;; 1.3732 + *.* ) 1.3733 + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 1.3734 + then :; else 1.3735 + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1.3736 + fi 1.3737 + # We set ac_cv_exeext here because the later test for it is not 1.3738 + # safe: cross compilers may not add the suffix if given an `-o' 1.3739 + # argument, so we may need to know it at that point already. 1.3740 + # Even if this section looks crufty: it has the advantage of 1.3741 + # actually working. 1.3742 + break;; 1.3743 + * ) 1.3744 + break;; 1.3745 + esac 1.3746 +done 1.3747 +test "$ac_cv_exeext" = no && ac_cv_exeext= 1.3748 + 1.3749 +else 1.3750 + ac_file='' 1.3751 +fi 1.3752 +if test -z "$ac_file"; then : 1.3753 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1.3754 +$as_echo "no" >&6; } 1.3755 +$as_echo "$as_me: failed program was:" >&5 1.3756 +sed 's/^/| /' conftest.$ac_ext >&5 1.3757 + 1.3758 +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1.3759 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1.3760 +{ as_fn_set_status 77 1.3761 +as_fn_error "C compiler cannot create executables 1.3762 +See \`config.log' for more details." "$LINENO" 5; }; } 1.3763 +else 1.3764 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 1.3765 +$as_echo "yes" >&6; } 1.3766 +fi 1.3767 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 1.3768 +$as_echo_n "checking for C compiler default output file name... " >&6; } 1.3769 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 1.3770 +$as_echo "$ac_file" >&6; } 1.3771 +ac_exeext=$ac_cv_exeext 1.3772 + 1.3773 +rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 1.3774 +ac_clean_files=$ac_clean_files_save 1.3775 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 1.3776 +$as_echo_n "checking for suffix of executables... " >&6; } 1.3777 +if { { ac_try="$ac_link" 1.3778 +case "(($ac_try" in 1.3779 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1.3780 + *) ac_try_echo=$ac_try;; 1.3781 +esac 1.3782 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1.3783 +$as_echo "$ac_try_echo"; } >&5 1.3784 + (eval "$ac_link") 2>&5 1.3785 + ac_status=$? 1.3786 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1.3787 + test $ac_status = 0; }; then : 1.3788 + # If both `conftest.exe' and `conftest' are `present' (well, observable) 1.3789 +# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 1.3790 +# work properly (i.e., refer to `conftest.exe'), while it won't with 1.3791 +# `rm'. 1.3792 +for ac_file in conftest.exe conftest conftest.*; do 1.3793 + test -f "$ac_file" || continue 1.3794 + case $ac_file in 1.3795 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 1.3796 + *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1.3797 + break;; 1.3798 + * ) break;; 1.3799 + esac 1.3800 +done 1.3801 +else 1.3802 + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1.3803 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1.3804 +as_fn_error "cannot compute suffix of executables: cannot compile and link 1.3805 +See \`config.log' for more details." "$LINENO" 5; } 1.3806 +fi 1.3807 +rm -f conftest conftest$ac_cv_exeext 1.3808 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 1.3809 +$as_echo "$ac_cv_exeext" >&6; } 1.3810 + 1.3811 +rm -f conftest.$ac_ext 1.3812 +EXEEXT=$ac_cv_exeext 1.3813 +ac_exeext=$EXEEXT 1.3814 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.3815 +/* end confdefs.h. */ 1.3816 +#include <stdio.h> 1.3817 +int 1.3818 +main () 1.3819 +{ 1.3820 +FILE *f = fopen ("conftest.out", "w"); 1.3821 + return ferror (f) || fclose (f) != 0; 1.3822 + 1.3823 + ; 1.3824 + return 0; 1.3825 +} 1.3826 +_ACEOF 1.3827 +ac_clean_files="$ac_clean_files conftest.out" 1.3828 +# Check that the compiler produces executables we can run. If not, either 1.3829 +# the compiler is broken, or we cross compile. 1.3830 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 1.3831 +$as_echo_n "checking whether we are cross compiling... " >&6; } 1.3832 +if test "$cross_compiling" != yes; then 1.3833 + { { ac_try="$ac_link" 1.3834 +case "(($ac_try" in 1.3835 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1.3836 + *) ac_try_echo=$ac_try;; 1.3837 +esac 1.3838 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1.3839 +$as_echo "$ac_try_echo"; } >&5 1.3840 + (eval "$ac_link") 2>&5 1.3841 + ac_status=$? 1.3842 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1.3843 + test $ac_status = 0; } 1.3844 + if { ac_try='./conftest$ac_cv_exeext' 1.3845 + { { case "(($ac_try" in 1.3846 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1.3847 + *) ac_try_echo=$ac_try;; 1.3848 +esac 1.3849 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1.3850 +$as_echo "$ac_try_echo"; } >&5 1.3851 + (eval "$ac_try") 2>&5 1.3852 + ac_status=$? 1.3853 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1.3854 + test $ac_status = 0; }; }; then 1.3855 + cross_compiling=no 1.3856 + else 1.3857 + if test "$cross_compiling" = maybe; then 1.3858 + cross_compiling=yes 1.3859 + else 1.3860 + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1.3861 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1.3862 +as_fn_error "cannot run C compiled programs. 1.3863 +If you meant to cross compile, use \`--host'. 1.3864 +See \`config.log' for more details." "$LINENO" 5; } 1.3865 + fi 1.3866 + fi 1.3867 +fi 1.3868 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 1.3869 +$as_echo "$cross_compiling" >&6; } 1.3870 + 1.3871 +rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 1.3872 +ac_clean_files=$ac_clean_files_save 1.3873 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 1.3874 +$as_echo_n "checking for suffix of object files... " >&6; } 1.3875 +if test "${ac_cv_objext+set}" = set; then : 1.3876 + $as_echo_n "(cached) " >&6 1.3877 +else 1.3878 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.3879 +/* end confdefs.h. */ 1.3880 + 1.3881 +int 1.3882 +main () 1.3883 +{ 1.3884 + 1.3885 + ; 1.3886 + return 0; 1.3887 +} 1.3888 +_ACEOF 1.3889 +rm -f conftest.o conftest.obj 1.3890 +if { { ac_try="$ac_compile" 1.3891 +case "(($ac_try" in 1.3892 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1.3893 + *) ac_try_echo=$ac_try;; 1.3894 +esac 1.3895 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1.3896 +$as_echo "$ac_try_echo"; } >&5 1.3897 + (eval "$ac_compile") 2>&5 1.3898 + ac_status=$? 1.3899 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1.3900 + test $ac_status = 0; }; then : 1.3901 + for ac_file in conftest.o conftest.obj conftest.*; do 1.3902 + test -f "$ac_file" || continue; 1.3903 + case $ac_file in 1.3904 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 1.3905 + *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 1.3906 + break;; 1.3907 + esac 1.3908 +done 1.3909 +else 1.3910 + $as_echo "$as_me: failed program was:" >&5 1.3911 +sed 's/^/| /' conftest.$ac_ext >&5 1.3912 + 1.3913 +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1.3914 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1.3915 +as_fn_error "cannot compute suffix of object files: cannot compile 1.3916 +See \`config.log' for more details." "$LINENO" 5; } 1.3917 +fi 1.3918 +rm -f conftest.$ac_cv_objext conftest.$ac_ext 1.3919 +fi 1.3920 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 1.3921 +$as_echo "$ac_cv_objext" >&6; } 1.3922 +OBJEXT=$ac_cv_objext 1.3923 +ac_objext=$OBJEXT 1.3924 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 1.3925 +$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 1.3926 +if test "${ac_cv_c_compiler_gnu+set}" = set; then : 1.3927 + $as_echo_n "(cached) " >&6 1.3928 +else 1.3929 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.3930 +/* end confdefs.h. */ 1.3931 + 1.3932 +int 1.3933 +main () 1.3934 +{ 1.3935 +#ifndef __GNUC__ 1.3936 + choke me 1.3937 +#endif 1.3938 + 1.3939 + ; 1.3940 + return 0; 1.3941 +} 1.3942 +_ACEOF 1.3943 +if ac_fn_c_try_compile "$LINENO"; then : 1.3944 + ac_compiler_gnu=yes 1.3945 +else 1.3946 + ac_compiler_gnu=no 1.3947 +fi 1.3948 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1.3949 +ac_cv_c_compiler_gnu=$ac_compiler_gnu 1.3950 + 1.3951 +fi 1.3952 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 1.3953 +$as_echo "$ac_cv_c_compiler_gnu" >&6; } 1.3954 +if test $ac_compiler_gnu = yes; then 1.3955 + GCC=yes 1.3956 +else 1.3957 + GCC= 1.3958 +fi 1.3959 +ac_test_CFLAGS=${CFLAGS+set} 1.3960 +ac_save_CFLAGS=$CFLAGS 1.3961 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 1.3962 +$as_echo_n "checking whether $CC accepts -g... " >&6; } 1.3963 +if test "${ac_cv_prog_cc_g+set}" = set; then : 1.3964 + $as_echo_n "(cached) " >&6 1.3965 +else 1.3966 + ac_save_c_werror_flag=$ac_c_werror_flag 1.3967 + ac_c_werror_flag=yes 1.3968 + ac_cv_prog_cc_g=no 1.3969 + CFLAGS="-g" 1.3970 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.3971 +/* end confdefs.h. */ 1.3972 + 1.3973 +int 1.3974 +main () 1.3975 +{ 1.3976 + 1.3977 + ; 1.3978 + return 0; 1.3979 +} 1.3980 +_ACEOF 1.3981 +if ac_fn_c_try_compile "$LINENO"; then : 1.3982 + ac_cv_prog_cc_g=yes 1.3983 +else 1.3984 + CFLAGS="" 1.3985 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.3986 +/* end confdefs.h. */ 1.3987 + 1.3988 +int 1.3989 +main () 1.3990 +{ 1.3991 + 1.3992 + ; 1.3993 + return 0; 1.3994 +} 1.3995 +_ACEOF 1.3996 +if ac_fn_c_try_compile "$LINENO"; then : 1.3997 + 1.3998 +else 1.3999 + ac_c_werror_flag=$ac_save_c_werror_flag 1.4000 + CFLAGS="-g" 1.4001 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.4002 +/* end confdefs.h. */ 1.4003 + 1.4004 +int 1.4005 +main () 1.4006 +{ 1.4007 + 1.4008 + ; 1.4009 + return 0; 1.4010 +} 1.4011 +_ACEOF 1.4012 +if ac_fn_c_try_compile "$LINENO"; then : 1.4013 + ac_cv_prog_cc_g=yes 1.4014 +fi 1.4015 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1.4016 +fi 1.4017 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1.4018 +fi 1.4019 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1.4020 + ac_c_werror_flag=$ac_save_c_werror_flag 1.4021 +fi 1.4022 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 1.4023 +$as_echo "$ac_cv_prog_cc_g" >&6; } 1.4024 +if test "$ac_test_CFLAGS" = set; then 1.4025 + CFLAGS=$ac_save_CFLAGS 1.4026 +elif test $ac_cv_prog_cc_g = yes; then 1.4027 + if test "$GCC" = yes; then 1.4028 + CFLAGS="-g -O2" 1.4029 + else 1.4030 + CFLAGS="-g" 1.4031 + fi 1.4032 +else 1.4033 + if test "$GCC" = yes; then 1.4034 + CFLAGS="-O2" 1.4035 + else 1.4036 + CFLAGS= 1.4037 + fi 1.4038 +fi 1.4039 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 1.4040 +$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 1.4041 +if test "${ac_cv_prog_cc_c89+set}" = set; then : 1.4042 + $as_echo_n "(cached) " >&6 1.4043 +else 1.4044 + ac_cv_prog_cc_c89=no 1.4045 +ac_save_CC=$CC 1.4046 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.4047 +/* end confdefs.h. */ 1.4048 +#include <stdarg.h> 1.4049 +#include <stdio.h> 1.4050 +#include <sys/types.h> 1.4051 +#include <sys/stat.h> 1.4052 +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 1.4053 +struct buf { int x; }; 1.4054 +FILE * (*rcsopen) (struct buf *, struct stat *, int); 1.4055 +static char *e (p, i) 1.4056 + char **p; 1.4057 + int i; 1.4058 +{ 1.4059 + return p[i]; 1.4060 +} 1.4061 +static char *f (char * (*g) (char **, int), char **p, ...) 1.4062 +{ 1.4063 + char *s; 1.4064 + va_list v; 1.4065 + va_start (v,p); 1.4066 + s = g (p, va_arg (v,int)); 1.4067 + va_end (v); 1.4068 + return s; 1.4069 +} 1.4070 + 1.4071 +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 1.4072 + function prototypes and stuff, but not '\xHH' hex character constants. 1.4073 + These don't provoke an error unfortunately, instead are silently treated 1.4074 + as 'x'. The following induces an error, until -std is added to get 1.4075 + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 1.4076 + array size at least. It's necessary to write '\x00'==0 to get something 1.4077 + that's true only with -std. */ 1.4078 +int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 1.4079 + 1.4080 +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 1.4081 + inside strings and character constants. */ 1.4082 +#define FOO(x) 'x' 1.4083 +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 1.4084 + 1.4085 +int test (int i, double x); 1.4086 +struct s1 {int (*f) (int a);}; 1.4087 +struct s2 {int (*f) (double a);}; 1.4088 +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 1.4089 +int argc; 1.4090 +char **argv; 1.4091 +int 1.4092 +main () 1.4093 +{ 1.4094 +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 1.4095 + ; 1.4096 + return 0; 1.4097 +} 1.4098 +_ACEOF 1.4099 +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 1.4100 + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 1.4101 +do 1.4102 + CC="$ac_save_CC $ac_arg" 1.4103 + if ac_fn_c_try_compile "$LINENO"; then : 1.4104 + ac_cv_prog_cc_c89=$ac_arg 1.4105 +fi 1.4106 +rm -f core conftest.err conftest.$ac_objext 1.4107 + test "x$ac_cv_prog_cc_c89" != "xno" && break 1.4108 +done 1.4109 +rm -f conftest.$ac_ext 1.4110 +CC=$ac_save_CC 1.4111 + 1.4112 +fi 1.4113 +# AC_CACHE_VAL 1.4114 +case "x$ac_cv_prog_cc_c89" in 1.4115 + x) 1.4116 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 1.4117 +$as_echo "none needed" >&6; } ;; 1.4118 + xno) 1.4119 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 1.4120 +$as_echo "unsupported" >&6; } ;; 1.4121 + *) 1.4122 + CC="$CC $ac_cv_prog_cc_c89" 1.4123 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 1.4124 +$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 1.4125 +esac 1.4126 +if test "x$ac_cv_prog_cc_c89" != xno; then : 1.4127 + 1.4128 +fi 1.4129 + 1.4130 +ac_ext=cpp 1.4131 +ac_cpp='$CXXCPP $CPPFLAGS' 1.4132 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1.4133 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1.4134 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 1.4135 +DEPDIR="${am__leading_dot}deps" 1.4136 + 1.4137 +ac_config_commands="$ac_config_commands depfiles" 1.4138 + 1.4139 + 1.4140 +am_make=${MAKE-make} 1.4141 +cat > confinc << 'END' 1.4142 +am__doit: 1.4143 + @echo this is the am__doit target 1.4144 +.PHONY: am__doit 1.4145 +END 1.4146 +# If we don't find an include directive, just comment out the code. 1.4147 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 1.4148 +$as_echo_n "checking for style of include used by $am_make... " >&6; } 1.4149 +am__include="#" 1.4150 +am__quote= 1.4151 +_am_result=none 1.4152 +# First try GNU make style include. 1.4153 +echo "include confinc" > confmf 1.4154 +# Ignore all kinds of additional output from `make'. 1.4155 +case `$am_make -s -f confmf 2> /dev/null` in #( 1.4156 +*the\ am__doit\ target*) 1.4157 + am__include=include 1.4158 + am__quote= 1.4159 + _am_result=GNU 1.4160 + ;; 1.4161 +esac 1.4162 +# Now try BSD make style include. 1.4163 +if test "$am__include" = "#"; then 1.4164 + echo '.include "confinc"' > confmf 1.4165 + case `$am_make -s -f confmf 2> /dev/null` in #( 1.4166 + *the\ am__doit\ target*) 1.4167 + am__include=.include 1.4168 + am__quote="\"" 1.4169 + _am_result=BSD 1.4170 + ;; 1.4171 + esac 1.4172 +fi 1.4173 + 1.4174 + 1.4175 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 1.4176 +$as_echo "$_am_result" >&6; } 1.4177 +rm -f confinc confmf 1.4178 + 1.4179 +# Check whether --enable-dependency-tracking was given. 1.4180 +if test "${enable_dependency_tracking+set}" = set; then : 1.4181 + enableval=$enable_dependency_tracking; 1.4182 +fi 1.4183 + 1.4184 +if test "x$enable_dependency_tracking" != xno; then 1.4185 + am_depcomp="$ac_aux_dir/depcomp" 1.4186 + AMDEPBACKSLASH='\' 1.4187 +fi 1.4188 + if test "x$enable_dependency_tracking" != xno; then 1.4189 + AMDEP_TRUE= 1.4190 + AMDEP_FALSE='#' 1.4191 +else 1.4192 + AMDEP_TRUE='#' 1.4193 + AMDEP_FALSE= 1.4194 +fi 1.4195 + 1.4196 + 1.4197 + 1.4198 +depcc="$CC" am_compiler_list= 1.4199 + 1.4200 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 1.4201 +$as_echo_n "checking dependency style of $depcc... " >&6; } 1.4202 +if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : 1.4203 + $as_echo_n "(cached) " >&6 1.4204 +else 1.4205 + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 1.4206 + # We make a subdir and do the tests there. Otherwise we can end up 1.4207 + # making bogus files that we don't know about and never remove. For 1.4208 + # instance it was reported that on HP-UX the gcc test will end up 1.4209 + # making a dummy file named `D' -- because `-MD' means `put the output 1.4210 + # in D'. 1.4211 + mkdir conftest.dir 1.4212 + # Copy depcomp to subdir because otherwise we won't find it if we're 1.4213 + # using a relative directory. 1.4214 + cp "$am_depcomp" conftest.dir 1.4215 + cd conftest.dir 1.4216 + # We will build objects and dependencies in a subdirectory because 1.4217 + # it helps to detect inapplicable dependency modes. For instance 1.4218 + # both Tru64's cc and ICC support -MD to output dependencies as a 1.4219 + # side effect of compilation, but ICC will put the dependencies in 1.4220 + # the current directory while Tru64 will put them in the object 1.4221 + # directory. 1.4222 + mkdir sub 1.4223 + 1.4224 + am_cv_CC_dependencies_compiler_type=none 1.4225 + if test "$am_compiler_list" = ""; then 1.4226 + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 1.4227 + fi 1.4228 + am__universal=false 1.4229 + case " $depcc " in #( 1.4230 + *\ -arch\ *\ -arch\ *) am__universal=true ;; 1.4231 + esac 1.4232 + 1.4233 + for depmode in $am_compiler_list; do 1.4234 + # Setup a source with many dependencies, because some compilers 1.4235 + # like to wrap large dependency lists on column 80 (with \), and 1.4236 + # we should not choose a depcomp mode which is confused by this. 1.4237 + # 1.4238 + # We need to recreate these files for each test, as the compiler may 1.4239 + # overwrite some of them when testing with obscure command lines. 1.4240 + # This happens at least with the AIX C compiler. 1.4241 + : > sub/conftest.c 1.4242 + for i in 1 2 3 4 5 6; do 1.4243 + echo '#include "conftst'$i'.h"' >> sub/conftest.c 1.4244 + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 1.4245 + # Solaris 8's {/usr,}/bin/sh. 1.4246 + touch sub/conftst$i.h 1.4247 + done 1.4248 + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 1.4249 + 1.4250 + # We check with `-c' and `-o' for the sake of the "dashmstdout" 1.4251 + # mode. It turns out that the SunPro C++ compiler does not properly 1.4252 + # handle `-M -o', and we need to detect this. Also, some Intel 1.4253 + # versions had trouble with output in subdirs 1.4254 + am__obj=sub/conftest.${OBJEXT-o} 1.4255 + am__minus_obj="-o $am__obj" 1.4256 + case $depmode in 1.4257 + gcc) 1.4258 + # This depmode causes a compiler race in universal mode. 1.4259 + test "$am__universal" = false || continue 1.4260 + ;; 1.4261 + nosideeffect) 1.4262 + # after this tag, mechanisms are not by side-effect, so they'll 1.4263 + # only be used when explicitly requested 1.4264 + if test "x$enable_dependency_tracking" = xyes; then 1.4265 + continue 1.4266 + else 1.4267 + break 1.4268 + fi 1.4269 + ;; 1.4270 + msvisualcpp | msvcmsys) 1.4271 + # This compiler won't grok `-c -o', but also, the minuso test has 1.4272 + # not run yet. These depmodes are late enough in the game, and 1.4273 + # so weak that their functioning should not be impacted. 1.4274 + am__obj=conftest.${OBJEXT-o} 1.4275 + am__minus_obj= 1.4276 + ;; 1.4277 + none) break ;; 1.4278 + esac 1.4279 + if depmode=$depmode \ 1.4280 + source=sub/conftest.c object=$am__obj \ 1.4281 + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 1.4282 + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 1.4283 + >/dev/null 2>conftest.err && 1.4284 + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 1.4285 + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 1.4286 + grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 1.4287 + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 1.4288 + # icc doesn't choke on unknown options, it will just issue warnings 1.4289 + # or remarks (even with -Werror). So we grep stderr for any message 1.4290 + # that says an option was ignored or not supported. 1.4291 + # When given -MP, icc 7.0 and 7.1 complain thusly: 1.4292 + # icc: Command line warning: ignoring option '-M'; no argument required 1.4293 + # The diagnosis changed in icc 8.0: 1.4294 + # icc: Command line remark: option '-MP' not supported 1.4295 + if (grep 'ignoring option' conftest.err || 1.4296 + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 1.4297 + am_cv_CC_dependencies_compiler_type=$depmode 1.4298 + break 1.4299 + fi 1.4300 + fi 1.4301 + done 1.4302 + 1.4303 + cd .. 1.4304 + rm -rf conftest.dir 1.4305 +else 1.4306 + am_cv_CC_dependencies_compiler_type=none 1.4307 +fi 1.4308 + 1.4309 +fi 1.4310 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 1.4311 +$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 1.4312 +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 1.4313 + 1.4314 + if 1.4315 + test "x$enable_dependency_tracking" != xno \ 1.4316 + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 1.4317 + am__fastdepCC_TRUE= 1.4318 + am__fastdepCC_FALSE='#' 1.4319 +else 1.4320 + am__fastdepCC_TRUE='#' 1.4321 + am__fastdepCC_FALSE= 1.4322 +fi 1.4323 + 1.4324 + 1.4325 +ac_ext=c 1.4326 +ac_cpp='$CPP $CPPFLAGS' 1.4327 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1.4328 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1.4329 +ac_compiler_gnu=$ac_cv_c_compiler_gnu 1.4330 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 1.4331 +$as_echo_n "checking how to run the C preprocessor... " >&6; } 1.4332 +# On Suns, sometimes $CPP names a directory. 1.4333 +if test -n "$CPP" && test -d "$CPP"; then 1.4334 + CPP= 1.4335 +fi 1.4336 +if test -z "$CPP"; then 1.4337 + if test "${ac_cv_prog_CPP+set}" = set; then : 1.4338 + $as_echo_n "(cached) " >&6 1.4339 +else 1.4340 + # Double quotes because CPP needs to be expanded 1.4341 + for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 1.4342 + do 1.4343 + ac_preproc_ok=false 1.4344 +for ac_c_preproc_warn_flag in '' yes 1.4345 +do 1.4346 + # Use a header file that comes with gcc, so configuring glibc 1.4347 + # with a fresh cross-compiler works. 1.4348 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1.4349 + # <limits.h> exists even on freestanding compilers. 1.4350 + # On the NeXT, cc -E runs the code through the compiler's parser, 1.4351 + # not just through cpp. "Syntax error" is here to catch this case. 1.4352 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.4353 +/* end confdefs.h. */ 1.4354 +#ifdef __STDC__ 1.4355 +# include <limits.h> 1.4356 +#else 1.4357 +# include <assert.h> 1.4358 +#endif 1.4359 + Syntax error 1.4360 +_ACEOF 1.4361 +if ac_fn_c_try_cpp "$LINENO"; then : 1.4362 + 1.4363 +else 1.4364 + # Broken: fails on valid input. 1.4365 +continue 1.4366 +fi 1.4367 +rm -f conftest.err conftest.$ac_ext 1.4368 + 1.4369 + # OK, works on sane cases. Now check whether nonexistent headers 1.4370 + # can be detected and how. 1.4371 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.4372 +/* end confdefs.h. */ 1.4373 +#include <ac_nonexistent.h> 1.4374 +_ACEOF 1.4375 +if ac_fn_c_try_cpp "$LINENO"; then : 1.4376 + # Broken: success on invalid input. 1.4377 +continue 1.4378 +else 1.4379 + # Passes both tests. 1.4380 +ac_preproc_ok=: 1.4381 +break 1.4382 +fi 1.4383 +rm -f conftest.err conftest.$ac_ext 1.4384 + 1.4385 +done 1.4386 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 1.4387 +rm -f conftest.err conftest.$ac_ext 1.4388 +if $ac_preproc_ok; then : 1.4389 + break 1.4390 +fi 1.4391 + 1.4392 + done 1.4393 + ac_cv_prog_CPP=$CPP 1.4394 + 1.4395 +fi 1.4396 + CPP=$ac_cv_prog_CPP 1.4397 +else 1.4398 + ac_cv_prog_CPP=$CPP 1.4399 +fi 1.4400 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 1.4401 +$as_echo "$CPP" >&6; } 1.4402 +ac_preproc_ok=false 1.4403 +for ac_c_preproc_warn_flag in '' yes 1.4404 +do 1.4405 + # Use a header file that comes with gcc, so configuring glibc 1.4406 + # with a fresh cross-compiler works. 1.4407 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1.4408 + # <limits.h> exists even on freestanding compilers. 1.4409 + # On the NeXT, cc -E runs the code through the compiler's parser, 1.4410 + # not just through cpp. "Syntax error" is here to catch this case. 1.4411 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.4412 +/* end confdefs.h. */ 1.4413 +#ifdef __STDC__ 1.4414 +# include <limits.h> 1.4415 +#else 1.4416 +# include <assert.h> 1.4417 +#endif 1.4418 + Syntax error 1.4419 +_ACEOF 1.4420 +if ac_fn_c_try_cpp "$LINENO"; then : 1.4421 + 1.4422 +else 1.4423 + # Broken: fails on valid input. 1.4424 +continue 1.4425 +fi 1.4426 +rm -f conftest.err conftest.$ac_ext 1.4427 + 1.4428 + # OK, works on sane cases. Now check whether nonexistent headers 1.4429 + # can be detected and how. 1.4430 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.4431 +/* end confdefs.h. */ 1.4432 +#include <ac_nonexistent.h> 1.4433 +_ACEOF 1.4434 +if ac_fn_c_try_cpp "$LINENO"; then : 1.4435 + # Broken: success on invalid input. 1.4436 +continue 1.4437 +else 1.4438 + # Passes both tests. 1.4439 +ac_preproc_ok=: 1.4440 +break 1.4441 +fi 1.4442 +rm -f conftest.err conftest.$ac_ext 1.4443 + 1.4444 +done 1.4445 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 1.4446 +rm -f conftest.err conftest.$ac_ext 1.4447 +if $ac_preproc_ok; then : 1.4448 + 1.4449 +else 1.4450 + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1.4451 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1.4452 +as_fn_error "C preprocessor \"$CPP\" fails sanity check 1.4453 +See \`config.log' for more details." "$LINENO" 5; } 1.4454 +fi 1.4455 + 1.4456 +ac_ext=cpp 1.4457 +ac_cpp='$CXXCPP $CPPFLAGS' 1.4458 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1.4459 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1.4460 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 1.4461 + 1.4462 +ac_ext=cpp 1.4463 +ac_cpp='$CXXCPP $CPPFLAGS' 1.4464 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1.4465 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1.4466 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 1.4467 +if test -z "$CXX"; then 1.4468 + if test -n "$CCC"; then 1.4469 + CXX=$CCC 1.4470 + else 1.4471 + if test -n "$ac_tool_prefix"; then 1.4472 + for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 1.4473 + do 1.4474 + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 1.4475 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2 1.4476 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 1.4477 +$as_echo_n "checking for $ac_word... " >&6; } 1.4478 +if test "${ac_cv_prog_CXX+set}" = set; then : 1.4479 + $as_echo_n "(cached) " >&6 1.4480 +else 1.4481 + if test -n "$CXX"; then 1.4482 + ac_cv_prog_CXX="$CXX" # Let the user override the test. 1.4483 +else 1.4484 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1.4485 +for as_dir in $PATH 1.4486 +do 1.4487 + IFS=$as_save_IFS 1.4488 + test -z "$as_dir" && as_dir=. 1.4489 + for ac_exec_ext in '' $ac_executable_extensions; do 1.4490 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1.4491 + ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 1.4492 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1.4493 + break 2 1.4494 + fi 1.4495 +done 1.4496 + done 1.4497 +IFS=$as_save_IFS 1.4498 + 1.4499 +fi 1.4500 +fi 1.4501 +CXX=$ac_cv_prog_CXX 1.4502 +if test -n "$CXX"; then 1.4503 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 1.4504 +$as_echo "$CXX" >&6; } 1.4505 +else 1.4506 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1.4507 +$as_echo "no" >&6; } 1.4508 +fi 1.4509 + 1.4510 + 1.4511 + test -n "$CXX" && break 1.4512 + done 1.4513 +fi 1.4514 +if test -z "$CXX"; then 1.4515 + ac_ct_CXX=$CXX 1.4516 + for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 1.4517 +do 1.4518 + # Extract the first word of "$ac_prog", so it can be a program name with args. 1.4519 +set dummy $ac_prog; ac_word=$2 1.4520 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 1.4521 +$as_echo_n "checking for $ac_word... " >&6; } 1.4522 +if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then : 1.4523 + $as_echo_n "(cached) " >&6 1.4524 +else 1.4525 + if test -n "$ac_ct_CXX"; then 1.4526 + ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 1.4527 +else 1.4528 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1.4529 +for as_dir in $PATH 1.4530 +do 1.4531 + IFS=$as_save_IFS 1.4532 + test -z "$as_dir" && as_dir=. 1.4533 + for ac_exec_ext in '' $ac_executable_extensions; do 1.4534 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1.4535 + ac_cv_prog_ac_ct_CXX="$ac_prog" 1.4536 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1.4537 + break 2 1.4538 + fi 1.4539 +done 1.4540 + done 1.4541 +IFS=$as_save_IFS 1.4542 + 1.4543 +fi 1.4544 +fi 1.4545 +ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 1.4546 +if test -n "$ac_ct_CXX"; then 1.4547 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 1.4548 +$as_echo "$ac_ct_CXX" >&6; } 1.4549 +else 1.4550 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1.4551 +$as_echo "no" >&6; } 1.4552 +fi 1.4553 + 1.4554 + 1.4555 + test -n "$ac_ct_CXX" && break 1.4556 +done 1.4557 + 1.4558 + if test "x$ac_ct_CXX" = x; then 1.4559 + CXX="g++" 1.4560 + else 1.4561 + case $cross_compiling:$ac_tool_warned in 1.4562 +yes:) 1.4563 +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 1.4564 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 1.4565 +ac_tool_warned=yes ;; 1.4566 +esac 1.4567 + CXX=$ac_ct_CXX 1.4568 + fi 1.4569 +fi 1.4570 + 1.4571 + fi 1.4572 +fi 1.4573 +# Provide some information about the compiler. 1.4574 +$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 1.4575 +set X $ac_compile 1.4576 +ac_compiler=$2 1.4577 +for ac_option in --version -v -V -qversion; do 1.4578 + { { ac_try="$ac_compiler $ac_option >&5" 1.4579 +case "(($ac_try" in 1.4580 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1.4581 + *) ac_try_echo=$ac_try;; 1.4582 +esac 1.4583 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1.4584 +$as_echo "$ac_try_echo"; } >&5 1.4585 + (eval "$ac_compiler $ac_option >&5") 2>conftest.err 1.4586 + ac_status=$? 1.4587 + if test -s conftest.err; then 1.4588 + sed '10a\ 1.4589 +... rest of stderr output deleted ... 1.4590 + 10q' conftest.err >conftest.er1 1.4591 + cat conftest.er1 >&5 1.4592 + fi 1.4593 + rm -f conftest.er1 conftest.err 1.4594 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1.4595 + test $ac_status = 0; } 1.4596 +done 1.4597 + 1.4598 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 1.4599 +$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 1.4600 +if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : 1.4601 + $as_echo_n "(cached) " >&6 1.4602 +else 1.4603 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.4604 +/* end confdefs.h. */ 1.4605 + 1.4606 +int 1.4607 +main () 1.4608 +{ 1.4609 +#ifndef __GNUC__ 1.4610 + choke me 1.4611 +#endif 1.4612 + 1.4613 + ; 1.4614 + return 0; 1.4615 +} 1.4616 +_ACEOF 1.4617 +if ac_fn_cxx_try_compile "$LINENO"; then : 1.4618 + ac_compiler_gnu=yes 1.4619 +else 1.4620 + ac_compiler_gnu=no 1.4621 +fi 1.4622 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1.4623 +ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 1.4624 + 1.4625 +fi 1.4626 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 1.4627 +$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 1.4628 +if test $ac_compiler_gnu = yes; then 1.4629 + GXX=yes 1.4630 +else 1.4631 + GXX= 1.4632 +fi 1.4633 +ac_test_CXXFLAGS=${CXXFLAGS+set} 1.4634 +ac_save_CXXFLAGS=$CXXFLAGS 1.4635 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 1.4636 +$as_echo_n "checking whether $CXX accepts -g... " >&6; } 1.4637 +if test "${ac_cv_prog_cxx_g+set}" = set; then : 1.4638 + $as_echo_n "(cached) " >&6 1.4639 +else 1.4640 + ac_save_cxx_werror_flag=$ac_cxx_werror_flag 1.4641 + ac_cxx_werror_flag=yes 1.4642 + ac_cv_prog_cxx_g=no 1.4643 + CXXFLAGS="-g" 1.4644 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.4645 +/* end confdefs.h. */ 1.4646 + 1.4647 +int 1.4648 +main () 1.4649 +{ 1.4650 + 1.4651 + ; 1.4652 + return 0; 1.4653 +} 1.4654 +_ACEOF 1.4655 +if ac_fn_cxx_try_compile "$LINENO"; then : 1.4656 + ac_cv_prog_cxx_g=yes 1.4657 +else 1.4658 + CXXFLAGS="" 1.4659 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.4660 +/* end confdefs.h. */ 1.4661 + 1.4662 +int 1.4663 +main () 1.4664 +{ 1.4665 + 1.4666 + ; 1.4667 + return 0; 1.4668 +} 1.4669 +_ACEOF 1.4670 +if ac_fn_cxx_try_compile "$LINENO"; then : 1.4671 + 1.4672 +else 1.4673 + ac_cxx_werror_flag=$ac_save_cxx_werror_flag 1.4674 + CXXFLAGS="-g" 1.4675 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.4676 +/* end confdefs.h. */ 1.4677 + 1.4678 +int 1.4679 +main () 1.4680 +{ 1.4681 + 1.4682 + ; 1.4683 + return 0; 1.4684 +} 1.4685 +_ACEOF 1.4686 +if ac_fn_cxx_try_compile "$LINENO"; then : 1.4687 + ac_cv_prog_cxx_g=yes 1.4688 +fi 1.4689 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1.4690 +fi 1.4691 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1.4692 +fi 1.4693 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1.4694 + ac_cxx_werror_flag=$ac_save_cxx_werror_flag 1.4695 +fi 1.4696 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 1.4697 +$as_echo "$ac_cv_prog_cxx_g" >&6; } 1.4698 +if test "$ac_test_CXXFLAGS" = set; then 1.4699 + CXXFLAGS=$ac_save_CXXFLAGS 1.4700 +elif test $ac_cv_prog_cxx_g = yes; then 1.4701 + if test "$GXX" = yes; then 1.4702 + CXXFLAGS="-g -O2" 1.4703 + else 1.4704 + CXXFLAGS="-g" 1.4705 + fi 1.4706 +else 1.4707 + if test "$GXX" = yes; then 1.4708 + CXXFLAGS="-O2" 1.4709 + else 1.4710 + CXXFLAGS= 1.4711 + fi 1.4712 +fi 1.4713 +ac_ext=cpp 1.4714 +ac_cpp='$CXXCPP $CPPFLAGS' 1.4715 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1.4716 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1.4717 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 1.4718 + 1.4719 +depcc="$CXX" am_compiler_list= 1.4720 + 1.4721 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 1.4722 +$as_echo_n "checking dependency style of $depcc... " >&6; } 1.4723 +if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then : 1.4724 + $as_echo_n "(cached) " >&6 1.4725 +else 1.4726 + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 1.4727 + # We make a subdir and do the tests there. Otherwise we can end up 1.4728 + # making bogus files that we don't know about and never remove. For 1.4729 + # instance it was reported that on HP-UX the gcc test will end up 1.4730 + # making a dummy file named `D' -- because `-MD' means `put the output 1.4731 + # in D'. 1.4732 + mkdir conftest.dir 1.4733 + # Copy depcomp to subdir because otherwise we won't find it if we're 1.4734 + # using a relative directory. 1.4735 + cp "$am_depcomp" conftest.dir 1.4736 + cd conftest.dir 1.4737 + # We will build objects and dependencies in a subdirectory because 1.4738 + # it helps to detect inapplicable dependency modes. For instance 1.4739 + # both Tru64's cc and ICC support -MD to output dependencies as a 1.4740 + # side effect of compilation, but ICC will put the dependencies in 1.4741 + # the current directory while Tru64 will put them in the object 1.4742 + # directory. 1.4743 + mkdir sub 1.4744 + 1.4745 + am_cv_CXX_dependencies_compiler_type=none 1.4746 + if test "$am_compiler_list" = ""; then 1.4747 + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 1.4748 + fi 1.4749 + am__universal=false 1.4750 + case " $depcc " in #( 1.4751 + *\ -arch\ *\ -arch\ *) am__universal=true ;; 1.4752 + esac 1.4753 + 1.4754 + for depmode in $am_compiler_list; do 1.4755 + # Setup a source with many dependencies, because some compilers 1.4756 + # like to wrap large dependency lists on column 80 (with \), and 1.4757 + # we should not choose a depcomp mode which is confused by this. 1.4758 + # 1.4759 + # We need to recreate these files for each test, as the compiler may 1.4760 + # overwrite some of them when testing with obscure command lines. 1.4761 + # This happens at least with the AIX C compiler. 1.4762 + : > sub/conftest.c 1.4763 + for i in 1 2 3 4 5 6; do 1.4764 + echo '#include "conftst'$i'.h"' >> sub/conftest.c 1.4765 + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 1.4766 + # Solaris 8's {/usr,}/bin/sh. 1.4767 + touch sub/conftst$i.h 1.4768 + done 1.4769 + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 1.4770 + 1.4771 + # We check with `-c' and `-o' for the sake of the "dashmstdout" 1.4772 + # mode. It turns out that the SunPro C++ compiler does not properly 1.4773 + # handle `-M -o', and we need to detect this. Also, some Intel 1.4774 + # versions had trouble with output in subdirs 1.4775 + am__obj=sub/conftest.${OBJEXT-o} 1.4776 + am__minus_obj="-o $am__obj" 1.4777 + case $depmode in 1.4778 + gcc) 1.4779 + # This depmode causes a compiler race in universal mode. 1.4780 + test "$am__universal" = false || continue 1.4781 + ;; 1.4782 + nosideeffect) 1.4783 + # after this tag, mechanisms are not by side-effect, so they'll 1.4784 + # only be used when explicitly requested 1.4785 + if test "x$enable_dependency_tracking" = xyes; then 1.4786 + continue 1.4787 + else 1.4788 + break 1.4789 + fi 1.4790 + ;; 1.4791 + msvisualcpp | msvcmsys) 1.4792 + # This compiler won't grok `-c -o', but also, the minuso test has 1.4793 + # not run yet. These depmodes are late enough in the game, and 1.4794 + # so weak that their functioning should not be impacted. 1.4795 + am__obj=conftest.${OBJEXT-o} 1.4796 + am__minus_obj= 1.4797 + ;; 1.4798 + none) break ;; 1.4799 + esac 1.4800 + if depmode=$depmode \ 1.4801 + source=sub/conftest.c object=$am__obj \ 1.4802 + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 1.4803 + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 1.4804 + >/dev/null 2>conftest.err && 1.4805 + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 1.4806 + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 1.4807 + grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 1.4808 + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 1.4809 + # icc doesn't choke on unknown options, it will just issue warnings 1.4810 + # or remarks (even with -Werror). So we grep stderr for any message 1.4811 + # that says an option was ignored or not supported. 1.4812 + # When given -MP, icc 7.0 and 7.1 complain thusly: 1.4813 + # icc: Command line warning: ignoring option '-M'; no argument required 1.4814 + # The diagnosis changed in icc 8.0: 1.4815 + # icc: Command line remark: option '-MP' not supported 1.4816 + if (grep 'ignoring option' conftest.err || 1.4817 + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 1.4818 + am_cv_CXX_dependencies_compiler_type=$depmode 1.4819 + break 1.4820 + fi 1.4821 + fi 1.4822 + done 1.4823 + 1.4824 + cd .. 1.4825 + rm -rf conftest.dir 1.4826 +else 1.4827 + am_cv_CXX_dependencies_compiler_type=none 1.4828 +fi 1.4829 + 1.4830 +fi 1.4831 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 1.4832 +$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } 1.4833 +CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type 1.4834 + 1.4835 + if 1.4836 + test "x$enable_dependency_tracking" != xno \ 1.4837 + && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then 1.4838 + am__fastdepCXX_TRUE= 1.4839 + am__fastdepCXX_FALSE='#' 1.4840 +else 1.4841 + am__fastdepCXX_TRUE='#' 1.4842 + am__fastdepCXX_FALSE= 1.4843 +fi 1.4844 + 1.4845 + 1.4846 + if test "$GCC" = yes; then 1.4847 + GCC_TRUE= 1.4848 + GCC_FALSE='#' 1.4849 +else 1.4850 + GCC_TRUE='#' 1.4851 + GCC_FALSE= 1.4852 +fi 1.4853 + # let the Makefile know if we're gcc 1.4854 + 1.4855 +case `pwd` in 1.4856 + *\ * | *\ *) 1.4857 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 1.4858 +$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 1.4859 +esac 1.4860 + 1.4861 + 1.4862 + 1.4863 +macro_version='2.2.6b' 1.4864 +macro_revision='1.3017' 1.4865 + 1.4866 + 1.4867 + 1.4868 + 1.4869 + 1.4870 + 1.4871 + 1.4872 + 1.4873 + 1.4874 + 1.4875 + 1.4876 + 1.4877 + 1.4878 +ltmain="$ac_aux_dir/ltmain.sh" 1.4879 + 1.4880 +# Make sure we can run config.sub. 1.4881 +$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 1.4882 + as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 1.4883 + 1.4884 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 1.4885 +$as_echo_n "checking build system type... " >&6; } 1.4886 +if test "${ac_cv_build+set}" = set; then : 1.4887 + $as_echo_n "(cached) " >&6 1.4888 +else 1.4889 + ac_build_alias=$build_alias 1.4890 +test "x$ac_build_alias" = x && 1.4891 + ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 1.4892 +test "x$ac_build_alias" = x && 1.4893 + as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 1.4894 +ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 1.4895 + as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 1.4896 + 1.4897 +fi 1.4898 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 1.4899 +$as_echo "$ac_cv_build" >&6; } 1.4900 +case $ac_cv_build in 1.4901 +*-*-*) ;; 1.4902 +*) as_fn_error "invalid value of canonical build" "$LINENO" 5;; 1.4903 +esac 1.4904 +build=$ac_cv_build 1.4905 +ac_save_IFS=$IFS; IFS='-' 1.4906 +set x $ac_cv_build 1.4907 +shift 1.4908 +build_cpu=$1 1.4909 +build_vendor=$2 1.4910 +shift; shift 1.4911 +# Remember, the first character of IFS is used to create $*, 1.4912 +# except with old shells: 1.4913 +build_os=$* 1.4914 +IFS=$ac_save_IFS 1.4915 +case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 1.4916 + 1.4917 + 1.4918 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 1.4919 +$as_echo_n "checking host system type... " >&6; } 1.4920 +if test "${ac_cv_host+set}" = set; then : 1.4921 + $as_echo_n "(cached) " >&6 1.4922 +else 1.4923 + if test "x$host_alias" = x; then 1.4924 + ac_cv_host=$ac_cv_build 1.4925 +else 1.4926 + ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 1.4927 + as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 1.4928 +fi 1.4929 + 1.4930 +fi 1.4931 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 1.4932 +$as_echo "$ac_cv_host" >&6; } 1.4933 +case $ac_cv_host in 1.4934 +*-*-*) ;; 1.4935 +*) as_fn_error "invalid value of canonical host" "$LINENO" 5;; 1.4936 +esac 1.4937 +host=$ac_cv_host 1.4938 +ac_save_IFS=$IFS; IFS='-' 1.4939 +set x $ac_cv_host 1.4940 +shift 1.4941 +host_cpu=$1 1.4942 +host_vendor=$2 1.4943 +shift; shift 1.4944 +# Remember, the first character of IFS is used to create $*, 1.4945 +# except with old shells: 1.4946 +host_os=$* 1.4947 +IFS=$ac_save_IFS 1.4948 +case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 1.4949 + 1.4950 + 1.4951 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 1.4952 +$as_echo_n "checking for a sed that does not truncate output... " >&6; } 1.4953 +if test "${ac_cv_path_SED+set}" = set; then : 1.4954 + $as_echo_n "(cached) " >&6 1.4955 +else 1.4956 + ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 1.4957 + for ac_i in 1 2 3 4 5 6 7; do 1.4958 + ac_script="$ac_script$as_nl$ac_script" 1.4959 + done 1.4960 + echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 1.4961 + { ac_script=; unset ac_script;} 1.4962 + if test -z "$SED"; then 1.4963 + ac_path_SED_found=false 1.4964 + # Loop through the user's path and test for each of PROGNAME-LIST 1.4965 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1.4966 +for as_dir in $PATH 1.4967 +do 1.4968 + IFS=$as_save_IFS 1.4969 + test -z "$as_dir" && as_dir=. 1.4970 + for ac_prog in sed gsed; do 1.4971 + for ac_exec_ext in '' $ac_executable_extensions; do 1.4972 + ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 1.4973 + { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue 1.4974 +# Check for GNU ac_path_SED and select it if it is found. 1.4975 + # Check for GNU $ac_path_SED 1.4976 +case `"$ac_path_SED" --version 2>&1` in 1.4977 +*GNU*) 1.4978 + ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 1.4979 +*) 1.4980 + ac_count=0 1.4981 + $as_echo_n 0123456789 >"conftest.in" 1.4982 + while : 1.4983 + do 1.4984 + cat "conftest.in" "conftest.in" >"conftest.tmp" 1.4985 + mv "conftest.tmp" "conftest.in" 1.4986 + cp "conftest.in" "conftest.nl" 1.4987 + $as_echo '' >> "conftest.nl" 1.4988 + "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 1.4989 + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 1.4990 + as_fn_arith $ac_count + 1 && ac_count=$as_val 1.4991 + if test $ac_count -gt ${ac_path_SED_max-0}; then 1.4992 + # Best one so far, save it but keep looking for a better one 1.4993 + ac_cv_path_SED="$ac_path_SED" 1.4994 + ac_path_SED_max=$ac_count 1.4995 + fi 1.4996 + # 10*(2^10) chars as input seems more than enough 1.4997 + test $ac_count -gt 10 && break 1.4998 + done 1.4999 + rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 1.5000 +esac 1.5001 + 1.5002 + $ac_path_SED_found && break 3 1.5003 + done 1.5004 + done 1.5005 + done 1.5006 +IFS=$as_save_IFS 1.5007 + if test -z "$ac_cv_path_SED"; then 1.5008 + as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5 1.5009 + fi 1.5010 +else 1.5011 + ac_cv_path_SED=$SED 1.5012 +fi 1.5013 + 1.5014 +fi 1.5015 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 1.5016 +$as_echo "$ac_cv_path_SED" >&6; } 1.5017 + SED="$ac_cv_path_SED" 1.5018 + rm -f conftest.sed 1.5019 + 1.5020 +test -z "$SED" && SED=sed 1.5021 +Xsed="$SED -e 1s/^X//" 1.5022 + 1.5023 + 1.5024 + 1.5025 + 1.5026 + 1.5027 + 1.5028 + 1.5029 + 1.5030 + 1.5031 + 1.5032 + 1.5033 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 1.5034 +$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 1.5035 +if test "${ac_cv_path_GREP+set}" = set; then : 1.5036 + $as_echo_n "(cached) " >&6 1.5037 +else 1.5038 + if test -z "$GREP"; then 1.5039 + ac_path_GREP_found=false 1.5040 + # Loop through the user's path and test for each of PROGNAME-LIST 1.5041 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1.5042 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 1.5043 +do 1.5044 + IFS=$as_save_IFS 1.5045 + test -z "$as_dir" && as_dir=. 1.5046 + for ac_prog in grep ggrep; do 1.5047 + for ac_exec_ext in '' $ac_executable_extensions; do 1.5048 + ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 1.5049 + { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 1.5050 +# Check for GNU ac_path_GREP and select it if it is found. 1.5051 + # Check for GNU $ac_path_GREP 1.5052 +case `"$ac_path_GREP" --version 2>&1` in 1.5053 +*GNU*) 1.5054 + ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 1.5055 +*) 1.5056 + ac_count=0 1.5057 + $as_echo_n 0123456789 >"conftest.in" 1.5058 + while : 1.5059 + do 1.5060 + cat "conftest.in" "conftest.in" >"conftest.tmp" 1.5061 + mv "conftest.tmp" "conftest.in" 1.5062 + cp "conftest.in" "conftest.nl" 1.5063 + $as_echo 'GREP' >> "conftest.nl" 1.5064 + "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 1.5065 + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 1.5066 + as_fn_arith $ac_count + 1 && ac_count=$as_val 1.5067 + if test $ac_count -gt ${ac_path_GREP_max-0}; then 1.5068 + # Best one so far, save it but keep looking for a better one 1.5069 + ac_cv_path_GREP="$ac_path_GREP" 1.5070 + ac_path_GREP_max=$ac_count 1.5071 + fi 1.5072 + # 10*(2^10) chars as input seems more than enough 1.5073 + test $ac_count -gt 10 && break 1.5074 + done 1.5075 + rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 1.5076 +esac 1.5077 + 1.5078 + $ac_path_GREP_found && break 3 1.5079 + done 1.5080 + done 1.5081 + done 1.5082 +IFS=$as_save_IFS 1.5083 + if test -z "$ac_cv_path_GREP"; then 1.5084 + as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 1.5085 + fi 1.5086 +else 1.5087 + ac_cv_path_GREP=$GREP 1.5088 +fi 1.5089 + 1.5090 +fi 1.5091 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 1.5092 +$as_echo "$ac_cv_path_GREP" >&6; } 1.5093 + GREP="$ac_cv_path_GREP" 1.5094 + 1.5095 + 1.5096 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 1.5097 +$as_echo_n "checking for egrep... " >&6; } 1.5098 +if test "${ac_cv_path_EGREP+set}" = set; then : 1.5099 + $as_echo_n "(cached) " >&6 1.5100 +else 1.5101 + if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 1.5102 + then ac_cv_path_EGREP="$GREP -E" 1.5103 + else 1.5104 + if test -z "$EGREP"; then 1.5105 + ac_path_EGREP_found=false 1.5106 + # Loop through the user's path and test for each of PROGNAME-LIST 1.5107 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1.5108 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 1.5109 +do 1.5110 + IFS=$as_save_IFS 1.5111 + test -z "$as_dir" && as_dir=. 1.5112 + for ac_prog in egrep; do 1.5113 + for ac_exec_ext in '' $ac_executable_extensions; do 1.5114 + ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 1.5115 + { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 1.5116 +# Check for GNU ac_path_EGREP and select it if it is found. 1.5117 + # Check for GNU $ac_path_EGREP 1.5118 +case `"$ac_path_EGREP" --version 2>&1` in 1.5119 +*GNU*) 1.5120 + ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 1.5121 +*) 1.5122 + ac_count=0 1.5123 + $as_echo_n 0123456789 >"conftest.in" 1.5124 + while : 1.5125 + do 1.5126 + cat "conftest.in" "conftest.in" >"conftest.tmp" 1.5127 + mv "conftest.tmp" "conftest.in" 1.5128 + cp "conftest.in" "conftest.nl" 1.5129 + $as_echo 'EGREP' >> "conftest.nl" 1.5130 + "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 1.5131 + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 1.5132 + as_fn_arith $ac_count + 1 && ac_count=$as_val 1.5133 + if test $ac_count -gt ${ac_path_EGREP_max-0}; then 1.5134 + # Best one so far, save it but keep looking for a better one 1.5135 + ac_cv_path_EGREP="$ac_path_EGREP" 1.5136 + ac_path_EGREP_max=$ac_count 1.5137 + fi 1.5138 + # 10*(2^10) chars as input seems more than enough 1.5139 + test $ac_count -gt 10 && break 1.5140 + done 1.5141 + rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 1.5142 +esac 1.5143 + 1.5144 + $ac_path_EGREP_found && break 3 1.5145 + done 1.5146 + done 1.5147 + done 1.5148 +IFS=$as_save_IFS 1.5149 + if test -z "$ac_cv_path_EGREP"; then 1.5150 + as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 1.5151 + fi 1.5152 +else 1.5153 + ac_cv_path_EGREP=$EGREP 1.5154 +fi 1.5155 + 1.5156 + fi 1.5157 +fi 1.5158 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 1.5159 +$as_echo "$ac_cv_path_EGREP" >&6; } 1.5160 + EGREP="$ac_cv_path_EGREP" 1.5161 + 1.5162 + 1.5163 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 1.5164 +$as_echo_n "checking for fgrep... " >&6; } 1.5165 +if test "${ac_cv_path_FGREP+set}" = set; then : 1.5166 + $as_echo_n "(cached) " >&6 1.5167 +else 1.5168 + if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 1.5169 + then ac_cv_path_FGREP="$GREP -F" 1.5170 + else 1.5171 + if test -z "$FGREP"; then 1.5172 + ac_path_FGREP_found=false 1.5173 + # Loop through the user's path and test for each of PROGNAME-LIST 1.5174 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1.5175 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 1.5176 +do 1.5177 + IFS=$as_save_IFS 1.5178 + test -z "$as_dir" && as_dir=. 1.5179 + for ac_prog in fgrep; do 1.5180 + for ac_exec_ext in '' $ac_executable_extensions; do 1.5181 + ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 1.5182 + { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue 1.5183 +# Check for GNU ac_path_FGREP and select it if it is found. 1.5184 + # Check for GNU $ac_path_FGREP 1.5185 +case `"$ac_path_FGREP" --version 2>&1` in 1.5186 +*GNU*) 1.5187 + ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 1.5188 +*) 1.5189 + ac_count=0 1.5190 + $as_echo_n 0123456789 >"conftest.in" 1.5191 + while : 1.5192 + do 1.5193 + cat "conftest.in" "conftest.in" >"conftest.tmp" 1.5194 + mv "conftest.tmp" "conftest.in" 1.5195 + cp "conftest.in" "conftest.nl" 1.5196 + $as_echo 'FGREP' >> "conftest.nl" 1.5197 + "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 1.5198 + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 1.5199 + as_fn_arith $ac_count + 1 && ac_count=$as_val 1.5200 + if test $ac_count -gt ${ac_path_FGREP_max-0}; then 1.5201 + # Best one so far, save it but keep looking for a better one 1.5202 + ac_cv_path_FGREP="$ac_path_FGREP" 1.5203 + ac_path_FGREP_max=$ac_count 1.5204 + fi 1.5205 + # 10*(2^10) chars as input seems more than enough 1.5206 + test $ac_count -gt 10 && break 1.5207 + done 1.5208 + rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 1.5209 +esac 1.5210 + 1.5211 + $ac_path_FGREP_found && break 3 1.5212 + done 1.5213 + done 1.5214 + done 1.5215 +IFS=$as_save_IFS 1.5216 + if test -z "$ac_cv_path_FGREP"; then 1.5217 + as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 1.5218 + fi 1.5219 +else 1.5220 + ac_cv_path_FGREP=$FGREP 1.5221 +fi 1.5222 + 1.5223 + fi 1.5224 +fi 1.5225 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 1.5226 +$as_echo "$ac_cv_path_FGREP" >&6; } 1.5227 + FGREP="$ac_cv_path_FGREP" 1.5228 + 1.5229 + 1.5230 +test -z "$GREP" && GREP=grep 1.5231 + 1.5232 + 1.5233 + 1.5234 + 1.5235 + 1.5236 + 1.5237 + 1.5238 + 1.5239 + 1.5240 + 1.5241 + 1.5242 + 1.5243 + 1.5244 + 1.5245 + 1.5246 + 1.5247 + 1.5248 + 1.5249 + 1.5250 +# Check whether --with-gnu-ld was given. 1.5251 +if test "${with_gnu_ld+set}" = set; then : 1.5252 + withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 1.5253 +else 1.5254 + with_gnu_ld=no 1.5255 +fi 1.5256 + 1.5257 +ac_prog=ld 1.5258 +if test "$GCC" = yes; then 1.5259 + # Check if gcc -print-prog-name=ld gives a path. 1.5260 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 1.5261 +$as_echo_n "checking for ld used by $CC... " >&6; } 1.5262 + case $host in 1.5263 + *-*-mingw*) 1.5264 + # gcc leaves a trailing carriage return which upsets mingw 1.5265 + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 1.5266 + *) 1.5267 + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 1.5268 + esac 1.5269 + case $ac_prog in 1.5270 + # Accept absolute paths. 1.5271 + [\\/]* | ?:[\\/]*) 1.5272 + re_direlt='/[^/][^/]*/\.\./' 1.5273 + # Canonicalize the pathname of ld 1.5274 + ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 1.5275 + while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 1.5276 + ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 1.5277 + done 1.5278 + test -z "$LD" && LD="$ac_prog" 1.5279 + ;; 1.5280 + "") 1.5281 + # If it fails, then pretend we aren't using GCC. 1.5282 + ac_prog=ld 1.5283 + ;; 1.5284 + *) 1.5285 + # If it is relative, then search for the first ld in PATH. 1.5286 + with_gnu_ld=unknown 1.5287 + ;; 1.5288 + esac 1.5289 +elif test "$with_gnu_ld" = yes; then 1.5290 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 1.5291 +$as_echo_n "checking for GNU ld... " >&6; } 1.5292 +else 1.5293 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 1.5294 +$as_echo_n "checking for non-GNU ld... " >&6; } 1.5295 +fi 1.5296 +if test "${lt_cv_path_LD+set}" = set; then : 1.5297 + $as_echo_n "(cached) " >&6 1.5298 +else 1.5299 + if test -z "$LD"; then 1.5300 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 1.5301 + for ac_dir in $PATH; do 1.5302 + IFS="$lt_save_ifs" 1.5303 + test -z "$ac_dir" && ac_dir=. 1.5304 + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 1.5305 + lt_cv_path_LD="$ac_dir/$ac_prog" 1.5306 + # Check to see if the program is GNU ld. I'd rather use --version, 1.5307 + # but apparently some variants of GNU ld only accept -v. 1.5308 + # Break only if it was the GNU/non-GNU ld that we prefer. 1.5309 + case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 1.5310 + *GNU* | *'with BFD'*) 1.5311 + test "$with_gnu_ld" != no && break 1.5312 + ;; 1.5313 + *) 1.5314 + test "$with_gnu_ld" != yes && break 1.5315 + ;; 1.5316 + esac 1.5317 + fi 1.5318 + done 1.5319 + IFS="$lt_save_ifs" 1.5320 +else 1.5321 + lt_cv_path_LD="$LD" # Let the user override the test with a path. 1.5322 +fi 1.5323 +fi 1.5324 + 1.5325 +LD="$lt_cv_path_LD" 1.5326 +if test -n "$LD"; then 1.5327 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 1.5328 +$as_echo "$LD" >&6; } 1.5329 +else 1.5330 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1.5331 +$as_echo "no" >&6; } 1.5332 +fi 1.5333 +test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5 1.5334 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 1.5335 +$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 1.5336 +if test "${lt_cv_prog_gnu_ld+set}" = set; then : 1.5337 + $as_echo_n "(cached) " >&6 1.5338 +else 1.5339 + # I'd rather use --version here, but apparently some GNU lds only accept -v. 1.5340 +case `$LD -v 2>&1 </dev/null` in 1.5341 +*GNU* | *'with BFD'*) 1.5342 + lt_cv_prog_gnu_ld=yes 1.5343 + ;; 1.5344 +*) 1.5345 + lt_cv_prog_gnu_ld=no 1.5346 + ;; 1.5347 +esac 1.5348 +fi 1.5349 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 1.5350 +$as_echo "$lt_cv_prog_gnu_ld" >&6; } 1.5351 +with_gnu_ld=$lt_cv_prog_gnu_ld 1.5352 + 1.5353 + 1.5354 + 1.5355 + 1.5356 + 1.5357 + 1.5358 + 1.5359 + 1.5360 + 1.5361 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 1.5362 +$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 1.5363 +if test "${lt_cv_path_NM+set}" = set; then : 1.5364 + $as_echo_n "(cached) " >&6 1.5365 +else 1.5366 + if test -n "$NM"; then 1.5367 + # Let the user override the test. 1.5368 + lt_cv_path_NM="$NM" 1.5369 +else 1.5370 + lt_nm_to_check="${ac_tool_prefix}nm" 1.5371 + if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 1.5372 + lt_nm_to_check="$lt_nm_to_check nm" 1.5373 + fi 1.5374 + for lt_tmp_nm in $lt_nm_to_check; do 1.5375 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 1.5376 + for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 1.5377 + IFS="$lt_save_ifs" 1.5378 + test -z "$ac_dir" && ac_dir=. 1.5379 + tmp_nm="$ac_dir/$lt_tmp_nm" 1.5380 + if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then 1.5381 + # Check to see if the nm accepts a BSD-compat flag. 1.5382 + # Adding the `sed 1q' prevents false positives on HP-UX, which says: 1.5383 + # nm: unknown option "B" ignored 1.5384 + # Tru64's nm complains that /dev/null is an invalid object file 1.5385 + case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in 1.5386 + */dev/null* | *'Invalid file or object type'*) 1.5387 + lt_cv_path_NM="$tmp_nm -B" 1.5388 + break 1.5389 + ;; 1.5390 + *) 1.5391 + case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 1.5392 + */dev/null*) 1.5393 + lt_cv_path_NM="$tmp_nm -p" 1.5394 + break 1.5395 + ;; 1.5396 + *) 1.5397 + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 1.5398 + continue # so that we can try to find one that supports BSD flags 1.5399 + ;; 1.5400 + esac 1.5401 + ;; 1.5402 + esac 1.5403 + fi 1.5404 + done 1.5405 + IFS="$lt_save_ifs" 1.5406 + done 1.5407 + : ${lt_cv_path_NM=no} 1.5408 +fi 1.5409 +fi 1.5410 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 1.5411 +$as_echo "$lt_cv_path_NM" >&6; } 1.5412 +if test "$lt_cv_path_NM" != "no"; then 1.5413 + NM="$lt_cv_path_NM" 1.5414 +else 1.5415 + # Didn't find any BSD compatible name lister, look for dumpbin. 1.5416 + if test -n "$ac_tool_prefix"; then 1.5417 + for ac_prog in "dumpbin -symbols" "link -dump -symbols" 1.5418 + do 1.5419 + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 1.5420 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2 1.5421 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 1.5422 +$as_echo_n "checking for $ac_word... " >&6; } 1.5423 +if test "${ac_cv_prog_DUMPBIN+set}" = set; then : 1.5424 + $as_echo_n "(cached) " >&6 1.5425 +else 1.5426 + if test -n "$DUMPBIN"; then 1.5427 + ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 1.5428 +else 1.5429 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1.5430 +for as_dir in $PATH 1.5431 +do 1.5432 + IFS=$as_save_IFS 1.5433 + test -z "$as_dir" && as_dir=. 1.5434 + for ac_exec_ext in '' $ac_executable_extensions; do 1.5435 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1.5436 + ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 1.5437 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1.5438 + break 2 1.5439 + fi 1.5440 +done 1.5441 + done 1.5442 +IFS=$as_save_IFS 1.5443 + 1.5444 +fi 1.5445 +fi 1.5446 +DUMPBIN=$ac_cv_prog_DUMPBIN 1.5447 +if test -n "$DUMPBIN"; then 1.5448 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 1.5449 +$as_echo "$DUMPBIN" >&6; } 1.5450 +else 1.5451 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1.5452 +$as_echo "no" >&6; } 1.5453 +fi 1.5454 + 1.5455 + 1.5456 + test -n "$DUMPBIN" && break 1.5457 + done 1.5458 +fi 1.5459 +if test -z "$DUMPBIN"; then 1.5460 + ac_ct_DUMPBIN=$DUMPBIN 1.5461 + for ac_prog in "dumpbin -symbols" "link -dump -symbols" 1.5462 +do 1.5463 + # Extract the first word of "$ac_prog", so it can be a program name with args. 1.5464 +set dummy $ac_prog; ac_word=$2 1.5465 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 1.5466 +$as_echo_n "checking for $ac_word... " >&6; } 1.5467 +if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then : 1.5468 + $as_echo_n "(cached) " >&6 1.5469 +else 1.5470 + if test -n "$ac_ct_DUMPBIN"; then 1.5471 + ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 1.5472 +else 1.5473 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1.5474 +for as_dir in $PATH 1.5475 +do 1.5476 + IFS=$as_save_IFS 1.5477 + test -z "$as_dir" && as_dir=. 1.5478 + for ac_exec_ext in '' $ac_executable_extensions; do 1.5479 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1.5480 + ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 1.5481 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1.5482 + break 2 1.5483 + fi 1.5484 +done 1.5485 + done 1.5486 +IFS=$as_save_IFS 1.5487 + 1.5488 +fi 1.5489 +fi 1.5490 +ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 1.5491 +if test -n "$ac_ct_DUMPBIN"; then 1.5492 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 1.5493 +$as_echo "$ac_ct_DUMPBIN" >&6; } 1.5494 +else 1.5495 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1.5496 +$as_echo "no" >&6; } 1.5497 +fi 1.5498 + 1.5499 + 1.5500 + test -n "$ac_ct_DUMPBIN" && break 1.5501 +done 1.5502 + 1.5503 + if test "x$ac_ct_DUMPBIN" = x; then 1.5504 + DUMPBIN=":" 1.5505 + else 1.5506 + case $cross_compiling:$ac_tool_warned in 1.5507 +yes:) 1.5508 +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 1.5509 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 1.5510 +ac_tool_warned=yes ;; 1.5511 +esac 1.5512 + DUMPBIN=$ac_ct_DUMPBIN 1.5513 + fi 1.5514 +fi 1.5515 + 1.5516 + 1.5517 + if test "$DUMPBIN" != ":"; then 1.5518 + NM="$DUMPBIN" 1.5519 + fi 1.5520 +fi 1.5521 +test -z "$NM" && NM=nm 1.5522 + 1.5523 + 1.5524 + 1.5525 + 1.5526 + 1.5527 + 1.5528 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 1.5529 +$as_echo_n "checking the name lister ($NM) interface... " >&6; } 1.5530 +if test "${lt_cv_nm_interface+set}" = set; then : 1.5531 + $as_echo_n "(cached) " >&6 1.5532 +else 1.5533 + lt_cv_nm_interface="BSD nm" 1.5534 + echo "int some_variable = 0;" > conftest.$ac_ext 1.5535 + (eval echo "\"\$as_me:5532: $ac_compile\"" >&5) 1.5536 + (eval "$ac_compile" 2>conftest.err) 1.5537 + cat conftest.err >&5 1.5538 + (eval echo "\"\$as_me:5535: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 1.5539 + (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 1.5540 + cat conftest.err >&5 1.5541 + (eval echo "\"\$as_me:5538: output\"" >&5) 1.5542 + cat conftest.out >&5 1.5543 + if $GREP 'External.*some_variable' conftest.out > /dev/null; then 1.5544 + lt_cv_nm_interface="MS dumpbin" 1.5545 + fi 1.5546 + rm -f conftest* 1.5547 +fi 1.5548 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 1.5549 +$as_echo "$lt_cv_nm_interface" >&6; } 1.5550 + 1.5551 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 1.5552 +$as_echo_n "checking whether ln -s works... " >&6; } 1.5553 +LN_S=$as_ln_s 1.5554 +if test "$LN_S" = "ln -s"; then 1.5555 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 1.5556 +$as_echo "yes" >&6; } 1.5557 +else 1.5558 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 1.5559 +$as_echo "no, using $LN_S" >&6; } 1.5560 +fi 1.5561 + 1.5562 +# find the maximum length of command line arguments 1.5563 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 1.5564 +$as_echo_n "checking the maximum length of command line arguments... " >&6; } 1.5565 +if test "${lt_cv_sys_max_cmd_len+set}" = set; then : 1.5566 + $as_echo_n "(cached) " >&6 1.5567 +else 1.5568 + i=0 1.5569 + teststring="ABCD" 1.5570 + 1.5571 + case $build_os in 1.5572 + msdosdjgpp*) 1.5573 + # On DJGPP, this test can blow up pretty badly due to problems in libc 1.5574 + # (any single argument exceeding 2000 bytes causes a buffer overrun 1.5575 + # during glob expansion). Even if it were fixed, the result of this 1.5576 + # check would be larger than it should be. 1.5577 + lt_cv_sys_max_cmd_len=12288; # 12K is about right 1.5578 + ;; 1.5579 + 1.5580 + gnu*) 1.5581 + # Under GNU Hurd, this test is not required because there is 1.5582 + # no limit to the length of command line arguments. 1.5583 + # Libtool will interpret -1 as no limit whatsoever 1.5584 + lt_cv_sys_max_cmd_len=-1; 1.5585 + ;; 1.5586 + 1.5587 + cygwin* | mingw* | cegcc*) 1.5588 + # On Win9x/ME, this test blows up -- it succeeds, but takes 1.5589 + # about 5 minutes as the teststring grows exponentially. 1.5590 + # Worse, since 9x/ME are not pre-emptively multitasking, 1.5591 + # you end up with a "frozen" computer, even though with patience 1.5592 + # the test eventually succeeds (with a max line length of 256k). 1.5593 + # Instead, let's just punt: use the minimum linelength reported by 1.5594 + # all of the supported platforms: 8192 (on NT/2K/XP). 1.5595 + lt_cv_sys_max_cmd_len=8192; 1.5596 + ;; 1.5597 + 1.5598 + amigaos*) 1.5599 + # On AmigaOS with pdksh, this test takes hours, literally. 1.5600 + # So we just punt and use a minimum line length of 8192. 1.5601 + lt_cv_sys_max_cmd_len=8192; 1.5602 + ;; 1.5603 + 1.5604 + netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) 1.5605 + # This has been around since 386BSD, at least. Likely further. 1.5606 + if test -x /sbin/sysctl; then 1.5607 + lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 1.5608 + elif test -x /usr/sbin/sysctl; then 1.5609 + lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 1.5610 + else 1.5611 + lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 1.5612 + fi 1.5613 + # And add a safety zone 1.5614 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 1.5615 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 1.5616 + ;; 1.5617 + 1.5618 + interix*) 1.5619 + # We know the value 262144 and hardcode it with a safety zone (like BSD) 1.5620 + lt_cv_sys_max_cmd_len=196608 1.5621 + ;; 1.5622 + 1.5623 + osf*) 1.5624 + # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 1.5625 + # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 1.5626 + # nice to cause kernel panics so lets avoid the loop below. 1.5627 + # First set a reasonable default. 1.5628 + lt_cv_sys_max_cmd_len=16384 1.5629 + # 1.5630 + if test -x /sbin/sysconfig; then 1.5631 + case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 1.5632 + *1*) lt_cv_sys_max_cmd_len=-1 ;; 1.5633 + esac 1.5634 + fi 1.5635 + ;; 1.5636 + sco3.2v5*) 1.5637 + lt_cv_sys_max_cmd_len=102400 1.5638 + ;; 1.5639 + sysv5* | sco5v6* | sysv4.2uw2*) 1.5640 + kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 1.5641 + if test -n "$kargmax"; then 1.5642 + lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 1.5643 + else 1.5644 + lt_cv_sys_max_cmd_len=32768 1.5645 + fi 1.5646 + ;; 1.5647 + *) 1.5648 + lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 1.5649 + if test -n "$lt_cv_sys_max_cmd_len"; then 1.5650 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 1.5651 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 1.5652 + else 1.5653 + # Make teststring a little bigger before we do anything with it. 1.5654 + # a 1K string should be a reasonable start. 1.5655 + for i in 1 2 3 4 5 6 7 8 ; do 1.5656 + teststring=$teststring$teststring 1.5657 + done 1.5658 + SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 1.5659 + # If test is not a shell built-in, we'll probably end up computing a 1.5660 + # maximum length that is only half of the actual maximum length, but 1.5661 + # we can't tell. 1.5662 + while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \ 1.5663 + = "XX$teststring$teststring"; } >/dev/null 2>&1 && 1.5664 + test $i != 17 # 1/2 MB should be enough 1.5665 + do 1.5666 + i=`expr $i + 1` 1.5667 + teststring=$teststring$teststring 1.5668 + done 1.5669 + # Only check the string length outside the loop. 1.5670 + lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 1.5671 + teststring= 1.5672 + # Add a significant safety factor because C++ compilers can tack on 1.5673 + # massive amounts of additional arguments before passing them to the 1.5674 + # linker. It appears as though 1/2 is a usable value. 1.5675 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 1.5676 + fi 1.5677 + ;; 1.5678 + esac 1.5679 + 1.5680 +fi 1.5681 + 1.5682 +if test -n $lt_cv_sys_max_cmd_len ; then 1.5683 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 1.5684 +$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 1.5685 +else 1.5686 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 1.5687 +$as_echo "none" >&6; } 1.5688 +fi 1.5689 +max_cmd_len=$lt_cv_sys_max_cmd_len 1.5690 + 1.5691 + 1.5692 + 1.5693 + 1.5694 + 1.5695 + 1.5696 +: ${CP="cp -f"} 1.5697 +: ${MV="mv -f"} 1.5698 +: ${RM="rm -f"} 1.5699 + 1.5700 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5 1.5701 +$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } 1.5702 +# Try some XSI features 1.5703 +xsi_shell=no 1.5704 +( _lt_dummy="a/b/c" 1.5705 + test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \ 1.5706 + = c,a/b,, \ 1.5707 + && eval 'test $(( 1 + 1 )) -eq 2 \ 1.5708 + && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ 1.5709 + && xsi_shell=yes 1.5710 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 1.5711 +$as_echo "$xsi_shell" >&6; } 1.5712 + 1.5713 + 1.5714 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5 1.5715 +$as_echo_n "checking whether the shell understands \"+=\"... " >&6; } 1.5716 +lt_shell_append=no 1.5717 +( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ 1.5718 + >/dev/null 2>&1 \ 1.5719 + && lt_shell_append=yes 1.5720 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5 1.5721 +$as_echo "$lt_shell_append" >&6; } 1.5722 + 1.5723 + 1.5724 +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 1.5725 + lt_unset=unset 1.5726 +else 1.5727 + lt_unset=false 1.5728 +fi 1.5729 + 1.5730 + 1.5731 + 1.5732 + 1.5733 + 1.5734 +# test EBCDIC or ASCII 1.5735 +case `echo X|tr X '\101'` in 1.5736 + A) # ASCII based system 1.5737 + # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 1.5738 + lt_SP2NL='tr \040 \012' 1.5739 + lt_NL2SP='tr \015\012 \040\040' 1.5740 + ;; 1.5741 + *) # EBCDIC based system 1.5742 + lt_SP2NL='tr \100 \n' 1.5743 + lt_NL2SP='tr \r\n \100\100' 1.5744 + ;; 1.5745 +esac 1.5746 + 1.5747 + 1.5748 + 1.5749 + 1.5750 + 1.5751 + 1.5752 + 1.5753 + 1.5754 + 1.5755 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 1.5756 +$as_echo_n "checking for $LD option to reload object files... " >&6; } 1.5757 +if test "${lt_cv_ld_reload_flag+set}" = set; then : 1.5758 + $as_echo_n "(cached) " >&6 1.5759 +else 1.5760 + lt_cv_ld_reload_flag='-r' 1.5761 +fi 1.5762 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 1.5763 +$as_echo "$lt_cv_ld_reload_flag" >&6; } 1.5764 +reload_flag=$lt_cv_ld_reload_flag 1.5765 +case $reload_flag in 1.5766 +"" | " "*) ;; 1.5767 +*) reload_flag=" $reload_flag" ;; 1.5768 +esac 1.5769 +reload_cmds='$LD$reload_flag -o $output$reload_objs' 1.5770 +case $host_os in 1.5771 + darwin*) 1.5772 + if test "$GCC" = yes; then 1.5773 + reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' 1.5774 + else 1.5775 + reload_cmds='$LD$reload_flag -o $output$reload_objs' 1.5776 + fi 1.5777 + ;; 1.5778 +esac 1.5779 + 1.5780 + 1.5781 + 1.5782 + 1.5783 + 1.5784 + 1.5785 + 1.5786 + 1.5787 + 1.5788 +if test -n "$ac_tool_prefix"; then 1.5789 + # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 1.5790 +set dummy ${ac_tool_prefix}objdump; ac_word=$2 1.5791 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 1.5792 +$as_echo_n "checking for $ac_word... " >&6; } 1.5793 +if test "${ac_cv_prog_OBJDUMP+set}" = set; then : 1.5794 + $as_echo_n "(cached) " >&6 1.5795 +else 1.5796 + if test -n "$OBJDUMP"; then 1.5797 + ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 1.5798 +else 1.5799 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1.5800 +for as_dir in $PATH 1.5801 +do 1.5802 + IFS=$as_save_IFS 1.5803 + test -z "$as_dir" && as_dir=. 1.5804 + for ac_exec_ext in '' $ac_executable_extensions; do 1.5805 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1.5806 + ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 1.5807 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1.5808 + break 2 1.5809 + fi 1.5810 +done 1.5811 + done 1.5812 +IFS=$as_save_IFS 1.5813 + 1.5814 +fi 1.5815 +fi 1.5816 +OBJDUMP=$ac_cv_prog_OBJDUMP 1.5817 +if test -n "$OBJDUMP"; then 1.5818 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 1.5819 +$as_echo "$OBJDUMP" >&6; } 1.5820 +else 1.5821 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1.5822 +$as_echo "no" >&6; } 1.5823 +fi 1.5824 + 1.5825 + 1.5826 +fi 1.5827 +if test -z "$ac_cv_prog_OBJDUMP"; then 1.5828 + ac_ct_OBJDUMP=$OBJDUMP 1.5829 + # Extract the first word of "objdump", so it can be a program name with args. 1.5830 +set dummy objdump; ac_word=$2 1.5831 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 1.5832 +$as_echo_n "checking for $ac_word... " >&6; } 1.5833 +if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then : 1.5834 + $as_echo_n "(cached) " >&6 1.5835 +else 1.5836 + if test -n "$ac_ct_OBJDUMP"; then 1.5837 + ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 1.5838 +else 1.5839 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1.5840 +for as_dir in $PATH 1.5841 +do 1.5842 + IFS=$as_save_IFS 1.5843 + test -z "$as_dir" && as_dir=. 1.5844 + for ac_exec_ext in '' $ac_executable_extensions; do 1.5845 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1.5846 + ac_cv_prog_ac_ct_OBJDUMP="objdump" 1.5847 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1.5848 + break 2 1.5849 + fi 1.5850 +done 1.5851 + done 1.5852 +IFS=$as_save_IFS 1.5853 + 1.5854 +fi 1.5855 +fi 1.5856 +ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 1.5857 +if test -n "$ac_ct_OBJDUMP"; then 1.5858 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 1.5859 +$as_echo "$ac_ct_OBJDUMP" >&6; } 1.5860 +else 1.5861 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1.5862 +$as_echo "no" >&6; } 1.5863 +fi 1.5864 + 1.5865 + if test "x$ac_ct_OBJDUMP" = x; then 1.5866 + OBJDUMP="false" 1.5867 + else 1.5868 + case $cross_compiling:$ac_tool_warned in 1.5869 +yes:) 1.5870 +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 1.5871 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 1.5872 +ac_tool_warned=yes ;; 1.5873 +esac 1.5874 + OBJDUMP=$ac_ct_OBJDUMP 1.5875 + fi 1.5876 +else 1.5877 + OBJDUMP="$ac_cv_prog_OBJDUMP" 1.5878 +fi 1.5879 + 1.5880 +test -z "$OBJDUMP" && OBJDUMP=objdump 1.5881 + 1.5882 + 1.5883 + 1.5884 + 1.5885 + 1.5886 + 1.5887 + 1.5888 + 1.5889 + 1.5890 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 1.5891 +$as_echo_n "checking how to recognize dependent libraries... " >&6; } 1.5892 +if test "${lt_cv_deplibs_check_method+set}" = set; then : 1.5893 + $as_echo_n "(cached) " >&6 1.5894 +else 1.5895 + lt_cv_file_magic_cmd='$MAGIC_CMD' 1.5896 +lt_cv_file_magic_test_file= 1.5897 +lt_cv_deplibs_check_method='unknown' 1.5898 +# Need to set the preceding variable on all platforms that support 1.5899 +# interlibrary dependencies. 1.5900 +# 'none' -- dependencies not supported. 1.5901 +# `unknown' -- same as none, but documents that we really don't know. 1.5902 +# 'pass_all' -- all dependencies passed with no checks. 1.5903 +# 'test_compile' -- check by making test program. 1.5904 +# 'file_magic [[regex]]' -- check by looking for files in library path 1.5905 +# which responds to the $file_magic_cmd with a given extended regex. 1.5906 +# If you have `file' or equivalent on your system and you're not sure 1.5907 +# whether `pass_all' will *always* work, you probably want this one. 1.5908 + 1.5909 +case $host_os in 1.5910 +aix[4-9]*) 1.5911 + lt_cv_deplibs_check_method=pass_all 1.5912 + ;; 1.5913 + 1.5914 +beos*) 1.5915 + lt_cv_deplibs_check_method=pass_all 1.5916 + ;; 1.5917 + 1.5918 +bsdi[45]*) 1.5919 + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 1.5920 + lt_cv_file_magic_cmd='/usr/bin/file -L' 1.5921 + lt_cv_file_magic_test_file=/shlib/libc.so 1.5922 + ;; 1.5923 + 1.5924 +cygwin*) 1.5925 + # func_win32_libid is a shell function defined in ltmain.sh 1.5926 + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 1.5927 + lt_cv_file_magic_cmd='func_win32_libid' 1.5928 + ;; 1.5929 + 1.5930 +mingw* | pw32*) 1.5931 + # Base MSYS/MinGW do not provide the 'file' command needed by 1.5932 + # func_win32_libid shell function, so use a weaker test based on 'objdump', 1.5933 + # unless we find 'file', for example because we are cross-compiling. 1.5934 + if ( file / ) >/dev/null 2>&1; then 1.5935 + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 1.5936 + lt_cv_file_magic_cmd='func_win32_libid' 1.5937 + else 1.5938 + lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' 1.5939 + lt_cv_file_magic_cmd='$OBJDUMP -f' 1.5940 + fi 1.5941 + ;; 1.5942 + 1.5943 +cegcc) 1.5944 + # use the weaker test based on 'objdump'. See mingw*. 1.5945 + lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 1.5946 + lt_cv_file_magic_cmd='$OBJDUMP -f' 1.5947 + ;; 1.5948 + 1.5949 +darwin* | rhapsody*) 1.5950 + lt_cv_deplibs_check_method=pass_all 1.5951 + ;; 1.5952 + 1.5953 +freebsd* | dragonfly*) 1.5954 + if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 1.5955 + case $host_cpu in 1.5956 + i*86 ) 1.5957 + # Not sure whether the presence of OpenBSD here was a mistake. 1.5958 + # Let's accept both of them until this is cleared up. 1.5959 + lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 1.5960 + lt_cv_file_magic_cmd=/usr/bin/file 1.5961 + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 1.5962 + ;; 1.5963 + esac 1.5964 + else 1.5965 + lt_cv_deplibs_check_method=pass_all 1.5966 + fi 1.5967 + ;; 1.5968 + 1.5969 +gnu*) 1.5970 + lt_cv_deplibs_check_method=pass_all 1.5971 + ;; 1.5972 + 1.5973 +hpux10.20* | hpux11*) 1.5974 + lt_cv_file_magic_cmd=/usr/bin/file 1.5975 + case $host_cpu in 1.5976 + ia64*) 1.5977 + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 1.5978 + lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 1.5979 + ;; 1.5980 + hppa*64*) 1.5981 + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]' 1.5982 + lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 1.5983 + ;; 1.5984 + *) 1.5985 + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' 1.5986 + lt_cv_file_magic_test_file=/usr/lib/libc.sl 1.5987 + ;; 1.5988 + esac 1.5989 + ;; 1.5990 + 1.5991 +interix[3-9]*) 1.5992 + # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 1.5993 + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 1.5994 + ;; 1.5995 + 1.5996 +irix5* | irix6* | nonstopux*) 1.5997 + case $LD in 1.5998 + *-32|*"-32 ") libmagic=32-bit;; 1.5999 + *-n32|*"-n32 ") libmagic=N32;; 1.6000 + *-64|*"-64 ") libmagic=64-bit;; 1.6001 + *) libmagic=never-match;; 1.6002 + esac 1.6003 + lt_cv_deplibs_check_method=pass_all 1.6004 + ;; 1.6005 + 1.6006 +# This must be Linux ELF. 1.6007 +linux* | k*bsd*-gnu | kopensolaris*-gnu) 1.6008 + lt_cv_deplibs_check_method=pass_all 1.6009 + ;; 1.6010 + 1.6011 +netbsd* | netbsdelf*-gnu) 1.6012 + if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 1.6013 + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 1.6014 + else 1.6015 + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 1.6016 + fi 1.6017 + ;; 1.6018 + 1.6019 +newos6*) 1.6020 + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 1.6021 + lt_cv_file_magic_cmd=/usr/bin/file 1.6022 + lt_cv_file_magic_test_file=/usr/lib/libnls.so 1.6023 + ;; 1.6024 + 1.6025 +*nto* | *qnx*) 1.6026 + lt_cv_deplibs_check_method=pass_all 1.6027 + ;; 1.6028 + 1.6029 +openbsd*) 1.6030 + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 1.6031 + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 1.6032 + else 1.6033 + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 1.6034 + fi 1.6035 + ;; 1.6036 + 1.6037 +osf3* | osf4* | osf5*) 1.6038 + lt_cv_deplibs_check_method=pass_all 1.6039 + ;; 1.6040 + 1.6041 +rdos*) 1.6042 + lt_cv_deplibs_check_method=pass_all 1.6043 + ;; 1.6044 + 1.6045 +solaris*) 1.6046 + lt_cv_deplibs_check_method=pass_all 1.6047 + ;; 1.6048 + 1.6049 +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 1.6050 + lt_cv_deplibs_check_method=pass_all 1.6051 + ;; 1.6052 + 1.6053 +sysv4 | sysv4.3*) 1.6054 + case $host_vendor in 1.6055 + motorola) 1.6056 + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]' 1.6057 + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 1.6058 + ;; 1.6059 + ncr) 1.6060 + lt_cv_deplibs_check_method=pass_all 1.6061 + ;; 1.6062 + sequent) 1.6063 + lt_cv_file_magic_cmd='/bin/file' 1.6064 + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 1.6065 + ;; 1.6066 + sni) 1.6067 + lt_cv_file_magic_cmd='/bin/file' 1.6068 + lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 1.6069 + lt_cv_file_magic_test_file=/lib/libc.so 1.6070 + ;; 1.6071 + siemens) 1.6072 + lt_cv_deplibs_check_method=pass_all 1.6073 + ;; 1.6074 + pc) 1.6075 + lt_cv_deplibs_check_method=pass_all 1.6076 + ;; 1.6077 + esac 1.6078 + ;; 1.6079 + 1.6080 +tpf*) 1.6081 + lt_cv_deplibs_check_method=pass_all 1.6082 + ;; 1.6083 +esac 1.6084 + 1.6085 +fi 1.6086 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 1.6087 +$as_echo "$lt_cv_deplibs_check_method" >&6; } 1.6088 +file_magic_cmd=$lt_cv_file_magic_cmd 1.6089 +deplibs_check_method=$lt_cv_deplibs_check_method 1.6090 +test -z "$deplibs_check_method" && deplibs_check_method=unknown 1.6091 + 1.6092 + 1.6093 + 1.6094 + 1.6095 + 1.6096 + 1.6097 + 1.6098 + 1.6099 + 1.6100 + 1.6101 + 1.6102 + 1.6103 +if test -n "$ac_tool_prefix"; then 1.6104 + # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. 1.6105 +set dummy ${ac_tool_prefix}ar; ac_word=$2 1.6106 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 1.6107 +$as_echo_n "checking for $ac_word... " >&6; } 1.6108 +if test "${ac_cv_prog_AR+set}" = set; then : 1.6109 + $as_echo_n "(cached) " >&6 1.6110 +else 1.6111 + if test -n "$AR"; then 1.6112 + ac_cv_prog_AR="$AR" # Let the user override the test. 1.6113 +else 1.6114 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1.6115 +for as_dir in $PATH 1.6116 +do 1.6117 + IFS=$as_save_IFS 1.6118 + test -z "$as_dir" && as_dir=. 1.6119 + for ac_exec_ext in '' $ac_executable_extensions; do 1.6120 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1.6121 + ac_cv_prog_AR="${ac_tool_prefix}ar" 1.6122 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1.6123 + break 2 1.6124 + fi 1.6125 +done 1.6126 + done 1.6127 +IFS=$as_save_IFS 1.6128 + 1.6129 +fi 1.6130 +fi 1.6131 +AR=$ac_cv_prog_AR 1.6132 +if test -n "$AR"; then 1.6133 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 1.6134 +$as_echo "$AR" >&6; } 1.6135 +else 1.6136 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1.6137 +$as_echo "no" >&6; } 1.6138 +fi 1.6139 + 1.6140 + 1.6141 +fi 1.6142 +if test -z "$ac_cv_prog_AR"; then 1.6143 + ac_ct_AR=$AR 1.6144 + # Extract the first word of "ar", so it can be a program name with args. 1.6145 +set dummy ar; ac_word=$2 1.6146 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 1.6147 +$as_echo_n "checking for $ac_word... " >&6; } 1.6148 +if test "${ac_cv_prog_ac_ct_AR+set}" = set; then : 1.6149 + $as_echo_n "(cached) " >&6 1.6150 +else 1.6151 + if test -n "$ac_ct_AR"; then 1.6152 + ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 1.6153 +else 1.6154 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1.6155 +for as_dir in $PATH 1.6156 +do 1.6157 + IFS=$as_save_IFS 1.6158 + test -z "$as_dir" && as_dir=. 1.6159 + for ac_exec_ext in '' $ac_executable_extensions; do 1.6160 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1.6161 + ac_cv_prog_ac_ct_AR="ar" 1.6162 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1.6163 + break 2 1.6164 + fi 1.6165 +done 1.6166 + done 1.6167 +IFS=$as_save_IFS 1.6168 + 1.6169 +fi 1.6170 +fi 1.6171 +ac_ct_AR=$ac_cv_prog_ac_ct_AR 1.6172 +if test -n "$ac_ct_AR"; then 1.6173 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 1.6174 +$as_echo "$ac_ct_AR" >&6; } 1.6175 +else 1.6176 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1.6177 +$as_echo "no" >&6; } 1.6178 +fi 1.6179 + 1.6180 + if test "x$ac_ct_AR" = x; then 1.6181 + AR="false" 1.6182 + else 1.6183 + case $cross_compiling:$ac_tool_warned in 1.6184 +yes:) 1.6185 +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 1.6186 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 1.6187 +ac_tool_warned=yes ;; 1.6188 +esac 1.6189 + AR=$ac_ct_AR 1.6190 + fi 1.6191 +else 1.6192 + AR="$ac_cv_prog_AR" 1.6193 +fi 1.6194 + 1.6195 +test -z "$AR" && AR=ar 1.6196 +test -z "$AR_FLAGS" && AR_FLAGS=cru 1.6197 + 1.6198 + 1.6199 + 1.6200 + 1.6201 + 1.6202 + 1.6203 + 1.6204 + 1.6205 + 1.6206 + 1.6207 + 1.6208 +if test -n "$ac_tool_prefix"; then 1.6209 + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 1.6210 +set dummy ${ac_tool_prefix}strip; ac_word=$2 1.6211 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 1.6212 +$as_echo_n "checking for $ac_word... " >&6; } 1.6213 +if test "${ac_cv_prog_STRIP+set}" = set; then : 1.6214 + $as_echo_n "(cached) " >&6 1.6215 +else 1.6216 + if test -n "$STRIP"; then 1.6217 + ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 1.6218 +else 1.6219 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1.6220 +for as_dir in $PATH 1.6221 +do 1.6222 + IFS=$as_save_IFS 1.6223 + test -z "$as_dir" && as_dir=. 1.6224 + for ac_exec_ext in '' $ac_executable_extensions; do 1.6225 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1.6226 + ac_cv_prog_STRIP="${ac_tool_prefix}strip" 1.6227 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1.6228 + break 2 1.6229 + fi 1.6230 +done 1.6231 + done 1.6232 +IFS=$as_save_IFS 1.6233 + 1.6234 +fi 1.6235 +fi 1.6236 +STRIP=$ac_cv_prog_STRIP 1.6237 +if test -n "$STRIP"; then 1.6238 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 1.6239 +$as_echo "$STRIP" >&6; } 1.6240 +else 1.6241 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1.6242 +$as_echo "no" >&6; } 1.6243 +fi 1.6244 + 1.6245 + 1.6246 +fi 1.6247 +if test -z "$ac_cv_prog_STRIP"; then 1.6248 + ac_ct_STRIP=$STRIP 1.6249 + # Extract the first word of "strip", so it can be a program name with args. 1.6250 +set dummy strip; ac_word=$2 1.6251 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 1.6252 +$as_echo_n "checking for $ac_word... " >&6; } 1.6253 +if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : 1.6254 + $as_echo_n "(cached) " >&6 1.6255 +else 1.6256 + if test -n "$ac_ct_STRIP"; then 1.6257 + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 1.6258 +else 1.6259 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1.6260 +for as_dir in $PATH 1.6261 +do 1.6262 + IFS=$as_save_IFS 1.6263 + test -z "$as_dir" && as_dir=. 1.6264 + for ac_exec_ext in '' $ac_executable_extensions; do 1.6265 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1.6266 + ac_cv_prog_ac_ct_STRIP="strip" 1.6267 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1.6268 + break 2 1.6269 + fi 1.6270 +done 1.6271 + done 1.6272 +IFS=$as_save_IFS 1.6273 + 1.6274 +fi 1.6275 +fi 1.6276 +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 1.6277 +if test -n "$ac_ct_STRIP"; then 1.6278 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 1.6279 +$as_echo "$ac_ct_STRIP" >&6; } 1.6280 +else 1.6281 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1.6282 +$as_echo "no" >&6; } 1.6283 +fi 1.6284 + 1.6285 + if test "x$ac_ct_STRIP" = x; then 1.6286 + STRIP=":" 1.6287 + else 1.6288 + case $cross_compiling:$ac_tool_warned in 1.6289 +yes:) 1.6290 +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 1.6291 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 1.6292 +ac_tool_warned=yes ;; 1.6293 +esac 1.6294 + STRIP=$ac_ct_STRIP 1.6295 + fi 1.6296 +else 1.6297 + STRIP="$ac_cv_prog_STRIP" 1.6298 +fi 1.6299 + 1.6300 +test -z "$STRIP" && STRIP=: 1.6301 + 1.6302 + 1.6303 + 1.6304 + 1.6305 + 1.6306 + 1.6307 +if test -n "$ac_tool_prefix"; then 1.6308 + # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 1.6309 +set dummy ${ac_tool_prefix}ranlib; ac_word=$2 1.6310 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 1.6311 +$as_echo_n "checking for $ac_word... " >&6; } 1.6312 +if test "${ac_cv_prog_RANLIB+set}" = set; then : 1.6313 + $as_echo_n "(cached) " >&6 1.6314 +else 1.6315 + if test -n "$RANLIB"; then 1.6316 + ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 1.6317 +else 1.6318 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1.6319 +for as_dir in $PATH 1.6320 +do 1.6321 + IFS=$as_save_IFS 1.6322 + test -z "$as_dir" && as_dir=. 1.6323 + for ac_exec_ext in '' $ac_executable_extensions; do 1.6324 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1.6325 + ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 1.6326 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1.6327 + break 2 1.6328 + fi 1.6329 +done 1.6330 + done 1.6331 +IFS=$as_save_IFS 1.6332 + 1.6333 +fi 1.6334 +fi 1.6335 +RANLIB=$ac_cv_prog_RANLIB 1.6336 +if test -n "$RANLIB"; then 1.6337 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 1.6338 +$as_echo "$RANLIB" >&6; } 1.6339 +else 1.6340 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1.6341 +$as_echo "no" >&6; } 1.6342 +fi 1.6343 + 1.6344 + 1.6345 +fi 1.6346 +if test -z "$ac_cv_prog_RANLIB"; then 1.6347 + ac_ct_RANLIB=$RANLIB 1.6348 + # Extract the first word of "ranlib", so it can be a program name with args. 1.6349 +set dummy ranlib; ac_word=$2 1.6350 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 1.6351 +$as_echo_n "checking for $ac_word... " >&6; } 1.6352 +if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : 1.6353 + $as_echo_n "(cached) " >&6 1.6354 +else 1.6355 + if test -n "$ac_ct_RANLIB"; then 1.6356 + ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 1.6357 +else 1.6358 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1.6359 +for as_dir in $PATH 1.6360 +do 1.6361 + IFS=$as_save_IFS 1.6362 + test -z "$as_dir" && as_dir=. 1.6363 + for ac_exec_ext in '' $ac_executable_extensions; do 1.6364 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1.6365 + ac_cv_prog_ac_ct_RANLIB="ranlib" 1.6366 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1.6367 + break 2 1.6368 + fi 1.6369 +done 1.6370 + done 1.6371 +IFS=$as_save_IFS 1.6372 + 1.6373 +fi 1.6374 +fi 1.6375 +ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 1.6376 +if test -n "$ac_ct_RANLIB"; then 1.6377 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 1.6378 +$as_echo "$ac_ct_RANLIB" >&6; } 1.6379 +else 1.6380 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1.6381 +$as_echo "no" >&6; } 1.6382 +fi 1.6383 + 1.6384 + if test "x$ac_ct_RANLIB" = x; then 1.6385 + RANLIB=":" 1.6386 + else 1.6387 + case $cross_compiling:$ac_tool_warned in 1.6388 +yes:) 1.6389 +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 1.6390 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 1.6391 +ac_tool_warned=yes ;; 1.6392 +esac 1.6393 + RANLIB=$ac_ct_RANLIB 1.6394 + fi 1.6395 +else 1.6396 + RANLIB="$ac_cv_prog_RANLIB" 1.6397 +fi 1.6398 + 1.6399 +test -z "$RANLIB" && RANLIB=: 1.6400 + 1.6401 + 1.6402 + 1.6403 + 1.6404 + 1.6405 + 1.6406 +# Determine commands to create old-style static archives. 1.6407 +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 1.6408 +old_postinstall_cmds='chmod 644 $oldlib' 1.6409 +old_postuninstall_cmds= 1.6410 + 1.6411 +if test -n "$RANLIB"; then 1.6412 + case $host_os in 1.6413 + openbsd*) 1.6414 + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" 1.6415 + ;; 1.6416 + *) 1.6417 + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" 1.6418 + ;; 1.6419 + esac 1.6420 + old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" 1.6421 +fi 1.6422 + 1.6423 + 1.6424 + 1.6425 + 1.6426 + 1.6427 + 1.6428 + 1.6429 + 1.6430 + 1.6431 + 1.6432 + 1.6433 + 1.6434 + 1.6435 + 1.6436 + 1.6437 + 1.6438 + 1.6439 + 1.6440 + 1.6441 + 1.6442 + 1.6443 + 1.6444 + 1.6445 + 1.6446 + 1.6447 + 1.6448 + 1.6449 + 1.6450 + 1.6451 + 1.6452 + 1.6453 + 1.6454 + 1.6455 + 1.6456 +# If no C compiler was specified, use CC. 1.6457 +LTCC=${LTCC-"$CC"} 1.6458 + 1.6459 +# If no C compiler flags were specified, use CFLAGS. 1.6460 +LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 1.6461 + 1.6462 +# Allow CC to be a program name with arguments. 1.6463 +compiler=$CC 1.6464 + 1.6465 + 1.6466 +# Check for command to grab the raw symbol name followed by C symbol from nm. 1.6467 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 1.6468 +$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 1.6469 +if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then : 1.6470 + $as_echo_n "(cached) " >&6 1.6471 +else 1.6472 + 1.6473 +# These are sane defaults that work on at least a few old systems. 1.6474 +# [They come from Ultrix. What could be older than Ultrix?!! ;)] 1.6475 + 1.6476 +# Character class describing NM global symbol codes. 1.6477 +symcode='[BCDEGRST]' 1.6478 + 1.6479 +# Regexp to match symbols that can be accessed directly from C. 1.6480 +sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 1.6481 + 1.6482 +# Define system-specific variables. 1.6483 +case $host_os in 1.6484 +aix*) 1.6485 + symcode='[BCDT]' 1.6486 + ;; 1.6487 +cygwin* | mingw* | pw32* | cegcc*) 1.6488 + symcode='[ABCDGISTW]' 1.6489 + ;; 1.6490 +hpux*) 1.6491 + if test "$host_cpu" = ia64; then 1.6492 + symcode='[ABCDEGRST]' 1.6493 + fi 1.6494 + ;; 1.6495 +irix* | nonstopux*) 1.6496 + symcode='[BCDEGRST]' 1.6497 + ;; 1.6498 +osf*) 1.6499 + symcode='[BCDEGQRST]' 1.6500 + ;; 1.6501 +solaris*) 1.6502 + symcode='[BDRT]' 1.6503 + ;; 1.6504 +sco3.2v5*) 1.6505 + symcode='[DT]' 1.6506 + ;; 1.6507 +sysv4.2uw2*) 1.6508 + symcode='[DT]' 1.6509 + ;; 1.6510 +sysv5* | sco5v6* | unixware* | OpenUNIX*) 1.6511 + symcode='[ABDT]' 1.6512 + ;; 1.6513 +sysv4) 1.6514 + symcode='[DFNSTU]' 1.6515 + ;; 1.6516 +esac 1.6517 + 1.6518 +# If we're using GNU nm, then use its standard symbol codes. 1.6519 +case `$NM -V 2>&1` in 1.6520 +*GNU* | *'with BFD'*) 1.6521 + symcode='[ABCDGIRSTW]' ;; 1.6522 +esac 1.6523 + 1.6524 +# Transform an extracted symbol line into a proper C declaration. 1.6525 +# Some systems (esp. on ia64) link data and code symbols differently, 1.6526 +# so use this general approach. 1.6527 +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 1.6528 + 1.6529 +# Transform an extracted symbol line into symbol name and symbol address 1.6530 +lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" 1.6531 +lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'" 1.6532 + 1.6533 +# Handle CRLF in mingw tool chain 1.6534 +opt_cr= 1.6535 +case $build_os in 1.6536 +mingw*) 1.6537 + opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 1.6538 + ;; 1.6539 +esac 1.6540 + 1.6541 +# Try without a prefix underscore, then with it. 1.6542 +for ac_symprfx in "" "_"; do 1.6543 + 1.6544 + # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 1.6545 + symxfrm="\\1 $ac_symprfx\\2 \\2" 1.6546 + 1.6547 + # Write the raw and C identifiers. 1.6548 + if test "$lt_cv_nm_interface" = "MS dumpbin"; then 1.6549 + # Fake it for dumpbin and say T for any non-static function 1.6550 + # and D for any global variable. 1.6551 + # Also find C++ and __fastcall symbols from MSVC++, 1.6552 + # which start with @ or ?. 1.6553 + lt_cv_sys_global_symbol_pipe="$AWK '"\ 1.6554 +" {last_section=section; section=\$ 3};"\ 1.6555 +" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 1.6556 +" \$ 0!~/External *\|/{next};"\ 1.6557 +" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 1.6558 +" {if(hide[section]) next};"\ 1.6559 +" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ 1.6560 +" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ 1.6561 +" s[1]~/^[@?]/{print s[1], s[1]; next};"\ 1.6562 +" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ 1.6563 +" ' prfx=^$ac_symprfx" 1.6564 + else 1.6565 + lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 1.6566 + fi 1.6567 + 1.6568 + # Check to see that the pipe works correctly. 1.6569 + pipe_works=no 1.6570 + 1.6571 + rm -f conftest* 1.6572 + cat > conftest.$ac_ext <<_LT_EOF 1.6573 +#ifdef __cplusplus 1.6574 +extern "C" { 1.6575 +#endif 1.6576 +char nm_test_var; 1.6577 +void nm_test_func(void); 1.6578 +void nm_test_func(void){} 1.6579 +#ifdef __cplusplus 1.6580 +} 1.6581 +#endif 1.6582 +int main(){nm_test_var='a';nm_test_func();return(0);} 1.6583 +_LT_EOF 1.6584 + 1.6585 + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 1.6586 + (eval $ac_compile) 2>&5 1.6587 + ac_status=$? 1.6588 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1.6589 + test $ac_status = 0; }; then 1.6590 + # Now try to grab the symbols. 1.6591 + nlist=conftest.nm 1.6592 + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5 1.6593 + (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5 1.6594 + ac_status=$? 1.6595 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1.6596 + test $ac_status = 0; } && test -s "$nlist"; then 1.6597 + # Try sorting and uniquifying the output. 1.6598 + if sort "$nlist" | uniq > "$nlist"T; then 1.6599 + mv -f "$nlist"T "$nlist" 1.6600 + else 1.6601 + rm -f "$nlist"T 1.6602 + fi 1.6603 + 1.6604 + # Make sure that we snagged all the symbols we need. 1.6605 + if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 1.6606 + if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 1.6607 + cat <<_LT_EOF > conftest.$ac_ext 1.6608 +#ifdef __cplusplus 1.6609 +extern "C" { 1.6610 +#endif 1.6611 + 1.6612 +_LT_EOF 1.6613 + # Now generate the symbol file. 1.6614 + eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 1.6615 + 1.6616 + cat <<_LT_EOF >> conftest.$ac_ext 1.6617 + 1.6618 +/* The mapping between symbol names and symbols. */ 1.6619 +const struct { 1.6620 + const char *name; 1.6621 + void *address; 1.6622 +} 1.6623 +lt__PROGRAM__LTX_preloaded_symbols[] = 1.6624 +{ 1.6625 + { "@PROGRAM@", (void *) 0 }, 1.6626 +_LT_EOF 1.6627 + $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 1.6628 + cat <<\_LT_EOF >> conftest.$ac_ext 1.6629 + {0, (void *) 0} 1.6630 +}; 1.6631 + 1.6632 +/* This works around a problem in FreeBSD linker */ 1.6633 +#ifdef FREEBSD_WORKAROUND 1.6634 +static const void *lt_preloaded_setup() { 1.6635 + return lt__PROGRAM__LTX_preloaded_symbols; 1.6636 +} 1.6637 +#endif 1.6638 + 1.6639 +#ifdef __cplusplus 1.6640 +} 1.6641 +#endif 1.6642 +_LT_EOF 1.6643 + # Now try linking the two files. 1.6644 + mv conftest.$ac_objext conftstm.$ac_objext 1.6645 + lt_save_LIBS="$LIBS" 1.6646 + lt_save_CFLAGS="$CFLAGS" 1.6647 + LIBS="conftstm.$ac_objext" 1.6648 + CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 1.6649 + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 1.6650 + (eval $ac_link) 2>&5 1.6651 + ac_status=$? 1.6652 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1.6653 + test $ac_status = 0; } && test -s conftest${ac_exeext}; then 1.6654 + pipe_works=yes 1.6655 + fi 1.6656 + LIBS="$lt_save_LIBS" 1.6657 + CFLAGS="$lt_save_CFLAGS" 1.6658 + else 1.6659 + echo "cannot find nm_test_func in $nlist" >&5 1.6660 + fi 1.6661 + else 1.6662 + echo "cannot find nm_test_var in $nlist" >&5 1.6663 + fi 1.6664 + else 1.6665 + echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 1.6666 + fi 1.6667 + else 1.6668 + echo "$progname: failed program was:" >&5 1.6669 + cat conftest.$ac_ext >&5 1.6670 + fi 1.6671 + rm -rf conftest* conftst* 1.6672 + 1.6673 + # Do not use the global_symbol_pipe unless it works. 1.6674 + if test "$pipe_works" = yes; then 1.6675 + break 1.6676 + else 1.6677 + lt_cv_sys_global_symbol_pipe= 1.6678 + fi 1.6679 +done 1.6680 + 1.6681 +fi 1.6682 + 1.6683 +if test -z "$lt_cv_sys_global_symbol_pipe"; then 1.6684 + lt_cv_sys_global_symbol_to_cdecl= 1.6685 +fi 1.6686 +if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 1.6687 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 1.6688 +$as_echo "failed" >&6; } 1.6689 +else 1.6690 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 1.6691 +$as_echo "ok" >&6; } 1.6692 +fi 1.6693 + 1.6694 + 1.6695 + 1.6696 + 1.6697 + 1.6698 + 1.6699 + 1.6700 + 1.6701 + 1.6702 + 1.6703 + 1.6704 + 1.6705 + 1.6706 + 1.6707 + 1.6708 + 1.6709 + 1.6710 + 1.6711 + 1.6712 + 1.6713 + 1.6714 + 1.6715 + 1.6716 +# Check whether --enable-libtool-lock was given. 1.6717 +if test "${enable_libtool_lock+set}" = set; then : 1.6718 + enableval=$enable_libtool_lock; 1.6719 +fi 1.6720 + 1.6721 +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes 1.6722 + 1.6723 +# Some flags need to be propagated to the compiler or linker for good 1.6724 +# libtool support. 1.6725 +case $host in 1.6726 +ia64-*-hpux*) 1.6727 + # Find out which ABI we are using. 1.6728 + echo 'int i;' > conftest.$ac_ext 1.6729 + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 1.6730 + (eval $ac_compile) 2>&5 1.6731 + ac_status=$? 1.6732 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1.6733 + test $ac_status = 0; }; then 1.6734 + case `/usr/bin/file conftest.$ac_objext` in 1.6735 + *ELF-32*) 1.6736 + HPUX_IA64_MODE="32" 1.6737 + ;; 1.6738 + *ELF-64*) 1.6739 + HPUX_IA64_MODE="64" 1.6740 + ;; 1.6741 + esac 1.6742 + fi 1.6743 + rm -rf conftest* 1.6744 + ;; 1.6745 +*-*-irix6*) 1.6746 + # Find out which ABI we are using. 1.6747 + echo '#line 6744 "configure"' > conftest.$ac_ext 1.6748 + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 1.6749 + (eval $ac_compile) 2>&5 1.6750 + ac_status=$? 1.6751 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1.6752 + test $ac_status = 0; }; then 1.6753 + if test "$lt_cv_prog_gnu_ld" = yes; then 1.6754 + case `/usr/bin/file conftest.$ac_objext` in 1.6755 + *32-bit*) 1.6756 + LD="${LD-ld} -melf32bsmip" 1.6757 + ;; 1.6758 + *N32*) 1.6759 + LD="${LD-ld} -melf32bmipn32" 1.6760 + ;; 1.6761 + *64-bit*) 1.6762 + LD="${LD-ld} -melf64bmip" 1.6763 + ;; 1.6764 + esac 1.6765 + else 1.6766 + case `/usr/bin/file conftest.$ac_objext` in 1.6767 + *32-bit*) 1.6768 + LD="${LD-ld} -32" 1.6769 + ;; 1.6770 + *N32*) 1.6771 + LD="${LD-ld} -n32" 1.6772 + ;; 1.6773 + *64-bit*) 1.6774 + LD="${LD-ld} -64" 1.6775 + ;; 1.6776 + esac 1.6777 + fi 1.6778 + fi 1.6779 + rm -rf conftest* 1.6780 + ;; 1.6781 + 1.6782 +x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ 1.6783 +s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 1.6784 + # Find out which ABI we are using. 1.6785 + echo 'int i;' > conftest.$ac_ext 1.6786 + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 1.6787 + (eval $ac_compile) 2>&5 1.6788 + ac_status=$? 1.6789 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1.6790 + test $ac_status = 0; }; then 1.6791 + case `/usr/bin/file conftest.o` in 1.6792 + *32-bit*) 1.6793 + case $host in 1.6794 + x86_64-*kfreebsd*-gnu) 1.6795 + LD="${LD-ld} -m elf_i386_fbsd" 1.6796 + ;; 1.6797 + x86_64-*linux*) 1.6798 + LD="${LD-ld} -m elf_i386" 1.6799 + ;; 1.6800 + ppc64-*linux*|powerpc64-*linux*) 1.6801 + LD="${LD-ld} -m elf32ppclinux" 1.6802 + ;; 1.6803 + s390x-*linux*) 1.6804 + LD="${LD-ld} -m elf_s390" 1.6805 + ;; 1.6806 + sparc64-*linux*) 1.6807 + LD="${LD-ld} -m elf32_sparc" 1.6808 + ;; 1.6809 + esac 1.6810 + ;; 1.6811 + *64-bit*) 1.6812 + case $host in 1.6813 + x86_64-*kfreebsd*-gnu) 1.6814 + LD="${LD-ld} -m elf_x86_64_fbsd" 1.6815 + ;; 1.6816 + x86_64-*linux*) 1.6817 + LD="${LD-ld} -m elf_x86_64" 1.6818 + ;; 1.6819 + ppc*-*linux*|powerpc*-*linux*) 1.6820 + LD="${LD-ld} -m elf64ppc" 1.6821 + ;; 1.6822 + s390*-*linux*|s390*-*tpf*) 1.6823 + LD="${LD-ld} -m elf64_s390" 1.6824 + ;; 1.6825 + sparc*-*linux*) 1.6826 + LD="${LD-ld} -m elf64_sparc" 1.6827 + ;; 1.6828 + esac 1.6829 + ;; 1.6830 + esac 1.6831 + fi 1.6832 + rm -rf conftest* 1.6833 + ;; 1.6834 + 1.6835 +*-*-sco3.2v5*) 1.6836 + # On SCO OpenServer 5, we need -belf to get full-featured binaries. 1.6837 + SAVE_CFLAGS="$CFLAGS" 1.6838 + CFLAGS="$CFLAGS -belf" 1.6839 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 1.6840 +$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 1.6841 +if test "${lt_cv_cc_needs_belf+set}" = set; then : 1.6842 + $as_echo_n "(cached) " >&6 1.6843 +else 1.6844 + ac_ext=c 1.6845 +ac_cpp='$CPP $CPPFLAGS' 1.6846 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1.6847 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1.6848 +ac_compiler_gnu=$ac_cv_c_compiler_gnu 1.6849 + 1.6850 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.6851 +/* end confdefs.h. */ 1.6852 + 1.6853 +int 1.6854 +main () 1.6855 +{ 1.6856 + 1.6857 + ; 1.6858 + return 0; 1.6859 +} 1.6860 +_ACEOF 1.6861 +if ac_fn_c_try_link "$LINENO"; then : 1.6862 + lt_cv_cc_needs_belf=yes 1.6863 +else 1.6864 + lt_cv_cc_needs_belf=no 1.6865 +fi 1.6866 +rm -f core conftest.err conftest.$ac_objext \ 1.6867 + conftest$ac_exeext conftest.$ac_ext 1.6868 + ac_ext=c 1.6869 +ac_cpp='$CPP $CPPFLAGS' 1.6870 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1.6871 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1.6872 +ac_compiler_gnu=$ac_cv_c_compiler_gnu 1.6873 + 1.6874 +fi 1.6875 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 1.6876 +$as_echo "$lt_cv_cc_needs_belf" >&6; } 1.6877 + if test x"$lt_cv_cc_needs_belf" != x"yes"; then 1.6878 + # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 1.6879 + CFLAGS="$SAVE_CFLAGS" 1.6880 + fi 1.6881 + ;; 1.6882 +sparc*-*solaris*) 1.6883 + # Find out which ABI we are using. 1.6884 + echo 'int i;' > conftest.$ac_ext 1.6885 + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 1.6886 + (eval $ac_compile) 2>&5 1.6887 + ac_status=$? 1.6888 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1.6889 + test $ac_status = 0; }; then 1.6890 + case `/usr/bin/file conftest.o` in 1.6891 + *64-bit*) 1.6892 + case $lt_cv_prog_gnu_ld in 1.6893 + yes*) LD="${LD-ld} -m elf64_sparc" ;; 1.6894 + *) 1.6895 + if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 1.6896 + LD="${LD-ld} -64" 1.6897 + fi 1.6898 + ;; 1.6899 + esac 1.6900 + ;; 1.6901 + esac 1.6902 + fi 1.6903 + rm -rf conftest* 1.6904 + ;; 1.6905 +esac 1.6906 + 1.6907 +need_locks="$enable_libtool_lock" 1.6908 + 1.6909 + 1.6910 + case $host_os in 1.6911 + rhapsody* | darwin*) 1.6912 + if test -n "$ac_tool_prefix"; then 1.6913 + # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 1.6914 +set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 1.6915 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 1.6916 +$as_echo_n "checking for $ac_word... " >&6; } 1.6917 +if test "${ac_cv_prog_DSYMUTIL+set}" = set; then : 1.6918 + $as_echo_n "(cached) " >&6 1.6919 +else 1.6920 + if test -n "$DSYMUTIL"; then 1.6921 + ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 1.6922 +else 1.6923 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1.6924 +for as_dir in $PATH 1.6925 +do 1.6926 + IFS=$as_save_IFS 1.6927 + test -z "$as_dir" && as_dir=. 1.6928 + for ac_exec_ext in '' $ac_executable_extensions; do 1.6929 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1.6930 + ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 1.6931 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1.6932 + break 2 1.6933 + fi 1.6934 +done 1.6935 + done 1.6936 +IFS=$as_save_IFS 1.6937 + 1.6938 +fi 1.6939 +fi 1.6940 +DSYMUTIL=$ac_cv_prog_DSYMUTIL 1.6941 +if test -n "$DSYMUTIL"; then 1.6942 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 1.6943 +$as_echo "$DSYMUTIL" >&6; } 1.6944 +else 1.6945 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1.6946 +$as_echo "no" >&6; } 1.6947 +fi 1.6948 + 1.6949 + 1.6950 +fi 1.6951 +if test -z "$ac_cv_prog_DSYMUTIL"; then 1.6952 + ac_ct_DSYMUTIL=$DSYMUTIL 1.6953 + # Extract the first word of "dsymutil", so it can be a program name with args. 1.6954 +set dummy dsymutil; ac_word=$2 1.6955 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 1.6956 +$as_echo_n "checking for $ac_word... " >&6; } 1.6957 +if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then : 1.6958 + $as_echo_n "(cached) " >&6 1.6959 +else 1.6960 + if test -n "$ac_ct_DSYMUTIL"; then 1.6961 + ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 1.6962 +else 1.6963 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1.6964 +for as_dir in $PATH 1.6965 +do 1.6966 + IFS=$as_save_IFS 1.6967 + test -z "$as_dir" && as_dir=. 1.6968 + for ac_exec_ext in '' $ac_executable_extensions; do 1.6969 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1.6970 + ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 1.6971 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1.6972 + break 2 1.6973 + fi 1.6974 +done 1.6975 + done 1.6976 +IFS=$as_save_IFS 1.6977 + 1.6978 +fi 1.6979 +fi 1.6980 +ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 1.6981 +if test -n "$ac_ct_DSYMUTIL"; then 1.6982 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 1.6983 +$as_echo "$ac_ct_DSYMUTIL" >&6; } 1.6984 +else 1.6985 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1.6986 +$as_echo "no" >&6; } 1.6987 +fi 1.6988 + 1.6989 + if test "x$ac_ct_DSYMUTIL" = x; then 1.6990 + DSYMUTIL=":" 1.6991 + else 1.6992 + case $cross_compiling:$ac_tool_warned in 1.6993 +yes:) 1.6994 +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 1.6995 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 1.6996 +ac_tool_warned=yes ;; 1.6997 +esac 1.6998 + DSYMUTIL=$ac_ct_DSYMUTIL 1.6999 + fi 1.7000 +else 1.7001 + DSYMUTIL="$ac_cv_prog_DSYMUTIL" 1.7002 +fi 1.7003 + 1.7004 + if test -n "$ac_tool_prefix"; then 1.7005 + # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 1.7006 +set dummy ${ac_tool_prefix}nmedit; ac_word=$2 1.7007 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 1.7008 +$as_echo_n "checking for $ac_word... " >&6; } 1.7009 +if test "${ac_cv_prog_NMEDIT+set}" = set; then : 1.7010 + $as_echo_n "(cached) " >&6 1.7011 +else 1.7012 + if test -n "$NMEDIT"; then 1.7013 + ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 1.7014 +else 1.7015 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1.7016 +for as_dir in $PATH 1.7017 +do 1.7018 + IFS=$as_save_IFS 1.7019 + test -z "$as_dir" && as_dir=. 1.7020 + for ac_exec_ext in '' $ac_executable_extensions; do 1.7021 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1.7022 + ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 1.7023 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1.7024 + break 2 1.7025 + fi 1.7026 +done 1.7027 + done 1.7028 +IFS=$as_save_IFS 1.7029 + 1.7030 +fi 1.7031 +fi 1.7032 +NMEDIT=$ac_cv_prog_NMEDIT 1.7033 +if test -n "$NMEDIT"; then 1.7034 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 1.7035 +$as_echo "$NMEDIT" >&6; } 1.7036 +else 1.7037 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1.7038 +$as_echo "no" >&6; } 1.7039 +fi 1.7040 + 1.7041 + 1.7042 +fi 1.7043 +if test -z "$ac_cv_prog_NMEDIT"; then 1.7044 + ac_ct_NMEDIT=$NMEDIT 1.7045 + # Extract the first word of "nmedit", so it can be a program name with args. 1.7046 +set dummy nmedit; ac_word=$2 1.7047 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 1.7048 +$as_echo_n "checking for $ac_word... " >&6; } 1.7049 +if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then : 1.7050 + $as_echo_n "(cached) " >&6 1.7051 +else 1.7052 + if test -n "$ac_ct_NMEDIT"; then 1.7053 + ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 1.7054 +else 1.7055 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1.7056 +for as_dir in $PATH 1.7057 +do 1.7058 + IFS=$as_save_IFS 1.7059 + test -z "$as_dir" && as_dir=. 1.7060 + for ac_exec_ext in '' $ac_executable_extensions; do 1.7061 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1.7062 + ac_cv_prog_ac_ct_NMEDIT="nmedit" 1.7063 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1.7064 + break 2 1.7065 + fi 1.7066 +done 1.7067 + done 1.7068 +IFS=$as_save_IFS 1.7069 + 1.7070 +fi 1.7071 +fi 1.7072 +ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 1.7073 +if test -n "$ac_ct_NMEDIT"; then 1.7074 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 1.7075 +$as_echo "$ac_ct_NMEDIT" >&6; } 1.7076 +else 1.7077 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1.7078 +$as_echo "no" >&6; } 1.7079 +fi 1.7080 + 1.7081 + if test "x$ac_ct_NMEDIT" = x; then 1.7082 + NMEDIT=":" 1.7083 + else 1.7084 + case $cross_compiling:$ac_tool_warned in 1.7085 +yes:) 1.7086 +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 1.7087 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 1.7088 +ac_tool_warned=yes ;; 1.7089 +esac 1.7090 + NMEDIT=$ac_ct_NMEDIT 1.7091 + fi 1.7092 +else 1.7093 + NMEDIT="$ac_cv_prog_NMEDIT" 1.7094 +fi 1.7095 + 1.7096 + if test -n "$ac_tool_prefix"; then 1.7097 + # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 1.7098 +set dummy ${ac_tool_prefix}lipo; ac_word=$2 1.7099 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 1.7100 +$as_echo_n "checking for $ac_word... " >&6; } 1.7101 +if test "${ac_cv_prog_LIPO+set}" = set; then : 1.7102 + $as_echo_n "(cached) " >&6 1.7103 +else 1.7104 + if test -n "$LIPO"; then 1.7105 + ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 1.7106 +else 1.7107 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1.7108 +for as_dir in $PATH 1.7109 +do 1.7110 + IFS=$as_save_IFS 1.7111 + test -z "$as_dir" && as_dir=. 1.7112 + for ac_exec_ext in '' $ac_executable_extensions; do 1.7113 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1.7114 + ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 1.7115 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1.7116 + break 2 1.7117 + fi 1.7118 +done 1.7119 + done 1.7120 +IFS=$as_save_IFS 1.7121 + 1.7122 +fi 1.7123 +fi 1.7124 +LIPO=$ac_cv_prog_LIPO 1.7125 +if test -n "$LIPO"; then 1.7126 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 1.7127 +$as_echo "$LIPO" >&6; } 1.7128 +else 1.7129 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1.7130 +$as_echo "no" >&6; } 1.7131 +fi 1.7132 + 1.7133 + 1.7134 +fi 1.7135 +if test -z "$ac_cv_prog_LIPO"; then 1.7136 + ac_ct_LIPO=$LIPO 1.7137 + # Extract the first word of "lipo", so it can be a program name with args. 1.7138 +set dummy lipo; ac_word=$2 1.7139 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 1.7140 +$as_echo_n "checking for $ac_word... " >&6; } 1.7141 +if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then : 1.7142 + $as_echo_n "(cached) " >&6 1.7143 +else 1.7144 + if test -n "$ac_ct_LIPO"; then 1.7145 + ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 1.7146 +else 1.7147 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1.7148 +for as_dir in $PATH 1.7149 +do 1.7150 + IFS=$as_save_IFS 1.7151 + test -z "$as_dir" && as_dir=. 1.7152 + for ac_exec_ext in '' $ac_executable_extensions; do 1.7153 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1.7154 + ac_cv_prog_ac_ct_LIPO="lipo" 1.7155 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1.7156 + break 2 1.7157 + fi 1.7158 +done 1.7159 + done 1.7160 +IFS=$as_save_IFS 1.7161 + 1.7162 +fi 1.7163 +fi 1.7164 +ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 1.7165 +if test -n "$ac_ct_LIPO"; then 1.7166 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 1.7167 +$as_echo "$ac_ct_LIPO" >&6; } 1.7168 +else 1.7169 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1.7170 +$as_echo "no" >&6; } 1.7171 +fi 1.7172 + 1.7173 + if test "x$ac_ct_LIPO" = x; then 1.7174 + LIPO=":" 1.7175 + else 1.7176 + case $cross_compiling:$ac_tool_warned in 1.7177 +yes:) 1.7178 +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 1.7179 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 1.7180 +ac_tool_warned=yes ;; 1.7181 +esac 1.7182 + LIPO=$ac_ct_LIPO 1.7183 + fi 1.7184 +else 1.7185 + LIPO="$ac_cv_prog_LIPO" 1.7186 +fi 1.7187 + 1.7188 + if test -n "$ac_tool_prefix"; then 1.7189 + # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 1.7190 +set dummy ${ac_tool_prefix}otool; ac_word=$2 1.7191 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 1.7192 +$as_echo_n "checking for $ac_word... " >&6; } 1.7193 +if test "${ac_cv_prog_OTOOL+set}" = set; then : 1.7194 + $as_echo_n "(cached) " >&6 1.7195 +else 1.7196 + if test -n "$OTOOL"; then 1.7197 + ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 1.7198 +else 1.7199 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1.7200 +for as_dir in $PATH 1.7201 +do 1.7202 + IFS=$as_save_IFS 1.7203 + test -z "$as_dir" && as_dir=. 1.7204 + for ac_exec_ext in '' $ac_executable_extensions; do 1.7205 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1.7206 + ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 1.7207 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1.7208 + break 2 1.7209 + fi 1.7210 +done 1.7211 + done 1.7212 +IFS=$as_save_IFS 1.7213 + 1.7214 +fi 1.7215 +fi 1.7216 +OTOOL=$ac_cv_prog_OTOOL 1.7217 +if test -n "$OTOOL"; then 1.7218 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 1.7219 +$as_echo "$OTOOL" >&6; } 1.7220 +else 1.7221 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1.7222 +$as_echo "no" >&6; } 1.7223 +fi 1.7224 + 1.7225 + 1.7226 +fi 1.7227 +if test -z "$ac_cv_prog_OTOOL"; then 1.7228 + ac_ct_OTOOL=$OTOOL 1.7229 + # Extract the first word of "otool", so it can be a program name with args. 1.7230 +set dummy otool; ac_word=$2 1.7231 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 1.7232 +$as_echo_n "checking for $ac_word... " >&6; } 1.7233 +if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then : 1.7234 + $as_echo_n "(cached) " >&6 1.7235 +else 1.7236 + if test -n "$ac_ct_OTOOL"; then 1.7237 + ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 1.7238 +else 1.7239 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1.7240 +for as_dir in $PATH 1.7241 +do 1.7242 + IFS=$as_save_IFS 1.7243 + test -z "$as_dir" && as_dir=. 1.7244 + for ac_exec_ext in '' $ac_executable_extensions; do 1.7245 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1.7246 + ac_cv_prog_ac_ct_OTOOL="otool" 1.7247 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1.7248 + break 2 1.7249 + fi 1.7250 +done 1.7251 + done 1.7252 +IFS=$as_save_IFS 1.7253 + 1.7254 +fi 1.7255 +fi 1.7256 +ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 1.7257 +if test -n "$ac_ct_OTOOL"; then 1.7258 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 1.7259 +$as_echo "$ac_ct_OTOOL" >&6; } 1.7260 +else 1.7261 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1.7262 +$as_echo "no" >&6; } 1.7263 +fi 1.7264 + 1.7265 + if test "x$ac_ct_OTOOL" = x; then 1.7266 + OTOOL=":" 1.7267 + else 1.7268 + case $cross_compiling:$ac_tool_warned in 1.7269 +yes:) 1.7270 +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 1.7271 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 1.7272 +ac_tool_warned=yes ;; 1.7273 +esac 1.7274 + OTOOL=$ac_ct_OTOOL 1.7275 + fi 1.7276 +else 1.7277 + OTOOL="$ac_cv_prog_OTOOL" 1.7278 +fi 1.7279 + 1.7280 + if test -n "$ac_tool_prefix"; then 1.7281 + # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 1.7282 +set dummy ${ac_tool_prefix}otool64; ac_word=$2 1.7283 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 1.7284 +$as_echo_n "checking for $ac_word... " >&6; } 1.7285 +if test "${ac_cv_prog_OTOOL64+set}" = set; then : 1.7286 + $as_echo_n "(cached) " >&6 1.7287 +else 1.7288 + if test -n "$OTOOL64"; then 1.7289 + ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 1.7290 +else 1.7291 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1.7292 +for as_dir in $PATH 1.7293 +do 1.7294 + IFS=$as_save_IFS 1.7295 + test -z "$as_dir" && as_dir=. 1.7296 + for ac_exec_ext in '' $ac_executable_extensions; do 1.7297 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1.7298 + ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 1.7299 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1.7300 + break 2 1.7301 + fi 1.7302 +done 1.7303 + done 1.7304 +IFS=$as_save_IFS 1.7305 + 1.7306 +fi 1.7307 +fi 1.7308 +OTOOL64=$ac_cv_prog_OTOOL64 1.7309 +if test -n "$OTOOL64"; then 1.7310 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 1.7311 +$as_echo "$OTOOL64" >&6; } 1.7312 +else 1.7313 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1.7314 +$as_echo "no" >&6; } 1.7315 +fi 1.7316 + 1.7317 + 1.7318 +fi 1.7319 +if test -z "$ac_cv_prog_OTOOL64"; then 1.7320 + ac_ct_OTOOL64=$OTOOL64 1.7321 + # Extract the first word of "otool64", so it can be a program name with args. 1.7322 +set dummy otool64; ac_word=$2 1.7323 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 1.7324 +$as_echo_n "checking for $ac_word... " >&6; } 1.7325 +if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then : 1.7326 + $as_echo_n "(cached) " >&6 1.7327 +else 1.7328 + if test -n "$ac_ct_OTOOL64"; then 1.7329 + ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 1.7330 +else 1.7331 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1.7332 +for as_dir in $PATH 1.7333 +do 1.7334 + IFS=$as_save_IFS 1.7335 + test -z "$as_dir" && as_dir=. 1.7336 + for ac_exec_ext in '' $ac_executable_extensions; do 1.7337 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1.7338 + ac_cv_prog_ac_ct_OTOOL64="otool64" 1.7339 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1.7340 + break 2 1.7341 + fi 1.7342 +done 1.7343 + done 1.7344 +IFS=$as_save_IFS 1.7345 + 1.7346 +fi 1.7347 +fi 1.7348 +ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 1.7349 +if test -n "$ac_ct_OTOOL64"; then 1.7350 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 1.7351 +$as_echo "$ac_ct_OTOOL64" >&6; } 1.7352 +else 1.7353 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1.7354 +$as_echo "no" >&6; } 1.7355 +fi 1.7356 + 1.7357 + if test "x$ac_ct_OTOOL64" = x; then 1.7358 + OTOOL64=":" 1.7359 + else 1.7360 + case $cross_compiling:$ac_tool_warned in 1.7361 +yes:) 1.7362 +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 1.7363 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 1.7364 +ac_tool_warned=yes ;; 1.7365 +esac 1.7366 + OTOOL64=$ac_ct_OTOOL64 1.7367 + fi 1.7368 +else 1.7369 + OTOOL64="$ac_cv_prog_OTOOL64" 1.7370 +fi 1.7371 + 1.7372 + 1.7373 + 1.7374 + 1.7375 + 1.7376 + 1.7377 + 1.7378 + 1.7379 + 1.7380 + 1.7381 + 1.7382 + 1.7383 + 1.7384 + 1.7385 + 1.7386 + 1.7387 + 1.7388 + 1.7389 + 1.7390 + 1.7391 + 1.7392 + 1.7393 + 1.7394 + 1.7395 + 1.7396 + 1.7397 + 1.7398 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 1.7399 +$as_echo_n "checking for -single_module linker flag... " >&6; } 1.7400 +if test "${lt_cv_apple_cc_single_mod+set}" = set; then : 1.7401 + $as_echo_n "(cached) " >&6 1.7402 +else 1.7403 + lt_cv_apple_cc_single_mod=no 1.7404 + if test -z "${LT_MULTI_MODULE}"; then 1.7405 + # By default we will add the -single_module flag. You can override 1.7406 + # by either setting the environment variable LT_MULTI_MODULE 1.7407 + # non-empty at configure time, or by adding -multi_module to the 1.7408 + # link flags. 1.7409 + rm -rf libconftest.dylib* 1.7410 + echo "int foo(void){return 1;}" > conftest.c 1.7411 + echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 1.7412 +-dynamiclib -Wl,-single_module conftest.c" >&5 1.7413 + $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 1.7414 + -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 1.7415 + _lt_result=$? 1.7416 + if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then 1.7417 + lt_cv_apple_cc_single_mod=yes 1.7418 + else 1.7419 + cat conftest.err >&5 1.7420 + fi 1.7421 + rm -rf libconftest.dylib* 1.7422 + rm -f conftest.* 1.7423 + fi 1.7424 +fi 1.7425 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 1.7426 +$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 1.7427 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 1.7428 +$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 1.7429 +if test "${lt_cv_ld_exported_symbols_list+set}" = set; then : 1.7430 + $as_echo_n "(cached) " >&6 1.7431 +else 1.7432 + lt_cv_ld_exported_symbols_list=no 1.7433 + save_LDFLAGS=$LDFLAGS 1.7434 + echo "_main" > conftest.sym 1.7435 + LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 1.7436 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.7437 +/* end confdefs.h. */ 1.7438 + 1.7439 +int 1.7440 +main () 1.7441 +{ 1.7442 + 1.7443 + ; 1.7444 + return 0; 1.7445 +} 1.7446 +_ACEOF 1.7447 +if ac_fn_c_try_link "$LINENO"; then : 1.7448 + lt_cv_ld_exported_symbols_list=yes 1.7449 +else 1.7450 + lt_cv_ld_exported_symbols_list=no 1.7451 +fi 1.7452 +rm -f core conftest.err conftest.$ac_objext \ 1.7453 + conftest$ac_exeext conftest.$ac_ext 1.7454 + LDFLAGS="$save_LDFLAGS" 1.7455 + 1.7456 +fi 1.7457 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 1.7458 +$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 1.7459 + case $host_os in 1.7460 + rhapsody* | darwin1.[012]) 1.7461 + _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; 1.7462 + darwin1.*) 1.7463 + _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 1.7464 + darwin*) # darwin 5.x on 1.7465 + # if running on 10.5 or later, the deployment target defaults 1.7466 + # to the OS version, if on x86, and 10.4, the deployment 1.7467 + # target defaults to 10.4. Don't you love it? 1.7468 + case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 1.7469 + 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 1.7470 + _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 1.7471 + 10.[012]*) 1.7472 + _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 1.7473 + 10.*) 1.7474 + _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 1.7475 + esac 1.7476 + ;; 1.7477 + esac 1.7478 + if test "$lt_cv_apple_cc_single_mod" = "yes"; then 1.7479 + _lt_dar_single_mod='$single_module' 1.7480 + fi 1.7481 + if test "$lt_cv_ld_exported_symbols_list" = "yes"; then 1.7482 + _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' 1.7483 + else 1.7484 + _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' 1.7485 + fi 1.7486 + if test "$DSYMUTIL" != ":"; then 1.7487 + _lt_dsymutil='~$DSYMUTIL $lib || :' 1.7488 + else 1.7489 + _lt_dsymutil= 1.7490 + fi 1.7491 + ;; 1.7492 + esac 1.7493 + 1.7494 + 1.7495 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 1.7496 +$as_echo_n "checking for ANSI C header files... " >&6; } 1.7497 +if test "${ac_cv_header_stdc+set}" = set; then : 1.7498 + $as_echo_n "(cached) " >&6 1.7499 +else 1.7500 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.7501 +/* end confdefs.h. */ 1.7502 +#include <stdlib.h> 1.7503 +#include <stdarg.h> 1.7504 +#include <string.h> 1.7505 +#include <float.h> 1.7506 + 1.7507 +int 1.7508 +main () 1.7509 +{ 1.7510 + 1.7511 + ; 1.7512 + return 0; 1.7513 +} 1.7514 +_ACEOF 1.7515 +if ac_fn_c_try_compile "$LINENO"; then : 1.7516 + ac_cv_header_stdc=yes 1.7517 +else 1.7518 + ac_cv_header_stdc=no 1.7519 +fi 1.7520 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1.7521 + 1.7522 +if test $ac_cv_header_stdc = yes; then 1.7523 + # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 1.7524 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.7525 +/* end confdefs.h. */ 1.7526 +#include <string.h> 1.7527 + 1.7528 +_ACEOF 1.7529 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 1.7530 + $EGREP "memchr" >/dev/null 2>&1; then : 1.7531 + 1.7532 +else 1.7533 + ac_cv_header_stdc=no 1.7534 +fi 1.7535 +rm -f conftest* 1.7536 + 1.7537 +fi 1.7538 + 1.7539 +if test $ac_cv_header_stdc = yes; then 1.7540 + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 1.7541 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.7542 +/* end confdefs.h. */ 1.7543 +#include <stdlib.h> 1.7544 + 1.7545 +_ACEOF 1.7546 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 1.7547 + $EGREP "free" >/dev/null 2>&1; then : 1.7548 + 1.7549 +else 1.7550 + ac_cv_header_stdc=no 1.7551 +fi 1.7552 +rm -f conftest* 1.7553 + 1.7554 +fi 1.7555 + 1.7556 +if test $ac_cv_header_stdc = yes; then 1.7557 + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 1.7558 + if test "$cross_compiling" = yes; then : 1.7559 + : 1.7560 +else 1.7561 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.7562 +/* end confdefs.h. */ 1.7563 +#include <ctype.h> 1.7564 +#include <stdlib.h> 1.7565 +#if ((' ' & 0x0FF) == 0x020) 1.7566 +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 1.7567 +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 1.7568 +#else 1.7569 +# define ISLOWER(c) \ 1.7570 + (('a' <= (c) && (c) <= 'i') \ 1.7571 + || ('j' <= (c) && (c) <= 'r') \ 1.7572 + || ('s' <= (c) && (c) <= 'z')) 1.7573 +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 1.7574 +#endif 1.7575 + 1.7576 +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 1.7577 +int 1.7578 +main () 1.7579 +{ 1.7580 + int i; 1.7581 + for (i = 0; i < 256; i++) 1.7582 + if (XOR (islower (i), ISLOWER (i)) 1.7583 + || toupper (i) != TOUPPER (i)) 1.7584 + return 2; 1.7585 + return 0; 1.7586 +} 1.7587 +_ACEOF 1.7588 +if ac_fn_c_try_run "$LINENO"; then : 1.7589 + 1.7590 +else 1.7591 + ac_cv_header_stdc=no 1.7592 +fi 1.7593 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 1.7594 + conftest.$ac_objext conftest.beam conftest.$ac_ext 1.7595 +fi 1.7596 + 1.7597 +fi 1.7598 +fi 1.7599 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 1.7600 +$as_echo "$ac_cv_header_stdc" >&6; } 1.7601 +if test $ac_cv_header_stdc = yes; then 1.7602 + 1.7603 +$as_echo "#define STDC_HEADERS 1" >>confdefs.h 1.7604 + 1.7605 +fi 1.7606 + 1.7607 +# On IRIX 5.3, sys/types and inttypes.h are conflicting. 1.7608 +for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 1.7609 + inttypes.h stdint.h unistd.h 1.7610 +do : 1.7611 + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 1.7612 +ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 1.7613 +" 1.7614 +eval as_val=\$$as_ac_Header 1.7615 + if test "x$as_val" = x""yes; then : 1.7616 + cat >>confdefs.h <<_ACEOF 1.7617 +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 1.7618 +_ACEOF 1.7619 + 1.7620 +fi 1.7621 + 1.7622 +done 1.7623 + 1.7624 + 1.7625 +for ac_header in dlfcn.h 1.7626 +do : 1.7627 + ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 1.7628 +" 1.7629 +if test "x$ac_cv_header_dlfcn_h" = x""yes; then : 1.7630 + cat >>confdefs.h <<_ACEOF 1.7631 +#define HAVE_DLFCN_H 1 1.7632 +_ACEOF 1.7633 + 1.7634 +fi 1.7635 + 1.7636 +done 1.7637 + 1.7638 + 1.7639 + 1.7640 +ac_ext=cpp 1.7641 +ac_cpp='$CXXCPP $CPPFLAGS' 1.7642 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1.7643 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1.7644 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 1.7645 +if test -z "$CXX"; then 1.7646 + if test -n "$CCC"; then 1.7647 + CXX=$CCC 1.7648 + else 1.7649 + if test -n "$ac_tool_prefix"; then 1.7650 + for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 1.7651 + do 1.7652 + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 1.7653 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2 1.7654 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 1.7655 +$as_echo_n "checking for $ac_word... " >&6; } 1.7656 +if test "${ac_cv_prog_CXX+set}" = set; then : 1.7657 + $as_echo_n "(cached) " >&6 1.7658 +else 1.7659 + if test -n "$CXX"; then 1.7660 + ac_cv_prog_CXX="$CXX" # Let the user override the test. 1.7661 +else 1.7662 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1.7663 +for as_dir in $PATH 1.7664 +do 1.7665 + IFS=$as_save_IFS 1.7666 + test -z "$as_dir" && as_dir=. 1.7667 + for ac_exec_ext in '' $ac_executable_extensions; do 1.7668 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1.7669 + ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 1.7670 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1.7671 + break 2 1.7672 + fi 1.7673 +done 1.7674 + done 1.7675 +IFS=$as_save_IFS 1.7676 + 1.7677 +fi 1.7678 +fi 1.7679 +CXX=$ac_cv_prog_CXX 1.7680 +if test -n "$CXX"; then 1.7681 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 1.7682 +$as_echo "$CXX" >&6; } 1.7683 +else 1.7684 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1.7685 +$as_echo "no" >&6; } 1.7686 +fi 1.7687 + 1.7688 + 1.7689 + test -n "$CXX" && break 1.7690 + done 1.7691 +fi 1.7692 +if test -z "$CXX"; then 1.7693 + ac_ct_CXX=$CXX 1.7694 + for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 1.7695 +do 1.7696 + # Extract the first word of "$ac_prog", so it can be a program name with args. 1.7697 +set dummy $ac_prog; ac_word=$2 1.7698 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 1.7699 +$as_echo_n "checking for $ac_word... " >&6; } 1.7700 +if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then : 1.7701 + $as_echo_n "(cached) " >&6 1.7702 +else 1.7703 + if test -n "$ac_ct_CXX"; then 1.7704 + ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 1.7705 +else 1.7706 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1.7707 +for as_dir in $PATH 1.7708 +do 1.7709 + IFS=$as_save_IFS 1.7710 + test -z "$as_dir" && as_dir=. 1.7711 + for ac_exec_ext in '' $ac_executable_extensions; do 1.7712 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1.7713 + ac_cv_prog_ac_ct_CXX="$ac_prog" 1.7714 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1.7715 + break 2 1.7716 + fi 1.7717 +done 1.7718 + done 1.7719 +IFS=$as_save_IFS 1.7720 + 1.7721 +fi 1.7722 +fi 1.7723 +ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 1.7724 +if test -n "$ac_ct_CXX"; then 1.7725 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 1.7726 +$as_echo "$ac_ct_CXX" >&6; } 1.7727 +else 1.7728 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1.7729 +$as_echo "no" >&6; } 1.7730 +fi 1.7731 + 1.7732 + 1.7733 + test -n "$ac_ct_CXX" && break 1.7734 +done 1.7735 + 1.7736 + if test "x$ac_ct_CXX" = x; then 1.7737 + CXX="g++" 1.7738 + else 1.7739 + case $cross_compiling:$ac_tool_warned in 1.7740 +yes:) 1.7741 +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 1.7742 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 1.7743 +ac_tool_warned=yes ;; 1.7744 +esac 1.7745 + CXX=$ac_ct_CXX 1.7746 + fi 1.7747 +fi 1.7748 + 1.7749 + fi 1.7750 +fi 1.7751 +# Provide some information about the compiler. 1.7752 +$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 1.7753 +set X $ac_compile 1.7754 +ac_compiler=$2 1.7755 +for ac_option in --version -v -V -qversion; do 1.7756 + { { ac_try="$ac_compiler $ac_option >&5" 1.7757 +case "(($ac_try" in 1.7758 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1.7759 + *) ac_try_echo=$ac_try;; 1.7760 +esac 1.7761 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1.7762 +$as_echo "$ac_try_echo"; } >&5 1.7763 + (eval "$ac_compiler $ac_option >&5") 2>conftest.err 1.7764 + ac_status=$? 1.7765 + if test -s conftest.err; then 1.7766 + sed '10a\ 1.7767 +... rest of stderr output deleted ... 1.7768 + 10q' conftest.err >conftest.er1 1.7769 + cat conftest.er1 >&5 1.7770 + fi 1.7771 + rm -f conftest.er1 conftest.err 1.7772 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1.7773 + test $ac_status = 0; } 1.7774 +done 1.7775 + 1.7776 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 1.7777 +$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 1.7778 +if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : 1.7779 + $as_echo_n "(cached) " >&6 1.7780 +else 1.7781 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.7782 +/* end confdefs.h. */ 1.7783 + 1.7784 +int 1.7785 +main () 1.7786 +{ 1.7787 +#ifndef __GNUC__ 1.7788 + choke me 1.7789 +#endif 1.7790 + 1.7791 + ; 1.7792 + return 0; 1.7793 +} 1.7794 +_ACEOF 1.7795 +if ac_fn_cxx_try_compile "$LINENO"; then : 1.7796 + ac_compiler_gnu=yes 1.7797 +else 1.7798 + ac_compiler_gnu=no 1.7799 +fi 1.7800 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1.7801 +ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 1.7802 + 1.7803 +fi 1.7804 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 1.7805 +$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 1.7806 +if test $ac_compiler_gnu = yes; then 1.7807 + GXX=yes 1.7808 +else 1.7809 + GXX= 1.7810 +fi 1.7811 +ac_test_CXXFLAGS=${CXXFLAGS+set} 1.7812 +ac_save_CXXFLAGS=$CXXFLAGS 1.7813 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 1.7814 +$as_echo_n "checking whether $CXX accepts -g... " >&6; } 1.7815 +if test "${ac_cv_prog_cxx_g+set}" = set; then : 1.7816 + $as_echo_n "(cached) " >&6 1.7817 +else 1.7818 + ac_save_cxx_werror_flag=$ac_cxx_werror_flag 1.7819 + ac_cxx_werror_flag=yes 1.7820 + ac_cv_prog_cxx_g=no 1.7821 + CXXFLAGS="-g" 1.7822 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.7823 +/* end confdefs.h. */ 1.7824 + 1.7825 +int 1.7826 +main () 1.7827 +{ 1.7828 + 1.7829 + ; 1.7830 + return 0; 1.7831 +} 1.7832 +_ACEOF 1.7833 +if ac_fn_cxx_try_compile "$LINENO"; then : 1.7834 + ac_cv_prog_cxx_g=yes 1.7835 +else 1.7836 + CXXFLAGS="" 1.7837 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.7838 +/* end confdefs.h. */ 1.7839 + 1.7840 +int 1.7841 +main () 1.7842 +{ 1.7843 + 1.7844 + ; 1.7845 + return 0; 1.7846 +} 1.7847 +_ACEOF 1.7848 +if ac_fn_cxx_try_compile "$LINENO"; then : 1.7849 + 1.7850 +else 1.7851 + ac_cxx_werror_flag=$ac_save_cxx_werror_flag 1.7852 + CXXFLAGS="-g" 1.7853 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.7854 +/* end confdefs.h. */ 1.7855 + 1.7856 +int 1.7857 +main () 1.7858 +{ 1.7859 + 1.7860 + ; 1.7861 + return 0; 1.7862 +} 1.7863 +_ACEOF 1.7864 +if ac_fn_cxx_try_compile "$LINENO"; then : 1.7865 + ac_cv_prog_cxx_g=yes 1.7866 +fi 1.7867 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1.7868 +fi 1.7869 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1.7870 +fi 1.7871 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1.7872 + ac_cxx_werror_flag=$ac_save_cxx_werror_flag 1.7873 +fi 1.7874 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 1.7875 +$as_echo "$ac_cv_prog_cxx_g" >&6; } 1.7876 +if test "$ac_test_CXXFLAGS" = set; then 1.7877 + CXXFLAGS=$ac_save_CXXFLAGS 1.7878 +elif test $ac_cv_prog_cxx_g = yes; then 1.7879 + if test "$GXX" = yes; then 1.7880 + CXXFLAGS="-g -O2" 1.7881 + else 1.7882 + CXXFLAGS="-g" 1.7883 + fi 1.7884 +else 1.7885 + if test "$GXX" = yes; then 1.7886 + CXXFLAGS="-O2" 1.7887 + else 1.7888 + CXXFLAGS= 1.7889 + fi 1.7890 +fi 1.7891 +ac_ext=cpp 1.7892 +ac_cpp='$CXXCPP $CPPFLAGS' 1.7893 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1.7894 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1.7895 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 1.7896 + 1.7897 +depcc="$CXX" am_compiler_list= 1.7898 + 1.7899 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 1.7900 +$as_echo_n "checking dependency style of $depcc... " >&6; } 1.7901 +if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then : 1.7902 + $as_echo_n "(cached) " >&6 1.7903 +else 1.7904 + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 1.7905 + # We make a subdir and do the tests there. Otherwise we can end up 1.7906 + # making bogus files that we don't know about and never remove. For 1.7907 + # instance it was reported that on HP-UX the gcc test will end up 1.7908 + # making a dummy file named `D' -- because `-MD' means `put the output 1.7909 + # in D'. 1.7910 + mkdir conftest.dir 1.7911 + # Copy depcomp to subdir because otherwise we won't find it if we're 1.7912 + # using a relative directory. 1.7913 + cp "$am_depcomp" conftest.dir 1.7914 + cd conftest.dir 1.7915 + # We will build objects and dependencies in a subdirectory because 1.7916 + # it helps to detect inapplicable dependency modes. For instance 1.7917 + # both Tru64's cc and ICC support -MD to output dependencies as a 1.7918 + # side effect of compilation, but ICC will put the dependencies in 1.7919 + # the current directory while Tru64 will put them in the object 1.7920 + # directory. 1.7921 + mkdir sub 1.7922 + 1.7923 + am_cv_CXX_dependencies_compiler_type=none 1.7924 + if test "$am_compiler_list" = ""; then 1.7925 + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 1.7926 + fi 1.7927 + am__universal=false 1.7928 + case " $depcc " in #( 1.7929 + *\ -arch\ *\ -arch\ *) am__universal=true ;; 1.7930 + esac 1.7931 + 1.7932 + for depmode in $am_compiler_list; do 1.7933 + # Setup a source with many dependencies, because some compilers 1.7934 + # like to wrap large dependency lists on column 80 (with \), and 1.7935 + # we should not choose a depcomp mode which is confused by this. 1.7936 + # 1.7937 + # We need to recreate these files for each test, as the compiler may 1.7938 + # overwrite some of them when testing with obscure command lines. 1.7939 + # This happens at least with the AIX C compiler. 1.7940 + : > sub/conftest.c 1.7941 + for i in 1 2 3 4 5 6; do 1.7942 + echo '#include "conftst'$i'.h"' >> sub/conftest.c 1.7943 + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 1.7944 + # Solaris 8's {/usr,}/bin/sh. 1.7945 + touch sub/conftst$i.h 1.7946 + done 1.7947 + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 1.7948 + 1.7949 + # We check with `-c' and `-o' for the sake of the "dashmstdout" 1.7950 + # mode. It turns out that the SunPro C++ compiler does not properly 1.7951 + # handle `-M -o', and we need to detect this. Also, some Intel 1.7952 + # versions had trouble with output in subdirs 1.7953 + am__obj=sub/conftest.${OBJEXT-o} 1.7954 + am__minus_obj="-o $am__obj" 1.7955 + case $depmode in 1.7956 + gcc) 1.7957 + # This depmode causes a compiler race in universal mode. 1.7958 + test "$am__universal" = false || continue 1.7959 + ;; 1.7960 + nosideeffect) 1.7961 + # after this tag, mechanisms are not by side-effect, so they'll 1.7962 + # only be used when explicitly requested 1.7963 + if test "x$enable_dependency_tracking" = xyes; then 1.7964 + continue 1.7965 + else 1.7966 + break 1.7967 + fi 1.7968 + ;; 1.7969 + msvisualcpp | msvcmsys) 1.7970 + # This compiler won't grok `-c -o', but also, the minuso test has 1.7971 + # not run yet. These depmodes are late enough in the game, and 1.7972 + # so weak that their functioning should not be impacted. 1.7973 + am__obj=conftest.${OBJEXT-o} 1.7974 + am__minus_obj= 1.7975 + ;; 1.7976 + none) break ;; 1.7977 + esac 1.7978 + if depmode=$depmode \ 1.7979 + source=sub/conftest.c object=$am__obj \ 1.7980 + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 1.7981 + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 1.7982 + >/dev/null 2>conftest.err && 1.7983 + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 1.7984 + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 1.7985 + grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 1.7986 + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 1.7987 + # icc doesn't choke on unknown options, it will just issue warnings 1.7988 + # or remarks (even with -Werror). So we grep stderr for any message 1.7989 + # that says an option was ignored or not supported. 1.7990 + # When given -MP, icc 7.0 and 7.1 complain thusly: 1.7991 + # icc: Command line warning: ignoring option '-M'; no argument required 1.7992 + # The diagnosis changed in icc 8.0: 1.7993 + # icc: Command line remark: option '-MP' not supported 1.7994 + if (grep 'ignoring option' conftest.err || 1.7995 + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 1.7996 + am_cv_CXX_dependencies_compiler_type=$depmode 1.7997 + break 1.7998 + fi 1.7999 + fi 1.8000 + done 1.8001 + 1.8002 + cd .. 1.8003 + rm -rf conftest.dir 1.8004 +else 1.8005 + am_cv_CXX_dependencies_compiler_type=none 1.8006 +fi 1.8007 + 1.8008 +fi 1.8009 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 1.8010 +$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } 1.8011 +CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type 1.8012 + 1.8013 + if 1.8014 + test "x$enable_dependency_tracking" != xno \ 1.8015 + && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then 1.8016 + am__fastdepCXX_TRUE= 1.8017 + am__fastdepCXX_FALSE='#' 1.8018 +else 1.8019 + am__fastdepCXX_TRUE='#' 1.8020 + am__fastdepCXX_FALSE= 1.8021 +fi 1.8022 + 1.8023 + 1.8024 +if test -n "$CXX" && ( test "X$CXX" != "Xno" && 1.8025 + ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || 1.8026 + (test "X$CXX" != "Xg++"))) ; then 1.8027 + ac_ext=cpp 1.8028 +ac_cpp='$CXXCPP $CPPFLAGS' 1.8029 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1.8030 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1.8031 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 1.8032 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 1.8033 +$as_echo_n "checking how to run the C++ preprocessor... " >&6; } 1.8034 +if test -z "$CXXCPP"; then 1.8035 + if test "${ac_cv_prog_CXXCPP+set}" = set; then : 1.8036 + $as_echo_n "(cached) " >&6 1.8037 +else 1.8038 + # Double quotes because CXXCPP needs to be expanded 1.8039 + for CXXCPP in "$CXX -E" "/lib/cpp" 1.8040 + do 1.8041 + ac_preproc_ok=false 1.8042 +for ac_cxx_preproc_warn_flag in '' yes 1.8043 +do 1.8044 + # Use a header file that comes with gcc, so configuring glibc 1.8045 + # with a fresh cross-compiler works. 1.8046 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1.8047 + # <limits.h> exists even on freestanding compilers. 1.8048 + # On the NeXT, cc -E runs the code through the compiler's parser, 1.8049 + # not just through cpp. "Syntax error" is here to catch this case. 1.8050 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.8051 +/* end confdefs.h. */ 1.8052 +#ifdef __STDC__ 1.8053 +# include <limits.h> 1.8054 +#else 1.8055 +# include <assert.h> 1.8056 +#endif 1.8057 + Syntax error 1.8058 +_ACEOF 1.8059 +if ac_fn_cxx_try_cpp "$LINENO"; then : 1.8060 + 1.8061 +else 1.8062 + # Broken: fails on valid input. 1.8063 +continue 1.8064 +fi 1.8065 +rm -f conftest.err conftest.$ac_ext 1.8066 + 1.8067 + # OK, works on sane cases. Now check whether nonexistent headers 1.8068 + # can be detected and how. 1.8069 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.8070 +/* end confdefs.h. */ 1.8071 +#include <ac_nonexistent.h> 1.8072 +_ACEOF 1.8073 +if ac_fn_cxx_try_cpp "$LINENO"; then : 1.8074 + # Broken: success on invalid input. 1.8075 +continue 1.8076 +else 1.8077 + # Passes both tests. 1.8078 +ac_preproc_ok=: 1.8079 +break 1.8080 +fi 1.8081 +rm -f conftest.err conftest.$ac_ext 1.8082 + 1.8083 +done 1.8084 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 1.8085 +rm -f conftest.err conftest.$ac_ext 1.8086 +if $ac_preproc_ok; then : 1.8087 + break 1.8088 +fi 1.8089 + 1.8090 + done 1.8091 + ac_cv_prog_CXXCPP=$CXXCPP 1.8092 + 1.8093 +fi 1.8094 + CXXCPP=$ac_cv_prog_CXXCPP 1.8095 +else 1.8096 + ac_cv_prog_CXXCPP=$CXXCPP 1.8097 +fi 1.8098 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5 1.8099 +$as_echo "$CXXCPP" >&6; } 1.8100 +ac_preproc_ok=false 1.8101 +for ac_cxx_preproc_warn_flag in '' yes 1.8102 +do 1.8103 + # Use a header file that comes with gcc, so configuring glibc 1.8104 + # with a fresh cross-compiler works. 1.8105 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1.8106 + # <limits.h> exists even on freestanding compilers. 1.8107 + # On the NeXT, cc -E runs the code through the compiler's parser, 1.8108 + # not just through cpp. "Syntax error" is here to catch this case. 1.8109 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.8110 +/* end confdefs.h. */ 1.8111 +#ifdef __STDC__ 1.8112 +# include <limits.h> 1.8113 +#else 1.8114 +# include <assert.h> 1.8115 +#endif 1.8116 + Syntax error 1.8117 +_ACEOF 1.8118 +if ac_fn_cxx_try_cpp "$LINENO"; then : 1.8119 + 1.8120 +else 1.8121 + # Broken: fails on valid input. 1.8122 +continue 1.8123 +fi 1.8124 +rm -f conftest.err conftest.$ac_ext 1.8125 + 1.8126 + # OK, works on sane cases. Now check whether nonexistent headers 1.8127 + # can be detected and how. 1.8128 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.8129 +/* end confdefs.h. */ 1.8130 +#include <ac_nonexistent.h> 1.8131 +_ACEOF 1.8132 +if ac_fn_cxx_try_cpp "$LINENO"; then : 1.8133 + # Broken: success on invalid input. 1.8134 +continue 1.8135 +else 1.8136 + # Passes both tests. 1.8137 +ac_preproc_ok=: 1.8138 +break 1.8139 +fi 1.8140 +rm -f conftest.err conftest.$ac_ext 1.8141 + 1.8142 +done 1.8143 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 1.8144 +rm -f conftest.err conftest.$ac_ext 1.8145 +if $ac_preproc_ok; then : 1.8146 + 1.8147 +else 1.8148 + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1.8149 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1.8150 +_lt_caught_CXX_error=yes; } 1.8151 +fi 1.8152 + 1.8153 +ac_ext=cpp 1.8154 +ac_cpp='$CXXCPP $CPPFLAGS' 1.8155 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1.8156 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1.8157 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 1.8158 + 1.8159 +else 1.8160 + _lt_caught_CXX_error=yes 1.8161 +fi 1.8162 + 1.8163 + 1.8164 + 1.8165 + 1.8166 + 1.8167 +# Set options 1.8168 + 1.8169 + 1.8170 + 1.8171 + enable_dlopen=no 1.8172 + 1.8173 + 1.8174 + enable_win32_dll=no 1.8175 + 1.8176 + 1.8177 + # Check whether --enable-shared was given. 1.8178 +if test "${enable_shared+set}" = set; then : 1.8179 + enableval=$enable_shared; p=${PACKAGE-default} 1.8180 + case $enableval in 1.8181 + yes) enable_shared=yes ;; 1.8182 + no) enable_shared=no ;; 1.8183 + *) 1.8184 + enable_shared=no 1.8185 + # Look at the argument we got. We use all the common list separators. 1.8186 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 1.8187 + for pkg in $enableval; do 1.8188 + IFS="$lt_save_ifs" 1.8189 + if test "X$pkg" = "X$p"; then 1.8190 + enable_shared=yes 1.8191 + fi 1.8192 + done 1.8193 + IFS="$lt_save_ifs" 1.8194 + ;; 1.8195 + esac 1.8196 +else 1.8197 + enable_shared=yes 1.8198 +fi 1.8199 + 1.8200 + 1.8201 + 1.8202 + 1.8203 + 1.8204 + 1.8205 + 1.8206 + 1.8207 + 1.8208 + # Check whether --enable-static was given. 1.8209 +if test "${enable_static+set}" = set; then : 1.8210 + enableval=$enable_static; p=${PACKAGE-default} 1.8211 + case $enableval in 1.8212 + yes) enable_static=yes ;; 1.8213 + no) enable_static=no ;; 1.8214 + *) 1.8215 + enable_static=no 1.8216 + # Look at the argument we got. We use all the common list separators. 1.8217 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 1.8218 + for pkg in $enableval; do 1.8219 + IFS="$lt_save_ifs" 1.8220 + if test "X$pkg" = "X$p"; then 1.8221 + enable_static=yes 1.8222 + fi 1.8223 + done 1.8224 + IFS="$lt_save_ifs" 1.8225 + ;; 1.8226 + esac 1.8227 +else 1.8228 + enable_static=yes 1.8229 +fi 1.8230 + 1.8231 + 1.8232 + 1.8233 + 1.8234 + 1.8235 + 1.8236 + 1.8237 + 1.8238 + 1.8239 + 1.8240 +# Check whether --with-pic was given. 1.8241 +if test "${with_pic+set}" = set; then : 1.8242 + withval=$with_pic; pic_mode="$withval" 1.8243 +else 1.8244 + pic_mode=default 1.8245 +fi 1.8246 + 1.8247 + 1.8248 +test -z "$pic_mode" && pic_mode=default 1.8249 + 1.8250 + 1.8251 + 1.8252 + 1.8253 + 1.8254 + 1.8255 + 1.8256 + # Check whether --enable-fast-install was given. 1.8257 +if test "${enable_fast_install+set}" = set; then : 1.8258 + enableval=$enable_fast_install; p=${PACKAGE-default} 1.8259 + case $enableval in 1.8260 + yes) enable_fast_install=yes ;; 1.8261 + no) enable_fast_install=no ;; 1.8262 + *) 1.8263 + enable_fast_install=no 1.8264 + # Look at the argument we got. We use all the common list separators. 1.8265 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 1.8266 + for pkg in $enableval; do 1.8267 + IFS="$lt_save_ifs" 1.8268 + if test "X$pkg" = "X$p"; then 1.8269 + enable_fast_install=yes 1.8270 + fi 1.8271 + done 1.8272 + IFS="$lt_save_ifs" 1.8273 + ;; 1.8274 + esac 1.8275 +else 1.8276 + enable_fast_install=yes 1.8277 +fi 1.8278 + 1.8279 + 1.8280 + 1.8281 + 1.8282 + 1.8283 + 1.8284 + 1.8285 + 1.8286 + 1.8287 + 1.8288 + 1.8289 +# This can be used to rebuild libtool when needed 1.8290 +LIBTOOL_DEPS="$ltmain" 1.8291 + 1.8292 +# Always use our own libtool. 1.8293 +LIBTOOL='$(SHELL) $(top_builddir)/libtool' 1.8294 + 1.8295 + 1.8296 + 1.8297 + 1.8298 + 1.8299 + 1.8300 + 1.8301 + 1.8302 + 1.8303 + 1.8304 + 1.8305 + 1.8306 + 1.8307 + 1.8308 + 1.8309 + 1.8310 + 1.8311 + 1.8312 + 1.8313 + 1.8314 + 1.8315 + 1.8316 + 1.8317 + 1.8318 + 1.8319 +test -z "$LN_S" && LN_S="ln -s" 1.8320 + 1.8321 + 1.8322 + 1.8323 + 1.8324 + 1.8325 + 1.8326 + 1.8327 + 1.8328 + 1.8329 + 1.8330 + 1.8331 + 1.8332 + 1.8333 + 1.8334 +if test -n "${ZSH_VERSION+set}" ; then 1.8335 + setopt NO_GLOB_SUBST 1.8336 +fi 1.8337 + 1.8338 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 1.8339 +$as_echo_n "checking for objdir... " >&6; } 1.8340 +if test "${lt_cv_objdir+set}" = set; then : 1.8341 + $as_echo_n "(cached) " >&6 1.8342 +else 1.8343 + rm -f .libs 2>/dev/null 1.8344 +mkdir .libs 2>/dev/null 1.8345 +if test -d .libs; then 1.8346 + lt_cv_objdir=.libs 1.8347 +else 1.8348 + # MS-DOS does not allow filenames that begin with a dot. 1.8349 + lt_cv_objdir=_libs 1.8350 +fi 1.8351 +rmdir .libs 2>/dev/null 1.8352 +fi 1.8353 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 1.8354 +$as_echo "$lt_cv_objdir" >&6; } 1.8355 +objdir=$lt_cv_objdir 1.8356 + 1.8357 + 1.8358 + 1.8359 + 1.8360 + 1.8361 +cat >>confdefs.h <<_ACEOF 1.8362 +#define LT_OBJDIR "$lt_cv_objdir/" 1.8363 +_ACEOF 1.8364 + 1.8365 + 1.8366 + 1.8367 + 1.8368 + 1.8369 + 1.8370 + 1.8371 + 1.8372 + 1.8373 + 1.8374 + 1.8375 + 1.8376 + 1.8377 + 1.8378 + 1.8379 + 1.8380 + 1.8381 +case $host_os in 1.8382 +aix3*) 1.8383 + # AIX sometimes has problems with the GCC collect2 program. For some 1.8384 + # reason, if we set the COLLECT_NAMES environment variable, the problems 1.8385 + # vanish in a puff of smoke. 1.8386 + if test "X${COLLECT_NAMES+set}" != Xset; then 1.8387 + COLLECT_NAMES= 1.8388 + export COLLECT_NAMES 1.8389 + fi 1.8390 + ;; 1.8391 +esac 1.8392 + 1.8393 +# Sed substitution that helps us do robust quoting. It backslashifies 1.8394 +# metacharacters that are still active within double-quoted strings. 1.8395 +sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 1.8396 + 1.8397 +# Same as above, but do not quote variable references. 1.8398 +double_quote_subst='s/\(["`\\]\)/\\\1/g' 1.8399 + 1.8400 +# Sed substitution to delay expansion of an escaped shell variable in a 1.8401 +# double_quote_subst'ed string. 1.8402 +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 1.8403 + 1.8404 +# Sed substitution to delay expansion of an escaped single quote. 1.8405 +delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 1.8406 + 1.8407 +# Sed substitution to avoid accidental globbing in evaled expressions 1.8408 +no_glob_subst='s/\*/\\\*/g' 1.8409 + 1.8410 +# Global variables: 1.8411 +ofile=libtool 1.8412 +can_build_shared=yes 1.8413 + 1.8414 +# All known linkers require a `.a' archive for static linking (except MSVC, 1.8415 +# which needs '.lib'). 1.8416 +libext=a 1.8417 + 1.8418 +with_gnu_ld="$lt_cv_prog_gnu_ld" 1.8419 + 1.8420 +old_CC="$CC" 1.8421 +old_CFLAGS="$CFLAGS" 1.8422 + 1.8423 +# Set sane defaults for various variables 1.8424 +test -z "$CC" && CC=cc 1.8425 +test -z "$LTCC" && LTCC=$CC 1.8426 +test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 1.8427 +test -z "$LD" && LD=ld 1.8428 +test -z "$ac_objext" && ac_objext=o 1.8429 + 1.8430 +for cc_temp in $compiler""; do 1.8431 + case $cc_temp in 1.8432 + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 1.8433 + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 1.8434 + \-*) ;; 1.8435 + *) break;; 1.8436 + esac 1.8437 +done 1.8438 +cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` 1.8439 + 1.8440 + 1.8441 +# Only perform the check for file, if the check method requires it 1.8442 +test -z "$MAGIC_CMD" && MAGIC_CMD=file 1.8443 +case $deplibs_check_method in 1.8444 +file_magic*) 1.8445 + if test "$file_magic_cmd" = '$MAGIC_CMD'; then 1.8446 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 1.8447 +$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 1.8448 +if test "${lt_cv_path_MAGIC_CMD+set}" = set; then : 1.8449 + $as_echo_n "(cached) " >&6 1.8450 +else 1.8451 + case $MAGIC_CMD in 1.8452 +[\\/*] | ?:[\\/]*) 1.8453 + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 1.8454 + ;; 1.8455 +*) 1.8456 + lt_save_MAGIC_CMD="$MAGIC_CMD" 1.8457 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 1.8458 + ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 1.8459 + for ac_dir in $ac_dummy; do 1.8460 + IFS="$lt_save_ifs" 1.8461 + test -z "$ac_dir" && ac_dir=. 1.8462 + if test -f $ac_dir/${ac_tool_prefix}file; then 1.8463 + lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" 1.8464 + if test -n "$file_magic_test_file"; then 1.8465 + case $deplibs_check_method in 1.8466 + "file_magic "*) 1.8467 + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 1.8468 + MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 1.8469 + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 1.8470 + $EGREP "$file_magic_regex" > /dev/null; then 1.8471 + : 1.8472 + else 1.8473 + cat <<_LT_EOF 1>&2 1.8474 + 1.8475 +*** Warning: the command libtool uses to detect shared libraries, 1.8476 +*** $file_magic_cmd, produces output that libtool cannot recognize. 1.8477 +*** The result is that libtool may fail to recognize shared libraries 1.8478 +*** as such. This will affect the creation of libtool libraries that 1.8479 +*** depend on shared libraries, but programs linked with such libtool 1.8480 +*** libraries will work regardless of this problem. Nevertheless, you 1.8481 +*** may want to report the problem to your system manager and/or to 1.8482 +*** bug-libtool@gnu.org 1.8483 + 1.8484 +_LT_EOF 1.8485 + fi ;; 1.8486 + esac 1.8487 + fi 1.8488 + break 1.8489 + fi 1.8490 + done 1.8491 + IFS="$lt_save_ifs" 1.8492 + MAGIC_CMD="$lt_save_MAGIC_CMD" 1.8493 + ;; 1.8494 +esac 1.8495 +fi 1.8496 + 1.8497 +MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 1.8498 +if test -n "$MAGIC_CMD"; then 1.8499 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 1.8500 +$as_echo "$MAGIC_CMD" >&6; } 1.8501 +else 1.8502 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1.8503 +$as_echo "no" >&6; } 1.8504 +fi 1.8505 + 1.8506 + 1.8507 + 1.8508 + 1.8509 + 1.8510 +if test -z "$lt_cv_path_MAGIC_CMD"; then 1.8511 + if test -n "$ac_tool_prefix"; then 1.8512 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 1.8513 +$as_echo_n "checking for file... " >&6; } 1.8514 +if test "${lt_cv_path_MAGIC_CMD+set}" = set; then : 1.8515 + $as_echo_n "(cached) " >&6 1.8516 +else 1.8517 + case $MAGIC_CMD in 1.8518 +[\\/*] | ?:[\\/]*) 1.8519 + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 1.8520 + ;; 1.8521 +*) 1.8522 + lt_save_MAGIC_CMD="$MAGIC_CMD" 1.8523 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 1.8524 + ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 1.8525 + for ac_dir in $ac_dummy; do 1.8526 + IFS="$lt_save_ifs" 1.8527 + test -z "$ac_dir" && ac_dir=. 1.8528 + if test -f $ac_dir/file; then 1.8529 + lt_cv_path_MAGIC_CMD="$ac_dir/file" 1.8530 + if test -n "$file_magic_test_file"; then 1.8531 + case $deplibs_check_method in 1.8532 + "file_magic "*) 1.8533 + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 1.8534 + MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 1.8535 + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 1.8536 + $EGREP "$file_magic_regex" > /dev/null; then 1.8537 + : 1.8538 + else 1.8539 + cat <<_LT_EOF 1>&2 1.8540 + 1.8541 +*** Warning: the command libtool uses to detect shared libraries, 1.8542 +*** $file_magic_cmd, produces output that libtool cannot recognize. 1.8543 +*** The result is that libtool may fail to recognize shared libraries 1.8544 +*** as such. This will affect the creation of libtool libraries that 1.8545 +*** depend on shared libraries, but programs linked with such libtool 1.8546 +*** libraries will work regardless of this problem. Nevertheless, you 1.8547 +*** may want to report the problem to your system manager and/or to 1.8548 +*** bug-libtool@gnu.org 1.8549 + 1.8550 +_LT_EOF 1.8551 + fi ;; 1.8552 + esac 1.8553 + fi 1.8554 + break 1.8555 + fi 1.8556 + done 1.8557 + IFS="$lt_save_ifs" 1.8558 + MAGIC_CMD="$lt_save_MAGIC_CMD" 1.8559 + ;; 1.8560 +esac 1.8561 +fi 1.8562 + 1.8563 +MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 1.8564 +if test -n "$MAGIC_CMD"; then 1.8565 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 1.8566 +$as_echo "$MAGIC_CMD" >&6; } 1.8567 +else 1.8568 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1.8569 +$as_echo "no" >&6; } 1.8570 +fi 1.8571 + 1.8572 + 1.8573 + else 1.8574 + MAGIC_CMD=: 1.8575 + fi 1.8576 +fi 1.8577 + 1.8578 + fi 1.8579 + ;; 1.8580 +esac 1.8581 + 1.8582 +# Use C for the default configuration in the libtool script 1.8583 + 1.8584 +lt_save_CC="$CC" 1.8585 +ac_ext=c 1.8586 +ac_cpp='$CPP $CPPFLAGS' 1.8587 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1.8588 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1.8589 +ac_compiler_gnu=$ac_cv_c_compiler_gnu 1.8590 + 1.8591 + 1.8592 +# Source file extension for C test sources. 1.8593 +ac_ext=c 1.8594 + 1.8595 +# Object file extension for compiled C test sources. 1.8596 +objext=o 1.8597 +objext=$objext 1.8598 + 1.8599 +# Code to be used in simple compile tests 1.8600 +lt_simple_compile_test_code="int some_variable = 0;" 1.8601 + 1.8602 +# Code to be used in simple link tests 1.8603 +lt_simple_link_test_code='int main(){return(0);}' 1.8604 + 1.8605 + 1.8606 + 1.8607 + 1.8608 + 1.8609 + 1.8610 + 1.8611 +# If no C compiler was specified, use CC. 1.8612 +LTCC=${LTCC-"$CC"} 1.8613 + 1.8614 +# If no C compiler flags were specified, use CFLAGS. 1.8615 +LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 1.8616 + 1.8617 +# Allow CC to be a program name with arguments. 1.8618 +compiler=$CC 1.8619 + 1.8620 +# Save the default compiler, since it gets overwritten when the other 1.8621 +# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 1.8622 +compiler_DEFAULT=$CC 1.8623 + 1.8624 +# save warnings/boilerplate of simple test code 1.8625 +ac_outfile=conftest.$ac_objext 1.8626 +echo "$lt_simple_compile_test_code" >conftest.$ac_ext 1.8627 +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 1.8628 +_lt_compiler_boilerplate=`cat conftest.err` 1.8629 +$RM conftest* 1.8630 + 1.8631 +ac_outfile=conftest.$ac_objext 1.8632 +echo "$lt_simple_link_test_code" >conftest.$ac_ext 1.8633 +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 1.8634 +_lt_linker_boilerplate=`cat conftest.err` 1.8635 +$RM -r conftest* 1.8636 + 1.8637 + 1.8638 +## CAVEAT EMPTOR: 1.8639 +## There is no encapsulation within the following macros, do not change 1.8640 +## the running order or otherwise move them around unless you know exactly 1.8641 +## what you are doing... 1.8642 +if test -n "$compiler"; then 1.8643 + 1.8644 +lt_prog_compiler_no_builtin_flag= 1.8645 + 1.8646 +if test "$GCC" = yes; then 1.8647 + lt_prog_compiler_no_builtin_flag=' -fno-builtin' 1.8648 + 1.8649 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 1.8650 +$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 1.8651 +if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then : 1.8652 + $as_echo_n "(cached) " >&6 1.8653 +else 1.8654 + lt_cv_prog_compiler_rtti_exceptions=no 1.8655 + ac_outfile=conftest.$ac_objext 1.8656 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext 1.8657 + lt_compiler_flag="-fno-rtti -fno-exceptions" 1.8658 + # Insert the option either (1) after the last *FLAGS variable, or 1.8659 + # (2) before a word containing "conftest.", or (3) at the end. 1.8660 + # Note that $ac_compile itself does not contain backslashes and begins 1.8661 + # with a dollar sign (not a hyphen), so the echo should work correctly. 1.8662 + # The option is referenced via a variable to avoid confusing sed. 1.8663 + lt_compile=`echo "$ac_compile" | $SED \ 1.8664 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 1.8665 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 1.8666 + -e 's:$: $lt_compiler_flag:'` 1.8667 + (eval echo "\"\$as_me:8664: $lt_compile\"" >&5) 1.8668 + (eval "$lt_compile" 2>conftest.err) 1.8669 + ac_status=$? 1.8670 + cat conftest.err >&5 1.8671 + echo "$as_me:8668: \$? = $ac_status" >&5 1.8672 + if (exit $ac_status) && test -s "$ac_outfile"; then 1.8673 + # The compiler can only warn and ignore the option if not recognized 1.8674 + # So say no if there are warnings other than the usual output. 1.8675 + $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp 1.8676 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 1.8677 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 1.8678 + lt_cv_prog_compiler_rtti_exceptions=yes 1.8679 + fi 1.8680 + fi 1.8681 + $RM conftest* 1.8682 + 1.8683 +fi 1.8684 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 1.8685 +$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 1.8686 + 1.8687 +if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then 1.8688 + lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 1.8689 +else 1.8690 + : 1.8691 +fi 1.8692 + 1.8693 +fi 1.8694 + 1.8695 + 1.8696 + 1.8697 + 1.8698 + 1.8699 + 1.8700 + lt_prog_compiler_wl= 1.8701 +lt_prog_compiler_pic= 1.8702 +lt_prog_compiler_static= 1.8703 + 1.8704 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 1.8705 +$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 1.8706 + 1.8707 + if test "$GCC" = yes; then 1.8708 + lt_prog_compiler_wl='-Wl,' 1.8709 + lt_prog_compiler_static='-static' 1.8710 + 1.8711 + case $host_os in 1.8712 + aix*) 1.8713 + # All AIX code is PIC. 1.8714 + if test "$host_cpu" = ia64; then 1.8715 + # AIX 5 now supports IA64 processor 1.8716 + lt_prog_compiler_static='-Bstatic' 1.8717 + fi 1.8718 + ;; 1.8719 + 1.8720 + amigaos*) 1.8721 + case $host_cpu in 1.8722 + powerpc) 1.8723 + # see comment about AmigaOS4 .so support 1.8724 + lt_prog_compiler_pic='-fPIC' 1.8725 + ;; 1.8726 + m68k) 1.8727 + # FIXME: we need at least 68020 code to build shared libraries, but 1.8728 + # adding the `-m68020' flag to GCC prevents building anything better, 1.8729 + # like `-m68040'. 1.8730 + lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 1.8731 + ;; 1.8732 + esac 1.8733 + ;; 1.8734 + 1.8735 + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 1.8736 + # PIC is the default for these OSes. 1.8737 + ;; 1.8738 + 1.8739 + mingw* | cygwin* | pw32* | os2* | cegcc*) 1.8740 + # This hack is so that the source file can tell whether it is being 1.8741 + # built for inclusion in a dll (and should export symbols for example). 1.8742 + # Although the cygwin gcc ignores -fPIC, still need this for old-style 1.8743 + # (--disable-auto-import) libraries 1.8744 + lt_prog_compiler_pic='-DDLL_EXPORT' 1.8745 + ;; 1.8746 + 1.8747 + darwin* | rhapsody*) 1.8748 + # PIC is the default on this platform 1.8749 + # Common symbols not allowed in MH_DYLIB files 1.8750 + lt_prog_compiler_pic='-fno-common' 1.8751 + ;; 1.8752 + 1.8753 + hpux*) 1.8754 + # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 1.8755 + # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 1.8756 + # sets the default TLS model and affects inlining. 1.8757 + case $host_cpu in 1.8758 + hppa*64*) 1.8759 + # +Z the default 1.8760 + ;; 1.8761 + *) 1.8762 + lt_prog_compiler_pic='-fPIC' 1.8763 + ;; 1.8764 + esac 1.8765 + ;; 1.8766 + 1.8767 + interix[3-9]*) 1.8768 + # Interix 3.x gcc -fpic/-fPIC options generate broken code. 1.8769 + # Instead, we relocate shared libraries at runtime. 1.8770 + ;; 1.8771 + 1.8772 + msdosdjgpp*) 1.8773 + # Just because we use GCC doesn't mean we suddenly get shared libraries 1.8774 + # on systems that don't support them. 1.8775 + lt_prog_compiler_can_build_shared=no 1.8776 + enable_shared=no 1.8777 + ;; 1.8778 + 1.8779 + *nto* | *qnx*) 1.8780 + # QNX uses GNU C++, but need to define -shared option too, otherwise 1.8781 + # it will coredump. 1.8782 + lt_prog_compiler_pic='-fPIC -shared' 1.8783 + ;; 1.8784 + 1.8785 + sysv4*MP*) 1.8786 + if test -d /usr/nec; then 1.8787 + lt_prog_compiler_pic=-Kconform_pic 1.8788 + fi 1.8789 + ;; 1.8790 + 1.8791 + *) 1.8792 + lt_prog_compiler_pic='-fPIC' 1.8793 + ;; 1.8794 + esac 1.8795 + else 1.8796 + # PORTME Check for flag to pass linker flags through the system compiler. 1.8797 + case $host_os in 1.8798 + aix*) 1.8799 + lt_prog_compiler_wl='-Wl,' 1.8800 + if test "$host_cpu" = ia64; then 1.8801 + # AIX 5 now supports IA64 processor 1.8802 + lt_prog_compiler_static='-Bstatic' 1.8803 + else 1.8804 + lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 1.8805 + fi 1.8806 + ;; 1.8807 + 1.8808 + mingw* | cygwin* | pw32* | os2* | cegcc*) 1.8809 + # This hack is so that the source file can tell whether it is being 1.8810 + # built for inclusion in a dll (and should export symbols for example). 1.8811 + lt_prog_compiler_pic='-DDLL_EXPORT' 1.8812 + ;; 1.8813 + 1.8814 + hpux9* | hpux10* | hpux11*) 1.8815 + lt_prog_compiler_wl='-Wl,' 1.8816 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 1.8817 + # not for PA HP-UX. 1.8818 + case $host_cpu in 1.8819 + hppa*64*|ia64*) 1.8820 + # +Z the default 1.8821 + ;; 1.8822 + *) 1.8823 + lt_prog_compiler_pic='+Z' 1.8824 + ;; 1.8825 + esac 1.8826 + # Is there a better lt_prog_compiler_static that works with the bundled CC? 1.8827 + lt_prog_compiler_static='${wl}-a ${wl}archive' 1.8828 + ;; 1.8829 + 1.8830 + irix5* | irix6* | nonstopux*) 1.8831 + lt_prog_compiler_wl='-Wl,' 1.8832 + # PIC (with -KPIC) is the default. 1.8833 + lt_prog_compiler_static='-non_shared' 1.8834 + ;; 1.8835 + 1.8836 + linux* | k*bsd*-gnu | kopensolaris*-gnu) 1.8837 + case $cc_basename in 1.8838 + # old Intel for x86_64 which still supported -KPIC. 1.8839 + ecc*) 1.8840 + lt_prog_compiler_wl='-Wl,' 1.8841 + lt_prog_compiler_pic='-KPIC' 1.8842 + lt_prog_compiler_static='-static' 1.8843 + ;; 1.8844 + # icc used to be incompatible with GCC. 1.8845 + # ICC 10 doesn't accept -KPIC any more. 1.8846 + icc* | ifort*) 1.8847 + lt_prog_compiler_wl='-Wl,' 1.8848 + lt_prog_compiler_pic='-fPIC' 1.8849 + lt_prog_compiler_static='-static' 1.8850 + ;; 1.8851 + # Lahey Fortran 8.1. 1.8852 + lf95*) 1.8853 + lt_prog_compiler_wl='-Wl,' 1.8854 + lt_prog_compiler_pic='--shared' 1.8855 + lt_prog_compiler_static='--static' 1.8856 + ;; 1.8857 + pgcc* | pgf77* | pgf90* | pgf95*) 1.8858 + # Portland Group compilers (*not* the Pentium gcc compiler, 1.8859 + # which looks to be a dead project) 1.8860 + lt_prog_compiler_wl='-Wl,' 1.8861 + lt_prog_compiler_pic='-fpic' 1.8862 + lt_prog_compiler_static='-Bstatic' 1.8863 + ;; 1.8864 + ccc*) 1.8865 + lt_prog_compiler_wl='-Wl,' 1.8866 + # All Alpha code is PIC. 1.8867 + lt_prog_compiler_static='-non_shared' 1.8868 + ;; 1.8869 + xl*) 1.8870 + # IBM XL C 8.0/Fortran 10.1 on PPC 1.8871 + lt_prog_compiler_wl='-Wl,' 1.8872 + lt_prog_compiler_pic='-qpic' 1.8873 + lt_prog_compiler_static='-qstaticlink' 1.8874 + ;; 1.8875 + *) 1.8876 + case `$CC -V 2>&1 | sed 5q` in 1.8877 + *Sun\ C*) 1.8878 + # Sun C 5.9 1.8879 + lt_prog_compiler_pic='-KPIC' 1.8880 + lt_prog_compiler_static='-Bstatic' 1.8881 + lt_prog_compiler_wl='-Wl,' 1.8882 + ;; 1.8883 + *Sun\ F*) 1.8884 + # Sun Fortran 8.3 passes all unrecognized flags to the linker 1.8885 + lt_prog_compiler_pic='-KPIC' 1.8886 + lt_prog_compiler_static='-Bstatic' 1.8887 + lt_prog_compiler_wl='' 1.8888 + ;; 1.8889 + esac 1.8890 + ;; 1.8891 + esac 1.8892 + ;; 1.8893 + 1.8894 + newsos6) 1.8895 + lt_prog_compiler_pic='-KPIC' 1.8896 + lt_prog_compiler_static='-Bstatic' 1.8897 + ;; 1.8898 + 1.8899 + *nto* | *qnx*) 1.8900 + # QNX uses GNU C++, but need to define -shared option too, otherwise 1.8901 + # it will coredump. 1.8902 + lt_prog_compiler_pic='-fPIC -shared' 1.8903 + ;; 1.8904 + 1.8905 + osf3* | osf4* | osf5*) 1.8906 + lt_prog_compiler_wl='-Wl,' 1.8907 + # All OSF/1 code is PIC. 1.8908 + lt_prog_compiler_static='-non_shared' 1.8909 + ;; 1.8910 + 1.8911 + rdos*) 1.8912 + lt_prog_compiler_static='-non_shared' 1.8913 + ;; 1.8914 + 1.8915 + solaris*) 1.8916 + lt_prog_compiler_pic='-KPIC' 1.8917 + lt_prog_compiler_static='-Bstatic' 1.8918 + case $cc_basename in 1.8919 + f77* | f90* | f95*) 1.8920 + lt_prog_compiler_wl='-Qoption ld ';; 1.8921 + *) 1.8922 + lt_prog_compiler_wl='-Wl,';; 1.8923 + esac 1.8924 + ;; 1.8925 + 1.8926 + sunos4*) 1.8927 + lt_prog_compiler_wl='-Qoption ld ' 1.8928 + lt_prog_compiler_pic='-PIC' 1.8929 + lt_prog_compiler_static='-Bstatic' 1.8930 + ;; 1.8931 + 1.8932 + sysv4 | sysv4.2uw2* | sysv4.3*) 1.8933 + lt_prog_compiler_wl='-Wl,' 1.8934 + lt_prog_compiler_pic='-KPIC' 1.8935 + lt_prog_compiler_static='-Bstatic' 1.8936 + ;; 1.8937 + 1.8938 + sysv4*MP*) 1.8939 + if test -d /usr/nec ;then 1.8940 + lt_prog_compiler_pic='-Kconform_pic' 1.8941 + lt_prog_compiler_static='-Bstatic' 1.8942 + fi 1.8943 + ;; 1.8944 + 1.8945 + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 1.8946 + lt_prog_compiler_wl='-Wl,' 1.8947 + lt_prog_compiler_pic='-KPIC' 1.8948 + lt_prog_compiler_static='-Bstatic' 1.8949 + ;; 1.8950 + 1.8951 + unicos*) 1.8952 + lt_prog_compiler_wl='-Wl,' 1.8953 + lt_prog_compiler_can_build_shared=no 1.8954 + ;; 1.8955 + 1.8956 + uts4*) 1.8957 + lt_prog_compiler_pic='-pic' 1.8958 + lt_prog_compiler_static='-Bstatic' 1.8959 + ;; 1.8960 + 1.8961 + *) 1.8962 + lt_prog_compiler_can_build_shared=no 1.8963 + ;; 1.8964 + esac 1.8965 + fi 1.8966 + 1.8967 +case $host_os in 1.8968 + # For platforms which do not support PIC, -DPIC is meaningless: 1.8969 + *djgpp*) 1.8970 + lt_prog_compiler_pic= 1.8971 + ;; 1.8972 + *) 1.8973 + lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 1.8974 + ;; 1.8975 +esac 1.8976 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5 1.8977 +$as_echo "$lt_prog_compiler_pic" >&6; } 1.8978 + 1.8979 + 1.8980 + 1.8981 + 1.8982 + 1.8983 + 1.8984 +# 1.8985 +# Check to make sure the PIC flag actually works. 1.8986 +# 1.8987 +if test -n "$lt_prog_compiler_pic"; then 1.8988 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 1.8989 +$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 1.8990 +if test "${lt_cv_prog_compiler_pic_works+set}" = set; then : 1.8991 + $as_echo_n "(cached) " >&6 1.8992 +else 1.8993 + lt_cv_prog_compiler_pic_works=no 1.8994 + ac_outfile=conftest.$ac_objext 1.8995 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext 1.8996 + lt_compiler_flag="$lt_prog_compiler_pic -DPIC" 1.8997 + # Insert the option either (1) after the last *FLAGS variable, or 1.8998 + # (2) before a word containing "conftest.", or (3) at the end. 1.8999 + # Note that $ac_compile itself does not contain backslashes and begins 1.9000 + # with a dollar sign (not a hyphen), so the echo should work correctly. 1.9001 + # The option is referenced via a variable to avoid confusing sed. 1.9002 + lt_compile=`echo "$ac_compile" | $SED \ 1.9003 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 1.9004 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 1.9005 + -e 's:$: $lt_compiler_flag:'` 1.9006 + (eval echo "\"\$as_me:9003: $lt_compile\"" >&5) 1.9007 + (eval "$lt_compile" 2>conftest.err) 1.9008 + ac_status=$? 1.9009 + cat conftest.err >&5 1.9010 + echo "$as_me:9007: \$? = $ac_status" >&5 1.9011 + if (exit $ac_status) && test -s "$ac_outfile"; then 1.9012 + # The compiler can only warn and ignore the option if not recognized 1.9013 + # So say no if there are warnings other than the usual output. 1.9014 + $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp 1.9015 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 1.9016 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 1.9017 + lt_cv_prog_compiler_pic_works=yes 1.9018 + fi 1.9019 + fi 1.9020 + $RM conftest* 1.9021 + 1.9022 +fi 1.9023 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 1.9024 +$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 1.9025 + 1.9026 +if test x"$lt_cv_prog_compiler_pic_works" = xyes; then 1.9027 + case $lt_prog_compiler_pic in 1.9028 + "" | " "*) ;; 1.9029 + *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 1.9030 + esac 1.9031 +else 1.9032 + lt_prog_compiler_pic= 1.9033 + lt_prog_compiler_can_build_shared=no 1.9034 +fi 1.9035 + 1.9036 +fi 1.9037 + 1.9038 + 1.9039 + 1.9040 + 1.9041 + 1.9042 + 1.9043 +# 1.9044 +# Check to make sure the static flag actually works. 1.9045 +# 1.9046 +wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 1.9047 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 1.9048 +$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 1.9049 +if test "${lt_cv_prog_compiler_static_works+set}" = set; then : 1.9050 + $as_echo_n "(cached) " >&6 1.9051 +else 1.9052 + lt_cv_prog_compiler_static_works=no 1.9053 + save_LDFLAGS="$LDFLAGS" 1.9054 + LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 1.9055 + echo "$lt_simple_link_test_code" > conftest.$ac_ext 1.9056 + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 1.9057 + # The linker can only warn and ignore the option if not recognized 1.9058 + # So say no if there are warnings 1.9059 + if test -s conftest.err; then 1.9060 + # Append any errors to the config.log. 1.9061 + cat conftest.err 1>&5 1.9062 + $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp 1.9063 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 1.9064 + if diff conftest.exp conftest.er2 >/dev/null; then 1.9065 + lt_cv_prog_compiler_static_works=yes 1.9066 + fi 1.9067 + else 1.9068 + lt_cv_prog_compiler_static_works=yes 1.9069 + fi 1.9070 + fi 1.9071 + $RM -r conftest* 1.9072 + LDFLAGS="$save_LDFLAGS" 1.9073 + 1.9074 +fi 1.9075 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 1.9076 +$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 1.9077 + 1.9078 +if test x"$lt_cv_prog_compiler_static_works" = xyes; then 1.9079 + : 1.9080 +else 1.9081 + lt_prog_compiler_static= 1.9082 +fi 1.9083 + 1.9084 + 1.9085 + 1.9086 + 1.9087 + 1.9088 + 1.9089 + 1.9090 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 1.9091 +$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 1.9092 +if test "${lt_cv_prog_compiler_c_o+set}" = set; then : 1.9093 + $as_echo_n "(cached) " >&6 1.9094 +else 1.9095 + lt_cv_prog_compiler_c_o=no 1.9096 + $RM -r conftest 2>/dev/null 1.9097 + mkdir conftest 1.9098 + cd conftest 1.9099 + mkdir out 1.9100 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext 1.9101 + 1.9102 + lt_compiler_flag="-o out/conftest2.$ac_objext" 1.9103 + # Insert the option either (1) after the last *FLAGS variable, or 1.9104 + # (2) before a word containing "conftest.", or (3) at the end. 1.9105 + # Note that $ac_compile itself does not contain backslashes and begins 1.9106 + # with a dollar sign (not a hyphen), so the echo should work correctly. 1.9107 + lt_compile=`echo "$ac_compile" | $SED \ 1.9108 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 1.9109 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 1.9110 + -e 's:$: $lt_compiler_flag:'` 1.9111 + (eval echo "\"\$as_me:9108: $lt_compile\"" >&5) 1.9112 + (eval "$lt_compile" 2>out/conftest.err) 1.9113 + ac_status=$? 1.9114 + cat out/conftest.err >&5 1.9115 + echo "$as_me:9112: \$? = $ac_status" >&5 1.9116 + if (exit $ac_status) && test -s out/conftest2.$ac_objext 1.9117 + then 1.9118 + # The compiler can only warn and ignore the option if not recognized 1.9119 + # So say no if there are warnings 1.9120 + $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp 1.9121 + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 1.9122 + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 1.9123 + lt_cv_prog_compiler_c_o=yes 1.9124 + fi 1.9125 + fi 1.9126 + chmod u+w . 2>&5 1.9127 + $RM conftest* 1.9128 + # SGI C++ compiler will create directory out/ii_files/ for 1.9129 + # template instantiation 1.9130 + test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 1.9131 + $RM out/* && rmdir out 1.9132 + cd .. 1.9133 + $RM -r conftest 1.9134 + $RM conftest* 1.9135 + 1.9136 +fi 1.9137 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 1.9138 +$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 1.9139 + 1.9140 + 1.9141 + 1.9142 + 1.9143 + 1.9144 + 1.9145 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 1.9146 +$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 1.9147 +if test "${lt_cv_prog_compiler_c_o+set}" = set; then : 1.9148 + $as_echo_n "(cached) " >&6 1.9149 +else 1.9150 + lt_cv_prog_compiler_c_o=no 1.9151 + $RM -r conftest 2>/dev/null 1.9152 + mkdir conftest 1.9153 + cd conftest 1.9154 + mkdir out 1.9155 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext 1.9156 + 1.9157 + lt_compiler_flag="-o out/conftest2.$ac_objext" 1.9158 + # Insert the option either (1) after the last *FLAGS variable, or 1.9159 + # (2) before a word containing "conftest.", or (3) at the end. 1.9160 + # Note that $ac_compile itself does not contain backslashes and begins 1.9161 + # with a dollar sign (not a hyphen), so the echo should work correctly. 1.9162 + lt_compile=`echo "$ac_compile" | $SED \ 1.9163 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 1.9164 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 1.9165 + -e 's:$: $lt_compiler_flag:'` 1.9166 + (eval echo "\"\$as_me:9163: $lt_compile\"" >&5) 1.9167 + (eval "$lt_compile" 2>out/conftest.err) 1.9168 + ac_status=$? 1.9169 + cat out/conftest.err >&5 1.9170 + echo "$as_me:9167: \$? = $ac_status" >&5 1.9171 + if (exit $ac_status) && test -s out/conftest2.$ac_objext 1.9172 + then 1.9173 + # The compiler can only warn and ignore the option if not recognized 1.9174 + # So say no if there are warnings 1.9175 + $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp 1.9176 + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 1.9177 + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 1.9178 + lt_cv_prog_compiler_c_o=yes 1.9179 + fi 1.9180 + fi 1.9181 + chmod u+w . 2>&5 1.9182 + $RM conftest* 1.9183 + # SGI C++ compiler will create directory out/ii_files/ for 1.9184 + # template instantiation 1.9185 + test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 1.9186 + $RM out/* && rmdir out 1.9187 + cd .. 1.9188 + $RM -r conftest 1.9189 + $RM conftest* 1.9190 + 1.9191 +fi 1.9192 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 1.9193 +$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 1.9194 + 1.9195 + 1.9196 + 1.9197 + 1.9198 +hard_links="nottested" 1.9199 +if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then 1.9200 + # do not overwrite the value of need_locks provided by the user 1.9201 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 1.9202 +$as_echo_n "checking if we can lock with hard links... " >&6; } 1.9203 + hard_links=yes 1.9204 + $RM conftest* 1.9205 + ln conftest.a conftest.b 2>/dev/null && hard_links=no 1.9206 + touch conftest.a 1.9207 + ln conftest.a conftest.b 2>&5 || hard_links=no 1.9208 + ln conftest.a conftest.b 2>/dev/null && hard_links=no 1.9209 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 1.9210 +$as_echo "$hard_links" >&6; } 1.9211 + if test "$hard_links" = no; then 1.9212 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 1.9213 +$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 1.9214 + need_locks=warn 1.9215 + fi 1.9216 +else 1.9217 + need_locks=no 1.9218 +fi 1.9219 + 1.9220 + 1.9221 + 1.9222 + 1.9223 + 1.9224 + 1.9225 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 1.9226 +$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 1.9227 + 1.9228 + runpath_var= 1.9229 + allow_undefined_flag= 1.9230 + always_export_symbols=no 1.9231 + archive_cmds= 1.9232 + archive_expsym_cmds= 1.9233 + compiler_needs_object=no 1.9234 + enable_shared_with_static_runtimes=no 1.9235 + export_dynamic_flag_spec= 1.9236 + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 1.9237 + hardcode_automatic=no 1.9238 + hardcode_direct=no 1.9239 + hardcode_direct_absolute=no 1.9240 + hardcode_libdir_flag_spec= 1.9241 + hardcode_libdir_flag_spec_ld= 1.9242 + hardcode_libdir_separator= 1.9243 + hardcode_minus_L=no 1.9244 + hardcode_shlibpath_var=unsupported 1.9245 + inherit_rpath=no 1.9246 + link_all_deplibs=unknown 1.9247 + module_cmds= 1.9248 + module_expsym_cmds= 1.9249 + old_archive_from_new_cmds= 1.9250 + old_archive_from_expsyms_cmds= 1.9251 + thread_safe_flag_spec= 1.9252 + whole_archive_flag_spec= 1.9253 + # include_expsyms should be a list of space-separated symbols to be *always* 1.9254 + # included in the symbol list 1.9255 + include_expsyms= 1.9256 + # exclude_expsyms can be an extended regexp of symbols to exclude 1.9257 + # it will be wrapped by ` (' and `)$', so one must not match beginning or 1.9258 + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', 1.9259 + # as well as any symbol that contains `d'. 1.9260 + exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 1.9261 + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 1.9262 + # platforms (ab)use it in PIC code, but their linkers get confused if 1.9263 + # the symbol is explicitly referenced. Since portable code cannot 1.9264 + # rely on this symbol name, it's probably fine to never include it in 1.9265 + # preloaded symbol tables. 1.9266 + # Exclude shared library initialization/finalization symbols. 1.9267 + extract_expsyms_cmds= 1.9268 + 1.9269 + case $host_os in 1.9270 + cygwin* | mingw* | pw32* | cegcc*) 1.9271 + # FIXME: the MSVC++ port hasn't been tested in a loooong time 1.9272 + # When not using gcc, we currently assume that we are using 1.9273 + # Microsoft Visual C++. 1.9274 + if test "$GCC" != yes; then 1.9275 + with_gnu_ld=no 1.9276 + fi 1.9277 + ;; 1.9278 + interix*) 1.9279 + # we just hope/assume this is gcc and not c89 (= MSVC++) 1.9280 + with_gnu_ld=yes 1.9281 + ;; 1.9282 + openbsd*) 1.9283 + with_gnu_ld=no 1.9284 + ;; 1.9285 + linux* | k*bsd*-gnu) 1.9286 + link_all_deplibs=no 1.9287 + ;; 1.9288 + esac 1.9289 + 1.9290 + ld_shlibs=yes 1.9291 + if test "$with_gnu_ld" = yes; then 1.9292 + # If archive_cmds runs LD, not CC, wlarc should be empty 1.9293 + wlarc='${wl}' 1.9294 + 1.9295 + # Set some defaults for GNU ld with shared library support. These 1.9296 + # are reset later if shared libraries are not supported. Putting them 1.9297 + # here allows them to be overridden if necessary. 1.9298 + runpath_var=LD_RUN_PATH 1.9299 + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 1.9300 + export_dynamic_flag_spec='${wl}--export-dynamic' 1.9301 + # ancient GNU ld didn't support --whole-archive et. al. 1.9302 + if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 1.9303 + whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 1.9304 + else 1.9305 + whole_archive_flag_spec= 1.9306 + fi 1.9307 + supports_anon_versioning=no 1.9308 + case `$LD -v 2>&1` in 1.9309 + *GNU\ gold*) supports_anon_versioning=yes ;; 1.9310 + *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 1.9311 + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 1.9312 + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 1.9313 + *\ 2.11.*) ;; # other 2.11 versions 1.9314 + *) supports_anon_versioning=yes ;; 1.9315 + esac 1.9316 + 1.9317 + # See if GNU ld supports shared libraries. 1.9318 + case $host_os in 1.9319 + aix[3-9]*) 1.9320 + # On AIX/PPC, the GNU linker is very broken 1.9321 + if test "$host_cpu" != ia64; then 1.9322 + ld_shlibs=no 1.9323 + cat <<_LT_EOF 1>&2 1.9324 + 1.9325 +*** Warning: the GNU linker, at least up to release 2.9.1, is reported 1.9326 +*** to be unable to reliably create shared libraries on AIX. 1.9327 +*** Therefore, libtool is disabling shared libraries support. If you 1.9328 +*** really care for shared libraries, you may want to modify your PATH 1.9329 +*** so that a non-GNU linker is found, and then restart. 1.9330 + 1.9331 +_LT_EOF 1.9332 + fi 1.9333 + ;; 1.9334 + 1.9335 + amigaos*) 1.9336 + case $host_cpu in 1.9337 + powerpc) 1.9338 + # see comment about AmigaOS4 .so support 1.9339 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 1.9340 + archive_expsym_cmds='' 1.9341 + ;; 1.9342 + m68k) 1.9343 + archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' 1.9344 + hardcode_libdir_flag_spec='-L$libdir' 1.9345 + hardcode_minus_L=yes 1.9346 + ;; 1.9347 + esac 1.9348 + ;; 1.9349 + 1.9350 + beos*) 1.9351 + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 1.9352 + allow_undefined_flag=unsupported 1.9353 + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 1.9354 + # support --undefined. This deserves some investigation. FIXME 1.9355 + archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 1.9356 + else 1.9357 + ld_shlibs=no 1.9358 + fi 1.9359 + ;; 1.9360 + 1.9361 + cygwin* | mingw* | pw32* | cegcc*) 1.9362 + # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 1.9363 + # as there is no search path for DLLs. 1.9364 + hardcode_libdir_flag_spec='-L$libdir' 1.9365 + allow_undefined_flag=unsupported 1.9366 + always_export_symbols=no 1.9367 + enable_shared_with_static_runtimes=yes 1.9368 + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 1.9369 + 1.9370 + if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 1.9371 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 1.9372 + # If the export-symbols file already is a .def file (1st line 1.9373 + # is EXPORTS), use it as is; otherwise, prepend... 1.9374 + archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 1.9375 + cp $export_symbols $output_objdir/$soname.def; 1.9376 + else 1.9377 + echo EXPORTS > $output_objdir/$soname.def; 1.9378 + cat $export_symbols >> $output_objdir/$soname.def; 1.9379 + fi~ 1.9380 + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 1.9381 + else 1.9382 + ld_shlibs=no 1.9383 + fi 1.9384 + ;; 1.9385 + 1.9386 + interix[3-9]*) 1.9387 + hardcode_direct=no 1.9388 + hardcode_shlibpath_var=no 1.9389 + hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 1.9390 + export_dynamic_flag_spec='${wl}-E' 1.9391 + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 1.9392 + # Instead, shared libraries are loaded at an image base (0x10000000 by 1.9393 + # default) and relocated if they conflict, which is a slow very memory 1.9394 + # consuming and fragmenting process. To avoid this, we pick a random, 1.9395 + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 1.9396 + # time. Moving up from 0x10000000 also allows more sbrk(2) space. 1.9397 + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 1.9398 + archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 1.9399 + ;; 1.9400 + 1.9401 + gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 1.9402 + tmp_diet=no 1.9403 + if test "$host_os" = linux-dietlibc; then 1.9404 + case $cc_basename in 1.9405 + diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 1.9406 + esac 1.9407 + fi 1.9408 + if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 1.9409 + && test "$tmp_diet" = no 1.9410 + then 1.9411 + tmp_addflag= 1.9412 + tmp_sharedflag='-shared' 1.9413 + case $cc_basename,$host_cpu in 1.9414 + pgcc*) # Portland Group C compiler 1.9415 + whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' 1.9416 + tmp_addflag=' $pic_flag' 1.9417 + ;; 1.9418 + pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers 1.9419 + whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' 1.9420 + tmp_addflag=' $pic_flag -Mnomain' ;; 1.9421 + ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 1.9422 + tmp_addflag=' -i_dynamic' ;; 1.9423 + efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 1.9424 + tmp_addflag=' -i_dynamic -nofor_main' ;; 1.9425 + ifc* | ifort*) # Intel Fortran compiler 1.9426 + tmp_addflag=' -nofor_main' ;; 1.9427 + lf95*) # Lahey Fortran 8.1 1.9428 + whole_archive_flag_spec= 1.9429 + tmp_sharedflag='--shared' ;; 1.9430 + xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 1.9431 + tmp_sharedflag='-qmkshrobj' 1.9432 + tmp_addflag= ;; 1.9433 + esac 1.9434 + case `$CC -V 2>&1 | sed 5q` in 1.9435 + *Sun\ C*) # Sun C 5.9 1.9436 + whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' 1.9437 + compiler_needs_object=yes 1.9438 + tmp_sharedflag='-G' ;; 1.9439 + *Sun\ F*) # Sun Fortran 8.3 1.9440 + tmp_sharedflag='-G' ;; 1.9441 + esac 1.9442 + archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 1.9443 + 1.9444 + if test "x$supports_anon_versioning" = xyes; then 1.9445 + archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 1.9446 + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 1.9447 + echo "local: *; };" >> $output_objdir/$libname.ver~ 1.9448 + $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 1.9449 + fi 1.9450 + 1.9451 + case $cc_basename in 1.9452 + xlf*) 1.9453 + # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 1.9454 + whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 1.9455 + hardcode_libdir_flag_spec= 1.9456 + hardcode_libdir_flag_spec_ld='-rpath $libdir' 1.9457 + archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib' 1.9458 + if test "x$supports_anon_versioning" = xyes; then 1.9459 + archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 1.9460 + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 1.9461 + echo "local: *; };" >> $output_objdir/$libname.ver~ 1.9462 + $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 1.9463 + fi 1.9464 + ;; 1.9465 + esac 1.9466 + else 1.9467 + ld_shlibs=no 1.9468 + fi 1.9469 + ;; 1.9470 + 1.9471 + netbsd* | netbsdelf*-gnu) 1.9472 + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 1.9473 + archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 1.9474 + wlarc= 1.9475 + else 1.9476 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 1.9477 + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 1.9478 + fi 1.9479 + ;; 1.9480 + 1.9481 + solaris*) 1.9482 + if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 1.9483 + ld_shlibs=no 1.9484 + cat <<_LT_EOF 1>&2 1.9485 + 1.9486 +*** Warning: The releases 2.8.* of the GNU linker cannot reliably 1.9487 +*** create shared libraries on Solaris systems. Therefore, libtool 1.9488 +*** is disabling shared libraries support. We urge you to upgrade GNU 1.9489 +*** binutils to release 2.9.1 or newer. Another option is to modify 1.9490 +*** your PATH or compiler configuration so that the native linker is 1.9491 +*** used, and then restart. 1.9492 + 1.9493 +_LT_EOF 1.9494 + elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 1.9495 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 1.9496 + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 1.9497 + else 1.9498 + ld_shlibs=no 1.9499 + fi 1.9500 + ;; 1.9501 + 1.9502 + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 1.9503 + case `$LD -v 2>&1` in 1.9504 + *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 1.9505 + ld_shlibs=no 1.9506 + cat <<_LT_EOF 1>&2 1.9507 + 1.9508 +*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not 1.9509 +*** reliably create shared libraries on SCO systems. Therefore, libtool 1.9510 +*** is disabling shared libraries support. We urge you to upgrade GNU 1.9511 +*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 1.9512 +*** your PATH or compiler configuration so that the native linker is 1.9513 +*** used, and then restart. 1.9514 + 1.9515 +_LT_EOF 1.9516 + ;; 1.9517 + *) 1.9518 + # For security reasons, it is highly recommended that you always 1.9519 + # use absolute paths for naming shared libraries, and exclude the 1.9520 + # DT_RUNPATH tag from executables and libraries. But doing so 1.9521 + # requires that you compile everything twice, which is a pain. 1.9522 + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 1.9523 + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 1.9524 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 1.9525 + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 1.9526 + else 1.9527 + ld_shlibs=no 1.9528 + fi 1.9529 + ;; 1.9530 + esac 1.9531 + ;; 1.9532 + 1.9533 + sunos4*) 1.9534 + archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 1.9535 + wlarc= 1.9536 + hardcode_direct=yes 1.9537 + hardcode_shlibpath_var=no 1.9538 + ;; 1.9539 + 1.9540 + *) 1.9541 + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 1.9542 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 1.9543 + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 1.9544 + else 1.9545 + ld_shlibs=no 1.9546 + fi 1.9547 + ;; 1.9548 + esac 1.9549 + 1.9550 + if test "$ld_shlibs" = no; then 1.9551 + runpath_var= 1.9552 + hardcode_libdir_flag_spec= 1.9553 + export_dynamic_flag_spec= 1.9554 + whole_archive_flag_spec= 1.9555 + fi 1.9556 + else 1.9557 + # PORTME fill in a description of your system's linker (not GNU ld) 1.9558 + case $host_os in 1.9559 + aix3*) 1.9560 + allow_undefined_flag=unsupported 1.9561 + always_export_symbols=yes 1.9562 + archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' 1.9563 + # Note: this linker hardcodes the directories in LIBPATH if there 1.9564 + # are no directories specified by -L. 1.9565 + hardcode_minus_L=yes 1.9566 + if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then 1.9567 + # Neither direct hardcoding nor static linking is supported with a 1.9568 + # broken collect2. 1.9569 + hardcode_direct=unsupported 1.9570 + fi 1.9571 + ;; 1.9572 + 1.9573 + aix[4-9]*) 1.9574 + if test "$host_cpu" = ia64; then 1.9575 + # On IA64, the linker does run time linking by default, so we don't 1.9576 + # have to do anything special. 1.9577 + aix_use_runtimelinking=no 1.9578 + exp_sym_flag='-Bexport' 1.9579 + no_entry_flag="" 1.9580 + else 1.9581 + # If we're using GNU nm, then we don't want the "-C" option. 1.9582 + # -C means demangle to AIX nm, but means don't demangle with GNU nm 1.9583 + if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 1.9584 + export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' 1.9585 + else 1.9586 + export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' 1.9587 + fi 1.9588 + aix_use_runtimelinking=no 1.9589 + 1.9590 + # Test if we are trying to use run time linking or normal 1.9591 + # AIX style linking. If -brtl is somewhere in LDFLAGS, we 1.9592 + # need to do runtime linking. 1.9593 + case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 1.9594 + for ld_flag in $LDFLAGS; do 1.9595 + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then 1.9596 + aix_use_runtimelinking=yes 1.9597 + break 1.9598 + fi 1.9599 + done 1.9600 + ;; 1.9601 + esac 1.9602 + 1.9603 + exp_sym_flag='-bexport' 1.9604 + no_entry_flag='-bnoentry' 1.9605 + fi 1.9606 + 1.9607 + # When large executables or shared objects are built, AIX ld can 1.9608 + # have problems creating the table of contents. If linking a library 1.9609 + # or program results in "error TOC overflow" add -mminimal-toc to 1.9610 + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 1.9611 + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 1.9612 + 1.9613 + archive_cmds='' 1.9614 + hardcode_direct=yes 1.9615 + hardcode_direct_absolute=yes 1.9616 + hardcode_libdir_separator=':' 1.9617 + link_all_deplibs=yes 1.9618 + file_list_spec='${wl}-f,' 1.9619 + 1.9620 + if test "$GCC" = yes; then 1.9621 + case $host_os in aix4.[012]|aix4.[012].*) 1.9622 + # We only want to do this on AIX 4.2 and lower, the check 1.9623 + # below for broken collect2 doesn't work under 4.3+ 1.9624 + collect2name=`${CC} -print-prog-name=collect2` 1.9625 + if test -f "$collect2name" && 1.9626 + strings "$collect2name" | $GREP resolve_lib_name >/dev/null 1.9627 + then 1.9628 + # We have reworked collect2 1.9629 + : 1.9630 + else 1.9631 + # We have old collect2 1.9632 + hardcode_direct=unsupported 1.9633 + # It fails to find uninstalled libraries when the uninstalled 1.9634 + # path is not listed in the libpath. Setting hardcode_minus_L 1.9635 + # to unsupported forces relinking 1.9636 + hardcode_minus_L=yes 1.9637 + hardcode_libdir_flag_spec='-L$libdir' 1.9638 + hardcode_libdir_separator= 1.9639 + fi 1.9640 + ;; 1.9641 + esac 1.9642 + shared_flag='-shared' 1.9643 + if test "$aix_use_runtimelinking" = yes; then 1.9644 + shared_flag="$shared_flag "'${wl}-G' 1.9645 + fi 1.9646 + link_all_deplibs=no 1.9647 + else 1.9648 + # not using gcc 1.9649 + if test "$host_cpu" = ia64; then 1.9650 + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 1.9651 + # chokes on -Wl,-G. The following line is correct: 1.9652 + shared_flag='-G' 1.9653 + else 1.9654 + if test "$aix_use_runtimelinking" = yes; then 1.9655 + shared_flag='${wl}-G' 1.9656 + else 1.9657 + shared_flag='${wl}-bM:SRE' 1.9658 + fi 1.9659 + fi 1.9660 + fi 1.9661 + 1.9662 + export_dynamic_flag_spec='${wl}-bexpall' 1.9663 + # It seems that -bexpall does not export symbols beginning with 1.9664 + # underscore (_), so it is better to generate a list of symbols to export. 1.9665 + always_export_symbols=yes 1.9666 + if test "$aix_use_runtimelinking" = yes; then 1.9667 + # Warning - without using the other runtime loading flags (-brtl), 1.9668 + # -berok will link without error, but may produce a broken library. 1.9669 + allow_undefined_flag='-berok' 1.9670 + # Determine the default libpath from the value encoded in an 1.9671 + # empty executable. 1.9672 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.9673 +/* end confdefs.h. */ 1.9674 + 1.9675 +int 1.9676 +main () 1.9677 +{ 1.9678 + 1.9679 + ; 1.9680 + return 0; 1.9681 +} 1.9682 +_ACEOF 1.9683 +if ac_fn_c_try_link "$LINENO"; then : 1.9684 + 1.9685 +lt_aix_libpath_sed=' 1.9686 + /Import File Strings/,/^$/ { 1.9687 + /^0/ { 1.9688 + s/^0 *\(.*\)$/\1/ 1.9689 + p 1.9690 + } 1.9691 + }' 1.9692 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 1.9693 +# Check for a 64-bit object if we didn't find anything. 1.9694 +if test -z "$aix_libpath"; then 1.9695 + aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 1.9696 +fi 1.9697 +fi 1.9698 +rm -f core conftest.err conftest.$ac_objext \ 1.9699 + conftest$ac_exeext conftest.$ac_ext 1.9700 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 1.9701 + 1.9702 + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 1.9703 + archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" 1.9704 + else 1.9705 + if test "$host_cpu" = ia64; then 1.9706 + hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' 1.9707 + allow_undefined_flag="-z nodefs" 1.9708 + archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" 1.9709 + else 1.9710 + # Determine the default libpath from the value encoded in an 1.9711 + # empty executable. 1.9712 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.9713 +/* end confdefs.h. */ 1.9714 + 1.9715 +int 1.9716 +main () 1.9717 +{ 1.9718 + 1.9719 + ; 1.9720 + return 0; 1.9721 +} 1.9722 +_ACEOF 1.9723 +if ac_fn_c_try_link "$LINENO"; then : 1.9724 + 1.9725 +lt_aix_libpath_sed=' 1.9726 + /Import File Strings/,/^$/ { 1.9727 + /^0/ { 1.9728 + s/^0 *\(.*\)$/\1/ 1.9729 + p 1.9730 + } 1.9731 + }' 1.9732 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 1.9733 +# Check for a 64-bit object if we didn't find anything. 1.9734 +if test -z "$aix_libpath"; then 1.9735 + aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 1.9736 +fi 1.9737 +fi 1.9738 +rm -f core conftest.err conftest.$ac_objext \ 1.9739 + conftest$ac_exeext conftest.$ac_ext 1.9740 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 1.9741 + 1.9742 + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 1.9743 + # Warning - without using the other run time loading flags, 1.9744 + # -berok will link without error, but may produce a broken library. 1.9745 + no_undefined_flag=' ${wl}-bernotok' 1.9746 + allow_undefined_flag=' ${wl}-berok' 1.9747 + # Exported symbols can be pulled into shared objects from archives 1.9748 + whole_archive_flag_spec='$convenience' 1.9749 + archive_cmds_need_lc=yes 1.9750 + # This is similar to how AIX traditionally builds its shared libraries. 1.9751 + archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' 1.9752 + fi 1.9753 + fi 1.9754 + ;; 1.9755 + 1.9756 + amigaos*) 1.9757 + case $host_cpu in 1.9758 + powerpc) 1.9759 + # see comment about AmigaOS4 .so support 1.9760 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 1.9761 + archive_expsym_cmds='' 1.9762 + ;; 1.9763 + m68k) 1.9764 + archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' 1.9765 + hardcode_libdir_flag_spec='-L$libdir' 1.9766 + hardcode_minus_L=yes 1.9767 + ;; 1.9768 + esac 1.9769 + ;; 1.9770 + 1.9771 + bsdi[45]*) 1.9772 + export_dynamic_flag_spec=-rdynamic 1.9773 + ;; 1.9774 + 1.9775 + cygwin* | mingw* | pw32* | cegcc*) 1.9776 + # When not using gcc, we currently assume that we are using 1.9777 + # Microsoft Visual C++. 1.9778 + # hardcode_libdir_flag_spec is actually meaningless, as there is 1.9779 + # no search path for DLLs. 1.9780 + hardcode_libdir_flag_spec=' ' 1.9781 + allow_undefined_flag=unsupported 1.9782 + # Tell ltmain to make .lib files, not .a files. 1.9783 + libext=lib 1.9784 + # Tell ltmain to make .dll files, not .so files. 1.9785 + shrext_cmds=".dll" 1.9786 + # FIXME: Setting linknames here is a bad hack. 1.9787 + archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames=' 1.9788 + # The linker will automatically build a .lib file if we build a DLL. 1.9789 + old_archive_from_new_cmds='true' 1.9790 + # FIXME: Should let the user specify the lib program. 1.9791 + old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 1.9792 + fix_srcfile_path='`cygpath -w "$srcfile"`' 1.9793 + enable_shared_with_static_runtimes=yes 1.9794 + ;; 1.9795 + 1.9796 + darwin* | rhapsody*) 1.9797 + 1.9798 + 1.9799 + archive_cmds_need_lc=no 1.9800 + hardcode_direct=no 1.9801 + hardcode_automatic=yes 1.9802 + hardcode_shlibpath_var=unsupported 1.9803 + whole_archive_flag_spec='' 1.9804 + link_all_deplibs=yes 1.9805 + allow_undefined_flag="$_lt_dar_allow_undefined" 1.9806 + case $cc_basename in 1.9807 + ifort*) _lt_dar_can_shared=yes ;; 1.9808 + *) _lt_dar_can_shared=$GCC ;; 1.9809 + esac 1.9810 + if test "$_lt_dar_can_shared" = "yes"; then 1.9811 + output_verbose_link_cmd=echo 1.9812 + archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" 1.9813 + module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" 1.9814 + archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" 1.9815 + module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" 1.9816 + 1.9817 + else 1.9818 + ld_shlibs=no 1.9819 + fi 1.9820 + 1.9821 + ;; 1.9822 + 1.9823 + dgux*) 1.9824 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 1.9825 + hardcode_libdir_flag_spec='-L$libdir' 1.9826 + hardcode_shlibpath_var=no 1.9827 + ;; 1.9828 + 1.9829 + freebsd1*) 1.9830 + ld_shlibs=no 1.9831 + ;; 1.9832 + 1.9833 + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 1.9834 + # support. Future versions do this automatically, but an explicit c++rt0.o 1.9835 + # does not break anything, and helps significantly (at the cost of a little 1.9836 + # extra space). 1.9837 + freebsd2.2*) 1.9838 + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 1.9839 + hardcode_libdir_flag_spec='-R$libdir' 1.9840 + hardcode_direct=yes 1.9841 + hardcode_shlibpath_var=no 1.9842 + ;; 1.9843 + 1.9844 + # Unfortunately, older versions of FreeBSD 2 do not have this feature. 1.9845 + freebsd2*) 1.9846 + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 1.9847 + hardcode_direct=yes 1.9848 + hardcode_minus_L=yes 1.9849 + hardcode_shlibpath_var=no 1.9850 + ;; 1.9851 + 1.9852 + # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 1.9853 + freebsd* | dragonfly*) 1.9854 + archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' 1.9855 + hardcode_libdir_flag_spec='-R$libdir' 1.9856 + hardcode_direct=yes 1.9857 + hardcode_shlibpath_var=no 1.9858 + ;; 1.9859 + 1.9860 + hpux9*) 1.9861 + if test "$GCC" = yes; then 1.9862 + archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 1.9863 + else 1.9864 + archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 1.9865 + fi 1.9866 + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 1.9867 + hardcode_libdir_separator=: 1.9868 + hardcode_direct=yes 1.9869 + 1.9870 + # hardcode_minus_L: Not really in the search PATH, 1.9871 + # but as the default location of the library. 1.9872 + hardcode_minus_L=yes 1.9873 + export_dynamic_flag_spec='${wl}-E' 1.9874 + ;; 1.9875 + 1.9876 + hpux10*) 1.9877 + if test "$GCC" = yes -a "$with_gnu_ld" = no; then 1.9878 + archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 1.9879 + else 1.9880 + archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 1.9881 + fi 1.9882 + if test "$with_gnu_ld" = no; then 1.9883 + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 1.9884 + hardcode_libdir_flag_spec_ld='+b $libdir' 1.9885 + hardcode_libdir_separator=: 1.9886 + hardcode_direct=yes 1.9887 + hardcode_direct_absolute=yes 1.9888 + export_dynamic_flag_spec='${wl}-E' 1.9889 + # hardcode_minus_L: Not really in the search PATH, 1.9890 + # but as the default location of the library. 1.9891 + hardcode_minus_L=yes 1.9892 + fi 1.9893 + ;; 1.9894 + 1.9895 + hpux11*) 1.9896 + if test "$GCC" = yes -a "$with_gnu_ld" = no; then 1.9897 + case $host_cpu in 1.9898 + hppa*64*) 1.9899 + archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 1.9900 + ;; 1.9901 + ia64*) 1.9902 + archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 1.9903 + ;; 1.9904 + *) 1.9905 + archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 1.9906 + ;; 1.9907 + esac 1.9908 + else 1.9909 + case $host_cpu in 1.9910 + hppa*64*) 1.9911 + archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 1.9912 + ;; 1.9913 + ia64*) 1.9914 + archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 1.9915 + ;; 1.9916 + *) 1.9917 + archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 1.9918 + ;; 1.9919 + esac 1.9920 + fi 1.9921 + if test "$with_gnu_ld" = no; then 1.9922 + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 1.9923 + hardcode_libdir_separator=: 1.9924 + 1.9925 + case $host_cpu in 1.9926 + hppa*64*|ia64*) 1.9927 + hardcode_direct=no 1.9928 + hardcode_shlibpath_var=no 1.9929 + ;; 1.9930 + *) 1.9931 + hardcode_direct=yes 1.9932 + hardcode_direct_absolute=yes 1.9933 + export_dynamic_flag_spec='${wl}-E' 1.9934 + 1.9935 + # hardcode_minus_L: Not really in the search PATH, 1.9936 + # but as the default location of the library. 1.9937 + hardcode_minus_L=yes 1.9938 + ;; 1.9939 + esac 1.9940 + fi 1.9941 + ;; 1.9942 + 1.9943 + irix5* | irix6* | nonstopux*) 1.9944 + if test "$GCC" = yes; then 1.9945 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 1.9946 + # Try to use the -exported_symbol ld option, if it does not 1.9947 + # work, assume that -exports_file does not work either and 1.9948 + # implicitly export all symbols. 1.9949 + save_LDFLAGS="$LDFLAGS" 1.9950 + LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" 1.9951 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.9952 +/* end confdefs.h. */ 1.9953 +int foo(void) {} 1.9954 +_ACEOF 1.9955 +if ac_fn_c_try_link "$LINENO"; then : 1.9956 + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib' 1.9957 + 1.9958 +fi 1.9959 +rm -f core conftest.err conftest.$ac_objext \ 1.9960 + conftest$ac_exeext conftest.$ac_ext 1.9961 + LDFLAGS="$save_LDFLAGS" 1.9962 + else 1.9963 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' 1.9964 + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib' 1.9965 + fi 1.9966 + archive_cmds_need_lc='no' 1.9967 + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 1.9968 + hardcode_libdir_separator=: 1.9969 + inherit_rpath=yes 1.9970 + link_all_deplibs=yes 1.9971 + ;; 1.9972 + 1.9973 + netbsd* | netbsdelf*-gnu) 1.9974 + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 1.9975 + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 1.9976 + else 1.9977 + archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 1.9978 + fi 1.9979 + hardcode_libdir_flag_spec='-R$libdir' 1.9980 + hardcode_direct=yes 1.9981 + hardcode_shlibpath_var=no 1.9982 + ;; 1.9983 + 1.9984 + newsos6) 1.9985 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 1.9986 + hardcode_direct=yes 1.9987 + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 1.9988 + hardcode_libdir_separator=: 1.9989 + hardcode_shlibpath_var=no 1.9990 + ;; 1.9991 + 1.9992 + *nto* | *qnx*) 1.9993 + ;; 1.9994 + 1.9995 + openbsd*) 1.9996 + if test -f /usr/libexec/ld.so; then 1.9997 + hardcode_direct=yes 1.9998 + hardcode_shlibpath_var=no 1.9999 + hardcode_direct_absolute=yes 1.10000 + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 1.10001 + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 1.10002 + archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' 1.10003 + hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 1.10004 + export_dynamic_flag_spec='${wl}-E' 1.10005 + else 1.10006 + case $host_os in 1.10007 + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) 1.10008 + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 1.10009 + hardcode_libdir_flag_spec='-R$libdir' 1.10010 + ;; 1.10011 + *) 1.10012 + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 1.10013 + hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 1.10014 + ;; 1.10015 + esac 1.10016 + fi 1.10017 + else 1.10018 + ld_shlibs=no 1.10019 + fi 1.10020 + ;; 1.10021 + 1.10022 + os2*) 1.10023 + hardcode_libdir_flag_spec='-L$libdir' 1.10024 + hardcode_minus_L=yes 1.10025 + allow_undefined_flag=unsupported 1.10026 + archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' 1.10027 + old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' 1.10028 + ;; 1.10029 + 1.10030 + osf3*) 1.10031 + if test "$GCC" = yes; then 1.10032 + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 1.10033 + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 1.10034 + else 1.10035 + allow_undefined_flag=' -expect_unresolved \*' 1.10036 + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' 1.10037 + fi 1.10038 + archive_cmds_need_lc='no' 1.10039 + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 1.10040 + hardcode_libdir_separator=: 1.10041 + ;; 1.10042 + 1.10043 + osf4* | osf5*) # as osf3* with the addition of -msym flag 1.10044 + if test "$GCC" = yes; then 1.10045 + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 1.10046 + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 1.10047 + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 1.10048 + else 1.10049 + allow_undefined_flag=' -expect_unresolved \*' 1.10050 + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' 1.10051 + archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~ 1.10052 + $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp' 1.10053 + 1.10054 + # Both c and cxx compiler support -rpath directly 1.10055 + hardcode_libdir_flag_spec='-rpath $libdir' 1.10056 + fi 1.10057 + archive_cmds_need_lc='no' 1.10058 + hardcode_libdir_separator=: 1.10059 + ;; 1.10060 + 1.10061 + solaris*) 1.10062 + no_undefined_flag=' -z defs' 1.10063 + if test "$GCC" = yes; then 1.10064 + wlarc='${wl}' 1.10065 + archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 1.10066 + archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 1.10067 + $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 1.10068 + else 1.10069 + case `$CC -V 2>&1` in 1.10070 + *"Compilers 5.0"*) 1.10071 + wlarc='' 1.10072 + archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 1.10073 + archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 1.10074 + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 1.10075 + ;; 1.10076 + *) 1.10077 + wlarc='${wl}' 1.10078 + archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' 1.10079 + archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 1.10080 + $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 1.10081 + ;; 1.10082 + esac 1.10083 + fi 1.10084 + hardcode_libdir_flag_spec='-R$libdir' 1.10085 + hardcode_shlibpath_var=no 1.10086 + case $host_os in 1.10087 + solaris2.[0-5] | solaris2.[0-5].*) ;; 1.10088 + *) 1.10089 + # The compiler driver will combine and reorder linker options, 1.10090 + # but understands `-z linker_flag'. GCC discards it without `$wl', 1.10091 + # but is careful enough not to reorder. 1.10092 + # Supported since Solaris 2.6 (maybe 2.5.1?) 1.10093 + if test "$GCC" = yes; then 1.10094 + whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' 1.10095 + else 1.10096 + whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 1.10097 + fi 1.10098 + ;; 1.10099 + esac 1.10100 + link_all_deplibs=yes 1.10101 + ;; 1.10102 + 1.10103 + sunos4*) 1.10104 + if test "x$host_vendor" = xsequent; then 1.10105 + # Use $CC to link under sequent, because it throws in some extra .o 1.10106 + # files that make .init and .fini sections work. 1.10107 + archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' 1.10108 + else 1.10109 + archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 1.10110 + fi 1.10111 + hardcode_libdir_flag_spec='-L$libdir' 1.10112 + hardcode_direct=yes 1.10113 + hardcode_minus_L=yes 1.10114 + hardcode_shlibpath_var=no 1.10115 + ;; 1.10116 + 1.10117 + sysv4) 1.10118 + case $host_vendor in 1.10119 + sni) 1.10120 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 1.10121 + hardcode_direct=yes # is this really true??? 1.10122 + ;; 1.10123 + siemens) 1.10124 + ## LD is ld it makes a PLAMLIB 1.10125 + ## CC just makes a GrossModule. 1.10126 + archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 1.10127 + reload_cmds='$CC -r -o $output$reload_objs' 1.10128 + hardcode_direct=no 1.10129 + ;; 1.10130 + motorola) 1.10131 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 1.10132 + hardcode_direct=no #Motorola manual says yes, but my tests say they lie 1.10133 + ;; 1.10134 + esac 1.10135 + runpath_var='LD_RUN_PATH' 1.10136 + hardcode_shlibpath_var=no 1.10137 + ;; 1.10138 + 1.10139 + sysv4.3*) 1.10140 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 1.10141 + hardcode_shlibpath_var=no 1.10142 + export_dynamic_flag_spec='-Bexport' 1.10143 + ;; 1.10144 + 1.10145 + sysv4*MP*) 1.10146 + if test -d /usr/nec; then 1.10147 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 1.10148 + hardcode_shlibpath_var=no 1.10149 + runpath_var=LD_RUN_PATH 1.10150 + hardcode_runpath_var=yes 1.10151 + ld_shlibs=yes 1.10152 + fi 1.10153 + ;; 1.10154 + 1.10155 + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 1.10156 + no_undefined_flag='${wl}-z,text' 1.10157 + archive_cmds_need_lc=no 1.10158 + hardcode_shlibpath_var=no 1.10159 + runpath_var='LD_RUN_PATH' 1.10160 + 1.10161 + if test "$GCC" = yes; then 1.10162 + archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 1.10163 + archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 1.10164 + else 1.10165 + archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 1.10166 + archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 1.10167 + fi 1.10168 + ;; 1.10169 + 1.10170 + sysv5* | sco3.2v5* | sco5v6*) 1.10171 + # Note: We can NOT use -z defs as we might desire, because we do not 1.10172 + # link with -lc, and that would cause any symbols used from libc to 1.10173 + # always be unresolved, which means just about no library would 1.10174 + # ever link correctly. If we're not using GNU ld we use -z text 1.10175 + # though, which does catch some bad symbols but isn't as heavy-handed 1.10176 + # as -z defs. 1.10177 + no_undefined_flag='${wl}-z,text' 1.10178 + allow_undefined_flag='${wl}-z,nodefs' 1.10179 + archive_cmds_need_lc=no 1.10180 + hardcode_shlibpath_var=no 1.10181 + hardcode_libdir_flag_spec='${wl}-R,$libdir' 1.10182 + hardcode_libdir_separator=':' 1.10183 + link_all_deplibs=yes 1.10184 + export_dynamic_flag_spec='${wl}-Bexport' 1.10185 + runpath_var='LD_RUN_PATH' 1.10186 + 1.10187 + if test "$GCC" = yes; then 1.10188 + archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 1.10189 + archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 1.10190 + else 1.10191 + archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 1.10192 + archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 1.10193 + fi 1.10194 + ;; 1.10195 + 1.10196 + uts4*) 1.10197 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 1.10198 + hardcode_libdir_flag_spec='-L$libdir' 1.10199 + hardcode_shlibpath_var=no 1.10200 + ;; 1.10201 + 1.10202 + *) 1.10203 + ld_shlibs=no 1.10204 + ;; 1.10205 + esac 1.10206 + 1.10207 + if test x$host_vendor = xsni; then 1.10208 + case $host in 1.10209 + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 1.10210 + export_dynamic_flag_spec='${wl}-Blargedynsym' 1.10211 + ;; 1.10212 + esac 1.10213 + fi 1.10214 + fi 1.10215 + 1.10216 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 1.10217 +$as_echo "$ld_shlibs" >&6; } 1.10218 +test "$ld_shlibs" = no && can_build_shared=no 1.10219 + 1.10220 +with_gnu_ld=$with_gnu_ld 1.10221 + 1.10222 + 1.10223 + 1.10224 + 1.10225 + 1.10226 + 1.10227 + 1.10228 + 1.10229 + 1.10230 + 1.10231 + 1.10232 + 1.10233 + 1.10234 + 1.10235 + 1.10236 +# 1.10237 +# Do we need to explicitly link libc? 1.10238 +# 1.10239 +case "x$archive_cmds_need_lc" in 1.10240 +x|xyes) 1.10241 + # Assume -lc should be added 1.10242 + archive_cmds_need_lc=yes 1.10243 + 1.10244 + if test "$enable_shared" = yes && test "$GCC" = yes; then 1.10245 + case $archive_cmds in 1.10246 + *'~'*) 1.10247 + # FIXME: we may have to deal with multi-command sequences. 1.10248 + ;; 1.10249 + '$CC '*) 1.10250 + # Test whether the compiler implicitly links with -lc since on some 1.10251 + # systems, -lgcc has to come before -lc. If gcc already passes -lc 1.10252 + # to ld, don't add -lc before -lgcc. 1.10253 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 1.10254 +$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 1.10255 + $RM conftest* 1.10256 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext 1.10257 + 1.10258 + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 1.10259 + (eval $ac_compile) 2>&5 1.10260 + ac_status=$? 1.10261 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1.10262 + test $ac_status = 0; } 2>conftest.err; then 1.10263 + soname=conftest 1.10264 + lib=conftest 1.10265 + libobjs=conftest.$ac_objext 1.10266 + deplibs= 1.10267 + wl=$lt_prog_compiler_wl 1.10268 + pic_flag=$lt_prog_compiler_pic 1.10269 + compiler_flags=-v 1.10270 + linker_flags=-v 1.10271 + verstring= 1.10272 + output_objdir=. 1.10273 + libname=conftest 1.10274 + lt_save_allow_undefined_flag=$allow_undefined_flag 1.10275 + allow_undefined_flag= 1.10276 + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 1.10277 + (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 1.10278 + ac_status=$? 1.10279 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1.10280 + test $ac_status = 0; } 1.10281 + then 1.10282 + archive_cmds_need_lc=no 1.10283 + else 1.10284 + archive_cmds_need_lc=yes 1.10285 + fi 1.10286 + allow_undefined_flag=$lt_save_allow_undefined_flag 1.10287 + else 1.10288 + cat conftest.err 1>&5 1.10289 + fi 1.10290 + $RM conftest* 1.10291 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5 1.10292 +$as_echo "$archive_cmds_need_lc" >&6; } 1.10293 + ;; 1.10294 + esac 1.10295 + fi 1.10296 + ;; 1.10297 +esac 1.10298 + 1.10299 + 1.10300 + 1.10301 + 1.10302 + 1.10303 + 1.10304 + 1.10305 + 1.10306 + 1.10307 + 1.10308 + 1.10309 + 1.10310 + 1.10311 + 1.10312 + 1.10313 + 1.10314 + 1.10315 + 1.10316 + 1.10317 + 1.10318 + 1.10319 + 1.10320 + 1.10321 + 1.10322 + 1.10323 + 1.10324 + 1.10325 + 1.10326 + 1.10327 + 1.10328 + 1.10329 + 1.10330 + 1.10331 + 1.10332 + 1.10333 + 1.10334 + 1.10335 + 1.10336 + 1.10337 + 1.10338 + 1.10339 + 1.10340 + 1.10341 + 1.10342 + 1.10343 + 1.10344 + 1.10345 + 1.10346 + 1.10347 + 1.10348 + 1.10349 + 1.10350 + 1.10351 + 1.10352 + 1.10353 + 1.10354 + 1.10355 + 1.10356 + 1.10357 + 1.10358 + 1.10359 + 1.10360 + 1.10361 + 1.10362 + 1.10363 + 1.10364 + 1.10365 + 1.10366 + 1.10367 + 1.10368 + 1.10369 + 1.10370 + 1.10371 + 1.10372 + 1.10373 + 1.10374 + 1.10375 + 1.10376 + 1.10377 + 1.10378 + 1.10379 + 1.10380 + 1.10381 + 1.10382 + 1.10383 + 1.10384 + 1.10385 + 1.10386 + 1.10387 + 1.10388 + 1.10389 + 1.10390 + 1.10391 + 1.10392 + 1.10393 + 1.10394 + 1.10395 + 1.10396 + 1.10397 + 1.10398 + 1.10399 + 1.10400 + 1.10401 + 1.10402 + 1.10403 + 1.10404 + 1.10405 + 1.10406 + 1.10407 + 1.10408 + 1.10409 + 1.10410 + 1.10411 + 1.10412 + 1.10413 + 1.10414 + 1.10415 + 1.10416 + 1.10417 + 1.10418 + 1.10419 + 1.10420 + 1.10421 + 1.10422 + 1.10423 + 1.10424 + 1.10425 + 1.10426 + 1.10427 + 1.10428 + 1.10429 + 1.10430 + 1.10431 + 1.10432 + 1.10433 + 1.10434 + 1.10435 + 1.10436 + 1.10437 + 1.10438 + 1.10439 + 1.10440 + 1.10441 + 1.10442 + 1.10443 + 1.10444 + 1.10445 + 1.10446 + 1.10447 + 1.10448 + 1.10449 + 1.10450 + 1.10451 + 1.10452 + 1.10453 + 1.10454 + 1.10455 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 1.10456 +$as_echo_n "checking dynamic linker characteristics... " >&6; } 1.10457 + 1.10458 +if test "$GCC" = yes; then 1.10459 + case $host_os in 1.10460 + darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; 1.10461 + *) lt_awk_arg="/^libraries:/" ;; 1.10462 + esac 1.10463 + lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"` 1.10464 + if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then 1.10465 + # if the path contains ";" then we assume it to be the separator 1.10466 + # otherwise default to the standard path separator (i.e. ":") - it is 1.10467 + # assumed that no part of a normal pathname contains ";" but that should 1.10468 + # okay in the real world where ";" in dirpaths is itself problematic. 1.10469 + lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'` 1.10470 + else 1.10471 + lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 1.10472 + fi 1.10473 + # Ok, now we have the path, separated by spaces, we can step through it 1.10474 + # and add multilib dir if necessary. 1.10475 + lt_tmp_lt_search_path_spec= 1.10476 + lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 1.10477 + for lt_sys_path in $lt_search_path_spec; do 1.10478 + if test -d "$lt_sys_path/$lt_multi_os_dir"; then 1.10479 + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" 1.10480 + else 1.10481 + test -d "$lt_sys_path" && \ 1.10482 + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 1.10483 + fi 1.10484 + done 1.10485 + lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk ' 1.10486 +BEGIN {RS=" "; FS="/|\n";} { 1.10487 + lt_foo=""; 1.10488 + lt_count=0; 1.10489 + for (lt_i = NF; lt_i > 0; lt_i--) { 1.10490 + if ($lt_i != "" && $lt_i != ".") { 1.10491 + if ($lt_i == "..") { 1.10492 + lt_count++; 1.10493 + } else { 1.10494 + if (lt_count == 0) { 1.10495 + lt_foo="/" $lt_i lt_foo; 1.10496 + } else { 1.10497 + lt_count--; 1.10498 + } 1.10499 + } 1.10500 + } 1.10501 + } 1.10502 + if (lt_foo != "") { lt_freq[lt_foo]++; } 1.10503 + if (lt_freq[lt_foo] == 1) { print lt_foo; } 1.10504 +}'` 1.10505 + sys_lib_search_path_spec=`$ECHO $lt_search_path_spec` 1.10506 +else 1.10507 + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 1.10508 +fi 1.10509 +library_names_spec= 1.10510 +libname_spec='lib$name' 1.10511 +soname_spec= 1.10512 +shrext_cmds=".so" 1.10513 +postinstall_cmds= 1.10514 +postuninstall_cmds= 1.10515 +finish_cmds= 1.10516 +finish_eval= 1.10517 +shlibpath_var= 1.10518 +shlibpath_overrides_runpath=unknown 1.10519 +version_type=none 1.10520 +dynamic_linker="$host_os ld.so" 1.10521 +sys_lib_dlsearch_path_spec="/lib /usr/lib" 1.10522 +need_lib_prefix=unknown 1.10523 +hardcode_into_libs=no 1.10524 + 1.10525 +# when you set need_version to no, make sure it does not cause -set_version 1.10526 +# flags to be left without arguments 1.10527 +need_version=unknown 1.10528 + 1.10529 +case $host_os in 1.10530 +aix3*) 1.10531 + version_type=linux 1.10532 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' 1.10533 + shlibpath_var=LIBPATH 1.10534 + 1.10535 + # AIX 3 has no versioning support, so we append a major version to the name. 1.10536 + soname_spec='${libname}${release}${shared_ext}$major' 1.10537 + ;; 1.10538 + 1.10539 +aix[4-9]*) 1.10540 + version_type=linux 1.10541 + need_lib_prefix=no 1.10542 + need_version=no 1.10543 + hardcode_into_libs=yes 1.10544 + if test "$host_cpu" = ia64; then 1.10545 + # AIX 5 supports IA64 1.10546 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' 1.10547 + shlibpath_var=LD_LIBRARY_PATH 1.10548 + else 1.10549 + # With GCC up to 2.95.x, collect2 would create an import file 1.10550 + # for dependence libraries. The import file would start with 1.10551 + # the line `#! .'. This would cause the generated library to 1.10552 + # depend on `.', always an invalid library. This was fixed in 1.10553 + # development snapshots of GCC prior to 3.0. 1.10554 + case $host_os in 1.10555 + aix4 | aix4.[01] | aix4.[01].*) 1.10556 + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 1.10557 + echo ' yes ' 1.10558 + echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then 1.10559 + : 1.10560 + else 1.10561 + can_build_shared=no 1.10562 + fi 1.10563 + ;; 1.10564 + esac 1.10565 + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct 1.10566 + # soname into executable. Probably we can add versioning support to 1.10567 + # collect2, so additional links can be useful in future. 1.10568 + if test "$aix_use_runtimelinking" = yes; then 1.10569 + # If using run time linking (on AIX 4.2 or later) use lib<name>.so 1.10570 + # instead of lib<name>.a to let people know that these are not 1.10571 + # typical AIX shared libraries. 1.10572 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 1.10573 + else 1.10574 + # We preserve .a as extension for shared libraries through AIX4.2 1.10575 + # and later when we are not doing run time linking. 1.10576 + library_names_spec='${libname}${release}.a $libname.a' 1.10577 + soname_spec='${libname}${release}${shared_ext}$major' 1.10578 + fi 1.10579 + shlibpath_var=LIBPATH 1.10580 + fi 1.10581 + ;; 1.10582 + 1.10583 +amigaos*) 1.10584 + case $host_cpu in 1.10585 + powerpc) 1.10586 + # Since July 2007 AmigaOS4 officially supports .so libraries. 1.10587 + # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 1.10588 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 1.10589 + ;; 1.10590 + m68k) 1.10591 + library_names_spec='$libname.ixlibrary $libname.a' 1.10592 + # Create ${libname}_ixlibrary.a entries in /sys/libs. 1.10593 + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' 1.10594 + ;; 1.10595 + esac 1.10596 + ;; 1.10597 + 1.10598 +beos*) 1.10599 + library_names_spec='${libname}${shared_ext}' 1.10600 + dynamic_linker="$host_os ld.so" 1.10601 + shlibpath_var=LIBRARY_PATH 1.10602 + ;; 1.10603 + 1.10604 +bsdi[45]*) 1.10605 + version_type=linux 1.10606 + need_version=no 1.10607 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 1.10608 + soname_spec='${libname}${release}${shared_ext}$major' 1.10609 + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 1.10610 + shlibpath_var=LD_LIBRARY_PATH 1.10611 + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 1.10612 + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 1.10613 + # the default ld.so.conf also contains /usr/contrib/lib and 1.10614 + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 1.10615 + # libtool to hard-code these into programs 1.10616 + ;; 1.10617 + 1.10618 +cygwin* | mingw* | pw32* | cegcc*) 1.10619 + version_type=windows 1.10620 + shrext_cmds=".dll" 1.10621 + need_version=no 1.10622 + need_lib_prefix=no 1.10623 + 1.10624 + case $GCC,$host_os in 1.10625 + yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*) 1.10626 + library_names_spec='$libname.dll.a' 1.10627 + # DLL is installed to $(libdir)/../bin by postinstall_cmds 1.10628 + postinstall_cmds='base_file=`basename \${file}`~ 1.10629 + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 1.10630 + dldir=$destdir/`dirname \$dlpath`~ 1.10631 + test -d \$dldir || mkdir -p \$dldir~ 1.10632 + $install_prog $dir/$dlname \$dldir/$dlname~ 1.10633 + chmod a+x \$dldir/$dlname~ 1.10634 + if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 1.10635 + eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 1.10636 + fi' 1.10637 + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 1.10638 + dlpath=$dir/\$dldll~ 1.10639 + $RM \$dlpath' 1.10640 + shlibpath_overrides_runpath=yes 1.10641 + 1.10642 + case $host_os in 1.10643 + cygwin*) 1.10644 + # Cygwin DLLs use 'cyg' prefix rather than 'lib' 1.10645 + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 1.10646 + sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" 1.10647 + ;; 1.10648 + mingw* | cegcc*) 1.10649 + # MinGW DLLs use traditional 'lib' prefix 1.10650 + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 1.10651 + sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` 1.10652 + if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 1.10653 + # It is most probably a Windows format PATH printed by 1.10654 + # mingw gcc, but we are running on Cygwin. Gcc prints its search 1.10655 + # path with ; separators, and with drive letters. We can handle the 1.10656 + # drive letters (cygwin fileutils understands them), so leave them, 1.10657 + # especially as we might pass files found there to a mingw objdump, 1.10658 + # which wouldn't understand a cygwinified path. Ahh. 1.10659 + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 1.10660 + else 1.10661 + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 1.10662 + fi 1.10663 + ;; 1.10664 + pw32*) 1.10665 + # pw32 DLLs use 'pw' prefix rather than 'lib' 1.10666 + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 1.10667 + ;; 1.10668 + esac 1.10669 + ;; 1.10670 + 1.10671 + *) 1.10672 + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' 1.10673 + ;; 1.10674 + esac 1.10675 + dynamic_linker='Win32 ld.exe' 1.10676 + # FIXME: first we should search . and the directory the executable is in 1.10677 + shlibpath_var=PATH 1.10678 + ;; 1.10679 + 1.10680 +darwin* | rhapsody*) 1.10681 + dynamic_linker="$host_os dyld" 1.10682 + version_type=darwin 1.10683 + need_lib_prefix=no 1.10684 + need_version=no 1.10685 + library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' 1.10686 + soname_spec='${libname}${release}${major}$shared_ext' 1.10687 + shlibpath_overrides_runpath=yes 1.10688 + shlibpath_var=DYLD_LIBRARY_PATH 1.10689 + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 1.10690 + 1.10691 + sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 1.10692 + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 1.10693 + ;; 1.10694 + 1.10695 +dgux*) 1.10696 + version_type=linux 1.10697 + need_lib_prefix=no 1.10698 + need_version=no 1.10699 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' 1.10700 + soname_spec='${libname}${release}${shared_ext}$major' 1.10701 + shlibpath_var=LD_LIBRARY_PATH 1.10702 + ;; 1.10703 + 1.10704 +freebsd1*) 1.10705 + dynamic_linker=no 1.10706 + ;; 1.10707 + 1.10708 +freebsd* | dragonfly*) 1.10709 + # DragonFly does not have aout. When/if they implement a new 1.10710 + # versioning mechanism, adjust this. 1.10711 + if test -x /usr/bin/objformat; then 1.10712 + objformat=`/usr/bin/objformat` 1.10713 + else 1.10714 + case $host_os in 1.10715 + freebsd[123]*) objformat=aout ;; 1.10716 + *) objformat=elf ;; 1.10717 + esac 1.10718 + fi 1.10719 + version_type=freebsd-$objformat 1.10720 + case $version_type in 1.10721 + freebsd-elf*) 1.10722 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 1.10723 + need_version=no 1.10724 + need_lib_prefix=no 1.10725 + ;; 1.10726 + freebsd-*) 1.10727 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' 1.10728 + need_version=yes 1.10729 + ;; 1.10730 + esac 1.10731 + shlibpath_var=LD_LIBRARY_PATH 1.10732 + case $host_os in 1.10733 + freebsd2*) 1.10734 + shlibpath_overrides_runpath=yes 1.10735 + ;; 1.10736 + freebsd3.[01]* | freebsdelf3.[01]*) 1.10737 + shlibpath_overrides_runpath=yes 1.10738 + hardcode_into_libs=yes 1.10739 + ;; 1.10740 + freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 1.10741 + freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 1.10742 + shlibpath_overrides_runpath=no 1.10743 + hardcode_into_libs=yes 1.10744 + ;; 1.10745 + *) # from 4.6 on, and DragonFly 1.10746 + shlibpath_overrides_runpath=yes 1.10747 + hardcode_into_libs=yes 1.10748 + ;; 1.10749 + esac 1.10750 + ;; 1.10751 + 1.10752 +gnu*) 1.10753 + version_type=linux 1.10754 + need_lib_prefix=no 1.10755 + need_version=no 1.10756 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 1.10757 + soname_spec='${libname}${release}${shared_ext}$major' 1.10758 + shlibpath_var=LD_LIBRARY_PATH 1.10759 + hardcode_into_libs=yes 1.10760 + ;; 1.10761 + 1.10762 +hpux9* | hpux10* | hpux11*) 1.10763 + # Give a soname corresponding to the major version so that dld.sl refuses to 1.10764 + # link against other versions. 1.10765 + version_type=sunos 1.10766 + need_lib_prefix=no 1.10767 + need_version=no 1.10768 + case $host_cpu in 1.10769 + ia64*) 1.10770 + shrext_cmds='.so' 1.10771 + hardcode_into_libs=yes 1.10772 + dynamic_linker="$host_os dld.so" 1.10773 + shlibpath_var=LD_LIBRARY_PATH 1.10774 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 1.10775 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 1.10776 + soname_spec='${libname}${release}${shared_ext}$major' 1.10777 + if test "X$HPUX_IA64_MODE" = X32; then 1.10778 + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 1.10779 + else 1.10780 + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 1.10781 + fi 1.10782 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 1.10783 + ;; 1.10784 + hppa*64*) 1.10785 + shrext_cmds='.sl' 1.10786 + hardcode_into_libs=yes 1.10787 + dynamic_linker="$host_os dld.sl" 1.10788 + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 1.10789 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 1.10790 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 1.10791 + soname_spec='${libname}${release}${shared_ext}$major' 1.10792 + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 1.10793 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 1.10794 + ;; 1.10795 + *) 1.10796 + shrext_cmds='.sl' 1.10797 + dynamic_linker="$host_os dld.sl" 1.10798 + shlibpath_var=SHLIB_PATH 1.10799 + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 1.10800 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 1.10801 + soname_spec='${libname}${release}${shared_ext}$major' 1.10802 + ;; 1.10803 + esac 1.10804 + # HP-UX runs *really* slowly unless shared libraries are mode 555. 1.10805 + postinstall_cmds='chmod 555 $lib' 1.10806 + ;; 1.10807 + 1.10808 +interix[3-9]*) 1.10809 + version_type=linux 1.10810 + need_lib_prefix=no 1.10811 + need_version=no 1.10812 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 1.10813 + soname_spec='${libname}${release}${shared_ext}$major' 1.10814 + dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 1.10815 + shlibpath_var=LD_LIBRARY_PATH 1.10816 + shlibpath_overrides_runpath=no 1.10817 + hardcode_into_libs=yes 1.10818 + ;; 1.10819 + 1.10820 +irix5* | irix6* | nonstopux*) 1.10821 + case $host_os in 1.10822 + nonstopux*) version_type=nonstopux ;; 1.10823 + *) 1.10824 + if test "$lt_cv_prog_gnu_ld" = yes; then 1.10825 + version_type=linux 1.10826 + else 1.10827 + version_type=irix 1.10828 + fi ;; 1.10829 + esac 1.10830 + need_lib_prefix=no 1.10831 + need_version=no 1.10832 + soname_spec='${libname}${release}${shared_ext}$major' 1.10833 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' 1.10834 + case $host_os in 1.10835 + irix5* | nonstopux*) 1.10836 + libsuff= shlibsuff= 1.10837 + ;; 1.10838 + *) 1.10839 + case $LD in # libtool.m4 will add one of these switches to LD 1.10840 + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 1.10841 + libsuff= shlibsuff= libmagic=32-bit;; 1.10842 + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 1.10843 + libsuff=32 shlibsuff=N32 libmagic=N32;; 1.10844 + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 1.10845 + libsuff=64 shlibsuff=64 libmagic=64-bit;; 1.10846 + *) libsuff= shlibsuff= libmagic=never-match;; 1.10847 + esac 1.10848 + ;; 1.10849 + esac 1.10850 + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 1.10851 + shlibpath_overrides_runpath=no 1.10852 + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" 1.10853 + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" 1.10854 + hardcode_into_libs=yes 1.10855 + ;; 1.10856 + 1.10857 +# No shared lib support for Linux oldld, aout, or coff. 1.10858 +linux*oldld* | linux*aout* | linux*coff*) 1.10859 + dynamic_linker=no 1.10860 + ;; 1.10861 + 1.10862 +# This must be Linux ELF. 1.10863 +linux* | k*bsd*-gnu | kopensolaris*-gnu) 1.10864 + version_type=linux 1.10865 + need_lib_prefix=no 1.10866 + need_version=no 1.10867 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 1.10868 + soname_spec='${libname}${release}${shared_ext}$major' 1.10869 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 1.10870 + shlibpath_var=LD_LIBRARY_PATH 1.10871 + shlibpath_overrides_runpath=no 1.10872 + # Some binutils ld are patched to set DT_RUNPATH 1.10873 + save_LDFLAGS=$LDFLAGS 1.10874 + save_libdir=$libdir 1.10875 + eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 1.10876 + LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 1.10877 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.10878 +/* end confdefs.h. */ 1.10879 + 1.10880 +int 1.10881 +main () 1.10882 +{ 1.10883 + 1.10884 + ; 1.10885 + return 0; 1.10886 +} 1.10887 +_ACEOF 1.10888 +if ac_fn_c_try_link "$LINENO"; then : 1.10889 + if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 1.10890 + shlibpath_overrides_runpath=yes 1.10891 +fi 1.10892 +fi 1.10893 +rm -f core conftest.err conftest.$ac_objext \ 1.10894 + conftest$ac_exeext conftest.$ac_ext 1.10895 + LDFLAGS=$save_LDFLAGS 1.10896 + libdir=$save_libdir 1.10897 + 1.10898 + # This implies no fast_install, which is unacceptable. 1.10899 + # Some rework will be needed to allow for fast_install 1.10900 + # before this can be enabled. 1.10901 + hardcode_into_libs=yes 1.10902 + 1.10903 + # Append ld.so.conf contents to the search path 1.10904 + if test -f /etc/ld.so.conf; then 1.10905 + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` 1.10906 + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 1.10907 + fi 1.10908 + 1.10909 + # We used to test for /lib/ld.so.1 and disable shared libraries on 1.10910 + # powerpc, because MkLinux only supported shared libraries with the 1.10911 + # GNU dynamic linker. Since this was broken with cross compilers, 1.10912 + # most powerpc-linux boxes support dynamic linking these days and 1.10913 + # people can always --disable-shared, the test was removed, and we 1.10914 + # assume the GNU/Linux dynamic linker is in use. 1.10915 + dynamic_linker='GNU/Linux ld.so' 1.10916 + ;; 1.10917 + 1.10918 +netbsdelf*-gnu) 1.10919 + version_type=linux 1.10920 + need_lib_prefix=no 1.10921 + need_version=no 1.10922 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 1.10923 + soname_spec='${libname}${release}${shared_ext}$major' 1.10924 + shlibpath_var=LD_LIBRARY_PATH 1.10925 + shlibpath_overrides_runpath=no 1.10926 + hardcode_into_libs=yes 1.10927 + dynamic_linker='NetBSD ld.elf_so' 1.10928 + ;; 1.10929 + 1.10930 +netbsd*) 1.10931 + version_type=sunos 1.10932 + need_lib_prefix=no 1.10933 + need_version=no 1.10934 + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 1.10935 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 1.10936 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 1.10937 + dynamic_linker='NetBSD (a.out) ld.so' 1.10938 + else 1.10939 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 1.10940 + soname_spec='${libname}${release}${shared_ext}$major' 1.10941 + dynamic_linker='NetBSD ld.elf_so' 1.10942 + fi 1.10943 + shlibpath_var=LD_LIBRARY_PATH 1.10944 + shlibpath_overrides_runpath=yes 1.10945 + hardcode_into_libs=yes 1.10946 + ;; 1.10947 + 1.10948 +newsos6) 1.10949 + version_type=linux 1.10950 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 1.10951 + shlibpath_var=LD_LIBRARY_PATH 1.10952 + shlibpath_overrides_runpath=yes 1.10953 + ;; 1.10954 + 1.10955 +*nto* | *qnx*) 1.10956 + version_type=qnx 1.10957 + need_lib_prefix=no 1.10958 + need_version=no 1.10959 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 1.10960 + soname_spec='${libname}${release}${shared_ext}$major' 1.10961 + shlibpath_var=LD_LIBRARY_PATH 1.10962 + shlibpath_overrides_runpath=no 1.10963 + hardcode_into_libs=yes 1.10964 + dynamic_linker='ldqnx.so' 1.10965 + ;; 1.10966 + 1.10967 +openbsd*) 1.10968 + version_type=sunos 1.10969 + sys_lib_dlsearch_path_spec="/usr/lib" 1.10970 + need_lib_prefix=no 1.10971 + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 1.10972 + case $host_os in 1.10973 + openbsd3.3 | openbsd3.3.*) need_version=yes ;; 1.10974 + *) need_version=no ;; 1.10975 + esac 1.10976 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 1.10977 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 1.10978 + shlibpath_var=LD_LIBRARY_PATH 1.10979 + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 1.10980 + case $host_os in 1.10981 + openbsd2.[89] | openbsd2.[89].*) 1.10982 + shlibpath_overrides_runpath=no 1.10983 + ;; 1.10984 + *) 1.10985 + shlibpath_overrides_runpath=yes 1.10986 + ;; 1.10987 + esac 1.10988 + else 1.10989 + shlibpath_overrides_runpath=yes 1.10990 + fi 1.10991 + ;; 1.10992 + 1.10993 +os2*) 1.10994 + libname_spec='$name' 1.10995 + shrext_cmds=".dll" 1.10996 + need_lib_prefix=no 1.10997 + library_names_spec='$libname${shared_ext} $libname.a' 1.10998 + dynamic_linker='OS/2 ld.exe' 1.10999 + shlibpath_var=LIBPATH 1.11000 + ;; 1.11001 + 1.11002 +osf3* | osf4* | osf5*) 1.11003 + version_type=osf 1.11004 + need_lib_prefix=no 1.11005 + need_version=no 1.11006 + soname_spec='${libname}${release}${shared_ext}$major' 1.11007 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 1.11008 + shlibpath_var=LD_LIBRARY_PATH 1.11009 + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 1.11010 + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" 1.11011 + ;; 1.11012 + 1.11013 +rdos*) 1.11014 + dynamic_linker=no 1.11015 + ;; 1.11016 + 1.11017 +solaris*) 1.11018 + version_type=linux 1.11019 + need_lib_prefix=no 1.11020 + need_version=no 1.11021 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 1.11022 + soname_spec='${libname}${release}${shared_ext}$major' 1.11023 + shlibpath_var=LD_LIBRARY_PATH 1.11024 + shlibpath_overrides_runpath=yes 1.11025 + hardcode_into_libs=yes 1.11026 + # ldd complains unless libraries are executable 1.11027 + postinstall_cmds='chmod +x $lib' 1.11028 + ;; 1.11029 + 1.11030 +sunos4*) 1.11031 + version_type=sunos 1.11032 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 1.11033 + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 1.11034 + shlibpath_var=LD_LIBRARY_PATH 1.11035 + shlibpath_overrides_runpath=yes 1.11036 + if test "$with_gnu_ld" = yes; then 1.11037 + need_lib_prefix=no 1.11038 + fi 1.11039 + need_version=yes 1.11040 + ;; 1.11041 + 1.11042 +sysv4 | sysv4.3*) 1.11043 + version_type=linux 1.11044 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 1.11045 + soname_spec='${libname}${release}${shared_ext}$major' 1.11046 + shlibpath_var=LD_LIBRARY_PATH 1.11047 + case $host_vendor in 1.11048 + sni) 1.11049 + shlibpath_overrides_runpath=no 1.11050 + need_lib_prefix=no 1.11051 + runpath_var=LD_RUN_PATH 1.11052 + ;; 1.11053 + siemens) 1.11054 + need_lib_prefix=no 1.11055 + ;; 1.11056 + motorola) 1.11057 + need_lib_prefix=no 1.11058 + need_version=no 1.11059 + shlibpath_overrides_runpath=no 1.11060 + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 1.11061 + ;; 1.11062 + esac 1.11063 + ;; 1.11064 + 1.11065 +sysv4*MP*) 1.11066 + if test -d /usr/nec ;then 1.11067 + version_type=linux 1.11068 + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' 1.11069 + soname_spec='$libname${shared_ext}.$major' 1.11070 + shlibpath_var=LD_LIBRARY_PATH 1.11071 + fi 1.11072 + ;; 1.11073 + 1.11074 +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 1.11075 + version_type=freebsd-elf 1.11076 + need_lib_prefix=no 1.11077 + need_version=no 1.11078 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 1.11079 + soname_spec='${libname}${release}${shared_ext}$major' 1.11080 + shlibpath_var=LD_LIBRARY_PATH 1.11081 + shlibpath_overrides_runpath=yes 1.11082 + hardcode_into_libs=yes 1.11083 + if test "$with_gnu_ld" = yes; then 1.11084 + sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 1.11085 + else 1.11086 + sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 1.11087 + case $host_os in 1.11088 + sco3.2v5*) 1.11089 + sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 1.11090 + ;; 1.11091 + esac 1.11092 + fi 1.11093 + sys_lib_dlsearch_path_spec='/usr/lib' 1.11094 + ;; 1.11095 + 1.11096 +tpf*) 1.11097 + # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 1.11098 + version_type=linux 1.11099 + need_lib_prefix=no 1.11100 + need_version=no 1.11101 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 1.11102 + shlibpath_var=LD_LIBRARY_PATH 1.11103 + shlibpath_overrides_runpath=no 1.11104 + hardcode_into_libs=yes 1.11105 + ;; 1.11106 + 1.11107 +uts4*) 1.11108 + version_type=linux 1.11109 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 1.11110 + soname_spec='${libname}${release}${shared_ext}$major' 1.11111 + shlibpath_var=LD_LIBRARY_PATH 1.11112 + ;; 1.11113 + 1.11114 +*) 1.11115 + dynamic_linker=no 1.11116 + ;; 1.11117 +esac 1.11118 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 1.11119 +$as_echo "$dynamic_linker" >&6; } 1.11120 +test "$dynamic_linker" = no && can_build_shared=no 1.11121 + 1.11122 +variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 1.11123 +if test "$GCC" = yes; then 1.11124 + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 1.11125 +fi 1.11126 + 1.11127 +if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then 1.11128 + sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" 1.11129 +fi 1.11130 +if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then 1.11131 + sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" 1.11132 +fi 1.11133 + 1.11134 + 1.11135 + 1.11136 + 1.11137 + 1.11138 + 1.11139 + 1.11140 + 1.11141 + 1.11142 + 1.11143 + 1.11144 + 1.11145 + 1.11146 + 1.11147 + 1.11148 + 1.11149 + 1.11150 + 1.11151 + 1.11152 + 1.11153 + 1.11154 + 1.11155 + 1.11156 + 1.11157 + 1.11158 + 1.11159 + 1.11160 + 1.11161 + 1.11162 + 1.11163 + 1.11164 + 1.11165 + 1.11166 + 1.11167 + 1.11168 + 1.11169 + 1.11170 + 1.11171 + 1.11172 + 1.11173 + 1.11174 + 1.11175 + 1.11176 + 1.11177 + 1.11178 + 1.11179 + 1.11180 + 1.11181 + 1.11182 + 1.11183 + 1.11184 + 1.11185 + 1.11186 + 1.11187 + 1.11188 + 1.11189 + 1.11190 + 1.11191 + 1.11192 + 1.11193 + 1.11194 + 1.11195 + 1.11196 + 1.11197 + 1.11198 + 1.11199 + 1.11200 + 1.11201 + 1.11202 + 1.11203 + 1.11204 + 1.11205 + 1.11206 + 1.11207 + 1.11208 + 1.11209 + 1.11210 + 1.11211 + 1.11212 + 1.11213 + 1.11214 + 1.11215 + 1.11216 + 1.11217 + 1.11218 + 1.11219 + 1.11220 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 1.11221 +$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 1.11222 +hardcode_action= 1.11223 +if test -n "$hardcode_libdir_flag_spec" || 1.11224 + test -n "$runpath_var" || 1.11225 + test "X$hardcode_automatic" = "Xyes" ; then 1.11226 + 1.11227 + # We can hardcode non-existent directories. 1.11228 + if test "$hardcode_direct" != no && 1.11229 + # If the only mechanism to avoid hardcoding is shlibpath_var, we 1.11230 + # have to relink, otherwise we might link with an installed library 1.11231 + # when we should be linking with a yet-to-be-installed one 1.11232 + ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no && 1.11233 + test "$hardcode_minus_L" != no; then 1.11234 + # Linking always hardcodes the temporary library directory. 1.11235 + hardcode_action=relink 1.11236 + else 1.11237 + # We can link without hardcoding, and we can hardcode nonexisting dirs. 1.11238 + hardcode_action=immediate 1.11239 + fi 1.11240 +else 1.11241 + # We cannot hardcode anything, or else we can only hardcode existing 1.11242 + # directories. 1.11243 + hardcode_action=unsupported 1.11244 +fi 1.11245 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 1.11246 +$as_echo "$hardcode_action" >&6; } 1.11247 + 1.11248 +if test "$hardcode_action" = relink || 1.11249 + test "$inherit_rpath" = yes; then 1.11250 + # Fast installation is not supported 1.11251 + enable_fast_install=no 1.11252 +elif test "$shlibpath_overrides_runpath" = yes || 1.11253 + test "$enable_shared" = no; then 1.11254 + # Fast installation is not necessary 1.11255 + enable_fast_install=needless 1.11256 +fi 1.11257 + 1.11258 + 1.11259 + 1.11260 + 1.11261 + 1.11262 + 1.11263 + if test "x$enable_dlopen" != xyes; then 1.11264 + enable_dlopen=unknown 1.11265 + enable_dlopen_self=unknown 1.11266 + enable_dlopen_self_static=unknown 1.11267 +else 1.11268 + lt_cv_dlopen=no 1.11269 + lt_cv_dlopen_libs= 1.11270 + 1.11271 + case $host_os in 1.11272 + beos*) 1.11273 + lt_cv_dlopen="load_add_on" 1.11274 + lt_cv_dlopen_libs= 1.11275 + lt_cv_dlopen_self=yes 1.11276 + ;; 1.11277 + 1.11278 + mingw* | pw32* | cegcc*) 1.11279 + lt_cv_dlopen="LoadLibrary" 1.11280 + lt_cv_dlopen_libs= 1.11281 + ;; 1.11282 + 1.11283 + cygwin*) 1.11284 + lt_cv_dlopen="dlopen" 1.11285 + lt_cv_dlopen_libs= 1.11286 + ;; 1.11287 + 1.11288 + darwin*) 1.11289 + # if libdl is installed we need to link against it 1.11290 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 1.11291 +$as_echo_n "checking for dlopen in -ldl... " >&6; } 1.11292 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then : 1.11293 + $as_echo_n "(cached) " >&6 1.11294 +else 1.11295 + ac_check_lib_save_LIBS=$LIBS 1.11296 +LIBS="-ldl $LIBS" 1.11297 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.11298 +/* end confdefs.h. */ 1.11299 + 1.11300 +/* Override any GCC internal prototype to avoid an error. 1.11301 + Use char because int might match the return type of a GCC 1.11302 + builtin and then its argument prototype would still apply. */ 1.11303 +#ifdef __cplusplus 1.11304 +extern "C" 1.11305 +#endif 1.11306 +char dlopen (); 1.11307 +int 1.11308 +main () 1.11309 +{ 1.11310 +return dlopen (); 1.11311 + ; 1.11312 + return 0; 1.11313 +} 1.11314 +_ACEOF 1.11315 +if ac_fn_c_try_link "$LINENO"; then : 1.11316 + ac_cv_lib_dl_dlopen=yes 1.11317 +else 1.11318 + ac_cv_lib_dl_dlopen=no 1.11319 +fi 1.11320 +rm -f core conftest.err conftest.$ac_objext \ 1.11321 + conftest$ac_exeext conftest.$ac_ext 1.11322 +LIBS=$ac_check_lib_save_LIBS 1.11323 +fi 1.11324 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 1.11325 +$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 1.11326 +if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : 1.11327 + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 1.11328 +else 1.11329 + 1.11330 + lt_cv_dlopen="dyld" 1.11331 + lt_cv_dlopen_libs= 1.11332 + lt_cv_dlopen_self=yes 1.11333 + 1.11334 +fi 1.11335 + 1.11336 + ;; 1.11337 + 1.11338 + *) 1.11339 + ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 1.11340 +if test "x$ac_cv_func_shl_load" = x""yes; then : 1.11341 + lt_cv_dlopen="shl_load" 1.11342 +else 1.11343 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 1.11344 +$as_echo_n "checking for shl_load in -ldld... " >&6; } 1.11345 +if test "${ac_cv_lib_dld_shl_load+set}" = set; then : 1.11346 + $as_echo_n "(cached) " >&6 1.11347 +else 1.11348 + ac_check_lib_save_LIBS=$LIBS 1.11349 +LIBS="-ldld $LIBS" 1.11350 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.11351 +/* end confdefs.h. */ 1.11352 + 1.11353 +/* Override any GCC internal prototype to avoid an error. 1.11354 + Use char because int might match the return type of a GCC 1.11355 + builtin and then its argument prototype would still apply. */ 1.11356 +#ifdef __cplusplus 1.11357 +extern "C" 1.11358 +#endif 1.11359 +char shl_load (); 1.11360 +int 1.11361 +main () 1.11362 +{ 1.11363 +return shl_load (); 1.11364 + ; 1.11365 + return 0; 1.11366 +} 1.11367 +_ACEOF 1.11368 +if ac_fn_c_try_link "$LINENO"; then : 1.11369 + ac_cv_lib_dld_shl_load=yes 1.11370 +else 1.11371 + ac_cv_lib_dld_shl_load=no 1.11372 +fi 1.11373 +rm -f core conftest.err conftest.$ac_objext \ 1.11374 + conftest$ac_exeext conftest.$ac_ext 1.11375 +LIBS=$ac_check_lib_save_LIBS 1.11376 +fi 1.11377 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 1.11378 +$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 1.11379 +if test "x$ac_cv_lib_dld_shl_load" = x""yes; then : 1.11380 + lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" 1.11381 +else 1.11382 + ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 1.11383 +if test "x$ac_cv_func_dlopen" = x""yes; then : 1.11384 + lt_cv_dlopen="dlopen" 1.11385 +else 1.11386 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 1.11387 +$as_echo_n "checking for dlopen in -ldl... " >&6; } 1.11388 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then : 1.11389 + $as_echo_n "(cached) " >&6 1.11390 +else 1.11391 + ac_check_lib_save_LIBS=$LIBS 1.11392 +LIBS="-ldl $LIBS" 1.11393 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.11394 +/* end confdefs.h. */ 1.11395 + 1.11396 +/* Override any GCC internal prototype to avoid an error. 1.11397 + Use char because int might match the return type of a GCC 1.11398 + builtin and then its argument prototype would still apply. */ 1.11399 +#ifdef __cplusplus 1.11400 +extern "C" 1.11401 +#endif 1.11402 +char dlopen (); 1.11403 +int 1.11404 +main () 1.11405 +{ 1.11406 +return dlopen (); 1.11407 + ; 1.11408 + return 0; 1.11409 +} 1.11410 +_ACEOF 1.11411 +if ac_fn_c_try_link "$LINENO"; then : 1.11412 + ac_cv_lib_dl_dlopen=yes 1.11413 +else 1.11414 + ac_cv_lib_dl_dlopen=no 1.11415 +fi 1.11416 +rm -f core conftest.err conftest.$ac_objext \ 1.11417 + conftest$ac_exeext conftest.$ac_ext 1.11418 +LIBS=$ac_check_lib_save_LIBS 1.11419 +fi 1.11420 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 1.11421 +$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 1.11422 +if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : 1.11423 + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 1.11424 +else 1.11425 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 1.11426 +$as_echo_n "checking for dlopen in -lsvld... " >&6; } 1.11427 +if test "${ac_cv_lib_svld_dlopen+set}" = set; then : 1.11428 + $as_echo_n "(cached) " >&6 1.11429 +else 1.11430 + ac_check_lib_save_LIBS=$LIBS 1.11431 +LIBS="-lsvld $LIBS" 1.11432 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.11433 +/* end confdefs.h. */ 1.11434 + 1.11435 +/* Override any GCC internal prototype to avoid an error. 1.11436 + Use char because int might match the return type of a GCC 1.11437 + builtin and then its argument prototype would still apply. */ 1.11438 +#ifdef __cplusplus 1.11439 +extern "C" 1.11440 +#endif 1.11441 +char dlopen (); 1.11442 +int 1.11443 +main () 1.11444 +{ 1.11445 +return dlopen (); 1.11446 + ; 1.11447 + return 0; 1.11448 +} 1.11449 +_ACEOF 1.11450 +if ac_fn_c_try_link "$LINENO"; then : 1.11451 + ac_cv_lib_svld_dlopen=yes 1.11452 +else 1.11453 + ac_cv_lib_svld_dlopen=no 1.11454 +fi 1.11455 +rm -f core conftest.err conftest.$ac_objext \ 1.11456 + conftest$ac_exeext conftest.$ac_ext 1.11457 +LIBS=$ac_check_lib_save_LIBS 1.11458 +fi 1.11459 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 1.11460 +$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 1.11461 +if test "x$ac_cv_lib_svld_dlopen" = x""yes; then : 1.11462 + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" 1.11463 +else 1.11464 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 1.11465 +$as_echo_n "checking for dld_link in -ldld... " >&6; } 1.11466 +if test "${ac_cv_lib_dld_dld_link+set}" = set; then : 1.11467 + $as_echo_n "(cached) " >&6 1.11468 +else 1.11469 + ac_check_lib_save_LIBS=$LIBS 1.11470 +LIBS="-ldld $LIBS" 1.11471 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.11472 +/* end confdefs.h. */ 1.11473 + 1.11474 +/* Override any GCC internal prototype to avoid an error. 1.11475 + Use char because int might match the return type of a GCC 1.11476 + builtin and then its argument prototype would still apply. */ 1.11477 +#ifdef __cplusplus 1.11478 +extern "C" 1.11479 +#endif 1.11480 +char dld_link (); 1.11481 +int 1.11482 +main () 1.11483 +{ 1.11484 +return dld_link (); 1.11485 + ; 1.11486 + return 0; 1.11487 +} 1.11488 +_ACEOF 1.11489 +if ac_fn_c_try_link "$LINENO"; then : 1.11490 + ac_cv_lib_dld_dld_link=yes 1.11491 +else 1.11492 + ac_cv_lib_dld_dld_link=no 1.11493 +fi 1.11494 +rm -f core conftest.err conftest.$ac_objext \ 1.11495 + conftest$ac_exeext conftest.$ac_ext 1.11496 +LIBS=$ac_check_lib_save_LIBS 1.11497 +fi 1.11498 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 1.11499 +$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 1.11500 +if test "x$ac_cv_lib_dld_dld_link" = x""yes; then : 1.11501 + lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" 1.11502 +fi 1.11503 + 1.11504 + 1.11505 +fi 1.11506 + 1.11507 + 1.11508 +fi 1.11509 + 1.11510 + 1.11511 +fi 1.11512 + 1.11513 + 1.11514 +fi 1.11515 + 1.11516 + 1.11517 +fi 1.11518 + 1.11519 + ;; 1.11520 + esac 1.11521 + 1.11522 + if test "x$lt_cv_dlopen" != xno; then 1.11523 + enable_dlopen=yes 1.11524 + else 1.11525 + enable_dlopen=no 1.11526 + fi 1.11527 + 1.11528 + case $lt_cv_dlopen in 1.11529 + dlopen) 1.11530 + save_CPPFLAGS="$CPPFLAGS" 1.11531 + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 1.11532 + 1.11533 + save_LDFLAGS="$LDFLAGS" 1.11534 + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 1.11535 + 1.11536 + save_LIBS="$LIBS" 1.11537 + LIBS="$lt_cv_dlopen_libs $LIBS" 1.11538 + 1.11539 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 1.11540 +$as_echo_n "checking whether a program can dlopen itself... " >&6; } 1.11541 +if test "${lt_cv_dlopen_self+set}" = set; then : 1.11542 + $as_echo_n "(cached) " >&6 1.11543 +else 1.11544 + if test "$cross_compiling" = yes; then : 1.11545 + lt_cv_dlopen_self=cross 1.11546 +else 1.11547 + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 1.11548 + lt_status=$lt_dlunknown 1.11549 + cat > conftest.$ac_ext <<_LT_EOF 1.11550 +#line 11547 "configure" 1.11551 +#include "confdefs.h" 1.11552 + 1.11553 +#if HAVE_DLFCN_H 1.11554 +#include <dlfcn.h> 1.11555 +#endif 1.11556 + 1.11557 +#include <stdio.h> 1.11558 + 1.11559 +#ifdef RTLD_GLOBAL 1.11560 +# define LT_DLGLOBAL RTLD_GLOBAL 1.11561 +#else 1.11562 +# ifdef DL_GLOBAL 1.11563 +# define LT_DLGLOBAL DL_GLOBAL 1.11564 +# else 1.11565 +# define LT_DLGLOBAL 0 1.11566 +# endif 1.11567 +#endif 1.11568 + 1.11569 +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 1.11570 + find out it does not work in some platform. */ 1.11571 +#ifndef LT_DLLAZY_OR_NOW 1.11572 +# ifdef RTLD_LAZY 1.11573 +# define LT_DLLAZY_OR_NOW RTLD_LAZY 1.11574 +# else 1.11575 +# ifdef DL_LAZY 1.11576 +# define LT_DLLAZY_OR_NOW DL_LAZY 1.11577 +# else 1.11578 +# ifdef RTLD_NOW 1.11579 +# define LT_DLLAZY_OR_NOW RTLD_NOW 1.11580 +# else 1.11581 +# ifdef DL_NOW 1.11582 +# define LT_DLLAZY_OR_NOW DL_NOW 1.11583 +# else 1.11584 +# define LT_DLLAZY_OR_NOW 0 1.11585 +# endif 1.11586 +# endif 1.11587 +# endif 1.11588 +# endif 1.11589 +#endif 1.11590 + 1.11591 +void fnord() { int i=42;} 1.11592 +int main () 1.11593 +{ 1.11594 + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 1.11595 + int status = $lt_dlunknown; 1.11596 + 1.11597 + if (self) 1.11598 + { 1.11599 + if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 1.11600 + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 1.11601 + /* dlclose (self); */ 1.11602 + } 1.11603 + else 1.11604 + puts (dlerror ()); 1.11605 + 1.11606 + return status; 1.11607 +} 1.11608 +_LT_EOF 1.11609 + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 1.11610 + (eval $ac_link) 2>&5 1.11611 + ac_status=$? 1.11612 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1.11613 + test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 1.11614 + (./conftest; exit; ) >&5 2>/dev/null 1.11615 + lt_status=$? 1.11616 + case x$lt_status in 1.11617 + x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 1.11618 + x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 1.11619 + x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 1.11620 + esac 1.11621 + else : 1.11622 + # compilation failed 1.11623 + lt_cv_dlopen_self=no 1.11624 + fi 1.11625 +fi 1.11626 +rm -fr conftest* 1.11627 + 1.11628 + 1.11629 +fi 1.11630 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 1.11631 +$as_echo "$lt_cv_dlopen_self" >&6; } 1.11632 + 1.11633 + if test "x$lt_cv_dlopen_self" = xyes; then 1.11634 + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 1.11635 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 1.11636 +$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 1.11637 +if test "${lt_cv_dlopen_self_static+set}" = set; then : 1.11638 + $as_echo_n "(cached) " >&6 1.11639 +else 1.11640 + if test "$cross_compiling" = yes; then : 1.11641 + lt_cv_dlopen_self_static=cross 1.11642 +else 1.11643 + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 1.11644 + lt_status=$lt_dlunknown 1.11645 + cat > conftest.$ac_ext <<_LT_EOF 1.11646 +#line 11643 "configure" 1.11647 +#include "confdefs.h" 1.11648 + 1.11649 +#if HAVE_DLFCN_H 1.11650 +#include <dlfcn.h> 1.11651 +#endif 1.11652 + 1.11653 +#include <stdio.h> 1.11654 + 1.11655 +#ifdef RTLD_GLOBAL 1.11656 +# define LT_DLGLOBAL RTLD_GLOBAL 1.11657 +#else 1.11658 +# ifdef DL_GLOBAL 1.11659 +# define LT_DLGLOBAL DL_GLOBAL 1.11660 +# else 1.11661 +# define LT_DLGLOBAL 0 1.11662 +# endif 1.11663 +#endif 1.11664 + 1.11665 +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 1.11666 + find out it does not work in some platform. */ 1.11667 +#ifndef LT_DLLAZY_OR_NOW 1.11668 +# ifdef RTLD_LAZY 1.11669 +# define LT_DLLAZY_OR_NOW RTLD_LAZY 1.11670 +# else 1.11671 +# ifdef DL_LAZY 1.11672 +# define LT_DLLAZY_OR_NOW DL_LAZY 1.11673 +# else 1.11674 +# ifdef RTLD_NOW 1.11675 +# define LT_DLLAZY_OR_NOW RTLD_NOW 1.11676 +# else 1.11677 +# ifdef DL_NOW 1.11678 +# define LT_DLLAZY_OR_NOW DL_NOW 1.11679 +# else 1.11680 +# define LT_DLLAZY_OR_NOW 0 1.11681 +# endif 1.11682 +# endif 1.11683 +# endif 1.11684 +# endif 1.11685 +#endif 1.11686 + 1.11687 +void fnord() { int i=42;} 1.11688 +int main () 1.11689 +{ 1.11690 + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 1.11691 + int status = $lt_dlunknown; 1.11692 + 1.11693 + if (self) 1.11694 + { 1.11695 + if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 1.11696 + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 1.11697 + /* dlclose (self); */ 1.11698 + } 1.11699 + else 1.11700 + puts (dlerror ()); 1.11701 + 1.11702 + return status; 1.11703 +} 1.11704 +_LT_EOF 1.11705 + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 1.11706 + (eval $ac_link) 2>&5 1.11707 + ac_status=$? 1.11708 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1.11709 + test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 1.11710 + (./conftest; exit; ) >&5 2>/dev/null 1.11711 + lt_status=$? 1.11712 + case x$lt_status in 1.11713 + x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 1.11714 + x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 1.11715 + x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 1.11716 + esac 1.11717 + else : 1.11718 + # compilation failed 1.11719 + lt_cv_dlopen_self_static=no 1.11720 + fi 1.11721 +fi 1.11722 +rm -fr conftest* 1.11723 + 1.11724 + 1.11725 +fi 1.11726 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 1.11727 +$as_echo "$lt_cv_dlopen_self_static" >&6; } 1.11728 + fi 1.11729 + 1.11730 + CPPFLAGS="$save_CPPFLAGS" 1.11731 + LDFLAGS="$save_LDFLAGS" 1.11732 + LIBS="$save_LIBS" 1.11733 + ;; 1.11734 + esac 1.11735 + 1.11736 + case $lt_cv_dlopen_self in 1.11737 + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 1.11738 + *) enable_dlopen_self=unknown ;; 1.11739 + esac 1.11740 + 1.11741 + case $lt_cv_dlopen_self_static in 1.11742 + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 1.11743 + *) enable_dlopen_self_static=unknown ;; 1.11744 + esac 1.11745 +fi 1.11746 + 1.11747 + 1.11748 + 1.11749 + 1.11750 + 1.11751 + 1.11752 + 1.11753 + 1.11754 + 1.11755 + 1.11756 + 1.11757 + 1.11758 + 1.11759 + 1.11760 + 1.11761 + 1.11762 + 1.11763 +striplib= 1.11764 +old_striplib= 1.11765 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 1.11766 +$as_echo_n "checking whether stripping libraries is possible... " >&6; } 1.11767 +if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 1.11768 + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 1.11769 + test -z "$striplib" && striplib="$STRIP --strip-unneeded" 1.11770 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 1.11771 +$as_echo "yes" >&6; } 1.11772 +else 1.11773 +# FIXME - insert some real tests, host_os isn't really good enough 1.11774 + case $host_os in 1.11775 + darwin*) 1.11776 + if test -n "$STRIP" ; then 1.11777 + striplib="$STRIP -x" 1.11778 + old_striplib="$STRIP -S" 1.11779 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 1.11780 +$as_echo "yes" >&6; } 1.11781 + else 1.11782 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1.11783 +$as_echo "no" >&6; } 1.11784 + fi 1.11785 + ;; 1.11786 + *) 1.11787 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1.11788 +$as_echo "no" >&6; } 1.11789 + ;; 1.11790 + esac 1.11791 +fi 1.11792 + 1.11793 + 1.11794 + 1.11795 + 1.11796 + 1.11797 + 1.11798 + 1.11799 + 1.11800 + 1.11801 + 1.11802 + 1.11803 + 1.11804 + # Report which library types will actually be built 1.11805 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 1.11806 +$as_echo_n "checking if libtool supports shared libraries... " >&6; } 1.11807 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 1.11808 +$as_echo "$can_build_shared" >&6; } 1.11809 + 1.11810 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 1.11811 +$as_echo_n "checking whether to build shared libraries... " >&6; } 1.11812 + test "$can_build_shared" = "no" && enable_shared=no 1.11813 + 1.11814 + # On AIX, shared libraries and static libraries use the same namespace, and 1.11815 + # are all built from PIC. 1.11816 + case $host_os in 1.11817 + aix3*) 1.11818 + test "$enable_shared" = yes && enable_static=no 1.11819 + if test -n "$RANLIB"; then 1.11820 + archive_cmds="$archive_cmds~\$RANLIB \$lib" 1.11821 + postinstall_cmds='$RANLIB $lib' 1.11822 + fi 1.11823 + ;; 1.11824 + 1.11825 + aix[4-9]*) 1.11826 + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 1.11827 + test "$enable_shared" = yes && enable_static=no 1.11828 + fi 1.11829 + ;; 1.11830 + esac 1.11831 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 1.11832 +$as_echo "$enable_shared" >&6; } 1.11833 + 1.11834 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 1.11835 +$as_echo_n "checking whether to build static libraries... " >&6; } 1.11836 + # Make sure either enable_shared or enable_static is yes. 1.11837 + test "$enable_shared" = yes || enable_static=yes 1.11838 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 1.11839 +$as_echo "$enable_static" >&6; } 1.11840 + 1.11841 + 1.11842 + 1.11843 + 1.11844 +fi 1.11845 +ac_ext=cpp 1.11846 +ac_cpp='$CXXCPP $CPPFLAGS' 1.11847 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1.11848 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1.11849 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 1.11850 + 1.11851 +CC="$lt_save_CC" 1.11852 + 1.11853 + 1.11854 +ac_ext=cpp 1.11855 +ac_cpp='$CXXCPP $CPPFLAGS' 1.11856 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1.11857 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1.11858 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 1.11859 + 1.11860 +archive_cmds_need_lc_CXX=no 1.11861 +allow_undefined_flag_CXX= 1.11862 +always_export_symbols_CXX=no 1.11863 +archive_expsym_cmds_CXX= 1.11864 +compiler_needs_object_CXX=no 1.11865 +export_dynamic_flag_spec_CXX= 1.11866 +hardcode_direct_CXX=no 1.11867 +hardcode_direct_absolute_CXX=no 1.11868 +hardcode_libdir_flag_spec_CXX= 1.11869 +hardcode_libdir_flag_spec_ld_CXX= 1.11870 +hardcode_libdir_separator_CXX= 1.11871 +hardcode_minus_L_CXX=no 1.11872 +hardcode_shlibpath_var_CXX=unsupported 1.11873 +hardcode_automatic_CXX=no 1.11874 +inherit_rpath_CXX=no 1.11875 +module_cmds_CXX= 1.11876 +module_expsym_cmds_CXX= 1.11877 +link_all_deplibs_CXX=unknown 1.11878 +old_archive_cmds_CXX=$old_archive_cmds 1.11879 +no_undefined_flag_CXX= 1.11880 +whole_archive_flag_spec_CXX= 1.11881 +enable_shared_with_static_runtimes_CXX=no 1.11882 + 1.11883 +# Source file extension for C++ test sources. 1.11884 +ac_ext=cpp 1.11885 + 1.11886 +# Object file extension for compiled C++ test sources. 1.11887 +objext=o 1.11888 +objext_CXX=$objext 1.11889 + 1.11890 +# No sense in running all these tests if we already determined that 1.11891 +# the CXX compiler isn't working. Some variables (like enable_shared) 1.11892 +# are currently assumed to apply to all compilers on this platform, 1.11893 +# and will be corrupted by setting them based on a non-working compiler. 1.11894 +if test "$_lt_caught_CXX_error" != yes; then 1.11895 + # Code to be used in simple compile tests 1.11896 + lt_simple_compile_test_code="int some_variable = 0;" 1.11897 + 1.11898 + # Code to be used in simple link tests 1.11899 + lt_simple_link_test_code='int main(int, char *[]) { return(0); }' 1.11900 + 1.11901 + # ltmain only uses $CC for tagged configurations so make sure $CC is set. 1.11902 + 1.11903 + 1.11904 + 1.11905 + 1.11906 + 1.11907 + 1.11908 +# If no C compiler was specified, use CC. 1.11909 +LTCC=${LTCC-"$CC"} 1.11910 + 1.11911 +# If no C compiler flags were specified, use CFLAGS. 1.11912 +LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 1.11913 + 1.11914 +# Allow CC to be a program name with arguments. 1.11915 +compiler=$CC 1.11916 + 1.11917 + 1.11918 + # save warnings/boilerplate of simple test code 1.11919 + ac_outfile=conftest.$ac_objext 1.11920 +echo "$lt_simple_compile_test_code" >conftest.$ac_ext 1.11921 +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 1.11922 +_lt_compiler_boilerplate=`cat conftest.err` 1.11923 +$RM conftest* 1.11924 + 1.11925 + ac_outfile=conftest.$ac_objext 1.11926 +echo "$lt_simple_link_test_code" >conftest.$ac_ext 1.11927 +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 1.11928 +_lt_linker_boilerplate=`cat conftest.err` 1.11929 +$RM -r conftest* 1.11930 + 1.11931 + 1.11932 + # Allow CC to be a program name with arguments. 1.11933 + lt_save_CC=$CC 1.11934 + lt_save_LD=$LD 1.11935 + lt_save_GCC=$GCC 1.11936 + GCC=$GXX 1.11937 + lt_save_with_gnu_ld=$with_gnu_ld 1.11938 + lt_save_path_LD=$lt_cv_path_LD 1.11939 + if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then 1.11940 + lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx 1.11941 + else 1.11942 + $as_unset lt_cv_prog_gnu_ld 1.11943 + fi 1.11944 + if test -n "${lt_cv_path_LDCXX+set}"; then 1.11945 + lt_cv_path_LD=$lt_cv_path_LDCXX 1.11946 + else 1.11947 + $as_unset lt_cv_path_LD 1.11948 + fi 1.11949 + test -z "${LDCXX+set}" || LD=$LDCXX 1.11950 + CC=${CXX-"c++"} 1.11951 + compiler=$CC 1.11952 + compiler_CXX=$CC 1.11953 + for cc_temp in $compiler""; do 1.11954 + case $cc_temp in 1.11955 + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 1.11956 + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 1.11957 + \-*) ;; 1.11958 + *) break;; 1.11959 + esac 1.11960 +done 1.11961 +cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` 1.11962 + 1.11963 + 1.11964 + if test -n "$compiler"; then 1.11965 + # We don't want -fno-exception when compiling C++ code, so set the 1.11966 + # no_builtin_flag separately 1.11967 + if test "$GXX" = yes; then 1.11968 + lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin' 1.11969 + else 1.11970 + lt_prog_compiler_no_builtin_flag_CXX= 1.11971 + fi 1.11972 + 1.11973 + if test "$GXX" = yes; then 1.11974 + # Set up default GNU C++ configuration 1.11975 + 1.11976 + 1.11977 + 1.11978 +# Check whether --with-gnu-ld was given. 1.11979 +if test "${with_gnu_ld+set}" = set; then : 1.11980 + withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 1.11981 +else 1.11982 + with_gnu_ld=no 1.11983 +fi 1.11984 + 1.11985 +ac_prog=ld 1.11986 +if test "$GCC" = yes; then 1.11987 + # Check if gcc -print-prog-name=ld gives a path. 1.11988 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 1.11989 +$as_echo_n "checking for ld used by $CC... " >&6; } 1.11990 + case $host in 1.11991 + *-*-mingw*) 1.11992 + # gcc leaves a trailing carriage return which upsets mingw 1.11993 + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 1.11994 + *) 1.11995 + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 1.11996 + esac 1.11997 + case $ac_prog in 1.11998 + # Accept absolute paths. 1.11999 + [\\/]* | ?:[\\/]*) 1.12000 + re_direlt='/[^/][^/]*/\.\./' 1.12001 + # Canonicalize the pathname of ld 1.12002 + ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 1.12003 + while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 1.12004 + ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 1.12005 + done 1.12006 + test -z "$LD" && LD="$ac_prog" 1.12007 + ;; 1.12008 + "") 1.12009 + # If it fails, then pretend we aren't using GCC. 1.12010 + ac_prog=ld 1.12011 + ;; 1.12012 + *) 1.12013 + # If it is relative, then search for the first ld in PATH. 1.12014 + with_gnu_ld=unknown 1.12015 + ;; 1.12016 + esac 1.12017 +elif test "$with_gnu_ld" = yes; then 1.12018 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 1.12019 +$as_echo_n "checking for GNU ld... " >&6; } 1.12020 +else 1.12021 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 1.12022 +$as_echo_n "checking for non-GNU ld... " >&6; } 1.12023 +fi 1.12024 +if test "${lt_cv_path_LD+set}" = set; then : 1.12025 + $as_echo_n "(cached) " >&6 1.12026 +else 1.12027 + if test -z "$LD"; then 1.12028 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 1.12029 + for ac_dir in $PATH; do 1.12030 + IFS="$lt_save_ifs" 1.12031 + test -z "$ac_dir" && ac_dir=. 1.12032 + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 1.12033 + lt_cv_path_LD="$ac_dir/$ac_prog" 1.12034 + # Check to see if the program is GNU ld. I'd rather use --version, 1.12035 + # but apparently some variants of GNU ld only accept -v. 1.12036 + # Break only if it was the GNU/non-GNU ld that we prefer. 1.12037 + case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 1.12038 + *GNU* | *'with BFD'*) 1.12039 + test "$with_gnu_ld" != no && break 1.12040 + ;; 1.12041 + *) 1.12042 + test "$with_gnu_ld" != yes && break 1.12043 + ;; 1.12044 + esac 1.12045 + fi 1.12046 + done 1.12047 + IFS="$lt_save_ifs" 1.12048 +else 1.12049 + lt_cv_path_LD="$LD" # Let the user override the test with a path. 1.12050 +fi 1.12051 +fi 1.12052 + 1.12053 +LD="$lt_cv_path_LD" 1.12054 +if test -n "$LD"; then 1.12055 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 1.12056 +$as_echo "$LD" >&6; } 1.12057 +else 1.12058 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1.12059 +$as_echo "no" >&6; } 1.12060 +fi 1.12061 +test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5 1.12062 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 1.12063 +$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 1.12064 +if test "${lt_cv_prog_gnu_ld+set}" = set; then : 1.12065 + $as_echo_n "(cached) " >&6 1.12066 +else 1.12067 + # I'd rather use --version here, but apparently some GNU lds only accept -v. 1.12068 +case `$LD -v 2>&1 </dev/null` in 1.12069 +*GNU* | *'with BFD'*) 1.12070 + lt_cv_prog_gnu_ld=yes 1.12071 + ;; 1.12072 +*) 1.12073 + lt_cv_prog_gnu_ld=no 1.12074 + ;; 1.12075 +esac 1.12076 +fi 1.12077 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 1.12078 +$as_echo "$lt_cv_prog_gnu_ld" >&6; } 1.12079 +with_gnu_ld=$lt_cv_prog_gnu_ld 1.12080 + 1.12081 + 1.12082 + 1.12083 + 1.12084 + 1.12085 + 1.12086 + 1.12087 + # Check if GNU C++ uses GNU ld as the underlying linker, since the 1.12088 + # archiving commands below assume that GNU ld is being used. 1.12089 + if test "$with_gnu_ld" = yes; then 1.12090 + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' 1.12091 + archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 1.12092 + 1.12093 + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' 1.12094 + export_dynamic_flag_spec_CXX='${wl}--export-dynamic' 1.12095 + 1.12096 + # If archive_cmds runs LD, not CC, wlarc should be empty 1.12097 + # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to 1.12098 + # investigate it a little bit more. (MM) 1.12099 + wlarc='${wl}' 1.12100 + 1.12101 + # ancient GNU ld didn't support --whole-archive et. al. 1.12102 + if eval "`$CC -print-prog-name=ld` --help 2>&1" | 1.12103 + $GREP 'no-whole-archive' > /dev/null; then 1.12104 + whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 1.12105 + else 1.12106 + whole_archive_flag_spec_CXX= 1.12107 + fi 1.12108 + else 1.12109 + with_gnu_ld=no 1.12110 + wlarc= 1.12111 + 1.12112 + # A generic and very simple default shared library creation 1.12113 + # command for GNU C++ for the case where it uses the native 1.12114 + # linker, instead of GNU ld. If possible, this setting should 1.12115 + # overridden to take advantage of the native linker features on 1.12116 + # the platform it is being used on. 1.12117 + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 1.12118 + fi 1.12119 + 1.12120 + # Commands to make compiler produce verbose output that lists 1.12121 + # what "hidden" libraries, object files and flags are used when 1.12122 + # linking a shared library. 1.12123 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"' 1.12124 + 1.12125 + else 1.12126 + GXX=no 1.12127 + with_gnu_ld=no 1.12128 + wlarc= 1.12129 + fi 1.12130 + 1.12131 + # PORTME: fill in a description of your system's C++ link characteristics 1.12132 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 1.12133 +$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 1.12134 + ld_shlibs_CXX=yes 1.12135 + case $host_os in 1.12136 + aix3*) 1.12137 + # FIXME: insert proper C++ library support 1.12138 + ld_shlibs_CXX=no 1.12139 + ;; 1.12140 + aix[4-9]*) 1.12141 + if test "$host_cpu" = ia64; then 1.12142 + # On IA64, the linker does run time linking by default, so we don't 1.12143 + # have to do anything special. 1.12144 + aix_use_runtimelinking=no 1.12145 + exp_sym_flag='-Bexport' 1.12146 + no_entry_flag="" 1.12147 + else 1.12148 + aix_use_runtimelinking=no 1.12149 + 1.12150 + # Test if we are trying to use run time linking or normal 1.12151 + # AIX style linking. If -brtl is somewhere in LDFLAGS, we 1.12152 + # need to do runtime linking. 1.12153 + case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 1.12154 + for ld_flag in $LDFLAGS; do 1.12155 + case $ld_flag in 1.12156 + *-brtl*) 1.12157 + aix_use_runtimelinking=yes 1.12158 + break 1.12159 + ;; 1.12160 + esac 1.12161 + done 1.12162 + ;; 1.12163 + esac 1.12164 + 1.12165 + exp_sym_flag='-bexport' 1.12166 + no_entry_flag='-bnoentry' 1.12167 + fi 1.12168 + 1.12169 + # When large executables or shared objects are built, AIX ld can 1.12170 + # have problems creating the table of contents. If linking a library 1.12171 + # or program results in "error TOC overflow" add -mminimal-toc to 1.12172 + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 1.12173 + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 1.12174 + 1.12175 + archive_cmds_CXX='' 1.12176 + hardcode_direct_CXX=yes 1.12177 + hardcode_direct_absolute_CXX=yes 1.12178 + hardcode_libdir_separator_CXX=':' 1.12179 + link_all_deplibs_CXX=yes 1.12180 + file_list_spec_CXX='${wl}-f,' 1.12181 + 1.12182 + if test "$GXX" = yes; then 1.12183 + case $host_os in aix4.[012]|aix4.[012].*) 1.12184 + # We only want to do this on AIX 4.2 and lower, the check 1.12185 + # below for broken collect2 doesn't work under 4.3+ 1.12186 + collect2name=`${CC} -print-prog-name=collect2` 1.12187 + if test -f "$collect2name" && 1.12188 + strings "$collect2name" | $GREP resolve_lib_name >/dev/null 1.12189 + then 1.12190 + # We have reworked collect2 1.12191 + : 1.12192 + else 1.12193 + # We have old collect2 1.12194 + hardcode_direct_CXX=unsupported 1.12195 + # It fails to find uninstalled libraries when the uninstalled 1.12196 + # path is not listed in the libpath. Setting hardcode_minus_L 1.12197 + # to unsupported forces relinking 1.12198 + hardcode_minus_L_CXX=yes 1.12199 + hardcode_libdir_flag_spec_CXX='-L$libdir' 1.12200 + hardcode_libdir_separator_CXX= 1.12201 + fi 1.12202 + esac 1.12203 + shared_flag='-shared' 1.12204 + if test "$aix_use_runtimelinking" = yes; then 1.12205 + shared_flag="$shared_flag "'${wl}-G' 1.12206 + fi 1.12207 + else 1.12208 + # not using gcc 1.12209 + if test "$host_cpu" = ia64; then 1.12210 + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 1.12211 + # chokes on -Wl,-G. The following line is correct: 1.12212 + shared_flag='-G' 1.12213 + else 1.12214 + if test "$aix_use_runtimelinking" = yes; then 1.12215 + shared_flag='${wl}-G' 1.12216 + else 1.12217 + shared_flag='${wl}-bM:SRE' 1.12218 + fi 1.12219 + fi 1.12220 + fi 1.12221 + 1.12222 + export_dynamic_flag_spec_CXX='${wl}-bexpall' 1.12223 + # It seems that -bexpall does not export symbols beginning with 1.12224 + # underscore (_), so it is better to generate a list of symbols to 1.12225 + # export. 1.12226 + always_export_symbols_CXX=yes 1.12227 + if test "$aix_use_runtimelinking" = yes; then 1.12228 + # Warning - without using the other runtime loading flags (-brtl), 1.12229 + # -berok will link without error, but may produce a broken library. 1.12230 + allow_undefined_flag_CXX='-berok' 1.12231 + # Determine the default libpath from the value encoded in an empty 1.12232 + # executable. 1.12233 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.12234 +/* end confdefs.h. */ 1.12235 + 1.12236 +int 1.12237 +main () 1.12238 +{ 1.12239 + 1.12240 + ; 1.12241 + return 0; 1.12242 +} 1.12243 +_ACEOF 1.12244 +if ac_fn_cxx_try_link "$LINENO"; then : 1.12245 + 1.12246 +lt_aix_libpath_sed=' 1.12247 + /Import File Strings/,/^$/ { 1.12248 + /^0/ { 1.12249 + s/^0 *\(.*\)$/\1/ 1.12250 + p 1.12251 + } 1.12252 + }' 1.12253 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 1.12254 +# Check for a 64-bit object if we didn't find anything. 1.12255 +if test -z "$aix_libpath"; then 1.12256 + aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 1.12257 +fi 1.12258 +fi 1.12259 +rm -f core conftest.err conftest.$ac_objext \ 1.12260 + conftest$ac_exeext conftest.$ac_ext 1.12261 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 1.12262 + 1.12263 + hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" 1.12264 + 1.12265 + archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" 1.12266 + else 1.12267 + if test "$host_cpu" = ia64; then 1.12268 + hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib' 1.12269 + allow_undefined_flag_CXX="-z nodefs" 1.12270 + archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" 1.12271 + else 1.12272 + # Determine the default libpath from the value encoded in an 1.12273 + # empty executable. 1.12274 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.12275 +/* end confdefs.h. */ 1.12276 + 1.12277 +int 1.12278 +main () 1.12279 +{ 1.12280 + 1.12281 + ; 1.12282 + return 0; 1.12283 +} 1.12284 +_ACEOF 1.12285 +if ac_fn_cxx_try_link "$LINENO"; then : 1.12286 + 1.12287 +lt_aix_libpath_sed=' 1.12288 + /Import File Strings/,/^$/ { 1.12289 + /^0/ { 1.12290 + s/^0 *\(.*\)$/\1/ 1.12291 + p 1.12292 + } 1.12293 + }' 1.12294 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 1.12295 +# Check for a 64-bit object if we didn't find anything. 1.12296 +if test -z "$aix_libpath"; then 1.12297 + aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 1.12298 +fi 1.12299 +fi 1.12300 +rm -f core conftest.err conftest.$ac_objext \ 1.12301 + conftest$ac_exeext conftest.$ac_ext 1.12302 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 1.12303 + 1.12304 + hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" 1.12305 + # Warning - without using the other run time loading flags, 1.12306 + # -berok will link without error, but may produce a broken library. 1.12307 + no_undefined_flag_CXX=' ${wl}-bernotok' 1.12308 + allow_undefined_flag_CXX=' ${wl}-berok' 1.12309 + # Exported symbols can be pulled into shared objects from archives 1.12310 + whole_archive_flag_spec_CXX='$convenience' 1.12311 + archive_cmds_need_lc_CXX=yes 1.12312 + # This is similar to how AIX traditionally builds its shared 1.12313 + # libraries. 1.12314 + archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' 1.12315 + fi 1.12316 + fi 1.12317 + ;; 1.12318 + 1.12319 + beos*) 1.12320 + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 1.12321 + allow_undefined_flag_CXX=unsupported 1.12322 + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 1.12323 + # support --undefined. This deserves some investigation. FIXME 1.12324 + archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 1.12325 + else 1.12326 + ld_shlibs_CXX=no 1.12327 + fi 1.12328 + ;; 1.12329 + 1.12330 + chorus*) 1.12331 + case $cc_basename in 1.12332 + *) 1.12333 + # FIXME: insert proper C++ library support 1.12334 + ld_shlibs_CXX=no 1.12335 + ;; 1.12336 + esac 1.12337 + ;; 1.12338 + 1.12339 + cygwin* | mingw* | pw32* | cegcc*) 1.12340 + # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless, 1.12341 + # as there is no search path for DLLs. 1.12342 + hardcode_libdir_flag_spec_CXX='-L$libdir' 1.12343 + allow_undefined_flag_CXX=unsupported 1.12344 + always_export_symbols_CXX=no 1.12345 + enable_shared_with_static_runtimes_CXX=yes 1.12346 + 1.12347 + if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 1.12348 + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 1.12349 + # If the export-symbols file already is a .def file (1st line 1.12350 + # is EXPORTS), use it as is; otherwise, prepend... 1.12351 + archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 1.12352 + cp $export_symbols $output_objdir/$soname.def; 1.12353 + else 1.12354 + echo EXPORTS > $output_objdir/$soname.def; 1.12355 + cat $export_symbols >> $output_objdir/$soname.def; 1.12356 + fi~ 1.12357 + $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 1.12358 + else 1.12359 + ld_shlibs_CXX=no 1.12360 + fi 1.12361 + ;; 1.12362 + darwin* | rhapsody*) 1.12363 + 1.12364 + 1.12365 + archive_cmds_need_lc_CXX=no 1.12366 + hardcode_direct_CXX=no 1.12367 + hardcode_automatic_CXX=yes 1.12368 + hardcode_shlibpath_var_CXX=unsupported 1.12369 + whole_archive_flag_spec_CXX='' 1.12370 + link_all_deplibs_CXX=yes 1.12371 + allow_undefined_flag_CXX="$_lt_dar_allow_undefined" 1.12372 + case $cc_basename in 1.12373 + ifort*) _lt_dar_can_shared=yes ;; 1.12374 + *) _lt_dar_can_shared=$GCC ;; 1.12375 + esac 1.12376 + if test "$_lt_dar_can_shared" = "yes"; then 1.12377 + output_verbose_link_cmd=echo 1.12378 + archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" 1.12379 + module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" 1.12380 + archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" 1.12381 + module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" 1.12382 + if test "$lt_cv_apple_cc_single_mod" != "yes"; then 1.12383 + archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}" 1.12384 + archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}" 1.12385 + fi 1.12386 + 1.12387 + else 1.12388 + ld_shlibs_CXX=no 1.12389 + fi 1.12390 + 1.12391 + ;; 1.12392 + 1.12393 + dgux*) 1.12394 + case $cc_basename in 1.12395 + ec++*) 1.12396 + # FIXME: insert proper C++ library support 1.12397 + ld_shlibs_CXX=no 1.12398 + ;; 1.12399 + ghcx*) 1.12400 + # Green Hills C++ Compiler 1.12401 + # FIXME: insert proper C++ library support 1.12402 + ld_shlibs_CXX=no 1.12403 + ;; 1.12404 + *) 1.12405 + # FIXME: insert proper C++ library support 1.12406 + ld_shlibs_CXX=no 1.12407 + ;; 1.12408 + esac 1.12409 + ;; 1.12410 + 1.12411 + freebsd[12]*) 1.12412 + # C++ shared libraries reported to be fairly broken before 1.12413 + # switch to ELF 1.12414 + ld_shlibs_CXX=no 1.12415 + ;; 1.12416 + 1.12417 + freebsd-elf*) 1.12418 + archive_cmds_need_lc_CXX=no 1.12419 + ;; 1.12420 + 1.12421 + freebsd* | dragonfly*) 1.12422 + # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF 1.12423 + # conventions 1.12424 + ld_shlibs_CXX=yes 1.12425 + ;; 1.12426 + 1.12427 + gnu*) 1.12428 + ;; 1.12429 + 1.12430 + hpux9*) 1.12431 + hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' 1.12432 + hardcode_libdir_separator_CXX=: 1.12433 + export_dynamic_flag_spec_CXX='${wl}-E' 1.12434 + hardcode_direct_CXX=yes 1.12435 + hardcode_minus_L_CXX=yes # Not in the search PATH, 1.12436 + # but as the default 1.12437 + # location of the library. 1.12438 + 1.12439 + case $cc_basename in 1.12440 + CC*) 1.12441 + # FIXME: insert proper C++ library support 1.12442 + ld_shlibs_CXX=no 1.12443 + ;; 1.12444 + aCC*) 1.12445 + archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 1.12446 + # Commands to make compiler produce verbose output that lists 1.12447 + # what "hidden" libraries, object files and flags are used when 1.12448 + # linking a shared library. 1.12449 + # 1.12450 + # There doesn't appear to be a way to prevent this compiler from 1.12451 + # explicitly linking system object files so we need to strip them 1.12452 + # from the output so that they don't get included in the library 1.12453 + # dependencies. 1.12454 + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed' 1.12455 + ;; 1.12456 + *) 1.12457 + if test "$GXX" = yes; then 1.12458 + archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 1.12459 + else 1.12460 + # FIXME: insert proper C++ library support 1.12461 + ld_shlibs_CXX=no 1.12462 + fi 1.12463 + ;; 1.12464 + esac 1.12465 + ;; 1.12466 + 1.12467 + hpux10*|hpux11*) 1.12468 + if test $with_gnu_ld = no; then 1.12469 + hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' 1.12470 + hardcode_libdir_separator_CXX=: 1.12471 + 1.12472 + case $host_cpu in 1.12473 + hppa*64*|ia64*) 1.12474 + ;; 1.12475 + *) 1.12476 + export_dynamic_flag_spec_CXX='${wl}-E' 1.12477 + ;; 1.12478 + esac 1.12479 + fi 1.12480 + case $host_cpu in 1.12481 + hppa*64*|ia64*) 1.12482 + hardcode_direct_CXX=no 1.12483 + hardcode_shlibpath_var_CXX=no 1.12484 + ;; 1.12485 + *) 1.12486 + hardcode_direct_CXX=yes 1.12487 + hardcode_direct_absolute_CXX=yes 1.12488 + hardcode_minus_L_CXX=yes # Not in the search PATH, 1.12489 + # but as the default 1.12490 + # location of the library. 1.12491 + ;; 1.12492 + esac 1.12493 + 1.12494 + case $cc_basename in 1.12495 + CC*) 1.12496 + # FIXME: insert proper C++ library support 1.12497 + ld_shlibs_CXX=no 1.12498 + ;; 1.12499 + aCC*) 1.12500 + case $host_cpu in 1.12501 + hppa*64*) 1.12502 + archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 1.12503 + ;; 1.12504 + ia64*) 1.12505 + archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 1.12506 + ;; 1.12507 + *) 1.12508 + archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 1.12509 + ;; 1.12510 + esac 1.12511 + # Commands to make compiler produce verbose output that lists 1.12512 + # what "hidden" libraries, object files and flags are used when 1.12513 + # linking a shared library. 1.12514 + # 1.12515 + # There doesn't appear to be a way to prevent this compiler from 1.12516 + # explicitly linking system object files so we need to strip them 1.12517 + # from the output so that they don't get included in the library 1.12518 + # dependencies. 1.12519 + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed' 1.12520 + ;; 1.12521 + *) 1.12522 + if test "$GXX" = yes; then 1.12523 + if test $with_gnu_ld = no; then 1.12524 + case $host_cpu in 1.12525 + hppa*64*) 1.12526 + archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 1.12527 + ;; 1.12528 + ia64*) 1.12529 + archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 1.12530 + ;; 1.12531 + *) 1.12532 + archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 1.12533 + ;; 1.12534 + esac 1.12535 + fi 1.12536 + else 1.12537 + # FIXME: insert proper C++ library support 1.12538 + ld_shlibs_CXX=no 1.12539 + fi 1.12540 + ;; 1.12541 + esac 1.12542 + ;; 1.12543 + 1.12544 + interix[3-9]*) 1.12545 + hardcode_direct_CXX=no 1.12546 + hardcode_shlibpath_var_CXX=no 1.12547 + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' 1.12548 + export_dynamic_flag_spec_CXX='${wl}-E' 1.12549 + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 1.12550 + # Instead, shared libraries are loaded at an image base (0x10000000 by 1.12551 + # default) and relocated if they conflict, which is a slow very memory 1.12552 + # consuming and fragmenting process. To avoid this, we pick a random, 1.12553 + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 1.12554 + # time. Moving up from 0x10000000 also allows more sbrk(2) space. 1.12555 + archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 1.12556 + archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 1.12557 + ;; 1.12558 + irix5* | irix6*) 1.12559 + case $cc_basename in 1.12560 + CC*) 1.12561 + # SGI C++ 1.12562 + archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' 1.12563 + 1.12564 + # Archives containing C++ object files must be created using 1.12565 + # "CC -ar", where "CC" is the IRIX C++ compiler. This is 1.12566 + # necessary to make sure instantiated templates are included 1.12567 + # in the archive. 1.12568 + old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs' 1.12569 + ;; 1.12570 + *) 1.12571 + if test "$GXX" = yes; then 1.12572 + if test "$with_gnu_ld" = no; then 1.12573 + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 1.12574 + else 1.12575 + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib' 1.12576 + fi 1.12577 + fi 1.12578 + link_all_deplibs_CXX=yes 1.12579 + ;; 1.12580 + esac 1.12581 + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' 1.12582 + hardcode_libdir_separator_CXX=: 1.12583 + inherit_rpath_CXX=yes 1.12584 + ;; 1.12585 + 1.12586 + linux* | k*bsd*-gnu | kopensolaris*-gnu) 1.12587 + case $cc_basename in 1.12588 + KCC*) 1.12589 + # Kuck and Associates, Inc. (KAI) C++ Compiler 1.12590 + 1.12591 + # KCC will only create a shared library if the output file 1.12592 + # ends with ".so" (or ".sl" for HP-UX), so rename the library 1.12593 + # to its proper name (with version) after linking. 1.12594 + archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' 1.12595 + archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib' 1.12596 + # Commands to make compiler produce verbose output that lists 1.12597 + # what "hidden" libraries, object files and flags are used when 1.12598 + # linking a shared library. 1.12599 + # 1.12600 + # There doesn't appear to be a way to prevent this compiler from 1.12601 + # explicitly linking system object files so we need to strip them 1.12602 + # from the output so that they don't get included in the library 1.12603 + # dependencies. 1.12604 + output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed' 1.12605 + 1.12606 + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' 1.12607 + export_dynamic_flag_spec_CXX='${wl}--export-dynamic' 1.12608 + 1.12609 + # Archives containing C++ object files must be created using 1.12610 + # "CC -Bstatic", where "CC" is the KAI C++ compiler. 1.12611 + old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' 1.12612 + ;; 1.12613 + icpc* | ecpc* ) 1.12614 + # Intel C++ 1.12615 + with_gnu_ld=yes 1.12616 + # version 8.0 and above of icpc choke on multiply defined symbols 1.12617 + # if we add $predep_objects and $postdep_objects, however 7.1 and 1.12618 + # earlier do not add the objects themselves. 1.12619 + case `$CC -V 2>&1` in 1.12620 + *"Version 7."*) 1.12621 + archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' 1.12622 + archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 1.12623 + ;; 1.12624 + *) # Version 8.0 or newer 1.12625 + tmp_idyn= 1.12626 + case $host_cpu in 1.12627 + ia64*) tmp_idyn=' -i_dynamic';; 1.12628 + esac 1.12629 + archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 1.12630 + archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 1.12631 + ;; 1.12632 + esac 1.12633 + archive_cmds_need_lc_CXX=no 1.12634 + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' 1.12635 + export_dynamic_flag_spec_CXX='${wl}--export-dynamic' 1.12636 + whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive' 1.12637 + ;; 1.12638 + pgCC* | pgcpp*) 1.12639 + # Portland Group C++ compiler 1.12640 + case `$CC -V` in 1.12641 + *pgCC\ [1-5]* | *pgcpp\ [1-5]*) 1.12642 + prelink_cmds_CXX='tpldir=Template.dir~ 1.12643 + rm -rf $tpldir~ 1.12644 + $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~ 1.12645 + compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"' 1.12646 + old_archive_cmds_CXX='tpldir=Template.dir~ 1.12647 + rm -rf $tpldir~ 1.12648 + $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~ 1.12649 + $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~ 1.12650 + $RANLIB $oldlib' 1.12651 + archive_cmds_CXX='tpldir=Template.dir~ 1.12652 + rm -rf $tpldir~ 1.12653 + $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ 1.12654 + $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' 1.12655 + archive_expsym_cmds_CXX='tpldir=Template.dir~ 1.12656 + rm -rf $tpldir~ 1.12657 + $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ 1.12658 + $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' 1.12659 + ;; 1.12660 + *) # Version 6 will use weak symbols 1.12661 + archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' 1.12662 + archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' 1.12663 + ;; 1.12664 + esac 1.12665 + 1.12666 + hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir' 1.12667 + export_dynamic_flag_spec_CXX='${wl}--export-dynamic' 1.12668 + whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' 1.12669 + ;; 1.12670 + cxx*) 1.12671 + # Compaq C++ 1.12672 + archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' 1.12673 + archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols' 1.12674 + 1.12675 + runpath_var=LD_RUN_PATH 1.12676 + hardcode_libdir_flag_spec_CXX='-rpath $libdir' 1.12677 + hardcode_libdir_separator_CXX=: 1.12678 + 1.12679 + # Commands to make compiler produce verbose output that lists 1.12680 + # what "hidden" libraries, object files and flags are used when 1.12681 + # linking a shared library. 1.12682 + # 1.12683 + # There doesn't appear to be a way to prevent this compiler from 1.12684 + # explicitly linking system object files so we need to strip them 1.12685 + # from the output so that they don't get included in the library 1.12686 + # dependencies. 1.12687 + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed' 1.12688 + ;; 1.12689 + xl*) 1.12690 + # IBM XL 8.0 on PPC, with GNU ld 1.12691 + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' 1.12692 + export_dynamic_flag_spec_CXX='${wl}--export-dynamic' 1.12693 + archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 1.12694 + if test "x$supports_anon_versioning" = xyes; then 1.12695 + archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~ 1.12696 + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 1.12697 + echo "local: *; };" >> $output_objdir/$libname.ver~ 1.12698 + $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 1.12699 + fi 1.12700 + ;; 1.12701 + *) 1.12702 + case `$CC -V 2>&1 | sed 5q` in 1.12703 + *Sun\ C*) 1.12704 + # Sun C++ 5.9 1.12705 + no_undefined_flag_CXX=' -zdefs' 1.12706 + archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 1.12707 + archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols' 1.12708 + hardcode_libdir_flag_spec_CXX='-R$libdir' 1.12709 + whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' 1.12710 + compiler_needs_object_CXX=yes 1.12711 + 1.12712 + # Not sure whether something based on 1.12713 + # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 1.12714 + # would be better. 1.12715 + output_verbose_link_cmd='echo' 1.12716 + 1.12717 + # Archives containing C++ object files must be created using 1.12718 + # "CC -xar", where "CC" is the Sun C++ compiler. This is 1.12719 + # necessary to make sure instantiated templates are included 1.12720 + # in the archive. 1.12721 + old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' 1.12722 + ;; 1.12723 + esac 1.12724 + ;; 1.12725 + esac 1.12726 + ;; 1.12727 + 1.12728 + lynxos*) 1.12729 + # FIXME: insert proper C++ library support 1.12730 + ld_shlibs_CXX=no 1.12731 + ;; 1.12732 + 1.12733 + m88k*) 1.12734 + # FIXME: insert proper C++ library support 1.12735 + ld_shlibs_CXX=no 1.12736 + ;; 1.12737 + 1.12738 + mvs*) 1.12739 + case $cc_basename in 1.12740 + cxx*) 1.12741 + # FIXME: insert proper C++ library support 1.12742 + ld_shlibs_CXX=no 1.12743 + ;; 1.12744 + *) 1.12745 + # FIXME: insert proper C++ library support 1.12746 + ld_shlibs_CXX=no 1.12747 + ;; 1.12748 + esac 1.12749 + ;; 1.12750 + 1.12751 + netbsd*) 1.12752 + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 1.12753 + archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' 1.12754 + wlarc= 1.12755 + hardcode_libdir_flag_spec_CXX='-R$libdir' 1.12756 + hardcode_direct_CXX=yes 1.12757 + hardcode_shlibpath_var_CXX=no 1.12758 + fi 1.12759 + # Workaround some broken pre-1.5 toolchains 1.12760 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' 1.12761 + ;; 1.12762 + 1.12763 + *nto* | *qnx*) 1.12764 + ld_shlibs_CXX=yes 1.12765 + ;; 1.12766 + 1.12767 + openbsd2*) 1.12768 + # C++ shared libraries are fairly broken 1.12769 + ld_shlibs_CXX=no 1.12770 + ;; 1.12771 + 1.12772 + openbsd*) 1.12773 + if test -f /usr/libexec/ld.so; then 1.12774 + hardcode_direct_CXX=yes 1.12775 + hardcode_shlibpath_var_CXX=no 1.12776 + hardcode_direct_absolute_CXX=yes 1.12777 + archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 1.12778 + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' 1.12779 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 1.12780 + archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib' 1.12781 + export_dynamic_flag_spec_CXX='${wl}-E' 1.12782 + whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 1.12783 + fi 1.12784 + output_verbose_link_cmd=echo 1.12785 + else 1.12786 + ld_shlibs_CXX=no 1.12787 + fi 1.12788 + ;; 1.12789 + 1.12790 + osf3* | osf4* | osf5*) 1.12791 + case $cc_basename in 1.12792 + KCC*) 1.12793 + # Kuck and Associates, Inc. (KAI) C++ Compiler 1.12794 + 1.12795 + # KCC will only create a shared library if the output file 1.12796 + # ends with ".so" (or ".sl" for HP-UX), so rename the library 1.12797 + # to its proper name (with version) after linking. 1.12798 + archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' 1.12799 + 1.12800 + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' 1.12801 + hardcode_libdir_separator_CXX=: 1.12802 + 1.12803 + # Archives containing C++ object files must be created using 1.12804 + # the KAI C++ compiler. 1.12805 + case $host in 1.12806 + osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;; 1.12807 + *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;; 1.12808 + esac 1.12809 + ;; 1.12810 + RCC*) 1.12811 + # Rational C++ 2.4.1 1.12812 + # FIXME: insert proper C++ library support 1.12813 + ld_shlibs_CXX=no 1.12814 + ;; 1.12815 + cxx*) 1.12816 + case $host in 1.12817 + osf3*) 1.12818 + allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' 1.12819 + archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' 1.12820 + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' 1.12821 + ;; 1.12822 + *) 1.12823 + allow_undefined_flag_CXX=' -expect_unresolved \*' 1.12824 + archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' 1.12825 + archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ 1.12826 + echo "-hidden">> $lib.exp~ 1.12827 + $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~ 1.12828 + $RM $lib.exp' 1.12829 + hardcode_libdir_flag_spec_CXX='-rpath $libdir' 1.12830 + ;; 1.12831 + esac 1.12832 + 1.12833 + hardcode_libdir_separator_CXX=: 1.12834 + 1.12835 + # Commands to make compiler produce verbose output that lists 1.12836 + # what "hidden" libraries, object files and flags are used when 1.12837 + # linking a shared library. 1.12838 + # 1.12839 + # There doesn't appear to be a way to prevent this compiler from 1.12840 + # explicitly linking system object files so we need to strip them 1.12841 + # from the output so that they don't get included in the library 1.12842 + # dependencies. 1.12843 + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed' 1.12844 + ;; 1.12845 + *) 1.12846 + if test "$GXX" = yes && test "$with_gnu_ld" = no; then 1.12847 + allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' 1.12848 + case $host in 1.12849 + osf3*) 1.12850 + archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 1.12851 + ;; 1.12852 + *) 1.12853 + archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 1.12854 + ;; 1.12855 + esac 1.12856 + 1.12857 + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' 1.12858 + hardcode_libdir_separator_CXX=: 1.12859 + 1.12860 + # Commands to make compiler produce verbose output that lists 1.12861 + # what "hidden" libraries, object files and flags are used when 1.12862 + # linking a shared library. 1.12863 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"' 1.12864 + 1.12865 + else 1.12866 + # FIXME: insert proper C++ library support 1.12867 + ld_shlibs_CXX=no 1.12868 + fi 1.12869 + ;; 1.12870 + esac 1.12871 + ;; 1.12872 + 1.12873 + psos*) 1.12874 + # FIXME: insert proper C++ library support 1.12875 + ld_shlibs_CXX=no 1.12876 + ;; 1.12877 + 1.12878 + sunos4*) 1.12879 + case $cc_basename in 1.12880 + CC*) 1.12881 + # Sun C++ 4.x 1.12882 + # FIXME: insert proper C++ library support 1.12883 + ld_shlibs_CXX=no 1.12884 + ;; 1.12885 + lcc*) 1.12886 + # Lucid 1.12887 + # FIXME: insert proper C++ library support 1.12888 + ld_shlibs_CXX=no 1.12889 + ;; 1.12890 + *) 1.12891 + # FIXME: insert proper C++ library support 1.12892 + ld_shlibs_CXX=no 1.12893 + ;; 1.12894 + esac 1.12895 + ;; 1.12896 + 1.12897 + solaris*) 1.12898 + case $cc_basename in 1.12899 + CC*) 1.12900 + # Sun C++ 4.2, 5.x and Centerline C++ 1.12901 + archive_cmds_need_lc_CXX=yes 1.12902 + no_undefined_flag_CXX=' -zdefs' 1.12903 + archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 1.12904 + archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 1.12905 + $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' 1.12906 + 1.12907 + hardcode_libdir_flag_spec_CXX='-R$libdir' 1.12908 + hardcode_shlibpath_var_CXX=no 1.12909 + case $host_os in 1.12910 + solaris2.[0-5] | solaris2.[0-5].*) ;; 1.12911 + *) 1.12912 + # The compiler driver will combine and reorder linker options, 1.12913 + # but understands `-z linker_flag'. 1.12914 + # Supported since Solaris 2.6 (maybe 2.5.1?) 1.12915 + whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract' 1.12916 + ;; 1.12917 + esac 1.12918 + link_all_deplibs_CXX=yes 1.12919 + 1.12920 + output_verbose_link_cmd='echo' 1.12921 + 1.12922 + # Archives containing C++ object files must be created using 1.12923 + # "CC -xar", where "CC" is the Sun C++ compiler. This is 1.12924 + # necessary to make sure instantiated templates are included 1.12925 + # in the archive. 1.12926 + old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' 1.12927 + ;; 1.12928 + gcx*) 1.12929 + # Green Hills C++ Compiler 1.12930 + archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' 1.12931 + 1.12932 + # The C++ compiler must be used to create the archive. 1.12933 + old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs' 1.12934 + ;; 1.12935 + *) 1.12936 + # GNU C++ compiler with Solaris linker 1.12937 + if test "$GXX" = yes && test "$with_gnu_ld" = no; then 1.12938 + no_undefined_flag_CXX=' ${wl}-z ${wl}defs' 1.12939 + if $CC --version | $GREP -v '^2\.7' > /dev/null; then 1.12940 + archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' 1.12941 + archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 1.12942 + $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' 1.12943 + 1.12944 + # Commands to make compiler produce verbose output that lists 1.12945 + # what "hidden" libraries, object files and flags are used when 1.12946 + # linking a shared library. 1.12947 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"' 1.12948 + else 1.12949 + # g++ 2.7 appears to require `-G' NOT `-shared' on this 1.12950 + # platform. 1.12951 + archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' 1.12952 + archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 1.12953 + $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' 1.12954 + 1.12955 + # Commands to make compiler produce verbose output that lists 1.12956 + # what "hidden" libraries, object files and flags are used when 1.12957 + # linking a shared library. 1.12958 + output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"' 1.12959 + fi 1.12960 + 1.12961 + hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir' 1.12962 + case $host_os in 1.12963 + solaris2.[0-5] | solaris2.[0-5].*) ;; 1.12964 + *) 1.12965 + whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' 1.12966 + ;; 1.12967 + esac 1.12968 + fi 1.12969 + ;; 1.12970 + esac 1.12971 + ;; 1.12972 + 1.12973 + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 1.12974 + no_undefined_flag_CXX='${wl}-z,text' 1.12975 + archive_cmds_need_lc_CXX=no 1.12976 + hardcode_shlibpath_var_CXX=no 1.12977 + runpath_var='LD_RUN_PATH' 1.12978 + 1.12979 + case $cc_basename in 1.12980 + CC*) 1.12981 + archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 1.12982 + archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 1.12983 + ;; 1.12984 + *) 1.12985 + archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 1.12986 + archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 1.12987 + ;; 1.12988 + esac 1.12989 + ;; 1.12990 + 1.12991 + sysv5* | sco3.2v5* | sco5v6*) 1.12992 + # Note: We can NOT use -z defs as we might desire, because we do not 1.12993 + # link with -lc, and that would cause any symbols used from libc to 1.12994 + # always be unresolved, which means just about no library would 1.12995 + # ever link correctly. If we're not using GNU ld we use -z text 1.12996 + # though, which does catch some bad symbols but isn't as heavy-handed 1.12997 + # as -z defs. 1.12998 + no_undefined_flag_CXX='${wl}-z,text' 1.12999 + allow_undefined_flag_CXX='${wl}-z,nodefs' 1.13000 + archive_cmds_need_lc_CXX=no 1.13001 + hardcode_shlibpath_var_CXX=no 1.13002 + hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir' 1.13003 + hardcode_libdir_separator_CXX=':' 1.13004 + link_all_deplibs_CXX=yes 1.13005 + export_dynamic_flag_spec_CXX='${wl}-Bexport' 1.13006 + runpath_var='LD_RUN_PATH' 1.13007 + 1.13008 + case $cc_basename in 1.13009 + CC*) 1.13010 + archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 1.13011 + archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 1.13012 + ;; 1.13013 + *) 1.13014 + archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 1.13015 + archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 1.13016 + ;; 1.13017 + esac 1.13018 + ;; 1.13019 + 1.13020 + tandem*) 1.13021 + case $cc_basename in 1.13022 + NCC*) 1.13023 + # NonStop-UX NCC 3.20 1.13024 + # FIXME: insert proper C++ library support 1.13025 + ld_shlibs_CXX=no 1.13026 + ;; 1.13027 + *) 1.13028 + # FIXME: insert proper C++ library support 1.13029 + ld_shlibs_CXX=no 1.13030 + ;; 1.13031 + esac 1.13032 + ;; 1.13033 + 1.13034 + vxworks*) 1.13035 + # FIXME: insert proper C++ library support 1.13036 + ld_shlibs_CXX=no 1.13037 + ;; 1.13038 + 1.13039 + *) 1.13040 + # FIXME: insert proper C++ library support 1.13041 + ld_shlibs_CXX=no 1.13042 + ;; 1.13043 + esac 1.13044 + 1.13045 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 1.13046 +$as_echo "$ld_shlibs_CXX" >&6; } 1.13047 + test "$ld_shlibs_CXX" = no && can_build_shared=no 1.13048 + 1.13049 + GCC_CXX="$GXX" 1.13050 + LD_CXX="$LD" 1.13051 + 1.13052 + ## CAVEAT EMPTOR: 1.13053 + ## There is no encapsulation within the following macros, do not change 1.13054 + ## the running order or otherwise move them around unless you know exactly 1.13055 + ## what you are doing... 1.13056 + # Dependencies to place before and after the object being linked: 1.13057 +predep_objects_CXX= 1.13058 +postdep_objects_CXX= 1.13059 +predeps_CXX= 1.13060 +postdeps_CXX= 1.13061 +compiler_lib_search_path_CXX= 1.13062 + 1.13063 +cat > conftest.$ac_ext <<_LT_EOF 1.13064 +class Foo 1.13065 +{ 1.13066 +public: 1.13067 + Foo (void) { a = 0; } 1.13068 +private: 1.13069 + int a; 1.13070 +}; 1.13071 +_LT_EOF 1.13072 + 1.13073 +if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 1.13074 + (eval $ac_compile) 2>&5 1.13075 + ac_status=$? 1.13076 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1.13077 + test $ac_status = 0; }; then 1.13078 + # Parse the compiler output and extract the necessary 1.13079 + # objects, libraries and library flags. 1.13080 + 1.13081 + # Sentinel used to keep track of whether or not we are before 1.13082 + # the conftest object file. 1.13083 + pre_test_object_deps_done=no 1.13084 + 1.13085 + for p in `eval "$output_verbose_link_cmd"`; do 1.13086 + case $p in 1.13087 + 1.13088 + -L* | -R* | -l*) 1.13089 + # Some compilers place space between "-{L,R}" and the path. 1.13090 + # Remove the space. 1.13091 + if test $p = "-L" || 1.13092 + test $p = "-R"; then 1.13093 + prev=$p 1.13094 + continue 1.13095 + else 1.13096 + prev= 1.13097 + fi 1.13098 + 1.13099 + if test "$pre_test_object_deps_done" = no; then 1.13100 + case $p in 1.13101 + -L* | -R*) 1.13102 + # Internal compiler library paths should come after those 1.13103 + # provided the user. The postdeps already come after the 1.13104 + # user supplied libs so there is no need to process them. 1.13105 + if test -z "$compiler_lib_search_path_CXX"; then 1.13106 + compiler_lib_search_path_CXX="${prev}${p}" 1.13107 + else 1.13108 + compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}" 1.13109 + fi 1.13110 + ;; 1.13111 + # The "-l" case would never come before the object being 1.13112 + # linked, so don't bother handling this case. 1.13113 + esac 1.13114 + else 1.13115 + if test -z "$postdeps_CXX"; then 1.13116 + postdeps_CXX="${prev}${p}" 1.13117 + else 1.13118 + postdeps_CXX="${postdeps_CXX} ${prev}${p}" 1.13119 + fi 1.13120 + fi 1.13121 + ;; 1.13122 + 1.13123 + *.$objext) 1.13124 + # This assumes that the test object file only shows up 1.13125 + # once in the compiler output. 1.13126 + if test "$p" = "conftest.$objext"; then 1.13127 + pre_test_object_deps_done=yes 1.13128 + continue 1.13129 + fi 1.13130 + 1.13131 + if test "$pre_test_object_deps_done" = no; then 1.13132 + if test -z "$predep_objects_CXX"; then 1.13133 + predep_objects_CXX="$p" 1.13134 + else 1.13135 + predep_objects_CXX="$predep_objects_CXX $p" 1.13136 + fi 1.13137 + else 1.13138 + if test -z "$postdep_objects_CXX"; then 1.13139 + postdep_objects_CXX="$p" 1.13140 + else 1.13141 + postdep_objects_CXX="$postdep_objects_CXX $p" 1.13142 + fi 1.13143 + fi 1.13144 + ;; 1.13145 + 1.13146 + *) ;; # Ignore the rest. 1.13147 + 1.13148 + esac 1.13149 + done 1.13150 + 1.13151 + # Clean up. 1.13152 + rm -f a.out a.exe 1.13153 +else 1.13154 + echo "libtool.m4: error: problem compiling CXX test program" 1.13155 +fi 1.13156 + 1.13157 +$RM -f confest.$objext 1.13158 + 1.13159 +# PORTME: override above test on systems where it is broken 1.13160 +case $host_os in 1.13161 +interix[3-9]*) 1.13162 + # Interix 3.5 installs completely hosed .la files for C++, so rather than 1.13163 + # hack all around it, let's just trust "g++" to DTRT. 1.13164 + predep_objects_CXX= 1.13165 + postdep_objects_CXX= 1.13166 + postdeps_CXX= 1.13167 + ;; 1.13168 + 1.13169 +linux*) 1.13170 + case `$CC -V 2>&1 | sed 5q` in 1.13171 + *Sun\ C*) 1.13172 + # Sun C++ 5.9 1.13173 + 1.13174 + # The more standards-conforming stlport4 library is 1.13175 + # incompatible with the Cstd library. Avoid specifying 1.13176 + # it if it's in CXXFLAGS. Ignore libCrun as 1.13177 + # -library=stlport4 depends on it. 1.13178 + case " $CXX $CXXFLAGS " in 1.13179 + *" -library=stlport4 "*) 1.13180 + solaris_use_stlport4=yes 1.13181 + ;; 1.13182 + esac 1.13183 + 1.13184 + if test "$solaris_use_stlport4" != yes; then 1.13185 + postdeps_CXX='-library=Cstd -library=Crun' 1.13186 + fi 1.13187 + ;; 1.13188 + esac 1.13189 + ;; 1.13190 + 1.13191 +solaris*) 1.13192 + case $cc_basename in 1.13193 + CC*) 1.13194 + # The more standards-conforming stlport4 library is 1.13195 + # incompatible with the Cstd library. Avoid specifying 1.13196 + # it if it's in CXXFLAGS. Ignore libCrun as 1.13197 + # -library=stlport4 depends on it. 1.13198 + case " $CXX $CXXFLAGS " in 1.13199 + *" -library=stlport4 "*) 1.13200 + solaris_use_stlport4=yes 1.13201 + ;; 1.13202 + esac 1.13203 + 1.13204 + # Adding this requires a known-good setup of shared libraries for 1.13205 + # Sun compiler versions before 5.6, else PIC objects from an old 1.13206 + # archive will be linked into the output, leading to subtle bugs. 1.13207 + if test "$solaris_use_stlport4" != yes; then 1.13208 + postdeps_CXX='-library=Cstd -library=Crun' 1.13209 + fi 1.13210 + ;; 1.13211 + esac 1.13212 + ;; 1.13213 +esac 1.13214 + 1.13215 + 1.13216 +case " $postdeps_CXX " in 1.13217 +*" -lc "*) archive_cmds_need_lc_CXX=no ;; 1.13218 +esac 1.13219 + compiler_lib_search_dirs_CXX= 1.13220 +if test -n "${compiler_lib_search_path_CXX}"; then 1.13221 + compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'` 1.13222 +fi 1.13223 + 1.13224 + 1.13225 + 1.13226 + 1.13227 + 1.13228 + 1.13229 + 1.13230 + 1.13231 + 1.13232 + 1.13233 + 1.13234 + 1.13235 + 1.13236 + 1.13237 + 1.13238 + 1.13239 + 1.13240 + 1.13241 + 1.13242 + 1.13243 + 1.13244 + 1.13245 + 1.13246 + 1.13247 + 1.13248 + 1.13249 + 1.13250 + 1.13251 + 1.13252 + 1.13253 + 1.13254 + lt_prog_compiler_wl_CXX= 1.13255 +lt_prog_compiler_pic_CXX= 1.13256 +lt_prog_compiler_static_CXX= 1.13257 + 1.13258 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 1.13259 +$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 1.13260 + 1.13261 + # C++ specific cases for pic, static, wl, etc. 1.13262 + if test "$GXX" = yes; then 1.13263 + lt_prog_compiler_wl_CXX='-Wl,' 1.13264 + lt_prog_compiler_static_CXX='-static' 1.13265 + 1.13266 + case $host_os in 1.13267 + aix*) 1.13268 + # All AIX code is PIC. 1.13269 + if test "$host_cpu" = ia64; then 1.13270 + # AIX 5 now supports IA64 processor 1.13271 + lt_prog_compiler_static_CXX='-Bstatic' 1.13272 + fi 1.13273 + ;; 1.13274 + 1.13275 + amigaos*) 1.13276 + case $host_cpu in 1.13277 + powerpc) 1.13278 + # see comment about AmigaOS4 .so support 1.13279 + lt_prog_compiler_pic_CXX='-fPIC' 1.13280 + ;; 1.13281 + m68k) 1.13282 + # FIXME: we need at least 68020 code to build shared libraries, but 1.13283 + # adding the `-m68020' flag to GCC prevents building anything better, 1.13284 + # like `-m68040'. 1.13285 + lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4' 1.13286 + ;; 1.13287 + esac 1.13288 + ;; 1.13289 + 1.13290 + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 1.13291 + # PIC is the default for these OSes. 1.13292 + ;; 1.13293 + mingw* | cygwin* | os2* | pw32* | cegcc*) 1.13294 + # This hack is so that the source file can tell whether it is being 1.13295 + # built for inclusion in a dll (and should export symbols for example). 1.13296 + # Although the cygwin gcc ignores -fPIC, still need this for old-style 1.13297 + # (--disable-auto-import) libraries 1.13298 + lt_prog_compiler_pic_CXX='-DDLL_EXPORT' 1.13299 + ;; 1.13300 + darwin* | rhapsody*) 1.13301 + # PIC is the default on this platform 1.13302 + # Common symbols not allowed in MH_DYLIB files 1.13303 + lt_prog_compiler_pic_CXX='-fno-common' 1.13304 + ;; 1.13305 + *djgpp*) 1.13306 + # DJGPP does not support shared libraries at all 1.13307 + lt_prog_compiler_pic_CXX= 1.13308 + ;; 1.13309 + interix[3-9]*) 1.13310 + # Interix 3.x gcc -fpic/-fPIC options generate broken code. 1.13311 + # Instead, we relocate shared libraries at runtime. 1.13312 + ;; 1.13313 + sysv4*MP*) 1.13314 + if test -d /usr/nec; then 1.13315 + lt_prog_compiler_pic_CXX=-Kconform_pic 1.13316 + fi 1.13317 + ;; 1.13318 + hpux*) 1.13319 + # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 1.13320 + # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 1.13321 + # sets the default TLS model and affects inlining. 1.13322 + case $host_cpu in 1.13323 + hppa*64*) 1.13324 + ;; 1.13325 + *) 1.13326 + lt_prog_compiler_pic_CXX='-fPIC' 1.13327 + ;; 1.13328 + esac 1.13329 + ;; 1.13330 + *qnx* | *nto*) 1.13331 + # QNX uses GNU C++, but need to define -shared option too, otherwise 1.13332 + # it will coredump. 1.13333 + lt_prog_compiler_pic_CXX='-fPIC -shared' 1.13334 + ;; 1.13335 + *) 1.13336 + lt_prog_compiler_pic_CXX='-fPIC' 1.13337 + ;; 1.13338 + esac 1.13339 + else 1.13340 + case $host_os in 1.13341 + aix[4-9]*) 1.13342 + # All AIX code is PIC. 1.13343 + if test "$host_cpu" = ia64; then 1.13344 + # AIX 5 now supports IA64 processor 1.13345 + lt_prog_compiler_static_CXX='-Bstatic' 1.13346 + else 1.13347 + lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp' 1.13348 + fi 1.13349 + ;; 1.13350 + chorus*) 1.13351 + case $cc_basename in 1.13352 + cxch68*) 1.13353 + # Green Hills C++ Compiler 1.13354 + # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" 1.13355 + ;; 1.13356 + esac 1.13357 + ;; 1.13358 + dgux*) 1.13359 + case $cc_basename in 1.13360 + ec++*) 1.13361 + lt_prog_compiler_pic_CXX='-KPIC' 1.13362 + ;; 1.13363 + ghcx*) 1.13364 + # Green Hills C++ Compiler 1.13365 + lt_prog_compiler_pic_CXX='-pic' 1.13366 + ;; 1.13367 + *) 1.13368 + ;; 1.13369 + esac 1.13370 + ;; 1.13371 + freebsd* | dragonfly*) 1.13372 + # FreeBSD uses GNU C++ 1.13373 + ;; 1.13374 + hpux9* | hpux10* | hpux11*) 1.13375 + case $cc_basename in 1.13376 + CC*) 1.13377 + lt_prog_compiler_wl_CXX='-Wl,' 1.13378 + lt_prog_compiler_static_CXX='${wl}-a ${wl}archive' 1.13379 + if test "$host_cpu" != ia64; then 1.13380 + lt_prog_compiler_pic_CXX='+Z' 1.13381 + fi 1.13382 + ;; 1.13383 + aCC*) 1.13384 + lt_prog_compiler_wl_CXX='-Wl,' 1.13385 + lt_prog_compiler_static_CXX='${wl}-a ${wl}archive' 1.13386 + case $host_cpu in 1.13387 + hppa*64*|ia64*) 1.13388 + # +Z the default 1.13389 + ;; 1.13390 + *) 1.13391 + lt_prog_compiler_pic_CXX='+Z' 1.13392 + ;; 1.13393 + esac 1.13394 + ;; 1.13395 + *) 1.13396 + ;; 1.13397 + esac 1.13398 + ;; 1.13399 + interix*) 1.13400 + # This is c89, which is MS Visual C++ (no shared libs) 1.13401 + # Anyone wants to do a port? 1.13402 + ;; 1.13403 + irix5* | irix6* | nonstopux*) 1.13404 + case $cc_basename in 1.13405 + CC*) 1.13406 + lt_prog_compiler_wl_CXX='-Wl,' 1.13407 + lt_prog_compiler_static_CXX='-non_shared' 1.13408 + # CC pic flag -KPIC is the default. 1.13409 + ;; 1.13410 + *) 1.13411 + ;; 1.13412 + esac 1.13413 + ;; 1.13414 + linux* | k*bsd*-gnu | kopensolaris*-gnu) 1.13415 + case $cc_basename in 1.13416 + KCC*) 1.13417 + # KAI C++ Compiler 1.13418 + lt_prog_compiler_wl_CXX='--backend -Wl,' 1.13419 + lt_prog_compiler_pic_CXX='-fPIC' 1.13420 + ;; 1.13421 + ecpc* ) 1.13422 + # old Intel C++ for x86_64 which still supported -KPIC. 1.13423 + lt_prog_compiler_wl_CXX='-Wl,' 1.13424 + lt_prog_compiler_pic_CXX='-KPIC' 1.13425 + lt_prog_compiler_static_CXX='-static' 1.13426 + ;; 1.13427 + icpc* ) 1.13428 + # Intel C++, used to be incompatible with GCC. 1.13429 + # ICC 10 doesn't accept -KPIC any more. 1.13430 + lt_prog_compiler_wl_CXX='-Wl,' 1.13431 + lt_prog_compiler_pic_CXX='-fPIC' 1.13432 + lt_prog_compiler_static_CXX='-static' 1.13433 + ;; 1.13434 + pgCC* | pgcpp*) 1.13435 + # Portland Group C++ compiler 1.13436 + lt_prog_compiler_wl_CXX='-Wl,' 1.13437 + lt_prog_compiler_pic_CXX='-fpic' 1.13438 + lt_prog_compiler_static_CXX='-Bstatic' 1.13439 + ;; 1.13440 + cxx*) 1.13441 + # Compaq C++ 1.13442 + # Make sure the PIC flag is empty. It appears that all Alpha 1.13443 + # Linux and Compaq Tru64 Unix objects are PIC. 1.13444 + lt_prog_compiler_pic_CXX= 1.13445 + lt_prog_compiler_static_CXX='-non_shared' 1.13446 + ;; 1.13447 + xlc* | xlC*) 1.13448 + # IBM XL 8.0 on PPC 1.13449 + lt_prog_compiler_wl_CXX='-Wl,' 1.13450 + lt_prog_compiler_pic_CXX='-qpic' 1.13451 + lt_prog_compiler_static_CXX='-qstaticlink' 1.13452 + ;; 1.13453 + *) 1.13454 + case `$CC -V 2>&1 | sed 5q` in 1.13455 + *Sun\ C*) 1.13456 + # Sun C++ 5.9 1.13457 + lt_prog_compiler_pic_CXX='-KPIC' 1.13458 + lt_prog_compiler_static_CXX='-Bstatic' 1.13459 + lt_prog_compiler_wl_CXX='-Qoption ld ' 1.13460 + ;; 1.13461 + esac 1.13462 + ;; 1.13463 + esac 1.13464 + ;; 1.13465 + lynxos*) 1.13466 + ;; 1.13467 + m88k*) 1.13468 + ;; 1.13469 + mvs*) 1.13470 + case $cc_basename in 1.13471 + cxx*) 1.13472 + lt_prog_compiler_pic_CXX='-W c,exportall' 1.13473 + ;; 1.13474 + *) 1.13475 + ;; 1.13476 + esac 1.13477 + ;; 1.13478 + netbsd* | netbsdelf*-gnu) 1.13479 + ;; 1.13480 + *qnx* | *nto*) 1.13481 + # QNX uses GNU C++, but need to define -shared option too, otherwise 1.13482 + # it will coredump. 1.13483 + lt_prog_compiler_pic_CXX='-fPIC -shared' 1.13484 + ;; 1.13485 + osf3* | osf4* | osf5*) 1.13486 + case $cc_basename in 1.13487 + KCC*) 1.13488 + lt_prog_compiler_wl_CXX='--backend -Wl,' 1.13489 + ;; 1.13490 + RCC*) 1.13491 + # Rational C++ 2.4.1 1.13492 + lt_prog_compiler_pic_CXX='-pic' 1.13493 + ;; 1.13494 + cxx*) 1.13495 + # Digital/Compaq C++ 1.13496 + lt_prog_compiler_wl_CXX='-Wl,' 1.13497 + # Make sure the PIC flag is empty. It appears that all Alpha 1.13498 + # Linux and Compaq Tru64 Unix objects are PIC. 1.13499 + lt_prog_compiler_pic_CXX= 1.13500 + lt_prog_compiler_static_CXX='-non_shared' 1.13501 + ;; 1.13502 + *) 1.13503 + ;; 1.13504 + esac 1.13505 + ;; 1.13506 + psos*) 1.13507 + ;; 1.13508 + solaris*) 1.13509 + case $cc_basename in 1.13510 + CC*) 1.13511 + # Sun C++ 4.2, 5.x and Centerline C++ 1.13512 + lt_prog_compiler_pic_CXX='-KPIC' 1.13513 + lt_prog_compiler_static_CXX='-Bstatic' 1.13514 + lt_prog_compiler_wl_CXX='-Qoption ld ' 1.13515 + ;; 1.13516 + gcx*) 1.13517 + # Green Hills C++ Compiler 1.13518 + lt_prog_compiler_pic_CXX='-PIC' 1.13519 + ;; 1.13520 + *) 1.13521 + ;; 1.13522 + esac 1.13523 + ;; 1.13524 + sunos4*) 1.13525 + case $cc_basename in 1.13526 + CC*) 1.13527 + # Sun C++ 4.x 1.13528 + lt_prog_compiler_pic_CXX='-pic' 1.13529 + lt_prog_compiler_static_CXX='-Bstatic' 1.13530 + ;; 1.13531 + lcc*) 1.13532 + # Lucid 1.13533 + lt_prog_compiler_pic_CXX='-pic' 1.13534 + ;; 1.13535 + *) 1.13536 + ;; 1.13537 + esac 1.13538 + ;; 1.13539 + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 1.13540 + case $cc_basename in 1.13541 + CC*) 1.13542 + lt_prog_compiler_wl_CXX='-Wl,' 1.13543 + lt_prog_compiler_pic_CXX='-KPIC' 1.13544 + lt_prog_compiler_static_CXX='-Bstatic' 1.13545 + ;; 1.13546 + esac 1.13547 + ;; 1.13548 + tandem*) 1.13549 + case $cc_basename in 1.13550 + NCC*) 1.13551 + # NonStop-UX NCC 3.20 1.13552 + lt_prog_compiler_pic_CXX='-KPIC' 1.13553 + ;; 1.13554 + *) 1.13555 + ;; 1.13556 + esac 1.13557 + ;; 1.13558 + vxworks*) 1.13559 + ;; 1.13560 + *) 1.13561 + lt_prog_compiler_can_build_shared_CXX=no 1.13562 + ;; 1.13563 + esac 1.13564 + fi 1.13565 + 1.13566 +case $host_os in 1.13567 + # For platforms which do not support PIC, -DPIC is meaningless: 1.13568 + *djgpp*) 1.13569 + lt_prog_compiler_pic_CXX= 1.13570 + ;; 1.13571 + *) 1.13572 + lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC" 1.13573 + ;; 1.13574 +esac 1.13575 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5 1.13576 +$as_echo "$lt_prog_compiler_pic_CXX" >&6; } 1.13577 + 1.13578 + 1.13579 + 1.13580 +# 1.13581 +# Check to make sure the PIC flag actually works. 1.13582 +# 1.13583 +if test -n "$lt_prog_compiler_pic_CXX"; then 1.13584 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 1.13585 +$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; } 1.13586 +if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then : 1.13587 + $as_echo_n "(cached) " >&6 1.13588 +else 1.13589 + lt_cv_prog_compiler_pic_works_CXX=no 1.13590 + ac_outfile=conftest.$ac_objext 1.13591 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext 1.13592 + lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" 1.13593 + # Insert the option either (1) after the last *FLAGS variable, or 1.13594 + # (2) before a word containing "conftest.", or (3) at the end. 1.13595 + # Note that $ac_compile itself does not contain backslashes and begins 1.13596 + # with a dollar sign (not a hyphen), so the echo should work correctly. 1.13597 + # The option is referenced via a variable to avoid confusing sed. 1.13598 + lt_compile=`echo "$ac_compile" | $SED \ 1.13599 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 1.13600 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 1.13601 + -e 's:$: $lt_compiler_flag:'` 1.13602 + (eval echo "\"\$as_me:13599: $lt_compile\"" >&5) 1.13603 + (eval "$lt_compile" 2>conftest.err) 1.13604 + ac_status=$? 1.13605 + cat conftest.err >&5 1.13606 + echo "$as_me:13603: \$? = $ac_status" >&5 1.13607 + if (exit $ac_status) && test -s "$ac_outfile"; then 1.13608 + # The compiler can only warn and ignore the option if not recognized 1.13609 + # So say no if there are warnings other than the usual output. 1.13610 + $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp 1.13611 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 1.13612 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 1.13613 + lt_cv_prog_compiler_pic_works_CXX=yes 1.13614 + fi 1.13615 + fi 1.13616 + $RM conftest* 1.13617 + 1.13618 +fi 1.13619 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5 1.13620 +$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; } 1.13621 + 1.13622 +if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then 1.13623 + case $lt_prog_compiler_pic_CXX in 1.13624 + "" | " "*) ;; 1.13625 + *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;; 1.13626 + esac 1.13627 +else 1.13628 + lt_prog_compiler_pic_CXX= 1.13629 + lt_prog_compiler_can_build_shared_CXX=no 1.13630 +fi 1.13631 + 1.13632 +fi 1.13633 + 1.13634 + 1.13635 + 1.13636 +# 1.13637 +# Check to make sure the static flag actually works. 1.13638 +# 1.13639 +wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\" 1.13640 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 1.13641 +$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 1.13642 +if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then : 1.13643 + $as_echo_n "(cached) " >&6 1.13644 +else 1.13645 + lt_cv_prog_compiler_static_works_CXX=no 1.13646 + save_LDFLAGS="$LDFLAGS" 1.13647 + LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 1.13648 + echo "$lt_simple_link_test_code" > conftest.$ac_ext 1.13649 + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 1.13650 + # The linker can only warn and ignore the option if not recognized 1.13651 + # So say no if there are warnings 1.13652 + if test -s conftest.err; then 1.13653 + # Append any errors to the config.log. 1.13654 + cat conftest.err 1>&5 1.13655 + $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp 1.13656 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 1.13657 + if diff conftest.exp conftest.er2 >/dev/null; then 1.13658 + lt_cv_prog_compiler_static_works_CXX=yes 1.13659 + fi 1.13660 + else 1.13661 + lt_cv_prog_compiler_static_works_CXX=yes 1.13662 + fi 1.13663 + fi 1.13664 + $RM -r conftest* 1.13665 + LDFLAGS="$save_LDFLAGS" 1.13666 + 1.13667 +fi 1.13668 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5 1.13669 +$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; } 1.13670 + 1.13671 +if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then 1.13672 + : 1.13673 +else 1.13674 + lt_prog_compiler_static_CXX= 1.13675 +fi 1.13676 + 1.13677 + 1.13678 + 1.13679 + 1.13680 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 1.13681 +$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 1.13682 +if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then : 1.13683 + $as_echo_n "(cached) " >&6 1.13684 +else 1.13685 + lt_cv_prog_compiler_c_o_CXX=no 1.13686 + $RM -r conftest 2>/dev/null 1.13687 + mkdir conftest 1.13688 + cd conftest 1.13689 + mkdir out 1.13690 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext 1.13691 + 1.13692 + lt_compiler_flag="-o out/conftest2.$ac_objext" 1.13693 + # Insert the option either (1) after the last *FLAGS variable, or 1.13694 + # (2) before a word containing "conftest.", or (3) at the end. 1.13695 + # Note that $ac_compile itself does not contain backslashes and begins 1.13696 + # with a dollar sign (not a hyphen), so the echo should work correctly. 1.13697 + lt_compile=`echo "$ac_compile" | $SED \ 1.13698 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 1.13699 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 1.13700 + -e 's:$: $lt_compiler_flag:'` 1.13701 + (eval echo "\"\$as_me:13698: $lt_compile\"" >&5) 1.13702 + (eval "$lt_compile" 2>out/conftest.err) 1.13703 + ac_status=$? 1.13704 + cat out/conftest.err >&5 1.13705 + echo "$as_me:13702: \$? = $ac_status" >&5 1.13706 + if (exit $ac_status) && test -s out/conftest2.$ac_objext 1.13707 + then 1.13708 + # The compiler can only warn and ignore the option if not recognized 1.13709 + # So say no if there are warnings 1.13710 + $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp 1.13711 + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 1.13712 + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 1.13713 + lt_cv_prog_compiler_c_o_CXX=yes 1.13714 + fi 1.13715 + fi 1.13716 + chmod u+w . 2>&5 1.13717 + $RM conftest* 1.13718 + # SGI C++ compiler will create directory out/ii_files/ for 1.13719 + # template instantiation 1.13720 + test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 1.13721 + $RM out/* && rmdir out 1.13722 + cd .. 1.13723 + $RM -r conftest 1.13724 + $RM conftest* 1.13725 + 1.13726 +fi 1.13727 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5 1.13728 +$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } 1.13729 + 1.13730 + 1.13731 + 1.13732 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 1.13733 +$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 1.13734 +if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then : 1.13735 + $as_echo_n "(cached) " >&6 1.13736 +else 1.13737 + lt_cv_prog_compiler_c_o_CXX=no 1.13738 + $RM -r conftest 2>/dev/null 1.13739 + mkdir conftest 1.13740 + cd conftest 1.13741 + mkdir out 1.13742 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext 1.13743 + 1.13744 + lt_compiler_flag="-o out/conftest2.$ac_objext" 1.13745 + # Insert the option either (1) after the last *FLAGS variable, or 1.13746 + # (2) before a word containing "conftest.", or (3) at the end. 1.13747 + # Note that $ac_compile itself does not contain backslashes and begins 1.13748 + # with a dollar sign (not a hyphen), so the echo should work correctly. 1.13749 + lt_compile=`echo "$ac_compile" | $SED \ 1.13750 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 1.13751 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 1.13752 + -e 's:$: $lt_compiler_flag:'` 1.13753 + (eval echo "\"\$as_me:13750: $lt_compile\"" >&5) 1.13754 + (eval "$lt_compile" 2>out/conftest.err) 1.13755 + ac_status=$? 1.13756 + cat out/conftest.err >&5 1.13757 + echo "$as_me:13754: \$? = $ac_status" >&5 1.13758 + if (exit $ac_status) && test -s out/conftest2.$ac_objext 1.13759 + then 1.13760 + # The compiler can only warn and ignore the option if not recognized 1.13761 + # So say no if there are warnings 1.13762 + $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp 1.13763 + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 1.13764 + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 1.13765 + lt_cv_prog_compiler_c_o_CXX=yes 1.13766 + fi 1.13767 + fi 1.13768 + chmod u+w . 2>&5 1.13769 + $RM conftest* 1.13770 + # SGI C++ compiler will create directory out/ii_files/ for 1.13771 + # template instantiation 1.13772 + test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 1.13773 + $RM out/* && rmdir out 1.13774 + cd .. 1.13775 + $RM -r conftest 1.13776 + $RM conftest* 1.13777 + 1.13778 +fi 1.13779 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5 1.13780 +$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } 1.13781 + 1.13782 + 1.13783 + 1.13784 + 1.13785 +hard_links="nottested" 1.13786 +if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then 1.13787 + # do not overwrite the value of need_locks provided by the user 1.13788 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 1.13789 +$as_echo_n "checking if we can lock with hard links... " >&6; } 1.13790 + hard_links=yes 1.13791 + $RM conftest* 1.13792 + ln conftest.a conftest.b 2>/dev/null && hard_links=no 1.13793 + touch conftest.a 1.13794 + ln conftest.a conftest.b 2>&5 || hard_links=no 1.13795 + ln conftest.a conftest.b 2>/dev/null && hard_links=no 1.13796 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 1.13797 +$as_echo "$hard_links" >&6; } 1.13798 + if test "$hard_links" = no; then 1.13799 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 1.13800 +$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 1.13801 + need_locks=warn 1.13802 + fi 1.13803 +else 1.13804 + need_locks=no 1.13805 +fi 1.13806 + 1.13807 + 1.13808 + 1.13809 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 1.13810 +$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 1.13811 + 1.13812 + export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 1.13813 + case $host_os in 1.13814 + aix[4-9]*) 1.13815 + # If we're using GNU nm, then we don't want the "-C" option. 1.13816 + # -C means demangle to AIX nm, but means don't demangle with GNU nm 1.13817 + if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 1.13818 + export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' 1.13819 + else 1.13820 + export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' 1.13821 + fi 1.13822 + ;; 1.13823 + pw32*) 1.13824 + export_symbols_cmds_CXX="$ltdll_cmds" 1.13825 + ;; 1.13826 + cygwin* | mingw* | cegcc*) 1.13827 + export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols' 1.13828 + ;; 1.13829 + linux* | k*bsd*-gnu) 1.13830 + link_all_deplibs_CXX=no 1.13831 + ;; 1.13832 + *) 1.13833 + export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 1.13834 + ;; 1.13835 + esac 1.13836 + exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 1.13837 + 1.13838 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 1.13839 +$as_echo "$ld_shlibs_CXX" >&6; } 1.13840 +test "$ld_shlibs_CXX" = no && can_build_shared=no 1.13841 + 1.13842 +with_gnu_ld_CXX=$with_gnu_ld 1.13843 + 1.13844 + 1.13845 + 1.13846 + 1.13847 + 1.13848 + 1.13849 +# 1.13850 +# Do we need to explicitly link libc? 1.13851 +# 1.13852 +case "x$archive_cmds_need_lc_CXX" in 1.13853 +x|xyes) 1.13854 + # Assume -lc should be added 1.13855 + archive_cmds_need_lc_CXX=yes 1.13856 + 1.13857 + if test "$enable_shared" = yes && test "$GCC" = yes; then 1.13858 + case $archive_cmds_CXX in 1.13859 + *'~'*) 1.13860 + # FIXME: we may have to deal with multi-command sequences. 1.13861 + ;; 1.13862 + '$CC '*) 1.13863 + # Test whether the compiler implicitly links with -lc since on some 1.13864 + # systems, -lgcc has to come before -lc. If gcc already passes -lc 1.13865 + # to ld, don't add -lc before -lgcc. 1.13866 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 1.13867 +$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 1.13868 + $RM conftest* 1.13869 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext 1.13870 + 1.13871 + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 1.13872 + (eval $ac_compile) 2>&5 1.13873 + ac_status=$? 1.13874 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1.13875 + test $ac_status = 0; } 2>conftest.err; then 1.13876 + soname=conftest 1.13877 + lib=conftest 1.13878 + libobjs=conftest.$ac_objext 1.13879 + deplibs= 1.13880 + wl=$lt_prog_compiler_wl_CXX 1.13881 + pic_flag=$lt_prog_compiler_pic_CXX 1.13882 + compiler_flags=-v 1.13883 + linker_flags=-v 1.13884 + verstring= 1.13885 + output_objdir=. 1.13886 + libname=conftest 1.13887 + lt_save_allow_undefined_flag=$allow_undefined_flag_CXX 1.13888 + allow_undefined_flag_CXX= 1.13889 + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 1.13890 + (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 1.13891 + ac_status=$? 1.13892 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1.13893 + test $ac_status = 0; } 1.13894 + then 1.13895 + archive_cmds_need_lc_CXX=no 1.13896 + else 1.13897 + archive_cmds_need_lc_CXX=yes 1.13898 + fi 1.13899 + allow_undefined_flag_CXX=$lt_save_allow_undefined_flag 1.13900 + else 1.13901 + cat conftest.err 1>&5 1.13902 + fi 1.13903 + $RM conftest* 1.13904 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5 1.13905 +$as_echo "$archive_cmds_need_lc_CXX" >&6; } 1.13906 + ;; 1.13907 + esac 1.13908 + fi 1.13909 + ;; 1.13910 +esac 1.13911 + 1.13912 + 1.13913 + 1.13914 + 1.13915 + 1.13916 + 1.13917 + 1.13918 + 1.13919 + 1.13920 + 1.13921 + 1.13922 + 1.13923 + 1.13924 + 1.13925 + 1.13926 + 1.13927 + 1.13928 + 1.13929 + 1.13930 + 1.13931 + 1.13932 + 1.13933 + 1.13934 + 1.13935 + 1.13936 + 1.13937 + 1.13938 + 1.13939 + 1.13940 + 1.13941 + 1.13942 + 1.13943 + 1.13944 + 1.13945 + 1.13946 + 1.13947 + 1.13948 + 1.13949 + 1.13950 + 1.13951 + 1.13952 + 1.13953 + 1.13954 + 1.13955 + 1.13956 + 1.13957 + 1.13958 + 1.13959 + 1.13960 + 1.13961 + 1.13962 + 1.13963 + 1.13964 + 1.13965 + 1.13966 + 1.13967 + 1.13968 + 1.13969 + 1.13970 + 1.13971 + 1.13972 + 1.13973 + 1.13974 + 1.13975 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 1.13976 +$as_echo_n "checking dynamic linker characteristics... " >&6; } 1.13977 + 1.13978 +library_names_spec= 1.13979 +libname_spec='lib$name' 1.13980 +soname_spec= 1.13981 +shrext_cmds=".so" 1.13982 +postinstall_cmds= 1.13983 +postuninstall_cmds= 1.13984 +finish_cmds= 1.13985 +finish_eval= 1.13986 +shlibpath_var= 1.13987 +shlibpath_overrides_runpath=unknown 1.13988 +version_type=none 1.13989 +dynamic_linker="$host_os ld.so" 1.13990 +sys_lib_dlsearch_path_spec="/lib /usr/lib" 1.13991 +need_lib_prefix=unknown 1.13992 +hardcode_into_libs=no 1.13993 + 1.13994 +# when you set need_version to no, make sure it does not cause -set_version 1.13995 +# flags to be left without arguments 1.13996 +need_version=unknown 1.13997 + 1.13998 +case $host_os in 1.13999 +aix3*) 1.14000 + version_type=linux 1.14001 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' 1.14002 + shlibpath_var=LIBPATH 1.14003 + 1.14004 + # AIX 3 has no versioning support, so we append a major version to the name. 1.14005 + soname_spec='${libname}${release}${shared_ext}$major' 1.14006 + ;; 1.14007 + 1.14008 +aix[4-9]*) 1.14009 + version_type=linux 1.14010 + need_lib_prefix=no 1.14011 + need_version=no 1.14012 + hardcode_into_libs=yes 1.14013 + if test "$host_cpu" = ia64; then 1.14014 + # AIX 5 supports IA64 1.14015 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' 1.14016 + shlibpath_var=LD_LIBRARY_PATH 1.14017 + else 1.14018 + # With GCC up to 2.95.x, collect2 would create an import file 1.14019 + # for dependence libraries. The import file would start with 1.14020 + # the line `#! .'. This would cause the generated library to 1.14021 + # depend on `.', always an invalid library. This was fixed in 1.14022 + # development snapshots of GCC prior to 3.0. 1.14023 + case $host_os in 1.14024 + aix4 | aix4.[01] | aix4.[01].*) 1.14025 + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 1.14026 + echo ' yes ' 1.14027 + echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then 1.14028 + : 1.14029 + else 1.14030 + can_build_shared=no 1.14031 + fi 1.14032 + ;; 1.14033 + esac 1.14034 + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct 1.14035 + # soname into executable. Probably we can add versioning support to 1.14036 + # collect2, so additional links can be useful in future. 1.14037 + if test "$aix_use_runtimelinking" = yes; then 1.14038 + # If using run time linking (on AIX 4.2 or later) use lib<name>.so 1.14039 + # instead of lib<name>.a to let people know that these are not 1.14040 + # typical AIX shared libraries. 1.14041 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 1.14042 + else 1.14043 + # We preserve .a as extension for shared libraries through AIX4.2 1.14044 + # and later when we are not doing run time linking. 1.14045 + library_names_spec='${libname}${release}.a $libname.a' 1.14046 + soname_spec='${libname}${release}${shared_ext}$major' 1.14047 + fi 1.14048 + shlibpath_var=LIBPATH 1.14049 + fi 1.14050 + ;; 1.14051 + 1.14052 +amigaos*) 1.14053 + case $host_cpu in 1.14054 + powerpc) 1.14055 + # Since July 2007 AmigaOS4 officially supports .so libraries. 1.14056 + # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 1.14057 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 1.14058 + ;; 1.14059 + m68k) 1.14060 + library_names_spec='$libname.ixlibrary $libname.a' 1.14061 + # Create ${libname}_ixlibrary.a entries in /sys/libs. 1.14062 + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' 1.14063 + ;; 1.14064 + esac 1.14065 + ;; 1.14066 + 1.14067 +beos*) 1.14068 + library_names_spec='${libname}${shared_ext}' 1.14069 + dynamic_linker="$host_os ld.so" 1.14070 + shlibpath_var=LIBRARY_PATH 1.14071 + ;; 1.14072 + 1.14073 +bsdi[45]*) 1.14074 + version_type=linux 1.14075 + need_version=no 1.14076 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 1.14077 + soname_spec='${libname}${release}${shared_ext}$major' 1.14078 + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 1.14079 + shlibpath_var=LD_LIBRARY_PATH 1.14080 + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 1.14081 + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 1.14082 + # the default ld.so.conf also contains /usr/contrib/lib and 1.14083 + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 1.14084 + # libtool to hard-code these into programs 1.14085 + ;; 1.14086 + 1.14087 +cygwin* | mingw* | pw32* | cegcc*) 1.14088 + version_type=windows 1.14089 + shrext_cmds=".dll" 1.14090 + need_version=no 1.14091 + need_lib_prefix=no 1.14092 + 1.14093 + case $GCC,$host_os in 1.14094 + yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*) 1.14095 + library_names_spec='$libname.dll.a' 1.14096 + # DLL is installed to $(libdir)/../bin by postinstall_cmds 1.14097 + postinstall_cmds='base_file=`basename \${file}`~ 1.14098 + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 1.14099 + dldir=$destdir/`dirname \$dlpath`~ 1.14100 + test -d \$dldir || mkdir -p \$dldir~ 1.14101 + $install_prog $dir/$dlname \$dldir/$dlname~ 1.14102 + chmod a+x \$dldir/$dlname~ 1.14103 + if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 1.14104 + eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 1.14105 + fi' 1.14106 + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 1.14107 + dlpath=$dir/\$dldll~ 1.14108 + $RM \$dlpath' 1.14109 + shlibpath_overrides_runpath=yes 1.14110 + 1.14111 + case $host_os in 1.14112 + cygwin*) 1.14113 + # Cygwin DLLs use 'cyg' prefix rather than 'lib' 1.14114 + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 1.14115 + sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" 1.14116 + ;; 1.14117 + mingw* | cegcc*) 1.14118 + # MinGW DLLs use traditional 'lib' prefix 1.14119 + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 1.14120 + sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` 1.14121 + if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 1.14122 + # It is most probably a Windows format PATH printed by 1.14123 + # mingw gcc, but we are running on Cygwin. Gcc prints its search 1.14124 + # path with ; separators, and with drive letters. We can handle the 1.14125 + # drive letters (cygwin fileutils understands them), so leave them, 1.14126 + # especially as we might pass files found there to a mingw objdump, 1.14127 + # which wouldn't understand a cygwinified path. Ahh. 1.14128 + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 1.14129 + else 1.14130 + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 1.14131 + fi 1.14132 + ;; 1.14133 + pw32*) 1.14134 + # pw32 DLLs use 'pw' prefix rather than 'lib' 1.14135 + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 1.14136 + ;; 1.14137 + esac 1.14138 + ;; 1.14139 + 1.14140 + *) 1.14141 + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' 1.14142 + ;; 1.14143 + esac 1.14144 + dynamic_linker='Win32 ld.exe' 1.14145 + # FIXME: first we should search . and the directory the executable is in 1.14146 + shlibpath_var=PATH 1.14147 + ;; 1.14148 + 1.14149 +darwin* | rhapsody*) 1.14150 + dynamic_linker="$host_os dyld" 1.14151 + version_type=darwin 1.14152 + need_lib_prefix=no 1.14153 + need_version=no 1.14154 + library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' 1.14155 + soname_spec='${libname}${release}${major}$shared_ext' 1.14156 + shlibpath_overrides_runpath=yes 1.14157 + shlibpath_var=DYLD_LIBRARY_PATH 1.14158 + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 1.14159 + 1.14160 + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 1.14161 + ;; 1.14162 + 1.14163 +dgux*) 1.14164 + version_type=linux 1.14165 + need_lib_prefix=no 1.14166 + need_version=no 1.14167 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' 1.14168 + soname_spec='${libname}${release}${shared_ext}$major' 1.14169 + shlibpath_var=LD_LIBRARY_PATH 1.14170 + ;; 1.14171 + 1.14172 +freebsd1*) 1.14173 + dynamic_linker=no 1.14174 + ;; 1.14175 + 1.14176 +freebsd* | dragonfly*) 1.14177 + # DragonFly does not have aout. When/if they implement a new 1.14178 + # versioning mechanism, adjust this. 1.14179 + if test -x /usr/bin/objformat; then 1.14180 + objformat=`/usr/bin/objformat` 1.14181 + else 1.14182 + case $host_os in 1.14183 + freebsd[123]*) objformat=aout ;; 1.14184 + *) objformat=elf ;; 1.14185 + esac 1.14186 + fi 1.14187 + version_type=freebsd-$objformat 1.14188 + case $version_type in 1.14189 + freebsd-elf*) 1.14190 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 1.14191 + need_version=no 1.14192 + need_lib_prefix=no 1.14193 + ;; 1.14194 + freebsd-*) 1.14195 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' 1.14196 + need_version=yes 1.14197 + ;; 1.14198 + esac 1.14199 + shlibpath_var=LD_LIBRARY_PATH 1.14200 + case $host_os in 1.14201 + freebsd2*) 1.14202 + shlibpath_overrides_runpath=yes 1.14203 + ;; 1.14204 + freebsd3.[01]* | freebsdelf3.[01]*) 1.14205 + shlibpath_overrides_runpath=yes 1.14206 + hardcode_into_libs=yes 1.14207 + ;; 1.14208 + freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 1.14209 + freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 1.14210 + shlibpath_overrides_runpath=no 1.14211 + hardcode_into_libs=yes 1.14212 + ;; 1.14213 + *) # from 4.6 on, and DragonFly 1.14214 + shlibpath_overrides_runpath=yes 1.14215 + hardcode_into_libs=yes 1.14216 + ;; 1.14217 + esac 1.14218 + ;; 1.14219 + 1.14220 +gnu*) 1.14221 + version_type=linux 1.14222 + need_lib_prefix=no 1.14223 + need_version=no 1.14224 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 1.14225 + soname_spec='${libname}${release}${shared_ext}$major' 1.14226 + shlibpath_var=LD_LIBRARY_PATH 1.14227 + hardcode_into_libs=yes 1.14228 + ;; 1.14229 + 1.14230 +hpux9* | hpux10* | hpux11*) 1.14231 + # Give a soname corresponding to the major version so that dld.sl refuses to 1.14232 + # link against other versions. 1.14233 + version_type=sunos 1.14234 + need_lib_prefix=no 1.14235 + need_version=no 1.14236 + case $host_cpu in 1.14237 + ia64*) 1.14238 + shrext_cmds='.so' 1.14239 + hardcode_into_libs=yes 1.14240 + dynamic_linker="$host_os dld.so" 1.14241 + shlibpath_var=LD_LIBRARY_PATH 1.14242 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 1.14243 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 1.14244 + soname_spec='${libname}${release}${shared_ext}$major' 1.14245 + if test "X$HPUX_IA64_MODE" = X32; then 1.14246 + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 1.14247 + else 1.14248 + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 1.14249 + fi 1.14250 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 1.14251 + ;; 1.14252 + hppa*64*) 1.14253 + shrext_cmds='.sl' 1.14254 + hardcode_into_libs=yes 1.14255 + dynamic_linker="$host_os dld.sl" 1.14256 + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 1.14257 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 1.14258 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 1.14259 + soname_spec='${libname}${release}${shared_ext}$major' 1.14260 + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 1.14261 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 1.14262 + ;; 1.14263 + *) 1.14264 + shrext_cmds='.sl' 1.14265 + dynamic_linker="$host_os dld.sl" 1.14266 + shlibpath_var=SHLIB_PATH 1.14267 + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 1.14268 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 1.14269 + soname_spec='${libname}${release}${shared_ext}$major' 1.14270 + ;; 1.14271 + esac 1.14272 + # HP-UX runs *really* slowly unless shared libraries are mode 555. 1.14273 + postinstall_cmds='chmod 555 $lib' 1.14274 + ;; 1.14275 + 1.14276 +interix[3-9]*) 1.14277 + version_type=linux 1.14278 + need_lib_prefix=no 1.14279 + need_version=no 1.14280 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 1.14281 + soname_spec='${libname}${release}${shared_ext}$major' 1.14282 + dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 1.14283 + shlibpath_var=LD_LIBRARY_PATH 1.14284 + shlibpath_overrides_runpath=no 1.14285 + hardcode_into_libs=yes 1.14286 + ;; 1.14287 + 1.14288 +irix5* | irix6* | nonstopux*) 1.14289 + case $host_os in 1.14290 + nonstopux*) version_type=nonstopux ;; 1.14291 + *) 1.14292 + if test "$lt_cv_prog_gnu_ld" = yes; then 1.14293 + version_type=linux 1.14294 + else 1.14295 + version_type=irix 1.14296 + fi ;; 1.14297 + esac 1.14298 + need_lib_prefix=no 1.14299 + need_version=no 1.14300 + soname_spec='${libname}${release}${shared_ext}$major' 1.14301 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' 1.14302 + case $host_os in 1.14303 + irix5* | nonstopux*) 1.14304 + libsuff= shlibsuff= 1.14305 + ;; 1.14306 + *) 1.14307 + case $LD in # libtool.m4 will add one of these switches to LD 1.14308 + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 1.14309 + libsuff= shlibsuff= libmagic=32-bit;; 1.14310 + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 1.14311 + libsuff=32 shlibsuff=N32 libmagic=N32;; 1.14312 + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 1.14313 + libsuff=64 shlibsuff=64 libmagic=64-bit;; 1.14314 + *) libsuff= shlibsuff= libmagic=never-match;; 1.14315 + esac 1.14316 + ;; 1.14317 + esac 1.14318 + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 1.14319 + shlibpath_overrides_runpath=no 1.14320 + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" 1.14321 + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" 1.14322 + hardcode_into_libs=yes 1.14323 + ;; 1.14324 + 1.14325 +# No shared lib support for Linux oldld, aout, or coff. 1.14326 +linux*oldld* | linux*aout* | linux*coff*) 1.14327 + dynamic_linker=no 1.14328 + ;; 1.14329 + 1.14330 +# This must be Linux ELF. 1.14331 +linux* | k*bsd*-gnu | kopensolaris*-gnu) 1.14332 + version_type=linux 1.14333 + need_lib_prefix=no 1.14334 + need_version=no 1.14335 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 1.14336 + soname_spec='${libname}${release}${shared_ext}$major' 1.14337 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 1.14338 + shlibpath_var=LD_LIBRARY_PATH 1.14339 + shlibpath_overrides_runpath=no 1.14340 + # Some binutils ld are patched to set DT_RUNPATH 1.14341 + save_LDFLAGS=$LDFLAGS 1.14342 + save_libdir=$libdir 1.14343 + eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \ 1.14344 + LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\"" 1.14345 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.14346 +/* end confdefs.h. */ 1.14347 + 1.14348 +int 1.14349 +main () 1.14350 +{ 1.14351 + 1.14352 + ; 1.14353 + return 0; 1.14354 +} 1.14355 +_ACEOF 1.14356 +if ac_fn_cxx_try_link "$LINENO"; then : 1.14357 + if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 1.14358 + shlibpath_overrides_runpath=yes 1.14359 +fi 1.14360 +fi 1.14361 +rm -f core conftest.err conftest.$ac_objext \ 1.14362 + conftest$ac_exeext conftest.$ac_ext 1.14363 + LDFLAGS=$save_LDFLAGS 1.14364 + libdir=$save_libdir 1.14365 + 1.14366 + # This implies no fast_install, which is unacceptable. 1.14367 + # Some rework will be needed to allow for fast_install 1.14368 + # before this can be enabled. 1.14369 + hardcode_into_libs=yes 1.14370 + 1.14371 + # Append ld.so.conf contents to the search path 1.14372 + if test -f /etc/ld.so.conf; then 1.14373 + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` 1.14374 + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 1.14375 + fi 1.14376 + 1.14377 + # We used to test for /lib/ld.so.1 and disable shared libraries on 1.14378 + # powerpc, because MkLinux only supported shared libraries with the 1.14379 + # GNU dynamic linker. Since this was broken with cross compilers, 1.14380 + # most powerpc-linux boxes support dynamic linking these days and 1.14381 + # people can always --disable-shared, the test was removed, and we 1.14382 + # assume the GNU/Linux dynamic linker is in use. 1.14383 + dynamic_linker='GNU/Linux ld.so' 1.14384 + ;; 1.14385 + 1.14386 +netbsdelf*-gnu) 1.14387 + version_type=linux 1.14388 + need_lib_prefix=no 1.14389 + need_version=no 1.14390 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 1.14391 + soname_spec='${libname}${release}${shared_ext}$major' 1.14392 + shlibpath_var=LD_LIBRARY_PATH 1.14393 + shlibpath_overrides_runpath=no 1.14394 + hardcode_into_libs=yes 1.14395 + dynamic_linker='NetBSD ld.elf_so' 1.14396 + ;; 1.14397 + 1.14398 +netbsd*) 1.14399 + version_type=sunos 1.14400 + need_lib_prefix=no 1.14401 + need_version=no 1.14402 + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 1.14403 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 1.14404 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 1.14405 + dynamic_linker='NetBSD (a.out) ld.so' 1.14406 + else 1.14407 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 1.14408 + soname_spec='${libname}${release}${shared_ext}$major' 1.14409 + dynamic_linker='NetBSD ld.elf_so' 1.14410 + fi 1.14411 + shlibpath_var=LD_LIBRARY_PATH 1.14412 + shlibpath_overrides_runpath=yes 1.14413 + hardcode_into_libs=yes 1.14414 + ;; 1.14415 + 1.14416 +newsos6) 1.14417 + version_type=linux 1.14418 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 1.14419 + shlibpath_var=LD_LIBRARY_PATH 1.14420 + shlibpath_overrides_runpath=yes 1.14421 + ;; 1.14422 + 1.14423 +*nto* | *qnx*) 1.14424 + version_type=qnx 1.14425 + need_lib_prefix=no 1.14426 + need_version=no 1.14427 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 1.14428 + soname_spec='${libname}${release}${shared_ext}$major' 1.14429 + shlibpath_var=LD_LIBRARY_PATH 1.14430 + shlibpath_overrides_runpath=no 1.14431 + hardcode_into_libs=yes 1.14432 + dynamic_linker='ldqnx.so' 1.14433 + ;; 1.14434 + 1.14435 +openbsd*) 1.14436 + version_type=sunos 1.14437 + sys_lib_dlsearch_path_spec="/usr/lib" 1.14438 + need_lib_prefix=no 1.14439 + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 1.14440 + case $host_os in 1.14441 + openbsd3.3 | openbsd3.3.*) need_version=yes ;; 1.14442 + *) need_version=no ;; 1.14443 + esac 1.14444 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 1.14445 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 1.14446 + shlibpath_var=LD_LIBRARY_PATH 1.14447 + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 1.14448 + case $host_os in 1.14449 + openbsd2.[89] | openbsd2.[89].*) 1.14450 + shlibpath_overrides_runpath=no 1.14451 + ;; 1.14452 + *) 1.14453 + shlibpath_overrides_runpath=yes 1.14454 + ;; 1.14455 + esac 1.14456 + else 1.14457 + shlibpath_overrides_runpath=yes 1.14458 + fi 1.14459 + ;; 1.14460 + 1.14461 +os2*) 1.14462 + libname_spec='$name' 1.14463 + shrext_cmds=".dll" 1.14464 + need_lib_prefix=no 1.14465 + library_names_spec='$libname${shared_ext} $libname.a' 1.14466 + dynamic_linker='OS/2 ld.exe' 1.14467 + shlibpath_var=LIBPATH 1.14468 + ;; 1.14469 + 1.14470 +osf3* | osf4* | osf5*) 1.14471 + version_type=osf 1.14472 + need_lib_prefix=no 1.14473 + need_version=no 1.14474 + soname_spec='${libname}${release}${shared_ext}$major' 1.14475 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 1.14476 + shlibpath_var=LD_LIBRARY_PATH 1.14477 + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 1.14478 + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" 1.14479 + ;; 1.14480 + 1.14481 +rdos*) 1.14482 + dynamic_linker=no 1.14483 + ;; 1.14484 + 1.14485 +solaris*) 1.14486 + version_type=linux 1.14487 + need_lib_prefix=no 1.14488 + need_version=no 1.14489 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 1.14490 + soname_spec='${libname}${release}${shared_ext}$major' 1.14491 + shlibpath_var=LD_LIBRARY_PATH 1.14492 + shlibpath_overrides_runpath=yes 1.14493 + hardcode_into_libs=yes 1.14494 + # ldd complains unless libraries are executable 1.14495 + postinstall_cmds='chmod +x $lib' 1.14496 + ;; 1.14497 + 1.14498 +sunos4*) 1.14499 + version_type=sunos 1.14500 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 1.14501 + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 1.14502 + shlibpath_var=LD_LIBRARY_PATH 1.14503 + shlibpath_overrides_runpath=yes 1.14504 + if test "$with_gnu_ld" = yes; then 1.14505 + need_lib_prefix=no 1.14506 + fi 1.14507 + need_version=yes 1.14508 + ;; 1.14509 + 1.14510 +sysv4 | sysv4.3*) 1.14511 + version_type=linux 1.14512 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 1.14513 + soname_spec='${libname}${release}${shared_ext}$major' 1.14514 + shlibpath_var=LD_LIBRARY_PATH 1.14515 + case $host_vendor in 1.14516 + sni) 1.14517 + shlibpath_overrides_runpath=no 1.14518 + need_lib_prefix=no 1.14519 + runpath_var=LD_RUN_PATH 1.14520 + ;; 1.14521 + siemens) 1.14522 + need_lib_prefix=no 1.14523 + ;; 1.14524 + motorola) 1.14525 + need_lib_prefix=no 1.14526 + need_version=no 1.14527 + shlibpath_overrides_runpath=no 1.14528 + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 1.14529 + ;; 1.14530 + esac 1.14531 + ;; 1.14532 + 1.14533 +sysv4*MP*) 1.14534 + if test -d /usr/nec ;then 1.14535 + version_type=linux 1.14536 + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' 1.14537 + soname_spec='$libname${shared_ext}.$major' 1.14538 + shlibpath_var=LD_LIBRARY_PATH 1.14539 + fi 1.14540 + ;; 1.14541 + 1.14542 +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 1.14543 + version_type=freebsd-elf 1.14544 + need_lib_prefix=no 1.14545 + need_version=no 1.14546 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 1.14547 + soname_spec='${libname}${release}${shared_ext}$major' 1.14548 + shlibpath_var=LD_LIBRARY_PATH 1.14549 + shlibpath_overrides_runpath=yes 1.14550 + hardcode_into_libs=yes 1.14551 + if test "$with_gnu_ld" = yes; then 1.14552 + sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 1.14553 + else 1.14554 + sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 1.14555 + case $host_os in 1.14556 + sco3.2v5*) 1.14557 + sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 1.14558 + ;; 1.14559 + esac 1.14560 + fi 1.14561 + sys_lib_dlsearch_path_spec='/usr/lib' 1.14562 + ;; 1.14563 + 1.14564 +tpf*) 1.14565 + # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 1.14566 + version_type=linux 1.14567 + need_lib_prefix=no 1.14568 + need_version=no 1.14569 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 1.14570 + shlibpath_var=LD_LIBRARY_PATH 1.14571 + shlibpath_overrides_runpath=no 1.14572 + hardcode_into_libs=yes 1.14573 + ;; 1.14574 + 1.14575 +uts4*) 1.14576 + version_type=linux 1.14577 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 1.14578 + soname_spec='${libname}${release}${shared_ext}$major' 1.14579 + shlibpath_var=LD_LIBRARY_PATH 1.14580 + ;; 1.14581 + 1.14582 +*) 1.14583 + dynamic_linker=no 1.14584 + ;; 1.14585 +esac 1.14586 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 1.14587 +$as_echo "$dynamic_linker" >&6; } 1.14588 +test "$dynamic_linker" = no && can_build_shared=no 1.14589 + 1.14590 +variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 1.14591 +if test "$GCC" = yes; then 1.14592 + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 1.14593 +fi 1.14594 + 1.14595 +if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then 1.14596 + sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" 1.14597 +fi 1.14598 +if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then 1.14599 + sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" 1.14600 +fi 1.14601 + 1.14602 + 1.14603 + 1.14604 + 1.14605 + 1.14606 + 1.14607 + 1.14608 + 1.14609 + 1.14610 + 1.14611 + 1.14612 + 1.14613 + 1.14614 + 1.14615 + 1.14616 + 1.14617 + 1.14618 + 1.14619 + 1.14620 + 1.14621 + 1.14622 + 1.14623 + 1.14624 + 1.14625 + 1.14626 + 1.14627 + 1.14628 + 1.14629 + 1.14630 + 1.14631 + 1.14632 + 1.14633 + 1.14634 + 1.14635 + 1.14636 + 1.14637 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 1.14638 +$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 1.14639 +hardcode_action_CXX= 1.14640 +if test -n "$hardcode_libdir_flag_spec_CXX" || 1.14641 + test -n "$runpath_var_CXX" || 1.14642 + test "X$hardcode_automatic_CXX" = "Xyes" ; then 1.14643 + 1.14644 + # We can hardcode non-existent directories. 1.14645 + if test "$hardcode_direct_CXX" != no && 1.14646 + # If the only mechanism to avoid hardcoding is shlibpath_var, we 1.14647 + # have to relink, otherwise we might link with an installed library 1.14648 + # when we should be linking with a yet-to-be-installed one 1.14649 + ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no && 1.14650 + test "$hardcode_minus_L_CXX" != no; then 1.14651 + # Linking always hardcodes the temporary library directory. 1.14652 + hardcode_action_CXX=relink 1.14653 + else 1.14654 + # We can link without hardcoding, and we can hardcode nonexisting dirs. 1.14655 + hardcode_action_CXX=immediate 1.14656 + fi 1.14657 +else 1.14658 + # We cannot hardcode anything, or else we can only hardcode existing 1.14659 + # directories. 1.14660 + hardcode_action_CXX=unsupported 1.14661 +fi 1.14662 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5 1.14663 +$as_echo "$hardcode_action_CXX" >&6; } 1.14664 + 1.14665 +if test "$hardcode_action_CXX" = relink || 1.14666 + test "$inherit_rpath_CXX" = yes; then 1.14667 + # Fast installation is not supported 1.14668 + enable_fast_install=no 1.14669 +elif test "$shlibpath_overrides_runpath" = yes || 1.14670 + test "$enable_shared" = no; then 1.14671 + # Fast installation is not necessary 1.14672 + enable_fast_install=needless 1.14673 +fi 1.14674 + 1.14675 + 1.14676 + 1.14677 + 1.14678 + 1.14679 + 1.14680 + 1.14681 + fi # test -n "$compiler" 1.14682 + 1.14683 + CC=$lt_save_CC 1.14684 + LDCXX=$LD 1.14685 + LD=$lt_save_LD 1.14686 + GCC=$lt_save_GCC 1.14687 + with_gnu_ld=$lt_save_with_gnu_ld 1.14688 + lt_cv_path_LDCXX=$lt_cv_path_LD 1.14689 + lt_cv_path_LD=$lt_save_path_LD 1.14690 + lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld 1.14691 + lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld 1.14692 +fi # test "$_lt_caught_CXX_error" != yes 1.14693 + 1.14694 +ac_ext=cpp 1.14695 +ac_cpp='$CXXCPP $CPPFLAGS' 1.14696 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1.14697 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1.14698 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 1.14699 + 1.14700 + 1.14701 + 1.14702 + 1.14703 + 1.14704 + 1.14705 + 1.14706 + 1.14707 + 1.14708 + 1.14709 + 1.14710 + 1.14711 + 1.14712 + ac_config_commands="$ac_config_commands libtool" 1.14713 + 1.14714 + 1.14715 + 1.14716 + 1.14717 +# Only expand once: 1.14718 + 1.14719 + 1.14720 + 1.14721 + 1.14722 +# Check whether some low-level functions/files are available 1.14723 + 1.14724 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 1.14725 +$as_echo_n "checking for ANSI C header files... " >&6; } 1.14726 +if test "${ac_cv_header_stdc+set}" = set; then : 1.14727 + $as_echo_n "(cached) " >&6 1.14728 +else 1.14729 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.14730 +/* end confdefs.h. */ 1.14731 +#include <stdlib.h> 1.14732 +#include <stdarg.h> 1.14733 +#include <string.h> 1.14734 +#include <float.h> 1.14735 + 1.14736 +int 1.14737 +main () 1.14738 +{ 1.14739 + 1.14740 + ; 1.14741 + return 0; 1.14742 +} 1.14743 +_ACEOF 1.14744 +if ac_fn_cxx_try_compile "$LINENO"; then : 1.14745 + ac_cv_header_stdc=yes 1.14746 +else 1.14747 + ac_cv_header_stdc=no 1.14748 +fi 1.14749 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1.14750 + 1.14751 +if test $ac_cv_header_stdc = yes; then 1.14752 + # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 1.14753 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.14754 +/* end confdefs.h. */ 1.14755 +#include <string.h> 1.14756 + 1.14757 +_ACEOF 1.14758 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 1.14759 + $EGREP "memchr" >/dev/null 2>&1; then : 1.14760 + 1.14761 +else 1.14762 + ac_cv_header_stdc=no 1.14763 +fi 1.14764 +rm -f conftest* 1.14765 + 1.14766 +fi 1.14767 + 1.14768 +if test $ac_cv_header_stdc = yes; then 1.14769 + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 1.14770 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.14771 +/* end confdefs.h. */ 1.14772 +#include <stdlib.h> 1.14773 + 1.14774 +_ACEOF 1.14775 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 1.14776 + $EGREP "free" >/dev/null 2>&1; then : 1.14777 + 1.14778 +else 1.14779 + ac_cv_header_stdc=no 1.14780 +fi 1.14781 +rm -f conftest* 1.14782 + 1.14783 +fi 1.14784 + 1.14785 +if test $ac_cv_header_stdc = yes; then 1.14786 + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 1.14787 + if test "$cross_compiling" = yes; then : 1.14788 + : 1.14789 +else 1.14790 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.14791 +/* end confdefs.h. */ 1.14792 +#include <ctype.h> 1.14793 +#include <stdlib.h> 1.14794 +#if ((' ' & 0x0FF) == 0x020) 1.14795 +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 1.14796 +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 1.14797 +#else 1.14798 +# define ISLOWER(c) \ 1.14799 + (('a' <= (c) && (c) <= 'i') \ 1.14800 + || ('j' <= (c) && (c) <= 'r') \ 1.14801 + || ('s' <= (c) && (c) <= 'z')) 1.14802 +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 1.14803 +#endif 1.14804 + 1.14805 +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 1.14806 +int 1.14807 +main () 1.14808 +{ 1.14809 + int i; 1.14810 + for (i = 0; i < 256; i++) 1.14811 + if (XOR (islower (i), ISLOWER (i)) 1.14812 + || toupper (i) != TOUPPER (i)) 1.14813 + return 2; 1.14814 + return 0; 1.14815 +} 1.14816 +_ACEOF 1.14817 +if ac_fn_cxx_try_run "$LINENO"; then : 1.14818 + 1.14819 +else 1.14820 + ac_cv_header_stdc=no 1.14821 +fi 1.14822 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 1.14823 + conftest.$ac_objext conftest.beam conftest.$ac_ext 1.14824 +fi 1.14825 + 1.14826 +fi 1.14827 +fi 1.14828 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 1.14829 +$as_echo "$ac_cv_header_stdc" >&6; } 1.14830 +if test $ac_cv_header_stdc = yes; then 1.14831 + 1.14832 +$as_echo "#define STDC_HEADERS 1" >>confdefs.h 1.14833 + 1.14834 +fi 1.14835 + 1.14836 + 1.14837 +# These are tested for by AC_HEADER_STDC, but I check again to set the var 1.14838 +ac_fn_cxx_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default" 1.14839 +if test "x$ac_cv_header_stdint_h" = x""yes; then : 1.14840 + ac_cv_have_stdint_h=1 1.14841 +else 1.14842 + ac_cv_have_stdint_h=0 1.14843 +fi 1.14844 + 1.14845 + 1.14846 +ac_fn_cxx_check_header_mongrel "$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default" 1.14847 +if test "x$ac_cv_header_sys_types_h" = x""yes; then : 1.14848 + ac_cv_have_systypes_h=1 1.14849 +else 1.14850 + ac_cv_have_systypes_h=0 1.14851 +fi 1.14852 + 1.14853 + 1.14854 +ac_fn_cxx_check_header_mongrel "$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default" 1.14855 +if test "x$ac_cv_header_inttypes_h" = x""yes; then : 1.14856 + ac_cv_have_inttypes_h=1 1.14857 +else 1.14858 + ac_cv_have_inttypes_h=0 1.14859 +fi 1.14860 + 1.14861 + 1.14862 +for ac_header in unistd.h 1.14863 +do : 1.14864 + ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default" 1.14865 +if test "x$ac_cv_header_unistd_h" = x""yes; then : 1.14866 + cat >>confdefs.h <<_ACEOF 1.14867 +#define HAVE_UNISTD_H 1 1.14868 +_ACEOF 1.14869 + ac_cv_have_unistd_h=1 1.14870 +else 1.14871 + ac_cv_have_unistd_h=0 1.14872 +fi 1.14873 + 1.14874 +done 1.14875 + 1.14876 +for ac_header in syscall.h 1.14877 +do : 1.14878 + ac_fn_cxx_check_header_mongrel "$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default" 1.14879 +if test "x$ac_cv_header_syscall_h" = x""yes; then : 1.14880 + cat >>confdefs.h <<_ACEOF 1.14881 +#define HAVE_SYSCALL_H 1 1.14882 +_ACEOF 1.14883 + 1.14884 +fi 1.14885 + 1.14886 +done 1.14887 + 1.14888 +for ac_header in sys/syscall.h 1.14889 +do : 1.14890 + ac_fn_cxx_check_header_mongrel "$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default" 1.14891 +if test "x$ac_cv_header_sys_syscall_h" = x""yes; then : 1.14892 + cat >>confdefs.h <<_ACEOF 1.14893 +#define HAVE_SYS_SYSCALL_H 1 1.14894 +_ACEOF 1.14895 + 1.14896 +fi 1.14897 + 1.14898 +done 1.14899 + 1.14900 +# For backtrace with glibc. 1.14901 +for ac_header in execinfo.h 1.14902 +do : 1.14903 + ac_fn_cxx_check_header_mongrel "$LINENO" "execinfo.h" "ac_cv_header_execinfo_h" "$ac_includes_default" 1.14904 +if test "x$ac_cv_header_execinfo_h" = x""yes; then : 1.14905 + cat >>confdefs.h <<_ACEOF 1.14906 +#define HAVE_EXECINFO_H 1 1.14907 +_ACEOF 1.14908 + 1.14909 +fi 1.14910 + 1.14911 +done 1.14912 + 1.14913 +# For backtrace with libunwind. 1.14914 +for ac_header in libunwind.h 1.14915 +do : 1.14916 + ac_fn_cxx_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default" 1.14917 +if test "x$ac_cv_header_libunwind_h" = x""yes; then : 1.14918 + cat >>confdefs.h <<_ACEOF 1.14919 +#define HAVE_LIBUNWIND_H 1 1.14920 +_ACEOF 1.14921 + ac_cv_have_libunwind_h=1 1.14922 +else 1.14923 + ac_cv_have_libunwind_h=0 1.14924 +fi 1.14925 + 1.14926 +done 1.14927 + 1.14928 +for ac_header in ucontext.h 1.14929 +do : 1.14930 + ac_fn_cxx_check_header_mongrel "$LINENO" "ucontext.h" "ac_cv_header_ucontext_h" "$ac_includes_default" 1.14931 +if test "x$ac_cv_header_ucontext_h" = x""yes; then : 1.14932 + cat >>confdefs.h <<_ACEOF 1.14933 +#define HAVE_UCONTEXT_H 1 1.14934 +_ACEOF 1.14935 + 1.14936 +fi 1.14937 + 1.14938 +done 1.14939 + 1.14940 +for ac_header in sys/utsname.h 1.14941 +do : 1.14942 + ac_fn_cxx_check_header_mongrel "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default" 1.14943 +if test "x$ac_cv_header_sys_utsname_h" = x""yes; then : 1.14944 + cat >>confdefs.h <<_ACEOF 1.14945 +#define HAVE_SYS_UTSNAME_H 1 1.14946 +_ACEOF 1.14947 + 1.14948 +fi 1.14949 + 1.14950 +done 1.14951 + 1.14952 +for ac_header in pwd.h 1.14953 +do : 1.14954 + ac_fn_cxx_check_header_mongrel "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default" 1.14955 +if test "x$ac_cv_header_pwd_h" = x""yes; then : 1.14956 + cat >>confdefs.h <<_ACEOF 1.14957 +#define HAVE_PWD_H 1 1.14958 +_ACEOF 1.14959 + 1.14960 +fi 1.14961 + 1.14962 +done 1.14963 + 1.14964 +for ac_header in syslog.h 1.14965 +do : 1.14966 + ac_fn_cxx_check_header_mongrel "$LINENO" "syslog.h" "ac_cv_header_syslog_h" "$ac_includes_default" 1.14967 +if test "x$ac_cv_header_syslog_h" = x""yes; then : 1.14968 + cat >>confdefs.h <<_ACEOF 1.14969 +#define HAVE_SYSLOG_H 1 1.14970 +_ACEOF 1.14971 + 1.14972 +fi 1.14973 + 1.14974 +done 1.14975 + 1.14976 +for ac_header in sys/time.h 1.14977 +do : 1.14978 + ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default" 1.14979 +if test "x$ac_cv_header_sys_time_h" = x""yes; then : 1.14980 + cat >>confdefs.h <<_ACEOF 1.14981 +#define HAVE_SYS_TIME_H 1 1.14982 +_ACEOF 1.14983 + 1.14984 +fi 1.14985 + 1.14986 +done 1.14987 + 1.14988 +for ac_header in glob.h 1.14989 +do : 1.14990 + ac_fn_cxx_check_header_mongrel "$LINENO" "glob.h" "ac_cv_header_glob_h" "$ac_includes_default" 1.14991 +if test "x$ac_cv_header_glob_h" = x""yes; then : 1.14992 + cat >>confdefs.h <<_ACEOF 1.14993 +#define HAVE_GLOB_H 1 1.14994 +_ACEOF 1.14995 + 1.14996 +fi 1.14997 + 1.14998 +done 1.14999 + 1.15000 + 1.15001 +# The cast to long int works around a bug in the HP C Compiler 1.15002 +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 1.15003 +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 1.15004 +# This bug is HP SR number 8606223364. 1.15005 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5 1.15006 +$as_echo_n "checking size of void *... " >&6; } 1.15007 +if test "${ac_cv_sizeof_void_p+set}" = set; then : 1.15008 + $as_echo_n "(cached) " >&6 1.15009 +else 1.15010 + if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then : 1.15011 + 1.15012 +else 1.15013 + if test "$ac_cv_type_void_p" = yes; then 1.15014 + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1.15015 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1.15016 +{ as_fn_set_status 77 1.15017 +as_fn_error "cannot compute sizeof (void *) 1.15018 +See \`config.log' for more details." "$LINENO" 5; }; } 1.15019 + else 1.15020 + ac_cv_sizeof_void_p=0 1.15021 + fi 1.15022 +fi 1.15023 + 1.15024 +fi 1.15025 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5 1.15026 +$as_echo "$ac_cv_sizeof_void_p" >&6; } 1.15027 + 1.15028 + 1.15029 + 1.15030 +cat >>confdefs.h <<_ACEOF 1.15031 +#define SIZEOF_VOID_P $ac_cv_sizeof_void_p 1.15032 +_ACEOF 1.15033 + 1.15034 + 1.15035 + 1.15036 +# These are the types I need. We look for them in either stdint.h, 1.15037 +# sys/types.h, or inttypes.h, all of which are part of the default-includes. 1.15038 +ac_fn_cxx_check_type "$LINENO" "uint16_t" "ac_cv_type_uint16_t" "$ac_includes_default" 1.15039 +if test "x$ac_cv_type_uint16_t" = x""yes; then : 1.15040 + ac_cv_have_uint16_t=1 1.15041 +else 1.15042 + ac_cv_have_uint16_t=0 1.15043 +fi 1.15044 + 1.15045 +ac_fn_cxx_check_type "$LINENO" "u_int16_t" "ac_cv_type_u_int16_t" "$ac_includes_default" 1.15046 +if test "x$ac_cv_type_u_int16_t" = x""yes; then : 1.15047 + ac_cv_have_u_int16_t=1 1.15048 +else 1.15049 + ac_cv_have_u_int16_t=0 1.15050 +fi 1.15051 + 1.15052 +ac_fn_cxx_check_type "$LINENO" "__uint16" "ac_cv_type___uint16" "$ac_includes_default" 1.15053 +if test "x$ac_cv_type___uint16" = x""yes; then : 1.15054 + ac_cv_have___uint16=1 1.15055 +else 1.15056 + ac_cv_have___uint16=0 1.15057 +fi 1.15058 + 1.15059 + 1.15060 +ac_fn_cxx_check_func "$LINENO" "sigaltstack" "ac_cv_func_sigaltstack" 1.15061 +if test "x$ac_cv_func_sigaltstack" = x""yes; then : 1.15062 + 1.15063 +$as_echo "#define HAVE_SIGALTSTACK 1" >>confdefs.h 1.15064 + 1.15065 +fi 1.15066 + 1.15067 +ac_fn_cxx_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr" 1.15068 +if test "x$ac_cv_func_dladdr" = x""yes; then : 1.15069 + 1.15070 +$as_echo "#define HAVE_DLADDR 1" >>confdefs.h 1.15071 + 1.15072 +fi 1.15073 + 1.15074 +ac_fn_cxx_check_func "$LINENO" "fcntl" "ac_cv_func_fcntl" 1.15075 +if test "x$ac_cv_func_fcntl" = x""yes; then : 1.15076 + 1.15077 +$as_echo "#define HAVE_FCNTL 1" >>confdefs.h 1.15078 + 1.15079 +fi 1.15080 + 1.15081 + 1.15082 + 1.15083 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__" >&5 1.15084 +$as_echo_n "checking for __attribute__... " >&6; } 1.15085 + if test "${ac_cv___attribute__+set}" = set; then : 1.15086 + $as_echo_n "(cached) " >&6 1.15087 +else 1.15088 + 1.15089 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.15090 +/* end confdefs.h. */ 1.15091 +#include <stdlib.h> 1.15092 + static void foo(void) __attribute__ ((unused)); 1.15093 + void foo(void) { exit(1); } 1.15094 +int 1.15095 +main () 1.15096 +{ 1.15097 + 1.15098 + ; 1.15099 + return 0; 1.15100 +} 1.15101 +_ACEOF 1.15102 +if ac_fn_cxx_try_compile "$LINENO"; then : 1.15103 + ac_cv___attribute__=yes 1.15104 +else 1.15105 + ac_cv___attribute__=no 1.15106 + 1.15107 +fi 1.15108 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1.15109 +fi 1.15110 + 1.15111 + if test "$ac_cv___attribute__" = "yes"; then 1.15112 + 1.15113 +$as_echo "#define HAVE___ATTRIBUTE__ 1" >>confdefs.h 1.15114 + 1.15115 + fi 1.15116 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv___attribute__" >&5 1.15117 +$as_echo "$ac_cv___attribute__" >&6; } 1.15118 + 1.15119 +# We only care about these two attributes. 1.15120 +if test x"$ac_cv___attribute__" = x"yes"; then 1.15121 + ac_cv___attribute___noreturn="__attribute__ ((noreturn))" 1.15122 + ac_cv___attribute___printf_4_5="__attribute__((__format__ (__printf__, 4, 5)))" 1.15123 +else 1.15124 + ac_cv___attribute___noreturn= 1.15125 + ac_cv___attribute___printf_4_5= 1.15126 +fi 1.15127 + 1.15128 + 1.15129 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_expect" >&5 1.15130 +$as_echo_n "checking for __builtin_expect... " >&6; } 1.15131 + if test "${ac_cv___builtin_expect+set}" = set; then : 1.15132 + $as_echo_n "(cached) " >&6 1.15133 +else 1.15134 + 1.15135 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.15136 +/* end confdefs.h. */ 1.15137 +int foo(void) { if (__builtin_expect(0, 0)) return 1; return 0; } 1.15138 +int 1.15139 +main () 1.15140 +{ 1.15141 + 1.15142 + ; 1.15143 + return 0; 1.15144 +} 1.15145 +_ACEOF 1.15146 +if ac_fn_cxx_try_compile "$LINENO"; then : 1.15147 + ac_cv___builtin_expect=yes 1.15148 +else 1.15149 + ac_cv___builtin_expect=no 1.15150 + 1.15151 +fi 1.15152 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1.15153 +fi 1.15154 + 1.15155 + if test "$ac_cv___builtin_expect" = "yes"; then 1.15156 + 1.15157 +$as_echo "#define HAVE___BUILTIN_EXPECT 1" >>confdefs.h 1.15158 + 1.15159 + fi 1.15160 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv___builtin_expect" >&5 1.15161 +$as_echo "$ac_cv___builtin_expect" >&6; } 1.15162 + 1.15163 +if test x"$ac_cv___builtin_expect" = x"yes"; then 1.15164 + ac_cv_have___builtin_expect=1 1.15165 +else 1.15166 + ac_cv_have___builtin_expect=0 1.15167 +fi 1.15168 + 1.15169 + 1.15170 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_val_compare_and_swap" >&5 1.15171 +$as_echo_n "checking for __sync_val_compare_and_swap... " >&6; } 1.15172 + if test "${ac_cv___sync_val_compare_and_swap+set}" = set; then : 1.15173 + $as_echo_n "(cached) " >&6 1.15174 +else 1.15175 + 1.15176 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.15177 +/* end confdefs.h. */ 1.15178 +int main() { int a; if (__sync_val_compare_and_swap(&a, 0, 1)) return 1; return 0; } 1.15179 +int 1.15180 +main () 1.15181 +{ 1.15182 + 1.15183 + ; 1.15184 + return 0; 1.15185 +} 1.15186 +_ACEOF 1.15187 +if ac_fn_cxx_try_link "$LINENO"; then : 1.15188 + ac_cv___sync_val_compare_and_swap=yes 1.15189 +else 1.15190 + ac_cv___sync_val_compare_and_swap=no 1.15191 + 1.15192 +fi 1.15193 +rm -f core conftest.err conftest.$ac_objext \ 1.15194 + conftest$ac_exeext conftest.$ac_ext 1.15195 +fi 1.15196 + 1.15197 + if test "$ac_cv___sync_val_compare_and_swap" = "yes"; then 1.15198 + 1.15199 +$as_echo "#define HAVE___SYNC_VAL_COMPARE_AND_SWAP 1" >>confdefs.h 1.15200 + 1.15201 + fi 1.15202 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv___sync_val_compare_and_swap" >&5 1.15203 +$as_echo "$ac_cv___sync_val_compare_and_swap" >&6; } 1.15204 + 1.15205 + 1.15206 +# On x86_64, instead of libunwind, we can choose to compile with frame-pointers 1.15207 +# (This isn't needed on i386, where -fno-omit-frame-pointer is the default). 1.15208 +# Check whether --enable-frame_pointers was given. 1.15209 +if test "${enable_frame_pointers+set}" = set; then : 1.15210 + enableval=$enable_frame_pointers; 1.15211 +else 1.15212 + enable_frame_pointers=no 1.15213 +fi 1.15214 + 1.15215 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.15216 +/* end confdefs.h. */ 1.15217 + 1.15218 +int 1.15219 +main () 1.15220 +{ 1.15221 +return __x86_64__ == 1 ? 0 : 1 1.15222 + ; 1.15223 + return 0; 1.15224 +} 1.15225 +_ACEOF 1.15226 +if ac_fn_cxx_try_compile "$LINENO"; then : 1.15227 + is_x86_64=yes 1.15228 +else 1.15229 + is_x86_64=no 1.15230 +fi 1.15231 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1.15232 + if test "$enable_frame_pointers" = yes; then 1.15233 + ENABLE_FRAME_POINTERS_TRUE= 1.15234 + ENABLE_FRAME_POINTERS_FALSE='#' 1.15235 +else 1.15236 + ENABLE_FRAME_POINTERS_TRUE='#' 1.15237 + ENABLE_FRAME_POINTERS_FALSE= 1.15238 +fi 1.15239 + 1.15240 + if test "$is_x86_64" = yes; then 1.15241 + X86_64_TRUE= 1.15242 + X86_64_FALSE='#' 1.15243 +else 1.15244 + X86_64_TRUE='#' 1.15245 + X86_64_FALSE= 1.15246 +fi 1.15247 + 1.15248 + 1.15249 +# Some of the code in this directory depends on pthreads 1.15250 + 1.15251 + 1.15252 + 1.15253 +ac_ext=c 1.15254 +ac_cpp='$CPP $CPPFLAGS' 1.15255 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1.15256 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1.15257 +ac_compiler_gnu=$ac_cv_c_compiler_gnu 1.15258 + 1.15259 +acx_pthread_ok=no 1.15260 + 1.15261 +# We used to check for pthread.h first, but this fails if pthread.h 1.15262 +# requires special compiler flags (e.g. on True64 or Sequent). 1.15263 +# It gets checked for in the link test anyway. 1.15264 + 1.15265 +# First of all, check if the user has set any of the PTHREAD_LIBS, 1.15266 +# etcetera environment variables, and if threads linking works using 1.15267 +# them: 1.15268 +if test x"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x; then 1.15269 + save_CFLAGS="$CFLAGS" 1.15270 + CFLAGS="$CFLAGS $PTHREAD_CFLAGS" 1.15271 + save_LIBS="$LIBS" 1.15272 + LIBS="$PTHREAD_LIBS $LIBS" 1.15273 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5 1.15274 +$as_echo_n "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... " >&6; } 1.15275 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.15276 +/* end confdefs.h. */ 1.15277 + 1.15278 +/* Override any GCC internal prototype to avoid an error. 1.15279 + Use char because int might match the return type of a GCC 1.15280 + builtin and then its argument prototype would still apply. */ 1.15281 +#ifdef __cplusplus 1.15282 +extern "C" 1.15283 +#endif 1.15284 +char pthread_join (); 1.15285 +int 1.15286 +main () 1.15287 +{ 1.15288 +return pthread_join (); 1.15289 + ; 1.15290 + return 0; 1.15291 +} 1.15292 +_ACEOF 1.15293 +if ac_fn_c_try_link "$LINENO"; then : 1.15294 + acx_pthread_ok=yes 1.15295 +fi 1.15296 +rm -f core conftest.err conftest.$ac_objext \ 1.15297 + conftest$ac_exeext conftest.$ac_ext 1.15298 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5 1.15299 +$as_echo "$acx_pthread_ok" >&6; } 1.15300 + if test x"$acx_pthread_ok" = xno; then 1.15301 + PTHREAD_LIBS="" 1.15302 + PTHREAD_CFLAGS="" 1.15303 + fi 1.15304 + LIBS="$save_LIBS" 1.15305 + CFLAGS="$save_CFLAGS" 1.15306 +fi 1.15307 + 1.15308 +# We must check for the threads library under a number of different 1.15309 +# names; the ordering is very important because some systems 1.15310 +# (e.g. DEC) have both -lpthread and -lpthreads, where one of the 1.15311 +# libraries is broken (non-POSIX). 1.15312 + 1.15313 +# Create a list of thread flags to try. Items starting with a "-" are 1.15314 +# C compiler flags, and other items are library names, except for "none" 1.15315 +# which indicates that we try without any flags at all, and "pthread-config" 1.15316 +# which is a program returning the flags for the Pth emulation library. 1.15317 + 1.15318 +acx_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config" 1.15319 + 1.15320 +# The ordering *is* (sometimes) important. Some notes on the 1.15321 +# individual items follow: 1.15322 + 1.15323 +# pthreads: AIX (must check this before -lpthread) 1.15324 +# none: in case threads are in libc; should be tried before -Kthread and 1.15325 +# other compiler flags to prevent continual compiler warnings 1.15326 +# -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h) 1.15327 +# -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able) 1.15328 +# lthread: LinuxThreads port on FreeBSD (also preferred to -pthread) 1.15329 +# -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads) 1.15330 +# -pthreads: Solaris/gcc 1.15331 +# -mthreads: Mingw32/gcc, Lynx/gcc 1.15332 +# -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it 1.15333 +# doesn't hurt to check since this sometimes defines pthreads too; 1.15334 +# also defines -D_REENTRANT) 1.15335 +# ... -mt is also the pthreads flag for HP/aCC 1.15336 +# pthread: Linux, etcetera 1.15337 +# --thread-safe: KAI C++ 1.15338 +# pthread-config: use pthread-config program (for GNU Pth library) 1.15339 + 1.15340 +case "${host_cpu}-${host_os}" in 1.15341 + *solaris*) 1.15342 + 1.15343 + # On Solaris (at least, for some versions), libc contains stubbed 1.15344 + # (non-functional) versions of the pthreads routines, so link-based 1.15345 + # tests will erroneously succeed. (We need to link with -pthreads/-mt/ 1.15346 + # -lpthread.) (The stubs are missing pthread_cleanup_push, or rather 1.15347 + # a function called by this macro, so we could check for that, but 1.15348 + # who knows whether they'll stub that too in a future libc.) So, 1.15349 + # we'll just look for -pthreads and -lpthread first: 1.15350 + 1.15351 + acx_pthread_flags="-pthreads pthread -mt -pthread $acx_pthread_flags" 1.15352 + ;; 1.15353 +esac 1.15354 + 1.15355 +if test x"$acx_pthread_ok" = xno; then 1.15356 +for flag in $acx_pthread_flags; do 1.15357 + 1.15358 + case $flag in 1.15359 + none) 1.15360 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5 1.15361 +$as_echo_n "checking whether pthreads work without any flags... " >&6; } 1.15362 + ;; 1.15363 + 1.15364 + -*) 1.15365 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5 1.15366 +$as_echo_n "checking whether pthreads work with $flag... " >&6; } 1.15367 + PTHREAD_CFLAGS="$flag" 1.15368 + ;; 1.15369 + 1.15370 + pthread-config) 1.15371 + # Extract the first word of "pthread-config", so it can be a program name with args. 1.15372 +set dummy pthread-config; ac_word=$2 1.15373 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 1.15374 +$as_echo_n "checking for $ac_word... " >&6; } 1.15375 +if test "${ac_cv_prog_acx_pthread_config+set}" = set; then : 1.15376 + $as_echo_n "(cached) " >&6 1.15377 +else 1.15378 + if test -n "$acx_pthread_config"; then 1.15379 + ac_cv_prog_acx_pthread_config="$acx_pthread_config" # Let the user override the test. 1.15380 +else 1.15381 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1.15382 +for as_dir in $PATH 1.15383 +do 1.15384 + IFS=$as_save_IFS 1.15385 + test -z "$as_dir" && as_dir=. 1.15386 + for ac_exec_ext in '' $ac_executable_extensions; do 1.15387 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1.15388 + ac_cv_prog_acx_pthread_config="yes" 1.15389 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1.15390 + break 2 1.15391 + fi 1.15392 +done 1.15393 + done 1.15394 +IFS=$as_save_IFS 1.15395 + 1.15396 + test -z "$ac_cv_prog_acx_pthread_config" && ac_cv_prog_acx_pthread_config="no" 1.15397 +fi 1.15398 +fi 1.15399 +acx_pthread_config=$ac_cv_prog_acx_pthread_config 1.15400 +if test -n "$acx_pthread_config"; then 1.15401 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_config" >&5 1.15402 +$as_echo "$acx_pthread_config" >&6; } 1.15403 +else 1.15404 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1.15405 +$as_echo "no" >&6; } 1.15406 +fi 1.15407 + 1.15408 + 1.15409 + if test x"$acx_pthread_config" = xno; then continue; fi 1.15410 + PTHREAD_CFLAGS="`pthread-config --cflags`" 1.15411 + PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`" 1.15412 + ;; 1.15413 + 1.15414 + *) 1.15415 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5 1.15416 +$as_echo_n "checking for the pthreads library -l$flag... " >&6; } 1.15417 + PTHREAD_LIBS="-l$flag" 1.15418 + ;; 1.15419 + esac 1.15420 + 1.15421 + save_LIBS="$LIBS" 1.15422 + save_CFLAGS="$CFLAGS" 1.15423 + LIBS="$PTHREAD_LIBS $LIBS" 1.15424 + CFLAGS="$CFLAGS $PTHREAD_CFLAGS" 1.15425 + 1.15426 + # Check for various functions. We must include pthread.h, 1.15427 + # since some functions may be macros. (On the Sequent, we 1.15428 + # need a special flag -Kthread to make this header compile.) 1.15429 + # We check for pthread_join because it is in -lpthread on IRIX 1.15430 + # while pthread_create is in libc. We check for pthread_attr_init 1.15431 + # due to DEC craziness with -lpthreads. We check for 1.15432 + # pthread_cleanup_push because it is one of the few pthread 1.15433 + # functions on Solaris that doesn't have a non-functional libc stub. 1.15434 + # We try pthread_create on general principles. 1.15435 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.15436 +/* end confdefs.h. */ 1.15437 +#include <pthread.h> 1.15438 +int 1.15439 +main () 1.15440 +{ 1.15441 +pthread_t th; pthread_join(th, 0); 1.15442 + pthread_attr_init(0); pthread_cleanup_push(0, 0); 1.15443 + pthread_create(0,0,0,0); pthread_cleanup_pop(0); 1.15444 + ; 1.15445 + return 0; 1.15446 +} 1.15447 +_ACEOF 1.15448 +if ac_fn_c_try_link "$LINENO"; then : 1.15449 + acx_pthread_ok=yes 1.15450 +fi 1.15451 +rm -f core conftest.err conftest.$ac_objext \ 1.15452 + conftest$ac_exeext conftest.$ac_ext 1.15453 + 1.15454 + LIBS="$save_LIBS" 1.15455 + CFLAGS="$save_CFLAGS" 1.15456 + 1.15457 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5 1.15458 +$as_echo "$acx_pthread_ok" >&6; } 1.15459 + if test "x$acx_pthread_ok" = xyes; then 1.15460 + break; 1.15461 + fi 1.15462 + 1.15463 + PTHREAD_LIBS="" 1.15464 + PTHREAD_CFLAGS="" 1.15465 +done 1.15466 +fi 1.15467 + 1.15468 +# Various other checks: 1.15469 +if test "x$acx_pthread_ok" = xyes; then 1.15470 + save_LIBS="$LIBS" 1.15471 + LIBS="$PTHREAD_LIBS $LIBS" 1.15472 + save_CFLAGS="$CFLAGS" 1.15473 + CFLAGS="$CFLAGS $PTHREAD_CFLAGS" 1.15474 + 1.15475 + # Detect AIX lossage: JOINABLE attribute is called UNDETACHED. 1.15476 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5 1.15477 +$as_echo_n "checking for joinable pthread attribute... " >&6; } 1.15478 + attr_name=unknown 1.15479 + for attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do 1.15480 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.15481 +/* end confdefs.h. */ 1.15482 +#include <pthread.h> 1.15483 +int 1.15484 +main () 1.15485 +{ 1.15486 +int attr=$attr; return attr; 1.15487 + ; 1.15488 + return 0; 1.15489 +} 1.15490 +_ACEOF 1.15491 +if ac_fn_c_try_link "$LINENO"; then : 1.15492 + attr_name=$attr; break 1.15493 +fi 1.15494 +rm -f core conftest.err conftest.$ac_objext \ 1.15495 + conftest$ac_exeext conftest.$ac_ext 1.15496 + done 1.15497 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $attr_name" >&5 1.15498 +$as_echo "$attr_name" >&6; } 1.15499 + if test "$attr_name" != PTHREAD_CREATE_JOINABLE; then 1.15500 + 1.15501 +cat >>confdefs.h <<_ACEOF 1.15502 +#define PTHREAD_CREATE_JOINABLE $attr_name 1.15503 +_ACEOF 1.15504 + 1.15505 + fi 1.15506 + 1.15507 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5 1.15508 +$as_echo_n "checking if more special flags are required for pthreads... " >&6; } 1.15509 + flag=no 1.15510 + case "${host_cpu}-${host_os}" in 1.15511 + *-aix* | *-freebsd* | *-darwin*) flag="-D_THREAD_SAFE";; 1.15512 + *solaris* | *-osf* | *-hpux*) flag="-D_REENTRANT";; 1.15513 + esac 1.15514 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5 1.15515 +$as_echo "${flag}" >&6; } 1.15516 + if test "x$flag" != xno; then 1.15517 + PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS" 1.15518 + fi 1.15519 + 1.15520 + LIBS="$save_LIBS" 1.15521 + CFLAGS="$save_CFLAGS" 1.15522 + # More AIX lossage: must compile with xlc_r or cc_r 1.15523 + if test x"$GCC" != xyes; then 1.15524 + for ac_prog in xlc_r cc_r 1.15525 +do 1.15526 + # Extract the first word of "$ac_prog", so it can be a program name with args. 1.15527 +set dummy $ac_prog; ac_word=$2 1.15528 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 1.15529 +$as_echo_n "checking for $ac_word... " >&6; } 1.15530 +if test "${ac_cv_prog_PTHREAD_CC+set}" = set; then : 1.15531 + $as_echo_n "(cached) " >&6 1.15532 +else 1.15533 + if test -n "$PTHREAD_CC"; then 1.15534 + ac_cv_prog_PTHREAD_CC="$PTHREAD_CC" # Let the user override the test. 1.15535 +else 1.15536 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1.15537 +for as_dir in $PATH 1.15538 +do 1.15539 + IFS=$as_save_IFS 1.15540 + test -z "$as_dir" && as_dir=. 1.15541 + for ac_exec_ext in '' $ac_executable_extensions; do 1.15542 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1.15543 + ac_cv_prog_PTHREAD_CC="$ac_prog" 1.15544 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1.15545 + break 2 1.15546 + fi 1.15547 +done 1.15548 + done 1.15549 +IFS=$as_save_IFS 1.15550 + 1.15551 +fi 1.15552 +fi 1.15553 +PTHREAD_CC=$ac_cv_prog_PTHREAD_CC 1.15554 +if test -n "$PTHREAD_CC"; then 1.15555 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5 1.15556 +$as_echo "$PTHREAD_CC" >&6; } 1.15557 +else 1.15558 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1.15559 +$as_echo "no" >&6; } 1.15560 +fi 1.15561 + 1.15562 + 1.15563 + test -n "$PTHREAD_CC" && break 1.15564 +done 1.15565 +test -n "$PTHREAD_CC" || PTHREAD_CC="${CC}" 1.15566 + 1.15567 + else 1.15568 + PTHREAD_CC=$CC 1.15569 + fi 1.15570 + 1.15571 + # The next part tries to detect GCC inconsistency with -shared on some 1.15572 + # architectures and systems. The problem is that in certain 1.15573 + # configurations, when -shared is specified, GCC "forgets" to 1.15574 + # internally use various flags which are still necessary. 1.15575 + 1.15576 + # 1.15577 + # Prepare the flags 1.15578 + # 1.15579 + save_CFLAGS="$CFLAGS" 1.15580 + save_LIBS="$LIBS" 1.15581 + save_CC="$CC" 1.15582 + 1.15583 + # Try with the flags determined by the earlier checks. 1.15584 + # 1.15585 + # -Wl,-z,defs forces link-time symbol resolution, so that the 1.15586 + # linking checks with -shared actually have any value 1.15587 + # 1.15588 + # FIXME: -fPIC is required for -shared on many architectures, 1.15589 + # so we specify it here, but the right way would probably be to 1.15590 + # properly detect whether it is actually required. 1.15591 + CFLAGS="-shared -fPIC -Wl,-z,defs $CFLAGS $PTHREAD_CFLAGS" 1.15592 + LIBS="$PTHREAD_LIBS $LIBS" 1.15593 + CC="$PTHREAD_CC" 1.15594 + 1.15595 + # In order not to create several levels of indentation, we test 1.15596 + # the value of "$done" until we find the cure or run out of ideas. 1.15597 + done="no" 1.15598 + 1.15599 + # First, make sure the CFLAGS we added are actually accepted by our 1.15600 + # compiler. If not (and OS X's ld, for instance, does not accept -z), 1.15601 + # then we can't do this test. 1.15602 + if test x"$done" = xno; then 1.15603 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to check for GCC pthread/shared inconsistencies" >&5 1.15604 +$as_echo_n "checking whether to check for GCC pthread/shared inconsistencies... " >&6; } 1.15605 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.15606 +/* end confdefs.h. */ 1.15607 + 1.15608 +int 1.15609 +main () 1.15610 +{ 1.15611 + 1.15612 + ; 1.15613 + return 0; 1.15614 +} 1.15615 +_ACEOF 1.15616 +if ac_fn_c_try_link "$LINENO"; then : 1.15617 + 1.15618 +else 1.15619 + done=yes 1.15620 +fi 1.15621 +rm -f core conftest.err conftest.$ac_objext \ 1.15622 + conftest$ac_exeext conftest.$ac_ext 1.15623 + 1.15624 + if test "x$done" = xyes ; then 1.15625 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1.15626 +$as_echo "no" >&6; } 1.15627 + else 1.15628 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 1.15629 +$as_echo "yes" >&6; } 1.15630 + fi 1.15631 + fi 1.15632 + 1.15633 + if test x"$done" = xno; then 1.15634 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -pthread is sufficient with -shared" >&5 1.15635 +$as_echo_n "checking whether -pthread is sufficient with -shared... " >&6; } 1.15636 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.15637 +/* end confdefs.h. */ 1.15638 +#include <pthread.h> 1.15639 +int 1.15640 +main () 1.15641 +{ 1.15642 +pthread_t th; pthread_join(th, 0); 1.15643 + pthread_attr_init(0); pthread_cleanup_push(0, 0); 1.15644 + pthread_create(0,0,0,0); pthread_cleanup_pop(0); 1.15645 + ; 1.15646 + return 0; 1.15647 +} 1.15648 +_ACEOF 1.15649 +if ac_fn_c_try_link "$LINENO"; then : 1.15650 + done=yes 1.15651 +fi 1.15652 +rm -f core conftest.err conftest.$ac_objext \ 1.15653 + conftest$ac_exeext conftest.$ac_ext 1.15654 + 1.15655 + if test "x$done" = xyes; then 1.15656 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 1.15657 +$as_echo "yes" >&6; } 1.15658 + else 1.15659 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1.15660 +$as_echo "no" >&6; } 1.15661 + fi 1.15662 + fi 1.15663 + 1.15664 + # 1.15665 + # Linux gcc on some architectures such as mips/mipsel forgets 1.15666 + # about -lpthread 1.15667 + # 1.15668 + if test x"$done" = xno; then 1.15669 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lpthread fixes that" >&5 1.15670 +$as_echo_n "checking whether -lpthread fixes that... " >&6; } 1.15671 + LIBS="-lpthread $PTHREAD_LIBS $save_LIBS" 1.15672 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.15673 +/* end confdefs.h. */ 1.15674 +#include <pthread.h> 1.15675 +int 1.15676 +main () 1.15677 +{ 1.15678 +pthread_t th; pthread_join(th, 0); 1.15679 + pthread_attr_init(0); pthread_cleanup_push(0, 0); 1.15680 + pthread_create(0,0,0,0); pthread_cleanup_pop(0); 1.15681 + ; 1.15682 + return 0; 1.15683 +} 1.15684 +_ACEOF 1.15685 +if ac_fn_c_try_link "$LINENO"; then : 1.15686 + done=yes 1.15687 +fi 1.15688 +rm -f core conftest.err conftest.$ac_objext \ 1.15689 + conftest$ac_exeext conftest.$ac_ext 1.15690 + 1.15691 + if test "x$done" = xyes; then 1.15692 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 1.15693 +$as_echo "yes" >&6; } 1.15694 + PTHREAD_LIBS="-lpthread $PTHREAD_LIBS" 1.15695 + else 1.15696 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1.15697 +$as_echo "no" >&6; } 1.15698 + fi 1.15699 + fi 1.15700 + # 1.15701 + # FreeBSD 4.10 gcc forgets to use -lc_r instead of -lc 1.15702 + # 1.15703 + if test x"$done" = xno; then 1.15704 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc_r fixes that" >&5 1.15705 +$as_echo_n "checking whether -lc_r fixes that... " >&6; } 1.15706 + LIBS="-lc_r $PTHREAD_LIBS $save_LIBS" 1.15707 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.15708 +/* end confdefs.h. */ 1.15709 +#include <pthread.h> 1.15710 +int 1.15711 +main () 1.15712 +{ 1.15713 +pthread_t th; pthread_join(th, 0); 1.15714 + pthread_attr_init(0); pthread_cleanup_push(0, 0); 1.15715 + pthread_create(0,0,0,0); pthread_cleanup_pop(0); 1.15716 + ; 1.15717 + return 0; 1.15718 +} 1.15719 +_ACEOF 1.15720 +if ac_fn_c_try_link "$LINENO"; then : 1.15721 + done=yes 1.15722 +fi 1.15723 +rm -f core conftest.err conftest.$ac_objext \ 1.15724 + conftest$ac_exeext conftest.$ac_ext 1.15725 + 1.15726 + if test "x$done" = xyes; then 1.15727 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 1.15728 +$as_echo "yes" >&6; } 1.15729 + PTHREAD_LIBS="-lc_r $PTHREAD_LIBS" 1.15730 + else 1.15731 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1.15732 +$as_echo "no" >&6; } 1.15733 + fi 1.15734 + fi 1.15735 + if test x"$done" = xno; then 1.15736 + # OK, we have run out of ideas 1.15737 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Impossible to determine how to use pthreads with shared libraries" >&5 1.15738 +$as_echo "$as_me: WARNING: Impossible to determine how to use pthreads with shared libraries" >&2;} 1.15739 + 1.15740 + # so it's not safe to assume that we may use pthreads 1.15741 + acx_pthread_ok=no 1.15742 + fi 1.15743 + 1.15744 + CFLAGS="$save_CFLAGS" 1.15745 + LIBS="$save_LIBS" 1.15746 + CC="$save_CC" 1.15747 +else 1.15748 + PTHREAD_CC="$CC" 1.15749 +fi 1.15750 + 1.15751 + 1.15752 + 1.15753 + 1.15754 + 1.15755 +# Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND: 1.15756 +if test x"$acx_pthread_ok" = xyes; then 1.15757 + 1.15758 +$as_echo "#define HAVE_PTHREAD 1" >>confdefs.h 1.15759 + 1.15760 + : 1.15761 +else 1.15762 + acx_pthread_ok=no 1.15763 + 1.15764 +fi 1.15765 +ac_ext=cpp 1.15766 +ac_cpp='$CXXCPP $CPPFLAGS' 1.15767 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1.15768 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1.15769 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 1.15770 + 1.15771 + 1.15772 +if test x"$acx_pthread_ok" = x"yes"; then 1.15773 + # To make libglog depend on libpthread on Linux, we need to add 1.15774 + # -lpthread in addition to -pthread. 1.15775 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_self in -lpthread" >&5 1.15776 +$as_echo_n "checking for pthread_self in -lpthread... " >&6; } 1.15777 +if test "${ac_cv_lib_pthread_pthread_self+set}" = set; then : 1.15778 + $as_echo_n "(cached) " >&6 1.15779 +else 1.15780 + ac_check_lib_save_LIBS=$LIBS 1.15781 +LIBS="-lpthread $LIBS" 1.15782 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.15783 +/* end confdefs.h. */ 1.15784 + 1.15785 +/* Override any GCC internal prototype to avoid an error. 1.15786 + Use char because int might match the return type of a GCC 1.15787 + builtin and then its argument prototype would still apply. */ 1.15788 +#ifdef __cplusplus 1.15789 +extern "C" 1.15790 +#endif 1.15791 +char pthread_self (); 1.15792 +int 1.15793 +main () 1.15794 +{ 1.15795 +return pthread_self (); 1.15796 + ; 1.15797 + return 0; 1.15798 +} 1.15799 +_ACEOF 1.15800 +if ac_fn_cxx_try_link "$LINENO"; then : 1.15801 + ac_cv_lib_pthread_pthread_self=yes 1.15802 +else 1.15803 + ac_cv_lib_pthread_pthread_self=no 1.15804 +fi 1.15805 +rm -f core conftest.err conftest.$ac_objext \ 1.15806 + conftest$ac_exeext conftest.$ac_ext 1.15807 +LIBS=$ac_check_lib_save_LIBS 1.15808 +fi 1.15809 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_self" >&5 1.15810 +$as_echo "$ac_cv_lib_pthread_pthread_self" >&6; } 1.15811 +if test "x$ac_cv_lib_pthread_pthread_self" = x""yes; then : 1.15812 + cat >>confdefs.h <<_ACEOF 1.15813 +#define HAVE_LIBPTHREAD 1 1.15814 +_ACEOF 1.15815 + 1.15816 + LIBS="-lpthread $LIBS" 1.15817 + 1.15818 +fi 1.15819 + 1.15820 +fi 1.15821 + 1.15822 +# Check if there is google-gflags library installed. 1.15823 +SAVE_CFLAGS="$CFLAGS" 1.15824 +SAVE_LIBS="$LIBS" 1.15825 + 1.15826 +# Check whether --with-gflags was given. 1.15827 +if test "${with_gflags+set}" = set; then : 1.15828 + withval=$with_gflags; GFLAGS_CFLAGS="-I${with_gflags}/include" 1.15829 + GFLAGS_LIBS="-L${with_gflags}/lib -lgflags" 1.15830 + CFLAGS="$CFLAGS $GFLAGS_CFLAGS" 1.15831 + LIBS="$LIBS $GFLAGS_LIBS" 1.15832 + 1.15833 +fi 1.15834 + 1.15835 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lgflags" >&5 1.15836 +$as_echo_n "checking for main in -lgflags... " >&6; } 1.15837 +if test "${ac_cv_lib_gflags_main+set}" = set; then : 1.15838 + $as_echo_n "(cached) " >&6 1.15839 +else 1.15840 + ac_check_lib_save_LIBS=$LIBS 1.15841 +LIBS="-lgflags $LIBS" 1.15842 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.15843 +/* end confdefs.h. */ 1.15844 + 1.15845 + 1.15846 +int 1.15847 +main () 1.15848 +{ 1.15849 +return main (); 1.15850 + ; 1.15851 + return 0; 1.15852 +} 1.15853 +_ACEOF 1.15854 +if ac_fn_cxx_try_link "$LINENO"; then : 1.15855 + ac_cv_lib_gflags_main=yes 1.15856 +else 1.15857 + ac_cv_lib_gflags_main=no 1.15858 +fi 1.15859 +rm -f core conftest.err conftest.$ac_objext \ 1.15860 + conftest$ac_exeext conftest.$ac_ext 1.15861 +LIBS=$ac_check_lib_save_LIBS 1.15862 +fi 1.15863 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gflags_main" >&5 1.15864 +$as_echo "$ac_cv_lib_gflags_main" >&6; } 1.15865 +if test "x$ac_cv_lib_gflags_main" = x""yes; then : 1.15866 + ac_cv_have_libgflags=1 1.15867 +else 1.15868 + ac_cv_have_libgflags=0 1.15869 +fi 1.15870 + 1.15871 +if test x"$ac_cv_have_libgflags" = x"1"; then 1.15872 + 1.15873 +$as_echo "#define HAVE_LIB_GFLAGS 1" >>confdefs.h 1.15874 + 1.15875 + if test x"$GFLAGS_LIBS" = x""; then 1.15876 + GFLAGS_LIBS="-lgflags" 1.15877 + fi 1.15878 +else 1.15879 + GFLAGS_CFLAGS= 1.15880 + GFLAGS_LIBS= 1.15881 +fi 1.15882 +CFLAGS="$SAVE_CFLAGS" 1.15883 +LIBS="$SAVE_LIBS" 1.15884 + 1.15885 +# TODO(hamaji): Use official m4 macros provided by testing libraries 1.15886 +# once the m4 macro of Google Mocking becomes ready. 1.15887 +# Check if there is Google Test library installed. 1.15888 +# Extract the first word of "gtest-config", so it can be a program name with args. 1.15889 +set dummy gtest-config; ac_word=$2 1.15890 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 1.15891 +$as_echo_n "checking for $ac_word... " >&6; } 1.15892 +if test "${ac_cv_prog_GTEST_CONFIG+set}" = set; then : 1.15893 + $as_echo_n "(cached) " >&6 1.15894 +else 1.15895 + if test -n "$GTEST_CONFIG"; then 1.15896 + ac_cv_prog_GTEST_CONFIG="$GTEST_CONFIG" # Let the user override the test. 1.15897 +else 1.15898 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1.15899 +for as_dir in $PATH 1.15900 +do 1.15901 + IFS=$as_save_IFS 1.15902 + test -z "$as_dir" && as_dir=. 1.15903 + for ac_exec_ext in '' $ac_executable_extensions; do 1.15904 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1.15905 + ac_cv_prog_GTEST_CONFIG=""yes"" 1.15906 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1.15907 + break 2 1.15908 + fi 1.15909 +done 1.15910 + done 1.15911 +IFS=$as_save_IFS 1.15912 + 1.15913 +fi 1.15914 +fi 1.15915 +GTEST_CONFIG=$ac_cv_prog_GTEST_CONFIG 1.15916 +if test -n "$GTEST_CONFIG"; then 1.15917 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTEST_CONFIG" >&5 1.15918 +$as_echo "$GTEST_CONFIG" >&6; } 1.15919 +else 1.15920 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1.15921 +$as_echo "no" >&6; } 1.15922 +fi 1.15923 + 1.15924 + 1.15925 +if test x"$GTEST_CONFIG" = "xyes"; then 1.15926 + GTEST_CFLAGS=`gtest-config --cppflags --cxxflags` 1.15927 + GTEST_LIBS=`gtest-config --ldflags --libs` 1.15928 + 1.15929 +$as_echo "#define HAVE_LIB_GTEST 1" >>confdefs.h 1.15930 + 1.15931 + 1.15932 + # Check if there is Google Mocking library installed. 1.15933 + # Extract the first word of "gmock-config", so it can be a program name with args. 1.15934 +set dummy gmock-config; ac_word=$2 1.15935 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 1.15936 +$as_echo_n "checking for $ac_word... " >&6; } 1.15937 +if test "${ac_cv_prog_GMOCK_CONFIG+set}" = set; then : 1.15938 + $as_echo_n "(cached) " >&6 1.15939 +else 1.15940 + if test -n "$GMOCK_CONFIG"; then 1.15941 + ac_cv_prog_GMOCK_CONFIG="$GMOCK_CONFIG" # Let the user override the test. 1.15942 +else 1.15943 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1.15944 +for as_dir in $PATH 1.15945 +do 1.15946 + IFS=$as_save_IFS 1.15947 + test -z "$as_dir" && as_dir=. 1.15948 + for ac_exec_ext in '' $ac_executable_extensions; do 1.15949 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1.15950 + ac_cv_prog_GMOCK_CONFIG=""yes"" 1.15951 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1.15952 + break 2 1.15953 + fi 1.15954 +done 1.15955 + done 1.15956 +IFS=$as_save_IFS 1.15957 + 1.15958 +fi 1.15959 +fi 1.15960 +GMOCK_CONFIG=$ac_cv_prog_GMOCK_CONFIG 1.15961 +if test -n "$GMOCK_CONFIG"; then 1.15962 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMOCK_CONFIG" >&5 1.15963 +$as_echo "$GMOCK_CONFIG" >&6; } 1.15964 +else 1.15965 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1.15966 +$as_echo "no" >&6; } 1.15967 +fi 1.15968 + 1.15969 + 1.15970 + if test x"$GMOCK_CONFIG" = "xyes"; then 1.15971 + GMOCK_CFLAGS=`gmock-config --cppflags --cxxflags` 1.15972 + GMOCK_LIBS=`gmock-config --ldflags --libs` 1.15973 + 1.15974 +$as_echo "#define HAVE_LIB_GMOCK 1" >>confdefs.h 1.15975 + 1.15976 + else 1.15977 + # We don't run test cases which use Google Mocking framework. 1.15978 + GMOCK_CFLAGS= 1.15979 + GMOCK_LIBS= 1.15980 + fi 1.15981 +else 1.15982 + # We'll use src/googletest.h for our unittests. 1.15983 + GTEST_CFLAGS= 1.15984 + GTEST_LIBS= 1.15985 +fi 1.15986 + if test x"$GMOCK_CONFIG" = "xyes"; then 1.15987 + HAVE_GMOCK_TRUE= 1.15988 + HAVE_GMOCK_FALSE='#' 1.15989 +else 1.15990 + HAVE_GMOCK_TRUE='#' 1.15991 + HAVE_GMOCK_FALSE= 1.15992 +fi 1.15993 + 1.15994 + 1.15995 +# We want to link in libunwind if it exists 1.15996 +UNWIND_LIBS= 1.15997 +# Unfortunately, we need to check the header file in addition to the 1.15998 +# lib file to check if libunwind is available since libunwind-0.98 1.15999 +# doesn't install all necessary header files. 1.16000 +if test x"$ac_cv_have_libunwind_h" = x"1"; then 1.16001 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for backtrace in -lunwind" >&5 1.16002 +$as_echo_n "checking for backtrace in -lunwind... " >&6; } 1.16003 +if test "${ac_cv_lib_unwind_backtrace+set}" = set; then : 1.16004 + $as_echo_n "(cached) " >&6 1.16005 +else 1.16006 + ac_check_lib_save_LIBS=$LIBS 1.16007 +LIBS="-lunwind $LIBS" 1.16008 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.16009 +/* end confdefs.h. */ 1.16010 + 1.16011 +/* Override any GCC internal prototype to avoid an error. 1.16012 + Use char because int might match the return type of a GCC 1.16013 + builtin and then its argument prototype would still apply. */ 1.16014 +#ifdef __cplusplus 1.16015 +extern "C" 1.16016 +#endif 1.16017 +char backtrace (); 1.16018 +int 1.16019 +main () 1.16020 +{ 1.16021 +return backtrace (); 1.16022 + ; 1.16023 + return 0; 1.16024 +} 1.16025 +_ACEOF 1.16026 +if ac_fn_cxx_try_link "$LINENO"; then : 1.16027 + ac_cv_lib_unwind_backtrace=yes 1.16028 +else 1.16029 + ac_cv_lib_unwind_backtrace=no 1.16030 +fi 1.16031 +rm -f core conftest.err conftest.$ac_objext \ 1.16032 + conftest$ac_exeext conftest.$ac_ext 1.16033 +LIBS=$ac_check_lib_save_LIBS 1.16034 +fi 1.16035 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_unwind_backtrace" >&5 1.16036 +$as_echo "$ac_cv_lib_unwind_backtrace" >&6; } 1.16037 +if test "x$ac_cv_lib_unwind_backtrace" = x""yes; then : 1.16038 + UNWIND_LIBS=-lunwind 1.16039 +fi 1.16040 + 1.16041 +fi 1.16042 + 1.16043 +if test x"$UNWIND_LIBS" != x""; then 1.16044 + 1.16045 +$as_echo "#define HAVE_LIB_UNWIND 1" >>confdefs.h 1.16046 + 1.16047 +fi 1.16048 + 1.16049 +# We'd like to use read/write locks in several places in the code. 1.16050 +# See if our pthreads support extends to that. Note: for linux, it 1.16051 +# does as long as you define _XOPEN_SOURCE appropriately. 1.16052 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking support for pthread_rwlock_* functions" >&5 1.16053 +$as_echo_n "checking support for pthread_rwlock_* functions... " >&6; } 1.16054 +if test "${ac_cv_rwlock+set}" = set; then : 1.16055 + $as_echo_n "(cached) " >&6 1.16056 +else 1.16057 + 1.16058 + ac_ext=c 1.16059 +ac_cpp='$CPP $CPPFLAGS' 1.16060 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1.16061 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1.16062 +ac_compiler_gnu=$ac_cv_c_compiler_gnu 1.16063 + 1.16064 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.16065 +/* end confdefs.h. */ 1.16066 +#define _XOPEN_SOURCE 500 1.16067 + #include <pthread.h> 1.16068 +int 1.16069 +main () 1.16070 +{ 1.16071 +pthread_rwlock_t l; pthread_rwlock_init(&l, NULL); 1.16072 + pthread_rwlock_rdlock(&l); 1.16073 + return 0; 1.16074 + ; 1.16075 + return 0; 1.16076 +} 1.16077 +_ACEOF 1.16078 +if ac_fn_c_try_compile "$LINENO"; then : 1.16079 + ac_cv_rwlock=yes 1.16080 +else 1.16081 + ac_cv_rwlock=no 1.16082 +fi 1.16083 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1.16084 + ac_ext=cpp 1.16085 +ac_cpp='$CXXCPP $CPPFLAGS' 1.16086 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1.16087 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1.16088 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 1.16089 + 1.16090 + 1.16091 +fi 1.16092 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_rwlock" >&5 1.16093 +$as_echo "$ac_cv_rwlock" >&6; } 1.16094 +if test "$ac_cv_rwlock" = yes; then 1.16095 + 1.16096 +$as_echo "#define HAVE_RWLOCK 1" >>confdefs.h 1.16097 + 1.16098 +fi 1.16099 + 1.16100 + 1.16101 +# Find out what namespace 'normal' STL code lives in, and also what namespace 1.16102 +# the user wants our classes to be defined in 1.16103 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler implements namespaces" >&5 1.16104 +$as_echo_n "checking whether the compiler implements namespaces... " >&6; } 1.16105 +if test "${ac_cv_cxx_namespaces+set}" = set; then : 1.16106 + $as_echo_n "(cached) " >&6 1.16107 +else 1.16108 + 1.16109 + ac_ext=cpp 1.16110 +ac_cpp='$CXXCPP $CPPFLAGS' 1.16111 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1.16112 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1.16113 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 1.16114 + 1.16115 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.16116 +/* end confdefs.h. */ 1.16117 +namespace Outer { 1.16118 + namespace Inner { int i = 0; }} 1.16119 +int 1.16120 +main () 1.16121 +{ 1.16122 +using namespace Outer::Inner; return i; 1.16123 + ; 1.16124 + return 0; 1.16125 +} 1.16126 +_ACEOF 1.16127 +if ac_fn_cxx_try_compile "$LINENO"; then : 1.16128 + ac_cv_cxx_namespaces=yes 1.16129 +else 1.16130 + ac_cv_cxx_namespaces=no 1.16131 +fi 1.16132 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1.16133 + ac_ext=cpp 1.16134 +ac_cpp='$CXXCPP $CPPFLAGS' 1.16135 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1.16136 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1.16137 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 1.16138 + 1.16139 +fi 1.16140 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_namespaces" >&5 1.16141 +$as_echo "$ac_cv_cxx_namespaces" >&6; } 1.16142 + if test "$ac_cv_cxx_namespaces" = yes; then 1.16143 + 1.16144 +$as_echo "#define HAVE_NAMESPACES 1" >>confdefs.h 1.16145 + 1.16146 + fi 1.16147 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking what namespace STL code is in" >&5 1.16148 +$as_echo_n "checking what namespace STL code is in... " >&6; } 1.16149 +if test "${ac_cv_cxx_stl_namespace+set}" = set; then : 1.16150 + $as_echo_n "(cached) " >&6 1.16151 +else 1.16152 + 1.16153 + 1.16154 + ac_ext=cpp 1.16155 +ac_cpp='$CXXCPP $CPPFLAGS' 1.16156 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1.16157 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1.16158 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 1.16159 + 1.16160 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.16161 +/* end confdefs.h. */ 1.16162 +#include <vector> 1.16163 +int 1.16164 +main () 1.16165 +{ 1.16166 +vector<int> t; return 0; 1.16167 + ; 1.16168 + return 0; 1.16169 +} 1.16170 +_ACEOF 1.16171 +if ac_fn_cxx_try_compile "$LINENO"; then : 1.16172 + ac_cv_cxx_stl_namespace=none 1.16173 +fi 1.16174 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1.16175 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.16176 +/* end confdefs.h. */ 1.16177 +#include <vector> 1.16178 +int 1.16179 +main () 1.16180 +{ 1.16181 +std::vector<int> t; return 0; 1.16182 + ; 1.16183 + return 0; 1.16184 +} 1.16185 +_ACEOF 1.16186 +if ac_fn_cxx_try_compile "$LINENO"; then : 1.16187 + ac_cv_cxx_stl_namespace=std 1.16188 +fi 1.16189 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1.16190 + ac_ext=cpp 1.16191 +ac_cpp='$CXXCPP $CPPFLAGS' 1.16192 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1.16193 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1.16194 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 1.16195 + 1.16196 +fi 1.16197 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_stl_namespace" >&5 1.16198 +$as_echo "$ac_cv_cxx_stl_namespace" >&6; } 1.16199 + if test "$ac_cv_cxx_stl_namespace" = none; then 1.16200 + 1.16201 +$as_echo "#define STL_NAMESPACE /**/" >>confdefs.h 1.16202 + 1.16203 + fi 1.16204 + if test "$ac_cv_cxx_stl_namespace" = std; then 1.16205 + 1.16206 +$as_echo "#define STL_NAMESPACE std" >>confdefs.h 1.16207 + 1.16208 + fi 1.16209 + 1.16210 +google_namespace_default=google 1.16211 + # Check whether --enable-namespace was given. 1.16212 +if test "${enable_namespace+set}" = set; then : 1.16213 + enableval=$enable_namespace; case "$enableval" in 1.16214 + yes) google_namespace="$google_namespace_default" ;; 1.16215 + no) google_namespace="" ;; 1.16216 + *) google_namespace="$enableval" ;; 1.16217 + esac 1.16218 +else 1.16219 + google_namespace="$google_namespace_default" 1.16220 +fi 1.16221 + 1.16222 + if test -n "$google_namespace"; then 1.16223 + ac_google_namespace="$google_namespace" 1.16224 + ac_google_start_namespace="namespace $google_namespace {" 1.16225 + ac_google_end_namespace="}" 1.16226 + else 1.16227 + ac_google_namespace="" 1.16228 + ac_google_start_namespace="" 1.16229 + ac_google_end_namespace="" 1.16230 + fi 1.16231 + 1.16232 +cat >>confdefs.h <<_ACEOF 1.16233 +#define GOOGLE_NAMESPACE $ac_google_namespace 1.16234 +_ACEOF 1.16235 + 1.16236 + 1.16237 +cat >>confdefs.h <<_ACEOF 1.16238 +#define _START_GOOGLE_NAMESPACE_ $ac_google_start_namespace 1.16239 +_ACEOF 1.16240 + 1.16241 + 1.16242 +cat >>confdefs.h <<_ACEOF 1.16243 +#define _END_GOOGLE_NAMESPACE_ $ac_google_end_namespace 1.16244 +_ACEOF 1.16245 + 1.16246 + 1.16247 + 1.16248 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler supports using ::operator<<" >&5 1.16249 +$as_echo_n "checking whether compiler supports using ::operator<<... " >&6; } 1.16250 +if test "${ac_cv_cxx_using_operator+set}" = set; then : 1.16251 + $as_echo_n "(cached) " >&6 1.16252 +else 1.16253 + 1.16254 + ac_ext=cpp 1.16255 +ac_cpp='$CXXCPP $CPPFLAGS' 1.16256 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1.16257 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1.16258 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 1.16259 + 1.16260 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.16261 +/* end confdefs.h. */ 1.16262 +#include <iostream> 1.16263 + std::ostream& operator<<(std::ostream&, struct s); 1.16264 +int 1.16265 +main () 1.16266 +{ 1.16267 +using ::operator<<; return 0; 1.16268 + ; 1.16269 + return 0; 1.16270 +} 1.16271 +_ACEOF 1.16272 +if ac_fn_cxx_try_compile "$LINENO"; then : 1.16273 + ac_cv_cxx_using_operator=1 1.16274 +else 1.16275 + ac_cv_cxx_using_operator=0 1.16276 +fi 1.16277 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1.16278 + ac_ext=cpp 1.16279 +ac_cpp='$CXXCPP $CPPFLAGS' 1.16280 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1.16281 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1.16282 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 1.16283 + 1.16284 +fi 1.16285 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_using_operator" >&5 1.16286 +$as_echo "$ac_cv_cxx_using_operator" >&6; } 1.16287 + if test "$ac_cv_cxx_using_operator" = 1; then 1.16288 + 1.16289 +$as_echo "#define HAVE_USING_OPERATOR 1" >>confdefs.h 1.16290 + 1.16291 + fi 1.16292 + 1.16293 +for ac_header in ucontext.h 1.16294 +do : 1.16295 + ac_fn_cxx_check_header_mongrel "$LINENO" "ucontext.h" "ac_cv_header_ucontext_h" "$ac_includes_default" 1.16296 +if test "x$ac_cv_header_ucontext_h" = x""yes; then : 1.16297 + cat >>confdefs.h <<_ACEOF 1.16298 +#define HAVE_UCONTEXT_H 1 1.16299 +_ACEOF 1.16300 + 1.16301 +fi 1.16302 + 1.16303 +done 1.16304 + 1.16305 + for ac_header in sys/ucontext.h 1.16306 +do : 1.16307 + ac_fn_cxx_check_header_mongrel "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "$ac_includes_default" 1.16308 +if test "x$ac_cv_header_sys_ucontext_h" = x""yes; then : 1.16309 + cat >>confdefs.h <<_ACEOF 1.16310 +#define HAVE_SYS_UCONTEXT_H 1 1.16311 +_ACEOF 1.16312 + 1.16313 +fi 1.16314 + 1.16315 +done 1.16316 + # ucontext on OS X 10.6 (at least) 1.16317 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to access the program counter from a struct ucontext" >&5 1.16318 +$as_echo_n "checking how to access the program counter from a struct ucontext... " >&6; } 1.16319 + pc_fields=" uc_mcontext.gregs[REG_PC]" # Solaris x86 (32 + 64 bit) 1.16320 + pc_fields="$pc_fields uc_mcontext.gregs[REG_EIP]" # Linux (i386) 1.16321 + pc_fields="$pc_fields uc_mcontext.gregs[REG_RIP]" # Linux (x86_64) 1.16322 + pc_fields="$pc_fields uc_mcontext.sc_ip" # Linux (ia64) 1.16323 + pc_fields="$pc_fields uc_mcontext.uc_regs->gregs[PT_NIP]" # Linux (ppc) 1.16324 + pc_fields="$pc_fields uc_mcontext.gregs[R15]" # Linux (arm old [untested]) 1.16325 + pc_fields="$pc_fields uc_mcontext.arm_pc" # Linux (arm new [untested]) 1.16326 + pc_fields="$pc_fields uc_mcontext.mc_eip" # FreeBSD (i386) 1.16327 + pc_fields="$pc_fields uc_mcontext.mc_rip" # FreeBSD (x86_64 [untested]) 1.16328 + pc_fields="$pc_fields uc_mcontext.__gregs[_REG_EIP]" # NetBSD (i386) 1.16329 + pc_fields="$pc_fields uc_mcontext.__gregs[_REG_RIP]" # NetBSD (x86_64) 1.16330 + pc_fields="$pc_fields uc_mcontext->ss.eip" # OS X (i386, <=10.4) 1.16331 + pc_fields="$pc_fields uc_mcontext->__ss.__eip" # OS X (i386, >=10.5) 1.16332 + pc_fields="$pc_fields uc_mcontext->ss.rip" # OS X (x86_64) 1.16333 + pc_fields="$pc_fields uc_mcontext->__ss.__rip" # OS X (>=10.5 [untested]) 1.16334 + pc_fields="$pc_fields uc_mcontext->ss.srr0" # OS X (ppc, ppc64 [untested]) 1.16335 + pc_fields="$pc_fields uc_mcontext->__ss.__srr0" # OS X (>=10.5 [untested]) 1.16336 + pc_field_found=false 1.16337 + for pc_field in $pc_fields; do 1.16338 + if ! $pc_field_found; then 1.16339 + if test "x$ac_cv_header_sys_ucontext_h" = xyes; then 1.16340 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.16341 +/* end confdefs.h. */ 1.16342 +#define _GNU_SOURCE 1 1.16343 + #include <sys/ucontext.h> 1.16344 +int 1.16345 +main () 1.16346 +{ 1.16347 +ucontext_t u; return u.$pc_field == 0; 1.16348 + ; 1.16349 + return 0; 1.16350 +} 1.16351 +_ACEOF 1.16352 +if ac_fn_cxx_try_compile "$LINENO"; then : 1.16353 + 1.16354 +cat >>confdefs.h <<_ACEOF 1.16355 +#define PC_FROM_UCONTEXT $pc_field 1.16356 +_ACEOF 1.16357 + 1.16358 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pc_field" >&5 1.16359 +$as_echo "$pc_field" >&6; } 1.16360 + pc_field_found=true 1.16361 +fi 1.16362 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1.16363 + else 1.16364 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.16365 +/* end confdefs.h. */ 1.16366 +#define _GNU_SOURCE 1 1.16367 + #include <ucontext.h> 1.16368 +int 1.16369 +main () 1.16370 +{ 1.16371 +ucontext_t u; return u.$pc_field == 0; 1.16372 + ; 1.16373 + return 0; 1.16374 +} 1.16375 +_ACEOF 1.16376 +if ac_fn_cxx_try_compile "$LINENO"; then : 1.16377 + 1.16378 +cat >>confdefs.h <<_ACEOF 1.16379 +#define PC_FROM_UCONTEXT $pc_field 1.16380 +_ACEOF 1.16381 + 1.16382 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pc_field" >&5 1.16383 +$as_echo "$pc_field" >&6; } 1.16384 + pc_field_found=true 1.16385 +fi 1.16386 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1.16387 + fi 1.16388 + fi 1.16389 + done 1.16390 + if ! $pc_field_found; then 1.16391 + pc_fields=" sc_eip" # OpenBSD (i386) 1.16392 + pc_fields="$pc_fields sc_rip" # OpenBSD (x86_64) 1.16393 + for pc_field in $pc_fields; do 1.16394 + if ! $pc_field_found; then 1.16395 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.16396 +/* end confdefs.h. */ 1.16397 +#include <signal.h> 1.16398 +int 1.16399 +main () 1.16400 +{ 1.16401 +ucontext_t u; return u.$pc_field == 0; 1.16402 + ; 1.16403 + return 0; 1.16404 +} 1.16405 +_ACEOF 1.16406 +if ac_fn_cxx_try_compile "$LINENO"; then : 1.16407 + 1.16408 +cat >>confdefs.h <<_ACEOF 1.16409 +#define PC_FROM_UCONTEXT $pc_field 1.16410 +_ACEOF 1.16411 + 1.16412 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pc_field" >&5 1.16413 +$as_echo "$pc_field" >&6; } 1.16414 + pc_field_found=true 1.16415 +fi 1.16416 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1.16417 + fi 1.16418 + done 1.16419 + fi 1.16420 + if ! $pc_field_found; then 1.16421 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not find the PC. Will not output failed addresses..." >&5 1.16422 +$as_echo "$as_me: WARNING: Could not find the PC. Will not output failed addresses..." >&2;} 1.16423 + fi 1.16424 + 1.16425 + 1.16426 +cat >>confdefs.h <<_ACEOF 1.16427 +#define TEST_SRC_DIR "$srcdir" 1.16428 +_ACEOF 1.16429 + 1.16430 + 1.16431 +# These are what's needed by logging.h.in and raw_logging.h.in 1.16432 + 1.16433 + 1.16434 + 1.16435 + 1.16436 + 1.16437 + 1.16438 + 1.16439 + 1.16440 + 1.16441 + 1.16442 + 1.16443 + 1.16444 + 1.16445 + 1.16446 + 1.16447 + 1.16448 + 1.16449 + 1.16450 + 1.16451 + 1.16452 + 1.16453 + 1.16454 +# Write generated configuration file 1.16455 +ac_config_files="$ac_config_files Makefile src/glog/logging.h src/glog/raw_logging.h src/glog/vlog_is_on.h src/glog/stl_logging.h" 1.16456 + 1.16457 +ac_config_files="$ac_config_files libglog.pc" 1.16458 + 1.16459 +cat >confcache <<\_ACEOF 1.16460 +# This file is a shell script that caches the results of configure 1.16461 +# tests run on this system so they can be shared between configure 1.16462 +# scripts and configure runs, see configure's option --config-cache. 1.16463 +# It is not useful on other systems. If it contains results you don't 1.16464 +# want to keep, you may remove or edit it. 1.16465 +# 1.16466 +# config.status only pays attention to the cache file if you give it 1.16467 +# the --recheck option to rerun configure. 1.16468 +# 1.16469 +# `ac_cv_env_foo' variables (set or unset) will be overridden when 1.16470 +# loading this file, other *unset* `ac_cv_foo' will be assigned the 1.16471 +# following values. 1.16472 + 1.16473 +_ACEOF 1.16474 + 1.16475 +# The following way of writing the cache mishandles newlines in values, 1.16476 +# but we know of no workaround that is simple, portable, and efficient. 1.16477 +# So, we kill variables containing newlines. 1.16478 +# Ultrix sh set writes to stderr and can't be redirected directly, 1.16479 +# and sets the high bit in the cache file unless we assign to the vars. 1.16480 +( 1.16481 + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 1.16482 + eval ac_val=\$$ac_var 1.16483 + case $ac_val in #( 1.16484 + *${as_nl}*) 1.16485 + case $ac_var in #( 1.16486 + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1.16487 +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1.16488 + esac 1.16489 + case $ac_var in #( 1.16490 + _ | IFS | as_nl) ;; #( 1.16491 + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1.16492 + *) { eval $ac_var=; unset $ac_var;} ;; 1.16493 + esac ;; 1.16494 + esac 1.16495 + done 1.16496 + 1.16497 + (set) 2>&1 | 1.16498 + case $as_nl`(ac_space=' '; set) 2>&1` in #( 1.16499 + *${as_nl}ac_space=\ *) 1.16500 + # `set' does not quote correctly, so add quotes: double-quote 1.16501 + # substitution turns \\\\ into \\, and sed turns \\ into \. 1.16502 + sed -n \ 1.16503 + "s/'/'\\\\''/g; 1.16504 + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 1.16505 + ;; #( 1.16506 + *) 1.16507 + # `set' quotes correctly as required by POSIX, so do not add quotes. 1.16508 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1.16509 + ;; 1.16510 + esac | 1.16511 + sort 1.16512 +) | 1.16513 + sed ' 1.16514 + /^ac_cv_env_/b end 1.16515 + t clear 1.16516 + :clear 1.16517 + s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 1.16518 + t end 1.16519 + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 1.16520 + :end' >>confcache 1.16521 +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 1.16522 + if test -w "$cache_file"; then 1.16523 + test "x$cache_file" != "x/dev/null" && 1.16524 + { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 1.16525 +$as_echo "$as_me: updating cache $cache_file" >&6;} 1.16526 + cat confcache >$cache_file 1.16527 + else 1.16528 + { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 1.16529 +$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 1.16530 + fi 1.16531 +fi 1.16532 +rm -f confcache 1.16533 + 1.16534 +test "x$prefix" = xNONE && prefix=$ac_default_prefix 1.16535 +# Let make expand exec_prefix. 1.16536 +test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 1.16537 + 1.16538 +DEFS=-DHAVE_CONFIG_H 1.16539 + 1.16540 +ac_libobjs= 1.16541 +ac_ltlibobjs= 1.16542 +for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 1.16543 + # 1. Remove the extension, and $U if already installed. 1.16544 + ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 1.16545 + ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 1.16546 + # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 1.16547 + # will be set to the directory where LIBOBJS objects are built. 1.16548 + as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 1.16549 + as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 1.16550 +done 1.16551 +LIBOBJS=$ac_libobjs 1.16552 + 1.16553 +LTLIBOBJS=$ac_ltlibobjs 1.16554 + 1.16555 + 1.16556 + if test -n "$EXEEXT"; then 1.16557 + am__EXEEXT_TRUE= 1.16558 + am__EXEEXT_FALSE='#' 1.16559 +else 1.16560 + am__EXEEXT_TRUE='#' 1.16561 + am__EXEEXT_FALSE= 1.16562 +fi 1.16563 + 1.16564 +if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 1.16565 + as_fn_error "conditional \"AMDEP\" was never defined. 1.16566 +Usually this means the macro was only invoked conditionally." "$LINENO" 5 1.16567 +fi 1.16568 +if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 1.16569 + as_fn_error "conditional \"am__fastdepCC\" was never defined. 1.16570 +Usually this means the macro was only invoked conditionally." "$LINENO" 5 1.16571 +fi 1.16572 +if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then 1.16573 + as_fn_error "conditional \"am__fastdepCXX\" was never defined. 1.16574 +Usually this means the macro was only invoked conditionally." "$LINENO" 5 1.16575 +fi 1.16576 +if test -z "${GCC_TRUE}" && test -z "${GCC_FALSE}"; then 1.16577 + as_fn_error "conditional \"GCC\" was never defined. 1.16578 +Usually this means the macro was only invoked conditionally." "$LINENO" 5 1.16579 +fi 1.16580 +if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then 1.16581 + as_fn_error "conditional \"am__fastdepCXX\" was never defined. 1.16582 +Usually this means the macro was only invoked conditionally." "$LINENO" 5 1.16583 +fi 1.16584 +if test -z "${ENABLE_FRAME_POINTERS_TRUE}" && test -z "${ENABLE_FRAME_POINTERS_FALSE}"; then 1.16585 + as_fn_error "conditional \"ENABLE_FRAME_POINTERS\" was never defined. 1.16586 +Usually this means the macro was only invoked conditionally." "$LINENO" 5 1.16587 +fi 1.16588 +if test -z "${X86_64_TRUE}" && test -z "${X86_64_FALSE}"; then 1.16589 + as_fn_error "conditional \"X86_64\" was never defined. 1.16590 +Usually this means the macro was only invoked conditionally." "$LINENO" 5 1.16591 +fi 1.16592 +if test -z "${HAVE_GMOCK_TRUE}" && test -z "${HAVE_GMOCK_FALSE}"; then 1.16593 + as_fn_error "conditional \"HAVE_GMOCK\" was never defined. 1.16594 +Usually this means the macro was only invoked conditionally." "$LINENO" 5 1.16595 +fi 1.16596 + 1.16597 +: ${CONFIG_STATUS=./config.status} 1.16598 +ac_write_fail=0 1.16599 +ac_clean_files_save=$ac_clean_files 1.16600 +ac_clean_files="$ac_clean_files $CONFIG_STATUS" 1.16601 +{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 1.16602 +$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 1.16603 +as_write_fail=0 1.16604 +cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 1.16605 +#! $SHELL 1.16606 +# Generated by $as_me. 1.16607 +# Run this file to recreate the current configuration. 1.16608 +# Compiler output produced by configure, useful for debugging 1.16609 +# configure, is in config.log if it exists. 1.16610 + 1.16611 +debug=false 1.16612 +ac_cs_recheck=false 1.16613 +ac_cs_silent=false 1.16614 + 1.16615 +SHELL=\${CONFIG_SHELL-$SHELL} 1.16616 +export SHELL 1.16617 +_ASEOF 1.16618 +cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 1.16619 +## -------------------- ## 1.16620 +## M4sh Initialization. ## 1.16621 +## -------------------- ## 1.16622 + 1.16623 +# Be more Bourne compatible 1.16624 +DUALCASE=1; export DUALCASE # for MKS sh 1.16625 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 1.16626 + emulate sh 1.16627 + NULLCMD=: 1.16628 + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 1.16629 + # is contrary to our usage. Disable this feature. 1.16630 + alias -g '${1+"$@"}'='"$@"' 1.16631 + setopt NO_GLOB_SUBST 1.16632 +else 1.16633 + case `(set -o) 2>/dev/null` in #( 1.16634 + *posix*) : 1.16635 + set -o posix ;; #( 1.16636 + *) : 1.16637 + ;; 1.16638 +esac 1.16639 +fi 1.16640 + 1.16641 + 1.16642 +as_nl=' 1.16643 +' 1.16644 +export as_nl 1.16645 +# Printing a long string crashes Solaris 7 /usr/bin/printf. 1.16646 +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 1.16647 +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 1.16648 +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 1.16649 +# Prefer a ksh shell builtin over an external printf program on Solaris, 1.16650 +# but without wasting forks for bash or zsh. 1.16651 +if test -z "$BASH_VERSION$ZSH_VERSION" \ 1.16652 + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 1.16653 + as_echo='print -r --' 1.16654 + as_echo_n='print -rn --' 1.16655 +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 1.16656 + as_echo='printf %s\n' 1.16657 + as_echo_n='printf %s' 1.16658 +else 1.16659 + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 1.16660 + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 1.16661 + as_echo_n='/usr/ucb/echo -n' 1.16662 + else 1.16663 + as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 1.16664 + as_echo_n_body='eval 1.16665 + arg=$1; 1.16666 + case $arg in #( 1.16667 + *"$as_nl"*) 1.16668 + expr "X$arg" : "X\\(.*\\)$as_nl"; 1.16669 + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 1.16670 + esac; 1.16671 + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 1.16672 + ' 1.16673 + export as_echo_n_body 1.16674 + as_echo_n='sh -c $as_echo_n_body as_echo' 1.16675 + fi 1.16676 + export as_echo_body 1.16677 + as_echo='sh -c $as_echo_body as_echo' 1.16678 +fi 1.16679 + 1.16680 +# The user is always right. 1.16681 +if test "${PATH_SEPARATOR+set}" != set; then 1.16682 + PATH_SEPARATOR=: 1.16683 + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 1.16684 + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 1.16685 + PATH_SEPARATOR=';' 1.16686 + } 1.16687 +fi 1.16688 + 1.16689 + 1.16690 +# IFS 1.16691 +# We need space, tab and new line, in precisely that order. Quoting is 1.16692 +# there to prevent editors from complaining about space-tab. 1.16693 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word 1.16694 +# splitting by setting IFS to empty value.) 1.16695 +IFS=" "" $as_nl" 1.16696 + 1.16697 +# Find who we are. Look in the path if we contain no directory separator. 1.16698 +case $0 in #(( 1.16699 + *[\\/]* ) as_myself=$0 ;; 1.16700 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1.16701 +for as_dir in $PATH 1.16702 +do 1.16703 + IFS=$as_save_IFS 1.16704 + test -z "$as_dir" && as_dir=. 1.16705 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 1.16706 + done 1.16707 +IFS=$as_save_IFS 1.16708 + 1.16709 + ;; 1.16710 +esac 1.16711 +# We did not find ourselves, most probably we were run as `sh COMMAND' 1.16712 +# in which case we are not to be found in the path. 1.16713 +if test "x$as_myself" = x; then 1.16714 + as_myself=$0 1.16715 +fi 1.16716 +if test ! -f "$as_myself"; then 1.16717 + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 1.16718 + exit 1 1.16719 +fi 1.16720 + 1.16721 +# Unset variables that we do not need and which cause bugs (e.g. in 1.16722 +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 1.16723 +# suppresses any "Segmentation fault" message there. '((' could 1.16724 +# trigger a bug in pdksh 5.2.14. 1.16725 +for as_var in BASH_ENV ENV MAIL MAILPATH 1.16726 +do eval test x\${$as_var+set} = xset \ 1.16727 + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 1.16728 +done 1.16729 +PS1='$ ' 1.16730 +PS2='> ' 1.16731 +PS4='+ ' 1.16732 + 1.16733 +# NLS nuisances. 1.16734 +LC_ALL=C 1.16735 +export LC_ALL 1.16736 +LANGUAGE=C 1.16737 +export LANGUAGE 1.16738 + 1.16739 +# CDPATH. 1.16740 +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 1.16741 + 1.16742 + 1.16743 +# as_fn_error ERROR [LINENO LOG_FD] 1.16744 +# --------------------------------- 1.16745 +# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 1.16746 +# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 1.16747 +# script with status $?, using 1 if that was 0. 1.16748 +as_fn_error () 1.16749 +{ 1.16750 + as_status=$?; test $as_status -eq 0 && as_status=1 1.16751 + if test "$3"; then 1.16752 + as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1.16753 + $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 1.16754 + fi 1.16755 + $as_echo "$as_me: error: $1" >&2 1.16756 + as_fn_exit $as_status 1.16757 +} # as_fn_error 1.16758 + 1.16759 + 1.16760 +# as_fn_set_status STATUS 1.16761 +# ----------------------- 1.16762 +# Set $? to STATUS, without forking. 1.16763 +as_fn_set_status () 1.16764 +{ 1.16765 + return $1 1.16766 +} # as_fn_set_status 1.16767 + 1.16768 +# as_fn_exit STATUS 1.16769 +# ----------------- 1.16770 +# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 1.16771 +as_fn_exit () 1.16772 +{ 1.16773 + set +e 1.16774 + as_fn_set_status $1 1.16775 + exit $1 1.16776 +} # as_fn_exit 1.16777 + 1.16778 +# as_fn_unset VAR 1.16779 +# --------------- 1.16780 +# Portably unset VAR. 1.16781 +as_fn_unset () 1.16782 +{ 1.16783 + { eval $1=; unset $1;} 1.16784 +} 1.16785 +as_unset=as_fn_unset 1.16786 +# as_fn_append VAR VALUE 1.16787 +# ---------------------- 1.16788 +# Append the text in VALUE to the end of the definition contained in VAR. Take 1.16789 +# advantage of any shell optimizations that allow amortized linear growth over 1.16790 +# repeated appends, instead of the typical quadratic growth present in naive 1.16791 +# implementations. 1.16792 +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 1.16793 + eval 'as_fn_append () 1.16794 + { 1.16795 + eval $1+=\$2 1.16796 + }' 1.16797 +else 1.16798 + as_fn_append () 1.16799 + { 1.16800 + eval $1=\$$1\$2 1.16801 + } 1.16802 +fi # as_fn_append 1.16803 + 1.16804 +# as_fn_arith ARG... 1.16805 +# ------------------ 1.16806 +# Perform arithmetic evaluation on the ARGs, and store the result in the 1.16807 +# global $as_val. Take advantage of shells that can avoid forks. The arguments 1.16808 +# must be portable across $(()) and expr. 1.16809 +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 1.16810 + eval 'as_fn_arith () 1.16811 + { 1.16812 + as_val=$(( $* )) 1.16813 + }' 1.16814 +else 1.16815 + as_fn_arith () 1.16816 + { 1.16817 + as_val=`expr "$@" || test $? -eq 1` 1.16818 + } 1.16819 +fi # as_fn_arith 1.16820 + 1.16821 + 1.16822 +if expr a : '\(a\)' >/dev/null 2>&1 && 1.16823 + test "X`expr 00001 : '.*\(...\)'`" = X001; then 1.16824 + as_expr=expr 1.16825 +else 1.16826 + as_expr=false 1.16827 +fi 1.16828 + 1.16829 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 1.16830 + as_basename=basename 1.16831 +else 1.16832 + as_basename=false 1.16833 +fi 1.16834 + 1.16835 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 1.16836 + as_dirname=dirname 1.16837 +else 1.16838 + as_dirname=false 1.16839 +fi 1.16840 + 1.16841 +as_me=`$as_basename -- "$0" || 1.16842 +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 1.16843 + X"$0" : 'X\(//\)$' \| \ 1.16844 + X"$0" : 'X\(/\)' \| . 2>/dev/null || 1.16845 +$as_echo X/"$0" | 1.16846 + sed '/^.*\/\([^/][^/]*\)\/*$/{ 1.16847 + s//\1/ 1.16848 + q 1.16849 + } 1.16850 + /^X\/\(\/\/\)$/{ 1.16851 + s//\1/ 1.16852 + q 1.16853 + } 1.16854 + /^X\/\(\/\).*/{ 1.16855 + s//\1/ 1.16856 + q 1.16857 + } 1.16858 + s/.*/./; q'` 1.16859 + 1.16860 +# Avoid depending upon Character Ranges. 1.16861 +as_cr_letters='abcdefghijklmnopqrstuvwxyz' 1.16862 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 1.16863 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS 1.16864 +as_cr_digits='0123456789' 1.16865 +as_cr_alnum=$as_cr_Letters$as_cr_digits 1.16866 + 1.16867 +ECHO_C= ECHO_N= ECHO_T= 1.16868 +case `echo -n x` in #((((( 1.16869 +-n*) 1.16870 + case `echo 'xy\c'` in 1.16871 + *c*) ECHO_T=' ';; # ECHO_T is single tab character. 1.16872 + xy) ECHO_C='\c';; 1.16873 + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 1.16874 + ECHO_T=' ';; 1.16875 + esac;; 1.16876 +*) 1.16877 + ECHO_N='-n';; 1.16878 +esac 1.16879 + 1.16880 +rm -f conf$$ conf$$.exe conf$$.file 1.16881 +if test -d conf$$.dir; then 1.16882 + rm -f conf$$.dir/conf$$.file 1.16883 +else 1.16884 + rm -f conf$$.dir 1.16885 + mkdir conf$$.dir 2>/dev/null 1.16886 +fi 1.16887 +if (echo >conf$$.file) 2>/dev/null; then 1.16888 + if ln -s conf$$.file conf$$ 2>/dev/null; then 1.16889 + as_ln_s='ln -s' 1.16890 + # ... but there are two gotchas: 1.16891 + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 1.16892 + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 1.16893 + # In both cases, we have to default to `cp -p'. 1.16894 + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 1.16895 + as_ln_s='cp -p' 1.16896 + elif ln conf$$.file conf$$ 2>/dev/null; then 1.16897 + as_ln_s=ln 1.16898 + else 1.16899 + as_ln_s='cp -p' 1.16900 + fi 1.16901 +else 1.16902 + as_ln_s='cp -p' 1.16903 +fi 1.16904 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 1.16905 +rmdir conf$$.dir 2>/dev/null 1.16906 + 1.16907 + 1.16908 +# as_fn_mkdir_p 1.16909 +# ------------- 1.16910 +# Create "$as_dir" as a directory, including parents if necessary. 1.16911 +as_fn_mkdir_p () 1.16912 +{ 1.16913 + 1.16914 + case $as_dir in #( 1.16915 + -*) as_dir=./$as_dir;; 1.16916 + esac 1.16917 + test -d "$as_dir" || eval $as_mkdir_p || { 1.16918 + as_dirs= 1.16919 + while :; do 1.16920 + case $as_dir in #( 1.16921 + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 1.16922 + *) as_qdir=$as_dir;; 1.16923 + esac 1.16924 + as_dirs="'$as_qdir' $as_dirs" 1.16925 + as_dir=`$as_dirname -- "$as_dir" || 1.16926 +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1.16927 + X"$as_dir" : 'X\(//\)[^/]' \| \ 1.16928 + X"$as_dir" : 'X\(//\)$' \| \ 1.16929 + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 1.16930 +$as_echo X"$as_dir" | 1.16931 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1.16932 + s//\1/ 1.16933 + q 1.16934 + } 1.16935 + /^X\(\/\/\)[^/].*/{ 1.16936 + s//\1/ 1.16937 + q 1.16938 + } 1.16939 + /^X\(\/\/\)$/{ 1.16940 + s//\1/ 1.16941 + q 1.16942 + } 1.16943 + /^X\(\/\).*/{ 1.16944 + s//\1/ 1.16945 + q 1.16946 + } 1.16947 + s/.*/./; q'` 1.16948 + test -d "$as_dir" && break 1.16949 + done 1.16950 + test -z "$as_dirs" || eval "mkdir $as_dirs" 1.16951 + } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 1.16952 + 1.16953 + 1.16954 +} # as_fn_mkdir_p 1.16955 +if mkdir -p . 2>/dev/null; then 1.16956 + as_mkdir_p='mkdir -p "$as_dir"' 1.16957 +else 1.16958 + test -d ./-p && rmdir ./-p 1.16959 + as_mkdir_p=false 1.16960 +fi 1.16961 + 1.16962 +if test -x / >/dev/null 2>&1; then 1.16963 + as_test_x='test -x' 1.16964 +else 1.16965 + if ls -dL / >/dev/null 2>&1; then 1.16966 + as_ls_L_option=L 1.16967 + else 1.16968 + as_ls_L_option= 1.16969 + fi 1.16970 + as_test_x=' 1.16971 + eval sh -c '\'' 1.16972 + if test -d "$1"; then 1.16973 + test -d "$1/."; 1.16974 + else 1.16975 + case $1 in #( 1.16976 + -*)set "./$1";; 1.16977 + esac; 1.16978 + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 1.16979 + ???[sx]*):;;*)false;;esac;fi 1.16980 + '\'' sh 1.16981 + ' 1.16982 +fi 1.16983 +as_executable_p=$as_test_x 1.16984 + 1.16985 +# Sed expression to map a string onto a valid CPP name. 1.16986 +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 1.16987 + 1.16988 +# Sed expression to map a string onto a valid variable name. 1.16989 +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 1.16990 + 1.16991 + 1.16992 +exec 6>&1 1.16993 +## ----------------------------------- ## 1.16994 +## Main body of $CONFIG_STATUS script. ## 1.16995 +## ----------------------------------- ## 1.16996 +_ASEOF 1.16997 +test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 1.16998 + 1.16999 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 1.17000 +# Save the log message, to keep $0 and so on meaningful, and to 1.17001 +# report actual input values of CONFIG_FILES etc. instead of their 1.17002 +# values after options handling. 1.17003 +ac_log=" 1.17004 +This file was extended by glog $as_me 0.3.1, which was 1.17005 +generated by GNU Autoconf 2.65. Invocation command line was 1.17006 + 1.17007 + CONFIG_FILES = $CONFIG_FILES 1.17008 + CONFIG_HEADERS = $CONFIG_HEADERS 1.17009 + CONFIG_LINKS = $CONFIG_LINKS 1.17010 + CONFIG_COMMANDS = $CONFIG_COMMANDS 1.17011 + $ $0 $@ 1.17012 + 1.17013 +on `(hostname || uname -n) 2>/dev/null | sed 1q` 1.17014 +" 1.17015 + 1.17016 +_ACEOF 1.17017 + 1.17018 +case $ac_config_files in *" 1.17019 +"*) set x $ac_config_files; shift; ac_config_files=$*;; 1.17020 +esac 1.17021 + 1.17022 +case $ac_config_headers in *" 1.17023 +"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 1.17024 +esac 1.17025 + 1.17026 + 1.17027 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 1.17028 +# Files that config.status was made for. 1.17029 +config_files="$ac_config_files" 1.17030 +config_headers="$ac_config_headers" 1.17031 +config_commands="$ac_config_commands" 1.17032 + 1.17033 +_ACEOF 1.17034 + 1.17035 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 1.17036 +ac_cs_usage="\ 1.17037 +\`$as_me' instantiates files and other configuration actions 1.17038 +from templates according to the current configuration. Unless the files 1.17039 +and actions are specified as TAGs, all are instantiated by default. 1.17040 + 1.17041 +Usage: $0 [OPTION]... [TAG]... 1.17042 + 1.17043 + -h, --help print this help, then exit 1.17044 + -V, --version print version number and configuration settings, then exit 1.17045 + --config print configuration, then exit 1.17046 + -q, --quiet, --silent 1.17047 + do not print progress messages 1.17048 + -d, --debug don't remove temporary files 1.17049 + --recheck update $as_me by reconfiguring in the same conditions 1.17050 + --file=FILE[:TEMPLATE] 1.17051 + instantiate the configuration file FILE 1.17052 + --header=FILE[:TEMPLATE] 1.17053 + instantiate the configuration header FILE 1.17054 + 1.17055 +Configuration files: 1.17056 +$config_files 1.17057 + 1.17058 +Configuration headers: 1.17059 +$config_headers 1.17060 + 1.17061 +Configuration commands: 1.17062 +$config_commands 1.17063 + 1.17064 +Report bugs to <opensource@google.com>." 1.17065 + 1.17066 +_ACEOF 1.17067 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 1.17068 +ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 1.17069 +ac_cs_version="\\ 1.17070 +glog config.status 0.3.1 1.17071 +configured by $0, generated by GNU Autoconf 2.65, 1.17072 + with options \\"\$ac_cs_config\\" 1.17073 + 1.17074 +Copyright (C) 2009 Free Software Foundation, Inc. 1.17075 +This config.status script is free software; the Free Software Foundation 1.17076 +gives unlimited permission to copy, distribute and modify it." 1.17077 + 1.17078 +ac_pwd='$ac_pwd' 1.17079 +srcdir='$srcdir' 1.17080 +INSTALL='$INSTALL' 1.17081 +MKDIR_P='$MKDIR_P' 1.17082 +AWK='$AWK' 1.17083 +test -n "\$AWK" || AWK=awk 1.17084 +_ACEOF 1.17085 + 1.17086 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 1.17087 +# The default lists apply if the user does not specify any file. 1.17088 +ac_need_defaults=: 1.17089 +while test $# != 0 1.17090 +do 1.17091 + case $1 in 1.17092 + --*=*) 1.17093 + ac_option=`expr "X$1" : 'X\([^=]*\)='` 1.17094 + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 1.17095 + ac_shift=: 1.17096 + ;; 1.17097 + *) 1.17098 + ac_option=$1 1.17099 + ac_optarg=$2 1.17100 + ac_shift=shift 1.17101 + ;; 1.17102 + esac 1.17103 + 1.17104 + case $ac_option in 1.17105 + # Handling of the options. 1.17106 + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 1.17107 + ac_cs_recheck=: ;; 1.17108 + --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 1.17109 + $as_echo "$ac_cs_version"; exit ;; 1.17110 + --config | --confi | --conf | --con | --co | --c ) 1.17111 + $as_echo "$ac_cs_config"; exit ;; 1.17112 + --debug | --debu | --deb | --de | --d | -d ) 1.17113 + debug=: ;; 1.17114 + --file | --fil | --fi | --f ) 1.17115 + $ac_shift 1.17116 + case $ac_optarg in 1.17117 + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 1.17118 + esac 1.17119 + as_fn_append CONFIG_FILES " '$ac_optarg'" 1.17120 + ac_need_defaults=false;; 1.17121 + --header | --heade | --head | --hea ) 1.17122 + $ac_shift 1.17123 + case $ac_optarg in 1.17124 + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 1.17125 + esac 1.17126 + as_fn_append CONFIG_HEADERS " '$ac_optarg'" 1.17127 + ac_need_defaults=false;; 1.17128 + --he | --h) 1.17129 + # Conflict between --help and --header 1.17130 + as_fn_error "ambiguous option: \`$1' 1.17131 +Try \`$0 --help' for more information.";; 1.17132 + --help | --hel | -h ) 1.17133 + $as_echo "$ac_cs_usage"; exit ;; 1.17134 + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1.17135 + | -silent | --silent | --silen | --sile | --sil | --si | --s) 1.17136 + ac_cs_silent=: ;; 1.17137 + 1.17138 + # This is an error. 1.17139 + -*) as_fn_error "unrecognized option: \`$1' 1.17140 +Try \`$0 --help' for more information." ;; 1.17141 + 1.17142 + *) as_fn_append ac_config_targets " $1" 1.17143 + ac_need_defaults=false ;; 1.17144 + 1.17145 + esac 1.17146 + shift 1.17147 +done 1.17148 + 1.17149 +ac_configure_extra_args= 1.17150 + 1.17151 +if $ac_cs_silent; then 1.17152 + exec 6>/dev/null 1.17153 + ac_configure_extra_args="$ac_configure_extra_args --silent" 1.17154 +fi 1.17155 + 1.17156 +_ACEOF 1.17157 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 1.17158 +if \$ac_cs_recheck; then 1.17159 + set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 1.17160 + shift 1.17161 + \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 1.17162 + CONFIG_SHELL='$SHELL' 1.17163 + export CONFIG_SHELL 1.17164 + exec "\$@" 1.17165 +fi 1.17166 + 1.17167 +_ACEOF 1.17168 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 1.17169 +exec 5>>config.log 1.17170 +{ 1.17171 + echo 1.17172 + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 1.17173 +## Running $as_me. ## 1.17174 +_ASBOX 1.17175 + $as_echo "$ac_log" 1.17176 +} >&5 1.17177 + 1.17178 +_ACEOF 1.17179 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 1.17180 +# 1.17181 +# INIT-COMMANDS 1.17182 +# 1.17183 +AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 1.17184 + 1.17185 + 1.17186 +# The HP-UX ksh and POSIX shell print the target directory to stdout 1.17187 +# if CDPATH is set. 1.17188 +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 1.17189 + 1.17190 +sed_quote_subst='$sed_quote_subst' 1.17191 +double_quote_subst='$double_quote_subst' 1.17192 +delay_variable_subst='$delay_variable_subst' 1.17193 +macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`' 1.17194 +macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`' 1.17195 +enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`' 1.17196 +enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`' 1.17197 +pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`' 1.17198 +enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`' 1.17199 +host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`' 1.17200 +host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`' 1.17201 +host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`' 1.17202 +build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`' 1.17203 +build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`' 1.17204 +build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`' 1.17205 +SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`' 1.17206 +Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`' 1.17207 +GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`' 1.17208 +EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`' 1.17209 +FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`' 1.17210 +LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`' 1.17211 +NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`' 1.17212 +LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`' 1.17213 +max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`' 1.17214 +ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`' 1.17215 +exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`' 1.17216 +lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`' 1.17217 +lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`' 1.17218 +lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`' 1.17219 +reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`' 1.17220 +reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`' 1.17221 +OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`' 1.17222 +deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`' 1.17223 +file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`' 1.17224 +AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`' 1.17225 +AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`' 1.17226 +STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`' 1.17227 +RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`' 1.17228 +old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 1.17229 +old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 1.17230 +old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`' 1.17231 +CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`' 1.17232 +CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`' 1.17233 +compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`' 1.17234 +GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`' 1.17235 +lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`' 1.17236 +lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`' 1.17237 +lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`' 1.17238 +lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`' 1.17239 +objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`' 1.17240 +SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`' 1.17241 +ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`' 1.17242 +MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`' 1.17243 +lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`' 1.17244 +lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`' 1.17245 +lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`' 1.17246 +lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`' 1.17247 +lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`' 1.17248 +need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`' 1.17249 +DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`' 1.17250 +NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`' 1.17251 +LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`' 1.17252 +OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`' 1.17253 +OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`' 1.17254 +libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`' 1.17255 +shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`' 1.17256 +extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`' 1.17257 +archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`' 1.17258 +enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`' 1.17259 +export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' 1.17260 +whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' 1.17261 +compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`' 1.17262 +old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`' 1.17263 +old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`' 1.17264 +archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`' 1.17265 +archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`' 1.17266 +module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`' 1.17267 +module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`' 1.17268 +with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`' 1.17269 +allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`' 1.17270 +no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`' 1.17271 +hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' 1.17272 +hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`' 1.17273 +hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`' 1.17274 +hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`' 1.17275 +hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`' 1.17276 +hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`' 1.17277 +hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`' 1.17278 +hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`' 1.17279 +inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`' 1.17280 +link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`' 1.17281 +fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`' 1.17282 +always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`' 1.17283 +export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`' 1.17284 +exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`' 1.17285 +include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`' 1.17286 +prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`' 1.17287 +file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`' 1.17288 +variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`' 1.17289 +need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`' 1.17290 +need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`' 1.17291 +version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`' 1.17292 +runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`' 1.17293 +shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`' 1.17294 +shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`' 1.17295 +libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`' 1.17296 +library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`' 1.17297 +soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`' 1.17298 +postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 1.17299 +postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 1.17300 +finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`' 1.17301 +finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`' 1.17302 +hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`' 1.17303 +sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`' 1.17304 +sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`' 1.17305 +hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`' 1.17306 +enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`' 1.17307 +enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`' 1.17308 +enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`' 1.17309 +old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`' 1.17310 +striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`' 1.17311 +compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`' 1.17312 +predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`' 1.17313 +postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`' 1.17314 +predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`' 1.17315 +postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`' 1.17316 +compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`' 1.17317 +LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`' 1.17318 +old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' 1.17319 +compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`' 1.17320 +GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`' 1.17321 +lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`' 1.17322 +lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`' 1.17323 +lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`' 1.17324 +lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`' 1.17325 +lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`' 1.17326 +archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`' 1.17327 +enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`' 1.17328 +export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`' 1.17329 +whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`' 1.17330 +compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`' 1.17331 +old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' 1.17332 +old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' 1.17333 +archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' 1.17334 +archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' 1.17335 +module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' 1.17336 +module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' 1.17337 +with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`' 1.17338 +allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`' 1.17339 +no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`' 1.17340 +hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`' 1.17341 +hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`' 1.17342 +hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`' 1.17343 +hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`' 1.17344 +hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`' 1.17345 +hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`' 1.17346 +hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`' 1.17347 +hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`' 1.17348 +inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`' 1.17349 +link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`' 1.17350 +fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`' 1.17351 +always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`' 1.17352 +export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' 1.17353 +exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`' 1.17354 +include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`' 1.17355 +prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' 1.17356 +file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`' 1.17357 +hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`' 1.17358 +compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`' 1.17359 +predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`' 1.17360 +postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`' 1.17361 +predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`' 1.17362 +postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`' 1.17363 +compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`' 1.17364 + 1.17365 +LTCC='$LTCC' 1.17366 +LTCFLAGS='$LTCFLAGS' 1.17367 +compiler='$compiler_DEFAULT' 1.17368 + 1.17369 +# Quote evaled strings. 1.17370 +for var in SED \ 1.17371 +GREP \ 1.17372 +EGREP \ 1.17373 +FGREP \ 1.17374 +LD \ 1.17375 +NM \ 1.17376 +LN_S \ 1.17377 +lt_SP2NL \ 1.17378 +lt_NL2SP \ 1.17379 +reload_flag \ 1.17380 +OBJDUMP \ 1.17381 +deplibs_check_method \ 1.17382 +file_magic_cmd \ 1.17383 +AR \ 1.17384 +AR_FLAGS \ 1.17385 +STRIP \ 1.17386 +RANLIB \ 1.17387 +CC \ 1.17388 +CFLAGS \ 1.17389 +compiler \ 1.17390 +lt_cv_sys_global_symbol_pipe \ 1.17391 +lt_cv_sys_global_symbol_to_cdecl \ 1.17392 +lt_cv_sys_global_symbol_to_c_name_address \ 1.17393 +lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 1.17394 +SHELL \ 1.17395 +ECHO \ 1.17396 +lt_prog_compiler_no_builtin_flag \ 1.17397 +lt_prog_compiler_wl \ 1.17398 +lt_prog_compiler_pic \ 1.17399 +lt_prog_compiler_static \ 1.17400 +lt_cv_prog_compiler_c_o \ 1.17401 +need_locks \ 1.17402 +DSYMUTIL \ 1.17403 +NMEDIT \ 1.17404 +LIPO \ 1.17405 +OTOOL \ 1.17406 +OTOOL64 \ 1.17407 +shrext_cmds \ 1.17408 +export_dynamic_flag_spec \ 1.17409 +whole_archive_flag_spec \ 1.17410 +compiler_needs_object \ 1.17411 +with_gnu_ld \ 1.17412 +allow_undefined_flag \ 1.17413 +no_undefined_flag \ 1.17414 +hardcode_libdir_flag_spec \ 1.17415 +hardcode_libdir_flag_spec_ld \ 1.17416 +hardcode_libdir_separator \ 1.17417 +fix_srcfile_path \ 1.17418 +exclude_expsyms \ 1.17419 +include_expsyms \ 1.17420 +file_list_spec \ 1.17421 +variables_saved_for_relink \ 1.17422 +libname_spec \ 1.17423 +library_names_spec \ 1.17424 +soname_spec \ 1.17425 +finish_eval \ 1.17426 +old_striplib \ 1.17427 +striplib \ 1.17428 +compiler_lib_search_dirs \ 1.17429 +predep_objects \ 1.17430 +postdep_objects \ 1.17431 +predeps \ 1.17432 +postdeps \ 1.17433 +compiler_lib_search_path \ 1.17434 +LD_CXX \ 1.17435 +compiler_CXX \ 1.17436 +lt_prog_compiler_no_builtin_flag_CXX \ 1.17437 +lt_prog_compiler_wl_CXX \ 1.17438 +lt_prog_compiler_pic_CXX \ 1.17439 +lt_prog_compiler_static_CXX \ 1.17440 +lt_cv_prog_compiler_c_o_CXX \ 1.17441 +export_dynamic_flag_spec_CXX \ 1.17442 +whole_archive_flag_spec_CXX \ 1.17443 +compiler_needs_object_CXX \ 1.17444 +with_gnu_ld_CXX \ 1.17445 +allow_undefined_flag_CXX \ 1.17446 +no_undefined_flag_CXX \ 1.17447 +hardcode_libdir_flag_spec_CXX \ 1.17448 +hardcode_libdir_flag_spec_ld_CXX \ 1.17449 +hardcode_libdir_separator_CXX \ 1.17450 +fix_srcfile_path_CXX \ 1.17451 +exclude_expsyms_CXX \ 1.17452 +include_expsyms_CXX \ 1.17453 +file_list_spec_CXX \ 1.17454 +compiler_lib_search_dirs_CXX \ 1.17455 +predep_objects_CXX \ 1.17456 +postdep_objects_CXX \ 1.17457 +predeps_CXX \ 1.17458 +postdeps_CXX \ 1.17459 +compiler_lib_search_path_CXX; do 1.17460 + case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in 1.17461 + *[\\\\\\\`\\"\\\$]*) 1.17462 + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" 1.17463 + ;; 1.17464 + *) 1.17465 + eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 1.17466 + ;; 1.17467 + esac 1.17468 +done 1.17469 + 1.17470 +# Double-quote double-evaled strings. 1.17471 +for var in reload_cmds \ 1.17472 +old_postinstall_cmds \ 1.17473 +old_postuninstall_cmds \ 1.17474 +old_archive_cmds \ 1.17475 +extract_expsyms_cmds \ 1.17476 +old_archive_from_new_cmds \ 1.17477 +old_archive_from_expsyms_cmds \ 1.17478 +archive_cmds \ 1.17479 +archive_expsym_cmds \ 1.17480 +module_cmds \ 1.17481 +module_expsym_cmds \ 1.17482 +export_symbols_cmds \ 1.17483 +prelink_cmds \ 1.17484 +postinstall_cmds \ 1.17485 +postuninstall_cmds \ 1.17486 +finish_cmds \ 1.17487 +sys_lib_search_path_spec \ 1.17488 +sys_lib_dlsearch_path_spec \ 1.17489 +old_archive_cmds_CXX \ 1.17490 +old_archive_from_new_cmds_CXX \ 1.17491 +old_archive_from_expsyms_cmds_CXX \ 1.17492 +archive_cmds_CXX \ 1.17493 +archive_expsym_cmds_CXX \ 1.17494 +module_cmds_CXX \ 1.17495 +module_expsym_cmds_CXX \ 1.17496 +export_symbols_cmds_CXX \ 1.17497 +prelink_cmds_CXX; do 1.17498 + case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in 1.17499 + *[\\\\\\\`\\"\\\$]*) 1.17500 + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" 1.17501 + ;; 1.17502 + *) 1.17503 + eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 1.17504 + ;; 1.17505 + esac 1.17506 +done 1.17507 + 1.17508 +# Fix-up fallback echo if it was mangled by the above quoting rules. 1.17509 +case \$lt_ECHO in 1.17510 +*'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\` 1.17511 + ;; 1.17512 +esac 1.17513 + 1.17514 +ac_aux_dir='$ac_aux_dir' 1.17515 +xsi_shell='$xsi_shell' 1.17516 +lt_shell_append='$lt_shell_append' 1.17517 + 1.17518 +# See if we are running on zsh, and set the options which allow our 1.17519 +# commands through without removal of \ escapes INIT. 1.17520 +if test -n "\${ZSH_VERSION+set}" ; then 1.17521 + setopt NO_GLOB_SUBST 1.17522 +fi 1.17523 + 1.17524 + 1.17525 + PACKAGE='$PACKAGE' 1.17526 + VERSION='$VERSION' 1.17527 + TIMESTAMP='$TIMESTAMP' 1.17528 + RM='$RM' 1.17529 + ofile='$ofile' 1.17530 + 1.17531 + 1.17532 + 1.17533 + 1.17534 + 1.17535 + 1.17536 +_ACEOF 1.17537 + 1.17538 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 1.17539 + 1.17540 +# Handling of arguments. 1.17541 +for ac_config_target in $ac_config_targets 1.17542 +do 1.17543 + case $ac_config_target in 1.17544 + "src/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;; 1.17545 + "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 1.17546 + "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 1.17547 + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 1.17548 + "src/glog/logging.h") CONFIG_FILES="$CONFIG_FILES src/glog/logging.h" ;; 1.17549 + "src/glog/raw_logging.h") CONFIG_FILES="$CONFIG_FILES src/glog/raw_logging.h" ;; 1.17550 + "src/glog/vlog_is_on.h") CONFIG_FILES="$CONFIG_FILES src/glog/vlog_is_on.h" ;; 1.17551 + "src/glog/stl_logging.h") CONFIG_FILES="$CONFIG_FILES src/glog/stl_logging.h" ;; 1.17552 + "libglog.pc") CONFIG_FILES="$CONFIG_FILES libglog.pc" ;; 1.17553 + 1.17554 + *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 1.17555 + esac 1.17556 +done 1.17557 + 1.17558 + 1.17559 +# If the user did not use the arguments to specify the items to instantiate, 1.17560 +# then the envvar interface is used. Set only those that are not. 1.17561 +# We use the long form for the default assignment because of an extremely 1.17562 +# bizarre bug on SunOS 4.1.3. 1.17563 +if $ac_need_defaults; then 1.17564 + test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 1.17565 + test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 1.17566 + test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 1.17567 +fi 1.17568 + 1.17569 +# Have a temporary directory for convenience. Make it in the build tree 1.17570 +# simply because there is no reason against having it here, and in addition, 1.17571 +# creating and moving files from /tmp can sometimes cause problems. 1.17572 +# Hook for its removal unless debugging. 1.17573 +# Note that there is a small window in which the directory will not be cleaned: 1.17574 +# after its creation but before its name has been assigned to `$tmp'. 1.17575 +$debug || 1.17576 +{ 1.17577 + tmp= 1.17578 + trap 'exit_status=$? 1.17579 + { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 1.17580 +' 0 1.17581 + trap 'as_fn_exit 1' 1 2 13 15 1.17582 +} 1.17583 +# Create a (secure) tmp directory for tmp files. 1.17584 + 1.17585 +{ 1.17586 + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 1.17587 + test -n "$tmp" && test -d "$tmp" 1.17588 +} || 1.17589 +{ 1.17590 + tmp=./conf$$-$RANDOM 1.17591 + (umask 077 && mkdir "$tmp") 1.17592 +} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 1.17593 + 1.17594 +# Set up the scripts for CONFIG_FILES section. 1.17595 +# No need to generate them if there are no CONFIG_FILES. 1.17596 +# This happens for instance with `./config.status config.h'. 1.17597 +if test -n "$CONFIG_FILES"; then 1.17598 + 1.17599 + 1.17600 +ac_cr=`echo X | tr X '\015'` 1.17601 +# On cygwin, bash can eat \r inside `` if the user requested igncr. 1.17602 +# But we know of no other shell where ac_cr would be empty at this 1.17603 +# point, so we can use a bashism as a fallback. 1.17604 +if test "x$ac_cr" = x; then 1.17605 + eval ac_cr=\$\'\\r\' 1.17606 +fi 1.17607 +ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 1.17608 +if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 1.17609 + ac_cs_awk_cr='\r' 1.17610 +else 1.17611 + ac_cs_awk_cr=$ac_cr 1.17612 +fi 1.17613 + 1.17614 +echo 'BEGIN {' >"$tmp/subs1.awk" && 1.17615 +_ACEOF 1.17616 + 1.17617 + 1.17618 +{ 1.17619 + echo "cat >conf$$subs.awk <<_ACEOF" && 1.17620 + echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 1.17621 + echo "_ACEOF" 1.17622 +} >conf$$subs.sh || 1.17623 + as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 1.17624 +ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 1.17625 +ac_delim='%!_!# ' 1.17626 +for ac_last_try in false false false false false :; do 1.17627 + . ./conf$$subs.sh || 1.17628 + as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 1.17629 + 1.17630 + ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 1.17631 + if test $ac_delim_n = $ac_delim_num; then 1.17632 + break 1.17633 + elif $ac_last_try; then 1.17634 + as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 1.17635 + else 1.17636 + ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 1.17637 + fi 1.17638 +done 1.17639 +rm -f conf$$subs.sh 1.17640 + 1.17641 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 1.17642 +cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 1.17643 +_ACEOF 1.17644 +sed -n ' 1.17645 +h 1.17646 +s/^/S["/; s/!.*/"]=/ 1.17647 +p 1.17648 +g 1.17649 +s/^[^!]*!// 1.17650 +:repl 1.17651 +t repl 1.17652 +s/'"$ac_delim"'$// 1.17653 +t delim 1.17654 +:nl 1.17655 +h 1.17656 +s/\(.\{148\}\)..*/\1/ 1.17657 +t more1 1.17658 +s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 1.17659 +p 1.17660 +n 1.17661 +b repl 1.17662 +:more1 1.17663 +s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 1.17664 +p 1.17665 +g 1.17666 +s/.\{148\}// 1.17667 +t nl 1.17668 +:delim 1.17669 +h 1.17670 +s/\(.\{148\}\)..*/\1/ 1.17671 +t more2 1.17672 +s/["\\]/\\&/g; s/^/"/; s/$/"/ 1.17673 +p 1.17674 +b 1.17675 +:more2 1.17676 +s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 1.17677 +p 1.17678 +g 1.17679 +s/.\{148\}// 1.17680 +t delim 1.17681 +' <conf$$subs.awk | sed ' 1.17682 +/^[^""]/{ 1.17683 + N 1.17684 + s/\n// 1.17685 +} 1.17686 +' >>$CONFIG_STATUS || ac_write_fail=1 1.17687 +rm -f conf$$subs.awk 1.17688 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 1.17689 +_ACAWK 1.17690 +cat >>"\$tmp/subs1.awk" <<_ACAWK && 1.17691 + for (key in S) S_is_set[key] = 1 1.17692 + FS = "" 1.17693 + 1.17694 +} 1.17695 +{ 1.17696 + line = $ 0 1.17697 + nfields = split(line, field, "@") 1.17698 + substed = 0 1.17699 + len = length(field[1]) 1.17700 + for (i = 2; i < nfields; i++) { 1.17701 + key = field[i] 1.17702 + keylen = length(key) 1.17703 + if (S_is_set[key]) { 1.17704 + value = S[key] 1.17705 + line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 1.17706 + len += length(value) + length(field[++i]) 1.17707 + substed = 1 1.17708 + } else 1.17709 + len += 1 + keylen 1.17710 + } 1.17711 + 1.17712 + print line 1.17713 +} 1.17714 + 1.17715 +_ACAWK 1.17716 +_ACEOF 1.17717 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 1.17718 +if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 1.17719 + sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 1.17720 +else 1.17721 + cat 1.17722 +fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 1.17723 + || as_fn_error "could not setup config files machinery" "$LINENO" 5 1.17724 +_ACEOF 1.17725 + 1.17726 +# VPATH may cause trouble with some makes, so we remove $(srcdir), 1.17727 +# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 1.17728 +# trailing colons and then remove the whole line if VPATH becomes empty 1.17729 +# (actually we leave an empty line to preserve line numbers). 1.17730 +if test "x$srcdir" = x.; then 1.17731 + ac_vpsub='/^[ ]*VPATH[ ]*=/{ 1.17732 +s/:*\$(srcdir):*/:/ 1.17733 +s/:*\${srcdir}:*/:/ 1.17734 +s/:*@srcdir@:*/:/ 1.17735 +s/^\([^=]*=[ ]*\):*/\1/ 1.17736 +s/:*$// 1.17737 +s/^[^=]*=[ ]*$// 1.17738 +}' 1.17739 +fi 1.17740 + 1.17741 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 1.17742 +fi # test -n "$CONFIG_FILES" 1.17743 + 1.17744 +# Set up the scripts for CONFIG_HEADERS section. 1.17745 +# No need to generate them if there are no CONFIG_HEADERS. 1.17746 +# This happens for instance with `./config.status Makefile'. 1.17747 +if test -n "$CONFIG_HEADERS"; then 1.17748 +cat >"$tmp/defines.awk" <<\_ACAWK || 1.17749 +BEGIN { 1.17750 +_ACEOF 1.17751 + 1.17752 +# Transform confdefs.h into an awk script `defines.awk', embedded as 1.17753 +# here-document in config.status, that substitutes the proper values into 1.17754 +# config.h.in to produce config.h. 1.17755 + 1.17756 +# Create a delimiter string that does not exist in confdefs.h, to ease 1.17757 +# handling of long lines. 1.17758 +ac_delim='%!_!# ' 1.17759 +for ac_last_try in false false :; do 1.17760 + ac_t=`sed -n "/$ac_delim/p" confdefs.h` 1.17761 + if test -z "$ac_t"; then 1.17762 + break 1.17763 + elif $ac_last_try; then 1.17764 + as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 1.17765 + else 1.17766 + ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 1.17767 + fi 1.17768 +done 1.17769 + 1.17770 +# For the awk script, D is an array of macro values keyed by name, 1.17771 +# likewise P contains macro parameters if any. Preserve backslash 1.17772 +# newline sequences. 1.17773 + 1.17774 +ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 1.17775 +sed -n ' 1.17776 +s/.\{148\}/&'"$ac_delim"'/g 1.17777 +t rset 1.17778 +:rset 1.17779 +s/^[ ]*#[ ]*define[ ][ ]*/ / 1.17780 +t def 1.17781 +d 1.17782 +:def 1.17783 +s/\\$// 1.17784 +t bsnl 1.17785 +s/["\\]/\\&/g 1.17786 +s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 1.17787 +D["\1"]=" \3"/p 1.17788 +s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 1.17789 +d 1.17790 +:bsnl 1.17791 +s/["\\]/\\&/g 1.17792 +s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 1.17793 +D["\1"]=" \3\\\\\\n"\\/p 1.17794 +t cont 1.17795 +s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 1.17796 +t cont 1.17797 +d 1.17798 +:cont 1.17799 +n 1.17800 +s/.\{148\}/&'"$ac_delim"'/g 1.17801 +t clear 1.17802 +:clear 1.17803 +s/\\$// 1.17804 +t bsnlc 1.17805 +s/["\\]/\\&/g; s/^/"/; s/$/"/p 1.17806 +d 1.17807 +:bsnlc 1.17808 +s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 1.17809 +b cont 1.17810 +' <confdefs.h | sed ' 1.17811 +s/'"$ac_delim"'/"\\\ 1.17812 +"/g' >>$CONFIG_STATUS || ac_write_fail=1 1.17813 + 1.17814 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 1.17815 + for (key in D) D_is_set[key] = 1 1.17816 + FS = "" 1.17817 +} 1.17818 +/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 1.17819 + line = \$ 0 1.17820 + split(line, arg, " ") 1.17821 + if (arg[1] == "#") { 1.17822 + defundef = arg[2] 1.17823 + mac1 = arg[3] 1.17824 + } else { 1.17825 + defundef = substr(arg[1], 2) 1.17826 + mac1 = arg[2] 1.17827 + } 1.17828 + split(mac1, mac2, "(") #) 1.17829 + macro = mac2[1] 1.17830 + prefix = substr(line, 1, index(line, defundef) - 1) 1.17831 + if (D_is_set[macro]) { 1.17832 + # Preserve the white space surrounding the "#". 1.17833 + print prefix "define", macro P[macro] D[macro] 1.17834 + next 1.17835 + } else { 1.17836 + # Replace #undef with comments. This is necessary, for example, 1.17837 + # in the case of _POSIX_SOURCE, which is predefined and required 1.17838 + # on some systems where configure will not decide to define it. 1.17839 + if (defundef == "undef") { 1.17840 + print "/*", prefix defundef, macro, "*/" 1.17841 + next 1.17842 + } 1.17843 + } 1.17844 +} 1.17845 +{ print } 1.17846 +_ACAWK 1.17847 +_ACEOF 1.17848 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 1.17849 + as_fn_error "could not setup config headers machinery" "$LINENO" 5 1.17850 +fi # test -n "$CONFIG_HEADERS" 1.17851 + 1.17852 + 1.17853 +eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 1.17854 +shift 1.17855 +for ac_tag 1.17856 +do 1.17857 + case $ac_tag in 1.17858 + :[FHLC]) ac_mode=$ac_tag; continue;; 1.17859 + esac 1.17860 + case $ac_mode$ac_tag in 1.17861 + :[FHL]*:*);; 1.17862 + :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; 1.17863 + :[FH]-) ac_tag=-:-;; 1.17864 + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 1.17865 + esac 1.17866 + ac_save_IFS=$IFS 1.17867 + IFS=: 1.17868 + set x $ac_tag 1.17869 + IFS=$ac_save_IFS 1.17870 + shift 1.17871 + ac_file=$1 1.17872 + shift 1.17873 + 1.17874 + case $ac_mode in 1.17875 + :L) ac_source=$1;; 1.17876 + :[FH]) 1.17877 + ac_file_inputs= 1.17878 + for ac_f 1.17879 + do 1.17880 + case $ac_f in 1.17881 + -) ac_f="$tmp/stdin";; 1.17882 + *) # Look for the file first in the build tree, then in the source tree 1.17883 + # (if the path is not absolute). The absolute path cannot be DOS-style, 1.17884 + # because $ac_f cannot contain `:'. 1.17885 + test -f "$ac_f" || 1.17886 + case $ac_f in 1.17887 + [\\/$]*) false;; 1.17888 + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 1.17889 + esac || 1.17890 + as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; 1.17891 + esac 1.17892 + case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 1.17893 + as_fn_append ac_file_inputs " '$ac_f'" 1.17894 + done 1.17895 + 1.17896 + # Let's still pretend it is `configure' which instantiates (i.e., don't 1.17897 + # use $as_me), people would be surprised to read: 1.17898 + # /* config.h. Generated by config.status. */ 1.17899 + configure_input='Generated from '` 1.17900 + $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 1.17901 + `' by configure.' 1.17902 + if test x"$ac_file" != x-; then 1.17903 + configure_input="$ac_file. $configure_input" 1.17904 + { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 1.17905 +$as_echo "$as_me: creating $ac_file" >&6;} 1.17906 + fi 1.17907 + # Neutralize special characters interpreted by sed in replacement strings. 1.17908 + case $configure_input in #( 1.17909 + *\&* | *\|* | *\\* ) 1.17910 + ac_sed_conf_input=`$as_echo "$configure_input" | 1.17911 + sed 's/[\\\\&|]/\\\\&/g'`;; #( 1.17912 + *) ac_sed_conf_input=$configure_input;; 1.17913 + esac 1.17914 + 1.17915 + case $ac_tag in 1.17916 + *:-:* | *:-) cat >"$tmp/stdin" \ 1.17917 + || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; 1.17918 + esac 1.17919 + ;; 1.17920 + esac 1.17921 + 1.17922 + ac_dir=`$as_dirname -- "$ac_file" || 1.17923 +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1.17924 + X"$ac_file" : 'X\(//\)[^/]' \| \ 1.17925 + X"$ac_file" : 'X\(//\)$' \| \ 1.17926 + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 1.17927 +$as_echo X"$ac_file" | 1.17928 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1.17929 + s//\1/ 1.17930 + q 1.17931 + } 1.17932 + /^X\(\/\/\)[^/].*/{ 1.17933 + s//\1/ 1.17934 + q 1.17935 + } 1.17936 + /^X\(\/\/\)$/{ 1.17937 + s//\1/ 1.17938 + q 1.17939 + } 1.17940 + /^X\(\/\).*/{ 1.17941 + s//\1/ 1.17942 + q 1.17943 + } 1.17944 + s/.*/./; q'` 1.17945 + as_dir="$ac_dir"; as_fn_mkdir_p 1.17946 + ac_builddir=. 1.17947 + 1.17948 +case "$ac_dir" in 1.17949 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1.17950 +*) 1.17951 + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1.17952 + # A ".." for each directory in $ac_dir_suffix. 1.17953 + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1.17954 + case $ac_top_builddir_sub in 1.17955 + "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1.17956 + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1.17957 + esac ;; 1.17958 +esac 1.17959 +ac_abs_top_builddir=$ac_pwd 1.17960 +ac_abs_builddir=$ac_pwd$ac_dir_suffix 1.17961 +# for backward compatibility: 1.17962 +ac_top_builddir=$ac_top_build_prefix 1.17963 + 1.17964 +case $srcdir in 1.17965 + .) # We are building in place. 1.17966 + ac_srcdir=. 1.17967 + ac_top_srcdir=$ac_top_builddir_sub 1.17968 + ac_abs_top_srcdir=$ac_pwd ;; 1.17969 + [\\/]* | ?:[\\/]* ) # Absolute name. 1.17970 + ac_srcdir=$srcdir$ac_dir_suffix; 1.17971 + ac_top_srcdir=$srcdir 1.17972 + ac_abs_top_srcdir=$srcdir ;; 1.17973 + *) # Relative name. 1.17974 + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1.17975 + ac_top_srcdir=$ac_top_build_prefix$srcdir 1.17976 + ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1.17977 +esac 1.17978 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1.17979 + 1.17980 + 1.17981 + case $ac_mode in 1.17982 + :F) 1.17983 + # 1.17984 + # CONFIG_FILE 1.17985 + # 1.17986 + 1.17987 + case $INSTALL in 1.17988 + [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 1.17989 + *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 1.17990 + esac 1.17991 + ac_MKDIR_P=$MKDIR_P 1.17992 + case $MKDIR_P in 1.17993 + [\\/$]* | ?:[\\/]* ) ;; 1.17994 + */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 1.17995 + esac 1.17996 +_ACEOF 1.17997 + 1.17998 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 1.17999 +# If the template does not know about datarootdir, expand it. 1.18000 +# FIXME: This hack should be removed a few years after 2.60. 1.18001 +ac_datarootdir_hack=; ac_datarootdir_seen= 1.18002 +ac_sed_dataroot=' 1.18003 +/datarootdir/ { 1.18004 + p 1.18005 + q 1.18006 +} 1.18007 +/@datadir@/p 1.18008 +/@docdir@/p 1.18009 +/@infodir@/p 1.18010 +/@localedir@/p 1.18011 +/@mandir@/p' 1.18012 +case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 1.18013 +*datarootdir*) ac_datarootdir_seen=yes;; 1.18014 +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 1.18015 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 1.18016 +$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 1.18017 +_ACEOF 1.18018 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 1.18019 + ac_datarootdir_hack=' 1.18020 + s&@datadir@&$datadir&g 1.18021 + s&@docdir@&$docdir&g 1.18022 + s&@infodir@&$infodir&g 1.18023 + s&@localedir@&$localedir&g 1.18024 + s&@mandir@&$mandir&g 1.18025 + s&\\\${datarootdir}&$datarootdir&g' ;; 1.18026 +esac 1.18027 +_ACEOF 1.18028 + 1.18029 +# Neutralize VPATH when `$srcdir' = `.'. 1.18030 +# Shell code in configure.ac might set extrasub. 1.18031 +# FIXME: do we really want to maintain this feature? 1.18032 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 1.18033 +ac_sed_extra="$ac_vpsub 1.18034 +$extrasub 1.18035 +_ACEOF 1.18036 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 1.18037 +:t 1.18038 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 1.18039 +s|@configure_input@|$ac_sed_conf_input|;t t 1.18040 +s&@top_builddir@&$ac_top_builddir_sub&;t t 1.18041 +s&@top_build_prefix@&$ac_top_build_prefix&;t t 1.18042 +s&@srcdir@&$ac_srcdir&;t t 1.18043 +s&@abs_srcdir@&$ac_abs_srcdir&;t t 1.18044 +s&@top_srcdir@&$ac_top_srcdir&;t t 1.18045 +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 1.18046 +s&@builddir@&$ac_builddir&;t t 1.18047 +s&@abs_builddir@&$ac_abs_builddir&;t t 1.18048 +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 1.18049 +s&@INSTALL@&$ac_INSTALL&;t t 1.18050 +s&@MKDIR_P@&$ac_MKDIR_P&;t t 1.18051 +$ac_datarootdir_hack 1.18052 +" 1.18053 +eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 1.18054 + || as_fn_error "could not create $ac_file" "$LINENO" 5 1.18055 + 1.18056 +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 1.18057 + { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 1.18058 + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 1.18059 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 1.18060 +which seems to be undefined. Please make sure it is defined." >&5 1.18061 +$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 1.18062 +which seems to be undefined. Please make sure it is defined." >&2;} 1.18063 + 1.18064 + rm -f "$tmp/stdin" 1.18065 + case $ac_file in 1.18066 + -) cat "$tmp/out" && rm -f "$tmp/out";; 1.18067 + *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 1.18068 + esac \ 1.18069 + || as_fn_error "could not create $ac_file" "$LINENO" 5 1.18070 + ;; 1.18071 + :H) 1.18072 + # 1.18073 + # CONFIG_HEADER 1.18074 + # 1.18075 + if test x"$ac_file" != x-; then 1.18076 + { 1.18077 + $as_echo "/* $configure_input */" \ 1.18078 + && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 1.18079 + } >"$tmp/config.h" \ 1.18080 + || as_fn_error "could not create $ac_file" "$LINENO" 5 1.18081 + if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 1.18082 + { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 1.18083 +$as_echo "$as_me: $ac_file is unchanged" >&6;} 1.18084 + else 1.18085 + rm -f "$ac_file" 1.18086 + mv "$tmp/config.h" "$ac_file" \ 1.18087 + || as_fn_error "could not create $ac_file" "$LINENO" 5 1.18088 + fi 1.18089 + else 1.18090 + $as_echo "/* $configure_input */" \ 1.18091 + && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 1.18092 + || as_fn_error "could not create -" "$LINENO" 5 1.18093 + fi 1.18094 +# Compute "$ac_file"'s index in $config_headers. 1.18095 +_am_arg="$ac_file" 1.18096 +_am_stamp_count=1 1.18097 +for _am_header in $config_headers :; do 1.18098 + case $_am_header in 1.18099 + $_am_arg | $_am_arg:* ) 1.18100 + break ;; 1.18101 + * ) 1.18102 + _am_stamp_count=`expr $_am_stamp_count + 1` ;; 1.18103 + esac 1.18104 +done 1.18105 +echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 1.18106 +$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1.18107 + X"$_am_arg" : 'X\(//\)[^/]' \| \ 1.18108 + X"$_am_arg" : 'X\(//\)$' \| \ 1.18109 + X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 1.18110 +$as_echo X"$_am_arg" | 1.18111 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1.18112 + s//\1/ 1.18113 + q 1.18114 + } 1.18115 + /^X\(\/\/\)[^/].*/{ 1.18116 + s//\1/ 1.18117 + q 1.18118 + } 1.18119 + /^X\(\/\/\)$/{ 1.18120 + s//\1/ 1.18121 + q 1.18122 + } 1.18123 + /^X\(\/\).*/{ 1.18124 + s//\1/ 1.18125 + q 1.18126 + } 1.18127 + s/.*/./; q'`/stamp-h$_am_stamp_count 1.18128 + ;; 1.18129 + 1.18130 + :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 1.18131 +$as_echo "$as_me: executing $ac_file commands" >&6;} 1.18132 + ;; 1.18133 + esac 1.18134 + 1.18135 + 1.18136 + case $ac_file$ac_mode in 1.18137 + "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 1.18138 + # Autoconf 2.62 quotes --file arguments for eval, but not when files 1.18139 + # are listed without --file. Let's play safe and only enable the eval 1.18140 + # if we detect the quoting. 1.18141 + case $CONFIG_FILES in 1.18142 + *\'*) eval set x "$CONFIG_FILES" ;; 1.18143 + *) set x $CONFIG_FILES ;; 1.18144 + esac 1.18145 + shift 1.18146 + for mf 1.18147 + do 1.18148 + # Strip MF so we end up with the name of the file. 1.18149 + mf=`echo "$mf" | sed -e 's/:.*$//'` 1.18150 + # Check whether this is an Automake generated Makefile or not. 1.18151 + # We used to match only the files named `Makefile.in', but 1.18152 + # some people rename them; so instead we look at the file content. 1.18153 + # Grep'ing the first line is not enough: some people post-process 1.18154 + # each Makefile.in and add a new line on top of each file to say so. 1.18155 + # Grep'ing the whole file is not good either: AIX grep has a line 1.18156 + # limit of 2048, but all sed's we know have understand at least 4000. 1.18157 + if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 1.18158 + dirpart=`$as_dirname -- "$mf" || 1.18159 +$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1.18160 + X"$mf" : 'X\(//\)[^/]' \| \ 1.18161 + X"$mf" : 'X\(//\)$' \| \ 1.18162 + X"$mf" : 'X\(/\)' \| . 2>/dev/null || 1.18163 +$as_echo X"$mf" | 1.18164 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1.18165 + s//\1/ 1.18166 + q 1.18167 + } 1.18168 + /^X\(\/\/\)[^/].*/{ 1.18169 + s//\1/ 1.18170 + q 1.18171 + } 1.18172 + /^X\(\/\/\)$/{ 1.18173 + s//\1/ 1.18174 + q 1.18175 + } 1.18176 + /^X\(\/\).*/{ 1.18177 + s//\1/ 1.18178 + q 1.18179 + } 1.18180 + s/.*/./; q'` 1.18181 + else 1.18182 + continue 1.18183 + fi 1.18184 + # Extract the definition of DEPDIR, am__include, and am__quote 1.18185 + # from the Makefile without running `make'. 1.18186 + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 1.18187 + test -z "$DEPDIR" && continue 1.18188 + am__include=`sed -n 's/^am__include = //p' < "$mf"` 1.18189 + test -z "am__include" && continue 1.18190 + am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 1.18191 + # When using ansi2knr, U may be empty or an underscore; expand it 1.18192 + U=`sed -n 's/^U = //p' < "$mf"` 1.18193 + # Find all dependency output files, they are included files with 1.18194 + # $(DEPDIR) in their names. We invoke sed twice because it is the 1.18195 + # simplest approach to changing $(DEPDIR) to its actual value in the 1.18196 + # expansion. 1.18197 + for file in `sed -n " 1.18198 + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 1.18199 + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 1.18200 + # Make sure the directory exists. 1.18201 + test -f "$dirpart/$file" && continue 1.18202 + fdir=`$as_dirname -- "$file" || 1.18203 +$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1.18204 + X"$file" : 'X\(//\)[^/]' \| \ 1.18205 + X"$file" : 'X\(//\)$' \| \ 1.18206 + X"$file" : 'X\(/\)' \| . 2>/dev/null || 1.18207 +$as_echo X"$file" | 1.18208 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1.18209 + s//\1/ 1.18210 + q 1.18211 + } 1.18212 + /^X\(\/\/\)[^/].*/{ 1.18213 + s//\1/ 1.18214 + q 1.18215 + } 1.18216 + /^X\(\/\/\)$/{ 1.18217 + s//\1/ 1.18218 + q 1.18219 + } 1.18220 + /^X\(\/\).*/{ 1.18221 + s//\1/ 1.18222 + q 1.18223 + } 1.18224 + s/.*/./; q'` 1.18225 + as_dir=$dirpart/$fdir; as_fn_mkdir_p 1.18226 + # echo "creating $dirpart/$file" 1.18227 + echo '# dummy' > "$dirpart/$file" 1.18228 + done 1.18229 + done 1.18230 +} 1.18231 + ;; 1.18232 + "libtool":C) 1.18233 + 1.18234 + # See if we are running on zsh, and set the options which allow our 1.18235 + # commands through without removal of \ escapes. 1.18236 + if test -n "${ZSH_VERSION+set}" ; then 1.18237 + setopt NO_GLOB_SUBST 1.18238 + fi 1.18239 + 1.18240 + cfgfile="${ofile}T" 1.18241 + trap "$RM \"$cfgfile\"; exit 1" 1 2 15 1.18242 + $RM "$cfgfile" 1.18243 + 1.18244 + cat <<_LT_EOF >> "$cfgfile" 1.18245 +#! $SHELL 1.18246 + 1.18247 +# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. 1.18248 +# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION 1.18249 +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 1.18250 +# NOTE: Changes made to this file will be lost: look at ltmain.sh. 1.18251 +# 1.18252 +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 1.18253 +# 2006, 2007, 2008 Free Software Foundation, Inc. 1.18254 +# Written by Gordon Matzigkeit, 1996 1.18255 +# 1.18256 +# This file is part of GNU Libtool. 1.18257 +# 1.18258 +# GNU Libtool is free software; you can redistribute it and/or 1.18259 +# modify it under the terms of the GNU General Public License as 1.18260 +# published by the Free Software Foundation; either version 2 of 1.18261 +# the License, or (at your option) any later version. 1.18262 +# 1.18263 +# As a special exception to the GNU General Public License, 1.18264 +# if you distribute this file as part of a program or library that 1.18265 +# is built using GNU Libtool, you may include this file under the 1.18266 +# same distribution terms that you use for the rest of that program. 1.18267 +# 1.18268 +# GNU Libtool is distributed in the hope that it will be useful, 1.18269 +# but WITHOUT ANY WARRANTY; without even the implied warranty of 1.18270 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 1.18271 +# GNU General Public License for more details. 1.18272 +# 1.18273 +# You should have received a copy of the GNU General Public License 1.18274 +# along with GNU Libtool; see the file COPYING. If not, a copy 1.18275 +# can be downloaded from http://www.gnu.org/licenses/gpl.html, or 1.18276 +# obtained by writing to the Free Software Foundation, Inc., 1.18277 +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 1.18278 + 1.18279 + 1.18280 +# The names of the tagged configurations supported by this script. 1.18281 +available_tags="CXX " 1.18282 + 1.18283 +# ### BEGIN LIBTOOL CONFIG 1.18284 + 1.18285 +# Which release of libtool.m4 was used? 1.18286 +macro_version=$macro_version 1.18287 +macro_revision=$macro_revision 1.18288 + 1.18289 +# Whether or not to build shared libraries. 1.18290 +build_libtool_libs=$enable_shared 1.18291 + 1.18292 +# Whether or not to build static libraries. 1.18293 +build_old_libs=$enable_static 1.18294 + 1.18295 +# What type of objects to build. 1.18296 +pic_mode=$pic_mode 1.18297 + 1.18298 +# Whether or not to optimize for fast installation. 1.18299 +fast_install=$enable_fast_install 1.18300 + 1.18301 +# The host system. 1.18302 +host_alias=$host_alias 1.18303 +host=$host 1.18304 +host_os=$host_os 1.18305 + 1.18306 +# The build system. 1.18307 +build_alias=$build_alias 1.18308 +build=$build 1.18309 +build_os=$build_os 1.18310 + 1.18311 +# A sed program that does not truncate output. 1.18312 +SED=$lt_SED 1.18313 + 1.18314 +# Sed that helps us avoid accidentally triggering echo(1) options like -n. 1.18315 +Xsed="\$SED -e 1s/^X//" 1.18316 + 1.18317 +# A grep program that handles long lines. 1.18318 +GREP=$lt_GREP 1.18319 + 1.18320 +# An ERE matcher. 1.18321 +EGREP=$lt_EGREP 1.18322 + 1.18323 +# A literal string matcher. 1.18324 +FGREP=$lt_FGREP 1.18325 + 1.18326 +# A BSD- or MS-compatible name lister. 1.18327 +NM=$lt_NM 1.18328 + 1.18329 +# Whether we need soft or hard links. 1.18330 +LN_S=$lt_LN_S 1.18331 + 1.18332 +# What is the maximum length of a command? 1.18333 +max_cmd_len=$max_cmd_len 1.18334 + 1.18335 +# Object file suffix (normally "o"). 1.18336 +objext=$ac_objext 1.18337 + 1.18338 +# Executable file suffix (normally ""). 1.18339 +exeext=$exeext 1.18340 + 1.18341 +# whether the shell understands "unset". 1.18342 +lt_unset=$lt_unset 1.18343 + 1.18344 +# turn spaces into newlines. 1.18345 +SP2NL=$lt_lt_SP2NL 1.18346 + 1.18347 +# turn newlines into spaces. 1.18348 +NL2SP=$lt_lt_NL2SP 1.18349 + 1.18350 +# How to create reloadable object files. 1.18351 +reload_flag=$lt_reload_flag 1.18352 +reload_cmds=$lt_reload_cmds 1.18353 + 1.18354 +# An object symbol dumper. 1.18355 +OBJDUMP=$lt_OBJDUMP 1.18356 + 1.18357 +# Method to check whether dependent libraries are shared objects. 1.18358 +deplibs_check_method=$lt_deplibs_check_method 1.18359 + 1.18360 +# Command to use when deplibs_check_method == "file_magic". 1.18361 +file_magic_cmd=$lt_file_magic_cmd 1.18362 + 1.18363 +# The archiver. 1.18364 +AR=$lt_AR 1.18365 +AR_FLAGS=$lt_AR_FLAGS 1.18366 + 1.18367 +# A symbol stripping program. 1.18368 +STRIP=$lt_STRIP 1.18369 + 1.18370 +# Commands used to install an old-style archive. 1.18371 +RANLIB=$lt_RANLIB 1.18372 +old_postinstall_cmds=$lt_old_postinstall_cmds 1.18373 +old_postuninstall_cmds=$lt_old_postuninstall_cmds 1.18374 + 1.18375 +# A C compiler. 1.18376 +LTCC=$lt_CC 1.18377 + 1.18378 +# LTCC compiler flags. 1.18379 +LTCFLAGS=$lt_CFLAGS 1.18380 + 1.18381 +# Take the output of nm and produce a listing of raw symbols and C names. 1.18382 +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 1.18383 + 1.18384 +# Transform the output of nm in a proper C declaration. 1.18385 +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 1.18386 + 1.18387 +# Transform the output of nm in a C name address pair. 1.18388 +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 1.18389 + 1.18390 +# Transform the output of nm in a C name address pair when lib prefix is needed. 1.18391 +global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 1.18392 + 1.18393 +# The name of the directory that contains temporary libtool files. 1.18394 +objdir=$objdir 1.18395 + 1.18396 +# Shell to use when invoking shell scripts. 1.18397 +SHELL=$lt_SHELL 1.18398 + 1.18399 +# An echo program that does not interpret backslashes. 1.18400 +ECHO=$lt_ECHO 1.18401 + 1.18402 +# Used to examine libraries when file_magic_cmd begins with "file". 1.18403 +MAGIC_CMD=$MAGIC_CMD 1.18404 + 1.18405 +# Must we lock files when doing compilation? 1.18406 +need_locks=$lt_need_locks 1.18407 + 1.18408 +# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 1.18409 +DSYMUTIL=$lt_DSYMUTIL 1.18410 + 1.18411 +# Tool to change global to local symbols on Mac OS X. 1.18412 +NMEDIT=$lt_NMEDIT 1.18413 + 1.18414 +# Tool to manipulate fat objects and archives on Mac OS X. 1.18415 +LIPO=$lt_LIPO 1.18416 + 1.18417 +# ldd/readelf like tool for Mach-O binaries on Mac OS X. 1.18418 +OTOOL=$lt_OTOOL 1.18419 + 1.18420 +# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 1.18421 +OTOOL64=$lt_OTOOL64 1.18422 + 1.18423 +# Old archive suffix (normally "a"). 1.18424 +libext=$libext 1.18425 + 1.18426 +# Shared library suffix (normally ".so"). 1.18427 +shrext_cmds=$lt_shrext_cmds 1.18428 + 1.18429 +# The commands to extract the exported symbol list from a shared archive. 1.18430 +extract_expsyms_cmds=$lt_extract_expsyms_cmds 1.18431 + 1.18432 +# Variables whose values should be saved in libtool wrapper scripts and 1.18433 +# restored at link time. 1.18434 +variables_saved_for_relink=$lt_variables_saved_for_relink 1.18435 + 1.18436 +# Do we need the "lib" prefix for modules? 1.18437 +need_lib_prefix=$need_lib_prefix 1.18438 + 1.18439 +# Do we need a version for libraries? 1.18440 +need_version=$need_version 1.18441 + 1.18442 +# Library versioning type. 1.18443 +version_type=$version_type 1.18444 + 1.18445 +# Shared library runtime path variable. 1.18446 +runpath_var=$runpath_var 1.18447 + 1.18448 +# Shared library path variable. 1.18449 +shlibpath_var=$shlibpath_var 1.18450 + 1.18451 +# Is shlibpath searched before the hard-coded library search path? 1.18452 +shlibpath_overrides_runpath=$shlibpath_overrides_runpath 1.18453 + 1.18454 +# Format of library name prefix. 1.18455 +libname_spec=$lt_libname_spec 1.18456 + 1.18457 +# List of archive names. First name is the real one, the rest are links. 1.18458 +# The last name is the one that the linker finds with -lNAME 1.18459 +library_names_spec=$lt_library_names_spec 1.18460 + 1.18461 +# The coded name of the library, if different from the real name. 1.18462 +soname_spec=$lt_soname_spec 1.18463 + 1.18464 +# Command to use after installation of a shared archive. 1.18465 +postinstall_cmds=$lt_postinstall_cmds 1.18466 + 1.18467 +# Command to use after uninstallation of a shared archive. 1.18468 +postuninstall_cmds=$lt_postuninstall_cmds 1.18469 + 1.18470 +# Commands used to finish a libtool library installation in a directory. 1.18471 +finish_cmds=$lt_finish_cmds 1.18472 + 1.18473 +# As "finish_cmds", except a single script fragment to be evaled but 1.18474 +# not shown. 1.18475 +finish_eval=$lt_finish_eval 1.18476 + 1.18477 +# Whether we should hardcode library paths into libraries. 1.18478 +hardcode_into_libs=$hardcode_into_libs 1.18479 + 1.18480 +# Compile-time system search path for libraries. 1.18481 +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 1.18482 + 1.18483 +# Run-time system search path for libraries. 1.18484 +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec 1.18485 + 1.18486 +# Whether dlopen is supported. 1.18487 +dlopen_support=$enable_dlopen 1.18488 + 1.18489 +# Whether dlopen of programs is supported. 1.18490 +dlopen_self=$enable_dlopen_self 1.18491 + 1.18492 +# Whether dlopen of statically linked programs is supported. 1.18493 +dlopen_self_static=$enable_dlopen_self_static 1.18494 + 1.18495 +# Commands to strip libraries. 1.18496 +old_striplib=$lt_old_striplib 1.18497 +striplib=$lt_striplib 1.18498 + 1.18499 + 1.18500 +# The linker used to build libraries. 1.18501 +LD=$lt_LD 1.18502 + 1.18503 +# Commands used to build an old-style archive. 1.18504 +old_archive_cmds=$lt_old_archive_cmds 1.18505 + 1.18506 +# A language specific compiler. 1.18507 +CC=$lt_compiler 1.18508 + 1.18509 +# Is the compiler the GNU compiler? 1.18510 +with_gcc=$GCC 1.18511 + 1.18512 +# Compiler flag to turn off builtin functions. 1.18513 +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 1.18514 + 1.18515 +# How to pass a linker flag through the compiler. 1.18516 +wl=$lt_lt_prog_compiler_wl 1.18517 + 1.18518 +# Additional compiler flags for building library objects. 1.18519 +pic_flag=$lt_lt_prog_compiler_pic 1.18520 + 1.18521 +# Compiler flag to prevent dynamic linking. 1.18522 +link_static_flag=$lt_lt_prog_compiler_static 1.18523 + 1.18524 +# Does compiler simultaneously support -c and -o options? 1.18525 +compiler_c_o=$lt_lt_cv_prog_compiler_c_o 1.18526 + 1.18527 +# Whether or not to add -lc for building shared libraries. 1.18528 +build_libtool_need_lc=$archive_cmds_need_lc 1.18529 + 1.18530 +# Whether or not to disallow shared libs when runtime libs are static. 1.18531 +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 1.18532 + 1.18533 +# Compiler flag to allow reflexive dlopens. 1.18534 +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 1.18535 + 1.18536 +# Compiler flag to generate shared objects directly from archives. 1.18537 +whole_archive_flag_spec=$lt_whole_archive_flag_spec 1.18538 + 1.18539 +# Whether the compiler copes with passing no objects directly. 1.18540 +compiler_needs_object=$lt_compiler_needs_object 1.18541 + 1.18542 +# Create an old-style archive from a shared archive. 1.18543 +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 1.18544 + 1.18545 +# Create a temporary old-style archive to link instead of a shared archive. 1.18546 +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 1.18547 + 1.18548 +# Commands used to build a shared archive. 1.18549 +archive_cmds=$lt_archive_cmds 1.18550 +archive_expsym_cmds=$lt_archive_expsym_cmds 1.18551 + 1.18552 +# Commands used to build a loadable module if different from building 1.18553 +# a shared archive. 1.18554 +module_cmds=$lt_module_cmds 1.18555 +module_expsym_cmds=$lt_module_expsym_cmds 1.18556 + 1.18557 +# Whether we are building with GNU ld or not. 1.18558 +with_gnu_ld=$lt_with_gnu_ld 1.18559 + 1.18560 +# Flag that allows shared libraries with undefined symbols to be built. 1.18561 +allow_undefined_flag=$lt_allow_undefined_flag 1.18562 + 1.18563 +# Flag that enforces no undefined symbols. 1.18564 +no_undefined_flag=$lt_no_undefined_flag 1.18565 + 1.18566 +# Flag to hardcode \$libdir into a binary during linking. 1.18567 +# This must work even if \$libdir does not exist 1.18568 +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 1.18569 + 1.18570 +# If ld is used when linking, flag to hardcode \$libdir into a binary 1.18571 +# during linking. This must work even if \$libdir does not exist. 1.18572 +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld 1.18573 + 1.18574 +# Whether we need a single "-rpath" flag with a separated argument. 1.18575 +hardcode_libdir_separator=$lt_hardcode_libdir_separator 1.18576 + 1.18577 +# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 1.18578 +# DIR into the resulting binary. 1.18579 +hardcode_direct=$hardcode_direct 1.18580 + 1.18581 +# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 1.18582 +# DIR into the resulting binary and the resulting library dependency is 1.18583 +# "absolute",i.e impossible to change by setting \${shlibpath_var} if the 1.18584 +# library is relocated. 1.18585 +hardcode_direct_absolute=$hardcode_direct_absolute 1.18586 + 1.18587 +# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 1.18588 +# into the resulting binary. 1.18589 +hardcode_minus_L=$hardcode_minus_L 1.18590 + 1.18591 +# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 1.18592 +# into the resulting binary. 1.18593 +hardcode_shlibpath_var=$hardcode_shlibpath_var 1.18594 + 1.18595 +# Set to "yes" if building a shared library automatically hardcodes DIR 1.18596 +# into the library and all subsequent libraries and executables linked 1.18597 +# against it. 1.18598 +hardcode_automatic=$hardcode_automatic 1.18599 + 1.18600 +# Set to yes if linker adds runtime paths of dependent libraries 1.18601 +# to runtime path list. 1.18602 +inherit_rpath=$inherit_rpath 1.18603 + 1.18604 +# Whether libtool must link a program against all its dependency libraries. 1.18605 +link_all_deplibs=$link_all_deplibs 1.18606 + 1.18607 +# Fix the shell variable \$srcfile for the compiler. 1.18608 +fix_srcfile_path=$lt_fix_srcfile_path 1.18609 + 1.18610 +# Set to "yes" if exported symbols are required. 1.18611 +always_export_symbols=$always_export_symbols 1.18612 + 1.18613 +# The commands to list exported symbols. 1.18614 +export_symbols_cmds=$lt_export_symbols_cmds 1.18615 + 1.18616 +# Symbols that should not be listed in the preloaded symbols. 1.18617 +exclude_expsyms=$lt_exclude_expsyms 1.18618 + 1.18619 +# Symbols that must always be exported. 1.18620 +include_expsyms=$lt_include_expsyms 1.18621 + 1.18622 +# Commands necessary for linking programs (against libraries) with templates. 1.18623 +prelink_cmds=$lt_prelink_cmds 1.18624 + 1.18625 +# Specify filename containing input files. 1.18626 +file_list_spec=$lt_file_list_spec 1.18627 + 1.18628 +# How to hardcode a shared library path into an executable. 1.18629 +hardcode_action=$hardcode_action 1.18630 + 1.18631 +# The directories searched by this compiler when creating a shared library. 1.18632 +compiler_lib_search_dirs=$lt_compiler_lib_search_dirs 1.18633 + 1.18634 +# Dependencies to place before and after the objects being linked to 1.18635 +# create a shared library. 1.18636 +predep_objects=$lt_predep_objects 1.18637 +postdep_objects=$lt_postdep_objects 1.18638 +predeps=$lt_predeps 1.18639 +postdeps=$lt_postdeps 1.18640 + 1.18641 +# The library search path used internally by the compiler when linking 1.18642 +# a shared library. 1.18643 +compiler_lib_search_path=$lt_compiler_lib_search_path 1.18644 + 1.18645 +# ### END LIBTOOL CONFIG 1.18646 + 1.18647 +_LT_EOF 1.18648 + 1.18649 + case $host_os in 1.18650 + aix3*) 1.18651 + cat <<\_LT_EOF >> "$cfgfile" 1.18652 +# AIX sometimes has problems with the GCC collect2 program. For some 1.18653 +# reason, if we set the COLLECT_NAMES environment variable, the problems 1.18654 +# vanish in a puff of smoke. 1.18655 +if test "X${COLLECT_NAMES+set}" != Xset; then 1.18656 + COLLECT_NAMES= 1.18657 + export COLLECT_NAMES 1.18658 +fi 1.18659 +_LT_EOF 1.18660 + ;; 1.18661 + esac 1.18662 + 1.18663 + 1.18664 +ltmain="$ac_aux_dir/ltmain.sh" 1.18665 + 1.18666 + 1.18667 + # We use sed instead of cat because bash on DJGPP gets confused if 1.18668 + # if finds mixed CR/LF and LF-only lines. Since sed operates in 1.18669 + # text mode, it properly converts lines to CR/LF. This bash problem 1.18670 + # is reportedly fixed, but why not run on old versions too? 1.18671 + sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \ 1.18672 + || (rm -f "$cfgfile"; exit 1) 1.18673 + 1.18674 + case $xsi_shell in 1.18675 + yes) 1.18676 + cat << \_LT_EOF >> "$cfgfile" 1.18677 + 1.18678 +# func_dirname file append nondir_replacement 1.18679 +# Compute the dirname of FILE. If nonempty, add APPEND to the result, 1.18680 +# otherwise set result to NONDIR_REPLACEMENT. 1.18681 +func_dirname () 1.18682 +{ 1.18683 + case ${1} in 1.18684 + */*) func_dirname_result="${1%/*}${2}" ;; 1.18685 + * ) func_dirname_result="${3}" ;; 1.18686 + esac 1.18687 +} 1.18688 + 1.18689 +# func_basename file 1.18690 +func_basename () 1.18691 +{ 1.18692 + func_basename_result="${1##*/}" 1.18693 +} 1.18694 + 1.18695 +# func_dirname_and_basename file append nondir_replacement 1.18696 +# perform func_basename and func_dirname in a single function 1.18697 +# call: 1.18698 +# dirname: Compute the dirname of FILE. If nonempty, 1.18699 +# add APPEND to the result, otherwise set result 1.18700 +# to NONDIR_REPLACEMENT. 1.18701 +# value returned in "$func_dirname_result" 1.18702 +# basename: Compute filename of FILE. 1.18703 +# value retuned in "$func_basename_result" 1.18704 +# Implementation must be kept synchronized with func_dirname 1.18705 +# and func_basename. For efficiency, we do not delegate to 1.18706 +# those functions but instead duplicate the functionality here. 1.18707 +func_dirname_and_basename () 1.18708 +{ 1.18709 + case ${1} in 1.18710 + */*) func_dirname_result="${1%/*}${2}" ;; 1.18711 + * ) func_dirname_result="${3}" ;; 1.18712 + esac 1.18713 + func_basename_result="${1##*/}" 1.18714 +} 1.18715 + 1.18716 +# func_stripname prefix suffix name 1.18717 +# strip PREFIX and SUFFIX off of NAME. 1.18718 +# PREFIX and SUFFIX must not contain globbing or regex special 1.18719 +# characters, hashes, percent signs, but SUFFIX may contain a leading 1.18720 +# dot (in which case that matches only a dot). 1.18721 +func_stripname () 1.18722 +{ 1.18723 + # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are 1.18724 + # positional parameters, so assign one to ordinary parameter first. 1.18725 + func_stripname_result=${3} 1.18726 + func_stripname_result=${func_stripname_result#"${1}"} 1.18727 + func_stripname_result=${func_stripname_result%"${2}"} 1.18728 +} 1.18729 + 1.18730 +# func_opt_split 1.18731 +func_opt_split () 1.18732 +{ 1.18733 + func_opt_split_opt=${1%%=*} 1.18734 + func_opt_split_arg=${1#*=} 1.18735 +} 1.18736 + 1.18737 +# func_lo2o object 1.18738 +func_lo2o () 1.18739 +{ 1.18740 + case ${1} in 1.18741 + *.lo) func_lo2o_result=${1%.lo}.${objext} ;; 1.18742 + *) func_lo2o_result=${1} ;; 1.18743 + esac 1.18744 +} 1.18745 + 1.18746 +# func_xform libobj-or-source 1.18747 +func_xform () 1.18748 +{ 1.18749 + func_xform_result=${1%.*}.lo 1.18750 +} 1.18751 + 1.18752 +# func_arith arithmetic-term... 1.18753 +func_arith () 1.18754 +{ 1.18755 + func_arith_result=$(( $* )) 1.18756 +} 1.18757 + 1.18758 +# func_len string 1.18759 +# STRING may not start with a hyphen. 1.18760 +func_len () 1.18761 +{ 1.18762 + func_len_result=${#1} 1.18763 +} 1.18764 + 1.18765 +_LT_EOF 1.18766 + ;; 1.18767 + *) # Bourne compatible functions. 1.18768 + cat << \_LT_EOF >> "$cfgfile" 1.18769 + 1.18770 +# func_dirname file append nondir_replacement 1.18771 +# Compute the dirname of FILE. If nonempty, add APPEND to the result, 1.18772 +# otherwise set result to NONDIR_REPLACEMENT. 1.18773 +func_dirname () 1.18774 +{ 1.18775 + # Extract subdirectory from the argument. 1.18776 + func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"` 1.18777 + if test "X$func_dirname_result" = "X${1}"; then 1.18778 + func_dirname_result="${3}" 1.18779 + else 1.18780 + func_dirname_result="$func_dirname_result${2}" 1.18781 + fi 1.18782 +} 1.18783 + 1.18784 +# func_basename file 1.18785 +func_basename () 1.18786 +{ 1.18787 + func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"` 1.18788 +} 1.18789 + 1.18790 + 1.18791 +# func_stripname prefix suffix name 1.18792 +# strip PREFIX and SUFFIX off of NAME. 1.18793 +# PREFIX and SUFFIX must not contain globbing or regex special 1.18794 +# characters, hashes, percent signs, but SUFFIX may contain a leading 1.18795 +# dot (in which case that matches only a dot). 1.18796 +# func_strip_suffix prefix name 1.18797 +func_stripname () 1.18798 +{ 1.18799 + case ${2} in 1.18800 + .*) func_stripname_result=`$ECHO "X${3}" \ 1.18801 + | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;; 1.18802 + *) func_stripname_result=`$ECHO "X${3}" \ 1.18803 + | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;; 1.18804 + esac 1.18805 +} 1.18806 + 1.18807 +# sed scripts: 1.18808 +my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q' 1.18809 +my_sed_long_arg='1s/^-[^=]*=//' 1.18810 + 1.18811 +# func_opt_split 1.18812 +func_opt_split () 1.18813 +{ 1.18814 + func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"` 1.18815 + func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"` 1.18816 +} 1.18817 + 1.18818 +# func_lo2o object 1.18819 +func_lo2o () 1.18820 +{ 1.18821 + func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"` 1.18822 +} 1.18823 + 1.18824 +# func_xform libobj-or-source 1.18825 +func_xform () 1.18826 +{ 1.18827 + func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'` 1.18828 +} 1.18829 + 1.18830 +# func_arith arithmetic-term... 1.18831 +func_arith () 1.18832 +{ 1.18833 + func_arith_result=`expr "$@"` 1.18834 +} 1.18835 + 1.18836 +# func_len string 1.18837 +# STRING may not start with a hyphen. 1.18838 +func_len () 1.18839 +{ 1.18840 + func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len` 1.18841 +} 1.18842 + 1.18843 +_LT_EOF 1.18844 +esac 1.18845 + 1.18846 +case $lt_shell_append in 1.18847 + yes) 1.18848 + cat << \_LT_EOF >> "$cfgfile" 1.18849 + 1.18850 +# func_append var value 1.18851 +# Append VALUE to the end of shell variable VAR. 1.18852 +func_append () 1.18853 +{ 1.18854 + eval "$1+=\$2" 1.18855 +} 1.18856 +_LT_EOF 1.18857 + ;; 1.18858 + *) 1.18859 + cat << \_LT_EOF >> "$cfgfile" 1.18860 + 1.18861 +# func_append var value 1.18862 +# Append VALUE to the end of shell variable VAR. 1.18863 +func_append () 1.18864 +{ 1.18865 + eval "$1=\$$1\$2" 1.18866 +} 1.18867 + 1.18868 +_LT_EOF 1.18869 + ;; 1.18870 + esac 1.18871 + 1.18872 + 1.18873 + sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \ 1.18874 + || (rm -f "$cfgfile"; exit 1) 1.18875 + 1.18876 + mv -f "$cfgfile" "$ofile" || 1.18877 + (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 1.18878 + chmod +x "$ofile" 1.18879 + 1.18880 + 1.18881 + cat <<_LT_EOF >> "$ofile" 1.18882 + 1.18883 +# ### BEGIN LIBTOOL TAG CONFIG: CXX 1.18884 + 1.18885 +# The linker used to build libraries. 1.18886 +LD=$lt_LD_CXX 1.18887 + 1.18888 +# Commands used to build an old-style archive. 1.18889 +old_archive_cmds=$lt_old_archive_cmds_CXX 1.18890 + 1.18891 +# A language specific compiler. 1.18892 +CC=$lt_compiler_CXX 1.18893 + 1.18894 +# Is the compiler the GNU compiler? 1.18895 +with_gcc=$GCC_CXX 1.18896 + 1.18897 +# Compiler flag to turn off builtin functions. 1.18898 +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX 1.18899 + 1.18900 +# How to pass a linker flag through the compiler. 1.18901 +wl=$lt_lt_prog_compiler_wl_CXX 1.18902 + 1.18903 +# Additional compiler flags for building library objects. 1.18904 +pic_flag=$lt_lt_prog_compiler_pic_CXX 1.18905 + 1.18906 +# Compiler flag to prevent dynamic linking. 1.18907 +link_static_flag=$lt_lt_prog_compiler_static_CXX 1.18908 + 1.18909 +# Does compiler simultaneously support -c and -o options? 1.18910 +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX 1.18911 + 1.18912 +# Whether or not to add -lc for building shared libraries. 1.18913 +build_libtool_need_lc=$archive_cmds_need_lc_CXX 1.18914 + 1.18915 +# Whether or not to disallow shared libs when runtime libs are static. 1.18916 +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX 1.18917 + 1.18918 +# Compiler flag to allow reflexive dlopens. 1.18919 +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX 1.18920 + 1.18921 +# Compiler flag to generate shared objects directly from archives. 1.18922 +whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX 1.18923 + 1.18924 +# Whether the compiler copes with passing no objects directly. 1.18925 +compiler_needs_object=$lt_compiler_needs_object_CXX 1.18926 + 1.18927 +# Create an old-style archive from a shared archive. 1.18928 +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX 1.18929 + 1.18930 +# Create a temporary old-style archive to link instead of a shared archive. 1.18931 +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX 1.18932 + 1.18933 +# Commands used to build a shared archive. 1.18934 +archive_cmds=$lt_archive_cmds_CXX 1.18935 +archive_expsym_cmds=$lt_archive_expsym_cmds_CXX 1.18936 + 1.18937 +# Commands used to build a loadable module if different from building 1.18938 +# a shared archive. 1.18939 +module_cmds=$lt_module_cmds_CXX 1.18940 +module_expsym_cmds=$lt_module_expsym_cmds_CXX 1.18941 + 1.18942 +# Whether we are building with GNU ld or not. 1.18943 +with_gnu_ld=$lt_with_gnu_ld_CXX 1.18944 + 1.18945 +# Flag that allows shared libraries with undefined symbols to be built. 1.18946 +allow_undefined_flag=$lt_allow_undefined_flag_CXX 1.18947 + 1.18948 +# Flag that enforces no undefined symbols. 1.18949 +no_undefined_flag=$lt_no_undefined_flag_CXX 1.18950 + 1.18951 +# Flag to hardcode \$libdir into a binary during linking. 1.18952 +# This must work even if \$libdir does not exist 1.18953 +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX 1.18954 + 1.18955 +# If ld is used when linking, flag to hardcode \$libdir into a binary 1.18956 +# during linking. This must work even if \$libdir does not exist. 1.18957 +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX 1.18958 + 1.18959 +# Whether we need a single "-rpath" flag with a separated argument. 1.18960 +hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX 1.18961 + 1.18962 +# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 1.18963 +# DIR into the resulting binary. 1.18964 +hardcode_direct=$hardcode_direct_CXX 1.18965 + 1.18966 +# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 1.18967 +# DIR into the resulting binary and the resulting library dependency is 1.18968 +# "absolute",i.e impossible to change by setting \${shlibpath_var} if the 1.18969 +# library is relocated. 1.18970 +hardcode_direct_absolute=$hardcode_direct_absolute_CXX 1.18971 + 1.18972 +# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 1.18973 +# into the resulting binary. 1.18974 +hardcode_minus_L=$hardcode_minus_L_CXX 1.18975 + 1.18976 +# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 1.18977 +# into the resulting binary. 1.18978 +hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX 1.18979 + 1.18980 +# Set to "yes" if building a shared library automatically hardcodes DIR 1.18981 +# into the library and all subsequent libraries and executables linked 1.18982 +# against it. 1.18983 +hardcode_automatic=$hardcode_automatic_CXX 1.18984 + 1.18985 +# Set to yes if linker adds runtime paths of dependent libraries 1.18986 +# to runtime path list. 1.18987 +inherit_rpath=$inherit_rpath_CXX 1.18988 + 1.18989 +# Whether libtool must link a program against all its dependency libraries. 1.18990 +link_all_deplibs=$link_all_deplibs_CXX 1.18991 + 1.18992 +# Fix the shell variable \$srcfile for the compiler. 1.18993 +fix_srcfile_path=$lt_fix_srcfile_path_CXX 1.18994 + 1.18995 +# Set to "yes" if exported symbols are required. 1.18996 +always_export_symbols=$always_export_symbols_CXX 1.18997 + 1.18998 +# The commands to list exported symbols. 1.18999 +export_symbols_cmds=$lt_export_symbols_cmds_CXX 1.19000 + 1.19001 +# Symbols that should not be listed in the preloaded symbols. 1.19002 +exclude_expsyms=$lt_exclude_expsyms_CXX 1.19003 + 1.19004 +# Symbols that must always be exported. 1.19005 +include_expsyms=$lt_include_expsyms_CXX 1.19006 + 1.19007 +# Commands necessary for linking programs (against libraries) with templates. 1.19008 +prelink_cmds=$lt_prelink_cmds_CXX 1.19009 + 1.19010 +# Specify filename containing input files. 1.19011 +file_list_spec=$lt_file_list_spec_CXX 1.19012 + 1.19013 +# How to hardcode a shared library path into an executable. 1.19014 +hardcode_action=$hardcode_action_CXX 1.19015 + 1.19016 +# The directories searched by this compiler when creating a shared library. 1.19017 +compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX 1.19018 + 1.19019 +# Dependencies to place before and after the objects being linked to 1.19020 +# create a shared library. 1.19021 +predep_objects=$lt_predep_objects_CXX 1.19022 +postdep_objects=$lt_postdep_objects_CXX 1.19023 +predeps=$lt_predeps_CXX 1.19024 +postdeps=$lt_postdeps_CXX 1.19025 + 1.19026 +# The library search path used internally by the compiler when linking 1.19027 +# a shared library. 1.19028 +compiler_lib_search_path=$lt_compiler_lib_search_path_CXX 1.19029 + 1.19030 +# ### END LIBTOOL TAG CONFIG: CXX 1.19031 +_LT_EOF 1.19032 + 1.19033 + ;; 1.19034 + 1.19035 + esac 1.19036 +done # for ac_tag 1.19037 + 1.19038 + 1.19039 +as_fn_exit 0 1.19040 +_ACEOF 1.19041 +ac_clean_files=$ac_clean_files_save 1.19042 + 1.19043 +test $ac_write_fail = 0 || 1.19044 + as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 1.19045 + 1.19046 + 1.19047 +# configure is writing to config.log, and then calls config.status. 1.19048 +# config.status does its own redirection, appending to config.log. 1.19049 +# Unfortunately, on DOS this fails, as config.log is still kept open 1.19050 +# by configure, so config.status won't be able to write to it; its 1.19051 +# output is simply discarded. So we exec the FD to /dev/null, 1.19052 +# effectively closing config.log, so it can be properly (re)opened and 1.19053 +# appended to by config.status. When coming back to configure, we 1.19054 +# need to make the FD available again. 1.19055 +if test "$no_create" != yes; then 1.19056 + ac_cs_success=: 1.19057 + ac_config_status_args= 1.19058 + test "$silent" = yes && 1.19059 + ac_config_status_args="$ac_config_status_args --quiet" 1.19060 + exec 5>/dev/null 1.19061 + $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 1.19062 + exec 5>>config.log 1.19063 + # Use ||, not &&, to avoid exiting from the if with $? = 1, which 1.19064 + # would make configure fail if this is the last instruction. 1.19065 + $ac_cs_success || as_fn_exit $? 1.19066 +fi 1.19067 +if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 1.19068 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 1.19069 +$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 1.19070 +fi 1.19071 +