| 1 |
|
#! /bin/sh |
| 2 |
+ |
# From configure.ac Id: configure.ac 1010 2009-09-17 17:06:11Z michael . |
| 3 |
|
# Guess values for system-dependent variables and create Makefiles. |
| 4 |
< |
# Generated by GNU Autoconf 2.63 for ircd-hybrid 7.2.4. |
| 4 |
> |
# Generated by GNU Autoconf 2.64 for ircd-hybrid 7.2.4. |
| 5 |
|
# |
| 6 |
|
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
| 7 |
< |
# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. |
| 7 |
> |
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software |
| 8 |
> |
# Foundation, Inc. |
| 9 |
> |
# |
| 10 |
|
# This configure script is free software; the Free Software Foundation |
| 11 |
|
# gives unlimited permission to copy, distribute and modify it. |
| 12 |
< |
## --------------------- ## |
| 13 |
< |
## M4sh Initialization. ## |
| 14 |
< |
## --------------------- ## |
| 12 |
> |
## -------------------- ## |
| 13 |
> |
## M4sh Initialization. ## |
| 14 |
> |
## -------------------- ## |
| 15 |
|
|
| 16 |
|
# Be more Bourne compatible |
| 17 |
|
DUALCASE=1; export DUALCASE # for MKS sh |
| 18 |
< |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
| 18 |
> |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
| 19 |
|
emulate sh |
| 20 |
|
NULLCMD=: |
| 21 |
|
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
| 23 |
|
alias -g '${1+"$@"}'='"$@"' |
| 24 |
|
setopt NO_GLOB_SUBST |
| 25 |
|
else |
| 26 |
< |
case `(set -o) 2>/dev/null` in |
| 27 |
< |
*posix*) set -o posix ;; |
| 26 |
> |
case `(set -o) 2>/dev/null` in #( |
| 27 |
> |
*posix*) : |
| 28 |
> |
set -o posix ;; #( |
| 29 |
> |
*) : |
| 30 |
> |
;; |
| 31 |
|
esac |
| 26 |
– |
|
| 32 |
|
fi |
| 33 |
|
|
| 34 |
|
|
| 30 |
– |
|
| 31 |
– |
|
| 32 |
– |
# PATH needs CR |
| 33 |
– |
# Avoid depending upon Character Ranges. |
| 34 |
– |
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
| 35 |
– |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
| 36 |
– |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
| 37 |
– |
as_cr_digits='0123456789' |
| 38 |
– |
as_cr_alnum=$as_cr_Letters$as_cr_digits |
| 39 |
– |
|
| 35 |
|
as_nl=' |
| 36 |
|
' |
| 37 |
|
export as_nl |
| 39 |
|
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
| 40 |
|
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
| 41 |
|
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
| 42 |
< |
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
| 42 |
> |
# Prefer a ksh shell builtin over an external printf program on Solaris, |
| 43 |
> |
# but without wasting forks for bash or zsh. |
| 44 |
> |
if test -z "$BASH_VERSION$ZSH_VERSION" \ |
| 45 |
> |
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then |
| 46 |
> |
as_echo='print -r --' |
| 47 |
> |
as_echo_n='print -rn --' |
| 48 |
> |
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
| 49 |
|
as_echo='printf %s\n' |
| 50 |
|
as_echo_n='printf %s' |
| 51 |
|
else |
| 56 |
|
as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
| 57 |
|
as_echo_n_body='eval |
| 58 |
|
arg=$1; |
| 59 |
< |
case $arg in |
| 59 |
> |
case $arg in #( |
| 60 |
|
*"$as_nl"*) |
| 61 |
|
expr "X$arg" : "X\\(.*\\)$as_nl"; |
| 62 |
|
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
| 79 |
|
} |
| 80 |
|
fi |
| 81 |
|
|
| 81 |
– |
# Support unset when possible. |
| 82 |
– |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
| 83 |
– |
as_unset=unset |
| 84 |
– |
else |
| 85 |
– |
as_unset=false |
| 86 |
– |
fi |
| 87 |
– |
|
| 82 |
|
|
| 83 |
|
# IFS |
| 84 |
|
# We need space, tab and new line, in precisely that order. Quoting is |
| 88 |
|
IFS=" "" $as_nl" |
| 89 |
|
|
| 90 |
|
# Find who we are. Look in the path if we contain no directory separator. |
| 91 |
< |
case $0 in |
| 91 |
> |
case $0 in #(( |
| 92 |
|
*[\\/]* ) as_myself=$0 ;; |
| 93 |
|
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 94 |
|
for as_dir in $PATH |
| 95 |
|
do |
| 96 |
|
IFS=$as_save_IFS |
| 97 |
|
test -z "$as_dir" && as_dir=. |
| 98 |
< |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
| 99 |
< |
done |
| 98 |
> |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
| 99 |
> |
done |
| 100 |
|
IFS=$as_save_IFS |
| 101 |
|
|
| 102 |
|
;; |
| 108 |
|
fi |
| 109 |
|
if test ! -f "$as_myself"; then |
| 110 |
|
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
| 111 |
< |
{ (exit 1); exit 1; } |
| 111 |
> |
exit 1 |
| 112 |
|
fi |
| 113 |
|
|
| 114 |
< |
# Work around bugs in pre-3.0 UWIN ksh. |
| 115 |
< |
for as_var in ENV MAIL MAILPATH |
| 116 |
< |
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
| 114 |
> |
# Unset variables that we do not need and which cause bugs (e.g. in |
| 115 |
> |
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" |
| 116 |
> |
# suppresses any "Segmentation fault" message there. '((' could |
| 117 |
> |
# trigger a bug in pdksh 5.2.14. |
| 118 |
> |
for as_var in BASH_ENV ENV MAIL MAILPATH |
| 119 |
> |
do eval test x\${$as_var+set} = xset \ |
| 120 |
> |
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
| 121 |
|
done |
| 122 |
|
PS1='$ ' |
| 123 |
|
PS2='> ' |
| 129 |
|
LANGUAGE=C |
| 130 |
|
export LANGUAGE |
| 131 |
|
|
| 134 |
– |
# Required to use basename. |
| 135 |
– |
if expr a : '\(a\)' >/dev/null 2>&1 && |
| 136 |
– |
test "X`expr 00001 : '.*\(...\)'`" = X001; then |
| 137 |
– |
as_expr=expr |
| 138 |
– |
else |
| 139 |
– |
as_expr=false |
| 140 |
– |
fi |
| 141 |
– |
|
| 142 |
– |
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
| 143 |
– |
as_basename=basename |
| 144 |
– |
else |
| 145 |
– |
as_basename=false |
| 146 |
– |
fi |
| 147 |
– |
|
| 148 |
– |
|
| 149 |
– |
# Name of the executable. |
| 150 |
– |
as_me=`$as_basename -- "$0" || |
| 151 |
– |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
| 152 |
– |
X"$0" : 'X\(//\)$' \| \ |
| 153 |
– |
X"$0" : 'X\(/\)' \| . 2>/dev/null || |
| 154 |
– |
$as_echo X/"$0" | |
| 155 |
– |
sed '/^.*\/\([^/][^/]*\)\/*$/{ |
| 156 |
– |
s//\1/ |
| 157 |
– |
q |
| 158 |
– |
} |
| 159 |
– |
/^X\/\(\/\/\)$/{ |
| 160 |
– |
s//\1/ |
| 161 |
– |
q |
| 162 |
– |
} |
| 163 |
– |
/^X\/\(\/\).*/{ |
| 164 |
– |
s//\1/ |
| 165 |
– |
q |
| 166 |
– |
} |
| 167 |
– |
s/.*/./; q'` |
| 168 |
– |
|
| 132 |
|
# CDPATH. |
| 133 |
< |
$as_unset CDPATH |
| 171 |
< |
|
| 133 |
> |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
| 134 |
|
|
| 135 |
|
if test "x$CONFIG_SHELL" = x; then |
| 136 |
< |
if (eval ":") 2>/dev/null; then |
| 137 |
< |
as_have_required=yes |
| 136 |
> |
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : |
| 137 |
> |
emulate sh |
| 138 |
> |
NULLCMD=: |
| 139 |
> |
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which |
| 140 |
> |
# is contrary to our usage. Disable this feature. |
| 141 |
> |
alias -g '\${1+\"\$@\"}'='\"\$@\"' |
| 142 |
> |
setopt NO_GLOB_SUBST |
| 143 |
|
else |
| 144 |
< |
as_have_required=no |
| 144 |
> |
case \`(set -o) 2>/dev/null\` in #( |
| 145 |
> |
*posix*) : |
| 146 |
> |
set -o posix ;; #( |
| 147 |
> |
*) : |
| 148 |
> |
;; |
| 149 |
> |
esac |
| 150 |
|
fi |
| 151 |
< |
|
| 152 |
< |
if test $as_have_required = yes && (eval ": |
| 153 |
< |
(as_func_return () { |
| 154 |
< |
(exit \$1) |
| 155 |
< |
} |
| 156 |
< |
as_func_success () { |
| 185 |
< |
as_func_return 0 |
| 186 |
< |
} |
| 187 |
< |
as_func_failure () { |
| 188 |
< |
as_func_return 1 |
| 189 |
< |
} |
| 190 |
< |
as_func_ret_success () { |
| 191 |
< |
return 0 |
| 192 |
< |
} |
| 193 |
< |
as_func_ret_failure () { |
| 194 |
< |
return 1 |
| 195 |
< |
} |
| 151 |
> |
" |
| 152 |
> |
as_required="as_fn_return () { (exit \$1); } |
| 153 |
> |
as_fn_success () { as_fn_return 0; } |
| 154 |
> |
as_fn_failure () { as_fn_return 1; } |
| 155 |
> |
as_fn_ret_success () { return 0; } |
| 156 |
> |
as_fn_ret_failure () { return 1; } |
| 157 |
|
|
| 158 |
|
exitcode=0 |
| 159 |
< |
if as_func_success; then |
| 160 |
< |
: |
| 161 |
< |
else |
| 162 |
< |
exitcode=1 |
| 163 |
< |
echo as_func_success failed. |
| 164 |
< |
fi |
| 165 |
< |
|
| 166 |
< |
if as_func_failure; then |
| 167 |
< |
exitcode=1 |
| 168 |
< |
echo as_func_failure succeeded. |
| 169 |
< |
fi |
| 170 |
< |
|
| 171 |
< |
if as_func_ret_success; then |
| 172 |
< |
: |
| 173 |
< |
else |
| 174 |
< |
exitcode=1 |
| 175 |
< |
echo as_func_ret_success failed. |
| 215 |
< |
fi |
| 216 |
< |
|
| 217 |
< |
if as_func_ret_failure; then |
| 218 |
< |
exitcode=1 |
| 219 |
< |
echo as_func_ret_failure succeeded. |
| 220 |
< |
fi |
| 221 |
< |
|
| 222 |
< |
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then |
| 223 |
< |
: |
| 159 |
> |
as_fn_success || { exitcode=1; echo as_fn_success failed.; } |
| 160 |
> |
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } |
| 161 |
> |
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } |
| 162 |
> |
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } |
| 163 |
> |
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : |
| 164 |
> |
|
| 165 |
> |
else |
| 166 |
> |
exitcode=1; echo positional parameters were not saved. |
| 167 |
> |
fi |
| 168 |
> |
test x\$exitcode = x0 || exit 1" |
| 169 |
> |
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO |
| 170 |
> |
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
| 171 |
> |
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && |
| 172 |
> |
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 |
| 173 |
> |
test \$(( 1 + 1 )) = 2 || exit 1" |
| 174 |
> |
if (eval "$as_required") 2>/dev/null; then : |
| 175 |
> |
as_have_required=yes |
| 176 |
|
else |
| 177 |
< |
exitcode=1 |
| 226 |
< |
echo positional parameters were not saved. |
| 177 |
> |
as_have_required=no |
| 178 |
|
fi |
| 179 |
+ |
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : |
| 180 |
|
|
| 229 |
– |
test \$exitcode = 0) || { (exit 1); exit 1; } |
| 230 |
– |
|
| 231 |
– |
( |
| 232 |
– |
as_lineno_1=\$LINENO |
| 233 |
– |
as_lineno_2=\$LINENO |
| 234 |
– |
test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && |
| 235 |
– |
test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } |
| 236 |
– |
") 2> /dev/null; then |
| 237 |
– |
: |
| 181 |
|
else |
| 182 |
< |
as_candidate_shells= |
| 183 |
< |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 182 |
> |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 183 |
> |
as_found=false |
| 184 |
|
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
| 185 |
|
do |
| 186 |
|
IFS=$as_save_IFS |
| 187 |
|
test -z "$as_dir" && as_dir=. |
| 188 |
< |
case $as_dir in |
| 188 |
> |
as_found=: |
| 189 |
> |
case $as_dir in #( |
| 190 |
|
/*) |
| 191 |
|
for as_base in sh bash ksh sh5; do |
| 192 |
< |
as_candidate_shells="$as_candidate_shells $as_dir/$as_base" |
| 192 |
> |
# Try only shells that exist, to save several forks. |
| 193 |
> |
as_shell=$as_dir/$as_base |
| 194 |
> |
if { test -f "$as_shell" || test -f "$as_shell.exe"; } && |
| 195 |
> |
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : |
| 196 |
> |
CONFIG_SHELL=$as_shell as_have_required=yes |
| 197 |
> |
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : |
| 198 |
> |
break 2 |
| 199 |
> |
fi |
| 200 |
> |
fi |
| 201 |
|
done;; |
| 202 |
|
esac |
| 203 |
+ |
as_found=false |
| 204 |
|
done |
| 205 |
+ |
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && |
| 206 |
+ |
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : |
| 207 |
+ |
CONFIG_SHELL=$SHELL as_have_required=yes |
| 208 |
+ |
fi; } |
| 209 |
|
IFS=$as_save_IFS |
| 210 |
|
|
| 211 |
|
|
| 212 |
< |
for as_shell in $as_candidate_shells $SHELL; do |
| 213 |
< |
# Try only shells that exist, to save several forks. |
| 214 |
< |
if { test -f "$as_shell" || test -f "$as_shell.exe"; } && |
| 215 |
< |
{ ("$as_shell") 2> /dev/null <<\_ASEOF |
| 216 |
< |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
| 217 |
< |
emulate sh |
| 218 |
< |
NULLCMD=: |
| 262 |
< |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
| 263 |
< |
# is contrary to our usage. Disable this feature. |
| 264 |
< |
alias -g '${1+"$@"}'='"$@"' |
| 265 |
< |
setopt NO_GLOB_SUBST |
| 266 |
< |
else |
| 267 |
< |
case `(set -o) 2>/dev/null` in |
| 268 |
< |
*posix*) set -o posix ;; |
| 269 |
< |
esac |
| 270 |
< |
|
| 271 |
< |
fi |
| 272 |
< |
|
| 273 |
< |
|
| 274 |
< |
: |
| 275 |
< |
_ASEOF |
| 276 |
< |
}; then |
| 277 |
< |
CONFIG_SHELL=$as_shell |
| 278 |
< |
as_have_required=yes |
| 279 |
< |
if { "$as_shell" 2> /dev/null <<\_ASEOF |
| 280 |
< |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
| 281 |
< |
emulate sh |
| 282 |
< |
NULLCMD=: |
| 283 |
< |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
| 284 |
< |
# is contrary to our usage. Disable this feature. |
| 285 |
< |
alias -g '${1+"$@"}'='"$@"' |
| 286 |
< |
setopt NO_GLOB_SUBST |
| 287 |
< |
else |
| 288 |
< |
case `(set -o) 2>/dev/null` in |
| 289 |
< |
*posix*) set -o posix ;; |
| 290 |
< |
esac |
| 291 |
< |
|
| 292 |
< |
fi |
| 293 |
< |
|
| 294 |
< |
|
| 295 |
< |
: |
| 296 |
< |
(as_func_return () { |
| 297 |
< |
(exit $1) |
| 298 |
< |
} |
| 299 |
< |
as_func_success () { |
| 300 |
< |
as_func_return 0 |
| 301 |
< |
} |
| 302 |
< |
as_func_failure () { |
| 303 |
< |
as_func_return 1 |
| 304 |
< |
} |
| 305 |
< |
as_func_ret_success () { |
| 306 |
< |
return 0 |
| 307 |
< |
} |
| 308 |
< |
as_func_ret_failure () { |
| 309 |
< |
return 1 |
| 310 |
< |
} |
| 311 |
< |
|
| 312 |
< |
exitcode=0 |
| 313 |
< |
if as_func_success; then |
| 314 |
< |
: |
| 315 |
< |
else |
| 316 |
< |
exitcode=1 |
| 317 |
< |
echo as_func_success failed. |
| 318 |
< |
fi |
| 319 |
< |
|
| 320 |
< |
if as_func_failure; then |
| 321 |
< |
exitcode=1 |
| 322 |
< |
echo as_func_failure succeeded. |
| 323 |
< |
fi |
| 324 |
< |
|
| 325 |
< |
if as_func_ret_success; then |
| 326 |
< |
: |
| 327 |
< |
else |
| 328 |
< |
exitcode=1 |
| 329 |
< |
echo as_func_ret_success failed. |
| 330 |
< |
fi |
| 331 |
< |
|
| 332 |
< |
if as_func_ret_failure; then |
| 333 |
< |
exitcode=1 |
| 334 |
< |
echo as_func_ret_failure succeeded. |
| 335 |
< |
fi |
| 336 |
< |
|
| 337 |
< |
if ( set x; as_func_ret_success y && test x = "$1" ); then |
| 338 |
< |
: |
| 339 |
< |
else |
| 340 |
< |
exitcode=1 |
| 341 |
< |
echo positional parameters were not saved. |
| 342 |
< |
fi |
| 343 |
< |
|
| 344 |
< |
test $exitcode = 0) || { (exit 1); exit 1; } |
| 345 |
< |
|
| 346 |
< |
( |
| 347 |
< |
as_lineno_1=$LINENO |
| 348 |
< |
as_lineno_2=$LINENO |
| 349 |
< |
test "x$as_lineno_1" != "x$as_lineno_2" && |
| 350 |
< |
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } |
| 351 |
< |
|
| 352 |
< |
_ASEOF |
| 353 |
< |
}; then |
| 354 |
< |
break |
| 355 |
< |
fi |
| 356 |
< |
|
| 357 |
< |
fi |
| 358 |
< |
|
| 359 |
< |
done |
| 360 |
< |
|
| 361 |
< |
if test "x$CONFIG_SHELL" != x; then |
| 362 |
< |
for as_var in BASH_ENV ENV |
| 363 |
< |
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
| 364 |
< |
done |
| 212 |
> |
if test "x$CONFIG_SHELL" != x; then : |
| 213 |
> |
# We cannot yet assume a decent shell, so we have to provide a |
| 214 |
> |
# neutralization value for shells without unset; and this also |
| 215 |
> |
# works around shells that cannot unset nonexistent variables. |
| 216 |
> |
BASH_ENV=/dev/null |
| 217 |
> |
ENV=/dev/null |
| 218 |
> |
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
| 219 |
|
export CONFIG_SHELL |
| 220 |
|
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} |
| 221 |
|
fi |
| 222 |
|
|
| 223 |
< |
|
| 224 |
< |
if test $as_have_required = no; then |
| 225 |
< |
echo This script requires a shell more modern than all the |
| 226 |
< |
echo shells that I found on your system. Please install a |
| 227 |
< |
echo modern shell, or manually run the script under such a |
| 228 |
< |
echo shell if you do have one. |
| 229 |
< |
{ (exit 1); exit 1; } |
| 223 |
> |
if test x$as_have_required = xno; then : |
| 224 |
> |
$as_echo "$0: This script requires a shell more modern than all" |
| 225 |
> |
$as_echo "$0: the shells that I found on your system." |
| 226 |
> |
if test x${ZSH_VERSION+set} = xset ; then |
| 227 |
> |
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" |
| 228 |
> |
$as_echo "$0: be upgraded to zsh 4.3.4 or later." |
| 229 |
> |
else |
| 230 |
> |
$as_echo "$0: Please tell bug-autoconf@gnu.org about your system, |
| 231 |
> |
$0: including any error possibly output before this |
| 232 |
> |
$0: message. Then install a modern shell, or manually run |
| 233 |
> |
$0: the script under such a shell if you do have one." |
| 234 |
> |
fi |
| 235 |
> |
exit 1 |
| 236 |
|
fi |
| 377 |
– |
|
| 378 |
– |
|
| 237 |
|
fi |
| 380 |
– |
|
| 238 |
|
fi |
| 239 |
+ |
SHELL=${CONFIG_SHELL-/bin/sh} |
| 240 |
+ |
export SHELL |
| 241 |
+ |
# Unset more variables known to interfere with behavior of common tools. |
| 242 |
+ |
CLICOLOR_FORCE= GREP_OPTIONS= |
| 243 |
+ |
unset CLICOLOR_FORCE GREP_OPTIONS |
| 244 |
+ |
|
| 245 |
+ |
## --------------------- ## |
| 246 |
+ |
## M4sh Shell Functions. ## |
| 247 |
+ |
## --------------------- ## |
| 248 |
+ |
# as_fn_unset VAR |
| 249 |
+ |
# --------------- |
| 250 |
+ |
# Portably unset VAR. |
| 251 |
+ |
as_fn_unset () |
| 252 |
+ |
{ |
| 253 |
+ |
{ eval $1=; unset $1;} |
| 254 |
+ |
} |
| 255 |
+ |
as_unset=as_fn_unset |
| 256 |
+ |
|
| 257 |
+ |
# as_fn_set_status STATUS |
| 258 |
+ |
# ----------------------- |
| 259 |
+ |
# Set $? to STATUS, without forking. |
| 260 |
+ |
as_fn_set_status () |
| 261 |
+ |
{ |
| 262 |
+ |
return $1 |
| 263 |
+ |
} # as_fn_set_status |
| 264 |
+ |
|
| 265 |
+ |
# as_fn_exit STATUS |
| 266 |
+ |
# ----------------- |
| 267 |
+ |
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
| 268 |
+ |
as_fn_exit () |
| 269 |
+ |
{ |
| 270 |
+ |
set +e |
| 271 |
+ |
as_fn_set_status $1 |
| 272 |
+ |
exit $1 |
| 273 |
+ |
} # as_fn_exit |
| 274 |
+ |
|
| 275 |
+ |
# as_fn_mkdir_p |
| 276 |
+ |
# ------------- |
| 277 |
+ |
# Create "$as_dir" as a directory, including parents if necessary. |
| 278 |
+ |
as_fn_mkdir_p () |
| 279 |
+ |
{ |
| 280 |
|
|
| 281 |
+ |
case $as_dir in #( |
| 282 |
+ |
-*) as_dir=./$as_dir;; |
| 283 |
+ |
esac |
| 284 |
+ |
test -d "$as_dir" || eval $as_mkdir_p || { |
| 285 |
+ |
as_dirs= |
| 286 |
+ |
while :; do |
| 287 |
+ |
case $as_dir in #( |
| 288 |
+ |
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
| 289 |
+ |
*) as_qdir=$as_dir;; |
| 290 |
+ |
esac |
| 291 |
+ |
as_dirs="'$as_qdir' $as_dirs" |
| 292 |
+ |
as_dir=`$as_dirname -- "$as_dir" || |
| 293 |
+ |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 294 |
+ |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
| 295 |
+ |
X"$as_dir" : 'X\(//\)$' \| \ |
| 296 |
+ |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
| 297 |
+ |
$as_echo X"$as_dir" | |
| 298 |
+ |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 299 |
+ |
s//\1/ |
| 300 |
+ |
q |
| 301 |
+ |
} |
| 302 |
+ |
/^X\(\/\/\)[^/].*/{ |
| 303 |
+ |
s//\1/ |
| 304 |
+ |
q |
| 305 |
+ |
} |
| 306 |
+ |
/^X\(\/\/\)$/{ |
| 307 |
+ |
s//\1/ |
| 308 |
+ |
q |
| 309 |
+ |
} |
| 310 |
+ |
/^X\(\/\).*/{ |
| 311 |
+ |
s//\1/ |
| 312 |
+ |
q |
| 313 |
+ |
} |
| 314 |
+ |
s/.*/./; q'` |
| 315 |
+ |
test -d "$as_dir" && break |
| 316 |
+ |
done |
| 317 |
+ |
test -z "$as_dirs" || eval "mkdir $as_dirs" |
| 318 |
+ |
} || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" |
| 319 |
|
|
| 320 |
|
|
| 321 |
< |
(eval "as_func_return () { |
| 322 |
< |
(exit \$1) |
| 323 |
< |
} |
| 324 |
< |
as_func_success () { |
| 325 |
< |
as_func_return 0 |
| 326 |
< |
} |
| 327 |
< |
as_func_failure () { |
| 328 |
< |
as_func_return 1 |
| 329 |
< |
} |
| 330 |
< |
as_func_ret_success () { |
| 331 |
< |
return 0 |
| 332 |
< |
} |
| 333 |
< |
as_func_ret_failure () { |
| 334 |
< |
return 1 |
| 335 |
< |
} |
| 321 |
> |
} # as_fn_mkdir_p |
| 322 |
> |
# as_fn_append VAR VALUE |
| 323 |
> |
# ---------------------- |
| 324 |
> |
# Append the text in VALUE to the end of the definition contained in VAR. Take |
| 325 |
> |
# advantage of any shell optimizations that allow amortized linear growth over |
| 326 |
> |
# repeated appends, instead of the typical quadratic growth present in naive |
| 327 |
> |
# implementations. |
| 328 |
> |
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : |
| 329 |
> |
eval 'as_fn_append () |
| 330 |
> |
{ |
| 331 |
> |
eval $1+=\$2 |
| 332 |
> |
}' |
| 333 |
> |
else |
| 334 |
> |
as_fn_append () |
| 335 |
> |
{ |
| 336 |
> |
eval $1=\$$1\$2 |
| 337 |
> |
} |
| 338 |
> |
fi # as_fn_append |
| 339 |
|
|
| 340 |
< |
exitcode=0 |
| 341 |
< |
if as_func_success; then |
| 342 |
< |
: |
| 340 |
> |
# as_fn_arith ARG... |
| 341 |
> |
# ------------------ |
| 342 |
> |
# Perform arithmetic evaluation on the ARGs, and store the result in the |
| 343 |
> |
# global $as_val. Take advantage of shells that can avoid forks. The arguments |
| 344 |
> |
# must be portable across $(()) and expr. |
| 345 |
> |
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : |
| 346 |
> |
eval 'as_fn_arith () |
| 347 |
> |
{ |
| 348 |
> |
as_val=$(( $* )) |
| 349 |
> |
}' |
| 350 |
|
else |
| 351 |
< |
exitcode=1 |
| 352 |
< |
echo as_func_success failed. |
| 353 |
< |
fi |
| 351 |
> |
as_fn_arith () |
| 352 |
> |
{ |
| 353 |
> |
as_val=`expr "$@" || test $? -eq 1` |
| 354 |
> |
} |
| 355 |
> |
fi # as_fn_arith |
| 356 |
|
|
| 409 |
– |
if as_func_failure; then |
| 410 |
– |
exitcode=1 |
| 411 |
– |
echo as_func_failure succeeded. |
| 412 |
– |
fi |
| 357 |
|
|
| 358 |
< |
if as_func_ret_success; then |
| 359 |
< |
: |
| 358 |
> |
# as_fn_error ERROR [LINENO LOG_FD] |
| 359 |
> |
# --------------------------------- |
| 360 |
> |
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
| 361 |
> |
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
| 362 |
> |
# script with status $?, using 1 if that was 0. |
| 363 |
> |
as_fn_error () |
| 364 |
> |
{ |
| 365 |
> |
as_status=$?; test $as_status -eq 0 && as_status=1 |
| 366 |
> |
if test "$3"; then |
| 367 |
> |
as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 368 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 |
| 369 |
> |
fi |
| 370 |
> |
$as_echo "$as_me: error: $1" >&2 |
| 371 |
> |
as_fn_exit $as_status |
| 372 |
> |
} # as_fn_error |
| 373 |
> |
|
| 374 |
> |
if expr a : '\(a\)' >/dev/null 2>&1 && |
| 375 |
> |
test "X`expr 00001 : '.*\(...\)'`" = X001; then |
| 376 |
> |
as_expr=expr |
| 377 |
|
else |
| 378 |
< |
exitcode=1 |
| 418 |
< |
echo as_func_ret_success failed. |
| 378 |
> |
as_expr=false |
| 379 |
|
fi |
| 380 |
|
|
| 381 |
< |
if as_func_ret_failure; then |
| 382 |
< |
exitcode=1 |
| 383 |
< |
echo as_func_ret_failure succeeded. |
| 381 |
> |
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
| 382 |
> |
as_basename=basename |
| 383 |
> |
else |
| 384 |
> |
as_basename=false |
| 385 |
|
fi |
| 386 |
|
|
| 387 |
< |
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then |
| 388 |
< |
: |
| 387 |
> |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
| 388 |
> |
as_dirname=dirname |
| 389 |
|
else |
| 390 |
< |
exitcode=1 |
| 430 |
< |
echo positional parameters were not saved. |
| 390 |
> |
as_dirname=false |
| 391 |
|
fi |
| 392 |
|
|
| 393 |
< |
test \$exitcode = 0") || { |
| 394 |
< |
echo No shell found that supports shell functions. |
| 395 |
< |
echo Please tell bug-autoconf@gnu.org about your system, |
| 396 |
< |
echo including any error possibly output before this message. |
| 397 |
< |
echo This can help us improve future autoconf versions. |
| 398 |
< |
echo Configuration will now proceed without shell functions. |
| 399 |
< |
} |
| 393 |
> |
as_me=`$as_basename -- "$0" || |
| 394 |
> |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
| 395 |
> |
X"$0" : 'X\(//\)$' \| \ |
| 396 |
> |
X"$0" : 'X\(/\)' \| . 2>/dev/null || |
| 397 |
> |
$as_echo X/"$0" | |
| 398 |
> |
sed '/^.*\/\([^/][^/]*\)\/*$/{ |
| 399 |
> |
s//\1/ |
| 400 |
> |
q |
| 401 |
> |
} |
| 402 |
> |
/^X\/\(\/\/\)$/{ |
| 403 |
> |
s//\1/ |
| 404 |
> |
q |
| 405 |
> |
} |
| 406 |
> |
/^X\/\(\/\).*/{ |
| 407 |
> |
s//\1/ |
| 408 |
> |
q |
| 409 |
> |
} |
| 410 |
> |
s/.*/./; q'` |
| 411 |
|
|
| 412 |
+ |
# Avoid depending upon Character Ranges. |
| 413 |
+ |
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
| 414 |
+ |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
| 415 |
+ |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
| 416 |
+ |
as_cr_digits='0123456789' |
| 417 |
+ |
as_cr_alnum=$as_cr_Letters$as_cr_digits |
| 418 |
|
|
| 419 |
|
|
| 420 |
< |
as_lineno_1=$LINENO |
| 421 |
< |
as_lineno_2=$LINENO |
| 422 |
< |
test "x$as_lineno_1" != "x$as_lineno_2" && |
| 423 |
< |
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { |
| 424 |
< |
|
| 448 |
< |
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
| 449 |
< |
# uniformly replaced by the line number. The first 'sed' inserts a |
| 450 |
< |
# line-number line after each line using $LINENO; the second 'sed' |
| 451 |
< |
# does the real work. The second script uses 'N' to pair each |
| 452 |
< |
# line-number line with the line containing $LINENO, and appends |
| 453 |
< |
# trailing '-' during substitution so that $LINENO is not a special |
| 454 |
< |
# case at line end. |
| 455 |
< |
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
| 456 |
< |
# scripts with optimization help from Paolo Bonzini. Blame Lee |
| 457 |
< |
# E. McMahon (1931-1989) for sed's syntax. :-) |
| 420 |
> |
as_lineno_1=$LINENO as_lineno_1a=$LINENO |
| 421 |
> |
as_lineno_2=$LINENO as_lineno_2a=$LINENO |
| 422 |
> |
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && |
| 423 |
> |
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { |
| 424 |
> |
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) |
| 425 |
|
sed -n ' |
| 426 |
|
p |
| 427 |
|
/[$]LINENO/= |
| 438 |
|
s/-\n.*// |
| 439 |
|
' >$as_me.lineno && |
| 440 |
|
chmod +x "$as_me.lineno" || |
| 441 |
< |
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
| 475 |
< |
{ (exit 1); exit 1; }; } |
| 441 |
> |
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } |
| 442 |
|
|
| 443 |
|
# Don't try to exec as it changes $[0], causing all sort of problems |
| 444 |
|
# (the dirname of $[0] is not the place where we might find the |
| 448 |
|
exit |
| 449 |
|
} |
| 450 |
|
|
| 485 |
– |
|
| 486 |
– |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
| 487 |
– |
as_dirname=dirname |
| 488 |
– |
else |
| 489 |
– |
as_dirname=false |
| 490 |
– |
fi |
| 491 |
– |
|
| 451 |
|
ECHO_C= ECHO_N= ECHO_T= |
| 452 |
< |
case `echo -n x` in |
| 452 |
> |
case `echo -n x` in #((((( |
| 453 |
|
-n*) |
| 454 |
< |
case `echo 'x\c'` in |
| 454 |
> |
case `echo 'xy\c'` in |
| 455 |
|
*c*) ECHO_T=' ';; # ECHO_T is single tab character. |
| 456 |
< |
*) ECHO_C='\c';; |
| 456 |
> |
xy) ECHO_C='\c';; |
| 457 |
> |
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
| 458 |
> |
ECHO_T=' ';; |
| 459 |
|
esac;; |
| 460 |
|
*) |
| 461 |
|
ECHO_N='-n';; |
| 462 |
|
esac |
| 502 |
– |
if expr a : '\(a\)' >/dev/null 2>&1 && |
| 503 |
– |
test "X`expr 00001 : '.*\(...\)'`" = X001; then |
| 504 |
– |
as_expr=expr |
| 505 |
– |
else |
| 506 |
– |
as_expr=false |
| 507 |
– |
fi |
| 463 |
|
|
| 464 |
|
rm -f conf$$ conf$$.exe conf$$.file |
| 465 |
|
if test -d conf$$.dir; then |
| 489 |
|
rmdir conf$$.dir 2>/dev/null |
| 490 |
|
|
| 491 |
|
if mkdir -p . 2>/dev/null; then |
| 492 |
< |
as_mkdir_p=: |
| 492 |
> |
as_mkdir_p='mkdir -p "$as_dir"' |
| 493 |
|
else |
| 494 |
|
test -d ./-p && rmdir ./-p |
| 495 |
|
as_mkdir_p=false |
| 508 |
|
if test -d "$1"; then |
| 509 |
|
test -d "$1/."; |
| 510 |
|
else |
| 511 |
< |
case $1 in |
| 511 |
> |
case $1 in #( |
| 512 |
|
-*)set "./$1";; |
| 513 |
|
esac; |
| 514 |
< |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in |
| 514 |
> |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( |
| 515 |
|
???[sx]*):;;*)false;;esac;fi |
| 516 |
|
'\'' sh |
| 517 |
|
' |
| 526 |
|
|
| 527 |
|
|
| 528 |
|
|
| 574 |
– |
|
| 529 |
|
# Check that we are running under the correct shell. |
| 530 |
|
SHELL=${CONFIG_SHELL-/bin/sh} |
| 531 |
|
|
| 696 |
|
subdirs= |
| 697 |
|
MFLAGS= |
| 698 |
|
MAKEFLAGS= |
| 745 |
– |
SHELL=${CONFIG_SHELL-/bin/sh} |
| 699 |
|
|
| 700 |
|
# Identity of this package. |
| 701 |
|
PACKAGE_NAME='ircd-hybrid' |
| 703 |
|
PACKAGE_VERSION='7.2.4' |
| 704 |
|
PACKAGE_STRING='ircd-hybrid 7.2.4' |
| 705 |
|
PACKAGE_BUGREPORT='' |
| 706 |
+ |
PACKAGE_URL='' |
| 707 |
|
|
| 708 |
|
ac_unique_file="src/ircd.c" |
| 709 |
|
# Factoring default headers for most tests. |
| 760 |
|
EFNET_TRUE |
| 761 |
|
ENABLE_SSL_FALSE |
| 762 |
|
ENABLE_SSL_TRUE |
| 763 |
< |
HAVE_CRYPT_FALSE |
| 764 |
< |
HAVE_CRYPT_TRUE |
| 763 |
> |
ENABLE_PCRE_FALSE |
| 764 |
> |
ENABLE_PCRE_TRUE |
| 765 |
|
LTDLOPEN |
| 766 |
|
LT_CONFIG_H |
| 767 |
|
subdirs |
| 886 |
|
program_transform_name |
| 887 |
|
prefix |
| 888 |
|
exec_prefix |
| 889 |
+ |
PACKAGE_URL |
| 890 |
|
PACKAGE_BUGREPORT |
| 891 |
|
PACKAGE_STRING |
| 892 |
|
PACKAGE_VERSION |
| 899 |
|
enable_option_checking |
| 900 |
|
enable_maintainer_mode |
| 901 |
|
enable_dependency_tracking |
| 947 |
– |
enable_shared |
| 902 |
|
enable_static |
| 903 |
+ |
enable_shared |
| 904 |
|
with_pic |
| 905 |
|
enable_fast_install |
| 906 |
|
with_gnu_ld |
| 911 |
|
enable_ltdl_install |
| 912 |
|
with_zlib_path |
| 913 |
|
enable_zlib |
| 914 |
+ |
with_libpcre_path |
| 915 |
+ |
enable_libpcre |
| 916 |
|
enable_openssl |
| 917 |
|
enable_assert |
| 918 |
|
enable_small_net |
| 1050 |
|
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
| 1051 |
|
# Reject names that are not valid shell variable names. |
| 1052 |
|
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
| 1053 |
< |
{ $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 |
| 1097 |
< |
{ (exit 1); exit 1; }; } |
| 1053 |
> |
as_fn_error "invalid feature name: $ac_useropt" |
| 1054 |
|
ac_useropt_orig=$ac_useropt |
| 1055 |
|
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
| 1056 |
|
case $ac_user_opts in |
| 1076 |
|
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
| 1077 |
|
# Reject names that are not valid shell variable names. |
| 1078 |
|
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
| 1079 |
< |
{ $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 |
| 1124 |
< |
{ (exit 1); exit 1; }; } |
| 1079 |
> |
as_fn_error "invalid feature name: $ac_useropt" |
| 1080 |
|
ac_useropt_orig=$ac_useropt |
| 1081 |
|
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
| 1082 |
|
case $ac_user_opts in |
| 1280 |
|
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
| 1281 |
|
# Reject names that are not valid shell variable names. |
| 1282 |
|
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
| 1283 |
< |
{ $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 |
| 1329 |
< |
{ (exit 1); exit 1; }; } |
| 1283 |
> |
as_fn_error "invalid package name: $ac_useropt" |
| 1284 |
|
ac_useropt_orig=$ac_useropt |
| 1285 |
|
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
| 1286 |
|
case $ac_user_opts in |
| 1296 |
|
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
| 1297 |
|
# Reject names that are not valid shell variable names. |
| 1298 |
|
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
| 1299 |
< |
{ $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 |
| 1346 |
< |
{ (exit 1); exit 1; }; } |
| 1299 |
> |
as_fn_error "invalid package name: $ac_useropt" |
| 1300 |
|
ac_useropt_orig=$ac_useropt |
| 1301 |
|
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
| 1302 |
|
case $ac_user_opts in |
| 1326 |
|
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
| 1327 |
|
x_libraries=$ac_optarg ;; |
| 1328 |
|
|
| 1329 |
< |
-*) { $as_echo "$as_me: error: unrecognized option: $ac_option |
| 1330 |
< |
Try \`$0 --help' for more information." >&2 |
| 1378 |
< |
{ (exit 1); exit 1; }; } |
| 1329 |
> |
-*) as_fn_error "unrecognized option: \`$ac_option' |
| 1330 |
> |
Try \`$0 --help' for more information." |
| 1331 |
|
;; |
| 1332 |
|
|
| 1333 |
|
*=*) |
| 1334 |
|
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
| 1335 |
|
# Reject names that are not valid shell variable names. |
| 1336 |
< |
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && |
| 1337 |
< |
{ $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 |
| 1338 |
< |
{ (exit 1); exit 1; }; } |
| 1336 |
> |
case $ac_envvar in #( |
| 1337 |
> |
'' | [0-9]* | *[!_$as_cr_alnum]* ) |
| 1338 |
> |
as_fn_error "invalid variable name: \`$ac_envvar'" ;; |
| 1339 |
> |
esac |
| 1340 |
|
eval $ac_envvar=\$ac_optarg |
| 1341 |
|
export $ac_envvar ;; |
| 1342 |
|
|
| 1353 |
|
|
| 1354 |
|
if test -n "$ac_prev"; then |
| 1355 |
|
ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
| 1356 |
< |
{ $as_echo "$as_me: error: missing argument to $ac_option" >&2 |
| 1404 |
< |
{ (exit 1); exit 1; }; } |
| 1356 |
> |
as_fn_error "missing argument to $ac_option" |
| 1357 |
|
fi |
| 1358 |
|
|
| 1359 |
|
if test -n "$ac_unrecognized_opts"; then |
| 1360 |
|
case $enable_option_checking in |
| 1361 |
|
no) ;; |
| 1362 |
< |
fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2 |
| 1411 |
< |
{ (exit 1); exit 1; }; } ;; |
| 1362 |
> |
fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; |
| 1363 |
|
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
| 1364 |
|
esac |
| 1365 |
|
fi |
| 1382 |
|
[\\/$]* | ?:[\\/]* ) continue;; |
| 1383 |
|
NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
| 1384 |
|
esac |
| 1385 |
< |
{ $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
| 1435 |
< |
{ (exit 1); exit 1; }; } |
| 1385 |
> |
as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" |
| 1386 |
|
done |
| 1387 |
|
|
| 1388 |
|
# There might be people who depend on the old broken behavior: `$host' |
| 1412 |
|
ac_pwd=`pwd` && test -n "$ac_pwd" && |
| 1413 |
|
ac_ls_di=`ls -di .` && |
| 1414 |
|
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
| 1415 |
< |
{ $as_echo "$as_me: error: working directory cannot be determined" >&2 |
| 1466 |
< |
{ (exit 1); exit 1; }; } |
| 1415 |
> |
as_fn_error "working directory cannot be determined" |
| 1416 |
|
test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
| 1417 |
< |
{ $as_echo "$as_me: error: pwd does not report name of working directory" >&2 |
| 1469 |
< |
{ (exit 1); exit 1; }; } |
| 1417 |
> |
as_fn_error "pwd does not report name of working directory" |
| 1418 |
|
|
| 1419 |
|
|
| 1420 |
|
# Find the source files, if location was not specified. |
| 1453 |
|
fi |
| 1454 |
|
if test ! -r "$srcdir/$ac_unique_file"; then |
| 1455 |
|
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
| 1456 |
< |
{ $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 |
| 1509 |
< |
{ (exit 1); exit 1; }; } |
| 1456 |
> |
as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" |
| 1457 |
|
fi |
| 1458 |
|
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
| 1459 |
|
ac_abs_confdir=`( |
| 1460 |
< |
cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 |
| 1514 |
< |
{ (exit 1); exit 1; }; } |
| 1460 |
> |
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" |
| 1461 |
|
pwd)` |
| 1462 |
|
# When building in place, set srcdir=. |
| 1463 |
|
if test "$ac_abs_confdir" = "$ac_pwd"; then |
| 1565 |
|
(and sometimes confusing) to the casual installer |
| 1566 |
|
--disable-dependency-tracking speeds up one-time build |
| 1567 |
|
--enable-dependency-tracking do not reject slow dependency extractors |
| 1568 |
+ |
--enable-static[=PKGS] build static libraries [default=no] |
| 1569 |
|
--enable-shared[=PKGS] build shared libraries [default=yes] |
| 1623 |
– |
--enable-static[=PKGS] build static libraries [default=yes] |
| 1570 |
|
--enable-fast-install[=PKGS] |
| 1571 |
|
optimize for fast installation [default=yes] |
| 1572 |
|
--disable-libtool-lock avoid locking (might break parallel builds) |
| 1573 |
|
--enable-ltdl-install install libltdl |
| 1574 |
|
--disable-zlib Disable ziplinks support |
| 1575 |
+ |
--disable-libpcre Disable PCRE support |
| 1576 |
|
--enable-openssl=DIR Enable OpenSSL support (DIR optional). |
| 1577 |
|
--disable-openssl Disable OpenSSL support. |
| 1578 |
|
--enable-assert Enable assert() statements |
| 1601 |
|
--with-ltdl-include=DIR use the ltdl headers installed in DIR |
| 1602 |
|
--with-ltdl-lib=DIR use the libltdl.la installed in DIR |
| 1603 |
|
--with-zlib-path=DIR Path to libz.so for ziplinks support. |
| 1604 |
+ |
--with-libpcre-path=DIR Path to libpcre.so for PCRE support. |
| 1605 |
|
--with-nicklen=<value> Set nickname length (default 9). |
| 1606 |
|
--with-topiclen=<value> Set topic length (default 160). |
| 1607 |
|
--with-syslog-facility=LOG |
| 1626 |
|
Use these variables to override the choices made by `configure' or to help |
| 1627 |
|
it to find libraries and programs with nonstandard names/locations. |
| 1628 |
|
|
| 1629 |
+ |
Report bugs to the package provider. |
| 1630 |
|
_ACEOF |
| 1631 |
|
ac_status=$? |
| 1632 |
|
fi |
| 1690 |
|
if $ac_init_version; then |
| 1691 |
|
cat <<\_ACEOF |
| 1692 |
|
ircd-hybrid configure 7.2.4 |
| 1693 |
< |
generated by GNU Autoconf 2.63 |
| 1693 |
> |
generated by GNU Autoconf 2.64 |
| 1694 |
|
|
| 1695 |
< |
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
| 1747 |
< |
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. |
| 1695 |
> |
Copyright (C) 2009 Free Software Foundation, Inc. |
| 1696 |
|
This configure script is free software; the Free Software Foundation |
| 1697 |
|
gives unlimited permission to copy, distribute and modify it. |
| 1698 |
|
_ACEOF |
| 1699 |
|
exit |
| 1700 |
|
fi |
| 1701 |
+ |
|
| 1702 |
+ |
## ------------------------ ## |
| 1703 |
+ |
## Autoconf initialization. ## |
| 1704 |
+ |
## ------------------------ ## |
| 1705 |
+ |
|
| 1706 |
+ |
# ac_fn_c_try_compile LINENO |
| 1707 |
+ |
# -------------------------- |
| 1708 |
+ |
# Try to compile conftest.$ac_ext, and return whether this succeeded. |
| 1709 |
+ |
ac_fn_c_try_compile () |
| 1710 |
+ |
{ |
| 1711 |
+ |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 1712 |
+ |
rm -f conftest.$ac_objext |
| 1713 |
+ |
if { { ac_try="$ac_compile" |
| 1714 |
+ |
case "(($ac_try" in |
| 1715 |
+ |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 1716 |
+ |
*) ac_try_echo=$ac_try;; |
| 1717 |
+ |
esac |
| 1718 |
+ |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 1719 |
+ |
$as_echo "$ac_try_echo"; } >&5 |
| 1720 |
+ |
(eval "$ac_compile") 2>conftest.err |
| 1721 |
+ |
ac_status=$? |
| 1722 |
+ |
if test -s conftest.err; then |
| 1723 |
+ |
grep -v '^ *+' conftest.err >conftest.er1 |
| 1724 |
+ |
cat conftest.er1 >&5 |
| 1725 |
+ |
mv -f conftest.er1 conftest.err |
| 1726 |
+ |
fi |
| 1727 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 1728 |
+ |
test $ac_status = 0; } && { |
| 1729 |
+ |
test -z "$ac_c_werror_flag" || |
| 1730 |
+ |
test ! -s conftest.err |
| 1731 |
+ |
} && test -s conftest.$ac_objext; then : |
| 1732 |
+ |
ac_retval=0 |
| 1733 |
+ |
else |
| 1734 |
+ |
$as_echo "$as_me: failed program was:" >&5 |
| 1735 |
+ |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 1736 |
+ |
|
| 1737 |
+ |
ac_retval=1 |
| 1738 |
+ |
fi |
| 1739 |
+ |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 1740 |
+ |
return $ac_retval |
| 1741 |
+ |
|
| 1742 |
+ |
} # ac_fn_c_try_compile |
| 1743 |
+ |
|
| 1744 |
+ |
# ac_fn_c_try_link LINENO |
| 1745 |
+ |
# ----------------------- |
| 1746 |
+ |
# Try to link conftest.$ac_ext, and return whether this succeeded. |
| 1747 |
+ |
ac_fn_c_try_link () |
| 1748 |
+ |
{ |
| 1749 |
+ |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 1750 |
+ |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 1751 |
+ |
if { { ac_try="$ac_link" |
| 1752 |
+ |
case "(($ac_try" in |
| 1753 |
+ |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 1754 |
+ |
*) ac_try_echo=$ac_try;; |
| 1755 |
+ |
esac |
| 1756 |
+ |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 1757 |
+ |
$as_echo "$ac_try_echo"; } >&5 |
| 1758 |
+ |
(eval "$ac_link") 2>conftest.err |
| 1759 |
+ |
ac_status=$? |
| 1760 |
+ |
if test -s conftest.err; then |
| 1761 |
+ |
grep -v '^ *+' conftest.err >conftest.er1 |
| 1762 |
+ |
cat conftest.er1 >&5 |
| 1763 |
+ |
mv -f conftest.er1 conftest.err |
| 1764 |
+ |
fi |
| 1765 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 1766 |
+ |
test $ac_status = 0; } && { |
| 1767 |
+ |
test -z "$ac_c_werror_flag" || |
| 1768 |
+ |
test ! -s conftest.err |
| 1769 |
+ |
} && test -s conftest$ac_exeext && { |
| 1770 |
+ |
test "$cross_compiling" = yes || |
| 1771 |
+ |
$as_test_x conftest$ac_exeext |
| 1772 |
+ |
}; then : |
| 1773 |
+ |
ac_retval=0 |
| 1774 |
+ |
else |
| 1775 |
+ |
$as_echo "$as_me: failed program was:" >&5 |
| 1776 |
+ |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 1777 |
+ |
|
| 1778 |
+ |
ac_retval=1 |
| 1779 |
+ |
fi |
| 1780 |
+ |
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
| 1781 |
+ |
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
| 1782 |
+ |
# interfere with the next link command; also delete a directory that is |
| 1783 |
+ |
# left behind by Apple's compiler. We do this before executing the actions. |
| 1784 |
+ |
rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
| 1785 |
+ |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 1786 |
+ |
return $ac_retval |
| 1787 |
+ |
|
| 1788 |
+ |
} # ac_fn_c_try_link |
| 1789 |
+ |
|
| 1790 |
+ |
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES |
| 1791 |
+ |
# ------------------------------------------------------- |
| 1792 |
+ |
# Tests whether HEADER exists and can be compiled using the include files in |
| 1793 |
+ |
# INCLUDES, setting the cache variable VAR accordingly. |
| 1794 |
+ |
ac_fn_c_check_header_compile () |
| 1795 |
+ |
{ |
| 1796 |
+ |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 1797 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
| 1798 |
+ |
$as_echo_n "checking for $2... " >&6; } |
| 1799 |
+ |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
| 1800 |
+ |
$as_echo_n "(cached) " >&6 |
| 1801 |
+ |
else |
| 1802 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 1803 |
+ |
/* end confdefs.h. */ |
| 1804 |
+ |
$4 |
| 1805 |
+ |
#include <$2> |
| 1806 |
+ |
_ACEOF |
| 1807 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
| 1808 |
+ |
eval "$3=yes" |
| 1809 |
+ |
else |
| 1810 |
+ |
eval "$3=no" |
| 1811 |
+ |
fi |
| 1812 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 1813 |
+ |
fi |
| 1814 |
+ |
eval ac_res=\$$3 |
| 1815 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 1816 |
+ |
$as_echo "$ac_res" >&6; } |
| 1817 |
+ |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 1818 |
+ |
|
| 1819 |
+ |
} # ac_fn_c_check_header_compile |
| 1820 |
+ |
|
| 1821 |
+ |
# ac_fn_c_try_cpp LINENO |
| 1822 |
+ |
# ---------------------- |
| 1823 |
+ |
# Try to preprocess conftest.$ac_ext, and return whether this succeeded. |
| 1824 |
+ |
ac_fn_c_try_cpp () |
| 1825 |
+ |
{ |
| 1826 |
+ |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 1827 |
+ |
if { { ac_try="$ac_cpp conftest.$ac_ext" |
| 1828 |
+ |
case "(($ac_try" in |
| 1829 |
+ |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 1830 |
+ |
*) ac_try_echo=$ac_try;; |
| 1831 |
+ |
esac |
| 1832 |
+ |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 1833 |
+ |
$as_echo "$ac_try_echo"; } >&5 |
| 1834 |
+ |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err |
| 1835 |
+ |
ac_status=$? |
| 1836 |
+ |
if test -s conftest.err; then |
| 1837 |
+ |
grep -v '^ *+' conftest.err >conftest.er1 |
| 1838 |
+ |
cat conftest.er1 >&5 |
| 1839 |
+ |
mv -f conftest.er1 conftest.err |
| 1840 |
+ |
fi |
| 1841 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 1842 |
+ |
test $ac_status = 0; } >/dev/null && { |
| 1843 |
+ |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 1844 |
+ |
test ! -s conftest.err |
| 1845 |
+ |
}; then : |
| 1846 |
+ |
ac_retval=0 |
| 1847 |
+ |
else |
| 1848 |
+ |
$as_echo "$as_me: failed program was:" >&5 |
| 1849 |
+ |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 1850 |
+ |
|
| 1851 |
+ |
ac_retval=1 |
| 1852 |
+ |
fi |
| 1853 |
+ |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 1854 |
+ |
return $ac_retval |
| 1855 |
+ |
|
| 1856 |
+ |
} # ac_fn_c_try_cpp |
| 1857 |
+ |
|
| 1858 |
+ |
# ac_fn_c_try_run LINENO |
| 1859 |
+ |
# ---------------------- |
| 1860 |
+ |
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes |
| 1861 |
+ |
# that executables *can* be run. |
| 1862 |
+ |
ac_fn_c_try_run () |
| 1863 |
+ |
{ |
| 1864 |
+ |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 1865 |
+ |
if { { ac_try="$ac_link" |
| 1866 |
+ |
case "(($ac_try" in |
| 1867 |
+ |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 1868 |
+ |
*) ac_try_echo=$ac_try;; |
| 1869 |
+ |
esac |
| 1870 |
+ |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 1871 |
+ |
$as_echo "$ac_try_echo"; } >&5 |
| 1872 |
+ |
(eval "$ac_link") 2>&5 |
| 1873 |
+ |
ac_status=$? |
| 1874 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 1875 |
+ |
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' |
| 1876 |
+ |
{ { case "(($ac_try" in |
| 1877 |
+ |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 1878 |
+ |
*) ac_try_echo=$ac_try;; |
| 1879 |
+ |
esac |
| 1880 |
+ |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 1881 |
+ |
$as_echo "$ac_try_echo"; } >&5 |
| 1882 |
+ |
(eval "$ac_try") 2>&5 |
| 1883 |
+ |
ac_status=$? |
| 1884 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 1885 |
+ |
test $ac_status = 0; }; }; then : |
| 1886 |
+ |
ac_retval=0 |
| 1887 |
+ |
else |
| 1888 |
+ |
$as_echo "$as_me: program exited with status $ac_status" >&5 |
| 1889 |
+ |
$as_echo "$as_me: failed program was:" >&5 |
| 1890 |
+ |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 1891 |
+ |
|
| 1892 |
+ |
ac_retval=$ac_status |
| 1893 |
+ |
fi |
| 1894 |
+ |
rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
| 1895 |
+ |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 1896 |
+ |
return $ac_retval |
| 1897 |
+ |
|
| 1898 |
+ |
} # ac_fn_c_try_run |
| 1899 |
+ |
|
| 1900 |
+ |
# ac_fn_c_check_func LINENO FUNC VAR |
| 1901 |
+ |
# ---------------------------------- |
| 1902 |
+ |
# Tests whether FUNC exists, setting the cache variable VAR accordingly |
| 1903 |
+ |
ac_fn_c_check_func () |
| 1904 |
+ |
{ |
| 1905 |
+ |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 1906 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
| 1907 |
+ |
$as_echo_n "checking for $2... " >&6; } |
| 1908 |
+ |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
| 1909 |
+ |
$as_echo_n "(cached) " >&6 |
| 1910 |
+ |
else |
| 1911 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 1912 |
+ |
/* end confdefs.h. */ |
| 1913 |
+ |
/* Define $2 to an innocuous variant, in case <limits.h> declares $2. |
| 1914 |
+ |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
| 1915 |
+ |
#define $2 innocuous_$2 |
| 1916 |
+ |
|
| 1917 |
+ |
/* System header to define __stub macros and hopefully few prototypes, |
| 1918 |
+ |
which can conflict with char $2 (); below. |
| 1919 |
+ |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 1920 |
+ |
<limits.h> exists even on freestanding compilers. */ |
| 1921 |
+ |
|
| 1922 |
+ |
#ifdef __STDC__ |
| 1923 |
+ |
# include <limits.h> |
| 1924 |
+ |
#else |
| 1925 |
+ |
# include <assert.h> |
| 1926 |
+ |
#endif |
| 1927 |
+ |
|
| 1928 |
+ |
#undef $2 |
| 1929 |
+ |
|
| 1930 |
+ |
/* Override any GCC internal prototype to avoid an error. |
| 1931 |
+ |
Use char because int might match the return type of a GCC |
| 1932 |
+ |
builtin and then its argument prototype would still apply. */ |
| 1933 |
+ |
#ifdef __cplusplus |
| 1934 |
+ |
extern "C" |
| 1935 |
+ |
#endif |
| 1936 |
+ |
char $2 (); |
| 1937 |
+ |
/* The GNU C library defines this for functions which it implements |
| 1938 |
+ |
to always fail with ENOSYS. Some functions are actually named |
| 1939 |
+ |
something starting with __ and the normal name is an alias. */ |
| 1940 |
+ |
#if defined __stub_$2 || defined __stub___$2 |
| 1941 |
+ |
choke me |
| 1942 |
+ |
#endif |
| 1943 |
+ |
|
| 1944 |
+ |
int |
| 1945 |
+ |
main () |
| 1946 |
+ |
{ |
| 1947 |
+ |
return $2 (); |
| 1948 |
+ |
; |
| 1949 |
+ |
return 0; |
| 1950 |
+ |
} |
| 1951 |
+ |
_ACEOF |
| 1952 |
+ |
if ac_fn_c_try_link "$LINENO"; then : |
| 1953 |
+ |
eval "$3=yes" |
| 1954 |
+ |
else |
| 1955 |
+ |
eval "$3=no" |
| 1956 |
+ |
fi |
| 1957 |
+ |
rm -f core conftest.err conftest.$ac_objext \ |
| 1958 |
+ |
conftest$ac_exeext conftest.$ac_ext |
| 1959 |
+ |
fi |
| 1960 |
+ |
eval ac_res=\$$3 |
| 1961 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 1962 |
+ |
$as_echo "$ac_res" >&6; } |
| 1963 |
+ |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 1964 |
+ |
|
| 1965 |
+ |
} # ac_fn_c_check_func |
| 1966 |
+ |
|
| 1967 |
+ |
# ac_fn_c_check_decl LINENO SYMBOL VAR |
| 1968 |
+ |
# ------------------------------------ |
| 1969 |
+ |
# Tests whether SYMBOL is declared, setting cache variable VAR accordingly. |
| 1970 |
+ |
ac_fn_c_check_decl () |
| 1971 |
+ |
{ |
| 1972 |
+ |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 1973 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5 |
| 1974 |
+ |
$as_echo_n "checking whether $2 is declared... " >&6; } |
| 1975 |
+ |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
| 1976 |
+ |
$as_echo_n "(cached) " >&6 |
| 1977 |
+ |
else |
| 1978 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 1979 |
+ |
/* end confdefs.h. */ |
| 1980 |
+ |
$4 |
| 1981 |
+ |
int |
| 1982 |
+ |
main () |
| 1983 |
+ |
{ |
| 1984 |
+ |
#ifndef $2 |
| 1985 |
+ |
(void) $2; |
| 1986 |
+ |
#endif |
| 1987 |
+ |
|
| 1988 |
+ |
; |
| 1989 |
+ |
return 0; |
| 1990 |
+ |
} |
| 1991 |
+ |
_ACEOF |
| 1992 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
| 1993 |
+ |
eval "$3=yes" |
| 1994 |
+ |
else |
| 1995 |
+ |
eval "$3=no" |
| 1996 |
+ |
fi |
| 1997 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 1998 |
+ |
fi |
| 1999 |
+ |
eval ac_res=\$$3 |
| 2000 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 2001 |
+ |
$as_echo "$ac_res" >&6; } |
| 2002 |
+ |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 2003 |
+ |
|
| 2004 |
+ |
} # ac_fn_c_check_decl |
| 2005 |
+ |
|
| 2006 |
+ |
# ac_fn_c_check_type LINENO TYPE VAR INCLUDES |
| 2007 |
+ |
# ------------------------------------------- |
| 2008 |
+ |
# Tests whether TYPE exists after having included INCLUDES, setting cache |
| 2009 |
+ |
# variable VAR accordingly. |
| 2010 |
+ |
ac_fn_c_check_type () |
| 2011 |
+ |
{ |
| 2012 |
+ |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 2013 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
| 2014 |
+ |
$as_echo_n "checking for $2... " >&6; } |
| 2015 |
+ |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
| 2016 |
+ |
$as_echo_n "(cached) " >&6 |
| 2017 |
+ |
else |
| 2018 |
+ |
eval "$3=no" |
| 2019 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 2020 |
+ |
/* end confdefs.h. */ |
| 2021 |
+ |
$4 |
| 2022 |
+ |
int |
| 2023 |
+ |
main () |
| 2024 |
+ |
{ |
| 2025 |
+ |
if (sizeof ($2)) |
| 2026 |
+ |
return 0; |
| 2027 |
+ |
; |
| 2028 |
+ |
return 0; |
| 2029 |
+ |
} |
| 2030 |
+ |
_ACEOF |
| 2031 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
| 2032 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 2033 |
+ |
/* end confdefs.h. */ |
| 2034 |
+ |
$4 |
| 2035 |
+ |
int |
| 2036 |
+ |
main () |
| 2037 |
+ |
{ |
| 2038 |
+ |
if (sizeof (($2))) |
| 2039 |
+ |
return 0; |
| 2040 |
+ |
; |
| 2041 |
+ |
return 0; |
| 2042 |
+ |
} |
| 2043 |
+ |
_ACEOF |
| 2044 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
| 2045 |
+ |
|
| 2046 |
+ |
else |
| 2047 |
+ |
eval "$3=yes" |
| 2048 |
+ |
fi |
| 2049 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2050 |
+ |
fi |
| 2051 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2052 |
+ |
fi |
| 2053 |
+ |
eval ac_res=\$$3 |
| 2054 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 2055 |
+ |
$as_echo "$ac_res" >&6; } |
| 2056 |
+ |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 2057 |
+ |
|
| 2058 |
+ |
} # ac_fn_c_check_type |
| 2059 |
+ |
|
| 2060 |
+ |
# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES |
| 2061 |
+ |
# ---------------------------------------------------- |
| 2062 |
+ |
# Tries to find if the field MEMBER exists in type AGGR, after including |
| 2063 |
+ |
# INCLUDES, setting cache variable VAR accordingly. |
| 2064 |
+ |
ac_fn_c_check_member () |
| 2065 |
+ |
{ |
| 2066 |
+ |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 2067 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 |
| 2068 |
+ |
$as_echo_n "checking for $2.$3... " >&6; } |
| 2069 |
+ |
if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then : |
| 2070 |
+ |
$as_echo_n "(cached) " >&6 |
| 2071 |
+ |
else |
| 2072 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 2073 |
+ |
/* end confdefs.h. */ |
| 2074 |
+ |
$5 |
| 2075 |
+ |
int |
| 2076 |
+ |
main () |
| 2077 |
+ |
{ |
| 2078 |
+ |
static $2 ac_aggr; |
| 2079 |
+ |
if (ac_aggr.$3) |
| 2080 |
+ |
return 0; |
| 2081 |
+ |
; |
| 2082 |
+ |
return 0; |
| 2083 |
+ |
} |
| 2084 |
+ |
_ACEOF |
| 2085 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
| 2086 |
+ |
eval "$4=yes" |
| 2087 |
+ |
else |
| 2088 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 2089 |
+ |
/* end confdefs.h. */ |
| 2090 |
+ |
$5 |
| 2091 |
+ |
int |
| 2092 |
+ |
main () |
| 2093 |
+ |
{ |
| 2094 |
+ |
static $2 ac_aggr; |
| 2095 |
+ |
if (sizeof ac_aggr.$3) |
| 2096 |
+ |
return 0; |
| 2097 |
+ |
; |
| 2098 |
+ |
return 0; |
| 2099 |
+ |
} |
| 2100 |
+ |
_ACEOF |
| 2101 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
| 2102 |
+ |
eval "$4=yes" |
| 2103 |
+ |
else |
| 2104 |
+ |
eval "$4=no" |
| 2105 |
+ |
fi |
| 2106 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2107 |
+ |
fi |
| 2108 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2109 |
+ |
fi |
| 2110 |
+ |
eval ac_res=\$$4 |
| 2111 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 2112 |
+ |
$as_echo "$ac_res" >&6; } |
| 2113 |
+ |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 2114 |
+ |
|
| 2115 |
+ |
} # ac_fn_c_check_member |
| 2116 |
+ |
|
| 2117 |
+ |
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES |
| 2118 |
+ |
# ------------------------------------------------------- |
| 2119 |
+ |
# Tests whether HEADER exists, giving a warning if it cannot be compiled using |
| 2120 |
+ |
# the include files in INCLUDES and setting the cache variable VAR |
| 2121 |
+ |
# accordingly. |
| 2122 |
+ |
ac_fn_c_check_header_mongrel () |
| 2123 |
+ |
{ |
| 2124 |
+ |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 2125 |
+ |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
| 2126 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
| 2127 |
+ |
$as_echo_n "checking for $2... " >&6; } |
| 2128 |
+ |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
| 2129 |
+ |
$as_echo_n "(cached) " >&6 |
| 2130 |
+ |
fi |
| 2131 |
+ |
eval ac_res=\$$3 |
| 2132 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 2133 |
+ |
$as_echo "$ac_res" >&6; } |
| 2134 |
+ |
else |
| 2135 |
+ |
# Is the header compilable? |
| 2136 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 |
| 2137 |
+ |
$as_echo_n "checking $2 usability... " >&6; } |
| 2138 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 2139 |
+ |
/* end confdefs.h. */ |
| 2140 |
+ |
$4 |
| 2141 |
+ |
#include <$2> |
| 2142 |
+ |
_ACEOF |
| 2143 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
| 2144 |
+ |
ac_header_compiler=yes |
| 2145 |
+ |
else |
| 2146 |
+ |
ac_header_compiler=no |
| 2147 |
+ |
fi |
| 2148 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2149 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 |
| 2150 |
+ |
$as_echo "$ac_header_compiler" >&6; } |
| 2151 |
+ |
|
| 2152 |
+ |
# Is the header present? |
| 2153 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 |
| 2154 |
+ |
$as_echo_n "checking $2 presence... " >&6; } |
| 2155 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 2156 |
+ |
/* end confdefs.h. */ |
| 2157 |
+ |
#include <$2> |
| 2158 |
+ |
_ACEOF |
| 2159 |
+ |
if ac_fn_c_try_cpp "$LINENO"; then : |
| 2160 |
+ |
ac_header_preproc=yes |
| 2161 |
+ |
else |
| 2162 |
+ |
ac_header_preproc=no |
| 2163 |
+ |
fi |
| 2164 |
+ |
rm -f conftest.err conftest.$ac_ext |
| 2165 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 |
| 2166 |
+ |
$as_echo "$ac_header_preproc" >&6; } |
| 2167 |
+ |
|
| 2168 |
+ |
# So? What about this header? |
| 2169 |
+ |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( |
| 2170 |
+ |
yes:no: ) |
| 2171 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 |
| 2172 |
+ |
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} |
| 2173 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
| 2174 |
+ |
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
| 2175 |
+ |
;; |
| 2176 |
+ |
no:yes:* ) |
| 2177 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 |
| 2178 |
+ |
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} |
| 2179 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 |
| 2180 |
+ |
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} |
| 2181 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 |
| 2182 |
+ |
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} |
| 2183 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 |
| 2184 |
+ |
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} |
| 2185 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
| 2186 |
+ |
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
| 2187 |
+ |
;; |
| 2188 |
+ |
esac |
| 2189 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
| 2190 |
+ |
$as_echo_n "checking for $2... " >&6; } |
| 2191 |
+ |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
| 2192 |
+ |
$as_echo_n "(cached) " >&6 |
| 2193 |
+ |
else |
| 2194 |
+ |
eval "$3=\$ac_header_compiler" |
| 2195 |
+ |
fi |
| 2196 |
+ |
eval ac_res=\$$3 |
| 2197 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 2198 |
+ |
$as_echo "$ac_res" >&6; } |
| 2199 |
+ |
fi |
| 2200 |
+ |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 2201 |
+ |
|
| 2202 |
+ |
} # ac_fn_c_check_header_mongrel |
| 2203 |
|
cat >config.log <<_ACEOF |
| 2204 |
|
This file contains any messages produced by compilers while |
| 2205 |
|
running configure, to aid debugging if configure makes a mistake. |
| 2206 |
|
|
| 2207 |
|
It was created by ircd-hybrid $as_me 7.2.4, which was |
| 2208 |
< |
generated by GNU Autoconf 2.63. Invocation command line was |
| 2208 |
> |
generated by GNU Autoconf 2.64. Invocation command line was |
| 2209 |
|
|
| 2210 |
|
$ $0 $@ |
| 2211 |
|
|
| 2241 |
|
do |
| 2242 |
|
IFS=$as_save_IFS |
| 2243 |
|
test -z "$as_dir" && as_dir=. |
| 2244 |
< |
$as_echo "PATH: $as_dir" |
| 2245 |
< |
done |
| 2244 |
> |
$as_echo "PATH: $as_dir" |
| 2245 |
> |
done |
| 2246 |
|
IFS=$as_save_IFS |
| 2247 |
|
|
| 2248 |
|
} >&5 |
| 2279 |
|
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 2280 |
|
esac |
| 2281 |
|
case $ac_pass in |
| 2282 |
< |
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; |
| 2282 |
> |
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; |
| 2283 |
|
2) |
| 2284 |
< |
ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
| 2284 |
> |
as_fn_append ac_configure_args1 " '$ac_arg'" |
| 2285 |
|
if test $ac_must_keep_next = true; then |
| 2286 |
|
ac_must_keep_next=false # Got value, back to normal. |
| 2287 |
|
else |
| 2297 |
|
-* ) ac_must_keep_next=true ;; |
| 2298 |
|
esac |
| 2299 |
|
fi |
| 2300 |
< |
ac_configure_args="$ac_configure_args '$ac_arg'" |
| 2300 |
> |
as_fn_append ac_configure_args " '$ac_arg'" |
| 2301 |
|
;; |
| 2302 |
|
esac |
| 2303 |
|
done |
| 2304 |
|
done |
| 2305 |
< |
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } |
| 2306 |
< |
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } |
| 2305 |
> |
{ ac_configure_args0=; unset ac_configure_args0;} |
| 2306 |
> |
{ ac_configure_args1=; unset ac_configure_args1;} |
| 2307 |
|
|
| 2308 |
|
# When interrupted or exit'd, cleanup temporary files, and complete |
| 2309 |
|
# config.log. We remove comments because anyway the quotes in there |
| 2328 |
|
case $ac_val in #( |
| 2329 |
|
*${as_nl}*) |
| 2330 |
|
case $ac_var in #( |
| 2331 |
< |
*_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 |
| 2331 |
> |
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
| 2332 |
|
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
| 2333 |
|
esac |
| 2334 |
|
case $ac_var in #( |
| 2335 |
|
_ | IFS | as_nl) ;; #( |
| 2336 |
|
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
| 2337 |
< |
*) $as_unset $ac_var ;; |
| 2337 |
> |
*) { eval $ac_var=; unset $ac_var;} ;; |
| 2338 |
|
esac ;; |
| 2339 |
|
esac |
| 2340 |
|
done |
| 2406 |
|
exit $exit_status |
| 2407 |
|
' 0 |
| 2408 |
|
for ac_signal in 1 2 13 15; do |
| 2409 |
< |
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal |
| 2409 |
> |
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal |
| 2410 |
|
done |
| 2411 |
|
ac_signal=0 |
| 2412 |
|
|
| 2413 |
|
# confdefs.h avoids OS command line length limits that DEFS can exceed. |
| 2414 |
|
rm -f -r conftest* confdefs.h |
| 2415 |
|
|
| 2416 |
+ |
$as_echo "/* confdefs.h */" > confdefs.h |
| 2417 |
+ |
|
| 2418 |
|
# Predefined preprocessor variables. |
| 2419 |
|
|
| 2420 |
|
cat >>confdefs.h <<_ACEOF |
| 2421 |
|
#define PACKAGE_NAME "$PACKAGE_NAME" |
| 2422 |
|
_ACEOF |
| 2423 |
|
|
| 1972 |
– |
|
| 2424 |
|
cat >>confdefs.h <<_ACEOF |
| 2425 |
|
#define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
| 2426 |
|
_ACEOF |
| 2427 |
|
|
| 1977 |
– |
|
| 2428 |
|
cat >>confdefs.h <<_ACEOF |
| 2429 |
|
#define PACKAGE_VERSION "$PACKAGE_VERSION" |
| 2430 |
|
_ACEOF |
| 2431 |
|
|
| 1982 |
– |
|
| 2432 |
|
cat >>confdefs.h <<_ACEOF |
| 2433 |
|
#define PACKAGE_STRING "$PACKAGE_STRING" |
| 2434 |
|
_ACEOF |
| 2435 |
|
|
| 1987 |
– |
|
| 2436 |
|
cat >>confdefs.h <<_ACEOF |
| 2437 |
|
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
| 2438 |
|
_ACEOF |
| 2439 |
|
|
| 2440 |
+ |
cat >>confdefs.h <<_ACEOF |
| 2441 |
+ |
#define PACKAGE_URL "$PACKAGE_URL" |
| 2442 |
+ |
_ACEOF |
| 2443 |
+ |
|
| 2444 |
|
|
| 2445 |
|
# Let the site file select an alternate cache file if it wants to. |
| 2446 |
|
# Prefer an explicitly selected file to automatically selected ones. |
| 2459 |
|
do |
| 2460 |
|
test "x$ac_site_file" = xNONE && continue |
| 2461 |
|
if test -r "$ac_site_file"; then |
| 2462 |
< |
{ $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 |
| 2462 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
| 2463 |
|
$as_echo "$as_me: loading site script $ac_site_file" >&6;} |
| 2464 |
|
sed 's/^/| /' "$ac_site_file" >&5 |
| 2465 |
|
. "$ac_site_file" |
| 2470 |
|
# Some versions of bash will fail to source /dev/null (special |
| 2471 |
|
# files actually), so we avoid doing that. |
| 2472 |
|
if test -f "$cache_file"; then |
| 2473 |
< |
{ $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 |
| 2473 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 |
| 2474 |
|
$as_echo "$as_me: loading cache $cache_file" >&6;} |
| 2475 |
|
case $cache_file in |
| 2476 |
|
[\\/]* | ?:[\\/]* ) . "$cache_file";; |
| 2478 |
|
esac |
| 2479 |
|
fi |
| 2480 |
|
else |
| 2481 |
< |
{ $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 |
| 2481 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 |
| 2482 |
|
$as_echo "$as_me: creating cache $cache_file" >&6;} |
| 2483 |
|
>$cache_file |
| 2484 |
|
fi |
| 2485 |
|
|
| 2486 |
< |
ac_func_list="$ac_func_list snprintf" |
| 2487 |
< |
ac_func_list="$ac_func_list vsnprintf" |
| 2488 |
< |
ac_func_list="$ac_func_list lrand48" |
| 2489 |
< |
ac_func_list="$ac_func_list srand48" |
| 2490 |
< |
ac_func_list="$ac_func_list mmap" |
| 2491 |
< |
ac_func_list="$ac_func_list strtok_r" |
| 2492 |
< |
ac_func_list="$ac_func_list usleep" |
| 2493 |
< |
ac_func_list="$ac_func_list strlcat" |
| 2494 |
< |
ac_func_list="$ac_func_list strlcpy" |
| 2495 |
< |
ac_func_list="$ac_func_list basename" |
| 2496 |
< |
ac_header_list="$ac_header_list crypt.h" |
| 2497 |
< |
ac_header_list="$ac_header_list inttypes.h" |
| 2498 |
< |
ac_header_list="$ac_header_list stdint.h" |
| 2499 |
< |
ac_header_list="$ac_header_list sys/resource.h" |
| 2500 |
< |
ac_header_list="$ac_header_list sys/param.h" |
| 2501 |
< |
ac_header_list="$ac_header_list errno.h" |
| 2502 |
< |
ac_header_list="$ac_header_list sys/syslog.h" |
| 2503 |
< |
ac_header_list="$ac_header_list stddef.h" |
| 2504 |
< |
ac_header_list="$ac_header_list libgen.h" |
| 2053 |
< |
ac_header_list="$ac_header_list types.h" |
| 2054 |
< |
ac_header_list="$ac_header_list socket.h" |
| 2055 |
< |
ac_header_list="$ac_header_list sys/wait.h" |
| 2056 |
< |
ac_header_list="$ac_header_list wait.h" |
| 2057 |
< |
ac_header_list="$ac_header_list link.h" |
| 2486 |
> |
as_fn_append ac_func_list " mmap" |
| 2487 |
> |
as_fn_append ac_func_list " strtok_r" |
| 2488 |
> |
as_fn_append ac_func_list " usleep" |
| 2489 |
> |
as_fn_append ac_func_list " strlcat" |
| 2490 |
> |
as_fn_append ac_func_list " strlcpy" |
| 2491 |
> |
as_fn_append ac_header_list " crypt.h" |
| 2492 |
> |
as_fn_append ac_header_list " inttypes.h" |
| 2493 |
> |
as_fn_append ac_header_list " stdint.h" |
| 2494 |
> |
as_fn_append ac_header_list " sys/resource.h" |
| 2495 |
> |
as_fn_append ac_header_list " sys/param.h" |
| 2496 |
> |
as_fn_append ac_header_list " errno.h" |
| 2497 |
> |
as_fn_append ac_header_list " sys/syslog.h" |
| 2498 |
> |
as_fn_append ac_header_list " stddef.h" |
| 2499 |
> |
as_fn_append ac_header_list " libgen.h" |
| 2500 |
> |
as_fn_append ac_header_list " types.h" |
| 2501 |
> |
as_fn_append ac_header_list " socket.h" |
| 2502 |
> |
as_fn_append ac_header_list " sys/wait.h" |
| 2503 |
> |
as_fn_append ac_header_list " wait.h" |
| 2504 |
> |
as_fn_append ac_header_list " link.h" |
| 2505 |
|
# Check that the precious variables saved in the cache have kept the same |
| 2506 |
|
# value. |
| 2507 |
|
ac_cache_corrupted=false |
| 2512 |
|
eval ac_new_val=\$ac_env_${ac_var}_value |
| 2513 |
|
case $ac_old_set,$ac_new_set in |
| 2514 |
|
set,) |
| 2515 |
< |
{ $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
| 2515 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
| 2516 |
|
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
| 2517 |
|
ac_cache_corrupted=: ;; |
| 2518 |
|
,set) |
| 2519 |
< |
{ $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 |
| 2519 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 |
| 2520 |
|
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
| 2521 |
|
ac_cache_corrupted=: ;; |
| 2522 |
|
,);; |
| 2526 |
|
ac_old_val_w=`echo x $ac_old_val` |
| 2527 |
|
ac_new_val_w=`echo x $ac_new_val` |
| 2528 |
|
if test "$ac_old_val_w" != "$ac_new_val_w"; then |
| 2529 |
< |
{ $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
| 2529 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 |
| 2530 |
|
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
| 2531 |
|
ac_cache_corrupted=: |
| 2532 |
|
else |
| 2533 |
< |
{ $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 |
| 2533 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 |
| 2534 |
|
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} |
| 2535 |
|
eval $ac_var=\$ac_old_val |
| 2536 |
|
fi |
| 2537 |
< |
{ $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 |
| 2537 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 |
| 2538 |
|
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} |
| 2539 |
< |
{ $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 |
| 2539 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 |
| 2540 |
|
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} |
| 2541 |
|
fi;; |
| 2542 |
|
esac |
| 2548 |
|
esac |
| 2549 |
|
case " $ac_configure_args " in |
| 2550 |
|
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
| 2551 |
< |
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;; |
| 2551 |
> |
*) as_fn_append ac_configure_args " '$ac_arg'" ;; |
| 2552 |
|
esac |
| 2553 |
|
fi |
| 2554 |
|
done |
| 2555 |
|
if $ac_cache_corrupted; then |
| 2556 |
< |
{ $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
| 2556 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 2557 |
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 2558 |
< |
{ $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 |
| 2558 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
| 2559 |
|
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
| 2560 |
< |
{ { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 |
| 2114 |
< |
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} |
| 2115 |
< |
{ (exit 1); exit 1; }; } |
| 2560 |
> |
as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 |
| 2561 |
|
fi |
| 2562 |
< |
|
| 2563 |
< |
|
| 2564 |
< |
|
| 2120 |
< |
|
| 2121 |
< |
|
| 2122 |
< |
|
| 2123 |
< |
|
| 2124 |
< |
|
| 2125 |
< |
|
| 2126 |
< |
|
| 2127 |
< |
|
| 2128 |
< |
|
| 2129 |
< |
|
| 2130 |
< |
|
| 2131 |
< |
|
| 2132 |
< |
|
| 2133 |
< |
|
| 2134 |
< |
|
| 2135 |
< |
|
| 2136 |
< |
|
| 2137 |
< |
|
| 2138 |
< |
|
| 2139 |
< |
|
| 2140 |
< |
|
| 2562 |
> |
## -------------------- ## |
| 2563 |
> |
## Main body of script. ## |
| 2564 |
> |
## -------------------- ## |
| 2565 |
|
|
| 2566 |
|
ac_ext=c |
| 2567 |
|
ac_cpp='$CPP $CPPFLAGS' |
| 2574 |
|
|
| 2575 |
|
ac_aux_dir= |
| 2576 |
|
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
| 2577 |
< |
if test -f "$ac_dir/install-sh"; then |
| 2578 |
< |
ac_aux_dir=$ac_dir |
| 2579 |
< |
ac_install_sh="$ac_aux_dir/install-sh -c" |
| 2580 |
< |
break |
| 2581 |
< |
elif test -f "$ac_dir/install.sh"; then |
| 2582 |
< |
ac_aux_dir=$ac_dir |
| 2583 |
< |
ac_install_sh="$ac_aux_dir/install.sh -c" |
| 2160 |
< |
break |
| 2161 |
< |
elif test -f "$ac_dir/shtool"; then |
| 2162 |
< |
ac_aux_dir=$ac_dir |
| 2163 |
< |
ac_install_sh="$ac_aux_dir/shtool install -c" |
| 2164 |
< |
break |
| 2165 |
< |
fi |
| 2577 |
> |
for ac_t in install-sh install.sh shtool; do |
| 2578 |
> |
if test -f "$ac_dir/$ac_t"; then |
| 2579 |
> |
ac_aux_dir=$ac_dir |
| 2580 |
> |
ac_install_sh="$ac_aux_dir/$ac_t -c" |
| 2581 |
> |
break 2 |
| 2582 |
> |
fi |
| 2583 |
> |
done |
| 2584 |
|
done |
| 2585 |
|
if test -z "$ac_aux_dir"; then |
| 2586 |
< |
{ { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 |
| 2169 |
< |
$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} |
| 2170 |
< |
{ (exit 1); exit 1; }; } |
| 2586 |
> |
as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 |
| 2587 |
|
fi |
| 2588 |
|
|
| 2589 |
|
# These three variables are undocumented and unsupported, |
| 2609 |
|
# OS/2's system install, which has a completely different semantic |
| 2610 |
|
# ./install, which can be erroneously created by make from ./install.sh. |
| 2611 |
|
# Reject install programs that cannot install multiple files. |
| 2612 |
< |
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
| 2612 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
| 2613 |
|
$as_echo_n "checking for a BSD-compatible install... " >&6; } |
| 2614 |
|
if test -z "$INSTALL"; then |
| 2615 |
< |
if test "${ac_cv_path_install+set}" = set; then |
| 2615 |
> |
if test "${ac_cv_path_install+set}" = set; then : |
| 2616 |
|
$as_echo_n "(cached) " >&6 |
| 2617 |
|
else |
| 2618 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2620 |
|
do |
| 2621 |
|
IFS=$as_save_IFS |
| 2622 |
|
test -z "$as_dir" && as_dir=. |
| 2623 |
< |
# Account for people who put trailing slashes in PATH elements. |
| 2624 |
< |
case $as_dir/ in |
| 2625 |
< |
./ | .// | /cC/* | \ |
| 2623 |
> |
# Account for people who put trailing slashes in PATH elements. |
| 2624 |
> |
case $as_dir/ in #(( |
| 2625 |
> |
./ | .// | /[cC]/* | \ |
| 2626 |
|
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
| 2627 |
< |
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ |
| 2627 |
> |
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ |
| 2628 |
|
/usr/ucb/* ) ;; |
| 2629 |
|
*) |
| 2630 |
|
# OSF1 and SCO ODT 3.0 have their own names for install. |
| 2661 |
|
;; |
| 2662 |
|
esac |
| 2663 |
|
|
| 2664 |
< |
done |
| 2664 |
> |
done |
| 2665 |
|
IFS=$as_save_IFS |
| 2666 |
|
|
| 2667 |
|
rm -rf conftest.one conftest.two conftest.dir |
| 2677 |
|
INSTALL=$ac_install_sh |
| 2678 |
|
fi |
| 2679 |
|
fi |
| 2680 |
< |
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 |
| 2680 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 |
| 2681 |
|
$as_echo "$INSTALL" >&6; } |
| 2682 |
|
|
| 2683 |
|
# Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
| 2688 |
|
|
| 2689 |
|
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
| 2690 |
|
|
| 2691 |
< |
{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5 |
| 2691 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 |
| 2692 |
|
$as_echo_n "checking whether build environment is sane... " >&6; } |
| 2693 |
|
# Just in case |
| 2694 |
|
sleep 1 |
| 2699 |
|
' |
| 2700 |
|
case `pwd` in |
| 2701 |
|
*[\\\"\#\$\&\'\`$am_lf]*) |
| 2702 |
< |
{ { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5 |
| 2287 |
< |
$as_echo "$as_me: error: unsafe absolute working directory name" >&2;} |
| 2288 |
< |
{ (exit 1); exit 1; }; };; |
| 2702 |
> |
as_fn_error "unsafe absolute working directory name" "$LINENO" 5;; |
| 2703 |
|
esac |
| 2704 |
|
case $srcdir in |
| 2705 |
|
*[\\\"\#\$\&\'\`$am_lf\ \ ]*) |
| 2706 |
< |
{ { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5 |
| 2293 |
< |
$as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;} |
| 2294 |
< |
{ (exit 1); exit 1; }; };; |
| 2706 |
> |
as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; |
| 2707 |
|
esac |
| 2708 |
|
|
| 2709 |
|
# Do `set' in a subshell so we don't clobber the current shell's |
| 2725 |
|
# if, for instance, CONFIG_SHELL is bash and it inherits a |
| 2726 |
|
# broken ls alias from the environment. This has actually |
| 2727 |
|
# happened. Such a system could not be considered "sane". |
| 2728 |
< |
{ { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken |
| 2729 |
< |
alias in your environment" >&5 |
| 2318 |
< |
$as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken |
| 2319 |
< |
alias in your environment" >&2;} |
| 2320 |
< |
{ (exit 1); exit 1; }; } |
| 2728 |
> |
as_fn_error "ls -t appears to fail. Make sure there is not a broken |
| 2729 |
> |
alias in your environment" "$LINENO" 5 |
| 2730 |
|
fi |
| 2731 |
|
|
| 2732 |
|
test "$2" = conftest.file |
| 2735 |
|
# Ok. |
| 2736 |
|
: |
| 2737 |
|
else |
| 2738 |
< |
{ { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files! |
| 2739 |
< |
Check your system clock" >&5 |
| 2331 |
< |
$as_echo "$as_me: error: newly created file is older than distributed files! |
| 2332 |
< |
Check your system clock" >&2;} |
| 2333 |
< |
{ (exit 1); exit 1; }; } |
| 2738 |
> |
as_fn_error "newly created file is older than distributed files! |
| 2739 |
> |
Check your system clock" "$LINENO" 5 |
| 2740 |
|
fi |
| 2741 |
< |
{ $as_echo "$as_me:$LINENO: result: yes" >&5 |
| 2741 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 2742 |
|
$as_echo "yes" >&6; } |
| 2743 |
|
test "$program_prefix" != NONE && |
| 2744 |
|
program_transform_name="s&^&$program_prefix&;$program_transform_name" |
| 2766 |
|
am_missing_run="$MISSING --run " |
| 2767 |
|
else |
| 2768 |
|
am_missing_run= |
| 2769 |
< |
{ $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 |
| 2769 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 |
| 2770 |
|
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} |
| 2771 |
|
fi |
| 2772 |
|
|
| 2787 |
|
if test -n "$ac_tool_prefix"; then |
| 2788 |
|
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
| 2789 |
|
set dummy ${ac_tool_prefix}strip; ac_word=$2 |
| 2790 |
< |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 2790 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 2791 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 2792 |
< |
if test "${ac_cv_prog_STRIP+set}" = set; then |
| 2792 |
> |
if test "${ac_cv_prog_STRIP+set}" = set; then : |
| 2793 |
|
$as_echo_n "(cached) " >&6 |
| 2794 |
|
else |
| 2795 |
|
if test -n "$STRIP"; then |
| 2800 |
|
do |
| 2801 |
|
IFS=$as_save_IFS |
| 2802 |
|
test -z "$as_dir" && as_dir=. |
| 2803 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 2803 |
> |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 2804 |
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 2805 |
|
ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
| 2806 |
< |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2806 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2807 |
|
break 2 |
| 2808 |
|
fi |
| 2809 |
|
done |
| 2810 |
< |
done |
| 2810 |
> |
done |
| 2811 |
|
IFS=$as_save_IFS |
| 2812 |
|
|
| 2813 |
|
fi |
| 2814 |
|
fi |
| 2815 |
|
STRIP=$ac_cv_prog_STRIP |
| 2816 |
|
if test -n "$STRIP"; then |
| 2817 |
< |
{ $as_echo "$as_me:$LINENO: result: $STRIP" >&5 |
| 2817 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 |
| 2818 |
|
$as_echo "$STRIP" >&6; } |
| 2819 |
|
else |
| 2820 |
< |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
| 2820 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 2821 |
|
$as_echo "no" >&6; } |
| 2822 |
|
fi |
| 2823 |
|
|
| 2827 |
|
ac_ct_STRIP=$STRIP |
| 2828 |
|
# Extract the first word of "strip", so it can be a program name with args. |
| 2829 |
|
set dummy strip; ac_word=$2 |
| 2830 |
< |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 2830 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 2831 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 2832 |
< |
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then |
| 2832 |
> |
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : |
| 2833 |
|
$as_echo_n "(cached) " >&6 |
| 2834 |
|
else |
| 2835 |
|
if test -n "$ac_ct_STRIP"; then |
| 2840 |
|
do |
| 2841 |
|
IFS=$as_save_IFS |
| 2842 |
|
test -z "$as_dir" && as_dir=. |
| 2843 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 2843 |
> |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 2844 |
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 2845 |
|
ac_cv_prog_ac_ct_STRIP="strip" |
| 2846 |
< |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2846 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2847 |
|
break 2 |
| 2848 |
|
fi |
| 2849 |
|
done |
| 2850 |
< |
done |
| 2850 |
> |
done |
| 2851 |
|
IFS=$as_save_IFS |
| 2852 |
|
|
| 2853 |
|
fi |
| 2854 |
|
fi |
| 2855 |
|
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
| 2856 |
|
if test -n "$ac_ct_STRIP"; then |
| 2857 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 |
| 2857 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 |
| 2858 |
|
$as_echo "$ac_ct_STRIP" >&6; } |
| 2859 |
|
else |
| 2860 |
< |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
| 2860 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 2861 |
|
$as_echo "no" >&6; } |
| 2862 |
|
fi |
| 2863 |
|
|
| 2866 |
|
else |
| 2867 |
|
case $cross_compiling:$ac_tool_warned in |
| 2868 |
|
yes:) |
| 2869 |
< |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 2869 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 2870 |
|
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 2871 |
|
ac_tool_warned=yes ;; |
| 2872 |
|
esac |
| 2879 |
|
fi |
| 2880 |
|
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
| 2881 |
|
|
| 2882 |
< |
{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5 |
| 2882 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 |
| 2883 |
|
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } |
| 2884 |
|
if test -z "$MKDIR_P"; then |
| 2885 |
< |
if test "${ac_cv_path_mkdir+set}" = set; then |
| 2885 |
> |
if test "${ac_cv_path_mkdir+set}" = set; then : |
| 2886 |
|
$as_echo_n "(cached) " >&6 |
| 2887 |
|
else |
| 2888 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2890 |
|
do |
| 2891 |
|
IFS=$as_save_IFS |
| 2892 |
|
test -z "$as_dir" && as_dir=. |
| 2893 |
< |
for ac_prog in mkdir gmkdir; do |
| 2893 |
> |
for ac_prog in mkdir gmkdir; do |
| 2894 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 2895 |
|
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue |
| 2896 |
|
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( |
| 2902 |
|
esac |
| 2903 |
|
done |
| 2904 |
|
done |
| 2905 |
< |
done |
| 2905 |
> |
done |
| 2906 |
|
IFS=$as_save_IFS |
| 2907 |
|
|
| 2908 |
|
fi |
| 2918 |
|
MKDIR_P="$ac_install_sh -d" |
| 2919 |
|
fi |
| 2920 |
|
fi |
| 2921 |
< |
{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5 |
| 2921 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 |
| 2922 |
|
$as_echo "$MKDIR_P" >&6; } |
| 2923 |
|
|
| 2924 |
|
mkdir_p="$MKDIR_P" |
| 2931 |
|
do |
| 2932 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
| 2933 |
|
set dummy $ac_prog; ac_word=$2 |
| 2934 |
< |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 2934 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 2935 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 2936 |
< |
if test "${ac_cv_prog_AWK+set}" = set; then |
| 2936 |
> |
if test "${ac_cv_prog_AWK+set}" = set; then : |
| 2937 |
|
$as_echo_n "(cached) " >&6 |
| 2938 |
|
else |
| 2939 |
|
if test -n "$AWK"; then |
| 2944 |
|
do |
| 2945 |
|
IFS=$as_save_IFS |
| 2946 |
|
test -z "$as_dir" && as_dir=. |
| 2947 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 2947 |
> |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 2948 |
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 2949 |
|
ac_cv_prog_AWK="$ac_prog" |
| 2950 |
< |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2950 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2951 |
|
break 2 |
| 2952 |
|
fi |
| 2953 |
|
done |
| 2954 |
< |
done |
| 2954 |
> |
done |
| 2955 |
|
IFS=$as_save_IFS |
| 2956 |
|
|
| 2957 |
|
fi |
| 2958 |
|
fi |
| 2959 |
|
AWK=$ac_cv_prog_AWK |
| 2960 |
|
if test -n "$AWK"; then |
| 2961 |
< |
{ $as_echo "$as_me:$LINENO: result: $AWK" >&5 |
| 2961 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 |
| 2962 |
|
$as_echo "$AWK" >&6; } |
| 2963 |
|
else |
| 2964 |
< |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
| 2964 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 2965 |
|
$as_echo "no" >&6; } |
| 2966 |
|
fi |
| 2967 |
|
|
| 2969 |
|
test -n "$AWK" && break |
| 2970 |
|
done |
| 2971 |
|
|
| 2972 |
< |
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
| 2972 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
| 2973 |
|
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
| 2974 |
|
set x ${MAKE-make} |
| 2975 |
|
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
| 2976 |
< |
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then |
| 2976 |
> |
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : |
| 2977 |
|
$as_echo_n "(cached) " >&6 |
| 2978 |
|
else |
| 2979 |
|
cat >conftest.make <<\_ACEOF |
| 2991 |
|
rm -f conftest.make |
| 2992 |
|
fi |
| 2993 |
|
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
| 2994 |
< |
{ $as_echo "$as_me:$LINENO: result: yes" >&5 |
| 2994 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 2995 |
|
$as_echo "yes" >&6; } |
| 2996 |
|
SET_MAKE= |
| 2997 |
|
else |
| 2998 |
< |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
| 2998 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 2999 |
|
$as_echo "no" >&6; } |
| 3000 |
|
SET_MAKE="MAKE=${MAKE-make}" |
| 3001 |
|
fi |
| 3015 |
|
am__isrc=' -I$(srcdir)' |
| 3016 |
|
# test to see if srcdir already configured |
| 3017 |
|
if test -f $srcdir/config.status; then |
| 3018 |
< |
{ { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 |
| 2613 |
< |
$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} |
| 2614 |
< |
{ (exit 1); exit 1; }; } |
| 3018 |
> |
as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 |
| 3019 |
|
fi |
| 3020 |
|
fi |
| 3021 |
|
|
| 3072 |
|
|
| 3073 |
|
|
| 3074 |
|
|
| 3075 |
< |
{ $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 |
| 3075 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 |
| 3076 |
|
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } |
| 3077 |
|
# Check whether --enable-maintainer-mode was given. |
| 3078 |
< |
if test "${enable_maintainer_mode+set}" = set; then |
| 3078 |
> |
if test "${enable_maintainer_mode+set}" = set; then : |
| 3079 |
|
enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval |
| 3080 |
|
else |
| 3081 |
|
USE_MAINTAINER_MODE=no |
| 3082 |
|
fi |
| 3083 |
|
|
| 3084 |
< |
{ $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 |
| 3084 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 |
| 3085 |
|
$as_echo "$USE_MAINTAINER_MODE" >&6; } |
| 3086 |
|
if test $USE_MAINTAINER_MODE = yes; then |
| 3087 |
|
MAINTAINER_MODE_TRUE= |
| 3098 |
|
|
| 3099 |
|
|
| 3100 |
|
|
| 2697 |
– |
|
| 3101 |
|
# Checks for programs. |
| 3102 |
+ |
DEPDIR="${am__leading_dot}deps" |
| 3103 |
+ |
|
| 3104 |
+ |
ac_config_commands="$ac_config_commands depfiles" |
| 3105 |
+ |
|
| 3106 |
+ |
|
| 3107 |
+ |
am_make=${MAKE-make} |
| 3108 |
+ |
cat > confinc << 'END' |
| 3109 |
+ |
am__doit: |
| 3110 |
+ |
@echo this is the am__doit target |
| 3111 |
+ |
.PHONY: am__doit |
| 3112 |
+ |
END |
| 3113 |
+ |
# If we don't find an include directive, just comment out the code. |
| 3114 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 |
| 3115 |
+ |
$as_echo_n "checking for style of include used by $am_make... " >&6; } |
| 3116 |
+ |
am__include="#" |
| 3117 |
+ |
am__quote= |
| 3118 |
+ |
_am_result=none |
| 3119 |
+ |
# First try GNU make style include. |
| 3120 |
+ |
echo "include confinc" > confmf |
| 3121 |
+ |
# Ignore all kinds of additional output from `make'. |
| 3122 |
+ |
case `$am_make -s -f confmf 2> /dev/null` in #( |
| 3123 |
+ |
*the\ am__doit\ target*) |
| 3124 |
+ |
am__include=include |
| 3125 |
+ |
am__quote= |
| 3126 |
+ |
_am_result=GNU |
| 3127 |
+ |
;; |
| 3128 |
+ |
esac |
| 3129 |
+ |
# Now try BSD make style include. |
| 3130 |
+ |
if test "$am__include" = "#"; then |
| 3131 |
+ |
echo '.include "confinc"' > confmf |
| 3132 |
+ |
case `$am_make -s -f confmf 2> /dev/null` in #( |
| 3133 |
+ |
*the\ am__doit\ target*) |
| 3134 |
+ |
am__include=.include |
| 3135 |
+ |
am__quote="\"" |
| 3136 |
+ |
_am_result=BSD |
| 3137 |
+ |
;; |
| 3138 |
+ |
esac |
| 3139 |
+ |
fi |
| 3140 |
+ |
|
| 3141 |
+ |
|
| 3142 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 |
| 3143 |
+ |
$as_echo "$_am_result" >&6; } |
| 3144 |
+ |
rm -f confinc confmf |
| 3145 |
+ |
|
| 3146 |
+ |
# Check whether --enable-dependency-tracking was given. |
| 3147 |
+ |
if test "${enable_dependency_tracking+set}" = set; then : |
| 3148 |
+ |
enableval=$enable_dependency_tracking; |
| 3149 |
+ |
fi |
| 3150 |
+ |
|
| 3151 |
+ |
if test "x$enable_dependency_tracking" != xno; then |
| 3152 |
+ |
am_depcomp="$ac_aux_dir/depcomp" |
| 3153 |
+ |
AMDEPBACKSLASH='\' |
| 3154 |
+ |
fi |
| 3155 |
+ |
if test "x$enable_dependency_tracking" != xno; then |
| 3156 |
+ |
AMDEP_TRUE= |
| 3157 |
+ |
AMDEP_FALSE='#' |
| 3158 |
+ |
else |
| 3159 |
+ |
AMDEP_TRUE='#' |
| 3160 |
+ |
AMDEP_FALSE= |
| 3161 |
+ |
fi |
| 3162 |
+ |
|
| 3163 |
+ |
|
| 3164 |
|
ac_ext=c |
| 3165 |
|
ac_cpp='$CPP $CPPFLAGS' |
| 3166 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 3169 |
|
if test -n "$ac_tool_prefix"; then |
| 3170 |
|
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
| 3171 |
|
set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
| 3172 |
< |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 3172 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3173 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 3174 |
< |
if test "${ac_cv_prog_CC+set}" = set; then |
| 3174 |
> |
if test "${ac_cv_prog_CC+set}" = set; then : |
| 3175 |
|
$as_echo_n "(cached) " >&6 |
| 3176 |
|
else |
| 3177 |
|
if test -n "$CC"; then |
| 3182 |
|
do |
| 3183 |
|
IFS=$as_save_IFS |
| 3184 |
|
test -z "$as_dir" && as_dir=. |
| 3185 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3185 |
> |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3186 |
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 3187 |
|
ac_cv_prog_CC="${ac_tool_prefix}gcc" |
| 3188 |
< |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3188 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3189 |
|
break 2 |
| 3190 |
|
fi |
| 3191 |
|
done |
| 3192 |
< |
done |
| 3192 |
> |
done |
| 3193 |
|
IFS=$as_save_IFS |
| 3194 |
|
|
| 3195 |
|
fi |
| 3196 |
|
fi |
| 3197 |
|
CC=$ac_cv_prog_CC |
| 3198 |
|
if test -n "$CC"; then |
| 3199 |
< |
{ $as_echo "$as_me:$LINENO: result: $CC" >&5 |
| 3199 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
| 3200 |
|
$as_echo "$CC" >&6; } |
| 3201 |
|
else |
| 3202 |
< |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
| 3202 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3203 |
|
$as_echo "no" >&6; } |
| 3204 |
|
fi |
| 3205 |
|
|
| 3209 |
|
ac_ct_CC=$CC |
| 3210 |
|
# Extract the first word of "gcc", so it can be a program name with args. |
| 3211 |
|
set dummy gcc; ac_word=$2 |
| 3212 |
< |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 3212 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3213 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 3214 |
< |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
| 3214 |
> |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : |
| 3215 |
|
$as_echo_n "(cached) " >&6 |
| 3216 |
|
else |
| 3217 |
|
if test -n "$ac_ct_CC"; then |
| 3222 |
|
do |
| 3223 |
|
IFS=$as_save_IFS |
| 3224 |
|
test -z "$as_dir" && as_dir=. |
| 3225 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3225 |
> |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3226 |
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 3227 |
|
ac_cv_prog_ac_ct_CC="gcc" |
| 3228 |
< |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3228 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3229 |
|
break 2 |
| 3230 |
|
fi |
| 3231 |
|
done |
| 3232 |
< |
done |
| 3232 |
> |
done |
| 3233 |
|
IFS=$as_save_IFS |
| 3234 |
|
|
| 3235 |
|
fi |
| 3236 |
|
fi |
| 3237 |
|
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
| 3238 |
|
if test -n "$ac_ct_CC"; then |
| 3239 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
| 3239 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
| 3240 |
|
$as_echo "$ac_ct_CC" >&6; } |
| 3241 |
|
else |
| 3242 |
< |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
| 3242 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3243 |
|
$as_echo "no" >&6; } |
| 3244 |
|
fi |
| 3245 |
|
|
| 3248 |
|
else |
| 3249 |
|
case $cross_compiling:$ac_tool_warned in |
| 3250 |
|
yes:) |
| 3251 |
< |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 3251 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 3252 |
|
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 3253 |
|
ac_tool_warned=yes ;; |
| 3254 |
|
esac |
| 3262 |
|
if test -n "$ac_tool_prefix"; then |
| 3263 |
|
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
| 3264 |
|
set dummy ${ac_tool_prefix}cc; ac_word=$2 |
| 3265 |
< |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 3265 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3266 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 3267 |
< |
if test "${ac_cv_prog_CC+set}" = set; then |
| 3267 |
> |
if test "${ac_cv_prog_CC+set}" = set; then : |
| 3268 |
|
$as_echo_n "(cached) " >&6 |
| 3269 |
|
else |
| 3270 |
|
if test -n "$CC"; then |
| 3275 |
|
do |
| 3276 |
|
IFS=$as_save_IFS |
| 3277 |
|
test -z "$as_dir" && as_dir=. |
| 3278 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3278 |
> |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3279 |
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 3280 |
|
ac_cv_prog_CC="${ac_tool_prefix}cc" |
| 3281 |
< |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3281 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3282 |
|
break 2 |
| 3283 |
|
fi |
| 3284 |
|
done |
| 3285 |
< |
done |
| 3285 |
> |
done |
| 3286 |
|
IFS=$as_save_IFS |
| 3287 |
|
|
| 3288 |
|
fi |
| 3289 |
|
fi |
| 3290 |
|
CC=$ac_cv_prog_CC |
| 3291 |
|
if test -n "$CC"; then |
| 3292 |
< |
{ $as_echo "$as_me:$LINENO: result: $CC" >&5 |
| 3292 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
| 3293 |
|
$as_echo "$CC" >&6; } |
| 3294 |
|
else |
| 3295 |
< |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
| 3295 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3296 |
|
$as_echo "no" >&6; } |
| 3297 |
|
fi |
| 3298 |
|
|
| 3302 |
|
if test -z "$CC"; then |
| 3303 |
|
# Extract the first word of "cc", so it can be a program name with args. |
| 3304 |
|
set dummy cc; ac_word=$2 |
| 3305 |
< |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 3305 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3306 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 3307 |
< |
if test "${ac_cv_prog_CC+set}" = set; then |
| 3307 |
> |
if test "${ac_cv_prog_CC+set}" = set; then : |
| 3308 |
|
$as_echo_n "(cached) " >&6 |
| 3309 |
|
else |
| 3310 |
|
if test -n "$CC"; then |
| 3316 |
|
do |
| 3317 |
|
IFS=$as_save_IFS |
| 3318 |
|
test -z "$as_dir" && as_dir=. |
| 3319 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3319 |
> |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3320 |
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 3321 |
|
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
| 3322 |
|
ac_prog_rejected=yes |
| 3323 |
|
continue |
| 3324 |
|
fi |
| 3325 |
|
ac_cv_prog_CC="cc" |
| 3326 |
< |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3326 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3327 |
|
break 2 |
| 3328 |
|
fi |
| 3329 |
|
done |
| 3330 |
< |
done |
| 3330 |
> |
done |
| 3331 |
|
IFS=$as_save_IFS |
| 3332 |
|
|
| 3333 |
|
if test $ac_prog_rejected = yes; then |
| 3346 |
|
fi |
| 3347 |
|
CC=$ac_cv_prog_CC |
| 3348 |
|
if test -n "$CC"; then |
| 3349 |
< |
{ $as_echo "$as_me:$LINENO: result: $CC" >&5 |
| 3349 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
| 3350 |
|
$as_echo "$CC" >&6; } |
| 3351 |
|
else |
| 3352 |
< |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
| 3352 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3353 |
|
$as_echo "no" >&6; } |
| 3354 |
|
fi |
| 3355 |
|
|
| 3361 |
|
do |
| 3362 |
|
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
| 3363 |
|
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| 3364 |
< |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 3364 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3365 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 3366 |
< |
if test "${ac_cv_prog_CC+set}" = set; then |
| 3366 |
> |
if test "${ac_cv_prog_CC+set}" = set; then : |
| 3367 |
|
$as_echo_n "(cached) " >&6 |
| 3368 |
|
else |
| 3369 |
|
if test -n "$CC"; then |
| 3374 |
|
do |
| 3375 |
|
IFS=$as_save_IFS |
| 3376 |
|
test -z "$as_dir" && as_dir=. |
| 3377 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3377 |
> |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3378 |
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 3379 |
|
ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
| 3380 |
< |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3380 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3381 |
|
break 2 |
| 3382 |
|
fi |
| 3383 |
|
done |
| 3384 |
< |
done |
| 3384 |
> |
done |
| 3385 |
|
IFS=$as_save_IFS |
| 3386 |
|
|
| 3387 |
|
fi |
| 3388 |
|
fi |
| 3389 |
|
CC=$ac_cv_prog_CC |
| 3390 |
|
if test -n "$CC"; then |
| 3391 |
< |
{ $as_echo "$as_me:$LINENO: result: $CC" >&5 |
| 3391 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
| 3392 |
|
$as_echo "$CC" >&6; } |
| 3393 |
|
else |
| 3394 |
< |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
| 3394 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3395 |
|
$as_echo "no" >&6; } |
| 3396 |
|
fi |
| 3397 |
|
|
| 3405 |
|
do |
| 3406 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
| 3407 |
|
set dummy $ac_prog; ac_word=$2 |
| 3408 |
< |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 3408 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3409 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 3410 |
< |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
| 3410 |
> |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : |
| 3411 |
|
$as_echo_n "(cached) " >&6 |
| 3412 |
|
else |
| 3413 |
|
if test -n "$ac_ct_CC"; then |
| 3418 |
|
do |
| 3419 |
|
IFS=$as_save_IFS |
| 3420 |
|
test -z "$as_dir" && as_dir=. |
| 3421 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3421 |
> |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3422 |
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 3423 |
|
ac_cv_prog_ac_ct_CC="$ac_prog" |
| 3424 |
< |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3424 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3425 |
|
break 2 |
| 3426 |
|
fi |
| 3427 |
|
done |
| 3428 |
< |
done |
| 3428 |
> |
done |
| 3429 |
|
IFS=$as_save_IFS |
| 3430 |
|
|
| 3431 |
|
fi |
| 3432 |
|
fi |
| 3433 |
|
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
| 3434 |
|
if test -n "$ac_ct_CC"; then |
| 3435 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
| 3435 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
| 3436 |
|
$as_echo "$ac_ct_CC" >&6; } |
| 3437 |
|
else |
| 3438 |
< |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
| 3438 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3439 |
|
$as_echo "no" >&6; } |
| 3440 |
|
fi |
| 3441 |
|
|
| 3448 |
|
else |
| 3449 |
|
case $cross_compiling:$ac_tool_warned in |
| 3450 |
|
yes:) |
| 3451 |
< |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 3451 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 3452 |
|
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 3453 |
|
ac_tool_warned=yes ;; |
| 3454 |
|
esac |
| 3459 |
|
fi |
| 3460 |
|
|
| 3461 |
|
|
| 3462 |
< |
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
| 3462 |
> |
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 3463 |
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 3464 |
< |
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH |
| 3465 |
< |
See \`config.log' for more details." >&5 |
| 3001 |
< |
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH |
| 3002 |
< |
See \`config.log' for more details." >&2;} |
| 3003 |
< |
{ (exit 1); exit 1; }; }; } |
| 3464 |
> |
as_fn_error "no acceptable C compiler found in \$PATH |
| 3465 |
> |
See \`config.log' for more details." "$LINENO" 5; } |
| 3466 |
|
|
| 3467 |
|
# Provide some information about the compiler. |
| 3468 |
< |
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5 |
| 3468 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
| 3469 |
|
set X $ac_compile |
| 3470 |
|
ac_compiler=$2 |
| 3471 |
< |
{ (ac_try="$ac_compiler --version >&5" |
| 3472 |
< |
case "(($ac_try" in |
| 3011 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3012 |
< |
*) ac_try_echo=$ac_try;; |
| 3013 |
< |
esac |
| 3014 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 3015 |
< |
$as_echo "$ac_try_echo") >&5 |
| 3016 |
< |
(eval "$ac_compiler --version >&5") 2>&5 |
| 3017 |
< |
ac_status=$? |
| 3018 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3019 |
< |
(exit $ac_status); } |
| 3020 |
< |
{ (ac_try="$ac_compiler -v >&5" |
| 3021 |
< |
case "(($ac_try" in |
| 3022 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3023 |
< |
*) ac_try_echo=$ac_try;; |
| 3024 |
< |
esac |
| 3025 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 3026 |
< |
$as_echo "$ac_try_echo") >&5 |
| 3027 |
< |
(eval "$ac_compiler -v >&5") 2>&5 |
| 3028 |
< |
ac_status=$? |
| 3029 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3030 |
< |
(exit $ac_status); } |
| 3031 |
< |
{ (ac_try="$ac_compiler -V >&5" |
| 3471 |
> |
for ac_option in --version -v -V -qversion; do |
| 3472 |
> |
{ { ac_try="$ac_compiler $ac_option >&5" |
| 3473 |
|
case "(($ac_try" in |
| 3474 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3475 |
|
*) ac_try_echo=$ac_try;; |
| 3476 |
|
esac |
| 3477 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 3478 |
< |
$as_echo "$ac_try_echo") >&5 |
| 3479 |
< |
(eval "$ac_compiler -V >&5") 2>&5 |
| 3477 |
> |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 3478 |
> |
$as_echo "$ac_try_echo"; } >&5 |
| 3479 |
> |
(eval "$ac_compiler $ac_option >&5") 2>conftest.err |
| 3480 |
|
ac_status=$? |
| 3481 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3482 |
< |
(exit $ac_status); } |
| 3481 |
> |
if test -s conftest.err; then |
| 3482 |
> |
sed '10a\ |
| 3483 |
> |
... rest of stderr output deleted ... |
| 3484 |
> |
10q' conftest.err >conftest.er1 |
| 3485 |
> |
cat conftest.er1 >&5 |
| 3486 |
> |
rm -f conftest.er1 conftest.err |
| 3487 |
> |
fi |
| 3488 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 3489 |
> |
test $ac_status = 0; } |
| 3490 |
> |
done |
| 3491 |
|
|
| 3492 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 3044 |
< |
/* confdefs.h. */ |
| 3045 |
< |
_ACEOF |
| 3046 |
< |
cat confdefs.h >>conftest.$ac_ext |
| 3047 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
| 3492 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 3493 |
|
/* end confdefs.h. */ |
| 3494 |
< |
|
| 3494 |
> |
#include <stdio.h> |
| 3495 |
|
int |
| 3496 |
|
main () |
| 3497 |
|
{ |
| 3498 |
+ |
FILE *f = fopen ("conftest.out", "w"); |
| 3499 |
+ |
return ferror (f) || fclose (f) != 0; |
| 3500 |
|
|
| 3501 |
|
; |
| 3502 |
|
return 0; |
| 3503 |
|
} |
| 3504 |
|
_ACEOF |
| 3505 |
|
ac_clean_files_save=$ac_clean_files |
| 3506 |
< |
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" |
| 3506 |
> |
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out" |
| 3507 |
|
# Try to create an executable without -o first, disregard a.out. |
| 3508 |
|
# It will help us diagnose broken compilers, and finding out an intuition |
| 3509 |
|
# of exeext. |
| 3510 |
< |
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 |
| 3510 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
| 3511 |
|
$as_echo_n "checking for C compiler default output file name... " >&6; } |
| 3512 |
|
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
| 3513 |
|
|
| 3524 |
|
done |
| 3525 |
|
rm -f $ac_rmfiles |
| 3526 |
|
|
| 3527 |
< |
if { (ac_try="$ac_link_default" |
| 3527 |
> |
if { { ac_try="$ac_link_default" |
| 3528 |
|
case "(($ac_try" in |
| 3529 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3530 |
|
*) ac_try_echo=$ac_try;; |
| 3531 |
|
esac |
| 3532 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 3533 |
< |
$as_echo "$ac_try_echo") >&5 |
| 3532 |
> |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 3533 |
> |
$as_echo "$ac_try_echo"; } >&5 |
| 3534 |
|
(eval "$ac_link_default") 2>&5 |
| 3535 |
|
ac_status=$? |
| 3536 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3537 |
< |
(exit $ac_status); }; then |
| 3536 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 3537 |
> |
test $ac_status = 0; }; then : |
| 3538 |
|
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
| 3539 |
|
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
| 3540 |
|
# in a Makefile. We should not override ac_cv_exeext if it was cached, |
| 3551 |
|
# certainly right. |
| 3552 |
|
break;; |
| 3553 |
|
*.* ) |
| 3554 |
< |
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
| 3554 |
> |
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
| 3555 |
|
then :; else |
| 3556 |
|
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
| 3557 |
|
fi |
| 3570 |
|
else |
| 3571 |
|
ac_file='' |
| 3572 |
|
fi |
| 3573 |
< |
|
| 3127 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5 |
| 3573 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 |
| 3574 |
|
$as_echo "$ac_file" >&6; } |
| 3575 |
< |
if test -z "$ac_file"; then |
| 3575 |
> |
if test -z "$ac_file"; then : |
| 3576 |
|
$as_echo "$as_me: failed program was:" >&5 |
| 3577 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 3578 |
|
|
| 3579 |
< |
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
| 3579 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 3580 |
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 3581 |
< |
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables |
| 3582 |
< |
See \`config.log' for more details." >&5 |
| 3583 |
< |
$as_echo "$as_me: error: C compiler cannot create executables |
| 3138 |
< |
See \`config.log' for more details." >&2;} |
| 3139 |
< |
{ (exit 77); exit 77; }; }; } |
| 3581 |
> |
{ as_fn_set_status 77 |
| 3582 |
> |
as_fn_error "C compiler cannot create executables |
| 3583 |
> |
See \`config.log' for more details." "$LINENO" 5; }; } |
| 3584 |
|
fi |
| 3141 |
– |
|
| 3585 |
|
ac_exeext=$ac_cv_exeext |
| 3586 |
|
|
| 3587 |
|
# Check that the compiler produces executables we can run. If not, either |
| 3588 |
|
# the compiler is broken, or we cross compile. |
| 3589 |
< |
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5 |
| 3589 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 |
| 3590 |
|
$as_echo_n "checking whether the C compiler works... " >&6; } |
| 3148 |
– |
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 |
| 3591 |
|
# If not cross compiling, check that we can run a simple program. |
| 3592 |
|
if test "$cross_compiling" != yes; then |
| 3593 |
|
if { ac_try='./$ac_file' |
| 3594 |
< |
{ (case "(($ac_try" in |
| 3594 |
> |
{ { case "(($ac_try" in |
| 3595 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3596 |
|
*) ac_try_echo=$ac_try;; |
| 3597 |
|
esac |
| 3598 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 3599 |
< |
$as_echo "$ac_try_echo") >&5 |
| 3598 |
> |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 3599 |
> |
$as_echo "$ac_try_echo"; } >&5 |
| 3600 |
|
(eval "$ac_try") 2>&5 |
| 3601 |
|
ac_status=$? |
| 3602 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3603 |
< |
(exit $ac_status); }; }; then |
| 3602 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 3603 |
> |
test $ac_status = 0; }; }; then |
| 3604 |
|
cross_compiling=no |
| 3605 |
|
else |
| 3606 |
|
if test "$cross_compiling" = maybe; then |
| 3607 |
|
cross_compiling=yes |
| 3608 |
|
else |
| 3609 |
< |
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
| 3609 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 3610 |
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 3611 |
< |
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs. |
| 3170 |
< |
If you meant to cross compile, use \`--host'. |
| 3171 |
< |
See \`config.log' for more details." >&5 |
| 3172 |
< |
$as_echo "$as_me: error: cannot run C compiled programs. |
| 3611 |
> |
as_fn_error "cannot run C compiled programs. |
| 3612 |
|
If you meant to cross compile, use \`--host'. |
| 3613 |
< |
See \`config.log' for more details." >&2;} |
| 3175 |
< |
{ (exit 1); exit 1; }; }; } |
| 3613 |
> |
See \`config.log' for more details." "$LINENO" 5; } |
| 3614 |
|
fi |
| 3615 |
|
fi |
| 3616 |
|
fi |
| 3617 |
< |
{ $as_echo "$as_me:$LINENO: result: yes" >&5 |
| 3617 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 3618 |
|
$as_echo "yes" >&6; } |
| 3619 |
|
|
| 3620 |
< |
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out |
| 3620 |
> |
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out |
| 3621 |
|
ac_clean_files=$ac_clean_files_save |
| 3622 |
|
# Check that the compiler produces executables we can run. If not, either |
| 3623 |
|
# the compiler is broken, or we cross compile. |
| 3624 |
< |
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 |
| 3624 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 |
| 3625 |
|
$as_echo_n "checking whether we are cross compiling... " >&6; } |
| 3626 |
< |
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 |
| 3626 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
| 3627 |
|
$as_echo "$cross_compiling" >&6; } |
| 3628 |
|
|
| 3629 |
< |
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 |
| 3629 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 |
| 3630 |
|
$as_echo_n "checking for suffix of executables... " >&6; } |
| 3631 |
< |
if { (ac_try="$ac_link" |
| 3631 |
> |
if { { ac_try="$ac_link" |
| 3632 |
|
case "(($ac_try" in |
| 3633 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3634 |
|
*) ac_try_echo=$ac_try;; |
| 3635 |
|
esac |
| 3636 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 3637 |
< |
$as_echo "$ac_try_echo") >&5 |
| 3636 |
> |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 3637 |
> |
$as_echo "$ac_try_echo"; } >&5 |
| 3638 |
|
(eval "$ac_link") 2>&5 |
| 3639 |
|
ac_status=$? |
| 3640 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3641 |
< |
(exit $ac_status); }; then |
| 3640 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 3641 |
> |
test $ac_status = 0; }; then : |
| 3642 |
|
# If both `conftest.exe' and `conftest' are `present' (well, observable) |
| 3643 |
|
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
| 3644 |
|
# work properly (i.e., refer to `conftest.exe'), while it won't with |
| 3653 |
|
esac |
| 3654 |
|
done |
| 3655 |
|
else |
| 3656 |
< |
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
| 3656 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 3657 |
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 3658 |
< |
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link |
| 3659 |
< |
See \`config.log' for more details." >&5 |
| 3222 |
< |
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link |
| 3223 |
< |
See \`config.log' for more details." >&2;} |
| 3224 |
< |
{ (exit 1); exit 1; }; }; } |
| 3658 |
> |
as_fn_error "cannot compute suffix of executables: cannot compile and link |
| 3659 |
> |
See \`config.log' for more details." "$LINENO" 5; } |
| 3660 |
|
fi |
| 3226 |
– |
|
| 3661 |
|
rm -f conftest$ac_cv_exeext |
| 3662 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 |
| 3662 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
| 3663 |
|
$as_echo "$ac_cv_exeext" >&6; } |
| 3664 |
|
|
| 3665 |
|
rm -f conftest.$ac_ext |
| 3666 |
|
EXEEXT=$ac_cv_exeext |
| 3667 |
|
ac_exeext=$EXEEXT |
| 3668 |
< |
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 |
| 3668 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
| 3669 |
|
$as_echo_n "checking for suffix of object files... " >&6; } |
| 3670 |
< |
if test "${ac_cv_objext+set}" = set; then |
| 3670 |
> |
if test "${ac_cv_objext+set}" = set; then : |
| 3671 |
|
$as_echo_n "(cached) " >&6 |
| 3672 |
|
else |
| 3673 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 3240 |
< |
/* confdefs.h. */ |
| 3241 |
< |
_ACEOF |
| 3242 |
< |
cat confdefs.h >>conftest.$ac_ext |
| 3243 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
| 3673 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 3674 |
|
/* end confdefs.h. */ |
| 3675 |
|
|
| 3676 |
|
int |
| 3682 |
|
} |
| 3683 |
|
_ACEOF |
| 3684 |
|
rm -f conftest.o conftest.obj |
| 3685 |
< |
if { (ac_try="$ac_compile" |
| 3685 |
> |
if { { ac_try="$ac_compile" |
| 3686 |
|
case "(($ac_try" in |
| 3687 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3688 |
|
*) ac_try_echo=$ac_try;; |
| 3689 |
|
esac |
| 3690 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 3691 |
< |
$as_echo "$ac_try_echo") >&5 |
| 3690 |
> |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 3691 |
> |
$as_echo "$ac_try_echo"; } >&5 |
| 3692 |
|
(eval "$ac_compile") 2>&5 |
| 3693 |
|
ac_status=$? |
| 3694 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3695 |
< |
(exit $ac_status); }; then |
| 3694 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 3695 |
> |
test $ac_status = 0; }; then : |
| 3696 |
|
for ac_file in conftest.o conftest.obj conftest.*; do |
| 3697 |
|
test -f "$ac_file" || continue; |
| 3698 |
|
case $ac_file in |
| 3705 |
|
$as_echo "$as_me: failed program was:" >&5 |
| 3706 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 3707 |
|
|
| 3708 |
< |
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
| 3708 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 3709 |
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 3710 |
< |
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile |
| 3711 |
< |
See \`config.log' for more details." >&5 |
| 3282 |
< |
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile |
| 3283 |
< |
See \`config.log' for more details." >&2;} |
| 3284 |
< |
{ (exit 1); exit 1; }; }; } |
| 3710 |
> |
as_fn_error "cannot compute suffix of object files: cannot compile |
| 3711 |
> |
See \`config.log' for more details." "$LINENO" 5; } |
| 3712 |
|
fi |
| 3286 |
– |
|
| 3713 |
|
rm -f conftest.$ac_cv_objext conftest.$ac_ext |
| 3714 |
|
fi |
| 3715 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
| 3715 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
| 3716 |
|
$as_echo "$ac_cv_objext" >&6; } |
| 3717 |
|
OBJEXT=$ac_cv_objext |
| 3718 |
|
ac_objext=$OBJEXT |
| 3719 |
< |
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
| 3719 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
| 3720 |
|
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
| 3721 |
< |
if test "${ac_cv_c_compiler_gnu+set}" = set; then |
| 3721 |
> |
if test "${ac_cv_c_compiler_gnu+set}" = set; then : |
| 3722 |
|
$as_echo_n "(cached) " >&6 |
| 3723 |
|
else |
| 3724 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 3299 |
< |
/* confdefs.h. */ |
| 3300 |
< |
_ACEOF |
| 3301 |
< |
cat confdefs.h >>conftest.$ac_ext |
| 3302 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
| 3724 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 3725 |
|
/* end confdefs.h. */ |
| 3726 |
|
|
| 3727 |
|
int |
| 3735 |
|
return 0; |
| 3736 |
|
} |
| 3737 |
|
_ACEOF |
| 3738 |
< |
rm -f conftest.$ac_objext |
| 3317 |
< |
if { (ac_try="$ac_compile" |
| 3318 |
< |
case "(($ac_try" in |
| 3319 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3320 |
< |
*) ac_try_echo=$ac_try;; |
| 3321 |
< |
esac |
| 3322 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 3323 |
< |
$as_echo "$ac_try_echo") >&5 |
| 3324 |
< |
(eval "$ac_compile") 2>conftest.er1 |
| 3325 |
< |
ac_status=$? |
| 3326 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
| 3327 |
< |
rm -f conftest.er1 |
| 3328 |
< |
cat conftest.err >&5 |
| 3329 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3330 |
< |
(exit $ac_status); } && { |
| 3331 |
< |
test -z "$ac_c_werror_flag" || |
| 3332 |
< |
test ! -s conftest.err |
| 3333 |
< |
} && test -s conftest.$ac_objext; then |
| 3738 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
| 3739 |
|
ac_compiler_gnu=yes |
| 3740 |
|
else |
| 3741 |
< |
$as_echo "$as_me: failed program was:" >&5 |
| 3337 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 3338 |
< |
|
| 3339 |
< |
ac_compiler_gnu=no |
| 3741 |
> |
ac_compiler_gnu=no |
| 3742 |
|
fi |
| 3341 |
– |
|
| 3743 |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 3744 |
|
ac_cv_c_compiler_gnu=$ac_compiler_gnu |
| 3745 |
|
|
| 3746 |
|
fi |
| 3747 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
| 3747 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 |
| 3748 |
|
$as_echo "$ac_cv_c_compiler_gnu" >&6; } |
| 3749 |
|
if test $ac_compiler_gnu = yes; then |
| 3750 |
|
GCC=yes |
| 3753 |
|
fi |
| 3754 |
|
ac_test_CFLAGS=${CFLAGS+set} |
| 3755 |
|
ac_save_CFLAGS=$CFLAGS |
| 3756 |
< |
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
| 3756 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
| 3757 |
|
$as_echo_n "checking whether $CC accepts -g... " >&6; } |
| 3758 |
< |
if test "${ac_cv_prog_cc_g+set}" = set; then |
| 3758 |
> |
if test "${ac_cv_prog_cc_g+set}" = set; then : |
| 3759 |
|
$as_echo_n "(cached) " >&6 |
| 3760 |
|
else |
| 3761 |
|
ac_save_c_werror_flag=$ac_c_werror_flag |
| 3762 |
|
ac_c_werror_flag=yes |
| 3763 |
|
ac_cv_prog_cc_g=no |
| 3764 |
|
CFLAGS="-g" |
| 3765 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 3365 |
< |
/* confdefs.h. */ |
| 3366 |
< |
_ACEOF |
| 3367 |
< |
cat confdefs.h >>conftest.$ac_ext |
| 3368 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
| 3765 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 3766 |
|
/* end confdefs.h. */ |
| 3767 |
|
|
| 3768 |
|
int |
| 3773 |
|
return 0; |
| 3774 |
|
} |
| 3775 |
|
_ACEOF |
| 3776 |
< |
rm -f conftest.$ac_objext |
| 3380 |
< |
if { (ac_try="$ac_compile" |
| 3381 |
< |
case "(($ac_try" in |
| 3382 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3383 |
< |
*) ac_try_echo=$ac_try;; |
| 3384 |
< |
esac |
| 3385 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 3386 |
< |
$as_echo "$ac_try_echo") >&5 |
| 3387 |
< |
(eval "$ac_compile") 2>conftest.er1 |
| 3388 |
< |
ac_status=$? |
| 3389 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
| 3390 |
< |
rm -f conftest.er1 |
| 3391 |
< |
cat conftest.err >&5 |
| 3392 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3393 |
< |
(exit $ac_status); } && { |
| 3394 |
< |
test -z "$ac_c_werror_flag" || |
| 3395 |
< |
test ! -s conftest.err |
| 3396 |
< |
} && test -s conftest.$ac_objext; then |
| 3776 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
| 3777 |
|
ac_cv_prog_cc_g=yes |
| 3778 |
|
else |
| 3779 |
< |
$as_echo "$as_me: failed program was:" >&5 |
| 3780 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 3401 |
< |
|
| 3402 |
< |
CFLAGS="" |
| 3403 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 3404 |
< |
/* confdefs.h. */ |
| 3405 |
< |
_ACEOF |
| 3406 |
< |
cat confdefs.h >>conftest.$ac_ext |
| 3407 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
| 3779 |
> |
CFLAGS="" |
| 3780 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 3781 |
|
/* end confdefs.h. */ |
| 3782 |
|
|
| 3783 |
|
int |
| 3788 |
|
return 0; |
| 3789 |
|
} |
| 3790 |
|
_ACEOF |
| 3791 |
< |
rm -f conftest.$ac_objext |
| 3419 |
< |
if { (ac_try="$ac_compile" |
| 3420 |
< |
case "(($ac_try" in |
| 3421 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3422 |
< |
*) ac_try_echo=$ac_try;; |
| 3423 |
< |
esac |
| 3424 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 3425 |
< |
$as_echo "$ac_try_echo") >&5 |
| 3426 |
< |
(eval "$ac_compile") 2>conftest.er1 |
| 3427 |
< |
ac_status=$? |
| 3428 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
| 3429 |
< |
rm -f conftest.er1 |
| 3430 |
< |
cat conftest.err >&5 |
| 3431 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3432 |
< |
(exit $ac_status); } && { |
| 3433 |
< |
test -z "$ac_c_werror_flag" || |
| 3434 |
< |
test ! -s conftest.err |
| 3435 |
< |
} && test -s conftest.$ac_objext; then |
| 3436 |
< |
: |
| 3437 |
< |
else |
| 3438 |
< |
$as_echo "$as_me: failed program was:" >&5 |
| 3439 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 3791 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
| 3792 |
|
|
| 3793 |
< |
ac_c_werror_flag=$ac_save_c_werror_flag |
| 3793 |
> |
else |
| 3794 |
> |
ac_c_werror_flag=$ac_save_c_werror_flag |
| 3795 |
|
CFLAGS="-g" |
| 3796 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 3444 |
< |
/* confdefs.h. */ |
| 3445 |
< |
_ACEOF |
| 3446 |
< |
cat confdefs.h >>conftest.$ac_ext |
| 3447 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
| 3796 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 3797 |
|
/* end confdefs.h. */ |
| 3798 |
|
|
| 3799 |
|
int |
| 3804 |
|
return 0; |
| 3805 |
|
} |
| 3806 |
|
_ACEOF |
| 3807 |
< |
rm -f conftest.$ac_objext |
| 3459 |
< |
if { (ac_try="$ac_compile" |
| 3460 |
< |
case "(($ac_try" in |
| 3461 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3462 |
< |
*) ac_try_echo=$ac_try;; |
| 3463 |
< |
esac |
| 3464 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 3465 |
< |
$as_echo "$ac_try_echo") >&5 |
| 3466 |
< |
(eval "$ac_compile") 2>conftest.er1 |
| 3467 |
< |
ac_status=$? |
| 3468 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
| 3469 |
< |
rm -f conftest.er1 |
| 3470 |
< |
cat conftest.err >&5 |
| 3471 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3472 |
< |
(exit $ac_status); } && { |
| 3473 |
< |
test -z "$ac_c_werror_flag" || |
| 3474 |
< |
test ! -s conftest.err |
| 3475 |
< |
} && test -s conftest.$ac_objext; then |
| 3807 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
| 3808 |
|
ac_cv_prog_cc_g=yes |
| 3477 |
– |
else |
| 3478 |
– |
$as_echo "$as_me: failed program was:" >&5 |
| 3479 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 3480 |
– |
|
| 3481 |
– |
|
| 3809 |
|
fi |
| 3483 |
– |
|
| 3810 |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 3811 |
|
fi |
| 3486 |
– |
|
| 3812 |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 3813 |
|
fi |
| 3489 |
– |
|
| 3814 |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 3815 |
|
ac_c_werror_flag=$ac_save_c_werror_flag |
| 3816 |
|
fi |
| 3817 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
| 3817 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 |
| 3818 |
|
$as_echo "$ac_cv_prog_cc_g" >&6; } |
| 3819 |
|
if test "$ac_test_CFLAGS" = set; then |
| 3820 |
|
CFLAGS=$ac_save_CFLAGS |
| 3831 |
|
CFLAGS= |
| 3832 |
|
fi |
| 3833 |
|
fi |
| 3834 |
< |
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 |
| 3834 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
| 3835 |
|
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
| 3836 |
< |
if test "${ac_cv_prog_cc_c89+set}" = set; then |
| 3836 |
> |
if test "${ac_cv_prog_cc_c89+set}" = set; then : |
| 3837 |
|
$as_echo_n "(cached) " >&6 |
| 3838 |
|
else |
| 3839 |
|
ac_cv_prog_cc_c89=no |
| 3840 |
|
ac_save_CC=$CC |
| 3841 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 3518 |
< |
/* confdefs.h. */ |
| 3519 |
< |
_ACEOF |
| 3520 |
< |
cat confdefs.h >>conftest.$ac_ext |
| 3521 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
| 3841 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 3842 |
|
/* end confdefs.h. */ |
| 3843 |
|
#include <stdarg.h> |
| 3844 |
|
#include <stdio.h> |
| 3895 |
|
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
| 3896 |
|
do |
| 3897 |
|
CC="$ac_save_CC $ac_arg" |
| 3898 |
< |
rm -f conftest.$ac_objext |
| 3579 |
< |
if { (ac_try="$ac_compile" |
| 3580 |
< |
case "(($ac_try" in |
| 3581 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3582 |
< |
*) ac_try_echo=$ac_try;; |
| 3583 |
< |
esac |
| 3584 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 3585 |
< |
$as_echo "$ac_try_echo") >&5 |
| 3586 |
< |
(eval "$ac_compile") 2>conftest.er1 |
| 3587 |
< |
ac_status=$? |
| 3588 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
| 3589 |
< |
rm -f conftest.er1 |
| 3590 |
< |
cat conftest.err >&5 |
| 3591 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3592 |
< |
(exit $ac_status); } && { |
| 3593 |
< |
test -z "$ac_c_werror_flag" || |
| 3594 |
< |
test ! -s conftest.err |
| 3595 |
< |
} && test -s conftest.$ac_objext; then |
| 3898 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
| 3899 |
|
ac_cv_prog_cc_c89=$ac_arg |
| 3597 |
– |
else |
| 3598 |
– |
$as_echo "$as_me: failed program was:" >&5 |
| 3599 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 3600 |
– |
|
| 3601 |
– |
|
| 3900 |
|
fi |
| 3603 |
– |
|
| 3901 |
|
rm -f core conftest.err conftest.$ac_objext |
| 3902 |
|
test "x$ac_cv_prog_cc_c89" != "xno" && break |
| 3903 |
|
done |
| 3908 |
|
# AC_CACHE_VAL |
| 3909 |
|
case "x$ac_cv_prog_cc_c89" in |
| 3910 |
|
x) |
| 3911 |
< |
{ $as_echo "$as_me:$LINENO: result: none needed" >&5 |
| 3911 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
| 3912 |
|
$as_echo "none needed" >&6; } ;; |
| 3913 |
|
xno) |
| 3914 |
< |
{ $as_echo "$as_me:$LINENO: result: unsupported" >&5 |
| 3914 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
| 3915 |
|
$as_echo "unsupported" >&6; } ;; |
| 3916 |
|
*) |
| 3917 |
|
CC="$CC $ac_cv_prog_cc_c89" |
| 3918 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 |
| 3918 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 |
| 3919 |
|
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; |
| 3920 |
|
esac |
| 3921 |
+ |
if test "x$ac_cv_prog_cc_c89" != xno; then : |
| 3922 |
|
|
| 3923 |
+ |
fi |
| 3924 |
|
|
| 3925 |
|
ac_ext=c |
| 3926 |
|
ac_cpp='$CPP $CPPFLAGS' |
| 3927 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 3928 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 3929 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 3631 |
– |
DEPDIR="${am__leading_dot}deps" |
| 3632 |
– |
|
| 3633 |
– |
ac_config_commands="$ac_config_commands depfiles" |
| 3634 |
– |
|
| 3635 |
– |
|
| 3636 |
– |
am_make=${MAKE-make} |
| 3637 |
– |
cat > confinc << 'END' |
| 3638 |
– |
am__doit: |
| 3639 |
– |
@echo this is the am__doit target |
| 3640 |
– |
.PHONY: am__doit |
| 3641 |
– |
END |
| 3642 |
– |
# If we don't find an include directive, just comment out the code. |
| 3643 |
– |
{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 |
| 3644 |
– |
$as_echo_n "checking for style of include used by $am_make... " >&6; } |
| 3645 |
– |
am__include="#" |
| 3646 |
– |
am__quote= |
| 3647 |
– |
_am_result=none |
| 3648 |
– |
# First try GNU make style include. |
| 3649 |
– |
echo "include confinc" > confmf |
| 3650 |
– |
# Ignore all kinds of additional output from `make'. |
| 3651 |
– |
case `$am_make -s -f confmf 2> /dev/null` in #( |
| 3652 |
– |
*the\ am__doit\ target*) |
| 3653 |
– |
am__include=include |
| 3654 |
– |
am__quote= |
| 3655 |
– |
_am_result=GNU |
| 3656 |
– |
;; |
| 3657 |
– |
esac |
| 3658 |
– |
# Now try BSD make style include. |
| 3659 |
– |
if test "$am__include" = "#"; then |
| 3660 |
– |
echo '.include "confinc"' > confmf |
| 3661 |
– |
case `$am_make -s -f confmf 2> /dev/null` in #( |
| 3662 |
– |
*the\ am__doit\ target*) |
| 3663 |
– |
am__include=.include |
| 3664 |
– |
am__quote="\"" |
| 3665 |
– |
_am_result=BSD |
| 3666 |
– |
;; |
| 3667 |
– |
esac |
| 3668 |
– |
fi |
| 3669 |
– |
|
| 3670 |
– |
|
| 3671 |
– |
{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5 |
| 3672 |
– |
$as_echo "$_am_result" >&6; } |
| 3673 |
– |
rm -f confinc confmf |
| 3674 |
– |
|
| 3675 |
– |
# Check whether --enable-dependency-tracking was given. |
| 3676 |
– |
if test "${enable_dependency_tracking+set}" = set; then |
| 3677 |
– |
enableval=$enable_dependency_tracking; |
| 3678 |
– |
fi |
| 3679 |
– |
|
| 3680 |
– |
if test "x$enable_dependency_tracking" != xno; then |
| 3681 |
– |
am_depcomp="$ac_aux_dir/depcomp" |
| 3682 |
– |
AMDEPBACKSLASH='\' |
| 3683 |
– |
fi |
| 3684 |
– |
if test "x$enable_dependency_tracking" != xno; then |
| 3685 |
– |
AMDEP_TRUE= |
| 3686 |
– |
AMDEP_FALSE='#' |
| 3687 |
– |
else |
| 3688 |
– |
AMDEP_TRUE='#' |
| 3689 |
– |
AMDEP_FALSE= |
| 3690 |
– |
fi |
| 3691 |
– |
|
| 3692 |
– |
|
| 3930 |
|
|
| 3931 |
|
depcc="$CC" am_compiler_list= |
| 3932 |
|
|
| 3933 |
< |
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 |
| 3933 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
| 3934 |
|
$as_echo_n "checking dependency style of $depcc... " >&6; } |
| 3935 |
< |
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then |
| 3935 |
> |
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : |
| 3936 |
|
$as_echo_n "(cached) " >&6 |
| 3937 |
|
else |
| 3938 |
|
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
| 4040 |
|
fi |
| 4041 |
|
|
| 4042 |
|
fi |
| 4043 |
< |
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 |
| 4043 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 |
| 4044 |
|
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } |
| 4045 |
|
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
| 4046 |
|
|
| 4055 |
|
fi |
| 4056 |
|
|
| 4057 |
|
|
| 4058 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5 |
| 4059 |
+ |
$as_echo_n "checking for $CC option to accept ISO C99... " >&6; } |
| 4060 |
+ |
if test "${ac_cv_prog_cc_c99+set}" = set; then : |
| 4061 |
+ |
$as_echo_n "(cached) " >&6 |
| 4062 |
+ |
else |
| 4063 |
+ |
ac_cv_prog_cc_c99=no |
| 4064 |
+ |
ac_save_CC=$CC |
| 4065 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4066 |
+ |
/* end confdefs.h. */ |
| 4067 |
+ |
#include <stdarg.h> |
| 4068 |
+ |
#include <stdbool.h> |
| 4069 |
+ |
#include <stdlib.h> |
| 4070 |
+ |
#include <wchar.h> |
| 4071 |
+ |
#include <stdio.h> |
| 4072 |
+ |
|
| 4073 |
+ |
// Check varargs macros. These examples are taken from C99 6.10.3.5. |
| 4074 |
+ |
#define debug(...) fprintf (stderr, __VA_ARGS__) |
| 4075 |
+ |
#define showlist(...) puts (#__VA_ARGS__) |
| 4076 |
+ |
#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) |
| 4077 |
+ |
static void |
| 4078 |
+ |
test_varargs_macros (void) |
| 4079 |
+ |
{ |
| 4080 |
+ |
int x = 1234; |
| 4081 |
+ |
int y = 5678; |
| 4082 |
+ |
debug ("Flag"); |
| 4083 |
+ |
debug ("X = %d\n", x); |
| 4084 |
+ |
showlist (The first, second, and third items.); |
| 4085 |
+ |
report (x>y, "x is %d but y is %d", x, y); |
| 4086 |
+ |
} |
| 4087 |
+ |
|
| 4088 |
+ |
// Check long long types. |
| 4089 |
+ |
#define BIG64 18446744073709551615ull |
| 4090 |
+ |
#define BIG32 4294967295ul |
| 4091 |
+ |
#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) |
| 4092 |
+ |
#if !BIG_OK |
| 4093 |
+ |
your preprocessor is broken; |
| 4094 |
+ |
#endif |
| 4095 |
+ |
#if BIG_OK |
| 4096 |
+ |
#else |
| 4097 |
+ |
your preprocessor is broken; |
| 4098 |
+ |
#endif |
| 4099 |
+ |
static long long int bignum = -9223372036854775807LL; |
| 4100 |
+ |
static unsigned long long int ubignum = BIG64; |
| 4101 |
+ |
|
| 4102 |
+ |
struct incomplete_array |
| 4103 |
+ |
{ |
| 4104 |
+ |
int datasize; |
| 4105 |
+ |
double data[]; |
| 4106 |
+ |
}; |
| 4107 |
+ |
|
| 4108 |
+ |
struct named_init { |
| 4109 |
+ |
int number; |
| 4110 |
+ |
const wchar_t *name; |
| 4111 |
+ |
double average; |
| 4112 |
+ |
}; |
| 4113 |
+ |
|
| 4114 |
+ |
typedef const char *ccp; |
| 4115 |
+ |
|
| 4116 |
+ |
static inline int |
| 4117 |
+ |
test_restrict (ccp restrict text) |
| 4118 |
+ |
{ |
| 4119 |
+ |
// See if C++-style comments work. |
| 4120 |
+ |
// Iterate through items via the restricted pointer. |
| 4121 |
+ |
// Also check for declarations in for loops. |
| 4122 |
+ |
for (unsigned int i = 0; *(text+i) != '\0'; ++i) |
| 4123 |
+ |
continue; |
| 4124 |
+ |
return 0; |
| 4125 |
+ |
} |
| 4126 |
+ |
|
| 4127 |
+ |
// Check varargs and va_copy. |
| 4128 |
+ |
static void |
| 4129 |
+ |
test_varargs (const char *format, ...) |
| 4130 |
+ |
{ |
| 4131 |
+ |
va_list args; |
| 4132 |
+ |
va_start (args, format); |
| 4133 |
+ |
va_list args_copy; |
| 4134 |
+ |
va_copy (args_copy, args); |
| 4135 |
+ |
|
| 4136 |
+ |
const char *str; |
| 4137 |
+ |
int number; |
| 4138 |
+ |
float fnumber; |
| 4139 |
+ |
|
| 4140 |
+ |
while (*format) |
| 4141 |
+ |
{ |
| 4142 |
+ |
switch (*format++) |
| 4143 |
+ |
{ |
| 4144 |
+ |
case 's': // string |
| 4145 |
+ |
str = va_arg (args_copy, const char *); |
| 4146 |
+ |
break; |
| 4147 |
+ |
case 'd': // int |
| 4148 |
+ |
number = va_arg (args_copy, int); |
| 4149 |
+ |
break; |
| 4150 |
+ |
case 'f': // float |
| 4151 |
+ |
fnumber = va_arg (args_copy, double); |
| 4152 |
+ |
break; |
| 4153 |
+ |
default: |
| 4154 |
+ |
break; |
| 4155 |
+ |
} |
| 4156 |
+ |
} |
| 4157 |
+ |
va_end (args_copy); |
| 4158 |
+ |
va_end (args); |
| 4159 |
+ |
} |
| 4160 |
+ |
|
| 4161 |
+ |
int |
| 4162 |
+ |
main () |
| 4163 |
+ |
{ |
| 4164 |
+ |
|
| 4165 |
+ |
// Check bool. |
| 4166 |
+ |
_Bool success = false; |
| 4167 |
+ |
|
| 4168 |
+ |
// Check restrict. |
| 4169 |
+ |
if (test_restrict ("String literal") == 0) |
| 4170 |
+ |
success = true; |
| 4171 |
+ |
char *restrict newvar = "Another string"; |
| 4172 |
+ |
|
| 4173 |
+ |
// Check varargs. |
| 4174 |
+ |
test_varargs ("s, d' f .", "string", 65, 34.234); |
| 4175 |
+ |
test_varargs_macros (); |
| 4176 |
+ |
|
| 4177 |
+ |
// Check flexible array members. |
| 4178 |
+ |
struct incomplete_array *ia = |
| 4179 |
+ |
malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); |
| 4180 |
+ |
ia->datasize = 10; |
| 4181 |
+ |
for (int i = 0; i < ia->datasize; ++i) |
| 4182 |
+ |
ia->data[i] = i * 1.234; |
| 4183 |
+ |
|
| 4184 |
+ |
// Check named initializers. |
| 4185 |
+ |
struct named_init ni = { |
| 4186 |
+ |
.number = 34, |
| 4187 |
+ |
.name = L"Test wide string", |
| 4188 |
+ |
.average = 543.34343, |
| 4189 |
+ |
}; |
| 4190 |
+ |
|
| 4191 |
+ |
ni.number = 58; |
| 4192 |
+ |
|
| 4193 |
+ |
int dynamic_array[ni.number]; |
| 4194 |
+ |
dynamic_array[ni.number - 1] = 543; |
| 4195 |
+ |
|
| 4196 |
+ |
// work around unused variable warnings |
| 4197 |
+ |
return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' |
| 4198 |
+ |
|| dynamic_array[ni.number - 1] != 543); |
| 4199 |
+ |
|
| 4200 |
+ |
; |
| 4201 |
+ |
return 0; |
| 4202 |
+ |
} |
| 4203 |
+ |
_ACEOF |
| 4204 |
+ |
for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99 |
| 4205 |
+ |
do |
| 4206 |
+ |
CC="$ac_save_CC $ac_arg" |
| 4207 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
| 4208 |
+ |
ac_cv_prog_cc_c99=$ac_arg |
| 4209 |
+ |
fi |
| 4210 |
+ |
rm -f core conftest.err conftest.$ac_objext |
| 4211 |
+ |
test "x$ac_cv_prog_cc_c99" != "xno" && break |
| 4212 |
+ |
done |
| 4213 |
+ |
rm -f conftest.$ac_ext |
| 4214 |
+ |
CC=$ac_save_CC |
| 4215 |
+ |
|
| 4216 |
+ |
fi |
| 4217 |
+ |
# AC_CACHE_VAL |
| 4218 |
+ |
case "x$ac_cv_prog_cc_c99" in |
| 4219 |
+ |
x) |
| 4220 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
| 4221 |
+ |
$as_echo "none needed" >&6; } ;; |
| 4222 |
+ |
xno) |
| 4223 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
| 4224 |
+ |
$as_echo "unsupported" >&6; } ;; |
| 4225 |
+ |
*) |
| 4226 |
+ |
CC="$CC $ac_cv_prog_cc_c99" |
| 4227 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 |
| 4228 |
+ |
$as_echo "$ac_cv_prog_cc_c99" >&6; } ;; |
| 4229 |
+ |
esac |
| 4230 |
+ |
if test "x$ac_cv_prog_cc_c99" != xno; then : |
| 4231 |
+ |
|
| 4232 |
+ |
fi |
| 4233 |
+ |
|
| 4234 |
+ |
|
| 4235 |
+ |
if test "$ac_cv_prog_cc_c99" = "no"; then : |
| 4236 |
+ |
as_fn_error "no C99 compiler found. Aborting." "$LINENO" 5 |
| 4237 |
+ |
fi |
| 4238 |
|
for ac_prog in 'bison -y' byacc |
| 4239 |
|
do |
| 4240 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
| 4241 |
|
set dummy $ac_prog; ac_word=$2 |
| 4242 |
< |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 4242 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 4243 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 4244 |
< |
if test "${ac_cv_prog_YACC+set}" = set; then |
| 4244 |
> |
if test "${ac_cv_prog_YACC+set}" = set; then : |
| 4245 |
|
$as_echo_n "(cached) " >&6 |
| 4246 |
|
else |
| 4247 |
|
if test -n "$YACC"; then |
| 4252 |
|
do |
| 4253 |
|
IFS=$as_save_IFS |
| 4254 |
|
test -z "$as_dir" && as_dir=. |
| 4255 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 4255 |
> |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 4256 |
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 4257 |
|
ac_cv_prog_YACC="$ac_prog" |
| 4258 |
< |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 4258 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 4259 |
|
break 2 |
| 4260 |
|
fi |
| 4261 |
|
done |
| 4262 |
< |
done |
| 4262 |
> |
done |
| 4263 |
|
IFS=$as_save_IFS |
| 4264 |
|
|
| 4265 |
|
fi |
| 4266 |
|
fi |
| 4267 |
|
YACC=$ac_cv_prog_YACC |
| 4268 |
|
if test -n "$YACC"; then |
| 4269 |
< |
{ $as_echo "$as_me:$LINENO: result: $YACC" >&5 |
| 4269 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5 |
| 4270 |
|
$as_echo "$YACC" >&6; } |
| 4271 |
|
else |
| 4272 |
< |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
| 4272 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 4273 |
|
$as_echo "no" >&6; } |
| 4274 |
|
fi |
| 4275 |
|
|
| 4283 |
|
do |
| 4284 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
| 4285 |
|
set dummy $ac_prog; ac_word=$2 |
| 4286 |
< |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 4286 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 4287 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 4288 |
< |
if test "${ac_cv_prog_LEX+set}" = set; then |
| 4288 |
> |
if test "${ac_cv_prog_LEX+set}" = set; then : |
| 4289 |
|
$as_echo_n "(cached) " >&6 |
| 4290 |
|
else |
| 4291 |
|
if test -n "$LEX"; then |
| 4296 |
|
do |
| 4297 |
|
IFS=$as_save_IFS |
| 4298 |
|
test -z "$as_dir" && as_dir=. |
| 4299 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 4299 |
> |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 4300 |
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 4301 |
|
ac_cv_prog_LEX="$ac_prog" |
| 4302 |
< |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 4302 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 4303 |
|
break 2 |
| 4304 |
|
fi |
| 4305 |
|
done |
| 4306 |
< |
done |
| 4306 |
> |
done |
| 4307 |
|
IFS=$as_save_IFS |
| 4308 |
|
|
| 4309 |
|
fi |
| 4310 |
|
fi |
| 4311 |
|
LEX=$ac_cv_prog_LEX |
| 4312 |
|
if test -n "$LEX"; then |
| 4313 |
< |
{ $as_echo "$as_me:$LINENO: result: $LEX" >&5 |
| 4313 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5 |
| 4314 |
|
$as_echo "$LEX" >&6; } |
| 4315 |
|
else |
| 4316 |
< |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
| 4316 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 4317 |
|
$as_echo "no" >&6; } |
| 4318 |
|
fi |
| 4319 |
|
|
| 4342 |
|
return ! yylex () + ! yywrap (); |
| 4343 |
|
} |
| 4344 |
|
_ACEOF |
| 4345 |
< |
{ (ac_try="$LEX conftest.l" |
| 4345 |
> |
{ { ac_try="$LEX conftest.l" |
| 4346 |
|
case "(($ac_try" in |
| 4347 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 4348 |
|
*) ac_try_echo=$ac_try;; |
| 4349 |
|
esac |
| 4350 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 4351 |
< |
$as_echo "$ac_try_echo") >&5 |
| 4350 |
> |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 4351 |
> |
$as_echo "$ac_try_echo"; } >&5 |
| 4352 |
|
(eval "$LEX conftest.l") 2>&5 |
| 4353 |
|
ac_status=$? |
| 4354 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4355 |
< |
(exit $ac_status); } |
| 4356 |
< |
{ $as_echo "$as_me:$LINENO: checking lex output file root" >&5 |
| 4354 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 4355 |
> |
test $ac_status = 0; } |
| 4356 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5 |
| 4357 |
|
$as_echo_n "checking lex output file root... " >&6; } |
| 4358 |
< |
if test "${ac_cv_prog_lex_root+set}" = set; then |
| 4358 |
> |
if test "${ac_cv_prog_lex_root+set}" = set; then : |
| 4359 |
|
$as_echo_n "(cached) " >&6 |
| 4360 |
|
else |
| 4361 |
|
|
| 4364 |
|
elif test -f lexyy.c; then |
| 4365 |
|
ac_cv_prog_lex_root=lexyy |
| 4366 |
|
else |
| 4367 |
< |
{ { $as_echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5 |
| 3951 |
< |
$as_echo "$as_me: error: cannot find output from $LEX; giving up" >&2;} |
| 3952 |
< |
{ (exit 1); exit 1; }; } |
| 4367 |
> |
as_fn_error "cannot find output from $LEX; giving up" "$LINENO" 5 |
| 4368 |
|
fi |
| 4369 |
|
fi |
| 4370 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5 |
| 4370 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5 |
| 4371 |
|
$as_echo "$ac_cv_prog_lex_root" >&6; } |
| 4372 |
|
LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root |
| 4373 |
|
|
| 4374 |
|
if test -z "${LEXLIB+set}"; then |
| 4375 |
< |
{ $as_echo "$as_me:$LINENO: checking lex library" >&5 |
| 4375 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5 |
| 4376 |
|
$as_echo_n "checking lex library... " >&6; } |
| 4377 |
< |
if test "${ac_cv_lib_lex+set}" = set; then |
| 4377 |
> |
if test "${ac_cv_lib_lex+set}" = set; then : |
| 4378 |
|
$as_echo_n "(cached) " >&6 |
| 4379 |
|
else |
| 4380 |
|
|
| 4382 |
|
ac_cv_lib_lex='none needed' |
| 4383 |
|
for ac_lib in '' -lfl -ll; do |
| 4384 |
|
LIBS="$ac_lib $ac_save_LIBS" |
| 4385 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 4385 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4386 |
> |
/* end confdefs.h. */ |
| 4387 |
|
`cat $LEX_OUTPUT_ROOT.c` |
| 4388 |
|
_ACEOF |
| 4389 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 3974 |
< |
if { (ac_try="$ac_link" |
| 3975 |
< |
case "(($ac_try" in |
| 3976 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3977 |
< |
*) ac_try_echo=$ac_try;; |
| 3978 |
< |
esac |
| 3979 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 3980 |
< |
$as_echo "$ac_try_echo") >&5 |
| 3981 |
< |
(eval "$ac_link") 2>conftest.er1 |
| 3982 |
< |
ac_status=$? |
| 3983 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
| 3984 |
< |
rm -f conftest.er1 |
| 3985 |
< |
cat conftest.err >&5 |
| 3986 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3987 |
< |
(exit $ac_status); } && { |
| 3988 |
< |
test -z "$ac_c_werror_flag" || |
| 3989 |
< |
test ! -s conftest.err |
| 3990 |
< |
} && test -s conftest$ac_exeext && { |
| 3991 |
< |
test "$cross_compiling" = yes || |
| 3992 |
< |
$as_test_x conftest$ac_exeext |
| 3993 |
< |
}; then |
| 4389 |
> |
if ac_fn_c_try_link "$LINENO"; then : |
| 4390 |
|
ac_cv_lib_lex=$ac_lib |
| 3995 |
– |
else |
| 3996 |
– |
$as_echo "$as_me: failed program was:" >&5 |
| 3997 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 3998 |
– |
|
| 3999 |
– |
|
| 4391 |
|
fi |
| 4392 |
< |
|
| 4393 |
< |
rm -rf conftest.dSYM |
| 4003 |
< |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 4004 |
< |
conftest$ac_exeext conftest.$ac_ext |
| 4392 |
> |
rm -f core conftest.err conftest.$ac_objext \ |
| 4393 |
> |
conftest$ac_exeext conftest.$ac_ext |
| 4394 |
|
test "$ac_cv_lib_lex" != 'none needed' && break |
| 4395 |
|
done |
| 4396 |
|
LIBS=$ac_save_LIBS |
| 4397 |
|
|
| 4398 |
|
fi |
| 4399 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_lex" >&5 |
| 4399 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5 |
| 4400 |
|
$as_echo "$ac_cv_lib_lex" >&6; } |
| 4401 |
|
test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex |
| 4402 |
|
fi |
| 4403 |
|
|
| 4404 |
|
|
| 4405 |
< |
{ $as_echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5 |
| 4405 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5 |
| 4406 |
|
$as_echo_n "checking whether yytext is a pointer... " >&6; } |
| 4407 |
< |
if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then |
| 4407 |
> |
if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then : |
| 4408 |
|
$as_echo_n "(cached) " >&6 |
| 4409 |
|
else |
| 4410 |
|
# POSIX says lex can declare yytext either as a pointer or an array; the |
| 4413 |
|
ac_cv_prog_lex_yytext_pointer=no |
| 4414 |
|
ac_save_LIBS=$LIBS |
| 4415 |
|
LIBS="$LEXLIB $ac_save_LIBS" |
| 4416 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 4416 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4417 |
> |
/* end confdefs.h. */ |
| 4418 |
|
#define YYTEXT_POINTER 1 |
| 4419 |
|
`cat $LEX_OUTPUT_ROOT.c` |
| 4420 |
|
_ACEOF |
| 4421 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 4032 |
< |
if { (ac_try="$ac_link" |
| 4033 |
< |
case "(($ac_try" in |
| 4034 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 4035 |
< |
*) ac_try_echo=$ac_try;; |
| 4036 |
< |
esac |
| 4037 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 4038 |
< |
$as_echo "$ac_try_echo") >&5 |
| 4039 |
< |
(eval "$ac_link") 2>conftest.er1 |
| 4040 |
< |
ac_status=$? |
| 4041 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
| 4042 |
< |
rm -f conftest.er1 |
| 4043 |
< |
cat conftest.err >&5 |
| 4044 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4045 |
< |
(exit $ac_status); } && { |
| 4046 |
< |
test -z "$ac_c_werror_flag" || |
| 4047 |
< |
test ! -s conftest.err |
| 4048 |
< |
} && test -s conftest$ac_exeext && { |
| 4049 |
< |
test "$cross_compiling" = yes || |
| 4050 |
< |
$as_test_x conftest$ac_exeext |
| 4051 |
< |
}; then |
| 4421 |
> |
if ac_fn_c_try_link "$LINENO"; then : |
| 4422 |
|
ac_cv_prog_lex_yytext_pointer=yes |
| 4053 |
– |
else |
| 4054 |
– |
$as_echo "$as_me: failed program was:" >&5 |
| 4055 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 4056 |
– |
|
| 4057 |
– |
|
| 4423 |
|
fi |
| 4424 |
< |
|
| 4425 |
< |
rm -rf conftest.dSYM |
| 4061 |
< |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 4062 |
< |
conftest$ac_exeext conftest.$ac_ext |
| 4424 |
> |
rm -f core conftest.err conftest.$ac_objext \ |
| 4425 |
> |
conftest$ac_exeext conftest.$ac_ext |
| 4426 |
|
LIBS=$ac_save_LIBS |
| 4427 |
|
|
| 4428 |
|
fi |
| 4429 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5 |
| 4429 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5 |
| 4430 |
|
$as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; } |
| 4431 |
|
if test $ac_cv_prog_lex_yytext_pointer = yes; then |
| 4432 |
|
|
| 4433 |
< |
cat >>confdefs.h <<\_ACEOF |
| 4071 |
< |
#define YYTEXT_POINTER 1 |
| 4072 |
< |
_ACEOF |
| 4433 |
> |
$as_echo "#define YYTEXT_POINTER 1" >>confdefs.h |
| 4434 |
|
|
| 4435 |
|
fi |
| 4436 |
|
rm -f conftest.l $LEX_OUTPUT_ROOT.c |
| 4439 |
|
if test "$LEX" = :; then |
| 4440 |
|
LEX=${am_missing_run}flex |
| 4441 |
|
fi |
| 4081 |
– |
# Find a good install program. We prefer a C program (faster), |
| 4082 |
– |
# so one script is as good as another. But avoid the broken or |
| 4083 |
– |
# incompatible versions: |
| 4084 |
– |
# SysV /etc/install, /usr/sbin/install |
| 4085 |
– |
# SunOS /usr/etc/install |
| 4086 |
– |
# IRIX /sbin/install |
| 4087 |
– |
# AIX /bin/install |
| 4088 |
– |
# AmigaOS /C/install, which installs bootblocks on floppy discs |
| 4089 |
– |
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
| 4090 |
– |
# AFS /usr/afsws/bin/install, which mishandles nonexistent args |
| 4091 |
– |
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
| 4092 |
– |
# OS/2's system install, which has a completely different semantic |
| 4093 |
– |
# ./install, which can be erroneously created by make from ./install.sh. |
| 4094 |
– |
# Reject install programs that cannot install multiple files. |
| 4095 |
– |
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
| 4096 |
– |
$as_echo_n "checking for a BSD-compatible install... " >&6; } |
| 4097 |
– |
if test -z "$INSTALL"; then |
| 4098 |
– |
if test "${ac_cv_path_install+set}" = set; then |
| 4099 |
– |
$as_echo_n "(cached) " >&6 |
| 4100 |
– |
else |
| 4101 |
– |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 4102 |
– |
for as_dir in $PATH |
| 4103 |
– |
do |
| 4104 |
– |
IFS=$as_save_IFS |
| 4105 |
– |
test -z "$as_dir" && as_dir=. |
| 4106 |
– |
# Account for people who put trailing slashes in PATH elements. |
| 4107 |
– |
case $as_dir/ in |
| 4108 |
– |
./ | .// | /cC/* | \ |
| 4109 |
– |
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
| 4110 |
– |
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ |
| 4111 |
– |
/usr/ucb/* ) ;; |
| 4112 |
– |
*) |
| 4113 |
– |
# OSF1 and SCO ODT 3.0 have their own names for install. |
| 4114 |
– |
# Don't use installbsd from OSF since it installs stuff as root |
| 4115 |
– |
# by default. |
| 4116 |
– |
for ac_prog in ginstall scoinst install; do |
| 4117 |
– |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 4118 |
– |
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then |
| 4119 |
– |
if test $ac_prog = install && |
| 4120 |
– |
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
| 4121 |
– |
# AIX install. It has an incompatible calling convention. |
| 4122 |
– |
: |
| 4123 |
– |
elif test $ac_prog = install && |
| 4124 |
– |
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
| 4125 |
– |
# program-specific install script used by HP pwplus--don't use. |
| 4126 |
– |
: |
| 4127 |
– |
else |
| 4128 |
– |
rm -rf conftest.one conftest.two conftest.dir |
| 4129 |
– |
echo one > conftest.one |
| 4130 |
– |
echo two > conftest.two |
| 4131 |
– |
mkdir conftest.dir |
| 4132 |
– |
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && |
| 4133 |
– |
test -s conftest.one && test -s conftest.two && |
| 4134 |
– |
test -s conftest.dir/conftest.one && |
| 4135 |
– |
test -s conftest.dir/conftest.two |
| 4136 |
– |
then |
| 4137 |
– |
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
| 4138 |
– |
break 3 |
| 4139 |
– |
fi |
| 4140 |
– |
fi |
| 4141 |
– |
fi |
| 4142 |
– |
done |
| 4143 |
– |
done |
| 4144 |
– |
;; |
| 4145 |
– |
esac |
| 4146 |
– |
|
| 4147 |
– |
done |
| 4148 |
– |
IFS=$as_save_IFS |
| 4149 |
– |
|
| 4150 |
– |
rm -rf conftest.one conftest.two conftest.dir |
| 4151 |
– |
|
| 4152 |
– |
fi |
| 4153 |
– |
if test "${ac_cv_path_install+set}" = set; then |
| 4154 |
– |
INSTALL=$ac_cv_path_install |
| 4155 |
– |
else |
| 4156 |
– |
# As a last resort, use the slow shell script. Don't cache a |
| 4157 |
– |
# value for INSTALL within a source directory, because that will |
| 4158 |
– |
# break other packages using the cache if that directory is |
| 4159 |
– |
# removed, or if the value is a relative name. |
| 4160 |
– |
INSTALL=$ac_install_sh |
| 4161 |
– |
fi |
| 4162 |
– |
fi |
| 4163 |
– |
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 |
| 4164 |
– |
$as_echo "$INSTALL" >&6; } |
| 4165 |
– |
|
| 4166 |
– |
# Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
| 4167 |
– |
# It thinks the first close brace ends the variable substitution. |
| 4168 |
– |
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
| 4169 |
– |
|
| 4170 |
– |
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
| 4171 |
– |
|
| 4172 |
– |
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
| 4173 |
– |
|
| 4442 |
|
|
| 4443 |
|
|
| 4444 |
|
#ltdl stuff |
| 4445 |
|
case `pwd` in |
| 4446 |
|
*\ * | *\ *) |
| 4447 |
< |
{ $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 |
| 4447 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 |
| 4448 |
|
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; |
| 4449 |
|
esac |
| 4450 |
|
|
| 4469 |
|
|
| 4470 |
|
# Make sure we can run config.sub. |
| 4471 |
|
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || |
| 4472 |
< |
{ { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 |
| 4205 |
< |
$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} |
| 4206 |
< |
{ (exit 1); exit 1; }; } |
| 4472 |
> |
as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 |
| 4473 |
|
|
| 4474 |
< |
{ $as_echo "$as_me:$LINENO: checking build system type" >&5 |
| 4474 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 |
| 4475 |
|
$as_echo_n "checking build system type... " >&6; } |
| 4476 |
< |
if test "${ac_cv_build+set}" = set; then |
| 4476 |
> |
if test "${ac_cv_build+set}" = set; then : |
| 4477 |
|
$as_echo_n "(cached) " >&6 |
| 4478 |
|
else |
| 4479 |
|
ac_build_alias=$build_alias |
| 4480 |
|
test "x$ac_build_alias" = x && |
| 4481 |
|
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` |
| 4482 |
|
test "x$ac_build_alias" = x && |
| 4483 |
< |
{ { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 |
| 4218 |
< |
$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;} |
| 4219 |
< |
{ (exit 1); exit 1; }; } |
| 4483 |
> |
as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 |
| 4484 |
|
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || |
| 4485 |
< |
{ { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 |
| 4222 |
< |
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} |
| 4223 |
< |
{ (exit 1); exit 1; }; } |
| 4485 |
> |
as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 |
| 4486 |
|
|
| 4487 |
|
fi |
| 4488 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5 |
| 4488 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 |
| 4489 |
|
$as_echo "$ac_cv_build" >&6; } |
| 4490 |
|
case $ac_cv_build in |
| 4491 |
|
*-*-*) ;; |
| 4492 |
< |
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 |
| 4231 |
< |
$as_echo "$as_me: error: invalid value of canonical build" >&2;} |
| 4232 |
< |
{ (exit 1); exit 1; }; };; |
| 4492 |
> |
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;; |
| 4493 |
|
esac |
| 4494 |
|
build=$ac_cv_build |
| 4495 |
|
ac_save_IFS=$IFS; IFS='-' |
| 4505 |
|
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac |
| 4506 |
|
|
| 4507 |
|
|
| 4508 |
< |
{ $as_echo "$as_me:$LINENO: checking host system type" >&5 |
| 4508 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 |
| 4509 |
|
$as_echo_n "checking host system type... " >&6; } |
| 4510 |
< |
if test "${ac_cv_host+set}" = set; then |
| 4510 |
> |
if test "${ac_cv_host+set}" = set; then : |
| 4511 |
|
$as_echo_n "(cached) " >&6 |
| 4512 |
|
else |
| 4513 |
|
if test "x$host_alias" = x; then |
| 4514 |
|
ac_cv_host=$ac_cv_build |
| 4515 |
|
else |
| 4516 |
|
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || |
| 4517 |
< |
{ { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 |
| 4258 |
< |
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} |
| 4259 |
< |
{ (exit 1); exit 1; }; } |
| 4517 |
> |
as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 |
| 4518 |
|
fi |
| 4519 |
|
|
| 4520 |
|
fi |
| 4521 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5 |
| 4521 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 |
| 4522 |
|
$as_echo "$ac_cv_host" >&6; } |
| 4523 |
|
case $ac_cv_host in |
| 4524 |
|
*-*-*) ;; |
| 4525 |
< |
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 |
| 4268 |
< |
$as_echo "$as_me: error: invalid value of canonical host" >&2;} |
| 4269 |
< |
{ (exit 1); exit 1; }; };; |
| 4525 |
> |
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;; |
| 4526 |
|
esac |
| 4527 |
|
host=$ac_cv_host |
| 4528 |
|
ac_save_IFS=$IFS; IFS='-' |
| 4538 |
|
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac |
| 4539 |
|
|
| 4540 |
|
|
| 4541 |
< |
{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5 |
| 4541 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 |
| 4542 |
|
$as_echo_n "checking for a sed that does not truncate output... " >&6; } |
| 4543 |
< |
if test "${ac_cv_path_SED+set}" = set; then |
| 4543 |
> |
if test "${ac_cv_path_SED+set}" = set; then : |
| 4544 |
|
$as_echo_n "(cached) " >&6 |
| 4545 |
|
else |
| 4546 |
|
ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ |
| 4548 |
|
ac_script="$ac_script$as_nl$ac_script" |
| 4549 |
|
done |
| 4550 |
|
echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed |
| 4551 |
< |
$as_unset ac_script || ac_script= |
| 4551 |
> |
{ ac_script=; unset ac_script;} |
| 4552 |
|
if test -z "$SED"; then |
| 4553 |
|
ac_path_SED_found=false |
| 4554 |
|
# Loop through the user's path and test for each of PROGNAME-LIST |
| 4557 |
|
do |
| 4558 |
|
IFS=$as_save_IFS |
| 4559 |
|
test -z "$as_dir" && as_dir=. |
| 4560 |
< |
for ac_prog in sed gsed; do |
| 4560 |
> |
for ac_prog in sed gsed; do |
| 4561 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 4562 |
|
ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" |
| 4563 |
|
{ test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue |
| 4577 |
|
$as_echo '' >> "conftest.nl" |
| 4578 |
|
"$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break |
| 4579 |
|
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
| 4580 |
< |
ac_count=`expr $ac_count + 1` |
| 4580 |
> |
as_fn_arith $ac_count + 1 && ac_count=$as_val |
| 4581 |
|
if test $ac_count -gt ${ac_path_SED_max-0}; then |
| 4582 |
|
# Best one so far, save it but keep looking for a better one |
| 4583 |
|
ac_cv_path_SED="$ac_path_SED" |
| 4592 |
|
$ac_path_SED_found && break 3 |
| 4593 |
|
done |
| 4594 |
|
done |
| 4595 |
< |
done |
| 4595 |
> |
done |
| 4596 |
|
IFS=$as_save_IFS |
| 4597 |
|
if test -z "$ac_cv_path_SED"; then |
| 4598 |
< |
{ { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5 |
| 4343 |
< |
$as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;} |
| 4344 |
< |
{ (exit 1); exit 1; }; } |
| 4598 |
> |
as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5 |
| 4599 |
|
fi |
| 4600 |
|
else |
| 4601 |
|
ac_cv_path_SED=$SED |
| 4602 |
|
fi |
| 4603 |
|
|
| 4604 |
|
fi |
| 4605 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5 |
| 4605 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 |
| 4606 |
|
$as_echo "$ac_cv_path_SED" >&6; } |
| 4607 |
|
SED="$ac_cv_path_SED" |
| 4608 |
|
rm -f conftest.sed |
| 4620 |
|
|
| 4621 |
|
|
| 4622 |
|
|
| 4623 |
< |
{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 |
| 4623 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
| 4624 |
|
$as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
| 4625 |
< |
if test "${ac_cv_path_GREP+set}" = set; then |
| 4625 |
> |
if test "${ac_cv_path_GREP+set}" = set; then : |
| 4626 |
|
$as_echo_n "(cached) " >&6 |
| 4627 |
|
else |
| 4628 |
|
if test -z "$GREP"; then |
| 4633 |
|
do |
| 4634 |
|
IFS=$as_save_IFS |
| 4635 |
|
test -z "$as_dir" && as_dir=. |
| 4636 |
< |
for ac_prog in grep ggrep; do |
| 4636 |
> |
for ac_prog in grep ggrep; do |
| 4637 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 4638 |
|
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
| 4639 |
|
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue |
| 4653 |
|
$as_echo 'GREP' >> "conftest.nl" |
| 4654 |
|
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
| 4655 |
|
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
| 4656 |
< |
ac_count=`expr $ac_count + 1` |
| 4656 |
> |
as_fn_arith $ac_count + 1 && ac_count=$as_val |
| 4657 |
|
if test $ac_count -gt ${ac_path_GREP_max-0}; then |
| 4658 |
|
# Best one so far, save it but keep looking for a better one |
| 4659 |
|
ac_cv_path_GREP="$ac_path_GREP" |
| 4668 |
|
$ac_path_GREP_found && break 3 |
| 4669 |
|
done |
| 4670 |
|
done |
| 4671 |
< |
done |
| 4671 |
> |
done |
| 4672 |
|
IFS=$as_save_IFS |
| 4673 |
|
if test -z "$ac_cv_path_GREP"; then |
| 4674 |
< |
{ { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 |
| 4421 |
< |
$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} |
| 4422 |
< |
{ (exit 1); exit 1; }; } |
| 4674 |
> |
as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
| 4675 |
|
fi |
| 4676 |
|
else |
| 4677 |
|
ac_cv_path_GREP=$GREP |
| 4678 |
|
fi |
| 4679 |
|
|
| 4680 |
|
fi |
| 4681 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 |
| 4681 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 |
| 4682 |
|
$as_echo "$ac_cv_path_GREP" >&6; } |
| 4683 |
|
GREP="$ac_cv_path_GREP" |
| 4684 |
|
|
| 4685 |
|
|
| 4686 |
< |
{ $as_echo "$as_me:$LINENO: checking for egrep" >&5 |
| 4686 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
| 4687 |
|
$as_echo_n "checking for egrep... " >&6; } |
| 4688 |
< |
if test "${ac_cv_path_EGREP+set}" = set; then |
| 4688 |
> |
if test "${ac_cv_path_EGREP+set}" = set; then : |
| 4689 |
|
$as_echo_n "(cached) " >&6 |
| 4690 |
|
else |
| 4691 |
|
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
| 4699 |
|
do |
| 4700 |
|
IFS=$as_save_IFS |
| 4701 |
|
test -z "$as_dir" && as_dir=. |
| 4702 |
< |
for ac_prog in egrep; do |
| 4702 |
> |
for ac_prog in egrep; do |
| 4703 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 4704 |
|
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
| 4705 |
|
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue |
| 4719 |
|
$as_echo 'EGREP' >> "conftest.nl" |
| 4720 |
|
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
| 4721 |
|
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
| 4722 |
< |
ac_count=`expr $ac_count + 1` |
| 4722 |
> |
as_fn_arith $ac_count + 1 && ac_count=$as_val |
| 4723 |
|
if test $ac_count -gt ${ac_path_EGREP_max-0}; then |
| 4724 |
|
# Best one so far, save it but keep looking for a better one |
| 4725 |
|
ac_cv_path_EGREP="$ac_path_EGREP" |
| 4734 |
|
$ac_path_EGREP_found && break 3 |
| 4735 |
|
done |
| 4736 |
|
done |
| 4737 |
< |
done |
| 4737 |
> |
done |
| 4738 |
|
IFS=$as_save_IFS |
| 4739 |
|
if test -z "$ac_cv_path_EGREP"; then |
| 4740 |
< |
{ { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 |
| 4489 |
< |
$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} |
| 4490 |
< |
{ (exit 1); exit 1; }; } |
| 4740 |
> |
as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
| 4741 |
|
fi |
| 4742 |
|
else |
| 4743 |
|
ac_cv_path_EGREP=$EGREP |
| 4745 |
|
|
| 4746 |
|
fi |
| 4747 |
|
fi |
| 4748 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 |
| 4748 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 |
| 4749 |
|
$as_echo "$ac_cv_path_EGREP" >&6; } |
| 4750 |
|
EGREP="$ac_cv_path_EGREP" |
| 4751 |
|
|
| 4752 |
|
|
| 4753 |
< |
{ $as_echo "$as_me:$LINENO: checking for fgrep" >&5 |
| 4753 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 |
| 4754 |
|
$as_echo_n "checking for fgrep... " >&6; } |
| 4755 |
< |
if test "${ac_cv_path_FGREP+set}" = set; then |
| 4755 |
> |
if test "${ac_cv_path_FGREP+set}" = set; then : |
| 4756 |
|
$as_echo_n "(cached) " >&6 |
| 4757 |
|
else |
| 4758 |
|
if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 |
| 4766 |
|
do |
| 4767 |
|
IFS=$as_save_IFS |
| 4768 |
|
test -z "$as_dir" && as_dir=. |
| 4769 |
< |
for ac_prog in fgrep; do |
| 4769 |
> |
for ac_prog in fgrep; do |
| 4770 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 4771 |
|
ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" |
| 4772 |
|
{ test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue |
| 4786 |
|
$as_echo 'FGREP' >> "conftest.nl" |
| 4787 |
|
"$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break |
| 4788 |
|
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
| 4789 |
< |
ac_count=`expr $ac_count + 1` |
| 4789 |
> |
as_fn_arith $ac_count + 1 && ac_count=$as_val |
| 4790 |
|
if test $ac_count -gt ${ac_path_FGREP_max-0}; then |
| 4791 |
|
# Best one so far, save it but keep looking for a better one |
| 4792 |
|
ac_cv_path_FGREP="$ac_path_FGREP" |
| 4801 |
|
$ac_path_FGREP_found && break 3 |
| 4802 |
|
done |
| 4803 |
|
done |
| 4804 |
< |
done |
| 4804 |
> |
done |
| 4805 |
|
IFS=$as_save_IFS |
| 4806 |
|
if test -z "$ac_cv_path_FGREP"; then |
| 4807 |
< |
{ { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 |
| 4558 |
< |
$as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} |
| 4559 |
< |
{ (exit 1); exit 1; }; } |
| 4807 |
> |
as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
| 4808 |
|
fi |
| 4809 |
|
else |
| 4810 |
|
ac_cv_path_FGREP=$FGREP |
| 4812 |
|
|
| 4813 |
|
fi |
| 4814 |
|
fi |
| 4815 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5 |
| 4815 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 |
| 4816 |
|
$as_echo "$ac_cv_path_FGREP" >&6; } |
| 4817 |
|
FGREP="$ac_cv_path_FGREP" |
| 4818 |
|
|
| 4838 |
|
|
| 4839 |
|
|
| 4840 |
|
# Check whether --with-gnu-ld was given. |
| 4841 |
< |
if test "${with_gnu_ld+set}" = set; then |
| 4841 |
> |
if test "${with_gnu_ld+set}" = set; then : |
| 4842 |
|
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes |
| 4843 |
|
else |
| 4844 |
|
with_gnu_ld=no |
| 4847 |
|
ac_prog=ld |
| 4848 |
|
if test "$GCC" = yes; then |
| 4849 |
|
# Check if gcc -print-prog-name=ld gives a path. |
| 4850 |
< |
{ $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5 |
| 4850 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 |
| 4851 |
|
$as_echo_n "checking for ld used by $CC... " >&6; } |
| 4852 |
|
case $host in |
| 4853 |
|
*-*-mingw*) |
| 4877 |
|
;; |
| 4878 |
|
esac |
| 4879 |
|
elif test "$with_gnu_ld" = yes; then |
| 4880 |
< |
{ $as_echo "$as_me:$LINENO: checking for GNU ld" >&5 |
| 4880 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 |
| 4881 |
|
$as_echo_n "checking for GNU ld... " >&6; } |
| 4882 |
|
else |
| 4883 |
< |
{ $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5 |
| 4883 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 |
| 4884 |
|
$as_echo_n "checking for non-GNU ld... " >&6; } |
| 4885 |
|
fi |
| 4886 |
< |
if test "${lt_cv_path_LD+set}" = set; then |
| 4886 |
> |
if test "${lt_cv_path_LD+set}" = set; then : |
| 4887 |
|
$as_echo_n "(cached) " >&6 |
| 4888 |
|
else |
| 4889 |
|
if test -z "$LD"; then |
| 4914 |
|
|
| 4915 |
|
LD="$lt_cv_path_LD" |
| 4916 |
|
if test -n "$LD"; then |
| 4917 |
< |
{ $as_echo "$as_me:$LINENO: result: $LD" >&5 |
| 4917 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 |
| 4918 |
|
$as_echo "$LD" >&6; } |
| 4919 |
|
else |
| 4920 |
< |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
| 4920 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 4921 |
|
$as_echo "no" >&6; } |
| 4922 |
|
fi |
| 4923 |
< |
test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 |
| 4924 |
< |
$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} |
| 4677 |
< |
{ (exit 1); exit 1; }; } |
| 4678 |
< |
{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 |
| 4923 |
> |
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5 |
| 4924 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 |
| 4925 |
|
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } |
| 4926 |
< |
if test "${lt_cv_prog_gnu_ld+set}" = set; then |
| 4926 |
> |
if test "${lt_cv_prog_gnu_ld+set}" = set; then : |
| 4927 |
|
$as_echo_n "(cached) " >&6 |
| 4928 |
|
else |
| 4929 |
|
# I'd rather use --version here, but apparently some GNU lds only accept -v. |
| 4936 |
|
;; |
| 4937 |
|
esac |
| 4938 |
|
fi |
| 4939 |
< |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5 |
| 4939 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 |
| 4940 |
|
$as_echo "$lt_cv_prog_gnu_ld" >&6; } |
| 4941 |
|
with_gnu_ld=$lt_cv_prog_gnu_ld |
| 4942 |
|
|
| 4948 |
|
|
| 4949 |
|
|
| 4950 |
|
|
| 4951 |
< |
{ $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5 |
| 4951 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 |
| 4952 |
|
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } |
| 4953 |
< |
if test "${lt_cv_path_NM+set}" = set; then |
| 4953 |
> |
if test "${lt_cv_path_NM+set}" = set; then : |
| 4954 |
|
$as_echo_n "(cached) " >&6 |
| 4955 |
|
else |
| 4956 |
|
if test -n "$NM"; then |
| 4997 |
|
: ${lt_cv_path_NM=no} |
| 4998 |
|
fi |
| 4999 |
|
fi |
| 5000 |
< |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5 |
| 5000 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 |
| 5001 |
|
$as_echo "$lt_cv_path_NM" >&6; } |
| 5002 |
|
if test "$lt_cv_path_NM" != "no"; then |
| 5003 |
|
NM="$lt_cv_path_NM" |
| 5008 |
|
do |
| 5009 |
|
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
| 5010 |
|
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| 5011 |
< |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 5011 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 5012 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 5013 |
< |
if test "${ac_cv_prog_DUMPBIN+set}" = set; then |
| 5013 |
> |
if test "${ac_cv_prog_DUMPBIN+set}" = set; then : |
| 5014 |
|
$as_echo_n "(cached) " >&6 |
| 5015 |
|
else |
| 5016 |
|
if test -n "$DUMPBIN"; then |
| 5021 |
|
do |
| 5022 |
|
IFS=$as_save_IFS |
| 5023 |
|
test -z "$as_dir" && as_dir=. |
| 5024 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 5024 |
> |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 5025 |
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 5026 |
|
ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" |
| 5027 |
< |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 5027 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 5028 |
|
break 2 |
| 5029 |
|
fi |
| 5030 |
|
done |
| 5031 |
< |
done |
| 5031 |
> |
done |
| 5032 |
|
IFS=$as_save_IFS |
| 5033 |
|
|
| 5034 |
|
fi |
| 5035 |
|
fi |
| 5036 |
|
DUMPBIN=$ac_cv_prog_DUMPBIN |
| 5037 |
|
if test -n "$DUMPBIN"; then |
| 5038 |
< |
{ $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5 |
| 5038 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 |
| 5039 |
|
$as_echo "$DUMPBIN" >&6; } |
| 5040 |
|
else |
| 5041 |
< |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
| 5041 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 5042 |
|
$as_echo "no" >&6; } |
| 5043 |
|
fi |
| 5044 |
|
|
| 5052 |
|
do |
| 5053 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
| 5054 |
|
set dummy $ac_prog; ac_word=$2 |
| 5055 |
< |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 5055 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 5056 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 5057 |
< |
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then |
| 5057 |
> |
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then : |
| 5058 |
|
$as_echo_n "(cached) " >&6 |
| 5059 |
|
else |
| 5060 |
|
if test -n "$ac_ct_DUMPBIN"; then |
| 5065 |
|
do |
| 5066 |
|
IFS=$as_save_IFS |
| 5067 |
|
test -z "$as_dir" && as_dir=. |
| 5068 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 5068 |
> |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 5069 |
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 5070 |
|
ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" |
| 5071 |
< |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 5071 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 5072 |
|
break 2 |
| 5073 |
|
fi |
| 5074 |
|
done |
| 5075 |
< |
done |
| 5075 |
> |
done |
| 5076 |
|
IFS=$as_save_IFS |
| 5077 |
|
|
| 5078 |
|
fi |
| 5079 |
|
fi |
| 5080 |
|
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN |
| 5081 |
|
if test -n "$ac_ct_DUMPBIN"; then |
| 5082 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5 |
| 5082 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 |
| 5083 |
|
$as_echo "$ac_ct_DUMPBIN" >&6; } |
| 5084 |
|
else |
| 5085 |
< |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
| 5085 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 5086 |
|
$as_echo "no" >&6; } |
| 5087 |
|
fi |
| 5088 |
|
|
| 5095 |
|
else |
| 5096 |
|
case $cross_compiling:$ac_tool_warned in |
| 5097 |
|
yes:) |
| 5098 |
< |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 5098 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 5099 |
|
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 5100 |
|
ac_tool_warned=yes ;; |
| 5101 |
|
esac |
| 5115 |
|
|
| 5116 |
|
|
| 5117 |
|
|
| 5118 |
< |
{ $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5 |
| 5118 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 |
| 5119 |
|
$as_echo_n "checking the name lister ($NM) interface... " >&6; } |
| 5120 |
< |
if test "${lt_cv_nm_interface+set}" = set; then |
| 5120 |
> |
if test "${lt_cv_nm_interface+set}" = set; then : |
| 5121 |
|
$as_echo_n "(cached) " >&6 |
| 5122 |
|
else |
| 5123 |
|
lt_cv_nm_interface="BSD nm" |
| 5124 |
|
echo "int some_variable = 0;" > conftest.$ac_ext |
| 5125 |
< |
(eval echo "\"\$as_me:4879: $ac_compile\"" >&5) |
| 5125 |
> |
(eval echo "\"\$as_me:5125: $ac_compile\"" >&5) |
| 5126 |
|
(eval "$ac_compile" 2>conftest.err) |
| 5127 |
|
cat conftest.err >&5 |
| 5128 |
< |
(eval echo "\"\$as_me:4882: $NM \\\"conftest.$ac_objext\\\"\"" >&5) |
| 5128 |
> |
(eval echo "\"\$as_me:5128: $NM \\\"conftest.$ac_objext\\\"\"" >&5) |
| 5129 |
|
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) |
| 5130 |
|
cat conftest.err >&5 |
| 5131 |
< |
(eval echo "\"\$as_me:4885: output\"" >&5) |
| 5131 |
> |
(eval echo "\"\$as_me:5131: output\"" >&5) |
| 5132 |
|
cat conftest.out >&5 |
| 5133 |
|
if $GREP 'External.*some_variable' conftest.out > /dev/null; then |
| 5134 |
|
lt_cv_nm_interface="MS dumpbin" |
| 5135 |
|
fi |
| 5136 |
|
rm -f conftest* |
| 5137 |
|
fi |
| 5138 |
< |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5 |
| 5138 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 |
| 5139 |
|
$as_echo "$lt_cv_nm_interface" >&6; } |
| 5140 |
|
|
| 5141 |
< |
{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5 |
| 5141 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 |
| 5142 |
|
$as_echo_n "checking whether ln -s works... " >&6; } |
| 5143 |
|
LN_S=$as_ln_s |
| 5144 |
|
if test "$LN_S" = "ln -s"; then |
| 5145 |
< |
{ $as_echo "$as_me:$LINENO: result: yes" >&5 |
| 5145 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 5146 |
|
$as_echo "yes" >&6; } |
| 5147 |
|
else |
| 5148 |
< |
{ $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5 |
| 5148 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 |
| 5149 |
|
$as_echo "no, using $LN_S" >&6; } |
| 5150 |
|
fi |
| 5151 |
|
|
| 5152 |
|
# find the maximum length of command line arguments |
| 5153 |
< |
{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5 |
| 5153 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 |
| 5154 |
|
$as_echo_n "checking the maximum length of command line arguments... " >&6; } |
| 5155 |
< |
if test "${lt_cv_sys_max_cmd_len+set}" = set; then |
| 5155 |
> |
if test "${lt_cv_sys_max_cmd_len+set}" = set; then : |
| 5156 |
|
$as_echo_n "(cached) " >&6 |
| 5157 |
|
else |
| 5158 |
|
i=0 |
| 5270 |
|
fi |
| 5271 |
|
|
| 5272 |
|
if test -n $lt_cv_sys_max_cmd_len ; then |
| 5273 |
< |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5 |
| 5273 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 |
| 5274 |
|
$as_echo "$lt_cv_sys_max_cmd_len" >&6; } |
| 5275 |
|
else |
| 5276 |
< |
{ $as_echo "$as_me:$LINENO: result: none" >&5 |
| 5276 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 |
| 5277 |
|
$as_echo "none" >&6; } |
| 5278 |
|
fi |
| 5279 |
|
max_cmd_len=$lt_cv_sys_max_cmd_len |
| 5287 |
|
: ${MV="mv -f"} |
| 5288 |
|
: ${RM="rm -f"} |
| 5289 |
|
|
| 5290 |
< |
{ $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5 |
| 5290 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5 |
| 5291 |
|
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } |
| 5292 |
|
# Try some XSI features |
| 5293 |
|
xsi_shell=no |
| 5297 |
|
&& eval 'test $(( 1 + 1 )) -eq 2 \ |
| 5298 |
|
&& test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ |
| 5299 |
|
&& xsi_shell=yes |
| 5300 |
< |
{ $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5 |
| 5300 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 |
| 5301 |
|
$as_echo "$xsi_shell" >&6; } |
| 5302 |
|
|
| 5303 |
|
|
| 5304 |
< |
{ $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5 |
| 5304 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5 |
| 5305 |
|
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; } |
| 5306 |
|
lt_shell_append=no |
| 5307 |
|
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ |
| 5308 |
|
>/dev/null 2>&1 \ |
| 5309 |
|
&& lt_shell_append=yes |
| 5310 |
< |
{ $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5 |
| 5310 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5 |
| 5311 |
|
$as_echo "$lt_shell_append" >&6; } |
| 5312 |
|
|
| 5313 |
|
|
| 5342 |
|
|
| 5343 |
|
|
| 5344 |
|
|
| 5345 |
< |
{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5 |
| 5345 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 |
| 5346 |
|
$as_echo_n "checking for $LD option to reload object files... " >&6; } |
| 5347 |
< |
if test "${lt_cv_ld_reload_flag+set}" = set; then |
| 5347 |
> |
if test "${lt_cv_ld_reload_flag+set}" = set; then : |
| 5348 |
|
$as_echo_n "(cached) " >&6 |
| 5349 |
|
else |
| 5350 |
|
lt_cv_ld_reload_flag='-r' |
| 5351 |
|
fi |
| 5352 |
< |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5 |
| 5352 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 |
| 5353 |
|
$as_echo "$lt_cv_ld_reload_flag" >&6; } |
| 5354 |
|
reload_flag=$lt_cv_ld_reload_flag |
| 5355 |
|
case $reload_flag in |
| 5378 |
|
if test -n "$ac_tool_prefix"; then |
| 5379 |
|
# Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. |
| 5380 |
|
set dummy ${ac_tool_prefix}objdump; ac_word=$2 |
| 5381 |
< |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 5381 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 5382 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 5383 |
< |
if test "${ac_cv_prog_OBJDUMP+set}" = set; then |
| 5383 |
> |
if test "${ac_cv_prog_OBJDUMP+set}" = set; then : |
| 5384 |
|
$as_echo_n "(cached) " >&6 |
| 5385 |
|
else |
| 5386 |
|
if test -n "$OBJDUMP"; then |
| 5391 |
|
do |
| 5392 |
|
IFS=$as_save_IFS |
| 5393 |
|
test -z "$as_dir" && as_dir=. |
| 5394 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 5394 |
> |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 5395 |
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 5396 |
|
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" |
| 5397 |
< |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 5397 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 5398 |
|
break 2 |
| 5399 |
|
fi |
| 5400 |
|
done |
| 5401 |
< |
done |
| 5401 |
> |
done |
| 5402 |
|
IFS=$as_save_IFS |
| 5403 |
|
|
| 5404 |
|
fi |
| 5405 |
|
fi |
| 5406 |
|
OBJDUMP=$ac_cv_prog_OBJDUMP |
| 5407 |
|
if test -n "$OBJDUMP"; then |
| 5408 |
< |
{ $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5 |
| 5408 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 |
| 5409 |
|
$as_echo "$OBJDUMP" >&6; } |
| 5410 |
|
else |
| 5411 |
< |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
| 5411 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 5412 |
|
$as_echo "no" >&6; } |
| 5413 |
|
fi |
| 5414 |
|
|
| 5418 |
|
ac_ct_OBJDUMP=$OBJDUMP |
| 5419 |
|
# Extract the first word of "objdump", so it can be a program name with args. |
| 5420 |
|
set dummy objdump; ac_word=$2 |
| 5421 |
< |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 5421 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 5422 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 5423 |
< |
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then |
| 5423 |
> |
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then : |
| 5424 |
|
$as_echo_n "(cached) " >&6 |
| 5425 |
|
else |
| 5426 |
|
if test -n "$ac_ct_OBJDUMP"; then |
| 5431 |
|
do |
| 5432 |
|
IFS=$as_save_IFS |
| 5433 |
|
test -z "$as_dir" && as_dir=. |
| 5434 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 5434 |
> |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 5435 |
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 5436 |
|
ac_cv_prog_ac_ct_OBJDUMP="objdump" |
| 5437 |
< |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 5437 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 5438 |
|
break 2 |
| 5439 |
|
fi |
| 5440 |
|
done |
| 5441 |
< |
done |
| 5441 |
> |
done |
| 5442 |
|
IFS=$as_save_IFS |
| 5443 |
|
|
| 5444 |
|
fi |
| 5445 |
|
fi |
| 5446 |
|
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP |
| 5447 |
|
if test -n "$ac_ct_OBJDUMP"; then |
| 5448 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5 |
| 5448 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 |
| 5449 |
|
$as_echo "$ac_ct_OBJDUMP" >&6; } |
| 5450 |
|
else |
| 5451 |
< |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
| 5451 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 5452 |
|
$as_echo "no" >&6; } |
| 5453 |
|
fi |
| 5454 |
|
|
| 5457 |
|
else |
| 5458 |
|
case $cross_compiling:$ac_tool_warned in |
| 5459 |
|
yes:) |
| 5460 |
< |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 5460 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 5461 |
|
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 5462 |
|
ac_tool_warned=yes ;; |
| 5463 |
|
esac |
| 5477 |
|
|
| 5478 |
|
|
| 5479 |
|
|
| 5480 |
< |
{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5 |
| 5480 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 |
| 5481 |
|
$as_echo_n "checking how to recognize dependent libraries... " >&6; } |
| 5482 |
< |
if test "${lt_cv_deplibs_check_method+set}" = set; then |
| 5482 |
> |
if test "${lt_cv_deplibs_check_method+set}" = set; then : |
| 5483 |
|
$as_echo_n "(cached) " >&6 |
| 5484 |
|
else |
| 5485 |
|
lt_cv_file_magic_cmd='$MAGIC_CMD' |
| 5673 |
|
esac |
| 5674 |
|
|
| 5675 |
|
fi |
| 5676 |
< |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5 |
| 5676 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 |
| 5677 |
|
$as_echo "$lt_cv_deplibs_check_method" >&6; } |
| 5678 |
|
file_magic_cmd=$lt_cv_file_magic_cmd |
| 5679 |
|
deplibs_check_method=$lt_cv_deplibs_check_method |
| 5693 |
|
if test -n "$ac_tool_prefix"; then |
| 5694 |
|
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. |
| 5695 |
|
set dummy ${ac_tool_prefix}ar; ac_word=$2 |
| 5696 |
< |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 5696 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 5697 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 5698 |
< |
if test "${ac_cv_prog_AR+set}" = set; then |
| 5698 |
> |
if test "${ac_cv_prog_AR+set}" = set; then : |
| 5699 |
|
$as_echo_n "(cached) " >&6 |
| 5700 |
|
else |
| 5701 |
|
if test -n "$AR"; then |
| 5706 |
|
do |
| 5707 |
|
IFS=$as_save_IFS |
| 5708 |
|
test -z "$as_dir" && as_dir=. |
| 5709 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 5709 |
> |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 5710 |
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 5711 |
|
ac_cv_prog_AR="${ac_tool_prefix}ar" |
| 5712 |
< |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 5712 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 5713 |
|
break 2 |
| 5714 |
|
fi |
| 5715 |
|
done |
| 5716 |
< |
done |
| 5716 |
> |
done |
| 5717 |
|
IFS=$as_save_IFS |
| 5718 |
|
|
| 5719 |
|
fi |
| 5720 |
|
fi |
| 5721 |
|
AR=$ac_cv_prog_AR |
| 5722 |
|
if test -n "$AR"; then |
| 5723 |
< |
{ $as_echo "$as_me:$LINENO: result: $AR" >&5 |
| 5723 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 |
| 5724 |
|
$as_echo "$AR" >&6; } |
| 5725 |
|
else |
| 5726 |
< |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
| 5726 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 5727 |
|
$as_echo "no" >&6; } |
| 5728 |
|
fi |
| 5729 |
|
|
| 5733 |
|
ac_ct_AR=$AR |
| 5734 |
|
# Extract the first word of "ar", so it can be a program name with args. |
| 5735 |
|
set dummy ar; ac_word=$2 |
| 5736 |
< |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 5736 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 5737 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 5738 |
< |
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then |
| 5738 |
> |
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then : |
| 5739 |
|
$as_echo_n "(cached) " >&6 |
| 5740 |
|
else |
| 5741 |
|
if test -n "$ac_ct_AR"; then |
| 5746 |
|
do |
| 5747 |
|
IFS=$as_save_IFS |
| 5748 |
|
test -z "$as_dir" && as_dir=. |
| 5749 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 5749 |
> |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 5750 |
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 5751 |
|
ac_cv_prog_ac_ct_AR="ar" |
| 5752 |
< |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 5752 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 5753 |
|
break 2 |
| 5754 |
|
fi |
| 5755 |
|
done |
| 5756 |
< |
done |
| 5756 |
> |
done |
| 5757 |
|
IFS=$as_save_IFS |
| 5758 |
|
|
| 5759 |
|
fi |
| 5760 |
|
fi |
| 5761 |
|
ac_ct_AR=$ac_cv_prog_ac_ct_AR |
| 5762 |
|
if test -n "$ac_ct_AR"; then |
| 5763 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5 |
| 5763 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 |
| 5764 |
|
$as_echo "$ac_ct_AR" >&6; } |
| 5765 |
|
else |
| 5766 |
< |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
| 5766 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 5767 |
|
$as_echo "no" >&6; } |
| 5768 |
|
fi |
| 5769 |
|
|
| 5772 |
|
else |
| 5773 |
|
case $cross_compiling:$ac_tool_warned in |
| 5774 |
|
yes:) |
| 5775 |
< |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 5775 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 5776 |
|
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 5777 |
|
ac_tool_warned=yes ;; |
| 5778 |
|
esac |
| 5798 |
|
if test -n "$ac_tool_prefix"; then |
| 5799 |
|
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
| 5800 |
|
set dummy ${ac_tool_prefix}strip; ac_word=$2 |
| 5801 |
< |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 5801 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 5802 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 5803 |
< |
if test "${ac_cv_prog_STRIP+set}" = set; then |
| 5803 |
> |
if test "${ac_cv_prog_STRIP+set}" = set; then : |
| 5804 |
|
$as_echo_n "(cached) " >&6 |
| 5805 |
|
else |
| 5806 |
|
if test -n "$STRIP"; then |
| 5811 |
|
do |
| 5812 |
|
IFS=$as_save_IFS |
| 5813 |
|
test -z "$as_dir" && as_dir=. |
| 5814 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 5814 |
> |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 5815 |
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 5816 |
|
ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
| 5817 |
< |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 5817 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 5818 |
|
break 2 |
| 5819 |
|
fi |
| 5820 |
|
done |
| 5821 |
< |
done |
| 5821 |
> |
done |
| 5822 |
|
IFS=$as_save_IFS |
| 5823 |
|
|
| 5824 |
|
fi |
| 5825 |
|
fi |
| 5826 |
|
STRIP=$ac_cv_prog_STRIP |
| 5827 |
|
if test -n "$STRIP"; then |
| 5828 |
< |
{ $as_echo "$as_me:$LINENO: result: $STRIP" >&5 |
| 5828 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 |
| 5829 |
|
$as_echo "$STRIP" >&6; } |
| 5830 |
|
else |
| 5831 |
< |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
| 5831 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 5832 |
|
$as_echo "no" >&6; } |
| 5833 |
|
fi |
| 5834 |
|
|
| 5838 |
|
ac_ct_STRIP=$STRIP |
| 5839 |
|
# Extract the first word of "strip", so it can be a program name with args. |
| 5840 |
|
set dummy strip; ac_word=$2 |
| 5841 |
< |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 5841 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 5842 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 5843 |
< |
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then |
| 5843 |
> |
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : |
| 5844 |
|
$as_echo_n "(cached) " >&6 |
| 5845 |
|
else |
| 5846 |
|
if test -n "$ac_ct_STRIP"; then |
| 5851 |
|
do |
| 5852 |
|
IFS=$as_save_IFS |
| 5853 |
|
test -z "$as_dir" && as_dir=. |
| 5854 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 5854 |
> |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 5855 |
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 5856 |
|
ac_cv_prog_ac_ct_STRIP="strip" |
| 5857 |
< |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 5857 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 5858 |
|
break 2 |
| 5859 |
|
fi |
| 5860 |
|
done |
| 5861 |
< |
done |
| 5861 |
> |
done |
| 5862 |
|
IFS=$as_save_IFS |
| 5863 |
|
|
| 5864 |
|
fi |
| 5865 |
|
fi |
| 5866 |
|
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
| 5867 |
|
if test -n "$ac_ct_STRIP"; then |
| 5868 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 |
| 5868 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 |
| 5869 |
|
$as_echo "$ac_ct_STRIP" >&6; } |
| 5870 |
|
else |
| 5871 |
< |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
| 5871 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 5872 |
|
$as_echo "no" >&6; } |
| 5873 |
|
fi |
| 5874 |
|
|
| 5877 |
|
else |
| 5878 |
|
case $cross_compiling:$ac_tool_warned in |
| 5879 |
|
yes:) |
| 5880 |
< |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 5880 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 5881 |
|
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 5882 |
|
ac_tool_warned=yes ;; |
| 5883 |
|
esac |
| 5897 |
|
if test -n "$ac_tool_prefix"; then |
| 5898 |
|
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
| 5899 |
|
set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
| 5900 |
< |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 5900 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 5901 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 5902 |
< |
if test "${ac_cv_prog_RANLIB+set}" = set; then |
| 5902 |
> |
if test "${ac_cv_prog_RANLIB+set}" = set; then : |
| 5903 |
|
$as_echo_n "(cached) " >&6 |
| 5904 |
|
else |
| 5905 |
|
if test -n "$RANLIB"; then |
| 5910 |
|
do |
| 5911 |
|
IFS=$as_save_IFS |
| 5912 |
|
test -z "$as_dir" && as_dir=. |
| 5913 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 5913 |
> |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 5914 |
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 5915 |
|
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
| 5916 |
< |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 5916 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 5917 |
|
break 2 |
| 5918 |
|
fi |
| 5919 |
|
done |
| 5920 |
< |
done |
| 5920 |
> |
done |
| 5921 |
|
IFS=$as_save_IFS |
| 5922 |
|
|
| 5923 |
|
fi |
| 5924 |
|
fi |
| 5925 |
|
RANLIB=$ac_cv_prog_RANLIB |
| 5926 |
|
if test -n "$RANLIB"; then |
| 5927 |
< |
{ $as_echo "$as_me:$LINENO: result: $RANLIB" >&5 |
| 5927 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 |
| 5928 |
|
$as_echo "$RANLIB" >&6; } |
| 5929 |
|
else |
| 5930 |
< |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
| 5930 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 5931 |
|
$as_echo "no" >&6; } |
| 5932 |
|
fi |
| 5933 |
|
|
| 5937 |
|
ac_ct_RANLIB=$RANLIB |
| 5938 |
|
# Extract the first word of "ranlib", so it can be a program name with args. |
| 5939 |
|
set dummy ranlib; ac_word=$2 |
| 5940 |
< |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 5940 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 5941 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 5942 |
< |
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then |
| 5942 |
> |
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : |
| 5943 |
|
$as_echo_n "(cached) " >&6 |
| 5944 |
|
else |
| 5945 |
|
if test -n "$ac_ct_RANLIB"; then |
| 5950 |
|
do |
| 5951 |
|
IFS=$as_save_IFS |
| 5952 |
|
test -z "$as_dir" && as_dir=. |
| 5953 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 5953 |
> |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 5954 |
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 5955 |
|
ac_cv_prog_ac_ct_RANLIB="ranlib" |
| 5956 |
< |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 5956 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 5957 |
|
break 2 |
| 5958 |
|
fi |
| 5959 |
|
done |
| 5960 |
< |
done |
| 5960 |
> |
done |
| 5961 |
|
IFS=$as_save_IFS |
| 5962 |
|
|
| 5963 |
|
fi |
| 5964 |
|
fi |
| 5965 |
|
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB |
| 5966 |
|
if test -n "$ac_ct_RANLIB"; then |
| 5967 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 |
| 5967 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 |
| 5968 |
|
$as_echo "$ac_ct_RANLIB" >&6; } |
| 5969 |
|
else |
| 5970 |
< |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
| 5970 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 5971 |
|
$as_echo "no" >&6; } |
| 5972 |
|
fi |
| 5973 |
|
|
| 5976 |
|
else |
| 5977 |
|
case $cross_compiling:$ac_tool_warned in |
| 5978 |
|
yes:) |
| 5979 |
< |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 5979 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 5980 |
|
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 5981 |
|
ac_tool_warned=yes ;; |
| 5982 |
|
esac |
| 6054 |
|
|
| 6055 |
|
|
| 6056 |
|
# Check for command to grab the raw symbol name followed by C symbol from nm. |
| 6057 |
< |
{ $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5 |
| 6057 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 |
| 6058 |
|
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } |
| 6059 |
< |
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then |
| 6059 |
> |
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then : |
| 6060 |
|
$as_echo_n "(cached) " >&6 |
| 6061 |
|
else |
| 6062 |
|
|
| 6172 |
|
int main(){nm_test_var='a';nm_test_func();return(0);} |
| 6173 |
|
_LT_EOF |
| 6174 |
|
|
| 6175 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 6175 |
> |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
| 6176 |
|
(eval $ac_compile) 2>&5 |
| 6177 |
|
ac_status=$? |
| 6178 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6179 |
< |
(exit $ac_status); }; then |
| 6178 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 6179 |
> |
test $ac_status = 0; }; then |
| 6180 |
|
# Now try to grab the symbols. |
| 6181 |
|
nlist=conftest.nm |
| 6182 |
< |
if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5 |
| 6182 |
> |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5 |
| 6183 |
|
(eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5 |
| 6184 |
|
ac_status=$? |
| 6185 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6186 |
< |
(exit $ac_status); } && test -s "$nlist"; then |
| 6185 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 6186 |
> |
test $ac_status = 0; } && test -s "$nlist"; then |
| 6187 |
|
# Try sorting and uniquifying the output. |
| 6188 |
|
if sort "$nlist" | uniq > "$nlist"T; then |
| 6189 |
|
mv -f "$nlist"T "$nlist" |
| 6236 |
|
lt_save_CFLAGS="$CFLAGS" |
| 6237 |
|
LIBS="conftstm.$ac_objext" |
| 6238 |
|
CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" |
| 6239 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 6239 |
> |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 |
| 6240 |
|
(eval $ac_link) 2>&5 |
| 6241 |
|
ac_status=$? |
| 6242 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6243 |
< |
(exit $ac_status); } && test -s conftest${ac_exeext}; then |
| 6242 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 6243 |
> |
test $ac_status = 0; } && test -s conftest${ac_exeext}; then |
| 6244 |
|
pipe_works=yes |
| 6245 |
|
fi |
| 6246 |
|
LIBS="$lt_save_LIBS" |
| 6274 |
|
lt_cv_sys_global_symbol_to_cdecl= |
| 6275 |
|
fi |
| 6276 |
|
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then |
| 6277 |
< |
{ $as_echo "$as_me:$LINENO: result: failed" >&5 |
| 6277 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 |
| 6278 |
|
$as_echo "failed" >&6; } |
| 6279 |
|
else |
| 6280 |
< |
{ $as_echo "$as_me:$LINENO: result: ok" >&5 |
| 6280 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 |
| 6281 |
|
$as_echo "ok" >&6; } |
| 6282 |
|
fi |
| 6283 |
|
|
| 6303 |
|
|
| 6304 |
|
|
| 6305 |
|
# Check whether --enable-libtool-lock was given. |
| 6306 |
< |
if test "${enable_libtool_lock+set}" = set; then |
| 6306 |
> |
if test "${enable_libtool_lock+set}" = set; then : |
| 6307 |
|
enableval=$enable_libtool_lock; |
| 6308 |
|
fi |
| 6309 |
|
|
| 6315 |
|
ia64-*-hpux*) |
| 6316 |
|
# Find out which ABI we are using. |
| 6317 |
|
echo 'int i;' > conftest.$ac_ext |
| 6318 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 6318 |
> |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
| 6319 |
|
(eval $ac_compile) 2>&5 |
| 6320 |
|
ac_status=$? |
| 6321 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6322 |
< |
(exit $ac_status); }; then |
| 6321 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 6322 |
> |
test $ac_status = 0; }; then |
| 6323 |
|
case `/usr/bin/file conftest.$ac_objext` in |
| 6324 |
|
*ELF-32*) |
| 6325 |
|
HPUX_IA64_MODE="32" |
| 6333 |
|
;; |
| 6334 |
|
*-*-irix6*) |
| 6335 |
|
# Find out which ABI we are using. |
| 6336 |
< |
echo '#line 6090 "configure"' > conftest.$ac_ext |
| 6337 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 6336 |
> |
echo '#line 6336 "configure"' > conftest.$ac_ext |
| 6337 |
> |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
| 6338 |
|
(eval $ac_compile) 2>&5 |
| 6339 |
|
ac_status=$? |
| 6340 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6341 |
< |
(exit $ac_status); }; then |
| 6340 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 6341 |
> |
test $ac_status = 0; }; then |
| 6342 |
|
if test "$lt_cv_prog_gnu_ld" = yes; then |
| 6343 |
|
case `/usr/bin/file conftest.$ac_objext` in |
| 6344 |
|
*32-bit*) |
| 6372 |
|
s390*-*linux*|s390*-*tpf*|sparc*-*linux*) |
| 6373 |
|
# Find out which ABI we are using. |
| 6374 |
|
echo 'int i;' > conftest.$ac_ext |
| 6375 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 6375 |
> |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
| 6376 |
|
(eval $ac_compile) 2>&5 |
| 6377 |
|
ac_status=$? |
| 6378 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6379 |
< |
(exit $ac_status); }; then |
| 6378 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 6379 |
> |
test $ac_status = 0; }; then |
| 6380 |
|
case `/usr/bin/file conftest.o` in |
| 6381 |
|
*32-bit*) |
| 6382 |
|
case $host in |
| 6425 |
|
# On SCO OpenServer 5, we need -belf to get full-featured binaries. |
| 6426 |
|
SAVE_CFLAGS="$CFLAGS" |
| 6427 |
|
CFLAGS="$CFLAGS -belf" |
| 6428 |
< |
{ $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5 |
| 6428 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 |
| 6429 |
|
$as_echo_n "checking whether the C compiler needs -belf... " >&6; } |
| 6430 |
< |
if test "${lt_cv_cc_needs_belf+set}" = set; then |
| 6430 |
> |
if test "${lt_cv_cc_needs_belf+set}" = set; then : |
| 6431 |
|
$as_echo_n "(cached) " >&6 |
| 6432 |
|
else |
| 6433 |
|
ac_ext=c |
| 6436 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 6437 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 6438 |
|
|
| 6439 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 6194 |
< |
/* confdefs.h. */ |
| 6195 |
< |
_ACEOF |
| 6196 |
< |
cat confdefs.h >>conftest.$ac_ext |
| 6197 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
| 6439 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 6440 |
|
/* end confdefs.h. */ |
| 6441 |
|
|
| 6442 |
|
int |
| 6447 |
|
return 0; |
| 6448 |
|
} |
| 6449 |
|
_ACEOF |
| 6450 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 6209 |
< |
if { (ac_try="$ac_link" |
| 6210 |
< |
case "(($ac_try" in |
| 6211 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 6212 |
< |
*) ac_try_echo=$ac_try;; |
| 6213 |
< |
esac |
| 6214 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 6215 |
< |
$as_echo "$ac_try_echo") >&5 |
| 6216 |
< |
(eval "$ac_link") 2>conftest.er1 |
| 6217 |
< |
ac_status=$? |
| 6218 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
| 6219 |
< |
rm -f conftest.er1 |
| 6220 |
< |
cat conftest.err >&5 |
| 6221 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6222 |
< |
(exit $ac_status); } && { |
| 6223 |
< |
test -z "$ac_c_werror_flag" || |
| 6224 |
< |
test ! -s conftest.err |
| 6225 |
< |
} && test -s conftest$ac_exeext && { |
| 6226 |
< |
test "$cross_compiling" = yes || |
| 6227 |
< |
$as_test_x conftest$ac_exeext |
| 6228 |
< |
}; then |
| 6450 |
> |
if ac_fn_c_try_link "$LINENO"; then : |
| 6451 |
|
lt_cv_cc_needs_belf=yes |
| 6452 |
|
else |
| 6453 |
< |
$as_echo "$as_me: failed program was:" >&5 |
| 6232 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 6233 |
< |
|
| 6234 |
< |
lt_cv_cc_needs_belf=no |
| 6453 |
> |
lt_cv_cc_needs_belf=no |
| 6454 |
|
fi |
| 6455 |
< |
|
| 6456 |
< |
rm -rf conftest.dSYM |
| 6238 |
< |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 6239 |
< |
conftest$ac_exeext conftest.$ac_ext |
| 6455 |
> |
rm -f core conftest.err conftest.$ac_objext \ |
| 6456 |
> |
conftest$ac_exeext conftest.$ac_ext |
| 6457 |
|
ac_ext=c |
| 6458 |
|
ac_cpp='$CPP $CPPFLAGS' |
| 6459 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 6461 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 6462 |
|
|
| 6463 |
|
fi |
| 6464 |
< |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5 |
| 6464 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 |
| 6465 |
|
$as_echo "$lt_cv_cc_needs_belf" >&6; } |
| 6466 |
|
if test x"$lt_cv_cc_needs_belf" != x"yes"; then |
| 6467 |
|
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf |
| 6471 |
|
sparc*-*solaris*) |
| 6472 |
|
# Find out which ABI we are using. |
| 6473 |
|
echo 'int i;' > conftest.$ac_ext |
| 6474 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 6474 |
> |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
| 6475 |
|
(eval $ac_compile) 2>&5 |
| 6476 |
|
ac_status=$? |
| 6477 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6478 |
< |
(exit $ac_status); }; then |
| 6477 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 6478 |
> |
test $ac_status = 0; }; then |
| 6479 |
|
case `/usr/bin/file conftest.o` in |
| 6480 |
|
*64-bit*) |
| 6481 |
|
case $lt_cv_prog_gnu_ld in |
| 6501 |
|
if test -n "$ac_tool_prefix"; then |
| 6502 |
|
# Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. |
| 6503 |
|
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 |
| 6504 |
< |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 6504 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 6505 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 6506 |
< |
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then |
| 6506 |
> |
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then : |
| 6507 |
|
$as_echo_n "(cached) " >&6 |
| 6508 |
|
else |
| 6509 |
|
if test -n "$DSYMUTIL"; then |
| 6514 |
|
do |
| 6515 |
|
IFS=$as_save_IFS |
| 6516 |
|
test -z "$as_dir" && as_dir=. |
| 6517 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 6517 |
> |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 6518 |
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 6519 |
|
ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" |
| 6520 |
< |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 6520 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 6521 |
|
break 2 |
| 6522 |
|
fi |
| 6523 |
|
done |
| 6524 |
< |
done |
| 6524 |
> |
done |
| 6525 |
|
IFS=$as_save_IFS |
| 6526 |
|
|
| 6527 |
|
fi |
| 6528 |
|
fi |
| 6529 |
|
DSYMUTIL=$ac_cv_prog_DSYMUTIL |
| 6530 |
|
if test -n "$DSYMUTIL"; then |
| 6531 |
< |
{ $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5 |
| 6531 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 |
| 6532 |
|
$as_echo "$DSYMUTIL" >&6; } |
| 6533 |
|
else |
| 6534 |
< |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
| 6534 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 6535 |
|
$as_echo "no" >&6; } |
| 6536 |
|
fi |
| 6537 |
|
|
| 6541 |
|
ac_ct_DSYMUTIL=$DSYMUTIL |
| 6542 |
|
# Extract the first word of "dsymutil", so it can be a program name with args. |
| 6543 |
|
set dummy dsymutil; ac_word=$2 |
| 6544 |
< |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 6544 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 6545 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 6546 |
< |
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then |
| 6546 |
> |
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then : |
| 6547 |
|
$as_echo_n "(cached) " >&6 |
| 6548 |
|
else |
| 6549 |
|
if test -n "$ac_ct_DSYMUTIL"; then |
| 6554 |
|
do |
| 6555 |
|
IFS=$as_save_IFS |
| 6556 |
|
test -z "$as_dir" && as_dir=. |
| 6557 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 6557 |
> |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 6558 |
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 6559 |
|
ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" |
| 6560 |
< |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 6560 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 6561 |
|
break 2 |
| 6562 |
|
fi |
| 6563 |
|
done |
| 6564 |
< |
done |
| 6564 |
> |
done |
| 6565 |
|
IFS=$as_save_IFS |
| 6566 |
|
|
| 6567 |
|
fi |
| 6568 |
|
fi |
| 6569 |
|
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL |
| 6570 |
|
if test -n "$ac_ct_DSYMUTIL"; then |
| 6571 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5 |
| 6571 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 |
| 6572 |
|
$as_echo "$ac_ct_DSYMUTIL" >&6; } |
| 6573 |
|
else |
| 6574 |
< |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
| 6574 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 6575 |
|
$as_echo "no" >&6; } |
| 6576 |
|
fi |
| 6577 |
|
|
| 6580 |
|
else |
| 6581 |
|
case $cross_compiling:$ac_tool_warned in |
| 6582 |
|
yes:) |
| 6583 |
< |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 6583 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 6584 |
|
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 6585 |
|
ac_tool_warned=yes ;; |
| 6586 |
|
esac |
| 6593 |
|
if test -n "$ac_tool_prefix"; then |
| 6594 |
|
# Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. |
| 6595 |
|
set dummy ${ac_tool_prefix}nmedit; ac_word=$2 |
| 6596 |
< |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 6596 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 6597 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 6598 |
< |
if test "${ac_cv_prog_NMEDIT+set}" = set; then |
| 6598 |
> |
if test "${ac_cv_prog_NMEDIT+set}" = set; then : |
| 6599 |
|
$as_echo_n "(cached) " >&6 |
| 6600 |
|
else |
| 6601 |
|
if test -n "$NMEDIT"; then |
| 6606 |
|
do |
| 6607 |
|
IFS=$as_save_IFS |
| 6608 |
|
test -z "$as_dir" && as_dir=. |
| 6609 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 6609 |
> |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 6610 |
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 6611 |
|
ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" |
| 6612 |
< |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 6612 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 6613 |
|
break 2 |
| 6614 |
|
fi |
| 6615 |
|
done |
| 6616 |
< |
done |
| 6616 |
> |
done |
| 6617 |
|
IFS=$as_save_IFS |
| 6618 |
|
|
| 6619 |
|
fi |
| 6620 |
|
fi |
| 6621 |
|
NMEDIT=$ac_cv_prog_NMEDIT |
| 6622 |
|
if test -n "$NMEDIT"; then |
| 6623 |
< |
{ $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5 |
| 6623 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 |
| 6624 |
|
$as_echo "$NMEDIT" >&6; } |
| 6625 |
|
else |
| 6626 |
< |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
| 6626 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 6627 |
|
$as_echo "no" >&6; } |
| 6628 |
|
fi |
| 6629 |
|
|
| 6633 |
|
ac_ct_NMEDIT=$NMEDIT |
| 6634 |
|
# Extract the first word of "nmedit", so it can be a program name with args. |
| 6635 |
|
set dummy nmedit; ac_word=$2 |
| 6636 |
< |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 6636 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 6637 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 6638 |
< |
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then |
| 6638 |
> |
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then : |
| 6639 |
|
$as_echo_n "(cached) " >&6 |
| 6640 |
|
else |
| 6641 |
|
if test -n "$ac_ct_NMEDIT"; then |
| 6646 |
|
do |
| 6647 |
|
IFS=$as_save_IFS |
| 6648 |
|
test -z "$as_dir" && as_dir=. |
| 6649 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 6649 |
> |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 6650 |
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 6651 |
|
ac_cv_prog_ac_ct_NMEDIT="nmedit" |
| 6652 |
< |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 6652 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 6653 |
|
break 2 |
| 6654 |
|
fi |
| 6655 |
|
done |
| 6656 |
< |
done |
| 6656 |
> |
done |
| 6657 |
|
IFS=$as_save_IFS |
| 6658 |
|
|
| 6659 |
|
fi |
| 6660 |
|
fi |
| 6661 |
|
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT |
| 6662 |
|
if test -n "$ac_ct_NMEDIT"; then |
| 6663 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5 |
| 6663 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 |
| 6664 |
|
$as_echo "$ac_ct_NMEDIT" >&6; } |
| 6665 |
|
else |
| 6666 |
< |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
| 6666 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 6667 |
|
$as_echo "no" >&6; } |
| 6668 |
|
fi |
| 6669 |
|
|
| 6672 |
|
else |
| 6673 |
|
case $cross_compiling:$ac_tool_warned in |
| 6674 |
|
yes:) |
| 6675 |
< |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 6675 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 6676 |
|
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 6677 |
|
ac_tool_warned=yes ;; |
| 6678 |
|
esac |
| 6685 |
|
if test -n "$ac_tool_prefix"; then |
| 6686 |
|
# Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. |
| 6687 |
|
set dummy ${ac_tool_prefix}lipo; ac_word=$2 |
| 6688 |
< |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 6688 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 6689 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 6690 |
< |
if test "${ac_cv_prog_LIPO+set}" = set; then |
| 6690 |
> |
if test "${ac_cv_prog_LIPO+set}" = set; then : |
| 6691 |
|
$as_echo_n "(cached) " >&6 |
| 6692 |
|
else |
| 6693 |
|
if test -n "$LIPO"; then |
| 6698 |
|
do |
| 6699 |
|
IFS=$as_save_IFS |
| 6700 |
|
test -z "$as_dir" && as_dir=. |
| 6701 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 6701 |
> |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 6702 |
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 6703 |
|
ac_cv_prog_LIPO="${ac_tool_prefix}lipo" |
| 6704 |
< |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 6704 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 6705 |
|
break 2 |
| 6706 |
|
fi |
| 6707 |
|
done |
| 6708 |
< |
done |
| 6708 |
> |
done |
| 6709 |
|
IFS=$as_save_IFS |
| 6710 |
|
|
| 6711 |
|
fi |
| 6712 |
|
fi |
| 6713 |
|
LIPO=$ac_cv_prog_LIPO |
| 6714 |
|
if test -n "$LIPO"; then |
| 6715 |
< |
{ $as_echo "$as_me:$LINENO: result: $LIPO" >&5 |
| 6715 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 |
| 6716 |
|
$as_echo "$LIPO" >&6; } |
| 6717 |
|
else |
| 6718 |
< |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
| 6718 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 6719 |
|
$as_echo "no" >&6; } |
| 6720 |
|
fi |
| 6721 |
|
|
| 6725 |
|
ac_ct_LIPO=$LIPO |
| 6726 |
|
# Extract the first word of "lipo", so it can be a program name with args. |
| 6727 |
|
set dummy lipo; ac_word=$2 |
| 6728 |
< |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 6728 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 6729 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 6730 |
< |
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then |
| 6730 |
> |
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then : |
| 6731 |
|
$as_echo_n "(cached) " >&6 |
| 6732 |
|
else |
| 6733 |
|
if test -n "$ac_ct_LIPO"; then |
| 6738 |
|
do |
| 6739 |
|
IFS=$as_save_IFS |
| 6740 |
|
test -z "$as_dir" && as_dir=. |
| 6741 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 6741 |
> |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 6742 |
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 6743 |
|
ac_cv_prog_ac_ct_LIPO="lipo" |
| 6744 |
< |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 6744 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 6745 |
|
break 2 |
| 6746 |
|
fi |
| 6747 |
|
done |
| 6748 |
< |
done |
| 6748 |
> |
done |
| 6749 |
|
IFS=$as_save_IFS |
| 6750 |
|
|
| 6751 |
|
fi |
| 6752 |
|
fi |
| 6753 |
|
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO |
| 6754 |
|
if test -n "$ac_ct_LIPO"; then |
| 6755 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5 |
| 6755 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 |
| 6756 |
|
$as_echo "$ac_ct_LIPO" >&6; } |
| 6757 |
|
else |
| 6758 |
< |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
| 6758 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 6759 |
|
$as_echo "no" >&6; } |
| 6760 |
|
fi |
| 6761 |
|
|
| 6764 |
|
else |
| 6765 |
|
case $cross_compiling:$ac_tool_warned in |
| 6766 |
|
yes:) |
| 6767 |
< |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 6767 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 6768 |
|
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 6769 |
|
ac_tool_warned=yes ;; |
| 6770 |
|
esac |
| 6777 |
|
if test -n "$ac_tool_prefix"; then |
| 6778 |
|
# Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. |
| 6779 |
|
set dummy ${ac_tool_prefix}otool; ac_word=$2 |
| 6780 |
< |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 6780 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 6781 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 6782 |
< |
if test "${ac_cv_prog_OTOOL+set}" = set; then |
| 6782 |
> |
if test "${ac_cv_prog_OTOOL+set}" = set; then : |
| 6783 |
|
$as_echo_n "(cached) " >&6 |
| 6784 |
|
else |
| 6785 |
|
if test -n "$OTOOL"; then |
| 6790 |
|
do |
| 6791 |
|
IFS=$as_save_IFS |
| 6792 |
|
test -z "$as_dir" && as_dir=. |
| 6793 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 6793 |
> |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 6794 |
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 6795 |
|
ac_cv_prog_OTOOL="${ac_tool_prefix}otool" |
| 6796 |
< |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 6796 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 6797 |
|
break 2 |
| 6798 |
|
fi |
| 6799 |
|
done |
| 6800 |
< |
done |
| 6800 |
> |
done |
| 6801 |
|
IFS=$as_save_IFS |
| 6802 |
|
|
| 6803 |
|
fi |
| 6804 |
|
fi |
| 6805 |
|
OTOOL=$ac_cv_prog_OTOOL |
| 6806 |
|
if test -n "$OTOOL"; then |
| 6807 |
< |
{ $as_echo "$as_me:$LINENO: result: $OTOOL" >&5 |
| 6807 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 |
| 6808 |
|
$as_echo "$OTOOL" >&6; } |
| 6809 |
|
else |
| 6810 |
< |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
| 6810 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 6811 |
|
$as_echo "no" >&6; } |
| 6812 |
|
fi |
| 6813 |
|
|
| 6817 |
|
ac_ct_OTOOL=$OTOOL |
| 6818 |
|
# Extract the first word of "otool", so it can be a program name with args. |
| 6819 |
|
set dummy otool; ac_word=$2 |
| 6820 |
< |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 6820 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 6821 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 6822 |
< |
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then |
| 6822 |
> |
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then : |
| 6823 |
|
$as_echo_n "(cached) " >&6 |
| 6824 |
|
else |
| 6825 |
|
if test -n "$ac_ct_OTOOL"; then |
| 6830 |
|
do |
| 6831 |
|
IFS=$as_save_IFS |
| 6832 |
|
test -z "$as_dir" && as_dir=. |
| 6833 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 6833 |
> |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 6834 |
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 6835 |
|
ac_cv_prog_ac_ct_OTOOL="otool" |
| 6836 |
< |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 6836 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 6837 |
|
break 2 |
| 6838 |
|
fi |
| 6839 |
|
done |
| 6840 |
< |
done |
| 6840 |
> |
done |
| 6841 |
|
IFS=$as_save_IFS |
| 6842 |
|
|
| 6843 |
|
fi |
| 6844 |
|
fi |
| 6845 |
|
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL |
| 6846 |
|
if test -n "$ac_ct_OTOOL"; then |
| 6847 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5 |
| 6847 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 |
| 6848 |
|
$as_echo "$ac_ct_OTOOL" >&6; } |
| 6849 |
|
else |
| 6850 |
< |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
| 6850 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 6851 |
|
$as_echo "no" >&6; } |
| 6852 |
|
fi |
| 6853 |
|
|
| 6856 |
|
else |
| 6857 |
|
case $cross_compiling:$ac_tool_warned in |
| 6858 |
|
yes:) |
| 6859 |
< |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 6859 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 6860 |
|
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 6861 |
|
ac_tool_warned=yes ;; |
| 6862 |
|
esac |
| 6869 |
|
if test -n "$ac_tool_prefix"; then |
| 6870 |
|
# Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. |
| 6871 |
|
set dummy ${ac_tool_prefix}otool64; ac_word=$2 |
| 6872 |
< |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 6872 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 6873 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 6874 |
< |
if test "${ac_cv_prog_OTOOL64+set}" = set; then |
| 6874 |
> |
if test "${ac_cv_prog_OTOOL64+set}" = set; then : |
| 6875 |
|
$as_echo_n "(cached) " >&6 |
| 6876 |
|
else |
| 6877 |
|
if test -n "$OTOOL64"; then |
| 6882 |
|
do |
| 6883 |
|
IFS=$as_save_IFS |
| 6884 |
|
test -z "$as_dir" && as_dir=. |
| 6885 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 6885 |
> |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 6886 |
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 6887 |
|
ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" |
| 6888 |
< |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 6888 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 6889 |
|
break 2 |
| 6890 |
|
fi |
| 6891 |
|
done |
| 6892 |
< |
done |
| 6892 |
> |
done |
| 6893 |
|
IFS=$as_save_IFS |
| 6894 |
|
|
| 6895 |
|
fi |
| 6896 |
|
fi |
| 6897 |
|
OTOOL64=$ac_cv_prog_OTOOL64 |
| 6898 |
|
if test -n "$OTOOL64"; then |
| 6899 |
< |
{ $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5 |
| 6899 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 |
| 6900 |
|
$as_echo "$OTOOL64" >&6; } |
| 6901 |
|
else |
| 6902 |
< |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
| 6902 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 6903 |
|
$as_echo "no" >&6; } |
| 6904 |
|
fi |
| 6905 |
|
|
| 6909 |
|
ac_ct_OTOOL64=$OTOOL64 |
| 6910 |
|
# Extract the first word of "otool64", so it can be a program name with args. |
| 6911 |
|
set dummy otool64; ac_word=$2 |
| 6912 |
< |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 6912 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 6913 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
| 6914 |
< |
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then |
| 6914 |
> |
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then : |
| 6915 |
|
$as_echo_n "(cached) " >&6 |
| 6916 |
|
else |
| 6917 |
|
if test -n "$ac_ct_OTOOL64"; then |
| 6922 |
|
do |
| 6923 |
|
IFS=$as_save_IFS |
| 6924 |
|
test -z "$as_dir" && as_dir=. |
| 6925 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 6925 |
> |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 6926 |
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 6927 |
|
ac_cv_prog_ac_ct_OTOOL64="otool64" |
| 6928 |
< |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 6928 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 6929 |
|
break 2 |
| 6930 |
|
fi |
| 6931 |
|
done |
| 6932 |
< |
done |
| 6932 |
> |
done |
| 6933 |
|
IFS=$as_save_IFS |
| 6934 |
|
|
| 6935 |
|
fi |
| 6936 |
|
fi |
| 6937 |
|
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 |
| 6938 |
|
if test -n "$ac_ct_OTOOL64"; then |
| 6939 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5 |
| 6939 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 |
| 6940 |
|
$as_echo "$ac_ct_OTOOL64" >&6; } |
| 6941 |
|
else |
| 6942 |
< |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
| 6942 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 6943 |
|
$as_echo "no" >&6; } |
| 6944 |
|
fi |
| 6945 |
|
|
| 6948 |
|
else |
| 6949 |
|
case $cross_compiling:$ac_tool_warned in |
| 6950 |
|
yes:) |
| 6951 |
< |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 6951 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 6952 |
|
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 6953 |
|
ac_tool_warned=yes ;; |
| 6954 |
|
esac |
| 6984 |
|
|
| 6985 |
|
|
| 6986 |
|
|
| 6987 |
< |
{ $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5 |
| 6987 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 |
| 6988 |
|
$as_echo_n "checking for -single_module linker flag... " >&6; } |
| 6989 |
< |
if test "${lt_cv_apple_cc_single_mod+set}" = set; then |
| 6989 |
> |
if test "${lt_cv_apple_cc_single_mod+set}" = set; then : |
| 6990 |
|
$as_echo_n "(cached) " >&6 |
| 6991 |
|
else |
| 6992 |
|
lt_cv_apple_cc_single_mod=no |
| 7011 |
|
rm -f conftest.* |
| 7012 |
|
fi |
| 7013 |
|
fi |
| 7014 |
< |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5 |
| 7014 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 |
| 7015 |
|
$as_echo "$lt_cv_apple_cc_single_mod" >&6; } |
| 7016 |
< |
{ $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5 |
| 7016 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 |
| 7017 |
|
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } |
| 7018 |
< |
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then |
| 7018 |
> |
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then : |
| 7019 |
|
$as_echo_n "(cached) " >&6 |
| 7020 |
|
else |
| 7021 |
|
lt_cv_ld_exported_symbols_list=no |
| 7022 |
|
save_LDFLAGS=$LDFLAGS |
| 7023 |
|
echo "_main" > conftest.sym |
| 7024 |
|
LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" |
| 7025 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 6809 |
< |
/* confdefs.h. */ |
| 6810 |
< |
_ACEOF |
| 6811 |
< |
cat confdefs.h >>conftest.$ac_ext |
| 6812 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
| 7025 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 7026 |
|
/* end confdefs.h. */ |
| 7027 |
|
|
| 7028 |
|
int |
| 7033 |
|
return 0; |
| 7034 |
|
} |
| 7035 |
|
_ACEOF |
| 7036 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 6824 |
< |
if { (ac_try="$ac_link" |
| 6825 |
< |
case "(($ac_try" in |
| 6826 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 6827 |
< |
*) ac_try_echo=$ac_try;; |
| 6828 |
< |
esac |
| 6829 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 6830 |
< |
$as_echo "$ac_try_echo") >&5 |
| 6831 |
< |
(eval "$ac_link") 2>conftest.er1 |
| 6832 |
< |
ac_status=$? |
| 6833 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
| 6834 |
< |
rm -f conftest.er1 |
| 6835 |
< |
cat conftest.err >&5 |
| 6836 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6837 |
< |
(exit $ac_status); } && { |
| 6838 |
< |
test -z "$ac_c_werror_flag" || |
| 6839 |
< |
test ! -s conftest.err |
| 6840 |
< |
} && test -s conftest$ac_exeext && { |
| 6841 |
< |
test "$cross_compiling" = yes || |
| 6842 |
< |
$as_test_x conftest$ac_exeext |
| 6843 |
< |
}; then |
| 7036 |
> |
if ac_fn_c_try_link "$LINENO"; then : |
| 7037 |
|
lt_cv_ld_exported_symbols_list=yes |
| 7038 |
|
else |
| 7039 |
< |
$as_echo "$as_me: failed program was:" >&5 |
| 6847 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 6848 |
< |
|
| 6849 |
< |
lt_cv_ld_exported_symbols_list=no |
| 7039 |
> |
lt_cv_ld_exported_symbols_list=no |
| 7040 |
|
fi |
| 7041 |
< |
|
| 7042 |
< |
rm -rf conftest.dSYM |
| 6853 |
< |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 6854 |
< |
conftest$ac_exeext conftest.$ac_ext |
| 7041 |
> |
rm -f core conftest.err conftest.$ac_objext \ |
| 7042 |
> |
conftest$ac_exeext conftest.$ac_ext |
| 7043 |
|
LDFLAGS="$save_LDFLAGS" |
| 7044 |
|
|
| 7045 |
|
fi |
| 7046 |
< |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5 |
| 7046 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 |
| 7047 |
|
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } |
| 7048 |
|
case $host_os in |
| 7049 |
|
rhapsody* | darwin1.[012]) |
| 7085 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 7086 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 7087 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 7088 |
< |
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
| 7088 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 |
| 7089 |
|
$as_echo_n "checking how to run the C preprocessor... " >&6; } |
| 7090 |
|
# On Suns, sometimes $CPP names a directory. |
| 7091 |
|
if test -n "$CPP" && test -d "$CPP"; then |
| 7092 |
|
CPP= |
| 7093 |
|
fi |
| 7094 |
|
if test -z "$CPP"; then |
| 7095 |
< |
if test "${ac_cv_prog_CPP+set}" = set; then |
| 7095 |
> |
if test "${ac_cv_prog_CPP+set}" = set; then : |
| 7096 |
|
$as_echo_n "(cached) " >&6 |
| 7097 |
|
else |
| 7098 |
|
# Double quotes because CPP needs to be expanded |
| 7107 |
|
# <limits.h> exists even on freestanding compilers. |
| 7108 |
|
# On the NeXT, cc -E runs the code through the compiler's parser, |
| 7109 |
|
# not just through cpp. "Syntax error" is here to catch this case. |
| 7110 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 6923 |
< |
/* confdefs.h. */ |
| 6924 |
< |
_ACEOF |
| 6925 |
< |
cat confdefs.h >>conftest.$ac_ext |
| 6926 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
| 7110 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 7111 |
|
/* end confdefs.h. */ |
| 7112 |
|
#ifdef __STDC__ |
| 7113 |
|
# include <limits.h> |
| 7116 |
|
#endif |
| 7117 |
|
Syntax error |
| 7118 |
|
_ACEOF |
| 7119 |
< |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 6936 |
< |
case "(($ac_try" in |
| 6937 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 6938 |
< |
*) ac_try_echo=$ac_try;; |
| 6939 |
< |
esac |
| 6940 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 6941 |
< |
$as_echo "$ac_try_echo") >&5 |
| 6942 |
< |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
| 6943 |
< |
ac_status=$? |
| 6944 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
| 6945 |
< |
rm -f conftest.er1 |
| 6946 |
< |
cat conftest.err >&5 |
| 6947 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6948 |
< |
(exit $ac_status); } >/dev/null && { |
| 6949 |
< |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 6950 |
< |
test ! -s conftest.err |
| 6951 |
< |
}; then |
| 6952 |
< |
: |
| 6953 |
< |
else |
| 6954 |
< |
$as_echo "$as_me: failed program was:" >&5 |
| 6955 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 7119 |
> |
if ac_fn_c_try_cpp "$LINENO"; then : |
| 7120 |
|
|
| 7121 |
+ |
else |
| 7122 |
|
# Broken: fails on valid input. |
| 7123 |
|
continue |
| 7124 |
|
fi |
| 6960 |
– |
|
| 7125 |
|
rm -f conftest.err conftest.$ac_ext |
| 7126 |
|
|
| 7127 |
|
# OK, works on sane cases. Now check whether nonexistent headers |
| 7128 |
|
# can be detected and how. |
| 7129 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 6966 |
< |
/* confdefs.h. */ |
| 6967 |
< |
_ACEOF |
| 6968 |
< |
cat confdefs.h >>conftest.$ac_ext |
| 6969 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
| 7129 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 7130 |
|
/* end confdefs.h. */ |
| 7131 |
|
#include <ac_nonexistent.h> |
| 7132 |
|
_ACEOF |
| 7133 |
< |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 6974 |
< |
case "(($ac_try" in |
| 6975 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 6976 |
< |
*) ac_try_echo=$ac_try;; |
| 6977 |
< |
esac |
| 6978 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 6979 |
< |
$as_echo "$ac_try_echo") >&5 |
| 6980 |
< |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
| 6981 |
< |
ac_status=$? |
| 6982 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
| 6983 |
< |
rm -f conftest.er1 |
| 6984 |
< |
cat conftest.err >&5 |
| 6985 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6986 |
< |
(exit $ac_status); } >/dev/null && { |
| 6987 |
< |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 6988 |
< |
test ! -s conftest.err |
| 6989 |
< |
}; then |
| 7133 |
> |
if ac_fn_c_try_cpp "$LINENO"; then : |
| 7134 |
|
# Broken: success on invalid input. |
| 7135 |
|
continue |
| 7136 |
|
else |
| 6993 |
– |
$as_echo "$as_me: failed program was:" >&5 |
| 6994 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 6995 |
– |
|
| 7137 |
|
# Passes both tests. |
| 7138 |
|
ac_preproc_ok=: |
| 7139 |
|
break |
| 7140 |
|
fi |
| 7000 |
– |
|
| 7141 |
|
rm -f conftest.err conftest.$ac_ext |
| 7142 |
|
|
| 7143 |
|
done |
| 7144 |
|
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
| 7145 |
|
rm -f conftest.err conftest.$ac_ext |
| 7146 |
< |
if $ac_preproc_ok; then |
| 7146 |
> |
if $ac_preproc_ok; then : |
| 7147 |
|
break |
| 7148 |
|
fi |
| 7149 |
|
|
| 7155 |
|
else |
| 7156 |
|
ac_cv_prog_CPP=$CPP |
| 7157 |
|
fi |
| 7158 |
< |
{ $as_echo "$as_me:$LINENO: result: $CPP" >&5 |
| 7158 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 |
| 7159 |
|
$as_echo "$CPP" >&6; } |
| 7160 |
|
ac_preproc_ok=false |
| 7161 |
|
for ac_c_preproc_warn_flag in '' yes |
| 7166 |
|
# <limits.h> exists even on freestanding compilers. |
| 7167 |
|
# On the NeXT, cc -E runs the code through the compiler's parser, |
| 7168 |
|
# not just through cpp. "Syntax error" is here to catch this case. |
| 7169 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 7030 |
< |
/* confdefs.h. */ |
| 7031 |
< |
_ACEOF |
| 7032 |
< |
cat confdefs.h >>conftest.$ac_ext |
| 7033 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
| 7169 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 7170 |
|
/* end confdefs.h. */ |
| 7171 |
|
#ifdef __STDC__ |
| 7172 |
|
# include <limits.h> |
| 7175 |
|
#endif |
| 7176 |
|
Syntax error |
| 7177 |
|
_ACEOF |
| 7178 |
< |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 7043 |
< |
case "(($ac_try" in |
| 7044 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 7045 |
< |
*) ac_try_echo=$ac_try;; |
| 7046 |
< |
esac |
| 7047 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 7048 |
< |
$as_echo "$ac_try_echo") >&5 |
| 7049 |
< |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
| 7050 |
< |
ac_status=$? |
| 7051 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
| 7052 |
< |
rm -f conftest.er1 |
| 7053 |
< |
cat conftest.err >&5 |
| 7054 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7055 |
< |
(exit $ac_status); } >/dev/null && { |
| 7056 |
< |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 7057 |
< |
test ! -s conftest.err |
| 7058 |
< |
}; then |
| 7059 |
< |
: |
| 7060 |
< |
else |
| 7061 |
< |
$as_echo "$as_me: failed program was:" >&5 |
| 7062 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 7178 |
> |
if ac_fn_c_try_cpp "$LINENO"; then : |
| 7179 |
|
|
| 7180 |
+ |
else |
| 7181 |
|
# Broken: fails on valid input. |
| 7182 |
|
continue |
| 7183 |
|
fi |
| 7067 |
– |
|
| 7184 |
|
rm -f conftest.err conftest.$ac_ext |
| 7185 |
|
|
| 7186 |
|
# OK, works on sane cases. Now check whether nonexistent headers |
| 7187 |
|
# can be detected and how. |
| 7188 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 7073 |
< |
/* confdefs.h. */ |
| 7074 |
< |
_ACEOF |
| 7075 |
< |
cat confdefs.h >>conftest.$ac_ext |
| 7076 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
| 7188 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 7189 |
|
/* end confdefs.h. */ |
| 7190 |
|
#include <ac_nonexistent.h> |
| 7191 |
|
_ACEOF |
| 7192 |
< |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 7081 |
< |
case "(($ac_try" in |
| 7082 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 7083 |
< |
*) ac_try_echo=$ac_try;; |
| 7084 |
< |
esac |
| 7085 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 7086 |
< |
$as_echo "$ac_try_echo") >&5 |
| 7087 |
< |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
| 7088 |
< |
ac_status=$? |
| 7089 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
| 7090 |
< |
rm -f conftest.er1 |
| 7091 |
< |
cat conftest.err >&5 |
| 7092 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7093 |
< |
(exit $ac_status); } >/dev/null && { |
| 7094 |
< |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 7095 |
< |
test ! -s conftest.err |
| 7096 |
< |
}; then |
| 7192 |
> |
if ac_fn_c_try_cpp "$LINENO"; then : |
| 7193 |
|
# Broken: success on invalid input. |
| 7194 |
|
continue |
| 7195 |
|
else |
| 7100 |
– |
$as_echo "$as_me: failed program was:" >&5 |
| 7101 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 7102 |
– |
|
| 7196 |
|
# Passes both tests. |
| 7197 |
|
ac_preproc_ok=: |
| 7198 |
|
break |
| 7199 |
|
fi |
| 7107 |
– |
|
| 7200 |
|
rm -f conftest.err conftest.$ac_ext |
| 7201 |
|
|
| 7202 |
|
done |
| 7203 |
|
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
| 7204 |
|
rm -f conftest.err conftest.$ac_ext |
| 7205 |
< |
if $ac_preproc_ok; then |
| 7206 |
< |
: |
| 7205 |
> |
if $ac_preproc_ok; then : |
| 7206 |
> |
|
| 7207 |
|
else |
| 7208 |
< |
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
| 7208 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 7209 |
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 7210 |
< |
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check |
| 7211 |
< |
See \`config.log' for more details." >&5 |
| 7120 |
< |
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check |
| 7121 |
< |
See \`config.log' for more details." >&2;} |
| 7122 |
< |
{ (exit 1); exit 1; }; }; } |
| 7210 |
> |
as_fn_error "C preprocessor \"$CPP\" fails sanity check |
| 7211 |
> |
See \`config.log' for more details." "$LINENO" 5; } |
| 7212 |
|
fi |
| 7213 |
|
|
| 7214 |
|
ac_ext=c |
| 7218 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 7219 |
|
|
| 7220 |
|
|
| 7221 |
< |
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
| 7221 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
| 7222 |
|
$as_echo_n "checking for ANSI C header files... " >&6; } |
| 7223 |
< |
if test "${ac_cv_header_stdc+set}" = set; then |
| 7223 |
> |
if test "${ac_cv_header_stdc+set}" = set; then : |
| 7224 |
|
$as_echo_n "(cached) " >&6 |
| 7225 |
|
else |
| 7226 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 7138 |
< |
/* confdefs.h. */ |
| 7139 |
< |
_ACEOF |
| 7140 |
< |
cat confdefs.h >>conftest.$ac_ext |
| 7141 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
| 7226 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 7227 |
|
/* end confdefs.h. */ |
| 7228 |
|
#include <stdlib.h> |
| 7229 |
|
#include <stdarg.h> |
| 7238 |
|
return 0; |
| 7239 |
|
} |
| 7240 |
|
_ACEOF |
| 7241 |
< |
rm -f conftest.$ac_objext |
| 7157 |
< |
if { (ac_try="$ac_compile" |
| 7158 |
< |
case "(($ac_try" in |
| 7159 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 7160 |
< |
*) ac_try_echo=$ac_try;; |
| 7161 |
< |
esac |
| 7162 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 7163 |
< |
$as_echo "$ac_try_echo") >&5 |
| 7164 |
< |
(eval "$ac_compile") 2>conftest.er1 |
| 7165 |
< |
ac_status=$? |
| 7166 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
| 7167 |
< |
rm -f conftest.er1 |
| 7168 |
< |
cat conftest.err >&5 |
| 7169 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7170 |
< |
(exit $ac_status); } && { |
| 7171 |
< |
test -z "$ac_c_werror_flag" || |
| 7172 |
< |
test ! -s conftest.err |
| 7173 |
< |
} && test -s conftest.$ac_objext; then |
| 7241 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
| 7242 |
|
ac_cv_header_stdc=yes |
| 7243 |
|
else |
| 7244 |
< |
$as_echo "$as_me: failed program was:" >&5 |
| 7177 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 7178 |
< |
|
| 7179 |
< |
ac_cv_header_stdc=no |
| 7244 |
> |
ac_cv_header_stdc=no |
| 7245 |
|
fi |
| 7181 |
– |
|
| 7246 |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 7247 |
|
|
| 7248 |
|
if test $ac_cv_header_stdc = yes; then |
| 7249 |
|
# SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
| 7250 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 7187 |
< |
/* confdefs.h. */ |
| 7188 |
< |
_ACEOF |
| 7189 |
< |
cat confdefs.h >>conftest.$ac_ext |
| 7190 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
| 7250 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 7251 |
|
/* end confdefs.h. */ |
| 7252 |
|
#include <string.h> |
| 7253 |
|
|
| 7254 |
|
_ACEOF |
| 7255 |
|
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 7256 |
< |
$EGREP "memchr" >/dev/null 2>&1; then |
| 7257 |
< |
: |
| 7256 |
> |
$EGREP "memchr" >/dev/null 2>&1; then : |
| 7257 |
> |
|
| 7258 |
|
else |
| 7259 |
|
ac_cv_header_stdc=no |
| 7260 |
|
fi |
| 7264 |
|
|
| 7265 |
|
if test $ac_cv_header_stdc = yes; then |
| 7266 |
|
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
| 7267 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 7208 |
< |
/* confdefs.h. */ |
| 7209 |
< |
_ACEOF |
| 7210 |
< |
cat confdefs.h >>conftest.$ac_ext |
| 7211 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
| 7267 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 7268 |
|
/* end confdefs.h. */ |
| 7269 |
|
#include <stdlib.h> |
| 7270 |
|
|
| 7271 |
|
_ACEOF |
| 7272 |
|
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 7273 |
< |
$EGREP "free" >/dev/null 2>&1; then |
| 7274 |
< |
: |
| 7273 |
> |
$EGREP "free" >/dev/null 2>&1; then : |
| 7274 |
> |
|
| 7275 |
|
else |
| 7276 |
|
ac_cv_header_stdc=no |
| 7277 |
|
fi |
| 7281 |
|
|
| 7282 |
|
if test $ac_cv_header_stdc = yes; then |
| 7283 |
|
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
| 7284 |
< |
if test "$cross_compiling" = yes; then |
| 7284 |
> |
if test "$cross_compiling" = yes; then : |
| 7285 |
|
: |
| 7286 |
|
else |
| 7287 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 7232 |
< |
/* confdefs.h. */ |
| 7233 |
< |
_ACEOF |
| 7234 |
< |
cat confdefs.h >>conftest.$ac_ext |
| 7235 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
| 7287 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 7288 |
|
/* end confdefs.h. */ |
| 7289 |
|
#include <ctype.h> |
| 7290 |
|
#include <stdlib.h> |
| 7311 |
|
return 0; |
| 7312 |
|
} |
| 7313 |
|
_ACEOF |
| 7314 |
< |
rm -f conftest$ac_exeext |
| 7263 |
< |
if { (ac_try="$ac_link" |
| 7264 |
< |
case "(($ac_try" in |
| 7265 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 7266 |
< |
*) ac_try_echo=$ac_try;; |
| 7267 |
< |
esac |
| 7268 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 7269 |
< |
$as_echo "$ac_try_echo") >&5 |
| 7270 |
< |
(eval "$ac_link") 2>&5 |
| 7271 |
< |
ac_status=$? |
| 7272 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7273 |
< |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
| 7274 |
< |
{ (case "(($ac_try" in |
| 7275 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 7276 |
< |
*) ac_try_echo=$ac_try;; |
| 7277 |
< |
esac |
| 7278 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 7279 |
< |
$as_echo "$ac_try_echo") >&5 |
| 7280 |
< |
(eval "$ac_try") 2>&5 |
| 7281 |
< |
ac_status=$? |
| 7282 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7283 |
< |
(exit $ac_status); }; }; then |
| 7284 |
< |
: |
| 7285 |
< |
else |
| 7286 |
< |
$as_echo "$as_me: program exited with status $ac_status" >&5 |
| 7287 |
< |
$as_echo "$as_me: failed program was:" >&5 |
| 7288 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 7314 |
> |
if ac_fn_c_try_run "$LINENO"; then : |
| 7315 |
|
|
| 7316 |
< |
( exit $ac_status ) |
| 7317 |
< |
ac_cv_header_stdc=no |
| 7316 |
> |
else |
| 7317 |
> |
ac_cv_header_stdc=no |
| 7318 |
|
fi |
| 7319 |
< |
rm -rf conftest.dSYM |
| 7320 |
< |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 7319 |
> |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 7320 |
> |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 7321 |
|
fi |
| 7322 |
|
|
| 7297 |
– |
|
| 7323 |
|
fi |
| 7324 |
|
fi |
| 7325 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
| 7325 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 |
| 7326 |
|
$as_echo "$ac_cv_header_stdc" >&6; } |
| 7327 |
|
if test $ac_cv_header_stdc = yes; then |
| 7328 |
|
|
| 7329 |
< |
cat >>confdefs.h <<\_ACEOF |
| 7305 |
< |
#define STDC_HEADERS 1 |
| 7306 |
< |
_ACEOF |
| 7329 |
> |
$as_echo "#define STDC_HEADERS 1" >>confdefs.h |
| 7330 |
|
|
| 7331 |
|
fi |
| 7332 |
|
|
| 7333 |
|
# On IRIX 5.3, sys/types and inttypes.h are conflicting. |
| 7311 |
– |
|
| 7312 |
– |
|
| 7313 |
– |
|
| 7314 |
– |
|
| 7315 |
– |
|
| 7316 |
– |
|
| 7317 |
– |
|
| 7318 |
– |
|
| 7319 |
– |
|
| 7334 |
|
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
| 7335 |
|
inttypes.h stdint.h unistd.h |
| 7336 |
< |
do |
| 7337 |
< |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 7338 |
< |
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 7339 |
< |
$as_echo_n "checking for $ac_header... " >&6; } |
| 7340 |
< |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 7341 |
< |
$as_echo_n "(cached) " >&6 |
| 7328 |
< |
else |
| 7329 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 7330 |
< |
/* confdefs.h. */ |
| 7331 |
< |
_ACEOF |
| 7332 |
< |
cat confdefs.h >>conftest.$ac_ext |
| 7333 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
| 7334 |
< |
/* end confdefs.h. */ |
| 7335 |
< |
$ac_includes_default |
| 7336 |
< |
|
| 7337 |
< |
#include <$ac_header> |
| 7338 |
< |
_ACEOF |
| 7339 |
< |
rm -f conftest.$ac_objext |
| 7340 |
< |
if { (ac_try="$ac_compile" |
| 7341 |
< |
case "(($ac_try" in |
| 7342 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 7343 |
< |
*) ac_try_echo=$ac_try;; |
| 7344 |
< |
esac |
| 7345 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 7346 |
< |
$as_echo "$ac_try_echo") >&5 |
| 7347 |
< |
(eval "$ac_compile") 2>conftest.er1 |
| 7348 |
< |
ac_status=$? |
| 7349 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
| 7350 |
< |
rm -f conftest.er1 |
| 7351 |
< |
cat conftest.err >&5 |
| 7352 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7353 |
< |
(exit $ac_status); } && { |
| 7354 |
< |
test -z "$ac_c_werror_flag" || |
| 7355 |
< |
test ! -s conftest.err |
| 7356 |
< |
} && test -s conftest.$ac_objext; then |
| 7357 |
< |
eval "$as_ac_Header=yes" |
| 7358 |
< |
else |
| 7359 |
< |
$as_echo "$as_me: failed program was:" >&5 |
| 7360 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 7361 |
< |
|
| 7362 |
< |
eval "$as_ac_Header=no" |
| 7363 |
< |
fi |
| 7364 |
< |
|
| 7365 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 7366 |
< |
fi |
| 7367 |
< |
ac_res=`eval 'as_val=${'$as_ac_Header'} |
| 7368 |
< |
$as_echo "$as_val"'` |
| 7369 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 7370 |
< |
$as_echo "$ac_res" >&6; } |
| 7371 |
< |
as_val=`eval 'as_val=${'$as_ac_Header'} |
| 7372 |
< |
$as_echo "$as_val"'` |
| 7373 |
< |
if test "x$as_val" = x""yes; then |
| 7336 |
> |
do : |
| 7337 |
> |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 7338 |
> |
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
| 7339 |
> |
" |
| 7340 |
> |
eval as_val=\$$as_ac_Header |
| 7341 |
> |
if test "x$as_val" = x""yes; then : |
| 7342 |
|
cat >>confdefs.h <<_ACEOF |
| 7343 |
|
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 7344 |
|
_ACEOF |
| 7348 |
|
done |
| 7349 |
|
|
| 7350 |
|
|
| 7383 |
– |
|
| 7351 |
|
for ac_header in dlfcn.h |
| 7352 |
< |
do |
| 7353 |
< |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 7354 |
< |
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 7355 |
< |
$as_echo_n "checking for $ac_header... " >&6; } |
| 7389 |
< |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 7390 |
< |
$as_echo_n "(cached) " >&6 |
| 7391 |
< |
else |
| 7392 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 7393 |
< |
/* confdefs.h. */ |
| 7394 |
< |
_ACEOF |
| 7395 |
< |
cat confdefs.h >>conftest.$ac_ext |
| 7396 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
| 7397 |
< |
/* end confdefs.h. */ |
| 7398 |
< |
$ac_includes_default |
| 7399 |
< |
|
| 7400 |
< |
#include <$ac_header> |
| 7401 |
< |
_ACEOF |
| 7402 |
< |
rm -f conftest.$ac_objext |
| 7403 |
< |
if { (ac_try="$ac_compile" |
| 7404 |
< |
case "(($ac_try" in |
| 7405 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 7406 |
< |
*) ac_try_echo=$ac_try;; |
| 7407 |
< |
esac |
| 7408 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 7409 |
< |
$as_echo "$ac_try_echo") >&5 |
| 7410 |
< |
(eval "$ac_compile") 2>conftest.er1 |
| 7411 |
< |
ac_status=$? |
| 7412 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
| 7413 |
< |
rm -f conftest.er1 |
| 7414 |
< |
cat conftest.err >&5 |
| 7415 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7416 |
< |
(exit $ac_status); } && { |
| 7417 |
< |
test -z "$ac_c_werror_flag" || |
| 7418 |
< |
test ! -s conftest.err |
| 7419 |
< |
} && test -s conftest.$ac_objext; then |
| 7420 |
< |
eval "$as_ac_Header=yes" |
| 7421 |
< |
else |
| 7422 |
< |
$as_echo "$as_me: failed program was:" >&5 |
| 7423 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 7424 |
< |
|
| 7425 |
< |
eval "$as_ac_Header=no" |
| 7426 |
< |
fi |
| 7427 |
< |
|
| 7428 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 7429 |
< |
fi |
| 7430 |
< |
ac_res=`eval 'as_val=${'$as_ac_Header'} |
| 7431 |
< |
$as_echo "$as_val"'` |
| 7432 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 7433 |
< |
$as_echo "$ac_res" >&6; } |
| 7434 |
< |
as_val=`eval 'as_val=${'$as_ac_Header'} |
| 7435 |
< |
$as_echo "$as_val"'` |
| 7436 |
< |
if test "x$as_val" = x""yes; then |
| 7352 |
> |
do : |
| 7353 |
> |
ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default |
| 7354 |
> |
" |
| 7355 |
> |
if test "x$ac_cv_header_dlfcn_h" = x""yes; then : |
| 7356 |
|
cat >>confdefs.h <<_ACEOF |
| 7357 |
< |
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 7357 |
> |
#define HAVE_DLFCN_H 1 |
| 7358 |
|
_ACEOF |
| 7359 |
|
|
| 7360 |
|
fi |
| 7365 |
|
|
| 7366 |
|
# Set options |
| 7367 |
|
enable_dlopen=yes |
| 7368 |
< |
|
| 7369 |
< |
|
| 7370 |
< |
|
| 7452 |
< |
|
| 7453 |
< |
enable_win32_dll=no |
| 7454 |
< |
|
| 7455 |
< |
|
| 7456 |
< |
# Check whether --enable-shared was given. |
| 7457 |
< |
if test "${enable_shared+set}" = set; then |
| 7458 |
< |
enableval=$enable_shared; p=${PACKAGE-default} |
| 7368 |
> |
# Check whether --enable-static was given. |
| 7369 |
> |
if test "${enable_static+set}" = set; then : |
| 7370 |
> |
enableval=$enable_static; p=${PACKAGE-default} |
| 7371 |
|
case $enableval in |
| 7372 |
< |
yes) enable_shared=yes ;; |
| 7373 |
< |
no) enable_shared=no ;; |
| 7372 |
> |
yes) enable_static=yes ;; |
| 7373 |
> |
no) enable_static=no ;; |
| 7374 |
|
*) |
| 7375 |
< |
enable_shared=no |
| 7375 |
> |
enable_static=no |
| 7376 |
|
# Look at the argument we got. We use all the common list separators. |
| 7377 |
|
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
| 7378 |
|
for pkg in $enableval; do |
| 7379 |
|
IFS="$lt_save_ifs" |
| 7380 |
|
if test "X$pkg" = "X$p"; then |
| 7381 |
< |
enable_shared=yes |
| 7381 |
> |
enable_static=yes |
| 7382 |
|
fi |
| 7383 |
|
done |
| 7384 |
|
IFS="$lt_save_ifs" |
| 7385 |
|
;; |
| 7386 |
|
esac |
| 7387 |
|
else |
| 7388 |
< |
enable_shared=yes |
| 7388 |
> |
enable_static=no |
| 7389 |
|
fi |
| 7390 |
|
|
| 7391 |
|
|
| 7396 |
|
|
| 7397 |
|
|
| 7398 |
|
|
| 7399 |
< |
# Check whether --enable-static was given. |
| 7400 |
< |
if test "${enable_static+set}" = set; then |
| 7401 |
< |
enableval=$enable_static; p=${PACKAGE-default} |
| 7399 |
> |
|
| 7400 |
> |
|
| 7401 |
> |
enable_win32_dll=no |
| 7402 |
> |
|
| 7403 |
> |
|
| 7404 |
> |
# Check whether --enable-shared was given. |
| 7405 |
> |
if test "${enable_shared+set}" = set; then : |
| 7406 |
> |
enableval=$enable_shared; p=${PACKAGE-default} |
| 7407 |
|
case $enableval in |
| 7408 |
< |
yes) enable_static=yes ;; |
| 7409 |
< |
no) enable_static=no ;; |
| 7408 |
> |
yes) enable_shared=yes ;; |
| 7409 |
> |
no) enable_shared=no ;; |
| 7410 |
|
*) |
| 7411 |
< |
enable_static=no |
| 7411 |
> |
enable_shared=no |
| 7412 |
|
# Look at the argument we got. We use all the common list separators. |
| 7413 |
|
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
| 7414 |
|
for pkg in $enableval; do |
| 7415 |
|
IFS="$lt_save_ifs" |
| 7416 |
|
if test "X$pkg" = "X$p"; then |
| 7417 |
< |
enable_static=yes |
| 7417 |
> |
enable_shared=yes |
| 7418 |
|
fi |
| 7419 |
|
done |
| 7420 |
|
IFS="$lt_save_ifs" |
| 7421 |
|
;; |
| 7422 |
|
esac |
| 7423 |
|
else |
| 7424 |
< |
enable_static=yes |
| 7424 |
> |
enable_shared=yes |
| 7425 |
|
fi |
| 7426 |
|
|
| 7427 |
|
|
| 7433 |
|
|
| 7434 |
|
|
| 7435 |
|
|
| 7436 |
+ |
|
| 7437 |
|
# Check whether --with-pic was given. |
| 7438 |
< |
if test "${with_pic+set}" = set; then |
| 7438 |
> |
if test "${with_pic+set}" = set; then : |
| 7439 |
|
withval=$with_pic; pic_mode="$withval" |
| 7440 |
|
else |
| 7441 |
|
pic_mode=default |
| 7451 |
|
|
| 7452 |
|
|
| 7453 |
|
# Check whether --enable-fast-install was given. |
| 7454 |
< |
if test "${enable_fast_install+set}" = set; then |
| 7454 |
> |
if test "${enable_fast_install+set}" = set; then : |
| 7455 |
|
enableval=$enable_fast_install; p=${PACKAGE-default} |
| 7456 |
|
case $enableval in |
| 7457 |
|
yes) enable_fast_install=yes ;; |
| 7532 |
|
setopt NO_GLOB_SUBST |
| 7533 |
|
fi |
| 7534 |
|
|
| 7535 |
< |
{ $as_echo "$as_me:$LINENO: checking for objdir" >&5 |
| 7535 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 |
| 7536 |
|
$as_echo_n "checking for objdir... " >&6; } |
| 7537 |
< |
if test "${lt_cv_objdir+set}" = set; then |
| 7537 |
> |
if test "${lt_cv_objdir+set}" = set; then : |
| 7538 |
|
$as_echo_n "(cached) " >&6 |
| 7539 |
|
else |
| 7540 |
|
rm -f .libs 2>/dev/null |
| 7547 |
|
fi |
| 7548 |
|
rmdir .libs 2>/dev/null |
| 7549 |
|
fi |
| 7550 |
< |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5 |
| 7550 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 |
| 7551 |
|
$as_echo "$lt_cv_objdir" >&6; } |
| 7552 |
|
objdir=$lt_cv_objdir |
| 7553 |
|
|
| 7640 |
|
case $deplibs_check_method in |
| 7641 |
|
file_magic*) |
| 7642 |
|
if test "$file_magic_cmd" = '$MAGIC_CMD'; then |
| 7643 |
< |
{ $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5 |
| 7643 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 |
| 7644 |
|
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } |
| 7645 |
< |
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then |
| 7645 |
> |
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then : |
| 7646 |
|
$as_echo_n "(cached) " >&6 |
| 7647 |
|
else |
| 7648 |
|
case $MAGIC_CMD in |
| 7693 |
|
|
| 7694 |
|
MAGIC_CMD="$lt_cv_path_MAGIC_CMD" |
| 7695 |
|
if test -n "$MAGIC_CMD"; then |
| 7696 |
< |
{ $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 |
| 7696 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 |
| 7697 |
|
$as_echo "$MAGIC_CMD" >&6; } |
| 7698 |
|
else |
| 7699 |
< |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
| 7699 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 7700 |
|
$as_echo "no" >&6; } |
| 7701 |
|
fi |
| 7702 |
|
|
| 7706 |
|
|
| 7707 |
|
if test -z "$lt_cv_path_MAGIC_CMD"; then |
| 7708 |
|
if test -n "$ac_tool_prefix"; then |
| 7709 |
< |
{ $as_echo "$as_me:$LINENO: checking for file" >&5 |
| 7709 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 |
| 7710 |
|
$as_echo_n "checking for file... " >&6; } |
| 7711 |
< |
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then |
| 7711 |
> |
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then : |
| 7712 |
|
$as_echo_n "(cached) " >&6 |
| 7713 |
|
else |
| 7714 |
|
case $MAGIC_CMD in |
| 7759 |
|
|
| 7760 |
|
MAGIC_CMD="$lt_cv_path_MAGIC_CMD" |
| 7761 |
|
if test -n "$MAGIC_CMD"; then |
| 7762 |
< |
{ $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 |
| 7762 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 |
| 7763 |
|
$as_echo "$MAGIC_CMD" >&6; } |
| 7764 |
|
else |
| 7765 |
< |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
| 7765 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 7766 |
|
$as_echo "no" >&6; } |
| 7767 |
|
fi |
| 7768 |
|
|
| 7839 |
|
if test "$GCC" = yes; then |
| 7840 |
|
lt_prog_compiler_no_builtin_flag=' -fno-builtin' |
| 7841 |
|
|
| 7842 |
< |
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 |
| 7842 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 |
| 7843 |
|
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } |
| 7844 |
< |
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then |
| 7844 |
> |
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then : |
| 7845 |
|
$as_echo_n "(cached) " >&6 |
| 7846 |
|
else |
| 7847 |
|
lt_cv_prog_compiler_rtti_exceptions=no |
| 7857 |
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 7858 |
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 7859 |
|
-e 's:$: $lt_compiler_flag:'` |
| 7860 |
< |
(eval echo "\"\$as_me:7942: $lt_compile\"" >&5) |
| 7860 |
> |
(eval echo "\"\$as_me:7860: $lt_compile\"" >&5) |
| 7861 |
|
(eval "$lt_compile" 2>conftest.err) |
| 7862 |
|
ac_status=$? |
| 7863 |
|
cat conftest.err >&5 |
| 7864 |
< |
echo "$as_me:7946: \$? = $ac_status" >&5 |
| 7864 |
> |
echo "$as_me:7864: \$? = $ac_status" >&5 |
| 7865 |
|
if (exit $ac_status) && test -s "$ac_outfile"; then |
| 7866 |
|
# The compiler can only warn and ignore the option if not recognized |
| 7867 |
|
# So say no if there are warnings other than the usual output. |
| 7874 |
|
$RM conftest* |
| 7875 |
|
|
| 7876 |
|
fi |
| 7877 |
< |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 |
| 7877 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 |
| 7878 |
|
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } |
| 7879 |
|
|
| 7880 |
|
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then |
| 7894 |
|
lt_prog_compiler_pic= |
| 7895 |
|
lt_prog_compiler_static= |
| 7896 |
|
|
| 7897 |
< |
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 |
| 7897 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 |
| 7898 |
|
$as_echo_n "checking for $compiler option to produce PIC... " >&6; } |
| 7899 |
|
|
| 7900 |
|
if test "$GCC" = yes; then |
| 8166 |
|
lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" |
| 8167 |
|
;; |
| 8168 |
|
esac |
| 8169 |
< |
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5 |
| 8169 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5 |
| 8170 |
|
$as_echo "$lt_prog_compiler_pic" >&6; } |
| 8171 |
|
|
| 8172 |
|
|
| 8178 |
|
# Check to make sure the PIC flag actually works. |
| 8179 |
|
# |
| 8180 |
|
if test -n "$lt_prog_compiler_pic"; then |
| 8181 |
< |
{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 |
| 8181 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 |
| 8182 |
|
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } |
| 8183 |
< |
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then |
| 8183 |
> |
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then : |
| 8184 |
|
$as_echo_n "(cached) " >&6 |
| 8185 |
|
else |
| 8186 |
|
lt_cv_prog_compiler_pic_works=no |
| 8196 |
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 8197 |
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 8198 |
|
-e 's:$: $lt_compiler_flag:'` |
| 8199 |
< |
(eval echo "\"\$as_me:8281: $lt_compile\"" >&5) |
| 8199 |
> |
(eval echo "\"\$as_me:8199: $lt_compile\"" >&5) |
| 8200 |
|
(eval "$lt_compile" 2>conftest.err) |
| 8201 |
|
ac_status=$? |
| 8202 |
|
cat conftest.err >&5 |
| 8203 |
< |
echo "$as_me:8285: \$? = $ac_status" >&5 |
| 8203 |
> |
echo "$as_me:8203: \$? = $ac_status" >&5 |
| 8204 |
|
if (exit $ac_status) && test -s "$ac_outfile"; then |
| 8205 |
|
# The compiler can only warn and ignore the option if not recognized |
| 8206 |
|
# So say no if there are warnings other than the usual output. |
| 8213 |
|
$RM conftest* |
| 8214 |
|
|
| 8215 |
|
fi |
| 8216 |
< |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5 |
| 8216 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 |
| 8217 |
|
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } |
| 8218 |
|
|
| 8219 |
|
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then |
| 8237 |
|
# Check to make sure the static flag actually works. |
| 8238 |
|
# |
| 8239 |
|
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" |
| 8240 |
< |
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 |
| 8240 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 |
| 8241 |
|
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } |
| 8242 |
< |
if test "${lt_cv_prog_compiler_static_works+set}" = set; then |
| 8242 |
> |
if test "${lt_cv_prog_compiler_static_works+set}" = set; then : |
| 8243 |
|
$as_echo_n "(cached) " >&6 |
| 8244 |
|
else |
| 8245 |
|
lt_cv_prog_compiler_static_works=no |
| 8265 |
|
LDFLAGS="$save_LDFLAGS" |
| 8266 |
|
|
| 8267 |
|
fi |
| 8268 |
< |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5 |
| 8268 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 |
| 8269 |
|
$as_echo "$lt_cv_prog_compiler_static_works" >&6; } |
| 8270 |
|
|
| 8271 |
|
if test x"$lt_cv_prog_compiler_static_works" = xyes; then |
| 8280 |
|
|
| 8281 |
|
|
| 8282 |
|
|
| 8283 |
< |
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 |
| 8283 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 |
| 8284 |
|
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } |
| 8285 |
< |
if test "${lt_cv_prog_compiler_c_o+set}" = set; then |
| 8285 |
> |
if test "${lt_cv_prog_compiler_c_o+set}" = set; then : |
| 8286 |
|
$as_echo_n "(cached) " >&6 |
| 8287 |
|
else |
| 8288 |
|
lt_cv_prog_compiler_c_o=no |
| 8301 |
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 8302 |
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 8303 |
|
-e 's:$: $lt_compiler_flag:'` |
| 8304 |
< |
(eval echo "\"\$as_me:8386: $lt_compile\"" >&5) |
| 8304 |
> |
(eval echo "\"\$as_me:8304: $lt_compile\"" >&5) |
| 8305 |
|
(eval "$lt_compile" 2>out/conftest.err) |
| 8306 |
|
ac_status=$? |
| 8307 |
|
cat out/conftest.err >&5 |
| 8308 |
< |
echo "$as_me:8390: \$? = $ac_status" >&5 |
| 8308 |
> |
echo "$as_me:8308: \$? = $ac_status" >&5 |
| 8309 |
|
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
| 8310 |
|
then |
| 8311 |
|
# The compiler can only warn and ignore the option if not recognized |
| 8327 |
|
$RM conftest* |
| 8328 |
|
|
| 8329 |
|
fi |
| 8330 |
< |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5 |
| 8330 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 |
| 8331 |
|
$as_echo "$lt_cv_prog_compiler_c_o" >&6; } |
| 8332 |
|
|
| 8333 |
|
|
| 8335 |
|
|
| 8336 |
|
|
| 8337 |
|
|
| 8338 |
< |
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 |
| 8338 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 |
| 8339 |
|
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } |
| 8340 |
< |
if test "${lt_cv_prog_compiler_c_o+set}" = set; then |
| 8340 |
> |
if test "${lt_cv_prog_compiler_c_o+set}" = set; then : |
| 8341 |
|
$as_echo_n "(cached) " >&6 |
| 8342 |
|
else |
| 8343 |
|
lt_cv_prog_compiler_c_o=no |
| 8356 |
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 8357 |
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 8358 |
|
-e 's:$: $lt_compiler_flag:'` |
| 8359 |
< |
(eval echo "\"\$as_me:8441: $lt_compile\"" >&5) |
| 8359 |
> |
(eval echo "\"\$as_me:8359: $lt_compile\"" >&5) |
| 8360 |
|
(eval "$lt_compile" 2>out/conftest.err) |
| 8361 |
|
ac_status=$? |
| 8362 |
|
cat out/conftest.err >&5 |
| 8363 |
< |
echo "$as_me:8445: \$? = $ac_status" >&5 |
| 8363 |
> |
echo "$as_me:8363: \$? = $ac_status" >&5 |
| 8364 |
|
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
| 8365 |
|
then |
| 8366 |
|
# The compiler can only warn and ignore the option if not recognized |
| 8382 |
|
$RM conftest* |
| 8383 |
|
|
| 8384 |
|
fi |
| 8385 |
< |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5 |
| 8385 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 |
| 8386 |
|
$as_echo "$lt_cv_prog_compiler_c_o" >&6; } |
| 8387 |
|
|
| 8388 |
|
|
| 8391 |
|
hard_links="nottested" |
| 8392 |
|
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then |
| 8393 |
|
# do not overwrite the value of need_locks provided by the user |
| 8394 |
< |
{ $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 |
| 8394 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 |
| 8395 |
|
$as_echo_n "checking if we can lock with hard links... " >&6; } |
| 8396 |
|
hard_links=yes |
| 8397 |
|
$RM conftest* |
| 8399 |
|
touch conftest.a |
| 8400 |
|
ln conftest.a conftest.b 2>&5 || hard_links=no |
| 8401 |
|
ln conftest.a conftest.b 2>/dev/null && hard_links=no |
| 8402 |
< |
{ $as_echo "$as_me:$LINENO: result: $hard_links" >&5 |
| 8402 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 |
| 8403 |
|
$as_echo "$hard_links" >&6; } |
| 8404 |
|
if test "$hard_links" = no; then |
| 8405 |
< |
{ $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 |
| 8405 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 |
| 8406 |
|
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} |
| 8407 |
|
need_locks=warn |
| 8408 |
|
fi |
| 8415 |
|
|
| 8416 |
|
|
| 8417 |
|
|
| 8418 |
< |
{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 |
| 8418 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 |
| 8419 |
|
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } |
| 8420 |
|
|
| 8421 |
|
runpath_var= |
| 8858 |
|
allow_undefined_flag='-berok' |
| 8859 |
|
# Determine the default libpath from the value encoded in an |
| 8860 |
|
# empty executable. |
| 8861 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 8944 |
< |
/* confdefs.h. */ |
| 8945 |
< |
_ACEOF |
| 8946 |
< |
cat confdefs.h >>conftest.$ac_ext |
| 8947 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
| 8861 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 8862 |
|
/* end confdefs.h. */ |
| 8863 |
|
|
| 8864 |
|
int |
| 8869 |
|
return 0; |
| 8870 |
|
} |
| 8871 |
|
_ACEOF |
| 8872 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 8959 |
< |
if { (ac_try="$ac_link" |
| 8960 |
< |
case "(($ac_try" in |
| 8961 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 8962 |
< |
*) ac_try_echo=$ac_try;; |
| 8963 |
< |
esac |
| 8964 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 8965 |
< |
$as_echo "$ac_try_echo") >&5 |
| 8966 |
< |
(eval "$ac_link") 2>conftest.er1 |
| 8967 |
< |
ac_status=$? |
| 8968 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
| 8969 |
< |
rm -f conftest.er1 |
| 8970 |
< |
cat conftest.err >&5 |
| 8971 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8972 |
< |
(exit $ac_status); } && { |
| 8973 |
< |
test -z "$ac_c_werror_flag" || |
| 8974 |
< |
test ! -s conftest.err |
| 8975 |
< |
} && test -s conftest$ac_exeext && { |
| 8976 |
< |
test "$cross_compiling" = yes || |
| 8977 |
< |
$as_test_x conftest$ac_exeext |
| 8978 |
< |
}; then |
| 8872 |
> |
if ac_fn_c_try_link "$LINENO"; then : |
| 8873 |
|
|
| 8874 |
|
lt_aix_libpath_sed=' |
| 8875 |
|
/Import File Strings/,/^$/ { |
| 8883 |
|
if test -z "$aix_libpath"; then |
| 8884 |
|
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
| 8885 |
|
fi |
| 8992 |
– |
else |
| 8993 |
– |
$as_echo "$as_me: failed program was:" >&5 |
| 8994 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 8995 |
– |
|
| 8996 |
– |
|
| 8886 |
|
fi |
| 8887 |
< |
|
| 8888 |
< |
rm -rf conftest.dSYM |
| 9000 |
< |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 9001 |
< |
conftest$ac_exeext conftest.$ac_ext |
| 8887 |
> |
rm -f core conftest.err conftest.$ac_objext \ |
| 8888 |
> |
conftest$ac_exeext conftest.$ac_ext |
| 8889 |
|
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
| 8890 |
|
|
| 8891 |
|
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" |
| 8898 |
|
else |
| 8899 |
|
# Determine the default libpath from the value encoded in an |
| 8900 |
|
# empty executable. |
| 8901 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 9015 |
< |
/* confdefs.h. */ |
| 9016 |
< |
_ACEOF |
| 9017 |
< |
cat confdefs.h >>conftest.$ac_ext |
| 9018 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
| 8901 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 8902 |
|
/* end confdefs.h. */ |
| 8903 |
|
|
| 8904 |
|
int |
| 8909 |
|
return 0; |
| 8910 |
|
} |
| 8911 |
|
_ACEOF |
| 8912 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 9030 |
< |
if { (ac_try="$ac_link" |
| 9031 |
< |
case "(($ac_try" in |
| 9032 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 9033 |
< |
*) ac_try_echo=$ac_try;; |
| 9034 |
< |
esac |
| 9035 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 9036 |
< |
$as_echo "$ac_try_echo") >&5 |
| 9037 |
< |
(eval "$ac_link") 2>conftest.er1 |
| 9038 |
< |
ac_status=$? |
| 9039 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
| 9040 |
< |
rm -f conftest.er1 |
| 9041 |
< |
cat conftest.err >&5 |
| 9042 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9043 |
< |
(exit $ac_status); } && { |
| 9044 |
< |
test -z "$ac_c_werror_flag" || |
| 9045 |
< |
test ! -s conftest.err |
| 9046 |
< |
} && test -s conftest$ac_exeext && { |
| 9047 |
< |
test "$cross_compiling" = yes || |
| 9048 |
< |
$as_test_x conftest$ac_exeext |
| 9049 |
< |
}; then |
| 8912 |
> |
if ac_fn_c_try_link "$LINENO"; then : |
| 8913 |
|
|
| 8914 |
|
lt_aix_libpath_sed=' |
| 8915 |
|
/Import File Strings/,/^$/ { |
| 8923 |
|
if test -z "$aix_libpath"; then |
| 8924 |
|
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
| 8925 |
|
fi |
| 9063 |
– |
else |
| 9064 |
– |
$as_echo "$as_me: failed program was:" >&5 |
| 9065 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 9066 |
– |
|
| 9067 |
– |
|
| 8926 |
|
fi |
| 8927 |
< |
|
| 8928 |
< |
rm -rf conftest.dSYM |
| 9071 |
< |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 9072 |
< |
conftest$ac_exeext conftest.$ac_ext |
| 8927 |
> |
rm -f core conftest.err conftest.$ac_objext \ |
| 8928 |
> |
conftest$ac_exeext conftest.$ac_ext |
| 8929 |
|
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
| 8930 |
|
|
| 8931 |
|
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" |
| 9137 |
|
# implicitly export all symbols. |
| 9138 |
|
save_LDFLAGS="$LDFLAGS" |
| 9139 |
|
LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" |
| 9140 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 9140 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 9141 |
> |
/* end confdefs.h. */ |
| 9142 |
|
int foo(void) {} |
| 9143 |
|
_ACEOF |
| 9144 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 9288 |
< |
if { (ac_try="$ac_link" |
| 9289 |
< |
case "(($ac_try" in |
| 9290 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 9291 |
< |
*) ac_try_echo=$ac_try;; |
| 9292 |
< |
esac |
| 9293 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 9294 |
< |
$as_echo "$ac_try_echo") >&5 |
| 9295 |
< |
(eval "$ac_link") 2>conftest.er1 |
| 9296 |
< |
ac_status=$? |
| 9297 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
| 9298 |
< |
rm -f conftest.er1 |
| 9299 |
< |
cat conftest.err >&5 |
| 9300 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9301 |
< |
(exit $ac_status); } && { |
| 9302 |
< |
test -z "$ac_c_werror_flag" || |
| 9303 |
< |
test ! -s conftest.err |
| 9304 |
< |
} && test -s conftest$ac_exeext && { |
| 9305 |
< |
test "$cross_compiling" = yes || |
| 9306 |
< |
$as_test_x conftest$ac_exeext |
| 9307 |
< |
}; then |
| 9144 |
> |
if ac_fn_c_try_link "$LINENO"; then : |
| 9145 |
|
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib' |
| 9146 |
|
|
| 9310 |
– |
else |
| 9311 |
– |
$as_echo "$as_me: failed program was:" >&5 |
| 9312 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 9313 |
– |
|
| 9314 |
– |
|
| 9147 |
|
fi |
| 9148 |
< |
|
| 9149 |
< |
rm -rf conftest.dSYM |
| 9318 |
< |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 9319 |
< |
conftest$ac_exeext conftest.$ac_ext |
| 9148 |
> |
rm -f core conftest.err conftest.$ac_objext \ |
| 9149 |
> |
conftest$ac_exeext conftest.$ac_ext |
| 9150 |
|
LDFLAGS="$save_LDFLAGS" |
| 9151 |
|
else |
| 9152 |
|
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' |
| 9402 |
|
fi |
| 9403 |
|
fi |
| 9404 |
|
|
| 9405 |
< |
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5 |
| 9405 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 |
| 9406 |
|
$as_echo "$ld_shlibs" >&6; } |
| 9407 |
|
test "$ld_shlibs" = no && can_build_shared=no |
| 9408 |
|
|
| 9439 |
|
# Test whether the compiler implicitly links with -lc since on some |
| 9440 |
|
# systems, -lgcc has to come before -lc. If gcc already passes -lc |
| 9441 |
|
# to ld, don't add -lc before -lgcc. |
| 9442 |
< |
{ $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 |
| 9442 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 |
| 9443 |
|
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } |
| 9444 |
|
$RM conftest* |
| 9445 |
|
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
| 9446 |
|
|
| 9447 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 9447 |
> |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
| 9448 |
|
(eval $ac_compile) 2>&5 |
| 9449 |
|
ac_status=$? |
| 9450 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9451 |
< |
(exit $ac_status); } 2>conftest.err; then |
| 9450 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 9451 |
> |
test $ac_status = 0; } 2>conftest.err; then |
| 9452 |
|
soname=conftest |
| 9453 |
|
lib=conftest |
| 9454 |
|
libobjs=conftest.$ac_objext |
| 9462 |
|
libname=conftest |
| 9463 |
|
lt_save_allow_undefined_flag=$allow_undefined_flag |
| 9464 |
|
allow_undefined_flag= |
| 9465 |
< |
if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5 |
| 9465 |
> |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 |
| 9466 |
|
(eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 |
| 9467 |
|
ac_status=$? |
| 9468 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9469 |
< |
(exit $ac_status); } |
| 9468 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 9469 |
> |
test $ac_status = 0; } |
| 9470 |
|
then |
| 9471 |
|
archive_cmds_need_lc=no |
| 9472 |
|
else |
| 9477 |
|
cat conftest.err 1>&5 |
| 9478 |
|
fi |
| 9479 |
|
$RM conftest* |
| 9480 |
< |
{ $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5 |
| 9480 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5 |
| 9481 |
|
$as_echo "$archive_cmds_need_lc" >&6; } |
| 9482 |
|
;; |
| 9483 |
|
esac |
| 9641 |
|
|
| 9642 |
|
|
| 9643 |
|
|
| 9644 |
< |
{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 |
| 9644 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 |
| 9645 |
|
$as_echo_n "checking dynamic linker characteristics... " >&6; } |
| 9646 |
|
|
| 9647 |
|
if test "$GCC" = yes; then |
| 10063 |
|
save_libdir=$libdir |
| 10064 |
|
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ |
| 10065 |
|
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" |
| 10066 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 10237 |
< |
/* confdefs.h. */ |
| 10238 |
< |
_ACEOF |
| 10239 |
< |
cat confdefs.h >>conftest.$ac_ext |
| 10240 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
| 10066 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 10067 |
|
/* end confdefs.h. */ |
| 10068 |
|
|
| 10069 |
|
int |
| 10074 |
|
return 0; |
| 10075 |
|
} |
| 10076 |
|
_ACEOF |
| 10077 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 10078 |
< |
if { (ac_try="$ac_link" |
| 10253 |
< |
case "(($ac_try" in |
| 10254 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 10255 |
< |
*) ac_try_echo=$ac_try;; |
| 10256 |
< |
esac |
| 10257 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 10258 |
< |
$as_echo "$ac_try_echo") >&5 |
| 10259 |
< |
(eval "$ac_link") 2>conftest.er1 |
| 10260 |
< |
ac_status=$? |
| 10261 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
| 10262 |
< |
rm -f conftest.er1 |
| 10263 |
< |
cat conftest.err >&5 |
| 10264 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10265 |
< |
(exit $ac_status); } && { |
| 10266 |
< |
test -z "$ac_c_werror_flag" || |
| 10267 |
< |
test ! -s conftest.err |
| 10268 |
< |
} && test -s conftest$ac_exeext && { |
| 10269 |
< |
test "$cross_compiling" = yes || |
| 10270 |
< |
$as_test_x conftest$ac_exeext |
| 10271 |
< |
}; then |
| 10272 |
< |
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then |
| 10077 |
> |
if ac_fn_c_try_link "$LINENO"; then : |
| 10078 |
> |
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : |
| 10079 |
|
shlibpath_overrides_runpath=yes |
| 10080 |
|
fi |
| 10275 |
– |
|
| 10276 |
– |
else |
| 10277 |
– |
$as_echo "$as_me: failed program was:" >&5 |
| 10278 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 10279 |
– |
|
| 10280 |
– |
|
| 10081 |
|
fi |
| 10082 |
< |
|
| 10083 |
< |
rm -rf conftest.dSYM |
| 10284 |
< |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 10285 |
< |
conftest$ac_exeext conftest.$ac_ext |
| 10082 |
> |
rm -f core conftest.err conftest.$ac_objext \ |
| 10083 |
> |
conftest$ac_exeext conftest.$ac_ext |
| 10084 |
|
LDFLAGS=$save_LDFLAGS |
| 10085 |
|
libdir=$save_libdir |
| 10086 |
|
|
| 10093 |
|
libsuff= |
| 10094 |
|
case "$host_cpu" in |
| 10095 |
|
x86_64*|s390x*|powerpc64*) |
| 10096 |
< |
echo '#line 10298 "configure"' > conftest.$ac_ext |
| 10097 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 10096 |
> |
echo '#line 10096 "configure"' > conftest.$ac_ext |
| 10097 |
> |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
| 10098 |
|
(eval $ac_compile) 2>&5 |
| 10099 |
|
ac_status=$? |
| 10100 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10101 |
< |
(exit $ac_status); }; then |
| 10100 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 10101 |
> |
test $ac_status = 0; }; then |
| 10102 |
|
case `/usr/bin/file conftest.$ac_objext` in |
| 10103 |
|
*64-bit*) |
| 10104 |
|
libsuff=64 |
| 10314 |
|
dynamic_linker=no |
| 10315 |
|
;; |
| 10316 |
|
esac |
| 10317 |
< |
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5 |
| 10317 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 |
| 10318 |
|
$as_echo "$dynamic_linker" >&6; } |
| 10319 |
|
test "$dynamic_linker" = no && can_build_shared=no |
| 10320 |
|
|
| 10416 |
|
|
| 10417 |
|
|
| 10418 |
|
|
| 10419 |
< |
{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 |
| 10419 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 |
| 10420 |
|
$as_echo_n "checking how to hardcode library paths into programs... " >&6; } |
| 10421 |
|
hardcode_action= |
| 10422 |
|
if test -n "$hardcode_libdir_flag_spec" || |
| 10441 |
|
# directories. |
| 10442 |
|
hardcode_action=unsupported |
| 10443 |
|
fi |
| 10444 |
< |
{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5 |
| 10444 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 |
| 10445 |
|
$as_echo "$hardcode_action" >&6; } |
| 10446 |
|
|
| 10447 |
|
if test "$hardcode_action" = relink || |
| 10486 |
|
|
| 10487 |
|
darwin*) |
| 10488 |
|
# if libdl is installed we need to link against it |
| 10489 |
< |
{ $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 |
| 10489 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 |
| 10490 |
|
$as_echo_n "checking for dlopen in -ldl... " >&6; } |
| 10491 |
< |
if test "${ac_cv_lib_dl_dlopen+set}" = set; then |
| 10491 |
> |
if test "${ac_cv_lib_dl_dlopen+set}" = set; then : |
| 10492 |
|
$as_echo_n "(cached) " >&6 |
| 10493 |
|
else |
| 10494 |
|
ac_check_lib_save_LIBS=$LIBS |
| 10495 |
|
LIBS="-ldl $LIBS" |
| 10496 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 10699 |
< |
/* confdefs.h. */ |
| 10700 |
< |
_ACEOF |
| 10701 |
< |
cat confdefs.h >>conftest.$ac_ext |
| 10702 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
| 10496 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 10497 |
|
/* end confdefs.h. */ |
| 10498 |
|
|
| 10499 |
|
/* Override any GCC internal prototype to avoid an error. |
| 10511 |
|
return 0; |
| 10512 |
|
} |
| 10513 |
|
_ACEOF |
| 10514 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 10721 |
< |
if { (ac_try="$ac_link" |
| 10722 |
< |
case "(($ac_try" in |
| 10723 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 10724 |
< |
*) ac_try_echo=$ac_try;; |
| 10725 |
< |
esac |
| 10726 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 10727 |
< |
$as_echo "$ac_try_echo") >&5 |
| 10728 |
< |
(eval "$ac_link") 2>conftest.er1 |
| 10729 |
< |
ac_status=$? |
| 10730 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
| 10731 |
< |
rm -f conftest.er1 |
| 10732 |
< |
cat conftest.err >&5 |
| 10733 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10734 |
< |
(exit $ac_status); } && { |
| 10735 |
< |
test -z "$ac_c_werror_flag" || |
| 10736 |
< |
test ! -s conftest.err |
| 10737 |
< |
} && test -s conftest$ac_exeext && { |
| 10738 |
< |
test "$cross_compiling" = yes || |
| 10739 |
< |
$as_test_x conftest$ac_exeext |
| 10740 |
< |
}; then |
| 10514 |
> |
if ac_fn_c_try_link "$LINENO"; then : |
| 10515 |
|
ac_cv_lib_dl_dlopen=yes |
| 10516 |
|
else |
| 10517 |
< |
$as_echo "$as_me: failed program was:" >&5 |
| 10744 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 10745 |
< |
|
| 10746 |
< |
ac_cv_lib_dl_dlopen=no |
| 10517 |
> |
ac_cv_lib_dl_dlopen=no |
| 10518 |
|
fi |
| 10519 |
< |
|
| 10520 |
< |
rm -rf conftest.dSYM |
| 10750 |
< |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 10751 |
< |
conftest$ac_exeext conftest.$ac_ext |
| 10519 |
> |
rm -f core conftest.err conftest.$ac_objext \ |
| 10520 |
> |
conftest$ac_exeext conftest.$ac_ext |
| 10521 |
|
LIBS=$ac_check_lib_save_LIBS |
| 10522 |
|
fi |
| 10523 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
| 10523 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 |
| 10524 |
|
$as_echo "$ac_cv_lib_dl_dlopen" >&6; } |
| 10525 |
< |
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then |
| 10525 |
> |
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : |
| 10526 |
|
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" |
| 10527 |
|
else |
| 10528 |
|
|
| 10535 |
|
;; |
| 10536 |
|
|
| 10537 |
|
*) |
| 10538 |
< |
{ $as_echo "$as_me:$LINENO: checking for shl_load" >&5 |
| 10539 |
< |
$as_echo_n "checking for shl_load... " >&6; } |
| 10771 |
< |
if test "${ac_cv_func_shl_load+set}" = set; then |
| 10772 |
< |
$as_echo_n "(cached) " >&6 |
| 10773 |
< |
else |
| 10774 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 10775 |
< |
/* confdefs.h. */ |
| 10776 |
< |
_ACEOF |
| 10777 |
< |
cat confdefs.h >>conftest.$ac_ext |
| 10778 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
| 10779 |
< |
/* end confdefs.h. */ |
| 10780 |
< |
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load. |
| 10781 |
< |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
| 10782 |
< |
#define shl_load innocuous_shl_load |
| 10783 |
< |
|
| 10784 |
< |
/* System header to define __stub macros and hopefully few prototypes, |
| 10785 |
< |
which can conflict with char shl_load (); below. |
| 10786 |
< |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 10787 |
< |
<limits.h> exists even on freestanding compilers. */ |
| 10788 |
< |
|
| 10789 |
< |
#ifdef __STDC__ |
| 10790 |
< |
# include <limits.h> |
| 10791 |
< |
#else |
| 10792 |
< |
# include <assert.h> |
| 10793 |
< |
#endif |
| 10794 |
< |
|
| 10795 |
< |
#undef shl_load |
| 10796 |
< |
|
| 10797 |
< |
/* Override any GCC internal prototype to avoid an error. |
| 10798 |
< |
Use char because int might match the return type of a GCC |
| 10799 |
< |
builtin and then its argument prototype would still apply. */ |
| 10800 |
< |
#ifdef __cplusplus |
| 10801 |
< |
extern "C" |
| 10802 |
< |
#endif |
| 10803 |
< |
char shl_load (); |
| 10804 |
< |
/* The GNU C library defines this for functions which it implements |
| 10805 |
< |
to always fail with ENOSYS. Some functions are actually named |
| 10806 |
< |
something starting with __ and the normal name is an alias. */ |
| 10807 |
< |
#if defined __stub_shl_load || defined __stub___shl_load |
| 10808 |
< |
choke me |
| 10809 |
< |
#endif |
| 10810 |
< |
|
| 10811 |
< |
int |
| 10812 |
< |
main () |
| 10813 |
< |
{ |
| 10814 |
< |
return shl_load (); |
| 10815 |
< |
; |
| 10816 |
< |
return 0; |
| 10817 |
< |
} |
| 10818 |
< |
_ACEOF |
| 10819 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 10820 |
< |
if { (ac_try="$ac_link" |
| 10821 |
< |
case "(($ac_try" in |
| 10822 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 10823 |
< |
*) ac_try_echo=$ac_try;; |
| 10824 |
< |
esac |
| 10825 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 10826 |
< |
$as_echo "$ac_try_echo") >&5 |
| 10827 |
< |
(eval "$ac_link") 2>conftest.er1 |
| 10828 |
< |
ac_status=$? |
| 10829 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
| 10830 |
< |
rm -f conftest.er1 |
| 10831 |
< |
cat conftest.err >&5 |
| 10832 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10833 |
< |
(exit $ac_status); } && { |
| 10834 |
< |
test -z "$ac_c_werror_flag" || |
| 10835 |
< |
test ! -s conftest.err |
| 10836 |
< |
} && test -s conftest$ac_exeext && { |
| 10837 |
< |
test "$cross_compiling" = yes || |
| 10838 |
< |
$as_test_x conftest$ac_exeext |
| 10839 |
< |
}; then |
| 10840 |
< |
ac_cv_func_shl_load=yes |
| 10841 |
< |
else |
| 10842 |
< |
$as_echo "$as_me: failed program was:" >&5 |
| 10843 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 10844 |
< |
|
| 10845 |
< |
ac_cv_func_shl_load=no |
| 10846 |
< |
fi |
| 10847 |
< |
|
| 10848 |
< |
rm -rf conftest.dSYM |
| 10849 |
< |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 10850 |
< |
conftest$ac_exeext conftest.$ac_ext |
| 10851 |
< |
fi |
| 10852 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 |
| 10853 |
< |
$as_echo "$ac_cv_func_shl_load" >&6; } |
| 10854 |
< |
if test "x$ac_cv_func_shl_load" = x""yes; then |
| 10538 |
> |
ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" |
| 10539 |
> |
if test "x$ac_cv_func_shl_load" = x""yes; then : |
| 10540 |
|
lt_cv_dlopen="shl_load" |
| 10541 |
|
else |
| 10542 |
< |
{ $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 |
| 10542 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 |
| 10543 |
|
$as_echo_n "checking for shl_load in -ldld... " >&6; } |
| 10544 |
< |
if test "${ac_cv_lib_dld_shl_load+set}" = set; then |
| 10544 |
> |
if test "${ac_cv_lib_dld_shl_load+set}" = set; then : |
| 10545 |
|
$as_echo_n "(cached) " >&6 |
| 10546 |
|
else |
| 10547 |
|
ac_check_lib_save_LIBS=$LIBS |
| 10548 |
|
LIBS="-ldld $LIBS" |
| 10549 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 10865 |
< |
/* confdefs.h. */ |
| 10866 |
< |
_ACEOF |
| 10867 |
< |
cat confdefs.h >>conftest.$ac_ext |
| 10868 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
| 10549 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 10550 |
|
/* end confdefs.h. */ |
| 10551 |
|
|
| 10552 |
|
/* Override any GCC internal prototype to avoid an error. |
| 10564 |
|
return 0; |
| 10565 |
|
} |
| 10566 |
|
_ACEOF |
| 10567 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 10887 |
< |
if { (ac_try="$ac_link" |
| 10888 |
< |
case "(($ac_try" in |
| 10889 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 10890 |
< |
*) ac_try_echo=$ac_try;; |
| 10891 |
< |
esac |
| 10892 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 10893 |
< |
$as_echo "$ac_try_echo") >&5 |
| 10894 |
< |
(eval "$ac_link") 2>conftest.er1 |
| 10895 |
< |
ac_status=$? |
| 10896 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
| 10897 |
< |
rm -f conftest.er1 |
| 10898 |
< |
cat conftest.err >&5 |
| 10899 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10900 |
< |
(exit $ac_status); } && { |
| 10901 |
< |
test -z "$ac_c_werror_flag" || |
| 10902 |
< |
test ! -s conftest.err |
| 10903 |
< |
} && test -s conftest$ac_exeext && { |
| 10904 |
< |
test "$cross_compiling" = yes || |
| 10905 |
< |
$as_test_x conftest$ac_exeext |
| 10906 |
< |
}; then |
| 10567 |
> |
if ac_fn_c_try_link "$LINENO"; then : |
| 10568 |
|
ac_cv_lib_dld_shl_load=yes |
| 10569 |
|
else |
| 10570 |
< |
$as_echo "$as_me: failed program was:" >&5 |
| 10910 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 10911 |
< |
|
| 10912 |
< |
ac_cv_lib_dld_shl_load=no |
| 10570 |
> |
ac_cv_lib_dld_shl_load=no |
| 10571 |
|
fi |
| 10572 |
< |
|
| 10573 |
< |
rm -rf conftest.dSYM |
| 10916 |
< |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 10917 |
< |
conftest$ac_exeext conftest.$ac_ext |
| 10572 |
> |
rm -f core conftest.err conftest.$ac_objext \ |
| 10573 |
> |
conftest$ac_exeext conftest.$ac_ext |
| 10574 |
|
LIBS=$ac_check_lib_save_LIBS |
| 10575 |
|
fi |
| 10576 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 |
| 10576 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 |
| 10577 |
|
$as_echo "$ac_cv_lib_dld_shl_load" >&6; } |
| 10578 |
< |
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then |
| 10578 |
> |
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then : |
| 10579 |
|
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" |
| 10580 |
|
else |
| 10581 |
< |
{ $as_echo "$as_me:$LINENO: checking for dlopen" >&5 |
| 10582 |
< |
$as_echo_n "checking for dlopen... " >&6; } |
| 10927 |
< |
if test "${ac_cv_func_dlopen+set}" = set; then |
| 10928 |
< |
$as_echo_n "(cached) " >&6 |
| 10929 |
< |
else |
| 10930 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 10931 |
< |
/* confdefs.h. */ |
| 10932 |
< |
_ACEOF |
| 10933 |
< |
cat confdefs.h >>conftest.$ac_ext |
| 10934 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
| 10935 |
< |
/* end confdefs.h. */ |
| 10936 |
< |
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen. |
| 10937 |
< |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
| 10938 |
< |
#define dlopen innocuous_dlopen |
| 10939 |
< |
|
| 10940 |
< |
/* System header to define __stub macros and hopefully few prototypes, |
| 10941 |
< |
which can conflict with char dlopen (); below. |
| 10942 |
< |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 10943 |
< |
<limits.h> exists even on freestanding compilers. */ |
| 10944 |
< |
|
| 10945 |
< |
#ifdef __STDC__ |
| 10946 |
< |
# include <limits.h> |
| 10947 |
< |
#else |
| 10948 |
< |
# include <assert.h> |
| 10949 |
< |
#endif |
| 10950 |
< |
|
| 10951 |
< |
#undef dlopen |
| 10952 |
< |
|
| 10953 |
< |
/* Override any GCC internal prototype to avoid an error. |
| 10954 |
< |
Use char because int might match the return type of a GCC |
| 10955 |
< |
builtin and then its argument prototype would still apply. */ |
| 10956 |
< |
#ifdef __cplusplus |
| 10957 |
< |
extern "C" |
| 10958 |
< |
#endif |
| 10959 |
< |
char dlopen (); |
| 10960 |
< |
/* The GNU C library defines this for functions which it implements |
| 10961 |
< |
to always fail with ENOSYS. Some functions are actually named |
| 10962 |
< |
something starting with __ and the normal name is an alias. */ |
| 10963 |
< |
#if defined __stub_dlopen || defined __stub___dlopen |
| 10964 |
< |
choke me |
| 10965 |
< |
#endif |
| 10966 |
< |
|
| 10967 |
< |
int |
| 10968 |
< |
main () |
| 10969 |
< |
{ |
| 10970 |
< |
return dlopen (); |
| 10971 |
< |
; |
| 10972 |
< |
return 0; |
| 10973 |
< |
} |
| 10974 |
< |
_ACEOF |
| 10975 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 10976 |
< |
if { (ac_try="$ac_link" |
| 10977 |
< |
case "(($ac_try" in |
| 10978 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 10979 |
< |
*) ac_try_echo=$ac_try;; |
| 10980 |
< |
esac |
| 10981 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 10982 |
< |
$as_echo "$ac_try_echo") >&5 |
| 10983 |
< |
(eval "$ac_link") 2>conftest.er1 |
| 10984 |
< |
ac_status=$? |
| 10985 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
| 10986 |
< |
rm -f conftest.er1 |
| 10987 |
< |
cat conftest.err >&5 |
| 10988 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10989 |
< |
(exit $ac_status); } && { |
| 10990 |
< |
test -z "$ac_c_werror_flag" || |
| 10991 |
< |
test ! -s conftest.err |
| 10992 |
< |
} && test -s conftest$ac_exeext && { |
| 10993 |
< |
test "$cross_compiling" = yes || |
| 10994 |
< |
$as_test_x conftest$ac_exeext |
| 10995 |
< |
}; then |
| 10996 |
< |
ac_cv_func_dlopen=yes |
| 10997 |
< |
else |
| 10998 |
< |
$as_echo "$as_me: failed program was:" >&5 |
| 10999 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 11000 |
< |
|
| 11001 |
< |
ac_cv_func_dlopen=no |
| 11002 |
< |
fi |
| 11003 |
< |
|
| 11004 |
< |
rm -rf conftest.dSYM |
| 11005 |
< |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 11006 |
< |
conftest$ac_exeext conftest.$ac_ext |
| 11007 |
< |
fi |
| 11008 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 |
| 11009 |
< |
$as_echo "$ac_cv_func_dlopen" >&6; } |
| 11010 |
< |
if test "x$ac_cv_func_dlopen" = x""yes; then |
| 10581 |
> |
ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" |
| 10582 |
> |
if test "x$ac_cv_func_dlopen" = x""yes; then : |
| 10583 |
|
lt_cv_dlopen="dlopen" |
| 10584 |
|
else |
| 10585 |
< |
{ $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 |
| 10585 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 |
| 10586 |
|
$as_echo_n "checking for dlopen in -ldl... " >&6; } |
| 10587 |
< |
if test "${ac_cv_lib_dl_dlopen+set}" = set; then |
| 10587 |
> |
if test "${ac_cv_lib_dl_dlopen+set}" = set; then : |
| 10588 |
|
$as_echo_n "(cached) " >&6 |
| 10589 |
|
else |
| 10590 |
|
ac_check_lib_save_LIBS=$LIBS |
| 10591 |
|
LIBS="-ldl $LIBS" |
| 10592 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 11021 |
< |
/* confdefs.h. */ |
| 11022 |
< |
_ACEOF |
| 11023 |
< |
cat confdefs.h >>conftest.$ac_ext |
| 11024 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
| 10592 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 10593 |
|
/* end confdefs.h. */ |
| 10594 |
|
|
| 10595 |
|
/* Override any GCC internal prototype to avoid an error. |
| 10607 |
|
return 0; |
| 10608 |
|
} |
| 10609 |
|
_ACEOF |
| 10610 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 11043 |
< |
if { (ac_try="$ac_link" |
| 11044 |
< |
case "(($ac_try" in |
| 11045 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 11046 |
< |
*) ac_try_echo=$ac_try;; |
| 11047 |
< |
esac |
| 11048 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 11049 |
< |
$as_echo "$ac_try_echo") >&5 |
| 11050 |
< |
(eval "$ac_link") 2>conftest.er1 |
| 11051 |
< |
ac_status=$? |
| 11052 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
| 11053 |
< |
rm -f conftest.er1 |
| 11054 |
< |
cat conftest.err >&5 |
| 11055 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 11056 |
< |
(exit $ac_status); } && { |
| 11057 |
< |
test -z "$ac_c_werror_flag" || |
| 11058 |
< |
test ! -s conftest.err |
| 11059 |
< |
} && test -s conftest$ac_exeext && { |
| 11060 |
< |
test "$cross_compiling" = yes || |
| 11061 |
< |
$as_test_x conftest$ac_exeext |
| 11062 |
< |
}; then |
| 10610 |
> |
if ac_fn_c_try_link "$LINENO"; then : |
| 10611 |
|
ac_cv_lib_dl_dlopen=yes |
| 10612 |
|
else |
| 10613 |
< |
$as_echo "$as_me: failed program was:" >&5 |
| 11066 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 11067 |
< |
|
| 11068 |
< |
ac_cv_lib_dl_dlopen=no |
| 10613 |
> |
ac_cv_lib_dl_dlopen=no |
| 10614 |
|
fi |
| 10615 |
< |
|
| 10616 |
< |
rm -rf conftest.dSYM |
| 11072 |
< |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 11073 |
< |
conftest$ac_exeext conftest.$ac_ext |
| 10615 |
> |
rm -f core conftest.err conftest.$ac_objext \ |
| 10616 |
> |
conftest$ac_exeext conftest.$ac_ext |
| 10617 |
|
LIBS=$ac_check_lib_save_LIBS |
| 10618 |
|
fi |
| 10619 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
| 10619 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 |
| 10620 |
|
$as_echo "$ac_cv_lib_dl_dlopen" >&6; } |
| 10621 |
< |
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then |
| 10621 |
> |
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : |
| 10622 |
|
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" |
| 10623 |
|
else |
| 10624 |
< |
{ $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 |
| 10624 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 |
| 10625 |
|
$as_echo_n "checking for dlopen in -lsvld... " >&6; } |
| 10626 |
< |
if test "${ac_cv_lib_svld_dlopen+set}" = set; then |
| 10626 |
> |
if test "${ac_cv_lib_svld_dlopen+set}" = set; then : |
| 10627 |
|
$as_echo_n "(cached) " >&6 |
| 10628 |
|
else |
| 10629 |
|
ac_check_lib_save_LIBS=$LIBS |
| 10630 |
|
LIBS="-lsvld $LIBS" |
| 10631 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 11089 |
< |
/* confdefs.h. */ |
| 11090 |
< |
_ACEOF |
| 11091 |
< |
cat confdefs.h >>conftest.$ac_ext |
| 11092 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
| 10631 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 10632 |
|
/* end confdefs.h. */ |
| 10633 |
|
|
| 10634 |
|
/* Override any GCC internal prototype to avoid an error. |
| 10646 |
|
return 0; |
| 10647 |
|
} |
| 10648 |
|
_ACEOF |
| 10649 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 11111 |
< |
if { (ac_try="$ac_link" |
| 11112 |
< |
case "(($ac_try" in |
| 11113 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 11114 |
< |
*) ac_try_echo=$ac_try;; |
| 11115 |
< |
esac |
| 11116 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 11117 |
< |
$as_echo "$ac_try_echo") >&5 |
| 11118 |
< |
(eval "$ac_link") 2>conftest.er1 |
| 11119 |
< |
ac_status=$? |
| 11120 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
| 11121 |
< |
rm -f conftest.er1 |
| 11122 |
< |
cat conftest.err >&5 |
| 11123 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 11124 |
< |
(exit $ac_status); } && { |
| 11125 |
< |
test -z "$ac_c_werror_flag" || |
| 11126 |
< |
test ! -s conftest.err |
| 11127 |
< |
} && test -s conftest$ac_exeext && { |
| 11128 |
< |
test "$cross_compiling" = yes || |
| 11129 |
< |
$as_test_x conftest$ac_exeext |
| 11130 |
< |
}; then |
| 10649 |
> |
if ac_fn_c_try_link "$LINENO"; then : |
| 10650 |
|
ac_cv_lib_svld_dlopen=yes |
| 10651 |
|
else |
| 10652 |
< |
$as_echo "$as_me: failed program was:" >&5 |
| 11134 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 11135 |
< |
|
| 11136 |
< |
ac_cv_lib_svld_dlopen=no |
| 10652 |
> |
ac_cv_lib_svld_dlopen=no |
| 10653 |
|
fi |
| 10654 |
< |
|
| 10655 |
< |
rm -rf conftest.dSYM |
| 11140 |
< |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 11141 |
< |
conftest$ac_exeext conftest.$ac_ext |
| 10654 |
> |
rm -f core conftest.err conftest.$ac_objext \ |
| 10655 |
> |
conftest$ac_exeext conftest.$ac_ext |
| 10656 |
|
LIBS=$ac_check_lib_save_LIBS |
| 10657 |
|
fi |
| 10658 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 |
| 10658 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 |
| 10659 |
|
$as_echo "$ac_cv_lib_svld_dlopen" >&6; } |
| 10660 |
< |
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then |
| 10660 |
> |
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then : |
| 10661 |
|
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" |
| 10662 |
|
else |
| 10663 |
< |
{ $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 |
| 10663 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 |
| 10664 |
|
$as_echo_n "checking for dld_link in -ldld... " >&6; } |
| 10665 |
< |
if test "${ac_cv_lib_dld_dld_link+set}" = set; then |
| 10665 |
> |
if test "${ac_cv_lib_dld_dld_link+set}" = set; then : |
| 10666 |
|
$as_echo_n "(cached) " >&6 |
| 10667 |
|
else |
| 10668 |
|
ac_check_lib_save_LIBS=$LIBS |
| 10669 |
|
LIBS="-ldld $LIBS" |
| 10670 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 11157 |
< |
/* confdefs.h. */ |
| 11158 |
< |
_ACEOF |
| 11159 |
< |
cat confdefs.h >>conftest.$ac_ext |
| 11160 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
| 10670 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 10671 |
|
/* end confdefs.h. */ |
| 10672 |
|
|
| 10673 |
|
/* Override any GCC internal prototype to avoid an error. |
| 10685 |
|
return 0; |
| 10686 |
|
} |
| 10687 |
|
_ACEOF |
| 10688 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 11179 |
< |
if { (ac_try="$ac_link" |
| 11180 |
< |
case "(($ac_try" in |
| 11181 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 11182 |
< |
*) ac_try_echo=$ac_try;; |
| 11183 |
< |
esac |
| 11184 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 11185 |
< |
$as_echo "$ac_try_echo") >&5 |
| 11186 |
< |
(eval "$ac_link") 2>conftest.er1 |
| 11187 |
< |
ac_status=$? |
| 11188 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
| 11189 |
< |
rm -f conftest.er1 |
| 11190 |
< |
cat conftest.err >&5 |
| 11191 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 11192 |
< |
(exit $ac_status); } && { |
| 11193 |
< |
test -z "$ac_c_werror_flag" || |
| 11194 |
< |
test ! -s conftest.err |
| 11195 |
< |
} && test -s conftest$ac_exeext && { |
| 11196 |
< |
test "$cross_compiling" = yes || |
| 11197 |
< |
$as_test_x conftest$ac_exeext |
| 11198 |
< |
}; then |
| 10688 |
> |
if ac_fn_c_try_link "$LINENO"; then : |
| 10689 |
|
ac_cv_lib_dld_dld_link=yes |
| 10690 |
|
else |
| 10691 |
< |
$as_echo "$as_me: failed program was:" >&5 |
| 11202 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 11203 |
< |
|
| 11204 |
< |
ac_cv_lib_dld_dld_link=no |
| 10691 |
> |
ac_cv_lib_dld_dld_link=no |
| 10692 |
|
fi |
| 10693 |
< |
|
| 10694 |
< |
rm -rf conftest.dSYM |
| 11208 |
< |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 11209 |
< |
conftest$ac_exeext conftest.$ac_ext |
| 10693 |
> |
rm -f core conftest.err conftest.$ac_objext \ |
| 10694 |
> |
conftest$ac_exeext conftest.$ac_ext |
| 10695 |
|
LIBS=$ac_check_lib_save_LIBS |
| 10696 |
|
fi |
| 10697 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 |
| 10697 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 |
| 10698 |
|
$as_echo "$ac_cv_lib_dld_dld_link" >&6; } |
| 10699 |
< |
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then |
| 10699 |
> |
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then : |
| 10700 |
|
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" |
| 10701 |
|
fi |
| 10702 |
|
|
| 10735 |
|
save_LIBS="$LIBS" |
| 10736 |
|
LIBS="$lt_cv_dlopen_libs $LIBS" |
| 10737 |
|
|
| 10738 |
< |
{ $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 |
| 10738 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 |
| 10739 |
|
$as_echo_n "checking whether a program can dlopen itself... " >&6; } |
| 10740 |
< |
if test "${lt_cv_dlopen_self+set}" = set; then |
| 10740 |
> |
if test "${lt_cv_dlopen_self+set}" = set; then : |
| 10741 |
|
$as_echo_n "(cached) " >&6 |
| 10742 |
|
else |
| 10743 |
|
if test "$cross_compiling" = yes; then : |
| 10746 |
|
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
| 10747 |
|
lt_status=$lt_dlunknown |
| 10748 |
|
cat > conftest.$ac_ext <<_LT_EOF |
| 10749 |
< |
#line 11264 "configure" |
| 10749 |
> |
#line 10749 "configure" |
| 10750 |
|
#include "confdefs.h" |
| 10751 |
|
|
| 10752 |
|
#if HAVE_DLFCN_H |
| 10805 |
|
return status; |
| 10806 |
|
} |
| 10807 |
|
_LT_EOF |
| 10808 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 10808 |
> |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 |
| 10809 |
|
(eval $ac_link) 2>&5 |
| 10810 |
|
ac_status=$? |
| 10811 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10812 |
< |
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then |
| 10811 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 10812 |
> |
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then |
| 10813 |
|
(./conftest; exit; ) >&5 2>/dev/null |
| 10814 |
|
lt_status=$? |
| 10815 |
|
case x$lt_status in |
| 10826 |
|
|
| 10827 |
|
|
| 10828 |
|
fi |
| 10829 |
< |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 |
| 10829 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 |
| 10830 |
|
$as_echo "$lt_cv_dlopen_self" >&6; } |
| 10831 |
|
|
| 10832 |
|
if test "x$lt_cv_dlopen_self" = xyes; then |
| 10833 |
|
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" |
| 10834 |
< |
{ $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 |
| 10834 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 |
| 10835 |
|
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } |
| 10836 |
< |
if test "${lt_cv_dlopen_self_static+set}" = set; then |
| 10836 |
> |
if test "${lt_cv_dlopen_self_static+set}" = set; then : |
| 10837 |
|
$as_echo_n "(cached) " >&6 |
| 10838 |
|
else |
| 10839 |
|
if test "$cross_compiling" = yes; then : |
| 10842 |
|
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
| 10843 |
|
lt_status=$lt_dlunknown |
| 10844 |
|
cat > conftest.$ac_ext <<_LT_EOF |
| 10845 |
< |
#line 11360 "configure" |
| 10845 |
> |
#line 10845 "configure" |
| 10846 |
|
#include "confdefs.h" |
| 10847 |
|
|
| 10848 |
|
#if HAVE_DLFCN_H |
| 10901 |
|
return status; |
| 10902 |
|
} |
| 10903 |
|
_LT_EOF |
| 10904 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 10904 |
> |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 |
| 10905 |
|
(eval $ac_link) 2>&5 |
| 10906 |
|
ac_status=$? |
| 10907 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10908 |
< |
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then |
| 10907 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 10908 |
> |
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then |
| 10909 |
|
(./conftest; exit; ) >&5 2>/dev/null |
| 10910 |
|
lt_status=$? |
| 10911 |
|
case x$lt_status in |
| 10922 |
|
|
| 10923 |
|
|
| 10924 |
|
fi |
| 10925 |
< |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 |
| 10925 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 |
| 10926 |
|
$as_echo "$lt_cv_dlopen_self_static" >&6; } |
| 10927 |
|
fi |
| 10928 |
|
|
| 10961 |
|
|
| 10962 |
|
striplib= |
| 10963 |
|
old_striplib= |
| 10964 |
< |
{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 |
| 10964 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 |
| 10965 |
|
$as_echo_n "checking whether stripping libraries is possible... " >&6; } |
| 10966 |
|
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then |
| 10967 |
|
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" |
| 10968 |
|
test -z "$striplib" && striplib="$STRIP --strip-unneeded" |
| 10969 |
< |
{ $as_echo "$as_me:$LINENO: result: yes" >&5 |
| 10969 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 10970 |
|
$as_echo "yes" >&6; } |
| 10971 |
|
else |
| 10972 |
|
# FIXME - insert some real tests, host_os isn't really good enough |
| 10975 |
|
if test -n "$STRIP" ; then |
| 10976 |
|
striplib="$STRIP -x" |
| 10977 |
|
old_striplib="$STRIP -S" |
| 10978 |
< |
{ $as_echo "$as_me:$LINENO: result: yes" >&5 |
| 10978 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 10979 |
|
$as_echo "yes" >&6; } |
| 10980 |
|
else |
| 10981 |
< |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
| 10981 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 10982 |
|
$as_echo "no" >&6; } |
| 10983 |
|
fi |
| 10984 |
|
;; |
| 10985 |
|
*) |
| 10986 |
< |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
| 10986 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 10987 |
|
$as_echo "no" >&6; } |
| 10988 |
|
;; |
| 10989 |
|
esac |
| 11001 |
|
|
| 11002 |
|
|
| 11003 |
|
# Report which library types will actually be built |
| 11004 |
< |
{ $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 |
| 11004 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 |
| 11005 |
|
$as_echo_n "checking if libtool supports shared libraries... " >&6; } |
| 11006 |
< |
{ $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5 |
| 11006 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 |
| 11007 |
|
$as_echo "$can_build_shared" >&6; } |
| 11008 |
|
|
| 11009 |
< |
{ $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 |
| 11009 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 |
| 11010 |
|
$as_echo_n "checking whether to build shared libraries... " >&6; } |
| 11011 |
|
test "$can_build_shared" = "no" && enable_shared=no |
| 11012 |
|
|
| 11027 |
|
fi |
| 11028 |
|
;; |
| 11029 |
|
esac |
| 11030 |
< |
{ $as_echo "$as_me:$LINENO: result: $enable_shared" >&5 |
| 11030 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 |
| 11031 |
|
$as_echo "$enable_shared" >&6; } |
| 11032 |
|
|
| 11033 |
< |
{ $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5 |
| 11033 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 |
| 11034 |
|
$as_echo_n "checking whether to build static libraries... " >&6; } |
| 11035 |
|
# Make sure either enable_shared or enable_static is yes. |
| 11036 |
|
test "$enable_shared" = yes || enable_static=yes |
| 11037 |
< |
{ $as_echo "$as_me:$LINENO: result: $enable_static" >&5 |
| 11037 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 |
| 11038 |
|
$as_echo "$enable_static" >&6; } |
| 11039 |
|
|
| 11040 |
|
|
| 11069 |
|
# Only expand once: |
| 11070 |
|
|
| 11071 |
|
|
| 11072 |
< |
{ $as_echo "$as_me:$LINENO: checking which extension is used for runtime loadable modules" >&5 |
| 11072 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which extension is used for runtime loadable modules" >&5 |
| 11073 |
|
$as_echo_n "checking which extension is used for runtime loadable modules... " >&6; } |
| 11074 |
< |
if test "${libltdl_cv_shlibext+set}" = set; then |
| 11074 |
> |
if test "${libltdl_cv_shlibext+set}" = set; then : |
| 11075 |
|
$as_echo_n "(cached) " >&6 |
| 11076 |
|
else |
| 11077 |
|
|
| 11079 |
|
eval libltdl_cv_shlibext=$shrext_cmds |
| 11080 |
|
|
| 11081 |
|
fi |
| 11082 |
< |
{ $as_echo "$as_me:$LINENO: result: $libltdl_cv_shlibext" >&5 |
| 11082 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibext" >&5 |
| 11083 |
|
$as_echo "$libltdl_cv_shlibext" >&6; } |
| 11084 |
|
if test -n "$libltdl_cv_shlibext"; then |
| 11085 |
|
|
| 11089 |
|
|
| 11090 |
|
fi |
| 11091 |
|
|
| 11092 |
< |
{ $as_echo "$as_me:$LINENO: checking which variable specifies run-time module search path" >&5 |
| 11092 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which variable specifies run-time module search path" >&5 |
| 11093 |
|
$as_echo_n "checking which variable specifies run-time module search path... " >&6; } |
| 11094 |
< |
if test "${lt_cv_module_path_var+set}" = set; then |
| 11094 |
> |
if test "${lt_cv_module_path_var+set}" = set; then : |
| 11095 |
|
$as_echo_n "(cached) " >&6 |
| 11096 |
|
else |
| 11097 |
|
lt_cv_module_path_var="$shlibpath_var" |
| 11098 |
|
fi |
| 11099 |
< |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_module_path_var" >&5 |
| 11099 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_module_path_var" >&5 |
| 11100 |
|
$as_echo "$lt_cv_module_path_var" >&6; } |
| 11101 |
|
if test -n "$lt_cv_module_path_var"; then |
| 11102 |
|
|
| 11106 |
|
|
| 11107 |
|
fi |
| 11108 |
|
|
| 11109 |
< |
{ $as_echo "$as_me:$LINENO: checking for the default library search path" >&5 |
| 11109 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for the default library search path" >&5 |
| 11110 |
|
$as_echo_n "checking for the default library search path... " >&6; } |
| 11111 |
< |
if test "${lt_cv_sys_dlsearch_path+set}" = set; then |
| 11111 |
> |
if test "${lt_cv_sys_dlsearch_path+set}" = set; then : |
| 11112 |
|
$as_echo_n "(cached) " >&6 |
| 11113 |
|
else |
| 11114 |
|
lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec" |
| 11115 |
|
fi |
| 11116 |
< |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_sys_dlsearch_path" >&5 |
| 11116 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlsearch_path" >&5 |
| 11117 |
|
$as_echo "$lt_cv_sys_dlsearch_path" >&6; } |
| 11118 |
|
if test -n "$lt_cv_sys_dlsearch_path"; then |
| 11119 |
|
sys_dlsearch_path= |
| 11143 |
|
|
| 11144 |
|
|
| 11145 |
|
LIBADD_DLOPEN= |
| 11146 |
< |
{ $as_echo "$as_me:$LINENO: checking for library containing dlopen" >&5 |
| 11146 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5 |
| 11147 |
|
$as_echo_n "checking for library containing dlopen... " >&6; } |
| 11148 |
< |
if test "${ac_cv_search_dlopen+set}" = set; then |
| 11148 |
> |
if test "${ac_cv_search_dlopen+set}" = set; then : |
| 11149 |
|
$as_echo_n "(cached) " >&6 |
| 11150 |
|
else |
| 11151 |
|
ac_func_search_save_LIBS=$LIBS |
| 11152 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 11668 |
< |
/* confdefs.h. */ |
| 11669 |
< |
_ACEOF |
| 11670 |
< |
cat confdefs.h >>conftest.$ac_ext |
| 11671 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
| 11152 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 11153 |
|
/* end confdefs.h. */ |
| 11154 |
|
|
| 11155 |
|
/* Override any GCC internal prototype to avoid an error. |
| 11174 |
|
ac_res=-l$ac_lib |
| 11175 |
|
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 11176 |
|
fi |
| 11177 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 11697 |
< |
if { (ac_try="$ac_link" |
| 11698 |
< |
case "(($ac_try" in |
| 11699 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 11700 |
< |
*) ac_try_echo=$ac_try;; |
| 11701 |
< |
esac |
| 11702 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 11703 |
< |
$as_echo "$ac_try_echo") >&5 |
| 11704 |
< |
(eval "$ac_link") 2>conftest.er1 |
| 11705 |
< |
ac_status=$? |
| 11706 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
| 11707 |
< |
rm -f conftest.er1 |
| 11708 |
< |
cat conftest.err >&5 |
| 11709 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 11710 |
< |
(exit $ac_status); } && { |
| 11711 |
< |
test -z "$ac_c_werror_flag" || |
| 11712 |
< |
test ! -s conftest.err |
| 11713 |
< |
} && test -s conftest$ac_exeext && { |
| 11714 |
< |
test "$cross_compiling" = yes || |
| 11715 |
< |
$as_test_x conftest$ac_exeext |
| 11716 |
< |
}; then |
| 11177 |
> |
if ac_fn_c_try_link "$LINENO"; then : |
| 11178 |
|
ac_cv_search_dlopen=$ac_res |
| 11718 |
– |
else |
| 11719 |
– |
$as_echo "$as_me: failed program was:" >&5 |
| 11720 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 11721 |
– |
|
| 11722 |
– |
|
| 11179 |
|
fi |
| 11180 |
< |
|
| 11181 |
< |
rm -rf conftest.dSYM |
| 11182 |
< |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 11727 |
< |
conftest$ac_exeext |
| 11728 |
< |
if test "${ac_cv_search_dlopen+set}" = set; then |
| 11180 |
> |
rm -f core conftest.err conftest.$ac_objext \ |
| 11181 |
> |
conftest$ac_exeext |
| 11182 |
> |
if test "${ac_cv_search_dlopen+set}" = set; then : |
| 11183 |
|
break |
| 11184 |
|
fi |
| 11185 |
|
done |
| 11186 |
< |
if test "${ac_cv_search_dlopen+set}" = set; then |
| 11187 |
< |
: |
| 11186 |
> |
if test "${ac_cv_search_dlopen+set}" = set; then : |
| 11187 |
> |
|
| 11188 |
|
else |
| 11189 |
|
ac_cv_search_dlopen=no |
| 11190 |
|
fi |
| 11191 |
|
rm conftest.$ac_ext |
| 11192 |
|
LIBS=$ac_func_search_save_LIBS |
| 11193 |
|
fi |
| 11194 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5 |
| 11194 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5 |
| 11195 |
|
$as_echo "$ac_cv_search_dlopen" >&6; } |
| 11196 |
|
ac_res=$ac_cv_search_dlopen |
| 11197 |
< |
if test "$ac_res" != no; then |
| 11197 |
> |
if test "$ac_res" != no; then : |
| 11198 |
|
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 11199 |
|
|
| 11200 |
< |
cat >>confdefs.h <<\_ACEOF |
| 11747 |
< |
#define HAVE_LIBDL 1 |
| 11748 |
< |
_ACEOF |
| 11200 |
> |
$as_echo "#define HAVE_LIBDL 1" >>confdefs.h |
| 11201 |
|
|
| 11202 |
|
if test "$ac_cv_search_dlopen" != "none required" ; then |
| 11203 |
|
LIBADD_DLOPEN="-ldl" |
| 11205 |
|
libltdl_cv_lib_dl_dlopen="yes" |
| 11206 |
|
LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la" |
| 11207 |
|
else |
| 11208 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 11757 |
< |
/* confdefs.h. */ |
| 11758 |
< |
_ACEOF |
| 11759 |
< |
cat confdefs.h >>conftest.$ac_ext |
| 11760 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
| 11208 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 11209 |
|
/* end confdefs.h. */ |
| 11210 |
|
#if HAVE_DLFCN_H |
| 11211 |
|
# include <dlfcn.h> |
| 11219 |
|
return 0; |
| 11220 |
|
} |
| 11221 |
|
_ACEOF |
| 11222 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 11775 |
< |
if { (ac_try="$ac_link" |
| 11776 |
< |
case "(($ac_try" in |
| 11777 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 11778 |
< |
*) ac_try_echo=$ac_try;; |
| 11779 |
< |
esac |
| 11780 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 11781 |
< |
$as_echo "$ac_try_echo") >&5 |
| 11782 |
< |
(eval "$ac_link") 2>conftest.er1 |
| 11783 |
< |
ac_status=$? |
| 11784 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
| 11785 |
< |
rm -f conftest.er1 |
| 11786 |
< |
cat conftest.err >&5 |
| 11787 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 11788 |
< |
(exit $ac_status); } && { |
| 11789 |
< |
test -z "$ac_c_werror_flag" || |
| 11790 |
< |
test ! -s conftest.err |
| 11791 |
< |
} && test -s conftest$ac_exeext && { |
| 11792 |
< |
test "$cross_compiling" = yes || |
| 11793 |
< |
$as_test_x conftest$ac_exeext |
| 11794 |
< |
}; then |
| 11222 |
> |
if ac_fn_c_try_link "$LINENO"; then : |
| 11223 |
|
|
| 11224 |
< |
cat >>confdefs.h <<\_ACEOF |
| 11797 |
< |
#define HAVE_LIBDL 1 |
| 11798 |
< |
_ACEOF |
| 11224 |
> |
$as_echo "#define HAVE_LIBDL 1" >>confdefs.h |
| 11225 |
|
|
| 11226 |
|
libltdl_cv_func_dlopen="yes" |
| 11227 |
|
LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la" |
| 11228 |
|
else |
| 11229 |
< |
$as_echo "$as_me: failed program was:" >&5 |
| 11804 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 11805 |
< |
|
| 11806 |
< |
{ $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 |
| 11229 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 |
| 11230 |
|
$as_echo_n "checking for dlopen in -lsvld... " >&6; } |
| 11231 |
< |
if test "${ac_cv_lib_svld_dlopen+set}" = set; then |
| 11231 |
> |
if test "${ac_cv_lib_svld_dlopen+set}" = set; then : |
| 11232 |
|
$as_echo_n "(cached) " >&6 |
| 11233 |
|
else |
| 11234 |
|
ac_check_lib_save_LIBS=$LIBS |
| 11235 |
|
LIBS="-lsvld $LIBS" |
| 11236 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 11814 |
< |
/* confdefs.h. */ |
| 11815 |
< |
_ACEOF |
| 11816 |
< |
cat confdefs.h >>conftest.$ac_ext |
| 11817 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
| 11236 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 11237 |
|
/* end confdefs.h. */ |
| 11238 |
|
|
| 11239 |
|
/* Override any GCC internal prototype to avoid an error. |
| 11251 |
|
return 0; |
| 11252 |
|
} |
| 11253 |
|
_ACEOF |
| 11254 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 11836 |
< |
if { (ac_try="$ac_link" |
| 11837 |
< |
case "(($ac_try" in |
| 11838 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 11839 |
< |
*) ac_try_echo=$ac_try;; |
| 11840 |
< |
esac |
| 11841 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 11842 |
< |
$as_echo "$ac_try_echo") >&5 |
| 11843 |
< |
(eval "$ac_link") 2>conftest.er1 |
| 11844 |
< |
ac_status=$? |
| 11845 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
| 11846 |
< |
rm -f conftest.er1 |
| 11847 |
< |
cat conftest.err >&5 |
| 11848 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 11849 |
< |
(exit $ac_status); } && { |
| 11850 |
< |
test -z "$ac_c_werror_flag" || |
| 11851 |
< |
test ! -s conftest.err |
| 11852 |
< |
} && test -s conftest$ac_exeext && { |
| 11853 |
< |
test "$cross_compiling" = yes || |
| 11854 |
< |
$as_test_x conftest$ac_exeext |
| 11855 |
< |
}; then |
| 11254 |
> |
if ac_fn_c_try_link "$LINENO"; then : |
| 11255 |
|
ac_cv_lib_svld_dlopen=yes |
| 11256 |
|
else |
| 11257 |
< |
$as_echo "$as_me: failed program was:" >&5 |
| 11859 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 11860 |
< |
|
| 11861 |
< |
ac_cv_lib_svld_dlopen=no |
| 11257 |
> |
ac_cv_lib_svld_dlopen=no |
| 11258 |
|
fi |
| 11259 |
< |
|
| 11260 |
< |
rm -rf conftest.dSYM |
| 11865 |
< |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 11866 |
< |
conftest$ac_exeext conftest.$ac_ext |
| 11259 |
> |
rm -f core conftest.err conftest.$ac_objext \ |
| 11260 |
> |
conftest$ac_exeext conftest.$ac_ext |
| 11261 |
|
LIBS=$ac_check_lib_save_LIBS |
| 11262 |
|
fi |
| 11263 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 |
| 11263 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 |
| 11264 |
|
$as_echo "$ac_cv_lib_svld_dlopen" >&6; } |
| 11265 |
< |
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then |
| 11265 |
> |
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then : |
| 11266 |
|
|
| 11267 |
< |
cat >>confdefs.h <<\_ACEOF |
| 11874 |
< |
#define HAVE_LIBDL 1 |
| 11875 |
< |
_ACEOF |
| 11267 |
> |
$as_echo "#define HAVE_LIBDL 1" >>confdefs.h |
| 11268 |
|
|
| 11269 |
|
LIBADD_DLOPEN="-lsvld" libltdl_cv_func_dlopen="yes" |
| 11270 |
|
LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la" |
| 11271 |
|
fi |
| 11272 |
|
|
| 11273 |
|
fi |
| 11274 |
< |
|
| 11275 |
< |
rm -rf conftest.dSYM |
| 11884 |
< |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 11885 |
< |
conftest$ac_exeext conftest.$ac_ext |
| 11274 |
> |
rm -f core conftest.err conftest.$ac_objext \ |
| 11275 |
> |
conftest$ac_exeext conftest.$ac_ext |
| 11276 |
|
fi |
| 11277 |
|
|
| 11278 |
|
if test x"$libltdl_cv_func_dlopen" = xyes || test x"$libltdl_cv_lib_dl_dlopen" = xyes |
| 11279 |
|
then |
| 11280 |
|
lt_save_LIBS="$LIBS" |
| 11281 |
|
LIBS="$LIBS $LIBADD_DLOPEN" |
| 11282 |
< |
|
| 11283 |
< |
for ac_func in dlerror |
| 11284 |
< |
do |
| 11285 |
< |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 11896 |
< |
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 11897 |
< |
$as_echo_n "checking for $ac_func... " >&6; } |
| 11898 |
< |
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
| 11899 |
< |
$as_echo_n "(cached) " >&6 |
| 11900 |
< |
else |
| 11901 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 11902 |
< |
/* confdefs.h. */ |
| 11903 |
< |
_ACEOF |
| 11904 |
< |
cat confdefs.h >>conftest.$ac_ext |
| 11905 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
| 11906 |
< |
/* end confdefs.h. */ |
| 11907 |
< |
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
| 11908 |
< |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
| 11909 |
< |
#define $ac_func innocuous_$ac_func |
| 11910 |
< |
|
| 11911 |
< |
/* System header to define __stub macros and hopefully few prototypes, |
| 11912 |
< |
which can conflict with char $ac_func (); below. |
| 11913 |
< |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 11914 |
< |
<limits.h> exists even on freestanding compilers. */ |
| 11915 |
< |
|
| 11916 |
< |
#ifdef __STDC__ |
| 11917 |
< |
# include <limits.h> |
| 11918 |
< |
#else |
| 11919 |
< |
# include <assert.h> |
| 11920 |
< |
#endif |
| 11921 |
< |
|
| 11922 |
< |
#undef $ac_func |
| 11923 |
< |
|
| 11924 |
< |
/* Override any GCC internal prototype to avoid an error. |
| 11925 |
< |
Use char because int might match the return type of a GCC |
| 11926 |
< |
builtin and then its argument prototype would still apply. */ |
| 11927 |
< |
#ifdef __cplusplus |
| 11928 |
< |
extern "C" |
| 11929 |
< |
#endif |
| 11930 |
< |
char $ac_func (); |
| 11931 |
< |
/* The GNU C library defines this for functions which it implements |
| 11932 |
< |
to always fail with ENOSYS. Some functions are actually named |
| 11933 |
< |
something starting with __ and the normal name is an alias. */ |
| 11934 |
< |
#if defined __stub_$ac_func || defined __stub___$ac_func |
| 11935 |
< |
choke me |
| 11936 |
< |
#endif |
| 11937 |
< |
|
| 11938 |
< |
int |
| 11939 |
< |
main () |
| 11940 |
< |
{ |
| 11941 |
< |
return $ac_func (); |
| 11942 |
< |
; |
| 11943 |
< |
return 0; |
| 11944 |
< |
} |
| 11945 |
< |
_ACEOF |
| 11946 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 11947 |
< |
if { (ac_try="$ac_link" |
| 11948 |
< |
case "(($ac_try" in |
| 11949 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 11950 |
< |
*) ac_try_echo=$ac_try;; |
| 11951 |
< |
esac |
| 11952 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 11953 |
< |
$as_echo "$ac_try_echo") >&5 |
| 11954 |
< |
(eval "$ac_link") 2>conftest.er1 |
| 11955 |
< |
ac_status=$? |
| 11956 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
| 11957 |
< |
rm -f conftest.er1 |
| 11958 |
< |
cat conftest.err >&5 |
| 11959 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 11960 |
< |
(exit $ac_status); } && { |
| 11961 |
< |
test -z "$ac_c_werror_flag" || |
| 11962 |
< |
test ! -s conftest.err |
| 11963 |
< |
} && test -s conftest$ac_exeext && { |
| 11964 |
< |
test "$cross_compiling" = yes || |
| 11965 |
< |
$as_test_x conftest$ac_exeext |
| 11966 |
< |
}; then |
| 11967 |
< |
eval "$as_ac_var=yes" |
| 11968 |
< |
else |
| 11969 |
< |
$as_echo "$as_me: failed program was:" >&5 |
| 11970 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 11971 |
< |
|
| 11972 |
< |
eval "$as_ac_var=no" |
| 11973 |
< |
fi |
| 11974 |
< |
|
| 11975 |
< |
rm -rf conftest.dSYM |
| 11976 |
< |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 11977 |
< |
conftest$ac_exeext conftest.$ac_ext |
| 11978 |
< |
fi |
| 11979 |
< |
ac_res=`eval 'as_val=${'$as_ac_var'} |
| 11980 |
< |
$as_echo "$as_val"'` |
| 11981 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 11982 |
< |
$as_echo "$ac_res" >&6; } |
| 11983 |
< |
as_val=`eval 'as_val=${'$as_ac_var'} |
| 11984 |
< |
$as_echo "$as_val"'` |
| 11985 |
< |
if test "x$as_val" = x""yes; then |
| 11282 |
> |
for ac_func in dlerror |
| 11283 |
> |
do : |
| 11284 |
> |
ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror" |
| 11285 |
> |
if test "x$ac_cv_func_dlerror" = x""yes; then : |
| 11286 |
|
cat >>confdefs.h <<_ACEOF |
| 11287 |
< |
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 11287 |
> |
#define HAVE_DLERROR 1 |
| 11288 |
|
_ACEOF |
| 11289 |
|
|
| 11290 |
|
fi |
| 11295 |
|
|
| 11296 |
|
|
| 11297 |
|
LIBADD_SHL_LOAD= |
| 11298 |
< |
{ $as_echo "$as_me:$LINENO: checking for shl_load" >&5 |
| 11299 |
< |
$as_echo_n "checking for shl_load... " >&6; } |
| 12000 |
< |
if test "${ac_cv_func_shl_load+set}" = set; then |
| 12001 |
< |
$as_echo_n "(cached) " >&6 |
| 12002 |
< |
else |
| 12003 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 12004 |
< |
/* confdefs.h. */ |
| 12005 |
< |
_ACEOF |
| 12006 |
< |
cat confdefs.h >>conftest.$ac_ext |
| 12007 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
| 12008 |
< |
/* end confdefs.h. */ |
| 12009 |
< |
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load. |
| 12010 |
< |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
| 12011 |
< |
#define shl_load innocuous_shl_load |
| 12012 |
< |
|
| 12013 |
< |
/* System header to define __stub macros and hopefully few prototypes, |
| 12014 |
< |
which can conflict with char shl_load (); below. |
| 12015 |
< |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 12016 |
< |
<limits.h> exists even on freestanding compilers. */ |
| 12017 |
< |
|
| 12018 |
< |
#ifdef __STDC__ |
| 12019 |
< |
# include <limits.h> |
| 12020 |
< |
#else |
| 12021 |
< |
# include <assert.h> |
| 12022 |
< |
#endif |
| 11298 |
> |
ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" |
| 11299 |
> |
if test "x$ac_cv_func_shl_load" = x""yes; then : |
| 11300 |
|
|
| 11301 |
< |
#undef shl_load |
| 12025 |
< |
|
| 12026 |
< |
/* Override any GCC internal prototype to avoid an error. |
| 12027 |
< |
Use char because int might match the return type of a GCC |
| 12028 |
< |
builtin and then its argument prototype would still apply. */ |
| 12029 |
< |
#ifdef __cplusplus |
| 12030 |
< |
extern "C" |
| 12031 |
< |
#endif |
| 12032 |
< |
char shl_load (); |
| 12033 |
< |
/* The GNU C library defines this for functions which it implements |
| 12034 |
< |
to always fail with ENOSYS. Some functions are actually named |
| 12035 |
< |
something starting with __ and the normal name is an alias. */ |
| 12036 |
< |
#if defined __stub_shl_load || defined __stub___shl_load |
| 12037 |
< |
choke me |
| 12038 |
< |
#endif |
| 12039 |
< |
|
| 12040 |
< |
int |
| 12041 |
< |
main () |
| 12042 |
< |
{ |
| 12043 |
< |
return shl_load (); |
| 12044 |
< |
; |
| 12045 |
< |
return 0; |
| 12046 |
< |
} |
| 12047 |
< |
_ACEOF |
| 12048 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 12049 |
< |
if { (ac_try="$ac_link" |
| 12050 |
< |
case "(($ac_try" in |
| 12051 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 12052 |
< |
*) ac_try_echo=$ac_try;; |
| 12053 |
< |
esac |
| 12054 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 12055 |
< |
$as_echo "$ac_try_echo") >&5 |
| 12056 |
< |
(eval "$ac_link") 2>conftest.er1 |
| 12057 |
< |
ac_status=$? |
| 12058 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
| 12059 |
< |
rm -f conftest.er1 |
| 12060 |
< |
cat conftest.err >&5 |
| 12061 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 12062 |
< |
(exit $ac_status); } && { |
| 12063 |
< |
test -z "$ac_c_werror_flag" || |
| 12064 |
< |
test ! -s conftest.err |
| 12065 |
< |
} && test -s conftest$ac_exeext && { |
| 12066 |
< |
test "$cross_compiling" = yes || |
| 12067 |
< |
$as_test_x conftest$ac_exeext |
| 12068 |
< |
}; then |
| 12069 |
< |
ac_cv_func_shl_load=yes |
| 12070 |
< |
else |
| 12071 |
< |
$as_echo "$as_me: failed program was:" >&5 |
| 12072 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 12073 |
< |
|
| 12074 |
< |
ac_cv_func_shl_load=no |
| 12075 |
< |
fi |
| 12076 |
< |
|
| 12077 |
< |
rm -rf conftest.dSYM |
| 12078 |
< |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 12079 |
< |
conftest$ac_exeext conftest.$ac_ext |
| 12080 |
< |
fi |
| 12081 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 |
| 12082 |
< |
$as_echo "$ac_cv_func_shl_load" >&6; } |
| 12083 |
< |
if test "x$ac_cv_func_shl_load" = x""yes; then |
| 12084 |
< |
|
| 12085 |
< |
cat >>confdefs.h <<\_ACEOF |
| 12086 |
< |
#define HAVE_SHL_LOAD 1 |
| 12087 |
< |
_ACEOF |
| 11301 |
> |
$as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h |
| 11302 |
|
|
| 11303 |
|
LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la" |
| 11304 |
|
else |
| 11305 |
< |
{ $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 |
| 11305 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 |
| 11306 |
|
$as_echo_n "checking for shl_load in -ldld... " >&6; } |
| 11307 |
< |
if test "${ac_cv_lib_dld_shl_load+set}" = set; then |
| 11307 |
> |
if test "${ac_cv_lib_dld_shl_load+set}" = set; then : |
| 11308 |
|
$as_echo_n "(cached) " >&6 |
| 11309 |
|
else |
| 11310 |
|
ac_check_lib_save_LIBS=$LIBS |
| 11311 |
|
LIBS="-ldld $LIBS" |
| 11312 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 12099 |
< |
/* confdefs.h. */ |
| 12100 |
< |
_ACEOF |
| 12101 |
< |
cat confdefs.h >>conftest.$ac_ext |
| 12102 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
| 11312 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 11313 |
|
/* end confdefs.h. */ |
| 11314 |
|
|
| 11315 |
|
/* Override any GCC internal prototype to avoid an error. |
| 11327 |
|
return 0; |
| 11328 |
|
} |
| 11329 |
|
_ACEOF |
| 11330 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 12121 |
< |
if { (ac_try="$ac_link" |
| 12122 |
< |
case "(($ac_try" in |
| 12123 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 12124 |
< |
*) ac_try_echo=$ac_try;; |
| 12125 |
< |
esac |
| 12126 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 12127 |
< |
$as_echo "$ac_try_echo") >&5 |
| 12128 |
< |
(eval "$ac_link") 2>conftest.er1 |
| 12129 |
< |
ac_status=$? |
| 12130 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
| 12131 |
< |
rm -f conftest.er1 |
| 12132 |
< |
cat conftest.err >&5 |
| 12133 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 12134 |
< |
(exit $ac_status); } && { |
| 12135 |
< |
test -z "$ac_c_werror_flag" || |
| 12136 |
< |
test ! -s conftest.err |
| 12137 |
< |
} && test -s conftest$ac_exeext && { |
| 12138 |
< |
test "$cross_compiling" = yes || |
| 12139 |
< |
$as_test_x conftest$ac_exeext |
| 12140 |
< |
}; then |
| 11330 |
> |
if ac_fn_c_try_link "$LINENO"; then : |
| 11331 |
|
ac_cv_lib_dld_shl_load=yes |
| 11332 |
|
else |
| 11333 |
< |
$as_echo "$as_me: failed program was:" >&5 |
| 12144 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 12145 |
< |
|
| 12146 |
< |
ac_cv_lib_dld_shl_load=no |
| 11333 |
> |
ac_cv_lib_dld_shl_load=no |
| 11334 |
|
fi |
| 11335 |
< |
|
| 11336 |
< |
rm -rf conftest.dSYM |
| 12150 |
< |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 12151 |
< |
conftest$ac_exeext conftest.$ac_ext |
| 11335 |
> |
rm -f core conftest.err conftest.$ac_objext \ |
| 11336 |
> |
conftest$ac_exeext conftest.$ac_ext |
| 11337 |
|
LIBS=$ac_check_lib_save_LIBS |
| 11338 |
|
fi |
| 11339 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 |
| 11339 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 |
| 11340 |
|
$as_echo "$ac_cv_lib_dld_shl_load" >&6; } |
| 11341 |
< |
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then |
| 11341 |
> |
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then : |
| 11342 |
|
|
| 11343 |
< |
cat >>confdefs.h <<\_ACEOF |
| 12159 |
< |
#define HAVE_SHL_LOAD 1 |
| 12160 |
< |
_ACEOF |
| 11343 |
> |
$as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h |
| 11344 |
|
|
| 11345 |
|
LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la" |
| 11346 |
|
LIBADD_SHL_LOAD="-ldld" |
| 11353 |
|
case $host_os in |
| 11354 |
|
darwin[1567].*) |
| 11355 |
|
# We only want this for pre-Mac OS X 10.4. |
| 11356 |
< |
{ $as_echo "$as_me:$LINENO: checking for _dyld_func_lookup" >&5 |
| 11357 |
< |
$as_echo_n "checking for _dyld_func_lookup... " >&6; } |
| 12175 |
< |
if test "${ac_cv_func__dyld_func_lookup+set}" = set; then |
| 12176 |
< |
$as_echo_n "(cached) " >&6 |
| 12177 |
< |
else |
| 12178 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 12179 |
< |
/* confdefs.h. */ |
| 12180 |
< |
_ACEOF |
| 12181 |
< |
cat confdefs.h >>conftest.$ac_ext |
| 12182 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
| 12183 |
< |
/* end confdefs.h. */ |
| 12184 |
< |
/* Define _dyld_func_lookup to an innocuous variant, in case <limits.h> declares _dyld_func_lookup. |
| 12185 |
< |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
| 12186 |
< |
#define _dyld_func_lookup innocuous__dyld_func_lookup |
| 12187 |
< |
|
| 12188 |
< |
/* System header to define __stub macros and hopefully few prototypes, |
| 12189 |
< |
which can conflict with char _dyld_func_lookup (); below. |
| 12190 |
< |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 12191 |
< |
<limits.h> exists even on freestanding compilers. */ |
| 12192 |
< |
|
| 12193 |
< |
#ifdef __STDC__ |
| 12194 |
< |
# include <limits.h> |
| 12195 |
< |
#else |
| 12196 |
< |
# include <assert.h> |
| 12197 |
< |
#endif |
| 11356 |
> |
ac_fn_c_check_func "$LINENO" "_dyld_func_lookup" "ac_cv_func__dyld_func_lookup" |
| 11357 |
> |
if test "x$ac_cv_func__dyld_func_lookup" = x""yes; then : |
| 11358 |
|
|
| 11359 |
< |
#undef _dyld_func_lookup |
| 12200 |
< |
|
| 12201 |
< |
/* Override any GCC internal prototype to avoid an error. |
| 12202 |
< |
Use char because int might match the return type of a GCC |
| 12203 |
< |
builtin and then its argument prototype would still apply. */ |
| 12204 |
< |
#ifdef __cplusplus |
| 12205 |
< |
extern "C" |
| 12206 |
< |
#endif |
| 12207 |
< |
char _dyld_func_lookup (); |
| 12208 |
< |
/* The GNU C library defines this for functions which it implements |
| 12209 |
< |
to always fail with ENOSYS. Some functions are actually named |
| 12210 |
< |
something starting with __ and the normal name is an alias. */ |
| 12211 |
< |
#if defined __stub__dyld_func_lookup || defined __stub____dyld_func_lookup |
| 12212 |
< |
choke me |
| 12213 |
< |
#endif |
| 12214 |
< |
|
| 12215 |
< |
int |
| 12216 |
< |
main () |
| 12217 |
< |
{ |
| 12218 |
< |
return _dyld_func_lookup (); |
| 12219 |
< |
; |
| 12220 |
< |
return 0; |
| 12221 |
< |
} |
| 12222 |
< |
_ACEOF |
| 12223 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 12224 |
< |
if { (ac_try="$ac_link" |
| 12225 |
< |
case "(($ac_try" in |
| 12226 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 12227 |
< |
*) ac_try_echo=$ac_try;; |
| 12228 |
< |
esac |
| 12229 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 12230 |
< |
$as_echo "$ac_try_echo") >&5 |
| 12231 |
< |
(eval "$ac_link") 2>conftest.er1 |
| 12232 |
< |
ac_status=$? |
| 12233 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
| 12234 |
< |
rm -f conftest.er1 |
| 12235 |
< |
cat conftest.err >&5 |
| 12236 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 12237 |
< |
(exit $ac_status); } && { |
| 12238 |
< |
test -z "$ac_c_werror_flag" || |
| 12239 |
< |
test ! -s conftest.err |
| 12240 |
< |
} && test -s conftest$ac_exeext && { |
| 12241 |
< |
test "$cross_compiling" = yes || |
| 12242 |
< |
$as_test_x conftest$ac_exeext |
| 12243 |
< |
}; then |
| 12244 |
< |
ac_cv_func__dyld_func_lookup=yes |
| 12245 |
< |
else |
| 12246 |
< |
$as_echo "$as_me: failed program was:" >&5 |
| 12247 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 12248 |
< |
|
| 12249 |
< |
ac_cv_func__dyld_func_lookup=no |
| 12250 |
< |
fi |
| 12251 |
< |
|
| 12252 |
< |
rm -rf conftest.dSYM |
| 12253 |
< |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 12254 |
< |
conftest$ac_exeext conftest.$ac_ext |
| 12255 |
< |
fi |
| 12256 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func__dyld_func_lookup" >&5 |
| 12257 |
< |
$as_echo "$ac_cv_func__dyld_func_lookup" >&6; } |
| 12258 |
< |
if test "x$ac_cv_func__dyld_func_lookup" = x""yes; then |
| 12259 |
< |
|
| 12260 |
< |
cat >>confdefs.h <<\_ACEOF |
| 12261 |
< |
#define HAVE_DYLD 1 |
| 12262 |
< |
_ACEOF |
| 11359 |
> |
$as_echo "#define HAVE_DYLD 1" >>confdefs.h |
| 11360 |
|
|
| 11361 |
|
LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la" |
| 11362 |
|
fi |
| 11366 |
|
LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la" |
| 11367 |
|
;; |
| 11368 |
|
cygwin* | mingw* | os2* | pw32*) |
| 11369 |
< |
{ $as_echo "$as_me:$LINENO: checking whether cygwin_conv_path is declared" >&5 |
| 11370 |
< |
$as_echo_n "checking whether cygwin_conv_path is declared... " >&6; } |
| 11371 |
< |
if test "${ac_cv_have_decl_cygwin_conv_path+set}" = set; then |
| 11372 |
< |
$as_echo_n "(cached) " >&6 |
| 12276 |
< |
else |
| 12277 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 12278 |
< |
/* confdefs.h. */ |
| 12279 |
< |
_ACEOF |
| 12280 |
< |
cat confdefs.h >>conftest.$ac_ext |
| 12281 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
| 12282 |
< |
/* end confdefs.h. */ |
| 12283 |
< |
#include <sys/cygwin.h> |
| 12284 |
< |
|
| 12285 |
< |
int |
| 12286 |
< |
main () |
| 12287 |
< |
{ |
| 12288 |
< |
#ifndef cygwin_conv_path |
| 12289 |
< |
(void) cygwin_conv_path; |
| 12290 |
< |
#endif |
| 12291 |
< |
|
| 12292 |
< |
; |
| 12293 |
< |
return 0; |
| 12294 |
< |
} |
| 12295 |
< |
_ACEOF |
| 12296 |
< |
rm -f conftest.$ac_objext |
| 12297 |
< |
if { (ac_try="$ac_compile" |
| 12298 |
< |
case "(($ac_try" in |
| 12299 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 12300 |
< |
*) ac_try_echo=$ac_try;; |
| 12301 |
< |
esac |
| 12302 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 12303 |
< |
$as_echo "$ac_try_echo") >&5 |
| 12304 |
< |
(eval "$ac_compile") 2>conftest.er1 |
| 12305 |
< |
ac_status=$? |
| 12306 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
| 12307 |
< |
rm -f conftest.er1 |
| 12308 |
< |
cat conftest.err >&5 |
| 12309 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 12310 |
< |
(exit $ac_status); } && { |
| 12311 |
< |
test -z "$ac_c_werror_flag" || |
| 12312 |
< |
test ! -s conftest.err |
| 12313 |
< |
} && test -s conftest.$ac_objext; then |
| 12314 |
< |
ac_cv_have_decl_cygwin_conv_path=yes |
| 11369 |
> |
ac_fn_c_check_decl "$LINENO" "cygwin_conv_path" "ac_cv_have_decl_cygwin_conv_path" "#include <sys/cygwin.h> |
| 11370 |
> |
" |
| 11371 |
> |
if test "x$ac_cv_have_decl_cygwin_conv_path" = x""yes; then : |
| 11372 |
> |
ac_have_decl=1 |
| 11373 |
|
else |
| 11374 |
< |
$as_echo "$as_me: failed program was:" >&5 |
| 12317 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 12318 |
< |
|
| 12319 |
< |
ac_cv_have_decl_cygwin_conv_path=no |
| 12320 |
< |
fi |
| 12321 |
< |
|
| 12322 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 11374 |
> |
ac_have_decl=0 |
| 11375 |
|
fi |
| 12324 |
– |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_cygwin_conv_path" >&5 |
| 12325 |
– |
$as_echo "$ac_cv_have_decl_cygwin_conv_path" >&6; } |
| 12326 |
– |
if test "x$ac_cv_have_decl_cygwin_conv_path" = x""yes; then |
| 11376 |
|
|
| 11377 |
|
cat >>confdefs.h <<_ACEOF |
| 11378 |
< |
#define HAVE_DECL_CYGWIN_CONV_PATH 1 |
| 12330 |
< |
_ACEOF |
| 12331 |
< |
|
| 12332 |
< |
|
| 12333 |
< |
else |
| 12334 |
< |
cat >>confdefs.h <<_ACEOF |
| 12335 |
< |
#define HAVE_DECL_CYGWIN_CONV_PATH 0 |
| 11378 |
> |
#define HAVE_DECL_CYGWIN_CONV_PATH $ac_have_decl |
| 11379 |
|
_ACEOF |
| 11380 |
|
|
| 12338 |
– |
|
| 12339 |
– |
fi |
| 12340 |
– |
|
| 12341 |
– |
|
| 11381 |
|
LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la" |
| 11382 |
|
;; |
| 11383 |
|
esac |
| 11384 |
|
|
| 11385 |
< |
{ $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 |
| 11385 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 |
| 11386 |
|
$as_echo_n "checking for dld_link in -ldld... " >&6; } |
| 11387 |
< |
if test "${ac_cv_lib_dld_dld_link+set}" = set; then |
| 11387 |
> |
if test "${ac_cv_lib_dld_dld_link+set}" = set; then : |
| 11388 |
|
$as_echo_n "(cached) " >&6 |
| 11389 |
|
else |
| 11390 |
|
ac_check_lib_save_LIBS=$LIBS |
| 11391 |
|
LIBS="-ldld $LIBS" |
| 11392 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 12354 |
< |
/* confdefs.h. */ |
| 12355 |
< |
_ACEOF |
| 12356 |
< |
cat confdefs.h >>conftest.$ac_ext |
| 12357 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
| 11392 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 11393 |
|
/* end confdefs.h. */ |
| 11394 |
|
|
| 11395 |
|
/* Override any GCC internal prototype to avoid an error. |
| 11407 |
|
return 0; |
| 11408 |
|
} |
| 11409 |
|
_ACEOF |
| 11410 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 12376 |
< |
if { (ac_try="$ac_link" |
| 12377 |
< |
case "(($ac_try" in |
| 12378 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 12379 |
< |
*) ac_try_echo=$ac_try;; |
| 12380 |
< |
esac |
| 12381 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 12382 |
< |
$as_echo "$ac_try_echo") >&5 |
| 12383 |
< |
(eval "$ac_link") 2>conftest.er1 |
| 12384 |
< |
ac_status=$? |
| 12385 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
| 12386 |
< |
rm -f conftest.er1 |
| 12387 |
< |
cat conftest.err >&5 |
| 12388 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 12389 |
< |
(exit $ac_status); } && { |
| 12390 |
< |
test -z "$ac_c_werror_flag" || |
| 12391 |
< |
test ! -s conftest.err |
| 12392 |
< |
} && test -s conftest$ac_exeext && { |
| 12393 |
< |
test "$cross_compiling" = yes || |
| 12394 |
< |
$as_test_x conftest$ac_exeext |
| 12395 |
< |
}; then |
| 11410 |
> |
if ac_fn_c_try_link "$LINENO"; then : |
| 11411 |
|
ac_cv_lib_dld_dld_link=yes |
| 11412 |
|
else |
| 11413 |
< |
$as_echo "$as_me: failed program was:" >&5 |
| 12399 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 12400 |
< |
|
| 12401 |
< |
ac_cv_lib_dld_dld_link=no |
| 11413 |
> |
ac_cv_lib_dld_dld_link=no |
| 11414 |
|
fi |
| 11415 |
< |
|
| 11416 |
< |
rm -rf conftest.dSYM |
| 12405 |
< |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 12406 |
< |
conftest$ac_exeext conftest.$ac_ext |
| 11415 |
> |
rm -f core conftest.err conftest.$ac_objext \ |
| 11416 |
> |
conftest$ac_exeext conftest.$ac_ext |
| 11417 |
|
LIBS=$ac_check_lib_save_LIBS |
| 11418 |
|
fi |
| 11419 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 |
| 11419 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 |
| 11420 |
|
$as_echo "$ac_cv_lib_dld_dld_link" >&6; } |
| 11421 |
< |
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then |
| 11421 |
> |
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then : |
| 11422 |
|
|
| 11423 |
< |
cat >>confdefs.h <<\_ACEOF |
| 12414 |
< |
#define HAVE_DLD 1 |
| 12415 |
< |
_ACEOF |
| 11423 |
> |
$as_echo "#define HAVE_DLD 1" >>confdefs.h |
| 11424 |
|
|
| 11425 |
|
LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la" |
| 11426 |
|
fi |
| 11435 |
|
LT_DLPREOPEN="$LT_DLPREOPEN-dlpreopen $lt_loader " |
| 11436 |
|
done |
| 11437 |
|
|
| 11438 |
< |
cat >>confdefs.h <<\_ACEOF |
| 12431 |
< |
#define HAVE_LIBDLLOADER 1 |
| 12432 |
< |
_ACEOF |
| 11438 |
> |
$as_echo "#define HAVE_LIBDLLOADER 1" >>confdefs.h |
| 11439 |
|
|
| 11440 |
|
fi |
| 11441 |
|
|
| 11450 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 11451 |
|
|
| 11452 |
|
|
| 11453 |
< |
{ $as_echo "$as_me:$LINENO: checking for _ prefix in compiled symbols" >&5 |
| 11453 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ prefix in compiled symbols" >&5 |
| 11454 |
|
$as_echo_n "checking for _ prefix in compiled symbols... " >&6; } |
| 11455 |
< |
if test "${lt_cv_sys_symbol_underscore+set}" = set; then |
| 11455 |
> |
if test "${lt_cv_sys_symbol_underscore+set}" = set; then : |
| 11456 |
|
$as_echo_n "(cached) " >&6 |
| 11457 |
|
else |
| 11458 |
|
lt_cv_sys_symbol_underscore=no |
| 11460 |
|
void nm_test_func(){} |
| 11461 |
|
int main(){nm_test_func;return 0;} |
| 11462 |
|
_LT_EOF |
| 11463 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 11463 |
> |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
| 11464 |
|
(eval $ac_compile) 2>&5 |
| 11465 |
|
ac_status=$? |
| 11466 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 11467 |
< |
(exit $ac_status); }; then |
| 11466 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 11467 |
> |
test $ac_status = 0; }; then |
| 11468 |
|
# Now try to grab the symbols. |
| 11469 |
|
ac_nlist=conftest.nm |
| 11470 |
< |
if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist\"") >&5 |
| 11470 |
> |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist\""; } >&5 |
| 11471 |
|
(eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) 2>&5 |
| 11472 |
|
ac_status=$? |
| 11473 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 11474 |
< |
(exit $ac_status); } && test -s "$ac_nlist"; then |
| 11473 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 11474 |
> |
test $ac_status = 0; } && test -s "$ac_nlist"; then |
| 11475 |
|
# See whether the symbols have a leading underscore. |
| 11476 |
|
if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then |
| 11477 |
|
lt_cv_sys_symbol_underscore=yes |
| 11492 |
|
rm -rf conftest* |
| 11493 |
|
|
| 11494 |
|
fi |
| 11495 |
< |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_sys_symbol_underscore" >&5 |
| 11495 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_symbol_underscore" >&5 |
| 11496 |
|
$as_echo "$lt_cv_sys_symbol_underscore" >&6; } |
| 11497 |
|
sys_symbol_underscore=$lt_cv_sys_symbol_underscore |
| 11498 |
|
|
| 11500 |
|
if test x"$lt_cv_sys_symbol_underscore" = xyes; then |
| 11501 |
|
if test x"$libltdl_cv_func_dlopen" = xyes || |
| 11502 |
|
test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then |
| 11503 |
< |
{ $as_echo "$as_me:$LINENO: checking whether we have to add an underscore for dlsym" >&5 |
| 11503 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5 |
| 11504 |
|
$as_echo_n "checking whether we have to add an underscore for dlsym... " >&6; } |
| 11505 |
< |
if test "${libltdl_cv_need_uscore+set}" = set; then |
| 11505 |
> |
if test "${libltdl_cv_need_uscore+set}" = set; then : |
| 11506 |
|
$as_echo_n "(cached) " >&6 |
| 11507 |
|
else |
| 11508 |
|
libltdl_cv_need_uscore=unknown |
| 11514 |
|
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
| 11515 |
|
lt_status=$lt_dlunknown |
| 11516 |
|
cat > conftest.$ac_ext <<_LT_EOF |
| 11517 |
< |
#line 12511 "configure" |
| 11517 |
> |
#line 11517 "configure" |
| 11518 |
|
#include "confdefs.h" |
| 11519 |
|
|
| 11520 |
|
#if HAVE_DLFCN_H |
| 11573 |
|
return status; |
| 11574 |
|
} |
| 11575 |
|
_LT_EOF |
| 11576 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 11576 |
> |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 |
| 11577 |
|
(eval $ac_link) 2>&5 |
| 11578 |
|
ac_status=$? |
| 11579 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 11580 |
< |
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then |
| 11579 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 11580 |
> |
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then |
| 11581 |
|
(./conftest; exit; ) >&5 2>/dev/null |
| 11582 |
|
lt_status=$? |
| 11583 |
|
case x$lt_status in |
| 11595 |
|
LIBS="$save_LIBS" |
| 11596 |
|
|
| 11597 |
|
fi |
| 11598 |
< |
{ $as_echo "$as_me:$LINENO: result: $libltdl_cv_need_uscore" >&5 |
| 11598 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_need_uscore" >&5 |
| 11599 |
|
$as_echo "$libltdl_cv_need_uscore" >&6; } |
| 11600 |
|
fi |
| 11601 |
|
fi |
| 11602 |
|
|
| 11603 |
|
if test x"$libltdl_cv_need_uscore" = xyes; then |
| 11604 |
|
|
| 11605 |
< |
cat >>confdefs.h <<\_ACEOF |
| 12600 |
< |
#define NEED_USCORE 1 |
| 12601 |
< |
_ACEOF |
| 11605 |
> |
$as_echo "#define NEED_USCORE 1" >>confdefs.h |
| 11606 |
|
|
| 11607 |
|
fi |
| 11608 |
|
|
| 11609 |
< |
{ $as_echo "$as_me:$LINENO: checking whether deplibs are loaded by dlopen" >&5 |
| 11609 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether deplibs are loaded by dlopen" >&5 |
| 11610 |
|
$as_echo_n "checking whether deplibs are loaded by dlopen... " >&6; } |
| 11611 |
< |
if test "${lt_cv_sys_dlopen_deplibs+set}" = set; then |
| 11611 |
> |
if test "${lt_cv_sys_dlopen_deplibs+set}" = set; then : |
| 11612 |
|
$as_echo_n "(cached) " >&6 |
| 11613 |
|
else |
| 11614 |
|
# PORTME does your system automatically load deplibs for dlopen? |
| 11700 |
|
esac |
| 11701 |
|
|
| 11702 |
|
fi |
| 11703 |
< |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_sys_dlopen_deplibs" >&5 |
| 11703 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlopen_deplibs" >&5 |
| 11704 |
|
$as_echo "$lt_cv_sys_dlopen_deplibs" >&6; } |
| 11705 |
|
if test "$lt_cv_sys_dlopen_deplibs" != yes; then |
| 11706 |
|
|
| 11707 |
< |
cat >>confdefs.h <<\_ACEOF |
| 12704 |
< |
#define LTDL_DLOPEN_DEPLIBS 1 |
| 12705 |
< |
_ACEOF |
| 11707 |
> |
$as_echo "#define LTDL_DLOPEN_DEPLIBS 1" >>confdefs.h |
| 11708 |
|
|
| 11709 |
|
fi |
| 11710 |
|
|
| 11711 |
|
: |
| 11712 |
|
|
| 12711 |
– |
|
| 11713 |
|
for ac_header in argz.h |
| 11714 |
< |
do |
| 11715 |
< |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 11716 |
< |
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 11717 |
< |
$as_echo_n "checking for $ac_header... " >&6; } |
| 12717 |
< |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 12718 |
< |
$as_echo_n "(cached) " >&6 |
| 12719 |
< |
else |
| 12720 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 12721 |
< |
/* confdefs.h. */ |
| 12722 |
< |
_ACEOF |
| 12723 |
< |
cat confdefs.h >>conftest.$ac_ext |
| 12724 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
| 12725 |
< |
/* end confdefs.h. */ |
| 12726 |
< |
$ac_includes_default |
| 12727 |
< |
|
| 12728 |
< |
#include <$ac_header> |
| 12729 |
< |
_ACEOF |
| 12730 |
< |
rm -f conftest.$ac_objext |
| 12731 |
< |
if { (ac_try="$ac_compile" |
| 12732 |
< |
case "(($ac_try" in |
| 12733 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 12734 |
< |
*) ac_try_echo=$ac_try;; |
| 12735 |
< |
esac |
| 12736 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 12737 |
< |
$as_echo "$ac_try_echo") >&5 |
| 12738 |
< |
(eval "$ac_compile") 2>conftest.er1 |
| 12739 |
< |
ac_status=$? |
| 12740 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
| 12741 |
< |
rm -f conftest.er1 |
| 12742 |
< |
cat conftest.err >&5 |
| 12743 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 12744 |
< |
(exit $ac_status); } && { |
| 12745 |
< |
test -z "$ac_c_werror_flag" || |
| 12746 |
< |
test ! -s conftest.err |
| 12747 |
< |
} && test -s conftest.$ac_objext; then |
| 12748 |
< |
eval "$as_ac_Header=yes" |
| 12749 |
< |
else |
| 12750 |
< |
$as_echo "$as_me: failed program was:" >&5 |
| 12751 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 12752 |
< |
|
| 12753 |
< |
eval "$as_ac_Header=no" |
| 12754 |
< |
fi |
| 12755 |
< |
|
| 12756 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 12757 |
< |
fi |
| 12758 |
< |
ac_res=`eval 'as_val=${'$as_ac_Header'} |
| 12759 |
< |
$as_echo "$as_val"'` |
| 12760 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 12761 |
< |
$as_echo "$ac_res" >&6; } |
| 12762 |
< |
as_val=`eval 'as_val=${'$as_ac_Header'} |
| 12763 |
< |
$as_echo "$as_val"'` |
| 12764 |
< |
if test "x$as_val" = x""yes; then |
| 11714 |
> |
do : |
| 11715 |
> |
ac_fn_c_check_header_compile "$LINENO" "argz.h" "ac_cv_header_argz_h" "$ac_includes_default |
| 11716 |
> |
" |
| 11717 |
> |
if test "x$ac_cv_header_argz_h" = x""yes; then : |
| 11718 |
|
cat >>confdefs.h <<_ACEOF |
| 11719 |
< |
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 11719 |
> |
#define HAVE_ARGZ_H 1 |
| 11720 |
|
_ACEOF |
| 11721 |
|
|
| 11722 |
|
fi |
| 11724 |
|
done |
| 11725 |
|
|
| 11726 |
|
|
| 11727 |
< |
{ $as_echo "$as_me:$LINENO: checking for error_t" >&5 |
| 12775 |
< |
$as_echo_n "checking for error_t... " >&6; } |
| 12776 |
< |
if test "${ac_cv_type_error_t+set}" = set; then |
| 12777 |
< |
$as_echo_n "(cached) " >&6 |
| 12778 |
< |
else |
| 12779 |
< |
ac_cv_type_error_t=no |
| 12780 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 12781 |
< |
/* confdefs.h. */ |
| 12782 |
< |
_ACEOF |
| 12783 |
< |
cat confdefs.h >>conftest.$ac_ext |
| 12784 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
| 12785 |
< |
/* end confdefs.h. */ |
| 12786 |
< |
#if defined(HAVE_ARGZ_H) |
| 12787 |
< |
# include <argz.h> |
| 12788 |
< |
#endif |
| 12789 |
< |
|
| 12790 |
< |
int |
| 12791 |
< |
main () |
| 12792 |
< |
{ |
| 12793 |
< |
if (sizeof (error_t)) |
| 12794 |
< |
return 0; |
| 12795 |
< |
; |
| 12796 |
< |
return 0; |
| 12797 |
< |
} |
| 12798 |
< |
_ACEOF |
| 12799 |
< |
rm -f conftest.$ac_objext |
| 12800 |
< |
if { (ac_try="$ac_compile" |
| 12801 |
< |
case "(($ac_try" in |
| 12802 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 12803 |
< |
*) ac_try_echo=$ac_try;; |
| 12804 |
< |
esac |
| 12805 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 12806 |
< |
$as_echo "$ac_try_echo") >&5 |
| 12807 |
< |
(eval "$ac_compile") 2>conftest.er1 |
| 12808 |
< |
ac_status=$? |
| 12809 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
| 12810 |
< |
rm -f conftest.er1 |
| 12811 |
< |
cat conftest.err >&5 |
| 12812 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 12813 |
< |
(exit $ac_status); } && { |
| 12814 |
< |
test -z "$ac_c_werror_flag" || |
| 12815 |
< |
test ! -s conftest.err |
| 12816 |
< |
} && test -s conftest.$ac_objext; then |
| 12817 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 12818 |
< |
/* confdefs.h. */ |
| 12819 |
< |
_ACEOF |
| 12820 |
< |
cat confdefs.h >>conftest.$ac_ext |
| 12821 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
| 12822 |
< |
/* end confdefs.h. */ |
| 12823 |
< |
#if defined(HAVE_ARGZ_H) |
| 11727 |
> |
ac_fn_c_check_type "$LINENO" "error_t" "ac_cv_type_error_t" "#if defined(HAVE_ARGZ_H) |
| 11728 |
|
# include <argz.h> |
| 11729 |
|
#endif |
| 11730 |
< |
|
| 11731 |
< |
int |
| 12828 |
< |
main () |
| 12829 |
< |
{ |
| 12830 |
< |
if (sizeof ((error_t))) |
| 12831 |
< |
return 0; |
| 12832 |
< |
; |
| 12833 |
< |
return 0; |
| 12834 |
< |
} |
| 12835 |
< |
_ACEOF |
| 12836 |
< |
rm -f conftest.$ac_objext |
| 12837 |
< |
if { (ac_try="$ac_compile" |
| 12838 |
< |
case "(($ac_try" in |
| 12839 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 12840 |
< |
*) ac_try_echo=$ac_try;; |
| 12841 |
< |
esac |
| 12842 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 12843 |
< |
$as_echo "$ac_try_echo") >&5 |
| 12844 |
< |
(eval "$ac_compile") 2>conftest.er1 |
| 12845 |
< |
ac_status=$? |
| 12846 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
| 12847 |
< |
rm -f conftest.er1 |
| 12848 |
< |
cat conftest.err >&5 |
| 12849 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 12850 |
< |
(exit $ac_status); } && { |
| 12851 |
< |
test -z "$ac_c_werror_flag" || |
| 12852 |
< |
test ! -s conftest.err |
| 12853 |
< |
} && test -s conftest.$ac_objext; then |
| 12854 |
< |
: |
| 12855 |
< |
else |
| 12856 |
< |
$as_echo "$as_me: failed program was:" >&5 |
| 12857 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 12858 |
< |
|
| 12859 |
< |
ac_cv_type_error_t=yes |
| 12860 |
< |
fi |
| 12861 |
< |
|
| 12862 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 12863 |
< |
else |
| 12864 |
< |
$as_echo "$as_me: failed program was:" >&5 |
| 12865 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 12866 |
< |
|
| 12867 |
< |
|
| 12868 |
< |
fi |
| 12869 |
< |
|
| 12870 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 12871 |
< |
fi |
| 12872 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_error_t" >&5 |
| 12873 |
< |
$as_echo "$ac_cv_type_error_t" >&6; } |
| 12874 |
< |
if test "x$ac_cv_type_error_t" = x""yes; then |
| 11730 |
> |
" |
| 11731 |
> |
if test "x$ac_cv_type_error_t" = x""yes; then : |
| 11732 |
|
|
| 11733 |
|
cat >>confdefs.h <<_ACEOF |
| 11734 |
|
#define HAVE_ERROR_T 1 |
| 11737 |
|
|
| 11738 |
|
else |
| 11739 |
|
|
| 11740 |
< |
cat >>confdefs.h <<\_ACEOF |
| 12884 |
< |
#define error_t int |
| 12885 |
< |
_ACEOF |
| 11740 |
> |
$as_echo "#define error_t int" >>confdefs.h |
| 11741 |
|
|
| 11742 |
|
|
| 11743 |
< |
cat >>confdefs.h <<\_ACEOF |
| 12889 |
< |
#define __error_t_defined 1 |
| 12890 |
< |
_ACEOF |
| 11743 |
> |
$as_echo "#define __error_t_defined 1" >>confdefs.h |
| 11744 |
|
|
| 11745 |
|
fi |
| 11746 |
|
|
| 11747 |
|
|
| 11748 |
|
ARGZ_H= |
| 12896 |
– |
|
| 12897 |
– |
|
| 12898 |
– |
|
| 12899 |
– |
|
| 12900 |
– |
|
| 12901 |
– |
|
| 12902 |
– |
|
| 11749 |
|
for ac_func in argz_add argz_append argz_count argz_create_sep argz_insert \ |
| 11750 |
|
argz_next argz_stringify |
| 11751 |
< |
do |
| 11752 |
< |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 11753 |
< |
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 11754 |
< |
$as_echo_n "checking for $ac_func... " >&6; } |
| 11755 |
< |
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
| 12910 |
< |
$as_echo_n "(cached) " >&6 |
| 12911 |
< |
else |
| 12912 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 12913 |
< |
/* confdefs.h. */ |
| 12914 |
< |
_ACEOF |
| 12915 |
< |
cat confdefs.h >>conftest.$ac_ext |
| 12916 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
| 12917 |
< |
/* end confdefs.h. */ |
| 12918 |
< |
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
| 12919 |
< |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
| 12920 |
< |
#define $ac_func innocuous_$ac_func |
| 12921 |
< |
|
| 12922 |
< |
/* System header to define __stub macros and hopefully few prototypes, |
| 12923 |
< |
which can conflict with char $ac_func (); below. |
| 12924 |
< |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 12925 |
< |
<limits.h> exists even on freestanding compilers. */ |
| 12926 |
< |
|
| 12927 |
< |
#ifdef __STDC__ |
| 12928 |
< |
# include <limits.h> |
| 12929 |
< |
#else |
| 12930 |
< |
# include <assert.h> |
| 12931 |
< |
#endif |
| 12932 |
< |
|
| 12933 |
< |
#undef $ac_func |
| 12934 |
< |
|
| 12935 |
< |
/* Override any GCC internal prototype to avoid an error. |
| 12936 |
< |
Use char because int might match the return type of a GCC |
| 12937 |
< |
builtin and then its argument prototype would still apply. */ |
| 12938 |
< |
#ifdef __cplusplus |
| 12939 |
< |
extern "C" |
| 12940 |
< |
#endif |
| 12941 |
< |
char $ac_func (); |
| 12942 |
< |
/* The GNU C library defines this for functions which it implements |
| 12943 |
< |
to always fail with ENOSYS. Some functions are actually named |
| 12944 |
< |
something starting with __ and the normal name is an alias. */ |
| 12945 |
< |
#if defined __stub_$ac_func || defined __stub___$ac_func |
| 12946 |
< |
choke me |
| 12947 |
< |
#endif |
| 12948 |
< |
|
| 12949 |
< |
int |
| 12950 |
< |
main () |
| 12951 |
< |
{ |
| 12952 |
< |
return $ac_func (); |
| 12953 |
< |
; |
| 12954 |
< |
return 0; |
| 12955 |
< |
} |
| 12956 |
< |
_ACEOF |
| 12957 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 12958 |
< |
if { (ac_try="$ac_link" |
| 12959 |
< |
case "(($ac_try" in |
| 12960 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 12961 |
< |
*) ac_try_echo=$ac_try;; |
| 12962 |
< |
esac |
| 12963 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 12964 |
< |
$as_echo "$ac_try_echo") >&5 |
| 12965 |
< |
(eval "$ac_link") 2>conftest.er1 |
| 12966 |
< |
ac_status=$? |
| 12967 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
| 12968 |
< |
rm -f conftest.er1 |
| 12969 |
< |
cat conftest.err >&5 |
| 12970 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 12971 |
< |
(exit $ac_status); } && { |
| 12972 |
< |
test -z "$ac_c_werror_flag" || |
| 12973 |
< |
test ! -s conftest.err |
| 12974 |
< |
} && test -s conftest$ac_exeext && { |
| 12975 |
< |
test "$cross_compiling" = yes || |
| 12976 |
< |
$as_test_x conftest$ac_exeext |
| 12977 |
< |
}; then |
| 12978 |
< |
eval "$as_ac_var=yes" |
| 12979 |
< |
else |
| 12980 |
< |
$as_echo "$as_me: failed program was:" >&5 |
| 12981 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 12982 |
< |
|
| 12983 |
< |
eval "$as_ac_var=no" |
| 12984 |
< |
fi |
| 12985 |
< |
|
| 12986 |
< |
rm -rf conftest.dSYM |
| 12987 |
< |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 12988 |
< |
conftest$ac_exeext conftest.$ac_ext |
| 12989 |
< |
fi |
| 12990 |
< |
ac_res=`eval 'as_val=${'$as_ac_var'} |
| 12991 |
< |
$as_echo "$as_val"'` |
| 12992 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 12993 |
< |
$as_echo "$ac_res" >&6; } |
| 12994 |
< |
as_val=`eval 'as_val=${'$as_ac_var'} |
| 12995 |
< |
$as_echo "$as_val"'` |
| 12996 |
< |
if test "x$as_val" = x""yes; then |
| 11751 |
> |
do : |
| 11752 |
> |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 11753 |
> |
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
| 11754 |
> |
eval as_val=\$$as_ac_var |
| 11755 |
> |
if test "x$as_val" = x""yes; then : |
| 11756 |
|
cat >>confdefs.h <<_ACEOF |
| 11757 |
|
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 11758 |
|
_ACEOF |
| 11766 |
|
done |
| 11767 |
|
|
| 11768 |
|
|
| 11769 |
< |
if test -z "$ARGZ_H"; then |
| 11770 |
< |
{ $as_echo "$as_me:$LINENO: checking if argz actually works" >&5 |
| 11769 |
> |
if test -z "$ARGZ_H"; then : |
| 11770 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if argz actually works" >&5 |
| 11771 |
|
$as_echo_n "checking if argz actually works... " >&6; } |
| 11772 |
< |
if test "${lt_cv_sys_argz_works+set}" = set; then |
| 11772 |
> |
if test "${lt_cv_sys_argz_works+set}" = set; then : |
| 11773 |
|
$as_echo_n "(cached) " >&6 |
| 11774 |
|
else |
| 11775 |
|
case $host_os in #( |
| 11798 |
|
*) lt_cv_sys_argz_works=yes ;; |
| 11799 |
|
esac |
| 11800 |
|
fi |
| 11801 |
< |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_sys_argz_works" >&5 |
| 11801 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_argz_works" >&5 |
| 11802 |
|
$as_echo "$lt_cv_sys_argz_works" >&6; } |
| 11803 |
< |
if test $lt_cv_sys_argz_works = yes; then |
| 11803 |
> |
if test $lt_cv_sys_argz_works = yes; then : |
| 11804 |
|
|
| 11805 |
< |
cat >>confdefs.h <<\_ACEOF |
| 13047 |
< |
#define HAVE_WORKING_ARGZ 1 |
| 13048 |
< |
_ACEOF |
| 11805 |
> |
$as_echo "#define HAVE_WORKING_ARGZ 1" >>confdefs.h |
| 11806 |
|
|
| 11807 |
|
else |
| 11808 |
|
ARGZ_H=argz.h |
| 11811 |
|
_LT_LIBOBJS="$_LT_LIBOBJS argz.$ac_objext" |
| 11812 |
|
|
| 11813 |
|
fi |
| 13057 |
– |
|
| 11814 |
|
fi |
| 11815 |
|
|
| 11816 |
|
|
| 11817 |
|
|
| 11818 |
< |
|
| 13063 |
< |
{ $as_echo "$as_me:$LINENO: checking whether libtool supports -dlopen/-dlpreopen" >&5 |
| 11818 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libtool supports -dlopen/-dlpreopen" >&5 |
| 11819 |
|
$as_echo_n "checking whether libtool supports -dlopen/-dlpreopen... " >&6; } |
| 11820 |
< |
if test "${libltdl_cv_preloaded_symbols+set}" = set; then |
| 11820 |
> |
if test "${libltdl_cv_preloaded_symbols+set}" = set; then : |
| 11821 |
|
$as_echo_n "(cached) " >&6 |
| 11822 |
|
else |
| 11823 |
|
if test -n "$lt_cv_sys_global_symbol_pipe"; then |
| 11827 |
|
fi |
| 11828 |
|
|
| 11829 |
|
fi |
| 11830 |
< |
{ $as_echo "$as_me:$LINENO: result: $libltdl_cv_preloaded_symbols" >&5 |
| 11830 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_preloaded_symbols" >&5 |
| 11831 |
|
$as_echo "$libltdl_cv_preloaded_symbols" >&6; } |
| 11832 |
|
if test x"$libltdl_cv_preloaded_symbols" = xyes; then |
| 11833 |
|
|
| 11834 |
< |
cat >>confdefs.h <<\_ACEOF |
| 13080 |
< |
#define HAVE_PRELOADED_SYMBOLS 1 |
| 13081 |
< |
_ACEOF |
| 11834 |
> |
$as_echo "#define HAVE_PRELOADED_SYMBOLS 1" >>confdefs.h |
| 11835 |
|
|
| 11836 |
|
fi |
| 11837 |
|
|
| 11851 |
|
|
| 11852 |
|
|
| 11853 |
|
# Check whether --with-included_ltdl was given. |
| 11854 |
< |
if test "${with_included_ltdl+set}" = set; then |
| 11854 |
> |
if test "${with_included_ltdl+set}" = set; then : |
| 11855 |
|
withval=$with_included_ltdl; |
| 11856 |
|
fi |
| 11857 |
|
|
| 11859 |
|
if test "x$with_included_ltdl" != xyes; then |
| 11860 |
|
# We are not being forced to use the included libltdl sources, so |
| 11861 |
|
# decide whether there is a useful installed version we can use. |
| 11862 |
< |
{ $as_echo "$as_me:$LINENO: checking for ltdl.h" >&5 |
| 13110 |
< |
$as_echo_n "checking for ltdl.h... " >&6; } |
| 13111 |
< |
if test "${ac_cv_header_ltdl_h+set}" = set; then |
| 13112 |
< |
$as_echo_n "(cached) " >&6 |
| 13113 |
< |
else |
| 13114 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 13115 |
< |
/* confdefs.h. */ |
| 13116 |
< |
_ACEOF |
| 13117 |
< |
cat confdefs.h >>conftest.$ac_ext |
| 13118 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
| 13119 |
< |
/* end confdefs.h. */ |
| 13120 |
< |
$ac_includes_default |
| 13121 |
< |
|
| 11862 |
> |
ac_fn_c_check_header_compile "$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" "$ac_includes_default |
| 11863 |
|
|
| 11864 |
< |
#include <ltdl.h> |
| 11865 |
< |
_ACEOF |
| 11866 |
< |
rm -f conftest.$ac_objext |
| 13126 |
< |
if { (ac_try="$ac_compile" |
| 13127 |
< |
case "(($ac_try" in |
| 13128 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 13129 |
< |
*) ac_try_echo=$ac_try;; |
| 13130 |
< |
esac |
| 13131 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 13132 |
< |
$as_echo "$ac_try_echo") >&5 |
| 13133 |
< |
(eval "$ac_compile") 2>conftest.er1 |
| 13134 |
< |
ac_status=$? |
| 13135 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
| 13136 |
< |
rm -f conftest.er1 |
| 13137 |
< |
cat conftest.err >&5 |
| 13138 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13139 |
< |
(exit $ac_status); } && { |
| 13140 |
< |
test -z "$ac_c_werror_flag" || |
| 13141 |
< |
test ! -s conftest.err |
| 13142 |
< |
} && test -s conftest.$ac_objext; then |
| 13143 |
< |
ac_cv_header_ltdl_h=yes |
| 13144 |
< |
else |
| 13145 |
< |
$as_echo "$as_me: failed program was:" >&5 |
| 13146 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 13147 |
< |
|
| 13148 |
< |
ac_cv_header_ltdl_h=no |
| 13149 |
< |
fi |
| 13150 |
< |
|
| 13151 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 13152 |
< |
fi |
| 13153 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_ltdl_h" >&5 |
| 13154 |
< |
$as_echo "$ac_cv_header_ltdl_h" >&6; } |
| 13155 |
< |
if test "x$ac_cv_header_ltdl_h" = x""yes; then |
| 13156 |
< |
{ $as_echo "$as_me:$LINENO: checking whether lt_dlinterface_register is declared" >&5 |
| 13157 |
< |
$as_echo_n "checking whether lt_dlinterface_register is declared... " >&6; } |
| 13158 |
< |
if test "${ac_cv_have_decl_lt_dlinterface_register+set}" = set; then |
| 13159 |
< |
$as_echo_n "(cached) " >&6 |
| 13160 |
< |
else |
| 13161 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 13162 |
< |
/* confdefs.h. */ |
| 13163 |
< |
_ACEOF |
| 13164 |
< |
cat confdefs.h >>conftest.$ac_ext |
| 13165 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
| 13166 |
< |
/* end confdefs.h. */ |
| 13167 |
< |
$ac_includes_default |
| 11864 |
> |
" |
| 11865 |
> |
if test "x$ac_cv_header_ltdl_h" = x""yes; then : |
| 11866 |
> |
ac_fn_c_check_decl "$LINENO" "lt_dlinterface_register" "ac_cv_have_decl_lt_dlinterface_register" "$ac_includes_default |
| 11867 |
|
#include <ltdl.h> |
| 11868 |
< |
|
| 11869 |
< |
int |
| 11870 |
< |
main () |
| 13172 |
< |
{ |
| 13173 |
< |
#ifndef lt_dlinterface_register |
| 13174 |
< |
(void) lt_dlinterface_register; |
| 13175 |
< |
#endif |
| 13176 |
< |
|
| 13177 |
< |
; |
| 13178 |
< |
return 0; |
| 13179 |
< |
} |
| 13180 |
< |
_ACEOF |
| 13181 |
< |
rm -f conftest.$ac_objext |
| 13182 |
< |
if { (ac_try="$ac_compile" |
| 13183 |
< |
case "(($ac_try" in |
| 13184 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 13185 |
< |
*) ac_try_echo=$ac_try;; |
| 13186 |
< |
esac |
| 13187 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 13188 |
< |
$as_echo "$ac_try_echo") >&5 |
| 13189 |
< |
(eval "$ac_compile") 2>conftest.er1 |
| 13190 |
< |
ac_status=$? |
| 13191 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
| 13192 |
< |
rm -f conftest.er1 |
| 13193 |
< |
cat conftest.err >&5 |
| 13194 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13195 |
< |
(exit $ac_status); } && { |
| 13196 |
< |
test -z "$ac_c_werror_flag" || |
| 13197 |
< |
test ! -s conftest.err |
| 13198 |
< |
} && test -s conftest.$ac_objext; then |
| 13199 |
< |
ac_cv_have_decl_lt_dlinterface_register=yes |
| 13200 |
< |
else |
| 13201 |
< |
$as_echo "$as_me: failed program was:" >&5 |
| 13202 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 13203 |
< |
|
| 13204 |
< |
ac_cv_have_decl_lt_dlinterface_register=no |
| 13205 |
< |
fi |
| 13206 |
< |
|
| 13207 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 13208 |
< |
fi |
| 13209 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_lt_dlinterface_register" >&5 |
| 13210 |
< |
$as_echo "$ac_cv_have_decl_lt_dlinterface_register" >&6; } |
| 13211 |
< |
if test "x$ac_cv_have_decl_lt_dlinterface_register" = x""yes; then |
| 13212 |
< |
{ $as_echo "$as_me:$LINENO: checking for lt_dladvise_preload in -lltdl" >&5 |
| 11868 |
> |
" |
| 11869 |
> |
if test "x$ac_cv_have_decl_lt_dlinterface_register" = x""yes; then : |
| 11870 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for lt_dladvise_preload in -lltdl" >&5 |
| 11871 |
|
$as_echo_n "checking for lt_dladvise_preload in -lltdl... " >&6; } |
| 11872 |
< |
if test "${ac_cv_lib_ltdl_lt_dladvise_preload+set}" = set; then |
| 11872 |
> |
if test "${ac_cv_lib_ltdl_lt_dladvise_preload+set}" = set; then : |
| 11873 |
|
$as_echo_n "(cached) " >&6 |
| 11874 |
|
else |
| 11875 |
|
ac_check_lib_save_LIBS=$LIBS |
| 11876 |
|
LIBS="-lltdl $LIBS" |
| 11877 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 13220 |
< |
/* confdefs.h. */ |
| 13221 |
< |
_ACEOF |
| 13222 |
< |
cat confdefs.h >>conftest.$ac_ext |
| 13223 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
| 11877 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 11878 |
|
/* end confdefs.h. */ |
| 11879 |
|
|
| 11880 |
|
/* Override any GCC internal prototype to avoid an error. |
| 11892 |
|
return 0; |
| 11893 |
|
} |
| 11894 |
|
_ACEOF |
| 11895 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 13242 |
< |
if { (ac_try="$ac_link" |
| 13243 |
< |
case "(($ac_try" in |
| 13244 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 13245 |
< |
*) ac_try_echo=$ac_try;; |
| 13246 |
< |
esac |
| 13247 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 13248 |
< |
$as_echo "$ac_try_echo") >&5 |
| 13249 |
< |
(eval "$ac_link") 2>conftest.er1 |
| 13250 |
< |
ac_status=$? |
| 13251 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
| 13252 |
< |
rm -f conftest.er1 |
| 13253 |
< |
cat conftest.err >&5 |
| 13254 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13255 |
< |
(exit $ac_status); } && { |
| 13256 |
< |
test -z "$ac_c_werror_flag" || |
| 13257 |
< |
test ! -s conftest.err |
| 13258 |
< |
} && test -s conftest$ac_exeext && { |
| 13259 |
< |
test "$cross_compiling" = yes || |
| 13260 |
< |
$as_test_x conftest$ac_exeext |
| 13261 |
< |
}; then |
| 11895 |
> |
if ac_fn_c_try_link "$LINENO"; then : |
| 11896 |
|
ac_cv_lib_ltdl_lt_dladvise_preload=yes |
| 11897 |
|
else |
| 11898 |
< |
$as_echo "$as_me: failed program was:" >&5 |
| 13265 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 13266 |
< |
|
| 13267 |
< |
ac_cv_lib_ltdl_lt_dladvise_preload=no |
| 11898 |
> |
ac_cv_lib_ltdl_lt_dladvise_preload=no |
| 11899 |
|
fi |
| 11900 |
< |
|
| 11901 |
< |
rm -rf conftest.dSYM |
| 13271 |
< |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 13272 |
< |
conftest$ac_exeext conftest.$ac_ext |
| 11900 |
> |
rm -f core conftest.err conftest.$ac_objext \ |
| 11901 |
> |
conftest$ac_exeext conftest.$ac_ext |
| 11902 |
|
LIBS=$ac_check_lib_save_LIBS |
| 11903 |
|
fi |
| 11904 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5 |
| 11904 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5 |
| 11905 |
|
$as_echo "$ac_cv_lib_ltdl_lt_dladvise_preload" >&6; } |
| 11906 |
< |
if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = x""yes; then |
| 11906 |
> |
if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = x""yes; then : |
| 11907 |
|
with_included_ltdl=no |
| 11908 |
|
else |
| 11909 |
|
with_included_ltdl=yes |
| 11929 |
|
|
| 11930 |
|
|
| 11931 |
|
# Check whether --with-ltdl_include was given. |
| 11932 |
< |
if test "${with_ltdl_include+set}" = set; then |
| 11932 |
> |
if test "${with_ltdl_include+set}" = set; then : |
| 11933 |
|
withval=$with_ltdl_include; |
| 11934 |
|
fi |
| 11935 |
|
|
| 11937 |
|
if test -n "$with_ltdl_include"; then |
| 11938 |
|
if test -f "$with_ltdl_include/ltdl.h"; then : |
| 11939 |
|
else |
| 11940 |
< |
{ { $as_echo "$as_me:$LINENO: error: invalid ltdl include directory: \`$with_ltdl_include'" >&5 |
| 13312 |
< |
$as_echo "$as_me: error: invalid ltdl include directory: \`$with_ltdl_include'" >&2;} |
| 13313 |
< |
{ (exit 1); exit 1; }; } |
| 11940 |
> |
as_fn_error "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5 |
| 11941 |
|
fi |
| 11942 |
|
else |
| 11943 |
|
with_ltdl_include=no |
| 11945 |
|
|
| 11946 |
|
|
| 11947 |
|
# Check whether --with-ltdl_lib was given. |
| 11948 |
< |
if test "${with_ltdl_lib+set}" = set; then |
| 11948 |
> |
if test "${with_ltdl_lib+set}" = set; then : |
| 11949 |
|
withval=$with_ltdl_lib; |
| 11950 |
|
fi |
| 11951 |
|
|
| 11953 |
|
if test -n "$with_ltdl_lib"; then |
| 11954 |
|
if test -f "$with_ltdl_lib/libltdl.la"; then : |
| 11955 |
|
else |
| 11956 |
< |
{ { $as_echo "$as_me:$LINENO: error: invalid ltdl library directory: \`$with_ltdl_lib'" >&5 |
| 13330 |
< |
$as_echo "$as_me: error: invalid ltdl library directory: \`$with_ltdl_lib'" >&2;} |
| 13331 |
< |
{ (exit 1); exit 1; }; } |
| 11956 |
> |
as_fn_error "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5 |
| 11957 |
|
fi |
| 11958 |
|
else |
| 11959 |
|
with_ltdl_lib=no |
| 11962 |
|
case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in |
| 11963 |
|
,yes,no,no,) |
| 11964 |
|
case $enable_ltdl_convenience in |
| 11965 |
< |
no) { { $as_echo "$as_me:$LINENO: error: this package needs a convenience libltdl" >&5 |
| 13341 |
< |
$as_echo "$as_me: error: this package needs a convenience libltdl" >&2;} |
| 13342 |
< |
{ (exit 1); exit 1; }; } ;; |
| 11965 |
> |
no) as_fn_error "this package needs a convenience libltdl" "$LINENO" 5 ;; |
| 11966 |
|
"") enable_ltdl_convenience=yes |
| 11967 |
|
ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;; |
| 11968 |
|
esac |
| 11983 |
|
# If the included ltdl is not to be used, then use the |
| 11984 |
|
# preinstalled libltdl we found. |
| 11985 |
|
|
| 11986 |
< |
cat >>confdefs.h <<\_ACEOF |
| 13364 |
< |
#define HAVE_LTDL 1 |
| 13365 |
< |
_ACEOF |
| 11986 |
> |
$as_echo "#define HAVE_LTDL 1" >>confdefs.h |
| 11987 |
|
|
| 11988 |
|
LIBLTDL=-lltdl |
| 11989 |
|
LTDLDEPS= |
| 11990 |
|
LTDLINCL= |
| 11991 |
|
;; |
| 11992 |
|
,no*,no,*) |
| 11993 |
< |
{ { $as_echo "$as_me:$LINENO: error: \`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" >&5 |
| 13373 |
< |
$as_echo "$as_me: error: \`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" >&2;} |
| 13374 |
< |
{ (exit 1); exit 1; }; } |
| 11993 |
> |
as_fn_error "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5 |
| 11994 |
|
;; |
| 11995 |
|
*) with_included_ltdl=no |
| 11996 |
|
LIBLTDL="-L$with_ltdl_lib -lltdl" |
| 12001 |
|
INCLTDL="$LTDLINCL" |
| 12002 |
|
|
| 12003 |
|
# Report our decision... |
| 12004 |
< |
{ $as_echo "$as_me:$LINENO: checking where to find libltdl headers" >&5 |
| 12004 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find libltdl headers" >&5 |
| 12005 |
|
$as_echo_n "checking where to find libltdl headers... " >&6; } |
| 12006 |
< |
{ $as_echo "$as_me:$LINENO: result: $LTDLINCL" >&5 |
| 12006 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LTDLINCL" >&5 |
| 12007 |
|
$as_echo "$LTDLINCL" >&6; } |
| 12008 |
< |
{ $as_echo "$as_me:$LINENO: checking where to find libltdl library" >&5 |
| 12008 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find libltdl library" >&5 |
| 12009 |
|
$as_echo_n "checking where to find libltdl library... " >&6; } |
| 12010 |
< |
{ $as_echo "$as_me:$LINENO: result: $LIBLTDL" >&5 |
| 12010 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBLTDL" >&5 |
| 12011 |
|
$as_echo "$LIBLTDL" >&6; } |
| 12012 |
|
|
| 12013 |
|
|
| 12014 |
|
|
| 12015 |
|
# Check whether --enable-ltdl-install was given. |
| 12016 |
< |
if test "${enable_ltdl_install+set}" = set; then |
| 12016 |
> |
if test "${enable_ltdl_install+set}" = set; then : |
| 12017 |
|
enableval=$enable_ltdl_install; |
| 12018 |
|
fi |
| 12019 |
|
|
| 12055 |
|
|
| 12056 |
|
|
| 12057 |
|
|
| 13439 |
– |
|
| 13440 |
– |
|
| 13441 |
– |
|
| 13442 |
– |
|
| 13443 |
– |
|
| 13444 |
– |
|
| 12058 |
|
for ac_header in unistd.h dl.h sys/dl.h dld.h mach-o/dyld.h dirent.h |
| 12059 |
< |
do |
| 12060 |
< |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 12061 |
< |
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 12062 |
< |
$as_echo_n "checking for $ac_header... " >&6; } |
| 12063 |
< |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 12064 |
< |
$as_echo_n "(cached) " >&6 |
| 13452 |
< |
else |
| 13453 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 13454 |
< |
/* confdefs.h. */ |
| 13455 |
< |
_ACEOF |
| 13456 |
< |
cat confdefs.h >>conftest.$ac_ext |
| 13457 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
| 13458 |
< |
/* end confdefs.h. */ |
| 13459 |
< |
$ac_includes_default |
| 13460 |
< |
|
| 13461 |
< |
#include <$ac_header> |
| 13462 |
< |
_ACEOF |
| 13463 |
< |
rm -f conftest.$ac_objext |
| 13464 |
< |
if { (ac_try="$ac_compile" |
| 13465 |
< |
case "(($ac_try" in |
| 13466 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 13467 |
< |
*) ac_try_echo=$ac_try;; |
| 13468 |
< |
esac |
| 13469 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 13470 |
< |
$as_echo "$ac_try_echo") >&5 |
| 13471 |
< |
(eval "$ac_compile") 2>conftest.er1 |
| 13472 |
< |
ac_status=$? |
| 13473 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
| 13474 |
< |
rm -f conftest.er1 |
| 13475 |
< |
cat conftest.err >&5 |
| 13476 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13477 |
< |
(exit $ac_status); } && { |
| 13478 |
< |
test -z "$ac_c_werror_flag" || |
| 13479 |
< |
test ! -s conftest.err |
| 13480 |
< |
} && test -s conftest.$ac_objext; then |
| 13481 |
< |
eval "$as_ac_Header=yes" |
| 13482 |
< |
else |
| 13483 |
< |
$as_echo "$as_me: failed program was:" >&5 |
| 13484 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 13485 |
< |
|
| 13486 |
< |
eval "$as_ac_Header=no" |
| 13487 |
< |
fi |
| 13488 |
< |
|
| 13489 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 13490 |
< |
fi |
| 13491 |
< |
ac_res=`eval 'as_val=${'$as_ac_Header'} |
| 13492 |
< |
$as_echo "$as_val"'` |
| 13493 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 13494 |
< |
$as_echo "$ac_res" >&6; } |
| 13495 |
< |
as_val=`eval 'as_val=${'$as_ac_Header'} |
| 13496 |
< |
$as_echo "$as_val"'` |
| 13497 |
< |
if test "x$as_val" = x""yes; then |
| 12059 |
> |
do : |
| 12060 |
> |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 12061 |
> |
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
| 12062 |
> |
" |
| 12063 |
> |
eval as_val=\$$as_ac_Header |
| 12064 |
> |
if test "x$as_val" = x""yes; then : |
| 12065 |
|
cat >>confdefs.h <<_ACEOF |
| 12066 |
|
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 12067 |
|
_ACEOF |
| 12071 |
|
done |
| 12072 |
|
|
| 12073 |
|
|
| 13507 |
– |
|
| 13508 |
– |
|
| 13509 |
– |
|
| 12074 |
|
for ac_func in closedir opendir readdir |
| 12075 |
< |
do |
| 12076 |
< |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 12077 |
< |
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 12078 |
< |
$as_echo_n "checking for $ac_func... " >&6; } |
| 12079 |
< |
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
| 13516 |
< |
$as_echo_n "(cached) " >&6 |
| 13517 |
< |
else |
| 13518 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 13519 |
< |
/* confdefs.h. */ |
| 13520 |
< |
_ACEOF |
| 13521 |
< |
cat confdefs.h >>conftest.$ac_ext |
| 13522 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
| 13523 |
< |
/* end confdefs.h. */ |
| 13524 |
< |
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
| 13525 |
< |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
| 13526 |
< |
#define $ac_func innocuous_$ac_func |
| 13527 |
< |
|
| 13528 |
< |
/* System header to define __stub macros and hopefully few prototypes, |
| 13529 |
< |
which can conflict with char $ac_func (); below. |
| 13530 |
< |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 13531 |
< |
<limits.h> exists even on freestanding compilers. */ |
| 13532 |
< |
|
| 13533 |
< |
#ifdef __STDC__ |
| 13534 |
< |
# include <limits.h> |
| 13535 |
< |
#else |
| 13536 |
< |
# include <assert.h> |
| 13537 |
< |
#endif |
| 13538 |
< |
|
| 13539 |
< |
#undef $ac_func |
| 13540 |
< |
|
| 13541 |
< |
/* Override any GCC internal prototype to avoid an error. |
| 13542 |
< |
Use char because int might match the return type of a GCC |
| 13543 |
< |
builtin and then its argument prototype would still apply. */ |
| 13544 |
< |
#ifdef __cplusplus |
| 13545 |
< |
extern "C" |
| 13546 |
< |
#endif |
| 13547 |
< |
char $ac_func (); |
| 13548 |
< |
/* The GNU C library defines this for functions which it implements |
| 13549 |
< |
to always fail with ENOSYS. Some functions are actually named |
| 13550 |
< |
something starting with __ and the normal name is an alias. */ |
| 13551 |
< |
#if defined __stub_$ac_func || defined __stub___$ac_func |
| 13552 |
< |
choke me |
| 13553 |
< |
#endif |
| 13554 |
< |
|
| 13555 |
< |
int |
| 13556 |
< |
main () |
| 13557 |
< |
{ |
| 13558 |
< |
return $ac_func (); |
| 13559 |
< |
; |
| 13560 |
< |
return 0; |
| 13561 |
< |
} |
| 13562 |
< |
_ACEOF |
| 13563 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 13564 |
< |
if { (ac_try="$ac_link" |
| 13565 |
< |
case "(($ac_try" in |
| 13566 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 13567 |
< |
*) ac_try_echo=$ac_try;; |
| 13568 |
< |
esac |
| 13569 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 13570 |
< |
$as_echo "$ac_try_echo") >&5 |
| 13571 |
< |
(eval "$ac_link") 2>conftest.er1 |
| 13572 |
< |
ac_status=$? |
| 13573 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
| 13574 |
< |
rm -f conftest.er1 |
| 13575 |
< |
cat conftest.err >&5 |
| 13576 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13577 |
< |
(exit $ac_status); } && { |
| 13578 |
< |
test -z "$ac_c_werror_flag" || |
| 13579 |
< |
test ! -s conftest.err |
| 13580 |
< |
} && test -s conftest$ac_exeext && { |
| 13581 |
< |
test "$cross_compiling" = yes || |
| 13582 |
< |
$as_test_x conftest$ac_exeext |
| 13583 |
< |
}; then |
| 13584 |
< |
eval "$as_ac_var=yes" |
| 13585 |
< |
else |
| 13586 |
< |
$as_echo "$as_me: failed program was:" >&5 |
| 13587 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 13588 |
< |
|
| 13589 |
< |
eval "$as_ac_var=no" |
| 13590 |
< |
fi |
| 13591 |
< |
|
| 13592 |
< |
rm -rf conftest.dSYM |
| 13593 |
< |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 13594 |
< |
conftest$ac_exeext conftest.$ac_ext |
| 13595 |
< |
fi |
| 13596 |
< |
ac_res=`eval 'as_val=${'$as_ac_var'} |
| 13597 |
< |
$as_echo "$as_val"'` |
| 13598 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 13599 |
< |
$as_echo "$ac_res" >&6; } |
| 13600 |
< |
as_val=`eval 'as_val=${'$as_ac_var'} |
| 13601 |
< |
$as_echo "$as_val"'` |
| 13602 |
< |
if test "x$as_val" = x""yes; then |
| 12075 |
> |
do : |
| 12076 |
> |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 12077 |
> |
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
| 12078 |
> |
eval as_val=\$$as_ac_var |
| 12079 |
> |
if test "x$as_val" = x""yes; then : |
| 12080 |
|
cat >>confdefs.h <<_ACEOF |
| 12081 |
|
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 12082 |
|
_ACEOF |
| 12089 |
|
fi |
| 12090 |
|
done |
| 12091 |
|
|
| 13615 |
– |
|
| 13616 |
– |
|
| 12092 |
|
for ac_func in strlcat strlcpy |
| 12093 |
< |
do |
| 12094 |
< |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 12095 |
< |
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 12096 |
< |
$as_echo_n "checking for $ac_func... " >&6; } |
| 12097 |
< |
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
| 13623 |
< |
$as_echo_n "(cached) " >&6 |
| 13624 |
< |
else |
| 13625 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 13626 |
< |
/* confdefs.h. */ |
| 13627 |
< |
_ACEOF |
| 13628 |
< |
cat confdefs.h >>conftest.$ac_ext |
| 13629 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
| 13630 |
< |
/* end confdefs.h. */ |
| 13631 |
< |
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
| 13632 |
< |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
| 13633 |
< |
#define $ac_func innocuous_$ac_func |
| 13634 |
< |
|
| 13635 |
< |
/* System header to define __stub macros and hopefully few prototypes, |
| 13636 |
< |
which can conflict with char $ac_func (); below. |
| 13637 |
< |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 13638 |
< |
<limits.h> exists even on freestanding compilers. */ |
| 13639 |
< |
|
| 13640 |
< |
#ifdef __STDC__ |
| 13641 |
< |
# include <limits.h> |
| 13642 |
< |
#else |
| 13643 |
< |
# include <assert.h> |
| 13644 |
< |
#endif |
| 13645 |
< |
|
| 13646 |
< |
#undef $ac_func |
| 13647 |
< |
|
| 13648 |
< |
/* Override any GCC internal prototype to avoid an error. |
| 13649 |
< |
Use char because int might match the return type of a GCC |
| 13650 |
< |
builtin and then its argument prototype would still apply. */ |
| 13651 |
< |
#ifdef __cplusplus |
| 13652 |
< |
extern "C" |
| 13653 |
< |
#endif |
| 13654 |
< |
char $ac_func (); |
| 13655 |
< |
/* The GNU C library defines this for functions which it implements |
| 13656 |
< |
to always fail with ENOSYS. Some functions are actually named |
| 13657 |
< |
something starting with __ and the normal name is an alias. */ |
| 13658 |
< |
#if defined __stub_$ac_func || defined __stub___$ac_func |
| 13659 |
< |
choke me |
| 13660 |
< |
#endif |
| 13661 |
< |
|
| 13662 |
< |
int |
| 13663 |
< |
main () |
| 13664 |
< |
{ |
| 13665 |
< |
return $ac_func (); |
| 13666 |
< |
; |
| 13667 |
< |
return 0; |
| 13668 |
< |
} |
| 13669 |
< |
_ACEOF |
| 13670 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 13671 |
< |
if { (ac_try="$ac_link" |
| 13672 |
< |
case "(($ac_try" in |
| 13673 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 13674 |
< |
*) ac_try_echo=$ac_try;; |
| 13675 |
< |
esac |
| 13676 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 13677 |
< |
$as_echo "$ac_try_echo") >&5 |
| 13678 |
< |
(eval "$ac_link") 2>conftest.er1 |
| 13679 |
< |
ac_status=$? |
| 13680 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
| 13681 |
< |
rm -f conftest.er1 |
| 13682 |
< |
cat conftest.err >&5 |
| 13683 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13684 |
< |
(exit $ac_status); } && { |
| 13685 |
< |
test -z "$ac_c_werror_flag" || |
| 13686 |
< |
test ! -s conftest.err |
| 13687 |
< |
} && test -s conftest$ac_exeext && { |
| 13688 |
< |
test "$cross_compiling" = yes || |
| 13689 |
< |
$as_test_x conftest$ac_exeext |
| 13690 |
< |
}; then |
| 13691 |
< |
eval "$as_ac_var=yes" |
| 13692 |
< |
else |
| 13693 |
< |
$as_echo "$as_me: failed program was:" >&5 |
| 13694 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 13695 |
< |
|
| 13696 |
< |
eval "$as_ac_var=no" |
| 13697 |
< |
fi |
| 13698 |
< |
|
| 13699 |
< |
rm -rf conftest.dSYM |
| 13700 |
< |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 13701 |
< |
conftest$ac_exeext conftest.$ac_ext |
| 13702 |
< |
fi |
| 13703 |
< |
ac_res=`eval 'as_val=${'$as_ac_var'} |
| 13704 |
< |
$as_echo "$as_val"'` |
| 13705 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 13706 |
< |
$as_echo "$ac_res" >&6; } |
| 13707 |
< |
as_val=`eval 'as_val=${'$as_ac_var'} |
| 13708 |
< |
$as_echo "$as_val"'` |
| 13709 |
< |
if test "x$as_val" = x""yes; then |
| 12093 |
> |
do : |
| 12094 |
> |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 12095 |
> |
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
| 12096 |
> |
eval as_val=\$$as_ac_var |
| 12097 |
> |
if test "x$as_val" = x""yes; then : |
| 12098 |
|
cat >>confdefs.h <<_ACEOF |
| 12099 |
|
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 12100 |
|
_ACEOF |
| 12129 |
|
|
| 12130 |
|
LIBTOOL="$LIBTOOL --silent" |
| 12131 |
|
|
| 13744 |
– |
|
| 12132 |
|
# Checks for libraries. |
| 12133 |
|
|
| 12134 |
< |
{ $as_echo "$as_me:$LINENO: checking for library containing socket" >&5 |
| 12134 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5 |
| 12135 |
|
$as_echo_n "checking for library containing socket... " >&6; } |
| 12136 |
< |
if test "${ac_cv_search_socket+set}" = set; then |
| 12136 |
> |
if test "${ac_cv_search_socket+set}" = set; then : |
| 12137 |
|
$as_echo_n "(cached) " >&6 |
| 12138 |
|
else |
| 12139 |
|
ac_func_search_save_LIBS=$LIBS |
| 12140 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 13754 |
< |
/* confdefs.h. */ |
| 13755 |
< |
_ACEOF |
| 13756 |
< |
cat confdefs.h >>conftest.$ac_ext |
| 13757 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
| 12140 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 12141 |
|
/* end confdefs.h. */ |
| 12142 |
|
|
| 12143 |
|
/* Override any GCC internal prototype to avoid an error. |
| 12162 |
|
ac_res=-l$ac_lib |
| 12163 |
|
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 12164 |
|
fi |
| 12165 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 13783 |
< |
if { (ac_try="$ac_link" |
| 13784 |
< |
case "(($ac_try" in |
| 13785 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 13786 |
< |
*) ac_try_echo=$ac_try;; |
| 13787 |
< |
esac |
| 13788 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 13789 |
< |
$as_echo "$ac_try_echo") >&5 |
| 13790 |
< |
(eval "$ac_link") 2>conftest.er1 |
| 13791 |
< |
ac_status=$? |
| 13792 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
| 13793 |
< |
rm -f conftest.er1 |
| 13794 |
< |
cat conftest.err >&5 |
| 13795 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13796 |
< |
(exit $ac_status); } && { |
| 13797 |
< |
test -z "$ac_c_werror_flag" || |
| 13798 |
< |
test ! -s conftest.err |
| 13799 |
< |
} && test -s conftest$ac_exeext && { |
| 13800 |
< |
test "$cross_compiling" = yes || |
| 13801 |
< |
$as_test_x conftest$ac_exeext |
| 13802 |
< |
}; then |
| 12165 |
> |
if ac_fn_c_try_link "$LINENO"; then : |
| 12166 |
|
ac_cv_search_socket=$ac_res |
| 13804 |
– |
else |
| 13805 |
– |
$as_echo "$as_me: failed program was:" >&5 |
| 13806 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 13807 |
– |
|
| 13808 |
– |
|
| 12167 |
|
fi |
| 12168 |
< |
|
| 12169 |
< |
rm -rf conftest.dSYM |
| 12170 |
< |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 13813 |
< |
conftest$ac_exeext |
| 13814 |
< |
if test "${ac_cv_search_socket+set}" = set; then |
| 12168 |
> |
rm -f core conftest.err conftest.$ac_objext \ |
| 12169 |
> |
conftest$ac_exeext |
| 12170 |
> |
if test "${ac_cv_search_socket+set}" = set; then : |
| 12171 |
|
break |
| 12172 |
|
fi |
| 12173 |
|
done |
| 12174 |
< |
if test "${ac_cv_search_socket+set}" = set; then |
| 12175 |
< |
: |
| 12174 |
> |
if test "${ac_cv_search_socket+set}" = set; then : |
| 12175 |
> |
|
| 12176 |
|
else |
| 12177 |
|
ac_cv_search_socket=no |
| 12178 |
|
fi |
| 12179 |
|
rm conftest.$ac_ext |
| 12180 |
|
LIBS=$ac_func_search_save_LIBS |
| 12181 |
|
fi |
| 12182 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_socket" >&5 |
| 12182 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5 |
| 12183 |
|
$as_echo "$ac_cv_search_socket" >&6; } |
| 12184 |
|
ac_res=$ac_cv_search_socket |
| 12185 |
< |
if test "$ac_res" != no; then |
| 12185 |
> |
if test "$ac_res" != no; then : |
| 12186 |
|
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 12187 |
|
|
| 12188 |
|
else |
| 12189 |
< |
{ { $as_echo "$as_me:$LINENO: error: socket library not found" >&5 |
| 13834 |
< |
$as_echo "$as_me: error: socket library not found" >&2;} |
| 13835 |
< |
{ (exit 1); exit 1; }; } |
| 12189 |
> |
as_fn_error "socket library not found" "$LINENO" 5 |
| 12190 |
|
fi |
| 12191 |
|
|
| 12192 |
< |
|
| 12193 |
< |
|
| 12194 |
< |
|
| 12195 |
< |
for ac_func in inet_aton inet_ntop inet_pton |
| 12196 |
< |
do |
| 12197 |
< |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 13844 |
< |
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 13845 |
< |
$as_echo_n "checking for $ac_func... " >&6; } |
| 13846 |
< |
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
| 13847 |
< |
$as_echo_n "(cached) " >&6 |
| 13848 |
< |
else |
| 13849 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 13850 |
< |
/* confdefs.h. */ |
| 13851 |
< |
_ACEOF |
| 13852 |
< |
cat confdefs.h >>conftest.$ac_ext |
| 13853 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
| 13854 |
< |
/* end confdefs.h. */ |
| 13855 |
< |
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
| 13856 |
< |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
| 13857 |
< |
#define $ac_func innocuous_$ac_func |
| 13858 |
< |
|
| 13859 |
< |
/* System header to define __stub macros and hopefully few prototypes, |
| 13860 |
< |
which can conflict with char $ac_func (); below. |
| 13861 |
< |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 13862 |
< |
<limits.h> exists even on freestanding compilers. */ |
| 13863 |
< |
|
| 13864 |
< |
#ifdef __STDC__ |
| 13865 |
< |
# include <limits.h> |
| 13866 |
< |
#else |
| 13867 |
< |
# include <assert.h> |
| 13868 |
< |
#endif |
| 13869 |
< |
|
| 13870 |
< |
#undef $ac_func |
| 13871 |
< |
|
| 13872 |
< |
/* Override any GCC internal prototype to avoid an error. |
| 13873 |
< |
Use char because int might match the return type of a GCC |
| 13874 |
< |
builtin and then its argument prototype would still apply. */ |
| 13875 |
< |
#ifdef __cplusplus |
| 13876 |
< |
extern "C" |
| 13877 |
< |
#endif |
| 13878 |
< |
char $ac_func (); |
| 13879 |
< |
/* The GNU C library defines this for functions which it implements |
| 13880 |
< |
to always fail with ENOSYS. Some functions are actually named |
| 13881 |
< |
something starting with __ and the normal name is an alias. */ |
| 13882 |
< |
#if defined __stub_$ac_func || defined __stub___$ac_func |
| 13883 |
< |
choke me |
| 13884 |
< |
#endif |
| 13885 |
< |
|
| 13886 |
< |
int |
| 13887 |
< |
main () |
| 13888 |
< |
{ |
| 13889 |
< |
return $ac_func (); |
| 13890 |
< |
; |
| 13891 |
< |
return 0; |
| 13892 |
< |
} |
| 13893 |
< |
_ACEOF |
| 13894 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 13895 |
< |
if { (ac_try="$ac_link" |
| 13896 |
< |
case "(($ac_try" in |
| 13897 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 13898 |
< |
*) ac_try_echo=$ac_try;; |
| 13899 |
< |
esac |
| 13900 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 13901 |
< |
$as_echo "$ac_try_echo") >&5 |
| 13902 |
< |
(eval "$ac_link") 2>conftest.er1 |
| 13903 |
< |
ac_status=$? |
| 13904 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
| 13905 |
< |
rm -f conftest.er1 |
| 13906 |
< |
cat conftest.err >&5 |
| 13907 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13908 |
< |
(exit $ac_status); } && { |
| 13909 |
< |
test -z "$ac_c_werror_flag" || |
| 13910 |
< |
test ! -s conftest.err |
| 13911 |
< |
} && test -s conftest$ac_exeext && { |
| 13912 |
< |
test "$cross_compiling" = yes || |
| 13913 |
< |
$as_test_x conftest$ac_exeext |
| 13914 |
< |
}; then |
| 13915 |
< |
eval "$as_ac_var=yes" |
| 13916 |
< |
else |
| 13917 |
< |
$as_echo "$as_me: failed program was:" >&5 |
| 13918 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 13919 |
< |
|
| 13920 |
< |
eval "$as_ac_var=no" |
| 13921 |
< |
fi |
| 13922 |
< |
|
| 13923 |
< |
rm -rf conftest.dSYM |
| 13924 |
< |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 13925 |
< |
conftest$ac_exeext conftest.$ac_ext |
| 13926 |
< |
fi |
| 13927 |
< |
ac_res=`eval 'as_val=${'$as_ac_var'} |
| 13928 |
< |
$as_echo "$as_val"'` |
| 13929 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 13930 |
< |
$as_echo "$ac_res" >&6; } |
| 13931 |
< |
as_val=`eval 'as_val=${'$as_ac_var'} |
| 13932 |
< |
$as_echo "$as_val"'` |
| 13933 |
< |
if test "x$as_val" = x""yes; then |
| 12192 |
> |
for ac_func in inet_aton inet_ntop inet_pton |
| 12193 |
> |
do : |
| 12194 |
> |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 12195 |
> |
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
| 12196 |
> |
eval as_val=\$$as_ac_var |
| 12197 |
> |
if test "x$as_val" = x""yes; then : |
| 12198 |
|
cat >>confdefs.h <<_ACEOF |
| 12199 |
|
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 12200 |
|
_ACEOF |
| 12202 |
|
fi |
| 12203 |
|
done |
| 12204 |
|
|
| 12205 |
< |
{ $as_echo "$as_me:$LINENO: checking for struct sockaddr_in" >&5 |
| 13942 |
< |
$as_echo_n "checking for struct sockaddr_in... " >&6; } |
| 13943 |
< |
if test "${ac_cv_type_struct_sockaddr_in+set}" = set; then |
| 13944 |
< |
$as_echo_n "(cached) " >&6 |
| 13945 |
< |
else |
| 13946 |
< |
ac_cv_type_struct_sockaddr_in=no |
| 13947 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 13948 |
< |
/* confdefs.h. */ |
| 13949 |
< |
_ACEOF |
| 13950 |
< |
cat confdefs.h >>conftest.$ac_ext |
| 13951 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
| 13952 |
< |
/* end confdefs.h. */ |
| 13953 |
< |
#include <sys/types.h> |
| 12205 |
> |
ac_fn_c_check_type "$LINENO" "struct sockaddr_in" "ac_cv_type_struct_sockaddr_in" "#include <sys/types.h> |
| 12206 |
|
#include <sys/socket.h> |
| 12207 |
|
#include <netdb.h> |
| 12208 |
|
|
| 12209 |
< |
|
| 12210 |
< |
int |
| 13959 |
< |
main () |
| 13960 |
< |
{ |
| 13961 |
< |
if (sizeof (struct sockaddr_in)) |
| 13962 |
< |
return 0; |
| 13963 |
< |
; |
| 13964 |
< |
return 0; |
| 13965 |
< |
} |
| 13966 |
< |
_ACEOF |
| 13967 |
< |
rm -f conftest.$ac_objext |
| 13968 |
< |
if { (ac_try="$ac_compile" |
| 13969 |
< |
case "(($ac_try" in |
| 13970 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 13971 |
< |
*) ac_try_echo=$ac_try;; |
| 13972 |
< |
esac |
| 13973 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 13974 |
< |
$as_echo "$ac_try_echo") >&5 |
| 13975 |
< |
(eval "$ac_compile") 2>conftest.er1 |
| 13976 |
< |
ac_status=$? |
| 13977 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
| 13978 |
< |
rm -f conftest.er1 |
| 13979 |
< |
cat conftest.err >&5 |
| 13980 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13981 |
< |
(exit $ac_status); } && { |
| 13982 |
< |
test -z "$ac_c_werror_flag" || |
| 13983 |
< |
test ! -s conftest.err |
| 13984 |
< |
} && test -s conftest.$ac_objext; then |
| 13985 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 13986 |
< |
/* confdefs.h. */ |
| 13987 |
< |
_ACEOF |
| 13988 |
< |
cat confdefs.h >>conftest.$ac_ext |
| 13989 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
| 13990 |
< |
/* end confdefs.h. */ |
| 13991 |
< |
#include <sys/types.h> |
| 13992 |
< |
#include <sys/socket.h> |
| 13993 |
< |
#include <netdb.h> |
| 13994 |
< |
|
| 13995 |
< |
|
| 13996 |
< |
int |
| 13997 |
< |
main () |
| 13998 |
< |
{ |
| 13999 |
< |
if (sizeof ((struct sockaddr_in))) |
| 14000 |
< |
return 0; |
| 14001 |
< |
; |
| 14002 |
< |
return 0; |
| 14003 |
< |
} |
| 14004 |
< |
_ACEOF |
| 14005 |
< |
rm -f conftest.$ac_objext |
| 14006 |
< |
if { (ac_try="$ac_compile" |
| 14007 |
< |
case "(($ac_try" in |
| 14008 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 14009 |
< |
*) ac_try_echo=$ac_try;; |
| 14010 |
< |
esac |
| 14011 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 14012 |
< |
$as_echo "$ac_try_echo") >&5 |
| 14013 |
< |
(eval "$ac_compile") 2>conftest.er1 |
| 14014 |
< |
ac_status=$? |
| 14015 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
| 14016 |
< |
rm -f conftest.er1 |
| 14017 |
< |
cat conftest.err >&5 |
| 14018 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 14019 |
< |
(exit $ac_status); } && { |
| 14020 |
< |
test -z "$ac_c_werror_flag" || |
| 14021 |
< |
test ! -s conftest.err |
| 14022 |
< |
} && test -s conftest.$ac_objext; then |
| 14023 |
< |
: |
| 14024 |
< |
else |
| 14025 |
< |
$as_echo "$as_me: failed program was:" >&5 |
| 14026 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 14027 |
< |
|
| 14028 |
< |
ac_cv_type_struct_sockaddr_in=yes |
| 14029 |
< |
fi |
| 14030 |
< |
|
| 14031 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14032 |
< |
else |
| 14033 |
< |
$as_echo "$as_me: failed program was:" >&5 |
| 14034 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 14035 |
< |
|
| 14036 |
< |
|
| 14037 |
< |
fi |
| 14038 |
< |
|
| 14039 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14040 |
< |
fi |
| 14041 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_struct_sockaddr_in" >&5 |
| 14042 |
< |
$as_echo "$ac_cv_type_struct_sockaddr_in" >&6; } |
| 14043 |
< |
if test "x$ac_cv_type_struct_sockaddr_in" = x""yes; then |
| 12209 |
> |
" |
| 12210 |
> |
if test "x$ac_cv_type_struct_sockaddr_in" = x""yes; then : |
| 12211 |
|
|
| 12212 |
|
cat >>confdefs.h <<_ACEOF |
| 12213 |
|
#define HAVE_STRUCT_SOCKADDR_IN 1 |
| 12215 |
|
|
| 12216 |
|
|
| 12217 |
|
fi |
| 12218 |
< |
{ $as_echo "$as_me:$LINENO: checking for struct sockaddr_storage" >&5 |
| 14052 |
< |
$as_echo_n "checking for struct sockaddr_storage... " >&6; } |
| 14053 |
< |
if test "${ac_cv_type_struct_sockaddr_storage+set}" = set; then |
| 14054 |
< |
$as_echo_n "(cached) " >&6 |
| 14055 |
< |
else |
| 14056 |
< |
ac_cv_type_struct_sockaddr_storage=no |
| 14057 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 14058 |
< |
/* confdefs.h. */ |
| 14059 |
< |
_ACEOF |
| 14060 |
< |
cat confdefs.h >>conftest.$ac_ext |
| 14061 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
| 14062 |
< |
/* end confdefs.h. */ |
| 14063 |
< |
#include <sys/types.h> |
| 14064 |
< |
#include <sys/socket.h> |
| 14065 |
< |
#include <netdb.h> |
| 14066 |
< |
|
| 14067 |
< |
|
| 14068 |
< |
int |
| 14069 |
< |
main () |
| 14070 |
< |
{ |
| 14071 |
< |
if (sizeof (struct sockaddr_storage)) |
| 14072 |
< |
return 0; |
| 14073 |
< |
; |
| 14074 |
< |
return 0; |
| 14075 |
< |
} |
| 14076 |
< |
_ACEOF |
| 14077 |
< |
rm -f conftest.$ac_objext |
| 14078 |
< |
if { (ac_try="$ac_compile" |
| 14079 |
< |
case "(($ac_try" in |
| 14080 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 14081 |
< |
*) ac_try_echo=$ac_try;; |
| 14082 |
< |
esac |
| 14083 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 14084 |
< |
$as_echo "$ac_try_echo") >&5 |
| 14085 |
< |
(eval "$ac_compile") 2>conftest.er1 |
| 14086 |
< |
ac_status=$? |
| 14087 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
| 14088 |
< |
rm -f conftest.er1 |
| 14089 |
< |
cat conftest.err >&5 |
| 14090 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 14091 |
< |
(exit $ac_status); } && { |
| 14092 |
< |
test -z "$ac_c_werror_flag" || |
| 14093 |
< |
test ! -s conftest.err |
| 14094 |
< |
} && test -s conftest.$ac_objext; then |
| 14095 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 14096 |
< |
/* confdefs.h. */ |
| 14097 |
< |
_ACEOF |
| 14098 |
< |
cat confdefs.h >>conftest.$ac_ext |
| 14099 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
| 14100 |
< |
/* end confdefs.h. */ |
| 14101 |
< |
#include <sys/types.h> |
| 12218 |
> |
ac_fn_c_check_type "$LINENO" "struct sockaddr_storage" "ac_cv_type_struct_sockaddr_storage" "#include <sys/types.h> |
| 12219 |
|
#include <sys/socket.h> |
| 12220 |
|
#include <netdb.h> |
| 12221 |
|
|
| 12222 |
< |
|
| 12223 |
< |
int |
| 14107 |
< |
main () |
| 14108 |
< |
{ |
| 14109 |
< |
if (sizeof ((struct sockaddr_storage))) |
| 14110 |
< |
return 0; |
| 14111 |
< |
; |
| 14112 |
< |
return 0; |
| 14113 |
< |
} |
| 14114 |
< |
_ACEOF |
| 14115 |
< |
rm -f conftest.$ac_objext |
| 14116 |
< |
if { (ac_try="$ac_compile" |
| 14117 |
< |
case "(($ac_try" in |
| 14118 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 14119 |
< |
*) ac_try_echo=$ac_try;; |
| 14120 |
< |
esac |
| 14121 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 14122 |
< |
$as_echo "$ac_try_echo") >&5 |
| 14123 |
< |
(eval "$ac_compile") 2>conftest.er1 |
| 14124 |
< |
ac_status=$? |
| 14125 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
| 14126 |
< |
rm -f conftest.er1 |
| 14127 |
< |
cat conftest.err >&5 |
| 14128 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 14129 |
< |
(exit $ac_status); } && { |
| 14130 |
< |
test -z "$ac_c_werror_flag" || |
| 14131 |
< |
test ! -s conftest.err |
| 14132 |
< |
} && test -s conftest.$ac_objext; then |
| 14133 |
< |
: |
| 14134 |
< |
else |
| 14135 |
< |
$as_echo "$as_me: failed program was:" >&5 |
| 14136 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 14137 |
< |
|
| 14138 |
< |
ac_cv_type_struct_sockaddr_storage=yes |
| 14139 |
< |
fi |
| 14140 |
< |
|
| 14141 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14142 |
< |
else |
| 14143 |
< |
$as_echo "$as_me: failed program was:" >&5 |
| 14144 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 14145 |
< |
|
| 14146 |
< |
|
| 14147 |
< |
fi |
| 14148 |
< |
|
| 14149 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14150 |
< |
fi |
| 14151 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_struct_sockaddr_storage" >&5 |
| 14152 |
< |
$as_echo "$ac_cv_type_struct_sockaddr_storage" >&6; } |
| 14153 |
< |
if test "x$ac_cv_type_struct_sockaddr_storage" = x""yes; then |
| 12222 |
> |
" |
| 12223 |
> |
if test "x$ac_cv_type_struct_sockaddr_storage" = x""yes; then : |
| 12224 |
|
|
| 12225 |
|
cat >>confdefs.h <<_ACEOF |
| 12226 |
|
#define HAVE_STRUCT_SOCKADDR_STORAGE 1 |
| 12228 |
|
|
| 12229 |
|
|
| 12230 |
|
fi |
| 12231 |
< |
{ $as_echo "$as_me:$LINENO: checking for struct addrinfo" >&5 |
| 14162 |
< |
$as_echo_n "checking for struct addrinfo... " >&6; } |
| 14163 |
< |
if test "${ac_cv_type_struct_addrinfo+set}" = set; then |
| 14164 |
< |
$as_echo_n "(cached) " >&6 |
| 14165 |
< |
else |
| 14166 |
< |
ac_cv_type_struct_addrinfo=no |
| 14167 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 14168 |
< |
/* confdefs.h. */ |
| 14169 |
< |
_ACEOF |
| 14170 |
< |
cat confdefs.h >>conftest.$ac_ext |
| 14171 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
| 14172 |
< |
/* end confdefs.h. */ |
| 14173 |
< |
#include <sys/types.h> |
| 12231 |
> |
ac_fn_c_check_type "$LINENO" "struct addrinfo" "ac_cv_type_struct_addrinfo" "#include <sys/types.h> |
| 12232 |
|
#include <sys/socket.h> |
| 12233 |
|
#include <netdb.h> |
| 12234 |
|
|
| 12235 |
< |
|
| 12236 |
< |
int |
| 14179 |
< |
main () |
| 14180 |
< |
{ |
| 14181 |
< |
if (sizeof (struct addrinfo)) |
| 14182 |
< |
return 0; |
| 14183 |
< |
; |
| 14184 |
< |
return 0; |
| 14185 |
< |
} |
| 14186 |
< |
_ACEOF |
| 14187 |
< |
rm -f conftest.$ac_objext |
| 14188 |
< |
if { (ac_try="$ac_compile" |
| 14189 |
< |
case "(($ac_try" in |
| 14190 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 14191 |
< |
*) ac_try_echo=$ac_try;; |
| 14192 |
< |
esac |
| 14193 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 14194 |
< |
$as_echo "$ac_try_echo") >&5 |
| 14195 |
< |
(eval "$ac_compile") 2>conftest.er1 |
| 14196 |
< |
ac_status=$? |
| 14197 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
| 14198 |
< |
rm -f conftest.er1 |
| 14199 |
< |
cat conftest.err >&5 |
| 14200 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 14201 |
< |
(exit $ac_status); } && { |
| 14202 |
< |
test -z "$ac_c_werror_flag" || |
| 14203 |
< |
test ! -s conftest.err |
| 14204 |
< |
} && test -s conftest.$ac_objext; then |
| 14205 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 14206 |
< |
/* confdefs.h. */ |
| 14207 |
< |
_ACEOF |
| 14208 |
< |
cat confdefs.h >>conftest.$ac_ext |
| 14209 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
| 14210 |
< |
/* end confdefs.h. */ |
| 14211 |
< |
#include <sys/types.h> |
| 14212 |
< |
#include <sys/socket.h> |
| 14213 |
< |
#include <netdb.h> |
| 14214 |
< |
|
| 14215 |
< |
|
| 14216 |
< |
int |
| 14217 |
< |
main () |
| 14218 |
< |
{ |
| 14219 |
< |
if (sizeof ((struct addrinfo))) |
| 14220 |
< |
return 0; |
| 14221 |
< |
; |
| 14222 |
< |
return 0; |
| 14223 |
< |
} |
| 14224 |
< |
_ACEOF |
| 14225 |
< |
rm -f conftest.$ac_objext |
| 14226 |
< |
if { (ac_try="$ac_compile" |
| 14227 |
< |
case "(($ac_try" in |
| 14228 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 14229 |
< |
*) ac_try_echo=$ac_try;; |
| 14230 |
< |
esac |
| 14231 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 14232 |
< |
$as_echo "$ac_try_echo") >&5 |
| 14233 |
< |
(eval "$ac_compile") 2>conftest.er1 |
| 14234 |
< |
ac_status=$? |
| 14235 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
| 14236 |
< |
rm -f conftest.er1 |
| 14237 |
< |
cat conftest.err >&5 |
| 14238 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 14239 |
< |
(exit $ac_status); } && { |
| 14240 |
< |
test -z "$ac_c_werror_flag" || |
| 14241 |
< |
test ! -s conftest.err |
| 14242 |
< |
} && test -s conftest.$ac_objext; then |
| 14243 |
< |
: |
| 14244 |
< |
else |
| 14245 |
< |
$as_echo "$as_me: failed program was:" >&5 |
| 14246 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 14247 |
< |
|
| 14248 |
< |
ac_cv_type_struct_addrinfo=yes |
| 14249 |
< |
fi |
| 14250 |
< |
|
| 14251 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14252 |
< |
else |
| 14253 |
< |
$as_echo "$as_me: failed program was:" >&5 |
| 14254 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 14255 |
< |
|
| 14256 |
< |
|
| 14257 |
< |
fi |
| 14258 |
< |
|
| 14259 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14260 |
< |
fi |
| 14261 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_struct_addrinfo" >&5 |
| 14262 |
< |
$as_echo "$ac_cv_type_struct_addrinfo" >&6; } |
| 14263 |
< |
if test "x$ac_cv_type_struct_addrinfo" = x""yes; then |
| 12235 |
> |
" |
| 12236 |
> |
if test "x$ac_cv_type_struct_addrinfo" = x""yes; then : |
| 12237 |
|
|
| 12238 |
|
cat >>confdefs.h <<_ACEOF |
| 12239 |
|
#define HAVE_STRUCT_ADDRINFO 1 |
| 12242 |
|
|
| 12243 |
|
fi |
| 12244 |
|
|
| 12245 |
< |
{ $as_echo "$as_me:$LINENO: checking for struct sockaddr_in.sin_len" >&5 |
| 14273 |
< |
$as_echo_n "checking for struct sockaddr_in.sin_len... " >&6; } |
| 14274 |
< |
if test "${ac_cv_member_struct_sockaddr_in_sin_len+set}" = set; then |
| 14275 |
< |
$as_echo_n "(cached) " >&6 |
| 14276 |
< |
else |
| 14277 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 14278 |
< |
/* confdefs.h. */ |
| 14279 |
< |
_ACEOF |
| 14280 |
< |
cat confdefs.h >>conftest.$ac_ext |
| 14281 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
| 14282 |
< |
/* end confdefs.h. */ |
| 14283 |
< |
#include <sys/types.h> |
| 12245 |
> |
ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "#include <sys/types.h> |
| 12246 |
|
<sys/socket.h> |
| 12247 |
< |
|
| 12248 |
< |
int |
| 14287 |
< |
main () |
| 14288 |
< |
{ |
| 14289 |
< |
static struct sockaddr_in ac_aggr; |
| 14290 |
< |
if (ac_aggr.sin_len) |
| 14291 |
< |
return 0; |
| 14292 |
< |
; |
| 14293 |
< |
return 0; |
| 14294 |
< |
} |
| 14295 |
< |
_ACEOF |
| 14296 |
< |
rm -f conftest.$ac_objext |
| 14297 |
< |
if { (ac_try="$ac_compile" |
| 14298 |
< |
case "(($ac_try" in |
| 14299 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 14300 |
< |
*) ac_try_echo=$ac_try;; |
| 14301 |
< |
esac |
| 14302 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 14303 |
< |
$as_echo "$ac_try_echo") >&5 |
| 14304 |
< |
(eval "$ac_compile") 2>conftest.er1 |
| 14305 |
< |
ac_status=$? |
| 14306 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
| 14307 |
< |
rm -f conftest.er1 |
| 14308 |
< |
cat conftest.err >&5 |
| 14309 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 14310 |
< |
(exit $ac_status); } && { |
| 14311 |
< |
test -z "$ac_c_werror_flag" || |
| 14312 |
< |
test ! -s conftest.err |
| 14313 |
< |
} && test -s conftest.$ac_objext; then |
| 14314 |
< |
ac_cv_member_struct_sockaddr_in_sin_len=yes |
| 14315 |
< |
else |
| 14316 |
< |
$as_echo "$as_me: failed program was:" >&5 |
| 14317 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 14318 |
< |
|
| 14319 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 14320 |
< |
/* confdefs.h. */ |
| 14321 |
< |
_ACEOF |
| 14322 |
< |
cat confdefs.h >>conftest.$ac_ext |
| 14323 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
| 14324 |
< |
/* end confdefs.h. */ |
| 14325 |
< |
#include <sys/types.h> |
| 14326 |
< |
<sys/socket.h> |
| 14327 |
< |
|
| 14328 |
< |
int |
| 14329 |
< |
main () |
| 14330 |
< |
{ |
| 14331 |
< |
static struct sockaddr_in ac_aggr; |
| 14332 |
< |
if (sizeof ac_aggr.sin_len) |
| 14333 |
< |
return 0; |
| 14334 |
< |
; |
| 14335 |
< |
return 0; |
| 14336 |
< |
} |
| 14337 |
< |
_ACEOF |
| 14338 |
< |
rm -f conftest.$ac_objext |
| 14339 |
< |
if { (ac_try="$ac_compile" |
| 14340 |
< |
case "(($ac_try" in |
| 14341 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 14342 |
< |
*) ac_try_echo=$ac_try;; |
| 14343 |
< |
esac |
| 14344 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 14345 |
< |
$as_echo "$ac_try_echo") >&5 |
| 14346 |
< |
(eval "$ac_compile") 2>conftest.er1 |
| 14347 |
< |
ac_status=$? |
| 14348 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
| 14349 |
< |
rm -f conftest.er1 |
| 14350 |
< |
cat conftest.err >&5 |
| 14351 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 14352 |
< |
(exit $ac_status); } && { |
| 14353 |
< |
test -z "$ac_c_werror_flag" || |
| 14354 |
< |
test ! -s conftest.err |
| 14355 |
< |
} && test -s conftest.$ac_objext; then |
| 14356 |
< |
ac_cv_member_struct_sockaddr_in_sin_len=yes |
| 14357 |
< |
else |
| 14358 |
< |
$as_echo "$as_me: failed program was:" >&5 |
| 14359 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 14360 |
< |
|
| 14361 |
< |
ac_cv_member_struct_sockaddr_in_sin_len=no |
| 14362 |
< |
fi |
| 14363 |
< |
|
| 14364 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14365 |
< |
fi |
| 14366 |
< |
|
| 14367 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14368 |
< |
fi |
| 14369 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in_sin_len" >&5 |
| 14370 |
< |
$as_echo "$ac_cv_member_struct_sockaddr_in_sin_len" >&6; } |
| 14371 |
< |
if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = x""yes; then |
| 12247 |
> |
" |
| 12248 |
> |
if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = x""yes; then : |
| 12249 |
|
|
| 12250 |
|
cat >>confdefs.h <<_ACEOF |
| 12251 |
|
#define HAVE_STRUCT_SOCKADDR_IN_SIN_LEN 1 |
| 12256 |
|
|
| 12257 |
|
|
| 12258 |
|
|
| 12259 |
< |
{ $as_echo "$as_me:$LINENO: checking for struct sockaddr_in6" >&5 |
| 12260 |
< |
$as_echo_n "checking for struct sockaddr_in6... " >&6; } |
| 14384 |
< |
if test "${ac_cv_type_struct_sockaddr_in6+set}" = set; then |
| 14385 |
< |
$as_echo_n "(cached) " >&6 |
| 14386 |
< |
else |
| 14387 |
< |
ac_cv_type_struct_sockaddr_in6=no |
| 14388 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 14389 |
< |
/* confdefs.h. */ |
| 14390 |
< |
_ACEOF |
| 14391 |
< |
cat confdefs.h >>conftest.$ac_ext |
| 14392 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
| 14393 |
< |
/* end confdefs.h. */ |
| 14394 |
< |
$ac_includes_default |
| 14395 |
< |
int |
| 14396 |
< |
main () |
| 14397 |
< |
{ |
| 14398 |
< |
if (sizeof (struct sockaddr_in6)) |
| 14399 |
< |
return 0; |
| 14400 |
< |
; |
| 14401 |
< |
return 0; |
| 14402 |
< |
} |
| 14403 |
< |
_ACEOF |
| 14404 |
< |
rm -f conftest.$ac_objext |
| 14405 |
< |
if { (ac_try="$ac_compile" |
| 14406 |
< |
case "(($ac_try" in |
| 14407 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 14408 |
< |
*) ac_try_echo=$ac_try;; |
| 14409 |
< |
esac |
| 14410 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 14411 |
< |
$as_echo "$ac_try_echo") >&5 |
| 14412 |
< |
(eval "$ac_compile") 2>conftest.er1 |
| 14413 |
< |
ac_status=$? |
| 14414 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
| 14415 |
< |
rm -f conftest.er1 |
| 14416 |
< |
cat conftest.err >&5 |
| 14417 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 14418 |
< |
(exit $ac_status); } && { |
| 14419 |
< |
test -z "$ac_c_werror_flag" || |
| 14420 |
< |
test ! -s conftest.err |
| 14421 |
< |
} && test -s conftest.$ac_objext; then |
| 14422 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 14423 |
< |
/* confdefs.h. */ |
| 14424 |
< |
_ACEOF |
| 14425 |
< |
cat confdefs.h >>conftest.$ac_ext |
| 14426 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
| 14427 |
< |
/* end confdefs.h. */ |
| 14428 |
< |
$ac_includes_default |
| 14429 |
< |
int |
| 14430 |
< |
main () |
| 14431 |
< |
{ |
| 14432 |
< |
if (sizeof ((struct sockaddr_in6))) |
| 14433 |
< |
return 0; |
| 14434 |
< |
; |
| 14435 |
< |
return 0; |
| 14436 |
< |
} |
| 14437 |
< |
_ACEOF |
| 14438 |
< |
rm -f conftest.$ac_objext |
| 14439 |
< |
if { (ac_try="$ac_compile" |
| 14440 |
< |
case "(($ac_try" in |
| 14441 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 14442 |
< |
*) ac_try_echo=$ac_try;; |
| 14443 |
< |
esac |
| 14444 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 14445 |
< |
$as_echo "$ac_try_echo") >&5 |
| 14446 |
< |
(eval "$ac_compile") 2>conftest.er1 |
| 14447 |
< |
ac_status=$? |
| 14448 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
| 14449 |
< |
rm -f conftest.er1 |
| 14450 |
< |
cat conftest.err >&5 |
| 14451 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 14452 |
< |
(exit $ac_status); } && { |
| 14453 |
< |
test -z "$ac_c_werror_flag" || |
| 14454 |
< |
test ! -s conftest.err |
| 14455 |
< |
} && test -s conftest.$ac_objext; then |
| 14456 |
< |
: |
| 14457 |
< |
else |
| 14458 |
< |
$as_echo "$as_me: failed program was:" >&5 |
| 14459 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 14460 |
< |
|
| 14461 |
< |
ac_cv_type_struct_sockaddr_in6=yes |
| 14462 |
< |
fi |
| 14463 |
< |
|
| 14464 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14465 |
< |
else |
| 14466 |
< |
$as_echo "$as_me: failed program was:" >&5 |
| 14467 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 14468 |
< |
|
| 14469 |
< |
|
| 14470 |
< |
fi |
| 14471 |
< |
|
| 14472 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14473 |
< |
fi |
| 14474 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_struct_sockaddr_in6" >&5 |
| 14475 |
< |
$as_echo "$ac_cv_type_struct_sockaddr_in6" >&6; } |
| 14476 |
< |
if test "x$ac_cv_type_struct_sockaddr_in6" = x""yes; then |
| 12259 |
> |
ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "$ac_includes_default" |
| 12260 |
> |
if test "x$ac_cv_type_struct_sockaddr_in6" = x""yes; then : |
| 12261 |
|
|
| 12262 |
|
cat >>confdefs.h <<_ACEOF |
| 12263 |
|
#define HAVE_STRUCT_SOCKADDR_IN6 1 |
| 12266 |
|
|
| 12267 |
|
else |
| 12268 |
|
|
| 12269 |
< |
cat >>confdefs.h <<\_ACEOF |
| 14486 |
< |
#define IPV6 1 |
| 14487 |
< |
_ACEOF |
| 12269 |
> |
$as_echo "#define IPV6 1" >>confdefs.h |
| 12270 |
|
|
| 12271 |
|
fi |
| 12272 |
|
|
| 12273 |
|
|
| 12274 |
|
|
| 14493 |
– |
|
| 12275 |
|
# Checks for typedefs, structures, and compiler characteristics. |
| 12276 |
< |
{ $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 |
| 14496 |
< |
$as_echo_n "checking for an ANSI C-conforming const... " >&6; } |
| 14497 |
< |
if test "${ac_cv_c_const+set}" = set; then |
| 14498 |
< |
$as_echo_n "(cached) " >&6 |
| 14499 |
< |
else |
| 14500 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 14501 |
< |
/* confdefs.h. */ |
| 14502 |
< |
_ACEOF |
| 14503 |
< |
cat confdefs.h >>conftest.$ac_ext |
| 14504 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
| 14505 |
< |
/* end confdefs.h. */ |
| 14506 |
< |
|
| 14507 |
< |
int |
| 14508 |
< |
main () |
| 14509 |
< |
{ |
| 14510 |
< |
/* FIXME: Include the comments suggested by Paul. */ |
| 14511 |
< |
#ifndef __cplusplus |
| 14512 |
< |
/* Ultrix mips cc rejects this. */ |
| 14513 |
< |
typedef int charset[2]; |
| 14514 |
< |
const charset cs; |
| 14515 |
< |
/* SunOS 4.1.1 cc rejects this. */ |
| 14516 |
< |
char const *const *pcpcc; |
| 14517 |
< |
char **ppc; |
| 14518 |
< |
/* NEC SVR4.0.2 mips cc rejects this. */ |
| 14519 |
< |
struct point {int x, y;}; |
| 14520 |
< |
static struct point const zero = {0,0}; |
| 14521 |
< |
/* AIX XL C 1.02.0.0 rejects this. |
| 14522 |
< |
It does not let you subtract one const X* pointer from another in |
| 14523 |
< |
an arm of an if-expression whose if-part is not a constant |
| 14524 |
< |
expression */ |
| 14525 |
< |
const char *g = "string"; |
| 14526 |
< |
pcpcc = &g + (g ? g-g : 0); |
| 14527 |
< |
/* HPUX 7.0 cc rejects these. */ |
| 14528 |
< |
++pcpcc; |
| 14529 |
< |
ppc = (char**) pcpcc; |
| 14530 |
< |
pcpcc = (char const *const *) ppc; |
| 14531 |
< |
{ /* SCO 3.2v4 cc rejects this. */ |
| 14532 |
< |
char *t; |
| 14533 |
< |
char const *s = 0 ? (char *) 0 : (char const *) 0; |
| 14534 |
< |
|
| 14535 |
< |
*t++ = 0; |
| 14536 |
< |
if (s) return 0; |
| 14537 |
< |
} |
| 14538 |
< |
{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ |
| 14539 |
< |
int x[] = {25, 17}; |
| 14540 |
< |
const int *foo = &x[0]; |
| 14541 |
< |
++foo; |
| 14542 |
< |
} |
| 14543 |
< |
{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ |
| 14544 |
< |
typedef const int *iptr; |
| 14545 |
< |
iptr p = 0; |
| 14546 |
< |
++p; |
| 14547 |
< |
} |
| 14548 |
< |
{ /* AIX XL C 1.02.0.0 rejects this saying |
| 14549 |
< |
"k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ |
| 14550 |
< |
struct s { int j; const int *ap[3]; }; |
| 14551 |
< |
struct s *b; b->j = 5; |
| 14552 |
< |
} |
| 14553 |
< |
{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ |
| 14554 |
< |
const int foo = 10; |
| 14555 |
< |
if (!foo) return 0; |
| 14556 |
< |
} |
| 14557 |
< |
return !cs[0] && !zero.x; |
| 14558 |
< |
#endif |
| 14559 |
< |
|
| 14560 |
< |
; |
| 14561 |
< |
return 0; |
| 14562 |
< |
} |
| 14563 |
< |
_ACEOF |
| 14564 |
< |
rm -f conftest.$ac_objext |
| 14565 |
< |
if { (ac_try="$ac_compile" |
| 14566 |
< |
case "(($ac_try" in |
| 14567 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 14568 |
< |
*) ac_try_echo=$ac_try;; |
| 14569 |
< |
esac |
| 14570 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 14571 |
< |
$as_echo "$ac_try_echo") >&5 |
| 14572 |
< |
(eval "$ac_compile") 2>conftest.er1 |
| 14573 |
< |
ac_status=$? |
| 14574 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
| 14575 |
< |
rm -f conftest.er1 |
| 14576 |
< |
cat conftest.err >&5 |
| 14577 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 14578 |
< |
(exit $ac_status); } && { |
| 14579 |
< |
test -z "$ac_c_werror_flag" || |
| 14580 |
< |
test ! -s conftest.err |
| 14581 |
< |
} && test -s conftest.$ac_objext; then |
| 14582 |
< |
ac_cv_c_const=yes |
| 14583 |
< |
else |
| 14584 |
< |
$as_echo "$as_me: failed program was:" >&5 |
| 14585 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 14586 |
< |
|
| 14587 |
< |
ac_cv_c_const=no |
| 14588 |
< |
fi |
| 14589 |
< |
|
| 14590 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14591 |
< |
fi |
| 14592 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 |
| 14593 |
< |
$as_echo "$ac_cv_c_const" >&6; } |
| 14594 |
< |
if test $ac_cv_c_const = no; then |
| 14595 |
< |
|
| 14596 |
< |
cat >>confdefs.h <<\_ACEOF |
| 14597 |
< |
#define const /**/ |
| 14598 |
< |
_ACEOF |
| 14599 |
< |
|
| 14600 |
< |
fi |
| 14601 |
< |
|
| 14602 |
< |
{ $as_echo "$as_me:$LINENO: checking for inline" >&5 |
| 14603 |
< |
$as_echo_n "checking for inline... " >&6; } |
| 14604 |
< |
if test "${ac_cv_c_inline+set}" = set; then |
| 14605 |
< |
$as_echo_n "(cached) " >&6 |
| 14606 |
< |
else |
| 14607 |
< |
ac_cv_c_inline=no |
| 14608 |
< |
for ac_kw in inline __inline__ __inline; do |
| 14609 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 14610 |
< |
/* confdefs.h. */ |
| 14611 |
< |
_ACEOF |
| 14612 |
< |
cat confdefs.h >>conftest.$ac_ext |
| 14613 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
| 14614 |
< |
/* end confdefs.h. */ |
| 14615 |
< |
#ifndef __cplusplus |
| 14616 |
< |
typedef int foo_t; |
| 14617 |
< |
static $ac_kw foo_t static_foo () {return 0; } |
| 14618 |
< |
$ac_kw foo_t foo () {return 0; } |
| 14619 |
< |
#endif |
| 14620 |
< |
|
| 14621 |
< |
_ACEOF |
| 14622 |
< |
rm -f conftest.$ac_objext |
| 14623 |
< |
if { (ac_try="$ac_compile" |
| 14624 |
< |
case "(($ac_try" in |
| 14625 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 14626 |
< |
*) ac_try_echo=$ac_try;; |
| 14627 |
< |
esac |
| 14628 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 14629 |
< |
$as_echo "$ac_try_echo") >&5 |
| 14630 |
< |
(eval "$ac_compile") 2>conftest.er1 |
| 14631 |
< |
ac_status=$? |
| 14632 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
| 14633 |
< |
rm -f conftest.er1 |
| 14634 |
< |
cat conftest.err >&5 |
| 14635 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 14636 |
< |
(exit $ac_status); } && { |
| 14637 |
< |
test -z "$ac_c_werror_flag" || |
| 14638 |
< |
test ! -s conftest.err |
| 14639 |
< |
} && test -s conftest.$ac_objext; then |
| 14640 |
< |
ac_cv_c_inline=$ac_kw |
| 14641 |
< |
else |
| 14642 |
< |
$as_echo "$as_me: failed program was:" >&5 |
| 14643 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 14644 |
< |
|
| 14645 |
< |
|
| 14646 |
< |
fi |
| 14647 |
< |
|
| 14648 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14649 |
< |
test "$ac_cv_c_inline" != no && break |
| 14650 |
< |
done |
| 14651 |
< |
|
| 14652 |
< |
fi |
| 14653 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5 |
| 14654 |
< |
$as_echo "$ac_cv_c_inline" >&6; } |
| 14655 |
< |
|
| 14656 |
< |
|
| 14657 |
< |
case $ac_cv_c_inline in |
| 14658 |
< |
inline | yes) ;; |
| 14659 |
< |
*) |
| 14660 |
< |
case $ac_cv_c_inline in |
| 14661 |
< |
no) ac_val=;; |
| 14662 |
< |
*) ac_val=$ac_cv_c_inline;; |
| 14663 |
< |
esac |
| 14664 |
< |
cat >>confdefs.h <<_ACEOF |
| 14665 |
< |
#ifndef __cplusplus |
| 14666 |
< |
#define inline $ac_val |
| 14667 |
< |
#endif |
| 14668 |
< |
_ACEOF |
| 14669 |
< |
;; |
| 14670 |
< |
esac |
| 14671 |
< |
|
| 14672 |
< |
|
| 14673 |
< |
{ $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 |
| 12276 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 |
| 12277 |
|
$as_echo_n "checking whether byte ordering is bigendian... " >&6; } |
| 12278 |
< |
if test "${ac_cv_c_bigendian+set}" = set; then |
| 12278 |
> |
if test "${ac_cv_c_bigendian+set}" = set; then : |
| 12279 |
|
$as_echo_n "(cached) " >&6 |
| 12280 |
|
else |
| 12281 |
|
ac_cv_c_bigendian=unknown |
| 12282 |
|
# See if we're dealing with a universal compiler. |
| 12283 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 14681 |
< |
/* confdefs.h. */ |
| 14682 |
< |
_ACEOF |
| 14683 |
< |
cat confdefs.h >>conftest.$ac_ext |
| 14684 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
| 12283 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 12284 |
|
/* end confdefs.h. */ |
| 12285 |
|
#ifndef __APPLE_CC__ |
| 12286 |
|
not a universal capable compiler |
| 12288 |
|
typedef int dummy; |
| 12289 |
|
|
| 12290 |
|
_ACEOF |
| 12291 |
< |
rm -f conftest.$ac_objext |
| 14693 |
< |
if { (ac_try="$ac_compile" |
| 14694 |
< |
case "(($ac_try" in |
| 14695 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 14696 |
< |
*) ac_try_echo=$ac_try;; |
| 14697 |
< |
esac |
| 14698 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 14699 |
< |
$as_echo "$ac_try_echo") >&5 |
| 14700 |
< |
(eval "$ac_compile") 2>conftest.er1 |
| 14701 |
< |
ac_status=$? |
| 14702 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
| 14703 |
< |
rm -f conftest.er1 |
| 14704 |
< |
cat conftest.err >&5 |
| 14705 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 14706 |
< |
(exit $ac_status); } && { |
| 14707 |
< |
test -z "$ac_c_werror_flag" || |
| 14708 |
< |
test ! -s conftest.err |
| 14709 |
< |
} && test -s conftest.$ac_objext; then |
| 12291 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
| 12292 |
|
|
| 12293 |
|
# Check for potential -arch flags. It is not universal unless |
| 12294 |
< |
# there are some -arch flags. Note that *ppc* also matches |
| 12295 |
< |
# ppc64. This check is also rather less than ideal. |
| 12296 |
< |
case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in #( |
| 12297 |
< |
*-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;; |
| 12298 |
< |
esac |
| 12299 |
< |
else |
| 12300 |
< |
$as_echo "$as_me: failed program was:" >&5 |
| 12301 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 12302 |
< |
|
| 12303 |
< |
|
| 12294 |
> |
# there are at least two -arch flags with different values. |
| 12295 |
> |
ac_arch= |
| 12296 |
> |
ac_prev= |
| 12297 |
> |
for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do |
| 12298 |
> |
if test -n "$ac_prev"; then |
| 12299 |
> |
case $ac_word in |
| 12300 |
> |
i?86 | x86_64 | ppc | ppc64) |
| 12301 |
> |
if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then |
| 12302 |
> |
ac_arch=$ac_word |
| 12303 |
> |
else |
| 12304 |
> |
ac_cv_c_bigendian=universal |
| 12305 |
> |
break |
| 12306 |
> |
fi |
| 12307 |
> |
;; |
| 12308 |
> |
esac |
| 12309 |
> |
ac_prev= |
| 12310 |
> |
elif test "x$ac_word" = "x-arch"; then |
| 12311 |
> |
ac_prev=arch |
| 12312 |
> |
fi |
| 12313 |
> |
done |
| 12314 |
|
fi |
| 14723 |
– |
|
| 12315 |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 12316 |
|
if test $ac_cv_c_bigendian = unknown; then |
| 12317 |
|
# See if sys/param.h defines the BYTE_ORDER macro. |
| 12318 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 14728 |
< |
/* confdefs.h. */ |
| 14729 |
< |
_ACEOF |
| 14730 |
< |
cat confdefs.h >>conftest.$ac_ext |
| 14731 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
| 12318 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 12319 |
|
/* end confdefs.h. */ |
| 12320 |
|
#include <sys/types.h> |
| 12321 |
|
#include <sys/param.h> |
| 12333 |
|
return 0; |
| 12334 |
|
} |
| 12335 |
|
_ACEOF |
| 12336 |
< |
rm -f conftest.$ac_objext |
| 14750 |
< |
if { (ac_try="$ac_compile" |
| 14751 |
< |
case "(($ac_try" in |
| 14752 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 14753 |
< |
*) ac_try_echo=$ac_try;; |
| 14754 |
< |
esac |
| 14755 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 14756 |
< |
$as_echo "$ac_try_echo") >&5 |
| 14757 |
< |
(eval "$ac_compile") 2>conftest.er1 |
| 14758 |
< |
ac_status=$? |
| 14759 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
| 14760 |
< |
rm -f conftest.er1 |
| 14761 |
< |
cat conftest.err >&5 |
| 14762 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 14763 |
< |
(exit $ac_status); } && { |
| 14764 |
< |
test -z "$ac_c_werror_flag" || |
| 14765 |
< |
test ! -s conftest.err |
| 14766 |
< |
} && test -s conftest.$ac_objext; then |
| 12336 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
| 12337 |
|
# It does; now see whether it defined to BIG_ENDIAN or not. |
| 12338 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 14769 |
< |
/* confdefs.h. */ |
| 14770 |
< |
_ACEOF |
| 14771 |
< |
cat confdefs.h >>conftest.$ac_ext |
| 14772 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
| 12338 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 12339 |
|
/* end confdefs.h. */ |
| 12340 |
|
#include <sys/types.h> |
| 12341 |
|
#include <sys/param.h> |
| 12351 |
|
return 0; |
| 12352 |
|
} |
| 12353 |
|
_ACEOF |
| 12354 |
< |
rm -f conftest.$ac_objext |
| 14789 |
< |
if { (ac_try="$ac_compile" |
| 14790 |
< |
case "(($ac_try" in |
| 14791 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 14792 |
< |
*) ac_try_echo=$ac_try;; |
| 14793 |
< |
esac |
| 14794 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 14795 |
< |
$as_echo "$ac_try_echo") >&5 |
| 14796 |
< |
(eval "$ac_compile") 2>conftest.er1 |
| 14797 |
< |
ac_status=$? |
| 14798 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
| 14799 |
< |
rm -f conftest.er1 |
| 14800 |
< |
cat conftest.err >&5 |
| 14801 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 14802 |
< |
(exit $ac_status); } && { |
| 14803 |
< |
test -z "$ac_c_werror_flag" || |
| 14804 |
< |
test ! -s conftest.err |
| 14805 |
< |
} && test -s conftest.$ac_objext; then |
| 12354 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
| 12355 |
|
ac_cv_c_bigendian=yes |
| 12356 |
|
else |
| 12357 |
< |
$as_echo "$as_me: failed program was:" >&5 |
| 14809 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 14810 |
< |
|
| 14811 |
< |
ac_cv_c_bigendian=no |
| 12357 |
> |
ac_cv_c_bigendian=no |
| 12358 |
|
fi |
| 14813 |
– |
|
| 12359 |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14815 |
– |
else |
| 14816 |
– |
$as_echo "$as_me: failed program was:" >&5 |
| 14817 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 14818 |
– |
|
| 14819 |
– |
|
| 12360 |
|
fi |
| 14821 |
– |
|
| 12361 |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 12362 |
|
fi |
| 12363 |
|
if test $ac_cv_c_bigendian = unknown; then |
| 12364 |
|
# See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). |
| 12365 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 14827 |
< |
/* confdefs.h. */ |
| 14828 |
< |
_ACEOF |
| 14829 |
< |
cat confdefs.h >>conftest.$ac_ext |
| 14830 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
| 12365 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 12366 |
|
/* end confdefs.h. */ |
| 12367 |
|
#include <limits.h> |
| 12368 |
|
|
| 12377 |
|
return 0; |
| 12378 |
|
} |
| 12379 |
|
_ACEOF |
| 12380 |
< |
rm -f conftest.$ac_objext |
| 14846 |
< |
if { (ac_try="$ac_compile" |
| 14847 |
< |
case "(($ac_try" in |
| 14848 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 14849 |
< |
*) ac_try_echo=$ac_try;; |
| 14850 |
< |
esac |
| 14851 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 14852 |
< |
$as_echo "$ac_try_echo") >&5 |
| 14853 |
< |
(eval "$ac_compile") 2>conftest.er1 |
| 14854 |
< |
ac_status=$? |
| 14855 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
| 14856 |
< |
rm -f conftest.er1 |
| 14857 |
< |
cat conftest.err >&5 |
| 14858 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 14859 |
< |
(exit $ac_status); } && { |
| 14860 |
< |
test -z "$ac_c_werror_flag" || |
| 14861 |
< |
test ! -s conftest.err |
| 14862 |
< |
} && test -s conftest.$ac_objext; then |
| 12380 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
| 12381 |
|
# It does; now see whether it defined to _BIG_ENDIAN or not. |
| 12382 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 14865 |
< |
/* confdefs.h. */ |
| 14866 |
< |
_ACEOF |
| 14867 |
< |
cat confdefs.h >>conftest.$ac_ext |
| 14868 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
| 12382 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 12383 |
|
/* end confdefs.h. */ |
| 12384 |
|
#include <limits.h> |
| 12385 |
|
|
| 12394 |
|
return 0; |
| 12395 |
|
} |
| 12396 |
|
_ACEOF |
| 12397 |
< |
rm -f conftest.$ac_objext |
| 14884 |
< |
if { (ac_try="$ac_compile" |
| 14885 |
< |
case "(($ac_try" in |
| 14886 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 14887 |
< |
*) ac_try_echo=$ac_try;; |
| 14888 |
< |
esac |
| 14889 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 14890 |
< |
$as_echo "$ac_try_echo") >&5 |
| 14891 |
< |
(eval "$ac_compile") 2>conftest.er1 |
| 14892 |
< |
ac_status=$? |
| 14893 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
| 14894 |
< |
rm -f conftest.er1 |
| 14895 |
< |
cat conftest.err >&5 |
| 14896 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 14897 |
< |
(exit $ac_status); } && { |
| 14898 |
< |
test -z "$ac_c_werror_flag" || |
| 14899 |
< |
test ! -s conftest.err |
| 14900 |
< |
} && test -s conftest.$ac_objext; then |
| 12397 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
| 12398 |
|
ac_cv_c_bigendian=yes |
| 12399 |
|
else |
| 12400 |
< |
$as_echo "$as_me: failed program was:" >&5 |
| 14904 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 14905 |
< |
|
| 14906 |
< |
ac_cv_c_bigendian=no |
| 12400 |
> |
ac_cv_c_bigendian=no |
| 12401 |
|
fi |
| 14908 |
– |
|
| 12402 |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14910 |
– |
else |
| 14911 |
– |
$as_echo "$as_me: failed program was:" >&5 |
| 14912 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 14913 |
– |
|
| 14914 |
– |
|
| 12403 |
|
fi |
| 14916 |
– |
|
| 12404 |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 12405 |
|
fi |
| 12406 |
|
if test $ac_cv_c_bigendian = unknown; then |
| 12407 |
|
# Compile a test program. |
| 12408 |
< |
if test "$cross_compiling" = yes; then |
| 12408 |
> |
if test "$cross_compiling" = yes; then : |
| 12409 |
|
# Try to guess by grepping values from an object file. |
| 12410 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 14924 |
< |
/* confdefs.h. */ |
| 14925 |
< |
_ACEOF |
| 14926 |
< |
cat confdefs.h >>conftest.$ac_ext |
| 14927 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
| 12410 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 12411 |
|
/* end confdefs.h. */ |
| 12412 |
|
short int ascii_mm[] = |
| 12413 |
|
{ 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; |
| 12433 |
|
return 0; |
| 12434 |
|
} |
| 12435 |
|
_ACEOF |
| 12436 |
< |
rm -f conftest.$ac_objext |
| 14954 |
< |
if { (ac_try="$ac_compile" |
| 14955 |
< |
case "(($ac_try" in |
| 14956 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 14957 |
< |
*) ac_try_echo=$ac_try;; |
| 14958 |
< |
esac |
| 14959 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 14960 |
< |
$as_echo "$ac_try_echo") >&5 |
| 14961 |
< |
(eval "$ac_compile") 2>conftest.er1 |
| 14962 |
< |
ac_status=$? |
| 14963 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
| 14964 |
< |
rm -f conftest.er1 |
| 14965 |
< |
cat conftest.err >&5 |
| 14966 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 14967 |
< |
(exit $ac_status); } && { |
| 14968 |
< |
test -z "$ac_c_werror_flag" || |
| 14969 |
< |
test ! -s conftest.err |
| 14970 |
< |
} && test -s conftest.$ac_objext; then |
| 12436 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
| 12437 |
|
if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then |
| 12438 |
|
ac_cv_c_bigendian=yes |
| 12439 |
|
fi |
| 12445 |
|
ac_cv_c_bigendian=unknown |
| 12446 |
|
fi |
| 12447 |
|
fi |
| 14982 |
– |
else |
| 14983 |
– |
$as_echo "$as_me: failed program was:" >&5 |
| 14984 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 14985 |
– |
|
| 14986 |
– |
|
| 12448 |
|
fi |
| 14988 |
– |
|
| 12449 |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 12450 |
|
else |
| 12451 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 14992 |
< |
/* confdefs.h. */ |
| 14993 |
< |
_ACEOF |
| 14994 |
< |
cat confdefs.h >>conftest.$ac_ext |
| 14995 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
| 12451 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 12452 |
|
/* end confdefs.h. */ |
| 12453 |
|
$ac_includes_default |
| 12454 |
|
int |
| 12468 |
|
return 0; |
| 12469 |
|
} |
| 12470 |
|
_ACEOF |
| 12471 |
< |
rm -f conftest$ac_exeext |
| 15016 |
< |
if { (ac_try="$ac_link" |
| 15017 |
< |
case "(($ac_try" in |
| 15018 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 15019 |
< |
*) ac_try_echo=$ac_try;; |
| 15020 |
< |
esac |
| 15021 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 15022 |
< |
$as_echo "$ac_try_echo") >&5 |
| 15023 |
< |
(eval "$ac_link") 2>&5 |
| 15024 |
< |
ac_status=$? |
| 15025 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 15026 |
< |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
| 15027 |
< |
{ (case "(($ac_try" in |
| 15028 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 15029 |
< |
*) ac_try_echo=$ac_try;; |
| 15030 |
< |
esac |
| 15031 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 15032 |
< |
$as_echo "$ac_try_echo") >&5 |
| 15033 |
< |
(eval "$ac_try") 2>&5 |
| 15034 |
< |
ac_status=$? |
| 15035 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 15036 |
< |
(exit $ac_status); }; }; then |
| 12471 |
> |
if ac_fn_c_try_run "$LINENO"; then : |
| 12472 |
|
ac_cv_c_bigendian=no |
| 12473 |
|
else |
| 12474 |
< |
$as_echo "$as_me: program exited with status $ac_status" >&5 |
| 15040 |
< |
$as_echo "$as_me: failed program was:" >&5 |
| 15041 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 15042 |
< |
|
| 15043 |
< |
( exit $ac_status ) |
| 15044 |
< |
ac_cv_c_bigendian=yes |
| 12474 |
> |
ac_cv_c_bigendian=yes |
| 12475 |
|
fi |
| 12476 |
< |
rm -rf conftest.dSYM |
| 12477 |
< |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 12476 |
> |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 12477 |
> |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 12478 |
|
fi |
| 12479 |
|
|
| 15050 |
– |
|
| 12480 |
|
fi |
| 12481 |
|
fi |
| 12482 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 |
| 12482 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 |
| 12483 |
|
$as_echo "$ac_cv_c_bigendian" >&6; } |
| 12484 |
|
case $ac_cv_c_bigendian in #( |
| 12485 |
|
yes) |
| 12486 |
< |
cat >>confdefs.h <<\_ACEOF |
| 15058 |
< |
#define WORDS_BIGENDIAN 1 |
| 15059 |
< |
_ACEOF |
| 12486 |
> |
$as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h |
| 12487 |
|
;; #( |
| 12488 |
|
no) |
| 12489 |
|
;; #( |
| 12490 |
|
universal) |
| 12491 |
|
|
| 12492 |
< |
cat >>confdefs.h <<\_ACEOF |
| 15066 |
< |
#define AC_APPLE_UNIVERSAL_BUILD 1 |
| 15067 |
< |
_ACEOF |
| 12492 |
> |
$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h |
| 12493 |
|
|
| 12494 |
|
;; #( |
| 12495 |
|
*) |
| 12496 |
< |
{ { $as_echo "$as_me:$LINENO: error: unknown endianness |
| 12497 |
< |
presetting ac_cv_c_bigendian=no (or yes) will help" >&5 |
| 15073 |
< |
$as_echo "$as_me: error: unknown endianness |
| 15074 |
< |
presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} |
| 15075 |
< |
{ (exit 1); exit 1; }; } ;; |
| 12496 |
> |
as_fn_error "unknown endianness |
| 12497 |
> |
presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; |
| 12498 |
|
esac |
| 12499 |
|
|
| 12500 |
|
|
| 15079 |
– |
# The cast to long int works around a bug in the HP C Compiler |
| 15080 |
– |
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
| 15081 |
– |
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
| 15082 |
– |
# This bug is HP SR number 8606223364. |
| 15083 |
– |
{ $as_echo "$as_me:$LINENO: checking size of int64_t" >&5 |
| 15084 |
– |
$as_echo_n "checking size of int64_t... " >&6; } |
| 15085 |
– |
if test "${ac_cv_sizeof_int64_t+set}" = set; then |
| 15086 |
– |
$as_echo_n "(cached) " >&6 |
| 15087 |
– |
else |
| 15088 |
– |
if test "$cross_compiling" = yes; then |
| 15089 |
– |
# Depending upon the size, compute the lo and hi bounds. |
| 15090 |
– |
cat >conftest.$ac_ext <<_ACEOF |
| 15091 |
– |
/* confdefs.h. */ |
| 15092 |
– |
_ACEOF |
| 15093 |
– |
cat confdefs.h >>conftest.$ac_ext |
| 15094 |
– |
cat >>conftest.$ac_ext <<_ACEOF |
| 15095 |
– |
/* end confdefs.h. */ |
| 15096 |
– |
$ac_includes_default |
| 15097 |
– |
int |
| 15098 |
– |
main () |
| 15099 |
– |
{ |
| 15100 |
– |
static int test_array [1 - 2 * !(((long int) (sizeof (int64_t))) >= 0)]; |
| 15101 |
– |
test_array [0] = 0 |
| 15102 |
– |
|
| 15103 |
– |
; |
| 15104 |
– |
return 0; |
| 15105 |
– |
} |
| 15106 |
– |
_ACEOF |
| 15107 |
– |
rm -f conftest.$ac_objext |
| 15108 |
– |
if { (ac_try="$ac_compile" |
| 15109 |
– |
case "(($ac_try" in |
| 15110 |
– |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 15111 |
– |
*) ac_try_echo=$ac_try;; |
| 15112 |
– |
esac |
| 15113 |
– |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 15114 |
– |
$as_echo "$ac_try_echo") >&5 |
| 15115 |
– |
(eval "$ac_compile") 2>conftest.er1 |
| 15116 |
– |
ac_status=$? |
| 15117 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
| 15118 |
– |
rm -f conftest.er1 |
| 15119 |
– |
cat conftest.err >&5 |
| 15120 |
– |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 15121 |
– |
(exit $ac_status); } && { |
| 15122 |
– |
test -z "$ac_c_werror_flag" || |
| 15123 |
– |
test ! -s conftest.err |
| 15124 |
– |
} && test -s conftest.$ac_objext; then |
| 15125 |
– |
ac_lo=0 ac_mid=0 |
| 15126 |
– |
while :; do |
| 15127 |
– |
cat >conftest.$ac_ext <<_ACEOF |
| 15128 |
– |
/* confdefs.h. */ |
| 15129 |
– |
_ACEOF |
| 15130 |
– |
cat confdefs.h >>conftest.$ac_ext |
| 15131 |
– |
cat >>conftest.$ac_ext <<_ACEOF |
| 15132 |
– |
/* end confdefs.h. */ |
| 15133 |
– |
$ac_includes_default |
| 15134 |
– |
int |
| 15135 |
– |
main () |
| 15136 |
– |
{ |
| 15137 |
– |
static int test_array [1 - 2 * !(((long int) (sizeof (int64_t))) <= $ac_mid)]; |
| 15138 |
– |
test_array [0] = 0 |
| 15139 |
– |
|
| 15140 |
– |
; |
| 15141 |
– |
return 0; |
| 15142 |
– |
} |
| 15143 |
– |
_ACEOF |
| 15144 |
– |
rm -f conftest.$ac_objext |
| 15145 |
– |
if { (ac_try="$ac_compile" |
| 15146 |
– |
case "(($ac_try" in |
| 15147 |
– |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 15148 |
– |
*) ac_try_echo=$ac_try;; |
| 15149 |
– |
esac |
| 15150 |
– |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 15151 |
– |
$as_echo "$ac_try_echo") >&5 |
| 15152 |
– |
(eval "$ac_compile") 2>conftest.er1 |
| 15153 |
– |
ac_status=$? |
| 15154 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
| 15155 |
– |
rm -f conftest.er1 |
| 15156 |
– |
cat conftest.err >&5 |
| 15157 |
– |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 15158 |
– |
(exit $ac_status); } && { |
| 15159 |
– |
test -z "$ac_c_werror_flag" || |
| 15160 |
– |
test ! -s conftest.err |
| 15161 |
– |
} && test -s conftest.$ac_objext; then |
| 15162 |
– |
ac_hi=$ac_mid; break |
| 15163 |
– |
else |
| 15164 |
– |
$as_echo "$as_me: failed program was:" >&5 |
| 15165 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 15166 |
– |
|
| 15167 |
– |
ac_lo=`expr $ac_mid + 1` |
| 15168 |
– |
if test $ac_lo -le $ac_mid; then |
| 15169 |
– |
ac_lo= ac_hi= |
| 15170 |
– |
break |
| 15171 |
– |
fi |
| 15172 |
– |
ac_mid=`expr 2 '*' $ac_mid + 1` |
| 15173 |
– |
fi |
| 15174 |
– |
|
| 15175 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 15176 |
– |
done |
| 15177 |
– |
else |
| 15178 |
– |
$as_echo "$as_me: failed program was:" >&5 |
| 15179 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 15180 |
– |
|
| 15181 |
– |
cat >conftest.$ac_ext <<_ACEOF |
| 15182 |
– |
/* confdefs.h. */ |
| 15183 |
– |
_ACEOF |
| 15184 |
– |
cat confdefs.h >>conftest.$ac_ext |
| 15185 |
– |
cat >>conftest.$ac_ext <<_ACEOF |
| 15186 |
– |
/* end confdefs.h. */ |
| 15187 |
– |
$ac_includes_default |
| 15188 |
– |
int |
| 15189 |
– |
main () |
| 15190 |
– |
{ |
| 15191 |
– |
static int test_array [1 - 2 * !(((long int) (sizeof (int64_t))) < 0)]; |
| 15192 |
– |
test_array [0] = 0 |
| 15193 |
– |
|
| 15194 |
– |
; |
| 15195 |
– |
return 0; |
| 15196 |
– |
} |
| 15197 |
– |
_ACEOF |
| 15198 |
– |
rm -f conftest.$ac_objext |
| 15199 |
– |
if { (ac_try="$ac_compile" |
| 15200 |
– |
case "(($ac_try" in |
| 15201 |
– |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 15202 |
– |
*) ac_try_echo=$ac_try;; |
| 15203 |
– |
esac |
| 15204 |
– |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 15205 |
– |
$as_echo "$ac_try_echo") >&5 |
| 15206 |
– |
(eval "$ac_compile") 2>conftest.er1 |
| 15207 |
– |
ac_status=$? |
| 15208 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
| 15209 |
– |
rm -f conftest.er1 |
| 15210 |
– |
cat conftest.err >&5 |
| 15211 |
– |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 15212 |
– |
(exit $ac_status); } && { |
| 15213 |
– |
test -z "$ac_c_werror_flag" || |
| 15214 |
– |
test ! -s conftest.err |
| 15215 |
– |
} && test -s conftest.$ac_objext; then |
| 15216 |
– |
ac_hi=-1 ac_mid=-1 |
| 15217 |
– |
while :; do |
| 15218 |
– |
cat >conftest.$ac_ext <<_ACEOF |
| 15219 |
– |
/* confdefs.h. */ |
| 15220 |
– |
_ACEOF |
| 15221 |
– |
cat confdefs.h >>conftest.$ac_ext |
| 15222 |
– |
cat >>conftest.$ac_ext <<_ACEOF |
| 15223 |
– |
/* end confdefs.h. */ |
| 15224 |
– |
$ac_includes_default |
| 15225 |
– |
int |
| 15226 |
– |
main () |
| 15227 |
– |
{ |
| 15228 |
– |
static int test_array [1 - 2 * !(((long int) (sizeof (int64_t))) >= $ac_mid)]; |
| 15229 |
– |
test_array [0] = 0 |
| 15230 |
– |
|
| 15231 |
– |
; |
| 15232 |
– |
return 0; |
| 15233 |
– |
} |
| 15234 |
– |
_ACEOF |
| 15235 |
– |
rm -f conftest.$ac_objext |
| 15236 |
– |
if { (ac_try="$ac_compile" |
| 15237 |
– |
case "(($ac_try" in |
| 15238 |
– |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 15239 |
– |
*) ac_try_echo=$ac_try;; |
| 15240 |
– |
esac |
| 15241 |
– |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 15242 |
– |
$as_echo "$ac_try_echo") >&5 |
| 15243 |
– |
(eval "$ac_compile") 2>conftest.er1 |
| 15244 |
– |
ac_status=$? |
| 15245 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
| 15246 |
– |
rm -f conftest.er1 |
| 15247 |
– |
cat conftest.err >&5 |
| 15248 |
– |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 15249 |
– |
(exit $ac_status); } && { |
| 15250 |
– |
test -z "$ac_c_werror_flag" || |
| 15251 |
– |
test ! -s conftest.err |
| 15252 |
– |
} && test -s conftest.$ac_objext; then |
| 15253 |
– |
ac_lo=$ac_mid; break |
| 15254 |
– |
else |
| 15255 |
– |
$as_echo "$as_me: failed program was:" >&5 |
| 15256 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 15257 |
– |
|
| 15258 |
– |
ac_hi=`expr '(' $ac_mid ')' - 1` |
| 15259 |
– |
if test $ac_mid -le $ac_hi; then |
| 15260 |
– |
ac_lo= ac_hi= |
| 15261 |
– |
break |
| 15262 |
– |
fi |
| 15263 |
– |
ac_mid=`expr 2 '*' $ac_mid` |
| 15264 |
– |
fi |
| 15265 |
– |
|
| 15266 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 15267 |
– |
done |
| 15268 |
– |
else |
| 15269 |
– |
$as_echo "$as_me: failed program was:" >&5 |
| 15270 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 15271 |
– |
|
| 15272 |
– |
ac_lo= ac_hi= |
| 15273 |
– |
fi |
| 15274 |
– |
|
| 15275 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 15276 |
– |
fi |
| 15277 |
– |
|
| 15278 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 15279 |
– |
# Binary search between lo and hi bounds. |
| 15280 |
– |
while test "x$ac_lo" != "x$ac_hi"; do |
| 15281 |
– |
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` |
| 15282 |
– |
cat >conftest.$ac_ext <<_ACEOF |
| 15283 |
– |
/* confdefs.h. */ |
| 15284 |
– |
_ACEOF |
| 15285 |
– |
cat confdefs.h >>conftest.$ac_ext |
| 15286 |
– |
cat >>conftest.$ac_ext <<_ACEOF |
| 15287 |
– |
/* end confdefs.h. */ |
| 15288 |
– |
$ac_includes_default |
| 15289 |
– |
int |
| 15290 |
– |
main () |
| 15291 |
– |
{ |
| 15292 |
– |
static int test_array [1 - 2 * !(((long int) (sizeof (int64_t))) <= $ac_mid)]; |
| 15293 |
– |
test_array [0] = 0 |
| 15294 |
– |
|
| 15295 |
– |
; |
| 15296 |
– |
return 0; |
| 15297 |
– |
} |
| 15298 |
– |
_ACEOF |
| 15299 |
– |
rm -f conftest.$ac_objext |
| 15300 |
– |
if { (ac_try="$ac_compile" |
| 15301 |
– |
case "(($ac_try" in |
| 15302 |
– |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 15303 |
– |
*) ac_try_echo=$ac_try;; |
| 15304 |
– |
esac |
| 15305 |
– |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 15306 |
– |
$as_echo "$ac_try_echo") >&5 |
| 15307 |
– |
(eval "$ac_compile") 2>conftest.er1 |
| 15308 |
– |
ac_status=$? |
| 15309 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
| 15310 |
– |
rm -f conftest.er1 |
| 15311 |
– |
cat conftest.err >&5 |
| 15312 |
– |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 15313 |
– |
(exit $ac_status); } && { |
| 15314 |
– |
test -z "$ac_c_werror_flag" || |
| 15315 |
– |
test ! -s conftest.err |
| 15316 |
– |
} && test -s conftest.$ac_objext; then |
| 15317 |
– |
ac_hi=$ac_mid |
| 15318 |
– |
else |
| 15319 |
– |
$as_echo "$as_me: failed program was:" >&5 |
| 15320 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 15321 |
– |
|
| 15322 |
– |
ac_lo=`expr '(' $ac_mid ')' + 1` |
| 15323 |
– |
fi |
| 15324 |
– |
|
| 15325 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 15326 |
– |
done |
| 15327 |
– |
case $ac_lo in |
| 15328 |
– |
?*) ac_cv_sizeof_int64_t=$ac_lo;; |
| 15329 |
– |
'') if test "$ac_cv_type_int64_t" = yes; then |
| 15330 |
– |
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
| 15331 |
– |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 15332 |
– |
{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int64_t) |
| 15333 |
– |
See \`config.log' for more details." >&5 |
| 15334 |
– |
$as_echo "$as_me: error: cannot compute sizeof (int64_t) |
| 15335 |
– |
See \`config.log' for more details." >&2;} |
| 15336 |
– |
{ (exit 77); exit 77; }; }; } |
| 15337 |
– |
else |
| 15338 |
– |
ac_cv_sizeof_int64_t=0 |
| 15339 |
– |
fi ;; |
| 15340 |
– |
esac |
| 15341 |
– |
else |
| 15342 |
– |
cat >conftest.$ac_ext <<_ACEOF |
| 15343 |
– |
/* confdefs.h. */ |
| 15344 |
– |
_ACEOF |
| 15345 |
– |
cat confdefs.h >>conftest.$ac_ext |
| 15346 |
– |
cat >>conftest.$ac_ext <<_ACEOF |
| 15347 |
– |
/* end confdefs.h. */ |
| 15348 |
– |
$ac_includes_default |
| 15349 |
– |
static long int longval () { return (long int) (sizeof (int64_t)); } |
| 15350 |
– |
static unsigned long int ulongval () { return (long int) (sizeof (int64_t)); } |
| 15351 |
– |
#include <stdio.h> |
| 15352 |
– |
#include <stdlib.h> |
| 15353 |
– |
int |
| 15354 |
– |
main () |
| 15355 |
– |
{ |
| 15356 |
– |
|
| 15357 |
– |
FILE *f = fopen ("conftest.val", "w"); |
| 15358 |
– |
if (! f) |
| 15359 |
– |
return 1; |
| 15360 |
– |
if (((long int) (sizeof (int64_t))) < 0) |
| 15361 |
– |
{ |
| 15362 |
– |
long int i = longval (); |
| 15363 |
– |
if (i != ((long int) (sizeof (int64_t)))) |
| 15364 |
– |
return 1; |
| 15365 |
– |
fprintf (f, "%ld", i); |
| 15366 |
– |
} |
| 15367 |
– |
else |
| 15368 |
– |
{ |
| 15369 |
– |
unsigned long int i = ulongval (); |
| 15370 |
– |
if (i != ((long int) (sizeof (int64_t)))) |
| 15371 |
– |
return 1; |
| 15372 |
– |
fprintf (f, "%lu", i); |
| 15373 |
– |
} |
| 15374 |
– |
/* Do not output a trailing newline, as this causes \r\n confusion |
| 15375 |
– |
on some platforms. */ |
| 15376 |
– |
return ferror (f) || fclose (f) != 0; |
| 15377 |
– |
|
| 15378 |
– |
; |
| 15379 |
– |
return 0; |
| 15380 |
– |
} |
| 15381 |
– |
_ACEOF |
| 15382 |
– |
rm -f conftest$ac_exeext |
| 15383 |
– |
if { (ac_try="$ac_link" |
| 15384 |
– |
case "(($ac_try" in |
| 15385 |
– |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 15386 |
– |
*) ac_try_echo=$ac_try;; |
| 15387 |
– |
esac |
| 15388 |
– |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 15389 |
– |
$as_echo "$ac_try_echo") >&5 |
| 15390 |
– |
(eval "$ac_link") 2>&5 |
| 15391 |
– |
ac_status=$? |
| 15392 |
– |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 15393 |
– |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
| 15394 |
– |
{ (case "(($ac_try" in |
| 15395 |
– |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 15396 |
– |
*) ac_try_echo=$ac_try;; |
| 15397 |
– |
esac |
| 15398 |
– |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 15399 |
– |
$as_echo "$ac_try_echo") >&5 |
| 15400 |
– |
(eval "$ac_try") 2>&5 |
| 15401 |
– |
ac_status=$? |
| 15402 |
– |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 15403 |
– |
(exit $ac_status); }; }; then |
| 15404 |
– |
ac_cv_sizeof_int64_t=`cat conftest.val` |
| 15405 |
– |
else |
| 15406 |
– |
$as_echo "$as_me: program exited with status $ac_status" >&5 |
| 15407 |
– |
$as_echo "$as_me: failed program was:" >&5 |
| 15408 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 15409 |
– |
|
| 15410 |
– |
( exit $ac_status ) |
| 15411 |
– |
if test "$ac_cv_type_int64_t" = yes; then |
| 15412 |
– |
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
| 15413 |
– |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 15414 |
– |
{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int64_t) |
| 15415 |
– |
See \`config.log' for more details." >&5 |
| 15416 |
– |
$as_echo "$as_me: error: cannot compute sizeof (int64_t) |
| 15417 |
– |
See \`config.log' for more details." >&2;} |
| 15418 |
– |
{ (exit 77); exit 77; }; }; } |
| 15419 |
– |
else |
| 15420 |
– |
ac_cv_sizeof_int64_t=0 |
| 15421 |
– |
fi |
| 15422 |
– |
fi |
| 15423 |
– |
rm -rf conftest.dSYM |
| 15424 |
– |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 15425 |
– |
fi |
| 15426 |
– |
rm -f conftest.val |
| 15427 |
– |
fi |
| 15428 |
– |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_int64_t" >&5 |
| 15429 |
– |
$as_echo "$ac_cv_sizeof_int64_t" >&6; } |
| 15430 |
– |
|
| 15431 |
– |
|
| 15432 |
– |
|
| 15433 |
– |
cat >>confdefs.h <<_ACEOF |
| 15434 |
– |
#define SIZEOF_INT64_T $ac_cv_sizeof_int64_t |
| 15435 |
– |
_ACEOF |
| 15436 |
– |
|
| 15437 |
– |
|
| 15438 |
– |
# The cast to long int works around a bug in the HP C Compiler |
| 15439 |
– |
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
| 15440 |
– |
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
| 15441 |
– |
# This bug is HP SR number 8606223364. |
| 15442 |
– |
{ $as_echo "$as_me:$LINENO: checking size of long long" >&5 |
| 15443 |
– |
$as_echo_n "checking size of long long... " >&6; } |
| 15444 |
– |
if test "${ac_cv_sizeof_long_long+set}" = set; then |
| 15445 |
– |
$as_echo_n "(cached) " >&6 |
| 15446 |
– |
else |
| 15447 |
– |
if test "$cross_compiling" = yes; then |
| 15448 |
– |
# Depending upon the size, compute the lo and hi bounds. |
| 15449 |
– |
cat >conftest.$ac_ext <<_ACEOF |
| 15450 |
– |
/* confdefs.h. */ |
| 15451 |
– |
_ACEOF |
| 15452 |
– |
cat confdefs.h >>conftest.$ac_ext |
| 15453 |
– |
cat >>conftest.$ac_ext <<_ACEOF |
| 15454 |
– |
/* end confdefs.h. */ |
| 15455 |
– |
$ac_includes_default |
| 15456 |
– |
int |
| 15457 |
– |
main () |
| 15458 |
– |
{ |
| 15459 |
– |
static int test_array [1 - 2 * !(((long int) (sizeof (long long))) >= 0)]; |
| 15460 |
– |
test_array [0] = 0 |
| 15461 |
– |
|
| 15462 |
– |
; |
| 15463 |
– |
return 0; |
| 15464 |
– |
} |
| 15465 |
– |
_ACEOF |
| 15466 |
– |
rm -f conftest.$ac_objext |
| 15467 |
– |
if { (ac_try="$ac_compile" |
| 15468 |
– |
case "(($ac_try" in |
| 15469 |
– |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 15470 |
– |
*) ac_try_echo=$ac_try;; |
| 15471 |
– |
esac |
| 15472 |
– |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 15473 |
– |
$as_echo "$ac_try_echo") >&5 |
| 15474 |
– |
(eval "$ac_compile") 2>conftest.er1 |
| 15475 |
– |
ac_status=$? |
| 15476 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
| 15477 |
– |
rm -f conftest.er1 |
| 15478 |
– |
cat conftest.err >&5 |
| 15479 |
– |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 15480 |
– |
(exit $ac_status); } && { |
| 15481 |
– |
test -z "$ac_c_werror_flag" || |
| 15482 |
– |
test ! -s conftest.err |
| 15483 |
– |
} && test -s conftest.$ac_objext; then |
| 15484 |
– |
ac_lo=0 ac_mid=0 |
| 15485 |
– |
while :; do |
| 15486 |
– |
cat >conftest.$ac_ext <<_ACEOF |
| 15487 |
– |
/* confdefs.h. */ |
| 15488 |
– |
_ACEOF |
| 15489 |
– |
cat confdefs.h >>conftest.$ac_ext |
| 15490 |
– |
cat >>conftest.$ac_ext <<_ACEOF |
| 15491 |
– |
/* end confdefs.h. */ |
| 15492 |
– |
$ac_includes_default |
| 15493 |
– |
int |
| 15494 |
– |
main () |
| 15495 |
– |
{ |
| 15496 |
– |
static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= $ac_mid)]; |
| 15497 |
– |
test_array [0] = 0 |
| 15498 |
– |
|
| 15499 |
– |
; |
| 15500 |
– |
return 0; |
| 15501 |
– |
} |
| 15502 |
– |
_ACEOF |
| 15503 |
– |
rm -f conftest.$ac_objext |
| 15504 |
– |
if { (ac_try="$ac_compile" |
| 15505 |
– |
case "(($ac_try" in |
| 15506 |
– |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 15507 |
– |
*) ac_try_echo=$ac_try;; |
| 15508 |
– |
esac |
| 15509 |
– |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 15510 |
– |
$as_echo "$ac_try_echo") >&5 |
| 15511 |
– |
(eval "$ac_compile") 2>conftest.er1 |
| 15512 |
– |
ac_status=$? |
| 15513 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
| 15514 |
– |
rm -f conftest.er1 |
| 15515 |
– |
cat conftest.err >&5 |
| 15516 |
– |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 15517 |
– |
(exit $ac_status); } && { |
| 15518 |
– |
test -z "$ac_c_werror_flag" || |
| 15519 |
– |
test ! -s conftest.err |
| 15520 |
– |
} && test -s conftest.$ac_objext; then |
| 15521 |
– |
ac_hi=$ac_mid; break |
| 15522 |
– |
else |
| 15523 |
– |
$as_echo "$as_me: failed program was:" >&5 |
| 15524 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 15525 |
– |
|
| 15526 |
– |
ac_lo=`expr $ac_mid + 1` |
| 15527 |
– |
if test $ac_lo -le $ac_mid; then |
| 15528 |
– |
ac_lo= ac_hi= |
| 15529 |
– |
break |
| 15530 |
– |
fi |
| 15531 |
– |
ac_mid=`expr 2 '*' $ac_mid + 1` |
| 15532 |
– |
fi |
| 15533 |
– |
|
| 15534 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 15535 |
– |
done |
| 15536 |
– |
else |
| 15537 |
– |
$as_echo "$as_me: failed program was:" >&5 |
| 15538 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 15539 |
– |
|
| 15540 |
– |
cat >conftest.$ac_ext <<_ACEOF |
| 15541 |
– |
/* confdefs.h. */ |
| 15542 |
– |
_ACEOF |
| 15543 |
– |
cat confdefs.h >>conftest.$ac_ext |
| 15544 |
– |
cat >>conftest.$ac_ext <<_ACEOF |
| 15545 |
– |
/* end confdefs.h. */ |
| 15546 |
– |
$ac_includes_default |
| 15547 |
– |
int |
| 15548 |
– |
main () |
| 15549 |
– |
{ |
| 15550 |
– |
static int test_array [1 - 2 * !(((long int) (sizeof (long long))) < 0)]; |
| 15551 |
– |
test_array [0] = 0 |
| 15552 |
– |
|
| 15553 |
– |
; |
| 15554 |
– |
return 0; |
| 15555 |
– |
} |
| 15556 |
– |
_ACEOF |
| 15557 |
– |
rm -f conftest.$ac_objext |
| 15558 |
– |
if { (ac_try="$ac_compile" |
| 15559 |
– |
case "(($ac_try" in |
| 15560 |
– |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 15561 |
– |
*) ac_try_echo=$ac_try;; |
| 15562 |
– |
esac |
| 15563 |
– |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 15564 |
– |
$as_echo "$ac_try_echo") >&5 |
| 15565 |
– |
(eval "$ac_compile") 2>conftest.er1 |
| 15566 |
– |
ac_status=$? |
| 15567 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
| 15568 |
– |
rm -f conftest.er1 |
| 15569 |
– |
cat conftest.err >&5 |
| 15570 |
– |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 15571 |
– |
(exit $ac_status); } && { |
| 15572 |
– |
test -z "$ac_c_werror_flag" || |
| 15573 |
– |
test ! -s conftest.err |
| 15574 |
– |
} && test -s conftest.$ac_objext; then |
| 15575 |
– |
ac_hi=-1 ac_mid=-1 |
| 15576 |
– |
while :; do |
| 15577 |
– |
cat >conftest.$ac_ext <<_ACEOF |
| 15578 |
– |
/* confdefs.h. */ |
| 15579 |
– |
_ACEOF |
| 15580 |
– |
cat confdefs.h >>conftest.$ac_ext |
| 15581 |
– |
cat >>conftest.$ac_ext <<_ACEOF |
| 15582 |
– |
/* end confdefs.h. */ |
| 15583 |
– |
$ac_includes_default |
| 15584 |
– |
int |
| 15585 |
– |
main () |
| 15586 |
– |
{ |
| 15587 |
– |
static int test_array [1 - 2 * !(((long int) (sizeof (long long))) >= $ac_mid)]; |
| 15588 |
– |
test_array [0] = 0 |
| 15589 |
– |
|
| 15590 |
– |
; |
| 15591 |
– |
return 0; |
| 15592 |
– |
} |
| 15593 |
– |
_ACEOF |
| 15594 |
– |
rm -f conftest.$ac_objext |
| 15595 |
– |
if { (ac_try="$ac_compile" |
| 15596 |
– |
case "(($ac_try" in |
| 15597 |
– |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 15598 |
– |
*) ac_try_echo=$ac_try;; |
| 15599 |
– |
esac |
| 15600 |
– |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 15601 |
– |
$as_echo "$ac_try_echo") >&5 |
| 15602 |
– |
(eval "$ac_compile") 2>conftest.er1 |
| 15603 |
– |
ac_status=$? |
| 15604 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
| 15605 |
– |
rm -f conftest.er1 |
| 15606 |
– |
cat conftest.err >&5 |
| 15607 |
– |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 15608 |
– |
(exit $ac_status); } && { |
| 15609 |
– |
test -z "$ac_c_werror_flag" || |
| 15610 |
– |
test ! -s conftest.err |
| 15611 |
– |
} && test -s conftest.$ac_objext; then |
| 15612 |
– |
ac_lo=$ac_mid; break |
| 15613 |
– |
else |
| 15614 |
– |
$as_echo "$as_me: failed program was:" >&5 |
| 15615 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 15616 |
– |
|
| 15617 |
– |
ac_hi=`expr '(' $ac_mid ')' - 1` |
| 15618 |
– |
if test $ac_mid -le $ac_hi; then |
| 15619 |
– |
ac_lo= ac_hi= |
| 15620 |
– |
break |
| 15621 |
– |
fi |
| 15622 |
– |
ac_mid=`expr 2 '*' $ac_mid` |
| 15623 |
– |
fi |
| 15624 |
– |
|
| 15625 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 15626 |
– |
done |
| 15627 |
– |
else |
| 15628 |
– |
$as_echo "$as_me: failed program was:" >&5 |
| 15629 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 15630 |
– |
|
| 15631 |
– |
ac_lo= ac_hi= |
| 15632 |
– |
fi |
| 15633 |
– |
|
| 15634 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 15635 |
– |
fi |
| 15636 |
– |
|
| 15637 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 15638 |
– |
# Binary search between lo and hi bounds. |
| 15639 |
– |
while test "x$ac_lo" != "x$ac_hi"; do |
| 15640 |
– |
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` |
| 15641 |
– |
cat >conftest.$ac_ext <<_ACEOF |
| 15642 |
– |
/* confdefs.h. */ |
| 15643 |
– |
_ACEOF |
| 15644 |
– |
cat confdefs.h >>conftest.$ac_ext |
| 15645 |
– |
cat >>conftest.$ac_ext <<_ACEOF |
| 15646 |
– |
/* end confdefs.h. */ |
| 15647 |
– |
$ac_includes_default |
| 15648 |
– |
int |
| 15649 |
– |
main () |
| 15650 |
– |
{ |
| 15651 |
– |
static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= $ac_mid)]; |
| 15652 |
– |
test_array [0] = 0 |
| 15653 |
– |
|
| 15654 |
– |
; |
| 15655 |
– |
return 0; |
| 15656 |
– |
} |
| 15657 |
– |
_ACEOF |
| 15658 |
– |
rm -f conftest.$ac_objext |
| 15659 |
– |
if { (ac_try="$ac_compile" |
| 15660 |
– |
case "(($ac_try" in |
| 15661 |
– |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 15662 |
– |
*) ac_try_echo=$ac_try;; |
| 15663 |
– |
esac |
| 15664 |
– |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 15665 |
– |
$as_echo "$ac_try_echo") >&5 |
| 15666 |
– |
(eval "$ac_compile") 2>conftest.er1 |
| 15667 |
– |
ac_status=$? |
| 15668 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
| 15669 |
– |
rm -f conftest.er1 |
| 15670 |
– |
cat conftest.err >&5 |
| 15671 |
– |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 15672 |
– |
(exit $ac_status); } && { |
| 15673 |
– |
test -z "$ac_c_werror_flag" || |
| 15674 |
– |
test ! -s conftest.err |
| 15675 |
– |
} && test -s conftest.$ac_objext; then |
| 15676 |
– |
ac_hi=$ac_mid |
| 15677 |
– |
else |
| 15678 |
– |
$as_echo "$as_me: failed program was:" >&5 |
| 15679 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 15680 |
– |
|
| 15681 |
– |
ac_lo=`expr '(' $ac_mid ')' + 1` |
| 15682 |
– |
fi |
| 15683 |
– |
|
| 15684 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 15685 |
– |
done |
| 15686 |
– |
case $ac_lo in |
| 15687 |
– |
?*) ac_cv_sizeof_long_long=$ac_lo;; |
| 15688 |
– |
'') if test "$ac_cv_type_long_long" = yes; then |
| 15689 |
– |
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
| 15690 |
– |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 15691 |
– |
{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long long) |
| 15692 |
– |
See \`config.log' for more details." >&5 |
| 15693 |
– |
$as_echo "$as_me: error: cannot compute sizeof (long long) |
| 15694 |
– |
See \`config.log' for more details." >&2;} |
| 15695 |
– |
{ (exit 77); exit 77; }; }; } |
| 15696 |
– |
else |
| 15697 |
– |
ac_cv_sizeof_long_long=0 |
| 15698 |
– |
fi ;; |
| 15699 |
– |
esac |
| 15700 |
– |
else |
| 15701 |
– |
cat >conftest.$ac_ext <<_ACEOF |
| 15702 |
– |
/* confdefs.h. */ |
| 15703 |
– |
_ACEOF |
| 15704 |
– |
cat confdefs.h >>conftest.$ac_ext |
| 15705 |
– |
cat >>conftest.$ac_ext <<_ACEOF |
| 15706 |
– |
/* end confdefs.h. */ |
| 15707 |
– |
$ac_includes_default |
| 15708 |
– |
static long int longval () { return (long int) (sizeof (long long)); } |
| 15709 |
– |
static unsigned long int ulongval () { return (long int) (sizeof (long long)); } |
| 15710 |
– |
#include <stdio.h> |
| 15711 |
– |
#include <stdlib.h> |
| 15712 |
– |
int |
| 15713 |
– |
main () |
| 15714 |
– |
{ |
| 15715 |
– |
|
| 15716 |
– |
FILE *f = fopen ("conftest.val", "w"); |
| 15717 |
– |
if (! f) |
| 15718 |
– |
return 1; |
| 15719 |
– |
if (((long int) (sizeof (long long))) < 0) |
| 15720 |
– |
{ |
| 15721 |
– |
long int i = longval (); |
| 15722 |
– |
if (i != ((long int) (sizeof (long long)))) |
| 15723 |
– |
return 1; |
| 15724 |
– |
fprintf (f, "%ld", i); |
| 15725 |
– |
} |
| 15726 |
– |
else |
| 15727 |
– |
{ |
| 15728 |
– |
unsigned long int i = ulongval (); |
| 15729 |
– |
if (i != ((long int) (sizeof (long long)))) |
| 15730 |
– |
return 1; |
| 15731 |
– |
fprintf (f, "%lu", i); |
| 15732 |
– |
} |
| 15733 |
– |
/* Do not output a trailing newline, as this causes \r\n confusion |
| 15734 |
– |
on some platforms. */ |
| 15735 |
– |
return ferror (f) || fclose (f) != 0; |
| 15736 |
– |
|
| 15737 |
– |
; |
| 15738 |
– |
return 0; |
| 15739 |
– |
} |
| 15740 |
– |
_ACEOF |
| 15741 |
– |
rm -f conftest$ac_exeext |
| 15742 |
– |
if { (ac_try="$ac_link" |
| 15743 |
– |
case "(($ac_try" in |
| 15744 |
– |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 15745 |
– |
*) ac_try_echo=$ac_try;; |
| 15746 |
– |
esac |
| 15747 |
– |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 15748 |
– |
$as_echo "$ac_try_echo") >&5 |
| 15749 |
– |
(eval "$ac_link") 2>&5 |
| 15750 |
– |
ac_status=$? |
| 15751 |
– |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 15752 |
– |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
| 15753 |
– |
{ (case "(($ac_try" in |
| 15754 |
– |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 15755 |
– |
*) ac_try_echo=$ac_try;; |
| 15756 |
– |
esac |
| 15757 |
– |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 15758 |
– |
$as_echo "$ac_try_echo") >&5 |
| 15759 |
– |
(eval "$ac_try") 2>&5 |
| 15760 |
– |
ac_status=$? |
| 15761 |
– |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 15762 |
– |
(exit $ac_status); }; }; then |
| 15763 |
– |
ac_cv_sizeof_long_long=`cat conftest.val` |
| 15764 |
– |
else |
| 15765 |
– |
$as_echo "$as_me: program exited with status $ac_status" >&5 |
| 15766 |
– |
$as_echo "$as_me: failed program was:" >&5 |
| 15767 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 15768 |
– |
|
| 15769 |
– |
( exit $ac_status ) |
| 15770 |
– |
if test "$ac_cv_type_long_long" = yes; then |
| 15771 |
– |
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
| 15772 |
– |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 15773 |
– |
{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long long) |
| 15774 |
– |
See \`config.log' for more details." >&5 |
| 15775 |
– |
$as_echo "$as_me: error: cannot compute sizeof (long long) |
| 15776 |
– |
See \`config.log' for more details." >&2;} |
| 15777 |
– |
{ (exit 77); exit 77; }; }; } |
| 15778 |
– |
else |
| 15779 |
– |
ac_cv_sizeof_long_long=0 |
| 15780 |
– |
fi |
| 15781 |
– |
fi |
| 15782 |
– |
rm -rf conftest.dSYM |
| 15783 |
– |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 15784 |
– |
fi |
| 15785 |
– |
rm -f conftest.val |
| 15786 |
– |
fi |
| 15787 |
– |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5 |
| 15788 |
– |
$as_echo "$ac_cv_sizeof_long_long" >&6; } |
| 15789 |
– |
|
| 15790 |
– |
|
| 15791 |
– |
|
| 15792 |
– |
cat >>confdefs.h <<_ACEOF |
| 15793 |
– |
#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long |
| 15794 |
– |
_ACEOF |
| 15795 |
– |
|
| 15796 |
– |
|
| 15797 |
– |
|
| 15798 |
– |
if test "$ac_cv_sizeof_int64_t" = 8; then |
| 15799 |
– |
{ $as_echo "$as_me:$LINENO: checking for uint64_t" >&5 |
| 15800 |
– |
$as_echo_n "checking for uint64_t... " >&6; } |
| 15801 |
– |
if test "${ac_cv_type_uint64_t+set}" = set; then |
| 15802 |
– |
$as_echo_n "(cached) " >&6 |
| 15803 |
– |
else |
| 15804 |
– |
ac_cv_type_uint64_t=no |
| 15805 |
– |
cat >conftest.$ac_ext <<_ACEOF |
| 15806 |
– |
/* confdefs.h. */ |
| 15807 |
– |
_ACEOF |
| 15808 |
– |
cat confdefs.h >>conftest.$ac_ext |
| 15809 |
– |
cat >>conftest.$ac_ext <<_ACEOF |
| 15810 |
– |
/* end confdefs.h. */ |
| 15811 |
– |
$ac_includes_default |
| 15812 |
– |
int |
| 15813 |
– |
main () |
| 15814 |
– |
{ |
| 15815 |
– |
if (sizeof (uint64_t)) |
| 15816 |
– |
return 0; |
| 15817 |
– |
; |
| 15818 |
– |
return 0; |
| 15819 |
– |
} |
| 15820 |
– |
_ACEOF |
| 15821 |
– |
rm -f conftest.$ac_objext |
| 15822 |
– |
if { (ac_try="$ac_compile" |
| 15823 |
– |
case "(($ac_try" in |
| 15824 |
– |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 15825 |
– |
*) ac_try_echo=$ac_try;; |
| 15826 |
– |
esac |
| 15827 |
– |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 15828 |
– |
$as_echo "$ac_try_echo") >&5 |
| 15829 |
– |
(eval "$ac_compile") 2>conftest.er1 |
| 15830 |
– |
ac_status=$? |
| 15831 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
| 15832 |
– |
rm -f conftest.er1 |
| 15833 |
– |
cat conftest.err >&5 |
| 15834 |
– |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 15835 |
– |
(exit $ac_status); } && { |
| 15836 |
– |
test -z "$ac_c_werror_flag" || |
| 15837 |
– |
test ! -s conftest.err |
| 15838 |
– |
} && test -s conftest.$ac_objext; then |
| 15839 |
– |
cat >conftest.$ac_ext <<_ACEOF |
| 15840 |
– |
/* confdefs.h. */ |
| 15841 |
– |
_ACEOF |
| 15842 |
– |
cat confdefs.h >>conftest.$ac_ext |
| 15843 |
– |
cat >>conftest.$ac_ext <<_ACEOF |
| 15844 |
– |
/* end confdefs.h. */ |
| 15845 |
– |
$ac_includes_default |
| 15846 |
– |
int |
| 15847 |
– |
main () |
| 15848 |
– |
{ |
| 15849 |
– |
if (sizeof ((uint64_t))) |
| 15850 |
– |
return 0; |
| 15851 |
– |
; |
| 15852 |
– |
return 0; |
| 15853 |
– |
} |
| 15854 |
– |
_ACEOF |
| 15855 |
– |
rm -f conftest.$ac_objext |
| 15856 |
– |
if { (ac_try="$ac_compile" |
| 15857 |
– |
case "(($ac_try" in |
| 15858 |
– |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 15859 |
– |
*) ac_try_echo=$ac_try;; |
| 15860 |
– |
esac |
| 15861 |
– |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 15862 |
– |
$as_echo "$ac_try_echo") >&5 |
| 15863 |
– |
(eval "$ac_compile") 2>conftest.er1 |
| 15864 |
– |
ac_status=$? |
| 15865 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
| 15866 |
– |
rm -f conftest.er1 |
| 15867 |
– |
cat conftest.err >&5 |
| 15868 |
– |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 15869 |
– |
(exit $ac_status); } && { |
| 15870 |
– |
test -z "$ac_c_werror_flag" || |
| 15871 |
– |
test ! -s conftest.err |
| 15872 |
– |
} && test -s conftest.$ac_objext; then |
| 15873 |
– |
: |
| 15874 |
– |
else |
| 15875 |
– |
$as_echo "$as_me: failed program was:" >&5 |
| 15876 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 15877 |
– |
|
| 15878 |
– |
ac_cv_type_uint64_t=yes |
| 15879 |
– |
fi |
| 15880 |
– |
|
| 15881 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 15882 |
– |
else |
| 15883 |
– |
$as_echo "$as_me: failed program was:" >&5 |
| 15884 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 15885 |
– |
|
| 15886 |
– |
|
| 15887 |
– |
fi |
| 15888 |
– |
|
| 15889 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 15890 |
– |
fi |
| 15891 |
– |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5 |
| 15892 |
– |
$as_echo "$ac_cv_type_uint64_t" >&6; } |
| 15893 |
– |
|
| 15894 |
– |
{ $as_echo "$as_me:$LINENO: checking for int64_t" >&5 |
| 15895 |
– |
$as_echo_n "checking for int64_t... " >&6; } |
| 15896 |
– |
if test "${ac_cv_type_int64_t+set}" = set; then |
| 15897 |
– |
$as_echo_n "(cached) " >&6 |
| 15898 |
– |
else |
| 15899 |
– |
ac_cv_type_int64_t=no |
| 15900 |
– |
cat >conftest.$ac_ext <<_ACEOF |
| 15901 |
– |
/* confdefs.h. */ |
| 15902 |
– |
_ACEOF |
| 15903 |
– |
cat confdefs.h >>conftest.$ac_ext |
| 15904 |
– |
cat >>conftest.$ac_ext <<_ACEOF |
| 15905 |
– |
/* end confdefs.h. */ |
| 15906 |
– |
$ac_includes_default |
| 15907 |
– |
int |
| 15908 |
– |
main () |
| 15909 |
– |
{ |
| 15910 |
– |
if (sizeof (int64_t)) |
| 15911 |
– |
return 0; |
| 15912 |
– |
; |
| 15913 |
– |
return 0; |
| 15914 |
– |
} |
| 15915 |
– |
_ACEOF |
| 15916 |
– |
rm -f conftest.$ac_objext |
| 15917 |
– |
if { (ac_try="$ac_compile" |
| 15918 |
– |
case "(($ac_try" in |
| 15919 |
– |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 15920 |
– |
*) ac_try_echo=$ac_try;; |
| 15921 |
– |
esac |
| 15922 |
– |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 15923 |
– |
$as_echo "$ac_try_echo") >&5 |
| 15924 |
– |
(eval "$ac_compile") 2>conftest.er1 |
| 15925 |
– |
ac_status=$? |
| 15926 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
| 15927 |
– |
rm -f conftest.er1 |
| 15928 |
– |
cat conftest.err >&5 |
| 15929 |
– |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 15930 |
– |
(exit $ac_status); } && { |
| 15931 |
– |
test -z "$ac_c_werror_flag" || |
| 15932 |
– |
test ! -s conftest.err |
| 15933 |
– |
} && test -s conftest.$ac_objext; then |
| 15934 |
– |
cat >conftest.$ac_ext <<_ACEOF |
| 15935 |
– |
/* confdefs.h. */ |
| 15936 |
– |
_ACEOF |
| 15937 |
– |
cat confdefs.h >>conftest.$ac_ext |
| 15938 |
– |
cat >>conftest.$ac_ext <<_ACEOF |
| 15939 |
– |
/* end confdefs.h. */ |
| 15940 |
– |
$ac_includes_default |
| 15941 |
– |
int |
| 15942 |
– |
main () |
| 15943 |
– |
{ |
| 15944 |
– |
if (sizeof ((int64_t))) |
| 15945 |
– |
return 0; |
| 15946 |
– |
; |
| 15947 |
– |
return 0; |
| 15948 |
– |
} |
| 15949 |
– |
_ACEOF |
| 15950 |
– |
rm -f conftest.$ac_objext |
| 15951 |
– |
if { (ac_try="$ac_compile" |
| 15952 |
– |
case "(($ac_try" in |
| 15953 |
– |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 15954 |
– |
*) ac_try_echo=$ac_try;; |
| 15955 |
– |
esac |
| 15956 |
– |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 15957 |
– |
$as_echo "$ac_try_echo") >&5 |
| 15958 |
– |
(eval "$ac_compile") 2>conftest.er1 |
| 15959 |
– |
ac_status=$? |
| 15960 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
| 15961 |
– |
rm -f conftest.er1 |
| 15962 |
– |
cat conftest.err >&5 |
| 15963 |
– |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 15964 |
– |
(exit $ac_status); } && { |
| 15965 |
– |
test -z "$ac_c_werror_flag" || |
| 15966 |
– |
test ! -s conftest.err |
| 15967 |
– |
} && test -s conftest.$ac_objext; then |
| 15968 |
– |
: |
| 15969 |
– |
else |
| 15970 |
– |
$as_echo "$as_me: failed program was:" >&5 |
| 15971 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 15972 |
– |
|
| 15973 |
– |
ac_cv_type_int64_t=yes |
| 15974 |
– |
fi |
| 15975 |
– |
|
| 15976 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 15977 |
– |
else |
| 15978 |
– |
$as_echo "$as_me: failed program was:" >&5 |
| 15979 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 15980 |
– |
|
| 15981 |
– |
|
| 15982 |
– |
fi |
| 15983 |
– |
|
| 15984 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 15985 |
– |
fi |
| 15986 |
– |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_int64_t" >&5 |
| 15987 |
– |
$as_echo "$ac_cv_type_int64_t" >&6; } |
| 15988 |
– |
|
| 15989 |
– |
elif test "$ac_cv_sizeof_long_long" = 8; then |
| 15990 |
– |
{ $as_echo "$as_me:$LINENO: checking for uint64_t" >&5 |
| 15991 |
– |
$as_echo_n "checking for uint64_t... " >&6; } |
| 15992 |
– |
if test "${ac_cv_type_uint64_t+set}" = set; then |
| 15993 |
– |
$as_echo_n "(cached) " >&6 |
| 15994 |
– |
else |
| 15995 |
– |
ac_cv_type_uint64_t=no |
| 15996 |
– |
cat >conftest.$ac_ext <<_ACEOF |
| 15997 |
– |
/* confdefs.h. */ |
| 15998 |
– |
_ACEOF |
| 15999 |
– |
cat confdefs.h >>conftest.$ac_ext |
| 16000 |
– |
cat >>conftest.$ac_ext <<_ACEOF |
| 16001 |
– |
/* end confdefs.h. */ |
| 16002 |
– |
$ac_includes_default |
| 16003 |
– |
int |
| 16004 |
– |
main () |
| 16005 |
– |
{ |
| 16006 |
– |
if (sizeof (uint64_t)) |
| 16007 |
– |
return 0; |
| 16008 |
– |
; |
| 16009 |
– |
return 0; |
| 16010 |
– |
} |
| 16011 |
– |
_ACEOF |
| 16012 |
– |
rm -f conftest.$ac_objext |
| 16013 |
– |
if { (ac_try="$ac_compile" |
| 16014 |
– |
case "(($ac_try" in |
| 16015 |
– |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 16016 |
– |
*) ac_try_echo=$ac_try;; |
| 16017 |
– |
esac |
| 16018 |
– |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 16019 |
– |
$as_echo "$ac_try_echo") >&5 |
| 16020 |
– |
(eval "$ac_compile") 2>conftest.er1 |
| 16021 |
– |
ac_status=$? |
| 16022 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
| 16023 |
– |
rm -f conftest.er1 |
| 16024 |
– |
cat conftest.err >&5 |
| 16025 |
– |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 16026 |
– |
(exit $ac_status); } && { |
| 16027 |
– |
test -z "$ac_c_werror_flag" || |
| 16028 |
– |
test ! -s conftest.err |
| 16029 |
– |
} && test -s conftest.$ac_objext; then |
| 16030 |
– |
cat >conftest.$ac_ext <<_ACEOF |
| 16031 |
– |
/* confdefs.h. */ |
| 16032 |
– |
_ACEOF |
| 16033 |
– |
cat confdefs.h >>conftest.$ac_ext |
| 16034 |
– |
cat >>conftest.$ac_ext <<_ACEOF |
| 16035 |
– |
/* end confdefs.h. */ |
| 16036 |
– |
$ac_includes_default |
| 16037 |
– |
int |
| 16038 |
– |
main () |
| 16039 |
– |
{ |
| 16040 |
– |
if (sizeof ((uint64_t))) |
| 16041 |
– |
return 0; |
| 16042 |
– |
; |
| 16043 |
– |
return 0; |
| 16044 |
– |
} |
| 16045 |
– |
_ACEOF |
| 16046 |
– |
rm -f conftest.$ac_objext |
| 16047 |
– |
if { (ac_try="$ac_compile" |
| 16048 |
– |
case "(($ac_try" in |
| 16049 |
– |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 16050 |
– |
*) ac_try_echo=$ac_try;; |
| 16051 |
– |
esac |
| 16052 |
– |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 16053 |
– |
$as_echo "$ac_try_echo") >&5 |
| 16054 |
– |
(eval "$ac_compile") 2>conftest.er1 |
| 16055 |
– |
ac_status=$? |
| 16056 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
| 16057 |
– |
rm -f conftest.er1 |
| 16058 |
– |
cat conftest.err >&5 |
| 16059 |
– |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 16060 |
– |
(exit $ac_status); } && { |
| 16061 |
– |
test -z "$ac_c_werror_flag" || |
| 16062 |
– |
test ! -s conftest.err |
| 16063 |
– |
} && test -s conftest.$ac_objext; then |
| 16064 |
– |
: |
| 16065 |
– |
else |
| 16066 |
– |
$as_echo "$as_me: failed program was:" >&5 |
| 16067 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 16068 |
– |
|
| 16069 |
– |
ac_cv_type_uint64_t=yes |
| 16070 |
– |
fi |
| 16071 |
– |
|
| 16072 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 16073 |
– |
else |
| 16074 |
– |
$as_echo "$as_me: failed program was:" >&5 |
| 16075 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 16076 |
– |
|
| 16077 |
– |
|
| 16078 |
– |
fi |
| 16079 |
– |
|
| 16080 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 16081 |
– |
fi |
| 16082 |
– |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5 |
| 16083 |
– |
$as_echo "$ac_cv_type_uint64_t" >&6; } |
| 16084 |
– |
if test "x$ac_cv_type_uint64_t" = x""yes; then |
| 16085 |
– |
: |
| 16086 |
– |
else |
| 16087 |
– |
|
| 16088 |
– |
cat >>confdefs.h <<_ACEOF |
| 16089 |
– |
#define uint64_t unsigned long long |
| 16090 |
– |
_ACEOF |
| 16091 |
– |
|
| 16092 |
– |
fi |
| 16093 |
– |
|
| 16094 |
– |
{ $as_echo "$as_me:$LINENO: checking for int64_t" >&5 |
| 16095 |
– |
$as_echo_n "checking for int64_t... " >&6; } |
| 16096 |
– |
if test "${ac_cv_type_int64_t+set}" = set; then |
| 16097 |
– |
$as_echo_n "(cached) " >&6 |
| 16098 |
– |
else |
| 16099 |
– |
ac_cv_type_int64_t=no |
| 16100 |
– |
cat >conftest.$ac_ext <<_ACEOF |
| 16101 |
– |
/* confdefs.h. */ |
| 16102 |
– |
_ACEOF |
| 16103 |
– |
cat confdefs.h >>conftest.$ac_ext |
| 16104 |
– |
cat >>conftest.$ac_ext <<_ACEOF |
| 16105 |
– |
/* end confdefs.h. */ |
| 16106 |
– |
$ac_includes_default |
| 16107 |
– |
int |
| 16108 |
– |
main () |
| 16109 |
– |
{ |
| 16110 |
– |
if (sizeof (int64_t)) |
| 16111 |
– |
return 0; |
| 16112 |
– |
; |
| 16113 |
– |
return 0; |
| 16114 |
– |
} |
| 16115 |
– |
_ACEOF |
| 16116 |
– |
rm -f conftest.$ac_objext |
| 16117 |
– |
if { (ac_try="$ac_compile" |
| 16118 |
– |
case "(($ac_try" in |
| 16119 |
– |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 16120 |
– |
*) ac_try_echo=$ac_try;; |
| 16121 |
– |
esac |
| 16122 |
– |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 16123 |
– |
$as_echo "$ac_try_echo") >&5 |
| 16124 |
– |
(eval "$ac_compile") 2>conftest.er1 |
| 16125 |
– |
ac_status=$? |
| 16126 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
| 16127 |
– |
rm -f conftest.er1 |
| 16128 |
– |
cat conftest.err >&5 |
| 16129 |
– |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 16130 |
– |
(exit $ac_status); } && { |
| 16131 |
– |
test -z "$ac_c_werror_flag" || |
| 16132 |
– |
test ! -s conftest.err |
| 16133 |
– |
} && test -s conftest.$ac_objext; then |
| 16134 |
– |
cat >conftest.$ac_ext <<_ACEOF |
| 16135 |
– |
/* confdefs.h. */ |
| 16136 |
– |
_ACEOF |
| 16137 |
– |
cat confdefs.h >>conftest.$ac_ext |
| 16138 |
– |
cat >>conftest.$ac_ext <<_ACEOF |
| 16139 |
– |
/* end confdefs.h. */ |
| 16140 |
– |
$ac_includes_default |
| 16141 |
– |
int |
| 16142 |
– |
main () |
| 16143 |
– |
{ |
| 16144 |
– |
if (sizeof ((int64_t))) |
| 16145 |
– |
return 0; |
| 16146 |
– |
; |
| 16147 |
– |
return 0; |
| 16148 |
– |
} |
| 16149 |
– |
_ACEOF |
| 16150 |
– |
rm -f conftest.$ac_objext |
| 16151 |
– |
if { (ac_try="$ac_compile" |
| 16152 |
– |
case "(($ac_try" in |
| 16153 |
– |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 16154 |
– |
*) ac_try_echo=$ac_try;; |
| 16155 |
– |
esac |
| 16156 |
– |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 16157 |
– |
$as_echo "$ac_try_echo") >&5 |
| 16158 |
– |
(eval "$ac_compile") 2>conftest.er1 |
| 16159 |
– |
ac_status=$? |
| 16160 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
| 16161 |
– |
rm -f conftest.er1 |
| 16162 |
– |
cat conftest.err >&5 |
| 16163 |
– |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 16164 |
– |
(exit $ac_status); } && { |
| 16165 |
– |
test -z "$ac_c_werror_flag" || |
| 16166 |
– |
test ! -s conftest.err |
| 16167 |
– |
} && test -s conftest.$ac_objext; then |
| 16168 |
– |
: |
| 16169 |
– |
else |
| 16170 |
– |
$as_echo "$as_me: failed program was:" >&5 |
| 16171 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 16172 |
– |
|
| 16173 |
– |
ac_cv_type_int64_t=yes |
| 16174 |
– |
fi |
| 16175 |
– |
|
| 16176 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 16177 |
– |
else |
| 16178 |
– |
$as_echo "$as_me: failed program was:" >&5 |
| 16179 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 16180 |
– |
|
| 16181 |
– |
|
| 16182 |
– |
fi |
| 16183 |
– |
|
| 16184 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 16185 |
– |
fi |
| 16186 |
– |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_int64_t" >&5 |
| 16187 |
– |
$as_echo "$ac_cv_type_int64_t" >&6; } |
| 16188 |
– |
if test "x$ac_cv_type_int64_t" = x""yes; then |
| 16189 |
– |
: |
| 16190 |
– |
else |
| 16191 |
– |
|
| 16192 |
– |
cat >>confdefs.h <<_ACEOF |
| 16193 |
– |
#define int64_t long long |
| 16194 |
– |
_ACEOF |
| 16195 |
– |
|
| 16196 |
– |
fi |
| 16197 |
– |
|
| 16198 |
– |
else |
| 16199 |
– |
{ { $as_echo "$as_me:$LINENO: error: Your system doesn't appear to have 64 bit integers. Aborting." >&5 |
| 16200 |
– |
$as_echo "$as_me: error: Your system doesn't appear to have 64 bit integers. Aborting." >&2;} |
| 16201 |
– |
{ (exit 1); exit 1; }; } |
| 16202 |
– |
fi |
| 16203 |
– |
|
| 16204 |
– |
|
| 12501 |
|
# Checks for library functions. |
| 12502 |
|
|
| 12503 |
|
|
| 12504 |
|
|
| 12505 |
< |
|
| 12506 |
< |
for ac_func in $ac_func_list |
| 12507 |
< |
do |
| 12508 |
< |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 12509 |
< |
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 12510 |
< |
$as_echo_n "checking for $ac_func... " >&6; } |
| 16215 |
< |
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
| 16216 |
< |
$as_echo_n "(cached) " >&6 |
| 16217 |
< |
else |
| 16218 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 16219 |
< |
/* confdefs.h. */ |
| 16220 |
< |
_ACEOF |
| 16221 |
< |
cat confdefs.h >>conftest.$ac_ext |
| 16222 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
| 16223 |
< |
/* end confdefs.h. */ |
| 16224 |
< |
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
| 16225 |
< |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
| 16226 |
< |
#define $ac_func innocuous_$ac_func |
| 16227 |
< |
|
| 16228 |
< |
/* System header to define __stub macros and hopefully few prototypes, |
| 16229 |
< |
which can conflict with char $ac_func (); below. |
| 16230 |
< |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 16231 |
< |
<limits.h> exists even on freestanding compilers. */ |
| 16232 |
< |
|
| 16233 |
< |
#ifdef __STDC__ |
| 16234 |
< |
# include <limits.h> |
| 16235 |
< |
#else |
| 16236 |
< |
# include <assert.h> |
| 16237 |
< |
#endif |
| 16238 |
< |
|
| 16239 |
< |
#undef $ac_func |
| 16240 |
< |
|
| 16241 |
< |
/* Override any GCC internal prototype to avoid an error. |
| 16242 |
< |
Use char because int might match the return type of a GCC |
| 16243 |
< |
builtin and then its argument prototype would still apply. */ |
| 16244 |
< |
#ifdef __cplusplus |
| 16245 |
< |
extern "C" |
| 16246 |
< |
#endif |
| 16247 |
< |
char $ac_func (); |
| 16248 |
< |
/* The GNU C library defines this for functions which it implements |
| 16249 |
< |
to always fail with ENOSYS. Some functions are actually named |
| 16250 |
< |
something starting with __ and the normal name is an alias. */ |
| 16251 |
< |
#if defined __stub_$ac_func || defined __stub___$ac_func |
| 16252 |
< |
choke me |
| 16253 |
< |
#endif |
| 16254 |
< |
|
| 16255 |
< |
int |
| 16256 |
< |
main () |
| 16257 |
< |
{ |
| 16258 |
< |
return $ac_func (); |
| 16259 |
< |
; |
| 16260 |
< |
return 0; |
| 16261 |
< |
} |
| 16262 |
< |
_ACEOF |
| 16263 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 16264 |
< |
if { (ac_try="$ac_link" |
| 16265 |
< |
case "(($ac_try" in |
| 16266 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 16267 |
< |
*) ac_try_echo=$ac_try;; |
| 16268 |
< |
esac |
| 16269 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 16270 |
< |
$as_echo "$ac_try_echo") >&5 |
| 16271 |
< |
(eval "$ac_link") 2>conftest.er1 |
| 16272 |
< |
ac_status=$? |
| 16273 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
| 16274 |
< |
rm -f conftest.er1 |
| 16275 |
< |
cat conftest.err >&5 |
| 16276 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 16277 |
< |
(exit $ac_status); } && { |
| 16278 |
< |
test -z "$ac_c_werror_flag" || |
| 16279 |
< |
test ! -s conftest.err |
| 16280 |
< |
} && test -s conftest$ac_exeext && { |
| 16281 |
< |
test "$cross_compiling" = yes || |
| 16282 |
< |
$as_test_x conftest$ac_exeext |
| 16283 |
< |
}; then |
| 16284 |
< |
eval "$as_ac_var=yes" |
| 16285 |
< |
else |
| 16286 |
< |
$as_echo "$as_me: failed program was:" >&5 |
| 16287 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 16288 |
< |
|
| 16289 |
< |
eval "$as_ac_var=no" |
| 16290 |
< |
fi |
| 16291 |
< |
|
| 16292 |
< |
rm -rf conftest.dSYM |
| 16293 |
< |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 16294 |
< |
conftest$ac_exeext conftest.$ac_ext |
| 16295 |
< |
fi |
| 16296 |
< |
ac_res=`eval 'as_val=${'$as_ac_var'} |
| 16297 |
< |
$as_echo "$as_val"'` |
| 16298 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 16299 |
< |
$as_echo "$ac_res" >&6; } |
| 16300 |
< |
as_val=`eval 'as_val=${'$as_ac_var'} |
| 16301 |
< |
$as_echo "$as_val"'` |
| 16302 |
< |
if test "x$as_val" = x""yes; then |
| 12505 |
> |
for ac_func in $ac_func_list |
| 12506 |
> |
do : |
| 12507 |
> |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 12508 |
> |
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
| 12509 |
> |
eval as_val=\$$as_ac_var |
| 12510 |
> |
if test "x$as_val" = x""yes; then : |
| 12511 |
|
cat >>confdefs.h <<_ACEOF |
| 12512 |
|
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 12513 |
|
_ACEOF |
| 12527 |
|
|
| 12528 |
|
|
| 12529 |
|
|
| 16322 |
– |
|
| 16323 |
– |
|
| 16324 |
– |
|
| 16325 |
– |
|
| 16326 |
– |
|
| 16327 |
– |
|
| 16328 |
– |
|
| 16329 |
– |
|
| 16330 |
– |
|
| 16331 |
– |
|
| 16332 |
– |
|
| 16333 |
– |
|
| 16334 |
– |
|
| 16335 |
– |
|
| 16336 |
– |
|
| 16337 |
– |
|
| 16338 |
– |
|
| 16339 |
– |
|
| 16340 |
– |
|
| 16341 |
– |
|
| 16342 |
– |
|
| 16343 |
– |
|
| 16344 |
– |
|
| 16345 |
– |
|
| 16346 |
– |
|
| 16347 |
– |
|
| 16348 |
– |
|
| 16349 |
– |
|
| 16350 |
– |
|
| 16351 |
– |
|
| 16352 |
– |
|
| 16353 |
– |
|
| 16354 |
– |
|
| 12530 |
|
# Checks for header files. |
| 12531 |
|
|
| 12532 |
|
|
| 12533 |
|
|
| 12534 |
< |
|
| 12535 |
< |
for ac_header in $ac_header_list |
| 12536 |
< |
do |
| 12537 |
< |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 12538 |
< |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 12539 |
< |
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 12540 |
< |
$as_echo_n "checking for $ac_header... " >&6; } |
| 16366 |
< |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 16367 |
< |
$as_echo_n "(cached) " >&6 |
| 16368 |
< |
fi |
| 16369 |
< |
ac_res=`eval 'as_val=${'$as_ac_Header'} |
| 16370 |
< |
$as_echo "$as_val"'` |
| 16371 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 16372 |
< |
$as_echo "$ac_res" >&6; } |
| 16373 |
< |
else |
| 16374 |
< |
# Is the header compilable? |
| 16375 |
< |
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 16376 |
< |
$as_echo_n "checking $ac_header usability... " >&6; } |
| 16377 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 16378 |
< |
/* confdefs.h. */ |
| 16379 |
< |
_ACEOF |
| 16380 |
< |
cat confdefs.h >>conftest.$ac_ext |
| 16381 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
| 16382 |
< |
/* end confdefs.h. */ |
| 16383 |
< |
$ac_includes_default |
| 16384 |
< |
#include <$ac_header> |
| 16385 |
< |
_ACEOF |
| 16386 |
< |
rm -f conftest.$ac_objext |
| 16387 |
< |
if { (ac_try="$ac_compile" |
| 16388 |
< |
case "(($ac_try" in |
| 16389 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 16390 |
< |
*) ac_try_echo=$ac_try;; |
| 16391 |
< |
esac |
| 16392 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 16393 |
< |
$as_echo "$ac_try_echo") >&5 |
| 16394 |
< |
(eval "$ac_compile") 2>conftest.er1 |
| 16395 |
< |
ac_status=$? |
| 16396 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
| 16397 |
< |
rm -f conftest.er1 |
| 16398 |
< |
cat conftest.err >&5 |
| 16399 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 16400 |
< |
(exit $ac_status); } && { |
| 16401 |
< |
test -z "$ac_c_werror_flag" || |
| 16402 |
< |
test ! -s conftest.err |
| 16403 |
< |
} && test -s conftest.$ac_objext; then |
| 16404 |
< |
ac_header_compiler=yes |
| 16405 |
< |
else |
| 16406 |
< |
$as_echo "$as_me: failed program was:" >&5 |
| 16407 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 16408 |
< |
|
| 16409 |
< |
ac_header_compiler=no |
| 16410 |
< |
fi |
| 16411 |
< |
|
| 16412 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 16413 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 16414 |
< |
$as_echo "$ac_header_compiler" >&6; } |
| 16415 |
< |
|
| 16416 |
< |
# Is the header present? |
| 16417 |
< |
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 16418 |
< |
$as_echo_n "checking $ac_header presence... " >&6; } |
| 16419 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 16420 |
< |
/* confdefs.h. */ |
| 16421 |
< |
_ACEOF |
| 16422 |
< |
cat confdefs.h >>conftest.$ac_ext |
| 16423 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
| 16424 |
< |
/* end confdefs.h. */ |
| 16425 |
< |
#include <$ac_header> |
| 16426 |
< |
_ACEOF |
| 16427 |
< |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 16428 |
< |
case "(($ac_try" in |
| 16429 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 16430 |
< |
*) ac_try_echo=$ac_try;; |
| 16431 |
< |
esac |
| 16432 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 16433 |
< |
$as_echo "$ac_try_echo") >&5 |
| 16434 |
< |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
| 16435 |
< |
ac_status=$? |
| 16436 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
| 16437 |
< |
rm -f conftest.er1 |
| 16438 |
< |
cat conftest.err >&5 |
| 16439 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 16440 |
< |
(exit $ac_status); } >/dev/null && { |
| 16441 |
< |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 16442 |
< |
test ! -s conftest.err |
| 16443 |
< |
}; then |
| 16444 |
< |
ac_header_preproc=yes |
| 16445 |
< |
else |
| 16446 |
< |
$as_echo "$as_me: failed program was:" >&5 |
| 16447 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 16448 |
< |
|
| 16449 |
< |
ac_header_preproc=no |
| 16450 |
< |
fi |
| 16451 |
< |
|
| 16452 |
< |
rm -f conftest.err conftest.$ac_ext |
| 16453 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 16454 |
< |
$as_echo "$ac_header_preproc" >&6; } |
| 16455 |
< |
|
| 16456 |
< |
# So? What about this header? |
| 16457 |
< |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| 16458 |
< |
yes:no: ) |
| 16459 |
< |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
| 16460 |
< |
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
| 16461 |
< |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
| 16462 |
< |
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
| 16463 |
< |
ac_header_preproc=yes |
| 16464 |
< |
;; |
| 16465 |
< |
no:yes:* ) |
| 16466 |
< |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
| 16467 |
< |
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
| 16468 |
< |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
| 16469 |
< |
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
| 16470 |
< |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
| 16471 |
< |
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
| 16472 |
< |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
| 16473 |
< |
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
| 16474 |
< |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
| 16475 |
< |
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
| 16476 |
< |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
| 16477 |
< |
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
| 16478 |
< |
|
| 16479 |
< |
;; |
| 16480 |
< |
esac |
| 16481 |
< |
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 16482 |
< |
$as_echo_n "checking for $ac_header... " >&6; } |
| 16483 |
< |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 16484 |
< |
$as_echo_n "(cached) " >&6 |
| 16485 |
< |
else |
| 16486 |
< |
eval "$as_ac_Header=\$ac_header_preproc" |
| 16487 |
< |
fi |
| 16488 |
< |
ac_res=`eval 'as_val=${'$as_ac_Header'} |
| 16489 |
< |
$as_echo "$as_val"'` |
| 16490 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 16491 |
< |
$as_echo "$ac_res" >&6; } |
| 16492 |
< |
|
| 16493 |
< |
fi |
| 16494 |
< |
as_val=`eval 'as_val=${'$as_ac_Header'} |
| 16495 |
< |
$as_echo "$as_val"'` |
| 16496 |
< |
if test "x$as_val" = x""yes; then |
| 12534 |
> |
for ac_header in $ac_header_list |
| 12535 |
> |
do : |
| 12536 |
> |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 12537 |
> |
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
| 12538 |
> |
" |
| 12539 |
> |
eval as_val=\$$as_ac_Header |
| 12540 |
> |
if test "x$as_val" = x""yes; then : |
| 12541 |
|
cat >>confdefs.h <<_ACEOF |
| 12542 |
|
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 12543 |
|
_ACEOF |
| 12576 |
|
|
| 12577 |
|
|
| 12578 |
|
|
| 12579 |
< |
|
| 16536 |
< |
|
| 16537 |
< |
|
| 16538 |
< |
|
| 16539 |
< |
|
| 16540 |
< |
|
| 16541 |
< |
|
| 16542 |
< |
|
| 16543 |
< |
|
| 16544 |
< |
|
| 16545 |
< |
|
| 16546 |
< |
|
| 16547 |
< |
|
| 16548 |
< |
|
| 16549 |
< |
|
| 16550 |
< |
|
| 16551 |
< |
|
| 16552 |
< |
|
| 16553 |
< |
|
| 16554 |
< |
|
| 16555 |
< |
|
| 16556 |
< |
|
| 16557 |
< |
|
| 16558 |
< |
|
| 16559 |
< |
|
| 16560 |
< |
|
| 16561 |
< |
|
| 16562 |
< |
|
| 16563 |
< |
|
| 16564 |
< |
|
| 16565 |
< |
|
| 16566 |
< |
{ $as_echo "$as_me:$LINENO: checking for /dev/null" >&5 |
| 12579 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/null" >&5 |
| 12580 |
|
$as_echo_n "checking for /dev/null... " >&6; } |
| 12581 |
< |
if test -c /dev/null ; then |
| 12581 |
> |
if test -c /dev/null; then : |
| 12582 |
|
|
| 16570 |
– |
cat >>confdefs.h <<\_ACEOF |
| 16571 |
– |
#define PATH_DEVNULL "/dev/null" |
| 16572 |
– |
_ACEOF |
| 12583 |
|
|
| 12584 |
< |
{ $as_echo "$as_me:$LINENO: result: yes" >&5 |
| 12584 |
> |
$as_echo "#define PATH_DEVNULL \"/dev/null\"" >>confdefs.h |
| 12585 |
> |
|
| 12586 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 12587 |
|
$as_echo "yes" >&6; } |
| 12588 |
|
else |
| 12589 |
|
|
| 16578 |
– |
cat >>confdefs.h <<\_ACEOF |
| 16579 |
– |
#define PATH_DEVNULL "devnull.log" |
| 16580 |
– |
_ACEOF |
| 12590 |
|
|
| 12591 |
< |
{ $as_echo "$as_me:$LINENO: result: no - using devnull.log" >&5 |
| 12591 |
> |
$as_echo "#define PATH_DEVNULL \"devnull.log\"" >>confdefs.h |
| 12592 |
> |
|
| 12593 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no - using devnull.log" >&5 |
| 12594 |
|
$as_echo "no - using devnull.log" >&6; } |
| 12595 |
|
fi |
| 12596 |
|
|
| 12597 |
|
|
| 12598 |
< |
{ $as_echo "$as_me:$LINENO: checking for library containing crypt" >&5 |
| 12598 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5 |
| 12599 |
|
$as_echo_n "checking for library containing crypt... " >&6; } |
| 12600 |
< |
if test "${ac_cv_search_crypt+set}" = set; then |
| 12600 |
> |
if test "${ac_cv_search_crypt+set}" = set; then : |
| 12601 |
|
$as_echo_n "(cached) " >&6 |
| 12602 |
|
else |
| 12603 |
|
ac_func_search_save_LIBS=$LIBS |
| 12604 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 16594 |
< |
/* confdefs.h. */ |
| 16595 |
< |
_ACEOF |
| 16596 |
< |
cat confdefs.h >>conftest.$ac_ext |
| 16597 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
| 12604 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 12605 |
|
/* end confdefs.h. */ |
| 12606 |
|
|
| 12607 |
|
/* Override any GCC internal prototype to avoid an error. |
| 12619 |
|
return 0; |
| 12620 |
|
} |
| 12621 |
|
_ACEOF |
| 12622 |
< |
for ac_lib in '' crypt descrypt; do |
| 12622 |
> |
for ac_lib in '' crypt; do |
| 12623 |
|
if test -z "$ac_lib"; then |
| 12624 |
|
ac_res="none required" |
| 12625 |
|
else |
| 12626 |
|
ac_res=-l$ac_lib |
| 12627 |
|
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 12628 |
|
fi |
| 12629 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 16623 |
< |
if { (ac_try="$ac_link" |
| 16624 |
< |
case "(($ac_try" in |
| 16625 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 16626 |
< |
*) ac_try_echo=$ac_try;; |
| 16627 |
< |
esac |
| 16628 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 16629 |
< |
$as_echo "$ac_try_echo") >&5 |
| 16630 |
< |
(eval "$ac_link") 2>conftest.er1 |
| 16631 |
< |
ac_status=$? |
| 16632 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
| 16633 |
< |
rm -f conftest.er1 |
| 16634 |
< |
cat conftest.err >&5 |
| 16635 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 16636 |
< |
(exit $ac_status); } && { |
| 16637 |
< |
test -z "$ac_c_werror_flag" || |
| 16638 |
< |
test ! -s conftest.err |
| 16639 |
< |
} && test -s conftest$ac_exeext && { |
| 16640 |
< |
test "$cross_compiling" = yes || |
| 16641 |
< |
$as_test_x conftest$ac_exeext |
| 16642 |
< |
}; then |
| 12629 |
> |
if ac_fn_c_try_link "$LINENO"; then : |
| 12630 |
|
ac_cv_search_crypt=$ac_res |
| 16644 |
– |
else |
| 16645 |
– |
$as_echo "$as_me: failed program was:" >&5 |
| 16646 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 16647 |
– |
|
| 16648 |
– |
|
| 12631 |
|
fi |
| 12632 |
< |
|
| 12633 |
< |
rm -rf conftest.dSYM |
| 12634 |
< |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 16653 |
< |
conftest$ac_exeext |
| 16654 |
< |
if test "${ac_cv_search_crypt+set}" = set; then |
| 12632 |
> |
rm -f core conftest.err conftest.$ac_objext \ |
| 12633 |
> |
conftest$ac_exeext |
| 12634 |
> |
if test "${ac_cv_search_crypt+set}" = set; then : |
| 12635 |
|
break |
| 12636 |
|
fi |
| 12637 |
|
done |
| 12638 |
< |
if test "${ac_cv_search_crypt+set}" = set; then |
| 12639 |
< |
: |
| 12638 |
> |
if test "${ac_cv_search_crypt+set}" = set; then : |
| 12639 |
> |
|
| 12640 |
|
else |
| 12641 |
|
ac_cv_search_crypt=no |
| 12642 |
|
fi |
| 12643 |
|
rm conftest.$ac_ext |
| 12644 |
|
LIBS=$ac_func_search_save_LIBS |
| 12645 |
|
fi |
| 12646 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_crypt" >&5 |
| 12646 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_crypt" >&5 |
| 12647 |
|
$as_echo "$ac_cv_search_crypt" >&6; } |
| 12648 |
|
ac_res=$ac_cv_search_crypt |
| 12649 |
< |
if test "$ac_res" != no; then |
| 12649 |
> |
if test "$ac_res" != no; then : |
| 12650 |
|
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 12651 |
|
|
| 12652 |
|
fi |
| 12653 |
|
|
| 16674 |
– |
if test "$ac_cv_search_crypt" = "none required"; then |
| 16675 |
– |
HAVE_CRYPT_TRUE= |
| 16676 |
– |
HAVE_CRYPT_FALSE='#' |
| 16677 |
– |
else |
| 16678 |
– |
HAVE_CRYPT_TRUE='#' |
| 16679 |
– |
HAVE_CRYPT_FALSE= |
| 16680 |
– |
fi |
| 16681 |
– |
|
| 12654 |
|
|
| 12655 |
|
|
| 12656 |
|
|
| 12657 |
|
# Check whether --with-zlib-path was given. |
| 12658 |
< |
if test "${with_zlib_path+set}" = set; then |
| 12658 |
> |
if test "${with_zlib_path+set}" = set; then : |
| 12659 |
|
withval=$with_zlib_path; LDFLAGS="-L$withval $LDFLAGS" |
| 12660 |
|
fi |
| 12661 |
|
|
| 12662 |
|
|
| 12663 |
|
# Check whether --enable-zlib was given. |
| 12664 |
< |
if test "${enable_zlib+set}" = set; then |
| 12664 |
> |
if test "${enable_zlib+set}" = set; then : |
| 12665 |
|
enableval=$enable_zlib; zlib=$enableval |
| 12666 |
|
else |
| 12667 |
|
zlib=yes |
| 12668 |
|
fi |
| 12669 |
|
|
| 12670 |
|
|
| 12671 |
< |
if test "$zlib" = yes; then |
| 12672 |
< |
if test "${ac_cv_header_zlib_h+set}" = set; then |
| 12673 |
< |
{ $as_echo "$as_me:$LINENO: checking for zlib.h" >&5 |
| 12674 |
< |
$as_echo_n "checking for zlib.h... " >&6; } |
| 12675 |
< |
if test "${ac_cv_header_zlib_h+set}" = set; then |
| 12671 |
> |
if test "$zlib" = "yes"; then : |
| 12672 |
> |
|
| 12673 |
> |
ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default" |
| 12674 |
> |
if test "x$ac_cv_header_zlib_h" = x""yes; then : |
| 12675 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlibVersion in -lz" >&5 |
| 12676 |
> |
$as_echo_n "checking for zlibVersion in -lz... " >&6; } |
| 12677 |
> |
if test "${ac_cv_lib_z_zlibVersion+set}" = set; then : |
| 12678 |
|
$as_echo_n "(cached) " >&6 |
| 16705 |
– |
fi |
| 16706 |
– |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5 |
| 16707 |
– |
$as_echo "$ac_cv_header_zlib_h" >&6; } |
| 12679 |
|
else |
| 12680 |
< |
# Is the header compilable? |
| 12681 |
< |
{ $as_echo "$as_me:$LINENO: checking zlib.h usability" >&5 |
| 12682 |
< |
$as_echo_n "checking zlib.h usability... " >&6; } |
| 16712 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 16713 |
< |
/* confdefs.h. */ |
| 16714 |
< |
_ACEOF |
| 16715 |
< |
cat confdefs.h >>conftest.$ac_ext |
| 16716 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
| 12680 |
> |
ac_check_lib_save_LIBS=$LIBS |
| 12681 |
> |
LIBS="-lz $LIBS" |
| 12682 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 12683 |
|
/* end confdefs.h. */ |
| 12684 |
< |
$ac_includes_default |
| 12685 |
< |
#include <zlib.h> |
| 12684 |
> |
|
| 12685 |
> |
/* Override any GCC internal prototype to avoid an error. |
| 12686 |
> |
Use char because int might match the return type of a GCC |
| 12687 |
> |
builtin and then its argument prototype would still apply. */ |
| 12688 |
> |
#ifdef __cplusplus |
| 12689 |
> |
extern "C" |
| 12690 |
> |
#endif |
| 12691 |
> |
char zlibVersion (); |
| 12692 |
> |
int |
| 12693 |
> |
main () |
| 12694 |
> |
{ |
| 12695 |
> |
return zlibVersion (); |
| 12696 |
> |
; |
| 12697 |
> |
return 0; |
| 12698 |
> |
} |
| 12699 |
|
_ACEOF |
| 12700 |
< |
rm -f conftest.$ac_objext |
| 12701 |
< |
if { (ac_try="$ac_compile" |
| 16723 |
< |
case "(($ac_try" in |
| 16724 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 16725 |
< |
*) ac_try_echo=$ac_try;; |
| 16726 |
< |
esac |
| 16727 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 16728 |
< |
$as_echo "$ac_try_echo") >&5 |
| 16729 |
< |
(eval "$ac_compile") 2>conftest.er1 |
| 16730 |
< |
ac_status=$? |
| 16731 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
| 16732 |
< |
rm -f conftest.er1 |
| 16733 |
< |
cat conftest.err >&5 |
| 16734 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 16735 |
< |
(exit $ac_status); } && { |
| 16736 |
< |
test -z "$ac_c_werror_flag" || |
| 16737 |
< |
test ! -s conftest.err |
| 16738 |
< |
} && test -s conftest.$ac_objext; then |
| 16739 |
< |
ac_header_compiler=yes |
| 12700 |
> |
if ac_fn_c_try_link "$LINENO"; then : |
| 12701 |
> |
ac_cv_lib_z_zlibVersion=yes |
| 12702 |
|
else |
| 12703 |
< |
$as_echo "$as_me: failed program was:" >&5 |
| 12704 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 12703 |
> |
ac_cv_lib_z_zlibVersion=no |
| 12704 |
> |
fi |
| 12705 |
> |
rm -f core conftest.err conftest.$ac_objext \ |
| 12706 |
> |
conftest$ac_exeext conftest.$ac_ext |
| 12707 |
> |
LIBS=$ac_check_lib_save_LIBS |
| 12708 |
> |
fi |
| 12709 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_zlibVersion" >&5 |
| 12710 |
> |
$as_echo "$ac_cv_lib_z_zlibVersion" >&6; } |
| 12711 |
> |
if test "x$ac_cv_lib_z_zlibVersion" = x""yes; then : |
| 12712 |
> |
|
| 12713 |
> |
LIBS="-lz $LIBS" |
| 12714 |
> |
|
| 12715 |
> |
$as_echo "#define HAVE_LIBZ 1" >>confdefs.h |
| 12716 |
|
|
| 12717 |
< |
ac_header_compiler=no |
| 12717 |
> |
|
| 12718 |
> |
else |
| 12719 |
> |
zlib=no |
| 12720 |
|
fi |
| 12721 |
|
|
| 16747 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 16748 |
– |
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 16749 |
– |
$as_echo "$ac_header_compiler" >&6; } |
| 12722 |
|
|
| 16751 |
– |
# Is the header present? |
| 16752 |
– |
{ $as_echo "$as_me:$LINENO: checking zlib.h presence" >&5 |
| 16753 |
– |
$as_echo_n "checking zlib.h presence... " >&6; } |
| 16754 |
– |
cat >conftest.$ac_ext <<_ACEOF |
| 16755 |
– |
/* confdefs.h. */ |
| 16756 |
– |
_ACEOF |
| 16757 |
– |
cat confdefs.h >>conftest.$ac_ext |
| 16758 |
– |
cat >>conftest.$ac_ext <<_ACEOF |
| 16759 |
– |
/* end confdefs.h. */ |
| 16760 |
– |
#include <zlib.h> |
| 16761 |
– |
_ACEOF |
| 16762 |
– |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 16763 |
– |
case "(($ac_try" in |
| 16764 |
– |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 16765 |
– |
*) ac_try_echo=$ac_try;; |
| 16766 |
– |
esac |
| 16767 |
– |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 16768 |
– |
$as_echo "$ac_try_echo") >&5 |
| 16769 |
– |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
| 16770 |
– |
ac_status=$? |
| 16771 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
| 16772 |
– |
rm -f conftest.er1 |
| 16773 |
– |
cat conftest.err >&5 |
| 16774 |
– |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 16775 |
– |
(exit $ac_status); } >/dev/null && { |
| 16776 |
– |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 16777 |
– |
test ! -s conftest.err |
| 16778 |
– |
}; then |
| 16779 |
– |
ac_header_preproc=yes |
| 12723 |
|
else |
| 12724 |
< |
$as_echo "$as_me: failed program was:" >&5 |
| 12725 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 12724 |
> |
zlib=no |
| 12725 |
> |
fi |
| 12726 |
> |
|
| 12727 |
> |
|
| 12728 |
|
|
| 16784 |
– |
ac_header_preproc=no |
| 12729 |
|
fi |
| 12730 |
|
|
| 16787 |
– |
rm -f conftest.err conftest.$ac_ext |
| 16788 |
– |
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 16789 |
– |
$as_echo "$ac_header_preproc" >&6; } |
| 12731 |
|
|
| 12732 |
< |
# So? What about this header? |
| 12733 |
< |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| 12734 |
< |
yes:no: ) |
| 12735 |
< |
{ $as_echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
| 16795 |
< |
$as_echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
| 16796 |
< |
{ $as_echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5 |
| 16797 |
< |
$as_echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;} |
| 16798 |
< |
ac_header_preproc=yes |
| 16799 |
< |
;; |
| 16800 |
< |
no:yes:* ) |
| 16801 |
< |
{ $as_echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5 |
| 16802 |
< |
$as_echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;} |
| 16803 |
< |
{ $as_echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5 |
| 16804 |
< |
$as_echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;} |
| 16805 |
< |
{ $as_echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5 |
| 16806 |
< |
$as_echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;} |
| 16807 |
< |
{ $as_echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5 |
| 16808 |
< |
$as_echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;} |
| 16809 |
< |
{ $as_echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5 |
| 16810 |
< |
$as_echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;} |
| 16811 |
< |
{ $as_echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5 |
| 16812 |
< |
$as_echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;} |
| 12732 |
> |
# Check whether --with-libpcre-path was given. |
| 12733 |
> |
if test "${with_libpcre_path+set}" = set; then : |
| 12734 |
> |
withval=$with_libpcre_path; LDFLAGS="-L$withval $LDFLAGS" |
| 12735 |
> |
fi |
| 12736 |
|
|
| 12737 |
< |
;; |
| 12738 |
< |
esac |
| 12739 |
< |
{ $as_echo "$as_me:$LINENO: checking for zlib.h" >&5 |
| 12740 |
< |
$as_echo_n "checking for zlib.h... " >&6; } |
| 16818 |
< |
if test "${ac_cv_header_zlib_h+set}" = set; then |
| 16819 |
< |
$as_echo_n "(cached) " >&6 |
| 12737 |
> |
|
| 12738 |
> |
# Check whether --enable-libpcre was given. |
| 12739 |
> |
if test "${enable_libpcre+set}" = set; then : |
| 12740 |
> |
enableval=$enable_libpcre; libpcre=$enableval |
| 12741 |
|
else |
| 12742 |
< |
ac_cv_header_zlib_h=$ac_header_preproc |
| 12742 |
> |
libpcre=yes |
| 12743 |
|
fi |
| 16823 |
– |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5 |
| 16824 |
– |
$as_echo "$ac_cv_header_zlib_h" >&6; } |
| 12744 |
|
|
| 12745 |
< |
fi |
| 12746 |
< |
if test "x$ac_cv_header_zlib_h" = x""yes; then |
| 12747 |
< |
{ $as_echo "$as_me:$LINENO: checking for zlibVersion in -lz" >&5 |
| 12748 |
< |
$as_echo_n "checking for zlibVersion in -lz... " >&6; } |
| 12749 |
< |
if test "${ac_cv_lib_z_zlibVersion+set}" = set; then |
| 12745 |
> |
|
| 12746 |
> |
if test "$libpcre" = "yes"; then : |
| 12747 |
> |
|
| 12748 |
> |
ac_fn_c_check_header_mongrel "$LINENO" "pcre.h" "ac_cv_header_pcre_h" "$ac_includes_default" |
| 12749 |
> |
if test "x$ac_cv_header_pcre_h" = x""yes; then : |
| 12750 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcre_study in -lpcre" >&5 |
| 12751 |
> |
$as_echo_n "checking for pcre_study in -lpcre... " >&6; } |
| 12752 |
> |
if test "${ac_cv_lib_pcre_pcre_study+set}" = set; then : |
| 12753 |
|
$as_echo_n "(cached) " >&6 |
| 12754 |
|
else |
| 12755 |
|
ac_check_lib_save_LIBS=$LIBS |
| 12756 |
< |
LIBS="-lz $LIBS" |
| 12757 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 16836 |
< |
/* confdefs.h. */ |
| 16837 |
< |
_ACEOF |
| 16838 |
< |
cat confdefs.h >>conftest.$ac_ext |
| 16839 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
| 12756 |
> |
LIBS="-lpcre $LIBS" |
| 12757 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 12758 |
|
/* end confdefs.h. */ |
| 12759 |
|
|
| 12760 |
|
/* Override any GCC internal prototype to avoid an error. |
| 12763 |
|
#ifdef __cplusplus |
| 12764 |
|
extern "C" |
| 12765 |
|
#endif |
| 12766 |
< |
char zlibVersion (); |
| 12766 |
> |
char pcre_study (); |
| 12767 |
|
int |
| 12768 |
|
main () |
| 12769 |
|
{ |
| 12770 |
< |
return zlibVersion (); |
| 12770 |
> |
return pcre_study (); |
| 12771 |
|
; |
| 12772 |
|
return 0; |
| 12773 |
|
} |
| 12774 |
|
_ACEOF |
| 12775 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 12776 |
< |
if { (ac_try="$ac_link" |
| 16859 |
< |
case "(($ac_try" in |
| 16860 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 16861 |
< |
*) ac_try_echo=$ac_try;; |
| 16862 |
< |
esac |
| 16863 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 16864 |
< |
$as_echo "$ac_try_echo") >&5 |
| 16865 |
< |
(eval "$ac_link") 2>conftest.er1 |
| 16866 |
< |
ac_status=$? |
| 16867 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
| 16868 |
< |
rm -f conftest.er1 |
| 16869 |
< |
cat conftest.err >&5 |
| 16870 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 16871 |
< |
(exit $ac_status); } && { |
| 16872 |
< |
test -z "$ac_c_werror_flag" || |
| 16873 |
< |
test ! -s conftest.err |
| 16874 |
< |
} && test -s conftest$ac_exeext && { |
| 16875 |
< |
test "$cross_compiling" = yes || |
| 16876 |
< |
$as_test_x conftest$ac_exeext |
| 16877 |
< |
}; then |
| 16878 |
< |
ac_cv_lib_z_zlibVersion=yes |
| 12775 |
> |
if ac_fn_c_try_link "$LINENO"; then : |
| 12776 |
> |
ac_cv_lib_pcre_pcre_study=yes |
| 12777 |
|
else |
| 12778 |
< |
$as_echo "$as_me: failed program was:" >&5 |
| 16881 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 16882 |
< |
|
| 16883 |
< |
ac_cv_lib_z_zlibVersion=no |
| 12778 |
> |
ac_cv_lib_pcre_pcre_study=no |
| 12779 |
|
fi |
| 12780 |
< |
|
| 12781 |
< |
rm -rf conftest.dSYM |
| 16887 |
< |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 16888 |
< |
conftest$ac_exeext conftest.$ac_ext |
| 12780 |
> |
rm -f core conftest.err conftest.$ac_objext \ |
| 12781 |
> |
conftest$ac_exeext conftest.$ac_ext |
| 12782 |
|
LIBS=$ac_check_lib_save_LIBS |
| 12783 |
|
fi |
| 12784 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_z_zlibVersion" >&5 |
| 12785 |
< |
$as_echo "$ac_cv_lib_z_zlibVersion" >&6; } |
| 12786 |
< |
if test "x$ac_cv_lib_z_zlibVersion" = x""yes; then |
| 12784 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcre_pcre_study" >&5 |
| 12785 |
> |
$as_echo "$ac_cv_lib_pcre_pcre_study" >&6; } |
| 12786 |
> |
if test "x$ac_cv_lib_pcre_pcre_study" = x""yes; then : |
| 12787 |
|
|
| 12788 |
< |
LIBS="-lz $LIBS" |
| 12788 |
> |
LIBS="-lpcre $LIBS" |
| 12789 |
|
|
| 12790 |
< |
cat >>confdefs.h <<\_ACEOF |
| 16898 |
< |
#define HAVE_LIBZ 1 |
| 16899 |
< |
_ACEOF |
| 12790 |
> |
$as_echo "#define HAVE_LIBPCRE 1" >>confdefs.h |
| 12791 |
|
|
| 12792 |
|
|
| 12793 |
|
else |
| 12794 |
< |
zlib=no |
| 12794 |
> |
libpcre=no |
| 12795 |
|
fi |
| 12796 |
|
|
| 12797 |
|
|
| 12798 |
|
else |
| 12799 |
< |
zlib=no |
| 12799 |
> |
libpcre=no |
| 12800 |
|
fi |
| 12801 |
|
|
| 12802 |
|
|
| 12803 |
+ |
|
| 12804 |
+ |
fi |
| 12805 |
+ |
if test "$libpcre" = yes; then |
| 12806 |
+ |
ENABLE_PCRE_TRUE= |
| 12807 |
+ |
ENABLE_PCRE_FALSE='#' |
| 12808 |
+ |
else |
| 12809 |
+ |
ENABLE_PCRE_TRUE='#' |
| 12810 |
+ |
ENABLE_PCRE_FALSE= |
| 12811 |
|
fi |
| 12812 |
|
|
| 12813 |
|
|
| 12814 |
+ |
|
| 12815 |
|
# Check whether --enable-openssl was given. |
| 12816 |
< |
if test "${enable_openssl+set}" = set; then |
| 12816 |
> |
if test "${enable_openssl+set}" = set; then : |
| 12817 |
|
enableval=$enable_openssl; cf_enable_openssl=$enableval |
| 12818 |
|
else |
| 12819 |
|
cf_enable_openssl="auto" |
| 12820 |
|
fi |
| 12821 |
|
|
| 12822 |
< |
{ $as_echo "$as_me:$LINENO: checking for OpenSSL" >&5 |
| 12822 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL" >&5 |
| 12823 |
|
$as_echo_n "checking for OpenSSL... " >&6; } |
| 12824 |
|
if test "$cf_enable_openssl" != "no"; then |
| 12825 |
|
cf_openssl_basedir="" |
| 12852 |
|
|
| 12853 |
|
if test ! -z "$cf_openssl_basedir"; then |
| 12854 |
|
LIBS="-lcrypto -lssl $LIBS" |
| 12855 |
< |
{ $as_echo "$as_me:$LINENO: result: $cf_openssl_basedir" >&5 |
| 12855 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_openssl_basedir" >&5 |
| 12856 |
|
$as_echo "$cf_openssl_basedir" >&6; } |
| 12857 |
|
cf_enable_openssl="yes" |
| 12858 |
|
|
| 12859 |
< |
cat >>confdefs.h <<\_ACEOF |
| 16960 |
< |
#define HAVE_LIBCRYPTO 1 |
| 16961 |
< |
_ACEOF |
| 12859 |
> |
$as_echo "#define HAVE_LIBCRYPTO 1" >>confdefs.h |
| 12860 |
|
|
| 12861 |
|
else |
| 12862 |
< |
{ $as_echo "$as_me:$LINENO: result: not found. Please check your path." >&5 |
| 12863 |
< |
$as_echo "not found. Please check your path." >&6; } |
| 12862 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Please check your path." >&5 |
| 12863 |
> |
$as_echo "not found. Please check your path." >&6; } |
| 12864 |
|
cf_enable_openssl="no" |
| 12865 |
|
fi |
| 12866 |
|
unset cf_openssl_basedir |
| 12867 |
|
else |
| 12868 |
< |
{ $as_echo "$as_me:$LINENO: result: disabled" >&5 |
| 12868 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 |
| 12869 |
|
$as_echo "disabled" >&6; } |
| 12870 |
|
fi |
| 12871 |
|
if test "$cf_enable_openssl" = yes; then |
| 12879 |
|
|
| 12880 |
|
|
| 12881 |
|
# Check whether --enable-assert was given. |
| 12882 |
< |
if test "${enable_assert+set}" = set; then |
| 12882 |
> |
if test "${enable_assert+set}" = set; then : |
| 12883 |
|
enableval=$enable_assert; assert=$enableval |
| 12884 |
|
else |
| 12885 |
|
assert=no |
| 12886 |
|
fi |
| 12887 |
|
|
| 16990 |
– |
if test "$assert" = no; then |
| 12888 |
|
|
| 12889 |
< |
cat >>confdefs.h <<\_ACEOF |
| 12890 |
< |
#define NDEBUG 1 |
| 12891 |
< |
_ACEOF |
| 12889 |
> |
if test "$assert" = "no"; then : |
| 12890 |
> |
|
| 12891 |
> |
$as_echo "#define NDEBUG 1" >>confdefs.h |
| 12892 |
|
|
| 12893 |
|
fi |
| 12894 |
|
|
| 12895 |
|
|
| 12896 |
|
# Check whether --enable-small-net was given. |
| 12897 |
< |
if test "${enable_small_net+set}" = set; then |
| 12897 |
> |
if test "${enable_small_net+set}" = set; then : |
| 12898 |
|
enableval=$enable_small_net; small_net=$enableval |
| 12899 |
|
else |
| 12900 |
|
small_net=no |
| 12903 |
|
|
| 12904 |
|
if test "$small_net" = yes; then |
| 12905 |
|
|
| 12906 |
< |
cat >>confdefs.h <<\_ACEOF |
| 17010 |
< |
#define NICKNAMEHISTORYLENGTH 1500 |
| 17011 |
< |
_ACEOF |
| 12906 |
> |
$as_echo "#define NICKNAMEHISTORYLENGTH 1500" >>confdefs.h |
| 12907 |
|
|
| 12908 |
|
|
| 12909 |
< |
cat >>confdefs.h <<\_ACEOF |
| 17015 |
< |
#define CHANNEL_HEAP_SIZE 256 |
| 17016 |
< |
_ACEOF |
| 12909 |
> |
$as_echo "#define CHANNEL_HEAP_SIZE 256" >>confdefs.h |
| 12910 |
|
|
| 12911 |
|
|
| 12912 |
< |
cat >>confdefs.h <<\_ACEOF |
| 17020 |
< |
#define BAN_HEAP_SIZE 128 |
| 17021 |
< |
_ACEOF |
| 12912 |
> |
$as_echo "#define BAN_HEAP_SIZE 128" >>confdefs.h |
| 12913 |
|
|
| 12914 |
|
|
| 12915 |
< |
cat >>confdefs.h <<\_ACEOF |
| 17025 |
< |
#define CLIENT_HEAP_SIZE 256 |
| 17026 |
< |
_ACEOF |
| 12915 |
> |
$as_echo "#define CLIENT_HEAP_SIZE 256" >>confdefs.h |
| 12916 |
|
|
| 12917 |
|
|
| 12918 |
< |
cat >>confdefs.h <<\_ACEOF |
| 17030 |
< |
#define LCLIENT_HEAP_SIZE 128 |
| 17031 |
< |
_ACEOF |
| 12918 |
> |
$as_echo "#define LCLIENT_HEAP_SIZE 128" >>confdefs.h |
| 12919 |
|
|
| 12920 |
|
|
| 12921 |
< |
cat >>confdefs.h <<\_ACEOF |
| 17035 |
< |
#define DNODE_HEAP_SIZE 256 |
| 17036 |
< |
_ACEOF |
| 12921 |
> |
$as_echo "#define DNODE_HEAP_SIZE 256" >>confdefs.h |
| 12922 |
|
|
| 12923 |
|
|
| 12924 |
< |
cat >>confdefs.h <<\_ACEOF |
| 17040 |
< |
#define TOPIC_HEAP_SIZE 256 |
| 17041 |
< |
_ACEOF |
| 12924 |
> |
$as_echo "#define TOPIC_HEAP_SIZE 256" >>confdefs.h |
| 12925 |
|
|
| 12926 |
|
|
| 12927 |
< |
cat >>confdefs.h <<\_ACEOF |
| 12928 |
< |
#define DBUF_HEAP_SIZE 64 |
| 12929 |
< |
_ACEOF |
| 12927 |
> |
$as_echo "#define DBUF_HEAP_SIZE 64" >>confdefs.h |
| 12928 |
> |
|
| 12929 |
> |
|
| 12930 |
> |
$as_echo "#define AUTH_HEAP_SIZE 128" >>confdefs.h |
| 12931 |
> |
|
| 12932 |
> |
|
| 12933 |
> |
$as_echo "#define DNS_HEAP_SIZE 128" >>confdefs.h |
| 12934 |
|
|
| 12935 |
|
else |
| 12936 |
|
|
| 12937 |
< |
cat >>confdefs.h <<\_ACEOF |
| 17051 |
< |
#define NICKNAMEHISTORYLENGTH 15000 |
| 17052 |
< |
_ACEOF |
| 12937 |
> |
$as_echo "#define NICKNAMEHISTORYLENGTH 15000" >>confdefs.h |
| 12938 |
|
|
| 12939 |
|
|
| 12940 |
< |
cat >>confdefs.h <<\_ACEOF |
| 17056 |
< |
#define CHANNEL_HEAP_SIZE 1024 |
| 17057 |
< |
_ACEOF |
| 12940 |
> |
$as_echo "#define CHANNEL_HEAP_SIZE 1024" >>confdefs.h |
| 12941 |
|
|
| 12942 |
|
|
| 12943 |
< |
cat >>confdefs.h <<\_ACEOF |
| 17061 |
< |
#define BAN_HEAP_SIZE 1024 |
| 17062 |
< |
_ACEOF |
| 12943 |
> |
$as_echo "#define BAN_HEAP_SIZE 1024" >>confdefs.h |
| 12944 |
|
|
| 12945 |
|
|
| 12946 |
< |
cat >>confdefs.h <<\_ACEOF |
| 17066 |
< |
#define CLIENT_HEAP_SIZE 1024 |
| 17067 |
< |
_ACEOF |
| 12946 |
> |
$as_echo "#define CLIENT_HEAP_SIZE 1024" >>confdefs.h |
| 12947 |
|
|
| 12948 |
|
|
| 12949 |
< |
cat >>confdefs.h <<\_ACEOF |
| 17071 |
< |
#define LCLIENT_HEAP_SIZE 512 |
| 17072 |
< |
_ACEOF |
| 12949 |
> |
$as_echo "#define LCLIENT_HEAP_SIZE 512" >>confdefs.h |
| 12950 |
|
|
| 12951 |
|
|
| 12952 |
< |
cat >>confdefs.h <<\_ACEOF |
| 17076 |
< |
#define DNODE_HEAP_SIZE 1024 |
| 17077 |
< |
_ACEOF |
| 12952 |
> |
$as_echo "#define DNODE_HEAP_SIZE 1024" >>confdefs.h |
| 12953 |
|
|
| 12954 |
|
|
| 12955 |
< |
cat >>confdefs.h <<\_ACEOF |
| 17081 |
< |
#define TOPIC_HEAP_SIZE 1024 |
| 17082 |
< |
_ACEOF |
| 12955 |
> |
$as_echo "#define TOPIC_HEAP_SIZE 1024" >>confdefs.h |
| 12956 |
|
|
| 12957 |
|
|
| 12958 |
< |
cat >>confdefs.h <<\_ACEOF |
| 12959 |
< |
#define DBUF_HEAP_SIZE 512 |
| 12960 |
< |
_ACEOF |
| 12958 |
> |
$as_echo "#define DBUF_HEAP_SIZE 512" >>confdefs.h |
| 12959 |
> |
|
| 12960 |
> |
|
| 12961 |
> |
$as_echo "#define AUTH_HEAP_SIZE 512" >>confdefs.h |
| 12962 |
> |
|
| 12963 |
> |
|
| 12964 |
> |
$as_echo "#define DNS_HEAP_SIZE 512" >>confdefs.h |
| 12965 |
|
|
| 12966 |
|
fi |
| 12967 |
|
|
| 12970 |
|
|
| 12971 |
|
desired_iopoll_mechanism="none" |
| 12972 |
|
# Check whether --enable-kqueue was given. |
| 12973 |
< |
if test "${enable_kqueue+set}" = set; then |
| 12973 |
> |
if test "${enable_kqueue+set}" = set; then : |
| 12974 |
|
enableval=$enable_kqueue; desired_iopoll_mechanism="kqueue" |
| 12975 |
|
fi |
| 12976 |
|
|
| 12977 |
|
# Check whether --enable-epoll was given. |
| 12978 |
< |
if test "${enable_epoll+set}" = set; then |
| 12978 |
> |
if test "${enable_epoll+set}" = set; then : |
| 12979 |
|
enableval=$enable_epoll; desired_iopoll_mechanism="epoll" |
| 12980 |
|
fi |
| 12981 |
|
|
| 12982 |
|
# Check whether --enable-devpoll was given. |
| 12983 |
< |
if test "${enable_devpoll+set}" = set; then |
| 12983 |
> |
if test "${enable_devpoll+set}" = set; then : |
| 12984 |
|
enableval=$enable_devpoll; desired_iopoll_mechanism="devpoll" |
| 12985 |
|
fi |
| 12986 |
|
|
| 12987 |
|
# Check whether --enable-rtsigio was given. |
| 12988 |
< |
if test "${enable_rtsigio+set}" = set; then |
| 12988 |
> |
if test "${enable_rtsigio+set}" = set; then : |
| 12989 |
|
enableval=$enable_rtsigio; desired_iopoll_mechanism="rtsigio" |
| 12990 |
|
fi |
| 12991 |
|
|
| 12992 |
|
# Check whether --enable-poll was given. |
| 12993 |
< |
if test "${enable_poll+set}" = set; then |
| 12993 |
> |
if test "${enable_poll+set}" = set; then : |
| 12994 |
|
enableval=$enable_poll; desired_iopoll_mechanism="poll" |
| 12995 |
|
fi |
| 12996 |
|
|
| 12997 |
|
# Check whether --enable-select was given. |
| 12998 |
< |
if test "${enable_select+set}" = set; then |
| 12998 |
> |
if test "${enable_select+set}" = set; then : |
| 12999 |
|
enableval=$enable_select; desired_iopoll_mechanism="select" |
| 13000 |
|
fi |
| 13001 |
|
|
| 13002 |
< |
{ $as_echo "$as_me:$LINENO: checking for optimal/desired iopoll mechanism" >&5 |
| 13002 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for optimal/desired iopoll mechanism" >&5 |
| 13003 |
|
$as_echo_n "checking for optimal/desired iopoll mechanism... " >&6; } |
| 13004 |
|
iopoll_mechanism_none=0 |
| 13005 |
|
|
| 13013 |
|
#define __IOPOLL_MECHANISM_KQUEUE $iopoll_mechanism_kqueue |
| 13014 |
|
_ACEOF |
| 13015 |
|
|
| 13016 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 17140 |
< |
/* confdefs.h. */ |
| 17141 |
< |
_ACEOF |
| 17142 |
< |
cat confdefs.h >>conftest.$ac_ext |
| 17143 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
| 13016 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13017 |
|
/* end confdefs.h. */ |
| 13018 |
|
/* Define kevent to an innocuous variant, in case <limits.h> declares kevent. |
| 13019 |
|
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
| 13054 |
|
return 0; |
| 13055 |
|
} |
| 13056 |
|
_ACEOF |
| 13057 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 17185 |
< |
if { (ac_try="$ac_link" |
| 17186 |
< |
case "(($ac_try" in |
| 17187 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 17188 |
< |
*) ac_try_echo=$ac_try;; |
| 17189 |
< |
esac |
| 17190 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 17191 |
< |
$as_echo "$ac_try_echo") >&5 |
| 17192 |
< |
(eval "$ac_link") 2>conftest.er1 |
| 17193 |
< |
ac_status=$? |
| 17194 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
| 17195 |
< |
rm -f conftest.er1 |
| 17196 |
< |
cat conftest.err >&5 |
| 17197 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 17198 |
< |
(exit $ac_status); } && { |
| 17199 |
< |
test -z "$ac_c_werror_flag" || |
| 17200 |
< |
test ! -s conftest.err |
| 17201 |
< |
} && test -s conftest$ac_exeext && { |
| 17202 |
< |
test "$cross_compiling" = yes || |
| 17203 |
< |
$as_test_x conftest$ac_exeext |
| 17204 |
< |
}; then |
| 13057 |
> |
if ac_fn_c_try_link "$LINENO"; then : |
| 13058 |
|
is_kqueue_mechanism_available="yes" |
| 13059 |
|
else |
| 13060 |
< |
$as_echo "$as_me: failed program was:" >&5 |
| 17208 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 17209 |
< |
|
| 17210 |
< |
is_kqueue_mechanism_available="no" |
| 13060 |
> |
is_kqueue_mechanism_available="no" |
| 13061 |
|
fi |
| 13062 |
< |
|
| 13063 |
< |
rm -rf conftest.dSYM |
| 17214 |
< |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 17215 |
< |
conftest$ac_exeext conftest.$ac_ext |
| 13062 |
> |
rm -f core conftest.err conftest.$ac_objext \ |
| 13063 |
> |
conftest$ac_exeext conftest.$ac_ext |
| 13064 |
|
iopoll_mechanism_epoll=2 |
| 13065 |
|
|
| 13066 |
|
cat >>confdefs.h <<_ACEOF |
| 13067 |
|
#define __IOPOLL_MECHANISM_EPOLL $iopoll_mechanism_epoll |
| 13068 |
|
_ACEOF |
| 13069 |
|
|
| 13070 |
< |
if test "$cross_compiling" = yes; then |
| 13071 |
< |
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
| 13070 |
> |
if test "$cross_compiling" = yes; then : |
| 13071 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 13072 |
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 13073 |
< |
{ { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling |
| 13074 |
< |
See \`config.log' for more details." >&5 |
| 17227 |
< |
$as_echo "$as_me: error: cannot run test program while cross compiling |
| 17228 |
< |
See \`config.log' for more details." >&2;} |
| 17229 |
< |
{ (exit 1); exit 1; }; }; } |
| 13073 |
> |
as_fn_error "cannot run test program while cross compiling |
| 13074 |
> |
See \`config.log' for more details." "$LINENO" 5; } |
| 13075 |
|
else |
| 13076 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 13076 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13077 |
> |
/* end confdefs.h. */ |
| 13078 |
|
|
| 13079 |
|
#include <sys/epoll.h> |
| 13080 |
|
#include <sys/syscall.h> |
| 13107 |
|
main() { return epoll_create(256) == -1 ? 1 : 0; } |
| 13108 |
|
|
| 13109 |
|
_ACEOF |
| 13110 |
< |
rm -f conftest$ac_exeext |
| 17265 |
< |
if { (ac_try="$ac_link" |
| 17266 |
< |
case "(($ac_try" in |
| 17267 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 17268 |
< |
*) ac_try_echo=$ac_try;; |
| 17269 |
< |
esac |
| 17270 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 17271 |
< |
$as_echo "$ac_try_echo") >&5 |
| 17272 |
< |
(eval "$ac_link") 2>&5 |
| 17273 |
< |
ac_status=$? |
| 17274 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 17275 |
< |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
| 17276 |
< |
{ (case "(($ac_try" in |
| 17277 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 17278 |
< |
*) ac_try_echo=$ac_try;; |
| 17279 |
< |
esac |
| 17280 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 17281 |
< |
$as_echo "$ac_try_echo") >&5 |
| 17282 |
< |
(eval "$ac_try") 2>&5 |
| 17283 |
< |
ac_status=$? |
| 17284 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 17285 |
< |
(exit $ac_status); }; }; then |
| 13110 |
> |
if ac_fn_c_try_run "$LINENO"; then : |
| 13111 |
|
is_epoll_mechanism_available="yes" |
| 13112 |
|
else |
| 13113 |
< |
$as_echo "$as_me: program exited with status $ac_status" >&5 |
| 17289 |
< |
$as_echo "$as_me: failed program was:" >&5 |
| 17290 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 17291 |
< |
|
| 17292 |
< |
( exit $ac_status ) |
| 17293 |
< |
is_epoll_mechanism_available="no" |
| 13113 |
> |
is_epoll_mechanism_available="no" |
| 13114 |
|
fi |
| 13115 |
< |
rm -rf conftest.dSYM |
| 13116 |
< |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 13115 |
> |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 13116 |
> |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 13117 |
|
fi |
| 13118 |
|
|
| 17299 |
– |
|
| 13119 |
|
iopoll_mechanism_devpoll=3 |
| 13120 |
|
|
| 13121 |
|
cat >>confdefs.h <<_ACEOF |
| 13122 |
|
#define __IOPOLL_MECHANISM_DEVPOLL $iopoll_mechanism_devpoll |
| 13123 |
|
_ACEOF |
| 13124 |
|
|
| 13125 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 17307 |
< |
/* confdefs.h. */ |
| 17308 |
< |
_ACEOF |
| 17309 |
< |
cat confdefs.h >>conftest.$ac_ext |
| 17310 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
| 13125 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13126 |
|
/* end confdefs.h. */ |
| 13127 |
|
#include <devpoll.h> |
| 13128 |
|
int |
| 13133 |
|
return 0; |
| 13134 |
|
} |
| 13135 |
|
_ACEOF |
| 13136 |
< |
rm -f conftest.$ac_objext |
| 17322 |
< |
if { (ac_try="$ac_compile" |
| 17323 |
< |
case "(($ac_try" in |
| 17324 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 17325 |
< |
*) ac_try_echo=$ac_try;; |
| 17326 |
< |
esac |
| 17327 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 17328 |
< |
$as_echo "$ac_try_echo") >&5 |
| 17329 |
< |
(eval "$ac_compile") 2>conftest.er1 |
| 17330 |
< |
ac_status=$? |
| 17331 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
| 17332 |
< |
rm -f conftest.er1 |
| 17333 |
< |
cat conftest.err >&5 |
| 17334 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 17335 |
< |
(exit $ac_status); } && { |
| 17336 |
< |
test -z "$ac_c_werror_flag" || |
| 17337 |
< |
test ! -s conftest.err |
| 17338 |
< |
} && test -s conftest.$ac_objext; then |
| 13136 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
| 13137 |
|
is_devpoll_mechanism_available="yes" |
| 13138 |
|
else |
| 13139 |
< |
$as_echo "$as_me: failed program was:" >&5 |
| 17342 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 17343 |
< |
|
| 17344 |
< |
is_devpoll_mechanism_available="no" |
| 13139 |
> |
is_devpoll_mechanism_available="no" |
| 13140 |
|
fi |
| 17346 |
– |
|
| 13141 |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 13142 |
|
if test "$is_devpoll_mechanism_available" = "yes" ; then |
| 13143 |
|
|
| 13144 |
< |
cat >>confdefs.h <<\_ACEOF |
| 17351 |
< |
#define HAVE_DEVPOLL_H 1 |
| 17352 |
< |
_ACEOF |
| 13144 |
> |
$as_echo "#define HAVE_DEVPOLL_H 1" >>confdefs.h |
| 13145 |
|
|
| 13146 |
|
fi |
| 13147 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 17356 |
< |
/* confdefs.h. */ |
| 17357 |
< |
_ACEOF |
| 17358 |
< |
cat confdefs.h >>conftest.$ac_ext |
| 17359 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
| 13147 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13148 |
|
/* end confdefs.h. */ |
| 13149 |
|
#include <sys/devpoll.h> |
| 13150 |
|
int |
| 13155 |
|
return 0; |
| 13156 |
|
} |
| 13157 |
|
_ACEOF |
| 13158 |
< |
rm -f conftest.$ac_objext |
| 17371 |
< |
if { (ac_try="$ac_compile" |
| 17372 |
< |
case "(($ac_try" in |
| 17373 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 17374 |
< |
*) ac_try_echo=$ac_try;; |
| 17375 |
< |
esac |
| 17376 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 17377 |
< |
$as_echo "$ac_try_echo") >&5 |
| 17378 |
< |
(eval "$ac_compile") 2>conftest.er1 |
| 17379 |
< |
ac_status=$? |
| 17380 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
| 17381 |
< |
rm -f conftest.er1 |
| 17382 |
< |
cat conftest.err >&5 |
| 17383 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 17384 |
< |
(exit $ac_status); } && { |
| 17385 |
< |
test -z "$ac_c_werror_flag" || |
| 17386 |
< |
test ! -s conftest.err |
| 17387 |
< |
} && test -s conftest.$ac_objext; then |
| 13158 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
| 13159 |
|
is_devpoll_mechanism_available="yes" |
| 13160 |
|
else |
| 13161 |
< |
$as_echo "$as_me: failed program was:" >&5 |
| 17391 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 17392 |
< |
|
| 17393 |
< |
is_devpoll_mechanism_available="no" |
| 13161 |
> |
is_devpoll_mechanism_available="no" |
| 13162 |
|
fi |
| 17395 |
– |
|
| 13163 |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 13164 |
|
if test "$is_devpoll_mechanism_available" = "yes" ; then |
| 13165 |
|
|
| 13166 |
< |
cat >>confdefs.h <<\_ACEOF |
| 17400 |
< |
#define HAVE_SYS_DEVPOLL_H 1 |
| 17401 |
< |
_ACEOF |
| 13166 |
> |
$as_echo "#define HAVE_SYS_DEVPOLL_H 1" >>confdefs.h |
| 13167 |
|
|
| 13168 |
|
fi |
| 13169 |
|
iopoll_mechanism_rtsigio=4 |
| 13172 |
|
#define __IOPOLL_MECHANISM_RTSIGIO $iopoll_mechanism_rtsigio |
| 13173 |
|
_ACEOF |
| 13174 |
|
|
| 13175 |
< |
if test "$cross_compiling" = yes; then |
| 13176 |
< |
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
| 13175 |
> |
if test "$cross_compiling" = yes; then : |
| 13176 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 13177 |
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 13178 |
< |
{ { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling |
| 13179 |
< |
See \`config.log' for more details." >&5 |
| 17415 |
< |
$as_echo "$as_me: error: cannot run test program while cross compiling |
| 17416 |
< |
See \`config.log' for more details." >&2;} |
| 17417 |
< |
{ (exit 1); exit 1; }; }; } |
| 13178 |
> |
as_fn_error "cannot run test program while cross compiling |
| 13179 |
> |
See \`config.log' for more details." "$LINENO" 5; } |
| 13180 |
|
else |
| 13181 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 17420 |
< |
/* confdefs.h. */ |
| 17421 |
< |
_ACEOF |
| 17422 |
< |
cat confdefs.h >>conftest.$ac_ext |
| 17423 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
| 13181 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13182 |
|
/* end confdefs.h. */ |
| 13183 |
|
|
| 13184 |
|
#include <fcntl.h> |
| 13196 |
|
return 0; |
| 13197 |
|
} |
| 13198 |
|
_ACEOF |
| 13199 |
< |
rm -f conftest$ac_exeext |
| 17442 |
< |
if { (ac_try="$ac_link" |
| 17443 |
< |
case "(($ac_try" in |
| 17444 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 17445 |
< |
*) ac_try_echo=$ac_try;; |
| 17446 |
< |
esac |
| 17447 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 17448 |
< |
$as_echo "$ac_try_echo") >&5 |
| 17449 |
< |
(eval "$ac_link") 2>&5 |
| 17450 |
< |
ac_status=$? |
| 17451 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 17452 |
< |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
| 17453 |
< |
{ (case "(($ac_try" in |
| 17454 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 17455 |
< |
*) ac_try_echo=$ac_try;; |
| 17456 |
< |
esac |
| 17457 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 17458 |
< |
$as_echo "$ac_try_echo") >&5 |
| 17459 |
< |
(eval "$ac_try") 2>&5 |
| 17460 |
< |
ac_status=$? |
| 17461 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 17462 |
< |
(exit $ac_status); }; }; then |
| 13199 |
> |
if ac_fn_c_try_run "$LINENO"; then : |
| 13200 |
|
is_rtsigio_mechanism_available="yes" |
| 13201 |
|
else |
| 13202 |
< |
$as_echo "$as_me: program exited with status $ac_status" >&5 |
| 17466 |
< |
$as_echo "$as_me: failed program was:" >&5 |
| 17467 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 17468 |
< |
|
| 17469 |
< |
( exit $ac_status ) |
| 17470 |
< |
is_rtsigio_mechanism_available="no" |
| 13202 |
> |
is_rtsigio_mechanism_available="no" |
| 13203 |
|
fi |
| 13204 |
< |
rm -rf conftest.dSYM |
| 13205 |
< |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 13204 |
> |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 13205 |
> |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 13206 |
|
fi |
| 13207 |
|
|
| 17476 |
– |
|
| 13208 |
|
iopoll_mechanism_poll=5 |
| 13209 |
|
|
| 13210 |
|
cat >>confdefs.h <<_ACEOF |
| 13211 |
|
#define __IOPOLL_MECHANISM_POLL $iopoll_mechanism_poll |
| 13212 |
|
_ACEOF |
| 13213 |
|
|
| 13214 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 17484 |
< |
/* confdefs.h. */ |
| 17485 |
< |
_ACEOF |
| 17486 |
< |
cat confdefs.h >>conftest.$ac_ext |
| 17487 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
| 13214 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13215 |
|
/* end confdefs.h. */ |
| 13216 |
|
/* Define poll to an innocuous variant, in case <limits.h> declares poll. |
| 13217 |
|
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
| 13252 |
|
return 0; |
| 13253 |
|
} |
| 13254 |
|
_ACEOF |
| 13255 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 17529 |
< |
if { (ac_try="$ac_link" |
| 17530 |
< |
case "(($ac_try" in |
| 17531 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 17532 |
< |
*) ac_try_echo=$ac_try;; |
| 17533 |
< |
esac |
| 17534 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 17535 |
< |
$as_echo "$ac_try_echo") >&5 |
| 17536 |
< |
(eval "$ac_link") 2>conftest.er1 |
| 17537 |
< |
ac_status=$? |
| 17538 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
| 17539 |
< |
rm -f conftest.er1 |
| 17540 |
< |
cat conftest.err >&5 |
| 17541 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 17542 |
< |
(exit $ac_status); } && { |
| 17543 |
< |
test -z "$ac_c_werror_flag" || |
| 17544 |
< |
test ! -s conftest.err |
| 17545 |
< |
} && test -s conftest$ac_exeext && { |
| 17546 |
< |
test "$cross_compiling" = yes || |
| 17547 |
< |
$as_test_x conftest$ac_exeext |
| 17548 |
< |
}; then |
| 13255 |
> |
if ac_fn_c_try_link "$LINENO"; then : |
| 13256 |
|
is_poll_mechanism_available="yes" |
| 13257 |
|
else |
| 13258 |
< |
$as_echo "$as_me: failed program was:" >&5 |
| 17552 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 17553 |
< |
|
| 17554 |
< |
is_poll_mechanism_available="no" |
| 13258 |
> |
is_poll_mechanism_available="no" |
| 13259 |
|
fi |
| 13260 |
< |
|
| 13261 |
< |
rm -rf conftest.dSYM |
| 17558 |
< |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 17559 |
< |
conftest$ac_exeext conftest.$ac_ext |
| 13260 |
> |
rm -f core conftest.err conftest.$ac_objext \ |
| 13261 |
> |
conftest$ac_exeext conftest.$ac_ext |
| 13262 |
|
iopoll_mechanism_select=6 |
| 13263 |
|
|
| 13264 |
|
cat >>confdefs.h <<_ACEOF |
| 13265 |
|
#define __IOPOLL_MECHANISM_SELECT $iopoll_mechanism_select |
| 13266 |
|
_ACEOF |
| 13267 |
|
|
| 13268 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 17567 |
< |
/* confdefs.h. */ |
| 17568 |
< |
_ACEOF |
| 17569 |
< |
cat confdefs.h >>conftest.$ac_ext |
| 17570 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
| 13268 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13269 |
|
/* end confdefs.h. */ |
| 13270 |
|
/* Define select to an innocuous variant, in case <limits.h> declares select. |
| 13271 |
|
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
| 13306 |
|
return 0; |
| 13307 |
|
} |
| 13308 |
|
_ACEOF |
| 13309 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 17612 |
< |
if { (ac_try="$ac_link" |
| 17613 |
< |
case "(($ac_try" in |
| 17614 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 17615 |
< |
*) ac_try_echo=$ac_try;; |
| 17616 |
< |
esac |
| 17617 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 17618 |
< |
$as_echo "$ac_try_echo") >&5 |
| 17619 |
< |
(eval "$ac_link") 2>conftest.er1 |
| 17620 |
< |
ac_status=$? |
| 17621 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
| 17622 |
< |
rm -f conftest.er1 |
| 17623 |
< |
cat conftest.err >&5 |
| 17624 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 17625 |
< |
(exit $ac_status); } && { |
| 17626 |
< |
test -z "$ac_c_werror_flag" || |
| 17627 |
< |
test ! -s conftest.err |
| 17628 |
< |
} && test -s conftest$ac_exeext && { |
| 17629 |
< |
test "$cross_compiling" = yes || |
| 17630 |
< |
$as_test_x conftest$ac_exeext |
| 17631 |
< |
}; then |
| 13309 |
> |
if ac_fn_c_try_link "$LINENO"; then : |
| 13310 |
|
is_select_mechanism_available="yes" |
| 13311 |
|
else |
| 13312 |
< |
$as_echo "$as_me: failed program was:" >&5 |
| 17635 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 17636 |
< |
|
| 17637 |
< |
is_select_mechanism_available="no" |
| 13312 |
> |
is_select_mechanism_available="no" |
| 13313 |
|
fi |
| 13314 |
< |
|
| 13315 |
< |
rm -rf conftest.dSYM |
| 17641 |
< |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 17642 |
< |
conftest$ac_exeext conftest.$ac_ext |
| 13314 |
> |
rm -f core conftest.err conftest.$ac_objext \ |
| 13315 |
> |
conftest$ac_exeext conftest.$ac_ext |
| 13316 |
|
optimal_iopoll_mechanism="none" |
| 13317 |
|
for mechanism in "kqueue" "epoll" "devpoll" "rtsigio" "poll" "select" ; do # order is important |
| 13318 |
|
eval "is_optimal_iopoll_mechanism_available=\$is_${mechanism}_mechanism_available" |
| 13323 |
|
done |
| 13324 |
|
if test "$desired_iopoll_mechanism" = "none" ; then |
| 13325 |
|
if test "$optimal_iopoll_mechanism" = "none" ; then |
| 13326 |
< |
{ $as_echo "$as_me:$LINENO: result: none" >&5 |
| 13326 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 |
| 13327 |
|
$as_echo "none" >&6; } |
| 13328 |
< |
{ { $as_echo "$as_me:$LINENO: error: no iopoll mechanism found!" >&5 |
| 17656 |
< |
$as_echo "$as_me: error: no iopoll mechanism found!" >&2;} |
| 17657 |
< |
{ (exit 1); exit 1; }; } |
| 13328 |
> |
as_fn_error "no iopoll mechanism found!" "$LINENO" 5 |
| 13329 |
|
else |
| 13330 |
|
selected_iopoll_mechanism=$optimal_iopoll_mechanism |
| 13331 |
< |
{ $as_echo "$as_me:$LINENO: result: $selected_iopoll_mechanism" >&5 |
| 13331 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $selected_iopoll_mechanism" >&5 |
| 13332 |
|
$as_echo "$selected_iopoll_mechanism" >&6; } |
| 13333 |
|
fi |
| 13334 |
|
else |
| 13335 |
|
eval "is_desired_iopoll_mechanism_available=\$is_${desired_iopoll_mechanism}_mechanism_available" |
| 13336 |
|
if test "$is_desired_iopoll_mechanism_available" = "yes" ; then |
| 13337 |
|
selected_iopoll_mechanism=$desired_iopoll_mechanism |
| 13338 |
< |
{ $as_echo "$as_me:$LINENO: result: $selected_iopoll_mechanism" >&5 |
| 13338 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $selected_iopoll_mechanism" >&5 |
| 13339 |
|
$as_echo "$selected_iopoll_mechanism" >&6; } |
| 13340 |
|
else |
| 13341 |
< |
{ $as_echo "$as_me:$LINENO: result: none" >&5 |
| 13341 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 |
| 13342 |
|
$as_echo "none" >&6; } |
| 13343 |
< |
{ { $as_echo "$as_me:$LINENO: error: desired iopoll mechanism, $desired_iopoll_mechanism, is not available" >&5 |
| 17673 |
< |
$as_echo "$as_me: error: desired iopoll mechanism, $desired_iopoll_mechanism, is not available" >&2;} |
| 17674 |
< |
{ (exit 1); exit 1; }; } |
| 13343 |
> |
as_fn_error "desired iopoll mechanism, $desired_iopoll_mechanism, is not available" "$LINENO" 5 |
| 13344 |
|
fi |
| 13345 |
|
fi |
| 13346 |
|
eval "use_iopoll_mechanism=\$iopoll_mechanism_${selected_iopoll_mechanism}" |
| 13353 |
|
|
| 13354 |
|
|
| 13355 |
|
# Check whether --with-nicklen was given. |
| 13356 |
< |
if test "${with_nicklen+set}" = set; then |
| 13356 |
> |
if test "${with_nicklen+set}" = set; then : |
| 13357 |
|
withval=$with_nicklen; nicklen="$withval" |
| 13358 |
|
else |
| 13359 |
|
nicklen="9" |
| 13368 |
|
|
| 13369 |
|
|
| 13370 |
|
# Check whether --with-topiclen was given. |
| 13371 |
< |
if test "${with_topiclen+set}" = set; then |
| 13371 |
> |
if test "${with_topiclen+set}" = set; then : |
| 13372 |
|
withval=$with_topiclen; topiclen="$withval" |
| 13373 |
|
else |
| 13374 |
|
topiclen="160" |
| 13383 |
|
|
| 13384 |
|
|
| 13385 |
|
# Check whether --with-syslog-facility was given. |
| 13386 |
< |
if test "${with_syslog_facility+set}" = set; then |
| 13386 |
> |
if test "${with_syslog_facility+set}" = set; then : |
| 13387 |
|
withval=$with_syslog_facility; syslog_facility="$withval" |
| 13388 |
|
else |
| 13389 |
|
syslog_facility="LOG_LOCAL4" |
| 13397 |
|
|
| 13398 |
|
|
| 13399 |
|
# Check whether --enable-efnet was given. |
| 13400 |
< |
if test "${enable_efnet+set}" = set; then |
| 13400 |
> |
if test "${enable_efnet+set}" = set; then : |
| 13401 |
|
enableval=$enable_efnet; efnet="$enableval" |
| 13402 |
|
else |
| 13403 |
|
efnet="no" |
| 13406 |
|
if test "$efnet" = "yes" ; then |
| 13407 |
|
use_efnet="yes" |
| 13408 |
|
|
| 13409 |
< |
cat >>confdefs.h <<\_ACEOF |
| 17741 |
< |
#define EFNET 1 |
| 17742 |
< |
_ACEOF |
| 13409 |
> |
$as_echo "#define EFNET 1" >>confdefs.h |
| 13410 |
|
|
| 13411 |
|
|
| 13412 |
< |
cat >>confdefs.h <<\_ACEOF |
| 17746 |
< |
#define TS5_ONLY 1 |
| 17747 |
< |
_ACEOF |
| 13412 |
> |
$as_echo "#define TS5_ONLY 1" >>confdefs.h |
| 13413 |
|
|
| 13414 |
|
else |
| 17750 |
– |
|
| 17751 |
– |
cat >>confdefs.h <<\_ACEOF |
| 17752 |
– |
#define INVARIANTS 1 |
| 17753 |
– |
_ACEOF |
| 17754 |
– |
|
| 13415 |
|
use_efnet="no" |
| 13416 |
|
fi |
| 13417 |
|
if test "$use_efnet" = "yes"; then |
| 13425 |
|
|
| 13426 |
|
|
| 13427 |
|
# Check whether --enable-halfops was given. |
| 13428 |
< |
if test "${enable_halfops+set}" = set; then |
| 13428 |
> |
if test "${enable_halfops+set}" = set; then : |
| 13429 |
|
enableval=$enable_halfops; halfops="$enableval" |
| 13430 |
|
else |
| 13431 |
|
halfops="no" |
| 13433 |
|
|
| 13434 |
|
if test "$halfops" = "yes" ; then |
| 13435 |
|
|
| 13436 |
< |
cat >>confdefs.h <<\_ACEOF |
| 17777 |
< |
#define HALFOPS 1 |
| 17778 |
< |
_ACEOF |
| 13436 |
> |
$as_echo "#define HALFOPS 1" >>confdefs.h |
| 13437 |
|
|
| 13438 |
|
fi |
| 13439 |
|
|
| 13440 |
|
|
| 13441 |
|
# Check whether --enable-debugging was given. |
| 13442 |
< |
if test "${enable_debugging+set}" = set; then |
| 13442 |
> |
if test "${enable_debugging+set}" = set; then : |
| 13443 |
|
enableval=$enable_debugging; debugging="$enableval" |
| 13444 |
|
else |
| 13445 |
|
debugging="no" |
| 13447 |
|
|
| 13448 |
|
if test "$debugging" = "yes" ; then |
| 13449 |
|
|
| 13450 |
< |
cat >>confdefs.h <<\_ACEOF |
| 17793 |
< |
#define DEBUG 1 |
| 17794 |
< |
_ACEOF |
| 13450 |
> |
$as_echo "#define DEBUG 1" >>confdefs.h |
| 13451 |
|
|
| 13452 |
|
CFLAGS="$CFLAGS -Wall -Werror -g -O0" |
| 13453 |
|
else |
| 13454 |
|
|
| 13455 |
< |
cat >>confdefs.h <<\_ACEOF |
| 17800 |
< |
#define NDEBUG 1 |
| 17801 |
< |
_ACEOF |
| 13455 |
> |
$as_echo "#define NDEBUG 1" >>confdefs.h |
| 13456 |
|
|
| 13457 |
|
fi |
| 13458 |
|
|
| 13459 |
|
|
| 13460 |
|
# Check whether --enable-warnings was given. |
| 13461 |
< |
if test "${enable_warnings+set}" = set; then |
| 13461 |
> |
if test "${enable_warnings+set}" = set; then : |
| 13462 |
|
enableval=$enable_warnings; warnings="$enableval" |
| 13463 |
|
else |
| 13464 |
|
warnings="no" |
| 13465 |
|
fi |
| 13466 |
|
|
| 13467 |
|
if test "$warnings" = "yes" ; then |
| 13468 |
< |
CFLAGS="-Wall -Wextra -Wcast-qual -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wredundant-decls -Wshadow -Wwrite-strings -Wno-unused" |
| 13468 |
> |
CFLAGS="-Wall -Wextra -Wno-unused -Wcast-qual -Wcast-align -Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wredundant-decls -Wshadow -Wwrite-strings -Wundef" |
| 13469 |
|
fi |
| 13470 |
|
|
| 13471 |
|
|
| 13472 |
< |
|
| 13473 |
< |
|
| 13474 |
< |
for ac_header in syslog.h sys/syslog.h |
| 13475 |
< |
do |
| 13476 |
< |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 13477 |
< |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 17824 |
< |
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 17825 |
< |
$as_echo_n "checking for $ac_header... " >&6; } |
| 17826 |
< |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 17827 |
< |
$as_echo_n "(cached) " >&6 |
| 17828 |
< |
fi |
| 17829 |
< |
ac_res=`eval 'as_val=${'$as_ac_Header'} |
| 17830 |
< |
$as_echo "$as_val"'` |
| 17831 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 17832 |
< |
$as_echo "$ac_res" >&6; } |
| 17833 |
< |
else |
| 17834 |
< |
# Is the header compilable? |
| 17835 |
< |
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 17836 |
< |
$as_echo_n "checking $ac_header usability... " >&6; } |
| 17837 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 17838 |
< |
/* confdefs.h. */ |
| 17839 |
< |
_ACEOF |
| 17840 |
< |
cat confdefs.h >>conftest.$ac_ext |
| 17841 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
| 17842 |
< |
/* end confdefs.h. */ |
| 17843 |
< |
$ac_includes_default |
| 17844 |
< |
#include <$ac_header> |
| 17845 |
< |
_ACEOF |
| 17846 |
< |
rm -f conftest.$ac_objext |
| 17847 |
< |
if { (ac_try="$ac_compile" |
| 17848 |
< |
case "(($ac_try" in |
| 17849 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 17850 |
< |
*) ac_try_echo=$ac_try;; |
| 17851 |
< |
esac |
| 17852 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 17853 |
< |
$as_echo "$ac_try_echo") >&5 |
| 17854 |
< |
(eval "$ac_compile") 2>conftest.er1 |
| 17855 |
< |
ac_status=$? |
| 17856 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
| 17857 |
< |
rm -f conftest.er1 |
| 17858 |
< |
cat conftest.err >&5 |
| 17859 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 17860 |
< |
(exit $ac_status); } && { |
| 17861 |
< |
test -z "$ac_c_werror_flag" || |
| 17862 |
< |
test ! -s conftest.err |
| 17863 |
< |
} && test -s conftest.$ac_objext; then |
| 17864 |
< |
ac_header_compiler=yes |
| 17865 |
< |
else |
| 17866 |
< |
$as_echo "$as_me: failed program was:" >&5 |
| 17867 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 17868 |
< |
|
| 17869 |
< |
ac_header_compiler=no |
| 17870 |
< |
fi |
| 17871 |
< |
|
| 17872 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 17873 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 17874 |
< |
$as_echo "$ac_header_compiler" >&6; } |
| 17875 |
< |
|
| 17876 |
< |
# Is the header present? |
| 17877 |
< |
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 17878 |
< |
$as_echo_n "checking $ac_header presence... " >&6; } |
| 17879 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 17880 |
< |
/* confdefs.h. */ |
| 17881 |
< |
_ACEOF |
| 17882 |
< |
cat confdefs.h >>conftest.$ac_ext |
| 17883 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
| 17884 |
< |
/* end confdefs.h. */ |
| 17885 |
< |
#include <$ac_header> |
| 17886 |
< |
_ACEOF |
| 17887 |
< |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 17888 |
< |
case "(($ac_try" in |
| 17889 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 17890 |
< |
*) ac_try_echo=$ac_try;; |
| 17891 |
< |
esac |
| 17892 |
< |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 17893 |
< |
$as_echo "$ac_try_echo") >&5 |
| 17894 |
< |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
| 17895 |
< |
ac_status=$? |
| 17896 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
| 17897 |
< |
rm -f conftest.er1 |
| 17898 |
< |
cat conftest.err >&5 |
| 17899 |
< |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 17900 |
< |
(exit $ac_status); } >/dev/null && { |
| 17901 |
< |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 17902 |
< |
test ! -s conftest.err |
| 17903 |
< |
}; then |
| 17904 |
< |
ac_header_preproc=yes |
| 17905 |
< |
else |
| 17906 |
< |
$as_echo "$as_me: failed program was:" >&5 |
| 17907 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 17908 |
< |
|
| 17909 |
< |
ac_header_preproc=no |
| 17910 |
< |
fi |
| 17911 |
< |
|
| 17912 |
< |
rm -f conftest.err conftest.$ac_ext |
| 17913 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 17914 |
< |
$as_echo "$ac_header_preproc" >&6; } |
| 17915 |
< |
|
| 17916 |
< |
# So? What about this header? |
| 17917 |
< |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| 17918 |
< |
yes:no: ) |
| 17919 |
< |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
| 17920 |
< |
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
| 17921 |
< |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
| 17922 |
< |
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
| 17923 |
< |
ac_header_preproc=yes |
| 17924 |
< |
;; |
| 17925 |
< |
no:yes:* ) |
| 17926 |
< |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
| 17927 |
< |
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
| 17928 |
< |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
| 17929 |
< |
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
| 17930 |
< |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
| 17931 |
< |
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
| 17932 |
< |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
| 17933 |
< |
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
| 17934 |
< |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
| 17935 |
< |
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
| 17936 |
< |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
| 17937 |
< |
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
| 17938 |
< |
|
| 17939 |
< |
;; |
| 17940 |
< |
esac |
| 17941 |
< |
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 17942 |
< |
$as_echo_n "checking for $ac_header... " >&6; } |
| 17943 |
< |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 17944 |
< |
$as_echo_n "(cached) " >&6 |
| 17945 |
< |
else |
| 17946 |
< |
eval "$as_ac_Header=\$ac_header_preproc" |
| 17947 |
< |
fi |
| 17948 |
< |
ac_res=`eval 'as_val=${'$as_ac_Header'} |
| 17949 |
< |
$as_echo "$as_val"'` |
| 17950 |
< |
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 17951 |
< |
$as_echo "$ac_res" >&6; } |
| 17952 |
< |
|
| 17953 |
< |
fi |
| 17954 |
< |
as_val=`eval 'as_val=${'$as_ac_Header'} |
| 17955 |
< |
$as_echo "$as_val"'` |
| 17956 |
< |
if test "x$as_val" = x""yes; then |
| 13472 |
> |
for ac_header in syslog.h sys/syslog.h |
| 13473 |
> |
do : |
| 13474 |
> |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 13475 |
> |
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
| 13476 |
> |
eval as_val=\$$as_ac_Header |
| 13477 |
> |
if test "x$as_val" = x""yes; then : |
| 13478 |
|
cat >>confdefs.h <<_ACEOF |
| 13479 |
|
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 13480 |
|
_ACEOF |
| 13484 |
|
done |
| 13485 |
|
|
| 13486 |
|
# Check whether --enable-syslog was given. |
| 13487 |
< |
if test "${enable_syslog+set}" = set; then |
| 13487 |
> |
if test "${enable_syslog+set}" = set; then : |
| 13488 |
|
enableval=$enable_syslog; syslog="$enableval" |
| 13489 |
|
else |
| 13490 |
|
syslog="no" |
| 13494 |
|
for option in $enableval ; do |
| 13495 |
|
case "$option" in |
| 13496 |
|
users) |
| 13497 |
< |
cat >>confdefs.h <<\_ACEOF |
| 17977 |
< |
#define SYSLOG_USERS 1 |
| 17978 |
< |
_ACEOF |
| 13497 |
> |
$as_echo "#define SYSLOG_USERS 1" >>confdefs.h |
| 13498 |
|
;; |
| 13499 |
|
oper) |
| 13500 |
< |
cat >>confdefs.h <<\_ACEOF |
| 17982 |
< |
#define SYSLOG_OPER 1 |
| 17983 |
< |
_ACEOF |
| 13500 |
> |
$as_echo "#define SYSLOG_OPER 1" >>confdefs.h |
| 13501 |
|
;; |
| 13502 |
|
yes) : ;; |
| 13503 |
< |
*) { { $as_echo "$as_me:$LINENO: error: invalid value for --enable-syslog: $option" >&5 |
| 17987 |
< |
$as_echo "$as_me: error: invalid value for --enable-syslog: $option" >&2;} |
| 17988 |
< |
{ (exit 1); exit 1; }; } ;; |
| 13503 |
> |
*) as_fn_error "invalid value for --enable-syslog: $option" "$LINENO" 5 ;; |
| 13504 |
|
esac |
| 13505 |
|
done |
| 13506 |
|
|
| 13507 |
< |
cat >>confdefs.h <<\_ACEOF |
| 17993 |
< |
#define USE_SYSLOG 1 |
| 17994 |
< |
_ACEOF |
| 13507 |
> |
$as_echo "#define USE_SYSLOG 1" >>confdefs.h |
| 13508 |
|
|
| 13509 |
|
fi |
| 13510 |
|
|
| 13595 |
|
test "$exec_prefix_NONE" && exec_prefix=NONE |
| 13596 |
|
|
| 13597 |
|
|
| 13598 |
< |
ac_config_files="$ac_config_files Makefile etc/Makefile etc/example.conf etc/example.conf.quick etc/example.efnet.conf servlink/Makefile contrib/Makefile contrib/help/Makefile src/Makefile messages/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile help/opers/Makefile help/users/Makefile lib/Makefile lib/pcre/Makefile tools/Makefile" |
| 13598 |
> |
ac_config_files="$ac_config_files Makefile etc/Makefile etc/example.conf etc/example.conf.quick etc/example.efnet.conf servlink/Makefile contrib/Makefile contrib/help/Makefile src/Makefile messages/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile help/opers/Makefile help/users/Makefile tools/Makefile" |
| 13599 |
|
|
| 13600 |
|
|
| 13601 |
|
cat >confcache <<\_ACEOF |
| 13625 |
|
case $ac_val in #( |
| 13626 |
|
*${as_nl}*) |
| 13627 |
|
case $ac_var in #( |
| 13628 |
< |
*_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 |
| 13628 |
> |
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
| 13629 |
|
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
| 13630 |
|
esac |
| 13631 |
|
case $ac_var in #( |
| 13632 |
|
_ | IFS | as_nl) ;; #( |
| 13633 |
|
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
| 13634 |
< |
*) $as_unset $ac_var ;; |
| 13634 |
> |
*) { eval $ac_var=; unset $ac_var;} ;; |
| 13635 |
|
esac ;; |
| 13636 |
|
esac |
| 13637 |
|
done |
| 13639 |
|
(set) 2>&1 | |
| 13640 |
|
case $as_nl`(ac_space=' '; set) 2>&1` in #( |
| 13641 |
|
*${as_nl}ac_space=\ *) |
| 13642 |
< |
# `set' does not quote correctly, so add quotes (double-quote |
| 13643 |
< |
# substitution turns \\\\ into \\, and sed turns \\ into \). |
| 13642 |
> |
# `set' does not quote correctly, so add quotes: double-quote |
| 13643 |
> |
# substitution turns \\\\ into \\, and sed turns \\ into \. |
| 13644 |
|
sed -n \ |
| 13645 |
|
"s/'/'\\\\''/g; |
| 13646 |
|
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
| 13663 |
|
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
| 13664 |
|
if test -w "$cache_file"; then |
| 13665 |
|
test "x$cache_file" != "x/dev/null" && |
| 13666 |
< |
{ $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 |
| 13666 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
| 13667 |
|
$as_echo "$as_me: updating cache $cache_file" >&6;} |
| 13668 |
|
cat confcache >$cache_file |
| 13669 |
|
else |
| 13670 |
< |
{ $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 |
| 13670 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
| 13671 |
|
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
| 13672 |
|
fi |
| 13673 |
|
fi |
| 13687 |
|
ac_i=`$as_echo "$ac_i" | sed "$ac_script"` |
| 13688 |
|
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
| 13689 |
|
# will be set to the directory where LIBOBJS objects are built. |
| 13690 |
< |
ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
| 13691 |
< |
ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' |
| 13690 |
> |
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
| 13691 |
> |
as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' |
| 13692 |
|
done |
| 13693 |
|
LIBOBJS=$ac_libobjs |
| 13694 |
|
|
| 13704 |
|
fi |
| 13705 |
|
|
| 13706 |
|
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then |
| 13707 |
< |
{ { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined. |
| 13708 |
< |
Usually this means the macro was only invoked conditionally." >&5 |
| 18196 |
< |
$as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined. |
| 18197 |
< |
Usually this means the macro was only invoked conditionally." >&2;} |
| 18198 |
< |
{ (exit 1); exit 1; }; } |
| 13707 |
> |
as_fn_error "conditional \"MAINTAINER_MODE\" was never defined. |
| 13708 |
> |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 13709 |
|
fi |
| 13710 |
|
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then |
| 13711 |
< |
{ { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. |
| 13712 |
< |
Usually this means the macro was only invoked conditionally." >&5 |
| 18203 |
< |
$as_echo "$as_me: error: conditional \"AMDEP\" was never defined. |
| 18204 |
< |
Usually this means the macro was only invoked conditionally." >&2;} |
| 18205 |
< |
{ (exit 1); exit 1; }; } |
| 13711 |
> |
as_fn_error "conditional \"AMDEP\" was never defined. |
| 13712 |
> |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 13713 |
|
fi |
| 13714 |
|
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then |
| 13715 |
< |
{ { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. |
| 13716 |
< |
Usually this means the macro was only invoked conditionally." >&5 |
| 18210 |
< |
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. |
| 18211 |
< |
Usually this means the macro was only invoked conditionally." >&2;} |
| 18212 |
< |
{ (exit 1); exit 1; }; } |
| 13715 |
> |
as_fn_error "conditional \"am__fastdepCC\" was never defined. |
| 13716 |
> |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 13717 |
|
fi |
| 13718 |
|
if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then |
| 13719 |
< |
{ { $as_echo "$as_me:$LINENO: error: conditional \"INSTALL_LTDL\" was never defined. |
| 13720 |
< |
Usually this means the macro was only invoked conditionally." >&5 |
| 18217 |
< |
$as_echo "$as_me: error: conditional \"INSTALL_LTDL\" was never defined. |
| 18218 |
< |
Usually this means the macro was only invoked conditionally." >&2;} |
| 18219 |
< |
{ (exit 1); exit 1; }; } |
| 13719 |
> |
as_fn_error "conditional \"INSTALL_LTDL\" was never defined. |
| 13720 |
> |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 13721 |
|
fi |
| 13722 |
|
if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then |
| 13723 |
< |
{ { $as_echo "$as_me:$LINENO: error: conditional \"CONVENIENCE_LTDL\" was never defined. |
| 13724 |
< |
Usually this means the macro was only invoked conditionally." >&5 |
| 18224 |
< |
$as_echo "$as_me: error: conditional \"CONVENIENCE_LTDL\" was never defined. |
| 18225 |
< |
Usually this means the macro was only invoked conditionally." >&2;} |
| 18226 |
< |
{ (exit 1); exit 1; }; } |
| 13723 |
> |
as_fn_error "conditional \"CONVENIENCE_LTDL\" was never defined. |
| 13724 |
> |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 13725 |
|
fi |
| 13726 |
|
LT_CONFIG_H=config.h |
| 13727 |
|
|
| 13741 |
|
|
| 13742 |
|
|
| 13743 |
|
|
| 13744 |
< |
if test -z "${HAVE_CRYPT_TRUE}" && test -z "${HAVE_CRYPT_FALSE}"; then |
| 13745 |
< |
{ { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_CRYPT\" was never defined. |
| 13746 |
< |
Usually this means the macro was only invoked conditionally." >&5 |
| 18249 |
< |
$as_echo "$as_me: error: conditional \"HAVE_CRYPT\" was never defined. |
| 18250 |
< |
Usually this means the macro was only invoked conditionally." >&2;} |
| 18251 |
< |
{ (exit 1); exit 1; }; } |
| 13744 |
> |
if test -z "${ENABLE_PCRE_TRUE}" && test -z "${ENABLE_PCRE_FALSE}"; then |
| 13745 |
> |
as_fn_error "conditional \"ENABLE_PCRE\" was never defined. |
| 13746 |
> |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 13747 |
|
fi |
| 13748 |
|
if test -z "${ENABLE_SSL_TRUE}" && test -z "${ENABLE_SSL_FALSE}"; then |
| 13749 |
< |
{ { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_SSL\" was never defined. |
| 13750 |
< |
Usually this means the macro was only invoked conditionally." >&5 |
| 18256 |
< |
$as_echo "$as_me: error: conditional \"ENABLE_SSL\" was never defined. |
| 18257 |
< |
Usually this means the macro was only invoked conditionally." >&2;} |
| 18258 |
< |
{ (exit 1); exit 1; }; } |
| 13749 |
> |
as_fn_error "conditional \"ENABLE_SSL\" was never defined. |
| 13750 |
> |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 13751 |
|
fi |
| 13752 |
|
if test -z "${EFNET_TRUE}" && test -z "${EFNET_FALSE}"; then |
| 13753 |
< |
{ { $as_echo "$as_me:$LINENO: error: conditional \"EFNET\" was never defined. |
| 13754 |
< |
Usually this means the macro was only invoked conditionally." >&5 |
| 18263 |
< |
$as_echo "$as_me: error: conditional \"EFNET\" was never defined. |
| 18264 |
< |
Usually this means the macro was only invoked conditionally." >&2;} |
| 18265 |
< |
{ (exit 1); exit 1; }; } |
| 13753 |
> |
as_fn_error "conditional \"EFNET\" was never defined. |
| 13754 |
> |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 13755 |
|
fi |
| 13756 |
|
|
| 13757 |
|
: ${CONFIG_STATUS=./config.status} |
| 13758 |
|
ac_write_fail=0 |
| 13759 |
|
ac_clean_files_save=$ac_clean_files |
| 13760 |
|
ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
| 13761 |
< |
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 |
| 13761 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
| 13762 |
|
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
| 13763 |
< |
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 13763 |
> |
as_write_fail=0 |
| 13764 |
> |
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 |
| 13765 |
|
#! $SHELL |
| 13766 |
|
# Generated by $as_me. |
| 13767 |
|
# Run this file to recreate the current configuration. |
| 13771 |
|
debug=false |
| 13772 |
|
ac_cs_recheck=false |
| 13773 |
|
ac_cs_silent=false |
| 18284 |
– |
SHELL=\${CONFIG_SHELL-$SHELL} |
| 18285 |
– |
_ACEOF |
| 13774 |
|
|
| 13775 |
< |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 13776 |
< |
## --------------------- ## |
| 13777 |
< |
## M4sh Initialization. ## |
| 13778 |
< |
## --------------------- ## |
| 13775 |
> |
SHELL=\${CONFIG_SHELL-$SHELL} |
| 13776 |
> |
export SHELL |
| 13777 |
> |
_ASEOF |
| 13778 |
> |
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 |
| 13779 |
> |
## -------------------- ## |
| 13780 |
> |
## M4sh Initialization. ## |
| 13781 |
> |
## -------------------- ## |
| 13782 |
|
|
| 13783 |
|
# Be more Bourne compatible |
| 13784 |
|
DUALCASE=1; export DUALCASE # for MKS sh |
| 13785 |
< |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
| 13785 |
> |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
| 13786 |
|
emulate sh |
| 13787 |
|
NULLCMD=: |
| 13788 |
|
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
| 13790 |
|
alias -g '${1+"$@"}'='"$@"' |
| 13791 |
|
setopt NO_GLOB_SUBST |
| 13792 |
|
else |
| 13793 |
< |
case `(set -o) 2>/dev/null` in |
| 13794 |
< |
*posix*) set -o posix ;; |
| 13793 |
> |
case `(set -o) 2>/dev/null` in #( |
| 13794 |
> |
*posix*) : |
| 13795 |
> |
set -o posix ;; #( |
| 13796 |
> |
*) : |
| 13797 |
> |
;; |
| 13798 |
|
esac |
| 18305 |
– |
|
| 13799 |
|
fi |
| 13800 |
|
|
| 13801 |
|
|
| 18309 |
– |
|
| 18310 |
– |
|
| 18311 |
– |
# PATH needs CR |
| 18312 |
– |
# Avoid depending upon Character Ranges. |
| 18313 |
– |
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
| 18314 |
– |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
| 18315 |
– |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
| 18316 |
– |
as_cr_digits='0123456789' |
| 18317 |
– |
as_cr_alnum=$as_cr_Letters$as_cr_digits |
| 18318 |
– |
|
| 13802 |
|
as_nl=' |
| 13803 |
|
' |
| 13804 |
|
export as_nl |
| 13806 |
|
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
| 13807 |
|
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
| 13808 |
|
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
| 13809 |
< |
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
| 13809 |
> |
# Prefer a ksh shell builtin over an external printf program on Solaris, |
| 13810 |
> |
# but without wasting forks for bash or zsh. |
| 13811 |
> |
if test -z "$BASH_VERSION$ZSH_VERSION" \ |
| 13812 |
> |
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then |
| 13813 |
> |
as_echo='print -r --' |
| 13814 |
> |
as_echo_n='print -rn --' |
| 13815 |
> |
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
| 13816 |
|
as_echo='printf %s\n' |
| 13817 |
|
as_echo_n='printf %s' |
| 13818 |
|
else |
| 13823 |
|
as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
| 13824 |
|
as_echo_n_body='eval |
| 13825 |
|
arg=$1; |
| 13826 |
< |
case $arg in |
| 13826 |
> |
case $arg in #( |
| 13827 |
|
*"$as_nl"*) |
| 13828 |
|
expr "X$arg" : "X\\(.*\\)$as_nl"; |
| 13829 |
|
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
| 13846 |
|
} |
| 13847 |
|
fi |
| 13848 |
|
|
| 18360 |
– |
# Support unset when possible. |
| 18361 |
– |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
| 18362 |
– |
as_unset=unset |
| 18363 |
– |
else |
| 18364 |
– |
as_unset=false |
| 18365 |
– |
fi |
| 18366 |
– |
|
| 13849 |
|
|
| 13850 |
|
# IFS |
| 13851 |
|
# We need space, tab and new line, in precisely that order. Quoting is |
| 13855 |
|
IFS=" "" $as_nl" |
| 13856 |
|
|
| 13857 |
|
# Find who we are. Look in the path if we contain no directory separator. |
| 13858 |
< |
case $0 in |
| 13858 |
> |
case $0 in #(( |
| 13859 |
|
*[\\/]* ) as_myself=$0 ;; |
| 13860 |
|
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 13861 |
|
for as_dir in $PATH |
| 13862 |
|
do |
| 13863 |
|
IFS=$as_save_IFS |
| 13864 |
|
test -z "$as_dir" && as_dir=. |
| 13865 |
< |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
| 13866 |
< |
done |
| 13865 |
> |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
| 13866 |
> |
done |
| 13867 |
|
IFS=$as_save_IFS |
| 13868 |
|
|
| 13869 |
|
;; |
| 13875 |
|
fi |
| 13876 |
|
if test ! -f "$as_myself"; then |
| 13877 |
|
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
| 13878 |
< |
{ (exit 1); exit 1; } |
| 13878 |
> |
exit 1 |
| 13879 |
|
fi |
| 13880 |
|
|
| 13881 |
< |
# Work around bugs in pre-3.0 UWIN ksh. |
| 13882 |
< |
for as_var in ENV MAIL MAILPATH |
| 13883 |
< |
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
| 13881 |
> |
# Unset variables that we do not need and which cause bugs (e.g. in |
| 13882 |
> |
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" |
| 13883 |
> |
# suppresses any "Segmentation fault" message there. '((' could |
| 13884 |
> |
# trigger a bug in pdksh 5.2.14. |
| 13885 |
> |
for as_var in BASH_ENV ENV MAIL MAILPATH |
| 13886 |
> |
do eval test x\${$as_var+set} = xset \ |
| 13887 |
> |
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
| 13888 |
|
done |
| 13889 |
|
PS1='$ ' |
| 13890 |
|
PS2='> ' |
| 13896 |
|
LANGUAGE=C |
| 13897 |
|
export LANGUAGE |
| 13898 |
|
|
| 13899 |
< |
# Required to use basename. |
| 13899 |
> |
# CDPATH. |
| 13900 |
> |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
| 13901 |
> |
|
| 13902 |
> |
|
| 13903 |
> |
# as_fn_error ERROR [LINENO LOG_FD] |
| 13904 |
> |
# --------------------------------- |
| 13905 |
> |
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
| 13906 |
> |
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
| 13907 |
> |
# script with status $?, using 1 if that was 0. |
| 13908 |
> |
as_fn_error () |
| 13909 |
> |
{ |
| 13910 |
> |
as_status=$?; test $as_status -eq 0 && as_status=1 |
| 13911 |
> |
if test "$3"; then |
| 13912 |
> |
as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 13913 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 |
| 13914 |
> |
fi |
| 13915 |
> |
$as_echo "$as_me: error: $1" >&2 |
| 13916 |
> |
as_fn_exit $as_status |
| 13917 |
> |
} # as_fn_error |
| 13918 |
> |
|
| 13919 |
> |
|
| 13920 |
> |
# as_fn_set_status STATUS |
| 13921 |
> |
# ----------------------- |
| 13922 |
> |
# Set $? to STATUS, without forking. |
| 13923 |
> |
as_fn_set_status () |
| 13924 |
> |
{ |
| 13925 |
> |
return $1 |
| 13926 |
> |
} # as_fn_set_status |
| 13927 |
> |
|
| 13928 |
> |
# as_fn_exit STATUS |
| 13929 |
> |
# ----------------- |
| 13930 |
> |
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
| 13931 |
> |
as_fn_exit () |
| 13932 |
> |
{ |
| 13933 |
> |
set +e |
| 13934 |
> |
as_fn_set_status $1 |
| 13935 |
> |
exit $1 |
| 13936 |
> |
} # as_fn_exit |
| 13937 |
> |
|
| 13938 |
> |
# as_fn_unset VAR |
| 13939 |
> |
# --------------- |
| 13940 |
> |
# Portably unset VAR. |
| 13941 |
> |
as_fn_unset () |
| 13942 |
> |
{ |
| 13943 |
> |
{ eval $1=; unset $1;} |
| 13944 |
> |
} |
| 13945 |
> |
as_unset=as_fn_unset |
| 13946 |
> |
# as_fn_append VAR VALUE |
| 13947 |
> |
# ---------------------- |
| 13948 |
> |
# Append the text in VALUE to the end of the definition contained in VAR. Take |
| 13949 |
> |
# advantage of any shell optimizations that allow amortized linear growth over |
| 13950 |
> |
# repeated appends, instead of the typical quadratic growth present in naive |
| 13951 |
> |
# implementations. |
| 13952 |
> |
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : |
| 13953 |
> |
eval 'as_fn_append () |
| 13954 |
> |
{ |
| 13955 |
> |
eval $1+=\$2 |
| 13956 |
> |
}' |
| 13957 |
> |
else |
| 13958 |
> |
as_fn_append () |
| 13959 |
> |
{ |
| 13960 |
> |
eval $1=\$$1\$2 |
| 13961 |
> |
} |
| 13962 |
> |
fi # as_fn_append |
| 13963 |
> |
|
| 13964 |
> |
# as_fn_arith ARG... |
| 13965 |
> |
# ------------------ |
| 13966 |
> |
# Perform arithmetic evaluation on the ARGs, and store the result in the |
| 13967 |
> |
# global $as_val. Take advantage of shells that can avoid forks. The arguments |
| 13968 |
> |
# must be portable across $(()) and expr. |
| 13969 |
> |
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : |
| 13970 |
> |
eval 'as_fn_arith () |
| 13971 |
> |
{ |
| 13972 |
> |
as_val=$(( $* )) |
| 13973 |
> |
}' |
| 13974 |
> |
else |
| 13975 |
> |
as_fn_arith () |
| 13976 |
> |
{ |
| 13977 |
> |
as_val=`expr "$@" || test $? -eq 1` |
| 13978 |
> |
} |
| 13979 |
> |
fi # as_fn_arith |
| 13980 |
> |
|
| 13981 |
> |
|
| 13982 |
|
if expr a : '\(a\)' >/dev/null 2>&1 && |
| 13983 |
|
test "X`expr 00001 : '.*\(...\)'`" = X001; then |
| 13984 |
|
as_expr=expr |
| 13992 |
|
as_basename=false |
| 13993 |
|
fi |
| 13994 |
|
|
| 13995 |
+ |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
| 13996 |
+ |
as_dirname=dirname |
| 13997 |
+ |
else |
| 13998 |
+ |
as_dirname=false |
| 13999 |
+ |
fi |
| 14000 |
|
|
| 18428 |
– |
# Name of the executable. |
| 14001 |
|
as_me=`$as_basename -- "$0" || |
| 14002 |
|
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
| 14003 |
|
X"$0" : 'X\(//\)$' \| \ |
| 14017 |
|
} |
| 14018 |
|
s/.*/./; q'` |
| 14019 |
|
|
| 14020 |
< |
# CDPATH. |
| 14021 |
< |
$as_unset CDPATH |
| 14022 |
< |
|
| 14023 |
< |
|
| 14024 |
< |
|
| 14025 |
< |
as_lineno_1=$LINENO |
| 18454 |
< |
as_lineno_2=$LINENO |
| 18455 |
< |
test "x$as_lineno_1" != "x$as_lineno_2" && |
| 18456 |
< |
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { |
| 18457 |
< |
|
| 18458 |
< |
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
| 18459 |
< |
# uniformly replaced by the line number. The first 'sed' inserts a |
| 18460 |
< |
# line-number line after each line using $LINENO; the second 'sed' |
| 18461 |
< |
# does the real work. The second script uses 'N' to pair each |
| 18462 |
< |
# line-number line with the line containing $LINENO, and appends |
| 18463 |
< |
# trailing '-' during substitution so that $LINENO is not a special |
| 18464 |
< |
# case at line end. |
| 18465 |
< |
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
| 18466 |
< |
# scripts with optimization help from Paolo Bonzini. Blame Lee |
| 18467 |
< |
# E. McMahon (1931-1989) for sed's syntax. :-) |
| 18468 |
< |
sed -n ' |
| 18469 |
< |
p |
| 18470 |
< |
/[$]LINENO/= |
| 18471 |
< |
' <$as_myself | |
| 18472 |
< |
sed ' |
| 18473 |
< |
s/[$]LINENO.*/&-/ |
| 18474 |
< |
t lineno |
| 18475 |
< |
b |
| 18476 |
< |
:lineno |
| 18477 |
< |
N |
| 18478 |
< |
:loop |
| 18479 |
< |
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
| 18480 |
< |
t loop |
| 18481 |
< |
s/-\n.*// |
| 18482 |
< |
' >$as_me.lineno && |
| 18483 |
< |
chmod +x "$as_me.lineno" || |
| 18484 |
< |
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
| 18485 |
< |
{ (exit 1); exit 1; }; } |
| 18486 |
< |
|
| 18487 |
< |
# Don't try to exec as it changes $[0], causing all sort of problems |
| 18488 |
< |
# (the dirname of $[0] is not the place where we might find the |
| 18489 |
< |
# original and so on. Autoconf is especially sensitive to this). |
| 18490 |
< |
. "./$as_me.lineno" |
| 18491 |
< |
# Exit status is that of the last command. |
| 18492 |
< |
exit |
| 18493 |
< |
} |
| 18494 |
< |
|
| 18495 |
< |
|
| 18496 |
< |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
| 18497 |
< |
as_dirname=dirname |
| 18498 |
< |
else |
| 18499 |
< |
as_dirname=false |
| 18500 |
< |
fi |
| 14020 |
> |
# Avoid depending upon Character Ranges. |
| 14021 |
> |
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
| 14022 |
> |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
| 14023 |
> |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
| 14024 |
> |
as_cr_digits='0123456789' |
| 14025 |
> |
as_cr_alnum=$as_cr_Letters$as_cr_digits |
| 14026 |
|
|
| 14027 |
|
ECHO_C= ECHO_N= ECHO_T= |
| 14028 |
< |
case `echo -n x` in |
| 14028 |
> |
case `echo -n x` in #((((( |
| 14029 |
|
-n*) |
| 14030 |
< |
case `echo 'x\c'` in |
| 14030 |
> |
case `echo 'xy\c'` in |
| 14031 |
|
*c*) ECHO_T=' ';; # ECHO_T is single tab character. |
| 14032 |
< |
*) ECHO_C='\c';; |
| 14032 |
> |
xy) ECHO_C='\c';; |
| 14033 |
> |
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
| 14034 |
> |
ECHO_T=' ';; |
| 14035 |
|
esac;; |
| 14036 |
|
*) |
| 14037 |
|
ECHO_N='-n';; |
| 14038 |
|
esac |
| 18512 |
– |
if expr a : '\(a\)' >/dev/null 2>&1 && |
| 18513 |
– |
test "X`expr 00001 : '.*\(...\)'`" = X001; then |
| 18514 |
– |
as_expr=expr |
| 18515 |
– |
else |
| 18516 |
– |
as_expr=false |
| 18517 |
– |
fi |
| 14039 |
|
|
| 14040 |
|
rm -f conf$$ conf$$.exe conf$$.file |
| 14041 |
|
if test -d conf$$.dir; then |
| 14064 |
|
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
| 14065 |
|
rmdir conf$$.dir 2>/dev/null |
| 14066 |
|
|
| 14067 |
+ |
|
| 14068 |
+ |
# as_fn_mkdir_p |
| 14069 |
+ |
# ------------- |
| 14070 |
+ |
# Create "$as_dir" as a directory, including parents if necessary. |
| 14071 |
+ |
as_fn_mkdir_p () |
| 14072 |
+ |
{ |
| 14073 |
+ |
|
| 14074 |
+ |
case $as_dir in #( |
| 14075 |
+ |
-*) as_dir=./$as_dir;; |
| 14076 |
+ |
esac |
| 14077 |
+ |
test -d "$as_dir" || eval $as_mkdir_p || { |
| 14078 |
+ |
as_dirs= |
| 14079 |
+ |
while :; do |
| 14080 |
+ |
case $as_dir in #( |
| 14081 |
+ |
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
| 14082 |
+ |
*) as_qdir=$as_dir;; |
| 14083 |
+ |
esac |
| 14084 |
+ |
as_dirs="'$as_qdir' $as_dirs" |
| 14085 |
+ |
as_dir=`$as_dirname -- "$as_dir" || |
| 14086 |
+ |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 14087 |
+ |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
| 14088 |
+ |
X"$as_dir" : 'X\(//\)$' \| \ |
| 14089 |
+ |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
| 14090 |
+ |
$as_echo X"$as_dir" | |
| 14091 |
+ |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 14092 |
+ |
s//\1/ |
| 14093 |
+ |
q |
| 14094 |
+ |
} |
| 14095 |
+ |
/^X\(\/\/\)[^/].*/{ |
| 14096 |
+ |
s//\1/ |
| 14097 |
+ |
q |
| 14098 |
+ |
} |
| 14099 |
+ |
/^X\(\/\/\)$/{ |
| 14100 |
+ |
s//\1/ |
| 14101 |
+ |
q |
| 14102 |
+ |
} |
| 14103 |
+ |
/^X\(\/\).*/{ |
| 14104 |
+ |
s//\1/ |
| 14105 |
+ |
q |
| 14106 |
+ |
} |
| 14107 |
+ |
s/.*/./; q'` |
| 14108 |
+ |
test -d "$as_dir" && break |
| 14109 |
+ |
done |
| 14110 |
+ |
test -z "$as_dirs" || eval "mkdir $as_dirs" |
| 14111 |
+ |
} || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" |
| 14112 |
+ |
|
| 14113 |
+ |
|
| 14114 |
+ |
} # as_fn_mkdir_p |
| 14115 |
|
if mkdir -p . 2>/dev/null; then |
| 14116 |
< |
as_mkdir_p=: |
| 14116 |
> |
as_mkdir_p='mkdir -p "$as_dir"' |
| 14117 |
|
else |
| 14118 |
|
test -d ./-p && rmdir ./-p |
| 14119 |
|
as_mkdir_p=false |
| 14132 |
|
if test -d "$1"; then |
| 14133 |
|
test -d "$1/."; |
| 14134 |
|
else |
| 14135 |
< |
case $1 in |
| 14135 |
> |
case $1 in #( |
| 14136 |
|
-*)set "./$1";; |
| 14137 |
|
esac; |
| 14138 |
< |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in |
| 14138 |
> |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( |
| 14139 |
|
???[sx]*):;;*)false;;esac;fi |
| 14140 |
|
'\'' sh |
| 14141 |
|
' |
| 14150 |
|
|
| 14151 |
|
|
| 14152 |
|
exec 6>&1 |
| 14153 |
+ |
## ----------------------------------- ## |
| 14154 |
+ |
## Main body of $CONFIG_STATUS script. ## |
| 14155 |
+ |
## ----------------------------------- ## |
| 14156 |
+ |
_ASEOF |
| 14157 |
+ |
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 |
| 14158 |
|
|
| 14159 |
< |
# Save the log message, to keep $[0] and so on meaningful, and to |
| 14159 |
> |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 14160 |
> |
# Save the log message, to keep $0 and so on meaningful, and to |
| 14161 |
|
# report actual input values of CONFIG_FILES etc. instead of their |
| 14162 |
|
# values after options handling. |
| 14163 |
|
ac_log=" |
| 14164 |
|
This file was extended by ircd-hybrid $as_me 7.2.4, which was |
| 14165 |
< |
generated by GNU Autoconf 2.63. Invocation command line was |
| 14165 |
> |
generated by GNU Autoconf 2.64. Invocation command line was |
| 14166 |
|
|
| 14167 |
|
CONFIG_FILES = $CONFIG_FILES |
| 14168 |
|
CONFIG_HEADERS = $CONFIG_HEADERS |
| 14186 |
|
|
| 14187 |
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 14188 |
|
# Files that config.status was made for. |
| 14189 |
< |
config_files="`echo $ac_config_files`" |
| 14190 |
< |
config_headers="`echo $ac_config_headers`" |
| 14191 |
< |
config_commands="`echo $ac_config_commands`" |
| 14189 |
> |
config_files="$ac_config_files" |
| 14190 |
> |
config_headers="$ac_config_headers" |
| 14191 |
> |
config_commands="$ac_config_commands" |
| 14192 |
|
|
| 14193 |
|
_ACEOF |
| 14194 |
|
|
| 14195 |
|
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 14196 |
|
ac_cs_usage="\ |
| 14197 |
< |
\`$as_me' instantiates files from templates according to the |
| 14198 |
< |
current configuration. |
| 14197 |
> |
\`$as_me' instantiates files and other configuration actions |
| 14198 |
> |
from templates according to the current configuration. Unless the files |
| 14199 |
> |
and actions are specified as TAGs, all are instantiated by default. |
| 14200 |
|
|
| 14201 |
< |
Usage: $0 [OPTION]... [FILE]... |
| 14201 |
> |
Usage: $0 [OPTION]... [TAG]... |
| 14202 |
|
|
| 14203 |
|
-h, --help print this help, then exit |
| 14204 |
|
-V, --version print version number and configuration settings, then exit |
| 14220 |
|
Configuration commands: |
| 14221 |
|
$config_commands |
| 14222 |
|
|
| 14223 |
< |
Report bugs to <bug-autoconf@gnu.org>." |
| 14223 |
> |
Report bugs to the package provider." |
| 14224 |
|
|
| 14225 |
|
_ACEOF |
| 14226 |
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 14227 |
|
ac_cs_version="\\ |
| 14228 |
|
ircd-hybrid config.status 7.2.4 |
| 14229 |
< |
configured by $0, generated by GNU Autoconf 2.63, |
| 14229 |
> |
configured by $0, generated by GNU Autoconf 2.64, |
| 14230 |
|
with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" |
| 14231 |
|
|
| 14232 |
< |
Copyright (C) 2008 Free Software Foundation, Inc. |
| 14232 |
> |
Copyright (C) 2009 Free Software Foundation, Inc. |
| 14233 |
|
This config.status script is free software; the Free Software Foundation |
| 14234 |
|
gives unlimited permission to copy, distribute and modify it." |
| 14235 |
|
|
| 14272 |
|
case $ac_optarg in |
| 14273 |
|
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 14274 |
|
esac |
| 14275 |
< |
CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" |
| 14275 |
> |
as_fn_append CONFIG_FILES " '$ac_optarg'" |
| 14276 |
|
ac_need_defaults=false;; |
| 14277 |
|
--header | --heade | --head | --hea ) |
| 14278 |
|
$ac_shift |
| 14279 |
|
case $ac_optarg in |
| 14280 |
|
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 14281 |
|
esac |
| 14282 |
< |
CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'" |
| 14282 |
> |
as_fn_append CONFIG_HEADERS " '$ac_optarg'" |
| 14283 |
|
ac_need_defaults=false;; |
| 14284 |
|
--he | --h) |
| 14285 |
|
# Conflict between --help and --header |
| 14286 |
< |
{ $as_echo "$as_me: error: ambiguous option: $1 |
| 14287 |
< |
Try \`$0 --help' for more information." >&2 |
| 18712 |
< |
{ (exit 1); exit 1; }; };; |
| 14286 |
> |
as_fn_error "ambiguous option: \`$1' |
| 14287 |
> |
Try \`$0 --help' for more information.";; |
| 14288 |
|
--help | --hel | -h ) |
| 14289 |
|
$as_echo "$ac_cs_usage"; exit ;; |
| 14290 |
|
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
| 14292 |
|
ac_cs_silent=: ;; |
| 14293 |
|
|
| 14294 |
|
# This is an error. |
| 14295 |
< |
-*) { $as_echo "$as_me: error: unrecognized option: $1 |
| 14296 |
< |
Try \`$0 --help' for more information." >&2 |
| 18722 |
< |
{ (exit 1); exit 1; }; } ;; |
| 14295 |
> |
-*) as_fn_error "unrecognized option: \`$1' |
| 14296 |
> |
Try \`$0 --help' for more information." ;; |
| 14297 |
|
|
| 14298 |
< |
*) ac_config_targets="$ac_config_targets $1" |
| 14298 |
> |
*) as_fn_append ac_config_targets " $1" |
| 14299 |
|
ac_need_defaults=false ;; |
| 14300 |
|
|
| 14301 |
|
esac |
| 14348 |
|
delay_variable_subst='$delay_variable_subst' |
| 14349 |
|
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`' |
| 14350 |
|
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`' |
| 18777 |
– |
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`' |
| 14351 |
|
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`' |
| 14352 |
+ |
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`' |
| 14353 |
|
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`' |
| 14354 |
|
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`' |
| 14355 |
|
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`' |
| 14620 |
|
"help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;; |
| 14621 |
|
"help/opers/Makefile") CONFIG_FILES="$CONFIG_FILES help/opers/Makefile" ;; |
| 14622 |
|
"help/users/Makefile") CONFIG_FILES="$CONFIG_FILES help/users/Makefile" ;; |
| 19049 |
– |
"lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;; |
| 19050 |
– |
"lib/pcre/Makefile") CONFIG_FILES="$CONFIG_FILES lib/pcre/Makefile" ;; |
| 14623 |
|
"tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;; |
| 14624 |
|
|
| 14625 |
< |
*) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
| 19054 |
< |
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
| 19055 |
< |
{ (exit 1); exit 1; }; };; |
| 14625 |
> |
*) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
| 14626 |
|
esac |
| 14627 |
|
done |
| 14628 |
|
|
| 14649 |
|
trap 'exit_status=$? |
| 14650 |
|
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status |
| 14651 |
|
' 0 |
| 14652 |
< |
trap '{ (exit 1); exit 1; }' 1 2 13 15 |
| 14652 |
> |
trap 'as_fn_exit 1' 1 2 13 15 |
| 14653 |
|
} |
| 14654 |
|
# Create a (secure) tmp directory for tmp files. |
| 14655 |
|
|
| 14660 |
|
{ |
| 14661 |
|
tmp=./conf$$-$RANDOM |
| 14662 |
|
(umask 077 && mkdir "$tmp") |
| 14663 |
< |
} || |
| 19094 |
< |
{ |
| 19095 |
< |
$as_echo "$as_me: cannot create a temporary directory in ." >&2 |
| 19096 |
< |
{ (exit 1); exit 1; } |
| 19097 |
< |
} |
| 14663 |
> |
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 |
| 14664 |
|
|
| 14665 |
|
# Set up the scripts for CONFIG_FILES section. |
| 14666 |
|
# No need to generate them if there are no CONFIG_FILES. |
| 14668 |
|
if test -n "$CONFIG_FILES"; then |
| 14669 |
|
|
| 14670 |
|
|
| 19105 |
– |
ac_cr=' |
| 14671 |
|
|
| 14672 |
+ |
ac_cr=`echo X | tr X '\015'` |
| 14673 |
+ |
# On cygwin, bash can eat \r inside `` if the user requested igncr. |
| 14674 |
+ |
# But we know of no other shell where ac_cr would be empty at this |
| 14675 |
+ |
# point, so we can use a bashism as a fallback. |
| 14676 |
+ |
if test "x$ac_cr" = x; then |
| 14677 |
+ |
eval ac_cr=\$\'\\r\' |
| 14678 |
+ |
fi |
| 14679 |
|
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
| 14680 |
|
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
| 14681 |
< |
ac_cs_awk_cr='\\r' |
| 14681 |
> |
ac_cs_awk_cr='\r' |
| 14682 |
|
else |
| 14683 |
|
ac_cs_awk_cr=$ac_cr |
| 14684 |
|
fi |
| 14691 |
|
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
| 14692 |
|
echo "_ACEOF" |
| 14693 |
|
} >conf$$subs.sh || |
| 14694 |
< |
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
| 19123 |
< |
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
| 19124 |
< |
{ (exit 1); exit 1; }; } |
| 14694 |
> |
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 |
| 14695 |
|
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` |
| 14696 |
|
ac_delim='%!_!# ' |
| 14697 |
|
for ac_last_try in false false false false false :; do |
| 14698 |
|
. ./conf$$subs.sh || |
| 14699 |
< |
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
| 19130 |
< |
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
| 19131 |
< |
{ (exit 1); exit 1; }; } |
| 14699 |
> |
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 |
| 14700 |
|
|
| 14701 |
|
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` |
| 14702 |
|
if test $ac_delim_n = $ac_delim_num; then |
| 14703 |
|
break |
| 14704 |
|
elif $ac_last_try; then |
| 14705 |
< |
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
| 19138 |
< |
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
| 19139 |
< |
{ (exit 1); exit 1; }; } |
| 14705 |
> |
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 |
| 14706 |
|
else |
| 14707 |
|
ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
| 14708 |
|
fi |
| 14791 |
|
else |
| 14792 |
|
cat |
| 14793 |
|
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ |
| 14794 |
< |
|| { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 |
| 19229 |
< |
$as_echo "$as_me: error: could not setup config files machinery" >&2;} |
| 19230 |
< |
{ (exit 1); exit 1; }; } |
| 14794 |
> |
|| as_fn_error "could not setup config files machinery" "$LINENO" 5 |
| 14795 |
|
_ACEOF |
| 14796 |
|
|
| 14797 |
|
# VPATH may cause trouble with some makes, so we remove $(srcdir), |
| 14832 |
|
if test -z "$ac_t"; then |
| 14833 |
|
break |
| 14834 |
|
elif $ac_last_try; then |
| 14835 |
< |
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5 |
| 19272 |
< |
$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;} |
| 19273 |
< |
{ (exit 1); exit 1; }; } |
| 14835 |
> |
as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 |
| 14836 |
|
else |
| 14837 |
|
ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
| 14838 |
|
fi |
| 14917 |
|
_ACAWK |
| 14918 |
|
_ACEOF |
| 14919 |
|
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 14920 |
< |
{ { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5 |
| 19359 |
< |
$as_echo "$as_me: error: could not setup config headers machinery" >&2;} |
| 19360 |
< |
{ (exit 1); exit 1; }; } |
| 14920 |
> |
as_fn_error "could not setup config headers machinery" "$LINENO" 5 |
| 14921 |
|
fi # test -n "$CONFIG_HEADERS" |
| 14922 |
|
|
| 14923 |
|
|
| 14930 |
|
esac |
| 14931 |
|
case $ac_mode$ac_tag in |
| 14932 |
|
:[FHL]*:*);; |
| 14933 |
< |
:L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5 |
| 19374 |
< |
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;} |
| 19375 |
< |
{ (exit 1); exit 1; }; };; |
| 14933 |
> |
:L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; |
| 14934 |
|
:[FH]-) ac_tag=-:-;; |
| 14935 |
|
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
| 14936 |
|
esac |
| 14958 |
|
[\\/$]*) false;; |
| 14959 |
|
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
| 14960 |
|
esac || |
| 14961 |
< |
{ { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 |
| 19404 |
< |
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} |
| 19405 |
< |
{ (exit 1); exit 1; }; };; |
| 14961 |
> |
as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; |
| 14962 |
|
esac |
| 14963 |
|
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
| 14964 |
< |
ac_file_inputs="$ac_file_inputs '$ac_f'" |
| 14964 |
> |
as_fn_append ac_file_inputs " '$ac_f'" |
| 14965 |
|
done |
| 14966 |
|
|
| 14967 |
|
# Let's still pretend it is `configure' which instantiates (i.e., don't |
| 14972 |
|
`' by configure.' |
| 14973 |
|
if test x"$ac_file" != x-; then |
| 14974 |
|
configure_input="$ac_file. $configure_input" |
| 14975 |
< |
{ $as_echo "$as_me:$LINENO: creating $ac_file" >&5 |
| 14975 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 |
| 14976 |
|
$as_echo "$as_me: creating $ac_file" >&6;} |
| 14977 |
|
fi |
| 14978 |
|
# Neutralize special characters interpreted by sed in replacement strings. |
| 14985 |
|
|
| 14986 |
|
case $ac_tag in |
| 14987 |
|
*:-:* | *:-) cat >"$tmp/stdin" \ |
| 14988 |
< |
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 |
| 19433 |
< |
$as_echo "$as_me: error: could not create $ac_file" >&2;} |
| 19434 |
< |
{ (exit 1); exit 1; }; } ;; |
| 14988 |
> |
|| as_fn_error "could not create $ac_file" "$LINENO" 5 ;; |
| 14989 |
|
esac |
| 14990 |
|
;; |
| 14991 |
|
esac |
| 15013 |
|
q |
| 15014 |
|
} |
| 15015 |
|
s/.*/./; q'` |
| 15016 |
< |
{ as_dir="$ac_dir" |
| 19463 |
< |
case $as_dir in #( |
| 19464 |
< |
-*) as_dir=./$as_dir;; |
| 19465 |
< |
esac |
| 19466 |
< |
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { |
| 19467 |
< |
as_dirs= |
| 19468 |
< |
while :; do |
| 19469 |
< |
case $as_dir in #( |
| 19470 |
< |
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
| 19471 |
< |
*) as_qdir=$as_dir;; |
| 19472 |
< |
esac |
| 19473 |
< |
as_dirs="'$as_qdir' $as_dirs" |
| 19474 |
< |
as_dir=`$as_dirname -- "$as_dir" || |
| 19475 |
< |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 19476 |
< |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
| 19477 |
< |
X"$as_dir" : 'X\(//\)$' \| \ |
| 19478 |
< |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
| 19479 |
< |
$as_echo X"$as_dir" | |
| 19480 |
< |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 19481 |
< |
s//\1/ |
| 19482 |
< |
q |
| 19483 |
< |
} |
| 19484 |
< |
/^X\(\/\/\)[^/].*/{ |
| 19485 |
< |
s//\1/ |
| 19486 |
< |
q |
| 19487 |
< |
} |
| 19488 |
< |
/^X\(\/\/\)$/{ |
| 19489 |
< |
s//\1/ |
| 19490 |
< |
q |
| 19491 |
< |
} |
| 19492 |
< |
/^X\(\/\).*/{ |
| 19493 |
< |
s//\1/ |
| 19494 |
< |
q |
| 19495 |
< |
} |
| 19496 |
< |
s/.*/./; q'` |
| 19497 |
< |
test -d "$as_dir" && break |
| 19498 |
< |
done |
| 19499 |
< |
test -z "$as_dirs" || eval "mkdir $as_dirs" |
| 19500 |
< |
} || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 |
| 19501 |
< |
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;} |
| 19502 |
< |
{ (exit 1); exit 1; }; }; } |
| 15016 |
> |
as_dir="$ac_dir"; as_fn_mkdir_p |
| 15017 |
|
ac_builddir=. |
| 15018 |
|
|
| 15019 |
|
case "$ac_dir" in |
| 15070 |
|
# If the template does not know about datarootdir, expand it. |
| 15071 |
|
# FIXME: This hack should be removed a few years after 2.60. |
| 15072 |
|
ac_datarootdir_hack=; ac_datarootdir_seen= |
| 19559 |
– |
|
| 15073 |
|
ac_sed_dataroot=' |
| 15074 |
|
/datarootdir/ { |
| 15075 |
|
p |
| 15079 |
|
/@docdir@/p |
| 15080 |
|
/@infodir@/p |
| 15081 |
|
/@localedir@/p |
| 15082 |
< |
/@mandir@/p |
| 19570 |
< |
' |
| 15082 |
> |
/@mandir@/p' |
| 15083 |
|
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in |
| 15084 |
|
*datarootdir*) ac_datarootdir_seen=yes;; |
| 15085 |
|
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
| 15086 |
< |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
| 15086 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
| 15087 |
|
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
| 15088 |
|
_ACEOF |
| 15089 |
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 15093 |
|
s&@infodir@&$infodir&g |
| 15094 |
|
s&@localedir@&$localedir&g |
| 15095 |
|
s&@mandir@&$mandir&g |
| 15096 |
< |
s&\\\${datarootdir}&$datarootdir&g' ;; |
| 15096 |
> |
s&\\\${datarootdir}&$datarootdir&g' ;; |
| 15097 |
|
esac |
| 15098 |
|
_ACEOF |
| 15099 |
|
|
| 15122 |
|
$ac_datarootdir_hack |
| 15123 |
|
" |
| 15124 |
|
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ |
| 15125 |
< |
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 |
| 19614 |
< |
$as_echo "$as_me: error: could not create $ac_file" >&2;} |
| 19615 |
< |
{ (exit 1); exit 1; }; } |
| 15125 |
> |
|| as_fn_error "could not create $ac_file" "$LINENO" 5 |
| 15126 |
|
|
| 15127 |
|
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
| 15128 |
|
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && |
| 15129 |
|
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && |
| 15130 |
< |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
| 15130 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
| 15131 |
|
which seems to be undefined. Please make sure it is defined." >&5 |
| 15132 |
|
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
| 15133 |
|
which seems to be undefined. Please make sure it is defined." >&2;} |
| 15137 |
|
-) cat "$tmp/out" && rm -f "$tmp/out";; |
| 15138 |
|
*) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; |
| 15139 |
|
esac \ |
| 15140 |
< |
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 |
| 19631 |
< |
$as_echo "$as_me: error: could not create $ac_file" >&2;} |
| 19632 |
< |
{ (exit 1); exit 1; }; } |
| 15140 |
> |
|| as_fn_error "could not create $ac_file" "$LINENO" 5 |
| 15141 |
|
;; |
| 15142 |
|
:H) |
| 15143 |
|
# |
| 15148 |
|
$as_echo "/* $configure_input */" \ |
| 15149 |
|
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" |
| 15150 |
|
} >"$tmp/config.h" \ |
| 15151 |
< |
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 |
| 19644 |
< |
$as_echo "$as_me: error: could not create $ac_file" >&2;} |
| 19645 |
< |
{ (exit 1); exit 1; }; } |
| 15151 |
> |
|| as_fn_error "could not create $ac_file" "$LINENO" 5 |
| 15152 |
|
if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then |
| 15153 |
< |
{ $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5 |
| 15153 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 |
| 15154 |
|
$as_echo "$as_me: $ac_file is unchanged" >&6;} |
| 15155 |
|
else |
| 15156 |
|
rm -f "$ac_file" |
| 15157 |
|
mv "$tmp/config.h" "$ac_file" \ |
| 15158 |
< |
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 |
| 19653 |
< |
$as_echo "$as_me: error: could not create $ac_file" >&2;} |
| 19654 |
< |
{ (exit 1); exit 1; }; } |
| 15158 |
> |
|| as_fn_error "could not create $ac_file" "$LINENO" 5 |
| 15159 |
|
fi |
| 15160 |
|
else |
| 15161 |
|
$as_echo "/* $configure_input */" \ |
| 15162 |
|
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ |
| 15163 |
< |
|| { { $as_echo "$as_me:$LINENO: error: could not create -" >&5 |
| 19660 |
< |
$as_echo "$as_me: error: could not create -" >&2;} |
| 19661 |
< |
{ (exit 1); exit 1; }; } |
| 15163 |
> |
|| as_fn_error "could not create -" "$LINENO" 5 |
| 15164 |
|
fi |
| 15165 |
|
# Compute "$ac_file"'s index in $config_headers. |
| 15166 |
|
_am_arg="$ac_file" |
| 15198 |
|
s/.*/./; q'`/stamp-h$_am_stamp_count |
| 15199 |
|
;; |
| 15200 |
|
|
| 15201 |
< |
:C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5 |
| 15201 |
> |
:C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 |
| 15202 |
|
$as_echo "$as_me: executing $ac_file commands" >&6;} |
| 15203 |
|
;; |
| 15204 |
|
esac |
| 15293 |
|
q |
| 15294 |
|
} |
| 15295 |
|
s/.*/./; q'` |
| 15296 |
< |
{ as_dir=$dirpart/$fdir |
| 19795 |
< |
case $as_dir in #( |
| 19796 |
< |
-*) as_dir=./$as_dir;; |
| 19797 |
< |
esac |
| 19798 |
< |
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { |
| 19799 |
< |
as_dirs= |
| 19800 |
< |
while :; do |
| 19801 |
< |
case $as_dir in #( |
| 19802 |
< |
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
| 19803 |
< |
*) as_qdir=$as_dir;; |
| 19804 |
< |
esac |
| 19805 |
< |
as_dirs="'$as_qdir' $as_dirs" |
| 19806 |
< |
as_dir=`$as_dirname -- "$as_dir" || |
| 19807 |
< |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 19808 |
< |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
| 19809 |
< |
X"$as_dir" : 'X\(//\)$' \| \ |
| 19810 |
< |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
| 19811 |
< |
$as_echo X"$as_dir" | |
| 19812 |
< |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 19813 |
< |
s//\1/ |
| 19814 |
< |
q |
| 19815 |
< |
} |
| 19816 |
< |
/^X\(\/\/\)[^/].*/{ |
| 19817 |
< |
s//\1/ |
| 19818 |
< |
q |
| 19819 |
< |
} |
| 19820 |
< |
/^X\(\/\/\)$/{ |
| 19821 |
< |
s//\1/ |
| 19822 |
< |
q |
| 19823 |
< |
} |
| 19824 |
< |
/^X\(\/\).*/{ |
| 19825 |
< |
s//\1/ |
| 19826 |
< |
q |
| 19827 |
< |
} |
| 19828 |
< |
s/.*/./; q'` |
| 19829 |
< |
test -d "$as_dir" && break |
| 19830 |
< |
done |
| 19831 |
< |
test -z "$as_dirs" || eval "mkdir $as_dirs" |
| 19832 |
< |
} || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 |
| 19833 |
< |
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;} |
| 19834 |
< |
{ (exit 1); exit 1; }; }; } |
| 15296 |
> |
as_dir=$dirpart/$fdir; as_fn_mkdir_p |
| 15297 |
|
# echo "creating $dirpart/$file" |
| 15298 |
|
echo '# dummy' > "$dirpart/$file" |
| 15299 |
|
done |
| 15357 |
|
macro_version=$macro_version |
| 15358 |
|
macro_revision=$macro_revision |
| 15359 |
|
|
| 19898 |
– |
# Whether or not to build shared libraries. |
| 19899 |
– |
build_libtool_libs=$enable_shared |
| 19900 |
– |
|
| 15360 |
|
# Whether or not to build static libraries. |
| 15361 |
|
build_old_libs=$enable_static |
| 15362 |
|
|
| 15363 |
+ |
# Whether or not to build shared libraries. |
| 15364 |
+ |
build_libtool_libs=$enable_shared |
| 15365 |
+ |
|
| 15366 |
|
# What type of objects to build. |
| 15367 |
|
pic_mode=$pic_mode |
| 15368 |
|
|
| 15940 |
|
done # for ac_tag |
| 15941 |
|
|
| 15942 |
|
|
| 15943 |
< |
{ (exit 0); exit 0; } |
| 15943 |
> |
as_fn_exit 0 |
| 15944 |
|
_ACEOF |
| 20483 |
– |
chmod +x $CONFIG_STATUS |
| 15945 |
|
ac_clean_files=$ac_clean_files_save |
| 15946 |
|
|
| 15947 |
|
test $ac_write_fail = 0 || |
| 15948 |
< |
{ { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 |
| 20488 |
< |
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} |
| 20489 |
< |
{ (exit 1); exit 1; }; } |
| 15948 |
> |
as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 |
| 15949 |
|
|
| 15950 |
|
|
| 15951 |
|
# configure is writing to config.log, and then calls config.status. |
| 15966 |
|
exec 5>>config.log |
| 15967 |
|
# Use ||, not &&, to avoid exiting from the if with $? = 1, which |
| 15968 |
|
# would make configure fail if this is the last instruction. |
| 15969 |
< |
$ac_cs_success || { (exit 1); exit 1; } |
| 15969 |
> |
$ac_cs_success || as_fn_exit $? |
| 15970 |
|
fi |
| 15971 |
|
|
| 15972 |
|
# |
| 16010 |
|
case $ac_arg in |
| 16011 |
|
*\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 16012 |
|
esac |
| 16013 |
< |
ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;; |
| 16013 |
> |
as_fn_append ac_sub_configure_args " '$ac_arg'" ;; |
| 16014 |
|
esac |
| 16015 |
|
done |
| 16016 |
|
|
| 16039 |
|
test -d "$srcdir/$ac_dir" || continue |
| 16040 |
|
|
| 16041 |
|
ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)" |
| 16042 |
< |
$as_echo "$as_me:$LINENO: $ac_msg" >&5 |
| 16042 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5 |
| 16043 |
|
$as_echo "$ac_msg" >&6 |
| 16044 |
< |
{ as_dir="$ac_dir" |
| 20586 |
< |
case $as_dir in #( |
| 20587 |
< |
-*) as_dir=./$as_dir;; |
| 20588 |
< |
esac |
| 20589 |
< |
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { |
| 20590 |
< |
as_dirs= |
| 20591 |
< |
while :; do |
| 20592 |
< |
case $as_dir in #( |
| 20593 |
< |
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
| 20594 |
< |
*) as_qdir=$as_dir;; |
| 20595 |
< |
esac |
| 20596 |
< |
as_dirs="'$as_qdir' $as_dirs" |
| 20597 |
< |
as_dir=`$as_dirname -- "$as_dir" || |
| 20598 |
< |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 20599 |
< |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
| 20600 |
< |
X"$as_dir" : 'X\(//\)$' \| \ |
| 20601 |
< |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
| 20602 |
< |
$as_echo X"$as_dir" | |
| 20603 |
< |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 20604 |
< |
s//\1/ |
| 20605 |
< |
q |
| 20606 |
< |
} |
| 20607 |
< |
/^X\(\/\/\)[^/].*/{ |
| 20608 |
< |
s//\1/ |
| 20609 |
< |
q |
| 20610 |
< |
} |
| 20611 |
< |
/^X\(\/\/\)$/{ |
| 20612 |
< |
s//\1/ |
| 20613 |
< |
q |
| 20614 |
< |
} |
| 20615 |
< |
/^X\(\/\).*/{ |
| 20616 |
< |
s//\1/ |
| 20617 |
< |
q |
| 20618 |
< |
} |
| 20619 |
< |
s/.*/./; q'` |
| 20620 |
< |
test -d "$as_dir" && break |
| 20621 |
< |
done |
| 20622 |
< |
test -z "$as_dirs" || eval "mkdir $as_dirs" |
| 20623 |
< |
} || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 |
| 20624 |
< |
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;} |
| 20625 |
< |
{ (exit 1); exit 1; }; }; } |
| 16044 |
> |
as_dir="$ac_dir"; as_fn_mkdir_p |
| 16045 |
|
ac_builddir=. |
| 16046 |
|
|
| 16047 |
|
case "$ac_dir" in |
| 16088 |
|
# This should be Cygnus configure. |
| 16089 |
|
ac_sub_configure=$ac_aux_dir/configure |
| 16090 |
|
else |
| 16091 |
< |
{ $as_echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5 |
| 16091 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5 |
| 16092 |
|
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} |
| 16093 |
|
ac_sub_configure= |
| 16094 |
|
fi |
| 16102 |
|
ac_sub_cache_file=$ac_top_build_prefix$cache_file ;; |
| 16103 |
|
esac |
| 16104 |
|
|
| 16105 |
< |
{ $as_echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5 |
| 16105 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5 |
| 16106 |
|
$as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} |
| 16107 |
|
# The eval makes quoting arguments work. |
| 16108 |
|
eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \ |
| 16109 |
|
--cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" || |
| 16110 |
< |
{ { $as_echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5 |
| 20692 |
< |
$as_echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;} |
| 20693 |
< |
{ (exit 1); exit 1; }; } |
| 16110 |
> |
as_fn_error "$ac_sub_configure failed for $ac_dir" "$LINENO" 5 |
| 16111 |
|
fi |
| 16112 |
|
|
| 16113 |
|
cd "$ac_popdir" |
| 16114 |
|
done |
| 16115 |
|
fi |
| 16116 |
|
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
| 16117 |
< |
{ $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |
| 16117 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |
| 16118 |
|
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
| 16119 |
|
fi |
| 16120 |
|
|