| 1 |
|
#! /bin/sh |
| 2 |
– |
# From configure.ac Id: configure.ac 9543 2020-07-18 14:01:59Z michael . |
| 2 |
|
# Guess values for system-dependent variables and create Makefiles. |
| 3 |
< |
# Generated by GNU Autoconf 2.69 for hopm 1.1.9. |
| 3 |
> |
# Generated by GNU Autoconf 2.71 for hopm 1.1.11. |
| 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 |
| 621 |
|
# Identity of this package. |
| 622 |
|
PACKAGE_NAME='hopm' |
| 623 |
|
PACKAGE_TARNAME='hopm' |
| 624 |
< |
PACKAGE_VERSION='1.1.9' |
| 625 |
< |
PACKAGE_STRING='hopm 1.1.9' |
| 624 |
> |
PACKAGE_VERSION='1.1.11' |
| 625 |
> |
PACKAGE_STRING='hopm 1.1.11' |
| 626 |
|
PACKAGE_BUGREPORT='bugs@ircd-hybrid.org' |
| 627 |
|
PACKAGE_URL='' |
| 628 |
|
|
| 630 |
|
ac_default_prefix=\${HOME}/hopm |
| 631 |
|
# Factoring default headers for most tests. |
| 632 |
|
ac_includes_default="\ |
| 633 |
< |
#include <stdio.h> |
| 634 |
< |
#ifdef HAVE_SYS_TYPES_H |
| 635 |
< |
# include <sys/types.h> |
| 606 |
< |
#endif |
| 607 |
< |
#ifdef HAVE_SYS_STAT_H |
| 608 |
< |
# include <sys/stat.h> |
| 633 |
> |
#include <stddef.h> |
| 634 |
> |
#ifdef HAVE_STDIO_H |
| 635 |
> |
# include <stdio.h> |
| 636 |
|
#endif |
| 637 |
< |
#ifdef STDC_HEADERS |
| 637 |
> |
#ifdef HAVE_STDLIB_H |
| 638 |
|
# include <stdlib.h> |
| 612 |
– |
# include <stddef.h> |
| 613 |
– |
#else |
| 614 |
– |
# ifdef HAVE_STDLIB_H |
| 615 |
– |
# include <stdlib.h> |
| 616 |
– |
# endif |
| 639 |
|
#endif |
| 640 |
|
#ifdef HAVE_STRING_H |
| 619 |
– |
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H |
| 620 |
– |
# include <memory.h> |
| 621 |
– |
# endif |
| 641 |
|
# include <string.h> |
| 642 |
|
#endif |
| 624 |
– |
#ifdef HAVE_STRINGS_H |
| 625 |
– |
# include <strings.h> |
| 626 |
– |
#endif |
| 643 |
|
#ifdef HAVE_INTTYPES_H |
| 644 |
|
# include <inttypes.h> |
| 645 |
|
#endif |
| 646 |
|
#ifdef HAVE_STDINT_H |
| 647 |
|
# include <stdint.h> |
| 648 |
|
#endif |
| 649 |
+ |
#ifdef HAVE_STRINGS_H |
| 650 |
+ |
# include <strings.h> |
| 651 |
+ |
#endif |
| 652 |
+ |
#ifdef HAVE_SYS_TYPES_H |
| 653 |
+ |
# include <sys/types.h> |
| 654 |
+ |
#endif |
| 655 |
+ |
#ifdef HAVE_SYS_STAT_H |
| 656 |
+ |
# include <sys/stat.h> |
| 657 |
+ |
#endif |
| 658 |
|
#ifdef HAVE_UNISTD_H |
| 659 |
|
# include <unistd.h> |
| 660 |
|
#endif" |
| 661 |
|
|
| 662 |
+ |
ac_header_c_list= |
| 663 |
|
ac_subst_vars='am__EXEEXT_FALSE |
| 664 |
|
am__EXEEXT_TRUE |
| 665 |
|
LTLIBOBJS |
| 669 |
|
LEX |
| 670 |
|
YFLAGS |
| 671 |
|
YACC |
| 646 |
– |
CPP |
| 672 |
|
LT_SYS_LIBRARY_PATH |
| 673 |
|
OTOOL64 |
| 674 |
|
OTOOL |
| 681 |
|
AR |
| 682 |
|
DLLTOOL |
| 683 |
|
OBJDUMP |
| 684 |
+ |
FILECMD |
| 685 |
|
LN_S |
| 686 |
|
NM |
| 687 |
|
ac_ct_DUMPBIN |
| 723 |
|
AM_DEFAULT_VERBOSITY |
| 724 |
|
AM_DEFAULT_V |
| 725 |
|
AM_V |
| 726 |
+ |
CSCOPE |
| 727 |
+ |
ETAGS |
| 728 |
+ |
CTAGS |
| 729 |
|
am__untar |
| 730 |
|
am__tar |
| 731 |
|
AMTAR |
| 817 |
|
LIBS |
| 818 |
|
CPPFLAGS |
| 819 |
|
LT_SYS_LIBRARY_PATH |
| 791 |
– |
CPP |
| 820 |
|
YACC |
| 821 |
|
YFLAGS' |
| 822 |
|
|
| 887 |
|
*) ac_optarg=yes ;; |
| 888 |
|
esac |
| 889 |
|
|
| 862 |
– |
# Accept the important Cygnus configure options, so we can diagnose typos. |
| 863 |
– |
|
| 890 |
|
case $ac_dashdash$ac_option in |
| 891 |
|
--) |
| 892 |
|
ac_dashdash=yes ;; |
| 927 |
|
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
| 928 |
|
# Reject names that are not valid shell variable names. |
| 929 |
|
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
| 930 |
< |
as_fn_error $? "invalid feature name: $ac_useropt" |
| 930 |
> |
as_fn_error $? "invalid feature name: \`$ac_useropt'" |
| 931 |
|
ac_useropt_orig=$ac_useropt |
| 932 |
< |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
| 932 |
> |
ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` |
| 933 |
|
case $ac_user_opts in |
| 934 |
|
*" |
| 935 |
|
"enable_$ac_useropt" |
| 953 |
|
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
| 954 |
|
# Reject names that are not valid shell variable names. |
| 955 |
|
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
| 956 |
< |
as_fn_error $? "invalid feature name: $ac_useropt" |
| 956 |
> |
as_fn_error $? "invalid feature name: \`$ac_useropt'" |
| 957 |
|
ac_useropt_orig=$ac_useropt |
| 958 |
< |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
| 958 |
> |
ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` |
| 959 |
|
case $ac_user_opts in |
| 960 |
|
*" |
| 961 |
|
"enable_$ac_useropt" |
| 1166 |
|
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
| 1167 |
|
# Reject names that are not valid shell variable names. |
| 1168 |
|
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
| 1169 |
< |
as_fn_error $? "invalid package name: $ac_useropt" |
| 1169 |
> |
as_fn_error $? "invalid package name: \`$ac_useropt'" |
| 1170 |
|
ac_useropt_orig=$ac_useropt |
| 1171 |
< |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
| 1171 |
> |
ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` |
| 1172 |
|
case $ac_user_opts in |
| 1173 |
|
*" |
| 1174 |
|
"with_$ac_useropt" |
| 1182 |
|
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
| 1183 |
|
# Reject names that are not valid shell variable names. |
| 1184 |
|
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
| 1185 |
< |
as_fn_error $? "invalid package name: $ac_useropt" |
| 1185 |
> |
as_fn_error $? "invalid package name: \`$ac_useropt'" |
| 1186 |
|
ac_useropt_orig=$ac_useropt |
| 1187 |
< |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
| 1187 |
> |
ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` |
| 1188 |
|
case $ac_user_opts in |
| 1189 |
|
*" |
| 1190 |
|
"with_$ac_useropt" |
| 1228 |
|
|
| 1229 |
|
*) |
| 1230 |
|
# FIXME: should be removed in autoconf 3.0. |
| 1231 |
< |
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
| 1231 |
> |
printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2 |
| 1232 |
|
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
| 1233 |
< |
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
| 1233 |
> |
printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2 |
| 1234 |
|
: "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" |
| 1235 |
|
;; |
| 1236 |
|
|
| 1246 |
|
case $enable_option_checking in |
| 1247 |
|
no) ;; |
| 1248 |
|
fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; |
| 1249 |
< |
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
| 1249 |
> |
*) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
| 1250 |
|
esac |
| 1251 |
|
fi |
| 1252 |
|
|
| 1310 |
|
X"$as_myself" : 'X\(//\)[^/]' \| \ |
| 1311 |
|
X"$as_myself" : 'X\(//\)$' \| \ |
| 1312 |
|
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || |
| 1313 |
< |
$as_echo X"$as_myself" | |
| 1313 |
> |
printf "%s\n" X"$as_myself" | |
| 1314 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 1315 |
|
s//\1/ |
| 1316 |
|
q |
| 1367 |
|
# Omit some internal or obsolete options to make the list less imposing. |
| 1368 |
|
# This message is too long to be a string in the A/UX 3.1 sh. |
| 1369 |
|
cat <<_ACEOF |
| 1370 |
< |
\`configure' configures hopm 1.1.9 to adapt to many kinds of systems. |
| 1370 |
> |
\`configure' configures hopm 1.1.11 to adapt to many kinds of systems. |
| 1371 |
|
|
| 1372 |
|
Usage: $0 [OPTION]... [VAR=VALUE]... |
| 1373 |
|
|
| 1438 |
|
|
| 1439 |
|
if test -n "$ac_init_help"; then |
| 1440 |
|
case $ac_init_help in |
| 1441 |
< |
short | recursive ) echo "Configuration of hopm 1.1.9:";; |
| 1441 |
> |
short | recursive ) echo "Configuration of hopm 1.1.11:";; |
| 1442 |
|
esac |
| 1443 |
|
cat <<\_ACEOF |
| 1444 |
|
|
| 1489 |
|
you have headers in a nonstandard directory <include dir> |
| 1490 |
|
LT_SYS_LIBRARY_PATH |
| 1491 |
|
User-defined run-time library search path. |
| 1466 |
– |
CPP C preprocessor |
| 1492 |
|
YACC The `Yet Another Compiler Compiler' implementation to use. |
| 1493 |
|
Defaults to the first program found out of: `bison -y', `byacc', |
| 1494 |
|
`yacc'. |
| 1515 |
|
case "$ac_dir" in |
| 1516 |
|
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
| 1517 |
|
*) |
| 1518 |
< |
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
| 1518 |
> |
ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` |
| 1519 |
|
# A ".." for each directory in $ac_dir_suffix. |
| 1520 |
< |
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
| 1520 |
> |
ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
| 1521 |
|
case $ac_top_builddir_sub in |
| 1522 |
|
"") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
| 1523 |
|
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
| 1545 |
|
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
| 1546 |
|
|
| 1547 |
|
cd "$ac_dir" || { ac_status=$?; continue; } |
| 1548 |
< |
# Check for guested configure. |
| 1548 |
> |
# Check for configure.gnu first; this name is used for a wrapper for |
| 1549 |
> |
# Metaconfig's "Configure" on case-insensitive file systems. |
| 1550 |
|
if test -f "$ac_srcdir/configure.gnu"; then |
| 1551 |
|
echo && |
| 1552 |
|
$SHELL "$ac_srcdir/configure.gnu" --help=recursive |
| 1554 |
|
echo && |
| 1555 |
|
$SHELL "$ac_srcdir/configure" --help=recursive |
| 1556 |
|
else |
| 1557 |
< |
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
| 1557 |
> |
printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
| 1558 |
|
fi || ac_status=$? |
| 1559 |
|
cd "$ac_pwd" || { ac_status=$?; break; } |
| 1560 |
|
done |
| 1563 |
|
test -n "$ac_init_help" && exit $ac_status |
| 1564 |
|
if $ac_init_version; then |
| 1565 |
|
cat <<\_ACEOF |
| 1566 |
< |
hopm configure 1.1.9 |
| 1567 |
< |
generated by GNU Autoconf 2.69 |
| 1566 |
> |
hopm configure 1.1.11 |
| 1567 |
> |
generated by GNU Autoconf 2.71 |
| 1568 |
|
|
| 1569 |
< |
Copyright (C) 2012 Free Software Foundation, Inc. |
| 1569 |
> |
Copyright (C) 2021 Free Software Foundation, Inc. |
| 1570 |
|
This configure script is free software; the Free Software Foundation |
| 1571 |
|
gives unlimited permission to copy, distribute and modify it. |
| 1572 |
|
_ACEOF |
| 1583 |
|
ac_fn_c_try_compile () |
| 1584 |
|
{ |
| 1585 |
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 1586 |
< |
rm -f conftest.$ac_objext |
| 1586 |
> |
rm -f conftest.$ac_objext conftest.beam |
| 1587 |
|
if { { ac_try="$ac_compile" |
| 1588 |
|
case "(($ac_try" in |
| 1589 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 1590 |
|
*) ac_try_echo=$ac_try;; |
| 1591 |
|
esac |
| 1592 |
|
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 1593 |
< |
$as_echo "$ac_try_echo"; } >&5 |
| 1593 |
> |
printf "%s\n" "$ac_try_echo"; } >&5 |
| 1594 |
|
(eval "$ac_compile") 2>conftest.err |
| 1595 |
|
ac_status=$? |
| 1596 |
|
if test -s conftest.err; then |
| 1598 |
|
cat conftest.er1 >&5 |
| 1599 |
|
mv -f conftest.er1 conftest.err |
| 1600 |
|
fi |
| 1601 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 1601 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 1602 |
|
test $ac_status = 0; } && { |
| 1603 |
|
test -z "$ac_c_werror_flag" || |
| 1604 |
|
test ! -s conftest.err |
| 1605 |
< |
} && test -s conftest.$ac_objext; then : |
| 1605 |
> |
} && test -s conftest.$ac_objext |
| 1606 |
> |
then : |
| 1607 |
|
ac_retval=0 |
| 1608 |
< |
else |
| 1609 |
< |
$as_echo "$as_me: failed program was:" >&5 |
| 1608 |
> |
else $as_nop |
| 1609 |
> |
printf "%s\n" "$as_me: failed program was:" >&5 |
| 1610 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 1611 |
|
|
| 1612 |
|
ac_retval=1 |
| 1622 |
|
ac_fn_c_try_link () |
| 1623 |
|
{ |
| 1624 |
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 1625 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 1625 |
> |
rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext |
| 1626 |
|
if { { ac_try="$ac_link" |
| 1627 |
|
case "(($ac_try" in |
| 1628 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 1629 |
|
*) ac_try_echo=$ac_try;; |
| 1630 |
|
esac |
| 1631 |
|
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 1632 |
< |
$as_echo "$ac_try_echo"; } >&5 |
| 1632 |
> |
printf "%s\n" "$ac_try_echo"; } >&5 |
| 1633 |
|
(eval "$ac_link") 2>conftest.err |
| 1634 |
|
ac_status=$? |
| 1635 |
|
if test -s conftest.err; then |
| 1637 |
|
cat conftest.er1 >&5 |
| 1638 |
|
mv -f conftest.er1 conftest.err |
| 1639 |
|
fi |
| 1640 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 1640 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 1641 |
|
test $ac_status = 0; } && { |
| 1642 |
|
test -z "$ac_c_werror_flag" || |
| 1643 |
|
test ! -s conftest.err |
| 1644 |
|
} && test -s conftest$ac_exeext && { |
| 1645 |
|
test "$cross_compiling" = yes || |
| 1646 |
|
test -x conftest$ac_exeext |
| 1647 |
< |
}; then : |
| 1647 |
> |
} |
| 1648 |
> |
then : |
| 1649 |
|
ac_retval=0 |
| 1650 |
< |
else |
| 1651 |
< |
$as_echo "$as_me: failed program was:" >&5 |
| 1650 |
> |
else $as_nop |
| 1651 |
> |
printf "%s\n" "$as_me: failed program was:" >&5 |
| 1652 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 1653 |
|
|
| 1654 |
|
ac_retval=1 |
| 1670 |
|
ac_fn_c_check_header_compile () |
| 1671 |
|
{ |
| 1672 |
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 1673 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
| 1674 |
< |
$as_echo_n "checking for $2... " >&6; } |
| 1675 |
< |
if eval \${$3+:} false; then : |
| 1676 |
< |
$as_echo_n "(cached) " >&6 |
| 1677 |
< |
else |
| 1673 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
| 1674 |
> |
printf %s "checking for $2... " >&6; } |
| 1675 |
> |
if eval test \${$3+y} |
| 1676 |
> |
then : |
| 1677 |
> |
printf %s "(cached) " >&6 |
| 1678 |
> |
else $as_nop |
| 1679 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 1680 |
|
/* end confdefs.h. */ |
| 1681 |
|
$4 |
| 1682 |
|
#include <$2> |
| 1683 |
|
_ACEOF |
| 1684 |
< |
if ac_fn_c_try_compile "$LINENO"; then : |
| 1684 |
> |
if ac_fn_c_try_compile "$LINENO" |
| 1685 |
> |
then : |
| 1686 |
|
eval "$3=yes" |
| 1687 |
< |
else |
| 1687 |
> |
else $as_nop |
| 1688 |
|
eval "$3=no" |
| 1689 |
|
fi |
| 1690 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 1690 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 1691 |
|
fi |
| 1692 |
|
eval ac_res=\$$3 |
| 1693 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 1694 |
< |
$as_echo "$ac_res" >&6; } |
| 1693 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 1694 |
> |
printf "%s\n" "$ac_res" >&6; } |
| 1695 |
|
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 1696 |
|
|
| 1697 |
|
} # ac_fn_c_check_header_compile |
| 1698 |
|
|
| 1669 |
– |
# ac_fn_c_try_cpp LINENO |
| 1670 |
– |
# ---------------------- |
| 1671 |
– |
# Try to preprocess conftest.$ac_ext, and return whether this succeeded. |
| 1672 |
– |
ac_fn_c_try_cpp () |
| 1673 |
– |
{ |
| 1674 |
– |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 1675 |
– |
if { { ac_try="$ac_cpp conftest.$ac_ext" |
| 1676 |
– |
case "(($ac_try" in |
| 1677 |
– |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 1678 |
– |
*) ac_try_echo=$ac_try;; |
| 1679 |
– |
esac |
| 1680 |
– |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 1681 |
– |
$as_echo "$ac_try_echo"; } >&5 |
| 1682 |
– |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err |
| 1683 |
– |
ac_status=$? |
| 1684 |
– |
if test -s conftest.err; then |
| 1685 |
– |
grep -v '^ *+' conftest.err >conftest.er1 |
| 1686 |
– |
cat conftest.er1 >&5 |
| 1687 |
– |
mv -f conftest.er1 conftest.err |
| 1688 |
– |
fi |
| 1689 |
– |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 1690 |
– |
test $ac_status = 0; } > conftest.i && { |
| 1691 |
– |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 1692 |
– |
test ! -s conftest.err |
| 1693 |
– |
}; then : |
| 1694 |
– |
ac_retval=0 |
| 1695 |
– |
else |
| 1696 |
– |
$as_echo "$as_me: failed program was:" >&5 |
| 1697 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 1698 |
– |
|
| 1699 |
– |
ac_retval=1 |
| 1700 |
– |
fi |
| 1701 |
– |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 1702 |
– |
as_fn_set_status $ac_retval |
| 1703 |
– |
|
| 1704 |
– |
} # ac_fn_c_try_cpp |
| 1705 |
– |
|
| 1706 |
– |
# ac_fn_c_try_run LINENO |
| 1707 |
– |
# ---------------------- |
| 1708 |
– |
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes |
| 1709 |
– |
# that executables *can* be run. |
| 1710 |
– |
ac_fn_c_try_run () |
| 1711 |
– |
{ |
| 1712 |
– |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 1713 |
– |
if { { ac_try="$ac_link" |
| 1714 |
– |
case "(($ac_try" in |
| 1715 |
– |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 1716 |
– |
*) ac_try_echo=$ac_try;; |
| 1717 |
– |
esac |
| 1718 |
– |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 1719 |
– |
$as_echo "$ac_try_echo"; } >&5 |
| 1720 |
– |
(eval "$ac_link") 2>&5 |
| 1721 |
– |
ac_status=$? |
| 1722 |
– |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 1723 |
– |
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' |
| 1724 |
– |
{ { case "(($ac_try" in |
| 1725 |
– |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 1726 |
– |
*) ac_try_echo=$ac_try;; |
| 1727 |
– |
esac |
| 1728 |
– |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 1729 |
– |
$as_echo "$ac_try_echo"; } >&5 |
| 1730 |
– |
(eval "$ac_try") 2>&5 |
| 1731 |
– |
ac_status=$? |
| 1732 |
– |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 1733 |
– |
test $ac_status = 0; }; }; then : |
| 1734 |
– |
ac_retval=0 |
| 1735 |
– |
else |
| 1736 |
– |
$as_echo "$as_me: program exited with status $ac_status" >&5 |
| 1737 |
– |
$as_echo "$as_me: failed program was:" >&5 |
| 1738 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 1739 |
– |
|
| 1740 |
– |
ac_retval=$ac_status |
| 1741 |
– |
fi |
| 1742 |
– |
rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
| 1743 |
– |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 1744 |
– |
as_fn_set_status $ac_retval |
| 1745 |
– |
|
| 1746 |
– |
} # ac_fn_c_try_run |
| 1747 |
– |
|
| 1699 |
|
# ac_fn_c_check_func LINENO FUNC VAR |
| 1700 |
|
# ---------------------------------- |
| 1701 |
|
# Tests whether FUNC exists, setting the cache variable VAR accordingly |
| 1702 |
|
ac_fn_c_check_func () |
| 1703 |
|
{ |
| 1704 |
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 1705 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
| 1706 |
< |
$as_echo_n "checking for $2... " >&6; } |
| 1707 |
< |
if eval \${$3+:} false; then : |
| 1708 |
< |
$as_echo_n "(cached) " >&6 |
| 1709 |
< |
else |
| 1705 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
| 1706 |
> |
printf %s "checking for $2... " >&6; } |
| 1707 |
> |
if eval test \${$3+y} |
| 1708 |
> |
then : |
| 1709 |
> |
printf %s "(cached) " >&6 |
| 1710 |
> |
else $as_nop |
| 1711 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 1712 |
|
/* end confdefs.h. */ |
| 1713 |
|
/* Define $2 to an innocuous variant, in case <limits.h> declares $2. |
| 1715 |
|
#define $2 innocuous_$2 |
| 1716 |
|
|
| 1717 |
|
/* System header to define __stub macros and hopefully few prototypes, |
| 1718 |
< |
which can conflict with char $2 (); below. |
| 1767 |
< |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 1768 |
< |
<limits.h> exists even on freestanding compilers. */ |
| 1769 |
< |
|
| 1770 |
< |
#ifdef __STDC__ |
| 1771 |
< |
# include <limits.h> |
| 1772 |
< |
#else |
| 1773 |
< |
# include <assert.h> |
| 1774 |
< |
#endif |
| 1718 |
> |
which can conflict with char $2 (); below. */ |
| 1719 |
|
|
| 1720 |
+ |
#include <limits.h> |
| 1721 |
|
#undef $2 |
| 1722 |
|
|
| 1723 |
|
/* Override any GCC internal prototype to avoid an error. |
| 1735 |
|
#endif |
| 1736 |
|
|
| 1737 |
|
int |
| 1738 |
< |
main () |
| 1738 |
> |
main (void) |
| 1739 |
|
{ |
| 1740 |
|
return $2 (); |
| 1741 |
|
; |
| 1742 |
|
return 0; |
| 1743 |
|
} |
| 1744 |
|
_ACEOF |
| 1745 |
< |
if ac_fn_c_try_link "$LINENO"; then : |
| 1745 |
> |
if ac_fn_c_try_link "$LINENO" |
| 1746 |
> |
then : |
| 1747 |
|
eval "$3=yes" |
| 1748 |
< |
else |
| 1748 |
> |
else $as_nop |
| 1749 |
|
eval "$3=no" |
| 1750 |
|
fi |
| 1751 |
< |
rm -f core conftest.err conftest.$ac_objext \ |
| 1751 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 1752 |
|
conftest$ac_exeext conftest.$ac_ext |
| 1753 |
|
fi |
| 1754 |
|
eval ac_res=\$$3 |
| 1755 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 1756 |
< |
$as_echo "$ac_res" >&6; } |
| 1755 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 1756 |
> |
printf "%s\n" "$ac_res" >&6; } |
| 1757 |
|
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 1758 |
|
|
| 1759 |
|
} # ac_fn_c_check_func |
| 1760 |
+ |
|
| 1761 |
+ |
# ac_fn_c_try_run LINENO |
| 1762 |
+ |
# ---------------------- |
| 1763 |
+ |
# Try to run conftest.$ac_ext, and return whether this succeeded. Assumes that |
| 1764 |
+ |
# executables *can* be run. |
| 1765 |
+ |
ac_fn_c_try_run () |
| 1766 |
+ |
{ |
| 1767 |
+ |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 1768 |
+ |
if { { ac_try="$ac_link" |
| 1769 |
+ |
case "(($ac_try" in |
| 1770 |
+ |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 1771 |
+ |
*) ac_try_echo=$ac_try;; |
| 1772 |
+ |
esac |
| 1773 |
+ |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 1774 |
+ |
printf "%s\n" "$ac_try_echo"; } >&5 |
| 1775 |
+ |
(eval "$ac_link") 2>&5 |
| 1776 |
+ |
ac_status=$? |
| 1777 |
+ |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 1778 |
+ |
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' |
| 1779 |
+ |
{ { case "(($ac_try" in |
| 1780 |
+ |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 1781 |
+ |
*) ac_try_echo=$ac_try;; |
| 1782 |
+ |
esac |
| 1783 |
+ |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 1784 |
+ |
printf "%s\n" "$ac_try_echo"; } >&5 |
| 1785 |
+ |
(eval "$ac_try") 2>&5 |
| 1786 |
+ |
ac_status=$? |
| 1787 |
+ |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 1788 |
+ |
test $ac_status = 0; }; } |
| 1789 |
+ |
then : |
| 1790 |
+ |
ac_retval=0 |
| 1791 |
+ |
else $as_nop |
| 1792 |
+ |
printf "%s\n" "$as_me: program exited with status $ac_status" >&5 |
| 1793 |
+ |
printf "%s\n" "$as_me: failed program was:" >&5 |
| 1794 |
+ |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 1795 |
+ |
|
| 1796 |
+ |
ac_retval=$ac_status |
| 1797 |
+ |
fi |
| 1798 |
+ |
rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
| 1799 |
+ |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 1800 |
+ |
as_fn_set_status $ac_retval |
| 1801 |
+ |
|
| 1802 |
+ |
} # ac_fn_c_try_run |
| 1803 |
+ |
ac_configure_args_raw= |
| 1804 |
+ |
for ac_arg |
| 1805 |
+ |
do |
| 1806 |
+ |
case $ac_arg in |
| 1807 |
+ |
*\'*) |
| 1808 |
+ |
ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 1809 |
+ |
esac |
| 1810 |
+ |
as_fn_append ac_configure_args_raw " '$ac_arg'" |
| 1811 |
+ |
done |
| 1812 |
+ |
|
| 1813 |
+ |
case $ac_configure_args_raw in |
| 1814 |
+ |
*$as_nl*) |
| 1815 |
+ |
ac_safe_unquote= ;; |
| 1816 |
+ |
*) |
| 1817 |
+ |
ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab. |
| 1818 |
+ |
ac_unsafe_a="$ac_unsafe_z#~" |
| 1819 |
+ |
ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g" |
| 1820 |
+ |
ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;; |
| 1821 |
+ |
esac |
| 1822 |
+ |
|
| 1823 |
|
cat >config.log <<_ACEOF |
| 1824 |
|
This file contains any messages produced by compilers while |
| 1825 |
|
running configure, to aid debugging if configure makes a mistake. |
| 1826 |
|
|
| 1827 |
< |
It was created by hopm $as_me 1.1.9, which was |
| 1828 |
< |
generated by GNU Autoconf 2.69. Invocation command line was |
| 1827 |
> |
It was created by hopm $as_me 1.1.11, which was |
| 1828 |
> |
generated by GNU Autoconf 2.71. Invocation command line was |
| 1829 |
|
|
| 1830 |
< |
$ $0 $@ |
| 1830 |
> |
$ $0$ac_configure_args_raw |
| 1831 |
|
|
| 1832 |
|
_ACEOF |
| 1833 |
|
exec 5>>config.log |
| 1860 |
|
for as_dir in $PATH |
| 1861 |
|
do |
| 1862 |
|
IFS=$as_save_IFS |
| 1863 |
< |
test -z "$as_dir" && as_dir=. |
| 1864 |
< |
$as_echo "PATH: $as_dir" |
| 1863 |
> |
case $as_dir in #((( |
| 1864 |
> |
'') as_dir=./ ;; |
| 1865 |
> |
*/) ;; |
| 1866 |
> |
*) as_dir=$as_dir/ ;; |
| 1867 |
> |
esac |
| 1868 |
> |
printf "%s\n" "PATH: $as_dir" |
| 1869 |
|
done |
| 1870 |
|
IFS=$as_save_IFS |
| 1871 |
|
|
| 1900 |
|
| -silent | --silent | --silen | --sile | --sil) |
| 1901 |
|
continue ;; |
| 1902 |
|
*\'*) |
| 1903 |
< |
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 1903 |
> |
ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 1904 |
|
esac |
| 1905 |
|
case $ac_pass in |
| 1906 |
|
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; |
| 1935 |
|
# WARNING: Use '\'' to represent an apostrophe within the trap. |
| 1936 |
|
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. |
| 1937 |
|
trap 'exit_status=$? |
| 1938 |
+ |
# Sanitize IFS. |
| 1939 |
+ |
IFS=" "" $as_nl" |
| 1940 |
|
# Save into config.log some information that might help in debugging. |
| 1941 |
|
{ |
| 1942 |
|
echo |
| 1943 |
|
|
| 1944 |
< |
$as_echo "## ---------------- ## |
| 1944 |
> |
printf "%s\n" "## ---------------- ## |
| 1945 |
|
## Cache variables. ## |
| 1946 |
|
## ---------------- ##" |
| 1947 |
|
echo |
| 1952 |
|
case $ac_val in #( |
| 1953 |
|
*${as_nl}*) |
| 1954 |
|
case $ac_var in #( |
| 1955 |
< |
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
| 1956 |
< |
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
| 1955 |
> |
*_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
| 1956 |
> |
printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
| 1957 |
|
esac |
| 1958 |
|
case $ac_var in #( |
| 1959 |
|
_ | IFS | as_nl) ;; #( |
| 1977 |
|
) |
| 1978 |
|
echo |
| 1979 |
|
|
| 1980 |
< |
$as_echo "## ----------------- ## |
| 1980 |
> |
printf "%s\n" "## ----------------- ## |
| 1981 |
|
## Output variables. ## |
| 1982 |
|
## ----------------- ##" |
| 1983 |
|
echo |
| 1985 |
|
do |
| 1986 |
|
eval ac_val=\$$ac_var |
| 1987 |
|
case $ac_val in |
| 1988 |
< |
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
| 1988 |
> |
*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
| 1989 |
|
esac |
| 1990 |
< |
$as_echo "$ac_var='\''$ac_val'\''" |
| 1990 |
> |
printf "%s\n" "$ac_var='\''$ac_val'\''" |
| 1991 |
|
done | sort |
| 1992 |
|
echo |
| 1993 |
|
|
| 1994 |
|
if test -n "$ac_subst_files"; then |
| 1995 |
< |
$as_echo "## ------------------- ## |
| 1995 |
> |
printf "%s\n" "## ------------------- ## |
| 1996 |
|
## File substitutions. ## |
| 1997 |
|
## ------------------- ##" |
| 1998 |
|
echo |
| 2000 |
|
do |
| 2001 |
|
eval ac_val=\$$ac_var |
| 2002 |
|
case $ac_val in |
| 2003 |
< |
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
| 2003 |
> |
*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
| 2004 |
|
esac |
| 2005 |
< |
$as_echo "$ac_var='\''$ac_val'\''" |
| 2005 |
> |
printf "%s\n" "$ac_var='\''$ac_val'\''" |
| 2006 |
|
done | sort |
| 2007 |
|
echo |
| 2008 |
|
fi |
| 2009 |
|
|
| 2010 |
|
if test -s confdefs.h; then |
| 2011 |
< |
$as_echo "## ----------- ## |
| 2011 |
> |
printf "%s\n" "## ----------- ## |
| 2012 |
|
## confdefs.h. ## |
| 2013 |
|
## ----------- ##" |
| 2014 |
|
echo |
| 2016 |
|
echo |
| 2017 |
|
fi |
| 2018 |
|
test "$ac_signal" != 0 && |
| 2019 |
< |
$as_echo "$as_me: caught signal $ac_signal" |
| 2020 |
< |
$as_echo "$as_me: exit $exit_status" |
| 2019 |
> |
printf "%s\n" "$as_me: caught signal $ac_signal" |
| 2020 |
> |
printf "%s\n" "$as_me: exit $exit_status" |
| 2021 |
|
} >&5 |
| 2022 |
|
rm -f core *.core core.conftest.* && |
| 2023 |
|
rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
| 2031 |
|
# confdefs.h avoids OS command line length limits that DEFS can exceed. |
| 2032 |
|
rm -f -r conftest* confdefs.h |
| 2033 |
|
|
| 2034 |
< |
$as_echo "/* confdefs.h */" > confdefs.h |
| 2034 |
> |
printf "%s\n" "/* confdefs.h */" > confdefs.h |
| 2035 |
|
|
| 2036 |
|
# Predefined preprocessor variables. |
| 2037 |
|
|
| 2038 |
< |
cat >>confdefs.h <<_ACEOF |
| 2024 |
< |
#define PACKAGE_NAME "$PACKAGE_NAME" |
| 2025 |
< |
_ACEOF |
| 2038 |
> |
printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h |
| 2039 |
|
|
| 2040 |
< |
cat >>confdefs.h <<_ACEOF |
| 2028 |
< |
#define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
| 2029 |
< |
_ACEOF |
| 2040 |
> |
printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h |
| 2041 |
|
|
| 2042 |
< |
cat >>confdefs.h <<_ACEOF |
| 2032 |
< |
#define PACKAGE_VERSION "$PACKAGE_VERSION" |
| 2033 |
< |
_ACEOF |
| 2042 |
> |
printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h |
| 2043 |
|
|
| 2044 |
< |
cat >>confdefs.h <<_ACEOF |
| 2036 |
< |
#define PACKAGE_STRING "$PACKAGE_STRING" |
| 2037 |
< |
_ACEOF |
| 2044 |
> |
printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h |
| 2045 |
|
|
| 2046 |
< |
cat >>confdefs.h <<_ACEOF |
| 2040 |
< |
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
| 2041 |
< |
_ACEOF |
| 2046 |
> |
printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h |
| 2047 |
|
|
| 2048 |
< |
cat >>confdefs.h <<_ACEOF |
| 2044 |
< |
#define PACKAGE_URL "$PACKAGE_URL" |
| 2045 |
< |
_ACEOF |
| 2048 |
> |
printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h |
| 2049 |
|
|
| 2050 |
|
|
| 2051 |
|
# Let the site file select an alternate cache file if it wants to. |
| 2052 |
|
# Prefer an explicitly selected file to automatically selected ones. |
| 2050 |
– |
ac_site_file1=NONE |
| 2051 |
– |
ac_site_file2=NONE |
| 2053 |
|
if test -n "$CONFIG_SITE"; then |
| 2054 |
< |
# We do not want a PATH search for config.site. |
| 2054 |
< |
case $CONFIG_SITE in #(( |
| 2055 |
< |
-*) ac_site_file1=./$CONFIG_SITE;; |
| 2056 |
< |
*/*) ac_site_file1=$CONFIG_SITE;; |
| 2057 |
< |
*) ac_site_file1=./$CONFIG_SITE;; |
| 2058 |
< |
esac |
| 2054 |
> |
ac_site_files="$CONFIG_SITE" |
| 2055 |
|
elif test "x$prefix" != xNONE; then |
| 2056 |
< |
ac_site_file1=$prefix/share/config.site |
| 2061 |
< |
ac_site_file2=$prefix/etc/config.site |
| 2056 |
> |
ac_site_files="$prefix/share/config.site $prefix/etc/config.site" |
| 2057 |
|
else |
| 2058 |
< |
ac_site_file1=$ac_default_prefix/share/config.site |
| 2064 |
< |
ac_site_file2=$ac_default_prefix/etc/config.site |
| 2058 |
> |
ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" |
| 2059 |
|
fi |
| 2060 |
< |
for ac_site_file in "$ac_site_file1" "$ac_site_file2" |
| 2060 |
> |
|
| 2061 |
> |
for ac_site_file in $ac_site_files |
| 2062 |
|
do |
| 2063 |
< |
test "x$ac_site_file" = xNONE && continue |
| 2064 |
< |
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then |
| 2065 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
| 2066 |
< |
$as_echo "$as_me: loading site script $ac_site_file" >&6;} |
| 2063 |
> |
case $ac_site_file in #( |
| 2064 |
> |
*/*) : |
| 2065 |
> |
;; #( |
| 2066 |
> |
*) : |
| 2067 |
> |
ac_site_file=./$ac_site_file ;; |
| 2068 |
> |
esac |
| 2069 |
> |
if test -f "$ac_site_file" && test -r "$ac_site_file"; then |
| 2070 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
| 2071 |
> |
printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;} |
| 2072 |
|
sed 's/^/| /' "$ac_site_file" >&5 |
| 2073 |
|
. "$ac_site_file" \ |
| 2074 |
< |
|| { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 2075 |
< |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 2074 |
> |
|| { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 2075 |
> |
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 2076 |
|
as_fn_error $? "failed to load site script $ac_site_file |
| 2077 |
|
See \`config.log' for more details" "$LINENO" 5; } |
| 2078 |
|
fi |
| 2082 |
|
# Some versions of bash will fail to source /dev/null (special files |
| 2083 |
|
# actually), so we avoid doing that. DJGPP emulates it as a regular file. |
| 2084 |
|
if test /dev/null != "$cache_file" && test -f "$cache_file"; then |
| 2085 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 |
| 2086 |
< |
$as_echo "$as_me: loading cache $cache_file" >&6;} |
| 2085 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 |
| 2086 |
> |
printf "%s\n" "$as_me: loading cache $cache_file" >&6;} |
| 2087 |
|
case $cache_file in |
| 2088 |
|
[\\/]* | ?:[\\/]* ) . "$cache_file";; |
| 2089 |
|
*) . "./$cache_file";; |
| 2090 |
|
esac |
| 2091 |
|
fi |
| 2092 |
|
else |
| 2093 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 |
| 2094 |
< |
$as_echo "$as_me: creating cache $cache_file" >&6;} |
| 2093 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 |
| 2094 |
> |
printf "%s\n" "$as_me: creating cache $cache_file" >&6;} |
| 2095 |
|
>$cache_file |
| 2096 |
|
fi |
| 2097 |
|
|
| 2098 |
+ |
# Test code for whether the C compiler supports C89 (global declarations) |
| 2099 |
+ |
ac_c_conftest_c89_globals=' |
| 2100 |
+ |
/* Does the compiler advertise C89 conformance? |
| 2101 |
+ |
Do not test the value of __STDC__, because some compilers set it to 0 |
| 2102 |
+ |
while being otherwise adequately conformant. */ |
| 2103 |
+ |
#if !defined __STDC__ |
| 2104 |
+ |
# error "Compiler does not advertise C89 conformance" |
| 2105 |
+ |
#endif |
| 2106 |
+ |
|
| 2107 |
+ |
#include <stddef.h> |
| 2108 |
+ |
#include <stdarg.h> |
| 2109 |
+ |
struct stat; |
| 2110 |
+ |
/* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */ |
| 2111 |
+ |
struct buf { int x; }; |
| 2112 |
+ |
struct buf * (*rcsopen) (struct buf *, struct stat *, int); |
| 2113 |
+ |
static char *e (p, i) |
| 2114 |
+ |
char **p; |
| 2115 |
+ |
int i; |
| 2116 |
+ |
{ |
| 2117 |
+ |
return p[i]; |
| 2118 |
+ |
} |
| 2119 |
+ |
static char *f (char * (*g) (char **, int), char **p, ...) |
| 2120 |
+ |
{ |
| 2121 |
+ |
char *s; |
| 2122 |
+ |
va_list v; |
| 2123 |
+ |
va_start (v,p); |
| 2124 |
+ |
s = g (p, va_arg (v,int)); |
| 2125 |
+ |
va_end (v); |
| 2126 |
+ |
return s; |
| 2127 |
+ |
} |
| 2128 |
+ |
|
| 2129 |
+ |
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
| 2130 |
+ |
function prototypes and stuff, but not \xHH hex character constants. |
| 2131 |
+ |
These do not provoke an error unfortunately, instead are silently treated |
| 2132 |
+ |
as an "x". The following induces an error, until -std is added to get |
| 2133 |
+ |
proper ANSI mode. Curiously \x00 != x always comes out true, for an |
| 2134 |
+ |
array size at least. It is necessary to write \x00 == 0 to get something |
| 2135 |
+ |
that is true only with -std. */ |
| 2136 |
+ |
int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1]; |
| 2137 |
+ |
|
| 2138 |
+ |
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters |
| 2139 |
+ |
inside strings and character constants. */ |
| 2140 |
+ |
#define FOO(x) '\''x'\'' |
| 2141 |
+ |
int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1]; |
| 2142 |
+ |
|
| 2143 |
+ |
int test (int i, double x); |
| 2144 |
+ |
struct s1 {int (*f) (int a);}; |
| 2145 |
+ |
struct s2 {int (*f) (double a);}; |
| 2146 |
+ |
int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int), |
| 2147 |
+ |
int, int);' |
| 2148 |
+ |
|
| 2149 |
+ |
# Test code for whether the C compiler supports C89 (body of main). |
| 2150 |
+ |
ac_c_conftest_c89_main=' |
| 2151 |
+ |
ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]); |
| 2152 |
+ |
' |
| 2153 |
+ |
|
| 2154 |
+ |
# Test code for whether the C compiler supports C99 (global declarations) |
| 2155 |
+ |
ac_c_conftest_c99_globals=' |
| 2156 |
+ |
// Does the compiler advertise C99 conformance? |
| 2157 |
+ |
#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L |
| 2158 |
+ |
# error "Compiler does not advertise C99 conformance" |
| 2159 |
+ |
#endif |
| 2160 |
+ |
|
| 2161 |
+ |
#include <stdbool.h> |
| 2162 |
+ |
extern int puts (const char *); |
| 2163 |
+ |
extern int printf (const char *, ...); |
| 2164 |
+ |
extern int dprintf (int, const char *, ...); |
| 2165 |
+ |
extern void *malloc (size_t); |
| 2166 |
+ |
|
| 2167 |
+ |
// Check varargs macros. These examples are taken from C99 6.10.3.5. |
| 2168 |
+ |
// dprintf is used instead of fprintf to avoid needing to declare |
| 2169 |
+ |
// FILE and stderr. |
| 2170 |
+ |
#define debug(...) dprintf (2, __VA_ARGS__) |
| 2171 |
+ |
#define showlist(...) puts (#__VA_ARGS__) |
| 2172 |
+ |
#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) |
| 2173 |
+ |
static void |
| 2174 |
+ |
test_varargs_macros (void) |
| 2175 |
+ |
{ |
| 2176 |
+ |
int x = 1234; |
| 2177 |
+ |
int y = 5678; |
| 2178 |
+ |
debug ("Flag"); |
| 2179 |
+ |
debug ("X = %d\n", x); |
| 2180 |
+ |
showlist (The first, second, and third items.); |
| 2181 |
+ |
report (x>y, "x is %d but y is %d", x, y); |
| 2182 |
+ |
} |
| 2183 |
+ |
|
| 2184 |
+ |
// Check long long types. |
| 2185 |
+ |
#define BIG64 18446744073709551615ull |
| 2186 |
+ |
#define BIG32 4294967295ul |
| 2187 |
+ |
#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) |
| 2188 |
+ |
#if !BIG_OK |
| 2189 |
+ |
#error "your preprocessor is broken" |
| 2190 |
+ |
#endif |
| 2191 |
+ |
#if BIG_OK |
| 2192 |
+ |
#else |
| 2193 |
+ |
#error "your preprocessor is broken" |
| 2194 |
+ |
#endif |
| 2195 |
+ |
static long long int bignum = -9223372036854775807LL; |
| 2196 |
+ |
static unsigned long long int ubignum = BIG64; |
| 2197 |
+ |
|
| 2198 |
+ |
struct incomplete_array |
| 2199 |
+ |
{ |
| 2200 |
+ |
int datasize; |
| 2201 |
+ |
double data[]; |
| 2202 |
+ |
}; |
| 2203 |
+ |
|
| 2204 |
+ |
struct named_init { |
| 2205 |
+ |
int number; |
| 2206 |
+ |
const wchar_t *name; |
| 2207 |
+ |
double average; |
| 2208 |
+ |
}; |
| 2209 |
+ |
|
| 2210 |
+ |
typedef const char *ccp; |
| 2211 |
+ |
|
| 2212 |
+ |
static inline int |
| 2213 |
+ |
test_restrict (ccp restrict text) |
| 2214 |
+ |
{ |
| 2215 |
+ |
// See if C++-style comments work. |
| 2216 |
+ |
// Iterate through items via the restricted pointer. |
| 2217 |
+ |
// Also check for declarations in for loops. |
| 2218 |
+ |
for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i) |
| 2219 |
+ |
continue; |
| 2220 |
+ |
return 0; |
| 2221 |
+ |
} |
| 2222 |
+ |
|
| 2223 |
+ |
// Check varargs and va_copy. |
| 2224 |
+ |
static bool |
| 2225 |
+ |
test_varargs (const char *format, ...) |
| 2226 |
+ |
{ |
| 2227 |
+ |
va_list args; |
| 2228 |
+ |
va_start (args, format); |
| 2229 |
+ |
va_list args_copy; |
| 2230 |
+ |
va_copy (args_copy, args); |
| 2231 |
+ |
|
| 2232 |
+ |
const char *str = ""; |
| 2233 |
+ |
int number = 0; |
| 2234 |
+ |
float fnumber = 0; |
| 2235 |
+ |
|
| 2236 |
+ |
while (*format) |
| 2237 |
+ |
{ |
| 2238 |
+ |
switch (*format++) |
| 2239 |
+ |
{ |
| 2240 |
+ |
case '\''s'\'': // string |
| 2241 |
+ |
str = va_arg (args_copy, const char *); |
| 2242 |
+ |
break; |
| 2243 |
+ |
case '\''d'\'': // int |
| 2244 |
+ |
number = va_arg (args_copy, int); |
| 2245 |
+ |
break; |
| 2246 |
+ |
case '\''f'\'': // float |
| 2247 |
+ |
fnumber = va_arg (args_copy, double); |
| 2248 |
+ |
break; |
| 2249 |
+ |
default: |
| 2250 |
+ |
break; |
| 2251 |
+ |
} |
| 2252 |
+ |
} |
| 2253 |
+ |
va_end (args_copy); |
| 2254 |
+ |
va_end (args); |
| 2255 |
+ |
|
| 2256 |
+ |
return *str && number && fnumber; |
| 2257 |
+ |
} |
| 2258 |
+ |
' |
| 2259 |
+ |
|
| 2260 |
+ |
# Test code for whether the C compiler supports C99 (body of main). |
| 2261 |
+ |
ac_c_conftest_c99_main=' |
| 2262 |
+ |
// Check bool. |
| 2263 |
+ |
_Bool success = false; |
| 2264 |
+ |
success |= (argc != 0); |
| 2265 |
+ |
|
| 2266 |
+ |
// Check restrict. |
| 2267 |
+ |
if (test_restrict ("String literal") == 0) |
| 2268 |
+ |
success = true; |
| 2269 |
+ |
char *restrict newvar = "Another string"; |
| 2270 |
+ |
|
| 2271 |
+ |
// Check varargs. |
| 2272 |
+ |
success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234); |
| 2273 |
+ |
test_varargs_macros (); |
| 2274 |
+ |
|
| 2275 |
+ |
// Check flexible array members. |
| 2276 |
+ |
struct incomplete_array *ia = |
| 2277 |
+ |
malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); |
| 2278 |
+ |
ia->datasize = 10; |
| 2279 |
+ |
for (int i = 0; i < ia->datasize; ++i) |
| 2280 |
+ |
ia->data[i] = i * 1.234; |
| 2281 |
+ |
|
| 2282 |
+ |
// Check named initializers. |
| 2283 |
+ |
struct named_init ni = { |
| 2284 |
+ |
.number = 34, |
| 2285 |
+ |
.name = L"Test wide string", |
| 2286 |
+ |
.average = 543.34343, |
| 2287 |
+ |
}; |
| 2288 |
+ |
|
| 2289 |
+ |
ni.number = 58; |
| 2290 |
+ |
|
| 2291 |
+ |
int dynamic_array[ni.number]; |
| 2292 |
+ |
dynamic_array[0] = argv[0][0]; |
| 2293 |
+ |
dynamic_array[ni.number - 1] = 543; |
| 2294 |
+ |
|
| 2295 |
+ |
// work around unused variable warnings |
| 2296 |
+ |
ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\'' |
| 2297 |
+ |
|| dynamic_array[ni.number - 1] != 543); |
| 2298 |
+ |
' |
| 2299 |
+ |
|
| 2300 |
+ |
# Test code for whether the C compiler supports C11 (global declarations) |
| 2301 |
+ |
ac_c_conftest_c11_globals=' |
| 2302 |
+ |
// Does the compiler advertise C11 conformance? |
| 2303 |
+ |
#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L |
| 2304 |
+ |
# error "Compiler does not advertise C11 conformance" |
| 2305 |
+ |
#endif |
| 2306 |
+ |
|
| 2307 |
+ |
// Check _Alignas. |
| 2308 |
+ |
char _Alignas (double) aligned_as_double; |
| 2309 |
+ |
char _Alignas (0) no_special_alignment; |
| 2310 |
+ |
extern char aligned_as_int; |
| 2311 |
+ |
char _Alignas (0) _Alignas (int) aligned_as_int; |
| 2312 |
+ |
|
| 2313 |
+ |
// Check _Alignof. |
| 2314 |
+ |
enum |
| 2315 |
+ |
{ |
| 2316 |
+ |
int_alignment = _Alignof (int), |
| 2317 |
+ |
int_array_alignment = _Alignof (int[100]), |
| 2318 |
+ |
char_alignment = _Alignof (char) |
| 2319 |
+ |
}; |
| 2320 |
+ |
_Static_assert (0 < -_Alignof (int), "_Alignof is signed"); |
| 2321 |
+ |
|
| 2322 |
+ |
// Check _Noreturn. |
| 2323 |
+ |
int _Noreturn does_not_return (void) { for (;;) continue; } |
| 2324 |
+ |
|
| 2325 |
+ |
// Check _Static_assert. |
| 2326 |
+ |
struct test_static_assert |
| 2327 |
+ |
{ |
| 2328 |
+ |
int x; |
| 2329 |
+ |
_Static_assert (sizeof (int) <= sizeof (long int), |
| 2330 |
+ |
"_Static_assert does not work in struct"); |
| 2331 |
+ |
long int y; |
| 2332 |
+ |
}; |
| 2333 |
+ |
|
| 2334 |
+ |
// Check UTF-8 literals. |
| 2335 |
+ |
#define u8 syntax error! |
| 2336 |
+ |
char const utf8_literal[] = u8"happens to be ASCII" "another string"; |
| 2337 |
+ |
|
| 2338 |
+ |
// Check duplicate typedefs. |
| 2339 |
+ |
typedef long *long_ptr; |
| 2340 |
+ |
typedef long int *long_ptr; |
| 2341 |
+ |
typedef long_ptr long_ptr; |
| 2342 |
+ |
|
| 2343 |
+ |
// Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1. |
| 2344 |
+ |
struct anonymous |
| 2345 |
+ |
{ |
| 2346 |
+ |
union { |
| 2347 |
+ |
struct { int i; int j; }; |
| 2348 |
+ |
struct { int k; long int l; } w; |
| 2349 |
+ |
}; |
| 2350 |
+ |
int m; |
| 2351 |
+ |
} v1; |
| 2352 |
+ |
' |
| 2353 |
+ |
|
| 2354 |
+ |
# Test code for whether the C compiler supports C11 (body of main). |
| 2355 |
+ |
ac_c_conftest_c11_main=' |
| 2356 |
+ |
_Static_assert ((offsetof (struct anonymous, i) |
| 2357 |
+ |
== offsetof (struct anonymous, w.k)), |
| 2358 |
+ |
"Anonymous union alignment botch"); |
| 2359 |
+ |
v1.i = 2; |
| 2360 |
+ |
v1.w.k = 5; |
| 2361 |
+ |
ok |= v1.i != 5; |
| 2362 |
+ |
' |
| 2363 |
+ |
|
| 2364 |
+ |
# Test code for whether the C compiler supports C11 (complete). |
| 2365 |
+ |
ac_c_conftest_c11_program="${ac_c_conftest_c89_globals} |
| 2366 |
+ |
${ac_c_conftest_c99_globals} |
| 2367 |
+ |
${ac_c_conftest_c11_globals} |
| 2368 |
+ |
|
| 2369 |
+ |
int |
| 2370 |
+ |
main (int argc, char **argv) |
| 2371 |
+ |
{ |
| 2372 |
+ |
int ok = 0; |
| 2373 |
+ |
${ac_c_conftest_c89_main} |
| 2374 |
+ |
${ac_c_conftest_c99_main} |
| 2375 |
+ |
${ac_c_conftest_c11_main} |
| 2376 |
+ |
return ok; |
| 2377 |
+ |
} |
| 2378 |
+ |
" |
| 2379 |
+ |
|
| 2380 |
+ |
# Test code for whether the C compiler supports C99 (complete). |
| 2381 |
+ |
ac_c_conftest_c99_program="${ac_c_conftest_c89_globals} |
| 2382 |
+ |
${ac_c_conftest_c99_globals} |
| 2383 |
+ |
|
| 2384 |
+ |
int |
| 2385 |
+ |
main (int argc, char **argv) |
| 2386 |
+ |
{ |
| 2387 |
+ |
int ok = 0; |
| 2388 |
+ |
${ac_c_conftest_c89_main} |
| 2389 |
+ |
${ac_c_conftest_c99_main} |
| 2390 |
+ |
return ok; |
| 2391 |
+ |
} |
| 2392 |
+ |
" |
| 2393 |
+ |
|
| 2394 |
+ |
# Test code for whether the C compiler supports C89 (complete). |
| 2395 |
+ |
ac_c_conftest_c89_program="${ac_c_conftest_c89_globals} |
| 2396 |
+ |
|
| 2397 |
+ |
int |
| 2398 |
+ |
main (int argc, char **argv) |
| 2399 |
+ |
{ |
| 2400 |
+ |
int ok = 0; |
| 2401 |
+ |
${ac_c_conftest_c89_main} |
| 2402 |
+ |
return ok; |
| 2403 |
+ |
} |
| 2404 |
+ |
" |
| 2405 |
+ |
|
| 2406 |
+ |
as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H" |
| 2407 |
+ |
as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H" |
| 2408 |
+ |
as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H" |
| 2409 |
+ |
as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H" |
| 2410 |
+ |
as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H" |
| 2411 |
+ |
as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H" |
| 2412 |
+ |
as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H" |
| 2413 |
+ |
as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H" |
| 2414 |
+ |
as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H" |
| 2415 |
+ |
|
| 2416 |
+ |
# Auxiliary files required by this configure script. |
| 2417 |
+ |
ac_aux_files="config.guess config.sub ltmain.sh compile missing install-sh" |
| 2418 |
+ |
|
| 2419 |
+ |
# Locations in which to look for auxiliary files. |
| 2420 |
+ |
ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.." |
| 2421 |
+ |
|
| 2422 |
+ |
# Search for a directory containing all of the required auxiliary files, |
| 2423 |
+ |
# $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates. |
| 2424 |
+ |
# If we don't find one directory that contains all the files we need, |
| 2425 |
+ |
# we report the set of missing files from the *first* directory in |
| 2426 |
+ |
# $ac_aux_dir_candidates and give up. |
| 2427 |
+ |
ac_missing_aux_files="" |
| 2428 |
+ |
ac_first_candidate=: |
| 2429 |
+ |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5 |
| 2430 |
+ |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2431 |
+ |
as_found=false |
| 2432 |
+ |
for as_dir in $ac_aux_dir_candidates |
| 2433 |
+ |
do |
| 2434 |
+ |
IFS=$as_save_IFS |
| 2435 |
+ |
case $as_dir in #((( |
| 2436 |
+ |
'') as_dir=./ ;; |
| 2437 |
+ |
*/) ;; |
| 2438 |
+ |
*) as_dir=$as_dir/ ;; |
| 2439 |
+ |
esac |
| 2440 |
+ |
as_found=: |
| 2441 |
+ |
|
| 2442 |
+ |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5 |
| 2443 |
+ |
ac_aux_dir_found=yes |
| 2444 |
+ |
ac_install_sh= |
| 2445 |
+ |
for ac_aux in $ac_aux_files |
| 2446 |
+ |
do |
| 2447 |
+ |
# As a special case, if "install-sh" is required, that requirement |
| 2448 |
+ |
# can be satisfied by any of "install-sh", "install.sh", or "shtool", |
| 2449 |
+ |
# and $ac_install_sh is set appropriately for whichever one is found. |
| 2450 |
+ |
if test x"$ac_aux" = x"install-sh" |
| 2451 |
+ |
then |
| 2452 |
+ |
if test -f "${as_dir}install-sh"; then |
| 2453 |
+ |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5 |
| 2454 |
+ |
ac_install_sh="${as_dir}install-sh -c" |
| 2455 |
+ |
elif test -f "${as_dir}install.sh"; then |
| 2456 |
+ |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5 |
| 2457 |
+ |
ac_install_sh="${as_dir}install.sh -c" |
| 2458 |
+ |
elif test -f "${as_dir}shtool"; then |
| 2459 |
+ |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5 |
| 2460 |
+ |
ac_install_sh="${as_dir}shtool install -c" |
| 2461 |
+ |
else |
| 2462 |
+ |
ac_aux_dir_found=no |
| 2463 |
+ |
if $ac_first_candidate; then |
| 2464 |
+ |
ac_missing_aux_files="${ac_missing_aux_files} install-sh" |
| 2465 |
+ |
else |
| 2466 |
+ |
break |
| 2467 |
+ |
fi |
| 2468 |
+ |
fi |
| 2469 |
+ |
else |
| 2470 |
+ |
if test -f "${as_dir}${ac_aux}"; then |
| 2471 |
+ |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5 |
| 2472 |
+ |
else |
| 2473 |
+ |
ac_aux_dir_found=no |
| 2474 |
+ |
if $ac_first_candidate; then |
| 2475 |
+ |
ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}" |
| 2476 |
+ |
else |
| 2477 |
+ |
break |
| 2478 |
+ |
fi |
| 2479 |
+ |
fi |
| 2480 |
+ |
fi |
| 2481 |
+ |
done |
| 2482 |
+ |
if test "$ac_aux_dir_found" = yes; then |
| 2483 |
+ |
ac_aux_dir="$as_dir" |
| 2484 |
+ |
break |
| 2485 |
+ |
fi |
| 2486 |
+ |
ac_first_candidate=false |
| 2487 |
+ |
|
| 2488 |
+ |
as_found=false |
| 2489 |
+ |
done |
| 2490 |
+ |
IFS=$as_save_IFS |
| 2491 |
+ |
if $as_found |
| 2492 |
+ |
then : |
| 2493 |
+ |
|
| 2494 |
+ |
else $as_nop |
| 2495 |
+ |
as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 |
| 2496 |
+ |
fi |
| 2497 |
+ |
|
| 2498 |
+ |
|
| 2499 |
+ |
# These three variables are undocumented and unsupported, |
| 2500 |
+ |
# and are intended to be withdrawn in a future Autoconf release. |
| 2501 |
+ |
# They can cause serious problems if a builder's source tree is in a directory |
| 2502 |
+ |
# whose full name contains unusual characters. |
| 2503 |
+ |
if test -f "${ac_aux_dir}config.guess"; then |
| 2504 |
+ |
ac_config_guess="$SHELL ${ac_aux_dir}config.guess" |
| 2505 |
+ |
fi |
| 2506 |
+ |
if test -f "${ac_aux_dir}config.sub"; then |
| 2507 |
+ |
ac_config_sub="$SHELL ${ac_aux_dir}config.sub" |
| 2508 |
+ |
fi |
| 2509 |
+ |
if test -f "$ac_aux_dir/configure"; then |
| 2510 |
+ |
ac_configure="$SHELL ${ac_aux_dir}configure" |
| 2511 |
+ |
fi |
| 2512 |
+ |
|
| 2513 |
|
# Check that the precious variables saved in the cache have kept the same |
| 2514 |
|
# value. |
| 2515 |
|
ac_cache_corrupted=false |
| 2520 |
|
eval ac_new_val=\$ac_env_${ac_var}_value |
| 2521 |
|
case $ac_old_set,$ac_new_set in |
| 2522 |
|
set,) |
| 2523 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
| 2524 |
< |
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
| 2523 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
| 2524 |
> |
printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
| 2525 |
|
ac_cache_corrupted=: ;; |
| 2526 |
|
,set) |
| 2527 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 |
| 2528 |
< |
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
| 2527 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 |
| 2528 |
> |
printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
| 2529 |
|
ac_cache_corrupted=: ;; |
| 2530 |
|
,);; |
| 2531 |
|
*) |
| 2534 |
|
ac_old_val_w=`echo x $ac_old_val` |
| 2535 |
|
ac_new_val_w=`echo x $ac_new_val` |
| 2536 |
|
if test "$ac_old_val_w" != "$ac_new_val_w"; then |
| 2537 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 |
| 2538 |
< |
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
| 2537 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 |
| 2538 |
> |
printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
| 2539 |
|
ac_cache_corrupted=: |
| 2540 |
|
else |
| 2541 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 |
| 2542 |
< |
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} |
| 2541 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 |
| 2542 |
> |
printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} |
| 2543 |
|
eval $ac_var=\$ac_old_val |
| 2544 |
|
fi |
| 2545 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 |
| 2546 |
< |
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} |
| 2547 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 |
| 2548 |
< |
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} |
| 2545 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 |
| 2546 |
> |
printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;} |
| 2547 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 |
| 2548 |
> |
printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;} |
| 2549 |
|
fi;; |
| 2550 |
|
esac |
| 2551 |
|
# Pass precious variables to config.status. |
| 2552 |
|
if test "$ac_new_set" = set; then |
| 2553 |
|
case $ac_new_val in |
| 2554 |
< |
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 2554 |
> |
*\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 2555 |
|
*) ac_arg=$ac_var=$ac_new_val ;; |
| 2556 |
|
esac |
| 2557 |
|
case " $ac_configure_args " in |
| 2561 |
|
fi |
| 2562 |
|
done |
| 2563 |
|
if $ac_cache_corrupted; then |
| 2564 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 2565 |
< |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 2566 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
| 2567 |
< |
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
| 2568 |
< |
as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 |
| 2564 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 2565 |
> |
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 2566 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
| 2567 |
> |
printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;} |
| 2568 |
> |
as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file' |
| 2569 |
> |
and start over" "$LINENO" 5 |
| 2570 |
|
fi |
| 2571 |
|
## -------------------- ## |
| 2572 |
|
## Main body of script. ## |
| 2581 |
|
|
| 2582 |
|
am__api_version='1.16' |
| 2583 |
|
|
| 2168 |
– |
ac_aux_dir= |
| 2169 |
– |
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
| 2170 |
– |
if test -f "$ac_dir/install-sh"; then |
| 2171 |
– |
ac_aux_dir=$ac_dir |
| 2172 |
– |
ac_install_sh="$ac_aux_dir/install-sh -c" |
| 2173 |
– |
break |
| 2174 |
– |
elif test -f "$ac_dir/install.sh"; then |
| 2175 |
– |
ac_aux_dir=$ac_dir |
| 2176 |
– |
ac_install_sh="$ac_aux_dir/install.sh -c" |
| 2177 |
– |
break |
| 2178 |
– |
elif test -f "$ac_dir/shtool"; then |
| 2179 |
– |
ac_aux_dir=$ac_dir |
| 2180 |
– |
ac_install_sh="$ac_aux_dir/shtool install -c" |
| 2181 |
– |
break |
| 2182 |
– |
fi |
| 2183 |
– |
done |
| 2184 |
– |
if test -z "$ac_aux_dir"; then |
| 2185 |
– |
as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 |
| 2186 |
– |
fi |
| 2187 |
– |
|
| 2188 |
– |
# These three variables are undocumented and unsupported, |
| 2189 |
– |
# and are intended to be withdrawn in a future Autoconf release. |
| 2190 |
– |
# They can cause serious problems if a builder's source tree is in a directory |
| 2191 |
– |
# whose full name contains unusual characters. |
| 2192 |
– |
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. |
| 2193 |
– |
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. |
| 2194 |
– |
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. |
| 2584 |
|
|
| 2585 |
|
|
| 2586 |
< |
# Find a good install program. We prefer a C program (faster), |
| 2586 |
> |
# Find a good install program. We prefer a C program (faster), |
| 2587 |
|
# so one script is as good as another. But avoid the broken or |
| 2588 |
|
# incompatible versions: |
| 2589 |
|
# SysV /etc/install, /usr/sbin/install |
| 2597 |
|
# OS/2's system install, which has a completely different semantic |
| 2598 |
|
# ./install, which can be erroneously created by make from ./install.sh. |
| 2599 |
|
# Reject install programs that cannot install multiple files. |
| 2600 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
| 2601 |
< |
$as_echo_n "checking for a BSD-compatible install... " >&6; } |
| 2600 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
| 2601 |
> |
printf %s "checking for a BSD-compatible install... " >&6; } |
| 2602 |
|
if test -z "$INSTALL"; then |
| 2603 |
< |
if ${ac_cv_path_install+:} false; then : |
| 2604 |
< |
$as_echo_n "(cached) " >&6 |
| 2605 |
< |
else |
| 2603 |
> |
if test ${ac_cv_path_install+y} |
| 2604 |
> |
then : |
| 2605 |
> |
printf %s "(cached) " >&6 |
| 2606 |
> |
else $as_nop |
| 2607 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2608 |
|
for as_dir in $PATH |
| 2609 |
|
do |
| 2610 |
|
IFS=$as_save_IFS |
| 2611 |
< |
test -z "$as_dir" && as_dir=. |
| 2612 |
< |
# Account for people who put trailing slashes in PATH elements. |
| 2613 |
< |
case $as_dir/ in #(( |
| 2614 |
< |
./ | .// | /[cC]/* | \ |
| 2611 |
> |
case $as_dir in #((( |
| 2612 |
> |
'') as_dir=./ ;; |
| 2613 |
> |
*/) ;; |
| 2614 |
> |
*) as_dir=$as_dir/ ;; |
| 2615 |
> |
esac |
| 2616 |
> |
# Account for fact that we put trailing slashes in our PATH walk. |
| 2617 |
> |
case $as_dir in #(( |
| 2618 |
> |
./ | /[cC]/* | \ |
| 2619 |
|
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
| 2620 |
|
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ |
| 2621 |
|
/usr/ucb/* ) ;; |
| 2625 |
|
# by default. |
| 2626 |
|
for ac_prog in ginstall scoinst install; do |
| 2627 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 2628 |
< |
if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
| 2628 |
> |
if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then |
| 2629 |
|
if test $ac_prog = install && |
| 2630 |
< |
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
| 2630 |
> |
grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
| 2631 |
|
# AIX install. It has an incompatible calling convention. |
| 2632 |
|
: |
| 2633 |
|
elif test $ac_prog = install && |
| 2634 |
< |
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
| 2634 |
> |
grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
| 2635 |
|
# program-specific install script used by HP pwplus--don't use. |
| 2636 |
|
: |
| 2637 |
|
else |
| 2639 |
|
echo one > conftest.one |
| 2640 |
|
echo two > conftest.two |
| 2641 |
|
mkdir conftest.dir |
| 2642 |
< |
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && |
| 2642 |
> |
if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" && |
| 2643 |
|
test -s conftest.one && test -s conftest.two && |
| 2644 |
|
test -s conftest.dir/conftest.one && |
| 2645 |
|
test -s conftest.dir/conftest.two |
| 2646 |
|
then |
| 2647 |
< |
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
| 2647 |
> |
ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c" |
| 2648 |
|
break 3 |
| 2649 |
|
fi |
| 2650 |
|
fi |
| 2660 |
|
rm -rf conftest.one conftest.two conftest.dir |
| 2661 |
|
|
| 2662 |
|
fi |
| 2663 |
< |
if test "${ac_cv_path_install+set}" = set; then |
| 2663 |
> |
if test ${ac_cv_path_install+y}; then |
| 2664 |
|
INSTALL=$ac_cv_path_install |
| 2665 |
|
else |
| 2666 |
|
# As a last resort, use the slow shell script. Don't cache a |
| 2670 |
|
INSTALL=$ac_install_sh |
| 2671 |
|
fi |
| 2672 |
|
fi |
| 2673 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 |
| 2674 |
< |
$as_echo "$INSTALL" >&6; } |
| 2673 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 |
| 2674 |
> |
printf "%s\n" "$INSTALL" >&6; } |
| 2675 |
|
|
| 2676 |
|
# Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
| 2677 |
|
# It thinks the first close brace ends the variable substitution. |
| 2681 |
|
|
| 2682 |
|
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
| 2683 |
|
|
| 2684 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 |
| 2685 |
< |
$as_echo_n "checking whether build environment is sane... " >&6; } |
| 2684 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 |
| 2685 |
> |
printf %s "checking whether build environment is sane... " >&6; } |
| 2686 |
|
# Reject unsafe characters in $srcdir or the absolute working directory |
| 2687 |
|
# name. Accept space and tab only in the latter. |
| 2688 |
|
am_lf=' |
| 2736 |
|
as_fn_error $? "newly created file is older than distributed files! |
| 2737 |
|
Check your system clock" "$LINENO" 5 |
| 2738 |
|
fi |
| 2739 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 2740 |
< |
$as_echo "yes" >&6; } |
| 2739 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 2740 |
> |
printf "%s\n" "yes" >&6; } |
| 2741 |
|
# If we didn't sleep, we still need to ensure time stamps of config.status and |
| 2742 |
|
# generated files are strictly newer. |
| 2743 |
|
am_sleep_pid= |
| 2756 |
|
# Double any \ or $. |
| 2757 |
|
# By default was `s,x,x', remove it if useless. |
| 2758 |
|
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' |
| 2759 |
< |
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` |
| 2759 |
> |
program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"` |
| 2760 |
> |
|
| 2761 |
|
|
| 2762 |
|
# Expand $ac_aux_dir to an absolute path. |
| 2763 |
|
am_aux_dir=`cd "$ac_aux_dir" && pwd` |
| 2764 |
|
|
| 2765 |
< |
if test x"${MISSING+set}" != xset; then |
| 2766 |
< |
case $am_aux_dir in |
| 2767 |
< |
*\ * | *\ *) |
| 2373 |
< |
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; |
| 2374 |
< |
*) |
| 2375 |
< |
MISSING="\${SHELL} $am_aux_dir/missing" ;; |
| 2376 |
< |
esac |
| 2765 |
> |
|
| 2766 |
> |
if test x"${MISSING+set}" != xset; then |
| 2767 |
> |
MISSING="\${SHELL} '$am_aux_dir/missing'" |
| 2768 |
|
fi |
| 2769 |
|
# Use eval to expand $SHELL |
| 2770 |
|
if eval "$MISSING --is-lightweight"; then |
| 2771 |
|
am_missing_run="$MISSING " |
| 2772 |
|
else |
| 2773 |
|
am_missing_run= |
| 2774 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 |
| 2775 |
< |
$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} |
| 2774 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 |
| 2775 |
> |
printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;} |
| 2776 |
|
fi |
| 2777 |
|
|
| 2778 |
|
if test x"${install_sh+set}" != xset; then |
| 2792 |
|
if test -n "$ac_tool_prefix"; then |
| 2793 |
|
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
| 2794 |
|
set dummy ${ac_tool_prefix}strip; ac_word=$2 |
| 2795 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 2796 |
< |
$as_echo_n "checking for $ac_word... " >&6; } |
| 2797 |
< |
if ${ac_cv_prog_STRIP+:} false; then : |
| 2798 |
< |
$as_echo_n "(cached) " >&6 |
| 2799 |
< |
else |
| 2795 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 2796 |
> |
printf %s "checking for $ac_word... " >&6; } |
| 2797 |
> |
if test ${ac_cv_prog_STRIP+y} |
| 2798 |
> |
then : |
| 2799 |
> |
printf %s "(cached) " >&6 |
| 2800 |
> |
else $as_nop |
| 2801 |
|
if test -n "$STRIP"; then |
| 2802 |
|
ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
| 2803 |
|
else |
| 2805 |
|
for as_dir in $PATH |
| 2806 |
|
do |
| 2807 |
|
IFS=$as_save_IFS |
| 2808 |
< |
test -z "$as_dir" && as_dir=. |
| 2808 |
> |
case $as_dir in #((( |
| 2809 |
> |
'') as_dir=./ ;; |
| 2810 |
> |
*/) ;; |
| 2811 |
> |
*) as_dir=$as_dir/ ;; |
| 2812 |
> |
esac |
| 2813 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 2814 |
< |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 2814 |
> |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 2815 |
|
ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
| 2816 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2816 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 2817 |
|
break 2 |
| 2818 |
|
fi |
| 2819 |
|
done |
| 2824 |
|
fi |
| 2825 |
|
STRIP=$ac_cv_prog_STRIP |
| 2826 |
|
if test -n "$STRIP"; then |
| 2827 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 |
| 2828 |
< |
$as_echo "$STRIP" >&6; } |
| 2827 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 |
| 2828 |
> |
printf "%s\n" "$STRIP" >&6; } |
| 2829 |
|
else |
| 2830 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 2831 |
< |
$as_echo "no" >&6; } |
| 2830 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 2831 |
> |
printf "%s\n" "no" >&6; } |
| 2832 |
|
fi |
| 2833 |
|
|
| 2834 |
|
|
| 2837 |
|
ac_ct_STRIP=$STRIP |
| 2838 |
|
# Extract the first word of "strip", so it can be a program name with args. |
| 2839 |
|
set dummy strip; ac_word=$2 |
| 2840 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 2841 |
< |
$as_echo_n "checking for $ac_word... " >&6; } |
| 2842 |
< |
if ${ac_cv_prog_ac_ct_STRIP+:} false; then : |
| 2843 |
< |
$as_echo_n "(cached) " >&6 |
| 2844 |
< |
else |
| 2840 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 2841 |
> |
printf %s "checking for $ac_word... " >&6; } |
| 2842 |
> |
if test ${ac_cv_prog_ac_ct_STRIP+y} |
| 2843 |
> |
then : |
| 2844 |
> |
printf %s "(cached) " >&6 |
| 2845 |
> |
else $as_nop |
| 2846 |
|
if test -n "$ac_ct_STRIP"; then |
| 2847 |
|
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
| 2848 |
|
else |
| 2850 |
|
for as_dir in $PATH |
| 2851 |
|
do |
| 2852 |
|
IFS=$as_save_IFS |
| 2853 |
< |
test -z "$as_dir" && as_dir=. |
| 2853 |
> |
case $as_dir in #((( |
| 2854 |
> |
'') as_dir=./ ;; |
| 2855 |
> |
*/) ;; |
| 2856 |
> |
*) as_dir=$as_dir/ ;; |
| 2857 |
> |
esac |
| 2858 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 2859 |
< |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 2859 |
> |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 2860 |
|
ac_cv_prog_ac_ct_STRIP="strip" |
| 2861 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2861 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 2862 |
|
break 2 |
| 2863 |
|
fi |
| 2864 |
|
done |
| 2869 |
|
fi |
| 2870 |
|
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
| 2871 |
|
if test -n "$ac_ct_STRIP"; then |
| 2872 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 |
| 2873 |
< |
$as_echo "$ac_ct_STRIP" >&6; } |
| 2872 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 |
| 2873 |
> |
printf "%s\n" "$ac_ct_STRIP" >&6; } |
| 2874 |
|
else |
| 2875 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 2876 |
< |
$as_echo "no" >&6; } |
| 2875 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 2876 |
> |
printf "%s\n" "no" >&6; } |
| 2877 |
|
fi |
| 2878 |
|
|
| 2879 |
|
if test "x$ac_ct_STRIP" = x; then |
| 2881 |
|
else |
| 2882 |
|
case $cross_compiling:$ac_tool_warned in |
| 2883 |
|
yes:) |
| 2884 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 2885 |
< |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 2884 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 2885 |
> |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 2886 |
|
ac_tool_warned=yes ;; |
| 2887 |
|
esac |
| 2888 |
|
STRIP=$ac_ct_STRIP |
| 2894 |
|
fi |
| 2895 |
|
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
| 2896 |
|
|
| 2897 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 |
| 2898 |
< |
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } |
| 2897 |
> |
|
| 2898 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5 |
| 2899 |
> |
printf %s "checking for a race-free mkdir -p... " >&6; } |
| 2900 |
|
if test -z "$MKDIR_P"; then |
| 2901 |
< |
if ${ac_cv_path_mkdir+:} false; then : |
| 2902 |
< |
$as_echo_n "(cached) " >&6 |
| 2903 |
< |
else |
| 2901 |
> |
if test ${ac_cv_path_mkdir+y} |
| 2902 |
> |
then : |
| 2903 |
> |
printf %s "(cached) " >&6 |
| 2904 |
> |
else $as_nop |
| 2905 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2906 |
|
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin |
| 2907 |
|
do |
| 2908 |
|
IFS=$as_save_IFS |
| 2909 |
< |
test -z "$as_dir" && as_dir=. |
| 2909 |
> |
case $as_dir in #((( |
| 2910 |
> |
'') as_dir=./ ;; |
| 2911 |
> |
*/) ;; |
| 2912 |
> |
*) as_dir=$as_dir/ ;; |
| 2913 |
> |
esac |
| 2914 |
|
for ac_prog in mkdir gmkdir; do |
| 2915 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 2916 |
< |
as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue |
| 2917 |
< |
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( |
| 2918 |
< |
'mkdir (GNU coreutils) '* | \ |
| 2919 |
< |
'mkdir (coreutils) '* | \ |
| 2916 |
> |
as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue |
| 2917 |
> |
case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #( |
| 2918 |
> |
'mkdir ('*'coreutils) '* | \ |
| 2919 |
> |
'BusyBox '* | \ |
| 2920 |
|
'mkdir (fileutils) '4.1*) |
| 2921 |
< |
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext |
| 2921 |
> |
ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext |
| 2922 |
|
break 3;; |
| 2923 |
|
esac |
| 2924 |
|
done |
| 2929 |
|
fi |
| 2930 |
|
|
| 2931 |
|
test -d ./--version && rmdir ./--version |
| 2932 |
< |
if test "${ac_cv_path_mkdir+set}" = set; then |
| 2932 |
> |
if test ${ac_cv_path_mkdir+y}; then |
| 2933 |
|
MKDIR_P="$ac_cv_path_mkdir -p" |
| 2934 |
|
else |
| 2935 |
|
# As a last resort, use the slow shell script. Don't cache a |
| 2939 |
|
MKDIR_P="$ac_install_sh -d" |
| 2940 |
|
fi |
| 2941 |
|
fi |
| 2942 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 |
| 2943 |
< |
$as_echo "$MKDIR_P" >&6; } |
| 2942 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 |
| 2943 |
> |
printf "%s\n" "$MKDIR_P" >&6; } |
| 2944 |
|
|
| 2945 |
|
for ac_prog in gawk mawk nawk awk |
| 2946 |
|
do |
| 2947 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
| 2948 |
|
set dummy $ac_prog; ac_word=$2 |
| 2949 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 2950 |
< |
$as_echo_n "checking for $ac_word... " >&6; } |
| 2951 |
< |
if ${ac_cv_prog_AWK+:} false; then : |
| 2952 |
< |
$as_echo_n "(cached) " >&6 |
| 2953 |
< |
else |
| 2949 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 2950 |
> |
printf %s "checking for $ac_word... " >&6; } |
| 2951 |
> |
if test ${ac_cv_prog_AWK+y} |
| 2952 |
> |
then : |
| 2953 |
> |
printf %s "(cached) " >&6 |
| 2954 |
> |
else $as_nop |
| 2955 |
|
if test -n "$AWK"; then |
| 2956 |
|
ac_cv_prog_AWK="$AWK" # Let the user override the test. |
| 2957 |
|
else |
| 2959 |
|
for as_dir in $PATH |
| 2960 |
|
do |
| 2961 |
|
IFS=$as_save_IFS |
| 2962 |
< |
test -z "$as_dir" && as_dir=. |
| 2962 |
> |
case $as_dir in #((( |
| 2963 |
> |
'') as_dir=./ ;; |
| 2964 |
> |
*/) ;; |
| 2965 |
> |
*) as_dir=$as_dir/ ;; |
| 2966 |
> |
esac |
| 2967 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 2968 |
< |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 2968 |
> |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 2969 |
|
ac_cv_prog_AWK="$ac_prog" |
| 2970 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2970 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 2971 |
|
break 2 |
| 2972 |
|
fi |
| 2973 |
|
done |
| 2978 |
|
fi |
| 2979 |
|
AWK=$ac_cv_prog_AWK |
| 2980 |
|
if test -n "$AWK"; then |
| 2981 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 |
| 2982 |
< |
$as_echo "$AWK" >&6; } |
| 2981 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 |
| 2982 |
> |
printf "%s\n" "$AWK" >&6; } |
| 2983 |
|
else |
| 2984 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 2985 |
< |
$as_echo "no" >&6; } |
| 2984 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 2985 |
> |
printf "%s\n" "no" >&6; } |
| 2986 |
|
fi |
| 2987 |
|
|
| 2988 |
|
|
| 2989 |
|
test -n "$AWK" && break |
| 2990 |
|
done |
| 2991 |
|
|
| 2992 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
| 2993 |
< |
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
| 2992 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
| 2993 |
> |
printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
| 2994 |
|
set x ${MAKE-make} |
| 2995 |
< |
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
| 2996 |
< |
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : |
| 2997 |
< |
$as_echo_n "(cached) " >&6 |
| 2998 |
< |
else |
| 2995 |
> |
ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
| 2996 |
> |
if eval test \${ac_cv_prog_make_${ac_make}_set+y} |
| 2997 |
> |
then : |
| 2998 |
> |
printf %s "(cached) " >&6 |
| 2999 |
> |
else $as_nop |
| 3000 |
|
cat >conftest.make <<\_ACEOF |
| 3001 |
|
SHELL = /bin/sh |
| 3002 |
|
all: |
| 3012 |
|
rm -f conftest.make |
| 3013 |
|
fi |
| 3014 |
|
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
| 3015 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 3016 |
< |
$as_echo "yes" >&6; } |
| 3015 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 3016 |
> |
printf "%s\n" "yes" >&6; } |
| 3017 |
|
SET_MAKE= |
| 3018 |
|
else |
| 3019 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3020 |
< |
$as_echo "no" >&6; } |
| 3019 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3020 |
> |
printf "%s\n" "no" >&6; } |
| 3021 |
|
SET_MAKE="MAKE=${MAKE-make}" |
| 3022 |
|
fi |
| 3023 |
|
|
| 3031 |
|
rmdir .tst 2>/dev/null |
| 3032 |
|
|
| 3033 |
|
# Check whether --enable-silent-rules was given. |
| 3034 |
< |
if test "${enable_silent_rules+set}" = set; then : |
| 3034 |
> |
if test ${enable_silent_rules+y} |
| 3035 |
> |
then : |
| 3036 |
|
enableval=$enable_silent_rules; |
| 3037 |
|
fi |
| 3038 |
|
|
| 3042 |
|
*) AM_DEFAULT_VERBOSITY=1;; |
| 3043 |
|
esac |
| 3044 |
|
am_make=${MAKE-make} |
| 3045 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 |
| 3046 |
< |
$as_echo_n "checking whether $am_make supports nested variables... " >&6; } |
| 3047 |
< |
if ${am_cv_make_support_nested_variables+:} false; then : |
| 3048 |
< |
$as_echo_n "(cached) " >&6 |
| 3049 |
< |
else |
| 3050 |
< |
if $as_echo 'TRUE=$(BAR$(V)) |
| 3045 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 |
| 3046 |
> |
printf %s "checking whether $am_make supports nested variables... " >&6; } |
| 3047 |
> |
if test ${am_cv_make_support_nested_variables+y} |
| 3048 |
> |
then : |
| 3049 |
> |
printf %s "(cached) " >&6 |
| 3050 |
> |
else $as_nop |
| 3051 |
> |
if printf "%s\n" 'TRUE=$(BAR$(V)) |
| 3052 |
|
BAR0=false |
| 3053 |
|
BAR1=true |
| 3054 |
|
V=1 |
| 3060 |
|
am_cv_make_support_nested_variables=no |
| 3061 |
|
fi |
| 3062 |
|
fi |
| 3063 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 |
| 3064 |
< |
$as_echo "$am_cv_make_support_nested_variables" >&6; } |
| 3063 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 |
| 3064 |
> |
printf "%s\n" "$am_cv_make_support_nested_variables" >&6; } |
| 3065 |
|
if test $am_cv_make_support_nested_variables = yes; then |
| 3066 |
|
AM_V='$(V)' |
| 3067 |
|
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' |
| 3093 |
|
|
| 3094 |
|
# Define the identity of the package. |
| 3095 |
|
PACKAGE='hopm' |
| 3096 |
< |
VERSION='1.1.9' |
| 3096 |
> |
VERSION='1.1.11' |
| 3097 |
|
|
| 3098 |
|
|
| 3099 |
< |
cat >>confdefs.h <<_ACEOF |
| 2685 |
< |
#define PACKAGE "$PACKAGE" |
| 2686 |
< |
_ACEOF |
| 3099 |
> |
printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h |
| 3100 |
|
|
| 3101 |
|
|
| 3102 |
< |
cat >>confdefs.h <<_ACEOF |
| 2690 |
< |
#define VERSION "$VERSION" |
| 2691 |
< |
_ACEOF |
| 3102 |
> |
printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h |
| 3103 |
|
|
| 3104 |
|
# Some tools Automake needs. |
| 3105 |
|
|
| 3139 |
|
|
| 3140 |
|
|
| 3141 |
|
|
| 3142 |
+ |
# Variables for tags utilities; see am/tags.am |
| 3143 |
+ |
if test -z "$CTAGS"; then |
| 3144 |
+ |
CTAGS=ctags |
| 3145 |
+ |
fi |
| 3146 |
+ |
|
| 3147 |
+ |
if test -z "$ETAGS"; then |
| 3148 |
+ |
ETAGS=etags |
| 3149 |
+ |
fi |
| 3150 |
+ |
|
| 3151 |
+ |
if test -z "$CSCOPE"; then |
| 3152 |
+ |
CSCOPE=cscope |
| 3153 |
+ |
fi |
| 3154 |
+ |
|
| 3155 |
+ |
|
| 3156 |
|
|
| 3157 |
|
# POSIX will say in a future version that running "rm -f" with no argument |
| 3158 |
|
# is OK; and we want to be able to make that assumption in our Makefile |
| 3197 |
|
fi |
| 3198 |
|
|
| 3199 |
|
|
| 3200 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 |
| 3201 |
< |
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } |
| 3200 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 |
| 3201 |
> |
printf %s "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } |
| 3202 |
|
# Check whether --enable-maintainer-mode was given. |
| 3203 |
< |
if test "${enable_maintainer_mode+set}" = set; then : |
| 3203 |
> |
if test ${enable_maintainer_mode+y} |
| 3204 |
> |
then : |
| 3205 |
|
enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval |
| 3206 |
< |
else |
| 3206 |
> |
else $as_nop |
| 3207 |
|
USE_MAINTAINER_MODE=no |
| 3208 |
|
fi |
| 3209 |
|
|
| 3210 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 |
| 3211 |
< |
$as_echo "$USE_MAINTAINER_MODE" >&6; } |
| 3210 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 |
| 3211 |
> |
printf "%s\n" "$USE_MAINTAINER_MODE" >&6; } |
| 3212 |
|
if test $USE_MAINTAINER_MODE = yes; then |
| 3213 |
|
MAINTAINER_MODE_TRUE= |
| 3214 |
|
MAINTAINER_MODE_FALSE='#' |
| 3226 |
|
|
| 3227 |
|
|
| 3228 |
|
|
| 2803 |
– |
DEPDIR="${am__leading_dot}deps" |
| 3229 |
|
|
| 2805 |
– |
ac_config_commands="$ac_config_commands depfiles" |
| 3230 |
|
|
| 2807 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5 |
| 2808 |
– |
$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; } |
| 2809 |
– |
cat > confinc.mk << 'END' |
| 2810 |
– |
am__doit: |
| 2811 |
– |
@echo this is the am__doit target >confinc.out |
| 2812 |
– |
.PHONY: am__doit |
| 2813 |
– |
END |
| 2814 |
– |
am__include="#" |
| 2815 |
– |
am__quote= |
| 2816 |
– |
# BSD make does it like this. |
| 2817 |
– |
echo '.include "confinc.mk" # ignored' > confmf.BSD |
| 2818 |
– |
# Other make implementations (GNU, Solaris 10, AIX) do it like this. |
| 2819 |
– |
echo 'include confinc.mk # ignored' > confmf.GNU |
| 2820 |
– |
_am_result=no |
| 2821 |
– |
for s in GNU BSD; do |
| 2822 |
– |
{ echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5 |
| 2823 |
– |
(${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5 |
| 2824 |
– |
ac_status=$? |
| 2825 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2826 |
– |
(exit $ac_status); } |
| 2827 |
– |
case $?:`cat confinc.out 2>/dev/null` in #( |
| 2828 |
– |
'0:this is the am__doit target') : |
| 2829 |
– |
case $s in #( |
| 2830 |
– |
BSD) : |
| 2831 |
– |
am__include='.include' am__quote='"' ;; #( |
| 2832 |
– |
*) : |
| 2833 |
– |
am__include='include' am__quote='' ;; |
| 2834 |
– |
esac ;; #( |
| 2835 |
– |
*) : |
| 2836 |
– |
;; |
| 2837 |
– |
esac |
| 2838 |
– |
if test "$am__include" != "#"; then |
| 2839 |
– |
_am_result="yes ($s style)" |
| 2840 |
– |
break |
| 2841 |
– |
fi |
| 2842 |
– |
done |
| 2843 |
– |
rm -f confinc.* confmf.* |
| 2844 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5 |
| 2845 |
– |
$as_echo "${_am_result}" >&6; } |
| 3231 |
|
|
| 2847 |
– |
# Check whether --enable-dependency-tracking was given. |
| 2848 |
– |
if test "${enable_dependency_tracking+set}" = set; then : |
| 2849 |
– |
enableval=$enable_dependency_tracking; |
| 2850 |
– |
fi |
| 3232 |
|
|
| 3233 |
< |
if test "x$enable_dependency_tracking" != xno; then |
| 3234 |
< |
am_depcomp="$ac_aux_dir/depcomp" |
| 3235 |
< |
AMDEPBACKSLASH='\' |
| 2855 |
< |
am__nodep='_no' |
| 2856 |
< |
fi |
| 2857 |
< |
if test "x$enable_dependency_tracking" != xno; then |
| 2858 |
< |
AMDEP_TRUE= |
| 2859 |
< |
AMDEP_FALSE='#' |
| 2860 |
< |
else |
| 2861 |
< |
AMDEP_TRUE='#' |
| 2862 |
< |
AMDEP_FALSE= |
| 2863 |
< |
fi |
| 3233 |
> |
|
| 3234 |
> |
|
| 3235 |
> |
|
| 3236 |
|
|
| 3237 |
|
|
| 3238 |
|
ac_ext=c |
| 3243 |
|
if test -n "$ac_tool_prefix"; then |
| 3244 |
|
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
| 3245 |
|
set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
| 3246 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3247 |
< |
$as_echo_n "checking for $ac_word... " >&6; } |
| 3248 |
< |
if ${ac_cv_prog_CC+:} false; then : |
| 3249 |
< |
$as_echo_n "(cached) " >&6 |
| 3250 |
< |
else |
| 3246 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3247 |
> |
printf %s "checking for $ac_word... " >&6; } |
| 3248 |
> |
if test ${ac_cv_prog_CC+y} |
| 3249 |
> |
then : |
| 3250 |
> |
printf %s "(cached) " >&6 |
| 3251 |
> |
else $as_nop |
| 3252 |
|
if test -n "$CC"; then |
| 3253 |
|
ac_cv_prog_CC="$CC" # Let the user override the test. |
| 3254 |
|
else |
| 3256 |
|
for as_dir in $PATH |
| 3257 |
|
do |
| 3258 |
|
IFS=$as_save_IFS |
| 3259 |
< |
test -z "$as_dir" && as_dir=. |
| 3259 |
> |
case $as_dir in #((( |
| 3260 |
> |
'') as_dir=./ ;; |
| 3261 |
> |
*/) ;; |
| 3262 |
> |
*) as_dir=$as_dir/ ;; |
| 3263 |
> |
esac |
| 3264 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3265 |
< |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 3265 |
> |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 3266 |
|
ac_cv_prog_CC="${ac_tool_prefix}gcc" |
| 3267 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3267 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 3268 |
|
break 2 |
| 3269 |
|
fi |
| 3270 |
|
done |
| 3275 |
|
fi |
| 3276 |
|
CC=$ac_cv_prog_CC |
| 3277 |
|
if test -n "$CC"; then |
| 3278 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
| 3279 |
< |
$as_echo "$CC" >&6; } |
| 3278 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
| 3279 |
> |
printf "%s\n" "$CC" >&6; } |
| 3280 |
|
else |
| 3281 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3282 |
< |
$as_echo "no" >&6; } |
| 3281 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3282 |
> |
printf "%s\n" "no" >&6; } |
| 3283 |
|
fi |
| 3284 |
|
|
| 3285 |
|
|
| 3288 |
|
ac_ct_CC=$CC |
| 3289 |
|
# Extract the first word of "gcc", so it can be a program name with args. |
| 3290 |
|
set dummy gcc; ac_word=$2 |
| 3291 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3292 |
< |
$as_echo_n "checking for $ac_word... " >&6; } |
| 3293 |
< |
if ${ac_cv_prog_ac_ct_CC+:} false; then : |
| 3294 |
< |
$as_echo_n "(cached) " >&6 |
| 3295 |
< |
else |
| 3291 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3292 |
> |
printf %s "checking for $ac_word... " >&6; } |
| 3293 |
> |
if test ${ac_cv_prog_ac_ct_CC+y} |
| 3294 |
> |
then : |
| 3295 |
> |
printf %s "(cached) " >&6 |
| 3296 |
> |
else $as_nop |
| 3297 |
|
if test -n "$ac_ct_CC"; then |
| 3298 |
|
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
| 3299 |
|
else |
| 3301 |
|
for as_dir in $PATH |
| 3302 |
|
do |
| 3303 |
|
IFS=$as_save_IFS |
| 3304 |
< |
test -z "$as_dir" && as_dir=. |
| 3304 |
> |
case $as_dir in #((( |
| 3305 |
> |
'') as_dir=./ ;; |
| 3306 |
> |
*/) ;; |
| 3307 |
> |
*) as_dir=$as_dir/ ;; |
| 3308 |
> |
esac |
| 3309 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3310 |
< |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 3310 |
> |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 3311 |
|
ac_cv_prog_ac_ct_CC="gcc" |
| 3312 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3312 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 3313 |
|
break 2 |
| 3314 |
|
fi |
| 3315 |
|
done |
| 3320 |
|
fi |
| 3321 |
|
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
| 3322 |
|
if test -n "$ac_ct_CC"; then |
| 3323 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
| 3324 |
< |
$as_echo "$ac_ct_CC" >&6; } |
| 3323 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
| 3324 |
> |
printf "%s\n" "$ac_ct_CC" >&6; } |
| 3325 |
|
else |
| 3326 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3327 |
< |
$as_echo "no" >&6; } |
| 3326 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3327 |
> |
printf "%s\n" "no" >&6; } |
| 3328 |
|
fi |
| 3329 |
|
|
| 3330 |
|
if test "x$ac_ct_CC" = x; then |
| 3332 |
|
else |
| 3333 |
|
case $cross_compiling:$ac_tool_warned in |
| 3334 |
|
yes:) |
| 3335 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 3336 |
< |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 3335 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 3336 |
> |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 3337 |
|
ac_tool_warned=yes ;; |
| 3338 |
|
esac |
| 3339 |
|
CC=$ac_ct_CC |
| 3346 |
|
if test -n "$ac_tool_prefix"; then |
| 3347 |
|
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
| 3348 |
|
set dummy ${ac_tool_prefix}cc; ac_word=$2 |
| 3349 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3350 |
< |
$as_echo_n "checking for $ac_word... " >&6; } |
| 3351 |
< |
if ${ac_cv_prog_CC+:} false; then : |
| 3352 |
< |
$as_echo_n "(cached) " >&6 |
| 3353 |
< |
else |
| 3349 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3350 |
> |
printf %s "checking for $ac_word... " >&6; } |
| 3351 |
> |
if test ${ac_cv_prog_CC+y} |
| 3352 |
> |
then : |
| 3353 |
> |
printf %s "(cached) " >&6 |
| 3354 |
> |
else $as_nop |
| 3355 |
|
if test -n "$CC"; then |
| 3356 |
|
ac_cv_prog_CC="$CC" # Let the user override the test. |
| 3357 |
|
else |
| 3359 |
|
for as_dir in $PATH |
| 3360 |
|
do |
| 3361 |
|
IFS=$as_save_IFS |
| 3362 |
< |
test -z "$as_dir" && as_dir=. |
| 3362 |
> |
case $as_dir in #((( |
| 3363 |
> |
'') as_dir=./ ;; |
| 3364 |
> |
*/) ;; |
| 3365 |
> |
*) as_dir=$as_dir/ ;; |
| 3366 |
> |
esac |
| 3367 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3368 |
< |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 3368 |
> |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 3369 |
|
ac_cv_prog_CC="${ac_tool_prefix}cc" |
| 3370 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3370 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 3371 |
|
break 2 |
| 3372 |
|
fi |
| 3373 |
|
done |
| 3378 |
|
fi |
| 3379 |
|
CC=$ac_cv_prog_CC |
| 3380 |
|
if test -n "$CC"; then |
| 3381 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
| 3382 |
< |
$as_echo "$CC" >&6; } |
| 3381 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
| 3382 |
> |
printf "%s\n" "$CC" >&6; } |
| 3383 |
|
else |
| 3384 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3385 |
< |
$as_echo "no" >&6; } |
| 3384 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3385 |
> |
printf "%s\n" "no" >&6; } |
| 3386 |
|
fi |
| 3387 |
|
|
| 3388 |
|
|
| 3391 |
|
if test -z "$CC"; then |
| 3392 |
|
# Extract the first word of "cc", so it can be a program name with args. |
| 3393 |
|
set dummy cc; ac_word=$2 |
| 3394 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3395 |
< |
$as_echo_n "checking for $ac_word... " >&6; } |
| 3396 |
< |
if ${ac_cv_prog_CC+:} false; then : |
| 3397 |
< |
$as_echo_n "(cached) " >&6 |
| 3398 |
< |
else |
| 3394 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3395 |
> |
printf %s "checking for $ac_word... " >&6; } |
| 3396 |
> |
if test ${ac_cv_prog_CC+y} |
| 3397 |
> |
then : |
| 3398 |
> |
printf %s "(cached) " >&6 |
| 3399 |
> |
else $as_nop |
| 3400 |
|
if test -n "$CC"; then |
| 3401 |
|
ac_cv_prog_CC="$CC" # Let the user override the test. |
| 3402 |
|
else |
| 3405 |
|
for as_dir in $PATH |
| 3406 |
|
do |
| 3407 |
|
IFS=$as_save_IFS |
| 3408 |
< |
test -z "$as_dir" && as_dir=. |
| 3408 |
> |
case $as_dir in #((( |
| 3409 |
> |
'') as_dir=./ ;; |
| 3410 |
> |
*/) ;; |
| 3411 |
> |
*) as_dir=$as_dir/ ;; |
| 3412 |
> |
esac |
| 3413 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3414 |
< |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 3415 |
< |
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
| 3414 |
> |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 3415 |
> |
if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
| 3416 |
|
ac_prog_rejected=yes |
| 3417 |
|
continue |
| 3418 |
|
fi |
| 3419 |
|
ac_cv_prog_CC="cc" |
| 3420 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3420 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 3421 |
|
break 2 |
| 3422 |
|
fi |
| 3423 |
|
done |
| 3433 |
|
# However, it has the same basename, so the bogon will be chosen |
| 3434 |
|
# first if we set CC to just the basename; use the full file name. |
| 3435 |
|
shift |
| 3436 |
< |
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
| 3436 |
> |
ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@" |
| 3437 |
|
fi |
| 3438 |
|
fi |
| 3439 |
|
fi |
| 3440 |
|
fi |
| 3441 |
|
CC=$ac_cv_prog_CC |
| 3442 |
|
if test -n "$CC"; then |
| 3443 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
| 3444 |
< |
$as_echo "$CC" >&6; } |
| 3443 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
| 3444 |
> |
printf "%s\n" "$CC" >&6; } |
| 3445 |
|
else |
| 3446 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3447 |
< |
$as_echo "no" >&6; } |
| 3446 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3447 |
> |
printf "%s\n" "no" >&6; } |
| 3448 |
|
fi |
| 3449 |
|
|
| 3450 |
|
|
| 3455 |
|
do |
| 3456 |
|
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
| 3457 |
|
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| 3458 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3459 |
< |
$as_echo_n "checking for $ac_word... " >&6; } |
| 3460 |
< |
if ${ac_cv_prog_CC+:} false; then : |
| 3461 |
< |
$as_echo_n "(cached) " >&6 |
| 3462 |
< |
else |
| 3458 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3459 |
> |
printf %s "checking for $ac_word... " >&6; } |
| 3460 |
> |
if test ${ac_cv_prog_CC+y} |
| 3461 |
> |
then : |
| 3462 |
> |
printf %s "(cached) " >&6 |
| 3463 |
> |
else $as_nop |
| 3464 |
|
if test -n "$CC"; then |
| 3465 |
|
ac_cv_prog_CC="$CC" # Let the user override the test. |
| 3466 |
|
else |
| 3468 |
|
for as_dir in $PATH |
| 3469 |
|
do |
| 3470 |
|
IFS=$as_save_IFS |
| 3471 |
< |
test -z "$as_dir" && as_dir=. |
| 3471 |
> |
case $as_dir in #((( |
| 3472 |
> |
'') as_dir=./ ;; |
| 3473 |
> |
*/) ;; |
| 3474 |
> |
*) as_dir=$as_dir/ ;; |
| 3475 |
> |
esac |
| 3476 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3477 |
< |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 3477 |
> |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 3478 |
|
ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
| 3479 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3479 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 3480 |
|
break 2 |
| 3481 |
|
fi |
| 3482 |
|
done |
| 3487 |
|
fi |
| 3488 |
|
CC=$ac_cv_prog_CC |
| 3489 |
|
if test -n "$CC"; then |
| 3490 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
| 3491 |
< |
$as_echo "$CC" >&6; } |
| 3490 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
| 3491 |
> |
printf "%s\n" "$CC" >&6; } |
| 3492 |
|
else |
| 3493 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3494 |
< |
$as_echo "no" >&6; } |
| 3493 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3494 |
> |
printf "%s\n" "no" >&6; } |
| 3495 |
|
fi |
| 3496 |
|
|
| 3497 |
|
|
| 3504 |
|
do |
| 3505 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
| 3506 |
|
set dummy $ac_prog; ac_word=$2 |
| 3507 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3508 |
< |
$as_echo_n "checking for $ac_word... " >&6; } |
| 3509 |
< |
if ${ac_cv_prog_ac_ct_CC+:} false; then : |
| 3510 |
< |
$as_echo_n "(cached) " >&6 |
| 3511 |
< |
else |
| 3507 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3508 |
> |
printf %s "checking for $ac_word... " >&6; } |
| 3509 |
> |
if test ${ac_cv_prog_ac_ct_CC+y} |
| 3510 |
> |
then : |
| 3511 |
> |
printf %s "(cached) " >&6 |
| 3512 |
> |
else $as_nop |
| 3513 |
|
if test -n "$ac_ct_CC"; then |
| 3514 |
|
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
| 3515 |
|
else |
| 3517 |
|
for as_dir in $PATH |
| 3518 |
|
do |
| 3519 |
|
IFS=$as_save_IFS |
| 3520 |
< |
test -z "$as_dir" && as_dir=. |
| 3520 |
> |
case $as_dir in #((( |
| 3521 |
> |
'') as_dir=./ ;; |
| 3522 |
> |
*/) ;; |
| 3523 |
> |
*) as_dir=$as_dir/ ;; |
| 3524 |
> |
esac |
| 3525 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3526 |
< |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 3526 |
> |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 3527 |
|
ac_cv_prog_ac_ct_CC="$ac_prog" |
| 3528 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3528 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 3529 |
|
break 2 |
| 3530 |
|
fi |
| 3531 |
|
done |
| 3536 |
|
fi |
| 3537 |
|
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
| 3538 |
|
if test -n "$ac_ct_CC"; then |
| 3539 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
| 3540 |
< |
$as_echo "$ac_ct_CC" >&6; } |
| 3539 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
| 3540 |
> |
printf "%s\n" "$ac_ct_CC" >&6; } |
| 3541 |
|
else |
| 3542 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3543 |
< |
$as_echo "no" >&6; } |
| 3542 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3543 |
> |
printf "%s\n" "no" >&6; } |
| 3544 |
|
fi |
| 3545 |
|
|
| 3546 |
|
|
| 3552 |
|
else |
| 3553 |
|
case $cross_compiling:$ac_tool_warned in |
| 3554 |
|
yes:) |
| 3555 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 3556 |
< |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 3555 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 3556 |
> |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 3557 |
|
ac_tool_warned=yes ;; |
| 3558 |
|
esac |
| 3559 |
|
CC=$ac_ct_CC |
| 3561 |
|
fi |
| 3562 |
|
|
| 3563 |
|
fi |
| 3564 |
+ |
if test -z "$CC"; then |
| 3565 |
+ |
if test -n "$ac_tool_prefix"; then |
| 3566 |
+ |
# Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args. |
| 3567 |
+ |
set dummy ${ac_tool_prefix}clang; ac_word=$2 |
| 3568 |
+ |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3569 |
+ |
printf %s "checking for $ac_word... " >&6; } |
| 3570 |
+ |
if test ${ac_cv_prog_CC+y} |
| 3571 |
+ |
then : |
| 3572 |
+ |
printf %s "(cached) " >&6 |
| 3573 |
+ |
else $as_nop |
| 3574 |
+ |
if test -n "$CC"; then |
| 3575 |
+ |
ac_cv_prog_CC="$CC" # Let the user override the test. |
| 3576 |
+ |
else |
| 3577 |
+ |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3578 |
+ |
for as_dir in $PATH |
| 3579 |
+ |
do |
| 3580 |
+ |
IFS=$as_save_IFS |
| 3581 |
+ |
case $as_dir in #((( |
| 3582 |
+ |
'') as_dir=./ ;; |
| 3583 |
+ |
*/) ;; |
| 3584 |
+ |
*) as_dir=$as_dir/ ;; |
| 3585 |
+ |
esac |
| 3586 |
+ |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3587 |
+ |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 3588 |
+ |
ac_cv_prog_CC="${ac_tool_prefix}clang" |
| 3589 |
+ |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 3590 |
+ |
break 2 |
| 3591 |
+ |
fi |
| 3592 |
+ |
done |
| 3593 |
+ |
done |
| 3594 |
+ |
IFS=$as_save_IFS |
| 3595 |
+ |
|
| 3596 |
+ |
fi |
| 3597 |
+ |
fi |
| 3598 |
+ |
CC=$ac_cv_prog_CC |
| 3599 |
+ |
if test -n "$CC"; then |
| 3600 |
+ |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
| 3601 |
+ |
printf "%s\n" "$CC" >&6; } |
| 3602 |
+ |
else |
| 3603 |
+ |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3604 |
+ |
printf "%s\n" "no" >&6; } |
| 3605 |
+ |
fi |
| 3606 |
|
|
| 3607 |
|
|
| 3608 |
< |
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 3609 |
< |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 3608 |
> |
fi |
| 3609 |
> |
if test -z "$ac_cv_prog_CC"; then |
| 3610 |
> |
ac_ct_CC=$CC |
| 3611 |
> |
# Extract the first word of "clang", so it can be a program name with args. |
| 3612 |
> |
set dummy clang; ac_word=$2 |
| 3613 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3614 |
> |
printf %s "checking for $ac_word... " >&6; } |
| 3615 |
> |
if test ${ac_cv_prog_ac_ct_CC+y} |
| 3616 |
> |
then : |
| 3617 |
> |
printf %s "(cached) " >&6 |
| 3618 |
> |
else $as_nop |
| 3619 |
> |
if test -n "$ac_ct_CC"; then |
| 3620 |
> |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
| 3621 |
> |
else |
| 3622 |
> |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3623 |
> |
for as_dir in $PATH |
| 3624 |
> |
do |
| 3625 |
> |
IFS=$as_save_IFS |
| 3626 |
> |
case $as_dir in #((( |
| 3627 |
> |
'') as_dir=./ ;; |
| 3628 |
> |
*/) ;; |
| 3629 |
> |
*) as_dir=$as_dir/ ;; |
| 3630 |
> |
esac |
| 3631 |
> |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3632 |
> |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 3633 |
> |
ac_cv_prog_ac_ct_CC="clang" |
| 3634 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 3635 |
> |
break 2 |
| 3636 |
> |
fi |
| 3637 |
> |
done |
| 3638 |
> |
done |
| 3639 |
> |
IFS=$as_save_IFS |
| 3640 |
> |
|
| 3641 |
> |
fi |
| 3642 |
> |
fi |
| 3643 |
> |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
| 3644 |
> |
if test -n "$ac_ct_CC"; then |
| 3645 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
| 3646 |
> |
printf "%s\n" "$ac_ct_CC" >&6; } |
| 3647 |
> |
else |
| 3648 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3649 |
> |
printf "%s\n" "no" >&6; } |
| 3650 |
> |
fi |
| 3651 |
> |
|
| 3652 |
> |
if test "x$ac_ct_CC" = x; then |
| 3653 |
> |
CC="" |
| 3654 |
> |
else |
| 3655 |
> |
case $cross_compiling:$ac_tool_warned in |
| 3656 |
> |
yes:) |
| 3657 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 3658 |
> |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 3659 |
> |
ac_tool_warned=yes ;; |
| 3660 |
> |
esac |
| 3661 |
> |
CC=$ac_ct_CC |
| 3662 |
> |
fi |
| 3663 |
> |
else |
| 3664 |
> |
CC="$ac_cv_prog_CC" |
| 3665 |
> |
fi |
| 3666 |
> |
|
| 3667 |
> |
fi |
| 3668 |
> |
|
| 3669 |
> |
|
| 3670 |
> |
test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 3671 |
> |
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 3672 |
|
as_fn_error $? "no acceptable C compiler found in \$PATH |
| 3673 |
|
See \`config.log' for more details" "$LINENO" 5; } |
| 3674 |
|
|
| 3675 |
|
# Provide some information about the compiler. |
| 3676 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
| 3676 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
| 3677 |
|
set X $ac_compile |
| 3678 |
|
ac_compiler=$2 |
| 3679 |
< |
for ac_option in --version -v -V -qversion; do |
| 3679 |
> |
for ac_option in --version -v -V -qversion -version; do |
| 3680 |
|
{ { ac_try="$ac_compiler $ac_option >&5" |
| 3681 |
|
case "(($ac_try" in |
| 3682 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3683 |
|
*) ac_try_echo=$ac_try;; |
| 3684 |
|
esac |
| 3685 |
|
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 3686 |
< |
$as_echo "$ac_try_echo"; } >&5 |
| 3686 |
> |
printf "%s\n" "$ac_try_echo"; } >&5 |
| 3687 |
|
(eval "$ac_compiler $ac_option >&5") 2>conftest.err |
| 3688 |
|
ac_status=$? |
| 3689 |
|
if test -s conftest.err; then |
| 3693 |
|
cat conftest.er1 >&5 |
| 3694 |
|
fi |
| 3695 |
|
rm -f conftest.er1 conftest.err |
| 3696 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 3696 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 3697 |
|
test $ac_status = 0; } |
| 3698 |
|
done |
| 3699 |
|
|
| 3701 |
|
/* end confdefs.h. */ |
| 3702 |
|
|
| 3703 |
|
int |
| 3704 |
< |
main () |
| 3704 |
> |
main (void) |
| 3705 |
|
{ |
| 3706 |
|
|
| 3707 |
|
; |
| 3713 |
|
# Try to create an executable without -o first, disregard a.out. |
| 3714 |
|
# It will help us diagnose broken compilers, and finding out an intuition |
| 3715 |
|
# of exeext. |
| 3716 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 |
| 3717 |
< |
$as_echo_n "checking whether the C compiler works... " >&6; } |
| 3718 |
< |
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
| 3716 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 |
| 3717 |
> |
printf %s "checking whether the C compiler works... " >&6; } |
| 3718 |
> |
ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
| 3719 |
|
|
| 3720 |
|
# The possible output files: |
| 3721 |
|
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" |
| 3736 |
|
*) ac_try_echo=$ac_try;; |
| 3737 |
|
esac |
| 3738 |
|
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 3739 |
< |
$as_echo "$ac_try_echo"; } >&5 |
| 3739 |
> |
printf "%s\n" "$ac_try_echo"; } >&5 |
| 3740 |
|
(eval "$ac_link_default") 2>&5 |
| 3741 |
|
ac_status=$? |
| 3742 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 3743 |
< |
test $ac_status = 0; }; then : |
| 3742 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 3743 |
> |
test $ac_status = 0; } |
| 3744 |
> |
then : |
| 3745 |
|
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
| 3746 |
|
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
| 3747 |
|
# in a Makefile. We should not override ac_cv_exeext if it was cached, |
| 3758 |
|
# certainly right. |
| 3759 |
|
break;; |
| 3760 |
|
*.* ) |
| 3761 |
< |
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
| 3761 |
> |
if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no; |
| 3762 |
|
then :; else |
| 3763 |
|
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
| 3764 |
|
fi |
| 3774 |
|
done |
| 3775 |
|
test "$ac_cv_exeext" = no && ac_cv_exeext= |
| 3776 |
|
|
| 3777 |
< |
else |
| 3777 |
> |
else $as_nop |
| 3778 |
|
ac_file='' |
| 3779 |
|
fi |
| 3780 |
< |
if test -z "$ac_file"; then : |
| 3781 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3782 |
< |
$as_echo "no" >&6; } |
| 3783 |
< |
$as_echo "$as_me: failed program was:" >&5 |
| 3780 |
> |
if test -z "$ac_file" |
| 3781 |
> |
then : |
| 3782 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3783 |
> |
printf "%s\n" "no" >&6; } |
| 3784 |
> |
printf "%s\n" "$as_me: failed program was:" >&5 |
| 3785 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 3786 |
|
|
| 3787 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 3788 |
< |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 3787 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 3788 |
> |
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 3789 |
|
as_fn_error 77 "C compiler cannot create executables |
| 3790 |
|
See \`config.log' for more details" "$LINENO" 5; } |
| 3791 |
< |
else |
| 3792 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 3793 |
< |
$as_echo "yes" >&6; } |
| 3794 |
< |
fi |
| 3795 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
| 3796 |
< |
$as_echo_n "checking for C compiler default output file name... " >&6; } |
| 3797 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 |
| 3798 |
< |
$as_echo "$ac_file" >&6; } |
| 3791 |
> |
else $as_nop |
| 3792 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 3793 |
> |
printf "%s\n" "yes" >&6; } |
| 3794 |
> |
fi |
| 3795 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
| 3796 |
> |
printf %s "checking for C compiler default output file name... " >&6; } |
| 3797 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 |
| 3798 |
> |
printf "%s\n" "$ac_file" >&6; } |
| 3799 |
|
ac_exeext=$ac_cv_exeext |
| 3800 |
|
|
| 3801 |
|
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out |
| 3802 |
|
ac_clean_files=$ac_clean_files_save |
| 3803 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 |
| 3804 |
< |
$as_echo_n "checking for suffix of executables... " >&6; } |
| 3803 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 |
| 3804 |
> |
printf %s "checking for suffix of executables... " >&6; } |
| 3805 |
|
if { { ac_try="$ac_link" |
| 3806 |
|
case "(($ac_try" in |
| 3807 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3808 |
|
*) ac_try_echo=$ac_try;; |
| 3809 |
|
esac |
| 3810 |
|
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 3811 |
< |
$as_echo "$ac_try_echo"; } >&5 |
| 3811 |
> |
printf "%s\n" "$ac_try_echo"; } >&5 |
| 3812 |
|
(eval "$ac_link") 2>&5 |
| 3813 |
|
ac_status=$? |
| 3814 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 3815 |
< |
test $ac_status = 0; }; then : |
| 3814 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 3815 |
> |
test $ac_status = 0; } |
| 3816 |
> |
then : |
| 3817 |
|
# If both `conftest.exe' and `conftest' are `present' (well, observable) |
| 3818 |
|
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
| 3819 |
|
# work properly (i.e., refer to `conftest.exe'), while it won't with |
| 3827 |
|
* ) break;; |
| 3828 |
|
esac |
| 3829 |
|
done |
| 3830 |
< |
else |
| 3831 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 3832 |
< |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 3830 |
> |
else $as_nop |
| 3831 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 3832 |
> |
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 3833 |
|
as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
| 3834 |
|
See \`config.log' for more details" "$LINENO" 5; } |
| 3835 |
|
fi |
| 3836 |
|
rm -f conftest conftest$ac_cv_exeext |
| 3837 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
| 3838 |
< |
$as_echo "$ac_cv_exeext" >&6; } |
| 3837 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
| 3838 |
> |
printf "%s\n" "$ac_cv_exeext" >&6; } |
| 3839 |
|
|
| 3840 |
|
rm -f conftest.$ac_ext |
| 3841 |
|
EXEEXT=$ac_cv_exeext |
| 3844 |
|
/* end confdefs.h. */ |
| 3845 |
|
#include <stdio.h> |
| 3846 |
|
int |
| 3847 |
< |
main () |
| 3847 |
> |
main (void) |
| 3848 |
|
{ |
| 3849 |
|
FILE *f = fopen ("conftest.out", "w"); |
| 3850 |
|
return ferror (f) || fclose (f) != 0; |
| 3856 |
|
ac_clean_files="$ac_clean_files conftest.out" |
| 3857 |
|
# Check that the compiler produces executables we can run. If not, either |
| 3858 |
|
# the compiler is broken, or we cross compile. |
| 3859 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 |
| 3860 |
< |
$as_echo_n "checking whether we are cross compiling... " >&6; } |
| 3859 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 |
| 3860 |
> |
printf %s "checking whether we are cross compiling... " >&6; } |
| 3861 |
|
if test "$cross_compiling" != yes; then |
| 3862 |
|
{ { ac_try="$ac_link" |
| 3863 |
|
case "(($ac_try" in |
| 3865 |
|
*) ac_try_echo=$ac_try;; |
| 3866 |
|
esac |
| 3867 |
|
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 3868 |
< |
$as_echo "$ac_try_echo"; } >&5 |
| 3868 |
> |
printf "%s\n" "$ac_try_echo"; } >&5 |
| 3869 |
|
(eval "$ac_link") 2>&5 |
| 3870 |
|
ac_status=$? |
| 3871 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 3871 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 3872 |
|
test $ac_status = 0; } |
| 3873 |
|
if { ac_try='./conftest$ac_cv_exeext' |
| 3874 |
|
{ { case "(($ac_try" in |
| 3876 |
|
*) ac_try_echo=$ac_try;; |
| 3877 |
|
esac |
| 3878 |
|
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 3879 |
< |
$as_echo "$ac_try_echo"; } >&5 |
| 3879 |
> |
printf "%s\n" "$ac_try_echo"; } >&5 |
| 3880 |
|
(eval "$ac_try") 2>&5 |
| 3881 |
|
ac_status=$? |
| 3882 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 3882 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 3883 |
|
test $ac_status = 0; }; }; then |
| 3884 |
|
cross_compiling=no |
| 3885 |
|
else |
| 3886 |
|
if test "$cross_compiling" = maybe; then |
| 3887 |
|
cross_compiling=yes |
| 3888 |
|
else |
| 3889 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 3890 |
< |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 3891 |
< |
as_fn_error $? "cannot run C compiled programs. |
| 3889 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 3890 |
> |
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 3891 |
> |
as_fn_error 77 "cannot run C compiled programs. |
| 3892 |
|
If you meant to cross compile, use \`--host'. |
| 3893 |
|
See \`config.log' for more details" "$LINENO" 5; } |
| 3894 |
|
fi |
| 3895 |
|
fi |
| 3896 |
|
fi |
| 3897 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
| 3898 |
< |
$as_echo "$cross_compiling" >&6; } |
| 3897 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
| 3898 |
> |
printf "%s\n" "$cross_compiling" >&6; } |
| 3899 |
|
|
| 3900 |
|
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out |
| 3901 |
|
ac_clean_files=$ac_clean_files_save |
| 3902 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
| 3903 |
< |
$as_echo_n "checking for suffix of object files... " >&6; } |
| 3904 |
< |
if ${ac_cv_objext+:} false; then : |
| 3905 |
< |
$as_echo_n "(cached) " >&6 |
| 3906 |
< |
else |
| 3902 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
| 3903 |
> |
printf %s "checking for suffix of object files... " >&6; } |
| 3904 |
> |
if test ${ac_cv_objext+y} |
| 3905 |
> |
then : |
| 3906 |
> |
printf %s "(cached) " >&6 |
| 3907 |
> |
else $as_nop |
| 3908 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 3909 |
|
/* end confdefs.h. */ |
| 3910 |
|
|
| 3911 |
|
int |
| 3912 |
< |
main () |
| 3912 |
> |
main (void) |
| 3913 |
|
{ |
| 3914 |
|
|
| 3915 |
|
; |
| 3923 |
|
*) ac_try_echo=$ac_try;; |
| 3924 |
|
esac |
| 3925 |
|
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 3926 |
< |
$as_echo "$ac_try_echo"; } >&5 |
| 3926 |
> |
printf "%s\n" "$ac_try_echo"; } >&5 |
| 3927 |
|
(eval "$ac_compile") 2>&5 |
| 3928 |
|
ac_status=$? |
| 3929 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 3930 |
< |
test $ac_status = 0; }; then : |
| 3929 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 3930 |
> |
test $ac_status = 0; } |
| 3931 |
> |
then : |
| 3932 |
|
for ac_file in conftest.o conftest.obj conftest.*; do |
| 3933 |
|
test -f "$ac_file" || continue; |
| 3934 |
|
case $ac_file in |
| 3937 |
|
break;; |
| 3938 |
|
esac |
| 3939 |
|
done |
| 3940 |
< |
else |
| 3941 |
< |
$as_echo "$as_me: failed program was:" >&5 |
| 3940 |
> |
else $as_nop |
| 3941 |
> |
printf "%s\n" "$as_me: failed program was:" >&5 |
| 3942 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 3943 |
|
|
| 3944 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 3945 |
< |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 3944 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 3945 |
> |
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 3946 |
|
as_fn_error $? "cannot compute suffix of object files: cannot compile |
| 3947 |
|
See \`config.log' for more details" "$LINENO" 5; } |
| 3948 |
|
fi |
| 3949 |
|
rm -f conftest.$ac_cv_objext conftest.$ac_ext |
| 3950 |
|
fi |
| 3951 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
| 3952 |
< |
$as_echo "$ac_cv_objext" >&6; } |
| 3951 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
| 3952 |
> |
printf "%s\n" "$ac_cv_objext" >&6; } |
| 3953 |
|
OBJEXT=$ac_cv_objext |
| 3954 |
|
ac_objext=$OBJEXT |
| 3955 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
| 3956 |
< |
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
| 3957 |
< |
if ${ac_cv_c_compiler_gnu+:} false; then : |
| 3958 |
< |
$as_echo_n "(cached) " >&6 |
| 3959 |
< |
else |
| 3955 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5 |
| 3956 |
> |
printf %s "checking whether the compiler supports GNU C... " >&6; } |
| 3957 |
> |
if test ${ac_cv_c_compiler_gnu+y} |
| 3958 |
> |
then : |
| 3959 |
> |
printf %s "(cached) " >&6 |
| 3960 |
> |
else $as_nop |
| 3961 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 3962 |
|
/* end confdefs.h. */ |
| 3963 |
|
|
| 3964 |
|
int |
| 3965 |
< |
main () |
| 3965 |
> |
main (void) |
| 3966 |
|
{ |
| 3967 |
|
#ifndef __GNUC__ |
| 3968 |
|
choke me |
| 3972 |
|
return 0; |
| 3973 |
|
} |
| 3974 |
|
_ACEOF |
| 3975 |
< |
if ac_fn_c_try_compile "$LINENO"; then : |
| 3975 |
> |
if ac_fn_c_try_compile "$LINENO" |
| 3976 |
> |
then : |
| 3977 |
|
ac_compiler_gnu=yes |
| 3978 |
< |
else |
| 3978 |
> |
else $as_nop |
| 3979 |
|
ac_compiler_gnu=no |
| 3980 |
|
fi |
| 3981 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 3981 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 3982 |
|
ac_cv_c_compiler_gnu=$ac_compiler_gnu |
| 3983 |
|
|
| 3984 |
|
fi |
| 3985 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 |
| 3986 |
< |
$as_echo "$ac_cv_c_compiler_gnu" >&6; } |
| 3985 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 |
| 3986 |
> |
printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; } |
| 3987 |
> |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 3988 |
> |
|
| 3989 |
|
if test $ac_compiler_gnu = yes; then |
| 3990 |
|
GCC=yes |
| 3991 |
|
else |
| 3992 |
|
GCC= |
| 3993 |
|
fi |
| 3994 |
< |
ac_test_CFLAGS=${CFLAGS+set} |
| 3994 |
> |
ac_test_CFLAGS=${CFLAGS+y} |
| 3995 |
|
ac_save_CFLAGS=$CFLAGS |
| 3996 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
| 3997 |
< |
$as_echo_n "checking whether $CC accepts -g... " >&6; } |
| 3998 |
< |
if ${ac_cv_prog_cc_g+:} false; then : |
| 3999 |
< |
$as_echo_n "(cached) " >&6 |
| 4000 |
< |
else |
| 3996 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
| 3997 |
> |
printf %s "checking whether $CC accepts -g... " >&6; } |
| 3998 |
> |
if test ${ac_cv_prog_cc_g+y} |
| 3999 |
> |
then : |
| 4000 |
> |
printf %s "(cached) " >&6 |
| 4001 |
> |
else $as_nop |
| 4002 |
|
ac_save_c_werror_flag=$ac_c_werror_flag |
| 4003 |
|
ac_c_werror_flag=yes |
| 4004 |
|
ac_cv_prog_cc_g=no |
| 4007 |
|
/* end confdefs.h. */ |
| 4008 |
|
|
| 4009 |
|
int |
| 4010 |
< |
main () |
| 4010 |
> |
main (void) |
| 4011 |
|
{ |
| 4012 |
|
|
| 4013 |
|
; |
| 4014 |
|
return 0; |
| 4015 |
|
} |
| 4016 |
|
_ACEOF |
| 4017 |
< |
if ac_fn_c_try_compile "$LINENO"; then : |
| 4017 |
> |
if ac_fn_c_try_compile "$LINENO" |
| 4018 |
> |
then : |
| 4019 |
|
ac_cv_prog_cc_g=yes |
| 4020 |
< |
else |
| 4020 |
> |
else $as_nop |
| 4021 |
|
CFLAGS="" |
| 4022 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4023 |
|
/* end confdefs.h. */ |
| 4024 |
|
|
| 4025 |
|
int |
| 4026 |
< |
main () |
| 4026 |
> |
main (void) |
| 4027 |
|
{ |
| 4028 |
|
|
| 4029 |
|
; |
| 4030 |
|
return 0; |
| 4031 |
|
} |
| 4032 |
|
_ACEOF |
| 4033 |
< |
if ac_fn_c_try_compile "$LINENO"; then : |
| 4033 |
> |
if ac_fn_c_try_compile "$LINENO" |
| 4034 |
> |
then : |
| 4035 |
|
|
| 4036 |
< |
else |
| 4036 |
> |
else $as_nop |
| 4037 |
|
ac_c_werror_flag=$ac_save_c_werror_flag |
| 4038 |
|
CFLAGS="-g" |
| 4039 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4040 |
|
/* end confdefs.h. */ |
| 4041 |
|
|
| 4042 |
|
int |
| 4043 |
< |
main () |
| 4043 |
> |
main (void) |
| 4044 |
|
{ |
| 4045 |
|
|
| 4046 |
|
; |
| 4047 |
|
return 0; |
| 4048 |
|
} |
| 4049 |
|
_ACEOF |
| 4050 |
< |
if ac_fn_c_try_compile "$LINENO"; then : |
| 4050 |
> |
if ac_fn_c_try_compile "$LINENO" |
| 4051 |
> |
then : |
| 4052 |
|
ac_cv_prog_cc_g=yes |
| 4053 |
|
fi |
| 4054 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4054 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 4055 |
|
fi |
| 4056 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4056 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 4057 |
|
fi |
| 4058 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4058 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 4059 |
|
ac_c_werror_flag=$ac_save_c_werror_flag |
| 4060 |
|
fi |
| 4061 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 |
| 4062 |
< |
$as_echo "$ac_cv_prog_cc_g" >&6; } |
| 4063 |
< |
if test "$ac_test_CFLAGS" = set; then |
| 4061 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 |
| 4062 |
> |
printf "%s\n" "$ac_cv_prog_cc_g" >&6; } |
| 4063 |
> |
if test $ac_test_CFLAGS; then |
| 4064 |
|
CFLAGS=$ac_save_CFLAGS |
| 4065 |
|
elif test $ac_cv_prog_cc_g = yes; then |
| 4066 |
|
if test "$GCC" = yes; then |
| 4075 |
|
CFLAGS= |
| 4076 |
|
fi |
| 4077 |
|
fi |
| 4078 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
| 4079 |
< |
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
| 4080 |
< |
if ${ac_cv_prog_cc_c89+:} false; then : |
| 4081 |
< |
$as_echo_n "(cached) " >&6 |
| 4082 |
< |
else |
| 4083 |
< |
ac_cv_prog_cc_c89=no |
| 4078 |
> |
ac_prog_cc_stdc=no |
| 4079 |
> |
if test x$ac_prog_cc_stdc = xno |
| 4080 |
> |
then : |
| 4081 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5 |
| 4082 |
> |
printf %s "checking for $CC option to enable C11 features... " >&6; } |
| 4083 |
> |
if test ${ac_cv_prog_cc_c11+y} |
| 4084 |
> |
then : |
| 4085 |
> |
printf %s "(cached) " >&6 |
| 4086 |
> |
else $as_nop |
| 4087 |
> |
ac_cv_prog_cc_c11=no |
| 4088 |
|
ac_save_CC=$CC |
| 4089 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4090 |
|
/* end confdefs.h. */ |
| 4091 |
< |
#include <stdarg.h> |
| 4092 |
< |
#include <stdio.h> |
| 4093 |
< |
struct stat; |
| 4094 |
< |
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
| 4095 |
< |
struct buf { int x; }; |
| 4096 |
< |
FILE * (*rcsopen) (struct buf *, struct stat *, int); |
| 4097 |
< |
static char *e (p, i) |
| 4098 |
< |
char **p; |
| 4099 |
< |
int i; |
| 4100 |
< |
{ |
| 4101 |
< |
return p[i]; |
| 4102 |
< |
} |
| 4103 |
< |
static char *f (char * (*g) (char **, int), char **p, ...) |
| 4104 |
< |
{ |
| 4105 |
< |
char *s; |
| 3583 |
< |
va_list v; |
| 3584 |
< |
va_start (v,p); |
| 3585 |
< |
s = g (p, va_arg (v,int)); |
| 3586 |
< |
va_end (v); |
| 3587 |
< |
return s; |
| 3588 |
< |
} |
| 3589 |
< |
|
| 3590 |
< |
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
| 3591 |
< |
function prototypes and stuff, but not '\xHH' hex character constants. |
| 3592 |
< |
These don't provoke an error unfortunately, instead are silently treated |
| 3593 |
< |
as 'x'. The following induces an error, until -std is added to get |
| 3594 |
< |
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
| 3595 |
< |
array size at least. It's necessary to write '\x00'==0 to get something |
| 3596 |
< |
that's true only with -std. */ |
| 3597 |
< |
int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
| 4091 |
> |
$ac_c_conftest_c11_program |
| 4092 |
> |
_ACEOF |
| 4093 |
> |
for ac_arg in '' -std=gnu11 |
| 4094 |
> |
do |
| 4095 |
> |
CC="$ac_save_CC $ac_arg" |
| 4096 |
> |
if ac_fn_c_try_compile "$LINENO" |
| 4097 |
> |
then : |
| 4098 |
> |
ac_cv_prog_cc_c11=$ac_arg |
| 4099 |
> |
fi |
| 4100 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam |
| 4101 |
> |
test "x$ac_cv_prog_cc_c11" != "xno" && break |
| 4102 |
> |
done |
| 4103 |
> |
rm -f conftest.$ac_ext |
| 4104 |
> |
CC=$ac_save_CC |
| 4105 |
> |
fi |
| 4106 |
|
|
| 4107 |
< |
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters |
| 4108 |
< |
inside strings and character constants. */ |
| 4109 |
< |
#define FOO(x) 'x' |
| 4110 |
< |
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; |
| 4107 |
> |
if test "x$ac_cv_prog_cc_c11" = xno |
| 4108 |
> |
then : |
| 4109 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
| 4110 |
> |
printf "%s\n" "unsupported" >&6; } |
| 4111 |
> |
else $as_nop |
| 4112 |
> |
if test "x$ac_cv_prog_cc_c11" = x |
| 4113 |
> |
then : |
| 4114 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
| 4115 |
> |
printf "%s\n" "none needed" >&6; } |
| 4116 |
> |
else $as_nop |
| 4117 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5 |
| 4118 |
> |
printf "%s\n" "$ac_cv_prog_cc_c11" >&6; } |
| 4119 |
> |
CC="$CC $ac_cv_prog_cc_c11" |
| 4120 |
> |
fi |
| 4121 |
> |
ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11 |
| 4122 |
> |
ac_prog_cc_stdc=c11 |
| 4123 |
> |
fi |
| 4124 |
> |
fi |
| 4125 |
> |
if test x$ac_prog_cc_stdc = xno |
| 4126 |
> |
then : |
| 4127 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5 |
| 4128 |
> |
printf %s "checking for $CC option to enable C99 features... " >&6; } |
| 4129 |
> |
if test ${ac_cv_prog_cc_c99+y} |
| 4130 |
> |
then : |
| 4131 |
> |
printf %s "(cached) " >&6 |
| 4132 |
> |
else $as_nop |
| 4133 |
> |
ac_cv_prog_cc_c99=no |
| 4134 |
> |
ac_save_CC=$CC |
| 4135 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4136 |
> |
/* end confdefs.h. */ |
| 4137 |
> |
$ac_c_conftest_c99_program |
| 4138 |
> |
_ACEOF |
| 4139 |
> |
for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99= |
| 4140 |
> |
do |
| 4141 |
> |
CC="$ac_save_CC $ac_arg" |
| 4142 |
> |
if ac_fn_c_try_compile "$LINENO" |
| 4143 |
> |
then : |
| 4144 |
> |
ac_cv_prog_cc_c99=$ac_arg |
| 4145 |
> |
fi |
| 4146 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam |
| 4147 |
> |
test "x$ac_cv_prog_cc_c99" != "xno" && break |
| 4148 |
> |
done |
| 4149 |
> |
rm -f conftest.$ac_ext |
| 4150 |
> |
CC=$ac_save_CC |
| 4151 |
> |
fi |
| 4152 |
|
|
| 4153 |
< |
int test (int i, double x); |
| 4154 |
< |
struct s1 {int (*f) (int a);}; |
| 4155 |
< |
struct s2 {int (*f) (double a);}; |
| 4156 |
< |
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
| 4157 |
< |
int argc; |
| 4158 |
< |
char **argv; |
| 4159 |
< |
int |
| 4160 |
< |
main () |
| 4161 |
< |
{ |
| 4162 |
< |
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
| 4163 |
< |
; |
| 4164 |
< |
return 0; |
| 4165 |
< |
} |
| 4153 |
> |
if test "x$ac_cv_prog_cc_c99" = xno |
| 4154 |
> |
then : |
| 4155 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
| 4156 |
> |
printf "%s\n" "unsupported" >&6; } |
| 4157 |
> |
else $as_nop |
| 4158 |
> |
if test "x$ac_cv_prog_cc_c99" = x |
| 4159 |
> |
then : |
| 4160 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
| 4161 |
> |
printf "%s\n" "none needed" >&6; } |
| 4162 |
> |
else $as_nop |
| 4163 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 |
| 4164 |
> |
printf "%s\n" "$ac_cv_prog_cc_c99" >&6; } |
| 4165 |
> |
CC="$CC $ac_cv_prog_cc_c99" |
| 4166 |
> |
fi |
| 4167 |
> |
ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99 |
| 4168 |
> |
ac_prog_cc_stdc=c99 |
| 4169 |
> |
fi |
| 4170 |
> |
fi |
| 4171 |
> |
if test x$ac_prog_cc_stdc = xno |
| 4172 |
> |
then : |
| 4173 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5 |
| 4174 |
> |
printf %s "checking for $CC option to enable C89 features... " >&6; } |
| 4175 |
> |
if test ${ac_cv_prog_cc_c89+y} |
| 4176 |
> |
then : |
| 4177 |
> |
printf %s "(cached) " >&6 |
| 4178 |
> |
else $as_nop |
| 4179 |
> |
ac_cv_prog_cc_c89=no |
| 4180 |
> |
ac_save_CC=$CC |
| 4181 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4182 |
> |
/* end confdefs.h. */ |
| 4183 |
> |
$ac_c_conftest_c89_program |
| 4184 |
|
_ACEOF |
| 4185 |
< |
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
| 3619 |
< |
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
| 4185 |
> |
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
| 4186 |
|
do |
| 4187 |
|
CC="$ac_save_CC $ac_arg" |
| 4188 |
< |
if ac_fn_c_try_compile "$LINENO"; then : |
| 4188 |
> |
if ac_fn_c_try_compile "$LINENO" |
| 4189 |
> |
then : |
| 4190 |
|
ac_cv_prog_cc_c89=$ac_arg |
| 4191 |
|
fi |
| 4192 |
< |
rm -f core conftest.err conftest.$ac_objext |
| 4192 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam |
| 4193 |
|
test "x$ac_cv_prog_cc_c89" != "xno" && break |
| 4194 |
|
done |
| 4195 |
|
rm -f conftest.$ac_ext |
| 4196 |
|
CC=$ac_save_CC |
| 3630 |
– |
|
| 4197 |
|
fi |
| 3632 |
– |
# AC_CACHE_VAL |
| 3633 |
– |
case "x$ac_cv_prog_cc_c89" in |
| 3634 |
– |
x) |
| 3635 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
| 3636 |
– |
$as_echo "none needed" >&6; } ;; |
| 3637 |
– |
xno) |
| 3638 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
| 3639 |
– |
$as_echo "unsupported" >&6; } ;; |
| 3640 |
– |
*) |
| 3641 |
– |
CC="$CC $ac_cv_prog_cc_c89" |
| 3642 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 |
| 3643 |
– |
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; |
| 3644 |
– |
esac |
| 3645 |
– |
if test "x$ac_cv_prog_cc_c89" != xno; then : |
| 4198 |
|
|
| 4199 |
+ |
if test "x$ac_cv_prog_cc_c89" = xno |
| 4200 |
+ |
then : |
| 4201 |
+ |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
| 4202 |
+ |
printf "%s\n" "unsupported" >&6; } |
| 4203 |
+ |
else $as_nop |
| 4204 |
+ |
if test "x$ac_cv_prog_cc_c89" = x |
| 4205 |
+ |
then : |
| 4206 |
+ |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
| 4207 |
+ |
printf "%s\n" "none needed" >&6; } |
| 4208 |
+ |
else $as_nop |
| 4209 |
+ |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 |
| 4210 |
+ |
printf "%s\n" "$ac_cv_prog_cc_c89" >&6; } |
| 4211 |
+ |
CC="$CC $ac_cv_prog_cc_c89" |
| 4212 |
+ |
fi |
| 4213 |
+ |
ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89 |
| 4214 |
+ |
ac_prog_cc_stdc=c89 |
| 4215 |
+ |
fi |
| 4216 |
|
fi |
| 4217 |
|
|
| 4218 |
|
ac_ext=c |
| 4221 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 4222 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 4223 |
|
|
| 4224 |
< |
ac_ext=c |
| 4224 |
> |
|
| 4225 |
> |
ac_ext=c |
| 4226 |
|
ac_cpp='$CPP $CPPFLAGS' |
| 4227 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 4228 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 4229 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 4230 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 |
| 4231 |
< |
$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } |
| 4232 |
< |
if ${am_cv_prog_cc_c_o+:} false; then : |
| 4233 |
< |
$as_echo_n "(cached) " >&6 |
| 4234 |
< |
else |
| 4230 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 |
| 4231 |
> |
printf %s "checking whether $CC understands -c and -o together... " >&6; } |
| 4232 |
> |
if test ${am_cv_prog_cc_c_o+y} |
| 4233 |
> |
then : |
| 4234 |
> |
printf %s "(cached) " >&6 |
| 4235 |
> |
else $as_nop |
| 4236 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4237 |
|
/* end confdefs.h. */ |
| 4238 |
|
|
| 4239 |
|
int |
| 4240 |
< |
main () |
| 4240 |
> |
main (void) |
| 4241 |
|
{ |
| 4242 |
|
|
| 4243 |
|
; |
| 4265 |
|
rm -f core conftest* |
| 4266 |
|
unset am_i |
| 4267 |
|
fi |
| 4268 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 |
| 4269 |
< |
$as_echo "$am_cv_prog_cc_c_o" >&6; } |
| 4268 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 |
| 4269 |
> |
printf "%s\n" "$am_cv_prog_cc_c_o" >&6; } |
| 4270 |
|
if test "$am_cv_prog_cc_c_o" != yes; then |
| 4271 |
|
# Losing compiler, so override with the script. |
| 4272 |
|
# FIXME: It is wrong to rewrite CC. |
| 4281 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 4282 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 4283 |
|
|
| 4284 |
+ |
DEPDIR="${am__leading_dot}deps" |
| 4285 |
|
|
| 4286 |
< |
depcc="$CC" am_compiler_list= |
| 4286 |
> |
ac_config_commands="$ac_config_commands depfiles" |
| 4287 |
> |
|
| 4288 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5 |
| 4289 |
> |
printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; } |
| 4290 |
> |
cat > confinc.mk << 'END' |
| 4291 |
> |
am__doit: |
| 4292 |
> |
@echo this is the am__doit target >confinc.out |
| 4293 |
> |
.PHONY: am__doit |
| 4294 |
> |
END |
| 4295 |
> |
am__include="#" |
| 4296 |
> |
am__quote= |
| 4297 |
> |
# BSD make does it like this. |
| 4298 |
> |
echo '.include "confinc.mk" # ignored' > confmf.BSD |
| 4299 |
> |
# Other make implementations (GNU, Solaris 10, AIX) do it like this. |
| 4300 |
> |
echo 'include confinc.mk # ignored' > confmf.GNU |
| 4301 |
> |
_am_result=no |
| 4302 |
> |
for s in GNU BSD; do |
| 4303 |
> |
{ echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5 |
| 4304 |
> |
(${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5 |
| 4305 |
> |
ac_status=$? |
| 4306 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4307 |
> |
(exit $ac_status); } |
| 4308 |
> |
case $?:`cat confinc.out 2>/dev/null` in #( |
| 4309 |
> |
'0:this is the am__doit target') : |
| 4310 |
> |
case $s in #( |
| 4311 |
> |
BSD) : |
| 4312 |
> |
am__include='.include' am__quote='"' ;; #( |
| 4313 |
> |
*) : |
| 4314 |
> |
am__include='include' am__quote='' ;; |
| 4315 |
> |
esac ;; #( |
| 4316 |
> |
*) : |
| 4317 |
> |
;; |
| 4318 |
> |
esac |
| 4319 |
> |
if test "$am__include" != "#"; then |
| 4320 |
> |
_am_result="yes ($s style)" |
| 4321 |
> |
break |
| 4322 |
> |
fi |
| 4323 |
> |
done |
| 4324 |
> |
rm -f confinc.* confmf.* |
| 4325 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5 |
| 4326 |
> |
printf "%s\n" "${_am_result}" >&6; } |
| 4327 |
|
|
| 4328 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
| 4329 |
< |
$as_echo_n "checking dependency style of $depcc... " >&6; } |
| 4330 |
< |
if ${am_cv_CC_dependencies_compiler_type+:} false; then : |
| 4331 |
< |
$as_echo_n "(cached) " >&6 |
| 4328 |
> |
# Check whether --enable-dependency-tracking was given. |
| 4329 |
> |
if test ${enable_dependency_tracking+y} |
| 4330 |
> |
then : |
| 4331 |
> |
enableval=$enable_dependency_tracking; |
| 4332 |
> |
fi |
| 4333 |
> |
|
| 4334 |
> |
if test "x$enable_dependency_tracking" != xno; then |
| 4335 |
> |
am_depcomp="$ac_aux_dir/depcomp" |
| 4336 |
> |
AMDEPBACKSLASH='\' |
| 4337 |
> |
am__nodep='_no' |
| 4338 |
> |
fi |
| 4339 |
> |
if test "x$enable_dependency_tracking" != xno; then |
| 4340 |
> |
AMDEP_TRUE= |
| 4341 |
> |
AMDEP_FALSE='#' |
| 4342 |
|
else |
| 4343 |
+ |
AMDEP_TRUE='#' |
| 4344 |
+ |
AMDEP_FALSE= |
| 4345 |
+ |
fi |
| 4346 |
+ |
|
| 4347 |
+ |
|
| 4348 |
+ |
|
| 4349 |
+ |
depcc="$CC" am_compiler_list= |
| 4350 |
+ |
|
| 4351 |
+ |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
| 4352 |
+ |
printf %s "checking dependency style of $depcc... " >&6; } |
| 4353 |
+ |
if test ${am_cv_CC_dependencies_compiler_type+y} |
| 4354 |
+ |
then : |
| 4355 |
+ |
printf %s "(cached) " >&6 |
| 4356 |
+ |
else $as_nop |
| 4357 |
|
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
| 4358 |
|
# We make a subdir and do the tests there. Otherwise we can end up |
| 4359 |
|
# making bogus files that we don't know about and never remove. For |
| 4460 |
|
fi |
| 4461 |
|
|
| 4462 |
|
fi |
| 4463 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 |
| 4464 |
< |
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } |
| 4463 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 |
| 4464 |
> |
printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; } |
| 4465 |
|
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
| 4466 |
|
|
| 4467 |
|
if |
| 4475 |
|
fi |
| 4476 |
|
|
| 4477 |
|
|
| 3842 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5 |
| 3843 |
– |
$as_echo_n "checking for $CC option to accept ISO C99... " >&6; } |
| 3844 |
– |
if ${ac_cv_prog_cc_c99+:} false; then : |
| 3845 |
– |
$as_echo_n "(cached) " >&6 |
| 3846 |
– |
else |
| 3847 |
– |
ac_cv_prog_cc_c99=no |
| 3848 |
– |
ac_save_CC=$CC |
| 3849 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 3850 |
– |
/* end confdefs.h. */ |
| 3851 |
– |
#include <stdarg.h> |
| 3852 |
– |
#include <stdbool.h> |
| 3853 |
– |
#include <stdlib.h> |
| 3854 |
– |
#include <wchar.h> |
| 3855 |
– |
#include <stdio.h> |
| 3856 |
– |
|
| 3857 |
– |
// Check varargs macros. These examples are taken from C99 6.10.3.5. |
| 3858 |
– |
#define debug(...) fprintf (stderr, __VA_ARGS__) |
| 3859 |
– |
#define showlist(...) puts (#__VA_ARGS__) |
| 3860 |
– |
#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) |
| 3861 |
– |
static void |
| 3862 |
– |
test_varargs_macros (void) |
| 3863 |
– |
{ |
| 3864 |
– |
int x = 1234; |
| 3865 |
– |
int y = 5678; |
| 3866 |
– |
debug ("Flag"); |
| 3867 |
– |
debug ("X = %d\n", x); |
| 3868 |
– |
showlist (The first, second, and third items.); |
| 3869 |
– |
report (x>y, "x is %d but y is %d", x, y); |
| 3870 |
– |
} |
| 3871 |
– |
|
| 3872 |
– |
// Check long long types. |
| 3873 |
– |
#define BIG64 18446744073709551615ull |
| 3874 |
– |
#define BIG32 4294967295ul |
| 3875 |
– |
#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) |
| 3876 |
– |
#if !BIG_OK |
| 3877 |
– |
your preprocessor is broken; |
| 3878 |
– |
#endif |
| 3879 |
– |
#if BIG_OK |
| 3880 |
– |
#else |
| 3881 |
– |
your preprocessor is broken; |
| 3882 |
– |
#endif |
| 3883 |
– |
static long long int bignum = -9223372036854775807LL; |
| 3884 |
– |
static unsigned long long int ubignum = BIG64; |
| 3885 |
– |
|
| 3886 |
– |
struct incomplete_array |
| 3887 |
– |
{ |
| 3888 |
– |
int datasize; |
| 3889 |
– |
double data[]; |
| 3890 |
– |
}; |
| 3891 |
– |
|
| 3892 |
– |
struct named_init { |
| 3893 |
– |
int number; |
| 3894 |
– |
const wchar_t *name; |
| 3895 |
– |
double average; |
| 3896 |
– |
}; |
| 3897 |
– |
|
| 3898 |
– |
typedef const char *ccp; |
| 3899 |
– |
|
| 3900 |
– |
static inline int |
| 3901 |
– |
test_restrict (ccp restrict text) |
| 3902 |
– |
{ |
| 3903 |
– |
// See if C++-style comments work. |
| 3904 |
– |
// Iterate through items via the restricted pointer. |
| 3905 |
– |
// Also check for declarations in for loops. |
| 3906 |
– |
for (unsigned int i = 0; *(text+i) != '\0'; ++i) |
| 3907 |
– |
continue; |
| 3908 |
– |
return 0; |
| 3909 |
– |
} |
| 3910 |
– |
|
| 3911 |
– |
// Check varargs and va_copy. |
| 3912 |
– |
static void |
| 3913 |
– |
test_varargs (const char *format, ...) |
| 3914 |
– |
{ |
| 3915 |
– |
va_list args; |
| 3916 |
– |
va_start (args, format); |
| 3917 |
– |
va_list args_copy; |
| 3918 |
– |
va_copy (args_copy, args); |
| 3919 |
– |
|
| 3920 |
– |
const char *str; |
| 3921 |
– |
int number; |
| 3922 |
– |
float fnumber; |
| 3923 |
– |
|
| 3924 |
– |
while (*format) |
| 3925 |
– |
{ |
| 3926 |
– |
switch (*format++) |
| 3927 |
– |
{ |
| 3928 |
– |
case 's': // string |
| 3929 |
– |
str = va_arg (args_copy, const char *); |
| 3930 |
– |
break; |
| 3931 |
– |
case 'd': // int |
| 3932 |
– |
number = va_arg (args_copy, int); |
| 3933 |
– |
break; |
| 3934 |
– |
case 'f': // float |
| 3935 |
– |
fnumber = va_arg (args_copy, double); |
| 3936 |
– |
break; |
| 3937 |
– |
default: |
| 3938 |
– |
break; |
| 3939 |
– |
} |
| 3940 |
– |
} |
| 3941 |
– |
va_end (args_copy); |
| 3942 |
– |
va_end (args); |
| 3943 |
– |
} |
| 3944 |
– |
|
| 3945 |
– |
int |
| 3946 |
– |
main () |
| 3947 |
– |
{ |
| 3948 |
– |
|
| 3949 |
– |
// Check bool. |
| 3950 |
– |
_Bool success = false; |
| 3951 |
– |
|
| 3952 |
– |
// Check restrict. |
| 3953 |
– |
if (test_restrict ("String literal") == 0) |
| 3954 |
– |
success = true; |
| 3955 |
– |
char *restrict newvar = "Another string"; |
| 3956 |
– |
|
| 3957 |
– |
// Check varargs. |
| 3958 |
– |
test_varargs ("s, d' f .", "string", 65, 34.234); |
| 3959 |
– |
test_varargs_macros (); |
| 3960 |
– |
|
| 3961 |
– |
// Check flexible array members. |
| 3962 |
– |
struct incomplete_array *ia = |
| 3963 |
– |
malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); |
| 3964 |
– |
ia->datasize = 10; |
| 3965 |
– |
for (int i = 0; i < ia->datasize; ++i) |
| 3966 |
– |
ia->data[i] = i * 1.234; |
| 3967 |
– |
|
| 3968 |
– |
// Check named initializers. |
| 3969 |
– |
struct named_init ni = { |
| 3970 |
– |
.number = 34, |
| 3971 |
– |
.name = L"Test wide string", |
| 3972 |
– |
.average = 543.34343, |
| 3973 |
– |
}; |
| 3974 |
– |
|
| 3975 |
– |
ni.number = 58; |
| 3976 |
– |
|
| 3977 |
– |
int dynamic_array[ni.number]; |
| 3978 |
– |
dynamic_array[ni.number - 1] = 543; |
| 3979 |
– |
|
| 3980 |
– |
// work around unused variable warnings |
| 3981 |
– |
return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' |
| 3982 |
– |
|| dynamic_array[ni.number - 1] != 543); |
| 3983 |
– |
|
| 3984 |
– |
; |
| 3985 |
– |
return 0; |
| 3986 |
– |
} |
| 3987 |
– |
_ACEOF |
| 3988 |
– |
for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99 |
| 3989 |
– |
do |
| 3990 |
– |
CC="$ac_save_CC $ac_arg" |
| 3991 |
– |
if ac_fn_c_try_compile "$LINENO"; then : |
| 3992 |
– |
ac_cv_prog_cc_c99=$ac_arg |
| 3993 |
– |
fi |
| 3994 |
– |
rm -f core conftest.err conftest.$ac_objext |
| 3995 |
– |
test "x$ac_cv_prog_cc_c99" != "xno" && break |
| 3996 |
– |
done |
| 3997 |
– |
rm -f conftest.$ac_ext |
| 3998 |
– |
CC=$ac_save_CC |
| 3999 |
– |
|
| 4000 |
– |
fi |
| 4001 |
– |
# AC_CACHE_VAL |
| 4002 |
– |
case "x$ac_cv_prog_cc_c99" in |
| 4003 |
– |
x) |
| 4004 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
| 4005 |
– |
$as_echo "none needed" >&6; } ;; |
| 4006 |
– |
xno) |
| 4007 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
| 4008 |
– |
$as_echo "unsupported" >&6; } ;; |
| 4009 |
– |
*) |
| 4010 |
– |
CC="$CC $ac_cv_prog_cc_c99" |
| 4011 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 |
| 4012 |
– |
$as_echo "$ac_cv_prog_cc_c99" >&6; } ;; |
| 4013 |
– |
esac |
| 4014 |
– |
if test "x$ac_cv_prog_cc_c99" != xno; then : |
| 4015 |
– |
|
| 4016 |
– |
fi |
| 4017 |
– |
|
| 4018 |
– |
|
| 4019 |
– |
if test "$ac_cv_prog_cc_c99" = "no"; then : |
| 4020 |
– |
as_fn_error $? "no suitable C99 compiler found. Aborting." "$LINENO" 5 |
| 4021 |
– |
fi |
| 4478 |
|
case `pwd` in |
| 4479 |
|
*\ * | *\ *) |
| 4480 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 |
| 4481 |
< |
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; |
| 4480 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 |
| 4481 |
> |
printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; |
| 4482 |
|
esac |
| 4483 |
|
|
| 4484 |
|
|
| 4485 |
|
|
| 4486 |
< |
macro_version='2.4.6' |
| 4487 |
< |
macro_revision='2.4.6' |
| 4486 |
> |
macro_version='2.4.7' |
| 4487 |
> |
macro_revision='2.4.7' |
| 4488 |
> |
|
| 4489 |
|
|
| 4490 |
|
|
| 4491 |
|
|
| 4501 |
|
|
| 4502 |
|
ltmain=$ac_aux_dir/ltmain.sh |
| 4503 |
|
|
| 4504 |
< |
# Make sure we can run config.sub. |
| 4505 |
< |
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || |
| 4506 |
< |
as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 |
| 4507 |
< |
|
| 4508 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 |
| 4509 |
< |
$as_echo_n "checking build system type... " >&6; } |
| 4510 |
< |
if ${ac_cv_build+:} false; then : |
| 4511 |
< |
$as_echo_n "(cached) " >&6 |
| 4512 |
< |
else |
| 4504 |
> |
|
| 4505 |
> |
|
| 4506 |
> |
# Make sure we can run config.sub. |
| 4507 |
> |
$SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 || |
| 4508 |
> |
as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5 |
| 4509 |
> |
|
| 4510 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 |
| 4511 |
> |
printf %s "checking build system type... " >&6; } |
| 4512 |
> |
if test ${ac_cv_build+y} |
| 4513 |
> |
then : |
| 4514 |
> |
printf %s "(cached) " >&6 |
| 4515 |
> |
else $as_nop |
| 4516 |
|
ac_build_alias=$build_alias |
| 4517 |
|
test "x$ac_build_alias" = x && |
| 4518 |
< |
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` |
| 4518 |
> |
ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"` |
| 4519 |
|
test "x$ac_build_alias" = x && |
| 4520 |
|
as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 |
| 4521 |
< |
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || |
| 4522 |
< |
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 |
| 4521 |
> |
ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` || |
| 4522 |
> |
as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5 |
| 4523 |
|
|
| 4524 |
|
fi |
| 4525 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 |
| 4526 |
< |
$as_echo "$ac_cv_build" >&6; } |
| 4525 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 |
| 4526 |
> |
printf "%s\n" "$ac_cv_build" >&6; } |
| 4527 |
|
case $ac_cv_build in |
| 4528 |
|
*-*-*) ;; |
| 4529 |
|
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; |
| 4542 |
|
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac |
| 4543 |
|
|
| 4544 |
|
|
| 4545 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 |
| 4546 |
< |
$as_echo_n "checking host system type... " >&6; } |
| 4547 |
< |
if ${ac_cv_host+:} false; then : |
| 4548 |
< |
$as_echo_n "(cached) " >&6 |
| 4549 |
< |
else |
| 4545 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 |
| 4546 |
> |
printf %s "checking host system type... " >&6; } |
| 4547 |
> |
if test ${ac_cv_host+y} |
| 4548 |
> |
then : |
| 4549 |
> |
printf %s "(cached) " >&6 |
| 4550 |
> |
else $as_nop |
| 4551 |
|
if test "x$host_alias" = x; then |
| 4552 |
|
ac_cv_host=$ac_cv_build |
| 4553 |
|
else |
| 4554 |
< |
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || |
| 4555 |
< |
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 |
| 4554 |
> |
ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` || |
| 4555 |
> |
as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5 |
| 4556 |
|
fi |
| 4557 |
|
|
| 4558 |
|
fi |
| 4559 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 |
| 4560 |
< |
$as_echo "$ac_cv_host" >&6; } |
| 4559 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 |
| 4560 |
> |
printf "%s\n" "$ac_cv_host" >&6; } |
| 4561 |
|
case $ac_cv_host in |
| 4562 |
|
*-*-*) ;; |
| 4563 |
|
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; |
| 4597 |
|
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO |
| 4598 |
|
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO |
| 4599 |
|
|
| 4600 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 |
| 4601 |
< |
$as_echo_n "checking how to print strings... " >&6; } |
| 4600 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 |
| 4601 |
> |
printf %s "checking how to print strings... " >&6; } |
| 4602 |
|
# Test print first, because it will be a builtin if present. |
| 4603 |
|
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ |
| 4604 |
|
test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then |
| 4624 |
|
} |
| 4625 |
|
|
| 4626 |
|
case $ECHO in |
| 4627 |
< |
printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 |
| 4628 |
< |
$as_echo "printf" >&6; } ;; |
| 4629 |
< |
print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 |
| 4630 |
< |
$as_echo "print -r" >&6; } ;; |
| 4631 |
< |
*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 |
| 4632 |
< |
$as_echo "cat" >&6; } ;; |
| 4627 |
> |
printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5 |
| 4628 |
> |
printf "%s\n" "printf" >&6; } ;; |
| 4629 |
> |
print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 |
| 4630 |
> |
printf "%s\n" "print -r" >&6; } ;; |
| 4631 |
> |
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5 |
| 4632 |
> |
printf "%s\n" "cat" >&6; } ;; |
| 4633 |
|
esac |
| 4634 |
|
|
| 4635 |
|
|
| 4645 |
|
|
| 4646 |
|
|
| 4647 |
|
|
| 4648 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 |
| 4649 |
< |
$as_echo_n "checking for a sed that does not truncate output... " >&6; } |
| 4650 |
< |
if ${ac_cv_path_SED+:} false; then : |
| 4651 |
< |
$as_echo_n "(cached) " >&6 |
| 4652 |
< |
else |
| 4648 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 |
| 4649 |
> |
printf %s "checking for a sed that does not truncate output... " >&6; } |
| 4650 |
> |
if test ${ac_cv_path_SED+y} |
| 4651 |
> |
then : |
| 4652 |
> |
printf %s "(cached) " >&6 |
| 4653 |
> |
else $as_nop |
| 4654 |
|
ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ |
| 4655 |
|
for ac_i in 1 2 3 4 5 6 7; do |
| 4656 |
|
ac_script="$ac_script$as_nl$ac_script" |
| 4664 |
|
for as_dir in $PATH |
| 4665 |
|
do |
| 4666 |
|
IFS=$as_save_IFS |
| 4667 |
< |
test -z "$as_dir" && as_dir=. |
| 4668 |
< |
for ac_prog in sed gsed; do |
| 4667 |
> |
case $as_dir in #((( |
| 4668 |
> |
'') as_dir=./ ;; |
| 4669 |
> |
*/) ;; |
| 4670 |
> |
*) as_dir=$as_dir/ ;; |
| 4671 |
> |
esac |
| 4672 |
> |
for ac_prog in sed gsed |
| 4673 |
> |
do |
| 4674 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 4675 |
< |
ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" |
| 4675 |
> |
ac_path_SED="$as_dir$ac_prog$ac_exec_ext" |
| 4676 |
|
as_fn_executable_p "$ac_path_SED" || continue |
| 4677 |
|
# Check for GNU ac_path_SED and select it if it is found. |
| 4678 |
|
# Check for GNU $ac_path_SED |
| 4681 |
|
ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; |
| 4682 |
|
*) |
| 4683 |
|
ac_count=0 |
| 4684 |
< |
$as_echo_n 0123456789 >"conftest.in" |
| 4684 |
> |
printf %s 0123456789 >"conftest.in" |
| 4685 |
|
while : |
| 4686 |
|
do |
| 4687 |
|
cat "conftest.in" "conftest.in" >"conftest.tmp" |
| 4688 |
|
mv "conftest.tmp" "conftest.in" |
| 4689 |
|
cp "conftest.in" "conftest.nl" |
| 4690 |
< |
$as_echo '' >> "conftest.nl" |
| 4690 |
> |
printf "%s\n" '' >> "conftest.nl" |
| 4691 |
|
"$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break |
| 4692 |
|
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
| 4693 |
|
as_fn_arith $ac_count + 1 && ac_count=$as_val |
| 4715 |
|
fi |
| 4716 |
|
|
| 4717 |
|
fi |
| 4718 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 |
| 4719 |
< |
$as_echo "$ac_cv_path_SED" >&6; } |
| 4718 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 |
| 4719 |
> |
printf "%s\n" "$ac_cv_path_SED" >&6; } |
| 4720 |
|
SED="$ac_cv_path_SED" |
| 4721 |
|
rm -f conftest.sed |
| 4722 |
|
|
| 4733 |
|
|
| 4734 |
|
|
| 4735 |
|
|
| 4736 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
| 4737 |
< |
$as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
| 4738 |
< |
if ${ac_cv_path_GREP+:} false; then : |
| 4739 |
< |
$as_echo_n "(cached) " >&6 |
| 4740 |
< |
else |
| 4736 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
| 4737 |
> |
printf %s "checking for grep that handles long lines and -e... " >&6; } |
| 4738 |
> |
if test ${ac_cv_path_GREP+y} |
| 4739 |
> |
then : |
| 4740 |
> |
printf %s "(cached) " >&6 |
| 4741 |
> |
else $as_nop |
| 4742 |
|
if test -z "$GREP"; then |
| 4743 |
|
ac_path_GREP_found=false |
| 4744 |
|
# Loop through the user's path and test for each of PROGNAME-LIST |
| 4746 |
|
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
| 4747 |
|
do |
| 4748 |
|
IFS=$as_save_IFS |
| 4749 |
< |
test -z "$as_dir" && as_dir=. |
| 4750 |
< |
for ac_prog in grep ggrep; do |
| 4749 |
> |
case $as_dir in #((( |
| 4750 |
> |
'') as_dir=./ ;; |
| 4751 |
> |
*/) ;; |
| 4752 |
> |
*) as_dir=$as_dir/ ;; |
| 4753 |
> |
esac |
| 4754 |
> |
for ac_prog in grep ggrep |
| 4755 |
> |
do |
| 4756 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 4757 |
< |
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
| 4757 |
> |
ac_path_GREP="$as_dir$ac_prog$ac_exec_ext" |
| 4758 |
|
as_fn_executable_p "$ac_path_GREP" || continue |
| 4759 |
|
# Check for GNU ac_path_GREP and select it if it is found. |
| 4760 |
|
# Check for GNU $ac_path_GREP |
| 4763 |
|
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
| 4764 |
|
*) |
| 4765 |
|
ac_count=0 |
| 4766 |
< |
$as_echo_n 0123456789 >"conftest.in" |
| 4766 |
> |
printf %s 0123456789 >"conftest.in" |
| 4767 |
|
while : |
| 4768 |
|
do |
| 4769 |
|
cat "conftest.in" "conftest.in" >"conftest.tmp" |
| 4770 |
|
mv "conftest.tmp" "conftest.in" |
| 4771 |
|
cp "conftest.in" "conftest.nl" |
| 4772 |
< |
$as_echo 'GREP' >> "conftest.nl" |
| 4772 |
> |
printf "%s\n" 'GREP' >> "conftest.nl" |
| 4773 |
|
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
| 4774 |
|
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
| 4775 |
|
as_fn_arith $ac_count + 1 && ac_count=$as_val |
| 4797 |
|
fi |
| 4798 |
|
|
| 4799 |
|
fi |
| 4800 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 |
| 4801 |
< |
$as_echo "$ac_cv_path_GREP" >&6; } |
| 4800 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 |
| 4801 |
> |
printf "%s\n" "$ac_cv_path_GREP" >&6; } |
| 4802 |
|
GREP="$ac_cv_path_GREP" |
| 4803 |
|
|
| 4804 |
|
|
| 4805 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
| 4806 |
< |
$as_echo_n "checking for egrep... " >&6; } |
| 4807 |
< |
if ${ac_cv_path_EGREP+:} false; then : |
| 4808 |
< |
$as_echo_n "(cached) " >&6 |
| 4809 |
< |
else |
| 4805 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
| 4806 |
> |
printf %s "checking for egrep... " >&6; } |
| 4807 |
> |
if test ${ac_cv_path_EGREP+y} |
| 4808 |
> |
then : |
| 4809 |
> |
printf %s "(cached) " >&6 |
| 4810 |
> |
else $as_nop |
| 4811 |
|
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
| 4812 |
|
then ac_cv_path_EGREP="$GREP -E" |
| 4813 |
|
else |
| 4818 |
|
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
| 4819 |
|
do |
| 4820 |
|
IFS=$as_save_IFS |
| 4821 |
< |
test -z "$as_dir" && as_dir=. |
| 4822 |
< |
for ac_prog in egrep; do |
| 4821 |
> |
case $as_dir in #((( |
| 4822 |
> |
'') as_dir=./ ;; |
| 4823 |
> |
*/) ;; |
| 4824 |
> |
*) as_dir=$as_dir/ ;; |
| 4825 |
> |
esac |
| 4826 |
> |
for ac_prog in egrep |
| 4827 |
> |
do |
| 4828 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 4829 |
< |
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
| 4829 |
> |
ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext" |
| 4830 |
|
as_fn_executable_p "$ac_path_EGREP" || continue |
| 4831 |
|
# Check for GNU ac_path_EGREP and select it if it is found. |
| 4832 |
|
# Check for GNU $ac_path_EGREP |
| 4835 |
|
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
| 4836 |
|
*) |
| 4837 |
|
ac_count=0 |
| 4838 |
< |
$as_echo_n 0123456789 >"conftest.in" |
| 4838 |
> |
printf %s 0123456789 >"conftest.in" |
| 4839 |
|
while : |
| 4840 |
|
do |
| 4841 |
|
cat "conftest.in" "conftest.in" >"conftest.tmp" |
| 4842 |
|
mv "conftest.tmp" "conftest.in" |
| 4843 |
|
cp "conftest.in" "conftest.nl" |
| 4844 |
< |
$as_echo 'EGREP' >> "conftest.nl" |
| 4844 |
> |
printf "%s\n" 'EGREP' >> "conftest.nl" |
| 4845 |
|
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
| 4846 |
|
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
| 4847 |
|
as_fn_arith $ac_count + 1 && ac_count=$as_val |
| 4870 |
|
|
| 4871 |
|
fi |
| 4872 |
|
fi |
| 4873 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 |
| 4874 |
< |
$as_echo "$ac_cv_path_EGREP" >&6; } |
| 4873 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 |
| 4874 |
> |
printf "%s\n" "$ac_cv_path_EGREP" >&6; } |
| 4875 |
|
EGREP="$ac_cv_path_EGREP" |
| 4876 |
|
|
| 4877 |
|
|
| 4878 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 |
| 4879 |
< |
$as_echo_n "checking for fgrep... " >&6; } |
| 4880 |
< |
if ${ac_cv_path_FGREP+:} false; then : |
| 4881 |
< |
$as_echo_n "(cached) " >&6 |
| 4882 |
< |
else |
| 4878 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 |
| 4879 |
> |
printf %s "checking for fgrep... " >&6; } |
| 4880 |
> |
if test ${ac_cv_path_FGREP+y} |
| 4881 |
> |
then : |
| 4882 |
> |
printf %s "(cached) " >&6 |
| 4883 |
> |
else $as_nop |
| 4884 |
|
if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 |
| 4885 |
|
then ac_cv_path_FGREP="$GREP -F" |
| 4886 |
|
else |
| 4891 |
|
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
| 4892 |
|
do |
| 4893 |
|
IFS=$as_save_IFS |
| 4894 |
< |
test -z "$as_dir" && as_dir=. |
| 4895 |
< |
for ac_prog in fgrep; do |
| 4894 |
> |
case $as_dir in #((( |
| 4895 |
> |
'') as_dir=./ ;; |
| 4896 |
> |
*/) ;; |
| 4897 |
> |
*) as_dir=$as_dir/ ;; |
| 4898 |
> |
esac |
| 4899 |
> |
for ac_prog in fgrep |
| 4900 |
> |
do |
| 4901 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 4902 |
< |
ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" |
| 4902 |
> |
ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext" |
| 4903 |
|
as_fn_executable_p "$ac_path_FGREP" || continue |
| 4904 |
|
# Check for GNU ac_path_FGREP and select it if it is found. |
| 4905 |
|
# Check for GNU $ac_path_FGREP |
| 4908 |
|
ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; |
| 4909 |
|
*) |
| 4910 |
|
ac_count=0 |
| 4911 |
< |
$as_echo_n 0123456789 >"conftest.in" |
| 4911 |
> |
printf %s 0123456789 >"conftest.in" |
| 4912 |
|
while : |
| 4913 |
|
do |
| 4914 |
|
cat "conftest.in" "conftest.in" >"conftest.tmp" |
| 4915 |
|
mv "conftest.tmp" "conftest.in" |
| 4916 |
|
cp "conftest.in" "conftest.nl" |
| 4917 |
< |
$as_echo 'FGREP' >> "conftest.nl" |
| 4917 |
> |
printf "%s\n" 'FGREP' >> "conftest.nl" |
| 4918 |
|
"$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break |
| 4919 |
|
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
| 4920 |
|
as_fn_arith $ac_count + 1 && ac_count=$as_val |
| 4943 |
|
|
| 4944 |
|
fi |
| 4945 |
|
fi |
| 4946 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 |
| 4947 |
< |
$as_echo "$ac_cv_path_FGREP" >&6; } |
| 4946 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 |
| 4947 |
> |
printf "%s\n" "$ac_cv_path_FGREP" >&6; } |
| 4948 |
|
FGREP="$ac_cv_path_FGREP" |
| 4949 |
|
|
| 4950 |
|
|
| 4969 |
|
|
| 4970 |
|
|
| 4971 |
|
# Check whether --with-gnu-ld was given. |
| 4972 |
< |
if test "${with_gnu_ld+set}" = set; then : |
| 4972 |
> |
if test ${with_gnu_ld+y} |
| 4973 |
> |
then : |
| 4974 |
|
withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes |
| 4975 |
< |
else |
| 4975 |
> |
else $as_nop |
| 4976 |
|
with_gnu_ld=no |
| 4977 |
|
fi |
| 4978 |
|
|
| 4979 |
|
ac_prog=ld |
| 4980 |
|
if test yes = "$GCC"; then |
| 4981 |
|
# Check if gcc -print-prog-name=ld gives a path. |
| 4982 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 |
| 4983 |
< |
$as_echo_n "checking for ld used by $CC... " >&6; } |
| 4982 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 |
| 4983 |
> |
printf %s "checking for ld used by $CC... " >&6; } |
| 4984 |
|
case $host in |
| 4985 |
|
*-*-mingw*) |
| 4986 |
|
# gcc leaves a trailing carriage return, which upsets mingw |
| 5009 |
|
;; |
| 5010 |
|
esac |
| 5011 |
|
elif test yes = "$with_gnu_ld"; then |
| 5012 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 |
| 5013 |
< |
$as_echo_n "checking for GNU ld... " >&6; } |
| 5012 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 |
| 5013 |
> |
printf %s "checking for GNU ld... " >&6; } |
| 5014 |
|
else |
| 5015 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 |
| 5016 |
< |
$as_echo_n "checking for non-GNU ld... " >&6; } |
| 5015 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 |
| 5016 |
> |
printf %s "checking for non-GNU ld... " >&6; } |
| 5017 |
|
fi |
| 5018 |
< |
if ${lt_cv_path_LD+:} false; then : |
| 5019 |
< |
$as_echo_n "(cached) " >&6 |
| 5020 |
< |
else |
| 5018 |
> |
if test ${lt_cv_path_LD+y} |
| 5019 |
> |
then : |
| 5020 |
> |
printf %s "(cached) " >&6 |
| 5021 |
> |
else $as_nop |
| 5022 |
|
if test -z "$LD"; then |
| 5023 |
|
lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR |
| 5024 |
|
for ac_dir in $PATH; do |
| 5047 |
|
|
| 5048 |
|
LD=$lt_cv_path_LD |
| 5049 |
|
if test -n "$LD"; then |
| 5050 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 |
| 5051 |
< |
$as_echo "$LD" >&6; } |
| 5050 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 |
| 5051 |
> |
printf "%s\n" "$LD" >&6; } |
| 5052 |
|
else |
| 5053 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 5054 |
< |
$as_echo "no" >&6; } |
| 5053 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 5054 |
> |
printf "%s\n" "no" >&6; } |
| 5055 |
|
fi |
| 5056 |
|
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 |
| 5057 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 |
| 5058 |
< |
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } |
| 5059 |
< |
if ${lt_cv_prog_gnu_ld+:} false; then : |
| 5060 |
< |
$as_echo_n "(cached) " >&6 |
| 5061 |
< |
else |
| 5057 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 |
| 5058 |
> |
printf %s "checking if the linker ($LD) is GNU ld... " >&6; } |
| 5059 |
> |
if test ${lt_cv_prog_gnu_ld+y} |
| 5060 |
> |
then : |
| 5061 |
> |
printf %s "(cached) " >&6 |
| 5062 |
> |
else $as_nop |
| 5063 |
|
# I'd rather use --version here, but apparently some GNU lds only accept -v. |
| 5064 |
|
case `$LD -v 2>&1 </dev/null` in |
| 5065 |
|
*GNU* | *'with BFD'*) |
| 5070 |
|
;; |
| 5071 |
|
esac |
| 5072 |
|
fi |
| 5073 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 |
| 5074 |
< |
$as_echo "$lt_cv_prog_gnu_ld" >&6; } |
| 5073 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 |
| 5074 |
> |
printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; } |
| 5075 |
|
with_gnu_ld=$lt_cv_prog_gnu_ld |
| 5076 |
|
|
| 5077 |
|
|
| 5082 |
|
|
| 5083 |
|
|
| 5084 |
|
|
| 5085 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 |
| 5086 |
< |
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } |
| 5087 |
< |
if ${lt_cv_path_NM+:} false; then : |
| 5088 |
< |
$as_echo_n "(cached) " >&6 |
| 5089 |
< |
else |
| 5085 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 |
| 5086 |
> |
printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; } |
| 5087 |
> |
if test ${lt_cv_path_NM+y} |
| 5088 |
> |
then : |
| 5089 |
> |
printf %s "(cached) " >&6 |
| 5090 |
> |
else $as_nop |
| 5091 |
|
if test -n "$NM"; then |
| 5092 |
|
# Let the user override the test. |
| 5093 |
|
lt_cv_path_NM=$NM |
| 5112 |
|
mingw*) lt_bad_file=conftest.nm/nofile ;; |
| 5113 |
|
*) lt_bad_file=/dev/null ;; |
| 5114 |
|
esac |
| 5115 |
< |
case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in |
| 5115 |
> |
case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in |
| 5116 |
|
*$lt_bad_file* | *'Invalid file or object type'*) |
| 5117 |
|
lt_cv_path_NM="$tmp_nm -B" |
| 5118 |
|
break 2 |
| 5119 |
|
;; |
| 5120 |
|
*) |
| 5121 |
< |
case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in |
| 5121 |
> |
case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in |
| 5122 |
|
*/dev/null*) |
| 5123 |
|
lt_cv_path_NM="$tmp_nm -p" |
| 5124 |
|
break 2 |
| 5137 |
|
: ${lt_cv_path_NM=no} |
| 5138 |
|
fi |
| 5139 |
|
fi |
| 5140 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 |
| 5141 |
< |
$as_echo "$lt_cv_path_NM" >&6; } |
| 5140 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 |
| 5141 |
> |
printf "%s\n" "$lt_cv_path_NM" >&6; } |
| 5142 |
|
if test no != "$lt_cv_path_NM"; then |
| 5143 |
|
NM=$lt_cv_path_NM |
| 5144 |
|
else |
| 5151 |
|
do |
| 5152 |
|
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
| 5153 |
|
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| 5154 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 5155 |
< |
$as_echo_n "checking for $ac_word... " >&6; } |
| 5156 |
< |
if ${ac_cv_prog_DUMPBIN+:} false; then : |
| 5157 |
< |
$as_echo_n "(cached) " >&6 |
| 5158 |
< |
else |
| 5154 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 5155 |
> |
printf %s "checking for $ac_word... " >&6; } |
| 5156 |
> |
if test ${ac_cv_prog_DUMPBIN+y} |
| 5157 |
> |
then : |
| 5158 |
> |
printf %s "(cached) " >&6 |
| 5159 |
> |
else $as_nop |
| 5160 |
|
if test -n "$DUMPBIN"; then |
| 5161 |
|
ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. |
| 5162 |
|
else |
| 5164 |
|
for as_dir in $PATH |
| 5165 |
|
do |
| 5166 |
|
IFS=$as_save_IFS |
| 5167 |
< |
test -z "$as_dir" && as_dir=. |
| 5167 |
> |
case $as_dir in #((( |
| 5168 |
> |
'') as_dir=./ ;; |
| 5169 |
> |
*/) ;; |
| 5170 |
> |
*) as_dir=$as_dir/ ;; |
| 5171 |
> |
esac |
| 5172 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 5173 |
< |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 5173 |
> |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 5174 |
|
ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" |
| 5175 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 5175 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 5176 |
|
break 2 |
| 5177 |
|
fi |
| 5178 |
|
done |
| 5183 |
|
fi |
| 5184 |
|
DUMPBIN=$ac_cv_prog_DUMPBIN |
| 5185 |
|
if test -n "$DUMPBIN"; then |
| 5186 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 |
| 5187 |
< |
$as_echo "$DUMPBIN" >&6; } |
| 5186 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 |
| 5187 |
> |
printf "%s\n" "$DUMPBIN" >&6; } |
| 5188 |
|
else |
| 5189 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 5190 |
< |
$as_echo "no" >&6; } |
| 5189 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 5190 |
> |
printf "%s\n" "no" >&6; } |
| 5191 |
|
fi |
| 5192 |
|
|
| 5193 |
|
|
| 5200 |
|
do |
| 5201 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
| 5202 |
|
set dummy $ac_prog; ac_word=$2 |
| 5203 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 5204 |
< |
$as_echo_n "checking for $ac_word... " >&6; } |
| 5205 |
< |
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : |
| 5206 |
< |
$as_echo_n "(cached) " >&6 |
| 5207 |
< |
else |
| 5203 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 5204 |
> |
printf %s "checking for $ac_word... " >&6; } |
| 5205 |
> |
if test ${ac_cv_prog_ac_ct_DUMPBIN+y} |
| 5206 |
> |
then : |
| 5207 |
> |
printf %s "(cached) " >&6 |
| 5208 |
> |
else $as_nop |
| 5209 |
|
if test -n "$ac_ct_DUMPBIN"; then |
| 5210 |
|
ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. |
| 5211 |
|
else |
| 5213 |
|
for as_dir in $PATH |
| 5214 |
|
do |
| 5215 |
|
IFS=$as_save_IFS |
| 5216 |
< |
test -z "$as_dir" && as_dir=. |
| 5216 |
> |
case $as_dir in #((( |
| 5217 |
> |
'') as_dir=./ ;; |
| 5218 |
> |
*/) ;; |
| 5219 |
> |
*) as_dir=$as_dir/ ;; |
| 5220 |
> |
esac |
| 5221 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 5222 |
< |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 5222 |
> |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 5223 |
|
ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" |
| 5224 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 5224 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 5225 |
|
break 2 |
| 5226 |
|
fi |
| 5227 |
|
done |
| 5232 |
|
fi |
| 5233 |
|
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN |
| 5234 |
|
if test -n "$ac_ct_DUMPBIN"; then |
| 5235 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 |
| 5236 |
< |
$as_echo "$ac_ct_DUMPBIN" >&6; } |
| 5235 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 |
| 5236 |
> |
printf "%s\n" "$ac_ct_DUMPBIN" >&6; } |
| 5237 |
|
else |
| 5238 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 5239 |
< |
$as_echo "no" >&6; } |
| 5238 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 5239 |
> |
printf "%s\n" "no" >&6; } |
| 5240 |
|
fi |
| 5241 |
|
|
| 5242 |
|
|
| 5248 |
|
else |
| 5249 |
|
case $cross_compiling:$ac_tool_warned in |
| 5250 |
|
yes:) |
| 5251 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 5252 |
< |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 5251 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 5252 |
> |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 5253 |
|
ac_tool_warned=yes ;; |
| 5254 |
|
esac |
| 5255 |
|
DUMPBIN=$ac_ct_DUMPBIN |
| 5256 |
|
fi |
| 5257 |
|
fi |
| 5258 |
|
|
| 5259 |
< |
case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in |
| 5259 |
> |
case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in |
| 5260 |
|
*COFF*) |
| 5261 |
|
DUMPBIN="$DUMPBIN -symbols -headers" |
| 5262 |
|
;; |
| 5277 |
|
|
| 5278 |
|
|
| 5279 |
|
|
| 5280 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 |
| 5281 |
< |
$as_echo_n "checking the name lister ($NM) interface... " >&6; } |
| 5282 |
< |
if ${lt_cv_nm_interface+:} false; then : |
| 5283 |
< |
$as_echo_n "(cached) " >&6 |
| 5284 |
< |
else |
| 5280 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 |
| 5281 |
> |
printf %s "checking the name lister ($NM) interface... " >&6; } |
| 5282 |
> |
if test ${lt_cv_nm_interface+y} |
| 5283 |
> |
then : |
| 5284 |
> |
printf %s "(cached) " >&6 |
| 5285 |
> |
else $as_nop |
| 5286 |
|
lt_cv_nm_interface="BSD nm" |
| 5287 |
|
echo "int some_variable = 0;" > conftest.$ac_ext |
| 5288 |
|
(eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) |
| 5298 |
|
fi |
| 5299 |
|
rm -f conftest* |
| 5300 |
|
fi |
| 5301 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 |
| 5302 |
< |
$as_echo "$lt_cv_nm_interface" >&6; } |
| 5301 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 |
| 5302 |
> |
printf "%s\n" "$lt_cv_nm_interface" >&6; } |
| 5303 |
|
|
| 5304 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 |
| 5305 |
< |
$as_echo_n "checking whether ln -s works... " >&6; } |
| 5304 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 |
| 5305 |
> |
printf %s "checking whether ln -s works... " >&6; } |
| 5306 |
|
LN_S=$as_ln_s |
| 5307 |
|
if test "$LN_S" = "ln -s"; then |
| 5308 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 5309 |
< |
$as_echo "yes" >&6; } |
| 5308 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 5309 |
> |
printf "%s\n" "yes" >&6; } |
| 5310 |
|
else |
| 5311 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 |
| 5312 |
< |
$as_echo "no, using $LN_S" >&6; } |
| 5311 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 |
| 5312 |
> |
printf "%s\n" "no, using $LN_S" >&6; } |
| 5313 |
|
fi |
| 5314 |
|
|
| 5315 |
|
# find the maximum length of command line arguments |
| 5316 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 |
| 5317 |
< |
$as_echo_n "checking the maximum length of command line arguments... " >&6; } |
| 5318 |
< |
if ${lt_cv_sys_max_cmd_len+:} false; then : |
| 5319 |
< |
$as_echo_n "(cached) " >&6 |
| 5320 |
< |
else |
| 5316 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 |
| 5317 |
> |
printf %s "checking the maximum length of command line arguments... " >&6; } |
| 5318 |
> |
if test ${lt_cv_sys_max_cmd_len+y} |
| 5319 |
> |
then : |
| 5320 |
> |
printf %s "(cached) " >&6 |
| 5321 |
> |
else $as_nop |
| 5322 |
|
i=0 |
| 5323 |
|
teststring=ABCD |
| 5324 |
|
|
| 5360 |
|
lt_cv_sys_max_cmd_len=8192; |
| 5361 |
|
;; |
| 5362 |
|
|
| 5363 |
< |
bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*) |
| 5363 |
> |
bitrig* | darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*) |
| 5364 |
|
# This has been around since 386BSD, at least. Likely further. |
| 5365 |
|
if test -x /sbin/sysctl; then |
| 5366 |
|
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` |
| 5403 |
|
sysv5* | sco5v6* | sysv4.2uw2*) |
| 5404 |
|
kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` |
| 5405 |
|
if test -n "$kargmax"; then |
| 5406 |
< |
lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` |
| 5406 |
> |
lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[ ]//'` |
| 5407 |
|
else |
| 5408 |
|
lt_cv_sys_max_cmd_len=32768 |
| 5409 |
|
fi |
| 5445 |
|
fi |
| 5446 |
|
|
| 5447 |
|
if test -n "$lt_cv_sys_max_cmd_len"; then |
| 5448 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 |
| 5449 |
< |
$as_echo "$lt_cv_sys_max_cmd_len" >&6; } |
| 5448 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 |
| 5449 |
> |
printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; } |
| 5450 |
|
else |
| 5451 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 |
| 5452 |
< |
$as_echo "none" >&6; } |
| 5451 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5 |
| 5452 |
> |
printf "%s\n" "none" >&6; } |
| 5453 |
|
fi |
| 5454 |
|
max_cmd_len=$lt_cv_sys_max_cmd_len |
| 5455 |
|
|
| 5493 |
|
|
| 5494 |
|
|
| 5495 |
|
|
| 5496 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 |
| 5497 |
< |
$as_echo_n "checking how to convert $build file names to $host format... " >&6; } |
| 5498 |
< |
if ${lt_cv_to_host_file_cmd+:} false; then : |
| 5499 |
< |
$as_echo_n "(cached) " >&6 |
| 5500 |
< |
else |
| 5496 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 |
| 5497 |
> |
printf %s "checking how to convert $build file names to $host format... " >&6; } |
| 5498 |
> |
if test ${lt_cv_to_host_file_cmd+y} |
| 5499 |
> |
then : |
| 5500 |
> |
printf %s "(cached) " >&6 |
| 5501 |
> |
else $as_nop |
| 5502 |
|
case $host in |
| 5503 |
|
*-*-mingw* ) |
| 5504 |
|
case $build in |
| 5534 |
|
fi |
| 5535 |
|
|
| 5536 |
|
to_host_file_cmd=$lt_cv_to_host_file_cmd |
| 5537 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 |
| 5538 |
< |
$as_echo "$lt_cv_to_host_file_cmd" >&6; } |
| 5537 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 |
| 5538 |
> |
printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; } |
| 5539 |
|
|
| 5540 |
|
|
| 5541 |
|
|
| 5542 |
|
|
| 5543 |
|
|
| 5544 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 |
| 5545 |
< |
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } |
| 5546 |
< |
if ${lt_cv_to_tool_file_cmd+:} false; then : |
| 5547 |
< |
$as_echo_n "(cached) " >&6 |
| 5548 |
< |
else |
| 5544 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 |
| 5545 |
> |
printf %s "checking how to convert $build file names to toolchain format... " >&6; } |
| 5546 |
> |
if test ${lt_cv_to_tool_file_cmd+y} |
| 5547 |
> |
then : |
| 5548 |
> |
printf %s "(cached) " >&6 |
| 5549 |
> |
else $as_nop |
| 5550 |
|
#assume ordinary cross tools, or native build. |
| 5551 |
|
lt_cv_to_tool_file_cmd=func_convert_file_noop |
| 5552 |
|
case $host in |
| 5562 |
|
fi |
| 5563 |
|
|
| 5564 |
|
to_tool_file_cmd=$lt_cv_to_tool_file_cmd |
| 5565 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 |
| 5566 |
< |
$as_echo "$lt_cv_to_tool_file_cmd" >&6; } |
| 5565 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 |
| 5566 |
> |
printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; } |
| 5567 |
|
|
| 5568 |
|
|
| 5569 |
|
|
| 5570 |
|
|
| 5571 |
|
|
| 5572 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 |
| 5573 |
< |
$as_echo_n "checking for $LD option to reload object files... " >&6; } |
| 5574 |
< |
if ${lt_cv_ld_reload_flag+:} false; then : |
| 5575 |
< |
$as_echo_n "(cached) " >&6 |
| 5576 |
< |
else |
| 5572 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 |
| 5573 |
> |
printf %s "checking for $LD option to reload object files... " >&6; } |
| 5574 |
> |
if test ${lt_cv_ld_reload_flag+y} |
| 5575 |
> |
then : |
| 5576 |
> |
printf %s "(cached) " >&6 |
| 5577 |
> |
else $as_nop |
| 5578 |
|
lt_cv_ld_reload_flag='-r' |
| 5579 |
|
fi |
| 5580 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 |
| 5581 |
< |
$as_echo "$lt_cv_ld_reload_flag" >&6; } |
| 5580 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 |
| 5581 |
> |
printf "%s\n" "$lt_cv_ld_reload_flag" >&6; } |
| 5582 |
|
reload_flag=$lt_cv_ld_reload_flag |
| 5583 |
|
case $reload_flag in |
| 5584 |
|
"" | " "*) ;; |
| 5609 |
|
|
| 5610 |
|
|
| 5611 |
|
if test -n "$ac_tool_prefix"; then |
| 5612 |
+ |
# Extract the first word of "${ac_tool_prefix}file", so it can be a program name with args. |
| 5613 |
+ |
set dummy ${ac_tool_prefix}file; ac_word=$2 |
| 5614 |
+ |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 5615 |
+ |
printf %s "checking for $ac_word... " >&6; } |
| 5616 |
+ |
if test ${ac_cv_prog_FILECMD+y} |
| 5617 |
+ |
then : |
| 5618 |
+ |
printf %s "(cached) " >&6 |
| 5619 |
+ |
else $as_nop |
| 5620 |
+ |
if test -n "$FILECMD"; then |
| 5621 |
+ |
ac_cv_prog_FILECMD="$FILECMD" # Let the user override the test. |
| 5622 |
+ |
else |
| 5623 |
+ |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 5624 |
+ |
for as_dir in $PATH |
| 5625 |
+ |
do |
| 5626 |
+ |
IFS=$as_save_IFS |
| 5627 |
+ |
case $as_dir in #((( |
| 5628 |
+ |
'') as_dir=./ ;; |
| 5629 |
+ |
*/) ;; |
| 5630 |
+ |
*) as_dir=$as_dir/ ;; |
| 5631 |
+ |
esac |
| 5632 |
+ |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 5633 |
+ |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 5634 |
+ |
ac_cv_prog_FILECMD="${ac_tool_prefix}file" |
| 5635 |
+ |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 5636 |
+ |
break 2 |
| 5637 |
+ |
fi |
| 5638 |
+ |
done |
| 5639 |
+ |
done |
| 5640 |
+ |
IFS=$as_save_IFS |
| 5641 |
+ |
|
| 5642 |
+ |
fi |
| 5643 |
+ |
fi |
| 5644 |
+ |
FILECMD=$ac_cv_prog_FILECMD |
| 5645 |
+ |
if test -n "$FILECMD"; then |
| 5646 |
+ |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FILECMD" >&5 |
| 5647 |
+ |
printf "%s\n" "$FILECMD" >&6; } |
| 5648 |
+ |
else |
| 5649 |
+ |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 5650 |
+ |
printf "%s\n" "no" >&6; } |
| 5651 |
+ |
fi |
| 5652 |
+ |
|
| 5653 |
+ |
|
| 5654 |
+ |
fi |
| 5655 |
+ |
if test -z "$ac_cv_prog_FILECMD"; then |
| 5656 |
+ |
ac_ct_FILECMD=$FILECMD |
| 5657 |
+ |
# Extract the first word of "file", so it can be a program name with args. |
| 5658 |
+ |
set dummy file; ac_word=$2 |
| 5659 |
+ |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 5660 |
+ |
printf %s "checking for $ac_word... " >&6; } |
| 5661 |
+ |
if test ${ac_cv_prog_ac_ct_FILECMD+y} |
| 5662 |
+ |
then : |
| 5663 |
+ |
printf %s "(cached) " >&6 |
| 5664 |
+ |
else $as_nop |
| 5665 |
+ |
if test -n "$ac_ct_FILECMD"; then |
| 5666 |
+ |
ac_cv_prog_ac_ct_FILECMD="$ac_ct_FILECMD" # Let the user override the test. |
| 5667 |
+ |
else |
| 5668 |
+ |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 5669 |
+ |
for as_dir in $PATH |
| 5670 |
+ |
do |
| 5671 |
+ |
IFS=$as_save_IFS |
| 5672 |
+ |
case $as_dir in #((( |
| 5673 |
+ |
'') as_dir=./ ;; |
| 5674 |
+ |
*/) ;; |
| 5675 |
+ |
*) as_dir=$as_dir/ ;; |
| 5676 |
+ |
esac |
| 5677 |
+ |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 5678 |
+ |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 5679 |
+ |
ac_cv_prog_ac_ct_FILECMD="file" |
| 5680 |
+ |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 5681 |
+ |
break 2 |
| 5682 |
+ |
fi |
| 5683 |
+ |
done |
| 5684 |
+ |
done |
| 5685 |
+ |
IFS=$as_save_IFS |
| 5686 |
+ |
|
| 5687 |
+ |
fi |
| 5688 |
+ |
fi |
| 5689 |
+ |
ac_ct_FILECMD=$ac_cv_prog_ac_ct_FILECMD |
| 5690 |
+ |
if test -n "$ac_ct_FILECMD"; then |
| 5691 |
+ |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FILECMD" >&5 |
| 5692 |
+ |
printf "%s\n" "$ac_ct_FILECMD" >&6; } |
| 5693 |
+ |
else |
| 5694 |
+ |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 5695 |
+ |
printf "%s\n" "no" >&6; } |
| 5696 |
+ |
fi |
| 5697 |
+ |
|
| 5698 |
+ |
if test "x$ac_ct_FILECMD" = x; then |
| 5699 |
+ |
FILECMD=":" |
| 5700 |
+ |
else |
| 5701 |
+ |
case $cross_compiling:$ac_tool_warned in |
| 5702 |
+ |
yes:) |
| 5703 |
+ |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 5704 |
+ |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 5705 |
+ |
ac_tool_warned=yes ;; |
| 5706 |
+ |
esac |
| 5707 |
+ |
FILECMD=$ac_ct_FILECMD |
| 5708 |
+ |
fi |
| 5709 |
+ |
else |
| 5710 |
+ |
FILECMD="$ac_cv_prog_FILECMD" |
| 5711 |
+ |
fi |
| 5712 |
+ |
|
| 5713 |
+ |
|
| 5714 |
+ |
|
| 5715 |
+ |
|
| 5716 |
+ |
|
| 5717 |
+ |
|
| 5718 |
+ |
|
| 5719 |
+ |
if test -n "$ac_tool_prefix"; then |
| 5720 |
|
# Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. |
| 5721 |
|
set dummy ${ac_tool_prefix}objdump; ac_word=$2 |
| 5722 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 5723 |
< |
$as_echo_n "checking for $ac_word... " >&6; } |
| 5724 |
< |
if ${ac_cv_prog_OBJDUMP+:} false; then : |
| 5725 |
< |
$as_echo_n "(cached) " >&6 |
| 5726 |
< |
else |
| 5722 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 5723 |
> |
printf %s "checking for $ac_word... " >&6; } |
| 5724 |
> |
if test ${ac_cv_prog_OBJDUMP+y} |
| 5725 |
> |
then : |
| 5726 |
> |
printf %s "(cached) " >&6 |
| 5727 |
> |
else $as_nop |
| 5728 |
|
if test -n "$OBJDUMP"; then |
| 5729 |
|
ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. |
| 5730 |
|
else |
| 5732 |
|
for as_dir in $PATH |
| 5733 |
|
do |
| 5734 |
|
IFS=$as_save_IFS |
| 5735 |
< |
test -z "$as_dir" && as_dir=. |
| 5735 |
> |
case $as_dir in #((( |
| 5736 |
> |
'') as_dir=./ ;; |
| 5737 |
> |
*/) ;; |
| 5738 |
> |
*) as_dir=$as_dir/ ;; |
| 5739 |
> |
esac |
| 5740 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 5741 |
< |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 5741 |
> |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 5742 |
|
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" |
| 5743 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 5743 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 5744 |
|
break 2 |
| 5745 |
|
fi |
| 5746 |
|
done |
| 5751 |
|
fi |
| 5752 |
|
OBJDUMP=$ac_cv_prog_OBJDUMP |
| 5753 |
|
if test -n "$OBJDUMP"; then |
| 5754 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 |
| 5755 |
< |
$as_echo "$OBJDUMP" >&6; } |
| 5754 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 |
| 5755 |
> |
printf "%s\n" "$OBJDUMP" >&6; } |
| 5756 |
|
else |
| 5757 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 5758 |
< |
$as_echo "no" >&6; } |
| 5757 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 5758 |
> |
printf "%s\n" "no" >&6; } |
| 5759 |
|
fi |
| 5760 |
|
|
| 5761 |
|
|
| 5764 |
|
ac_ct_OBJDUMP=$OBJDUMP |
| 5765 |
|
# Extract the first word of "objdump", so it can be a program name with args. |
| 5766 |
|
set dummy objdump; ac_word=$2 |
| 5767 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 5768 |
< |
$as_echo_n "checking for $ac_word... " >&6; } |
| 5769 |
< |
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : |
| 5770 |
< |
$as_echo_n "(cached) " >&6 |
| 5771 |
< |
else |
| 5767 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 5768 |
> |
printf %s "checking for $ac_word... " >&6; } |
| 5769 |
> |
if test ${ac_cv_prog_ac_ct_OBJDUMP+y} |
| 5770 |
> |
then : |
| 5771 |
> |
printf %s "(cached) " >&6 |
| 5772 |
> |
else $as_nop |
| 5773 |
|
if test -n "$ac_ct_OBJDUMP"; then |
| 5774 |
|
ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. |
| 5775 |
|
else |
| 5777 |
|
for as_dir in $PATH |
| 5778 |
|
do |
| 5779 |
|
IFS=$as_save_IFS |
| 5780 |
< |
test -z "$as_dir" && as_dir=. |
| 5780 |
> |
case $as_dir in #((( |
| 5781 |
> |
'') as_dir=./ ;; |
| 5782 |
> |
*/) ;; |
| 5783 |
> |
*) as_dir=$as_dir/ ;; |
| 5784 |
> |
esac |
| 5785 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 5786 |
< |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 5786 |
> |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 5787 |
|
ac_cv_prog_ac_ct_OBJDUMP="objdump" |
| 5788 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 5788 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 5789 |
|
break 2 |
| 5790 |
|
fi |
| 5791 |
|
done |
| 5796 |
|
fi |
| 5797 |
|
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP |
| 5798 |
|
if test -n "$ac_ct_OBJDUMP"; then |
| 5799 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 |
| 5800 |
< |
$as_echo "$ac_ct_OBJDUMP" >&6; } |
| 5799 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 |
| 5800 |
> |
printf "%s\n" "$ac_ct_OBJDUMP" >&6; } |
| 5801 |
|
else |
| 5802 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 5803 |
< |
$as_echo "no" >&6; } |
| 5802 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 5803 |
> |
printf "%s\n" "no" >&6; } |
| 5804 |
|
fi |
| 5805 |
|
|
| 5806 |
|
if test "x$ac_ct_OBJDUMP" = x; then |
| 5808 |
|
else |
| 5809 |
|
case $cross_compiling:$ac_tool_warned in |
| 5810 |
|
yes:) |
| 5811 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 5812 |
< |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 5811 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 5812 |
> |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 5813 |
|
ac_tool_warned=yes ;; |
| 5814 |
|
esac |
| 5815 |
|
OBJDUMP=$ac_ct_OBJDUMP |
| 5828 |
|
|
| 5829 |
|
|
| 5830 |
|
|
| 5831 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 |
| 5832 |
< |
$as_echo_n "checking how to recognize dependent libraries... " >&6; } |
| 5833 |
< |
if ${lt_cv_deplibs_check_method+:} false; then : |
| 5834 |
< |
$as_echo_n "(cached) " >&6 |
| 5835 |
< |
else |
| 5831 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 |
| 5832 |
> |
printf %s "checking how to recognize dependent libraries... " >&6; } |
| 5833 |
> |
if test ${lt_cv_deplibs_check_method+y} |
| 5834 |
> |
then : |
| 5835 |
> |
printf %s "(cached) " >&6 |
| 5836 |
> |
else $as_nop |
| 5837 |
|
lt_cv_file_magic_cmd='$MAGIC_CMD' |
| 5838 |
|
lt_cv_file_magic_test_file= |
| 5839 |
|
lt_cv_deplibs_check_method='unknown' |
| 5859 |
|
|
| 5860 |
|
bsdi[45]*) |
| 5861 |
|
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' |
| 5862 |
< |
lt_cv_file_magic_cmd='/usr/bin/file -L' |
| 5862 |
> |
lt_cv_file_magic_cmd='$FILECMD -L' |
| 5863 |
|
lt_cv_file_magic_test_file=/shlib/libc.so |
| 5864 |
|
;; |
| 5865 |
|
|
| 5893 |
|
lt_cv_deplibs_check_method=pass_all |
| 5894 |
|
;; |
| 5895 |
|
|
| 5896 |
< |
freebsd* | dragonfly*) |
| 5896 |
> |
freebsd* | dragonfly* | midnightbsd*) |
| 5897 |
|
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then |
| 5898 |
|
case $host_cpu in |
| 5899 |
|
i*86 ) |
| 5900 |
|
# Not sure whether the presence of OpenBSD here was a mistake. |
| 5901 |
|
# Let's accept both of them until this is cleared up. |
| 5902 |
|
lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' |
| 5903 |
< |
lt_cv_file_magic_cmd=/usr/bin/file |
| 5903 |
> |
lt_cv_file_magic_cmd=$FILECMD |
| 5904 |
|
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` |
| 5905 |
|
;; |
| 5906 |
|
esac |
| 5914 |
|
;; |
| 5915 |
|
|
| 5916 |
|
hpux10.20* | hpux11*) |
| 5917 |
< |
lt_cv_file_magic_cmd=/usr/bin/file |
| 5917 |
> |
lt_cv_file_magic_cmd=$FILECMD |
| 5918 |
|
case $host_cpu in |
| 5919 |
|
ia64*) |
| 5920 |
|
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' |
| 5951 |
|
lt_cv_deplibs_check_method=pass_all |
| 5952 |
|
;; |
| 5953 |
|
|
| 5954 |
< |
netbsd* | netbsdelf*-gnu) |
| 5954 |
> |
netbsd*) |
| 5955 |
|
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then |
| 5956 |
|
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' |
| 5957 |
|
else |
| 5961 |
|
|
| 5962 |
|
newos6*) |
| 5963 |
|
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' |
| 5964 |
< |
lt_cv_file_magic_cmd=/usr/bin/file |
| 5964 |
> |
lt_cv_file_magic_cmd=$FILECMD |
| 5965 |
|
lt_cv_file_magic_test_file=/usr/lib/libnls.so |
| 5966 |
|
;; |
| 5967 |
|
|
| 6029 |
|
esac |
| 6030 |
|
|
| 6031 |
|
fi |
| 6032 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 |
| 6033 |
< |
$as_echo "$lt_cv_deplibs_check_method" >&6; } |
| 6032 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 |
| 6033 |
> |
printf "%s\n" "$lt_cv_deplibs_check_method" >&6; } |
| 6034 |
|
|
| 6035 |
|
file_magic_glob= |
| 6036 |
|
want_nocaseglob=no |
| 6074 |
|
if test -n "$ac_tool_prefix"; then |
| 6075 |
|
# Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. |
| 6076 |
|
set dummy ${ac_tool_prefix}dlltool; ac_word=$2 |
| 6077 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 6078 |
< |
$as_echo_n "checking for $ac_word... " >&6; } |
| 6079 |
< |
if ${ac_cv_prog_DLLTOOL+:} false; then : |
| 6080 |
< |
$as_echo_n "(cached) " >&6 |
| 6081 |
< |
else |
| 6077 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 6078 |
> |
printf %s "checking for $ac_word... " >&6; } |
| 6079 |
> |
if test ${ac_cv_prog_DLLTOOL+y} |
| 6080 |
> |
then : |
| 6081 |
> |
printf %s "(cached) " >&6 |
| 6082 |
> |
else $as_nop |
| 6083 |
|
if test -n "$DLLTOOL"; then |
| 6084 |
|
ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. |
| 6085 |
|
else |
| 6087 |
|
for as_dir in $PATH |
| 6088 |
|
do |
| 6089 |
|
IFS=$as_save_IFS |
| 6090 |
< |
test -z "$as_dir" && as_dir=. |
| 6090 |
> |
case $as_dir in #((( |
| 6091 |
> |
'') as_dir=./ ;; |
| 6092 |
> |
*/) ;; |
| 6093 |
> |
*) as_dir=$as_dir/ ;; |
| 6094 |
> |
esac |
| 6095 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 6096 |
< |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 6096 |
> |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 6097 |
|
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" |
| 6098 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 6098 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 6099 |
|
break 2 |
| 6100 |
|
fi |
| 6101 |
|
done |
| 6106 |
|
fi |
| 6107 |
|
DLLTOOL=$ac_cv_prog_DLLTOOL |
| 6108 |
|
if test -n "$DLLTOOL"; then |
| 6109 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 |
| 6110 |
< |
$as_echo "$DLLTOOL" >&6; } |
| 6109 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 |
| 6110 |
> |
printf "%s\n" "$DLLTOOL" >&6; } |
| 6111 |
|
else |
| 6112 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 6113 |
< |
$as_echo "no" >&6; } |
| 6112 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 6113 |
> |
printf "%s\n" "no" >&6; } |
| 6114 |
|
fi |
| 6115 |
|
|
| 6116 |
|
|
| 6119 |
|
ac_ct_DLLTOOL=$DLLTOOL |
| 6120 |
|
# Extract the first word of "dlltool", so it can be a program name with args. |
| 6121 |
|
set dummy dlltool; ac_word=$2 |
| 6122 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 6123 |
< |
$as_echo_n "checking for $ac_word... " >&6; } |
| 6124 |
< |
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : |
| 6125 |
< |
$as_echo_n "(cached) " >&6 |
| 6126 |
< |
else |
| 6122 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 6123 |
> |
printf %s "checking for $ac_word... " >&6; } |
| 6124 |
> |
if test ${ac_cv_prog_ac_ct_DLLTOOL+y} |
| 6125 |
> |
then : |
| 6126 |
> |
printf %s "(cached) " >&6 |
| 6127 |
> |
else $as_nop |
| 6128 |
|
if test -n "$ac_ct_DLLTOOL"; then |
| 6129 |
|
ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. |
| 6130 |
|
else |
| 6132 |
|
for as_dir in $PATH |
| 6133 |
|
do |
| 6134 |
|
IFS=$as_save_IFS |
| 6135 |
< |
test -z "$as_dir" && as_dir=. |
| 6135 |
> |
case $as_dir in #((( |
| 6136 |
> |
'') as_dir=./ ;; |
| 6137 |
> |
*/) ;; |
| 6138 |
> |
*) as_dir=$as_dir/ ;; |
| 6139 |
> |
esac |
| 6140 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 6141 |
< |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 6141 |
> |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 6142 |
|
ac_cv_prog_ac_ct_DLLTOOL="dlltool" |
| 6143 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 6143 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 6144 |
|
break 2 |
| 6145 |
|
fi |
| 6146 |
|
done |
| 6151 |
|
fi |
| 6152 |
|
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL |
| 6153 |
|
if test -n "$ac_ct_DLLTOOL"; then |
| 6154 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 |
| 6155 |
< |
$as_echo "$ac_ct_DLLTOOL" >&6; } |
| 6154 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 |
| 6155 |
> |
printf "%s\n" "$ac_ct_DLLTOOL" >&6; } |
| 6156 |
|
else |
| 6157 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 6158 |
< |
$as_echo "no" >&6; } |
| 6157 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 6158 |
> |
printf "%s\n" "no" >&6; } |
| 6159 |
|
fi |
| 6160 |
|
|
| 6161 |
|
if test "x$ac_ct_DLLTOOL" = x; then |
| 6163 |
|
else |
| 6164 |
|
case $cross_compiling:$ac_tool_warned in |
| 6165 |
|
yes:) |
| 6166 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 6167 |
< |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 6166 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 6167 |
> |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 6168 |
|
ac_tool_warned=yes ;; |
| 6169 |
|
esac |
| 6170 |
|
DLLTOOL=$ac_ct_DLLTOOL |
| 6184 |
|
|
| 6185 |
|
|
| 6186 |
|
|
| 6187 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 |
| 6188 |
< |
$as_echo_n "checking how to associate runtime and link libraries... " >&6; } |
| 6189 |
< |
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : |
| 6190 |
< |
$as_echo_n "(cached) " >&6 |
| 6191 |
< |
else |
| 6187 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 |
| 6188 |
> |
printf %s "checking how to associate runtime and link libraries... " >&6; } |
| 6189 |
> |
if test ${lt_cv_sharedlib_from_linklib_cmd+y} |
| 6190 |
> |
then : |
| 6191 |
> |
printf %s "(cached) " >&6 |
| 6192 |
> |
else $as_nop |
| 6193 |
|
lt_cv_sharedlib_from_linklib_cmd='unknown' |
| 6194 |
|
|
| 6195 |
|
case $host_os in |
| 6212 |
|
esac |
| 6213 |
|
|
| 6214 |
|
fi |
| 6215 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 |
| 6216 |
< |
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } |
| 6215 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 |
| 6216 |
> |
printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; } |
| 6217 |
|
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd |
| 6218 |
|
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO |
| 6219 |
|
|
| 6229 |
|
do |
| 6230 |
|
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
| 6231 |
|
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| 6232 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 6233 |
< |
$as_echo_n "checking for $ac_word... " >&6; } |
| 6234 |
< |
if ${ac_cv_prog_AR+:} false; then : |
| 6235 |
< |
$as_echo_n "(cached) " >&6 |
| 6236 |
< |
else |
| 6232 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 6233 |
> |
printf %s "checking for $ac_word... " >&6; } |
| 6234 |
> |
if test ${ac_cv_prog_AR+y} |
| 6235 |
> |
then : |
| 6236 |
> |
printf %s "(cached) " >&6 |
| 6237 |
> |
else $as_nop |
| 6238 |
|
if test -n "$AR"; then |
| 6239 |
|
ac_cv_prog_AR="$AR" # Let the user override the test. |
| 6240 |
|
else |
| 6242 |
|
for as_dir in $PATH |
| 6243 |
|
do |
| 6244 |
|
IFS=$as_save_IFS |
| 6245 |
< |
test -z "$as_dir" && as_dir=. |
| 6245 |
> |
case $as_dir in #((( |
| 6246 |
> |
'') as_dir=./ ;; |
| 6247 |
> |
*/) ;; |
| 6248 |
> |
*) as_dir=$as_dir/ ;; |
| 6249 |
> |
esac |
| 6250 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 6251 |
< |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 6251 |
> |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 6252 |
|
ac_cv_prog_AR="$ac_tool_prefix$ac_prog" |
| 6253 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 6253 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 6254 |
|
break 2 |
| 6255 |
|
fi |
| 6256 |
|
done |
| 6261 |
|
fi |
| 6262 |
|
AR=$ac_cv_prog_AR |
| 6263 |
|
if test -n "$AR"; then |
| 6264 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 |
| 6265 |
< |
$as_echo "$AR" >&6; } |
| 6264 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 |
| 6265 |
> |
printf "%s\n" "$AR" >&6; } |
| 6266 |
|
else |
| 6267 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 6268 |
< |
$as_echo "no" >&6; } |
| 6267 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 6268 |
> |
printf "%s\n" "no" >&6; } |
| 6269 |
|
fi |
| 6270 |
|
|
| 6271 |
|
|
| 6278 |
|
do |
| 6279 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
| 6280 |
|
set dummy $ac_prog; ac_word=$2 |
| 6281 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 6282 |
< |
$as_echo_n "checking for $ac_word... " >&6; } |
| 6283 |
< |
if ${ac_cv_prog_ac_ct_AR+:} false; then : |
| 6284 |
< |
$as_echo_n "(cached) " >&6 |
| 6285 |
< |
else |
| 6281 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 6282 |
> |
printf %s "checking for $ac_word... " >&6; } |
| 6283 |
> |
if test ${ac_cv_prog_ac_ct_AR+y} |
| 6284 |
> |
then : |
| 6285 |
> |
printf %s "(cached) " >&6 |
| 6286 |
> |
else $as_nop |
| 6287 |
|
if test -n "$ac_ct_AR"; then |
| 6288 |
|
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. |
| 6289 |
|
else |
| 6291 |
|
for as_dir in $PATH |
| 6292 |
|
do |
| 6293 |
|
IFS=$as_save_IFS |
| 6294 |
< |
test -z "$as_dir" && as_dir=. |
| 6294 |
> |
case $as_dir in #((( |
| 6295 |
> |
'') as_dir=./ ;; |
| 6296 |
> |
*/) ;; |
| 6297 |
> |
*) as_dir=$as_dir/ ;; |
| 6298 |
> |
esac |
| 6299 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 6300 |
< |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 6300 |
> |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 6301 |
|
ac_cv_prog_ac_ct_AR="$ac_prog" |
| 6302 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 6302 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 6303 |
|
break 2 |
| 6304 |
|
fi |
| 6305 |
|
done |
| 6310 |
|
fi |
| 6311 |
|
ac_ct_AR=$ac_cv_prog_ac_ct_AR |
| 6312 |
|
if test -n "$ac_ct_AR"; then |
| 6313 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 |
| 6314 |
< |
$as_echo "$ac_ct_AR" >&6; } |
| 6313 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 |
| 6314 |
> |
printf "%s\n" "$ac_ct_AR" >&6; } |
| 6315 |
|
else |
| 6316 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 6317 |
< |
$as_echo "no" >&6; } |
| 6316 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 6317 |
> |
printf "%s\n" "no" >&6; } |
| 6318 |
|
fi |
| 6319 |
|
|
| 6320 |
|
|
| 6326 |
|
else |
| 6327 |
|
case $cross_compiling:$ac_tool_warned in |
| 6328 |
|
yes:) |
| 6329 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 6330 |
< |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 6329 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 6330 |
> |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 6331 |
|
ac_tool_warned=yes ;; |
| 6332 |
|
esac |
| 6333 |
|
AR=$ac_ct_AR |
| 6335 |
|
fi |
| 6336 |
|
|
| 6337 |
|
: ${AR=ar} |
| 5694 |
– |
: ${AR_FLAGS=cru} |
| 6338 |
|
|
| 6339 |
|
|
| 6340 |
|
|
| 6341 |
|
|
| 6342 |
|
|
| 6343 |
|
|
| 6344 |
+ |
# Use ARFLAGS variable as AR's operation code to sync the variable naming with |
| 6345 |
+ |
# Automake. If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have |
| 6346 |
+ |
# higher priority because thats what people were doing historically (setting |
| 6347 |
+ |
# ARFLAGS for automake and AR_FLAGS for libtool). FIXME: Make the AR_FLAGS |
| 6348 |
+ |
# variable obsoleted/removed. |
| 6349 |
|
|
| 6350 |
+ |
test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr} |
| 6351 |
+ |
lt_ar_flags=$AR_FLAGS |
| 6352 |
|
|
| 6353 |
|
|
| 6354 |
|
|
| 6355 |
|
|
| 6356 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 |
| 6357 |
< |
$as_echo_n "checking for archiver @FILE support... " >&6; } |
| 6358 |
< |
if ${lt_cv_ar_at_file+:} false; then : |
| 6359 |
< |
$as_echo_n "(cached) " >&6 |
| 6360 |
< |
else |
| 6356 |
> |
|
| 6357 |
> |
|
| 6358 |
> |
# Make AR_FLAGS overridable by 'make ARFLAGS='. Don't try to run-time override |
| 6359 |
> |
# by AR_FLAGS because that was never working and AR_FLAGS is about to die. |
| 6360 |
> |
|
| 6361 |
> |
|
| 6362 |
> |
|
| 6363 |
> |
|
| 6364 |
> |
|
| 6365 |
> |
|
| 6366 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 |
| 6367 |
> |
printf %s "checking for archiver @FILE support... " >&6; } |
| 6368 |
> |
if test ${lt_cv_ar_at_file+y} |
| 6369 |
> |
then : |
| 6370 |
> |
printf %s "(cached) " >&6 |
| 6371 |
> |
else $as_nop |
| 6372 |
|
lt_cv_ar_at_file=no |
| 6373 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 6374 |
|
/* end confdefs.h. */ |
| 6375 |
|
|
| 6376 |
|
int |
| 6377 |
< |
main () |
| 6377 |
> |
main (void) |
| 6378 |
|
{ |
| 6379 |
|
|
| 6380 |
|
; |
| 6381 |
|
return 0; |
| 6382 |
|
} |
| 6383 |
|
_ACEOF |
| 6384 |
< |
if ac_fn_c_try_compile "$LINENO"; then : |
| 6384 |
> |
if ac_fn_c_try_compile "$LINENO" |
| 6385 |
> |
then : |
| 6386 |
|
echo conftest.$ac_objext > conftest.lst |
| 6387 |
|
lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' |
| 6388 |
|
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 |
| 6389 |
|
(eval $lt_ar_try) 2>&5 |
| 6390 |
|
ac_status=$? |
| 6391 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 6391 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 6392 |
|
test $ac_status = 0; } |
| 6393 |
|
if test 0 -eq "$ac_status"; then |
| 6394 |
|
# Ensure the archiver fails upon bogus file names. |
| 6396 |
|
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 |
| 6397 |
|
(eval $lt_ar_try) 2>&5 |
| 6398 |
|
ac_status=$? |
| 6399 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 6399 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 6400 |
|
test $ac_status = 0; } |
| 6401 |
|
if test 0 -ne "$ac_status"; then |
| 6402 |
|
lt_cv_ar_at_file=@ |
| 6405 |
|
rm -f conftest.* libconftest.a |
| 6406 |
|
|
| 6407 |
|
fi |
| 6408 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6408 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 6409 |
|
|
| 6410 |
|
fi |
| 6411 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 |
| 6412 |
< |
$as_echo "$lt_cv_ar_at_file" >&6; } |
| 6411 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 |
| 6412 |
> |
printf "%s\n" "$lt_cv_ar_at_file" >&6; } |
| 6413 |
|
|
| 6414 |
|
if test no = "$lt_cv_ar_at_file"; then |
| 6415 |
|
archiver_list_spec= |
| 6426 |
|
if test -n "$ac_tool_prefix"; then |
| 6427 |
|
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
| 6428 |
|
set dummy ${ac_tool_prefix}strip; ac_word=$2 |
| 6429 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 6430 |
< |
$as_echo_n "checking for $ac_word... " >&6; } |
| 6431 |
< |
if ${ac_cv_prog_STRIP+:} false; then : |
| 6432 |
< |
$as_echo_n "(cached) " >&6 |
| 6433 |
< |
else |
| 6429 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 6430 |
> |
printf %s "checking for $ac_word... " >&6; } |
| 6431 |
> |
if test ${ac_cv_prog_STRIP+y} |
| 6432 |
> |
then : |
| 6433 |
> |
printf %s "(cached) " >&6 |
| 6434 |
> |
else $as_nop |
| 6435 |
|
if test -n "$STRIP"; then |
| 6436 |
|
ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
| 6437 |
|
else |
| 6439 |
|
for as_dir in $PATH |
| 6440 |
|
do |
| 6441 |
|
IFS=$as_save_IFS |
| 6442 |
< |
test -z "$as_dir" && as_dir=. |
| 6442 |
> |
case $as_dir in #((( |
| 6443 |
> |
'') as_dir=./ ;; |
| 6444 |
> |
*/) ;; |
| 6445 |
> |
*) as_dir=$as_dir/ ;; |
| 6446 |
> |
esac |
| 6447 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 6448 |
< |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 6448 |
> |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 6449 |
|
ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
| 6450 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 6450 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 6451 |
|
break 2 |
| 6452 |
|
fi |
| 6453 |
|
done |
| 6458 |
|
fi |
| 6459 |
|
STRIP=$ac_cv_prog_STRIP |
| 6460 |
|
if test -n "$STRIP"; then |
| 6461 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 |
| 6462 |
< |
$as_echo "$STRIP" >&6; } |
| 6461 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 |
| 6462 |
> |
printf "%s\n" "$STRIP" >&6; } |
| 6463 |
|
else |
| 6464 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 6465 |
< |
$as_echo "no" >&6; } |
| 6464 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 6465 |
> |
printf "%s\n" "no" >&6; } |
| 6466 |
|
fi |
| 6467 |
|
|
| 6468 |
|
|
| 6471 |
|
ac_ct_STRIP=$STRIP |
| 6472 |
|
# Extract the first word of "strip", so it can be a program name with args. |
| 6473 |
|
set dummy strip; ac_word=$2 |
| 6474 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 6475 |
< |
$as_echo_n "checking for $ac_word... " >&6; } |
| 6476 |
< |
if ${ac_cv_prog_ac_ct_STRIP+:} false; then : |
| 6477 |
< |
$as_echo_n "(cached) " >&6 |
| 6478 |
< |
else |
| 6474 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 6475 |
> |
printf %s "checking for $ac_word... " >&6; } |
| 6476 |
> |
if test ${ac_cv_prog_ac_ct_STRIP+y} |
| 6477 |
> |
then : |
| 6478 |
> |
printf %s "(cached) " >&6 |
| 6479 |
> |
else $as_nop |
| 6480 |
|
if test -n "$ac_ct_STRIP"; then |
| 6481 |
|
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
| 6482 |
|
else |
| 6484 |
|
for as_dir in $PATH |
| 6485 |
|
do |
| 6486 |
|
IFS=$as_save_IFS |
| 6487 |
< |
test -z "$as_dir" && as_dir=. |
| 6487 |
> |
case $as_dir in #((( |
| 6488 |
> |
'') as_dir=./ ;; |
| 6489 |
> |
*/) ;; |
| 6490 |
> |
*) as_dir=$as_dir/ ;; |
| 6491 |
> |
esac |
| 6492 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 6493 |
< |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 6493 |
> |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 6494 |
|
ac_cv_prog_ac_ct_STRIP="strip" |
| 6495 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 6495 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 6496 |
|
break 2 |
| 6497 |
|
fi |
| 6498 |
|
done |
| 6503 |
|
fi |
| 6504 |
|
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
| 6505 |
|
if test -n "$ac_ct_STRIP"; then |
| 6506 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 |
| 6507 |
< |
$as_echo "$ac_ct_STRIP" >&6; } |
| 6506 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 |
| 6507 |
> |
printf "%s\n" "$ac_ct_STRIP" >&6; } |
| 6508 |
|
else |
| 6509 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 6510 |
< |
$as_echo "no" >&6; } |
| 6509 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 6510 |
> |
printf "%s\n" "no" >&6; } |
| 6511 |
|
fi |
| 6512 |
|
|
| 6513 |
|
if test "x$ac_ct_STRIP" = x; then |
| 6515 |
|
else |
| 6516 |
|
case $cross_compiling:$ac_tool_warned in |
| 6517 |
|
yes:) |
| 6518 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 6519 |
< |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 6518 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 6519 |
> |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 6520 |
|
ac_tool_warned=yes ;; |
| 6521 |
|
esac |
| 6522 |
|
STRIP=$ac_ct_STRIP |
| 6535 |
|
if test -n "$ac_tool_prefix"; then |
| 6536 |
|
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
| 6537 |
|
set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
| 6538 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 6539 |
< |
$as_echo_n "checking for $ac_word... " >&6; } |
| 6540 |
< |
if ${ac_cv_prog_RANLIB+:} false; then : |
| 6541 |
< |
$as_echo_n "(cached) " >&6 |
| 6542 |
< |
else |
| 6538 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 6539 |
> |
printf %s "checking for $ac_word... " >&6; } |
| 6540 |
> |
if test ${ac_cv_prog_RANLIB+y} |
| 6541 |
> |
then : |
| 6542 |
> |
printf %s "(cached) " >&6 |
| 6543 |
> |
else $as_nop |
| 6544 |
|
if test -n "$RANLIB"; then |
| 6545 |
|
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
| 6546 |
|
else |
| 6548 |
|
for as_dir in $PATH |
| 6549 |
|
do |
| 6550 |
|
IFS=$as_save_IFS |
| 6551 |
< |
test -z "$as_dir" && as_dir=. |
| 6551 |
> |
case $as_dir in #((( |
| 6552 |
> |
'') as_dir=./ ;; |
| 6553 |
> |
*/) ;; |
| 6554 |
> |
*) as_dir=$as_dir/ ;; |
| 6555 |
> |
esac |
| 6556 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 6557 |
< |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 6557 |
> |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 6558 |
|
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
| 6559 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 6559 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 6560 |
|
break 2 |
| 6561 |
|
fi |
| 6562 |
|
done |
| 6567 |
|
fi |
| 6568 |
|
RANLIB=$ac_cv_prog_RANLIB |
| 6569 |
|
if test -n "$RANLIB"; then |
| 6570 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 |
| 6571 |
< |
$as_echo "$RANLIB" >&6; } |
| 6570 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 |
| 6571 |
> |
printf "%s\n" "$RANLIB" >&6; } |
| 6572 |
|
else |
| 6573 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 6574 |
< |
$as_echo "no" >&6; } |
| 6573 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 6574 |
> |
printf "%s\n" "no" >&6; } |
| 6575 |
|
fi |
| 6576 |
|
|
| 6577 |
|
|
| 6580 |
|
ac_ct_RANLIB=$RANLIB |
| 6581 |
|
# Extract the first word of "ranlib", so it can be a program name with args. |
| 6582 |
|
set dummy ranlib; ac_word=$2 |
| 6583 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 6584 |
< |
$as_echo_n "checking for $ac_word... " >&6; } |
| 6585 |
< |
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : |
| 6586 |
< |
$as_echo_n "(cached) " >&6 |
| 6587 |
< |
else |
| 6583 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 6584 |
> |
printf %s "checking for $ac_word... " >&6; } |
| 6585 |
> |
if test ${ac_cv_prog_ac_ct_RANLIB+y} |
| 6586 |
> |
then : |
| 6587 |
> |
printf %s "(cached) " >&6 |
| 6588 |
> |
else $as_nop |
| 6589 |
|
if test -n "$ac_ct_RANLIB"; then |
| 6590 |
|
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. |
| 6591 |
|
else |
| 6593 |
|
for as_dir in $PATH |
| 6594 |
|
do |
| 6595 |
|
IFS=$as_save_IFS |
| 6596 |
< |
test -z "$as_dir" && as_dir=. |
| 6596 |
> |
case $as_dir in #((( |
| 6597 |
> |
'') as_dir=./ ;; |
| 6598 |
> |
*/) ;; |
| 6599 |
> |
*) as_dir=$as_dir/ ;; |
| 6600 |
> |
esac |
| 6601 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 6602 |
< |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 6602 |
> |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 6603 |
|
ac_cv_prog_ac_ct_RANLIB="ranlib" |
| 6604 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 6604 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 6605 |
|
break 2 |
| 6606 |
|
fi |
| 6607 |
|
done |
| 6612 |
|
fi |
| 6613 |
|
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB |
| 6614 |
|
if test -n "$ac_ct_RANLIB"; then |
| 6615 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 |
| 6616 |
< |
$as_echo "$ac_ct_RANLIB" >&6; } |
| 6615 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 |
| 6616 |
> |
printf "%s\n" "$ac_ct_RANLIB" >&6; } |
| 6617 |
|
else |
| 6618 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 6619 |
< |
$as_echo "no" >&6; } |
| 6618 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 6619 |
> |
printf "%s\n" "no" >&6; } |
| 6620 |
|
fi |
| 6621 |
|
|
| 6622 |
|
if test "x$ac_ct_RANLIB" = x; then |
| 6624 |
|
else |
| 6625 |
|
case $cross_compiling:$ac_tool_warned in |
| 6626 |
|
yes:) |
| 6627 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 6628 |
< |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 6627 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 6628 |
> |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 6629 |
|
ac_tool_warned=yes ;; |
| 6630 |
|
esac |
| 6631 |
|
RANLIB=$ac_ct_RANLIB |
| 6714 |
|
|
| 6715 |
|
|
| 6716 |
|
# Check for command to grab the raw symbol name followed by C symbol from nm. |
| 6717 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 |
| 6718 |
< |
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } |
| 6719 |
< |
if ${lt_cv_sys_global_symbol_pipe+:} false; then : |
| 6720 |
< |
$as_echo_n "(cached) " >&6 |
| 6721 |
< |
else |
| 6717 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 |
| 6718 |
> |
printf %s "checking command to parse $NM output from $compiler object... " >&6; } |
| 6719 |
> |
if test ${lt_cv_sys_global_symbol_pipe+y} |
| 6720 |
> |
then : |
| 6721 |
> |
printf %s "(cached) " >&6 |
| 6722 |
> |
else $as_nop |
| 6723 |
|
|
| 6724 |
|
# These are sane defaults that work on at least a few old systems. |
| 6725 |
|
# [They come from Ultrix. What could be older than Ultrix?!! ;)] |
| 6774 |
|
|
| 6775 |
|
if test "$lt_cv_nm_interface" = "MS dumpbin"; then |
| 6776 |
|
# Gets list of data symbols to import. |
| 6777 |
< |
lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'" |
| 6777 |
> |
lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'" |
| 6778 |
|
# Adjust the below global symbol transforms to fixup imported variables. |
| 6779 |
|
lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'" |
| 6780 |
|
lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'" |
| 6792 |
|
# Transform an extracted symbol line into a proper C declaration. |
| 6793 |
|
# Some systems (esp. on ia64) link data and code symbols differently, |
| 6794 |
|
# so use this general approach. |
| 6795 |
< |
lt_cv_sys_global_symbol_to_cdecl="sed -n"\ |
| 6795 |
> |
lt_cv_sys_global_symbol_to_cdecl="$SED -n"\ |
| 6796 |
|
$lt_cdecl_hook\ |
| 6797 |
|
" -e 's/^T .* \(.*\)$/extern int \1();/p'"\ |
| 6798 |
|
" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" |
| 6799 |
|
|
| 6800 |
|
# Transform an extracted symbol line into symbol name and symbol address |
| 6801 |
< |
lt_cv_sys_global_symbol_to_c_name_address="sed -n"\ |
| 6801 |
> |
lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\ |
| 6802 |
|
$lt_c_name_hook\ |
| 6803 |
|
" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ |
| 6804 |
|
" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'" |
| 6805 |
|
|
| 6806 |
|
# Transform an extracted symbol line into symbol name with lib prefix and |
| 6807 |
|
# symbol address. |
| 6808 |
< |
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\ |
| 6808 |
> |
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\ |
| 6809 |
|
$lt_c_name_lib_hook\ |
| 6810 |
|
" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ |
| 6811 |
|
" -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\ |
| 6829 |
|
if test "$lt_cv_nm_interface" = "MS dumpbin"; then |
| 6830 |
|
# Fake it for dumpbin and say T for any non-static function, |
| 6831 |
|
# D for any global variable and I for any imported variable. |
| 6832 |
< |
# Also find C++ and __fastcall symbols from MSVC++, |
| 6832 |
> |
# Also find C++ and __fastcall symbols from MSVC++ or ICC, |
| 6833 |
|
# which start with @ or ?. |
| 6834 |
|
lt_cv_sys_global_symbol_pipe="$AWK '"\ |
| 6835 |
|
" {last_section=section; section=\$ 3};"\ |
| 6847 |
|
" s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\ |
| 6848 |
|
" ' prfx=^$ac_symprfx" |
| 6849 |
|
else |
| 6850 |
< |
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" |
| 6850 |
> |
lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" |
| 6851 |
|
fi |
| 6852 |
< |
lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" |
| 6852 |
> |
lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'" |
| 6853 |
|
|
| 6854 |
|
# Check to see that the pipe works correctly. |
| 6855 |
|
pipe_works=no |
| 6871 |
|
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
| 6872 |
|
(eval $ac_compile) 2>&5 |
| 6873 |
|
ac_status=$? |
| 6874 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 6874 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 6875 |
|
test $ac_status = 0; }; then |
| 6876 |
|
# Now try to grab the symbols. |
| 6877 |
|
nlist=conftest.nm |
| 6878 |
< |
$ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5 |
| 6879 |
< |
if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then |
| 6878 |
> |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 |
| 6879 |
> |
(eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 |
| 6880 |
> |
ac_status=$? |
| 6881 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 6882 |
> |
test $ac_status = 0; } && test -s "$nlist"; then |
| 6883 |
|
# Try sorting and uniquifying the output. |
| 6884 |
|
if sort "$nlist" | uniq > "$nlist"T; then |
| 6885 |
|
mv -f "$nlist"T "$nlist" |
| 6947 |
|
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 |
| 6948 |
|
(eval $ac_link) 2>&5 |
| 6949 |
|
ac_status=$? |
| 6950 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 6950 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 6951 |
|
test $ac_status = 0; } && test -s conftest$ac_exeext; then |
| 6952 |
|
pipe_works=yes |
| 6953 |
|
fi |
| 6982 |
|
lt_cv_sys_global_symbol_to_cdecl= |
| 6983 |
|
fi |
| 6984 |
|
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then |
| 6985 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 |
| 6986 |
< |
$as_echo "failed" >&6; } |
| 6985 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5 |
| 6986 |
> |
printf "%s\n" "failed" >&6; } |
| 6987 |
|
else |
| 6988 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 |
| 6989 |
< |
$as_echo "ok" >&6; } |
| 6988 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5 |
| 6989 |
> |
printf "%s\n" "ok" >&6; } |
| 6990 |
|
fi |
| 6991 |
|
|
| 6992 |
|
# Response file support. |
| 7032 |
|
|
| 7033 |
|
|
| 7034 |
|
|
| 7035 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 |
| 7036 |
< |
$as_echo_n "checking for sysroot... " >&6; } |
| 7035 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 |
| 7036 |
> |
printf %s "checking for sysroot... " >&6; } |
| 7037 |
|
|
| 7038 |
|
# Check whether --with-sysroot was given. |
| 7039 |
< |
if test "${with_sysroot+set}" = set; then : |
| 7039 |
> |
if test ${with_sysroot+y} |
| 7040 |
> |
then : |
| 7041 |
|
withval=$with_sysroot; |
| 7042 |
< |
else |
| 7042 |
> |
else $as_nop |
| 7043 |
|
with_sysroot=no |
| 7044 |
|
fi |
| 7045 |
|
|
| 7052 |
|
fi |
| 7053 |
|
;; #( |
| 7054 |
|
/*) |
| 7055 |
< |
lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` |
| 7055 |
> |
lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"` |
| 7056 |
|
;; #( |
| 7057 |
|
no|'') |
| 7058 |
|
;; #( |
| 7059 |
|
*) |
| 7060 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5 |
| 7061 |
< |
$as_echo "$with_sysroot" >&6; } |
| 7060 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5 |
| 7061 |
> |
printf "%s\n" "$with_sysroot" >&6; } |
| 7062 |
|
as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 |
| 7063 |
|
;; |
| 7064 |
|
esac |
| 7065 |
|
|
| 7066 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 |
| 7067 |
< |
$as_echo "${lt_sysroot:-no}" >&6; } |
| 7066 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 |
| 7067 |
> |
printf "%s\n" "${lt_sysroot:-no}" >&6; } |
| 7068 |
|
|
| 7069 |
|
|
| 7070 |
|
|
| 7071 |
|
|
| 7072 |
|
|
| 7073 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5 |
| 7074 |
< |
$as_echo_n "checking for a working dd... " >&6; } |
| 7075 |
< |
if ${ac_cv_path_lt_DD+:} false; then : |
| 7076 |
< |
$as_echo_n "(cached) " >&6 |
| 7077 |
< |
else |
| 7073 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5 |
| 7074 |
> |
printf %s "checking for a working dd... " >&6; } |
| 7075 |
> |
if test ${ac_cv_path_lt_DD+y} |
| 7076 |
> |
then : |
| 7077 |
> |
printf %s "(cached) " >&6 |
| 7078 |
> |
else $as_nop |
| 7079 |
|
printf 0123456789abcdef0123456789abcdef >conftest.i |
| 7080 |
|
cat conftest.i conftest.i >conftest2.i |
| 7081 |
|
: ${lt_DD:=$DD} |
| 7086 |
|
for as_dir in $PATH |
| 7087 |
|
do |
| 7088 |
|
IFS=$as_save_IFS |
| 7089 |
< |
test -z "$as_dir" && as_dir=. |
| 7090 |
< |
for ac_prog in dd; do |
| 7089 |
> |
case $as_dir in #((( |
| 7090 |
> |
'') as_dir=./ ;; |
| 7091 |
> |
*/) ;; |
| 7092 |
> |
*) as_dir=$as_dir/ ;; |
| 7093 |
> |
esac |
| 7094 |
> |
for ac_prog in dd |
| 7095 |
> |
do |
| 7096 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 7097 |
< |
ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext" |
| 7097 |
> |
ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext" |
| 7098 |
|
as_fn_executable_p "$ac_path_lt_DD" || continue |
| 7099 |
|
if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then |
| 7100 |
|
cmp -s conftest.i conftest.out \ |
| 7114 |
|
|
| 7115 |
|
rm -f conftest.i conftest2.i conftest.out |
| 7116 |
|
fi |
| 7117 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5 |
| 7118 |
< |
$as_echo "$ac_cv_path_lt_DD" >&6; } |
| 7117 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5 |
| 7118 |
> |
printf "%s\n" "$ac_cv_path_lt_DD" >&6; } |
| 7119 |
|
|
| 7120 |
|
|
| 7121 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5 |
| 7122 |
< |
$as_echo_n "checking how to truncate binary pipes... " >&6; } |
| 7123 |
< |
if ${lt_cv_truncate_bin+:} false; then : |
| 7124 |
< |
$as_echo_n "(cached) " >&6 |
| 7125 |
< |
else |
| 7121 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5 |
| 7122 |
> |
printf %s "checking how to truncate binary pipes... " >&6; } |
| 7123 |
> |
if test ${lt_cv_truncate_bin+y} |
| 7124 |
> |
then : |
| 7125 |
> |
printf %s "(cached) " >&6 |
| 7126 |
> |
else $as_nop |
| 7127 |
|
printf 0123456789abcdef0123456789abcdef >conftest.i |
| 7128 |
|
cat conftest.i conftest.i >conftest2.i |
| 7129 |
|
lt_cv_truncate_bin= |
| 7134 |
|
rm -f conftest.i conftest2.i conftest.out |
| 7135 |
|
test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" |
| 7136 |
|
fi |
| 7137 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5 |
| 7138 |
< |
$as_echo "$lt_cv_truncate_bin" >&6; } |
| 7137 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5 |
| 7138 |
> |
printf "%s\n" "$lt_cv_truncate_bin" >&6; } |
| 7139 |
|
|
| 7140 |
|
|
| 7141 |
|
|
| 7158 |
|
} |
| 7159 |
|
|
| 7160 |
|
# Check whether --enable-libtool-lock was given. |
| 7161 |
< |
if test "${enable_libtool_lock+set}" = set; then : |
| 7161 |
> |
if test ${enable_libtool_lock+y} |
| 7162 |
> |
then : |
| 7163 |
|
enableval=$enable_libtool_lock; |
| 7164 |
|
fi |
| 7165 |
|
|
| 7175 |
|
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
| 7176 |
|
(eval $ac_compile) 2>&5 |
| 7177 |
|
ac_status=$? |
| 7178 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 7178 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 7179 |
|
test $ac_status = 0; }; then |
| 7180 |
< |
case `/usr/bin/file conftest.$ac_objext` in |
| 7180 |
> |
case `$FILECMD conftest.$ac_objext` in |
| 7181 |
|
*ELF-32*) |
| 7182 |
|
HPUX_IA64_MODE=32 |
| 7183 |
|
;; |
| 7195 |
|
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
| 7196 |
|
(eval $ac_compile) 2>&5 |
| 7197 |
|
ac_status=$? |
| 7198 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 7198 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 7199 |
|
test $ac_status = 0; }; then |
| 7200 |
|
if test yes = "$lt_cv_prog_gnu_ld"; then |
| 7201 |
< |
case `/usr/bin/file conftest.$ac_objext` in |
| 7201 |
> |
case `$FILECMD conftest.$ac_objext` in |
| 7202 |
|
*32-bit*) |
| 7203 |
|
LD="${LD-ld} -melf32bsmip" |
| 7204 |
|
;; |
| 7210 |
|
;; |
| 7211 |
|
esac |
| 7212 |
|
else |
| 7213 |
< |
case `/usr/bin/file conftest.$ac_objext` in |
| 7213 |
> |
case `$FILECMD conftest.$ac_objext` in |
| 7214 |
|
*32-bit*) |
| 7215 |
|
LD="${LD-ld} -32" |
| 7216 |
|
;; |
| 7233 |
|
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
| 7234 |
|
(eval $ac_compile) 2>&5 |
| 7235 |
|
ac_status=$? |
| 7236 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 7236 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 7237 |
|
test $ac_status = 0; }; then |
| 7238 |
|
emul=elf |
| 7239 |
< |
case `/usr/bin/file conftest.$ac_objext` in |
| 7239 |
> |
case `$FILECMD conftest.$ac_objext` in |
| 7240 |
|
*32-bit*) |
| 7241 |
|
emul="${emul}32" |
| 7242 |
|
;; |
| 7244 |
|
emul="${emul}64" |
| 7245 |
|
;; |
| 7246 |
|
esac |
| 7247 |
< |
case `/usr/bin/file conftest.$ac_objext` in |
| 7247 |
> |
case `$FILECMD conftest.$ac_objext` in |
| 7248 |
|
*MSB*) |
| 7249 |
|
emul="${emul}btsmip" |
| 7250 |
|
;; |
| 7252 |
|
emul="${emul}ltsmip" |
| 7253 |
|
;; |
| 7254 |
|
esac |
| 7255 |
< |
case `/usr/bin/file conftest.$ac_objext` in |
| 7255 |
> |
case `$FILECMD conftest.$ac_objext` in |
| 7256 |
|
*N32*) |
| 7257 |
|
emul="${emul}n32" |
| 7258 |
|
;; |
| 7274 |
|
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
| 7275 |
|
(eval $ac_compile) 2>&5 |
| 7276 |
|
ac_status=$? |
| 7277 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 7277 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 7278 |
|
test $ac_status = 0; }; then |
| 7279 |
< |
case `/usr/bin/file conftest.o` in |
| 7279 |
> |
case `$FILECMD conftest.o` in |
| 7280 |
|
*32-bit*) |
| 7281 |
|
case $host in |
| 7282 |
|
x86_64-*kfreebsd*-gnu) |
| 7283 |
|
LD="${LD-ld} -m elf_i386_fbsd" |
| 7284 |
|
;; |
| 7285 |
|
x86_64-*linux*) |
| 7286 |
< |
case `/usr/bin/file conftest.o` in |
| 7286 |
> |
case `$FILECMD conftest.o` in |
| 7287 |
|
*x86-64*) |
| 7288 |
|
LD="${LD-ld} -m elf32_x86_64" |
| 7289 |
|
;; |
| 7337 |
|
# On SCO OpenServer 5, we need -belf to get full-featured binaries. |
| 7338 |
|
SAVE_CFLAGS=$CFLAGS |
| 7339 |
|
CFLAGS="$CFLAGS -belf" |
| 7340 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 |
| 7341 |
< |
$as_echo_n "checking whether the C compiler needs -belf... " >&6; } |
| 7342 |
< |
if ${lt_cv_cc_needs_belf+:} false; then : |
| 7343 |
< |
$as_echo_n "(cached) " >&6 |
| 7344 |
< |
else |
| 7340 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 |
| 7341 |
> |
printf %s "checking whether the C compiler needs -belf... " >&6; } |
| 7342 |
> |
if test ${lt_cv_cc_needs_belf+y} |
| 7343 |
> |
then : |
| 7344 |
> |
printf %s "(cached) " >&6 |
| 7345 |
> |
else $as_nop |
| 7346 |
|
ac_ext=c |
| 7347 |
|
ac_cpp='$CPP $CPPFLAGS' |
| 7348 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 7353 |
|
/* end confdefs.h. */ |
| 7354 |
|
|
| 7355 |
|
int |
| 7356 |
< |
main () |
| 7356 |
> |
main (void) |
| 7357 |
|
{ |
| 7358 |
|
|
| 7359 |
|
; |
| 7360 |
|
return 0; |
| 7361 |
|
} |
| 7362 |
|
_ACEOF |
| 7363 |
< |
if ac_fn_c_try_link "$LINENO"; then : |
| 7363 |
> |
if ac_fn_c_try_link "$LINENO" |
| 7364 |
> |
then : |
| 7365 |
|
lt_cv_cc_needs_belf=yes |
| 7366 |
< |
else |
| 7366 |
> |
else $as_nop |
| 7367 |
|
lt_cv_cc_needs_belf=no |
| 7368 |
|
fi |
| 7369 |
< |
rm -f core conftest.err conftest.$ac_objext \ |
| 7369 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 7370 |
|
conftest$ac_exeext conftest.$ac_ext |
| 7371 |
|
ac_ext=c |
| 7372 |
|
ac_cpp='$CPP $CPPFLAGS' |
| 7375 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 7376 |
|
|
| 7377 |
|
fi |
| 7378 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 |
| 7379 |
< |
$as_echo "$lt_cv_cc_needs_belf" >&6; } |
| 7378 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 |
| 7379 |
> |
printf "%s\n" "$lt_cv_cc_needs_belf" >&6; } |
| 7380 |
|
if test yes != "$lt_cv_cc_needs_belf"; then |
| 7381 |
|
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf |
| 7382 |
|
CFLAGS=$SAVE_CFLAGS |
| 7389 |
|
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
| 7390 |
|
(eval $ac_compile) 2>&5 |
| 7391 |
|
ac_status=$? |
| 7392 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 7392 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 7393 |
|
test $ac_status = 0; }; then |
| 7394 |
< |
case `/usr/bin/file conftest.o` in |
| 7394 |
> |
case `$FILECMD conftest.o` in |
| 7395 |
|
*64-bit*) |
| 7396 |
|
case $lt_cv_prog_gnu_ld in |
| 7397 |
|
yes*) |
| 7426 |
|
if test -n "$ac_tool_prefix"; then |
| 7427 |
|
# Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. |
| 7428 |
|
set dummy ${ac_tool_prefix}mt; ac_word=$2 |
| 7429 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 7430 |
< |
$as_echo_n "checking for $ac_word... " >&6; } |
| 7431 |
< |
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : |
| 7432 |
< |
$as_echo_n "(cached) " >&6 |
| 7433 |
< |
else |
| 7429 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 7430 |
> |
printf %s "checking for $ac_word... " >&6; } |
| 7431 |
> |
if test ${ac_cv_prog_MANIFEST_TOOL+y} |
| 7432 |
> |
then : |
| 7433 |
> |
printf %s "(cached) " >&6 |
| 7434 |
> |
else $as_nop |
| 7435 |
|
if test -n "$MANIFEST_TOOL"; then |
| 7436 |
|
ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. |
| 7437 |
|
else |
| 7439 |
|
for as_dir in $PATH |
| 7440 |
|
do |
| 7441 |
|
IFS=$as_save_IFS |
| 7442 |
< |
test -z "$as_dir" && as_dir=. |
| 7442 |
> |
case $as_dir in #((( |
| 7443 |
> |
'') as_dir=./ ;; |
| 7444 |
> |
*/) ;; |
| 7445 |
> |
*) as_dir=$as_dir/ ;; |
| 7446 |
> |
esac |
| 7447 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 7448 |
< |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 7448 |
> |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 7449 |
|
ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" |
| 7450 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 7450 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 7451 |
|
break 2 |
| 7452 |
|
fi |
| 7453 |
|
done |
| 7458 |
|
fi |
| 7459 |
|
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL |
| 7460 |
|
if test -n "$MANIFEST_TOOL"; then |
| 7461 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 |
| 7462 |
< |
$as_echo "$MANIFEST_TOOL" >&6; } |
| 7461 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 |
| 7462 |
> |
printf "%s\n" "$MANIFEST_TOOL" >&6; } |
| 7463 |
|
else |
| 7464 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 7465 |
< |
$as_echo "no" >&6; } |
| 7464 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 7465 |
> |
printf "%s\n" "no" >&6; } |
| 7466 |
|
fi |
| 7467 |
|
|
| 7468 |
|
|
| 7471 |
|
ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL |
| 7472 |
|
# Extract the first word of "mt", so it can be a program name with args. |
| 7473 |
|
set dummy mt; ac_word=$2 |
| 7474 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 7475 |
< |
$as_echo_n "checking for $ac_word... " >&6; } |
| 7476 |
< |
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : |
| 7477 |
< |
$as_echo_n "(cached) " >&6 |
| 7478 |
< |
else |
| 7474 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 7475 |
> |
printf %s "checking for $ac_word... " >&6; } |
| 7476 |
> |
if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y} |
| 7477 |
> |
then : |
| 7478 |
> |
printf %s "(cached) " >&6 |
| 7479 |
> |
else $as_nop |
| 7480 |
|
if test -n "$ac_ct_MANIFEST_TOOL"; then |
| 7481 |
|
ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. |
| 7482 |
|
else |
| 7484 |
|
for as_dir in $PATH |
| 7485 |
|
do |
| 7486 |
|
IFS=$as_save_IFS |
| 7487 |
< |
test -z "$as_dir" && as_dir=. |
| 7487 |
> |
case $as_dir in #((( |
| 7488 |
> |
'') as_dir=./ ;; |
| 7489 |
> |
*/) ;; |
| 7490 |
> |
*) as_dir=$as_dir/ ;; |
| 7491 |
> |
esac |
| 7492 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 7493 |
< |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 7493 |
> |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 7494 |
|
ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" |
| 7495 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 7495 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 7496 |
|
break 2 |
| 7497 |
|
fi |
| 7498 |
|
done |
| 7503 |
|
fi |
| 7504 |
|
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL |
| 7505 |
|
if test -n "$ac_ct_MANIFEST_TOOL"; then |
| 7506 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 |
| 7507 |
< |
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } |
| 7506 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 |
| 7507 |
> |
printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; } |
| 7508 |
|
else |
| 7509 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 7510 |
< |
$as_echo "no" >&6; } |
| 7509 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 7510 |
> |
printf "%s\n" "no" >&6; } |
| 7511 |
|
fi |
| 7512 |
|
|
| 7513 |
|
if test "x$ac_ct_MANIFEST_TOOL" = x; then |
| 7515 |
|
else |
| 7516 |
|
case $cross_compiling:$ac_tool_warned in |
| 7517 |
|
yes:) |
| 7518 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 7519 |
< |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 7518 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 7519 |
> |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 7520 |
|
ac_tool_warned=yes ;; |
| 7521 |
|
esac |
| 7522 |
|
MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL |
| 7526 |
|
fi |
| 7527 |
|
|
| 7528 |
|
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt |
| 7529 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 |
| 7530 |
< |
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } |
| 7531 |
< |
if ${lt_cv_path_mainfest_tool+:} false; then : |
| 7532 |
< |
$as_echo_n "(cached) " >&6 |
| 7533 |
< |
else |
| 7529 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 |
| 7530 |
> |
printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } |
| 7531 |
> |
if test ${lt_cv_path_mainfest_tool+y} |
| 7532 |
> |
then : |
| 7533 |
> |
printf %s "(cached) " >&6 |
| 7534 |
> |
else $as_nop |
| 7535 |
|
lt_cv_path_mainfest_tool=no |
| 7536 |
|
echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 |
| 7537 |
|
$MANIFEST_TOOL '-?' 2>conftest.err > conftest.out |
| 7541 |
|
fi |
| 7542 |
|
rm -f conftest* |
| 7543 |
|
fi |
| 7544 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 |
| 7545 |
< |
$as_echo "$lt_cv_path_mainfest_tool" >&6; } |
| 7544 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 |
| 7545 |
> |
printf "%s\n" "$lt_cv_path_mainfest_tool" >&6; } |
| 7546 |
|
if test yes != "$lt_cv_path_mainfest_tool"; then |
| 7547 |
|
MANIFEST_TOOL=: |
| 7548 |
|
fi |
| 7557 |
|
if test -n "$ac_tool_prefix"; then |
| 7558 |
|
# Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. |
| 7559 |
|
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 |
| 7560 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 7561 |
< |
$as_echo_n "checking for $ac_word... " >&6; } |
| 7562 |
< |
if ${ac_cv_prog_DSYMUTIL+:} false; then : |
| 7563 |
< |
$as_echo_n "(cached) " >&6 |
| 7564 |
< |
else |
| 7560 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 7561 |
> |
printf %s "checking for $ac_word... " >&6; } |
| 7562 |
> |
if test ${ac_cv_prog_DSYMUTIL+y} |
| 7563 |
> |
then : |
| 7564 |
> |
printf %s "(cached) " >&6 |
| 7565 |
> |
else $as_nop |
| 7566 |
|
if test -n "$DSYMUTIL"; then |
| 7567 |
|
ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. |
| 7568 |
|
else |
| 7570 |
|
for as_dir in $PATH |
| 7571 |
|
do |
| 7572 |
|
IFS=$as_save_IFS |
| 7573 |
< |
test -z "$as_dir" && as_dir=. |
| 7573 |
> |
case $as_dir in #((( |
| 7574 |
> |
'') as_dir=./ ;; |
| 7575 |
> |
*/) ;; |
| 7576 |
> |
*) as_dir=$as_dir/ ;; |
| 7577 |
> |
esac |
| 7578 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 7579 |
< |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 7579 |
> |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 7580 |
|
ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" |
| 7581 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 7581 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 7582 |
|
break 2 |
| 7583 |
|
fi |
| 7584 |
|
done |
| 7589 |
|
fi |
| 7590 |
|
DSYMUTIL=$ac_cv_prog_DSYMUTIL |
| 7591 |
|
if test -n "$DSYMUTIL"; then |
| 7592 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 |
| 7593 |
< |
$as_echo "$DSYMUTIL" >&6; } |
| 7592 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 |
| 7593 |
> |
printf "%s\n" "$DSYMUTIL" >&6; } |
| 7594 |
|
else |
| 7595 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 7596 |
< |
$as_echo "no" >&6; } |
| 7595 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 7596 |
> |
printf "%s\n" "no" >&6; } |
| 7597 |
|
fi |
| 7598 |
|
|
| 7599 |
|
|
| 7602 |
|
ac_ct_DSYMUTIL=$DSYMUTIL |
| 7603 |
|
# Extract the first word of "dsymutil", so it can be a program name with args. |
| 7604 |
|
set dummy dsymutil; ac_word=$2 |
| 7605 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 7606 |
< |
$as_echo_n "checking for $ac_word... " >&6; } |
| 7607 |
< |
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : |
| 7608 |
< |
$as_echo_n "(cached) " >&6 |
| 7609 |
< |
else |
| 7605 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 7606 |
> |
printf %s "checking for $ac_word... " >&6; } |
| 7607 |
> |
if test ${ac_cv_prog_ac_ct_DSYMUTIL+y} |
| 7608 |
> |
then : |
| 7609 |
> |
printf %s "(cached) " >&6 |
| 7610 |
> |
else $as_nop |
| 7611 |
|
if test -n "$ac_ct_DSYMUTIL"; then |
| 7612 |
|
ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. |
| 7613 |
|
else |
| 7615 |
|
for as_dir in $PATH |
| 7616 |
|
do |
| 7617 |
|
IFS=$as_save_IFS |
| 7618 |
< |
test -z "$as_dir" && as_dir=. |
| 7618 |
> |
case $as_dir in #((( |
| 7619 |
> |
'') as_dir=./ ;; |
| 7620 |
> |
*/) ;; |
| 7621 |
> |
*) as_dir=$as_dir/ ;; |
| 7622 |
> |
esac |
| 7623 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 7624 |
< |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 7624 |
> |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 7625 |
|
ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" |
| 7626 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 7626 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 7627 |
|
break 2 |
| 7628 |
|
fi |
| 7629 |
|
done |
| 7634 |
|
fi |
| 7635 |
|
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL |
| 7636 |
|
if test -n "$ac_ct_DSYMUTIL"; then |
| 7637 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 |
| 7638 |
< |
$as_echo "$ac_ct_DSYMUTIL" >&6; } |
| 7637 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 |
| 7638 |
> |
printf "%s\n" "$ac_ct_DSYMUTIL" >&6; } |
| 7639 |
|
else |
| 7640 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 7641 |
< |
$as_echo "no" >&6; } |
| 7640 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 7641 |
> |
printf "%s\n" "no" >&6; } |
| 7642 |
|
fi |
| 7643 |
|
|
| 7644 |
|
if test "x$ac_ct_DSYMUTIL" = x; then |
| 7646 |
|
else |
| 7647 |
|
case $cross_compiling:$ac_tool_warned in |
| 7648 |
|
yes:) |
| 7649 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 7650 |
< |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 7649 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 7650 |
> |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 7651 |
|
ac_tool_warned=yes ;; |
| 7652 |
|
esac |
| 7653 |
|
DSYMUTIL=$ac_ct_DSYMUTIL |
| 7659 |
|
if test -n "$ac_tool_prefix"; then |
| 7660 |
|
# Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. |
| 7661 |
|
set dummy ${ac_tool_prefix}nmedit; ac_word=$2 |
| 7662 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 7663 |
< |
$as_echo_n "checking for $ac_word... " >&6; } |
| 7664 |
< |
if ${ac_cv_prog_NMEDIT+:} false; then : |
| 7665 |
< |
$as_echo_n "(cached) " >&6 |
| 7666 |
< |
else |
| 7662 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 7663 |
> |
printf %s "checking for $ac_word... " >&6; } |
| 7664 |
> |
if test ${ac_cv_prog_NMEDIT+y} |
| 7665 |
> |
then : |
| 7666 |
> |
printf %s "(cached) " >&6 |
| 7667 |
> |
else $as_nop |
| 7668 |
|
if test -n "$NMEDIT"; then |
| 7669 |
|
ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. |
| 7670 |
|
else |
| 7672 |
|
for as_dir in $PATH |
| 7673 |
|
do |
| 7674 |
|
IFS=$as_save_IFS |
| 7675 |
< |
test -z "$as_dir" && as_dir=. |
| 7675 |
> |
case $as_dir in #((( |
| 7676 |
> |
'') as_dir=./ ;; |
| 7677 |
> |
*/) ;; |
| 7678 |
> |
*) as_dir=$as_dir/ ;; |
| 7679 |
> |
esac |
| 7680 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 7681 |
< |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 7681 |
> |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 7682 |
|
ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" |
| 7683 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 7683 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 7684 |
|
break 2 |
| 7685 |
|
fi |
| 7686 |
|
done |
| 7691 |
|
fi |
| 7692 |
|
NMEDIT=$ac_cv_prog_NMEDIT |
| 7693 |
|
if test -n "$NMEDIT"; then |
| 7694 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 |
| 7695 |
< |
$as_echo "$NMEDIT" >&6; } |
| 7694 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 |
| 7695 |
> |
printf "%s\n" "$NMEDIT" >&6; } |
| 7696 |
|
else |
| 7697 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 7698 |
< |
$as_echo "no" >&6; } |
| 7697 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 7698 |
> |
printf "%s\n" "no" >&6; } |
| 7699 |
|
fi |
| 7700 |
|
|
| 7701 |
|
|
| 7704 |
|
ac_ct_NMEDIT=$NMEDIT |
| 7705 |
|
# Extract the first word of "nmedit", so it can be a program name with args. |
| 7706 |
|
set dummy nmedit; ac_word=$2 |
| 7707 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 7708 |
< |
$as_echo_n "checking for $ac_word... " >&6; } |
| 7709 |
< |
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : |
| 7710 |
< |
$as_echo_n "(cached) " >&6 |
| 7711 |
< |
else |
| 7707 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 7708 |
> |
printf %s "checking for $ac_word... " >&6; } |
| 7709 |
> |
if test ${ac_cv_prog_ac_ct_NMEDIT+y} |
| 7710 |
> |
then : |
| 7711 |
> |
printf %s "(cached) " >&6 |
| 7712 |
> |
else $as_nop |
| 7713 |
|
if test -n "$ac_ct_NMEDIT"; then |
| 7714 |
|
ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. |
| 7715 |
|
else |
| 7717 |
|
for as_dir in $PATH |
| 7718 |
|
do |
| 7719 |
|
IFS=$as_save_IFS |
| 7720 |
< |
test -z "$as_dir" && as_dir=. |
| 7720 |
> |
case $as_dir in #((( |
| 7721 |
> |
'') as_dir=./ ;; |
| 7722 |
> |
*/) ;; |
| 7723 |
> |
*) as_dir=$as_dir/ ;; |
| 7724 |
> |
esac |
| 7725 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 7726 |
< |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 7726 |
> |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 7727 |
|
ac_cv_prog_ac_ct_NMEDIT="nmedit" |
| 7728 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 7728 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 7729 |
|
break 2 |
| 7730 |
|
fi |
| 7731 |
|
done |
| 7736 |
|
fi |
| 7737 |
|
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT |
| 7738 |
|
if test -n "$ac_ct_NMEDIT"; then |
| 7739 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 |
| 7740 |
< |
$as_echo "$ac_ct_NMEDIT" >&6; } |
| 7739 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 |
| 7740 |
> |
printf "%s\n" "$ac_ct_NMEDIT" >&6; } |
| 7741 |
|
else |
| 7742 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 7743 |
< |
$as_echo "no" >&6; } |
| 7742 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 7743 |
> |
printf "%s\n" "no" >&6; } |
| 7744 |
|
fi |
| 7745 |
|
|
| 7746 |
|
if test "x$ac_ct_NMEDIT" = x; then |
| 7748 |
|
else |
| 7749 |
|
case $cross_compiling:$ac_tool_warned in |
| 7750 |
|
yes:) |
| 7751 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 7752 |
< |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 7751 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 7752 |
> |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 7753 |
|
ac_tool_warned=yes ;; |
| 7754 |
|
esac |
| 7755 |
|
NMEDIT=$ac_ct_NMEDIT |
| 7761 |
|
if test -n "$ac_tool_prefix"; then |
| 7762 |
|
# Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. |
| 7763 |
|
set dummy ${ac_tool_prefix}lipo; ac_word=$2 |
| 7764 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 7765 |
< |
$as_echo_n "checking for $ac_word... " >&6; } |
| 7766 |
< |
if ${ac_cv_prog_LIPO+:} false; then : |
| 7767 |
< |
$as_echo_n "(cached) " >&6 |
| 7768 |
< |
else |
| 7764 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 7765 |
> |
printf %s "checking for $ac_word... " >&6; } |
| 7766 |
> |
if test ${ac_cv_prog_LIPO+y} |
| 7767 |
> |
then : |
| 7768 |
> |
printf %s "(cached) " >&6 |
| 7769 |
> |
else $as_nop |
| 7770 |
|
if test -n "$LIPO"; then |
| 7771 |
|
ac_cv_prog_LIPO="$LIPO" # Let the user override the test. |
| 7772 |
|
else |
| 7774 |
|
for as_dir in $PATH |
| 7775 |
|
do |
| 7776 |
|
IFS=$as_save_IFS |
| 7777 |
< |
test -z "$as_dir" && as_dir=. |
| 7777 |
> |
case $as_dir in #((( |
| 7778 |
> |
'') as_dir=./ ;; |
| 7779 |
> |
*/) ;; |
| 7780 |
> |
*) as_dir=$as_dir/ ;; |
| 7781 |
> |
esac |
| 7782 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 7783 |
< |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 7783 |
> |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 7784 |
|
ac_cv_prog_LIPO="${ac_tool_prefix}lipo" |
| 7785 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 7785 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 7786 |
|
break 2 |
| 7787 |
|
fi |
| 7788 |
|
done |
| 7793 |
|
fi |
| 7794 |
|
LIPO=$ac_cv_prog_LIPO |
| 7795 |
|
if test -n "$LIPO"; then |
| 7796 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 |
| 7797 |
< |
$as_echo "$LIPO" >&6; } |
| 7796 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 |
| 7797 |
> |
printf "%s\n" "$LIPO" >&6; } |
| 7798 |
|
else |
| 7799 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 7800 |
< |
$as_echo "no" >&6; } |
| 7799 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 7800 |
> |
printf "%s\n" "no" >&6; } |
| 7801 |
|
fi |
| 7802 |
|
|
| 7803 |
|
|
| 7806 |
|
ac_ct_LIPO=$LIPO |
| 7807 |
|
# Extract the first word of "lipo", so it can be a program name with args. |
| 7808 |
|
set dummy lipo; ac_word=$2 |
| 7809 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 7810 |
< |
$as_echo_n "checking for $ac_word... " >&6; } |
| 7811 |
< |
if ${ac_cv_prog_ac_ct_LIPO+:} false; then : |
| 7812 |
< |
$as_echo_n "(cached) " >&6 |
| 7813 |
< |
else |
| 7809 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 7810 |
> |
printf %s "checking for $ac_word... " >&6; } |
| 7811 |
> |
if test ${ac_cv_prog_ac_ct_LIPO+y} |
| 7812 |
> |
then : |
| 7813 |
> |
printf %s "(cached) " >&6 |
| 7814 |
> |
else $as_nop |
| 7815 |
|
if test -n "$ac_ct_LIPO"; then |
| 7816 |
|
ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. |
| 7817 |
|
else |
| 7819 |
|
for as_dir in $PATH |
| 7820 |
|
do |
| 7821 |
|
IFS=$as_save_IFS |
| 7822 |
< |
test -z "$as_dir" && as_dir=. |
| 7822 |
> |
case $as_dir in #((( |
| 7823 |
> |
'') as_dir=./ ;; |
| 7824 |
> |
*/) ;; |
| 7825 |
> |
*) as_dir=$as_dir/ ;; |
| 7826 |
> |
esac |
| 7827 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 7828 |
< |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 7828 |
> |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 7829 |
|
ac_cv_prog_ac_ct_LIPO="lipo" |
| 7830 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 7830 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 7831 |
|
break 2 |
| 7832 |
|
fi |
| 7833 |
|
done |
| 7838 |
|
fi |
| 7839 |
|
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO |
| 7840 |
|
if test -n "$ac_ct_LIPO"; then |
| 7841 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 |
| 7842 |
< |
$as_echo "$ac_ct_LIPO" >&6; } |
| 7841 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 |
| 7842 |
> |
printf "%s\n" "$ac_ct_LIPO" >&6; } |
| 7843 |
|
else |
| 7844 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 7845 |
< |
$as_echo "no" >&6; } |
| 7844 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 7845 |
> |
printf "%s\n" "no" >&6; } |
| 7846 |
|
fi |
| 7847 |
|
|
| 7848 |
|
if test "x$ac_ct_LIPO" = x; then |
| 7850 |
|
else |
| 7851 |
|
case $cross_compiling:$ac_tool_warned in |
| 7852 |
|
yes:) |
| 7853 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 7854 |
< |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 7853 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 7854 |
> |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 7855 |
|
ac_tool_warned=yes ;; |
| 7856 |
|
esac |
| 7857 |
|
LIPO=$ac_ct_LIPO |
| 7863 |
|
if test -n "$ac_tool_prefix"; then |
| 7864 |
|
# Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. |
| 7865 |
|
set dummy ${ac_tool_prefix}otool; ac_word=$2 |
| 7866 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 7867 |
< |
$as_echo_n "checking for $ac_word... " >&6; } |
| 7868 |
< |
if ${ac_cv_prog_OTOOL+:} false; then : |
| 7869 |
< |
$as_echo_n "(cached) " >&6 |
| 7870 |
< |
else |
| 7866 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 7867 |
> |
printf %s "checking for $ac_word... " >&6; } |
| 7868 |
> |
if test ${ac_cv_prog_OTOOL+y} |
| 7869 |
> |
then : |
| 7870 |
> |
printf %s "(cached) " >&6 |
| 7871 |
> |
else $as_nop |
| 7872 |
|
if test -n "$OTOOL"; then |
| 7873 |
|
ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. |
| 7874 |
|
else |
| 7876 |
|
for as_dir in $PATH |
| 7877 |
|
do |
| 7878 |
|
IFS=$as_save_IFS |
| 7879 |
< |
test -z "$as_dir" && as_dir=. |
| 7879 |
> |
case $as_dir in #((( |
| 7880 |
> |
'') as_dir=./ ;; |
| 7881 |
> |
*/) ;; |
| 7882 |
> |
*) as_dir=$as_dir/ ;; |
| 7883 |
> |
esac |
| 7884 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 7885 |
< |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 7885 |
> |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 7886 |
|
ac_cv_prog_OTOOL="${ac_tool_prefix}otool" |
| 7887 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 7887 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 7888 |
|
break 2 |
| 7889 |
|
fi |
| 7890 |
|
done |
| 7895 |
|
fi |
| 7896 |
|
OTOOL=$ac_cv_prog_OTOOL |
| 7897 |
|
if test -n "$OTOOL"; then |
| 7898 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 |
| 7899 |
< |
$as_echo "$OTOOL" >&6; } |
| 7898 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 |
| 7899 |
> |
printf "%s\n" "$OTOOL" >&6; } |
| 7900 |
|
else |
| 7901 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 7902 |
< |
$as_echo "no" >&6; } |
| 7901 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 7902 |
> |
printf "%s\n" "no" >&6; } |
| 7903 |
|
fi |
| 7904 |
|
|
| 7905 |
|
|
| 7908 |
|
ac_ct_OTOOL=$OTOOL |
| 7909 |
|
# Extract the first word of "otool", so it can be a program name with args. |
| 7910 |
|
set dummy otool; ac_word=$2 |
| 7911 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 7912 |
< |
$as_echo_n "checking for $ac_word... " >&6; } |
| 7913 |
< |
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : |
| 7914 |
< |
$as_echo_n "(cached) " >&6 |
| 7915 |
< |
else |
| 7911 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 7912 |
> |
printf %s "checking for $ac_word... " >&6; } |
| 7913 |
> |
if test ${ac_cv_prog_ac_ct_OTOOL+y} |
| 7914 |
> |
then : |
| 7915 |
> |
printf %s "(cached) " >&6 |
| 7916 |
> |
else $as_nop |
| 7917 |
|
if test -n "$ac_ct_OTOOL"; then |
| 7918 |
|
ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. |
| 7919 |
|
else |
| 7921 |
|
for as_dir in $PATH |
| 7922 |
|
do |
| 7923 |
|
IFS=$as_save_IFS |
| 7924 |
< |
test -z "$as_dir" && as_dir=. |
| 7924 |
> |
case $as_dir in #((( |
| 7925 |
> |
'') as_dir=./ ;; |
| 7926 |
> |
*/) ;; |
| 7927 |
> |
*) as_dir=$as_dir/ ;; |
| 7928 |
> |
esac |
| 7929 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 7930 |
< |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 7930 |
> |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 7931 |
|
ac_cv_prog_ac_ct_OTOOL="otool" |
| 7932 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 7932 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 7933 |
|
break 2 |
| 7934 |
|
fi |
| 7935 |
|
done |
| 7940 |
|
fi |
| 7941 |
|
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL |
| 7942 |
|
if test -n "$ac_ct_OTOOL"; then |
| 7943 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 |
| 7944 |
< |
$as_echo "$ac_ct_OTOOL" >&6; } |
| 7943 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 |
| 7944 |
> |
printf "%s\n" "$ac_ct_OTOOL" >&6; } |
| 7945 |
|
else |
| 7946 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 7947 |
< |
$as_echo "no" >&6; } |
| 7946 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 7947 |
> |
printf "%s\n" "no" >&6; } |
| 7948 |
|
fi |
| 7949 |
|
|
| 7950 |
|
if test "x$ac_ct_OTOOL" = x; then |
| 7952 |
|
else |
| 7953 |
|
case $cross_compiling:$ac_tool_warned in |
| 7954 |
|
yes:) |
| 7955 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 7956 |
< |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 7955 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 7956 |
> |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 7957 |
|
ac_tool_warned=yes ;; |
| 7958 |
|
esac |
| 7959 |
|
OTOOL=$ac_ct_OTOOL |
| 7965 |
|
if test -n "$ac_tool_prefix"; then |
| 7966 |
|
# Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. |
| 7967 |
|
set dummy ${ac_tool_prefix}otool64; ac_word=$2 |
| 7968 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 7969 |
< |
$as_echo_n "checking for $ac_word... " >&6; } |
| 7970 |
< |
if ${ac_cv_prog_OTOOL64+:} false; then : |
| 7971 |
< |
$as_echo_n "(cached) " >&6 |
| 7972 |
< |
else |
| 7968 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 7969 |
> |
printf %s "checking for $ac_word... " >&6; } |
| 7970 |
> |
if test ${ac_cv_prog_OTOOL64+y} |
| 7971 |
> |
then : |
| 7972 |
> |
printf %s "(cached) " >&6 |
| 7973 |
> |
else $as_nop |
| 7974 |
|
if test -n "$OTOOL64"; then |
| 7975 |
|
ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. |
| 7976 |
|
else |
| 7978 |
|
for as_dir in $PATH |
| 7979 |
|
do |
| 7980 |
|
IFS=$as_save_IFS |
| 7981 |
< |
test -z "$as_dir" && as_dir=. |
| 7981 |
> |
case $as_dir in #((( |
| 7982 |
> |
'') as_dir=./ ;; |
| 7983 |
> |
*/) ;; |
| 7984 |
> |
*) as_dir=$as_dir/ ;; |
| 7985 |
> |
esac |
| 7986 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 7987 |
< |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 7987 |
> |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 7988 |
|
ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" |
| 7989 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 7989 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 7990 |
|
break 2 |
| 7991 |
|
fi |
| 7992 |
|
done |
| 7997 |
|
fi |
| 7998 |
|
OTOOL64=$ac_cv_prog_OTOOL64 |
| 7999 |
|
if test -n "$OTOOL64"; then |
| 8000 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 |
| 8001 |
< |
$as_echo "$OTOOL64" >&6; } |
| 8000 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 |
| 8001 |
> |
printf "%s\n" "$OTOOL64" >&6; } |
| 8002 |
|
else |
| 8003 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 8004 |
< |
$as_echo "no" >&6; } |
| 8003 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 8004 |
> |
printf "%s\n" "no" >&6; } |
| 8005 |
|
fi |
| 8006 |
|
|
| 8007 |
|
|
| 8010 |
|
ac_ct_OTOOL64=$OTOOL64 |
| 8011 |
|
# Extract the first word of "otool64", so it can be a program name with args. |
| 8012 |
|
set dummy otool64; ac_word=$2 |
| 8013 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 8014 |
< |
$as_echo_n "checking for $ac_word... " >&6; } |
| 8015 |
< |
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : |
| 8016 |
< |
$as_echo_n "(cached) " >&6 |
| 8017 |
< |
else |
| 8013 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 8014 |
> |
printf %s "checking for $ac_word... " >&6; } |
| 8015 |
> |
if test ${ac_cv_prog_ac_ct_OTOOL64+y} |
| 8016 |
> |
then : |
| 8017 |
> |
printf %s "(cached) " >&6 |
| 8018 |
> |
else $as_nop |
| 8019 |
|
if test -n "$ac_ct_OTOOL64"; then |
| 8020 |
|
ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. |
| 8021 |
|
else |
| 8023 |
|
for as_dir in $PATH |
| 8024 |
|
do |
| 8025 |
|
IFS=$as_save_IFS |
| 8026 |
< |
test -z "$as_dir" && as_dir=. |
| 8026 |
> |
case $as_dir in #((( |
| 8027 |
> |
'') as_dir=./ ;; |
| 8028 |
> |
*/) ;; |
| 8029 |
> |
*) as_dir=$as_dir/ ;; |
| 8030 |
> |
esac |
| 8031 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 8032 |
< |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 8032 |
> |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 8033 |
|
ac_cv_prog_ac_ct_OTOOL64="otool64" |
| 8034 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 8034 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 8035 |
|
break 2 |
| 8036 |
|
fi |
| 8037 |
|
done |
| 8042 |
|
fi |
| 8043 |
|
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 |
| 8044 |
|
if test -n "$ac_ct_OTOOL64"; then |
| 8045 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 |
| 8046 |
< |
$as_echo "$ac_ct_OTOOL64" >&6; } |
| 8045 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 |
| 8046 |
> |
printf "%s\n" "$ac_ct_OTOOL64" >&6; } |
| 8047 |
|
else |
| 8048 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 8049 |
< |
$as_echo "no" >&6; } |
| 8048 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 8049 |
> |
printf "%s\n" "no" >&6; } |
| 8050 |
|
fi |
| 8051 |
|
|
| 8052 |
|
if test "x$ac_ct_OTOOL64" = x; then |
| 8054 |
|
else |
| 8055 |
|
case $cross_compiling:$ac_tool_warned in |
| 8056 |
|
yes:) |
| 8057 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 8058 |
< |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 8057 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 8058 |
> |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 8059 |
|
ac_tool_warned=yes ;; |
| 8060 |
|
esac |
| 8061 |
|
OTOOL64=$ac_ct_OTOOL64 |
| 8090 |
|
|
| 8091 |
|
|
| 8092 |
|
|
| 8093 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 |
| 8094 |
< |
$as_echo_n "checking for -single_module linker flag... " >&6; } |
| 8095 |
< |
if ${lt_cv_apple_cc_single_mod+:} false; then : |
| 8096 |
< |
$as_echo_n "(cached) " >&6 |
| 8097 |
< |
else |
| 8093 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 |
| 8094 |
> |
printf %s "checking for -single_module linker flag... " >&6; } |
| 8095 |
> |
if test ${lt_cv_apple_cc_single_mod+y} |
| 8096 |
> |
then : |
| 8097 |
> |
printf %s "(cached) " >&6 |
| 8098 |
> |
else $as_nop |
| 8099 |
|
lt_cv_apple_cc_single_mod=no |
| 8100 |
|
if test -z "$LT_MULTI_MODULE"; then |
| 8101 |
|
# By default we will add the -single_module flag. You can override |
| 8124 |
|
rm -f conftest.* |
| 8125 |
|
fi |
| 8126 |
|
fi |
| 8127 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 |
| 8128 |
< |
$as_echo "$lt_cv_apple_cc_single_mod" >&6; } |
| 8127 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 |
| 8128 |
> |
printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; } |
| 8129 |
|
|
| 8130 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 |
| 8131 |
< |
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } |
| 8132 |
< |
if ${lt_cv_ld_exported_symbols_list+:} false; then : |
| 8133 |
< |
$as_echo_n "(cached) " >&6 |
| 8134 |
< |
else |
| 8130 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 |
| 8131 |
> |
printf %s "checking for -exported_symbols_list linker flag... " >&6; } |
| 8132 |
> |
if test ${lt_cv_ld_exported_symbols_list+y} |
| 8133 |
> |
then : |
| 8134 |
> |
printf %s "(cached) " >&6 |
| 8135 |
> |
else $as_nop |
| 8136 |
|
lt_cv_ld_exported_symbols_list=no |
| 8137 |
|
save_LDFLAGS=$LDFLAGS |
| 8138 |
|
echo "_main" > conftest.sym |
| 8141 |
|
/* end confdefs.h. */ |
| 8142 |
|
|
| 8143 |
|
int |
| 8144 |
< |
main () |
| 8144 |
> |
main (void) |
| 8145 |
|
{ |
| 8146 |
|
|
| 8147 |
|
; |
| 8148 |
|
return 0; |
| 8149 |
|
} |
| 8150 |
|
_ACEOF |
| 8151 |
< |
if ac_fn_c_try_link "$LINENO"; then : |
| 8151 |
> |
if ac_fn_c_try_link "$LINENO" |
| 8152 |
> |
then : |
| 8153 |
|
lt_cv_ld_exported_symbols_list=yes |
| 8154 |
< |
else |
| 8154 |
> |
else $as_nop |
| 8155 |
|
lt_cv_ld_exported_symbols_list=no |
| 8156 |
|
fi |
| 8157 |
< |
rm -f core conftest.err conftest.$ac_objext \ |
| 8157 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 8158 |
|
conftest$ac_exeext conftest.$ac_ext |
| 8159 |
|
LDFLAGS=$save_LDFLAGS |
| 8160 |
|
|
| 8161 |
|
fi |
| 8162 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 |
| 8163 |
< |
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } |
| 8162 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 |
| 8163 |
> |
printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; } |
| 8164 |
|
|
| 8165 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 |
| 8166 |
< |
$as_echo_n "checking for -force_load linker flag... " >&6; } |
| 8167 |
< |
if ${lt_cv_ld_force_load+:} false; then : |
| 8168 |
< |
$as_echo_n "(cached) " >&6 |
| 8169 |
< |
else |
| 8165 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 |
| 8166 |
> |
printf %s "checking for -force_load linker flag... " >&6; } |
| 8167 |
> |
if test ${lt_cv_ld_force_load+y} |
| 8168 |
> |
then : |
| 8169 |
> |
printf %s "(cached) " >&6 |
| 8170 |
> |
else $as_nop |
| 8171 |
|
lt_cv_ld_force_load=no |
| 8172 |
|
cat > conftest.c << _LT_EOF |
| 8173 |
|
int forced_loaded() { return 2;} |
| 8174 |
|
_LT_EOF |
| 8175 |
|
echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 |
| 8176 |
|
$LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 |
| 8177 |
< |
echo "$AR cru libconftest.a conftest.o" >&5 |
| 8178 |
< |
$AR cru libconftest.a conftest.o 2>&5 |
| 8177 |
> |
echo "$AR $AR_FLAGS libconftest.a conftest.o" >&5 |
| 8178 |
> |
$AR $AR_FLAGS libconftest.a conftest.o 2>&5 |
| 8179 |
|
echo "$RANLIB libconftest.a" >&5 |
| 8180 |
|
$RANLIB libconftest.a 2>&5 |
| 8181 |
|
cat > conftest.c << _LT_EOF |
| 8195 |
|
rm -rf conftest.dSYM |
| 8196 |
|
|
| 8197 |
|
fi |
| 8198 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 |
| 8199 |
< |
$as_echo "$lt_cv_ld_force_load" >&6; } |
| 8198 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 |
| 8199 |
> |
printf "%s\n" "$lt_cv_ld_force_load" >&6; } |
| 8200 |
|
case $host_os in |
| 8201 |
|
rhapsody* | darwin1.[012]) |
| 8202 |
|
_lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;; |
| 8203 |
|
darwin1.*) |
| 8204 |
|
_lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; |
| 8205 |
< |
darwin*) # darwin 5.x on |
| 8206 |
< |
# if running on 10.5 or later, the deployment target defaults |
| 8207 |
< |
# to the OS version, if on x86, and 10.4, the deployment |
| 8208 |
< |
# target defaults to 10.4. Don't you love it? |
| 8209 |
< |
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in |
| 8210 |
< |
10.0,*86*-darwin8*|10.0,*-darwin[91]*) |
| 7449 |
< |
_lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; |
| 7450 |
< |
10.[012][,.]*) |
| 7451 |
< |
_lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; |
| 7452 |
< |
10.*) |
| 7453 |
< |
_lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; |
| 8205 |
> |
darwin*) |
| 8206 |
> |
case $MACOSX_DEPLOYMENT_TARGET,$host in |
| 8207 |
> |
10.[012],*|,*powerpc*-darwin[5-8]*) |
| 8208 |
> |
_lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; |
| 8209 |
> |
*) |
| 8210 |
> |
_lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; |
| 8211 |
|
esac |
| 8212 |
|
;; |
| 8213 |
|
esac |
| 8262 |
|
esac |
| 8263 |
|
} |
| 8264 |
|
|
| 8265 |
< |
ac_ext=c |
| 8266 |
< |
ac_cpp='$CPP $CPPFLAGS' |
| 7510 |
< |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 7511 |
< |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 7512 |
< |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 7513 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 |
| 7514 |
< |
$as_echo_n "checking how to run the C preprocessor... " >&6; } |
| 7515 |
< |
# On Suns, sometimes $CPP names a directory. |
| 7516 |
< |
if test -n "$CPP" && test -d "$CPP"; then |
| 7517 |
< |
CPP= |
| 7518 |
< |
fi |
| 7519 |
< |
if test -z "$CPP"; then |
| 7520 |
< |
if ${ac_cv_prog_CPP+:} false; then : |
| 7521 |
< |
$as_echo_n "(cached) " >&6 |
| 7522 |
< |
else |
| 7523 |
< |
# Double quotes because CPP needs to be expanded |
| 7524 |
< |
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
| 7525 |
< |
do |
| 7526 |
< |
ac_preproc_ok=false |
| 7527 |
< |
for ac_c_preproc_warn_flag in '' yes |
| 8265 |
> |
ac_header= ac_cache= |
| 8266 |
> |
for ac_item in $ac_header_c_list |
| 8267 |
|
do |
| 8268 |
< |
# Use a header file that comes with gcc, so configuring glibc |
| 8269 |
< |
# with a fresh cross-compiler works. |
| 8270 |
< |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 8271 |
< |
# <limits.h> exists even on freestanding compilers. |
| 8272 |
< |
# On the NeXT, cc -E runs the code through the compiler's parser, |
| 8273 |
< |
# not just through cpp. "Syntax error" is here to catch this case. |
| 8274 |
< |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 8275 |
< |
/* end confdefs.h. */ |
| 8276 |
< |
#ifdef __STDC__ |
| 8277 |
< |
# include <limits.h> |
| 8278 |
< |
#else |
| 7540 |
< |
# include <assert.h> |
| 7541 |
< |
#endif |
| 7542 |
< |
Syntax error |
| 7543 |
< |
_ACEOF |
| 7544 |
< |
if ac_fn_c_try_cpp "$LINENO"; then : |
| 7545 |
< |
|
| 7546 |
< |
else |
| 7547 |
< |
# Broken: fails on valid input. |
| 7548 |
< |
continue |
| 7549 |
< |
fi |
| 7550 |
< |
rm -f conftest.err conftest.i conftest.$ac_ext |
| 7551 |
< |
|
| 7552 |
< |
# OK, works on sane cases. Now check whether nonexistent headers |
| 7553 |
< |
# can be detected and how. |
| 7554 |
< |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 7555 |
< |
/* end confdefs.h. */ |
| 7556 |
< |
#include <ac_nonexistent.h> |
| 7557 |
< |
_ACEOF |
| 7558 |
< |
if ac_fn_c_try_cpp "$LINENO"; then : |
| 7559 |
< |
# Broken: success on invalid input. |
| 7560 |
< |
continue |
| 7561 |
< |
else |
| 7562 |
< |
# Passes both tests. |
| 7563 |
< |
ac_preproc_ok=: |
| 7564 |
< |
break |
| 7565 |
< |
fi |
| 7566 |
< |
rm -f conftest.err conftest.i conftest.$ac_ext |
| 7567 |
< |
|
| 7568 |
< |
done |
| 7569 |
< |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
| 7570 |
< |
rm -f conftest.i conftest.err conftest.$ac_ext |
| 7571 |
< |
if $ac_preproc_ok; then : |
| 7572 |
< |
break |
| 7573 |
< |
fi |
| 7574 |
< |
|
| 7575 |
< |
done |
| 7576 |
< |
ac_cv_prog_CPP=$CPP |
| 7577 |
< |
|
| 7578 |
< |
fi |
| 7579 |
< |
CPP=$ac_cv_prog_CPP |
| 7580 |
< |
else |
| 7581 |
< |
ac_cv_prog_CPP=$CPP |
| 7582 |
< |
fi |
| 7583 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 |
| 7584 |
< |
$as_echo "$CPP" >&6; } |
| 7585 |
< |
ac_preproc_ok=false |
| 7586 |
< |
for ac_c_preproc_warn_flag in '' yes |
| 7587 |
< |
do |
| 7588 |
< |
# Use a header file that comes with gcc, so configuring glibc |
| 7589 |
< |
# with a fresh cross-compiler works. |
| 7590 |
< |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 7591 |
< |
# <limits.h> exists even on freestanding compilers. |
| 7592 |
< |
# On the NeXT, cc -E runs the code through the compiler's parser, |
| 7593 |
< |
# not just through cpp. "Syntax error" is here to catch this case. |
| 7594 |
< |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 7595 |
< |
/* end confdefs.h. */ |
| 7596 |
< |
#ifdef __STDC__ |
| 7597 |
< |
# include <limits.h> |
| 7598 |
< |
#else |
| 7599 |
< |
# include <assert.h> |
| 7600 |
< |
#endif |
| 7601 |
< |
Syntax error |
| 7602 |
< |
_ACEOF |
| 7603 |
< |
if ac_fn_c_try_cpp "$LINENO"; then : |
| 7604 |
< |
|
| 7605 |
< |
else |
| 7606 |
< |
# Broken: fails on valid input. |
| 7607 |
< |
continue |
| 7608 |
< |
fi |
| 7609 |
< |
rm -f conftest.err conftest.i conftest.$ac_ext |
| 7610 |
< |
|
| 7611 |
< |
# OK, works on sane cases. Now check whether nonexistent headers |
| 7612 |
< |
# can be detected and how. |
| 7613 |
< |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 7614 |
< |
/* end confdefs.h. */ |
| 7615 |
< |
#include <ac_nonexistent.h> |
| 7616 |
< |
_ACEOF |
| 7617 |
< |
if ac_fn_c_try_cpp "$LINENO"; then : |
| 7618 |
< |
# Broken: success on invalid input. |
| 7619 |
< |
continue |
| 7620 |
< |
else |
| 7621 |
< |
# Passes both tests. |
| 7622 |
< |
ac_preproc_ok=: |
| 7623 |
< |
break |
| 7624 |
< |
fi |
| 7625 |
< |
rm -f conftest.err conftest.i conftest.$ac_ext |
| 7626 |
< |
|
| 8268 |
> |
if test $ac_cache; then |
| 8269 |
> |
ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default" |
| 8270 |
> |
if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then |
| 8271 |
> |
printf "%s\n" "#define $ac_item 1" >> confdefs.h |
| 8272 |
> |
fi |
| 8273 |
> |
ac_header= ac_cache= |
| 8274 |
> |
elif test $ac_header; then |
| 8275 |
> |
ac_cache=$ac_item |
| 8276 |
> |
else |
| 8277 |
> |
ac_header=$ac_item |
| 8278 |
> |
fi |
| 8279 |
|
done |
| 7628 |
– |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
| 7629 |
– |
rm -f conftest.i conftest.err conftest.$ac_ext |
| 7630 |
– |
if $ac_preproc_ok; then : |
| 7631 |
– |
|
| 7632 |
– |
else |
| 7633 |
– |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 7634 |
– |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 7635 |
– |
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
| 7636 |
– |
See \`config.log' for more details" "$LINENO" 5; } |
| 7637 |
– |
fi |
| 7638 |
– |
|
| 7639 |
– |
ac_ext=c |
| 7640 |
– |
ac_cpp='$CPP $CPPFLAGS' |
| 7641 |
– |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 7642 |
– |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 7643 |
– |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 7644 |
– |
|
| 8280 |
|
|
| 7646 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
| 7647 |
– |
$as_echo_n "checking for ANSI C header files... " >&6; } |
| 7648 |
– |
if ${ac_cv_header_stdc+:} false; then : |
| 7649 |
– |
$as_echo_n "(cached) " >&6 |
| 7650 |
– |
else |
| 7651 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 7652 |
– |
/* end confdefs.h. */ |
| 7653 |
– |
#include <stdlib.h> |
| 7654 |
– |
#include <stdarg.h> |
| 7655 |
– |
#include <string.h> |
| 7656 |
– |
#include <float.h> |
| 7657 |
– |
|
| 7658 |
– |
int |
| 7659 |
– |
main () |
| 7660 |
– |
{ |
| 7661 |
– |
|
| 7662 |
– |
; |
| 7663 |
– |
return 0; |
| 7664 |
– |
} |
| 7665 |
– |
_ACEOF |
| 7666 |
– |
if ac_fn_c_try_compile "$LINENO"; then : |
| 7667 |
– |
ac_cv_header_stdc=yes |
| 7668 |
– |
else |
| 7669 |
– |
ac_cv_header_stdc=no |
| 7670 |
– |
fi |
| 7671 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 7672 |
– |
|
| 7673 |
– |
if test $ac_cv_header_stdc = yes; then |
| 7674 |
– |
# SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
| 7675 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 7676 |
– |
/* end confdefs.h. */ |
| 7677 |
– |
#include <string.h> |
| 7678 |
– |
|
| 7679 |
– |
_ACEOF |
| 7680 |
– |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 7681 |
– |
$EGREP "memchr" >/dev/null 2>&1; then : |
| 7682 |
– |
|
| 7683 |
– |
else |
| 7684 |
– |
ac_cv_header_stdc=no |
| 7685 |
– |
fi |
| 7686 |
– |
rm -f conftest* |
| 7687 |
– |
|
| 7688 |
– |
fi |
| 7689 |
– |
|
| 7690 |
– |
if test $ac_cv_header_stdc = yes; then |
| 7691 |
– |
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
| 7692 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 7693 |
– |
/* end confdefs.h. */ |
| 7694 |
– |
#include <stdlib.h> |
| 8281 |
|
|
| 7696 |
– |
_ACEOF |
| 7697 |
– |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 7698 |
– |
$EGREP "free" >/dev/null 2>&1; then : |
| 8282 |
|
|
| 7700 |
– |
else |
| 7701 |
– |
ac_cv_header_stdc=no |
| 7702 |
– |
fi |
| 7703 |
– |
rm -f conftest* |
| 8283 |
|
|
| 7705 |
– |
fi |
| 8284 |
|
|
| 7707 |
– |
if test $ac_cv_header_stdc = yes; then |
| 7708 |
– |
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
| 7709 |
– |
if test "$cross_compiling" = yes; then : |
| 7710 |
– |
: |
| 7711 |
– |
else |
| 7712 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 7713 |
– |
/* end confdefs.h. */ |
| 7714 |
– |
#include <ctype.h> |
| 7715 |
– |
#include <stdlib.h> |
| 7716 |
– |
#if ((' ' & 0x0FF) == 0x020) |
| 7717 |
– |
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
| 7718 |
– |
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
| 7719 |
– |
#else |
| 7720 |
– |
# define ISLOWER(c) \ |
| 7721 |
– |
(('a' <= (c) && (c) <= 'i') \ |
| 7722 |
– |
|| ('j' <= (c) && (c) <= 'r') \ |
| 7723 |
– |
|| ('s' <= (c) && (c) <= 'z')) |
| 7724 |
– |
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
| 7725 |
– |
#endif |
| 8285 |
|
|
| 7727 |
– |
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
| 7728 |
– |
int |
| 7729 |
– |
main () |
| 7730 |
– |
{ |
| 7731 |
– |
int i; |
| 7732 |
– |
for (i = 0; i < 256; i++) |
| 7733 |
– |
if (XOR (islower (i), ISLOWER (i)) |
| 7734 |
– |
|| toupper (i) != TOUPPER (i)) |
| 7735 |
– |
return 2; |
| 7736 |
– |
return 0; |
| 7737 |
– |
} |
| 7738 |
– |
_ACEOF |
| 7739 |
– |
if ac_fn_c_try_run "$LINENO"; then : |
| 8286 |
|
|
| 7741 |
– |
else |
| 7742 |
– |
ac_cv_header_stdc=no |
| 7743 |
– |
fi |
| 7744 |
– |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 7745 |
– |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 7746 |
– |
fi |
| 8287 |
|
|
| 8288 |
< |
fi |
| 8289 |
< |
fi |
| 7750 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 |
| 7751 |
< |
$as_echo "$ac_cv_header_stdc" >&6; } |
| 7752 |
< |
if test $ac_cv_header_stdc = yes; then |
| 8288 |
> |
if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes |
| 8289 |
> |
then : |
| 8290 |
|
|
| 8291 |
< |
$as_echo "#define STDC_HEADERS 1" >>confdefs.h |
| 8291 |
> |
printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h |
| 8292 |
|
|
| 8293 |
|
fi |
| 8294 |
< |
|
| 7758 |
< |
# On IRIX 5.3, sys/types and inttypes.h are conflicting. |
| 7759 |
< |
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
| 7760 |
< |
inttypes.h stdint.h unistd.h |
| 7761 |
< |
do : |
| 7762 |
< |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 7763 |
< |
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
| 8294 |
> |
ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default |
| 8295 |
|
" |
| 8296 |
< |
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
| 8297 |
< |
cat >>confdefs.h <<_ACEOF |
| 8298 |
< |
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 7768 |
< |
_ACEOF |
| 8296 |
> |
if test "x$ac_cv_header_dlfcn_h" = xyes |
| 8297 |
> |
then : |
| 8298 |
> |
printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h |
| 8299 |
|
|
| 8300 |
|
fi |
| 8301 |
|
|
| 7772 |
– |
done |
| 7773 |
– |
|
| 7774 |
– |
|
| 7775 |
– |
for ac_header in dlfcn.h |
| 7776 |
– |
do : |
| 7777 |
– |
ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default |
| 7778 |
– |
" |
| 7779 |
– |
if test "x$ac_cv_header_dlfcn_h" = xyes; then : |
| 7780 |
– |
cat >>confdefs.h <<_ACEOF |
| 7781 |
– |
#define HAVE_DLFCN_H 1 |
| 7782 |
– |
_ACEOF |
| 7783 |
– |
|
| 7784 |
– |
fi |
| 7785 |
– |
|
| 7786 |
– |
done |
| 7787 |
– |
|
| 8302 |
|
|
| 8303 |
|
|
| 8304 |
|
|
| 8314 |
|
|
| 8315 |
|
|
| 8316 |
|
# Check whether --enable-shared was given. |
| 8317 |
< |
if test "${enable_shared+set}" = set; then : |
| 8317 |
> |
if test ${enable_shared+y} |
| 8318 |
> |
then : |
| 8319 |
|
enableval=$enable_shared; p=${PACKAGE-default} |
| 8320 |
|
case $enableval in |
| 8321 |
|
yes) enable_shared=yes ;; |
| 8333 |
|
IFS=$lt_save_ifs |
| 8334 |
|
;; |
| 8335 |
|
esac |
| 8336 |
< |
else |
| 8336 |
> |
else $as_nop |
| 8337 |
|
enable_shared=yes |
| 8338 |
|
fi |
| 8339 |
|
|
| 8346 |
|
|
| 8347 |
|
|
| 8348 |
|
# Check whether --enable-static was given. |
| 8349 |
< |
if test "${enable_static+set}" = set; then : |
| 8349 |
> |
if test ${enable_static+y} |
| 8350 |
> |
then : |
| 8351 |
|
enableval=$enable_static; p=${PACKAGE-default} |
| 8352 |
|
case $enableval in |
| 8353 |
|
yes) enable_static=yes ;; |
| 8365 |
|
IFS=$lt_save_ifs |
| 8366 |
|
;; |
| 8367 |
|
esac |
| 8368 |
< |
else |
| 8368 |
> |
else $as_nop |
| 8369 |
|
enable_static=yes |
| 8370 |
|
fi |
| 8371 |
|
|
| 8379 |
|
|
| 8380 |
|
|
| 8381 |
|
# Check whether --with-pic was given. |
| 8382 |
< |
if test "${with_pic+set}" = set; then : |
| 8382 |
> |
if test ${with_pic+y} |
| 8383 |
> |
then : |
| 8384 |
|
withval=$with_pic; lt_p=${PACKAGE-default} |
| 8385 |
|
case $withval in |
| 8386 |
|
yes|no) pic_mode=$withval ;; |
| 8397 |
|
IFS=$lt_save_ifs |
| 8398 |
|
;; |
| 8399 |
|
esac |
| 8400 |
< |
else |
| 8400 |
> |
else $as_nop |
| 8401 |
|
pic_mode=default |
| 8402 |
|
fi |
| 8403 |
|
|
| 8409 |
|
|
| 8410 |
|
|
| 8411 |
|
# Check whether --enable-fast-install was given. |
| 8412 |
< |
if test "${enable_fast_install+set}" = set; then : |
| 8412 |
> |
if test ${enable_fast_install+y} |
| 8413 |
> |
then : |
| 8414 |
|
enableval=$enable_fast_install; p=${PACKAGE-default} |
| 8415 |
|
case $enableval in |
| 8416 |
|
yes) enable_fast_install=yes ;; |
| 8428 |
|
IFS=$lt_save_ifs |
| 8429 |
|
;; |
| 8430 |
|
esac |
| 8431 |
< |
else |
| 8431 |
> |
else $as_nop |
| 8432 |
|
enable_fast_install=yes |
| 8433 |
|
fi |
| 8434 |
|
|
| 8442 |
|
shared_archive_member_spec= |
| 8443 |
|
case $host,$enable_shared in |
| 8444 |
|
power*-*-aix[5-9]*,yes) |
| 8445 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5 |
| 8446 |
< |
$as_echo_n "checking which variant of shared library versioning to provide... " >&6; } |
| 8445 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5 |
| 8446 |
> |
printf %s "checking which variant of shared library versioning to provide... " >&6; } |
| 8447 |
|
|
| 8448 |
|
# Check whether --with-aix-soname was given. |
| 8449 |
< |
if test "${with_aix_soname+set}" = set; then : |
| 8449 |
> |
if test ${with_aix_soname+y} |
| 8450 |
> |
then : |
| 8451 |
|
withval=$with_aix_soname; case $withval in |
| 8452 |
|
aix|svr4|both) |
| 8453 |
|
;; |
| 8456 |
|
;; |
| 8457 |
|
esac |
| 8458 |
|
lt_cv_with_aix_soname=$with_aix_soname |
| 8459 |
< |
else |
| 8460 |
< |
if ${lt_cv_with_aix_soname+:} false; then : |
| 8461 |
< |
$as_echo_n "(cached) " >&6 |
| 8462 |
< |
else |
| 8459 |
> |
else $as_nop |
| 8460 |
> |
if test ${lt_cv_with_aix_soname+y} |
| 8461 |
> |
then : |
| 8462 |
> |
printf %s "(cached) " >&6 |
| 8463 |
> |
else $as_nop |
| 8464 |
|
lt_cv_with_aix_soname=aix |
| 8465 |
|
fi |
| 8466 |
|
|
| 8467 |
|
with_aix_soname=$lt_cv_with_aix_soname |
| 8468 |
|
fi |
| 8469 |
|
|
| 8470 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5 |
| 8471 |
< |
$as_echo "$with_aix_soname" >&6; } |
| 8470 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5 |
| 8471 |
> |
printf "%s\n" "$with_aix_soname" >&6; } |
| 8472 |
|
if test aix != "$with_aix_soname"; then |
| 8473 |
|
# For the AIX way of multilib, we name the shared archive member |
| 8474 |
|
# based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o', |
| 8550 |
|
setopt NO_GLOB_SUBST |
| 8551 |
|
fi |
| 8552 |
|
|
| 8553 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 |
| 8554 |
< |
$as_echo_n "checking for objdir... " >&6; } |
| 8555 |
< |
if ${lt_cv_objdir+:} false; then : |
| 8556 |
< |
$as_echo_n "(cached) " >&6 |
| 8557 |
< |
else |
| 8553 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 |
| 8554 |
> |
printf %s "checking for objdir... " >&6; } |
| 8555 |
> |
if test ${lt_cv_objdir+y} |
| 8556 |
> |
then : |
| 8557 |
> |
printf %s "(cached) " >&6 |
| 8558 |
> |
else $as_nop |
| 8559 |
|
rm -f .libs 2>/dev/null |
| 8560 |
|
mkdir .libs 2>/dev/null |
| 8561 |
|
if test -d .libs; then |
| 8566 |
|
fi |
| 8567 |
|
rmdir .libs 2>/dev/null |
| 8568 |
|
fi |
| 8569 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 |
| 8570 |
< |
$as_echo "$lt_cv_objdir" >&6; } |
| 8569 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 |
| 8570 |
> |
printf "%s\n" "$lt_cv_objdir" >&6; } |
| 8571 |
|
objdir=$lt_cv_objdir |
| 8572 |
|
|
| 8573 |
|
|
| 8574 |
|
|
| 8575 |
|
|
| 8576 |
|
|
| 8577 |
< |
cat >>confdefs.h <<_ACEOF |
| 8057 |
< |
#define LT_OBJDIR "$lt_cv_objdir/" |
| 8058 |
< |
_ACEOF |
| 8577 |
> |
printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h |
| 8578 |
|
|
| 8579 |
|
|
| 8580 |
|
|
| 8595 |
|
ofile=libtool |
| 8596 |
|
can_build_shared=yes |
| 8597 |
|
|
| 8598 |
< |
# All known linkers require a '.a' archive for static linking (except MSVC, |
| 8599 |
< |
# which needs '.lib'). |
| 8598 |
> |
# All known linkers require a '.a' archive for static linking (except MSVC and |
| 8599 |
> |
# ICC, which need '.lib'). |
| 8600 |
|
libext=a |
| 8601 |
|
|
| 8602 |
|
with_gnu_ld=$lt_cv_prog_gnu_ld |
| 8620 |
|
case $deplibs_check_method in |
| 8621 |
|
file_magic*) |
| 8622 |
|
if test "$file_magic_cmd" = '$MAGIC_CMD'; then |
| 8623 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 |
| 8624 |
< |
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } |
| 8625 |
< |
if ${lt_cv_path_MAGIC_CMD+:} false; then : |
| 8626 |
< |
$as_echo_n "(cached) " >&6 |
| 8627 |
< |
else |
| 8623 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 |
| 8624 |
> |
printf %s "checking for ${ac_tool_prefix}file... " >&6; } |
| 8625 |
> |
if test ${lt_cv_path_MAGIC_CMD+y} |
| 8626 |
> |
then : |
| 8627 |
> |
printf %s "(cached) " >&6 |
| 8628 |
> |
else $as_nop |
| 8629 |
|
case $MAGIC_CMD in |
| 8630 |
|
[\\/*] | ?:[\\/]*) |
| 8631 |
|
lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. |
| 8674 |
|
|
| 8675 |
|
MAGIC_CMD=$lt_cv_path_MAGIC_CMD |
| 8676 |
|
if test -n "$MAGIC_CMD"; then |
| 8677 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 |
| 8678 |
< |
$as_echo "$MAGIC_CMD" >&6; } |
| 8677 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 |
| 8678 |
> |
printf "%s\n" "$MAGIC_CMD" >&6; } |
| 8679 |
|
else |
| 8680 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 8681 |
< |
$as_echo "no" >&6; } |
| 8680 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 8681 |
> |
printf "%s\n" "no" >&6; } |
| 8682 |
|
fi |
| 8683 |
|
|
| 8684 |
|
|
| 8687 |
|
|
| 8688 |
|
if test -z "$lt_cv_path_MAGIC_CMD"; then |
| 8689 |
|
if test -n "$ac_tool_prefix"; then |
| 8690 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 |
| 8691 |
< |
$as_echo_n "checking for file... " >&6; } |
| 8692 |
< |
if ${lt_cv_path_MAGIC_CMD+:} false; then : |
| 8693 |
< |
$as_echo_n "(cached) " >&6 |
| 8694 |
< |
else |
| 8690 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5 |
| 8691 |
> |
printf %s "checking for file... " >&6; } |
| 8692 |
> |
if test ${lt_cv_path_MAGIC_CMD+y} |
| 8693 |
> |
then : |
| 8694 |
> |
printf %s "(cached) " >&6 |
| 8695 |
> |
else $as_nop |
| 8696 |
|
case $MAGIC_CMD in |
| 8697 |
|
[\\/*] | ?:[\\/]*) |
| 8698 |
|
lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. |
| 8741 |
|
|
| 8742 |
|
MAGIC_CMD=$lt_cv_path_MAGIC_CMD |
| 8743 |
|
if test -n "$MAGIC_CMD"; then |
| 8744 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 |
| 8745 |
< |
$as_echo "$MAGIC_CMD" >&6; } |
| 8744 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 |
| 8745 |
> |
printf "%s\n" "$MAGIC_CMD" >&6; } |
| 8746 |
|
else |
| 8747 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 8748 |
< |
$as_echo "no" >&6; } |
| 8747 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 8748 |
> |
printf "%s\n" "no" >&6; } |
| 8749 |
|
fi |
| 8750 |
|
|
| 8751 |
|
|
| 8830 |
|
lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; |
| 8831 |
|
esac |
| 8832 |
|
|
| 8833 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 |
| 8834 |
< |
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } |
| 8835 |
< |
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : |
| 8836 |
< |
$as_echo_n "(cached) " >&6 |
| 8837 |
< |
else |
| 8833 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 |
| 8834 |
> |
printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } |
| 8835 |
> |
if test ${lt_cv_prog_compiler_rtti_exceptions+y} |
| 8836 |
> |
then : |
| 8837 |
> |
printf %s "(cached) " >&6 |
| 8838 |
> |
else $as_nop |
| 8839 |
|
lt_cv_prog_compiler_rtti_exceptions=no |
| 8840 |
|
ac_outfile=conftest.$ac_objext |
| 8841 |
|
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
| 8866 |
|
$RM conftest* |
| 8867 |
|
|
| 8868 |
|
fi |
| 8869 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 |
| 8870 |
< |
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } |
| 8869 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 |
| 8870 |
> |
printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; } |
| 8871 |
|
|
| 8872 |
|
if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then |
| 8873 |
|
lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" |
| 9064 |
|
lt_prog_compiler_pic='-KPIC' |
| 9065 |
|
lt_prog_compiler_static='-static' |
| 9066 |
|
;; |
| 8545 |
– |
# flang / f18. f95 an alias for gfortran or flang on Debian |
| 8546 |
– |
flang* | f18* | f95*) |
| 8547 |
– |
lt_prog_compiler_wl='-Wl,' |
| 8548 |
– |
lt_prog_compiler_pic='-fPIC' |
| 8549 |
– |
lt_prog_compiler_static='-static' |
| 8550 |
– |
;; |
| 9067 |
|
# icc used to be incompatible with GCC. |
| 9068 |
|
# ICC 10 doesn't accept -KPIC any more. |
| 9069 |
|
icc* | ifort*) |
| 9108 |
|
lt_prog_compiler_static='-qstaticlink' |
| 9109 |
|
;; |
| 9110 |
|
*) |
| 9111 |
< |
case `$CC -V 2>&1 | sed 5q` in |
| 9111 |
> |
case `$CC -V 2>&1 | $SED 5q` in |
| 9112 |
|
*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) |
| 9113 |
|
# Sun Fortran 8.3 passes all unrecognized flags to the linker |
| 9114 |
|
lt_prog_compiler_pic='-KPIC' |
| 9224 |
|
;; |
| 9225 |
|
esac |
| 9226 |
|
|
| 9227 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 |
| 9228 |
< |
$as_echo_n "checking for $compiler option to produce PIC... " >&6; } |
| 9229 |
< |
if ${lt_cv_prog_compiler_pic+:} false; then : |
| 9230 |
< |
$as_echo_n "(cached) " >&6 |
| 9231 |
< |
else |
| 9227 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 |
| 9228 |
> |
printf %s "checking for $compiler option to produce PIC... " >&6; } |
| 9229 |
> |
if test ${lt_cv_prog_compiler_pic+y} |
| 9230 |
> |
then : |
| 9231 |
> |
printf %s "(cached) " >&6 |
| 9232 |
> |
else $as_nop |
| 9233 |
|
lt_cv_prog_compiler_pic=$lt_prog_compiler_pic |
| 9234 |
|
fi |
| 9235 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 |
| 9236 |
< |
$as_echo "$lt_cv_prog_compiler_pic" >&6; } |
| 9235 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 |
| 9236 |
> |
printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; } |
| 9237 |
|
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic |
| 9238 |
|
|
| 9239 |
|
# |
| 9240 |
|
# Check to make sure the PIC flag actually works. |
| 9241 |
|
# |
| 9242 |
|
if test -n "$lt_prog_compiler_pic"; then |
| 9243 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 |
| 9244 |
< |
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } |
| 9245 |
< |
if ${lt_cv_prog_compiler_pic_works+:} false; then : |
| 9246 |
< |
$as_echo_n "(cached) " >&6 |
| 9247 |
< |
else |
| 9243 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 |
| 9244 |
> |
printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } |
| 9245 |
> |
if test ${lt_cv_prog_compiler_pic_works+y} |
| 9246 |
> |
then : |
| 9247 |
> |
printf %s "(cached) " >&6 |
| 9248 |
> |
else $as_nop |
| 9249 |
|
lt_cv_prog_compiler_pic_works=no |
| 9250 |
|
ac_outfile=conftest.$ac_objext |
| 9251 |
|
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
| 9276 |
|
$RM conftest* |
| 9277 |
|
|
| 9278 |
|
fi |
| 9279 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 |
| 9280 |
< |
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } |
| 9279 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 |
| 9280 |
> |
printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; } |
| 9281 |
|
|
| 9282 |
|
if test yes = "$lt_cv_prog_compiler_pic_works"; then |
| 9283 |
|
case $lt_prog_compiler_pic in |
| 9305 |
|
# Check to make sure the static flag actually works. |
| 9306 |
|
# |
| 9307 |
|
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" |
| 9308 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 |
| 9309 |
< |
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } |
| 9310 |
< |
if ${lt_cv_prog_compiler_static_works+:} false; then : |
| 9311 |
< |
$as_echo_n "(cached) " >&6 |
| 9312 |
< |
else |
| 9308 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 |
| 9309 |
> |
printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } |
| 9310 |
> |
if test ${lt_cv_prog_compiler_static_works+y} |
| 9311 |
> |
then : |
| 9312 |
> |
printf %s "(cached) " >&6 |
| 9313 |
> |
else $as_nop |
| 9314 |
|
lt_cv_prog_compiler_static_works=no |
| 9315 |
|
save_LDFLAGS=$LDFLAGS |
| 9316 |
|
LDFLAGS="$LDFLAGS $lt_tmp_static_flag" |
| 9334 |
|
LDFLAGS=$save_LDFLAGS |
| 9335 |
|
|
| 9336 |
|
fi |
| 9337 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 |
| 9338 |
< |
$as_echo "$lt_cv_prog_compiler_static_works" >&6; } |
| 9337 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 |
| 9338 |
> |
printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; } |
| 9339 |
|
|
| 9340 |
|
if test yes = "$lt_cv_prog_compiler_static_works"; then |
| 9341 |
|
: |
| 9349 |
|
|
| 9350 |
|
|
| 9351 |
|
|
| 9352 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 |
| 9353 |
< |
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } |
| 9354 |
< |
if ${lt_cv_prog_compiler_c_o+:} false; then : |
| 9355 |
< |
$as_echo_n "(cached) " >&6 |
| 9356 |
< |
else |
| 9352 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 |
| 9353 |
> |
printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; } |
| 9354 |
> |
if test ${lt_cv_prog_compiler_c_o+y} |
| 9355 |
> |
then : |
| 9356 |
> |
printf %s "(cached) " >&6 |
| 9357 |
> |
else $as_nop |
| 9358 |
|
lt_cv_prog_compiler_c_o=no |
| 9359 |
|
$RM -r conftest 2>/dev/null |
| 9360 |
|
mkdir conftest |
| 9397 |
|
$RM conftest* |
| 9398 |
|
|
| 9399 |
|
fi |
| 9400 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 |
| 9401 |
< |
$as_echo "$lt_cv_prog_compiler_c_o" >&6; } |
| 9400 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 |
| 9401 |
> |
printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; } |
| 9402 |
|
|
| 9403 |
|
|
| 9404 |
|
|
| 9405 |
|
|
| 9406 |
|
|
| 9407 |
|
|
| 9408 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 |
| 9409 |
< |
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } |
| 9410 |
< |
if ${lt_cv_prog_compiler_c_o+:} false; then : |
| 9411 |
< |
$as_echo_n "(cached) " >&6 |
| 9412 |
< |
else |
| 9408 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 |
| 9409 |
> |
printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; } |
| 9410 |
> |
if test ${lt_cv_prog_compiler_c_o+y} |
| 9411 |
> |
then : |
| 9412 |
> |
printf %s "(cached) " >&6 |
| 9413 |
> |
else $as_nop |
| 9414 |
|
lt_cv_prog_compiler_c_o=no |
| 9415 |
|
$RM -r conftest 2>/dev/null |
| 9416 |
|
mkdir conftest |
| 9453 |
|
$RM conftest* |
| 9454 |
|
|
| 9455 |
|
fi |
| 9456 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 |
| 9457 |
< |
$as_echo "$lt_cv_prog_compiler_c_o" >&6; } |
| 9456 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 |
| 9457 |
> |
printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; } |
| 9458 |
|
|
| 9459 |
|
|
| 9460 |
|
|
| 9462 |
|
hard_links=nottested |
| 9463 |
|
if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then |
| 9464 |
|
# do not overwrite the value of need_locks provided by the user |
| 9465 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 |
| 9466 |
< |
$as_echo_n "checking if we can lock with hard links... " >&6; } |
| 9465 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 |
| 9466 |
> |
printf %s "checking if we can lock with hard links... " >&6; } |
| 9467 |
|
hard_links=yes |
| 9468 |
|
$RM conftest* |
| 9469 |
|
ln conftest.a conftest.b 2>/dev/null && hard_links=no |
| 9470 |
|
touch conftest.a |
| 9471 |
|
ln conftest.a conftest.b 2>&5 || hard_links=no |
| 9472 |
|
ln conftest.a conftest.b 2>/dev/null && hard_links=no |
| 9473 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 |
| 9474 |
< |
$as_echo "$hard_links" >&6; } |
| 9473 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 |
| 9474 |
> |
printf "%s\n" "$hard_links" >&6; } |
| 9475 |
|
if test no = "$hard_links"; then |
| 9476 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 |
| 9477 |
< |
$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} |
| 9476 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 |
| 9477 |
> |
printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} |
| 9478 |
|
need_locks=warn |
| 9479 |
|
fi |
| 9480 |
|
else |
| 9486 |
|
|
| 9487 |
|
|
| 9488 |
|
|
| 9489 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 |
| 9490 |
< |
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } |
| 9489 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 |
| 9490 |
> |
printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } |
| 9491 |
|
|
| 9492 |
|
runpath_var= |
| 9493 |
|
allow_undefined_flag= |
| 9531 |
|
|
| 9532 |
|
case $host_os in |
| 9533 |
|
cygwin* | mingw* | pw32* | cegcc*) |
| 9534 |
< |
# FIXME: the MSVC++ port hasn't been tested in a loooong time |
| 9534 |
> |
# FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time |
| 9535 |
|
# When not using gcc, we currently assume that we are using |
| 9536 |
< |
# Microsoft Visual C++. |
| 9536 |
> |
# Microsoft Visual C++ or Intel C++ Compiler. |
| 9537 |
|
if test yes != "$GCC"; then |
| 9538 |
|
with_gnu_ld=no |
| 9539 |
|
fi |
| 9540 |
|
;; |
| 9541 |
|
interix*) |
| 9542 |
< |
# we just hope/assume this is gcc and not c89 (= MSVC++) |
| 9542 |
> |
# we just hope/assume this is gcc and not c89 (= MSVC++ or ICC) |
| 9543 |
|
with_gnu_ld=yes |
| 9544 |
|
;; |
| 9545 |
|
openbsd* | bitrig*) |
| 9546 |
|
with_gnu_ld=no |
| 9547 |
|
;; |
| 9027 |
– |
linux* | k*bsd*-gnu | gnu*) |
| 9028 |
– |
link_all_deplibs=no |
| 9029 |
– |
;; |
| 9548 |
|
esac |
| 9549 |
|
|
| 9550 |
|
ld_shlibs=yes |
| 9591 |
|
whole_archive_flag_spec= |
| 9592 |
|
fi |
| 9593 |
|
supports_anon_versioning=no |
| 9594 |
< |
case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in |
| 9594 |
> |
case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in |
| 9595 |
|
*GNU\ gold*) supports_anon_versioning=yes ;; |
| 9596 |
|
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 |
| 9597 |
|
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... |
| 9703 |
|
emximp -o $lib $output_objdir/$libname.def' |
| 9704 |
|
old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' |
| 9705 |
|
enable_shared_with_static_runtimes=yes |
| 9706 |
+ |
file_list_spec='@' |
| 9707 |
|
;; |
| 9708 |
|
|
| 9709 |
|
interix[3-9]*) |
| 9718 |
|
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link |
| 9719 |
|
# time. Moving up from 0x10000000 also allows more sbrk(2) space. |
| 9720 |
|
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' |
| 9721 |
< |
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' |
| 9721 |
> |
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' |
| 9722 |
|
;; |
| 9723 |
|
|
| 9724 |
|
gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) |
| 9761 |
|
compiler_needs_object=yes |
| 9762 |
|
;; |
| 9763 |
|
esac |
| 9764 |
< |
case `$CC -V 2>&1 | sed 5q` in |
| 9764 |
> |
case `$CC -V 2>&1 | $SED 5q` in |
| 9765 |
|
*Sun\ C*) # Sun C 5.9 |
| 9766 |
|
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' |
| 9767 |
|
compiler_needs_object=yes |
| 9773 |
|
|
| 9774 |
|
if test yes = "$supports_anon_versioning"; then |
| 9775 |
|
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ |
| 9776 |
< |
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
| 9776 |
> |
cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
| 9777 |
|
echo "local: *; };" >> $output_objdir/$libname.ver~ |
| 9778 |
|
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' |
| 9779 |
|
fi |
| 9789 |
|
archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' |
| 9790 |
|
if test yes = "$supports_anon_versioning"; then |
| 9791 |
|
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ |
| 9792 |
< |
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
| 9792 |
> |
cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
| 9793 |
|
echo "local: *; };" >> $output_objdir/$libname.ver~ |
| 9794 |
|
$LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' |
| 9795 |
|
fi |
| 9800 |
|
fi |
| 9801 |
|
;; |
| 9802 |
|
|
| 9803 |
< |
netbsd* | netbsdelf*-gnu) |
| 9803 |
> |
netbsd*) |
| 9804 |
|
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
| 9805 |
|
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' |
| 9806 |
|
wlarc= |
| 9921 |
|
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then |
| 9922 |
|
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' |
| 9923 |
|
else |
| 9924 |
< |
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 == "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' |
| 9924 |
> |
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' |
| 9925 |
|
fi |
| 9926 |
|
aix_use_runtimelinking=no |
| 9927 |
|
|
| 10043 |
|
if test set = "${lt_cv_aix_libpath+set}"; then |
| 10044 |
|
aix_libpath=$lt_cv_aix_libpath |
| 10045 |
|
else |
| 10046 |
< |
if ${lt_cv_aix_libpath_+:} false; then : |
| 10047 |
< |
$as_echo_n "(cached) " >&6 |
| 10048 |
< |
else |
| 10046 |
> |
if test ${lt_cv_aix_libpath_+y} |
| 10047 |
> |
then : |
| 10048 |
> |
printf %s "(cached) " >&6 |
| 10049 |
> |
else $as_nop |
| 10050 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 10051 |
|
/* end confdefs.h. */ |
| 10052 |
|
|
| 10053 |
|
int |
| 10054 |
< |
main () |
| 10054 |
> |
main (void) |
| 10055 |
|
{ |
| 10056 |
|
|
| 10057 |
|
; |
| 10058 |
|
return 0; |
| 10059 |
|
} |
| 10060 |
|
_ACEOF |
| 10061 |
< |
if ac_fn_c_try_link "$LINENO"; then : |
| 10061 |
> |
if ac_fn_c_try_link "$LINENO" |
| 10062 |
> |
then : |
| 10063 |
|
|
| 10064 |
|
lt_aix_libpath_sed=' |
| 10065 |
|
/Import File Strings/,/^$/ { |
| 10074 |
|
lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
| 10075 |
|
fi |
| 10076 |
|
fi |
| 10077 |
< |
rm -f core conftest.err conftest.$ac_objext \ |
| 10077 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 10078 |
|
conftest$ac_exeext conftest.$ac_ext |
| 10079 |
|
if test -z "$lt_cv_aix_libpath_"; then |
| 10080 |
|
lt_cv_aix_libpath_=/usr/lib:/lib |
| 10098 |
|
if test set = "${lt_cv_aix_libpath+set}"; then |
| 10099 |
|
aix_libpath=$lt_cv_aix_libpath |
| 10100 |
|
else |
| 10101 |
< |
if ${lt_cv_aix_libpath_+:} false; then : |
| 10102 |
< |
$as_echo_n "(cached) " >&6 |
| 10103 |
< |
else |
| 10101 |
> |
if test ${lt_cv_aix_libpath_+y} |
| 10102 |
> |
then : |
| 10103 |
> |
printf %s "(cached) " >&6 |
| 10104 |
> |
else $as_nop |
| 10105 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 10106 |
|
/* end confdefs.h. */ |
| 10107 |
|
|
| 10108 |
|
int |
| 10109 |
< |
main () |
| 10109 |
> |
main (void) |
| 10110 |
|
{ |
| 10111 |
|
|
| 10112 |
|
; |
| 10113 |
|
return 0; |
| 10114 |
|
} |
| 10115 |
|
_ACEOF |
| 10116 |
< |
if ac_fn_c_try_link "$LINENO"; then : |
| 10116 |
> |
if ac_fn_c_try_link "$LINENO" |
| 10117 |
> |
then : |
| 10118 |
|
|
| 10119 |
|
lt_aix_libpath_sed=' |
| 10120 |
|
/Import File Strings/,/^$/ { |
| 10129 |
|
lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
| 10130 |
|
fi |
| 10131 |
|
fi |
| 10132 |
< |
rm -f core conftest.err conftest.$ac_objext \ |
| 10132 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 10133 |
|
conftest$ac_exeext conftest.$ac_ext |
| 10134 |
|
if test -z "$lt_cv_aix_libpath_"; then |
| 10135 |
|
lt_cv_aix_libpath_=/usr/lib:/lib |
| 10192 |
|
|
| 10193 |
|
cygwin* | mingw* | pw32* | cegcc*) |
| 10194 |
|
# When not using gcc, we currently assume that we are using |
| 10195 |
< |
# Microsoft Visual C++. |
| 10195 |
> |
# Microsoft Visual C++ or Intel C++ Compiler. |
| 10196 |
|
# hardcode_libdir_flag_spec is actually meaningless, as there is |
| 10197 |
|
# no search path for DLLs. |
| 10198 |
|
case $cc_basename in |
| 10199 |
< |
cl*) |
| 10200 |
< |
# Native MSVC |
| 10199 |
> |
cl* | icl*) |
| 10200 |
> |
# Native MSVC or ICC |
| 10201 |
|
hardcode_libdir_flag_spec=' ' |
| 10202 |
|
allow_undefined_flag=unsupported |
| 10203 |
|
always_export_symbols=yes |
| 10238 |
|
fi' |
| 10239 |
|
;; |
| 10240 |
|
*) |
| 10241 |
< |
# Assume MSVC wrapper |
| 10241 |
> |
# Assume MSVC and ICC wrapper |
| 10242 |
|
hardcode_libdir_flag_spec=' ' |
| 10243 |
|
allow_undefined_flag=unsupported |
| 10244 |
|
# Tell ltmain to make .lib files, not .a files. |
| 10279 |
|
output_verbose_link_cmd=func_echo_all |
| 10280 |
|
archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil" |
| 10281 |
|
module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" |
| 10282 |
< |
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" |
| 10283 |
< |
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" |
| 10282 |
> |
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" |
| 10283 |
> |
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" |
| 10284 |
|
|
| 10285 |
|
else |
| 10286 |
|
ld_shlibs=no |
| 10314 |
|
;; |
| 10315 |
|
|
| 10316 |
|
# FreeBSD 3 and greater uses gcc -shared to do shared libraries. |
| 10317 |
< |
freebsd* | dragonfly*) |
| 10317 |
> |
freebsd* | dragonfly* | midnightbsd*) |
| 10318 |
|
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
| 10319 |
|
hardcode_libdir_flag_spec='-R$libdir' |
| 10320 |
|
hardcode_direct=yes |
| 10380 |
|
|
| 10381 |
|
# Older versions of the 11.00 compiler do not understand -b yet |
| 10382 |
|
# (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) |
| 10383 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 |
| 10384 |
< |
$as_echo_n "checking if $CC understands -b... " >&6; } |
| 10385 |
< |
if ${lt_cv_prog_compiler__b+:} false; then : |
| 10386 |
< |
$as_echo_n "(cached) " >&6 |
| 10387 |
< |
else |
| 10383 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 |
| 10384 |
> |
printf %s "checking if $CC understands -b... " >&6; } |
| 10385 |
> |
if test ${lt_cv_prog_compiler__b+y} |
| 10386 |
> |
then : |
| 10387 |
> |
printf %s "(cached) " >&6 |
| 10388 |
> |
else $as_nop |
| 10389 |
|
lt_cv_prog_compiler__b=no |
| 10390 |
|
save_LDFLAGS=$LDFLAGS |
| 10391 |
|
LDFLAGS="$LDFLAGS -b" |
| 10409 |
|
LDFLAGS=$save_LDFLAGS |
| 10410 |
|
|
| 10411 |
|
fi |
| 10412 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 |
| 10413 |
< |
$as_echo "$lt_cv_prog_compiler__b" >&6; } |
| 10412 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 |
| 10413 |
> |
printf "%s\n" "$lt_cv_prog_compiler__b" >&6; } |
| 10414 |
|
|
| 10415 |
|
if test yes = "$lt_cv_prog_compiler__b"; then |
| 10416 |
|
archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
| 10450 |
|
# work, assume that -exports_file does not work either and |
| 10451 |
|
# implicitly export all symbols. |
| 10452 |
|
# This should be the same for all languages, so no per-tag cache variable. |
| 10453 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 |
| 10454 |
< |
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } |
| 10455 |
< |
if ${lt_cv_irix_exported_symbol+:} false; then : |
| 10456 |
< |
$as_echo_n "(cached) " >&6 |
| 10457 |
< |
else |
| 10453 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 |
| 10454 |
> |
printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; } |
| 10455 |
> |
if test ${lt_cv_irix_exported_symbol+y} |
| 10456 |
> |
then : |
| 10457 |
> |
printf %s "(cached) " >&6 |
| 10458 |
> |
else $as_nop |
| 10459 |
|
save_LDFLAGS=$LDFLAGS |
| 10460 |
|
LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null" |
| 10461 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 10462 |
|
/* end confdefs.h. */ |
| 10463 |
|
int foo (void) { return 0; } |
| 10464 |
|
_ACEOF |
| 10465 |
< |
if ac_fn_c_try_link "$LINENO"; then : |
| 10465 |
> |
if ac_fn_c_try_link "$LINENO" |
| 10466 |
> |
then : |
| 10467 |
|
lt_cv_irix_exported_symbol=yes |
| 10468 |
< |
else |
| 10468 |
> |
else $as_nop |
| 10469 |
|
lt_cv_irix_exported_symbol=no |
| 10470 |
|
fi |
| 10471 |
< |
rm -f core conftest.err conftest.$ac_objext \ |
| 10471 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 10472 |
|
conftest$ac_exeext conftest.$ac_ext |
| 10473 |
|
LDFLAGS=$save_LDFLAGS |
| 10474 |
|
fi |
| 10475 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 |
| 10476 |
< |
$as_echo "$lt_cv_irix_exported_symbol" >&6; } |
| 10475 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 |
| 10476 |
> |
printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; } |
| 10477 |
|
if test yes = "$lt_cv_irix_exported_symbol"; then |
| 10478 |
|
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' |
| 10479 |
|
fi |
| 9954 |
– |
link_all_deplibs=no |
| 10480 |
|
else |
| 10481 |
|
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' |
| 10482 |
|
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' |
| 10498 |
|
esac |
| 10499 |
|
;; |
| 10500 |
|
|
| 10501 |
< |
netbsd* | netbsdelf*-gnu) |
| 10501 |
> |
netbsd*) |
| 10502 |
|
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
| 10503 |
|
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out |
| 10504 |
|
else |
| 10565 |
|
emximp -o $lib $output_objdir/$libname.def' |
| 10566 |
|
old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' |
| 10567 |
|
enable_shared_with_static_runtimes=yes |
| 10568 |
+ |
file_list_spec='@' |
| 10569 |
|
;; |
| 10570 |
|
|
| 10571 |
|
osf3*) |
| 10754 |
|
fi |
| 10755 |
|
fi |
| 10756 |
|
|
| 10757 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 |
| 10758 |
< |
$as_echo "$ld_shlibs" >&6; } |
| 10757 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 |
| 10758 |
> |
printf "%s\n" "$ld_shlibs" >&6; } |
| 10759 |
|
test no = "$ld_shlibs" && can_build_shared=no |
| 10760 |
|
|
| 10761 |
|
with_gnu_ld=$with_gnu_ld |
| 10791 |
|
# Test whether the compiler implicitly links with -lc since on some |
| 10792 |
|
# systems, -lgcc has to come before -lc. If gcc already passes -lc |
| 10793 |
|
# to ld, don't add -lc before -lgcc. |
| 10794 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 |
| 10795 |
< |
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } |
| 10796 |
< |
if ${lt_cv_archive_cmds_need_lc+:} false; then : |
| 10797 |
< |
$as_echo_n "(cached) " >&6 |
| 10798 |
< |
else |
| 10794 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 |
| 10795 |
> |
printf %s "checking whether -lc should be explicitly linked in... " >&6; } |
| 10796 |
> |
if test ${lt_cv_archive_cmds_need_lc+y} |
| 10797 |
> |
then : |
| 10798 |
> |
printf %s "(cached) " >&6 |
| 10799 |
> |
else $as_nop |
| 10800 |
|
$RM conftest* |
| 10801 |
|
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
| 10802 |
|
|
| 10803 |
|
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
| 10804 |
|
(eval $ac_compile) 2>&5 |
| 10805 |
|
ac_status=$? |
| 10806 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 10806 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 10807 |
|
test $ac_status = 0; } 2>conftest.err; then |
| 10808 |
|
soname=conftest |
| 10809 |
|
lib=conftest |
| 10821 |
|
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 |
| 10822 |
|
(eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 |
| 10823 |
|
ac_status=$? |
| 10824 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 10824 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 10825 |
|
test $ac_status = 0; } |
| 10826 |
|
then |
| 10827 |
|
lt_cv_archive_cmds_need_lc=no |
| 10835 |
|
$RM conftest* |
| 10836 |
|
|
| 10837 |
|
fi |
| 10838 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 |
| 10839 |
< |
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } |
| 10838 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 |
| 10839 |
> |
printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; } |
| 10840 |
|
archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc |
| 10841 |
|
;; |
| 10842 |
|
esac |
| 10995 |
|
|
| 10996 |
|
|
| 10997 |
|
|
| 10998 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 |
| 10999 |
< |
$as_echo_n "checking dynamic linker characteristics... " >&6; } |
| 10998 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 |
| 10999 |
> |
printf %s "checking dynamic linker characteristics... " >&6; } |
| 11000 |
|
|
| 11001 |
|
if test yes = "$GCC"; then |
| 11002 |
|
case $host_os in |
| 11258 |
|
case $host_os in |
| 11259 |
|
cygwin*) |
| 11260 |
|
# Cygwin DLLs use 'cyg' prefix rather than 'lib' |
| 11261 |
< |
soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' |
| 11261 |
> |
soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' |
| 11262 |
|
|
| 11263 |
|
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" |
| 11264 |
|
;; |
| 11268 |
|
;; |
| 11269 |
|
pw32*) |
| 11270 |
|
# pw32 DLLs use 'pw' prefix rather than 'lib' |
| 11271 |
< |
library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' |
| 11271 |
> |
library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' |
| 11272 |
|
;; |
| 11273 |
|
esac |
| 11274 |
|
dynamic_linker='Win32 ld.exe' |
| 11275 |
|
;; |
| 11276 |
|
|
| 11277 |
< |
*,cl*) |
| 11278 |
< |
# Native MSVC |
| 11277 |
> |
*,cl* | *,icl*) |
| 11278 |
> |
# Native MSVC or ICC |
| 11279 |
|
libname_spec='$name' |
| 11280 |
|
soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' |
| 11281 |
|
library_names_spec='$libname.dll.lib' |
| 11294 |
|
done |
| 11295 |
|
IFS=$lt_save_ifs |
| 11296 |
|
# Convert to MSYS style. |
| 11297 |
< |
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` |
| 11297 |
> |
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` |
| 11298 |
|
;; |
| 11299 |
|
cygwin*) |
| 11300 |
|
# Convert to unix form, then to dos form, then back to unix form |
| 11331 |
|
;; |
| 11332 |
|
|
| 11333 |
|
*) |
| 11334 |
< |
# Assume MSVC wrapper |
| 11334 |
> |
# Assume MSVC and ICC wrapper |
| 11335 |
|
library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib' |
| 11336 |
|
dynamic_linker='Win32 ld.exe' |
| 11337 |
|
;; |
| 11364 |
|
shlibpath_var=LD_LIBRARY_PATH |
| 11365 |
|
;; |
| 11366 |
|
|
| 11367 |
< |
freebsd* | dragonfly*) |
| 11367 |
> |
freebsd* | dragonfly* | midnightbsd*) |
| 11368 |
|
# DragonFly does not have aout. When/if they implement a new |
| 11369 |
|
# versioning mechanism, adjust this. |
| 11370 |
|
if test -x /usr/bin/objformat; then |
| 11557 |
|
shlibpath_overrides_runpath=no |
| 11558 |
|
|
| 11559 |
|
# Some binutils ld are patched to set DT_RUNPATH |
| 11560 |
< |
if ${lt_cv_shlibpath_overrides_runpath+:} false; then : |
| 11561 |
< |
$as_echo_n "(cached) " >&6 |
| 11562 |
< |
else |
| 11560 |
> |
if test ${lt_cv_shlibpath_overrides_runpath+y} |
| 11561 |
> |
then : |
| 11562 |
> |
printf %s "(cached) " >&6 |
| 11563 |
> |
else $as_nop |
| 11564 |
|
lt_cv_shlibpath_overrides_runpath=no |
| 11565 |
|
save_LDFLAGS=$LDFLAGS |
| 11566 |
|
save_libdir=$libdir |
| 11570 |
|
/* end confdefs.h. */ |
| 11571 |
|
|
| 11572 |
|
int |
| 11573 |
< |
main () |
| 11573 |
> |
main (void) |
| 11574 |
|
{ |
| 11575 |
|
|
| 11576 |
|
; |
| 11577 |
|
return 0; |
| 11578 |
|
} |
| 11579 |
|
_ACEOF |
| 11580 |
< |
if ac_fn_c_try_link "$LINENO"; then : |
| 11581 |
< |
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : |
| 11580 |
> |
if ac_fn_c_try_link "$LINENO" |
| 11581 |
> |
then : |
| 11582 |
> |
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null |
| 11583 |
> |
then : |
| 11584 |
|
lt_cv_shlibpath_overrides_runpath=yes |
| 11585 |
|
fi |
| 11586 |
|
fi |
| 11587 |
< |
rm -f core conftest.err conftest.$ac_objext \ |
| 11587 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 11588 |
|
conftest$ac_exeext conftest.$ac_ext |
| 11589 |
|
LDFLAGS=$save_LDFLAGS |
| 11590 |
|
libdir=$save_libdir |
| 11618 |
|
dynamic_linker='GNU/Linux ld.so' |
| 11619 |
|
;; |
| 11620 |
|
|
| 11091 |
– |
netbsdelf*-gnu) |
| 11092 |
– |
version_type=linux |
| 11093 |
– |
need_lib_prefix=no |
| 11094 |
– |
need_version=no |
| 11095 |
– |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
| 11096 |
– |
soname_spec='${libname}${release}${shared_ext}$major' |
| 11097 |
– |
shlibpath_var=LD_LIBRARY_PATH |
| 11098 |
– |
shlibpath_overrides_runpath=no |
| 11099 |
– |
hardcode_into_libs=yes |
| 11100 |
– |
dynamic_linker='NetBSD ld.elf_so' |
| 11101 |
– |
;; |
| 11102 |
– |
|
| 11621 |
|
netbsd*) |
| 11622 |
|
version_type=sunos |
| 11623 |
|
need_lib_prefix=no |
| 11816 |
|
dynamic_linker=no |
| 11817 |
|
;; |
| 11818 |
|
esac |
| 11819 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 |
| 11820 |
< |
$as_echo "$dynamic_linker" >&6; } |
| 11819 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 |
| 11820 |
> |
printf "%s\n" "$dynamic_linker" >&6; } |
| 11821 |
|
test no = "$dynamic_linker" && can_build_shared=no |
| 11822 |
|
|
| 11823 |
|
variables_saved_for_relink="PATH $shlibpath_var $runpath_var" |
| 11938 |
|
|
| 11939 |
|
|
| 11940 |
|
|
| 11941 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 |
| 11942 |
< |
$as_echo_n "checking how to hardcode library paths into programs... " >&6; } |
| 11941 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 |
| 11942 |
> |
printf %s "checking how to hardcode library paths into programs... " >&6; } |
| 11943 |
|
hardcode_action= |
| 11944 |
|
if test -n "$hardcode_libdir_flag_spec" || |
| 11945 |
|
test -n "$runpath_var" || |
| 11963 |
|
# directories. |
| 11964 |
|
hardcode_action=unsupported |
| 11965 |
|
fi |
| 11966 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 |
| 11967 |
< |
$as_echo "$hardcode_action" >&6; } |
| 11966 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 |
| 11967 |
> |
printf "%s\n" "$hardcode_action" >&6; } |
| 11968 |
|
|
| 11969 |
|
if test relink = "$hardcode_action" || |
| 11970 |
|
test yes = "$inherit_rpath"; then |
| 12008 |
|
|
| 12009 |
|
darwin*) |
| 12010 |
|
# if libdl is installed we need to link against it |
| 12011 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 |
| 12012 |
< |
$as_echo_n "checking for dlopen in -ldl... " >&6; } |
| 12013 |
< |
if ${ac_cv_lib_dl_dlopen+:} false; then : |
| 12014 |
< |
$as_echo_n "(cached) " >&6 |
| 12015 |
< |
else |
| 12011 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 |
| 12012 |
> |
printf %s "checking for dlopen in -ldl... " >&6; } |
| 12013 |
> |
if test ${ac_cv_lib_dl_dlopen+y} |
| 12014 |
> |
then : |
| 12015 |
> |
printf %s "(cached) " >&6 |
| 12016 |
> |
else $as_nop |
| 12017 |
|
ac_check_lib_save_LIBS=$LIBS |
| 12018 |
|
LIBS="-ldl $LIBS" |
| 12019 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 12022 |
|
/* Override any GCC internal prototype to avoid an error. |
| 12023 |
|
Use char because int might match the return type of a GCC |
| 12024 |
|
builtin and then its argument prototype would still apply. */ |
| 11506 |
– |
#ifdef __cplusplus |
| 11507 |
– |
extern "C" |
| 11508 |
– |
#endif |
| 12025 |
|
char dlopen (); |
| 12026 |
|
int |
| 12027 |
< |
main () |
| 12027 |
> |
main (void) |
| 12028 |
|
{ |
| 12029 |
|
return dlopen (); |
| 12030 |
|
; |
| 12031 |
|
return 0; |
| 12032 |
|
} |
| 12033 |
|
_ACEOF |
| 12034 |
< |
if ac_fn_c_try_link "$LINENO"; then : |
| 12034 |
> |
if ac_fn_c_try_link "$LINENO" |
| 12035 |
> |
then : |
| 12036 |
|
ac_cv_lib_dl_dlopen=yes |
| 12037 |
< |
else |
| 12037 |
> |
else $as_nop |
| 12038 |
|
ac_cv_lib_dl_dlopen=no |
| 12039 |
|
fi |
| 12040 |
< |
rm -f core conftest.err conftest.$ac_objext \ |
| 12040 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 12041 |
|
conftest$ac_exeext conftest.$ac_ext |
| 12042 |
|
LIBS=$ac_check_lib_save_LIBS |
| 12043 |
|
fi |
| 12044 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 |
| 12045 |
< |
$as_echo "$ac_cv_lib_dl_dlopen" >&6; } |
| 12046 |
< |
if test "x$ac_cv_lib_dl_dlopen" = xyes; then : |
| 12044 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 |
| 12045 |
> |
printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; } |
| 12046 |
> |
if test "x$ac_cv_lib_dl_dlopen" = xyes |
| 12047 |
> |
then : |
| 12048 |
|
lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl |
| 12049 |
< |
else |
| 12049 |
> |
else $as_nop |
| 12050 |
|
|
| 12051 |
|
lt_cv_dlopen=dyld |
| 12052 |
|
lt_cv_dlopen_libs= |
| 12066 |
|
|
| 12067 |
|
*) |
| 12068 |
|
ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" |
| 12069 |
< |
if test "x$ac_cv_func_shl_load" = xyes; then : |
| 12069 |
> |
if test "x$ac_cv_func_shl_load" = xyes |
| 12070 |
> |
then : |
| 12071 |
|
lt_cv_dlopen=shl_load |
| 12072 |
< |
else |
| 12073 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 |
| 12074 |
< |
$as_echo_n "checking for shl_load in -ldld... " >&6; } |
| 12075 |
< |
if ${ac_cv_lib_dld_shl_load+:} false; then : |
| 12076 |
< |
$as_echo_n "(cached) " >&6 |
| 12077 |
< |
else |
| 12072 |
> |
else $as_nop |
| 12073 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 |
| 12074 |
> |
printf %s "checking for shl_load in -ldld... " >&6; } |
| 12075 |
> |
if test ${ac_cv_lib_dld_shl_load+y} |
| 12076 |
> |
then : |
| 12077 |
> |
printf %s "(cached) " >&6 |
| 12078 |
> |
else $as_nop |
| 12079 |
|
ac_check_lib_save_LIBS=$LIBS |
| 12080 |
|
LIBS="-ldld $LIBS" |
| 12081 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 12084 |
|
/* Override any GCC internal prototype to avoid an error. |
| 12085 |
|
Use char because int might match the return type of a GCC |
| 12086 |
|
builtin and then its argument prototype would still apply. */ |
| 11567 |
– |
#ifdef __cplusplus |
| 11568 |
– |
extern "C" |
| 11569 |
– |
#endif |
| 12087 |
|
char shl_load (); |
| 12088 |
|
int |
| 12089 |
< |
main () |
| 12089 |
> |
main (void) |
| 12090 |
|
{ |
| 12091 |
|
return shl_load (); |
| 12092 |
|
; |
| 12093 |
|
return 0; |
| 12094 |
|
} |
| 12095 |
|
_ACEOF |
| 12096 |
< |
if ac_fn_c_try_link "$LINENO"; then : |
| 12096 |
> |
if ac_fn_c_try_link "$LINENO" |
| 12097 |
> |
then : |
| 12098 |
|
ac_cv_lib_dld_shl_load=yes |
| 12099 |
< |
else |
| 12099 |
> |
else $as_nop |
| 12100 |
|
ac_cv_lib_dld_shl_load=no |
| 12101 |
|
fi |
| 12102 |
< |
rm -f core conftest.err conftest.$ac_objext \ |
| 12102 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 12103 |
|
conftest$ac_exeext conftest.$ac_ext |
| 12104 |
|
LIBS=$ac_check_lib_save_LIBS |
| 12105 |
|
fi |
| 12106 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 |
| 12107 |
< |
$as_echo "$ac_cv_lib_dld_shl_load" >&6; } |
| 12108 |
< |
if test "x$ac_cv_lib_dld_shl_load" = xyes; then : |
| 12106 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 |
| 12107 |
> |
printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; } |
| 12108 |
> |
if test "x$ac_cv_lib_dld_shl_load" = xyes |
| 12109 |
> |
then : |
| 12110 |
|
lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld |
| 12111 |
< |
else |
| 12111 |
> |
else $as_nop |
| 12112 |
|
ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" |
| 12113 |
< |
if test "x$ac_cv_func_dlopen" = xyes; then : |
| 12113 |
> |
if test "x$ac_cv_func_dlopen" = xyes |
| 12114 |
> |
then : |
| 12115 |
|
lt_cv_dlopen=dlopen |
| 12116 |
< |
else |
| 12117 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 |
| 12118 |
< |
$as_echo_n "checking for dlopen in -ldl... " >&6; } |
| 12119 |
< |
if ${ac_cv_lib_dl_dlopen+:} false; then : |
| 12120 |
< |
$as_echo_n "(cached) " >&6 |
| 12121 |
< |
else |
| 12116 |
> |
else $as_nop |
| 12117 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 |
| 12118 |
> |
printf %s "checking for dlopen in -ldl... " >&6; } |
| 12119 |
> |
if test ${ac_cv_lib_dl_dlopen+y} |
| 12120 |
> |
then : |
| 12121 |
> |
printf %s "(cached) " >&6 |
| 12122 |
> |
else $as_nop |
| 12123 |
|
ac_check_lib_save_LIBS=$LIBS |
| 12124 |
|
LIBS="-ldl $LIBS" |
| 12125 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 12128 |
|
/* Override any GCC internal prototype to avoid an error. |
| 12129 |
|
Use char because int might match the return type of a GCC |
| 12130 |
|
builtin and then its argument prototype would still apply. */ |
| 11610 |
– |
#ifdef __cplusplus |
| 11611 |
– |
extern "C" |
| 11612 |
– |
#endif |
| 12131 |
|
char dlopen (); |
| 12132 |
|
int |
| 12133 |
< |
main () |
| 12133 |
> |
main (void) |
| 12134 |
|
{ |
| 12135 |
|
return dlopen (); |
| 12136 |
|
; |
| 12137 |
|
return 0; |
| 12138 |
|
} |
| 12139 |
|
_ACEOF |
| 12140 |
< |
if ac_fn_c_try_link "$LINENO"; then : |
| 12140 |
> |
if ac_fn_c_try_link "$LINENO" |
| 12141 |
> |
then : |
| 12142 |
|
ac_cv_lib_dl_dlopen=yes |
| 12143 |
< |
else |
| 12143 |
> |
else $as_nop |
| 12144 |
|
ac_cv_lib_dl_dlopen=no |
| 12145 |
|
fi |
| 12146 |
< |
rm -f core conftest.err conftest.$ac_objext \ |
| 12146 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 12147 |
|
conftest$ac_exeext conftest.$ac_ext |
| 12148 |
|
LIBS=$ac_check_lib_save_LIBS |
| 12149 |
|
fi |
| 12150 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 |
| 12151 |
< |
$as_echo "$ac_cv_lib_dl_dlopen" >&6; } |
| 12152 |
< |
if test "x$ac_cv_lib_dl_dlopen" = xyes; then : |
| 12150 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 |
| 12151 |
> |
printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; } |
| 12152 |
> |
if test "x$ac_cv_lib_dl_dlopen" = xyes |
| 12153 |
> |
then : |
| 12154 |
|
lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl |
| 12155 |
< |
else |
| 12156 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 |
| 12157 |
< |
$as_echo_n "checking for dlopen in -lsvld... " >&6; } |
| 12158 |
< |
if ${ac_cv_lib_svld_dlopen+:} false; then : |
| 12159 |
< |
$as_echo_n "(cached) " >&6 |
| 12160 |
< |
else |
| 12155 |
> |
else $as_nop |
| 12156 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 |
| 12157 |
> |
printf %s "checking for dlopen in -lsvld... " >&6; } |
| 12158 |
> |
if test ${ac_cv_lib_svld_dlopen+y} |
| 12159 |
> |
then : |
| 12160 |
> |
printf %s "(cached) " >&6 |
| 12161 |
> |
else $as_nop |
| 12162 |
|
ac_check_lib_save_LIBS=$LIBS |
| 12163 |
|
LIBS="-lsvld $LIBS" |
| 12164 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 12167 |
|
/* Override any GCC internal prototype to avoid an error. |
| 12168 |
|
Use char because int might match the return type of a GCC |
| 12169 |
|
builtin and then its argument prototype would still apply. */ |
| 11649 |
– |
#ifdef __cplusplus |
| 11650 |
– |
extern "C" |
| 11651 |
– |
#endif |
| 12170 |
|
char dlopen (); |
| 12171 |
|
int |
| 12172 |
< |
main () |
| 12172 |
> |
main (void) |
| 12173 |
|
{ |
| 12174 |
|
return dlopen (); |
| 12175 |
|
; |
| 12176 |
|
return 0; |
| 12177 |
|
} |
| 12178 |
|
_ACEOF |
| 12179 |
< |
if ac_fn_c_try_link "$LINENO"; then : |
| 12179 |
> |
if ac_fn_c_try_link "$LINENO" |
| 12180 |
> |
then : |
| 12181 |
|
ac_cv_lib_svld_dlopen=yes |
| 12182 |
< |
else |
| 12182 |
> |
else $as_nop |
| 12183 |
|
ac_cv_lib_svld_dlopen=no |
| 12184 |
|
fi |
| 12185 |
< |
rm -f core conftest.err conftest.$ac_objext \ |
| 12185 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 12186 |
|
conftest$ac_exeext conftest.$ac_ext |
| 12187 |
|
LIBS=$ac_check_lib_save_LIBS |
| 12188 |
|
fi |
| 12189 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 |
| 12190 |
< |
$as_echo "$ac_cv_lib_svld_dlopen" >&6; } |
| 12191 |
< |
if test "x$ac_cv_lib_svld_dlopen" = xyes; then : |
| 12189 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 |
| 12190 |
> |
printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; } |
| 12191 |
> |
if test "x$ac_cv_lib_svld_dlopen" = xyes |
| 12192 |
> |
then : |
| 12193 |
|
lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld |
| 12194 |
< |
else |
| 12195 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 |
| 12196 |
< |
$as_echo_n "checking for dld_link in -ldld... " >&6; } |
| 12197 |
< |
if ${ac_cv_lib_dld_dld_link+:} false; then : |
| 12198 |
< |
$as_echo_n "(cached) " >&6 |
| 12199 |
< |
else |
| 12194 |
> |
else $as_nop |
| 12195 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 |
| 12196 |
> |
printf %s "checking for dld_link in -ldld... " >&6; } |
| 12197 |
> |
if test ${ac_cv_lib_dld_dld_link+y} |
| 12198 |
> |
then : |
| 12199 |
> |
printf %s "(cached) " >&6 |
| 12200 |
> |
else $as_nop |
| 12201 |
|
ac_check_lib_save_LIBS=$LIBS |
| 12202 |
|
LIBS="-ldld $LIBS" |
| 12203 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 12206 |
|
/* Override any GCC internal prototype to avoid an error. |
| 12207 |
|
Use char because int might match the return type of a GCC |
| 12208 |
|
builtin and then its argument prototype would still apply. */ |
| 11688 |
– |
#ifdef __cplusplus |
| 11689 |
– |
extern "C" |
| 11690 |
– |
#endif |
| 12209 |
|
char dld_link (); |
| 12210 |
|
int |
| 12211 |
< |
main () |
| 12211 |
> |
main (void) |
| 12212 |
|
{ |
| 12213 |
|
return dld_link (); |
| 12214 |
|
; |
| 12215 |
|
return 0; |
| 12216 |
|
} |
| 12217 |
|
_ACEOF |
| 12218 |
< |
if ac_fn_c_try_link "$LINENO"; then : |
| 12218 |
> |
if ac_fn_c_try_link "$LINENO" |
| 12219 |
> |
then : |
| 12220 |
|
ac_cv_lib_dld_dld_link=yes |
| 12221 |
< |
else |
| 12221 |
> |
else $as_nop |
| 12222 |
|
ac_cv_lib_dld_dld_link=no |
| 12223 |
|
fi |
| 12224 |
< |
rm -f core conftest.err conftest.$ac_objext \ |
| 12224 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 12225 |
|
conftest$ac_exeext conftest.$ac_ext |
| 12226 |
|
LIBS=$ac_check_lib_save_LIBS |
| 12227 |
|
fi |
| 12228 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 |
| 12229 |
< |
$as_echo "$ac_cv_lib_dld_dld_link" >&6; } |
| 12230 |
< |
if test "x$ac_cv_lib_dld_dld_link" = xyes; then : |
| 12228 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 |
| 12229 |
> |
printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; } |
| 12230 |
> |
if test "x$ac_cv_lib_dld_dld_link" = xyes |
| 12231 |
> |
then : |
| 12232 |
|
lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld |
| 12233 |
|
fi |
| 12234 |
|
|
| 12267 |
|
save_LIBS=$LIBS |
| 12268 |
|
LIBS="$lt_cv_dlopen_libs $LIBS" |
| 12269 |
|
|
| 12270 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 |
| 12271 |
< |
$as_echo_n "checking whether a program can dlopen itself... " >&6; } |
| 12272 |
< |
if ${lt_cv_dlopen_self+:} false; then : |
| 12273 |
< |
$as_echo_n "(cached) " >&6 |
| 12274 |
< |
else |
| 12270 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 |
| 12271 |
> |
printf %s "checking whether a program can dlopen itself... " >&6; } |
| 12272 |
> |
if test ${lt_cv_dlopen_self+y} |
| 12273 |
> |
then : |
| 12274 |
> |
printf %s "(cached) " >&6 |
| 12275 |
> |
else $as_nop |
| 12276 |
|
if test yes = "$cross_compiling"; then : |
| 12277 |
|
lt_cv_dlopen_self=cross |
| 12278 |
|
else |
| 12351 |
|
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 |
| 12352 |
|
(eval $ac_link) 2>&5 |
| 12353 |
|
ac_status=$? |
| 12354 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 12354 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 12355 |
|
test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then |
| 12356 |
|
(./conftest; exit; ) >&5 2>/dev/null |
| 12357 |
|
lt_status=$? |
| 12369 |
|
|
| 12370 |
|
|
| 12371 |
|
fi |
| 12372 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 |
| 12373 |
< |
$as_echo "$lt_cv_dlopen_self" >&6; } |
| 12372 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 |
| 12373 |
> |
printf "%s\n" "$lt_cv_dlopen_self" >&6; } |
| 12374 |
|
|
| 12375 |
|
if test yes = "$lt_cv_dlopen_self"; then |
| 12376 |
|
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" |
| 12377 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 |
| 12378 |
< |
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } |
| 12379 |
< |
if ${lt_cv_dlopen_self_static+:} false; then : |
| 12380 |
< |
$as_echo_n "(cached) " >&6 |
| 12381 |
< |
else |
| 12377 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 |
| 12378 |
> |
printf %s "checking whether a statically linked program can dlopen itself... " >&6; } |
| 12379 |
> |
if test ${lt_cv_dlopen_self_static+y} |
| 12380 |
> |
then : |
| 12381 |
> |
printf %s "(cached) " >&6 |
| 12382 |
> |
else $as_nop |
| 12383 |
|
if test yes = "$cross_compiling"; then : |
| 12384 |
|
lt_cv_dlopen_self_static=cross |
| 12385 |
|
else |
| 12458 |
|
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 |
| 12459 |
|
(eval $ac_link) 2>&5 |
| 12460 |
|
ac_status=$? |
| 12461 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 12461 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 12462 |
|
test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then |
| 12463 |
|
(./conftest; exit; ) >&5 2>/dev/null |
| 12464 |
|
lt_status=$? |
| 12476 |
|
|
| 12477 |
|
|
| 12478 |
|
fi |
| 12479 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 |
| 12480 |
< |
$as_echo "$lt_cv_dlopen_self_static" >&6; } |
| 12479 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 |
| 12480 |
> |
printf "%s\n" "$lt_cv_dlopen_self_static" >&6; } |
| 12481 |
|
fi |
| 12482 |
|
|
| 12483 |
|
CPPFLAGS=$save_CPPFLAGS |
| 12515 |
|
|
| 12516 |
|
striplib= |
| 12517 |
|
old_striplib= |
| 12518 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 |
| 12519 |
< |
$as_echo_n "checking whether stripping libraries is possible... " >&6; } |
| 12520 |
< |
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then |
| 12521 |
< |
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" |
| 12522 |
< |
test -z "$striplib" && striplib="$STRIP --strip-unneeded" |
| 12523 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 12524 |
< |
$as_echo "yes" >&6; } |
| 12525 |
< |
else |
| 12526 |
< |
# FIXME - insert some real tests, host_os isn't really good enough |
| 12527 |
< |
case $host_os in |
| 12528 |
< |
darwin*) |
| 12529 |
< |
if test -n "$STRIP"; then |
| 12518 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 |
| 12519 |
> |
printf %s "checking whether stripping libraries is possible... " >&6; } |
| 12520 |
> |
if test -z "$STRIP"; then |
| 12521 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 12522 |
> |
printf "%s\n" "no" >&6; } |
| 12523 |
> |
else |
| 12524 |
> |
if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then |
| 12525 |
> |
old_striplib="$STRIP --strip-debug" |
| 12526 |
> |
striplib="$STRIP --strip-unneeded" |
| 12527 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 12528 |
> |
printf "%s\n" "yes" >&6; } |
| 12529 |
> |
else |
| 12530 |
> |
case $host_os in |
| 12531 |
> |
darwin*) |
| 12532 |
> |
# FIXME - insert some real tests, host_os isn't really good enough |
| 12533 |
|
striplib="$STRIP -x" |
| 12534 |
|
old_striplib="$STRIP -S" |
| 12535 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 12536 |
< |
$as_echo "yes" >&6; } |
| 12537 |
< |
else |
| 12538 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 12539 |
< |
$as_echo "no" >&6; } |
| 12540 |
< |
fi |
| 12541 |
< |
;; |
| 12542 |
< |
*) |
| 12543 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 12544 |
< |
$as_echo "no" >&6; } |
| 12545 |
< |
;; |
| 12546 |
< |
esac |
| 12535 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 12536 |
> |
printf "%s\n" "yes" >&6; } |
| 12537 |
> |
;; |
| 12538 |
> |
freebsd*) |
| 12539 |
> |
if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then |
| 12540 |
> |
old_striplib="$STRIP --strip-debug" |
| 12541 |
> |
striplib="$STRIP --strip-unneeded" |
| 12542 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 12543 |
> |
printf "%s\n" "yes" >&6; } |
| 12544 |
> |
else |
| 12545 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 12546 |
> |
printf "%s\n" "no" >&6; } |
| 12547 |
> |
fi |
| 12548 |
> |
;; |
| 12549 |
> |
*) |
| 12550 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 12551 |
> |
printf "%s\n" "no" >&6; } |
| 12552 |
> |
;; |
| 12553 |
> |
esac |
| 12554 |
> |
fi |
| 12555 |
|
fi |
| 12556 |
|
|
| 12557 |
|
|
| 12566 |
|
|
| 12567 |
|
|
| 12568 |
|
# Report what library types will actually be built |
| 12569 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 |
| 12570 |
< |
$as_echo_n "checking if libtool supports shared libraries... " >&6; } |
| 12571 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 |
| 12572 |
< |
$as_echo "$can_build_shared" >&6; } |
| 12569 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 |
| 12570 |
> |
printf %s "checking if libtool supports shared libraries... " >&6; } |
| 12571 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 |
| 12572 |
> |
printf "%s\n" "$can_build_shared" >&6; } |
| 12573 |
|
|
| 12574 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 |
| 12575 |
< |
$as_echo_n "checking whether to build shared libraries... " >&6; } |
| 12574 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 |
| 12575 |
> |
printf %s "checking whether to build shared libraries... " >&6; } |
| 12576 |
|
test no = "$can_build_shared" && enable_shared=no |
| 12577 |
|
|
| 12578 |
|
# On AIX, shared libraries and static libraries use the same namespace, and |
| 12596 |
|
fi |
| 12597 |
|
;; |
| 12598 |
|
esac |
| 12599 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 |
| 12600 |
< |
$as_echo "$enable_shared" >&6; } |
| 12599 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 |
| 12600 |
> |
printf "%s\n" "$enable_shared" >&6; } |
| 12601 |
|
|
| 12602 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 |
| 12603 |
< |
$as_echo_n "checking whether to build static libraries... " >&6; } |
| 12602 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 |
| 12603 |
> |
printf %s "checking whether to build static libraries... " >&6; } |
| 12604 |
|
# Make sure either enable_shared or enable_static is yes. |
| 12605 |
|
test yes = "$enable_shared" || enable_static=yes |
| 12606 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 |
| 12607 |
< |
$as_echo "$enable_static" >&6; } |
| 12606 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 |
| 12607 |
> |
printf "%s\n" "$enable_static" >&6; } |
| 12608 |
|
|
| 12609 |
|
|
| 12610 |
|
|
| 12646 |
|
do |
| 12647 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
| 12648 |
|
set dummy $ac_prog; ac_word=$2 |
| 12649 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 12650 |
< |
$as_echo_n "checking for $ac_word... " >&6; } |
| 12651 |
< |
if ${ac_cv_prog_YACC+:} false; then : |
| 12652 |
< |
$as_echo_n "(cached) " >&6 |
| 12653 |
< |
else |
| 12649 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 12650 |
> |
printf %s "checking for $ac_word... " >&6; } |
| 12651 |
> |
if test ${ac_cv_prog_YACC+y} |
| 12652 |
> |
then : |
| 12653 |
> |
printf %s "(cached) " >&6 |
| 12654 |
> |
else $as_nop |
| 12655 |
|
if test -n "$YACC"; then |
| 12656 |
|
ac_cv_prog_YACC="$YACC" # Let the user override the test. |
| 12657 |
|
else |
| 12659 |
|
for as_dir in $PATH |
| 12660 |
|
do |
| 12661 |
|
IFS=$as_save_IFS |
| 12662 |
< |
test -z "$as_dir" && as_dir=. |
| 12662 |
> |
case $as_dir in #((( |
| 12663 |
> |
'') as_dir=./ ;; |
| 12664 |
> |
*/) ;; |
| 12665 |
> |
*) as_dir=$as_dir/ ;; |
| 12666 |
> |
esac |
| 12667 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 12668 |
< |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 12668 |
> |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 12669 |
|
ac_cv_prog_YACC="$ac_prog" |
| 12670 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 12670 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 12671 |
|
break 2 |
| 12672 |
|
fi |
| 12673 |
|
done |
| 12678 |
|
fi |
| 12679 |
|
YACC=$ac_cv_prog_YACC |
| 12680 |
|
if test -n "$YACC"; then |
| 12681 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5 |
| 12682 |
< |
$as_echo "$YACC" >&6; } |
| 12681 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5 |
| 12682 |
> |
printf "%s\n" "$YACC" >&6; } |
| 12683 |
|
else |
| 12684 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 12685 |
< |
$as_echo "no" >&6; } |
| 12684 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 12685 |
> |
printf "%s\n" "no" >&6; } |
| 12686 |
|
fi |
| 12687 |
|
|
| 12688 |
|
|
| 12695 |
|
do |
| 12696 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
| 12697 |
|
set dummy $ac_prog; ac_word=$2 |
| 12698 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 12699 |
< |
$as_echo_n "checking for $ac_word... " >&6; } |
| 12700 |
< |
if ${ac_cv_prog_LEX+:} false; then : |
| 12701 |
< |
$as_echo_n "(cached) " >&6 |
| 12702 |
< |
else |
| 12698 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 12699 |
> |
printf %s "checking for $ac_word... " >&6; } |
| 12700 |
> |
if test ${ac_cv_prog_LEX+y} |
| 12701 |
> |
then : |
| 12702 |
> |
printf %s "(cached) " >&6 |
| 12703 |
> |
else $as_nop |
| 12704 |
|
if test -n "$LEX"; then |
| 12705 |
|
ac_cv_prog_LEX="$LEX" # Let the user override the test. |
| 12706 |
|
else |
| 12708 |
|
for as_dir in $PATH |
| 12709 |
|
do |
| 12710 |
|
IFS=$as_save_IFS |
| 12711 |
< |
test -z "$as_dir" && as_dir=. |
| 12711 |
> |
case $as_dir in #((( |
| 12712 |
> |
'') as_dir=./ ;; |
| 12713 |
> |
*/) ;; |
| 12714 |
> |
*) as_dir=$as_dir/ ;; |
| 12715 |
> |
esac |
| 12716 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 12717 |
< |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 12717 |
> |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 12718 |
|
ac_cv_prog_LEX="$ac_prog" |
| 12719 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 12719 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 12720 |
|
break 2 |
| 12721 |
|
fi |
| 12722 |
|
done |
| 12727 |
|
fi |
| 12728 |
|
LEX=$ac_cv_prog_LEX |
| 12729 |
|
if test -n "$LEX"; then |
| 12730 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5 |
| 12731 |
< |
$as_echo "$LEX" >&6; } |
| 12730 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5 |
| 12731 |
> |
printf "%s\n" "$LEX" >&6; } |
| 12732 |
|
else |
| 12733 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 12734 |
< |
$as_echo "no" >&6; } |
| 12733 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 12734 |
> |
printf "%s\n" "no" >&6; } |
| 12735 |
|
fi |
| 12736 |
|
|
| 12737 |
|
|
| 12739 |
|
done |
| 12740 |
|
test -n "$LEX" || LEX=":" |
| 12741 |
|
|
| 12742 |
< |
if test "x$LEX" != "x:"; then |
| 12743 |
< |
cat >conftest.l <<_ACEOF |
| 12742 |
> |
if test "x$LEX" != "x:"; then |
| 12743 |
> |
cat >conftest.l <<_ACEOF |
| 12744 |
> |
%{ |
| 12745 |
> |
#ifdef __cplusplus |
| 12746 |
> |
extern "C" |
| 12747 |
> |
#endif |
| 12748 |
> |
int yywrap(void); |
| 12749 |
> |
%} |
| 12750 |
|
%% |
| 12751 |
|
a { ECHO; } |
| 12752 |
|
b { REJECT; } |
| 12753 |
|
c { yymore (); } |
| 12754 |
|
d { yyless (1); } |
| 12755 |
|
e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument. */ |
| 12756 |
< |
yyless ((input () != 0)); } |
| 12756 |
> |
#ifdef __cplusplus |
| 12757 |
> |
yyless ((yyinput () != 0)); |
| 12758 |
> |
#else |
| 12759 |
> |
yyless ((input () != 0)); |
| 12760 |
> |
#endif |
| 12761 |
> |
} |
| 12762 |
|
f { unput (yytext[0]); } |
| 12763 |
|
. { BEGIN INITIAL; } |
| 12764 |
|
%% |
| 12766 |
|
extern char *yytext; |
| 12767 |
|
#endif |
| 12768 |
|
int |
| 12769 |
+ |
yywrap (void) |
| 12770 |
+ |
{ |
| 12771 |
+ |
return 1; |
| 12772 |
+ |
} |
| 12773 |
+ |
int |
| 12774 |
|
main (void) |
| 12775 |
|
{ |
| 12776 |
< |
return ! yylex () + ! yywrap (); |
| 12776 |
> |
return ! yylex (); |
| 12777 |
|
} |
| 12778 |
|
_ACEOF |
| 12779 |
+ |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for lex output file root" >&5 |
| 12780 |
+ |
printf %s "checking for lex output file root... " >&6; } |
| 12781 |
+ |
if test ${ac_cv_prog_lex_root+y} |
| 12782 |
+ |
then : |
| 12783 |
+ |
printf %s "(cached) " >&6 |
| 12784 |
+ |
else $as_nop |
| 12785 |
+ |
|
| 12786 |
+ |
ac_cv_prog_lex_root=unknown |
| 12787 |
|
{ { ac_try="$LEX conftest.l" |
| 12788 |
|
case "(($ac_try" in |
| 12789 |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 12790 |
|
*) ac_try_echo=$ac_try;; |
| 12791 |
|
esac |
| 12792 |
|
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 12793 |
< |
$as_echo "$ac_try_echo"; } >&5 |
| 12793 |
> |
printf "%s\n" "$ac_try_echo"; } >&5 |
| 12794 |
|
(eval "$LEX conftest.l") 2>&5 |
| 12795 |
|
ac_status=$? |
| 12796 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 12797 |
< |
test $ac_status = 0; } |
| 12231 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5 |
| 12232 |
< |
$as_echo_n "checking lex output file root... " >&6; } |
| 12233 |
< |
if ${ac_cv_prog_lex_root+:} false; then : |
| 12234 |
< |
$as_echo_n "(cached) " >&6 |
| 12235 |
< |
else |
| 12236 |
< |
|
| 12796 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 12797 |
> |
test $ac_status = 0; } && |
| 12798 |
|
if test -f lex.yy.c; then |
| 12799 |
|
ac_cv_prog_lex_root=lex.yy |
| 12800 |
|
elif test -f lexyy.c; then |
| 12801 |
|
ac_cv_prog_lex_root=lexyy |
| 12241 |
– |
else |
| 12242 |
– |
as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5 |
| 12802 |
|
fi |
| 12803 |
|
fi |
| 12804 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5 |
| 12805 |
< |
$as_echo "$ac_cv_prog_lex_root" >&6; } |
| 12804 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5 |
| 12805 |
> |
printf "%s\n" "$ac_cv_prog_lex_root" >&6; } |
| 12806 |
> |
if test "$ac_cv_prog_lex_root" = unknown |
| 12807 |
> |
then : |
| 12808 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cannot find output from $LEX; giving up on $LEX" >&5 |
| 12809 |
> |
printf "%s\n" "$as_me: WARNING: cannot find output from $LEX; giving up on $LEX" >&2;} |
| 12810 |
> |
LEX=: LEXLIB= |
| 12811 |
> |
fi |
| 12812 |
|
LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root |
| 12813 |
|
|
| 12814 |
< |
if test -z "${LEXLIB+set}"; then |
| 12815 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5 |
| 12816 |
< |
$as_echo_n "checking lex library... " >&6; } |
| 12817 |
< |
if ${ac_cv_lib_lex+:} false; then : |
| 12818 |
< |
$as_echo_n "(cached) " >&6 |
| 12819 |
< |
else |
| 12814 |
> |
if test ${LEXLIB+y} |
| 12815 |
> |
then : |
| 12816 |
> |
|
| 12817 |
> |
else $as_nop |
| 12818 |
> |
|
| 12819 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for lex library" >&5 |
| 12820 |
> |
printf %s "checking for lex library... " >&6; } |
| 12821 |
> |
if test ${ac_cv_lib_lex+y} |
| 12822 |
> |
then : |
| 12823 |
> |
printf %s "(cached) " >&6 |
| 12824 |
> |
else $as_nop |
| 12825 |
> |
|
| 12826 |
> |
ac_save_LIBS="$LIBS" |
| 12827 |
> |
ac_found=false |
| 12828 |
> |
for ac_cv_lib_lex in 'none needed' -lfl -ll 'not found'; do |
| 12829 |
> |
case $ac_cv_lib_lex in #( |
| 12830 |
> |
'none needed') : |
| 12831 |
> |
;; #( |
| 12832 |
> |
'not found') : |
| 12833 |
> |
break ;; #( |
| 12834 |
> |
*) : |
| 12835 |
> |
LIBS="$ac_cv_lib_lex $ac_save_LIBS" ;; #( |
| 12836 |
> |
*) : |
| 12837 |
> |
;; |
| 12838 |
> |
esac |
| 12839 |
|
|
| 12256 |
– |
ac_save_LIBS=$LIBS |
| 12257 |
– |
ac_cv_lib_lex='none needed' |
| 12258 |
– |
for ac_lib in '' -lfl -ll; do |
| 12259 |
– |
LIBS="$ac_lib $ac_save_LIBS" |
| 12840 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 12841 |
|
/* end confdefs.h. */ |
| 12842 |
|
`cat $LEX_OUTPUT_ROOT.c` |
| 12843 |
|
_ACEOF |
| 12844 |
< |
if ac_fn_c_try_link "$LINENO"; then : |
| 12845 |
< |
ac_cv_lib_lex=$ac_lib |
| 12844 |
> |
if ac_fn_c_try_link "$LINENO" |
| 12845 |
> |
then : |
| 12846 |
> |
ac_found=: |
| 12847 |
|
fi |
| 12848 |
< |
rm -f core conftest.err conftest.$ac_objext \ |
| 12848 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 12849 |
|
conftest$ac_exeext conftest.$ac_ext |
| 12850 |
< |
test "$ac_cv_lib_lex" != 'none needed' && break |
| 12850 |
> |
if $ac_found; then |
| 12851 |
> |
break |
| 12852 |
> |
fi |
| 12853 |
|
done |
| 12854 |
< |
LIBS=$ac_save_LIBS |
| 12854 |
> |
LIBS="$ac_save_LIBS" |
| 12855 |
|
|
| 12856 |
|
fi |
| 12857 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5 |
| 12858 |
< |
$as_echo "$ac_cv_lib_lex" >&6; } |
| 12859 |
< |
test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex |
| 12857 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5 |
| 12858 |
> |
printf "%s\n" "$ac_cv_lib_lex" >&6; } |
| 12859 |
> |
if test "$ac_cv_lib_lex" = 'not found' |
| 12860 |
> |
then : |
| 12861 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: required lex library not found; giving up on $LEX" >&5 |
| 12862 |
> |
printf "%s\n" "$as_me: WARNING: required lex library not found; giving up on $LEX" >&2;} |
| 12863 |
> |
LEX=: LEXLIB= |
| 12864 |
> |
elif test "$ac_cv_lib_lex" = 'none needed' |
| 12865 |
> |
then : |
| 12866 |
> |
LEXLIB='' |
| 12867 |
> |
else $as_nop |
| 12868 |
> |
LEXLIB=$ac_cv_lib_lex |
| 12869 |
> |
fi |
| 12870 |
> |
|
| 12871 |
|
fi |
| 12872 |
|
|
| 12873 |
|
|
| 12874 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5 |
| 12875 |
< |
$as_echo_n "checking whether yytext is a pointer... " >&6; } |
| 12876 |
< |
if ${ac_cv_prog_lex_yytext_pointer+:} false; then : |
| 12877 |
< |
$as_echo_n "(cached) " >&6 |
| 12878 |
< |
else |
| 12874 |
> |
if test "$LEX" != : |
| 12875 |
> |
then : |
| 12876 |
> |
|
| 12877 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5 |
| 12878 |
> |
printf %s "checking whether yytext is a pointer... " >&6; } |
| 12879 |
> |
if test ${ac_cv_prog_lex_yytext_pointer+y} |
| 12880 |
> |
then : |
| 12881 |
> |
printf %s "(cached) " >&6 |
| 12882 |
> |
else $as_nop |
| 12883 |
|
# POSIX says lex can declare yytext either as a pointer or an array; the |
| 12884 |
|
# default is implementation-dependent. Figure out which it is, since |
| 12885 |
|
# not all implementations provide the %pointer and %array declarations. |
| 12886 |
|
ac_cv_prog_lex_yytext_pointer=no |
| 12289 |
– |
ac_save_LIBS=$LIBS |
| 12290 |
– |
LIBS="$LEXLIB $ac_save_LIBS" |
| 12887 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 12888 |
|
/* end confdefs.h. */ |
| 12889 |
|
|
| 12890 |
|
#define YYTEXT_POINTER 1 |
| 12891 |
|
`cat $LEX_OUTPUT_ROOT.c` |
| 12892 |
|
_ACEOF |
| 12893 |
< |
if ac_fn_c_try_link "$LINENO"; then : |
| 12893 |
> |
if ac_fn_c_try_compile "$LINENO" |
| 12894 |
> |
then : |
| 12895 |
|
ac_cv_prog_lex_yytext_pointer=yes |
| 12896 |
|
fi |
| 12897 |
< |
rm -f core conftest.err conftest.$ac_objext \ |
| 12301 |
< |
conftest$ac_exeext conftest.$ac_ext |
| 12302 |
< |
LIBS=$ac_save_LIBS |
| 12897 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 12898 |
|
|
| 12899 |
|
fi |
| 12900 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5 |
| 12901 |
< |
$as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; } |
| 12900 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5 |
| 12901 |
> |
printf "%s\n" "$ac_cv_prog_lex_yytext_pointer" >&6; } |
| 12902 |
|
if test $ac_cv_prog_lex_yytext_pointer = yes; then |
| 12903 |
|
|
| 12904 |
< |
$as_echo "#define YYTEXT_POINTER 1" >>confdefs.h |
| 12904 |
> |
printf "%s\n" "#define YYTEXT_POINTER 1" >>confdefs.h |
| 12905 |
|
|
| 12906 |
|
fi |
| 12312 |
– |
rm -f conftest.l $LEX_OUTPUT_ROOT.c |
| 12907 |
|
|
| 12908 |
|
fi |
| 12909 |
< |
if test "$LEX" = :; then |
| 12910 |
< |
LEX=${am_missing_run}flex |
| 12909 |
> |
rm -f conftest.l $LEX_OUTPUT_ROOT.c |
| 12910 |
> |
|
| 12911 |
|
fi |
| 12912 |
|
|
| 12913 |
|
|
| 12914 |
|
|
| 12915 |
|
if test "X$CC" != "X"; then |
| 12916 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstack-protector-strong" >&5 |
| 12917 |
< |
$as_echo_n "checking whether ${CC} accepts -fstack-protector-strong... " >&6; } |
| 12918 |
< |
if ${ssp_cv_cc+:} false; then : |
| 12919 |
< |
$as_echo_n "(cached) " >&6 |
| 12920 |
< |
else |
| 12916 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstack-protector-strong" >&5 |
| 12917 |
> |
printf %s "checking whether ${CC} accepts -fstack-protector-strong... " >&6; } |
| 12918 |
> |
if test ${ssp_cv_cc+y} |
| 12919 |
> |
then : |
| 12920 |
> |
printf %s "(cached) " >&6 |
| 12921 |
> |
else $as_nop |
| 12922 |
|
ssp_old_cflags="$CFLAGS" |
| 12923 |
|
CFLAGS="$CFLAGS -fstack-protector-strong" |
| 12924 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 12925 |
|
/* end confdefs.h. */ |
| 12926 |
|
|
| 12927 |
|
int |
| 12928 |
< |
main () |
| 12928 |
> |
main (void) |
| 12929 |
|
{ |
| 12930 |
|
|
| 12931 |
|
; |
| 12932 |
|
return 0; |
| 12933 |
|
} |
| 12934 |
|
_ACEOF |
| 12935 |
< |
if ac_fn_c_try_compile "$LINENO"; then : |
| 12935 |
> |
if ac_fn_c_try_compile "$LINENO" |
| 12936 |
> |
then : |
| 12937 |
|
ssp_cv_cc=yes |
| 12938 |
< |
else |
| 12938 |
> |
else $as_nop |
| 12939 |
|
ssp_cv_cc=no |
| 12940 |
|
fi |
| 12941 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 12941 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 12942 |
|
CFLAGS="$ssp_old_cflags" |
| 12943 |
|
|
| 12944 |
|
fi |
| 12945 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_cc" >&5 |
| 12946 |
< |
$as_echo "$ssp_cv_cc" >&6; } |
| 12945 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_cc" >&5 |
| 12946 |
> |
printf "%s\n" "$ssp_cv_cc" >&6; } |
| 12947 |
|
if test $ssp_cv_cc = yes; then |
| 12948 |
|
CFLAGS="$CFLAGS -fstack-protector-strong" |
| 12949 |
|
|
| 12950 |
< |
$as_echo "#define ENABLE_SSP_CC 1" >>confdefs.h |
| 12950 |
> |
printf "%s\n" "#define ENABLE_SSP_CC 1" >>confdefs.h |
| 12951 |
|
|
| 12952 |
|
else |
| 12953 |
|
unset ssp_cv_cc |
| 12954 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstack-protector" >&5 |
| 12955 |
< |
$as_echo_n "checking whether ${CC} accepts -fstack-protector... " >&6; } |
| 12956 |
< |
if ${ssp_cv_cc+:} false; then : |
| 12957 |
< |
$as_echo_n "(cached) " >&6 |
| 12958 |
< |
else |
| 12954 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstack-protector" >&5 |
| 12955 |
> |
printf %s "checking whether ${CC} accepts -fstack-protector... " >&6; } |
| 12956 |
> |
if test ${ssp_cv_cc+y} |
| 12957 |
> |
then : |
| 12958 |
> |
printf %s "(cached) " >&6 |
| 12959 |
> |
else $as_nop |
| 12960 |
|
ssp_old_cflags="$CFLAGS" |
| 12961 |
|
CFLAGS="$CFLAGS -fstack-protector" |
| 12962 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 12963 |
|
/* end confdefs.h. */ |
| 12964 |
|
|
| 12965 |
|
int |
| 12966 |
< |
main () |
| 12966 |
> |
main (void) |
| 12967 |
|
{ |
| 12968 |
|
|
| 12969 |
|
; |
| 12970 |
|
return 0; |
| 12971 |
|
} |
| 12972 |
|
_ACEOF |
| 12973 |
< |
if ac_fn_c_try_compile "$LINENO"; then : |
| 12973 |
> |
if ac_fn_c_try_compile "$LINENO" |
| 12974 |
> |
then : |
| 12975 |
|
ssp_cv_cc=yes |
| 12976 |
< |
else |
| 12976 |
> |
else $as_nop |
| 12977 |
|
ssp_cv_cc=no |
| 12978 |
|
fi |
| 12979 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 12979 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 12980 |
|
CFLAGS="$ssp_old_cflags" |
| 12981 |
|
|
| 12982 |
|
fi |
| 12983 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_cc" >&5 |
| 12984 |
< |
$as_echo "$ssp_cv_cc" >&6; } |
| 12983 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_cc" >&5 |
| 12984 |
> |
printf "%s\n" "$ssp_cv_cc" >&6; } |
| 12985 |
|
if test $ssp_cv_cc = yes; then |
| 12986 |
|
CFLAGS="$CFLAGS -fstack-protector" |
| 12987 |
|
|
| 12988 |
< |
$as_echo "#define ENABLE_SSP_CC 1" >>confdefs.h |
| 12988 |
> |
printf "%s\n" "#define ENABLE_SSP_CC 1" >>confdefs.h |
| 12989 |
|
|
| 12990 |
|
fi |
| 12991 |
|
fi |
| 12992 |
|
fi |
| 12993 |
|
|
| 12994 |
|
|
| 12995 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libssp exists" >&5 |
| 12996 |
< |
$as_echo_n "checking whether libssp exists... " >&6; } |
| 12997 |
< |
if ${ssp_cv_lib+:} false; then : |
| 12998 |
< |
$as_echo_n "(cached) " >&6 |
| 12999 |
< |
else |
| 12995 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether libssp exists" >&5 |
| 12996 |
> |
printf %s "checking whether libssp exists... " >&6; } |
| 12997 |
> |
if test ${ssp_cv_lib+y} |
| 12998 |
> |
then : |
| 12999 |
> |
printf %s "(cached) " >&6 |
| 13000 |
> |
else $as_nop |
| 13001 |
|
ssp_old_libs="$LIBS" |
| 13002 |
|
LIBS="$LIBS -lssp" |
| 13003 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13004 |
|
/* end confdefs.h. */ |
| 13005 |
|
|
| 13006 |
|
int |
| 13007 |
< |
main () |
| 13007 |
> |
main (void) |
| 13008 |
|
{ |
| 13009 |
|
|
| 13010 |
|
; |
| 13011 |
|
return 0; |
| 13012 |
|
} |
| 13013 |
|
_ACEOF |
| 13014 |
< |
if ac_fn_c_try_link "$LINENO"; then : |
| 13014 |
> |
if ac_fn_c_try_link "$LINENO" |
| 13015 |
> |
then : |
| 13016 |
|
ssp_cv_lib=yes |
| 13017 |
< |
else |
| 13017 |
> |
else $as_nop |
| 13018 |
|
ssp_cv_lib=no |
| 13019 |
|
fi |
| 13020 |
< |
rm -f core conftest.err conftest.$ac_objext \ |
| 13020 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 13021 |
|
conftest$ac_exeext conftest.$ac_ext |
| 13022 |
|
LIBS="$ssp_old_libs" |
| 13023 |
|
|
| 13024 |
|
fi |
| 13025 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_lib" >&5 |
| 13026 |
< |
$as_echo "$ssp_cv_lib" >&6; } |
| 13025 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_lib" >&5 |
| 13026 |
> |
printf "%s\n" "$ssp_cv_lib" >&6; } |
| 13027 |
|
if test $ssp_cv_lib = yes; then |
| 13028 |
|
LIBS="$LIBS -lssp" |
| 13029 |
|
fi |
| 13031 |
|
|
| 13032 |
|
|
| 13033 |
|
ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo" |
| 13034 |
< |
if test "x$ac_cv_func_getaddrinfo" = xyes; then : |
| 13034 |
> |
if test "x$ac_cv_func_getaddrinfo" = xyes |
| 13035 |
> |
then : |
| 13036 |
|
|
| 13037 |
< |
else |
| 13038 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getaddrinfo" >&5 |
| 13039 |
< |
$as_echo_n "checking for library containing getaddrinfo... " >&6; } |
| 13040 |
< |
if ${ac_cv_search_getaddrinfo+:} false; then : |
| 13041 |
< |
$as_echo_n "(cached) " >&6 |
| 13042 |
< |
else |
| 13037 |
> |
else $as_nop |
| 13038 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing getaddrinfo" >&5 |
| 13039 |
> |
printf %s "checking for library containing getaddrinfo... " >&6; } |
| 13040 |
> |
if test ${ac_cv_search_getaddrinfo+y} |
| 13041 |
> |
then : |
| 13042 |
> |
printf %s "(cached) " >&6 |
| 13043 |
> |
else $as_nop |
| 13044 |
|
ac_func_search_save_LIBS=$LIBS |
| 13045 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13046 |
|
/* end confdefs.h. */ |
| 13048 |
|
/* Override any GCC internal prototype to avoid an error. |
| 13049 |
|
Use char because int might match the return type of a GCC |
| 13050 |
|
builtin and then its argument prototype would still apply. */ |
| 12449 |
– |
#ifdef __cplusplus |
| 12450 |
– |
extern "C" |
| 12451 |
– |
#endif |
| 13051 |
|
char getaddrinfo (); |
| 13052 |
|
int |
| 13053 |
< |
main () |
| 13053 |
> |
main (void) |
| 13054 |
|
{ |
| 13055 |
|
return getaddrinfo (); |
| 13056 |
|
; |
| 13057 |
|
return 0; |
| 13058 |
|
} |
| 13059 |
|
_ACEOF |
| 13060 |
< |
for ac_lib in '' nsl; do |
| 13060 |
> |
for ac_lib in '' nsl |
| 13061 |
> |
do |
| 13062 |
|
if test -z "$ac_lib"; then |
| 13063 |
|
ac_res="none required" |
| 13064 |
|
else |
| 13065 |
|
ac_res=-l$ac_lib |
| 13066 |
|
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 13067 |
|
fi |
| 13068 |
< |
if ac_fn_c_try_link "$LINENO"; then : |
| 13068 |
> |
if ac_fn_c_try_link "$LINENO" |
| 13069 |
> |
then : |
| 13070 |
|
ac_cv_search_getaddrinfo=$ac_res |
| 13071 |
|
fi |
| 13072 |
< |
rm -f core conftest.err conftest.$ac_objext \ |
| 13072 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 13073 |
|
conftest$ac_exeext |
| 13074 |
< |
if ${ac_cv_search_getaddrinfo+:} false; then : |
| 13074 |
> |
if test ${ac_cv_search_getaddrinfo+y} |
| 13075 |
> |
then : |
| 13076 |
|
break |
| 13077 |
|
fi |
| 13078 |
|
done |
| 13079 |
< |
if ${ac_cv_search_getaddrinfo+:} false; then : |
| 13079 |
> |
if test ${ac_cv_search_getaddrinfo+y} |
| 13080 |
> |
then : |
| 13081 |
|
|
| 13082 |
< |
else |
| 13082 |
> |
else $as_nop |
| 13083 |
|
ac_cv_search_getaddrinfo=no |
| 13084 |
|
fi |
| 13085 |
|
rm conftest.$ac_ext |
| 13086 |
|
LIBS=$ac_func_search_save_LIBS |
| 13087 |
|
fi |
| 13088 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getaddrinfo" >&5 |
| 13089 |
< |
$as_echo "$ac_cv_search_getaddrinfo" >&6; } |
| 13088 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getaddrinfo" >&5 |
| 13089 |
> |
printf "%s\n" "$ac_cv_search_getaddrinfo" >&6; } |
| 13090 |
|
ac_res=$ac_cv_search_getaddrinfo |
| 13091 |
< |
if test "$ac_res" != no; then : |
| 13091 |
> |
if test "$ac_res" != no |
| 13092 |
> |
then : |
| 13093 |
|
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 13094 |
|
|
| 13095 |
|
fi |
| 13097 |
|
fi |
| 13098 |
|
|
| 13099 |
|
ac_fn_c_check_func "$LINENO" "getnameinfo" "ac_cv_func_getnameinfo" |
| 13100 |
< |
if test "x$ac_cv_func_getnameinfo" = xyes; then : |
| 13100 |
> |
if test "x$ac_cv_func_getnameinfo" = xyes |
| 13101 |
> |
then : |
| 13102 |
|
|
| 13103 |
< |
else |
| 13104 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getnameinfo" >&5 |
| 13105 |
< |
$as_echo_n "checking for library containing getnameinfo... " >&6; } |
| 13106 |
< |
if ${ac_cv_search_getnameinfo+:} false; then : |
| 13107 |
< |
$as_echo_n "(cached) " >&6 |
| 13108 |
< |
else |
| 13103 |
> |
else $as_nop |
| 13104 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing getnameinfo" >&5 |
| 13105 |
> |
printf %s "checking for library containing getnameinfo... " >&6; } |
| 13106 |
> |
if test ${ac_cv_search_getnameinfo+y} |
| 13107 |
> |
then : |
| 13108 |
> |
printf %s "(cached) " >&6 |
| 13109 |
> |
else $as_nop |
| 13110 |
|
ac_func_search_save_LIBS=$LIBS |
| 13111 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13112 |
|
/* end confdefs.h. */ |
| 13114 |
|
/* Override any GCC internal prototype to avoid an error. |
| 13115 |
|
Use char because int might match the return type of a GCC |
| 13116 |
|
builtin and then its argument prototype would still apply. */ |
| 12511 |
– |
#ifdef __cplusplus |
| 12512 |
– |
extern "C" |
| 12513 |
– |
#endif |
| 13117 |
|
char getnameinfo (); |
| 13118 |
|
int |
| 13119 |
< |
main () |
| 13119 |
> |
main (void) |
| 13120 |
|
{ |
| 13121 |
|
return getnameinfo (); |
| 13122 |
|
; |
| 13123 |
|
return 0; |
| 13124 |
|
} |
| 13125 |
|
_ACEOF |
| 13126 |
< |
for ac_lib in '' nsl; do |
| 13126 |
> |
for ac_lib in '' nsl |
| 13127 |
> |
do |
| 13128 |
|
if test -z "$ac_lib"; then |
| 13129 |
|
ac_res="none required" |
| 13130 |
|
else |
| 13131 |
|
ac_res=-l$ac_lib |
| 13132 |
|
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 13133 |
|
fi |
| 13134 |
< |
if ac_fn_c_try_link "$LINENO"; then : |
| 13134 |
> |
if ac_fn_c_try_link "$LINENO" |
| 13135 |
> |
then : |
| 13136 |
|
ac_cv_search_getnameinfo=$ac_res |
| 13137 |
|
fi |
| 13138 |
< |
rm -f core conftest.err conftest.$ac_objext \ |
| 13138 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 13139 |
|
conftest$ac_exeext |
| 13140 |
< |
if ${ac_cv_search_getnameinfo+:} false; then : |
| 13140 |
> |
if test ${ac_cv_search_getnameinfo+y} |
| 13141 |
> |
then : |
| 13142 |
|
break |
| 13143 |
|
fi |
| 13144 |
|
done |
| 13145 |
< |
if ${ac_cv_search_getnameinfo+:} false; then : |
| 13145 |
> |
if test ${ac_cv_search_getnameinfo+y} |
| 13146 |
> |
then : |
| 13147 |
|
|
| 13148 |
< |
else |
| 13148 |
> |
else $as_nop |
| 13149 |
|
ac_cv_search_getnameinfo=no |
| 13150 |
|
fi |
| 13151 |
|
rm conftest.$ac_ext |
| 13152 |
|
LIBS=$ac_func_search_save_LIBS |
| 13153 |
|
fi |
| 13154 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getnameinfo" >&5 |
| 13155 |
< |
$as_echo "$ac_cv_search_getnameinfo" >&6; } |
| 13154 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getnameinfo" >&5 |
| 13155 |
> |
printf "%s\n" "$ac_cv_search_getnameinfo" >&6; } |
| 13156 |
|
ac_res=$ac_cv_search_getnameinfo |
| 13157 |
< |
if test "$ac_res" != no; then : |
| 13157 |
> |
if test "$ac_res" != no |
| 13158 |
> |
then : |
| 13159 |
|
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 13160 |
|
|
| 13161 |
|
fi |
| 13162 |
|
|
| 13163 |
|
fi |
| 13164 |
|
|
| 13165 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5 |
| 13166 |
< |
$as_echo_n "checking for library containing socket... " >&6; } |
| 13167 |
< |
if ${ac_cv_search_socket+:} false; then : |
| 13168 |
< |
$as_echo_n "(cached) " >&6 |
| 13169 |
< |
else |
| 13165 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5 |
| 13166 |
> |
printf %s "checking for library containing socket... " >&6; } |
| 13167 |
> |
if test ${ac_cv_search_socket+y} |
| 13168 |
> |
then : |
| 13169 |
> |
printf %s "(cached) " >&6 |
| 13170 |
> |
else $as_nop |
| 13171 |
|
ac_func_search_save_LIBS=$LIBS |
| 13172 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13173 |
|
/* end confdefs.h. */ |
| 13175 |
|
/* Override any GCC internal prototype to avoid an error. |
| 13176 |
|
Use char because int might match the return type of a GCC |
| 13177 |
|
builtin and then its argument prototype would still apply. */ |
| 12569 |
– |
#ifdef __cplusplus |
| 12570 |
– |
extern "C" |
| 12571 |
– |
#endif |
| 13178 |
|
char socket (); |
| 13179 |
|
int |
| 13180 |
< |
main () |
| 13180 |
> |
main (void) |
| 13181 |
|
{ |
| 13182 |
|
return socket (); |
| 13183 |
|
; |
| 13184 |
|
return 0; |
| 13185 |
|
} |
| 13186 |
|
_ACEOF |
| 13187 |
< |
for ac_lib in '' socket; do |
| 13187 |
> |
for ac_lib in '' socket |
| 13188 |
> |
do |
| 13189 |
|
if test -z "$ac_lib"; then |
| 13190 |
|
ac_res="none required" |
| 13191 |
|
else |
| 13192 |
|
ac_res=-l$ac_lib |
| 13193 |
|
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 13194 |
|
fi |
| 13195 |
< |
if ac_fn_c_try_link "$LINENO"; then : |
| 13195 |
> |
if ac_fn_c_try_link "$LINENO" |
| 13196 |
> |
then : |
| 13197 |
|
ac_cv_search_socket=$ac_res |
| 13198 |
|
fi |
| 13199 |
< |
rm -f core conftest.err conftest.$ac_objext \ |
| 13199 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 13200 |
|
conftest$ac_exeext |
| 13201 |
< |
if ${ac_cv_search_socket+:} false; then : |
| 13201 |
> |
if test ${ac_cv_search_socket+y} |
| 13202 |
> |
then : |
| 13203 |
|
break |
| 13204 |
|
fi |
| 13205 |
|
done |
| 13206 |
< |
if ${ac_cv_search_socket+:} false; then : |
| 13206 |
> |
if test ${ac_cv_search_socket+y} |
| 13207 |
> |
then : |
| 13208 |
|
|
| 13209 |
< |
else |
| 13209 |
> |
else $as_nop |
| 13210 |
|
ac_cv_search_socket=no |
| 13211 |
|
fi |
| 13212 |
|
rm conftest.$ac_ext |
| 13213 |
|
LIBS=$ac_func_search_save_LIBS |
| 13214 |
|
fi |
| 13215 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5 |
| 13216 |
< |
$as_echo "$ac_cv_search_socket" >&6; } |
| 13215 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5 |
| 13216 |
> |
printf "%s\n" "$ac_cv_search_socket" >&6; } |
| 13217 |
|
ac_res=$ac_cv_search_socket |
| 13218 |
< |
if test "$ac_res" != no; then : |
| 13218 |
> |
if test "$ac_res" != no |
| 13219 |
> |
then : |
| 13220 |
|
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 13221 |
|
|
| 13222 |
< |
else |
| 13222 |
> |
else $as_nop |
| 13223 |
|
as_fn_error $? "socket library not found" "$LINENO" 5 |
| 13224 |
|
fi |
| 13225 |
|
|
| 13226 |
|
|
| 13227 |
|
|
| 13228 |
|
# Check whether --enable-openssl was given. |
| 13229 |
< |
if test "${enable_openssl+set}" = set; then : |
| 13229 |
> |
if test ${enable_openssl+y} |
| 13230 |
> |
then : |
| 13231 |
|
enableval=$enable_openssl; cf_enable_openssl=$enableval |
| 13232 |
< |
else |
| 13232 |
> |
else $as_nop |
| 13233 |
|
cf_enable_openssl="auto" |
| 13234 |
|
fi |
| 13235 |
|
|
| 13236 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LibreSSL/OpenSSL" >&5 |
| 13237 |
< |
$as_echo_n "checking for LibreSSL/OpenSSL... " >&6; } |
| 13236 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for LibreSSL/OpenSSL" >&5 |
| 13237 |
> |
printf %s "checking for LibreSSL/OpenSSL... " >&6; } |
| 13238 |
|
if test "$cf_enable_openssl" != "no"; then |
| 13239 |
|
cf_openssl_basedir="" |
| 13240 |
|
if test "$cf_enable_openssl" != "auto" && |
| 13265 |
|
fi |
| 13266 |
|
|
| 13267 |
|
if test ! -z "$cf_openssl_basedir"; then |
| 13268 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_openssl_basedir" >&5 |
| 13269 |
< |
$as_echo "$cf_openssl_basedir" >&6; } |
| 13268 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cf_openssl_basedir" >&5 |
| 13269 |
> |
printf "%s\n" "$cf_openssl_basedir" >&6; } |
| 13270 |
|
cf_enable_openssl="yes" |
| 13271 |
|
else |
| 13272 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Please check your path." >&5 |
| 13273 |
< |
$as_echo "not found. Please check your path." >&6; } |
| 13272 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found. Please check your path." >&5 |
| 13273 |
> |
printf "%s\n" "not found. Please check your path." >&6; } |
| 13274 |
|
cf_enable_openssl="no" |
| 13275 |
|
fi |
| 13276 |
|
unset cf_openssl_basedir |
| 13277 |
|
else |
| 13278 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 |
| 13279 |
< |
$as_echo "disabled" >&6; } |
| 13278 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 |
| 13279 |
> |
printf "%s\n" "disabled" >&6; } |
| 13280 |
|
fi |
| 13281 |
|
|
| 13282 |
< |
if test "$cf_enable_openssl" != "no"; then : |
| 13283 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LibreSSL, or OpenSSL 1.1.1 and above" >&5 |
| 13284 |
< |
$as_echo_n "checking for LibreSSL, or OpenSSL 1.1.1 and above... " >&6; } |
| 13285 |
< |
if test "$cross_compiling" = yes; then : |
| 13282 |
> |
if test "$cf_enable_openssl" != "no" |
| 13283 |
> |
then : |
| 13284 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for LibreSSL, or OpenSSL 1.1.1 and above" >&5 |
| 13285 |
> |
printf %s "checking for LibreSSL, or OpenSSL 1.1.1 and above... " >&6; } |
| 13286 |
> |
if test "$cross_compiling" = yes |
| 13287 |
> |
then : |
| 13288 |
|
cf_openssl_version_ok=no |
| 13289 |
< |
else |
| 13289 |
> |
else $as_nop |
| 13290 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13291 |
|
/* end confdefs.h. */ |
| 13292 |
|
|
| 13294 |
|
#include <openssl/opensslv.h> |
| 13295 |
|
#include <stdlib.h> |
| 13296 |
|
int |
| 13297 |
< |
main () |
| 13297 |
> |
main (void) |
| 13298 |
|
{ |
| 13299 |
|
exit(!(OPENSSL_VERSION_NUMBER >= 0x1010100fL)); |
| 13300 |
|
; |
| 13301 |
|
return 0; |
| 13302 |
|
} |
| 13303 |
|
_ACEOF |
| 13304 |
< |
if ac_fn_c_try_run "$LINENO"; then : |
| 13304 |
> |
if ac_fn_c_try_run "$LINENO" |
| 13305 |
> |
then : |
| 13306 |
|
cf_openssl_version_ok=yes |
| 13307 |
< |
else |
| 13307 |
> |
else $as_nop |
| 13308 |
|
cf_openssl_version_ok=no |
| 13309 |
|
fi |
| 13310 |
|
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 13312 |
|
fi |
| 13313 |
|
|
| 13314 |
|
|
| 13315 |
< |
if test "$cf_openssl_version_ok" = "yes"; then : |
| 13316 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5 |
| 13317 |
< |
$as_echo "found" >&6; } |
| 13318 |
< |
|
| 13319 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5 |
| 13320 |
< |
$as_echo_n "checking for RSA_free in -lcrypto... " >&6; } |
| 13321 |
< |
if ${ac_cv_lib_crypto_RSA_free+:} false; then : |
| 13322 |
< |
$as_echo_n "(cached) " >&6 |
| 13323 |
< |
else |
| 13315 |
> |
if test "$cf_openssl_version_ok" = "yes" |
| 13316 |
> |
then : |
| 13317 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5 |
| 13318 |
> |
printf "%s\n" "found" >&6; } |
| 13319 |
> |
|
| 13320 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5 |
| 13321 |
> |
printf %s "checking for RSA_free in -lcrypto... " >&6; } |
| 13322 |
> |
if test ${ac_cv_lib_crypto_RSA_free+y} |
| 13323 |
> |
then : |
| 13324 |
> |
printf %s "(cached) " >&6 |
| 13325 |
> |
else $as_nop |
| 13326 |
|
ac_check_lib_save_LIBS=$LIBS |
| 13327 |
|
LIBS="-lcrypto $LIBS" |
| 13328 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13331 |
|
/* Override any GCC internal prototype to avoid an error. |
| 13332 |
|
Use char because int might match the return type of a GCC |
| 13333 |
|
builtin and then its argument prototype would still apply. */ |
| 12717 |
– |
#ifdef __cplusplus |
| 12718 |
– |
extern "C" |
| 12719 |
– |
#endif |
| 13334 |
|
char RSA_free (); |
| 13335 |
|
int |
| 13336 |
< |
main () |
| 13336 |
> |
main (void) |
| 13337 |
|
{ |
| 13338 |
|
return RSA_free (); |
| 13339 |
|
; |
| 13340 |
|
return 0; |
| 13341 |
|
} |
| 13342 |
|
_ACEOF |
| 13343 |
< |
if ac_fn_c_try_link "$LINENO"; then : |
| 13343 |
> |
if ac_fn_c_try_link "$LINENO" |
| 13344 |
> |
then : |
| 13345 |
|
ac_cv_lib_crypto_RSA_free=yes |
| 13346 |
< |
else |
| 13346 |
> |
else $as_nop |
| 13347 |
|
ac_cv_lib_crypto_RSA_free=no |
| 13348 |
|
fi |
| 13349 |
< |
rm -f core conftest.err conftest.$ac_objext \ |
| 13349 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 13350 |
|
conftest$ac_exeext conftest.$ac_ext |
| 13351 |
|
LIBS=$ac_check_lib_save_LIBS |
| 13352 |
|
fi |
| 13353 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5 |
| 13354 |
< |
$as_echo "$ac_cv_lib_crypto_RSA_free" >&6; } |
| 13355 |
< |
if test "x$ac_cv_lib_crypto_RSA_free" = xyes; then : |
| 13356 |
< |
cat >>confdefs.h <<_ACEOF |
| 13357 |
< |
#define HAVE_LIBCRYPTO 1 |
| 12743 |
< |
_ACEOF |
| 13353 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5 |
| 13354 |
> |
printf "%s\n" "$ac_cv_lib_crypto_RSA_free" >&6; } |
| 13355 |
> |
if test "x$ac_cv_lib_crypto_RSA_free" = xyes |
| 13356 |
> |
then : |
| 13357 |
> |
printf "%s\n" "#define HAVE_LIBCRYPTO 1" >>confdefs.h |
| 13358 |
|
|
| 13359 |
|
LIBS="-lcrypto $LIBS" |
| 13360 |
|
|
| 13361 |
|
fi |
| 13362 |
|
|
| 13363 |
< |
if test "$ac_cv_lib_crypto_RSA_free" = "yes"; then : |
| 13364 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5 |
| 13365 |
< |
$as_echo_n "checking for SSL_connect in -lssl... " >&6; } |
| 13366 |
< |
if ${ac_cv_lib_ssl_SSL_connect+:} false; then : |
| 13367 |
< |
$as_echo_n "(cached) " >&6 |
| 13368 |
< |
else |
| 13363 |
> |
if test "$ac_cv_lib_crypto_RSA_free" = "yes" |
| 13364 |
> |
then : |
| 13365 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5 |
| 13366 |
> |
printf %s "checking for SSL_connect in -lssl... " >&6; } |
| 13367 |
> |
if test ${ac_cv_lib_ssl_SSL_connect+y} |
| 13368 |
> |
then : |
| 13369 |
> |
printf %s "(cached) " >&6 |
| 13370 |
> |
else $as_nop |
| 13371 |
|
ac_check_lib_save_LIBS=$LIBS |
| 13372 |
|
LIBS="-lssl $LIBS" |
| 13373 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13376 |
|
/* Override any GCC internal prototype to avoid an error. |
| 13377 |
|
Use char because int might match the return type of a GCC |
| 13378 |
|
builtin and then its argument prototype would still apply. */ |
| 12763 |
– |
#ifdef __cplusplus |
| 12764 |
– |
extern "C" |
| 12765 |
– |
#endif |
| 13379 |
|
char SSL_connect (); |
| 13380 |
|
int |
| 13381 |
< |
main () |
| 13381 |
> |
main (void) |
| 13382 |
|
{ |
| 13383 |
|
return SSL_connect (); |
| 13384 |
|
; |
| 13385 |
|
return 0; |
| 13386 |
|
} |
| 13387 |
|
_ACEOF |
| 13388 |
< |
if ac_fn_c_try_link "$LINENO"; then : |
| 13388 |
> |
if ac_fn_c_try_link "$LINENO" |
| 13389 |
> |
then : |
| 13390 |
|
ac_cv_lib_ssl_SSL_connect=yes |
| 13391 |
< |
else |
| 13391 |
> |
else $as_nop |
| 13392 |
|
ac_cv_lib_ssl_SSL_connect=no |
| 13393 |
|
fi |
| 13394 |
< |
rm -f core conftest.err conftest.$ac_objext \ |
| 13394 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 13395 |
|
conftest$ac_exeext conftest.$ac_ext |
| 13396 |
|
LIBS=$ac_check_lib_save_LIBS |
| 13397 |
|
fi |
| 13398 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5 |
| 13399 |
< |
$as_echo "$ac_cv_lib_ssl_SSL_connect" >&6; } |
| 13400 |
< |
if test "x$ac_cv_lib_ssl_SSL_connect" = xyes; then : |
| 13401 |
< |
cat >>confdefs.h <<_ACEOF |
| 13402 |
< |
#define HAVE_LIBSSL 1 |
| 12789 |
< |
_ACEOF |
| 13398 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5 |
| 13399 |
> |
printf "%s\n" "$ac_cv_lib_ssl_SSL_connect" >&6; } |
| 13400 |
> |
if test "x$ac_cv_lib_ssl_SSL_connect" = xyes |
| 13401 |
> |
then : |
| 13402 |
> |
printf "%s\n" "#define HAVE_LIBSSL 1" >>confdefs.h |
| 13403 |
|
|
| 13404 |
|
LIBS="-lssl $LIBS" |
| 13405 |
|
|
| 13407 |
|
|
| 13408 |
|
fi |
| 13409 |
|
|
| 13410 |
< |
else |
| 13411 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no - LibreSSL/OpenSSL support disabled" >&5 |
| 13412 |
< |
$as_echo "no - LibreSSL/OpenSSL support disabled" >&6; } |
| 13410 |
> |
else $as_nop |
| 13411 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no - LibreSSL/OpenSSL support disabled" >&5 |
| 13412 |
> |
printf "%s\n" "no - LibreSSL/OpenSSL support disabled" >&6; } |
| 13413 |
|
cf_enable_openssl="no" |
| 13414 |
|
fi |
| 13415 |
|
fi |
| 13416 |
|
|
| 13417 |
|
|
| 13418 |
|
# Check whether --enable-assert was given. |
| 13419 |
< |
if test "${enable_assert+set}" = set; then : |
| 13419 |
> |
if test ${enable_assert+y} |
| 13420 |
> |
then : |
| 13421 |
|
enableval=$enable_assert; assert=$enableval |
| 13422 |
< |
else |
| 13422 |
> |
else $as_nop |
| 13423 |
|
assert=no |
| 13424 |
|
fi |
| 13425 |
|
|
| 13426 |
|
|
| 13427 |
< |
if test "$assert" = "no"; then : |
| 13427 |
> |
if test "$assert" = "no" |
| 13428 |
> |
then : |
| 13429 |
|
|
| 13430 |
< |
$as_echo "#define NDEBUG 1" >>confdefs.h |
| 13430 |
> |
printf "%s\n" "#define NDEBUG 1" >>confdefs.h |
| 13431 |
|
|
| 13432 |
|
fi |
| 13433 |
|
|
| 13434 |
|
|
| 13435 |
|
# Check whether --enable-warnings was given. |
| 13436 |
< |
if test "${enable_warnings+set}" = set; then : |
| 13436 |
> |
if test ${enable_warnings+y} |
| 13437 |
> |
then : |
| 13438 |
|
enableval=$enable_warnings; warnings="$enableval" |
| 13439 |
< |
else |
| 13439 |
> |
else $as_nop |
| 13440 |
|
warnings="no" |
| 13441 |
|
fi |
| 13442 |
|
|
| 13443 |
|
|
| 13444 |
< |
if test "$warnings" = "yes"; then : |
| 13444 |
> |
if test "$warnings" = "yes" |
| 13445 |
> |
then : |
| 13446 |
> |
|
| 13447 |
> |
|
| 13448 |
> |
|
| 13449 |
> |
|
| 13450 |
> |
|
| 13451 |
> |
for flag in -Werror=unknown-warning-option; do |
| 13452 |
> |
as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 13453 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 13454 |
> |
printf %s "checking whether C compiler accepts $flag... " >&6; } |
| 13455 |
> |
if eval test \${$as_CACHEVAR+y} |
| 13456 |
> |
then : |
| 13457 |
> |
printf %s "(cached) " >&6 |
| 13458 |
> |
else $as_nop |
| 13459 |
> |
|
| 13460 |
> |
ax_check_save_flags=$CFLAGS |
| 13461 |
> |
CFLAGS="$CFLAGS $flag" |
| 13462 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13463 |
> |
/* end confdefs.h. */ |
| 13464 |
> |
|
| 13465 |
> |
int |
| 13466 |
> |
main (void) |
| 13467 |
> |
{ |
| 13468 |
> |
|
| 13469 |
> |
; |
| 13470 |
> |
return 0; |
| 13471 |
> |
} |
| 13472 |
> |
_ACEOF |
| 13473 |
> |
if ac_fn_c_try_compile "$LINENO" |
| 13474 |
> |
then : |
| 13475 |
> |
eval "$as_CACHEVAR=yes" |
| 13476 |
> |
else $as_nop |
| 13477 |
> |
eval "$as_CACHEVAR=no" |
| 13478 |
> |
fi |
| 13479 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 13480 |
> |
CFLAGS=$ax_check_save_flags |
| 13481 |
> |
fi |
| 13482 |
> |
eval ac_res=\$$as_CACHEVAR |
| 13483 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 13484 |
> |
printf "%s\n" "$ac_res" >&6; } |
| 13485 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes" |
| 13486 |
> |
then : |
| 13487 |
> |
|
| 13488 |
> |
if test ${CFLAGS+y} |
| 13489 |
> |
then : |
| 13490 |
> |
|
| 13491 |
> |
case " $CFLAGS " in #( |
| 13492 |
> |
*" $flag "*) : |
| 13493 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 13494 |
> |
(: CFLAGS already contains $flag) 2>&5 |
| 13495 |
> |
ac_status=$? |
| 13496 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13497 |
> |
test $ac_status = 0; } ;; #( |
| 13498 |
> |
*) : |
| 13499 |
> |
|
| 13500 |
> |
as_fn_append CFLAGS " $flag" |
| 13501 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 13502 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 13503 |
> |
ac_status=$? |
| 13504 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13505 |
> |
test $ac_status = 0; } |
| 13506 |
> |
;; |
| 13507 |
> |
esac |
| 13508 |
> |
|
| 13509 |
> |
else $as_nop |
| 13510 |
> |
|
| 13511 |
> |
CFLAGS=$flag |
| 13512 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 13513 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 13514 |
> |
ac_status=$? |
| 13515 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13516 |
> |
test $ac_status = 0; } |
| 13517 |
> |
|
| 13518 |
> |
fi |
| 13519 |
> |
|
| 13520 |
> |
else $as_nop |
| 13521 |
> |
: |
| 13522 |
> |
fi |
| 13523 |
> |
|
| 13524 |
> |
done |
| 13525 |
> |
|
| 13526 |
|
|
| 13527 |
|
|
| 13528 |
|
|
| 13529 |
|
|
| 13530 |
|
|
| 13531 |
|
for flag in -Wall; do |
| 13532 |
< |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 13533 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 13534 |
< |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 13535 |
< |
if eval \${$as_CACHEVAR+:} false; then : |
| 13536 |
< |
$as_echo_n "(cached) " >&6 |
| 13537 |
< |
else |
| 13532 |
> |
as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 13533 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 13534 |
> |
printf %s "checking whether C compiler accepts $flag... " >&6; } |
| 13535 |
> |
if eval test \${$as_CACHEVAR+y} |
| 13536 |
> |
then : |
| 13537 |
> |
printf %s "(cached) " >&6 |
| 13538 |
> |
else $as_nop |
| 13539 |
|
|
| 13540 |
|
ax_check_save_flags=$CFLAGS |
| 13541 |
|
CFLAGS="$CFLAGS $flag" |
| 13543 |
|
/* end confdefs.h. */ |
| 13544 |
|
|
| 13545 |
|
int |
| 13546 |
< |
main () |
| 13546 |
> |
main (void) |
| 13547 |
|
{ |
| 13548 |
|
|
| 13549 |
|
; |
| 13550 |
|
return 0; |
| 13551 |
|
} |
| 13552 |
|
_ACEOF |
| 13553 |
< |
if ac_fn_c_try_compile "$LINENO"; then : |
| 13553 |
> |
if ac_fn_c_try_compile "$LINENO" |
| 13554 |
> |
then : |
| 13555 |
|
eval "$as_CACHEVAR=yes" |
| 13556 |
< |
else |
| 13556 |
> |
else $as_nop |
| 13557 |
|
eval "$as_CACHEVAR=no" |
| 13558 |
|
fi |
| 13559 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 13559 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 13560 |
|
CFLAGS=$ax_check_save_flags |
| 13561 |
|
fi |
| 13562 |
|
eval ac_res=\$$as_CACHEVAR |
| 13563 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 13564 |
< |
$as_echo "$ac_res" >&6; } |
| 13565 |
< |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
| 13563 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 13564 |
> |
printf "%s\n" "$ac_res" >&6; } |
| 13565 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes" |
| 13566 |
> |
then : |
| 13567 |
|
|
| 13568 |
< |
if ${CFLAGS+:} false; then : |
| 13568 |
> |
if test ${CFLAGS+y} |
| 13569 |
> |
then : |
| 13570 |
|
|
| 13571 |
|
case " $CFLAGS " in #( |
| 13572 |
|
*" $flag "*) : |
| 13573 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 13573 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 13574 |
|
(: CFLAGS already contains $flag) 2>&5 |
| 13575 |
|
ac_status=$? |
| 13576 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13576 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13577 |
|
test $ac_status = 0; } ;; #( |
| 13578 |
|
*) : |
| 13579 |
|
|
| 13580 |
|
as_fn_append CFLAGS " $flag" |
| 13581 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 13581 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 13582 |
|
(: CFLAGS="$CFLAGS") 2>&5 |
| 13583 |
|
ac_status=$? |
| 13584 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13584 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13585 |
|
test $ac_status = 0; } |
| 13586 |
|
;; |
| 13587 |
|
esac |
| 13588 |
|
|
| 13589 |
< |
else |
| 13589 |
> |
else $as_nop |
| 13590 |
|
|
| 13591 |
|
CFLAGS=$flag |
| 13592 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 13592 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 13593 |
|
(: CFLAGS="$CFLAGS") 2>&5 |
| 13594 |
|
ac_status=$? |
| 13595 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13595 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13596 |
|
test $ac_status = 0; } |
| 13597 |
|
|
| 13598 |
|
fi |
| 13599 |
|
|
| 13600 |
< |
else |
| 13600 |
> |
else $as_nop |
| 13601 |
|
: |
| 13602 |
|
fi |
| 13603 |
|
|
| 13608 |
|
|
| 13609 |
|
|
| 13610 |
|
for flag in -Wbad-function-cast; do |
| 13611 |
< |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 13612 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 13613 |
< |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 13614 |
< |
if eval \${$as_CACHEVAR+:} false; then : |
| 13615 |
< |
$as_echo_n "(cached) " >&6 |
| 13616 |
< |
else |
| 13611 |
> |
as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 13612 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 13613 |
> |
printf %s "checking whether C compiler accepts $flag... " >&6; } |
| 13614 |
> |
if eval test \${$as_CACHEVAR+y} |
| 13615 |
> |
then : |
| 13616 |
> |
printf %s "(cached) " >&6 |
| 13617 |
> |
else $as_nop |
| 13618 |
|
|
| 13619 |
|
ax_check_save_flags=$CFLAGS |
| 13620 |
|
CFLAGS="$CFLAGS $flag" |
| 13622 |
|
/* end confdefs.h. */ |
| 13623 |
|
|
| 13624 |
|
int |
| 13625 |
< |
main () |
| 13625 |
> |
main (void) |
| 13626 |
|
{ |
| 13627 |
|
|
| 13628 |
|
; |
| 13629 |
|
return 0; |
| 13630 |
|
} |
| 13631 |
|
_ACEOF |
| 13632 |
< |
if ac_fn_c_try_compile "$LINENO"; then : |
| 13632 |
> |
if ac_fn_c_try_compile "$LINENO" |
| 13633 |
> |
then : |
| 13634 |
|
eval "$as_CACHEVAR=yes" |
| 13635 |
< |
else |
| 13635 |
> |
else $as_nop |
| 13636 |
|
eval "$as_CACHEVAR=no" |
| 13637 |
|
fi |
| 13638 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 13638 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 13639 |
|
CFLAGS=$ax_check_save_flags |
| 13640 |
|
fi |
| 13641 |
|
eval ac_res=\$$as_CACHEVAR |
| 13642 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 13643 |
< |
$as_echo "$ac_res" >&6; } |
| 13644 |
< |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
| 13642 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 13643 |
> |
printf "%s\n" "$ac_res" >&6; } |
| 13644 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes" |
| 13645 |
> |
then : |
| 13646 |
|
|
| 13647 |
< |
if ${CFLAGS+:} false; then : |
| 13647 |
> |
if test ${CFLAGS+y} |
| 13648 |
> |
then : |
| 13649 |
|
|
| 13650 |
|
case " $CFLAGS " in #( |
| 13651 |
|
*" $flag "*) : |
| 13652 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 13652 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 13653 |
|
(: CFLAGS already contains $flag) 2>&5 |
| 13654 |
|
ac_status=$? |
| 13655 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13655 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13656 |
|
test $ac_status = 0; } ;; #( |
| 13657 |
|
*) : |
| 13658 |
|
|
| 13659 |
|
as_fn_append CFLAGS " $flag" |
| 13660 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 13660 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 13661 |
|
(: CFLAGS="$CFLAGS") 2>&5 |
| 13662 |
|
ac_status=$? |
| 13663 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13663 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13664 |
|
test $ac_status = 0; } |
| 13665 |
|
;; |
| 13666 |
|
esac |
| 13667 |
|
|
| 13668 |
< |
else |
| 13668 |
> |
else $as_nop |
| 13669 |
|
|
| 13670 |
|
CFLAGS=$flag |
| 13671 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 13671 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 13672 |
|
(: CFLAGS="$CFLAGS") 2>&5 |
| 13673 |
|
ac_status=$? |
| 13674 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13674 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13675 |
|
test $ac_status = 0; } |
| 13676 |
|
|
| 13677 |
|
fi |
| 13678 |
|
|
| 13679 |
< |
else |
| 13679 |
> |
else $as_nop |
| 13680 |
|
: |
| 13681 |
|
fi |
| 13682 |
|
|
| 13687 |
|
|
| 13688 |
|
|
| 13689 |
|
for flag in -Wcast-align; do |
| 13690 |
< |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 13691 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 13692 |
< |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 13693 |
< |
if eval \${$as_CACHEVAR+:} false; then : |
| 13694 |
< |
$as_echo_n "(cached) " >&6 |
| 13695 |
< |
else |
| 13690 |
> |
as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 13691 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 13692 |
> |
printf %s "checking whether C compiler accepts $flag... " >&6; } |
| 13693 |
> |
if eval test \${$as_CACHEVAR+y} |
| 13694 |
> |
then : |
| 13695 |
> |
printf %s "(cached) " >&6 |
| 13696 |
> |
else $as_nop |
| 13697 |
|
|
| 13698 |
|
ax_check_save_flags=$CFLAGS |
| 13699 |
|
CFLAGS="$CFLAGS $flag" |
| 13701 |
|
/* end confdefs.h. */ |
| 13702 |
|
|
| 13703 |
|
int |
| 13704 |
< |
main () |
| 13704 |
> |
main (void) |
| 13705 |
|
{ |
| 13706 |
|
|
| 13707 |
|
; |
| 13708 |
|
return 0; |
| 13709 |
|
} |
| 13710 |
|
_ACEOF |
| 13711 |
< |
if ac_fn_c_try_compile "$LINENO"; then : |
| 13711 |
> |
if ac_fn_c_try_compile "$LINENO" |
| 13712 |
> |
then : |
| 13713 |
|
eval "$as_CACHEVAR=yes" |
| 13714 |
< |
else |
| 13714 |
> |
else $as_nop |
| 13715 |
|
eval "$as_CACHEVAR=no" |
| 13716 |
|
fi |
| 13717 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 13717 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 13718 |
|
CFLAGS=$ax_check_save_flags |
| 13719 |
|
fi |
| 13720 |
|
eval ac_res=\$$as_CACHEVAR |
| 13721 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 13722 |
< |
$as_echo "$ac_res" >&6; } |
| 13723 |
< |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
| 13721 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 13722 |
> |
printf "%s\n" "$ac_res" >&6; } |
| 13723 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes" |
| 13724 |
> |
then : |
| 13725 |
|
|
| 13726 |
< |
if ${CFLAGS+:} false; then : |
| 13726 |
> |
if test ${CFLAGS+y} |
| 13727 |
> |
then : |
| 13728 |
|
|
| 13729 |
|
case " $CFLAGS " in #( |
| 13730 |
|
*" $flag "*) : |
| 13731 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 13731 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 13732 |
|
(: CFLAGS already contains $flag) 2>&5 |
| 13733 |
|
ac_status=$? |
| 13734 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13734 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13735 |
|
test $ac_status = 0; } ;; #( |
| 13736 |
|
*) : |
| 13737 |
|
|
| 13738 |
|
as_fn_append CFLAGS " $flag" |
| 13739 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 13739 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 13740 |
|
(: CFLAGS="$CFLAGS") 2>&5 |
| 13741 |
|
ac_status=$? |
| 13742 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13742 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13743 |
|
test $ac_status = 0; } |
| 13744 |
|
;; |
| 13745 |
|
esac |
| 13746 |
|
|
| 13747 |
< |
else |
| 13747 |
> |
else $as_nop |
| 13748 |
|
|
| 13749 |
|
CFLAGS=$flag |
| 13750 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 13750 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 13751 |
|
(: CFLAGS="$CFLAGS") 2>&5 |
| 13752 |
|
ac_status=$? |
| 13753 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13753 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13754 |
|
test $ac_status = 0; } |
| 13755 |
|
|
| 13756 |
|
fi |
| 13757 |
|
|
| 13758 |
< |
else |
| 13758 |
> |
else $as_nop |
| 13759 |
|
: |
| 13760 |
|
fi |
| 13761 |
|
|
| 13766 |
|
|
| 13767 |
|
|
| 13768 |
|
for flag in -Wcast-function-type; do |
| 13769 |
< |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 13770 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 13771 |
< |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 13772 |
< |
if eval \${$as_CACHEVAR+:} false; then : |
| 13773 |
< |
$as_echo_n "(cached) " >&6 |
| 13774 |
< |
else |
| 13769 |
> |
as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 13770 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 13771 |
> |
printf %s "checking whether C compiler accepts $flag... " >&6; } |
| 13772 |
> |
if eval test \${$as_CACHEVAR+y} |
| 13773 |
> |
then : |
| 13774 |
> |
printf %s "(cached) " >&6 |
| 13775 |
> |
else $as_nop |
| 13776 |
|
|
| 13777 |
|
ax_check_save_flags=$CFLAGS |
| 13778 |
|
CFLAGS="$CFLAGS $flag" |
| 13780 |
|
/* end confdefs.h. */ |
| 13781 |
|
|
| 13782 |
|
int |
| 13783 |
< |
main () |
| 13783 |
> |
main (void) |
| 13784 |
|
{ |
| 13785 |
|
|
| 13786 |
|
; |
| 13787 |
|
return 0; |
| 13788 |
|
} |
| 13789 |
|
_ACEOF |
| 13790 |
< |
if ac_fn_c_try_compile "$LINENO"; then : |
| 13790 |
> |
if ac_fn_c_try_compile "$LINENO" |
| 13791 |
> |
then : |
| 13792 |
|
eval "$as_CACHEVAR=yes" |
| 13793 |
< |
else |
| 13793 |
> |
else $as_nop |
| 13794 |
|
eval "$as_CACHEVAR=no" |
| 13795 |
|
fi |
| 13796 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 13796 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 13797 |
|
CFLAGS=$ax_check_save_flags |
| 13798 |
|
fi |
| 13799 |
|
eval ac_res=\$$as_CACHEVAR |
| 13800 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 13801 |
< |
$as_echo "$ac_res" >&6; } |
| 13802 |
< |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
| 13800 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 13801 |
> |
printf "%s\n" "$ac_res" >&6; } |
| 13802 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes" |
| 13803 |
> |
then : |
| 13804 |
|
|
| 13805 |
< |
if ${CFLAGS+:} false; then : |
| 13805 |
> |
if test ${CFLAGS+y} |
| 13806 |
> |
then : |
| 13807 |
|
|
| 13808 |
|
case " $CFLAGS " in #( |
| 13809 |
|
*" $flag "*) : |
| 13810 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 13810 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 13811 |
|
(: CFLAGS already contains $flag) 2>&5 |
| 13812 |
|
ac_status=$? |
| 13813 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13813 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13814 |
|
test $ac_status = 0; } ;; #( |
| 13815 |
|
*) : |
| 13816 |
|
|
| 13817 |
|
as_fn_append CFLAGS " $flag" |
| 13818 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 13818 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 13819 |
|
(: CFLAGS="$CFLAGS") 2>&5 |
| 13820 |
|
ac_status=$? |
| 13821 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13821 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13822 |
|
test $ac_status = 0; } |
| 13823 |
|
;; |
| 13824 |
|
esac |
| 13825 |
|
|
| 13826 |
< |
else |
| 13826 |
> |
else $as_nop |
| 13827 |
|
|
| 13828 |
|
CFLAGS=$flag |
| 13829 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 13829 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 13830 |
|
(: CFLAGS="$CFLAGS") 2>&5 |
| 13831 |
|
ac_status=$? |
| 13832 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13832 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13833 |
|
test $ac_status = 0; } |
| 13834 |
|
|
| 13835 |
|
fi |
| 13836 |
|
|
| 13837 |
< |
else |
| 13837 |
> |
else $as_nop |
| 13838 |
|
: |
| 13839 |
|
fi |
| 13840 |
|
|
| 13845 |
|
|
| 13846 |
|
|
| 13847 |
|
for flag in -Wcast-qual; do |
| 13848 |
< |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 13849 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 13850 |
< |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 13851 |
< |
if eval \${$as_CACHEVAR+:} false; then : |
| 13852 |
< |
$as_echo_n "(cached) " >&6 |
| 13853 |
< |
else |
| 13848 |
> |
as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 13849 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 13850 |
> |
printf %s "checking whether C compiler accepts $flag... " >&6; } |
| 13851 |
> |
if eval test \${$as_CACHEVAR+y} |
| 13852 |
> |
then : |
| 13853 |
> |
printf %s "(cached) " >&6 |
| 13854 |
> |
else $as_nop |
| 13855 |
|
|
| 13856 |
|
ax_check_save_flags=$CFLAGS |
| 13857 |
|
CFLAGS="$CFLAGS $flag" |
| 13859 |
|
/* end confdefs.h. */ |
| 13860 |
|
|
| 13861 |
|
int |
| 13862 |
< |
main () |
| 13862 |
> |
main (void) |
| 13863 |
|
{ |
| 13864 |
|
|
| 13865 |
|
; |
| 13866 |
|
return 0; |
| 13867 |
|
} |
| 13868 |
|
_ACEOF |
| 13869 |
< |
if ac_fn_c_try_compile "$LINENO"; then : |
| 13869 |
> |
if ac_fn_c_try_compile "$LINENO" |
| 13870 |
> |
then : |
| 13871 |
|
eval "$as_CACHEVAR=yes" |
| 13872 |
< |
else |
| 13872 |
> |
else $as_nop |
| 13873 |
|
eval "$as_CACHEVAR=no" |
| 13874 |
|
fi |
| 13875 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 13875 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 13876 |
|
CFLAGS=$ax_check_save_flags |
| 13877 |
|
fi |
| 13878 |
|
eval ac_res=\$$as_CACHEVAR |
| 13879 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 13880 |
< |
$as_echo "$ac_res" >&6; } |
| 13881 |
< |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
| 13879 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 13880 |
> |
printf "%s\n" "$ac_res" >&6; } |
| 13881 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes" |
| 13882 |
> |
then : |
| 13883 |
|
|
| 13884 |
< |
if ${CFLAGS+:} false; then : |
| 13884 |
> |
if test ${CFLAGS+y} |
| 13885 |
> |
then : |
| 13886 |
|
|
| 13887 |
|
case " $CFLAGS " in #( |
| 13888 |
|
*" $flag "*) : |
| 13889 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 13889 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 13890 |
|
(: CFLAGS already contains $flag) 2>&5 |
| 13891 |
|
ac_status=$? |
| 13892 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13892 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13893 |
|
test $ac_status = 0; } ;; #( |
| 13894 |
|
*) : |
| 13895 |
|
|
| 13896 |
|
as_fn_append CFLAGS " $flag" |
| 13897 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 13897 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 13898 |
|
(: CFLAGS="$CFLAGS") 2>&5 |
| 13899 |
|
ac_status=$? |
| 13900 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13900 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13901 |
|
test $ac_status = 0; } |
| 13902 |
|
;; |
| 13903 |
|
esac |
| 13904 |
|
|
| 13905 |
< |
else |
| 13905 |
> |
else $as_nop |
| 13906 |
|
|
| 13907 |
|
CFLAGS=$flag |
| 13908 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 13908 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 13909 |
|
(: CFLAGS="$CFLAGS") 2>&5 |
| 13910 |
|
ac_status=$? |
| 13911 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13911 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13912 |
|
test $ac_status = 0; } |
| 13913 |
|
|
| 13914 |
|
fi |
| 13915 |
|
|
| 13916 |
< |
else |
| 13916 |
> |
else $as_nop |
| 13917 |
|
: |
| 13918 |
|
fi |
| 13919 |
|
|
| 13924 |
|
|
| 13925 |
|
|
| 13926 |
|
for flag in -Wclobbered; do |
| 13927 |
< |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 13928 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 13929 |
< |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 13930 |
< |
if eval \${$as_CACHEVAR+:} false; then : |
| 13931 |
< |
$as_echo_n "(cached) " >&6 |
| 13932 |
< |
else |
| 13927 |
> |
as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 13928 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 13929 |
> |
printf %s "checking whether C compiler accepts $flag... " >&6; } |
| 13930 |
> |
if eval test \${$as_CACHEVAR+y} |
| 13931 |
> |
then : |
| 13932 |
> |
printf %s "(cached) " >&6 |
| 13933 |
> |
else $as_nop |
| 13934 |
|
|
| 13935 |
|
ax_check_save_flags=$CFLAGS |
| 13936 |
|
CFLAGS="$CFLAGS $flag" |
| 13938 |
|
/* end confdefs.h. */ |
| 13939 |
|
|
| 13940 |
|
int |
| 13941 |
< |
main () |
| 13941 |
> |
main (void) |
| 13942 |
|
{ |
| 13943 |
|
|
| 13944 |
|
; |
| 13945 |
|
return 0; |
| 13946 |
|
} |
| 13947 |
|
_ACEOF |
| 13948 |
< |
if ac_fn_c_try_compile "$LINENO"; then : |
| 13948 |
> |
if ac_fn_c_try_compile "$LINENO" |
| 13949 |
> |
then : |
| 13950 |
|
eval "$as_CACHEVAR=yes" |
| 13951 |
< |
else |
| 13951 |
> |
else $as_nop |
| 13952 |
|
eval "$as_CACHEVAR=no" |
| 13953 |
|
fi |
| 13954 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 13954 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 13955 |
|
CFLAGS=$ax_check_save_flags |
| 13956 |
|
fi |
| 13957 |
|
eval ac_res=\$$as_CACHEVAR |
| 13958 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 13959 |
< |
$as_echo "$ac_res" >&6; } |
| 13960 |
< |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
| 13958 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 13959 |
> |
printf "%s\n" "$ac_res" >&6; } |
| 13960 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes" |
| 13961 |
> |
then : |
| 13962 |
|
|
| 13963 |
< |
if ${CFLAGS+:} false; then : |
| 13963 |
> |
if test ${CFLAGS+y} |
| 13964 |
> |
then : |
| 13965 |
|
|
| 13966 |
|
case " $CFLAGS " in #( |
| 13967 |
|
*" $flag "*) : |
| 13968 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 13968 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 13969 |
|
(: CFLAGS already contains $flag) 2>&5 |
| 13970 |
|
ac_status=$? |
| 13971 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13971 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13972 |
|
test $ac_status = 0; } ;; #( |
| 13973 |
|
*) : |
| 13974 |
|
|
| 13975 |
|
as_fn_append CFLAGS " $flag" |
| 13976 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 13976 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 13977 |
|
(: CFLAGS="$CFLAGS") 2>&5 |
| 13978 |
|
ac_status=$? |
| 13979 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13979 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13980 |
|
test $ac_status = 0; } |
| 13981 |
|
;; |
| 13982 |
|
esac |
| 13983 |
|
|
| 13984 |
< |
else |
| 13984 |
> |
else $as_nop |
| 13985 |
|
|
| 13986 |
|
CFLAGS=$flag |
| 13987 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 13987 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 13988 |
|
(: CFLAGS="$CFLAGS") 2>&5 |
| 13989 |
|
ac_status=$? |
| 13990 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13990 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13991 |
|
test $ac_status = 0; } |
| 13992 |
|
|
| 13993 |
|
fi |
| 13994 |
|
|
| 13995 |
< |
else |
| 13995 |
> |
else $as_nop |
| 13996 |
|
: |
| 13997 |
|
fi |
| 13998 |
|
|
| 14003 |
|
|
| 14004 |
|
|
| 14005 |
|
for flag in -Wduplicated-cond; do |
| 14006 |
< |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14007 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14008 |
< |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 14009 |
< |
if eval \${$as_CACHEVAR+:} false; then : |
| 14010 |
< |
$as_echo_n "(cached) " >&6 |
| 14011 |
< |
else |
| 14006 |
> |
as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14007 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14008 |
> |
printf %s "checking whether C compiler accepts $flag... " >&6; } |
| 14009 |
> |
if eval test \${$as_CACHEVAR+y} |
| 14010 |
> |
then : |
| 14011 |
> |
printf %s "(cached) " >&6 |
| 14012 |
> |
else $as_nop |
| 14013 |
|
|
| 14014 |
|
ax_check_save_flags=$CFLAGS |
| 14015 |
|
CFLAGS="$CFLAGS $flag" |
| 14017 |
|
/* end confdefs.h. */ |
| 14018 |
|
|
| 14019 |
|
int |
| 14020 |
< |
main () |
| 14020 |
> |
main (void) |
| 14021 |
|
{ |
| 14022 |
|
|
| 14023 |
|
; |
| 14024 |
|
return 0; |
| 14025 |
|
} |
| 14026 |
|
_ACEOF |
| 14027 |
< |
if ac_fn_c_try_compile "$LINENO"; then : |
| 14027 |
> |
if ac_fn_c_try_compile "$LINENO" |
| 14028 |
> |
then : |
| 14029 |
|
eval "$as_CACHEVAR=yes" |
| 14030 |
< |
else |
| 14030 |
> |
else $as_nop |
| 14031 |
|
eval "$as_CACHEVAR=no" |
| 14032 |
|
fi |
| 14033 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14033 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 14034 |
|
CFLAGS=$ax_check_save_flags |
| 14035 |
|
fi |
| 14036 |
|
eval ac_res=\$$as_CACHEVAR |
| 14037 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 14038 |
< |
$as_echo "$ac_res" >&6; } |
| 14039 |
< |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
| 14037 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 14038 |
> |
printf "%s\n" "$ac_res" >&6; } |
| 14039 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes" |
| 14040 |
> |
then : |
| 14041 |
|
|
| 14042 |
< |
if ${CFLAGS+:} false; then : |
| 14042 |
> |
if test ${CFLAGS+y} |
| 14043 |
> |
then : |
| 14044 |
|
|
| 14045 |
|
case " $CFLAGS " in #( |
| 14046 |
|
*" $flag "*) : |
| 14047 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 14047 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 14048 |
|
(: CFLAGS already contains $flag) 2>&5 |
| 14049 |
|
ac_status=$? |
| 14050 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14050 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14051 |
|
test $ac_status = 0; } ;; #( |
| 14052 |
|
*) : |
| 14053 |
|
|
| 14054 |
|
as_fn_append CFLAGS " $flag" |
| 14055 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 14055 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 14056 |
|
(: CFLAGS="$CFLAGS") 2>&5 |
| 14057 |
|
ac_status=$? |
| 14058 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14058 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14059 |
|
test $ac_status = 0; } |
| 14060 |
|
;; |
| 14061 |
|
esac |
| 14062 |
|
|
| 14063 |
< |
else |
| 14063 |
> |
else $as_nop |
| 14064 |
|
|
| 14065 |
|
CFLAGS=$flag |
| 14066 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 14066 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 14067 |
|
(: CFLAGS="$CFLAGS") 2>&5 |
| 14068 |
|
ac_status=$? |
| 14069 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14069 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14070 |
|
test $ac_status = 0; } |
| 14071 |
|
|
| 14072 |
|
fi |
| 14073 |
|
|
| 14074 |
< |
else |
| 14074 |
> |
else $as_nop |
| 14075 |
|
: |
| 14076 |
|
fi |
| 14077 |
|
|
| 14082 |
|
|
| 14083 |
|
|
| 14084 |
|
for flag in -Wempty-body; do |
| 14085 |
< |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14086 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14087 |
< |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 14088 |
< |
if eval \${$as_CACHEVAR+:} false; then : |
| 14089 |
< |
$as_echo_n "(cached) " >&6 |
| 14090 |
< |
else |
| 14085 |
> |
as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14086 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14087 |
> |
printf %s "checking whether C compiler accepts $flag... " >&6; } |
| 14088 |
> |
if eval test \${$as_CACHEVAR+y} |
| 14089 |
> |
then : |
| 14090 |
> |
printf %s "(cached) " >&6 |
| 14091 |
> |
else $as_nop |
| 14092 |
|
|
| 14093 |
|
ax_check_save_flags=$CFLAGS |
| 14094 |
|
CFLAGS="$CFLAGS $flag" |
| 14096 |
|
/* end confdefs.h. */ |
| 14097 |
|
|
| 14098 |
|
int |
| 14099 |
< |
main () |
| 14099 |
> |
main (void) |
| 14100 |
|
{ |
| 14101 |
|
|
| 14102 |
|
; |
| 14103 |
|
return 0; |
| 14104 |
|
} |
| 14105 |
|
_ACEOF |
| 14106 |
< |
if ac_fn_c_try_compile "$LINENO"; then : |
| 14106 |
> |
if ac_fn_c_try_compile "$LINENO" |
| 14107 |
> |
then : |
| 14108 |
|
eval "$as_CACHEVAR=yes" |
| 14109 |
< |
else |
| 14109 |
> |
else $as_nop |
| 14110 |
|
eval "$as_CACHEVAR=no" |
| 14111 |
|
fi |
| 14112 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14112 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 14113 |
|
CFLAGS=$ax_check_save_flags |
| 14114 |
|
fi |
| 14115 |
|
eval ac_res=\$$as_CACHEVAR |
| 14116 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 14117 |
< |
$as_echo "$ac_res" >&6; } |
| 14118 |
< |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
| 14116 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 14117 |
> |
printf "%s\n" "$ac_res" >&6; } |
| 14118 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes" |
| 14119 |
> |
then : |
| 14120 |
|
|
| 14121 |
< |
if ${CFLAGS+:} false; then : |
| 14121 |
> |
if test ${CFLAGS+y} |
| 14122 |
> |
then : |
| 14123 |
|
|
| 14124 |
|
case " $CFLAGS " in #( |
| 14125 |
|
*" $flag "*) : |
| 14126 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 14126 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 14127 |
|
(: CFLAGS already contains $flag) 2>&5 |
| 14128 |
|
ac_status=$? |
| 14129 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14129 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14130 |
|
test $ac_status = 0; } ;; #( |
| 14131 |
|
*) : |
| 14132 |
|
|
| 14133 |
|
as_fn_append CFLAGS " $flag" |
| 14134 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 14134 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 14135 |
|
(: CFLAGS="$CFLAGS") 2>&5 |
| 14136 |
|
ac_status=$? |
| 14137 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14137 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14138 |
|
test $ac_status = 0; } |
| 14139 |
|
;; |
| 14140 |
|
esac |
| 14141 |
|
|
| 14142 |
< |
else |
| 14142 |
> |
else $as_nop |
| 14143 |
|
|
| 14144 |
|
CFLAGS=$flag |
| 14145 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 14145 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 14146 |
|
(: CFLAGS="$CFLAGS") 2>&5 |
| 14147 |
|
ac_status=$? |
| 14148 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14148 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14149 |
|
test $ac_status = 0; } |
| 14150 |
|
|
| 14151 |
|
fi |
| 14152 |
|
|
| 14153 |
< |
else |
| 14153 |
> |
else $as_nop |
| 14154 |
|
: |
| 14155 |
|
fi |
| 14156 |
|
|
| 14161 |
|
|
| 14162 |
|
|
| 14163 |
|
for flag in -Wignored-qualifiers; do |
| 14164 |
< |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14165 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14166 |
< |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 14167 |
< |
if eval \${$as_CACHEVAR+:} false; then : |
| 14168 |
< |
$as_echo_n "(cached) " >&6 |
| 14169 |
< |
else |
| 14164 |
> |
as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14165 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14166 |
> |
printf %s "checking whether C compiler accepts $flag... " >&6; } |
| 14167 |
> |
if eval test \${$as_CACHEVAR+y} |
| 14168 |
> |
then : |
| 14169 |
> |
printf %s "(cached) " >&6 |
| 14170 |
> |
else $as_nop |
| 14171 |
|
|
| 14172 |
|
ax_check_save_flags=$CFLAGS |
| 14173 |
|
CFLAGS="$CFLAGS $flag" |
| 14175 |
|
/* end confdefs.h. */ |
| 14176 |
|
|
| 14177 |
|
int |
| 14178 |
< |
main () |
| 14178 |
> |
main (void) |
| 14179 |
|
{ |
| 14180 |
|
|
| 14181 |
|
; |
| 14182 |
|
return 0; |
| 14183 |
|
} |
| 14184 |
|
_ACEOF |
| 14185 |
< |
if ac_fn_c_try_compile "$LINENO"; then : |
| 14185 |
> |
if ac_fn_c_try_compile "$LINENO" |
| 14186 |
> |
then : |
| 14187 |
|
eval "$as_CACHEVAR=yes" |
| 14188 |
< |
else |
| 14188 |
> |
else $as_nop |
| 14189 |
|
eval "$as_CACHEVAR=no" |
| 14190 |
|
fi |
| 14191 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14191 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 14192 |
|
CFLAGS=$ax_check_save_flags |
| 14193 |
|
fi |
| 14194 |
|
eval ac_res=\$$as_CACHEVAR |
| 14195 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 14196 |
< |
$as_echo "$ac_res" >&6; } |
| 14197 |
< |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
| 14195 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 14196 |
> |
printf "%s\n" "$ac_res" >&6; } |
| 14197 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes" |
| 14198 |
> |
then : |
| 14199 |
|
|
| 14200 |
< |
if ${CFLAGS+:} false; then : |
| 14200 |
> |
if test ${CFLAGS+y} |
| 14201 |
> |
then : |
| 14202 |
|
|
| 14203 |
|
case " $CFLAGS " in #( |
| 14204 |
|
*" $flag "*) : |
| 14205 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 14205 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 14206 |
|
(: CFLAGS already contains $flag) 2>&5 |
| 14207 |
|
ac_status=$? |
| 14208 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14208 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14209 |
|
test $ac_status = 0; } ;; #( |
| 14210 |
|
*) : |
| 14211 |
|
|
| 14212 |
|
as_fn_append CFLAGS " $flag" |
| 14213 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 14213 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 14214 |
|
(: CFLAGS="$CFLAGS") 2>&5 |
| 14215 |
|
ac_status=$? |
| 14216 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14216 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14217 |
|
test $ac_status = 0; } |
| 14218 |
|
;; |
| 14219 |
|
esac |
| 14220 |
|
|
| 14221 |
< |
else |
| 14221 |
> |
else $as_nop |
| 14222 |
|
|
| 14223 |
|
CFLAGS=$flag |
| 14224 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 14224 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 14225 |
|
(: CFLAGS="$CFLAGS") 2>&5 |
| 14226 |
|
ac_status=$? |
| 14227 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14227 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14228 |
|
test $ac_status = 0; } |
| 14229 |
|
|
| 14230 |
|
fi |
| 14231 |
|
|
| 14232 |
< |
else |
| 14232 |
> |
else $as_nop |
| 14233 |
|
: |
| 14234 |
|
fi |
| 14235 |
|
|
| 14240 |
|
|
| 14241 |
|
|
| 14242 |
|
for flag in -Wlogical-op; do |
| 14243 |
< |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14244 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14245 |
< |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 14246 |
< |
if eval \${$as_CACHEVAR+:} false; then : |
| 14247 |
< |
$as_echo_n "(cached) " >&6 |
| 14248 |
< |
else |
| 14243 |
> |
as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14244 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14245 |
> |
printf %s "checking whether C compiler accepts $flag... " >&6; } |
| 14246 |
> |
if eval test \${$as_CACHEVAR+y} |
| 14247 |
> |
then : |
| 14248 |
> |
printf %s "(cached) " >&6 |
| 14249 |
> |
else $as_nop |
| 14250 |
|
|
| 14251 |
|
ax_check_save_flags=$CFLAGS |
| 14252 |
|
CFLAGS="$CFLAGS $flag" |
| 14254 |
|
/* end confdefs.h. */ |
| 14255 |
|
|
| 14256 |
|
int |
| 14257 |
< |
main () |
| 14257 |
> |
main (void) |
| 14258 |
|
{ |
| 14259 |
|
|
| 14260 |
|
; |
| 14261 |
|
return 0; |
| 14262 |
|
} |
| 14263 |
|
_ACEOF |
| 14264 |
< |
if ac_fn_c_try_compile "$LINENO"; then : |
| 14264 |
> |
if ac_fn_c_try_compile "$LINENO" |
| 14265 |
> |
then : |
| 14266 |
|
eval "$as_CACHEVAR=yes" |
| 14267 |
< |
else |
| 14267 |
> |
else $as_nop |
| 14268 |
|
eval "$as_CACHEVAR=no" |
| 14269 |
|
fi |
| 14270 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14270 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 14271 |
|
CFLAGS=$ax_check_save_flags |
| 14272 |
|
fi |
| 14273 |
|
eval ac_res=\$$as_CACHEVAR |
| 14274 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 14275 |
< |
$as_echo "$ac_res" >&6; } |
| 14276 |
< |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
| 14274 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 14275 |
> |
printf "%s\n" "$ac_res" >&6; } |
| 14276 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes" |
| 14277 |
> |
then : |
| 14278 |
|
|
| 14279 |
< |
if ${CFLAGS+:} false; then : |
| 14279 |
> |
if test ${CFLAGS+y} |
| 14280 |
> |
then : |
| 14281 |
|
|
| 14282 |
|
case " $CFLAGS " in #( |
| 14283 |
|
*" $flag "*) : |
| 14284 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 14284 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 14285 |
|
(: CFLAGS already contains $flag) 2>&5 |
| 14286 |
|
ac_status=$? |
| 14287 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14287 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14288 |
|
test $ac_status = 0; } ;; #( |
| 14289 |
|
*) : |
| 14290 |
|
|
| 14291 |
|
as_fn_append CFLAGS " $flag" |
| 14292 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 14292 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 14293 |
|
(: CFLAGS="$CFLAGS") 2>&5 |
| 14294 |
|
ac_status=$? |
| 14295 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14295 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14296 |
|
test $ac_status = 0; } |
| 14297 |
|
;; |
| 14298 |
|
esac |
| 14299 |
|
|
| 14300 |
< |
else |
| 14300 |
> |
else $as_nop |
| 14301 |
|
|
| 14302 |
|
CFLAGS=$flag |
| 14303 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 14303 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 14304 |
|
(: CFLAGS="$CFLAGS") 2>&5 |
| 14305 |
|
ac_status=$? |
| 14306 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14306 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14307 |
|
test $ac_status = 0; } |
| 14308 |
|
|
| 14309 |
|
fi |
| 14310 |
|
|
| 14311 |
< |
else |
| 14311 |
> |
else $as_nop |
| 14312 |
|
: |
| 14313 |
|
fi |
| 14314 |
|
|
| 14319 |
|
|
| 14320 |
|
|
| 14321 |
|
for flag in -Wmissing-declarations; do |
| 14322 |
< |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14323 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14324 |
< |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 14325 |
< |
if eval \${$as_CACHEVAR+:} false; then : |
| 14326 |
< |
$as_echo_n "(cached) " >&6 |
| 14327 |
< |
else |
| 14322 |
> |
as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14323 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14324 |
> |
printf %s "checking whether C compiler accepts $flag... " >&6; } |
| 14325 |
> |
if eval test \${$as_CACHEVAR+y} |
| 14326 |
> |
then : |
| 14327 |
> |
printf %s "(cached) " >&6 |
| 14328 |
> |
else $as_nop |
| 14329 |
|
|
| 14330 |
|
ax_check_save_flags=$CFLAGS |
| 14331 |
|
CFLAGS="$CFLAGS $flag" |
| 14333 |
|
/* end confdefs.h. */ |
| 14334 |
|
|
| 14335 |
|
int |
| 14336 |
< |
main () |
| 14336 |
> |
main (void) |
| 14337 |
|
{ |
| 14338 |
|
|
| 14339 |
|
; |
| 14340 |
|
return 0; |
| 14341 |
|
} |
| 14342 |
|
_ACEOF |
| 14343 |
< |
if ac_fn_c_try_compile "$LINENO"; then : |
| 14343 |
> |
if ac_fn_c_try_compile "$LINENO" |
| 14344 |
> |
then : |
| 14345 |
|
eval "$as_CACHEVAR=yes" |
| 14346 |
< |
else |
| 14346 |
> |
else $as_nop |
| 14347 |
|
eval "$as_CACHEVAR=no" |
| 14348 |
|
fi |
| 14349 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14349 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 14350 |
|
CFLAGS=$ax_check_save_flags |
| 14351 |
|
fi |
| 14352 |
|
eval ac_res=\$$as_CACHEVAR |
| 14353 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 14354 |
< |
$as_echo "$ac_res" >&6; } |
| 14355 |
< |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
| 14353 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 14354 |
> |
printf "%s\n" "$ac_res" >&6; } |
| 14355 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes" |
| 14356 |
> |
then : |
| 14357 |
|
|
| 14358 |
< |
if ${CFLAGS+:} false; then : |
| 14358 |
> |
if test ${CFLAGS+y} |
| 14359 |
> |
then : |
| 14360 |
|
|
| 14361 |
|
case " $CFLAGS " in #( |
| 14362 |
|
*" $flag "*) : |
| 14363 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 14363 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 14364 |
|
(: CFLAGS already contains $flag) 2>&5 |
| 14365 |
|
ac_status=$? |
| 14366 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14366 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14367 |
|
test $ac_status = 0; } ;; #( |
| 14368 |
|
*) : |
| 14369 |
|
|
| 14370 |
|
as_fn_append CFLAGS " $flag" |
| 14371 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 14371 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 14372 |
|
(: CFLAGS="$CFLAGS") 2>&5 |
| 14373 |
|
ac_status=$? |
| 14374 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14374 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14375 |
|
test $ac_status = 0; } |
| 14376 |
|
;; |
| 14377 |
|
esac |
| 14378 |
|
|
| 14379 |
< |
else |
| 14379 |
> |
else $as_nop |
| 14380 |
|
|
| 14381 |
|
CFLAGS=$flag |
| 14382 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 14382 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 14383 |
|
(: CFLAGS="$CFLAGS") 2>&5 |
| 14384 |
|
ac_status=$? |
| 14385 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14385 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14386 |
|
test $ac_status = 0; } |
| 14387 |
|
|
| 14388 |
|
fi |
| 14389 |
|
|
| 14390 |
< |
else |
| 14390 |
> |
else $as_nop |
| 14391 |
|
: |
| 14392 |
|
fi |
| 14393 |
|
|
| 14398 |
|
|
| 14399 |
|
|
| 14400 |
|
for flag in -Wmissing-field-initializers; do |
| 14401 |
< |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14402 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14403 |
< |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 14404 |
< |
if eval \${$as_CACHEVAR+:} false; then : |
| 14405 |
< |
$as_echo_n "(cached) " >&6 |
| 14406 |
< |
else |
| 14401 |
> |
as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14402 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14403 |
> |
printf %s "checking whether C compiler accepts $flag... " >&6; } |
| 14404 |
> |
if eval test \${$as_CACHEVAR+y} |
| 14405 |
> |
then : |
| 14406 |
> |
printf %s "(cached) " >&6 |
| 14407 |
> |
else $as_nop |
| 14408 |
|
|
| 14409 |
|
ax_check_save_flags=$CFLAGS |
| 14410 |
|
CFLAGS="$CFLAGS $flag" |
| 14412 |
|
/* end confdefs.h. */ |
| 14413 |
|
|
| 14414 |
|
int |
| 14415 |
< |
main () |
| 14415 |
> |
main (void) |
| 14416 |
|
{ |
| 14417 |
|
|
| 14418 |
|
; |
| 14419 |
|
return 0; |
| 14420 |
|
} |
| 14421 |
|
_ACEOF |
| 14422 |
< |
if ac_fn_c_try_compile "$LINENO"; then : |
| 14422 |
> |
if ac_fn_c_try_compile "$LINENO" |
| 14423 |
> |
then : |
| 14424 |
|
eval "$as_CACHEVAR=yes" |
| 14425 |
< |
else |
| 14425 |
> |
else $as_nop |
| 14426 |
|
eval "$as_CACHEVAR=no" |
| 14427 |
|
fi |
| 14428 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14428 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 14429 |
|
CFLAGS=$ax_check_save_flags |
| 14430 |
|
fi |
| 14431 |
|
eval ac_res=\$$as_CACHEVAR |
| 14432 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 14433 |
< |
$as_echo "$ac_res" >&6; } |
| 14434 |
< |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
| 14432 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 14433 |
> |
printf "%s\n" "$ac_res" >&6; } |
| 14434 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes" |
| 14435 |
> |
then : |
| 14436 |
|
|
| 14437 |
< |
if ${CFLAGS+:} false; then : |
| 14437 |
> |
if test ${CFLAGS+y} |
| 14438 |
> |
then : |
| 14439 |
|
|
| 14440 |
|
case " $CFLAGS " in #( |
| 14441 |
|
*" $flag "*) : |
| 14442 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 14442 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 14443 |
|
(: CFLAGS already contains $flag) 2>&5 |
| 14444 |
|
ac_status=$? |
| 14445 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14445 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14446 |
|
test $ac_status = 0; } ;; #( |
| 14447 |
|
*) : |
| 14448 |
|
|
| 14449 |
|
as_fn_append CFLAGS " $flag" |
| 14450 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 14450 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 14451 |
|
(: CFLAGS="$CFLAGS") 2>&5 |
| 14452 |
|
ac_status=$? |
| 14453 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14453 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14454 |
|
test $ac_status = 0; } |
| 14455 |
|
;; |
| 14456 |
|
esac |
| 14457 |
|
|
| 14458 |
< |
else |
| 14458 |
> |
else $as_nop |
| 14459 |
|
|
| 14460 |
|
CFLAGS=$flag |
| 14461 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 14461 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 14462 |
|
(: CFLAGS="$CFLAGS") 2>&5 |
| 14463 |
|
ac_status=$? |
| 14464 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14464 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14465 |
|
test $ac_status = 0; } |
| 14466 |
|
|
| 14467 |
|
fi |
| 14468 |
|
|
| 14469 |
< |
else |
| 14469 |
> |
else $as_nop |
| 14470 |
|
: |
| 14471 |
|
fi |
| 14472 |
|
|
| 14477 |
|
|
| 14478 |
|
|
| 14479 |
|
for flag in -Wmissing-include-dirs; do |
| 14480 |
< |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14481 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14482 |
< |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 14483 |
< |
if eval \${$as_CACHEVAR+:} false; then : |
| 14484 |
< |
$as_echo_n "(cached) " >&6 |
| 14485 |
< |
else |
| 14480 |
> |
as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14481 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14482 |
> |
printf %s "checking whether C compiler accepts $flag... " >&6; } |
| 14483 |
> |
if eval test \${$as_CACHEVAR+y} |
| 14484 |
> |
then : |
| 14485 |
> |
printf %s "(cached) " >&6 |
| 14486 |
> |
else $as_nop |
| 14487 |
|
|
| 14488 |
|
ax_check_save_flags=$CFLAGS |
| 14489 |
|
CFLAGS="$CFLAGS $flag" |
| 14491 |
|
/* end confdefs.h. */ |
| 14492 |
|
|
| 14493 |
|
int |
| 14494 |
< |
main () |
| 14494 |
> |
main (void) |
| 14495 |
|
{ |
| 14496 |
|
|
| 14497 |
|
; |
| 14498 |
|
return 0; |
| 14499 |
|
} |
| 14500 |
|
_ACEOF |
| 14501 |
< |
if ac_fn_c_try_compile "$LINENO"; then : |
| 14501 |
> |
if ac_fn_c_try_compile "$LINENO" |
| 14502 |
> |
then : |
| 14503 |
|
eval "$as_CACHEVAR=yes" |
| 14504 |
< |
else |
| 14504 |
> |
else $as_nop |
| 14505 |
|
eval "$as_CACHEVAR=no" |
| 14506 |
|
fi |
| 14507 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14507 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 14508 |
|
CFLAGS=$ax_check_save_flags |
| 14509 |
|
fi |
| 14510 |
|
eval ac_res=\$$as_CACHEVAR |
| 14511 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 14512 |
< |
$as_echo "$ac_res" >&6; } |
| 14513 |
< |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
| 14511 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 14512 |
> |
printf "%s\n" "$ac_res" >&6; } |
| 14513 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes" |
| 14514 |
> |
then : |
| 14515 |
|
|
| 14516 |
< |
if ${CFLAGS+:} false; then : |
| 14516 |
> |
if test ${CFLAGS+y} |
| 14517 |
> |
then : |
| 14518 |
|
|
| 14519 |
|
case " $CFLAGS " in #( |
| 14520 |
|
*" $flag "*) : |
| 14521 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 14521 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 14522 |
|
(: CFLAGS already contains $flag) 2>&5 |
| 14523 |
|
ac_status=$? |
| 14524 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14524 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14525 |
|
test $ac_status = 0; } ;; #( |
| 14526 |
|
*) : |
| 14527 |
|
|
| 14528 |
|
as_fn_append CFLAGS " $flag" |
| 14529 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 14529 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 14530 |
|
(: CFLAGS="$CFLAGS") 2>&5 |
| 14531 |
|
ac_status=$? |
| 14532 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14532 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14533 |
|
test $ac_status = 0; } |
| 14534 |
|
;; |
| 14535 |
|
esac |
| 14536 |
|
|
| 14537 |
< |
else |
| 14537 |
> |
else $as_nop |
| 14538 |
|
|
| 14539 |
|
CFLAGS=$flag |
| 14540 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 14540 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 14541 |
|
(: CFLAGS="$CFLAGS") 2>&5 |
| 14542 |
|
ac_status=$? |
| 14543 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14543 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14544 |
|
test $ac_status = 0; } |
| 14545 |
|
|
| 14546 |
|
fi |
| 14547 |
|
|
| 14548 |
< |
else |
| 14548 |
> |
else $as_nop |
| 14549 |
|
: |
| 14550 |
|
fi |
| 14551 |
|
|
| 14556 |
|
|
| 14557 |
|
|
| 14558 |
|
for flag in -Wmissing-parameter-type; do |
| 14559 |
< |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14560 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14561 |
< |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 14562 |
< |
if eval \${$as_CACHEVAR+:} false; then : |
| 14563 |
< |
$as_echo_n "(cached) " >&6 |
| 14564 |
< |
else |
| 14559 |
> |
as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14560 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14561 |
> |
printf %s "checking whether C compiler accepts $flag... " >&6; } |
| 14562 |
> |
if eval test \${$as_CACHEVAR+y} |
| 14563 |
> |
then : |
| 14564 |
> |
printf %s "(cached) " >&6 |
| 14565 |
> |
else $as_nop |
| 14566 |
|
|
| 14567 |
|
ax_check_save_flags=$CFLAGS |
| 14568 |
|
CFLAGS="$CFLAGS $flag" |
| 14570 |
|
/* end confdefs.h. */ |
| 14571 |
|
|
| 14572 |
|
int |
| 14573 |
< |
main () |
| 14573 |
> |
main (void) |
| 14574 |
|
{ |
| 14575 |
|
|
| 14576 |
|
; |
| 14577 |
|
return 0; |
| 14578 |
|
} |
| 14579 |
|
_ACEOF |
| 14580 |
< |
if ac_fn_c_try_compile "$LINENO"; then : |
| 14580 |
> |
if ac_fn_c_try_compile "$LINENO" |
| 14581 |
> |
then : |
| 14582 |
|
eval "$as_CACHEVAR=yes" |
| 14583 |
< |
else |
| 14583 |
> |
else $as_nop |
| 14584 |
|
eval "$as_CACHEVAR=no" |
| 14585 |
|
fi |
| 14586 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14586 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 14587 |
|
CFLAGS=$ax_check_save_flags |
| 14588 |
|
fi |
| 14589 |
|
eval ac_res=\$$as_CACHEVAR |
| 14590 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 14591 |
< |
$as_echo "$ac_res" >&6; } |
| 14592 |
< |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
| 14590 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 14591 |
> |
printf "%s\n" "$ac_res" >&6; } |
| 14592 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes" |
| 14593 |
> |
then : |
| 14594 |
|
|
| 14595 |
< |
if ${CFLAGS+:} false; then : |
| 14595 |
> |
if test ${CFLAGS+y} |
| 14596 |
> |
then : |
| 14597 |
|
|
| 14598 |
|
case " $CFLAGS " in #( |
| 14599 |
|
*" $flag "*) : |
| 14600 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 14600 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 14601 |
|
(: CFLAGS already contains $flag) 2>&5 |
| 14602 |
|
ac_status=$? |
| 14603 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14603 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14604 |
|
test $ac_status = 0; } ;; #( |
| 14605 |
|
*) : |
| 14606 |
|
|
| 14607 |
|
as_fn_append CFLAGS " $flag" |
| 14608 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 14608 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 14609 |
|
(: CFLAGS="$CFLAGS") 2>&5 |
| 14610 |
|
ac_status=$? |
| 14611 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14611 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14612 |
|
test $ac_status = 0; } |
| 14613 |
|
;; |
| 14614 |
|
esac |
| 14615 |
|
|
| 14616 |
< |
else |
| 14616 |
> |
else $as_nop |
| 14617 |
|
|
| 14618 |
|
CFLAGS=$flag |
| 14619 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 14619 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 14620 |
|
(: CFLAGS="$CFLAGS") 2>&5 |
| 14621 |
|
ac_status=$? |
| 14622 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14622 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14623 |
|
test $ac_status = 0; } |
| 14624 |
|
|
| 14625 |
|
fi |
| 14626 |
|
|
| 14627 |
< |
else |
| 14627 |
> |
else $as_nop |
| 14628 |
|
: |
| 14629 |
|
fi |
| 14630 |
|
|
| 14635 |
|
|
| 14636 |
|
|
| 14637 |
|
for flag in -Wmissing-prototypes; do |
| 14638 |
< |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14639 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14640 |
< |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 14641 |
< |
if eval \${$as_CACHEVAR+:} false; then : |
| 14642 |
< |
$as_echo_n "(cached) " >&6 |
| 14643 |
< |
else |
| 14638 |
> |
as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14639 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14640 |
> |
printf %s "checking whether C compiler accepts $flag... " >&6; } |
| 14641 |
> |
if eval test \${$as_CACHEVAR+y} |
| 14642 |
> |
then : |
| 14643 |
> |
printf %s "(cached) " >&6 |
| 14644 |
> |
else $as_nop |
| 14645 |
|
|
| 14646 |
|
ax_check_save_flags=$CFLAGS |
| 14647 |
|
CFLAGS="$CFLAGS $flag" |
| 14649 |
|
/* end confdefs.h. */ |
| 14650 |
|
|
| 14651 |
|
int |
| 14652 |
< |
main () |
| 14652 |
> |
main (void) |
| 14653 |
|
{ |
| 14654 |
|
|
| 14655 |
|
; |
| 14656 |
|
return 0; |
| 14657 |
|
} |
| 14658 |
|
_ACEOF |
| 14659 |
< |
if ac_fn_c_try_compile "$LINENO"; then : |
| 14659 |
> |
if ac_fn_c_try_compile "$LINENO" |
| 14660 |
> |
then : |
| 14661 |
|
eval "$as_CACHEVAR=yes" |
| 14662 |
< |
else |
| 14662 |
> |
else $as_nop |
| 14663 |
|
eval "$as_CACHEVAR=no" |
| 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 |
|
CFLAGS=$ax_check_save_flags |
| 14667 |
|
fi |
| 14668 |
|
eval ac_res=\$$as_CACHEVAR |
| 14669 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 14670 |
< |
$as_echo "$ac_res" >&6; } |
| 14671 |
< |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
| 14669 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 14670 |
> |
printf "%s\n" "$ac_res" >&6; } |
| 14671 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes" |
| 14672 |
> |
then : |
| 14673 |
|
|
| 14674 |
< |
if ${CFLAGS+:} false; then : |
| 14674 |
> |
if test ${CFLAGS+y} |
| 14675 |
> |
then : |
| 14676 |
|
|
| 14677 |
|
case " $CFLAGS " in #( |
| 14678 |
|
*" $flag "*) : |
| 14679 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 14679 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 14680 |
|
(: CFLAGS already contains $flag) 2>&5 |
| 14681 |
|
ac_status=$? |
| 14682 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14682 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14683 |
|
test $ac_status = 0; } ;; #( |
| 14684 |
|
*) : |
| 14685 |
|
|
| 14686 |
|
as_fn_append CFLAGS " $flag" |
| 14687 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 14687 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 14688 |
|
(: CFLAGS="$CFLAGS") 2>&5 |
| 14689 |
|
ac_status=$? |
| 14690 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14690 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14691 |
|
test $ac_status = 0; } |
| 14692 |
|
;; |
| 14693 |
|
esac |
| 14694 |
|
|
| 14695 |
< |
else |
| 14695 |
> |
else $as_nop |
| 14696 |
|
|
| 14697 |
|
CFLAGS=$flag |
| 14698 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 14698 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 14699 |
|
(: CFLAGS="$CFLAGS") 2>&5 |
| 14700 |
|
ac_status=$? |
| 14701 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14701 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14702 |
|
test $ac_status = 0; } |
| 14703 |
|
|
| 14704 |
|
fi |
| 14705 |
|
|
| 14706 |
< |
else |
| 14706 |
> |
else $as_nop |
| 14707 |
|
: |
| 14708 |
|
fi |
| 14709 |
|
|
| 14714 |
|
|
| 14715 |
|
|
| 14716 |
|
for flag in -Wnested-externs; do |
| 14717 |
< |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14718 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14719 |
< |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 14720 |
< |
if eval \${$as_CACHEVAR+:} false; then : |
| 14721 |
< |
$as_echo_n "(cached) " >&6 |
| 14722 |
< |
else |
| 14717 |
> |
as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14718 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14719 |
> |
printf %s "checking whether C compiler accepts $flag... " >&6; } |
| 14720 |
> |
if eval test \${$as_CACHEVAR+y} |
| 14721 |
> |
then : |
| 14722 |
> |
printf %s "(cached) " >&6 |
| 14723 |
> |
else $as_nop |
| 14724 |
|
|
| 14725 |
|
ax_check_save_flags=$CFLAGS |
| 14726 |
|
CFLAGS="$CFLAGS $flag" |
| 14728 |
|
/* end confdefs.h. */ |
| 14729 |
|
|
| 14730 |
|
int |
| 14731 |
< |
main () |
| 14731 |
> |
main (void) |
| 14732 |
|
{ |
| 14733 |
|
|
| 14734 |
|
; |
| 14735 |
|
return 0; |
| 14736 |
|
} |
| 14737 |
|
_ACEOF |
| 14738 |
< |
if ac_fn_c_try_compile "$LINENO"; then : |
| 14738 |
> |
if ac_fn_c_try_compile "$LINENO" |
| 14739 |
> |
then : |
| 14740 |
|
eval "$as_CACHEVAR=yes" |
| 14741 |
< |
else |
| 14741 |
> |
else $as_nop |
| 14742 |
|
eval "$as_CACHEVAR=no" |
| 14743 |
|
fi |
| 14744 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14744 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 14745 |
|
CFLAGS=$ax_check_save_flags |
| 14746 |
|
fi |
| 14747 |
|
eval ac_res=\$$as_CACHEVAR |
| 14748 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 14749 |
< |
$as_echo "$ac_res" >&6; } |
| 14750 |
< |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
| 14748 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 14749 |
> |
printf "%s\n" "$ac_res" >&6; } |
| 14750 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes" |
| 14751 |
> |
then : |
| 14752 |
|
|
| 14753 |
< |
if ${CFLAGS+:} false; then : |
| 14753 |
> |
if test ${CFLAGS+y} |
| 14754 |
> |
then : |
| 14755 |
|
|
| 14756 |
|
case " $CFLAGS " in #( |
| 14757 |
|
*" $flag "*) : |
| 14758 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 14758 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 14759 |
|
(: CFLAGS already contains $flag) 2>&5 |
| 14760 |
|
ac_status=$? |
| 14761 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14761 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14762 |
|
test $ac_status = 0; } ;; #( |
| 14763 |
|
*) : |
| 14764 |
|
|
| 14765 |
|
as_fn_append CFLAGS " $flag" |
| 14766 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 14766 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 14767 |
|
(: CFLAGS="$CFLAGS") 2>&5 |
| 14768 |
|
ac_status=$? |
| 14769 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14769 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14770 |
|
test $ac_status = 0; } |
| 14771 |
|
;; |
| 14772 |
|
esac |
| 14773 |
|
|
| 14774 |
< |
else |
| 14774 |
> |
else $as_nop |
| 14775 |
|
|
| 14776 |
|
CFLAGS=$flag |
| 14777 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 14777 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 14778 |
|
(: CFLAGS="$CFLAGS") 2>&5 |
| 14779 |
|
ac_status=$? |
| 14780 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14780 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14781 |
|
test $ac_status = 0; } |
| 14782 |
|
|
| 14783 |
|
fi |
| 14784 |
|
|
| 14785 |
< |
else |
| 14785 |
> |
else $as_nop |
| 14786 |
|
: |
| 14787 |
|
fi |
| 14788 |
|
|
| 14793 |
|
|
| 14794 |
|
|
| 14795 |
|
for flag in -Wold-style-declaration; do |
| 14796 |
< |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14797 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14798 |
< |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 14799 |
< |
if eval \${$as_CACHEVAR+:} false; then : |
| 14800 |
< |
$as_echo_n "(cached) " >&6 |
| 14801 |
< |
else |
| 14796 |
> |
as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14797 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14798 |
> |
printf %s "checking whether C compiler accepts $flag... " >&6; } |
| 14799 |
> |
if eval test \${$as_CACHEVAR+y} |
| 14800 |
> |
then : |
| 14801 |
> |
printf %s "(cached) " >&6 |
| 14802 |
> |
else $as_nop |
| 14803 |
|
|
| 14804 |
|
ax_check_save_flags=$CFLAGS |
| 14805 |
|
CFLAGS="$CFLAGS $flag" |
| 14807 |
|
/* end confdefs.h. */ |
| 14808 |
|
|
| 14809 |
|
int |
| 14810 |
< |
main () |
| 14810 |
> |
main (void) |
| 14811 |
|
{ |
| 14812 |
|
|
| 14813 |
|
; |
| 14814 |
|
return 0; |
| 14815 |
|
} |
| 14816 |
|
_ACEOF |
| 14817 |
< |
if ac_fn_c_try_compile "$LINENO"; then : |
| 14817 |
> |
if ac_fn_c_try_compile "$LINENO" |
| 14818 |
> |
then : |
| 14819 |
|
eval "$as_CACHEVAR=yes" |
| 14820 |
< |
else |
| 14820 |
> |
else $as_nop |
| 14821 |
|
eval "$as_CACHEVAR=no" |
| 14822 |
|
fi |
| 14823 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14823 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 14824 |
|
CFLAGS=$ax_check_save_flags |
| 14825 |
|
fi |
| 14826 |
|
eval ac_res=\$$as_CACHEVAR |
| 14827 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 14828 |
< |
$as_echo "$ac_res" >&6; } |
| 14829 |
< |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
| 14827 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 14828 |
> |
printf "%s\n" "$ac_res" >&6; } |
| 14829 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes" |
| 14830 |
> |
then : |
| 14831 |
|
|
| 14832 |
< |
if ${CFLAGS+:} false; then : |
| 14832 |
> |
if test ${CFLAGS+y} |
| 14833 |
> |
then : |
| 14834 |
|
|
| 14835 |
|
case " $CFLAGS " in #( |
| 14836 |
|
*" $flag "*) : |
| 14837 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 14837 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 14838 |
|
(: CFLAGS already contains $flag) 2>&5 |
| 14839 |
|
ac_status=$? |
| 14840 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14840 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14841 |
|
test $ac_status = 0; } ;; #( |
| 14842 |
|
*) : |
| 14843 |
|
|
| 14844 |
|
as_fn_append CFLAGS " $flag" |
| 14845 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 14845 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 14846 |
|
(: CFLAGS="$CFLAGS") 2>&5 |
| 14847 |
|
ac_status=$? |
| 14848 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14848 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14849 |
|
test $ac_status = 0; } |
| 14850 |
|
;; |
| 14851 |
|
esac |
| 14852 |
|
|
| 14853 |
< |
else |
| 14853 |
> |
else $as_nop |
| 14854 |
|
|
| 14855 |
|
CFLAGS=$flag |
| 14856 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 14856 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 14857 |
|
(: CFLAGS="$CFLAGS") 2>&5 |
| 14858 |
|
ac_status=$? |
| 14859 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14859 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14860 |
|
test $ac_status = 0; } |
| 14861 |
|
|
| 14862 |
|
fi |
| 14863 |
|
|
| 14864 |
< |
else |
| 14864 |
> |
else $as_nop |
| 14865 |
|
: |
| 14866 |
|
fi |
| 14867 |
|
|
| 14872 |
|
|
| 14873 |
|
|
| 14874 |
|
for flag in -Woverride-init; do |
| 14875 |
< |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14876 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14877 |
< |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 14878 |
< |
if eval \${$as_CACHEVAR+:} false; then : |
| 14879 |
< |
$as_echo_n "(cached) " >&6 |
| 14880 |
< |
else |
| 14875 |
> |
as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14876 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14877 |
> |
printf %s "checking whether C compiler accepts $flag... " >&6; } |
| 14878 |
> |
if eval test \${$as_CACHEVAR+y} |
| 14879 |
> |
then : |
| 14880 |
> |
printf %s "(cached) " >&6 |
| 14881 |
> |
else $as_nop |
| 14882 |
|
|
| 14883 |
|
ax_check_save_flags=$CFLAGS |
| 14884 |
|
CFLAGS="$CFLAGS $flag" |
| 14886 |
|
/* end confdefs.h. */ |
| 14887 |
|
|
| 14888 |
|
int |
| 14889 |
< |
main () |
| 14889 |
> |
main (void) |
| 14890 |
|
{ |
| 14891 |
|
|
| 14892 |
|
; |
| 14893 |
|
return 0; |
| 14894 |
|
} |
| 14895 |
|
_ACEOF |
| 14896 |
< |
if ac_fn_c_try_compile "$LINENO"; then : |
| 14896 |
> |
if ac_fn_c_try_compile "$LINENO" |
| 14897 |
> |
then : |
| 14898 |
|
eval "$as_CACHEVAR=yes" |
| 14899 |
< |
else |
| 14899 |
> |
else $as_nop |
| 14900 |
|
eval "$as_CACHEVAR=no" |
| 14901 |
|
fi |
| 14902 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14902 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 14903 |
|
CFLAGS=$ax_check_save_flags |
| 14904 |
|
fi |
| 14905 |
|
eval ac_res=\$$as_CACHEVAR |
| 14906 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 14907 |
< |
$as_echo "$ac_res" >&6; } |
| 14908 |
< |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
| 14906 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 14907 |
> |
printf "%s\n" "$ac_res" >&6; } |
| 14908 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes" |
| 14909 |
> |
then : |
| 14910 |
|
|
| 14911 |
< |
if ${CFLAGS+:} false; then : |
| 14911 |
> |
if test ${CFLAGS+y} |
| 14912 |
> |
then : |
| 14913 |
|
|
| 14914 |
|
case " $CFLAGS " in #( |
| 14915 |
|
*" $flag "*) : |
| 14916 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 14916 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 14917 |
|
(: CFLAGS already contains $flag) 2>&5 |
| 14918 |
|
ac_status=$? |
| 14919 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14919 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14920 |
|
test $ac_status = 0; } ;; #( |
| 14921 |
|
*) : |
| 14922 |
|
|
| 14923 |
|
as_fn_append CFLAGS " $flag" |
| 14924 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 14924 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 14925 |
|
(: CFLAGS="$CFLAGS") 2>&5 |
| 14926 |
|
ac_status=$? |
| 14927 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14927 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14928 |
|
test $ac_status = 0; } |
| 14929 |
|
;; |
| 14930 |
|
esac |
| 14931 |
|
|
| 14932 |
< |
else |
| 14932 |
> |
else $as_nop |
| 14933 |
|
|
| 14934 |
|
CFLAGS=$flag |
| 14935 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 14935 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 14936 |
|
(: CFLAGS="$CFLAGS") 2>&5 |
| 14937 |
|
ac_status=$? |
| 14938 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14938 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14939 |
|
test $ac_status = 0; } |
| 14940 |
|
|
| 14941 |
|
fi |
| 14942 |
|
|
| 14943 |
< |
else |
| 14943 |
> |
else $as_nop |
| 14944 |
|
: |
| 14945 |
|
fi |
| 14946 |
|
|
| 14951 |
|
|
| 14952 |
|
|
| 14953 |
|
for flag in -Wpointer-arith; do |
| 14954 |
< |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14955 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14956 |
< |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 14957 |
< |
if eval \${$as_CACHEVAR+:} false; then : |
| 14958 |
< |
$as_echo_n "(cached) " >&6 |
| 14959 |
< |
else |
| 14954 |
> |
as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14955 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14956 |
> |
printf %s "checking whether C compiler accepts $flag... " >&6; } |
| 14957 |
> |
if eval test \${$as_CACHEVAR+y} |
| 14958 |
> |
then : |
| 14959 |
> |
printf %s "(cached) " >&6 |
| 14960 |
> |
else $as_nop |
| 14961 |
|
|
| 14962 |
|
ax_check_save_flags=$CFLAGS |
| 14963 |
|
CFLAGS="$CFLAGS $flag" |
| 14965 |
|
/* end confdefs.h. */ |
| 14966 |
|
|
| 14967 |
|
int |
| 14968 |
< |
main () |
| 14968 |
> |
main (void) |
| 14969 |
|
{ |
| 14970 |
|
|
| 14971 |
|
; |
| 14972 |
|
return 0; |
| 14973 |
|
} |
| 14974 |
|
_ACEOF |
| 14975 |
< |
if ac_fn_c_try_compile "$LINENO"; then : |
| 14975 |
> |
if ac_fn_c_try_compile "$LINENO" |
| 14976 |
> |
then : |
| 14977 |
|
eval "$as_CACHEVAR=yes" |
| 14978 |
< |
else |
| 14978 |
> |
else $as_nop |
| 14979 |
|
eval "$as_CACHEVAR=no" |
| 14980 |
|
fi |
| 14981 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14981 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 14982 |
|
CFLAGS=$ax_check_save_flags |
| 14983 |
|
fi |
| 14984 |
|
eval ac_res=\$$as_CACHEVAR |
| 14985 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 14986 |
< |
$as_echo "$ac_res" >&6; } |
| 14987 |
< |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
| 14985 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 14986 |
> |
printf "%s\n" "$ac_res" >&6; } |
| 14987 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes" |
| 14988 |
> |
then : |
| 14989 |
|
|
| 14990 |
< |
if ${CFLAGS+:} false; then : |
| 14990 |
> |
if test ${CFLAGS+y} |
| 14991 |
> |
then : |
| 14992 |
|
|
| 14993 |
|
case " $CFLAGS " in #( |
| 14994 |
|
*" $flag "*) : |
| 14995 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 14995 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 14996 |
|
(: CFLAGS already contains $flag) 2>&5 |
| 14997 |
|
ac_status=$? |
| 14998 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14998 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14999 |
|
test $ac_status = 0; } ;; #( |
| 15000 |
|
*) : |
| 15001 |
|
|
| 15002 |
|
as_fn_append CFLAGS " $flag" |
| 15003 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 15003 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 15004 |
|
(: CFLAGS="$CFLAGS") 2>&5 |
| 15005 |
|
ac_status=$? |
| 15006 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15006 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15007 |
|
test $ac_status = 0; } |
| 15008 |
|
;; |
| 15009 |
|
esac |
| 15010 |
|
|
| 15011 |
< |
else |
| 15011 |
> |
else $as_nop |
| 15012 |
|
|
| 15013 |
|
CFLAGS=$flag |
| 15014 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 15014 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 15015 |
|
(: CFLAGS="$CFLAGS") 2>&5 |
| 15016 |
|
ac_status=$? |
| 15017 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15017 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15018 |
|
test $ac_status = 0; } |
| 15019 |
|
|
| 15020 |
|
fi |
| 15021 |
|
|
| 15022 |
< |
else |
| 15022 |
> |
else $as_nop |
| 15023 |
|
: |
| 15024 |
|
fi |
| 15025 |
|
|
| 15030 |
|
|
| 15031 |
|
|
| 15032 |
|
for flag in -Wredundant-decls; do |
| 15033 |
< |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 15034 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 15035 |
< |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 15036 |
< |
if eval \${$as_CACHEVAR+:} false; then : |
| 15037 |
< |
$as_echo_n "(cached) " >&6 |
| 15038 |
< |
else |
| 15033 |
> |
as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 15034 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 15035 |
> |
printf %s "checking whether C compiler accepts $flag... " >&6; } |
| 15036 |
> |
if eval test \${$as_CACHEVAR+y} |
| 15037 |
> |
then : |
| 15038 |
> |
printf %s "(cached) " >&6 |
| 15039 |
> |
else $as_nop |
| 15040 |
|
|
| 15041 |
|
ax_check_save_flags=$CFLAGS |
| 15042 |
|
CFLAGS="$CFLAGS $flag" |
| 15044 |
|
/* end confdefs.h. */ |
| 15045 |
|
|
| 15046 |
|
int |
| 15047 |
< |
main () |
| 15047 |
> |
main (void) |
| 15048 |
|
{ |
| 15049 |
|
|
| 15050 |
|
; |
| 15051 |
|
return 0; |
| 15052 |
|
} |
| 15053 |
|
_ACEOF |
| 15054 |
< |
if ac_fn_c_try_compile "$LINENO"; then : |
| 15054 |
> |
if ac_fn_c_try_compile "$LINENO" |
| 15055 |
> |
then : |
| 15056 |
|
eval "$as_CACHEVAR=yes" |
| 15057 |
< |
else |
| 15057 |
> |
else $as_nop |
| 15058 |
|
eval "$as_CACHEVAR=no" |
| 15059 |
|
fi |
| 15060 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 15060 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 15061 |
|
CFLAGS=$ax_check_save_flags |
| 15062 |
|
fi |
| 15063 |
|
eval ac_res=\$$as_CACHEVAR |
| 15064 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 15065 |
< |
$as_echo "$ac_res" >&6; } |
| 15066 |
< |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
| 15064 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 15065 |
> |
printf "%s\n" "$ac_res" >&6; } |
| 15066 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes" |
| 15067 |
> |
then : |
| 15068 |
|
|
| 15069 |
< |
if ${CFLAGS+:} false; then : |
| 15069 |
> |
if test ${CFLAGS+y} |
| 15070 |
> |
then : |
| 15071 |
|
|
| 15072 |
|
case " $CFLAGS " in #( |
| 15073 |
|
*" $flag "*) : |
| 15074 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 15074 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 15075 |
|
(: CFLAGS already contains $flag) 2>&5 |
| 15076 |
|
ac_status=$? |
| 15077 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15077 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15078 |
|
test $ac_status = 0; } ;; #( |
| 15079 |
|
*) : |
| 15080 |
|
|
| 15081 |
|
as_fn_append CFLAGS " $flag" |
| 15082 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 15082 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 15083 |
|
(: CFLAGS="$CFLAGS") 2>&5 |
| 15084 |
|
ac_status=$? |
| 15085 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15085 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15086 |
|
test $ac_status = 0; } |
| 15087 |
|
;; |
| 15088 |
|
esac |
| 15089 |
|
|
| 15090 |
< |
else |
| 15090 |
> |
else $as_nop |
| 15091 |
|
|
| 15092 |
|
CFLAGS=$flag |
| 15093 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 15093 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 15094 |
|
(: CFLAGS="$CFLAGS") 2>&5 |
| 15095 |
|
ac_status=$? |
| 15096 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15096 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15097 |
|
test $ac_status = 0; } |
| 15098 |
|
|
| 15099 |
|
fi |
| 15100 |
|
|
| 15101 |
< |
else |
| 15101 |
> |
else $as_nop |
| 15102 |
|
: |
| 15103 |
|
fi |
| 15104 |
|
|
| 15109 |
|
|
| 15110 |
|
|
| 15111 |
|
for flag in -Wshadow; do |
| 15112 |
< |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 15113 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 15114 |
< |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 15115 |
< |
if eval \${$as_CACHEVAR+:} false; then : |
| 15116 |
< |
$as_echo_n "(cached) " >&6 |
| 15117 |
< |
else |
| 15112 |
> |
as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 15113 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 15114 |
> |
printf %s "checking whether C compiler accepts $flag... " >&6; } |
| 15115 |
> |
if eval test \${$as_CACHEVAR+y} |
| 15116 |
> |
then : |
| 15117 |
> |
printf %s "(cached) " >&6 |
| 15118 |
> |
else $as_nop |
| 15119 |
|
|
| 15120 |
|
ax_check_save_flags=$CFLAGS |
| 15121 |
|
CFLAGS="$CFLAGS $flag" |
| 15123 |
|
/* end confdefs.h. */ |
| 15124 |
|
|
| 15125 |
|
int |
| 15126 |
< |
main () |
| 15126 |
> |
main (void) |
| 15127 |
|
{ |
| 15128 |
|
|
| 15129 |
|
; |
| 15130 |
|
return 0; |
| 15131 |
|
} |
| 15132 |
|
_ACEOF |
| 15133 |
< |
if ac_fn_c_try_compile "$LINENO"; then : |
| 15133 |
> |
if ac_fn_c_try_compile "$LINENO" |
| 15134 |
> |
then : |
| 15135 |
|
eval "$as_CACHEVAR=yes" |
| 15136 |
< |
else |
| 15136 |
> |
else $as_nop |
| 15137 |
|
eval "$as_CACHEVAR=no" |
| 15138 |
|
fi |
| 15139 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 15139 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 15140 |
|
CFLAGS=$ax_check_save_flags |
| 15141 |
|
fi |
| 15142 |
|
eval ac_res=\$$as_CACHEVAR |
| 15143 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 15144 |
< |
$as_echo "$ac_res" >&6; } |
| 15145 |
< |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
| 15143 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 15144 |
> |
printf "%s\n" "$ac_res" >&6; } |
| 15145 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes" |
| 15146 |
> |
then : |
| 15147 |
|
|
| 15148 |
< |
if ${CFLAGS+:} false; then : |
| 15148 |
> |
if test ${CFLAGS+y} |
| 15149 |
> |
then : |
| 15150 |
|
|
| 15151 |
|
case " $CFLAGS " in #( |
| 15152 |
|
*" $flag "*) : |
| 15153 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 15153 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 15154 |
|
(: CFLAGS already contains $flag) 2>&5 |
| 15155 |
|
ac_status=$? |
| 15156 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15156 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15157 |
|
test $ac_status = 0; } ;; #( |
| 15158 |
|
*) : |
| 15159 |
|
|
| 15160 |
|
as_fn_append CFLAGS " $flag" |
| 15161 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 15161 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 15162 |
|
(: CFLAGS="$CFLAGS") 2>&5 |
| 15163 |
|
ac_status=$? |
| 15164 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15164 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15165 |
|
test $ac_status = 0; } |
| 15166 |
|
;; |
| 15167 |
|
esac |
| 15168 |
|
|
| 15169 |
< |
else |
| 15169 |
> |
else $as_nop |
| 15170 |
|
|
| 15171 |
|
CFLAGS=$flag |
| 15172 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 15172 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 15173 |
|
(: CFLAGS="$CFLAGS") 2>&5 |
| 15174 |
|
ac_status=$? |
| 15175 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15175 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15176 |
|
test $ac_status = 0; } |
| 15177 |
|
|
| 15178 |
|
fi |
| 15179 |
|
|
| 15180 |
< |
else |
| 15180 |
> |
else $as_nop |
| 15181 |
|
: |
| 15182 |
|
fi |
| 15183 |
|
|
| 15188 |
|
|
| 15189 |
|
|
| 15190 |
|
for flag in -Wshift-negative-value; do |
| 15191 |
< |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 15192 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 15193 |
< |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 15194 |
< |
if eval \${$as_CACHEVAR+:} false; then : |
| 15195 |
< |
$as_echo_n "(cached) " >&6 |
| 15196 |
< |
else |
| 15191 |
> |
as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 15192 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 15193 |
> |
printf %s "checking whether C compiler accepts $flag... " >&6; } |
| 15194 |
> |
if eval test \${$as_CACHEVAR+y} |
| 15195 |
> |
then : |
| 15196 |
> |
printf %s "(cached) " >&6 |
| 15197 |
> |
else $as_nop |
| 15198 |
|
|
| 15199 |
|
ax_check_save_flags=$CFLAGS |
| 15200 |
|
CFLAGS="$CFLAGS $flag" |
| 15202 |
|
/* end confdefs.h. */ |
| 15203 |
|
|
| 15204 |
|
int |
| 15205 |
< |
main () |
| 15205 |
> |
main (void) |
| 15206 |
|
{ |
| 15207 |
|
|
| 15208 |
|
; |
| 15209 |
|
return 0; |
| 15210 |
|
} |
| 15211 |
|
_ACEOF |
| 15212 |
< |
if ac_fn_c_try_compile "$LINENO"; then : |
| 15212 |
> |
if ac_fn_c_try_compile "$LINENO" |
| 15213 |
> |
then : |
| 15214 |
|
eval "$as_CACHEVAR=yes" |
| 15215 |
< |
else |
| 15215 |
> |
else $as_nop |
| 15216 |
|
eval "$as_CACHEVAR=no" |
| 15217 |
|
fi |
| 15218 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 15218 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 15219 |
|
CFLAGS=$ax_check_save_flags |
| 15220 |
|
fi |
| 15221 |
|
eval ac_res=\$$as_CACHEVAR |
| 15222 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 15223 |
< |
$as_echo "$ac_res" >&6; } |
| 15224 |
< |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
| 15222 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 15223 |
> |
printf "%s\n" "$ac_res" >&6; } |
| 15224 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes" |
| 15225 |
> |
then : |
| 15226 |
|
|
| 15227 |
< |
if ${CFLAGS+:} false; then : |
| 15227 |
> |
if test ${CFLAGS+y} |
| 15228 |
> |
then : |
| 15229 |
|
|
| 15230 |
|
case " $CFLAGS " in #( |
| 15231 |
|
*" $flag "*) : |
| 15232 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 15232 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 15233 |
|
(: CFLAGS already contains $flag) 2>&5 |
| 15234 |
|
ac_status=$? |
| 15235 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15235 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15236 |
|
test $ac_status = 0; } ;; #( |
| 15237 |
|
*) : |
| 15238 |
|
|
| 15239 |
|
as_fn_append CFLAGS " $flag" |
| 15240 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 15240 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 15241 |
|
(: CFLAGS="$CFLAGS") 2>&5 |
| 15242 |
|
ac_status=$? |
| 15243 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15243 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15244 |
|
test $ac_status = 0; } |
| 15245 |
|
;; |
| 15246 |
|
esac |
| 15247 |
|
|
| 15248 |
< |
else |
| 15248 |
> |
else $as_nop |
| 15249 |
|
|
| 15250 |
|
CFLAGS=$flag |
| 15251 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 15251 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 15252 |
|
(: CFLAGS="$CFLAGS") 2>&5 |
| 15253 |
|
ac_status=$? |
| 15254 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15254 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15255 |
|
test $ac_status = 0; } |
| 15256 |
|
|
| 15257 |
|
fi |
| 15258 |
|
|
| 15259 |
< |
else |
| 15259 |
> |
else $as_nop |
| 15260 |
|
: |
| 15261 |
|
fi |
| 15262 |
|
|
| 15267 |
|
|
| 15268 |
|
|
| 15269 |
|
for flag in -Wsign-compare; do |
| 15270 |
< |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 15271 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 15272 |
< |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 15273 |
< |
if eval \${$as_CACHEVAR+:} false; then : |
| 15274 |
< |
$as_echo_n "(cached) " >&6 |
| 15275 |
< |
else |
| 15270 |
> |
as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 15271 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 15272 |
> |
printf %s "checking whether C compiler accepts $flag... " >&6; } |
| 15273 |
> |
if eval test \${$as_CACHEVAR+y} |
| 15274 |
> |
then : |
| 15275 |
> |
printf %s "(cached) " >&6 |
| 15276 |
> |
else $as_nop |
| 15277 |
|
|
| 15278 |
|
ax_check_save_flags=$CFLAGS |
| 15279 |
|
CFLAGS="$CFLAGS $flag" |
| 15281 |
|
/* end confdefs.h. */ |
| 15282 |
|
|
| 15283 |
|
int |
| 15284 |
< |
main () |
| 15284 |
> |
main (void) |
| 15285 |
|
{ |
| 15286 |
|
|
| 15287 |
|
; |
| 15288 |
|
return 0; |
| 15289 |
|
} |
| 15290 |
|
_ACEOF |
| 15291 |
< |
if ac_fn_c_try_compile "$LINENO"; then : |
| 15291 |
> |
if ac_fn_c_try_compile "$LINENO" |
| 15292 |
> |
then : |
| 15293 |
|
eval "$as_CACHEVAR=yes" |
| 15294 |
< |
else |
| 15294 |
> |
else $as_nop |
| 15295 |
|
eval "$as_CACHEVAR=no" |
| 15296 |
|
fi |
| 15297 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 15297 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 15298 |
|
CFLAGS=$ax_check_save_flags |
| 15299 |
|
fi |
| 15300 |
|
eval ac_res=\$$as_CACHEVAR |
| 15301 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 15302 |
< |
$as_echo "$ac_res" >&6; } |
| 15303 |
< |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
| 15301 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 15302 |
> |
printf "%s\n" "$ac_res" >&6; } |
| 15303 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes" |
| 15304 |
> |
then : |
| 15305 |
|
|
| 15306 |
< |
if ${CFLAGS+:} false; then : |
| 15306 |
> |
if test ${CFLAGS+y} |
| 15307 |
> |
then : |
| 15308 |
|
|
| 15309 |
|
case " $CFLAGS " in #( |
| 15310 |
|
*" $flag "*) : |
| 15311 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 15311 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 15312 |
|
(: CFLAGS already contains $flag) 2>&5 |
| 15313 |
|
ac_status=$? |
| 15314 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15314 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15315 |
|
test $ac_status = 0; } ;; #( |
| 15316 |
|
*) : |
| 15317 |
|
|
| 15318 |
|
as_fn_append CFLAGS " $flag" |
| 15319 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 15319 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 15320 |
|
(: CFLAGS="$CFLAGS") 2>&5 |
| 15321 |
|
ac_status=$? |
| 15322 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15322 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15323 |
|
test $ac_status = 0; } |
| 15324 |
|
;; |
| 15325 |
|
esac |
| 15326 |
|
|
| 15327 |
< |
else |
| 15327 |
> |
else $as_nop |
| 15328 |
|
|
| 15329 |
|
CFLAGS=$flag |
| 15330 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 15330 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 15331 |
|
(: CFLAGS="$CFLAGS") 2>&5 |
| 15332 |
|
ac_status=$? |
| 15333 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15333 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15334 |
|
test $ac_status = 0; } |
| 15335 |
|
|
| 15336 |
|
fi |
| 15337 |
|
|
| 15338 |
< |
else |
| 15338 |
> |
else $as_nop |
| 15339 |
|
: |
| 15340 |
|
fi |
| 15341 |
|
|
| 15346 |
|
|
| 15347 |
|
|
| 15348 |
|
for flag in -Wtype-limits; do |
| 15349 |
< |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 15350 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 15351 |
< |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 15352 |
< |
if eval \${$as_CACHEVAR+:} false; then : |
| 15353 |
< |
$as_echo_n "(cached) " >&6 |
| 15354 |
< |
else |
| 15349 |
> |
as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 15350 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 15351 |
> |
printf %s "checking whether C compiler accepts $flag... " >&6; } |
| 15352 |
> |
if eval test \${$as_CACHEVAR+y} |
| 15353 |
> |
then : |
| 15354 |
> |
printf %s "(cached) " >&6 |
| 15355 |
> |
else $as_nop |
| 15356 |
|
|
| 15357 |
|
ax_check_save_flags=$CFLAGS |
| 15358 |
|
CFLAGS="$CFLAGS $flag" |
| 15360 |
|
/* end confdefs.h. */ |
| 15361 |
|
|
| 15362 |
|
int |
| 15363 |
< |
main () |
| 15363 |
> |
main (void) |
| 15364 |
|
{ |
| 15365 |
|
|
| 15366 |
|
; |
| 15367 |
|
return 0; |
| 15368 |
|
} |
| 15369 |
|
_ACEOF |
| 15370 |
< |
if ac_fn_c_try_compile "$LINENO"; then : |
| 15370 |
> |
if ac_fn_c_try_compile "$LINENO" |
| 15371 |
> |
then : |
| 15372 |
|
eval "$as_CACHEVAR=yes" |
| 15373 |
< |
else |
| 15373 |
> |
else $as_nop |
| 15374 |
|
eval "$as_CACHEVAR=no" |
| 15375 |
|
fi |
| 15376 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 15376 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 15377 |
|
CFLAGS=$ax_check_save_flags |
| 15378 |
|
fi |
| 15379 |
|
eval ac_res=\$$as_CACHEVAR |
| 15380 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 15381 |
< |
$as_echo "$ac_res" >&6; } |
| 15382 |
< |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
| 15380 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 15381 |
> |
printf "%s\n" "$ac_res" >&6; } |
| 15382 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes" |
| 15383 |
> |
then : |
| 15384 |
|
|
| 15385 |
< |
if ${CFLAGS+:} false; then : |
| 15385 |
> |
if test ${CFLAGS+y} |
| 15386 |
> |
then : |
| 15387 |
|
|
| 15388 |
|
case " $CFLAGS " in #( |
| 15389 |
|
*" $flag "*) : |
| 15390 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 15390 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 15391 |
|
(: CFLAGS already contains $flag) 2>&5 |
| 15392 |
|
ac_status=$? |
| 15393 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15393 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15394 |
|
test $ac_status = 0; } ;; #( |
| 15395 |
|
*) : |
| 15396 |
|
|
| 15397 |
|
as_fn_append CFLAGS " $flag" |
| 15398 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 15398 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 15399 |
|
(: CFLAGS="$CFLAGS") 2>&5 |
| 15400 |
|
ac_status=$? |
| 15401 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15401 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15402 |
|
test $ac_status = 0; } |
| 15403 |
|
;; |
| 15404 |
|
esac |
| 15405 |
|
|
| 15406 |
< |
else |
| 15406 |
> |
else $as_nop |
| 15407 |
|
|
| 15408 |
|
CFLAGS=$flag |
| 15409 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 15409 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 15410 |
|
(: CFLAGS="$CFLAGS") 2>&5 |
| 15411 |
|
ac_status=$? |
| 15412 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15412 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15413 |
|
test $ac_status = 0; } |
| 15414 |
|
|
| 15415 |
|
fi |
| 15416 |
|
|
| 15417 |
< |
else |
| 15417 |
> |
else $as_nop |
| 15418 |
|
: |
| 15419 |
|
fi |
| 15420 |
|
|
| 15425 |
|
|
| 15426 |
|
|
| 15427 |
|
for flag in -Wundef; do |
| 15428 |
< |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 15429 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 15430 |
< |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 15431 |
< |
if eval \${$as_CACHEVAR+:} false; then : |
| 15432 |
< |
$as_echo_n "(cached) " >&6 |
| 15433 |
< |
else |
| 15428 |
> |
as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 15429 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 15430 |
> |
printf %s "checking whether C compiler accepts $flag... " >&6; } |
| 15431 |
> |
if eval test \${$as_CACHEVAR+y} |
| 15432 |
> |
then : |
| 15433 |
> |
printf %s "(cached) " >&6 |
| 15434 |
> |
else $as_nop |
| 15435 |
|
|
| 15436 |
|
ax_check_save_flags=$CFLAGS |
| 15437 |
|
CFLAGS="$CFLAGS $flag" |
| 15439 |
|
/* end confdefs.h. */ |
| 15440 |
|
|
| 15441 |
|
int |
| 15442 |
< |
main () |
| 15442 |
> |
main (void) |
| 15443 |
|
{ |
| 15444 |
|
|
| 15445 |
|
; |
| 15446 |
|
return 0; |
| 15447 |
|
} |
| 15448 |
|
_ACEOF |
| 15449 |
< |
if ac_fn_c_try_compile "$LINENO"; then : |
| 15449 |
> |
if ac_fn_c_try_compile "$LINENO" |
| 15450 |
> |
then : |
| 15451 |
|
eval "$as_CACHEVAR=yes" |
| 15452 |
< |
else |
| 15452 |
> |
else $as_nop |
| 15453 |
|
eval "$as_CACHEVAR=no" |
| 15454 |
|
fi |
| 15455 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 15455 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 15456 |
|
CFLAGS=$ax_check_save_flags |
| 15457 |
|
fi |
| 15458 |
|
eval ac_res=\$$as_CACHEVAR |
| 15459 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 15460 |
< |
$as_echo "$ac_res" >&6; } |
| 15461 |
< |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
| 15459 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 15460 |
> |
printf "%s\n" "$ac_res" >&6; } |
| 15461 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes" |
| 15462 |
> |
then : |
| 15463 |
|
|
| 15464 |
< |
if ${CFLAGS+:} false; then : |
| 15464 |
> |
if test ${CFLAGS+y} |
| 15465 |
> |
then : |
| 15466 |
|
|
| 15467 |
|
case " $CFLAGS " in #( |
| 15468 |
|
*" $flag "*) : |
| 15469 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 15469 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 15470 |
|
(: CFLAGS already contains $flag) 2>&5 |
| 15471 |
|
ac_status=$? |
| 15472 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15472 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15473 |
|
test $ac_status = 0; } ;; #( |
| 15474 |
|
*) : |
| 15475 |
|
|
| 15476 |
|
as_fn_append CFLAGS " $flag" |
| 15477 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 15477 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 15478 |
|
(: CFLAGS="$CFLAGS") 2>&5 |
| 15479 |
|
ac_status=$? |
| 15480 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15480 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15481 |
|
test $ac_status = 0; } |
| 15482 |
|
;; |
| 15483 |
|
esac |
| 15484 |
|
|
| 15485 |
< |
else |
| 15485 |
> |
else $as_nop |
| 15486 |
|
|
| 15487 |
|
CFLAGS=$flag |
| 15488 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 15488 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 15489 |
|
(: CFLAGS="$CFLAGS") 2>&5 |
| 15490 |
|
ac_status=$? |
| 15491 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15491 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15492 |
|
test $ac_status = 0; } |
| 15493 |
|
|
| 15494 |
|
fi |
| 15495 |
|
|
| 15496 |
< |
else |
| 15496 |
> |
else $as_nop |
| 15497 |
|
: |
| 15498 |
|
fi |
| 15499 |
|
|
| 15504 |
|
|
| 15505 |
|
|
| 15506 |
|
for flag in -Wuninitialized; do |
| 15507 |
< |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 15508 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 15509 |
< |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 15510 |
< |
if eval \${$as_CACHEVAR+:} false; then : |
| 15511 |
< |
$as_echo_n "(cached) " >&6 |
| 15512 |
< |
else |
| 15507 |
> |
as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 15508 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 15509 |
> |
printf %s "checking whether C compiler accepts $flag... " >&6; } |
| 15510 |
> |
if eval test \${$as_CACHEVAR+y} |
| 15511 |
> |
then : |
| 15512 |
> |
printf %s "(cached) " >&6 |
| 15513 |
> |
else $as_nop |
| 15514 |
|
|
| 15515 |
|
ax_check_save_flags=$CFLAGS |
| 15516 |
|
CFLAGS="$CFLAGS $flag" |
| 15518 |
|
/* end confdefs.h. */ |
| 15519 |
|
|
| 15520 |
|
int |
| 15521 |
< |
main () |
| 15521 |
> |
main (void) |
| 15522 |
|
{ |
| 15523 |
|
|
| 15524 |
|
; |
| 15525 |
|
return 0; |
| 15526 |
|
} |
| 15527 |
|
_ACEOF |
| 15528 |
< |
if ac_fn_c_try_compile "$LINENO"; then : |
| 15528 |
> |
if ac_fn_c_try_compile "$LINENO" |
| 15529 |
> |
then : |
| 15530 |
|
eval "$as_CACHEVAR=yes" |
| 15531 |
< |
else |
| 15531 |
> |
else $as_nop |
| 15532 |
|
eval "$as_CACHEVAR=no" |
| 15533 |
|
fi |
| 15534 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 15534 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 15535 |
|
CFLAGS=$ax_check_save_flags |
| 15536 |
|
fi |
| 15537 |
|
eval ac_res=\$$as_CACHEVAR |
| 15538 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 15539 |
< |
$as_echo "$ac_res" >&6; } |
| 15540 |
< |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
| 15538 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 15539 |
> |
printf "%s\n" "$ac_res" >&6; } |
| 15540 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes" |
| 15541 |
> |
then : |
| 15542 |
|
|
| 15543 |
< |
if ${CFLAGS+:} false; then : |
| 15543 |
> |
if test ${CFLAGS+y} |
| 15544 |
> |
then : |
| 15545 |
|
|
| 15546 |
|
case " $CFLAGS " in #( |
| 15547 |
|
*" $flag "*) : |
| 15548 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 15548 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 15549 |
|
(: CFLAGS already contains $flag) 2>&5 |
| 15550 |
|
ac_status=$? |
| 15551 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15551 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15552 |
|
test $ac_status = 0; } ;; #( |
| 15553 |
|
*) : |
| 15554 |
|
|
| 15555 |
|
as_fn_append CFLAGS " $flag" |
| 15556 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 15556 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 15557 |
|
(: CFLAGS="$CFLAGS") 2>&5 |
| 15558 |
|
ac_status=$? |
| 15559 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15559 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15560 |
|
test $ac_status = 0; } |
| 15561 |
|
;; |
| 15562 |
|
esac |
| 15563 |
|
|
| 15564 |
< |
else |
| 15564 |
> |
else $as_nop |
| 15565 |
|
|
| 15566 |
|
CFLAGS=$flag |
| 15567 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 15567 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 15568 |
|
(: CFLAGS="$CFLAGS") 2>&5 |
| 15569 |
|
ac_status=$? |
| 15570 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15570 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15571 |
|
test $ac_status = 0; } |
| 15572 |
|
|
| 15573 |
|
fi |
| 15574 |
|
|
| 15575 |
< |
else |
| 15575 |
> |
else $as_nop |
| 15576 |
|
: |
| 15577 |
|
fi |
| 15578 |
|
|
| 15583 |
|
|
| 15584 |
|
|
| 15585 |
|
for flag in -Wwrite-strings; do |
| 15586 |
< |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 15587 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 15588 |
< |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 15589 |
< |
if eval \${$as_CACHEVAR+:} false; then : |
| 15590 |
< |
$as_echo_n "(cached) " >&6 |
| 15591 |
< |
else |
| 15586 |
> |
as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 15587 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 15588 |
> |
printf %s "checking whether C compiler accepts $flag... " >&6; } |
| 15589 |
> |
if eval test \${$as_CACHEVAR+y} |
| 15590 |
> |
then : |
| 15591 |
> |
printf %s "(cached) " >&6 |
| 15592 |
> |
else $as_nop |
| 15593 |
|
|
| 15594 |
|
ax_check_save_flags=$CFLAGS |
| 15595 |
|
CFLAGS="$CFLAGS $flag" |
| 15597 |
|
/* end confdefs.h. */ |
| 15598 |
|
|
| 15599 |
|
int |
| 15600 |
< |
main () |
| 15600 |
> |
main (void) |
| 15601 |
|
{ |
| 15602 |
|
|
| 15603 |
|
; |
| 15604 |
|
return 0; |
| 15605 |
|
} |
| 15606 |
|
_ACEOF |
| 15607 |
< |
if ac_fn_c_try_compile "$LINENO"; then : |
| 15607 |
> |
if ac_fn_c_try_compile "$LINENO" |
| 15608 |
> |
then : |
| 15609 |
|
eval "$as_CACHEVAR=yes" |
| 15610 |
< |
else |
| 15610 |
> |
else $as_nop |
| 15611 |
|
eval "$as_CACHEVAR=no" |
| 15612 |
|
fi |
| 15613 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 15613 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 15614 |
|
CFLAGS=$ax_check_save_flags |
| 15615 |
|
fi |
| 15616 |
|
eval ac_res=\$$as_CACHEVAR |
| 15617 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 15618 |
< |
$as_echo "$ac_res" >&6; } |
| 15619 |
< |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
| 15617 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 15618 |
> |
printf "%s\n" "$ac_res" >&6; } |
| 15619 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes" |
| 15620 |
> |
then : |
| 15621 |
|
|
| 15622 |
< |
if ${CFLAGS+:} false; then : |
| 15622 |
> |
if test ${CFLAGS+y} |
| 15623 |
> |
then : |
| 15624 |
|
|
| 15625 |
|
case " $CFLAGS " in #( |
| 15626 |
|
*" $flag "*) : |
| 15627 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 15627 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 15628 |
|
(: CFLAGS already contains $flag) 2>&5 |
| 15629 |
|
ac_status=$? |
| 15630 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15630 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15631 |
|
test $ac_status = 0; } ;; #( |
| 15632 |
|
*) : |
| 15633 |
|
|
| 15634 |
|
as_fn_append CFLAGS " $flag" |
| 15635 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 15635 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 15636 |
|
(: CFLAGS="$CFLAGS") 2>&5 |
| 15637 |
|
ac_status=$? |
| 15638 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15638 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15639 |
|
test $ac_status = 0; } |
| 15640 |
|
;; |
| 15641 |
|
esac |
| 15642 |
|
|
| 15643 |
< |
else |
| 15643 |
> |
else $as_nop |
| 15644 |
|
|
| 15645 |
|
CFLAGS=$flag |
| 15646 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 15646 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 15647 |
|
(: CFLAGS="$CFLAGS") 2>&5 |
| 15648 |
|
ac_status=$? |
| 15649 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15649 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15650 |
|
test $ac_status = 0; } |
| 15651 |
|
|
| 15652 |
|
fi |
| 15653 |
|
|
| 15654 |
< |
else |
| 15654 |
> |
else $as_nop |
| 15655 |
|
: |
| 15656 |
|
fi |
| 15657 |
|
|
| 15662 |
|
|
| 15663 |
|
|
| 15664 |
|
# Check whether --enable-efence was given. |
| 15665 |
< |
if test "${enable_efence+set}" = set; then : |
| 15665 |
> |
if test ${enable_efence+y} |
| 15666 |
> |
then : |
| 15667 |
|
enableval=$enable_efence; efence="$enableval" |
| 15668 |
< |
else |
| 15668 |
> |
else $as_nop |
| 15669 |
|
efence="no" |
| 15670 |
|
fi |
| 15671 |
|
|
| 15672 |
|
|
| 15673 |
< |
if test "$efence" = "yes"; then : |
| 15673 |
> |
if test "$efence" = "yes" |
| 15674 |
> |
then : |
| 15675 |
|
|
| 15676 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing EF_Print" >&5 |
| 15677 |
< |
$as_echo_n "checking for library containing EF_Print... " >&6; } |
| 15678 |
< |
if ${ac_cv_search_EF_Print+:} false; then : |
| 15679 |
< |
$as_echo_n "(cached) " >&6 |
| 15680 |
< |
else |
| 15676 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing EF_Print" >&5 |
| 15677 |
> |
printf %s "checking for library containing EF_Print... " >&6; } |
| 15678 |
> |
if test ${ac_cv_search_EF_Print+y} |
| 15679 |
> |
then : |
| 15680 |
> |
printf %s "(cached) " >&6 |
| 15681 |
> |
else $as_nop |
| 15682 |
|
ac_func_search_save_LIBS=$LIBS |
| 15683 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 15684 |
|
/* end confdefs.h. */ |
| 15686 |
|
/* Override any GCC internal prototype to avoid an error. |
| 15687 |
|
Use char because int might match the return type of a GCC |
| 15688 |
|
builtin and then its argument prototype would still apply. */ |
| 14881 |
– |
#ifdef __cplusplus |
| 14882 |
– |
extern "C" |
| 14883 |
– |
#endif |
| 15689 |
|
char EF_Print (); |
| 15690 |
|
int |
| 15691 |
< |
main () |
| 15691 |
> |
main (void) |
| 15692 |
|
{ |
| 15693 |
|
return EF_Print (); |
| 15694 |
|
; |
| 15695 |
|
return 0; |
| 15696 |
|
} |
| 15697 |
|
_ACEOF |
| 15698 |
< |
for ac_lib in '' efence; do |
| 15698 |
> |
for ac_lib in '' efence |
| 15699 |
> |
do |
| 15700 |
|
if test -z "$ac_lib"; then |
| 15701 |
|
ac_res="none required" |
| 15702 |
|
else |
| 15703 |
|
ac_res=-l$ac_lib |
| 15704 |
|
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 15705 |
|
fi |
| 15706 |
< |
if ac_fn_c_try_link "$LINENO"; then : |
| 15706 |
> |
if ac_fn_c_try_link "$LINENO" |
| 15707 |
> |
then : |
| 15708 |
|
ac_cv_search_EF_Print=$ac_res |
| 15709 |
|
fi |
| 15710 |
< |
rm -f core conftest.err conftest.$ac_objext \ |
| 15710 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 15711 |
|
conftest$ac_exeext |
| 15712 |
< |
if ${ac_cv_search_EF_Print+:} false; then : |
| 15712 |
> |
if test ${ac_cv_search_EF_Print+y} |
| 15713 |
> |
then : |
| 15714 |
|
break |
| 15715 |
|
fi |
| 15716 |
|
done |
| 15717 |
< |
if ${ac_cv_search_EF_Print+:} false; then : |
| 15717 |
> |
if test ${ac_cv_search_EF_Print+y} |
| 15718 |
> |
then : |
| 15719 |
|
|
| 15720 |
< |
else |
| 15720 |
> |
else $as_nop |
| 15721 |
|
ac_cv_search_EF_Print=no |
| 15722 |
|
fi |
| 15723 |
|
rm conftest.$ac_ext |
| 15724 |
|
LIBS=$ac_func_search_save_LIBS |
| 15725 |
|
fi |
| 15726 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_EF_Print" >&5 |
| 15727 |
< |
$as_echo "$ac_cv_search_EF_Print" >&6; } |
| 15726 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_EF_Print" >&5 |
| 15727 |
> |
printf "%s\n" "$ac_cv_search_EF_Print" >&6; } |
| 15728 |
|
ac_res=$ac_cv_search_EF_Print |
| 15729 |
< |
if test "$ac_res" != no; then : |
| 15729 |
> |
if test "$ac_res" != no |
| 15730 |
> |
then : |
| 15731 |
|
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 15732 |
|
|
| 15733 |
< |
else |
| 15734 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 15735 |
< |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 15733 |
> |
else $as_nop |
| 15734 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 15735 |
> |
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 15736 |
|
as_fn_error $? "Electric Fence 'efence' library not found |
| 15737 |
|
See \`config.log' for more details" "$LINENO" 5; } |
| 15738 |
|
fi |
| 15741 |
|
fi |
| 15742 |
|
|
| 15743 |
|
|
| 15744 |
< |
for ac_func in strlcpy strlcat |
| 15745 |
< |
do : |
| 15746 |
< |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 15747 |
< |
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
| 15748 |
< |
if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
| 15749 |
< |
cat >>confdefs.h <<_ACEOF |
| 15750 |
< |
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 15751 |
< |
_ACEOF |
| 15744 |
> |
ac_fn_c_check_func "$LINENO" "strlcpy" "ac_cv_func_strlcpy" |
| 15745 |
> |
if test "x$ac_cv_func_strlcpy" = xyes |
| 15746 |
> |
then : |
| 15747 |
> |
printf "%s\n" "#define HAVE_STRLCPY 1" >>confdefs.h |
| 15748 |
> |
|
| 15749 |
> |
fi |
| 15750 |
> |
ac_fn_c_check_func "$LINENO" "strlcat" "ac_cv_func_strlcat" |
| 15751 |
> |
if test "x$ac_cv_func_strlcat" = xyes |
| 15752 |
> |
then : |
| 15753 |
> |
printf "%s\n" "#define HAVE_STRLCAT 1" >>confdefs.h |
| 15754 |
|
|
| 15755 |
|
fi |
| 14944 |
– |
done |
| 15756 |
|
|
| 15757 |
|
|
| 15758 |
|
ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile src/libopm/Makefile src/libopm/src/Makefile" |
| 15784 |
|
case $ac_val in #( |
| 15785 |
|
*${as_nl}*) |
| 15786 |
|
case $ac_var in #( |
| 15787 |
< |
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
| 15788 |
< |
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
| 15787 |
> |
*_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
| 15788 |
> |
printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
| 15789 |
|
esac |
| 15790 |
|
case $ac_var in #( |
| 15791 |
|
_ | IFS | as_nl) ;; #( |
| 15815 |
|
/^ac_cv_env_/b end |
| 15816 |
|
t clear |
| 15817 |
|
:clear |
| 15818 |
< |
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
| 15818 |
> |
s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/ |
| 15819 |
|
t end |
| 15820 |
|
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
| 15821 |
|
:end' >>confcache |
| 15822 |
|
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
| 15823 |
|
if test -w "$cache_file"; then |
| 15824 |
|
if test "x$cache_file" != "x/dev/null"; then |
| 15825 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
| 15826 |
< |
$as_echo "$as_me: updating cache $cache_file" >&6;} |
| 15825 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
| 15826 |
> |
printf "%s\n" "$as_me: updating cache $cache_file" >&6;} |
| 15827 |
|
if test ! -f "$cache_file" || test -h "$cache_file"; then |
| 15828 |
|
cat confcache >"$cache_file" |
| 15829 |
|
else |
| 15837 |
|
fi |
| 15838 |
|
fi |
| 15839 |
|
else |
| 15840 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
| 15841 |
< |
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
| 15840 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
| 15841 |
> |
printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;} |
| 15842 |
|
fi |
| 15843 |
|
fi |
| 15844 |
|
rm -f confcache |
| 15855 |
|
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
| 15856 |
|
# 1. Remove the extension, and $U if already installed. |
| 15857 |
|
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
| 15858 |
< |
ac_i=`$as_echo "$ac_i" | sed "$ac_script"` |
| 15858 |
> |
ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"` |
| 15859 |
|
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
| 15860 |
|
# will be set to the directory where LIBOBJS objects are built. |
| 15861 |
|
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
| 15866 |
|
LTLIBOBJS=$ac_ltlibobjs |
| 15867 |
|
|
| 15868 |
|
|
| 15869 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 |
| 15870 |
< |
$as_echo_n "checking that generated files are newer than configure... " >&6; } |
| 15869 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 |
| 15870 |
> |
printf %s "checking that generated files are newer than configure... " >&6; } |
| 15871 |
|
if test -n "$am_sleep_pid"; then |
| 15872 |
|
# Hide warnings about reused PIDs. |
| 15873 |
|
wait $am_sleep_pid 2>/dev/null |
| 15874 |
|
fi |
| 15875 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 |
| 15876 |
< |
$as_echo "done" >&6; } |
| 15875 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5 |
| 15876 |
> |
printf "%s\n" "done" >&6; } |
| 15877 |
|
if test -n "$EXEEXT"; then |
| 15878 |
|
am__EXEEXT_TRUE= |
| 15879 |
|
am__EXEEXT_FALSE='#' |
| 15899 |
|
ac_write_fail=0 |
| 15900 |
|
ac_clean_files_save=$ac_clean_files |
| 15901 |
|
ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
| 15902 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
| 15903 |
< |
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
| 15902 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
| 15903 |
> |
printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;} |
| 15904 |
|
as_write_fail=0 |
| 15905 |
|
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 |
| 15906 |
|
#! $SHELL |
| 15923 |
|
|
| 15924 |
|
# Be more Bourne compatible |
| 15925 |
|
DUALCASE=1; export DUALCASE # for MKS sh |
| 15926 |
< |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
| 15926 |
> |
as_nop=: |
| 15927 |
> |
if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 |
| 15928 |
> |
then : |
| 15929 |
|
emulate sh |
| 15930 |
|
NULLCMD=: |
| 15931 |
|
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
| 15932 |
|
# is contrary to our usage. Disable this feature. |
| 15933 |
|
alias -g '${1+"$@"}'='"$@"' |
| 15934 |
|
setopt NO_GLOB_SUBST |
| 15935 |
< |
else |
| 15935 |
> |
else $as_nop |
| 15936 |
|
case `(set -o) 2>/dev/null` in #( |
| 15937 |
|
*posix*) : |
| 15938 |
|
set -o posix ;; #( |
| 15942 |
|
fi |
| 15943 |
|
|
| 15944 |
|
|
| 15945 |
+ |
|
| 15946 |
+ |
# Reset variables that may have inherited troublesome values from |
| 15947 |
+ |
# the environment. |
| 15948 |
+ |
|
| 15949 |
+ |
# IFS needs to be set, to space, tab, and newline, in precisely that order. |
| 15950 |
+ |
# (If _AS_PATH_WALK were called with IFS unset, it would have the |
| 15951 |
+ |
# side effect of setting IFS to empty, thus disabling word splitting.) |
| 15952 |
+ |
# Quoting is to prevent editors from complaining about space-tab. |
| 15953 |
|
as_nl=' |
| 15954 |
|
' |
| 15955 |
|
export as_nl |
| 15956 |
< |
# Printing a long string crashes Solaris 7 /usr/bin/printf. |
| 15957 |
< |
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
| 15958 |
< |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
| 15959 |
< |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
| 15960 |
< |
# Prefer a ksh shell builtin over an external printf program on Solaris, |
| 15961 |
< |
# but without wasting forks for bash or zsh. |
| 15962 |
< |
if test -z "$BASH_VERSION$ZSH_VERSION" \ |
| 15963 |
< |
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then |
| 15964 |
< |
as_echo='print -r --' |
| 15965 |
< |
as_echo_n='print -rn --' |
| 15966 |
< |
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
| 15967 |
< |
as_echo='printf %s\n' |
| 15968 |
< |
as_echo_n='printf %s' |
| 15969 |
< |
else |
| 15970 |
< |
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
| 15971 |
< |
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
| 15972 |
< |
as_echo_n='/usr/ucb/echo -n' |
| 15973 |
< |
else |
| 15974 |
< |
as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
| 15975 |
< |
as_echo_n_body='eval |
| 15976 |
< |
arg=$1; |
| 15977 |
< |
case $arg in #( |
| 15978 |
< |
*"$as_nl"*) |
| 15979 |
< |
expr "X$arg" : "X\\(.*\\)$as_nl"; |
| 15980 |
< |
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
| 15981 |
< |
esac; |
| 15161 |
< |
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
| 15162 |
< |
' |
| 15163 |
< |
export as_echo_n_body |
| 15164 |
< |
as_echo_n='sh -c $as_echo_n_body as_echo' |
| 15165 |
< |
fi |
| 15166 |
< |
export as_echo_body |
| 15167 |
< |
as_echo='sh -c $as_echo_body as_echo' |
| 15168 |
< |
fi |
| 15956 |
> |
IFS=" "" $as_nl" |
| 15957 |
> |
|
| 15958 |
> |
PS1='$ ' |
| 15959 |
> |
PS2='> ' |
| 15960 |
> |
PS4='+ ' |
| 15961 |
> |
|
| 15962 |
> |
# Ensure predictable behavior from utilities with locale-dependent output. |
| 15963 |
> |
LC_ALL=C |
| 15964 |
> |
export LC_ALL |
| 15965 |
> |
LANGUAGE=C |
| 15966 |
> |
export LANGUAGE |
| 15967 |
> |
|
| 15968 |
> |
# We cannot yet rely on "unset" to work, but we need these variables |
| 15969 |
> |
# to be unset--not just set to an empty or harmless value--now, to |
| 15970 |
> |
# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct |
| 15971 |
> |
# also avoids known problems related to "unset" and subshell syntax |
| 15972 |
> |
# in other old shells (e.g. bash 2.01 and pdksh 5.2.14). |
| 15973 |
> |
for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH |
| 15974 |
> |
do eval test \${$as_var+y} \ |
| 15975 |
> |
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
| 15976 |
> |
done |
| 15977 |
> |
|
| 15978 |
> |
# Ensure that fds 0, 1, and 2 are open. |
| 15979 |
> |
if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi |
| 15980 |
> |
if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi |
| 15981 |
> |
if (exec 3>&2) ; then :; else exec 2>/dev/null; fi |
| 15982 |
|
|
| 15983 |
|
# The user is always right. |
| 15984 |
< |
if test "${PATH_SEPARATOR+set}" != set; then |
| 15984 |
> |
if ${PATH_SEPARATOR+false} :; then |
| 15985 |
|
PATH_SEPARATOR=: |
| 15986 |
|
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
| 15987 |
|
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
| 15990 |
|
fi |
| 15991 |
|
|
| 15992 |
|
|
| 15180 |
– |
# IFS |
| 15181 |
– |
# We need space, tab and new line, in precisely that order. Quoting is |
| 15182 |
– |
# there to prevent editors from complaining about space-tab. |
| 15183 |
– |
# (If _AS_PATH_WALK were called with IFS unset, it would disable word |
| 15184 |
– |
# splitting by setting IFS to empty value.) |
| 15185 |
– |
IFS=" "" $as_nl" |
| 15186 |
– |
|
| 15993 |
|
# Find who we are. Look in the path if we contain no directory separator. |
| 15994 |
|
as_myself= |
| 15995 |
|
case $0 in #(( |
| 15998 |
|
for as_dir in $PATH |
| 15999 |
|
do |
| 16000 |
|
IFS=$as_save_IFS |
| 16001 |
< |
test -z "$as_dir" && as_dir=. |
| 16002 |
< |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
| 16001 |
> |
case $as_dir in #((( |
| 16002 |
> |
'') as_dir=./ ;; |
| 16003 |
> |
*/) ;; |
| 16004 |
> |
*) as_dir=$as_dir/ ;; |
| 16005 |
> |
esac |
| 16006 |
> |
test -r "$as_dir$0" && as_myself=$as_dir$0 && break |
| 16007 |
|
done |
| 16008 |
|
IFS=$as_save_IFS |
| 16009 |
|
|
| 16015 |
|
as_myself=$0 |
| 16016 |
|
fi |
| 16017 |
|
if test ! -f "$as_myself"; then |
| 16018 |
< |
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
| 16018 |
> |
printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
| 16019 |
|
exit 1 |
| 16020 |
|
fi |
| 16021 |
|
|
| 15212 |
– |
# Unset variables that we do not need and which cause bugs (e.g. in |
| 15213 |
– |
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" |
| 15214 |
– |
# suppresses any "Segmentation fault" message there. '((' could |
| 15215 |
– |
# trigger a bug in pdksh 5.2.14. |
| 15216 |
– |
for as_var in BASH_ENV ENV MAIL MAILPATH |
| 15217 |
– |
do eval test x\${$as_var+set} = xset \ |
| 15218 |
– |
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
| 15219 |
– |
done |
| 15220 |
– |
PS1='$ ' |
| 15221 |
– |
PS2='> ' |
| 15222 |
– |
PS4='+ ' |
| 15223 |
– |
|
| 15224 |
– |
# NLS nuisances. |
| 15225 |
– |
LC_ALL=C |
| 15226 |
– |
export LC_ALL |
| 15227 |
– |
LANGUAGE=C |
| 15228 |
– |
export LANGUAGE |
| 15229 |
– |
|
| 15230 |
– |
# CDPATH. |
| 15231 |
– |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
| 16022 |
|
|
| 16023 |
|
|
| 16024 |
|
# as_fn_error STATUS ERROR [LINENO LOG_FD] |
| 16031 |
|
as_status=$1; test $as_status -eq 0 && as_status=1 |
| 16032 |
|
if test "$4"; then |
| 16033 |
|
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 16034 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
| 16034 |
> |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
| 16035 |
|
fi |
| 16036 |
< |
$as_echo "$as_me: error: $2" >&2 |
| 16036 |
> |
printf "%s\n" "$as_me: error: $2" >&2 |
| 16037 |
|
as_fn_exit $as_status |
| 16038 |
|
} # as_fn_error |
| 16039 |
|
|
| 16040 |
|
|
| 16041 |
+ |
|
| 16042 |
|
# as_fn_set_status STATUS |
| 16043 |
|
# ----------------------- |
| 16044 |
|
# Set $? to STATUS, without forking. |
| 16065 |
|
{ eval $1=; unset $1;} |
| 16066 |
|
} |
| 16067 |
|
as_unset=as_fn_unset |
| 16068 |
+ |
|
| 16069 |
|
# as_fn_append VAR VALUE |
| 16070 |
|
# ---------------------- |
| 16071 |
|
# Append the text in VALUE to the end of the definition contained in VAR. Take |
| 16072 |
|
# advantage of any shell optimizations that allow amortized linear growth over |
| 16073 |
|
# repeated appends, instead of the typical quadratic growth present in naive |
| 16074 |
|
# implementations. |
| 16075 |
< |
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : |
| 16075 |
> |
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null |
| 16076 |
> |
then : |
| 16077 |
|
eval 'as_fn_append () |
| 16078 |
|
{ |
| 16079 |
|
eval $1+=\$2 |
| 16080 |
|
}' |
| 16081 |
< |
else |
| 16081 |
> |
else $as_nop |
| 16082 |
|
as_fn_append () |
| 16083 |
|
{ |
| 16084 |
|
eval $1=\$$1\$2 |
| 16090 |
|
# Perform arithmetic evaluation on the ARGs, and store the result in the |
| 16091 |
|
# global $as_val. Take advantage of shells that can avoid forks. The arguments |
| 16092 |
|
# must be portable across $(()) and expr. |
| 16093 |
< |
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : |
| 16093 |
> |
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null |
| 16094 |
> |
then : |
| 16095 |
|
eval 'as_fn_arith () |
| 16096 |
|
{ |
| 16097 |
|
as_val=$(( $* )) |
| 16098 |
|
}' |
| 16099 |
< |
else |
| 16099 |
> |
else $as_nop |
| 16100 |
|
as_fn_arith () |
| 16101 |
|
{ |
| 16102 |
|
as_val=`expr "$@" || test $? -eq 1` |
| 16127 |
|
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
| 16128 |
|
X"$0" : 'X\(//\)$' \| \ |
| 16129 |
|
X"$0" : 'X\(/\)' \| . 2>/dev/null || |
| 16130 |
< |
$as_echo X/"$0" | |
| 16130 |
> |
printf "%s\n" X/"$0" | |
| 16131 |
|
sed '/^.*\/\([^/][^/]*\)\/*$/{ |
| 16132 |
|
s//\1/ |
| 16133 |
|
q |
| 16149 |
|
as_cr_digits='0123456789' |
| 16150 |
|
as_cr_alnum=$as_cr_Letters$as_cr_digits |
| 16151 |
|
|
| 16152 |
+ |
|
| 16153 |
+ |
# Determine whether it's possible to make 'echo' print without a newline. |
| 16154 |
+ |
# These variables are no longer used directly by Autoconf, but are AC_SUBSTed |
| 16155 |
+ |
# for compatibility with existing Makefiles. |
| 16156 |
|
ECHO_C= ECHO_N= ECHO_T= |
| 16157 |
|
case `echo -n x` in #((((( |
| 16158 |
|
-n*) |
| 16166 |
|
ECHO_N='-n';; |
| 16167 |
|
esac |
| 16168 |
|
|
| 16169 |
+ |
# For backward compatibility with old third-party macros, we provide |
| 16170 |
+ |
# the shell variables $as_echo and $as_echo_n. New code should use |
| 16171 |
+ |
# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. |
| 16172 |
+ |
as_echo='printf %s\n' |
| 16173 |
+ |
as_echo_n='printf %s' |
| 16174 |
+ |
|
| 16175 |
|
rm -f conf$$ conf$$.exe conf$$.file |
| 16176 |
|
if test -d conf$$.dir; then |
| 16177 |
|
rm -f conf$$.dir/conf$$.file |
| 16213 |
|
as_dirs= |
| 16214 |
|
while :; do |
| 16215 |
|
case $as_dir in #( |
| 16216 |
< |
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
| 16216 |
> |
*\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
| 16217 |
|
*) as_qdir=$as_dir;; |
| 16218 |
|
esac |
| 16219 |
|
as_dirs="'$as_qdir' $as_dirs" |
| 16222 |
|
X"$as_dir" : 'X\(//\)[^/]' \| \ |
| 16223 |
|
X"$as_dir" : 'X\(//\)$' \| \ |
| 16224 |
|
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
| 16225 |
< |
$as_echo X"$as_dir" | |
| 16225 |
> |
printf "%s\n" X"$as_dir" | |
| 16226 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 16227 |
|
s//\1/ |
| 16228 |
|
q |
| 16284 |
|
# report actual input values of CONFIG_FILES etc. instead of their |
| 16285 |
|
# values after options handling. |
| 16286 |
|
ac_log=" |
| 16287 |
< |
This file was extended by hopm $as_me 1.1.9, which was |
| 16288 |
< |
generated by GNU Autoconf 2.69. Invocation command line was |
| 16287 |
> |
This file was extended by hopm $as_me 1.1.11, which was |
| 16288 |
> |
generated by GNU Autoconf 2.71. Invocation command line was |
| 16289 |
|
|
| 16290 |
|
CONFIG_FILES = $CONFIG_FILES |
| 16291 |
|
CONFIG_HEADERS = $CONFIG_HEADERS |
| 16347 |
|
Report bugs to <bugs@ircd-hybrid.org>." |
| 16348 |
|
|
| 16349 |
|
_ACEOF |
| 16350 |
+ |
ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"` |
| 16351 |
+ |
ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"` |
| 16352 |
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 16353 |
< |
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
| 16353 |
> |
ac_cs_config='$ac_cs_config_escaped' |
| 16354 |
|
ac_cs_version="\\ |
| 16355 |
< |
hopm config.status 1.1.9 |
| 16356 |
< |
configured by $0, generated by GNU Autoconf 2.69, |
| 16355 |
> |
hopm config.status 1.1.11 |
| 16356 |
> |
configured by $0, generated by GNU Autoconf 2.71, |
| 16357 |
|
with options \\"\$ac_cs_config\\" |
| 16358 |
|
|
| 16359 |
< |
Copyright (C) 2012 Free Software Foundation, Inc. |
| 16359 |
> |
Copyright (C) 2021 Free Software Foundation, Inc. |
| 16360 |
|
This config.status script is free software; the Free Software Foundation |
| 16361 |
|
gives unlimited permission to copy, distribute and modify it." |
| 16362 |
|
|
| 16396 |
|
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
| 16397 |
|
ac_cs_recheck=: ;; |
| 16398 |
|
--version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
| 16399 |
< |
$as_echo "$ac_cs_version"; exit ;; |
| 16399 |
> |
printf "%s\n" "$ac_cs_version"; exit ;; |
| 16400 |
|
--config | --confi | --conf | --con | --co | --c ) |
| 16401 |
< |
$as_echo "$ac_cs_config"; exit ;; |
| 16401 |
> |
printf "%s\n" "$ac_cs_config"; exit ;; |
| 16402 |
|
--debug | --debu | --deb | --de | --d | -d ) |
| 16403 |
|
debug=: ;; |
| 16404 |
|
--file | --fil | --fi | --f ) |
| 16405 |
|
$ac_shift |
| 16406 |
|
case $ac_optarg in |
| 16407 |
< |
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 16407 |
> |
*\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 16408 |
|
'') as_fn_error $? "missing file argument" ;; |
| 16409 |
|
esac |
| 16410 |
|
as_fn_append CONFIG_FILES " '$ac_optarg'" |
| 16412 |
|
--header | --heade | --head | --hea ) |
| 16413 |
|
$ac_shift |
| 16414 |
|
case $ac_optarg in |
| 16415 |
< |
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 16415 |
> |
*\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 16416 |
|
esac |
| 16417 |
|
as_fn_append CONFIG_HEADERS " '$ac_optarg'" |
| 16418 |
|
ac_need_defaults=false;; |
| 16421 |
|
as_fn_error $? "ambiguous option: \`$1' |
| 16422 |
|
Try \`$0 --help' for more information.";; |
| 16423 |
|
--help | --hel | -h ) |
| 16424 |
< |
$as_echo "$ac_cs_usage"; exit ;; |
| 16424 |
> |
printf "%s\n" "$ac_cs_usage"; exit ;; |
| 16425 |
|
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
| 16426 |
|
| -silent | --silent | --silen | --sile | --sil | --si | --s) |
| 16427 |
|
ac_cs_silent=: ;; |
| 16449 |
|
if \$ac_cs_recheck; then |
| 16450 |
|
set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
| 16451 |
|
shift |
| 16452 |
< |
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
| 16452 |
> |
\printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6 |
| 16453 |
|
CONFIG_SHELL='$SHELL' |
| 16454 |
|
export CONFIG_SHELL |
| 16455 |
|
exec "\$@" |
| 16463 |
|
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
| 16464 |
|
## Running $as_me. ## |
| 16465 |
|
_ASBOX |
| 16466 |
< |
$as_echo "$ac_log" |
| 16466 |
> |
printf "%s\n" "$ac_log" |
| 16467 |
|
} >&5 |
| 16468 |
|
|
| 16469 |
|
_ACEOF |
| 16515 |
|
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' |
| 16516 |
|
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' |
| 16517 |
|
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' |
| 16518 |
+ |
FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`' |
| 16519 |
|
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' |
| 16520 |
|
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' |
| 16521 |
|
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' |
| 16524 |
|
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' |
| 16525 |
|
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' |
| 16526 |
|
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' |
| 16527 |
+ |
lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`' |
| 16528 |
|
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' |
| 16529 |
|
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' |
| 16530 |
|
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' |
| 16645 |
|
lt_SP2NL \ |
| 16646 |
|
lt_NL2SP \ |
| 16647 |
|
reload_flag \ |
| 16648 |
+ |
FILECMD \ |
| 16649 |
|
OBJDUMP \ |
| 16650 |
|
deplibs_check_method \ |
| 16651 |
|
file_magic_cmd \ |
| 16654 |
|
DLLTOOL \ |
| 16655 |
|
sharedlib_from_linklib_cmd \ |
| 16656 |
|
AR \ |
| 15848 |
– |
AR_FLAGS \ |
| 16657 |
|
archiver_list_spec \ |
| 16658 |
|
STRIP \ |
| 16659 |
|
RANLIB \ |
| 16785 |
|
# We use the long form for the default assignment because of an extremely |
| 16786 |
|
# bizarre bug on SunOS 4.1.3. |
| 16787 |
|
if $ac_need_defaults; then |
| 16788 |
< |
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files |
| 16789 |
< |
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers |
| 16790 |
< |
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands |
| 16788 |
> |
test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files |
| 16789 |
> |
test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers |
| 16790 |
> |
test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands |
| 16791 |
|
fi |
| 16792 |
|
|
| 16793 |
|
# Have a temporary directory for convenience. Make it in the build tree |
| 17123 |
|
esac || |
| 17124 |
|
as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; |
| 17125 |
|
esac |
| 17126 |
< |
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
| 17126 |
> |
case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
| 17127 |
|
as_fn_append ac_file_inputs " '$ac_f'" |
| 17128 |
|
done |
| 17129 |
|
|
| 17131 |
|
# use $as_me), people would be surprised to read: |
| 17132 |
|
# /* config.h. Generated by config.status. */ |
| 17133 |
|
configure_input='Generated from '` |
| 17134 |
< |
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' |
| 17134 |
> |
printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' |
| 17135 |
|
`' by configure.' |
| 17136 |
|
if test x"$ac_file" != x-; then |
| 17137 |
|
configure_input="$ac_file. $configure_input" |
| 17138 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 |
| 17139 |
< |
$as_echo "$as_me: creating $ac_file" >&6;} |
| 17138 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 |
| 17139 |
> |
printf "%s\n" "$as_me: creating $ac_file" >&6;} |
| 17140 |
|
fi |
| 17141 |
|
# Neutralize special characters interpreted by sed in replacement strings. |
| 17142 |
|
case $configure_input in #( |
| 17143 |
|
*\&* | *\|* | *\\* ) |
| 17144 |
< |
ac_sed_conf_input=`$as_echo "$configure_input" | |
| 17144 |
> |
ac_sed_conf_input=`printf "%s\n" "$configure_input" | |
| 17145 |
|
sed 's/[\\\\&|]/\\\\&/g'`;; #( |
| 17146 |
|
*) ac_sed_conf_input=$configure_input;; |
| 17147 |
|
esac |
| 17158 |
|
X"$ac_file" : 'X\(//\)[^/]' \| \ |
| 17159 |
|
X"$ac_file" : 'X\(//\)$' \| \ |
| 17160 |
|
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || |
| 17161 |
< |
$as_echo X"$ac_file" | |
| 17161 |
> |
printf "%s\n" X"$ac_file" | |
| 17162 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 17163 |
|
s//\1/ |
| 17164 |
|
q |
| 17182 |
|
case "$ac_dir" in |
| 17183 |
|
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
| 17184 |
|
*) |
| 17185 |
< |
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
| 17185 |
> |
ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` |
| 17186 |
|
# A ".." for each directory in $ac_dir_suffix. |
| 17187 |
< |
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
| 17187 |
> |
ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
| 17188 |
|
case $ac_top_builddir_sub in |
| 17189 |
|
"") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
| 17190 |
|
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
| 17246 |
|
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in |
| 17247 |
|
*datarootdir*) ac_datarootdir_seen=yes;; |
| 17248 |
|
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
| 17249 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
| 17250 |
< |
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
| 17249 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
| 17250 |
> |
printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
| 17251 |
|
_ACEOF |
| 17252 |
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 17253 |
|
ac_datarootdir_hack=' |
| 17291 |
|
{ ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && |
| 17292 |
|
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ |
| 17293 |
|
"$ac_tmp/out"`; test -z "$ac_out"; } && |
| 17294 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
| 17294 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
| 17295 |
|
which seems to be undefined. Please make sure it is defined" >&5 |
| 17296 |
< |
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
| 17296 |
> |
printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
| 17297 |
|
which seems to be undefined. Please make sure it is defined" >&2;} |
| 17298 |
|
|
| 17299 |
|
rm -f "$ac_tmp/stdin" |
| 17309 |
|
# |
| 17310 |
|
if test x"$ac_file" != x-; then |
| 17311 |
|
{ |
| 17312 |
< |
$as_echo "/* $configure_input */" \ |
| 17312 |
> |
printf "%s\n" "/* $configure_input */" >&1 \ |
| 17313 |
|
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" |
| 17314 |
|
} >"$ac_tmp/config.h" \ |
| 17315 |
|
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
| 17316 |
|
if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then |
| 17317 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 |
| 17318 |
< |
$as_echo "$as_me: $ac_file is unchanged" >&6;} |
| 17317 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 |
| 17318 |
> |
printf "%s\n" "$as_me: $ac_file is unchanged" >&6;} |
| 17319 |
|
else |
| 17320 |
|
rm -f "$ac_file" |
| 17321 |
|
mv "$ac_tmp/config.h" "$ac_file" \ |
| 17322 |
|
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
| 17323 |
|
fi |
| 17324 |
|
else |
| 17325 |
< |
$as_echo "/* $configure_input */" \ |
| 17325 |
> |
printf "%s\n" "/* $configure_input */" >&1 \ |
| 17326 |
|
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ |
| 17327 |
|
|| as_fn_error $? "could not create -" "$LINENO" 5 |
| 17328 |
|
fi |
| 17342 |
|
X"$_am_arg" : 'X\(//\)[^/]' \| \ |
| 17343 |
|
X"$_am_arg" : 'X\(//\)$' \| \ |
| 17344 |
|
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || |
| 17345 |
< |
$as_echo X"$_am_arg" | |
| 17345 |
> |
printf "%s\n" X"$_am_arg" | |
| 17346 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 17347 |
|
s//\1/ |
| 17348 |
|
q |
| 17362 |
|
s/.*/./; q'`/stamp-h$_am_stamp_count |
| 17363 |
|
;; |
| 17364 |
|
|
| 17365 |
< |
:C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 |
| 17366 |
< |
$as_echo "$as_me: executing $ac_file commands" >&6;} |
| 17365 |
> |
:C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 |
| 17366 |
> |
printf "%s\n" "$as_me: executing $ac_file commands" >&6;} |
| 17367 |
|
;; |
| 17368 |
|
esac |
| 17369 |
|
|
| 17389 |
|
for am_mf |
| 17390 |
|
do |
| 17391 |
|
# Strip MF so we end up with the name of the file. |
| 17392 |
< |
am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'` |
| 17392 |
> |
am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'` |
| 17393 |
|
# Check whether this is an Automake generated Makefile which includes |
| 17394 |
|
# dependency-tracking related rules and includes. |
| 17395 |
|
# Grep'ing the whole file directly is not great: AIX grep has a line |
| 17401 |
|
X"$am_mf" : 'X\(//\)[^/]' \| \ |
| 17402 |
|
X"$am_mf" : 'X\(//\)$' \| \ |
| 17403 |
|
X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || |
| 17404 |
< |
$as_echo X"$am_mf" | |
| 17404 |
> |
printf "%s\n" X"$am_mf" | |
| 17405 |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 17406 |
|
s//\1/ |
| 17407 |
|
q |
| 17423 |
|
$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \ |
| 17424 |
|
X"$am_mf" : 'X\(//\)$' \| \ |
| 17425 |
|
X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || |
| 17426 |
< |
$as_echo X/"$am_mf" | |
| 17426 |
> |
printf "%s\n" X/"$am_mf" | |
| 17427 |
|
sed '/^.*\/\([^/][^/]*\)\/*$/{ |
| 17428 |
|
s//\1/ |
| 17429 |
|
q |
| 17448 |
|
(exit $ac_status); } || am_rc=$? |
| 17449 |
|
done |
| 17450 |
|
if test $am_rc -ne 0; then |
| 17451 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 17452 |
< |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 17451 |
> |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 17452 |
> |
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 17453 |
|
as_fn_error $? "Something went wrong bootstrapping makefile fragments |
| 17454 |
< |
for automatic dependency tracking. Try re-running configure with the |
| 17454 |
> |
for automatic dependency tracking. If GNU make was not used, consider |
| 17455 |
> |
re-running the configure script with MAKE=\"gmake\" (or whatever is |
| 17456 |
> |
necessary). You can also try re-running configure with the |
| 17457 |
|
'--disable-dependency-tracking' option to at least be able to build |
| 17458 |
|
the package (albeit without support for automatic dependency tracking). |
| 17459 |
|
See \`config.log' for more details" "$LINENO" 5; } |
| 17480 |
|
cat <<_LT_EOF >> "$cfgfile" |
| 17481 |
|
#! $SHELL |
| 17482 |
|
# Generated automatically by $as_me ($PACKAGE) $VERSION |
| 17483 |
+ |
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: |
| 17484 |
|
# NOTE: Changes made to this file will be lost: look at ltmain.sh. |
| 17485 |
|
|
| 17486 |
|
# Provide generalized library-building support services. |
| 17600 |
|
# convert \$build files to toolchain format. |
| 17601 |
|
to_tool_file_cmd=$lt_cv_to_tool_file_cmd |
| 17602 |
|
|
| 17603 |
+ |
# A file(cmd) program that detects file types. |
| 17604 |
+ |
FILECMD=$lt_FILECMD |
| 17605 |
+ |
|
| 17606 |
|
# An object symbol dumper. |
| 17607 |
|
OBJDUMP=$lt_OBJDUMP |
| 17608 |
|
|
| 17627 |
|
# The archiver. |
| 17628 |
|
AR=$lt_AR |
| 17629 |
|
|
| 17630 |
+ |
# Flags to create an archive (by configure). |
| 17631 |
+ |
lt_ar_flags=$lt_ar_flags |
| 17632 |
+ |
|
| 17633 |
|
# Flags to create an archive. |
| 17634 |
< |
AR_FLAGS=$lt_AR_FLAGS |
| 17634 |
> |
AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"} |
| 17635 |
|
|
| 17636 |
|
# How to feed a file listing to the archiver. |
| 17637 |
|
archiver_list_spec=$lt_archiver_list_spec |
| 17999 |
|
esac |
| 18000 |
|
|
| 18001 |
|
|
| 18002 |
+ |
|
| 18003 |
|
ltmain=$ac_aux_dir/ltmain.sh |
| 18004 |
|
|
| 18005 |
|
|
| 18007 |
|
# if finds mixed CR/LF and LF-only lines. Since sed operates in |
| 18008 |
|
# text mode, it properly converts lines to CR/LF. This bash problem |
| 18009 |
|
# is reportedly fixed, but why not run on old versions too? |
| 18010 |
< |
sed '$q' "$ltmain" >> "$cfgfile" \ |
| 18010 |
> |
$SED '$q' "$ltmain" >> "$cfgfile" \ |
| 18011 |
|
|| (rm -f "$cfgfile"; exit 1) |
| 18012 |
|
|
| 18013 |
|
mv -f "$cfgfile" "$ofile" || |
| 18049 |
|
$ac_cs_success || as_fn_exit 1 |
| 18050 |
|
fi |
| 18051 |
|
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
| 18052 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |
| 18053 |
< |
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
| 18052 |
> |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |
| 18053 |
> |
printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
| 18054 |
|
fi |
| 18055 |
|
|
| 18056 |
|
|
| 18061 |
|
echo "HOPM will be installed in ${prefix}. To change this, run:" |
| 18062 |
|
echo " ./configure --prefix=DIRECTORY" |
| 18063 |
|
echo "###############################################################################" |
| 18064 |
+ |
|