1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/nsprpub/configure Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,9890 @@ 1.4 +#! /bin/sh 1.5 +# Guess values for system-dependent variables and create Makefiles. 1.6 +# Generated by GNU Autoconf 2.69. 1.7 +# 1.8 +# 1.9 +# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 1.10 +# 1.11 +# 1.12 +# This configure script is free software; the Free Software Foundation 1.13 +# gives unlimited permission to copy, distribute and modify it. 1.14 +## -------------------- ## 1.15 +## M4sh Initialization. ## 1.16 +## -------------------- ## 1.17 + 1.18 +# Be more Bourne compatible 1.19 +DUALCASE=1; export DUALCASE # for MKS sh 1.20 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 1.21 + emulate sh 1.22 + NULLCMD=: 1.23 + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 1.24 + # is contrary to our usage. Disable this feature. 1.25 + alias -g '${1+"$@"}'='"$@"' 1.26 + setopt NO_GLOB_SUBST 1.27 +else 1.28 + case `(set -o) 2>/dev/null` in #( 1.29 + *posix*) : 1.30 + set -o posix ;; #( 1.31 + *) : 1.32 + ;; 1.33 +esac 1.34 +fi 1.35 + 1.36 + 1.37 +as_nl=' 1.38 +' 1.39 +export as_nl 1.40 +# Printing a long string crashes Solaris 7 /usr/bin/printf. 1.41 +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 1.42 +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 1.43 +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 1.44 +# Prefer a ksh shell builtin over an external printf program on Solaris, 1.45 +# but without wasting forks for bash or zsh. 1.46 +if test -z "$BASH_VERSION$ZSH_VERSION" \ 1.47 + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 1.48 + as_echo='print -r --' 1.49 + as_echo_n='print -rn --' 1.50 +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 1.51 + as_echo='printf %s\n' 1.52 + as_echo_n='printf %s' 1.53 +else 1.54 + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 1.55 + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 1.56 + as_echo_n='/usr/ucb/echo -n' 1.57 + else 1.58 + as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 1.59 + as_echo_n_body='eval 1.60 + arg=$1; 1.61 + case $arg in #( 1.62 + *"$as_nl"*) 1.63 + expr "X$arg" : "X\\(.*\\)$as_nl"; 1.64 + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 1.65 + esac; 1.66 + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 1.67 + ' 1.68 + export as_echo_n_body 1.69 + as_echo_n='sh -c $as_echo_n_body as_echo' 1.70 + fi 1.71 + export as_echo_body 1.72 + as_echo='sh -c $as_echo_body as_echo' 1.73 +fi 1.74 + 1.75 +# The user is always right. 1.76 +if test "${PATH_SEPARATOR+set}" != set; then 1.77 + PATH_SEPARATOR=: 1.78 + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 1.79 + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 1.80 + PATH_SEPARATOR=';' 1.81 + } 1.82 +fi 1.83 + 1.84 + 1.85 +# IFS 1.86 +# We need space, tab and new line, in precisely that order. Quoting is 1.87 +# there to prevent editors from complaining about space-tab. 1.88 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word 1.89 +# splitting by setting IFS to empty value.) 1.90 +IFS=" "" $as_nl" 1.91 + 1.92 +# Find who we are. Look in the path if we contain no directory separator. 1.93 +as_myself= 1.94 +case $0 in #(( 1.95 + *[\\/]* ) as_myself=$0 ;; 1.96 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1.97 +for as_dir in $PATH 1.98 +do 1.99 + IFS=$as_save_IFS 1.100 + test -z "$as_dir" && as_dir=. 1.101 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 1.102 + done 1.103 +IFS=$as_save_IFS 1.104 + 1.105 + ;; 1.106 +esac 1.107 +# We did not find ourselves, most probably we were run as `sh COMMAND' 1.108 +# in which case we are not to be found in the path. 1.109 +if test "x$as_myself" = x; then 1.110 + as_myself=$0 1.111 +fi 1.112 +if test ! -f "$as_myself"; then 1.113 + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 1.114 + exit 1 1.115 +fi 1.116 + 1.117 +# Unset variables that we do not need and which cause bugs (e.g. in 1.118 +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 1.119 +# suppresses any "Segmentation fault" message there. '((' could 1.120 +# trigger a bug in pdksh 5.2.14. 1.121 +for as_var in BASH_ENV ENV MAIL MAILPATH 1.122 +do eval test x\${$as_var+set} = xset \ 1.123 + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 1.124 +done 1.125 +PS1='$ ' 1.126 +PS2='> ' 1.127 +PS4='+ ' 1.128 + 1.129 +# NLS nuisances. 1.130 +LC_ALL=C 1.131 +export LC_ALL 1.132 +LANGUAGE=C 1.133 +export LANGUAGE 1.134 + 1.135 +# CDPATH. 1.136 +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 1.137 + 1.138 +# Use a proper internal environment variable to ensure we don't fall 1.139 + # into an infinite loop, continuously re-executing ourselves. 1.140 + if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 1.141 + _as_can_reexec=no; export _as_can_reexec; 1.142 + # We cannot yet assume a decent shell, so we have to provide a 1.143 +# neutralization value for shells without unset; and this also 1.144 +# works around shells that cannot unset nonexistent variables. 1.145 +# Preserve -v and -x to the replacement shell. 1.146 +BASH_ENV=/dev/null 1.147 +ENV=/dev/null 1.148 +(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 1.149 +case $- in # (((( 1.150 + *v*x* | *x*v* ) as_opts=-vx ;; 1.151 + *v* ) as_opts=-v ;; 1.152 + *x* ) as_opts=-x ;; 1.153 + * ) as_opts= ;; 1.154 +esac 1.155 +exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 1.156 +# Admittedly, this is quite paranoid, since all the known shells bail 1.157 +# out after a failed `exec'. 1.158 +$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 1.159 +as_fn_exit 255 1.160 + fi 1.161 + # We don't want this to propagate to other subprocesses. 1.162 + { _as_can_reexec=; unset _as_can_reexec;} 1.163 +if test "x$CONFIG_SHELL" = x; then 1.164 + as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 1.165 + emulate sh 1.166 + NULLCMD=: 1.167 + # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 1.168 + # is contrary to our usage. Disable this feature. 1.169 + alias -g '\${1+\"\$@\"}'='\"\$@\"' 1.170 + setopt NO_GLOB_SUBST 1.171 +else 1.172 + case \`(set -o) 2>/dev/null\` in #( 1.173 + *posix*) : 1.174 + set -o posix ;; #( 1.175 + *) : 1.176 + ;; 1.177 +esac 1.178 +fi 1.179 +" 1.180 + as_required="as_fn_return () { (exit \$1); } 1.181 +as_fn_success () { as_fn_return 0; } 1.182 +as_fn_failure () { as_fn_return 1; } 1.183 +as_fn_ret_success () { return 0; } 1.184 +as_fn_ret_failure () { return 1; } 1.185 + 1.186 +exitcode=0 1.187 +as_fn_success || { exitcode=1; echo as_fn_success failed.; } 1.188 +as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 1.189 +as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 1.190 +as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 1.191 +if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 1.192 + 1.193 +else 1.194 + exitcode=1; echo positional parameters were not saved. 1.195 +fi 1.196 +test x\$exitcode = x0 || exit 1 1.197 +test -x / || exit 1" 1.198 + as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 1.199 + as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 1.200 + eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 1.201 + test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 1.202 +test \$(( 1 + 1 )) = 2 || exit 1" 1.203 + if (eval "$as_required") 2>/dev/null; then : 1.204 + as_have_required=yes 1.205 +else 1.206 + as_have_required=no 1.207 +fi 1.208 + if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 1.209 + 1.210 +else 1.211 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1.212 +as_found=false 1.213 +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 1.214 +do 1.215 + IFS=$as_save_IFS 1.216 + test -z "$as_dir" && as_dir=. 1.217 + as_found=: 1.218 + case $as_dir in #( 1.219 + /*) 1.220 + for as_base in sh bash ksh sh5; do 1.221 + # Try only shells that exist, to save several forks. 1.222 + as_shell=$as_dir/$as_base 1.223 + if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 1.224 + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 1.225 + CONFIG_SHELL=$as_shell as_have_required=yes 1.226 + if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 1.227 + break 2 1.228 +fi 1.229 +fi 1.230 + done;; 1.231 + esac 1.232 + as_found=false 1.233 +done 1.234 +$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 1.235 + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 1.236 + CONFIG_SHELL=$SHELL as_have_required=yes 1.237 +fi; } 1.238 +IFS=$as_save_IFS 1.239 + 1.240 + 1.241 + if test "x$CONFIG_SHELL" != x; then : 1.242 + export CONFIG_SHELL 1.243 + # We cannot yet assume a decent shell, so we have to provide a 1.244 +# neutralization value for shells without unset; and this also 1.245 +# works around shells that cannot unset nonexistent variables. 1.246 +# Preserve -v and -x to the replacement shell. 1.247 +BASH_ENV=/dev/null 1.248 +ENV=/dev/null 1.249 +(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 1.250 +case $- in # (((( 1.251 + *v*x* | *x*v* ) as_opts=-vx ;; 1.252 + *v* ) as_opts=-v ;; 1.253 + *x* ) as_opts=-x ;; 1.254 + * ) as_opts= ;; 1.255 +esac 1.256 +exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 1.257 +# Admittedly, this is quite paranoid, since all the known shells bail 1.258 +# out after a failed `exec'. 1.259 +$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 1.260 +exit 255 1.261 +fi 1.262 + 1.263 + if test x$as_have_required = xno; then : 1.264 + $as_echo "$0: This script requires a shell more modern than all" 1.265 + $as_echo "$0: the shells that I found on your system." 1.266 + if test x${ZSH_VERSION+set} = xset ; then 1.267 + $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 1.268 + $as_echo "$0: be upgraded to zsh 4.3.4 or later." 1.269 + else 1.270 + $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, 1.271 +$0: including any error possibly output before this 1.272 +$0: message. Then install a modern shell, or manually run 1.273 +$0: the script under such a shell if you do have one." 1.274 + fi 1.275 + exit 1 1.276 +fi 1.277 +fi 1.278 +fi 1.279 +SHELL=${CONFIG_SHELL-/bin/sh} 1.280 +export SHELL 1.281 +# Unset more variables known to interfere with behavior of common tools. 1.282 +CLICOLOR_FORCE= GREP_OPTIONS= 1.283 +unset CLICOLOR_FORCE GREP_OPTIONS 1.284 + 1.285 +## --------------------- ## 1.286 +## M4sh Shell Functions. ## 1.287 +## --------------------- ## 1.288 +# as_fn_unset VAR 1.289 +# --------------- 1.290 +# Portably unset VAR. 1.291 +as_fn_unset () 1.292 +{ 1.293 + { eval $1=; unset $1;} 1.294 +} 1.295 +as_unset=as_fn_unset 1.296 + 1.297 +# as_fn_set_status STATUS 1.298 +# ----------------------- 1.299 +# Set $? to STATUS, without forking. 1.300 +as_fn_set_status () 1.301 +{ 1.302 + return $1 1.303 +} # as_fn_set_status 1.304 + 1.305 +# as_fn_exit STATUS 1.306 +# ----------------- 1.307 +# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 1.308 +as_fn_exit () 1.309 +{ 1.310 + set +e 1.311 + as_fn_set_status $1 1.312 + exit $1 1.313 +} # as_fn_exit 1.314 + 1.315 +# as_fn_mkdir_p 1.316 +# ------------- 1.317 +# Create "$as_dir" as a directory, including parents if necessary. 1.318 +as_fn_mkdir_p () 1.319 +{ 1.320 + 1.321 + case $as_dir in #( 1.322 + -*) as_dir=./$as_dir;; 1.323 + esac 1.324 + test -d "$as_dir" || eval $as_mkdir_p || { 1.325 + as_dirs= 1.326 + while :; do 1.327 + case $as_dir in #( 1.328 + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 1.329 + *) as_qdir=$as_dir;; 1.330 + esac 1.331 + as_dirs="'$as_qdir' $as_dirs" 1.332 + as_dir=`$as_dirname -- "$as_dir" || 1.333 +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1.334 + X"$as_dir" : 'X\(//\)[^/]' \| \ 1.335 + X"$as_dir" : 'X\(//\)$' \| \ 1.336 + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 1.337 +$as_echo X"$as_dir" | 1.338 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1.339 + s//\1/ 1.340 + q 1.341 + } 1.342 + /^X\(\/\/\)[^/].*/{ 1.343 + s//\1/ 1.344 + q 1.345 + } 1.346 + /^X\(\/\/\)$/{ 1.347 + s//\1/ 1.348 + q 1.349 + } 1.350 + /^X\(\/\).*/{ 1.351 + s//\1/ 1.352 + q 1.353 + } 1.354 + s/.*/./; q'` 1.355 + test -d "$as_dir" && break 1.356 + done 1.357 + test -z "$as_dirs" || eval "mkdir $as_dirs" 1.358 + } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 1.359 + 1.360 + 1.361 +} # as_fn_mkdir_p 1.362 + 1.363 +# as_fn_executable_p FILE 1.364 +# ----------------------- 1.365 +# Test if FILE is an executable regular file. 1.366 +as_fn_executable_p () 1.367 +{ 1.368 + test -f "$1" && test -x "$1" 1.369 +} # as_fn_executable_p 1.370 +# as_fn_append VAR VALUE 1.371 +# ---------------------- 1.372 +# Append the text in VALUE to the end of the definition contained in VAR. Take 1.373 +# advantage of any shell optimizations that allow amortized linear growth over 1.374 +# repeated appends, instead of the typical quadratic growth present in naive 1.375 +# implementations. 1.376 +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 1.377 + eval 'as_fn_append () 1.378 + { 1.379 + eval $1+=\$2 1.380 + }' 1.381 +else 1.382 + as_fn_append () 1.383 + { 1.384 + eval $1=\$$1\$2 1.385 + } 1.386 +fi # as_fn_append 1.387 + 1.388 +# as_fn_arith ARG... 1.389 +# ------------------ 1.390 +# Perform arithmetic evaluation on the ARGs, and store the result in the 1.391 +# global $as_val. Take advantage of shells that can avoid forks. The arguments 1.392 +# must be portable across $(()) and expr. 1.393 +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 1.394 + eval 'as_fn_arith () 1.395 + { 1.396 + as_val=$(( $* )) 1.397 + }' 1.398 +else 1.399 + as_fn_arith () 1.400 + { 1.401 + as_val=`expr "$@" || test $? -eq 1` 1.402 + } 1.403 +fi # as_fn_arith 1.404 + 1.405 + 1.406 +# as_fn_error STATUS ERROR [LINENO LOG_FD] 1.407 +# ---------------------------------------- 1.408 +# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 1.409 +# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 1.410 +# script with STATUS, using 1 if that was 0. 1.411 +as_fn_error () 1.412 +{ 1.413 + as_status=$1; test $as_status -eq 0 && as_status=1 1.414 + if test "$4"; then 1.415 + as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1.416 + $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 1.417 + fi 1.418 + $as_echo "$as_me: error: $2" >&2 1.419 + as_fn_exit $as_status 1.420 +} # as_fn_error 1.421 + 1.422 +if expr a : '\(a\)' >/dev/null 2>&1 && 1.423 + test "X`expr 00001 : '.*\(...\)'`" = X001; then 1.424 + as_expr=expr 1.425 +else 1.426 + as_expr=false 1.427 +fi 1.428 + 1.429 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 1.430 + as_basename=basename 1.431 +else 1.432 + as_basename=false 1.433 +fi 1.434 + 1.435 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 1.436 + as_dirname=dirname 1.437 +else 1.438 + as_dirname=false 1.439 +fi 1.440 + 1.441 +as_me=`$as_basename -- "$0" || 1.442 +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 1.443 + X"$0" : 'X\(//\)$' \| \ 1.444 + X"$0" : 'X\(/\)' \| . 2>/dev/null || 1.445 +$as_echo X/"$0" | 1.446 + sed '/^.*\/\([^/][^/]*\)\/*$/{ 1.447 + s//\1/ 1.448 + q 1.449 + } 1.450 + /^X\/\(\/\/\)$/{ 1.451 + s//\1/ 1.452 + q 1.453 + } 1.454 + /^X\/\(\/\).*/{ 1.455 + s//\1/ 1.456 + q 1.457 + } 1.458 + s/.*/./; q'` 1.459 + 1.460 +# Avoid depending upon Character Ranges. 1.461 +as_cr_letters='abcdefghijklmnopqrstuvwxyz' 1.462 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 1.463 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS 1.464 +as_cr_digits='0123456789' 1.465 +as_cr_alnum=$as_cr_Letters$as_cr_digits 1.466 + 1.467 + 1.468 + as_lineno_1=$LINENO as_lineno_1a=$LINENO 1.469 + as_lineno_2=$LINENO as_lineno_2a=$LINENO 1.470 + eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 1.471 + test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 1.472 + # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 1.473 + sed -n ' 1.474 + p 1.475 + /[$]LINENO/= 1.476 + ' <$as_myself | 1.477 + sed ' 1.478 + s/[$]LINENO.*/&-/ 1.479 + t lineno 1.480 + b 1.481 + :lineno 1.482 + N 1.483 + :loop 1.484 + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 1.485 + t loop 1.486 + s/-\n.*// 1.487 + ' >$as_me.lineno && 1.488 + chmod +x "$as_me.lineno" || 1.489 + { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 1.490 + 1.491 + # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 1.492 + # already done that, so ensure we don't try to do so again and fall 1.493 + # in an infinite loop. This has already happened in practice. 1.494 + _as_can_reexec=no; export _as_can_reexec 1.495 + # Don't try to exec as it changes $[0], causing all sort of problems 1.496 + # (the dirname of $[0] is not the place where we might find the 1.497 + # original and so on. Autoconf is especially sensitive to this). 1.498 + . "./$as_me.lineno" 1.499 + # Exit status is that of the last command. 1.500 + exit 1.501 +} 1.502 + 1.503 +ECHO_C= ECHO_N= ECHO_T= 1.504 +case `echo -n x` in #((((( 1.505 +-n*) 1.506 + case `echo 'xy\c'` in 1.507 + *c*) ECHO_T=' ';; # ECHO_T is single tab character. 1.508 + xy) ECHO_C='\c';; 1.509 + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 1.510 + ECHO_T=' ';; 1.511 + esac;; 1.512 +*) 1.513 + ECHO_N='-n';; 1.514 +esac 1.515 + 1.516 +rm -f conf$$ conf$$.exe conf$$.file 1.517 +if test -d conf$$.dir; then 1.518 + rm -f conf$$.dir/conf$$.file 1.519 +else 1.520 + rm -f conf$$.dir 1.521 + mkdir conf$$.dir 2>/dev/null 1.522 +fi 1.523 +if (echo >conf$$.file) 2>/dev/null; then 1.524 + if ln -s conf$$.file conf$$ 2>/dev/null; then 1.525 + as_ln_s='ln -s' 1.526 + # ... but there are two gotchas: 1.527 + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 1.528 + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 1.529 + # In both cases, we have to default to `cp -pR'. 1.530 + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 1.531 + as_ln_s='cp -pR' 1.532 + elif ln conf$$.file conf$$ 2>/dev/null; then 1.533 + as_ln_s=ln 1.534 + else 1.535 + as_ln_s='cp -pR' 1.536 + fi 1.537 +else 1.538 + as_ln_s='cp -pR' 1.539 +fi 1.540 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 1.541 +rmdir conf$$.dir 2>/dev/null 1.542 + 1.543 +if mkdir -p . 2>/dev/null; then 1.544 + as_mkdir_p='mkdir -p "$as_dir"' 1.545 +else 1.546 + test -d ./-p && rmdir ./-p 1.547 + as_mkdir_p=false 1.548 +fi 1.549 + 1.550 +as_test_x='test -x' 1.551 +as_executable_p=as_fn_executable_p 1.552 + 1.553 +# Sed expression to map a string onto a valid CPP name. 1.554 +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 1.555 + 1.556 +# Sed expression to map a string onto a valid variable name. 1.557 +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 1.558 + 1.559 + 1.560 +test -n "$DJDIR" || exec 7<&0 </dev/null 1.561 +exec 6>&1 1.562 + 1.563 +# Name of the host. 1.564 +# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 1.565 +# so uname gets run too. 1.566 +ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 1.567 + 1.568 +# 1.569 +# Initializations. 1.570 +# 1.571 +ac_default_prefix=/usr/local 1.572 +ac_clean_files= 1.573 +ac_config_libobj_dir=. 1.574 +LIBOBJS= 1.575 +cross_compiling=no 1.576 +subdirs= 1.577 +MFLAGS= 1.578 +MAKEFLAGS= 1.579 + 1.580 +# Identity of this package. 1.581 +PACKAGE_NAME= 1.582 +PACKAGE_TARNAME= 1.583 +PACKAGE_VERSION= 1.584 +PACKAGE_STRING= 1.585 +PACKAGE_BUGREPORT= 1.586 +PACKAGE_URL= 1.587 + 1.588 +ac_unique_file="pr/include/nspr.h" 1.589 +# Factoring default headers for most tests. 1.590 +ac_includes_default="\ 1.591 +#include <stdio.h> 1.592 +#ifdef HAVE_SYS_TYPES_H 1.593 +# include <sys/types.h> 1.594 +#endif 1.595 +#ifdef HAVE_SYS_STAT_H 1.596 +# include <sys/stat.h> 1.597 +#endif 1.598 +#ifdef STDC_HEADERS 1.599 +# include <stdlib.h> 1.600 +# include <stddef.h> 1.601 +#else 1.602 +# ifdef HAVE_STDLIB_H 1.603 +# include <stdlib.h> 1.604 +# endif 1.605 +#endif 1.606 +#ifdef HAVE_STRING_H 1.607 +# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 1.608 +# include <memory.h> 1.609 +# endif 1.610 +# include <string.h> 1.611 +#endif 1.612 +#ifdef HAVE_STRINGS_H 1.613 +# include <strings.h> 1.614 +#endif 1.615 +#ifdef HAVE_INTTYPES_H 1.616 +# include <inttypes.h> 1.617 +#endif 1.618 +#ifdef HAVE_STDINT_H 1.619 +# include <stdint.h> 1.620 +#endif 1.621 +#ifdef HAVE_UNISTD_H 1.622 +# include <unistd.h> 1.623 +#endif" 1.624 + 1.625 +ac_subst_vars='LTLIBOBJS 1.626 +LIBOBJS 1.627 +MT 1.628 +NEXT_ROOT 1.629 +SYMBIAN_SDK_DIR 1.630 +MACOS_SDK_DIR 1.631 +WRAP_SYSTEM_INCLUDES 1.632 +VISIBILITY_FLAGS 1.633 +CYGWIN_WRAPPER 1.634 +OS_DLLFLAGS 1.635 +EXEFLAGS 1.636 +DLLFLAGS 1.637 +RCFLAGS 1.638 +RC 1.639 +OPTIMIZER 1.640 +NSINSTALL 1.641 +RELEASE_OBJDIR_NAME 1.642 +OBJDIR_NAME 1.643 +OBJDIR 1.644 +ULTRASPARC_LIBRARY 1.645 +MOZ_OBJFORMAT 1.646 +NOSUCHFILE 1.647 +AIX_LINK_OPTS 1.648 +RESOLVE_LINK_SYMBOLS 1.649 +OS_LIBS 1.650 +PROFILE_USE_LDFLAGS 1.651 +PROFILE_USE_CFLAGS 1.652 +PROFILE_GEN_LDFLAGS 1.653 +PROFILE_GEN_CFLAGS 1.654 +IMPLIB 1.655 +FILTER 1.656 +ASFLAGS 1.657 +AR_FLAGS 1.658 +DEFINES 1.659 +MACOSX_DEPLOYMENT_TARGET 1.660 +OS_TEST 1.661 +OS_RELEASE 1.662 +OS_ARCH 1.663 +OS_TARGET 1.664 +DSO_LDOPTS 1.665 +DSO_CFLAGS 1.666 +MKSHLIB 1.667 +WRAP_LDFLAGS 1.668 +ASM_SUFFIX 1.669 +DLL_SUFFIX 1.670 +LIB_SUFFIX 1.671 +OBJ_SUFFIX 1.672 +CPU_ARCH 1.673 +PR_MD_ARCH_DIR 1.674 +PR_MD_ASFILES 1.675 +PR_MD_CSRCS 1.676 +MDCPUCFG_H 1.677 +NSPR_MODNAME 1.678 +MOD_PATCH_VERSION 1.679 +MOD_MINOR_VERSION 1.680 +MOD_MAJOR_VERSION 1.681 +LIBPLC 1.682 +LIBNSPR 1.683 +USE_NSPR_THREADS 1.684 +USE_USER_PTHREADS 1.685 +USE_BTHREADS 1.686 +USE_PTHREADS 1.687 +ENABLE_STRIP 1.688 +OBJECT_MODE 1.689 +USE_64 1.690 +USE_X32 1.691 +USE_N32 1.692 +USE_IPV6 1.693 +USE_CPLUS 1.694 +MOZ_DEBUG_SYMBOLS 1.695 +MOZ_DEBUG 1.696 +MOZ_OPTIMIZE 1.697 +CROSS_COMPILE 1.698 +MSC_VER 1.699 +GCC_USE_GNU_LD 1.700 +GNU_CC 1.701 +HOST_LDFLAGS 1.702 +HOST_CFLAGS 1.703 +MOZILLA_CLIENT 1.704 +SHELL_OVERRIDE 1.705 +CCACHE 1.706 +EGREP 1.707 +GREP 1.708 +PERL 1.709 +CPP 1.710 +HOST_CC 1.711 +WINDRES 1.712 +STRIP 1.713 +LD 1.714 +AS 1.715 +AR 1.716 +RANLIB 1.717 +ac_ct_CXX 1.718 +CXXFLAGS 1.719 +CXX 1.720 +OBJEXT 1.721 +EXEEXT 1.722 +ac_ct_CC 1.723 +CPPFLAGS 1.724 +LDFLAGS 1.725 +CFLAGS 1.726 +WHOAMI 1.727 +dist_libdir 1.728 +dist_includedir 1.729 +dist_bindir 1.730 +dist_prefix 1.731 +CC 1.732 +target_os 1.733 +target_vendor 1.734 +target_cpu 1.735 +target 1.736 +host_os 1.737 +host_vendor 1.738 +host_cpu 1.739 +host 1.740 +build_os 1.741 +build_vendor 1.742 +build_cpu 1.743 +build 1.744 +target_alias 1.745 +host_alias 1.746 +build_alias 1.747 +LIBS 1.748 +ECHO_T 1.749 +ECHO_N 1.750 +ECHO_C 1.751 +DEFS 1.752 +mandir 1.753 +localedir 1.754 +libdir 1.755 +psdir 1.756 +pdfdir 1.757 +dvidir 1.758 +htmldir 1.759 +infodir 1.760 +docdir 1.761 +oldincludedir 1.762 +includedir 1.763 +localstatedir 1.764 +sharedstatedir 1.765 +sysconfdir 1.766 +datadir 1.767 +datarootdir 1.768 +libexecdir 1.769 +sbindir 1.770 +bindir 1.771 +program_transform_name 1.772 +prefix 1.773 +exec_prefix 1.774 +PACKAGE_URL 1.775 +PACKAGE_BUGREPORT 1.776 +PACKAGE_STRING 1.777 +PACKAGE_VERSION 1.778 +PACKAGE_TARNAME 1.779 +PACKAGE_NAME 1.780 +PATH_SEPARATOR 1.781 +SHELL' 1.782 +ac_subst_files='' 1.783 +ac_user_opts=' 1.784 +enable_option_checking 1.785 +with_android_ndk 1.786 +with_android_toolchain 1.787 +with_android_version 1.788 +with_android_platform 1.789 +with_gonk 1.790 +with_dist_prefix 1.791 +with_dist_bindir 1.792 +with_dist_includedir 1.793 +with_dist_libdir 1.794 +with_mozilla 1.795 +enable_optimize 1.796 +enable_debug 1.797 +enable_debug_symbols 1.798 +enable_win32_target 1.799 +enable_symbian_target 1.800 +enable_debug_rtl 1.801 +enable_n32 1.802 +enable_x32 1.803 +enable_64bit 1.804 +enable_mdupdate 1.805 +enable_cplus 1.806 +with_arm_kuser 1.807 +with_macos_sdk 1.808 +enable_macos_target 1.809 +enable_os2_high_mem 1.810 +enable_thumb2 1.811 +with_thumb 1.812 +with_thumb_interwork 1.813 +with_arch 1.814 +with_fpu 1.815 +with_float_abi 1.816 +with_soft_float 1.817 +with_symbian_sdk 1.818 +with_ccache 1.819 +enable_strip 1.820 +with_pthreads 1.821 +enable_user_pthreads 1.822 +enable_nspr_threads 1.823 +with_bthreads 1.824 +enable_ipv6 1.825 +enable_wrap_malloc 1.826 +with_wrap_malloc 1.827 +' 1.828 + ac_precious_vars='build_alias 1.829 +host_alias 1.830 +target_alias 1.831 +CC 1.832 +CFLAGS 1.833 +LDFLAGS 1.834 +LIBS 1.835 +CPPFLAGS 1.836 +CXX 1.837 +CXXFLAGS 1.838 +CCC 1.839 +CPP' 1.840 + 1.841 + 1.842 +# Initialize some variables set by options. 1.843 +ac_init_help= 1.844 +ac_init_version=false 1.845 +ac_unrecognized_opts= 1.846 +ac_unrecognized_sep= 1.847 +# The variables have the same names as the options, with 1.848 +# dashes changed to underlines. 1.849 +cache_file=/dev/null 1.850 +exec_prefix=NONE 1.851 +no_create= 1.852 +no_recursion= 1.853 +prefix=NONE 1.854 +program_prefix=NONE 1.855 +program_suffix=NONE 1.856 +program_transform_name=s,x,x, 1.857 +silent= 1.858 +site= 1.859 +srcdir= 1.860 +verbose= 1.861 +x_includes=NONE 1.862 +x_libraries=NONE 1.863 + 1.864 +# Installation directory options. 1.865 +# These are left unexpanded so users can "make install exec_prefix=/foo" 1.866 +# and all the variables that are supposed to be based on exec_prefix 1.867 +# by default will actually change. 1.868 +# Use braces instead of parens because sh, perl, etc. also accept them. 1.869 +# (The list follows the same order as the GNU Coding Standards.) 1.870 +bindir='${exec_prefix}/bin' 1.871 +sbindir='${exec_prefix}/sbin' 1.872 +libexecdir='${exec_prefix}/libexec' 1.873 +datarootdir='${prefix}/share' 1.874 +datadir='${datarootdir}' 1.875 +sysconfdir='${prefix}/etc' 1.876 +sharedstatedir='${prefix}/com' 1.877 +localstatedir='${prefix}/var' 1.878 +includedir='${prefix}/include' 1.879 +oldincludedir='/usr/include' 1.880 +docdir='${datarootdir}/doc/${PACKAGE}' 1.881 +infodir='${datarootdir}/info' 1.882 +htmldir='${docdir}' 1.883 +dvidir='${docdir}' 1.884 +pdfdir='${docdir}' 1.885 +psdir='${docdir}' 1.886 +libdir='${exec_prefix}/lib' 1.887 +localedir='${datarootdir}/locale' 1.888 +mandir='${datarootdir}/man' 1.889 + 1.890 +ac_prev= 1.891 +ac_dashdash= 1.892 +for ac_option 1.893 +do 1.894 + # If the previous option needs an argument, assign it. 1.895 + if test -n "$ac_prev"; then 1.896 + eval $ac_prev=\$ac_option 1.897 + ac_prev= 1.898 + continue 1.899 + fi 1.900 + 1.901 + case $ac_option in 1.902 + *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 1.903 + *=) ac_optarg= ;; 1.904 + *) ac_optarg=yes ;; 1.905 + esac 1.906 + 1.907 + # Accept the important Cygnus configure options, so we can diagnose typos. 1.908 + 1.909 + case $ac_dashdash$ac_option in 1.910 + --) 1.911 + ac_dashdash=yes ;; 1.912 + 1.913 + -bindir | --bindir | --bindi | --bind | --bin | --bi) 1.914 + ac_prev=bindir ;; 1.915 + -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 1.916 + bindir=$ac_optarg ;; 1.917 + 1.918 + -build | --build | --buil | --bui | --bu) 1.919 + ac_prev=build_alias ;; 1.920 + -build=* | --build=* | --buil=* | --bui=* | --bu=*) 1.921 + build_alias=$ac_optarg ;; 1.922 + 1.923 + -cache-file | --cache-file | --cache-fil | --cache-fi \ 1.924 + | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 1.925 + ac_prev=cache_file ;; 1.926 + -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 1.927 + | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 1.928 + cache_file=$ac_optarg ;; 1.929 + 1.930 + --config-cache | -C) 1.931 + cache_file=config.cache ;; 1.932 + 1.933 + -datadir | --datadir | --datadi | --datad) 1.934 + ac_prev=datadir ;; 1.935 + -datadir=* | --datadir=* | --datadi=* | --datad=*) 1.936 + datadir=$ac_optarg ;; 1.937 + 1.938 + -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 1.939 + | --dataroo | --dataro | --datar) 1.940 + ac_prev=datarootdir ;; 1.941 + -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 1.942 + | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 1.943 + datarootdir=$ac_optarg ;; 1.944 + 1.945 + -disable-* | --disable-*) 1.946 + ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 1.947 + # Reject names that are not valid shell variable names. 1.948 + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1.949 + as_fn_error $? "invalid feature name: $ac_useropt" 1.950 + ac_useropt_orig=$ac_useropt 1.951 + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1.952 + case $ac_user_opts in 1.953 + *" 1.954 +"enable_$ac_useropt" 1.955 +"*) ;; 1.956 + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 1.957 + ac_unrecognized_sep=', ';; 1.958 + esac 1.959 + eval enable_$ac_useropt=no ;; 1.960 + 1.961 + -docdir | --docdir | --docdi | --doc | --do) 1.962 + ac_prev=docdir ;; 1.963 + -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 1.964 + docdir=$ac_optarg ;; 1.965 + 1.966 + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 1.967 + ac_prev=dvidir ;; 1.968 + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 1.969 + dvidir=$ac_optarg ;; 1.970 + 1.971 + -enable-* | --enable-*) 1.972 + ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 1.973 + # Reject names that are not valid shell variable names. 1.974 + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1.975 + as_fn_error $? "invalid feature name: $ac_useropt" 1.976 + ac_useropt_orig=$ac_useropt 1.977 + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1.978 + case $ac_user_opts in 1.979 + *" 1.980 +"enable_$ac_useropt" 1.981 +"*) ;; 1.982 + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 1.983 + ac_unrecognized_sep=', ';; 1.984 + esac 1.985 + eval enable_$ac_useropt=\$ac_optarg ;; 1.986 + 1.987 + -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 1.988 + | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 1.989 + | --exec | --exe | --ex) 1.990 + ac_prev=exec_prefix ;; 1.991 + -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 1.992 + | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 1.993 + | --exec=* | --exe=* | --ex=*) 1.994 + exec_prefix=$ac_optarg ;; 1.995 + 1.996 + -gas | --gas | --ga | --g) 1.997 + # Obsolete; use --with-gas. 1.998 + with_gas=yes ;; 1.999 + 1.1000 + -help | --help | --hel | --he | -h) 1.1001 + ac_init_help=long ;; 1.1002 + -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 1.1003 + ac_init_help=recursive ;; 1.1004 + -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 1.1005 + ac_init_help=short ;; 1.1006 + 1.1007 + -host | --host | --hos | --ho) 1.1008 + ac_prev=host_alias ;; 1.1009 + -host=* | --host=* | --hos=* | --ho=*) 1.1010 + host_alias=$ac_optarg ;; 1.1011 + 1.1012 + -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 1.1013 + ac_prev=htmldir ;; 1.1014 + -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 1.1015 + | --ht=*) 1.1016 + htmldir=$ac_optarg ;; 1.1017 + 1.1018 + -includedir | --includedir | --includedi | --included | --include \ 1.1019 + | --includ | --inclu | --incl | --inc) 1.1020 + ac_prev=includedir ;; 1.1021 + -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 1.1022 + | --includ=* | --inclu=* | --incl=* | --inc=*) 1.1023 + includedir=$ac_optarg ;; 1.1024 + 1.1025 + -infodir | --infodir | --infodi | --infod | --info | --inf) 1.1026 + ac_prev=infodir ;; 1.1027 + -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 1.1028 + infodir=$ac_optarg ;; 1.1029 + 1.1030 + -libdir | --libdir | --libdi | --libd) 1.1031 + ac_prev=libdir ;; 1.1032 + -libdir=* | --libdir=* | --libdi=* | --libd=*) 1.1033 + libdir=$ac_optarg ;; 1.1034 + 1.1035 + -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1.1036 + | --libexe | --libex | --libe) 1.1037 + ac_prev=libexecdir ;; 1.1038 + -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1.1039 + | --libexe=* | --libex=* | --libe=*) 1.1040 + libexecdir=$ac_optarg ;; 1.1041 + 1.1042 + -localedir | --localedir | --localedi | --localed | --locale) 1.1043 + ac_prev=localedir ;; 1.1044 + -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1.1045 + localedir=$ac_optarg ;; 1.1046 + 1.1047 + -localstatedir | --localstatedir | --localstatedi | --localstated \ 1.1048 + | --localstate | --localstat | --localsta | --localst | --locals) 1.1049 + ac_prev=localstatedir ;; 1.1050 + -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1.1051 + | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1.1052 + localstatedir=$ac_optarg ;; 1.1053 + 1.1054 + -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1.1055 + ac_prev=mandir ;; 1.1056 + -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1.1057 + mandir=$ac_optarg ;; 1.1058 + 1.1059 + -nfp | --nfp | --nf) 1.1060 + # Obsolete; use --without-fp. 1.1061 + with_fp=no ;; 1.1062 + 1.1063 + -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1.1064 + | --no-cr | --no-c | -n) 1.1065 + no_create=yes ;; 1.1066 + 1.1067 + -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1.1068 + | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1.1069 + no_recursion=yes ;; 1.1070 + 1.1071 + -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1.1072 + | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1.1073 + | --oldin | --oldi | --old | --ol | --o) 1.1074 + ac_prev=oldincludedir ;; 1.1075 + -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1.1076 + | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1.1077 + | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1.1078 + oldincludedir=$ac_optarg ;; 1.1079 + 1.1080 + -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1.1081 + ac_prev=prefix ;; 1.1082 + -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1.1083 + prefix=$ac_optarg ;; 1.1084 + 1.1085 + -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1.1086 + | --program-pre | --program-pr | --program-p) 1.1087 + ac_prev=program_prefix ;; 1.1088 + -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1.1089 + | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1.1090 + program_prefix=$ac_optarg ;; 1.1091 + 1.1092 + -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1.1093 + | --program-suf | --program-su | --program-s) 1.1094 + ac_prev=program_suffix ;; 1.1095 + -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1.1096 + | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1.1097 + program_suffix=$ac_optarg ;; 1.1098 + 1.1099 + -program-transform-name | --program-transform-name \ 1.1100 + | --program-transform-nam | --program-transform-na \ 1.1101 + | --program-transform-n | --program-transform- \ 1.1102 + | --program-transform | --program-transfor \ 1.1103 + | --program-transfo | --program-transf \ 1.1104 + | --program-trans | --program-tran \ 1.1105 + | --progr-tra | --program-tr | --program-t) 1.1106 + ac_prev=program_transform_name ;; 1.1107 + -program-transform-name=* | --program-transform-name=* \ 1.1108 + | --program-transform-nam=* | --program-transform-na=* \ 1.1109 + | --program-transform-n=* | --program-transform-=* \ 1.1110 + | --program-transform=* | --program-transfor=* \ 1.1111 + | --program-transfo=* | --program-transf=* \ 1.1112 + | --program-trans=* | --program-tran=* \ 1.1113 + | --progr-tra=* | --program-tr=* | --program-t=*) 1.1114 + program_transform_name=$ac_optarg ;; 1.1115 + 1.1116 + -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1.1117 + ac_prev=pdfdir ;; 1.1118 + -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1.1119 + pdfdir=$ac_optarg ;; 1.1120 + 1.1121 + -psdir | --psdir | --psdi | --psd | --ps) 1.1122 + ac_prev=psdir ;; 1.1123 + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1.1124 + psdir=$ac_optarg ;; 1.1125 + 1.1126 + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1.1127 + | -silent | --silent | --silen | --sile | --sil) 1.1128 + silent=yes ;; 1.1129 + 1.1130 + -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1.1131 + ac_prev=sbindir ;; 1.1132 + -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1.1133 + | --sbi=* | --sb=*) 1.1134 + sbindir=$ac_optarg ;; 1.1135 + 1.1136 + -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1.1137 + | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1.1138 + | --sharedst | --shareds | --shared | --share | --shar \ 1.1139 + | --sha | --sh) 1.1140 + ac_prev=sharedstatedir ;; 1.1141 + -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1.1142 + | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1.1143 + | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1.1144 + | --sha=* | --sh=*) 1.1145 + sharedstatedir=$ac_optarg ;; 1.1146 + 1.1147 + -site | --site | --sit) 1.1148 + ac_prev=site ;; 1.1149 + -site=* | --site=* | --sit=*) 1.1150 + site=$ac_optarg ;; 1.1151 + 1.1152 + -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1.1153 + ac_prev=srcdir ;; 1.1154 + -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1.1155 + srcdir=$ac_optarg ;; 1.1156 + 1.1157 + -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1.1158 + | --syscon | --sysco | --sysc | --sys | --sy) 1.1159 + ac_prev=sysconfdir ;; 1.1160 + -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1.1161 + | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1.1162 + sysconfdir=$ac_optarg ;; 1.1163 + 1.1164 + -target | --target | --targe | --targ | --tar | --ta | --t) 1.1165 + ac_prev=target_alias ;; 1.1166 + -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1.1167 + target_alias=$ac_optarg ;; 1.1168 + 1.1169 + -v | -verbose | --verbose | --verbos | --verbo | --verb) 1.1170 + verbose=yes ;; 1.1171 + 1.1172 + -version | --version | --versio | --versi | --vers | -V) 1.1173 + ac_init_version=: ;; 1.1174 + 1.1175 + -with-* | --with-*) 1.1176 + ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1.1177 + # Reject names that are not valid shell variable names. 1.1178 + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1.1179 + as_fn_error $? "invalid package name: $ac_useropt" 1.1180 + ac_useropt_orig=$ac_useropt 1.1181 + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1.1182 + case $ac_user_opts in 1.1183 + *" 1.1184 +"with_$ac_useropt" 1.1185 +"*) ;; 1.1186 + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1.1187 + ac_unrecognized_sep=', ';; 1.1188 + esac 1.1189 + eval with_$ac_useropt=\$ac_optarg ;; 1.1190 + 1.1191 + -without-* | --without-*) 1.1192 + ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1.1193 + # Reject names that are not valid shell variable names. 1.1194 + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1.1195 + as_fn_error $? "invalid package name: $ac_useropt" 1.1196 + ac_useropt_orig=$ac_useropt 1.1197 + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1.1198 + case $ac_user_opts in 1.1199 + *" 1.1200 +"with_$ac_useropt" 1.1201 +"*) ;; 1.1202 + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1.1203 + ac_unrecognized_sep=', ';; 1.1204 + esac 1.1205 + eval with_$ac_useropt=no ;; 1.1206 + 1.1207 + --x) 1.1208 + # Obsolete; use --with-x. 1.1209 + with_x=yes ;; 1.1210 + 1.1211 + -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1.1212 + | --x-incl | --x-inc | --x-in | --x-i) 1.1213 + ac_prev=x_includes ;; 1.1214 + -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1.1215 + | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1.1216 + x_includes=$ac_optarg ;; 1.1217 + 1.1218 + -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1.1219 + | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1.1220 + ac_prev=x_libraries ;; 1.1221 + -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1.1222 + | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1.1223 + x_libraries=$ac_optarg ;; 1.1224 + 1.1225 + -*) as_fn_error $? "unrecognized option: \`$ac_option' 1.1226 +Try \`$0 --help' for more information" 1.1227 + ;; 1.1228 + 1.1229 + *=*) 1.1230 + ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1.1231 + # Reject names that are not valid shell variable names. 1.1232 + case $ac_envvar in #( 1.1233 + '' | [0-9]* | *[!_$as_cr_alnum]* ) 1.1234 + as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1.1235 + esac 1.1236 + eval $ac_envvar=\$ac_optarg 1.1237 + export $ac_envvar ;; 1.1238 + 1.1239 + *) 1.1240 + # FIXME: should be removed in autoconf 3.0. 1.1241 + $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1.1242 + expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1.1243 + $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1.1244 + : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1.1245 + ;; 1.1246 + 1.1247 + esac 1.1248 +done 1.1249 + 1.1250 +if test -n "$ac_prev"; then 1.1251 + ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1.1252 + as_fn_error $? "missing argument to $ac_option" 1.1253 +fi 1.1254 + 1.1255 +if test -n "$ac_unrecognized_opts"; then 1.1256 + case $enable_option_checking in 1.1257 + no) ;; 1.1258 + fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1.1259 + *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1.1260 + esac 1.1261 +fi 1.1262 + 1.1263 +# Check all directory arguments for consistency. 1.1264 +for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1.1265 + datadir sysconfdir sharedstatedir localstatedir includedir \ 1.1266 + oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1.1267 + libdir localedir mandir 1.1268 +do 1.1269 + eval ac_val=\$$ac_var 1.1270 + # Remove trailing slashes. 1.1271 + case $ac_val in 1.1272 + */ ) 1.1273 + ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1.1274 + eval $ac_var=\$ac_val;; 1.1275 + esac 1.1276 + # Be sure to have absolute directory names. 1.1277 + case $ac_val in 1.1278 + [\\/$]* | ?:[\\/]* ) continue;; 1.1279 + NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1.1280 + esac 1.1281 + as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1.1282 +done 1.1283 + 1.1284 +# There might be people who depend on the old broken behavior: `$host' 1.1285 +# used to hold the argument of --host etc. 1.1286 +# FIXME: To remove some day. 1.1287 +build=$build_alias 1.1288 +host=$host_alias 1.1289 +target=$target_alias 1.1290 + 1.1291 +# FIXME: To remove some day. 1.1292 +if test "x$host_alias" != x; then 1.1293 + if test "x$build_alias" = x; then 1.1294 + cross_compiling=maybe 1.1295 + elif test "x$build_alias" != "x$host_alias"; then 1.1296 + cross_compiling=yes 1.1297 + fi 1.1298 +fi 1.1299 + 1.1300 +ac_tool_prefix= 1.1301 +test -n "$host_alias" && ac_tool_prefix=$host_alias- 1.1302 + 1.1303 +test "$silent" = yes && exec 6>/dev/null 1.1304 + 1.1305 + 1.1306 +ac_pwd=`pwd` && test -n "$ac_pwd" && 1.1307 +ac_ls_di=`ls -di .` && 1.1308 +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1.1309 + as_fn_error $? "working directory cannot be determined" 1.1310 +test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1.1311 + as_fn_error $? "pwd does not report name of working directory" 1.1312 + 1.1313 + 1.1314 +# Find the source files, if location was not specified. 1.1315 +if test -z "$srcdir"; then 1.1316 + ac_srcdir_defaulted=yes 1.1317 + # Try the directory containing this script, then the parent directory. 1.1318 + ac_confdir=`$as_dirname -- "$as_myself" || 1.1319 +$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1.1320 + X"$as_myself" : 'X\(//\)[^/]' \| \ 1.1321 + X"$as_myself" : 'X\(//\)$' \| \ 1.1322 + X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1.1323 +$as_echo X"$as_myself" | 1.1324 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1.1325 + s//\1/ 1.1326 + q 1.1327 + } 1.1328 + /^X\(\/\/\)[^/].*/{ 1.1329 + s//\1/ 1.1330 + q 1.1331 + } 1.1332 + /^X\(\/\/\)$/{ 1.1333 + s//\1/ 1.1334 + q 1.1335 + } 1.1336 + /^X\(\/\).*/{ 1.1337 + s//\1/ 1.1338 + q 1.1339 + } 1.1340 + s/.*/./; q'` 1.1341 + srcdir=$ac_confdir 1.1342 + if test ! -r "$srcdir/$ac_unique_file"; then 1.1343 + srcdir=.. 1.1344 + fi 1.1345 +else 1.1346 + ac_srcdir_defaulted=no 1.1347 +fi 1.1348 +if test ! -r "$srcdir/$ac_unique_file"; then 1.1349 + test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1.1350 + as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1.1351 +fi 1.1352 +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1.1353 +ac_abs_confdir=`( 1.1354 + cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1.1355 + pwd)` 1.1356 +# When building in place, set srcdir=. 1.1357 +if test "$ac_abs_confdir" = "$ac_pwd"; then 1.1358 + srcdir=. 1.1359 +fi 1.1360 +# Remove unnecessary trailing slashes from srcdir. 1.1361 +# Double slashes in file names in object file debugging info 1.1362 +# mess up M-x gdb in Emacs. 1.1363 +case $srcdir in 1.1364 +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1.1365 +esac 1.1366 +for ac_var in $ac_precious_vars; do 1.1367 + eval ac_env_${ac_var}_set=\${${ac_var}+set} 1.1368 + eval ac_env_${ac_var}_value=\$${ac_var} 1.1369 + eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1.1370 + eval ac_cv_env_${ac_var}_value=\$${ac_var} 1.1371 +done 1.1372 + 1.1373 +# 1.1374 +# Report the --help message. 1.1375 +# 1.1376 +if test "$ac_init_help" = "long"; then 1.1377 + # Omit some internal or obsolete options to make the list less imposing. 1.1378 + # This message is too long to be a string in the A/UX 3.1 sh. 1.1379 + cat <<_ACEOF 1.1380 +\`configure' configures this package to adapt to many kinds of systems. 1.1381 + 1.1382 +Usage: $0 [OPTION]... [VAR=VALUE]... 1.1383 + 1.1384 +To assign environment variables (e.g., CC, CFLAGS...), specify them as 1.1385 +VAR=VALUE. See below for descriptions of some of the useful variables. 1.1386 + 1.1387 +Defaults for the options are specified in brackets. 1.1388 + 1.1389 +Configuration: 1.1390 + -h, --help display this help and exit 1.1391 + --help=short display options specific to this package 1.1392 + --help=recursive display the short help of all the included packages 1.1393 + -V, --version display version information and exit 1.1394 + -q, --quiet, --silent do not print \`checking ...' messages 1.1395 + --cache-file=FILE cache test results in FILE [disabled] 1.1396 + -C, --config-cache alias for \`--cache-file=config.cache' 1.1397 + -n, --no-create do not create output files 1.1398 + --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1.1399 + 1.1400 +Installation directories: 1.1401 + --prefix=PREFIX install architecture-independent files in PREFIX 1.1402 + [$ac_default_prefix] 1.1403 + --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1.1404 + [PREFIX] 1.1405 + 1.1406 +By default, \`make install' will install all the files in 1.1407 +\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1.1408 +an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1.1409 +for instance \`--prefix=\$HOME'. 1.1410 + 1.1411 +For better control, use the options below. 1.1412 + 1.1413 +Fine tuning of the installation directories: 1.1414 + --bindir=DIR user executables [EPREFIX/bin] 1.1415 + --sbindir=DIR system admin executables [EPREFIX/sbin] 1.1416 + --libexecdir=DIR program executables [EPREFIX/libexec] 1.1417 + --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1.1418 + --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1.1419 + --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1.1420 + --libdir=DIR object code libraries [EPREFIX/lib] 1.1421 + --includedir=DIR C header files [PREFIX/include] 1.1422 + --oldincludedir=DIR C header files for non-gcc [/usr/include] 1.1423 + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1.1424 + --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1.1425 + --infodir=DIR info documentation [DATAROOTDIR/info] 1.1426 + --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1.1427 + --mandir=DIR man documentation [DATAROOTDIR/man] 1.1428 + --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] 1.1429 + --htmldir=DIR html documentation [DOCDIR] 1.1430 + --dvidir=DIR dvi documentation [DOCDIR] 1.1431 + --pdfdir=DIR pdf documentation [DOCDIR] 1.1432 + --psdir=DIR ps documentation [DOCDIR] 1.1433 +_ACEOF 1.1434 + 1.1435 + cat <<\_ACEOF 1.1436 + 1.1437 +System types: 1.1438 + --build=BUILD configure for building on BUILD [guessed] 1.1439 + --host=HOST cross-compile to build programs to run on HOST [BUILD] 1.1440 + --target=TARGET configure for building compilers for TARGET [HOST] 1.1441 +_ACEOF 1.1442 +fi 1.1443 + 1.1444 +if test -n "$ac_init_help"; then 1.1445 + 1.1446 + cat <<\_ACEOF 1.1447 + 1.1448 +Optional Features: 1.1449 + --disable-option-checking ignore unrecognized --enable/--with options 1.1450 + --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1.1451 + --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1.1452 + --enable-optimize=OPT Enable code optimizations (ie. -O2) 1.1453 + --enable-debug=DBG Enable debugging (using compiler flags DBG) 1.1454 + --enable-debug-symbols=DBG Enable debugging symbols 1.1455 + (using compiler flags DBG) 1.1456 + --enable-win32-target=\$t 1.1457 + Specify win32 flavor. (WIN95 or WINNT) 1.1458 + --enable-symbian-target=\$t 1.1459 + Specify symbian flavor. (WINSCW or GCCE) 1.1460 + --enable-debug-rtl Use the MSVC debug runtime library 1.1461 + --enable-n32 Enable n32 ABI support (IRIX only) 1.1462 + --enable-x32 Enable x32 ABI support (x86_64 only) 1.1463 + --enable-64bit Enable 64-bit support (on certain platforms) 1.1464 + --enable-mdupdate Enable use of certain compilers' mdupdate feature 1.1465 + --enable-cplus Enable some c++ api routines 1.1466 + --enable-macos-target=VER 1.1467 + Set the minimum MacOS version needed at runtime 1.1468 + 10.2 for ppc, 10.4 for x86 1.1469 + --disable-os2-high-mem Disable high-memory support on OS/2 1.1470 + 1.1471 + --enable-strip Enable stripping of shared libs and programs 1.1472 + --enable-user-pthreads Build using userland pthreads 1.1473 + --enable-nspr-threads Build using classic nspr threads 1.1474 + --enable-ipv6 Compile ipv6 support 1.1475 + --enable-wrap-malloc Wrap malloc calls (gnu linker only) 1.1476 + 1.1477 +Optional Packages: 1.1478 + --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1.1479 + --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1.1480 + --with-android-ndk=DIR 1.1481 + location where the Android NDK can be found 1.1482 + --with-android-toolchain=DIR 1.1483 + location of the Android toolchain 1.1484 + --with-android-version=VER 1.1485 + Android platform version, default 5 for arm, 9 for x86/mips 1.1486 + --with-android-platform=DIR 1.1487 + location of platform dir 1.1488 + --with-gonk=DIR location of gonk dir 1.1489 + --with-dist-prefix=DIST_PREFIX 1.1490 + place build files in DIST_PREFIX dist 1.1491 + --with-dist-bindir=DIR build execuatables in DIR DIST_PREFIX/bin 1.1492 + --with-dist-includedir=DIR 1.1493 + build include files in DIR DIST_PREFIX/include/nspr 1.1494 + --with-dist-libdir=DIR build library files in DIR DIST_PREFIX/lib 1.1495 + --with-mozilla Compile NSPR with Mozilla support 1.1496 + --with-arm-kuser Use kuser helpers (Linux/ARM only) 1.1497 + (Requires kernel 2.6.13 or later) 1.1498 + --with-macos-sdk=dir Location of platform SDK to use (Mac OS X only) 1.1499 + --with-thumb[=yes|no|toolchain-default] 1.1500 + Use Thumb instruction set (-mthumb) 1.1501 + --with-thumb-interwork[=yes|no|toolchain-default] 1.1502 + Use Thumb/ARM instuctions interwork (-mthumb-interwork) 1.1503 + --with-arch=[type|toolchain-default] 1.1504 + Use specific CPU features (-march=type) 1.1505 + --with-fpu=[type|toolchain-default] 1.1506 + Use specific FPU type (-mfpu=type) 1.1507 + --with-float-abi=[type|toolchain-default] 1.1508 + Use specific arm float ABI (-mfloat-abi=type) 1.1509 + --with-soft-float[=yes|no|toolchain-default] 1.1510 + Use soft float library (-msoft-float) 1.1511 + --with-symbian-sdk=SYMBIAN_SDK_DIR 1.1512 + The path to the Symbian SDK 1.1513 + --with-ccache=path/to/ccache 1.1514 + Enable compiling with ccache 1.1515 + --with-pthreads Use system pthreads library as thread subsystem 1.1516 + --with-bthreads Use system bthreads library as thread subsystem 1.1517 + (BeOS only) 1.1518 + --with-wrap-malloc=SHAREDLIB Location of malloc wrapper library 1.1519 + 1.1520 +Some influential environment variables: 1.1521 + CC C compiler command 1.1522 + CFLAGS C compiler flags 1.1523 + LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1.1524 + nonstandard directory <lib dir> 1.1525 + LIBS libraries to pass to the linker, e.g. -l<library> 1.1526 + CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1.1527 + you have headers in a nonstandard directory <include dir> 1.1528 + CXX C++ compiler command 1.1529 + CXXFLAGS C++ compiler flags 1.1530 + CPP C preprocessor 1.1531 + 1.1532 +Use these variables to override the choices made by `configure' or to help 1.1533 +it to find libraries and programs with nonstandard names/locations. 1.1534 + 1.1535 +Report bugs to the package provider. 1.1536 +_ACEOF 1.1537 +ac_status=$? 1.1538 +fi 1.1539 + 1.1540 +if test "$ac_init_help" = "recursive"; then 1.1541 + # If there are subdirs, report their specific --help. 1.1542 + for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1.1543 + test -d "$ac_dir" || 1.1544 + { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1.1545 + continue 1.1546 + ac_builddir=. 1.1547 + 1.1548 +case "$ac_dir" in 1.1549 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1.1550 +*) 1.1551 + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1.1552 + # A ".." for each directory in $ac_dir_suffix. 1.1553 + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1.1554 + case $ac_top_builddir_sub in 1.1555 + "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1.1556 + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1.1557 + esac ;; 1.1558 +esac 1.1559 +ac_abs_top_builddir=$ac_pwd 1.1560 +ac_abs_builddir=$ac_pwd$ac_dir_suffix 1.1561 +# for backward compatibility: 1.1562 +ac_top_builddir=$ac_top_build_prefix 1.1563 + 1.1564 +case $srcdir in 1.1565 + .) # We are building in place. 1.1566 + ac_srcdir=. 1.1567 + ac_top_srcdir=$ac_top_builddir_sub 1.1568 + ac_abs_top_srcdir=$ac_pwd ;; 1.1569 + [\\/]* | ?:[\\/]* ) # Absolute name. 1.1570 + ac_srcdir=$srcdir$ac_dir_suffix; 1.1571 + ac_top_srcdir=$srcdir 1.1572 + ac_abs_top_srcdir=$srcdir ;; 1.1573 + *) # Relative name. 1.1574 + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1.1575 + ac_top_srcdir=$ac_top_build_prefix$srcdir 1.1576 + ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1.1577 +esac 1.1578 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1.1579 + 1.1580 + cd "$ac_dir" || { ac_status=$?; continue; } 1.1581 + # Check for guested configure. 1.1582 + if test -f "$ac_srcdir/configure.gnu"; then 1.1583 + echo && 1.1584 + $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1.1585 + elif test -f "$ac_srcdir/configure"; then 1.1586 + echo && 1.1587 + $SHELL "$ac_srcdir/configure" --help=recursive 1.1588 + else 1.1589 + $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1.1590 + fi || ac_status=$? 1.1591 + cd "$ac_pwd" || { ac_status=$?; break; } 1.1592 + done 1.1593 +fi 1.1594 + 1.1595 +test -n "$ac_init_help" && exit $ac_status 1.1596 +if $ac_init_version; then 1.1597 + cat <<\_ACEOF 1.1598 +configure 1.1599 +generated by GNU Autoconf 2.69 1.1600 + 1.1601 +Copyright (C) 2012 Free Software Foundation, Inc. 1.1602 +This configure script is free software; the Free Software Foundation 1.1603 +gives unlimited permission to copy, distribute and modify it. 1.1604 +_ACEOF 1.1605 + exit 1.1606 +fi 1.1607 + 1.1608 +## ------------------------ ## 1.1609 +## Autoconf initialization. ## 1.1610 +## ------------------------ ## 1.1611 + 1.1612 +# ac_fn_c_try_compile LINENO 1.1613 +# -------------------------- 1.1614 +# Try to compile conftest.$ac_ext, and return whether this succeeded. 1.1615 +ac_fn_c_try_compile () 1.1616 +{ 1.1617 + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1.1618 + rm -f conftest.$ac_objext 1.1619 + if { { ac_try="$ac_compile" 1.1620 +case "(($ac_try" in 1.1621 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1.1622 + *) ac_try_echo=$ac_try;; 1.1623 +esac 1.1624 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1.1625 +$as_echo "$ac_try_echo"; } >&5 1.1626 + (eval "$ac_compile") 2>conftest.err 1.1627 + ac_status=$? 1.1628 + if test -s conftest.err; then 1.1629 + grep -v '^ *+' conftest.err >conftest.er1 1.1630 + cat conftest.er1 >&5 1.1631 + mv -f conftest.er1 conftest.err 1.1632 + fi 1.1633 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1.1634 + test $ac_status = 0; } && { 1.1635 + test -z "$ac_c_werror_flag" || 1.1636 + test ! -s conftest.err 1.1637 + } && test -s conftest.$ac_objext; then : 1.1638 + ac_retval=0 1.1639 +else 1.1640 + $as_echo "$as_me: failed program was:" >&5 1.1641 +sed 's/^/| /' conftest.$ac_ext >&5 1.1642 + 1.1643 + ac_retval=1 1.1644 +fi 1.1645 + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1.1646 + as_fn_set_status $ac_retval 1.1647 + 1.1648 +} # ac_fn_c_try_compile 1.1649 + 1.1650 +# ac_fn_cxx_try_compile LINENO 1.1651 +# ---------------------------- 1.1652 +# Try to compile conftest.$ac_ext, and return whether this succeeded. 1.1653 +ac_fn_cxx_try_compile () 1.1654 +{ 1.1655 + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1.1656 + rm -f conftest.$ac_objext 1.1657 + if { { ac_try="$ac_compile" 1.1658 +case "(($ac_try" in 1.1659 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1.1660 + *) ac_try_echo=$ac_try;; 1.1661 +esac 1.1662 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1.1663 +$as_echo "$ac_try_echo"; } >&5 1.1664 + (eval "$ac_compile") 2>conftest.err 1.1665 + ac_status=$? 1.1666 + if test -s conftest.err; then 1.1667 + grep -v '^ *+' conftest.err >conftest.er1 1.1668 + cat conftest.er1 >&5 1.1669 + mv -f conftest.er1 conftest.err 1.1670 + fi 1.1671 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1.1672 + test $ac_status = 0; } && { 1.1673 + test -z "$ac_cxx_werror_flag" || 1.1674 + test ! -s conftest.err 1.1675 + } && test -s conftest.$ac_objext; then : 1.1676 + ac_retval=0 1.1677 +else 1.1678 + $as_echo "$as_me: failed program was:" >&5 1.1679 +sed 's/^/| /' conftest.$ac_ext >&5 1.1680 + 1.1681 + ac_retval=1 1.1682 +fi 1.1683 + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1.1684 + as_fn_set_status $ac_retval 1.1685 + 1.1686 +} # ac_fn_cxx_try_compile 1.1687 + 1.1688 +# ac_fn_c_try_cpp LINENO 1.1689 +# ---------------------- 1.1690 +# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1.1691 +ac_fn_c_try_cpp () 1.1692 +{ 1.1693 + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1.1694 + if { { ac_try="$ac_cpp conftest.$ac_ext" 1.1695 +case "(($ac_try" in 1.1696 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1.1697 + *) ac_try_echo=$ac_try;; 1.1698 +esac 1.1699 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1.1700 +$as_echo "$ac_try_echo"; } >&5 1.1701 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1.1702 + ac_status=$? 1.1703 + if test -s conftest.err; then 1.1704 + grep -v '^ *+' conftest.err >conftest.er1 1.1705 + cat conftest.er1 >&5 1.1706 + mv -f conftest.er1 conftest.err 1.1707 + fi 1.1708 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1.1709 + test $ac_status = 0; } > conftest.i && { 1.1710 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1.1711 + test ! -s conftest.err 1.1712 + }; then : 1.1713 + ac_retval=0 1.1714 +else 1.1715 + $as_echo "$as_me: failed program was:" >&5 1.1716 +sed 's/^/| /' conftest.$ac_ext >&5 1.1717 + 1.1718 + ac_retval=1 1.1719 +fi 1.1720 + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1.1721 + as_fn_set_status $ac_retval 1.1722 + 1.1723 +} # ac_fn_c_try_cpp 1.1724 + 1.1725 +# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1.1726 +# ------------------------------------------------------- 1.1727 +# Tests whether HEADER exists, giving a warning if it cannot be compiled using 1.1728 +# the include files in INCLUDES and setting the cache variable VAR 1.1729 +# accordingly. 1.1730 +ac_fn_c_check_header_mongrel () 1.1731 +{ 1.1732 + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1.1733 + if eval \${$3+:} false; then : 1.1734 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1.1735 +$as_echo_n "checking for $2... " >&6; } 1.1736 +if eval \${$3+:} false; then : 1.1737 + $as_echo_n "(cached) " >&6 1.1738 +fi 1.1739 +eval ac_res=\$$3 1.1740 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1.1741 +$as_echo "$ac_res" >&6; } 1.1742 +else 1.1743 + # Is the header compilable? 1.1744 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1.1745 +$as_echo_n "checking $2 usability... " >&6; } 1.1746 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.1747 +/* end confdefs.h. */ 1.1748 +$4 1.1749 +#include <$2> 1.1750 +_ACEOF 1.1751 +if ac_fn_c_try_compile "$LINENO"; then : 1.1752 + ac_header_compiler=yes 1.1753 +else 1.1754 + ac_header_compiler=no 1.1755 +fi 1.1756 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1.1757 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1.1758 +$as_echo "$ac_header_compiler" >&6; } 1.1759 + 1.1760 +# Is the header present? 1.1761 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1.1762 +$as_echo_n "checking $2 presence... " >&6; } 1.1763 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.1764 +/* end confdefs.h. */ 1.1765 +#include <$2> 1.1766 +_ACEOF 1.1767 +if ac_fn_c_try_cpp "$LINENO"; then : 1.1768 + ac_header_preproc=yes 1.1769 +else 1.1770 + ac_header_preproc=no 1.1771 +fi 1.1772 +rm -f conftest.err conftest.i conftest.$ac_ext 1.1773 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1.1774 +$as_echo "$ac_header_preproc" >&6; } 1.1775 + 1.1776 +# So? What about this header? 1.1777 +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1.1778 + yes:no: ) 1.1779 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1.1780 +$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1.1781 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1.1782 +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1.1783 + ;; 1.1784 + no:yes:* ) 1.1785 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1.1786 +$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1.1787 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1.1788 +$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1.1789 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1.1790 +$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1.1791 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1.1792 +$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1.1793 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1.1794 +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1.1795 + ;; 1.1796 +esac 1.1797 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1.1798 +$as_echo_n "checking for $2... " >&6; } 1.1799 +if eval \${$3+:} false; then : 1.1800 + $as_echo_n "(cached) " >&6 1.1801 +else 1.1802 + eval "$3=\$ac_header_compiler" 1.1803 +fi 1.1804 +eval ac_res=\$$3 1.1805 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1.1806 +$as_echo "$ac_res" >&6; } 1.1807 +fi 1.1808 + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1.1809 + 1.1810 +} # ac_fn_c_check_header_mongrel 1.1811 + 1.1812 +# ac_fn_c_try_run LINENO 1.1813 +# ---------------------- 1.1814 +# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1.1815 +# that executables *can* be run. 1.1816 +ac_fn_c_try_run () 1.1817 +{ 1.1818 + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1.1819 + if { { ac_try="$ac_link" 1.1820 +case "(($ac_try" in 1.1821 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1.1822 + *) ac_try_echo=$ac_try;; 1.1823 +esac 1.1824 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1.1825 +$as_echo "$ac_try_echo"; } >&5 1.1826 + (eval "$ac_link") 2>&5 1.1827 + ac_status=$? 1.1828 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1.1829 + test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1.1830 + { { case "(($ac_try" in 1.1831 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1.1832 + *) ac_try_echo=$ac_try;; 1.1833 +esac 1.1834 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1.1835 +$as_echo "$ac_try_echo"; } >&5 1.1836 + (eval "$ac_try") 2>&5 1.1837 + ac_status=$? 1.1838 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1.1839 + test $ac_status = 0; }; }; then : 1.1840 + ac_retval=0 1.1841 +else 1.1842 + $as_echo "$as_me: program exited with status $ac_status" >&5 1.1843 + $as_echo "$as_me: failed program was:" >&5 1.1844 +sed 's/^/| /' conftest.$ac_ext >&5 1.1845 + 1.1846 + ac_retval=$ac_status 1.1847 +fi 1.1848 + rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1.1849 + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1.1850 + as_fn_set_status $ac_retval 1.1851 + 1.1852 +} # ac_fn_c_try_run 1.1853 + 1.1854 +# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1.1855 +# ------------------------------------------------------- 1.1856 +# Tests whether HEADER exists and can be compiled using the include files in 1.1857 +# INCLUDES, setting the cache variable VAR accordingly. 1.1858 +ac_fn_c_check_header_compile () 1.1859 +{ 1.1860 + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1.1861 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1.1862 +$as_echo_n "checking for $2... " >&6; } 1.1863 +if eval \${$3+:} false; then : 1.1864 + $as_echo_n "(cached) " >&6 1.1865 +else 1.1866 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.1867 +/* end confdefs.h. */ 1.1868 +$4 1.1869 +#include <$2> 1.1870 +_ACEOF 1.1871 +if ac_fn_c_try_compile "$LINENO"; then : 1.1872 + eval "$3=yes" 1.1873 +else 1.1874 + eval "$3=no" 1.1875 +fi 1.1876 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1.1877 +fi 1.1878 +eval ac_res=\$$3 1.1879 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1.1880 +$as_echo "$ac_res" >&6; } 1.1881 + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1.1882 + 1.1883 +} # ac_fn_c_check_header_compile 1.1884 + 1.1885 +# ac_fn_c_try_link LINENO 1.1886 +# ----------------------- 1.1887 +# Try to link conftest.$ac_ext, and return whether this succeeded. 1.1888 +ac_fn_c_try_link () 1.1889 +{ 1.1890 + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1.1891 + rm -f conftest.$ac_objext conftest$ac_exeext 1.1892 + if { { ac_try="$ac_link" 1.1893 +case "(($ac_try" in 1.1894 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1.1895 + *) ac_try_echo=$ac_try;; 1.1896 +esac 1.1897 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1.1898 +$as_echo "$ac_try_echo"; } >&5 1.1899 + (eval "$ac_link") 2>conftest.err 1.1900 + ac_status=$? 1.1901 + if test -s conftest.err; then 1.1902 + grep -v '^ *+' conftest.err >conftest.er1 1.1903 + cat conftest.er1 >&5 1.1904 + mv -f conftest.er1 conftest.err 1.1905 + fi 1.1906 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1.1907 + test $ac_status = 0; } && { 1.1908 + test -z "$ac_c_werror_flag" || 1.1909 + test ! -s conftest.err 1.1910 + } && test -s conftest$ac_exeext && { 1.1911 + test "$cross_compiling" = yes || 1.1912 + test -x conftest$ac_exeext 1.1913 + }; then : 1.1914 + ac_retval=0 1.1915 +else 1.1916 + $as_echo "$as_me: failed program was:" >&5 1.1917 +sed 's/^/| /' conftest.$ac_ext >&5 1.1918 + 1.1919 + ac_retval=1 1.1920 +fi 1.1921 + # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1.1922 + # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1.1923 + # interfere with the next link command; also delete a directory that is 1.1924 + # left behind by Apple's compiler. We do this before executing the actions. 1.1925 + rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1.1926 + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1.1927 + as_fn_set_status $ac_retval 1.1928 + 1.1929 +} # ac_fn_c_try_link 1.1930 + 1.1931 +# ac_fn_c_check_func LINENO FUNC VAR 1.1932 +# ---------------------------------- 1.1933 +# Tests whether FUNC exists, setting the cache variable VAR accordingly 1.1934 +ac_fn_c_check_func () 1.1935 +{ 1.1936 + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1.1937 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1.1938 +$as_echo_n "checking for $2... " >&6; } 1.1939 +if eval \${$3+:} false; then : 1.1940 + $as_echo_n "(cached) " >&6 1.1941 +else 1.1942 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.1943 +/* end confdefs.h. */ 1.1944 +/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1.1945 + For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1.1946 +#define $2 innocuous_$2 1.1947 + 1.1948 +/* System header to define __stub macros and hopefully few prototypes, 1.1949 + which can conflict with char $2 (); below. 1.1950 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1.1951 + <limits.h> exists even on freestanding compilers. */ 1.1952 + 1.1953 +#ifdef __STDC__ 1.1954 +# include <limits.h> 1.1955 +#else 1.1956 +# include <assert.h> 1.1957 +#endif 1.1958 + 1.1959 +#undef $2 1.1960 + 1.1961 +/* Override any GCC internal prototype to avoid an error. 1.1962 + Use char because int might match the return type of a GCC 1.1963 + builtin and then its argument prototype would still apply. */ 1.1964 +#ifdef __cplusplus 1.1965 +extern "C" 1.1966 +#endif 1.1967 +char $2 (); 1.1968 +/* The GNU C library defines this for functions which it implements 1.1969 + to always fail with ENOSYS. Some functions are actually named 1.1970 + something starting with __ and the normal name is an alias. */ 1.1971 +#if defined __stub_$2 || defined __stub___$2 1.1972 +choke me 1.1973 +#endif 1.1974 + 1.1975 +int 1.1976 +main () 1.1977 +{ 1.1978 +return $2 (); 1.1979 + ; 1.1980 + return 0; 1.1981 +} 1.1982 +_ACEOF 1.1983 +if ac_fn_c_try_link "$LINENO"; then : 1.1984 + eval "$3=yes" 1.1985 +else 1.1986 + eval "$3=no" 1.1987 +fi 1.1988 +rm -f core conftest.err conftest.$ac_objext \ 1.1989 + conftest$ac_exeext conftest.$ac_ext 1.1990 +fi 1.1991 +eval ac_res=\$$3 1.1992 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1.1993 +$as_echo "$ac_res" >&6; } 1.1994 + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1.1995 + 1.1996 +} # ac_fn_c_check_func 1.1997 +cat >config.log <<_ACEOF 1.1998 +This file contains any messages produced by compilers while 1.1999 +running configure, to aid debugging if configure makes a mistake. 1.2000 + 1.2001 +It was created by $as_me, which was 1.2002 +generated by GNU Autoconf 2.69. Invocation command line was 1.2003 + 1.2004 + $ $0 $@ 1.2005 + 1.2006 +_ACEOF 1.2007 +exec 5>>config.log 1.2008 +{ 1.2009 +cat <<_ASUNAME 1.2010 +## --------- ## 1.2011 +## Platform. ## 1.2012 +## --------- ## 1.2013 + 1.2014 +hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1.2015 +uname -m = `(uname -m) 2>/dev/null || echo unknown` 1.2016 +uname -r = `(uname -r) 2>/dev/null || echo unknown` 1.2017 +uname -s = `(uname -s) 2>/dev/null || echo unknown` 1.2018 +uname -v = `(uname -v) 2>/dev/null || echo unknown` 1.2019 + 1.2020 +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1.2021 +/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1.2022 + 1.2023 +/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1.2024 +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1.2025 +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1.2026 +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1.2027 +/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1.2028 +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1.2029 +/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1.2030 + 1.2031 +_ASUNAME 1.2032 + 1.2033 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1.2034 +for as_dir in $PATH 1.2035 +do 1.2036 + IFS=$as_save_IFS 1.2037 + test -z "$as_dir" && as_dir=. 1.2038 + $as_echo "PATH: $as_dir" 1.2039 + done 1.2040 +IFS=$as_save_IFS 1.2041 + 1.2042 +} >&5 1.2043 + 1.2044 +cat >&5 <<_ACEOF 1.2045 + 1.2046 + 1.2047 +## ----------- ## 1.2048 +## Core tests. ## 1.2049 +## ----------- ## 1.2050 + 1.2051 +_ACEOF 1.2052 + 1.2053 + 1.2054 +# Keep a trace of the command line. 1.2055 +# Strip out --no-create and --no-recursion so they do not pile up. 1.2056 +# Strip out --silent because we don't want to record it for future runs. 1.2057 +# Also quote any args containing shell meta-characters. 1.2058 +# Make two passes to allow for proper duplicate-argument suppression. 1.2059 +ac_configure_args= 1.2060 +ac_configure_args0= 1.2061 +ac_configure_args1= 1.2062 +ac_must_keep_next=false 1.2063 +for ac_pass in 1 2 1.2064 +do 1.2065 + for ac_arg 1.2066 + do 1.2067 + case $ac_arg in 1.2068 + -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1.2069 + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1.2070 + | -silent | --silent | --silen | --sile | --sil) 1.2071 + continue ;; 1.2072 + *\'*) 1.2073 + ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1.2074 + esac 1.2075 + case $ac_pass in 1.2076 + 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1.2077 + 2) 1.2078 + as_fn_append ac_configure_args1 " '$ac_arg'" 1.2079 + if test $ac_must_keep_next = true; then 1.2080 + ac_must_keep_next=false # Got value, back to normal. 1.2081 + else 1.2082 + case $ac_arg in 1.2083 + *=* | --config-cache | -C | -disable-* | --disable-* \ 1.2084 + | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1.2085 + | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1.2086 + | -with-* | --with-* | -without-* | --without-* | --x) 1.2087 + case "$ac_configure_args0 " in 1.2088 + "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1.2089 + esac 1.2090 + ;; 1.2091 + -* ) ac_must_keep_next=true ;; 1.2092 + esac 1.2093 + fi 1.2094 + as_fn_append ac_configure_args " '$ac_arg'" 1.2095 + ;; 1.2096 + esac 1.2097 + done 1.2098 +done 1.2099 +{ ac_configure_args0=; unset ac_configure_args0;} 1.2100 +{ ac_configure_args1=; unset ac_configure_args1;} 1.2101 + 1.2102 +# When interrupted or exit'd, cleanup temporary files, and complete 1.2103 +# config.log. We remove comments because anyway the quotes in there 1.2104 +# would cause problems or look ugly. 1.2105 +# WARNING: Use '\'' to represent an apostrophe within the trap. 1.2106 +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1.2107 +trap 'exit_status=$? 1.2108 + # Save into config.log some information that might help in debugging. 1.2109 + { 1.2110 + echo 1.2111 + 1.2112 + $as_echo "## ---------------- ## 1.2113 +## Cache variables. ## 1.2114 +## ---------------- ##" 1.2115 + echo 1.2116 + # The following way of writing the cache mishandles newlines in values, 1.2117 +( 1.2118 + for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1.2119 + eval ac_val=\$$ac_var 1.2120 + case $ac_val in #( 1.2121 + *${as_nl}*) 1.2122 + case $ac_var in #( 1.2123 + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1.2124 +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1.2125 + esac 1.2126 + case $ac_var in #( 1.2127 + _ | IFS | as_nl) ;; #( 1.2128 + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1.2129 + *) { eval $ac_var=; unset $ac_var;} ;; 1.2130 + esac ;; 1.2131 + esac 1.2132 + done 1.2133 + (set) 2>&1 | 1.2134 + case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1.2135 + *${as_nl}ac_space=\ *) 1.2136 + sed -n \ 1.2137 + "s/'\''/'\''\\\\'\'''\''/g; 1.2138 + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1.2139 + ;; #( 1.2140 + *) 1.2141 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1.2142 + ;; 1.2143 + esac | 1.2144 + sort 1.2145 +) 1.2146 + echo 1.2147 + 1.2148 + $as_echo "## ----------------- ## 1.2149 +## Output variables. ## 1.2150 +## ----------------- ##" 1.2151 + echo 1.2152 + for ac_var in $ac_subst_vars 1.2153 + do 1.2154 + eval ac_val=\$$ac_var 1.2155 + case $ac_val in 1.2156 + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1.2157 + esac 1.2158 + $as_echo "$ac_var='\''$ac_val'\''" 1.2159 + done | sort 1.2160 + echo 1.2161 + 1.2162 + if test -n "$ac_subst_files"; then 1.2163 + $as_echo "## ------------------- ## 1.2164 +## File substitutions. ## 1.2165 +## ------------------- ##" 1.2166 + echo 1.2167 + for ac_var in $ac_subst_files 1.2168 + do 1.2169 + eval ac_val=\$$ac_var 1.2170 + case $ac_val in 1.2171 + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1.2172 + esac 1.2173 + $as_echo "$ac_var='\''$ac_val'\''" 1.2174 + done | sort 1.2175 + echo 1.2176 + fi 1.2177 + 1.2178 + if test -s confdefs.h; then 1.2179 + $as_echo "## ----------- ## 1.2180 +## confdefs.h. ## 1.2181 +## ----------- ##" 1.2182 + echo 1.2183 + cat confdefs.h 1.2184 + echo 1.2185 + fi 1.2186 + test "$ac_signal" != 0 && 1.2187 + $as_echo "$as_me: caught signal $ac_signal" 1.2188 + $as_echo "$as_me: exit $exit_status" 1.2189 + } >&5 1.2190 + rm -f core *.core core.conftest.* && 1.2191 + rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1.2192 + exit $exit_status 1.2193 +' 0 1.2194 +for ac_signal in 1 2 13 15; do 1.2195 + trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1.2196 +done 1.2197 +ac_signal=0 1.2198 + 1.2199 +# confdefs.h avoids OS command line length limits that DEFS can exceed. 1.2200 +rm -f -r conftest* confdefs.h 1.2201 + 1.2202 +$as_echo "/* confdefs.h */" > confdefs.h 1.2203 + 1.2204 +# Predefined preprocessor variables. 1.2205 + 1.2206 +cat >>confdefs.h <<_ACEOF 1.2207 +#define PACKAGE_NAME "$PACKAGE_NAME" 1.2208 +_ACEOF 1.2209 + 1.2210 +cat >>confdefs.h <<_ACEOF 1.2211 +#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1.2212 +_ACEOF 1.2213 + 1.2214 +cat >>confdefs.h <<_ACEOF 1.2215 +#define PACKAGE_VERSION "$PACKAGE_VERSION" 1.2216 +_ACEOF 1.2217 + 1.2218 +cat >>confdefs.h <<_ACEOF 1.2219 +#define PACKAGE_STRING "$PACKAGE_STRING" 1.2220 +_ACEOF 1.2221 + 1.2222 +cat >>confdefs.h <<_ACEOF 1.2223 +#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1.2224 +_ACEOF 1.2225 + 1.2226 +cat >>confdefs.h <<_ACEOF 1.2227 +#define PACKAGE_URL "$PACKAGE_URL" 1.2228 +_ACEOF 1.2229 + 1.2230 + 1.2231 +# Let the site file select an alternate cache file if it wants to. 1.2232 +# Prefer an explicitly selected file to automatically selected ones. 1.2233 +ac_site_file1=NONE 1.2234 +ac_site_file2=NONE 1.2235 +if test -n "$CONFIG_SITE"; then 1.2236 + # We do not want a PATH search for config.site. 1.2237 + case $CONFIG_SITE in #(( 1.2238 + -*) ac_site_file1=./$CONFIG_SITE;; 1.2239 + */*) ac_site_file1=$CONFIG_SITE;; 1.2240 + *) ac_site_file1=./$CONFIG_SITE;; 1.2241 + esac 1.2242 +elif test "x$prefix" != xNONE; then 1.2243 + ac_site_file1=$prefix/share/config.site 1.2244 + ac_site_file2=$prefix/etc/config.site 1.2245 +else 1.2246 + ac_site_file1=$ac_default_prefix/share/config.site 1.2247 + ac_site_file2=$ac_default_prefix/etc/config.site 1.2248 +fi 1.2249 +for ac_site_file in "$ac_site_file1" "$ac_site_file2" 1.2250 +do 1.2251 + test "x$ac_site_file" = xNONE && continue 1.2252 + if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 1.2253 + { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 1.2254 +$as_echo "$as_me: loading site script $ac_site_file" >&6;} 1.2255 + sed 's/^/| /' "$ac_site_file" >&5 1.2256 + . "$ac_site_file" \ 1.2257 + || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1.2258 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1.2259 +as_fn_error $? "failed to load site script $ac_site_file 1.2260 +See \`config.log' for more details" "$LINENO" 5; } 1.2261 + fi 1.2262 +done 1.2263 + 1.2264 +if test -r "$cache_file"; then 1.2265 + # Some versions of bash will fail to source /dev/null (special files 1.2266 + # actually), so we avoid doing that. DJGPP emulates it as a regular file. 1.2267 + if test /dev/null != "$cache_file" && test -f "$cache_file"; then 1.2268 + { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 1.2269 +$as_echo "$as_me: loading cache $cache_file" >&6;} 1.2270 + case $cache_file in 1.2271 + [\\/]* | ?:[\\/]* ) . "$cache_file";; 1.2272 + *) . "./$cache_file";; 1.2273 + esac 1.2274 + fi 1.2275 +else 1.2276 + { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 1.2277 +$as_echo "$as_me: creating cache $cache_file" >&6;} 1.2278 + >$cache_file 1.2279 +fi 1.2280 + 1.2281 +# Check that the precious variables saved in the cache have kept the same 1.2282 +# value. 1.2283 +ac_cache_corrupted=false 1.2284 +for ac_var in $ac_precious_vars; do 1.2285 + eval ac_old_set=\$ac_cv_env_${ac_var}_set 1.2286 + eval ac_new_set=\$ac_env_${ac_var}_set 1.2287 + eval ac_old_val=\$ac_cv_env_${ac_var}_value 1.2288 + eval ac_new_val=\$ac_env_${ac_var}_value 1.2289 + case $ac_old_set,$ac_new_set in 1.2290 + set,) 1.2291 + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1.2292 +$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1.2293 + ac_cache_corrupted=: ;; 1.2294 + ,set) 1.2295 + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 1.2296 +$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1.2297 + ac_cache_corrupted=: ;; 1.2298 + ,);; 1.2299 + *) 1.2300 + if test "x$ac_old_val" != "x$ac_new_val"; then 1.2301 + # differences in whitespace do not lead to failure. 1.2302 + ac_old_val_w=`echo x $ac_old_val` 1.2303 + ac_new_val_w=`echo x $ac_new_val` 1.2304 + if test "$ac_old_val_w" != "$ac_new_val_w"; then 1.2305 + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 1.2306 +$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1.2307 + ac_cache_corrupted=: 1.2308 + else 1.2309 + { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 1.2310 +$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 1.2311 + eval $ac_var=\$ac_old_val 1.2312 + fi 1.2313 + { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 1.2314 +$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 1.2315 + { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 1.2316 +$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1.2317 + fi;; 1.2318 + esac 1.2319 + # Pass precious variables to config.status. 1.2320 + if test "$ac_new_set" = set; then 1.2321 + case $ac_new_val in 1.2322 + *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1.2323 + *) ac_arg=$ac_var=$ac_new_val ;; 1.2324 + esac 1.2325 + case " $ac_configure_args " in 1.2326 + *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1.2327 + *) as_fn_append ac_configure_args " '$ac_arg'" ;; 1.2328 + esac 1.2329 + fi 1.2330 +done 1.2331 +if $ac_cache_corrupted; then 1.2332 + { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1.2333 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1.2334 + { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 1.2335 +$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1.2336 + as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 1.2337 +fi 1.2338 +## -------------------- ## 1.2339 +## Main body of script. ## 1.2340 +## -------------------- ## 1.2341 + 1.2342 +ac_ext=c 1.2343 +ac_cpp='$CPP $CPPFLAGS' 1.2344 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1.2345 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1.2346 +ac_compiler_gnu=$ac_cv_c_compiler_gnu 1.2347 + 1.2348 + 1.2349 + 1.2350 + 1.2351 +ac_aux_dir= 1.2352 +for ac_dir in ${srcdir}/build/autoconf "$srcdir"/${srcdir}/build/autoconf; do 1.2353 + if test -f "$ac_dir/install-sh"; then 1.2354 + ac_aux_dir=$ac_dir 1.2355 + ac_install_sh="$ac_aux_dir/install-sh -c" 1.2356 + break 1.2357 + elif test -f "$ac_dir/install.sh"; then 1.2358 + ac_aux_dir=$ac_dir 1.2359 + ac_install_sh="$ac_aux_dir/install.sh -c" 1.2360 + break 1.2361 + elif test -f "$ac_dir/shtool"; then 1.2362 + ac_aux_dir=$ac_dir 1.2363 + ac_install_sh="$ac_aux_dir/shtool install -c" 1.2364 + break 1.2365 + fi 1.2366 +done 1.2367 +if test -z "$ac_aux_dir"; then 1.2368 + as_fn_error $? "cannot find install-sh, install.sh, or shtool in ${srcdir}/build/autoconf \"$srcdir\"/${srcdir}/build/autoconf" "$LINENO" 5 1.2369 +fi 1.2370 + 1.2371 +# These three variables are undocumented and unsupported, 1.2372 +# and are intended to be withdrawn in a future Autoconf release. 1.2373 +# They can cause serious problems if a builder's source tree is in a directory 1.2374 +# whose full name contains unusual characters. 1.2375 +ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 1.2376 +ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 1.2377 +ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 1.2378 + 1.2379 + 1.2380 +# Make sure we can run config.sub. 1.2381 +$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 1.2382 + as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 1.2383 + 1.2384 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 1.2385 +$as_echo_n "checking build system type... " >&6; } 1.2386 +if ${ac_cv_build+:} false; then : 1.2387 + $as_echo_n "(cached) " >&6 1.2388 +else 1.2389 + ac_build_alias=$build_alias 1.2390 +test "x$ac_build_alias" = x && 1.2391 + ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 1.2392 +test "x$ac_build_alias" = x && 1.2393 + as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 1.2394 +ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 1.2395 + as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 1.2396 + 1.2397 +fi 1.2398 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 1.2399 +$as_echo "$ac_cv_build" >&6; } 1.2400 +case $ac_cv_build in 1.2401 +*-*-*) ;; 1.2402 +*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 1.2403 +esac 1.2404 +build=$ac_cv_build 1.2405 +ac_save_IFS=$IFS; IFS='-' 1.2406 +set x $ac_cv_build 1.2407 +shift 1.2408 +build_cpu=$1 1.2409 +build_vendor=$2 1.2410 +shift; shift 1.2411 +# Remember, the first character of IFS is used to create $*, 1.2412 +# except with old shells: 1.2413 +build_os=$* 1.2414 +IFS=$ac_save_IFS 1.2415 +case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 1.2416 + 1.2417 + 1.2418 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 1.2419 +$as_echo_n "checking host system type... " >&6; } 1.2420 +if ${ac_cv_host+:} false; then : 1.2421 + $as_echo_n "(cached) " >&6 1.2422 +else 1.2423 + if test "x$host_alias" = x; then 1.2424 + ac_cv_host=$ac_cv_build 1.2425 +else 1.2426 + ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 1.2427 + as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 1.2428 +fi 1.2429 + 1.2430 +fi 1.2431 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 1.2432 +$as_echo "$ac_cv_host" >&6; } 1.2433 +case $ac_cv_host in 1.2434 +*-*-*) ;; 1.2435 +*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 1.2436 +esac 1.2437 +host=$ac_cv_host 1.2438 +ac_save_IFS=$IFS; IFS='-' 1.2439 +set x $ac_cv_host 1.2440 +shift 1.2441 +host_cpu=$1 1.2442 +host_vendor=$2 1.2443 +shift; shift 1.2444 +# Remember, the first character of IFS is used to create $*, 1.2445 +# except with old shells: 1.2446 +host_os=$* 1.2447 +IFS=$ac_save_IFS 1.2448 +case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 1.2449 + 1.2450 + 1.2451 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 1.2452 +$as_echo_n "checking target system type... " >&6; } 1.2453 +if ${ac_cv_target+:} false; then : 1.2454 + $as_echo_n "(cached) " >&6 1.2455 +else 1.2456 + if test "x$target_alias" = x; then 1.2457 + ac_cv_target=$ac_cv_host 1.2458 +else 1.2459 + ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 1.2460 + as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 1.2461 +fi 1.2462 + 1.2463 +fi 1.2464 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 1.2465 +$as_echo "$ac_cv_target" >&6; } 1.2466 +case $ac_cv_target in 1.2467 +*-*-*) ;; 1.2468 +*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;; 1.2469 +esac 1.2470 +target=$ac_cv_target 1.2471 +ac_save_IFS=$IFS; IFS='-' 1.2472 +set x $ac_cv_target 1.2473 +shift 1.2474 +target_cpu=$1 1.2475 +target_vendor=$2 1.2476 +shift; shift 1.2477 +# Remember, the first character of IFS is used to create $*, 1.2478 +# except with old shells: 1.2479 +target_os=$* 1.2480 +IFS=$ac_save_IFS 1.2481 +case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac 1.2482 + 1.2483 + 1.2484 +# The aliases save the names the user supplied, while $host etc. 1.2485 +# will get canonicalized. 1.2486 +test -n "$target_alias" && 1.2487 + test "$program_prefix$program_suffix$program_transform_name" = \ 1.2488 + NONENONEs,x,x, && 1.2489 + program_prefix=${target_alias}- 1.2490 + 1.2491 +MOD_MAJOR_VERSION=4 1.2492 +MOD_MINOR_VERSION=10 1.2493 +MOD_PATCH_VERSION=6 1.2494 +NSPR_MODNAME=nspr20 1.2495 +_HAVE_PTHREADS= 1.2496 +USE_PTHREADS= 1.2497 +USE_USER_PTHREADS= 1.2498 +USE_NSPR_THREADS= 1.2499 +USE_N32= 1.2500 +USE_X32= 1.2501 +USE_64= 1.2502 +USE_CPLUS= 1.2503 +USE_IPV6= 1.2504 +USE_MDUPDATE= 1.2505 +_MACOSX_DEPLOYMENT_TARGET= 1.2506 +_OPTIMIZE_FLAGS=-O 1.2507 +_DEBUG_FLAGS=-g 1.2508 +MOZ_DEBUG=1 1.2509 +MOZ_OPTIMIZE= 1.2510 +OBJDIR='$(OBJDIR_NAME)' 1.2511 +OBJDIR_NAME=. 1.2512 +OBJDIR_SUFFIX=OBJ 1.2513 +NSINSTALL='$(MOD_DEPTH)/config/$(OBJDIR_NAME)/nsinstall' 1.2514 +NOSUCHFILE=/no-such-file 1.2515 +LIBNSPR='-L$(dist_libdir) -lnspr$(MOD_MAJOR_VERSION)' 1.2516 +LIBPLC='-L$(dist_libdir) -lplc$(MOD_MAJOR_VERSION)' 1.2517 +CYGWIN_WRAPPER= 1.2518 +MACOS_SDK_DIR= 1.2519 +NEXT_ROOT= 1.2520 +MT= 1.2521 +MOZ_OS2_HIGH_MEMORY=1 1.2522 +PROFILE_GEN_CFLAGS= 1.2523 +PROFILE_GEN_LDFLAGS= 1.2524 +PROFILE_USE_CFLAGS= 1.2525 +PROFILE_USE_LDFLAGS= 1.2526 + 1.2527 +RESOLVE_LINK_SYMBOLS= 1.2528 + 1.2529 +CFLAGS="${CFLAGS=}" 1.2530 +CXXFLAGS="${CXXFLAGS=}" 1.2531 +LDFLAGS="${LDFLAGS=}" 1.2532 +DLLFLAGS="${DLLFLAGS=}" 1.2533 +HOST_CFLAGS="${HOST_CFLAGS=}" 1.2534 +HOST_LDFLAGS="${HOST_LDFLAGS=}" 1.2535 + 1.2536 +case "$target" in 1.2537 +*-cygwin*|*-mingw*|*-msys*) 1.2538 + # Check to see if we are really running in a msvc environemnt 1.2539 + _WIN32_MSVC= 1.2540 + for ac_prog in cl 1.2541 +do 1.2542 + # Extract the first word of "$ac_prog", so it can be a program name with args. 1.2543 +set dummy $ac_prog; ac_word=$2 1.2544 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 1.2545 +$as_echo_n "checking for $ac_word... " >&6; } 1.2546 +if ${ac_cv_prog_CC+:} false; then : 1.2547 + $as_echo_n "(cached) " >&6 1.2548 +else 1.2549 + if test -n "$CC"; then 1.2550 + ac_cv_prog_CC="$CC" # Let the user override the test. 1.2551 +else 1.2552 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1.2553 +for as_dir in $PATH 1.2554 +do 1.2555 + IFS=$as_save_IFS 1.2556 + test -z "$as_dir" && as_dir=. 1.2557 + for ac_exec_ext in '' $ac_executable_extensions; do 1.2558 + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1.2559 + ac_cv_prog_CC="$ac_prog" 1.2560 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1.2561 + break 2 1.2562 + fi 1.2563 +done 1.2564 + done 1.2565 +IFS=$as_save_IFS 1.2566 + 1.2567 +fi 1.2568 +fi 1.2569 +CC=$ac_cv_prog_CC 1.2570 +if test -n "$CC"; then 1.2571 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 1.2572 +$as_echo "$CC" >&6; } 1.2573 +else 1.2574 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1.2575 +$as_echo "no" >&6; } 1.2576 +fi 1.2577 + 1.2578 + 1.2579 + test -n "$CC" && break 1.2580 +done 1.2581 + 1.2582 + if test "$CC" = "cl"; then 1.2583 + echo 'main() { return 0; }' > dummy.c 1.2584 + ${CC} -o dummy dummy.c >/dev/null 2>&1 1.2585 + if test $? = 0; then 1.2586 + _WIN32_MSVC=1 1.2587 + CXX=$CC 1.2588 + else 1.2589 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $(CC) test failed. Using normal feature tests" >&5 1.2590 +$as_echo "$as_me: WARNING: $(CC) test failed. Using normal feature tests" >&2;} 1.2591 + fi 1.2592 + rm -f dummy dummy.o dummy.obj dummy.exe dummy.c 1.2593 + fi 1.2594 + ;; 1.2595 +*-mks*) 1.2596 + _WIN32_MSVC=1 1.2597 + ;; 1.2598 +esac 1.2599 + 1.2600 +if test -n "$_WIN32_MSVC"; then 1.2601 + SKIP_PATH_CHECKS=1 1.2602 + SKIP_COMPILER_CHECKS=1 1.2603 + SKIP_LIBRARY_CHECKS=1 1.2604 +fi 1.2605 + 1.2606 + 1.2607 + 1.2608 +# Check whether --with-android-ndk was given. 1.2609 +if test "${with_android_ndk+set}" = set; then : 1.2610 + withval=$with_android_ndk; android_ndk=$withval 1.2611 +fi 1.2612 + 1.2613 + 1.2614 + 1.2615 +# Check whether --with-android-toolchain was given. 1.2616 +if test "${with_android_toolchain+set}" = set; then : 1.2617 + withval=$with_android_toolchain; android_toolchain=$withval 1.2618 +fi 1.2619 + 1.2620 + 1.2621 +case "$target_cpu" in 1.2622 +arm) 1.2623 + android_version=5 1.2624 + ;; 1.2625 +i?86|mipsel) 1.2626 + android_version=9 1.2627 + ;; 1.2628 +esac 1.2629 + 1.2630 + 1.2631 +# Check whether --with-android-version was given. 1.2632 +if test "${with_android_version+set}" = set; then : 1.2633 + withval=$with_android_version; android_version=$withval 1.2634 +fi 1.2635 + 1.2636 + 1.2637 + 1.2638 +# Check whether --with-android-platform was given. 1.2639 +if test "${with_android_platform+set}" = set; then : 1.2640 + withval=$with_android_platform; android_platform=$withval 1.2641 +fi 1.2642 + 1.2643 + 1.2644 +case "$target" in 1.2645 +arm-linux*-android*|*-linuxandroid*) 1.2646 + android_tool_prefix="arm-linux-androideabi" 1.2647 + ;; 1.2648 +i?86-*android*) 1.2649 + android_tool_prefix="i686-linux-android" 1.2650 + ;; 1.2651 +mipsel-*android*) 1.2652 + android_tool_prefix="mipsel-linux-android" 1.2653 + ;; 1.2654 +*) 1.2655 + android_tool_prefix="$target_os" 1.2656 + ;; 1.2657 +esac 1.2658 + 1.2659 + 1.2660 + 1.2661 +# Check whether --with-gonk was given. 1.2662 +if test "${with_gonk+set}" = set; then : 1.2663 + withval=$with_gonk; gonkdir=$withval 1.2664 +fi 1.2665 + 1.2666 + 1.2667 +if test -n "$gonkdir" ; then 1.2668 + 1.2669 + if test -z "$HOST_CPPFLAGS" ; then 1.2670 + HOST_CPPFLAGS=" " 1.2671 + fi 1.2672 + if test -z "$HOST_CFLAGS" ; then 1.2673 + HOST_CFLAGS=" " 1.2674 + fi 1.2675 + if test -z "$HOST_CXXFLAGS" ; then 1.2676 + HOST_CXXFLAGS=" " 1.2677 + fi 1.2678 + if test -z "$HOST_LDFLAGS" ; then 1.2679 + HOST_LDFLAGS=" " 1.2680 + fi 1.2681 + 1.2682 + $as_echo "#define ANDROID 1" >>confdefs.h 1.2683 + 1.2684 +else 1.2685 +case "$target" in 1.2686 +*-android*|*-linuxandroid*) 1.2687 + if test -z "$android_ndk" ; then 1.2688 + as_fn_error $? "You must specify --with-android-ndk=/path/to/ndk when targeting Android." "$LINENO" 5 1.2689 + fi 1.2690 + 1.2691 + if test -z "$android_toolchain" ; then 1.2692 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for android toolchain directory" >&5 1.2693 +$as_echo_n "checking for android toolchain directory... " >&6; } 1.2694 + 1.2695 + kernel_name=`uname -s | tr "[:upper:]" "[:lower:]"` 1.2696 + 1.2697 + case "$target_cpu" in 1.2698 + arm) 1.2699 + target_name=arm-linux-androideabi-4.4.3 1.2700 + ;; 1.2701 + i?86) 1.2702 + target_name=x86-4.4.3 1.2703 + ;; 1.2704 + mipsel) 1.2705 + target_name=mipsel-linux-android-4.4.3 1.2706 + ;; 1.2707 + esac 1.2708 + android_toolchain="$android_ndk"/toolchains/$target_name/prebuilt/$kernel_name-x86 1.2709 + 1.2710 + if test -d "$android_toolchain" ; then 1.2711 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $android_toolchain" >&5 1.2712 +$as_echo "$android_toolchain" >&6; } 1.2713 + else 1.2714 + as_fn_error $? "not found. You have to specify --with-android-toolchain=/path/to/ndk/toolchain." "$LINENO" 5 1.2715 + fi 1.2716 + fi 1.2717 + 1.2718 + if test -z "$android_platform" ; then 1.2719 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for android platform directory" >&5 1.2720 +$as_echo_n "checking for android platform directory... " >&6; } 1.2721 + 1.2722 + case "$target_cpu" in 1.2723 + arm) 1.2724 + target_name=arm 1.2725 + ;; 1.2726 + i?86) 1.2727 + target_name=x86 1.2728 + ;; 1.2729 + mipsel) 1.2730 + target_name=mips 1.2731 + ;; 1.2732 + esac 1.2733 + 1.2734 + android_platform="$android_ndk"/platforms/android-"$android_version"/arch-"$target_name" 1.2735 + 1.2736 + if test -d "$android_platform" ; then 1.2737 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $android_platform" >&5 1.2738 +$as_echo "$android_platform" >&6; } 1.2739 + else 1.2740 + as_fn_error $? "not found. You have to specify --with-android-platform=/path/to/ndk/platform." "$LINENO" 5 1.2741 + fi 1.2742 + fi 1.2743 + 1.2744 + case "$target_cpu" in 1.2745 + i?86) 1.2746 + if ! test -e "$android_toolchain"/bin/"$android_tool_prefix"-gcc; then 1.2747 + android_tool_prefix="i686-android-linux" 1.2748 + fi 1.2749 + ;; 1.2750 + esac 1.2751 + 1.2752 + AS="$android_toolchain"/bin/"$android_tool_prefix"-as 1.2753 + CC="$android_toolchain"/bin/"$android_tool_prefix"-gcc 1.2754 + CXX="$android_toolchain"/bin/"$android_tool_prefix"-g++ 1.2755 + CPP="$android_toolchain"/bin/"$android_tool_prefix"-cpp 1.2756 + LD="$android_toolchain"/bin/"$android_tool_prefix"-ld 1.2757 + AR="$android_toolchain"/bin/"$android_tool_prefix"-ar 1.2758 + RANLIB="$android_toolchain"/bin/"$android_tool_prefix"-ranlib 1.2759 + STRIP="$android_toolchain"/bin/"$android_tool_prefix"-strip 1.2760 + 1.2761 + CPPFLAGS="-I$android_platform/usr/include $CPPFLAGS" 1.2762 + CFLAGS="-mandroid -I$android_platform/usr/include -fno-short-enums -fno-exceptions $CFLAGS" 1.2763 + CXXFLAGS="-mandroid -I$android_platform/usr/include -fpic -fno-short-enums -fno-exceptions $CXXFLAGS" 1.2764 + LDFLAGS="-mandroid -L$android_platform/usr/lib -Wl,-rpath-link=$android_platform/usr/lib --sysroot=$android_platform $LDFLAGS" 1.2765 + 1.2766 + if test -z "$HOST_CPPFLAGS" ; then 1.2767 + HOST_CPPFLAGS=" " 1.2768 + fi 1.2769 + if test -z "$HOST_CFLAGS" ; then 1.2770 + HOST_CFLAGS=" " 1.2771 + fi 1.2772 + if test -z "$HOST_CXXFLAGS" ; then 1.2773 + HOST_CXXFLAGS=" " 1.2774 + fi 1.2775 + if test -z "$HOST_LDFLAGS" ; then 1.2776 + HOST_LDFLAGS=" " 1.2777 + fi 1.2778 + 1.2779 + $as_echo "#define ANDROID 1" >>confdefs.h 1.2780 + 1.2781 + ;; 1.2782 +esac 1.2783 +fi 1.2784 + 1.2785 +dist_prefix='${MOD_DEPTH}/dist' 1.2786 +dist_bindir='${dist_prefix}/bin' 1.2787 +dist_includedir='${dist_prefix}/include/nspr' 1.2788 +dist_libdir='${dist_prefix}/lib' 1.2789 +if test "${includedir}" = '${prefix}/include'; then 1.2790 + includedir='${prefix}/include/nspr' 1.2791 +fi 1.2792 + 1.2793 + 1.2794 +# Check whether --with-dist-prefix was given. 1.2795 +if test "${with_dist_prefix+set}" = set; then : 1.2796 + withval=$with_dist_prefix; dist_prefix=$withval 1.2797 +fi 1.2798 + 1.2799 + 1.2800 + 1.2801 +# Check whether --with-dist-bindir was given. 1.2802 +if test "${with_dist_bindir+set}" = set; then : 1.2803 + withval=$with_dist_bindir; dist_bindir=$withval 1.2804 +fi 1.2805 + 1.2806 + 1.2807 + 1.2808 +# Check whether --with-dist-includedir was given. 1.2809 +if test "${with_dist_includedir+set}" = set; then : 1.2810 + withval=$with_dist_includedir; dist_includedir=$withval 1.2811 +fi 1.2812 + 1.2813 + 1.2814 + 1.2815 +# Check whether --with-dist-libdir was given. 1.2816 +if test "${with_dist_libdir+set}" = set; then : 1.2817 + withval=$with_dist_libdir; dist_libdir=$withval 1.2818 +fi 1.2819 + 1.2820 + 1.2821 + 1.2822 + 1.2823 + 1.2824 + 1.2825 + 1.2826 + 1.2827 +# Check whether --with-mozilla was given. 1.2828 +if test "${with_mozilla+set}" = set; then : 1.2829 + withval=$with_mozilla; if test "$withval" = "yes"; then 1.2830 + $as_echo "#define MOZILLA_CLIENT 1" >>confdefs.h 1.2831 + 1.2832 + MOZILLA_CLIENT=1 1.2833 + else 1.2834 + MOZILLA_CLIENT= 1.2835 + fi 1.2836 +else 1.2837 + if test -n "$MOZILLA_CLIENT"; then 1.2838 + $as_echo "#define MOZILLA_CLIENT 1" >>confdefs.h 1.2839 + 1.2840 + fi 1.2841 +fi 1.2842 + 1.2843 + 1.2844 +# Check whether --enable-optimize was given. 1.2845 +if test "${enable_optimize+set}" = set; then : 1.2846 + enableval=$enable_optimize; if test "$enableval" != "no"; then 1.2847 + MOZ_OPTIMIZE=1 1.2848 + if test -n "$enableval" -a "$enableval" != "yes"; then 1.2849 + _OPTIMIZE_FLAGS=`echo $enableval | sed -e 's|\\\ | |g'` 1.2850 + _SAVE_OPTIMIZE_FLAGS=$_OPTIMIZE_FLAGS 1.2851 + fi 1.2852 + else 1.2853 + MOZ_OPTIMIZE= 1.2854 + fi 1.2855 +fi 1.2856 + 1.2857 + 1.2858 +# Check whether --enable-debug was given. 1.2859 +if test "${enable_debug+set}" = set; then : 1.2860 + enableval=$enable_debug; if test "$enableval" != "no"; then 1.2861 + MOZ_DEBUG=1 1.2862 + MOZ_DEBUG_SYMBOLS=1 1.2863 + if test -n "$enableval" -a "$enableval" != "yes"; then 1.2864 + _DEBUG_FLAGS=`echo $enableval | sed -e 's|\\\ | |g'` 1.2865 + _SAVE_DEBUG_FLAGS=$_DEBUG_FLAGS 1.2866 + fi 1.2867 + else 1.2868 + MOZ_DEBUG= 1.2869 + fi 1.2870 +else 1.2871 + MOZ_DEBUG_SYMBOLS=1 1.2872 +fi 1.2873 + 1.2874 + 1.2875 +# Check whether --enable-debug-symbols was given. 1.2876 +if test "${enable_debug_symbols+set}" = set; then : 1.2877 + enableval=$enable_debug_symbols; if test "$enableval" != "no"; then 1.2878 + MOZ_DEBUG_SYMBOLS=1 1.2879 + if test -n "$enableval" -a "$enableval" != "yes"; then 1.2880 + if test -z "$_SAVE_DEBUG_FLAGS"; then 1.2881 + _DEBUG_FLAGS=`echo $enableval | sed -e 's|\\\ | |g'` 1.2882 + _SAVE_DEBUG_FLAGS=$_DEBUG_FLAGS 1.2883 + else 1.2884 + as_fn_error $? "--enable-debug-symbols flags cannot be used with --enable-debug flags" "$LINENO" 5 1.2885 + fi 1.2886 + fi 1.2887 + else 1.2888 + MOZ_DEBUG_SYMBOLS= 1.2889 + fi 1.2890 +fi 1.2891 + 1.2892 + 1.2893 +# Check whether --enable-win32-target was given. 1.2894 +if test "${enable_win32_target+set}" = set; then : 1.2895 + enableval=$enable_win32_target; OS_TARGET=`echo $enableval | tr a-z A-Z` 1.2896 +fi 1.2897 + 1.2898 + 1.2899 +# Check whether --enable-symbian-target was given. 1.2900 +if test "${enable_symbian_target+set}" = set; then : 1.2901 + enableval=$enable_symbian_target; OS_TARGET=`echo $enableval | tr a-z A-Z` 1.2902 +fi 1.2903 + 1.2904 + 1.2905 +# Check whether --enable-debug-rtl was given. 1.2906 +if test "${enable_debug_rtl+set}" = set; then : 1.2907 + enableval=$enable_debug_rtl; if test "$enableval" = "yes"; then 1.2908 + USE_DEBUG_RTL=1 1.2909 + else 1.2910 + USE_DEBUG_RTL=0 1.2911 + fi 1.2912 +fi 1.2913 + 1.2914 + 1.2915 +# Check whether --enable-n32 was given. 1.2916 +if test "${enable_n32+set}" = set; then : 1.2917 + enableval=$enable_n32; if test "$enableval" = "yes"; then 1.2918 + USE_N32=1 1.2919 + else if test "$enableval" = "no"; then 1.2920 + USE_N32= 1.2921 + fi 1.2922 + fi 1.2923 +fi 1.2924 + 1.2925 + 1.2926 +# Check whether --enable-x32 was given. 1.2927 +if test "${enable_x32+set}" = set; then : 1.2928 + enableval=$enable_x32; if test "$enableval" = "yes"; then 1.2929 + USE_X32=1 1.2930 + else if test "$enableval" = "no"; then 1.2931 + USE_X32= 1.2932 + fi 1.2933 + fi 1.2934 +fi 1.2935 + 1.2936 + 1.2937 +# Check whether --enable-64bit was given. 1.2938 +if test "${enable_64bit+set}" = set; then : 1.2939 + enableval=$enable_64bit; if test "$enableval" = "yes"; then 1.2940 + USE_64=1 1.2941 + fi 1.2942 +fi 1.2943 + 1.2944 + 1.2945 +# Check whether --enable-mdupdate was given. 1.2946 +if test "${enable_mdupdate+set}" = set; then : 1.2947 + enableval=$enable_mdupdate; if test "$enableval" = "yes"; then 1.2948 + USE_MDUPDATE=1 1.2949 + fi 1.2950 +fi 1.2951 + 1.2952 + 1.2953 +# Check whether --enable-cplus was given. 1.2954 +if test "${enable_cplus+set}" = set; then : 1.2955 + enableval=$enable_cplus; if test "$enableval" = "yes"; then 1.2956 + USE_CPLUS=1 1.2957 + fi 1.2958 +fi 1.2959 + 1.2960 + 1.2961 + 1.2962 +# Check whether --with-arm-kuser was given. 1.2963 +if test "${with_arm_kuser+set}" = set; then : 1.2964 + withval=$with_arm_kuser; if test "$withval" = "yes"; then 1.2965 + $as_echo "#define _PR_ARM_KUSER 1" >>confdefs.h 1.2966 + 1.2967 + fi 1.2968 +fi 1.2969 + 1.2970 + 1.2971 + 1.2972 +# Check whether --with-macos-sdk was given. 1.2973 +if test "${with_macos_sdk+set}" = set; then : 1.2974 + withval=$with_macos_sdk; MACOS_SDK_DIR=$withval 1.2975 +fi 1.2976 + 1.2977 + 1.2978 +# Check whether --enable-macos-target was given. 1.2979 +if test "${enable_macos_target+set}" = set; then : 1.2980 + enableval=$enable_macos_target; _MACOSX_DEPLOYMENT_TARGET=$enableval 1.2981 +fi 1.2982 + 1.2983 + 1.2984 +case "$target" in 1.2985 + 1.2986 +*-aix*) 1.2987 + case "${target_os}" in 1.2988 + aix3.2*) 1.2989 + USE_NSPR_THREADS=1 1.2990 + ;; 1.2991 + *) 1.2992 + USE_PTHREADS=1 1.2993 + ;; 1.2994 + esac 1.2995 + ;; 1.2996 + 1.2997 +esac 1.2998 + 1.2999 +if test -z "$CC"; then 1.3000 + case "$target" in 1.3001 + 1.3002 + *-aix*) 1.3003 + if test -z "$USE_NSPR_THREADS"; then 1.3004 + CC=xlc_r 1.3005 + else 1.3006 + CC=xlc 1.3007 + fi 1.3008 + ;; 1.3009 + 1.3010 + *-hpux*) 1.3011 + CC=cc 1.3012 + ;; 1.3013 + 1.3014 + *-irix*) 1.3015 + CC=cc 1.3016 + ;; 1.3017 + 1.3018 + *-osf*) 1.3019 + CC=cc 1.3020 + ;; 1.3021 + 1.3022 + *-solaris*) 1.3023 + CC=cc 1.3024 + ;; 1.3025 + 1.3026 + esac 1.3027 +fi 1.3028 + 1.3029 +if test -z "$CXX"; then 1.3030 + case "$target" in 1.3031 + 1.3032 + *-aix*) 1.3033 + if test -z "$USE_NSPR_THREADS"; then 1.3034 + CXX=xlC_r 1.3035 + else 1.3036 + CXX=xlC 1.3037 + fi 1.3038 + ;; 1.3039 + 1.3040 + *-hpux*) 1.3041 + case "${target_os}" in 1.3042 + hpux10.30) 1.3043 + CXX=aCC 1.3044 + ;; 1.3045 + hpux11.*) 1.3046 + CXX=aCC 1.3047 + ;; 1.3048 + *) 1.3049 + CXX=CC 1.3050 + ;; 1.3051 + esac 1.3052 + ;; 1.3053 + 1.3054 + *-irix*) 1.3055 + CXX=CC 1.3056 + ;; 1.3057 + 1.3058 + *-osf*) 1.3059 + CXX=cxx 1.3060 + ;; 1.3061 + 1.3062 + *-solaris*) 1.3063 + CXX=CC 1.3064 + ;; 1.3065 + 1.3066 + esac 1.3067 +fi 1.3068 + 1.3069 +if test -z "$SKIP_PATH_CHECKS"; then 1.3070 + # Extract the first word of "$WHOAMI whoami", so it can be a program name with args. 1.3071 +set dummy $WHOAMI whoami; ac_word=$2 1.3072 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 1.3073 +$as_echo_n "checking for $ac_word... " >&6; } 1.3074 +if ${ac_cv_path_WHOAMI+:} false; then : 1.3075 + $as_echo_n "(cached) " >&6 1.3076 +else 1.3077 + case $WHOAMI in 1.3078 + [\\/]* | ?:[\\/]*) 1.3079 + ac_cv_path_WHOAMI="$WHOAMI" # Let the user override the test with a path. 1.3080 + ;; 1.3081 + *) 1.3082 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1.3083 +for as_dir in $PATH 1.3084 +do 1.3085 + IFS=$as_save_IFS 1.3086 + test -z "$as_dir" && as_dir=. 1.3087 + for ac_exec_ext in '' $ac_executable_extensions; do 1.3088 + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1.3089 + ac_cv_path_WHOAMI="$as_dir/$ac_word$ac_exec_ext" 1.3090 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1.3091 + break 2 1.3092 + fi 1.3093 +done 1.3094 + done 1.3095 +IFS=$as_save_IFS 1.3096 + 1.3097 + test -z "$ac_cv_path_WHOAMI" && ac_cv_path_WHOAMI="echo not_whoami" 1.3098 + ;; 1.3099 +esac 1.3100 +fi 1.3101 +WHOAMI=$ac_cv_path_WHOAMI 1.3102 +if test -n "$WHOAMI"; then 1.3103 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WHOAMI" >&5 1.3104 +$as_echo "$WHOAMI" >&6; } 1.3105 +else 1.3106 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1.3107 +$as_echo "no" >&6; } 1.3108 +fi 1.3109 + 1.3110 + 1.3111 +fi 1.3112 + 1.3113 +if test -n "$MOZ_DEBUG"; then 1.3114 + $as_echo "#define DEBUG 1" >>confdefs.h 1.3115 + 1.3116 + DEFINES="$DEFINES -UNDEBUG" 1.3117 + 1.3118 + case "${target_os}" in 1.3119 + beos*) 1.3120 + DEFINES="$DEFINES -DDEBUG_${USER}" 1.3121 + ;; 1.3122 + mks*|cygwin*|mingw*|msys*|os2*) 1.3123 + DEFINES="$DEFINES -DDEBUG_`echo ${USERNAME} | sed -e 's| |_|g'`" 1.3124 + ;; 1.3125 + *) 1.3126 + DEFINES="$DEFINES -DDEBUG_`$WHOAMI`" 1.3127 + ;; 1.3128 + esac 1.3129 +else 1.3130 + $as_echo "#define NDEBUG 1" >>confdefs.h 1.3131 + 1.3132 + DEFINES="$DEFINES -UDEBUG" 1.3133 +fi 1.3134 + 1.3135 +if test -z "$SKIP_COMPILER_CHECKS"; then 1.3136 +if test "$target" != "$host"; then 1.3137 + echo "cross compiling from $host to $target" 1.3138 + cross_compiling=yes 1.3139 + 1.3140 + case "$build:$target" in 1.3141 + powerpc-apple-darwin8*:i?86-apple-darwin*) 1.3142 + _SAVE_CFLAGS=$CFLAGS 1.3143 + _SAVE_CXXFLAGS=$CXXFLAGS 1.3144 + CFLAGS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk $CFLAGS" 1.3145 + CXXFLAGS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk $CXXFLAGS" 1.3146 + ;; 1.3147 + *:arm*-apple-darwin*) 1.3148 + _SAVE_CFLAGS=$CFLAGS 1.3149 + _SAVE_CXXFLAGS=$CXXFLAGS 1.3150 + CFLAGS="-isysroot $MACOS_SDK_DIR $CFLAGS" 1.3151 + CXXFLAGS="-isysroot $MACOS_SDK_DIR $CXXFLAGS" 1.3152 + ;; 1.3153 + esac 1.3154 + 1.3155 + for ac_prog in $CC "${target_alias}-gcc" "${target}-gcc" 1.3156 +do 1.3157 + # Extract the first word of "$ac_prog", so it can be a program name with args. 1.3158 +set dummy $ac_prog; ac_word=$2 1.3159 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 1.3160 +$as_echo_n "checking for $ac_word... " >&6; } 1.3161 +if ${ac_cv_prog_CC+:} false; then : 1.3162 + $as_echo_n "(cached) " >&6 1.3163 +else 1.3164 + if test -n "$CC"; then 1.3165 + ac_cv_prog_CC="$CC" # Let the user override the test. 1.3166 +else 1.3167 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1.3168 +for as_dir in $PATH 1.3169 +do 1.3170 + IFS=$as_save_IFS 1.3171 + test -z "$as_dir" && as_dir=. 1.3172 + for ac_exec_ext in '' $ac_executable_extensions; do 1.3173 + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1.3174 + ac_cv_prog_CC="$ac_prog" 1.3175 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1.3176 + break 2 1.3177 + fi 1.3178 +done 1.3179 + done 1.3180 +IFS=$as_save_IFS 1.3181 + 1.3182 +fi 1.3183 +fi 1.3184 +CC=$ac_cv_prog_CC 1.3185 +if test -n "$CC"; then 1.3186 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 1.3187 +$as_echo "$CC" >&6; } 1.3188 +else 1.3189 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1.3190 +$as_echo "no" >&6; } 1.3191 +fi 1.3192 + 1.3193 + 1.3194 + test -n "$CC" && break 1.3195 +done 1.3196 +test -n "$CC" || CC="echo" 1.3197 + 1.3198 + unset ac_cv_prog_CC 1.3199 + fi 1.3200 + 1.3201 +ac_ext=c 1.3202 +ac_cpp='$CPP $CPPFLAGS' 1.3203 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1.3204 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1.3205 +ac_compiler_gnu=$ac_cv_c_compiler_gnu 1.3206 +if test -n "$ac_tool_prefix"; then 1.3207 + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1.3208 +set dummy ${ac_tool_prefix}gcc; ac_word=$2 1.3209 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 1.3210 +$as_echo_n "checking for $ac_word... " >&6; } 1.3211 +if ${ac_cv_prog_CC+:} false; then : 1.3212 + $as_echo_n "(cached) " >&6 1.3213 +else 1.3214 + if test -n "$CC"; then 1.3215 + ac_cv_prog_CC="$CC" # Let the user override the test. 1.3216 +else 1.3217 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1.3218 +for as_dir in $PATH 1.3219 +do 1.3220 + IFS=$as_save_IFS 1.3221 + test -z "$as_dir" && as_dir=. 1.3222 + for ac_exec_ext in '' $ac_executable_extensions; do 1.3223 + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1.3224 + ac_cv_prog_CC="${ac_tool_prefix}gcc" 1.3225 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1.3226 + break 2 1.3227 + fi 1.3228 +done 1.3229 + done 1.3230 +IFS=$as_save_IFS 1.3231 + 1.3232 +fi 1.3233 +fi 1.3234 +CC=$ac_cv_prog_CC 1.3235 +if test -n "$CC"; then 1.3236 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 1.3237 +$as_echo "$CC" >&6; } 1.3238 +else 1.3239 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1.3240 +$as_echo "no" >&6; } 1.3241 +fi 1.3242 + 1.3243 + 1.3244 +fi 1.3245 +if test -z "$ac_cv_prog_CC"; then 1.3246 + ac_ct_CC=$CC 1.3247 + # Extract the first word of "gcc", so it can be a program name with args. 1.3248 +set dummy gcc; ac_word=$2 1.3249 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 1.3250 +$as_echo_n "checking for $ac_word... " >&6; } 1.3251 +if ${ac_cv_prog_ac_ct_CC+:} false; then : 1.3252 + $as_echo_n "(cached) " >&6 1.3253 +else 1.3254 + if test -n "$ac_ct_CC"; then 1.3255 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1.3256 +else 1.3257 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1.3258 +for as_dir in $PATH 1.3259 +do 1.3260 + IFS=$as_save_IFS 1.3261 + test -z "$as_dir" && as_dir=. 1.3262 + for ac_exec_ext in '' $ac_executable_extensions; do 1.3263 + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1.3264 + ac_cv_prog_ac_ct_CC="gcc" 1.3265 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1.3266 + break 2 1.3267 + fi 1.3268 +done 1.3269 + done 1.3270 +IFS=$as_save_IFS 1.3271 + 1.3272 +fi 1.3273 +fi 1.3274 +ac_ct_CC=$ac_cv_prog_ac_ct_CC 1.3275 +if test -n "$ac_ct_CC"; then 1.3276 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 1.3277 +$as_echo "$ac_ct_CC" >&6; } 1.3278 +else 1.3279 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1.3280 +$as_echo "no" >&6; } 1.3281 +fi 1.3282 + 1.3283 + if test "x$ac_ct_CC" = x; then 1.3284 + CC="" 1.3285 + else 1.3286 + case $cross_compiling:$ac_tool_warned in 1.3287 +yes:) 1.3288 +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 1.3289 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 1.3290 +ac_tool_warned=yes ;; 1.3291 +esac 1.3292 + CC=$ac_ct_CC 1.3293 + fi 1.3294 +else 1.3295 + CC="$ac_cv_prog_CC" 1.3296 +fi 1.3297 + 1.3298 +if test -z "$CC"; then 1.3299 + if test -n "$ac_tool_prefix"; then 1.3300 + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 1.3301 +set dummy ${ac_tool_prefix}cc; ac_word=$2 1.3302 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 1.3303 +$as_echo_n "checking for $ac_word... " >&6; } 1.3304 +if ${ac_cv_prog_CC+:} false; then : 1.3305 + $as_echo_n "(cached) " >&6 1.3306 +else 1.3307 + if test -n "$CC"; then 1.3308 + ac_cv_prog_CC="$CC" # Let the user override the test. 1.3309 +else 1.3310 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1.3311 +for as_dir in $PATH 1.3312 +do 1.3313 + IFS=$as_save_IFS 1.3314 + test -z "$as_dir" && as_dir=. 1.3315 + for ac_exec_ext in '' $ac_executable_extensions; do 1.3316 + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1.3317 + ac_cv_prog_CC="${ac_tool_prefix}cc" 1.3318 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1.3319 + break 2 1.3320 + fi 1.3321 +done 1.3322 + done 1.3323 +IFS=$as_save_IFS 1.3324 + 1.3325 +fi 1.3326 +fi 1.3327 +CC=$ac_cv_prog_CC 1.3328 +if test -n "$CC"; then 1.3329 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 1.3330 +$as_echo "$CC" >&6; } 1.3331 +else 1.3332 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1.3333 +$as_echo "no" >&6; } 1.3334 +fi 1.3335 + 1.3336 + 1.3337 + fi 1.3338 +fi 1.3339 +if test -z "$CC"; then 1.3340 + # Extract the first word of "cc", so it can be a program name with args. 1.3341 +set dummy cc; ac_word=$2 1.3342 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 1.3343 +$as_echo_n "checking for $ac_word... " >&6; } 1.3344 +if ${ac_cv_prog_CC+:} false; then : 1.3345 + $as_echo_n "(cached) " >&6 1.3346 +else 1.3347 + if test -n "$CC"; then 1.3348 + ac_cv_prog_CC="$CC" # Let the user override the test. 1.3349 +else 1.3350 + ac_prog_rejected=no 1.3351 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1.3352 +for as_dir in $PATH 1.3353 +do 1.3354 + IFS=$as_save_IFS 1.3355 + test -z "$as_dir" && as_dir=. 1.3356 + for ac_exec_ext in '' $ac_executable_extensions; do 1.3357 + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1.3358 + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 1.3359 + ac_prog_rejected=yes 1.3360 + continue 1.3361 + fi 1.3362 + ac_cv_prog_CC="cc" 1.3363 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1.3364 + break 2 1.3365 + fi 1.3366 +done 1.3367 + done 1.3368 +IFS=$as_save_IFS 1.3369 + 1.3370 +if test $ac_prog_rejected = yes; then 1.3371 + # We found a bogon in the path, so make sure we never use it. 1.3372 + set dummy $ac_cv_prog_CC 1.3373 + shift 1.3374 + if test $# != 0; then 1.3375 + # We chose a different compiler from the bogus one. 1.3376 + # However, it has the same basename, so the bogon will be chosen 1.3377 + # first if we set CC to just the basename; use the full file name. 1.3378 + shift 1.3379 + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 1.3380 + fi 1.3381 +fi 1.3382 +fi 1.3383 +fi 1.3384 +CC=$ac_cv_prog_CC 1.3385 +if test -n "$CC"; then 1.3386 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 1.3387 +$as_echo "$CC" >&6; } 1.3388 +else 1.3389 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1.3390 +$as_echo "no" >&6; } 1.3391 +fi 1.3392 + 1.3393 + 1.3394 +fi 1.3395 +if test -z "$CC"; then 1.3396 + if test -n "$ac_tool_prefix"; then 1.3397 + for ac_prog in cl.exe 1.3398 + do 1.3399 + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 1.3400 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2 1.3401 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 1.3402 +$as_echo_n "checking for $ac_word... " >&6; } 1.3403 +if ${ac_cv_prog_CC+:} false; then : 1.3404 + $as_echo_n "(cached) " >&6 1.3405 +else 1.3406 + if test -n "$CC"; then 1.3407 + ac_cv_prog_CC="$CC" # Let the user override the test. 1.3408 +else 1.3409 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1.3410 +for as_dir in $PATH 1.3411 +do 1.3412 + IFS=$as_save_IFS 1.3413 + test -z "$as_dir" && as_dir=. 1.3414 + for ac_exec_ext in '' $ac_executable_extensions; do 1.3415 + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1.3416 + ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 1.3417 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1.3418 + break 2 1.3419 + fi 1.3420 +done 1.3421 + done 1.3422 +IFS=$as_save_IFS 1.3423 + 1.3424 +fi 1.3425 +fi 1.3426 +CC=$ac_cv_prog_CC 1.3427 +if test -n "$CC"; then 1.3428 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 1.3429 +$as_echo "$CC" >&6; } 1.3430 +else 1.3431 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1.3432 +$as_echo "no" >&6; } 1.3433 +fi 1.3434 + 1.3435 + 1.3436 + test -n "$CC" && break 1.3437 + done 1.3438 +fi 1.3439 +if test -z "$CC"; then 1.3440 + ac_ct_CC=$CC 1.3441 + for ac_prog in cl.exe 1.3442 +do 1.3443 + # Extract the first word of "$ac_prog", so it can be a program name with args. 1.3444 +set dummy $ac_prog; ac_word=$2 1.3445 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 1.3446 +$as_echo_n "checking for $ac_word... " >&6; } 1.3447 +if ${ac_cv_prog_ac_ct_CC+:} false; then : 1.3448 + $as_echo_n "(cached) " >&6 1.3449 +else 1.3450 + if test -n "$ac_ct_CC"; then 1.3451 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1.3452 +else 1.3453 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1.3454 +for as_dir in $PATH 1.3455 +do 1.3456 + IFS=$as_save_IFS 1.3457 + test -z "$as_dir" && as_dir=. 1.3458 + for ac_exec_ext in '' $ac_executable_extensions; do 1.3459 + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1.3460 + ac_cv_prog_ac_ct_CC="$ac_prog" 1.3461 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1.3462 + break 2 1.3463 + fi 1.3464 +done 1.3465 + done 1.3466 +IFS=$as_save_IFS 1.3467 + 1.3468 +fi 1.3469 +fi 1.3470 +ac_ct_CC=$ac_cv_prog_ac_ct_CC 1.3471 +if test -n "$ac_ct_CC"; then 1.3472 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 1.3473 +$as_echo "$ac_ct_CC" >&6; } 1.3474 +else 1.3475 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1.3476 +$as_echo "no" >&6; } 1.3477 +fi 1.3478 + 1.3479 + 1.3480 + test -n "$ac_ct_CC" && break 1.3481 +done 1.3482 + 1.3483 + if test "x$ac_ct_CC" = x; then 1.3484 + CC="" 1.3485 + else 1.3486 + case $cross_compiling:$ac_tool_warned in 1.3487 +yes:) 1.3488 +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 1.3489 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 1.3490 +ac_tool_warned=yes ;; 1.3491 +esac 1.3492 + CC=$ac_ct_CC 1.3493 + fi 1.3494 +fi 1.3495 + 1.3496 +fi 1.3497 + 1.3498 + 1.3499 +test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1.3500 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1.3501 +as_fn_error $? "no acceptable C compiler found in \$PATH 1.3502 +See \`config.log' for more details" "$LINENO" 5; } 1.3503 + 1.3504 +# Provide some information about the compiler. 1.3505 +$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 1.3506 +set X $ac_compile 1.3507 +ac_compiler=$2 1.3508 +for ac_option in --version -v -V -qversion; do 1.3509 + { { ac_try="$ac_compiler $ac_option >&5" 1.3510 +case "(($ac_try" in 1.3511 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1.3512 + *) ac_try_echo=$ac_try;; 1.3513 +esac 1.3514 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1.3515 +$as_echo "$ac_try_echo"; } >&5 1.3516 + (eval "$ac_compiler $ac_option >&5") 2>conftest.err 1.3517 + ac_status=$? 1.3518 + if test -s conftest.err; then 1.3519 + sed '10a\ 1.3520 +... rest of stderr output deleted ... 1.3521 + 10q' conftest.err >conftest.er1 1.3522 + cat conftest.er1 >&5 1.3523 + fi 1.3524 + rm -f conftest.er1 conftest.err 1.3525 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1.3526 + test $ac_status = 0; } 1.3527 +done 1.3528 + 1.3529 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.3530 +/* end confdefs.h. */ 1.3531 + 1.3532 +int 1.3533 +main () 1.3534 +{ 1.3535 + 1.3536 + ; 1.3537 + return 0; 1.3538 +} 1.3539 +_ACEOF 1.3540 +ac_clean_files_save=$ac_clean_files 1.3541 +ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 1.3542 +# Try to create an executable without -o first, disregard a.out. 1.3543 +# It will help us diagnose broken compilers, and finding out an intuition 1.3544 +# of exeext. 1.3545 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 1.3546 +$as_echo_n "checking whether the C compiler works... " >&6; } 1.3547 +ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 1.3548 + 1.3549 +# The possible output files: 1.3550 +ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 1.3551 + 1.3552 +ac_rmfiles= 1.3553 +for ac_file in $ac_files 1.3554 +do 1.3555 + case $ac_file in 1.3556 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 1.3557 + * ) ac_rmfiles="$ac_rmfiles $ac_file";; 1.3558 + esac 1.3559 +done 1.3560 +rm -f $ac_rmfiles 1.3561 + 1.3562 +if { { ac_try="$ac_link_default" 1.3563 +case "(($ac_try" in 1.3564 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1.3565 + *) ac_try_echo=$ac_try;; 1.3566 +esac 1.3567 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1.3568 +$as_echo "$ac_try_echo"; } >&5 1.3569 + (eval "$ac_link_default") 2>&5 1.3570 + ac_status=$? 1.3571 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1.3572 + test $ac_status = 0; }; then : 1.3573 + # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 1.3574 +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 1.3575 +# in a Makefile. We should not override ac_cv_exeext if it was cached, 1.3576 +# so that the user can short-circuit this test for compilers unknown to 1.3577 +# Autoconf. 1.3578 +for ac_file in $ac_files '' 1.3579 +do 1.3580 + test -f "$ac_file" || continue 1.3581 + case $ac_file in 1.3582 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 1.3583 + ;; 1.3584 + [ab].out ) 1.3585 + # We found the default executable, but exeext='' is most 1.3586 + # certainly right. 1.3587 + break;; 1.3588 + *.* ) 1.3589 + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 1.3590 + then :; else 1.3591 + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1.3592 + fi 1.3593 + # We set ac_cv_exeext here because the later test for it is not 1.3594 + # safe: cross compilers may not add the suffix if given an `-o' 1.3595 + # argument, so we may need to know it at that point already. 1.3596 + # Even if this section looks crufty: it has the advantage of 1.3597 + # actually working. 1.3598 + break;; 1.3599 + * ) 1.3600 + break;; 1.3601 + esac 1.3602 +done 1.3603 +test "$ac_cv_exeext" = no && ac_cv_exeext= 1.3604 + 1.3605 +else 1.3606 + ac_file='' 1.3607 +fi 1.3608 +if test -z "$ac_file"; then : 1.3609 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1.3610 +$as_echo "no" >&6; } 1.3611 +$as_echo "$as_me: failed program was:" >&5 1.3612 +sed 's/^/| /' conftest.$ac_ext >&5 1.3613 + 1.3614 +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1.3615 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1.3616 +as_fn_error 77 "C compiler cannot create executables 1.3617 +See \`config.log' for more details" "$LINENO" 5; } 1.3618 +else 1.3619 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 1.3620 +$as_echo "yes" >&6; } 1.3621 +fi 1.3622 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 1.3623 +$as_echo_n "checking for C compiler default output file name... " >&6; } 1.3624 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 1.3625 +$as_echo "$ac_file" >&6; } 1.3626 +ac_exeext=$ac_cv_exeext 1.3627 + 1.3628 +rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 1.3629 +ac_clean_files=$ac_clean_files_save 1.3630 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 1.3631 +$as_echo_n "checking for suffix of executables... " >&6; } 1.3632 +if { { ac_try="$ac_link" 1.3633 +case "(($ac_try" in 1.3634 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1.3635 + *) ac_try_echo=$ac_try;; 1.3636 +esac 1.3637 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1.3638 +$as_echo "$ac_try_echo"; } >&5 1.3639 + (eval "$ac_link") 2>&5 1.3640 + ac_status=$? 1.3641 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1.3642 + test $ac_status = 0; }; then : 1.3643 + # If both `conftest.exe' and `conftest' are `present' (well, observable) 1.3644 +# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 1.3645 +# work properly (i.e., refer to `conftest.exe'), while it won't with 1.3646 +# `rm'. 1.3647 +for ac_file in conftest.exe conftest conftest.*; do 1.3648 + test -f "$ac_file" || continue 1.3649 + case $ac_file in 1.3650 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 1.3651 + *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1.3652 + break;; 1.3653 + * ) break;; 1.3654 + esac 1.3655 +done 1.3656 +else 1.3657 + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1.3658 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1.3659 +as_fn_error $? "cannot compute suffix of executables: cannot compile and link 1.3660 +See \`config.log' for more details" "$LINENO" 5; } 1.3661 +fi 1.3662 +rm -f conftest conftest$ac_cv_exeext 1.3663 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 1.3664 +$as_echo "$ac_cv_exeext" >&6; } 1.3665 + 1.3666 +rm -f conftest.$ac_ext 1.3667 +EXEEXT=$ac_cv_exeext 1.3668 +ac_exeext=$EXEEXT 1.3669 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.3670 +/* end confdefs.h. */ 1.3671 +#include <stdio.h> 1.3672 +int 1.3673 +main () 1.3674 +{ 1.3675 +FILE *f = fopen ("conftest.out", "w"); 1.3676 + return ferror (f) || fclose (f) != 0; 1.3677 + 1.3678 + ; 1.3679 + return 0; 1.3680 +} 1.3681 +_ACEOF 1.3682 +ac_clean_files="$ac_clean_files conftest.out" 1.3683 +# Check that the compiler produces executables we can run. If not, either 1.3684 +# the compiler is broken, or we cross compile. 1.3685 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 1.3686 +$as_echo_n "checking whether we are cross compiling... " >&6; } 1.3687 +if test "$cross_compiling" != yes; then 1.3688 + { { ac_try="$ac_link" 1.3689 +case "(($ac_try" in 1.3690 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1.3691 + *) ac_try_echo=$ac_try;; 1.3692 +esac 1.3693 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1.3694 +$as_echo "$ac_try_echo"; } >&5 1.3695 + (eval "$ac_link") 2>&5 1.3696 + ac_status=$? 1.3697 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1.3698 + test $ac_status = 0; } 1.3699 + if { ac_try='./conftest$ac_cv_exeext' 1.3700 + { { case "(($ac_try" in 1.3701 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1.3702 + *) ac_try_echo=$ac_try;; 1.3703 +esac 1.3704 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1.3705 +$as_echo "$ac_try_echo"; } >&5 1.3706 + (eval "$ac_try") 2>&5 1.3707 + ac_status=$? 1.3708 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1.3709 + test $ac_status = 0; }; }; then 1.3710 + cross_compiling=no 1.3711 + else 1.3712 + if test "$cross_compiling" = maybe; then 1.3713 + cross_compiling=yes 1.3714 + else 1.3715 + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1.3716 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1.3717 +as_fn_error $? "cannot run C compiled programs. 1.3718 +If you meant to cross compile, use \`--host'. 1.3719 +See \`config.log' for more details" "$LINENO" 5; } 1.3720 + fi 1.3721 + fi 1.3722 +fi 1.3723 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 1.3724 +$as_echo "$cross_compiling" >&6; } 1.3725 + 1.3726 +rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 1.3727 +ac_clean_files=$ac_clean_files_save 1.3728 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 1.3729 +$as_echo_n "checking for suffix of object files... " >&6; } 1.3730 +if ${ac_cv_objext+:} false; then : 1.3731 + $as_echo_n "(cached) " >&6 1.3732 +else 1.3733 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.3734 +/* end confdefs.h. */ 1.3735 + 1.3736 +int 1.3737 +main () 1.3738 +{ 1.3739 + 1.3740 + ; 1.3741 + return 0; 1.3742 +} 1.3743 +_ACEOF 1.3744 +rm -f conftest.o conftest.obj 1.3745 +if { { ac_try="$ac_compile" 1.3746 +case "(($ac_try" in 1.3747 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1.3748 + *) ac_try_echo=$ac_try;; 1.3749 +esac 1.3750 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1.3751 +$as_echo "$ac_try_echo"; } >&5 1.3752 + (eval "$ac_compile") 2>&5 1.3753 + ac_status=$? 1.3754 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1.3755 + test $ac_status = 0; }; then : 1.3756 + for ac_file in conftest.o conftest.obj conftest.*; do 1.3757 + test -f "$ac_file" || continue; 1.3758 + case $ac_file in 1.3759 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 1.3760 + *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 1.3761 + break;; 1.3762 + esac 1.3763 +done 1.3764 +else 1.3765 + $as_echo "$as_me: failed program was:" >&5 1.3766 +sed 's/^/| /' conftest.$ac_ext >&5 1.3767 + 1.3768 +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1.3769 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1.3770 +as_fn_error $? "cannot compute suffix of object files: cannot compile 1.3771 +See \`config.log' for more details" "$LINENO" 5; } 1.3772 +fi 1.3773 +rm -f conftest.$ac_cv_objext conftest.$ac_ext 1.3774 +fi 1.3775 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 1.3776 +$as_echo "$ac_cv_objext" >&6; } 1.3777 +OBJEXT=$ac_cv_objext 1.3778 +ac_objext=$OBJEXT 1.3779 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 1.3780 +$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 1.3781 +if ${ac_cv_c_compiler_gnu+:} false; then : 1.3782 + $as_echo_n "(cached) " >&6 1.3783 +else 1.3784 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.3785 +/* end confdefs.h. */ 1.3786 + 1.3787 +int 1.3788 +main () 1.3789 +{ 1.3790 +#ifndef __GNUC__ 1.3791 + choke me 1.3792 +#endif 1.3793 + 1.3794 + ; 1.3795 + return 0; 1.3796 +} 1.3797 +_ACEOF 1.3798 +if ac_fn_c_try_compile "$LINENO"; then : 1.3799 + ac_compiler_gnu=yes 1.3800 +else 1.3801 + ac_compiler_gnu=no 1.3802 +fi 1.3803 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1.3804 +ac_cv_c_compiler_gnu=$ac_compiler_gnu 1.3805 + 1.3806 +fi 1.3807 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 1.3808 +$as_echo "$ac_cv_c_compiler_gnu" >&6; } 1.3809 +if test $ac_compiler_gnu = yes; then 1.3810 + GCC=yes 1.3811 +else 1.3812 + GCC= 1.3813 +fi 1.3814 +ac_test_CFLAGS=${CFLAGS+set} 1.3815 +ac_save_CFLAGS=$CFLAGS 1.3816 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 1.3817 +$as_echo_n "checking whether $CC accepts -g... " >&6; } 1.3818 +if ${ac_cv_prog_cc_g+:} false; then : 1.3819 + $as_echo_n "(cached) " >&6 1.3820 +else 1.3821 + ac_save_c_werror_flag=$ac_c_werror_flag 1.3822 + ac_c_werror_flag=yes 1.3823 + ac_cv_prog_cc_g=no 1.3824 + CFLAGS="-g" 1.3825 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.3826 +/* end confdefs.h. */ 1.3827 + 1.3828 +int 1.3829 +main () 1.3830 +{ 1.3831 + 1.3832 + ; 1.3833 + return 0; 1.3834 +} 1.3835 +_ACEOF 1.3836 +if ac_fn_c_try_compile "$LINENO"; then : 1.3837 + ac_cv_prog_cc_g=yes 1.3838 +else 1.3839 + CFLAGS="" 1.3840 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.3841 +/* end confdefs.h. */ 1.3842 + 1.3843 +int 1.3844 +main () 1.3845 +{ 1.3846 + 1.3847 + ; 1.3848 + return 0; 1.3849 +} 1.3850 +_ACEOF 1.3851 +if ac_fn_c_try_compile "$LINENO"; then : 1.3852 + 1.3853 +else 1.3854 + ac_c_werror_flag=$ac_save_c_werror_flag 1.3855 + CFLAGS="-g" 1.3856 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.3857 +/* end confdefs.h. */ 1.3858 + 1.3859 +int 1.3860 +main () 1.3861 +{ 1.3862 + 1.3863 + ; 1.3864 + return 0; 1.3865 +} 1.3866 +_ACEOF 1.3867 +if ac_fn_c_try_compile "$LINENO"; then : 1.3868 + ac_cv_prog_cc_g=yes 1.3869 +fi 1.3870 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1.3871 +fi 1.3872 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1.3873 +fi 1.3874 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1.3875 + ac_c_werror_flag=$ac_save_c_werror_flag 1.3876 +fi 1.3877 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 1.3878 +$as_echo "$ac_cv_prog_cc_g" >&6; } 1.3879 +if test "$ac_test_CFLAGS" = set; then 1.3880 + CFLAGS=$ac_save_CFLAGS 1.3881 +elif test $ac_cv_prog_cc_g = yes; then 1.3882 + if test "$GCC" = yes; then 1.3883 + CFLAGS="-g -O2" 1.3884 + else 1.3885 + CFLAGS="-g" 1.3886 + fi 1.3887 +else 1.3888 + if test "$GCC" = yes; then 1.3889 + CFLAGS="-O2" 1.3890 + else 1.3891 + CFLAGS= 1.3892 + fi 1.3893 +fi 1.3894 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 1.3895 +$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 1.3896 +if ${ac_cv_prog_cc_c89+:} false; then : 1.3897 + $as_echo_n "(cached) " >&6 1.3898 +else 1.3899 + ac_cv_prog_cc_c89=no 1.3900 +ac_save_CC=$CC 1.3901 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.3902 +/* end confdefs.h. */ 1.3903 +#include <stdarg.h> 1.3904 +#include <stdio.h> 1.3905 +struct stat; 1.3906 +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 1.3907 +struct buf { int x; }; 1.3908 +FILE * (*rcsopen) (struct buf *, struct stat *, int); 1.3909 +static char *e (p, i) 1.3910 + char **p; 1.3911 + int i; 1.3912 +{ 1.3913 + return p[i]; 1.3914 +} 1.3915 +static char *f (char * (*g) (char **, int), char **p, ...) 1.3916 +{ 1.3917 + char *s; 1.3918 + va_list v; 1.3919 + va_start (v,p); 1.3920 + s = g (p, va_arg (v,int)); 1.3921 + va_end (v); 1.3922 + return s; 1.3923 +} 1.3924 + 1.3925 +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 1.3926 + function prototypes and stuff, but not '\xHH' hex character constants. 1.3927 + These don't provoke an error unfortunately, instead are silently treated 1.3928 + as 'x'. The following induces an error, until -std is added to get 1.3929 + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 1.3930 + array size at least. It's necessary to write '\x00'==0 to get something 1.3931 + that's true only with -std. */ 1.3932 +int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 1.3933 + 1.3934 +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 1.3935 + inside strings and character constants. */ 1.3936 +#define FOO(x) 'x' 1.3937 +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 1.3938 + 1.3939 +int test (int i, double x); 1.3940 +struct s1 {int (*f) (int a);}; 1.3941 +struct s2 {int (*f) (double a);}; 1.3942 +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 1.3943 +int argc; 1.3944 +char **argv; 1.3945 +int 1.3946 +main () 1.3947 +{ 1.3948 +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 1.3949 + ; 1.3950 + return 0; 1.3951 +} 1.3952 +_ACEOF 1.3953 +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 1.3954 + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 1.3955 +do 1.3956 + CC="$ac_save_CC $ac_arg" 1.3957 + if ac_fn_c_try_compile "$LINENO"; then : 1.3958 + ac_cv_prog_cc_c89=$ac_arg 1.3959 +fi 1.3960 +rm -f core conftest.err conftest.$ac_objext 1.3961 + test "x$ac_cv_prog_cc_c89" != "xno" && break 1.3962 +done 1.3963 +rm -f conftest.$ac_ext 1.3964 +CC=$ac_save_CC 1.3965 + 1.3966 +fi 1.3967 +# AC_CACHE_VAL 1.3968 +case "x$ac_cv_prog_cc_c89" in 1.3969 + x) 1.3970 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 1.3971 +$as_echo "none needed" >&6; } ;; 1.3972 + xno) 1.3973 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 1.3974 +$as_echo "unsupported" >&6; } ;; 1.3975 + *) 1.3976 + CC="$CC $ac_cv_prog_cc_c89" 1.3977 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 1.3978 +$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 1.3979 +esac 1.3980 +if test "x$ac_cv_prog_cc_c89" != xno; then : 1.3981 + 1.3982 +fi 1.3983 + 1.3984 +ac_ext=c 1.3985 +ac_cpp='$CPP $CPPFLAGS' 1.3986 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1.3987 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1.3988 +ac_compiler_gnu=$ac_cv_c_compiler_gnu 1.3989 + 1.3990 + 1.3991 +if test "$target" != "$host"; then 1.3992 + if test -n "$USE_CPLUS"; then 1.3993 + for ac_prog in $CXX "${target_alias}-g++" "${target}-g++" 1.3994 +do 1.3995 + # Extract the first word of "$ac_prog", so it can be a program name with args. 1.3996 +set dummy $ac_prog; ac_word=$2 1.3997 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 1.3998 +$as_echo_n "checking for $ac_word... " >&6; } 1.3999 +if ${ac_cv_prog_CXX+:} false; then : 1.4000 + $as_echo_n "(cached) " >&6 1.4001 +else 1.4002 + if test -n "$CXX"; then 1.4003 + ac_cv_prog_CXX="$CXX" # Let the user override the test. 1.4004 +else 1.4005 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1.4006 +for as_dir in $PATH 1.4007 +do 1.4008 + IFS=$as_save_IFS 1.4009 + test -z "$as_dir" && as_dir=. 1.4010 + for ac_exec_ext in '' $ac_executable_extensions; do 1.4011 + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1.4012 + ac_cv_prog_CXX="$ac_prog" 1.4013 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1.4014 + break 2 1.4015 + fi 1.4016 +done 1.4017 + done 1.4018 +IFS=$as_save_IFS 1.4019 + 1.4020 +fi 1.4021 +fi 1.4022 +CXX=$ac_cv_prog_CXX 1.4023 +if test -n "$CXX"; then 1.4024 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 1.4025 +$as_echo "$CXX" >&6; } 1.4026 +else 1.4027 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1.4028 +$as_echo "no" >&6; } 1.4029 +fi 1.4030 + 1.4031 + 1.4032 + test -n "$CXX" && break 1.4033 +done 1.4034 +test -n "$CXX" || CXX="echo" 1.4035 + 1.4036 + unset ac_cv_prog_CXX 1.4037 + ac_ext=cpp 1.4038 +ac_cpp='$CXXCPP $CPPFLAGS' 1.4039 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1.4040 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1.4041 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 1.4042 +if test -z "$CXX"; then 1.4043 + if test -n "$CCC"; then 1.4044 + CXX=$CCC 1.4045 + else 1.4046 + if test -n "$ac_tool_prefix"; then 1.4047 + for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 1.4048 + do 1.4049 + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 1.4050 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2 1.4051 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 1.4052 +$as_echo_n "checking for $ac_word... " >&6; } 1.4053 +if ${ac_cv_prog_CXX+:} false; then : 1.4054 + $as_echo_n "(cached) " >&6 1.4055 +else 1.4056 + if test -n "$CXX"; then 1.4057 + ac_cv_prog_CXX="$CXX" # Let the user override the test. 1.4058 +else 1.4059 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1.4060 +for as_dir in $PATH 1.4061 +do 1.4062 + IFS=$as_save_IFS 1.4063 + test -z "$as_dir" && as_dir=. 1.4064 + for ac_exec_ext in '' $ac_executable_extensions; do 1.4065 + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1.4066 + ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 1.4067 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1.4068 + break 2 1.4069 + fi 1.4070 +done 1.4071 + done 1.4072 +IFS=$as_save_IFS 1.4073 + 1.4074 +fi 1.4075 +fi 1.4076 +CXX=$ac_cv_prog_CXX 1.4077 +if test -n "$CXX"; then 1.4078 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 1.4079 +$as_echo "$CXX" >&6; } 1.4080 +else 1.4081 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1.4082 +$as_echo "no" >&6; } 1.4083 +fi 1.4084 + 1.4085 + 1.4086 + test -n "$CXX" && break 1.4087 + done 1.4088 +fi 1.4089 +if test -z "$CXX"; then 1.4090 + ac_ct_CXX=$CXX 1.4091 + for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 1.4092 +do 1.4093 + # Extract the first word of "$ac_prog", so it can be a program name with args. 1.4094 +set dummy $ac_prog; ac_word=$2 1.4095 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 1.4096 +$as_echo_n "checking for $ac_word... " >&6; } 1.4097 +if ${ac_cv_prog_ac_ct_CXX+:} false; then : 1.4098 + $as_echo_n "(cached) " >&6 1.4099 +else 1.4100 + if test -n "$ac_ct_CXX"; then 1.4101 + ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 1.4102 +else 1.4103 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1.4104 +for as_dir in $PATH 1.4105 +do 1.4106 + IFS=$as_save_IFS 1.4107 + test -z "$as_dir" && as_dir=. 1.4108 + for ac_exec_ext in '' $ac_executable_extensions; do 1.4109 + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1.4110 + ac_cv_prog_ac_ct_CXX="$ac_prog" 1.4111 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1.4112 + break 2 1.4113 + fi 1.4114 +done 1.4115 + done 1.4116 +IFS=$as_save_IFS 1.4117 + 1.4118 +fi 1.4119 +fi 1.4120 +ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 1.4121 +if test -n "$ac_ct_CXX"; then 1.4122 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 1.4123 +$as_echo "$ac_ct_CXX" >&6; } 1.4124 +else 1.4125 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1.4126 +$as_echo "no" >&6; } 1.4127 +fi 1.4128 + 1.4129 + 1.4130 + test -n "$ac_ct_CXX" && break 1.4131 +done 1.4132 + 1.4133 + if test "x$ac_ct_CXX" = x; then 1.4134 + CXX="g++" 1.4135 + else 1.4136 + case $cross_compiling:$ac_tool_warned in 1.4137 +yes:) 1.4138 +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 1.4139 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 1.4140 +ac_tool_warned=yes ;; 1.4141 +esac 1.4142 + CXX=$ac_ct_CXX 1.4143 + fi 1.4144 +fi 1.4145 + 1.4146 + fi 1.4147 +fi 1.4148 +# Provide some information about the compiler. 1.4149 +$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 1.4150 +set X $ac_compile 1.4151 +ac_compiler=$2 1.4152 +for ac_option in --version -v -V -qversion; do 1.4153 + { { ac_try="$ac_compiler $ac_option >&5" 1.4154 +case "(($ac_try" in 1.4155 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1.4156 + *) ac_try_echo=$ac_try;; 1.4157 +esac 1.4158 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1.4159 +$as_echo "$ac_try_echo"; } >&5 1.4160 + (eval "$ac_compiler $ac_option >&5") 2>conftest.err 1.4161 + ac_status=$? 1.4162 + if test -s conftest.err; then 1.4163 + sed '10a\ 1.4164 +... rest of stderr output deleted ... 1.4165 + 10q' conftest.err >conftest.er1 1.4166 + cat conftest.er1 >&5 1.4167 + fi 1.4168 + rm -f conftest.er1 conftest.err 1.4169 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1.4170 + test $ac_status = 0; } 1.4171 +done 1.4172 + 1.4173 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 1.4174 +$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 1.4175 +if ${ac_cv_cxx_compiler_gnu+:} false; then : 1.4176 + $as_echo_n "(cached) " >&6 1.4177 +else 1.4178 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.4179 +/* end confdefs.h. */ 1.4180 + 1.4181 +int 1.4182 +main () 1.4183 +{ 1.4184 +#ifndef __GNUC__ 1.4185 + choke me 1.4186 +#endif 1.4187 + 1.4188 + ; 1.4189 + return 0; 1.4190 +} 1.4191 +_ACEOF 1.4192 +if ac_fn_cxx_try_compile "$LINENO"; then : 1.4193 + ac_compiler_gnu=yes 1.4194 +else 1.4195 + ac_compiler_gnu=no 1.4196 +fi 1.4197 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1.4198 +ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 1.4199 + 1.4200 +fi 1.4201 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 1.4202 +$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 1.4203 +if test $ac_compiler_gnu = yes; then 1.4204 + GXX=yes 1.4205 +else 1.4206 + GXX= 1.4207 +fi 1.4208 +ac_test_CXXFLAGS=${CXXFLAGS+set} 1.4209 +ac_save_CXXFLAGS=$CXXFLAGS 1.4210 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 1.4211 +$as_echo_n "checking whether $CXX accepts -g... " >&6; } 1.4212 +if ${ac_cv_prog_cxx_g+:} false; then : 1.4213 + $as_echo_n "(cached) " >&6 1.4214 +else 1.4215 + ac_save_cxx_werror_flag=$ac_cxx_werror_flag 1.4216 + ac_cxx_werror_flag=yes 1.4217 + ac_cv_prog_cxx_g=no 1.4218 + CXXFLAGS="-g" 1.4219 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.4220 +/* end confdefs.h. */ 1.4221 + 1.4222 +int 1.4223 +main () 1.4224 +{ 1.4225 + 1.4226 + ; 1.4227 + return 0; 1.4228 +} 1.4229 +_ACEOF 1.4230 +if ac_fn_cxx_try_compile "$LINENO"; then : 1.4231 + ac_cv_prog_cxx_g=yes 1.4232 +else 1.4233 + CXXFLAGS="" 1.4234 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.4235 +/* end confdefs.h. */ 1.4236 + 1.4237 +int 1.4238 +main () 1.4239 +{ 1.4240 + 1.4241 + ; 1.4242 + return 0; 1.4243 +} 1.4244 +_ACEOF 1.4245 +if ac_fn_cxx_try_compile "$LINENO"; then : 1.4246 + 1.4247 +else 1.4248 + ac_cxx_werror_flag=$ac_save_cxx_werror_flag 1.4249 + CXXFLAGS="-g" 1.4250 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.4251 +/* end confdefs.h. */ 1.4252 + 1.4253 +int 1.4254 +main () 1.4255 +{ 1.4256 + 1.4257 + ; 1.4258 + return 0; 1.4259 +} 1.4260 +_ACEOF 1.4261 +if ac_fn_cxx_try_compile "$LINENO"; then : 1.4262 + ac_cv_prog_cxx_g=yes 1.4263 +fi 1.4264 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1.4265 +fi 1.4266 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1.4267 +fi 1.4268 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1.4269 + ac_cxx_werror_flag=$ac_save_cxx_werror_flag 1.4270 +fi 1.4271 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 1.4272 +$as_echo "$ac_cv_prog_cxx_g" >&6; } 1.4273 +if test "$ac_test_CXXFLAGS" = set; then 1.4274 + CXXFLAGS=$ac_save_CXXFLAGS 1.4275 +elif test $ac_cv_prog_cxx_g = yes; then 1.4276 + if test "$GXX" = yes; then 1.4277 + CXXFLAGS="-g -O2" 1.4278 + else 1.4279 + CXXFLAGS="-g" 1.4280 + fi 1.4281 +else 1.4282 + if test "$GXX" = yes; then 1.4283 + CXXFLAGS="-O2" 1.4284 + else 1.4285 + CXXFLAGS= 1.4286 + fi 1.4287 +fi 1.4288 +ac_ext=c 1.4289 +ac_cpp='$CPP $CPPFLAGS' 1.4290 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1.4291 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1.4292 +ac_compiler_gnu=$ac_cv_c_compiler_gnu 1.4293 + 1.4294 + fi 1.4295 + 1.4296 + case "$build:$target" in 1.4297 + powerpc-apple-darwin8*:i?86-apple-darwin*|*:arm*-apple-darwin*) 1.4298 + CFLAGS=$_SAVE_CFLAGS 1.4299 + CXXFLAGS=$_SAVE_CXXFLAGS 1.4300 + ;; 1.4301 + esac 1.4302 + 1.4303 + for ac_prog in $RANLIB "${target_alias}-ranlib" "${target}-ranlib" 1.4304 +do 1.4305 + # Extract the first word of "$ac_prog", so it can be a program name with args. 1.4306 +set dummy $ac_prog; ac_word=$2 1.4307 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 1.4308 +$as_echo_n "checking for $ac_word... " >&6; } 1.4309 +if ${ac_cv_prog_RANLIB+:} false; then : 1.4310 + $as_echo_n "(cached) " >&6 1.4311 +else 1.4312 + if test -n "$RANLIB"; then 1.4313 + ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 1.4314 +else 1.4315 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1.4316 +for as_dir in $PATH 1.4317 +do 1.4318 + IFS=$as_save_IFS 1.4319 + test -z "$as_dir" && as_dir=. 1.4320 + for ac_exec_ext in '' $ac_executable_extensions; do 1.4321 + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1.4322 + ac_cv_prog_RANLIB="$ac_prog" 1.4323 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1.4324 + break 2 1.4325 + fi 1.4326 +done 1.4327 + done 1.4328 +IFS=$as_save_IFS 1.4329 + 1.4330 +fi 1.4331 +fi 1.4332 +RANLIB=$ac_cv_prog_RANLIB 1.4333 +if test -n "$RANLIB"; then 1.4334 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 1.4335 +$as_echo "$RANLIB" >&6; } 1.4336 +else 1.4337 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1.4338 +$as_echo "no" >&6; } 1.4339 +fi 1.4340 + 1.4341 + 1.4342 + test -n "$RANLIB" && break 1.4343 +done 1.4344 +test -n "$RANLIB" || RANLIB="echo" 1.4345 + 1.4346 + for ac_prog in $AR "${target_alias}-ar" "${target}-ar" 1.4347 +do 1.4348 + # Extract the first word of "$ac_prog", so it can be a program name with args. 1.4349 +set dummy $ac_prog; ac_word=$2 1.4350 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 1.4351 +$as_echo_n "checking for $ac_word... " >&6; } 1.4352 +if ${ac_cv_prog_AR+:} false; then : 1.4353 + $as_echo_n "(cached) " >&6 1.4354 +else 1.4355 + if test -n "$AR"; then 1.4356 + ac_cv_prog_AR="$AR" # Let the user override the test. 1.4357 +else 1.4358 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1.4359 +for as_dir in $PATH 1.4360 +do 1.4361 + IFS=$as_save_IFS 1.4362 + test -z "$as_dir" && as_dir=. 1.4363 + for ac_exec_ext in '' $ac_executable_extensions; do 1.4364 + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1.4365 + ac_cv_prog_AR="$ac_prog" 1.4366 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1.4367 + break 2 1.4368 + fi 1.4369 +done 1.4370 + done 1.4371 +IFS=$as_save_IFS 1.4372 + 1.4373 +fi 1.4374 +fi 1.4375 +AR=$ac_cv_prog_AR 1.4376 +if test -n "$AR"; then 1.4377 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 1.4378 +$as_echo "$AR" >&6; } 1.4379 +else 1.4380 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1.4381 +$as_echo "no" >&6; } 1.4382 +fi 1.4383 + 1.4384 + 1.4385 + test -n "$AR" && break 1.4386 +done 1.4387 +test -n "$AR" || AR="echo" 1.4388 + 1.4389 + for ac_prog in $AS "${target_alias}-as" "${target}-as" 1.4390 +do 1.4391 + # Extract the first word of "$ac_prog", so it can be a program name with args. 1.4392 +set dummy $ac_prog; ac_word=$2 1.4393 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 1.4394 +$as_echo_n "checking for $ac_word... " >&6; } 1.4395 +if ${ac_cv_prog_AS+:} false; then : 1.4396 + $as_echo_n "(cached) " >&6 1.4397 +else 1.4398 + if test -n "$AS"; then 1.4399 + ac_cv_prog_AS="$AS" # Let the user override the test. 1.4400 +else 1.4401 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1.4402 +for as_dir in $PATH 1.4403 +do 1.4404 + IFS=$as_save_IFS 1.4405 + test -z "$as_dir" && as_dir=. 1.4406 + for ac_exec_ext in '' $ac_executable_extensions; do 1.4407 + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1.4408 + ac_cv_prog_AS="$ac_prog" 1.4409 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1.4410 + break 2 1.4411 + fi 1.4412 +done 1.4413 + done 1.4414 +IFS=$as_save_IFS 1.4415 + 1.4416 +fi 1.4417 +fi 1.4418 +AS=$ac_cv_prog_AS 1.4419 +if test -n "$AS"; then 1.4420 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5 1.4421 +$as_echo "$AS" >&6; } 1.4422 +else 1.4423 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1.4424 +$as_echo "no" >&6; } 1.4425 +fi 1.4426 + 1.4427 + 1.4428 + test -n "$AS" && break 1.4429 +done 1.4430 +test -n "$AS" || AS="echo" 1.4431 + 1.4432 + for ac_prog in $LD "${target_alias}-ld" "${target}-ld" 1.4433 +do 1.4434 + # Extract the first word of "$ac_prog", so it can be a program name with args. 1.4435 +set dummy $ac_prog; ac_word=$2 1.4436 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 1.4437 +$as_echo_n "checking for $ac_word... " >&6; } 1.4438 +if ${ac_cv_prog_LD+:} false; then : 1.4439 + $as_echo_n "(cached) " >&6 1.4440 +else 1.4441 + if test -n "$LD"; then 1.4442 + ac_cv_prog_LD="$LD" # Let the user override the test. 1.4443 +else 1.4444 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1.4445 +for as_dir in $PATH 1.4446 +do 1.4447 + IFS=$as_save_IFS 1.4448 + test -z "$as_dir" && as_dir=. 1.4449 + for ac_exec_ext in '' $ac_executable_extensions; do 1.4450 + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1.4451 + ac_cv_prog_LD="$ac_prog" 1.4452 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1.4453 + break 2 1.4454 + fi 1.4455 +done 1.4456 + done 1.4457 +IFS=$as_save_IFS 1.4458 + 1.4459 +fi 1.4460 +fi 1.4461 +LD=$ac_cv_prog_LD 1.4462 +if test -n "$LD"; then 1.4463 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 1.4464 +$as_echo "$LD" >&6; } 1.4465 +else 1.4466 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1.4467 +$as_echo "no" >&6; } 1.4468 +fi 1.4469 + 1.4470 + 1.4471 + test -n "$LD" && break 1.4472 +done 1.4473 +test -n "$LD" || LD="echo" 1.4474 + 1.4475 + for ac_prog in $STRIP "${target_alias}-strip" "${target}-strip" 1.4476 +do 1.4477 + # Extract the first word of "$ac_prog", so it can be a program name with args. 1.4478 +set dummy $ac_prog; ac_word=$2 1.4479 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 1.4480 +$as_echo_n "checking for $ac_word... " >&6; } 1.4481 +if ${ac_cv_prog_STRIP+:} false; then : 1.4482 + $as_echo_n "(cached) " >&6 1.4483 +else 1.4484 + if test -n "$STRIP"; then 1.4485 + ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 1.4486 +else 1.4487 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1.4488 +for as_dir in $PATH 1.4489 +do 1.4490 + IFS=$as_save_IFS 1.4491 + test -z "$as_dir" && as_dir=. 1.4492 + for ac_exec_ext in '' $ac_executable_extensions; do 1.4493 + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1.4494 + ac_cv_prog_STRIP="$ac_prog" 1.4495 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1.4496 + break 2 1.4497 + fi 1.4498 +done 1.4499 + done 1.4500 +IFS=$as_save_IFS 1.4501 + 1.4502 +fi 1.4503 +fi 1.4504 +STRIP=$ac_cv_prog_STRIP 1.4505 +if test -n "$STRIP"; then 1.4506 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 1.4507 +$as_echo "$STRIP" >&6; } 1.4508 +else 1.4509 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1.4510 +$as_echo "no" >&6; } 1.4511 +fi 1.4512 + 1.4513 + 1.4514 + test -n "$STRIP" && break 1.4515 +done 1.4516 +test -n "$STRIP" || STRIP="echo" 1.4517 + 1.4518 + for ac_prog in $WINDRES "${target_alias}-windres" "${target}-windres" 1.4519 +do 1.4520 + # Extract the first word of "$ac_prog", so it can be a program name with args. 1.4521 +set dummy $ac_prog; ac_word=$2 1.4522 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 1.4523 +$as_echo_n "checking for $ac_word... " >&6; } 1.4524 +if ${ac_cv_prog_WINDRES+:} false; then : 1.4525 + $as_echo_n "(cached) " >&6 1.4526 +else 1.4527 + if test -n "$WINDRES"; then 1.4528 + ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test. 1.4529 +else 1.4530 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1.4531 +for as_dir in $PATH 1.4532 +do 1.4533 + IFS=$as_save_IFS 1.4534 + test -z "$as_dir" && as_dir=. 1.4535 + for ac_exec_ext in '' $ac_executable_extensions; do 1.4536 + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1.4537 + ac_cv_prog_WINDRES="$ac_prog" 1.4538 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1.4539 + break 2 1.4540 + fi 1.4541 +done 1.4542 + done 1.4543 +IFS=$as_save_IFS 1.4544 + 1.4545 +fi 1.4546 +fi 1.4547 +WINDRES=$ac_cv_prog_WINDRES 1.4548 +if test -n "$WINDRES"; then 1.4549 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5 1.4550 +$as_echo "$WINDRES" >&6; } 1.4551 +else 1.4552 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1.4553 +$as_echo "no" >&6; } 1.4554 +fi 1.4555 + 1.4556 + 1.4557 + test -n "$WINDRES" && break 1.4558 +done 1.4559 +test -n "$WINDRES" || WINDRES="echo" 1.4560 + 1.4561 + 1.4562 + _SAVE_CC="$CC" 1.4563 + _SAVE_CFLAGS="$CFLAGS" 1.4564 + _SAVE_LDFLAGS="$LDFLAGS" 1.4565 + 1.4566 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $host compiler" >&5 1.4567 +$as_echo_n "checking for $host compiler... " >&6; } 1.4568 + for ac_prog in $HOST_CC gcc cc /usr/ucb/cc 1.4569 +do 1.4570 + # Extract the first word of "$ac_prog", so it can be a program name with args. 1.4571 +set dummy $ac_prog; ac_word=$2 1.4572 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 1.4573 +$as_echo_n "checking for $ac_word... " >&6; } 1.4574 +if ${ac_cv_prog_HOST_CC+:} false; then : 1.4575 + $as_echo_n "(cached) " >&6 1.4576 +else 1.4577 + if test -n "$HOST_CC"; then 1.4578 + ac_cv_prog_HOST_CC="$HOST_CC" # Let the user override the test. 1.4579 +else 1.4580 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1.4581 +for as_dir in $PATH 1.4582 +do 1.4583 + IFS=$as_save_IFS 1.4584 + test -z "$as_dir" && as_dir=. 1.4585 + for ac_exec_ext in '' $ac_executable_extensions; do 1.4586 + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1.4587 + ac_cv_prog_HOST_CC="$ac_prog" 1.4588 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1.4589 + break 2 1.4590 + fi 1.4591 +done 1.4592 + done 1.4593 +IFS=$as_save_IFS 1.4594 + 1.4595 +fi 1.4596 +fi 1.4597 +HOST_CC=$ac_cv_prog_HOST_CC 1.4598 +if test -n "$HOST_CC"; then 1.4599 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HOST_CC" >&5 1.4600 +$as_echo "$HOST_CC" >&6; } 1.4601 +else 1.4602 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1.4603 +$as_echo "no" >&6; } 1.4604 +fi 1.4605 + 1.4606 + 1.4607 + test -n "$HOST_CC" && break 1.4608 +done 1.4609 +test -n "$HOST_CC" || HOST_CC="""" 1.4610 + 1.4611 + if test -z "$HOST_CC"; then 1.4612 + as_fn_error $? "no acceptable cc found in \$PATH" "$LINENO" 5 1.4613 + fi 1.4614 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HOST_CC" >&5 1.4615 +$as_echo "$HOST_CC" >&6; } 1.4616 + if test -z "$HOST_CFLAGS"; then 1.4617 + HOST_CFLAGS="$CFLAGS" 1.4618 + fi 1.4619 + if test -z "$HOST_LDFLAGS"; then 1.4620 + HOST_LDFLAGS="$LDFLAGS" 1.4621 + fi 1.4622 + 1.4623 + CC="$HOST_CC" 1.4624 + CFLAGS="$HOST_CFLAGS" 1.4625 + LDFLAGS="$HOST_LDFLAGS" 1.4626 + 1.4627 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host compiler ($HOST_CC $HOST_CFLAGS $HOST_LDFLAGS) works" >&5 1.4628 +$as_echo_n "checking whether the $host compiler ($HOST_CC $HOST_CFLAGS $HOST_LDFLAGS) works... " >&6; } 1.4629 + 1.4630 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.4631 +/* end confdefs.h. */ 1.4632 + 1.4633 +int 1.4634 +main () 1.4635 +{ 1.4636 +return 0; 1.4637 + ; 1.4638 + return 0; 1.4639 +} 1.4640 +_ACEOF 1.4641 +if ac_fn_c_try_compile "$LINENO"; then : 1.4642 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 1.4643 +$as_echo "yes" >&6; } 1.4644 +else 1.4645 + as_fn_error $? "installation or configuration problem: $host compiler $HOST_CC cannot create executables." "$LINENO" 5 1.4646 +fi 1.4647 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1.4648 + 1.4649 + CC=$_SAVE_CC 1.4650 + CFLAGS=$_SAVE_CFLAGS 1.4651 + LDFLAGS=$_SAVE_LDFLAGS 1.4652 +else 1.4653 + if test -n "$USE_CPLUS"; then 1.4654 + if test "$CC" = "cl" -a -z "$CXX"; then 1.4655 + CXX=$CC 1.4656 + else 1.4657 + ac_ext=cpp 1.4658 +ac_cpp='$CXXCPP $CPPFLAGS' 1.4659 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1.4660 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1.4661 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 1.4662 +if test -z "$CXX"; then 1.4663 + if test -n "$CCC"; then 1.4664 + CXX=$CCC 1.4665 + else 1.4666 + if test -n "$ac_tool_prefix"; then 1.4667 + for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 1.4668 + do 1.4669 + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 1.4670 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2 1.4671 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 1.4672 +$as_echo_n "checking for $ac_word... " >&6; } 1.4673 +if ${ac_cv_prog_CXX+:} false; then : 1.4674 + $as_echo_n "(cached) " >&6 1.4675 +else 1.4676 + if test -n "$CXX"; then 1.4677 + ac_cv_prog_CXX="$CXX" # Let the user override the test. 1.4678 +else 1.4679 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1.4680 +for as_dir in $PATH 1.4681 +do 1.4682 + IFS=$as_save_IFS 1.4683 + test -z "$as_dir" && as_dir=. 1.4684 + for ac_exec_ext in '' $ac_executable_extensions; do 1.4685 + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1.4686 + ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 1.4687 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1.4688 + break 2 1.4689 + fi 1.4690 +done 1.4691 + done 1.4692 +IFS=$as_save_IFS 1.4693 + 1.4694 +fi 1.4695 +fi 1.4696 +CXX=$ac_cv_prog_CXX 1.4697 +if test -n "$CXX"; then 1.4698 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 1.4699 +$as_echo "$CXX" >&6; } 1.4700 +else 1.4701 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1.4702 +$as_echo "no" >&6; } 1.4703 +fi 1.4704 + 1.4705 + 1.4706 + test -n "$CXX" && break 1.4707 + done 1.4708 +fi 1.4709 +if test -z "$CXX"; then 1.4710 + ac_ct_CXX=$CXX 1.4711 + for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 1.4712 +do 1.4713 + # Extract the first word of "$ac_prog", so it can be a program name with args. 1.4714 +set dummy $ac_prog; ac_word=$2 1.4715 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 1.4716 +$as_echo_n "checking for $ac_word... " >&6; } 1.4717 +if ${ac_cv_prog_ac_ct_CXX+:} false; then : 1.4718 + $as_echo_n "(cached) " >&6 1.4719 +else 1.4720 + if test -n "$ac_ct_CXX"; then 1.4721 + ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 1.4722 +else 1.4723 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1.4724 +for as_dir in $PATH 1.4725 +do 1.4726 + IFS=$as_save_IFS 1.4727 + test -z "$as_dir" && as_dir=. 1.4728 + for ac_exec_ext in '' $ac_executable_extensions; do 1.4729 + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1.4730 + ac_cv_prog_ac_ct_CXX="$ac_prog" 1.4731 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1.4732 + break 2 1.4733 + fi 1.4734 +done 1.4735 + done 1.4736 +IFS=$as_save_IFS 1.4737 + 1.4738 +fi 1.4739 +fi 1.4740 +ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 1.4741 +if test -n "$ac_ct_CXX"; then 1.4742 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 1.4743 +$as_echo "$ac_ct_CXX" >&6; } 1.4744 +else 1.4745 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1.4746 +$as_echo "no" >&6; } 1.4747 +fi 1.4748 + 1.4749 + 1.4750 + test -n "$ac_ct_CXX" && break 1.4751 +done 1.4752 + 1.4753 + if test "x$ac_ct_CXX" = x; then 1.4754 + CXX="g++" 1.4755 + else 1.4756 + case $cross_compiling:$ac_tool_warned in 1.4757 +yes:) 1.4758 +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 1.4759 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 1.4760 +ac_tool_warned=yes ;; 1.4761 +esac 1.4762 + CXX=$ac_ct_CXX 1.4763 + fi 1.4764 +fi 1.4765 + 1.4766 + fi 1.4767 +fi 1.4768 +# Provide some information about the compiler. 1.4769 +$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 1.4770 +set X $ac_compile 1.4771 +ac_compiler=$2 1.4772 +for ac_option in --version -v -V -qversion; do 1.4773 + { { ac_try="$ac_compiler $ac_option >&5" 1.4774 +case "(($ac_try" in 1.4775 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1.4776 + *) ac_try_echo=$ac_try;; 1.4777 +esac 1.4778 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1.4779 +$as_echo "$ac_try_echo"; } >&5 1.4780 + (eval "$ac_compiler $ac_option >&5") 2>conftest.err 1.4781 + ac_status=$? 1.4782 + if test -s conftest.err; then 1.4783 + sed '10a\ 1.4784 +... rest of stderr output deleted ... 1.4785 + 10q' conftest.err >conftest.er1 1.4786 + cat conftest.er1 >&5 1.4787 + fi 1.4788 + rm -f conftest.er1 conftest.err 1.4789 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1.4790 + test $ac_status = 0; } 1.4791 +done 1.4792 + 1.4793 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 1.4794 +$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 1.4795 +if ${ac_cv_cxx_compiler_gnu+:} false; then : 1.4796 + $as_echo_n "(cached) " >&6 1.4797 +else 1.4798 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.4799 +/* end confdefs.h. */ 1.4800 + 1.4801 +int 1.4802 +main () 1.4803 +{ 1.4804 +#ifndef __GNUC__ 1.4805 + choke me 1.4806 +#endif 1.4807 + 1.4808 + ; 1.4809 + return 0; 1.4810 +} 1.4811 +_ACEOF 1.4812 +if ac_fn_cxx_try_compile "$LINENO"; then : 1.4813 + ac_compiler_gnu=yes 1.4814 +else 1.4815 + ac_compiler_gnu=no 1.4816 +fi 1.4817 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1.4818 +ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 1.4819 + 1.4820 +fi 1.4821 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 1.4822 +$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 1.4823 +if test $ac_compiler_gnu = yes; then 1.4824 + GXX=yes 1.4825 +else 1.4826 + GXX= 1.4827 +fi 1.4828 +ac_test_CXXFLAGS=${CXXFLAGS+set} 1.4829 +ac_save_CXXFLAGS=$CXXFLAGS 1.4830 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 1.4831 +$as_echo_n "checking whether $CXX accepts -g... " >&6; } 1.4832 +if ${ac_cv_prog_cxx_g+:} false; then : 1.4833 + $as_echo_n "(cached) " >&6 1.4834 +else 1.4835 + ac_save_cxx_werror_flag=$ac_cxx_werror_flag 1.4836 + ac_cxx_werror_flag=yes 1.4837 + ac_cv_prog_cxx_g=no 1.4838 + CXXFLAGS="-g" 1.4839 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.4840 +/* end confdefs.h. */ 1.4841 + 1.4842 +int 1.4843 +main () 1.4844 +{ 1.4845 + 1.4846 + ; 1.4847 + return 0; 1.4848 +} 1.4849 +_ACEOF 1.4850 +if ac_fn_cxx_try_compile "$LINENO"; then : 1.4851 + ac_cv_prog_cxx_g=yes 1.4852 +else 1.4853 + CXXFLAGS="" 1.4854 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.4855 +/* end confdefs.h. */ 1.4856 + 1.4857 +int 1.4858 +main () 1.4859 +{ 1.4860 + 1.4861 + ; 1.4862 + return 0; 1.4863 +} 1.4864 +_ACEOF 1.4865 +if ac_fn_cxx_try_compile "$LINENO"; then : 1.4866 + 1.4867 +else 1.4868 + ac_cxx_werror_flag=$ac_save_cxx_werror_flag 1.4869 + CXXFLAGS="-g" 1.4870 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.4871 +/* end confdefs.h. */ 1.4872 + 1.4873 +int 1.4874 +main () 1.4875 +{ 1.4876 + 1.4877 + ; 1.4878 + return 0; 1.4879 +} 1.4880 +_ACEOF 1.4881 +if ac_fn_cxx_try_compile "$LINENO"; then : 1.4882 + ac_cv_prog_cxx_g=yes 1.4883 +fi 1.4884 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1.4885 +fi 1.4886 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1.4887 +fi 1.4888 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1.4889 + ac_cxx_werror_flag=$ac_save_cxx_werror_flag 1.4890 +fi 1.4891 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 1.4892 +$as_echo "$ac_cv_prog_cxx_g" >&6; } 1.4893 +if test "$ac_test_CXXFLAGS" = set; then 1.4894 + CXXFLAGS=$ac_save_CXXFLAGS 1.4895 +elif test $ac_cv_prog_cxx_g = yes; then 1.4896 + if test "$GXX" = yes; then 1.4897 + CXXFLAGS="-g -O2" 1.4898 + else 1.4899 + CXXFLAGS="-g" 1.4900 + fi 1.4901 +else 1.4902 + if test "$GXX" = yes; then 1.4903 + CXXFLAGS="-O2" 1.4904 + else 1.4905 + CXXFLAGS= 1.4906 + fi 1.4907 +fi 1.4908 +ac_ext=c 1.4909 +ac_cpp='$CPP $CPPFLAGS' 1.4910 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1.4911 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1.4912 +ac_compiler_gnu=$ac_cv_c_compiler_gnu 1.4913 + 1.4914 + fi 1.4915 + fi 1.4916 + if test -n "$ac_tool_prefix"; then 1.4917 + # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 1.4918 +set dummy ${ac_tool_prefix}ranlib; ac_word=$2 1.4919 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 1.4920 +$as_echo_n "checking for $ac_word... " >&6; } 1.4921 +if ${ac_cv_prog_RANLIB+:} false; then : 1.4922 + $as_echo_n "(cached) " >&6 1.4923 +else 1.4924 + if test -n "$RANLIB"; then 1.4925 + ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 1.4926 +else 1.4927 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1.4928 +for as_dir in $PATH 1.4929 +do 1.4930 + IFS=$as_save_IFS 1.4931 + test -z "$as_dir" && as_dir=. 1.4932 + for ac_exec_ext in '' $ac_executable_extensions; do 1.4933 + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1.4934 + ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 1.4935 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1.4936 + break 2 1.4937 + fi 1.4938 +done 1.4939 + done 1.4940 +IFS=$as_save_IFS 1.4941 + 1.4942 +fi 1.4943 +fi 1.4944 +RANLIB=$ac_cv_prog_RANLIB 1.4945 +if test -n "$RANLIB"; then 1.4946 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 1.4947 +$as_echo "$RANLIB" >&6; } 1.4948 +else 1.4949 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1.4950 +$as_echo "no" >&6; } 1.4951 +fi 1.4952 + 1.4953 + 1.4954 +fi 1.4955 +if test -z "$ac_cv_prog_RANLIB"; then 1.4956 + ac_ct_RANLIB=$RANLIB 1.4957 + # Extract the first word of "ranlib", so it can be a program name with args. 1.4958 +set dummy ranlib; ac_word=$2 1.4959 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 1.4960 +$as_echo_n "checking for $ac_word... " >&6; } 1.4961 +if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 1.4962 + $as_echo_n "(cached) " >&6 1.4963 +else 1.4964 + if test -n "$ac_ct_RANLIB"; then 1.4965 + ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 1.4966 +else 1.4967 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1.4968 +for as_dir in $PATH 1.4969 +do 1.4970 + IFS=$as_save_IFS 1.4971 + test -z "$as_dir" && as_dir=. 1.4972 + for ac_exec_ext in '' $ac_executable_extensions; do 1.4973 + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1.4974 + ac_cv_prog_ac_ct_RANLIB="ranlib" 1.4975 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1.4976 + break 2 1.4977 + fi 1.4978 +done 1.4979 + done 1.4980 +IFS=$as_save_IFS 1.4981 + 1.4982 +fi 1.4983 +fi 1.4984 +ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 1.4985 +if test -n "$ac_ct_RANLIB"; then 1.4986 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 1.4987 +$as_echo "$ac_ct_RANLIB" >&6; } 1.4988 +else 1.4989 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1.4990 +$as_echo "no" >&6; } 1.4991 +fi 1.4992 + 1.4993 + if test "x$ac_ct_RANLIB" = x; then 1.4994 + RANLIB=":" 1.4995 + else 1.4996 + case $cross_compiling:$ac_tool_warned in 1.4997 +yes:) 1.4998 +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 1.4999 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 1.5000 +ac_tool_warned=yes ;; 1.5001 +esac 1.5002 + RANLIB=$ac_ct_RANLIB 1.5003 + fi 1.5004 +else 1.5005 + RANLIB="$ac_cv_prog_RANLIB" 1.5006 +fi 1.5007 + 1.5008 + for ac_prog in as 1.5009 +do 1.5010 + # Extract the first word of "$ac_prog", so it can be a program name with args. 1.5011 +set dummy $ac_prog; ac_word=$2 1.5012 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 1.5013 +$as_echo_n "checking for $ac_word... " >&6; } 1.5014 +if ${ac_cv_path_AS+:} false; then : 1.5015 + $as_echo_n "(cached) " >&6 1.5016 +else 1.5017 + case $AS in 1.5018 + [\\/]* | ?:[\\/]*) 1.5019 + ac_cv_path_AS="$AS" # Let the user override the test with a path. 1.5020 + ;; 1.5021 + *) 1.5022 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1.5023 +for as_dir in $PATH 1.5024 +do 1.5025 + IFS=$as_save_IFS 1.5026 + test -z "$as_dir" && as_dir=. 1.5027 + for ac_exec_ext in '' $ac_executable_extensions; do 1.5028 + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1.5029 + ac_cv_path_AS="$as_dir/$ac_word$ac_exec_ext" 1.5030 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1.5031 + break 2 1.5032 + fi 1.5033 +done 1.5034 + done 1.5035 +IFS=$as_save_IFS 1.5036 + 1.5037 + ;; 1.5038 +esac 1.5039 +fi 1.5040 +AS=$ac_cv_path_AS 1.5041 +if test -n "$AS"; then 1.5042 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5 1.5043 +$as_echo "$AS" >&6; } 1.5044 +else 1.5045 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1.5046 +$as_echo "no" >&6; } 1.5047 +fi 1.5048 + 1.5049 + 1.5050 + test -n "$AS" && break 1.5051 +done 1.5052 +test -n "$AS" || AS="$CC" 1.5053 + 1.5054 + for ac_prog in ar 1.5055 +do 1.5056 + # Extract the first word of "$ac_prog", so it can be a program name with args. 1.5057 +set dummy $ac_prog; ac_word=$2 1.5058 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 1.5059 +$as_echo_n "checking for $ac_word... " >&6; } 1.5060 +if ${ac_cv_path_AR+:} false; then : 1.5061 + $as_echo_n "(cached) " >&6 1.5062 +else 1.5063 + case $AR in 1.5064 + [\\/]* | ?:[\\/]*) 1.5065 + ac_cv_path_AR="$AR" # Let the user override the test with a path. 1.5066 + ;; 1.5067 + *) 1.5068 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1.5069 +for as_dir in $PATH 1.5070 +do 1.5071 + IFS=$as_save_IFS 1.5072 + test -z "$as_dir" && as_dir=. 1.5073 + for ac_exec_ext in '' $ac_executable_extensions; do 1.5074 + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1.5075 + ac_cv_path_AR="$as_dir/$ac_word$ac_exec_ext" 1.5076 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1.5077 + break 2 1.5078 + fi 1.5079 +done 1.5080 + done 1.5081 +IFS=$as_save_IFS 1.5082 + 1.5083 + ;; 1.5084 +esac 1.5085 +fi 1.5086 +AR=$ac_cv_path_AR 1.5087 +if test -n "$AR"; then 1.5088 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 1.5089 +$as_echo "$AR" >&6; } 1.5090 +else 1.5091 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1.5092 +$as_echo "no" >&6; } 1.5093 +fi 1.5094 + 1.5095 + 1.5096 + test -n "$AR" && break 1.5097 +done 1.5098 +test -n "$AR" || AR="echo not_ar" 1.5099 + 1.5100 + for ac_prog in ld link 1.5101 +do 1.5102 + # Extract the first word of "$ac_prog", so it can be a program name with args. 1.5103 +set dummy $ac_prog; ac_word=$2 1.5104 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 1.5105 +$as_echo_n "checking for $ac_word... " >&6; } 1.5106 +if ${ac_cv_path_LD+:} false; then : 1.5107 + $as_echo_n "(cached) " >&6 1.5108 +else 1.5109 + case $LD in 1.5110 + [\\/]* | ?:[\\/]*) 1.5111 + ac_cv_path_LD="$LD" # Let the user override the test with a path. 1.5112 + ;; 1.5113 + *) 1.5114 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1.5115 +for as_dir in $PATH 1.5116 +do 1.5117 + IFS=$as_save_IFS 1.5118 + test -z "$as_dir" && as_dir=. 1.5119 + for ac_exec_ext in '' $ac_executable_extensions; do 1.5120 + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1.5121 + ac_cv_path_LD="$as_dir/$ac_word$ac_exec_ext" 1.5122 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1.5123 + break 2 1.5124 + fi 1.5125 +done 1.5126 + done 1.5127 +IFS=$as_save_IFS 1.5128 + 1.5129 + ;; 1.5130 +esac 1.5131 +fi 1.5132 +LD=$ac_cv_path_LD 1.5133 +if test -n "$LD"; then 1.5134 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 1.5135 +$as_echo "$LD" >&6; } 1.5136 +else 1.5137 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1.5138 +$as_echo "no" >&6; } 1.5139 +fi 1.5140 + 1.5141 + 1.5142 + test -n "$LD" && break 1.5143 +done 1.5144 +test -n "$LD" || LD="echo not_ld" 1.5145 + 1.5146 + for ac_prog in strip 1.5147 +do 1.5148 + # Extract the first word of "$ac_prog", so it can be a program name with args. 1.5149 +set dummy $ac_prog; ac_word=$2 1.5150 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 1.5151 +$as_echo_n "checking for $ac_word... " >&6; } 1.5152 +if ${ac_cv_path_STRIP+:} false; then : 1.5153 + $as_echo_n "(cached) " >&6 1.5154 +else 1.5155 + case $STRIP in 1.5156 + [\\/]* | ?:[\\/]*) 1.5157 + ac_cv_path_STRIP="$STRIP" # Let the user override the test with a path. 1.5158 + ;; 1.5159 + *) 1.5160 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1.5161 +for as_dir in $PATH 1.5162 +do 1.5163 + IFS=$as_save_IFS 1.5164 + test -z "$as_dir" && as_dir=. 1.5165 + for ac_exec_ext in '' $ac_executable_extensions; do 1.5166 + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1.5167 + ac_cv_path_STRIP="$as_dir/$ac_word$ac_exec_ext" 1.5168 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1.5169 + break 2 1.5170 + fi 1.5171 +done 1.5172 + done 1.5173 +IFS=$as_save_IFS 1.5174 + 1.5175 + ;; 1.5176 +esac 1.5177 +fi 1.5178 +STRIP=$ac_cv_path_STRIP 1.5179 +if test -n "$STRIP"; then 1.5180 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 1.5181 +$as_echo "$STRIP" >&6; } 1.5182 +else 1.5183 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1.5184 +$as_echo "no" >&6; } 1.5185 +fi 1.5186 + 1.5187 + 1.5188 + test -n "$STRIP" && break 1.5189 +done 1.5190 +test -n "$STRIP" || STRIP="echo not_strip" 1.5191 + 1.5192 + for ac_prog in windres 1.5193 +do 1.5194 + # Extract the first word of "$ac_prog", so it can be a program name with args. 1.5195 +set dummy $ac_prog; ac_word=$2 1.5196 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 1.5197 +$as_echo_n "checking for $ac_word... " >&6; } 1.5198 +if ${ac_cv_path_WINDRES+:} false; then : 1.5199 + $as_echo_n "(cached) " >&6 1.5200 +else 1.5201 + case $WINDRES in 1.5202 + [\\/]* | ?:[\\/]*) 1.5203 + ac_cv_path_WINDRES="$WINDRES" # Let the user override the test with a path. 1.5204 + ;; 1.5205 + *) 1.5206 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1.5207 +for as_dir in $PATH 1.5208 +do 1.5209 + IFS=$as_save_IFS 1.5210 + test -z "$as_dir" && as_dir=. 1.5211 + for ac_exec_ext in '' $ac_executable_extensions; do 1.5212 + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1.5213 + ac_cv_path_WINDRES="$as_dir/$ac_word$ac_exec_ext" 1.5214 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1.5215 + break 2 1.5216 + fi 1.5217 +done 1.5218 + done 1.5219 +IFS=$as_save_IFS 1.5220 + 1.5221 + ;; 1.5222 +esac 1.5223 +fi 1.5224 +WINDRES=$ac_cv_path_WINDRES 1.5225 +if test -n "$WINDRES"; then 1.5226 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5 1.5227 +$as_echo "$WINDRES" >&6; } 1.5228 +else 1.5229 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1.5230 +$as_echo "no" >&6; } 1.5231 +fi 1.5232 + 1.5233 + 1.5234 + test -n "$WINDRES" && break 1.5235 +done 1.5236 +test -n "$WINDRES" || WINDRES="echo not_windres" 1.5237 + 1.5238 + if test -z "$HOST_CC"; then 1.5239 + HOST_CC="$CC" 1.5240 + fi 1.5241 + if test -z "$HOST_CFLAGS"; then 1.5242 + HOST_CFLAGS="$CFLAGS" 1.5243 + fi 1.5244 +fi 1.5245 + 1.5246 +ac_ext=c 1.5247 +ac_cpp='$CPP $CPPFLAGS' 1.5248 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1.5249 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1.5250 +ac_compiler_gnu=$ac_cv_c_compiler_gnu 1.5251 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 1.5252 +$as_echo_n "checking how to run the C preprocessor... " >&6; } 1.5253 +# On Suns, sometimes $CPP names a directory. 1.5254 +if test -n "$CPP" && test -d "$CPP"; then 1.5255 + CPP= 1.5256 +fi 1.5257 +if test -z "$CPP"; then 1.5258 + if ${ac_cv_prog_CPP+:} false; then : 1.5259 + $as_echo_n "(cached) " >&6 1.5260 +else 1.5261 + # Double quotes because CPP needs to be expanded 1.5262 + for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 1.5263 + do 1.5264 + ac_preproc_ok=false 1.5265 +for ac_c_preproc_warn_flag in '' yes 1.5266 +do 1.5267 + # Use a header file that comes with gcc, so configuring glibc 1.5268 + # with a fresh cross-compiler works. 1.5269 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1.5270 + # <limits.h> exists even on freestanding compilers. 1.5271 + # On the NeXT, cc -E runs the code through the compiler's parser, 1.5272 + # not just through cpp. "Syntax error" is here to catch this case. 1.5273 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.5274 +/* end confdefs.h. */ 1.5275 +#ifdef __STDC__ 1.5276 +# include <limits.h> 1.5277 +#else 1.5278 +# include <assert.h> 1.5279 +#endif 1.5280 + Syntax error 1.5281 +_ACEOF 1.5282 +if ac_fn_c_try_cpp "$LINENO"; then : 1.5283 + 1.5284 +else 1.5285 + # Broken: fails on valid input. 1.5286 +continue 1.5287 +fi 1.5288 +rm -f conftest.err conftest.i conftest.$ac_ext 1.5289 + 1.5290 + # OK, works on sane cases. Now check whether nonexistent headers 1.5291 + # can be detected and how. 1.5292 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.5293 +/* end confdefs.h. */ 1.5294 +#include <ac_nonexistent.h> 1.5295 +_ACEOF 1.5296 +if ac_fn_c_try_cpp "$LINENO"; then : 1.5297 + # Broken: success on invalid input. 1.5298 +continue 1.5299 +else 1.5300 + # Passes both tests. 1.5301 +ac_preproc_ok=: 1.5302 +break 1.5303 +fi 1.5304 +rm -f conftest.err conftest.i conftest.$ac_ext 1.5305 + 1.5306 +done 1.5307 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 1.5308 +rm -f conftest.i conftest.err conftest.$ac_ext 1.5309 +if $ac_preproc_ok; then : 1.5310 + break 1.5311 +fi 1.5312 + 1.5313 + done 1.5314 + ac_cv_prog_CPP=$CPP 1.5315 + 1.5316 +fi 1.5317 + CPP=$ac_cv_prog_CPP 1.5318 +else 1.5319 + ac_cv_prog_CPP=$CPP 1.5320 +fi 1.5321 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 1.5322 +$as_echo "$CPP" >&6; } 1.5323 +ac_preproc_ok=false 1.5324 +for ac_c_preproc_warn_flag in '' yes 1.5325 +do 1.5326 + # Use a header file that comes with gcc, so configuring glibc 1.5327 + # with a fresh cross-compiler works. 1.5328 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1.5329 + # <limits.h> exists even on freestanding compilers. 1.5330 + # On the NeXT, cc -E runs the code through the compiler's parser, 1.5331 + # not just through cpp. "Syntax error" is here to catch this case. 1.5332 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.5333 +/* end confdefs.h. */ 1.5334 +#ifdef __STDC__ 1.5335 +# include <limits.h> 1.5336 +#else 1.5337 +# include <assert.h> 1.5338 +#endif 1.5339 + Syntax error 1.5340 +_ACEOF 1.5341 +if ac_fn_c_try_cpp "$LINENO"; then : 1.5342 + 1.5343 +else 1.5344 + # Broken: fails on valid input. 1.5345 +continue 1.5346 +fi 1.5347 +rm -f conftest.err conftest.i conftest.$ac_ext 1.5348 + 1.5349 + # OK, works on sane cases. Now check whether nonexistent headers 1.5350 + # can be detected and how. 1.5351 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.5352 +/* end confdefs.h. */ 1.5353 +#include <ac_nonexistent.h> 1.5354 +_ACEOF 1.5355 +if ac_fn_c_try_cpp "$LINENO"; then : 1.5356 + # Broken: success on invalid input. 1.5357 +continue 1.5358 +else 1.5359 + # Passes both tests. 1.5360 +ac_preproc_ok=: 1.5361 +break 1.5362 +fi 1.5363 +rm -f conftest.err conftest.i conftest.$ac_ext 1.5364 + 1.5365 +done 1.5366 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 1.5367 +rm -f conftest.i conftest.err conftest.$ac_ext 1.5368 +if $ac_preproc_ok; then : 1.5369 + 1.5370 +else 1.5371 + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1.5372 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1.5373 +as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 1.5374 +See \`config.log' for more details" "$LINENO" 5; } 1.5375 +fi 1.5376 + 1.5377 +ac_ext=c 1.5378 +ac_cpp='$CPP $CPPFLAGS' 1.5379 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1.5380 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1.5381 +ac_compiler_gnu=$ac_cv_c_compiler_gnu 1.5382 + 1.5383 + 1.5384 +if test "$GCC" = "yes"; then 1.5385 + GNU_CC=1 1.5386 +fi 1.5387 +if test "$GXX" = "yes"; then 1.5388 + GNU_CXX=1 1.5389 +fi 1.5390 +if test "`echo | $AS -v 2>&1 | grep -c GNU`" != "0"; then 1.5391 + GNU_AS=1 1.5392 +fi 1.5393 +rm -f a.out 1.5394 + 1.5395 +case "$build:$target" in 1.5396 + i?86-apple-darwin*:powerpc-apple-darwin*) 1.5397 + cross_compiling=yes 1.5398 + ;; 1.5399 +esac 1.5400 + 1.5401 +if test "$cross_compiling" = "yes"; then 1.5402 + CROSS_COMPILE=1 1.5403 +else 1.5404 + CROSS_COMPILE= 1.5405 +fi 1.5406 + 1.5407 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc -pipe support" >&5 1.5408 +$as_echo_n "checking for gcc -pipe support... " >&6; } 1.5409 +if test -n "$GNU_CC" && test -n "$GNU_CXX" && test -n "$GNU_AS"; then 1.5410 + echo '#include <stdio.h>' > dummy-hello.c 1.5411 + echo 'int main() { printf("Hello World\n"); return 0; }' >> dummy-hello.c 1.5412 + ${CC} -S dummy-hello.c -o dummy-hello.s 2>&5 1.5413 + cat dummy-hello.s | ${AS} -o dummy-hello.S - 2>&5 1.5414 + if test $? = 0; then 1.5415 + _res_as_stdin="yes" 1.5416 + else 1.5417 + _res_as_stdin="no" 1.5418 + fi 1.5419 + if test "$_res_as_stdin" = "yes"; then 1.5420 + _SAVE_CFLAGS=$CFLAGS 1.5421 + CFLAGS="$CFLAGS -pipe" 1.5422 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.5423 +/* end confdefs.h. */ 1.5424 + #include <stdio.h> 1.5425 +int 1.5426 +main () 1.5427 +{ 1.5428 +printf("Hello World\n"); 1.5429 + ; 1.5430 + return 0; 1.5431 +} 1.5432 +_ACEOF 1.5433 +if ac_fn_c_try_compile "$LINENO"; then : 1.5434 + _res_gcc_pipe="yes" 1.5435 +else 1.5436 + _res_gcc_pipe="no" 1.5437 +fi 1.5438 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1.5439 + CFLAGS=$_SAVE_CFLAGS 1.5440 + fi 1.5441 + if test "$_res_as_stdin" = "yes" && test "$_res_gcc_pipe" = "yes"; then 1.5442 + _res="yes"; 1.5443 + CFLAGS="$CFLAGS -pipe" 1.5444 + CXXFLAGS="$CXXFLAGS -pipe" 1.5445 + else 1.5446 + _res="no" 1.5447 + fi 1.5448 + rm -f dummy-hello.c dummy-hello.s dummy-hello.S dummy-hello a.out 1.5449 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_res" >&5 1.5450 +$as_echo "$_res" >&6; } 1.5451 +else 1.5452 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1.5453 +$as_echo "no" >&6; } 1.5454 +fi 1.5455 + 1.5456 + 1.5457 +_SAVE_CFLAGS="$CFLAGS" 1.5458 +CFLAGS="$CFLAGS -fprofile-generate -fprofile-correction" 1.5459 + 1.5460 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler supports -fprofile-generate" >&5 1.5461 +$as_echo_n "checking whether C compiler supports -fprofile-generate... " >&6; } 1.5462 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.5463 +/* end confdefs.h. */ 1.5464 + 1.5465 +int 1.5466 +main () 1.5467 +{ 1.5468 +return 0; 1.5469 + ; 1.5470 + return 0; 1.5471 +} 1.5472 +_ACEOF 1.5473 +if ac_fn_c_try_compile "$LINENO"; then : 1.5474 + PROFILE_GEN_CFLAGS="-fprofile-generate" 1.5475 + result="yes" 1.5476 +else 1.5477 + result="no" 1.5478 +fi 1.5479 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1.5480 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5 1.5481 +$as_echo "$result" >&6; } 1.5482 + 1.5483 +if test $result = "yes"; then 1.5484 + PROFILE_GEN_LDFLAGS="-fprofile-generate" 1.5485 + PROFILE_USE_CFLAGS="-fprofile-use -fprofile-correction -Wcoverage-mismatch" 1.5486 + PROFILE_USE_LDFLAGS="-fprofile-use" 1.5487 +fi 1.5488 + 1.5489 +CFLAGS="$_SAVE_CFLAGS" 1.5490 + 1.5491 +if test "$GNU_CC"; then 1.5492 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for visibility(hidden) attribute" >&5 1.5493 +$as_echo_n "checking for visibility(hidden) attribute... " >&6; } 1.5494 +if ${ac_cv_visibility_hidden+:} false; then : 1.5495 + $as_echo_n "(cached) " >&6 1.5496 +else 1.5497 + cat > conftest.c <<EOF 1.5498 + int foo __attribute__ ((visibility ("hidden"))) = 1; 1.5499 +EOF 1.5500 + ac_cv_visibility_hidden=no 1.5501 + if ${CC-cc} -Werror -S conftest.c -o conftest.s >/dev/null 2>&1; then 1.5502 + if grep '\.hidden.*foo' conftest.s >/dev/null; then 1.5503 + ac_cv_visibility_hidden=yes 1.5504 + fi 1.5505 + fi 1.5506 + rm -f conftest.cs 1.5507 + 1.5508 +fi 1.5509 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_visibility_hidden" >&5 1.5510 +$as_echo "$ac_cv_visibility_hidden" >&6; } 1.5511 + if test "$ac_cv_visibility_hidden" = "yes"; then 1.5512 + $as_echo "#define HAVE_VISIBILITY_HIDDEN_ATTRIBUTE 1" >>confdefs.h 1.5513 + 1.5514 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for visibility pragma support" >&5 1.5515 +$as_echo_n "checking for visibility pragma support... " >&6; } 1.5516 +if ${ac_cv_visibility_pragma+:} false; then : 1.5517 + $as_echo_n "(cached) " >&6 1.5518 +else 1.5519 + cat > conftest.c <<EOF 1.5520 +#pragma GCC visibility push(hidden) 1.5521 + int foo_hidden = 1; 1.5522 +#pragma GCC visibility push(default) 1.5523 + int foo_default = 1; 1.5524 +EOF 1.5525 + ac_cv_visibility_pragma=no 1.5526 + if ${CC-cc} -Werror -S conftest.c -o conftest.s >/dev/null 2>&1; then 1.5527 + if grep '\.hidden.*foo_hidden' conftest.s >/dev/null; then 1.5528 + if ! grep '\.hidden.*foo_default' conftest.s > /dev/null; then 1.5529 + ac_cv_visibility_pragma=yes 1.5530 + fi 1.5531 + fi 1.5532 + fi 1.5533 + rm -f conftest.cs 1.5534 + 1.5535 +fi 1.5536 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_visibility_pragma" >&5 1.5537 +$as_echo "$ac_cv_visibility_pragma" >&6; } 1.5538 + if test "$ac_cv_visibility_pragma" = "yes"; then 1.5539 + $as_echo "#define HAVE_VISIBILITY_PRAGMA 1" >>confdefs.h 1.5540 + 1.5541 + # To work around a build problem on Linux x86-64 (Bugzilla bug 1.5542 + # 293438), we use the -fvisibility=hidden flag. This flag is less 1.5543 + # optimal than #pragma GCC visibility push(hidden) because the flag 1.5544 + # assumes that symbols defined outside the current source file have 1.5545 + # the default visibility. This has the advantage that we don't need 1.5546 + # to wrap system header files, but has the disadvantage that calls 1.5547 + # to hidden symbols defined in other source files cannot be 1.5548 + # optimized by the compiler. The -fvisibility=hidden flag does 1.5549 + # hide and export symbols correctly. 1.5550 + #VISIBILITY_FLAGS='-I$(dist_includedir)/system_wrappers -include $(topsrcdir)/config/gcc_hidden.h' 1.5551 + #WRAP_SYSTEM_INCLUDES=1 1.5552 + VISIBILITY_FLAGS="-fvisibility=hidden" 1.5553 + WRAP_SYSTEM_INCLUDES= 1.5554 + fi 1.5555 + fi 1.5556 +fi # GNU_CC 1.5557 + 1.5558 +fi # SKIP_COMPILER_CHECKS 1.5559 + 1.5560 +if test -z "$SKIP_PATH_CHECKS"; then 1.5561 + for ac_prog in perl5 perl 1.5562 +do 1.5563 + # Extract the first word of "$ac_prog", so it can be a program name with args. 1.5564 +set dummy $ac_prog; ac_word=$2 1.5565 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 1.5566 +$as_echo_n "checking for $ac_word... " >&6; } 1.5567 +if ${ac_cv_path_PERL+:} false; then : 1.5568 + $as_echo_n "(cached) " >&6 1.5569 +else 1.5570 + case $PERL in 1.5571 + [\\/]* | ?:[\\/]*) 1.5572 + ac_cv_path_PERL="$PERL" # Let the user override the test with a path. 1.5573 + ;; 1.5574 + *) 1.5575 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1.5576 +for as_dir in $PATH 1.5577 +do 1.5578 + IFS=$as_save_IFS 1.5579 + test -z "$as_dir" && as_dir=. 1.5580 + for ac_exec_ext in '' $ac_executable_extensions; do 1.5581 + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1.5582 + ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" 1.5583 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1.5584 + break 2 1.5585 + fi 1.5586 +done 1.5587 + done 1.5588 +IFS=$as_save_IFS 1.5589 + 1.5590 + ;; 1.5591 +esac 1.5592 +fi 1.5593 +PERL=$ac_cv_path_PERL 1.5594 +if test -n "$PERL"; then 1.5595 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5 1.5596 +$as_echo "$PERL" >&6; } 1.5597 +else 1.5598 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1.5599 +$as_echo "no" >&6; } 1.5600 +fi 1.5601 + 1.5602 + 1.5603 + test -n "$PERL" && break 1.5604 +done 1.5605 +test -n "$PERL" || PERL="echo not_perl" 1.5606 + 1.5607 +elif test -z "$PERL"; then 1.5608 + PERL=perl 1.5609 +fi 1.5610 + 1.5611 +OBJ_SUFFIX=o 1.5612 +LIB_SUFFIX=a 1.5613 +DLL_SUFFIX=so 1.5614 +ASM_SUFFIX=s 1.5615 +MKSHLIB='$(LD) $(DSO_LDOPTS) -o $@' 1.5616 +PR_MD_ASFILES= 1.5617 +PR_MD_CSRCS= 1.5618 +PR_MD_ARCH_DIR=unix 1.5619 +AR_FLAGS='cr $@' 1.5620 +AS='$(CC)' 1.5621 +ASFLAGS='$(CFLAGS)' 1.5622 + 1.5623 +if test -n "$CROSS_COMPILE"; then 1.5624 + OS_ARCH=`echo $target_os | sed -e 's|/|_|g'` 1.5625 + OS_RELEASE= 1.5626 + OS_TEST="${target_cpu}" 1.5627 + case "${target_os}" in 1.5628 + linux*) OS_ARCH=Linux ;; 1.5629 + solaris*) OS_ARCH=SunOS OS_RELEASE=5 ;; 1.5630 + mingw*) OS_ARCH=WINNT CPU_ARCH=x86 ;; 1.5631 + darwin*) OS_ARCH=Darwin ;; 1.5632 + riscos*) OS_ARCH=RISCOS ;; 1.5633 + esac 1.5634 +else 1.5635 + OS_ARCH=`uname -s | sed -e 's|/|_|g'` 1.5636 + OS_RELEASE=`uname -r` 1.5637 + OS_TEST=`uname -m` 1.5638 +fi 1.5639 + 1.5640 +if test "$OS_ARCH" = "IRIX64"; then 1.5641 + OS_ARCH=IRIX 1.5642 +fi 1.5643 + 1.5644 +if test "$OS_ARCH" = "AIX"; then 1.5645 + OS_RELEASE=`uname -v`.`uname -r` 1.5646 +fi 1.5647 + 1.5648 +if test "$OS_ARCH" = "FreeBSD"; then 1.5649 + OS_RELEASE=`echo $OS_RELEASE | sed 's/-.*//'` 1.5650 +fi 1.5651 + 1.5652 +if test "$OS_ARCH" = "Linux"; then 1.5653 + OS_RELEASE=`echo $OS_RELEASE | sed 's/-.*//'` 1.5654 + OS_RELEASE=`echo $OS_RELEASE | awk -F\. '{ print $1 "." $2 }'` 1.5655 +fi 1.5656 + 1.5657 +####################################################################### 1.5658 +# Master "Core Components" macros for getting the OS target # 1.5659 +####################################################################### 1.5660 + 1.5661 +# 1.5662 +# Note: OS_TARGET should be specified on the command line for gmake. 1.5663 +# When OS_TARGET=WIN95 is specified, then a Windows 95 target is built. 1.5664 +# The difference between the Win95 target and the WinNT target is that 1.5665 +# the WinNT target uses Windows NT specific features not available 1.5666 +# in Windows 95. The Win95 target will run on Windows NT, but (supposedly) 1.5667 +# at lesser performance (the Win95 target uses threads; the WinNT target 1.5668 +# uses fibers). 1.5669 +# 1.5670 +# If OS_TARGET is not specified, it defaults to $(OS_ARCH), i.e., no 1.5671 +# cross-compilation. 1.5672 +# 1.5673 + 1.5674 +# 1.5675 +# The following hack allows one to build on a WIN95 machine (as if 1.5676 +# s/he were cross-compiling on a WINNT host for a WIN95 target). 1.5677 +# It also accomodates for MKS's uname.exe. If you never intend 1.5678 +# to do development on a WIN95 machine, you don't need this hack. 1.5679 +# 1.5680 +case "$OS_ARCH" in 1.5681 +Windows_95) 1.5682 + OS_ARCH=Windows_NT 1.5683 + OS_TARGET=WIN95 1.5684 + ;; 1.5685 +Windows_98) 1.5686 + OS_ARCH=Windows_NT 1.5687 + OS_TARGET=WIN95 1.5688 + ;; 1.5689 +CYGWIN_9*|CYGWIN_ME*) 1.5690 + OS_ARCH='CYGWIN_NT-4.0' 1.5691 + OS_TARGET=WIN95 1.5692 + ;; 1.5693 +OS_2) 1.5694 + OS_ARCH=OS2 1.5695 + OS_TARGET=OS2 1.5696 + ;; 1.5697 +esac 1.5698 + 1.5699 +# 1.5700 +# On WIN32, we also define the variable CPU_ARCH. 1.5701 +# 1.5702 + 1.5703 +case "$OS_ARCH" in 1.5704 +Windows_NT) 1.5705 +# 1.5706 +# If uname -s returns "Windows_NT", we assume that we are using 1.5707 +# the uname.exe in MKS toolkit. 1.5708 +# 1.5709 +# The -r option of MKS uname only returns the major version number. 1.5710 +# So we need to use its -v option to get the minor version number. 1.5711 +# Moreover, it doesn't have the -p option, so we need to use uname -m. 1.5712 +# 1.5713 + OS_ARCH=WINNT 1.5714 + OS_MINOR_RELEASE=`uname -v` 1.5715 + if test "$OS_MINOR_RELEASE" = "00"; then 1.5716 + OS_MINOR_RELEASE=0 1.5717 + fi 1.5718 + OS_RELEASE="${OS_RELEASE}.${OS_MINOR_RELEASE}" 1.5719 + CPU_ARCH=`uname -m` 1.5720 + # 1.5721 + # MKS's uname -m returns "586" on a Pentium machine. 1.5722 + # 1.5723 + if echo "$CPU_ARCH" | grep -c 86 >/dev/null; then 1.5724 + CPU_ARCH=x86 1.5725 + fi 1.5726 + ;; 1.5727 +CYGWIN_NT*|MINGW*_NT*|MSYS_NT*) 1.5728 +# 1.5729 +# If uname -s returns "CYGWIN_NT-4.0", we assume that we are using 1.5730 +# the uname.exe in the Cygwin tools. 1.5731 +# If uname -s returns "MINGW32_NT-5.1", we assume that we are using 1.5732 +# the uname.exe in the MSYS tools. 1.5733 +# If uname -s returns "MSYS_NT-6.3", we assume that we are using 1.5734 +# the uname.exe in the MSYS2 tools. 1.5735 +# 1.5736 + OS_RELEASE=`expr $OS_ARCH : '.*NT-\(.*\)'` 1.5737 + OS_ARCH=WINNT 1.5738 + CPU_ARCH=`uname -m` 1.5739 + # 1.5740 + # Cygwin's uname -m returns "i686" on a Pentium Pro machine. 1.5741 + # 1.5742 + if echo "$CPU_ARCH" | grep -c 86 >/dev/null; then 1.5743 + CPU_ARCH=x86 1.5744 + fi 1.5745 + ;; 1.5746 +esac 1.5747 + 1.5748 +if test -n "$MOZILLA_CLIENT" && test "$OS_ARCH" = "WINNT"; then 1.5749 + OS_TARGET=WIN95 1.5750 + if test -n "$MOZ_DEBUG" -a -z "$USE_DEBUG_RTL"; then 1.5751 + USE_DEBUG_RTL=1 1.5752 + fi 1.5753 +fi 1.5754 +if test -z "$OS_TARGET"; then 1.5755 + OS_TARGET=$OS_ARCH 1.5756 +fi 1.5757 +if test "$OS_TARGET" = "WIN95"; then 1.5758 + OS_RELEASE="4.0" 1.5759 +fi 1.5760 +OS_CONFIG="${OS_TARGET}${OS_RELEASE}" 1.5761 + 1.5762 +# Check whether --enable-os2-high-mem was given. 1.5763 +if test "${enable_os2_high_mem+set}" = set; then : 1.5764 + enableval=$enable_os2_high_mem; if test "$enableval" = "no"; then 1.5765 + MOZ_OS2_HIGH_MEMORY= 1.5766 + else 1.5767 + MOZ_OS2_HIGH_MEMORY=1 1.5768 + fi 1.5769 +fi 1.5770 + 1.5771 + 1.5772 + 1.5773 +MOZ_ALIGN=toolchain-default 1.5774 + 1.5775 +case "$target" in 1.5776 +arm*-android*|arm*-linuxandroid*) 1.5777 + MOZ_THUMB=yes 1.5778 + MOZ_ARCH=armv7-a 1.5779 + MOZ_FPU=vfp 1.5780 + MOZ_FLOAT_ABI=softfp 1.5781 + MOZ_SOFT_FLOAT=yes 1.5782 + MOZ_ALIGN=no 1.5783 + ;; 1.5784 +arm*-*) 1.5785 + if test -n "$MOZ_PLATFORM_MAEMO"; then 1.5786 + MOZ_THUMB=no 1.5787 + MOZ_ARCH=armv7-a 1.5788 + MOZ_FLOAT_ABI=softfp 1.5789 + fi 1.5790 + if test "$MOZ_PLATFORM_MAEMO" = 6; then 1.5791 + MOZ_THUMB=yes 1.5792 + fi 1.5793 + ;; 1.5794 +esac 1.5795 + 1.5796 +# Check whether --enable-thumb2 was given. 1.5797 +if test "${enable_thumb2+set}" = set; then : 1.5798 + enableval=$enable_thumb2; MOZ_THUMB=$enableval 1.5799 +fi 1.5800 + 1.5801 + 1.5802 + 1.5803 +# Check whether --with-thumb was given. 1.5804 +if test "${with_thumb+set}" = set; then : 1.5805 + withval=$with_thumb; if test -z "$GNU_CC"; then 1.5806 + as_fn_error $? "--with-thumb is not supported on non-GNU toolchain-defaults" "$LINENO" 5 1.5807 + fi 1.5808 + MOZ_THUMB=$withval 1.5809 +fi 1.5810 + 1.5811 + 1.5812 + 1.5813 +# Check whether --with-thumb-interwork was given. 1.5814 +if test "${with_thumb_interwork+set}" = set; then : 1.5815 + withval=$with_thumb_interwork; if test -z "$GNU_CC"; then 1.5816 + as_fn_error $? "--with-thumb-interwork is not supported on non-GNU toolchain-defaults" "$LINENO" 5 1.5817 + fi 1.5818 + MOZ_THUMB_INTERWORK=$withval 1.5819 +fi 1.5820 + 1.5821 + 1.5822 + 1.5823 +# Check whether --with-arch was given. 1.5824 +if test "${with_arch+set}" = set; then : 1.5825 + withval=$with_arch; if test -z "$GNU_CC"; then 1.5826 + as_fn_error $? "--with-arch is not supported on non-GNU toolchain-defaults" "$LINENO" 5 1.5827 + fi 1.5828 + MOZ_ARCH=$withval 1.5829 +fi 1.5830 + 1.5831 + 1.5832 + 1.5833 +# Check whether --with-fpu was given. 1.5834 +if test "${with_fpu+set}" = set; then : 1.5835 + withval=$with_fpu; if test -z "$GNU_CC"; then 1.5836 + as_fn_error $? "--with-fpu is not supported on non-GNU toolchain-defaults" "$LINENO" 5 1.5837 + fi 1.5838 + MOZ_FPU=$withval 1.5839 +fi 1.5840 + 1.5841 + 1.5842 + 1.5843 +# Check whether --with-float-abi was given. 1.5844 +if test "${with_float_abi+set}" = set; then : 1.5845 + withval=$with_float_abi; if test -z "$GNU_CC"; then 1.5846 + as_fn_error $? "--with-float-abi is not supported on non-GNU toolchain-defaults" "$LINENO" 5 1.5847 + fi 1.5848 + MOZ_FLOAT_ABI=$withval 1.5849 +fi 1.5850 + 1.5851 + 1.5852 + 1.5853 +# Check whether --with-soft-float was given. 1.5854 +if test "${with_soft_float+set}" = set; then : 1.5855 + withval=$with_soft_float; if test -z "$GNU_CC"; then 1.5856 + as_fn_error $? "--with-soft-float is not supported on non-GNU toolchain-defaults" "$LINENO" 5 1.5857 + fi 1.5858 + MOZ_SOFT_FLOAT=$withval 1.5859 +fi 1.5860 + 1.5861 + 1.5862 +case "$MOZ_ARCH" in 1.5863 +toolchain-default|"") 1.5864 + arch_flag="" 1.5865 + ;; 1.5866 +*) 1.5867 + arch_flag="-march=$MOZ_ARCH" 1.5868 + ;; 1.5869 +esac 1.5870 + 1.5871 +case "$MOZ_THUMB" in 1.5872 +yes) 1.5873 + MOZ_THUMB2=1 1.5874 + thumb_flag="-mthumb" 1.5875 + ;; 1.5876 +no) 1.5877 + MOZ_THUMB2= 1.5878 + thumb_flag="-marm" 1.5879 + ;; 1.5880 +*) 1.5881 + _SAVE_CFLAGS="$CFLAGS" 1.5882 + CFLAGS="$arch_flag" 1.5883 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.5884 +/* end confdefs.h. */ 1.5885 + 1.5886 +int 1.5887 +main () 1.5888 +{ 1.5889 +return sizeof(__thumb2__); 1.5890 + ; 1.5891 + return 0; 1.5892 +} 1.5893 +_ACEOF 1.5894 +if ac_fn_c_try_compile "$LINENO"; then : 1.5895 + MOZ_THUMB2=1 1.5896 +else 1.5897 + MOZ_THUMB2= 1.5898 +fi 1.5899 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1.5900 + CFLAGS="$_SAVE_CFLAGS" 1.5901 + thumb_flag="" 1.5902 + ;; 1.5903 +esac 1.5904 + 1.5905 +case "$MOZ_THUMB_INTERWORK" in 1.5906 +yes) 1.5907 + thumb_interwork_flag="-mthumb-interwork" 1.5908 + ;; 1.5909 +no) 1.5910 + thumb_interwork_flag="-mno-thumb-interwork" 1.5911 + ;; 1.5912 +*) # toolchain-default 1.5913 + thumb_interwork_flag="" 1.5914 + ;; 1.5915 +esac 1.5916 + 1.5917 +case "$MOZ_FPU" in 1.5918 +toolchain-default|"") 1.5919 + fpu_flag="" 1.5920 + ;; 1.5921 +*) 1.5922 + fpu_flag="-mfpu=$MOZ_FPU" 1.5923 + ;; 1.5924 +esac 1.5925 + 1.5926 +case "$MOZ_FLOAT_ABI" in 1.5927 +toolchain-default|"") 1.5928 + float_abi_flag="" 1.5929 + ;; 1.5930 +*) 1.5931 + float_abi_flag="-mfloat-abi=$MOZ_FLOAT_ABI" 1.5932 + ;; 1.5933 +esac 1.5934 + 1.5935 +case "$MOZ_SOFT_FLOAT" in 1.5936 +yes) 1.5937 + soft_float_flag="-msoft-float" 1.5938 + ;; 1.5939 +no) 1.5940 + soft_float_flag="-mno-soft-float" 1.5941 + ;; 1.5942 +*) # toolchain-default 1.5943 + soft_float_flag="" 1.5944 + ;; 1.5945 +esac 1.5946 + 1.5947 +case "$MOZ_ALIGN" in 1.5948 +toolchain-default|"") 1.5949 + align_flag="" 1.5950 + ;; 1.5951 +no) 1.5952 + align_flag="-mno-unaligned-access" 1.5953 + ;; 1.5954 +yes) 1.5955 + align_flag="-munaligned-access" 1.5956 + ;; 1.5957 +*) 1.5958 + align_flag="" 1.5959 + ;; 1.5960 +esac 1.5961 + 1.5962 +if test -n "$align_flag"; then 1.5963 + _SAVE_CFLAGS="$CFLAGS" 1.5964 + CFLAGS="$CFLAGS $align_flag" 1.5965 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether alignment flag ($align_flag) is supported" >&5 1.5966 +$as_echo_n "checking whether alignment flag ($align_flag) is supported... " >&6; } 1.5967 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.5968 +/* end confdefs.h. */ 1.5969 + 1.5970 +int 1.5971 +main () 1.5972 +{ 1.5973 + 1.5974 + ; 1.5975 + return 0; 1.5976 +} 1.5977 +_ACEOF 1.5978 +if ac_fn_c_try_compile "$LINENO"; then : 1.5979 + 1.5980 +else 1.5981 + align_flag="" 1.5982 +fi 1.5983 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1.5984 + CFLAGS="$_SAVE_CFLAGS" 1.5985 +fi 1.5986 + 1.5987 +all_flags=`echo $arch_flag $thumb_flag $thumb_interwork_flag $fpu_flag $float_abi_flag $soft_float_flag $align_flag` 1.5988 +if test -n "$all_flags"; then 1.5989 + _SAVE_CFLAGS="$CFLAGS" 1.5990 + CFLAGS="$all_flags" 1.5991 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the chosen combination of compiler flags ($all_flags) works" >&5 1.5992 +$as_echo_n "checking whether the chosen combination of compiler flags ($all_flags) works... " >&6; } 1.5993 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.5994 +/* end confdefs.h. */ 1.5995 + 1.5996 +int 1.5997 +main () 1.5998 +{ 1.5999 +return 0; 1.6000 + ; 1.6001 + return 0; 1.6002 +} 1.6003 +_ACEOF 1.6004 +if ac_fn_c_try_compile "$LINENO"; then : 1.6005 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 1.6006 +$as_echo "yes" >&6; } 1.6007 +else 1.6008 + as_fn_error $? "no" "$LINENO" 5 1.6009 +fi 1.6010 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1.6011 + 1.6012 + CFLAGS="$_SAVE_CFLAGS $all_flags" 1.6013 + CXXFLAGS="$CXXFLAGS $all_flags" 1.6014 + ASFLAGS="$ASFLAGS $all_flags" 1.6015 + if test -n "$thumb_flag"; then 1.6016 + LDFLAGS="$LDFLAGS $thumb_flag" 1.6017 + fi 1.6018 +fi 1.6019 + 1.6020 +case "$host" in 1.6021 +*-mingw*|*-msys*) 1.6022 + NSINSTALL=nsinstall 1.6023 + ;; 1.6024 +*-cygwin*|*-mks*) 1.6025 + NSINSTALL='$(CYGWIN_WRAPPER) nsinstall' 1.6026 + if test `echo "${PATH}" | grep -c \;` = 0; then 1.6027 + CYGWIN_WRAPPER='sh $(topsrcdir)/build/cygwin-wrapper' 1.6028 + fi 1.6029 + ;; 1.6030 +*-beos*) 1.6031 + HOST_CFLAGS="$HOST_CFLAGS -DXP_BEOS -DBeOS -DBEOS -D_POSIX_SOURCE" 1.6032 + ;; 1.6033 +*os2*) 1.6034 + ;; 1.6035 +*) 1.6036 + HOST_CFLAGS="$HOST_CFLAGS -DXP_UNIX" 1.6037 + ;; 1.6038 +esac 1.6039 + 1.6040 +case "$target" in 1.6041 + 1.6042 +*-aix*) 1.6043 + $as_echo "#define XP_UNIX 1" >>confdefs.h 1.6044 + 1.6045 + $as_echo "#define AIX 1" >>confdefs.h 1.6046 + 1.6047 + $as_echo "#define SYSV 1" >>confdefs.h 1.6048 + 1.6049 + DSO_LDOPTS='-brtl -bnortllib -bM:SRE -bnoentry -bexpall -blibpath:/usr/lib:/lib' 1.6050 + 1.6051 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 1.6052 +$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 1.6053 +if ${ac_cv_path_GREP+:} false; then : 1.6054 + $as_echo_n "(cached) " >&6 1.6055 +else 1.6056 + if test -z "$GREP"; then 1.6057 + ac_path_GREP_found=false 1.6058 + # Loop through the user's path and test for each of PROGNAME-LIST 1.6059 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1.6060 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 1.6061 +do 1.6062 + IFS=$as_save_IFS 1.6063 + test -z "$as_dir" && as_dir=. 1.6064 + for ac_prog in grep ggrep; do 1.6065 + for ac_exec_ext in '' $ac_executable_extensions; do 1.6066 + ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 1.6067 + as_fn_executable_p "$ac_path_GREP" || continue 1.6068 +# Check for GNU ac_path_GREP and select it if it is found. 1.6069 + # Check for GNU $ac_path_GREP 1.6070 +case `"$ac_path_GREP" --version 2>&1` in 1.6071 +*GNU*) 1.6072 + ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 1.6073 +*) 1.6074 + ac_count=0 1.6075 + $as_echo_n 0123456789 >"conftest.in" 1.6076 + while : 1.6077 + do 1.6078 + cat "conftest.in" "conftest.in" >"conftest.tmp" 1.6079 + mv "conftest.tmp" "conftest.in" 1.6080 + cp "conftest.in" "conftest.nl" 1.6081 + $as_echo 'GREP' >> "conftest.nl" 1.6082 + "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 1.6083 + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 1.6084 + as_fn_arith $ac_count + 1 && ac_count=$as_val 1.6085 + if test $ac_count -gt ${ac_path_GREP_max-0}; then 1.6086 + # Best one so far, save it but keep looking for a better one 1.6087 + ac_cv_path_GREP="$ac_path_GREP" 1.6088 + ac_path_GREP_max=$ac_count 1.6089 + fi 1.6090 + # 10*(2^10) chars as input seems more than enough 1.6091 + test $ac_count -gt 10 && break 1.6092 + done 1.6093 + rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 1.6094 +esac 1.6095 + 1.6096 + $ac_path_GREP_found && break 3 1.6097 + done 1.6098 + done 1.6099 + done 1.6100 +IFS=$as_save_IFS 1.6101 + if test -z "$ac_cv_path_GREP"; then 1.6102 + as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 1.6103 + fi 1.6104 +else 1.6105 + ac_cv_path_GREP=$GREP 1.6106 +fi 1.6107 + 1.6108 +fi 1.6109 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 1.6110 +$as_echo "$ac_cv_path_GREP" >&6; } 1.6111 + GREP="$ac_cv_path_GREP" 1.6112 + 1.6113 + 1.6114 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 1.6115 +$as_echo_n "checking for egrep... " >&6; } 1.6116 +if ${ac_cv_path_EGREP+:} false; then : 1.6117 + $as_echo_n "(cached) " >&6 1.6118 +else 1.6119 + if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 1.6120 + then ac_cv_path_EGREP="$GREP -E" 1.6121 + else 1.6122 + if test -z "$EGREP"; then 1.6123 + ac_path_EGREP_found=false 1.6124 + # Loop through the user's path and test for each of PROGNAME-LIST 1.6125 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1.6126 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 1.6127 +do 1.6128 + IFS=$as_save_IFS 1.6129 + test -z "$as_dir" && as_dir=. 1.6130 + for ac_prog in egrep; do 1.6131 + for ac_exec_ext in '' $ac_executable_extensions; do 1.6132 + ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 1.6133 + as_fn_executable_p "$ac_path_EGREP" || continue 1.6134 +# Check for GNU ac_path_EGREP and select it if it is found. 1.6135 + # Check for GNU $ac_path_EGREP 1.6136 +case `"$ac_path_EGREP" --version 2>&1` in 1.6137 +*GNU*) 1.6138 + ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 1.6139 +*) 1.6140 + ac_count=0 1.6141 + $as_echo_n 0123456789 >"conftest.in" 1.6142 + while : 1.6143 + do 1.6144 + cat "conftest.in" "conftest.in" >"conftest.tmp" 1.6145 + mv "conftest.tmp" "conftest.in" 1.6146 + cp "conftest.in" "conftest.nl" 1.6147 + $as_echo 'EGREP' >> "conftest.nl" 1.6148 + "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 1.6149 + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 1.6150 + as_fn_arith $ac_count + 1 && ac_count=$as_val 1.6151 + if test $ac_count -gt ${ac_path_EGREP_max-0}; then 1.6152 + # Best one so far, save it but keep looking for a better one 1.6153 + ac_cv_path_EGREP="$ac_path_EGREP" 1.6154 + ac_path_EGREP_max=$ac_count 1.6155 + fi 1.6156 + # 10*(2^10) chars as input seems more than enough 1.6157 + test $ac_count -gt 10 && break 1.6158 + done 1.6159 + rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 1.6160 +esac 1.6161 + 1.6162 + $ac_path_EGREP_found && break 3 1.6163 + done 1.6164 + done 1.6165 + done 1.6166 +IFS=$as_save_IFS 1.6167 + if test -z "$ac_cv_path_EGREP"; then 1.6168 + as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 1.6169 + fi 1.6170 +else 1.6171 + ac_cv_path_EGREP=$EGREP 1.6172 +fi 1.6173 + 1.6174 + fi 1.6175 +fi 1.6176 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 1.6177 +$as_echo "$ac_cv_path_EGREP" >&6; } 1.6178 + EGREP="$ac_cv_path_EGREP" 1.6179 + 1.6180 + 1.6181 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 1.6182 +$as_echo_n "checking for ANSI C header files... " >&6; } 1.6183 +if ${ac_cv_header_stdc+:} false; then : 1.6184 + $as_echo_n "(cached) " >&6 1.6185 +else 1.6186 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.6187 +/* end confdefs.h. */ 1.6188 +#include <stdlib.h> 1.6189 +#include <stdarg.h> 1.6190 +#include <string.h> 1.6191 +#include <float.h> 1.6192 + 1.6193 +int 1.6194 +main () 1.6195 +{ 1.6196 + 1.6197 + ; 1.6198 + return 0; 1.6199 +} 1.6200 +_ACEOF 1.6201 +if ac_fn_c_try_compile "$LINENO"; then : 1.6202 + ac_cv_header_stdc=yes 1.6203 +else 1.6204 + ac_cv_header_stdc=no 1.6205 +fi 1.6206 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1.6207 + 1.6208 +if test $ac_cv_header_stdc = yes; then 1.6209 + # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 1.6210 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.6211 +/* end confdefs.h. */ 1.6212 +#include <string.h> 1.6213 + 1.6214 +_ACEOF 1.6215 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 1.6216 + $EGREP "memchr" >/dev/null 2>&1; then : 1.6217 + 1.6218 +else 1.6219 + ac_cv_header_stdc=no 1.6220 +fi 1.6221 +rm -f conftest* 1.6222 + 1.6223 +fi 1.6224 + 1.6225 +if test $ac_cv_header_stdc = yes; then 1.6226 + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 1.6227 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.6228 +/* end confdefs.h. */ 1.6229 +#include <stdlib.h> 1.6230 + 1.6231 +_ACEOF 1.6232 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 1.6233 + $EGREP "free" >/dev/null 2>&1; then : 1.6234 + 1.6235 +else 1.6236 + ac_cv_header_stdc=no 1.6237 +fi 1.6238 +rm -f conftest* 1.6239 + 1.6240 +fi 1.6241 + 1.6242 +if test $ac_cv_header_stdc = yes; then 1.6243 + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 1.6244 + if test "$cross_compiling" = yes; then : 1.6245 + : 1.6246 +else 1.6247 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.6248 +/* end confdefs.h. */ 1.6249 +#include <ctype.h> 1.6250 +#include <stdlib.h> 1.6251 +#if ((' ' & 0x0FF) == 0x020) 1.6252 +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 1.6253 +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 1.6254 +#else 1.6255 +# define ISLOWER(c) \ 1.6256 + (('a' <= (c) && (c) <= 'i') \ 1.6257 + || ('j' <= (c) && (c) <= 'r') \ 1.6258 + || ('s' <= (c) && (c) <= 'z')) 1.6259 +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 1.6260 +#endif 1.6261 + 1.6262 +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 1.6263 +int 1.6264 +main () 1.6265 +{ 1.6266 + int i; 1.6267 + for (i = 0; i < 256; i++) 1.6268 + if (XOR (islower (i), ISLOWER (i)) 1.6269 + || toupper (i) != TOUPPER (i)) 1.6270 + return 2; 1.6271 + return 0; 1.6272 +} 1.6273 +_ACEOF 1.6274 +if ac_fn_c_try_run "$LINENO"; then : 1.6275 + 1.6276 +else 1.6277 + ac_cv_header_stdc=no 1.6278 +fi 1.6279 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 1.6280 + conftest.$ac_objext conftest.beam conftest.$ac_ext 1.6281 +fi 1.6282 + 1.6283 +fi 1.6284 +fi 1.6285 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 1.6286 +$as_echo "$ac_cv_header_stdc" >&6; } 1.6287 +if test $ac_cv_header_stdc = yes; then 1.6288 + 1.6289 +$as_echo "#define STDC_HEADERS 1" >>confdefs.h 1.6290 + 1.6291 +fi 1.6292 + 1.6293 +# On IRIX 5.3, sys/types and inttypes.h are conflicting. 1.6294 +for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 1.6295 + inttypes.h stdint.h unistd.h 1.6296 +do : 1.6297 + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 1.6298 +ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 1.6299 +" 1.6300 +if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 1.6301 + cat >>confdefs.h <<_ACEOF 1.6302 +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 1.6303 +_ACEOF 1.6304 + 1.6305 +fi 1.6306 + 1.6307 +done 1.6308 + 1.6309 + 1.6310 +ac_fn_c_check_header_mongrel "$LINENO" "sys/atomic_op.h" "ac_cv_header_sys_atomic_op_h" "$ac_includes_default" 1.6311 +if test "x$ac_cv_header_sys_atomic_op_h" = xyes; then : 1.6312 + $as_echo "#define AIX_HAVE_ATOMIC_OP_H 1" >>confdefs.h 1.6313 + 1.6314 +fi 1.6315 + 1.6316 + 1.6317 + case "${target_os}" in 1.6318 + aix3.2*) 1.6319 + $as_echo "#define AIX_RENAME_SELECT 1" >>confdefs.h 1.6320 + 1.6321 + $as_echo "#define _PR_NO_LARGE_FILES 1" >>confdefs.h 1.6322 + 1.6323 + AIX_LINK_OPTS='-bnso -berok' 1.6324 + PR_MD_ASFILES=os_AIX.s 1.6325 + ;; 1.6326 + aix4.1*) 1.6327 + $as_echo "#define AIX_TIMERS 1" >>confdefs.h 1.6328 + 1.6329 + $as_echo "#define _PR_NO_LARGE_FILES 1" >>confdefs.h 1.6330 + 1.6331 + $as_echo "#define AIX4_1 1" >>confdefs.h 1.6332 + 1.6333 + MKSHLIB= 1.6334 + DSO_LDOPTS= 1.6335 + AIX_LINK_OPTS='-bnso -berok' 1.6336 + LIBNSPR='-L$(dist_libdir) -lnspr$(MOD_MAJOR_VERSION)_shr' 1.6337 + LIBPLC='-L$(dist_libdir) -lplc$(MOD_MAJOR_VERSION)_shr' 1.6338 + ;; 1.6339 + aix4.2*) 1.6340 + $as_echo "#define AIX_TIMERS 1" >>confdefs.h 1.6341 + 1.6342 + $as_echo "#define _PR_HAVE_OFF64_T 1" >>confdefs.h 1.6343 + 1.6344 + AIX_LINK_OPTS='-brtl -bnso -berok' 1.6345 + ;; 1.6346 + aix4.3*) 1.6347 + $as_echo "#define AIX_TIMERS 1" >>confdefs.h 1.6348 + 1.6349 + $as_echo "#define _PR_HAVE_OFF64_T 1" >>confdefs.h 1.6350 + 1.6351 + $as_echo "#define AIX4_3_PLUS 1" >>confdefs.h 1.6352 + 1.6353 + $as_echo "#define HAVE_SOCKLEN_T 1" >>confdefs.h 1.6354 + 1.6355 + $as_echo "#define HAVE_FCNTL_FILE_LOCKING 1" >>confdefs.h 1.6356 + 1.6357 + USE_IPV6=1 1.6358 + AIX_LINK_OPTS='-brtl -bnso -berok' 1.6359 + ;; 1.6360 + *) 1.6361 + $as_echo "#define AIX_TIMERS 1" >>confdefs.h 1.6362 + 1.6363 + $as_echo "#define _PR_HAVE_OFF64_T 1" >>confdefs.h 1.6364 + 1.6365 + $as_echo "#define AIX4_3_PLUS 1" >>confdefs.h 1.6366 + 1.6367 + $as_echo "#define HAVE_SOCKLEN_T 1" >>confdefs.h 1.6368 + 1.6369 + $as_echo "#define HAVE_FCNTL_FILE_LOCKING 1" >>confdefs.h 1.6370 + 1.6371 + USE_IPV6=1 1.6372 + AIX_LINK_OPTS='-brtl -bnso -berok' 1.6373 + ;; 1.6374 + esac 1.6375 + CFLAGS="$CFLAGS -qro -qroconst" 1.6376 + AIX_WRAP='$(DIST)/lib/aixwrap.o' 1.6377 + AIX_TMP='./_aix_tmp.o' 1.6378 + if test -n "$USE_64"; then 1.6379 + MDCPUCFG_H=_aix64.cfg 1.6380 + OBJECT_MODE=64 1.6381 + else 1.6382 + MDCPUCFG_H=_aix32.cfg 1.6383 + fi 1.6384 + PR_MD_CSRCS=aix.c 1.6385 + RESOLVE_LINK_SYMBOLS=1 1.6386 + ;; 1.6387 + 1.6388 +*-beos*) 1.6389 + $as_echo "#define XP_BEOS 1" >>confdefs.h 1.6390 + 1.6391 + $as_echo "#define BeOS 1" >>confdefs.h 1.6392 + 1.6393 + $as_echo "#define BEOS 1" >>confdefs.h 1.6394 + 1.6395 + $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h 1.6396 + 1.6397 + DSO_LDOPTS=-nostart 1.6398 + MDCPUCFG_H=_beos.cfg 1.6399 + USE_BTHREADS=1 1.6400 + PR_MD_ARCH_DIR=beos 1.6401 + RESOLVE_LINK_SYMBOLS=1 1.6402 + case "${target_cpu}" in 1.6403 + i*86) 1.6404 + _OPTIMIZE_FLAGS=-O2 1.6405 + _DEBUG_FLAGS='-gdwarf-2 -O0' 1.6406 + MKSHLIB='$(CCC) $(DSO_LDOPTS) -o $@' 1.6407 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyaddr in -lbind" >&5 1.6408 +$as_echo_n "checking for gethostbyaddr in -lbind... " >&6; } 1.6409 +if ${ac_cv_lib_bind_gethostbyaddr+:} false; then : 1.6410 + $as_echo_n "(cached) " >&6 1.6411 +else 1.6412 + ac_check_lib_save_LIBS=$LIBS 1.6413 +LIBS="-lbind $LIBS" 1.6414 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.6415 +/* end confdefs.h. */ 1.6416 + 1.6417 +/* Override any GCC internal prototype to avoid an error. 1.6418 + Use char because int might match the return type of a GCC 1.6419 + builtin and then its argument prototype would still apply. */ 1.6420 +#ifdef __cplusplus 1.6421 +extern "C" 1.6422 +#endif 1.6423 +char gethostbyaddr (); 1.6424 +int 1.6425 +main () 1.6426 +{ 1.6427 +return gethostbyaddr (); 1.6428 + ; 1.6429 + return 0; 1.6430 +} 1.6431 +_ACEOF 1.6432 +if ac_fn_c_try_link "$LINENO"; then : 1.6433 + ac_cv_lib_bind_gethostbyaddr=yes 1.6434 +else 1.6435 + ac_cv_lib_bind_gethostbyaddr=no 1.6436 +fi 1.6437 +rm -f core conftest.err conftest.$ac_objext \ 1.6438 + conftest$ac_exeext conftest.$ac_ext 1.6439 +LIBS=$ac_check_lib_save_LIBS 1.6440 +fi 1.6441 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bind_gethostbyaddr" >&5 1.6442 +$as_echo "$ac_cv_lib_bind_gethostbyaddr" >&6; } 1.6443 +if test "x$ac_cv_lib_bind_gethostbyaddr" = xyes; then : 1.6444 + OS_LIBS="$OS_LIBS -lbind -lsocket" 1.6445 +fi 1.6446 + 1.6447 + ;; 1.6448 + powerpc) 1.6449 + CC=mwcc 1.6450 + CCC=mwcc 1.6451 + LD=mwld 1.6452 + DSO_LDOPTS='-xms -export pragma -init _init_routine_ -term _term_routine_ -lroot -lnet /boot/develop/lib/ppc/glue-noinit.a /boot/develop/lib/ppc/init_term_dyn.o /boot/develop/lib/ppc/start_dyn.o' 1.6453 + _OPTIMIZE_FLAGS=-O2 1.6454 + _DEBUG_FLAGS='-g -O0' 1.6455 + ;; 1.6456 + esac 1.6457 + ;; 1.6458 + 1.6459 +*-bsdi*) 1.6460 + $as_echo "#define XP_UNIX 1" >>confdefs.h 1.6461 + 1.6462 + $as_echo "#define BSDI 1" >>confdefs.h 1.6463 + 1.6464 + $as_echo "#define NEED_BSDREGEX 1" >>confdefs.h 1.6465 + 1.6466 + 1.6467 + CFLAGS="$CFLAGS -Wall -Wno-format" 1.6468 + CXXFLAGS="$CXXFLAGS -Wall -Wno-format" 1.6469 + 1.6470 + if echo "$OS_TEST" | grep -c 86 >/dev/null; then 1.6471 + CPU_ARCH=x86 1.6472 + elif echo "$OS_TEST" | grep -c sparc >/dev/null; then 1.6473 + CPU_ARCH=sparc 1.6474 + fi 1.6475 + 1.6476 + MDCPUCFG_H=_bsdi.cfg 1.6477 + PR_MD_CSRCS=bsdi.c 1.6478 + 1.6479 + DSO_LDOPTS=-r 1.6480 + 1.6481 + case "$target_os" in 1.6482 + bsdi1.1*) 1.6483 + $as_echo "#define _PR_BSDI_JMPBUF_IS_ARRAY 1" >>confdefs.h 1.6484 + 1.6485 + $as_echo "#define _PR_STAT_HAS_ONLY_ST_ATIME 1" >>confdefs.h 1.6486 + 1.6487 + $as_echo "#define _PR_NEED_H_ERRNO 1" >>confdefs.h 1.6488 + 1.6489 + MKSHLIB= 1.6490 + DSO_CFLAGS= 1.6491 + DSO_LDOPTS= 1.6492 + ;; 1.6493 + 1.6494 + bsdi2.1*) 1.6495 + $as_echo "#define _PR_TIMESPEC_HAS_TS_SEC 1" >>confdefs.h 1.6496 + 1.6497 + $as_echo "#define _PR_BSDI_JMPBUF_IS_ARRAY 1" >>confdefs.h 1.6498 + 1.6499 + $as_echo "#define HAVE_DLL 1" >>confdefs.h 1.6500 + 1.6501 + $as_echo "#define USE_DLFCN 1" >>confdefs.h 1.6502 + 1.6503 + $as_echo "#define _PR_STAT_HAS_ST_ATIMESPEC 1" >>confdefs.h 1.6504 + 1.6505 + PR_MD_ASFILES=os_BSD_OS_386_2.s 1.6506 + ;; 1.6507 + 1.6508 + bsdi4.* | bsdi5.*) 1.6509 + $as_echo "#define _PR_SELECT_CONST_TIMEVAL 1" >>confdefs.h 1.6510 + 1.6511 + $as_echo "#define _PR_BSDI_JMPBUF_IS_STRUCT 1" >>confdefs.h 1.6512 + 1.6513 + $as_echo "#define HAVE_DLL 1" >>confdefs.h 1.6514 + 1.6515 + $as_echo "#define USE_DLFCN 1" >>confdefs.h 1.6516 + 1.6517 + $as_echo "#define _PR_STAT_HAS_ST_ATIMESPEC 1" >>confdefs.h 1.6518 + 1.6519 + MKSHLIB='$(CC) -o $@ $(DSO_LDOPTS)' 1.6520 + DSO_CFLAGS=-fPIC 1.6521 + DSO_LDOPTS='-shared -Wl,-soname,$(@:$(OBJDIR)/%.so=%.so)' 1.6522 + STRIP="$STRIP -d" 1.6523 + case "$target_os" in 1.6524 + bsdi4.2* | bsdi4.3* | bsdi5.*) 1.6525 + $as_echo "#define _PR_HAVE_GETPROTO_R 1" >>confdefs.h 1.6526 + 1.6527 + $as_echo "#define _PR_HAVE_GETPROTO_R_POINTER 1" >>confdefs.h 1.6528 + 1.6529 + ;; 1.6530 + esac 1.6531 + ;; 1.6532 + *) 1.6533 + $as_echo "#define _PR_SELECT_CONST_TIMEVAL 1" >>confdefs.h 1.6534 + 1.6535 + $as_echo "#define _PR_BSDI_JMPBUF_IS_STRUCT 1" >>confdefs.h 1.6536 + 1.6537 + $as_echo "#define HAVE_DLL 1" >>confdefs.h 1.6538 + 1.6539 + $as_echo "#define USE_DLFCN 1" >>confdefs.h 1.6540 + 1.6541 + $as_echo "#define _PR_STAT_HAS_ST_ATIMESPEC 1" >>confdefs.h 1.6542 + 1.6543 + ;; 1.6544 + esac 1.6545 + 1.6546 + ;; 1.6547 + 1.6548 +*-darwin*) 1.6549 + $as_echo "#define XP_UNIX 1" >>confdefs.h 1.6550 + 1.6551 + $as_echo "#define DARWIN 1" >>confdefs.h 1.6552 + 1.6553 + $as_echo "#define HAVE_BSD_FLOCK 1" >>confdefs.h 1.6554 + 1.6555 + $as_echo "#define HAVE_SOCKLEN_T 1" >>confdefs.h 1.6556 + 1.6557 + AS='$(CC) -x assembler-with-cpp' 1.6558 + CFLAGS="$CFLAGS -Wall -fno-common" 1.6559 + case "${target_cpu}" in 1.6560 + arm*) 1.6561 + CPU_ARCH=arm 1.6562 + ;; 1.6563 + i*86*|x86_64) 1.6564 + if test -n "$USE_64"; then 1.6565 + CPU_ARCH=x86_64 1.6566 + else 1.6567 + CPU_ARCH=i386 1.6568 + fi 1.6569 + ;; 1.6570 + *) 1.6571 + CPU_ARCH=ppc 1.6572 + ;; 1.6573 + esac 1.6574 + if test "`echo $CC | grep -c '\-arch '`" = "0"; then 1.6575 + CC="$CC -arch $CPU_ARCH" 1.6576 + fi 1.6577 + ac_fn_c_check_header_mongrel "$LINENO" "crt_externs.h" "ac_cv_header_crt_externs_h" "$ac_includes_default" 1.6578 +if test "x$ac_cv_header_crt_externs_h" = xyes; then : 1.6579 + 1.6580 +fi 1.6581 + 1.6582 + 1.6583 + DSO_CFLAGS=-fPIC 1.6584 + DSO_LDOPTS='-dynamiclib -compatibility_version 1 -current_version 1 -all_load -install_name @executable_path/$@ -headerpad_max_install_names' 1.6585 + _OPTIMIZE_FLAGS=-O2 1.6586 + MKSHLIB='$(CC) $(DSO_LDOPTS) -o $@' 1.6587 + STRIP="$STRIP -x -S" 1.6588 + DLL_SUFFIX=dylib 1.6589 + USE_PTHREADS=1 1.6590 + MDCPUCFG_H=_darwin.cfg 1.6591 + PR_MD_CSRCS=darwin.c 1.6592 + PR_MD_ASFILES=os_Darwin.s 1.6593 + 1.6594 + # Add Mac OS X support for loading CFM & CFBundle plugins 1.6595 + if test -f "${MACOS_SDK_DIR}/System/Library/Frameworks/Carbon.framework/Carbon"; then 1.6596 + $as_echo "#define XP_MACOSX 1" >>confdefs.h 1.6597 + 1.6598 + OS_TARGET=MacOSX 1.6599 + 1.6600 + if test -n "$_MACOSX_DEPLOYMENT_TARGET" ; then 1.6601 + export MACOSX_DEPLOYMENT_TARGET=$_MACOSX_DEPLOYMENT_TARGET 1.6602 + elif test -z "$MACOSX_DEPLOYMENT_TARGET" ; then 1.6603 + case "${target_cpu}" in 1.6604 + powerpc*) 1.6605 + export MACOSX_DEPLOYMENT_TARGET=10.2 1.6606 + ;; 1.6607 + i*86*) 1.6608 + export MACOSX_DEPLOYMENT_TARGET=10.4 1.6609 + ;; 1.6610 + esac 1.6611 + fi 1.6612 + 1.6613 + 1.6614 + if test "$MACOS_SDK_DIR"; then 1.6615 + 1.6616 + if test ! -d "$MACOS_SDK_DIR"; then 1.6617 + as_fn_error $? "SDK not found. When using --with-macos-sdk, you must 1.6618 +specify a valid SDK. SDKs are installed when the optional cross-development 1.6619 +tools are selected during the Xcode/Developer Tools installation." "$LINENO" 5 1.6620 + fi 1.6621 + 1.6622 + 1.6623 + CC_VERSION=`$CC -v 2>&1 | grep 'gcc version'` 1.6624 + GCC_VERSION_FULL=`echo $CC_VERSION | $PERL -pe 's/^.*gcc version ([^ ]*).*/$1/'` 1.6625 + GCC_VERSION=`echo $GCC_VERSION_FULL | $PERL -pe '(split(/\./))[0]>=4&&s/(^\d*\.\d*).*/$1/;'` 1.6626 + 1.6627 + GCC_VERSION_MAJOR=`echo $GCC_VERSION_FULL | $PERL -pe 's/(^\d*).*/$1/;'` 1.6628 + if test "$GCC_VERSION_MAJOR" -lt "4" ; then 1.6629 + SDK_C_FRAMEWORK="-F${MACOS_SDK_DIR}/System/Library/Frameworks" 1.6630 + if test -d "${MACOS_SDK_DIR}/Library/Frameworks" ; then 1.6631 + SDK_C_FRAMEWORK="$SDK_C_FRAMEWORK -F${MACOS_SDK_DIR}/Library/Frameworks" 1.6632 + fi 1.6633 + 1.6634 + SDK_C_INCLUDE="-isystem ${MACOS_SDK_DIR}/usr/include/gcc/darwin/${GCC_VERSION} -isystem ${MACOS_SDK_DIR}/usr/include ${SDK_C_FRAMEWORK}" 1.6635 + 1.6636 + CFLAGS="$CFLAGS -nostdinc ${SDK_C_INCLUDE}" 1.6637 + 1.6638 + CPP="$CPP -nostdinc ${SDK_C_INCLUDE}" 1.6639 + 1.6640 + 1.6641 + HOST_DARWIN_MAJOR=`echo "$build_os" | sed -E -e 's/^darwin([0-9]+).*$/\1/'` 1.6642 + 1.6643 + if test "$HOST_DARWIN_MAJOR" -lt 9 ; then 1.6644 + MACOS_SDK_LIBS="-L${MACOS_SDK_DIR}/usr/lib/gcc/darwin -L${MACOS_SDK_DIR}/usr/lib/gcc/darwin/${GCC_VERSION_FULL} -L${MACOS_SDK_DIR}/usr/lib ${SDK_C_FRAMEWORK}" 1.6645 + else 1.6646 + MACOS_SDK_LIBS="-Wl,-syslibroot,${MACOS_SDK_DIR}" 1.6647 + fi 1.6648 + 1.6649 + LDFLAGS="${MACOS_SDK_LIBS} $LDFLAGS" 1.6650 + export NEXT_ROOT=$MACOS_SDK_DIR 1.6651 + 1.6652 + if test -n "$CROSS_COMPILE" ; then 1.6653 + HOST_CC="NEXT_ROOT= $HOST_CC" 1.6654 + HOST_CXX="NEXT_ROOT= $HOST_CXX" 1.6655 + fi 1.6656 + else 1.6657 + CFLAGS="$CFLAGS -isysroot ${MACOS_SDK_DIR}" 1.6658 + 1.6659 + CPP="$CPP -isysroot ${MACOS_SDK_DIR}" 1.6660 + 1.6661 + if test "$GCC_VERSION_FULL" != "4.0.0" ; then 1.6662 + LDFLAGS="$LDFLAGS -isysroot ${MACOS_SDK_DIR}" 1.6663 + else 1.6664 + LDFLAGS="$LDFLAGS -Wl,-syslibroot,${MACOS_SDK_DIR}" 1.6665 + fi 1.6666 + fi 1.6667 + fi 1.6668 + fi 1.6669 + ;; 1.6670 + 1.6671 +*-dgux*) 1.6672 + $as_echo "#define XP_UNIX 1" >>confdefs.h 1.6673 + 1.6674 + $as_echo "#define _PR_LOCAL_THREADS_ONLY 1" >>confdefs.h 1.6675 + 1.6676 + $as_echo "#define SVR4 1" >>confdefs.h 1.6677 + 1.6678 + $as_echo "#define SYSV 1" >>confdefs.h 1.6679 + 1.6680 + $as_echo "#define DGUX 1" >>confdefs.h 1.6681 + 1.6682 + $as_echo "#define _DGUX_SOURCE 1" >>confdefs.h 1.6683 + 1.6684 + $as_echo "#define _POSIX4A_DRAFT6_SOURCE 1" >>confdefs.h 1.6685 + 1.6686 + DSO_LDOPTS=-G 1.6687 + _OPTIMIZE_FLAGS=-O2 1.6688 + _DEBUG_FLAGS= 1.6689 + MDCPUCFG_H=_dgux.cfg 1.6690 + PR_MD_CSRCS=dgux.c 1.6691 + ;; 1.6692 + 1.6693 +*-freebsd*) 1.6694 + if test -z "$USE_NSPR_THREADS"; then 1.6695 + USE_PTHREADS=1 1.6696 + fi 1.6697 + $as_echo "#define XP_UNIX 1" >>confdefs.h 1.6698 + 1.6699 + $as_echo "#define FREEBSD 1" >>confdefs.h 1.6700 + 1.6701 + $as_echo "#define HAVE_BSD_FLOCK 1" >>confdefs.h 1.6702 + 1.6703 + $as_echo "#define HAVE_SOCKLEN_T 1" >>confdefs.h 1.6704 + 1.6705 + CFLAGS="$CFLAGS $(DSO_CFLAGS) -ansi -Wall" 1.6706 + MOZ_OBJFORMAT=`test -x /usr/bin/objformat && /usr/bin/objformat || echo elf` 1.6707 + if test "$MOZ_OBJFORMAT" = "elf"; then 1.6708 + DLL_SUFFIX=so 1.6709 + else 1.6710 + DLL_SUFFIX=so.1.0 1.6711 + fi 1.6712 + MKSHLIB='$(CC) $(DSO_LDOPTS) -o $@' 1.6713 + DSO_CFLAGS=-fPIC 1.6714 + DSO_LDOPTS='-shared -Wl,-soname -Wl,$(notdir $@)' 1.6715 + MDCPUCFG_H=_freebsd.cfg 1.6716 + PR_MD_CSRCS=freebsd.c 1.6717 + ;; 1.6718 + 1.6719 +*-hpux*) 1.6720 + $as_echo "#define XP_UNIX 1" >>confdefs.h 1.6721 + 1.6722 + $as_echo "#define HPUX 1" >>confdefs.h 1.6723 + 1.6724 + $as_echo "#define _HPUX_SOURCE 1" >>confdefs.h 1.6725 + 1.6726 + # OSF1 and HPUX report the POLLHUP event for a socket when the 1.6727 + # shutdown(SHUT_WR) operation is called for the remote end, even though 1.6728 + # the socket is still writeable. Use select(), instead of poll(), to 1.6729 + # workaround this problem. 1.6730 + $as_echo "#define _PR_POLL_WITH_SELECT 1" >>confdefs.h 1.6731 + 1.6732 + $as_echo "#define _USE_BIG_FDS 1" >>confdefs.h 1.6733 + 1.6734 + DSO_LDOPTS='-b +h $(notdir $@)' 1.6735 + PR_MD_CSRCS=hpux.c 1.6736 + if test "$OS_TEST" = "ia64"; then 1.6737 + DLL_SUFFIX=so 1.6738 + DSO_LDOPTS="$DSO_LDOPTS +b '\$\$ORIGIN'" 1.6739 + CPU_ARCH_TAG=_$OS_TEST 1.6740 + if test -z "$USE_64"; then 1.6741 + COMPILER_TAG=_32 1.6742 + fi 1.6743 + PR_MD_ASFILES=os_HPUX_ia64.s 1.6744 + else 1.6745 + $as_echo "#define hppa 1" >>confdefs.h 1.6746 + 1.6747 + DLL_SUFFIX=sl 1.6748 + PR_MD_ASFILES=os_HPUX.s 1.6749 + fi 1.6750 + if test -n "$USE_64"; then 1.6751 + MDCPUCFG_H=_hpux64.cfg 1.6752 + else 1.6753 + MDCPUCFG_H=_hpux32.cfg 1.6754 + fi 1.6755 + if test -z "$GNU_CC"; then 1.6756 + CC="$CC -Ae" 1.6757 + CXX="$CXX -ext" 1.6758 + DSO_CFLAGS=+Z 1.6759 + else 1.6760 + DSO_CFLAGS=-fPIC 1.6761 + ASFLAGS="$ASFLAGS -x assembler-with-cpp" 1.6762 + fi 1.6763 + 1.6764 + if test -n "$MOZILLA_CLIENT"; then 1.6765 + DEFAULT_IMPL_STRATEGY=_EMU 1.6766 + fi 1.6767 + 1.6768 + if echo "$OS_RELEASE" | grep ^A.09 >/dev/null; then 1.6769 + $as_echo "#define _PR_NEED_H_ERRNO 1" >>confdefs.h 1.6770 + 1.6771 + $as_echo "#define HPUX9 1" >>confdefs.h 1.6772 + 1.6773 + DEFAULT_IMPL_STRATEGY=_EMU 1.6774 + USE_NSPR_THREADS=1 1.6775 + fi 1.6776 + 1.6777 + if echo "$OS_RELEASE" | egrep '^(A.09|B.10)' >/dev/null; then 1.6778 + $as_echo "#define _PR_NO_LARGE_FILES 1" >>confdefs.h 1.6779 + 1.6780 + fi 1.6781 + 1.6782 + if echo "$OS_RELEASE" | egrep '^(B.10.10|B.10.20)' >/dev/null; then 1.6783 + $as_echo "#define _PR_NEED_H_ERRNO 1" >>confdefs.h 1.6784 + 1.6785 + fi 1.6786 + 1.6787 + if echo "$OS_RELEASE" | egrep '^(B.10.10|B.10.20)' >/dev/null; then 1.6788 + $as_echo "#define HAVE_INT_LOCALTIME_R 1" >>confdefs.h 1.6789 + 1.6790 + fi 1.6791 + 1.6792 + if echo "$OS_RELEASE" | egrep '^(B.10.30|B.11)' >/dev/null; then 1.6793 + $as_echo "#define HAVE_POINTER_LOCALTIME_R 1" >>confdefs.h 1.6794 + 1.6795 + fi 1.6796 + 1.6797 + # HP-UX 11i v2 (B.11.23) or higher 1.6798 + 1.6799 + case "$OS_RELEASE" in 1.6800 + [C-Z]*|B.[2-9]*|B.1[2-9]*|B.11.[3-9]*|B.11.2[3-9]*) 1.6801 + USE_IPV6=1 1.6802 + ;; 1.6803 + esac 1.6804 + 1.6805 + 1.6806 + if test "$OS_RELEASE" = "B.10.01"; then 1.6807 + $as_echo "#define HPUX10 1" >>confdefs.h 1.6808 + 1.6809 + DEFAULT_IMPL_STRATEGY=_EMU 1.6810 + fi 1.6811 + 1.6812 + if test "$OS_RELEASE" = "B.10.10"; then 1.6813 + $as_echo "#define HPUX10 1" >>confdefs.h 1.6814 + 1.6815 + $as_echo "#define HPUX10_10 1" >>confdefs.h 1.6816 + 1.6817 + DEFAULT_IMPL_STRATEGY=_PTH 1.6818 + fi 1.6819 + 1.6820 + if test "$OS_RELEASE" = "B.10.20"; then 1.6821 + $as_echo "#define HPUX10 1" >>confdefs.h 1.6822 + 1.6823 + $as_echo "#define HPUX10_20 1" >>confdefs.h 1.6824 + 1.6825 + if test -z "$GNU_CC"; then 1.6826 + CFLAGS="$CFLAGS +DAportable +DS1.1" 1.6827 + CXXFLAGS="$CXXFLAGS +DAportable +DS1.1" 1.6828 + fi 1.6829 + DEFAULT_IMPL_STRATEGY=_PTH 1.6830 + fi 1.6831 + 1.6832 + if test "$OS_RELEASE" = "B.10.30"; then 1.6833 + $as_echo "#define HPUX10 1" >>confdefs.h 1.6834 + 1.6835 + $as_echo "#define HPUX10_30 1" >>confdefs.h 1.6836 + 1.6837 + if test -z "$GNU_CC"; then 1.6838 + CFLAGS="$CFLAGS +DAportable +DS1.1" 1.6839 + CXXFLAGS="$CXXFLAGS +DAportable +DS1.1" 1.6840 + fi 1.6841 + DEFAULT_IMPL_STRATEGY=_PTH 1.6842 + fi 1.6843 + 1.6844 + if echo "$OS_RELEASE" | grep ^B.11 >/dev/null; then 1.6845 + $as_echo "#define HPUX10 1" >>confdefs.h 1.6846 + 1.6847 + $as_echo "#define HPUX11 1" >>confdefs.h 1.6848 + 1.6849 + $as_echo "#define _LARGEFILE64_SOURCE 1" >>confdefs.h 1.6850 + 1.6851 + $as_echo "#define _PR_HAVE_OFF64_T 1" >>confdefs.h 1.6852 + 1.6853 + $as_echo "#define HAVE_FCNTL_FILE_LOCKING 1" >>confdefs.h 1.6854 + 1.6855 + if test -z "$GNU_CC"; then 1.6856 + if test -z "$USE_64"; then 1.6857 + if test "$OS_TEST" = "ia64"; then 1.6858 + CFLAGS="$CFLAGS +DD32" 1.6859 + CXXFLAGS="$CXXFLAGS +DD32" 1.6860 + else 1.6861 + CFLAGS="$CFLAGS +DAportable +DS2.0" 1.6862 + CXXFLAGS="$CXXFLAGS +DAportable +DS2.0" 1.6863 + fi 1.6864 + else 1.6865 + if test "$OS_TEST" = "ia64"; then 1.6866 + CFLAGS="$CFLAGS +DD64" 1.6867 + CXXFLAGS="$CXXFLAGS +DD64" 1.6868 + else 1.6869 + CFLAGS="$CFLAGS +DA2.0W +DS2.0" 1.6870 + CXXFLAGS="$CXXFLAGS +DA2.0W +DS2.0" 1.6871 + fi 1.6872 + fi 1.6873 + fi 1.6874 + DEFAULT_IMPL_STRATEGY=_PTH 1.6875 + fi 1.6876 + 1.6877 + if test "$DEFAULT_IMPL_STRATEGY" = "_EMU"; then 1.6878 + USE_NSPR_THREADS=1 1.6879 + USE_PTHREADS= 1.6880 + USE_USER_PTHREADS= 1.6881 + elif test "$DEFAULT_IMPL_STRATEGY" = "_PTH"; then 1.6882 + USE_PTHREADS=1 1.6883 + if test "$USE_NSPR_THREADS"; then 1.6884 + USE_PTHREADS= 1.6885 + fi 1.6886 + if test "$USE_USER_PTHREADS"; then 1.6887 + USE_PTHREADS= 1.6888 + fi 1.6889 + fi 1.6890 + ;; 1.6891 + 1.6892 +*-irix*) 1.6893 + $as_echo "#define XP_UNIX 1" >>confdefs.h 1.6894 + 1.6895 + $as_echo "#define IRIX 1" >>confdefs.h 1.6896 + 1.6897 + $as_echo "#define SVR4 1" >>confdefs.h 1.6898 + 1.6899 + $as_echo "#define _SGI_MP_SOURCE 1" >>confdefs.h 1.6900 + 1.6901 + $as_echo "#define HAVE_FCNTL_FILE_LOCKING 1" >>confdefs.h 1.6902 + 1.6903 + PR_MD_CSRCS=irix.c 1.6904 + PR_MD_ASFILES=os_Irix.s 1.6905 + MKSHLIB='$(LD) $(DSO_LDOPTS) -rdata_shared -shared -soname $(notdir $@) -o $@' 1.6906 + STRIP="$STRIP -f" 1.6907 + RESOLVE_LINK_SYMBOLS=1 1.6908 + if test -n "$USE_64"; then 1.6909 + MDCPUCFG_H=_irix64.cfg 1.6910 + else 1.6911 + MDCPUCFG_H=_irix32.cfg 1.6912 + fi 1.6913 + case "${target_os}" in 1.6914 + irix6*) 1.6915 + $as_echo "#define IRIX6 1" >>confdefs.h 1.6916 + 1.6917 + USE_PTHREADS=1 1.6918 + USE_N32=1 1.6919 + COMPILER_TAG=_n32 1.6920 + IMPL_STRATEGY=_PTH 1.6921 + ;; 1.6922 + irix5*) 1.6923 + $as_echo "#define IRIX5 1" >>confdefs.h 1.6924 + 1.6925 + USE_NSPR_THREADS=1 1.6926 + ;; 1.6927 + *) 1.6928 + USE_PTHREADS=1 1.6929 + USE_N32=1 1.6930 + ;; 1.6931 + esac 1.6932 + if test "$GNU_CC"; then 1.6933 + AS='$(CC) -Wp,-P -x assembler-with-cpp -D_ASM -mips2 $(INCLUDES)' 1.6934 + CFLAGS="$CFLAGS -Wall -Wno-format" 1.6935 + _OPTIMIZE_FLAGS="-O6" 1.6936 + else 1.6937 + if test -n "$USE_N32"; then 1.6938 + AS='as -D_ASM $(INCLUDES) -n32' 1.6939 + else 1.6940 + AS='as -D_ASM $(INCLUDES)' 1.6941 + fi 1.6942 + CFLAGS="$CFLAGS -fullwarn -xansi" 1.6943 + if test "$USE_N32"; then 1.6944 + _OPTIMIZE_FLAGS="-O -OPT:Olimit=4000" 1.6945 + else 1.6946 + _OPTIMIZE_FLAGS="-O -Olimit 4000" 1.6947 + fi 1.6948 + if test "$USE_MDUPDATE"; then 1.6949 + CFLAGS="$CFLAGS -MDupdate \$(DEPENDENCIES)" 1.6950 + fi 1.6951 + case "${target}" in 1.6952 + *-irix6.*) 1.6953 + CFLAGS="$CFLAGS -multigot" 1.6954 + DSO_LDOPTS="-no_unresolved" 1.6955 + if test "$USE_N32"; then 1.6956 + CFLAGS="$CFLAGS -n32 -woff 1209" 1.6957 + DSO_LDOPTS="$DSO_LDOPTS -n32" 1.6958 + else 1.6959 + if test "$USE_64"; then 1.6960 + CFLAGS="$CFLAGS -64" 1.6961 + else 1.6962 + CFLAGS="$CFLAGS -32" 1.6963 + fi 1.6964 + fi 1.6965 + ;; 1.6966 + *) 1.6967 + CFLAGS="$CFLAGS -xgot" 1.6968 + ;; 1.6969 + esac 1.6970 + fi 1.6971 + if test "${target_os}" = "irix5.3"; then 1.6972 + $as_echo "#define IRIX5_3 1" >>confdefs.h 1.6973 + 1.6974 + fi 1.6975 + case "${target_os}" in 1.6976 + irix6.5) 1.6977 + if test -z "$GNU_CC"; then 1.6978 + CFLAGS="$CFLAGS -mips3" 1.6979 + fi 1.6980 + $as_echo "#define _PR_HAVE_GETPROTO_R 1" >>confdefs.h 1.6981 + 1.6982 + $as_echo "#define _PR_HAVE_GETPROTO_R_POINTER 1" >>confdefs.h 1.6983 + 1.6984 + $as_echo "#define _PR_HAVE_SGI_PRDA_PROCMASK 1" >>confdefs.h 1.6985 + 1.6986 + ;; 1.6987 + irix5*) 1.6988 + ;; 1.6989 + *) 1.6990 + $as_echo "#define _PR_HAVE_SGI_PRDA_PROCMASK 1" >>confdefs.h 1.6991 + 1.6992 + ;; 1.6993 + esac 1.6994 + ;; 1.6995 + 1.6996 +*-linux*|*-gnu*|*-k*bsd*-gnu|*-android*|*-linuxandroid*) 1.6997 + if test -z "$USE_NSPR_THREADS"; then 1.6998 + USE_PTHREADS=1 1.6999 + IMPL_STRATEGY=_PTH 1.7000 + fi 1.7001 + $as_echo "#define XP_UNIX 1" >>confdefs.h 1.7002 + 1.7003 + $as_echo "#define _GNU_SOURCE 1" >>confdefs.h 1.7004 + 1.7005 + $as_echo "#define HAVE_FCNTL_FILE_LOCKING 1" >>confdefs.h 1.7006 + 1.7007 + case "${target}" in 1.7008 + *-android*|*-linuxandroid*) 1.7009 + OS_TARGET=Android 1.7010 + $as_echo "#define LINUX 1" >>confdefs.h 1.7011 + 1.7012 + ;; 1.7013 + *-linux*) 1.7014 + $as_echo "#define LINUX 1" >>confdefs.h 1.7015 + 1.7016 + ;; 1.7017 + esac 1.7018 + CFLAGS="$CFLAGS -Wall" 1.7019 + CXXFLAGS="$CXXFLAGS -Wall" 1.7020 + MDCPUCFG_H=_linux.cfg 1.7021 + PR_MD_CSRCS=linux.c 1.7022 + MKSHLIB='$(CC) $(DSO_LDOPTS) -o $@' 1.7023 + DSO_CFLAGS=-fPIC 1.7024 + DSO_LDOPTS='-shared -Wl,-soname -Wl,$(notdir $@)' 1.7025 + _OPTIMIZE_FLAGS=-O2 1.7026 + _DEBUG_FLAGS="-g -fno-inline" # most people on linux use gcc/gdb, and that 1.7027 + # combo is not yet good at debugging inlined 1.7028 + # functions (even when using DWARF2 as the 1.7029 + # debugging format) 1.7030 + COMPILER_TAG=_glibc 1.7031 + if echo "$OS_TEST" | grep -c 86 >/dev/null; then 1.7032 + CPU_ARCH=x86 1.7033 + else 1.7034 + CPU_ARCH=$OS_TEST 1.7035 + fi 1.7036 + CPU_ARCH_TAG=_${CPU_ARCH} 1.7037 + case "${target_cpu}" in 1.7038 + alpha) 1.7039 + $as_echo "#define _ALPHA_ 1" >>confdefs.h 1.7040 + 1.7041 + $as_echo "#define __alpha 1" >>confdefs.h 1.7042 + 1.7043 + CFLAGS="$CFLAGS -mieee" 1.7044 + CXXFLAGS="$CXXFLAGS -mieee" 1.7045 + ;; 1.7046 + i*86) 1.7047 + $as_echo "#define i386 1" >>confdefs.h 1.7048 + 1.7049 + PR_MD_ASFILES=os_Linux_x86.s 1.7050 + ;; 1.7051 + ia64) 1.7052 + PR_MD_ASFILES=os_Linux_ia64.s 1.7053 + ;; 1.7054 + x86_64) 1.7055 + if test -n "$USE_64"; then 1.7056 + PR_MD_ASFILES=os_Linux_x86_64.s 1.7057 + elif test -n "$USE_X32"; then 1.7058 + PR_MD_ASFILES=os_Linux_x86_64.s 1.7059 + CC="$CC -mx32" 1.7060 + CXX="$CXX -mx32" 1.7061 + else 1.7062 + $as_echo "#define i386 1" >>confdefs.h 1.7063 + 1.7064 + PR_MD_ASFILES=os_Linux_x86.s 1.7065 + CC="$CC -m32" 1.7066 + CXX="$CXX -m32" 1.7067 + fi 1.7068 + ;; 1.7069 + ppc|powerpc) 1.7070 + PR_MD_ASFILES=os_Linux_ppc.s 1.7071 + ;; 1.7072 + powerpc64) 1.7073 + if test -n "$USE_64"; then 1.7074 + CC="$CC -m64" 1.7075 + CXX="$CXX -m64" 1.7076 + else 1.7077 + PR_MD_ASFILES=os_Linux_ppc.s 1.7078 + fi 1.7079 + ;; 1.7080 + m68k) 1.7081 + CFLAGS="$CFLAGS -m68020-60" 1.7082 + CXXFLAGS="$CXXFLAGS -m68020-60" 1.7083 + ;; 1.7084 + esac 1.7085 + ;; 1.7086 + 1.7087 +*-mingw*|*-msys*|*-cygwin*|*-mks*) 1.7088 + $as_echo "#define XP_PC 1" >>confdefs.h 1.7089 + 1.7090 + $as_echo "#define WIN32 1" >>confdefs.h 1.7091 + 1.7092 + PR_MD_ARCH_DIR=windows 1.7093 + RESOLVE_LINK_SYMBOLS=1 1.7094 + 1.7095 + if test -n "$GNU_CC"; then 1.7096 + CC="$CC -mwindows" 1.7097 + CXX="$CXX -mwindows" 1.7098 + DLL_SUFFIX=dll 1.7099 + MKSHLIB='$(CC) -shared -Wl,--export-all-symbols -Wl,--out-implib -Wl,$(IMPORT_LIBRARY) $(DLLBASE) -o $(subst $(OBJDIR)/,,$(SHARED_LIBRARY))' 1.7100 + RC=$WINDRES 1.7101 + # Use temp file for windres (bug 213281) 1.7102 + RCFLAGS='-O coff --use-temp-file' 1.7103 + else 1.7104 + CC=cl 1.7105 + CXX=cl 1.7106 + LD=link 1.7107 + AR='lib -NOLOGO -OUT:"$@"' 1.7108 + AR_FLAGS= 1.7109 + RANLIB='echo not_ranlib' 1.7110 + STRIP='echo not_strip' 1.7111 + RC=rc.exe 1.7112 + GARBAGE='$(OBJDIR)/vc20.pdb $(OBJDIR)/vc40.pdb' 1.7113 + OBJ_SUFFIX=obj 1.7114 + LIB_SUFFIX=lib 1.7115 + DLL_SUFFIX=dll 1.7116 + 1.7117 + # Determine compiler version 1.7118 + 1.7119 + _MSVC_VER_FILTER='s|.* \([0-9]\+\.[0-9]\+\.[0-9]\+\(\.[0-9]\+\)\?\).*|\1|p' 1.7120 + 1.7121 + CC_VERSION=`"${CC}" -v 2>&1 | sed -ne "$_MSVC_VER_FILTER"` 1.7122 + _CC_MAJOR_VERSION=`echo ${CC_VERSION} | awk -F\. '{ print $1 }'` 1.7123 + _CC_MINOR_VERSION=`echo ${CC_VERSION} | awk -F\. '{ print $2 }'` 1.7124 + _CC_RELEASE=`echo ${CC_VERSION} | awk -F\. '{ print $3 }'` 1.7125 + _CC_BUILD=`echo ${CC_VERSION} | awk -F\. '{ print $4 }'` 1.7126 + MSC_VER=${_CC_MAJOR_VERSION}${_CC_MINOR_VERSION} 1.7127 + 1.7128 + if test "$_CC_MAJOR_VERSION" -eq "14"; then 1.7129 + if test $_CC_RELEASE -gt 50727; then 1.7130 + _USE_DYNAMICBASE=1 1.7131 + elif test $_CC_BUILD -ge 762; then 1.7132 + _USE_DYNAMICBASE=1 1.7133 + fi 1.7134 + $as_echo "#define _CRT_SECURE_NO_DEPRECATE 1" >>confdefs.h 1.7135 + 1.7136 + $as_echo "#define _CRT_NONSTDC_NO_DEPRECATE 1" >>confdefs.h 1.7137 + 1.7138 + elif test $_CC_MAJOR_VERSION -ge 15; then 1.7139 + _USE_DYNAMICBASE=1 1.7140 + $as_echo "#define _CRT_SECURE_NO_WARNINGS 1" >>confdefs.h 1.7141 + 1.7142 + $as_echo "#define _CRT_NONSTDC_NO_WARNINGS 1" >>confdefs.h 1.7143 + 1.7144 + fi 1.7145 + 1.7146 + if test -n "$_USE_DYNAMICBASE"; then 1.7147 + DLLFLAGS="$DLLFLAGS -DYNAMICBASE" 1.7148 + fi 1.7149 + 1.7150 + # Ensure that mt is Microsoft (R) Manifest Tool and not magnetic 1.7151 + # tape manipulation utility (or something else) 1.7152 + if test "$MSC_VER" -ge "1400"; then 1.7153 + 1.7154 + _MSMT_VER_FILTER='s|.* \([0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\).*|\1|p' 1.7155 + 1.7156 + 1.7157 + MSMT_TOOL=`mt 2>&1|grep 'Microsoft (R) Manifest Tool'` 1.7158 + if test -n "$MSMT_TOOL"; then 1.7159 + MSMANIFEST_TOOL_VERSION=`echo ${MSMT_TOOL}|sed -ne "$_MSMT_VER_FILTER"` 1.7160 + if test -z "$MSMANIFEST_TOOL_VERSION"; then 1.7161 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unknown version of the Microsoft (R) Manifest Tool." >&5 1.7162 +$as_echo "$as_me: WARNING: Unknown version of the Microsoft (R) Manifest Tool." >&2;} 1.7163 + fi 1.7164 + MT=mt 1.7165 + unset MSMT_TOOL 1.7166 + else 1.7167 + as_fn_error $? "Microsoft (R) Manifest Tool must be in your \$PATH." "$LINENO" 5 1.7168 + fi 1.7169 + fi 1.7170 + 1.7171 + CFLAGS="$CFLAGS -W3 -nologo -GF -Gy" 1.7172 + DLLFLAGS="$DLLFLAGS -OUT:\"\$@\"" 1.7173 + _DEBUG_FLAGS=-Zi 1.7174 + _OPTIMIZE_FLAGS=-O2 1.7175 + 1.7176 + PROFILE_GEN_CFLAGS="-GL" 1.7177 + PROFILE_GEN_LDFLAGS="-LTCG:PGINSTRUMENT" 1.7178 + PROFILE_USE_CFLAGS="-GL -wd4624 -wd4952" 1.7179 + PROFILE_USE_LDFLAGS="-LTCG:PGUPDATE" 1.7180 + 1.7181 + if test "$MSC_VER" -ge "1800"; then 1.7182 + CFLAGS="$CFLAGS -FS" 1.7183 + PROFILE_GEN_CFLAGS="$PROFILE_GEN_CFLAGS -Gw" 1.7184 + PROFILE_USE_CFLAGS="$PROFILE_USE_CFLAGS -Gw" 1.7185 + fi 1.7186 + 1.7187 + if test -z "$MOZ_OPTIMIZE"; then 1.7188 + CFLAGS="$CFLAGS -Od" 1.7189 + fi 1.7190 + 1.7191 + if test "$USE_DEBUG_RTL" = 1; then 1.7192 + CFLAGS="$CFLAGS -MDd" 1.7193 + else 1.7194 + CFLAGS="$CFLAGS -MD" 1.7195 + fi 1.7196 + 1.7197 + if test -n "$MOZ_DEBUG"; then 1.7198 + $as_echo "#define _DEBUG 1" >>confdefs.h 1.7199 + 1.7200 + else 1.7201 + DEFINES="$DEFINES -U_DEBUG" 1.7202 + fi 1.7203 + 1.7204 + if test -n "$MOZ_DEBUG_SYMBOLS"; then 1.7205 + if test -n "$MOZ_OPTIMIZE"; then 1.7206 + DLLFLAGS="$DLLFLAGS -DEBUG -OPT:REF" 1.7207 + LDFLAGS="$LDFLAGS -DEBUG -OPT:REF" 1.7208 + else 1.7209 + DLLFLAGS="$DLLFLAGS -DEBUG" 1.7210 + LDFLAGS="$LDFLAGS -DEBUG" 1.7211 + fi 1.7212 + fi 1.7213 + 1.7214 + OS_DLLFLAGS="-nologo -DLL -SUBSYSTEM:WINDOWS" 1.7215 + if test "$MSC_VER" -le "1200" -a -z "$MOZ_DEBUG_SYMBOLS"; then 1.7216 + OS_DLLFLAGS="$OS_DLLFLAGS -PDB:NONE" 1.7217 + fi 1.7218 + 1.7219 + if test "$OS_TARGET" = "WINNT"; then 1.7220 + CFLAGS="$CFLAGS -GT" 1.7221 + LIBNSPR='$(dist_libdir)/libnspr$(MOD_MAJOR_VERSION).$(LIB_SUFFIX)' 1.7222 + LIBPLC='$(dist_libdir)/libplc$(MOD_MAJOR_VERSION).$(LIB_SUFFIX)' 1.7223 + else 1.7224 + LIBNSPR='$(dist_libdir)/nspr$(MOD_MAJOR_VERSION).$(LIB_SUFFIX)' 1.7225 + LIBPLC='$(dist_libdir)/plc$(MOD_MAJOR_VERSION).$(LIB_SUFFIX)' 1.7226 + fi 1.7227 + fi # GNU_CC 1.7228 + 1.7229 + if test -n "$USE_STATIC_TLS"; then 1.7230 + $as_echo "#define _PR_USE_STATIC_TLS 1" >>confdefs.h 1.7231 + 1.7232 + fi 1.7233 + 1.7234 + if test "$OS_TARGET" = "WINNT"; then 1.7235 + $as_echo "#define WINNT 1" >>confdefs.h 1.7236 + 1.7237 + else 1.7238 + $as_echo "#define WIN95 1" >>confdefs.h 1.7239 + 1.7240 + # undefine WINNT as some versions of mingw gcc define it by default 1.7241 + DEFINES="$DEFINES -UWINNT" 1.7242 + $as_echo "#define _PR_GLOBAL_THREADS_ONLY 1" >>confdefs.h 1.7243 + 1.7244 + fi 1.7245 + 1.7246 + if test "$CPU_ARCH" = "x86"; then 1.7247 + CPU_ARCH_TAG= 1.7248 + else 1.7249 + CPU_ARCH_TAG=$CPU_ARCH 1.7250 + fi 1.7251 + 1.7252 + if test "$USE_DEBUG_RTL" = 1; then 1.7253 + OBJDIR_SUFFIX=OBJD 1.7254 + fi 1.7255 + 1.7256 + case "$OS_TARGET" in 1.7257 + WINNT) 1.7258 + MDCPUCFG_H=_winnt.cfg 1.7259 + ;; 1.7260 + WIN95) 1.7261 + MDCPUCFG_H=_win95.cfg 1.7262 + ;; 1.7263 + *) 1.7264 + as_fn_error $? "Missing OS_TARGET for ${target}. Use --enable-win32-target to set." "$LINENO" 5 1.7265 + ;; 1.7266 + esac 1.7267 + 1.7268 + case "$target_cpu" in 1.7269 + i*86) 1.7270 + if test -n "$USE_64"; then 1.7271 + $as_echo "#define _AMD64_ 1" >>confdefs.h 1.7272 + 1.7273 + else 1.7274 + $as_echo "#define _X86_ 1" >>confdefs.h 1.7275 + 1.7276 + fi 1.7277 + ;; 1.7278 + x86_64) 1.7279 + $as_echo "#define _AMD64_ 1" >>confdefs.h 1.7280 + 1.7281 + USE_64=1 1.7282 + ;; 1.7283 + ia64) 1.7284 + $as_echo "#define _IA64_ 1" >>confdefs.h 1.7285 + 1.7286 + USE_64=1 1.7287 + ;; 1.7288 + *) 1.7289 + $as_echo "#define _CPU_ARCH_NOT_DEFINED 1" >>confdefs.h 1.7290 + 1.7291 + ;; 1.7292 + esac 1.7293 + ;; 1.7294 + 1.7295 +*-netbsd*) 1.7296 + $as_echo "#define XP_UNIX 1" >>confdefs.h 1.7297 + 1.7298 + $as_echo "#define NETBSD 1" >>confdefs.h 1.7299 + 1.7300 + $as_echo "#define HAVE_BSD_FLOCK 1" >>confdefs.h 1.7301 + 1.7302 + if test -z "$USE_NSPR_THREADS"; then 1.7303 + USE_PTHREADS=1 1.7304 + fi 1.7305 + MDCPUCFG_H=_netbsd.cfg 1.7306 + PR_MD_CSRCS=netbsd.c 1.7307 + 1.7308 + DSO_CFLAGS='-fPIC -DPIC' 1.7309 + CFLAGS="$CFLAGS -ansi -Wall" 1.7310 + CXXFLAGS="$CXXFLAGS -ansi -Wall" 1.7311 + MKSHLIB='$(CC) -o $@ $(DSO_LDOPTS)' 1.7312 + 1.7313 + if test -z "$OBJECT_FMT"; then 1.7314 + if echo __ELF__ | ${CC-cc} -E - | grep -q __ELF__ 2>/dev/null; then 1.7315 + OBJECT_FMT=a.out 1.7316 + DLL_SUFFIX=so.1.0 1.7317 + DSO_LDOPTS='-shared' 1.7318 + else 1.7319 + OBJECT_FMT=ELF 1.7320 + DLL_SUFFIX=so 1.7321 + DSO_LDOPTS='-shared -Wl,-soname,$(notdir $@)' 1.7322 + fi 1.7323 + fi 1.7324 + 1.7325 + if test "$LIBRUNPATH"; then 1.7326 + DSO_LDOPTS="$DSO_LDOPTS -Wl,-R$LIBRUNPATH" 1.7327 + fi 1.7328 + ;; 1.7329 + 1.7330 +*-nto*) 1.7331 + $as_echo "#define XP_UNIX 1" >>confdefs.h 1.7332 + 1.7333 + $as_echo "#define NTO 1" >>confdefs.h 1.7334 + 1.7335 + $as_echo "#define _QNX_SOURCE 1" >>confdefs.h 1.7336 + 1.7337 + $as_echo "#define HAVE_POINTER_LOCALTIME_R 1" >>confdefs.h 1.7338 + 1.7339 + MDCPUCFG_H=_nto.cfg 1.7340 + PR_MD_CSRCS=nto.c 1.7341 + MKSHLIB='$(CC) $(DSO_LDOPTS) -Wl,-soname -Wl,$(notdir $@) -o $@' 1.7342 + DSO_CFLAGS=-fPIC 1.7343 + DSO_LDOPTS=-shared 1.7344 + OS_LIBS="$OS_LIBS -lsocket" 1.7345 + _OPTIMIZE_FLAGS="-O1" 1.7346 + _DEBUG_FLAGS="-gstabs" 1.7347 + ;; 1.7348 + 1.7349 +*-openbsd*) 1.7350 + $as_echo "#define XP_UNIX 1" >>confdefs.h 1.7351 + 1.7352 + $as_echo "#define OPENBSD 1" >>confdefs.h 1.7353 + 1.7354 + $as_echo "#define HAVE_BSD_FLOCK 1" >>confdefs.h 1.7355 + 1.7356 + $as_echo "#define HAVE_SOCKLEN_T 1" >>confdefs.h 1.7357 + 1.7358 + CFLAGS="$CFLAGS -ansi -Wall" 1.7359 + CXXFLAGS="$CXXFLAGS -ansi -Wall" 1.7360 + DLL_SUFFIX=so.1.0 1.7361 + DSO_CFLAGS=-fPIC 1.7362 + MDCPUCFG_H=_openbsd.cfg 1.7363 + PR_MD_CSRCS=openbsd.c 1.7364 + OS_LIBS="-lc" 1.7365 + if test -z "$USE_NSPR_THREADS"; then 1.7366 + USE_PTHREADS=1 1.7367 + fi 1.7368 + DSO_LDOPTS='-shared -fPIC' 1.7369 + MKSHLIB='$(CC) $(DSO_LDOPTS) -o $@' 1.7370 + ;; 1.7371 + 1.7372 +*-osf*) 1.7373 + SHELL_OVERRIDE="SHELL = /usr/bin/ksh" 1.7374 + $as_echo "#define XP_UNIX 1" >>confdefs.h 1.7375 + 1.7376 + $as_echo "#define OSF1 1" >>confdefs.h 1.7377 + 1.7378 + $as_echo "#define _REENTRANT 1" >>confdefs.h 1.7379 + 1.7380 + # OSF1 and HPUX report the POLLHUP event for a socket when the 1.7381 + # shutdown(SHUT_WR) operation is called for the remote end, even though 1.7382 + # the socket is still writeable. Use select(), instead of poll(), to 1.7383 + # workaround this problem. 1.7384 + $as_echo "#define _PR_POLL_WITH_SELECT 1" >>confdefs.h 1.7385 + 1.7386 + 1.7387 + if echo "$OS_RELEASE" | egrep -c '(V2.0|V3.2)' 2>/dev/null ; then 1.7388 + USE_NSPR_THREADS=1 1.7389 + fi 1.7390 + 1.7391 + if test -z "$GNU_CC"; then 1.7392 + CC="$CC -std1 -ieee_with_inexact" 1.7393 + if test "$OS_RELEASE" != "V2.0"; then 1.7394 + CC="$CC -readonly_strings" 1.7395 + fi 1.7396 + _OPTIMIZE_FLAGS="$_OPTIMIZE_FLAGS -Olimit 4000" 1.7397 + ac_fn_c_check_header_mongrel "$LINENO" "machine/builtins.h" "ac_cv_header_machine_builtins_h" "$ac_includes_default" 1.7398 +if test "x$ac_cv_header_machine_builtins_h" = xyes; then : 1.7399 + $as_echo "#define OSF1_HAVE_MACHINE_BUILTINS_H 1" >>confdefs.h 1.7400 + 1.7401 +fi 1.7402 + 1.7403 + 1.7404 + else 1.7405 + CFLAGS="$CFLAGS -mieee" 1.7406 + CXXFLAGS="$CXXFLAGS -mieee" 1.7407 + fi 1.7408 + 1.7409 + if echo $OS_RELEASE | egrep -c '(V2.0|V3.2)' 2>/dev/null; then 1.7410 + $as_echo "#define HAVE_INT_LOCALTIME_R 1" >>confdefs.h 1.7411 + 1.7412 + else 1.7413 + $as_echo "#define HAVE_FCNTL_FILE_LOCKING 1" >>confdefs.h 1.7414 + 1.7415 + $as_echo "#define HAVE_POINTER_LOCALTIME_R 1" >>confdefs.h 1.7416 + 1.7417 + fi 1.7418 + if echo $OS_RELEASE | grep -c V4.0 >/dev/null; then 1.7419 + $as_echo "#define OSF1V4_MAP_PRIVATE_BUG 1" >>confdefs.h 1.7420 + 1.7421 + fi 1.7422 + DSO_LDOPTS='-shared -all -expect_unresolved "*" -soname $(notdir $@)' 1.7423 + MDCPUCFG_H=_osf1.cfg 1.7424 + PR_MD_CSRCS=osf1.c 1.7425 + ;; 1.7426 + 1.7427 +*-qnx*) 1.7428 + $as_echo "#define XP_UNIX 1" >>confdefs.h 1.7429 + 1.7430 + $as_echo "#define QNX 1" >>confdefs.h 1.7431 + 1.7432 + $as_echo "#define _PR_NEED_H_ERRNO 1" >>confdefs.h 1.7433 + 1.7434 + USE_NSPR_THREADS=1 1.7435 + MDCPUCFG_H=_qnx.cfg 1.7436 + PR_MD_CSRCS=qnx.c 1.7437 + ;; 1.7438 + 1.7439 +*-riscos*) 1.7440 + $as_echo "#define XP_UNIX 1" >>confdefs.h 1.7441 + 1.7442 + $as_echo "#define RISCOS 1" >>confdefs.h 1.7443 + 1.7444 + $as_echo "#define _PR_NEED_H_ERRNO 1" >>confdefs.h 1.7445 + 1.7446 + USE_PTHREADS=1 1.7447 + MDCPUCFG_H=_riscos.cfg 1.7448 + PR_MD_CSRCS=riscos.c 1.7449 + DSO_CFLAGS=-fPIC 1.7450 + DSO_LDOPTS='-shared -Wl,-soname -Wl,$(notdir $@)' 1.7451 + MKSHLIB='$(CC) $(DSO_LDOPTS) -o $@' 1.7452 + ;; 1.7453 + 1.7454 +*-*-sco*) 1.7455 + $as_echo "#define XP_UNIX 1" >>confdefs.h 1.7456 + 1.7457 + $as_echo "#define SCO 1" >>confdefs.h 1.7458 + 1.7459 + $as_echo "#define sco 1" >>confdefs.h 1.7460 + 1.7461 + $as_echo "#define SYSV 1" >>confdefs.h 1.7462 + 1.7463 + $as_echo "#define _SVID3 1" >>confdefs.h 1.7464 + 1.7465 + $as_echo "#define _PR_NEED_H_ERRNO 1" >>confdefs.h 1.7466 + 1.7467 + CC='cc -b elf -KPIC' 1.7468 + CXX='$(NSDEPTH)/build/hcpp CC +.cpp +w' 1.7469 + USE_NSPR_THREADS=1 1.7470 + CPU_ARCH=x86 1.7471 + DSO_LDOPTS='-b elf -G' 1.7472 + MDCPUCFG_H=_scoos.cfg 1.7473 + PR_MD_SRCS=scoos.c 1.7474 + ;; 1.7475 + 1.7476 +*-solaris*) 1.7477 + if test -z "$USE_NSPR_THREADS"; then 1.7478 + USE_PTHREADS=1 1.7479 + fi 1.7480 + $as_echo "#define XP_UNIX 1" >>confdefs.h 1.7481 + 1.7482 + $as_echo "#define SVR4 1" >>confdefs.h 1.7483 + 1.7484 + $as_echo "#define SYSV 1" >>confdefs.h 1.7485 + 1.7486 + $as_echo "#define __svr4 1" >>confdefs.h 1.7487 + 1.7488 + $as_echo "#define __svr4__ 1" >>confdefs.h 1.7489 + 1.7490 + $as_echo "#define SOLARIS 1" >>confdefs.h 1.7491 + 1.7492 + $as_echo "#define HAVE_FCNTL_FILE_LOCKING 1" >>confdefs.h 1.7493 + 1.7494 + CPU_ARCH=`uname -p` 1.7495 + MDCPUCFG_H=_solaris.cfg 1.7496 + PR_MD_CSRCS=solaris.c 1.7497 + LD=/usr/ccs/bin/ld 1.7498 + MKSHLIB='$(CC) $(DSO_LDOPTS) -o $@' 1.7499 + RESOLVE_LINK_SYMBOLS=1 1.7500 + case "${OS_RELEASE}" in 1.7501 + 5.8|5.9) 1.7502 + ;; 1.7503 + *) 1.7504 + # It is safe to use the -Bdirect linker flag on Solaris 10 or later. 1.7505 + USE_B_DIRECT=1 1.7506 + ;; 1.7507 + esac 1.7508 + if test -n "$GNU_CC"; then 1.7509 + DSO_CFLAGS=-fPIC 1.7510 + if `$CC -print-prog-name=ld` -v 2>&1 | grep -c GNU >/dev/null; then 1.7511 + GCC_USE_GNU_LD=1 1.7512 + fi 1.7513 + DSO_LDOPTS='-shared -Wl,-h,$(notdir $@),-z,combreloc,-z,defs,-z,ignore' 1.7514 + if test -n "$USE_B_DIRECT"; then 1.7515 + DSO_LDOPTS="$DSO_LDOPTS,-Bdirect" 1.7516 + fi 1.7517 + else 1.7518 + DSO_CFLAGS=-KPIC 1.7519 + DSO_LDOPTS='-G -h $(notdir $@) -z combreloc -z defs -z ignore' 1.7520 + if test -n "$USE_B_DIRECT"; then 1.7521 + DSO_LDOPTS="$DSO_LDOPTS -Bdirect" 1.7522 + fi 1.7523 + fi 1.7524 + if test -n "$GNU_CC"; then 1.7525 + CFLAGS="$CFLAGS -Wall" 1.7526 + CXXFLAGS="$CXXFLAGS -Wall" 1.7527 + if test -n "$USE_MDUPDATE"; then 1.7528 + CFLAGS="$CFLAGS -MDupdate \$(DEPENDENCIES)" 1.7529 + CXXFLAGS="$CXXFLAGS -MDupdate \$(DEPENDENCIES)" 1.7530 + fi 1.7531 + GCC_AS=`$CC -print-prog-name=as` 1.7532 + if test "`echo | $GCC_AS -v 2>&1 | grep -c GNU`" != "0"; then 1.7533 + GNU_AS=1 1.7534 + fi 1.7535 + else 1.7536 + CFLAGS="$CFLAGS -xstrconst" 1.7537 + CXXFLAGS="$CXXFLAGS -Qoption cg -xstrconst -features=tmplife" 1.7538 + if test -z "$MOZ_OPTIMIZE"; then 1.7539 + CFLAGS="$CFLAGS -xs" 1.7540 + CXXFLAGS="$CXXFLAGS -xs" 1.7541 + fi 1.7542 + _OPTIMIZE_FLAGS=-xO4 1.7543 + fi 1.7544 + if test -z "$GNU_AS"; then 1.7545 + ASFLAGS="$ASFLAGS -Wa,-P" 1.7546 + fi 1.7547 + if test -n "$USE_64"; then 1.7548 + if test -n "$GNU_CC"; then 1.7549 + CC="$CC -m64" 1.7550 + CXX="$CXX -m64" 1.7551 + else 1.7552 + if test "$OS_TEST" = "i86pc"; then 1.7553 + CC="$CC -xarch=amd64" 1.7554 + CXX="$CXX -xarch=amd64" 1.7555 + else 1.7556 + CC="$CC -xarch=v9" 1.7557 + CXX="$CXX -xarch=v9" 1.7558 + fi 1.7559 + fi 1.7560 + fi 1.7561 + if test "$OS_TEST" = "i86pc"; then 1.7562 + if test -z "$USE_64"; then 1.7563 + $as_echo "#define i386 1" >>confdefs.h 1.7564 + 1.7565 + fi 1.7566 + CPU_ARCH_TAG=_$OS_TEST 1.7567 + # The default debug format, DWARF (-g), is not supported by gcc 1.7568 + # on i386-ANY-sysv4/solaris, but the stabs format is. It is 1.7569 + # assumed that the Solaris assembler /usr/ccs/bin/as is used. 1.7570 + # If your gcc uses GNU as, you do not need the -Wa,-s option. 1.7571 + if test -n "$MOZ_DEBUG" && test -n "$GNU_CC"; then 1.7572 + _DEBUG_FLAGS=-gstabs 1.7573 + if test -z "$GNU_AS"; then 1.7574 + _DEBUG_FLAGS="$_DEBUG_FLAGS -Wa,-s" 1.7575 + fi 1.7576 + fi 1.7577 + fi 1.7578 + case "${target_os}" in 1.7579 + solaris2.3*) 1.7580 + $as_echo "#define _PR_NO_LARGE_FILES 1" >>confdefs.h 1.7581 + 1.7582 + ;; 1.7583 + solaris2.4*) 1.7584 + $as_echo "#define _PR_NO_LARGE_FILES 1" >>confdefs.h 1.7585 + 1.7586 + ;; 1.7587 + solaris2.5*) 1.7588 + $as_echo "#define SOLARIS2_5 1" >>confdefs.h 1.7589 + 1.7590 + ;; 1.7591 + *) 1.7592 + $as_echo "#define _PR_HAVE_OFF64_T 1" >>confdefs.h 1.7593 + 1.7594 + # The lfcompile64(5) man page on Solaris 2.6 says: 1.7595 + # For applications that do not wish to conform to the POSIX or 1.7596 + # X/Open specifications, the 64-bit transitional interfaces 1.7597 + # are available by default. No compile-time flags need to be 1.7598 + # set. 1.7599 + # But gcc 2.7.2.x fails to define _LARGEFILE64_SOURCE by default. 1.7600 + # The native compiler, gcc 2.8.x, and egcs don't have this problem. 1.7601 + if test -n "$GNU_CC"; then 1.7602 + $as_echo "#define _LARGEFILE64_SOURCE 1" >>confdefs.h 1.7603 + 1.7604 + fi 1.7605 + ;; 1.7606 + esac 1.7607 + case "${target_os}" in 1.7608 + solaris2.3*) 1.7609 + ;; 1.7610 + solaris2.4*) 1.7611 + ;; 1.7612 + solaris2.5*) 1.7613 + ;; 1.7614 + solaris2.6*) 1.7615 + ;; 1.7616 + solaris2.7*) 1.7617 + ;; 1.7618 + *) 1.7619 + # Solaris 8 or higher has IPv6. 1.7620 + $as_echo "#define _PR_INET6 1" >>confdefs.h 1.7621 + 1.7622 + ;; 1.7623 + esac 1.7624 + if test "$CPU_ARCH" = "sparc"; then 1.7625 + # 64-bit Solaris SPARC requires V9 architecture, so the following 1.7626 + # is not needed. 1.7627 + if test -z "$USE_64"; then 1.7628 + ULTRASPARC_LIBRARY=nspr_flt 1.7629 + fi 1.7630 + fi 1.7631 + # Purify requires that binaries linked against nspr also 1.7632 + # be linked against -lrt (or -lposix4) so add it to OS_LIBS 1.7633 + _rev=`uname -r` 1.7634 + _librt=`echo $_rev 5.6 | awk '{ if ($1 > $2) print "-lrt"; else print "-lposix4" }'` 1.7635 + OS_LIBS="$OS_LIBS $_librt" 1.7636 + ;; 1.7637 + 1.7638 +*-sco-sysv5*) 1.7639 + $as_echo "#define XP_UNIX 1" >>confdefs.h 1.7640 + 1.7641 + $as_echo "#define UNIXWARE 1" >>confdefs.h 1.7642 + 1.7643 + $as_echo "#define SVR4 1" >>confdefs.h 1.7644 + 1.7645 + $as_echo "#define SYSV 1" >>confdefs.h 1.7646 + 1.7647 + USE_NSPR_THREADS=1 1.7648 + if echo $OS_RELEASE | grep -c 2.1 2>/dev/null; then 1.7649 + $as_echo "#define _PR_NO_LARGE_FILES 1" >>confdefs.h 1.7650 + 1.7651 + CC='$(NSDEPTH)/build/hcc cc' 1.7652 + CXX='$(NSDEPTH)/build/hcpp CC' 1.7653 + MDCPUCFG_H=_unixware.cfg 1.7654 + else 1.7655 + $as_echo "#define _LARGEFILE64_SOURCE 1" >>confdefs.h 1.7656 + 1.7657 + $as_echo "#define _PR_HAVE_OFF64_T 1" >>confdefs.h 1.7658 + 1.7659 + $as_echo "#define _PR_HAVE_SOCKADDR_LEN 1" >>confdefs.h 1.7660 + 1.7661 + MDCPUCFG_H=_unixware7.cfg 1.7662 + fi 1.7663 + PR_MD_CSRCS=unixware.c 1.7664 + DSO_LDOPTS=-G 1.7665 + CPU_ARCH=x86 1.7666 + ;; 1.7667 + 1.7668 +*-symbian*) 1.7669 + 1.7670 +# Check whether --with-symbian-sdk was given. 1.7671 +if test "${with_symbian_sdk+set}" = set; then : 1.7672 + withval=$with_symbian_sdk; SYMBIAN_SDK_DIR=$withval 1.7673 +fi 1.7674 + 1.7675 + 1.7676 + echo ----------------------------------------------------------------------------- 1.7677 + echo Building with Symbian SDK in: $SYMBIAN_SDK_DIR 1.7678 + echo ----------------------------------------------------------------------------- 1.7679 + 1.7680 + $as_echo "#define XP_UNIX 1" >>confdefs.h 1.7681 + 1.7682 + $as_echo "#define SYMBIAN 1" >>confdefs.h 1.7683 + 1.7684 + $as_echo "#define __arm__ 1" >>confdefs.h 1.7685 + 1.7686 + $as_echo "#define __SYMBIAN32__ 1" >>confdefs.h 1.7687 + 1.7688 + $as_echo "#define _UNICODE 1" >>confdefs.h 1.7689 + 1.7690 + $as_echo "#define NDEBUG 1" >>confdefs.h 1.7691 + 1.7692 + $as_echo "#define __SUPPORT_CPP_EXCEPTIONS__ 1" >>confdefs.h 1.7693 + 1.7694 + $as_echo "#define MOZ_STDERR_TO_STDOUT 1" >>confdefs.h 1.7695 + 1.7696 + $as_echo "#define HAVE_FCNTL_FILE_LOCKING 1" >>confdefs.h 1.7697 + 1.7698 + $as_echo "#define HAVE_SOCKLEN_T 1" >>confdefs.h 1.7699 + 1.7700 + USE_PTHREADS=1 1.7701 + LIB_SUFFIX=lib 1.7702 + DLL_SUFFIX=dll 1.7703 + MKSHLIB= 1.7704 + DSO_LDOPTS= 1.7705 + DSO_CFLAGS= 1.7706 + VISIBILITY_FLAGS= 1.7707 + MDCPUCFG_H=_symbian.cfg 1.7708 + PR_MD_CSRCS=symbian.c 1.7709 + NSINSTALL=nsinstall 1.7710 + RANLIB='echo no ranlib ' 1.7711 + CPU_ARCH=ARM 1.7712 + OS_ARCH=SYMBIAN 1.7713 + OS_EXE_CFLAGS="$OS_EXE_CFLAGS -D__EXE__" 1.7714 + CFLAGS="$CFLAGS -MD -nostdinc" 1.7715 + SYMBIAN_SYS_INCLUDE="-I$SYMBIAN_SDK_DIR/Epoc32/include/variant -I$SYMBIAN_SDK_DIR/Epoc32/include -I$SYMBIAN_SDK_DIR/Epoc32/include/stdapis" 1.7716 + echo ------------------------------------------------------- 1.7717 + echo SYMBIAN_SYS_INCLUDE is: $SYMBIAN_SYS_INCLUDE 1.7718 + echo ------------------------------------------------------- 1.7719 + case "$OS_TARGET" in 1.7720 + WINSCW) 1.7721 + CC=mwccsym2.exe 1.7722 + CXX=mwccsym2.exe 1.7723 + LD=mwldsym2.exe 1.7724 + AR=mwldsym2.exe 1.7725 + WINSCW_LD_DIR="\$(SYMBIAN_SDK_DIR)/EPOC32/RELEASE/WINSCW/UDEB" 1.7726 + CFLAGS="$CFLAGS -O0 -inline off -wchar_t off -align 4 -warnings on -w nohidevirtual,nounusedexpr -msgstyle gcc -enum int -str pool -exc ms -trigraphs on -nostderr -gccdep -cwd source -i- -I\$(VPATH)" 1.7727 + SYMBIAN_SYS_INCLUDE="$SYMBIAN_SYS_INCLUDE -include Symbian_OS_v9.2.hrh" 1.7728 + AR_FLAGS="-library -msgstyle gcc -stdlib -subsystem windows -noimplib -o \$@" 1.7729 + $as_echo "#define _DEBUG 1" >>confdefs.h 1.7730 + 1.7731 + $as_echo "#define __CW32__ 1" >>confdefs.h 1.7732 + 1.7733 + $as_echo "#define __WINS__ 1" >>confdefs.h 1.7734 + 1.7735 + $as_echo "#define __WINSCW__ 1" >>confdefs.h 1.7736 + 1.7737 + DEFINES="$DEFINES -U_WIN32" 1.7738 + ;; 1.7739 + GCCE) 1.7740 + CFLAGS="$CFLAGS -Wall -Wno-unknown-pragmas -fexceptions -march=armv5t -mapcs -pipe -x c -msoft-float" 1.7741 + CXXFLAGS="$CXXFLAGS $CFLAGS -Wno-ctor-dtor-privacy" 1.7742 + SYMBIAN_SYS_INCLUDE="$SYMBIAN_SYS_INCLUDE -include $SYMBIAN_SDK_DIR/EPOC32/INCLUDE/GCCE/GCCE.h" 1.7743 + $as_echo "#define __GCCE__ 1" >>confdefs.h 1.7744 + 1.7745 + $as_echo "#define __EABI__ 1" >>confdefs.h 1.7746 + 1.7747 + DEFINES="$DEFINES -D__PRODUCT_INCLUDE__=$SYMBIAN_SDK_DIR/Epoc32/include/variant/Symbian_OS_v9.2.hrh" 1.7748 + ;; 1.7749 + *) 1.7750 + as_fn_error $? "Missing OS_TARGET for ${target}. Set --enable-symbian-target to with 'WINSCW' or 'GCCE'." "$LINENO" 5 1.7751 + ;; 1.7752 + esac 1.7753 + CFLAGS="$CFLAGS ${SYMBIAN_SYS_INCLUDE}" 1.7754 + ;; 1.7755 + 1.7756 +*-os2*) 1.7757 + $as_echo "#define XP_OS2 1" >>confdefs.h 1.7758 + 1.7759 + $as_echo "#define XP_PC 1" >>confdefs.h 1.7760 + 1.7761 + $as_echo "#define BSD_SELECT 1" >>confdefs.h 1.7762 + 1.7763 + $as_echo "#define TCPV40HDRS 1" >>confdefs.h 1.7764 + 1.7765 + LIB_SUFFIX=lib 1.7766 + DLL_SUFFIX=dll 1.7767 + RC=rc.exe 1.7768 + PR_MD_ARCH_DIR=os2 1.7769 + PROG_SUFFIX=.exe 1.7770 + NSINSTALL=nsinstall 1.7771 + MDCPUCFG_H=_os2.cfg 1.7772 + RESOLVE_LINK_SYMBOLS=1 1.7773 + 1.7774 + $as_echo "#define OS2 1" >>confdefs.h 1.7775 + 1.7776 + AR=emxomfar 1.7777 + AR_FLAGS='r $@' 1.7778 + CFLAGS="$CFLAGS -Wall -Zomf" 1.7779 + CXXFLAGS="$CFLAGS -Wall -Zomf" 1.7780 + MKSHLIB='$(CC) $(DSO_LDOPTS) -o $@' 1.7781 + DSO_CFLAGS= 1.7782 + DSO_LDOPTS='-Zomf -Zdll' 1.7783 + LDFLAGS='-Zmap' 1.7784 + _OPTIMIZE_FLAGS="-O2 -s" 1.7785 + _DEBUG_FLAGS="-g -fno-inline" 1.7786 + if test -n "$MOZ_OPTIMIZE"; then 1.7787 + DSO_LDOPTS="$DSO_LDOPTS -Zlinker /EXEPACK:2 -Zlinker /PACKCODE -Zlinker /PACKDATA" 1.7788 + fi 1.7789 + IMPLIB='emximp -o' 1.7790 + FILTER='emxexp -o' 1.7791 + if test -n "$MOZ_OS2_HIGH_MEMORY"; then 1.7792 + LDFLAGS="$LDFLAGS -Zhigh-mem" 1.7793 + $as_echo "#define MOZ_OS2_HIGH_MEMORY 1" >>confdefs.h 1.7794 + 1.7795 + fi 1.7796 + 1.7797 + # GCC for OS/2 currently predefines these, but we don't want them 1.7798 + DEFINES="$DEFINES -Uunix -U__unix -U__unix__" 1.7799 + ;; 1.7800 + 1.7801 +*) 1.7802 + $as_echo "#define XP_UNIX 1" >>confdefs.h 1.7803 + 1.7804 + ;; 1.7805 + 1.7806 +esac 1.7807 + 1.7808 +if test -z "$SKIP_LIBRARY_CHECKS"; then 1.7809 + 1.7810 + 1.7811 + 1.7812 +case $target in 1.7813 +*-darwin*|*-beos*|*-os2*) 1.7814 + ;; 1.7815 +*) 1.7816 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 1.7817 +$as_echo_n "checking for dlopen in -ldl... " >&6; } 1.7818 +if ${ac_cv_lib_dl_dlopen+:} false; then : 1.7819 + $as_echo_n "(cached) " >&6 1.7820 +else 1.7821 + ac_check_lib_save_LIBS=$LIBS 1.7822 +LIBS="-ldl $LIBS" 1.7823 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.7824 +/* end confdefs.h. */ 1.7825 + 1.7826 +/* Override any GCC internal prototype to avoid an error. 1.7827 + Use char because int might match the return type of a GCC 1.7828 + builtin and then its argument prototype would still apply. */ 1.7829 +#ifdef __cplusplus 1.7830 +extern "C" 1.7831 +#endif 1.7832 +char dlopen (); 1.7833 +int 1.7834 +main () 1.7835 +{ 1.7836 +return dlopen (); 1.7837 + ; 1.7838 + return 0; 1.7839 +} 1.7840 +_ACEOF 1.7841 +if ac_fn_c_try_link "$LINENO"; then : 1.7842 + ac_cv_lib_dl_dlopen=yes 1.7843 +else 1.7844 + ac_cv_lib_dl_dlopen=no 1.7845 +fi 1.7846 +rm -f core conftest.err conftest.$ac_objext \ 1.7847 + conftest$ac_exeext conftest.$ac_ext 1.7848 +LIBS=$ac_check_lib_save_LIBS 1.7849 +fi 1.7850 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 1.7851 +$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 1.7852 +if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 1.7853 + ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default" 1.7854 +if test "x$ac_cv_header_dlfcn_h" = xyes; then : 1.7855 + OS_LIBS="-ldl $OS_LIBS" 1.7856 +fi 1.7857 + 1.7858 + 1.7859 +fi 1.7860 + 1.7861 + ;; 1.7862 +esac 1.7863 + 1.7864 + 1.7865 + 1.7866 + 1.7867 +if test $ac_cv_c_compiler_gnu = yes; then 1.7868 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5 1.7869 +$as_echo_n "checking whether $CC needs -traditional... " >&6; } 1.7870 +if ${ac_cv_prog_gcc_traditional+:} false; then : 1.7871 + $as_echo_n "(cached) " >&6 1.7872 +else 1.7873 + ac_pattern="Autoconf.*'x'" 1.7874 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.7875 +/* end confdefs.h. */ 1.7876 +#include <sgtty.h> 1.7877 +Autoconf TIOCGETP 1.7878 +_ACEOF 1.7879 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 1.7880 + $EGREP "$ac_pattern" >/dev/null 2>&1; then : 1.7881 + ac_cv_prog_gcc_traditional=yes 1.7882 +else 1.7883 + ac_cv_prog_gcc_traditional=no 1.7884 +fi 1.7885 +rm -f conftest* 1.7886 + 1.7887 + 1.7888 + if test $ac_cv_prog_gcc_traditional = no; then 1.7889 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1.7890 +/* end confdefs.h. */ 1.7891 +#include <termio.h> 1.7892 +Autoconf TCGETA 1.7893 +_ACEOF 1.7894 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 1.7895 + $EGREP "$ac_pattern" >/dev/null 2>&1; then : 1.7896 + ac_cv_prog_gcc_traditional=yes 1.7897 +fi 1.7898 +rm -f conftest* 1.7899 + 1.7900 + fi 1.7901 +fi 1.7902 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5 1.7903 +$as_echo "$ac_cv_prog_gcc_traditional" >&6; } 1.7904 + if test $ac_cv_prog_gcc_traditional = yes; then 1.7905 + CC="$CC -traditional" 1.7906 + fi 1.7907 +fi 1.7908 + 1.7909 +_SAVE_LIBS="$LIBS" 1.7910 +LIBS="$LIBS $OS_LIBS" 1.7911 +for ac_func in dladdr gettid lchown setpriority strerror syscall 1.7912 +do : 1.7913 + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 1.7914 +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 1.7915 +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 1.7916 + cat >>confdefs.h <<_ACEOF 1.7917 +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 1.7918 +_ACEOF 1.7919 + 1.7920 +fi 1.7921 +done 1.7922 + 1.7923 +LIBS="$_SAVE_LIBS" 1.7924 + 1.7925 + 1.7926 + 1.7927 +# Check whether --with-ccache was given. 1.7928 +if test "${with_ccache+set}" = set; then : 1.7929 + withval=$with_ccache; CCACHE=$withval 1.7930 +else 1.7931 + CCACHE="no" 1.7932 +fi 1.7933 + 1.7934 + 1.7935 +if test "$CCACHE" != "no"; then 1.7936 + if test -n "$CCACHE"; then 1.7937 + if test "$CCACHE" = "yes"; then 1.7938 + CCACHE= 1.7939 + else 1.7940 + if test ! -e "$CCACHE"; then 1.7941 + as_fn_error $? "$CCACHE not found" "$LINENO" 5 1.7942 + fi 1.7943 + fi 1.7944 + fi 1.7945 + for ac_prog in $CCACHE ccache 1.7946 +do 1.7947 + # Extract the first word of "$ac_prog", so it can be a program name with args. 1.7948 +set dummy $ac_prog; ac_word=$2 1.7949 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 1.7950 +$as_echo_n "checking for $ac_word... " >&6; } 1.7951 +if ${ac_cv_path_CCACHE+:} false; then : 1.7952 + $as_echo_n "(cached) " >&6 1.7953 +else 1.7954 + case $CCACHE in 1.7955 + [\\/]* | ?:[\\/]*) 1.7956 + ac_cv_path_CCACHE="$CCACHE" # Let the user override the test with a path. 1.7957 + ;; 1.7958 + *) 1.7959 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1.7960 +for as_dir in $PATH 1.7961 +do 1.7962 + IFS=$as_save_IFS 1.7963 + test -z "$as_dir" && as_dir=. 1.7964 + for ac_exec_ext in '' $ac_executable_extensions; do 1.7965 + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1.7966 + ac_cv_path_CCACHE="$as_dir/$ac_word$ac_exec_ext" 1.7967 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1.7968 + break 2 1.7969 + fi 1.7970 +done 1.7971 + done 1.7972 +IFS=$as_save_IFS 1.7973 + 1.7974 + ;; 1.7975 +esac 1.7976 +fi 1.7977 +CCACHE=$ac_cv_path_CCACHE 1.7978 +if test -n "$CCACHE"; then 1.7979 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CCACHE" >&5 1.7980 +$as_echo "$CCACHE" >&6; } 1.7981 +else 1.7982 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1.7983 +$as_echo "no" >&6; } 1.7984 +fi 1.7985 + 1.7986 + 1.7987 + test -n "$CCACHE" && break 1.7988 +done 1.7989 + 1.7990 + if test -z "$CCACHE" -o "$CCACHE" = ":"; then 1.7991 + as_fn_error $? "ccache not found" "$LINENO" 5 1.7992 + elif test -x "$CCACHE"; then 1.7993 + CC="$CCACHE $CC" 1.7994 + CXX="$CCACHE $CXX" 1.7995 + else 1.7996 + as_fn_error $? "$CCACHE is not executable" "$LINENO" 5 1.7997 + fi 1.7998 +fi 1.7999 + 1.8000 +# Check whether --enable-strip was given. 1.8001 +if test "${enable_strip+set}" = set; then : 1.8002 + enableval=$enable_strip; if test "$enableval" = "yes"; then 1.8003 + ENABLE_STRIP=1 1.8004 + fi 1.8005 +fi 1.8006 + 1.8007 + 1.8008 +case "${target_os}" in 1.8009 +hpux*) 1.8010 +if test -z "$GNU_CC"; then 1.8011 + 1.8012 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for +Olit support" >&5 1.8013 +$as_echo_n "checking for +Olit support... " >&6; } 1.8014 +if ${ac_cv_hpux_usable_olit_option+:} false; then : 1.8015 + $as_echo_n "(cached) " >&6 1.8016 +else 1.8017 + ac_cv_hpux_usable_olit_option=no 1.8018 + rm -f conftest* 1.8019 + echo 'int main() { return 0; }' | cat > conftest.c 1.8020 + ${CC-cc} ${CFLAGS} +Olit=all -o conftest conftest.c > conftest.out 2>&1 1.8021 + if test $? -eq 0; then 1.8022 + if test -z "`egrep -i '(unrecognize|unknown)' conftest.out`"; then 1.8023 + ac_cv_hpux_usable_olit_option=yes 1.8024 + fi 1.8025 + fi 1.8026 + rm -f conftest* 1.8027 + 1.8028 +fi 1.8029 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_hpux_usable_olit_option" >&5 1.8030 +$as_echo "$ac_cv_hpux_usable_olit_option" >&6; } 1.8031 + 1.8032 + if test "$ac_cv_hpux_usable_olit_option" = "yes"; then 1.8033 + CFLAGS="$CFLAGS +Olit=all" 1.8034 + CXXFLAGS="$CXXFLAGS +Olit=all" 1.8035 + else 1.8036 + CFLAGS="$CFLAGS +ESlit" 1.8037 + CXXFLAGS="$CXXFLAGS +ESlit" 1.8038 + fi 1.8039 +fi 1.8040 +;; 1.8041 +esac 1.8042 + 1.8043 + 1.8044 + 1.8045 +case "$target_os" in 1.8046 +darwin*) 1.8047 + _HAVE_PTHREADS=1 1.8048 + ;; 1.8049 +*) 1.8050 + 1.8051 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthreads" >&5 1.8052 +$as_echo_n "checking for pthread_create in -lpthreads... " >&6; } 1.8053 +echo " 1.8054 + #include <pthread.h> 1.8055 + void *foo(void *v) { return v; } 1.8056 + int main() { 1.8057 + pthread_t t; 1.8058 + if (!pthread_create(&t, 0, &foo, 0)) { 1.8059 + pthread_join(t, 0); 1.8060 + } 1.8061 + return 0; 1.8062 + }" > dummy.c ; 1.8063 + echo "${CC-cc} -o dummy${ac_exeext} dummy.c $CFLAGS $CPPFLAGS -lpthreads $LDFLAGS $LIBS" 1>&5; 1.8064 + ${CC-cc} -o dummy${ac_exeext} dummy.c $CFLAGS $CPPFLAGS -lpthreads $LDFLAGS $LIBS 2>&5; 1.8065 + _res=$? ; 1.8066 + rm -f dummy.c dummy${ac_exeext} ; 1.8067 + if test "$_res" = "0"; then 1.8068 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 1.8069 +$as_echo "yes" >&6; } 1.8070 + _HAVE_PTHREADS=1 _PTHREAD_LDFLAGS="-lpthreads" 1.8071 + else 1.8072 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1.8073 +$as_echo "no" >&6; } 1.8074 + 1.8075 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5 1.8076 +$as_echo_n "checking for pthread_create in -lpthread... " >&6; } 1.8077 +echo " 1.8078 + #include <pthread.h> 1.8079 + void *foo(void *v) { return v; } 1.8080 + int main() { 1.8081 + pthread_t t; 1.8082 + if (!pthread_create(&t, 0, &foo, 0)) { 1.8083 + pthread_join(t, 0); 1.8084 + } 1.8085 + return 0; 1.8086 + }" > dummy.c ; 1.8087 + echo "${CC-cc} -o dummy${ac_exeext} dummy.c $CFLAGS $CPPFLAGS -lpthread $LDFLAGS $LIBS" 1>&5; 1.8088 + ${CC-cc} -o dummy${ac_exeext} dummy.c $CFLAGS $CPPFLAGS -lpthread $LDFLAGS $LIBS 2>&5; 1.8089 + _res=$? ; 1.8090 + rm -f dummy.c dummy${ac_exeext} ; 1.8091 + if test "$_res" = "0"; then 1.8092 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 1.8093 +$as_echo "yes" >&6; } 1.8094 + _HAVE_PTHREADS=1 _PTHREAD_LDFLAGS="-lpthread" 1.8095 + else 1.8096 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1.8097 +$as_echo "no" >&6; } 1.8098 + 1.8099 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lc_r" >&5 1.8100 +$as_echo_n "checking for pthread_create in -lc_r... " >&6; } 1.8101 +echo " 1.8102 + #include <pthread.h> 1.8103 + void *foo(void *v) { return v; } 1.8104 + int main() { 1.8105 + pthread_t t; 1.8106 + if (!pthread_create(&t, 0, &foo, 0)) { 1.8107 + pthread_join(t, 0); 1.8108 + } 1.8109 + return 0; 1.8110 + }" > dummy.c ; 1.8111 + echo "${CC-cc} -o dummy${ac_exeext} dummy.c $CFLAGS $CPPFLAGS -lc_r $LDFLAGS $LIBS" 1>&5; 1.8112 + ${CC-cc} -o dummy${ac_exeext} dummy.c $CFLAGS $CPPFLAGS -lc_r $LDFLAGS $LIBS 2>&5; 1.8113 + _res=$? ; 1.8114 + rm -f dummy.c dummy${ac_exeext} ; 1.8115 + if test "$_res" = "0"; then 1.8116 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 1.8117 +$as_echo "yes" >&6; } 1.8118 + _HAVE_PTHREADS=1 _PTHREAD_LDFLAGS="-lc_r" 1.8119 + else 1.8120 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1.8121 +$as_echo "no" >&6; } 1.8122 + 1.8123 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lc" >&5 1.8124 +$as_echo_n "checking for pthread_create in -lc... " >&6; } 1.8125 +echo " 1.8126 + #include <pthread.h> 1.8127 + void *foo(void *v) { return v; } 1.8128 + int main() { 1.8129 + pthread_t t; 1.8130 + if (!pthread_create(&t, 0, &foo, 0)) { 1.8131 + pthread_join(t, 0); 1.8132 + } 1.8133 + return 0; 1.8134 + }" > dummy.c ; 1.8135 + echo "${CC-cc} -o dummy${ac_exeext} dummy.c $CFLAGS $CPPFLAGS -lc $LDFLAGS $LIBS" 1>&5; 1.8136 + ${CC-cc} -o dummy${ac_exeext} dummy.c $CFLAGS $CPPFLAGS -lc $LDFLAGS $LIBS 2>&5; 1.8137 + _res=$? ; 1.8138 + rm -f dummy.c dummy${ac_exeext} ; 1.8139 + if test "$_res" = "0"; then 1.8140 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 1.8141 +$as_echo "yes" >&6; } 1.8142 + _HAVE_PTHREADS=1 1.8143 + 1.8144 + else 1.8145 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1.8146 +$as_echo "no" >&6; } 1.8147 + 1.8148 + fi 1.8149 + 1.8150 + 1.8151 + fi 1.8152 + 1.8153 + 1.8154 + fi 1.8155 + 1.8156 + 1.8157 + fi 1.8158 + 1.8159 + ;; 1.8160 +esac 1.8161 + 1.8162 + 1.8163 +# Check whether --with-pthreads was given. 1.8164 +if test "${with_pthreads+set}" = set; then : 1.8165 + withval=$with_pthreads; if test "$withval" = "yes"; then 1.8166 + if test -n "$_HAVE_PTHREADS"; then 1.8167 + USE_PTHREADS=1 1.8168 + USE_USER_PTHREADS= 1.8169 + USE_NSPR_THREADS= 1.8170 + else 1.8171 + as_fn_error $? " --with-pthreads specified for a system without pthread support " "$LINENO" 5; 1.8172 + fi 1.8173 + else 1.8174 + USE_PTHREADS= 1.8175 + _PTHREAD_LDFLAGS= 1.8176 + fi 1.8177 +else 1.8178 + if test -n "$_HAVE_PTHREADS" && test -z "$USE_USER_PTHREADS" && test -z "$USE_NSPR_THREADS"; then 1.8179 + USE_PTHREADS=1 1.8180 + USE_USER_PTHREADS= 1.8181 + USE_NSPR_THREADS= 1.8182 + fi 1.8183 +fi 1.8184 + 1.8185 + 1.8186 +# Check whether --enable-user-pthreads was given. 1.8187 +if test "${enable_user_pthreads+set}" = set; then : 1.8188 + enableval=$enable_user_pthreads; if test "$enableval" = "yes"; then 1.8189 + if test -n "$_HAVE_PTHREADS"; then 1.8190 + USE_PTHREADS= 1.8191 + USE_USER_PTHREADS=1 1.8192 + USE_NSPR_THREADS= 1.8193 + else 1.8194 + as_fn_error $? " --enable-user-pthreads specified for a system without pthread support " "$LINENO" 5; 1.8195 + fi 1.8196 + fi 1.8197 +fi 1.8198 + 1.8199 + 1.8200 +# Check whether --enable-nspr-threads was given. 1.8201 +if test "${enable_nspr_threads+set}" = set; then : 1.8202 + enableval=$enable_nspr_threads; if test "$enableval" = "yes"; then 1.8203 + USE_PTHREADS= 1.8204 + USE_USER_PTHREADS= 1.8205 + USE_NSPR_THREADS=1 1.8206 + fi 1.8207 +fi 1.8208 + 1.8209 + 1.8210 +case "$target" in 1.8211 +*-beos*) 1.8212 + 1.8213 +# Check whether --with-bthreads was given. 1.8214 +if test "${with_bthreads+set}" = set; then : 1.8215 + withval=$with_bthreads; if test "$withval" = "yes"; then 1.8216 + USE_BTHREADS=1 1.8217 + USE_USER_PTHREADS= 1.8218 + USE_PTHREADS= 1.8219 + fi 1.8220 +fi 1.8221 + 1.8222 + ;; 1.8223 +esac 1.8224 + 1.8225 +fi # SKIP_LIBRARY_CHECKS 1.8226 + 1.8227 +# Check whether --enable-ipv6 was given. 1.8228 +if test "${enable_ipv6+set}" = set; then : 1.8229 + enableval=$enable_ipv6; if test "$enableval" = "yes"; then 1.8230 + USE_IPV6=1 1.8231 + else 1.8232 + USE_IPV6= 1.8233 + fi 1.8234 +fi 1.8235 + 1.8236 + 1.8237 +if test -n "$USE_PTHREADS"; then 1.8238 + rm -f conftest* 1.8239 + ac_cv_have_dash_pthread=no 1.8240 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC-cc} accepts -pthread" >&5 1.8241 +$as_echo_n "checking whether ${CC-cc} accepts -pthread... " >&6; } 1.8242 + echo 'int main() { return 0; }' | cat > conftest.c 1.8243 + ${CC-cc} -pthread -o conftest conftest.c > conftest.out 2>&1 1.8244 + if test $? -eq 0; then 1.8245 + if test -z "`egrep -i '(unrecognize|unknown)' conftest.out | grep pthread`" && test -z "`egrep -i '(error|incorrect)' conftest.out`" ; then 1.8246 + ac_cv_have_dash_pthread=yes 1.8247 + case "$target_os" in 1.8248 + freebsd*) 1.8249 +# Freebsd doesn't use -pthread for compiles, it uses them for linking 1.8250 + ;; 1.8251 + *) 1.8252 + CFLAGS="$CFLAGS -pthread" 1.8253 + CXXFLAGS="$CXXFLAGS -pthread" 1.8254 + ;; 1.8255 + esac 1.8256 + fi 1.8257 + fi 1.8258 + rm -f conftest* 1.8259 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_dash_pthread" >&5 1.8260 +$as_echo "$ac_cv_have_dash_pthread" >&6; } 1.8261 + 1.8262 + ac_cv_have_dash_pthreads=no 1.8263 + if test "$ac_cv_have_dash_pthread" = "no"; then 1.8264 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC-cc} accepts -pthreads" >&5 1.8265 +$as_echo_n "checking whether ${CC-cc} accepts -pthreads... " >&6; } 1.8266 + echo 'int main() { return 0; }' | cat > conftest.c 1.8267 + ${CC-cc} -pthreads -o conftest conftest.c > conftest.out 2>&1 1.8268 + if test $? -eq 0; then 1.8269 + if test -z "`egrep -i '(unrecognize|unknown)' conftest.out | grep pthreads`" && test -z "`egrep -i '(error|incorrect)' conftest.out`" ; then 1.8270 + ac_cv_have_dash_pthreads=yes 1.8271 + CFLAGS="$CFLAGS -pthreads" 1.8272 + CXXFLAGS="$CXXFLAGS -pthreads" 1.8273 + fi 1.8274 + fi 1.8275 + rm -f conftest* 1.8276 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_dash_pthreads" >&5 1.8277 +$as_echo "$ac_cv_have_dash_pthreads" >&6; } 1.8278 + fi 1.8279 + 1.8280 + case "$target" in 1.8281 + *-solaris*) 1.8282 + if test "$ac_cv_have_dash_pthreads" = "yes"; then 1.8283 + _PTHREAD_LDFLAGS= 1.8284 + fi 1.8285 + ;; 1.8286 + *-freebsd*) 1.8287 + $as_echo "#define _REENTRANT 1" >>confdefs.h 1.8288 + 1.8289 + $as_echo "#define _THREAD_SAFE 1" >>confdefs.h 1.8290 + 1.8291 + if test "$ac_cv_have_dash_pthread" = "yes"; then 1.8292 + _PTHREAD_LDFLAGS="-pthread" 1.8293 + else 1.8294 + _PTHREAD_LDFLAGS="-lc_r" 1.8295 + fi 1.8296 + ;; 1.8297 + *-netbsd*) 1.8298 + if test "$ac_cv_have_dash_pthread" = "yes"; then 1.8299 + _PTHREAD_LDFLAGS="-pthread" 1.8300 + fi 1.8301 + ;; 1.8302 + *-bsdi*) 1.8303 + $as_echo "#define _THREAD_SAFE 1" >>confdefs.h 1.8304 + 1.8305 + if test "$ac_cv_have_dash_pthread" = "yes"; then 1.8306 + _PTHREAD_LDFLAGS= 1.8307 + fi 1.8308 + ;; 1.8309 + *-openbsd*) 1.8310 + if test "$ac_cv_have_dash_pthread" = "yes"; then 1.8311 + _PTHREAD_LDFLAGS=-pthread 1.8312 + fi 1.8313 + ;; 1.8314 + *-linux*|*-gnu*|*-k*bsd*-gnu) 1.8315 + $as_echo "#define _REENTRANT 1" >>confdefs.h 1.8316 + 1.8317 + ;; 1.8318 + esac 1.8319 + 1.8320 +else 1.8321 + if test -n "$USE_USER_PTHREADS"; then 1.8322 + USE_PTHREADS= 1.8323 + USE_NSPR_THREADS= 1.8324 + else 1.8325 + _PTHREAD_LDFLAGS= 1.8326 + fi 1.8327 +fi 1.8328 + 1.8329 +case "$target" in 1.8330 +*-aix*) 1.8331 + if test -n "$USE_NSPR_THREADS"; then 1.8332 + $as_echo "#define _PR_LOCAL_THREADS_ONLY 1" >>confdefs.h 1.8333 + 1.8334 + fi 1.8335 + case "$target_os" in 1.8336 + aix4.1*) 1.8337 + if test -z "$USE_PTHREADS"; then 1.8338 + $as_echo "#define AIX_RENAME_SELECT 1" >>confdefs.h 1.8339 + 1.8340 + fi 1.8341 + ;; 1.8342 + aix4.2*) 1.8343 + if test -z "$USE_NSPR_THREADS"; then 1.8344 + $as_echo "#define HAVE_POINTER_LOCALTIME_R 1" >>confdefs.h 1.8345 + 1.8346 + fi 1.8347 + ;; 1.8348 + aix4.3*) 1.8349 + if test -z "$USE_NSPR_THREADS"; then 1.8350 + $as_echo "#define HAVE_POINTER_LOCALTIME_R 1" >>confdefs.h 1.8351 + 1.8352 + fi 1.8353 + if test -n "$USE_PTHREADS"; then 1.8354 + $as_echo "#define _PR_HAVE_THREADSAFE_GETHOST 1" >>confdefs.h 1.8355 + 1.8356 + fi 1.8357 + ;; 1.8358 + *) 1.8359 + if test -z "$USE_NSPR_THREADS"; then 1.8360 + $as_echo "#define HAVE_POINTER_LOCALTIME_R 1" >>confdefs.h 1.8361 + 1.8362 + fi 1.8363 + if test -n "$USE_PTHREADS"; then 1.8364 + $as_echo "#define _PR_HAVE_THREADSAFE_GETHOST 1" >>confdefs.h 1.8365 + 1.8366 + fi 1.8367 + ;; 1.8368 + esac 1.8369 + ;; 1.8370 +*-bsdi*) 1.8371 + if test -n "$USE_PTHREADS"; then 1.8372 + $as_echo "#define _PR_NEED_PTHREAD_INIT 1" >>confdefs.h 1.8373 + 1.8374 + fi 1.8375 + ;; 1.8376 +*-freebsd*) 1.8377 + if test -n "$USE_NSPR_THREADS"; then 1.8378 + $as_echo "#define _PR_LOCAL_THREADS_ONLY 1" >>confdefs.h 1.8379 + 1.8380 + fi 1.8381 + ;; 1.8382 +*-hpux*) 1.8383 + if test -n "$USE_NSPR_THREADS"; then 1.8384 + $as_echo "#define _PR_LOCAL_THREADS_ONLY 1" >>confdefs.h 1.8385 + 1.8386 + fi 1.8387 + if test "$USE_PTHREADS"; then 1.8388 + if echo "$OS_RELEASE" | egrep '^(B.10.10|B.10.20)' >/dev/null; then 1.8389 + $as_echo "#define _REENTRANT 1" >>confdefs.h 1.8390 + 1.8391 + $as_echo "#define _PR_DCETHREADS 1" >>confdefs.h 1.8392 + 1.8393 + else 1.8394 + cat >>confdefs.h <<_ACEOF 1.8395 +#define _POSIX_C_SOURCE 199506L 1.8396 +_ACEOF 1.8397 + 1.8398 + $as_echo "#define _PR_HAVE_THREADSAFE_GETHOST 1" >>confdefs.h 1.8399 + 1.8400 + fi 1.8401 + fi 1.8402 + if test "$USE_USER_PTHREADS"; then 1.8403 + cat >>confdefs.h <<_ACEOF 1.8404 +#define _POSIX_C_SOURCE 199506L 1.8405 +_ACEOF 1.8406 + 1.8407 + fi 1.8408 + ;; 1.8409 +*-irix*) 1.8410 + if test "${target_os}" = "irix6.5"; then 1.8411 + if test -n "$USE_PTHREADS"; then 1.8412 + $as_echo "#define _PR_HAVE_GETHOST_R 1" >>confdefs.h 1.8413 + 1.8414 + $as_echo "#define _PR_HAVE_GETHOST_R_POINTER 1" >>confdefs.h 1.8415 + 1.8416 + fi 1.8417 + fi 1.8418 + ;; 1.8419 +*-linux*|*-gnu*|*-k*bsd*-gnu) 1.8420 + if test -n "$USE_NSPR_THREADS"; then 1.8421 + $as_echo "#define _PR_LOCAL_THREADS_ONLY 1" >>confdefs.h 1.8422 + 1.8423 + fi 1.8424 + ;; 1.8425 +*-mingw*|*-msys*|*-cygwin*|*-mks*|*-os2*|*-beos*) 1.8426 + USE_PTHREADS= 1.8427 + _PTHREAD_LDFLAGS= 1.8428 + USE_USER_PTHREADS= 1.8429 + ;; 1.8430 +*-netbsd*|*-openbsd*) 1.8431 + if test -n "$USE_NSPR_THREADS"; then 1.8432 + $as_echo "#define _PR_LOCAL_THREADS_ONLY 1" >>confdefs.h 1.8433 + 1.8434 + fi 1.8435 + ;; 1.8436 +*-osf*) 1.8437 + if test -n "$USE_NSPR_THREADS"; then 1.8438 + $as_echo "#define _PR_LOCAL_THREADS_ONLY 1" >>confdefs.h 1.8439 + 1.8440 + fi 1.8441 + if test -n "$USE_PTHREADS"; then 1.8442 + if echo $OS_RELEASE | egrep -c '(V2.0|V3.2)' 2>/dev/null; then 1.8443 + : 1.8444 + else 1.8445 + $as_echo "#define _PR_HAVE_THREADSAFE_GETHOST 1" >>confdefs.h 1.8446 + 1.8447 + fi 1.8448 + fi 1.8449 + ;; 1.8450 +*-solaris*) 1.8451 + if test -n "$USE_NSPR_THREADS"; then 1.8452 + $as_echo "#define _PR_LOCAL_THREADS_ONLY 1" >>confdefs.h 1.8453 + 1.8454 + fi 1.8455 + if test -n "$USE_PTHREADS"; then 1.8456 + $as_echo "#define _REENTRANT 1" >>confdefs.h 1.8457 + 1.8458 + $as_echo "#define HAVE_POINTER_LOCALTIME_R 1" >>confdefs.h 1.8459 + 1.8460 + if test "$OS_TEST" = "i86pc"; then 1.8461 + if test -n "$USE_64"; then 1.8462 + PR_MD_ASFILES=os_SunOS_x86_64.s 1.8463 + else 1.8464 + PR_MD_ASFILES=os_SunOS_x86.s 1.8465 + fi 1.8466 + else 1.8467 + if test -n "$USE_64"; then 1.8468 + PR_MD_ASFILES=os_SunOS_sparcv9.s 1.8469 + fi 1.8470 + fi 1.8471 + fi 1.8472 + ;; 1.8473 +*-nto*) 1.8474 + if test -n "$USE_PTHREADS"; then 1.8475 + $as_echo "#define _PR_HAVE_GETHOST_R 1" >>confdefs.h 1.8476 + 1.8477 + $as_echo "#define _PR_HAVE_GETHOST_R_POINTER 1" >>confdefs.h 1.8478 + 1.8479 + fi 1.8480 + ;; 1.8481 +esac 1.8482 + 1.8483 +OS_LIBS="$_PTHREAD_LDFLAGS $OS_LIBS" 1.8484 + 1.8485 +if test -n "$_SAVE_OPTIMIZE_FLAGS"; then 1.8486 + _OPTIMIZE_FLAGS="$_SAVE_OPTIMIZE_FLAGS" 1.8487 +fi 1.8488 + 1.8489 +if test -n "$_SAVE_DEBUG_FLAGS"; then 1.8490 + _DEBUG_FLAGS="$_SAVE_DEBUG_FLAGS" 1.8491 +fi 1.8492 + 1.8493 +if test -n "$MOZ_OPTIMIZE"; then 1.8494 + CFLAGS="$CFLAGS $_OPTIMIZE_FLAGS" 1.8495 + CXXFLAGS="$CXXFLAGS $_OPTIMIZE_FLAGS" 1.8496 +fi 1.8497 + 1.8498 +if test -n "$MOZ_DEBUG_SYMBOLS"; then 1.8499 + CFLAGS="$CFLAGS $_DEBUG_FLAGS" 1.8500 + CXXFLAGS="$CXXFLAGS $_DEBUG_FLAGS" 1.8501 +fi 1.8502 + 1.8503 +if test -n "$MOZ_OPTIMIZE"; then 1.8504 + OBJDIR_TAG=_OPT 1.8505 +else 1.8506 + OBJDIR_TAG=_DBG 1.8507 +fi 1.8508 + 1.8509 +if test -n "$USE_64"; then 1.8510 + COMPILER_TAG=_64 1.8511 +fi 1.8512 + 1.8513 +RELEASE_OBJDIR_NAME="${OS_CONFIG}${CPU_ARCH_TAG}${COMPILER_TAG}${IMPL_STRATEGY}${OBJDIR_TAG}.${OBJDIR_SUFFIX}" 1.8514 + 1.8515 +case "$target_os" in 1.8516 +cygwin*|mks*) 1.8517 + CC="\$(CYGWIN_WRAPPER) $CC" 1.8518 + CXX="\$(CYGWIN_WRAPPER) $CXX" 1.8519 + RC="\$(CYGWIN_WRAPPER) $RC" 1.8520 + ;; 1.8521 +esac 1.8522 + 1.8523 +# Check whether --enable-wrap-malloc was given. 1.8524 +if test "${enable_wrap_malloc+set}" = set; then : 1.8525 + enableval=$enable_wrap_malloc; if test "$enableval" = "yes"; then 1.8526 + _WRAP_MALLOC=1 1.8527 + fi 1.8528 +fi 1.8529 + 1.8530 + 1.8531 +if test -n "$_WRAP_MALLOC"; then 1.8532 + if test -n "$GNU_CC"; then 1.8533 + WRAP_LDFLAGS="${WRAP_LDFLAGS} -Wl,--wrap=malloc,--wrap=calloc,--wrap=valloc,--wrap=free,--wrap=realloc,--wrap=memalign" 1.8534 + WRAP_LDFLAGS="${WRAP_LDFLAGS} -Wl,--wrap=__builtin_new,--wrap=__builtin_vec_new,--wrap=__builtin_delete,--wrap=__builtin_vec_delete" 1.8535 + WRAP_LDFLAGS="${WRAP_LDFLAGS} -Wl,--wrap=strdup,--wrap=strndup" 1.8536 + WRAP_LDFLAGS="${WRAP_LDFLAGS} -Wl,--wrap=posix_memalign,--wrap=malloc_usable_size" 1.8537 + else 1.8538 + as_fn_error $? "--enable-wrap-malloc is not supported for non-GNU toolchains" "$LINENO" 5 1.8539 + fi 1.8540 +fi 1.8541 + 1.8542 + 1.8543 +# Check whether --with-wrap-malloc was given. 1.8544 +if test "${with_wrap_malloc+set}" = set; then : 1.8545 + withval=$with_wrap_malloc; WRAP_LDFLAGS="${WRAP_LDFLAGS} $withval" 1.8546 +fi 1.8547 + 1.8548 + 1.8549 + 1.8550 + 1.8551 + 1.8552 + 1.8553 + 1.8554 + 1.8555 + 1.8556 + 1.8557 + 1.8558 + 1.8559 + 1.8560 + 1.8561 + 1.8562 + 1.8563 + 1.8564 + 1.8565 + 1.8566 + 1.8567 + 1.8568 + 1.8569 + 1.8570 + 1.8571 + 1.8572 + 1.8573 + 1.8574 + 1.8575 + 1.8576 + 1.8577 + 1.8578 + 1.8579 + 1.8580 + 1.8581 + 1.8582 + 1.8583 + 1.8584 + 1.8585 + 1.8586 + 1.8587 + 1.8588 + 1.8589 + 1.8590 + 1.8591 + 1.8592 + 1.8593 + 1.8594 + 1.8595 + 1.8596 + 1.8597 + 1.8598 + 1.8599 + 1.8600 + 1.8601 + 1.8602 + 1.8603 + 1.8604 + 1.8605 + 1.8606 + 1.8607 + 1.8608 + 1.8609 + 1.8610 + 1.8611 + 1.8612 + 1.8613 + 1.8614 + 1.8615 + 1.8616 + 1.8617 + 1.8618 + 1.8619 + 1.8620 + 1.8621 + 1.8622 + 1.8623 + 1.8624 + 1.8625 + 1.8626 + 1.8627 + 1.8628 + 1.8629 + 1.8630 + 1.8631 + 1.8632 + 1.8633 + 1.8634 + 1.8635 + 1.8636 + 1.8637 + 1.8638 + 1.8639 + 1.8640 + 1.8641 + 1.8642 + 1.8643 + 1.8644 + 1.8645 + 1.8646 + 1.8647 + 1.8648 + 1.8649 + 1.8650 + 1.8651 + 1.8652 + 1.8653 + 1.8654 +MAKEFILES=" 1.8655 + Makefile 1.8656 + config/Makefile 1.8657 + config/autoconf.mk 1.8658 + config/nsprincl.mk 1.8659 + config/nsprincl.sh 1.8660 + config/nspr-config 1.8661 + config/nspr.pc 1.8662 + lib/Makefile 1.8663 + lib/ds/Makefile 1.8664 + lib/libc/Makefile 1.8665 + lib/libc/include/Makefile 1.8666 + lib/libc/src/Makefile 1.8667 + lib/tests/Makefile 1.8668 + pkg/Makefile 1.8669 + pr/Makefile 1.8670 + pr/include/Makefile 1.8671 + pr/include/md/Makefile 1.8672 + pr/include/obsolete/Makefile 1.8673 + pr/include/private/Makefile 1.8674 + pr/src/Makefile 1.8675 + pr/src/io/Makefile 1.8676 + pr/src/linking/Makefile 1.8677 + pr/src/malloc/Makefile 1.8678 + pr/src/md/Makefile 1.8679 + pr/src/md/${PR_MD_ARCH_DIR}/Makefile 1.8680 + pr/src/memory/Makefile 1.8681 + pr/src/misc/Makefile 1.8682 + pr/src/threads/Makefile 1.8683 + pr/tests/Makefile 1.8684 + pr/tests/dll/Makefile 1.8685 +" 1.8686 + 1.8687 +if test "$OS_TARGET" = "Linux"; then 1.8688 + MAKEFILES="$MAKEFILES 1.8689 + pkg/linux/Makefile 1.8690 + " 1.8691 +elif test "$OS_TARGET" = "SunOS"; then 1.8692 + MAKEFILES="$MAKEFILES 1.8693 + pkg/solaris/Makefile 1.8694 + pkg/solaris/SUNWpr/Makefile 1.8695 + pkg/solaris/SUNWprd/Makefile 1.8696 + " 1.8697 +fi 1.8698 + 1.8699 +if test -z "$USE_PTHREADS" && test -z "$USE_BTHREADS"; then 1.8700 + MAKEFILES="$MAKEFILES 1.8701 + pr/src/threads/combined/Makefile 1.8702 + " 1.8703 +elif test -n "$USE_PTHREADS"; then 1.8704 + MAKEFILES="$MAKEFILES 1.8705 + pr/src/pthreads/Makefile 1.8706 + " 1.8707 +elif test -n "$USE_BTHREADS"; then 1.8708 + MAKEFILES="$MAKEFILES 1.8709 + pr/src/bthreads/Makefile 1.8710 + " 1.8711 +fi 1.8712 + 1.8713 +if test -n "$USE_CPLUS"; then 1.8714 + MAKEFILES="$MAKEFILES 1.8715 + pr/src/cplus/Makefile 1.8716 + pr/src/cplus/tests/Makefile 1.8717 + " 1.8718 +fi 1.8719 + 1.8720 +echo $MAKEFILES > unallmakefiles 1.8721 + 1.8722 +ac_config_files="$ac_config_files $MAKEFILES" 1.8723 + 1.8724 +ac_config_commands="$ac_config_commands default" 1.8725 + 1.8726 +cat >confcache <<\_ACEOF 1.8727 +# This file is a shell script that caches the results of configure 1.8728 +# tests run on this system so they can be shared between configure 1.8729 +# scripts and configure runs, see configure's option --config-cache. 1.8730 +# It is not useful on other systems. If it contains results you don't 1.8731 +# want to keep, you may remove or edit it. 1.8732 +# 1.8733 +# config.status only pays attention to the cache file if you give it 1.8734 +# the --recheck option to rerun configure. 1.8735 +# 1.8736 +# `ac_cv_env_foo' variables (set or unset) will be overridden when 1.8737 +# loading this file, other *unset* `ac_cv_foo' will be assigned the 1.8738 +# following values. 1.8739 + 1.8740 +_ACEOF 1.8741 + 1.8742 +# The following way of writing the cache mishandles newlines in values, 1.8743 +# but we know of no workaround that is simple, portable, and efficient. 1.8744 +# So, we kill variables containing newlines. 1.8745 +# Ultrix sh set writes to stderr and can't be redirected directly, 1.8746 +# and sets the high bit in the cache file unless we assign to the vars. 1.8747 +( 1.8748 + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 1.8749 + eval ac_val=\$$ac_var 1.8750 + case $ac_val in #( 1.8751 + *${as_nl}*) 1.8752 + case $ac_var in #( 1.8753 + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1.8754 +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1.8755 + esac 1.8756 + case $ac_var in #( 1.8757 + _ | IFS | as_nl) ;; #( 1.8758 + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1.8759 + *) { eval $ac_var=; unset $ac_var;} ;; 1.8760 + esac ;; 1.8761 + esac 1.8762 + done 1.8763 + 1.8764 + (set) 2>&1 | 1.8765 + case $as_nl`(ac_space=' '; set) 2>&1` in #( 1.8766 + *${as_nl}ac_space=\ *) 1.8767 + # `set' does not quote correctly, so add quotes: double-quote 1.8768 + # substitution turns \\\\ into \\, and sed turns \\ into \. 1.8769 + sed -n \ 1.8770 + "s/'/'\\\\''/g; 1.8771 + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 1.8772 + ;; #( 1.8773 + *) 1.8774 + # `set' quotes correctly as required by POSIX, so do not add quotes. 1.8775 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1.8776 + ;; 1.8777 + esac | 1.8778 + sort 1.8779 +) | 1.8780 + sed ' 1.8781 + /^ac_cv_env_/b end 1.8782 + t clear 1.8783 + :clear 1.8784 + s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 1.8785 + t end 1.8786 + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 1.8787 + :end' >>confcache 1.8788 +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 1.8789 + if test -w "$cache_file"; then 1.8790 + if test "x$cache_file" != "x/dev/null"; then 1.8791 + { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 1.8792 +$as_echo "$as_me: updating cache $cache_file" >&6;} 1.8793 + if test ! -f "$cache_file" || test -h "$cache_file"; then 1.8794 + cat confcache >"$cache_file" 1.8795 + else 1.8796 + case $cache_file in #( 1.8797 + */* | ?:*) 1.8798 + mv -f confcache "$cache_file"$$ && 1.8799 + mv -f "$cache_file"$$ "$cache_file" ;; #( 1.8800 + *) 1.8801 + mv -f confcache "$cache_file" ;; 1.8802 + esac 1.8803 + fi 1.8804 + fi 1.8805 + else 1.8806 + { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 1.8807 +$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 1.8808 + fi 1.8809 +fi 1.8810 +rm -f confcache 1.8811 + 1.8812 +test "x$prefix" = xNONE && prefix=$ac_default_prefix 1.8813 +# Let make expand exec_prefix. 1.8814 +test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 1.8815 + 1.8816 +# Transform confdefs.h into DEFS. 1.8817 +# Protect against shell expansion while executing Makefile rules. 1.8818 +# Protect against Makefile macro expansion. 1.8819 +# 1.8820 +# If the first sed substitution is executed (which looks for macros that 1.8821 +# take arguments), then branch to the quote section. Otherwise, 1.8822 +# look for a macro that doesn't take arguments. 1.8823 +ac_script=' 1.8824 +:mline 1.8825 +/\\$/{ 1.8826 + N 1.8827 + s,\\\n,, 1.8828 + b mline 1.8829 +} 1.8830 +t clear 1.8831 +:clear 1.8832 +s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g 1.8833 +t quote 1.8834 +s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g 1.8835 +t quote 1.8836 +b any 1.8837 +:quote 1.8838 +s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g 1.8839 +s/\[/\\&/g 1.8840 +s/\]/\\&/g 1.8841 +s/\$/$$/g 1.8842 +H 1.8843 +:any 1.8844 +${ 1.8845 + g 1.8846 + s/^\n// 1.8847 + s/\n/ /g 1.8848 + p 1.8849 +} 1.8850 +' 1.8851 +DEFS=`sed -n "$ac_script" confdefs.h` 1.8852 + 1.8853 + 1.8854 +ac_libobjs= 1.8855 +ac_ltlibobjs= 1.8856 +U= 1.8857 +for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 1.8858 + # 1. Remove the extension, and $U if already installed. 1.8859 + ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 1.8860 + ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 1.8861 + # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 1.8862 + # will be set to the directory where LIBOBJS objects are built. 1.8863 + as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 1.8864 + as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 1.8865 +done 1.8866 +LIBOBJS=$ac_libobjs 1.8867 + 1.8868 +LTLIBOBJS=$ac_ltlibobjs 1.8869 + 1.8870 + 1.8871 + 1.8872 +: "${CONFIG_STATUS=./config.status}" 1.8873 +ac_write_fail=0 1.8874 +ac_clean_files_save=$ac_clean_files 1.8875 +ac_clean_files="$ac_clean_files $CONFIG_STATUS" 1.8876 +{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 1.8877 +$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 1.8878 +as_write_fail=0 1.8879 +cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 1.8880 +#! $SHELL 1.8881 +# Generated by $as_me. 1.8882 +# Run this file to recreate the current configuration. 1.8883 +# Compiler output produced by configure, useful for debugging 1.8884 +# configure, is in config.log if it exists. 1.8885 + 1.8886 +debug=false 1.8887 +ac_cs_recheck=false 1.8888 +ac_cs_silent=false 1.8889 + 1.8890 +SHELL=\${CONFIG_SHELL-$SHELL} 1.8891 +export SHELL 1.8892 +_ASEOF 1.8893 +cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 1.8894 +## -------------------- ## 1.8895 +## M4sh Initialization. ## 1.8896 +## -------------------- ## 1.8897 + 1.8898 +# Be more Bourne compatible 1.8899 +DUALCASE=1; export DUALCASE # for MKS sh 1.8900 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 1.8901 + emulate sh 1.8902 + NULLCMD=: 1.8903 + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 1.8904 + # is contrary to our usage. Disable this feature. 1.8905 + alias -g '${1+"$@"}'='"$@"' 1.8906 + setopt NO_GLOB_SUBST 1.8907 +else 1.8908 + case `(set -o) 2>/dev/null` in #( 1.8909 + *posix*) : 1.8910 + set -o posix ;; #( 1.8911 + *) : 1.8912 + ;; 1.8913 +esac 1.8914 +fi 1.8915 + 1.8916 + 1.8917 +as_nl=' 1.8918 +' 1.8919 +export as_nl 1.8920 +# Printing a long string crashes Solaris 7 /usr/bin/printf. 1.8921 +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 1.8922 +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 1.8923 +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 1.8924 +# Prefer a ksh shell builtin over an external printf program on Solaris, 1.8925 +# but without wasting forks for bash or zsh. 1.8926 +if test -z "$BASH_VERSION$ZSH_VERSION" \ 1.8927 + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 1.8928 + as_echo='print -r --' 1.8929 + as_echo_n='print -rn --' 1.8930 +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 1.8931 + as_echo='printf %s\n' 1.8932 + as_echo_n='printf %s' 1.8933 +else 1.8934 + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 1.8935 + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 1.8936 + as_echo_n='/usr/ucb/echo -n' 1.8937 + else 1.8938 + as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 1.8939 + as_echo_n_body='eval 1.8940 + arg=$1; 1.8941 + case $arg in #( 1.8942 + *"$as_nl"*) 1.8943 + expr "X$arg" : "X\\(.*\\)$as_nl"; 1.8944 + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 1.8945 + esac; 1.8946 + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 1.8947 + ' 1.8948 + export as_echo_n_body 1.8949 + as_echo_n='sh -c $as_echo_n_body as_echo' 1.8950 + fi 1.8951 + export as_echo_body 1.8952 + as_echo='sh -c $as_echo_body as_echo' 1.8953 +fi 1.8954 + 1.8955 +# The user is always right. 1.8956 +if test "${PATH_SEPARATOR+set}" != set; then 1.8957 + PATH_SEPARATOR=: 1.8958 + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 1.8959 + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 1.8960 + PATH_SEPARATOR=';' 1.8961 + } 1.8962 +fi 1.8963 + 1.8964 + 1.8965 +# IFS 1.8966 +# We need space, tab and new line, in precisely that order. Quoting is 1.8967 +# there to prevent editors from complaining about space-tab. 1.8968 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word 1.8969 +# splitting by setting IFS to empty value.) 1.8970 +IFS=" "" $as_nl" 1.8971 + 1.8972 +# Find who we are. Look in the path if we contain no directory separator. 1.8973 +as_myself= 1.8974 +case $0 in #(( 1.8975 + *[\\/]* ) as_myself=$0 ;; 1.8976 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1.8977 +for as_dir in $PATH 1.8978 +do 1.8979 + IFS=$as_save_IFS 1.8980 + test -z "$as_dir" && as_dir=. 1.8981 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 1.8982 + done 1.8983 +IFS=$as_save_IFS 1.8984 + 1.8985 + ;; 1.8986 +esac 1.8987 +# We did not find ourselves, most probably we were run as `sh COMMAND' 1.8988 +# in which case we are not to be found in the path. 1.8989 +if test "x$as_myself" = x; then 1.8990 + as_myself=$0 1.8991 +fi 1.8992 +if test ! -f "$as_myself"; then 1.8993 + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 1.8994 + exit 1 1.8995 +fi 1.8996 + 1.8997 +# Unset variables that we do not need and which cause bugs (e.g. in 1.8998 +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 1.8999 +# suppresses any "Segmentation fault" message there. '((' could 1.9000 +# trigger a bug in pdksh 5.2.14. 1.9001 +for as_var in BASH_ENV ENV MAIL MAILPATH 1.9002 +do eval test x\${$as_var+set} = xset \ 1.9003 + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 1.9004 +done 1.9005 +PS1='$ ' 1.9006 +PS2='> ' 1.9007 +PS4='+ ' 1.9008 + 1.9009 +# NLS nuisances. 1.9010 +LC_ALL=C 1.9011 +export LC_ALL 1.9012 +LANGUAGE=C 1.9013 +export LANGUAGE 1.9014 + 1.9015 +# CDPATH. 1.9016 +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 1.9017 + 1.9018 + 1.9019 +# as_fn_error STATUS ERROR [LINENO LOG_FD] 1.9020 +# ---------------------------------------- 1.9021 +# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 1.9022 +# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 1.9023 +# script with STATUS, using 1 if that was 0. 1.9024 +as_fn_error () 1.9025 +{ 1.9026 + as_status=$1; test $as_status -eq 0 && as_status=1 1.9027 + if test "$4"; then 1.9028 + as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1.9029 + $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 1.9030 + fi 1.9031 + $as_echo "$as_me: error: $2" >&2 1.9032 + as_fn_exit $as_status 1.9033 +} # as_fn_error 1.9034 + 1.9035 + 1.9036 +# as_fn_set_status STATUS 1.9037 +# ----------------------- 1.9038 +# Set $? to STATUS, without forking. 1.9039 +as_fn_set_status () 1.9040 +{ 1.9041 + return $1 1.9042 +} # as_fn_set_status 1.9043 + 1.9044 +# as_fn_exit STATUS 1.9045 +# ----------------- 1.9046 +# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 1.9047 +as_fn_exit () 1.9048 +{ 1.9049 + set +e 1.9050 + as_fn_set_status $1 1.9051 + exit $1 1.9052 +} # as_fn_exit 1.9053 + 1.9054 +# as_fn_unset VAR 1.9055 +# --------------- 1.9056 +# Portably unset VAR. 1.9057 +as_fn_unset () 1.9058 +{ 1.9059 + { eval $1=; unset $1;} 1.9060 +} 1.9061 +as_unset=as_fn_unset 1.9062 +# as_fn_append VAR VALUE 1.9063 +# ---------------------- 1.9064 +# Append the text in VALUE to the end of the definition contained in VAR. Take 1.9065 +# advantage of any shell optimizations that allow amortized linear growth over 1.9066 +# repeated appends, instead of the typical quadratic growth present in naive 1.9067 +# implementations. 1.9068 +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 1.9069 + eval 'as_fn_append () 1.9070 + { 1.9071 + eval $1+=\$2 1.9072 + }' 1.9073 +else 1.9074 + as_fn_append () 1.9075 + { 1.9076 + eval $1=\$$1\$2 1.9077 + } 1.9078 +fi # as_fn_append 1.9079 + 1.9080 +# as_fn_arith ARG... 1.9081 +# ------------------ 1.9082 +# Perform arithmetic evaluation on the ARGs, and store the result in the 1.9083 +# global $as_val. Take advantage of shells that can avoid forks. The arguments 1.9084 +# must be portable across $(()) and expr. 1.9085 +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 1.9086 + eval 'as_fn_arith () 1.9087 + { 1.9088 + as_val=$(( $* )) 1.9089 + }' 1.9090 +else 1.9091 + as_fn_arith () 1.9092 + { 1.9093 + as_val=`expr "$@" || test $? -eq 1` 1.9094 + } 1.9095 +fi # as_fn_arith 1.9096 + 1.9097 + 1.9098 +if expr a : '\(a\)' >/dev/null 2>&1 && 1.9099 + test "X`expr 00001 : '.*\(...\)'`" = X001; then 1.9100 + as_expr=expr 1.9101 +else 1.9102 + as_expr=false 1.9103 +fi 1.9104 + 1.9105 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 1.9106 + as_basename=basename 1.9107 +else 1.9108 + as_basename=false 1.9109 +fi 1.9110 + 1.9111 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 1.9112 + as_dirname=dirname 1.9113 +else 1.9114 + as_dirname=false 1.9115 +fi 1.9116 + 1.9117 +as_me=`$as_basename -- "$0" || 1.9118 +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 1.9119 + X"$0" : 'X\(//\)$' \| \ 1.9120 + X"$0" : 'X\(/\)' \| . 2>/dev/null || 1.9121 +$as_echo X/"$0" | 1.9122 + sed '/^.*\/\([^/][^/]*\)\/*$/{ 1.9123 + s//\1/ 1.9124 + q 1.9125 + } 1.9126 + /^X\/\(\/\/\)$/{ 1.9127 + s//\1/ 1.9128 + q 1.9129 + } 1.9130 + /^X\/\(\/\).*/{ 1.9131 + s//\1/ 1.9132 + q 1.9133 + } 1.9134 + s/.*/./; q'` 1.9135 + 1.9136 +# Avoid depending upon Character Ranges. 1.9137 +as_cr_letters='abcdefghijklmnopqrstuvwxyz' 1.9138 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 1.9139 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS 1.9140 +as_cr_digits='0123456789' 1.9141 +as_cr_alnum=$as_cr_Letters$as_cr_digits 1.9142 + 1.9143 +ECHO_C= ECHO_N= ECHO_T= 1.9144 +case `echo -n x` in #((((( 1.9145 +-n*) 1.9146 + case `echo 'xy\c'` in 1.9147 + *c*) ECHO_T=' ';; # ECHO_T is single tab character. 1.9148 + xy) ECHO_C='\c';; 1.9149 + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 1.9150 + ECHO_T=' ';; 1.9151 + esac;; 1.9152 +*) 1.9153 + ECHO_N='-n';; 1.9154 +esac 1.9155 + 1.9156 +rm -f conf$$ conf$$.exe conf$$.file 1.9157 +if test -d conf$$.dir; then 1.9158 + rm -f conf$$.dir/conf$$.file 1.9159 +else 1.9160 + rm -f conf$$.dir 1.9161 + mkdir conf$$.dir 2>/dev/null 1.9162 +fi 1.9163 +if (echo >conf$$.file) 2>/dev/null; then 1.9164 + if ln -s conf$$.file conf$$ 2>/dev/null; then 1.9165 + as_ln_s='ln -s' 1.9166 + # ... but there are two gotchas: 1.9167 + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 1.9168 + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 1.9169 + # In both cases, we have to default to `cp -pR'. 1.9170 + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 1.9171 + as_ln_s='cp -pR' 1.9172 + elif ln conf$$.file conf$$ 2>/dev/null; then 1.9173 + as_ln_s=ln 1.9174 + else 1.9175 + as_ln_s='cp -pR' 1.9176 + fi 1.9177 +else 1.9178 + as_ln_s='cp -pR' 1.9179 +fi 1.9180 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 1.9181 +rmdir conf$$.dir 2>/dev/null 1.9182 + 1.9183 + 1.9184 +# as_fn_mkdir_p 1.9185 +# ------------- 1.9186 +# Create "$as_dir" as a directory, including parents if necessary. 1.9187 +as_fn_mkdir_p () 1.9188 +{ 1.9189 + 1.9190 + case $as_dir in #( 1.9191 + -*) as_dir=./$as_dir;; 1.9192 + esac 1.9193 + test -d "$as_dir" || eval $as_mkdir_p || { 1.9194 + as_dirs= 1.9195 + while :; do 1.9196 + case $as_dir in #( 1.9197 + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 1.9198 + *) as_qdir=$as_dir;; 1.9199 + esac 1.9200 + as_dirs="'$as_qdir' $as_dirs" 1.9201 + as_dir=`$as_dirname -- "$as_dir" || 1.9202 +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1.9203 + X"$as_dir" : 'X\(//\)[^/]' \| \ 1.9204 + X"$as_dir" : 'X\(//\)$' \| \ 1.9205 + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 1.9206 +$as_echo X"$as_dir" | 1.9207 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1.9208 + s//\1/ 1.9209 + q 1.9210 + } 1.9211 + /^X\(\/\/\)[^/].*/{ 1.9212 + s//\1/ 1.9213 + q 1.9214 + } 1.9215 + /^X\(\/\/\)$/{ 1.9216 + s//\1/ 1.9217 + q 1.9218 + } 1.9219 + /^X\(\/\).*/{ 1.9220 + s//\1/ 1.9221 + q 1.9222 + } 1.9223 + s/.*/./; q'` 1.9224 + test -d "$as_dir" && break 1.9225 + done 1.9226 + test -z "$as_dirs" || eval "mkdir $as_dirs" 1.9227 + } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 1.9228 + 1.9229 + 1.9230 +} # as_fn_mkdir_p 1.9231 +if mkdir -p . 2>/dev/null; then 1.9232 + as_mkdir_p='mkdir -p "$as_dir"' 1.9233 +else 1.9234 + test -d ./-p && rmdir ./-p 1.9235 + as_mkdir_p=false 1.9236 +fi 1.9237 + 1.9238 + 1.9239 +# as_fn_executable_p FILE 1.9240 +# ----------------------- 1.9241 +# Test if FILE is an executable regular file. 1.9242 +as_fn_executable_p () 1.9243 +{ 1.9244 + test -f "$1" && test -x "$1" 1.9245 +} # as_fn_executable_p 1.9246 +as_test_x='test -x' 1.9247 +as_executable_p=as_fn_executable_p 1.9248 + 1.9249 +# Sed expression to map a string onto a valid CPP name. 1.9250 +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 1.9251 + 1.9252 +# Sed expression to map a string onto a valid variable name. 1.9253 +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 1.9254 + 1.9255 + 1.9256 +exec 6>&1 1.9257 +## ----------------------------------- ## 1.9258 +## Main body of $CONFIG_STATUS script. ## 1.9259 +## ----------------------------------- ## 1.9260 +_ASEOF 1.9261 +test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 1.9262 + 1.9263 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 1.9264 +# Save the log message, to keep $0 and so on meaningful, and to 1.9265 +# report actual input values of CONFIG_FILES etc. instead of their 1.9266 +# values after options handling. 1.9267 +ac_log=" 1.9268 +This file was extended by $as_me, which was 1.9269 +generated by GNU Autoconf 2.69. Invocation command line was 1.9270 + 1.9271 + CONFIG_FILES = $CONFIG_FILES 1.9272 + CONFIG_HEADERS = $CONFIG_HEADERS 1.9273 + CONFIG_LINKS = $CONFIG_LINKS 1.9274 + CONFIG_COMMANDS = $CONFIG_COMMANDS 1.9275 + $ $0 $@ 1.9276 + 1.9277 +on `(hostname || uname -n) 2>/dev/null | sed 1q` 1.9278 +" 1.9279 + 1.9280 +_ACEOF 1.9281 + 1.9282 +case $ac_config_files in *" 1.9283 +"*) set x $ac_config_files; shift; ac_config_files=$*;; 1.9284 +esac 1.9285 + 1.9286 + 1.9287 + 1.9288 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 1.9289 +# Files that config.status was made for. 1.9290 +config_files="$ac_config_files" 1.9291 +config_commands="$ac_config_commands" 1.9292 + 1.9293 +_ACEOF 1.9294 + 1.9295 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 1.9296 +ac_cs_usage="\ 1.9297 +\`$as_me' instantiates files and other configuration actions 1.9298 +from templates according to the current configuration. Unless the files 1.9299 +and actions are specified as TAGs, all are instantiated by default. 1.9300 + 1.9301 +Usage: $0 [OPTION]... [TAG]... 1.9302 + 1.9303 + -h, --help print this help, then exit 1.9304 + -V, --version print version number and configuration settings, then exit 1.9305 + --config print configuration, then exit 1.9306 + -q, --quiet, --silent 1.9307 + do not print progress messages 1.9308 + -d, --debug don't remove temporary files 1.9309 + --recheck update $as_me by reconfiguring in the same conditions 1.9310 + --file=FILE[:TEMPLATE] 1.9311 + instantiate the configuration file FILE 1.9312 + 1.9313 +Configuration files: 1.9314 +$config_files 1.9315 + 1.9316 +Configuration commands: 1.9317 +$config_commands 1.9318 + 1.9319 +Report bugs to the package provider." 1.9320 + 1.9321 +_ACEOF 1.9322 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 1.9323 +ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 1.9324 +ac_cs_version="\\ 1.9325 +config.status 1.9326 +configured by $0, generated by GNU Autoconf 2.69, 1.9327 + with options \\"\$ac_cs_config\\" 1.9328 + 1.9329 +Copyright (C) 2012 Free Software Foundation, Inc. 1.9330 +This config.status script is free software; the Free Software Foundation 1.9331 +gives unlimited permission to copy, distribute and modify it." 1.9332 + 1.9333 +ac_pwd='$ac_pwd' 1.9334 +srcdir='$srcdir' 1.9335 +test -n "\$AWK" || AWK=awk 1.9336 +_ACEOF 1.9337 + 1.9338 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 1.9339 +# The default lists apply if the user does not specify any file. 1.9340 +ac_need_defaults=: 1.9341 +while test $# != 0 1.9342 +do 1.9343 + case $1 in 1.9344 + --*=?*) 1.9345 + ac_option=`expr "X$1" : 'X\([^=]*\)='` 1.9346 + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 1.9347 + ac_shift=: 1.9348 + ;; 1.9349 + --*=) 1.9350 + ac_option=`expr "X$1" : 'X\([^=]*\)='` 1.9351 + ac_optarg= 1.9352 + ac_shift=: 1.9353 + ;; 1.9354 + *) 1.9355 + ac_option=$1 1.9356 + ac_optarg=$2 1.9357 + ac_shift=shift 1.9358 + ;; 1.9359 + esac 1.9360 + 1.9361 + case $ac_option in 1.9362 + # Handling of the options. 1.9363 + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 1.9364 + ac_cs_recheck=: ;; 1.9365 + --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 1.9366 + $as_echo "$ac_cs_version"; exit ;; 1.9367 + --config | --confi | --conf | --con | --co | --c ) 1.9368 + $as_echo "$ac_cs_config"; exit ;; 1.9369 + --debug | --debu | --deb | --de | --d | -d ) 1.9370 + debug=: ;; 1.9371 + --file | --fil | --fi | --f ) 1.9372 + $ac_shift 1.9373 + case $ac_optarg in 1.9374 + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 1.9375 + '') as_fn_error $? "missing file argument" ;; 1.9376 + esac 1.9377 + as_fn_append CONFIG_FILES " '$ac_optarg'" 1.9378 + ac_need_defaults=false;; 1.9379 + --he | --h | --help | --hel | -h ) 1.9380 + $as_echo "$ac_cs_usage"; exit ;; 1.9381 + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1.9382 + | -silent | --silent | --silen | --sile | --sil | --si | --s) 1.9383 + ac_cs_silent=: ;; 1.9384 + 1.9385 + # This is an error. 1.9386 + -*) as_fn_error $? "unrecognized option: \`$1' 1.9387 +Try \`$0 --help' for more information." ;; 1.9388 + 1.9389 + *) as_fn_append ac_config_targets " $1" 1.9390 + ac_need_defaults=false ;; 1.9391 + 1.9392 + esac 1.9393 + shift 1.9394 +done 1.9395 + 1.9396 +ac_configure_extra_args= 1.9397 + 1.9398 +if $ac_cs_silent; then 1.9399 + exec 6>/dev/null 1.9400 + ac_configure_extra_args="$ac_configure_extra_args --silent" 1.9401 +fi 1.9402 + 1.9403 +_ACEOF 1.9404 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 1.9405 +if \$ac_cs_recheck; then 1.9406 + set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 1.9407 + shift 1.9408 + \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 1.9409 + CONFIG_SHELL='$SHELL' 1.9410 + export CONFIG_SHELL 1.9411 + exec "\$@" 1.9412 +fi 1.9413 + 1.9414 +_ACEOF 1.9415 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 1.9416 +exec 5>>config.log 1.9417 +{ 1.9418 + echo 1.9419 + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 1.9420 +## Running $as_me. ## 1.9421 +_ASBOX 1.9422 + $as_echo "$ac_log" 1.9423 +} >&5 1.9424 + 1.9425 +_ACEOF 1.9426 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 1.9427 +_ACEOF 1.9428 + 1.9429 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 1.9430 + 1.9431 +# Handling of arguments. 1.9432 +for ac_config_target in $ac_config_targets 1.9433 +do 1.9434 + case $ac_config_target in 1.9435 + "$MAKEFILES") CONFIG_FILES="$CONFIG_FILES $MAKEFILES" ;; 1.9436 + "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; 1.9437 + 1.9438 + *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 1.9439 + esac 1.9440 +done 1.9441 + 1.9442 + 1.9443 +# If the user did not use the arguments to specify the items to instantiate, 1.9444 +# then the envvar interface is used. Set only those that are not. 1.9445 +# We use the long form for the default assignment because of an extremely 1.9446 +# bizarre bug on SunOS 4.1.3. 1.9447 +if $ac_need_defaults; then 1.9448 + test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 1.9449 + test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 1.9450 +fi 1.9451 + 1.9452 +# Have a temporary directory for convenience. Make it in the build tree 1.9453 +# simply because there is no reason against having it here, and in addition, 1.9454 +# creating and moving files from /tmp can sometimes cause problems. 1.9455 +# Hook for its removal unless debugging. 1.9456 +# Note that there is a small window in which the directory will not be cleaned: 1.9457 +# after its creation but before its name has been assigned to `$tmp'. 1.9458 +$debug || 1.9459 +{ 1.9460 + tmp= ac_tmp= 1.9461 + trap 'exit_status=$? 1.9462 + : "${ac_tmp:=$tmp}" 1.9463 + { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 1.9464 +' 0 1.9465 + trap 'as_fn_exit 1' 1 2 13 15 1.9466 +} 1.9467 +# Create a (secure) tmp directory for tmp files. 1.9468 + 1.9469 +{ 1.9470 + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 1.9471 + test -d "$tmp" 1.9472 +} || 1.9473 +{ 1.9474 + tmp=./conf$$-$RANDOM 1.9475 + (umask 077 && mkdir "$tmp") 1.9476 +} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 1.9477 +ac_tmp=$tmp 1.9478 + 1.9479 +# Set up the scripts for CONFIG_FILES section. 1.9480 +# No need to generate them if there are no CONFIG_FILES. 1.9481 +# This happens for instance with `./config.status config.h'. 1.9482 +if test -n "$CONFIG_FILES"; then 1.9483 + 1.9484 + 1.9485 +ac_cr=`echo X | tr X '\015'` 1.9486 +# On cygwin, bash can eat \r inside `` if the user requested igncr. 1.9487 +# But we know of no other shell where ac_cr would be empty at this 1.9488 +# point, so we can use a bashism as a fallback. 1.9489 +if test "x$ac_cr" = x; then 1.9490 + eval ac_cr=\$\'\\r\' 1.9491 +fi 1.9492 +ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 1.9493 +if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 1.9494 + ac_cs_awk_cr='\\r' 1.9495 +else 1.9496 + ac_cs_awk_cr=$ac_cr 1.9497 +fi 1.9498 + 1.9499 +echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 1.9500 +_ACEOF 1.9501 + 1.9502 + 1.9503 +{ 1.9504 + echo "cat >conf$$subs.awk <<_ACEOF" && 1.9505 + echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 1.9506 + echo "_ACEOF" 1.9507 +} >conf$$subs.sh || 1.9508 + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 1.9509 +ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 1.9510 +ac_delim='%!_!# ' 1.9511 +for ac_last_try in false false false false false :; do 1.9512 + . ./conf$$subs.sh || 1.9513 + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 1.9514 + 1.9515 + ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 1.9516 + if test $ac_delim_n = $ac_delim_num; then 1.9517 + break 1.9518 + elif $ac_last_try; then 1.9519 + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 1.9520 + else 1.9521 + ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 1.9522 + fi 1.9523 +done 1.9524 +rm -f conf$$subs.sh 1.9525 + 1.9526 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 1.9527 +cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 1.9528 +_ACEOF 1.9529 +sed -n ' 1.9530 +h 1.9531 +s/^/S["/; s/!.*/"]=/ 1.9532 +p 1.9533 +g 1.9534 +s/^[^!]*!// 1.9535 +:repl 1.9536 +t repl 1.9537 +s/'"$ac_delim"'$// 1.9538 +t delim 1.9539 +:nl 1.9540 +h 1.9541 +s/\(.\{148\}\)..*/\1/ 1.9542 +t more1 1.9543 +s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 1.9544 +p 1.9545 +n 1.9546 +b repl 1.9547 +:more1 1.9548 +s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 1.9549 +p 1.9550 +g 1.9551 +s/.\{148\}// 1.9552 +t nl 1.9553 +:delim 1.9554 +h 1.9555 +s/\(.\{148\}\)..*/\1/ 1.9556 +t more2 1.9557 +s/["\\]/\\&/g; s/^/"/; s/$/"/ 1.9558 +p 1.9559 +b 1.9560 +:more2 1.9561 +s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 1.9562 +p 1.9563 +g 1.9564 +s/.\{148\}// 1.9565 +t delim 1.9566 +' <conf$$subs.awk | sed ' 1.9567 +/^[^""]/{ 1.9568 + N 1.9569 + s/\n// 1.9570 +} 1.9571 +' >>$CONFIG_STATUS || ac_write_fail=1 1.9572 +rm -f conf$$subs.awk 1.9573 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 1.9574 +_ACAWK 1.9575 +cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 1.9576 + for (key in S) S_is_set[key] = 1 1.9577 + FS = "" 1.9578 + 1.9579 +} 1.9580 +{ 1.9581 + line = $ 0 1.9582 + nfields = split(line, field, "@") 1.9583 + substed = 0 1.9584 + len = length(field[1]) 1.9585 + for (i = 2; i < nfields; i++) { 1.9586 + key = field[i] 1.9587 + keylen = length(key) 1.9588 + if (S_is_set[key]) { 1.9589 + value = S[key] 1.9590 + line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 1.9591 + len += length(value) + length(field[++i]) 1.9592 + substed = 1 1.9593 + } else 1.9594 + len += 1 + keylen 1.9595 + } 1.9596 + 1.9597 + print line 1.9598 +} 1.9599 + 1.9600 +_ACAWK 1.9601 +_ACEOF 1.9602 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 1.9603 +if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 1.9604 + sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 1.9605 +else 1.9606 + cat 1.9607 +fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 1.9608 + || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 1.9609 +_ACEOF 1.9610 + 1.9611 +# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 1.9612 +# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 1.9613 +# trailing colons and then remove the whole line if VPATH becomes empty 1.9614 +# (actually we leave an empty line to preserve line numbers). 1.9615 +if test "x$srcdir" = x.; then 1.9616 + ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 1.9617 +h 1.9618 +s/// 1.9619 +s/^/:/ 1.9620 +s/[ ]*$/:/ 1.9621 +s/:\$(srcdir):/:/g 1.9622 +s/:\${srcdir}:/:/g 1.9623 +s/:@srcdir@:/:/g 1.9624 +s/^:*// 1.9625 +s/:*$// 1.9626 +x 1.9627 +s/\(=[ ]*\).*/\1/ 1.9628 +G 1.9629 +s/\n// 1.9630 +s/^[^=]*=[ ]*$// 1.9631 +}' 1.9632 +fi 1.9633 + 1.9634 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 1.9635 +fi # test -n "$CONFIG_FILES" 1.9636 + 1.9637 + 1.9638 +eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS" 1.9639 +shift 1.9640 +for ac_tag 1.9641 +do 1.9642 + case $ac_tag in 1.9643 + :[FHLC]) ac_mode=$ac_tag; continue;; 1.9644 + esac 1.9645 + case $ac_mode$ac_tag in 1.9646 + :[FHL]*:*);; 1.9647 + :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 1.9648 + :[FH]-) ac_tag=-:-;; 1.9649 + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 1.9650 + esac 1.9651 + ac_save_IFS=$IFS 1.9652 + IFS=: 1.9653 + set x $ac_tag 1.9654 + IFS=$ac_save_IFS 1.9655 + shift 1.9656 + ac_file=$1 1.9657 + shift 1.9658 + 1.9659 + case $ac_mode in 1.9660 + :L) ac_source=$1;; 1.9661 + :[FH]) 1.9662 + ac_file_inputs= 1.9663 + for ac_f 1.9664 + do 1.9665 + case $ac_f in 1.9666 + -) ac_f="$ac_tmp/stdin";; 1.9667 + *) # Look for the file first in the build tree, then in the source tree 1.9668 + # (if the path is not absolute). The absolute path cannot be DOS-style, 1.9669 + # because $ac_f cannot contain `:'. 1.9670 + test -f "$ac_f" || 1.9671 + case $ac_f in 1.9672 + [\\/$]*) false;; 1.9673 + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 1.9674 + esac || 1.9675 + as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 1.9676 + esac 1.9677 + case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 1.9678 + as_fn_append ac_file_inputs " '$ac_f'" 1.9679 + done 1.9680 + 1.9681 + # Let's still pretend it is `configure' which instantiates (i.e., don't 1.9682 + # use $as_me), people would be surprised to read: 1.9683 + # /* config.h. Generated by config.status. */ 1.9684 + configure_input='Generated from '` 1.9685 + $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 1.9686 + `' by configure.' 1.9687 + if test x"$ac_file" != x-; then 1.9688 + configure_input="$ac_file. $configure_input" 1.9689 + { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 1.9690 +$as_echo "$as_me: creating $ac_file" >&6;} 1.9691 + fi 1.9692 + # Neutralize special characters interpreted by sed in replacement strings. 1.9693 + case $configure_input in #( 1.9694 + *\&* | *\|* | *\\* ) 1.9695 + ac_sed_conf_input=`$as_echo "$configure_input" | 1.9696 + sed 's/[\\\\&|]/\\\\&/g'`;; #( 1.9697 + *) ac_sed_conf_input=$configure_input;; 1.9698 + esac 1.9699 + 1.9700 + case $ac_tag in 1.9701 + *:-:* | *:-) cat >"$ac_tmp/stdin" \ 1.9702 + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 1.9703 + esac 1.9704 + ;; 1.9705 + esac 1.9706 + 1.9707 + ac_dir=`$as_dirname -- "$ac_file" || 1.9708 +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1.9709 + X"$ac_file" : 'X\(//\)[^/]' \| \ 1.9710 + X"$ac_file" : 'X\(//\)$' \| \ 1.9711 + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 1.9712 +$as_echo X"$ac_file" | 1.9713 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1.9714 + s//\1/ 1.9715 + q 1.9716 + } 1.9717 + /^X\(\/\/\)[^/].*/{ 1.9718 + s//\1/ 1.9719 + q 1.9720 + } 1.9721 + /^X\(\/\/\)$/{ 1.9722 + s//\1/ 1.9723 + q 1.9724 + } 1.9725 + /^X\(\/\).*/{ 1.9726 + s//\1/ 1.9727 + q 1.9728 + } 1.9729 + s/.*/./; q'` 1.9730 + as_dir="$ac_dir"; as_fn_mkdir_p 1.9731 + ac_builddir=. 1.9732 + 1.9733 +case "$ac_dir" in 1.9734 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1.9735 +*) 1.9736 + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1.9737 + # A ".." for each directory in $ac_dir_suffix. 1.9738 + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1.9739 + case $ac_top_builddir_sub in 1.9740 + "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1.9741 + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1.9742 + esac ;; 1.9743 +esac 1.9744 +ac_abs_top_builddir=$ac_pwd 1.9745 +ac_abs_builddir=$ac_pwd$ac_dir_suffix 1.9746 +# for backward compatibility: 1.9747 +ac_top_builddir=$ac_top_build_prefix 1.9748 + 1.9749 +case $srcdir in 1.9750 + .) # We are building in place. 1.9751 + ac_srcdir=. 1.9752 + ac_top_srcdir=$ac_top_builddir_sub 1.9753 + ac_abs_top_srcdir=$ac_pwd ;; 1.9754 + [\\/]* | ?:[\\/]* ) # Absolute name. 1.9755 + ac_srcdir=$srcdir$ac_dir_suffix; 1.9756 + ac_top_srcdir=$srcdir 1.9757 + ac_abs_top_srcdir=$srcdir ;; 1.9758 + *) # Relative name. 1.9759 + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1.9760 + ac_top_srcdir=$ac_top_build_prefix$srcdir 1.9761 + ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1.9762 +esac 1.9763 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1.9764 + 1.9765 + 1.9766 + case $ac_mode in 1.9767 + :F) 1.9768 + # 1.9769 + # CONFIG_FILE 1.9770 + # 1.9771 + 1.9772 +_ACEOF 1.9773 + 1.9774 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 1.9775 +# If the template does not know about datarootdir, expand it. 1.9776 +# FIXME: This hack should be removed a few years after 2.60. 1.9777 +ac_datarootdir_hack=; ac_datarootdir_seen= 1.9778 +ac_sed_dataroot=' 1.9779 +/datarootdir/ { 1.9780 + p 1.9781 + q 1.9782 +} 1.9783 +/@datadir@/p 1.9784 +/@docdir@/p 1.9785 +/@infodir@/p 1.9786 +/@localedir@/p 1.9787 +/@mandir@/p' 1.9788 +case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 1.9789 +*datarootdir*) ac_datarootdir_seen=yes;; 1.9790 +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 1.9791 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 1.9792 +$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 1.9793 +_ACEOF 1.9794 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 1.9795 + ac_datarootdir_hack=' 1.9796 + s&@datadir@&$datadir&g 1.9797 + s&@docdir@&$docdir&g 1.9798 + s&@infodir@&$infodir&g 1.9799 + s&@localedir@&$localedir&g 1.9800 + s&@mandir@&$mandir&g 1.9801 + s&\\\${datarootdir}&$datarootdir&g' ;; 1.9802 +esac 1.9803 +_ACEOF 1.9804 + 1.9805 +# Neutralize VPATH when `$srcdir' = `.'. 1.9806 +# Shell code in configure.ac might set extrasub. 1.9807 +# FIXME: do we really want to maintain this feature? 1.9808 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 1.9809 +ac_sed_extra="$ac_vpsub 1.9810 +$extrasub 1.9811 +_ACEOF 1.9812 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 1.9813 +:t 1.9814 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 1.9815 +s|@configure_input@|$ac_sed_conf_input|;t t 1.9816 +s&@top_builddir@&$ac_top_builddir_sub&;t t 1.9817 +s&@top_build_prefix@&$ac_top_build_prefix&;t t 1.9818 +s&@srcdir@&$ac_srcdir&;t t 1.9819 +s&@abs_srcdir@&$ac_abs_srcdir&;t t 1.9820 +s&@top_srcdir@&$ac_top_srcdir&;t t 1.9821 +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 1.9822 +s&@builddir@&$ac_builddir&;t t 1.9823 +s&@abs_builddir@&$ac_abs_builddir&;t t 1.9824 +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 1.9825 +$ac_datarootdir_hack 1.9826 +" 1.9827 +eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 1.9828 + >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 1.9829 + 1.9830 +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 1.9831 + { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 1.9832 + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 1.9833 + "$ac_tmp/out"`; test -z "$ac_out"; } && 1.9834 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 1.9835 +which seems to be undefined. Please make sure it is defined" >&5 1.9836 +$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 1.9837 +which seems to be undefined. Please make sure it is defined" >&2;} 1.9838 + 1.9839 + rm -f "$ac_tmp/stdin" 1.9840 + case $ac_file in 1.9841 + -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 1.9842 + *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 1.9843 + esac \ 1.9844 + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 1.9845 + ;; 1.9846 + 1.9847 + 1.9848 + :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 1.9849 +$as_echo "$as_me: executing $ac_file commands" >&6;} 1.9850 + ;; 1.9851 + esac 1.9852 + 1.9853 + 1.9854 + case $ac_file$ac_mode in 1.9855 + "default":C) chmod +x config/nspr-config ;; 1.9856 + 1.9857 + esac 1.9858 +done # for ac_tag 1.9859 + 1.9860 + 1.9861 +as_fn_exit 0 1.9862 +_ACEOF 1.9863 +ac_clean_files=$ac_clean_files_save 1.9864 + 1.9865 +test $ac_write_fail = 0 || 1.9866 + as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 1.9867 + 1.9868 + 1.9869 +# configure is writing to config.log, and then calls config.status. 1.9870 +# config.status does its own redirection, appending to config.log. 1.9871 +# Unfortunately, on DOS this fails, as config.log is still kept open 1.9872 +# by configure, so config.status won't be able to write to it; its 1.9873 +# output is simply discarded. So we exec the FD to /dev/null, 1.9874 +# effectively closing config.log, so it can be properly (re)opened and 1.9875 +# appended to by config.status. When coming back to configure, we 1.9876 +# need to make the FD available again. 1.9877 +if test "$no_create" != yes; then 1.9878 + ac_cs_success=: 1.9879 + ac_config_status_args= 1.9880 + test "$silent" = yes && 1.9881 + ac_config_status_args="$ac_config_status_args --quiet" 1.9882 + exec 5>/dev/null 1.9883 + $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 1.9884 + exec 5>>config.log 1.9885 + # Use ||, not &&, to avoid exiting from the if with $? = 1, which 1.9886 + # would make configure fail if this is the last instruction. 1.9887 + $ac_cs_success || as_fn_exit 1 1.9888 +fi 1.9889 +if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 1.9890 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 1.9891 +$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 1.9892 +fi 1.9893 +