| 1 |
|
#! /bin/sh |
| 2 |
– |
# From configure.ac Id: configure.ac 2480 2013-10-23 16:05:41Z michael . |
| 2 |
|
# Guess values for system-dependent variables and create Makefiles. |
| 3 |
< |
# Generated by GNU Autoconf 2.69 for ircd-hybrid TRUNK. |
| 3 |
> |
# Generated by GNU Autoconf 2.71 for ircd-hybrid 8.2.41. |
| 4 |
|
# |
| 5 |
|
# Report bugs to <bugs@ircd-hybrid.org>. |
| 6 |
|
# |
| 7 |
|
# |
| 8 |
< |
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. |
| 8 |
> |
# Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation, |
| 9 |
> |
# Inc. |
| 10 |
|
# |
| 11 |
|
# |
| 12 |
|
# This configure script is free software; the Free Software Foundation |
| 17 |
|
|
| 18 |
|
# Be more Bourne compatible |
| 19 |
|
DUALCASE=1; export DUALCASE # for MKS sh |
| 20 |
< |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
| 20 |
> |
as_nop=: |
| 21 |
> |
if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 |
| 22 |
> |
then : |
| 23 |
|
emulate sh |
| 24 |
|
NULLCMD=: |
| 25 |
|
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
| 26 |
|
# is contrary to our usage. Disable this feature. |
| 27 |
|
alias -g '${1+"$@"}'='"$@"' |
| 28 |
|
setopt NO_GLOB_SUBST |
| 29 |
< |
else |
| 29 |
> |
else $as_nop |
| 30 |
|
case `(set -o) 2>/dev/null` in #( |
| 31 |
|
*posix*) : |
| 32 |
|
set -o posix ;; #( |
| 36 |
|
fi |
| 37 |
|
|
| 38 |
|
|
| 39 |
+ |
|
| 40 |
+ |
# Reset variables that may have inherited troublesome values from |
| 41 |
+ |
# the environment. |
| 42 |
+ |
|
| 43 |
+ |
# IFS needs to be set, to space, tab, and newline, in precisely that order. |
| 44 |
+ |
# (If _AS_PATH_WALK were called with IFS unset, it would have the |
| 45 |
+ |
# side effect of setting IFS to empty, thus disabling word splitting.) |
| 46 |
+ |
# Quoting is to prevent editors from complaining about space-tab. |
| 47 |
|
as_nl=' |
| 48 |
|
' |
| 49 |
|
export as_nl |
| 50 |
< |
# Printing a long string crashes Solaris 7 /usr/bin/printf. |
| 51 |
< |
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
| 52 |
< |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
| 53 |
< |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
| 54 |
< |
# Prefer a ksh shell builtin over an external printf program on Solaris, |
| 55 |
< |
# but without wasting forks for bash or zsh. |
| 56 |
< |
if test -z "$BASH_VERSION$ZSH_VERSION" \ |
| 57 |
< |
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then |
| 58 |
< |
as_echo='print -r --' |
| 59 |
< |
as_echo_n='print -rn --' |
| 60 |
< |
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
| 61 |
< |
as_echo='printf %s\n' |
| 62 |
< |
as_echo_n='printf %s' |
| 63 |
< |
else |
| 64 |
< |
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
| 65 |
< |
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
| 66 |
< |
as_echo_n='/usr/ucb/echo -n' |
| 67 |
< |
else |
| 68 |
< |
as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
| 69 |
< |
as_echo_n_body='eval |
| 70 |
< |
arg=$1; |
| 71 |
< |
case $arg in #( |
| 72 |
< |
*"$as_nl"*) |
| 73 |
< |
expr "X$arg" : "X\\(.*\\)$as_nl"; |
| 74 |
< |
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
| 75 |
< |
esac; |
| 66 |
< |
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
| 67 |
< |
' |
| 68 |
< |
export as_echo_n_body |
| 69 |
< |
as_echo_n='sh -c $as_echo_n_body as_echo' |
| 70 |
< |
fi |
| 71 |
< |
export as_echo_body |
| 72 |
< |
as_echo='sh -c $as_echo_body as_echo' |
| 73 |
< |
fi |
| 50 |
> |
IFS=" "" $as_nl" |
| 51 |
> |
|
| 52 |
> |
PS1='$ ' |
| 53 |
> |
PS2='> ' |
| 54 |
> |
PS4='+ ' |
| 55 |
> |
|
| 56 |
> |
# Ensure predictable behavior from utilities with locale-dependent output. |
| 57 |
> |
LC_ALL=C |
| 58 |
> |
export LC_ALL |
| 59 |
> |
LANGUAGE=C |
| 60 |
> |
export LANGUAGE |
| 61 |
> |
|
| 62 |
> |
# We cannot yet rely on "unset" to work, but we need these variables |
| 63 |
> |
# to be unset--not just set to an empty or harmless value--now, to |
| 64 |
> |
# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct |
| 65 |
> |
# also avoids known problems related to "unset" and subshell syntax |
| 66 |
> |
# in other old shells (e.g. bash 2.01 and pdksh 5.2.14). |
| 67 |
> |
for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH |
| 68 |
> |
do eval test \${$as_var+y} \ |
| 69 |
> |
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
| 70 |
> |
done |
| 71 |
> |
|
| 72 |
> |
# Ensure that fds 0, 1, and 2 are open. |
| 73 |
> |
if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi |
| 74 |
> |
if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi |
| 75 |
> |
if (exec 3>&2) ; then :; else exec 2>/dev/null; fi |
| 76 |
|
|
| 77 |
|
# The user is always right. |
| 78 |
< |
if test "${PATH_SEPARATOR+set}" != set; then |
| 78 |
> |
if ${PATH_SEPARATOR+false} :; then |
| 79 |
|
PATH_SEPARATOR=: |
| 80 |
|
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
| 81 |
|
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
| 84 |
|
fi |
| 85 |
|
|
| 86 |
|
|
| 85 |
– |
# IFS |
| 86 |
– |
# We need space, tab and new line, in precisely that order. Quoting is |
| 87 |
– |
# there to prevent editors from complaining about space-tab. |
| 88 |
– |
# (If _AS_PATH_WALK were called with IFS unset, it would disable word |
| 89 |
– |
# splitting by setting IFS to empty value.) |
| 90 |
– |
IFS=" "" $as_nl" |
| 91 |
– |
|
| 87 |
|
# Find who we are. Look in the path if we contain no directory separator. |
| 88 |
|
as_myself= |
| 89 |
|
case $0 in #(( |
| 92 |
|
for as_dir in $PATH |
| 93 |
|
do |
| 94 |
|
IFS=$as_save_IFS |
| 95 |
< |
test -z "$as_dir" && as_dir=. |
| 96 |
< |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
| 95 |
> |
case $as_dir in #((( |
| 96 |
> |
'') as_dir=./ ;; |
| 97 |
> |
*/) ;; |
| 98 |
> |
*) as_dir=$as_dir/ ;; |
| 99 |
> |
esac |
| 100 |
> |
test -r "$as_dir$0" && as_myself=$as_dir$0 && break |
| 101 |
|
done |
| 102 |
|
IFS=$as_save_IFS |
| 103 |
|
|
| 109 |
|
as_myself=$0 |
| 110 |
|
fi |
| 111 |
|
if test ! -f "$as_myself"; then |
| 112 |
< |
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
| 112 |
> |
printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
| 113 |
|
exit 1 |
| 114 |
|
fi |
| 115 |
|
|
| 117 |
– |
# Unset variables that we do not need and which cause bugs (e.g. in |
| 118 |
– |
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" |
| 119 |
– |
# suppresses any "Segmentation fault" message there. '((' could |
| 120 |
– |
# trigger a bug in pdksh 5.2.14. |
| 121 |
– |
for as_var in BASH_ENV ENV MAIL MAILPATH |
| 122 |
– |
do eval test x\${$as_var+set} = xset \ |
| 123 |
– |
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
| 124 |
– |
done |
| 125 |
– |
PS1='$ ' |
| 126 |
– |
PS2='> ' |
| 127 |
– |
PS4='+ ' |
| 128 |
– |
|
| 129 |
– |
# NLS nuisances. |
| 130 |
– |
LC_ALL=C |
| 131 |
– |
export LC_ALL |
| 132 |
– |
LANGUAGE=C |
| 133 |
– |
export LANGUAGE |
| 134 |
– |
|
| 135 |
– |
# CDPATH. |
| 136 |
– |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
| 116 |
|
|
| 117 |
|
# Use a proper internal environment variable to ensure we don't fall |
| 118 |
|
# into an infinite loop, continuously re-executing ourselves. |
| 134 |
|
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
| 135 |
|
# Admittedly, this is quite paranoid, since all the known shells bail |
| 136 |
|
# out after a failed `exec'. |
| 137 |
< |
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 |
| 138 |
< |
as_fn_exit 255 |
| 137 |
> |
printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 |
| 138 |
> |
exit 255 |
| 139 |
|
fi |
| 140 |
|
# We don't want this to propagate to other subprocesses. |
| 141 |
|
{ _as_can_reexec=; unset _as_can_reexec;} |
| 142 |
|
if test "x$CONFIG_SHELL" = x; then |
| 143 |
< |
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : |
| 143 |
> |
as_bourne_compatible="as_nop=: |
| 144 |
> |
if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 |
| 145 |
> |
then : |
| 146 |
|
emulate sh |
| 147 |
|
NULLCMD=: |
| 148 |
|
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which |
| 149 |
|
# is contrary to our usage. Disable this feature. |
| 150 |
|
alias -g '\${1+\"\$@\"}'='\"\$@\"' |
| 151 |
|
setopt NO_GLOB_SUBST |
| 152 |
< |
else |
| 152 |
> |
else \$as_nop |
| 153 |
|
case \`(set -o) 2>/dev/null\` in #( |
| 154 |
|
*posix*) : |
| 155 |
|
set -o posix ;; #( |
| 169 |
|
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } |
| 170 |
|
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } |
| 171 |
|
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } |
| 172 |
< |
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : |
| 172 |
> |
if ( set x; as_fn_ret_success y && test x = \"\$1\" ) |
| 173 |
> |
then : |
| 174 |
|
|
| 175 |
< |
else |
| 175 |
> |
else \$as_nop |
| 176 |
|
exitcode=1; echo positional parameters were not saved. |
| 177 |
|
fi |
| 178 |
|
test x\$exitcode = x0 || exit 1 |
| 179 |
+ |
blah=\$(echo \$(echo blah)) |
| 180 |
+ |
test x\"\$blah\" = xblah || exit 1 |
| 181 |
|
test -x / || exit 1" |
| 182 |
|
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO |
| 183 |
|
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
| 192 |
|
test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ |
| 193 |
|
|| test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1 |
| 194 |
|
test \$(( 1 + 1 )) = 2 || exit 1" |
| 195 |
< |
if (eval "$as_required") 2>/dev/null; then : |
| 195 |
> |
if (eval "$as_required") 2>/dev/null |
| 196 |
> |
then : |
| 197 |
|
as_have_required=yes |
| 198 |
< |
else |
| 198 |
> |
else $as_nop |
| 199 |
|
as_have_required=no |
| 200 |
|
fi |
| 201 |
< |
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : |
| 201 |
> |
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null |
| 202 |
> |
then : |
| 203 |
|
|
| 204 |
< |
else |
| 204 |
> |
else $as_nop |
| 205 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 206 |
|
as_found=false |
| 207 |
|
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
| 208 |
|
do |
| 209 |
|
IFS=$as_save_IFS |
| 210 |
< |
test -z "$as_dir" && as_dir=. |
| 210 |
> |
case $as_dir in #((( |
| 211 |
> |
'') as_dir=./ ;; |
| 212 |
> |
*/) ;; |
| 213 |
> |
*) as_dir=$as_dir/ ;; |
| 214 |
> |
esac |
| 215 |
|
as_found=: |
| 216 |
|
case $as_dir in #( |
| 217 |
|
/*) |
| 218 |
|
for as_base in sh bash ksh sh5; do |
| 219 |
|
# Try only shells that exist, to save several forks. |
| 220 |
< |
as_shell=$as_dir/$as_base |
| 220 |
> |
as_shell=$as_dir$as_base |
| 221 |
|
if { test -f "$as_shell" || test -f "$as_shell.exe"; } && |
| 222 |
< |
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : |
| 222 |
> |
as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null |
| 223 |
> |
then : |
| 224 |
|
CONFIG_SHELL=$as_shell as_have_required=yes |
| 225 |
< |
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : |
| 225 |
> |
if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null |
| 226 |
> |
then : |
| 227 |
|
break 2 |
| 228 |
|
fi |
| 229 |
|
fi |
| 231 |
|
esac |
| 232 |
|
as_found=false |
| 233 |
|
done |
| 242 |
– |
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && |
| 243 |
– |
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : |
| 244 |
– |
CONFIG_SHELL=$SHELL as_have_required=yes |
| 245 |
– |
fi; } |
| 234 |
|
IFS=$as_save_IFS |
| 235 |
+ |
if $as_found |
| 236 |
+ |
then : |
| 237 |
+ |
|
| 238 |
+ |
else $as_nop |
| 239 |
+ |
if { test -f "$SHELL" || test -f "$SHELL.exe"; } && |
| 240 |
+ |
as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null |
| 241 |
+ |
then : |
| 242 |
+ |
CONFIG_SHELL=$SHELL as_have_required=yes |
| 243 |
+ |
fi |
| 244 |
+ |
fi |
| 245 |
|
|
| 246 |
|
|
| 247 |
< |
if test "x$CONFIG_SHELL" != x; then : |
| 247 |
> |
if test "x$CONFIG_SHELL" != x |
| 248 |
> |
then : |
| 249 |
|
export CONFIG_SHELL |
| 250 |
|
# We cannot yet assume a decent shell, so we have to provide a |
| 251 |
|
# neutralization value for shells without unset; and this also |
| 263 |
|
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
| 264 |
|
# Admittedly, this is quite paranoid, since all the known shells bail |
| 265 |
|
# out after a failed `exec'. |
| 266 |
< |
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 |
| 266 |
> |
printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 |
| 267 |
|
exit 255 |
| 268 |
|
fi |
| 269 |
|
|
| 270 |
< |
if test x$as_have_required = xno; then : |
| 271 |
< |
$as_echo "$0: This script requires a shell more modern than all" |
| 272 |
< |
$as_echo "$0: the shells that I found on your system." |
| 273 |
< |
if test x${ZSH_VERSION+set} = xset ; then |
| 274 |
< |
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" |
| 275 |
< |
$as_echo "$0: be upgraded to zsh 4.3.4 or later." |
| 270 |
> |
if test x$as_have_required = xno |
| 271 |
> |
then : |
| 272 |
> |
printf "%s\n" "$0: This script requires a shell more modern than all" |
| 273 |
> |
printf "%s\n" "$0: the shells that I found on your system." |
| 274 |
> |
if test ${ZSH_VERSION+y} ; then |
| 275 |
> |
printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should" |
| 276 |
> |
printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later." |
| 277 |
|
else |
| 278 |
< |
$as_echo "$0: Please tell bug-autoconf@gnu.org and |
| 278 |
> |
printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and |
| 279 |
|
$0: bugs@ircd-hybrid.org about your system, including any |
| 280 |
|
$0: error possibly output before this message. Then install |
| 281 |
|
$0: a modern shell, or manually run the script under such a |
| 303 |
|
} |
| 304 |
|
as_unset=as_fn_unset |
| 305 |
|
|
| 306 |
+ |
|
| 307 |
|
# as_fn_set_status STATUS |
| 308 |
|
# ----------------------- |
| 309 |
|
# Set $? to STATUS, without forking. |
| 321 |
|
as_fn_set_status $1 |
| 322 |
|
exit $1 |
| 323 |
|
} # as_fn_exit |
| 324 |
+ |
# as_fn_nop |
| 325 |
+ |
# --------- |
| 326 |
+ |
# Do nothing but, unlike ":", preserve the value of $?. |
| 327 |
+ |
as_fn_nop () |
| 328 |
+ |
{ |
| 329 |
+ |
return $? |
| 330 |
+ |
} |
| 331 |
+ |
as_nop=as_fn_nop |
| 332 |
|
|
| 333 |
|
# as_fn_mkdir_p |
| 334 |
|
# ------------- |
| 343 |
|
as_dirs= |
| 344 |
|
while :; do |
| 345 |
|
case $as_dir in #( |
| 346 |
< |
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
| 346 |
> |
*\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
| 347 |
|
*) as_qdir=$as_dir;; |
| 348 |
|
esac |
| 349 |
|
as_dirs="'$as_qdir' $as_dirs" |
| 352 |
|
X"$as_dir" : 'X\(//\)[^/]' \| \ |
| 353 |
|
X"$as_dir" : 'X\(//\)$' \| \ |
| 354 |
|
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
| 355 |
< |
$as_echo X"$as_dir" | |
| 355 |
> |
printf "%s\n" X"$as_dir" | |
| 356 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 357 |
|
s//\1/ |
| 358 |
|
q |
| 391 |
|
# advantage of any shell optimizations that allow amortized linear growth over |
| 392 |
|
# repeated appends, instead of the typical quadratic growth present in naive |
| 393 |
|
# implementations. |
| 394 |
< |
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : |
| 394 |
> |
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null |
| 395 |
> |
then : |
| 396 |
|
eval 'as_fn_append () |
| 397 |
|
{ |
| 398 |
|
eval $1+=\$2 |
| 399 |
|
}' |
| 400 |
< |
else |
| 400 |
> |
else $as_nop |
| 401 |
|
as_fn_append () |
| 402 |
|
{ |
| 403 |
|
eval $1=\$$1\$2 |
| 409 |
|
# Perform arithmetic evaluation on the ARGs, and store the result in the |
| 410 |
|
# global $as_val. Take advantage of shells that can avoid forks. The arguments |
| 411 |
|
# must be portable across $(()) and expr. |
| 412 |
< |
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : |
| 412 |
> |
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null |
| 413 |
> |
then : |
| 414 |
|
eval 'as_fn_arith () |
| 415 |
|
{ |
| 416 |
|
as_val=$(( $* )) |
| 417 |
|
}' |
| 418 |
< |
else |
| 418 |
> |
else $as_nop |
| 419 |
|
as_fn_arith () |
| 420 |
|
{ |
| 421 |
|
as_val=`expr "$@" || test $? -eq 1` |
| 422 |
|
} |
| 423 |
|
fi # as_fn_arith |
| 424 |
|
|
| 425 |
+ |
# as_fn_nop |
| 426 |
+ |
# --------- |
| 427 |
+ |
# Do nothing but, unlike ":", preserve the value of $?. |
| 428 |
+ |
as_fn_nop () |
| 429 |
+ |
{ |
| 430 |
+ |
return $? |
| 431 |
+ |
} |
| 432 |
+ |
as_nop=as_fn_nop |
| 433 |
|
|
| 434 |
|
# as_fn_error STATUS ERROR [LINENO LOG_FD] |
| 435 |
|
# ---------------------------------------- |
| 441 |
|
as_status=$1; test $as_status -eq 0 && as_status=1 |
| 442 |
|
if test "$4"; then |
| 443 |
|
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 444 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
| 444 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
| 445 |
|
fi |
| 446 |
< |
$as_echo "$as_me: error: $2" >&2 |
| 446 |
> |
printf "%s\n" "$as_me: error: $2" >&2 |
| 447 |
|
as_fn_exit $as_status |
| 448 |
|
} # as_fn_error |
| 449 |
|
|
| 470 |
|
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
| 471 |
|
X"$0" : 'X\(//\)$' \| \ |
| 472 |
|
X"$0" : 'X\(/\)' \| . 2>/dev/null || |
| 473 |
< |
$as_echo X/"$0" | |
| 473 |
> |
printf "%s\n" X/"$0" | |
| 474 |
|
sed '/^.*\/\([^/][^/]*\)\/*$/{ |
| 475 |
|
s//\1/ |
| 476 |
|
q |
| 514 |
|
s/-\n.*// |
| 515 |
|
' >$as_me.lineno && |
| 516 |
|
chmod +x "$as_me.lineno" || |
| 517 |
< |
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } |
| 517 |
> |
{ printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } |
| 518 |
|
|
| 519 |
|
# If we had to re-execute with $CONFIG_SHELL, we're ensured to have |
| 520 |
|
# already done that, so ensure we don't try to do so again and fall |
| 528 |
|
exit |
| 529 |
|
} |
| 530 |
|
|
| 531 |
+ |
|
| 532 |
+ |
# Determine whether it's possible to make 'echo' print without a newline. |
| 533 |
+ |
# These variables are no longer used directly by Autoconf, but are AC_SUBSTed |
| 534 |
+ |
# for compatibility with existing Makefiles. |
| 535 |
|
ECHO_C= ECHO_N= ECHO_T= |
| 536 |
|
case `echo -n x` in #((((( |
| 537 |
|
-n*) |
| 545 |
|
ECHO_N='-n';; |
| 546 |
|
esac |
| 547 |
|
|
| 548 |
+ |
# For backward compatibility with old third-party macros, we provide |
| 549 |
+ |
# the shell variables $as_echo and $as_echo_n. New code should use |
| 550 |
+ |
# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. |
| 551 |
+ |
as_echo='printf %s\n' |
| 552 |
+ |
as_echo_n='printf %s' |
| 553 |
+ |
|
| 554 |
+ |
|
| 555 |
|
rm -f conf$$ conf$$.exe conf$$.file |
| 556 |
|
if test -d conf$$.dir; then |
| 557 |
|
rm -f conf$$.dir/conf$$.file |
| 623 |
|
# Identity of this package. |
| 624 |
|
PACKAGE_NAME='ircd-hybrid' |
| 625 |
|
PACKAGE_TARNAME='ircd-hybrid' |
| 626 |
< |
PACKAGE_VERSION='TRUNK' |
| 627 |
< |
PACKAGE_STRING='ircd-hybrid TRUNK' |
| 626 |
> |
PACKAGE_VERSION='8.2.41' |
| 627 |
> |
PACKAGE_STRING='ircd-hybrid 8.2.41' |
| 628 |
|
PACKAGE_BUGREPORT='bugs@ircd-hybrid.org' |
| 629 |
|
PACKAGE_URL='' |
| 630 |
|
|
| 631 |
|
ac_unique_file="src/ircd.c" |
| 632 |
|
# Factoring default headers for most tests. |
| 633 |
|
ac_includes_default="\ |
| 634 |
< |
#include <stdio.h> |
| 635 |
< |
#ifdef HAVE_SYS_TYPES_H |
| 636 |
< |
# include <sys/types.h> |
| 634 |
> |
#include <stddef.h> |
| 635 |
> |
#ifdef HAVE_STDIO_H |
| 636 |
> |
# include <stdio.h> |
| 637 |
|
#endif |
| 638 |
< |
#ifdef HAVE_SYS_STAT_H |
| 609 |
< |
# include <sys/stat.h> |
| 610 |
< |
#endif |
| 611 |
< |
#ifdef STDC_HEADERS |
| 638 |
> |
#ifdef HAVE_STDLIB_H |
| 639 |
|
# include <stdlib.h> |
| 613 |
– |
# include <stddef.h> |
| 614 |
– |
#else |
| 615 |
– |
# ifdef HAVE_STDLIB_H |
| 616 |
– |
# include <stdlib.h> |
| 617 |
– |
# endif |
| 640 |
|
#endif |
| 641 |
|
#ifdef HAVE_STRING_H |
| 620 |
– |
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H |
| 621 |
– |
# include <memory.h> |
| 622 |
– |
# endif |
| 642 |
|
# include <string.h> |
| 643 |
|
#endif |
| 625 |
– |
#ifdef HAVE_STRINGS_H |
| 626 |
– |
# include <strings.h> |
| 627 |
– |
#endif |
| 644 |
|
#ifdef HAVE_INTTYPES_H |
| 645 |
|
# include <inttypes.h> |
| 646 |
|
#endif |
| 647 |
|
#ifdef HAVE_STDINT_H |
| 648 |
|
# include <stdint.h> |
| 649 |
|
#endif |
| 650 |
+ |
#ifdef HAVE_STRINGS_H |
| 651 |
+ |
# include <strings.h> |
| 652 |
+ |
#endif |
| 653 |
+ |
#ifdef HAVE_SYS_TYPES_H |
| 654 |
+ |
# include <sys/types.h> |
| 655 |
+ |
#endif |
| 656 |
+ |
#ifdef HAVE_SYS_STAT_H |
| 657 |
+ |
# include <sys/stat.h> |
| 658 |
+ |
#endif |
| 659 |
|
#ifdef HAVE_UNISTD_H |
| 660 |
|
# include <unistd.h> |
| 661 |
|
#endif" |
| 662 |
|
|
| 663 |
< |
ac_func_list= |
| 664 |
< |
ac_header_list= |
| 663 |
> |
ac_header_c_list= |
| 664 |
> |
ac_func_c_list= |
| 665 |
|
ac_subst_vars='ltdl_LTLIBOBJS |
| 666 |
|
ltdl_LIBOBJS |
| 667 |
|
am__EXEEXT_FALSE |
| 673 |
|
LIBDIR |
| 674 |
|
SYSCONFDIR |
| 675 |
|
PREFIX |
| 651 |
– |
ENABLE_SSL_FALSE |
| 652 |
– |
ENABLE_SSL_TRUE |
| 676 |
|
LTDLOPEN |
| 677 |
|
LT_CONFIG_H |
| 678 |
|
CONVENIENCE_LTDL_FALSE |
| 679 |
|
CONVENIENCE_LTDL_TRUE |
| 680 |
|
INSTALL_LTDL_FALSE |
| 681 |
|
INSTALL_LTDL_TRUE |
| 682 |
< |
ARGZ_H |
| 682 |
> |
LT_ARGZ_H |
| 683 |
|
sys_symbol_underscore |
| 684 |
|
LIBADD_DL |
| 685 |
|
LT_DLPREOPEN |
| 691 |
|
LTDLINCL |
| 692 |
|
LTDLDEPS |
| 693 |
|
LIBLTDL |
| 694 |
< |
CPP |
| 694 |
> |
LT_SYS_LIBRARY_PATH |
| 695 |
|
OTOOL64 |
| 696 |
|
OTOOL |
| 697 |
|
LIPO |
| 703 |
|
AR |
| 704 |
|
DLLTOOL |
| 705 |
|
OBJDUMP |
| 706 |
+ |
FILECMD |
| 707 |
|
LN_S |
| 708 |
|
NM |
| 709 |
|
ac_ct_DUMPBIN |
| 734 |
|
AMDEPBACKSLASH |
| 735 |
|
AMDEP_FALSE |
| 736 |
|
AMDEP_TRUE |
| 713 |
– |
am__quote |
| 737 |
|
am__include |
| 738 |
|
DEPDIR |
| 739 |
|
OBJEXT |
| 750 |
|
AM_DEFAULT_VERBOSITY |
| 751 |
|
AM_DEFAULT_V |
| 752 |
|
AM_V |
| 753 |
+ |
CSCOPE |
| 754 |
+ |
ETAGS |
| 755 |
+ |
CTAGS |
| 756 |
|
am__untar |
| 757 |
|
am__tar |
| 758 |
|
AMTAR |
| 795 |
|
docdir |
| 796 |
|
oldincludedir |
| 797 |
|
includedir |
| 798 |
+ |
runstatedir |
| 799 |
|
localstatedir |
| 800 |
|
sharedstatedir |
| 801 |
|
sysconfdir |
| 814 |
|
PACKAGE_TARNAME |
| 815 |
|
PACKAGE_NAME |
| 816 |
|
PATH_SEPARATOR |
| 817 |
< |
SHELL' |
| 817 |
> |
SHELL |
| 818 |
> |
am__quote' |
| 819 |
|
ac_subst_files='' |
| 820 |
|
ac_user_opts=' |
| 821 |
|
enable_option_checking |
| 826 |
|
enable_shared |
| 827 |
|
with_pic |
| 828 |
|
enable_fast_install |
| 829 |
+ |
with_aix_soname |
| 830 |
|
with_gnu_ld |
| 831 |
|
with_sysroot |
| 832 |
|
enable_libtool_lock |
| 834 |
|
with_ltdl_include |
| 835 |
|
with_ltdl_lib |
| 836 |
|
enable_ltdl_install |
| 808 |
– |
enable_libgeoip |
| 809 |
– |
enable_openssl |
| 810 |
– |
enable_assert |
| 837 |
|
enable_kqueue |
| 838 |
|
enable_epoll |
| 813 |
– |
enable_devpoll |
| 839 |
|
enable_poll |
| 840 |
< |
enable_select |
| 816 |
< |
enable_halfops |
| 840 |
> |
enable_assert |
| 841 |
|
enable_debugging |
| 842 |
|
enable_warnings |
| 843 |
+ |
enable_efence |
| 844 |
+ |
with_tls |
| 845 |
|
' |
| 846 |
|
ac_precious_vars='build_alias |
| 847 |
|
host_alias |
| 853 |
|
CPPFLAGS |
| 854 |
|
YACC |
| 855 |
|
YFLAGS |
| 856 |
< |
CPP' |
| 856 |
> |
LT_SYS_LIBRARY_PATH' |
| 857 |
|
|
| 858 |
|
|
| 859 |
|
# Initialize some variables set by options. |
| 892 |
|
sysconfdir='${prefix}/etc' |
| 893 |
|
sharedstatedir='${prefix}/com' |
| 894 |
|
localstatedir='${prefix}/var' |
| 895 |
+ |
runstatedir='${localstatedir}/run' |
| 896 |
|
includedir='${prefix}/include' |
| 897 |
|
oldincludedir='/usr/include' |
| 898 |
|
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' |
| 922 |
|
*) ac_optarg=yes ;; |
| 923 |
|
esac |
| 924 |
|
|
| 898 |
– |
# Accept the important Cygnus configure options, so we can diagnose typos. |
| 899 |
– |
|
| 925 |
|
case $ac_dashdash$ac_option in |
| 926 |
|
--) |
| 927 |
|
ac_dashdash=yes ;; |
| 962 |
|
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
| 963 |
|
# Reject names that are not valid shell variable names. |
| 964 |
|
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
| 965 |
< |
as_fn_error $? "invalid feature name: $ac_useropt" |
| 965 |
> |
as_fn_error $? "invalid feature name: \`$ac_useropt'" |
| 966 |
|
ac_useropt_orig=$ac_useropt |
| 967 |
< |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
| 967 |
> |
ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` |
| 968 |
|
case $ac_user_opts in |
| 969 |
|
*" |
| 970 |
|
"enable_$ac_useropt" |
| 988 |
|
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
| 989 |
|
# Reject names that are not valid shell variable names. |
| 990 |
|
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
| 991 |
< |
as_fn_error $? "invalid feature name: $ac_useropt" |
| 991 |
> |
as_fn_error $? "invalid feature name: \`$ac_useropt'" |
| 992 |
|
ac_useropt_orig=$ac_useropt |
| 993 |
< |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
| 993 |
> |
ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` |
| 994 |
|
case $ac_user_opts in |
| 995 |
|
*" |
| 996 |
|
"enable_$ac_useropt" |
| 1143 |
|
| -silent | --silent | --silen | --sile | --sil) |
| 1144 |
|
silent=yes ;; |
| 1145 |
|
|
| 1146 |
+ |
-runstatedir | --runstatedir | --runstatedi | --runstated \ |
| 1147 |
+ |
| --runstate | --runstat | --runsta | --runst | --runs \ |
| 1148 |
+ |
| --run | --ru | --r) |
| 1149 |
+ |
ac_prev=runstatedir ;; |
| 1150 |
+ |
-runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ |
| 1151 |
+ |
| --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ |
| 1152 |
+ |
| --run=* | --ru=* | --r=*) |
| 1153 |
+ |
runstatedir=$ac_optarg ;; |
| 1154 |
+ |
|
| 1155 |
|
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
| 1156 |
|
ac_prev=sbindir ;; |
| 1157 |
|
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
| 1201 |
|
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
| 1202 |
|
# Reject names that are not valid shell variable names. |
| 1203 |
|
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
| 1204 |
< |
as_fn_error $? "invalid package name: $ac_useropt" |
| 1204 |
> |
as_fn_error $? "invalid package name: \`$ac_useropt'" |
| 1205 |
|
ac_useropt_orig=$ac_useropt |
| 1206 |
< |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
| 1206 |
> |
ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` |
| 1207 |
|
case $ac_user_opts in |
| 1208 |
|
*" |
| 1209 |
|
"with_$ac_useropt" |
| 1217 |
|
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
| 1218 |
|
# Reject names that are not valid shell variable names. |
| 1219 |
|
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
| 1220 |
< |
as_fn_error $? "invalid package name: $ac_useropt" |
| 1220 |
> |
as_fn_error $? "invalid package name: \`$ac_useropt'" |
| 1221 |
|
ac_useropt_orig=$ac_useropt |
| 1222 |
< |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
| 1222 |
> |
ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` |
| 1223 |
|
case $ac_user_opts in |
| 1224 |
|
*" |
| 1225 |
|
"with_$ac_useropt" |
| 1263 |
|
|
| 1264 |
|
*) |
| 1265 |
|
# FIXME: should be removed in autoconf 3.0. |
| 1266 |
< |
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
| 1266 |
> |
printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2 |
| 1267 |
|
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
| 1268 |
< |
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
| 1268 |
> |
printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2 |
| 1269 |
|
: "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" |
| 1270 |
|
;; |
| 1271 |
|
|
| 1281 |
|
case $enable_option_checking in |
| 1282 |
|
no) ;; |
| 1283 |
|
fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; |
| 1284 |
< |
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
| 1284 |
> |
*) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
| 1285 |
|
esac |
| 1286 |
|
fi |
| 1287 |
|
|
| 1289 |
|
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
| 1290 |
|
datadir sysconfdir sharedstatedir localstatedir includedir \ |
| 1291 |
|
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
| 1292 |
< |
libdir localedir mandir |
| 1292 |
> |
libdir localedir mandir runstatedir |
| 1293 |
|
do |
| 1294 |
|
eval ac_val=\$$ac_var |
| 1295 |
|
# Remove trailing slashes. |
| 1345 |
|
X"$as_myself" : 'X\(//\)[^/]' \| \ |
| 1346 |
|
X"$as_myself" : 'X\(//\)$' \| \ |
| 1347 |
|
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || |
| 1348 |
< |
$as_echo X"$as_myself" | |
| 1348 |
> |
printf "%s\n" X"$as_myself" | |
| 1349 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 1350 |
|
s//\1/ |
| 1351 |
|
q |
| 1402 |
|
# Omit some internal or obsolete options to make the list less imposing. |
| 1403 |
|
# This message is too long to be a string in the A/UX 3.1 sh. |
| 1404 |
|
cat <<_ACEOF |
| 1405 |
< |
\`configure' configures ircd-hybrid TRUNK to adapt to many kinds of systems. |
| 1405 |
> |
\`configure' configures ircd-hybrid 8.2.41 to adapt to many kinds of systems. |
| 1406 |
|
|
| 1407 |
|
Usage: $0 [OPTION]... [VAR=VALUE]... |
| 1408 |
|
|
| 1442 |
|
--sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
| 1443 |
|
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
| 1444 |
|
--localstatedir=DIR modifiable single-machine data [PREFIX/var] |
| 1445 |
+ |
--runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] |
| 1446 |
|
--libdir=DIR object code libraries [EPREFIX/lib] |
| 1447 |
|
--includedir=DIR C header files [PREFIX/include] |
| 1448 |
|
--oldincludedir=DIR C header files for non-gcc [/usr/include] |
| 1473 |
|
|
| 1474 |
|
if test -n "$ac_init_help"; then |
| 1475 |
|
case $ac_init_help in |
| 1476 |
< |
short | recursive ) echo "Configuration of ircd-hybrid TRUNK:";; |
| 1476 |
> |
short | recursive ) echo "Configuration of ircd-hybrid 8.2.41:";; |
| 1477 |
|
esac |
| 1478 |
|
cat <<\_ACEOF |
| 1479 |
|
|
| 1496 |
|
optimize for fast installation [default=yes] |
| 1497 |
|
--disable-libtool-lock avoid locking (might break parallel builds) |
| 1498 |
|
--enable-ltdl-install install libltdl |
| 1464 |
– |
--disable-libgeoip Disable GeoIP support |
| 1465 |
– |
--enable-openssl=DIR Enable OpenSSL support (DIR optional). |
| 1466 |
– |
--disable-openssl Disable OpenSSL support. |
| 1467 |
– |
--enable-assert Enable assert() statements |
| 1499 |
|
--enable-kqueue Force kqueue usage. |
| 1500 |
|
--enable-epoll Force epoll usage. |
| 1470 |
– |
--enable-devpoll Force devpoll usage. |
| 1501 |
|
--enable-poll Force poll usage. |
| 1502 |
< |
--enable-select Force select usage. |
| 1473 |
< |
--enable-halfops Enable halfops support. |
| 1502 |
> |
--enable-assert Enable assert() statements |
| 1503 |
|
--enable-debugging Enable debugging. |
| 1504 |
|
--enable-warnings Enable compiler warnings. |
| 1505 |
+ |
--enable-efence Enable linking with Electric Fence 'efence' memory |
| 1506 |
+ |
debugger library. |
| 1507 |
|
|
| 1508 |
|
Optional Packages: |
| 1509 |
|
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
| 1510 |
|
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
| 1511 |
|
--with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use |
| 1512 |
|
both] |
| 1513 |
+ |
--with-aix-soname=aix|svr4|both |
| 1514 |
+ |
shared library versioning (aka "SONAME") variant to |
| 1515 |
+ |
provide on AIX, [default=aix]. |
| 1516 |
|
--with-gnu-ld assume the C compiler uses GNU ld [default=no] |
| 1517 |
< |
--with-sysroot=DIR Search for dependent libraries within DIR |
| 1518 |
< |
(or the compiler's sysroot if not specified). |
| 1517 |
> |
--with-sysroot[=DIR] Search for dependent libraries within DIR (or the |
| 1518 |
> |
compiler's sysroot if not specified). |
| 1519 |
|
--with-included-ltdl use the GNU ltdl sources included here |
| 1520 |
|
--with-ltdl-include=DIR use the ltdl headers installed in DIR |
| 1521 |
|
--with-ltdl-lib=DIR use the libltdl.la installed in DIR |
| 1522 |
+ |
--with-tls Enables TLS with specified library. Options: |
| 1523 |
+ |
'openssl', 'wolfssl', 'gnutls' or 'none' |
| 1524 |
|
|
| 1525 |
|
Some influential environment variables: |
| 1526 |
|
CC C compiler command |
| 1536 |
|
YFLAGS The list of arguments that will be passed by default to $YACC. |
| 1537 |
|
This script will default YFLAGS to the empty string to avoid a |
| 1538 |
|
default value of `-d' given by some make applications. |
| 1539 |
< |
CPP C preprocessor |
| 1539 |
> |
LT_SYS_LIBRARY_PATH |
| 1540 |
> |
User-defined run-time library search path. |
| 1541 |
|
|
| 1542 |
|
Use these variables to override the choices made by `configure' or to help |
| 1543 |
|
it to find libraries and programs with nonstandard names/locations. |
| 1558 |
|
case "$ac_dir" in |
| 1559 |
|
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
| 1560 |
|
*) |
| 1561 |
< |
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
| 1561 |
> |
ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` |
| 1562 |
|
# A ".." for each directory in $ac_dir_suffix. |
| 1563 |
< |
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
| 1563 |
> |
ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
| 1564 |
|
case $ac_top_builddir_sub in |
| 1565 |
|
"") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
| 1566 |
|
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
| 1588 |
|
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
| 1589 |
|
|
| 1590 |
|
cd "$ac_dir" || { ac_status=$?; continue; } |
| 1591 |
< |
# Check for guested configure. |
| 1591 |
> |
# Check for configure.gnu first; this name is used for a wrapper for |
| 1592 |
> |
# Metaconfig's "Configure" on case-insensitive file systems. |
| 1593 |
|
if test -f "$ac_srcdir/configure.gnu"; then |
| 1594 |
|
echo && |
| 1595 |
|
$SHELL "$ac_srcdir/configure.gnu" --help=recursive |
| 1597 |
|
echo && |
| 1598 |
|
$SHELL "$ac_srcdir/configure" --help=recursive |
| 1599 |
|
else |
| 1600 |
< |
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
| 1600 |
> |
printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
| 1601 |
|
fi || ac_status=$? |
| 1602 |
|
cd "$ac_pwd" || { ac_status=$?; break; } |
| 1603 |
|
done |
| 1606 |
|
test -n "$ac_init_help" && exit $ac_status |
| 1607 |
|
if $ac_init_version; then |
| 1608 |
|
cat <<\_ACEOF |
| 1609 |
< |
ircd-hybrid configure TRUNK |
| 1610 |
< |
generated by GNU Autoconf 2.69 |
| 1609 |
> |
ircd-hybrid configure 8.2.41 |
| 1610 |
> |
generated by GNU Autoconf 2.71 |
| 1611 |
|
|
| 1612 |
< |
Copyright (C) 2012 Free Software Foundation, Inc. |
| 1612 |
> |
Copyright (C) 2021 Free Software Foundation, Inc. |
| 1613 |
|
This configure script is free software; the Free Software Foundation |
| 1614 |
|
gives unlimited permission to copy, distribute and modify it. |
| 1615 |
|
_ACEOF |
| 1626 |
|
ac_fn_c_try_compile () |
| 1627 |
|
{ |
| 1628 |
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 1629 |
< |
rm -f conftest.$ac_objext |
| 1629 |
> |
rm -f conftest.$ac_objext conftest.beam |
| 1630 |
|
if { { ac_try="$ac_compile" |
| 1631 |
|
case "(($ac_try" in |
| 1632 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 1633 |
|
*) ac_try_echo=$ac_try;; |
| 1634 |
|
esac |
| 1635 |
|
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 1636 |
< |
$as_echo "$ac_try_echo"; } >&5 |
| 1636 |
> |
printf "%s\n" "$ac_try_echo"; } >&5 |
| 1637 |
|
(eval "$ac_compile") 2>conftest.err |
| 1638 |
|
ac_status=$? |
| 1639 |
|
if test -s conftest.err; then |
| 1641 |
|
cat conftest.er1 >&5 |
| 1642 |
|
mv -f conftest.er1 conftest.err |
| 1643 |
|
fi |
| 1644 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 1644 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 1645 |
|
test $ac_status = 0; } && { |
| 1646 |
|
test -z "$ac_c_werror_flag" || |
| 1647 |
|
test ! -s conftest.err |
| 1648 |
< |
} && test -s conftest.$ac_objext; then : |
| 1648 |
> |
} && test -s conftest.$ac_objext |
| 1649 |
> |
then : |
| 1650 |
|
ac_retval=0 |
| 1651 |
< |
else |
| 1652 |
< |
$as_echo "$as_me: failed program was:" >&5 |
| 1651 |
> |
else $as_nop |
| 1652 |
> |
printf "%s\n" "$as_me: failed program was:" >&5 |
| 1653 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 1654 |
|
|
| 1655 |
|
ac_retval=1 |
| 1665 |
|
ac_fn_c_try_link () |
| 1666 |
|
{ |
| 1667 |
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 1668 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 1668 |
> |
rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext |
| 1669 |
|
if { { ac_try="$ac_link" |
| 1670 |
|
case "(($ac_try" in |
| 1671 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 1672 |
|
*) ac_try_echo=$ac_try;; |
| 1673 |
|
esac |
| 1674 |
|
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 1675 |
< |
$as_echo "$ac_try_echo"; } >&5 |
| 1675 |
> |
printf "%s\n" "$ac_try_echo"; } >&5 |
| 1676 |
|
(eval "$ac_link") 2>conftest.err |
| 1677 |
|
ac_status=$? |
| 1678 |
|
if test -s conftest.err; then |
| 1680 |
|
cat conftest.er1 >&5 |
| 1681 |
|
mv -f conftest.er1 conftest.err |
| 1682 |
|
fi |
| 1683 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 1683 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 1684 |
|
test $ac_status = 0; } && { |
| 1685 |
|
test -z "$ac_c_werror_flag" || |
| 1686 |
|
test ! -s conftest.err |
| 1687 |
|
} && test -s conftest$ac_exeext && { |
| 1688 |
|
test "$cross_compiling" = yes || |
| 1689 |
|
test -x conftest$ac_exeext |
| 1690 |
< |
}; then : |
| 1690 |
> |
} |
| 1691 |
> |
then : |
| 1692 |
|
ac_retval=0 |
| 1693 |
< |
else |
| 1694 |
< |
$as_echo "$as_me: failed program was:" >&5 |
| 1693 |
> |
else $as_nop |
| 1694 |
> |
printf "%s\n" "$as_me: failed program was:" >&5 |
| 1695 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 1696 |
|
|
| 1697 |
|
ac_retval=1 |
| 1713 |
|
ac_fn_c_check_header_compile () |
| 1714 |
|
{ |
| 1715 |
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 1716 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
| 1717 |
< |
$as_echo_n "checking for $2... " >&6; } |
| 1718 |
< |
if eval \${$3+:} false; then : |
| 1719 |
< |
$as_echo_n "(cached) " >&6 |
| 1720 |
< |
else |
| 1716 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
| 1717 |
> |
printf %s "checking for $2... " >&6; } |
| 1718 |
> |
if eval test \${$3+y} |
| 1719 |
> |
then : |
| 1720 |
> |
printf %s "(cached) " >&6 |
| 1721 |
> |
else $as_nop |
| 1722 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 1723 |
|
/* end confdefs.h. */ |
| 1724 |
|
$4 |
| 1725 |
|
#include <$2> |
| 1726 |
|
_ACEOF |
| 1727 |
< |
if ac_fn_c_try_compile "$LINENO"; then : |
| 1727 |
> |
if ac_fn_c_try_compile "$LINENO" |
| 1728 |
> |
then : |
| 1729 |
|
eval "$3=yes" |
| 1730 |
< |
else |
| 1730 |
> |
else $as_nop |
| 1731 |
|
eval "$3=no" |
| 1732 |
|
fi |
| 1733 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 1733 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 1734 |
|
fi |
| 1735 |
|
eval ac_res=\$$3 |
| 1736 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 1737 |
< |
$as_echo "$ac_res" >&6; } |
| 1736 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 1737 |
> |
printf "%s\n" "$ac_res" >&6; } |
| 1738 |
|
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 1739 |
|
|
| 1740 |
|
} # ac_fn_c_check_header_compile |
| 1741 |
|
|
| 1700 |
– |
# ac_fn_c_try_cpp LINENO |
| 1701 |
– |
# ---------------------- |
| 1702 |
– |
# Try to preprocess conftest.$ac_ext, and return whether this succeeded. |
| 1703 |
– |
ac_fn_c_try_cpp () |
| 1704 |
– |
{ |
| 1705 |
– |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 1706 |
– |
if { { ac_try="$ac_cpp conftest.$ac_ext" |
| 1707 |
– |
case "(($ac_try" in |
| 1708 |
– |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 1709 |
– |
*) ac_try_echo=$ac_try;; |
| 1710 |
– |
esac |
| 1711 |
– |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 1712 |
– |
$as_echo "$ac_try_echo"; } >&5 |
| 1713 |
– |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err |
| 1714 |
– |
ac_status=$? |
| 1715 |
– |
if test -s conftest.err; then |
| 1716 |
– |
grep -v '^ *+' conftest.err >conftest.er1 |
| 1717 |
– |
cat conftest.er1 >&5 |
| 1718 |
– |
mv -f conftest.er1 conftest.err |
| 1719 |
– |
fi |
| 1720 |
– |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 1721 |
– |
test $ac_status = 0; } > conftest.i && { |
| 1722 |
– |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 1723 |
– |
test ! -s conftest.err |
| 1724 |
– |
}; then : |
| 1725 |
– |
ac_retval=0 |
| 1726 |
– |
else |
| 1727 |
– |
$as_echo "$as_me: failed program was:" >&5 |
| 1728 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 1729 |
– |
|
| 1730 |
– |
ac_retval=1 |
| 1731 |
– |
fi |
| 1732 |
– |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 1733 |
– |
as_fn_set_status $ac_retval |
| 1734 |
– |
|
| 1735 |
– |
} # ac_fn_c_try_cpp |
| 1736 |
– |
|
| 1737 |
– |
# ac_fn_c_try_run LINENO |
| 1738 |
– |
# ---------------------- |
| 1739 |
– |
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes |
| 1740 |
– |
# that executables *can* be run. |
| 1741 |
– |
ac_fn_c_try_run () |
| 1742 |
– |
{ |
| 1743 |
– |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 1744 |
– |
if { { ac_try="$ac_link" |
| 1745 |
– |
case "(($ac_try" in |
| 1746 |
– |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 1747 |
– |
*) ac_try_echo=$ac_try;; |
| 1748 |
– |
esac |
| 1749 |
– |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 1750 |
– |
$as_echo "$ac_try_echo"; } >&5 |
| 1751 |
– |
(eval "$ac_link") 2>&5 |
| 1752 |
– |
ac_status=$? |
| 1753 |
– |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 1754 |
– |
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' |
| 1755 |
– |
{ { case "(($ac_try" in |
| 1756 |
– |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 1757 |
– |
*) ac_try_echo=$ac_try;; |
| 1758 |
– |
esac |
| 1759 |
– |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 1760 |
– |
$as_echo "$ac_try_echo"; } >&5 |
| 1761 |
– |
(eval "$ac_try") 2>&5 |
| 1762 |
– |
ac_status=$? |
| 1763 |
– |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 1764 |
– |
test $ac_status = 0; }; }; then : |
| 1765 |
– |
ac_retval=0 |
| 1766 |
– |
else |
| 1767 |
– |
$as_echo "$as_me: program exited with status $ac_status" >&5 |
| 1768 |
– |
$as_echo "$as_me: failed program was:" >&5 |
| 1769 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 1770 |
– |
|
| 1771 |
– |
ac_retval=$ac_status |
| 1772 |
– |
fi |
| 1773 |
– |
rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
| 1774 |
– |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 1775 |
– |
as_fn_set_status $ac_retval |
| 1776 |
– |
|
| 1777 |
– |
} # ac_fn_c_try_run |
| 1778 |
– |
|
| 1742 |
|
# ac_fn_c_check_func LINENO FUNC VAR |
| 1743 |
|
# ---------------------------------- |
| 1744 |
|
# Tests whether FUNC exists, setting the cache variable VAR accordingly |
| 1745 |
|
ac_fn_c_check_func () |
| 1746 |
|
{ |
| 1747 |
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 1748 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
| 1749 |
< |
$as_echo_n "checking for $2... " >&6; } |
| 1750 |
< |
if eval \${$3+:} false; then : |
| 1751 |
< |
$as_echo_n "(cached) " >&6 |
| 1752 |
< |
else |
| 1748 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
| 1749 |
> |
printf %s "checking for $2... " >&6; } |
| 1750 |
> |
if eval test \${$3+y} |
| 1751 |
> |
then : |
| 1752 |
> |
printf %s "(cached) " >&6 |
| 1753 |
> |
else $as_nop |
| 1754 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 1755 |
|
/* end confdefs.h. */ |
| 1756 |
|
/* Define $2 to an innocuous variant, in case <limits.h> declares $2. |
| 1758 |
|
#define $2 innocuous_$2 |
| 1759 |
|
|
| 1760 |
|
/* System header to define __stub macros and hopefully few prototypes, |
| 1761 |
< |
which can conflict with char $2 (); below. |
| 1798 |
< |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 1799 |
< |
<limits.h> exists even on freestanding compilers. */ |
| 1800 |
< |
|
| 1801 |
< |
#ifdef __STDC__ |
| 1802 |
< |
# include <limits.h> |
| 1803 |
< |
#else |
| 1804 |
< |
# include <assert.h> |
| 1805 |
< |
#endif |
| 1761 |
> |
which can conflict with char $2 (); below. */ |
| 1762 |
|
|
| 1763 |
+ |
#include <limits.h> |
| 1764 |
|
#undef $2 |
| 1765 |
|
|
| 1766 |
|
/* Override any GCC internal prototype to avoid an error. |
| 1778 |
|
#endif |
| 1779 |
|
|
| 1780 |
|
int |
| 1781 |
< |
main () |
| 1781 |
> |
main (void) |
| 1782 |
|
{ |
| 1783 |
|
return $2 (); |
| 1784 |
|
; |
| 1785 |
|
return 0; |
| 1786 |
|
} |
| 1787 |
|
_ACEOF |
| 1788 |
< |
if ac_fn_c_try_link "$LINENO"; then : |
| 1788 |
> |
if ac_fn_c_try_link "$LINENO" |
| 1789 |
> |
then : |
| 1790 |
|
eval "$3=yes" |
| 1791 |
< |
else |
| 1791 |
> |
else $as_nop |
| 1792 |
|
eval "$3=no" |
| 1793 |
|
fi |
| 1794 |
< |
rm -f core conftest.err conftest.$ac_objext \ |
| 1794 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 1795 |
|
conftest$ac_exeext conftest.$ac_ext |
| 1796 |
|
fi |
| 1797 |
|
eval ac_res=\$$3 |
| 1798 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 1799 |
< |
$as_echo "$ac_res" >&6; } |
| 1798 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 1799 |
> |
printf "%s\n" "$ac_res" >&6; } |
| 1800 |
|
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 1801 |
|
|
| 1802 |
|
} # ac_fn_c_check_func |
| 1803 |
|
|
| 1804 |
< |
# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES |
| 1805 |
< |
# --------------------------------------------- |
| 1804 |
> |
# ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR |
| 1805 |
> |
# ------------------------------------------------------------------ |
| 1806 |
|
# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR |
| 1807 |
< |
# accordingly. |
| 1808 |
< |
ac_fn_c_check_decl () |
| 1807 |
> |
# accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR. |
| 1808 |
> |
ac_fn_check_decl () |
| 1809 |
|
{ |
| 1810 |
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 1811 |
|
as_decl_name=`echo $2|sed 's/ *(.*//'` |
| 1812 |
+ |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 |
| 1813 |
+ |
printf %s "checking whether $as_decl_name is declared... " >&6; } |
| 1814 |
+ |
if eval test \${$3+y} |
| 1815 |
+ |
then : |
| 1816 |
+ |
printf %s "(cached) " >&6 |
| 1817 |
+ |
else $as_nop |
| 1818 |
|
as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` |
| 1819 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 |
| 1820 |
< |
$as_echo_n "checking whether $as_decl_name is declared... " >&6; } |
| 1857 |
< |
if eval \${$3+:} false; then : |
| 1858 |
< |
$as_echo_n "(cached) " >&6 |
| 1859 |
< |
else |
| 1819 |
> |
eval ac_save_FLAGS=\$$6 |
| 1820 |
> |
as_fn_append $6 " $5" |
| 1821 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 1822 |
|
/* end confdefs.h. */ |
| 1823 |
|
$4 |
| 1824 |
|
int |
| 1825 |
< |
main () |
| 1825 |
> |
main (void) |
| 1826 |
|
{ |
| 1827 |
|
#ifndef $as_decl_name |
| 1828 |
|
#ifdef __cplusplus |
| 1836 |
|
return 0; |
| 1837 |
|
} |
| 1838 |
|
_ACEOF |
| 1839 |
< |
if ac_fn_c_try_compile "$LINENO"; then : |
| 1839 |
> |
if ac_fn_c_try_compile "$LINENO" |
| 1840 |
> |
then : |
| 1841 |
|
eval "$3=yes" |
| 1842 |
< |
else |
| 1842 |
> |
else $as_nop |
| 1843 |
|
eval "$3=no" |
| 1844 |
|
fi |
| 1845 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 1845 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 1846 |
> |
eval $6=\$ac_save_FLAGS |
| 1847 |
> |
|
| 1848 |
|
fi |
| 1849 |
|
eval ac_res=\$$3 |
| 1850 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 1851 |
< |
$as_echo "$ac_res" >&6; } |
| 1850 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 1851 |
> |
printf "%s\n" "$ac_res" >&6; } |
| 1852 |
|
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 1853 |
|
|
| 1854 |
< |
} # ac_fn_c_check_decl |
| 1854 |
> |
} # ac_fn_check_decl |
| 1855 |
|
|
| 1856 |
|
# ac_fn_c_check_type LINENO TYPE VAR INCLUDES |
| 1857 |
|
# ------------------------------------------- |
| 1860 |
|
ac_fn_c_check_type () |
| 1861 |
|
{ |
| 1862 |
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 1863 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
| 1864 |
< |
$as_echo_n "checking for $2... " >&6; } |
| 1865 |
< |
if eval \${$3+:} false; then : |
| 1866 |
< |
$as_echo_n "(cached) " >&6 |
| 1867 |
< |
else |
| 1863 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
| 1864 |
> |
printf %s "checking for $2... " >&6; } |
| 1865 |
> |
if eval test \${$3+y} |
| 1866 |
> |
then : |
| 1867 |
> |
printf %s "(cached) " >&6 |
| 1868 |
> |
else $as_nop |
| 1869 |
|
eval "$3=no" |
| 1870 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 1871 |
|
/* end confdefs.h. */ |
| 1872 |
|
$4 |
| 1873 |
|
int |
| 1874 |
< |
main () |
| 1874 |
> |
main (void) |
| 1875 |
|
{ |
| 1876 |
|
if (sizeof ($2)) |
| 1877 |
|
return 0; |
| 1879 |
|
return 0; |
| 1880 |
|
} |
| 1881 |
|
_ACEOF |
| 1882 |
< |
if ac_fn_c_try_compile "$LINENO"; then : |
| 1882 |
> |
if ac_fn_c_try_compile "$LINENO" |
| 1883 |
> |
then : |
| 1884 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 1885 |
|
/* end confdefs.h. */ |
| 1886 |
|
$4 |
| 1887 |
|
int |
| 1888 |
< |
main () |
| 1888 |
> |
main (void) |
| 1889 |
|
{ |
| 1890 |
|
if (sizeof (($2))) |
| 1891 |
|
return 0; |
| 1893 |
|
return 0; |
| 1894 |
|
} |
| 1895 |
|
_ACEOF |
| 1896 |
< |
if ac_fn_c_try_compile "$LINENO"; then : |
| 1896 |
> |
if ac_fn_c_try_compile "$LINENO" |
| 1897 |
> |
then : |
| 1898 |
|
|
| 1899 |
< |
else |
| 1899 |
> |
else $as_nop |
| 1900 |
|
eval "$3=yes" |
| 1901 |
|
fi |
| 1902 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 1902 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 1903 |
|
fi |
| 1904 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 1904 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 1905 |
|
fi |
| 1906 |
|
eval ac_res=\$$3 |
| 1907 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 1908 |
< |
$as_echo "$ac_res" >&6; } |
| 1907 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 1908 |
> |
printf "%s\n" "$ac_res" >&6; } |
| 1909 |
|
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 1910 |
|
|
| 1911 |
|
} # ac_fn_c_check_type |
| 1912 |
|
|
| 1913 |
< |
# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES |
| 1914 |
< |
# ---------------------------------------------------- |
| 1915 |
< |
# Tries to find if the field MEMBER exists in type AGGR, after including |
| 1916 |
< |
# INCLUDES, setting cache variable VAR accordingly. |
| 1917 |
< |
ac_fn_c_check_member () |
| 1913 |
> |
# ac_fn_c_try_run LINENO |
| 1914 |
> |
# ---------------------- |
| 1915 |
> |
# Try to run conftest.$ac_ext, and return whether this succeeded. Assumes that |
| 1916 |
> |
# executables *can* be run. |
| 1917 |
> |
ac_fn_c_try_run () |
| 1918 |
|
{ |
| 1919 |
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 1920 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 |
| 1921 |
< |
$as_echo_n "checking for $2.$3... " >&6; } |
| 1922 |
< |
if eval \${$4+:} false; then : |
| 1923 |
< |
$as_echo_n "(cached) " >&6 |
| 1924 |
< |
else |
| 1925 |
< |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 1926 |
< |
/* end confdefs.h. */ |
| 1927 |
< |
$5 |
| 1928 |
< |
int |
| 1929 |
< |
main () |
| 1930 |
< |
{ |
| 1931 |
< |
static $2 ac_aggr; |
| 1932 |
< |
if (ac_aggr.$3) |
| 1933 |
< |
return 0; |
| 1934 |
< |
; |
| 1935 |
< |
return 0; |
| 1936 |
< |
} |
| 1937 |
< |
_ACEOF |
| 1938 |
< |
if ac_fn_c_try_compile "$LINENO"; then : |
| 1939 |
< |
eval "$4=yes" |
| 1940 |
< |
else |
| 1941 |
< |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 1942 |
< |
/* end confdefs.h. */ |
| 1943 |
< |
$5 |
| 1944 |
< |
int |
| 1945 |
< |
main () |
| 1946 |
< |
{ |
| 1947 |
< |
static $2 ac_aggr; |
| 1948 |
< |
if (sizeof ac_aggr.$3) |
| 1982 |
< |
return 0; |
| 1983 |
< |
; |
| 1984 |
< |
return 0; |
| 1985 |
< |
} |
| 1986 |
< |
_ACEOF |
| 1987 |
< |
if ac_fn_c_try_compile "$LINENO"; then : |
| 1988 |
< |
eval "$4=yes" |
| 1989 |
< |
else |
| 1990 |
< |
eval "$4=no" |
| 1991 |
< |
fi |
| 1992 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 1993 |
< |
fi |
| 1994 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 1920 |
> |
if { { ac_try="$ac_link" |
| 1921 |
> |
case "(($ac_try" in |
| 1922 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 1923 |
> |
*) ac_try_echo=$ac_try;; |
| 1924 |
> |
esac |
| 1925 |
> |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 1926 |
> |
printf "%s\n" "$ac_try_echo"; } >&5 |
| 1927 |
> |
(eval "$ac_link") 2>&5 |
| 1928 |
> |
ac_status=$? |
| 1929 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 1930 |
> |
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' |
| 1931 |
> |
{ { case "(($ac_try" in |
| 1932 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 1933 |
> |
*) ac_try_echo=$ac_try;; |
| 1934 |
> |
esac |
| 1935 |
> |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 1936 |
> |
printf "%s\n" "$ac_try_echo"; } >&5 |
| 1937 |
> |
(eval "$ac_try") 2>&5 |
| 1938 |
> |
ac_status=$? |
| 1939 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 1940 |
> |
test $ac_status = 0; }; } |
| 1941 |
> |
then : |
| 1942 |
> |
ac_retval=0 |
| 1943 |
> |
else $as_nop |
| 1944 |
> |
printf "%s\n" "$as_me: program exited with status $ac_status" >&5 |
| 1945 |
> |
printf "%s\n" "$as_me: failed program was:" >&5 |
| 1946 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 1947 |
> |
|
| 1948 |
> |
ac_retval=$ac_status |
| 1949 |
|
fi |
| 1950 |
< |
eval ac_res=\$$4 |
| 1997 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 1998 |
< |
$as_echo "$ac_res" >&6; } |
| 1950 |
> |
rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
| 1951 |
|
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 1952 |
+ |
as_fn_set_status $ac_retval |
| 1953 |
|
|
| 1954 |
< |
} # ac_fn_c_check_member |
| 1954 |
> |
} # ac_fn_c_try_run |
| 1955 |
> |
ac_configure_args_raw= |
| 1956 |
> |
for ac_arg |
| 1957 |
> |
do |
| 1958 |
> |
case $ac_arg in |
| 1959 |
> |
*\'*) |
| 1960 |
> |
ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 1961 |
> |
esac |
| 1962 |
> |
as_fn_append ac_configure_args_raw " '$ac_arg'" |
| 1963 |
> |
done |
| 1964 |
|
|
| 1965 |
< |
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES |
| 1966 |
< |
# ------------------------------------------------------- |
| 1967 |
< |
# Tests whether HEADER exists, giving a warning if it cannot be compiled using |
| 1968 |
< |
# the include files in INCLUDES and setting the cache variable VAR |
| 1969 |
< |
# accordingly. |
| 1970 |
< |
ac_fn_c_check_header_mongrel () |
| 1971 |
< |
{ |
| 1972 |
< |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 1973 |
< |
if eval \${$3+:} false; then : |
| 2012 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
| 2013 |
< |
$as_echo_n "checking for $2... " >&6; } |
| 2014 |
< |
if eval \${$3+:} false; then : |
| 2015 |
< |
$as_echo_n "(cached) " >&6 |
| 2016 |
< |
fi |
| 2017 |
< |
eval ac_res=\$$3 |
| 2018 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 2019 |
< |
$as_echo "$ac_res" >&6; } |
| 2020 |
< |
else |
| 2021 |
< |
# Is the header compilable? |
| 2022 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 |
| 2023 |
< |
$as_echo_n "checking $2 usability... " >&6; } |
| 2024 |
< |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 2025 |
< |
/* end confdefs.h. */ |
| 2026 |
< |
$4 |
| 2027 |
< |
#include <$2> |
| 2028 |
< |
_ACEOF |
| 2029 |
< |
if ac_fn_c_try_compile "$LINENO"; then : |
| 2030 |
< |
ac_header_compiler=yes |
| 2031 |
< |
else |
| 2032 |
< |
ac_header_compiler=no |
| 2033 |
< |
fi |
| 2034 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2035 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 |
| 2036 |
< |
$as_echo "$ac_header_compiler" >&6; } |
| 2037 |
< |
|
| 2038 |
< |
# Is the header present? |
| 2039 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 |
| 2040 |
< |
$as_echo_n "checking $2 presence... " >&6; } |
| 2041 |
< |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 2042 |
< |
/* end confdefs.h. */ |
| 2043 |
< |
#include <$2> |
| 2044 |
< |
_ACEOF |
| 2045 |
< |
if ac_fn_c_try_cpp "$LINENO"; then : |
| 2046 |
< |
ac_header_preproc=yes |
| 2047 |
< |
else |
| 2048 |
< |
ac_header_preproc=no |
| 2049 |
< |
fi |
| 2050 |
< |
rm -f conftest.err conftest.i conftest.$ac_ext |
| 2051 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 |
| 2052 |
< |
$as_echo "$ac_header_preproc" >&6; } |
| 2053 |
< |
|
| 2054 |
< |
# So? What about this header? |
| 2055 |
< |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( |
| 2056 |
< |
yes:no: ) |
| 2057 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 |
| 2058 |
< |
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} |
| 2059 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
| 2060 |
< |
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
| 2061 |
< |
;; |
| 2062 |
< |
no:yes:* ) |
| 2063 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 |
| 2064 |
< |
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} |
| 2065 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 |
| 2066 |
< |
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} |
| 2067 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 |
| 2068 |
< |
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} |
| 2069 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 |
| 2070 |
< |
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} |
| 2071 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
| 2072 |
< |
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
| 2073 |
< |
( $as_echo "## ----------------------------------- ## |
| 2074 |
< |
## Report this to bugs@ircd-hybrid.org ## |
| 2075 |
< |
## ----------------------------------- ##" |
| 2076 |
< |
) | sed "s/^/$as_me: WARNING: /" >&2 |
| 2077 |
< |
;; |
| 2078 |
< |
esac |
| 2079 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
| 2080 |
< |
$as_echo_n "checking for $2... " >&6; } |
| 2081 |
< |
if eval \${$3+:} false; then : |
| 2082 |
< |
$as_echo_n "(cached) " >&6 |
| 2083 |
< |
else |
| 2084 |
< |
eval "$3=\$ac_header_compiler" |
| 2085 |
< |
fi |
| 2086 |
< |
eval ac_res=\$$3 |
| 2087 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 2088 |
< |
$as_echo "$ac_res" >&6; } |
| 2089 |
< |
fi |
| 2090 |
< |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 1965 |
> |
case $ac_configure_args_raw in |
| 1966 |
> |
*$as_nl*) |
| 1967 |
> |
ac_safe_unquote= ;; |
| 1968 |
> |
*) |
| 1969 |
> |
ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab. |
| 1970 |
> |
ac_unsafe_a="$ac_unsafe_z#~" |
| 1971 |
> |
ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g" |
| 1972 |
> |
ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;; |
| 1973 |
> |
esac |
| 1974 |
|
|
| 2092 |
– |
} # ac_fn_c_check_header_mongrel |
| 1975 |
|
cat >config.log <<_ACEOF |
| 1976 |
|
This file contains any messages produced by compilers while |
| 1977 |
|
running configure, to aid debugging if configure makes a mistake. |
| 1978 |
|
|
| 1979 |
< |
It was created by ircd-hybrid $as_me TRUNK, which was |
| 1980 |
< |
generated by GNU Autoconf 2.69. Invocation command line was |
| 1979 |
> |
It was created by ircd-hybrid $as_me 8.2.41, which was |
| 1980 |
> |
generated by GNU Autoconf 2.71. Invocation command line was |
| 1981 |
|
|
| 1982 |
< |
$ $0 $@ |
| 1982 |
> |
$ $0$ac_configure_args_raw |
| 1983 |
|
|
| 1984 |
|
_ACEOF |
| 1985 |
|
exec 5>>config.log |
| 2012 |
|
for as_dir in $PATH |
| 2013 |
|
do |
| 2014 |
|
IFS=$as_save_IFS |
| 2015 |
< |
test -z "$as_dir" && as_dir=. |
| 2016 |
< |
$as_echo "PATH: $as_dir" |
| 2015 |
> |
case $as_dir in #((( |
| 2016 |
> |
'') as_dir=./ ;; |
| 2017 |
> |
*/) ;; |
| 2018 |
> |
*) as_dir=$as_dir/ ;; |
| 2019 |
> |
esac |
| 2020 |
> |
printf "%s\n" "PATH: $as_dir" |
| 2021 |
|
done |
| 2022 |
|
IFS=$as_save_IFS |
| 2023 |
|
|
| 2052 |
|
| -silent | --silent | --silen | --sile | --sil) |
| 2053 |
|
continue ;; |
| 2054 |
|
*\'*) |
| 2055 |
< |
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 2055 |
> |
ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 2056 |
|
esac |
| 2057 |
|
case $ac_pass in |
| 2058 |
|
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; |
| 2087 |
|
# WARNING: Use '\'' to represent an apostrophe within the trap. |
| 2088 |
|
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. |
| 2089 |
|
trap 'exit_status=$? |
| 2090 |
+ |
# Sanitize IFS. |
| 2091 |
+ |
IFS=" "" $as_nl" |
| 2092 |
|
# Save into config.log some information that might help in debugging. |
| 2093 |
|
{ |
| 2094 |
|
echo |
| 2095 |
|
|
| 2096 |
< |
$as_echo "## ---------------- ## |
| 2096 |
> |
printf "%s\n" "## ---------------- ## |
| 2097 |
|
## Cache variables. ## |
| 2098 |
|
## ---------------- ##" |
| 2099 |
|
echo |
| 2104 |
|
case $ac_val in #( |
| 2105 |
|
*${as_nl}*) |
| 2106 |
|
case $ac_var in #( |
| 2107 |
< |
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
| 2108 |
< |
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
| 2107 |
> |
*_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
| 2108 |
> |
printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
| 2109 |
|
esac |
| 2110 |
|
case $ac_var in #( |
| 2111 |
|
_ | IFS | as_nl) ;; #( |
| 2129 |
|
) |
| 2130 |
|
echo |
| 2131 |
|
|
| 2132 |
< |
$as_echo "## ----------------- ## |
| 2132 |
> |
printf "%s\n" "## ----------------- ## |
| 2133 |
|
## Output variables. ## |
| 2134 |
|
## ----------------- ##" |
| 2135 |
|
echo |
| 2137 |
|
do |
| 2138 |
|
eval ac_val=\$$ac_var |
| 2139 |
|
case $ac_val in |
| 2140 |
< |
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
| 2140 |
> |
*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
| 2141 |
|
esac |
| 2142 |
< |
$as_echo "$ac_var='\''$ac_val'\''" |
| 2142 |
> |
printf "%s\n" "$ac_var='\''$ac_val'\''" |
| 2143 |
|
done | sort |
| 2144 |
|
echo |
| 2145 |
|
|
| 2146 |
|
if test -n "$ac_subst_files"; then |
| 2147 |
< |
$as_echo "## ------------------- ## |
| 2147 |
> |
printf "%s\n" "## ------------------- ## |
| 2148 |
|
## File substitutions. ## |
| 2149 |
|
## ------------------- ##" |
| 2150 |
|
echo |
| 2152 |
|
do |
| 2153 |
|
eval ac_val=\$$ac_var |
| 2154 |
|
case $ac_val in |
| 2155 |
< |
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
| 2155 |
> |
*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
| 2156 |
|
esac |
| 2157 |
< |
$as_echo "$ac_var='\''$ac_val'\''" |
| 2157 |
> |
printf "%s\n" "$ac_var='\''$ac_val'\''" |
| 2158 |
|
done | sort |
| 2159 |
|
echo |
| 2160 |
|
fi |
| 2161 |
|
|
| 2162 |
|
if test -s confdefs.h; then |
| 2163 |
< |
$as_echo "## ----------- ## |
| 2163 |
> |
printf "%s\n" "## ----------- ## |
| 2164 |
|
## confdefs.h. ## |
| 2165 |
|
## ----------- ##" |
| 2166 |
|
echo |
| 2168 |
|
echo |
| 2169 |
|
fi |
| 2170 |
|
test "$ac_signal" != 0 && |
| 2171 |
< |
$as_echo "$as_me: caught signal $ac_signal" |
| 2172 |
< |
$as_echo "$as_me: exit $exit_status" |
| 2171 |
> |
printf "%s\n" "$as_me: caught signal $ac_signal" |
| 2172 |
> |
printf "%s\n" "$as_me: exit $exit_status" |
| 2173 |
|
} >&5 |
| 2174 |
|
rm -f core *.core core.conftest.* && |
| 2175 |
|
rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
| 2183 |
|
# confdefs.h avoids OS command line length limits that DEFS can exceed. |
| 2184 |
|
rm -f -r conftest* confdefs.h |
| 2185 |
|
|
| 2186 |
< |
$as_echo "/* confdefs.h */" > confdefs.h |
| 2186 |
> |
printf "%s\n" "/* confdefs.h */" > confdefs.h |
| 2187 |
|
|
| 2188 |
|
# Predefined preprocessor variables. |
| 2189 |
|
|
| 2190 |
< |
cat >>confdefs.h <<_ACEOF |
| 2303 |
< |
#define PACKAGE_NAME "$PACKAGE_NAME" |
| 2304 |
< |
_ACEOF |
| 2190 |
> |
printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h |
| 2191 |
|
|
| 2192 |
< |
cat >>confdefs.h <<_ACEOF |
| 2307 |
< |
#define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
| 2308 |
< |
_ACEOF |
| 2192 |
> |
printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h |
| 2193 |
|
|
| 2194 |
< |
cat >>confdefs.h <<_ACEOF |
| 2311 |
< |
#define PACKAGE_VERSION "$PACKAGE_VERSION" |
| 2312 |
< |
_ACEOF |
| 2194 |
> |
printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h |
| 2195 |
|
|
| 2196 |
< |
cat >>confdefs.h <<_ACEOF |
| 2315 |
< |
#define PACKAGE_STRING "$PACKAGE_STRING" |
| 2316 |
< |
_ACEOF |
| 2196 |
> |
printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h |
| 2197 |
|
|
| 2198 |
< |
cat >>confdefs.h <<_ACEOF |
| 2319 |
< |
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
| 2320 |
< |
_ACEOF |
| 2198 |
> |
printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h |
| 2199 |
|
|
| 2200 |
< |
cat >>confdefs.h <<_ACEOF |
| 2323 |
< |
#define PACKAGE_URL "$PACKAGE_URL" |
| 2324 |
< |
_ACEOF |
| 2200 |
> |
printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h |
| 2201 |
|
|
| 2202 |
|
|
| 2203 |
|
# Let the site file select an alternate cache file if it wants to. |
| 2204 |
|
# Prefer an explicitly selected file to automatically selected ones. |
| 2329 |
– |
ac_site_file1=NONE |
| 2330 |
– |
ac_site_file2=NONE |
| 2205 |
|
if test -n "$CONFIG_SITE"; then |
| 2206 |
< |
# We do not want a PATH search for config.site. |
| 2333 |
< |
case $CONFIG_SITE in #(( |
| 2334 |
< |
-*) ac_site_file1=./$CONFIG_SITE;; |
| 2335 |
< |
*/*) ac_site_file1=$CONFIG_SITE;; |
| 2336 |
< |
*) ac_site_file1=./$CONFIG_SITE;; |
| 2337 |
< |
esac |
| 2206 |
> |
ac_site_files="$CONFIG_SITE" |
| 2207 |
|
elif test "x$prefix" != xNONE; then |
| 2208 |
< |
ac_site_file1=$prefix/share/config.site |
| 2340 |
< |
ac_site_file2=$prefix/etc/config.site |
| 2208 |
> |
ac_site_files="$prefix/share/config.site $prefix/etc/config.site" |
| 2209 |
|
else |
| 2210 |
< |
ac_site_file1=$ac_default_prefix/share/config.site |
| 2343 |
< |
ac_site_file2=$ac_default_prefix/etc/config.site |
| 2210 |
> |
ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" |
| 2211 |
|
fi |
| 2212 |
< |
for ac_site_file in "$ac_site_file1" "$ac_site_file2" |
| 2212 |
> |
|
| 2213 |
> |
for ac_site_file in $ac_site_files |
| 2214 |
|
do |
| 2215 |
< |
test "x$ac_site_file" = xNONE && continue |
| 2216 |
< |
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then |
| 2217 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
| 2218 |
< |
$as_echo "$as_me: loading site script $ac_site_file" >&6;} |
| 2215 |
> |
case $ac_site_file in #( |
| 2216 |
> |
*/*) : |
| 2217 |
> |
;; #( |
| 2218 |
> |
*) : |
| 2219 |
> |
ac_site_file=./$ac_site_file ;; |
| 2220 |
> |
esac |
| 2221 |
> |
if test -f "$ac_site_file" && test -r "$ac_site_file"; then |
| 2222 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
| 2223 |
> |
printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;} |
| 2224 |
|
sed 's/^/| /' "$ac_site_file" >&5 |
| 2225 |
|
. "$ac_site_file" \ |
| 2226 |
< |
|| { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 2227 |
< |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 2226 |
> |
|| { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 2227 |
> |
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 2228 |
|
as_fn_error $? "failed to load site script $ac_site_file |
| 2229 |
|
See \`config.log' for more details" "$LINENO" 5; } |
| 2230 |
|
fi |
| 2234 |
|
# Some versions of bash will fail to source /dev/null (special files |
| 2235 |
|
# actually), so we avoid doing that. DJGPP emulates it as a regular file. |
| 2236 |
|
if test /dev/null != "$cache_file" && test -f "$cache_file"; then |
| 2237 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 |
| 2238 |
< |
$as_echo "$as_me: loading cache $cache_file" >&6;} |
| 2237 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 |
| 2238 |
> |
printf "%s\n" "$as_me: loading cache $cache_file" >&6;} |
| 2239 |
|
case $cache_file in |
| 2240 |
|
[\\/]* | ?:[\\/]* ) . "$cache_file";; |
| 2241 |
|
*) . "./$cache_file";; |
| 2242 |
|
esac |
| 2243 |
|
fi |
| 2244 |
|
else |
| 2245 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 |
| 2246 |
< |
$as_echo "$as_me: creating cache $cache_file" >&6;} |
| 2245 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 |
| 2246 |
> |
printf "%s\n" "$as_me: creating cache $cache_file" >&6;} |
| 2247 |
|
>$cache_file |
| 2248 |
|
fi |
| 2249 |
|
|
| 2250 |
< |
as_fn_append ac_func_list " strtok_r" |
| 2251 |
< |
as_fn_append ac_func_list " usleep" |
| 2252 |
< |
as_fn_append ac_func_list " strlcat" |
| 2253 |
< |
as_fn_append ac_func_list " strlcpy" |
| 2254 |
< |
as_fn_append ac_header_list " crypt.h" |
| 2255 |
< |
as_fn_append ac_header_list " sys/resource.h" |
| 2256 |
< |
as_fn_append ac_header_list " sys/param.h" |
| 2257 |
< |
as_fn_append ac_header_list " types.h" |
| 2258 |
< |
as_fn_append ac_header_list " socket.h" |
| 2259 |
< |
as_fn_append ac_header_list " sys/wait.h" |
| 2260 |
< |
as_fn_append ac_header_list " wait.h" |
| 2250 |
> |
# Test code for whether the C compiler supports C89 (global declarations) |
| 2251 |
> |
ac_c_conftest_c89_globals=' |
| 2252 |
> |
/* Does the compiler advertise C89 conformance? |
| 2253 |
> |
Do not test the value of __STDC__, because some compilers set it to 0 |
| 2254 |
> |
while being otherwise adequately conformant. */ |
| 2255 |
> |
#if !defined __STDC__ |
| 2256 |
> |
# error "Compiler does not advertise C89 conformance" |
| 2257 |
> |
#endif |
| 2258 |
> |
|
| 2259 |
> |
#include <stddef.h> |
| 2260 |
> |
#include <stdarg.h> |
| 2261 |
> |
struct stat; |
| 2262 |
> |
/* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */ |
| 2263 |
> |
struct buf { int x; }; |
| 2264 |
> |
struct buf * (*rcsopen) (struct buf *, struct stat *, int); |
| 2265 |
> |
static char *e (p, i) |
| 2266 |
> |
char **p; |
| 2267 |
> |
int i; |
| 2268 |
> |
{ |
| 2269 |
> |
return p[i]; |
| 2270 |
> |
} |
| 2271 |
> |
static char *f (char * (*g) (char **, int), char **p, ...) |
| 2272 |
> |
{ |
| 2273 |
> |
char *s; |
| 2274 |
> |
va_list v; |
| 2275 |
> |
va_start (v,p); |
| 2276 |
> |
s = g (p, va_arg (v,int)); |
| 2277 |
> |
va_end (v); |
| 2278 |
> |
return s; |
| 2279 |
> |
} |
| 2280 |
> |
|
| 2281 |
> |
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
| 2282 |
> |
function prototypes and stuff, but not \xHH hex character constants. |
| 2283 |
> |
These do not provoke an error unfortunately, instead are silently treated |
| 2284 |
> |
as an "x". The following induces an error, until -std is added to get |
| 2285 |
> |
proper ANSI mode. Curiously \x00 != x always comes out true, for an |
| 2286 |
> |
array size at least. It is necessary to write \x00 == 0 to get something |
| 2287 |
> |
that is true only with -std. */ |
| 2288 |
> |
int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1]; |
| 2289 |
> |
|
| 2290 |
> |
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters |
| 2291 |
> |
inside strings and character constants. */ |
| 2292 |
> |
#define FOO(x) '\''x'\'' |
| 2293 |
> |
int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1]; |
| 2294 |
> |
|
| 2295 |
> |
int test (int i, double x); |
| 2296 |
> |
struct s1 {int (*f) (int a);}; |
| 2297 |
> |
struct s2 {int (*f) (double a);}; |
| 2298 |
> |
int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int), |
| 2299 |
> |
int, int);' |
| 2300 |
> |
|
| 2301 |
> |
# Test code for whether the C compiler supports C89 (body of main). |
| 2302 |
> |
ac_c_conftest_c89_main=' |
| 2303 |
> |
ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]); |
| 2304 |
> |
' |
| 2305 |
> |
|
| 2306 |
> |
# Test code for whether the C compiler supports C99 (global declarations) |
| 2307 |
> |
ac_c_conftest_c99_globals=' |
| 2308 |
> |
// Does the compiler advertise C99 conformance? |
| 2309 |
> |
#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L |
| 2310 |
> |
# error "Compiler does not advertise C99 conformance" |
| 2311 |
> |
#endif |
| 2312 |
> |
|
| 2313 |
> |
#include <stdbool.h> |
| 2314 |
> |
extern int puts (const char *); |
| 2315 |
> |
extern int printf (const char *, ...); |
| 2316 |
> |
extern int dprintf (int, const char *, ...); |
| 2317 |
> |
extern void *malloc (size_t); |
| 2318 |
> |
|
| 2319 |
> |
// Check varargs macros. These examples are taken from C99 6.10.3.5. |
| 2320 |
> |
// dprintf is used instead of fprintf to avoid needing to declare |
| 2321 |
> |
// FILE and stderr. |
| 2322 |
> |
#define debug(...) dprintf (2, __VA_ARGS__) |
| 2323 |
> |
#define showlist(...) puts (#__VA_ARGS__) |
| 2324 |
> |
#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) |
| 2325 |
> |
static void |
| 2326 |
> |
test_varargs_macros (void) |
| 2327 |
> |
{ |
| 2328 |
> |
int x = 1234; |
| 2329 |
> |
int y = 5678; |
| 2330 |
> |
debug ("Flag"); |
| 2331 |
> |
debug ("X = %d\n", x); |
| 2332 |
> |
showlist (The first, second, and third items.); |
| 2333 |
> |
report (x>y, "x is %d but y is %d", x, y); |
| 2334 |
> |
} |
| 2335 |
> |
|
| 2336 |
> |
// Check long long types. |
| 2337 |
> |
#define BIG64 18446744073709551615ull |
| 2338 |
> |
#define BIG32 4294967295ul |
| 2339 |
> |
#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) |
| 2340 |
> |
#if !BIG_OK |
| 2341 |
> |
#error "your preprocessor is broken" |
| 2342 |
> |
#endif |
| 2343 |
> |
#if BIG_OK |
| 2344 |
> |
#else |
| 2345 |
> |
#error "your preprocessor is broken" |
| 2346 |
> |
#endif |
| 2347 |
> |
static long long int bignum = -9223372036854775807LL; |
| 2348 |
> |
static unsigned long long int ubignum = BIG64; |
| 2349 |
> |
|
| 2350 |
> |
struct incomplete_array |
| 2351 |
> |
{ |
| 2352 |
> |
int datasize; |
| 2353 |
> |
double data[]; |
| 2354 |
> |
}; |
| 2355 |
> |
|
| 2356 |
> |
struct named_init { |
| 2357 |
> |
int number; |
| 2358 |
> |
const wchar_t *name; |
| 2359 |
> |
double average; |
| 2360 |
> |
}; |
| 2361 |
> |
|
| 2362 |
> |
typedef const char *ccp; |
| 2363 |
> |
|
| 2364 |
> |
static inline int |
| 2365 |
> |
test_restrict (ccp restrict text) |
| 2366 |
> |
{ |
| 2367 |
> |
// See if C++-style comments work. |
| 2368 |
> |
// Iterate through items via the restricted pointer. |
| 2369 |
> |
// Also check for declarations in for loops. |
| 2370 |
> |
for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i) |
| 2371 |
> |
continue; |
| 2372 |
> |
return 0; |
| 2373 |
> |
} |
| 2374 |
> |
|
| 2375 |
> |
// Check varargs and va_copy. |
| 2376 |
> |
static bool |
| 2377 |
> |
test_varargs (const char *format, ...) |
| 2378 |
> |
{ |
| 2379 |
> |
va_list args; |
| 2380 |
> |
va_start (args, format); |
| 2381 |
> |
va_list args_copy; |
| 2382 |
> |
va_copy (args_copy, args); |
| 2383 |
> |
|
| 2384 |
> |
const char *str = ""; |
| 2385 |
> |
int number = 0; |
| 2386 |
> |
float fnumber = 0; |
| 2387 |
> |
|
| 2388 |
> |
while (*format) |
| 2389 |
> |
{ |
| 2390 |
> |
switch (*format++) |
| 2391 |
> |
{ |
| 2392 |
> |
case '\''s'\'': // string |
| 2393 |
> |
str = va_arg (args_copy, const char *); |
| 2394 |
> |
break; |
| 2395 |
> |
case '\''d'\'': // int |
| 2396 |
> |
number = va_arg (args_copy, int); |
| 2397 |
> |
break; |
| 2398 |
> |
case '\''f'\'': // float |
| 2399 |
> |
fnumber = va_arg (args_copy, double); |
| 2400 |
> |
break; |
| 2401 |
> |
default: |
| 2402 |
> |
break; |
| 2403 |
> |
} |
| 2404 |
> |
} |
| 2405 |
> |
va_end (args_copy); |
| 2406 |
> |
va_end (args); |
| 2407 |
> |
|
| 2408 |
> |
return *str && number && fnumber; |
| 2409 |
> |
} |
| 2410 |
> |
' |
| 2411 |
> |
|
| 2412 |
> |
# Test code for whether the C compiler supports C99 (body of main). |
| 2413 |
> |
ac_c_conftest_c99_main=' |
| 2414 |
> |
// Check bool. |
| 2415 |
> |
_Bool success = false; |
| 2416 |
> |
success |= (argc != 0); |
| 2417 |
> |
|
| 2418 |
> |
// Check restrict. |
| 2419 |
> |
if (test_restrict ("String literal") == 0) |
| 2420 |
> |
success = true; |
| 2421 |
> |
char *restrict newvar = "Another string"; |
| 2422 |
> |
|
| 2423 |
> |
// Check varargs. |
| 2424 |
> |
success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234); |
| 2425 |
> |
test_varargs_macros (); |
| 2426 |
> |
|
| 2427 |
> |
// Check flexible array members. |
| 2428 |
> |
struct incomplete_array *ia = |
| 2429 |
> |
malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); |
| 2430 |
> |
ia->datasize = 10; |
| 2431 |
> |
for (int i = 0; i < ia->datasize; ++i) |
| 2432 |
> |
ia->data[i] = i * 1.234; |
| 2433 |
> |
|
| 2434 |
> |
// Check named initializers. |
| 2435 |
> |
struct named_init ni = { |
| 2436 |
> |
.number = 34, |
| 2437 |
> |
.name = L"Test wide string", |
| 2438 |
> |
.average = 543.34343, |
| 2439 |
> |
}; |
| 2440 |
> |
|
| 2441 |
> |
ni.number = 58; |
| 2442 |
> |
|
| 2443 |
> |
int dynamic_array[ni.number]; |
| 2444 |
> |
dynamic_array[0] = argv[0][0]; |
| 2445 |
> |
dynamic_array[ni.number - 1] = 543; |
| 2446 |
> |
|
| 2447 |
> |
// work around unused variable warnings |
| 2448 |
> |
ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\'' |
| 2449 |
> |
|| dynamic_array[ni.number - 1] != 543); |
| 2450 |
> |
' |
| 2451 |
> |
|
| 2452 |
> |
# Test code for whether the C compiler supports C11 (global declarations) |
| 2453 |
> |
ac_c_conftest_c11_globals=' |
| 2454 |
> |
// Does the compiler advertise C11 conformance? |
| 2455 |
> |
#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L |
| 2456 |
> |
# error "Compiler does not advertise C11 conformance" |
| 2457 |
> |
#endif |
| 2458 |
> |
|
| 2459 |
> |
// Check _Alignas. |
| 2460 |
> |
char _Alignas (double) aligned_as_double; |
| 2461 |
> |
char _Alignas (0) no_special_alignment; |
| 2462 |
> |
extern char aligned_as_int; |
| 2463 |
> |
char _Alignas (0) _Alignas (int) aligned_as_int; |
| 2464 |
> |
|
| 2465 |
> |
// Check _Alignof. |
| 2466 |
> |
enum |
| 2467 |
> |
{ |
| 2468 |
> |
int_alignment = _Alignof (int), |
| 2469 |
> |
int_array_alignment = _Alignof (int[100]), |
| 2470 |
> |
char_alignment = _Alignof (char) |
| 2471 |
> |
}; |
| 2472 |
> |
_Static_assert (0 < -_Alignof (int), "_Alignof is signed"); |
| 2473 |
> |
|
| 2474 |
> |
// Check _Noreturn. |
| 2475 |
> |
int _Noreturn does_not_return (void) { for (;;) continue; } |
| 2476 |
> |
|
| 2477 |
> |
// Check _Static_assert. |
| 2478 |
> |
struct test_static_assert |
| 2479 |
> |
{ |
| 2480 |
> |
int x; |
| 2481 |
> |
_Static_assert (sizeof (int) <= sizeof (long int), |
| 2482 |
> |
"_Static_assert does not work in struct"); |
| 2483 |
> |
long int y; |
| 2484 |
> |
}; |
| 2485 |
> |
|
| 2486 |
> |
// Check UTF-8 literals. |
| 2487 |
> |
#define u8 syntax error! |
| 2488 |
> |
char const utf8_literal[] = u8"happens to be ASCII" "another string"; |
| 2489 |
> |
|
| 2490 |
> |
// Check duplicate typedefs. |
| 2491 |
> |
typedef long *long_ptr; |
| 2492 |
> |
typedef long int *long_ptr; |
| 2493 |
> |
typedef long_ptr long_ptr; |
| 2494 |
> |
|
| 2495 |
> |
// Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1. |
| 2496 |
> |
struct anonymous |
| 2497 |
> |
{ |
| 2498 |
> |
union { |
| 2499 |
> |
struct { int i; int j; }; |
| 2500 |
> |
struct { int k; long int l; } w; |
| 2501 |
> |
}; |
| 2502 |
> |
int m; |
| 2503 |
> |
} v1; |
| 2504 |
> |
' |
| 2505 |
> |
|
| 2506 |
> |
# Test code for whether the C compiler supports C11 (body of main). |
| 2507 |
> |
ac_c_conftest_c11_main=' |
| 2508 |
> |
_Static_assert ((offsetof (struct anonymous, i) |
| 2509 |
> |
== offsetof (struct anonymous, w.k)), |
| 2510 |
> |
"Anonymous union alignment botch"); |
| 2511 |
> |
v1.i = 2; |
| 2512 |
> |
v1.w.k = 5; |
| 2513 |
> |
ok |= v1.i != 5; |
| 2514 |
> |
' |
| 2515 |
> |
|
| 2516 |
> |
# Test code for whether the C compiler supports C11 (complete). |
| 2517 |
> |
ac_c_conftest_c11_program="${ac_c_conftest_c89_globals} |
| 2518 |
> |
${ac_c_conftest_c99_globals} |
| 2519 |
> |
${ac_c_conftest_c11_globals} |
| 2520 |
> |
|
| 2521 |
> |
int |
| 2522 |
> |
main (int argc, char **argv) |
| 2523 |
> |
{ |
| 2524 |
> |
int ok = 0; |
| 2525 |
> |
${ac_c_conftest_c89_main} |
| 2526 |
> |
${ac_c_conftest_c99_main} |
| 2527 |
> |
${ac_c_conftest_c11_main} |
| 2528 |
> |
return ok; |
| 2529 |
> |
} |
| 2530 |
> |
" |
| 2531 |
> |
|
| 2532 |
> |
# Test code for whether the C compiler supports C99 (complete). |
| 2533 |
> |
ac_c_conftest_c99_program="${ac_c_conftest_c89_globals} |
| 2534 |
> |
${ac_c_conftest_c99_globals} |
| 2535 |
> |
|
| 2536 |
> |
int |
| 2537 |
> |
main (int argc, char **argv) |
| 2538 |
> |
{ |
| 2539 |
> |
int ok = 0; |
| 2540 |
> |
${ac_c_conftest_c89_main} |
| 2541 |
> |
${ac_c_conftest_c99_main} |
| 2542 |
> |
return ok; |
| 2543 |
> |
} |
| 2544 |
> |
" |
| 2545 |
> |
|
| 2546 |
> |
# Test code for whether the C compiler supports C89 (complete). |
| 2547 |
> |
ac_c_conftest_c89_program="${ac_c_conftest_c89_globals} |
| 2548 |
> |
|
| 2549 |
> |
int |
| 2550 |
> |
main (int argc, char **argv) |
| 2551 |
> |
{ |
| 2552 |
> |
int ok = 0; |
| 2553 |
> |
${ac_c_conftest_c89_main} |
| 2554 |
> |
return ok; |
| 2555 |
> |
} |
| 2556 |
> |
" |
| 2557 |
> |
|
| 2558 |
> |
as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H" |
| 2559 |
> |
as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H" |
| 2560 |
> |
as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H" |
| 2561 |
> |
as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H" |
| 2562 |
> |
as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H" |
| 2563 |
> |
as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H" |
| 2564 |
> |
as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H" |
| 2565 |
> |
as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H" |
| 2566 |
> |
as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H" |
| 2567 |
> |
as_fn_append ac_func_c_list " strlcat HAVE_STRLCAT" |
| 2568 |
> |
as_fn_append ac_func_c_list " strlcpy HAVE_STRLCPY" |
| 2569 |
> |
as_fn_append ac_header_c_list " crypt.h crypt_h HAVE_CRYPT_H" |
| 2570 |
> |
as_fn_append ac_header_c_list " sys/param.h sys_param_h HAVE_SYS_PARAM_H" |
| 2571 |
> |
as_fn_append ac_header_c_list " types.h types_h HAVE_TYPES_H" |
| 2572 |
> |
as_fn_append ac_header_c_list " socket.h socket_h HAVE_SOCKET_H" |
| 2573 |
> |
as_fn_append ac_header_c_list " sys/wait.h sys_wait_h HAVE_SYS_WAIT_H" |
| 2574 |
> |
|
| 2575 |
> |
# Auxiliary files required by this configure script. |
| 2576 |
> |
ac_aux_files="config.guess config.sub ltmain.sh compile missing install-sh" |
| 2577 |
> |
|
| 2578 |
> |
# Locations in which to look for auxiliary files. |
| 2579 |
> |
ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.." |
| 2580 |
> |
|
| 2581 |
> |
# Search for a directory containing all of the required auxiliary files, |
| 2582 |
> |
# $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates. |
| 2583 |
> |
# If we don't find one directory that contains all the files we need, |
| 2584 |
> |
# we report the set of missing files from the *first* directory in |
| 2585 |
> |
# $ac_aux_dir_candidates and give up. |
| 2586 |
> |
ac_missing_aux_files="" |
| 2587 |
> |
ac_first_candidate=: |
| 2588 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5 |
| 2589 |
> |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2590 |
> |
as_found=false |
| 2591 |
> |
for as_dir in $ac_aux_dir_candidates |
| 2592 |
> |
do |
| 2593 |
> |
IFS=$as_save_IFS |
| 2594 |
> |
case $as_dir in #((( |
| 2595 |
> |
'') as_dir=./ ;; |
| 2596 |
> |
*/) ;; |
| 2597 |
> |
*) as_dir=$as_dir/ ;; |
| 2598 |
> |
esac |
| 2599 |
> |
as_found=: |
| 2600 |
> |
|
| 2601 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5 |
| 2602 |
> |
ac_aux_dir_found=yes |
| 2603 |
> |
ac_install_sh= |
| 2604 |
> |
for ac_aux in $ac_aux_files |
| 2605 |
> |
do |
| 2606 |
> |
# As a special case, if "install-sh" is required, that requirement |
| 2607 |
> |
# can be satisfied by any of "install-sh", "install.sh", or "shtool", |
| 2608 |
> |
# and $ac_install_sh is set appropriately for whichever one is found. |
| 2609 |
> |
if test x"$ac_aux" = x"install-sh" |
| 2610 |
> |
then |
| 2611 |
> |
if test -f "${as_dir}install-sh"; then |
| 2612 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5 |
| 2613 |
> |
ac_install_sh="${as_dir}install-sh -c" |
| 2614 |
> |
elif test -f "${as_dir}install.sh"; then |
| 2615 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5 |
| 2616 |
> |
ac_install_sh="${as_dir}install.sh -c" |
| 2617 |
> |
elif test -f "${as_dir}shtool"; then |
| 2618 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5 |
| 2619 |
> |
ac_install_sh="${as_dir}shtool install -c" |
| 2620 |
> |
else |
| 2621 |
> |
ac_aux_dir_found=no |
| 2622 |
> |
if $ac_first_candidate; then |
| 2623 |
> |
ac_missing_aux_files="${ac_missing_aux_files} install-sh" |
| 2624 |
> |
else |
| 2625 |
> |
break |
| 2626 |
> |
fi |
| 2627 |
> |
fi |
| 2628 |
> |
else |
| 2629 |
> |
if test -f "${as_dir}${ac_aux}"; then |
| 2630 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5 |
| 2631 |
> |
else |
| 2632 |
> |
ac_aux_dir_found=no |
| 2633 |
> |
if $ac_first_candidate; then |
| 2634 |
> |
ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}" |
| 2635 |
> |
else |
| 2636 |
> |
break |
| 2637 |
> |
fi |
| 2638 |
> |
fi |
| 2639 |
> |
fi |
| 2640 |
> |
done |
| 2641 |
> |
if test "$ac_aux_dir_found" = yes; then |
| 2642 |
> |
ac_aux_dir="$as_dir" |
| 2643 |
> |
break |
| 2644 |
> |
fi |
| 2645 |
> |
ac_first_candidate=false |
| 2646 |
> |
|
| 2647 |
> |
as_found=false |
| 2648 |
> |
done |
| 2649 |
> |
IFS=$as_save_IFS |
| 2650 |
> |
if $as_found |
| 2651 |
> |
then : |
| 2652 |
> |
|
| 2653 |
> |
else $as_nop |
| 2654 |
> |
as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 |
| 2655 |
> |
fi |
| 2656 |
> |
|
| 2657 |
> |
|
| 2658 |
> |
# These three variables are undocumented and unsupported, |
| 2659 |
> |
# and are intended to be withdrawn in a future Autoconf release. |
| 2660 |
> |
# They can cause serious problems if a builder's source tree is in a directory |
| 2661 |
> |
# whose full name contains unusual characters. |
| 2662 |
> |
if test -f "${ac_aux_dir}config.guess"; then |
| 2663 |
> |
ac_config_guess="$SHELL ${ac_aux_dir}config.guess" |
| 2664 |
> |
fi |
| 2665 |
> |
if test -f "${ac_aux_dir}config.sub"; then |
| 2666 |
> |
ac_config_sub="$SHELL ${ac_aux_dir}config.sub" |
| 2667 |
> |
fi |
| 2668 |
> |
if test -f "$ac_aux_dir/configure"; then |
| 2669 |
> |
ac_configure="$SHELL ${ac_aux_dir}configure" |
| 2670 |
> |
fi |
| 2671 |
> |
|
| 2672 |
|
# Check that the precious variables saved in the cache have kept the same |
| 2673 |
|
# value. |
| 2674 |
|
ac_cache_corrupted=false |
| 2679 |
|
eval ac_new_val=\$ac_env_${ac_var}_value |
| 2680 |
|
case $ac_old_set,$ac_new_set in |
| 2681 |
|
set,) |
| 2682 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
| 2683 |
< |
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
| 2682 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
| 2683 |
> |
printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
| 2684 |
|
ac_cache_corrupted=: ;; |
| 2685 |
|
,set) |
| 2686 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 |
| 2687 |
< |
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
| 2686 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 |
| 2687 |
> |
printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
| 2688 |
|
ac_cache_corrupted=: ;; |
| 2689 |
|
,);; |
| 2690 |
|
*) |
| 2693 |
|
ac_old_val_w=`echo x $ac_old_val` |
| 2694 |
|
ac_new_val_w=`echo x $ac_new_val` |
| 2695 |
|
if test "$ac_old_val_w" != "$ac_new_val_w"; then |
| 2696 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 |
| 2697 |
< |
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
| 2696 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 |
| 2697 |
> |
printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
| 2698 |
|
ac_cache_corrupted=: |
| 2699 |
|
else |
| 2700 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 |
| 2701 |
< |
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} |
| 2700 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 |
| 2701 |
> |
printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} |
| 2702 |
|
eval $ac_var=\$ac_old_val |
| 2703 |
|
fi |
| 2704 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 |
| 2705 |
< |
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} |
| 2706 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 |
| 2707 |
< |
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} |
| 2704 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 |
| 2705 |
> |
printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;} |
| 2706 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 |
| 2707 |
> |
printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;} |
| 2708 |
|
fi;; |
| 2709 |
|
esac |
| 2710 |
|
# Pass precious variables to config.status. |
| 2711 |
|
if test "$ac_new_set" = set; then |
| 2712 |
|
case $ac_new_val in |
| 2713 |
< |
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 2713 |
> |
*\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 2714 |
|
*) ac_arg=$ac_var=$ac_new_val ;; |
| 2715 |
|
esac |
| 2716 |
|
case " $ac_configure_args " in |
| 2720 |
|
fi |
| 2721 |
|
done |
| 2722 |
|
if $ac_cache_corrupted; then |
| 2723 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 2724 |
< |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 2725 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
| 2726 |
< |
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
| 2727 |
< |
as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 |
| 2723 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 2724 |
> |
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 2725 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
| 2726 |
> |
printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;} |
| 2727 |
> |
as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file' |
| 2728 |
> |
and start over" "$LINENO" 5 |
| 2729 |
|
fi |
| 2730 |
|
## -------------------- ## |
| 2731 |
|
## Main body of script. ## |
| 2738 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 2739 |
|
|
| 2740 |
|
|
| 2741 |
< |
am__api_version='1.14' |
| 2741 |
> |
am__api_version='1.16' |
| 2742 |
|
|
| 2458 |
– |
ac_aux_dir= |
| 2459 |
– |
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
| 2460 |
– |
if test -f "$ac_dir/install-sh"; then |
| 2461 |
– |
ac_aux_dir=$ac_dir |
| 2462 |
– |
ac_install_sh="$ac_aux_dir/install-sh -c" |
| 2463 |
– |
break |
| 2464 |
– |
elif test -f "$ac_dir/install.sh"; then |
| 2465 |
– |
ac_aux_dir=$ac_dir |
| 2466 |
– |
ac_install_sh="$ac_aux_dir/install.sh -c" |
| 2467 |
– |
break |
| 2468 |
– |
elif test -f "$ac_dir/shtool"; then |
| 2469 |
– |
ac_aux_dir=$ac_dir |
| 2470 |
– |
ac_install_sh="$ac_aux_dir/shtool install -c" |
| 2471 |
– |
break |
| 2472 |
– |
fi |
| 2473 |
– |
done |
| 2474 |
– |
if test -z "$ac_aux_dir"; then |
| 2475 |
– |
as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 |
| 2476 |
– |
fi |
| 2743 |
|
|
| 2478 |
– |
# These three variables are undocumented and unsupported, |
| 2479 |
– |
# and are intended to be withdrawn in a future Autoconf release. |
| 2480 |
– |
# They can cause serious problems if a builder's source tree is in a directory |
| 2481 |
– |
# whose full name contains unusual characters. |
| 2482 |
– |
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. |
| 2483 |
– |
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. |
| 2484 |
– |
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. |
| 2744 |
|
|
| 2745 |
< |
|
| 2487 |
< |
# Find a good install program. We prefer a C program (faster), |
| 2745 |
> |
# Find a good install program. We prefer a C program (faster), |
| 2746 |
|
# so one script is as good as another. But avoid the broken or |
| 2747 |
|
# incompatible versions: |
| 2748 |
|
# SysV /etc/install, /usr/sbin/install |
| 2756 |
|
# OS/2's system install, which has a completely different semantic |
| 2757 |
|
# ./install, which can be erroneously created by make from ./install.sh. |
| 2758 |
|
# Reject install programs that cannot install multiple files. |
| 2759 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
| 2760 |
< |
$as_echo_n "checking for a BSD-compatible install... " >&6; } |
| 2759 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
| 2760 |
> |
printf %s "checking for a BSD-compatible install... " >&6; } |
| 2761 |
|
if test -z "$INSTALL"; then |
| 2762 |
< |
if ${ac_cv_path_install+:} false; then : |
| 2763 |
< |
$as_echo_n "(cached) " >&6 |
| 2764 |
< |
else |
| 2762 |
> |
if test ${ac_cv_path_install+y} |
| 2763 |
> |
then : |
| 2764 |
> |
printf %s "(cached) " >&6 |
| 2765 |
> |
else $as_nop |
| 2766 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2767 |
|
for as_dir in $PATH |
| 2768 |
|
do |
| 2769 |
|
IFS=$as_save_IFS |
| 2770 |
< |
test -z "$as_dir" && as_dir=. |
| 2771 |
< |
# Account for people who put trailing slashes in PATH elements. |
| 2772 |
< |
case $as_dir/ in #(( |
| 2773 |
< |
./ | .// | /[cC]/* | \ |
| 2770 |
> |
case $as_dir in #((( |
| 2771 |
> |
'') as_dir=./ ;; |
| 2772 |
> |
*/) ;; |
| 2773 |
> |
*) as_dir=$as_dir/ ;; |
| 2774 |
> |
esac |
| 2775 |
> |
# Account for fact that we put trailing slashes in our PATH walk. |
| 2776 |
> |
case $as_dir in #(( |
| 2777 |
> |
./ | /[cC]/* | \ |
| 2778 |
|
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
| 2779 |
|
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ |
| 2780 |
|
/usr/ucb/* ) ;; |
| 2784 |
|
# by default. |
| 2785 |
|
for ac_prog in ginstall scoinst install; do |
| 2786 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 2787 |
< |
if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
| 2787 |
> |
if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then |
| 2788 |
|
if test $ac_prog = install && |
| 2789 |
< |
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
| 2789 |
> |
grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
| 2790 |
|
# AIX install. It has an incompatible calling convention. |
| 2791 |
|
: |
| 2792 |
|
elif test $ac_prog = install && |
| 2793 |
< |
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
| 2793 |
> |
grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
| 2794 |
|
# program-specific install script used by HP pwplus--don't use. |
| 2795 |
|
: |
| 2796 |
|
else |
| 2798 |
|
echo one > conftest.one |
| 2799 |
|
echo two > conftest.two |
| 2800 |
|
mkdir conftest.dir |
| 2801 |
< |
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && |
| 2801 |
> |
if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" && |
| 2802 |
|
test -s conftest.one && test -s conftest.two && |
| 2803 |
|
test -s conftest.dir/conftest.one && |
| 2804 |
|
test -s conftest.dir/conftest.two |
| 2805 |
|
then |
| 2806 |
< |
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
| 2806 |
> |
ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c" |
| 2807 |
|
break 3 |
| 2808 |
|
fi |
| 2809 |
|
fi |
| 2819 |
|
rm -rf conftest.one conftest.two conftest.dir |
| 2820 |
|
|
| 2821 |
|
fi |
| 2822 |
< |
if test "${ac_cv_path_install+set}" = set; then |
| 2822 |
> |
if test ${ac_cv_path_install+y}; then |
| 2823 |
|
INSTALL=$ac_cv_path_install |
| 2824 |
|
else |
| 2825 |
|
# As a last resort, use the slow shell script. Don't cache a |
| 2829 |
|
INSTALL=$ac_install_sh |
| 2830 |
|
fi |
| 2831 |
|
fi |
| 2832 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 |
| 2833 |
< |
$as_echo "$INSTALL" >&6; } |
| 2832 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 |
| 2833 |
> |
printf "%s\n" "$INSTALL" >&6; } |
| 2834 |
|
|
| 2835 |
|
# Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
| 2836 |
|
# It thinks the first close brace ends the variable substitution. |
| 2840 |
|
|
| 2841 |
|
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
| 2842 |
|
|
| 2843 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 |
| 2844 |
< |
$as_echo_n "checking whether build environment is sane... " >&6; } |
| 2843 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 |
| 2844 |
> |
printf %s "checking whether build environment is sane... " >&6; } |
| 2845 |
|
# Reject unsafe characters in $srcdir or the absolute working directory |
| 2846 |
|
# name. Accept space and tab only in the latter. |
| 2847 |
|
am_lf=' |
| 2895 |
|
as_fn_error $? "newly created file is older than distributed files! |
| 2896 |
|
Check your system clock" "$LINENO" 5 |
| 2897 |
|
fi |
| 2898 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 2899 |
< |
$as_echo "yes" >&6; } |
| 2898 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 2899 |
> |
printf "%s\n" "yes" >&6; } |
| 2900 |
|
# If we didn't sleep, we still need to ensure time stamps of config.status and |
| 2901 |
|
# generated files are strictly newer. |
| 2902 |
|
am_sleep_pid= |
| 2915 |
|
# Double any \ or $. |
| 2916 |
|
# By default was `s,x,x', remove it if useless. |
| 2917 |
|
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' |
| 2918 |
< |
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` |
| 2918 |
> |
program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"` |
| 2919 |
|
|
| 2657 |
– |
# expand $ac_aux_dir to an absolute path |
| 2658 |
– |
am_aux_dir=`cd $ac_aux_dir && pwd` |
| 2920 |
|
|
| 2921 |
< |
if test x"${MISSING+set}" != xset; then |
| 2922 |
< |
case $am_aux_dir in |
| 2923 |
< |
*\ * | *\ *) |
| 2924 |
< |
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; |
| 2925 |
< |
*) |
| 2926 |
< |
MISSING="\${SHELL} $am_aux_dir/missing" ;; |
| 2666 |
< |
esac |
| 2921 |
> |
# Expand $ac_aux_dir to an absolute path. |
| 2922 |
> |
am_aux_dir=`cd "$ac_aux_dir" && pwd` |
| 2923 |
> |
|
| 2924 |
> |
|
| 2925 |
> |
if test x"${MISSING+set}" != xset; then |
| 2926 |
> |
MISSING="\${SHELL} '$am_aux_dir/missing'" |
| 2927 |
|
fi |
| 2928 |
|
# Use eval to expand $SHELL |
| 2929 |
|
if eval "$MISSING --is-lightweight"; then |
| 2930 |
|
am_missing_run="$MISSING " |
| 2931 |
|
else |
| 2932 |
|
am_missing_run= |
| 2933 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 |
| 2934 |
< |
$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} |
| 2933 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 |
| 2934 |
> |
printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;} |
| 2935 |
|
fi |
| 2936 |
|
|
| 2937 |
< |
if test x"${install_sh}" != xset; then |
| 2937 |
> |
if test x"${install_sh+set}" != xset; then |
| 2938 |
|
case $am_aux_dir in |
| 2939 |
|
*\ * | *\ *) |
| 2940 |
|
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; |
| 2951 |
|
if test -n "$ac_tool_prefix"; then |
| 2952 |
|
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
| 2953 |
|
set dummy ${ac_tool_prefix}strip; ac_word=$2 |
| 2954 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 2955 |
< |
$as_echo_n "checking for $ac_word... " >&6; } |
| 2956 |
< |
if ${ac_cv_prog_STRIP+:} false; then : |
| 2957 |
< |
$as_echo_n "(cached) " >&6 |
| 2958 |
< |
else |
| 2954 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 2955 |
> |
printf %s "checking for $ac_word... " >&6; } |
| 2956 |
> |
if test ${ac_cv_prog_STRIP+y} |
| 2957 |
> |
then : |
| 2958 |
> |
printf %s "(cached) " >&6 |
| 2959 |
> |
else $as_nop |
| 2960 |
|
if test -n "$STRIP"; then |
| 2961 |
|
ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
| 2962 |
|
else |
| 2964 |
|
for as_dir in $PATH |
| 2965 |
|
do |
| 2966 |
|
IFS=$as_save_IFS |
| 2967 |
< |
test -z "$as_dir" && as_dir=. |
| 2967 |
> |
case $as_dir in #((( |
| 2968 |
> |
'') as_dir=./ ;; |
| 2969 |
> |
*/) ;; |
| 2970 |
> |
*) as_dir=$as_dir/ ;; |
| 2971 |
> |
esac |
| 2972 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 2973 |
< |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 2973 |
> |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 2974 |
|
ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
| 2975 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2975 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 2976 |
|
break 2 |
| 2977 |
|
fi |
| 2978 |
|
done |
| 2983 |
|
fi |
| 2984 |
|
STRIP=$ac_cv_prog_STRIP |
| 2985 |
|
if test -n "$STRIP"; then |
| 2986 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 |
| 2987 |
< |
$as_echo "$STRIP" >&6; } |
| 2986 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 |
| 2987 |
> |
printf "%s\n" "$STRIP" >&6; } |
| 2988 |
|
else |
| 2989 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 2990 |
< |
$as_echo "no" >&6; } |
| 2989 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 2990 |
> |
printf "%s\n" "no" >&6; } |
| 2991 |
|
fi |
| 2992 |
|
|
| 2993 |
|
|
| 2996 |
|
ac_ct_STRIP=$STRIP |
| 2997 |
|
# Extract the first word of "strip", so it can be a program name with args. |
| 2998 |
|
set dummy strip; ac_word=$2 |
| 2999 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3000 |
< |
$as_echo_n "checking for $ac_word... " >&6; } |
| 3001 |
< |
if ${ac_cv_prog_ac_ct_STRIP+:} false; then : |
| 3002 |
< |
$as_echo_n "(cached) " >&6 |
| 3003 |
< |
else |
| 2999 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3000 |
> |
printf %s "checking for $ac_word... " >&6; } |
| 3001 |
> |
if test ${ac_cv_prog_ac_ct_STRIP+y} |
| 3002 |
> |
then : |
| 3003 |
> |
printf %s "(cached) " >&6 |
| 3004 |
> |
else $as_nop |
| 3005 |
|
if test -n "$ac_ct_STRIP"; then |
| 3006 |
|
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
| 3007 |
|
else |
| 3009 |
|
for as_dir in $PATH |
| 3010 |
|
do |
| 3011 |
|
IFS=$as_save_IFS |
| 3012 |
< |
test -z "$as_dir" && as_dir=. |
| 3012 |
> |
case $as_dir in #((( |
| 3013 |
> |
'') as_dir=./ ;; |
| 3014 |
> |
*/) ;; |
| 3015 |
> |
*) as_dir=$as_dir/ ;; |
| 3016 |
> |
esac |
| 3017 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3018 |
< |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 3018 |
> |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 3019 |
|
ac_cv_prog_ac_ct_STRIP="strip" |
| 3020 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3020 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 3021 |
|
break 2 |
| 3022 |
|
fi |
| 3023 |
|
done |
| 3028 |
|
fi |
| 3029 |
|
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
| 3030 |
|
if test -n "$ac_ct_STRIP"; then |
| 3031 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 |
| 3032 |
< |
$as_echo "$ac_ct_STRIP" >&6; } |
| 3031 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 |
| 3032 |
> |
printf "%s\n" "$ac_ct_STRIP" >&6; } |
| 3033 |
|
else |
| 3034 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3035 |
< |
$as_echo "no" >&6; } |
| 3034 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3035 |
> |
printf "%s\n" "no" >&6; } |
| 3036 |
|
fi |
| 3037 |
|
|
| 3038 |
|
if test "x$ac_ct_STRIP" = x; then |
| 3040 |
|
else |
| 3041 |
|
case $cross_compiling:$ac_tool_warned in |
| 3042 |
|
yes:) |
| 3043 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 3044 |
< |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 3043 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 3044 |
> |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 3045 |
|
ac_tool_warned=yes ;; |
| 3046 |
|
esac |
| 3047 |
|
STRIP=$ac_ct_STRIP |
| 3053 |
|
fi |
| 3054 |
|
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
| 3055 |
|
|
| 3056 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 |
| 3057 |
< |
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } |
| 3056 |
> |
|
| 3057 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5 |
| 3058 |
> |
printf %s "checking for a race-free mkdir -p... " >&6; } |
| 3059 |
|
if test -z "$MKDIR_P"; then |
| 3060 |
< |
if ${ac_cv_path_mkdir+:} false; then : |
| 3061 |
< |
$as_echo_n "(cached) " >&6 |
| 3062 |
< |
else |
| 3060 |
> |
if test ${ac_cv_path_mkdir+y} |
| 3061 |
> |
then : |
| 3062 |
> |
printf %s "(cached) " >&6 |
| 3063 |
> |
else $as_nop |
| 3064 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3065 |
|
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin |
| 3066 |
|
do |
| 3067 |
|
IFS=$as_save_IFS |
| 3068 |
< |
test -z "$as_dir" && as_dir=. |
| 3068 |
> |
case $as_dir in #((( |
| 3069 |
> |
'') as_dir=./ ;; |
| 3070 |
> |
*/) ;; |
| 3071 |
> |
*) as_dir=$as_dir/ ;; |
| 3072 |
> |
esac |
| 3073 |
|
for ac_prog in mkdir gmkdir; do |
| 3074 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3075 |
< |
as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue |
| 3076 |
< |
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( |
| 3077 |
< |
'mkdir (GNU coreutils) '* | \ |
| 3078 |
< |
'mkdir (coreutils) '* | \ |
| 3075 |
> |
as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue |
| 3076 |
> |
case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #( |
| 3077 |
> |
'mkdir ('*'coreutils) '* | \ |
| 3078 |
> |
'BusyBox '* | \ |
| 3079 |
|
'mkdir (fileutils) '4.1*) |
| 3080 |
< |
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext |
| 3080 |
> |
ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext |
| 3081 |
|
break 3;; |
| 3082 |
|
esac |
| 3083 |
|
done |
| 3088 |
|
fi |
| 3089 |
|
|
| 3090 |
|
test -d ./--version && rmdir ./--version |
| 3091 |
< |
if test "${ac_cv_path_mkdir+set}" = set; then |
| 3091 |
> |
if test ${ac_cv_path_mkdir+y}; then |
| 3092 |
|
MKDIR_P="$ac_cv_path_mkdir -p" |
| 3093 |
|
else |
| 3094 |
|
# As a last resort, use the slow shell script. Don't cache a |
| 3098 |
|
MKDIR_P="$ac_install_sh -d" |
| 3099 |
|
fi |
| 3100 |
|
fi |
| 3101 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 |
| 3102 |
< |
$as_echo "$MKDIR_P" >&6; } |
| 3101 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 |
| 3102 |
> |
printf "%s\n" "$MKDIR_P" >&6; } |
| 3103 |
|
|
| 3104 |
|
for ac_prog in gawk mawk nawk awk |
| 3105 |
|
do |
| 3106 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
| 3107 |
|
set dummy $ac_prog; ac_word=$2 |
| 3108 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3109 |
< |
$as_echo_n "checking for $ac_word... " >&6; } |
| 3110 |
< |
if ${ac_cv_prog_AWK+:} false; then : |
| 3111 |
< |
$as_echo_n "(cached) " >&6 |
| 3112 |
< |
else |
| 3108 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3109 |
> |
printf %s "checking for $ac_word... " >&6; } |
| 3110 |
> |
if test ${ac_cv_prog_AWK+y} |
| 3111 |
> |
then : |
| 3112 |
> |
printf %s "(cached) " >&6 |
| 3113 |
> |
else $as_nop |
| 3114 |
|
if test -n "$AWK"; then |
| 3115 |
|
ac_cv_prog_AWK="$AWK" # Let the user override the test. |
| 3116 |
|
else |
| 3118 |
|
for as_dir in $PATH |
| 3119 |
|
do |
| 3120 |
|
IFS=$as_save_IFS |
| 3121 |
< |
test -z "$as_dir" && as_dir=. |
| 3121 |
> |
case $as_dir in #((( |
| 3122 |
> |
'') as_dir=./ ;; |
| 3123 |
> |
*/) ;; |
| 3124 |
> |
*) as_dir=$as_dir/ ;; |
| 3125 |
> |
esac |
| 3126 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3127 |
< |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 3127 |
> |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 3128 |
|
ac_cv_prog_AWK="$ac_prog" |
| 3129 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3129 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 3130 |
|
break 2 |
| 3131 |
|
fi |
| 3132 |
|
done |
| 3137 |
|
fi |
| 3138 |
|
AWK=$ac_cv_prog_AWK |
| 3139 |
|
if test -n "$AWK"; then |
| 3140 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 |
| 3141 |
< |
$as_echo "$AWK" >&6; } |
| 3140 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 |
| 3141 |
> |
printf "%s\n" "$AWK" >&6; } |
| 3142 |
|
else |
| 3143 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3144 |
< |
$as_echo "no" >&6; } |
| 3143 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3144 |
> |
printf "%s\n" "no" >&6; } |
| 3145 |
|
fi |
| 3146 |
|
|
| 3147 |
|
|
| 3148 |
|
test -n "$AWK" && break |
| 3149 |
|
done |
| 3150 |
|
|
| 3151 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
| 3152 |
< |
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
| 3151 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
| 3152 |
> |
printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
| 3153 |
|
set x ${MAKE-make} |
| 3154 |
< |
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
| 3155 |
< |
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : |
| 3156 |
< |
$as_echo_n "(cached) " >&6 |
| 3157 |
< |
else |
| 3154 |
> |
ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
| 3155 |
> |
if eval test \${ac_cv_prog_make_${ac_make}_set+y} |
| 3156 |
> |
then : |
| 3157 |
> |
printf %s "(cached) " >&6 |
| 3158 |
> |
else $as_nop |
| 3159 |
|
cat >conftest.make <<\_ACEOF |
| 3160 |
|
SHELL = /bin/sh |
| 3161 |
|
all: |
| 3171 |
|
rm -f conftest.make |
| 3172 |
|
fi |
| 3173 |
|
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
| 3174 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 3175 |
< |
$as_echo "yes" >&6; } |
| 3174 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 3175 |
> |
printf "%s\n" "yes" >&6; } |
| 3176 |
|
SET_MAKE= |
| 3177 |
|
else |
| 3178 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3179 |
< |
$as_echo "no" >&6; } |
| 3178 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3179 |
> |
printf "%s\n" "no" >&6; } |
| 3180 |
|
SET_MAKE="MAKE=${MAKE-make}" |
| 3181 |
|
fi |
| 3182 |
|
|
| 3190 |
|
rmdir .tst 2>/dev/null |
| 3191 |
|
|
| 3192 |
|
# Check whether --enable-silent-rules was given. |
| 3193 |
< |
if test "${enable_silent_rules+set}" = set; then : |
| 3193 |
> |
if test ${enable_silent_rules+y} |
| 3194 |
> |
then : |
| 3195 |
|
enableval=$enable_silent_rules; |
| 3196 |
|
fi |
| 3197 |
|
|
| 3201 |
|
*) AM_DEFAULT_VERBOSITY=1;; |
| 3202 |
|
esac |
| 3203 |
|
am_make=${MAKE-make} |
| 3204 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 |
| 3205 |
< |
$as_echo_n "checking whether $am_make supports nested variables... " >&6; } |
| 3206 |
< |
if ${am_cv_make_support_nested_variables+:} false; then : |
| 3207 |
< |
$as_echo_n "(cached) " >&6 |
| 3208 |
< |
else |
| 3209 |
< |
if $as_echo 'TRUE=$(BAR$(V)) |
| 3204 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 |
| 3205 |
> |
printf %s "checking whether $am_make supports nested variables... " >&6; } |
| 3206 |
> |
if test ${am_cv_make_support_nested_variables+y} |
| 3207 |
> |
then : |
| 3208 |
> |
printf %s "(cached) " >&6 |
| 3209 |
> |
else $as_nop |
| 3210 |
> |
if printf "%s\n" 'TRUE=$(BAR$(V)) |
| 3211 |
|
BAR0=false |
| 3212 |
|
BAR1=true |
| 3213 |
|
V=1 |
| 3219 |
|
am_cv_make_support_nested_variables=no |
| 3220 |
|
fi |
| 3221 |
|
fi |
| 3222 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 |
| 3223 |
< |
$as_echo "$am_cv_make_support_nested_variables" >&6; } |
| 3222 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 |
| 3223 |
> |
printf "%s\n" "$am_cv_make_support_nested_variables" >&6; } |
| 3224 |
|
if test $am_cv_make_support_nested_variables = yes; then |
| 3225 |
|
AM_V='$(V)' |
| 3226 |
|
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' |
| 3252 |
|
|
| 3253 |
|
# Define the identity of the package. |
| 3254 |
|
PACKAGE='ircd-hybrid' |
| 3255 |
< |
VERSION='TRUNK' |
| 3255 |
> |
VERSION='8.2.41' |
| 3256 |
|
|
| 3257 |
|
|
| 3258 |
< |
cat >>confdefs.h <<_ACEOF |
| 2975 |
< |
#define PACKAGE "$PACKAGE" |
| 2976 |
< |
_ACEOF |
| 3258 |
> |
printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h |
| 3259 |
|
|
| 3260 |
|
|
| 3261 |
< |
cat >>confdefs.h <<_ACEOF |
| 2980 |
< |
#define VERSION "$VERSION" |
| 2981 |
< |
_ACEOF |
| 3261 |
> |
printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h |
| 3262 |
|
|
| 3263 |
|
# Some tools Automake needs. |
| 3264 |
|
|
| 3278 |
|
|
| 3279 |
|
# For better backward compatibility. To be removed once Automake 1.9.x |
| 3280 |
|
# dies out for good. For more background, see: |
| 3281 |
< |
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> |
| 3282 |
< |
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> |
| 3281 |
> |
# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> |
| 3282 |
> |
# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> |
| 3283 |
|
mkdir_p='$(MKDIR_P)' |
| 3284 |
|
|
| 3285 |
< |
# We need awk for the "check" target. The system "awk" is bad on |
| 3286 |
< |
# some platforms. |
| 3285 |
> |
# We need awk for the "check" target (and possibly the TAP driver). The |
| 3286 |
> |
# system "awk" is bad on some platforms. |
| 3287 |
|
# Always define AMTAR for backward compatibility. Yes, it's still used |
| 3288 |
|
# in the wild :-( We should find a proper way to deprecate it ... |
| 3289 |
|
AMTAR='$${TAR-tar}' |
| 3298 |
|
|
| 3299 |
|
|
| 3300 |
|
|
| 3301 |
+ |
# Variables for tags utilities; see am/tags.am |
| 3302 |
+ |
if test -z "$CTAGS"; then |
| 3303 |
+ |
CTAGS=ctags |
| 3304 |
+ |
fi |
| 3305 |
+ |
|
| 3306 |
+ |
if test -z "$ETAGS"; then |
| 3307 |
+ |
ETAGS=etags |
| 3308 |
+ |
fi |
| 3309 |
+ |
|
| 3310 |
+ |
if test -z "$CSCOPE"; then |
| 3311 |
+ |
CSCOPE=cscope |
| 3312 |
+ |
fi |
| 3313 |
+ |
|
| 3314 |
+ |
|
| 3315 |
|
|
| 3316 |
|
# POSIX will say in a future version that running "rm -f" with no argument |
| 3317 |
|
# is OK; and we want to be able to make that assumption in our Makefile |
| 3344 |
|
Aborting the configuration process, to ensure you take notice of the issue. |
| 3345 |
|
|
| 3346 |
|
You can download and install GNU coreutils to get an 'rm' implementation |
| 3347 |
< |
that behaves properly: <http://www.gnu.org/software/coreutils/>. |
| 3347 |
> |
that behaves properly: <https://www.gnu.org/software/coreutils/>. |
| 3348 |
|
|
| 3349 |
|
If you want to complete the configuration process using your problematic |
| 3350 |
|
'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM |
| 3355 |
|
fi |
| 3356 |
|
fi |
| 3357 |
|
|
| 3358 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 |
| 3359 |
< |
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } |
| 3358 |
> |
|
| 3359 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 |
| 3360 |
> |
printf %s "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } |
| 3361 |
|
# Check whether --enable-maintainer-mode was given. |
| 3362 |
< |
if test "${enable_maintainer_mode+set}" = set; then : |
| 3362 |
> |
if test ${enable_maintainer_mode+y} |
| 3363 |
> |
then : |
| 3364 |
|
enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval |
| 3365 |
< |
else |
| 3365 |
> |
else $as_nop |
| 3366 |
|
USE_MAINTAINER_MODE=no |
| 3367 |
|
fi |
| 3368 |
|
|
| 3369 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 |
| 3370 |
< |
$as_echo "$USE_MAINTAINER_MODE" >&6; } |
| 3369 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 |
| 3370 |
> |
printf "%s\n" "$USE_MAINTAINER_MODE" >&6; } |
| 3371 |
|
if test $USE_MAINTAINER_MODE = yes; then |
| 3372 |
|
MAINTAINER_MODE_TRUE= |
| 3373 |
|
MAINTAINER_MODE_FALSE='#' |
| 3385 |
|
|
| 3386 |
|
|
| 3387 |
|
# Checks for programs. |
| 3092 |
– |
DEPDIR="${am__leading_dot}deps" |
| 3388 |
|
|
| 3094 |
– |
ac_config_commands="$ac_config_commands depfiles" |
| 3389 |
|
|
| 3390 |
|
|
| 3097 |
– |
am_make=${MAKE-make} |
| 3098 |
– |
cat > confinc << 'END' |
| 3099 |
– |
am__doit: |
| 3100 |
– |
@echo this is the am__doit target |
| 3101 |
– |
.PHONY: am__doit |
| 3102 |
– |
END |
| 3103 |
– |
# If we don't find an include directive, just comment out the code. |
| 3104 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 |
| 3105 |
– |
$as_echo_n "checking for style of include used by $am_make... " >&6; } |
| 3106 |
– |
am__include="#" |
| 3107 |
– |
am__quote= |
| 3108 |
– |
_am_result=none |
| 3109 |
– |
# First try GNU make style include. |
| 3110 |
– |
echo "include confinc" > confmf |
| 3111 |
– |
# Ignore all kinds of additional output from 'make'. |
| 3112 |
– |
case `$am_make -s -f confmf 2> /dev/null` in #( |
| 3113 |
– |
*the\ am__doit\ target*) |
| 3114 |
– |
am__include=include |
| 3115 |
– |
am__quote= |
| 3116 |
– |
_am_result=GNU |
| 3117 |
– |
;; |
| 3118 |
– |
esac |
| 3119 |
– |
# Now try BSD make style include. |
| 3120 |
– |
if test "$am__include" = "#"; then |
| 3121 |
– |
echo '.include "confinc"' > confmf |
| 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=BSD |
| 3127 |
– |
;; |
| 3128 |
– |
esac |
| 3129 |
– |
fi |
| 3391 |
|
|
| 3392 |
|
|
| 3132 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 |
| 3133 |
– |
$as_echo "$_am_result" >&6; } |
| 3134 |
– |
rm -f confinc confmf |
| 3393 |
|
|
| 3136 |
– |
# Check whether --enable-dependency-tracking was given. |
| 3137 |
– |
if test "${enable_dependency_tracking+set}" = set; then : |
| 3138 |
– |
enableval=$enable_dependency_tracking; |
| 3139 |
– |
fi |
| 3394 |
|
|
| 3141 |
– |
if test "x$enable_dependency_tracking" != xno; then |
| 3142 |
– |
am_depcomp="$ac_aux_dir/depcomp" |
| 3143 |
– |
AMDEPBACKSLASH='\' |
| 3144 |
– |
am__nodep='_no' |
| 3145 |
– |
fi |
| 3146 |
– |
if test "x$enable_dependency_tracking" != xno; then |
| 3147 |
– |
AMDEP_TRUE= |
| 3148 |
– |
AMDEP_FALSE='#' |
| 3149 |
– |
else |
| 3150 |
– |
AMDEP_TRUE='#' |
| 3151 |
– |
AMDEP_FALSE= |
| 3152 |
– |
fi |
| 3395 |
|
|
| 3396 |
|
|
| 3397 |
|
ac_ext=c |
| 3402 |
|
if test -n "$ac_tool_prefix"; then |
| 3403 |
|
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
| 3404 |
|
set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
| 3405 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3406 |
< |
$as_echo_n "checking for $ac_word... " >&6; } |
| 3407 |
< |
if ${ac_cv_prog_CC+:} false; then : |
| 3408 |
< |
$as_echo_n "(cached) " >&6 |
| 3409 |
< |
else |
| 3405 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3406 |
> |
printf %s "checking for $ac_word... " >&6; } |
| 3407 |
> |
if test ${ac_cv_prog_CC+y} |
| 3408 |
> |
then : |
| 3409 |
> |
printf %s "(cached) " >&6 |
| 3410 |
> |
else $as_nop |
| 3411 |
|
if test -n "$CC"; then |
| 3412 |
|
ac_cv_prog_CC="$CC" # Let the user override the test. |
| 3413 |
|
else |
| 3415 |
|
for as_dir in $PATH |
| 3416 |
|
do |
| 3417 |
|
IFS=$as_save_IFS |
| 3418 |
< |
test -z "$as_dir" && as_dir=. |
| 3418 |
> |
case $as_dir in #((( |
| 3419 |
> |
'') as_dir=./ ;; |
| 3420 |
> |
*/) ;; |
| 3421 |
> |
*) as_dir=$as_dir/ ;; |
| 3422 |
> |
esac |
| 3423 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3424 |
< |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 3424 |
> |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 3425 |
|
ac_cv_prog_CC="${ac_tool_prefix}gcc" |
| 3426 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3426 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 3427 |
|
break 2 |
| 3428 |
|
fi |
| 3429 |
|
done |
| 3434 |
|
fi |
| 3435 |
|
CC=$ac_cv_prog_CC |
| 3436 |
|
if test -n "$CC"; then |
| 3437 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
| 3438 |
< |
$as_echo "$CC" >&6; } |
| 3437 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
| 3438 |
> |
printf "%s\n" "$CC" >&6; } |
| 3439 |
|
else |
| 3440 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3441 |
< |
$as_echo "no" >&6; } |
| 3440 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3441 |
> |
printf "%s\n" "no" >&6; } |
| 3442 |
|
fi |
| 3443 |
|
|
| 3444 |
|
|
| 3447 |
|
ac_ct_CC=$CC |
| 3448 |
|
# Extract the first word of "gcc", so it can be a program name with args. |
| 3449 |
|
set dummy gcc; ac_word=$2 |
| 3450 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3451 |
< |
$as_echo_n "checking for $ac_word... " >&6; } |
| 3452 |
< |
if ${ac_cv_prog_ac_ct_CC+:} false; then : |
| 3453 |
< |
$as_echo_n "(cached) " >&6 |
| 3454 |
< |
else |
| 3450 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3451 |
> |
printf %s "checking for $ac_word... " >&6; } |
| 3452 |
> |
if test ${ac_cv_prog_ac_ct_CC+y} |
| 3453 |
> |
then : |
| 3454 |
> |
printf %s "(cached) " >&6 |
| 3455 |
> |
else $as_nop |
| 3456 |
|
if test -n "$ac_ct_CC"; then |
| 3457 |
|
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
| 3458 |
|
else |
| 3460 |
|
for as_dir in $PATH |
| 3461 |
|
do |
| 3462 |
|
IFS=$as_save_IFS |
| 3463 |
< |
test -z "$as_dir" && as_dir=. |
| 3463 |
> |
case $as_dir in #((( |
| 3464 |
> |
'') as_dir=./ ;; |
| 3465 |
> |
*/) ;; |
| 3466 |
> |
*) as_dir=$as_dir/ ;; |
| 3467 |
> |
esac |
| 3468 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3469 |
< |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 3469 |
> |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 3470 |
|
ac_cv_prog_ac_ct_CC="gcc" |
| 3471 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3471 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 3472 |
|
break 2 |
| 3473 |
|
fi |
| 3474 |
|
done |
| 3479 |
|
fi |
| 3480 |
|
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
| 3481 |
|
if test -n "$ac_ct_CC"; then |
| 3482 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
| 3483 |
< |
$as_echo "$ac_ct_CC" >&6; } |
| 3482 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
| 3483 |
> |
printf "%s\n" "$ac_ct_CC" >&6; } |
| 3484 |
|
else |
| 3485 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3486 |
< |
$as_echo "no" >&6; } |
| 3485 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3486 |
> |
printf "%s\n" "no" >&6; } |
| 3487 |
|
fi |
| 3488 |
|
|
| 3489 |
|
if test "x$ac_ct_CC" = x; then |
| 3491 |
|
else |
| 3492 |
|
case $cross_compiling:$ac_tool_warned in |
| 3493 |
|
yes:) |
| 3494 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 3495 |
< |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 3494 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 3495 |
> |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 3496 |
|
ac_tool_warned=yes ;; |
| 3497 |
|
esac |
| 3498 |
|
CC=$ac_ct_CC |
| 3505 |
|
if test -n "$ac_tool_prefix"; then |
| 3506 |
|
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
| 3507 |
|
set dummy ${ac_tool_prefix}cc; ac_word=$2 |
| 3508 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3509 |
< |
$as_echo_n "checking for $ac_word... " >&6; } |
| 3510 |
< |
if ${ac_cv_prog_CC+:} false; then : |
| 3511 |
< |
$as_echo_n "(cached) " >&6 |
| 3512 |
< |
else |
| 3508 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3509 |
> |
printf %s "checking for $ac_word... " >&6; } |
| 3510 |
> |
if test ${ac_cv_prog_CC+y} |
| 3511 |
> |
then : |
| 3512 |
> |
printf %s "(cached) " >&6 |
| 3513 |
> |
else $as_nop |
| 3514 |
|
if test -n "$CC"; then |
| 3515 |
|
ac_cv_prog_CC="$CC" # Let the user override the test. |
| 3516 |
|
else |
| 3518 |
|
for as_dir in $PATH |
| 3519 |
|
do |
| 3520 |
|
IFS=$as_save_IFS |
| 3521 |
< |
test -z "$as_dir" && as_dir=. |
| 3521 |
> |
case $as_dir in #((( |
| 3522 |
> |
'') as_dir=./ ;; |
| 3523 |
> |
*/) ;; |
| 3524 |
> |
*) as_dir=$as_dir/ ;; |
| 3525 |
> |
esac |
| 3526 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3527 |
< |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 3527 |
> |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 3528 |
|
ac_cv_prog_CC="${ac_tool_prefix}cc" |
| 3529 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3529 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 3530 |
|
break 2 |
| 3531 |
|
fi |
| 3532 |
|
done |
| 3537 |
|
fi |
| 3538 |
|
CC=$ac_cv_prog_CC |
| 3539 |
|
if test -n "$CC"; then |
| 3540 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
| 3541 |
< |
$as_echo "$CC" >&6; } |
| 3540 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
| 3541 |
> |
printf "%s\n" "$CC" >&6; } |
| 3542 |
|
else |
| 3543 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3544 |
< |
$as_echo "no" >&6; } |
| 3543 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3544 |
> |
printf "%s\n" "no" >&6; } |
| 3545 |
|
fi |
| 3546 |
|
|
| 3547 |
|
|
| 3550 |
|
if test -z "$CC"; then |
| 3551 |
|
# Extract the first word of "cc", so it can be a program name with args. |
| 3552 |
|
set dummy cc; ac_word=$2 |
| 3553 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3554 |
< |
$as_echo_n "checking for $ac_word... " >&6; } |
| 3555 |
< |
if ${ac_cv_prog_CC+:} false; then : |
| 3556 |
< |
$as_echo_n "(cached) " >&6 |
| 3557 |
< |
else |
| 3553 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3554 |
> |
printf %s "checking for $ac_word... " >&6; } |
| 3555 |
> |
if test ${ac_cv_prog_CC+y} |
| 3556 |
> |
then : |
| 3557 |
> |
printf %s "(cached) " >&6 |
| 3558 |
> |
else $as_nop |
| 3559 |
|
if test -n "$CC"; then |
| 3560 |
|
ac_cv_prog_CC="$CC" # Let the user override the test. |
| 3561 |
|
else |
| 3564 |
|
for as_dir in $PATH |
| 3565 |
|
do |
| 3566 |
|
IFS=$as_save_IFS |
| 3567 |
< |
test -z "$as_dir" && as_dir=. |
| 3567 |
> |
case $as_dir in #((( |
| 3568 |
> |
'') as_dir=./ ;; |
| 3569 |
> |
*/) ;; |
| 3570 |
> |
*) as_dir=$as_dir/ ;; |
| 3571 |
> |
esac |
| 3572 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3573 |
< |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 3574 |
< |
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
| 3573 |
> |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 3574 |
> |
if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
| 3575 |
|
ac_prog_rejected=yes |
| 3576 |
|
continue |
| 3577 |
|
fi |
| 3578 |
|
ac_cv_prog_CC="cc" |
| 3579 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3579 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 3580 |
|
break 2 |
| 3581 |
|
fi |
| 3582 |
|
done |
| 3592 |
|
# However, it has the same basename, so the bogon will be chosen |
| 3593 |
|
# first if we set CC to just the basename; use the full file name. |
| 3594 |
|
shift |
| 3595 |
< |
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
| 3595 |
> |
ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@" |
| 3596 |
|
fi |
| 3597 |
|
fi |
| 3598 |
|
fi |
| 3599 |
|
fi |
| 3600 |
|
CC=$ac_cv_prog_CC |
| 3601 |
|
if test -n "$CC"; then |
| 3602 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
| 3603 |
< |
$as_echo "$CC" >&6; } |
| 3602 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
| 3603 |
> |
printf "%s\n" "$CC" >&6; } |
| 3604 |
|
else |
| 3605 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3606 |
< |
$as_echo "no" >&6; } |
| 3605 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3606 |
> |
printf "%s\n" "no" >&6; } |
| 3607 |
|
fi |
| 3608 |
|
|
| 3609 |
|
|
| 3614 |
|
do |
| 3615 |
|
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
| 3616 |
|
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| 3617 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3618 |
< |
$as_echo_n "checking for $ac_word... " >&6; } |
| 3619 |
< |
if ${ac_cv_prog_CC+:} false; then : |
| 3620 |
< |
$as_echo_n "(cached) " >&6 |
| 3621 |
< |
else |
| 3617 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3618 |
> |
printf %s "checking for $ac_word... " >&6; } |
| 3619 |
> |
if test ${ac_cv_prog_CC+y} |
| 3620 |
> |
then : |
| 3621 |
> |
printf %s "(cached) " >&6 |
| 3622 |
> |
else $as_nop |
| 3623 |
|
if test -n "$CC"; then |
| 3624 |
|
ac_cv_prog_CC="$CC" # Let the user override the test. |
| 3625 |
|
else |
| 3627 |
|
for as_dir in $PATH |
| 3628 |
|
do |
| 3629 |
|
IFS=$as_save_IFS |
| 3630 |
< |
test -z "$as_dir" && as_dir=. |
| 3630 |
> |
case $as_dir in #((( |
| 3631 |
> |
'') as_dir=./ ;; |
| 3632 |
> |
*/) ;; |
| 3633 |
> |
*) as_dir=$as_dir/ ;; |
| 3634 |
> |
esac |
| 3635 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3636 |
< |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 3636 |
> |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 3637 |
|
ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
| 3638 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3638 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 3639 |
|
break 2 |
| 3640 |
|
fi |
| 3641 |
|
done |
| 3646 |
|
fi |
| 3647 |
|
CC=$ac_cv_prog_CC |
| 3648 |
|
if test -n "$CC"; then |
| 3649 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
| 3650 |
< |
$as_echo "$CC" >&6; } |
| 3649 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
| 3650 |
> |
printf "%s\n" "$CC" >&6; } |
| 3651 |
|
else |
| 3652 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3653 |
< |
$as_echo "no" >&6; } |
| 3652 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3653 |
> |
printf "%s\n" "no" >&6; } |
| 3654 |
|
fi |
| 3655 |
|
|
| 3656 |
|
|
| 3663 |
|
do |
| 3664 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
| 3665 |
|
set dummy $ac_prog; ac_word=$2 |
| 3666 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3667 |
< |
$as_echo_n "checking for $ac_word... " >&6; } |
| 3668 |
< |
if ${ac_cv_prog_ac_ct_CC+:} false; then : |
| 3669 |
< |
$as_echo_n "(cached) " >&6 |
| 3670 |
< |
else |
| 3666 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3667 |
> |
printf %s "checking for $ac_word... " >&6; } |
| 3668 |
> |
if test ${ac_cv_prog_ac_ct_CC+y} |
| 3669 |
> |
then : |
| 3670 |
> |
printf %s "(cached) " >&6 |
| 3671 |
> |
else $as_nop |
| 3672 |
|
if test -n "$ac_ct_CC"; then |
| 3673 |
|
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
| 3674 |
|
else |
| 3676 |
|
for as_dir in $PATH |
| 3677 |
|
do |
| 3678 |
|
IFS=$as_save_IFS |
| 3679 |
< |
test -z "$as_dir" && as_dir=. |
| 3679 |
> |
case $as_dir in #((( |
| 3680 |
> |
'') as_dir=./ ;; |
| 3681 |
> |
*/) ;; |
| 3682 |
> |
*) as_dir=$as_dir/ ;; |
| 3683 |
> |
esac |
| 3684 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3685 |
< |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 3685 |
> |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 3686 |
|
ac_cv_prog_ac_ct_CC="$ac_prog" |
| 3687 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3687 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 3688 |
|
break 2 |
| 3689 |
|
fi |
| 3690 |
|
done |
| 3695 |
|
fi |
| 3696 |
|
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
| 3697 |
|
if test -n "$ac_ct_CC"; then |
| 3698 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
| 3699 |
< |
$as_echo "$ac_ct_CC" >&6; } |
| 3698 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
| 3699 |
> |
printf "%s\n" "$ac_ct_CC" >&6; } |
| 3700 |
|
else |
| 3701 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3702 |
< |
$as_echo "no" >&6; } |
| 3701 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3702 |
> |
printf "%s\n" "no" >&6; } |
| 3703 |
|
fi |
| 3704 |
|
|
| 3705 |
|
|
| 3711 |
|
else |
| 3712 |
|
case $cross_compiling:$ac_tool_warned in |
| 3713 |
|
yes:) |
| 3714 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 3715 |
< |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 3714 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 3715 |
> |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 3716 |
> |
ac_tool_warned=yes ;; |
| 3717 |
> |
esac |
| 3718 |
> |
CC=$ac_ct_CC |
| 3719 |
> |
fi |
| 3720 |
> |
fi |
| 3721 |
> |
|
| 3722 |
> |
fi |
| 3723 |
> |
if test -z "$CC"; then |
| 3724 |
> |
if test -n "$ac_tool_prefix"; then |
| 3725 |
> |
# Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args. |
| 3726 |
> |
set dummy ${ac_tool_prefix}clang; ac_word=$2 |
| 3727 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3728 |
> |
printf %s "checking for $ac_word... " >&6; } |
| 3729 |
> |
if test ${ac_cv_prog_CC+y} |
| 3730 |
> |
then : |
| 3731 |
> |
printf %s "(cached) " >&6 |
| 3732 |
> |
else $as_nop |
| 3733 |
> |
if test -n "$CC"; then |
| 3734 |
> |
ac_cv_prog_CC="$CC" # Let the user override the test. |
| 3735 |
> |
else |
| 3736 |
> |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3737 |
> |
for as_dir in $PATH |
| 3738 |
> |
do |
| 3739 |
> |
IFS=$as_save_IFS |
| 3740 |
> |
case $as_dir in #((( |
| 3741 |
> |
'') as_dir=./ ;; |
| 3742 |
> |
*/) ;; |
| 3743 |
> |
*) as_dir=$as_dir/ ;; |
| 3744 |
> |
esac |
| 3745 |
> |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3746 |
> |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 3747 |
> |
ac_cv_prog_CC="${ac_tool_prefix}clang" |
| 3748 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 3749 |
> |
break 2 |
| 3750 |
> |
fi |
| 3751 |
> |
done |
| 3752 |
> |
done |
| 3753 |
> |
IFS=$as_save_IFS |
| 3754 |
> |
|
| 3755 |
> |
fi |
| 3756 |
> |
fi |
| 3757 |
> |
CC=$ac_cv_prog_CC |
| 3758 |
> |
if test -n "$CC"; then |
| 3759 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
| 3760 |
> |
printf "%s\n" "$CC" >&6; } |
| 3761 |
> |
else |
| 3762 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3763 |
> |
printf "%s\n" "no" >&6; } |
| 3764 |
> |
fi |
| 3765 |
> |
|
| 3766 |
> |
|
| 3767 |
> |
fi |
| 3768 |
> |
if test -z "$ac_cv_prog_CC"; then |
| 3769 |
> |
ac_ct_CC=$CC |
| 3770 |
> |
# Extract the first word of "clang", so it can be a program name with args. |
| 3771 |
> |
set dummy clang; ac_word=$2 |
| 3772 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3773 |
> |
printf %s "checking for $ac_word... " >&6; } |
| 3774 |
> |
if test ${ac_cv_prog_ac_ct_CC+y} |
| 3775 |
> |
then : |
| 3776 |
> |
printf %s "(cached) " >&6 |
| 3777 |
> |
else $as_nop |
| 3778 |
> |
if test -n "$ac_ct_CC"; then |
| 3779 |
> |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
| 3780 |
> |
else |
| 3781 |
> |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3782 |
> |
for as_dir in $PATH |
| 3783 |
> |
do |
| 3784 |
> |
IFS=$as_save_IFS |
| 3785 |
> |
case $as_dir in #((( |
| 3786 |
> |
'') as_dir=./ ;; |
| 3787 |
> |
*/) ;; |
| 3788 |
> |
*) as_dir=$as_dir/ ;; |
| 3789 |
> |
esac |
| 3790 |
> |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3791 |
> |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 3792 |
> |
ac_cv_prog_ac_ct_CC="clang" |
| 3793 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 3794 |
> |
break 2 |
| 3795 |
> |
fi |
| 3796 |
> |
done |
| 3797 |
> |
done |
| 3798 |
> |
IFS=$as_save_IFS |
| 3799 |
> |
|
| 3800 |
> |
fi |
| 3801 |
> |
fi |
| 3802 |
> |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
| 3803 |
> |
if test -n "$ac_ct_CC"; then |
| 3804 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
| 3805 |
> |
printf "%s\n" "$ac_ct_CC" >&6; } |
| 3806 |
> |
else |
| 3807 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3808 |
> |
printf "%s\n" "no" >&6; } |
| 3809 |
> |
fi |
| 3810 |
> |
|
| 3811 |
> |
if test "x$ac_ct_CC" = x; then |
| 3812 |
> |
CC="" |
| 3813 |
> |
else |
| 3814 |
> |
case $cross_compiling:$ac_tool_warned in |
| 3815 |
> |
yes:) |
| 3816 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 3817 |
> |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 3818 |
|
ac_tool_warned=yes ;; |
| 3819 |
|
esac |
| 3820 |
|
CC=$ac_ct_CC |
| 3821 |
|
fi |
| 3822 |
+ |
else |
| 3823 |
+ |
CC="$ac_cv_prog_CC" |
| 3824 |
|
fi |
| 3825 |
|
|
| 3826 |
|
fi |
| 3827 |
|
|
| 3828 |
|
|
| 3829 |
< |
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 3830 |
< |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 3829 |
> |
test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 3830 |
> |
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 3831 |
|
as_fn_error $? "no acceptable C compiler found in \$PATH |
| 3832 |
|
See \`config.log' for more details" "$LINENO" 5; } |
| 3833 |
|
|
| 3834 |
|
# Provide some information about the compiler. |
| 3835 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
| 3835 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
| 3836 |
|
set X $ac_compile |
| 3837 |
|
ac_compiler=$2 |
| 3838 |
< |
for ac_option in --version -v -V -qversion; do |
| 3838 |
> |
for ac_option in --version -v -V -qversion -version; do |
| 3839 |
|
{ { ac_try="$ac_compiler $ac_option >&5" |
| 3840 |
|
case "(($ac_try" in |
| 3841 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3842 |
|
*) ac_try_echo=$ac_try;; |
| 3843 |
|
esac |
| 3844 |
|
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 3845 |
< |
$as_echo "$ac_try_echo"; } >&5 |
| 3845 |
> |
printf "%s\n" "$ac_try_echo"; } >&5 |
| 3846 |
|
(eval "$ac_compiler $ac_option >&5") 2>conftest.err |
| 3847 |
|
ac_status=$? |
| 3848 |
|
if test -s conftest.err; then |
| 3852 |
|
cat conftest.er1 >&5 |
| 3853 |
|
fi |
| 3854 |
|
rm -f conftest.er1 conftest.err |
| 3855 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 3855 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 3856 |
|
test $ac_status = 0; } |
| 3857 |
|
done |
| 3858 |
|
|
| 3860 |
|
/* end confdefs.h. */ |
| 3861 |
|
|
| 3862 |
|
int |
| 3863 |
< |
main () |
| 3863 |
> |
main (void) |
| 3864 |
|
{ |
| 3865 |
|
|
| 3866 |
|
; |
| 3872 |
|
# Try to create an executable without -o first, disregard a.out. |
| 3873 |
|
# It will help us diagnose broken compilers, and finding out an intuition |
| 3874 |
|
# of exeext. |
| 3875 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 |
| 3876 |
< |
$as_echo_n "checking whether the C compiler works... " >&6; } |
| 3877 |
< |
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
| 3875 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 |
| 3876 |
> |
printf %s "checking whether the C compiler works... " >&6; } |
| 3877 |
> |
ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
| 3878 |
|
|
| 3879 |
|
# The possible output files: |
| 3880 |
|
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" |
| 3895 |
|
*) ac_try_echo=$ac_try;; |
| 3896 |
|
esac |
| 3897 |
|
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 3898 |
< |
$as_echo "$ac_try_echo"; } >&5 |
| 3898 |
> |
printf "%s\n" "$ac_try_echo"; } >&5 |
| 3899 |
|
(eval "$ac_link_default") 2>&5 |
| 3900 |
|
ac_status=$? |
| 3901 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 3902 |
< |
test $ac_status = 0; }; then : |
| 3901 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 3902 |
> |
test $ac_status = 0; } |
| 3903 |
> |
then : |
| 3904 |
|
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
| 3905 |
|
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
| 3906 |
|
# in a Makefile. We should not override ac_cv_exeext if it was cached, |
| 3917 |
|
# certainly right. |
| 3918 |
|
break;; |
| 3919 |
|
*.* ) |
| 3920 |
< |
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
| 3920 |
> |
if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no; |
| 3921 |
|
then :; else |
| 3922 |
|
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
| 3923 |
|
fi |
| 3933 |
|
done |
| 3934 |
|
test "$ac_cv_exeext" = no && ac_cv_exeext= |
| 3935 |
|
|
| 3936 |
< |
else |
| 3936 |
> |
else $as_nop |
| 3937 |
|
ac_file='' |
| 3938 |
|
fi |
| 3939 |
< |
if test -z "$ac_file"; then : |
| 3940 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3941 |
< |
$as_echo "no" >&6; } |
| 3942 |
< |
$as_echo "$as_me: failed program was:" >&5 |
| 3939 |
> |
if test -z "$ac_file" |
| 3940 |
> |
then : |
| 3941 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3942 |
> |
printf "%s\n" "no" >&6; } |
| 3943 |
> |
printf "%s\n" "$as_me: failed program was:" >&5 |
| 3944 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 3945 |
|
|
| 3946 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 3947 |
< |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 3946 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 3947 |
> |
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 3948 |
|
as_fn_error 77 "C compiler cannot create executables |
| 3949 |
|
See \`config.log' for more details" "$LINENO" 5; } |
| 3950 |
< |
else |
| 3951 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 3952 |
< |
$as_echo "yes" >&6; } |
| 3953 |
< |
fi |
| 3954 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
| 3955 |
< |
$as_echo_n "checking for C compiler default output file name... " >&6; } |
| 3956 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 |
| 3957 |
< |
$as_echo "$ac_file" >&6; } |
| 3950 |
> |
else $as_nop |
| 3951 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 3952 |
> |
printf "%s\n" "yes" >&6; } |
| 3953 |
> |
fi |
| 3954 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
| 3955 |
> |
printf %s "checking for C compiler default output file name... " >&6; } |
| 3956 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 |
| 3957 |
> |
printf "%s\n" "$ac_file" >&6; } |
| 3958 |
|
ac_exeext=$ac_cv_exeext |
| 3959 |
|
|
| 3960 |
|
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out |
| 3961 |
|
ac_clean_files=$ac_clean_files_save |
| 3962 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 |
| 3963 |
< |
$as_echo_n "checking for suffix of executables... " >&6; } |
| 3962 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 |
| 3963 |
> |
printf %s "checking for suffix of executables... " >&6; } |
| 3964 |
|
if { { ac_try="$ac_link" |
| 3965 |
|
case "(($ac_try" in |
| 3966 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3967 |
|
*) ac_try_echo=$ac_try;; |
| 3968 |
|
esac |
| 3969 |
|
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 3970 |
< |
$as_echo "$ac_try_echo"; } >&5 |
| 3970 |
> |
printf "%s\n" "$ac_try_echo"; } >&5 |
| 3971 |
|
(eval "$ac_link") 2>&5 |
| 3972 |
|
ac_status=$? |
| 3973 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 3974 |
< |
test $ac_status = 0; }; then : |
| 3973 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 3974 |
> |
test $ac_status = 0; } |
| 3975 |
> |
then : |
| 3976 |
|
# If both `conftest.exe' and `conftest' are `present' (well, observable) |
| 3977 |
|
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
| 3978 |
|
# work properly (i.e., refer to `conftest.exe'), while it won't with |
| 3986 |
|
* ) break;; |
| 3987 |
|
esac |
| 3988 |
|
done |
| 3989 |
< |
else |
| 3990 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 3991 |
< |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 3989 |
> |
else $as_nop |
| 3990 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 3991 |
> |
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 3992 |
|
as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
| 3993 |
|
See \`config.log' for more details" "$LINENO" 5; } |
| 3994 |
|
fi |
| 3995 |
|
rm -f conftest conftest$ac_cv_exeext |
| 3996 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
| 3997 |
< |
$as_echo "$ac_cv_exeext" >&6; } |
| 3996 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
| 3997 |
> |
printf "%s\n" "$ac_cv_exeext" >&6; } |
| 3998 |
|
|
| 3999 |
|
rm -f conftest.$ac_ext |
| 4000 |
|
EXEEXT=$ac_cv_exeext |
| 4003 |
|
/* end confdefs.h. */ |
| 4004 |
|
#include <stdio.h> |
| 4005 |
|
int |
| 4006 |
< |
main () |
| 4006 |
> |
main (void) |
| 4007 |
|
{ |
| 4008 |
|
FILE *f = fopen ("conftest.out", "w"); |
| 4009 |
|
return ferror (f) || fclose (f) != 0; |
| 4015 |
|
ac_clean_files="$ac_clean_files conftest.out" |
| 4016 |
|
# Check that the compiler produces executables we can run. If not, either |
| 4017 |
|
# the compiler is broken, or we cross compile. |
| 4018 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 |
| 4019 |
< |
$as_echo_n "checking whether we are cross compiling... " >&6; } |
| 4018 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 |
| 4019 |
> |
printf %s "checking whether we are cross compiling... " >&6; } |
| 4020 |
|
if test "$cross_compiling" != yes; then |
| 4021 |
|
{ { ac_try="$ac_link" |
| 4022 |
|
case "(($ac_try" in |
| 4024 |
|
*) ac_try_echo=$ac_try;; |
| 4025 |
|
esac |
| 4026 |
|
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 4027 |
< |
$as_echo "$ac_try_echo"; } >&5 |
| 4027 |
> |
printf "%s\n" "$ac_try_echo"; } >&5 |
| 4028 |
|
(eval "$ac_link") 2>&5 |
| 4029 |
|
ac_status=$? |
| 4030 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 4030 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 4031 |
|
test $ac_status = 0; } |
| 4032 |
|
if { ac_try='./conftest$ac_cv_exeext' |
| 4033 |
|
{ { case "(($ac_try" in |
| 4035 |
|
*) ac_try_echo=$ac_try;; |
| 4036 |
|
esac |
| 4037 |
|
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 4038 |
< |
$as_echo "$ac_try_echo"; } >&5 |
| 4038 |
> |
printf "%s\n" "$ac_try_echo"; } >&5 |
| 4039 |
|
(eval "$ac_try") 2>&5 |
| 4040 |
|
ac_status=$? |
| 4041 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 4041 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 4042 |
|
test $ac_status = 0; }; }; then |
| 4043 |
|
cross_compiling=no |
| 4044 |
|
else |
| 4045 |
|
if test "$cross_compiling" = maybe; then |
| 4046 |
|
cross_compiling=yes |
| 4047 |
|
else |
| 4048 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 4049 |
< |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 4050 |
< |
as_fn_error $? "cannot run C compiled programs. |
| 4048 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 4049 |
> |
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 4050 |
> |
as_fn_error 77 "cannot run C compiled programs. |
| 4051 |
|
If you meant to cross compile, use \`--host'. |
| 4052 |
|
See \`config.log' for more details" "$LINENO" 5; } |
| 4053 |
|
fi |
| 4054 |
|
fi |
| 4055 |
|
fi |
| 4056 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
| 4057 |
< |
$as_echo "$cross_compiling" >&6; } |
| 4056 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
| 4057 |
> |
printf "%s\n" "$cross_compiling" >&6; } |
| 4058 |
|
|
| 4059 |
|
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out |
| 4060 |
|
ac_clean_files=$ac_clean_files_save |
| 4061 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
| 4062 |
< |
$as_echo_n "checking for suffix of object files... " >&6; } |
| 4063 |
< |
if ${ac_cv_objext+:} false; then : |
| 4064 |
< |
$as_echo_n "(cached) " >&6 |
| 4065 |
< |
else |
| 4061 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
| 4062 |
> |
printf %s "checking for suffix of object files... " >&6; } |
| 4063 |
> |
if test ${ac_cv_objext+y} |
| 4064 |
> |
then : |
| 4065 |
> |
printf %s "(cached) " >&6 |
| 4066 |
> |
else $as_nop |
| 4067 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4068 |
|
/* end confdefs.h. */ |
| 4069 |
|
|
| 4070 |
|
int |
| 4071 |
< |
main () |
| 4071 |
> |
main (void) |
| 4072 |
|
{ |
| 4073 |
|
|
| 4074 |
|
; |
| 4082 |
|
*) ac_try_echo=$ac_try;; |
| 4083 |
|
esac |
| 4084 |
|
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 4085 |
< |
$as_echo "$ac_try_echo"; } >&5 |
| 4085 |
> |
printf "%s\n" "$ac_try_echo"; } >&5 |
| 4086 |
|
(eval "$ac_compile") 2>&5 |
| 4087 |
|
ac_status=$? |
| 4088 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 4089 |
< |
test $ac_status = 0; }; then : |
| 4088 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 4089 |
> |
test $ac_status = 0; } |
| 4090 |
> |
then : |
| 4091 |
|
for ac_file in conftest.o conftest.obj conftest.*; do |
| 4092 |
|
test -f "$ac_file" || continue; |
| 4093 |
|
case $ac_file in |
| 4096 |
|
break;; |
| 4097 |
|
esac |
| 4098 |
|
done |
| 4099 |
< |
else |
| 4100 |
< |
$as_echo "$as_me: failed program was:" >&5 |
| 4099 |
> |
else $as_nop |
| 4100 |
> |
printf "%s\n" "$as_me: failed program was:" >&5 |
| 4101 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 4102 |
|
|
| 4103 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 4104 |
< |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 4103 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 4104 |
> |
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 4105 |
|
as_fn_error $? "cannot compute suffix of object files: cannot compile |
| 4106 |
|
See \`config.log' for more details" "$LINENO" 5; } |
| 4107 |
|
fi |
| 4108 |
|
rm -f conftest.$ac_cv_objext conftest.$ac_ext |
| 4109 |
|
fi |
| 4110 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
| 4111 |
< |
$as_echo "$ac_cv_objext" >&6; } |
| 4110 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
| 4111 |
> |
printf "%s\n" "$ac_cv_objext" >&6; } |
| 4112 |
|
OBJEXT=$ac_cv_objext |
| 4113 |
|
ac_objext=$OBJEXT |
| 4114 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
| 4115 |
< |
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
| 4116 |
< |
if ${ac_cv_c_compiler_gnu+:} false; then : |
| 4117 |
< |
$as_echo_n "(cached) " >&6 |
| 4118 |
< |
else |
| 4114 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5 |
| 4115 |
> |
printf %s "checking whether the compiler supports GNU C... " >&6; } |
| 4116 |
> |
if test ${ac_cv_c_compiler_gnu+y} |
| 4117 |
> |
then : |
| 4118 |
> |
printf %s "(cached) " >&6 |
| 4119 |
> |
else $as_nop |
| 4120 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4121 |
|
/* end confdefs.h. */ |
| 4122 |
|
|
| 4123 |
|
int |
| 4124 |
< |
main () |
| 4124 |
> |
main (void) |
| 4125 |
|
{ |
| 4126 |
|
#ifndef __GNUC__ |
| 4127 |
|
choke me |
| 4131 |
|
return 0; |
| 4132 |
|
} |
| 4133 |
|
_ACEOF |
| 4134 |
< |
if ac_fn_c_try_compile "$LINENO"; then : |
| 4134 |
> |
if ac_fn_c_try_compile "$LINENO" |
| 4135 |
> |
then : |
| 4136 |
|
ac_compiler_gnu=yes |
| 4137 |
< |
else |
| 4137 |
> |
else $as_nop |
| 4138 |
|
ac_compiler_gnu=no |
| 4139 |
|
fi |
| 4140 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4140 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 4141 |
|
ac_cv_c_compiler_gnu=$ac_compiler_gnu |
| 4142 |
|
|
| 4143 |
|
fi |
| 4144 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 |
| 4145 |
< |
$as_echo "$ac_cv_c_compiler_gnu" >&6; } |
| 4144 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 |
| 4145 |
> |
printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; } |
| 4146 |
> |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 4147 |
> |
|
| 4148 |
|
if test $ac_compiler_gnu = yes; then |
| 4149 |
|
GCC=yes |
| 4150 |
|
else |
| 4151 |
|
GCC= |
| 4152 |
|
fi |
| 4153 |
< |
ac_test_CFLAGS=${CFLAGS+set} |
| 4153 |
> |
ac_test_CFLAGS=${CFLAGS+y} |
| 4154 |
|
ac_save_CFLAGS=$CFLAGS |
| 4155 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
| 4156 |
< |
$as_echo_n "checking whether $CC accepts -g... " >&6; } |
| 4157 |
< |
if ${ac_cv_prog_cc_g+:} false; then : |
| 4158 |
< |
$as_echo_n "(cached) " >&6 |
| 4159 |
< |
else |
| 4155 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
| 4156 |
> |
printf %s "checking whether $CC accepts -g... " >&6; } |
| 4157 |
> |
if test ${ac_cv_prog_cc_g+y} |
| 4158 |
> |
then : |
| 4159 |
> |
printf %s "(cached) " >&6 |
| 4160 |
> |
else $as_nop |
| 4161 |
|
ac_save_c_werror_flag=$ac_c_werror_flag |
| 4162 |
|
ac_c_werror_flag=yes |
| 4163 |
|
ac_cv_prog_cc_g=no |
| 4166 |
|
/* end confdefs.h. */ |
| 4167 |
|
|
| 4168 |
|
int |
| 4169 |
< |
main () |
| 4169 |
> |
main (void) |
| 4170 |
|
{ |
| 4171 |
|
|
| 4172 |
|
; |
| 4173 |
|
return 0; |
| 4174 |
|
} |
| 4175 |
|
_ACEOF |
| 4176 |
< |
if ac_fn_c_try_compile "$LINENO"; then : |
| 4176 |
> |
if ac_fn_c_try_compile "$LINENO" |
| 4177 |
> |
then : |
| 4178 |
|
ac_cv_prog_cc_g=yes |
| 4179 |
< |
else |
| 4179 |
> |
else $as_nop |
| 4180 |
|
CFLAGS="" |
| 4181 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4182 |
|
/* end confdefs.h. */ |
| 4183 |
|
|
| 4184 |
|
int |
| 4185 |
< |
main () |
| 4185 |
> |
main (void) |
| 4186 |
|
{ |
| 4187 |
|
|
| 4188 |
|
; |
| 4189 |
|
return 0; |
| 4190 |
|
} |
| 4191 |
|
_ACEOF |
| 4192 |
< |
if ac_fn_c_try_compile "$LINENO"; then : |
| 4192 |
> |
if ac_fn_c_try_compile "$LINENO" |
| 4193 |
> |
then : |
| 4194 |
|
|
| 4195 |
< |
else |
| 4195 |
> |
else $as_nop |
| 4196 |
|
ac_c_werror_flag=$ac_save_c_werror_flag |
| 4197 |
|
CFLAGS="-g" |
| 4198 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4199 |
|
/* end confdefs.h. */ |
| 4200 |
|
|
| 4201 |
|
int |
| 4202 |
< |
main () |
| 4202 |
> |
main (void) |
| 4203 |
|
{ |
| 4204 |
|
|
| 4205 |
|
; |
| 4206 |
|
return 0; |
| 4207 |
|
} |
| 4208 |
|
_ACEOF |
| 4209 |
< |
if ac_fn_c_try_compile "$LINENO"; then : |
| 4209 |
> |
if ac_fn_c_try_compile "$LINENO" |
| 4210 |
> |
then : |
| 4211 |
|
ac_cv_prog_cc_g=yes |
| 4212 |
|
fi |
| 4213 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4213 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 4214 |
|
fi |
| 4215 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4215 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 4216 |
|
fi |
| 4217 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4217 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 4218 |
|
ac_c_werror_flag=$ac_save_c_werror_flag |
| 4219 |
|
fi |
| 4220 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 |
| 4221 |
< |
$as_echo "$ac_cv_prog_cc_g" >&6; } |
| 4222 |
< |
if test "$ac_test_CFLAGS" = set; then |
| 4220 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 |
| 4221 |
> |
printf "%s\n" "$ac_cv_prog_cc_g" >&6; } |
| 4222 |
> |
if test $ac_test_CFLAGS; then |
| 4223 |
|
CFLAGS=$ac_save_CFLAGS |
| 4224 |
|
elif test $ac_cv_prog_cc_g = yes; then |
| 4225 |
|
if test "$GCC" = yes; then |
| 4234 |
|
CFLAGS= |
| 4235 |
|
fi |
| 4236 |
|
fi |
| 4237 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
| 4238 |
< |
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
| 4239 |
< |
if ${ac_cv_prog_cc_c89+:} false; then : |
| 4240 |
< |
$as_echo_n "(cached) " >&6 |
| 4241 |
< |
else |
| 4242 |
< |
ac_cv_prog_cc_c89=no |
| 4237 |
> |
ac_prog_cc_stdc=no |
| 4238 |
> |
if test x$ac_prog_cc_stdc = xno |
| 4239 |
> |
then : |
| 4240 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5 |
| 4241 |
> |
printf %s "checking for $CC option to enable C11 features... " >&6; } |
| 4242 |
> |
if test ${ac_cv_prog_cc_c11+y} |
| 4243 |
> |
then : |
| 4244 |
> |
printf %s "(cached) " >&6 |
| 4245 |
> |
else $as_nop |
| 4246 |
> |
ac_cv_prog_cc_c11=no |
| 4247 |
|
ac_save_CC=$CC |
| 4248 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4249 |
|
/* end confdefs.h. */ |
| 4250 |
< |
#include <stdarg.h> |
| 4251 |
< |
#include <stdio.h> |
| 4252 |
< |
struct stat; |
| 4253 |
< |
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
| 4254 |
< |
struct buf { int x; }; |
| 4255 |
< |
FILE * (*rcsopen) (struct buf *, struct stat *, int); |
| 4256 |
< |
static char *e (p, i) |
| 4257 |
< |
char **p; |
| 4258 |
< |
int i; |
| 4259 |
< |
{ |
| 4260 |
< |
return p[i]; |
| 4261 |
< |
} |
| 4262 |
< |
static char *f (char * (*g) (char **, int), char **p, ...) |
| 4263 |
< |
{ |
| 4264 |
< |
char *s; |
| 3872 |
< |
va_list v; |
| 3873 |
< |
va_start (v,p); |
| 3874 |
< |
s = g (p, va_arg (v,int)); |
| 3875 |
< |
va_end (v); |
| 3876 |
< |
return s; |
| 3877 |
< |
} |
| 3878 |
< |
|
| 3879 |
< |
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
| 3880 |
< |
function prototypes and stuff, but not '\xHH' hex character constants. |
| 3881 |
< |
These don't provoke an error unfortunately, instead are silently treated |
| 3882 |
< |
as 'x'. The following induces an error, until -std is added to get |
| 3883 |
< |
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
| 3884 |
< |
array size at least. It's necessary to write '\x00'==0 to get something |
| 3885 |
< |
that's true only with -std. */ |
| 3886 |
< |
int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
| 4250 |
> |
$ac_c_conftest_c11_program |
| 4251 |
> |
_ACEOF |
| 4252 |
> |
for ac_arg in '' -std=gnu11 |
| 4253 |
> |
do |
| 4254 |
> |
CC="$ac_save_CC $ac_arg" |
| 4255 |
> |
if ac_fn_c_try_compile "$LINENO" |
| 4256 |
> |
then : |
| 4257 |
> |
ac_cv_prog_cc_c11=$ac_arg |
| 4258 |
> |
fi |
| 4259 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam |
| 4260 |
> |
test "x$ac_cv_prog_cc_c11" != "xno" && break |
| 4261 |
> |
done |
| 4262 |
> |
rm -f conftest.$ac_ext |
| 4263 |
> |
CC=$ac_save_CC |
| 4264 |
> |
fi |
| 4265 |
|
|
| 4266 |
< |
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters |
| 4267 |
< |
inside strings and character constants. */ |
| 4268 |
< |
#define FOO(x) 'x' |
| 4269 |
< |
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; |
| 4266 |
> |
if test "x$ac_cv_prog_cc_c11" = xno |
| 4267 |
> |
then : |
| 4268 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
| 4269 |
> |
printf "%s\n" "unsupported" >&6; } |
| 4270 |
> |
else $as_nop |
| 4271 |
> |
if test "x$ac_cv_prog_cc_c11" = x |
| 4272 |
> |
then : |
| 4273 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
| 4274 |
> |
printf "%s\n" "none needed" >&6; } |
| 4275 |
> |
else $as_nop |
| 4276 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5 |
| 4277 |
> |
printf "%s\n" "$ac_cv_prog_cc_c11" >&6; } |
| 4278 |
> |
CC="$CC $ac_cv_prog_cc_c11" |
| 4279 |
> |
fi |
| 4280 |
> |
ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11 |
| 4281 |
> |
ac_prog_cc_stdc=c11 |
| 4282 |
> |
fi |
| 4283 |
> |
fi |
| 4284 |
> |
if test x$ac_prog_cc_stdc = xno |
| 4285 |
> |
then : |
| 4286 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5 |
| 4287 |
> |
printf %s "checking for $CC option to enable C99 features... " >&6; } |
| 4288 |
> |
if test ${ac_cv_prog_cc_c99+y} |
| 4289 |
> |
then : |
| 4290 |
> |
printf %s "(cached) " >&6 |
| 4291 |
> |
else $as_nop |
| 4292 |
> |
ac_cv_prog_cc_c99=no |
| 4293 |
> |
ac_save_CC=$CC |
| 4294 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4295 |
> |
/* end confdefs.h. */ |
| 4296 |
> |
$ac_c_conftest_c99_program |
| 4297 |
> |
_ACEOF |
| 4298 |
> |
for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99= |
| 4299 |
> |
do |
| 4300 |
> |
CC="$ac_save_CC $ac_arg" |
| 4301 |
> |
if ac_fn_c_try_compile "$LINENO" |
| 4302 |
> |
then : |
| 4303 |
> |
ac_cv_prog_cc_c99=$ac_arg |
| 4304 |
> |
fi |
| 4305 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam |
| 4306 |
> |
test "x$ac_cv_prog_cc_c99" != "xno" && break |
| 4307 |
> |
done |
| 4308 |
> |
rm -f conftest.$ac_ext |
| 4309 |
> |
CC=$ac_save_CC |
| 4310 |
> |
fi |
| 4311 |
|
|
| 4312 |
< |
int test (int i, double x); |
| 4313 |
< |
struct s1 {int (*f) (int a);}; |
| 4314 |
< |
struct s2 {int (*f) (double a);}; |
| 4315 |
< |
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
| 4316 |
< |
int argc; |
| 4317 |
< |
char **argv; |
| 4318 |
< |
int |
| 4319 |
< |
main () |
| 4320 |
< |
{ |
| 4321 |
< |
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
| 4322 |
< |
; |
| 4323 |
< |
return 0; |
| 4324 |
< |
} |
| 4312 |
> |
if test "x$ac_cv_prog_cc_c99" = xno |
| 4313 |
> |
then : |
| 4314 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
| 4315 |
> |
printf "%s\n" "unsupported" >&6; } |
| 4316 |
> |
else $as_nop |
| 4317 |
> |
if test "x$ac_cv_prog_cc_c99" = x |
| 4318 |
> |
then : |
| 4319 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
| 4320 |
> |
printf "%s\n" "none needed" >&6; } |
| 4321 |
> |
else $as_nop |
| 4322 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 |
| 4323 |
> |
printf "%s\n" "$ac_cv_prog_cc_c99" >&6; } |
| 4324 |
> |
CC="$CC $ac_cv_prog_cc_c99" |
| 4325 |
> |
fi |
| 4326 |
> |
ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99 |
| 4327 |
> |
ac_prog_cc_stdc=c99 |
| 4328 |
> |
fi |
| 4329 |
> |
fi |
| 4330 |
> |
if test x$ac_prog_cc_stdc = xno |
| 4331 |
> |
then : |
| 4332 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5 |
| 4333 |
> |
printf %s "checking for $CC option to enable C89 features... " >&6; } |
| 4334 |
> |
if test ${ac_cv_prog_cc_c89+y} |
| 4335 |
> |
then : |
| 4336 |
> |
printf %s "(cached) " >&6 |
| 4337 |
> |
else $as_nop |
| 4338 |
> |
ac_cv_prog_cc_c89=no |
| 4339 |
> |
ac_save_CC=$CC |
| 4340 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4341 |
> |
/* end confdefs.h. */ |
| 4342 |
> |
$ac_c_conftest_c89_program |
| 4343 |
|
_ACEOF |
| 4344 |
< |
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
| 3908 |
< |
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
| 4344 |
> |
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
| 4345 |
|
do |
| 4346 |
|
CC="$ac_save_CC $ac_arg" |
| 4347 |
< |
if ac_fn_c_try_compile "$LINENO"; then : |
| 4347 |
> |
if ac_fn_c_try_compile "$LINENO" |
| 4348 |
> |
then : |
| 4349 |
|
ac_cv_prog_cc_c89=$ac_arg |
| 4350 |
|
fi |
| 4351 |
< |
rm -f core conftest.err conftest.$ac_objext |
| 4351 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam |
| 4352 |
|
test "x$ac_cv_prog_cc_c89" != "xno" && break |
| 4353 |
|
done |
| 4354 |
|
rm -f conftest.$ac_ext |
| 4355 |
|
CC=$ac_save_CC |
| 3919 |
– |
|
| 4356 |
|
fi |
| 3921 |
– |
# AC_CACHE_VAL |
| 3922 |
– |
case "x$ac_cv_prog_cc_c89" in |
| 3923 |
– |
x) |
| 3924 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
| 3925 |
– |
$as_echo "none needed" >&6; } ;; |
| 3926 |
– |
xno) |
| 3927 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
| 3928 |
– |
$as_echo "unsupported" >&6; } ;; |
| 3929 |
– |
*) |
| 3930 |
– |
CC="$CC $ac_cv_prog_cc_c89" |
| 3931 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 |
| 3932 |
– |
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; |
| 3933 |
– |
esac |
| 3934 |
– |
if test "x$ac_cv_prog_cc_c89" != xno; then : |
| 4357 |
|
|
| 4358 |
+ |
if test "x$ac_cv_prog_cc_c89" = xno |
| 4359 |
+ |
then : |
| 4360 |
+ |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
| 4361 |
+ |
printf "%s\n" "unsupported" >&6; } |
| 4362 |
+ |
else $as_nop |
| 4363 |
+ |
if test "x$ac_cv_prog_cc_c89" = x |
| 4364 |
+ |
then : |
| 4365 |
+ |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
| 4366 |
+ |
printf "%s\n" "none needed" >&6; } |
| 4367 |
+ |
else $as_nop |
| 4368 |
+ |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 |
| 4369 |
+ |
printf "%s\n" "$ac_cv_prog_cc_c89" >&6; } |
| 4370 |
+ |
CC="$CC $ac_cv_prog_cc_c89" |
| 4371 |
+ |
fi |
| 4372 |
+ |
ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89 |
| 4373 |
+ |
ac_prog_cc_stdc=c89 |
| 4374 |
+ |
fi |
| 4375 |
|
fi |
| 4376 |
|
|
| 4377 |
|
ac_ext=c |
| 4380 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 4381 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 4382 |
|
|
| 4383 |
< |
ac_ext=c |
| 4383 |
> |
|
| 4384 |
> |
ac_ext=c |
| 4385 |
|
ac_cpp='$CPP $CPPFLAGS' |
| 4386 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 4387 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 4388 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 4389 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 |
| 4390 |
< |
$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } |
| 4391 |
< |
if ${am_cv_prog_cc_c_o+:} false; then : |
| 4392 |
< |
$as_echo_n "(cached) " >&6 |
| 4393 |
< |
else |
| 4389 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 |
| 4390 |
> |
printf %s "checking whether $CC understands -c and -o together... " >&6; } |
| 4391 |
> |
if test ${am_cv_prog_cc_c_o+y} |
| 4392 |
> |
then : |
| 4393 |
> |
printf %s "(cached) " >&6 |
| 4394 |
> |
else $as_nop |
| 4395 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4396 |
|
/* end confdefs.h. */ |
| 4397 |
|
|
| 4398 |
|
int |
| 4399 |
< |
main () |
| 4399 |
> |
main (void) |
| 4400 |
|
{ |
| 4401 |
|
|
| 4402 |
|
; |
| 4424 |
|
rm -f core conftest* |
| 4425 |
|
unset am_i |
| 4426 |
|
fi |
| 4427 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 |
| 4428 |
< |
$as_echo "$am_cv_prog_cc_c_o" >&6; } |
| 4427 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 |
| 4428 |
> |
printf "%s\n" "$am_cv_prog_cc_c_o" >&6; } |
| 4429 |
|
if test "$am_cv_prog_cc_c_o" != yes; then |
| 4430 |
|
# Losing compiler, so override with the script. |
| 4431 |
|
# FIXME: It is wrong to rewrite CC. |
| 4440 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 4441 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 4442 |
|
|
| 4443 |
+ |
DEPDIR="${am__leading_dot}deps" |
| 4444 |
|
|
| 4445 |
< |
depcc="$CC" am_compiler_list= |
| 4445 |
> |
ac_config_commands="$ac_config_commands depfiles" |
| 4446 |
> |
|
| 4447 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5 |
| 4448 |
> |
printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; } |
| 4449 |
> |
cat > confinc.mk << 'END' |
| 4450 |
> |
am__doit: |
| 4451 |
> |
@echo this is the am__doit target >confinc.out |
| 4452 |
> |
.PHONY: am__doit |
| 4453 |
> |
END |
| 4454 |
> |
am__include="#" |
| 4455 |
> |
am__quote= |
| 4456 |
> |
# BSD make does it like this. |
| 4457 |
> |
echo '.include "confinc.mk" # ignored' > confmf.BSD |
| 4458 |
> |
# Other make implementations (GNU, Solaris 10, AIX) do it like this. |
| 4459 |
> |
echo 'include confinc.mk # ignored' > confmf.GNU |
| 4460 |
> |
_am_result=no |
| 4461 |
> |
for s in GNU BSD; do |
| 4462 |
> |
{ echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5 |
| 4463 |
> |
(${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5 |
| 4464 |
> |
ac_status=$? |
| 4465 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4466 |
> |
(exit $ac_status); } |
| 4467 |
> |
case $?:`cat confinc.out 2>/dev/null` in #( |
| 4468 |
> |
'0:this is the am__doit target') : |
| 4469 |
> |
case $s in #( |
| 4470 |
> |
BSD) : |
| 4471 |
> |
am__include='.include' am__quote='"' ;; #( |
| 4472 |
> |
*) : |
| 4473 |
> |
am__include='include' am__quote='' ;; |
| 4474 |
> |
esac ;; #( |
| 4475 |
> |
*) : |
| 4476 |
> |
;; |
| 4477 |
> |
esac |
| 4478 |
> |
if test "$am__include" != "#"; then |
| 4479 |
> |
_am_result="yes ($s style)" |
| 4480 |
> |
break |
| 4481 |
> |
fi |
| 4482 |
> |
done |
| 4483 |
> |
rm -f confinc.* confmf.* |
| 4484 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5 |
| 4485 |
> |
printf "%s\n" "${_am_result}" >&6; } |
| 4486 |
> |
|
| 4487 |
> |
# Check whether --enable-dependency-tracking was given. |
| 4488 |
> |
if test ${enable_dependency_tracking+y} |
| 4489 |
> |
then : |
| 4490 |
> |
enableval=$enable_dependency_tracking; |
| 4491 |
> |
fi |
| 4492 |
|
|
| 4493 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
| 4494 |
< |
$as_echo_n "checking dependency style of $depcc... " >&6; } |
| 4495 |
< |
if ${am_cv_CC_dependencies_compiler_type+:} false; then : |
| 4496 |
< |
$as_echo_n "(cached) " >&6 |
| 4493 |
> |
if test "x$enable_dependency_tracking" != xno; then |
| 4494 |
> |
am_depcomp="$ac_aux_dir/depcomp" |
| 4495 |
> |
AMDEPBACKSLASH='\' |
| 4496 |
> |
am__nodep='_no' |
| 4497 |
> |
fi |
| 4498 |
> |
if test "x$enable_dependency_tracking" != xno; then |
| 4499 |
> |
AMDEP_TRUE= |
| 4500 |
> |
AMDEP_FALSE='#' |
| 4501 |
|
else |
| 4502 |
+ |
AMDEP_TRUE='#' |
| 4503 |
+ |
AMDEP_FALSE= |
| 4504 |
+ |
fi |
| 4505 |
+ |
|
| 4506 |
+ |
|
| 4507 |
+ |
|
| 4508 |
+ |
depcc="$CC" am_compiler_list= |
| 4509 |
+ |
|
| 4510 |
+ |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
| 4511 |
+ |
printf %s "checking dependency style of $depcc... " >&6; } |
| 4512 |
+ |
if test ${am_cv_CC_dependencies_compiler_type+y} |
| 4513 |
+ |
then : |
| 4514 |
+ |
printf %s "(cached) " >&6 |
| 4515 |
+ |
else $as_nop |
| 4516 |
|
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
| 4517 |
|
# We make a subdir and do the tests there. Otherwise we can end up |
| 4518 |
|
# making bogus files that we don't know about and never remove. For |
| 4619 |
|
fi |
| 4620 |
|
|
| 4621 |
|
fi |
| 4622 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 |
| 4623 |
< |
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } |
| 4622 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 |
| 4623 |
> |
printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; } |
| 4624 |
|
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
| 4625 |
|
|
| 4626 |
|
if |
| 4634 |
|
fi |
| 4635 |
|
|
| 4636 |
|
|
| 4131 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5 |
| 4132 |
– |
$as_echo_n "checking for $CC option to accept ISO C99... " >&6; } |
| 4133 |
– |
if ${ac_cv_prog_cc_c99+:} false; then : |
| 4134 |
– |
$as_echo_n "(cached) " >&6 |
| 4135 |
– |
else |
| 4136 |
– |
ac_cv_prog_cc_c99=no |
| 4137 |
– |
ac_save_CC=$CC |
| 4138 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4139 |
– |
/* end confdefs.h. */ |
| 4140 |
– |
#include <stdarg.h> |
| 4141 |
– |
#include <stdbool.h> |
| 4142 |
– |
#include <stdlib.h> |
| 4143 |
– |
#include <wchar.h> |
| 4144 |
– |
#include <stdio.h> |
| 4145 |
– |
|
| 4146 |
– |
// Check varargs macros. These examples are taken from C99 6.10.3.5. |
| 4147 |
– |
#define debug(...) fprintf (stderr, __VA_ARGS__) |
| 4148 |
– |
#define showlist(...) puts (#__VA_ARGS__) |
| 4149 |
– |
#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) |
| 4150 |
– |
static void |
| 4151 |
– |
test_varargs_macros (void) |
| 4152 |
– |
{ |
| 4153 |
– |
int x = 1234; |
| 4154 |
– |
int y = 5678; |
| 4155 |
– |
debug ("Flag"); |
| 4156 |
– |
debug ("X = %d\n", x); |
| 4157 |
– |
showlist (The first, second, and third items.); |
| 4158 |
– |
report (x>y, "x is %d but y is %d", x, y); |
| 4159 |
– |
} |
| 4160 |
– |
|
| 4161 |
– |
// Check long long types. |
| 4162 |
– |
#define BIG64 18446744073709551615ull |
| 4163 |
– |
#define BIG32 4294967295ul |
| 4164 |
– |
#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) |
| 4165 |
– |
#if !BIG_OK |
| 4166 |
– |
your preprocessor is broken; |
| 4167 |
– |
#endif |
| 4168 |
– |
#if BIG_OK |
| 4169 |
– |
#else |
| 4170 |
– |
your preprocessor is broken; |
| 4171 |
– |
#endif |
| 4172 |
– |
static long long int bignum = -9223372036854775807LL; |
| 4173 |
– |
static unsigned long long int ubignum = BIG64; |
| 4174 |
– |
|
| 4175 |
– |
struct incomplete_array |
| 4176 |
– |
{ |
| 4177 |
– |
int datasize; |
| 4178 |
– |
double data[]; |
| 4179 |
– |
}; |
| 4180 |
– |
|
| 4181 |
– |
struct named_init { |
| 4182 |
– |
int number; |
| 4183 |
– |
const wchar_t *name; |
| 4184 |
– |
double average; |
| 4185 |
– |
}; |
| 4186 |
– |
|
| 4187 |
– |
typedef const char *ccp; |
| 4188 |
– |
|
| 4189 |
– |
static inline int |
| 4190 |
– |
test_restrict (ccp restrict text) |
| 4191 |
– |
{ |
| 4192 |
– |
// See if C++-style comments work. |
| 4193 |
– |
// Iterate through items via the restricted pointer. |
| 4194 |
– |
// Also check for declarations in for loops. |
| 4195 |
– |
for (unsigned int i = 0; *(text+i) != '\0'; ++i) |
| 4196 |
– |
continue; |
| 4197 |
– |
return 0; |
| 4198 |
– |
} |
| 4199 |
– |
|
| 4200 |
– |
// Check varargs and va_copy. |
| 4201 |
– |
static void |
| 4202 |
– |
test_varargs (const char *format, ...) |
| 4203 |
– |
{ |
| 4204 |
– |
va_list args; |
| 4205 |
– |
va_start (args, format); |
| 4206 |
– |
va_list args_copy; |
| 4207 |
– |
va_copy (args_copy, args); |
| 4208 |
– |
|
| 4209 |
– |
const char *str; |
| 4210 |
– |
int number; |
| 4211 |
– |
float fnumber; |
| 4212 |
– |
|
| 4213 |
– |
while (*format) |
| 4214 |
– |
{ |
| 4215 |
– |
switch (*format++) |
| 4216 |
– |
{ |
| 4217 |
– |
case 's': // string |
| 4218 |
– |
str = va_arg (args_copy, const char *); |
| 4219 |
– |
break; |
| 4220 |
– |
case 'd': // int |
| 4221 |
– |
number = va_arg (args_copy, int); |
| 4222 |
– |
break; |
| 4223 |
– |
case 'f': // float |
| 4224 |
– |
fnumber = va_arg (args_copy, double); |
| 4225 |
– |
break; |
| 4226 |
– |
default: |
| 4227 |
– |
break; |
| 4228 |
– |
} |
| 4229 |
– |
} |
| 4230 |
– |
va_end (args_copy); |
| 4231 |
– |
va_end (args); |
| 4232 |
– |
} |
| 4233 |
– |
|
| 4234 |
– |
int |
| 4235 |
– |
main () |
| 4236 |
– |
{ |
| 4237 |
– |
|
| 4238 |
– |
// Check bool. |
| 4239 |
– |
_Bool success = false; |
| 4240 |
– |
|
| 4241 |
– |
// Check restrict. |
| 4242 |
– |
if (test_restrict ("String literal") == 0) |
| 4243 |
– |
success = true; |
| 4244 |
– |
char *restrict newvar = "Another string"; |
| 4245 |
– |
|
| 4246 |
– |
// Check varargs. |
| 4247 |
– |
test_varargs ("s, d' f .", "string", 65, 34.234); |
| 4248 |
– |
test_varargs_macros (); |
| 4249 |
– |
|
| 4250 |
– |
// Check flexible array members. |
| 4251 |
– |
struct incomplete_array *ia = |
| 4252 |
– |
malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); |
| 4253 |
– |
ia->datasize = 10; |
| 4254 |
– |
for (int i = 0; i < ia->datasize; ++i) |
| 4255 |
– |
ia->data[i] = i * 1.234; |
| 4256 |
– |
|
| 4257 |
– |
// Check named initializers. |
| 4258 |
– |
struct named_init ni = { |
| 4259 |
– |
.number = 34, |
| 4260 |
– |
.name = L"Test wide string", |
| 4261 |
– |
.average = 543.34343, |
| 4262 |
– |
}; |
| 4263 |
– |
|
| 4264 |
– |
ni.number = 58; |
| 4265 |
– |
|
| 4266 |
– |
int dynamic_array[ni.number]; |
| 4267 |
– |
dynamic_array[ni.number - 1] = 543; |
| 4268 |
– |
|
| 4269 |
– |
// work around unused variable warnings |
| 4270 |
– |
return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' |
| 4271 |
– |
|| dynamic_array[ni.number - 1] != 543); |
| 4272 |
– |
|
| 4273 |
– |
; |
| 4274 |
– |
return 0; |
| 4275 |
– |
} |
| 4276 |
– |
_ACEOF |
| 4277 |
– |
for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99 |
| 4278 |
– |
do |
| 4279 |
– |
CC="$ac_save_CC $ac_arg" |
| 4280 |
– |
if ac_fn_c_try_compile "$LINENO"; then : |
| 4281 |
– |
ac_cv_prog_cc_c99=$ac_arg |
| 4282 |
– |
fi |
| 4283 |
– |
rm -f core conftest.err conftest.$ac_objext |
| 4284 |
– |
test "x$ac_cv_prog_cc_c99" != "xno" && break |
| 4285 |
– |
done |
| 4286 |
– |
rm -f conftest.$ac_ext |
| 4287 |
– |
CC=$ac_save_CC |
| 4288 |
– |
|
| 4289 |
– |
fi |
| 4290 |
– |
# AC_CACHE_VAL |
| 4291 |
– |
case "x$ac_cv_prog_cc_c99" in |
| 4292 |
– |
x) |
| 4293 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
| 4294 |
– |
$as_echo "none needed" >&6; } ;; |
| 4295 |
– |
xno) |
| 4296 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
| 4297 |
– |
$as_echo "unsupported" >&6; } ;; |
| 4298 |
– |
*) |
| 4299 |
– |
CC="$CC $ac_cv_prog_cc_c99" |
| 4300 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 |
| 4301 |
– |
$as_echo "$ac_cv_prog_cc_c99" >&6; } ;; |
| 4302 |
– |
esac |
| 4303 |
– |
if test "x$ac_cv_prog_cc_c99" != xno; then : |
| 4304 |
– |
|
| 4305 |
– |
fi |
| 4306 |
– |
|
| 4307 |
– |
|
| 4308 |
– |
if test "$ac_cv_prog_cc_c99" = "no"; then : |
| 4309 |
– |
as_fn_error $? "no suitable C99 compiler found. Aborting." "$LINENO" 5 |
| 4310 |
– |
fi |
| 4637 |
|
for ac_prog in 'bison -y' byacc |
| 4638 |
|
do |
| 4639 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
| 4640 |
|
set dummy $ac_prog; ac_word=$2 |
| 4641 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 4642 |
< |
$as_echo_n "checking for $ac_word... " >&6; } |
| 4643 |
< |
if ${ac_cv_prog_YACC+:} false; then : |
| 4644 |
< |
$as_echo_n "(cached) " >&6 |
| 4645 |
< |
else |
| 4641 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 4642 |
> |
printf %s "checking for $ac_word... " >&6; } |
| 4643 |
> |
if test ${ac_cv_prog_YACC+y} |
| 4644 |
> |
then : |
| 4645 |
> |
printf %s "(cached) " >&6 |
| 4646 |
> |
else $as_nop |
| 4647 |
|
if test -n "$YACC"; then |
| 4648 |
|
ac_cv_prog_YACC="$YACC" # Let the user override the test. |
| 4649 |
|
else |
| 4651 |
|
for as_dir in $PATH |
| 4652 |
|
do |
| 4653 |
|
IFS=$as_save_IFS |
| 4654 |
< |
test -z "$as_dir" && as_dir=. |
| 4654 |
> |
case $as_dir in #((( |
| 4655 |
> |
'') as_dir=./ ;; |
| 4656 |
> |
*/) ;; |
| 4657 |
> |
*) as_dir=$as_dir/ ;; |
| 4658 |
> |
esac |
| 4659 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 4660 |
< |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 4660 |
> |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 4661 |
|
ac_cv_prog_YACC="$ac_prog" |
| 4662 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 4662 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 4663 |
|
break 2 |
| 4664 |
|
fi |
| 4665 |
|
done |
| 4670 |
|
fi |
| 4671 |
|
YACC=$ac_cv_prog_YACC |
| 4672 |
|
if test -n "$YACC"; then |
| 4673 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5 |
| 4674 |
< |
$as_echo "$YACC" >&6; } |
| 4673 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5 |
| 4674 |
> |
printf "%s\n" "$YACC" >&6; } |
| 4675 |
|
else |
| 4676 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 4677 |
< |
$as_echo "no" >&6; } |
| 4676 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 4677 |
> |
printf "%s\n" "no" >&6; } |
| 4678 |
|
fi |
| 4679 |
|
|
| 4680 |
|
|
| 4687 |
|
do |
| 4688 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
| 4689 |
|
set dummy $ac_prog; ac_word=$2 |
| 4690 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 4691 |
< |
$as_echo_n "checking for $ac_word... " >&6; } |
| 4692 |
< |
if ${ac_cv_prog_LEX+:} false; then : |
| 4693 |
< |
$as_echo_n "(cached) " >&6 |
| 4694 |
< |
else |
| 4690 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 4691 |
> |
printf %s "checking for $ac_word... " >&6; } |
| 4692 |
> |
if test ${ac_cv_prog_LEX+y} |
| 4693 |
> |
then : |
| 4694 |
> |
printf %s "(cached) " >&6 |
| 4695 |
> |
else $as_nop |
| 4696 |
|
if test -n "$LEX"; then |
| 4697 |
|
ac_cv_prog_LEX="$LEX" # Let the user override the test. |
| 4698 |
|
else |
| 4700 |
|
for as_dir in $PATH |
| 4701 |
|
do |
| 4702 |
|
IFS=$as_save_IFS |
| 4703 |
< |
test -z "$as_dir" && as_dir=. |
| 4703 |
> |
case $as_dir in #((( |
| 4704 |
> |
'') as_dir=./ ;; |
| 4705 |
> |
*/) ;; |
| 4706 |
> |
*) as_dir=$as_dir/ ;; |
| 4707 |
> |
esac |
| 4708 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 4709 |
< |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 4709 |
> |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 4710 |
|
ac_cv_prog_LEX="$ac_prog" |
| 4711 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 4711 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 4712 |
|
break 2 |
| 4713 |
|
fi |
| 4714 |
|
done |
| 4719 |
|
fi |
| 4720 |
|
LEX=$ac_cv_prog_LEX |
| 4721 |
|
if test -n "$LEX"; then |
| 4722 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5 |
| 4723 |
< |
$as_echo "$LEX" >&6; } |
| 4722 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5 |
| 4723 |
> |
printf "%s\n" "$LEX" >&6; } |
| 4724 |
|
else |
| 4725 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 4726 |
< |
$as_echo "no" >&6; } |
| 4725 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 4726 |
> |
printf "%s\n" "no" >&6; } |
| 4727 |
|
fi |
| 4728 |
|
|
| 4729 |
|
|
| 4731 |
|
done |
| 4732 |
|
test -n "$LEX" || LEX=":" |
| 4733 |
|
|
| 4734 |
< |
if test "x$LEX" != "x:"; then |
| 4735 |
< |
cat >conftest.l <<_ACEOF |
| 4734 |
> |
if test "x$LEX" != "x:"; then |
| 4735 |
> |
cat >conftest.l <<_ACEOF |
| 4736 |
> |
%{ |
| 4737 |
> |
#ifdef __cplusplus |
| 4738 |
> |
extern "C" |
| 4739 |
> |
#endif |
| 4740 |
> |
int yywrap(void); |
| 4741 |
> |
%} |
| 4742 |
|
%% |
| 4743 |
|
a { ECHO; } |
| 4744 |
|
b { REJECT; } |
| 4745 |
|
c { yymore (); } |
| 4746 |
|
d { yyless (1); } |
| 4747 |
|
e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument. */ |
| 4748 |
< |
yyless ((input () != 0)); } |
| 4748 |
> |
#ifdef __cplusplus |
| 4749 |
> |
yyless ((yyinput () != 0)); |
| 4750 |
> |
#else |
| 4751 |
> |
yyless ((input () != 0)); |
| 4752 |
> |
#endif |
| 4753 |
> |
} |
| 4754 |
|
f { unput (yytext[0]); } |
| 4755 |
|
. { BEGIN INITIAL; } |
| 4756 |
|
%% |
| 4758 |
|
extern char *yytext; |
| 4759 |
|
#endif |
| 4760 |
|
int |
| 4761 |
+ |
yywrap (void) |
| 4762 |
+ |
{ |
| 4763 |
+ |
return 1; |
| 4764 |
+ |
} |
| 4765 |
+ |
int |
| 4766 |
|
main (void) |
| 4767 |
|
{ |
| 4768 |
< |
return ! yylex () + ! yywrap (); |
| 4768 |
> |
return ! yylex (); |
| 4769 |
|
} |
| 4770 |
|
_ACEOF |
| 4771 |
+ |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for lex output file root" >&5 |
| 4772 |
+ |
printf %s "checking for lex output file root... " >&6; } |
| 4773 |
+ |
if test ${ac_cv_prog_lex_root+y} |
| 4774 |
+ |
then : |
| 4775 |
+ |
printf %s "(cached) " >&6 |
| 4776 |
+ |
else $as_nop |
| 4777 |
+ |
|
| 4778 |
+ |
ac_cv_prog_lex_root=unknown |
| 4779 |
|
{ { ac_try="$LEX conftest.l" |
| 4780 |
|
case "(($ac_try" in |
| 4781 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 4782 |
|
*) ac_try_echo=$ac_try;; |
| 4783 |
|
esac |
| 4784 |
|
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 4785 |
< |
$as_echo "$ac_try_echo"; } >&5 |
| 4785 |
> |
printf "%s\n" "$ac_try_echo"; } >&5 |
| 4786 |
|
(eval "$LEX conftest.l") 2>&5 |
| 4787 |
|
ac_status=$? |
| 4788 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 4789 |
< |
test $ac_status = 0; } |
| 4430 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5 |
| 4431 |
< |
$as_echo_n "checking lex output file root... " >&6; } |
| 4432 |
< |
if ${ac_cv_prog_lex_root+:} false; then : |
| 4433 |
< |
$as_echo_n "(cached) " >&6 |
| 4434 |
< |
else |
| 4435 |
< |
|
| 4788 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 4789 |
> |
test $ac_status = 0; } && |
| 4790 |
|
if test -f lex.yy.c; then |
| 4791 |
|
ac_cv_prog_lex_root=lex.yy |
| 4792 |
|
elif test -f lexyy.c; then |
| 4793 |
|
ac_cv_prog_lex_root=lexyy |
| 4440 |
– |
else |
| 4441 |
– |
as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5 |
| 4794 |
|
fi |
| 4795 |
|
fi |
| 4796 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5 |
| 4797 |
< |
$as_echo "$ac_cv_prog_lex_root" >&6; } |
| 4796 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5 |
| 4797 |
> |
printf "%s\n" "$ac_cv_prog_lex_root" >&6; } |
| 4798 |
> |
if test "$ac_cv_prog_lex_root" = unknown |
| 4799 |
> |
then : |
| 4800 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cannot find output from $LEX; giving up on $LEX" >&5 |
| 4801 |
> |
printf "%s\n" "$as_me: WARNING: cannot find output from $LEX; giving up on $LEX" >&2;} |
| 4802 |
> |
LEX=: LEXLIB= |
| 4803 |
> |
fi |
| 4804 |
|
LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root |
| 4805 |
|
|
| 4806 |
< |
if test -z "${LEXLIB+set}"; then |
| 4807 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5 |
| 4808 |
< |
$as_echo_n "checking lex library... " >&6; } |
| 4809 |
< |
if ${ac_cv_lib_lex+:} false; then : |
| 4810 |
< |
$as_echo_n "(cached) " >&6 |
| 4811 |
< |
else |
| 4806 |
> |
if test ${LEXLIB+y} |
| 4807 |
> |
then : |
| 4808 |
> |
|
| 4809 |
> |
else $as_nop |
| 4810 |
> |
|
| 4811 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for lex library" >&5 |
| 4812 |
> |
printf %s "checking for lex library... " >&6; } |
| 4813 |
> |
if test ${ac_cv_lib_lex+y} |
| 4814 |
> |
then : |
| 4815 |
> |
printf %s "(cached) " >&6 |
| 4816 |
> |
else $as_nop |
| 4817 |
> |
|
| 4818 |
> |
ac_save_LIBS="$LIBS" |
| 4819 |
> |
ac_found=false |
| 4820 |
> |
for ac_cv_lib_lex in 'none needed' -lfl -ll 'not found'; do |
| 4821 |
> |
case $ac_cv_lib_lex in #( |
| 4822 |
> |
'none needed') : |
| 4823 |
> |
;; #( |
| 4824 |
> |
'not found') : |
| 4825 |
> |
break ;; #( |
| 4826 |
> |
*) : |
| 4827 |
> |
LIBS="$ac_cv_lib_lex $ac_save_LIBS" ;; #( |
| 4828 |
> |
*) : |
| 4829 |
> |
;; |
| 4830 |
> |
esac |
| 4831 |
|
|
| 4455 |
– |
ac_save_LIBS=$LIBS |
| 4456 |
– |
ac_cv_lib_lex='none needed' |
| 4457 |
– |
for ac_lib in '' -lfl -ll; do |
| 4458 |
– |
LIBS="$ac_lib $ac_save_LIBS" |
| 4832 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4833 |
|
/* end confdefs.h. */ |
| 4834 |
|
`cat $LEX_OUTPUT_ROOT.c` |
| 4835 |
|
_ACEOF |
| 4836 |
< |
if ac_fn_c_try_link "$LINENO"; then : |
| 4837 |
< |
ac_cv_lib_lex=$ac_lib |
| 4836 |
> |
if ac_fn_c_try_link "$LINENO" |
| 4837 |
> |
then : |
| 4838 |
> |
ac_found=: |
| 4839 |
|
fi |
| 4840 |
< |
rm -f core conftest.err conftest.$ac_objext \ |
| 4840 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 4841 |
|
conftest$ac_exeext conftest.$ac_ext |
| 4842 |
< |
test "$ac_cv_lib_lex" != 'none needed' && break |
| 4842 |
> |
if $ac_found; then |
| 4843 |
> |
break |
| 4844 |
> |
fi |
| 4845 |
|
done |
| 4846 |
< |
LIBS=$ac_save_LIBS |
| 4846 |
> |
LIBS="$ac_save_LIBS" |
| 4847 |
|
|
| 4848 |
|
fi |
| 4849 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5 |
| 4850 |
< |
$as_echo "$ac_cv_lib_lex" >&6; } |
| 4851 |
< |
test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex |
| 4849 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5 |
| 4850 |
> |
printf "%s\n" "$ac_cv_lib_lex" >&6; } |
| 4851 |
> |
if test "$ac_cv_lib_lex" = 'not found' |
| 4852 |
> |
then : |
| 4853 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: required lex library not found; giving up on $LEX" >&5 |
| 4854 |
> |
printf "%s\n" "$as_me: WARNING: required lex library not found; giving up on $LEX" >&2;} |
| 4855 |
> |
LEX=: LEXLIB= |
| 4856 |
> |
elif test "$ac_cv_lib_lex" = 'none needed' |
| 4857 |
> |
then : |
| 4858 |
> |
LEXLIB='' |
| 4859 |
> |
else $as_nop |
| 4860 |
> |
LEXLIB=$ac_cv_lib_lex |
| 4861 |
|
fi |
| 4862 |
|
|
| 4863 |
+ |
fi |
| 4864 |
|
|
| 4865 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5 |
| 4866 |
< |
$as_echo_n "checking whether yytext is a pointer... " >&6; } |
| 4867 |
< |
if ${ac_cv_prog_lex_yytext_pointer+:} false; then : |
| 4868 |
< |
$as_echo_n "(cached) " >&6 |
| 4869 |
< |
else |
| 4865 |
> |
|
| 4866 |
> |
if test "$LEX" != : |
| 4867 |
> |
then : |
| 4868 |
> |
|
| 4869 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5 |
| 4870 |
> |
printf %s "checking whether yytext is a pointer... " >&6; } |
| 4871 |
> |
if test ${ac_cv_prog_lex_yytext_pointer+y} |
| 4872 |
> |
then : |
| 4873 |
> |
printf %s "(cached) " >&6 |
| 4874 |
> |
else $as_nop |
| 4875 |
|
# POSIX says lex can declare yytext either as a pointer or an array; the |
| 4876 |
|
# default is implementation-dependent. Figure out which it is, since |
| 4877 |
|
# not all implementations provide the %pointer and %array declarations. |
| 4878 |
|
ac_cv_prog_lex_yytext_pointer=no |
| 4488 |
– |
ac_save_LIBS=$LIBS |
| 4489 |
– |
LIBS="$LEXLIB $ac_save_LIBS" |
| 4879 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4880 |
|
/* end confdefs.h. */ |
| 4881 |
|
|
| 4882 |
|
#define YYTEXT_POINTER 1 |
| 4883 |
|
`cat $LEX_OUTPUT_ROOT.c` |
| 4884 |
|
_ACEOF |
| 4885 |
< |
if ac_fn_c_try_link "$LINENO"; then : |
| 4885 |
> |
if ac_fn_c_try_compile "$LINENO" |
| 4886 |
> |
then : |
| 4887 |
|
ac_cv_prog_lex_yytext_pointer=yes |
| 4888 |
|
fi |
| 4889 |
< |
rm -f core conftest.err conftest.$ac_objext \ |
| 4500 |
< |
conftest$ac_exeext conftest.$ac_ext |
| 4501 |
< |
LIBS=$ac_save_LIBS |
| 4889 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 4890 |
|
|
| 4891 |
|
fi |
| 4892 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5 |
| 4893 |
< |
$as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; } |
| 4892 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5 |
| 4893 |
> |
printf "%s\n" "$ac_cv_prog_lex_yytext_pointer" >&6; } |
| 4894 |
|
if test $ac_cv_prog_lex_yytext_pointer = yes; then |
| 4895 |
|
|
| 4896 |
< |
$as_echo "#define YYTEXT_POINTER 1" >>confdefs.h |
| 4896 |
> |
printf "%s\n" "#define YYTEXT_POINTER 1" >>confdefs.h |
| 4897 |
|
|
| 4898 |
|
fi |
| 4511 |
– |
rm -f conftest.l $LEX_OUTPUT_ROOT.c |
| 4899 |
|
|
| 4900 |
|
fi |
| 4901 |
< |
if test "$LEX" = :; then |
| 4902 |
< |
LEX=${am_missing_run}flex |
| 4901 |
> |
rm -f conftest.l $LEX_OUTPUT_ROOT.c |
| 4902 |
> |
|
| 4903 |
|
fi |
| 4904 |
|
|
| 4905 |
|
|
| 4913 |
|
|
| 4914 |
|
case `pwd` in |
| 4915 |
|
*\ * | *\ *) |
| 4916 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 |
| 4917 |
< |
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; |
| 4916 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 |
| 4917 |
> |
printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; |
| 4918 |
|
esac |
| 4919 |
|
|
| 4920 |
|
|
| 4921 |
|
|
| 4922 |
< |
macro_version='2.4.2' |
| 4923 |
< |
macro_revision='1.3337' |
| 4922 |
> |
macro_version='2.4.7' |
| 4923 |
> |
macro_revision='2.4.7' |
| 4924 |
|
|
| 4925 |
|
|
| 4926 |
|
|
| 4934 |
|
|
| 4935 |
|
|
| 4936 |
|
|
| 4550 |
– |
ltmain="$ac_aux_dir/ltmain.sh" |
| 4937 |
|
|
| 4938 |
< |
# Make sure we can run config.sub. |
| 4553 |
< |
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || |
| 4554 |
< |
as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 |
| 4938 |
> |
ltmain=$ac_aux_dir/ltmain.sh |
| 4939 |
|
|
| 4940 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 |
| 4941 |
< |
$as_echo_n "checking build system type... " >&6; } |
| 4942 |
< |
if ${ac_cv_build+:} false; then : |
| 4943 |
< |
$as_echo_n "(cached) " >&6 |
| 4944 |
< |
else |
| 4940 |
> |
|
| 4941 |
> |
|
| 4942 |
> |
# Make sure we can run config.sub. |
| 4943 |
> |
$SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 || |
| 4944 |
> |
as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5 |
| 4945 |
> |
|
| 4946 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 |
| 4947 |
> |
printf %s "checking build system type... " >&6; } |
| 4948 |
> |
if test ${ac_cv_build+y} |
| 4949 |
> |
then : |
| 4950 |
> |
printf %s "(cached) " >&6 |
| 4951 |
> |
else $as_nop |
| 4952 |
|
ac_build_alias=$build_alias |
| 4953 |
|
test "x$ac_build_alias" = x && |
| 4954 |
< |
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` |
| 4954 |
> |
ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"` |
| 4955 |
|
test "x$ac_build_alias" = x && |
| 4956 |
|
as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 |
| 4957 |
< |
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || |
| 4958 |
< |
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 |
| 4957 |
> |
ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` || |
| 4958 |
> |
as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5 |
| 4959 |
|
|
| 4960 |
|
fi |
| 4961 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 |
| 4962 |
< |
$as_echo "$ac_cv_build" >&6; } |
| 4961 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 |
| 4962 |
> |
printf "%s\n" "$ac_cv_build" >&6; } |
| 4963 |
|
case $ac_cv_build in |
| 4964 |
|
*-*-*) ;; |
| 4965 |
|
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; |
| 4978 |
|
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac |
| 4979 |
|
|
| 4980 |
|
|
| 4981 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 |
| 4982 |
< |
$as_echo_n "checking host system type... " >&6; } |
| 4983 |
< |
if ${ac_cv_host+:} false; then : |
| 4984 |
< |
$as_echo_n "(cached) " >&6 |
| 4985 |
< |
else |
| 4981 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 |
| 4982 |
> |
printf %s "checking host system type... " >&6; } |
| 4983 |
> |
if test ${ac_cv_host+y} |
| 4984 |
> |
then : |
| 4985 |
> |
printf %s "(cached) " >&6 |
| 4986 |
> |
else $as_nop |
| 4987 |
|
if test "x$host_alias" = x; then |
| 4988 |
|
ac_cv_host=$ac_cv_build |
| 4989 |
|
else |
| 4990 |
< |
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || |
| 4991 |
< |
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 |
| 4990 |
> |
ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` || |
| 4991 |
> |
as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5 |
| 4992 |
|
fi |
| 4993 |
|
|
| 4994 |
|
fi |
| 4995 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 |
| 4996 |
< |
$as_echo "$ac_cv_host" >&6; } |
| 4995 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 |
| 4996 |
> |
printf "%s\n" "$ac_cv_host" >&6; } |
| 4997 |
|
case $ac_cv_host in |
| 4998 |
|
*-*-*) ;; |
| 4999 |
|
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; |
| 5033 |
|
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO |
| 5034 |
|
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO |
| 5035 |
|
|
| 5036 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 |
| 5037 |
< |
$as_echo_n "checking how to print strings... " >&6; } |
| 5036 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 |
| 5037 |
> |
printf %s "checking how to print strings... " >&6; } |
| 5038 |
|
# Test print first, because it will be a builtin if present. |
| 5039 |
|
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ |
| 5040 |
|
test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then |
| 5059 |
|
$ECHO "" |
| 5060 |
|
} |
| 5061 |
|
|
| 5062 |
< |
case "$ECHO" in |
| 5063 |
< |
printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 |
| 5064 |
< |
$as_echo "printf" >&6; } ;; |
| 5065 |
< |
print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 |
| 5066 |
< |
$as_echo "print -r" >&6; } ;; |
| 5067 |
< |
*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 |
| 5068 |
< |
$as_echo "cat" >&6; } ;; |
| 5062 |
> |
case $ECHO in |
| 5063 |
> |
printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5 |
| 5064 |
> |
printf "%s\n" "printf" >&6; } ;; |
| 5065 |
> |
print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 |
| 5066 |
> |
printf "%s\n" "print -r" >&6; } ;; |
| 5067 |
> |
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5 |
| 5068 |
> |
printf "%s\n" "cat" >&6; } ;; |
| 5069 |
|
esac |
| 5070 |
|
|
| 5071 |
|
|
| 5081 |
|
|
| 5082 |
|
|
| 5083 |
|
|
| 5084 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 |
| 5085 |
< |
$as_echo_n "checking for a sed that does not truncate output... " >&6; } |
| 5086 |
< |
if ${ac_cv_path_SED+:} false; then : |
| 5087 |
< |
$as_echo_n "(cached) " >&6 |
| 5088 |
< |
else |
| 5084 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 |
| 5085 |
> |
printf %s "checking for a sed that does not truncate output... " >&6; } |
| 5086 |
> |
if test ${ac_cv_path_SED+y} |
| 5087 |
> |
then : |
| 5088 |
> |
printf %s "(cached) " >&6 |
| 5089 |
> |
else $as_nop |
| 5090 |
|
ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ |
| 5091 |
|
for ac_i in 1 2 3 4 5 6 7; do |
| 5092 |
|
ac_script="$ac_script$as_nl$ac_script" |
| 5100 |
|
for as_dir in $PATH |
| 5101 |
|
do |
| 5102 |
|
IFS=$as_save_IFS |
| 5103 |
< |
test -z "$as_dir" && as_dir=. |
| 5104 |
< |
for ac_prog in sed gsed; do |
| 5103 |
> |
case $as_dir in #((( |
| 5104 |
> |
'') as_dir=./ ;; |
| 5105 |
> |
*/) ;; |
| 5106 |
> |
*) as_dir=$as_dir/ ;; |
| 5107 |
> |
esac |
| 5108 |
> |
for ac_prog in sed gsed |
| 5109 |
> |
do |
| 5110 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 5111 |
< |
ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" |
| 5111 |
> |
ac_path_SED="$as_dir$ac_prog$ac_exec_ext" |
| 5112 |
|
as_fn_executable_p "$ac_path_SED" || continue |
| 5113 |
|
# Check for GNU ac_path_SED and select it if it is found. |
| 5114 |
|
# Check for GNU $ac_path_SED |
| 5117 |
|
ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; |
| 5118 |
|
*) |
| 5119 |
|
ac_count=0 |
| 5120 |
< |
$as_echo_n 0123456789 >"conftest.in" |
| 5120 |
> |
printf %s 0123456789 >"conftest.in" |
| 5121 |
|
while : |
| 5122 |
|
do |
| 5123 |
|
cat "conftest.in" "conftest.in" >"conftest.tmp" |
| 5124 |
|
mv "conftest.tmp" "conftest.in" |
| 5125 |
|
cp "conftest.in" "conftest.nl" |
| 5126 |
< |
$as_echo '' >> "conftest.nl" |
| 5126 |
> |
printf "%s\n" '' >> "conftest.nl" |
| 5127 |
|
"$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break |
| 5128 |
|
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
| 5129 |
|
as_fn_arith $ac_count + 1 && ac_count=$as_val |
| 5151 |
|
fi |
| 5152 |
|
|
| 5153 |
|
fi |
| 5154 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 |
| 5155 |
< |
$as_echo "$ac_cv_path_SED" >&6; } |
| 5154 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 |
| 5155 |
> |
printf "%s\n" "$ac_cv_path_SED" >&6; } |
| 5156 |
|
SED="$ac_cv_path_SED" |
| 5157 |
|
rm -f conftest.sed |
| 5158 |
|
|
| 5169 |
|
|
| 5170 |
|
|
| 5171 |
|
|
| 5172 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
| 5173 |
< |
$as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
| 5174 |
< |
if ${ac_cv_path_GREP+:} false; then : |
| 5175 |
< |
$as_echo_n "(cached) " >&6 |
| 5176 |
< |
else |
| 5172 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
| 5173 |
> |
printf %s "checking for grep that handles long lines and -e... " >&6; } |
| 5174 |
> |
if test ${ac_cv_path_GREP+y} |
| 5175 |
> |
then : |
| 5176 |
> |
printf %s "(cached) " >&6 |
| 5177 |
> |
else $as_nop |
| 5178 |
|
if test -z "$GREP"; then |
| 5179 |
|
ac_path_GREP_found=false |
| 5180 |
|
# Loop through the user's path and test for each of PROGNAME-LIST |
| 5182 |
|
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
| 5183 |
|
do |
| 5184 |
|
IFS=$as_save_IFS |
| 5185 |
< |
test -z "$as_dir" && as_dir=. |
| 5186 |
< |
for ac_prog in grep ggrep; do |
| 5185 |
> |
case $as_dir in #((( |
| 5186 |
> |
'') as_dir=./ ;; |
| 5187 |
> |
*/) ;; |
| 5188 |
> |
*) as_dir=$as_dir/ ;; |
| 5189 |
> |
esac |
| 5190 |
> |
for ac_prog in grep ggrep |
| 5191 |
> |
do |
| 5192 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 5193 |
< |
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
| 5193 |
> |
ac_path_GREP="$as_dir$ac_prog$ac_exec_ext" |
| 5194 |
|
as_fn_executable_p "$ac_path_GREP" || continue |
| 5195 |
|
# Check for GNU ac_path_GREP and select it if it is found. |
| 5196 |
|
# Check for GNU $ac_path_GREP |
| 5199 |
|
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
| 5200 |
|
*) |
| 5201 |
|
ac_count=0 |
| 5202 |
< |
$as_echo_n 0123456789 >"conftest.in" |
| 5202 |
> |
printf %s 0123456789 >"conftest.in" |
| 5203 |
|
while : |
| 5204 |
|
do |
| 5205 |
|
cat "conftest.in" "conftest.in" >"conftest.tmp" |
| 5206 |
|
mv "conftest.tmp" "conftest.in" |
| 5207 |
|
cp "conftest.in" "conftest.nl" |
| 5208 |
< |
$as_echo 'GREP' >> "conftest.nl" |
| 5208 |
> |
printf "%s\n" 'GREP' >> "conftest.nl" |
| 5209 |
|
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
| 5210 |
|
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
| 5211 |
|
as_fn_arith $ac_count + 1 && ac_count=$as_val |
| 5233 |
|
fi |
| 5234 |
|
|
| 5235 |
|
fi |
| 5236 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 |
| 5237 |
< |
$as_echo "$ac_cv_path_GREP" >&6; } |
| 5236 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 |
| 5237 |
> |
printf "%s\n" "$ac_cv_path_GREP" >&6; } |
| 5238 |
|
GREP="$ac_cv_path_GREP" |
| 5239 |
|
|
| 5240 |
|
|
| 5241 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
| 5242 |
< |
$as_echo_n "checking for egrep... " >&6; } |
| 5243 |
< |
if ${ac_cv_path_EGREP+:} false; then : |
| 5244 |
< |
$as_echo_n "(cached) " >&6 |
| 5245 |
< |
else |
| 5241 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
| 5242 |
> |
printf %s "checking for egrep... " >&6; } |
| 5243 |
> |
if test ${ac_cv_path_EGREP+y} |
| 5244 |
> |
then : |
| 5245 |
> |
printf %s "(cached) " >&6 |
| 5246 |
> |
else $as_nop |
| 5247 |
|
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
| 5248 |
|
then ac_cv_path_EGREP="$GREP -E" |
| 5249 |
|
else |
| 5254 |
|
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
| 5255 |
|
do |
| 5256 |
|
IFS=$as_save_IFS |
| 5257 |
< |
test -z "$as_dir" && as_dir=. |
| 5258 |
< |
for ac_prog in egrep; do |
| 5257 |
> |
case $as_dir in #((( |
| 5258 |
> |
'') as_dir=./ ;; |
| 5259 |
> |
*/) ;; |
| 5260 |
> |
*) as_dir=$as_dir/ ;; |
| 5261 |
> |
esac |
| 5262 |
> |
for ac_prog in egrep |
| 5263 |
> |
do |
| 5264 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 5265 |
< |
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
| 5265 |
> |
ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext" |
| 5266 |
|
as_fn_executable_p "$ac_path_EGREP" || continue |
| 5267 |
|
# Check for GNU ac_path_EGREP and select it if it is found. |
| 5268 |
|
# Check for GNU $ac_path_EGREP |
| 5271 |
|
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
| 5272 |
|
*) |
| 5273 |
|
ac_count=0 |
| 5274 |
< |
$as_echo_n 0123456789 >"conftest.in" |
| 5274 |
> |
printf %s 0123456789 >"conftest.in" |
| 5275 |
|
while : |
| 5276 |
|
do |
| 5277 |
|
cat "conftest.in" "conftest.in" >"conftest.tmp" |
| 5278 |
|
mv "conftest.tmp" "conftest.in" |
| 5279 |
|
cp "conftest.in" "conftest.nl" |
| 5280 |
< |
$as_echo 'EGREP' >> "conftest.nl" |
| 5280 |
> |
printf "%s\n" 'EGREP' >> "conftest.nl" |
| 5281 |
|
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
| 5282 |
|
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
| 5283 |
|
as_fn_arith $ac_count + 1 && ac_count=$as_val |
| 5306 |
|
|
| 5307 |
|
fi |
| 5308 |
|
fi |
| 5309 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 |
| 5310 |
< |
$as_echo "$ac_cv_path_EGREP" >&6; } |
| 5309 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 |
| 5310 |
> |
printf "%s\n" "$ac_cv_path_EGREP" >&6; } |
| 5311 |
|
EGREP="$ac_cv_path_EGREP" |
| 5312 |
|
|
| 5313 |
|
|
| 5314 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 |
| 5315 |
< |
$as_echo_n "checking for fgrep... " >&6; } |
| 5316 |
< |
if ${ac_cv_path_FGREP+:} false; then : |
| 5317 |
< |
$as_echo_n "(cached) " >&6 |
| 5318 |
< |
else |
| 5314 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 |
| 5315 |
> |
printf %s "checking for fgrep... " >&6; } |
| 5316 |
> |
if test ${ac_cv_path_FGREP+y} |
| 5317 |
> |
then : |
| 5318 |
> |
printf %s "(cached) " >&6 |
| 5319 |
> |
else $as_nop |
| 5320 |
|
if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 |
| 5321 |
|
then ac_cv_path_FGREP="$GREP -F" |
| 5322 |
|
else |
| 5327 |
|
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
| 5328 |
|
do |
| 5329 |
|
IFS=$as_save_IFS |
| 5330 |
< |
test -z "$as_dir" && as_dir=. |
| 5331 |
< |
for ac_prog in fgrep; do |
| 5330 |
> |
case $as_dir in #((( |
| 5331 |
> |
'') as_dir=./ ;; |
| 5332 |
> |
*/) ;; |
| 5333 |
> |
*) as_dir=$as_dir/ ;; |
| 5334 |
> |
esac |
| 5335 |
> |
for ac_prog in fgrep |
| 5336 |
> |
do |
| 5337 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 5338 |
< |
ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" |
| 5338 |
> |
ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext" |
| 5339 |
|
as_fn_executable_p "$ac_path_FGREP" || continue |
| 5340 |
|
# Check for GNU ac_path_FGREP and select it if it is found. |
| 5341 |
|
# Check for GNU $ac_path_FGREP |
| 5344 |
|
ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; |
| 5345 |
|
*) |
| 5346 |
|
ac_count=0 |
| 5347 |
< |
$as_echo_n 0123456789 >"conftest.in" |
| 5347 |
> |
printf %s 0123456789 >"conftest.in" |
| 5348 |
|
while : |
| 5349 |
|
do |
| 5350 |
|
cat "conftest.in" "conftest.in" >"conftest.tmp" |
| 5351 |
|
mv "conftest.tmp" "conftest.in" |
| 5352 |
|
cp "conftest.in" "conftest.nl" |
| 5353 |
< |
$as_echo 'FGREP' >> "conftest.nl" |
| 5353 |
> |
printf "%s\n" 'FGREP' >> "conftest.nl" |
| 5354 |
|
"$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break |
| 5355 |
|
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
| 5356 |
|
as_fn_arith $ac_count + 1 && ac_count=$as_val |
| 5379 |
|
|
| 5380 |
|
fi |
| 5381 |
|
fi |
| 5382 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 |
| 5383 |
< |
$as_echo "$ac_cv_path_FGREP" >&6; } |
| 5382 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 |
| 5383 |
> |
printf "%s\n" "$ac_cv_path_FGREP" >&6; } |
| 5384 |
|
FGREP="$ac_cv_path_FGREP" |
| 5385 |
|
|
| 5386 |
|
|
| 5405 |
|
|
| 5406 |
|
|
| 5407 |
|
# Check whether --with-gnu-ld was given. |
| 5408 |
< |
if test "${with_gnu_ld+set}" = set; then : |
| 5409 |
< |
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes |
| 5410 |
< |
else |
| 5408 |
> |
if test ${with_gnu_ld+y} |
| 5409 |
> |
then : |
| 5410 |
> |
withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes |
| 5411 |
> |
else $as_nop |
| 5412 |
|
with_gnu_ld=no |
| 5413 |
|
fi |
| 5414 |
|
|
| 5415 |
|
ac_prog=ld |
| 5416 |
< |
if test "$GCC" = yes; then |
| 5416 |
> |
if test yes = "$GCC"; then |
| 5417 |
|
# Check if gcc -print-prog-name=ld gives a path. |
| 5418 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 |
| 5419 |
< |
$as_echo_n "checking for ld used by $CC... " >&6; } |
| 5418 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 |
| 5419 |
> |
printf %s "checking for ld used by $CC... " >&6; } |
| 5420 |
|
case $host in |
| 5421 |
|
*-*-mingw*) |
| 5422 |
< |
# gcc leaves a trailing carriage return which upsets mingw |
| 5422 |
> |
# gcc leaves a trailing carriage return, which upsets mingw |
| 5423 |
|
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; |
| 5424 |
|
*) |
| 5425 |
|
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; |
| 5433 |
|
while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do |
| 5434 |
|
ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` |
| 5435 |
|
done |
| 5436 |
< |
test -z "$LD" && LD="$ac_prog" |
| 5436 |
> |
test -z "$LD" && LD=$ac_prog |
| 5437 |
|
;; |
| 5438 |
|
"") |
| 5439 |
|
# If it fails, then pretend we aren't using GCC. |
| 5444 |
|
with_gnu_ld=unknown |
| 5445 |
|
;; |
| 5446 |
|
esac |
| 5447 |
< |
elif test "$with_gnu_ld" = yes; then |
| 5448 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 |
| 5449 |
< |
$as_echo_n "checking for GNU ld... " >&6; } |
| 5450 |
< |
else |
| 5451 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 |
| 5452 |
< |
$as_echo_n "checking for non-GNU ld... " >&6; } |
| 5453 |
< |
fi |
| 5454 |
< |
if ${lt_cv_path_LD+:} false; then : |
| 5455 |
< |
$as_echo_n "(cached) " >&6 |
| 5456 |
< |
else |
| 5447 |
> |
elif test yes = "$with_gnu_ld"; then |
| 5448 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 |
| 5449 |
> |
printf %s "checking for GNU ld... " >&6; } |
| 5450 |
> |
else |
| 5451 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 |
| 5452 |
> |
printf %s "checking for non-GNU ld... " >&6; } |
| 5453 |
> |
fi |
| 5454 |
> |
if test ${lt_cv_path_LD+y} |
| 5455 |
> |
then : |
| 5456 |
> |
printf %s "(cached) " >&6 |
| 5457 |
> |
else $as_nop |
| 5458 |
|
if test -z "$LD"; then |
| 5459 |
< |
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR |
| 5459 |
> |
lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR |
| 5460 |
|
for ac_dir in $PATH; do |
| 5461 |
< |
IFS="$lt_save_ifs" |
| 5461 |
> |
IFS=$lt_save_ifs |
| 5462 |
|
test -z "$ac_dir" && ac_dir=. |
| 5463 |
|
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then |
| 5464 |
< |
lt_cv_path_LD="$ac_dir/$ac_prog" |
| 5464 |
> |
lt_cv_path_LD=$ac_dir/$ac_prog |
| 5465 |
|
# Check to see if the program is GNU ld. I'd rather use --version, |
| 5466 |
|
# but apparently some variants of GNU ld only accept -v. |
| 5467 |
|
# Break only if it was the GNU/non-GNU ld that we prefer. |
| 5468 |
|
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in |
| 5469 |
|
*GNU* | *'with BFD'*) |
| 5470 |
< |
test "$with_gnu_ld" != no && break |
| 5470 |
> |
test no != "$with_gnu_ld" && break |
| 5471 |
|
;; |
| 5472 |
|
*) |
| 5473 |
< |
test "$with_gnu_ld" != yes && break |
| 5473 |
> |
test yes != "$with_gnu_ld" && break |
| 5474 |
|
;; |
| 5475 |
|
esac |
| 5476 |
|
fi |
| 5477 |
|
done |
| 5478 |
< |
IFS="$lt_save_ifs" |
| 5478 |
> |
IFS=$lt_save_ifs |
| 5479 |
|
else |
| 5480 |
< |
lt_cv_path_LD="$LD" # Let the user override the test with a path. |
| 5480 |
> |
lt_cv_path_LD=$LD # Let the user override the test with a path. |
| 5481 |
|
fi |
| 5482 |
|
fi |
| 5483 |
|
|
| 5484 |
< |
LD="$lt_cv_path_LD" |
| 5484 |
> |
LD=$lt_cv_path_LD |
| 5485 |
|
if test -n "$LD"; then |
| 5486 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 |
| 5487 |
< |
$as_echo "$LD" >&6; } |
| 5486 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 |
| 5487 |
> |
printf "%s\n" "$LD" >&6; } |
| 5488 |
|
else |
| 5489 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 5490 |
< |
$as_echo "no" >&6; } |
| 5489 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 5490 |
> |
printf "%s\n" "no" >&6; } |
| 5491 |
|
fi |
| 5492 |
|
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 |
| 5493 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 |
| 5494 |
< |
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } |
| 5495 |
< |
if ${lt_cv_prog_gnu_ld+:} false; then : |
| 5496 |
< |
$as_echo_n "(cached) " >&6 |
| 5497 |
< |
else |
| 5493 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 |
| 5494 |
> |
printf %s "checking if the linker ($LD) is GNU ld... " >&6; } |
| 5495 |
> |
if test ${lt_cv_prog_gnu_ld+y} |
| 5496 |
> |
then : |
| 5497 |
> |
printf %s "(cached) " >&6 |
| 5498 |
> |
else $as_nop |
| 5499 |
|
# I'd rather use --version here, but apparently some GNU lds only accept -v. |
| 5500 |
|
case `$LD -v 2>&1 </dev/null` in |
| 5501 |
|
*GNU* | *'with BFD'*) |
| 5506 |
|
;; |
| 5507 |
|
esac |
| 5508 |
|
fi |
| 5509 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 |
| 5510 |
< |
$as_echo "$lt_cv_prog_gnu_ld" >&6; } |
| 5509 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 |
| 5510 |
> |
printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; } |
| 5511 |
|
with_gnu_ld=$lt_cv_prog_gnu_ld |
| 5512 |
|
|
| 5513 |
|
|
| 5518 |
|
|
| 5519 |
|
|
| 5520 |
|
|
| 5521 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 |
| 5522 |
< |
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } |
| 5523 |
< |
if ${lt_cv_path_NM+:} false; then : |
| 5524 |
< |
$as_echo_n "(cached) " >&6 |
| 5525 |
< |
else |
| 5521 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 |
| 5522 |
> |
printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; } |
| 5523 |
> |
if test ${lt_cv_path_NM+y} |
| 5524 |
> |
then : |
| 5525 |
> |
printf %s "(cached) " >&6 |
| 5526 |
> |
else $as_nop |
| 5527 |
|
if test -n "$NM"; then |
| 5528 |
|
# Let the user override the test. |
| 5529 |
< |
lt_cv_path_NM="$NM" |
| 5529 |
> |
lt_cv_path_NM=$NM |
| 5530 |
|
else |
| 5531 |
< |
lt_nm_to_check="${ac_tool_prefix}nm" |
| 5531 |
> |
lt_nm_to_check=${ac_tool_prefix}nm |
| 5532 |
|
if test -n "$ac_tool_prefix" && test "$build" = "$host"; then |
| 5533 |
|
lt_nm_to_check="$lt_nm_to_check nm" |
| 5534 |
|
fi |
| 5535 |
|
for lt_tmp_nm in $lt_nm_to_check; do |
| 5536 |
< |
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR |
| 5536 |
> |
lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR |
| 5537 |
|
for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do |
| 5538 |
< |
IFS="$lt_save_ifs" |
| 5538 |
> |
IFS=$lt_save_ifs |
| 5539 |
|
test -z "$ac_dir" && ac_dir=. |
| 5540 |
< |
tmp_nm="$ac_dir/$lt_tmp_nm" |
| 5541 |
< |
if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then |
| 5540 |
> |
tmp_nm=$ac_dir/$lt_tmp_nm |
| 5541 |
> |
if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then |
| 5542 |
|
# Check to see if the nm accepts a BSD-compat flag. |
| 5543 |
< |
# Adding the `sed 1q' prevents false positives on HP-UX, which says: |
| 5543 |
> |
# Adding the 'sed 1q' prevents false positives on HP-UX, which says: |
| 5544 |
|
# nm: unknown option "B" ignored |
| 5545 |
|
# Tru64's nm complains that /dev/null is an invalid object file |
| 5546 |
< |
case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in |
| 5547 |
< |
*/dev/null* | *'Invalid file or object type'*) |
| 5546 |
> |
# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty |
| 5547 |
> |
case $build_os in |
| 5548 |
> |
mingw*) lt_bad_file=conftest.nm/nofile ;; |
| 5549 |
> |
*) lt_bad_file=/dev/null ;; |
| 5550 |
> |
esac |
| 5551 |
> |
case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in |
| 5552 |
> |
*$lt_bad_file* | *'Invalid file or object type'*) |
| 5553 |
|
lt_cv_path_NM="$tmp_nm -B" |
| 5554 |
< |
break |
| 5554 |
> |
break 2 |
| 5555 |
|
;; |
| 5556 |
|
*) |
| 5557 |
< |
case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in |
| 5557 |
> |
case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in |
| 5558 |
|
*/dev/null*) |
| 5559 |
|
lt_cv_path_NM="$tmp_nm -p" |
| 5560 |
< |
break |
| 5560 |
> |
break 2 |
| 5561 |
|
;; |
| 5562 |
|
*) |
| 5563 |
|
lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but |
| 5568 |
|
esac |
| 5569 |
|
fi |
| 5570 |
|
done |
| 5571 |
< |
IFS="$lt_save_ifs" |
| 5571 |
> |
IFS=$lt_save_ifs |
| 5572 |
|
done |
| 5573 |
|
: ${lt_cv_path_NM=no} |
| 5574 |
|
fi |
| 5575 |
|
fi |
| 5576 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 |
| 5577 |
< |
$as_echo "$lt_cv_path_NM" >&6; } |
| 5578 |
< |
if test "$lt_cv_path_NM" != "no"; then |
| 5579 |
< |
NM="$lt_cv_path_NM" |
| 5576 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 |
| 5577 |
> |
printf "%s\n" "$lt_cv_path_NM" >&6; } |
| 5578 |
> |
if test no != "$lt_cv_path_NM"; then |
| 5579 |
> |
NM=$lt_cv_path_NM |
| 5580 |
|
else |
| 5581 |
|
# Didn't find any BSD compatible name lister, look for dumpbin. |
| 5582 |
|
if test -n "$DUMPBIN"; then : |
| 5587 |
|
do |
| 5588 |
|
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
| 5589 |
|
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| 5590 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 5591 |
< |
$as_echo_n "checking for $ac_word... " >&6; } |
| 5592 |
< |
if ${ac_cv_prog_DUMPBIN+:} false; then : |
| 5593 |
< |
$as_echo_n "(cached) " >&6 |
| 5594 |
< |
else |
| 5590 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 5591 |
> |
printf %s "checking for $ac_word... " >&6; } |
| 5592 |
> |
if test ${ac_cv_prog_DUMPBIN+y} |
| 5593 |
> |
then : |
| 5594 |
> |
printf %s "(cached) " >&6 |
| 5595 |
> |
else $as_nop |
| 5596 |
|
if test -n "$DUMPBIN"; then |
| 5597 |
|
ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. |
| 5598 |
|
else |
| 5600 |
|
for as_dir in $PATH |
| 5601 |
|
do |
| 5602 |
|
IFS=$as_save_IFS |
| 5603 |
< |
test -z "$as_dir" && as_dir=. |
| 5603 |
> |
case $as_dir in #((( |
| 5604 |
> |
'') as_dir=./ ;; |
| 5605 |
> |
*/) ;; |
| 5606 |
> |
*) as_dir=$as_dir/ ;; |
| 5607 |
> |
esac |
| 5608 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 5609 |
< |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 5609 |
> |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 5610 |
|
ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" |
| 5611 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 5611 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 5612 |
|
break 2 |
| 5613 |
|
fi |
| 5614 |
|
done |
| 5619 |
|
fi |
| 5620 |
|
DUMPBIN=$ac_cv_prog_DUMPBIN |
| 5621 |
|
if test -n "$DUMPBIN"; then |
| 5622 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 |
| 5623 |
< |
$as_echo "$DUMPBIN" >&6; } |
| 5622 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 |
| 5623 |
> |
printf "%s\n" "$DUMPBIN" >&6; } |
| 5624 |
|
else |
| 5625 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 5626 |
< |
$as_echo "no" >&6; } |
| 5625 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 5626 |
> |
printf "%s\n" "no" >&6; } |
| 5627 |
|
fi |
| 5628 |
|
|
| 5629 |
|
|
| 5636 |
|
do |
| 5637 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
| 5638 |
|
set dummy $ac_prog; ac_word=$2 |
| 5639 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 5640 |
< |
$as_echo_n "checking for $ac_word... " >&6; } |
| 5641 |
< |
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : |
| 5642 |
< |
$as_echo_n "(cached) " >&6 |
| 5643 |
< |
else |
| 5639 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 5640 |
> |
printf %s "checking for $ac_word... " >&6; } |
| 5641 |
> |
if test ${ac_cv_prog_ac_ct_DUMPBIN+y} |
| 5642 |
> |
then : |
| 5643 |
> |
printf %s "(cached) " >&6 |
| 5644 |
> |
else $as_nop |
| 5645 |
|
if test -n "$ac_ct_DUMPBIN"; then |
| 5646 |
|
ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. |
| 5647 |
|
else |
| 5649 |
|
for as_dir in $PATH |
| 5650 |
|
do |
| 5651 |
|
IFS=$as_save_IFS |
| 5652 |
< |
test -z "$as_dir" && as_dir=. |
| 5652 |
> |
case $as_dir in #((( |
| 5653 |
> |
'') as_dir=./ ;; |
| 5654 |
> |
*/) ;; |
| 5655 |
> |
*) as_dir=$as_dir/ ;; |
| 5656 |
> |
esac |
| 5657 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 5658 |
< |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 5658 |
> |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 5659 |
|
ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" |
| 5660 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 5660 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 5661 |
|
break 2 |
| 5662 |
|
fi |
| 5663 |
|
done |
| 5668 |
|
fi |
| 5669 |
|
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN |
| 5670 |
|
if test -n "$ac_ct_DUMPBIN"; then |
| 5671 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 |
| 5672 |
< |
$as_echo "$ac_ct_DUMPBIN" >&6; } |
| 5671 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 |
| 5672 |
> |
printf "%s\n" "$ac_ct_DUMPBIN" >&6; } |
| 5673 |
|
else |
| 5674 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 5675 |
< |
$as_echo "no" >&6; } |
| 5674 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 5675 |
> |
printf "%s\n" "no" >&6; } |
| 5676 |
|
fi |
| 5677 |
|
|
| 5678 |
|
|
| 5684 |
|
else |
| 5685 |
|
case $cross_compiling:$ac_tool_warned in |
| 5686 |
|
yes:) |
| 5687 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 5688 |
< |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 5687 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 5688 |
> |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 5689 |
|
ac_tool_warned=yes ;; |
| 5690 |
|
esac |
| 5691 |
|
DUMPBIN=$ac_ct_DUMPBIN |
| 5692 |
|
fi |
| 5693 |
|
fi |
| 5694 |
|
|
| 5695 |
< |
case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in |
| 5695 |
> |
case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in |
| 5696 |
|
*COFF*) |
| 5697 |
< |
DUMPBIN="$DUMPBIN -symbols" |
| 5697 |
> |
DUMPBIN="$DUMPBIN -symbols -headers" |
| 5698 |
|
;; |
| 5699 |
|
*) |
| 5700 |
|
DUMPBIN=: |
| 5702 |
|
esac |
| 5703 |
|
fi |
| 5704 |
|
|
| 5705 |
< |
if test "$DUMPBIN" != ":"; then |
| 5706 |
< |
NM="$DUMPBIN" |
| 5705 |
> |
if test : != "$DUMPBIN"; then |
| 5706 |
> |
NM=$DUMPBIN |
| 5707 |
|
fi |
| 5708 |
|
fi |
| 5709 |
|
test -z "$NM" && NM=nm |
| 5713 |
|
|
| 5714 |
|
|
| 5715 |
|
|
| 5716 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 |
| 5717 |
< |
$as_echo_n "checking the name lister ($NM) interface... " >&6; } |
| 5718 |
< |
if ${lt_cv_nm_interface+:} false; then : |
| 5719 |
< |
$as_echo_n "(cached) " >&6 |
| 5720 |
< |
else |
| 5716 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 |
| 5717 |
> |
printf %s "checking the name lister ($NM) interface... " >&6; } |
| 5718 |
> |
if test ${lt_cv_nm_interface+y} |
| 5719 |
> |
then : |
| 5720 |
> |
printf %s "(cached) " >&6 |
| 5721 |
> |
else $as_nop |
| 5722 |
|
lt_cv_nm_interface="BSD nm" |
| 5723 |
|
echo "int some_variable = 0;" > conftest.$ac_ext |
| 5724 |
|
(eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) |
| 5734 |
|
fi |
| 5735 |
|
rm -f conftest* |
| 5736 |
|
fi |
| 5737 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 |
| 5738 |
< |
$as_echo "$lt_cv_nm_interface" >&6; } |
| 5737 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 |
| 5738 |
> |
printf "%s\n" "$lt_cv_nm_interface" >&6; } |
| 5739 |
|
|
| 5740 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 |
| 5741 |
< |
$as_echo_n "checking whether ln -s works... " >&6; } |
| 5740 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 |
| 5741 |
> |
printf %s "checking whether ln -s works... " >&6; } |
| 5742 |
|
LN_S=$as_ln_s |
| 5743 |
|
if test "$LN_S" = "ln -s"; then |
| 5744 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 5745 |
< |
$as_echo "yes" >&6; } |
| 5744 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 5745 |
> |
printf "%s\n" "yes" >&6; } |
| 5746 |
|
else |
| 5747 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 |
| 5748 |
< |
$as_echo "no, using $LN_S" >&6; } |
| 5747 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 |
| 5748 |
> |
printf "%s\n" "no, using $LN_S" >&6; } |
| 5749 |
|
fi |
| 5750 |
|
|
| 5751 |
|
# find the maximum length of command line arguments |
| 5752 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 |
| 5753 |
< |
$as_echo_n "checking the maximum length of command line arguments... " >&6; } |
| 5754 |
< |
if ${lt_cv_sys_max_cmd_len+:} false; then : |
| 5755 |
< |
$as_echo_n "(cached) " >&6 |
| 5756 |
< |
else |
| 5752 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 |
| 5753 |
> |
printf %s "checking the maximum length of command line arguments... " >&6; } |
| 5754 |
> |
if test ${lt_cv_sys_max_cmd_len+y} |
| 5755 |
> |
then : |
| 5756 |
> |
printf %s "(cached) " >&6 |
| 5757 |
> |
else $as_nop |
| 5758 |
|
i=0 |
| 5759 |
< |
teststring="ABCD" |
| 5759 |
> |
teststring=ABCD |
| 5760 |
|
|
| 5761 |
|
case $build_os in |
| 5762 |
|
msdosdjgpp*) |
| 5796 |
|
lt_cv_sys_max_cmd_len=8192; |
| 5797 |
|
;; |
| 5798 |
|
|
| 5799 |
< |
netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) |
| 5799 |
> |
bitrig* | darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*) |
| 5800 |
|
# This has been around since 386BSD, at least. Likely further. |
| 5801 |
|
if test -x /sbin/sysctl; then |
| 5802 |
|
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` |
| 5839 |
|
sysv5* | sco5v6* | sysv4.2uw2*) |
| 5840 |
|
kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` |
| 5841 |
|
if test -n "$kargmax"; then |
| 5842 |
< |
lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` |
| 5842 |
> |
lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[ ]//'` |
| 5843 |
|
else |
| 5844 |
|
lt_cv_sys_max_cmd_len=32768 |
| 5845 |
|
fi |
| 5846 |
|
;; |
| 5847 |
|
*) |
| 5848 |
|
lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` |
| 5849 |
< |
if test -n "$lt_cv_sys_max_cmd_len"; then |
| 5849 |
> |
if test -n "$lt_cv_sys_max_cmd_len" && \ |
| 5850 |
> |
test undefined != "$lt_cv_sys_max_cmd_len"; then |
| 5851 |
|
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` |
| 5852 |
|
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` |
| 5853 |
|
else |
| 5854 |
|
# Make teststring a little bigger before we do anything with it. |
| 5855 |
|
# a 1K string should be a reasonable start. |
| 5856 |
< |
for i in 1 2 3 4 5 6 7 8 ; do |
| 5856 |
> |
for i in 1 2 3 4 5 6 7 8; do |
| 5857 |
|
teststring=$teststring$teststring |
| 5858 |
|
done |
| 5859 |
|
SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} |
| 5860 |
|
# If test is not a shell built-in, we'll probably end up computing a |
| 5861 |
|
# maximum length that is only half of the actual maximum length, but |
| 5862 |
|
# we can't tell. |
| 5863 |
< |
while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \ |
| 5863 |
> |
while { test X`env echo "$teststring$teststring" 2>/dev/null` \ |
| 5864 |
|
= "X$teststring$teststring"; } >/dev/null 2>&1 && |
| 5865 |
< |
test $i != 17 # 1/2 MB should be enough |
| 5865 |
> |
test 17 != "$i" # 1/2 MB should be enough |
| 5866 |
|
do |
| 5867 |
|
i=`expr $i + 1` |
| 5868 |
|
teststring=$teststring$teststring |
| 5880 |
|
|
| 5881 |
|
fi |
| 5882 |
|
|
| 5883 |
< |
if test -n $lt_cv_sys_max_cmd_len ; then |
| 5884 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 |
| 5885 |
< |
$as_echo "$lt_cv_sys_max_cmd_len" >&6; } |
| 5883 |
> |
if test -n "$lt_cv_sys_max_cmd_len"; then |
| 5884 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 |
| 5885 |
> |
printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; } |
| 5886 |
|
else |
| 5887 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 |
| 5888 |
< |
$as_echo "none" >&6; } |
| 5887 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5 |
| 5888 |
> |
printf "%s\n" "none" >&6; } |
| 5889 |
|
fi |
| 5890 |
|
max_cmd_len=$lt_cv_sys_max_cmd_len |
| 5891 |
|
|
| 5898 |
|
: ${MV="mv -f"} |
| 5899 |
|
: ${RM="rm -f"} |
| 5900 |
|
|
| 5463 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5 |
| 5464 |
– |
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } |
| 5465 |
– |
# Try some XSI features |
| 5466 |
– |
xsi_shell=no |
| 5467 |
– |
( _lt_dummy="a/b/c" |
| 5468 |
– |
test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \ |
| 5469 |
– |
= c,a/b,b/c, \ |
| 5470 |
– |
&& eval 'test $(( 1 + 1 )) -eq 2 \ |
| 5471 |
– |
&& test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ |
| 5472 |
– |
&& xsi_shell=yes |
| 5473 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 |
| 5474 |
– |
$as_echo "$xsi_shell" >&6; } |
| 5475 |
– |
|
| 5476 |
– |
|
| 5477 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5 |
| 5478 |
– |
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; } |
| 5479 |
– |
lt_shell_append=no |
| 5480 |
– |
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ |
| 5481 |
– |
>/dev/null 2>&1 \ |
| 5482 |
– |
&& lt_shell_append=yes |
| 5483 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5 |
| 5484 |
– |
$as_echo "$lt_shell_append" >&6; } |
| 5485 |
– |
|
| 5486 |
– |
|
| 5901 |
|
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
| 5902 |
|
lt_unset=unset |
| 5903 |
|
else |
| 5929 |
|
|
| 5930 |
|
|
| 5931 |
|
|
| 5932 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 |
| 5933 |
< |
$as_echo_n "checking how to convert $build file names to $host format... " >&6; } |
| 5934 |
< |
if ${lt_cv_to_host_file_cmd+:} false; then : |
| 5935 |
< |
$as_echo_n "(cached) " >&6 |
| 5936 |
< |
else |
| 5932 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 |
| 5933 |
> |
printf %s "checking how to convert $build file names to $host format... " >&6; } |
| 5934 |
> |
if test ${lt_cv_to_host_file_cmd+y} |
| 5935 |
> |
then : |
| 5936 |
> |
printf %s "(cached) " >&6 |
| 5937 |
> |
else $as_nop |
| 5938 |
|
case $host in |
| 5939 |
|
*-*-mingw* ) |
| 5940 |
|
case $build in |
| 5970 |
|
fi |
| 5971 |
|
|
| 5972 |
|
to_host_file_cmd=$lt_cv_to_host_file_cmd |
| 5973 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 |
| 5974 |
< |
$as_echo "$lt_cv_to_host_file_cmd" >&6; } |
| 5973 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 |
| 5974 |
> |
printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; } |
| 5975 |
|
|
| 5976 |
|
|
| 5977 |
|
|
| 5978 |
|
|
| 5979 |
|
|
| 5980 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 |
| 5981 |
< |
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } |
| 5982 |
< |
if ${lt_cv_to_tool_file_cmd+:} false; then : |
| 5983 |
< |
$as_echo_n "(cached) " >&6 |
| 5984 |
< |
else |
| 5980 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 |
| 5981 |
> |
printf %s "checking how to convert $build file names to toolchain format... " >&6; } |
| 5982 |
> |
if test ${lt_cv_to_tool_file_cmd+y} |
| 5983 |
> |
then : |
| 5984 |
> |
printf %s "(cached) " >&6 |
| 5985 |
> |
else $as_nop |
| 5986 |
|
#assume ordinary cross tools, or native build. |
| 5987 |
|
lt_cv_to_tool_file_cmd=func_convert_file_noop |
| 5988 |
|
case $host in |
| 5998 |
|
fi |
| 5999 |
|
|
| 6000 |
|
to_tool_file_cmd=$lt_cv_to_tool_file_cmd |
| 6001 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 |
| 6002 |
< |
$as_echo "$lt_cv_to_tool_file_cmd" >&6; } |
| 6001 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 |
| 6002 |
> |
printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; } |
| 6003 |
|
|
| 6004 |
|
|
| 6005 |
|
|
| 6006 |
|
|
| 6007 |
|
|
| 6008 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 |
| 6009 |
< |
$as_echo_n "checking for $LD option to reload object files... " >&6; } |
| 6010 |
< |
if ${lt_cv_ld_reload_flag+:} false; then : |
| 6011 |
< |
$as_echo_n "(cached) " >&6 |
| 6012 |
< |
else |
| 6008 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 |
| 6009 |
> |
printf %s "checking for $LD option to reload object files... " >&6; } |
| 6010 |
> |
if test ${lt_cv_ld_reload_flag+y} |
| 6011 |
> |
then : |
| 6012 |
> |
printf %s "(cached) " >&6 |
| 6013 |
> |
else $as_nop |
| 6014 |
|
lt_cv_ld_reload_flag='-r' |
| 6015 |
|
fi |
| 6016 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 |
| 6017 |
< |
$as_echo "$lt_cv_ld_reload_flag" >&6; } |
| 6016 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 |
| 6017 |
> |
printf "%s\n" "$lt_cv_ld_reload_flag" >&6; } |
| 6018 |
|
reload_flag=$lt_cv_ld_reload_flag |
| 6019 |
|
case $reload_flag in |
| 6020 |
|
"" | " "*) ;; |
| 6023 |
|
reload_cmds='$LD$reload_flag -o $output$reload_objs' |
| 6024 |
|
case $host_os in |
| 6025 |
|
cygwin* | mingw* | pw32* | cegcc*) |
| 6026 |
< |
if test "$GCC" != yes; then |
| 6026 |
> |
if test yes != "$GCC"; then |
| 6027 |
|
reload_cmds=false |
| 6028 |
|
fi |
| 6029 |
|
;; |
| 6030 |
|
darwin*) |
| 6031 |
< |
if test "$GCC" = yes; then |
| 6032 |
< |
reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' |
| 6031 |
> |
if test yes = "$GCC"; then |
| 6032 |
> |
reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs' |
| 6033 |
|
else |
| 6034 |
|
reload_cmds='$LD$reload_flag -o $output$reload_objs' |
| 6035 |
|
fi |
| 6045 |
|
|
| 6046 |
|
|
| 6047 |
|
if test -n "$ac_tool_prefix"; then |
| 6048 |
+ |
# Extract the first word of "${ac_tool_prefix}file", so it can be a program name with args. |
| 6049 |
+ |
set dummy ${ac_tool_prefix}file; ac_word=$2 |
| 6050 |
+ |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 6051 |
+ |
printf %s "checking for $ac_word... " >&6; } |
| 6052 |
+ |
if test ${ac_cv_prog_FILECMD+y} |
| 6053 |
+ |
then : |
| 6054 |
+ |
printf %s "(cached) " >&6 |
| 6055 |
+ |
else $as_nop |
| 6056 |
+ |
if test -n "$FILECMD"; then |
| 6057 |
+ |
ac_cv_prog_FILECMD="$FILECMD" # Let the user override the test. |
| 6058 |
+ |
else |
| 6059 |
+ |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 6060 |
+ |
for as_dir in $PATH |
| 6061 |
+ |
do |
| 6062 |
+ |
IFS=$as_save_IFS |
| 6063 |
+ |
case $as_dir in #((( |
| 6064 |
+ |
'') as_dir=./ ;; |
| 6065 |
+ |
*/) ;; |
| 6066 |
+ |
*) as_dir=$as_dir/ ;; |
| 6067 |
+ |
esac |
| 6068 |
+ |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 6069 |
+ |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 6070 |
+ |
ac_cv_prog_FILECMD="${ac_tool_prefix}file" |
| 6071 |
+ |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 6072 |
+ |
break 2 |
| 6073 |
+ |
fi |
| 6074 |
+ |
done |
| 6075 |
+ |
done |
| 6076 |
+ |
IFS=$as_save_IFS |
| 6077 |
+ |
|
| 6078 |
+ |
fi |
| 6079 |
+ |
fi |
| 6080 |
+ |
FILECMD=$ac_cv_prog_FILECMD |
| 6081 |
+ |
if test -n "$FILECMD"; then |
| 6082 |
+ |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FILECMD" >&5 |
| 6083 |
+ |
printf "%s\n" "$FILECMD" >&6; } |
| 6084 |
+ |
else |
| 6085 |
+ |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 6086 |
+ |
printf "%s\n" "no" >&6; } |
| 6087 |
+ |
fi |
| 6088 |
+ |
|
| 6089 |
+ |
|
| 6090 |
+ |
fi |
| 6091 |
+ |
if test -z "$ac_cv_prog_FILECMD"; then |
| 6092 |
+ |
ac_ct_FILECMD=$FILECMD |
| 6093 |
+ |
# Extract the first word of "file", so it can be a program name with args. |
| 6094 |
+ |
set dummy file; ac_word=$2 |
| 6095 |
+ |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 6096 |
+ |
printf %s "checking for $ac_word... " >&6; } |
| 6097 |
+ |
if test ${ac_cv_prog_ac_ct_FILECMD+y} |
| 6098 |
+ |
then : |
| 6099 |
+ |
printf %s "(cached) " >&6 |
| 6100 |
+ |
else $as_nop |
| 6101 |
+ |
if test -n "$ac_ct_FILECMD"; then |
| 6102 |
+ |
ac_cv_prog_ac_ct_FILECMD="$ac_ct_FILECMD" # Let the user override the test. |
| 6103 |
+ |
else |
| 6104 |
+ |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 6105 |
+ |
for as_dir in $PATH |
| 6106 |
+ |
do |
| 6107 |
+ |
IFS=$as_save_IFS |
| 6108 |
+ |
case $as_dir in #((( |
| 6109 |
+ |
'') as_dir=./ ;; |
| 6110 |
+ |
*/) ;; |
| 6111 |
+ |
*) as_dir=$as_dir/ ;; |
| 6112 |
+ |
esac |
| 6113 |
+ |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 6114 |
+ |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 6115 |
+ |
ac_cv_prog_ac_ct_FILECMD="file" |
| 6116 |
+ |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 6117 |
+ |
break 2 |
| 6118 |
+ |
fi |
| 6119 |
+ |
done |
| 6120 |
+ |
done |
| 6121 |
+ |
IFS=$as_save_IFS |
| 6122 |
+ |
|
| 6123 |
+ |
fi |
| 6124 |
+ |
fi |
| 6125 |
+ |
ac_ct_FILECMD=$ac_cv_prog_ac_ct_FILECMD |
| 6126 |
+ |
if test -n "$ac_ct_FILECMD"; then |
| 6127 |
+ |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FILECMD" >&5 |
| 6128 |
+ |
printf "%s\n" "$ac_ct_FILECMD" >&6; } |
| 6129 |
+ |
else |
| 6130 |
+ |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 6131 |
+ |
printf "%s\n" "no" >&6; } |
| 6132 |
+ |
fi |
| 6133 |
+ |
|
| 6134 |
+ |
if test "x$ac_ct_FILECMD" = x; then |
| 6135 |
+ |
FILECMD=":" |
| 6136 |
+ |
else |
| 6137 |
+ |
case $cross_compiling:$ac_tool_warned in |
| 6138 |
+ |
yes:) |
| 6139 |
+ |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 6140 |
+ |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 6141 |
+ |
ac_tool_warned=yes ;; |
| 6142 |
+ |
esac |
| 6143 |
+ |
FILECMD=$ac_ct_FILECMD |
| 6144 |
+ |
fi |
| 6145 |
+ |
else |
| 6146 |
+ |
FILECMD="$ac_cv_prog_FILECMD" |
| 6147 |
+ |
fi |
| 6148 |
+ |
|
| 6149 |
+ |
|
| 6150 |
+ |
|
| 6151 |
+ |
|
| 6152 |
+ |
|
| 6153 |
+ |
|
| 6154 |
+ |
|
| 6155 |
+ |
if test -n "$ac_tool_prefix"; then |
| 6156 |
|
# Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. |
| 6157 |
|
set dummy ${ac_tool_prefix}objdump; ac_word=$2 |
| 6158 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 6159 |
< |
$as_echo_n "checking for $ac_word... " >&6; } |
| 6160 |
< |
if ${ac_cv_prog_OBJDUMP+:} false; then : |
| 6161 |
< |
$as_echo_n "(cached) " >&6 |
| 6162 |
< |
else |
| 6158 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 6159 |
> |
printf %s "checking for $ac_word... " >&6; } |
| 6160 |
> |
if test ${ac_cv_prog_OBJDUMP+y} |
| 6161 |
> |
then : |
| 6162 |
> |
printf %s "(cached) " >&6 |
| 6163 |
> |
else $as_nop |
| 6164 |
|
if test -n "$OBJDUMP"; then |
| 6165 |
|
ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. |
| 6166 |
|
else |
| 6168 |
|
for as_dir in $PATH |
| 6169 |
|
do |
| 6170 |
|
IFS=$as_save_IFS |
| 6171 |
< |
test -z "$as_dir" && as_dir=. |
| 6171 |
> |
case $as_dir in #((( |
| 6172 |
> |
'') as_dir=./ ;; |
| 6173 |
> |
*/) ;; |
| 6174 |
> |
*) as_dir=$as_dir/ ;; |
| 6175 |
> |
esac |
| 6176 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 6177 |
< |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 6177 |
> |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 6178 |
|
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" |
| 6179 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 6179 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 6180 |
|
break 2 |
| 6181 |
|
fi |
| 6182 |
|
done |
| 6187 |
|
fi |
| 6188 |
|
OBJDUMP=$ac_cv_prog_OBJDUMP |
| 6189 |
|
if test -n "$OBJDUMP"; then |
| 6190 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 |
| 6191 |
< |
$as_echo "$OBJDUMP" >&6; } |
| 6190 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 |
| 6191 |
> |
printf "%s\n" "$OBJDUMP" >&6; } |
| 6192 |
|
else |
| 6193 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 6194 |
< |
$as_echo "no" >&6; } |
| 6193 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 6194 |
> |
printf "%s\n" "no" >&6; } |
| 6195 |
|
fi |
| 6196 |
|
|
| 6197 |
|
|
| 6200 |
|
ac_ct_OBJDUMP=$OBJDUMP |
| 6201 |
|
# Extract the first word of "objdump", so it can be a program name with args. |
| 6202 |
|
set dummy objdump; ac_word=$2 |
| 6203 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 6204 |
< |
$as_echo_n "checking for $ac_word... " >&6; } |
| 6205 |
< |
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : |
| 6206 |
< |
$as_echo_n "(cached) " >&6 |
| 6207 |
< |
else |
| 6203 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 6204 |
> |
printf %s "checking for $ac_word... " >&6; } |
| 6205 |
> |
if test ${ac_cv_prog_ac_ct_OBJDUMP+y} |
| 6206 |
> |
then : |
| 6207 |
> |
printf %s "(cached) " >&6 |
| 6208 |
> |
else $as_nop |
| 6209 |
|
if test -n "$ac_ct_OBJDUMP"; then |
| 6210 |
|
ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. |
| 6211 |
|
else |
| 6213 |
|
for as_dir in $PATH |
| 6214 |
|
do |
| 6215 |
|
IFS=$as_save_IFS |
| 6216 |
< |
test -z "$as_dir" && as_dir=. |
| 6216 |
> |
case $as_dir in #((( |
| 6217 |
> |
'') as_dir=./ ;; |
| 6218 |
> |
*/) ;; |
| 6219 |
> |
*) as_dir=$as_dir/ ;; |
| 6220 |
> |
esac |
| 6221 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 6222 |
< |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 6222 |
> |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 6223 |
|
ac_cv_prog_ac_ct_OBJDUMP="objdump" |
| 6224 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 6224 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 6225 |
|
break 2 |
| 6226 |
|
fi |
| 6227 |
|
done |
| 6232 |
|
fi |
| 6233 |
|
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP |
| 6234 |
|
if test -n "$ac_ct_OBJDUMP"; then |
| 6235 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 |
| 6236 |
< |
$as_echo "$ac_ct_OBJDUMP" >&6; } |
| 6235 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 |
| 6236 |
> |
printf "%s\n" "$ac_ct_OBJDUMP" >&6; } |
| 6237 |
|
else |
| 6238 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 6239 |
< |
$as_echo "no" >&6; } |
| 6238 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 6239 |
> |
printf "%s\n" "no" >&6; } |
| 6240 |
|
fi |
| 6241 |
|
|
| 6242 |
|
if test "x$ac_ct_OBJDUMP" = x; then |
| 6244 |
|
else |
| 6245 |
|
case $cross_compiling:$ac_tool_warned in |
| 6246 |
|
yes:) |
| 6247 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 6248 |
< |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 6247 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 6248 |
> |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 6249 |
|
ac_tool_warned=yes ;; |
| 6250 |
|
esac |
| 6251 |
|
OBJDUMP=$ac_ct_OBJDUMP |
| 6264 |
|
|
| 6265 |
|
|
| 6266 |
|
|
| 6267 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 |
| 6268 |
< |
$as_echo_n "checking how to recognize dependent libraries... " >&6; } |
| 6269 |
< |
if ${lt_cv_deplibs_check_method+:} false; then : |
| 6270 |
< |
$as_echo_n "(cached) " >&6 |
| 6271 |
< |
else |
| 6267 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 |
| 6268 |
> |
printf %s "checking how to recognize dependent libraries... " >&6; } |
| 6269 |
> |
if test ${lt_cv_deplibs_check_method+y} |
| 6270 |
> |
then : |
| 6271 |
> |
printf %s "(cached) " >&6 |
| 6272 |
> |
else $as_nop |
| 6273 |
|
lt_cv_file_magic_cmd='$MAGIC_CMD' |
| 6274 |
|
lt_cv_file_magic_test_file= |
| 6275 |
|
lt_cv_deplibs_check_method='unknown' |
| 6276 |
|
# Need to set the preceding variable on all platforms that support |
| 6277 |
|
# interlibrary dependencies. |
| 6278 |
|
# 'none' -- dependencies not supported. |
| 6279 |
< |
# `unknown' -- same as none, but documents that we really don't know. |
| 6279 |
> |
# 'unknown' -- same as none, but documents that we really don't know. |
| 6280 |
|
# 'pass_all' -- all dependencies passed with no checks. |
| 6281 |
|
# 'test_compile' -- check by making test program. |
| 6282 |
|
# 'file_magic [[regex]]' -- check by looking for files in library path |
| 6283 |
< |
# which responds to the $file_magic_cmd with a given extended regex. |
| 6284 |
< |
# If you have `file' or equivalent on your system and you're not sure |
| 6285 |
< |
# whether `pass_all' will *always* work, you probably want this one. |
| 6283 |
> |
# that responds to the $file_magic_cmd with a given extended regex. |
| 6284 |
> |
# If you have 'file' or equivalent on your system and you're not sure |
| 6285 |
> |
# whether 'pass_all' will *always* work, you probably want this one. |
| 6286 |
|
|
| 6287 |
|
case $host_os in |
| 6288 |
|
aix[4-9]*) |
| 6295 |
|
|
| 6296 |
|
bsdi[45]*) |
| 6297 |
|
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' |
| 6298 |
< |
lt_cv_file_magic_cmd='/usr/bin/file -L' |
| 6298 |
> |
lt_cv_file_magic_cmd='$FILECMD -L' |
| 6299 |
|
lt_cv_file_magic_test_file=/shlib/libc.so |
| 6300 |
|
;; |
| 6301 |
|
|
| 6309 |
|
# Base MSYS/MinGW do not provide the 'file' command needed by |
| 6310 |
|
# func_win32_libid shell function, so use a weaker test based on 'objdump', |
| 6311 |
|
# unless we find 'file', for example because we are cross-compiling. |
| 6312 |
< |
# func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin. |
| 5777 |
< |
if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then |
| 6312 |
> |
if ( file / ) >/dev/null 2>&1; then |
| 6313 |
|
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' |
| 6314 |
|
lt_cv_file_magic_cmd='func_win32_libid' |
| 6315 |
|
else |
| 6329 |
|
lt_cv_deplibs_check_method=pass_all |
| 6330 |
|
;; |
| 6331 |
|
|
| 6332 |
< |
freebsd* | dragonfly*) |
| 6332 |
> |
freebsd* | dragonfly* | midnightbsd*) |
| 6333 |
|
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then |
| 6334 |
|
case $host_cpu in |
| 6335 |
|
i*86 ) |
| 6336 |
|
# Not sure whether the presence of OpenBSD here was a mistake. |
| 6337 |
|
# Let's accept both of them until this is cleared up. |
| 6338 |
|
lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' |
| 6339 |
< |
lt_cv_file_magic_cmd=/usr/bin/file |
| 6339 |
> |
lt_cv_file_magic_cmd=$FILECMD |
| 6340 |
|
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` |
| 6341 |
|
;; |
| 6342 |
|
esac |
| 6345 |
|
fi |
| 6346 |
|
;; |
| 6347 |
|
|
| 5813 |
– |
gnu*) |
| 5814 |
– |
lt_cv_deplibs_check_method=pass_all |
| 5815 |
– |
;; |
| 5816 |
– |
|
| 6348 |
|
haiku*) |
| 6349 |
|
lt_cv_deplibs_check_method=pass_all |
| 6350 |
|
;; |
| 6351 |
|
|
| 6352 |
|
hpux10.20* | hpux11*) |
| 6353 |
< |
lt_cv_file_magic_cmd=/usr/bin/file |
| 6353 |
> |
lt_cv_file_magic_cmd=$FILECMD |
| 6354 |
|
case $host_cpu in |
| 6355 |
|
ia64*) |
| 6356 |
|
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' |
| 6383 |
|
;; |
| 6384 |
|
|
| 6385 |
|
# This must be glibc/ELF. |
| 6386 |
< |
linux* | k*bsd*-gnu | kopensolaris*-gnu) |
| 6386 |
> |
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) |
| 6387 |
|
lt_cv_deplibs_check_method=pass_all |
| 6388 |
|
;; |
| 6389 |
|
|
| 6397 |
|
|
| 6398 |
|
newos6*) |
| 6399 |
|
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' |
| 6400 |
< |
lt_cv_file_magic_cmd=/usr/bin/file |
| 6400 |
> |
lt_cv_file_magic_cmd=$FILECMD |
| 6401 |
|
lt_cv_file_magic_test_file=/usr/lib/libnls.so |
| 6402 |
|
;; |
| 6403 |
|
|
| 6405 |
|
lt_cv_deplibs_check_method=pass_all |
| 6406 |
|
;; |
| 6407 |
|
|
| 6408 |
< |
openbsd*) |
| 6409 |
< |
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
| 6408 |
> |
openbsd* | bitrig*) |
| 6409 |
> |
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then |
| 6410 |
|
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' |
| 6411 |
|
else |
| 6412 |
|
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' |
| 6459 |
|
tpf*) |
| 6460 |
|
lt_cv_deplibs_check_method=pass_all |
| 6461 |
|
;; |
| 6462 |
+ |
os2*) |
| 6463 |
+ |
lt_cv_deplibs_check_method=pass_all |
| 6464 |
+ |
;; |
| 6465 |
|
esac |
| 6466 |
|
|
| 6467 |
|
fi |
| 6468 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 |
| 6469 |
< |
$as_echo "$lt_cv_deplibs_check_method" >&6; } |
| 6468 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 |
| 6469 |
> |
printf "%s\n" "$lt_cv_deplibs_check_method" >&6; } |
| 6470 |
|
|
| 6471 |
|
file_magic_glob= |
| 6472 |
|
want_nocaseglob=no |
| 6510 |
|
if test -n "$ac_tool_prefix"; then |
| 6511 |
|
# Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. |
| 6512 |
|
set dummy ${ac_tool_prefix}dlltool; ac_word=$2 |
| 6513 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 6514 |
< |
$as_echo_n "checking for $ac_word... " >&6; } |
| 6515 |
< |
if ${ac_cv_prog_DLLTOOL+:} false; then : |
| 6516 |
< |
$as_echo_n "(cached) " >&6 |
| 6517 |
< |
else |
| 6513 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 6514 |
> |
printf %s "checking for $ac_word... " >&6; } |
| 6515 |
> |
if test ${ac_cv_prog_DLLTOOL+y} |
| 6516 |
> |
then : |
| 6517 |
> |
printf %s "(cached) " >&6 |
| 6518 |
> |
else $as_nop |
| 6519 |
|
if test -n "$DLLTOOL"; then |
| 6520 |
|
ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. |
| 6521 |
|
else |
| 6523 |
|
for as_dir in $PATH |
| 6524 |
|
do |
| 6525 |
|
IFS=$as_save_IFS |
| 6526 |
< |
test -z "$as_dir" && as_dir=. |
| 6526 |
> |
case $as_dir in #((( |
| 6527 |
> |
'') as_dir=./ ;; |
| 6528 |
> |
*/) ;; |
| 6529 |
> |
*) as_dir=$as_dir/ ;; |
| 6530 |
> |
esac |
| 6531 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 6532 |
< |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 6532 |
> |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 6533 |
|
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" |
| 6534 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 6534 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 6535 |
|
break 2 |
| 6536 |
|
fi |
| 6537 |
|
done |
| 6542 |
|
fi |
| 6543 |
|
DLLTOOL=$ac_cv_prog_DLLTOOL |
| 6544 |
|
if test -n "$DLLTOOL"; then |
| 6545 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 |
| 6546 |
< |
$as_echo "$DLLTOOL" >&6; } |
| 6545 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 |
| 6546 |
> |
printf "%s\n" "$DLLTOOL" >&6; } |
| 6547 |
|
else |
| 6548 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 6549 |
< |
$as_echo "no" >&6; } |
| 6548 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 6549 |
> |
printf "%s\n" "no" >&6; } |
| 6550 |
|
fi |
| 6551 |
|
|
| 6552 |
|
|
| 6555 |
|
ac_ct_DLLTOOL=$DLLTOOL |
| 6556 |
|
# Extract the first word of "dlltool", so it can be a program name with args. |
| 6557 |
|
set dummy dlltool; ac_word=$2 |
| 6558 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 6559 |
< |
$as_echo_n "checking for $ac_word... " >&6; } |
| 6560 |
< |
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : |
| 6561 |
< |
$as_echo_n "(cached) " >&6 |
| 6562 |
< |
else |
| 6558 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 6559 |
> |
printf %s "checking for $ac_word... " >&6; } |
| 6560 |
> |
if test ${ac_cv_prog_ac_ct_DLLTOOL+y} |
| 6561 |
> |
then : |
| 6562 |
> |
printf %s "(cached) " >&6 |
| 6563 |
> |
else $as_nop |
| 6564 |
|
if test -n "$ac_ct_DLLTOOL"; then |
| 6565 |
|
ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. |
| 6566 |
|
else |
| 6568 |
|
for as_dir in $PATH |
| 6569 |
|
do |
| 6570 |
|
IFS=$as_save_IFS |
| 6571 |
< |
test -z "$as_dir" && as_dir=. |
| 6571 |
> |
case $as_dir in #((( |
| 6572 |
> |
'') as_dir=./ ;; |
| 6573 |
> |
*/) ;; |
| 6574 |
> |
*) as_dir=$as_dir/ ;; |
| 6575 |
> |
esac |
| 6576 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 6577 |
< |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 6577 |
> |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 6578 |
|
ac_cv_prog_ac_ct_DLLTOOL="dlltool" |
| 6579 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 6579 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 6580 |
|
break 2 |
| 6581 |
|
fi |
| 6582 |
|
done |
| 6587 |
|
fi |
| 6588 |
|
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL |
| 6589 |
|
if test -n "$ac_ct_DLLTOOL"; then |
| 6590 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 |
| 6591 |
< |
$as_echo "$ac_ct_DLLTOOL" >&6; } |
| 6590 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 |
| 6591 |
> |
printf "%s\n" "$ac_ct_DLLTOOL" >&6; } |
| 6592 |
|
else |
| 6593 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 6594 |
< |
$as_echo "no" >&6; } |
| 6593 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 6594 |
> |
printf "%s\n" "no" >&6; } |
| 6595 |
|
fi |
| 6596 |
|
|
| 6597 |
|
if test "x$ac_ct_DLLTOOL" = x; then |
| 6599 |
|
else |
| 6600 |
|
case $cross_compiling:$ac_tool_warned in |
| 6601 |
|
yes:) |
| 6602 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 6603 |
< |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 6602 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 6603 |
> |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 6604 |
|
ac_tool_warned=yes ;; |
| 6605 |
|
esac |
| 6606 |
|
DLLTOOL=$ac_ct_DLLTOOL |
| 6620 |
|
|
| 6621 |
|
|
| 6622 |
|
|
| 6623 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 |
| 6624 |
< |
$as_echo_n "checking how to associate runtime and link libraries... " >&6; } |
| 6625 |
< |
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : |
| 6626 |
< |
$as_echo_n "(cached) " >&6 |
| 6627 |
< |
else |
| 6623 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 |
| 6624 |
> |
printf %s "checking how to associate runtime and link libraries... " >&6; } |
| 6625 |
> |
if test ${lt_cv_sharedlib_from_linklib_cmd+y} |
| 6626 |
> |
then : |
| 6627 |
> |
printf %s "(cached) " >&6 |
| 6628 |
> |
else $as_nop |
| 6629 |
|
lt_cv_sharedlib_from_linklib_cmd='unknown' |
| 6630 |
|
|
| 6631 |
|
case $host_os in |
| 6632 |
|
cygwin* | mingw* | pw32* | cegcc*) |
| 6633 |
< |
# two different shell functions defined in ltmain.sh |
| 6634 |
< |
# decide which to use based on capabilities of $DLLTOOL |
| 6633 |
> |
# two different shell functions defined in ltmain.sh; |
| 6634 |
> |
# decide which one to use based on capabilities of $DLLTOOL |
| 6635 |
|
case `$DLLTOOL --help 2>&1` in |
| 6636 |
|
*--identify-strict*) |
| 6637 |
|
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib |
| 6643 |
|
;; |
| 6644 |
|
*) |
| 6645 |
|
# fallback: assume linklib IS sharedlib |
| 6646 |
< |
lt_cv_sharedlib_from_linklib_cmd="$ECHO" |
| 6646 |
> |
lt_cv_sharedlib_from_linklib_cmd=$ECHO |
| 6647 |
|
;; |
| 6648 |
|
esac |
| 6649 |
|
|
| 6650 |
|
fi |
| 6651 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 |
| 6652 |
< |
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } |
| 6651 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 |
| 6652 |
> |
printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; } |
| 6653 |
|
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd |
| 6654 |
|
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO |
| 6655 |
|
|
| 6664 |
|
do |
| 6665 |
|
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
| 6666 |
|
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| 6667 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 6668 |
< |
$as_echo_n "checking for $ac_word... " >&6; } |
| 6669 |
< |
if ${ac_cv_prog_AR+:} false; then : |
| 6670 |
< |
$as_echo_n "(cached) " >&6 |
| 6671 |
< |
else |
| 6667 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 6668 |
> |
printf %s "checking for $ac_word... " >&6; } |
| 6669 |
> |
if test ${ac_cv_prog_AR+y} |
| 6670 |
> |
then : |
| 6671 |
> |
printf %s "(cached) " >&6 |
| 6672 |
> |
else $as_nop |
| 6673 |
|
if test -n "$AR"; then |
| 6674 |
|
ac_cv_prog_AR="$AR" # Let the user override the test. |
| 6675 |
|
else |
| 6677 |
|
for as_dir in $PATH |
| 6678 |
|
do |
| 6679 |
|
IFS=$as_save_IFS |
| 6680 |
< |
test -z "$as_dir" && as_dir=. |
| 6680 |
> |
case $as_dir in #((( |
| 6681 |
> |
'') as_dir=./ ;; |
| 6682 |
> |
*/) ;; |
| 6683 |
> |
*) as_dir=$as_dir/ ;; |
| 6684 |
> |
esac |
| 6685 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 6686 |
< |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 6686 |
> |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 6687 |
|
ac_cv_prog_AR="$ac_tool_prefix$ac_prog" |
| 6688 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 6688 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 6689 |
|
break 2 |
| 6690 |
|
fi |
| 6691 |
|
done |
| 6696 |
|
fi |
| 6697 |
|
AR=$ac_cv_prog_AR |
| 6698 |
|
if test -n "$AR"; then |
| 6699 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 |
| 6700 |
< |
$as_echo "$AR" >&6; } |
| 6699 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 |
| 6700 |
> |
printf "%s\n" "$AR" >&6; } |
| 6701 |
|
else |
| 6702 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 6703 |
< |
$as_echo "no" >&6; } |
| 6702 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 6703 |
> |
printf "%s\n" "no" >&6; } |
| 6704 |
|
fi |
| 6705 |
|
|
| 6706 |
|
|
| 6713 |
|
do |
| 6714 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
| 6715 |
|
set dummy $ac_prog; ac_word=$2 |
| 6716 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 6717 |
< |
$as_echo_n "checking for $ac_word... " >&6; } |
| 6718 |
< |
if ${ac_cv_prog_ac_ct_AR+:} false; then : |
| 6719 |
< |
$as_echo_n "(cached) " >&6 |
| 6720 |
< |
else |
| 6716 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 6717 |
> |
printf %s "checking for $ac_word... " >&6; } |
| 6718 |
> |
if test ${ac_cv_prog_ac_ct_AR+y} |
| 6719 |
> |
then : |
| 6720 |
> |
printf %s "(cached) " >&6 |
| 6721 |
> |
else $as_nop |
| 6722 |
|
if test -n "$ac_ct_AR"; then |
| 6723 |
|
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. |
| 6724 |
|
else |
| 6726 |
|
for as_dir in $PATH |
| 6727 |
|
do |
| 6728 |
|
IFS=$as_save_IFS |
| 6729 |
< |
test -z "$as_dir" && as_dir=. |
| 6729 |
> |
case $as_dir in #((( |
| 6730 |
> |
'') as_dir=./ ;; |
| 6731 |
> |
*/) ;; |
| 6732 |
> |
*) as_dir=$as_dir/ ;; |
| 6733 |
> |
esac |
| 6734 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 6735 |
< |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 6735 |
> |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 6736 |
|
ac_cv_prog_ac_ct_AR="$ac_prog" |
| 6737 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 6737 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 6738 |
|
break 2 |
| 6739 |
|
fi |
| 6740 |
|
done |
| 6745 |
|
fi |
| 6746 |
|
ac_ct_AR=$ac_cv_prog_ac_ct_AR |
| 6747 |
|
if test -n "$ac_ct_AR"; then |
| 6748 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 |
| 6749 |
< |
$as_echo "$ac_ct_AR" >&6; } |
| 6748 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 |
| 6749 |
> |
printf "%s\n" "$ac_ct_AR" >&6; } |
| 6750 |
|
else |
| 6751 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 6752 |
< |
$as_echo "no" >&6; } |
| 6751 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 6752 |
> |
printf "%s\n" "no" >&6; } |
| 6753 |
|
fi |
| 6754 |
|
|
| 6755 |
|
|
| 6761 |
|
else |
| 6762 |
|
case $cross_compiling:$ac_tool_warned in |
| 6763 |
|
yes:) |
| 6764 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 6765 |
< |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 6764 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 6765 |
> |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 6766 |
|
ac_tool_warned=yes ;; |
| 6767 |
|
esac |
| 6768 |
|
AR=$ac_ct_AR |
| 6770 |
|
fi |
| 6771 |
|
|
| 6772 |
|
: ${AR=ar} |
| 6218 |
– |
: ${AR_FLAGS=cru} |
| 6773 |
|
|
| 6774 |
|
|
| 6775 |
|
|
| 6776 |
|
|
| 6777 |
|
|
| 6778 |
|
|
| 6779 |
+ |
# Use ARFLAGS variable as AR's operation code to sync the variable naming with |
| 6780 |
+ |
# Automake. If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have |
| 6781 |
+ |
# higher priority because thats what people were doing historically (setting |
| 6782 |
+ |
# ARFLAGS for automake and AR_FLAGS for libtool). FIXME: Make the AR_FLAGS |
| 6783 |
+ |
# variable obsoleted/removed. |
| 6784 |
|
|
| 6785 |
+ |
test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr} |
| 6786 |
+ |
lt_ar_flags=$AR_FLAGS |
| 6787 |
|
|
| 6788 |
|
|
| 6789 |
|
|
| 6790 |
|
|
| 6791 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 |
| 6792 |
< |
$as_echo_n "checking for archiver @FILE support... " >&6; } |
| 6793 |
< |
if ${lt_cv_ar_at_file+:} false; then : |
| 6794 |
< |
$as_echo_n "(cached) " >&6 |
| 6795 |
< |
else |
| 6791 |
> |
|
| 6792 |
> |
|
| 6793 |
> |
# Make AR_FLAGS overridable by 'make ARFLAGS='. Don't try to run-time override |
| 6794 |
> |
# by AR_FLAGS because that was never working and AR_FLAGS is about to die. |
| 6795 |
> |
|
| 6796 |
> |
|
| 6797 |
> |
|
| 6798 |
> |
|
| 6799 |
> |
|
| 6800 |
> |
|
| 6801 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 |
| 6802 |
> |
printf %s "checking for archiver @FILE support... " >&6; } |
| 6803 |
> |
if test ${lt_cv_ar_at_file+y} |
| 6804 |
> |
then : |
| 6805 |
> |
printf %s "(cached) " >&6 |
| 6806 |
> |
else $as_nop |
| 6807 |
|
lt_cv_ar_at_file=no |
| 6808 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 6809 |
|
/* end confdefs.h. */ |
| 6810 |
|
|
| 6811 |
|
int |
| 6812 |
< |
main () |
| 6812 |
> |
main (void) |
| 6813 |
|
{ |
| 6814 |
|
|
| 6815 |
|
; |
| 6816 |
|
return 0; |
| 6817 |
|
} |
| 6818 |
|
_ACEOF |
| 6819 |
< |
if ac_fn_c_try_compile "$LINENO"; then : |
| 6819 |
> |
if ac_fn_c_try_compile "$LINENO" |
| 6820 |
> |
then : |
| 6821 |
|
echo conftest.$ac_objext > conftest.lst |
| 6822 |
|
lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' |
| 6823 |
|
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 |
| 6824 |
|
(eval $lt_ar_try) 2>&5 |
| 6825 |
|
ac_status=$? |
| 6826 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 6826 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 6827 |
|
test $ac_status = 0; } |
| 6828 |
< |
if test "$ac_status" -eq 0; then |
| 6828 |
> |
if test 0 -eq "$ac_status"; then |
| 6829 |
|
# Ensure the archiver fails upon bogus file names. |
| 6830 |
|
rm -f conftest.$ac_objext libconftest.a |
| 6831 |
|
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 |
| 6832 |
|
(eval $lt_ar_try) 2>&5 |
| 6833 |
|
ac_status=$? |
| 6834 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 6834 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 6835 |
|
test $ac_status = 0; } |
| 6836 |
< |
if test "$ac_status" -ne 0; then |
| 6836 |
> |
if test 0 -ne "$ac_status"; then |
| 6837 |
|
lt_cv_ar_at_file=@ |
| 6838 |
|
fi |
| 6839 |
|
fi |
| 6840 |
|
rm -f conftest.* libconftest.a |
| 6841 |
|
|
| 6842 |
|
fi |
| 6843 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6843 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 6844 |
|
|
| 6845 |
|
fi |
| 6846 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 |
| 6847 |
< |
$as_echo "$lt_cv_ar_at_file" >&6; } |
| 6846 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 |
| 6847 |
> |
printf "%s\n" "$lt_cv_ar_at_file" >&6; } |
| 6848 |
|
|
| 6849 |
< |
if test "x$lt_cv_ar_at_file" = xno; then |
| 6849 |
> |
if test no = "$lt_cv_ar_at_file"; then |
| 6850 |
|
archiver_list_spec= |
| 6851 |
|
else |
| 6852 |
|
archiver_list_spec=$lt_cv_ar_at_file |
| 6861 |
|
if test -n "$ac_tool_prefix"; then |
| 6862 |
|
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
| 6863 |
|
set dummy ${ac_tool_prefix}strip; ac_word=$2 |
| 6864 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 6865 |
< |
$as_echo_n "checking for $ac_word... " >&6; } |
| 6866 |
< |
if ${ac_cv_prog_STRIP+:} false; then : |
| 6867 |
< |
$as_echo_n "(cached) " >&6 |
| 6868 |
< |
else |
| 6864 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 6865 |
> |
printf %s "checking for $ac_word... " >&6; } |
| 6866 |
> |
if test ${ac_cv_prog_STRIP+y} |
| 6867 |
> |
then : |
| 6868 |
> |
printf %s "(cached) " >&6 |
| 6869 |
> |
else $as_nop |
| 6870 |
|
if test -n "$STRIP"; then |
| 6871 |
|
ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
| 6872 |
|
else |
| 6874 |
|
for as_dir in $PATH |
| 6875 |
|
do |
| 6876 |
|
IFS=$as_save_IFS |
| 6877 |
< |
test -z "$as_dir" && as_dir=. |
| 6877 |
> |
case $as_dir in #((( |
| 6878 |
> |
'') as_dir=./ ;; |
| 6879 |
> |
*/) ;; |
| 6880 |
> |
*) as_dir=$as_dir/ ;; |
| 6881 |
> |
esac |
| 6882 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 6883 |
< |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 6883 |
> |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 6884 |
|
ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
| 6885 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 6885 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 6886 |
|
break 2 |
| 6887 |
|
fi |
| 6888 |
|
done |
| 6893 |
|
fi |
| 6894 |
|
STRIP=$ac_cv_prog_STRIP |
| 6895 |
|
if test -n "$STRIP"; then |
| 6896 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 |
| 6897 |
< |
$as_echo "$STRIP" >&6; } |
| 6896 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 |
| 6897 |
> |
printf "%s\n" "$STRIP" >&6; } |
| 6898 |
|
else |
| 6899 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 6900 |
< |
$as_echo "no" >&6; } |
| 6899 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 6900 |
> |
printf "%s\n" "no" >&6; } |
| 6901 |
|
fi |
| 6902 |
|
|
| 6903 |
|
|
| 6906 |
|
ac_ct_STRIP=$STRIP |
| 6907 |
|
# Extract the first word of "strip", so it can be a program name with args. |
| 6908 |
|
set dummy strip; ac_word=$2 |
| 6909 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 6910 |
< |
$as_echo_n "checking for $ac_word... " >&6; } |
| 6911 |
< |
if ${ac_cv_prog_ac_ct_STRIP+:} false; then : |
| 6912 |
< |
$as_echo_n "(cached) " >&6 |
| 6913 |
< |
else |
| 6909 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 6910 |
> |
printf %s "checking for $ac_word... " >&6; } |
| 6911 |
> |
if test ${ac_cv_prog_ac_ct_STRIP+y} |
| 6912 |
> |
then : |
| 6913 |
> |
printf %s "(cached) " >&6 |
| 6914 |
> |
else $as_nop |
| 6915 |
|
if test -n "$ac_ct_STRIP"; then |
| 6916 |
|
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
| 6917 |
|
else |
| 6919 |
|
for as_dir in $PATH |
| 6920 |
|
do |
| 6921 |
|
IFS=$as_save_IFS |
| 6922 |
< |
test -z "$as_dir" && as_dir=. |
| 6922 |
> |
case $as_dir in #((( |
| 6923 |
> |
'') as_dir=./ ;; |
| 6924 |
> |
*/) ;; |
| 6925 |
> |
*) as_dir=$as_dir/ ;; |
| 6926 |
> |
esac |
| 6927 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 6928 |
< |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 6928 |
> |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 6929 |
|
ac_cv_prog_ac_ct_STRIP="strip" |
| 6930 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 6930 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 6931 |
|
break 2 |
| 6932 |
|
fi |
| 6933 |
|
done |
| 6938 |
|
fi |
| 6939 |
|
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
| 6940 |
|
if test -n "$ac_ct_STRIP"; then |
| 6941 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 |
| 6942 |
< |
$as_echo "$ac_ct_STRIP" >&6; } |
| 6941 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 |
| 6942 |
> |
printf "%s\n" "$ac_ct_STRIP" >&6; } |
| 6943 |
|
else |
| 6944 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 6945 |
< |
$as_echo "no" >&6; } |
| 6944 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 6945 |
> |
printf "%s\n" "no" >&6; } |
| 6946 |
|
fi |
| 6947 |
|
|
| 6948 |
|
if test "x$ac_ct_STRIP" = x; then |
| 6950 |
|
else |
| 6951 |
|
case $cross_compiling:$ac_tool_warned in |
| 6952 |
|
yes:) |
| 6953 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 6954 |
< |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 6953 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 6954 |
> |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 6955 |
|
ac_tool_warned=yes ;; |
| 6956 |
|
esac |
| 6957 |
|
STRIP=$ac_ct_STRIP |
| 6970 |
|
if test -n "$ac_tool_prefix"; then |
| 6971 |
|
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
| 6972 |
|
set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
| 6973 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 6974 |
< |
$as_echo_n "checking for $ac_word... " >&6; } |
| 6975 |
< |
if ${ac_cv_prog_RANLIB+:} false; then : |
| 6976 |
< |
$as_echo_n "(cached) " >&6 |
| 6977 |
< |
else |
| 6973 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 6974 |
> |
printf %s "checking for $ac_word... " >&6; } |
| 6975 |
> |
if test ${ac_cv_prog_RANLIB+y} |
| 6976 |
> |
then : |
| 6977 |
> |
printf %s "(cached) " >&6 |
| 6978 |
> |
else $as_nop |
| 6979 |
|
if test -n "$RANLIB"; then |
| 6980 |
|
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
| 6981 |
|
else |
| 6983 |
|
for as_dir in $PATH |
| 6984 |
|
do |
| 6985 |
|
IFS=$as_save_IFS |
| 6986 |
< |
test -z "$as_dir" && as_dir=. |
| 6986 |
> |
case $as_dir in #((( |
| 6987 |
> |
'') as_dir=./ ;; |
| 6988 |
> |
*/) ;; |
| 6989 |
> |
*) as_dir=$as_dir/ ;; |
| 6990 |
> |
esac |
| 6991 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 6992 |
< |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 6992 |
> |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 6993 |
|
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
| 6994 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 6994 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 6995 |
|
break 2 |
| 6996 |
|
fi |
| 6997 |
|
done |
| 7002 |
|
fi |
| 7003 |
|
RANLIB=$ac_cv_prog_RANLIB |
| 7004 |
|
if test -n "$RANLIB"; then |
| 7005 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 |
| 7006 |
< |
$as_echo "$RANLIB" >&6; } |
| 7005 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 |
| 7006 |
> |
printf "%s\n" "$RANLIB" >&6; } |
| 7007 |
|
else |
| 7008 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 7009 |
< |
$as_echo "no" >&6; } |
| 7008 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 7009 |
> |
printf "%s\n" "no" >&6; } |
| 7010 |
|
fi |
| 7011 |
|
|
| 7012 |
|
|
| 7015 |
|
ac_ct_RANLIB=$RANLIB |
| 7016 |
|
# Extract the first word of "ranlib", so it can be a program name with args. |
| 7017 |
|
set dummy ranlib; ac_word=$2 |
| 7018 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 7019 |
< |
$as_echo_n "checking for $ac_word... " >&6; } |
| 7020 |
< |
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : |
| 7021 |
< |
$as_echo_n "(cached) " >&6 |
| 7022 |
< |
else |
| 7018 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 7019 |
> |
printf %s "checking for $ac_word... " >&6; } |
| 7020 |
> |
if test ${ac_cv_prog_ac_ct_RANLIB+y} |
| 7021 |
> |
then : |
| 7022 |
> |
printf %s "(cached) " >&6 |
| 7023 |
> |
else $as_nop |
| 7024 |
|
if test -n "$ac_ct_RANLIB"; then |
| 7025 |
|
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. |
| 7026 |
|
else |
| 7028 |
|
for as_dir in $PATH |
| 7029 |
|
do |
| 7030 |
|
IFS=$as_save_IFS |
| 7031 |
< |
test -z "$as_dir" && as_dir=. |
| 7031 |
> |
case $as_dir in #((( |
| 7032 |
> |
'') as_dir=./ ;; |
| 7033 |
> |
*/) ;; |
| 7034 |
> |
*) as_dir=$as_dir/ ;; |
| 7035 |
> |
esac |
| 7036 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 7037 |
< |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 7037 |
> |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 7038 |
|
ac_cv_prog_ac_ct_RANLIB="ranlib" |
| 7039 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 7039 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 7040 |
|
break 2 |
| 7041 |
|
fi |
| 7042 |
|
done |
| 7047 |
|
fi |
| 7048 |
|
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB |
| 7049 |
|
if test -n "$ac_ct_RANLIB"; then |
| 7050 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 |
| 7051 |
< |
$as_echo "$ac_ct_RANLIB" >&6; } |
| 7050 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 |
| 7051 |
> |
printf "%s\n" "$ac_ct_RANLIB" >&6; } |
| 7052 |
|
else |
| 7053 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 7054 |
< |
$as_echo "no" >&6; } |
| 7053 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 7054 |
> |
printf "%s\n" "no" >&6; } |
| 7055 |
|
fi |
| 7056 |
|
|
| 7057 |
|
if test "x$ac_ct_RANLIB" = x; then |
| 7059 |
|
else |
| 7060 |
|
case $cross_compiling:$ac_tool_warned in |
| 7061 |
|
yes:) |
| 7062 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 7063 |
< |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 7062 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 7063 |
> |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 7064 |
|
ac_tool_warned=yes ;; |
| 7065 |
|
esac |
| 7066 |
|
RANLIB=$ac_ct_RANLIB |
| 7083 |
|
|
| 7084 |
|
if test -n "$RANLIB"; then |
| 7085 |
|
case $host_os in |
| 7086 |
< |
openbsd*) |
| 7086 |
> |
bitrig* | openbsd*) |
| 7087 |
|
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" |
| 7088 |
|
;; |
| 7089 |
|
*) |
| 7149 |
|
|
| 7150 |
|
|
| 7151 |
|
# Check for command to grab the raw symbol name followed by C symbol from nm. |
| 7152 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 |
| 7153 |
< |
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } |
| 7154 |
< |
if ${lt_cv_sys_global_symbol_pipe+:} false; then : |
| 7155 |
< |
$as_echo_n "(cached) " >&6 |
| 7156 |
< |
else |
| 7152 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 |
| 7153 |
> |
printf %s "checking command to parse $NM output from $compiler object... " >&6; } |
| 7154 |
> |
if test ${lt_cv_sys_global_symbol_pipe+y} |
| 7155 |
> |
then : |
| 7156 |
> |
printf %s "(cached) " >&6 |
| 7157 |
> |
else $as_nop |
| 7158 |
|
|
| 7159 |
|
# These are sane defaults that work on at least a few old systems. |
| 7160 |
|
# [They come from Ultrix. What could be older than Ultrix?!! ;)] |
| 7174 |
|
symcode='[ABCDGISTW]' |
| 7175 |
|
;; |
| 7176 |
|
hpux*) |
| 7177 |
< |
if test "$host_cpu" = ia64; then |
| 7177 |
> |
if test ia64 = "$host_cpu"; then |
| 7178 |
|
symcode='[ABCDEGRST]' |
| 7179 |
|
fi |
| 7180 |
|
;; |
| 7207 |
|
symcode='[ABCDGIRSTW]' ;; |
| 7208 |
|
esac |
| 7209 |
|
|
| 7210 |
+ |
if test "$lt_cv_nm_interface" = "MS dumpbin"; then |
| 7211 |
+ |
# Gets list of data symbols to import. |
| 7212 |
+ |
lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'" |
| 7213 |
+ |
# Adjust the below global symbol transforms to fixup imported variables. |
| 7214 |
+ |
lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'" |
| 7215 |
+ |
lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'" |
| 7216 |
+ |
lt_c_name_lib_hook="\ |
| 7217 |
+ |
-e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\ |
| 7218 |
+ |
-e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'" |
| 7219 |
+ |
else |
| 7220 |
+ |
# Disable hooks by default. |
| 7221 |
+ |
lt_cv_sys_global_symbol_to_import= |
| 7222 |
+ |
lt_cdecl_hook= |
| 7223 |
+ |
lt_c_name_hook= |
| 7224 |
+ |
lt_c_name_lib_hook= |
| 7225 |
+ |
fi |
| 7226 |
+ |
|
| 7227 |
|
# Transform an extracted symbol line into a proper C declaration. |
| 7228 |
|
# Some systems (esp. on ia64) link data and code symbols differently, |
| 7229 |
|
# so use this general approach. |
| 7230 |
< |
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" |
| 7230 |
> |
lt_cv_sys_global_symbol_to_cdecl="$SED -n"\ |
| 7231 |
> |
$lt_cdecl_hook\ |
| 7232 |
> |
" -e 's/^T .* \(.*\)$/extern int \1();/p'"\ |
| 7233 |
> |
" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" |
| 7234 |
|
|
| 7235 |
|
# Transform an extracted symbol line into symbol name and symbol address |
| 7236 |
< |
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" |
| 7237 |
< |
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'" |
| 7236 |
> |
lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\ |
| 7237 |
> |
$lt_c_name_hook\ |
| 7238 |
> |
" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ |
| 7239 |
> |
" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'" |
| 7240 |
> |
|
| 7241 |
> |
# Transform an extracted symbol line into symbol name with lib prefix and |
| 7242 |
> |
# symbol address. |
| 7243 |
> |
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\ |
| 7244 |
> |
$lt_c_name_lib_hook\ |
| 7245 |
> |
" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ |
| 7246 |
> |
" -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\ |
| 7247 |
> |
" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'" |
| 7248 |
|
|
| 7249 |
|
# Handle CRLF in mingw tool chain |
| 7250 |
|
opt_cr= |
| 7262 |
|
|
| 7263 |
|
# Write the raw and C identifiers. |
| 7264 |
|
if test "$lt_cv_nm_interface" = "MS dumpbin"; then |
| 7265 |
< |
# Fake it for dumpbin and say T for any non-static function |
| 7266 |
< |
# and D for any global variable. |
| 7267 |
< |
# Also find C++ and __fastcall symbols from MSVC++, |
| 7265 |
> |
# Fake it for dumpbin and say T for any non-static function, |
| 7266 |
> |
# D for any global variable and I for any imported variable. |
| 7267 |
> |
# Also find C++ and __fastcall symbols from MSVC++ or ICC, |
| 7268 |
|
# which start with @ or ?. |
| 7269 |
|
lt_cv_sys_global_symbol_pipe="$AWK '"\ |
| 7270 |
|
" {last_section=section; section=\$ 3};"\ |
| 7271 |
|
" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ |
| 7272 |
|
" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ |
| 7273 |
+ |
" /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\ |
| 7274 |
+ |
" /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\ |
| 7275 |
+ |
" /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\ |
| 7276 |
|
" \$ 0!~/External *\|/{next};"\ |
| 7277 |
|
" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ |
| 7278 |
|
" {if(hide[section]) next};"\ |
| 7279 |
< |
" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ |
| 7280 |
< |
" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ |
| 7281 |
< |
" s[1]~/^[@?]/{print s[1], s[1]; next};"\ |
| 7282 |
< |
" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ |
| 7279 |
> |
" {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\ |
| 7280 |
> |
" {split(\$ 0,a,/\||\r/); split(a[2],s)};"\ |
| 7281 |
> |
" s[1]~/^[@?]/{print f,s[1],s[1]; next};"\ |
| 7282 |
> |
" s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\ |
| 7283 |
|
" ' prfx=^$ac_symprfx" |
| 7284 |
|
else |
| 7285 |
< |
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" |
| 7285 |
> |
lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" |
| 7286 |
|
fi |
| 7287 |
< |
lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" |
| 7287 |
> |
lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'" |
| 7288 |
|
|
| 7289 |
|
# Check to see that the pipe works correctly. |
| 7290 |
|
pipe_works=no |
| 7306 |
|
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
| 7307 |
|
(eval $ac_compile) 2>&5 |
| 7308 |
|
ac_status=$? |
| 7309 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 7309 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 7310 |
|
test $ac_status = 0; }; then |
| 7311 |
|
# Now try to grab the symbols. |
| 7312 |
|
nlist=conftest.nm |
| 7313 |
|
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 |
| 7314 |
|
(eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 |
| 7315 |
|
ac_status=$? |
| 7316 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 7316 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 7317 |
|
test $ac_status = 0; } && test -s "$nlist"; then |
| 7318 |
|
# Try sorting and uniquifying the output. |
| 7319 |
|
if sort "$nlist" | uniq > "$nlist"T; then |
| 7327 |
|
if $GREP ' nm_test_func$' "$nlist" >/dev/null; then |
| 7328 |
|
cat <<_LT_EOF > conftest.$ac_ext |
| 7329 |
|
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ |
| 7330 |
< |
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE) |
| 7331 |
< |
/* DATA imports from DLLs on WIN32 con't be const, because runtime |
| 7330 |
> |
#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE |
| 7331 |
> |
/* DATA imports from DLLs on WIN32 can't be const, because runtime |
| 7332 |
|
relocations are performed -- see ld's documentation on pseudo-relocs. */ |
| 7333 |
|
# define LT_DLSYM_CONST |
| 7334 |
< |
#elif defined(__osf__) |
| 7334 |
> |
#elif defined __osf__ |
| 7335 |
|
/* This system does not cope well with relocations in const data. */ |
| 7336 |
|
# define LT_DLSYM_CONST |
| 7337 |
|
#else |
| 7357 |
|
{ |
| 7358 |
|
{ "@PROGRAM@", (void *) 0 }, |
| 7359 |
|
_LT_EOF |
| 7360 |
< |
$SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext |
| 7360 |
> |
$SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext |
| 7361 |
|
cat <<\_LT_EOF >> conftest.$ac_ext |
| 7362 |
|
{0, (void *) 0} |
| 7363 |
|
}; |
| 7377 |
|
mv conftest.$ac_objext conftstm.$ac_objext |
| 7378 |
|
lt_globsym_save_LIBS=$LIBS |
| 7379 |
|
lt_globsym_save_CFLAGS=$CFLAGS |
| 7380 |
< |
LIBS="conftstm.$ac_objext" |
| 7380 |
> |
LIBS=conftstm.$ac_objext |
| 7381 |
|
CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" |
| 7382 |
|
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 |
| 7383 |
|
(eval $ac_link) 2>&5 |
| 7384 |
|
ac_status=$? |
| 7385 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 7386 |
< |
test $ac_status = 0; } && test -s conftest${ac_exeext}; then |
| 7385 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 7386 |
> |
test $ac_status = 0; } && test -s conftest$ac_exeext; then |
| 7387 |
|
pipe_works=yes |
| 7388 |
|
fi |
| 7389 |
|
LIBS=$lt_globsym_save_LIBS |
| 7404 |
|
rm -rf conftest* conftst* |
| 7405 |
|
|
| 7406 |
|
# Do not use the global_symbol_pipe unless it works. |
| 7407 |
< |
if test "$pipe_works" = yes; then |
| 7407 |
> |
if test yes = "$pipe_works"; then |
| 7408 |
|
break |
| 7409 |
|
else |
| 7410 |
|
lt_cv_sys_global_symbol_pipe= |
| 7417 |
|
lt_cv_sys_global_symbol_to_cdecl= |
| 7418 |
|
fi |
| 7419 |
|
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then |
| 7420 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 |
| 7421 |
< |
$as_echo "failed" >&6; } |
| 7420 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5 |
| 7421 |
> |
printf "%s\n" "failed" >&6; } |
| 7422 |
|
else |
| 7423 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 |
| 7424 |
< |
$as_echo "ok" >&6; } |
| 7423 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5 |
| 7424 |
> |
printf "%s\n" "ok" >&6; } |
| 7425 |
|
fi |
| 7426 |
|
|
| 7427 |
|
# Response file support. |
| 7457 |
|
|
| 7458 |
|
|
| 7459 |
|
|
| 7460 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 |
| 7461 |
< |
$as_echo_n "checking for sysroot... " >&6; } |
| 7460 |
> |
|
| 7461 |
> |
|
| 7462 |
> |
|
| 7463 |
> |
|
| 7464 |
> |
|
| 7465 |
> |
|
| 7466 |
> |
|
| 7467 |
> |
|
| 7468 |
> |
|
| 7469 |
> |
|
| 7470 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 |
| 7471 |
> |
printf %s "checking for sysroot... " >&6; } |
| 7472 |
|
|
| 7473 |
|
# Check whether --with-sysroot was given. |
| 7474 |
< |
if test "${with_sysroot+set}" = set; then : |
| 7474 |
> |
if test ${with_sysroot+y} |
| 7475 |
> |
then : |
| 7476 |
|
withval=$with_sysroot; |
| 7477 |
< |
else |
| 7477 |
> |
else $as_nop |
| 7478 |
|
with_sysroot=no |
| 7479 |
|
fi |
| 7480 |
|
|
| 7481 |
|
|
| 7482 |
|
lt_sysroot= |
| 7483 |
< |
case ${with_sysroot} in #( |
| 7483 |
> |
case $with_sysroot in #( |
| 7484 |
|
yes) |
| 7485 |
< |
if test "$GCC" = yes; then |
| 7485 |
> |
if test yes = "$GCC"; then |
| 7486 |
|
lt_sysroot=`$CC --print-sysroot 2>/dev/null` |
| 7487 |
|
fi |
| 7488 |
|
;; #( |
| 7489 |
|
/*) |
| 7490 |
< |
lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` |
| 7490 |
> |
lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"` |
| 7491 |
|
;; #( |
| 7492 |
|
no|'') |
| 7493 |
|
;; #( |
| 7494 |
|
*) |
| 7495 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5 |
| 7496 |
< |
$as_echo "${with_sysroot}" >&6; } |
| 7495 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5 |
| 7496 |
> |
printf "%s\n" "$with_sysroot" >&6; } |
| 7497 |
|
as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 |
| 7498 |
|
;; |
| 7499 |
|
esac |
| 7500 |
|
|
| 7501 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 |
| 7502 |
< |
$as_echo "${lt_sysroot:-no}" >&6; } |
| 7501 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 |
| 7502 |
> |
printf "%s\n" "${lt_sysroot:-no}" >&6; } |
| 7503 |
> |
|
| 7504 |
|
|
| 7505 |
|
|
| 7506 |
|
|
| 7507 |
|
|
| 7508 |
+ |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5 |
| 7509 |
+ |
printf %s "checking for a working dd... " >&6; } |
| 7510 |
+ |
if test ${ac_cv_path_lt_DD+y} |
| 7511 |
+ |
then : |
| 7512 |
+ |
printf %s "(cached) " >&6 |
| 7513 |
+ |
else $as_nop |
| 7514 |
+ |
printf 0123456789abcdef0123456789abcdef >conftest.i |
| 7515 |
+ |
cat conftest.i conftest.i >conftest2.i |
| 7516 |
+ |
: ${lt_DD:=$DD} |
| 7517 |
+ |
if test -z "$lt_DD"; then |
| 7518 |
+ |
ac_path_lt_DD_found=false |
| 7519 |
+ |
# Loop through the user's path and test for each of PROGNAME-LIST |
| 7520 |
+ |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 7521 |
+ |
for as_dir in $PATH |
| 7522 |
+ |
do |
| 7523 |
+ |
IFS=$as_save_IFS |
| 7524 |
+ |
case $as_dir in #((( |
| 7525 |
+ |
'') as_dir=./ ;; |
| 7526 |
+ |
*/) ;; |
| 7527 |
+ |
*) as_dir=$as_dir/ ;; |
| 7528 |
+ |
esac |
| 7529 |
+ |
for ac_prog in dd |
| 7530 |
+ |
do |
| 7531 |
+ |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 7532 |
+ |
ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext" |
| 7533 |
+ |
as_fn_executable_p "$ac_path_lt_DD" || continue |
| 7534 |
+ |
if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then |
| 7535 |
+ |
cmp -s conftest.i conftest.out \ |
| 7536 |
+ |
&& ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=: |
| 7537 |
+ |
fi |
| 7538 |
+ |
$ac_path_lt_DD_found && break 3 |
| 7539 |
+ |
done |
| 7540 |
+ |
done |
| 7541 |
+ |
done |
| 7542 |
+ |
IFS=$as_save_IFS |
| 7543 |
+ |
if test -z "$ac_cv_path_lt_DD"; then |
| 7544 |
+ |
: |
| 7545 |
+ |
fi |
| 7546 |
+ |
else |
| 7547 |
+ |
ac_cv_path_lt_DD=$lt_DD |
| 7548 |
+ |
fi |
| 7549 |
+ |
|
| 7550 |
+ |
rm -f conftest.i conftest2.i conftest.out |
| 7551 |
+ |
fi |
| 7552 |
+ |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5 |
| 7553 |
+ |
printf "%s\n" "$ac_cv_path_lt_DD" >&6; } |
| 7554 |
+ |
|
| 7555 |
+ |
|
| 7556 |
+ |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5 |
| 7557 |
+ |
printf %s "checking how to truncate binary pipes... " >&6; } |
| 7558 |
+ |
if test ${lt_cv_truncate_bin+y} |
| 7559 |
+ |
then : |
| 7560 |
+ |
printf %s "(cached) " >&6 |
| 7561 |
+ |
else $as_nop |
| 7562 |
+ |
printf 0123456789abcdef0123456789abcdef >conftest.i |
| 7563 |
+ |
cat conftest.i conftest.i >conftest2.i |
| 7564 |
+ |
lt_cv_truncate_bin= |
| 7565 |
+ |
if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then |
| 7566 |
+ |
cmp -s conftest.i conftest.out \ |
| 7567 |
+ |
&& lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1" |
| 7568 |
+ |
fi |
| 7569 |
+ |
rm -f conftest.i conftest2.i conftest.out |
| 7570 |
+ |
test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" |
| 7571 |
+ |
fi |
| 7572 |
+ |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5 |
| 7573 |
+ |
printf "%s\n" "$lt_cv_truncate_bin" >&6; } |
| 7574 |
+ |
|
| 7575 |
+ |
|
| 7576 |
+ |
|
| 7577 |
+ |
|
| 7578 |
+ |
|
| 7579 |
+ |
|
| 7580 |
+ |
|
| 7581 |
+ |
# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. |
| 7582 |
+ |
func_cc_basename () |
| 7583 |
+ |
{ |
| 7584 |
+ |
for cc_temp in $*""; do |
| 7585 |
+ |
case $cc_temp in |
| 7586 |
+ |
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
| 7587 |
+ |
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
| 7588 |
+ |
\-*) ;; |
| 7589 |
+ |
*) break;; |
| 7590 |
+ |
esac |
| 7591 |
+ |
done |
| 7592 |
+ |
func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` |
| 7593 |
+ |
} |
| 7594 |
|
|
| 7595 |
|
# Check whether --enable-libtool-lock was given. |
| 7596 |
< |
if test "${enable_libtool_lock+set}" = set; then : |
| 7596 |
> |
if test ${enable_libtool_lock+y} |
| 7597 |
> |
then : |
| 7598 |
|
enableval=$enable_libtool_lock; |
| 7599 |
|
fi |
| 7600 |
|
|
| 7601 |
< |
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes |
| 7601 |
> |
test no = "$enable_libtool_lock" || enable_libtool_lock=yes |
| 7602 |
|
|
| 7603 |
|
# Some flags need to be propagated to the compiler or linker for good |
| 7604 |
|
# libtool support. |
| 7605 |
|
case $host in |
| 7606 |
|
ia64-*-hpux*) |
| 7607 |
< |
# Find out which ABI we are using. |
| 7607 |
> |
# Find out what ABI is being produced by ac_compile, and set mode |
| 7608 |
> |
# options accordingly. |
| 7609 |
|
echo 'int i;' > conftest.$ac_ext |
| 7610 |
|
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
| 7611 |
|
(eval $ac_compile) 2>&5 |
| 7612 |
|
ac_status=$? |
| 7613 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 7613 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 7614 |
|
test $ac_status = 0; }; then |
| 7615 |
< |
case `/usr/bin/file conftest.$ac_objext` in |
| 7615 |
> |
case `$FILECMD conftest.$ac_objext` in |
| 7616 |
|
*ELF-32*) |
| 7617 |
< |
HPUX_IA64_MODE="32" |
| 7617 |
> |
HPUX_IA64_MODE=32 |
| 7618 |
|
;; |
| 7619 |
|
*ELF-64*) |
| 7620 |
< |
HPUX_IA64_MODE="64" |
| 7620 |
> |
HPUX_IA64_MODE=64 |
| 7621 |
|
;; |
| 7622 |
|
esac |
| 7623 |
|
fi |
| 7624 |
|
rm -rf conftest* |
| 7625 |
|
;; |
| 7626 |
|
*-*-irix6*) |
| 7627 |
< |
# Find out which ABI we are using. |
| 7627 |
> |
# Find out what ABI is being produced by ac_compile, and set linker |
| 7628 |
> |
# options accordingly. |
| 7629 |
|
echo '#line '$LINENO' "configure"' > conftest.$ac_ext |
| 7630 |
|
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
| 7631 |
|
(eval $ac_compile) 2>&5 |
| 7632 |
|
ac_status=$? |
| 7633 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 7633 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 7634 |
|
test $ac_status = 0; }; then |
| 7635 |
< |
if test "$lt_cv_prog_gnu_ld" = yes; then |
| 7636 |
< |
case `/usr/bin/file conftest.$ac_objext` in |
| 7635 |
> |
if test yes = "$lt_cv_prog_gnu_ld"; then |
| 7636 |
> |
case `$FILECMD conftest.$ac_objext` in |
| 7637 |
|
*32-bit*) |
| 7638 |
|
LD="${LD-ld} -melf32bsmip" |
| 7639 |
|
;; |
| 7645 |
|
;; |
| 7646 |
|
esac |
| 7647 |
|
else |
| 7648 |
< |
case `/usr/bin/file conftest.$ac_objext` in |
| 7648 |
> |
case `$FILECMD conftest.$ac_objext` in |
| 7649 |
|
*32-bit*) |
| 7650 |
|
LD="${LD-ld} -32" |
| 7651 |
|
;; |
| 7661 |
|
rm -rf conftest* |
| 7662 |
|
;; |
| 7663 |
|
|
| 7664 |
< |
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ |
| 7664 |
> |
mips64*-*linux*) |
| 7665 |
> |
# Find out what ABI is being produced by ac_compile, and set linker |
| 7666 |
> |
# options accordingly. |
| 7667 |
> |
echo '#line '$LINENO' "configure"' > conftest.$ac_ext |
| 7668 |
> |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
| 7669 |
> |
(eval $ac_compile) 2>&5 |
| 7670 |
> |
ac_status=$? |
| 7671 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 7672 |
> |
test $ac_status = 0; }; then |
| 7673 |
> |
emul=elf |
| 7674 |
> |
case `$FILECMD conftest.$ac_objext` in |
| 7675 |
> |
*32-bit*) |
| 7676 |
> |
emul="${emul}32" |
| 7677 |
> |
;; |
| 7678 |
> |
*64-bit*) |
| 7679 |
> |
emul="${emul}64" |
| 7680 |
> |
;; |
| 7681 |
> |
esac |
| 7682 |
> |
case `$FILECMD conftest.$ac_objext` in |
| 7683 |
> |
*MSB*) |
| 7684 |
> |
emul="${emul}btsmip" |
| 7685 |
> |
;; |
| 7686 |
> |
*LSB*) |
| 7687 |
> |
emul="${emul}ltsmip" |
| 7688 |
> |
;; |
| 7689 |
> |
esac |
| 7690 |
> |
case `$FILECMD conftest.$ac_objext` in |
| 7691 |
> |
*N32*) |
| 7692 |
> |
emul="${emul}n32" |
| 7693 |
> |
;; |
| 7694 |
> |
esac |
| 7695 |
> |
LD="${LD-ld} -m $emul" |
| 7696 |
> |
fi |
| 7697 |
> |
rm -rf conftest* |
| 7698 |
> |
;; |
| 7699 |
> |
|
| 7700 |
> |
x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ |
| 7701 |
|
s390*-*linux*|s390*-*tpf*|sparc*-*linux*) |
| 7702 |
< |
# Find out which ABI we are using. |
| 7702 |
> |
# Find out what ABI is being produced by ac_compile, and set linker |
| 7703 |
> |
# options accordingly. Note that the listed cases only cover the |
| 7704 |
> |
# situations where additional linker options are needed (such as when |
| 7705 |
> |
# doing 32-bit compilation for a host where ld defaults to 64-bit, or |
| 7706 |
> |
# vice versa); the common cases where no linker options are needed do |
| 7707 |
> |
# not appear in the list. |
| 7708 |
|
echo 'int i;' > conftest.$ac_ext |
| 7709 |
|
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
| 7710 |
|
(eval $ac_compile) 2>&5 |
| 7711 |
|
ac_status=$? |
| 7712 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 7712 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 7713 |
|
test $ac_status = 0; }; then |
| 7714 |
< |
case `/usr/bin/file conftest.o` in |
| 7714 |
> |
case `$FILECMD conftest.o` in |
| 7715 |
|
*32-bit*) |
| 7716 |
|
case $host in |
| 7717 |
|
x86_64-*kfreebsd*-gnu) |
| 7718 |
|
LD="${LD-ld} -m elf_i386_fbsd" |
| 7719 |
|
;; |
| 7720 |
|
x86_64-*linux*) |
| 7721 |
< |
LD="${LD-ld} -m elf_i386" |
| 7721 |
> |
case `$FILECMD conftest.o` in |
| 7722 |
> |
*x86-64*) |
| 7723 |
> |
LD="${LD-ld} -m elf32_x86_64" |
| 7724 |
> |
;; |
| 7725 |
> |
*) |
| 7726 |
> |
LD="${LD-ld} -m elf_i386" |
| 7727 |
> |
;; |
| 7728 |
> |
esac |
| 7729 |
> |
;; |
| 7730 |
> |
powerpc64le-*linux*) |
| 7731 |
> |
LD="${LD-ld} -m elf32lppclinux" |
| 7732 |
|
;; |
| 7733 |
< |
ppc64-*linux*|powerpc64-*linux*) |
| 7733 |
> |
powerpc64-*linux*) |
| 7734 |
|
LD="${LD-ld} -m elf32ppclinux" |
| 7735 |
|
;; |
| 7736 |
|
s390x-*linux*) |
| 7749 |
|
x86_64-*linux*) |
| 7750 |
|
LD="${LD-ld} -m elf_x86_64" |
| 7751 |
|
;; |
| 7752 |
< |
ppc*-*linux*|powerpc*-*linux*) |
| 7752 |
> |
powerpcle-*linux*) |
| 7753 |
> |
LD="${LD-ld} -m elf64lppc" |
| 7754 |
> |
;; |
| 7755 |
> |
powerpc-*linux*) |
| 7756 |
|
LD="${LD-ld} -m elf64ppc" |
| 7757 |
|
;; |
| 7758 |
|
s390*-*linux*|s390*-*tpf*) |
| 7770 |
|
|
| 7771 |
|
*-*-sco3.2v5*) |
| 7772 |
|
# On SCO OpenServer 5, we need -belf to get full-featured binaries. |
| 7773 |
< |
SAVE_CFLAGS="$CFLAGS" |
| 7773 |
> |
SAVE_CFLAGS=$CFLAGS |
| 7774 |
|
CFLAGS="$CFLAGS -belf" |
| 7775 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 |
| 7776 |
< |
$as_echo_n "checking whether the C compiler needs -belf... " >&6; } |
| 7777 |
< |
if ${lt_cv_cc_needs_belf+:} false; then : |
| 7778 |
< |
$as_echo_n "(cached) " >&6 |
| 7779 |
< |
else |
| 7775 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 |
| 7776 |
> |
printf %s "checking whether the C compiler needs -belf... " >&6; } |
| 7777 |
> |
if test ${lt_cv_cc_needs_belf+y} |
| 7778 |
> |
then : |
| 7779 |
> |
printf %s "(cached) " >&6 |
| 7780 |
> |
else $as_nop |
| 7781 |
|
ac_ext=c |
| 7782 |
|
ac_cpp='$CPP $CPPFLAGS' |
| 7783 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 7788 |
|
/* end confdefs.h. */ |
| 7789 |
|
|
| 7790 |
|
int |
| 7791 |
< |
main () |
| 7791 |
> |
main (void) |
| 7792 |
|
{ |
| 7793 |
|
|
| 7794 |
|
; |
| 7795 |
|
return 0; |
| 7796 |
|
} |
| 7797 |
|
_ACEOF |
| 7798 |
< |
if ac_fn_c_try_link "$LINENO"; then : |
| 7798 |
> |
if ac_fn_c_try_link "$LINENO" |
| 7799 |
> |
then : |
| 7800 |
|
lt_cv_cc_needs_belf=yes |
| 7801 |
< |
else |
| 7801 |
> |
else $as_nop |
| 7802 |
|
lt_cv_cc_needs_belf=no |
| 7803 |
|
fi |
| 7804 |
< |
rm -f core conftest.err conftest.$ac_objext \ |
| 7804 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 7805 |
|
conftest$ac_exeext conftest.$ac_ext |
| 7806 |
|
ac_ext=c |
| 7807 |
|
ac_cpp='$CPP $CPPFLAGS' |
| 7810 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 7811 |
|
|
| 7812 |
|
fi |
| 7813 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 |
| 7814 |
< |
$as_echo "$lt_cv_cc_needs_belf" >&6; } |
| 7815 |
< |
if test x"$lt_cv_cc_needs_belf" != x"yes"; then |
| 7813 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 |
| 7814 |
> |
printf "%s\n" "$lt_cv_cc_needs_belf" >&6; } |
| 7815 |
> |
if test yes != "$lt_cv_cc_needs_belf"; then |
| 7816 |
|
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf |
| 7817 |
< |
CFLAGS="$SAVE_CFLAGS" |
| 7817 |
> |
CFLAGS=$SAVE_CFLAGS |
| 7818 |
|
fi |
| 7819 |
|
;; |
| 7820 |
|
*-*solaris*) |
| 7821 |
< |
# Find out which ABI we are using. |
| 7821 |
> |
# Find out what ABI is being produced by ac_compile, and set linker |
| 7822 |
> |
# options accordingly. |
| 7823 |
|
echo 'int i;' > conftest.$ac_ext |
| 7824 |
|
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
| 7825 |
|
(eval $ac_compile) 2>&5 |
| 7826 |
|
ac_status=$? |
| 7827 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 7827 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 7828 |
|
test $ac_status = 0; }; then |
| 7829 |
< |
case `/usr/bin/file conftest.o` in |
| 7829 |
> |
case `$FILECMD conftest.o` in |
| 7830 |
|
*64-bit*) |
| 7831 |
|
case $lt_cv_prog_gnu_ld in |
| 7832 |
|
yes*) |
| 7833 |
|
case $host in |
| 7834 |
< |
i?86-*-solaris*) |
| 7834 |
> |
i?86-*-solaris*|x86_64-*-solaris*) |
| 7835 |
|
LD="${LD-ld} -m elf_x86_64" |
| 7836 |
|
;; |
| 7837 |
|
sparc*-*-solaris*) |
| 7840 |
|
esac |
| 7841 |
|
# GNU ld 2.21 introduced _sol2 emulations. Use them if available. |
| 7842 |
|
if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then |
| 7843 |
< |
LD="${LD-ld}_sol2" |
| 7843 |
> |
LD=${LD-ld}_sol2 |
| 7844 |
|
fi |
| 7845 |
|
;; |
| 7846 |
|
*) |
| 7856 |
|
;; |
| 7857 |
|
esac |
| 7858 |
|
|
| 7859 |
< |
need_locks="$enable_libtool_lock" |
| 7859 |
> |
need_locks=$enable_libtool_lock |
| 7860 |
|
|
| 7861 |
|
if test -n "$ac_tool_prefix"; then |
| 7862 |
|
# Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. |
| 7863 |
|
set dummy ${ac_tool_prefix}mt; ac_word=$2 |
| 7864 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 7865 |
< |
$as_echo_n "checking for $ac_word... " >&6; } |
| 7866 |
< |
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : |
| 7867 |
< |
$as_echo_n "(cached) " >&6 |
| 7868 |
< |
else |
| 7864 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 7865 |
> |
printf %s "checking for $ac_word... " >&6; } |
| 7866 |
> |
if test ${ac_cv_prog_MANIFEST_TOOL+y} |
| 7867 |
> |
then : |
| 7868 |
> |
printf %s "(cached) " >&6 |
| 7869 |
> |
else $as_nop |
| 7870 |
|
if test -n "$MANIFEST_TOOL"; then |
| 7871 |
|
ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. |
| 7872 |
|
else |
| 7874 |
|
for as_dir in $PATH |
| 7875 |
|
do |
| 7876 |
|
IFS=$as_save_IFS |
| 7877 |
< |
test -z "$as_dir" && as_dir=. |
| 7877 |
> |
case $as_dir in #((( |
| 7878 |
> |
'') as_dir=./ ;; |
| 7879 |
> |
*/) ;; |
| 7880 |
> |
*) as_dir=$as_dir/ ;; |
| 7881 |
> |
esac |
| 7882 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 7883 |
< |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 7883 |
> |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 7884 |
|
ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" |
| 7885 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 7885 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 7886 |
|
break 2 |
| 7887 |
|
fi |
| 7888 |
|
done |
| 7893 |
|
fi |
| 7894 |
|
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL |
| 7895 |
|
if test -n "$MANIFEST_TOOL"; then |
| 7896 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 |
| 7897 |
< |
$as_echo "$MANIFEST_TOOL" >&6; } |
| 7896 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 |
| 7897 |
> |
printf "%s\n" "$MANIFEST_TOOL" >&6; } |
| 7898 |
|
else |
| 7899 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 7900 |
< |
$as_echo "no" >&6; } |
| 7899 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 7900 |
> |
printf "%s\n" "no" >&6; } |
| 7901 |
|
fi |
| 7902 |
|
|
| 7903 |
|
|
| 7906 |
|
ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL |
| 7907 |
|
# Extract the first word of "mt", so it can be a program name with args. |
| 7908 |
|
set dummy mt; ac_word=$2 |
| 7909 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 7910 |
< |
$as_echo_n "checking for $ac_word... " >&6; } |
| 7911 |
< |
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : |
| 7912 |
< |
$as_echo_n "(cached) " >&6 |
| 7913 |
< |
else |
| 7909 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 7910 |
> |
printf %s "checking for $ac_word... " >&6; } |
| 7911 |
> |
if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y} |
| 7912 |
> |
then : |
| 7913 |
> |
printf %s "(cached) " >&6 |
| 7914 |
> |
else $as_nop |
| 7915 |
|
if test -n "$ac_ct_MANIFEST_TOOL"; then |
| 7916 |
|
ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. |
| 7917 |
|
else |
| 7919 |
|
for as_dir in $PATH |
| 7920 |
|
do |
| 7921 |
|
IFS=$as_save_IFS |
| 7922 |
< |
test -z "$as_dir" && as_dir=. |
| 7922 |
> |
case $as_dir in #((( |
| 7923 |
> |
'') as_dir=./ ;; |
| 7924 |
> |
*/) ;; |
| 7925 |
> |
*) as_dir=$as_dir/ ;; |
| 7926 |
> |
esac |
| 7927 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 7928 |
< |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 7928 |
> |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 7929 |
|
ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" |
| 7930 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 7930 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 7931 |
|
break 2 |
| 7932 |
|
fi |
| 7933 |
|
done |
| 7938 |
|
fi |
| 7939 |
|
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL |
| 7940 |
|
if test -n "$ac_ct_MANIFEST_TOOL"; then |
| 7941 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 |
| 7942 |
< |
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } |
| 7941 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 |
| 7942 |
> |
printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; } |
| 7943 |
|
else |
| 7944 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 7945 |
< |
$as_echo "no" >&6; } |
| 7944 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 7945 |
> |
printf "%s\n" "no" >&6; } |
| 7946 |
|
fi |
| 7947 |
|
|
| 7948 |
|
if test "x$ac_ct_MANIFEST_TOOL" = x; then |
| 7950 |
|
else |
| 7951 |
|
case $cross_compiling:$ac_tool_warned in |
| 7952 |
|
yes:) |
| 7953 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 7954 |
< |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 7953 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 7954 |
> |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 7955 |
|
ac_tool_warned=yes ;; |
| 7956 |
|
esac |
| 7957 |
|
MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL |
| 7961 |
|
fi |
| 7962 |
|
|
| 7963 |
|
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt |
| 7964 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 |
| 7965 |
< |
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } |
| 7966 |
< |
if ${lt_cv_path_mainfest_tool+:} false; then : |
| 7967 |
< |
$as_echo_n "(cached) " >&6 |
| 7968 |
< |
else |
| 7964 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 |
| 7965 |
> |
printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } |
| 7966 |
> |
if test ${lt_cv_path_mainfest_tool+y} |
| 7967 |
> |
then : |
| 7968 |
> |
printf %s "(cached) " >&6 |
| 7969 |
> |
else $as_nop |
| 7970 |
|
lt_cv_path_mainfest_tool=no |
| 7971 |
|
echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 |
| 7972 |
|
$MANIFEST_TOOL '-?' 2>conftest.err > conftest.out |
| 7976 |
|
fi |
| 7977 |
|
rm -f conftest* |
| 7978 |
|
fi |
| 7979 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 |
| 7980 |
< |
$as_echo "$lt_cv_path_mainfest_tool" >&6; } |
| 7981 |
< |
if test "x$lt_cv_path_mainfest_tool" != xyes; then |
| 7979 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 |
| 7980 |
> |
printf "%s\n" "$lt_cv_path_mainfest_tool" >&6; } |
| 7981 |
> |
if test yes != "$lt_cv_path_mainfest_tool"; then |
| 7982 |
|
MANIFEST_TOOL=: |
| 7983 |
|
fi |
| 7984 |
|
|
| 7992 |
|
if test -n "$ac_tool_prefix"; then |
| 7993 |
|
# Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. |
| 7994 |
|
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 |
| 7995 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 7996 |
< |
$as_echo_n "checking for $ac_word... " >&6; } |
| 7997 |
< |
if ${ac_cv_prog_DSYMUTIL+:} false; then : |
| 7998 |
< |
$as_echo_n "(cached) " >&6 |
| 7999 |
< |
else |
| 7995 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 7996 |
> |
printf %s "checking for $ac_word... " >&6; } |
| 7997 |
> |
if test ${ac_cv_prog_DSYMUTIL+y} |
| 7998 |
> |
then : |
| 7999 |
> |
printf %s "(cached) " >&6 |
| 8000 |
> |
else $as_nop |
| 8001 |
|
if test -n "$DSYMUTIL"; then |
| 8002 |
|
ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. |
| 8003 |
|
else |
| 8005 |
|
for as_dir in $PATH |
| 8006 |
|
do |
| 8007 |
|
IFS=$as_save_IFS |
| 8008 |
< |
test -z "$as_dir" && as_dir=. |
| 8008 |
> |
case $as_dir in #((( |
| 8009 |
> |
'') as_dir=./ ;; |
| 8010 |
> |
*/) ;; |
| 8011 |
> |
*) as_dir=$as_dir/ ;; |
| 8012 |
> |
esac |
| 8013 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 8014 |
< |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 8014 |
> |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 8015 |
|
ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" |
| 8016 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 8016 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 8017 |
|
break 2 |
| 8018 |
|
fi |
| 8019 |
|
done |
| 8024 |
|
fi |
| 8025 |
|
DSYMUTIL=$ac_cv_prog_DSYMUTIL |
| 8026 |
|
if test -n "$DSYMUTIL"; then |
| 8027 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 |
| 8028 |
< |
$as_echo "$DSYMUTIL" >&6; } |
| 8027 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 |
| 8028 |
> |
printf "%s\n" "$DSYMUTIL" >&6; } |
| 8029 |
|
else |
| 8030 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 8031 |
< |
$as_echo "no" >&6; } |
| 8030 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 8031 |
> |
printf "%s\n" "no" >&6; } |
| 8032 |
|
fi |
| 8033 |
|
|
| 8034 |
|
|
| 8037 |
|
ac_ct_DSYMUTIL=$DSYMUTIL |
| 8038 |
|
# Extract the first word of "dsymutil", so it can be a program name with args. |
| 8039 |
|
set dummy dsymutil; ac_word=$2 |
| 8040 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 8041 |
< |
$as_echo_n "checking for $ac_word... " >&6; } |
| 8042 |
< |
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : |
| 8043 |
< |
$as_echo_n "(cached) " >&6 |
| 8044 |
< |
else |
| 8040 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 8041 |
> |
printf %s "checking for $ac_word... " >&6; } |
| 8042 |
> |
if test ${ac_cv_prog_ac_ct_DSYMUTIL+y} |
| 8043 |
> |
then : |
| 8044 |
> |
printf %s "(cached) " >&6 |
| 8045 |
> |
else $as_nop |
| 8046 |
|
if test -n "$ac_ct_DSYMUTIL"; then |
| 8047 |
|
ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. |
| 8048 |
|
else |
| 8050 |
|
for as_dir in $PATH |
| 8051 |
|
do |
| 8052 |
|
IFS=$as_save_IFS |
| 8053 |
< |
test -z "$as_dir" && as_dir=. |
| 8053 |
> |
case $as_dir in #((( |
| 8054 |
> |
'') as_dir=./ ;; |
| 8055 |
> |
*/) ;; |
| 8056 |
> |
*) as_dir=$as_dir/ ;; |
| 8057 |
> |
esac |
| 8058 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 8059 |
< |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 8059 |
> |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 8060 |
|
ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" |
| 8061 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 8061 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 8062 |
|
break 2 |
| 8063 |
|
fi |
| 8064 |
|
done |
| 8069 |
|
fi |
| 8070 |
|
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL |
| 8071 |
|
if test -n "$ac_ct_DSYMUTIL"; then |
| 8072 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 |
| 8073 |
< |
$as_echo "$ac_ct_DSYMUTIL" >&6; } |
| 8072 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 |
| 8073 |
> |
printf "%s\n" "$ac_ct_DSYMUTIL" >&6; } |
| 8074 |
|
else |
| 8075 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 8076 |
< |
$as_echo "no" >&6; } |
| 8075 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 8076 |
> |
printf "%s\n" "no" >&6; } |
| 8077 |
|
fi |
| 8078 |
|
|
| 8079 |
|
if test "x$ac_ct_DSYMUTIL" = x; then |
| 8081 |
|
else |
| 8082 |
|
case $cross_compiling:$ac_tool_warned in |
| 8083 |
|
yes:) |
| 8084 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 8085 |
< |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 8084 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 8085 |
> |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 8086 |
|
ac_tool_warned=yes ;; |
| 8087 |
|
esac |
| 8088 |
|
DSYMUTIL=$ac_ct_DSYMUTIL |
| 8094 |
|
if test -n "$ac_tool_prefix"; then |
| 8095 |
|
# Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. |
| 8096 |
|
set dummy ${ac_tool_prefix}nmedit; ac_word=$2 |
| 8097 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 8098 |
< |
$as_echo_n "checking for $ac_word... " >&6; } |
| 8099 |
< |
if ${ac_cv_prog_NMEDIT+:} false; then : |
| 8100 |
< |
$as_echo_n "(cached) " >&6 |
| 8101 |
< |
else |
| 8097 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 8098 |
> |
printf %s "checking for $ac_word... " >&6; } |
| 8099 |
> |
if test ${ac_cv_prog_NMEDIT+y} |
| 8100 |
> |
then : |
| 8101 |
> |
printf %s "(cached) " >&6 |
| 8102 |
> |
else $as_nop |
| 8103 |
|
if test -n "$NMEDIT"; then |
| 8104 |
|
ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. |
| 8105 |
|
else |
| 8107 |
|
for as_dir in $PATH |
| 8108 |
|
do |
| 8109 |
|
IFS=$as_save_IFS |
| 8110 |
< |
test -z "$as_dir" && as_dir=. |
| 8110 |
> |
case $as_dir in #((( |
| 8111 |
> |
'') as_dir=./ ;; |
| 8112 |
> |
*/) ;; |
| 8113 |
> |
*) as_dir=$as_dir/ ;; |
| 8114 |
> |
esac |
| 8115 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 8116 |
< |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 8116 |
> |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 8117 |
|
ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" |
| 8118 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 8118 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 8119 |
|
break 2 |
| 8120 |
|
fi |
| 8121 |
|
done |
| 8126 |
|
fi |
| 8127 |
|
NMEDIT=$ac_cv_prog_NMEDIT |
| 8128 |
|
if test -n "$NMEDIT"; then |
| 8129 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 |
| 8130 |
< |
$as_echo "$NMEDIT" >&6; } |
| 8129 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 |
| 8130 |
> |
printf "%s\n" "$NMEDIT" >&6; } |
| 8131 |
|
else |
| 8132 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 8133 |
< |
$as_echo "no" >&6; } |
| 8132 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 8133 |
> |
printf "%s\n" "no" >&6; } |
| 8134 |
|
fi |
| 8135 |
|
|
| 8136 |
|
|
| 8139 |
|
ac_ct_NMEDIT=$NMEDIT |
| 8140 |
|
# Extract the first word of "nmedit", so it can be a program name with args. |
| 8141 |
|
set dummy nmedit; ac_word=$2 |
| 8142 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 8143 |
< |
$as_echo_n "checking for $ac_word... " >&6; } |
| 8144 |
< |
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : |
| 8145 |
< |
$as_echo_n "(cached) " >&6 |
| 8146 |
< |
else |
| 8142 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 8143 |
> |
printf %s "checking for $ac_word... " >&6; } |
| 8144 |
> |
if test ${ac_cv_prog_ac_ct_NMEDIT+y} |
| 8145 |
> |
then : |
| 8146 |
> |
printf %s "(cached) " >&6 |
| 8147 |
> |
else $as_nop |
| 8148 |
|
if test -n "$ac_ct_NMEDIT"; then |
| 8149 |
|
ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. |
| 8150 |
|
else |
| 8152 |
|
for as_dir in $PATH |
| 8153 |
|
do |
| 8154 |
|
IFS=$as_save_IFS |
| 8155 |
< |
test -z "$as_dir" && as_dir=. |
| 8155 |
> |
case $as_dir in #((( |
| 8156 |
> |
'') as_dir=./ ;; |
| 8157 |
> |
*/) ;; |
| 8158 |
> |
*) as_dir=$as_dir/ ;; |
| 8159 |
> |
esac |
| 8160 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 8161 |
< |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 8161 |
> |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 8162 |
|
ac_cv_prog_ac_ct_NMEDIT="nmedit" |
| 8163 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 8163 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 8164 |
|
break 2 |
| 8165 |
|
fi |
| 8166 |
|
done |
| 8171 |
|
fi |
| 8172 |
|
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT |
| 8173 |
|
if test -n "$ac_ct_NMEDIT"; then |
| 8174 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 |
| 8175 |
< |
$as_echo "$ac_ct_NMEDIT" >&6; } |
| 8174 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 |
| 8175 |
> |
printf "%s\n" "$ac_ct_NMEDIT" >&6; } |
| 8176 |
|
else |
| 8177 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 8178 |
< |
$as_echo "no" >&6; } |
| 8177 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 8178 |
> |
printf "%s\n" "no" >&6; } |
| 8179 |
|
fi |
| 8180 |
|
|
| 8181 |
|
if test "x$ac_ct_NMEDIT" = x; then |
| 8183 |
|
else |
| 8184 |
|
case $cross_compiling:$ac_tool_warned in |
| 8185 |
|
yes:) |
| 8186 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 8187 |
< |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 8186 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 8187 |
> |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 8188 |
|
ac_tool_warned=yes ;; |
| 8189 |
|
esac |
| 8190 |
|
NMEDIT=$ac_ct_NMEDIT |
| 8196 |
|
if test -n "$ac_tool_prefix"; then |
| 8197 |
|
# Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. |
| 8198 |
|
set dummy ${ac_tool_prefix}lipo; ac_word=$2 |
| 8199 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 8200 |
< |
$as_echo_n "checking for $ac_word... " >&6; } |
| 8201 |
< |
if ${ac_cv_prog_LIPO+:} false; then : |
| 8202 |
< |
$as_echo_n "(cached) " >&6 |
| 8203 |
< |
else |
| 8199 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 8200 |
> |
printf %s "checking for $ac_word... " >&6; } |
| 8201 |
> |
if test ${ac_cv_prog_LIPO+y} |
| 8202 |
> |
then : |
| 8203 |
> |
printf %s "(cached) " >&6 |
| 8204 |
> |
else $as_nop |
| 8205 |
|
if test -n "$LIPO"; then |
| 8206 |
|
ac_cv_prog_LIPO="$LIPO" # Let the user override the test. |
| 8207 |
|
else |
| 8209 |
|
for as_dir in $PATH |
| 8210 |
|
do |
| 8211 |
|
IFS=$as_save_IFS |
| 8212 |
< |
test -z "$as_dir" && as_dir=. |
| 8212 |
> |
case $as_dir in #((( |
| 8213 |
> |
'') as_dir=./ ;; |
| 8214 |
> |
*/) ;; |
| 8215 |
> |
*) as_dir=$as_dir/ ;; |
| 8216 |
> |
esac |
| 8217 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 8218 |
< |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 8218 |
> |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 8219 |
|
ac_cv_prog_LIPO="${ac_tool_prefix}lipo" |
| 8220 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 8220 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 8221 |
|
break 2 |
| 8222 |
|
fi |
| 8223 |
|
done |
| 8228 |
|
fi |
| 8229 |
|
LIPO=$ac_cv_prog_LIPO |
| 8230 |
|
if test -n "$LIPO"; then |
| 8231 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 |
| 8232 |
< |
$as_echo "$LIPO" >&6; } |
| 8231 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 |
| 8232 |
> |
printf "%s\n" "$LIPO" >&6; } |
| 8233 |
|
else |
| 8234 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 8235 |
< |
$as_echo "no" >&6; } |
| 8234 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 8235 |
> |
printf "%s\n" "no" >&6; } |
| 8236 |
|
fi |
| 8237 |
|
|
| 8238 |
|
|
| 8241 |
|
ac_ct_LIPO=$LIPO |
| 8242 |
|
# Extract the first word of "lipo", so it can be a program name with args. |
| 8243 |
|
set dummy lipo; ac_word=$2 |
| 8244 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 8245 |
< |
$as_echo_n "checking for $ac_word... " >&6; } |
| 8246 |
< |
if ${ac_cv_prog_ac_ct_LIPO+:} false; then : |
| 8247 |
< |
$as_echo_n "(cached) " >&6 |
| 8248 |
< |
else |
| 8244 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 8245 |
> |
printf %s "checking for $ac_word... " >&6; } |
| 8246 |
> |
if test ${ac_cv_prog_ac_ct_LIPO+y} |
| 8247 |
> |
then : |
| 8248 |
> |
printf %s "(cached) " >&6 |
| 8249 |
> |
else $as_nop |
| 8250 |
|
if test -n "$ac_ct_LIPO"; then |
| 8251 |
|
ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. |
| 8252 |
|
else |
| 8254 |
|
for as_dir in $PATH |
| 8255 |
|
do |
| 8256 |
|
IFS=$as_save_IFS |
| 8257 |
< |
test -z "$as_dir" && as_dir=. |
| 8257 |
> |
case $as_dir in #((( |
| 8258 |
> |
'') as_dir=./ ;; |
| 8259 |
> |
*/) ;; |
| 8260 |
> |
*) as_dir=$as_dir/ ;; |
| 8261 |
> |
esac |
| 8262 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 8263 |
< |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 8263 |
> |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 8264 |
|
ac_cv_prog_ac_ct_LIPO="lipo" |
| 8265 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 8265 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 8266 |
|
break 2 |
| 8267 |
|
fi |
| 8268 |
|
done |
| 8273 |
|
fi |
| 8274 |
|
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO |
| 8275 |
|
if test -n "$ac_ct_LIPO"; then |
| 8276 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 |
| 8277 |
< |
$as_echo "$ac_ct_LIPO" >&6; } |
| 8276 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 |
| 8277 |
> |
printf "%s\n" "$ac_ct_LIPO" >&6; } |
| 8278 |
|
else |
| 8279 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 8280 |
< |
$as_echo "no" >&6; } |
| 8279 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 8280 |
> |
printf "%s\n" "no" >&6; } |
| 8281 |
|
fi |
| 8282 |
|
|
| 8283 |
|
if test "x$ac_ct_LIPO" = x; then |
| 8285 |
|
else |
| 8286 |
|
case $cross_compiling:$ac_tool_warned in |
| 8287 |
|
yes:) |
| 8288 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 8289 |
< |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 8288 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 8289 |
> |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 8290 |
|
ac_tool_warned=yes ;; |
| 8291 |
|
esac |
| 8292 |
|
LIPO=$ac_ct_LIPO |
| 8298 |
|
if test -n "$ac_tool_prefix"; then |
| 8299 |
|
# Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. |
| 8300 |
|
set dummy ${ac_tool_prefix}otool; ac_word=$2 |
| 8301 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 8302 |
< |
$as_echo_n "checking for $ac_word... " >&6; } |
| 8303 |
< |
if ${ac_cv_prog_OTOOL+:} false; then : |
| 8304 |
< |
$as_echo_n "(cached) " >&6 |
| 8305 |
< |
else |
| 8301 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 8302 |
> |
printf %s "checking for $ac_word... " >&6; } |
| 8303 |
> |
if test ${ac_cv_prog_OTOOL+y} |
| 8304 |
> |
then : |
| 8305 |
> |
printf %s "(cached) " >&6 |
| 8306 |
> |
else $as_nop |
| 8307 |
|
if test -n "$OTOOL"; then |
| 8308 |
|
ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. |
| 8309 |
|
else |
| 8311 |
|
for as_dir in $PATH |
| 8312 |
|
do |
| 8313 |
|
IFS=$as_save_IFS |
| 8314 |
< |
test -z "$as_dir" && as_dir=. |
| 8314 |
> |
case $as_dir in #((( |
| 8315 |
> |
'') as_dir=./ ;; |
| 8316 |
> |
*/) ;; |
| 8317 |
> |
*) as_dir=$as_dir/ ;; |
| 8318 |
> |
esac |
| 8319 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 8320 |
< |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 8320 |
> |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 8321 |
|
ac_cv_prog_OTOOL="${ac_tool_prefix}otool" |
| 8322 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 8322 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 8323 |
|
break 2 |
| 8324 |
|
fi |
| 8325 |
|
done |
| 8330 |
|
fi |
| 8331 |
|
OTOOL=$ac_cv_prog_OTOOL |
| 8332 |
|
if test -n "$OTOOL"; then |
| 8333 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 |
| 8334 |
< |
$as_echo "$OTOOL" >&6; } |
| 8333 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 |
| 8334 |
> |
printf "%s\n" "$OTOOL" >&6; } |
| 8335 |
|
else |
| 8336 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 8337 |
< |
$as_echo "no" >&6; } |
| 8336 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 8337 |
> |
printf "%s\n" "no" >&6; } |
| 8338 |
|
fi |
| 8339 |
|
|
| 8340 |
|
|
| 8343 |
|
ac_ct_OTOOL=$OTOOL |
| 8344 |
|
# Extract the first word of "otool", so it can be a program name with args. |
| 8345 |
|
set dummy otool; ac_word=$2 |
| 8346 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 8347 |
< |
$as_echo_n "checking for $ac_word... " >&6; } |
| 8348 |
< |
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : |
| 8349 |
< |
$as_echo_n "(cached) " >&6 |
| 8350 |
< |
else |
| 8346 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 8347 |
> |
printf %s "checking for $ac_word... " >&6; } |
| 8348 |
> |
if test ${ac_cv_prog_ac_ct_OTOOL+y} |
| 8349 |
> |
then : |
| 8350 |
> |
printf %s "(cached) " >&6 |
| 8351 |
> |
else $as_nop |
| 8352 |
|
if test -n "$ac_ct_OTOOL"; then |
| 8353 |
|
ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. |
| 8354 |
|
else |
| 8356 |
|
for as_dir in $PATH |
| 8357 |
|
do |
| 8358 |
|
IFS=$as_save_IFS |
| 8359 |
< |
test -z "$as_dir" && as_dir=. |
| 8359 |
> |
case $as_dir in #((( |
| 8360 |
> |
'') as_dir=./ ;; |
| 8361 |
> |
*/) ;; |
| 8362 |
> |
*) as_dir=$as_dir/ ;; |
| 8363 |
> |
esac |
| 8364 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 8365 |
< |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 8365 |
> |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 8366 |
|
ac_cv_prog_ac_ct_OTOOL="otool" |
| 8367 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 8367 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 8368 |
|
break 2 |
| 8369 |
|
fi |
| 8370 |
|
done |
| 8375 |
|
fi |
| 8376 |
|
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL |
| 8377 |
|
if test -n "$ac_ct_OTOOL"; then |
| 8378 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 |
| 8379 |
< |
$as_echo "$ac_ct_OTOOL" >&6; } |
| 8378 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 |
| 8379 |
> |
printf "%s\n" "$ac_ct_OTOOL" >&6; } |
| 8380 |
|
else |
| 8381 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 8382 |
< |
$as_echo "no" >&6; } |
| 8381 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 8382 |
> |
printf "%s\n" "no" >&6; } |
| 8383 |
|
fi |
| 8384 |
|
|
| 8385 |
|
if test "x$ac_ct_OTOOL" = x; then |
| 8387 |
|
else |
| 8388 |
|
case $cross_compiling:$ac_tool_warned in |
| 8389 |
|
yes:) |
| 8390 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 8391 |
< |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 8390 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 8391 |
> |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 8392 |
|
ac_tool_warned=yes ;; |
| 8393 |
|
esac |
| 8394 |
|
OTOOL=$ac_ct_OTOOL |
| 8400 |
|
if test -n "$ac_tool_prefix"; then |
| 8401 |
|
# Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. |
| 8402 |
|
set dummy ${ac_tool_prefix}otool64; ac_word=$2 |
| 8403 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 8404 |
< |
$as_echo_n "checking for $ac_word... " >&6; } |
| 8405 |
< |
if ${ac_cv_prog_OTOOL64+:} false; then : |
| 8406 |
< |
$as_echo_n "(cached) " >&6 |
| 8407 |
< |
else |
| 8403 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 8404 |
> |
printf %s "checking for $ac_word... " >&6; } |
| 8405 |
> |
if test ${ac_cv_prog_OTOOL64+y} |
| 8406 |
> |
then : |
| 8407 |
> |
printf %s "(cached) " >&6 |
| 8408 |
> |
else $as_nop |
| 8409 |
|
if test -n "$OTOOL64"; then |
| 8410 |
|
ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. |
| 8411 |
|
else |
| 8413 |
|
for as_dir in $PATH |
| 8414 |
|
do |
| 8415 |
|
IFS=$as_save_IFS |
| 8416 |
< |
test -z "$as_dir" && as_dir=. |
| 8416 |
> |
case $as_dir in #((( |
| 8417 |
> |
'') as_dir=./ ;; |
| 8418 |
> |
*/) ;; |
| 8419 |
> |
*) as_dir=$as_dir/ ;; |
| 8420 |
> |
esac |
| 8421 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 8422 |
< |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 8422 |
> |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 8423 |
|
ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" |
| 8424 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 8424 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 8425 |
|
break 2 |
| 8426 |
|
fi |
| 8427 |
|
done |
| 8432 |
|
fi |
| 8433 |
|
OTOOL64=$ac_cv_prog_OTOOL64 |
| 8434 |
|
if test -n "$OTOOL64"; then |
| 8435 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 |
| 8436 |
< |
$as_echo "$OTOOL64" >&6; } |
| 8435 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 |
| 8436 |
> |
printf "%s\n" "$OTOOL64" >&6; } |
| 8437 |
|
else |
| 8438 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 8439 |
< |
$as_echo "no" >&6; } |
| 8438 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 8439 |
> |
printf "%s\n" "no" >&6; } |
| 8440 |
|
fi |
| 8441 |
|
|
| 8442 |
|
|
| 8445 |
|
ac_ct_OTOOL64=$OTOOL64 |
| 8446 |
|
# Extract the first word of "otool64", so it can be a program name with args. |
| 8447 |
|
set dummy otool64; ac_word=$2 |
| 8448 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 8449 |
< |
$as_echo_n "checking for $ac_word... " >&6; } |
| 8450 |
< |
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : |
| 8451 |
< |
$as_echo_n "(cached) " >&6 |
| 8452 |
< |
else |
| 8448 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 8449 |
> |
printf %s "checking for $ac_word... " >&6; } |
| 8450 |
> |
if test ${ac_cv_prog_ac_ct_OTOOL64+y} |
| 8451 |
> |
then : |
| 8452 |
> |
printf %s "(cached) " >&6 |
| 8453 |
> |
else $as_nop |
| 8454 |
|
if test -n "$ac_ct_OTOOL64"; then |
| 8455 |
|
ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. |
| 8456 |
|
else |
| 8458 |
|
for as_dir in $PATH |
| 8459 |
|
do |
| 8460 |
|
IFS=$as_save_IFS |
| 8461 |
< |
test -z "$as_dir" && as_dir=. |
| 8461 |
> |
case $as_dir in #((( |
| 8462 |
> |
'') as_dir=./ ;; |
| 8463 |
> |
*/) ;; |
| 8464 |
> |
*) as_dir=$as_dir/ ;; |
| 8465 |
> |
esac |
| 8466 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 8467 |
< |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 8467 |
> |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 8468 |
|
ac_cv_prog_ac_ct_OTOOL64="otool64" |
| 8469 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 8469 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 8470 |
|
break 2 |
| 8471 |
|
fi |
| 8472 |
|
done |
| 8477 |
|
fi |
| 8478 |
|
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 |
| 8479 |
|
if test -n "$ac_ct_OTOOL64"; then |
| 8480 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 |
| 8481 |
< |
$as_echo "$ac_ct_OTOOL64" >&6; } |
| 8480 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 |
| 8481 |
> |
printf "%s\n" "$ac_ct_OTOOL64" >&6; } |
| 8482 |
|
else |
| 8483 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 8484 |
< |
$as_echo "no" >&6; } |
| 8483 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 8484 |
> |
printf "%s\n" "no" >&6; } |
| 8485 |
|
fi |
| 8486 |
|
|
| 8487 |
|
if test "x$ac_ct_OTOOL64" = x; then |
| 8489 |
|
else |
| 8490 |
|
case $cross_compiling:$ac_tool_warned in |
| 8491 |
|
yes:) |
| 8492 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 8493 |
< |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 8492 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 8493 |
> |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 8494 |
|
ac_tool_warned=yes ;; |
| 8495 |
|
esac |
| 8496 |
|
OTOOL64=$ac_ct_OTOOL64 |
| 8525 |
|
|
| 8526 |
|
|
| 8527 |
|
|
| 8528 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 |
| 8529 |
< |
$as_echo_n "checking for -single_module linker flag... " >&6; } |
| 8530 |
< |
if ${lt_cv_apple_cc_single_mod+:} false; then : |
| 8531 |
< |
$as_echo_n "(cached) " >&6 |
| 8532 |
< |
else |
| 8528 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 |
| 8529 |
> |
printf %s "checking for -single_module linker flag... " >&6; } |
| 8530 |
> |
if test ${lt_cv_apple_cc_single_mod+y} |
| 8531 |
> |
then : |
| 8532 |
> |
printf %s "(cached) " >&6 |
| 8533 |
> |
else $as_nop |
| 8534 |
|
lt_cv_apple_cc_single_mod=no |
| 8535 |
< |
if test -z "${LT_MULTI_MODULE}"; then |
| 8535 |
> |
if test -z "$LT_MULTI_MODULE"; then |
| 8536 |
|
# By default we will add the -single_module flag. You can override |
| 8537 |
|
# by either setting the environment variable LT_MULTI_MODULE |
| 8538 |
|
# non-empty at configure time, or by adding -multi_module to the |
| 8550 |
|
cat conftest.err >&5 |
| 8551 |
|
# Otherwise, if the output was created with a 0 exit code from |
| 8552 |
|
# the compiler, it worked. |
| 8553 |
< |
elif test -f libconftest.dylib && test $_lt_result -eq 0; then |
| 8553 |
> |
elif test -f libconftest.dylib && test 0 = "$_lt_result"; then |
| 8554 |
|
lt_cv_apple_cc_single_mod=yes |
| 8555 |
|
else |
| 8556 |
|
cat conftest.err >&5 |
| 8559 |
|
rm -f conftest.* |
| 8560 |
|
fi |
| 8561 |
|
fi |
| 8562 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 |
| 8563 |
< |
$as_echo "$lt_cv_apple_cc_single_mod" >&6; } |
| 8562 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 |
| 8563 |
> |
printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; } |
| 8564 |
|
|
| 8565 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 |
| 8566 |
< |
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } |
| 8567 |
< |
if ${lt_cv_ld_exported_symbols_list+:} false; then : |
| 8568 |
< |
$as_echo_n "(cached) " >&6 |
| 8569 |
< |
else |
| 8565 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 |
| 8566 |
> |
printf %s "checking for -exported_symbols_list linker flag... " >&6; } |
| 8567 |
> |
if test ${lt_cv_ld_exported_symbols_list+y} |
| 8568 |
> |
then : |
| 8569 |
> |
printf %s "(cached) " >&6 |
| 8570 |
> |
else $as_nop |
| 8571 |
|
lt_cv_ld_exported_symbols_list=no |
| 8572 |
|
save_LDFLAGS=$LDFLAGS |
| 8573 |
|
echo "_main" > conftest.sym |
| 8576 |
|
/* end confdefs.h. */ |
| 8577 |
|
|
| 8578 |
|
int |
| 8579 |
< |
main () |
| 8579 |
> |
main (void) |
| 8580 |
|
{ |
| 8581 |
|
|
| 8582 |
|
; |
| 8583 |
|
return 0; |
| 8584 |
|
} |
| 8585 |
|
_ACEOF |
| 8586 |
< |
if ac_fn_c_try_link "$LINENO"; then : |
| 8586 |
> |
if ac_fn_c_try_link "$LINENO" |
| 8587 |
> |
then : |
| 8588 |
|
lt_cv_ld_exported_symbols_list=yes |
| 8589 |
< |
else |
| 8589 |
> |
else $as_nop |
| 8590 |
|
lt_cv_ld_exported_symbols_list=no |
| 8591 |
|
fi |
| 8592 |
< |
rm -f core conftest.err conftest.$ac_objext \ |
| 8592 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 8593 |
|
conftest$ac_exeext conftest.$ac_ext |
| 8594 |
< |
LDFLAGS="$save_LDFLAGS" |
| 8594 |
> |
LDFLAGS=$save_LDFLAGS |
| 8595 |
|
|
| 8596 |
|
fi |
| 8597 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 |
| 8598 |
< |
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } |
| 8597 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 |
| 8598 |
> |
printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; } |
| 8599 |
|
|
| 8600 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 |
| 8601 |
< |
$as_echo_n "checking for -force_load linker flag... " >&6; } |
| 8602 |
< |
if ${lt_cv_ld_force_load+:} false; then : |
| 8603 |
< |
$as_echo_n "(cached) " >&6 |
| 8604 |
< |
else |
| 8600 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 |
| 8601 |
> |
printf %s "checking for -force_load linker flag... " >&6; } |
| 8602 |
> |
if test ${lt_cv_ld_force_load+y} |
| 8603 |
> |
then : |
| 8604 |
> |
printf %s "(cached) " >&6 |
| 8605 |
> |
else $as_nop |
| 8606 |
|
lt_cv_ld_force_load=no |
| 8607 |
|
cat > conftest.c << _LT_EOF |
| 8608 |
|
int forced_loaded() { return 2;} |
| 8609 |
|
_LT_EOF |
| 8610 |
|
echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 |
| 8611 |
|
$LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 |
| 8612 |
< |
echo "$AR cru libconftest.a conftest.o" >&5 |
| 8613 |
< |
$AR cru libconftest.a conftest.o 2>&5 |
| 8612 |
> |
echo "$AR $AR_FLAGS libconftest.a conftest.o" >&5 |
| 8613 |
> |
$AR $AR_FLAGS libconftest.a conftest.o 2>&5 |
| 8614 |
|
echo "$RANLIB libconftest.a" >&5 |
| 8615 |
|
$RANLIB libconftest.a 2>&5 |
| 8616 |
|
cat > conftest.c << _LT_EOF |
| 8621 |
|
_lt_result=$? |
| 8622 |
|
if test -s conftest.err && $GREP force_load conftest.err; then |
| 8623 |
|
cat conftest.err >&5 |
| 8624 |
< |
elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then |
| 8624 |
> |
elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then |
| 8625 |
|
lt_cv_ld_force_load=yes |
| 8626 |
|
else |
| 8627 |
|
cat conftest.err >&5 |
| 8630 |
|
rm -rf conftest.dSYM |
| 8631 |
|
|
| 8632 |
|
fi |
| 8633 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 |
| 8634 |
< |
$as_echo "$lt_cv_ld_force_load" >&6; } |
| 8633 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 |
| 8634 |
> |
printf "%s\n" "$lt_cv_ld_force_load" >&6; } |
| 8635 |
|
case $host_os in |
| 8636 |
|
rhapsody* | darwin1.[012]) |
| 8637 |
< |
_lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; |
| 8637 |
> |
_lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;; |
| 8638 |
|
darwin1.*) |
| 8639 |
< |
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; |
| 8640 |
< |
darwin*) # darwin 5.x on |
| 8641 |
< |
# if running on 10.5 or later, the deployment target defaults |
| 8642 |
< |
# to the OS version, if on x86, and 10.4, the deployment |
| 8643 |
< |
# target defaults to 10.4. Don't you love it? |
| 8644 |
< |
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in |
| 8645 |
< |
10.0,*86*-darwin8*|10.0,*-darwin[91]*) |
| 7796 |
< |
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; |
| 7797 |
< |
10.[012]*) |
| 7798 |
< |
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; |
| 7799 |
< |
10.*) |
| 7800 |
< |
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; |
| 8639 |
> |
_lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; |
| 8640 |
> |
darwin*) |
| 8641 |
> |
case $MACOSX_DEPLOYMENT_TARGET,$host in |
| 8642 |
> |
10.[012],*|,*powerpc*-darwin[5-8]*) |
| 8643 |
> |
_lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; |
| 8644 |
> |
*) |
| 8645 |
> |
_lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; |
| 8646 |
|
esac |
| 8647 |
|
;; |
| 8648 |
|
esac |
| 8649 |
< |
if test "$lt_cv_apple_cc_single_mod" = "yes"; then |
| 8649 |
> |
if test yes = "$lt_cv_apple_cc_single_mod"; then |
| 8650 |
|
_lt_dar_single_mod='$single_module' |
| 8651 |
|
fi |
| 8652 |
< |
if test "$lt_cv_ld_exported_symbols_list" = "yes"; then |
| 8653 |
< |
_lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' |
| 8652 |
> |
if test yes = "$lt_cv_ld_exported_symbols_list"; then |
| 8653 |
> |
_lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym' |
| 8654 |
|
else |
| 8655 |
< |
_lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' |
| 8655 |
> |
_lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib' |
| 8656 |
|
fi |
| 8657 |
< |
if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then |
| 8657 |
> |
if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then |
| 8658 |
|
_lt_dsymutil='~$DSYMUTIL $lib || :' |
| 8659 |
|
else |
| 8660 |
|
_lt_dsymutil= |
| 8662 |
|
;; |
| 8663 |
|
esac |
| 8664 |
|
|
| 8665 |
< |
ac_ext=c |
| 8666 |
< |
ac_cpp='$CPP $CPPFLAGS' |
| 8667 |
< |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 8668 |
< |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 8669 |
< |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 8670 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 |
| 8671 |
< |
$as_echo_n "checking how to run the C preprocessor... " >&6; } |
| 8672 |
< |
# On Suns, sometimes $CPP names a directory. |
| 8673 |
< |
if test -n "$CPP" && test -d "$CPP"; then |
| 8674 |
< |
CPP= |
| 8675 |
< |
fi |
| 8676 |
< |
if test -z "$CPP"; then |
| 8677 |
< |
if ${ac_cv_prog_CPP+:} false; then : |
| 8678 |
< |
$as_echo_n "(cached) " >&6 |
| 8679 |
< |
else |
| 8680 |
< |
# Double quotes because CPP needs to be expanded |
| 8681 |
< |
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
| 8682 |
< |
do |
| 8683 |
< |
ac_preproc_ok=false |
| 8684 |
< |
for ac_c_preproc_warn_flag in '' yes |
| 8685 |
< |
do |
| 8686 |
< |
# Use a header file that comes with gcc, so configuring glibc |
| 8687 |
< |
# with a fresh cross-compiler works. |
| 8688 |
< |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 8689 |
< |
# <limits.h> exists even on freestanding compilers. |
| 8690 |
< |
# On the NeXT, cc -E runs the code through the compiler's parser, |
| 8691 |
< |
# not just through cpp. "Syntax error" is here to catch this case. |
| 8692 |
< |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 8693 |
< |
/* end confdefs.h. */ |
| 8694 |
< |
#ifdef __STDC__ |
| 8695 |
< |
# include <limits.h> |
| 8696 |
< |
#else |
| 8697 |
< |
# include <assert.h> |
| 8698 |
< |
#endif |
| 7854 |
< |
Syntax error |
| 7855 |
< |
_ACEOF |
| 7856 |
< |
if ac_fn_c_try_cpp "$LINENO"; then : |
| 7857 |
< |
|
| 7858 |
< |
else |
| 7859 |
< |
# Broken: fails on valid input. |
| 7860 |
< |
continue |
| 7861 |
< |
fi |
| 7862 |
< |
rm -f conftest.err conftest.i conftest.$ac_ext |
| 7863 |
< |
|
| 7864 |
< |
# OK, works on sane cases. Now check whether nonexistent headers |
| 7865 |
< |
# can be detected and how. |
| 7866 |
< |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 7867 |
< |
/* end confdefs.h. */ |
| 7868 |
< |
#include <ac_nonexistent.h> |
| 7869 |
< |
_ACEOF |
| 7870 |
< |
if ac_fn_c_try_cpp "$LINENO"; then : |
| 7871 |
< |
# Broken: success on invalid input. |
| 7872 |
< |
continue |
| 7873 |
< |
else |
| 7874 |
< |
# Passes both tests. |
| 7875 |
< |
ac_preproc_ok=: |
| 7876 |
< |
break |
| 7877 |
< |
fi |
| 7878 |
< |
rm -f conftest.err conftest.i conftest.$ac_ext |
| 7879 |
< |
|
| 7880 |
< |
done |
| 7881 |
< |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
| 7882 |
< |
rm -f conftest.i conftest.err conftest.$ac_ext |
| 7883 |
< |
if $ac_preproc_ok; then : |
| 7884 |
< |
break |
| 7885 |
< |
fi |
| 7886 |
< |
|
| 7887 |
< |
done |
| 7888 |
< |
ac_cv_prog_CPP=$CPP |
| 8665 |
> |
# func_munge_path_list VARIABLE PATH |
| 8666 |
> |
# ----------------------------------- |
| 8667 |
> |
# VARIABLE is name of variable containing _space_ separated list of |
| 8668 |
> |
# directories to be munged by the contents of PATH, which is string |
| 8669 |
> |
# having a format: |
| 8670 |
> |
# "DIR[:DIR]:" |
| 8671 |
> |
# string "DIR[ DIR]" will be prepended to VARIABLE |
| 8672 |
> |
# ":DIR[:DIR]" |
| 8673 |
> |
# string "DIR[ DIR]" will be appended to VARIABLE |
| 8674 |
> |
# "DIRP[:DIRP]::[DIRA:]DIRA" |
| 8675 |
> |
# string "DIRP[ DIRP]" will be prepended to VARIABLE and string |
| 8676 |
> |
# "DIRA[ DIRA]" will be appended to VARIABLE |
| 8677 |
> |
# "DIR[:DIR]" |
| 8678 |
> |
# VARIABLE will be replaced by "DIR[ DIR]" |
| 8679 |
> |
func_munge_path_list () |
| 8680 |
> |
{ |
| 8681 |
> |
case x$2 in |
| 8682 |
> |
x) |
| 8683 |
> |
;; |
| 8684 |
> |
*:) |
| 8685 |
> |
eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" |
| 8686 |
> |
;; |
| 8687 |
> |
x:*) |
| 8688 |
> |
eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" |
| 8689 |
> |
;; |
| 8690 |
> |
*::*) |
| 8691 |
> |
eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" |
| 8692 |
> |
eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" |
| 8693 |
> |
;; |
| 8694 |
> |
*) |
| 8695 |
> |
eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" |
| 8696 |
> |
;; |
| 8697 |
> |
esac |
| 8698 |
> |
} |
| 8699 |
|
|
| 8700 |
< |
fi |
| 8701 |
< |
CPP=$ac_cv_prog_CPP |
| 7892 |
< |
else |
| 7893 |
< |
ac_cv_prog_CPP=$CPP |
| 7894 |
< |
fi |
| 7895 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 |
| 7896 |
< |
$as_echo "$CPP" >&6; } |
| 7897 |
< |
ac_preproc_ok=false |
| 7898 |
< |
for ac_c_preproc_warn_flag in '' yes |
| 8700 |
> |
ac_header= ac_cache= |
| 8701 |
> |
for ac_item in $ac_header_c_list |
| 8702 |
|
do |
| 8703 |
< |
# Use a header file that comes with gcc, so configuring glibc |
| 8704 |
< |
# with a fresh cross-compiler works. |
| 8705 |
< |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 8706 |
< |
# <limits.h> exists even on freestanding compilers. |
| 8707 |
< |
# On the NeXT, cc -E runs the code through the compiler's parser, |
| 8708 |
< |
# not just through cpp. "Syntax error" is here to catch this case. |
| 8709 |
< |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 8710 |
< |
/* end confdefs.h. */ |
| 8711 |
< |
#ifdef __STDC__ |
| 8712 |
< |
# include <limits.h> |
| 8713 |
< |
#else |
| 7911 |
< |
# include <assert.h> |
| 7912 |
< |
#endif |
| 7913 |
< |
Syntax error |
| 7914 |
< |
_ACEOF |
| 7915 |
< |
if ac_fn_c_try_cpp "$LINENO"; then : |
| 7916 |
< |
|
| 7917 |
< |
else |
| 7918 |
< |
# Broken: fails on valid input. |
| 7919 |
< |
continue |
| 7920 |
< |
fi |
| 7921 |
< |
rm -f conftest.err conftest.i conftest.$ac_ext |
| 7922 |
< |
|
| 7923 |
< |
# OK, works on sane cases. Now check whether nonexistent headers |
| 7924 |
< |
# can be detected and how. |
| 7925 |
< |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 7926 |
< |
/* end confdefs.h. */ |
| 7927 |
< |
#include <ac_nonexistent.h> |
| 7928 |
< |
_ACEOF |
| 7929 |
< |
if ac_fn_c_try_cpp "$LINENO"; then : |
| 7930 |
< |
# Broken: success on invalid input. |
| 7931 |
< |
continue |
| 7932 |
< |
else |
| 7933 |
< |
# Passes both tests. |
| 7934 |
< |
ac_preproc_ok=: |
| 7935 |
< |
break |
| 7936 |
< |
fi |
| 7937 |
< |
rm -f conftest.err conftest.i conftest.$ac_ext |
| 7938 |
< |
|
| 8703 |
> |
if test $ac_cache; then |
| 8704 |
> |
ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default" |
| 8705 |
> |
if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then |
| 8706 |
> |
printf "%s\n" "#define $ac_item 1" >> confdefs.h |
| 8707 |
> |
fi |
| 8708 |
> |
ac_header= ac_cache= |
| 8709 |
> |
elif test $ac_header; then |
| 8710 |
> |
ac_cache=$ac_item |
| 8711 |
> |
else |
| 8712 |
> |
ac_header=$ac_item |
| 8713 |
> |
fi |
| 8714 |
|
done |
| 7940 |
– |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
| 7941 |
– |
rm -f conftest.i conftest.err conftest.$ac_ext |
| 7942 |
– |
if $ac_preproc_ok; then : |
| 7943 |
– |
|
| 7944 |
– |
else |
| 7945 |
– |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 7946 |
– |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 7947 |
– |
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
| 7948 |
– |
See \`config.log' for more details" "$LINENO" 5; } |
| 7949 |
– |
fi |
| 7950 |
– |
|
| 7951 |
– |
ac_ext=c |
| 7952 |
– |
ac_cpp='$CPP $CPPFLAGS' |
| 7953 |
– |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 7954 |
– |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 7955 |
– |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 7956 |
– |
|
| 7957 |
– |
|
| 7958 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
| 7959 |
– |
$as_echo_n "checking for ANSI C header files... " >&6; } |
| 7960 |
– |
if ${ac_cv_header_stdc+:} false; then : |
| 7961 |
– |
$as_echo_n "(cached) " >&6 |
| 7962 |
– |
else |
| 7963 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 7964 |
– |
/* end confdefs.h. */ |
| 7965 |
– |
#include <stdlib.h> |
| 7966 |
– |
#include <stdarg.h> |
| 7967 |
– |
#include <string.h> |
| 7968 |
– |
#include <float.h> |
| 8715 |
|
|
| 7970 |
– |
int |
| 7971 |
– |
main () |
| 7972 |
– |
{ |
| 8716 |
|
|
| 7974 |
– |
; |
| 7975 |
– |
return 0; |
| 7976 |
– |
} |
| 7977 |
– |
_ACEOF |
| 7978 |
– |
if ac_fn_c_try_compile "$LINENO"; then : |
| 7979 |
– |
ac_cv_header_stdc=yes |
| 7980 |
– |
else |
| 7981 |
– |
ac_cv_header_stdc=no |
| 7982 |
– |
fi |
| 7983 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 8717 |
|
|
| 7985 |
– |
if test $ac_cv_header_stdc = yes; then |
| 7986 |
– |
# SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
| 7987 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 7988 |
– |
/* end confdefs.h. */ |
| 7989 |
– |
#include <string.h> |
| 8718 |
|
|
| 7991 |
– |
_ACEOF |
| 7992 |
– |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 7993 |
– |
$EGREP "memchr" >/dev/null 2>&1; then : |
| 8719 |
|
|
| 7995 |
– |
else |
| 7996 |
– |
ac_cv_header_stdc=no |
| 7997 |
– |
fi |
| 7998 |
– |
rm -f conftest* |
| 8720 |
|
|
| 8000 |
– |
fi |
| 8721 |
|
|
| 8002 |
– |
if test $ac_cv_header_stdc = yes; then |
| 8003 |
– |
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
| 8004 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 8005 |
– |
/* end confdefs.h. */ |
| 8006 |
– |
#include <stdlib.h> |
| 8722 |
|
|
| 8723 |
< |
_ACEOF |
| 8724 |
< |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 8010 |
< |
$EGREP "free" >/dev/null 2>&1; then : |
| 8723 |
> |
if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes |
| 8724 |
> |
then : |
| 8725 |
|
|
| 8726 |
< |
else |
| 8013 |
< |
ac_cv_header_stdc=no |
| 8014 |
< |
fi |
| 8015 |
< |
rm -f conftest* |
| 8726 |
> |
printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h |
| 8727 |
|
|
| 8728 |
|
fi |
| 8729 |
< |
|
| 8019 |
< |
if test $ac_cv_header_stdc = yes; then |
| 8020 |
< |
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
| 8021 |
< |
if test "$cross_compiling" = yes; then : |
| 8022 |
< |
: |
| 8023 |
< |
else |
| 8024 |
< |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 8025 |
< |
/* end confdefs.h. */ |
| 8026 |
< |
#include <ctype.h> |
| 8027 |
< |
#include <stdlib.h> |
| 8028 |
< |
#if ((' ' & 0x0FF) == 0x020) |
| 8029 |
< |
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
| 8030 |
< |
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
| 8031 |
< |
#else |
| 8032 |
< |
# define ISLOWER(c) \ |
| 8033 |
< |
(('a' <= (c) && (c) <= 'i') \ |
| 8034 |
< |
|| ('j' <= (c) && (c) <= 'r') \ |
| 8035 |
< |
|| ('s' <= (c) && (c) <= 'z')) |
| 8036 |
< |
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
| 8037 |
< |
#endif |
| 8038 |
< |
|
| 8039 |
< |
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
| 8040 |
< |
int |
| 8041 |
< |
main () |
| 8042 |
< |
{ |
| 8043 |
< |
int i; |
| 8044 |
< |
for (i = 0; i < 256; i++) |
| 8045 |
< |
if (XOR (islower (i), ISLOWER (i)) |
| 8046 |
< |
|| toupper (i) != TOUPPER (i)) |
| 8047 |
< |
return 2; |
| 8048 |
< |
return 0; |
| 8049 |
< |
} |
| 8050 |
< |
_ACEOF |
| 8051 |
< |
if ac_fn_c_try_run "$LINENO"; then : |
| 8052 |
< |
|
| 8053 |
< |
else |
| 8054 |
< |
ac_cv_header_stdc=no |
| 8055 |
< |
fi |
| 8056 |
< |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 8057 |
< |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 8058 |
< |
fi |
| 8059 |
< |
|
| 8060 |
< |
fi |
| 8061 |
< |
fi |
| 8062 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 |
| 8063 |
< |
$as_echo "$ac_cv_header_stdc" >&6; } |
| 8064 |
< |
if test $ac_cv_header_stdc = yes; then |
| 8065 |
< |
|
| 8066 |
< |
$as_echo "#define STDC_HEADERS 1" >>confdefs.h |
| 8067 |
< |
|
| 8068 |
< |
fi |
| 8069 |
< |
|
| 8070 |
< |
# On IRIX 5.3, sys/types and inttypes.h are conflicting. |
| 8071 |
< |
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
| 8072 |
< |
inttypes.h stdint.h unistd.h |
| 8073 |
< |
do : |
| 8074 |
< |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 8075 |
< |
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
| 8729 |
> |
ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default |
| 8730 |
|
" |
| 8731 |
< |
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
| 8732 |
< |
cat >>confdefs.h <<_ACEOF |
| 8733 |
< |
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 8080 |
< |
_ACEOF |
| 8731 |
> |
if test "x$ac_cv_header_dlfcn_h" = xyes |
| 8732 |
> |
then : |
| 8733 |
> |
printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h |
| 8734 |
|
|
| 8735 |
|
fi |
| 8736 |
|
|
| 8084 |
– |
done |
| 8085 |
– |
|
| 8086 |
– |
|
| 8087 |
– |
for ac_header in dlfcn.h |
| 8088 |
– |
do : |
| 8089 |
– |
ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default |
| 8090 |
– |
" |
| 8091 |
– |
if test "x$ac_cv_header_dlfcn_h" = xyes; then : |
| 8092 |
– |
cat >>confdefs.h <<_ACEOF |
| 8093 |
– |
#define HAVE_DLFCN_H 1 |
| 8094 |
– |
_ACEOF |
| 8095 |
– |
|
| 8096 |
– |
fi |
| 8097 |
– |
|
| 8098 |
– |
done |
| 8099 |
– |
|
| 8737 |
|
|
| 8738 |
|
|
| 8739 |
|
|
| 8741 |
|
# Set options |
| 8742 |
|
enable_dlopen=yes |
| 8743 |
|
# Check whether --enable-static was given. |
| 8744 |
< |
if test "${enable_static+set}" = set; then : |
| 8744 |
> |
if test ${enable_static+y} |
| 8745 |
> |
then : |
| 8746 |
|
enableval=$enable_static; p=${PACKAGE-default} |
| 8747 |
|
case $enableval in |
| 8748 |
|
yes) enable_static=yes ;; |
| 8750 |
|
*) |
| 8751 |
|
enable_static=no |
| 8752 |
|
# Look at the argument we got. We use all the common list separators. |
| 8753 |
< |
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
| 8753 |
> |
lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, |
| 8754 |
|
for pkg in $enableval; do |
| 8755 |
< |
IFS="$lt_save_ifs" |
| 8755 |
> |
IFS=$lt_save_ifs |
| 8756 |
|
if test "X$pkg" = "X$p"; then |
| 8757 |
|
enable_static=yes |
| 8758 |
|
fi |
| 8759 |
|
done |
| 8760 |
< |
IFS="$lt_save_ifs" |
| 8760 |
> |
IFS=$lt_save_ifs |
| 8761 |
|
;; |
| 8762 |
|
esac |
| 8763 |
< |
else |
| 8763 |
> |
else $as_nop |
| 8764 |
|
enable_static=no |
| 8765 |
|
fi |
| 8766 |
|
|
| 8778 |
|
|
| 8779 |
|
|
| 8780 |
|
# Check whether --enable-shared was given. |
| 8781 |
< |
if test "${enable_shared+set}" = set; then : |
| 8781 |
> |
if test ${enable_shared+y} |
| 8782 |
> |
then : |
| 8783 |
|
enableval=$enable_shared; p=${PACKAGE-default} |
| 8784 |
|
case $enableval in |
| 8785 |
|
yes) enable_shared=yes ;; |
| 8787 |
|
*) |
| 8788 |
|
enable_shared=no |
| 8789 |
|
# Look at the argument we got. We use all the common list separators. |
| 8790 |
< |
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
| 8790 |
> |
lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, |
| 8791 |
|
for pkg in $enableval; do |
| 8792 |
< |
IFS="$lt_save_ifs" |
| 8792 |
> |
IFS=$lt_save_ifs |
| 8793 |
|
if test "X$pkg" = "X$p"; then |
| 8794 |
|
enable_shared=yes |
| 8795 |
|
fi |
| 8796 |
|
done |
| 8797 |
< |
IFS="$lt_save_ifs" |
| 8797 |
> |
IFS=$lt_save_ifs |
| 8798 |
|
;; |
| 8799 |
|
esac |
| 8800 |
< |
else |
| 8800 |
> |
else $as_nop |
| 8801 |
|
enable_shared=yes |
| 8802 |
|
fi |
| 8803 |
|
|
| 8812 |
|
|
| 8813 |
|
|
| 8814 |
|
# Check whether --with-pic was given. |
| 8815 |
< |
if test "${with_pic+set}" = set; then : |
| 8815 |
> |
if test ${with_pic+y} |
| 8816 |
> |
then : |
| 8817 |
|
withval=$with_pic; lt_p=${PACKAGE-default} |
| 8818 |
|
case $withval in |
| 8819 |
|
yes|no) pic_mode=$withval ;; |
| 8820 |
|
*) |
| 8821 |
|
pic_mode=default |
| 8822 |
|
# Look at the argument we got. We use all the common list separators. |
| 8823 |
< |
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
| 8823 |
> |
lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, |
| 8824 |
|
for lt_pkg in $withval; do |
| 8825 |
< |
IFS="$lt_save_ifs" |
| 8825 |
> |
IFS=$lt_save_ifs |
| 8826 |
|
if test "X$lt_pkg" = "X$lt_p"; then |
| 8827 |
|
pic_mode=yes |
| 8828 |
|
fi |
| 8829 |
|
done |
| 8830 |
< |
IFS="$lt_save_ifs" |
| 8830 |
> |
IFS=$lt_save_ifs |
| 8831 |
|
;; |
| 8832 |
|
esac |
| 8833 |
< |
else |
| 8833 |
> |
else $as_nop |
| 8834 |
|
pic_mode=default |
| 8835 |
|
fi |
| 8836 |
|
|
| 8837 |
|
|
| 8198 |
– |
test -z "$pic_mode" && pic_mode=default |
| 8199 |
– |
|
| 8838 |
|
|
| 8839 |
|
|
| 8840 |
|
|
| 8842 |
|
|
| 8843 |
|
|
| 8844 |
|
# Check whether --enable-fast-install was given. |
| 8845 |
< |
if test "${enable_fast_install+set}" = set; then : |
| 8845 |
> |
if test ${enable_fast_install+y} |
| 8846 |
> |
then : |
| 8847 |
|
enableval=$enable_fast_install; p=${PACKAGE-default} |
| 8848 |
|
case $enableval in |
| 8849 |
|
yes) enable_fast_install=yes ;; |
| 8851 |
|
*) |
| 8852 |
|
enable_fast_install=no |
| 8853 |
|
# Look at the argument we got. We use all the common list separators. |
| 8854 |
< |
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
| 8854 |
> |
lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, |
| 8855 |
|
for pkg in $enableval; do |
| 8856 |
< |
IFS="$lt_save_ifs" |
| 8856 |
> |
IFS=$lt_save_ifs |
| 8857 |
|
if test "X$pkg" = "X$p"; then |
| 8858 |
|
enable_fast_install=yes |
| 8859 |
|
fi |
| 8860 |
|
done |
| 8861 |
< |
IFS="$lt_save_ifs" |
| 8861 |
> |
IFS=$lt_save_ifs |
| 8862 |
|
;; |
| 8863 |
|
esac |
| 8864 |
< |
else |
| 8864 |
> |
else $as_nop |
| 8865 |
|
enable_fast_install=yes |
| 8866 |
|
fi |
| 8867 |
|
|
| 8872 |
|
|
| 8873 |
|
|
| 8874 |
|
|
| 8875 |
+ |
shared_archive_member_spec= |
| 8876 |
+ |
case $host,$enable_shared in |
| 8877 |
+ |
power*-*-aix[5-9]*,yes) |
| 8878 |
+ |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5 |
| 8879 |
+ |
printf %s "checking which variant of shared library versioning to provide... " >&6; } |
| 8880 |
+ |
|
| 8881 |
+ |
# Check whether --with-aix-soname was given. |
| 8882 |
+ |
if test ${with_aix_soname+y} |
| 8883 |
+ |
then : |
| 8884 |
+ |
withval=$with_aix_soname; case $withval in |
| 8885 |
+ |
aix|svr4|both) |
| 8886 |
+ |
;; |
| 8887 |
+ |
*) |
| 8888 |
+ |
as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5 |
| 8889 |
+ |
;; |
| 8890 |
+ |
esac |
| 8891 |
+ |
lt_cv_with_aix_soname=$with_aix_soname |
| 8892 |
+ |
else $as_nop |
| 8893 |
+ |
if test ${lt_cv_with_aix_soname+y} |
| 8894 |
+ |
then : |
| 8895 |
+ |
printf %s "(cached) " >&6 |
| 8896 |
+ |
else $as_nop |
| 8897 |
+ |
lt_cv_with_aix_soname=aix |
| 8898 |
+ |
fi |
| 8899 |
+ |
|
| 8900 |
+ |
with_aix_soname=$lt_cv_with_aix_soname |
| 8901 |
+ |
fi |
| 8902 |
+ |
|
| 8903 |
+ |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5 |
| 8904 |
+ |
printf "%s\n" "$with_aix_soname" >&6; } |
| 8905 |
+ |
if test aix != "$with_aix_soname"; then |
| 8906 |
+ |
# For the AIX way of multilib, we name the shared archive member |
| 8907 |
+ |
# based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o', |
| 8908 |
+ |
# and 'shr.imp' or 'shr_64.imp', respectively, for the Import File. |
| 8909 |
+ |
# Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag, |
| 8910 |
+ |
# the AIX toolchain works better with OBJECT_MODE set (default 32). |
| 8911 |
+ |
if test 64 = "${OBJECT_MODE-32}"; then |
| 8912 |
+ |
shared_archive_member_spec=shr_64 |
| 8913 |
+ |
else |
| 8914 |
+ |
shared_archive_member_spec=shr |
| 8915 |
+ |
fi |
| 8916 |
+ |
fi |
| 8917 |
+ |
;; |
| 8918 |
+ |
*) |
| 8919 |
+ |
with_aix_soname=aix |
| 8920 |
+ |
;; |
| 8921 |
+ |
esac |
| 8922 |
+ |
|
| 8923 |
+ |
|
| 8924 |
+ |
|
| 8925 |
+ |
|
| 8926 |
+ |
|
| 8927 |
+ |
|
| 8928 |
+ |
|
| 8929 |
|
|
| 8930 |
|
|
| 8931 |
|
|
| 8932 |
|
# This can be used to rebuild libtool when needed |
| 8933 |
< |
LIBTOOL_DEPS="$ltmain" |
| 8933 |
> |
LIBTOOL_DEPS=$ltmain |
| 8934 |
|
|
| 8935 |
|
# Always use our own libtool. |
| 8936 |
|
LIBTOOL='$(SHELL) $(top_builddir)/libtool' |
| 8979 |
|
|
| 8980 |
|
|
| 8981 |
|
|
| 8982 |
< |
if test -n "${ZSH_VERSION+set}" ; then |
| 8982 |
> |
if test -n "${ZSH_VERSION+set}"; then |
| 8983 |
|
setopt NO_GLOB_SUBST |
| 8984 |
|
fi |
| 8985 |
|
|
| 8986 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 |
| 8987 |
< |
$as_echo_n "checking for objdir... " >&6; } |
| 8988 |
< |
if ${lt_cv_objdir+:} false; then : |
| 8989 |
< |
$as_echo_n "(cached) " >&6 |
| 8990 |
< |
else |
| 8986 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 |
| 8987 |
> |
printf %s "checking for objdir... " >&6; } |
| 8988 |
> |
if test ${lt_cv_objdir+y} |
| 8989 |
> |
then : |
| 8990 |
> |
printf %s "(cached) " >&6 |
| 8991 |
> |
else $as_nop |
| 8992 |
|
rm -f .libs 2>/dev/null |
| 8993 |
|
mkdir .libs 2>/dev/null |
| 8994 |
|
if test -d .libs; then |
| 8999 |
|
fi |
| 9000 |
|
rmdir .libs 2>/dev/null |
| 9001 |
|
fi |
| 9002 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 |
| 9003 |
< |
$as_echo "$lt_cv_objdir" >&6; } |
| 9002 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 |
| 9003 |
> |
printf "%s\n" "$lt_cv_objdir" >&6; } |
| 9004 |
|
objdir=$lt_cv_objdir |
| 9005 |
|
|
| 9006 |
|
|
| 9007 |
|
|
| 9008 |
|
|
| 9009 |
|
|
| 9010 |
< |
cat >>confdefs.h <<_ACEOF |
| 8317 |
< |
#define LT_OBJDIR "$lt_cv_objdir/" |
| 8318 |
< |
_ACEOF |
| 9010 |
> |
printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h |
| 9011 |
|
|
| 9012 |
|
|
| 9013 |
|
|
| 9017 |
|
# AIX sometimes has problems with the GCC collect2 program. For some |
| 9018 |
|
# reason, if we set the COLLECT_NAMES environment variable, the problems |
| 9019 |
|
# vanish in a puff of smoke. |
| 9020 |
< |
if test "X${COLLECT_NAMES+set}" != Xset; then |
| 9020 |
> |
if test set != "${COLLECT_NAMES+set}"; then |
| 9021 |
|
COLLECT_NAMES= |
| 9022 |
|
export COLLECT_NAMES |
| 9023 |
|
fi |
| 9028 |
|
ofile=libtool |
| 9029 |
|
can_build_shared=yes |
| 9030 |
|
|
| 9031 |
< |
# All known linkers require a `.a' archive for static linking (except MSVC, |
| 9032 |
< |
# which needs '.lib'). |
| 9031 |
> |
# All known linkers require a '.a' archive for static linking (except MSVC and |
| 9032 |
> |
# ICC, which need '.lib'). |
| 9033 |
|
libext=a |
| 9034 |
|
|
| 9035 |
< |
with_gnu_ld="$lt_cv_prog_gnu_ld" |
| 9035 |
> |
with_gnu_ld=$lt_cv_prog_gnu_ld |
| 9036 |
|
|
| 9037 |
< |
old_CC="$CC" |
| 9038 |
< |
old_CFLAGS="$CFLAGS" |
| 9037 |
> |
old_CC=$CC |
| 9038 |
> |
old_CFLAGS=$CFLAGS |
| 9039 |
|
|
| 9040 |
|
# Set sane defaults for various variables |
| 9041 |
|
test -z "$CC" && CC=cc |
| 9044 |
|
test -z "$LD" && LD=ld |
| 9045 |
|
test -z "$ac_objext" && ac_objext=o |
| 9046 |
|
|
| 9047 |
< |
for cc_temp in $compiler""; do |
| 9048 |
< |
case $cc_temp in |
| 8357 |
< |
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
| 8358 |
< |
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
| 8359 |
< |
\-*) ;; |
| 8360 |
< |
*) break;; |
| 8361 |
< |
esac |
| 8362 |
< |
done |
| 8363 |
< |
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` |
| 9047 |
> |
func_cc_basename $compiler |
| 9048 |
> |
cc_basename=$func_cc_basename_result |
| 9049 |
|
|
| 9050 |
|
|
| 9051 |
|
# Only perform the check for file, if the check method requires it |
| 9053 |
|
case $deplibs_check_method in |
| 9054 |
|
file_magic*) |
| 9055 |
|
if test "$file_magic_cmd" = '$MAGIC_CMD'; then |
| 9056 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 |
| 9057 |
< |
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } |
| 9058 |
< |
if ${lt_cv_path_MAGIC_CMD+:} false; then : |
| 9059 |
< |
$as_echo_n "(cached) " >&6 |
| 9060 |
< |
else |
| 9056 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 |
| 9057 |
> |
printf %s "checking for ${ac_tool_prefix}file... " >&6; } |
| 9058 |
> |
if test ${lt_cv_path_MAGIC_CMD+y} |
| 9059 |
> |
then : |
| 9060 |
> |
printf %s "(cached) " >&6 |
| 9061 |
> |
else $as_nop |
| 9062 |
|
case $MAGIC_CMD in |
| 9063 |
|
[\\/*] | ?:[\\/]*) |
| 9064 |
< |
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. |
| 9064 |
> |
lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. |
| 9065 |
|
;; |
| 9066 |
|
*) |
| 9067 |
< |
lt_save_MAGIC_CMD="$MAGIC_CMD" |
| 9068 |
< |
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR |
| 9067 |
> |
lt_save_MAGIC_CMD=$MAGIC_CMD |
| 9068 |
> |
lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR |
| 9069 |
|
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" |
| 9070 |
|
for ac_dir in $ac_dummy; do |
| 9071 |
< |
IFS="$lt_save_ifs" |
| 9071 |
> |
IFS=$lt_save_ifs |
| 9072 |
|
test -z "$ac_dir" && ac_dir=. |
| 9073 |
< |
if test -f $ac_dir/${ac_tool_prefix}file; then |
| 9074 |
< |
lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" |
| 9073 |
> |
if test -f "$ac_dir/${ac_tool_prefix}file"; then |
| 9074 |
> |
lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file" |
| 9075 |
|
if test -n "$file_magic_test_file"; then |
| 9076 |
|
case $deplibs_check_method in |
| 9077 |
|
"file_magic "*) |
| 9078 |
|
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` |
| 9079 |
< |
MAGIC_CMD="$lt_cv_path_MAGIC_CMD" |
| 9079 |
> |
MAGIC_CMD=$lt_cv_path_MAGIC_CMD |
| 9080 |
|
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | |
| 9081 |
|
$EGREP "$file_magic_regex" > /dev/null; then |
| 9082 |
|
: |
| 9099 |
|
break |
| 9100 |
|
fi |
| 9101 |
|
done |
| 9102 |
< |
IFS="$lt_save_ifs" |
| 9103 |
< |
MAGIC_CMD="$lt_save_MAGIC_CMD" |
| 9102 |
> |
IFS=$lt_save_ifs |
| 9103 |
> |
MAGIC_CMD=$lt_save_MAGIC_CMD |
| 9104 |
|
;; |
| 9105 |
|
esac |
| 9106 |
|
fi |
| 9107 |
|
|
| 9108 |
< |
MAGIC_CMD="$lt_cv_path_MAGIC_CMD" |
| 9108 |
> |
MAGIC_CMD=$lt_cv_path_MAGIC_CMD |
| 9109 |
|
if test -n "$MAGIC_CMD"; then |
| 9110 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 |
| 9111 |
< |
$as_echo "$MAGIC_CMD" >&6; } |
| 9110 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 |
| 9111 |
> |
printf "%s\n" "$MAGIC_CMD" >&6; } |
| 9112 |
|
else |
| 9113 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 9114 |
< |
$as_echo "no" >&6; } |
| 9113 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 9114 |
> |
printf "%s\n" "no" >&6; } |
| 9115 |
|
fi |
| 9116 |
|
|
| 9117 |
|
|
| 9120 |
|
|
| 9121 |
|
if test -z "$lt_cv_path_MAGIC_CMD"; then |
| 9122 |
|
if test -n "$ac_tool_prefix"; then |
| 9123 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 |
| 9124 |
< |
$as_echo_n "checking for file... " >&6; } |
| 9125 |
< |
if ${lt_cv_path_MAGIC_CMD+:} false; then : |
| 9126 |
< |
$as_echo_n "(cached) " >&6 |
| 9127 |
< |
else |
| 9123 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5 |
| 9124 |
> |
printf %s "checking for file... " >&6; } |
| 9125 |
> |
if test ${lt_cv_path_MAGIC_CMD+y} |
| 9126 |
> |
then : |
| 9127 |
> |
printf %s "(cached) " >&6 |
| 9128 |
> |
else $as_nop |
| 9129 |
|
case $MAGIC_CMD in |
| 9130 |
|
[\\/*] | ?:[\\/]*) |
| 9131 |
< |
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. |
| 9131 |
> |
lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. |
| 9132 |
|
;; |
| 9133 |
|
*) |
| 9134 |
< |
lt_save_MAGIC_CMD="$MAGIC_CMD" |
| 9135 |
< |
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR |
| 9134 |
> |
lt_save_MAGIC_CMD=$MAGIC_CMD |
| 9135 |
> |
lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR |
| 9136 |
|
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" |
| 9137 |
|
for ac_dir in $ac_dummy; do |
| 9138 |
< |
IFS="$lt_save_ifs" |
| 9138 |
> |
IFS=$lt_save_ifs |
| 9139 |
|
test -z "$ac_dir" && ac_dir=. |
| 9140 |
< |
if test -f $ac_dir/file; then |
| 9141 |
< |
lt_cv_path_MAGIC_CMD="$ac_dir/file" |
| 9140 |
> |
if test -f "$ac_dir/file"; then |
| 9141 |
> |
lt_cv_path_MAGIC_CMD=$ac_dir/"file" |
| 9142 |
|
if test -n "$file_magic_test_file"; then |
| 9143 |
|
case $deplibs_check_method in |
| 9144 |
|
"file_magic "*) |
| 9145 |
|
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` |
| 9146 |
< |
MAGIC_CMD="$lt_cv_path_MAGIC_CMD" |
| 9146 |
> |
MAGIC_CMD=$lt_cv_path_MAGIC_CMD |
| 9147 |
|
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | |
| 9148 |
|
$EGREP "$file_magic_regex" > /dev/null; then |
| 9149 |
|
: |
| 9166 |
|
break |
| 9167 |
|
fi |
| 9168 |
|
done |
| 9169 |
< |
IFS="$lt_save_ifs" |
| 9170 |
< |
MAGIC_CMD="$lt_save_MAGIC_CMD" |
| 9169 |
> |
IFS=$lt_save_ifs |
| 9170 |
> |
MAGIC_CMD=$lt_save_MAGIC_CMD |
| 9171 |
|
;; |
| 9172 |
|
esac |
| 9173 |
|
fi |
| 9174 |
|
|
| 9175 |
< |
MAGIC_CMD="$lt_cv_path_MAGIC_CMD" |
| 9175 |
> |
MAGIC_CMD=$lt_cv_path_MAGIC_CMD |
| 9176 |
|
if test -n "$MAGIC_CMD"; then |
| 9177 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 |
| 9178 |
< |
$as_echo "$MAGIC_CMD" >&6; } |
| 9177 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 |
| 9178 |
> |
printf "%s\n" "$MAGIC_CMD" >&6; } |
| 9179 |
|
else |
| 9180 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 9181 |
< |
$as_echo "no" >&6; } |
| 9180 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 9181 |
> |
printf "%s\n" "no" >&6; } |
| 9182 |
|
fi |
| 9183 |
|
|
| 9184 |
|
|
| 9193 |
|
|
| 9194 |
|
# Use C for the default configuration in the libtool script |
| 9195 |
|
|
| 9196 |
< |
lt_save_CC="$CC" |
| 9196 |
> |
lt_save_CC=$CC |
| 9197 |
|
ac_ext=c |
| 9198 |
|
ac_cpp='$CPP $CPPFLAGS' |
| 9199 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 9255 |
|
|
| 9256 |
|
lt_prog_compiler_no_builtin_flag= |
| 9257 |
|
|
| 9258 |
< |
if test "$GCC" = yes; then |
| 9258 |
> |
if test yes = "$GCC"; then |
| 9259 |
|
case $cc_basename in |
| 9260 |
|
nvcc*) |
| 9261 |
|
lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; |
| 9263 |
|
lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; |
| 9264 |
|
esac |
| 9265 |
|
|
| 9266 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 |
| 9267 |
< |
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } |
| 9268 |
< |
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : |
| 9269 |
< |
$as_echo_n "(cached) " >&6 |
| 9270 |
< |
else |
| 9266 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 |
| 9267 |
> |
printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } |
| 9268 |
> |
if test ${lt_cv_prog_compiler_rtti_exceptions+y} |
| 9269 |
> |
then : |
| 9270 |
> |
printf %s "(cached) " >&6 |
| 9271 |
> |
else $as_nop |
| 9272 |
|
lt_cv_prog_compiler_rtti_exceptions=no |
| 9273 |
|
ac_outfile=conftest.$ac_objext |
| 9274 |
|
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
| 9275 |
< |
lt_compiler_flag="-fno-rtti -fno-exceptions" |
| 9275 |
> |
lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment |
| 9276 |
|
# Insert the option either (1) after the last *FLAGS variable, or |
| 9277 |
|
# (2) before a word containing "conftest.", or (3) at the end. |
| 9278 |
|
# Note that $ac_compile itself does not contain backslashes and begins |
| 9299 |
|
$RM conftest* |
| 9300 |
|
|
| 9301 |
|
fi |
| 9302 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 |
| 9303 |
< |
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } |
| 9302 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 |
| 9303 |
> |
printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; } |
| 9304 |
|
|
| 9305 |
< |
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then |
| 9305 |
> |
if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then |
| 9306 |
|
lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" |
| 9307 |
|
else |
| 9308 |
|
: |
| 9320 |
|
lt_prog_compiler_static= |
| 9321 |
|
|
| 9322 |
|
|
| 9323 |
< |
if test "$GCC" = yes; then |
| 9323 |
> |
if test yes = "$GCC"; then |
| 9324 |
|
lt_prog_compiler_wl='-Wl,' |
| 9325 |
|
lt_prog_compiler_static='-static' |
| 9326 |
|
|
| 9327 |
|
case $host_os in |
| 9328 |
|
aix*) |
| 9329 |
|
# All AIX code is PIC. |
| 9330 |
< |
if test "$host_cpu" = ia64; then |
| 9330 |
> |
if test ia64 = "$host_cpu"; then |
| 9331 |
|
# AIX 5 now supports IA64 processor |
| 9332 |
|
lt_prog_compiler_static='-Bstatic' |
| 9333 |
|
fi |
| 9334 |
+ |
lt_prog_compiler_pic='-fPIC' |
| 9335 |
|
;; |
| 9336 |
|
|
| 9337 |
|
amigaos*) |
| 9342 |
|
;; |
| 9343 |
|
m68k) |
| 9344 |
|
# FIXME: we need at least 68020 code to build shared libraries, but |
| 9345 |
< |
# adding the `-m68020' flag to GCC prevents building anything better, |
| 9346 |
< |
# like `-m68040'. |
| 9345 |
> |
# adding the '-m68020' flag to GCC prevents building anything better, |
| 9346 |
> |
# like '-m68040'. |
| 9347 |
|
lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' |
| 9348 |
|
;; |
| 9349 |
|
esac |
| 9359 |
|
# Although the cygwin gcc ignores -fPIC, still need this for old-style |
| 9360 |
|
# (--disable-auto-import) libraries |
| 9361 |
|
lt_prog_compiler_pic='-DDLL_EXPORT' |
| 9362 |
+ |
case $host_os in |
| 9363 |
+ |
os2*) |
| 9364 |
+ |
lt_prog_compiler_static='$wl-static' |
| 9365 |
+ |
;; |
| 9366 |
+ |
esac |
| 9367 |
|
;; |
| 9368 |
|
|
| 9369 |
|
darwin* | rhapsody*) |
| 9434 |
|
case $host_os in |
| 9435 |
|
aix*) |
| 9436 |
|
lt_prog_compiler_wl='-Wl,' |
| 9437 |
< |
if test "$host_cpu" = ia64; then |
| 9437 |
> |
if test ia64 = "$host_cpu"; then |
| 9438 |
|
# AIX 5 now supports IA64 processor |
| 9439 |
|
lt_prog_compiler_static='-Bstatic' |
| 9440 |
|
else |
| 9442 |
|
fi |
| 9443 |
|
;; |
| 9444 |
|
|
| 9445 |
+ |
darwin* | rhapsody*) |
| 9446 |
+ |
# PIC is the default on this platform |
| 9447 |
+ |
# Common symbols not allowed in MH_DYLIB files |
| 9448 |
+ |
lt_prog_compiler_pic='-fno-common' |
| 9449 |
+ |
case $cc_basename in |
| 9450 |
+ |
nagfor*) |
| 9451 |
+ |
# NAG Fortran compiler |
| 9452 |
+ |
lt_prog_compiler_wl='-Wl,-Wl,,' |
| 9453 |
+ |
lt_prog_compiler_pic='-PIC' |
| 9454 |
+ |
lt_prog_compiler_static='-Bstatic' |
| 9455 |
+ |
;; |
| 9456 |
+ |
esac |
| 9457 |
+ |
;; |
| 9458 |
+ |
|
| 9459 |
|
mingw* | cygwin* | pw32* | os2* | cegcc*) |
| 9460 |
|
# This hack is so that the source file can tell whether it is being |
| 9461 |
|
# built for inclusion in a dll (and should export symbols for example). |
| 9462 |
|
lt_prog_compiler_pic='-DDLL_EXPORT' |
| 9463 |
+ |
case $host_os in |
| 9464 |
+ |
os2*) |
| 9465 |
+ |
lt_prog_compiler_static='$wl-static' |
| 9466 |
+ |
;; |
| 9467 |
+ |
esac |
| 9468 |
|
;; |
| 9469 |
|
|
| 9470 |
|
hpux9* | hpux10* | hpux11*) |
| 9480 |
|
;; |
| 9481 |
|
esac |
| 9482 |
|
# Is there a better lt_prog_compiler_static that works with the bundled CC? |
| 9483 |
< |
lt_prog_compiler_static='${wl}-a ${wl}archive' |
| 9483 |
> |
lt_prog_compiler_static='$wl-a ${wl}archive' |
| 9484 |
|
;; |
| 9485 |
|
|
| 9486 |
|
irix5* | irix6* | nonstopux*) |
| 9489 |
|
lt_prog_compiler_static='-non_shared' |
| 9490 |
|
;; |
| 9491 |
|
|
| 9492 |
< |
linux* | k*bsd*-gnu | kopensolaris*-gnu) |
| 9492 |
> |
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) |
| 9493 |
|
case $cc_basename in |
| 9494 |
< |
# old Intel for x86_64 which still supported -KPIC. |
| 9494 |
> |
# old Intel for x86_64, which still supported -KPIC. |
| 9495 |
|
ecc*) |
| 9496 |
|
lt_prog_compiler_wl='-Wl,' |
| 9497 |
|
lt_prog_compiler_pic='-KPIC' |
| 9516 |
|
lt_prog_compiler_pic='-PIC' |
| 9517 |
|
lt_prog_compiler_static='-Bstatic' |
| 9518 |
|
;; |
| 9519 |
+ |
tcc*) |
| 9520 |
+ |
# Fabrice Bellard et al's Tiny C Compiler |
| 9521 |
+ |
lt_prog_compiler_wl='-Wl,' |
| 9522 |
+ |
lt_prog_compiler_pic='-fPIC' |
| 9523 |
+ |
lt_prog_compiler_static='-static' |
| 9524 |
+ |
;; |
| 9525 |
|
pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) |
| 9526 |
|
# Portland Group compilers (*not* the Pentium gcc compiler, |
| 9527 |
|
# which looks to be a dead project) |
| 9541 |
|
lt_prog_compiler_static='-qstaticlink' |
| 9542 |
|
;; |
| 9543 |
|
*) |
| 9544 |
< |
case `$CC -V 2>&1 | sed 5q` in |
| 9544 |
> |
case `$CC -V 2>&1 | $SED 5q` in |
| 9545 |
|
*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) |
| 9546 |
|
# Sun Fortran 8.3 passes all unrecognized flags to the linker |
| 9547 |
|
lt_prog_compiler_pic='-KPIC' |
| 9619 |
|
;; |
| 9620 |
|
|
| 9621 |
|
sysv4*MP*) |
| 9622 |
< |
if test -d /usr/nec ;then |
| 9622 |
> |
if test -d /usr/nec; then |
| 9623 |
|
lt_prog_compiler_pic='-Kconform_pic' |
| 9624 |
|
lt_prog_compiler_static='-Bstatic' |
| 9625 |
|
fi |
| 9648 |
|
fi |
| 9649 |
|
|
| 9650 |
|
case $host_os in |
| 9651 |
< |
# For platforms which do not support PIC, -DPIC is meaningless: |
| 9651 |
> |
# For platforms that do not support PIC, -DPIC is meaningless: |
| 9652 |
|
*djgpp*) |
| 9653 |
|
lt_prog_compiler_pic= |
| 9654 |
|
;; |
| 9657 |
|
;; |
| 9658 |
|
esac |
| 9659 |
|
|
| 9660 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 |
| 9661 |
< |
$as_echo_n "checking for $compiler option to produce PIC... " >&6; } |
| 9662 |
< |
if ${lt_cv_prog_compiler_pic+:} false; then : |
| 9663 |
< |
$as_echo_n "(cached) " >&6 |
| 9664 |
< |
else |
| 9660 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 |
| 9661 |
> |
printf %s "checking for $compiler option to produce PIC... " >&6; } |
| 9662 |
> |
if test ${lt_cv_prog_compiler_pic+y} |
| 9663 |
> |
then : |
| 9664 |
> |
printf %s "(cached) " >&6 |
| 9665 |
> |
else $as_nop |
| 9666 |
|
lt_cv_prog_compiler_pic=$lt_prog_compiler_pic |
| 9667 |
|
fi |
| 9668 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 |
| 9669 |
< |
$as_echo "$lt_cv_prog_compiler_pic" >&6; } |
| 9668 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 |
| 9669 |
> |
printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; } |
| 9670 |
|
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic |
| 9671 |
|
|
| 9672 |
|
# |
| 9673 |
|
# Check to make sure the PIC flag actually works. |
| 9674 |
|
# |
| 9675 |
|
if test -n "$lt_prog_compiler_pic"; then |
| 9676 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 |
| 9677 |
< |
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } |
| 9678 |
< |
if ${lt_cv_prog_compiler_pic_works+:} false; then : |
| 9679 |
< |
$as_echo_n "(cached) " >&6 |
| 9680 |
< |
else |
| 9676 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 |
| 9677 |
> |
printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } |
| 9678 |
> |
if test ${lt_cv_prog_compiler_pic_works+y} |
| 9679 |
> |
then : |
| 9680 |
> |
printf %s "(cached) " >&6 |
| 9681 |
> |
else $as_nop |
| 9682 |
|
lt_cv_prog_compiler_pic_works=no |
| 9683 |
|
ac_outfile=conftest.$ac_objext |
| 9684 |
|
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
| 9685 |
< |
lt_compiler_flag="$lt_prog_compiler_pic -DPIC" |
| 9685 |
> |
lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment |
| 9686 |
|
# Insert the option either (1) after the last *FLAGS variable, or |
| 9687 |
|
# (2) before a word containing "conftest.", or (3) at the end. |
| 9688 |
|
# Note that $ac_compile itself does not contain backslashes and begins |
| 9709 |
|
$RM conftest* |
| 9710 |
|
|
| 9711 |
|
fi |
| 9712 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 |
| 9713 |
< |
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } |
| 9712 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 |
| 9713 |
> |
printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; } |
| 9714 |
|
|
| 9715 |
< |
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then |
| 9715 |
> |
if test yes = "$lt_cv_prog_compiler_pic_works"; then |
| 9716 |
|
case $lt_prog_compiler_pic in |
| 9717 |
|
"" | " "*) ;; |
| 9718 |
|
*) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; |
| 9738 |
|
# Check to make sure the static flag actually works. |
| 9739 |
|
# |
| 9740 |
|
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" |
| 9741 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 |
| 9742 |
< |
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } |
| 9743 |
< |
if ${lt_cv_prog_compiler_static_works+:} false; then : |
| 9744 |
< |
$as_echo_n "(cached) " >&6 |
| 9745 |
< |
else |
| 9741 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 |
| 9742 |
> |
printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } |
| 9743 |
> |
if test ${lt_cv_prog_compiler_static_works+y} |
| 9744 |
> |
then : |
| 9745 |
> |
printf %s "(cached) " >&6 |
| 9746 |
> |
else $as_nop |
| 9747 |
|
lt_cv_prog_compiler_static_works=no |
| 9748 |
< |
save_LDFLAGS="$LDFLAGS" |
| 9748 |
> |
save_LDFLAGS=$LDFLAGS |
| 9749 |
|
LDFLAGS="$LDFLAGS $lt_tmp_static_flag" |
| 9750 |
|
echo "$lt_simple_link_test_code" > conftest.$ac_ext |
| 9751 |
|
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then |
| 9764 |
|
fi |
| 9765 |
|
fi |
| 9766 |
|
$RM -r conftest* |
| 9767 |
< |
LDFLAGS="$save_LDFLAGS" |
| 9767 |
> |
LDFLAGS=$save_LDFLAGS |
| 9768 |
|
|
| 9769 |
|
fi |
| 9770 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 |
| 9771 |
< |
$as_echo "$lt_cv_prog_compiler_static_works" >&6; } |
| 9770 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 |
| 9771 |
> |
printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; } |
| 9772 |
|
|
| 9773 |
< |
if test x"$lt_cv_prog_compiler_static_works" = xyes; then |
| 9773 |
> |
if test yes = "$lt_cv_prog_compiler_static_works"; then |
| 9774 |
|
: |
| 9775 |
|
else |
| 9776 |
|
lt_prog_compiler_static= |
| 9782 |
|
|
| 9783 |
|
|
| 9784 |
|
|
| 9785 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 |
| 9786 |
< |
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } |
| 9787 |
< |
if ${lt_cv_prog_compiler_c_o+:} false; then : |
| 9788 |
< |
$as_echo_n "(cached) " >&6 |
| 9789 |
< |
else |
| 9785 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 |
| 9786 |
> |
printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; } |
| 9787 |
> |
if test ${lt_cv_prog_compiler_c_o+y} |
| 9788 |
> |
then : |
| 9789 |
> |
printf %s "(cached) " >&6 |
| 9790 |
> |
else $as_nop |
| 9791 |
|
lt_cv_prog_compiler_c_o=no |
| 9792 |
|
$RM -r conftest 2>/dev/null |
| 9793 |
|
mkdir conftest |
| 9830 |
|
$RM conftest* |
| 9831 |
|
|
| 9832 |
|
fi |
| 9833 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 |
| 9834 |
< |
$as_echo "$lt_cv_prog_compiler_c_o" >&6; } |
| 9833 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 |
| 9834 |
> |
printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; } |
| 9835 |
|
|
| 9836 |
|
|
| 9837 |
|
|
| 9838 |
|
|
| 9839 |
|
|
| 9840 |
|
|
| 9841 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 |
| 9842 |
< |
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } |
| 9843 |
< |
if ${lt_cv_prog_compiler_c_o+:} false; then : |
| 9844 |
< |
$as_echo_n "(cached) " >&6 |
| 9845 |
< |
else |
| 9841 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 |
| 9842 |
> |
printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; } |
| 9843 |
> |
if test ${lt_cv_prog_compiler_c_o+y} |
| 9844 |
> |
then : |
| 9845 |
> |
printf %s "(cached) " >&6 |
| 9846 |
> |
else $as_nop |
| 9847 |
|
lt_cv_prog_compiler_c_o=no |
| 9848 |
|
$RM -r conftest 2>/dev/null |
| 9849 |
|
mkdir conftest |
| 9886 |
|
$RM conftest* |
| 9887 |
|
|
| 9888 |
|
fi |
| 9889 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 |
| 9890 |
< |
$as_echo "$lt_cv_prog_compiler_c_o" >&6; } |
| 9889 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 |
| 9890 |
> |
printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; } |
| 9891 |
|
|
| 9892 |
|
|
| 9893 |
|
|
| 9894 |
|
|
| 9895 |
< |
hard_links="nottested" |
| 9896 |
< |
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then |
| 9895 |
> |
hard_links=nottested |
| 9896 |
> |
if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then |
| 9897 |
|
# do not overwrite the value of need_locks provided by the user |
| 9898 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 |
| 9899 |
< |
$as_echo_n "checking if we can lock with hard links... " >&6; } |
| 9898 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 |
| 9899 |
> |
printf %s "checking if we can lock with hard links... " >&6; } |
| 9900 |
|
hard_links=yes |
| 9901 |
|
$RM conftest* |
| 9902 |
|
ln conftest.a conftest.b 2>/dev/null && hard_links=no |
| 9903 |
|
touch conftest.a |
| 9904 |
|
ln conftest.a conftest.b 2>&5 || hard_links=no |
| 9905 |
|
ln conftest.a conftest.b 2>/dev/null && hard_links=no |
| 9906 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 |
| 9907 |
< |
$as_echo "$hard_links" >&6; } |
| 9908 |
< |
if test "$hard_links" = no; then |
| 9909 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 |
| 9910 |
< |
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} |
| 9906 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 |
| 9907 |
> |
printf "%s\n" "$hard_links" >&6; } |
| 9908 |
> |
if test no = "$hard_links"; then |
| 9909 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 |
| 9910 |
> |
printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} |
| 9911 |
|
need_locks=warn |
| 9912 |
|
fi |
| 9913 |
|
else |
| 9919 |
|
|
| 9920 |
|
|
| 9921 |
|
|
| 9922 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 |
| 9923 |
< |
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } |
| 9922 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 |
| 9923 |
> |
printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } |
| 9924 |
|
|
| 9925 |
|
runpath_var= |
| 9926 |
|
allow_undefined_flag= |
| 9950 |
|
# included in the symbol list |
| 9951 |
|
include_expsyms= |
| 9952 |
|
# exclude_expsyms can be an extended regexp of symbols to exclude |
| 9953 |
< |
# it will be wrapped by ` (' and `)$', so one must not match beginning or |
| 9954 |
< |
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', |
| 9955 |
< |
# as well as any symbol that contains `d'. |
| 9953 |
> |
# it will be wrapped by ' (' and ')$', so one must not match beginning or |
| 9954 |
> |
# end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc', |
| 9955 |
> |
# as well as any symbol that contains 'd'. |
| 9956 |
|
exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' |
| 9957 |
|
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out |
| 9958 |
|
# platforms (ab)use it in PIC code, but their linkers get confused if |
| 9964 |
|
|
| 9965 |
|
case $host_os in |
| 9966 |
|
cygwin* | mingw* | pw32* | cegcc*) |
| 9967 |
< |
# FIXME: the MSVC++ port hasn't been tested in a loooong time |
| 9967 |
> |
# FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time |
| 9968 |
|
# When not using gcc, we currently assume that we are using |
| 9969 |
< |
# Microsoft Visual C++. |
| 9970 |
< |
if test "$GCC" != yes; then |
| 9969 |
> |
# Microsoft Visual C++ or Intel C++ Compiler. |
| 9970 |
> |
if test yes != "$GCC"; then |
| 9971 |
|
with_gnu_ld=no |
| 9972 |
|
fi |
| 9973 |
|
;; |
| 9974 |
|
interix*) |
| 9975 |
< |
# we just hope/assume this is gcc and not c89 (= MSVC++) |
| 9975 |
> |
# we just hope/assume this is gcc and not c89 (= MSVC++ or ICC) |
| 9976 |
|
with_gnu_ld=yes |
| 9977 |
|
;; |
| 9978 |
< |
openbsd*) |
| 9978 |
> |
openbsd* | bitrig*) |
| 9979 |
|
with_gnu_ld=no |
| 9980 |
|
;; |
| 9981 |
|
esac |
| 9985 |
|
# On some targets, GNU ld is compatible enough with the native linker |
| 9986 |
|
# that we're better off using the native interface for both. |
| 9987 |
|
lt_use_gnu_ld_interface=no |
| 9988 |
< |
if test "$with_gnu_ld" = yes; then |
| 9988 |
> |
if test yes = "$with_gnu_ld"; then |
| 9989 |
|
case $host_os in |
| 9990 |
|
aix*) |
| 9991 |
|
# The AIX port of GNU ld has always aspired to compatibility |
| 10007 |
|
esac |
| 10008 |
|
fi |
| 10009 |
|
|
| 10010 |
< |
if test "$lt_use_gnu_ld_interface" = yes; then |
| 10010 |
> |
if test yes = "$lt_use_gnu_ld_interface"; then |
| 10011 |
|
# If archive_cmds runs LD, not CC, wlarc should be empty |
| 10012 |
< |
wlarc='${wl}' |
| 10012 |
> |
wlarc='$wl' |
| 10013 |
|
|
| 10014 |
|
# Set some defaults for GNU ld with shared library support. These |
| 10015 |
|
# are reset later if shared libraries are not supported. Putting them |
| 10016 |
|
# here allows them to be overridden if necessary. |
| 10017 |
|
runpath_var=LD_RUN_PATH |
| 10018 |
< |
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
| 10019 |
< |
export_dynamic_flag_spec='${wl}--export-dynamic' |
| 10018 |
> |
hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' |
| 10019 |
> |
export_dynamic_flag_spec='$wl--export-dynamic' |
| 10020 |
|
# ancient GNU ld didn't support --whole-archive et. al. |
| 10021 |
|
if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then |
| 10022 |
< |
whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' |
| 10022 |
> |
whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' |
| 10023 |
|
else |
| 10024 |
|
whole_archive_flag_spec= |
| 10025 |
|
fi |
| 10026 |
|
supports_anon_versioning=no |
| 10027 |
< |
case `$LD -v 2>&1` in |
| 10027 |
> |
case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in |
| 10028 |
|
*GNU\ gold*) supports_anon_versioning=yes ;; |
| 10029 |
|
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 |
| 10030 |
|
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... |
| 10037 |
|
case $host_os in |
| 10038 |
|
aix[3-9]*) |
| 10039 |
|
# On AIX/PPC, the GNU linker is very broken |
| 10040 |
< |
if test "$host_cpu" != ia64; then |
| 10040 |
> |
if test ia64 != "$host_cpu"; then |
| 10041 |
|
ld_shlibs=no |
| 10042 |
|
cat <<_LT_EOF 1>&2 |
| 10043 |
|
|
| 10056 |
|
case $host_cpu in |
| 10057 |
|
powerpc) |
| 10058 |
|
# see comment about AmigaOS4 .so support |
| 10059 |
< |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
| 10059 |
> |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' |
| 10060 |
|
archive_expsym_cmds='' |
| 10061 |
|
;; |
| 10062 |
|
m68k) |
| 10072 |
|
allow_undefined_flag=unsupported |
| 10073 |
|
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc |
| 10074 |
|
# support --undefined. This deserves some investigation. FIXME |
| 10075 |
< |
archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
| 10075 |
> |
archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' |
| 10076 |
|
else |
| 10077 |
|
ld_shlibs=no |
| 10078 |
|
fi |
| 10082 |
|
# _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, |
| 10083 |
|
# as there is no search path for DLLs. |
| 10084 |
|
hardcode_libdir_flag_spec='-L$libdir' |
| 10085 |
< |
export_dynamic_flag_spec='${wl}--export-all-symbols' |
| 10085 |
> |
export_dynamic_flag_spec='$wl--export-all-symbols' |
| 10086 |
|
allow_undefined_flag=unsupported |
| 10087 |
|
always_export_symbols=no |
| 10088 |
|
enable_shared_with_static_runtimes=yes |
| 10090 |
|
exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' |
| 10091 |
|
|
| 10092 |
|
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then |
| 10093 |
< |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
| 10094 |
< |
# If the export-symbols file already is a .def file (1st line |
| 10095 |
< |
# is EXPORTS), use it as is; otherwise, prepend... |
| 10096 |
< |
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then |
| 10097 |
< |
cp $export_symbols $output_objdir/$soname.def; |
| 10098 |
< |
else |
| 10099 |
< |
echo EXPORTS > $output_objdir/$soname.def; |
| 10100 |
< |
cat $export_symbols >> $output_objdir/$soname.def; |
| 10101 |
< |
fi~ |
| 10102 |
< |
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
| 10093 |
> |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
| 10094 |
> |
# If the export-symbols file already is a .def file, use it as |
| 10095 |
> |
# is; otherwise, prepend EXPORTS... |
| 10096 |
> |
archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then |
| 10097 |
> |
cp $export_symbols $output_objdir/$soname.def; |
| 10098 |
> |
else |
| 10099 |
> |
echo EXPORTS > $output_objdir/$soname.def; |
| 10100 |
> |
cat $export_symbols >> $output_objdir/$soname.def; |
| 10101 |
> |
fi~ |
| 10102 |
> |
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
| 10103 |
|
else |
| 10104 |
|
ld_shlibs=no |
| 10105 |
|
fi |
| 10106 |
|
;; |
| 10107 |
|
|
| 10108 |
|
haiku*) |
| 10109 |
< |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
| 10109 |
> |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' |
| 10110 |
|
link_all_deplibs=yes |
| 10111 |
|
;; |
| 10112 |
|
|
| 10113 |
+ |
os2*) |
| 10114 |
+ |
hardcode_libdir_flag_spec='-L$libdir' |
| 10115 |
+ |
hardcode_minus_L=yes |
| 10116 |
+ |
allow_undefined_flag=unsupported |
| 10117 |
+ |
shrext_cmds=.dll |
| 10118 |
+ |
archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ |
| 10119 |
+ |
$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ |
| 10120 |
+ |
$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ |
| 10121 |
+ |
$ECHO EXPORTS >> $output_objdir/$libname.def~ |
| 10122 |
+ |
emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ |
| 10123 |
+ |
$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ |
| 10124 |
+ |
emximp -o $lib $output_objdir/$libname.def' |
| 10125 |
+ |
archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ |
| 10126 |
+ |
$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ |
| 10127 |
+ |
$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ |
| 10128 |
+ |
$ECHO EXPORTS >> $output_objdir/$libname.def~ |
| 10129 |
+ |
prefix_cmds="$SED"~ |
| 10130 |
+ |
if test EXPORTS = "`$SED 1q $export_symbols`"; then |
| 10131 |
+ |
prefix_cmds="$prefix_cmds -e 1d"; |
| 10132 |
+ |
fi~ |
| 10133 |
+ |
prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ |
| 10134 |
+ |
cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ |
| 10135 |
+ |
$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ |
| 10136 |
+ |
emximp -o $lib $output_objdir/$libname.def' |
| 10137 |
+ |
old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' |
| 10138 |
+ |
enable_shared_with_static_runtimes=yes |
| 10139 |
+ |
file_list_spec='@' |
| 10140 |
+ |
;; |
| 10141 |
+ |
|
| 10142 |
|
interix[3-9]*) |
| 10143 |
|
hardcode_direct=no |
| 10144 |
|
hardcode_shlibpath_var=no |
| 10145 |
< |
hardcode_libdir_flag_spec='${wl}-rpath,$libdir' |
| 10146 |
< |
export_dynamic_flag_spec='${wl}-E' |
| 10145 |
> |
hardcode_libdir_flag_spec='$wl-rpath,$libdir' |
| 10146 |
> |
export_dynamic_flag_spec='$wl-E' |
| 10147 |
|
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. |
| 10148 |
|
# Instead, shared libraries are loaded at an image base (0x10000000 by |
| 10149 |
|
# default) and relocated if they conflict, which is a slow very memory |
| 10150 |
|
# consuming and fragmenting process. To avoid this, we pick a random, |
| 10151 |
|
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link |
| 10152 |
|
# time. Moving up from 0x10000000 also allows more sbrk(2) space. |
| 10153 |
< |
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' |
| 10154 |
< |
archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' |
| 10153 |
> |
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' |
| 10154 |
> |
archive_expsym_cmds='$SED "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' |
| 10155 |
|
;; |
| 10156 |
|
|
| 10157 |
|
gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) |
| 10158 |
|
tmp_diet=no |
| 10159 |
< |
if test "$host_os" = linux-dietlibc; then |
| 10159 |
> |
if test linux-dietlibc = "$host_os"; then |
| 10160 |
|
case $cc_basename in |
| 10161 |
|
diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) |
| 10162 |
|
esac |
| 10163 |
|
fi |
| 10164 |
|
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ |
| 10165 |
< |
&& test "$tmp_diet" = no |
| 10165 |
> |
&& test no = "$tmp_diet" |
| 10166 |
|
then |
| 10167 |
|
tmp_addflag=' $pic_flag' |
| 10168 |
|
tmp_sharedflag='-shared' |
| 10169 |
|
case $cc_basename,$host_cpu in |
| 10170 |
|
pgcc*) # Portland Group C compiler |
| 10171 |
< |
whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' |
| 10171 |
> |
whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' |
| 10172 |
|
tmp_addflag=' $pic_flag' |
| 10173 |
|
;; |
| 10174 |
|
pgf77* | pgf90* | pgf95* | pgfortran*) |
| 10175 |
|
# Portland Group f77 and f90 compilers |
| 10176 |
< |
whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' |
| 10176 |
> |
whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' |
| 10177 |
|
tmp_addflag=' $pic_flag -Mnomain' ;; |
| 10178 |
|
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 |
| 10179 |
|
tmp_addflag=' -i_dynamic' ;; |
| 10184 |
|
lf95*) # Lahey Fortran 8.1 |
| 10185 |
|
whole_archive_flag_spec= |
| 10186 |
|
tmp_sharedflag='--shared' ;; |
| 10187 |
+ |
nagfor*) # NAGFOR 5.3 |
| 10188 |
+ |
tmp_sharedflag='-Wl,-shared' ;; |
| 10189 |
|
xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) |
| 10190 |
|
tmp_sharedflag='-qmkshrobj' |
| 10191 |
|
tmp_addflag= ;; |
| 10192 |
|
nvcc*) # Cuda Compiler Driver 2.2 |
| 10193 |
< |
whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' |
| 10193 |
> |
whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' |
| 10194 |
|
compiler_needs_object=yes |
| 10195 |
|
;; |
| 10196 |
|
esac |
| 10197 |
< |
case `$CC -V 2>&1 | sed 5q` in |
| 10197 |
> |
case `$CC -V 2>&1 | $SED 5q` in |
| 10198 |
|
*Sun\ C*) # Sun C 5.9 |
| 10199 |
< |
whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' |
| 10199 |
> |
whole_archive_flag_spec='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' |
| 10200 |
|
compiler_needs_object=yes |
| 10201 |
|
tmp_sharedflag='-G' ;; |
| 10202 |
|
*Sun\ F*) # Sun Fortran 8.3 |
| 10203 |
|
tmp_sharedflag='-G' ;; |
| 10204 |
|
esac |
| 10205 |
< |
archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
| 10205 |
> |
archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' |
| 10206 |
|
|
| 10207 |
< |
if test "x$supports_anon_versioning" = xyes; then |
| 10207 |
> |
if test yes = "$supports_anon_versioning"; then |
| 10208 |
|
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ |
| 10209 |
< |
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
| 10210 |
< |
echo "local: *; };" >> $output_objdir/$libname.ver~ |
| 10211 |
< |
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' |
| 10209 |
> |
cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
| 10210 |
> |
echo "local: *; };" >> $output_objdir/$libname.ver~ |
| 10211 |
> |
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' |
| 10212 |
|
fi |
| 10213 |
|
|
| 10214 |
|
case $cc_basename in |
| 10215 |
+ |
tcc*) |
| 10216 |
+ |
export_dynamic_flag_spec='-rdynamic' |
| 10217 |
+ |
;; |
| 10218 |
|
xlf* | bgf* | bgxlf* | mpixlf*) |
| 10219 |
|
# IBM XL Fortran 10.1 on PPC cannot create shared libs itself |
| 10220 |
|
whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' |
| 10221 |
< |
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
| 10221 |
> |
hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' |
| 10222 |
|
archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' |
| 10223 |
< |
if test "x$supports_anon_versioning" = xyes; then |
| 10223 |
> |
if test yes = "$supports_anon_versioning"; then |
| 10224 |
|
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ |
| 10225 |
< |
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
| 10226 |
< |
echo "local: *; };" >> $output_objdir/$libname.ver~ |
| 10227 |
< |
$LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' |
| 10225 |
> |
cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
| 10226 |
> |
echo "local: *; };" >> $output_objdir/$libname.ver~ |
| 10227 |
> |
$LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' |
| 10228 |
|
fi |
| 10229 |
|
;; |
| 10230 |
|
esac |
| 10238 |
|
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' |
| 10239 |
|
wlarc= |
| 10240 |
|
else |
| 10241 |
< |
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
| 10242 |
< |
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
| 10241 |
> |
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' |
| 10242 |
> |
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' |
| 10243 |
|
fi |
| 10244 |
|
;; |
| 10245 |
|
|
| 10257 |
|
|
| 10258 |
|
_LT_EOF |
| 10259 |
|
elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
| 10260 |
< |
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
| 10261 |
< |
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
| 10260 |
> |
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' |
| 10261 |
> |
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' |
| 10262 |
|
else |
| 10263 |
|
ld_shlibs=no |
| 10264 |
|
fi |
| 10270 |
|
ld_shlibs=no |
| 10271 |
|
cat <<_LT_EOF 1>&2 |
| 10272 |
|
|
| 10273 |
< |
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not |
| 10273 |
> |
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot |
| 10274 |
|
*** reliably create shared libraries on SCO systems. Therefore, libtool |
| 10275 |
|
*** is disabling shared libraries support. We urge you to upgrade GNU |
| 10276 |
|
*** binutils to release 2.16.91.0.3 or newer. Another option is to modify |
| 10285 |
|
# DT_RUNPATH tag from executables and libraries. But doing so |
| 10286 |
|
# requires that you compile everything twice, which is a pain. |
| 10287 |
|
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
| 10288 |
< |
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
| 10289 |
< |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
| 10290 |
< |
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
| 10288 |
> |
hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' |
| 10289 |
> |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' |
| 10290 |
> |
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' |
| 10291 |
|
else |
| 10292 |
|
ld_shlibs=no |
| 10293 |
|
fi |
| 10304 |
|
|
| 10305 |
|
*) |
| 10306 |
|
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
| 10307 |
< |
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
| 10308 |
< |
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
| 10307 |
> |
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' |
| 10308 |
> |
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' |
| 10309 |
|
else |
| 10310 |
|
ld_shlibs=no |
| 10311 |
|
fi |
| 10312 |
|
;; |
| 10313 |
|
esac |
| 10314 |
|
|
| 10315 |
< |
if test "$ld_shlibs" = no; then |
| 10315 |
> |
if test no = "$ld_shlibs"; then |
| 10316 |
|
runpath_var= |
| 10317 |
|
hardcode_libdir_flag_spec= |
| 10318 |
|
export_dynamic_flag_spec= |
| 10328 |
|
# Note: this linker hardcodes the directories in LIBPATH if there |
| 10329 |
|
# are no directories specified by -L. |
| 10330 |
|
hardcode_minus_L=yes |
| 10331 |
< |
if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then |
| 10331 |
> |
if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then |
| 10332 |
|
# Neither direct hardcoding nor static linking is supported with a |
| 10333 |
|
# broken collect2. |
| 10334 |
|
hardcode_direct=unsupported |
| 10336 |
|
;; |
| 10337 |
|
|
| 10338 |
|
aix[4-9]*) |
| 10339 |
< |
if test "$host_cpu" = ia64; then |
| 10339 |
> |
if test ia64 = "$host_cpu"; then |
| 10340 |
|
# On IA64, the linker does run time linking by default, so we don't |
| 10341 |
|
# have to do anything special. |
| 10342 |
|
aix_use_runtimelinking=no |
| 10343 |
|
exp_sym_flag='-Bexport' |
| 10344 |
< |
no_entry_flag="" |
| 10344 |
> |
no_entry_flag= |
| 10345 |
|
else |
| 10346 |
|
# If we're using GNU nm, then we don't want the "-C" option. |
| 10347 |
< |
# -C means demangle to AIX nm, but means don't demangle with GNU nm |
| 10348 |
< |
# Also, AIX nm treats weak defined symbols like other global |
| 10349 |
< |
# defined symbols, whereas GNU nm marks them as "W". |
| 10347 |
> |
# -C means demangle to GNU nm, but means don't demangle to AIX nm. |
| 10348 |
> |
# Without the "-l" option, or with the "-B" option, AIX nm treats |
| 10349 |
> |
# weak defined symbols like other global defined symbols, whereas |
| 10350 |
> |
# GNU nm marks them as "W". |
| 10351 |
> |
# While the 'weak' keyword is ignored in the Export File, we need |
| 10352 |
> |
# it in the Import File for the 'aix-soname' feature, so we have |
| 10353 |
> |
# to replace the "-B" option with "-P" for AIX nm. |
| 10354 |
|
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then |
| 10355 |
< |
export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' |
| 10355 |
> |
export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols' |
| 10356 |
|
else |
| 10357 |
< |
export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' |
| 10357 |
> |
export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols' |
| 10358 |
|
fi |
| 10359 |
|
aix_use_runtimelinking=no |
| 10360 |
|
|
| 10361 |
|
# Test if we are trying to use run time linking or normal |
| 10362 |
|
# AIX style linking. If -brtl is somewhere in LDFLAGS, we |
| 10363 |
< |
# need to do runtime linking. |
| 10363 |
> |
# have runtime linking enabled, and use it for executables. |
| 10364 |
> |
# For shared libraries, we enable/disable runtime linking |
| 10365 |
> |
# depending on the kind of the shared library created - |
| 10366 |
> |
# when "with_aix_soname,aix_use_runtimelinking" is: |
| 10367 |
> |
# "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables |
| 10368 |
> |
# "aix,yes" lib.so shared, rtl:yes, for executables |
| 10369 |
> |
# lib.a static archive |
| 10370 |
> |
# "both,no" lib.so.V(shr.o) shared, rtl:yes |
| 10371 |
> |
# lib.a(lib.so.V) shared, rtl:no, for executables |
| 10372 |
> |
# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables |
| 10373 |
> |
# lib.a(lib.so.V) shared, rtl:no |
| 10374 |
> |
# "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables |
| 10375 |
> |
# lib.a static archive |
| 10376 |
|
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) |
| 10377 |
|
for ld_flag in $LDFLAGS; do |
| 10378 |
< |
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then |
| 10378 |
> |
if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then |
| 10379 |
|
aix_use_runtimelinking=yes |
| 10380 |
|
break |
| 10381 |
|
fi |
| 10382 |
|
done |
| 10383 |
+ |
if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then |
| 10384 |
+ |
# With aix-soname=svr4, we create the lib.so.V shared archives only, |
| 10385 |
+ |
# so we don't have lib.a shared libs to link our executables. |
| 10386 |
+ |
# We have to force runtime linking in this case. |
| 10387 |
+ |
aix_use_runtimelinking=yes |
| 10388 |
+ |
LDFLAGS="$LDFLAGS -Wl,-brtl" |
| 10389 |
+ |
fi |
| 10390 |
|
;; |
| 10391 |
|
esac |
| 10392 |
|
|
| 10405 |
|
hardcode_direct_absolute=yes |
| 10406 |
|
hardcode_libdir_separator=':' |
| 10407 |
|
link_all_deplibs=yes |
| 10408 |
< |
file_list_spec='${wl}-f,' |
| 10408 |
> |
file_list_spec='$wl-f,' |
| 10409 |
> |
case $with_aix_soname,$aix_use_runtimelinking in |
| 10410 |
> |
aix,*) ;; # traditional, no import file |
| 10411 |
> |
svr4,* | *,yes) # use import file |
| 10412 |
> |
# The Import File defines what to hardcode. |
| 10413 |
> |
hardcode_direct=no |
| 10414 |
> |
hardcode_direct_absolute=no |
| 10415 |
> |
;; |
| 10416 |
> |
esac |
| 10417 |
|
|
| 10418 |
< |
if test "$GCC" = yes; then |
| 10418 |
> |
if test yes = "$GCC"; then |
| 10419 |
|
case $host_os in aix4.[012]|aix4.[012].*) |
| 10420 |
|
# We only want to do this on AIX 4.2 and lower, the check |
| 10421 |
|
# below for broken collect2 doesn't work under 4.3+ |
| 10422 |
< |
collect2name=`${CC} -print-prog-name=collect2` |
| 10422 |
> |
collect2name=`$CC -print-prog-name=collect2` |
| 10423 |
|
if test -f "$collect2name" && |
| 10424 |
|
strings "$collect2name" | $GREP resolve_lib_name >/dev/null |
| 10425 |
|
then |
| 10438 |
|
;; |
| 10439 |
|
esac |
| 10440 |
|
shared_flag='-shared' |
| 10441 |
< |
if test "$aix_use_runtimelinking" = yes; then |
| 10442 |
< |
shared_flag="$shared_flag "'${wl}-G' |
| 10441 |
> |
if test yes = "$aix_use_runtimelinking"; then |
| 10442 |
> |
shared_flag="$shared_flag "'$wl-G' |
| 10443 |
|
fi |
| 10444 |
+ |
# Need to ensure runtime linking is disabled for the traditional |
| 10445 |
+ |
# shared library, or the linker may eventually find shared libraries |
| 10446 |
+ |
# /with/ Import File - we do not want to mix them. |
| 10447 |
+ |
shared_flag_aix='-shared' |
| 10448 |
+ |
shared_flag_svr4='-shared $wl-G' |
| 10449 |
|
else |
| 10450 |
|
# not using gcc |
| 10451 |
< |
if test "$host_cpu" = ia64; then |
| 10451 |
> |
if test ia64 = "$host_cpu"; then |
| 10452 |
|
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release |
| 10453 |
|
# chokes on -Wl,-G. The following line is correct: |
| 10454 |
|
shared_flag='-G' |
| 10455 |
|
else |
| 10456 |
< |
if test "$aix_use_runtimelinking" = yes; then |
| 10457 |
< |
shared_flag='${wl}-G' |
| 10456 |
> |
if test yes = "$aix_use_runtimelinking"; then |
| 10457 |
> |
shared_flag='$wl-G' |
| 10458 |
|
else |
| 10459 |
< |
shared_flag='${wl}-bM:SRE' |
| 10459 |
> |
shared_flag='$wl-bM:SRE' |
| 10460 |
|
fi |
| 10461 |
+ |
shared_flag_aix='$wl-bM:SRE' |
| 10462 |
+ |
shared_flag_svr4='$wl-G' |
| 10463 |
|
fi |
| 10464 |
|
fi |
| 10465 |
|
|
| 10466 |
< |
export_dynamic_flag_spec='${wl}-bexpall' |
| 10466 |
> |
export_dynamic_flag_spec='$wl-bexpall' |
| 10467 |
|
# It seems that -bexpall does not export symbols beginning with |
| 10468 |
|
# underscore (_), so it is better to generate a list of symbols to export. |
| 10469 |
|
always_export_symbols=yes |
| 10470 |
< |
if test "$aix_use_runtimelinking" = yes; then |
| 10470 |
> |
if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then |
| 10471 |
|
# Warning - without using the other runtime loading flags (-brtl), |
| 10472 |
|
# -berok will link without error, but may produce a broken library. |
| 10473 |
|
allow_undefined_flag='-berok' |
| 10474 |
|
# Determine the default libpath from the value encoded in an |
| 10475 |
|
# empty executable. |
| 10476 |
< |
if test "${lt_cv_aix_libpath+set}" = set; then |
| 10476 |
> |
if test set = "${lt_cv_aix_libpath+set}"; then |
| 10477 |
|
aix_libpath=$lt_cv_aix_libpath |
| 10478 |
|
else |
| 10479 |
< |
if ${lt_cv_aix_libpath_+:} false; then : |
| 10480 |
< |
$as_echo_n "(cached) " >&6 |
| 10481 |
< |
else |
| 10479 |
> |
if test ${lt_cv_aix_libpath_+y} |
| 10480 |
> |
then : |
| 10481 |
> |
printf %s "(cached) " >&6 |
| 10482 |
> |
else $as_nop |
| 10483 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 10484 |
|
/* end confdefs.h. */ |
| 10485 |
|
|
| 10486 |
|
int |
| 10487 |
< |
main () |
| 10487 |
> |
main (void) |
| 10488 |
|
{ |
| 10489 |
|
|
| 10490 |
|
; |
| 10491 |
|
return 0; |
| 10492 |
|
} |
| 10493 |
|
_ACEOF |
| 10494 |
< |
if ac_fn_c_try_link "$LINENO"; then : |
| 10494 |
> |
if ac_fn_c_try_link "$LINENO" |
| 10495 |
> |
then : |
| 10496 |
|
|
| 10497 |
|
lt_aix_libpath_sed=' |
| 10498 |
|
/Import File Strings/,/^$/ { |
| 10507 |
|
lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
| 10508 |
|
fi |
| 10509 |
|
fi |
| 10510 |
< |
rm -f core conftest.err conftest.$ac_objext \ |
| 10510 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 10511 |
|
conftest$ac_exeext conftest.$ac_ext |
| 10512 |
|
if test -z "$lt_cv_aix_libpath_"; then |
| 10513 |
< |
lt_cv_aix_libpath_="/usr/lib:/lib" |
| 10513 |
> |
lt_cv_aix_libpath_=/usr/lib:/lib |
| 10514 |
|
fi |
| 10515 |
|
|
| 10516 |
|
fi |
| 10518 |
|
aix_libpath=$lt_cv_aix_libpath_ |
| 10519 |
|
fi |
| 10520 |
|
|
| 10521 |
< |
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" |
| 10522 |
< |
archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" |
| 10521 |
> |
hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" |
| 10522 |
> |
archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag |
| 10523 |
|
else |
| 10524 |
< |
if test "$host_cpu" = ia64; then |
| 10525 |
< |
hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' |
| 10524 |
> |
if test ia64 = "$host_cpu"; then |
| 10525 |
> |
hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib' |
| 10526 |
|
allow_undefined_flag="-z nodefs" |
| 10527 |
< |
archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" |
| 10527 |
> |
archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols" |
| 10528 |
|
else |
| 10529 |
|
# Determine the default libpath from the value encoded in an |
| 10530 |
|
# empty executable. |
| 10531 |
< |
if test "${lt_cv_aix_libpath+set}" = set; then |
| 10531 |
> |
if test set = "${lt_cv_aix_libpath+set}"; then |
| 10532 |
|
aix_libpath=$lt_cv_aix_libpath |
| 10533 |
|
else |
| 10534 |
< |
if ${lt_cv_aix_libpath_+:} false; then : |
| 10535 |
< |
$as_echo_n "(cached) " >&6 |
| 10536 |
< |
else |
| 10534 |
> |
if test ${lt_cv_aix_libpath_+y} |
| 10535 |
> |
then : |
| 10536 |
> |
printf %s "(cached) " >&6 |
| 10537 |
> |
else $as_nop |
| 10538 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 10539 |
|
/* end confdefs.h. */ |
| 10540 |
|
|
| 10541 |
|
int |
| 10542 |
< |
main () |
| 10542 |
> |
main (void) |
| 10543 |
|
{ |
| 10544 |
|
|
| 10545 |
|
; |
| 10546 |
|
return 0; |
| 10547 |
|
} |
| 10548 |
|
_ACEOF |
| 10549 |
< |
if ac_fn_c_try_link "$LINENO"; then : |
| 10549 |
> |
if ac_fn_c_try_link "$LINENO" |
| 10550 |
> |
then : |
| 10551 |
|
|
| 10552 |
|
lt_aix_libpath_sed=' |
| 10553 |
|
/Import File Strings/,/^$/ { |
| 10562 |
|
lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
| 10563 |
|
fi |
| 10564 |
|
fi |
| 10565 |
< |
rm -f core conftest.err conftest.$ac_objext \ |
| 10565 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 10566 |
|
conftest$ac_exeext conftest.$ac_ext |
| 10567 |
|
if test -z "$lt_cv_aix_libpath_"; then |
| 10568 |
< |
lt_cv_aix_libpath_="/usr/lib:/lib" |
| 10568 |
> |
lt_cv_aix_libpath_=/usr/lib:/lib |
| 10569 |
|
fi |
| 10570 |
|
|
| 10571 |
|
fi |
| 10573 |
|
aix_libpath=$lt_cv_aix_libpath_ |
| 10574 |
|
fi |
| 10575 |
|
|
| 10576 |
< |
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" |
| 10576 |
> |
hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" |
| 10577 |
|
# Warning - without using the other run time loading flags, |
| 10578 |
|
# -berok will link without error, but may produce a broken library. |
| 10579 |
< |
no_undefined_flag=' ${wl}-bernotok' |
| 10580 |
< |
allow_undefined_flag=' ${wl}-berok' |
| 10581 |
< |
if test "$with_gnu_ld" = yes; then |
| 10579 |
> |
no_undefined_flag=' $wl-bernotok' |
| 10580 |
> |
allow_undefined_flag=' $wl-berok' |
| 10581 |
> |
if test yes = "$with_gnu_ld"; then |
| 10582 |
|
# We only use this code for GNU lds that support --whole-archive. |
| 10583 |
< |
whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive' |
| 10583 |
> |
whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive' |
| 10584 |
|
else |
| 10585 |
|
# Exported symbols can be pulled into shared objects from archives |
| 10586 |
|
whole_archive_flag_spec='$convenience' |
| 10587 |
|
fi |
| 10588 |
|
archive_cmds_need_lc=yes |
| 10589 |
< |
# This is similar to how AIX traditionally builds its shared libraries. |
| 10590 |
< |
archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' |
| 10589 |
> |
archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' |
| 10590 |
> |
# -brtl affects multiple linker settings, -berok does not and is overridden later |
| 10591 |
> |
compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`' |
| 10592 |
> |
if test svr4 != "$with_aix_soname"; then |
| 10593 |
> |
# This is similar to how AIX traditionally builds its shared libraries. |
| 10594 |
> |
archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname' |
| 10595 |
> |
fi |
| 10596 |
> |
if test aix != "$with_aix_soname"; then |
| 10597 |
> |
archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp' |
| 10598 |
> |
else |
| 10599 |
> |
# used by -dlpreopen to get the symbols |
| 10600 |
> |
archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir' |
| 10601 |
> |
fi |
| 10602 |
> |
archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d' |
| 10603 |
|
fi |
| 10604 |
|
fi |
| 10605 |
|
;; |
| 10608 |
|
case $host_cpu in |
| 10609 |
|
powerpc) |
| 10610 |
|
# see comment about AmigaOS4 .so support |
| 10611 |
< |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
| 10611 |
> |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' |
| 10612 |
|
archive_expsym_cmds='' |
| 10613 |
|
;; |
| 10614 |
|
m68k) |
| 10625 |
|
|
| 10626 |
|
cygwin* | mingw* | pw32* | cegcc*) |
| 10627 |
|
# When not using gcc, we currently assume that we are using |
| 10628 |
< |
# Microsoft Visual C++. |
| 10628 |
> |
# Microsoft Visual C++ or Intel C++ Compiler. |
| 10629 |
|
# hardcode_libdir_flag_spec is actually meaningless, as there is |
| 10630 |
|
# no search path for DLLs. |
| 10631 |
|
case $cc_basename in |
| 10632 |
< |
cl*) |
| 10633 |
< |
# Native MSVC |
| 10632 |
> |
cl* | icl*) |
| 10633 |
> |
# Native MSVC or ICC |
| 10634 |
|
hardcode_libdir_flag_spec=' ' |
| 10635 |
|
allow_undefined_flag=unsupported |
| 10636 |
|
always_export_symbols=yes |
| 10638 |
|
# Tell ltmain to make .lib files, not .a files. |
| 10639 |
|
libext=lib |
| 10640 |
|
# Tell ltmain to make .dll files, not .so files. |
| 10641 |
< |
shrext_cmds=".dll" |
| 10641 |
> |
shrext_cmds=.dll |
| 10642 |
|
# FIXME: Setting linknames here is a bad hack. |
| 10643 |
< |
archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' |
| 10644 |
< |
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then |
| 10645 |
< |
sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; |
| 10646 |
< |
else |
| 10647 |
< |
sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; |
| 10648 |
< |
fi~ |
| 10649 |
< |
$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ |
| 10650 |
< |
linknames=' |
| 10643 |
> |
archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' |
| 10644 |
> |
archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then |
| 10645 |
> |
cp "$export_symbols" "$output_objdir/$soname.def"; |
| 10646 |
> |
echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; |
| 10647 |
> |
else |
| 10648 |
> |
$SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; |
| 10649 |
> |
fi~ |
| 10650 |
> |
$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ |
| 10651 |
> |
linknames=' |
| 10652 |
|
# The linker will not automatically build a static lib if we build a DLL. |
| 10653 |
|
# _LT_TAGVAR(old_archive_from_new_cmds, )='true' |
| 10654 |
|
enable_shared_with_static_runtimes=yes |
| 10657 |
|
# Don't use ranlib |
| 10658 |
|
old_postinstall_cmds='chmod 644 $oldlib' |
| 10659 |
|
postlink_cmds='lt_outputfile="@OUTPUT@"~ |
| 10660 |
< |
lt_tool_outputfile="@TOOL_OUTPUT@"~ |
| 10661 |
< |
case $lt_outputfile in |
| 10662 |
< |
*.exe|*.EXE) ;; |
| 10663 |
< |
*) |
| 10664 |
< |
lt_outputfile="$lt_outputfile.exe" |
| 10665 |
< |
lt_tool_outputfile="$lt_tool_outputfile.exe" |
| 10666 |
< |
;; |
| 10667 |
< |
esac~ |
| 10668 |
< |
if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then |
| 10669 |
< |
$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; |
| 10670 |
< |
$RM "$lt_outputfile.manifest"; |
| 10671 |
< |
fi' |
| 10660 |
> |
lt_tool_outputfile="@TOOL_OUTPUT@"~ |
| 10661 |
> |
case $lt_outputfile in |
| 10662 |
> |
*.exe|*.EXE) ;; |
| 10663 |
> |
*) |
| 10664 |
> |
lt_outputfile=$lt_outputfile.exe |
| 10665 |
> |
lt_tool_outputfile=$lt_tool_outputfile.exe |
| 10666 |
> |
;; |
| 10667 |
> |
esac~ |
| 10668 |
> |
if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then |
| 10669 |
> |
$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; |
| 10670 |
> |
$RM "$lt_outputfile.manifest"; |
| 10671 |
> |
fi' |
| 10672 |
|
;; |
| 10673 |
|
*) |
| 10674 |
< |
# Assume MSVC wrapper |
| 10674 |
> |
# Assume MSVC and ICC wrapper |
| 10675 |
|
hardcode_libdir_flag_spec=' ' |
| 10676 |
|
allow_undefined_flag=unsupported |
| 10677 |
|
# Tell ltmain to make .lib files, not .a files. |
| 10678 |
|
libext=lib |
| 10679 |
|
# Tell ltmain to make .dll files, not .so files. |
| 10680 |
< |
shrext_cmds=".dll" |
| 10680 |
> |
shrext_cmds=.dll |
| 10681 |
|
# FIXME: Setting linknames here is a bad hack. |
| 10682 |
|
archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' |
| 10683 |
|
# The linker will automatically build a .lib file if we build a DLL. |
| 10696 |
|
hardcode_direct=no |
| 10697 |
|
hardcode_automatic=yes |
| 10698 |
|
hardcode_shlibpath_var=unsupported |
| 10699 |
< |
if test "$lt_cv_ld_force_load" = "yes"; then |
| 10700 |
< |
whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' |
| 10699 |
> |
if test yes = "$lt_cv_ld_force_load"; then |
| 10700 |
> |
whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' |
| 10701 |
|
|
| 10702 |
|
else |
| 10703 |
|
whole_archive_flag_spec='' |
| 10704 |
|
fi |
| 10705 |
|
link_all_deplibs=yes |
| 10706 |
< |
allow_undefined_flag="$_lt_dar_allow_undefined" |
| 10706 |
> |
allow_undefined_flag=$_lt_dar_allow_undefined |
| 10707 |
|
case $cc_basename in |
| 10708 |
< |
ifort*) _lt_dar_can_shared=yes ;; |
| 10708 |
> |
ifort*|nagfor*) _lt_dar_can_shared=yes ;; |
| 10709 |
|
*) _lt_dar_can_shared=$GCC ;; |
| 10710 |
|
esac |
| 10711 |
< |
if test "$_lt_dar_can_shared" = "yes"; then |
| 10711 |
> |
if test yes = "$_lt_dar_can_shared"; then |
| 10712 |
|
output_verbose_link_cmd=func_echo_all |
| 10713 |
< |
archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" |
| 10714 |
< |
module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" |
| 10715 |
< |
archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" |
| 10716 |
< |
module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" |
| 10713 |
> |
archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil" |
| 10714 |
> |
module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" |
| 10715 |
> |
archive_expsym_cmds="$SED 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil" |
| 10716 |
> |
module_expsym_cmds="$SED -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil" |
| 10717 |
|
|
| 10718 |
|
else |
| 10719 |
|
ld_shlibs=no |
| 10747 |
|
;; |
| 10748 |
|
|
| 10749 |
|
# FreeBSD 3 and greater uses gcc -shared to do shared libraries. |
| 10750 |
< |
freebsd* | dragonfly*) |
| 10750 |
> |
freebsd* | dragonfly* | midnightbsd*) |
| 10751 |
|
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
| 10752 |
|
hardcode_libdir_flag_spec='-R$libdir' |
| 10753 |
|
hardcode_direct=yes |
| 10755 |
|
;; |
| 10756 |
|
|
| 10757 |
|
hpux9*) |
| 10758 |
< |
if test "$GCC" = yes; then |
| 10759 |
< |
archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' |
| 10758 |
> |
if test yes = "$GCC"; then |
| 10759 |
> |
archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' |
| 10760 |
|
else |
| 10761 |
< |
archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' |
| 10761 |
> |
archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' |
| 10762 |
|
fi |
| 10763 |
< |
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' |
| 10763 |
> |
hardcode_libdir_flag_spec='$wl+b $wl$libdir' |
| 10764 |
|
hardcode_libdir_separator=: |
| 10765 |
|
hardcode_direct=yes |
| 10766 |
|
|
| 10767 |
|
# hardcode_minus_L: Not really in the search PATH, |
| 10768 |
|
# but as the default location of the library. |
| 10769 |
|
hardcode_minus_L=yes |
| 10770 |
< |
export_dynamic_flag_spec='${wl}-E' |
| 10770 |
> |
export_dynamic_flag_spec='$wl-E' |
| 10771 |
|
;; |
| 10772 |
|
|
| 10773 |
|
hpux10*) |
| 10774 |
< |
if test "$GCC" = yes && test "$with_gnu_ld" = no; then |
| 10775 |
< |
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
| 10774 |
> |
if test yes,no = "$GCC,$with_gnu_ld"; then |
| 10775 |
> |
archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
| 10776 |
|
else |
| 10777 |
|
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' |
| 10778 |
|
fi |
| 10779 |
< |
if test "$with_gnu_ld" = no; then |
| 10780 |
< |
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' |
| 10779 |
> |
if test no = "$with_gnu_ld"; then |
| 10780 |
> |
hardcode_libdir_flag_spec='$wl+b $wl$libdir' |
| 10781 |
|
hardcode_libdir_separator=: |
| 10782 |
|
hardcode_direct=yes |
| 10783 |
|
hardcode_direct_absolute=yes |
| 10784 |
< |
export_dynamic_flag_spec='${wl}-E' |
| 10784 |
> |
export_dynamic_flag_spec='$wl-E' |
| 10785 |
|
# hardcode_minus_L: Not really in the search PATH, |
| 10786 |
|
# but as the default location of the library. |
| 10787 |
|
hardcode_minus_L=yes |
| 10789 |
|
;; |
| 10790 |
|
|
| 10791 |
|
hpux11*) |
| 10792 |
< |
if test "$GCC" = yes && test "$with_gnu_ld" = no; then |
| 10792 |
> |
if test yes,no = "$GCC,$with_gnu_ld"; then |
| 10793 |
|
case $host_cpu in |
| 10794 |
|
hppa*64*) |
| 10795 |
< |
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 10795 |
> |
archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 10796 |
|
;; |
| 10797 |
|
ia64*) |
| 10798 |
< |
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
| 10798 |
> |
archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
| 10799 |
|
;; |
| 10800 |
|
*) |
| 10801 |
< |
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
| 10801 |
> |
archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
| 10802 |
|
;; |
| 10803 |
|
esac |
| 10804 |
|
else |
| 10805 |
|
case $host_cpu in |
| 10806 |
|
hppa*64*) |
| 10807 |
< |
archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 10807 |
> |
archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 10808 |
|
;; |
| 10809 |
|
ia64*) |
| 10810 |
< |
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
| 10810 |
> |
archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
| 10811 |
|
;; |
| 10812 |
|
*) |
| 10813 |
|
|
| 10814 |
|
# Older versions of the 11.00 compiler do not understand -b yet |
| 10815 |
|
# (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) |
| 10816 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 |
| 10817 |
< |
$as_echo_n "checking if $CC understands -b... " >&6; } |
| 10818 |
< |
if ${lt_cv_prog_compiler__b+:} false; then : |
| 10819 |
< |
$as_echo_n "(cached) " >&6 |
| 10820 |
< |
else |
| 10816 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 |
| 10817 |
> |
printf %s "checking if $CC understands -b... " >&6; } |
| 10818 |
> |
if test ${lt_cv_prog_compiler__b+y} |
| 10819 |
> |
then : |
| 10820 |
> |
printf %s "(cached) " >&6 |
| 10821 |
> |
else $as_nop |
| 10822 |
|
lt_cv_prog_compiler__b=no |
| 10823 |
< |
save_LDFLAGS="$LDFLAGS" |
| 10823 |
> |
save_LDFLAGS=$LDFLAGS |
| 10824 |
|
LDFLAGS="$LDFLAGS -b" |
| 10825 |
|
echo "$lt_simple_link_test_code" > conftest.$ac_ext |
| 10826 |
|
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then |
| 10839 |
|
fi |
| 10840 |
|
fi |
| 10841 |
|
$RM -r conftest* |
| 10842 |
< |
LDFLAGS="$save_LDFLAGS" |
| 10842 |
> |
LDFLAGS=$save_LDFLAGS |
| 10843 |
|
|
| 10844 |
|
fi |
| 10845 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 |
| 10846 |
< |
$as_echo "$lt_cv_prog_compiler__b" >&6; } |
| 10845 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 |
| 10846 |
> |
printf "%s\n" "$lt_cv_prog_compiler__b" >&6; } |
| 10847 |
|
|
| 10848 |
< |
if test x"$lt_cv_prog_compiler__b" = xyes; then |
| 10849 |
< |
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
| 10848 |
> |
if test yes = "$lt_cv_prog_compiler__b"; then |
| 10849 |
> |
archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
| 10850 |
|
else |
| 10851 |
|
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' |
| 10852 |
|
fi |
| 10854 |
|
;; |
| 10855 |
|
esac |
| 10856 |
|
fi |
| 10857 |
< |
if test "$with_gnu_ld" = no; then |
| 10858 |
< |
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' |
| 10857 |
> |
if test no = "$with_gnu_ld"; then |
| 10858 |
> |
hardcode_libdir_flag_spec='$wl+b $wl$libdir' |
| 10859 |
|
hardcode_libdir_separator=: |
| 10860 |
|
|
| 10861 |
|
case $host_cpu in |
| 10866 |
|
*) |
| 10867 |
|
hardcode_direct=yes |
| 10868 |
|
hardcode_direct_absolute=yes |
| 10869 |
< |
export_dynamic_flag_spec='${wl}-E' |
| 10869 |
> |
export_dynamic_flag_spec='$wl-E' |
| 10870 |
|
|
| 10871 |
|
# hardcode_minus_L: Not really in the search PATH, |
| 10872 |
|
# but as the default location of the library. |
| 10877 |
|
;; |
| 10878 |
|
|
| 10879 |
|
irix5* | irix6* | nonstopux*) |
| 10880 |
< |
if test "$GCC" = yes; then |
| 10881 |
< |
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' |
| 10880 |
> |
if test yes = "$GCC"; then |
| 10881 |
> |
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' |
| 10882 |
|
# Try to use the -exported_symbol ld option, if it does not |
| 10883 |
|
# work, assume that -exports_file does not work either and |
| 10884 |
|
# implicitly export all symbols. |
| 10885 |
|
# This should be the same for all languages, so no per-tag cache variable. |
| 10886 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 |
| 10887 |
< |
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } |
| 10888 |
< |
if ${lt_cv_irix_exported_symbol+:} false; then : |
| 10889 |
< |
$as_echo_n "(cached) " >&6 |
| 10890 |
< |
else |
| 10891 |
< |
save_LDFLAGS="$LDFLAGS" |
| 10892 |
< |
LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" |
| 10886 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 |
| 10887 |
> |
printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; } |
| 10888 |
> |
if test ${lt_cv_irix_exported_symbol+y} |
| 10889 |
> |
then : |
| 10890 |
> |
printf %s "(cached) " >&6 |
| 10891 |
> |
else $as_nop |
| 10892 |
> |
save_LDFLAGS=$LDFLAGS |
| 10893 |
> |
LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null" |
| 10894 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 10895 |
|
/* end confdefs.h. */ |
| 10896 |
|
int foo (void) { return 0; } |
| 10897 |
|
_ACEOF |
| 10898 |
< |
if ac_fn_c_try_link "$LINENO"; then : |
| 10898 |
> |
if ac_fn_c_try_link "$LINENO" |
| 10899 |
> |
then : |
| 10900 |
|
lt_cv_irix_exported_symbol=yes |
| 10901 |
< |
else |
| 10901 |
> |
else $as_nop |
| 10902 |
|
lt_cv_irix_exported_symbol=no |
| 10903 |
|
fi |
| 10904 |
< |
rm -f core conftest.err conftest.$ac_objext \ |
| 10904 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 10905 |
|
conftest$ac_exeext conftest.$ac_ext |
| 10906 |
< |
LDFLAGS="$save_LDFLAGS" |
| 10906 |
> |
LDFLAGS=$save_LDFLAGS |
| 10907 |
|
fi |
| 10908 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 |
| 10909 |
< |
$as_echo "$lt_cv_irix_exported_symbol" >&6; } |
| 10910 |
< |
if test "$lt_cv_irix_exported_symbol" = yes; then |
| 10911 |
< |
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib' |
| 10908 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 |
| 10909 |
> |
printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; } |
| 10910 |
> |
if test yes = "$lt_cv_irix_exported_symbol"; then |
| 10911 |
> |
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations $wl-exports_file $wl$export_symbols -o $lib' |
| 10912 |
|
fi |
| 10913 |
|
else |
| 10914 |
< |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' |
| 10915 |
< |
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib' |
| 10914 |
> |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' |
| 10915 |
> |
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -exports_file $export_symbols -o $lib' |
| 10916 |
|
fi |
| 10917 |
|
archive_cmds_need_lc='no' |
| 10918 |
< |
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
| 10918 |
> |
hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' |
| 10919 |
|
hardcode_libdir_separator=: |
| 10920 |
|
inherit_rpath=yes |
| 10921 |
|
link_all_deplibs=yes |
| 10922 |
|
;; |
| 10923 |
|
|
| 10924 |
+ |
linux*) |
| 10925 |
+ |
case $cc_basename in |
| 10926 |
+ |
tcc*) |
| 10927 |
+ |
# Fabrice Bellard et al's Tiny C Compiler |
| 10928 |
+ |
ld_shlibs=yes |
| 10929 |
+ |
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
| 10930 |
+ |
;; |
| 10931 |
+ |
esac |
| 10932 |
+ |
;; |
| 10933 |
+ |
|
| 10934 |
|
netbsd*) |
| 10935 |
|
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
| 10936 |
|
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out |
| 10945 |
|
newsos6) |
| 10946 |
|
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
| 10947 |
|
hardcode_direct=yes |
| 10948 |
< |
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
| 10948 |
> |
hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' |
| 10949 |
|
hardcode_libdir_separator=: |
| 10950 |
|
hardcode_shlibpath_var=no |
| 10951 |
|
;; |
| 10953 |
|
*nto* | *qnx*) |
| 10954 |
|
;; |
| 10955 |
|
|
| 10956 |
< |
openbsd*) |
| 10956 |
> |
openbsd* | bitrig*) |
| 10957 |
|
if test -f /usr/libexec/ld.so; then |
| 10958 |
|
hardcode_direct=yes |
| 10959 |
|
hardcode_shlibpath_var=no |
| 10960 |
|
hardcode_direct_absolute=yes |
| 10961 |
< |
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
| 10961 |
> |
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then |
| 10962 |
|
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
| 10963 |
< |
archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' |
| 10964 |
< |
hardcode_libdir_flag_spec='${wl}-rpath,$libdir' |
| 10965 |
< |
export_dynamic_flag_spec='${wl}-E' |
| 10963 |
> |
archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols' |
| 10964 |
> |
hardcode_libdir_flag_spec='$wl-rpath,$libdir' |
| 10965 |
> |
export_dynamic_flag_spec='$wl-E' |
| 10966 |
|
else |
| 10967 |
< |
case $host_os in |
| 10968 |
< |
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) |
| 10143 |
< |
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
| 10144 |
< |
hardcode_libdir_flag_spec='-R$libdir' |
| 10145 |
< |
;; |
| 10146 |
< |
*) |
| 10147 |
< |
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
| 10148 |
< |
hardcode_libdir_flag_spec='${wl}-rpath,$libdir' |
| 10149 |
< |
;; |
| 10150 |
< |
esac |
| 10967 |
> |
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
| 10968 |
> |
hardcode_libdir_flag_spec='$wl-rpath,$libdir' |
| 10969 |
|
fi |
| 10970 |
|
else |
| 10971 |
|
ld_shlibs=no |
| 10976 |
|
hardcode_libdir_flag_spec='-L$libdir' |
| 10977 |
|
hardcode_minus_L=yes |
| 10978 |
|
allow_undefined_flag=unsupported |
| 10979 |
< |
archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' |
| 10980 |
< |
old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' |
| 10979 |
> |
shrext_cmds=.dll |
| 10980 |
> |
archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ |
| 10981 |
> |
$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ |
| 10982 |
> |
$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ |
| 10983 |
> |
$ECHO EXPORTS >> $output_objdir/$libname.def~ |
| 10984 |
> |
emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ |
| 10985 |
> |
$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ |
| 10986 |
> |
emximp -o $lib $output_objdir/$libname.def' |
| 10987 |
> |
archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ |
| 10988 |
> |
$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ |
| 10989 |
> |
$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ |
| 10990 |
> |
$ECHO EXPORTS >> $output_objdir/$libname.def~ |
| 10991 |
> |
prefix_cmds="$SED"~ |
| 10992 |
> |
if test EXPORTS = "`$SED 1q $export_symbols`"; then |
| 10993 |
> |
prefix_cmds="$prefix_cmds -e 1d"; |
| 10994 |
> |
fi~ |
| 10995 |
> |
prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ |
| 10996 |
> |
cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ |
| 10997 |
> |
$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ |
| 10998 |
> |
emximp -o $lib $output_objdir/$libname.def' |
| 10999 |
> |
old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' |
| 11000 |
> |
enable_shared_with_static_runtimes=yes |
| 11001 |
> |
file_list_spec='@' |
| 11002 |
|
;; |
| 11003 |
|
|
| 11004 |
|
osf3*) |
| 11005 |
< |
if test "$GCC" = yes; then |
| 11006 |
< |
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' |
| 11007 |
< |
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' |
| 11005 |
> |
if test yes = "$GCC"; then |
| 11006 |
> |
allow_undefined_flag=' $wl-expect_unresolved $wl\*' |
| 11007 |
> |
archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' |
| 11008 |
|
else |
| 11009 |
|
allow_undefined_flag=' -expect_unresolved \*' |
| 11010 |
< |
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' |
| 11010 |
> |
archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' |
| 11011 |
|
fi |
| 11012 |
|
archive_cmds_need_lc='no' |
| 11013 |
< |
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
| 11013 |
> |
hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' |
| 11014 |
|
hardcode_libdir_separator=: |
| 11015 |
|
;; |
| 11016 |
|
|
| 11017 |
|
osf4* | osf5*) # as osf3* with the addition of -msym flag |
| 11018 |
< |
if test "$GCC" = yes; then |
| 11019 |
< |
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' |
| 11020 |
< |
archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' |
| 11021 |
< |
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
| 11018 |
> |
if test yes = "$GCC"; then |
| 11019 |
> |
allow_undefined_flag=' $wl-expect_unresolved $wl\*' |
| 11020 |
> |
archive_cmds='$CC -shared$allow_undefined_flag $pic_flag $libobjs $deplibs $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' |
| 11021 |
> |
hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' |
| 11022 |
|
else |
| 11023 |
|
allow_undefined_flag=' -expect_unresolved \*' |
| 11024 |
< |
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' |
| 11024 |
> |
archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' |
| 11025 |
|
archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~ |
| 11026 |
< |
$CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp' |
| 11026 |
> |
$CC -shared$allow_undefined_flag $wl-input $wl$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~$RM $lib.exp' |
| 11027 |
|
|
| 11028 |
|
# Both c and cxx compiler support -rpath directly |
| 11029 |
|
hardcode_libdir_flag_spec='-rpath $libdir' |
| 11034 |
|
|
| 11035 |
|
solaris*) |
| 11036 |
|
no_undefined_flag=' -z defs' |
| 11037 |
< |
if test "$GCC" = yes; then |
| 11038 |
< |
wlarc='${wl}' |
| 11039 |
< |
archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 11037 |
> |
if test yes = "$GCC"; then |
| 11038 |
> |
wlarc='$wl' |
| 11039 |
> |
archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 11040 |
|
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ |
| 11041 |
< |
$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' |
| 11041 |
> |
$CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' |
| 11042 |
|
else |
| 11043 |
|
case `$CC -V 2>&1` in |
| 11044 |
|
*"Compilers 5.0"*) |
| 11045 |
|
wlarc='' |
| 11046 |
< |
archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' |
| 11046 |
> |
archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags' |
| 11047 |
|
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ |
| 11048 |
< |
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' |
| 11048 |
> |
$LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' |
| 11049 |
|
;; |
| 11050 |
|
*) |
| 11051 |
< |
wlarc='${wl}' |
| 11052 |
< |
archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' |
| 11051 |
> |
wlarc='$wl' |
| 11052 |
> |
archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags' |
| 11053 |
|
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ |
| 11054 |
< |
$CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' |
| 11054 |
> |
$CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' |
| 11055 |
|
;; |
| 11056 |
|
esac |
| 11057 |
|
fi |
| 11061 |
|
solaris2.[0-5] | solaris2.[0-5].*) ;; |
| 11062 |
|
*) |
| 11063 |
|
# The compiler driver will combine and reorder linker options, |
| 11064 |
< |
# but understands `-z linker_flag'. GCC discards it without `$wl', |
| 11064 |
> |
# but understands '-z linker_flag'. GCC discards it without '$wl', |
| 11065 |
|
# but is careful enough not to reorder. |
| 11066 |
|
# Supported since Solaris 2.6 (maybe 2.5.1?) |
| 11067 |
< |
if test "$GCC" = yes; then |
| 11068 |
< |
whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' |
| 11067 |
> |
if test yes = "$GCC"; then |
| 11068 |
> |
whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' |
| 11069 |
|
else |
| 11070 |
|
whole_archive_flag_spec='-z allextract$convenience -z defaultextract' |
| 11071 |
|
fi |
| 11075 |
|
;; |
| 11076 |
|
|
| 11077 |
|
sunos4*) |
| 11078 |
< |
if test "x$host_vendor" = xsequent; then |
| 11078 |
> |
if test sequent = "$host_vendor"; then |
| 11079 |
|
# Use $CC to link under sequent, because it throws in some extra .o |
| 11080 |
|
# files that make .init and .fini sections work. |
| 11081 |
< |
archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' |
| 11081 |
> |
archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags' |
| 11082 |
|
else |
| 11083 |
|
archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' |
| 11084 |
|
fi |
| 11127 |
|
;; |
| 11128 |
|
|
| 11129 |
|
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) |
| 11130 |
< |
no_undefined_flag='${wl}-z,text' |
| 11130 |
> |
no_undefined_flag='$wl-z,text' |
| 11131 |
|
archive_cmds_need_lc=no |
| 11132 |
|
hardcode_shlibpath_var=no |
| 11133 |
|
runpath_var='LD_RUN_PATH' |
| 11134 |
|
|
| 11135 |
< |
if test "$GCC" = yes; then |
| 11136 |
< |
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 11137 |
< |
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 11135 |
> |
if test yes = "$GCC"; then |
| 11136 |
> |
archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 11137 |
> |
archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 11138 |
|
else |
| 11139 |
< |
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 11140 |
< |
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 11139 |
> |
archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 11140 |
> |
archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 11141 |
|
fi |
| 11142 |
|
;; |
| 11143 |
|
|
| 11144 |
|
sysv5* | sco3.2v5* | sco5v6*) |
| 11145 |
< |
# Note: We can NOT use -z defs as we might desire, because we do not |
| 11145 |
> |
# Note: We CANNOT use -z defs as we might desire, because we do not |
| 11146 |
|
# link with -lc, and that would cause any symbols used from libc to |
| 11147 |
|
# always be unresolved, which means just about no library would |
| 11148 |
|
# ever link correctly. If we're not using GNU ld we use -z text |
| 11149 |
|
# though, which does catch some bad symbols but isn't as heavy-handed |
| 11150 |
|
# as -z defs. |
| 11151 |
< |
no_undefined_flag='${wl}-z,text' |
| 11152 |
< |
allow_undefined_flag='${wl}-z,nodefs' |
| 11151 |
> |
no_undefined_flag='$wl-z,text' |
| 11152 |
> |
allow_undefined_flag='$wl-z,nodefs' |
| 11153 |
|
archive_cmds_need_lc=no |
| 11154 |
|
hardcode_shlibpath_var=no |
| 11155 |
< |
hardcode_libdir_flag_spec='${wl}-R,$libdir' |
| 11155 |
> |
hardcode_libdir_flag_spec='$wl-R,$libdir' |
| 11156 |
|
hardcode_libdir_separator=':' |
| 11157 |
|
link_all_deplibs=yes |
| 11158 |
< |
export_dynamic_flag_spec='${wl}-Bexport' |
| 11158 |
> |
export_dynamic_flag_spec='$wl-Bexport' |
| 11159 |
|
runpath_var='LD_RUN_PATH' |
| 11160 |
|
|
| 11161 |
< |
if test "$GCC" = yes; then |
| 11162 |
< |
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 11163 |
< |
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 11161 |
> |
if test yes = "$GCC"; then |
| 11162 |
> |
archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 11163 |
> |
archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 11164 |
|
else |
| 11165 |
< |
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 11166 |
< |
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 11165 |
> |
archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 11166 |
> |
archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 11167 |
|
fi |
| 11168 |
|
;; |
| 11169 |
|
|
| 11178 |
|
;; |
| 11179 |
|
esac |
| 11180 |
|
|
| 11181 |
< |
if test x$host_vendor = xsni; then |
| 11181 |
> |
if test sni = "$host_vendor"; then |
| 11182 |
|
case $host in |
| 11183 |
|
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) |
| 11184 |
< |
export_dynamic_flag_spec='${wl}-Blargedynsym' |
| 11184 |
> |
export_dynamic_flag_spec='$wl-Blargedynsym' |
| 11185 |
|
;; |
| 11186 |
|
esac |
| 11187 |
|
fi |
| 11188 |
|
fi |
| 11189 |
|
|
| 11190 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 |
| 11191 |
< |
$as_echo "$ld_shlibs" >&6; } |
| 11192 |
< |
test "$ld_shlibs" = no && can_build_shared=no |
| 11190 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 |
| 11191 |
> |
printf "%s\n" "$ld_shlibs" >&6; } |
| 11192 |
> |
test no = "$ld_shlibs" && can_build_shared=no |
| 11193 |
|
|
| 11194 |
|
with_gnu_ld=$with_gnu_ld |
| 11195 |
|
|
| 11215 |
|
# Assume -lc should be added |
| 11216 |
|
archive_cmds_need_lc=yes |
| 11217 |
|
|
| 11218 |
< |
if test "$enable_shared" = yes && test "$GCC" = yes; then |
| 11218 |
> |
if test yes,yes = "$GCC,$enable_shared"; then |
| 11219 |
|
case $archive_cmds in |
| 11220 |
|
*'~'*) |
| 11221 |
|
# FIXME: we may have to deal with multi-command sequences. |
| 11224 |
|
# Test whether the compiler implicitly links with -lc since on some |
| 11225 |
|
# systems, -lgcc has to come before -lc. If gcc already passes -lc |
| 11226 |
|
# to ld, don't add -lc before -lgcc. |
| 11227 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 |
| 11228 |
< |
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } |
| 11229 |
< |
if ${lt_cv_archive_cmds_need_lc+:} false; then : |
| 11230 |
< |
$as_echo_n "(cached) " >&6 |
| 11231 |
< |
else |
| 11227 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 |
| 11228 |
> |
printf %s "checking whether -lc should be explicitly linked in... " >&6; } |
| 11229 |
> |
if test ${lt_cv_archive_cmds_need_lc+y} |
| 11230 |
> |
then : |
| 11231 |
> |
printf %s "(cached) " >&6 |
| 11232 |
> |
else $as_nop |
| 11233 |
|
$RM conftest* |
| 11234 |
|
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
| 11235 |
|
|
| 11236 |
|
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
| 11237 |
|
(eval $ac_compile) 2>&5 |
| 11238 |
|
ac_status=$? |
| 11239 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 11239 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 11240 |
|
test $ac_status = 0; } 2>conftest.err; then |
| 11241 |
|
soname=conftest |
| 11242 |
|
lib=conftest |
| 11254 |
|
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 |
| 11255 |
|
(eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 |
| 11256 |
|
ac_status=$? |
| 11257 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 11257 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 11258 |
|
test $ac_status = 0; } |
| 11259 |
|
then |
| 11260 |
|
lt_cv_archive_cmds_need_lc=no |
| 11268 |
|
$RM conftest* |
| 11269 |
|
|
| 11270 |
|
fi |
| 11271 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 |
| 11272 |
< |
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } |
| 11271 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 |
| 11272 |
> |
printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; } |
| 11273 |
|
archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc |
| 11274 |
|
;; |
| 11275 |
|
esac |
| 11428 |
|
|
| 11429 |
|
|
| 11430 |
|
|
| 11431 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 |
| 11432 |
< |
$as_echo_n "checking dynamic linker characteristics... " >&6; } |
| 11431 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 |
| 11432 |
> |
printf %s "checking dynamic linker characteristics... " >&6; } |
| 11433 |
|
|
| 11434 |
< |
if test "$GCC" = yes; then |
| 11434 |
> |
if test yes = "$GCC"; then |
| 11435 |
|
case $host_os in |
| 11436 |
< |
darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; |
| 11437 |
< |
*) lt_awk_arg="/^libraries:/" ;; |
| 11436 |
> |
darwin*) lt_awk_arg='/^libraries:/,/LR/' ;; |
| 11437 |
> |
*) lt_awk_arg='/^libraries:/' ;; |
| 11438 |
|
esac |
| 11439 |
|
case $host_os in |
| 11440 |
< |
mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;; |
| 11441 |
< |
*) lt_sed_strip_eq="s,=/,/,g" ;; |
| 11440 |
> |
mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;; |
| 11441 |
> |
*) lt_sed_strip_eq='s|=/|/|g' ;; |
| 11442 |
|
esac |
| 11443 |
|
lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` |
| 11444 |
|
case $lt_search_path_spec in |
| 11454 |
|
;; |
| 11455 |
|
esac |
| 11456 |
|
# Ok, now we have the path, separated by spaces, we can step through it |
| 11457 |
< |
# and add multilib dir if necessary. |
| 11457 |
> |
# and add multilib dir if necessary... |
| 11458 |
|
lt_tmp_lt_search_path_spec= |
| 11459 |
< |
lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` |
| 11459 |
> |
lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` |
| 11460 |
> |
# ...but if some path component already ends with the multilib dir we assume |
| 11461 |
> |
# that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer). |
| 11462 |
> |
case "$lt_multi_os_dir; $lt_search_path_spec " in |
| 11463 |
> |
"/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*) |
| 11464 |
> |
lt_multi_os_dir= |
| 11465 |
> |
;; |
| 11466 |
> |
esac |
| 11467 |
|
for lt_sys_path in $lt_search_path_spec; do |
| 11468 |
< |
if test -d "$lt_sys_path/$lt_multi_os_dir"; then |
| 11469 |
< |
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" |
| 11470 |
< |
else |
| 11468 |
> |
if test -d "$lt_sys_path$lt_multi_os_dir"; then |
| 11469 |
> |
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir" |
| 11470 |
> |
elif test -n "$lt_multi_os_dir"; then |
| 11471 |
|
test -d "$lt_sys_path" && \ |
| 11472 |
|
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" |
| 11473 |
|
fi |
| 11474 |
|
done |
| 11475 |
|
lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' |
| 11476 |
< |
BEGIN {RS=" "; FS="/|\n";} { |
| 11477 |
< |
lt_foo=""; |
| 11478 |
< |
lt_count=0; |
| 11476 |
> |
BEGIN {RS = " "; FS = "/|\n";} { |
| 11477 |
> |
lt_foo = ""; |
| 11478 |
> |
lt_count = 0; |
| 11479 |
|
for (lt_i = NF; lt_i > 0; lt_i--) { |
| 11480 |
|
if ($lt_i != "" && $lt_i != ".") { |
| 11481 |
|
if ($lt_i == "..") { |
| 11482 |
|
lt_count++; |
| 11483 |
|
} else { |
| 11484 |
|
if (lt_count == 0) { |
| 11485 |
< |
lt_foo="/" $lt_i lt_foo; |
| 11485 |
> |
lt_foo = "/" $lt_i lt_foo; |
| 11486 |
|
} else { |
| 11487 |
|
lt_count--; |
| 11488 |
|
} |
| 11496 |
|
# for these hosts. |
| 11497 |
|
case $host_os in |
| 11498 |
|
mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ |
| 11499 |
< |
$SED 's,/\([A-Za-z]:\),\1,g'` ;; |
| 11499 |
> |
$SED 's|/\([A-Za-z]:\)|\1|g'` ;; |
| 11500 |
|
esac |
| 11501 |
|
sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` |
| 11502 |
|
else |
| 11505 |
|
library_names_spec= |
| 11506 |
|
libname_spec='lib$name' |
| 11507 |
|
soname_spec= |
| 11508 |
< |
shrext_cmds=".so" |
| 11508 |
> |
shrext_cmds=.so |
| 11509 |
|
postinstall_cmds= |
| 11510 |
|
postuninstall_cmds= |
| 11511 |
|
finish_cmds= |
| 11522 |
|
# flags to be left without arguments |
| 11523 |
|
need_version=unknown |
| 11524 |
|
|
| 11525 |
+ |
|
| 11526 |
+ |
|
| 11527 |
|
case $host_os in |
| 11528 |
|
aix3*) |
| 11529 |
|
version_type=linux # correct to gnu/linux during the next big refactor |
| 11530 |
< |
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' |
| 11530 |
> |
library_names_spec='$libname$release$shared_ext$versuffix $libname.a' |
| 11531 |
|
shlibpath_var=LIBPATH |
| 11532 |
|
|
| 11533 |
|
# AIX 3 has no versioning support, so we append a major version to the name. |
| 11534 |
< |
soname_spec='${libname}${release}${shared_ext}$major' |
| 11534 |
> |
soname_spec='$libname$release$shared_ext$major' |
| 11535 |
|
;; |
| 11536 |
|
|
| 11537 |
|
aix[4-9]*) |
| 11539 |
|
need_lib_prefix=no |
| 11540 |
|
need_version=no |
| 11541 |
|
hardcode_into_libs=yes |
| 11542 |
< |
if test "$host_cpu" = ia64; then |
| 11542 |
> |
if test ia64 = "$host_cpu"; then |
| 11543 |
|
# AIX 5 supports IA64 |
| 11544 |
< |
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' |
| 11544 |
> |
library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' |
| 11545 |
|
shlibpath_var=LD_LIBRARY_PATH |
| 11546 |
|
else |
| 11547 |
|
# With GCC up to 2.95.x, collect2 would create an import file |
| 11548 |
|
# for dependence libraries. The import file would start with |
| 11549 |
< |
# the line `#! .'. This would cause the generated library to |
| 11550 |
< |
# depend on `.', always an invalid library. This was fixed in |
| 11549 |
> |
# the line '#! .'. This would cause the generated library to |
| 11550 |
> |
# depend on '.', always an invalid library. This was fixed in |
| 11551 |
|
# development snapshots of GCC prior to 3.0. |
| 11552 |
|
case $host_os in |
| 11553 |
|
aix4 | aix4.[01] | aix4.[01].*) |
| 11554 |
|
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' |
| 11555 |
|
echo ' yes ' |
| 11556 |
< |
echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then |
| 11556 |
> |
echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then |
| 11557 |
|
: |
| 11558 |
|
else |
| 11559 |
|
can_build_shared=no |
| 11560 |
|
fi |
| 11561 |
|
;; |
| 11562 |
|
esac |
| 11563 |
< |
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct |
| 11563 |
> |
# Using Import Files as archive members, it is possible to support |
| 11564 |
> |
# filename-based versioning of shared library archives on AIX. While |
| 11565 |
> |
# this would work for both with and without runtime linking, it will |
| 11566 |
> |
# prevent static linking of such archives. So we do filename-based |
| 11567 |
> |
# shared library versioning with .so extension only, which is used |
| 11568 |
> |
# when both runtime linking and shared linking is enabled. |
| 11569 |
> |
# Unfortunately, runtime linking may impact performance, so we do |
| 11570 |
> |
# not want this to be the default eventually. Also, we use the |
| 11571 |
> |
# versioned .so libs for executables only if there is the -brtl |
| 11572 |
> |
# linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. |
| 11573 |
> |
# To allow for filename-based versioning support, we need to create |
| 11574 |
> |
# libNAME.so.V as an archive file, containing: |
| 11575 |
> |
# *) an Import File, referring to the versioned filename of the |
| 11576 |
> |
# archive as well as the shared archive member, telling the |
| 11577 |
> |
# bitwidth (32 or 64) of that shared object, and providing the |
| 11578 |
> |
# list of exported symbols of that shared object, eventually |
| 11579 |
> |
# decorated with the 'weak' keyword |
| 11580 |
> |
# *) the shared object with the F_LOADONLY flag set, to really avoid |
| 11581 |
> |
# it being seen by the linker. |
| 11582 |
> |
# At run time we better use the real file rather than another symlink, |
| 11583 |
> |
# but for link time we create the symlink libNAME.so -> libNAME.so.V |
| 11584 |
> |
|
| 11585 |
> |
case $with_aix_soname,$aix_use_runtimelinking in |
| 11586 |
> |
# AIX (on Power*) has no versioning support, so currently we cannot hardcode correct |
| 11587 |
|
# soname into executable. Probably we can add versioning support to |
| 11588 |
|
# collect2, so additional links can be useful in future. |
| 11589 |
< |
if test "$aix_use_runtimelinking" = yes; then |
| 11589 |
> |
aix,yes) # traditional libtool |
| 11590 |
> |
dynamic_linker='AIX unversionable lib.so' |
| 11591 |
|
# If using run time linking (on AIX 4.2 or later) use lib<name>.so |
| 11592 |
|
# instead of lib<name>.a to let people know that these are not |
| 11593 |
|
# typical AIX shared libraries. |
| 11594 |
< |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
| 11595 |
< |
else |
| 11594 |
> |
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 11595 |
> |
;; |
| 11596 |
> |
aix,no) # traditional AIX only |
| 11597 |
> |
dynamic_linker='AIX lib.a(lib.so.V)' |
| 11598 |
|
# We preserve .a as extension for shared libraries through AIX4.2 |
| 11599 |
|
# and later when we are not doing run time linking. |
| 11600 |
< |
library_names_spec='${libname}${release}.a $libname.a' |
| 11601 |
< |
soname_spec='${libname}${release}${shared_ext}$major' |
| 11602 |
< |
fi |
| 11600 |
> |
library_names_spec='$libname$release.a $libname.a' |
| 11601 |
> |
soname_spec='$libname$release$shared_ext$major' |
| 11602 |
> |
;; |
| 11603 |
> |
svr4,*) # full svr4 only |
| 11604 |
> |
dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)" |
| 11605 |
> |
library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' |
| 11606 |
> |
# We do not specify a path in Import Files, so LIBPATH fires. |
| 11607 |
> |
shlibpath_overrides_runpath=yes |
| 11608 |
> |
;; |
| 11609 |
> |
*,yes) # both, prefer svr4 |
| 11610 |
> |
dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)" |
| 11611 |
> |
library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' |
| 11612 |
> |
# unpreferred sharedlib libNAME.a needs extra handling |
| 11613 |
> |
postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"' |
| 11614 |
> |
postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"' |
| 11615 |
> |
# We do not specify a path in Import Files, so LIBPATH fires. |
| 11616 |
> |
shlibpath_overrides_runpath=yes |
| 11617 |
> |
;; |
| 11618 |
> |
*,no) # both, prefer aix |
| 11619 |
> |
dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)" |
| 11620 |
> |
library_names_spec='$libname$release.a $libname.a' |
| 11621 |
> |
soname_spec='$libname$release$shared_ext$major' |
| 11622 |
> |
# unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling |
| 11623 |
> |
postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)' |
| 11624 |
> |
postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"' |
| 11625 |
> |
;; |
| 11626 |
> |
esac |
| 11627 |
|
shlibpath_var=LIBPATH |
| 11628 |
|
fi |
| 11629 |
|
;; |
| 11633 |
|
powerpc) |
| 11634 |
|
# Since July 2007 AmigaOS4 officially supports .so libraries. |
| 11635 |
|
# When compiling the executable, add -use-dynld -Lsobjs: to the compileline. |
| 11636 |
< |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
| 11636 |
> |
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 11637 |
|
;; |
| 11638 |
|
m68k) |
| 11639 |
|
library_names_spec='$libname.ixlibrary $libname.a' |
| 11640 |
|
# Create ${libname}_ixlibrary.a entries in /sys/libs. |
| 11641 |
< |
finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' |
| 11641 |
> |
finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' |
| 11642 |
|
;; |
| 11643 |
|
esac |
| 11644 |
|
;; |
| 11645 |
|
|
| 11646 |
|
beos*) |
| 11647 |
< |
library_names_spec='${libname}${shared_ext}' |
| 11647 |
> |
library_names_spec='$libname$shared_ext' |
| 11648 |
|
dynamic_linker="$host_os ld.so" |
| 11649 |
|
shlibpath_var=LIBRARY_PATH |
| 11650 |
|
;; |
| 11652 |
|
bsdi[45]*) |
| 11653 |
|
version_type=linux # correct to gnu/linux during the next big refactor |
| 11654 |
|
need_version=no |
| 11655 |
< |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
| 11656 |
< |
soname_spec='${libname}${release}${shared_ext}$major' |
| 11655 |
> |
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 11656 |
> |
soname_spec='$libname$release$shared_ext$major' |
| 11657 |
|
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' |
| 11658 |
|
shlibpath_var=LD_LIBRARY_PATH |
| 11659 |
|
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" |
| 11665 |
|
|
| 11666 |
|
cygwin* | mingw* | pw32* | cegcc*) |
| 11667 |
|
version_type=windows |
| 11668 |
< |
shrext_cmds=".dll" |
| 11668 |
> |
shrext_cmds=.dll |
| 11669 |
|
need_version=no |
| 11670 |
|
need_lib_prefix=no |
| 11671 |
|
|
| 11674 |
|
# gcc |
| 11675 |
|
library_names_spec='$libname.dll.a' |
| 11676 |
|
# DLL is installed to $(libdir)/../bin by postinstall_cmds |
| 11677 |
< |
postinstall_cmds='base_file=`basename \${file}`~ |
| 11678 |
< |
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ |
| 11677 |
> |
postinstall_cmds='base_file=`basename \$file`~ |
| 11678 |
> |
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ |
| 11679 |
|
dldir=$destdir/`dirname \$dlpath`~ |
| 11680 |
|
test -d \$dldir || mkdir -p \$dldir~ |
| 11681 |
|
$install_prog $dir/$dlname \$dldir/$dlname~ |
| 11691 |
|
case $host_os in |
| 11692 |
|
cygwin*) |
| 11693 |
|
# Cygwin DLLs use 'cyg' prefix rather than 'lib' |
| 11694 |
< |
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
| 11694 |
> |
soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' |
| 11695 |
|
|
| 11696 |
|
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" |
| 11697 |
|
;; |
| 11698 |
|
mingw* | cegcc*) |
| 11699 |
|
# MinGW DLLs use traditional 'lib' prefix |
| 11700 |
< |
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
| 11700 |
> |
soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' |
| 11701 |
|
;; |
| 11702 |
|
pw32*) |
| 11703 |
|
# pw32 DLLs use 'pw' prefix rather than 'lib' |
| 11704 |
< |
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
| 11704 |
> |
library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' |
| 11705 |
|
;; |
| 11706 |
|
esac |
| 11707 |
|
dynamic_linker='Win32 ld.exe' |
| 11708 |
|
;; |
| 11709 |
|
|
| 11710 |
< |
*,cl*) |
| 11711 |
< |
# Native MSVC |
| 11710 |
> |
*,cl* | *,icl*) |
| 11711 |
> |
# Native MSVC or ICC |
| 11712 |
|
libname_spec='$name' |
| 11713 |
< |
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
| 11714 |
< |
library_names_spec='${libname}.dll.lib' |
| 11713 |
> |
soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' |
| 11714 |
> |
library_names_spec='$libname.dll.lib' |
| 11715 |
|
|
| 11716 |
|
case $build_os in |
| 11717 |
|
mingw*) |
| 11727 |
|
done |
| 11728 |
|
IFS=$lt_save_ifs |
| 11729 |
|
# Convert to MSYS style. |
| 11730 |
< |
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` |
| 11730 |
> |
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` |
| 11731 |
|
;; |
| 11732 |
|
cygwin*) |
| 11733 |
|
# Convert to unix form, then to dos form, then back to unix form |
| 11738 |
|
sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
| 11739 |
|
;; |
| 11740 |
|
*) |
| 11741 |
< |
sys_lib_search_path_spec="$LIB" |
| 11741 |
> |
sys_lib_search_path_spec=$LIB |
| 11742 |
|
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then |
| 11743 |
|
# It is most probably a Windows format PATH. |
| 11744 |
|
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` |
| 11751 |
|
esac |
| 11752 |
|
|
| 11753 |
|
# DLL is installed to $(libdir)/../bin by postinstall_cmds |
| 11754 |
< |
postinstall_cmds='base_file=`basename \${file}`~ |
| 11755 |
< |
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ |
| 11754 |
> |
postinstall_cmds='base_file=`basename \$file`~ |
| 11755 |
> |
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ |
| 11756 |
|
dldir=$destdir/`dirname \$dlpath`~ |
| 11757 |
|
test -d \$dldir || mkdir -p \$dldir~ |
| 11758 |
|
$install_prog $dir/$dlname \$dldir/$dlname' |
| 11764 |
|
;; |
| 11765 |
|
|
| 11766 |
|
*) |
| 11767 |
< |
# Assume MSVC wrapper |
| 11768 |
< |
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' |
| 11767 |
> |
# Assume MSVC and ICC wrapper |
| 11768 |
> |
library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib' |
| 11769 |
|
dynamic_linker='Win32 ld.exe' |
| 11770 |
|
;; |
| 11771 |
|
esac |
| 11778 |
|
version_type=darwin |
| 11779 |
|
need_lib_prefix=no |
| 11780 |
|
need_version=no |
| 11781 |
< |
library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' |
| 11782 |
< |
soname_spec='${libname}${release}${major}$shared_ext' |
| 11781 |
> |
library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' |
| 11782 |
> |
soname_spec='$libname$release$major$shared_ext' |
| 11783 |
|
shlibpath_overrides_runpath=yes |
| 11784 |
|
shlibpath_var=DYLD_LIBRARY_PATH |
| 11785 |
|
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' |
| 11792 |
|
version_type=linux # correct to gnu/linux during the next big refactor |
| 11793 |
|
need_lib_prefix=no |
| 11794 |
|
need_version=no |
| 11795 |
< |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' |
| 11796 |
< |
soname_spec='${libname}${release}${shared_ext}$major' |
| 11795 |
> |
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 11796 |
> |
soname_spec='$libname$release$shared_ext$major' |
| 11797 |
|
shlibpath_var=LD_LIBRARY_PATH |
| 11798 |
|
;; |
| 11799 |
|
|
| 11800 |
< |
freebsd* | dragonfly*) |
| 11800 |
> |
freebsd* | dragonfly* | midnightbsd*) |
| 11801 |
|
# DragonFly does not have aout. When/if they implement a new |
| 11802 |
|
# versioning mechanism, adjust this. |
| 11803 |
|
if test -x /usr/bin/objformat; then |
| 11811 |
|
version_type=freebsd-$objformat |
| 11812 |
|
case $version_type in |
| 11813 |
|
freebsd-elf*) |
| 11814 |
< |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' |
| 11814 |
> |
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 11815 |
> |
soname_spec='$libname$release$shared_ext$major' |
| 11816 |
|
need_version=no |
| 11817 |
|
need_lib_prefix=no |
| 11818 |
|
;; |
| 11819 |
|
freebsd-*) |
| 11820 |
< |
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' |
| 11820 |
> |
library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' |
| 11821 |
|
need_version=yes |
| 11822 |
|
;; |
| 11823 |
|
esac |
| 11842 |
|
esac |
| 11843 |
|
;; |
| 11844 |
|
|
| 10945 |
– |
gnu*) |
| 10946 |
– |
version_type=linux # correct to gnu/linux during the next big refactor |
| 10947 |
– |
need_lib_prefix=no |
| 10948 |
– |
need_version=no |
| 10949 |
– |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' |
| 10950 |
– |
soname_spec='${libname}${release}${shared_ext}$major' |
| 10951 |
– |
shlibpath_var=LD_LIBRARY_PATH |
| 10952 |
– |
shlibpath_overrides_runpath=no |
| 10953 |
– |
hardcode_into_libs=yes |
| 10954 |
– |
;; |
| 10955 |
– |
|
| 11845 |
|
haiku*) |
| 11846 |
|
version_type=linux # correct to gnu/linux during the next big refactor |
| 11847 |
|
need_lib_prefix=no |
| 11848 |
|
need_version=no |
| 11849 |
|
dynamic_linker="$host_os runtime_loader" |
| 11850 |
< |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' |
| 11851 |
< |
soname_spec='${libname}${release}${shared_ext}$major' |
| 11850 |
> |
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 11851 |
> |
soname_spec='$libname$release$shared_ext$major' |
| 11852 |
|
shlibpath_var=LIBRARY_PATH |
| 11853 |
< |
shlibpath_overrides_runpath=yes |
| 11853 |
> |
shlibpath_overrides_runpath=no |
| 11854 |
|
sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' |
| 11855 |
|
hardcode_into_libs=yes |
| 11856 |
|
;; |
| 11868 |
|
dynamic_linker="$host_os dld.so" |
| 11869 |
|
shlibpath_var=LD_LIBRARY_PATH |
| 11870 |
|
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. |
| 11871 |
< |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
| 11872 |
< |
soname_spec='${libname}${release}${shared_ext}$major' |
| 11873 |
< |
if test "X$HPUX_IA64_MODE" = X32; then |
| 11871 |
> |
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 11872 |
> |
soname_spec='$libname$release$shared_ext$major' |
| 11873 |
> |
if test 32 = "$HPUX_IA64_MODE"; then |
| 11874 |
|
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" |
| 11875 |
+ |
sys_lib_dlsearch_path_spec=/usr/lib/hpux32 |
| 11876 |
|
else |
| 11877 |
|
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" |
| 11878 |
+ |
sys_lib_dlsearch_path_spec=/usr/lib/hpux64 |
| 11879 |
|
fi |
| 10989 |
– |
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
| 11880 |
|
;; |
| 11881 |
|
hppa*64*) |
| 11882 |
|
shrext_cmds='.sl' |
| 11884 |
|
dynamic_linker="$host_os dld.sl" |
| 11885 |
|
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH |
| 11886 |
|
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. |
| 11887 |
< |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
| 11888 |
< |
soname_spec='${libname}${release}${shared_ext}$major' |
| 11887 |
> |
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 11888 |
> |
soname_spec='$libname$release$shared_ext$major' |
| 11889 |
|
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" |
| 11890 |
|
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
| 11891 |
|
;; |
| 11894 |
|
dynamic_linker="$host_os dld.sl" |
| 11895 |
|
shlibpath_var=SHLIB_PATH |
| 11896 |
|
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH |
| 11897 |
< |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
| 11898 |
< |
soname_spec='${libname}${release}${shared_ext}$major' |
| 11897 |
> |
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 11898 |
> |
soname_spec='$libname$release$shared_ext$major' |
| 11899 |
|
;; |
| 11900 |
|
esac |
| 11901 |
|
# HP-UX runs *really* slowly unless shared libraries are mode 555, ... |
| 11908 |
|
version_type=linux # correct to gnu/linux during the next big refactor |
| 11909 |
|
need_lib_prefix=no |
| 11910 |
|
need_version=no |
| 11911 |
< |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
| 11912 |
< |
soname_spec='${libname}${release}${shared_ext}$major' |
| 11911 |
> |
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 11912 |
> |
soname_spec='$libname$release$shared_ext$major' |
| 11913 |
|
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' |
| 11914 |
|
shlibpath_var=LD_LIBRARY_PATH |
| 11915 |
|
shlibpath_overrides_runpath=no |
| 11920 |
|
case $host_os in |
| 11921 |
|
nonstopux*) version_type=nonstopux ;; |
| 11922 |
|
*) |
| 11923 |
< |
if test "$lt_cv_prog_gnu_ld" = yes; then |
| 11923 |
> |
if test yes = "$lt_cv_prog_gnu_ld"; then |
| 11924 |
|
version_type=linux # correct to gnu/linux during the next big refactor |
| 11925 |
|
else |
| 11926 |
|
version_type=irix |
| 11928 |
|
esac |
| 11929 |
|
need_lib_prefix=no |
| 11930 |
|
need_version=no |
| 11931 |
< |
soname_spec='${libname}${release}${shared_ext}$major' |
| 11932 |
< |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' |
| 11931 |
> |
soname_spec='$libname$release$shared_ext$major' |
| 11932 |
> |
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' |
| 11933 |
|
case $host_os in |
| 11934 |
|
irix5* | nonstopux*) |
| 11935 |
|
libsuff= shlibsuff= |
| 11948 |
|
esac |
| 11949 |
|
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH |
| 11950 |
|
shlibpath_overrides_runpath=no |
| 11951 |
< |
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" |
| 11952 |
< |
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" |
| 11951 |
> |
sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" |
| 11952 |
> |
sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" |
| 11953 |
|
hardcode_into_libs=yes |
| 11954 |
|
;; |
| 11955 |
|
|
| 11958 |
|
dynamic_linker=no |
| 11959 |
|
;; |
| 11960 |
|
|
| 11961 |
+ |
linux*android*) |
| 11962 |
+ |
version_type=none # Android doesn't support versioned libraries. |
| 11963 |
+ |
need_lib_prefix=no |
| 11964 |
+ |
need_version=no |
| 11965 |
+ |
library_names_spec='$libname$release$shared_ext' |
| 11966 |
+ |
soname_spec='$libname$release$shared_ext' |
| 11967 |
+ |
finish_cmds= |
| 11968 |
+ |
shlibpath_var=LD_LIBRARY_PATH |
| 11969 |
+ |
shlibpath_overrides_runpath=yes |
| 11970 |
+ |
|
| 11971 |
+ |
# This implies no fast_install, which is unacceptable. |
| 11972 |
+ |
# Some rework will be needed to allow for fast_install |
| 11973 |
+ |
# before this can be enabled. |
| 11974 |
+ |
hardcode_into_libs=yes |
| 11975 |
+ |
|
| 11976 |
+ |
dynamic_linker='Android linker' |
| 11977 |
+ |
# Don't embed -rpath directories since the linker doesn't support them. |
| 11978 |
+ |
hardcode_libdir_flag_spec='-L$libdir' |
| 11979 |
+ |
;; |
| 11980 |
+ |
|
| 11981 |
|
# This must be glibc/ELF. |
| 11982 |
< |
linux* | k*bsd*-gnu | kopensolaris*-gnu) |
| 11982 |
> |
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) |
| 11983 |
|
version_type=linux # correct to gnu/linux during the next big refactor |
| 11984 |
|
need_lib_prefix=no |
| 11985 |
|
need_version=no |
| 11986 |
< |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
| 11987 |
< |
soname_spec='${libname}${release}${shared_ext}$major' |
| 11986 |
> |
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 11987 |
> |
soname_spec='$libname$release$shared_ext$major' |
| 11988 |
|
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' |
| 11989 |
|
shlibpath_var=LD_LIBRARY_PATH |
| 11990 |
|
shlibpath_overrides_runpath=no |
| 11991 |
|
|
| 11992 |
|
# Some binutils ld are patched to set DT_RUNPATH |
| 11993 |
< |
if ${lt_cv_shlibpath_overrides_runpath+:} false; then : |
| 11994 |
< |
$as_echo_n "(cached) " >&6 |
| 11995 |
< |
else |
| 11993 |
> |
if test ${lt_cv_shlibpath_overrides_runpath+y} |
| 11994 |
> |
then : |
| 11995 |
> |
printf %s "(cached) " >&6 |
| 11996 |
> |
else $as_nop |
| 11997 |
|
lt_cv_shlibpath_overrides_runpath=no |
| 11998 |
|
save_LDFLAGS=$LDFLAGS |
| 11999 |
|
save_libdir=$libdir |
| 12003 |
|
/* end confdefs.h. */ |
| 12004 |
|
|
| 12005 |
|
int |
| 12006 |
< |
main () |
| 12006 |
> |
main (void) |
| 12007 |
|
{ |
| 12008 |
|
|
| 12009 |
|
; |
| 12010 |
|
return 0; |
| 12011 |
|
} |
| 12012 |
|
_ACEOF |
| 12013 |
< |
if ac_fn_c_try_link "$LINENO"; then : |
| 12014 |
< |
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : |
| 12013 |
> |
if ac_fn_c_try_link "$LINENO" |
| 12014 |
> |
then : |
| 12015 |
> |
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null |
| 12016 |
> |
then : |
| 12017 |
|
lt_cv_shlibpath_overrides_runpath=yes |
| 12018 |
|
fi |
| 12019 |
|
fi |
| 12020 |
< |
rm -f core conftest.err conftest.$ac_objext \ |
| 12020 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 12021 |
|
conftest$ac_exeext conftest.$ac_ext |
| 12022 |
|
LDFLAGS=$save_LDFLAGS |
| 12023 |
|
libdir=$save_libdir |
| 12031 |
|
# before this can be enabled. |
| 12032 |
|
hardcode_into_libs=yes |
| 12033 |
|
|
| 12034 |
< |
# Append ld.so.conf contents to the search path |
| 12034 |
> |
# Ideally, we could use ldconfig to report *all* directores which are |
| 12035 |
> |
# searched for libraries, however this is still not possible. Aside from not |
| 12036 |
> |
# being certain /sbin/ldconfig is available, command |
| 12037 |
> |
# 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, |
| 12038 |
> |
# even though it is searched at run-time. Try to do the best guess by |
| 12039 |
> |
# appending ld.so.conf contents (and includes) to the search path. |
| 12040 |
|
if test -f /etc/ld.so.conf; then |
| 12041 |
|
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '` |
| 12042 |
|
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" |
| 12056 |
|
need_lib_prefix=no |
| 12057 |
|
need_version=no |
| 12058 |
|
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
| 12059 |
< |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
| 12059 |
> |
library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' |
| 12060 |
|
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
| 12061 |
|
dynamic_linker='NetBSD (a.out) ld.so' |
| 12062 |
|
else |
| 12063 |
< |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
| 12064 |
< |
soname_spec='${libname}${release}${shared_ext}$major' |
| 12063 |
> |
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 12064 |
> |
soname_spec='$libname$release$shared_ext$major' |
| 12065 |
|
dynamic_linker='NetBSD ld.elf_so' |
| 12066 |
|
fi |
| 12067 |
|
shlibpath_var=LD_LIBRARY_PATH |
| 12071 |
|
|
| 12072 |
|
newsos6) |
| 12073 |
|
version_type=linux # correct to gnu/linux during the next big refactor |
| 12074 |
< |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
| 12074 |
> |
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 12075 |
|
shlibpath_var=LD_LIBRARY_PATH |
| 12076 |
|
shlibpath_overrides_runpath=yes |
| 12077 |
|
;; |
| 12080 |
|
version_type=qnx |
| 12081 |
|
need_lib_prefix=no |
| 12082 |
|
need_version=no |
| 12083 |
< |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
| 12084 |
< |
soname_spec='${libname}${release}${shared_ext}$major' |
| 12083 |
> |
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 12084 |
> |
soname_spec='$libname$release$shared_ext$major' |
| 12085 |
|
shlibpath_var=LD_LIBRARY_PATH |
| 12086 |
|
shlibpath_overrides_runpath=no |
| 12087 |
|
hardcode_into_libs=yes |
| 12088 |
|
dynamic_linker='ldqnx.so' |
| 12089 |
|
;; |
| 12090 |
|
|
| 12091 |
< |
openbsd*) |
| 12091 |
> |
openbsd* | bitrig*) |
| 12092 |
|
version_type=sunos |
| 12093 |
< |
sys_lib_dlsearch_path_spec="/usr/lib" |
| 12093 |
> |
sys_lib_dlsearch_path_spec=/usr/lib |
| 12094 |
|
need_lib_prefix=no |
| 12095 |
< |
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. |
| 12096 |
< |
case $host_os in |
| 11179 |
< |
openbsd3.3 | openbsd3.3.*) need_version=yes ;; |
| 11180 |
< |
*) need_version=no ;; |
| 11181 |
< |
esac |
| 11182 |
< |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
| 11183 |
< |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
| 11184 |
< |
shlibpath_var=LD_LIBRARY_PATH |
| 11185 |
< |
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
| 11186 |
< |
case $host_os in |
| 11187 |
< |
openbsd2.[89] | openbsd2.[89].*) |
| 11188 |
< |
shlibpath_overrides_runpath=no |
| 11189 |
< |
;; |
| 11190 |
< |
*) |
| 11191 |
< |
shlibpath_overrides_runpath=yes |
| 11192 |
< |
;; |
| 11193 |
< |
esac |
| 12095 |
> |
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then |
| 12096 |
> |
need_version=no |
| 12097 |
|
else |
| 12098 |
< |
shlibpath_overrides_runpath=yes |
| 12098 |
> |
need_version=yes |
| 12099 |
|
fi |
| 12100 |
+ |
library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' |
| 12101 |
+ |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
| 12102 |
+ |
shlibpath_var=LD_LIBRARY_PATH |
| 12103 |
+ |
shlibpath_overrides_runpath=yes |
| 12104 |
|
;; |
| 12105 |
|
|
| 12106 |
|
os2*) |
| 12107 |
|
libname_spec='$name' |
| 12108 |
< |
shrext_cmds=".dll" |
| 12108 |
> |
version_type=windows |
| 12109 |
> |
shrext_cmds=.dll |
| 12110 |
> |
need_version=no |
| 12111 |
|
need_lib_prefix=no |
| 12112 |
< |
library_names_spec='$libname${shared_ext} $libname.a' |
| 12112 |
> |
# OS/2 can only load a DLL with a base name of 8 characters or less. |
| 12113 |
> |
soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; |
| 12114 |
> |
v=$($ECHO $release$versuffix | tr -d .-); |
| 12115 |
> |
n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); |
| 12116 |
> |
$ECHO $n$v`$shared_ext' |
| 12117 |
> |
library_names_spec='${libname}_dll.$libext' |
| 12118 |
|
dynamic_linker='OS/2 ld.exe' |
| 12119 |
< |
shlibpath_var=LIBPATH |
| 12119 |
> |
shlibpath_var=BEGINLIBPATH |
| 12120 |
> |
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" |
| 12121 |
> |
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
| 12122 |
> |
postinstall_cmds='base_file=`basename \$file`~ |
| 12123 |
> |
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ |
| 12124 |
> |
dldir=$destdir/`dirname \$dlpath`~ |
| 12125 |
> |
test -d \$dldir || mkdir -p \$dldir~ |
| 12126 |
> |
$install_prog $dir/$dlname \$dldir/$dlname~ |
| 12127 |
> |
chmod a+x \$dldir/$dlname~ |
| 12128 |
> |
if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then |
| 12129 |
> |
eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; |
| 12130 |
> |
fi' |
| 12131 |
> |
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ |
| 12132 |
> |
dlpath=$dir/\$dldll~ |
| 12133 |
> |
$RM \$dlpath' |
| 12134 |
|
;; |
| 12135 |
|
|
| 12136 |
|
osf3* | osf4* | osf5*) |
| 12137 |
|
version_type=osf |
| 12138 |
|
need_lib_prefix=no |
| 12139 |
|
need_version=no |
| 12140 |
< |
soname_spec='${libname}${release}${shared_ext}$major' |
| 12141 |
< |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
| 12140 |
> |
soname_spec='$libname$release$shared_ext$major' |
| 12141 |
> |
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 12142 |
|
shlibpath_var=LD_LIBRARY_PATH |
| 12143 |
|
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" |
| 12144 |
< |
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" |
| 12144 |
> |
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
| 12145 |
|
;; |
| 12146 |
|
|
| 12147 |
|
rdos*) |
| 12152 |
|
version_type=linux # correct to gnu/linux during the next big refactor |
| 12153 |
|
need_lib_prefix=no |
| 12154 |
|
need_version=no |
| 12155 |
< |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
| 12156 |
< |
soname_spec='${libname}${release}${shared_ext}$major' |
| 12155 |
> |
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 12156 |
> |
soname_spec='$libname$release$shared_ext$major' |
| 12157 |
|
shlibpath_var=LD_LIBRARY_PATH |
| 12158 |
|
shlibpath_overrides_runpath=yes |
| 12159 |
|
hardcode_into_libs=yes |
| 12163 |
|
|
| 12164 |
|
sunos4*) |
| 12165 |
|
version_type=sunos |
| 12166 |
< |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
| 12166 |
> |
library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' |
| 12167 |
|
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' |
| 12168 |
|
shlibpath_var=LD_LIBRARY_PATH |
| 12169 |
|
shlibpath_overrides_runpath=yes |
| 12170 |
< |
if test "$with_gnu_ld" = yes; then |
| 12170 |
> |
if test yes = "$with_gnu_ld"; then |
| 12171 |
|
need_lib_prefix=no |
| 12172 |
|
fi |
| 12173 |
|
need_version=yes |
| 12175 |
|
|
| 12176 |
|
sysv4 | sysv4.3*) |
| 12177 |
|
version_type=linux # correct to gnu/linux during the next big refactor |
| 12178 |
< |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
| 12179 |
< |
soname_spec='${libname}${release}${shared_ext}$major' |
| 12178 |
> |
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 12179 |
> |
soname_spec='$libname$release$shared_ext$major' |
| 12180 |
|
shlibpath_var=LD_LIBRARY_PATH |
| 12181 |
|
case $host_vendor in |
| 12182 |
|
sni) |
| 12197 |
|
;; |
| 12198 |
|
|
| 12199 |
|
sysv4*MP*) |
| 12200 |
< |
if test -d /usr/nec ;then |
| 12200 |
> |
if test -d /usr/nec; then |
| 12201 |
|
version_type=linux # correct to gnu/linux during the next big refactor |
| 12202 |
< |
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' |
| 12203 |
< |
soname_spec='$libname${shared_ext}.$major' |
| 12202 |
> |
library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' |
| 12203 |
> |
soname_spec='$libname$shared_ext.$major' |
| 12204 |
|
shlibpath_var=LD_LIBRARY_PATH |
| 12205 |
|
fi |
| 12206 |
|
;; |
| 12207 |
|
|
| 12208 |
|
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) |
| 12209 |
< |
version_type=freebsd-elf |
| 12209 |
> |
version_type=sco |
| 12210 |
|
need_lib_prefix=no |
| 12211 |
|
need_version=no |
| 12212 |
< |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' |
| 12213 |
< |
soname_spec='${libname}${release}${shared_ext}$major' |
| 12212 |
> |
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' |
| 12213 |
> |
soname_spec='$libname$release$shared_ext$major' |
| 12214 |
|
shlibpath_var=LD_LIBRARY_PATH |
| 12215 |
|
shlibpath_overrides_runpath=yes |
| 12216 |
|
hardcode_into_libs=yes |
| 12217 |
< |
if test "$with_gnu_ld" = yes; then |
| 12217 |
> |
if test yes = "$with_gnu_ld"; then |
| 12218 |
|
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' |
| 12219 |
|
else |
| 12220 |
|
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' |
| 12232 |
|
version_type=linux # correct to gnu/linux during the next big refactor |
| 12233 |
|
need_lib_prefix=no |
| 12234 |
|
need_version=no |
| 12235 |
< |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
| 12235 |
> |
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 12236 |
|
shlibpath_var=LD_LIBRARY_PATH |
| 12237 |
|
shlibpath_overrides_runpath=no |
| 12238 |
|
hardcode_into_libs=yes |
| 12240 |
|
|
| 12241 |
|
uts4*) |
| 12242 |
|
version_type=linux # correct to gnu/linux during the next big refactor |
| 12243 |
< |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
| 12244 |
< |
soname_spec='${libname}${release}${shared_ext}$major' |
| 12243 |
> |
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 12244 |
> |
soname_spec='$libname$release$shared_ext$major' |
| 12245 |
|
shlibpath_var=LD_LIBRARY_PATH |
| 12246 |
|
;; |
| 12247 |
|
|
| 12249 |
|
dynamic_linker=no |
| 12250 |
|
;; |
| 12251 |
|
esac |
| 12252 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 |
| 12253 |
< |
$as_echo "$dynamic_linker" >&6; } |
| 12254 |
< |
test "$dynamic_linker" = no && can_build_shared=no |
| 12252 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 |
| 12253 |
> |
printf "%s\n" "$dynamic_linker" >&6; } |
| 12254 |
> |
test no = "$dynamic_linker" && can_build_shared=no |
| 12255 |
|
|
| 12256 |
|
variables_saved_for_relink="PATH $shlibpath_var $runpath_var" |
| 12257 |
< |
if test "$GCC" = yes; then |
| 12257 |
> |
if test yes = "$GCC"; then |
| 12258 |
|
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" |
| 12259 |
|
fi |
| 12260 |
|
|
| 12261 |
< |
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then |
| 12262 |
< |
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" |
| 12261 |
> |
if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then |
| 12262 |
> |
sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec |
| 12263 |
|
fi |
| 12264 |
< |
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then |
| 12265 |
< |
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" |
| 12264 |
> |
|
| 12265 |
> |
if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then |
| 12266 |
> |
sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec |
| 12267 |
|
fi |
| 12268 |
|
|
| 12269 |
+ |
# remember unaugmented sys_lib_dlsearch_path content for libtool script decls... |
| 12270 |
+ |
configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec |
| 12271 |
|
|
| 12272 |
+ |
# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code |
| 12273 |
+ |
func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" |
| 12274 |
|
|
| 12275 |
+ |
# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool |
| 12276 |
+ |
configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH |
| 12277 |
|
|
| 12278 |
|
|
| 12279 |
|
|
| 12363 |
|
|
| 12364 |
|
|
| 12365 |
|
|
| 12366 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 |
| 12367 |
< |
$as_echo_n "checking how to hardcode library paths into programs... " >&6; } |
| 12366 |
> |
|
| 12367 |
> |
|
| 12368 |
> |
|
| 12369 |
> |
|
| 12370 |
> |
|
| 12371 |
> |
|
| 12372 |
> |
|
| 12373 |
> |
|
| 12374 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 |
| 12375 |
> |
printf %s "checking how to hardcode library paths into programs... " >&6; } |
| 12376 |
|
hardcode_action= |
| 12377 |
|
if test -n "$hardcode_libdir_flag_spec" || |
| 12378 |
|
test -n "$runpath_var" || |
| 12379 |
< |
test "X$hardcode_automatic" = "Xyes" ; then |
| 12379 |
> |
test yes = "$hardcode_automatic"; then |
| 12380 |
|
|
| 12381 |
|
# We can hardcode non-existent directories. |
| 12382 |
< |
if test "$hardcode_direct" != no && |
| 12382 |
> |
if test no != "$hardcode_direct" && |
| 12383 |
|
# If the only mechanism to avoid hardcoding is shlibpath_var, we |
| 12384 |
|
# have to relink, otherwise we might link with an installed library |
| 12385 |
|
# when we should be linking with a yet-to-be-installed one |
| 12386 |
< |
## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no && |
| 12387 |
< |
test "$hardcode_minus_L" != no; then |
| 12386 |
> |
## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" && |
| 12387 |
> |
test no != "$hardcode_minus_L"; then |
| 12388 |
|
# Linking always hardcodes the temporary library directory. |
| 12389 |
|
hardcode_action=relink |
| 12390 |
|
else |
| 12396 |
|
# directories. |
| 12397 |
|
hardcode_action=unsupported |
| 12398 |
|
fi |
| 12399 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 |
| 12400 |
< |
$as_echo "$hardcode_action" >&6; } |
| 12399 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 |
| 12400 |
> |
printf "%s\n" "$hardcode_action" >&6; } |
| 12401 |
|
|
| 12402 |
< |
if test "$hardcode_action" = relink || |
| 12403 |
< |
test "$inherit_rpath" = yes; then |
| 12402 |
> |
if test relink = "$hardcode_action" || |
| 12403 |
> |
test yes = "$inherit_rpath"; then |
| 12404 |
|
# Fast installation is not supported |
| 12405 |
|
enable_fast_install=no |
| 12406 |
< |
elif test "$shlibpath_overrides_runpath" = yes || |
| 12407 |
< |
test "$enable_shared" = no; then |
| 12406 |
> |
elif test yes = "$shlibpath_overrides_runpath" || |
| 12407 |
> |
test no = "$enable_shared"; then |
| 12408 |
|
# Fast installation is not necessary |
| 12409 |
|
enable_fast_install=needless |
| 12410 |
|
fi |
| 12414 |
|
|
| 12415 |
|
|
| 12416 |
|
|
| 12417 |
< |
if test "x$enable_dlopen" != xyes; then |
| 12417 |
> |
if test yes != "$enable_dlopen"; then |
| 12418 |
|
enable_dlopen=unknown |
| 12419 |
|
enable_dlopen_self=unknown |
| 12420 |
|
enable_dlopen_self_static=unknown |
| 12424 |
|
|
| 12425 |
|
case $host_os in |
| 12426 |
|
beos*) |
| 12427 |
< |
lt_cv_dlopen="load_add_on" |
| 12427 |
> |
lt_cv_dlopen=load_add_on |
| 12428 |
|
lt_cv_dlopen_libs= |
| 12429 |
|
lt_cv_dlopen_self=yes |
| 12430 |
|
;; |
| 12431 |
|
|
| 12432 |
|
mingw* | pw32* | cegcc*) |
| 12433 |
< |
lt_cv_dlopen="LoadLibrary" |
| 12433 |
> |
lt_cv_dlopen=LoadLibrary |
| 12434 |
|
lt_cv_dlopen_libs= |
| 12435 |
|
;; |
| 12436 |
|
|
| 12437 |
|
cygwin*) |
| 12438 |
< |
lt_cv_dlopen="dlopen" |
| 12438 |
> |
lt_cv_dlopen=dlopen |
| 12439 |
|
lt_cv_dlopen_libs= |
| 12440 |
|
;; |
| 12441 |
|
|
| 12442 |
|
darwin*) |
| 12443 |
< |
# if libdl is installed we need to link against it |
| 12444 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 |
| 12445 |
< |
$as_echo_n "checking for dlopen in -ldl... " >&6; } |
| 12446 |
< |
if ${ac_cv_lib_dl_dlopen+:} false; then : |
| 12447 |
< |
$as_echo_n "(cached) " >&6 |
| 12448 |
< |
else |
| 12443 |
> |
# if libdl is installed we need to link against it |
| 12444 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 |
| 12445 |
> |
printf %s "checking for dlopen in -ldl... " >&6; } |
| 12446 |
> |
if test ${ac_cv_lib_dl_dlopen+y} |
| 12447 |
> |
then : |
| 12448 |
> |
printf %s "(cached) " >&6 |
| 12449 |
> |
else $as_nop |
| 12450 |
|
ac_check_lib_save_LIBS=$LIBS |
| 12451 |
|
LIBS="-ldl $LIBS" |
| 12452 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 12455 |
|
/* Override any GCC internal prototype to avoid an error. |
| 12456 |
|
Use char because int might match the return type of a GCC |
| 12457 |
|
builtin and then its argument prototype would still apply. */ |
| 11514 |
– |
#ifdef __cplusplus |
| 11515 |
– |
extern "C" |
| 11516 |
– |
#endif |
| 12458 |
|
char dlopen (); |
| 12459 |
|
int |
| 12460 |
< |
main () |
| 12460 |
> |
main (void) |
| 12461 |
|
{ |
| 12462 |
|
return dlopen (); |
| 12463 |
|
; |
| 12464 |
|
return 0; |
| 12465 |
|
} |
| 12466 |
|
_ACEOF |
| 12467 |
< |
if ac_fn_c_try_link "$LINENO"; then : |
| 12467 |
> |
if ac_fn_c_try_link "$LINENO" |
| 12468 |
> |
then : |
| 12469 |
|
ac_cv_lib_dl_dlopen=yes |
| 12470 |
< |
else |
| 12470 |
> |
else $as_nop |
| 12471 |
|
ac_cv_lib_dl_dlopen=no |
| 12472 |
|
fi |
| 12473 |
< |
rm -f core conftest.err conftest.$ac_objext \ |
| 12473 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 12474 |
|
conftest$ac_exeext conftest.$ac_ext |
| 12475 |
|
LIBS=$ac_check_lib_save_LIBS |
| 12476 |
|
fi |
| 12477 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 |
| 12478 |
< |
$as_echo "$ac_cv_lib_dl_dlopen" >&6; } |
| 12479 |
< |
if test "x$ac_cv_lib_dl_dlopen" = xyes; then : |
| 12480 |
< |
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" |
| 12481 |
< |
else |
| 12477 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 |
| 12478 |
> |
printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; } |
| 12479 |
> |
if test "x$ac_cv_lib_dl_dlopen" = xyes |
| 12480 |
> |
then : |
| 12481 |
> |
lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl |
| 12482 |
> |
else $as_nop |
| 12483 |
|
|
| 12484 |
< |
lt_cv_dlopen="dyld" |
| 12484 |
> |
lt_cv_dlopen=dyld |
| 12485 |
|
lt_cv_dlopen_libs= |
| 12486 |
|
lt_cv_dlopen_self=yes |
| 12487 |
|
|
| 12489 |
|
|
| 12490 |
|
;; |
| 12491 |
|
|
| 12492 |
+ |
tpf*) |
| 12493 |
+ |
# Don't try to run any link tests for TPF. We know it's impossible |
| 12494 |
+ |
# because TPF is a cross-compiler, and we know how we open DSOs. |
| 12495 |
+ |
lt_cv_dlopen=dlopen |
| 12496 |
+ |
lt_cv_dlopen_libs= |
| 12497 |
+ |
lt_cv_dlopen_self=no |
| 12498 |
+ |
;; |
| 12499 |
+ |
|
| 12500 |
|
*) |
| 12501 |
|
ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" |
| 12502 |
< |
if test "x$ac_cv_func_shl_load" = xyes; then : |
| 12503 |
< |
lt_cv_dlopen="shl_load" |
| 12504 |
< |
else |
| 12505 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 |
| 12506 |
< |
$as_echo_n "checking for shl_load in -ldld... " >&6; } |
| 12507 |
< |
if ${ac_cv_lib_dld_shl_load+:} false; then : |
| 12508 |
< |
$as_echo_n "(cached) " >&6 |
| 12509 |
< |
else |
| 12502 |
> |
if test "x$ac_cv_func_shl_load" = xyes |
| 12503 |
> |
then : |
| 12504 |
> |
lt_cv_dlopen=shl_load |
| 12505 |
> |
else $as_nop |
| 12506 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 |
| 12507 |
> |
printf %s "checking for shl_load in -ldld... " >&6; } |
| 12508 |
> |
if test ${ac_cv_lib_dld_shl_load+y} |
| 12509 |
> |
then : |
| 12510 |
> |
printf %s "(cached) " >&6 |
| 12511 |
> |
else $as_nop |
| 12512 |
|
ac_check_lib_save_LIBS=$LIBS |
| 12513 |
|
LIBS="-ldld $LIBS" |
| 12514 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 12517 |
|
/* Override any GCC internal prototype to avoid an error. |
| 12518 |
|
Use char because int might match the return type of a GCC |
| 12519 |
|
builtin and then its argument prototype would still apply. */ |
| 11567 |
– |
#ifdef __cplusplus |
| 11568 |
– |
extern "C" |
| 11569 |
– |
#endif |
| 12520 |
|
char shl_load (); |
| 12521 |
|
int |
| 12522 |
< |
main () |
| 12522 |
> |
main (void) |
| 12523 |
|
{ |
| 12524 |
|
return shl_load (); |
| 12525 |
|
; |
| 12526 |
|
return 0; |
| 12527 |
|
} |
| 12528 |
|
_ACEOF |
| 12529 |
< |
if ac_fn_c_try_link "$LINENO"; then : |
| 12529 |
> |
if ac_fn_c_try_link "$LINENO" |
| 12530 |
> |
then : |
| 12531 |
|
ac_cv_lib_dld_shl_load=yes |
| 12532 |
< |
else |
| 12532 |
> |
else $as_nop |
| 12533 |
|
ac_cv_lib_dld_shl_load=no |
| 12534 |
|
fi |
| 12535 |
< |
rm -f core conftest.err conftest.$ac_objext \ |
| 12535 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 12536 |
|
conftest$ac_exeext conftest.$ac_ext |
| 12537 |
|
LIBS=$ac_check_lib_save_LIBS |
| 12538 |
|
fi |
| 12539 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 |
| 12540 |
< |
$as_echo "$ac_cv_lib_dld_shl_load" >&6; } |
| 12541 |
< |
if test "x$ac_cv_lib_dld_shl_load" = xyes; then : |
| 12542 |
< |
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" |
| 12543 |
< |
else |
| 12539 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 |
| 12540 |
> |
printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; } |
| 12541 |
> |
if test "x$ac_cv_lib_dld_shl_load" = xyes |
| 12542 |
> |
then : |
| 12543 |
> |
lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld |
| 12544 |
> |
else $as_nop |
| 12545 |
|
ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" |
| 12546 |
< |
if test "x$ac_cv_func_dlopen" = xyes; then : |
| 12547 |
< |
lt_cv_dlopen="dlopen" |
| 12548 |
< |
else |
| 12549 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 |
| 12550 |
< |
$as_echo_n "checking for dlopen in -ldl... " >&6; } |
| 12551 |
< |
if ${ac_cv_lib_dl_dlopen+:} false; then : |
| 12552 |
< |
$as_echo_n "(cached) " >&6 |
| 12553 |
< |
else |
| 12546 |
> |
if test "x$ac_cv_func_dlopen" = xyes |
| 12547 |
> |
then : |
| 12548 |
> |
lt_cv_dlopen=dlopen |
| 12549 |
> |
else $as_nop |
| 12550 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 |
| 12551 |
> |
printf %s "checking for dlopen in -ldl... " >&6; } |
| 12552 |
> |
if test ${ac_cv_lib_dl_dlopen+y} |
| 12553 |
> |
then : |
| 12554 |
> |
printf %s "(cached) " >&6 |
| 12555 |
> |
else $as_nop |
| 12556 |
|
ac_check_lib_save_LIBS=$LIBS |
| 12557 |
|
LIBS="-ldl $LIBS" |
| 12558 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 12561 |
|
/* Override any GCC internal prototype to avoid an error. |
| 12562 |
|
Use char because int might match the return type of a GCC |
| 12563 |
|
builtin and then its argument prototype would still apply. */ |
| 11610 |
– |
#ifdef __cplusplus |
| 11611 |
– |
extern "C" |
| 11612 |
– |
#endif |
| 12564 |
|
char dlopen (); |
| 12565 |
|
int |
| 12566 |
< |
main () |
| 12566 |
> |
main (void) |
| 12567 |
|
{ |
| 12568 |
|
return dlopen (); |
| 12569 |
|
; |
| 12570 |
|
return 0; |
| 12571 |
|
} |
| 12572 |
|
_ACEOF |
| 12573 |
< |
if ac_fn_c_try_link "$LINENO"; then : |
| 12573 |
> |
if ac_fn_c_try_link "$LINENO" |
| 12574 |
> |
then : |
| 12575 |
|
ac_cv_lib_dl_dlopen=yes |
| 12576 |
< |
else |
| 12576 |
> |
else $as_nop |
| 12577 |
|
ac_cv_lib_dl_dlopen=no |
| 12578 |
|
fi |
| 12579 |
< |
rm -f core conftest.err conftest.$ac_objext \ |
| 12579 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 12580 |
|
conftest$ac_exeext conftest.$ac_ext |
| 12581 |
|
LIBS=$ac_check_lib_save_LIBS |
| 12582 |
|
fi |
| 12583 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 |
| 12584 |
< |
$as_echo "$ac_cv_lib_dl_dlopen" >&6; } |
| 12585 |
< |
if test "x$ac_cv_lib_dl_dlopen" = xyes; then : |
| 12586 |
< |
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" |
| 12587 |
< |
else |
| 12588 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 |
| 12589 |
< |
$as_echo_n "checking for dlopen in -lsvld... " >&6; } |
| 12590 |
< |
if ${ac_cv_lib_svld_dlopen+:} false; then : |
| 12591 |
< |
$as_echo_n "(cached) " >&6 |
| 12592 |
< |
else |
| 12583 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 |
| 12584 |
> |
printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; } |
| 12585 |
> |
if test "x$ac_cv_lib_dl_dlopen" = xyes |
| 12586 |
> |
then : |
| 12587 |
> |
lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl |
| 12588 |
> |
else $as_nop |
| 12589 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 |
| 12590 |
> |
printf %s "checking for dlopen in -lsvld... " >&6; } |
| 12591 |
> |
if test ${ac_cv_lib_svld_dlopen+y} |
| 12592 |
> |
then : |
| 12593 |
> |
printf %s "(cached) " >&6 |
| 12594 |
> |
else $as_nop |
| 12595 |
|
ac_check_lib_save_LIBS=$LIBS |
| 12596 |
|
LIBS="-lsvld $LIBS" |
| 12597 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 12600 |
|
/* Override any GCC internal prototype to avoid an error. |
| 12601 |
|
Use char because int might match the return type of a GCC |
| 12602 |
|
builtin and then its argument prototype would still apply. */ |
| 11649 |
– |
#ifdef __cplusplus |
| 11650 |
– |
extern "C" |
| 11651 |
– |
#endif |
| 12603 |
|
char dlopen (); |
| 12604 |
|
int |
| 12605 |
< |
main () |
| 12605 |
> |
main (void) |
| 12606 |
|
{ |
| 12607 |
|
return dlopen (); |
| 12608 |
|
; |
| 12609 |
|
return 0; |
| 12610 |
|
} |
| 12611 |
|
_ACEOF |
| 12612 |
< |
if ac_fn_c_try_link "$LINENO"; then : |
| 12612 |
> |
if ac_fn_c_try_link "$LINENO" |
| 12613 |
> |
then : |
| 12614 |
|
ac_cv_lib_svld_dlopen=yes |
| 12615 |
< |
else |
| 12615 |
> |
else $as_nop |
| 12616 |
|
ac_cv_lib_svld_dlopen=no |
| 12617 |
|
fi |
| 12618 |
< |
rm -f core conftest.err conftest.$ac_objext \ |
| 12618 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 12619 |
|
conftest$ac_exeext conftest.$ac_ext |
| 12620 |
|
LIBS=$ac_check_lib_save_LIBS |
| 12621 |
|
fi |
| 12622 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 |
| 12623 |
< |
$as_echo "$ac_cv_lib_svld_dlopen" >&6; } |
| 12624 |
< |
if test "x$ac_cv_lib_svld_dlopen" = xyes; then : |
| 12625 |
< |
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" |
| 12626 |
< |
else |
| 12627 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 |
| 12628 |
< |
$as_echo_n "checking for dld_link in -ldld... " >&6; } |
| 12629 |
< |
if ${ac_cv_lib_dld_dld_link+:} false; then : |
| 12630 |
< |
$as_echo_n "(cached) " >&6 |
| 12631 |
< |
else |
| 12622 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 |
| 12623 |
> |
printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; } |
| 12624 |
> |
if test "x$ac_cv_lib_svld_dlopen" = xyes |
| 12625 |
> |
then : |
| 12626 |
> |
lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld |
| 12627 |
> |
else $as_nop |
| 12628 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 |
| 12629 |
> |
printf %s "checking for dld_link in -ldld... " >&6; } |
| 12630 |
> |
if test ${ac_cv_lib_dld_dld_link+y} |
| 12631 |
> |
then : |
| 12632 |
> |
printf %s "(cached) " >&6 |
| 12633 |
> |
else $as_nop |
| 12634 |
|
ac_check_lib_save_LIBS=$LIBS |
| 12635 |
|
LIBS="-ldld $LIBS" |
| 12636 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 12639 |
|
/* Override any GCC internal prototype to avoid an error. |
| 12640 |
|
Use char because int might match the return type of a GCC |
| 12641 |
|
builtin and then its argument prototype would still apply. */ |
| 11688 |
– |
#ifdef __cplusplus |
| 11689 |
– |
extern "C" |
| 11690 |
– |
#endif |
| 12642 |
|
char dld_link (); |
| 12643 |
|
int |
| 12644 |
< |
main () |
| 12644 |
> |
main (void) |
| 12645 |
|
{ |
| 12646 |
|
return dld_link (); |
| 12647 |
|
; |
| 12648 |
|
return 0; |
| 12649 |
|
} |
| 12650 |
|
_ACEOF |
| 12651 |
< |
if ac_fn_c_try_link "$LINENO"; then : |
| 12651 |
> |
if ac_fn_c_try_link "$LINENO" |
| 12652 |
> |
then : |
| 12653 |
|
ac_cv_lib_dld_dld_link=yes |
| 12654 |
< |
else |
| 12654 |
> |
else $as_nop |
| 12655 |
|
ac_cv_lib_dld_dld_link=no |
| 12656 |
|
fi |
| 12657 |
< |
rm -f core conftest.err conftest.$ac_objext \ |
| 12657 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 12658 |
|
conftest$ac_exeext conftest.$ac_ext |
| 12659 |
|
LIBS=$ac_check_lib_save_LIBS |
| 12660 |
|
fi |
| 12661 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 |
| 12662 |
< |
$as_echo "$ac_cv_lib_dld_dld_link" >&6; } |
| 12663 |
< |
if test "x$ac_cv_lib_dld_dld_link" = xyes; then : |
| 12664 |
< |
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" |
| 12661 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 |
| 12662 |
> |
printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; } |
| 12663 |
> |
if test "x$ac_cv_lib_dld_dld_link" = xyes |
| 12664 |
> |
then : |
| 12665 |
> |
lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld |
| 12666 |
|
fi |
| 12667 |
|
|
| 12668 |
|
|
| 12683 |
|
;; |
| 12684 |
|
esac |
| 12685 |
|
|
| 12686 |
< |
if test "x$lt_cv_dlopen" != xno; then |
| 11734 |
< |
enable_dlopen=yes |
| 11735 |
< |
else |
| 12686 |
> |
if test no = "$lt_cv_dlopen"; then |
| 12687 |
|
enable_dlopen=no |
| 12688 |
+ |
else |
| 12689 |
+ |
enable_dlopen=yes |
| 12690 |
|
fi |
| 12691 |
|
|
| 12692 |
|
case $lt_cv_dlopen in |
| 12693 |
|
dlopen) |
| 12694 |
< |
save_CPPFLAGS="$CPPFLAGS" |
| 12695 |
< |
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" |
| 12694 |
> |
save_CPPFLAGS=$CPPFLAGS |
| 12695 |
> |
test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" |
| 12696 |
|
|
| 12697 |
< |
save_LDFLAGS="$LDFLAGS" |
| 12697 |
> |
save_LDFLAGS=$LDFLAGS |
| 12698 |
|
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" |
| 12699 |
|
|
| 12700 |
< |
save_LIBS="$LIBS" |
| 12700 |
> |
save_LIBS=$LIBS |
| 12701 |
|
LIBS="$lt_cv_dlopen_libs $LIBS" |
| 12702 |
|
|
| 12703 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 |
| 12704 |
< |
$as_echo_n "checking whether a program can dlopen itself... " >&6; } |
| 12705 |
< |
if ${lt_cv_dlopen_self+:} false; then : |
| 12706 |
< |
$as_echo_n "(cached) " >&6 |
| 12707 |
< |
else |
| 12708 |
< |
if test "$cross_compiling" = yes; then : |
| 12703 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 |
| 12704 |
> |
printf %s "checking whether a program can dlopen itself... " >&6; } |
| 12705 |
> |
if test ${lt_cv_dlopen_self+y} |
| 12706 |
> |
then : |
| 12707 |
> |
printf %s "(cached) " >&6 |
| 12708 |
> |
else $as_nop |
| 12709 |
> |
if test yes = "$cross_compiling"; then : |
| 12710 |
|
lt_cv_dlopen_self=cross |
| 12711 |
|
else |
| 12712 |
|
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
| 12753 |
|
# endif |
| 12754 |
|
#endif |
| 12755 |
|
|
| 12756 |
< |
/* When -fvisbility=hidden is used, assume the code has been annotated |
| 12756 |
> |
/* When -fvisibility=hidden is used, assume the code has been annotated |
| 12757 |
|
correspondingly for the symbols needed. */ |
| 12758 |
< |
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) |
| 12758 |
> |
#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) |
| 12759 |
|
int fnord () __attribute__((visibility("default"))); |
| 12760 |
|
#endif |
| 12761 |
|
|
| 12784 |
|
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 |
| 12785 |
|
(eval $ac_link) 2>&5 |
| 12786 |
|
ac_status=$? |
| 12787 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 12788 |
< |
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then |
| 12787 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 12788 |
> |
test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then |
| 12789 |
|
(./conftest; exit; ) >&5 2>/dev/null |
| 12790 |
|
lt_status=$? |
| 12791 |
|
case x$lt_status in |
| 12802 |
|
|
| 12803 |
|
|
| 12804 |
|
fi |
| 12805 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 |
| 12806 |
< |
$as_echo "$lt_cv_dlopen_self" >&6; } |
| 12805 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 |
| 12806 |
> |
printf "%s\n" "$lt_cv_dlopen_self" >&6; } |
| 12807 |
|
|
| 12808 |
< |
if test "x$lt_cv_dlopen_self" = xyes; then |
| 12808 |
> |
if test yes = "$lt_cv_dlopen_self"; then |
| 12809 |
|
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" |
| 12810 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 |
| 12811 |
< |
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } |
| 12812 |
< |
if ${lt_cv_dlopen_self_static+:} false; then : |
| 12813 |
< |
$as_echo_n "(cached) " >&6 |
| 12814 |
< |
else |
| 12815 |
< |
if test "$cross_compiling" = yes; then : |
| 12810 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 |
| 12811 |
> |
printf %s "checking whether a statically linked program can dlopen itself... " >&6; } |
| 12812 |
> |
if test ${lt_cv_dlopen_self_static+y} |
| 12813 |
> |
then : |
| 12814 |
> |
printf %s "(cached) " >&6 |
| 12815 |
> |
else $as_nop |
| 12816 |
> |
if test yes = "$cross_compiling"; then : |
| 12817 |
|
lt_cv_dlopen_self_static=cross |
| 12818 |
|
else |
| 12819 |
|
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
| 12860 |
|
# endif |
| 12861 |
|
#endif |
| 12862 |
|
|
| 12863 |
< |
/* When -fvisbility=hidden is used, assume the code has been annotated |
| 12863 |
> |
/* When -fvisibility=hidden is used, assume the code has been annotated |
| 12864 |
|
correspondingly for the symbols needed. */ |
| 12865 |
< |
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) |
| 12865 |
> |
#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) |
| 12866 |
|
int fnord () __attribute__((visibility("default"))); |
| 12867 |
|
#endif |
| 12868 |
|
|
| 12891 |
|
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 |
| 12892 |
|
(eval $ac_link) 2>&5 |
| 12893 |
|
ac_status=$? |
| 12894 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 12895 |
< |
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then |
| 12894 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 12895 |
> |
test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then |
| 12896 |
|
(./conftest; exit; ) >&5 2>/dev/null |
| 12897 |
|
lt_status=$? |
| 12898 |
|
case x$lt_status in |
| 12909 |
|
|
| 12910 |
|
|
| 12911 |
|
fi |
| 12912 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 |
| 12913 |
< |
$as_echo "$lt_cv_dlopen_self_static" >&6; } |
| 12912 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 |
| 12913 |
> |
printf "%s\n" "$lt_cv_dlopen_self_static" >&6; } |
| 12914 |
|
fi |
| 12915 |
|
|
| 12916 |
< |
CPPFLAGS="$save_CPPFLAGS" |
| 12917 |
< |
LDFLAGS="$save_LDFLAGS" |
| 12918 |
< |
LIBS="$save_LIBS" |
| 12916 |
> |
CPPFLAGS=$save_CPPFLAGS |
| 12917 |
> |
LDFLAGS=$save_LDFLAGS |
| 12918 |
> |
LIBS=$save_LIBS |
| 12919 |
|
;; |
| 12920 |
|
esac |
| 12921 |
|
|
| 12948 |
|
|
| 12949 |
|
striplib= |
| 12950 |
|
old_striplib= |
| 12951 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 |
| 12952 |
< |
$as_echo_n "checking whether stripping libraries is possible... " >&6; } |
| 12953 |
< |
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then |
| 12954 |
< |
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" |
| 12955 |
< |
test -z "$striplib" && striplib="$STRIP --strip-unneeded" |
| 12956 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 12957 |
< |
$as_echo "yes" >&6; } |
| 12958 |
< |
else |
| 12959 |
< |
# FIXME - insert some real tests, host_os isn't really good enough |
| 12960 |
< |
case $host_os in |
| 12961 |
< |
darwin*) |
| 12962 |
< |
if test -n "$STRIP" ; then |
| 12951 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 |
| 12952 |
> |
printf %s "checking whether stripping libraries is possible... " >&6; } |
| 12953 |
> |
if test -z "$STRIP"; then |
| 12954 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 12955 |
> |
printf "%s\n" "no" >&6; } |
| 12956 |
> |
else |
| 12957 |
> |
if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then |
| 12958 |
> |
old_striplib="$STRIP --strip-debug" |
| 12959 |
> |
striplib="$STRIP --strip-unneeded" |
| 12960 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 12961 |
> |
printf "%s\n" "yes" >&6; } |
| 12962 |
> |
else |
| 12963 |
> |
case $host_os in |
| 12964 |
> |
darwin*) |
| 12965 |
> |
# FIXME - insert some real tests, host_os isn't really good enough |
| 12966 |
|
striplib="$STRIP -x" |
| 12967 |
|
old_striplib="$STRIP -S" |
| 12968 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 12969 |
< |
$as_echo "yes" >&6; } |
| 12970 |
< |
else |
| 12971 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 12972 |
< |
$as_echo "no" >&6; } |
| 12973 |
< |
fi |
| 12974 |
< |
;; |
| 12975 |
< |
*) |
| 12976 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 12977 |
< |
$as_echo "no" >&6; } |
| 12978 |
< |
;; |
| 12979 |
< |
esac |
| 12968 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 12969 |
> |
printf "%s\n" "yes" >&6; } |
| 12970 |
> |
;; |
| 12971 |
> |
freebsd*) |
| 12972 |
> |
if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then |
| 12973 |
> |
old_striplib="$STRIP --strip-debug" |
| 12974 |
> |
striplib="$STRIP --strip-unneeded" |
| 12975 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 12976 |
> |
printf "%s\n" "yes" >&6; } |
| 12977 |
> |
else |
| 12978 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 12979 |
> |
printf "%s\n" "no" >&6; } |
| 12980 |
> |
fi |
| 12981 |
> |
;; |
| 12982 |
> |
*) |
| 12983 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 12984 |
> |
printf "%s\n" "no" >&6; } |
| 12985 |
> |
;; |
| 12986 |
> |
esac |
| 12987 |
> |
fi |
| 12988 |
|
fi |
| 12989 |
|
|
| 12990 |
|
|
| 12998 |
|
|
| 12999 |
|
|
| 13000 |
|
|
| 13001 |
< |
# Report which library types will actually be built |
| 13002 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 |
| 13003 |
< |
$as_echo_n "checking if libtool supports shared libraries... " >&6; } |
| 13004 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 |
| 13005 |
< |
$as_echo "$can_build_shared" >&6; } |
| 13006 |
< |
|
| 13007 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 |
| 13008 |
< |
$as_echo_n "checking whether to build shared libraries... " >&6; } |
| 13009 |
< |
test "$can_build_shared" = "no" && enable_shared=no |
| 13001 |
> |
# Report what library types will actually be built |
| 13002 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 |
| 13003 |
> |
printf %s "checking if libtool supports shared libraries... " >&6; } |
| 13004 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 |
| 13005 |
> |
printf "%s\n" "$can_build_shared" >&6; } |
| 13006 |
> |
|
| 13007 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 |
| 13008 |
> |
printf %s "checking whether to build shared libraries... " >&6; } |
| 13009 |
> |
test no = "$can_build_shared" && enable_shared=no |
| 13010 |
|
|
| 13011 |
|
# On AIX, shared libraries and static libraries use the same namespace, and |
| 13012 |
|
# are all built from PIC. |
| 13013 |
|
case $host_os in |
| 13014 |
|
aix3*) |
| 13015 |
< |
test "$enable_shared" = yes && enable_static=no |
| 13015 |
> |
test yes = "$enable_shared" && enable_static=no |
| 13016 |
|
if test -n "$RANLIB"; then |
| 13017 |
|
archive_cmds="$archive_cmds~\$RANLIB \$lib" |
| 13018 |
|
postinstall_cmds='$RANLIB $lib' |
| 13020 |
|
;; |
| 13021 |
|
|
| 13022 |
|
aix[4-9]*) |
| 13023 |
< |
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then |
| 13024 |
< |
test "$enable_shared" = yes && enable_static=no |
| 13023 |
> |
if test ia64 != "$host_cpu"; then |
| 13024 |
> |
case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in |
| 13025 |
> |
yes,aix,yes) ;; # shared object as lib.so file only |
| 13026 |
> |
yes,svr4,*) ;; # shared object as lib.so archive member only |
| 13027 |
> |
yes,*) enable_static=no ;; # shared object in lib.a archive as well |
| 13028 |
> |
esac |
| 13029 |
|
fi |
| 13030 |
|
;; |
| 13031 |
|
esac |
| 13032 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 |
| 13033 |
< |
$as_echo "$enable_shared" >&6; } |
| 13032 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 |
| 13033 |
> |
printf "%s\n" "$enable_shared" >&6; } |
| 13034 |
|
|
| 13035 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 |
| 13036 |
< |
$as_echo_n "checking whether to build static libraries... " >&6; } |
| 13035 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 |
| 13036 |
> |
printf %s "checking whether to build static libraries... " >&6; } |
| 13037 |
|
# Make sure either enable_shared or enable_static is yes. |
| 13038 |
< |
test "$enable_shared" = yes || enable_static=yes |
| 13039 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 |
| 13040 |
< |
$as_echo "$enable_static" >&6; } |
| 13038 |
> |
test yes = "$enable_shared" || enable_static=yes |
| 13039 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 |
| 13040 |
> |
printf "%s\n" "$enable_static" >&6; } |
| 13041 |
|
|
| 13042 |
|
|
| 13043 |
|
|
| 13049 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 13050 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 13051 |
|
|
| 13052 |
< |
CC="$lt_save_CC" |
| 13052 |
> |
CC=$lt_save_CC |
| 13053 |
|
|
| 13054 |
|
|
| 13055 |
|
|
| 13073 |
|
# Only expand once: |
| 13074 |
|
|
| 13075 |
|
|
| 13076 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which extension is used for runtime loadable modules" >&5 |
| 13077 |
< |
$as_echo_n "checking which extension is used for runtime loadable modules... " >&6; } |
| 13078 |
< |
if ${libltdl_cv_shlibext+:} false; then : |
| 13079 |
< |
$as_echo_n "(cached) " >&6 |
| 13080 |
< |
else |
| 13076 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5 |
| 13077 |
> |
printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; } |
| 13078 |
> |
if test ${ac_cv_c_undeclared_builtin_options+y} |
| 13079 |
> |
then : |
| 13080 |
> |
printf %s "(cached) " >&6 |
| 13081 |
> |
else $as_nop |
| 13082 |
> |
ac_save_CFLAGS=$CFLAGS |
| 13083 |
> |
ac_cv_c_undeclared_builtin_options='cannot detect' |
| 13084 |
> |
for ac_arg in '' -fno-builtin; do |
| 13085 |
> |
CFLAGS="$ac_save_CFLAGS $ac_arg" |
| 13086 |
> |
# This test program should *not* compile successfully. |
| 13087 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13088 |
> |
/* end confdefs.h. */ |
| 13089 |
> |
|
| 13090 |
> |
int |
| 13091 |
> |
main (void) |
| 13092 |
> |
{ |
| 13093 |
> |
(void) strchr; |
| 13094 |
> |
; |
| 13095 |
> |
return 0; |
| 13096 |
> |
} |
| 13097 |
> |
_ACEOF |
| 13098 |
> |
if ac_fn_c_try_compile "$LINENO" |
| 13099 |
> |
then : |
| 13100 |
> |
|
| 13101 |
> |
else $as_nop |
| 13102 |
> |
# This test program should compile successfully. |
| 13103 |
> |
# No library function is consistently available on |
| 13104 |
> |
# freestanding implementations, so test against a dummy |
| 13105 |
> |
# declaration. Include always-available headers on the |
| 13106 |
> |
# off chance that they somehow elicit warnings. |
| 13107 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13108 |
> |
/* end confdefs.h. */ |
| 13109 |
> |
#include <float.h> |
| 13110 |
> |
#include <limits.h> |
| 13111 |
> |
#include <stdarg.h> |
| 13112 |
> |
#include <stddef.h> |
| 13113 |
> |
extern void ac_decl (int, char *); |
| 13114 |
> |
|
| 13115 |
> |
int |
| 13116 |
> |
main (void) |
| 13117 |
> |
{ |
| 13118 |
> |
(void) ac_decl (0, (char *) 0); |
| 13119 |
> |
(void) ac_decl; |
| 13120 |
> |
|
| 13121 |
> |
; |
| 13122 |
> |
return 0; |
| 13123 |
> |
} |
| 13124 |
> |
_ACEOF |
| 13125 |
> |
if ac_fn_c_try_compile "$LINENO" |
| 13126 |
> |
then : |
| 13127 |
> |
if test x"$ac_arg" = x |
| 13128 |
> |
then : |
| 13129 |
> |
ac_cv_c_undeclared_builtin_options='none needed' |
| 13130 |
> |
else $as_nop |
| 13131 |
> |
ac_cv_c_undeclared_builtin_options=$ac_arg |
| 13132 |
> |
fi |
| 13133 |
> |
break |
| 13134 |
> |
fi |
| 13135 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 13136 |
> |
fi |
| 13137 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 13138 |
> |
done |
| 13139 |
> |
CFLAGS=$ac_save_CFLAGS |
| 13140 |
> |
|
| 13141 |
> |
fi |
| 13142 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5 |
| 13143 |
> |
printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; } |
| 13144 |
> |
case $ac_cv_c_undeclared_builtin_options in #( |
| 13145 |
> |
'cannot detect') : |
| 13146 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 13147 |
> |
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 13148 |
> |
as_fn_error $? "cannot make $CC report undeclared builtins |
| 13149 |
> |
See \`config.log' for more details" "$LINENO" 5; } ;; #( |
| 13150 |
> |
'none needed') : |
| 13151 |
> |
ac_c_undeclared_builtin_options='' ;; #( |
| 13152 |
> |
*) : |
| 13153 |
> |
ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;; |
| 13154 |
> |
esac |
| 13155 |
> |
|
| 13156 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking what extension is used for runtime loadable modules" >&5 |
| 13157 |
> |
printf %s "checking what extension is used for runtime loadable modules... " >&6; } |
| 13158 |
> |
if test ${libltdl_cv_shlibext+y} |
| 13159 |
> |
then : |
| 13160 |
> |
printf %s "(cached) " >&6 |
| 13161 |
> |
else $as_nop |
| 13162 |
|
|
| 13163 |
|
module=yes |
| 13164 |
|
eval libltdl_cv_shlibext=$shrext_cmds |
| 13166 |
|
eval libltdl_cv_shrext=$shrext_cmds |
| 13167 |
|
|
| 13168 |
|
fi |
| 13169 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibext" >&5 |
| 13170 |
< |
$as_echo "$libltdl_cv_shlibext" >&6; } |
| 13169 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibext" >&5 |
| 13170 |
> |
printf "%s\n" "$libltdl_cv_shlibext" >&6; } |
| 13171 |
|
if test -n "$libltdl_cv_shlibext"; then |
| 13172 |
|
|
| 13173 |
< |
cat >>confdefs.h <<_ACEOF |
| 12123 |
< |
#define LT_MODULE_EXT "$libltdl_cv_shlibext" |
| 12124 |
< |
_ACEOF |
| 13173 |
> |
printf "%s\n" "#define LT_MODULE_EXT \"$libltdl_cv_shlibext\"" >>confdefs.h |
| 13174 |
|
|
| 13175 |
|
fi |
| 13176 |
|
if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then |
| 13177 |
|
|
| 13178 |
< |
cat >>confdefs.h <<_ACEOF |
| 12130 |
< |
#define LT_SHARED_EXT "$libltdl_cv_shrext" |
| 12131 |
< |
_ACEOF |
| 13178 |
> |
printf "%s\n" "#define LT_SHARED_EXT \"$libltdl_cv_shrext\"" >>confdefs.h |
| 13179 |
|
|
| 13180 |
|
fi |
| 13181 |
+ |
if test -n "$shared_archive_member_spec"; then |
| 13182 |
|
|
| 13183 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which variable specifies run-time module search path" >&5 |
| 13184 |
< |
$as_echo_n "checking which variable specifies run-time module search path... " >&6; } |
| 13185 |
< |
if ${lt_cv_module_path_var+:} false; then : |
| 13186 |
< |
$as_echo_n "(cached) " >&6 |
| 13187 |
< |
else |
| 13188 |
< |
lt_cv_module_path_var="$shlibpath_var" |
| 13183 |
> |
printf "%s\n" "#define LT_SHARED_LIB_MEMBER \"($shared_archive_member_spec.o)\"" >>confdefs.h |
| 13184 |
> |
|
| 13185 |
> |
fi |
| 13186 |
> |
|
| 13187 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking what variable specifies run-time module search path" >&5 |
| 13188 |
> |
printf %s "checking what variable specifies run-time module search path... " >&6; } |
| 13189 |
> |
if test ${lt_cv_module_path_var+y} |
| 13190 |
> |
then : |
| 13191 |
> |
printf %s "(cached) " >&6 |
| 13192 |
> |
else $as_nop |
| 13193 |
> |
lt_cv_module_path_var=$shlibpath_var |
| 13194 |
|
fi |
| 13195 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_module_path_var" >&5 |
| 13196 |
< |
$as_echo "$lt_cv_module_path_var" >&6; } |
| 13195 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_module_path_var" >&5 |
| 13196 |
> |
printf "%s\n" "$lt_cv_module_path_var" >&6; } |
| 13197 |
|
if test -n "$lt_cv_module_path_var"; then |
| 13198 |
|
|
| 13199 |
< |
cat >>confdefs.h <<_ACEOF |
| 12147 |
< |
#define LT_MODULE_PATH_VAR "$lt_cv_module_path_var" |
| 12148 |
< |
_ACEOF |
| 13199 |
> |
printf "%s\n" "#define LT_MODULE_PATH_VAR \"$lt_cv_module_path_var\"" >>confdefs.h |
| 13200 |
|
|
| 13201 |
|
fi |
| 13202 |
|
|
| 13203 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for the default library search path" >&5 |
| 13204 |
< |
$as_echo_n "checking for the default library search path... " >&6; } |
| 13205 |
< |
if ${lt_cv_sys_dlsearch_path+:} false; then : |
| 13206 |
< |
$as_echo_n "(cached) " >&6 |
| 13207 |
< |
else |
| 13208 |
< |
lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec" |
| 13203 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the default library search path" >&5 |
| 13204 |
> |
printf %s "checking for the default library search path... " >&6; } |
| 13205 |
> |
if test ${lt_cv_sys_dlsearch_path+y} |
| 13206 |
> |
then : |
| 13207 |
> |
printf %s "(cached) " >&6 |
| 13208 |
> |
else $as_nop |
| 13209 |
> |
lt_cv_sys_dlsearch_path=$sys_lib_dlsearch_path_spec |
| 13210 |
|
fi |
| 13211 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlsearch_path" >&5 |
| 13212 |
< |
$as_echo "$lt_cv_sys_dlsearch_path" >&6; } |
| 13211 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlsearch_path" >&5 |
| 13212 |
> |
printf "%s\n" "$lt_cv_sys_dlsearch_path" >&6; } |
| 13213 |
|
if test -n "$lt_cv_sys_dlsearch_path"; then |
| 13214 |
|
sys_dlsearch_path= |
| 13215 |
|
for dir in $lt_cv_sys_dlsearch_path; do |
| 13216 |
|
if test -z "$sys_dlsearch_path"; then |
| 13217 |
< |
sys_dlsearch_path="$dir" |
| 13217 |
> |
sys_dlsearch_path=$dir |
| 13218 |
|
else |
| 13219 |
< |
sys_dlsearch_path="$sys_dlsearch_path$PATH_SEPARATOR$dir" |
| 13219 |
> |
sys_dlsearch_path=$sys_dlsearch_path$PATH_SEPARATOR$dir |
| 13220 |
|
fi |
| 13221 |
|
done |
| 13222 |
|
|
| 13223 |
< |
cat >>confdefs.h <<_ACEOF |
| 12172 |
< |
#define LT_DLSEARCH_PATH "$sys_dlsearch_path" |
| 12173 |
< |
_ACEOF |
| 13223 |
> |
printf "%s\n" "#define LT_DLSEARCH_PATH \"$sys_dlsearch_path\"" >>confdefs.h |
| 13224 |
|
|
| 13225 |
|
fi |
| 13226 |
|
|
| 13234 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 13235 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 13236 |
|
|
| 13237 |
+ |
lt_dlload_save_LIBS=$LIBS |
| 13238 |
|
|
| 13239 |
|
LIBADD_DLOPEN= |
| 13240 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5 |
| 13241 |
< |
$as_echo_n "checking for library containing dlopen... " >&6; } |
| 13242 |
< |
if ${ac_cv_search_dlopen+:} false; then : |
| 13243 |
< |
$as_echo_n "(cached) " >&6 |
| 13244 |
< |
else |
| 13240 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5 |
| 13241 |
> |
printf %s "checking for library containing dlopen... " >&6; } |
| 13242 |
> |
if test ${ac_cv_search_dlopen+y} |
| 13243 |
> |
then : |
| 13244 |
> |
printf %s "(cached) " >&6 |
| 13245 |
> |
else $as_nop |
| 13246 |
|
ac_func_search_save_LIBS=$LIBS |
| 13247 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13248 |
|
/* end confdefs.h. */ |
| 13250 |
|
/* Override any GCC internal prototype to avoid an error. |
| 13251 |
|
Use char because int might match the return type of a GCC |
| 13252 |
|
builtin and then its argument prototype would still apply. */ |
| 12201 |
– |
#ifdef __cplusplus |
| 12202 |
– |
extern "C" |
| 12203 |
– |
#endif |
| 13253 |
|
char dlopen (); |
| 13254 |
|
int |
| 13255 |
< |
main () |
| 13255 |
> |
main (void) |
| 13256 |
|
{ |
| 13257 |
|
return dlopen (); |
| 13258 |
|
; |
| 13259 |
|
return 0; |
| 13260 |
|
} |
| 13261 |
|
_ACEOF |
| 13262 |
< |
for ac_lib in '' dl; do |
| 13262 |
> |
for ac_lib in '' dl |
| 13263 |
> |
do |
| 13264 |
|
if test -z "$ac_lib"; then |
| 13265 |
|
ac_res="none required" |
| 13266 |
|
else |
| 13267 |
|
ac_res=-l$ac_lib |
| 13268 |
|
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 13269 |
|
fi |
| 13270 |
< |
if ac_fn_c_try_link "$LINENO"; then : |
| 13270 |
> |
if ac_fn_c_try_link "$LINENO" |
| 13271 |
> |
then : |
| 13272 |
|
ac_cv_search_dlopen=$ac_res |
| 13273 |
|
fi |
| 13274 |
< |
rm -f core conftest.err conftest.$ac_objext \ |
| 13274 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 13275 |
|
conftest$ac_exeext |
| 13276 |
< |
if ${ac_cv_search_dlopen+:} false; then : |
| 13276 |
> |
if test ${ac_cv_search_dlopen+y} |
| 13277 |
> |
then : |
| 13278 |
|
break |
| 13279 |
|
fi |
| 13280 |
|
done |
| 13281 |
< |
if ${ac_cv_search_dlopen+:} false; then : |
| 13281 |
> |
if test ${ac_cv_search_dlopen+y} |
| 13282 |
> |
then : |
| 13283 |
|
|
| 13284 |
< |
else |
| 13284 |
> |
else $as_nop |
| 13285 |
|
ac_cv_search_dlopen=no |
| 13286 |
|
fi |
| 13287 |
|
rm conftest.$ac_ext |
| 13288 |
|
LIBS=$ac_func_search_save_LIBS |
| 13289 |
|
fi |
| 13290 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5 |
| 13291 |
< |
$as_echo "$ac_cv_search_dlopen" >&6; } |
| 13290 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5 |
| 13291 |
> |
printf "%s\n" "$ac_cv_search_dlopen" >&6; } |
| 13292 |
|
ac_res=$ac_cv_search_dlopen |
| 13293 |
< |
if test "$ac_res" != no; then : |
| 13293 |
> |
if test "$ac_res" != no |
| 13294 |
> |
then : |
| 13295 |
|
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 13296 |
|
|
| 13297 |
< |
$as_echo "#define HAVE_LIBDL 1" >>confdefs.h |
| 13297 |
> |
printf "%s\n" "#define HAVE_LIBDL 1" >>confdefs.h |
| 13298 |
|
|
| 13299 |
< |
if test "$ac_cv_search_dlopen" != "none required" ; then |
| 13300 |
< |
LIBADD_DLOPEN="-ldl" |
| 13299 |
> |
if test "$ac_cv_search_dlopen" != "none required"; then |
| 13300 |
> |
LIBADD_DLOPEN=-ldl |
| 13301 |
|
fi |
| 13302 |
< |
libltdl_cv_lib_dl_dlopen="yes" |
| 13302 |
> |
libltdl_cv_lib_dl_dlopen=yes |
| 13303 |
|
LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la" |
| 13304 |
< |
else |
| 13304 |
> |
else $as_nop |
| 13305 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13306 |
|
/* end confdefs.h. */ |
| 13307 |
|
#if HAVE_DLFCN_H |
| 13309 |
|
#endif |
| 13310 |
|
|
| 13311 |
|
int |
| 13312 |
< |
main () |
| 13312 |
> |
main (void) |
| 13313 |
|
{ |
| 13314 |
|
dlopen(0, 0); |
| 13315 |
|
; |
| 13316 |
|
return 0; |
| 13317 |
|
} |
| 13318 |
|
_ACEOF |
| 13319 |
< |
if ac_fn_c_try_link "$LINENO"; then : |
| 13319 |
> |
if ac_fn_c_try_link "$LINENO" |
| 13320 |
> |
then : |
| 13321 |
|
|
| 13322 |
< |
$as_echo "#define HAVE_LIBDL 1" >>confdefs.h |
| 13322 |
> |
printf "%s\n" "#define HAVE_LIBDL 1" >>confdefs.h |
| 13323 |
|
|
| 13324 |
< |
libltdl_cv_func_dlopen="yes" |
| 13324 |
> |
libltdl_cv_func_dlopen=yes |
| 13325 |
|
LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la" |
| 13326 |
< |
else |
| 13327 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 |
| 13328 |
< |
$as_echo_n "checking for dlopen in -lsvld... " >&6; } |
| 13329 |
< |
if ${ac_cv_lib_svld_dlopen+:} false; then : |
| 13330 |
< |
$as_echo_n "(cached) " >&6 |
| 13331 |
< |
else |
| 13326 |
> |
else $as_nop |
| 13327 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 |
| 13328 |
> |
printf %s "checking for dlopen in -lsvld... " >&6; } |
| 13329 |
> |
if test ${ac_cv_lib_svld_dlopen+y} |
| 13330 |
> |
then : |
| 13331 |
> |
printf %s "(cached) " >&6 |
| 13332 |
> |
else $as_nop |
| 13333 |
|
ac_check_lib_save_LIBS=$LIBS |
| 13334 |
|
LIBS="-lsvld $LIBS" |
| 13335 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13338 |
|
/* Override any GCC internal prototype to avoid an error. |
| 13339 |
|
Use char because int might match the return type of a GCC |
| 13340 |
|
builtin and then its argument prototype would still apply. */ |
| 12285 |
– |
#ifdef __cplusplus |
| 12286 |
– |
extern "C" |
| 12287 |
– |
#endif |
| 13341 |
|
char dlopen (); |
| 13342 |
|
int |
| 13343 |
< |
main () |
| 13343 |
> |
main (void) |
| 13344 |
|
{ |
| 13345 |
|
return dlopen (); |
| 13346 |
|
; |
| 13347 |
|
return 0; |
| 13348 |
|
} |
| 13349 |
|
_ACEOF |
| 13350 |
< |
if ac_fn_c_try_link "$LINENO"; then : |
| 13350 |
> |
if ac_fn_c_try_link "$LINENO" |
| 13351 |
> |
then : |
| 13352 |
|
ac_cv_lib_svld_dlopen=yes |
| 13353 |
< |
else |
| 13353 |
> |
else $as_nop |
| 13354 |
|
ac_cv_lib_svld_dlopen=no |
| 13355 |
|
fi |
| 13356 |
< |
rm -f core conftest.err conftest.$ac_objext \ |
| 13356 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 13357 |
|
conftest$ac_exeext conftest.$ac_ext |
| 13358 |
|
LIBS=$ac_check_lib_save_LIBS |
| 13359 |
|
fi |
| 13360 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 |
| 13361 |
< |
$as_echo "$ac_cv_lib_svld_dlopen" >&6; } |
| 13362 |
< |
if test "x$ac_cv_lib_svld_dlopen" = xyes; then : |
| 13360 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 |
| 13361 |
> |
printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; } |
| 13362 |
> |
if test "x$ac_cv_lib_svld_dlopen" = xyes |
| 13363 |
> |
then : |
| 13364 |
|
|
| 13365 |
< |
$as_echo "#define HAVE_LIBDL 1" >>confdefs.h |
| 13365 |
> |
printf "%s\n" "#define HAVE_LIBDL 1" >>confdefs.h |
| 13366 |
|
|
| 13367 |
< |
LIBADD_DLOPEN="-lsvld" libltdl_cv_func_dlopen="yes" |
| 13367 |
> |
LIBADD_DLOPEN=-lsvld libltdl_cv_func_dlopen=yes |
| 13368 |
|
LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la" |
| 13369 |
|
fi |
| 13370 |
|
|
| 13371 |
|
fi |
| 13372 |
< |
rm -f core conftest.err conftest.$ac_objext \ |
| 13372 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 13373 |
|
conftest$ac_exeext conftest.$ac_ext |
| 13374 |
|
fi |
| 13375 |
|
|
| 13376 |
< |
if test x"$libltdl_cv_func_dlopen" = xyes || test x"$libltdl_cv_lib_dl_dlopen" = xyes |
| 13376 |
> |
if test yes = "$libltdl_cv_func_dlopen" || test yes = "$libltdl_cv_lib_dl_dlopen" |
| 13377 |
|
then |
| 13378 |
< |
lt_save_LIBS="$LIBS" |
| 13378 |
> |
lt_save_LIBS=$LIBS |
| 13379 |
|
LIBS="$LIBS $LIBADD_DLOPEN" |
| 12325 |
– |
for ac_func in dlerror |
| 12326 |
– |
do : |
| 13380 |
|
ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror" |
| 13381 |
< |
if test "x$ac_cv_func_dlerror" = xyes; then : |
| 13382 |
< |
cat >>confdefs.h <<_ACEOF |
| 13383 |
< |
#define HAVE_DLERROR 1 |
| 12331 |
< |
_ACEOF |
| 13381 |
> |
if test "x$ac_cv_func_dlerror" = xyes |
| 13382 |
> |
then : |
| 13383 |
> |
printf "%s\n" "#define HAVE_DLERROR 1" >>confdefs.h |
| 13384 |
|
|
| 13385 |
|
fi |
| 12334 |
– |
done |
| 13386 |
|
|
| 13387 |
< |
LIBS="$lt_save_LIBS" |
| 13387 |
> |
LIBS=$lt_save_LIBS |
| 13388 |
|
fi |
| 13389 |
|
|
| 13390 |
|
|
| 13391 |
|
LIBADD_SHL_LOAD= |
| 13392 |
|
ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" |
| 13393 |
< |
if test "x$ac_cv_func_shl_load" = xyes; then : |
| 13393 |
> |
if test "x$ac_cv_func_shl_load" = xyes |
| 13394 |
> |
then : |
| 13395 |
|
|
| 13396 |
< |
$as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h |
| 13396 |
> |
printf "%s\n" "#define HAVE_SHL_LOAD 1" >>confdefs.h |
| 13397 |
|
|
| 13398 |
|
LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la" |
| 13399 |
< |
else |
| 13400 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 |
| 13401 |
< |
$as_echo_n "checking for shl_load in -ldld... " >&6; } |
| 13402 |
< |
if ${ac_cv_lib_dld_shl_load+:} false; then : |
| 13403 |
< |
$as_echo_n "(cached) " >&6 |
| 13404 |
< |
else |
| 13399 |
> |
else $as_nop |
| 13400 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 |
| 13401 |
> |
printf %s "checking for shl_load in -ldld... " >&6; } |
| 13402 |
> |
if test ${ac_cv_lib_dld_shl_load+y} |
| 13403 |
> |
then : |
| 13404 |
> |
printf %s "(cached) " >&6 |
| 13405 |
> |
else $as_nop |
| 13406 |
|
ac_check_lib_save_LIBS=$LIBS |
| 13407 |
|
LIBS="-ldld $LIBS" |
| 13408 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13411 |
|
/* Override any GCC internal prototype to avoid an error. |
| 13412 |
|
Use char because int might match the return type of a GCC |
| 13413 |
|
builtin and then its argument prototype would still apply. */ |
| 12361 |
– |
#ifdef __cplusplus |
| 12362 |
– |
extern "C" |
| 12363 |
– |
#endif |
| 13414 |
|
char shl_load (); |
| 13415 |
|
int |
| 13416 |
< |
main () |
| 13416 |
> |
main (void) |
| 13417 |
|
{ |
| 13418 |
|
return shl_load (); |
| 13419 |
|
; |
| 13420 |
|
return 0; |
| 13421 |
|
} |
| 13422 |
|
_ACEOF |
| 13423 |
< |
if ac_fn_c_try_link "$LINENO"; then : |
| 13423 |
> |
if ac_fn_c_try_link "$LINENO" |
| 13424 |
> |
then : |
| 13425 |
|
ac_cv_lib_dld_shl_load=yes |
| 13426 |
< |
else |
| 13426 |
> |
else $as_nop |
| 13427 |
|
ac_cv_lib_dld_shl_load=no |
| 13428 |
|
fi |
| 13429 |
< |
rm -f core conftest.err conftest.$ac_objext \ |
| 13429 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 13430 |
|
conftest$ac_exeext conftest.$ac_ext |
| 13431 |
|
LIBS=$ac_check_lib_save_LIBS |
| 13432 |
|
fi |
| 13433 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 |
| 13434 |
< |
$as_echo "$ac_cv_lib_dld_shl_load" >&6; } |
| 13435 |
< |
if test "x$ac_cv_lib_dld_shl_load" = xyes; then : |
| 13433 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 |
| 13434 |
> |
printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; } |
| 13435 |
> |
if test "x$ac_cv_lib_dld_shl_load" = xyes |
| 13436 |
> |
then : |
| 13437 |
|
|
| 13438 |
< |
$as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h |
| 13438 |
> |
printf "%s\n" "#define HAVE_SHL_LOAD 1" >>confdefs.h |
| 13439 |
|
|
| 13440 |
|
LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la" |
| 13441 |
< |
LIBADD_SHL_LOAD="-ldld" |
| 13441 |
> |
LIBADD_SHL_LOAD=-ldld |
| 13442 |
|
fi |
| 13443 |
|
|
| 13444 |
|
fi |
| 13449 |
|
darwin[1567].*) |
| 13450 |
|
# We only want this for pre-Mac OS X 10.4. |
| 13451 |
|
ac_fn_c_check_func "$LINENO" "_dyld_func_lookup" "ac_cv_func__dyld_func_lookup" |
| 13452 |
< |
if test "x$ac_cv_func__dyld_func_lookup" = xyes; then : |
| 13452 |
> |
if test "x$ac_cv_func__dyld_func_lookup" = xyes |
| 13453 |
> |
then : |
| 13454 |
|
|
| 13455 |
< |
$as_echo "#define HAVE_DYLD 1" >>confdefs.h |
| 13455 |
> |
printf "%s\n" "#define HAVE_DYLD 1" >>confdefs.h |
| 13456 |
|
|
| 13457 |
|
LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la" |
| 13458 |
|
fi |
| 13461 |
|
beos*) |
| 13462 |
|
LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la" |
| 13463 |
|
;; |
| 13464 |
< |
cygwin* | mingw* | os2* | pw32*) |
| 13465 |
< |
ac_fn_c_check_decl "$LINENO" "cygwin_conv_path" "ac_cv_have_decl_cygwin_conv_path" "#include <sys/cygwin.h> |
| 13466 |
< |
" |
| 13467 |
< |
if test "x$ac_cv_have_decl_cygwin_conv_path" = xyes; then : |
| 13464 |
> |
cygwin* | mingw* | pw32*) |
| 13465 |
> |
ac_fn_check_decl "$LINENO" "cygwin_conv_path" "ac_cv_have_decl_cygwin_conv_path" "#include <sys/cygwin.h> |
| 13466 |
> |
" "$ac_c_undeclared_builtin_options" "CFLAGS" |
| 13467 |
> |
if test "x$ac_cv_have_decl_cygwin_conv_path" = xyes |
| 13468 |
> |
then : |
| 13469 |
|
ac_have_decl=1 |
| 13470 |
< |
else |
| 13470 |
> |
else $as_nop |
| 13471 |
|
ac_have_decl=0 |
| 13472 |
|
fi |
| 13473 |
< |
|
| 12420 |
< |
cat >>confdefs.h <<_ACEOF |
| 12421 |
< |
#define HAVE_DECL_CYGWIN_CONV_PATH $ac_have_decl |
| 12422 |
< |
_ACEOF |
| 13473 |
> |
printf "%s\n" "#define HAVE_DECL_CYGWIN_CONV_PATH $ac_have_decl" >>confdefs.h |
| 13474 |
|
|
| 13475 |
|
LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la" |
| 13476 |
|
;; |
| 13477 |
|
esac |
| 13478 |
|
|
| 13479 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 |
| 13480 |
< |
$as_echo_n "checking for dld_link in -ldld... " >&6; } |
| 13481 |
< |
if ${ac_cv_lib_dld_dld_link+:} false; then : |
| 13482 |
< |
$as_echo_n "(cached) " >&6 |
| 13483 |
< |
else |
| 13479 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 |
| 13480 |
> |
printf %s "checking for dld_link in -ldld... " >&6; } |
| 13481 |
> |
if test ${ac_cv_lib_dld_dld_link+y} |
| 13482 |
> |
then : |
| 13483 |
> |
printf %s "(cached) " >&6 |
| 13484 |
> |
else $as_nop |
| 13485 |
|
ac_check_lib_save_LIBS=$LIBS |
| 13486 |
|
LIBS="-ldld $LIBS" |
| 13487 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13490 |
|
/* Override any GCC internal prototype to avoid an error. |
| 13491 |
|
Use char because int might match the return type of a GCC |
| 13492 |
|
builtin and then its argument prototype would still apply. */ |
| 12441 |
– |
#ifdef __cplusplus |
| 12442 |
– |
extern "C" |
| 12443 |
– |
#endif |
| 13493 |
|
char dld_link (); |
| 13494 |
|
int |
| 13495 |
< |
main () |
| 13495 |
> |
main (void) |
| 13496 |
|
{ |
| 13497 |
|
return dld_link (); |
| 13498 |
|
; |
| 13499 |
|
return 0; |
| 13500 |
|
} |
| 13501 |
|
_ACEOF |
| 13502 |
< |
if ac_fn_c_try_link "$LINENO"; then : |
| 13502 |
> |
if ac_fn_c_try_link "$LINENO" |
| 13503 |
> |
then : |
| 13504 |
|
ac_cv_lib_dld_dld_link=yes |
| 13505 |
< |
else |
| 13505 |
> |
else $as_nop |
| 13506 |
|
ac_cv_lib_dld_dld_link=no |
| 13507 |
|
fi |
| 13508 |
< |
rm -f core conftest.err conftest.$ac_objext \ |
| 13508 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 13509 |
|
conftest$ac_exeext conftest.$ac_ext |
| 13510 |
|
LIBS=$ac_check_lib_save_LIBS |
| 13511 |
|
fi |
| 13512 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 |
| 13513 |
< |
$as_echo "$ac_cv_lib_dld_dld_link" >&6; } |
| 13514 |
< |
if test "x$ac_cv_lib_dld_dld_link" = xyes; then : |
| 13512 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 |
| 13513 |
> |
printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; } |
| 13514 |
> |
if test "x$ac_cv_lib_dld_dld_link" = xyes |
| 13515 |
> |
then : |
| 13516 |
|
|
| 13517 |
< |
$as_echo "#define HAVE_DLD 1" >>confdefs.h |
| 13517 |
> |
printf "%s\n" "#define HAVE_DLD 1" >>confdefs.h |
| 13518 |
|
|
| 13519 |
|
LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la" |
| 13520 |
|
fi |
| 13529 |
|
LT_DLPREOPEN="$LT_DLPREOPEN-dlpreopen $lt_loader " |
| 13530 |
|
done |
| 13531 |
|
|
| 13532 |
< |
$as_echo "#define HAVE_LIBDLLOADER 1" >>confdefs.h |
| 13532 |
> |
printf "%s\n" "#define HAVE_LIBDLLOADER 1" >>confdefs.h |
| 13533 |
|
|
| 13534 |
|
fi |
| 13535 |
|
|
| 13537 |
|
LIBADD_DL="$LIBADD_DLOPEN $LIBADD_SHL_LOAD" |
| 13538 |
|
|
| 13539 |
|
|
| 13540 |
+ |
LIBS=$lt_dlload_save_LIBS |
| 13541 |
|
ac_ext=c |
| 13542 |
|
ac_cpp='$CPP $CPPFLAGS' |
| 13543 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 13545 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 13546 |
|
|
| 13547 |
|
|
| 13548 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ prefix in compiled symbols" >&5 |
| 13549 |
< |
$as_echo_n "checking for _ prefix in compiled symbols... " >&6; } |
| 13550 |
< |
if ${lt_cv_sys_symbol_underscore+:} false; then : |
| 13551 |
< |
$as_echo_n "(cached) " >&6 |
| 13552 |
< |
else |
| 13548 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _ prefix in compiled symbols" >&5 |
| 13549 |
> |
printf %s "checking for _ prefix in compiled symbols... " >&6; } |
| 13550 |
> |
if test ${lt_cv_sys_symbol_underscore+y} |
| 13551 |
> |
then : |
| 13552 |
> |
printf %s "(cached) " >&6 |
| 13553 |
> |
else $as_nop |
| 13554 |
|
lt_cv_sys_symbol_underscore=no |
| 13555 |
|
cat > conftest.$ac_ext <<_LT_EOF |
| 13556 |
|
void nm_test_func(){} |
| 13559 |
|
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
| 13560 |
|
(eval $ac_compile) 2>&5 |
| 13561 |
|
ac_status=$? |
| 13562 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13562 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13563 |
|
test $ac_status = 0; }; then |
| 13564 |
|
# Now try to grab the symbols. |
| 13565 |
|
ac_nlist=conftest.nm |
| 13566 |
|
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist\""; } >&5 |
| 13567 |
|
(eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) 2>&5 |
| 13568 |
|
ac_status=$? |
| 13569 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13569 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13570 |
|
test $ac_status = 0; } && test -s "$ac_nlist"; then |
| 13571 |
|
# See whether the symbols have a leading underscore. |
| 13572 |
|
if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then |
| 13588 |
|
rm -rf conftest* |
| 13589 |
|
|
| 13590 |
|
fi |
| 13591 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_symbol_underscore" >&5 |
| 13592 |
< |
$as_echo "$lt_cv_sys_symbol_underscore" >&6; } |
| 13591 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_symbol_underscore" >&5 |
| 13592 |
> |
printf "%s\n" "$lt_cv_sys_symbol_underscore" >&6; } |
| 13593 |
|
sys_symbol_underscore=$lt_cv_sys_symbol_underscore |
| 13594 |
|
|
| 13595 |
|
|
| 13596 |
< |
if test x"$lt_cv_sys_symbol_underscore" = xyes; then |
| 13597 |
< |
if test x"$libltdl_cv_func_dlopen" = xyes || |
| 13598 |
< |
test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then |
| 13599 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5 |
| 13600 |
< |
$as_echo_n "checking whether we have to add an underscore for dlsym... " >&6; } |
| 13601 |
< |
if ${libltdl_cv_need_uscore+:} false; then : |
| 13602 |
< |
$as_echo_n "(cached) " >&6 |
| 13603 |
< |
else |
| 13596 |
> |
if test yes = "$lt_cv_sys_symbol_underscore"; then |
| 13597 |
> |
if test yes = "$libltdl_cv_func_dlopen" || test yes = "$libltdl_cv_lib_dl_dlopen"; then |
| 13598 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5 |
| 13599 |
> |
printf %s "checking whether we have to add an underscore for dlsym... " >&6; } |
| 13600 |
> |
if test ${libltdl_cv_need_uscore+y} |
| 13601 |
> |
then : |
| 13602 |
> |
printf %s "(cached) " >&6 |
| 13603 |
> |
else $as_nop |
| 13604 |
|
libltdl_cv_need_uscore=unknown |
| 13605 |
< |
save_LIBS="$LIBS" |
| 13606 |
< |
LIBS="$LIBS $LIBADD_DLOPEN" |
| 13607 |
< |
if test "$cross_compiling" = yes; then : |
| 13608 |
< |
libltdl_cv_need_uscore=cross |
| 12556 |
< |
else |
| 12557 |
< |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
| 12558 |
< |
lt_status=$lt_dlunknown |
| 12559 |
< |
cat > conftest.$ac_ext <<_LT_EOF |
| 13605 |
> |
dlsym_uscore_save_LIBS=$LIBS |
| 13606 |
> |
LIBS="$LIBS $LIBADD_DLOPEN" |
| 13607 |
> |
libname=conftmod # stay within 8.3 filename limits! |
| 13608 |
> |
cat >$libname.$ac_ext <<_LT_EOF |
| 13609 |
|
#line $LINENO "configure" |
| 13610 |
|
#include "confdefs.h" |
| 13611 |
+ |
/* When -fvisibility=hidden is used, assume the code has been annotated |
| 13612 |
+ |
correspondingly for the symbols needed. */ |
| 13613 |
+ |
#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) |
| 13614 |
+ |
int fnord () __attribute__((visibility("default"))); |
| 13615 |
+ |
#endif |
| 13616 |
+ |
int fnord () { return 42; } |
| 13617 |
+ |
_LT_EOF |
| 13618 |
|
|
| 13619 |
+ |
# ltfn_module_cmds module_cmds |
| 13620 |
+ |
# Execute tilde-delimited MODULE_CMDS with environment primed for |
| 13621 |
+ |
# $module_cmds or $archive_cmds type content. |
| 13622 |
+ |
ltfn_module_cmds () |
| 13623 |
+ |
{( # subshell avoids polluting parent global environment |
| 13624 |
+ |
module_cmds_save_ifs=$IFS; IFS='~' |
| 13625 |
+ |
for cmd in $1; do |
| 13626 |
+ |
IFS=$module_cmds_save_ifs |
| 13627 |
+ |
libobjs=$libname.$ac_objext; lib=$libname$libltdl_cv_shlibext |
| 13628 |
+ |
rpath=/not-exists; soname=$libname$libltdl_cv_shlibext; output_objdir=. |
| 13629 |
+ |
major=; versuffix=; verstring=; deplibs= |
| 13630 |
+ |
ECHO=echo; wl=$lt_prog_compiler_wl; allow_undefined_flag= |
| 13631 |
+ |
eval $cmd |
| 13632 |
+ |
done |
| 13633 |
+ |
IFS=$module_cmds_save_ifs |
| 13634 |
+ |
)} |
| 13635 |
+ |
|
| 13636 |
+ |
# Compile a loadable module using libtool macro expansion results. |
| 13637 |
+ |
$CC $pic_flag -c $libname.$ac_ext |
| 13638 |
+ |
ltfn_module_cmds "${module_cmds:-$archive_cmds}" |
| 13639 |
+ |
|
| 13640 |
+ |
# Try to fetch fnord with dlsym(). |
| 13641 |
+ |
libltdl_dlunknown=0; libltdl_dlnouscore=1; libltdl_dluscore=2 |
| 13642 |
+ |
cat >conftest.$ac_ext <<_LT_EOF |
| 13643 |
+ |
#line $LINENO "configure" |
| 13644 |
+ |
#include "confdefs.h" |
| 13645 |
|
#if HAVE_DLFCN_H |
| 13646 |
|
#include <dlfcn.h> |
| 13647 |
|
#endif |
| 12566 |
– |
|
| 13648 |
|
#include <stdio.h> |
| 13649 |
< |
|
| 12569 |
< |
#ifdef RTLD_GLOBAL |
| 12570 |
< |
# define LT_DLGLOBAL RTLD_GLOBAL |
| 12571 |
< |
#else |
| 13649 |
> |
#ifndef RTLD_GLOBAL |
| 13650 |
|
# ifdef DL_GLOBAL |
| 13651 |
< |
# define LT_DLGLOBAL DL_GLOBAL |
| 13651 |
> |
# define RTLD_GLOBAL DL_GLOBAL |
| 13652 |
|
# else |
| 13653 |
< |
# define LT_DLGLOBAL 0 |
| 13653 |
> |
# define RTLD_GLOBAL 0 |
| 13654 |
|
# endif |
| 13655 |
|
#endif |
| 13656 |
< |
|
| 13657 |
< |
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we |
| 13658 |
< |
find out it does not work in some platform. */ |
| 12581 |
< |
#ifndef LT_DLLAZY_OR_NOW |
| 12582 |
< |
# ifdef RTLD_LAZY |
| 12583 |
< |
# define LT_DLLAZY_OR_NOW RTLD_LAZY |
| 13656 |
> |
#ifndef RTLD_NOW |
| 13657 |
> |
# ifdef DL_NOW |
| 13658 |
> |
# define RTLD_NOW DL_NOW |
| 13659 |
|
# else |
| 13660 |
< |
# ifdef DL_LAZY |
| 12586 |
< |
# define LT_DLLAZY_OR_NOW DL_LAZY |
| 12587 |
< |
# else |
| 12588 |
< |
# ifdef RTLD_NOW |
| 12589 |
< |
# define LT_DLLAZY_OR_NOW RTLD_NOW |
| 12590 |
< |
# else |
| 12591 |
< |
# ifdef DL_NOW |
| 12592 |
< |
# define LT_DLLAZY_OR_NOW DL_NOW |
| 12593 |
< |
# else |
| 12594 |
< |
# define LT_DLLAZY_OR_NOW 0 |
| 12595 |
< |
# endif |
| 12596 |
< |
# endif |
| 12597 |
< |
# endif |
| 13660 |
> |
# define RTLD_NOW 0 |
| 13661 |
|
# endif |
| 13662 |
|
#endif |
| 13663 |
< |
|
| 13664 |
< |
/* When -fvisbility=hidden is used, assume the code has been annotated |
| 13665 |
< |
correspondingly for the symbols needed. */ |
| 13666 |
< |
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) |
| 13667 |
< |
int fnord () __attribute__((visibility("default"))); |
| 13668 |
< |
#endif |
| 13669 |
< |
|
| 13670 |
< |
int fnord () { return 42; } |
| 13671 |
< |
int main () |
| 12609 |
< |
{ |
| 12610 |
< |
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); |
| 12611 |
< |
int status = $lt_dlunknown; |
| 12612 |
< |
|
| 12613 |
< |
if (self) |
| 12614 |
< |
{ |
| 12615 |
< |
if (dlsym (self,"fnord")) status = $lt_dlno_uscore; |
| 13663 |
> |
int main () { |
| 13664 |
> |
void *handle = dlopen ("`pwd`/$libname$libltdl_cv_shlibext", RTLD_GLOBAL|RTLD_NOW); |
| 13665 |
> |
int status = $libltdl_dlunknown; |
| 13666 |
> |
if (handle) { |
| 13667 |
> |
if (dlsym (handle, "fnord")) |
| 13668 |
> |
status = $libltdl_dlnouscore; |
| 13669 |
> |
else { |
| 13670 |
> |
if (dlsym (handle, "_fnord")) |
| 13671 |
> |
status = $libltdl_dluscore; |
| 13672 |
|
else |
| 13673 |
< |
{ |
| 12618 |
< |
if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
| 12619 |
< |
else puts (dlerror ()); |
| 12620 |
< |
} |
| 12621 |
< |
/* dlclose (self); */ |
| 13673 |
> |
puts (dlerror ()); |
| 13674 |
|
} |
| 13675 |
< |
else |
| 13675 |
> |
dlclose (handle); |
| 13676 |
> |
} else |
| 13677 |
|
puts (dlerror ()); |
| 12625 |
– |
|
| 13678 |
|
return status; |
| 13679 |
|
} |
| 13680 |
|
_LT_EOF |
| 13681 |
< |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 |
| 13681 |
> |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 |
| 13682 |
|
(eval $ac_link) 2>&5 |
| 13683 |
|
ac_status=$? |
| 13684 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13685 |
< |
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then |
| 13686 |
< |
(./conftest; exit; ) >&5 2>/dev/null |
| 13687 |
< |
lt_status=$? |
| 13688 |
< |
case x$lt_status in |
| 13689 |
< |
x$lt_dlno_uscore) libltdl_cv_need_uscore=no ;; |
| 13690 |
< |
x$lt_dlneed_uscore) libltdl_cv_need_uscore=yes ;; |
| 13691 |
< |
x$lt_dlunknown|x*) ;; |
| 13692 |
< |
esac |
| 13693 |
< |
else : |
| 13694 |
< |
# compilation failed |
| 13695 |
< |
|
| 12644 |
< |
fi |
| 12645 |
< |
fi |
| 12646 |
< |
rm -fr conftest* |
| 12647 |
< |
|
| 12648 |
< |
LIBS="$save_LIBS" |
| 13684 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13685 |
> |
test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then |
| 13686 |
> |
(./conftest; exit; ) >&5 2>/dev/null |
| 13687 |
> |
libltdl_status=$? |
| 13688 |
> |
case x$libltdl_status in |
| 13689 |
> |
x$libltdl_dlnouscore) libltdl_cv_need_uscore=no ;; |
| 13690 |
> |
x$libltdl_dluscore) libltdl_cv_need_uscore=yes ;; |
| 13691 |
> |
x*) libltdl_cv_need_uscore=unknown ;; |
| 13692 |
> |
esac |
| 13693 |
> |
fi |
| 13694 |
> |
rm -rf conftest* $libname* |
| 13695 |
> |
LIBS=$dlsym_uscore_save_LIBS |
| 13696 |
|
|
| 13697 |
|
fi |
| 13698 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_need_uscore" >&5 |
| 13699 |
< |
$as_echo "$libltdl_cv_need_uscore" >&6; } |
| 13698 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_need_uscore" >&5 |
| 13699 |
> |
printf "%s\n" "$libltdl_cv_need_uscore" >&6; } |
| 13700 |
|
fi |
| 13701 |
|
fi |
| 13702 |
|
|
| 13703 |
< |
if test x"$libltdl_cv_need_uscore" = xyes; then |
| 13703 |
> |
if test yes = "$libltdl_cv_need_uscore"; then |
| 13704 |
|
|
| 13705 |
< |
$as_echo "#define NEED_USCORE 1" >>confdefs.h |
| 13705 |
> |
printf "%s\n" "#define NEED_USCORE 1" >>confdefs.h |
| 13706 |
|
|
| 13707 |
|
fi |
| 13708 |
|
|
| 13709 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether deplibs are loaded by dlopen" >&5 |
| 13710 |
< |
$as_echo_n "checking whether deplibs are loaded by dlopen... " >&6; } |
| 13711 |
< |
if ${lt_cv_sys_dlopen_deplibs+:} false; then : |
| 13712 |
< |
$as_echo_n "(cached) " >&6 |
| 13713 |
< |
else |
| 13709 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether deplibs are loaded by dlopen" >&5 |
| 13710 |
> |
printf %s "checking whether deplibs are loaded by dlopen... " >&6; } |
| 13711 |
> |
if test ${lt_cv_sys_dlopen_deplibs+y} |
| 13712 |
> |
then : |
| 13713 |
> |
printf %s "(cached) " >&6 |
| 13714 |
> |
else $as_nop |
| 13715 |
|
# PORTME does your system automatically load deplibs for dlopen? |
| 13716 |
|
# or its logical equivalent (e.g. shl_load for HP-UX < 11) |
| 13717 |
|
# For now, we just catch OSes we know something about -- in the |
| 13720 |
|
case $host_os in |
| 13721 |
|
aix3*|aix4.1.*|aix4.2.*) |
| 13722 |
|
# Unknown whether this is true for these versions of AIX, but |
| 13723 |
< |
# we want this `case' here to explicitly catch those versions. |
| 13723 |
> |
# we want this 'case' here to explicitly catch those versions. |
| 13724 |
|
lt_cv_sys_dlopen_deplibs=unknown |
| 13725 |
|
;; |
| 13726 |
|
aix[4-9]*) |
| 13733 |
|
;; |
| 13734 |
|
esac |
| 13735 |
|
;; |
| 13736 |
+ |
bitrig*) |
| 13737 |
+ |
lt_cv_sys_dlopen_deplibs=yes |
| 13738 |
+ |
;; |
| 13739 |
|
darwin*) |
| 13740 |
|
# Assuming the user has installed a libdl from somewhere, this is true |
| 13741 |
|
# If you are looking for one http://www.opendarwin.org/projects/dlcompat |
| 13742 |
|
lt_cv_sys_dlopen_deplibs=yes |
| 13743 |
|
;; |
| 13744 |
< |
freebsd* | dragonfly*) |
| 13744 |
> |
freebsd* | dragonfly* | midnightbsd*) |
| 13745 |
|
lt_cv_sys_dlopen_deplibs=yes |
| 13746 |
|
;; |
| 13747 |
|
gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu) |
| 13773 |
|
osf[1234]*) |
| 13774 |
|
# dlopen did load deplibs (at least at 4.x), but until the 5.x series, |
| 13775 |
|
# it did *not* use an RPATH in a shared library to find objects the |
| 13776 |
< |
# library depends on, so we explicitly say `no'. |
| 13776 |
> |
# library depends on, so we explicitly say 'no'. |
| 13777 |
|
lt_cv_sys_dlopen_deplibs=no |
| 13778 |
|
;; |
| 13779 |
|
osf5.0|osf5.0a|osf5.1) |
| 13782 |
|
# that the library depends on, but there's no easy way to know if that |
| 13783 |
|
# patch is installed. Since this is the case, all we can really |
| 13784 |
|
# say is unknown -- it depends on the patch being installed. If |
| 13785 |
< |
# it is, this changes to `yes'. Without it, it would be `no'. |
| 13785 |
> |
# it is, this changes to 'yes'. Without it, it would be 'no'. |
| 13786 |
|
lt_cv_sys_dlopen_deplibs=unknown |
| 13787 |
|
;; |
| 13788 |
|
osf*) |
| 13789 |
|
# the two cases above should catch all versions of osf <= 5.1. Read |
| 13790 |
|
# the comments above for what we know about them. |
| 13791 |
|
# At > 5.1, deplibs are loaded *and* any RPATH in a shared library |
| 13792 |
< |
# is used to find them so we can finally say `yes'. |
| 13792 |
> |
# is used to find them so we can finally say 'yes'. |
| 13793 |
|
lt_cv_sys_dlopen_deplibs=yes |
| 13794 |
|
;; |
| 13795 |
|
qnx*) |
| 13804 |
|
esac |
| 13805 |
|
|
| 13806 |
|
fi |
| 13807 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlopen_deplibs" >&5 |
| 13808 |
< |
$as_echo "$lt_cv_sys_dlopen_deplibs" >&6; } |
| 13809 |
< |
if test "$lt_cv_sys_dlopen_deplibs" != yes; then |
| 13807 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlopen_deplibs" >&5 |
| 13808 |
> |
printf "%s\n" "$lt_cv_sys_dlopen_deplibs" >&6; } |
| 13809 |
> |
if test yes != "$lt_cv_sys_dlopen_deplibs"; then |
| 13810 |
|
|
| 13811 |
< |
$as_echo "#define LTDL_DLOPEN_DEPLIBS 1" >>confdefs.h |
| 13811 |
> |
printf "%s\n" "#define LTDL_DLOPEN_DEPLIBS 1" >>confdefs.h |
| 13812 |
|
|
| 13813 |
|
fi |
| 13814 |
|
|
| 12764 |
– |
: |
| 13815 |
|
|
| 13816 |
< |
for ac_header in argz.h |
| 12767 |
< |
do : |
| 12768 |
< |
ac_fn_c_check_header_compile "$LINENO" "argz.h" "ac_cv_header_argz_h" "$ac_includes_default |
| 13816 |
> |
ac_fn_c_check_header_compile "$LINENO" "argz.h" "ac_cv_header_argz_h" "$ac_includes_default |
| 13817 |
|
" |
| 13818 |
< |
if test "x$ac_cv_header_argz_h" = xyes; then : |
| 13819 |
< |
cat >>confdefs.h <<_ACEOF |
| 13820 |
< |
#define HAVE_ARGZ_H 1 |
| 12773 |
< |
_ACEOF |
| 13818 |
> |
if test "x$ac_cv_header_argz_h" = xyes |
| 13819 |
> |
then : |
| 13820 |
> |
printf "%s\n" "#define HAVE_ARGZ_H 1" >>confdefs.h |
| 13821 |
|
|
| 13822 |
|
fi |
| 13823 |
|
|
| 12777 |
– |
done |
| 12778 |
– |
|
| 13824 |
|
|
| 13825 |
|
ac_fn_c_check_type "$LINENO" "error_t" "ac_cv_type_error_t" "#if defined(HAVE_ARGZ_H) |
| 13826 |
|
# include <argz.h> |
| 13827 |
|
#endif |
| 13828 |
|
" |
| 13829 |
< |
if test "x$ac_cv_type_error_t" = xyes; then : |
| 13829 |
> |
if test "x$ac_cv_type_error_t" = xyes |
| 13830 |
> |
then : |
| 13831 |
|
|
| 13832 |
< |
cat >>confdefs.h <<_ACEOF |
| 12787 |
< |
#define HAVE_ERROR_T 1 |
| 12788 |
< |
_ACEOF |
| 13832 |
> |
printf "%s\n" "#define HAVE_ERROR_T 1" >>confdefs.h |
| 13833 |
|
|
| 13834 |
|
|
| 13835 |
< |
else |
| 13835 |
> |
else $as_nop |
| 13836 |
|
|
| 13837 |
< |
$as_echo "#define error_t int" >>confdefs.h |
| 13837 |
> |
printf "%s\n" "#define error_t int" >>confdefs.h |
| 13838 |
|
|
| 13839 |
|
|
| 13840 |
< |
$as_echo "#define __error_t_defined 1" >>confdefs.h |
| 13840 |
> |
printf "%s\n" "#define __error_t_defined 1" >>confdefs.h |
| 13841 |
|
|
| 13842 |
|
fi |
| 13843 |
|
|
| 13844 |
|
|
| 13845 |
< |
ARGZ_H= |
| 13846 |
< |
for ac_func in argz_add argz_append argz_count argz_create_sep argz_insert \ |
| 13847 |
< |
argz_next argz_stringify |
| 13845 |
> |
LT_ARGZ_H= |
| 13846 |
> |
|
| 13847 |
> |
for ac_func in argz_add argz_append argz_count argz_create_sep argz_insert argz_next argz_stringify |
| 13848 |
|
do : |
| 13849 |
< |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 13849 |
> |
as_ac_var=`printf "%s\n" "ac_cv_func_$ac_func" | $as_tr_sh` |
| 13850 |
|
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
| 13851 |
< |
if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
| 13851 |
> |
if eval test \"x\$"$as_ac_var"\" = x"yes" |
| 13852 |
> |
then : |
| 13853 |
|
cat >>confdefs.h <<_ACEOF |
| 13854 |
< |
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 13854 |
> |
#define `printf "%s\n" "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 13855 |
|
_ACEOF |
| 13856 |
|
|
| 13857 |
< |
else |
| 13858 |
< |
ARGZ_H=argz.h; |
| 13857 |
> |
else $as_nop |
| 13858 |
> |
LT_ARGZ_H=lt__argz.h; |
| 13859 |
|
|
| 13860 |
< |
_LT_LIBOBJS="$_LT_LIBOBJS argz.$ac_objext" |
| 13860 |
> |
_LT_LIBOBJS="$_LT_LIBOBJS lt__argz.$ac_objext" |
| 13861 |
|
|
| 13862 |
|
fi |
| 12818 |
– |
done |
| 13863 |
|
|
| 13864 |
+ |
done |
| 13865 |
|
|
| 13866 |
< |
if test -z "$ARGZ_H"; then : |
| 13867 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if argz actually works" >&5 |
| 13868 |
< |
$as_echo_n "checking if argz actually works... " >&6; } |
| 13869 |
< |
if ${lt_cv_sys_argz_works+:} false; then : |
| 13870 |
< |
$as_echo_n "(cached) " >&6 |
| 13871 |
< |
else |
| 13866 |
> |
if test -z "$LT_ARGZ_H" |
| 13867 |
> |
then : |
| 13868 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if argz actually works" >&5 |
| 13869 |
> |
printf %s "checking if argz actually works... " >&6; } |
| 13870 |
> |
if test ${lt_cv_sys_argz_works+y} |
| 13871 |
> |
then : |
| 13872 |
> |
printf %s "(cached) " >&6 |
| 13873 |
> |
else $as_nop |
| 13874 |
|
case $host_os in #( |
| 13875 |
|
*cygwin*) |
| 13876 |
|
lt_cv_sys_argz_works=no |
| 13877 |
< |
if test "$cross_compiling" != no; then |
| 13877 |
> |
if test no != "$cross_compiling"; then |
| 13878 |
|
lt_cv_sys_argz_works="guessing no" |
| 13879 |
|
else |
| 13880 |
|
lt_sed_extract_leading_digits='s/^\([0-9\.]*\).*/\1/' |
| 13881 |
|
save_IFS=$IFS |
| 13882 |
|
IFS=-. |
| 13883 |
< |
set x `uname -r | sed -e "$lt_sed_extract_leading_digits"` |
| 13883 |
> |
set x `uname -r | $SED -e "$lt_sed_extract_leading_digits"` |
| 13884 |
|
IFS=$save_IFS |
| 13885 |
|
lt_os_major=${2-0} |
| 13886 |
|
lt_os_minor=${3-0} |
| 13887 |
|
lt_os_micro=${4-0} |
| 13888 |
< |
if test "$lt_os_major" -gt 1 \ |
| 13889 |
< |
|| { test "$lt_os_major" -eq 1 \ |
| 13890 |
< |
&& { test "$lt_os_minor" -gt 5 \ |
| 13891 |
< |
|| { test "$lt_os_minor" -eq 5 \ |
| 13892 |
< |
&& test "$lt_os_micro" -gt 24; }; }; }; then |
| 13888 |
> |
if test 1 -lt "$lt_os_major" \ |
| 13889 |
> |
|| { test 1 -eq "$lt_os_major" \ |
| 13890 |
> |
&& { test 5 -lt "$lt_os_minor" \ |
| 13891 |
> |
|| { test 5 -eq "$lt_os_minor" \ |
| 13892 |
> |
&& test 24 -lt "$lt_os_micro"; }; }; }; then |
| 13893 |
|
lt_cv_sys_argz_works=yes |
| 13894 |
|
fi |
| 13895 |
|
fi |
| 13897 |
|
*) lt_cv_sys_argz_works=yes ;; |
| 13898 |
|
esac |
| 13899 |
|
fi |
| 13900 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_argz_works" >&5 |
| 13901 |
< |
$as_echo "$lt_cv_sys_argz_works" >&6; } |
| 13902 |
< |
if test "$lt_cv_sys_argz_works" = yes; then : |
| 13900 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_argz_works" >&5 |
| 13901 |
> |
printf "%s\n" "$lt_cv_sys_argz_works" >&6; } |
| 13902 |
> |
if test yes = "$lt_cv_sys_argz_works" |
| 13903 |
> |
then : |
| 13904 |
|
|
| 13905 |
< |
$as_echo "#define HAVE_WORKING_ARGZ 1" >>confdefs.h |
| 13905 |
> |
printf "%s\n" "#define HAVE_WORKING_ARGZ 1" >>confdefs.h |
| 13906 |
|
|
| 13907 |
< |
else |
| 13908 |
< |
ARGZ_H=argz.h |
| 13907 |
> |
else $as_nop |
| 13908 |
> |
LT_ARGZ_H=lt__argz.h |
| 13909 |
|
|
| 13910 |
|
|
| 13911 |
< |
_LT_LIBOBJS="$_LT_LIBOBJS argz.$ac_objext" |
| 13911 |
> |
_LT_LIBOBJS="$_LT_LIBOBJS lt__argz.$ac_objext" |
| 13912 |
|
|
| 13913 |
|
fi |
| 13914 |
|
fi |
| 13915 |
|
|
| 13916 |
|
|
| 13917 |
|
|
| 13918 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libtool supports -dlopen/-dlpreopen" >&5 |
| 13919 |
< |
$as_echo_n "checking whether libtool supports -dlopen/-dlpreopen... " >&6; } |
| 13920 |
< |
if ${libltdl_cv_preloaded_symbols+:} false; then : |
| 13921 |
< |
$as_echo_n "(cached) " >&6 |
| 13922 |
< |
else |
| 13918 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether libtool supports -dlopen/-dlpreopen" >&5 |
| 13919 |
> |
printf %s "checking whether libtool supports -dlopen/-dlpreopen... " >&6; } |
| 13920 |
> |
if test ${libltdl_cv_preloaded_symbols+y} |
| 13921 |
> |
then : |
| 13922 |
> |
printf %s "(cached) " >&6 |
| 13923 |
> |
else $as_nop |
| 13924 |
|
if test -n "$lt_cv_sys_global_symbol_pipe"; then |
| 13925 |
|
libltdl_cv_preloaded_symbols=yes |
| 13926 |
|
else |
| 13928 |
|
fi |
| 13929 |
|
|
| 13930 |
|
fi |
| 13931 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_preloaded_symbols" >&5 |
| 13932 |
< |
$as_echo "$libltdl_cv_preloaded_symbols" >&6; } |
| 13933 |
< |
if test x"$libltdl_cv_preloaded_symbols" = xyes; then |
| 13931 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_preloaded_symbols" >&5 |
| 13932 |
> |
printf "%s\n" "$libltdl_cv_preloaded_symbols" >&6; } |
| 13933 |
> |
if test yes = "$libltdl_cv_preloaded_symbols"; then |
| 13934 |
|
|
| 13935 |
< |
$as_echo "#define HAVE_PRELOADED_SYMBOLS 1" >>confdefs.h |
| 13935 |
> |
printf "%s\n" "#define HAVE_PRELOADED_SYMBOLS 1" >>confdefs.h |
| 13936 |
|
|
| 13937 |
|
fi |
| 13938 |
|
|
| 13949 |
|
|
| 13950 |
|
|
| 13951 |
|
# Check whether --with-included_ltdl was given. |
| 13952 |
< |
if test "${with_included_ltdl+set}" = set; then : |
| 13952 |
> |
if test ${with_included_ltdl+y} |
| 13953 |
> |
then : |
| 13954 |
|
withval=$with_included_ltdl; |
| 13955 |
|
fi |
| 13956 |
|
|
| 13957 |
|
|
| 13958 |
< |
if test "x$with_included_ltdl" != xyes; then |
| 13958 |
> |
if test yes != "$with_included_ltdl"; then |
| 13959 |
|
# We are not being forced to use the included libltdl sources, so |
| 13960 |
|
# decide whether there is a useful installed version we can use. |
| 13961 |
|
ac_fn_c_check_header_compile "$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" "$ac_includes_default |
| 13962 |
|
|
| 13963 |
|
" |
| 13964 |
< |
if test "x$ac_cv_header_ltdl_h" = xyes; then : |
| 13965 |
< |
ac_fn_c_check_decl "$LINENO" "lt_dlinterface_register" "ac_cv_have_decl_lt_dlinterface_register" "$ac_includes_default |
| 13964 |
> |
if test "x$ac_cv_header_ltdl_h" = xyes |
| 13965 |
> |
then : |
| 13966 |
> |
ac_fn_check_decl "$LINENO" "lt_dlinterface_register" "ac_cv_have_decl_lt_dlinterface_register" "$ac_includes_default |
| 13967 |
|
#include <ltdl.h> |
| 13968 |
< |
" |
| 13969 |
< |
if test "x$ac_cv_have_decl_lt_dlinterface_register" = xyes; then : |
| 13970 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for lt_dladvise_preload in -lltdl" >&5 |
| 13971 |
< |
$as_echo_n "checking for lt_dladvise_preload in -lltdl... " >&6; } |
| 13972 |
< |
if ${ac_cv_lib_ltdl_lt_dladvise_preload+:} false; then : |
| 13973 |
< |
$as_echo_n "(cached) " >&6 |
| 13974 |
< |
else |
| 13968 |
> |
" "$ac_c_undeclared_builtin_options" "CFLAGS" |
| 13969 |
> |
if test "x$ac_cv_have_decl_lt_dlinterface_register" = xyes |
| 13970 |
> |
then : |
| 13971 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for lt_dladvise_preload in -lltdl" >&5 |
| 13972 |
> |
printf %s "checking for lt_dladvise_preload in -lltdl... " >&6; } |
| 13973 |
> |
if test ${ac_cv_lib_ltdl_lt_dladvise_preload+y} |
| 13974 |
> |
then : |
| 13975 |
> |
printf %s "(cached) " >&6 |
| 13976 |
> |
else $as_nop |
| 13977 |
|
ac_check_lib_save_LIBS=$LIBS |
| 13978 |
|
LIBS="-lltdl $LIBS" |
| 13979 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13982 |
|
/* Override any GCC internal prototype to avoid an error. |
| 13983 |
|
Use char because int might match the return type of a GCC |
| 13984 |
|
builtin and then its argument prototype would still apply. */ |
| 12932 |
– |
#ifdef __cplusplus |
| 12933 |
– |
extern "C" |
| 12934 |
– |
#endif |
| 13985 |
|
char lt_dladvise_preload (); |
| 13986 |
|
int |
| 13987 |
< |
main () |
| 13987 |
> |
main (void) |
| 13988 |
|
{ |
| 13989 |
|
return lt_dladvise_preload (); |
| 13990 |
|
; |
| 13991 |
|
return 0; |
| 13992 |
|
} |
| 13993 |
|
_ACEOF |
| 13994 |
< |
if ac_fn_c_try_link "$LINENO"; then : |
| 13994 |
> |
if ac_fn_c_try_link "$LINENO" |
| 13995 |
> |
then : |
| 13996 |
|
ac_cv_lib_ltdl_lt_dladvise_preload=yes |
| 13997 |
< |
else |
| 13997 |
> |
else $as_nop |
| 13998 |
|
ac_cv_lib_ltdl_lt_dladvise_preload=no |
| 13999 |
|
fi |
| 14000 |
< |
rm -f core conftest.err conftest.$ac_objext \ |
| 14000 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 14001 |
|
conftest$ac_exeext conftest.$ac_ext |
| 14002 |
|
LIBS=$ac_check_lib_save_LIBS |
| 14003 |
|
fi |
| 14004 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5 |
| 14005 |
< |
$as_echo "$ac_cv_lib_ltdl_lt_dladvise_preload" >&6; } |
| 14006 |
< |
if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = xyes; then : |
| 14004 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5 |
| 14005 |
> |
printf "%s\n" "$ac_cv_lib_ltdl_lt_dladvise_preload" >&6; } |
| 14006 |
> |
if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = xyes |
| 14007 |
> |
then : |
| 14008 |
|
with_included_ltdl=no |
| 14009 |
< |
else |
| 14009 |
> |
else $as_nop |
| 14010 |
|
with_included_ltdl=yes |
| 14011 |
|
fi |
| 14012 |
|
|
| 14013 |
< |
else |
| 14013 |
> |
else $as_nop |
| 14014 |
|
with_included_ltdl=yes |
| 14015 |
|
fi |
| 14016 |
< |
|
| 12965 |
< |
else |
| 14016 |
> |
else $as_nop |
| 14017 |
|
with_included_ltdl=yes |
| 14018 |
|
fi |
| 14019 |
|
|
| 12969 |
– |
|
| 14020 |
|
fi |
| 14021 |
|
|
| 14022 |
|
|
| 14023 |
|
|
| 14024 |
|
|
| 14025 |
|
# Check whether --with-ltdl_include was given. |
| 14026 |
< |
if test "${with_ltdl_include+set}" = set; then : |
| 14026 |
> |
if test ${with_ltdl_include+y} |
| 14027 |
> |
then : |
| 14028 |
|
withval=$with_ltdl_include; |
| 14029 |
|
fi |
| 14030 |
|
|
| 14032 |
|
if test -n "$with_ltdl_include"; then |
| 14033 |
|
if test -f "$with_ltdl_include/ltdl.h"; then : |
| 14034 |
|
else |
| 14035 |
< |
as_fn_error $? "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5 |
| 14035 |
> |
as_fn_error $? "invalid ltdl include directory: '$with_ltdl_include'" "$LINENO" 5 |
| 14036 |
|
fi |
| 14037 |
|
else |
| 14038 |
|
with_ltdl_include=no |
| 14040 |
|
|
| 14041 |
|
|
| 14042 |
|
# Check whether --with-ltdl_lib was given. |
| 14043 |
< |
if test "${with_ltdl_lib+set}" = set; then : |
| 14043 |
> |
if test ${with_ltdl_lib+y} |
| 14044 |
> |
then : |
| 14045 |
|
withval=$with_ltdl_lib; |
| 14046 |
|
fi |
| 14047 |
|
|
| 14049 |
|
if test -n "$with_ltdl_lib"; then |
| 14050 |
|
if test -f "$with_ltdl_lib/libltdl.la"; then : |
| 14051 |
|
else |
| 14052 |
< |
as_fn_error $? "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5 |
| 14052 |
> |
as_fn_error $? "invalid ltdl library directory: '$with_ltdl_lib'" "$LINENO" 5 |
| 14053 |
|
fi |
| 14054 |
|
else |
| 14055 |
|
with_ltdl_lib=no |
| 14062 |
|
"") enable_ltdl_convenience=yes |
| 14063 |
|
ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;; |
| 14064 |
|
esac |
| 14065 |
< |
LIBLTDL='${top_build_prefix}'"${lt_ltdl_dir+$lt_ltdl_dir/}libltdlc.la" |
| 14065 |
> |
LIBLTDL='$(top_build_prefix)'"${lt_ltdl_dir+$lt_ltdl_dir/}libltdlc.la" |
| 14066 |
|
LTDLDEPS=$LIBLTDL |
| 14067 |
< |
LTDLINCL='-I${top_srcdir}'"${lt_ltdl_dir+/$lt_ltdl_dir}" |
| 14067 |
> |
LTDLINCL='-I$(top_srcdir)'"${lt_ltdl_dir+/$lt_ltdl_dir}" |
| 14068 |
|
|
| 14069 |
|
|
| 14070 |
|
|
| 14071 |
|
|
| 14072 |
|
|
| 14073 |
|
# For backwards non-gettext consistent compatibility... |
| 14074 |
< |
INCLTDL="$LTDLINCL" |
| 14074 |
> |
INCLTDL=$LTDLINCL |
| 14075 |
|
|
| 14076 |
|
|
| 14077 |
|
;; |
| 14079 |
|
# If the included ltdl is not to be used, then use the |
| 14080 |
|
# preinstalled libltdl we found. |
| 14081 |
|
|
| 14082 |
< |
$as_echo "#define HAVE_LTDL 1" >>confdefs.h |
| 14082 |
> |
printf "%s\n" "#define HAVE_LTDL 1" >>confdefs.h |
| 14083 |
|
|
| 14084 |
|
LIBLTDL=-lltdl |
| 14085 |
|
LTDLDEPS= |
| 14086 |
|
LTDLINCL= |
| 14087 |
|
;; |
| 14088 |
|
,no*,no,*) |
| 14089 |
< |
as_fn_error $? "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5 |
| 14089 |
> |
as_fn_error $? "'--with-ltdl-include' and '--with-ltdl-lib' options must be used together" "$LINENO" 5 |
| 14090 |
|
;; |
| 14091 |
|
*) with_included_ltdl=no |
| 14092 |
|
LIBLTDL="-L$with_ltdl_lib -lltdl" |
| 14093 |
|
LTDLDEPS= |
| 14094 |
< |
LTDLINCL="-I$with_ltdl_include" |
| 14094 |
> |
LTDLINCL=-I$with_ltdl_include |
| 14095 |
|
;; |
| 14096 |
|
esac |
| 14097 |
< |
INCLTDL="$LTDLINCL" |
| 14097 |
> |
INCLTDL=$LTDLINCL |
| 14098 |
|
|
| 14099 |
|
# Report our decision... |
| 14100 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find libltdl headers" >&5 |
| 14101 |
< |
$as_echo_n "checking where to find libltdl headers... " >&6; } |
| 14102 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LTDLINCL" >&5 |
| 14103 |
< |
$as_echo "$LTDLINCL" >&6; } |
| 14104 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find libltdl library" >&5 |
| 14105 |
< |
$as_echo_n "checking where to find libltdl library... " >&6; } |
| 14106 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBLTDL" >&5 |
| 14107 |
< |
$as_echo "$LIBLTDL" >&6; } |
| 14100 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking where to find libltdl headers" >&5 |
| 14101 |
> |
printf %s "checking where to find libltdl headers... " >&6; } |
| 14102 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LTDLINCL" >&5 |
| 14103 |
> |
printf "%s\n" "$LTDLINCL" >&6; } |
| 14104 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking where to find libltdl library" >&5 |
| 14105 |
> |
printf %s "checking where to find libltdl library... " >&6; } |
| 14106 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBLTDL" >&5 |
| 14107 |
> |
printf "%s\n" "$LIBLTDL" >&6; } |
| 14108 |
|
|
| 14109 |
|
|
| 14110 |
|
|
| 14111 |
|
# Check whether --enable-ltdl-install was given. |
| 14112 |
< |
if test "${enable_ltdl_install+set}" = set; then : |
| 14112 |
> |
if test ${enable_ltdl_install+y} |
| 14113 |
> |
then : |
| 14114 |
|
enableval=$enable_ltdl_install; |
| 14115 |
|
fi |
| 14116 |
|
|
| 14117 |
|
|
| 14118 |
< |
case ,${enable_ltdl_install},${enable_ltdl_convenience} in |
| 14118 |
> |
case ,$enable_ltdl_install,$enable_ltdl_convenience in |
| 14119 |
|
*yes*) ;; |
| 14120 |
|
*) enable_ltdl_convenience=yes ;; |
| 14121 |
|
esac |
| 14122 |
|
|
| 14123 |
< |
if test x"${enable_ltdl_install-no}" != xno; then |
| 14123 |
> |
if test no != "${enable_ltdl_install-no}"; then |
| 14124 |
|
INSTALL_LTDL_TRUE= |
| 14125 |
|
INSTALL_LTDL_FALSE='#' |
| 14126 |
|
else |
| 14128 |
|
INSTALL_LTDL_FALSE= |
| 14129 |
|
fi |
| 14130 |
|
|
| 14131 |
< |
if test x"${enable_ltdl_convenience-no}" != xno; then |
| 14131 |
> |
if test no != "${enable_ltdl_convenience-no}"; then |
| 14132 |
|
CONVENIENCE_LTDL_TRUE= |
| 14133 |
|
CONVENIENCE_LTDL_FALSE='#' |
| 14134 |
|
else |
| 14149 |
|
|
| 14150 |
|
|
| 14151 |
|
|
| 14152 |
< |
for ac_header in unistd.h dl.h sys/dl.h dld.h mach-o/dyld.h dirent.h |
| 13100 |
< |
do : |
| 13101 |
< |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 13102 |
< |
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
| 14152 |
> |
ac_fn_c_check_header_compile "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default |
| 14153 |
|
" |
| 14154 |
< |
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
| 14155 |
< |
cat >>confdefs.h <<_ACEOF |
| 14156 |
< |
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 14157 |
< |
_ACEOF |
| 14154 |
> |
if test "x$ac_cv_header_unistd_h" = xyes |
| 14155 |
> |
then : |
| 14156 |
> |
printf "%s\n" "#define HAVE_UNISTD_H 1" >>confdefs.h |
| 14157 |
> |
|
| 14158 |
> |
fi |
| 14159 |
> |
ac_fn_c_check_header_compile "$LINENO" "dl.h" "ac_cv_header_dl_h" "$ac_includes_default |
| 14160 |
> |
" |
| 14161 |
> |
if test "x$ac_cv_header_dl_h" = xyes |
| 14162 |
> |
then : |
| 14163 |
> |
printf "%s\n" "#define HAVE_DL_H 1" >>confdefs.h |
| 14164 |
> |
|
| 14165 |
> |
fi |
| 14166 |
> |
ac_fn_c_check_header_compile "$LINENO" "sys/dl.h" "ac_cv_header_sys_dl_h" "$ac_includes_default |
| 14167 |
> |
" |
| 14168 |
> |
if test "x$ac_cv_header_sys_dl_h" = xyes |
| 14169 |
> |
then : |
| 14170 |
> |
printf "%s\n" "#define HAVE_SYS_DL_H 1" >>confdefs.h |
| 14171 |
> |
|
| 14172 |
> |
fi |
| 14173 |
> |
ac_fn_c_check_header_compile "$LINENO" "dld.h" "ac_cv_header_dld_h" "$ac_includes_default |
| 14174 |
> |
" |
| 14175 |
> |
if test "x$ac_cv_header_dld_h" = xyes |
| 14176 |
> |
then : |
| 14177 |
> |
printf "%s\n" "#define HAVE_DLD_H 1" >>confdefs.h |
| 14178 |
> |
|
| 14179 |
> |
fi |
| 14180 |
> |
ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld.h" "ac_cv_header_mach_o_dyld_h" "$ac_includes_default |
| 14181 |
> |
" |
| 14182 |
> |
if test "x$ac_cv_header_mach_o_dyld_h" = xyes |
| 14183 |
> |
then : |
| 14184 |
> |
printf "%s\n" "#define HAVE_MACH_O_DYLD_H 1" >>confdefs.h |
| 14185 |
> |
|
| 14186 |
> |
fi |
| 14187 |
> |
ac_fn_c_check_header_compile "$LINENO" "dirent.h" "ac_cv_header_dirent_h" "$ac_includes_default |
| 14188 |
> |
" |
| 14189 |
> |
if test "x$ac_cv_header_dirent_h" = xyes |
| 14190 |
> |
then : |
| 14191 |
> |
printf "%s\n" "#define HAVE_DIRENT_H 1" >>confdefs.h |
| 14192 |
|
|
| 14193 |
|
fi |
| 14194 |
|
|
| 13111 |
– |
done |
| 14195 |
|
|
| 14196 |
|
|
| 14197 |
< |
for ac_func in closedir opendir readdir |
| 14197 |
> |
for ac_func in closedir opendir readdir |
| 14198 |
|
do : |
| 14199 |
< |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 14199 |
> |
as_ac_var=`printf "%s\n" "ac_cv_func_$ac_func" | $as_tr_sh` |
| 14200 |
|
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
| 14201 |
< |
if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
| 14201 |
> |
if eval test \"x\$"$as_ac_var"\" = x"yes" |
| 14202 |
> |
then : |
| 14203 |
|
cat >>confdefs.h <<_ACEOF |
| 14204 |
< |
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 14204 |
> |
#define `printf "%s\n" "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 14205 |
|
_ACEOF |
| 14206 |
|
|
| 14207 |
< |
else |
| 14207 |
> |
else $as_nop |
| 14208 |
|
|
| 14209 |
|
|
| 14210 |
|
_LT_LIBOBJS="$_LT_LIBOBJS lt__dirent.$ac_objext" |
| 14211 |
|
|
| 14212 |
|
fi |
| 14213 |
+ |
|
| 14214 |
|
done |
| 14215 |
|
|
| 14216 |
< |
for ac_func in strlcat strlcpy |
| 14216 |
> |
for ac_func in strlcat strlcpy |
| 14217 |
|
do : |
| 14218 |
< |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 14218 |
> |
as_ac_var=`printf "%s\n" "ac_cv_func_$ac_func" | $as_tr_sh` |
| 14219 |
|
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
| 14220 |
< |
if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
| 14220 |
> |
if eval test \"x\$"$as_ac_var"\" = x"yes" |
| 14221 |
> |
then : |
| 14222 |
|
cat >>confdefs.h <<_ACEOF |
| 14223 |
< |
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 14223 |
> |
#define `printf "%s\n" "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 14224 |
|
_ACEOF |
| 14225 |
|
|
| 14226 |
< |
else |
| 14226 |
> |
else $as_nop |
| 14227 |
|
|
| 14228 |
|
|
| 14229 |
|
_LT_LIBOBJS="$_LT_LIBOBJS lt__strl.$ac_objext" |
| 14230 |
|
|
| 14231 |
|
fi |
| 14232 |
+ |
|
| 14233 |
|
done |
| 14234 |
|
|
| 14235 |
|
|
| 14236 |
< |
|
| 13150 |
< |
cat >>confdefs.h <<_ACEOF |
| 13151 |
< |
#define LT_LIBEXT "$libext" |
| 13152 |
< |
_ACEOF |
| 14236 |
> |
printf "%s\n" "#define LT_LIBEXT \"$libext\"" >>confdefs.h |
| 14237 |
|
|
| 14238 |
|
|
| 14239 |
|
name= |
| 14240 |
|
eval "lt_libprefix=\"$libname_spec\"" |
| 14241 |
|
|
| 14242 |
< |
cat >>confdefs.h <<_ACEOF |
| 13159 |
< |
#define LT_LIBPREFIX "$lt_libprefix" |
| 13160 |
< |
_ACEOF |
| 14242 |
> |
printf "%s\n" "#define LT_LIBPREFIX \"$lt_libprefix\"" >>confdefs.h |
| 14243 |
|
|
| 14244 |
|
|
| 14245 |
|
name=ltdl |
| 14261 |
|
|
| 14262 |
|
|
| 14263 |
|
if test "X$CC" != "X"; then |
| 14264 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstack-protector" >&5 |
| 14265 |
< |
$as_echo_n "checking whether ${CC} accepts -fstack-protector... " >&6; } |
| 14266 |
< |
if ${ssp_cv_cc+:} false; then : |
| 14267 |
< |
$as_echo_n "(cached) " >&6 |
| 14268 |
< |
else |
| 14264 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstack-protector-strong" >&5 |
| 14265 |
> |
printf %s "checking whether ${CC} accepts -fstack-protector-strong... " >&6; } |
| 14266 |
> |
if test ${ssp_cv_cc+y} |
| 14267 |
> |
then : |
| 14268 |
> |
printf %s "(cached) " >&6 |
| 14269 |
> |
else $as_nop |
| 14270 |
|
ssp_old_cflags="$CFLAGS" |
| 14271 |
< |
CFLAGS="$CFLAGS -fstack-protector" |
| 14271 |
> |
CFLAGS="$CFLAGS -fstack-protector-strong" |
| 14272 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14273 |
|
/* end confdefs.h. */ |
| 14274 |
|
|
| 14275 |
|
int |
| 14276 |
< |
main () |
| 14276 |
> |
main (void) |
| 14277 |
|
{ |
| 14278 |
|
|
| 14279 |
|
; |
| 14280 |
|
return 0; |
| 14281 |
|
} |
| 14282 |
|
_ACEOF |
| 14283 |
< |
if ac_fn_c_try_compile "$LINENO"; then : |
| 14283 |
> |
if ac_fn_c_try_compile "$LINENO" |
| 14284 |
> |
then : |
| 14285 |
|
ssp_cv_cc=yes |
| 14286 |
< |
else |
| 14286 |
> |
else $as_nop |
| 14287 |
|
ssp_cv_cc=no |
| 14288 |
|
fi |
| 14289 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14289 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 14290 |
|
CFLAGS="$ssp_old_cflags" |
| 14291 |
|
|
| 14292 |
|
fi |
| 14293 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_cc" >&5 |
| 14294 |
< |
$as_echo "$ssp_cv_cc" >&6; } |
| 14293 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_cc" >&5 |
| 14294 |
> |
printf "%s\n" "$ssp_cv_cc" >&6; } |
| 14295 |
|
if test $ssp_cv_cc = yes; then |
| 14296 |
< |
CFLAGS="$CFLAGS -fstack-protector" |
| 14296 |
> |
CFLAGS="$CFLAGS -fstack-protector-strong" |
| 14297 |
|
|
| 14298 |
< |
$as_echo "#define ENABLE_SSP_CC 1" >>confdefs.h |
| 14298 |
> |
printf "%s\n" "#define ENABLE_SSP_CC 1" >>confdefs.h |
| 14299 |
|
|
| 14300 |
+ |
else |
| 14301 |
+ |
unset ssp_cv_cc |
| 14302 |
+ |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstack-protector" >&5 |
| 14303 |
+ |
printf %s "checking whether ${CC} accepts -fstack-protector... " >&6; } |
| 14304 |
+ |
if test ${ssp_cv_cc+y} |
| 14305 |
+ |
then : |
| 14306 |
+ |
printf %s "(cached) " >&6 |
| 14307 |
+ |
else $as_nop |
| 14308 |
+ |
ssp_old_cflags="$CFLAGS" |
| 14309 |
+ |
CFLAGS="$CFLAGS -fstack-protector" |
| 14310 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14311 |
+ |
/* end confdefs.h. */ |
| 14312 |
+ |
|
| 14313 |
+ |
int |
| 14314 |
+ |
main (void) |
| 14315 |
+ |
{ |
| 14316 |
+ |
|
| 14317 |
+ |
; |
| 14318 |
+ |
return 0; |
| 14319 |
+ |
} |
| 14320 |
+ |
_ACEOF |
| 14321 |
+ |
if ac_fn_c_try_compile "$LINENO" |
| 14322 |
+ |
then : |
| 14323 |
+ |
ssp_cv_cc=yes |
| 14324 |
+ |
else $as_nop |
| 14325 |
+ |
ssp_cv_cc=no |
| 14326 |
+ |
fi |
| 14327 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 14328 |
+ |
CFLAGS="$ssp_old_cflags" |
| 14329 |
+ |
|
| 14330 |
+ |
fi |
| 14331 |
+ |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_cc" >&5 |
| 14332 |
+ |
printf "%s\n" "$ssp_cv_cc" >&6; } |
| 14333 |
+ |
if test $ssp_cv_cc = yes; then |
| 14334 |
+ |
CFLAGS="$CFLAGS -fstack-protector" |
| 14335 |
+ |
|
| 14336 |
+ |
printf "%s\n" "#define ENABLE_SSP_CC 1" >>confdefs.h |
| 14337 |
+ |
|
| 14338 |
+ |
fi |
| 14339 |
|
fi |
| 14340 |
|
fi |
| 14341 |
|
|
| 14342 |
|
|
| 14343 |
+ |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether libssp exists" >&5 |
| 14344 |
+ |
printf %s "checking whether libssp exists... " >&6; } |
| 14345 |
+ |
if test ${ssp_cv_lib+y} |
| 14346 |
+ |
then : |
| 14347 |
+ |
printf %s "(cached) " >&6 |
| 14348 |
+ |
else $as_nop |
| 14349 |
+ |
ssp_old_libs="$LIBS" |
| 14350 |
+ |
LIBS="$LIBS -lssp" |
| 14351 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14352 |
+ |
/* end confdefs.h. */ |
| 14353 |
+ |
|
| 14354 |
+ |
int |
| 14355 |
+ |
main (void) |
| 14356 |
+ |
{ |
| 14357 |
+ |
|
| 14358 |
+ |
; |
| 14359 |
+ |
return 0; |
| 14360 |
+ |
} |
| 14361 |
+ |
_ACEOF |
| 14362 |
+ |
if ac_fn_c_try_link "$LINENO" |
| 14363 |
+ |
then : |
| 14364 |
+ |
ssp_cv_lib=yes |
| 14365 |
+ |
else $as_nop |
| 14366 |
+ |
ssp_cv_lib=no |
| 14367 |
+ |
fi |
| 14368 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 14369 |
+ |
conftest$ac_exeext conftest.$ac_ext |
| 14370 |
+ |
LIBS="$ssp_old_libs" |
| 14371 |
+ |
|
| 14372 |
+ |
fi |
| 14373 |
+ |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_lib" >&5 |
| 14374 |
+ |
printf "%s\n" "$ssp_cv_lib" >&6; } |
| 14375 |
+ |
if test $ssp_cv_lib = yes; then |
| 14376 |
+ |
LIBS="$LIBS -lssp" |
| 14377 |
+ |
fi |
| 14378 |
+ |
|
| 14379 |
|
|
| 14380 |
|
ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo" |
| 14381 |
< |
if test "x$ac_cv_func_getaddrinfo" = xyes; then : |
| 14381 |
> |
if test "x$ac_cv_func_getaddrinfo" = xyes |
| 14382 |
> |
then : |
| 14383 |
|
|
| 14384 |
< |
else |
| 14385 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getaddrinfo" >&5 |
| 14386 |
< |
$as_echo_n "checking for library containing getaddrinfo... " >&6; } |
| 14387 |
< |
if ${ac_cv_search_getaddrinfo+:} false; then : |
| 14388 |
< |
$as_echo_n "(cached) " >&6 |
| 14389 |
< |
else |
| 14384 |
> |
else $as_nop |
| 14385 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing getaddrinfo" >&5 |
| 14386 |
> |
printf %s "checking for library containing getaddrinfo... " >&6; } |
| 14387 |
> |
if test ${ac_cv_search_getaddrinfo+y} |
| 14388 |
> |
then : |
| 14389 |
> |
printf %s "(cached) " >&6 |
| 14390 |
> |
else $as_nop |
| 14391 |
|
ac_func_search_save_LIBS=$LIBS |
| 14392 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14393 |
|
/* end confdefs.h. */ |
| 14395 |
|
/* Override any GCC internal prototype to avoid an error. |
| 14396 |
|
Use char because int might match the return type of a GCC |
| 14397 |
|
builtin and then its argument prototype would still apply. */ |
| 13237 |
– |
#ifdef __cplusplus |
| 13238 |
– |
extern "C" |
| 13239 |
– |
#endif |
| 14398 |
|
char getaddrinfo (); |
| 14399 |
|
int |
| 14400 |
< |
main () |
| 14400 |
> |
main (void) |
| 14401 |
|
{ |
| 14402 |
|
return getaddrinfo (); |
| 14403 |
|
; |
| 14404 |
|
return 0; |
| 14405 |
|
} |
| 14406 |
|
_ACEOF |
| 14407 |
< |
for ac_lib in '' nsl; do |
| 14407 |
> |
for ac_lib in '' nsl |
| 14408 |
> |
do |
| 14409 |
|
if test -z "$ac_lib"; then |
| 14410 |
|
ac_res="none required" |
| 14411 |
|
else |
| 14412 |
|
ac_res=-l$ac_lib |
| 14413 |
|
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 14414 |
|
fi |
| 14415 |
< |
if ac_fn_c_try_link "$LINENO"; then : |
| 14415 |
> |
if ac_fn_c_try_link "$LINENO" |
| 14416 |
> |
then : |
| 14417 |
|
ac_cv_search_getaddrinfo=$ac_res |
| 14418 |
|
fi |
| 14419 |
< |
rm -f core conftest.err conftest.$ac_objext \ |
| 14419 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 14420 |
|
conftest$ac_exeext |
| 14421 |
< |
if ${ac_cv_search_getaddrinfo+:} false; then : |
| 14421 |
> |
if test ${ac_cv_search_getaddrinfo+y} |
| 14422 |
> |
then : |
| 14423 |
|
break |
| 14424 |
|
fi |
| 14425 |
|
done |
| 14426 |
< |
if ${ac_cv_search_getaddrinfo+:} false; then : |
| 14426 |
> |
if test ${ac_cv_search_getaddrinfo+y} |
| 14427 |
> |
then : |
| 14428 |
|
|
| 14429 |
< |
else |
| 14429 |
> |
else $as_nop |
| 14430 |
|
ac_cv_search_getaddrinfo=no |
| 14431 |
|
fi |
| 14432 |
|
rm conftest.$ac_ext |
| 14433 |
|
LIBS=$ac_func_search_save_LIBS |
| 14434 |
|
fi |
| 14435 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getaddrinfo" >&5 |
| 14436 |
< |
$as_echo "$ac_cv_search_getaddrinfo" >&6; } |
| 14435 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getaddrinfo" >&5 |
| 14436 |
> |
printf "%s\n" "$ac_cv_search_getaddrinfo" >&6; } |
| 14437 |
|
ac_res=$ac_cv_search_getaddrinfo |
| 14438 |
< |
if test "$ac_res" != no; then : |
| 14438 |
> |
if test "$ac_res" != no |
| 14439 |
> |
then : |
| 14440 |
|
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 14441 |
|
|
| 14442 |
|
fi |
| 14444 |
|
fi |
| 14445 |
|
|
| 14446 |
|
ac_fn_c_check_func "$LINENO" "getnameinfo" "ac_cv_func_getnameinfo" |
| 14447 |
< |
if test "x$ac_cv_func_getnameinfo" = xyes; then : |
| 14447 |
> |
if test "x$ac_cv_func_getnameinfo" = xyes |
| 14448 |
> |
then : |
| 14449 |
|
|
| 14450 |
< |
else |
| 14451 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getnameinfo" >&5 |
| 14452 |
< |
$as_echo_n "checking for library containing getnameinfo... " >&6; } |
| 14453 |
< |
if ${ac_cv_search_getnameinfo+:} false; then : |
| 14454 |
< |
$as_echo_n "(cached) " >&6 |
| 14455 |
< |
else |
| 14450 |
> |
else $as_nop |
| 14451 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing getnameinfo" >&5 |
| 14452 |
> |
printf %s "checking for library containing getnameinfo... " >&6; } |
| 14453 |
> |
if test ${ac_cv_search_getnameinfo+y} |
| 14454 |
> |
then : |
| 14455 |
> |
printf %s "(cached) " >&6 |
| 14456 |
> |
else $as_nop |
| 14457 |
|
ac_func_search_save_LIBS=$LIBS |
| 14458 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14459 |
|
/* end confdefs.h. */ |
| 14461 |
|
/* Override any GCC internal prototype to avoid an error. |
| 14462 |
|
Use char because int might match the return type of a GCC |
| 14463 |
|
builtin and then its argument prototype would still apply. */ |
| 13299 |
– |
#ifdef __cplusplus |
| 13300 |
– |
extern "C" |
| 13301 |
– |
#endif |
| 14464 |
|
char getnameinfo (); |
| 14465 |
|
int |
| 14466 |
< |
main () |
| 14466 |
> |
main (void) |
| 14467 |
|
{ |
| 14468 |
|
return getnameinfo (); |
| 14469 |
|
; |
| 14470 |
|
return 0; |
| 14471 |
|
} |
| 14472 |
|
_ACEOF |
| 14473 |
< |
for ac_lib in '' nsl; do |
| 14473 |
> |
for ac_lib in '' nsl |
| 14474 |
> |
do |
| 14475 |
|
if test -z "$ac_lib"; then |
| 14476 |
|
ac_res="none required" |
| 14477 |
|
else |
| 14478 |
|
ac_res=-l$ac_lib |
| 14479 |
|
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 14480 |
|
fi |
| 14481 |
< |
if ac_fn_c_try_link "$LINENO"; then : |
| 14481 |
> |
if ac_fn_c_try_link "$LINENO" |
| 14482 |
> |
then : |
| 14483 |
|
ac_cv_search_getnameinfo=$ac_res |
| 14484 |
|
fi |
| 14485 |
< |
rm -f core conftest.err conftest.$ac_objext \ |
| 14485 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 14486 |
|
conftest$ac_exeext |
| 14487 |
< |
if ${ac_cv_search_getnameinfo+:} false; then : |
| 14487 |
> |
if test ${ac_cv_search_getnameinfo+y} |
| 14488 |
> |
then : |
| 14489 |
|
break |
| 14490 |
|
fi |
| 14491 |
|
done |
| 14492 |
< |
if ${ac_cv_search_getnameinfo+:} false; then : |
| 14492 |
> |
if test ${ac_cv_search_getnameinfo+y} |
| 14493 |
> |
then : |
| 14494 |
|
|
| 14495 |
< |
else |
| 14495 |
> |
else $as_nop |
| 14496 |
|
ac_cv_search_getnameinfo=no |
| 14497 |
|
fi |
| 14498 |
|
rm conftest.$ac_ext |
| 14499 |
|
LIBS=$ac_func_search_save_LIBS |
| 14500 |
|
fi |
| 14501 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getnameinfo" >&5 |
| 14502 |
< |
$as_echo "$ac_cv_search_getnameinfo" >&6; } |
| 14501 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getnameinfo" >&5 |
| 14502 |
> |
printf "%s\n" "$ac_cv_search_getnameinfo" >&6; } |
| 14503 |
|
ac_res=$ac_cv_search_getnameinfo |
| 14504 |
< |
if test "$ac_res" != no; then : |
| 14504 |
> |
if test "$ac_res" != no |
| 14505 |
> |
then : |
| 14506 |
|
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 14507 |
|
|
| 14508 |
|
fi |
| 14509 |
|
|
| 14510 |
|
fi |
| 14511 |
|
|
| 14512 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5 |
| 14513 |
< |
$as_echo_n "checking for library containing socket... " >&6; } |
| 14514 |
< |
if ${ac_cv_search_socket+:} false; then : |
| 14515 |
< |
$as_echo_n "(cached) " >&6 |
| 14516 |
< |
else |
| 14512 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5 |
| 14513 |
> |
printf %s "checking for library containing socket... " >&6; } |
| 14514 |
> |
if test ${ac_cv_search_socket+y} |
| 14515 |
> |
then : |
| 14516 |
> |
printf %s "(cached) " >&6 |
| 14517 |
> |
else $as_nop |
| 14518 |
|
ac_func_search_save_LIBS=$LIBS |
| 14519 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14520 |
|
/* end confdefs.h. */ |
| 14522 |
|
/* Override any GCC internal prototype to avoid an error. |
| 14523 |
|
Use char because int might match the return type of a GCC |
| 14524 |
|
builtin and then its argument prototype would still apply. */ |
| 13357 |
– |
#ifdef __cplusplus |
| 13358 |
– |
extern "C" |
| 13359 |
– |
#endif |
| 14525 |
|
char socket (); |
| 14526 |
|
int |
| 14527 |
< |
main () |
| 14527 |
> |
main (void) |
| 14528 |
|
{ |
| 14529 |
|
return socket (); |
| 14530 |
|
; |
| 14531 |
|
return 0; |
| 14532 |
|
} |
| 14533 |
|
_ACEOF |
| 14534 |
< |
for ac_lib in '' socket; do |
| 14534 |
> |
for ac_lib in '' socket |
| 14535 |
> |
do |
| 14536 |
|
if test -z "$ac_lib"; then |
| 14537 |
|
ac_res="none required" |
| 14538 |
|
else |
| 14539 |
|
ac_res=-l$ac_lib |
| 14540 |
|
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 14541 |
|
fi |
| 14542 |
< |
if ac_fn_c_try_link "$LINENO"; then : |
| 14542 |
> |
if ac_fn_c_try_link "$LINENO" |
| 14543 |
> |
then : |
| 14544 |
|
ac_cv_search_socket=$ac_res |
| 14545 |
|
fi |
| 14546 |
< |
rm -f core conftest.err conftest.$ac_objext \ |
| 14546 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 14547 |
|
conftest$ac_exeext |
| 14548 |
< |
if ${ac_cv_search_socket+:} false; then : |
| 14548 |
> |
if test ${ac_cv_search_socket+y} |
| 14549 |
> |
then : |
| 14550 |
|
break |
| 14551 |
|
fi |
| 14552 |
|
done |
| 14553 |
< |
if ${ac_cv_search_socket+:} false; then : |
| 14553 |
> |
if test ${ac_cv_search_socket+y} |
| 14554 |
> |
then : |
| 14555 |
|
|
| 14556 |
< |
else |
| 14556 |
> |
else $as_nop |
| 14557 |
|
ac_cv_search_socket=no |
| 14558 |
|
fi |
| 14559 |
|
rm conftest.$ac_ext |
| 14560 |
|
LIBS=$ac_func_search_save_LIBS |
| 14561 |
|
fi |
| 14562 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5 |
| 14563 |
< |
$as_echo "$ac_cv_search_socket" >&6; } |
| 14562 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5 |
| 14563 |
> |
printf "%s\n" "$ac_cv_search_socket" >&6; } |
| 14564 |
|
ac_res=$ac_cv_search_socket |
| 14565 |
< |
if test "$ac_res" != no; then : |
| 14565 |
> |
if test "$ac_res" != no |
| 14566 |
> |
then : |
| 14567 |
|
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 14568 |
|
|
| 14569 |
< |
else |
| 14569 |
> |
else $as_nop |
| 14570 |
|
as_fn_error $? "socket library not found" "$LINENO" 5 |
| 14571 |
|
fi |
| 14572 |
|
|
| 13403 |
– |
ac_fn_c_check_type "$LINENO" "struct sockaddr_in" "ac_cv_type_struct_sockaddr_in" "#include <sys/types.h> |
| 13404 |
– |
#include <sys/socket.h> |
| 13405 |
– |
#include <netdb.h> |
| 13406 |
– |
|
| 13407 |
– |
" |
| 13408 |
– |
if test "x$ac_cv_type_struct_sockaddr_in" = xyes; then : |
| 13409 |
– |
|
| 13410 |
– |
cat >>confdefs.h <<_ACEOF |
| 13411 |
– |
#define HAVE_STRUCT_SOCKADDR_IN 1 |
| 13412 |
– |
_ACEOF |
| 13413 |
– |
|
| 13414 |
– |
|
| 13415 |
– |
fi |
| 13416 |
– |
ac_fn_c_check_type "$LINENO" "struct sockaddr_storage" "ac_cv_type_struct_sockaddr_storage" "#include <sys/types.h> |
| 13417 |
– |
#include <sys/socket.h> |
| 13418 |
– |
#include <netdb.h> |
| 13419 |
– |
|
| 13420 |
– |
" |
| 13421 |
– |
if test "x$ac_cv_type_struct_sockaddr_storage" = xyes; then : |
| 13422 |
– |
|
| 13423 |
– |
cat >>confdefs.h <<_ACEOF |
| 13424 |
– |
#define HAVE_STRUCT_SOCKADDR_STORAGE 1 |
| 13425 |
– |
_ACEOF |
| 13426 |
– |
|
| 13427 |
– |
|
| 13428 |
– |
fi |
| 13429 |
– |
ac_fn_c_check_type "$LINENO" "struct addrinfo" "ac_cv_type_struct_addrinfo" "#include <sys/types.h> |
| 13430 |
– |
#include <sys/socket.h> |
| 13431 |
– |
#include <netdb.h> |
| 13432 |
– |
|
| 13433 |
– |
" |
| 13434 |
– |
if test "x$ac_cv_type_struct_addrinfo" = xyes; then : |
| 13435 |
– |
|
| 13436 |
– |
cat >>confdefs.h <<_ACEOF |
| 13437 |
– |
#define HAVE_STRUCT_ADDRINFO 1 |
| 13438 |
– |
_ACEOF |
| 13439 |
– |
|
| 13440 |
– |
|
| 13441 |
– |
fi |
| 13442 |
– |
|
| 13443 |
– |
ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "#include <sys/types.h> |
| 13444 |
– |
<sys/socket.h> |
| 13445 |
– |
" |
| 13446 |
– |
if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = xyes; then : |
| 13447 |
– |
|
| 13448 |
– |
cat >>confdefs.h <<_ACEOF |
| 13449 |
– |
#define HAVE_STRUCT_SOCKADDR_IN_SIN_LEN 1 |
| 13450 |
– |
_ACEOF |
| 13451 |
– |
|
| 13452 |
– |
|
| 13453 |
– |
fi |
| 13454 |
– |
|
| 13455 |
– |
|
| 13456 |
– |
|
| 13457 |
– |
ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "#include <netinet/in.h> |
| 13458 |
– |
" |
| 13459 |
– |
if test "x$ac_cv_type_struct_sockaddr_in6" = xyes; then : |
| 13460 |
– |
|
| 13461 |
– |
$as_echo "#define IPV6 1" >>confdefs.h |
| 13462 |
– |
|
| 13463 |
– |
fi |
| 13464 |
– |
|
| 14573 |
|
|
| 14574 |
|
|
| 14575 |
|
# Checks for typedefs, structures, and compiler characteristics. |
| 14576 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 |
| 14577 |
< |
$as_echo_n "checking whether byte ordering is bigendian... " >&6; } |
| 14578 |
< |
if ${ac_cv_c_bigendian+:} false; then : |
| 14579 |
< |
$as_echo_n "(cached) " >&6 |
| 14580 |
< |
else |
| 14576 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 |
| 14577 |
> |
printf %s "checking whether byte ordering is bigendian... " >&6; } |
| 14578 |
> |
if test ${ac_cv_c_bigendian+y} |
| 14579 |
> |
then : |
| 14580 |
> |
printf %s "(cached) " >&6 |
| 14581 |
> |
else $as_nop |
| 14582 |
|
ac_cv_c_bigendian=unknown |
| 14583 |
|
# See if we're dealing with a universal compiler. |
| 14584 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14589 |
|
typedef int dummy; |
| 14590 |
|
|
| 14591 |
|
_ACEOF |
| 14592 |
< |
if ac_fn_c_try_compile "$LINENO"; then : |
| 14592 |
> |
if ac_fn_c_try_compile "$LINENO" |
| 14593 |
> |
then : |
| 14594 |
|
|
| 14595 |
|
# Check for potential -arch flags. It is not universal unless |
| 14596 |
|
# there are at least two -arch flags with different values. |
| 14614 |
|
fi |
| 14615 |
|
done |
| 14616 |
|
fi |
| 14617 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14617 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 14618 |
|
if test $ac_cv_c_bigendian = unknown; then |
| 14619 |
|
# See if sys/param.h defines the BYTE_ORDER macro. |
| 14620 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14623 |
|
#include <sys/param.h> |
| 14624 |
|
|
| 14625 |
|
int |
| 14626 |
< |
main () |
| 14626 |
> |
main (void) |
| 14627 |
|
{ |
| 14628 |
|
#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ |
| 14629 |
|
&& defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ |
| 14635 |
|
return 0; |
| 14636 |
|
} |
| 14637 |
|
_ACEOF |
| 14638 |
< |
if ac_fn_c_try_compile "$LINENO"; then : |
| 14638 |
> |
if ac_fn_c_try_compile "$LINENO" |
| 14639 |
> |
then : |
| 14640 |
|
# It does; now see whether it defined to BIG_ENDIAN or not. |
| 14641 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14642 |
|
/* end confdefs.h. */ |
| 14644 |
|
#include <sys/param.h> |
| 14645 |
|
|
| 14646 |
|
int |
| 14647 |
< |
main () |
| 14647 |
> |
main (void) |
| 14648 |
|
{ |
| 14649 |
|
#if BYTE_ORDER != BIG_ENDIAN |
| 14650 |
|
not big endian |
| 14654 |
|
return 0; |
| 14655 |
|
} |
| 14656 |
|
_ACEOF |
| 14657 |
< |
if ac_fn_c_try_compile "$LINENO"; then : |
| 14657 |
> |
if ac_fn_c_try_compile "$LINENO" |
| 14658 |
> |
then : |
| 14659 |
|
ac_cv_c_bigendian=yes |
| 14660 |
< |
else |
| 14660 |
> |
else $as_nop |
| 14661 |
|
ac_cv_c_bigendian=no |
| 14662 |
|
fi |
| 14663 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14663 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 14664 |
|
fi |
| 14665 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14665 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 14666 |
|
fi |
| 14667 |
|
if test $ac_cv_c_bigendian = unknown; then |
| 14668 |
|
# See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). |
| 14671 |
|
#include <limits.h> |
| 14672 |
|
|
| 14673 |
|
int |
| 14674 |
< |
main () |
| 14674 |
> |
main (void) |
| 14675 |
|
{ |
| 14676 |
|
#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) |
| 14677 |
|
bogus endian macros |
| 14681 |
|
return 0; |
| 14682 |
|
} |
| 14683 |
|
_ACEOF |
| 14684 |
< |
if ac_fn_c_try_compile "$LINENO"; then : |
| 14684 |
> |
if ac_fn_c_try_compile "$LINENO" |
| 14685 |
> |
then : |
| 14686 |
|
# It does; now see whether it defined to _BIG_ENDIAN or not. |
| 14687 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14688 |
|
/* end confdefs.h. */ |
| 14689 |
|
#include <limits.h> |
| 14690 |
|
|
| 14691 |
|
int |
| 14692 |
< |
main () |
| 14692 |
> |
main (void) |
| 14693 |
|
{ |
| 14694 |
|
#ifndef _BIG_ENDIAN |
| 14695 |
|
not big endian |
| 14699 |
|
return 0; |
| 14700 |
|
} |
| 14701 |
|
_ACEOF |
| 14702 |
< |
if ac_fn_c_try_compile "$LINENO"; then : |
| 14702 |
> |
if ac_fn_c_try_compile "$LINENO" |
| 14703 |
> |
then : |
| 14704 |
|
ac_cv_c_bigendian=yes |
| 14705 |
< |
else |
| 14705 |
> |
else $as_nop |
| 14706 |
|
ac_cv_c_bigendian=no |
| 14707 |
|
fi |
| 14708 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14708 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 14709 |
|
fi |
| 14710 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14710 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 14711 |
|
fi |
| 14712 |
|
if test $ac_cv_c_bigendian = unknown; then |
| 14713 |
|
# Compile a test program. |
| 14714 |
< |
if test "$cross_compiling" = yes; then : |
| 14714 |
> |
if test "$cross_compiling" = yes |
| 14715 |
> |
then : |
| 14716 |
|
# Try to guess by grepping values from an object file. |
| 14717 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14718 |
|
/* end confdefs.h. */ |
| 14719 |
< |
short int ascii_mm[] = |
| 14719 |
> |
unsigned short int ascii_mm[] = |
| 14720 |
|
{ 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; |
| 14721 |
< |
short int ascii_ii[] = |
| 14721 |
> |
unsigned short int ascii_ii[] = |
| 14722 |
|
{ 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; |
| 14723 |
|
int use_ascii (int i) { |
| 14724 |
|
return ascii_mm[i] + ascii_ii[i]; |
| 14725 |
|
} |
| 14726 |
< |
short int ebcdic_ii[] = |
| 14726 |
> |
unsigned short int ebcdic_ii[] = |
| 14727 |
|
{ 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; |
| 14728 |
< |
short int ebcdic_mm[] = |
| 14728 |
> |
unsigned short int ebcdic_mm[] = |
| 14729 |
|
{ 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; |
| 14730 |
|
int use_ebcdic (int i) { |
| 14731 |
|
return ebcdic_mm[i] + ebcdic_ii[i]; |
| 14733 |
|
extern int foo; |
| 14734 |
|
|
| 14735 |
|
int |
| 14736 |
< |
main () |
| 14736 |
> |
main (void) |
| 14737 |
|
{ |
| 14738 |
|
return use_ascii (foo) == use_ebcdic (foo); |
| 14739 |
|
; |
| 14740 |
|
return 0; |
| 14741 |
|
} |
| 14742 |
|
_ACEOF |
| 14743 |
< |
if ac_fn_c_try_compile "$LINENO"; then : |
| 14743 |
> |
if ac_fn_c_try_compile "$LINENO" |
| 14744 |
> |
then : |
| 14745 |
|
if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then |
| 14746 |
|
ac_cv_c_bigendian=yes |
| 14747 |
|
fi |
| 14754 |
|
fi |
| 14755 |
|
fi |
| 14756 |
|
fi |
| 14757 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14758 |
< |
else |
| 14757 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 14758 |
> |
else $as_nop |
| 14759 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14760 |
|
/* end confdefs.h. */ |
| 14761 |
|
$ac_includes_default |
| 14762 |
|
int |
| 14763 |
< |
main () |
| 14763 |
> |
main (void) |
| 14764 |
|
{ |
| 14765 |
|
|
| 14766 |
|
/* Are we little or big endian? From Harbison&Steele. */ |
| 14776 |
|
return 0; |
| 14777 |
|
} |
| 14778 |
|
_ACEOF |
| 14779 |
< |
if ac_fn_c_try_run "$LINENO"; then : |
| 14779 |
> |
if ac_fn_c_try_run "$LINENO" |
| 14780 |
> |
then : |
| 14781 |
|
ac_cv_c_bigendian=no |
| 14782 |
< |
else |
| 14782 |
> |
else $as_nop |
| 14783 |
|
ac_cv_c_bigendian=yes |
| 14784 |
|
fi |
| 14785 |
|
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 14788 |
|
|
| 14789 |
|
fi |
| 14790 |
|
fi |
| 14791 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 |
| 14792 |
< |
$as_echo "$ac_cv_c_bigendian" >&6; } |
| 14791 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 |
| 14792 |
> |
printf "%s\n" "$ac_cv_c_bigendian" >&6; } |
| 14793 |
|
case $ac_cv_c_bigendian in #( |
| 14794 |
|
yes) |
| 14795 |
< |
$as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h |
| 14795 |
> |
printf "%s\n" "#define WORDS_BIGENDIAN 1" >>confdefs.h |
| 14796 |
|
;; #( |
| 14797 |
|
no) |
| 14798 |
|
;; #( |
| 14799 |
|
universal) |
| 14800 |
|
|
| 14801 |
< |
$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h |
| 14801 |
> |
printf "%s\n" "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h |
| 14802 |
|
|
| 14803 |
|
;; #( |
| 14804 |
|
*) |
| 14808 |
|
|
| 14809 |
|
|
| 14810 |
|
# Checks for library functions. |
| 14811 |
+ |
ac_func= |
| 14812 |
+ |
for ac_item in $ac_func_c_list |
| 14813 |
+ |
do |
| 14814 |
+ |
if test $ac_func; then |
| 14815 |
+ |
ac_fn_c_check_func "$LINENO" $ac_func ac_cv_func_$ac_func |
| 14816 |
+ |
if eval test \"x\$ac_cv_func_$ac_func\" = xyes; then |
| 14817 |
+ |
echo "#define $ac_item 1" >> confdefs.h |
| 14818 |
+ |
fi |
| 14819 |
+ |
ac_func= |
| 14820 |
+ |
else |
| 14821 |
+ |
ac_func=$ac_item |
| 14822 |
+ |
fi |
| 14823 |
+ |
done |
| 14824 |
|
|
| 14825 |
|
|
| 14826 |
|
|
| 14827 |
< |
for ac_func in $ac_func_list |
| 14828 |
< |
do : |
| 13699 |
< |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 13700 |
< |
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
| 13701 |
< |
if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
| 13702 |
< |
cat >>confdefs.h <<_ACEOF |
| 13703 |
< |
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 13704 |
< |
_ACEOF |
| 14827 |
> |
# Checks for header files. |
| 14828 |
> |
|
| 14829 |
|
|
| 14830 |
+ |
|
| 14831 |
+ |
|
| 14832 |
+ |
|
| 14833 |
+ |
|
| 14834 |
+ |
|
| 14835 |
+ |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5 |
| 14836 |
+ |
printf %s "checking for library containing crypt... " >&6; } |
| 14837 |
+ |
if test ${ac_cv_search_crypt+y} |
| 14838 |
+ |
then : |
| 14839 |
+ |
printf %s "(cached) " >&6 |
| 14840 |
+ |
else $as_nop |
| 14841 |
+ |
ac_func_search_save_LIBS=$LIBS |
| 14842 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14843 |
+ |
/* end confdefs.h. */ |
| 14844 |
+ |
|
| 14845 |
+ |
/* Override any GCC internal prototype to avoid an error. |
| 14846 |
+ |
Use char because int might match the return type of a GCC |
| 14847 |
+ |
builtin and then its argument prototype would still apply. */ |
| 14848 |
+ |
char crypt (); |
| 14849 |
+ |
int |
| 14850 |
+ |
main (void) |
| 14851 |
+ |
{ |
| 14852 |
+ |
return crypt (); |
| 14853 |
+ |
; |
| 14854 |
+ |
return 0; |
| 14855 |
+ |
} |
| 14856 |
+ |
_ACEOF |
| 14857 |
+ |
for ac_lib in '' crypt |
| 14858 |
+ |
do |
| 14859 |
+ |
if test -z "$ac_lib"; then |
| 14860 |
+ |
ac_res="none required" |
| 14861 |
+ |
else |
| 14862 |
+ |
ac_res=-l$ac_lib |
| 14863 |
+ |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 14864 |
+ |
fi |
| 14865 |
+ |
if ac_fn_c_try_link "$LINENO" |
| 14866 |
+ |
then : |
| 14867 |
+ |
ac_cv_search_crypt=$ac_res |
| 14868 |
+ |
fi |
| 14869 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 14870 |
+ |
conftest$ac_exeext |
| 14871 |
+ |
if test ${ac_cv_search_crypt+y} |
| 14872 |
+ |
then : |
| 14873 |
+ |
break |
| 14874 |
|
fi |
| 14875 |
|
done |
| 14876 |
+ |
if test ${ac_cv_search_crypt+y} |
| 14877 |
+ |
then : |
| 14878 |
|
|
| 14879 |
+ |
else $as_nop |
| 14880 |
+ |
ac_cv_search_crypt=no |
| 14881 |
+ |
fi |
| 14882 |
+ |
rm conftest.$ac_ext |
| 14883 |
+ |
LIBS=$ac_func_search_save_LIBS |
| 14884 |
+ |
fi |
| 14885 |
+ |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_crypt" >&5 |
| 14886 |
+ |
printf "%s\n" "$ac_cv_search_crypt" >&6; } |
| 14887 |
+ |
ac_res=$ac_cv_search_crypt |
| 14888 |
+ |
if test "$ac_res" != no |
| 14889 |
+ |
then : |
| 14890 |
+ |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 14891 |
|
|
| 14892 |
+ |
fi |
| 14893 |
|
|
| 14894 |
|
|
| 14895 |
+ |
# Set -Werror=unknown-warning-option for clang so subsequent |
| 14896 |
+ |
# AX_APPEND_COMPILE_FLAGS executions work properly. |
| 14897 |
|
|
| 14898 |
|
|
| 14899 |
|
|
| 14900 |
|
|
| 14901 |
+ |
for flag in -Werror=unknown-warning-option; do |
| 14902 |
+ |
as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14903 |
+ |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14904 |
+ |
printf %s "checking whether C compiler accepts $flag... " >&6; } |
| 14905 |
+ |
if eval test \${$as_CACHEVAR+y} |
| 14906 |
+ |
then : |
| 14907 |
+ |
printf %s "(cached) " >&6 |
| 14908 |
+ |
else $as_nop |
| 14909 |
|
|
| 14910 |
+ |
ax_check_save_flags=$CFLAGS |
| 14911 |
+ |
CFLAGS="$CFLAGS $flag" |
| 14912 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14913 |
+ |
/* end confdefs.h. */ |
| 14914 |
|
|
| 14915 |
+ |
int |
| 14916 |
+ |
main (void) |
| 14917 |
+ |
{ |
| 14918 |
|
|
| 14919 |
< |
# Checks for header files. |
| 14919 |
> |
; |
| 14920 |
> |
return 0; |
| 14921 |
> |
} |
| 14922 |
> |
_ACEOF |
| 14923 |
> |
if ac_fn_c_try_compile "$LINENO" |
| 14924 |
> |
then : |
| 14925 |
> |
eval "$as_CACHEVAR=yes" |
| 14926 |
> |
else $as_nop |
| 14927 |
> |
eval "$as_CACHEVAR=no" |
| 14928 |
> |
fi |
| 14929 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 14930 |
> |
CFLAGS=$ax_check_save_flags |
| 14931 |
> |
fi |
| 14932 |
> |
eval ac_res=\$$as_CACHEVAR |
| 14933 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 14934 |
> |
printf "%s\n" "$ac_res" >&6; } |
| 14935 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes" |
| 14936 |
> |
then : |
| 14937 |
> |
|
| 14938 |
> |
if test ${CFLAGS+y} |
| 14939 |
> |
then : |
| 14940 |
> |
|
| 14941 |
> |
case " $CFLAGS " in #( |
| 14942 |
> |
*" $flag "*) : |
| 14943 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 14944 |
> |
(: CFLAGS already contains $flag) 2>&5 |
| 14945 |
> |
ac_status=$? |
| 14946 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14947 |
> |
test $ac_status = 0; } ;; #( |
| 14948 |
> |
*) : |
| 14949 |
|
|
| 14950 |
+ |
as_fn_append CFLAGS " $flag" |
| 14951 |
+ |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 14952 |
+ |
(: CFLAGS="$CFLAGS") 2>&5 |
| 14953 |
+ |
ac_status=$? |
| 14954 |
+ |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14955 |
+ |
test $ac_status = 0; } |
| 14956 |
+ |
;; |
| 14957 |
+ |
esac |
| 14958 |
|
|
| 14959 |
+ |
else $as_nop |
| 14960 |
|
|
| 14961 |
< |
for ac_header in $ac_header_list |
| 14962 |
< |
do : |
| 14963 |
< |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 14964 |
< |
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
| 14965 |
< |
" |
| 14966 |
< |
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
| 14967 |
< |
cat >>confdefs.h <<_ACEOF |
| 14968 |
< |
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 13731 |
< |
_ACEOF |
| 14961 |
> |
CFLAGS=$flag |
| 14962 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 14963 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 14964 |
> |
ac_status=$? |
| 14965 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14966 |
> |
test $ac_status = 0; } |
| 14967 |
> |
|
| 14968 |
> |
fi |
| 14969 |
|
|
| 14970 |
+ |
else $as_nop |
| 14971 |
+ |
: |
| 14972 |
|
fi |
| 14973 |
|
|
| 14974 |
|
done |
| 14975 |
|
|
| 14976 |
+ |
# Disable -Wformat-truncation specifically for gcc. |
| 14977 |
|
|
| 14978 |
|
|
| 14979 |
|
|
| 14980 |
|
|
| 14981 |
+ |
for flag in -Wno-format-truncation; do |
| 14982 |
+ |
as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14983 |
+ |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14984 |
+ |
printf %s "checking whether C compiler accepts $flag... " >&6; } |
| 14985 |
+ |
if eval test \${$as_CACHEVAR+y} |
| 14986 |
+ |
then : |
| 14987 |
+ |
printf %s "(cached) " >&6 |
| 14988 |
+ |
else $as_nop |
| 14989 |
|
|
| 14990 |
+ |
ax_check_save_flags=$CFLAGS |
| 14991 |
+ |
CFLAGS="$CFLAGS $flag" |
| 14992 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14993 |
+ |
/* end confdefs.h. */ |
| 14994 |
|
|
| 14995 |
+ |
int |
| 14996 |
+ |
main (void) |
| 14997 |
+ |
{ |
| 14998 |
|
|
| 14999 |
+ |
; |
| 15000 |
+ |
return 0; |
| 15001 |
+ |
} |
| 15002 |
+ |
_ACEOF |
| 15003 |
+ |
if ac_fn_c_try_compile "$LINENO" |
| 15004 |
+ |
then : |
| 15005 |
+ |
eval "$as_CACHEVAR=yes" |
| 15006 |
+ |
else $as_nop |
| 15007 |
+ |
eval "$as_CACHEVAR=no" |
| 15008 |
+ |
fi |
| 15009 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 15010 |
+ |
CFLAGS=$ax_check_save_flags |
| 15011 |
+ |
fi |
| 15012 |
+ |
eval ac_res=\$$as_CACHEVAR |
| 15013 |
+ |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 15014 |
+ |
printf "%s\n" "$ac_res" >&6; } |
| 15015 |
+ |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes" |
| 15016 |
+ |
then : |
| 15017 |
+ |
|
| 15018 |
+ |
if test ${CFLAGS+y} |
| 15019 |
+ |
then : |
| 15020 |
+ |
|
| 15021 |
+ |
case " $CFLAGS " in #( |
| 15022 |
+ |
*" $flag "*) : |
| 15023 |
+ |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 15024 |
+ |
(: CFLAGS already contains $flag) 2>&5 |
| 15025 |
+ |
ac_status=$? |
| 15026 |
+ |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15027 |
+ |
test $ac_status = 0; } ;; #( |
| 15028 |
+ |
*) : |
| 15029 |
+ |
|
| 15030 |
+ |
as_fn_append CFLAGS " $flag" |
| 15031 |
+ |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 15032 |
+ |
(: CFLAGS="$CFLAGS") 2>&5 |
| 15033 |
+ |
ac_status=$? |
| 15034 |
+ |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15035 |
+ |
test $ac_status = 0; } |
| 15036 |
+ |
;; |
| 15037 |
+ |
esac |
| 15038 |
|
|
| 15039 |
+ |
else $as_nop |
| 15040 |
|
|
| 15041 |
+ |
CFLAGS=$flag |
| 15042 |
+ |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 15043 |
+ |
(: CFLAGS="$CFLAGS") 2>&5 |
| 15044 |
+ |
ac_status=$? |
| 15045 |
+ |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15046 |
+ |
test $ac_status = 0; } |
| 15047 |
|
|
| 15048 |
+ |
fi |
| 15049 |
|
|
| 15050 |
+ |
else $as_nop |
| 15051 |
+ |
: |
| 15052 |
+ |
fi |
| 15053 |
|
|
| 15054 |
+ |
done |
| 15055 |
|
|
| 15056 |
|
|
| 15057 |
+ |
# Argument processing. |
| 15058 |
|
|
| 15059 |
+ |
desired_iopoll_mechanism="none" |
| 15060 |
|
|
| 15061 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5 |
| 15062 |
< |
$as_echo_n "checking for library containing crypt... " >&6; } |
| 15063 |
< |
if ${ac_cv_search_crypt+:} false; then : |
| 15064 |
< |
$as_echo_n "(cached) " >&6 |
| 15065 |
< |
else |
| 15066 |
< |
ac_func_search_save_LIBS=$LIBS |
| 15067 |
< |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 15061 |
> |
# Check whether --enable-kqueue was given. |
| 15062 |
> |
if test ${enable_kqueue+y} |
| 15063 |
> |
then : |
| 15064 |
> |
enableval=$enable_kqueue; desired_iopoll_mechanism="kqueue" |
| 15065 |
> |
fi |
| 15066 |
> |
|
| 15067 |
> |
# Check whether --enable-epoll was given. |
| 15068 |
> |
if test ${enable_epoll+y} |
| 15069 |
> |
then : |
| 15070 |
> |
enableval=$enable_epoll; desired_iopoll_mechanism="epoll" |
| 15071 |
> |
fi |
| 15072 |
> |
|
| 15073 |
> |
# Check whether --enable-poll was given. |
| 15074 |
> |
if test ${enable_poll+y} |
| 15075 |
> |
then : |
| 15076 |
> |
enableval=$enable_poll; desired_iopoll_mechanism="poll" |
| 15077 |
> |
fi |
| 15078 |
> |
|
| 15079 |
> |
|
| 15080 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for optimal/desired iopoll mechanism" >&5 |
| 15081 |
> |
printf %s "checking for optimal/desired iopoll mechanism... " >&6; } |
| 15082 |
> |
|
| 15083 |
> |
iopoll_mechanism_none=0 |
| 15084 |
> |
|
| 15085 |
> |
printf "%s\n" "#define __IOPOLL_MECHANISM_NONE $iopoll_mechanism_none" >>confdefs.h |
| 15086 |
> |
|
| 15087 |
> |
|
| 15088 |
> |
iopoll_mechanism_kqueue=1 |
| 15089 |
> |
|
| 15090 |
> |
printf "%s\n" "#define __IOPOLL_MECHANISM_KQUEUE $iopoll_mechanism_kqueue" >>confdefs.h |
| 15091 |
> |
|
| 15092 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 15093 |
|
/* end confdefs.h. */ |
| 15094 |
+ |
/* Define kevent to an innocuous variant, in case <limits.h> declares kevent. |
| 15095 |
+ |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
| 15096 |
+ |
#define kevent innocuous_kevent |
| 15097 |
+ |
|
| 15098 |
+ |
/* System header to define __stub macros and hopefully few prototypes, |
| 15099 |
+ |
which can conflict with char kevent (); below. */ |
| 15100 |
+ |
|
| 15101 |
+ |
#include <limits.h> |
| 15102 |
+ |
#undef kevent |
| 15103 |
|
|
| 15104 |
|
/* Override any GCC internal prototype to avoid an error. |
| 15105 |
|
Use char because int might match the return type of a GCC |
| 15107 |
|
#ifdef __cplusplus |
| 15108 |
|
extern "C" |
| 15109 |
|
#endif |
| 15110 |
< |
char crypt (); |
| 15110 |
> |
char kevent (); |
| 15111 |
> |
/* The GNU C library defines this for functions which it implements |
| 15112 |
> |
to always fail with ENOSYS. Some functions are actually named |
| 15113 |
> |
something starting with __ and the normal name is an alias. */ |
| 15114 |
> |
#if defined __stub_kevent || defined __stub___kevent |
| 15115 |
> |
choke me |
| 15116 |
> |
#endif |
| 15117 |
> |
|
| 15118 |
|
int |
| 15119 |
< |
main () |
| 15119 |
> |
main (void) |
| 15120 |
|
{ |
| 15121 |
< |
return crypt (); |
| 15121 |
> |
return kevent (); |
| 15122 |
|
; |
| 15123 |
|
return 0; |
| 15124 |
|
} |
| 15125 |
|
_ACEOF |
| 15126 |
< |
for ac_lib in '' crypt; do |
| 15127 |
< |
if test -z "$ac_lib"; then |
| 15128 |
< |
ac_res="none required" |
| 15129 |
< |
else |
| 15130 |
< |
ac_res=-l$ac_lib |
| 13782 |
< |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 13783 |
< |
fi |
| 13784 |
< |
if ac_fn_c_try_link "$LINENO"; then : |
| 13785 |
< |
ac_cv_search_crypt=$ac_res |
| 13786 |
< |
fi |
| 13787 |
< |
rm -f core conftest.err conftest.$ac_objext \ |
| 13788 |
< |
conftest$ac_exeext |
| 13789 |
< |
if ${ac_cv_search_crypt+:} false; then : |
| 13790 |
< |
break |
| 15126 |
> |
if ac_fn_c_try_link "$LINENO" |
| 15127 |
> |
then : |
| 15128 |
> |
is_kqueue_mechanism_available="yes" |
| 15129 |
> |
else $as_nop |
| 15130 |
> |
is_kqueue_mechanism_available="no" |
| 15131 |
|
fi |
| 15132 |
< |
done |
| 15133 |
< |
if ${ac_cv_search_crypt+:} false; then : |
| 15132 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 15133 |
> |
conftest$ac_exeext conftest.$ac_ext |
| 15134 |
|
|
| 15135 |
< |
else |
| 15136 |
< |
ac_cv_search_crypt=no |
| 15137 |
< |
fi |
| 13798 |
< |
rm conftest.$ac_ext |
| 13799 |
< |
LIBS=$ac_func_search_save_LIBS |
| 13800 |
< |
fi |
| 13801 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_crypt" >&5 |
| 13802 |
< |
$as_echo "$ac_cv_search_crypt" >&6; } |
| 13803 |
< |
ac_res=$ac_cv_search_crypt |
| 13804 |
< |
if test "$ac_res" != no; then : |
| 13805 |
< |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 15135 |
> |
iopoll_mechanism_epoll=2 |
| 15136 |
> |
|
| 15137 |
> |
printf "%s\n" "#define __IOPOLL_MECHANISM_EPOLL $iopoll_mechanism_epoll" >>confdefs.h |
| 15138 |
|
|
| 15139 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 15140 |
+ |
/* end confdefs.h. */ |
| 15141 |
+ |
#include <sys/epoll.h> |
| 15142 |
+ |
int |
| 15143 |
+ |
main (void) |
| 15144 |
+ |
{ |
| 15145 |
+ |
epoll_create1(EPOLL_CLOEXEC); |
| 15146 |
+ |
; |
| 15147 |
+ |
return 0; |
| 15148 |
+ |
} |
| 15149 |
+ |
_ACEOF |
| 15150 |
+ |
if ac_fn_c_try_link "$LINENO" |
| 15151 |
+ |
then : |
| 15152 |
+ |
is_epoll_mechanism_available="yes" |
| 15153 |
+ |
else $as_nop |
| 15154 |
+ |
is_epoll_mechanism_available="no" |
| 15155 |
|
fi |
| 15156 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 15157 |
+ |
conftest$ac_exeext conftest.$ac_ext |
| 15158 |
|
|
| 15159 |
+ |
iopoll_mechanism_poll=3 |
| 15160 |
|
|
| 15161 |
< |
# Check whether --enable-libgeoip was given. |
| 15162 |
< |
if test "${enable_libgeoip+set}" = set; then : |
| 15163 |
< |
enableval=$enable_libgeoip; |
| 13813 |
< |
else |
| 13814 |
< |
ac_fn_c_check_header_mongrel "$LINENO" "GeoIP.h" "ac_cv_header_GeoIP_h" "$ac_includes_default" |
| 13815 |
< |
if test "x$ac_cv_header_GeoIP_h" = xyes; then : |
| 13816 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing GeoIP_id_by_ipnum_v6_gl" >&5 |
| 13817 |
< |
$as_echo_n "checking for library containing GeoIP_id_by_ipnum_v6_gl... " >&6; } |
| 13818 |
< |
if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then : |
| 13819 |
< |
$as_echo_n "(cached) " >&6 |
| 13820 |
< |
else |
| 13821 |
< |
ac_func_search_save_LIBS=$LIBS |
| 13822 |
< |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 15161 |
> |
printf "%s\n" "#define __IOPOLL_MECHANISM_POLL $iopoll_mechanism_poll" >>confdefs.h |
| 15162 |
> |
|
| 15163 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 15164 |
|
/* end confdefs.h. */ |
| 15165 |
+ |
/* Define poll to an innocuous variant, in case <limits.h> declares poll. |
| 15166 |
+ |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
| 15167 |
+ |
#define poll innocuous_poll |
| 15168 |
+ |
|
| 15169 |
+ |
/* System header to define __stub macros and hopefully few prototypes, |
| 15170 |
+ |
which can conflict with char poll (); below. */ |
| 15171 |
+ |
|
| 15172 |
+ |
#include <limits.h> |
| 15173 |
+ |
#undef poll |
| 15174 |
|
|
| 15175 |
|
/* Override any GCC internal prototype to avoid an error. |
| 15176 |
|
Use char because int might match the return type of a GCC |
| 15178 |
|
#ifdef __cplusplus |
| 15179 |
|
extern "C" |
| 15180 |
|
#endif |
| 15181 |
< |
char GeoIP_id_by_ipnum_v6_gl (); |
| 15181 |
> |
char poll (); |
| 15182 |
> |
/* The GNU C library defines this for functions which it implements |
| 15183 |
> |
to always fail with ENOSYS. Some functions are actually named |
| 15184 |
> |
something starting with __ and the normal name is an alias. */ |
| 15185 |
> |
#if defined __stub_poll || defined __stub___poll |
| 15186 |
> |
choke me |
| 15187 |
> |
#endif |
| 15188 |
> |
|
| 15189 |
|
int |
| 15190 |
< |
main () |
| 15190 |
> |
main (void) |
| 15191 |
|
{ |
| 15192 |
< |
return GeoIP_id_by_ipnum_v6_gl (); |
| 15192 |
> |
return poll (); |
| 15193 |
|
; |
| 15194 |
|
return 0; |
| 15195 |
|
} |
| 15196 |
|
_ACEOF |
| 15197 |
< |
for ac_lib in '' GeoIP; do |
| 15198 |
< |
if test -z "$ac_lib"; then |
| 15199 |
< |
ac_res="none required" |
| 15197 |
> |
if ac_fn_c_try_link "$LINENO" |
| 15198 |
> |
then : |
| 15199 |
> |
is_poll_mechanism_available="yes" |
| 15200 |
> |
else $as_nop |
| 15201 |
> |
is_poll_mechanism_available="no" |
| 15202 |
> |
fi |
| 15203 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 15204 |
> |
conftest$ac_exeext conftest.$ac_ext |
| 15205 |
> |
|
| 15206 |
> |
optimal_iopoll_mechanism="none" |
| 15207 |
> |
for mechanism in "kqueue" "epoll" "poll" ; do # order is important |
| 15208 |
> |
eval "is_optimal_iopoll_mechanism_available=\$is_${mechanism}_mechanism_available" |
| 15209 |
> |
if test "$is_optimal_iopoll_mechanism_available" = "yes" ; then |
| 15210 |
> |
optimal_iopoll_mechanism="$mechanism" |
| 15211 |
> |
break |
| 15212 |
> |
fi |
| 15213 |
> |
done |
| 15214 |
> |
|
| 15215 |
> |
if test "$desired_iopoll_mechanism" = "none" ; then |
| 15216 |
> |
if test "$optimal_iopoll_mechanism" = "none" ; then |
| 15217 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5 |
| 15218 |
> |
printf "%s\n" "none" >&6; } |
| 15219 |
> |
as_fn_error $? "no iopoll mechanism found!" "$LINENO" 5 |
| 15220 |
> |
else |
| 15221 |
> |
selected_iopoll_mechanism=$optimal_iopoll_mechanism |
| 15222 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $selected_iopoll_mechanism" >&5 |
| 15223 |
> |
printf "%s\n" "$selected_iopoll_mechanism" >&6; } |
| 15224 |
> |
fi |
| 15225 |
|
else |
| 15226 |
< |
ac_res=-l$ac_lib |
| 15227 |
< |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 15226 |
> |
eval "is_desired_iopoll_mechanism_available=\$is_${desired_iopoll_mechanism}_mechanism_available" |
| 15227 |
> |
if test "$is_desired_iopoll_mechanism_available" = "yes" ; then |
| 15228 |
> |
selected_iopoll_mechanism=$desired_iopoll_mechanism |
| 15229 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $selected_iopoll_mechanism" >&5 |
| 15230 |
> |
printf "%s\n" "$selected_iopoll_mechanism" >&6; } |
| 15231 |
> |
else |
| 15232 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5 |
| 15233 |
> |
printf "%s\n" "none" >&6; } |
| 15234 |
> |
as_fn_error $? "desired iopoll mechanism, $desired_iopoll_mechanism, is not available" "$LINENO" 5 |
| 15235 |
> |
fi |
| 15236 |
|
fi |
| 15237 |
< |
if ac_fn_c_try_link "$LINENO"; then : |
| 15238 |
< |
ac_cv_search_GeoIP_id_by_ipnum_v6_gl=$ac_res |
| 15239 |
< |
fi |
| 15240 |
< |
rm -f core conftest.err conftest.$ac_objext \ |
| 15241 |
< |
conftest$ac_exeext |
| 15242 |
< |
if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then : |
| 15243 |
< |
break |
| 15237 |
> |
|
| 15238 |
> |
eval "use_iopoll_mechanism=\$iopoll_mechanism_${selected_iopoll_mechanism}" |
| 15239 |
> |
|
| 15240 |
> |
printf "%s\n" "#define USE_IOPOLL_MECHANISM $use_iopoll_mechanism" >>confdefs.h |
| 15241 |
> |
|
| 15242 |
> |
|
| 15243 |
> |
|
| 15244 |
> |
# Check whether --enable-assert was given. |
| 15245 |
> |
if test ${enable_assert+y} |
| 15246 |
> |
then : |
| 15247 |
> |
enableval=$enable_assert; assert=$enableval |
| 15248 |
> |
else $as_nop |
| 15249 |
> |
assert=no |
| 15250 |
|
fi |
| 13855 |
– |
done |
| 13856 |
– |
if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then : |
| 15251 |
|
|
| 15252 |
< |
else |
| 15253 |
< |
ac_cv_search_GeoIP_id_by_ipnum_v6_gl=no |
| 15252 |
> |
|
| 15253 |
> |
if test "$assert" = "no" |
| 15254 |
> |
then : |
| 15255 |
> |
|
| 15256 |
> |
printf "%s\n" "#define NDEBUG 1" >>confdefs.h |
| 15257 |
> |
|
| 15258 |
|
fi |
| 15259 |
< |
rm conftest.$ac_ext |
| 15260 |
< |
LIBS=$ac_func_search_save_LIBS |
| 15259 |
> |
|
| 15260 |
> |
|
| 15261 |
> |
# Check whether --enable-debugging was given. |
| 15262 |
> |
if test ${enable_debugging+y} |
| 15263 |
> |
then : |
| 15264 |
> |
enableval=$enable_debugging; debugging="$enableval" |
| 15265 |
> |
else $as_nop |
| 15266 |
> |
debugging="no" |
| 15267 |
|
fi |
| 13864 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&5 |
| 13865 |
– |
$as_echo "$ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&6; } |
| 13866 |
– |
ac_res=$ac_cv_search_GeoIP_id_by_ipnum_v6_gl |
| 13867 |
– |
if test "$ac_res" != no; then : |
| 13868 |
– |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 15268 |
|
|
| 15269 |
< |
$as_echo "#define HAVE_LIBGEOIP 1" >>confdefs.h |
| 15269 |
> |
|
| 15270 |
> |
if test "$debugging" = "yes" |
| 15271 |
> |
then : |
| 15272 |
> |
|
| 15273 |
> |
CFLAGS=$(echo "$CFLAGS" | sed -e 's/-O[0-9s]*//g') |
| 15274 |
> |
CFLAGS=$(echo "$CFLAGS" | sed -e 's/-g[0-9]*//g') |
| 15275 |
> |
|
| 15276 |
> |
if test ${CFLAGS+y} |
| 15277 |
> |
then : |
| 15278 |
> |
|
| 15279 |
> |
case " $CFLAGS " in #( |
| 15280 |
> |
*" -g -O0 "*) : |
| 15281 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains -g -O0"; } >&5 |
| 15282 |
> |
(: CFLAGS already contains -g -O0) 2>&5 |
| 15283 |
> |
ac_status=$? |
| 15284 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15285 |
> |
test $ac_status = 0; } ;; #( |
| 15286 |
> |
*) : |
| 15287 |
> |
|
| 15288 |
> |
as_fn_append CFLAGS " -g -O0" |
| 15289 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 15290 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 15291 |
> |
ac_status=$? |
| 15292 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15293 |
> |
test $ac_status = 0; } |
| 15294 |
> |
;; |
| 15295 |
> |
esac |
| 15296 |
> |
|
| 15297 |
> |
else $as_nop |
| 15298 |
> |
|
| 15299 |
> |
CFLAGS=-g -O0 |
| 15300 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 15301 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 15302 |
> |
ac_status=$? |
| 15303 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15304 |
> |
test $ac_status = 0; } |
| 15305 |
|
|
| 15306 |
|
fi |
| 15307 |
|
|
| 15308 |
+ |
|
| 15309 |
|
fi |
| 15310 |
|
|
| 15311 |
|
|
| 15312 |
+ |
# Check whether --enable-warnings was given. |
| 15313 |
+ |
if test ${enable_warnings+y} |
| 15314 |
+ |
then : |
| 15315 |
+ |
enableval=$enable_warnings; warnings="$enableval" |
| 15316 |
+ |
else $as_nop |
| 15317 |
+ |
warnings="no" |
| 15318 |
|
fi |
| 15319 |
|
|
| 15320 |
|
|
| 15321 |
+ |
if test "$warnings" = "yes" |
| 15322 |
+ |
then : |
| 15323 |
+ |
|
| 15324 |
+ |
|
| 15325 |
+ |
|
| 15326 |
+ |
|
| 15327 |
+ |
|
| 15328 |
+ |
for flag in -Wall; do |
| 15329 |
+ |
as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 15330 |
+ |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 15331 |
+ |
printf %s "checking whether C compiler accepts $flag... " >&6; } |
| 15332 |
+ |
if eval test \${$as_CACHEVAR+y} |
| 15333 |
+ |
then : |
| 15334 |
+ |
printf %s "(cached) " >&6 |
| 15335 |
+ |
else $as_nop |
| 15336 |
+ |
|
| 15337 |
+ |
ax_check_save_flags=$CFLAGS |
| 15338 |
+ |
CFLAGS="$CFLAGS $flag" |
| 15339 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 15340 |
+ |
/* end confdefs.h. */ |
| 15341 |
+ |
|
| 15342 |
+ |
int |
| 15343 |
+ |
main (void) |
| 15344 |
+ |
{ |
| 15345 |
+ |
|
| 15346 |
+ |
; |
| 15347 |
+ |
return 0; |
| 15348 |
+ |
} |
| 15349 |
+ |
_ACEOF |
| 15350 |
+ |
if ac_fn_c_try_compile "$LINENO" |
| 15351 |
+ |
then : |
| 15352 |
+ |
eval "$as_CACHEVAR=yes" |
| 15353 |
+ |
else $as_nop |
| 15354 |
+ |
eval "$as_CACHEVAR=no" |
| 15355 |
+ |
fi |
| 15356 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 15357 |
+ |
CFLAGS=$ax_check_save_flags |
| 15358 |
+ |
fi |
| 15359 |
+ |
eval ac_res=\$$as_CACHEVAR |
| 15360 |
+ |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 15361 |
+ |
printf "%s\n" "$ac_res" >&6; } |
| 15362 |
+ |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes" |
| 15363 |
+ |
then : |
| 15364 |
+ |
|
| 15365 |
+ |
if test ${CFLAGS+y} |
| 15366 |
+ |
then : |
| 15367 |
+ |
|
| 15368 |
+ |
case " $CFLAGS " in #( |
| 15369 |
+ |
*" $flag "*) : |
| 15370 |
+ |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 15371 |
+ |
(: CFLAGS already contains $flag) 2>&5 |
| 15372 |
+ |
ac_status=$? |
| 15373 |
+ |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15374 |
+ |
test $ac_status = 0; } ;; #( |
| 15375 |
+ |
*) : |
| 15376 |
+ |
|
| 15377 |
+ |
as_fn_append CFLAGS " $flag" |
| 15378 |
+ |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 15379 |
+ |
(: CFLAGS="$CFLAGS") 2>&5 |
| 15380 |
+ |
ac_status=$? |
| 15381 |
+ |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15382 |
+ |
test $ac_status = 0; } |
| 15383 |
+ |
;; |
| 15384 |
+ |
esac |
| 15385 |
+ |
|
| 15386 |
+ |
else $as_nop |
| 15387 |
+ |
|
| 15388 |
+ |
CFLAGS=$flag |
| 15389 |
+ |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 15390 |
+ |
(: CFLAGS="$CFLAGS") 2>&5 |
| 15391 |
+ |
ac_status=$? |
| 15392 |
+ |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15393 |
+ |
test $ac_status = 0; } |
| 15394 |
|
|
| 13881 |
– |
# Check whether --enable-openssl was given. |
| 13882 |
– |
if test "${enable_openssl+set}" = set; then : |
| 13883 |
– |
enableval=$enable_openssl; cf_enable_openssl=$enableval |
| 13884 |
– |
else |
| 13885 |
– |
cf_enable_openssl="auto" |
| 15395 |
|
fi |
| 15396 |
|
|
| 15397 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL" >&5 |
| 15398 |
< |
$as_echo_n "checking for OpenSSL... " >&6; } |
| 15399 |
< |
if test "$cf_enable_openssl" != "no"; then |
| 13891 |
< |
cf_openssl_basedir="" |
| 13892 |
< |
if test "$cf_enable_openssl" != "auto" && |
| 13893 |
< |
test "$cf_enable_openssl" != "yes"; then |
| 13894 |
< |
cf_openssl_basedir="${cf_enable_openssl}" |
| 13895 |
< |
else |
| 13896 |
< |
for dirs in /usr/local/ssl /usr/pkg /usr/local /usr/lib /usr/lib/ssl\ |
| 13897 |
< |
/opt /opt/openssl /usr/local/openssl; do |
| 13898 |
< |
if test -f "${dirs}/include/openssl/opensslv.h"; then |
| 13899 |
< |
cf_openssl_basedir="${dirs}" |
| 13900 |
< |
break |
| 13901 |
< |
fi |
| 13902 |
< |
done |
| 13903 |
< |
unset dirs |
| 13904 |
< |
fi |
| 15397 |
> |
else $as_nop |
| 15398 |
> |
: |
| 15399 |
> |
fi |
| 15400 |
|
|
| 15401 |
< |
if test ! -z "$cf_openssl_basedir"; then |
| 15402 |
< |
if test -f "${cf_openssl_basedir}/include/openssl/opensslv.h"; then |
| 15403 |
< |
CPPFLAGS="-I${cf_openssl_basedir}/include $CPPFLAGS" |
| 15404 |
< |
LDFLAGS="-L${cf_openssl_basedir}/lib $LDFLAGS" |
| 15405 |
< |
else |
| 15406 |
< |
cf_openssl_basedir="" |
| 15407 |
< |
fi |
| 15408 |
< |
else |
| 15409 |
< |
if test -f "/usr/include/openssl/opensslv.h"; then |
| 15410 |
< |
cf_openssl_basedir="/usr" |
| 15411 |
< |
fi |
| 15412 |
< |
fi |
| 15401 |
> |
done |
| 15402 |
> |
|
| 15403 |
> |
|
| 15404 |
> |
|
| 15405 |
> |
|
| 15406 |
> |
|
| 15407 |
> |
for flag in -Wbad-function-cast; do |
| 15408 |
> |
as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 15409 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 15410 |
> |
printf %s "checking whether C compiler accepts $flag... " >&6; } |
| 15411 |
> |
if eval test \${$as_CACHEVAR+y} |
| 15412 |
> |
then : |
| 15413 |
> |
printf %s "(cached) " >&6 |
| 15414 |
> |
else $as_nop |
| 15415 |
> |
|
| 15416 |
> |
ax_check_save_flags=$CFLAGS |
| 15417 |
> |
CFLAGS="$CFLAGS $flag" |
| 15418 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 15419 |
> |
/* end confdefs.h. */ |
| 15420 |
> |
|
| 15421 |
> |
int |
| 15422 |
> |
main (void) |
| 15423 |
> |
{ |
| 15424 |
> |
|
| 15425 |
> |
; |
| 15426 |
> |
return 0; |
| 15427 |
> |
} |
| 15428 |
> |
_ACEOF |
| 15429 |
> |
if ac_fn_c_try_compile "$LINENO" |
| 15430 |
> |
then : |
| 15431 |
> |
eval "$as_CACHEVAR=yes" |
| 15432 |
> |
else $as_nop |
| 15433 |
> |
eval "$as_CACHEVAR=no" |
| 15434 |
> |
fi |
| 15435 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 15436 |
> |
CFLAGS=$ax_check_save_flags |
| 15437 |
> |
fi |
| 15438 |
> |
eval ac_res=\$$as_CACHEVAR |
| 15439 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 15440 |
> |
printf "%s\n" "$ac_res" >&6; } |
| 15441 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes" |
| 15442 |
> |
then : |
| 15443 |
> |
|
| 15444 |
> |
if test ${CFLAGS+y} |
| 15445 |
> |
then : |
| 15446 |
> |
|
| 15447 |
> |
case " $CFLAGS " in #( |
| 15448 |
> |
*" $flag "*) : |
| 15449 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 15450 |
> |
(: CFLAGS already contains $flag) 2>&5 |
| 15451 |
> |
ac_status=$? |
| 15452 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15453 |
> |
test $ac_status = 0; } ;; #( |
| 15454 |
> |
*) : |
| 15455 |
> |
|
| 15456 |
> |
as_fn_append CFLAGS " $flag" |
| 15457 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 15458 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 15459 |
> |
ac_status=$? |
| 15460 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15461 |
> |
test $ac_status = 0; } |
| 15462 |
> |
;; |
| 15463 |
> |
esac |
| 15464 |
> |
|
| 15465 |
> |
else $as_nop |
| 15466 |
> |
|
| 15467 |
> |
CFLAGS=$flag |
| 15468 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 15469 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 15470 |
> |
ac_status=$? |
| 15471 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15472 |
> |
test $ac_status = 0; } |
| 15473 |
|
|
| 13919 |
– |
if test ! -z "$cf_openssl_basedir"; then |
| 13920 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_openssl_basedir" >&5 |
| 13921 |
– |
$as_echo "$cf_openssl_basedir" >&6; } |
| 13922 |
– |
cf_enable_openssl="yes" |
| 13923 |
– |
else |
| 13924 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Please check your path." >&5 |
| 13925 |
– |
$as_echo "not found. Please check your path." >&6; } |
| 13926 |
– |
cf_enable_openssl="no" |
| 13927 |
– |
fi |
| 13928 |
– |
unset cf_openssl_basedir |
| 13929 |
– |
else |
| 13930 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 |
| 13931 |
– |
$as_echo "disabled" >&6; } |
| 15474 |
|
fi |
| 15475 |
|
|
| 15476 |
< |
if test "$cf_enable_openssl" != "no"; then : |
| 15477 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.8 or above" >&5 |
| 15478 |
< |
$as_echo_n "checking for OpenSSL 0.9.8 or above... " >&6; } |
| 15479 |
< |
if test "$cross_compiling" = yes; then : |
| 15480 |
< |
cf_openssl_version_ok=no |
| 15481 |
< |
else |
| 15476 |
> |
else $as_nop |
| 15477 |
> |
: |
| 15478 |
> |
fi |
| 15479 |
> |
|
| 15480 |
> |
done |
| 15481 |
> |
|
| 15482 |
> |
|
| 15483 |
> |
|
| 15484 |
> |
|
| 15485 |
> |
|
| 15486 |
> |
for flag in -Wcast-align; do |
| 15487 |
> |
as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 15488 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 15489 |
> |
printf %s "checking whether C compiler accepts $flag... " >&6; } |
| 15490 |
> |
if eval test \${$as_CACHEVAR+y} |
| 15491 |
> |
then : |
| 15492 |
> |
printf %s "(cached) " >&6 |
| 15493 |
> |
else $as_nop |
| 15494 |
> |
|
| 15495 |
> |
ax_check_save_flags=$CFLAGS |
| 15496 |
> |
CFLAGS="$CFLAGS $flag" |
| 15497 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 15498 |
|
/* end confdefs.h. */ |
| 15499 |
|
|
| 15500 |
+ |
int |
| 15501 |
+ |
main (void) |
| 15502 |
+ |
{ |
| 15503 |
+ |
|
| 15504 |
+ |
; |
| 15505 |
+ |
return 0; |
| 15506 |
+ |
} |
| 15507 |
+ |
_ACEOF |
| 15508 |
+ |
if ac_fn_c_try_compile "$LINENO" |
| 15509 |
+ |
then : |
| 15510 |
+ |
eval "$as_CACHEVAR=yes" |
| 15511 |
+ |
else $as_nop |
| 15512 |
+ |
eval "$as_CACHEVAR=no" |
| 15513 |
+ |
fi |
| 15514 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 15515 |
+ |
CFLAGS=$ax_check_save_flags |
| 15516 |
+ |
fi |
| 15517 |
+ |
eval ac_res=\$$as_CACHEVAR |
| 15518 |
+ |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 15519 |
+ |
printf "%s\n" "$ac_res" >&6; } |
| 15520 |
+ |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes" |
| 15521 |
+ |
then : |
| 15522 |
+ |
|
| 15523 |
+ |
if test ${CFLAGS+y} |
| 15524 |
+ |
then : |
| 15525 |
+ |
|
| 15526 |
+ |
case " $CFLAGS " in #( |
| 15527 |
+ |
*" $flag "*) : |
| 15528 |
+ |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 15529 |
+ |
(: CFLAGS already contains $flag) 2>&5 |
| 15530 |
+ |
ac_status=$? |
| 15531 |
+ |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15532 |
+ |
test $ac_status = 0; } ;; #( |
| 15533 |
+ |
*) : |
| 15534 |
+ |
|
| 15535 |
+ |
as_fn_append CFLAGS " $flag" |
| 15536 |
+ |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 15537 |
+ |
(: CFLAGS="$CFLAGS") 2>&5 |
| 15538 |
+ |
ac_status=$? |
| 15539 |
+ |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15540 |
+ |
test $ac_status = 0; } |
| 15541 |
+ |
;; |
| 15542 |
+ |
esac |
| 15543 |
+ |
|
| 15544 |
+ |
else $as_nop |
| 15545 |
+ |
|
| 15546 |
+ |
CFLAGS=$flag |
| 15547 |
+ |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 15548 |
+ |
(: CFLAGS="$CFLAGS") 2>&5 |
| 15549 |
+ |
ac_status=$? |
| 15550 |
+ |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15551 |
+ |
test $ac_status = 0; } |
| 15552 |
+ |
|
| 15553 |
+ |
fi |
| 15554 |
+ |
|
| 15555 |
+ |
else $as_nop |
| 15556 |
+ |
: |
| 15557 |
+ |
fi |
| 15558 |
+ |
|
| 15559 |
+ |
done |
| 15560 |
+ |
|
| 15561 |
+ |
|
| 15562 |
+ |
|
| 15563 |
+ |
|
| 15564 |
+ |
|
| 15565 |
+ |
for flag in -Wcast-function-type; do |
| 15566 |
+ |
as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 15567 |
+ |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 15568 |
+ |
printf %s "checking whether C compiler accepts $flag... " >&6; } |
| 15569 |
+ |
if eval test \${$as_CACHEVAR+y} |
| 15570 |
+ |
then : |
| 15571 |
+ |
printf %s "(cached) " >&6 |
| 15572 |
+ |
else $as_nop |
| 15573 |
+ |
|
| 15574 |
+ |
ax_check_save_flags=$CFLAGS |
| 15575 |
+ |
CFLAGS="$CFLAGS $flag" |
| 15576 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 15577 |
+ |
/* end confdefs.h. */ |
| 15578 |
|
|
| 13944 |
– |
#include <openssl/opensslv.h> |
| 13945 |
– |
#include <stdlib.h> |
| 15579 |
|
int |
| 15580 |
< |
main () |
| 15580 |
> |
main (void) |
| 15581 |
|
{ |
| 15582 |
< |
exit(!(OPENSSL_VERSION_NUMBER >= 0x00908000)); |
| 15582 |
> |
|
| 15583 |
|
; |
| 15584 |
|
return 0; |
| 15585 |
|
} |
| 15586 |
|
_ACEOF |
| 15587 |
< |
if ac_fn_c_try_run "$LINENO"; then : |
| 15588 |
< |
cf_openssl_version_ok=yes |
| 15589 |
< |
else |
| 15590 |
< |
cf_openssl_version_ok=no |
| 15587 |
> |
if ac_fn_c_try_compile "$LINENO" |
| 15588 |
> |
then : |
| 15589 |
> |
eval "$as_CACHEVAR=yes" |
| 15590 |
> |
else $as_nop |
| 15591 |
> |
eval "$as_CACHEVAR=no" |
| 15592 |
> |
fi |
| 15593 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 15594 |
> |
CFLAGS=$ax_check_save_flags |
| 15595 |
> |
fi |
| 15596 |
> |
eval ac_res=\$$as_CACHEVAR |
| 15597 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 15598 |
> |
printf "%s\n" "$ac_res" >&6; } |
| 15599 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes" |
| 15600 |
> |
then : |
| 15601 |
> |
|
| 15602 |
> |
if test ${CFLAGS+y} |
| 15603 |
> |
then : |
| 15604 |
> |
|
| 15605 |
> |
case " $CFLAGS " in #( |
| 15606 |
> |
*" $flag "*) : |
| 15607 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 15608 |
> |
(: CFLAGS already contains $flag) 2>&5 |
| 15609 |
> |
ac_status=$? |
| 15610 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15611 |
> |
test $ac_status = 0; } ;; #( |
| 15612 |
> |
*) : |
| 15613 |
> |
|
| 15614 |
> |
as_fn_append CFLAGS " $flag" |
| 15615 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 15616 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 15617 |
> |
ac_status=$? |
| 15618 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15619 |
> |
test $ac_status = 0; } |
| 15620 |
> |
;; |
| 15621 |
> |
esac |
| 15622 |
> |
|
| 15623 |
> |
else $as_nop |
| 15624 |
> |
|
| 15625 |
> |
CFLAGS=$flag |
| 15626 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 15627 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 15628 |
> |
ac_status=$? |
| 15629 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15630 |
> |
test $ac_status = 0; } |
| 15631 |
> |
|
| 15632 |
|
fi |
| 15633 |
< |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 15634 |
< |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 15633 |
> |
|
| 15634 |
> |
else $as_nop |
| 15635 |
> |
: |
| 15636 |
|
fi |
| 15637 |
|
|
| 15638 |
+ |
done |
| 15639 |
|
|
| 15640 |
< |
if test "$cf_openssl_version_ok" = "yes"; then : |
| 15641 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5 |
| 15642 |
< |
$as_echo "found" >&6; } |
| 15643 |
< |
|
| 15644 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5 |
| 15645 |
< |
$as_echo_n "checking for RSA_free in -lcrypto... " >&6; } |
| 15646 |
< |
if ${ac_cv_lib_crypto_RSA_free+:} false; then : |
| 15647 |
< |
$as_echo_n "(cached) " >&6 |
| 15648 |
< |
else |
| 15649 |
< |
ac_check_lib_save_LIBS=$LIBS |
| 15650 |
< |
LIBS="-lcrypto $LIBS" |
| 15651 |
< |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 15640 |
> |
|
| 15641 |
> |
|
| 15642 |
> |
|
| 15643 |
> |
|
| 15644 |
> |
for flag in -Wcast-qual; do |
| 15645 |
> |
as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 15646 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 15647 |
> |
printf %s "checking whether C compiler accepts $flag... " >&6; } |
| 15648 |
> |
if eval test \${$as_CACHEVAR+y} |
| 15649 |
> |
then : |
| 15650 |
> |
printf %s "(cached) " >&6 |
| 15651 |
> |
else $as_nop |
| 15652 |
> |
|
| 15653 |
> |
ax_check_save_flags=$CFLAGS |
| 15654 |
> |
CFLAGS="$CFLAGS $flag" |
| 15655 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 15656 |
|
/* end confdefs.h. */ |
| 15657 |
|
|
| 13978 |
– |
/* Override any GCC internal prototype to avoid an error. |
| 13979 |
– |
Use char because int might match the return type of a GCC |
| 13980 |
– |
builtin and then its argument prototype would still apply. */ |
| 13981 |
– |
#ifdef __cplusplus |
| 13982 |
– |
extern "C" |
| 13983 |
– |
#endif |
| 13984 |
– |
char RSA_free (); |
| 15658 |
|
int |
| 15659 |
< |
main () |
| 15659 |
> |
main (void) |
| 15660 |
|
{ |
| 15661 |
< |
return RSA_free (); |
| 15661 |
> |
|
| 15662 |
|
; |
| 15663 |
|
return 0; |
| 15664 |
|
} |
| 15665 |
|
_ACEOF |
| 15666 |
< |
if ac_fn_c_try_link "$LINENO"; then : |
| 15667 |
< |
ac_cv_lib_crypto_RSA_free=yes |
| 15668 |
< |
else |
| 15669 |
< |
ac_cv_lib_crypto_RSA_free=no |
| 15666 |
> |
if ac_fn_c_try_compile "$LINENO" |
| 15667 |
> |
then : |
| 15668 |
> |
eval "$as_CACHEVAR=yes" |
| 15669 |
> |
else $as_nop |
| 15670 |
> |
eval "$as_CACHEVAR=no" |
| 15671 |
> |
fi |
| 15672 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 15673 |
> |
CFLAGS=$ax_check_save_flags |
| 15674 |
> |
fi |
| 15675 |
> |
eval ac_res=\$$as_CACHEVAR |
| 15676 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 15677 |
> |
printf "%s\n" "$ac_res" >&6; } |
| 15678 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes" |
| 15679 |
> |
then : |
| 15680 |
> |
|
| 15681 |
> |
if test ${CFLAGS+y} |
| 15682 |
> |
then : |
| 15683 |
> |
|
| 15684 |
> |
case " $CFLAGS " in #( |
| 15685 |
> |
*" $flag "*) : |
| 15686 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 15687 |
> |
(: CFLAGS already contains $flag) 2>&5 |
| 15688 |
> |
ac_status=$? |
| 15689 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15690 |
> |
test $ac_status = 0; } ;; #( |
| 15691 |
> |
*) : |
| 15692 |
> |
|
| 15693 |
> |
as_fn_append CFLAGS " $flag" |
| 15694 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 15695 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 15696 |
> |
ac_status=$? |
| 15697 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15698 |
> |
test $ac_status = 0; } |
| 15699 |
> |
;; |
| 15700 |
> |
esac |
| 15701 |
> |
|
| 15702 |
> |
else $as_nop |
| 15703 |
> |
|
| 15704 |
> |
CFLAGS=$flag |
| 15705 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 15706 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 15707 |
> |
ac_status=$? |
| 15708 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15709 |
> |
test $ac_status = 0; } |
| 15710 |
> |
|
| 15711 |
|
fi |
| 15712 |
< |
rm -f core conftest.err conftest.$ac_objext \ |
| 15713 |
< |
conftest$ac_exeext conftest.$ac_ext |
| 15714 |
< |
LIBS=$ac_check_lib_save_LIBS |
| 15712 |
> |
|
| 15713 |
> |
else $as_nop |
| 15714 |
> |
: |
| 15715 |
|
fi |
| 15716 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5 |
| 15717 |
< |
$as_echo "$ac_cv_lib_crypto_RSA_free" >&6; } |
| 15718 |
< |
if test "x$ac_cv_lib_crypto_RSA_free" = xyes; then : |
| 15719 |
< |
cat >>confdefs.h <<_ACEOF |
| 15720 |
< |
#define HAVE_LIBCRYPTO 1 |
| 15716 |
> |
|
| 15717 |
> |
done |
| 15718 |
> |
|
| 15719 |
> |
|
| 15720 |
> |
|
| 15721 |
> |
|
| 15722 |
> |
|
| 15723 |
> |
for flag in -Wclobbered; do |
| 15724 |
> |
as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 15725 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 15726 |
> |
printf %s "checking whether C compiler accepts $flag... " >&6; } |
| 15727 |
> |
if eval test \${$as_CACHEVAR+y} |
| 15728 |
> |
then : |
| 15729 |
> |
printf %s "(cached) " >&6 |
| 15730 |
> |
else $as_nop |
| 15731 |
> |
|
| 15732 |
> |
ax_check_save_flags=$CFLAGS |
| 15733 |
> |
CFLAGS="$CFLAGS $flag" |
| 15734 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 15735 |
> |
/* end confdefs.h. */ |
| 15736 |
> |
|
| 15737 |
> |
int |
| 15738 |
> |
main (void) |
| 15739 |
> |
{ |
| 15740 |
> |
|
| 15741 |
> |
; |
| 15742 |
> |
return 0; |
| 15743 |
> |
} |
| 15744 |
|
_ACEOF |
| 15745 |
+ |
if ac_fn_c_try_compile "$LINENO" |
| 15746 |
+ |
then : |
| 15747 |
+ |
eval "$as_CACHEVAR=yes" |
| 15748 |
+ |
else $as_nop |
| 15749 |
+ |
eval "$as_CACHEVAR=no" |
| 15750 |
+ |
fi |
| 15751 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 15752 |
+ |
CFLAGS=$ax_check_save_flags |
| 15753 |
+ |
fi |
| 15754 |
+ |
eval ac_res=\$$as_CACHEVAR |
| 15755 |
+ |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 15756 |
+ |
printf "%s\n" "$ac_res" >&6; } |
| 15757 |
+ |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes" |
| 15758 |
+ |
then : |
| 15759 |
+ |
|
| 15760 |
+ |
if test ${CFLAGS+y} |
| 15761 |
+ |
then : |
| 15762 |
+ |
|
| 15763 |
+ |
case " $CFLAGS " in #( |
| 15764 |
+ |
*" $flag "*) : |
| 15765 |
+ |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 15766 |
+ |
(: CFLAGS already contains $flag) 2>&5 |
| 15767 |
+ |
ac_status=$? |
| 15768 |
+ |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15769 |
+ |
test $ac_status = 0; } ;; #( |
| 15770 |
+ |
*) : |
| 15771 |
|
|
| 15772 |
< |
LIBS="-lcrypto $LIBS" |
| 15772 |
> |
as_fn_append CFLAGS " $flag" |
| 15773 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 15774 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 15775 |
> |
ac_status=$? |
| 15776 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15777 |
> |
test $ac_status = 0; } |
| 15778 |
> |
;; |
| 15779 |
> |
esac |
| 15780 |
> |
|
| 15781 |
> |
else $as_nop |
| 15782 |
> |
|
| 15783 |
> |
CFLAGS=$flag |
| 15784 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 15785 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 15786 |
> |
ac_status=$? |
| 15787 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15788 |
> |
test $ac_status = 0; } |
| 15789 |
|
|
| 15790 |
|
fi |
| 15791 |
|
|
| 15792 |
< |
if test "$ac_cv_lib_crypto_RSA_free" = "yes"; then : |
| 15793 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5 |
| 15794 |
< |
$as_echo_n "checking for SSL_connect in -lssl... " >&6; } |
| 15795 |
< |
if ${ac_cv_lib_ssl_SSL_connect+:} false; then : |
| 15796 |
< |
$as_echo_n "(cached) " >&6 |
| 15797 |
< |
else |
| 15798 |
< |
ac_check_lib_save_LIBS=$LIBS |
| 15799 |
< |
LIBS="-lssl $LIBS" |
| 15800 |
< |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 15792 |
> |
else $as_nop |
| 15793 |
> |
: |
| 15794 |
> |
fi |
| 15795 |
> |
|
| 15796 |
> |
done |
| 15797 |
> |
|
| 15798 |
> |
|
| 15799 |
> |
|
| 15800 |
> |
|
| 15801 |
> |
|
| 15802 |
> |
for flag in -Wduplicated-cond; do |
| 15803 |
> |
as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 15804 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 15805 |
> |
printf %s "checking whether C compiler accepts $flag... " >&6; } |
| 15806 |
> |
if eval test \${$as_CACHEVAR+y} |
| 15807 |
> |
then : |
| 15808 |
> |
printf %s "(cached) " >&6 |
| 15809 |
> |
else $as_nop |
| 15810 |
> |
|
| 15811 |
> |
ax_check_save_flags=$CFLAGS |
| 15812 |
> |
CFLAGS="$CFLAGS $flag" |
| 15813 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 15814 |
|
/* end confdefs.h. */ |
| 15815 |
|
|
| 14024 |
– |
/* Override any GCC internal prototype to avoid an error. |
| 14025 |
– |
Use char because int might match the return type of a GCC |
| 14026 |
– |
builtin and then its argument prototype would still apply. */ |
| 14027 |
– |
#ifdef __cplusplus |
| 14028 |
– |
extern "C" |
| 14029 |
– |
#endif |
| 14030 |
– |
char SSL_connect (); |
| 15816 |
|
int |
| 15817 |
< |
main () |
| 15817 |
> |
main (void) |
| 15818 |
|
{ |
| 15819 |
< |
return SSL_connect (); |
| 15819 |
> |
|
| 15820 |
|
; |
| 15821 |
|
return 0; |
| 15822 |
|
} |
| 15823 |
|
_ACEOF |
| 15824 |
< |
if ac_fn_c_try_link "$LINENO"; then : |
| 15825 |
< |
ac_cv_lib_ssl_SSL_connect=yes |
| 15826 |
< |
else |
| 15827 |
< |
ac_cv_lib_ssl_SSL_connect=no |
| 15824 |
> |
if ac_fn_c_try_compile "$LINENO" |
| 15825 |
> |
then : |
| 15826 |
> |
eval "$as_CACHEVAR=yes" |
| 15827 |
> |
else $as_nop |
| 15828 |
> |
eval "$as_CACHEVAR=no" |
| 15829 |
> |
fi |
| 15830 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 15831 |
> |
CFLAGS=$ax_check_save_flags |
| 15832 |
> |
fi |
| 15833 |
> |
eval ac_res=\$$as_CACHEVAR |
| 15834 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 15835 |
> |
printf "%s\n" "$ac_res" >&6; } |
| 15836 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes" |
| 15837 |
> |
then : |
| 15838 |
> |
|
| 15839 |
> |
if test ${CFLAGS+y} |
| 15840 |
> |
then : |
| 15841 |
> |
|
| 15842 |
> |
case " $CFLAGS " in #( |
| 15843 |
> |
*" $flag "*) : |
| 15844 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 15845 |
> |
(: CFLAGS already contains $flag) 2>&5 |
| 15846 |
> |
ac_status=$? |
| 15847 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15848 |
> |
test $ac_status = 0; } ;; #( |
| 15849 |
> |
*) : |
| 15850 |
> |
|
| 15851 |
> |
as_fn_append CFLAGS " $flag" |
| 15852 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 15853 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 15854 |
> |
ac_status=$? |
| 15855 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15856 |
> |
test $ac_status = 0; } |
| 15857 |
> |
;; |
| 15858 |
> |
esac |
| 15859 |
> |
|
| 15860 |
> |
else $as_nop |
| 15861 |
> |
|
| 15862 |
> |
CFLAGS=$flag |
| 15863 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 15864 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 15865 |
> |
ac_status=$? |
| 15866 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15867 |
> |
test $ac_status = 0; } |
| 15868 |
> |
|
| 15869 |
|
fi |
| 15870 |
< |
rm -f core conftest.err conftest.$ac_objext \ |
| 15871 |
< |
conftest$ac_exeext conftest.$ac_ext |
| 15872 |
< |
LIBS=$ac_check_lib_save_LIBS |
| 15870 |
> |
|
| 15871 |
> |
else $as_nop |
| 15872 |
> |
: |
| 15873 |
|
fi |
| 15874 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5 |
| 15875 |
< |
$as_echo "$ac_cv_lib_ssl_SSL_connect" >&6; } |
| 15876 |
< |
if test "x$ac_cv_lib_ssl_SSL_connect" = xyes; then : |
| 15877 |
< |
cat >>confdefs.h <<_ACEOF |
| 15878 |
< |
#define HAVE_LIBSSL 1 |
| 15874 |
> |
|
| 15875 |
> |
done |
| 15876 |
> |
|
| 15877 |
> |
|
| 15878 |
> |
|
| 15879 |
> |
|
| 15880 |
> |
|
| 15881 |
> |
for flag in -Wempty-body; do |
| 15882 |
> |
as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 15883 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 15884 |
> |
printf %s "checking whether C compiler accepts $flag... " >&6; } |
| 15885 |
> |
if eval test \${$as_CACHEVAR+y} |
| 15886 |
> |
then : |
| 15887 |
> |
printf %s "(cached) " >&6 |
| 15888 |
> |
else $as_nop |
| 15889 |
> |
|
| 15890 |
> |
ax_check_save_flags=$CFLAGS |
| 15891 |
> |
CFLAGS="$CFLAGS $flag" |
| 15892 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 15893 |
> |
/* end confdefs.h. */ |
| 15894 |
> |
|
| 15895 |
> |
int |
| 15896 |
> |
main (void) |
| 15897 |
> |
{ |
| 15898 |
> |
|
| 15899 |
> |
; |
| 15900 |
> |
return 0; |
| 15901 |
> |
} |
| 15902 |
|
_ACEOF |
| 15903 |
+ |
if ac_fn_c_try_compile "$LINENO" |
| 15904 |
+ |
then : |
| 15905 |
+ |
eval "$as_CACHEVAR=yes" |
| 15906 |
+ |
else $as_nop |
| 15907 |
+ |
eval "$as_CACHEVAR=no" |
| 15908 |
+ |
fi |
| 15909 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 15910 |
+ |
CFLAGS=$ax_check_save_flags |
| 15911 |
+ |
fi |
| 15912 |
+ |
eval ac_res=\$$as_CACHEVAR |
| 15913 |
+ |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 15914 |
+ |
printf "%s\n" "$ac_res" >&6; } |
| 15915 |
+ |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes" |
| 15916 |
+ |
then : |
| 15917 |
+ |
|
| 15918 |
+ |
if test ${CFLAGS+y} |
| 15919 |
+ |
then : |
| 15920 |
+ |
|
| 15921 |
+ |
case " $CFLAGS " in #( |
| 15922 |
+ |
*" $flag "*) : |
| 15923 |
+ |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 15924 |
+ |
(: CFLAGS already contains $flag) 2>&5 |
| 15925 |
+ |
ac_status=$? |
| 15926 |
+ |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15927 |
+ |
test $ac_status = 0; } ;; #( |
| 15928 |
+ |
*) : |
| 15929 |
|
|
| 15930 |
< |
LIBS="-lssl $LIBS" |
| 15930 |
> |
as_fn_append CFLAGS " $flag" |
| 15931 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 15932 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 15933 |
> |
ac_status=$? |
| 15934 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15935 |
> |
test $ac_status = 0; } |
| 15936 |
> |
;; |
| 15937 |
> |
esac |
| 15938 |
> |
|
| 15939 |
> |
else $as_nop |
| 15940 |
> |
|
| 15941 |
> |
CFLAGS=$flag |
| 15942 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 15943 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 15944 |
> |
ac_status=$? |
| 15945 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15946 |
> |
test $ac_status = 0; } |
| 15947 |
|
|
| 15948 |
|
fi |
| 15949 |
|
|
| 15950 |
+ |
else $as_nop |
| 15951 |
+ |
: |
| 15952 |
|
fi |
| 15953 |
|
|
| 15954 |
< |
else |
| 15955 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no - OpenSSL support disabled" >&5 |
| 15956 |
< |
$as_echo "no - OpenSSL support disabled" >&6; } |
| 15957 |
< |
cf_enable_openssl="no" |
| 15954 |
> |
done |
| 15955 |
> |
|
| 15956 |
> |
|
| 15957 |
> |
|
| 15958 |
> |
|
| 15959 |
> |
|
| 15960 |
> |
for flag in -Wignored-qualifiers; do |
| 15961 |
> |
as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 15962 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 15963 |
> |
printf %s "checking whether C compiler accepts $flag... " >&6; } |
| 15964 |
> |
if eval test \${$as_CACHEVAR+y} |
| 15965 |
> |
then : |
| 15966 |
> |
printf %s "(cached) " >&6 |
| 15967 |
> |
else $as_nop |
| 15968 |
> |
|
| 15969 |
> |
ax_check_save_flags=$CFLAGS |
| 15970 |
> |
CFLAGS="$CFLAGS $flag" |
| 15971 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 15972 |
> |
/* end confdefs.h. */ |
| 15973 |
> |
|
| 15974 |
> |
int |
| 15975 |
> |
main (void) |
| 15976 |
> |
{ |
| 15977 |
> |
|
| 15978 |
> |
; |
| 15979 |
> |
return 0; |
| 15980 |
> |
} |
| 15981 |
> |
_ACEOF |
| 15982 |
> |
if ac_fn_c_try_compile "$LINENO" |
| 15983 |
> |
then : |
| 15984 |
> |
eval "$as_CACHEVAR=yes" |
| 15985 |
> |
else $as_nop |
| 15986 |
> |
eval "$as_CACHEVAR=no" |
| 15987 |
> |
fi |
| 15988 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 15989 |
> |
CFLAGS=$ax_check_save_flags |
| 15990 |
> |
fi |
| 15991 |
> |
eval ac_res=\$$as_CACHEVAR |
| 15992 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 15993 |
> |
printf "%s\n" "$ac_res" >&6; } |
| 15994 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes" |
| 15995 |
> |
then : |
| 15996 |
> |
|
| 15997 |
> |
if test ${CFLAGS+y} |
| 15998 |
> |
then : |
| 15999 |
> |
|
| 16000 |
> |
case " $CFLAGS " in #( |
| 16001 |
> |
*" $flag "*) : |
| 16002 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 16003 |
> |
(: CFLAGS already contains $flag) 2>&5 |
| 16004 |
> |
ac_status=$? |
| 16005 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 16006 |
> |
test $ac_status = 0; } ;; #( |
| 16007 |
> |
*) : |
| 16008 |
> |
|
| 16009 |
> |
as_fn_append CFLAGS " $flag" |
| 16010 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 16011 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 16012 |
> |
ac_status=$? |
| 16013 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 16014 |
> |
test $ac_status = 0; } |
| 16015 |
> |
;; |
| 16016 |
> |
esac |
| 16017 |
> |
|
| 16018 |
> |
else $as_nop |
| 16019 |
> |
|
| 16020 |
> |
CFLAGS=$flag |
| 16021 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 16022 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 16023 |
> |
ac_status=$? |
| 16024 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 16025 |
> |
test $ac_status = 0; } |
| 16026 |
> |
|
| 16027 |
|
fi |
| 16028 |
+ |
|
| 16029 |
+ |
else $as_nop |
| 16030 |
+ |
: |
| 16031 |
|
fi |
| 16032 |
|
|
| 16033 |
< |
if test "$ac_cv_lib_ssl_SSL_connect" = yes; then |
| 16034 |
< |
ENABLE_SSL_TRUE= |
| 16035 |
< |
ENABLE_SSL_FALSE='#' |
| 16036 |
< |
else |
| 16037 |
< |
ENABLE_SSL_TRUE='#' |
| 16038 |
< |
ENABLE_SSL_FALSE= |
| 16033 |
> |
done |
| 16034 |
> |
|
| 16035 |
> |
|
| 16036 |
> |
|
| 16037 |
> |
|
| 16038 |
> |
|
| 16039 |
> |
for flag in -Wlogical-op; do |
| 16040 |
> |
as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 16041 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 16042 |
> |
printf %s "checking whether C compiler accepts $flag... " >&6; } |
| 16043 |
> |
if eval test \${$as_CACHEVAR+y} |
| 16044 |
> |
then : |
| 16045 |
> |
printf %s "(cached) " >&6 |
| 16046 |
> |
else $as_nop |
| 16047 |
> |
|
| 16048 |
> |
ax_check_save_flags=$CFLAGS |
| 16049 |
> |
CFLAGS="$CFLAGS $flag" |
| 16050 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 16051 |
> |
/* end confdefs.h. */ |
| 16052 |
> |
|
| 16053 |
> |
int |
| 16054 |
> |
main (void) |
| 16055 |
> |
{ |
| 16056 |
> |
|
| 16057 |
> |
; |
| 16058 |
> |
return 0; |
| 16059 |
> |
} |
| 16060 |
> |
_ACEOF |
| 16061 |
> |
if ac_fn_c_try_compile "$LINENO" |
| 16062 |
> |
then : |
| 16063 |
> |
eval "$as_CACHEVAR=yes" |
| 16064 |
> |
else $as_nop |
| 16065 |
> |
eval "$as_CACHEVAR=no" |
| 16066 |
> |
fi |
| 16067 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 16068 |
> |
CFLAGS=$ax_check_save_flags |
| 16069 |
> |
fi |
| 16070 |
> |
eval ac_res=\$$as_CACHEVAR |
| 16071 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 16072 |
> |
printf "%s\n" "$ac_res" >&6; } |
| 16073 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes" |
| 16074 |
> |
then : |
| 16075 |
> |
|
| 16076 |
> |
if test ${CFLAGS+y} |
| 16077 |
> |
then : |
| 16078 |
> |
|
| 16079 |
> |
case " $CFLAGS " in #( |
| 16080 |
> |
*" $flag "*) : |
| 16081 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 16082 |
> |
(: CFLAGS already contains $flag) 2>&5 |
| 16083 |
> |
ac_status=$? |
| 16084 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 16085 |
> |
test $ac_status = 0; } ;; #( |
| 16086 |
> |
*) : |
| 16087 |
> |
|
| 16088 |
> |
as_fn_append CFLAGS " $flag" |
| 16089 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 16090 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 16091 |
> |
ac_status=$? |
| 16092 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 16093 |
> |
test $ac_status = 0; } |
| 16094 |
> |
;; |
| 16095 |
> |
esac |
| 16096 |
> |
|
| 16097 |
> |
else $as_nop |
| 16098 |
> |
|
| 16099 |
> |
CFLAGS=$flag |
| 16100 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 16101 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 16102 |
> |
ac_status=$? |
| 16103 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 16104 |
> |
test $ac_status = 0; } |
| 16105 |
> |
|
| 16106 |
|
fi |
| 16107 |
|
|
| 16108 |
+ |
else $as_nop |
| 16109 |
+ |
: |
| 16110 |
+ |
fi |
| 16111 |
|
|
| 16112 |
+ |
done |
| 16113 |
|
|
| 16114 |
< |
# Check whether --enable-assert was given. |
| 16115 |
< |
if test "${enable_assert+set}" = set; then : |
| 16116 |
< |
enableval=$enable_assert; assert=$enableval |
| 16117 |
< |
else |
| 16118 |
< |
assert=no |
| 16114 |
> |
|
| 16115 |
> |
|
| 16116 |
> |
|
| 16117 |
> |
|
| 16118 |
> |
for flag in -Wmissing-declarations; do |
| 16119 |
> |
as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 16120 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 16121 |
> |
printf %s "checking whether C compiler accepts $flag... " >&6; } |
| 16122 |
> |
if eval test \${$as_CACHEVAR+y} |
| 16123 |
> |
then : |
| 16124 |
> |
printf %s "(cached) " >&6 |
| 16125 |
> |
else $as_nop |
| 16126 |
> |
|
| 16127 |
> |
ax_check_save_flags=$CFLAGS |
| 16128 |
> |
CFLAGS="$CFLAGS $flag" |
| 16129 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 16130 |
> |
/* end confdefs.h. */ |
| 16131 |
> |
|
| 16132 |
> |
int |
| 16133 |
> |
main (void) |
| 16134 |
> |
{ |
| 16135 |
> |
|
| 16136 |
> |
; |
| 16137 |
> |
return 0; |
| 16138 |
> |
} |
| 16139 |
> |
_ACEOF |
| 16140 |
> |
if ac_fn_c_try_compile "$LINENO" |
| 16141 |
> |
then : |
| 16142 |
> |
eval "$as_CACHEVAR=yes" |
| 16143 |
> |
else $as_nop |
| 16144 |
> |
eval "$as_CACHEVAR=no" |
| 16145 |
> |
fi |
| 16146 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 16147 |
> |
CFLAGS=$ax_check_save_flags |
| 16148 |
> |
fi |
| 16149 |
> |
eval ac_res=\$$as_CACHEVAR |
| 16150 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 16151 |
> |
printf "%s\n" "$ac_res" >&6; } |
| 16152 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes" |
| 16153 |
> |
then : |
| 16154 |
> |
|
| 16155 |
> |
if test ${CFLAGS+y} |
| 16156 |
> |
then : |
| 16157 |
> |
|
| 16158 |
> |
case " $CFLAGS " in #( |
| 16159 |
> |
*" $flag "*) : |
| 16160 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 16161 |
> |
(: CFLAGS already contains $flag) 2>&5 |
| 16162 |
> |
ac_status=$? |
| 16163 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 16164 |
> |
test $ac_status = 0; } ;; #( |
| 16165 |
> |
*) : |
| 16166 |
> |
|
| 16167 |
> |
as_fn_append CFLAGS " $flag" |
| 16168 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 16169 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 16170 |
> |
ac_status=$? |
| 16171 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 16172 |
> |
test $ac_status = 0; } |
| 16173 |
> |
;; |
| 16174 |
> |
esac |
| 16175 |
> |
|
| 16176 |
> |
else $as_nop |
| 16177 |
> |
|
| 16178 |
> |
CFLAGS=$flag |
| 16179 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 16180 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 16181 |
> |
ac_status=$? |
| 16182 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 16183 |
> |
test $ac_status = 0; } |
| 16184 |
> |
|
| 16185 |
> |
fi |
| 16186 |
> |
|
| 16187 |
> |
else $as_nop |
| 16188 |
> |
: |
| 16189 |
|
fi |
| 16190 |
|
|
| 16191 |
+ |
done |
| 16192 |
+ |
|
| 16193 |
+ |
|
| 16194 |
+ |
|
| 16195 |
+ |
|
| 16196 |
+ |
|
| 16197 |
+ |
for flag in -Wmissing-field-initializers; do |
| 16198 |
+ |
as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 16199 |
+ |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 16200 |
+ |
printf %s "checking whether C compiler accepts $flag... " >&6; } |
| 16201 |
+ |
if eval test \${$as_CACHEVAR+y} |
| 16202 |
+ |
then : |
| 16203 |
+ |
printf %s "(cached) " >&6 |
| 16204 |
+ |
else $as_nop |
| 16205 |
+ |
|
| 16206 |
+ |
ax_check_save_flags=$CFLAGS |
| 16207 |
+ |
CFLAGS="$CFLAGS $flag" |
| 16208 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 16209 |
+ |
/* end confdefs.h. */ |
| 16210 |
+ |
|
| 16211 |
+ |
int |
| 16212 |
+ |
main (void) |
| 16213 |
+ |
{ |
| 16214 |
+ |
|
| 16215 |
+ |
; |
| 16216 |
+ |
return 0; |
| 16217 |
+ |
} |
| 16218 |
+ |
_ACEOF |
| 16219 |
+ |
if ac_fn_c_try_compile "$LINENO" |
| 16220 |
+ |
then : |
| 16221 |
+ |
eval "$as_CACHEVAR=yes" |
| 16222 |
+ |
else $as_nop |
| 16223 |
+ |
eval "$as_CACHEVAR=no" |
| 16224 |
+ |
fi |
| 16225 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 16226 |
+ |
CFLAGS=$ax_check_save_flags |
| 16227 |
+ |
fi |
| 16228 |
+ |
eval ac_res=\$$as_CACHEVAR |
| 16229 |
+ |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 16230 |
+ |
printf "%s\n" "$ac_res" >&6; } |
| 16231 |
+ |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes" |
| 16232 |
+ |
then : |
| 16233 |
+ |
|
| 16234 |
+ |
if test ${CFLAGS+y} |
| 16235 |
+ |
then : |
| 16236 |
+ |
|
| 16237 |
+ |
case " $CFLAGS " in #( |
| 16238 |
+ |
*" $flag "*) : |
| 16239 |
+ |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 16240 |
+ |
(: CFLAGS already contains $flag) 2>&5 |
| 16241 |
+ |
ac_status=$? |
| 16242 |
+ |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 16243 |
+ |
test $ac_status = 0; } ;; #( |
| 16244 |
+ |
*) : |
| 16245 |
|
|
| 16246 |
< |
if test "$assert" = "no"; then : |
| 16246 |
> |
as_fn_append CFLAGS " $flag" |
| 16247 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 16248 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 16249 |
> |
ac_status=$? |
| 16250 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 16251 |
> |
test $ac_status = 0; } |
| 16252 |
> |
;; |
| 16253 |
> |
esac |
| 16254 |
|
|
| 16255 |
< |
$as_echo "#define NDEBUG 1" >>confdefs.h |
| 16255 |
> |
else $as_nop |
| 16256 |
> |
|
| 16257 |
> |
CFLAGS=$flag |
| 16258 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 16259 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 16260 |
> |
ac_status=$? |
| 16261 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 16262 |
> |
test $ac_status = 0; } |
| 16263 |
|
|
| 16264 |
|
fi |
| 16265 |
|
|
| 16266 |
+ |
else $as_nop |
| 16267 |
+ |
: |
| 16268 |
+ |
fi |
| 16269 |
|
|
| 16270 |
< |
$as_echo "#define NICKNAMEHISTORYLENGTH 32768" >>confdefs.h |
| 16270 |
> |
done |
| 16271 |
|
|
| 16272 |
|
|
| 14096 |
– |
$as_echo "#define MP_CHUNK_SIZE_CHANNEL 1024*1024" >>confdefs.h |
| 16273 |
|
|
| 16274 |
|
|
| 14099 |
– |
$as_echo "#define MP_CHUNK_SIZE_MEMBER 2048*1024" >>confdefs.h |
| 16275 |
|
|
| 16276 |
+ |
for flag in -Wmissing-include-dirs; do |
| 16277 |
+ |
as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 16278 |
+ |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 16279 |
+ |
printf %s "checking whether C compiler accepts $flag... " >&6; } |
| 16280 |
+ |
if eval test \${$as_CACHEVAR+y} |
| 16281 |
+ |
then : |
| 16282 |
+ |
printf %s "(cached) " >&6 |
| 16283 |
+ |
else $as_nop |
| 16284 |
|
|
| 16285 |
< |
$as_echo "#define MP_CHUNK_SIZE_BAN 1024*1024" >>confdefs.h |
| 16285 |
> |
ax_check_save_flags=$CFLAGS |
| 16286 |
> |
CFLAGS="$CFLAGS $flag" |
| 16287 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 16288 |
> |
/* end confdefs.h. */ |
| 16289 |
|
|
| 16290 |
+ |
int |
| 16291 |
+ |
main (void) |
| 16292 |
+ |
{ |
| 16293 |
|
|
| 16294 |
< |
$as_echo "#define MP_CHUNK_SIZE_CLIENT 1024*1024" >>confdefs.h |
| 16294 |
> |
; |
| 16295 |
> |
return 0; |
| 16296 |
> |
} |
| 16297 |
> |
_ACEOF |
| 16298 |
> |
if ac_fn_c_try_compile "$LINENO" |
| 16299 |
> |
then : |
| 16300 |
> |
eval "$as_CACHEVAR=yes" |
| 16301 |
> |
else $as_nop |
| 16302 |
> |
eval "$as_CACHEVAR=no" |
| 16303 |
> |
fi |
| 16304 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 16305 |
> |
CFLAGS=$ax_check_save_flags |
| 16306 |
> |
fi |
| 16307 |
> |
eval ac_res=\$$as_CACHEVAR |
| 16308 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 16309 |
> |
printf "%s\n" "$ac_res" >&6; } |
| 16310 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes" |
| 16311 |
> |
then : |
| 16312 |
> |
|
| 16313 |
> |
if test ${CFLAGS+y} |
| 16314 |
> |
then : |
| 16315 |
> |
|
| 16316 |
> |
case " $CFLAGS " in #( |
| 16317 |
> |
*" $flag "*) : |
| 16318 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 16319 |
> |
(: CFLAGS already contains $flag) 2>&5 |
| 16320 |
> |
ac_status=$? |
| 16321 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 16322 |
> |
test $ac_status = 0; } ;; #( |
| 16323 |
> |
*) : |
| 16324 |
|
|
| 16325 |
+ |
as_fn_append CFLAGS " $flag" |
| 16326 |
+ |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 16327 |
+ |
(: CFLAGS="$CFLAGS") 2>&5 |
| 16328 |
+ |
ac_status=$? |
| 16329 |
+ |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 16330 |
+ |
test $ac_status = 0; } |
| 16331 |
+ |
;; |
| 16332 |
+ |
esac |
| 16333 |
|
|
| 16334 |
< |
$as_echo "#define MP_CHUNK_SIZE_LCLIENT 512*1024" >>confdefs.h |
| 16334 |
> |
else $as_nop |
| 16335 |
|
|
| 16336 |
+ |
CFLAGS=$flag |
| 16337 |
+ |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 16338 |
+ |
(: CFLAGS="$CFLAGS") 2>&5 |
| 16339 |
+ |
ac_status=$? |
| 16340 |
+ |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 16341 |
+ |
test $ac_status = 0; } |
| 16342 |
|
|
| 16343 |
< |
$as_echo "#define MP_CHUNK_SIZE_DNODE 32*1024" >>confdefs.h |
| 16343 |
> |
fi |
| 16344 |
|
|
| 16345 |
+ |
else $as_nop |
| 16346 |
+ |
: |
| 16347 |
+ |
fi |
| 16348 |
|
|
| 16349 |
< |
$as_echo "#define MP_CHUNK_SIZE_DBUF 512*1024" >>confdefs.h |
| 16349 |
> |
done |
| 16350 |
|
|
| 16351 |
|
|
| 14117 |
– |
$as_echo "#define MP_CHUNK_SIZE_AUTH 128*1024" >>confdefs.h |
| 16352 |
|
|
| 16353 |
|
|
| 14120 |
– |
$as_echo "#define MP_CHUNK_SIZE_DNS 64*1024" >>confdefs.h |
| 16354 |
|
|
| 16355 |
+ |
for flag in -Wmissing-parameter-type; do |
| 16356 |
+ |
as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 16357 |
+ |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 16358 |
+ |
printf %s "checking whether C compiler accepts $flag... " >&6; } |
| 16359 |
+ |
if eval test \${$as_CACHEVAR+y} |
| 16360 |
+ |
then : |
| 16361 |
+ |
printf %s "(cached) " >&6 |
| 16362 |
+ |
else $as_nop |
| 16363 |
|
|
| 16364 |
< |
$as_echo "#define MP_CHUNK_SIZE_WATCH 8*1024" >>confdefs.h |
| 16364 |
> |
ax_check_save_flags=$CFLAGS |
| 16365 |
> |
CFLAGS="$CFLAGS $flag" |
| 16366 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 16367 |
> |
/* end confdefs.h. */ |
| 16368 |
> |
|
| 16369 |
> |
int |
| 16370 |
> |
main (void) |
| 16371 |
> |
{ |
| 16372 |
> |
|
| 16373 |
> |
; |
| 16374 |
> |
return 0; |
| 16375 |
> |
} |
| 16376 |
> |
_ACEOF |
| 16377 |
> |
if ac_fn_c_try_compile "$LINENO" |
| 16378 |
> |
then : |
| 16379 |
> |
eval "$as_CACHEVAR=yes" |
| 16380 |
> |
else $as_nop |
| 16381 |
> |
eval "$as_CACHEVAR=no" |
| 16382 |
> |
fi |
| 16383 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 16384 |
> |
CFLAGS=$ax_check_save_flags |
| 16385 |
> |
fi |
| 16386 |
> |
eval ac_res=\$$as_CACHEVAR |
| 16387 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 16388 |
> |
printf "%s\n" "$ac_res" >&6; } |
| 16389 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes" |
| 16390 |
> |
then : |
| 16391 |
> |
|
| 16392 |
> |
if test ${CFLAGS+y} |
| 16393 |
> |
then : |
| 16394 |
> |
|
| 16395 |
> |
case " $CFLAGS " in #( |
| 16396 |
> |
*" $flag "*) : |
| 16397 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 16398 |
> |
(: CFLAGS already contains $flag) 2>&5 |
| 16399 |
> |
ac_status=$? |
| 16400 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 16401 |
> |
test $ac_status = 0; } ;; #( |
| 16402 |
> |
*) : |
| 16403 |
|
|
| 16404 |
+ |
as_fn_append CFLAGS " $flag" |
| 16405 |
+ |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 16406 |
+ |
(: CFLAGS="$CFLAGS") 2>&5 |
| 16407 |
+ |
ac_status=$? |
| 16408 |
+ |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 16409 |
+ |
test $ac_status = 0; } |
| 16410 |
+ |
;; |
| 16411 |
+ |
esac |
| 16412 |
|
|
| 16413 |
< |
$as_echo "#define MP_CHUNK_SIZE_NAMEHOST 64*1024" >>confdefs.h |
| 16413 |
> |
else $as_nop |
| 16414 |
|
|
| 16415 |
+ |
CFLAGS=$flag |
| 16416 |
+ |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 16417 |
+ |
(: CFLAGS="$CFLAGS") 2>&5 |
| 16418 |
+ |
ac_status=$? |
| 16419 |
+ |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 16420 |
+ |
test $ac_status = 0; } |
| 16421 |
|
|
| 16422 |
< |
$as_echo "#define MP_CHUNK_SIZE_USERHOST 128*1024" >>confdefs.h |
| 16422 |
> |
fi |
| 16423 |
|
|
| 16424 |
+ |
else $as_nop |
| 16425 |
+ |
: |
| 16426 |
+ |
fi |
| 16427 |
+ |
|
| 16428 |
+ |
done |
| 16429 |
|
|
| 14132 |
– |
$as_echo "#define MP_CHUNK_SIZE_IP_ENTRY 128*1024" >>confdefs.h |
| 16430 |
|
|
| 16431 |
|
|
| 14135 |
– |
# Argument processing. |
| 16432 |
|
|
| 16433 |
< |
desired_iopoll_mechanism="none" |
| 16434 |
< |
# Check whether --enable-kqueue was given. |
| 16435 |
< |
if test "${enable_kqueue+set}" = set; then : |
| 16436 |
< |
enableval=$enable_kqueue; desired_iopoll_mechanism="kqueue" |
| 16433 |
> |
|
| 16434 |
> |
for flag in -Wmissing-prototypes; do |
| 16435 |
> |
as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 16436 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 16437 |
> |
printf %s "checking whether C compiler accepts $flag... " >&6; } |
| 16438 |
> |
if eval test \${$as_CACHEVAR+y} |
| 16439 |
> |
then : |
| 16440 |
> |
printf %s "(cached) " >&6 |
| 16441 |
> |
else $as_nop |
| 16442 |
> |
|
| 16443 |
> |
ax_check_save_flags=$CFLAGS |
| 16444 |
> |
CFLAGS="$CFLAGS $flag" |
| 16445 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 16446 |
> |
/* end confdefs.h. */ |
| 16447 |
> |
|
| 16448 |
> |
int |
| 16449 |
> |
main (void) |
| 16450 |
> |
{ |
| 16451 |
> |
|
| 16452 |
> |
; |
| 16453 |
> |
return 0; |
| 16454 |
> |
} |
| 16455 |
> |
_ACEOF |
| 16456 |
> |
if ac_fn_c_try_compile "$LINENO" |
| 16457 |
> |
then : |
| 16458 |
> |
eval "$as_CACHEVAR=yes" |
| 16459 |
> |
else $as_nop |
| 16460 |
> |
eval "$as_CACHEVAR=no" |
| 16461 |
> |
fi |
| 16462 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 16463 |
> |
CFLAGS=$ax_check_save_flags |
| 16464 |
> |
fi |
| 16465 |
> |
eval ac_res=\$$as_CACHEVAR |
| 16466 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 16467 |
> |
printf "%s\n" "$ac_res" >&6; } |
| 16468 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes" |
| 16469 |
> |
then : |
| 16470 |
> |
|
| 16471 |
> |
if test ${CFLAGS+y} |
| 16472 |
> |
then : |
| 16473 |
> |
|
| 16474 |
> |
case " $CFLAGS " in #( |
| 16475 |
> |
*" $flag "*) : |
| 16476 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 16477 |
> |
(: CFLAGS already contains $flag) 2>&5 |
| 16478 |
> |
ac_status=$? |
| 16479 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 16480 |
> |
test $ac_status = 0; } ;; #( |
| 16481 |
> |
*) : |
| 16482 |
> |
|
| 16483 |
> |
as_fn_append CFLAGS " $flag" |
| 16484 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 16485 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 16486 |
> |
ac_status=$? |
| 16487 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 16488 |
> |
test $ac_status = 0; } |
| 16489 |
> |
;; |
| 16490 |
> |
esac |
| 16491 |
> |
|
| 16492 |
> |
else $as_nop |
| 16493 |
> |
|
| 16494 |
> |
CFLAGS=$flag |
| 16495 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 16496 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 16497 |
> |
ac_status=$? |
| 16498 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 16499 |
> |
test $ac_status = 0; } |
| 16500 |
> |
|
| 16501 |
|
fi |
| 16502 |
|
|
| 16503 |
< |
# Check whether --enable-epoll was given. |
| 16504 |
< |
if test "${enable_epoll+set}" = set; then : |
| 14145 |
< |
enableval=$enable_epoll; desired_iopoll_mechanism="epoll" |
| 16503 |
> |
else $as_nop |
| 16504 |
> |
: |
| 16505 |
|
fi |
| 16506 |
|
|
| 16507 |
< |
# Check whether --enable-devpoll was given. |
| 16508 |
< |
if test "${enable_devpoll+set}" = set; then : |
| 16509 |
< |
enableval=$enable_devpoll; desired_iopoll_mechanism="devpoll" |
| 16507 |
> |
done |
| 16508 |
> |
|
| 16509 |
> |
|
| 16510 |
> |
|
| 16511 |
> |
|
| 16512 |
> |
|
| 16513 |
> |
for flag in -Wnested-externs; do |
| 16514 |
> |
as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 16515 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 16516 |
> |
printf %s "checking whether C compiler accepts $flag... " >&6; } |
| 16517 |
> |
if eval test \${$as_CACHEVAR+y} |
| 16518 |
> |
then : |
| 16519 |
> |
printf %s "(cached) " >&6 |
| 16520 |
> |
else $as_nop |
| 16521 |
> |
|
| 16522 |
> |
ax_check_save_flags=$CFLAGS |
| 16523 |
> |
CFLAGS="$CFLAGS $flag" |
| 16524 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 16525 |
> |
/* end confdefs.h. */ |
| 16526 |
> |
|
| 16527 |
> |
int |
| 16528 |
> |
main (void) |
| 16529 |
> |
{ |
| 16530 |
> |
|
| 16531 |
> |
; |
| 16532 |
> |
return 0; |
| 16533 |
> |
} |
| 16534 |
> |
_ACEOF |
| 16535 |
> |
if ac_fn_c_try_compile "$LINENO" |
| 16536 |
> |
then : |
| 16537 |
> |
eval "$as_CACHEVAR=yes" |
| 16538 |
> |
else $as_nop |
| 16539 |
> |
eval "$as_CACHEVAR=no" |
| 16540 |
> |
fi |
| 16541 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 16542 |
> |
CFLAGS=$ax_check_save_flags |
| 16543 |
> |
fi |
| 16544 |
> |
eval ac_res=\$$as_CACHEVAR |
| 16545 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 16546 |
> |
printf "%s\n" "$ac_res" >&6; } |
| 16547 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes" |
| 16548 |
> |
then : |
| 16549 |
> |
|
| 16550 |
> |
if test ${CFLAGS+y} |
| 16551 |
> |
then : |
| 16552 |
> |
|
| 16553 |
> |
case " $CFLAGS " in #( |
| 16554 |
> |
*" $flag "*) : |
| 16555 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 16556 |
> |
(: CFLAGS already contains $flag) 2>&5 |
| 16557 |
> |
ac_status=$? |
| 16558 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 16559 |
> |
test $ac_status = 0; } ;; #( |
| 16560 |
> |
*) : |
| 16561 |
> |
|
| 16562 |
> |
as_fn_append CFLAGS " $flag" |
| 16563 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 16564 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 16565 |
> |
ac_status=$? |
| 16566 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 16567 |
> |
test $ac_status = 0; } |
| 16568 |
> |
;; |
| 16569 |
> |
esac |
| 16570 |
> |
|
| 16571 |
> |
else $as_nop |
| 16572 |
> |
|
| 16573 |
> |
CFLAGS=$flag |
| 16574 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 16575 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 16576 |
> |
ac_status=$? |
| 16577 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 16578 |
> |
test $ac_status = 0; } |
| 16579 |
> |
|
| 16580 |
|
fi |
| 16581 |
|
|
| 16582 |
< |
# Check whether --enable-poll was given. |
| 16583 |
< |
if test "${enable_poll+set}" = set; then : |
| 16584 |
< |
enableval=$enable_poll; desired_iopoll_mechanism="poll" |
| 16582 |
> |
else $as_nop |
| 16583 |
> |
: |
| 16584 |
> |
fi |
| 16585 |
> |
|
| 16586 |
> |
done |
| 16587 |
> |
|
| 16588 |
> |
|
| 16589 |
> |
|
| 16590 |
> |
|
| 16591 |
> |
|
| 16592 |
> |
for flag in -Wold-style-declaration; do |
| 16593 |
> |
as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 16594 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 16595 |
> |
printf %s "checking whether C compiler accepts $flag... " >&6; } |
| 16596 |
> |
if eval test \${$as_CACHEVAR+y} |
| 16597 |
> |
then : |
| 16598 |
> |
printf %s "(cached) " >&6 |
| 16599 |
> |
else $as_nop |
| 16600 |
> |
|
| 16601 |
> |
ax_check_save_flags=$CFLAGS |
| 16602 |
> |
CFLAGS="$CFLAGS $flag" |
| 16603 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 16604 |
> |
/* end confdefs.h. */ |
| 16605 |
> |
|
| 16606 |
> |
int |
| 16607 |
> |
main (void) |
| 16608 |
> |
{ |
| 16609 |
> |
|
| 16610 |
> |
; |
| 16611 |
> |
return 0; |
| 16612 |
> |
} |
| 16613 |
> |
_ACEOF |
| 16614 |
> |
if ac_fn_c_try_compile "$LINENO" |
| 16615 |
> |
then : |
| 16616 |
> |
eval "$as_CACHEVAR=yes" |
| 16617 |
> |
else $as_nop |
| 16618 |
> |
eval "$as_CACHEVAR=no" |
| 16619 |
> |
fi |
| 16620 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 16621 |
> |
CFLAGS=$ax_check_save_flags |
| 16622 |
> |
fi |
| 16623 |
> |
eval ac_res=\$$as_CACHEVAR |
| 16624 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 16625 |
> |
printf "%s\n" "$ac_res" >&6; } |
| 16626 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes" |
| 16627 |
> |
then : |
| 16628 |
> |
|
| 16629 |
> |
if test ${CFLAGS+y} |
| 16630 |
> |
then : |
| 16631 |
> |
|
| 16632 |
> |
case " $CFLAGS " in #( |
| 16633 |
> |
*" $flag "*) : |
| 16634 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 16635 |
> |
(: CFLAGS already contains $flag) 2>&5 |
| 16636 |
> |
ac_status=$? |
| 16637 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 16638 |
> |
test $ac_status = 0; } ;; #( |
| 16639 |
> |
*) : |
| 16640 |
> |
|
| 16641 |
> |
as_fn_append CFLAGS " $flag" |
| 16642 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 16643 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 16644 |
> |
ac_status=$? |
| 16645 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 16646 |
> |
test $ac_status = 0; } |
| 16647 |
> |
;; |
| 16648 |
> |
esac |
| 16649 |
> |
|
| 16650 |
> |
else $as_nop |
| 16651 |
> |
|
| 16652 |
> |
CFLAGS=$flag |
| 16653 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 16654 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 16655 |
> |
ac_status=$? |
| 16656 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 16657 |
> |
test $ac_status = 0; } |
| 16658 |
> |
|
| 16659 |
|
fi |
| 16660 |
|
|
| 16661 |
< |
# Check whether --enable-select was given. |
| 16662 |
< |
if test "${enable_select+set}" = set; then : |
| 14160 |
< |
enableval=$enable_select; desired_iopoll_mechanism="select" |
| 16661 |
> |
else $as_nop |
| 16662 |
> |
: |
| 16663 |
|
fi |
| 16664 |
|
|
| 16665 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for optimal/desired iopoll mechanism" >&5 |
| 16666 |
< |
$as_echo_n "checking for optimal/desired iopoll mechanism... " >&6; } |
| 16667 |
< |
iopoll_mechanism_none=0 |
| 16665 |
> |
done |
| 16666 |
> |
|
| 16667 |
> |
|
| 16668 |
> |
|
| 16669 |
> |
|
| 16670 |
> |
|
| 16671 |
> |
for flag in -Woverride-init; do |
| 16672 |
> |
as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 16673 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 16674 |
> |
printf %s "checking whether C compiler accepts $flag... " >&6; } |
| 16675 |
> |
if eval test \${$as_CACHEVAR+y} |
| 16676 |
> |
then : |
| 16677 |
> |
printf %s "(cached) " >&6 |
| 16678 |
> |
else $as_nop |
| 16679 |
> |
|
| 16680 |
> |
ax_check_save_flags=$CFLAGS |
| 16681 |
> |
CFLAGS="$CFLAGS $flag" |
| 16682 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 16683 |
> |
/* end confdefs.h. */ |
| 16684 |
|
|
| 16685 |
< |
cat >>confdefs.h <<_ACEOF |
| 16686 |
< |
#define __IOPOLL_MECHANISM_NONE $iopoll_mechanism_none |
| 16685 |
> |
int |
| 16686 |
> |
main (void) |
| 16687 |
> |
{ |
| 16688 |
> |
|
| 16689 |
> |
; |
| 16690 |
> |
return 0; |
| 16691 |
> |
} |
| 16692 |
|
_ACEOF |
| 16693 |
+ |
if ac_fn_c_try_compile "$LINENO" |
| 16694 |
+ |
then : |
| 16695 |
+ |
eval "$as_CACHEVAR=yes" |
| 16696 |
+ |
else $as_nop |
| 16697 |
+ |
eval "$as_CACHEVAR=no" |
| 16698 |
+ |
fi |
| 16699 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 16700 |
+ |
CFLAGS=$ax_check_save_flags |
| 16701 |
+ |
fi |
| 16702 |
+ |
eval ac_res=\$$as_CACHEVAR |
| 16703 |
+ |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 16704 |
+ |
printf "%s\n" "$ac_res" >&6; } |
| 16705 |
+ |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes" |
| 16706 |
+ |
then : |
| 16707 |
+ |
|
| 16708 |
+ |
if test ${CFLAGS+y} |
| 16709 |
+ |
then : |
| 16710 |
+ |
|
| 16711 |
+ |
case " $CFLAGS " in #( |
| 16712 |
+ |
*" $flag "*) : |
| 16713 |
+ |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 16714 |
+ |
(: CFLAGS already contains $flag) 2>&5 |
| 16715 |
+ |
ac_status=$? |
| 16716 |
+ |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 16717 |
+ |
test $ac_status = 0; } ;; #( |
| 16718 |
+ |
*) : |
| 16719 |
+ |
|
| 16720 |
+ |
as_fn_append CFLAGS " $flag" |
| 16721 |
+ |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 16722 |
+ |
(: CFLAGS="$CFLAGS") 2>&5 |
| 16723 |
+ |
ac_status=$? |
| 16724 |
+ |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 16725 |
+ |
test $ac_status = 0; } |
| 16726 |
+ |
;; |
| 16727 |
+ |
esac |
| 16728 |
+ |
|
| 16729 |
+ |
else $as_nop |
| 16730 |
+ |
|
| 16731 |
+ |
CFLAGS=$flag |
| 16732 |
+ |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 16733 |
+ |
(: CFLAGS="$CFLAGS") 2>&5 |
| 16734 |
+ |
ac_status=$? |
| 16735 |
+ |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 16736 |
+ |
test $ac_status = 0; } |
| 16737 |
+ |
|
| 16738 |
+ |
fi |
| 16739 |
+ |
|
| 16740 |
+ |
else $as_nop |
| 16741 |
+ |
: |
| 16742 |
+ |
fi |
| 16743 |
+ |
|
| 16744 |
+ |
done |
| 16745 |
+ |
|
| 16746 |
|
|
| 14171 |
– |
iopoll_mechanism_kqueue=1 |
| 16747 |
|
|
| 16748 |
< |
cat >>confdefs.h <<_ACEOF |
| 16749 |
< |
#define __IOPOLL_MECHANISM_KQUEUE $iopoll_mechanism_kqueue |
| 16748 |
> |
|
| 16749 |
> |
|
| 16750 |
> |
for flag in -Wpointer-arith; do |
| 16751 |
> |
as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 16752 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 16753 |
> |
printf %s "checking whether C compiler accepts $flag... " >&6; } |
| 16754 |
> |
if eval test \${$as_CACHEVAR+y} |
| 16755 |
> |
then : |
| 16756 |
> |
printf %s "(cached) " >&6 |
| 16757 |
> |
else $as_nop |
| 16758 |
> |
|
| 16759 |
> |
ax_check_save_flags=$CFLAGS |
| 16760 |
> |
CFLAGS="$CFLAGS $flag" |
| 16761 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 16762 |
> |
/* end confdefs.h. */ |
| 16763 |
> |
|
| 16764 |
> |
int |
| 16765 |
> |
main (void) |
| 16766 |
> |
{ |
| 16767 |
> |
|
| 16768 |
> |
; |
| 16769 |
> |
return 0; |
| 16770 |
> |
} |
| 16771 |
|
_ACEOF |
| 16772 |
+ |
if ac_fn_c_try_compile "$LINENO" |
| 16773 |
+ |
then : |
| 16774 |
+ |
eval "$as_CACHEVAR=yes" |
| 16775 |
+ |
else $as_nop |
| 16776 |
+ |
eval "$as_CACHEVAR=no" |
| 16777 |
+ |
fi |
| 16778 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 16779 |
+ |
CFLAGS=$ax_check_save_flags |
| 16780 |
+ |
fi |
| 16781 |
+ |
eval ac_res=\$$as_CACHEVAR |
| 16782 |
+ |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 16783 |
+ |
printf "%s\n" "$ac_res" >&6; } |
| 16784 |
+ |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes" |
| 16785 |
+ |
then : |
| 16786 |
+ |
|
| 16787 |
+ |
if test ${CFLAGS+y} |
| 16788 |
+ |
then : |
| 16789 |
+ |
|
| 16790 |
+ |
case " $CFLAGS " in #( |
| 16791 |
+ |
*" $flag "*) : |
| 16792 |
+ |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 16793 |
+ |
(: CFLAGS already contains $flag) 2>&5 |
| 16794 |
+ |
ac_status=$? |
| 16795 |
+ |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 16796 |
+ |
test $ac_status = 0; } ;; #( |
| 16797 |
+ |
*) : |
| 16798 |
+ |
|
| 16799 |
+ |
as_fn_append CFLAGS " $flag" |
| 16800 |
+ |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 16801 |
+ |
(: CFLAGS="$CFLAGS") 2>&5 |
| 16802 |
+ |
ac_status=$? |
| 16803 |
+ |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 16804 |
+ |
test $ac_status = 0; } |
| 16805 |
+ |
;; |
| 16806 |
+ |
esac |
| 16807 |
+ |
|
| 16808 |
+ |
else $as_nop |
| 16809 |
+ |
|
| 16810 |
+ |
CFLAGS=$flag |
| 16811 |
+ |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 16812 |
+ |
(: CFLAGS="$CFLAGS") 2>&5 |
| 16813 |
+ |
ac_status=$? |
| 16814 |
+ |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 16815 |
+ |
test $ac_status = 0; } |
| 16816 |
+ |
|
| 16817 |
+ |
fi |
| 16818 |
|
|
| 16819 |
+ |
else $as_nop |
| 16820 |
+ |
: |
| 16821 |
+ |
fi |
| 16822 |
+ |
|
| 16823 |
+ |
done |
| 16824 |
+ |
|
| 16825 |
+ |
|
| 16826 |
+ |
|
| 16827 |
+ |
|
| 16828 |
+ |
|
| 16829 |
+ |
for flag in -Wredundant-decls; do |
| 16830 |
+ |
as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 16831 |
+ |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 16832 |
+ |
printf %s "checking whether C compiler accepts $flag... " >&6; } |
| 16833 |
+ |
if eval test \${$as_CACHEVAR+y} |
| 16834 |
+ |
then : |
| 16835 |
+ |
printf %s "(cached) " >&6 |
| 16836 |
+ |
else $as_nop |
| 16837 |
+ |
|
| 16838 |
+ |
ax_check_save_flags=$CFLAGS |
| 16839 |
+ |
CFLAGS="$CFLAGS $flag" |
| 16840 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 16841 |
|
/* end confdefs.h. */ |
| 14179 |
– |
/* Define kevent to an innocuous variant, in case <limits.h> declares kevent. |
| 14180 |
– |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
| 14181 |
– |
#define kevent innocuous_kevent |
| 16842 |
|
|
| 16843 |
< |
/* System header to define __stub macros and hopefully few prototypes, |
| 16844 |
< |
which can conflict with char kevent (); below. |
| 16845 |
< |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 14186 |
< |
<limits.h> exists even on freestanding compilers. */ |
| 16843 |
> |
int |
| 16844 |
> |
main (void) |
| 16845 |
> |
{ |
| 16846 |
|
|
| 16847 |
< |
#ifdef __STDC__ |
| 16848 |
< |
# include <limits.h> |
| 16849 |
< |
#else |
| 16850 |
< |
# include <assert.h> |
| 16851 |
< |
#endif |
| 16847 |
> |
; |
| 16848 |
> |
return 0; |
| 16849 |
> |
} |
| 16850 |
> |
_ACEOF |
| 16851 |
> |
if ac_fn_c_try_compile "$LINENO" |
| 16852 |
> |
then : |
| 16853 |
> |
eval "$as_CACHEVAR=yes" |
| 16854 |
> |
else $as_nop |
| 16855 |
> |
eval "$as_CACHEVAR=no" |
| 16856 |
> |
fi |
| 16857 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 16858 |
> |
CFLAGS=$ax_check_save_flags |
| 16859 |
> |
fi |
| 16860 |
> |
eval ac_res=\$$as_CACHEVAR |
| 16861 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 16862 |
> |
printf "%s\n" "$ac_res" >&6; } |
| 16863 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes" |
| 16864 |
> |
then : |
| 16865 |
> |
|
| 16866 |
> |
if test ${CFLAGS+y} |
| 16867 |
> |
then : |
| 16868 |
> |
|
| 16869 |
> |
case " $CFLAGS " in #( |
| 16870 |
> |
*" $flag "*) : |
| 16871 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 16872 |
> |
(: CFLAGS already contains $flag) 2>&5 |
| 16873 |
> |
ac_status=$? |
| 16874 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 16875 |
> |
test $ac_status = 0; } ;; #( |
| 16876 |
> |
*) : |
| 16877 |
|
|
| 16878 |
< |
#undef kevent |
| 16878 |
> |
as_fn_append CFLAGS " $flag" |
| 16879 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 16880 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 16881 |
> |
ac_status=$? |
| 16882 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 16883 |
> |
test $ac_status = 0; } |
| 16884 |
> |
;; |
| 16885 |
> |
esac |
| 16886 |
|
|
| 16887 |
< |
/* Override any GCC internal prototype to avoid an error. |
| 16888 |
< |
Use char because int might match the return type of a GCC |
| 16889 |
< |
builtin and then its argument prototype would still apply. */ |
| 16890 |
< |
#ifdef __cplusplus |
| 16891 |
< |
extern "C" |
| 16892 |
< |
#endif |
| 16893 |
< |
char kevent (); |
| 16894 |
< |
/* The GNU C library defines this for functions which it implements |
| 16895 |
< |
to always fail with ENOSYS. Some functions are actually named |
| 16896 |
< |
something starting with __ and the normal name is an alias. */ |
| 16897 |
< |
#if defined __stub_kevent || defined __stub___kevent |
| 16898 |
< |
choke me |
| 16899 |
< |
#endif |
| 16887 |
> |
else $as_nop |
| 16888 |
> |
|
| 16889 |
> |
CFLAGS=$flag |
| 16890 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 16891 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 16892 |
> |
ac_status=$? |
| 16893 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 16894 |
> |
test $ac_status = 0; } |
| 16895 |
> |
|
| 16896 |
> |
fi |
| 16897 |
> |
|
| 16898 |
> |
else $as_nop |
| 16899 |
> |
: |
| 16900 |
> |
fi |
| 16901 |
> |
|
| 16902 |
> |
done |
| 16903 |
> |
|
| 16904 |
> |
|
| 16905 |
> |
|
| 16906 |
> |
|
| 16907 |
> |
|
| 16908 |
> |
for flag in -Wshadow; do |
| 16909 |
> |
as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 16910 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 16911 |
> |
printf %s "checking whether C compiler accepts $flag... " >&6; } |
| 16912 |
> |
if eval test \${$as_CACHEVAR+y} |
| 16913 |
> |
then : |
| 16914 |
> |
printf %s "(cached) " >&6 |
| 16915 |
> |
else $as_nop |
| 16916 |
> |
|
| 16917 |
> |
ax_check_save_flags=$CFLAGS |
| 16918 |
> |
CFLAGS="$CFLAGS $flag" |
| 16919 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 16920 |
> |
/* end confdefs.h. */ |
| 16921 |
|
|
| 16922 |
|
int |
| 16923 |
< |
main () |
| 16923 |
> |
main (void) |
| 16924 |
|
{ |
| 16925 |
< |
return kevent (); |
| 16925 |
> |
|
| 16926 |
|
; |
| 16927 |
|
return 0; |
| 16928 |
|
} |
| 16929 |
|
_ACEOF |
| 16930 |
< |
if ac_fn_c_try_link "$LINENO"; then : |
| 16931 |
< |
is_kqueue_mechanism_available="yes" |
| 16932 |
< |
else |
| 16933 |
< |
is_kqueue_mechanism_available="no" |
| 16930 |
> |
if ac_fn_c_try_compile "$LINENO" |
| 16931 |
> |
then : |
| 16932 |
> |
eval "$as_CACHEVAR=yes" |
| 16933 |
> |
else $as_nop |
| 16934 |
> |
eval "$as_CACHEVAR=no" |
| 16935 |
> |
fi |
| 16936 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 16937 |
> |
CFLAGS=$ax_check_save_flags |
| 16938 |
> |
fi |
| 16939 |
> |
eval ac_res=\$$as_CACHEVAR |
| 16940 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 16941 |
> |
printf "%s\n" "$ac_res" >&6; } |
| 16942 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes" |
| 16943 |
> |
then : |
| 16944 |
> |
|
| 16945 |
> |
if test ${CFLAGS+y} |
| 16946 |
> |
then : |
| 16947 |
> |
|
| 16948 |
> |
case " $CFLAGS " in #( |
| 16949 |
> |
*" $flag "*) : |
| 16950 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 16951 |
> |
(: CFLAGS already contains $flag) 2>&5 |
| 16952 |
> |
ac_status=$? |
| 16953 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 16954 |
> |
test $ac_status = 0; } ;; #( |
| 16955 |
> |
*) : |
| 16956 |
> |
|
| 16957 |
> |
as_fn_append CFLAGS " $flag" |
| 16958 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 16959 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 16960 |
> |
ac_status=$? |
| 16961 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 16962 |
> |
test $ac_status = 0; } |
| 16963 |
> |
;; |
| 16964 |
> |
esac |
| 16965 |
> |
|
| 16966 |
> |
else $as_nop |
| 16967 |
> |
|
| 16968 |
> |
CFLAGS=$flag |
| 16969 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 16970 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 16971 |
> |
ac_status=$? |
| 16972 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 16973 |
> |
test $ac_status = 0; } |
| 16974 |
> |
|
| 16975 |
|
fi |
| 14223 |
– |
rm -f core conftest.err conftest.$ac_objext \ |
| 14224 |
– |
conftest$ac_exeext conftest.$ac_ext |
| 14225 |
– |
iopoll_mechanism_epoll=2 |
| 16976 |
|
|
| 16977 |
< |
cat >>confdefs.h <<_ACEOF |
| 16978 |
< |
#define __IOPOLL_MECHANISM_EPOLL $iopoll_mechanism_epoll |
| 16977 |
> |
else $as_nop |
| 16978 |
> |
: |
| 16979 |
> |
fi |
| 16980 |
> |
|
| 16981 |
> |
done |
| 16982 |
> |
|
| 16983 |
> |
|
| 16984 |
> |
|
| 16985 |
> |
|
| 16986 |
> |
|
| 16987 |
> |
for flag in -Wshift-negative-value; do |
| 16988 |
> |
as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 16989 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 16990 |
> |
printf %s "checking whether C compiler accepts $flag... " >&6; } |
| 16991 |
> |
if eval test \${$as_CACHEVAR+y} |
| 16992 |
> |
then : |
| 16993 |
> |
printf %s "(cached) " >&6 |
| 16994 |
> |
else $as_nop |
| 16995 |
> |
|
| 16996 |
> |
ax_check_save_flags=$CFLAGS |
| 16997 |
> |
CFLAGS="$CFLAGS $flag" |
| 16998 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 16999 |
> |
/* end confdefs.h. */ |
| 17000 |
> |
|
| 17001 |
> |
int |
| 17002 |
> |
main (void) |
| 17003 |
> |
{ |
| 17004 |
> |
|
| 17005 |
> |
; |
| 17006 |
> |
return 0; |
| 17007 |
> |
} |
| 17008 |
|
_ACEOF |
| 17009 |
+ |
if ac_fn_c_try_compile "$LINENO" |
| 17010 |
+ |
then : |
| 17011 |
+ |
eval "$as_CACHEVAR=yes" |
| 17012 |
+ |
else $as_nop |
| 17013 |
+ |
eval "$as_CACHEVAR=no" |
| 17014 |
+ |
fi |
| 17015 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 17016 |
+ |
CFLAGS=$ax_check_save_flags |
| 17017 |
+ |
fi |
| 17018 |
+ |
eval ac_res=\$$as_CACHEVAR |
| 17019 |
+ |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 17020 |
+ |
printf "%s\n" "$ac_res" >&6; } |
| 17021 |
+ |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes" |
| 17022 |
+ |
then : |
| 17023 |
+ |
|
| 17024 |
+ |
if test ${CFLAGS+y} |
| 17025 |
+ |
then : |
| 17026 |
+ |
|
| 17027 |
+ |
case " $CFLAGS " in #( |
| 17028 |
+ |
*" $flag "*) : |
| 17029 |
+ |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 17030 |
+ |
(: CFLAGS already contains $flag) 2>&5 |
| 17031 |
+ |
ac_status=$? |
| 17032 |
+ |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 17033 |
+ |
test $ac_status = 0; } ;; #( |
| 17034 |
+ |
*) : |
| 17035 |
|
|
| 17036 |
< |
if test "$cross_compiling" = yes; then : |
| 17037 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 17038 |
< |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 17039 |
< |
as_fn_error $? "cannot run test program while cross compiling |
| 17040 |
< |
See \`config.log' for more details" "$LINENO" 5; } |
| 17041 |
< |
else |
| 17036 |
> |
as_fn_append CFLAGS " $flag" |
| 17037 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 17038 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 17039 |
> |
ac_status=$? |
| 17040 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 17041 |
> |
test $ac_status = 0; } |
| 17042 |
> |
;; |
| 17043 |
> |
esac |
| 17044 |
> |
|
| 17045 |
> |
else $as_nop |
| 17046 |
> |
|
| 17047 |
> |
CFLAGS=$flag |
| 17048 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 17049 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 17050 |
> |
ac_status=$? |
| 17051 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 17052 |
> |
test $ac_status = 0; } |
| 17053 |
> |
|
| 17054 |
> |
fi |
| 17055 |
> |
|
| 17056 |
> |
else $as_nop |
| 17057 |
> |
: |
| 17058 |
> |
fi |
| 17059 |
> |
|
| 17060 |
> |
done |
| 17061 |
> |
|
| 17062 |
> |
|
| 17063 |
> |
|
| 17064 |
> |
|
| 17065 |
> |
|
| 17066 |
> |
for flag in -Wsign-compare; do |
| 17067 |
> |
as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 17068 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 17069 |
> |
printf %s "checking whether C compiler accepts $flag... " >&6; } |
| 17070 |
> |
if eval test \${$as_CACHEVAR+y} |
| 17071 |
> |
then : |
| 17072 |
> |
printf %s "(cached) " >&6 |
| 17073 |
> |
else $as_nop |
| 17074 |
> |
|
| 17075 |
> |
ax_check_save_flags=$CFLAGS |
| 17076 |
> |
CFLAGS="$CFLAGS $flag" |
| 17077 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 17078 |
|
/* end confdefs.h. */ |
| 17079 |
|
|
| 17080 |
< |
#include <sys/epoll.h> |
| 17081 |
< |
#include <sys/syscall.h> |
| 17082 |
< |
#if defined(__stub_epoll_create) || defined(__stub___epoll_create) || defined(EPOLL_NEED_BODY) |
| 17083 |
< |
#if !defined(__NR_epoll_create) |
| 17084 |
< |
#if defined(__ia64__) |
| 17085 |
< |
#define __NR_epoll_create 1243 |
| 17086 |
< |
#elif defined(__x86_64__) |
| 17087 |
< |
#define __NR_epoll_create 214 |
| 17088 |
< |
#elif defined(__sparc64__) || defined(__sparc__) |
| 17089 |
< |
#define __NR_epoll_create 193 |
| 17090 |
< |
#elif defined(__s390__) || defined(__m68k__) |
| 17091 |
< |
#define __NR_epoll_create 249 |
| 17092 |
< |
#elif defined(__ppc64__) || defined(__ppc__) |
| 17093 |
< |
#define __NR_epoll_create 236 |
| 17094 |
< |
#elif defined(__parisc__) || defined(__arm26__) || defined(__arm__) |
| 17095 |
< |
#define __NR_epoll_create 224 |
| 17096 |
< |
#elif defined(__alpha__) |
| 17097 |
< |
#define __NR_epoll_create 407 |
| 17098 |
< |
#elif defined(__sh64__) |
| 17099 |
< |
#define __NR_epoll_create 282 |
| 17100 |
< |
#elif defined(__i386__) || defined(__sh__) || defined(__m32r__) || defined(__h8300__) || defined(__frv__) |
| 17101 |
< |
#define __NR_epoll_create 254 |
| 17102 |
< |
#else |
| 17103 |
< |
#error No system call numbers defined for epoll family. |
| 17104 |
< |
#endif |
| 17105 |
< |
#endif |
| 17106 |
< |
_syscall1(int, epoll_create, int, size) |
| 17107 |
< |
#endif |
| 17080 |
> |
int |
| 17081 |
> |
main (void) |
| 17082 |
> |
{ |
| 17083 |
> |
|
| 17084 |
> |
; |
| 17085 |
> |
return 0; |
| 17086 |
> |
} |
| 17087 |
> |
_ACEOF |
| 17088 |
> |
if ac_fn_c_try_compile "$LINENO" |
| 17089 |
> |
then : |
| 17090 |
> |
eval "$as_CACHEVAR=yes" |
| 17091 |
> |
else $as_nop |
| 17092 |
> |
eval "$as_CACHEVAR=no" |
| 17093 |
> |
fi |
| 17094 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 17095 |
> |
CFLAGS=$ax_check_save_flags |
| 17096 |
> |
fi |
| 17097 |
> |
eval ac_res=\$$as_CACHEVAR |
| 17098 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 17099 |
> |
printf "%s\n" "$ac_res" >&6; } |
| 17100 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes" |
| 17101 |
> |
then : |
| 17102 |
> |
|
| 17103 |
> |
if test ${CFLAGS+y} |
| 17104 |
> |
then : |
| 17105 |
> |
|
| 17106 |
> |
case " $CFLAGS " in #( |
| 17107 |
> |
*" $flag "*) : |
| 17108 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 17109 |
> |
(: CFLAGS already contains $flag) 2>&5 |
| 17110 |
> |
ac_status=$? |
| 17111 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 17112 |
> |
test $ac_status = 0; } ;; #( |
| 17113 |
> |
*) : |
| 17114 |
> |
|
| 17115 |
> |
as_fn_append CFLAGS " $flag" |
| 17116 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 17117 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 17118 |
> |
ac_status=$? |
| 17119 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 17120 |
> |
test $ac_status = 0; } |
| 17121 |
> |
;; |
| 17122 |
> |
esac |
| 17123 |
> |
|
| 17124 |
> |
else $as_nop |
| 17125 |
> |
|
| 17126 |
> |
CFLAGS=$flag |
| 17127 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 17128 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 17129 |
> |
ac_status=$? |
| 17130 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 17131 |
> |
test $ac_status = 0; } |
| 17132 |
> |
|
| 17133 |
> |
fi |
| 17134 |
> |
|
| 17135 |
> |
else $as_nop |
| 17136 |
> |
: |
| 17137 |
> |
fi |
| 17138 |
> |
|
| 17139 |
> |
done |
| 17140 |
> |
|
| 17141 |
> |
|
| 17142 |
> |
|
| 17143 |
> |
|
| 17144 |
> |
|
| 17145 |
> |
for flag in -Wtype-limits; do |
| 17146 |
> |
as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 17147 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 17148 |
> |
printf %s "checking whether C compiler accepts $flag... " >&6; } |
| 17149 |
> |
if eval test \${$as_CACHEVAR+y} |
| 17150 |
> |
then : |
| 17151 |
> |
printf %s "(cached) " >&6 |
| 17152 |
> |
else $as_nop |
| 17153 |
> |
|
| 17154 |
> |
ax_check_save_flags=$CFLAGS |
| 17155 |
> |
CFLAGS="$CFLAGS $flag" |
| 17156 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 17157 |
> |
/* end confdefs.h. */ |
| 17158 |
|
|
| 17159 |
|
int |
| 17160 |
< |
main () |
| 17160 |
> |
main (void) |
| 17161 |
|
{ |
| 17162 |
< |
return epoll_create(256) == -1 ? 1 : 0 |
| 17162 |
> |
|
| 17163 |
|
; |
| 17164 |
|
return 0; |
| 17165 |
|
} |
| 17166 |
|
_ACEOF |
| 17167 |
< |
if ac_fn_c_try_run "$LINENO"; then : |
| 17168 |
< |
is_epoll_mechanism_available="yes" |
| 17169 |
< |
else |
| 17170 |
< |
is_epoll_mechanism_available="no" |
| 17167 |
> |
if ac_fn_c_try_compile "$LINENO" |
| 17168 |
> |
then : |
| 17169 |
> |
eval "$as_CACHEVAR=yes" |
| 17170 |
> |
else $as_nop |
| 17171 |
> |
eval "$as_CACHEVAR=no" |
| 17172 |
> |
fi |
| 17173 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 17174 |
> |
CFLAGS=$ax_check_save_flags |
| 17175 |
> |
fi |
| 17176 |
> |
eval ac_res=\$$as_CACHEVAR |
| 17177 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 17178 |
> |
printf "%s\n" "$ac_res" >&6; } |
| 17179 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes" |
| 17180 |
> |
then : |
| 17181 |
> |
|
| 17182 |
> |
if test ${CFLAGS+y} |
| 17183 |
> |
then : |
| 17184 |
> |
|
| 17185 |
> |
case " $CFLAGS " in #( |
| 17186 |
> |
*" $flag "*) : |
| 17187 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 17188 |
> |
(: CFLAGS already contains $flag) 2>&5 |
| 17189 |
> |
ac_status=$? |
| 17190 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 17191 |
> |
test $ac_status = 0; } ;; #( |
| 17192 |
> |
*) : |
| 17193 |
> |
|
| 17194 |
> |
as_fn_append CFLAGS " $flag" |
| 17195 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 17196 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 17197 |
> |
ac_status=$? |
| 17198 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 17199 |
> |
test $ac_status = 0; } |
| 17200 |
> |
;; |
| 17201 |
> |
esac |
| 17202 |
> |
|
| 17203 |
> |
else $as_nop |
| 17204 |
> |
|
| 17205 |
> |
CFLAGS=$flag |
| 17206 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 17207 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 17208 |
> |
ac_status=$? |
| 17209 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 17210 |
> |
test $ac_status = 0; } |
| 17211 |
> |
|
| 17212 |
|
fi |
| 17213 |
< |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 17214 |
< |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 17213 |
> |
|
| 17214 |
> |
else $as_nop |
| 17215 |
> |
: |
| 17216 |
|
fi |
| 17217 |
|
|
| 17218 |
< |
iopoll_mechanism_devpoll=3 |
| 17218 |
> |
done |
| 17219 |
> |
|
| 17220 |
> |
|
| 17221 |
> |
|
| 17222 |
> |
|
| 17223 |
> |
|
| 17224 |
> |
for flag in -Wundef; do |
| 17225 |
> |
as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 17226 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 17227 |
> |
printf %s "checking whether C compiler accepts $flag... " >&6; } |
| 17228 |
> |
if eval test \${$as_CACHEVAR+y} |
| 17229 |
> |
then : |
| 17230 |
> |
printf %s "(cached) " >&6 |
| 17231 |
> |
else $as_nop |
| 17232 |
> |
|
| 17233 |
> |
ax_check_save_flags=$CFLAGS |
| 17234 |
> |
CFLAGS="$CFLAGS $flag" |
| 17235 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 17236 |
> |
/* end confdefs.h. */ |
| 17237 |
> |
|
| 17238 |
> |
int |
| 17239 |
> |
main (void) |
| 17240 |
> |
{ |
| 17241 |
|
|
| 17242 |
< |
cat >>confdefs.h <<_ACEOF |
| 17243 |
< |
#define __IOPOLL_MECHANISM_DEVPOLL $iopoll_mechanism_devpoll |
| 17242 |
> |
; |
| 17243 |
> |
return 0; |
| 17244 |
> |
} |
| 17245 |
|
_ACEOF |
| 17246 |
+ |
if ac_fn_c_try_compile "$LINENO" |
| 17247 |
+ |
then : |
| 17248 |
+ |
eval "$as_CACHEVAR=yes" |
| 17249 |
+ |
else $as_nop |
| 17250 |
+ |
eval "$as_CACHEVAR=no" |
| 17251 |
+ |
fi |
| 17252 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 17253 |
+ |
CFLAGS=$ax_check_save_flags |
| 17254 |
+ |
fi |
| 17255 |
+ |
eval ac_res=\$$as_CACHEVAR |
| 17256 |
+ |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 17257 |
+ |
printf "%s\n" "$ac_res" >&6; } |
| 17258 |
+ |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes" |
| 17259 |
+ |
then : |
| 17260 |
+ |
|
| 17261 |
+ |
if test ${CFLAGS+y} |
| 17262 |
+ |
then : |
| 17263 |
+ |
|
| 17264 |
+ |
case " $CFLAGS " in #( |
| 17265 |
+ |
*" $flag "*) : |
| 17266 |
+ |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 17267 |
+ |
(: CFLAGS already contains $flag) 2>&5 |
| 17268 |
+ |
ac_status=$? |
| 17269 |
+ |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 17270 |
+ |
test $ac_status = 0; } ;; #( |
| 17271 |
+ |
*) : |
| 17272 |
+ |
|
| 17273 |
+ |
as_fn_append CFLAGS " $flag" |
| 17274 |
+ |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 17275 |
+ |
(: CFLAGS="$CFLAGS") 2>&5 |
| 17276 |
+ |
ac_status=$? |
| 17277 |
+ |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 17278 |
+ |
test $ac_status = 0; } |
| 17279 |
+ |
;; |
| 17280 |
+ |
esac |
| 17281 |
|
|
| 17282 |
+ |
else $as_nop |
| 17283 |
+ |
|
| 17284 |
+ |
CFLAGS=$flag |
| 17285 |
+ |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 17286 |
+ |
(: CFLAGS="$CFLAGS") 2>&5 |
| 17287 |
+ |
ac_status=$? |
| 17288 |
+ |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 17289 |
+ |
test $ac_status = 0; } |
| 17290 |
+ |
|
| 17291 |
+ |
fi |
| 17292 |
+ |
|
| 17293 |
+ |
else $as_nop |
| 17294 |
+ |
: |
| 17295 |
+ |
fi |
| 17296 |
+ |
|
| 17297 |
+ |
done |
| 17298 |
+ |
|
| 17299 |
+ |
|
| 17300 |
+ |
|
| 17301 |
+ |
|
| 17302 |
+ |
|
| 17303 |
+ |
for flag in -Wuninitialized; do |
| 17304 |
+ |
as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 17305 |
+ |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 17306 |
+ |
printf %s "checking whether C compiler accepts $flag... " >&6; } |
| 17307 |
+ |
if eval test \${$as_CACHEVAR+y} |
| 17308 |
+ |
then : |
| 17309 |
+ |
printf %s "(cached) " >&6 |
| 17310 |
+ |
else $as_nop |
| 17311 |
+ |
|
| 17312 |
+ |
ax_check_save_flags=$CFLAGS |
| 17313 |
+ |
CFLAGS="$CFLAGS $flag" |
| 17314 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 17315 |
|
/* end confdefs.h. */ |
| 17316 |
< |
#include <devpoll.h> |
| 17316 |
> |
|
| 17317 |
|
int |
| 17318 |
< |
main () |
| 17318 |
> |
main (void) |
| 17319 |
|
{ |
| 17320 |
|
|
| 17321 |
|
; |
| 17322 |
|
return 0; |
| 17323 |
|
} |
| 17324 |
|
_ACEOF |
| 17325 |
< |
if ac_fn_c_try_compile "$LINENO"; then : |
| 17326 |
< |
is_devpoll_mechanism_available="yes" |
| 17327 |
< |
else |
| 17328 |
< |
is_devpoll_mechanism_available="no" |
| 17325 |
> |
if ac_fn_c_try_compile "$LINENO" |
| 17326 |
> |
then : |
| 17327 |
> |
eval "$as_CACHEVAR=yes" |
| 17328 |
> |
else $as_nop |
| 17329 |
> |
eval "$as_CACHEVAR=no" |
| 17330 |
> |
fi |
| 17331 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 17332 |
> |
CFLAGS=$ax_check_save_flags |
| 17333 |
> |
fi |
| 17334 |
> |
eval ac_res=\$$as_CACHEVAR |
| 17335 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 17336 |
> |
printf "%s\n" "$ac_res" >&6; } |
| 17337 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes" |
| 17338 |
> |
then : |
| 17339 |
> |
|
| 17340 |
> |
if test ${CFLAGS+y} |
| 17341 |
> |
then : |
| 17342 |
> |
|
| 17343 |
> |
case " $CFLAGS " in #( |
| 17344 |
> |
*" $flag "*) : |
| 17345 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 17346 |
> |
(: CFLAGS already contains $flag) 2>&5 |
| 17347 |
> |
ac_status=$? |
| 17348 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 17349 |
> |
test $ac_status = 0; } ;; #( |
| 17350 |
> |
*) : |
| 17351 |
> |
|
| 17352 |
> |
as_fn_append CFLAGS " $flag" |
| 17353 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 17354 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 17355 |
> |
ac_status=$? |
| 17356 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 17357 |
> |
test $ac_status = 0; } |
| 17358 |
> |
;; |
| 17359 |
> |
esac |
| 17360 |
> |
|
| 17361 |
> |
else $as_nop |
| 17362 |
> |
|
| 17363 |
> |
CFLAGS=$flag |
| 17364 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 17365 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 17366 |
> |
ac_status=$? |
| 17367 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 17368 |
> |
test $ac_status = 0; } |
| 17369 |
> |
|
| 17370 |
|
fi |
| 14308 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14309 |
– |
if test "$is_devpoll_mechanism_available" = "yes" ; then |
| 17371 |
|
|
| 17372 |
< |
$as_echo "#define HAVE_DEVPOLL_H 1" >>confdefs.h |
| 17372 |
> |
else $as_nop |
| 17373 |
> |
: |
| 17374 |
> |
fi |
| 17375 |
|
|
| 17376 |
< |
fi |
| 17376 |
> |
done |
| 17377 |
> |
|
| 17378 |
> |
|
| 17379 |
> |
|
| 17380 |
> |
|
| 17381 |
> |
|
| 17382 |
> |
for flag in -Wwrite-strings; do |
| 17383 |
> |
as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 17384 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 17385 |
> |
printf %s "checking whether C compiler accepts $flag... " >&6; } |
| 17386 |
> |
if eval test \${$as_CACHEVAR+y} |
| 17387 |
> |
then : |
| 17388 |
> |
printf %s "(cached) " >&6 |
| 17389 |
> |
else $as_nop |
| 17390 |
> |
|
| 17391 |
> |
ax_check_save_flags=$CFLAGS |
| 17392 |
> |
CFLAGS="$CFLAGS $flag" |
| 17393 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 17394 |
|
/* end confdefs.h. */ |
| 17395 |
< |
#include <sys/devpoll.h> |
| 17395 |
> |
|
| 17396 |
|
int |
| 17397 |
< |
main () |
| 17397 |
> |
main (void) |
| 17398 |
|
{ |
| 17399 |
|
|
| 17400 |
|
; |
| 17401 |
|
return 0; |
| 17402 |
|
} |
| 17403 |
|
_ACEOF |
| 17404 |
< |
if ac_fn_c_try_compile "$LINENO"; then : |
| 17405 |
< |
is_devpoll_mechanism_available="yes" |
| 17406 |
< |
else |
| 17407 |
< |
is_devpoll_mechanism_available="no" |
| 17404 |
> |
if ac_fn_c_try_compile "$LINENO" |
| 17405 |
> |
then : |
| 17406 |
> |
eval "$as_CACHEVAR=yes" |
| 17407 |
> |
else $as_nop |
| 17408 |
> |
eval "$as_CACHEVAR=no" |
| 17409 |
> |
fi |
| 17410 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 17411 |
> |
CFLAGS=$ax_check_save_flags |
| 17412 |
> |
fi |
| 17413 |
> |
eval ac_res=\$$as_CACHEVAR |
| 17414 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 17415 |
> |
printf "%s\n" "$ac_res" >&6; } |
| 17416 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes" |
| 17417 |
> |
then : |
| 17418 |
> |
|
| 17419 |
> |
if test ${CFLAGS+y} |
| 17420 |
> |
then : |
| 17421 |
> |
|
| 17422 |
> |
case " $CFLAGS " in #( |
| 17423 |
> |
*" $flag "*) : |
| 17424 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 17425 |
> |
(: CFLAGS already contains $flag) 2>&5 |
| 17426 |
> |
ac_status=$? |
| 17427 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 17428 |
> |
test $ac_status = 0; } ;; #( |
| 17429 |
> |
*) : |
| 17430 |
> |
|
| 17431 |
> |
as_fn_append CFLAGS " $flag" |
| 17432 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 17433 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 17434 |
> |
ac_status=$? |
| 17435 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 17436 |
> |
test $ac_status = 0; } |
| 17437 |
> |
;; |
| 17438 |
> |
esac |
| 17439 |
> |
|
| 17440 |
> |
else $as_nop |
| 17441 |
> |
|
| 17442 |
> |
CFLAGS=$flag |
| 17443 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 17444 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 17445 |
> |
ac_status=$? |
| 17446 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 17447 |
> |
test $ac_status = 0; } |
| 17448 |
> |
|
| 17449 |
|
fi |
| 14330 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14331 |
– |
if test "$is_devpoll_mechanism_available" = "yes" ; then |
| 17450 |
|
|
| 17451 |
< |
$as_echo "#define HAVE_SYS_DEVPOLL_H 1" >>confdefs.h |
| 17451 |
> |
else $as_nop |
| 17452 |
> |
: |
| 17453 |
> |
fi |
| 17454 |
|
|
| 17455 |
< |
fi |
| 17456 |
< |
iopoll_mechanism_poll=4 |
| 17455 |
> |
done |
| 17456 |
> |
|
| 17457 |
> |
|
| 17458 |
> |
fi |
| 17459 |
> |
|
| 17460 |
> |
|
| 17461 |
> |
# Check whether --enable-efence was given. |
| 17462 |
> |
if test ${enable_efence+y} |
| 17463 |
> |
then : |
| 17464 |
> |
enableval=$enable_efence; efence="$enableval" |
| 17465 |
> |
else $as_nop |
| 17466 |
> |
efence="no" |
| 17467 |
> |
fi |
| 17468 |
|
|
| 17469 |
< |
cat >>confdefs.h <<_ACEOF |
| 17470 |
< |
#define __IOPOLL_MECHANISM_POLL $iopoll_mechanism_poll |
| 17469 |
> |
|
| 17470 |
> |
if test "$efence" = "yes" |
| 17471 |
> |
then : |
| 17472 |
> |
|
| 17473 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing EF_Print" >&5 |
| 17474 |
> |
printf %s "checking for library containing EF_Print... " >&6; } |
| 17475 |
> |
if test ${ac_cv_search_EF_Print+y} |
| 17476 |
> |
then : |
| 17477 |
> |
printf %s "(cached) " >&6 |
| 17478 |
> |
else $as_nop |
| 17479 |
> |
ac_func_search_save_LIBS=$LIBS |
| 17480 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 17481 |
> |
/* end confdefs.h. */ |
| 17482 |
> |
|
| 17483 |
> |
/* Override any GCC internal prototype to avoid an error. |
| 17484 |
> |
Use char because int might match the return type of a GCC |
| 17485 |
> |
builtin and then its argument prototype would still apply. */ |
| 17486 |
> |
char EF_Print (); |
| 17487 |
> |
int |
| 17488 |
> |
main (void) |
| 17489 |
> |
{ |
| 17490 |
> |
return EF_Print (); |
| 17491 |
> |
; |
| 17492 |
> |
return 0; |
| 17493 |
> |
} |
| 17494 |
|
_ACEOF |
| 17495 |
+ |
for ac_lib in '' efence |
| 17496 |
+ |
do |
| 17497 |
+ |
if test -z "$ac_lib"; then |
| 17498 |
+ |
ac_res="none required" |
| 17499 |
+ |
else |
| 17500 |
+ |
ac_res=-l$ac_lib |
| 17501 |
+ |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 17502 |
+ |
fi |
| 17503 |
+ |
if ac_fn_c_try_link "$LINENO" |
| 17504 |
+ |
then : |
| 17505 |
+ |
ac_cv_search_EF_Print=$ac_res |
| 17506 |
+ |
fi |
| 17507 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 17508 |
+ |
conftest$ac_exeext |
| 17509 |
+ |
if test ${ac_cv_search_EF_Print+y} |
| 17510 |
+ |
then : |
| 17511 |
+ |
break |
| 17512 |
+ |
fi |
| 17513 |
+ |
done |
| 17514 |
+ |
if test ${ac_cv_search_EF_Print+y} |
| 17515 |
+ |
then : |
| 17516 |
+ |
|
| 17517 |
+ |
else $as_nop |
| 17518 |
+ |
ac_cv_search_EF_Print=no |
| 17519 |
+ |
fi |
| 17520 |
+ |
rm conftest.$ac_ext |
| 17521 |
+ |
LIBS=$ac_func_search_save_LIBS |
| 17522 |
+ |
fi |
| 17523 |
+ |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_EF_Print" >&5 |
| 17524 |
+ |
printf "%s\n" "$ac_cv_search_EF_Print" >&6; } |
| 17525 |
+ |
ac_res=$ac_cv_search_EF_Print |
| 17526 |
+ |
if test "$ac_res" != no |
| 17527 |
+ |
then : |
| 17528 |
+ |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 17529 |
+ |
|
| 17530 |
+ |
else $as_nop |
| 17531 |
+ |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 17532 |
+ |
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 17533 |
+ |
as_fn_error $? "Electric Fence 'efence' library not found |
| 17534 |
+ |
See \`config.log' for more details" "$LINENO" 5; } |
| 17535 |
+ |
fi |
| 17536 |
+ |
|
| 17537 |
+ |
|
| 17538 |
+ |
fi |
| 17539 |
+ |
|
| 17540 |
|
|
| 17541 |
+ |
|
| 17542 |
+ |
|
| 17543 |
+ |
# Check whether --with-tls was given. |
| 17544 |
+ |
if test ${with_tls+y} |
| 17545 |
+ |
then : |
| 17546 |
+ |
withval=$with_tls; with_tls=$withval |
| 17547 |
+ |
else $as_nop |
| 17548 |
+ |
with_tls=auto |
| 17549 |
+ |
fi |
| 17550 |
+ |
|
| 17551 |
+ |
|
| 17552 |
+ |
if test "$with_tls" = "openssl" || |
| 17553 |
+ |
test "$with_tls" = "auto"; then |
| 17554 |
+ |
ac_fn_c_check_header_compile "$LINENO" "openssl/opensslv.h" "ac_cv_header_openssl_opensslv_h" "$ac_includes_default" |
| 17555 |
+ |
if test "x$ac_cv_header_openssl_opensslv_h" = xyes |
| 17556 |
+ |
then : |
| 17557 |
+ |
|
| 17558 |
+ |
if test "$cross_compiling" = yes |
| 17559 |
+ |
then : |
| 17560 |
+ |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 17561 |
+ |
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 17562 |
+ |
as_fn_error $? "cannot run test program while cross compiling |
| 17563 |
+ |
See \`config.log' for more details" "$LINENO" 5; } |
| 17564 |
+ |
else $as_nop |
| 17565 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 17566 |
|
/* end confdefs.h. */ |
| 14344 |
– |
/* Define poll to an innocuous variant, in case <limits.h> declares poll. |
| 14345 |
– |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
| 14346 |
– |
#define poll innocuous_poll |
| 17567 |
|
|
| 14348 |
– |
/* System header to define __stub macros and hopefully few prototypes, |
| 14349 |
– |
which can conflict with char poll (); below. |
| 14350 |
– |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 14351 |
– |
<limits.h> exists even on freestanding compilers. */ |
| 17568 |
|
|
| 17569 |
< |
#ifdef __STDC__ |
| 17570 |
< |
# include <limits.h> |
| 17571 |
< |
#else |
| 17572 |
< |
# include <assert.h> |
| 17573 |
< |
#endif |
| 17569 |
> |
#include <openssl/opensslv.h> |
| 17570 |
> |
#include <stdlib.h> |
| 17571 |
> |
int |
| 17572 |
> |
main (void) |
| 17573 |
> |
{ |
| 17574 |
|
|
| 17575 |
< |
#undef poll |
| 17575 |
> |
exit(!(OPENSSL_VERSION_NUMBER >= 0x1010100fL)); |
| 17576 |
> |
; |
| 17577 |
> |
return 0; |
| 17578 |
> |
} |
| 17579 |
> |
_ACEOF |
| 17580 |
> |
if ac_fn_c_try_run "$LINENO" |
| 17581 |
> |
then : |
| 17582 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5 |
| 17583 |
> |
printf %s "checking for RSA_free in -lcrypto... " >&6; } |
| 17584 |
> |
if test ${ac_cv_lib_crypto_RSA_free+y} |
| 17585 |
> |
then : |
| 17586 |
> |
printf %s "(cached) " >&6 |
| 17587 |
> |
else $as_nop |
| 17588 |
> |
ac_check_lib_save_LIBS=$LIBS |
| 17589 |
> |
LIBS="-lcrypto $LIBS" |
| 17590 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 17591 |
> |
/* end confdefs.h. */ |
| 17592 |
|
|
| 17593 |
|
/* Override any GCC internal prototype to avoid an error. |
| 17594 |
|
Use char because int might match the return type of a GCC |
| 17595 |
|
builtin and then its argument prototype would still apply. */ |
| 17596 |
< |
#ifdef __cplusplus |
| 14365 |
< |
extern "C" |
| 14366 |
< |
#endif |
| 14367 |
< |
char poll (); |
| 14368 |
< |
/* The GNU C library defines this for functions which it implements |
| 14369 |
< |
to always fail with ENOSYS. Some functions are actually named |
| 14370 |
< |
something starting with __ and the normal name is an alias. */ |
| 14371 |
< |
#if defined __stub_poll || defined __stub___poll |
| 14372 |
< |
choke me |
| 14373 |
< |
#endif |
| 14374 |
< |
|
| 17596 |
> |
char RSA_free (); |
| 17597 |
|
int |
| 17598 |
< |
main () |
| 17598 |
> |
main (void) |
| 17599 |
|
{ |
| 17600 |
< |
return poll (); |
| 17600 |
> |
return RSA_free (); |
| 17601 |
|
; |
| 17602 |
|
return 0; |
| 17603 |
|
} |
| 17604 |
|
_ACEOF |
| 17605 |
< |
if ac_fn_c_try_link "$LINENO"; then : |
| 17606 |
< |
is_poll_mechanism_available="yes" |
| 17607 |
< |
else |
| 17608 |
< |
is_poll_mechanism_available="no" |
| 17605 |
> |
if ac_fn_c_try_link "$LINENO" |
| 17606 |
> |
then : |
| 17607 |
> |
ac_cv_lib_crypto_RSA_free=yes |
| 17608 |
> |
else $as_nop |
| 17609 |
> |
ac_cv_lib_crypto_RSA_free=no |
| 17610 |
|
fi |
| 17611 |
< |
rm -f core conftest.err conftest.$ac_objext \ |
| 17611 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 17612 |
|
conftest$ac_exeext conftest.$ac_ext |
| 17613 |
< |
iopoll_mechanism_select=5 |
| 17613 |
> |
LIBS=$ac_check_lib_save_LIBS |
| 17614 |
> |
fi |
| 17615 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5 |
| 17616 |
> |
printf "%s\n" "$ac_cv_lib_crypto_RSA_free" >&6; } |
| 17617 |
> |
if test "x$ac_cv_lib_crypto_RSA_free" = xyes |
| 17618 |
> |
then : |
| 17619 |
> |
printf "%s\n" "#define HAVE_LIBCRYPTO 1" >>confdefs.h |
| 17620 |
> |
|
| 17621 |
> |
LIBS="-lcrypto $LIBS" |
| 17622 |
> |
|
| 17623 |
> |
fi |
| 17624 |
> |
|
| 17625 |
> |
fi |
| 17626 |
> |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 17627 |
> |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 17628 |
> |
fi |
| 17629 |
> |
|
| 17630 |
> |
fi |
| 17631 |
> |
|
| 17632 |
|
|
| 17633 |
< |
cat >>confdefs.h <<_ACEOF |
| 17634 |
< |
#define __IOPOLL_MECHANISM_SELECT $iopoll_mechanism_select |
| 17633 |
> |
if test "$ac_cv_lib_crypto_RSA_free" = "yes" |
| 17634 |
> |
then : |
| 17635 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5 |
| 17636 |
> |
printf %s "checking for SSL_connect in -lssl... " >&6; } |
| 17637 |
> |
if test ${ac_cv_lib_ssl_SSL_connect+y} |
| 17638 |
> |
then : |
| 17639 |
> |
printf %s "(cached) " >&6 |
| 17640 |
> |
else $as_nop |
| 17641 |
> |
ac_check_lib_save_LIBS=$LIBS |
| 17642 |
> |
LIBS="-lssl $LIBS" |
| 17643 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 17644 |
> |
/* end confdefs.h. */ |
| 17645 |
> |
|
| 17646 |
> |
/* Override any GCC internal prototype to avoid an error. |
| 17647 |
> |
Use char because int might match the return type of a GCC |
| 17648 |
> |
builtin and then its argument prototype would still apply. */ |
| 17649 |
> |
char SSL_connect (); |
| 17650 |
> |
int |
| 17651 |
> |
main (void) |
| 17652 |
> |
{ |
| 17653 |
> |
return SSL_connect (); |
| 17654 |
> |
; |
| 17655 |
> |
return 0; |
| 17656 |
> |
} |
| 17657 |
|
_ACEOF |
| 17658 |
+ |
if ac_fn_c_try_link "$LINENO" |
| 17659 |
+ |
then : |
| 17660 |
+ |
ac_cv_lib_ssl_SSL_connect=yes |
| 17661 |
+ |
else $as_nop |
| 17662 |
+ |
ac_cv_lib_ssl_SSL_connect=no |
| 17663 |
+ |
fi |
| 17664 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 17665 |
+ |
conftest$ac_exeext conftest.$ac_ext |
| 17666 |
+ |
LIBS=$ac_check_lib_save_LIBS |
| 17667 |
+ |
fi |
| 17668 |
+ |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5 |
| 17669 |
+ |
printf "%s\n" "$ac_cv_lib_ssl_SSL_connect" >&6; } |
| 17670 |
+ |
if test "x$ac_cv_lib_ssl_SSL_connect" = xyes |
| 17671 |
+ |
then : |
| 17672 |
+ |
printf "%s\n" "#define HAVE_LIBSSL 1" >>confdefs.h |
| 17673 |
+ |
|
| 17674 |
+ |
LIBS="-lssl $LIBS" |
| 17675 |
+ |
|
| 17676 |
+ |
fi |
| 17677 |
+ |
|
| 17678 |
+ |
fi |
| 17679 |
+ |
|
| 17680 |
+ |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for LibreSSL, or OpenSSL 1.1.1 and above" >&5 |
| 17681 |
+ |
printf %s "checking for LibreSSL, or OpenSSL 1.1.1 and above... " >&6; } |
| 17682 |
+ |
if test "$ac_cv_lib_ssl_SSL_connect" = "yes" |
| 17683 |
+ |
then : |
| 17684 |
+ |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5 |
| 17685 |
+ |
printf "%s\n" "found" >&6; } |
| 17686 |
+ |
else $as_nop |
| 17687 |
+ |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no - LibreSSL/OpenSSL support disabled" >&5 |
| 17688 |
+ |
printf "%s\n" "no - LibreSSL/OpenSSL support disabled" >&6; } |
| 17689 |
+ |
fi |
| 17690 |
+ |
|
| 17691 |
+ |
fi |
| 17692 |
|
|
| 17693 |
+ |
if test "$with_tls" = "gnutls" || |
| 17694 |
+ |
test "$with_tls" = "auto"; then |
| 17695 |
+ |
if test "$ac_cv_lib_ssl_SSL_connect" != "yes"; then |
| 17696 |
+ |
|
| 17697 |
+ |
ac_fn_c_check_header_compile "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default" |
| 17698 |
+ |
if test "x$ac_cv_header_gnutls_gnutls_h" = xyes |
| 17699 |
+ |
then : |
| 17700 |
+ |
|
| 17701 |
+ |
if test "$cross_compiling" = yes |
| 17702 |
+ |
then : |
| 17703 |
+ |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 17704 |
+ |
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 17705 |
+ |
as_fn_error $? "cannot run test program while cross compiling |
| 17706 |
+ |
See \`config.log' for more details" "$LINENO" 5; } |
| 17707 |
+ |
else $as_nop |
| 17708 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 17709 |
|
/* end confdefs.h. */ |
| 14398 |
– |
/* Define select to an innocuous variant, in case <limits.h> declares select. |
| 14399 |
– |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
| 14400 |
– |
#define select innocuous_select |
| 17710 |
|
|
| 14402 |
– |
/* System header to define __stub macros and hopefully few prototypes, |
| 14403 |
– |
which can conflict with char select (); below. |
| 14404 |
– |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 14405 |
– |
<limits.h> exists even on freestanding compilers. */ |
| 17711 |
|
|
| 17712 |
< |
#ifdef __STDC__ |
| 17713 |
< |
# include <limits.h> |
| 17714 |
< |
#else |
| 17715 |
< |
# include <assert.h> |
| 17716 |
< |
#endif |
| 17712 |
> |
#include <gnutls/gnutls.h> |
| 17713 |
> |
#include <stdlib.h> |
| 17714 |
> |
int |
| 17715 |
> |
main (void) |
| 17716 |
> |
{ |
| 17717 |
|
|
| 17718 |
< |
#undef select |
| 17718 |
> |
exit(!(GNUTLS_VERSION_NUMBER >= 0x030605)); |
| 17719 |
> |
; |
| 17720 |
> |
return 0; |
| 17721 |
> |
} |
| 17722 |
> |
_ACEOF |
| 17723 |
> |
if ac_fn_c_try_run "$LINENO" |
| 17724 |
> |
then : |
| 17725 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gnutls_init in -lgnutls" >&5 |
| 17726 |
> |
printf %s "checking for gnutls_init in -lgnutls... " >&6; } |
| 17727 |
> |
if test ${ac_cv_lib_gnutls_gnutls_init+y} |
| 17728 |
> |
then : |
| 17729 |
> |
printf %s "(cached) " >&6 |
| 17730 |
> |
else $as_nop |
| 17731 |
> |
ac_check_lib_save_LIBS=$LIBS |
| 17732 |
> |
LIBS="-lgnutls $LIBS" |
| 17733 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 17734 |
> |
/* end confdefs.h. */ |
| 17735 |
|
|
| 17736 |
|
/* Override any GCC internal prototype to avoid an error. |
| 17737 |
|
Use char because int might match the return type of a GCC |
| 17738 |
|
builtin and then its argument prototype would still apply. */ |
| 17739 |
< |
#ifdef __cplusplus |
| 14419 |
< |
extern "C" |
| 14420 |
< |
#endif |
| 14421 |
< |
char select (); |
| 14422 |
< |
/* The GNU C library defines this for functions which it implements |
| 14423 |
< |
to always fail with ENOSYS. Some functions are actually named |
| 14424 |
< |
something starting with __ and the normal name is an alias. */ |
| 14425 |
< |
#if defined __stub_select || defined __stub___select |
| 14426 |
< |
choke me |
| 14427 |
< |
#endif |
| 14428 |
< |
|
| 17739 |
> |
char gnutls_init (); |
| 17740 |
|
int |
| 17741 |
< |
main () |
| 17741 |
> |
main (void) |
| 17742 |
|
{ |
| 17743 |
< |
return select (); |
| 17743 |
> |
return gnutls_init (); |
| 17744 |
|
; |
| 17745 |
|
return 0; |
| 17746 |
|
} |
| 17747 |
|
_ACEOF |
| 17748 |
< |
if ac_fn_c_try_link "$LINENO"; then : |
| 17749 |
< |
is_select_mechanism_available="yes" |
| 17750 |
< |
else |
| 17751 |
< |
is_select_mechanism_available="no" |
| 17748 |
> |
if ac_fn_c_try_link "$LINENO" |
| 17749 |
> |
then : |
| 17750 |
> |
ac_cv_lib_gnutls_gnutls_init=yes |
| 17751 |
> |
else $as_nop |
| 17752 |
> |
ac_cv_lib_gnutls_gnutls_init=no |
| 17753 |
|
fi |
| 17754 |
< |
rm -f core conftest.err conftest.$ac_objext \ |
| 17754 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 17755 |
|
conftest$ac_exeext conftest.$ac_ext |
| 17756 |
< |
optimal_iopoll_mechanism="none" |
| 17757 |
< |
for mechanism in "kqueue" "epoll" "devpoll" "poll" "select" ; do # order is important |
| 17758 |
< |
eval "is_optimal_iopoll_mechanism_available=\$is_${mechanism}_mechanism_available" |
| 17759 |
< |
if test "$is_optimal_iopoll_mechanism_available" = "yes" ; then |
| 17760 |
< |
optimal_iopoll_mechanism="$mechanism" |
| 17761 |
< |
break |
| 17762 |
< |
fi |
| 14451 |
< |
done |
| 14452 |
< |
if test "$desired_iopoll_mechanism" = "none" ; then |
| 14453 |
< |
if test "$optimal_iopoll_mechanism" = "none" ; then |
| 14454 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 |
| 14455 |
< |
$as_echo "none" >&6; } |
| 14456 |
< |
as_fn_error $? "no iopoll mechanism found!" "$LINENO" 5 |
| 14457 |
< |
else |
| 14458 |
< |
selected_iopoll_mechanism=$optimal_iopoll_mechanism |
| 14459 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $selected_iopoll_mechanism" >&5 |
| 14460 |
< |
$as_echo "$selected_iopoll_mechanism" >&6; } |
| 14461 |
< |
fi |
| 14462 |
< |
else |
| 14463 |
< |
eval "is_desired_iopoll_mechanism_available=\$is_${desired_iopoll_mechanism}_mechanism_available" |
| 14464 |
< |
if test "$is_desired_iopoll_mechanism_available" = "yes" ; then |
| 14465 |
< |
selected_iopoll_mechanism=$desired_iopoll_mechanism |
| 14466 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $selected_iopoll_mechanism" >&5 |
| 14467 |
< |
$as_echo "$selected_iopoll_mechanism" >&6; } |
| 14468 |
< |
else |
| 14469 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 |
| 14470 |
< |
$as_echo "none" >&6; } |
| 14471 |
< |
as_fn_error $? "desired iopoll mechanism, $desired_iopoll_mechanism, is not available" "$LINENO" 5 |
| 14472 |
< |
fi |
| 14473 |
< |
fi |
| 14474 |
< |
eval "use_iopoll_mechanism=\$iopoll_mechanism_${selected_iopoll_mechanism}" |
| 17756 |
> |
LIBS=$ac_check_lib_save_LIBS |
| 17757 |
> |
fi |
| 17758 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gnutls_gnutls_init" >&5 |
| 17759 |
> |
printf "%s\n" "$ac_cv_lib_gnutls_gnutls_init" >&6; } |
| 17760 |
> |
if test "x$ac_cv_lib_gnutls_gnutls_init" = xyes |
| 17761 |
> |
then : |
| 17762 |
> |
printf "%s\n" "#define HAVE_LIBGNUTLS 1" >>confdefs.h |
| 17763 |
|
|
| 17764 |
< |
cat >>confdefs.h <<_ACEOF |
| 14477 |
< |
#define USE_IOPOLL_MECHANISM $use_iopoll_mechanism |
| 14478 |
< |
_ACEOF |
| 17764 |
> |
LIBS="-lgnutls $LIBS" |
| 17765 |
|
|
| 17766 |
+ |
fi |
| 17767 |
|
|
| 17768 |
+ |
fi |
| 17769 |
+ |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 17770 |
+ |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 17771 |
+ |
fi |
| 17772 |
|
|
| 14482 |
– |
# Check whether --enable-halfops was given. |
| 14483 |
– |
if test "${enable_halfops+set}" = set; then : |
| 14484 |
– |
enableval=$enable_halfops; halfops="$enableval" |
| 14485 |
– |
else |
| 14486 |
– |
halfops="no" |
| 17773 |
|
fi |
| 17774 |
|
|
| 14489 |
– |
if test "$halfops" = "yes" ; then |
| 17775 |
|
|
| 17776 |
< |
$as_echo "#define HALFOPS 1" >>confdefs.h |
| 17776 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GnuTLS 3.6.5 and above" >&5 |
| 17777 |
> |
printf %s "checking for GnuTLS 3.6.5 and above... " >&6; } |
| 17778 |
> |
if test "$ac_cv_lib_gnutls_gnutls_init" = "yes" |
| 17779 |
> |
then : |
| 17780 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5 |
| 17781 |
> |
printf "%s\n" "found" >&6; } |
| 17782 |
> |
else $as_nop |
| 17783 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no - GnuTLS support disabled" >&5 |
| 17784 |
> |
printf "%s\n" "no - GnuTLS support disabled" >&6; } |
| 17785 |
> |
fi |
| 17786 |
|
|
| 17787 |
|
fi |
| 17788 |
+ |
fi |
| 17789 |
|
|
| 17790 |
+ |
if test "$with_tls" = "wolfssl" || |
| 17791 |
+ |
test "$with_tls" = "auto"; then |
| 17792 |
+ |
if test "$ac_cv_lib_ssl_SSL_connect" != "yes" && |
| 17793 |
+ |
test "$ac_cv_lib_gnutls_gnutls_init" != "yes"; then |
| 17794 |
|
|
| 17795 |
< |
# Check whether --enable-debugging was given. |
| 17796 |
< |
if test "${enable_debugging+set}" = set; then : |
| 17797 |
< |
enableval=$enable_debugging; debugging="$enableval" |
| 17798 |
< |
else |
| 17799 |
< |
debugging="no" |
| 17795 |
> |
ac_fn_c_check_header_compile "$LINENO" "wolfssl/ssl.h" "ac_cv_header_wolfssl_ssl_h" "$ac_includes_default" |
| 17796 |
> |
if test "x$ac_cv_header_wolfssl_ssl_h" = xyes |
| 17797 |
> |
then : |
| 17798 |
> |
|
| 17799 |
> |
if test "$cross_compiling" = yes |
| 17800 |
> |
then : |
| 17801 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 17802 |
> |
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 17803 |
> |
as_fn_error $? "cannot run test program while cross compiling |
| 17804 |
> |
See \`config.log' for more details" "$LINENO" 5; } |
| 17805 |
> |
else $as_nop |
| 17806 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 17807 |
> |
/* end confdefs.h. */ |
| 17808 |
> |
|
| 17809 |
> |
|
| 17810 |
> |
#include <wolfssl/version.h> |
| 17811 |
> |
#include <stdlib.h> |
| 17812 |
> |
int |
| 17813 |
> |
main (void) |
| 17814 |
> |
{ |
| 17815 |
> |
|
| 17816 |
> |
exit(!(LIBWOLFSSL_VERSION_HEX >= 0x04003000)); |
| 17817 |
> |
; |
| 17818 |
> |
return 0; |
| 17819 |
> |
} |
| 17820 |
> |
_ACEOF |
| 17821 |
> |
if ac_fn_c_try_run "$LINENO" |
| 17822 |
> |
then : |
| 17823 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wolfSSL_X509_digest in -lwolfssl" >&5 |
| 17824 |
> |
printf %s "checking for wolfSSL_X509_digest in -lwolfssl... " >&6; } |
| 17825 |
> |
if test ${ac_cv_lib_wolfssl_wolfSSL_X509_digest+y} |
| 17826 |
> |
then : |
| 17827 |
> |
printf %s "(cached) " >&6 |
| 17828 |
> |
else $as_nop |
| 17829 |
> |
ac_check_lib_save_LIBS=$LIBS |
| 17830 |
> |
LIBS="-lwolfssl $LIBS" |
| 17831 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 17832 |
> |
/* end confdefs.h. */ |
| 17833 |
> |
|
| 17834 |
> |
/* Override any GCC internal prototype to avoid an error. |
| 17835 |
> |
Use char because int might match the return type of a GCC |
| 17836 |
> |
builtin and then its argument prototype would still apply. */ |
| 17837 |
> |
char wolfSSL_X509_digest (); |
| 17838 |
> |
int |
| 17839 |
> |
main (void) |
| 17840 |
> |
{ |
| 17841 |
> |
return wolfSSL_X509_digest (); |
| 17842 |
> |
; |
| 17843 |
> |
return 0; |
| 17844 |
> |
} |
| 17845 |
> |
_ACEOF |
| 17846 |
> |
if ac_fn_c_try_link "$LINENO" |
| 17847 |
> |
then : |
| 17848 |
> |
ac_cv_lib_wolfssl_wolfSSL_X509_digest=yes |
| 17849 |
> |
else $as_nop |
| 17850 |
> |
ac_cv_lib_wolfssl_wolfSSL_X509_digest=no |
| 17851 |
> |
fi |
| 17852 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 17853 |
> |
conftest$ac_exeext conftest.$ac_ext |
| 17854 |
> |
LIBS=$ac_check_lib_save_LIBS |
| 17855 |
|
fi |
| 17856 |
+ |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wolfssl_wolfSSL_X509_digest" >&5 |
| 17857 |
+ |
printf "%s\n" "$ac_cv_lib_wolfssl_wolfSSL_X509_digest" >&6; } |
| 17858 |
+ |
if test "x$ac_cv_lib_wolfssl_wolfSSL_X509_digest" = xyes |
| 17859 |
+ |
then : |
| 17860 |
+ |
printf "%s\n" "#define HAVE_LIBWOLFSSL 1" >>confdefs.h |
| 17861 |
|
|
| 17862 |
< |
if test "$debugging" = "yes" ; then |
| 14504 |
< |
CFLAGS="-Wall -g -O0" |
| 14505 |
< |
fi |
| 17862 |
> |
LIBS="-lwolfssl $LIBS" |
| 17863 |
|
|
| 17864 |
+ |
fi |
| 17865 |
|
|
| 17866 |
< |
# Check whether --enable-warnings was given. |
| 17867 |
< |
if test "${enable_warnings+set}" = set; then : |
| 17868 |
< |
enableval=$enable_warnings; warnings="$enableval" |
| 17869 |
< |
else |
| 17870 |
< |
warnings="no" |
| 17866 |
> |
fi |
| 17867 |
> |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 17868 |
> |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 17869 |
> |
fi |
| 17870 |
> |
|
| 17871 |
> |
fi |
| 17872 |
> |
|
| 17873 |
> |
|
| 17874 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wolfSSL 4.3.0 and above built with extended/full OpenSSL compatibility layer" >&5 |
| 17875 |
> |
printf %s "checking for wolfSSL 4.3.0 and above built with extended/full OpenSSL compatibility layer... " >&6; } |
| 17876 |
> |
if test "$ac_cv_lib_wolfssl_wolfSSL_X509_digest" = "yes" |
| 17877 |
> |
then : |
| 17878 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5 |
| 17879 |
> |
printf "%s\n" "found" >&6; } |
| 17880 |
> |
else $as_nop |
| 17881 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no - wolfSSL support disabled" >&5 |
| 17882 |
> |
printf "%s\n" "no - wolfSSL support disabled" >&6; } |
| 17883 |
|
fi |
| 17884 |
|
|
| 14515 |
– |
if test "$warnings" = "yes" ; then |
| 14516 |
– |
CFLAGS="-Wall -Wextra -Wno-unused -Wcast-qual -Wcast-align -Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wredundant-decls -Wshadow -Wwrite-strings -Wundef" |
| 17885 |
|
fi |
| 17886 |
+ |
fi |
| 17887 |
+ |
|
| 17888 |
|
|
| 17889 |
|
|
| 17890 |
|
|
| 17892 |
|
exec_prefix_NONE= |
| 17893 |
|
test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix |
| 17894 |
|
test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix |
| 17895 |
< |
eval ac_define_dir="\"$prefix\"" |
| 17896 |
< |
eval ac_define_dir="\"$ac_define_dir\"" |
| 17897 |
< |
PREFIX="$ac_define_dir" |
| 17895 |
> |
eval ax_define_dir="\"$prefix\"" |
| 17896 |
> |
eval ax_define_dir="\"$ax_define_dir\"" |
| 17897 |
> |
PREFIX="$ax_define_dir" |
| 17898 |
|
|
| 17899 |
|
|
| 17900 |
< |
cat >>confdefs.h <<_ACEOF |
| 14531 |
< |
#define PREFIX "$ac_define_dir" |
| 14532 |
< |
_ACEOF |
| 17900 |
> |
printf "%s\n" "#define PREFIX \"$ax_define_dir\"" >>confdefs.h |
| 17901 |
|
|
| 17902 |
|
test "$prefix_NONE" && prefix=NONE |
| 17903 |
|
test "$exec_prefix_NONE" && exec_prefix=NONE |
| 17907 |
|
exec_prefix_NONE= |
| 17908 |
|
test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix |
| 17909 |
|
test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix |
| 17910 |
< |
eval ac_define_dir="\"$sysconfdir\"" |
| 17911 |
< |
eval ac_define_dir="\"$ac_define_dir\"" |
| 17912 |
< |
SYSCONFDIR="$ac_define_dir" |
| 17910 |
> |
eval ax_define_dir="\"$sysconfdir\"" |
| 17911 |
> |
eval ax_define_dir="\"$ax_define_dir\"" |
| 17912 |
> |
SYSCONFDIR="$ax_define_dir" |
| 17913 |
|
|
| 17914 |
|
|
| 17915 |
< |
cat >>confdefs.h <<_ACEOF |
| 14548 |
< |
#define SYSCONFDIR "$ac_define_dir" |
| 14549 |
< |
_ACEOF |
| 17915 |
> |
printf "%s\n" "#define SYSCONFDIR \"$ax_define_dir\"" >>confdefs.h |
| 17916 |
|
|
| 17917 |
|
test "$prefix_NONE" && prefix=NONE |
| 17918 |
|
test "$exec_prefix_NONE" && exec_prefix=NONE |
| 17922 |
|
exec_prefix_NONE= |
| 17923 |
|
test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix |
| 17924 |
|
test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix |
| 17925 |
< |
eval ac_define_dir="\"$libdir\"" |
| 17926 |
< |
eval ac_define_dir="\"$ac_define_dir\"" |
| 17927 |
< |
LIBDIR="$ac_define_dir" |
| 17925 |
> |
eval ax_define_dir="\"$libdir\"" |
| 17926 |
> |
eval ax_define_dir="\"$ax_define_dir\"" |
| 17927 |
> |
LIBDIR="$ax_define_dir" |
| 17928 |
|
|
| 17929 |
|
|
| 17930 |
< |
cat >>confdefs.h <<_ACEOF |
| 14565 |
< |
#define LIBDIR "$ac_define_dir" |
| 14566 |
< |
_ACEOF |
| 17930 |
> |
printf "%s\n" "#define LIBDIR \"$ax_define_dir\"" >>confdefs.h |
| 17931 |
|
|
| 17932 |
|
test "$prefix_NONE" && prefix=NONE |
| 17933 |
|
test "$exec_prefix_NONE" && exec_prefix=NONE |
| 17937 |
|
exec_prefix_NONE= |
| 17938 |
|
test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix |
| 17939 |
|
test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix |
| 17940 |
< |
eval ac_define_dir="\"$datadir\"" |
| 17941 |
< |
eval ac_define_dir="\"$ac_define_dir\"" |
| 17942 |
< |
DATADIR="$ac_define_dir" |
| 17940 |
> |
eval ax_define_dir="\"$datadir\"" |
| 17941 |
> |
eval ax_define_dir="\"$ax_define_dir\"" |
| 17942 |
> |
DATADIR="$ax_define_dir" |
| 17943 |
|
|
| 17944 |
|
|
| 17945 |
< |
cat >>confdefs.h <<_ACEOF |
| 14582 |
< |
#define DATADIR "$ac_define_dir" |
| 14583 |
< |
_ACEOF |
| 17945 |
> |
printf "%s\n" "#define DATADIR \"$ax_define_dir\"" >>confdefs.h |
| 17946 |
|
|
| 17947 |
|
test "$prefix_NONE" && prefix=NONE |
| 17948 |
|
test "$exec_prefix_NONE" && exec_prefix=NONE |
| 17952 |
|
exec_prefix_NONE= |
| 17953 |
|
test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix |
| 17954 |
|
test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix |
| 17955 |
< |
eval ac_define_dir="\"$localstatedir\"" |
| 17956 |
< |
eval ac_define_dir="\"$ac_define_dir\"" |
| 17957 |
< |
LOCALSTATEDIR="$ac_define_dir" |
| 17955 |
> |
eval ax_define_dir="\"$localstatedir\"" |
| 17956 |
> |
eval ax_define_dir="\"$ax_define_dir\"" |
| 17957 |
> |
LOCALSTATEDIR="$ax_define_dir" |
| 17958 |
|
|
| 17959 |
|
|
| 17960 |
< |
cat >>confdefs.h <<_ACEOF |
| 14599 |
< |
#define LOCALSTATEDIR "$ac_define_dir" |
| 14600 |
< |
_ACEOF |
| 17960 |
> |
printf "%s\n" "#define LOCALSTATEDIR \"$ax_define_dir\"" >>confdefs.h |
| 17961 |
|
|
| 17962 |
|
test "$prefix_NONE" && prefix=NONE |
| 17963 |
|
test "$exec_prefix_NONE" && exec_prefix=NONE |
| 17964 |
|
|
| 17965 |
|
|
| 17966 |
< |
ac_config_files="$ac_config_files Makefile src/Makefile libltdl/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile tools/Makefile" |
| 17966 |
> |
ac_config_files="$ac_config_files Makefile src/Makefile libltdl/Makefile modules/Makefile modules/core/Makefile modules/extra/Makefile doc/Makefile help/Makefile tools/Makefile" |
| 17967 |
|
|
| 17968 |
|
|
| 17969 |
|
cat >confcache <<\_ACEOF |
| 17993 |
|
case $ac_val in #( |
| 17994 |
|
*${as_nl}*) |
| 17995 |
|
case $ac_var in #( |
| 17996 |
< |
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
| 17997 |
< |
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
| 17996 |
> |
*_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
| 17997 |
> |
printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
| 17998 |
|
esac |
| 17999 |
|
case $ac_var in #( |
| 18000 |
|
_ | IFS | as_nl) ;; #( |
| 18024 |
|
/^ac_cv_env_/b end |
| 18025 |
|
t clear |
| 18026 |
|
:clear |
| 18027 |
< |
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
| 18027 |
> |
s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/ |
| 18028 |
|
t end |
| 18029 |
|
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
| 18030 |
|
:end' >>confcache |
| 18031 |
|
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
| 18032 |
|
if test -w "$cache_file"; then |
| 18033 |
|
if test "x$cache_file" != "x/dev/null"; then |
| 18034 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
| 18035 |
< |
$as_echo "$as_me: updating cache $cache_file" >&6;} |
| 18034 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
| 18035 |
> |
printf "%s\n" "$as_me: updating cache $cache_file" >&6;} |
| 18036 |
|
if test ! -f "$cache_file" || test -h "$cache_file"; then |
| 18037 |
|
cat confcache >"$cache_file" |
| 18038 |
|
else |
| 18046 |
|
fi |
| 18047 |
|
fi |
| 18048 |
|
else |
| 18049 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
| 18050 |
< |
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
| 18049 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
| 18050 |
> |
printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;} |
| 18051 |
|
fi |
| 18052 |
|
fi |
| 18053 |
|
rm -f confcache |
| 18064 |
|
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
| 18065 |
|
# 1. Remove the extension, and $U if already installed. |
| 18066 |
|
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
| 18067 |
< |
ac_i=`$as_echo "$ac_i" | sed "$ac_script"` |
| 18067 |
> |
ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"` |
| 18068 |
|
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
| 18069 |
|
# will be set to the directory where LIBOBJS objects are built. |
| 18070 |
|
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
| 18075 |
|
LTLIBOBJS=$ac_ltlibobjs |
| 18076 |
|
|
| 18077 |
|
|
| 18078 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 |
| 18079 |
< |
$as_echo_n "checking that generated files are newer than configure... " >&6; } |
| 18078 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 |
| 18079 |
> |
printf %s "checking that generated files are newer than configure... " >&6; } |
| 18080 |
|
if test -n "$am_sleep_pid"; then |
| 18081 |
|
# Hide warnings about reused PIDs. |
| 18082 |
|
wait $am_sleep_pid 2>/dev/null |
| 18083 |
|
fi |
| 18084 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 |
| 18085 |
< |
$as_echo "done" >&6; } |
| 18084 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5 |
| 18085 |
> |
printf "%s\n" "done" >&6; } |
| 18086 |
|
if test -n "$EXEEXT"; then |
| 18087 |
|
am__EXEEXT_TRUE= |
| 18088 |
|
am__EXEEXT_FALSE='#' |
| 18118 |
|
if test -n "$_LT_LIBOBJS"; then |
| 18119 |
|
# Remove the extension. |
| 18120 |
|
_lt_sed_drop_objext='s/\.o$//;s/\.obj$//' |
| 18121 |
< |
for i in `for i in $_LT_LIBOBJS; do echo "$i"; done | sed "$_lt_sed_drop_objext" | sort -u`; do |
| 18121 |
> |
for i in `for i in $_LT_LIBOBJS; do echo "$i"; done | $SED "$_lt_sed_drop_objext" | sort -u`; do |
| 18122 |
|
_ltdl_libobjs="$_ltdl_libobjs $lt_libobj_prefix$i.$ac_objext" |
| 18123 |
|
_ltdl_ltlibobjs="$_ltdl_ltlibobjs $lt_libobj_prefix$i.lo" |
| 18124 |
|
done |
| 18129 |
|
|
| 18130 |
|
|
| 18131 |
|
|
| 14772 |
– |
if test -z "${ENABLE_SSL_TRUE}" && test -z "${ENABLE_SSL_FALSE}"; then |
| 14773 |
– |
as_fn_error $? "conditional \"ENABLE_SSL\" was never defined. |
| 14774 |
– |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 14775 |
– |
fi |
| 18132 |
|
|
| 18133 |
|
: "${CONFIG_STATUS=./config.status}" |
| 18134 |
|
ac_write_fail=0 |
| 18135 |
|
ac_clean_files_save=$ac_clean_files |
| 18136 |
|
ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
| 18137 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
| 18138 |
< |
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
| 18137 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
| 18138 |
> |
printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;} |
| 18139 |
|
as_write_fail=0 |
| 18140 |
|
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 |
| 18141 |
|
#! $SHELL |
| 18158 |
|
|
| 18159 |
|
# Be more Bourne compatible |
| 18160 |
|
DUALCASE=1; export DUALCASE # for MKS sh |
| 18161 |
< |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
| 18161 |
> |
as_nop=: |
| 18162 |
> |
if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 |
| 18163 |
> |
then : |
| 18164 |
|
emulate sh |
| 18165 |
|
NULLCMD=: |
| 18166 |
|
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
| 18167 |
|
# is contrary to our usage. Disable this feature. |
| 18168 |
|
alias -g '${1+"$@"}'='"$@"' |
| 18169 |
|
setopt NO_GLOB_SUBST |
| 18170 |
< |
else |
| 18170 |
> |
else $as_nop |
| 18171 |
|
case `(set -o) 2>/dev/null` in #( |
| 18172 |
|
*posix*) : |
| 18173 |
|
set -o posix ;; #( |
| 18177 |
|
fi |
| 18178 |
|
|
| 18179 |
|
|
| 18180 |
+ |
|
| 18181 |
+ |
# Reset variables that may have inherited troublesome values from |
| 18182 |
+ |
# the environment. |
| 18183 |
+ |
|
| 18184 |
+ |
# IFS needs to be set, to space, tab, and newline, in precisely that order. |
| 18185 |
+ |
# (If _AS_PATH_WALK were called with IFS unset, it would have the |
| 18186 |
+ |
# side effect of setting IFS to empty, thus disabling word splitting.) |
| 18187 |
+ |
# Quoting is to prevent editors from complaining about space-tab. |
| 18188 |
|
as_nl=' |
| 18189 |
|
' |
| 18190 |
|
export as_nl |
| 18191 |
< |
# Printing a long string crashes Solaris 7 /usr/bin/printf. |
| 18192 |
< |
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
| 18193 |
< |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
| 18194 |
< |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
| 18195 |
< |
# Prefer a ksh shell builtin over an external printf program on Solaris, |
| 18196 |
< |
# but without wasting forks for bash or zsh. |
| 18197 |
< |
if test -z "$BASH_VERSION$ZSH_VERSION" \ |
| 18198 |
< |
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then |
| 18199 |
< |
as_echo='print -r --' |
| 18200 |
< |
as_echo_n='print -rn --' |
| 18201 |
< |
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
| 18202 |
< |
as_echo='printf %s\n' |
| 18203 |
< |
as_echo_n='printf %s' |
| 18204 |
< |
else |
| 18205 |
< |
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
| 18206 |
< |
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
| 18207 |
< |
as_echo_n='/usr/ucb/echo -n' |
| 18208 |
< |
else |
| 18209 |
< |
as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
| 18210 |
< |
as_echo_n_body='eval |
| 18211 |
< |
arg=$1; |
| 18212 |
< |
case $arg in #( |
| 18213 |
< |
*"$as_nl"*) |
| 18214 |
< |
expr "X$arg" : "X\\(.*\\)$as_nl"; |
| 18215 |
< |
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
| 18216 |
< |
esac; |
| 14851 |
< |
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
| 14852 |
< |
' |
| 14853 |
< |
export as_echo_n_body |
| 14854 |
< |
as_echo_n='sh -c $as_echo_n_body as_echo' |
| 14855 |
< |
fi |
| 14856 |
< |
export as_echo_body |
| 14857 |
< |
as_echo='sh -c $as_echo_body as_echo' |
| 14858 |
< |
fi |
| 18191 |
> |
IFS=" "" $as_nl" |
| 18192 |
> |
|
| 18193 |
> |
PS1='$ ' |
| 18194 |
> |
PS2='> ' |
| 18195 |
> |
PS4='+ ' |
| 18196 |
> |
|
| 18197 |
> |
# Ensure predictable behavior from utilities with locale-dependent output. |
| 18198 |
> |
LC_ALL=C |
| 18199 |
> |
export LC_ALL |
| 18200 |
> |
LANGUAGE=C |
| 18201 |
> |
export LANGUAGE |
| 18202 |
> |
|
| 18203 |
> |
# We cannot yet rely on "unset" to work, but we need these variables |
| 18204 |
> |
# to be unset--not just set to an empty or harmless value--now, to |
| 18205 |
> |
# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct |
| 18206 |
> |
# also avoids known problems related to "unset" and subshell syntax |
| 18207 |
> |
# in other old shells (e.g. bash 2.01 and pdksh 5.2.14). |
| 18208 |
> |
for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH |
| 18209 |
> |
do eval test \${$as_var+y} \ |
| 18210 |
> |
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
| 18211 |
> |
done |
| 18212 |
> |
|
| 18213 |
> |
# Ensure that fds 0, 1, and 2 are open. |
| 18214 |
> |
if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi |
| 18215 |
> |
if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi |
| 18216 |
> |
if (exec 3>&2) ; then :; else exec 2>/dev/null; fi |
| 18217 |
|
|
| 18218 |
|
# The user is always right. |
| 18219 |
< |
if test "${PATH_SEPARATOR+set}" != set; then |
| 18219 |
> |
if ${PATH_SEPARATOR+false} :; then |
| 18220 |
|
PATH_SEPARATOR=: |
| 18221 |
|
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
| 18222 |
|
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
| 18225 |
|
fi |
| 18226 |
|
|
| 18227 |
|
|
| 14870 |
– |
# IFS |
| 14871 |
– |
# We need space, tab and new line, in precisely that order. Quoting is |
| 14872 |
– |
# there to prevent editors from complaining about space-tab. |
| 14873 |
– |
# (If _AS_PATH_WALK were called with IFS unset, it would disable word |
| 14874 |
– |
# splitting by setting IFS to empty value.) |
| 14875 |
– |
IFS=" "" $as_nl" |
| 14876 |
– |
|
| 18228 |
|
# Find who we are. Look in the path if we contain no directory separator. |
| 18229 |
|
as_myself= |
| 18230 |
|
case $0 in #(( |
| 18233 |
|
for as_dir in $PATH |
| 18234 |
|
do |
| 18235 |
|
IFS=$as_save_IFS |
| 18236 |
< |
test -z "$as_dir" && as_dir=. |
| 18237 |
< |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
| 18236 |
> |
case $as_dir in #((( |
| 18237 |
> |
'') as_dir=./ ;; |
| 18238 |
> |
*/) ;; |
| 18239 |
> |
*) as_dir=$as_dir/ ;; |
| 18240 |
> |
esac |
| 18241 |
> |
test -r "$as_dir$0" && as_myself=$as_dir$0 && break |
| 18242 |
|
done |
| 18243 |
|
IFS=$as_save_IFS |
| 18244 |
|
|
| 18250 |
|
as_myself=$0 |
| 18251 |
|
fi |
| 18252 |
|
if test ! -f "$as_myself"; then |
| 18253 |
< |
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
| 18253 |
> |
printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
| 18254 |
|
exit 1 |
| 18255 |
|
fi |
| 18256 |
|
|
| 14902 |
– |
# Unset variables that we do not need and which cause bugs (e.g. in |
| 14903 |
– |
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" |
| 14904 |
– |
# suppresses any "Segmentation fault" message there. '((' could |
| 14905 |
– |
# trigger a bug in pdksh 5.2.14. |
| 14906 |
– |
for as_var in BASH_ENV ENV MAIL MAILPATH |
| 14907 |
– |
do eval test x\${$as_var+set} = xset \ |
| 14908 |
– |
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
| 14909 |
– |
done |
| 14910 |
– |
PS1='$ ' |
| 14911 |
– |
PS2='> ' |
| 14912 |
– |
PS4='+ ' |
| 14913 |
– |
|
| 14914 |
– |
# NLS nuisances. |
| 14915 |
– |
LC_ALL=C |
| 14916 |
– |
export LC_ALL |
| 14917 |
– |
LANGUAGE=C |
| 14918 |
– |
export LANGUAGE |
| 14919 |
– |
|
| 14920 |
– |
# CDPATH. |
| 14921 |
– |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
| 18257 |
|
|
| 18258 |
|
|
| 18259 |
|
# as_fn_error STATUS ERROR [LINENO LOG_FD] |
| 18266 |
|
as_status=$1; test $as_status -eq 0 && as_status=1 |
| 18267 |
|
if test "$4"; then |
| 18268 |
|
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 18269 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
| 18269 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
| 18270 |
|
fi |
| 18271 |
< |
$as_echo "$as_me: error: $2" >&2 |
| 18271 |
> |
printf "%s\n" "$as_me: error: $2" >&2 |
| 18272 |
|
as_fn_exit $as_status |
| 18273 |
|
} # as_fn_error |
| 18274 |
|
|
| 18275 |
|
|
| 18276 |
+ |
|
| 18277 |
|
# as_fn_set_status STATUS |
| 18278 |
|
# ----------------------- |
| 18279 |
|
# Set $? to STATUS, without forking. |
| 18300 |
|
{ eval $1=; unset $1;} |
| 18301 |
|
} |
| 18302 |
|
as_unset=as_fn_unset |
| 18303 |
+ |
|
| 18304 |
|
# as_fn_append VAR VALUE |
| 18305 |
|
# ---------------------- |
| 18306 |
|
# Append the text in VALUE to the end of the definition contained in VAR. Take |
| 18307 |
|
# advantage of any shell optimizations that allow amortized linear growth over |
| 18308 |
|
# repeated appends, instead of the typical quadratic growth present in naive |
| 18309 |
|
# implementations. |
| 18310 |
< |
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : |
| 18310 |
> |
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null |
| 18311 |
> |
then : |
| 18312 |
|
eval 'as_fn_append () |
| 18313 |
|
{ |
| 18314 |
|
eval $1+=\$2 |
| 18315 |
|
}' |
| 18316 |
< |
else |
| 18316 |
> |
else $as_nop |
| 18317 |
|
as_fn_append () |
| 18318 |
|
{ |
| 18319 |
|
eval $1=\$$1\$2 |
| 18325 |
|
# Perform arithmetic evaluation on the ARGs, and store the result in the |
| 18326 |
|
# global $as_val. Take advantage of shells that can avoid forks. The arguments |
| 18327 |
|
# must be portable across $(()) and expr. |
| 18328 |
< |
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : |
| 18328 |
> |
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null |
| 18329 |
> |
then : |
| 18330 |
|
eval 'as_fn_arith () |
| 18331 |
|
{ |
| 18332 |
|
as_val=$(( $* )) |
| 18333 |
|
}' |
| 18334 |
< |
else |
| 18334 |
> |
else $as_nop |
| 18335 |
|
as_fn_arith () |
| 18336 |
|
{ |
| 18337 |
|
as_val=`expr "$@" || test $? -eq 1` |
| 18362 |
|
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
| 18363 |
|
X"$0" : 'X\(//\)$' \| \ |
| 18364 |
|
X"$0" : 'X\(/\)' \| . 2>/dev/null || |
| 18365 |
< |
$as_echo X/"$0" | |
| 18365 |
> |
printf "%s\n" X/"$0" | |
| 18366 |
|
sed '/^.*\/\([^/][^/]*\)\/*$/{ |
| 18367 |
|
s//\1/ |
| 18368 |
|
q |
| 18384 |
|
as_cr_digits='0123456789' |
| 18385 |
|
as_cr_alnum=$as_cr_Letters$as_cr_digits |
| 18386 |
|
|
| 18387 |
+ |
|
| 18388 |
+ |
# Determine whether it's possible to make 'echo' print without a newline. |
| 18389 |
+ |
# These variables are no longer used directly by Autoconf, but are AC_SUBSTed |
| 18390 |
+ |
# for compatibility with existing Makefiles. |
| 18391 |
|
ECHO_C= ECHO_N= ECHO_T= |
| 18392 |
|
case `echo -n x` in #((((( |
| 18393 |
|
-n*) |
| 18401 |
|
ECHO_N='-n';; |
| 18402 |
|
esac |
| 18403 |
|
|
| 18404 |
+ |
# For backward compatibility with old third-party macros, we provide |
| 18405 |
+ |
# the shell variables $as_echo and $as_echo_n. New code should use |
| 18406 |
+ |
# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. |
| 18407 |
+ |
as_echo='printf %s\n' |
| 18408 |
+ |
as_echo_n='printf %s' |
| 18409 |
+ |
|
| 18410 |
|
rm -f conf$$ conf$$.exe conf$$.file |
| 18411 |
|
if test -d conf$$.dir; then |
| 18412 |
|
rm -f conf$$.dir/conf$$.file |
| 18448 |
|
as_dirs= |
| 18449 |
|
while :; do |
| 18450 |
|
case $as_dir in #( |
| 18451 |
< |
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
| 18451 |
> |
*\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
| 18452 |
|
*) as_qdir=$as_dir;; |
| 18453 |
|
esac |
| 18454 |
|
as_dirs="'$as_qdir' $as_dirs" |
| 18457 |
|
X"$as_dir" : 'X\(//\)[^/]' \| \ |
| 18458 |
|
X"$as_dir" : 'X\(//\)$' \| \ |
| 18459 |
|
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
| 18460 |
< |
$as_echo X"$as_dir" | |
| 18460 |
> |
printf "%s\n" X"$as_dir" | |
| 18461 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 18462 |
|
s//\1/ |
| 18463 |
|
q |
| 18519 |
|
# report actual input values of CONFIG_FILES etc. instead of their |
| 18520 |
|
# values after options handling. |
| 18521 |
|
ac_log=" |
| 18522 |
< |
This file was extended by ircd-hybrid $as_me TRUNK, which was |
| 18523 |
< |
generated by GNU Autoconf 2.69. Invocation command line was |
| 18522 |
> |
This file was extended by ircd-hybrid $as_me 8.2.41, which was |
| 18523 |
> |
generated by GNU Autoconf 2.71. Invocation command line was |
| 18524 |
|
|
| 18525 |
|
CONFIG_FILES = $CONFIG_FILES |
| 18526 |
|
CONFIG_HEADERS = $CONFIG_HEADERS |
| 18582 |
|
Report bugs to <bugs@ircd-hybrid.org>." |
| 18583 |
|
|
| 18584 |
|
_ACEOF |
| 18585 |
+ |
ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"` |
| 18586 |
+ |
ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"` |
| 18587 |
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 18588 |
< |
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
| 18588 |
> |
ac_cs_config='$ac_cs_config_escaped' |
| 18589 |
|
ac_cs_version="\\ |
| 18590 |
< |
ircd-hybrid config.status TRUNK |
| 18591 |
< |
configured by $0, generated by GNU Autoconf 2.69, |
| 18590 |
> |
ircd-hybrid config.status 8.2.41 |
| 18591 |
> |
configured by $0, generated by GNU Autoconf 2.71, |
| 18592 |
|
with options \\"\$ac_cs_config\\" |
| 18593 |
|
|
| 18594 |
< |
Copyright (C) 2012 Free Software Foundation, Inc. |
| 18594 |
> |
Copyright (C) 2021 Free Software Foundation, Inc. |
| 18595 |
|
This config.status script is free software; the Free Software Foundation |
| 18596 |
|
gives unlimited permission to copy, distribute and modify it." |
| 18597 |
|
|
| 18631 |
|
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
| 18632 |
|
ac_cs_recheck=: ;; |
| 18633 |
|
--version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
| 18634 |
< |
$as_echo "$ac_cs_version"; exit ;; |
| 18634 |
> |
printf "%s\n" "$ac_cs_version"; exit ;; |
| 18635 |
|
--config | --confi | --conf | --con | --co | --c ) |
| 18636 |
< |
$as_echo "$ac_cs_config"; exit ;; |
| 18636 |
> |
printf "%s\n" "$ac_cs_config"; exit ;; |
| 18637 |
|
--debug | --debu | --deb | --de | --d | -d ) |
| 18638 |
|
debug=: ;; |
| 18639 |
|
--file | --fil | --fi | --f ) |
| 18640 |
|
$ac_shift |
| 18641 |
|
case $ac_optarg in |
| 18642 |
< |
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 18642 |
> |
*\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 18643 |
|
'') as_fn_error $? "missing file argument" ;; |
| 18644 |
|
esac |
| 18645 |
|
as_fn_append CONFIG_FILES " '$ac_optarg'" |
| 18647 |
|
--header | --heade | --head | --hea ) |
| 18648 |
|
$ac_shift |
| 18649 |
|
case $ac_optarg in |
| 18650 |
< |
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 18650 |
> |
*\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 18651 |
|
esac |
| 18652 |
|
as_fn_append CONFIG_HEADERS " '$ac_optarg'" |
| 18653 |
|
ac_need_defaults=false;; |
| 18656 |
|
as_fn_error $? "ambiguous option: \`$1' |
| 18657 |
|
Try \`$0 --help' for more information.";; |
| 18658 |
|
--help | --hel | -h ) |
| 18659 |
< |
$as_echo "$ac_cs_usage"; exit ;; |
| 18659 |
> |
printf "%s\n" "$ac_cs_usage"; exit ;; |
| 18660 |
|
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
| 18661 |
|
| -silent | --silent | --silen | --sile | --sil | --si | --s) |
| 18662 |
|
ac_cs_silent=: ;; |
| 18684 |
|
if \$ac_cs_recheck; then |
| 18685 |
|
set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
| 18686 |
|
shift |
| 18687 |
< |
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
| 18687 |
> |
\printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6 |
| 18688 |
|
CONFIG_SHELL='$SHELL' |
| 18689 |
|
export CONFIG_SHELL |
| 18690 |
|
exec "\$@" |
| 18698 |
|
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
| 18699 |
|
## Running $as_me. ## |
| 18700 |
|
_ASBOX |
| 18701 |
< |
$as_echo "$ac_log" |
| 18701 |
> |
printf "%s\n" "$ac_log" |
| 18702 |
|
} >&5 |
| 18703 |
|
|
| 18704 |
|
_ACEOF |
| 18706 |
|
# |
| 18707 |
|
# INIT-COMMANDS |
| 18708 |
|
# |
| 18709 |
< |
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" |
| 18709 |
> |
AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}" |
| 18710 |
|
|
| 18711 |
|
|
| 18712 |
|
# The HP-UX ksh and POSIX shell print the target directory to stdout |
| 18722 |
|
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' |
| 18723 |
|
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' |
| 18724 |
|
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' |
| 18725 |
+ |
shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`' |
| 18726 |
|
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' |
| 18727 |
|
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' |
| 18728 |
|
PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' |
| 18750 |
|
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' |
| 18751 |
|
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' |
| 18752 |
|
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' |
| 18753 |
+ |
FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`' |
| 18754 |
|
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' |
| 18755 |
|
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' |
| 18756 |
|
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' |
| 18759 |
|
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' |
| 18760 |
|
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' |
| 18761 |
|
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' |
| 18762 |
+ |
lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`' |
| 18763 |
|
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' |
| 18764 |
|
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' |
| 18765 |
|
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' |
| 18774 |
|
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' |
| 18775 |
|
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' |
| 18776 |
|
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' |
| 18777 |
+ |
lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' |
| 18778 |
|
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' |
| 18779 |
|
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' |
| 18780 |
+ |
lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`' |
| 18781 |
|
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' |
| 18782 |
|
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' |
| 18783 |
+ |
lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`' |
| 18784 |
|
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' |
| 18785 |
|
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' |
| 18786 |
|
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' |
| 18845 |
|
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' |
| 18846 |
|
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' |
| 18847 |
|
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' |
| 18848 |
< |
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`' |
| 18848 |
> |
configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`' |
| 18849 |
> |
configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`' |
| 18850 |
|
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' |
| 18851 |
|
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' |
| 18852 |
|
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' |
| 18880 |
|
lt_SP2NL \ |
| 18881 |
|
lt_NL2SP \ |
| 18882 |
|
reload_flag \ |
| 18883 |
+ |
FILECMD \ |
| 18884 |
|
OBJDUMP \ |
| 18885 |
|
deplibs_check_method \ |
| 18886 |
|
file_magic_cmd \ |
| 18889 |
|
DLLTOOL \ |
| 18890 |
|
sharedlib_from_linklib_cmd \ |
| 18891 |
|
AR \ |
| 15533 |
– |
AR_FLAGS \ |
| 18892 |
|
archiver_list_spec \ |
| 18893 |
|
STRIP \ |
| 18894 |
|
RANLIB \ |
| 18897 |
|
compiler \ |
| 18898 |
|
lt_cv_sys_global_symbol_pipe \ |
| 18899 |
|
lt_cv_sys_global_symbol_to_cdecl \ |
| 18900 |
+ |
lt_cv_sys_global_symbol_to_import \ |
| 18901 |
|
lt_cv_sys_global_symbol_to_c_name_address \ |
| 18902 |
|
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ |
| 18903 |
+ |
lt_cv_nm_interface \ |
| 18904 |
|
nm_file_list_spec \ |
| 18905 |
+ |
lt_cv_truncate_bin \ |
| 18906 |
|
lt_prog_compiler_no_builtin_flag \ |
| 18907 |
|
lt_prog_compiler_pic \ |
| 18908 |
|
lt_prog_compiler_wl \ |
| 18937 |
|
striplib; do |
| 18938 |
|
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in |
| 18939 |
|
*[\\\\\\\`\\"\\\$]*) |
| 18940 |
< |
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" |
| 18940 |
> |
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes |
| 18941 |
|
;; |
| 18942 |
|
*) |
| 18943 |
|
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" |
| 18964 |
|
postuninstall_cmds \ |
| 18965 |
|
finish_cmds \ |
| 18966 |
|
sys_lib_search_path_spec \ |
| 18967 |
< |
sys_lib_dlsearch_path_spec; do |
| 18967 |
> |
configure_time_dlsearch_path \ |
| 18968 |
> |
configure_time_lt_sys_library_path; do |
| 18969 |
|
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in |
| 18970 |
|
*[\\\\\\\`\\"\\\$]*) |
| 18971 |
< |
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" |
| 18971 |
> |
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes |
| 18972 |
|
;; |
| 18973 |
|
*) |
| 18974 |
|
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" |
| 18977 |
|
done |
| 18978 |
|
|
| 18979 |
|
ac_aux_dir='$ac_aux_dir' |
| 15618 |
– |
xsi_shell='$xsi_shell' |
| 15619 |
– |
lt_shell_append='$lt_shell_append' |
| 18980 |
|
|
| 18981 |
< |
# See if we are running on zsh, and set the options which allow our |
| 18981 |
> |
# See if we are running on zsh, and set the options that allow our |
| 18982 |
|
# commands through without removal of \ escapes INIT. |
| 18983 |
< |
if test -n "\${ZSH_VERSION+set}" ; then |
| 18983 |
> |
if test -n "\${ZSH_VERSION+set}"; then |
| 18984 |
|
setopt NO_GLOB_SUBST |
| 18985 |
|
fi |
| 18986 |
|
|
| 18987 |
|
|
| 18988 |
|
PACKAGE='$PACKAGE' |
| 18989 |
|
VERSION='$VERSION' |
| 15630 |
– |
TIMESTAMP='$TIMESTAMP' |
| 18990 |
|
RM='$RM' |
| 18991 |
|
ofile='$ofile' |
| 18992 |
|
|
| 19009 |
|
"libltdl/Makefile") CONFIG_FILES="$CONFIG_FILES libltdl/Makefile" ;; |
| 19010 |
|
"modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;; |
| 19011 |
|
"modules/core/Makefile") CONFIG_FILES="$CONFIG_FILES modules/core/Makefile" ;; |
| 19012 |
+ |
"modules/extra/Makefile") CONFIG_FILES="$CONFIG_FILES modules/extra/Makefile" ;; |
| 19013 |
|
"doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
| 19014 |
|
"help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;; |
| 19015 |
|
"tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;; |
| 19024 |
|
# We use the long form for the default assignment because of an extremely |
| 19025 |
|
# bizarre bug on SunOS 4.1.3. |
| 19026 |
|
if $ac_need_defaults; then |
| 19027 |
< |
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files |
| 19028 |
< |
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers |
| 19029 |
< |
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands |
| 19027 |
> |
test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files |
| 19028 |
> |
test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers |
| 19029 |
> |
test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands |
| 19030 |
|
fi |
| 19031 |
|
|
| 19032 |
|
# Have a temporary directory for convenience. Make it in the build tree |
| 19362 |
|
esac || |
| 19363 |
|
as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; |
| 19364 |
|
esac |
| 19365 |
< |
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
| 19365 |
> |
case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
| 19366 |
|
as_fn_append ac_file_inputs " '$ac_f'" |
| 19367 |
|
done |
| 19368 |
|
|
| 19370 |
|
# use $as_me), people would be surprised to read: |
| 19371 |
|
# /* config.h. Generated by config.status. */ |
| 19372 |
|
configure_input='Generated from '` |
| 19373 |
< |
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' |
| 19373 |
> |
printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' |
| 19374 |
|
`' by configure.' |
| 19375 |
|
if test x"$ac_file" != x-; then |
| 19376 |
|
configure_input="$ac_file. $configure_input" |
| 19377 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 |
| 19378 |
< |
$as_echo "$as_me: creating $ac_file" >&6;} |
| 19377 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 |
| 19378 |
> |
printf "%s\n" "$as_me: creating $ac_file" >&6;} |
| 19379 |
|
fi |
| 19380 |
|
# Neutralize special characters interpreted by sed in replacement strings. |
| 19381 |
|
case $configure_input in #( |
| 19382 |
|
*\&* | *\|* | *\\* ) |
| 19383 |
< |
ac_sed_conf_input=`$as_echo "$configure_input" | |
| 19383 |
> |
ac_sed_conf_input=`printf "%s\n" "$configure_input" | |
| 19384 |
|
sed 's/[\\\\&|]/\\\\&/g'`;; #( |
| 19385 |
|
*) ac_sed_conf_input=$configure_input;; |
| 19386 |
|
esac |
| 19397 |
|
X"$ac_file" : 'X\(//\)[^/]' \| \ |
| 19398 |
|
X"$ac_file" : 'X\(//\)$' \| \ |
| 19399 |
|
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || |
| 19400 |
< |
$as_echo X"$ac_file" | |
| 19400 |
> |
printf "%s\n" X"$ac_file" | |
| 19401 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 19402 |
|
s//\1/ |
| 19403 |
|
q |
| 19421 |
|
case "$ac_dir" in |
| 19422 |
|
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
| 19423 |
|
*) |
| 19424 |
< |
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
| 19424 |
> |
ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` |
| 19425 |
|
# A ".." for each directory in $ac_dir_suffix. |
| 19426 |
< |
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
| 19426 |
> |
ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
| 19427 |
|
case $ac_top_builddir_sub in |
| 19428 |
|
"") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
| 19429 |
|
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
| 19485 |
|
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in |
| 19486 |
|
*datarootdir*) ac_datarootdir_seen=yes;; |
| 19487 |
|
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
| 19488 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
| 19489 |
< |
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
| 19488 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
| 19489 |
> |
printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
| 19490 |
|
_ACEOF |
| 19491 |
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 19492 |
|
ac_datarootdir_hack=' |
| 19530 |
|
{ ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && |
| 19531 |
|
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ |
| 19532 |
|
"$ac_tmp/out"`; test -z "$ac_out"; } && |
| 19533 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
| 19533 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
| 19534 |
|
which seems to be undefined. Please make sure it is defined" >&5 |
| 19535 |
< |
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
| 19535 |
> |
printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
| 19536 |
|
which seems to be undefined. Please make sure it is defined" >&2;} |
| 19537 |
|
|
| 19538 |
|
rm -f "$ac_tmp/stdin" |
| 19548 |
|
# |
| 19549 |
|
if test x"$ac_file" != x-; then |
| 19550 |
|
{ |
| 19551 |
< |
$as_echo "/* $configure_input */" \ |
| 19551 |
> |
printf "%s\n" "/* $configure_input */" >&1 \ |
| 19552 |
|
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" |
| 19553 |
|
} >"$ac_tmp/config.h" \ |
| 19554 |
|
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
| 19555 |
|
if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then |
| 19556 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 |
| 19557 |
< |
$as_echo "$as_me: $ac_file is unchanged" >&6;} |
| 19556 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 |
| 19557 |
> |
printf "%s\n" "$as_me: $ac_file is unchanged" >&6;} |
| 19558 |
|
else |
| 19559 |
|
rm -f "$ac_file" |
| 19560 |
|
mv "$ac_tmp/config.h" "$ac_file" \ |
| 19561 |
|
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
| 19562 |
|
fi |
| 19563 |
|
else |
| 19564 |
< |
$as_echo "/* $configure_input */" \ |
| 19564 |
> |
printf "%s\n" "/* $configure_input */" >&1 \ |
| 19565 |
|
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ |
| 19566 |
|
|| as_fn_error $? "could not create -" "$LINENO" 5 |
| 19567 |
|
fi |
| 19581 |
|
X"$_am_arg" : 'X\(//\)[^/]' \| \ |
| 19582 |
|
X"$_am_arg" : 'X\(//\)$' \| \ |
| 19583 |
|
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || |
| 19584 |
< |
$as_echo X"$_am_arg" | |
| 19584 |
> |
printf "%s\n" X"$_am_arg" | |
| 19585 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 19586 |
|
s//\1/ |
| 19587 |
|
q |
| 19601 |
|
s/.*/./; q'`/stamp-h$_am_stamp_count |
| 19602 |
|
;; |
| 19603 |
|
|
| 19604 |
< |
:C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 |
| 19605 |
< |
$as_echo "$as_me: executing $ac_file commands" >&6;} |
| 19604 |
> |
:C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 |
| 19605 |
> |
printf "%s\n" "$as_me: executing $ac_file commands" >&6;} |
| 19606 |
|
;; |
| 19607 |
|
esac |
| 19608 |
|
|
| 19612 |
|
# Older Autoconf quotes --file arguments for eval, but not when files |
| 19613 |
|
# are listed without --file. Let's play safe and only enable the eval |
| 19614 |
|
# if we detect the quoting. |
| 19615 |
< |
case $CONFIG_FILES in |
| 19616 |
< |
*\'*) eval set x "$CONFIG_FILES" ;; |
| 19617 |
< |
*) set x $CONFIG_FILES ;; |
| 19618 |
< |
esac |
| 19615 |
> |
# TODO: see whether this extra hack can be removed once we start |
| 19616 |
> |
# requiring Autoconf 2.70 or later. |
| 19617 |
> |
case $CONFIG_FILES in #( |
| 19618 |
> |
*\'*) : |
| 19619 |
> |
eval set x "$CONFIG_FILES" ;; #( |
| 19620 |
> |
*) : |
| 19621 |
> |
set x $CONFIG_FILES ;; #( |
| 19622 |
> |
*) : |
| 19623 |
> |
;; |
| 19624 |
> |
esac |
| 19625 |
|
shift |
| 19626 |
< |
for mf |
| 19626 |
> |
# Used to flag and report bootstrapping failures. |
| 19627 |
> |
am_rc=0 |
| 19628 |
> |
for am_mf |
| 19629 |
|
do |
| 19630 |
|
# Strip MF so we end up with the name of the file. |
| 19631 |
< |
mf=`echo "$mf" | sed -e 's/:.*$//'` |
| 19632 |
< |
# Check whether this is an Automake generated Makefile or not. |
| 19633 |
< |
# We used to match only the files named 'Makefile.in', but |
| 19634 |
< |
# some people rename them; so instead we look at the file content. |
| 16267 |
< |
# Grep'ing the first line is not enough: some people post-process |
| 16268 |
< |
# each Makefile.in and add a new line on top of each file to say so. |
| 16269 |
< |
# Grep'ing the whole file is not good either: AIX grep has a line |
| 19631 |
> |
am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'` |
| 19632 |
> |
# Check whether this is an Automake generated Makefile which includes |
| 19633 |
> |
# dependency-tracking related rules and includes. |
| 19634 |
> |
# Grep'ing the whole file directly is not great: AIX grep has a line |
| 19635 |
|
# limit of 2048, but all sed's we know have understand at least 4000. |
| 19636 |
< |
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then |
| 19637 |
< |
dirpart=`$as_dirname -- "$mf" || |
| 19638 |
< |
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 19639 |
< |
X"$mf" : 'X\(//\)[^/]' \| \ |
| 19640 |
< |
X"$mf" : 'X\(//\)$' \| \ |
| 19641 |
< |
X"$mf" : 'X\(/\)' \| . 2>/dev/null || |
| 19642 |
< |
$as_echo X"$mf" | |
| 19636 |
> |
sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \ |
| 19637 |
> |
|| continue |
| 19638 |
> |
am_dirpart=`$as_dirname -- "$am_mf" || |
| 19639 |
> |
$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 19640 |
> |
X"$am_mf" : 'X\(//\)[^/]' \| \ |
| 19641 |
> |
X"$am_mf" : 'X\(//\)$' \| \ |
| 19642 |
> |
X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || |
| 19643 |
> |
printf "%s\n" X"$am_mf" | |
| 19644 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 19645 |
|
s//\1/ |
| 19646 |
|
q |
| 19658 |
|
q |
| 19659 |
|
} |
| 19660 |
|
s/.*/./; q'` |
| 19661 |
< |
else |
| 19662 |
< |
continue |
| 19663 |
< |
fi |
| 19664 |
< |
# Extract the definition of DEPDIR, am__include, and am__quote |
| 19665 |
< |
# from the Makefile without running 'make'. |
| 19666 |
< |
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
| 16301 |
< |
test -z "$DEPDIR" && continue |
| 16302 |
< |
am__include=`sed -n 's/^am__include = //p' < "$mf"` |
| 16303 |
< |
test -z "$am__include" && continue |
| 16304 |
< |
am__quote=`sed -n 's/^am__quote = //p' < "$mf"` |
| 16305 |
< |
# Find all dependency output files, they are included files with |
| 16306 |
< |
# $(DEPDIR) in their names. We invoke sed twice because it is the |
| 16307 |
< |
# simplest approach to changing $(DEPDIR) to its actual value in the |
| 16308 |
< |
# expansion. |
| 16309 |
< |
for file in `sed -n " |
| 16310 |
< |
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ |
| 16311 |
< |
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do |
| 16312 |
< |
# Make sure the directory exists. |
| 16313 |
< |
test -f "$dirpart/$file" && continue |
| 16314 |
< |
fdir=`$as_dirname -- "$file" || |
| 16315 |
< |
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 16316 |
< |
X"$file" : 'X\(//\)[^/]' \| \ |
| 16317 |
< |
X"$file" : 'X\(//\)$' \| \ |
| 16318 |
< |
X"$file" : 'X\(/\)' \| . 2>/dev/null || |
| 16319 |
< |
$as_echo X"$file" | |
| 16320 |
< |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 16321 |
< |
s//\1/ |
| 16322 |
< |
q |
| 16323 |
< |
} |
| 16324 |
< |
/^X\(\/\/\)[^/].*/{ |
| 19661 |
> |
am_filepart=`$as_basename -- "$am_mf" || |
| 19662 |
> |
$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \ |
| 19663 |
> |
X"$am_mf" : 'X\(//\)$' \| \ |
| 19664 |
> |
X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || |
| 19665 |
> |
printf "%s\n" X/"$am_mf" | |
| 19666 |
> |
sed '/^.*\/\([^/][^/]*\)\/*$/{ |
| 19667 |
|
s//\1/ |
| 19668 |
|
q |
| 19669 |
|
} |
| 19670 |
< |
/^X\(\/\/\)$/{ |
| 19670 |
> |
/^X\/\(\/\/\)$/{ |
| 19671 |
|
s//\1/ |
| 19672 |
|
q |
| 19673 |
|
} |
| 19674 |
< |
/^X\(\/\).*/{ |
| 19674 |
> |
/^X\/\(\/\).*/{ |
| 19675 |
|
s//\1/ |
| 19676 |
|
q |
| 19677 |
|
} |
| 19678 |
|
s/.*/./; q'` |
| 19679 |
< |
as_dir=$dirpart/$fdir; as_fn_mkdir_p |
| 19680 |
< |
# echo "creating $dirpart/$file" |
| 19681 |
< |
echo '# dummy' > "$dirpart/$file" |
| 19682 |
< |
done |
| 19679 |
> |
{ echo "$as_me:$LINENO: cd "$am_dirpart" \ |
| 19680 |
> |
&& sed -e '/# am--include-marker/d' "$am_filepart" \ |
| 19681 |
> |
| $MAKE -f - am--depfiles" >&5 |
| 19682 |
> |
(cd "$am_dirpart" \ |
| 19683 |
> |
&& sed -e '/# am--include-marker/d' "$am_filepart" \ |
| 19684 |
> |
| $MAKE -f - am--depfiles) >&5 2>&5 |
| 19685 |
> |
ac_status=$? |
| 19686 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 19687 |
> |
(exit $ac_status); } || am_rc=$? |
| 19688 |
|
done |
| 19689 |
+ |
if test $am_rc -ne 0; then |
| 19690 |
+ |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 19691 |
+ |
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 19692 |
+ |
as_fn_error $? "Something went wrong bootstrapping makefile fragments |
| 19693 |
+ |
for automatic dependency tracking. If GNU make was not used, consider |
| 19694 |
+ |
re-running the configure script with MAKE=\"gmake\" (or whatever is |
| 19695 |
+ |
necessary). You can also try re-running configure with the |
| 19696 |
+ |
'--disable-dependency-tracking' option to at least be able to build |
| 19697 |
+ |
the package (albeit without support for automatic dependency tracking). |
| 19698 |
+ |
See \`config.log' for more details" "$LINENO" 5; } |
| 19699 |
+ |
fi |
| 19700 |
+ |
{ am_dirpart=; unset am_dirpart;} |
| 19701 |
+ |
{ am_filepart=; unset am_filepart;} |
| 19702 |
+ |
{ am_mf=; unset am_mf;} |
| 19703 |
+ |
{ am_rc=; unset am_rc;} |
| 19704 |
+ |
rm -f conftest-deps.mk |
| 19705 |
|
} |
| 19706 |
|
;; |
| 19707 |
|
"libtool":C) |
| 19708 |
|
|
| 19709 |
< |
# See if we are running on zsh, and set the options which allow our |
| 19709 |
> |
# See if we are running on zsh, and set the options that allow our |
| 19710 |
|
# commands through without removal of \ escapes. |
| 19711 |
< |
if test -n "${ZSH_VERSION+set}" ; then |
| 19711 |
> |
if test -n "${ZSH_VERSION+set}"; then |
| 19712 |
|
setopt NO_GLOB_SUBST |
| 19713 |
|
fi |
| 19714 |
|
|
| 19715 |
< |
cfgfile="${ofile}T" |
| 19715 |
> |
cfgfile=${ofile}T |
| 19716 |
|
trap "$RM \"$cfgfile\"; exit 1" 1 2 15 |
| 19717 |
|
$RM "$cfgfile" |
| 19718 |
|
|
| 19719 |
|
cat <<_LT_EOF >> "$cfgfile" |
| 19720 |
|
#! $SHELL |
| 19721 |
< |
|
| 16359 |
< |
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. |
| 16360 |
< |
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION |
| 19721 |
> |
# Generated automatically by $as_me ($PACKAGE) $VERSION |
| 19722 |
|
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: |
| 19723 |
|
# NOTE: Changes made to this file will be lost: look at ltmain.sh. |
| 19724 |
+ |
|
| 19725 |
+ |
# Provide generalized library-building support services. |
| 19726 |
+ |
# Written by Gordon Matzigkeit, 1996 |
| 19727 |
+ |
|
| 19728 |
+ |
# Copyright (C) 2014 Free Software Foundation, Inc. |
| 19729 |
+ |
# This is free software; see the source for copying conditions. There is NO |
| 19730 |
+ |
# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
| 19731 |
+ |
|
| 19732 |
+ |
# GNU Libtool is free software; you can redistribute it and/or modify |
| 19733 |
+ |
# it under the terms of the GNU General Public License as published by |
| 19734 |
+ |
# the Free Software Foundation; either version 2 of of the License, or |
| 19735 |
+ |
# (at your option) any later version. |
| 19736 |
|
# |
| 19737 |
< |
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, |
| 19738 |
< |
# 2006, 2007, 2008, 2009, 2010, 2011 Free Software |
| 19739 |
< |
# Foundation, Inc. |
| 19740 |
< |
# Written by Gordon Matzigkeit, 1996 |
| 16368 |
< |
# |
| 16369 |
< |
# This file is part of GNU Libtool. |
| 16370 |
< |
# |
| 16371 |
< |
# GNU Libtool is free software; you can redistribute it and/or |
| 16372 |
< |
# modify it under the terms of the GNU General Public License as |
| 16373 |
< |
# published by the Free Software Foundation; either version 2 of |
| 16374 |
< |
# the License, or (at your option) any later version. |
| 16375 |
< |
# |
| 16376 |
< |
# As a special exception to the GNU General Public License, |
| 16377 |
< |
# if you distribute this file as part of a program or library that |
| 16378 |
< |
# is built using GNU Libtool, you may include this file under the |
| 16379 |
< |
# same distribution terms that you use for the rest of that program. |
| 19737 |
> |
# As a special exception to the GNU General Public License, if you |
| 19738 |
> |
# distribute this file as part of a program or library that is built |
| 19739 |
> |
# using GNU Libtool, you may include this file under the same |
| 19740 |
> |
# distribution terms that you use for the rest of that program. |
| 19741 |
|
# |
| 19742 |
< |
# GNU Libtool is distributed in the hope that it will be useful, |
| 19743 |
< |
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 19742 |
> |
# GNU Libtool is distributed in the hope that it will be useful, but |
| 19743 |
> |
# WITHOUT ANY WARRANTY; without even the implied warranty of |
| 19744 |
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 19745 |
|
# GNU General Public License for more details. |
| 19746 |
|
# |
| 19747 |
|
# You should have received a copy of the GNU General Public License |
| 19748 |
< |
# along with GNU Libtool; see the file COPYING. If not, a copy |
| 16388 |
< |
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or |
| 16389 |
< |
# obtained by writing to the Free Software Foundation, Inc., |
| 16390 |
< |
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
| 19748 |
> |
# along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 19749 |
|
|
| 19750 |
|
|
| 19751 |
|
# The names of the tagged configurations supported by this script. |
| 19752 |
< |
available_tags="" |
| 19752 |
> |
available_tags='' |
| 19753 |
> |
|
| 19754 |
> |
# Configured defaults for sys_lib_dlsearch_path munging. |
| 19755 |
> |
: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"} |
| 19756 |
|
|
| 19757 |
|
# ### BEGIN LIBTOOL CONFIG |
| 19758 |
|
|
| 19772 |
|
# Whether or not to optimize for fast installation. |
| 19773 |
|
fast_install=$enable_fast_install |
| 19774 |
|
|
| 19775 |
+ |
# Shared archive member basename,for filename based shared library versioning on AIX. |
| 19776 |
+ |
shared_archive_member_spec=$shared_archive_member_spec |
| 19777 |
+ |
|
| 19778 |
|
# Shell to use when invoking shell scripts. |
| 19779 |
|
SHELL=$lt_SHELL |
| 19780 |
|
|
| 19839 |
|
# convert \$build files to toolchain format. |
| 19840 |
|
to_tool_file_cmd=$lt_cv_to_tool_file_cmd |
| 19841 |
|
|
| 19842 |
+ |
# A file(cmd) program that detects file types. |
| 19843 |
+ |
FILECMD=$lt_FILECMD |
| 19844 |
+ |
|
| 19845 |
|
# An object symbol dumper. |
| 19846 |
|
OBJDUMP=$lt_OBJDUMP |
| 19847 |
|
|
| 19866 |
|
# The archiver. |
| 19867 |
|
AR=$lt_AR |
| 19868 |
|
|
| 19869 |
+ |
# Flags to create an archive (by configure). |
| 19870 |
+ |
lt_ar_flags=$lt_ar_flags |
| 19871 |
+ |
|
| 19872 |
|
# Flags to create an archive. |
| 19873 |
< |
AR_FLAGS=$lt_AR_FLAGS |
| 19873 |
> |
AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"} |
| 19874 |
|
|
| 19875 |
|
# How to feed a file listing to the archiver. |
| 19876 |
|
archiver_list_spec=$lt_archiver_list_spec |
| 19898 |
|
# Transform the output of nm in a proper C declaration. |
| 19899 |
|
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl |
| 19900 |
|
|
| 19901 |
+ |
# Transform the output of nm into a list of symbols to manually relocate. |
| 19902 |
+ |
global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import |
| 19903 |
+ |
|
| 19904 |
|
# Transform the output of nm in a C name address pair. |
| 19905 |
|
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address |
| 19906 |
|
|
| 19907 |
|
# Transform the output of nm in a C name address pair when lib prefix is needed. |
| 19908 |
|
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix |
| 19909 |
|
|
| 19910 |
+ |
# The name lister interface. |
| 19911 |
+ |
nm_interface=$lt_lt_cv_nm_interface |
| 19912 |
+ |
|
| 19913 |
|
# Specify filename containing input files for \$NM. |
| 19914 |
|
nm_file_list_spec=$lt_nm_file_list_spec |
| 19915 |
|
|
| 19916 |
< |
# The root where to search for dependent libraries,and in which our libraries should be installed. |
| 19916 |
> |
# The root where to search for dependent libraries,and where our libraries should be installed. |
| 19917 |
|
lt_sysroot=$lt_sysroot |
| 19918 |
|
|
| 19919 |
+ |
# Command to truncate a binary pipe. |
| 19920 |
+ |
lt_truncate_bin=$lt_lt_cv_truncate_bin |
| 19921 |
+ |
|
| 19922 |
|
# The name of the directory that contains temporary libtool files. |
| 19923 |
|
objdir=$objdir |
| 19924 |
|
|
| 20009 |
|
# Compile-time system search path for libraries. |
| 20010 |
|
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec |
| 20011 |
|
|
| 20012 |
< |
# Run-time system search path for libraries. |
| 20013 |
< |
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec |
| 20012 |
> |
# Detected run-time system search path for libraries. |
| 20013 |
> |
sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path |
| 20014 |
> |
|
| 20015 |
> |
# Explicit LT_SYS_LIBRARY_PATH set during ./configure time. |
| 20016 |
> |
configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path |
| 20017 |
|
|
| 20018 |
|
# Whether dlopen is supported. |
| 20019 |
|
dlopen_support=$enable_dlopen |
| 20106 |
|
# Whether we need a single "-rpath" flag with a separated argument. |
| 20107 |
|
hardcode_libdir_separator=$lt_hardcode_libdir_separator |
| 20108 |
|
|
| 20109 |
< |
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes |
| 20109 |
> |
# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes |
| 20110 |
|
# DIR into the resulting binary. |
| 20111 |
|
hardcode_direct=$hardcode_direct |
| 20112 |
|
|
| 20113 |
< |
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes |
| 20113 |
> |
# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes |
| 20114 |
|
# DIR into the resulting binary and the resulting library dependency is |
| 20115 |
< |
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the |
| 20115 |
> |
# "absolute",i.e impossible to change by setting \$shlibpath_var if the |
| 20116 |
|
# library is relocated. |
| 20117 |
|
hardcode_direct_absolute=$hardcode_direct_absolute |
| 20118 |
|
|
| 20164 |
|
|
| 20165 |
|
_LT_EOF |
| 20166 |
|
|
| 20167 |
+ |
cat <<'_LT_EOF' >> "$cfgfile" |
| 20168 |
+ |
|
| 20169 |
+ |
# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE |
| 20170 |
+ |
|
| 20171 |
+ |
# func_munge_path_list VARIABLE PATH |
| 20172 |
+ |
# ----------------------------------- |
| 20173 |
+ |
# VARIABLE is name of variable containing _space_ separated list of |
| 20174 |
+ |
# directories to be munged by the contents of PATH, which is string |
| 20175 |
+ |
# having a format: |
| 20176 |
+ |
# "DIR[:DIR]:" |
| 20177 |
+ |
# string "DIR[ DIR]" will be prepended to VARIABLE |
| 20178 |
+ |
# ":DIR[:DIR]" |
| 20179 |
+ |
# string "DIR[ DIR]" will be appended to VARIABLE |
| 20180 |
+ |
# "DIRP[:DIRP]::[DIRA:]DIRA" |
| 20181 |
+ |
# string "DIRP[ DIRP]" will be prepended to VARIABLE and string |
| 20182 |
+ |
# "DIRA[ DIRA]" will be appended to VARIABLE |
| 20183 |
+ |
# "DIR[:DIR]" |
| 20184 |
+ |
# VARIABLE will be replaced by "DIR[ DIR]" |
| 20185 |
+ |
func_munge_path_list () |
| 20186 |
+ |
{ |
| 20187 |
+ |
case x$2 in |
| 20188 |
+ |
x) |
| 20189 |
+ |
;; |
| 20190 |
+ |
*:) |
| 20191 |
+ |
eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" |
| 20192 |
+ |
;; |
| 20193 |
+ |
x:*) |
| 20194 |
+ |
eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" |
| 20195 |
+ |
;; |
| 20196 |
+ |
*::*) |
| 20197 |
+ |
eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" |
| 20198 |
+ |
eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" |
| 20199 |
+ |
;; |
| 20200 |
+ |
*) |
| 20201 |
+ |
eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" |
| 20202 |
+ |
;; |
| 20203 |
+ |
esac |
| 20204 |
+ |
} |
| 20205 |
+ |
|
| 20206 |
+ |
|
| 20207 |
+ |
# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. |
| 20208 |
+ |
func_cc_basename () |
| 20209 |
+ |
{ |
| 20210 |
+ |
for cc_temp in $*""; do |
| 20211 |
+ |
case $cc_temp in |
| 20212 |
+ |
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
| 20213 |
+ |
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
| 20214 |
+ |
\-*) ;; |
| 20215 |
+ |
*) break;; |
| 20216 |
+ |
esac |
| 20217 |
+ |
done |
| 20218 |
+ |
func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` |
| 20219 |
+ |
} |
| 20220 |
+ |
|
| 20221 |
+ |
|
| 20222 |
+ |
# ### END FUNCTIONS SHARED WITH CONFIGURE |
| 20223 |
+ |
|
| 20224 |
+ |
_LT_EOF |
| 20225 |
+ |
|
| 20226 |
|
case $host_os in |
| 20227 |
|
aix3*) |
| 20228 |
|
cat <<\_LT_EOF >> "$cfgfile" |
| 20229 |
|
# AIX sometimes has problems with the GCC collect2 program. For some |
| 20230 |
|
# reason, if we set the COLLECT_NAMES environment variable, the problems |
| 20231 |
|
# vanish in a puff of smoke. |
| 20232 |
< |
if test "X${COLLECT_NAMES+set}" != Xset; then |
| 20232 |
> |
if test set != "${COLLECT_NAMES+set}"; then |
| 20233 |
|
COLLECT_NAMES= |
| 20234 |
|
export COLLECT_NAMES |
| 20235 |
|
fi |
| 20238 |
|
esac |
| 20239 |
|
|
| 20240 |
|
|
| 20241 |
< |
ltmain="$ac_aux_dir/ltmain.sh" |
| 20241 |
> |
|
| 20242 |
> |
ltmain=$ac_aux_dir/ltmain.sh |
| 20243 |
|
|
| 20244 |
|
|
| 20245 |
|
# We use sed instead of cat because bash on DJGPP gets confused if |
| 20246 |
|
# if finds mixed CR/LF and LF-only lines. Since sed operates in |
| 20247 |
|
# text mode, it properly converts lines to CR/LF. This bash problem |
| 20248 |
|
# is reportedly fixed, but why not run on old versions too? |
| 20249 |
< |
sed '$q' "$ltmain" >> "$cfgfile" \ |
| 20249 |
> |
$SED '$q' "$ltmain" >> "$cfgfile" \ |
| 20250 |
|
|| (rm -f "$cfgfile"; exit 1) |
| 20251 |
|
|
| 16810 |
– |
if test x"$xsi_shell" = xyes; then |
| 16811 |
– |
sed -e '/^func_dirname ()$/,/^} # func_dirname /c\ |
| 16812 |
– |
func_dirname ()\ |
| 16813 |
– |
{\ |
| 16814 |
– |
\ case ${1} in\ |
| 16815 |
– |
\ */*) func_dirname_result="${1%/*}${2}" ;;\ |
| 16816 |
– |
\ * ) func_dirname_result="${3}" ;;\ |
| 16817 |
– |
\ esac\ |
| 16818 |
– |
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \ |
| 16819 |
– |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
| 16820 |
– |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
| 16821 |
– |
test 0 -eq $? || _lt_function_replace_fail=: |
| 16822 |
– |
|
| 16823 |
– |
|
| 16824 |
– |
sed -e '/^func_basename ()$/,/^} # func_basename /c\ |
| 16825 |
– |
func_basename ()\ |
| 16826 |
– |
{\ |
| 16827 |
– |
\ func_basename_result="${1##*/}"\ |
| 16828 |
– |
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \ |
| 16829 |
– |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
| 16830 |
– |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
| 16831 |
– |
test 0 -eq $? || _lt_function_replace_fail=: |
| 16832 |
– |
|
| 16833 |
– |
|
| 16834 |
– |
sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\ |
| 16835 |
– |
func_dirname_and_basename ()\ |
| 16836 |
– |
{\ |
| 16837 |
– |
\ case ${1} in\ |
| 16838 |
– |
\ */*) func_dirname_result="${1%/*}${2}" ;;\ |
| 16839 |
– |
\ * ) func_dirname_result="${3}" ;;\ |
| 16840 |
– |
\ esac\ |
| 16841 |
– |
\ func_basename_result="${1##*/}"\ |
| 16842 |
– |
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \ |
| 16843 |
– |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
| 16844 |
– |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
| 16845 |
– |
test 0 -eq $? || _lt_function_replace_fail=: |
| 16846 |
– |
|
| 16847 |
– |
|
| 16848 |
– |
sed -e '/^func_stripname ()$/,/^} # func_stripname /c\ |
| 16849 |
– |
func_stripname ()\ |
| 16850 |
– |
{\ |
| 16851 |
– |
\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\ |
| 16852 |
– |
\ # positional parameters, so assign one to ordinary parameter first.\ |
| 16853 |
– |
\ func_stripname_result=${3}\ |
| 16854 |
– |
\ func_stripname_result=${func_stripname_result#"${1}"}\ |
| 16855 |
– |
\ func_stripname_result=${func_stripname_result%"${2}"}\ |
| 16856 |
– |
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \ |
| 16857 |
– |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
| 16858 |
– |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
| 16859 |
– |
test 0 -eq $? || _lt_function_replace_fail=: |
| 16860 |
– |
|
| 16861 |
– |
|
| 16862 |
– |
sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\ |
| 16863 |
– |
func_split_long_opt ()\ |
| 16864 |
– |
{\ |
| 16865 |
– |
\ func_split_long_opt_name=${1%%=*}\ |
| 16866 |
– |
\ func_split_long_opt_arg=${1#*=}\ |
| 16867 |
– |
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \ |
| 16868 |
– |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
| 16869 |
– |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
| 16870 |
– |
test 0 -eq $? || _lt_function_replace_fail=: |
| 16871 |
– |
|
| 16872 |
– |
|
| 16873 |
– |
sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\ |
| 16874 |
– |
func_split_short_opt ()\ |
| 16875 |
– |
{\ |
| 16876 |
– |
\ func_split_short_opt_arg=${1#??}\ |
| 16877 |
– |
\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\ |
| 16878 |
– |
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \ |
| 16879 |
– |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
| 16880 |
– |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
| 16881 |
– |
test 0 -eq $? || _lt_function_replace_fail=: |
| 16882 |
– |
|
| 16883 |
– |
|
| 16884 |
– |
sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\ |
| 16885 |
– |
func_lo2o ()\ |
| 16886 |
– |
{\ |
| 16887 |
– |
\ case ${1} in\ |
| 16888 |
– |
\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\ |
| 16889 |
– |
\ *) func_lo2o_result=${1} ;;\ |
| 16890 |
– |
\ esac\ |
| 16891 |
– |
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \ |
| 16892 |
– |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
| 16893 |
– |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
| 16894 |
– |
test 0 -eq $? || _lt_function_replace_fail=: |
| 16895 |
– |
|
| 16896 |
– |
|
| 16897 |
– |
sed -e '/^func_xform ()$/,/^} # func_xform /c\ |
| 16898 |
– |
func_xform ()\ |
| 16899 |
– |
{\ |
| 16900 |
– |
func_xform_result=${1%.*}.lo\ |
| 16901 |
– |
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \ |
| 16902 |
– |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
| 16903 |
– |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
| 16904 |
– |
test 0 -eq $? || _lt_function_replace_fail=: |
| 16905 |
– |
|
| 16906 |
– |
|
| 16907 |
– |
sed -e '/^func_arith ()$/,/^} # func_arith /c\ |
| 16908 |
– |
func_arith ()\ |
| 16909 |
– |
{\ |
| 16910 |
– |
func_arith_result=$(( $* ))\ |
| 16911 |
– |
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \ |
| 16912 |
– |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
| 16913 |
– |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
| 16914 |
– |
test 0 -eq $? || _lt_function_replace_fail=: |
| 16915 |
– |
|
| 16916 |
– |
|
| 16917 |
– |
sed -e '/^func_len ()$/,/^} # func_len /c\ |
| 16918 |
– |
func_len ()\ |
| 16919 |
– |
{\ |
| 16920 |
– |
func_len_result=${#1}\ |
| 16921 |
– |
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \ |
| 16922 |
– |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
| 16923 |
– |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
| 16924 |
– |
test 0 -eq $? || _lt_function_replace_fail=: |
| 16925 |
– |
|
| 16926 |
– |
fi |
| 16927 |
– |
|
| 16928 |
– |
if test x"$lt_shell_append" = xyes; then |
| 16929 |
– |
sed -e '/^func_append ()$/,/^} # func_append /c\ |
| 16930 |
– |
func_append ()\ |
| 16931 |
– |
{\ |
| 16932 |
– |
eval "${1}+=\\${2}"\ |
| 16933 |
– |
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \ |
| 16934 |
– |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
| 16935 |
– |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
| 16936 |
– |
test 0 -eq $? || _lt_function_replace_fail=: |
| 16937 |
– |
|
| 16938 |
– |
|
| 16939 |
– |
sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\ |
| 16940 |
– |
func_append_quoted ()\ |
| 16941 |
– |
{\ |
| 16942 |
– |
\ func_quote_for_eval "${2}"\ |
| 16943 |
– |
\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\ |
| 16944 |
– |
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \ |
| 16945 |
– |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
| 16946 |
– |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
| 16947 |
– |
test 0 -eq $? || _lt_function_replace_fail=: |
| 16948 |
– |
|
| 16949 |
– |
|
| 16950 |
– |
# Save a `func_append' function call where possible by direct use of '+=' |
| 16951 |
– |
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \ |
| 16952 |
– |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
| 16953 |
– |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
| 16954 |
– |
test 0 -eq $? || _lt_function_replace_fail=: |
| 16955 |
– |
else |
| 16956 |
– |
# Save a `func_append' function call even when '+=' is not available |
| 16957 |
– |
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \ |
| 16958 |
– |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
| 16959 |
– |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
| 16960 |
– |
test 0 -eq $? || _lt_function_replace_fail=: |
| 16961 |
– |
fi |
| 16962 |
– |
|
| 16963 |
– |
if test x"$_lt_function_replace_fail" = x":"; then |
| 16964 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5 |
| 16965 |
– |
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;} |
| 16966 |
– |
fi |
| 16967 |
– |
|
| 16968 |
– |
|
| 20252 |
|
mv -f "$cfgfile" "$ofile" || |
| 20253 |
|
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") |
| 20254 |
|
chmod +x "$ofile" |
| 20288 |
|
$ac_cs_success || as_fn_exit 1 |
| 20289 |
|
fi |
| 20290 |
|
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
| 20291 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |
| 20292 |
< |
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
| 20291 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |
| 20292 |
> |
printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
| 20293 |
|
fi |
| 20294 |
|
|
| 20295 |
+ |
|
| 20296 |
+ |
echo "###############################################################################" |
| 20297 |
+ |
echo "Configuration complete. Type make (or gmake on some *BSD machines) to compile." |
| 20298 |
+ |
echo |
| 20299 |
+ |
echo "ircd-hybrid will be installed in ${prefix}. To change this, run:" |
| 20300 |
+ |
echo " ./configure --prefix=DIRECTORY" |
| 20301 |
+ |
echo "###############################################################################" |
| 20302 |
+ |
|