| 1 |
|
#! /bin/sh |
| 2 |
|
# Guess values for system-dependent variables and create Makefiles. |
| 3 |
< |
# Generated by GNU Autoconf 2.59 for ircd-hybrid 7.3. |
| 3 |
> |
# Generated by GNU Autoconf 2.61 for ircd-hybrid 7.3. |
| 4 |
|
# |
| 5 |
|
# $Id$ |
| 6 |
|
# |
| 7 |
< |
# Copyright (C) 2003 Free Software Foundation, Inc. |
| 7 |
> |
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
| 8 |
> |
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. |
| 9 |
|
# This configure script is free software; the Free Software Foundation |
| 10 |
|
# gives unlimited permission to copy, distribute and modify it. |
| 11 |
|
## --------------------- ## |
| 12 |
|
## M4sh Initialization. ## |
| 13 |
|
## --------------------- ## |
| 14 |
|
|
| 15 |
< |
# Be Bourne compatible |
| 15 |
> |
# Be more Bourne compatible |
| 16 |
> |
DUALCASE=1; export DUALCASE # for MKS sh |
| 17 |
|
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
| 18 |
|
emulate sh |
| 19 |
|
NULLCMD=: |
| 20 |
|
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
| 21 |
|
# is contrary to our usage. Disable this feature. |
| 22 |
|
alias -g '${1+"$@"}'='"$@"' |
| 23 |
< |
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
| 24 |
< |
set -o posix |
| 23 |
> |
setopt NO_GLOB_SUBST |
| 24 |
> |
else |
| 25 |
> |
case `(set -o) 2>/dev/null` in |
| 26 |
> |
*posix*) set -o posix ;; |
| 27 |
> |
esac |
| 28 |
> |
|
| 29 |
> |
fi |
| 30 |
> |
|
| 31 |
> |
|
| 32 |
> |
|
| 33 |
> |
|
| 34 |
> |
# PATH needs CR |
| 35 |
> |
# Avoid depending upon Character Ranges. |
| 36 |
> |
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
| 37 |
> |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
| 38 |
> |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
| 39 |
> |
as_cr_digits='0123456789' |
| 40 |
> |
as_cr_alnum=$as_cr_Letters$as_cr_digits |
| 41 |
> |
|
| 42 |
> |
# The user is always right. |
| 43 |
> |
if test "${PATH_SEPARATOR+set}" != set; then |
| 44 |
> |
echo "#! /bin/sh" >conf$$.sh |
| 45 |
> |
echo "exit 0" >>conf$$.sh |
| 46 |
> |
chmod +x conf$$.sh |
| 47 |
> |
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
| 48 |
> |
PATH_SEPARATOR=';' |
| 49 |
> |
else |
| 50 |
> |
PATH_SEPARATOR=: |
| 51 |
> |
fi |
| 52 |
> |
rm -f conf$$.sh |
| 53 |
|
fi |
| 24 |
– |
DUALCASE=1; export DUALCASE # for MKS sh |
| 54 |
|
|
| 55 |
|
# Support unset when possible. |
| 56 |
|
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
| 60 |
|
fi |
| 61 |
|
|
| 62 |
|
|
| 63 |
+ |
# IFS |
| 64 |
+ |
# We need space, tab and new line, in precisely that order. Quoting is |
| 65 |
+ |
# there to prevent editors from complaining about space-tab. |
| 66 |
+ |
# (If _AS_PATH_WALK were called with IFS unset, it would disable word |
| 67 |
+ |
# splitting by setting IFS to empty value.) |
| 68 |
+ |
as_nl=' |
| 69 |
+ |
' |
| 70 |
+ |
IFS=" "" $as_nl" |
| 71 |
+ |
|
| 72 |
+ |
# Find who we are. Look in the path if we contain no directory separator. |
| 73 |
+ |
case $0 in |
| 74 |
+ |
*[\\/]* ) as_myself=$0 ;; |
| 75 |
+ |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 76 |
+ |
for as_dir in $PATH |
| 77 |
+ |
do |
| 78 |
+ |
IFS=$as_save_IFS |
| 79 |
+ |
test -z "$as_dir" && as_dir=. |
| 80 |
+ |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
| 81 |
+ |
done |
| 82 |
+ |
IFS=$as_save_IFS |
| 83 |
+ |
|
| 84 |
+ |
;; |
| 85 |
+ |
esac |
| 86 |
+ |
# We did not find ourselves, most probably we were run as `sh COMMAND' |
| 87 |
+ |
# in which case we are not to be found in the path. |
| 88 |
+ |
if test "x$as_myself" = x; then |
| 89 |
+ |
as_myself=$0 |
| 90 |
+ |
fi |
| 91 |
+ |
if test ! -f "$as_myself"; then |
| 92 |
+ |
echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
| 93 |
+ |
{ (exit 1); exit 1; } |
| 94 |
+ |
fi |
| 95 |
+ |
|
| 96 |
|
# Work around bugs in pre-3.0 UWIN ksh. |
| 97 |
< |
$as_unset ENV MAIL MAILPATH |
| 97 |
> |
for as_var in ENV MAIL MAILPATH |
| 98 |
> |
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
| 99 |
> |
done |
| 100 |
|
PS1='$ ' |
| 101 |
|
PS2='> ' |
| 102 |
|
PS4='+ ' |
| 110 |
|
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
| 111 |
|
eval $as_var=C; export $as_var |
| 112 |
|
else |
| 113 |
< |
$as_unset $as_var |
| 113 |
> |
($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
| 114 |
|
fi |
| 115 |
|
done |
| 116 |
|
|
| 117 |
|
# Required to use basename. |
| 118 |
< |
if expr a : '\(a\)' >/dev/null 2>&1; then |
| 118 |
> |
if expr a : '\(a\)' >/dev/null 2>&1 && |
| 119 |
> |
test "X`expr 00001 : '.*\(...\)'`" = X001; then |
| 120 |
|
as_expr=expr |
| 121 |
|
else |
| 122 |
|
as_expr=false |
| 123 |
|
fi |
| 124 |
|
|
| 125 |
< |
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then |
| 125 |
> |
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
| 126 |
|
as_basename=basename |
| 127 |
|
else |
| 128 |
|
as_basename=false |
| 130 |
|
|
| 131 |
|
|
| 132 |
|
# Name of the executable. |
| 133 |
< |
as_me=`$as_basename "$0" || |
| 133 |
> |
as_me=`$as_basename -- "$0" || |
| 134 |
|
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
| 135 |
|
X"$0" : 'X\(//\)$' \| \ |
| 136 |
< |
X"$0" : 'X\(/\)$' \| \ |
| 72 |
< |
. : '\(.\)' 2>/dev/null || |
| 136 |
> |
X"$0" : 'X\(/\)' \| . 2>/dev/null || |
| 137 |
|
echo X/"$0" | |
| 138 |
< |
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } |
| 139 |
< |
/^X\/\(\/\/\)$/{ s//\1/; q; } |
| 140 |
< |
/^X\/\(\/\).*/{ s//\1/; q; } |
| 141 |
< |
s/.*/./; q'` |
| 138 |
> |
sed '/^.*\/\([^/][^/]*\)\/*$/{ |
| 139 |
> |
s//\1/ |
| 140 |
> |
q |
| 141 |
> |
} |
| 142 |
> |
/^X\/\(\/\/\)$/{ |
| 143 |
> |
s//\1/ |
| 144 |
> |
q |
| 145 |
> |
} |
| 146 |
> |
/^X\/\(\/\).*/{ |
| 147 |
> |
s//\1/ |
| 148 |
> |
q |
| 149 |
> |
} |
| 150 |
> |
s/.*/./; q'` |
| 151 |
|
|
| 152 |
+ |
# CDPATH. |
| 153 |
+ |
$as_unset CDPATH |
| 154 |
|
|
| 80 |
– |
# PATH needs CR, and LINENO needs CR and PATH. |
| 81 |
– |
# Avoid depending upon Character Ranges. |
| 82 |
– |
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
| 83 |
– |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
| 84 |
– |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
| 85 |
– |
as_cr_digits='0123456789' |
| 86 |
– |
as_cr_alnum=$as_cr_Letters$as_cr_digits |
| 155 |
|
|
| 156 |
< |
# The user is always right. |
| 157 |
< |
if test "${PATH_SEPARATOR+set}" != set; then |
| 158 |
< |
echo "#! /bin/sh" >conf$$.sh |
| 159 |
< |
echo "exit 0" >>conf$$.sh |
| 160 |
< |
chmod +x conf$$.sh |
| 93 |
< |
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
| 94 |
< |
PATH_SEPARATOR=';' |
| 95 |
< |
else |
| 96 |
< |
PATH_SEPARATOR=: |
| 97 |
< |
fi |
| 98 |
< |
rm -f conf$$.sh |
| 156 |
> |
if test "x$CONFIG_SHELL" = x; then |
| 157 |
> |
if (eval ":") 2>/dev/null; then |
| 158 |
> |
as_have_required=yes |
| 159 |
> |
else |
| 160 |
> |
as_have_required=no |
| 161 |
|
fi |
| 162 |
|
|
| 163 |
+ |
if test $as_have_required = yes && (eval ": |
| 164 |
+ |
(as_func_return () { |
| 165 |
+ |
(exit \$1) |
| 166 |
+ |
} |
| 167 |
+ |
as_func_success () { |
| 168 |
+ |
as_func_return 0 |
| 169 |
+ |
} |
| 170 |
+ |
as_func_failure () { |
| 171 |
+ |
as_func_return 1 |
| 172 |
+ |
} |
| 173 |
+ |
as_func_ret_success () { |
| 174 |
+ |
return 0 |
| 175 |
+ |
} |
| 176 |
+ |
as_func_ret_failure () { |
| 177 |
+ |
return 1 |
| 178 |
+ |
} |
| 179 |
|
|
| 180 |
< |
as_lineno_1=$LINENO |
| 181 |
< |
as_lineno_2=$LINENO |
| 182 |
< |
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
| 183 |
< |
test "x$as_lineno_1" != "x$as_lineno_2" && |
| 184 |
< |
test "x$as_lineno_3" = "x$as_lineno_2" || { |
| 185 |
< |
# Find who we are. Look in the path if we contain no path at all |
| 186 |
< |
# relative or not. |
| 109 |
< |
case $0 in |
| 110 |
< |
*[\\/]* ) as_myself=$0 ;; |
| 111 |
< |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 112 |
< |
for as_dir in $PATH |
| 113 |
< |
do |
| 114 |
< |
IFS=$as_save_IFS |
| 115 |
< |
test -z "$as_dir" && as_dir=. |
| 116 |
< |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
| 117 |
< |
done |
| 180 |
> |
exitcode=0 |
| 181 |
> |
if as_func_success; then |
| 182 |
> |
: |
| 183 |
> |
else |
| 184 |
> |
exitcode=1 |
| 185 |
> |
echo as_func_success failed. |
| 186 |
> |
fi |
| 187 |
|
|
| 188 |
< |
;; |
| 189 |
< |
esac |
| 190 |
< |
# We did not find ourselves, most probably we were run as `sh COMMAND' |
| 191 |
< |
# in which case we are not to be found in the path. |
| 192 |
< |
if test "x$as_myself" = x; then |
| 193 |
< |
as_myself=$0 |
| 194 |
< |
fi |
| 195 |
< |
if test ! -f "$as_myself"; then |
| 196 |
< |
{ echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 |
| 197 |
< |
{ (exit 1); exit 1; }; } |
| 198 |
< |
fi |
| 199 |
< |
case $CONFIG_SHELL in |
| 200 |
< |
'') |
| 188 |
> |
if as_func_failure; then |
| 189 |
> |
exitcode=1 |
| 190 |
> |
echo as_func_failure succeeded. |
| 191 |
> |
fi |
| 192 |
> |
|
| 193 |
> |
if as_func_ret_success; then |
| 194 |
> |
: |
| 195 |
> |
else |
| 196 |
> |
exitcode=1 |
| 197 |
> |
echo as_func_ret_success failed. |
| 198 |
> |
fi |
| 199 |
> |
|
| 200 |
> |
if as_func_ret_failure; then |
| 201 |
> |
exitcode=1 |
| 202 |
> |
echo as_func_ret_failure succeeded. |
| 203 |
> |
fi |
| 204 |
> |
|
| 205 |
> |
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then |
| 206 |
> |
: |
| 207 |
> |
else |
| 208 |
> |
exitcode=1 |
| 209 |
> |
echo positional parameters were not saved. |
| 210 |
> |
fi |
| 211 |
> |
|
| 212 |
> |
test \$exitcode = 0) || { (exit 1); exit 1; } |
| 213 |
> |
|
| 214 |
> |
( |
| 215 |
> |
as_lineno_1=\$LINENO |
| 216 |
> |
as_lineno_2=\$LINENO |
| 217 |
> |
test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && |
| 218 |
> |
test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } |
| 219 |
> |
") 2> /dev/null; then |
| 220 |
> |
: |
| 221 |
> |
else |
| 222 |
> |
as_candidate_shells= |
| 223 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 224 |
|
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
| 225 |
|
do |
| 226 |
|
IFS=$as_save_IFS |
| 227 |
|
test -z "$as_dir" && as_dir=. |
| 228 |
< |
for as_base in sh bash ksh sh5; do |
| 138 |
< |
case $as_dir in |
| 228 |
> |
case $as_dir in |
| 229 |
|
/*) |
| 230 |
< |
if ("$as_dir/$as_base" -c ' |
| 230 |
> |
for as_base in sh bash ksh sh5; do |
| 231 |
> |
as_candidate_shells="$as_candidate_shells $as_dir/$as_base" |
| 232 |
> |
done;; |
| 233 |
> |
esac |
| 234 |
> |
done |
| 235 |
> |
IFS=$as_save_IFS |
| 236 |
> |
|
| 237 |
> |
|
| 238 |
> |
for as_shell in $as_candidate_shells $SHELL; do |
| 239 |
> |
# Try only shells that exist, to save several forks. |
| 240 |
> |
if { test -f "$as_shell" || test -f "$as_shell.exe"; } && |
| 241 |
> |
{ ("$as_shell") 2> /dev/null <<\_ASEOF |
| 242 |
> |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
| 243 |
> |
emulate sh |
| 244 |
> |
NULLCMD=: |
| 245 |
> |
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
| 246 |
> |
# is contrary to our usage. Disable this feature. |
| 247 |
> |
alias -g '${1+"$@"}'='"$@"' |
| 248 |
> |
setopt NO_GLOB_SUBST |
| 249 |
> |
else |
| 250 |
> |
case `(set -o) 2>/dev/null` in |
| 251 |
> |
*posix*) set -o posix ;; |
| 252 |
> |
esac |
| 253 |
> |
|
| 254 |
> |
fi |
| 255 |
> |
|
| 256 |
> |
|
| 257 |
> |
: |
| 258 |
> |
_ASEOF |
| 259 |
> |
}; then |
| 260 |
> |
CONFIG_SHELL=$as_shell |
| 261 |
> |
as_have_required=yes |
| 262 |
> |
if { "$as_shell" 2> /dev/null <<\_ASEOF |
| 263 |
> |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
| 264 |
> |
emulate sh |
| 265 |
> |
NULLCMD=: |
| 266 |
> |
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
| 267 |
> |
# is contrary to our usage. Disable this feature. |
| 268 |
> |
alias -g '${1+"$@"}'='"$@"' |
| 269 |
> |
setopt NO_GLOB_SUBST |
| 270 |
> |
else |
| 271 |
> |
case `(set -o) 2>/dev/null` in |
| 272 |
> |
*posix*) set -o posix ;; |
| 273 |
> |
esac |
| 274 |
> |
|
| 275 |
> |
fi |
| 276 |
> |
|
| 277 |
> |
|
| 278 |
> |
: |
| 279 |
> |
(as_func_return () { |
| 280 |
> |
(exit $1) |
| 281 |
> |
} |
| 282 |
> |
as_func_success () { |
| 283 |
> |
as_func_return 0 |
| 284 |
> |
} |
| 285 |
> |
as_func_failure () { |
| 286 |
> |
as_func_return 1 |
| 287 |
> |
} |
| 288 |
> |
as_func_ret_success () { |
| 289 |
> |
return 0 |
| 290 |
> |
} |
| 291 |
> |
as_func_ret_failure () { |
| 292 |
> |
return 1 |
| 293 |
> |
} |
| 294 |
> |
|
| 295 |
> |
exitcode=0 |
| 296 |
> |
if as_func_success; then |
| 297 |
> |
: |
| 298 |
> |
else |
| 299 |
> |
exitcode=1 |
| 300 |
> |
echo as_func_success failed. |
| 301 |
> |
fi |
| 302 |
> |
|
| 303 |
> |
if as_func_failure; then |
| 304 |
> |
exitcode=1 |
| 305 |
> |
echo as_func_failure succeeded. |
| 306 |
> |
fi |
| 307 |
> |
|
| 308 |
> |
if as_func_ret_success; then |
| 309 |
> |
: |
| 310 |
> |
else |
| 311 |
> |
exitcode=1 |
| 312 |
> |
echo as_func_ret_success failed. |
| 313 |
> |
fi |
| 314 |
> |
|
| 315 |
> |
if as_func_ret_failure; then |
| 316 |
> |
exitcode=1 |
| 317 |
> |
echo as_func_ret_failure succeeded. |
| 318 |
> |
fi |
| 319 |
> |
|
| 320 |
> |
if ( set x; as_func_ret_success y && test x = "$1" ); then |
| 321 |
> |
: |
| 322 |
> |
else |
| 323 |
> |
exitcode=1 |
| 324 |
> |
echo positional parameters were not saved. |
| 325 |
> |
fi |
| 326 |
> |
|
| 327 |
> |
test $exitcode = 0) || { (exit 1); exit 1; } |
| 328 |
> |
|
| 329 |
> |
( |
| 330 |
|
as_lineno_1=$LINENO |
| 331 |
|
as_lineno_2=$LINENO |
| 143 |
– |
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
| 332 |
|
test "x$as_lineno_1" != "x$as_lineno_2" && |
| 333 |
< |
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then |
| 334 |
< |
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } |
| 335 |
< |
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } |
| 336 |
< |
CONFIG_SHELL=$as_dir/$as_base |
| 337 |
< |
export CONFIG_SHELL |
| 338 |
< |
exec "$CONFIG_SHELL" "$0" ${1+"$@"} |
| 339 |
< |
fi;; |
| 340 |
< |
esac |
| 341 |
< |
done |
| 342 |
< |
done |
| 343 |
< |
;; |
| 344 |
< |
esac |
| 333 |
> |
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } |
| 334 |
> |
|
| 335 |
> |
_ASEOF |
| 336 |
> |
}; then |
| 337 |
> |
break |
| 338 |
> |
fi |
| 339 |
> |
|
| 340 |
> |
fi |
| 341 |
> |
|
| 342 |
> |
done |
| 343 |
> |
|
| 344 |
> |
if test "x$CONFIG_SHELL" != x; then |
| 345 |
> |
for as_var in BASH_ENV ENV |
| 346 |
> |
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
| 347 |
> |
done |
| 348 |
> |
export CONFIG_SHELL |
| 349 |
> |
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} |
| 350 |
> |
fi |
| 351 |
> |
|
| 352 |
> |
|
| 353 |
> |
if test $as_have_required = no; then |
| 354 |
> |
echo This script requires a shell more modern than all the |
| 355 |
> |
echo shells that I found on your system. Please install a |
| 356 |
> |
echo modern shell, or manually run the script under such a |
| 357 |
> |
echo shell if you do have one. |
| 358 |
> |
{ (exit 1); exit 1; } |
| 359 |
> |
fi |
| 360 |
> |
|
| 361 |
> |
|
| 362 |
> |
fi |
| 363 |
> |
|
| 364 |
> |
fi |
| 365 |
> |
|
| 366 |
> |
|
| 367 |
> |
|
| 368 |
> |
(eval "as_func_return () { |
| 369 |
> |
(exit \$1) |
| 370 |
> |
} |
| 371 |
> |
as_func_success () { |
| 372 |
> |
as_func_return 0 |
| 373 |
> |
} |
| 374 |
> |
as_func_failure () { |
| 375 |
> |
as_func_return 1 |
| 376 |
> |
} |
| 377 |
> |
as_func_ret_success () { |
| 378 |
> |
return 0 |
| 379 |
> |
} |
| 380 |
> |
as_func_ret_failure () { |
| 381 |
> |
return 1 |
| 382 |
> |
} |
| 383 |
> |
|
| 384 |
> |
exitcode=0 |
| 385 |
> |
if as_func_success; then |
| 386 |
> |
: |
| 387 |
> |
else |
| 388 |
> |
exitcode=1 |
| 389 |
> |
echo as_func_success failed. |
| 390 |
> |
fi |
| 391 |
> |
|
| 392 |
> |
if as_func_failure; then |
| 393 |
> |
exitcode=1 |
| 394 |
> |
echo as_func_failure succeeded. |
| 395 |
> |
fi |
| 396 |
> |
|
| 397 |
> |
if as_func_ret_success; then |
| 398 |
> |
: |
| 399 |
> |
else |
| 400 |
> |
exitcode=1 |
| 401 |
> |
echo as_func_ret_success failed. |
| 402 |
> |
fi |
| 403 |
> |
|
| 404 |
> |
if as_func_ret_failure; then |
| 405 |
> |
exitcode=1 |
| 406 |
> |
echo as_func_ret_failure succeeded. |
| 407 |
> |
fi |
| 408 |
> |
|
| 409 |
> |
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then |
| 410 |
> |
: |
| 411 |
> |
else |
| 412 |
> |
exitcode=1 |
| 413 |
> |
echo positional parameters were not saved. |
| 414 |
> |
fi |
| 415 |
> |
|
| 416 |
> |
test \$exitcode = 0") || { |
| 417 |
> |
echo No shell found that supports shell functions. |
| 418 |
> |
echo Please tell autoconf@gnu.org about your system, |
| 419 |
> |
echo including any error possibly output before this |
| 420 |
> |
echo message |
| 421 |
> |
} |
| 422 |
> |
|
| 423 |
> |
|
| 424 |
> |
|
| 425 |
> |
as_lineno_1=$LINENO |
| 426 |
> |
as_lineno_2=$LINENO |
| 427 |
> |
test "x$as_lineno_1" != "x$as_lineno_2" && |
| 428 |
> |
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { |
| 429 |
|
|
| 430 |
|
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
| 431 |
|
# uniformly replaced by the line number. The first 'sed' inserts a |
| 432 |
< |
# line-number line before each line; the second 'sed' does the real |
| 433 |
< |
# work. The second script uses 'N' to pair each line-number line |
| 434 |
< |
# with the numbered line, and appends trailing '-' during |
| 435 |
< |
# substitution so that $LINENO is not a special case at line end. |
| 432 |
> |
# line-number line after each line using $LINENO; the second 'sed' |
| 433 |
> |
# does the real work. The second script uses 'N' to pair each |
| 434 |
> |
# line-number line with the line containing $LINENO, and appends |
| 435 |
> |
# trailing '-' during substitution so that $LINENO is not a special |
| 436 |
> |
# case at line end. |
| 437 |
|
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
| 438 |
< |
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) |
| 439 |
< |
sed '=' <$as_myself | |
| 438 |
> |
# scripts with optimization help from Paolo Bonzini. Blame Lee |
| 439 |
> |
# E. McMahon (1931-1989) for sed's syntax. :-) |
| 440 |
> |
sed -n ' |
| 441 |
> |
p |
| 442 |
> |
/[$]LINENO/= |
| 443 |
> |
' <$as_myself | |
| 444 |
|
sed ' |
| 445 |
+ |
s/[$]LINENO.*/&-/ |
| 446 |
+ |
t lineno |
| 447 |
+ |
b |
| 448 |
+ |
:lineno |
| 449 |
|
N |
| 450 |
< |
s,$,-, |
| 451 |
< |
: loop |
| 171 |
< |
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, |
| 450 |
> |
:loop |
| 451 |
> |
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
| 452 |
|
t loop |
| 453 |
< |
s,-$,, |
| 174 |
< |
s,^['$as_cr_digits']*\n,, |
| 453 |
> |
s/-\n.*// |
| 454 |
|
' >$as_me.lineno && |
| 455 |
< |
chmod +x $as_me.lineno || |
| 455 |
> |
chmod +x "$as_me.lineno" || |
| 456 |
|
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
| 457 |
|
{ (exit 1); exit 1; }; } |
| 458 |
|
|
| 459 |
|
# Don't try to exec as it changes $[0], causing all sort of problems |
| 460 |
|
# (the dirname of $[0] is not the place where we might find the |
| 461 |
< |
# original and so on. Autoconf is especially sensible to this). |
| 462 |
< |
. ./$as_me.lineno |
| 461 |
> |
# original and so on. Autoconf is especially sensitive to this). |
| 462 |
> |
. "./$as_me.lineno" |
| 463 |
|
# Exit status is that of the last command. |
| 464 |
|
exit |
| 465 |
|
} |
| 466 |
|
|
| 467 |
|
|
| 468 |
< |
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in |
| 469 |
< |
*c*,-n*) ECHO_N= ECHO_C=' |
| 470 |
< |
' ECHO_T=' ' ;; |
| 471 |
< |
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; |
| 472 |
< |
*) ECHO_N= ECHO_C='\c' ECHO_T= ;; |
| 468 |
> |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
| 469 |
> |
as_dirname=dirname |
| 470 |
> |
else |
| 471 |
> |
as_dirname=false |
| 472 |
> |
fi |
| 473 |
> |
|
| 474 |
> |
ECHO_C= ECHO_N= ECHO_T= |
| 475 |
> |
case `echo -n x` in |
| 476 |
> |
-n*) |
| 477 |
> |
case `echo 'x\c'` in |
| 478 |
> |
*c*) ECHO_T=' ';; # ECHO_T is single tab character. |
| 479 |
> |
*) ECHO_C='\c';; |
| 480 |
> |
esac;; |
| 481 |
> |
*) |
| 482 |
> |
ECHO_N='-n';; |
| 483 |
|
esac |
| 484 |
|
|
| 485 |
< |
if expr a : '\(a\)' >/dev/null 2>&1; then |
| 485 |
> |
if expr a : '\(a\)' >/dev/null 2>&1 && |
| 486 |
> |
test "X`expr 00001 : '.*\(...\)'`" = X001; then |
| 487 |
|
as_expr=expr |
| 488 |
|
else |
| 489 |
|
as_expr=false |
| 490 |
|
fi |
| 491 |
|
|
| 492 |
|
rm -f conf$$ conf$$.exe conf$$.file |
| 493 |
+ |
if test -d conf$$.dir; then |
| 494 |
+ |
rm -f conf$$.dir/conf$$.file |
| 495 |
+ |
else |
| 496 |
+ |
rm -f conf$$.dir |
| 497 |
+ |
mkdir conf$$.dir |
| 498 |
+ |
fi |
| 499 |
|
echo >conf$$.file |
| 500 |
|
if ln -s conf$$.file conf$$ 2>/dev/null; then |
| 501 |
< |
# We could just check for DJGPP; but this test a) works b) is more generic |
| 502 |
< |
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). |
| 503 |
< |
if test -f conf$$.exe; then |
| 504 |
< |
# Don't use ln at all; we don't have any links |
| 501 |
> |
as_ln_s='ln -s' |
| 502 |
> |
# ... but there are two gotchas: |
| 503 |
> |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
| 504 |
> |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
| 505 |
> |
# In both cases, we have to default to `cp -p'. |
| 506 |
> |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
| 507 |
|
as_ln_s='cp -p' |
| 210 |
– |
else |
| 211 |
– |
as_ln_s='ln -s' |
| 212 |
– |
fi |
| 508 |
|
elif ln conf$$.file conf$$ 2>/dev/null; then |
| 509 |
|
as_ln_s=ln |
| 510 |
|
else |
| 511 |
|
as_ln_s='cp -p' |
| 512 |
|
fi |
| 513 |
< |
rm -f conf$$ conf$$.exe conf$$.file |
| 513 |
> |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
| 514 |
> |
rmdir conf$$.dir 2>/dev/null |
| 515 |
|
|
| 516 |
|
if mkdir -p . 2>/dev/null; then |
| 517 |
|
as_mkdir_p=: |
| 520 |
|
as_mkdir_p=false |
| 521 |
|
fi |
| 522 |
|
|
| 523 |
< |
as_executable_p="test -f" |
| 523 |
> |
if test -x / >/dev/null 2>&1; then |
| 524 |
> |
as_test_x='test -x' |
| 525 |
> |
else |
| 526 |
> |
if ls -dL / >/dev/null 2>&1; then |
| 527 |
> |
as_ls_L_option=L |
| 528 |
> |
else |
| 529 |
> |
as_ls_L_option= |
| 530 |
> |
fi |
| 531 |
> |
as_test_x=' |
| 532 |
> |
eval sh -c '\'' |
| 533 |
> |
if test -d "$1"; then |
| 534 |
> |
test -d "$1/."; |
| 535 |
> |
else |
| 536 |
> |
case $1 in |
| 537 |
> |
-*)set "./$1";; |
| 538 |
> |
esac; |
| 539 |
> |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in |
| 540 |
> |
???[sx]*):;;*)false;;esac;fi |
| 541 |
> |
'\'' sh |
| 542 |
> |
' |
| 543 |
> |
fi |
| 544 |
> |
as_executable_p=$as_test_x |
| 545 |
|
|
| 546 |
|
# Sed expression to map a string onto a valid CPP name. |
| 547 |
|
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
| 550 |
|
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
| 551 |
|
|
| 552 |
|
|
| 236 |
– |
# IFS |
| 237 |
– |
# We need space, tab and new line, in precisely that order. |
| 238 |
– |
as_nl=' |
| 239 |
– |
' |
| 240 |
– |
IFS=" $as_nl" |
| 241 |
– |
|
| 242 |
– |
# CDPATH. |
| 243 |
– |
$as_unset CDPATH |
| 553 |
|
|
| 554 |
+ |
exec 7<&0 </dev/null 6>&1 |
| 555 |
|
|
| 556 |
|
# Name of the host. |
| 557 |
|
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
| 558 |
|
# so uname gets run too. |
| 559 |
|
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
| 560 |
|
|
| 251 |
– |
exec 6>&1 |
| 252 |
– |
|
| 561 |
|
# |
| 562 |
|
# Initializations. |
| 563 |
|
# |
| 564 |
|
ac_default_prefix=/usr/local |
| 565 |
+ |
ac_clean_files= |
| 566 |
|
ac_config_libobj_dir=. |
| 567 |
+ |
LIBOBJS= |
| 568 |
|
cross_compiling=no |
| 569 |
|
subdirs= |
| 570 |
|
MFLAGS= |
| 571 |
|
MAKEFLAGS= |
| 572 |
|
SHELL=${CONFIG_SHELL-/bin/sh} |
| 573 |
|
|
| 264 |
– |
# Maximum number of lines to put in a shell here document. |
| 265 |
– |
# This variable seems obsolete. It should probably be removed, and |
| 266 |
– |
# only ac_max_sed_lines should be used. |
| 267 |
– |
: ${ac_max_here_lines=38} |
| 268 |
– |
|
| 574 |
|
# Identity of this package. |
| 575 |
|
PACKAGE_NAME='ircd-hybrid' |
| 576 |
|
PACKAGE_TARNAME='ircd-hybrid' |
| 582 |
|
# Factoring default headers for most tests. |
| 583 |
|
ac_includes_default="\ |
| 584 |
|
#include <stdio.h> |
| 585 |
< |
#if HAVE_SYS_TYPES_H |
| 585 |
> |
#ifdef HAVE_SYS_TYPES_H |
| 586 |
|
# include <sys/types.h> |
| 587 |
|
#endif |
| 588 |
< |
#if HAVE_SYS_STAT_H |
| 588 |
> |
#ifdef HAVE_SYS_STAT_H |
| 589 |
|
# include <sys/stat.h> |
| 590 |
|
#endif |
| 591 |
< |
#if STDC_HEADERS |
| 591 |
> |
#ifdef STDC_HEADERS |
| 592 |
|
# include <stdlib.h> |
| 593 |
|
# include <stddef.h> |
| 594 |
|
#else |
| 595 |
< |
# if HAVE_STDLIB_H |
| 595 |
> |
# ifdef HAVE_STDLIB_H |
| 596 |
|
# include <stdlib.h> |
| 597 |
|
# endif |
| 598 |
|
#endif |
| 599 |
< |
#if HAVE_STRING_H |
| 600 |
< |
# if !STDC_HEADERS && HAVE_MEMORY_H |
| 599 |
> |
#ifdef HAVE_STRING_H |
| 600 |
> |
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H |
| 601 |
|
# include <memory.h> |
| 602 |
|
# endif |
| 603 |
|
# include <string.h> |
| 604 |
|
#endif |
| 605 |
< |
#if HAVE_STRINGS_H |
| 605 |
> |
#ifdef HAVE_STRINGS_H |
| 606 |
|
# include <strings.h> |
| 607 |
|
#endif |
| 608 |
< |
#if HAVE_INTTYPES_H |
| 608 |
> |
#ifdef HAVE_INTTYPES_H |
| 609 |
|
# include <inttypes.h> |
| 305 |
– |
#else |
| 306 |
– |
# if HAVE_STDINT_H |
| 307 |
– |
# include <stdint.h> |
| 308 |
– |
# endif |
| 610 |
|
#endif |
| 611 |
< |
#if HAVE_UNISTD_H |
| 611 |
> |
#ifdef HAVE_STDINT_H |
| 612 |
> |
# include <stdint.h> |
| 613 |
> |
#endif |
| 614 |
> |
#ifdef HAVE_UNISTD_H |
| 615 |
|
# include <unistd.h> |
| 616 |
|
#endif" |
| 617 |
|
|
| 618 |
< |
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT MKDEP MAKEDEPEND STDOUT CPP EGREP SET_MAKE INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA RM CP MV LN SED AR LD TEST INET_MISC CRYPT_C CRYPT_LIB SNPRINTF_C ENCSPEED ZLIB_LD SELECT_TYPE CLOBBER BALLOC_C EXAMPLE_CONF MODULES_LIBS MOD_TARGET SSL_SRCS_ENABLE SSL_INCLUDES SSL_LIBS PICFLAGS IRC_CFLAGS SEDOBJ DYNLINK_C LIBOBJS LTLIBOBJS' |
| 618 |
> |
ac_subst_vars='SHELL |
| 619 |
> |
PATH_SEPARATOR |
| 620 |
> |
PACKAGE_NAME |
| 621 |
> |
PACKAGE_TARNAME |
| 622 |
> |
PACKAGE_VERSION |
| 623 |
> |
PACKAGE_STRING |
| 624 |
> |
PACKAGE_BUGREPORT |
| 625 |
> |
exec_prefix |
| 626 |
> |
prefix |
| 627 |
> |
program_transform_name |
| 628 |
> |
bindir |
| 629 |
> |
sbindir |
| 630 |
> |
libexecdir |
| 631 |
> |
datarootdir |
| 632 |
> |
datadir |
| 633 |
> |
sysconfdir |
| 634 |
> |
sharedstatedir |
| 635 |
> |
localstatedir |
| 636 |
> |
includedir |
| 637 |
> |
oldincludedir |
| 638 |
> |
docdir |
| 639 |
> |
infodir |
| 640 |
> |
htmldir |
| 641 |
> |
dvidir |
| 642 |
> |
pdfdir |
| 643 |
> |
psdir |
| 644 |
> |
libdir |
| 645 |
> |
localedir |
| 646 |
> |
mandir |
| 647 |
> |
DEFS |
| 648 |
> |
ECHO_C |
| 649 |
> |
ECHO_N |
| 650 |
> |
ECHO_T |
| 651 |
> |
LIBS |
| 652 |
> |
build_alias |
| 653 |
> |
host_alias |
| 654 |
> |
target_alias |
| 655 |
> |
CC |
| 656 |
> |
CFLAGS |
| 657 |
> |
LDFLAGS |
| 658 |
> |
CPPFLAGS |
| 659 |
> |
ac_ct_CC |
| 660 |
> |
EXEEXT |
| 661 |
> |
OBJEXT |
| 662 |
> |
MKDEP |
| 663 |
> |
MAKEDEPEND |
| 664 |
> |
STDOUT |
| 665 |
> |
CPP |
| 666 |
> |
GREP |
| 667 |
> |
EGREP |
| 668 |
> |
SET_MAKE |
| 669 |
> |
INSTALL_PROGRAM |
| 670 |
> |
INSTALL_SCRIPT |
| 671 |
> |
INSTALL_DATA |
| 672 |
> |
RM |
| 673 |
> |
CP |
| 674 |
> |
MV |
| 675 |
> |
LN |
| 676 |
> |
SED |
| 677 |
> |
AR |
| 678 |
> |
LD |
| 679 |
> |
TEST |
| 680 |
> |
INET_MISC |
| 681 |
> |
CRYPT_C |
| 682 |
> |
CRYPT_LIB |
| 683 |
> |
SNPRINTF_C |
| 684 |
> |
ENCSPEED |
| 685 |
> |
ZLIB_LD |
| 686 |
> |
SELECT_TYPE |
| 687 |
> |
CLOBBER |
| 688 |
> |
BALLOC_C |
| 689 |
> |
EXAMPLE_CONF |
| 690 |
> |
MODULES_LIBS |
| 691 |
> |
MOD_TARGET |
| 692 |
> |
SSL_SRCS_ENABLE |
| 693 |
> |
SSL_INCLUDES |
| 694 |
> |
SSL_LIBS |
| 695 |
> |
PICFLAGS |
| 696 |
> |
IRC_CFLAGS |
| 697 |
> |
SEDOBJ |
| 698 |
> |
DYNLINK_C |
| 699 |
> |
LIBOBJS |
| 700 |
> |
LTLIBOBJS' |
| 701 |
|
ac_subst_files='' |
| 702 |
+ |
ac_precious_vars='build_alias |
| 703 |
+ |
host_alias |
| 704 |
+ |
target_alias |
| 705 |
+ |
CC |
| 706 |
+ |
CFLAGS |
| 707 |
+ |
LDFLAGS |
| 708 |
+ |
LIBS |
| 709 |
+ |
CPPFLAGS |
| 710 |
+ |
CPP' |
| 711 |
+ |
|
| 712 |
|
|
| 713 |
|
# Initialize some variables set by options. |
| 714 |
|
ac_init_help= |
| 735 |
|
# and all the variables that are supposed to be based on exec_prefix |
| 736 |
|
# by default will actually change. |
| 737 |
|
# Use braces instead of parens because sh, perl, etc. also accept them. |
| 738 |
+ |
# (The list follows the same order as the GNU Coding Standards.) |
| 739 |
|
bindir='${exec_prefix}/bin' |
| 740 |
|
sbindir='${exec_prefix}/sbin' |
| 741 |
|
libexecdir='${exec_prefix}/libexec' |
| 742 |
< |
datadir='${prefix}/share' |
| 742 |
> |
datarootdir='${prefix}/share' |
| 743 |
> |
datadir='${datarootdir}' |
| 744 |
|
sysconfdir='${prefix}/etc' |
| 745 |
|
sharedstatedir='${prefix}/com' |
| 746 |
|
localstatedir='${prefix}/var' |
| 349 |
– |
libdir='${exec_prefix}/lib' |
| 747 |
|
includedir='${prefix}/include' |
| 748 |
|
oldincludedir='/usr/include' |
| 749 |
< |
infodir='${prefix}/info' |
| 750 |
< |
mandir='${prefix}/man' |
| 749 |
> |
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' |
| 750 |
> |
infodir='${datarootdir}/info' |
| 751 |
> |
htmldir='${docdir}' |
| 752 |
> |
dvidir='${docdir}' |
| 753 |
> |
pdfdir='${docdir}' |
| 754 |
> |
psdir='${docdir}' |
| 755 |
> |
libdir='${exec_prefix}/lib' |
| 756 |
> |
localedir='${datarootdir}/locale' |
| 757 |
> |
mandir='${datarootdir}/man' |
| 758 |
|
|
| 759 |
|
ac_prev= |
| 760 |
+ |
ac_dashdash= |
| 761 |
|
for ac_option |
| 762 |
|
do |
| 763 |
|
# If the previous option needs an argument, assign it. |
| 764 |
|
if test -n "$ac_prev"; then |
| 765 |
< |
eval "$ac_prev=\$ac_option" |
| 765 |
> |
eval $ac_prev=\$ac_option |
| 766 |
|
ac_prev= |
| 767 |
|
continue |
| 768 |
|
fi |
| 769 |
|
|
| 770 |
< |
ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` |
| 770 |
> |
case $ac_option in |
| 771 |
> |
*=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
| 772 |
> |
*) ac_optarg=yes ;; |
| 773 |
> |
esac |
| 774 |
|
|
| 775 |
|
# Accept the important Cygnus configure options, so we can diagnose typos. |
| 776 |
|
|
| 777 |
< |
case $ac_option in |
| 777 |
> |
case $ac_dashdash$ac_option in |
| 778 |
> |
--) |
| 779 |
> |
ac_dashdash=yes ;; |
| 780 |
|
|
| 781 |
|
-bindir | --bindir | --bindi | --bind | --bin | --bi) |
| 782 |
|
ac_prev=bindir ;; |
| 798 |
|
--config-cache | -C) |
| 799 |
|
cache_file=config.cache ;; |
| 800 |
|
|
| 801 |
< |
-datadir | --datadir | --datadi | --datad | --data | --dat | --da) |
| 801 |
> |
-datadir | --datadir | --datadi | --datad) |
| 802 |
|
ac_prev=datadir ;; |
| 803 |
< |
-datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ |
| 394 |
< |
| --da=*) |
| 803 |
> |
-datadir=* | --datadir=* | --datadi=* | --datad=*) |
| 804 |
|
datadir=$ac_optarg ;; |
| 805 |
|
|
| 806 |
+ |
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ |
| 807 |
+ |
| --dataroo | --dataro | --datar) |
| 808 |
+ |
ac_prev=datarootdir ;; |
| 809 |
+ |
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ |
| 810 |
+ |
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*) |
| 811 |
+ |
datarootdir=$ac_optarg ;; |
| 812 |
+ |
|
| 813 |
|
-disable-* | --disable-*) |
| 814 |
|
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
| 815 |
|
# Reject names that are not valid shell variable names. |
| 816 |
< |
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && |
| 816 |
> |
expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && |
| 817 |
|
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
| 818 |
|
{ (exit 1); exit 1; }; } |
| 819 |
< |
ac_feature=`echo $ac_feature | sed 's/-/_/g'` |
| 820 |
< |
eval "enable_$ac_feature=no" ;; |
| 819 |
> |
ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` |
| 820 |
> |
eval enable_$ac_feature=no ;; |
| 821 |
> |
|
| 822 |
> |
-docdir | --docdir | --docdi | --doc | --do) |
| 823 |
> |
ac_prev=docdir ;; |
| 824 |
> |
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) |
| 825 |
> |
docdir=$ac_optarg ;; |
| 826 |
> |
|
| 827 |
> |
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) |
| 828 |
> |
ac_prev=dvidir ;; |
| 829 |
> |
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) |
| 830 |
> |
dvidir=$ac_optarg ;; |
| 831 |
|
|
| 832 |
|
-enable-* | --enable-*) |
| 833 |
|
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
| 834 |
|
# Reject names that are not valid shell variable names. |
| 835 |
< |
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && |
| 835 |
> |
expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && |
| 836 |
|
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
| 837 |
|
{ (exit 1); exit 1; }; } |
| 838 |
< |
ac_feature=`echo $ac_feature | sed 's/-/_/g'` |
| 839 |
< |
case $ac_option in |
| 414 |
< |
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; |
| 415 |
< |
*) ac_optarg=yes ;; |
| 416 |
< |
esac |
| 417 |
< |
eval "enable_$ac_feature='$ac_optarg'" ;; |
| 838 |
> |
ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` |
| 839 |
> |
eval enable_$ac_feature=\$ac_optarg ;; |
| 840 |
|
|
| 841 |
|
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
| 842 |
|
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
| 863 |
|
-host=* | --host=* | --hos=* | --ho=*) |
| 864 |
|
host_alias=$ac_optarg ;; |
| 865 |
|
|
| 866 |
+ |
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) |
| 867 |
+ |
ac_prev=htmldir ;; |
| 868 |
+ |
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ |
| 869 |
+ |
| --ht=*) |
| 870 |
+ |
htmldir=$ac_optarg ;; |
| 871 |
+ |
|
| 872 |
|
-includedir | --includedir | --includedi | --included | --include \ |
| 873 |
|
| --includ | --inclu | --incl | --inc) |
| 874 |
|
ac_prev=includedir ;; |
| 893 |
|
| --libexe=* | --libex=* | --libe=*) |
| 894 |
|
libexecdir=$ac_optarg ;; |
| 895 |
|
|
| 896 |
+ |
-localedir | --localedir | --localedi | --localed | --locale) |
| 897 |
+ |
ac_prev=localedir ;; |
| 898 |
+ |
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) |
| 899 |
+ |
localedir=$ac_optarg ;; |
| 900 |
+ |
|
| 901 |
|
-localstatedir | --localstatedir | --localstatedi | --localstated \ |
| 902 |
< |
| --localstate | --localstat | --localsta | --localst \ |
| 470 |
< |
| --locals | --local | --loca | --loc | --lo) |
| 902 |
> |
| --localstate | --localstat | --localsta | --localst | --locals) |
| 903 |
|
ac_prev=localstatedir ;; |
| 904 |
|
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
| 905 |
< |
| --localstate=* | --localstat=* | --localsta=* | --localst=* \ |
| 474 |
< |
| --locals=* | --local=* | --loca=* | --loc=* | --lo=*) |
| 905 |
> |
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) |
| 906 |
|
localstatedir=$ac_optarg ;; |
| 907 |
|
|
| 908 |
|
-mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
| 967 |
|
| --progr-tra=* | --program-tr=* | --program-t=*) |
| 968 |
|
program_transform_name=$ac_optarg ;; |
| 969 |
|
|
| 970 |
+ |
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) |
| 971 |
+ |
ac_prev=pdfdir ;; |
| 972 |
+ |
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) |
| 973 |
+ |
pdfdir=$ac_optarg ;; |
| 974 |
+ |
|
| 975 |
+ |
-psdir | --psdir | --psdi | --psd | --ps) |
| 976 |
+ |
ac_prev=psdir ;; |
| 977 |
+ |
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) |
| 978 |
+ |
psdir=$ac_optarg ;; |
| 979 |
+ |
|
| 980 |
|
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
| 981 |
|
| -silent | --silent | --silen | --sile | --sil) |
| 982 |
|
silent=yes ;; |
| 1029 |
|
-with-* | --with-*) |
| 1030 |
|
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
| 1031 |
|
# Reject names that are not valid shell variable names. |
| 1032 |
< |
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
| 1032 |
> |
expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && |
| 1033 |
|
{ echo "$as_me: error: invalid package name: $ac_package" >&2 |
| 1034 |
|
{ (exit 1); exit 1; }; } |
| 1035 |
< |
ac_package=`echo $ac_package| sed 's/-/_/g'` |
| 1036 |
< |
case $ac_option in |
| 596 |
< |
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; |
| 597 |
< |
*) ac_optarg=yes ;; |
| 598 |
< |
esac |
| 599 |
< |
eval "with_$ac_package='$ac_optarg'" ;; |
| 1035 |
> |
ac_package=`echo $ac_package | sed 's/[-.]/_/g'` |
| 1036 |
> |
eval with_$ac_package=\$ac_optarg ;; |
| 1037 |
|
|
| 1038 |
|
-without-* | --without-*) |
| 1039 |
|
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
| 1040 |
|
# Reject names that are not valid shell variable names. |
| 1041 |
< |
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
| 1041 |
> |
expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && |
| 1042 |
|
{ echo "$as_me: error: invalid package name: $ac_package" >&2 |
| 1043 |
|
{ (exit 1); exit 1; }; } |
| 1044 |
< |
ac_package=`echo $ac_package | sed 's/-/_/g'` |
| 1045 |
< |
eval "with_$ac_package=no" ;; |
| 1044 |
> |
ac_package=`echo $ac_package | sed 's/[-.]/_/g'` |
| 1045 |
> |
eval with_$ac_package=no ;; |
| 1046 |
|
|
| 1047 |
|
--x) |
| 1048 |
|
# Obsolete; use --with-x. |
| 1073 |
|
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && |
| 1074 |
|
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2 |
| 1075 |
|
{ (exit 1); exit 1; }; } |
| 1076 |
< |
ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` |
| 640 |
< |
eval "$ac_envvar='$ac_optarg'" |
| 1076 |
> |
eval $ac_envvar=\$ac_optarg |
| 1077 |
|
export $ac_envvar ;; |
| 1078 |
|
|
| 1079 |
|
*) |
| 1093 |
|
{ (exit 1); exit 1; }; } |
| 1094 |
|
fi |
| 1095 |
|
|
| 1096 |
< |
# Be sure to have absolute paths. |
| 1097 |
< |
for ac_var in exec_prefix prefix |
| 1096 |
> |
# Be sure to have absolute directory names. |
| 1097 |
> |
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
| 1098 |
> |
datadir sysconfdir sharedstatedir localstatedir includedir \ |
| 1099 |
> |
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
| 1100 |
> |
libdir localedir mandir |
| 1101 |
|
do |
| 1102 |
< |
eval ac_val=$`echo $ac_var` |
| 1102 |
> |
eval ac_val=\$$ac_var |
| 1103 |
|
case $ac_val in |
| 1104 |
< |
[\\/$]* | ?:[\\/]* | NONE | '' ) ;; |
| 1105 |
< |
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
| 667 |
< |
{ (exit 1); exit 1; }; };; |
| 668 |
< |
esac |
| 669 |
< |
done |
| 670 |
< |
|
| 671 |
< |
# Be sure to have absolute paths. |
| 672 |
< |
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ |
| 673 |
< |
localstatedir libdir includedir oldincludedir infodir mandir |
| 674 |
< |
do |
| 675 |
< |
eval ac_val=$`echo $ac_var` |
| 676 |
< |
case $ac_val in |
| 677 |
< |
[\\/$]* | ?:[\\/]* ) ;; |
| 678 |
< |
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
| 679 |
< |
{ (exit 1); exit 1; }; };; |
| 1104 |
> |
[\\/$]* | ?:[\\/]* ) continue;; |
| 1105 |
> |
NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
| 1106 |
|
esac |
| 1107 |
+ |
{ echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
| 1108 |
+ |
{ (exit 1); exit 1; }; } |
| 1109 |
|
done |
| 1110 |
|
|
| 1111 |
|
# There might be people who depend on the old broken behavior: `$host' |
| 1132 |
|
test "$silent" = yes && exec 6>/dev/null |
| 1133 |
|
|
| 1134 |
|
|
| 1135 |
+ |
ac_pwd=`pwd` && test -n "$ac_pwd" && |
| 1136 |
+ |
ac_ls_di=`ls -di .` && |
| 1137 |
+ |
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
| 1138 |
+ |
{ echo "$as_me: error: Working directory cannot be determined" >&2 |
| 1139 |
+ |
{ (exit 1); exit 1; }; } |
| 1140 |
+ |
test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
| 1141 |
+ |
{ echo "$as_me: error: pwd does not report name of working directory" >&2 |
| 1142 |
+ |
{ (exit 1); exit 1; }; } |
| 1143 |
+ |
|
| 1144 |
+ |
|
| 1145 |
|
# Find the source files, if location was not specified. |
| 1146 |
|
if test -z "$srcdir"; then |
| 1147 |
|
ac_srcdir_defaulted=yes |
| 1148 |
< |
# Try the directory containing this script, then its parent. |
| 1149 |
< |
ac_confdir=`(dirname "$0") 2>/dev/null || |
| 1148 |
> |
# Try the directory containing this script, then the parent directory. |
| 1149 |
> |
ac_confdir=`$as_dirname -- "$0" || |
| 1150 |
|
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 1151 |
|
X"$0" : 'X\(//\)[^/]' \| \ |
| 1152 |
|
X"$0" : 'X\(//\)$' \| \ |
| 1153 |
< |
X"$0" : 'X\(/\)' \| \ |
| 716 |
< |
. : '\(.\)' 2>/dev/null || |
| 1153 |
> |
X"$0" : 'X\(/\)' \| . 2>/dev/null || |
| 1154 |
|
echo X"$0" | |
| 1155 |
< |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
| 1156 |
< |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
| 1157 |
< |
/^X\(\/\/\)$/{ s//\1/; q; } |
| 1158 |
< |
/^X\(\/\).*/{ s//\1/; q; } |
| 1159 |
< |
s/.*/./; q'` |
| 1155 |
> |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 1156 |
> |
s//\1/ |
| 1157 |
> |
q |
| 1158 |
> |
} |
| 1159 |
> |
/^X\(\/\/\)[^/].*/{ |
| 1160 |
> |
s//\1/ |
| 1161 |
> |
q |
| 1162 |
> |
} |
| 1163 |
> |
/^X\(\/\/\)$/{ |
| 1164 |
> |
s//\1/ |
| 1165 |
> |
q |
| 1166 |
> |
} |
| 1167 |
> |
/^X\(\/\).*/{ |
| 1168 |
> |
s//\1/ |
| 1169 |
> |
q |
| 1170 |
> |
} |
| 1171 |
> |
s/.*/./; q'` |
| 1172 |
|
srcdir=$ac_confdir |
| 1173 |
< |
if test ! -r $srcdir/$ac_unique_file; then |
| 1173 |
> |
if test ! -r "$srcdir/$ac_unique_file"; then |
| 1174 |
|
srcdir=.. |
| 1175 |
|
fi |
| 1176 |
|
else |
| 1177 |
|
ac_srcdir_defaulted=no |
| 1178 |
|
fi |
| 1179 |
< |
if test ! -r $srcdir/$ac_unique_file; then |
| 1180 |
< |
if test "$ac_srcdir_defaulted" = yes; then |
| 1181 |
< |
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 |
| 1179 |
> |
if test ! -r "$srcdir/$ac_unique_file"; then |
| 1180 |
> |
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
| 1181 |
> |
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 |
| 1182 |
|
{ (exit 1); exit 1; }; } |
| 734 |
– |
else |
| 735 |
– |
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 |
| 736 |
– |
{ (exit 1); exit 1; }; } |
| 737 |
– |
fi |
| 1183 |
|
fi |
| 1184 |
< |
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || |
| 1185 |
< |
{ echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 |
| 1184 |
> |
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
| 1185 |
> |
ac_abs_confdir=`( |
| 1186 |
> |
cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 |
| 1187 |
|
{ (exit 1); exit 1; }; } |
| 1188 |
< |
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` |
| 1189 |
< |
ac_env_build_alias_set=${build_alias+set} |
| 1190 |
< |
ac_env_build_alias_value=$build_alias |
| 1191 |
< |
ac_cv_env_build_alias_set=${build_alias+set} |
| 1192 |
< |
ac_cv_env_build_alias_value=$build_alias |
| 1193 |
< |
ac_env_host_alias_set=${host_alias+set} |
| 1194 |
< |
ac_env_host_alias_value=$host_alias |
| 1195 |
< |
ac_cv_env_host_alias_set=${host_alias+set} |
| 1196 |
< |
ac_cv_env_host_alias_value=$host_alias |
| 1197 |
< |
ac_env_target_alias_set=${target_alias+set} |
| 1198 |
< |
ac_env_target_alias_value=$target_alias |
| 1199 |
< |
ac_cv_env_target_alias_set=${target_alias+set} |
| 1200 |
< |
ac_cv_env_target_alias_value=$target_alias |
| 1201 |
< |
ac_env_CC_set=${CC+set} |
| 1202 |
< |
ac_env_CC_value=$CC |
| 1203 |
< |
ac_cv_env_CC_set=${CC+set} |
| 1204 |
< |
ac_cv_env_CC_value=$CC |
| 759 |
< |
ac_env_CFLAGS_set=${CFLAGS+set} |
| 760 |
< |
ac_env_CFLAGS_value=$CFLAGS |
| 761 |
< |
ac_cv_env_CFLAGS_set=${CFLAGS+set} |
| 762 |
< |
ac_cv_env_CFLAGS_value=$CFLAGS |
| 763 |
< |
ac_env_LDFLAGS_set=${LDFLAGS+set} |
| 764 |
< |
ac_env_LDFLAGS_value=$LDFLAGS |
| 765 |
< |
ac_cv_env_LDFLAGS_set=${LDFLAGS+set} |
| 766 |
< |
ac_cv_env_LDFLAGS_value=$LDFLAGS |
| 767 |
< |
ac_env_CPPFLAGS_set=${CPPFLAGS+set} |
| 768 |
< |
ac_env_CPPFLAGS_value=$CPPFLAGS |
| 769 |
< |
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} |
| 770 |
< |
ac_cv_env_CPPFLAGS_value=$CPPFLAGS |
| 771 |
< |
ac_env_CPP_set=${CPP+set} |
| 772 |
< |
ac_env_CPP_value=$CPP |
| 773 |
< |
ac_cv_env_CPP_set=${CPP+set} |
| 774 |
< |
ac_cv_env_CPP_value=$CPP |
| 1188 |
> |
pwd)` |
| 1189 |
> |
# When building in place, set srcdir=. |
| 1190 |
> |
if test "$ac_abs_confdir" = "$ac_pwd"; then |
| 1191 |
> |
srcdir=. |
| 1192 |
> |
fi |
| 1193 |
> |
# Remove unnecessary trailing slashes from srcdir. |
| 1194 |
> |
# Double slashes in file names in object file debugging info |
| 1195 |
> |
# mess up M-x gdb in Emacs. |
| 1196 |
> |
case $srcdir in |
| 1197 |
> |
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; |
| 1198 |
> |
esac |
| 1199 |
> |
for ac_var in $ac_precious_vars; do |
| 1200 |
> |
eval ac_env_${ac_var}_set=\${${ac_var}+set} |
| 1201 |
> |
eval ac_env_${ac_var}_value=\$${ac_var} |
| 1202 |
> |
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} |
| 1203 |
> |
eval ac_cv_env_${ac_var}_value=\$${ac_var} |
| 1204 |
> |
done |
| 1205 |
|
|
| 1206 |
|
# |
| 1207 |
|
# Report the --help message. |
| 1230 |
|
-n, --no-create do not create output files |
| 1231 |
|
--srcdir=DIR find the sources in DIR [configure dir or \`..'] |
| 1232 |
|
|
| 803 |
– |
_ACEOF |
| 804 |
– |
|
| 805 |
– |
cat <<_ACEOF |
| 1233 |
|
Installation directories: |
| 1234 |
|
--prefix=PREFIX install architecture-independent files in PREFIX |
| 1235 |
|
[$ac_default_prefix] |
| 1247 |
|
--bindir=DIR user executables [EPREFIX/bin] |
| 1248 |
|
--sbindir=DIR system admin executables [EPREFIX/sbin] |
| 1249 |
|
--libexecdir=DIR program executables [EPREFIX/libexec] |
| 823 |
– |
--datadir=DIR read-only architecture-independent data [PREFIX/share] |
| 1250 |
|
--sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
| 1251 |
|
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
| 1252 |
|
--localstatedir=DIR modifiable single-machine data [PREFIX/var] |
| 1253 |
|
--libdir=DIR object code libraries [EPREFIX/lib] |
| 1254 |
|
--includedir=DIR C header files [PREFIX/include] |
| 1255 |
|
--oldincludedir=DIR C header files for non-gcc [/usr/include] |
| 1256 |
< |
--infodir=DIR info documentation [PREFIX/info] |
| 1257 |
< |
--mandir=DIR man documentation [PREFIX/man] |
| 1256 |
> |
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
| 1257 |
> |
--datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
| 1258 |
> |
--infodir=DIR info documentation [DATAROOTDIR/info] |
| 1259 |
> |
--localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
| 1260 |
> |
--mandir=DIR man documentation [DATAROOTDIR/man] |
| 1261 |
> |
--docdir=DIR documentation root [DATAROOTDIR/doc/ircd-hybrid] |
| 1262 |
> |
--htmldir=DIR html documentation [DOCDIR] |
| 1263 |
> |
--dvidir=DIR dvi documentation [DOCDIR] |
| 1264 |
> |
--pdfdir=DIR pdf documentation [DOCDIR] |
| 1265 |
> |
--psdir=DIR ps documentation [DOCDIR] |
| 1266 |
|
_ACEOF |
| 1267 |
|
|
| 1268 |
|
cat <<\_ACEOF |
| 1278 |
|
Optional Features: |
| 1279 |
|
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
| 1280 |
|
--enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
| 1281 |
< |
--enable-openssl=DIR Enable OpenSSL support (DIR optional). |
| 1281 |
> |
--enable-openssl=DIR Enable OpenSSL support (DIR optional). |
| 1282 |
|
--disable-openssl Disable OpenSSL support. |
| 1283 |
|
--disable-zlib Disable ziplinks support |
| 1284 |
|
--enable-poll Force poll() usage. |
| 1320 |
|
CFLAGS C compiler flags |
| 1321 |
|
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
| 1322 |
|
nonstandard directory <lib dir> |
| 1323 |
< |
CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have |
| 1324 |
< |
headers in a nonstandard directory <include dir> |
| 1323 |
> |
LIBS libraries to pass to the linker, e.g. -l<library> |
| 1324 |
> |
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if |
| 1325 |
> |
you have headers in a nonstandard directory <include dir> |
| 1326 |
|
CPP C preprocessor |
| 1327 |
|
|
| 1328 |
|
Use these variables to override the choices made by `configure' or to help |
| 1329 |
|
it to find libraries and programs with nonstandard names/locations. |
| 1330 |
|
|
| 1331 |
|
_ACEOF |
| 1332 |
+ |
ac_status=$? |
| 1333 |
|
fi |
| 1334 |
|
|
| 1335 |
|
if test "$ac_init_help" = "recursive"; then |
| 1336 |
|
# If there are subdirs, report their specific --help. |
| 901 |
– |
ac_popdir=`pwd` |
| 1337 |
|
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
| 1338 |
< |
test -d $ac_dir || continue |
| 1338 |
> |
test -d "$ac_dir" || continue |
| 1339 |
|
ac_builddir=. |
| 1340 |
|
|
| 1341 |
< |
if test "$ac_dir" != .; then |
| 1341 |
> |
case "$ac_dir" in |
| 1342 |
> |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
| 1343 |
> |
*) |
| 1344 |
|
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
| 1345 |
< |
# A "../" for each directory in $ac_dir_suffix. |
| 1346 |
< |
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
| 1347 |
< |
else |
| 1348 |
< |
ac_dir_suffix= ac_top_builddir= |
| 1349 |
< |
fi |
| 1345 |
> |
# A ".." for each directory in $ac_dir_suffix. |
| 1346 |
> |
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` |
| 1347 |
> |
case $ac_top_builddir_sub in |
| 1348 |
> |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
| 1349 |
> |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
| 1350 |
> |
esac ;; |
| 1351 |
> |
esac |
| 1352 |
> |
ac_abs_top_builddir=$ac_pwd |
| 1353 |
> |
ac_abs_builddir=$ac_pwd$ac_dir_suffix |
| 1354 |
> |
# for backward compatibility: |
| 1355 |
> |
ac_top_builddir=$ac_top_build_prefix |
| 1356 |
|
|
| 1357 |
|
case $srcdir in |
| 1358 |
< |
.) # No --srcdir option. We are building in place. |
| 1358 |
> |
.) # We are building in place. |
| 1359 |
|
ac_srcdir=. |
| 1360 |
< |
if test -z "$ac_top_builddir"; then |
| 1361 |
< |
ac_top_srcdir=. |
| 1362 |
< |
else |
| 920 |
< |
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` |
| 921 |
< |
fi ;; |
| 922 |
< |
[\\/]* | ?:[\\/]* ) # Absolute path. |
| 1360 |
> |
ac_top_srcdir=$ac_top_builddir_sub |
| 1361 |
> |
ac_abs_top_srcdir=$ac_pwd ;; |
| 1362 |
> |
[\\/]* | ?:[\\/]* ) # Absolute name. |
| 1363 |
|
ac_srcdir=$srcdir$ac_dir_suffix; |
| 1364 |
< |
ac_top_srcdir=$srcdir ;; |
| 1365 |
< |
*) # Relative path. |
| 1366 |
< |
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
| 1367 |
< |
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
| 1368 |
< |
esac |
| 1369 |
< |
|
| 930 |
< |
# Do not use `cd foo && pwd` to compute absolute paths, because |
| 931 |
< |
# the directories may not exist. |
| 932 |
< |
case `pwd` in |
| 933 |
< |
.) ac_abs_builddir="$ac_dir";; |
| 934 |
< |
*) |
| 935 |
< |
case "$ac_dir" in |
| 936 |
< |
.) ac_abs_builddir=`pwd`;; |
| 937 |
< |
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; |
| 938 |
< |
*) ac_abs_builddir=`pwd`/"$ac_dir";; |
| 939 |
< |
esac;; |
| 940 |
< |
esac |
| 941 |
< |
case $ac_abs_builddir in |
| 942 |
< |
.) ac_abs_top_builddir=${ac_top_builddir}.;; |
| 943 |
< |
*) |
| 944 |
< |
case ${ac_top_builddir}. in |
| 945 |
< |
.) ac_abs_top_builddir=$ac_abs_builddir;; |
| 946 |
< |
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
| 947 |
< |
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
| 948 |
< |
esac;; |
| 949 |
< |
esac |
| 950 |
< |
case $ac_abs_builddir in |
| 951 |
< |
.) ac_abs_srcdir=$ac_srcdir;; |
| 952 |
< |
*) |
| 953 |
< |
case $ac_srcdir in |
| 954 |
< |
.) ac_abs_srcdir=$ac_abs_builddir;; |
| 955 |
< |
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
| 956 |
< |
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
| 957 |
< |
esac;; |
| 958 |
< |
esac |
| 959 |
< |
case $ac_abs_builddir in |
| 960 |
< |
.) ac_abs_top_srcdir=$ac_top_srcdir;; |
| 961 |
< |
*) |
| 962 |
< |
case $ac_top_srcdir in |
| 963 |
< |
.) ac_abs_top_srcdir=$ac_abs_builddir;; |
| 964 |
< |
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
| 965 |
< |
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
| 966 |
< |
esac;; |
| 1364 |
> |
ac_top_srcdir=$srcdir |
| 1365 |
> |
ac_abs_top_srcdir=$srcdir ;; |
| 1366 |
> |
*) # Relative name. |
| 1367 |
> |
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
| 1368 |
> |
ac_top_srcdir=$ac_top_build_prefix$srcdir |
| 1369 |
> |
ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
| 1370 |
|
esac |
| 1371 |
+ |
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
| 1372 |
|
|
| 1373 |
< |
cd $ac_dir |
| 1374 |
< |
# Check for guested configure; otherwise get Cygnus style configure. |
| 1375 |
< |
if test -f $ac_srcdir/configure.gnu; then |
| 1376 |
< |
echo |
| 1377 |
< |
$SHELL $ac_srcdir/configure.gnu --help=recursive |
| 1378 |
< |
elif test -f $ac_srcdir/configure; then |
| 1379 |
< |
echo |
| 1380 |
< |
$SHELL $ac_srcdir/configure --help=recursive |
| 977 |
< |
elif test -f $ac_srcdir/configure.ac || |
| 978 |
< |
test -f $ac_srcdir/configure.in; then |
| 979 |
< |
echo |
| 980 |
< |
$ac_configure --help |
| 1373 |
> |
cd "$ac_dir" || { ac_status=$?; continue; } |
| 1374 |
> |
# Check for guested configure. |
| 1375 |
> |
if test -f "$ac_srcdir/configure.gnu"; then |
| 1376 |
> |
echo && |
| 1377 |
> |
$SHELL "$ac_srcdir/configure.gnu" --help=recursive |
| 1378 |
> |
elif test -f "$ac_srcdir/configure"; then |
| 1379 |
> |
echo && |
| 1380 |
> |
$SHELL "$ac_srcdir/configure" --help=recursive |
| 1381 |
|
else |
| 1382 |
|
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
| 1383 |
< |
fi |
| 1384 |
< |
cd $ac_popdir |
| 1383 |
> |
fi || ac_status=$? |
| 1384 |
> |
cd "$ac_pwd" || { ac_status=$?; break; } |
| 1385 |
|
done |
| 1386 |
|
fi |
| 1387 |
|
|
| 1388 |
< |
test -n "$ac_init_help" && exit 0 |
| 1388 |
> |
test -n "$ac_init_help" && exit $ac_status |
| 1389 |
|
if $ac_init_version; then |
| 1390 |
|
cat <<\_ACEOF |
| 1391 |
|
ircd-hybrid configure 7.3 |
| 1392 |
< |
generated by GNU Autoconf 2.59 |
| 1392 |
> |
generated by GNU Autoconf 2.61 |
| 1393 |
|
|
| 1394 |
< |
Copyright (C) 2003 Free Software Foundation, Inc. |
| 1394 |
> |
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
| 1395 |
> |
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. |
| 1396 |
|
This configure script is free software; the Free Software Foundation |
| 1397 |
|
gives unlimited permission to copy, distribute and modify it. |
| 1398 |
|
|
| 1399 |
|
$Id$ |
| 1400 |
|
_ACEOF |
| 1401 |
< |
exit 0 |
| 1401 |
> |
exit |
| 1402 |
|
fi |
| 1403 |
< |
exec 5>config.log |
| 1003 |
< |
cat >&5 <<_ACEOF |
| 1403 |
> |
cat >config.log <<_ACEOF |
| 1404 |
|
This file contains any messages produced by compilers while |
| 1405 |
|
running configure, to aid debugging if configure makes a mistake. |
| 1406 |
|
|
| 1407 |
|
It was created by ircd-hybrid $as_me 7.3, which was |
| 1408 |
< |
generated by GNU Autoconf 2.59. Invocation command line was |
| 1408 |
> |
generated by GNU Autoconf 2.61. Invocation command line was |
| 1409 |
|
|
| 1410 |
|
$ $0 $@ |
| 1411 |
|
|
| 1412 |
|
_ACEOF |
| 1413 |
+ |
exec 5>>config.log |
| 1414 |
|
{ |
| 1415 |
|
cat <<_ASUNAME |
| 1416 |
|
## --------- ## |
| 1429 |
|
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
| 1430 |
|
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
| 1431 |
|
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
| 1432 |
< |
hostinfo = `(hostinfo) 2>/dev/null || echo unknown` |
| 1432 |
> |
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` |
| 1433 |
|
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
| 1434 |
|
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
| 1435 |
|
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
| 1443 |
|
test -z "$as_dir" && as_dir=. |
| 1444 |
|
echo "PATH: $as_dir" |
| 1445 |
|
done |
| 1446 |
+ |
IFS=$as_save_IFS |
| 1447 |
|
|
| 1448 |
|
} >&5 |
| 1449 |
|
|
| 1465 |
|
ac_configure_args= |
| 1466 |
|
ac_configure_args0= |
| 1467 |
|
ac_configure_args1= |
| 1066 |
– |
ac_sep= |
| 1468 |
|
ac_must_keep_next=false |
| 1469 |
|
for ac_pass in 1 2 |
| 1470 |
|
do |
| 1475 |
|
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
| 1476 |
|
| -silent | --silent | --silen | --sile | --sil) |
| 1477 |
|
continue ;; |
| 1478 |
< |
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
| 1478 |
> |
*\'*) |
| 1479 |
|
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 1480 |
|
esac |
| 1481 |
|
case $ac_pass in |
| 1497 |
|
-* ) ac_must_keep_next=true ;; |
| 1498 |
|
esac |
| 1499 |
|
fi |
| 1500 |
< |
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" |
| 1100 |
< |
# Get rid of the leading space. |
| 1101 |
< |
ac_sep=" " |
| 1500 |
> |
ac_configure_args="$ac_configure_args '$ac_arg'" |
| 1501 |
|
;; |
| 1502 |
|
esac |
| 1503 |
|
done |
| 1508 |
|
# When interrupted or exit'd, cleanup temporary files, and complete |
| 1509 |
|
# config.log. We remove comments because anyway the quotes in there |
| 1510 |
|
# would cause problems or look ugly. |
| 1511 |
< |
# WARNING: Be sure not to use single quotes in there, as some shells, |
| 1512 |
< |
# such as our DU 5.0 friend, will then `close' the trap. |
| 1511 |
> |
# WARNING: Use '\'' to represent an apostrophe within the trap. |
| 1512 |
> |
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. |
| 1513 |
|
trap 'exit_status=$? |
| 1514 |
|
# Save into config.log some information that might help in debugging. |
| 1515 |
|
{ |
| 1522 |
|
_ASBOX |
| 1523 |
|
echo |
| 1524 |
|
# The following way of writing the cache mishandles newlines in values, |
| 1525 |
< |
{ |
| 1525 |
> |
( |
| 1526 |
> |
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
| 1527 |
> |
eval ac_val=\$$ac_var |
| 1528 |
> |
case $ac_val in #( |
| 1529 |
> |
*${as_nl}*) |
| 1530 |
> |
case $ac_var in #( |
| 1531 |
> |
*_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 |
| 1532 |
> |
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; |
| 1533 |
> |
esac |
| 1534 |
> |
case $ac_var in #( |
| 1535 |
> |
_ | IFS | as_nl) ;; #( |
| 1536 |
> |
*) $as_unset $ac_var ;; |
| 1537 |
> |
esac ;; |
| 1538 |
> |
esac |
| 1539 |
> |
done |
| 1540 |
|
(set) 2>&1 | |
| 1541 |
< |
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in |
| 1542 |
< |
*ac_space=\ *) |
| 1541 |
> |
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
| 1542 |
> |
*${as_nl}ac_space=\ *) |
| 1543 |
|
sed -n \ |
| 1544 |
< |
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g; |
| 1545 |
< |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" |
| 1546 |
< |
;; |
| 1544 |
> |
"s/'\''/'\''\\\\'\'''\''/g; |
| 1545 |
> |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" |
| 1546 |
> |
;; #( |
| 1547 |
|
*) |
| 1548 |
< |
sed -n \ |
| 1136 |
< |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
| 1548 |
> |
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
| 1549 |
|
;; |
| 1550 |
< |
esac; |
| 1551 |
< |
} |
| 1550 |
> |
esac | |
| 1551 |
> |
sort |
| 1552 |
> |
) |
| 1553 |
|
echo |
| 1554 |
|
|
| 1555 |
|
cat <<\_ASBOX |
| 1560 |
|
echo |
| 1561 |
|
for ac_var in $ac_subst_vars |
| 1562 |
|
do |
| 1563 |
< |
eval ac_val=$`echo $ac_var` |
| 1564 |
< |
echo "$ac_var='"'"'$ac_val'"'"'" |
| 1563 |
> |
eval ac_val=\$$ac_var |
| 1564 |
> |
case $ac_val in |
| 1565 |
> |
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
| 1566 |
> |
esac |
| 1567 |
> |
echo "$ac_var='\''$ac_val'\''" |
| 1568 |
|
done | sort |
| 1569 |
|
echo |
| 1570 |
|
|
| 1571 |
|
if test -n "$ac_subst_files"; then |
| 1572 |
|
cat <<\_ASBOX |
| 1573 |
< |
## ------------- ## |
| 1574 |
< |
## Output files. ## |
| 1575 |
< |
## ------------- ## |
| 1573 |
> |
## ------------------- ## |
| 1574 |
> |
## File substitutions. ## |
| 1575 |
> |
## ------------------- ## |
| 1576 |
|
_ASBOX |
| 1577 |
|
echo |
| 1578 |
|
for ac_var in $ac_subst_files |
| 1579 |
|
do |
| 1580 |
< |
eval ac_val=$`echo $ac_var` |
| 1581 |
< |
echo "$ac_var='"'"'$ac_val'"'"'" |
| 1580 |
> |
eval ac_val=\$$ac_var |
| 1581 |
> |
case $ac_val in |
| 1582 |
> |
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
| 1583 |
> |
esac |
| 1584 |
> |
echo "$ac_var='\''$ac_val'\''" |
| 1585 |
|
done | sort |
| 1586 |
|
echo |
| 1587 |
|
fi |
| 1593 |
|
## ----------- ## |
| 1594 |
|
_ASBOX |
| 1595 |
|
echo |
| 1596 |
< |
sed "/^$/d" confdefs.h | sort |
| 1596 |
> |
cat confdefs.h |
| 1597 |
|
echo |
| 1598 |
|
fi |
| 1599 |
|
test "$ac_signal" != 0 && |
| 1600 |
|
echo "$as_me: caught signal $ac_signal" |
| 1601 |
|
echo "$as_me: exit $exit_status" |
| 1602 |
|
} >&5 |
| 1603 |
< |
rm -f core *.core && |
| 1604 |
< |
rm -rf conftest* confdefs* conf$$* $ac_clean_files && |
| 1603 |
> |
rm -f core *.core core.conftest.* && |
| 1604 |
> |
rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
| 1605 |
|
exit $exit_status |
| 1606 |
< |
' 0 |
| 1606 |
> |
' 0 |
| 1607 |
|
for ac_signal in 1 2 13 15; do |
| 1608 |
|
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal |
| 1609 |
|
done |
| 1610 |
|
ac_signal=0 |
| 1611 |
|
|
| 1612 |
|
# confdefs.h avoids OS command line length limits that DEFS can exceed. |
| 1613 |
< |
rm -rf conftest* confdefs.h |
| 1195 |
< |
# AIX cpp loses on an empty file, so make sure it contains at least a newline. |
| 1196 |
< |
echo >confdefs.h |
| 1613 |
> |
rm -f -r conftest* confdefs.h |
| 1614 |
|
|
| 1615 |
|
# Predefined preprocessor variables. |
| 1616 |
|
|
| 1641 |
|
|
| 1642 |
|
# Let the site file select an alternate cache file if it wants to. |
| 1643 |
|
# Prefer explicitly selected file to automatically selected ones. |
| 1644 |
< |
if test -z "$CONFIG_SITE"; then |
| 1645 |
< |
if test "x$prefix" != xNONE; then |
| 1646 |
< |
CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" |
| 1647 |
< |
else |
| 1648 |
< |
CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" |
| 1649 |
< |
fi |
| 1644 |
> |
if test -n "$CONFIG_SITE"; then |
| 1645 |
> |
set x "$CONFIG_SITE" |
| 1646 |
> |
elif test "x$prefix" != xNONE; then |
| 1647 |
> |
set x "$prefix/share/config.site" "$prefix/etc/config.site" |
| 1648 |
> |
else |
| 1649 |
> |
set x "$ac_default_prefix/share/config.site" \ |
| 1650 |
> |
"$ac_default_prefix/etc/config.site" |
| 1651 |
|
fi |
| 1652 |
< |
for ac_site_file in $CONFIG_SITE; do |
| 1652 |
> |
shift |
| 1653 |
> |
for ac_site_file |
| 1654 |
> |
do |
| 1655 |
|
if test -r "$ac_site_file"; then |
| 1656 |
|
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 |
| 1657 |
|
echo "$as_me: loading site script $ac_site_file" >&6;} |
| 1667 |
|
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5 |
| 1668 |
|
echo "$as_me: loading cache $cache_file" >&6;} |
| 1669 |
|
case $cache_file in |
| 1670 |
< |
[\\/]* | ?:[\\/]* ) . $cache_file;; |
| 1671 |
< |
*) . ./$cache_file;; |
| 1670 |
> |
[\\/]* | ?:[\\/]* ) . "$cache_file";; |
| 1671 |
> |
*) . "./$cache_file";; |
| 1672 |
|
esac |
| 1673 |
|
fi |
| 1674 |
|
else |
| 1680 |
|
# Check that the precious variables saved in the cache have kept the same |
| 1681 |
|
# value. |
| 1682 |
|
ac_cache_corrupted=false |
| 1683 |
< |
for ac_var in `(set) 2>&1 | |
| 1264 |
< |
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do |
| 1683 |
> |
for ac_var in $ac_precious_vars; do |
| 1684 |
|
eval ac_old_set=\$ac_cv_env_${ac_var}_set |
| 1685 |
|
eval ac_new_set=\$ac_env_${ac_var}_set |
| 1686 |
< |
eval ac_old_val="\$ac_cv_env_${ac_var}_value" |
| 1687 |
< |
eval ac_new_val="\$ac_env_${ac_var}_value" |
| 1686 |
> |
eval ac_old_val=\$ac_cv_env_${ac_var}_value |
| 1687 |
> |
eval ac_new_val=\$ac_env_${ac_var}_value |
| 1688 |
|
case $ac_old_set,$ac_new_set in |
| 1689 |
|
set,) |
| 1690 |
|
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
| 1709 |
|
# Pass precious variables to config.status. |
| 1710 |
|
if test "$ac_new_set" = set; then |
| 1711 |
|
case $ac_new_val in |
| 1712 |
< |
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
| 1294 |
< |
ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 1712 |
> |
*\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 1713 |
|
*) ac_arg=$ac_var=$ac_new_val ;; |
| 1714 |
|
esac |
| 1715 |
|
case " $ac_configure_args " in |
| 1726 |
|
{ (exit 1); exit 1; }; } |
| 1727 |
|
fi |
| 1728 |
|
|
| 1311 |
– |
ac_ext=c |
| 1312 |
– |
ac_cpp='$CPP $CPPFLAGS' |
| 1313 |
– |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 1314 |
– |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 1315 |
– |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 1316 |
– |
|
| 1729 |
|
|
| 1730 |
|
|
| 1731 |
|
|
| 1750 |
|
|
| 1751 |
|
|
| 1752 |
|
|
| 1753 |
+ |
ac_ext=c |
| 1754 |
+ |
ac_cpp='$CPP $CPPFLAGS' |
| 1755 |
+ |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 1756 |
+ |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 1757 |
+ |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 1758 |
|
|
| 1759 |
|
|
| 1760 |
|
|
| 1761 |
< |
ac_config_headers="$ac_config_headers include/setup.h" |
| 1761 |
> |
ac_config_headers="$ac_config_headers include/setup.h" |
| 1762 |
|
|
| 1763 |
|
|
| 1764 |
|
|
| 1779 |
|
if test -n "$ac_tool_prefix"; then |
| 1780 |
|
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
| 1781 |
|
set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
| 1782 |
< |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 1783 |
< |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 1782 |
> |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 1783 |
> |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 1784 |
|
if test "${ac_cv_prog_CC+set}" = set; then |
| 1785 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 1786 |
|
else |
| 1793 |
|
IFS=$as_save_IFS |
| 1794 |
|
test -z "$as_dir" && as_dir=. |
| 1795 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 1796 |
< |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 1796 |
> |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 1797 |
|
ac_cv_prog_CC="${ac_tool_prefix}gcc" |
| 1798 |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 1799 |
|
break 2 |
| 1800 |
|
fi |
| 1801 |
|
done |
| 1802 |
|
done |
| 1803 |
+ |
IFS=$as_save_IFS |
| 1804 |
|
|
| 1805 |
|
fi |
| 1806 |
|
fi |
| 1807 |
|
CC=$ac_cv_prog_CC |
| 1808 |
|
if test -n "$CC"; then |
| 1809 |
< |
echo "$as_me:$LINENO: result: $CC" >&5 |
| 1810 |
< |
echo "${ECHO_T}$CC" >&6 |
| 1809 |
> |
{ echo "$as_me:$LINENO: result: $CC" >&5 |
| 1810 |
> |
echo "${ECHO_T}$CC" >&6; } |
| 1811 |
|
else |
| 1812 |
< |
echo "$as_me:$LINENO: result: no" >&5 |
| 1813 |
< |
echo "${ECHO_T}no" >&6 |
| 1812 |
> |
{ echo "$as_me:$LINENO: result: no" >&5 |
| 1813 |
> |
echo "${ECHO_T}no" >&6; } |
| 1814 |
|
fi |
| 1815 |
|
|
| 1816 |
+ |
|
| 1817 |
|
fi |
| 1818 |
|
if test -z "$ac_cv_prog_CC"; then |
| 1819 |
|
ac_ct_CC=$CC |
| 1820 |
|
# Extract the first word of "gcc", so it can be a program name with args. |
| 1821 |
|
set dummy gcc; ac_word=$2 |
| 1822 |
< |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 1823 |
< |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 1822 |
> |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 1823 |
> |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 1824 |
|
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
| 1825 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 1826 |
|
else |
| 1833 |
|
IFS=$as_save_IFS |
| 1834 |
|
test -z "$as_dir" && as_dir=. |
| 1835 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 1836 |
< |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 1836 |
> |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 1837 |
|
ac_cv_prog_ac_ct_CC="gcc" |
| 1838 |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 1839 |
|
break 2 |
| 1840 |
|
fi |
| 1841 |
|
done |
| 1842 |
|
done |
| 1843 |
+ |
IFS=$as_save_IFS |
| 1844 |
|
|
| 1845 |
|
fi |
| 1846 |
|
fi |
| 1847 |
|
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
| 1848 |
|
if test -n "$ac_ct_CC"; then |
| 1849 |
< |
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
| 1850 |
< |
echo "${ECHO_T}$ac_ct_CC" >&6 |
| 1849 |
> |
{ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
| 1850 |
> |
echo "${ECHO_T}$ac_ct_CC" >&6; } |
| 1851 |
|
else |
| 1852 |
< |
echo "$as_me:$LINENO: result: no" >&5 |
| 1853 |
< |
echo "${ECHO_T}no" >&6 |
| 1852 |
> |
{ echo "$as_me:$LINENO: result: no" >&5 |
| 1853 |
> |
echo "${ECHO_T}no" >&6; } |
| 1854 |
|
fi |
| 1855 |
|
|
| 1856 |
< |
CC=$ac_ct_CC |
| 1856 |
> |
if test "x$ac_ct_CC" = x; then |
| 1857 |
> |
CC="" |
| 1858 |
> |
else |
| 1859 |
> |
case $cross_compiling:$ac_tool_warned in |
| 1860 |
> |
yes:) |
| 1861 |
> |
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
| 1862 |
> |
whose name does not start with the host triplet. If you think this |
| 1863 |
> |
configuration is useful to you, please write to autoconf@gnu.org." >&5 |
| 1864 |
> |
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
| 1865 |
> |
whose name does not start with the host triplet. If you think this |
| 1866 |
> |
configuration is useful to you, please write to autoconf@gnu.org." >&2;} |
| 1867 |
> |
ac_tool_warned=yes ;; |
| 1868 |
> |
esac |
| 1869 |
> |
CC=$ac_ct_CC |
| 1870 |
> |
fi |
| 1871 |
|
else |
| 1872 |
|
CC="$ac_cv_prog_CC" |
| 1873 |
|
fi |
| 1874 |
|
|
| 1875 |
|
if test -z "$CC"; then |
| 1876 |
< |
if test -n "$ac_tool_prefix"; then |
| 1877 |
< |
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
| 1876 |
> |
if test -n "$ac_tool_prefix"; then |
| 1877 |
> |
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
| 1878 |
|
set dummy ${ac_tool_prefix}cc; ac_word=$2 |
| 1879 |
< |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 1880 |
< |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 1879 |
> |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 1880 |
> |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 1881 |
|
if test "${ac_cv_prog_CC+set}" = set; then |
| 1882 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 1883 |
|
else |
| 1890 |
|
IFS=$as_save_IFS |
| 1891 |
|
test -z "$as_dir" && as_dir=. |
| 1892 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 1893 |
< |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 1893 |
> |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 1894 |
|
ac_cv_prog_CC="${ac_tool_prefix}cc" |
| 1895 |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 1896 |
|
break 2 |
| 1897 |
|
fi |
| 1898 |
|
done |
| 1899 |
|
done |
| 1900 |
+ |
IFS=$as_save_IFS |
| 1901 |
|
|
| 1902 |
|
fi |
| 1903 |
|
fi |
| 1904 |
|
CC=$ac_cv_prog_CC |
| 1905 |
|
if test -n "$CC"; then |
| 1906 |
< |
echo "$as_me:$LINENO: result: $CC" >&5 |
| 1907 |
< |
echo "${ECHO_T}$CC" >&6 |
| 1906 |
> |
{ echo "$as_me:$LINENO: result: $CC" >&5 |
| 1907 |
> |
echo "${ECHO_T}$CC" >&6; } |
| 1908 |
|
else |
| 1909 |
< |
echo "$as_me:$LINENO: result: no" >&5 |
| 1910 |
< |
echo "${ECHO_T}no" >&6 |
| 1909 |
> |
{ echo "$as_me:$LINENO: result: no" >&5 |
| 1910 |
> |
echo "${ECHO_T}no" >&6; } |
| 1911 |
|
fi |
| 1912 |
|
|
| 1478 |
– |
fi |
| 1479 |
– |
if test -z "$ac_cv_prog_CC"; then |
| 1480 |
– |
ac_ct_CC=$CC |
| 1481 |
– |
# Extract the first word of "cc", so it can be a program name with args. |
| 1482 |
– |
set dummy cc; ac_word=$2 |
| 1483 |
– |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 1484 |
– |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 1485 |
– |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
| 1486 |
– |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 1487 |
– |
else |
| 1488 |
– |
if test -n "$ac_ct_CC"; then |
| 1489 |
– |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
| 1490 |
– |
else |
| 1491 |
– |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 1492 |
– |
for as_dir in $PATH |
| 1493 |
– |
do |
| 1494 |
– |
IFS=$as_save_IFS |
| 1495 |
– |
test -z "$as_dir" && as_dir=. |
| 1496 |
– |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 1497 |
– |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 1498 |
– |
ac_cv_prog_ac_ct_CC="cc" |
| 1499 |
– |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 1500 |
– |
break 2 |
| 1501 |
– |
fi |
| 1502 |
– |
done |
| 1503 |
– |
done |
| 1504 |
– |
|
| 1505 |
– |
fi |
| 1506 |
– |
fi |
| 1507 |
– |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
| 1508 |
– |
if test -n "$ac_ct_CC"; then |
| 1509 |
– |
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
| 1510 |
– |
echo "${ECHO_T}$ac_ct_CC" >&6 |
| 1511 |
– |
else |
| 1512 |
– |
echo "$as_me:$LINENO: result: no" >&5 |
| 1513 |
– |
echo "${ECHO_T}no" >&6 |
| 1514 |
– |
fi |
| 1515 |
– |
|
| 1516 |
– |
CC=$ac_ct_CC |
| 1517 |
– |
else |
| 1518 |
– |
CC="$ac_cv_prog_CC" |
| 1519 |
– |
fi |
| 1913 |
|
|
| 1914 |
+ |
fi |
| 1915 |
|
fi |
| 1916 |
|
if test -z "$CC"; then |
| 1917 |
|
# Extract the first word of "cc", so it can be a program name with args. |
| 1918 |
|
set dummy cc; ac_word=$2 |
| 1919 |
< |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 1920 |
< |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 1919 |
> |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 1920 |
> |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 1921 |
|
if test "${ac_cv_prog_CC+set}" = set; then |
| 1922 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 1923 |
|
else |
| 1931 |
|
IFS=$as_save_IFS |
| 1932 |
|
test -z "$as_dir" && as_dir=. |
| 1933 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 1934 |
< |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 1934 |
> |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 1935 |
|
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
| 1936 |
|
ac_prog_rejected=yes |
| 1937 |
|
continue |
| 1942 |
|
fi |
| 1943 |
|
done |
| 1944 |
|
done |
| 1945 |
+ |
IFS=$as_save_IFS |
| 1946 |
|
|
| 1947 |
|
if test $ac_prog_rejected = yes; then |
| 1948 |
|
# We found a bogon in the path, so make sure we never use it. |
| 1960 |
|
fi |
| 1961 |
|
CC=$ac_cv_prog_CC |
| 1962 |
|
if test -n "$CC"; then |
| 1963 |
< |
echo "$as_me:$LINENO: result: $CC" >&5 |
| 1964 |
< |
echo "${ECHO_T}$CC" >&6 |
| 1963 |
> |
{ echo "$as_me:$LINENO: result: $CC" >&5 |
| 1964 |
> |
echo "${ECHO_T}$CC" >&6; } |
| 1965 |
|
else |
| 1966 |
< |
echo "$as_me:$LINENO: result: no" >&5 |
| 1967 |
< |
echo "${ECHO_T}no" >&6 |
| 1966 |
> |
{ echo "$as_me:$LINENO: result: no" >&5 |
| 1967 |
> |
echo "${ECHO_T}no" >&6; } |
| 1968 |
|
fi |
| 1969 |
|
|
| 1970 |
+ |
|
| 1971 |
|
fi |
| 1972 |
|
if test -z "$CC"; then |
| 1973 |
|
if test -n "$ac_tool_prefix"; then |
| 1974 |
< |
for ac_prog in cl |
| 1974 |
> |
for ac_prog in cl.exe |
| 1975 |
|
do |
| 1976 |
|
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
| 1977 |
|
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| 1978 |
< |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 1979 |
< |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 1978 |
> |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 1979 |
> |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 1980 |
|
if test "${ac_cv_prog_CC+set}" = set; then |
| 1981 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 1982 |
|
else |
| 1989 |
|
IFS=$as_save_IFS |
| 1990 |
|
test -z "$as_dir" && as_dir=. |
| 1991 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 1992 |
< |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 1992 |
> |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 1993 |
|
ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
| 1994 |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 1995 |
|
break 2 |
| 1996 |
|
fi |
| 1997 |
|
done |
| 1998 |
|
done |
| 1999 |
+ |
IFS=$as_save_IFS |
| 2000 |
|
|
| 2001 |
|
fi |
| 2002 |
|
fi |
| 2003 |
|
CC=$ac_cv_prog_CC |
| 2004 |
|
if test -n "$CC"; then |
| 2005 |
< |
echo "$as_me:$LINENO: result: $CC" >&5 |
| 2006 |
< |
echo "${ECHO_T}$CC" >&6 |
| 2005 |
> |
{ echo "$as_me:$LINENO: result: $CC" >&5 |
| 2006 |
> |
echo "${ECHO_T}$CC" >&6; } |
| 2007 |
|
else |
| 2008 |
< |
echo "$as_me:$LINENO: result: no" >&5 |
| 2009 |
< |
echo "${ECHO_T}no" >&6 |
| 2008 |
> |
{ echo "$as_me:$LINENO: result: no" >&5 |
| 2009 |
> |
echo "${ECHO_T}no" >&6; } |
| 2010 |
|
fi |
| 2011 |
|
|
| 2012 |
+ |
|
| 2013 |
|
test -n "$CC" && break |
| 2014 |
|
done |
| 2015 |
|
fi |
| 2016 |
|
if test -z "$CC"; then |
| 2017 |
|
ac_ct_CC=$CC |
| 2018 |
< |
for ac_prog in cl |
| 2018 |
> |
for ac_prog in cl.exe |
| 2019 |
|
do |
| 2020 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
| 2021 |
|
set dummy $ac_prog; ac_word=$2 |
| 2022 |
< |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 2023 |
< |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 2022 |
> |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 2023 |
> |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 2024 |
|
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
| 2025 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2026 |
|
else |
| 2033 |
|
IFS=$as_save_IFS |
| 2034 |
|
test -z "$as_dir" && as_dir=. |
| 2035 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 2036 |
< |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 2036 |
> |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 2037 |
|
ac_cv_prog_ac_ct_CC="$ac_prog" |
| 2038 |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2039 |
|
break 2 |
| 2040 |
|
fi |
| 2041 |
|
done |
| 2042 |
|
done |
| 2043 |
+ |
IFS=$as_save_IFS |
| 2044 |
|
|
| 2045 |
|
fi |
| 2046 |
|
fi |
| 2047 |
|
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
| 2048 |
|
if test -n "$ac_ct_CC"; then |
| 2049 |
< |
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
| 2050 |
< |
echo "${ECHO_T}$ac_ct_CC" >&6 |
| 2049 |
> |
{ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
| 2050 |
> |
echo "${ECHO_T}$ac_ct_CC" >&6; } |
| 2051 |
|
else |
| 2052 |
< |
echo "$as_me:$LINENO: result: no" >&5 |
| 2053 |
< |
echo "${ECHO_T}no" >&6 |
| 2052 |
> |
{ echo "$as_me:$LINENO: result: no" >&5 |
| 2053 |
> |
echo "${ECHO_T}no" >&6; } |
| 2054 |
|
fi |
| 2055 |
|
|
| 2056 |
+ |
|
| 2057 |
|
test -n "$ac_ct_CC" && break |
| 2058 |
|
done |
| 2059 |
|
|
| 2060 |
< |
CC=$ac_ct_CC |
| 2060 |
> |
if test "x$ac_ct_CC" = x; then |
| 2061 |
> |
CC="" |
| 2062 |
> |
else |
| 2063 |
> |
case $cross_compiling:$ac_tool_warned in |
| 2064 |
> |
yes:) |
| 2065 |
> |
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
| 2066 |
> |
whose name does not start with the host triplet. If you think this |
| 2067 |
> |
configuration is useful to you, please write to autoconf@gnu.org." >&5 |
| 2068 |
> |
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
| 2069 |
> |
whose name does not start with the host triplet. If you think this |
| 2070 |
> |
configuration is useful to you, please write to autoconf@gnu.org." >&2;} |
| 2071 |
> |
ac_tool_warned=yes ;; |
| 2072 |
> |
esac |
| 2073 |
> |
CC=$ac_ct_CC |
| 2074 |
> |
fi |
| 2075 |
|
fi |
| 2076 |
|
|
| 2077 |
|
fi |
| 2084 |
|
{ (exit 1); exit 1; }; } |
| 2085 |
|
|
| 2086 |
|
# Provide some information about the compiler. |
| 2087 |
< |
echo "$as_me:$LINENO:" \ |
| 1674 |
< |
"checking for C compiler version" >&5 |
| 2087 |
> |
echo "$as_me:$LINENO: checking for C compiler version" >&5 |
| 2088 |
|
ac_compiler=`set X $ac_compile; echo $2` |
| 2089 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
| 2090 |
< |
(eval $ac_compiler --version </dev/null >&5) 2>&5 |
| 2089 |
> |
{ (ac_try="$ac_compiler --version >&5" |
| 2090 |
> |
case "(($ac_try" in |
| 2091 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 2092 |
> |
*) ac_try_echo=$ac_try;; |
| 2093 |
> |
esac |
| 2094 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 2095 |
> |
(eval "$ac_compiler --version >&5") 2>&5 |
| 2096 |
|
ac_status=$? |
| 2097 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2098 |
|
(exit $ac_status); } |
| 2099 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 |
| 2100 |
< |
(eval $ac_compiler -v </dev/null >&5) 2>&5 |
| 2099 |
> |
{ (ac_try="$ac_compiler -v >&5" |
| 2100 |
> |
case "(($ac_try" in |
| 2101 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 2102 |
> |
*) ac_try_echo=$ac_try;; |
| 2103 |
> |
esac |
| 2104 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 2105 |
> |
(eval "$ac_compiler -v >&5") 2>&5 |
| 2106 |
|
ac_status=$? |
| 2107 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2108 |
|
(exit $ac_status); } |
| 2109 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 |
| 2110 |
< |
(eval $ac_compiler -V </dev/null >&5) 2>&5 |
| 2109 |
> |
{ (ac_try="$ac_compiler -V >&5" |
| 2110 |
> |
case "(($ac_try" in |
| 2111 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 2112 |
> |
*) ac_try_echo=$ac_try;; |
| 2113 |
> |
esac |
| 2114 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 2115 |
> |
(eval "$ac_compiler -V >&5") 2>&5 |
| 2116 |
|
ac_status=$? |
| 2117 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2118 |
|
(exit $ac_status); } |
| 2137 |
|
# Try to create an executable without -o first, disregard a.out. |
| 2138 |
|
# It will help us diagnose broken compilers, and finding out an intuition |
| 2139 |
|
# of exeext. |
| 2140 |
< |
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 |
| 2141 |
< |
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 |
| 2140 |
> |
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 |
| 2141 |
> |
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } |
| 2142 |
|
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
| 2143 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 |
| 2144 |
< |
(eval $ac_link_default) 2>&5 |
| 2143 |
> |
# |
| 2144 |
> |
# List of possible output files, starting from the most likely. |
| 2145 |
> |
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*) |
| 2146 |
> |
# only as a last resort. b.out is created by i960 compilers. |
| 2147 |
> |
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' |
| 2148 |
> |
# |
| 2149 |
> |
# The IRIX 6 linker writes into existing files which may not be |
| 2150 |
> |
# executable, retaining their permissions. Remove them first so a |
| 2151 |
> |
# subsequent execution test works. |
| 2152 |
> |
ac_rmfiles= |
| 2153 |
> |
for ac_file in $ac_files |
| 2154 |
> |
do |
| 2155 |
> |
case $ac_file in |
| 2156 |
> |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; |
| 2157 |
> |
* ) ac_rmfiles="$ac_rmfiles $ac_file";; |
| 2158 |
> |
esac |
| 2159 |
> |
done |
| 2160 |
> |
rm -f $ac_rmfiles |
| 2161 |
> |
|
| 2162 |
> |
if { (ac_try="$ac_link_default" |
| 2163 |
> |
case "(($ac_try" in |
| 2164 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 2165 |
> |
*) ac_try_echo=$ac_try;; |
| 2166 |
> |
esac |
| 2167 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 2168 |
> |
(eval "$ac_link_default") 2>&5 |
| 2169 |
|
ac_status=$? |
| 2170 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2171 |
|
(exit $ac_status); }; then |
| 2172 |
< |
# Find the output, starting from the most likely. This scheme is |
| 2173 |
< |
# not robust to junk in `.', hence go to wildcards (a.*) only as a last |
| 2174 |
< |
# resort. |
| 2175 |
< |
|
| 2176 |
< |
# Be careful to initialize this variable, since it used to be cached. |
| 2177 |
< |
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. |
| 1726 |
< |
ac_cv_exeext= |
| 1727 |
< |
# b.out is created by i960 compilers. |
| 1728 |
< |
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out |
| 2172 |
> |
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
| 2173 |
> |
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
| 2174 |
> |
# in a Makefile. We should not override ac_cv_exeext if it was cached, |
| 2175 |
> |
# so that the user can short-circuit this test for compilers unknown to |
| 2176 |
> |
# Autoconf. |
| 2177 |
> |
for ac_file in $ac_files '' |
| 2178 |
|
do |
| 2179 |
|
test -f "$ac_file" || continue |
| 2180 |
|
case $ac_file in |
| 2181 |
< |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) |
| 1733 |
< |
;; |
| 1734 |
< |
conftest.$ac_ext ) |
| 1735 |
< |
# This is the source file. |
| 2181 |
> |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) |
| 2182 |
|
;; |
| 2183 |
|
[ab].out ) |
| 2184 |
|
# We found the default executable, but exeext='' is most |
| 2185 |
|
# certainly right. |
| 2186 |
|
break;; |
| 2187 |
|
*.* ) |
| 2188 |
< |
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
| 2189 |
< |
# FIXME: I believe we export ac_cv_exeext for Libtool, |
| 2190 |
< |
# but it would be cool to find out if it's true. Does anybody |
| 2191 |
< |
# maintain Libtool? --akim. |
| 2192 |
< |
export ac_cv_exeext |
| 2188 |
> |
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
| 2189 |
> |
then :; else |
| 2190 |
> |
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
| 2191 |
> |
fi |
| 2192 |
> |
# We set ac_cv_exeext here because the later test for it is not |
| 2193 |
> |
# safe: cross compilers may not add the suffix if given an `-o' |
| 2194 |
> |
# argument, so we may need to know it at that point already. |
| 2195 |
> |
# Even if this section looks crufty: it has the advantage of |
| 2196 |
> |
# actually working. |
| 2197 |
|
break;; |
| 2198 |
|
* ) |
| 2199 |
|
break;; |
| 2200 |
|
esac |
| 2201 |
|
done |
| 2202 |
+ |
test "$ac_cv_exeext" = no && ac_cv_exeext= |
| 2203 |
+ |
|
| 2204 |
|
else |
| 2205 |
+ |
ac_file='' |
| 2206 |
+ |
fi |
| 2207 |
+ |
|
| 2208 |
+ |
{ echo "$as_me:$LINENO: result: $ac_file" >&5 |
| 2209 |
+ |
echo "${ECHO_T}$ac_file" >&6; } |
| 2210 |
+ |
if test -z "$ac_file"; then |
| 2211 |
|
echo "$as_me: failed program was:" >&5 |
| 2212 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 2213 |
|
|
| 2219 |
|
fi |
| 2220 |
|
|
| 2221 |
|
ac_exeext=$ac_cv_exeext |
| 1764 |
– |
echo "$as_me:$LINENO: result: $ac_file" >&5 |
| 1765 |
– |
echo "${ECHO_T}$ac_file" >&6 |
| 2222 |
|
|
| 2223 |
< |
# Check the compiler produces executables we can run. If not, either |
| 2223 |
> |
# Check that the compiler produces executables we can run. If not, either |
| 2224 |
|
# the compiler is broken, or we cross compile. |
| 2225 |
< |
echo "$as_me:$LINENO: checking whether the C compiler works" >&5 |
| 2226 |
< |
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 |
| 2225 |
> |
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5 |
| 2226 |
> |
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } |
| 2227 |
|
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 |
| 2228 |
|
# If not cross compiling, check that we can run a simple program. |
| 2229 |
|
if test "$cross_compiling" != yes; then |
| 2230 |
|
if { ac_try='./$ac_file' |
| 2231 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2232 |
< |
(eval $ac_try) 2>&5 |
| 2231 |
> |
{ (case "(($ac_try" in |
| 2232 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 2233 |
> |
*) ac_try_echo=$ac_try;; |
| 2234 |
> |
esac |
| 2235 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 2236 |
> |
(eval "$ac_try") 2>&5 |
| 2237 |
|
ac_status=$? |
| 2238 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2239 |
|
(exit $ac_status); }; }; then |
| 2252 |
|
fi |
| 2253 |
|
fi |
| 2254 |
|
fi |
| 2255 |
< |
echo "$as_me:$LINENO: result: yes" >&5 |
| 2256 |
< |
echo "${ECHO_T}yes" >&6 |
| 2255 |
> |
{ echo "$as_me:$LINENO: result: yes" >&5 |
| 2256 |
> |
echo "${ECHO_T}yes" >&6; } |
| 2257 |
|
|
| 2258 |
|
rm -f a.out a.exe conftest$ac_cv_exeext b.out |
| 2259 |
|
ac_clean_files=$ac_clean_files_save |
| 2260 |
< |
# Check the compiler produces executables we can run. If not, either |
| 2260 |
> |
# Check that the compiler produces executables we can run. If not, either |
| 2261 |
|
# the compiler is broken, or we cross compile. |
| 2262 |
< |
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 |
| 2263 |
< |
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 |
| 2264 |
< |
echo "$as_me:$LINENO: result: $cross_compiling" >&5 |
| 2265 |
< |
echo "${ECHO_T}$cross_compiling" >&6 |
| 2266 |
< |
|
| 2267 |
< |
echo "$as_me:$LINENO: checking for suffix of executables" >&5 |
| 2268 |
< |
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 |
| 2269 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 2270 |
< |
(eval $ac_link) 2>&5 |
| 2262 |
> |
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 |
| 2263 |
> |
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } |
| 2264 |
> |
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5 |
| 2265 |
> |
echo "${ECHO_T}$cross_compiling" >&6; } |
| 2266 |
> |
|
| 2267 |
> |
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5 |
| 2268 |
> |
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } |
| 2269 |
> |
if { (ac_try="$ac_link" |
| 2270 |
> |
case "(($ac_try" in |
| 2271 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 2272 |
> |
*) ac_try_echo=$ac_try;; |
| 2273 |
> |
esac |
| 2274 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 2275 |
> |
(eval "$ac_link") 2>&5 |
| 2276 |
|
ac_status=$? |
| 2277 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2278 |
|
(exit $ac_status); }; then |
| 2283 |
|
for ac_file in conftest.exe conftest conftest.*; do |
| 2284 |
|
test -f "$ac_file" || continue |
| 2285 |
|
case $ac_file in |
| 2286 |
< |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; |
| 2286 |
> |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; |
| 2287 |
|
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
| 1823 |
– |
export ac_cv_exeext |
| 2288 |
|
break;; |
| 2289 |
|
* ) break;; |
| 2290 |
|
esac |
| 2298 |
|
fi |
| 2299 |
|
|
| 2300 |
|
rm -f conftest$ac_cv_exeext |
| 2301 |
< |
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 |
| 2302 |
< |
echo "${ECHO_T}$ac_cv_exeext" >&6 |
| 2301 |
> |
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 |
| 2302 |
> |
echo "${ECHO_T}$ac_cv_exeext" >&6; } |
| 2303 |
|
|
| 2304 |
|
rm -f conftest.$ac_ext |
| 2305 |
|
EXEEXT=$ac_cv_exeext |
| 2306 |
|
ac_exeext=$EXEEXT |
| 2307 |
< |
echo "$as_me:$LINENO: checking for suffix of object files" >&5 |
| 2308 |
< |
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 |
| 2307 |
> |
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5 |
| 2308 |
> |
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } |
| 2309 |
|
if test "${ac_cv_objext+set}" = set; then |
| 2310 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2311 |
|
else |
| 2325 |
|
} |
| 2326 |
|
_ACEOF |
| 2327 |
|
rm -f conftest.o conftest.obj |
| 2328 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 2329 |
< |
(eval $ac_compile) 2>&5 |
| 2328 |
> |
if { (ac_try="$ac_compile" |
| 2329 |
> |
case "(($ac_try" in |
| 2330 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 2331 |
> |
*) ac_try_echo=$ac_try;; |
| 2332 |
> |
esac |
| 2333 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 2334 |
> |
(eval "$ac_compile") 2>&5 |
| 2335 |
|
ac_status=$? |
| 2336 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2337 |
|
(exit $ac_status); }; then |
| 2338 |
< |
for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do |
| 2338 |
> |
for ac_file in conftest.o conftest.obj conftest.*; do |
| 2339 |
> |
test -f "$ac_file" || continue; |
| 2340 |
|
case $ac_file in |
| 2341 |
< |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; |
| 2341 |
> |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; |
| 2342 |
|
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
| 2343 |
|
break;; |
| 2344 |
|
esac |
| 2356 |
|
|
| 2357 |
|
rm -f conftest.$ac_cv_objext conftest.$ac_ext |
| 2358 |
|
fi |
| 2359 |
< |
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
| 2360 |
< |
echo "${ECHO_T}$ac_cv_objext" >&6 |
| 2359 |
> |
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
| 2360 |
> |
echo "${ECHO_T}$ac_cv_objext" >&6; } |
| 2361 |
|
OBJEXT=$ac_cv_objext |
| 2362 |
|
ac_objext=$OBJEXT |
| 2363 |
< |
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
| 2364 |
< |
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 |
| 2363 |
> |
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
| 2364 |
> |
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } |
| 2365 |
|
if test "${ac_cv_c_compiler_gnu+set}" = set; then |
| 2366 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2367 |
|
else |
| 2384 |
|
} |
| 2385 |
|
_ACEOF |
| 2386 |
|
rm -f conftest.$ac_objext |
| 2387 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 2388 |
< |
(eval $ac_compile) 2>conftest.er1 |
| 2387 |
> |
if { (ac_try="$ac_compile" |
| 2388 |
> |
case "(($ac_try" in |
| 2389 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 2390 |
> |
*) ac_try_echo=$ac_try;; |
| 2391 |
> |
esac |
| 2392 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 2393 |
> |
(eval "$ac_compile") 2>conftest.er1 |
| 2394 |
|
ac_status=$? |
| 2395 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 2396 |
|
rm -f conftest.er1 |
| 2397 |
|
cat conftest.err >&5 |
| 2398 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2399 |
< |
(exit $ac_status); } && |
| 2400 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
| 2401 |
< |
|| test ! -s conftest.err' |
| 2402 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 1928 |
< |
(eval $ac_try) 2>&5 |
| 1929 |
< |
ac_status=$? |
| 1930 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 1931 |
< |
(exit $ac_status); }; } && |
| 1932 |
< |
{ ac_try='test -s conftest.$ac_objext' |
| 1933 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 1934 |
< |
(eval $ac_try) 2>&5 |
| 1935 |
< |
ac_status=$? |
| 1936 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 1937 |
< |
(exit $ac_status); }; }; then |
| 2399 |
> |
(exit $ac_status); } && { |
| 2400 |
> |
test -z "$ac_c_werror_flag" || |
| 2401 |
> |
test ! -s conftest.err |
| 2402 |
> |
} && test -s conftest.$ac_objext; then |
| 2403 |
|
ac_compiler_gnu=yes |
| 2404 |
|
else |
| 2405 |
|
echo "$as_me: failed program was:" >&5 |
| 2406 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 2407 |
|
|
| 2408 |
< |
ac_compiler_gnu=no |
| 2408 |
> |
ac_compiler_gnu=no |
| 2409 |
|
fi |
| 2410 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2410 |
> |
|
| 2411 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2412 |
|
ac_cv_c_compiler_gnu=$ac_compiler_gnu |
| 2413 |
|
|
| 2414 |
|
fi |
| 2415 |
< |
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
| 2416 |
< |
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 |
| 2415 |
> |
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
| 2416 |
> |
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } |
| 2417 |
|
GCC=`test $ac_compiler_gnu = yes && echo yes` |
| 2418 |
|
ac_test_CFLAGS=${CFLAGS+set} |
| 2419 |
|
ac_save_CFLAGS=$CFLAGS |
| 2420 |
< |
CFLAGS="-g" |
| 2421 |
< |
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
| 1956 |
< |
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 |
| 2420 |
> |
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
| 2421 |
> |
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } |
| 2422 |
|
if test "${ac_cv_prog_cc_g+set}" = set; then |
| 2423 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2424 |
|
else |
| 2425 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 2425 |
> |
ac_save_c_werror_flag=$ac_c_werror_flag |
| 2426 |
> |
ac_c_werror_flag=yes |
| 2427 |
> |
ac_cv_prog_cc_g=no |
| 2428 |
> |
CFLAGS="-g" |
| 2429 |
> |
cat >conftest.$ac_ext <<_ACEOF |
| 2430 |
|
/* confdefs.h. */ |
| 2431 |
|
_ACEOF |
| 2432 |
|
cat confdefs.h >>conftest.$ac_ext |
| 2442 |
|
} |
| 2443 |
|
_ACEOF |
| 2444 |
|
rm -f conftest.$ac_objext |
| 2445 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 2446 |
< |
(eval $ac_compile) 2>conftest.er1 |
| 2445 |
> |
if { (ac_try="$ac_compile" |
| 2446 |
> |
case "(($ac_try" in |
| 2447 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 2448 |
> |
*) ac_try_echo=$ac_try;; |
| 2449 |
> |
esac |
| 2450 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 2451 |
> |
(eval "$ac_compile") 2>conftest.er1 |
| 2452 |
|
ac_status=$? |
| 2453 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 2454 |
|
rm -f conftest.er1 |
| 2455 |
|
cat conftest.err >&5 |
| 2456 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2457 |
< |
(exit $ac_status); } && |
| 2458 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
| 2459 |
< |
|| test ! -s conftest.err' |
| 2460 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2461 |
< |
(eval $ac_try) 2>&5 |
| 2457 |
> |
(exit $ac_status); } && { |
| 2458 |
> |
test -z "$ac_c_werror_flag" || |
| 2459 |
> |
test ! -s conftest.err |
| 2460 |
> |
} && test -s conftest.$ac_objext; then |
| 2461 |
> |
ac_cv_prog_cc_g=yes |
| 2462 |
> |
else |
| 2463 |
> |
echo "$as_me: failed program was:" >&5 |
| 2464 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 2465 |
> |
|
| 2466 |
> |
CFLAGS="" |
| 2467 |
> |
cat >conftest.$ac_ext <<_ACEOF |
| 2468 |
> |
/* confdefs.h. */ |
| 2469 |
> |
_ACEOF |
| 2470 |
> |
cat confdefs.h >>conftest.$ac_ext |
| 2471 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
| 2472 |
> |
/* end confdefs.h. */ |
| 2473 |
> |
|
| 2474 |
> |
int |
| 2475 |
> |
main () |
| 2476 |
> |
{ |
| 2477 |
> |
|
| 2478 |
> |
; |
| 2479 |
> |
return 0; |
| 2480 |
> |
} |
| 2481 |
> |
_ACEOF |
| 2482 |
> |
rm -f conftest.$ac_objext |
| 2483 |
> |
if { (ac_try="$ac_compile" |
| 2484 |
> |
case "(($ac_try" in |
| 2485 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 2486 |
> |
*) ac_try_echo=$ac_try;; |
| 2487 |
> |
esac |
| 2488 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 2489 |
> |
(eval "$ac_compile") 2>conftest.er1 |
| 2490 |
|
ac_status=$? |
| 2491 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 2492 |
+ |
rm -f conftest.er1 |
| 2493 |
+ |
cat conftest.err >&5 |
| 2494 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2495 |
< |
(exit $ac_status); }; } && |
| 2496 |
< |
{ ac_try='test -s conftest.$ac_objext' |
| 2497 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2498 |
< |
(eval $ac_try) 2>&5 |
| 2495 |
> |
(exit $ac_status); } && { |
| 2496 |
> |
test -z "$ac_c_werror_flag" || |
| 2497 |
> |
test ! -s conftest.err |
| 2498 |
> |
} && test -s conftest.$ac_objext; then |
| 2499 |
> |
: |
| 2500 |
> |
else |
| 2501 |
> |
echo "$as_me: failed program was:" >&5 |
| 2502 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 2503 |
> |
|
| 2504 |
> |
ac_c_werror_flag=$ac_save_c_werror_flag |
| 2505 |
> |
CFLAGS="-g" |
| 2506 |
> |
cat >conftest.$ac_ext <<_ACEOF |
| 2507 |
> |
/* confdefs.h. */ |
| 2508 |
> |
_ACEOF |
| 2509 |
> |
cat confdefs.h >>conftest.$ac_ext |
| 2510 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
| 2511 |
> |
/* end confdefs.h. */ |
| 2512 |
> |
|
| 2513 |
> |
int |
| 2514 |
> |
main () |
| 2515 |
> |
{ |
| 2516 |
> |
|
| 2517 |
> |
; |
| 2518 |
> |
return 0; |
| 2519 |
> |
} |
| 2520 |
> |
_ACEOF |
| 2521 |
> |
rm -f conftest.$ac_objext |
| 2522 |
> |
if { (ac_try="$ac_compile" |
| 2523 |
> |
case "(($ac_try" in |
| 2524 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 2525 |
> |
*) ac_try_echo=$ac_try;; |
| 2526 |
> |
esac |
| 2527 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 2528 |
> |
(eval "$ac_compile") 2>conftest.er1 |
| 2529 |
|
ac_status=$? |
| 2530 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 2531 |
+ |
rm -f conftest.er1 |
| 2532 |
+ |
cat conftest.err >&5 |
| 2533 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2534 |
< |
(exit $ac_status); }; }; then |
| 2534 |
> |
(exit $ac_status); } && { |
| 2535 |
> |
test -z "$ac_c_werror_flag" || |
| 2536 |
> |
test ! -s conftest.err |
| 2537 |
> |
} && test -s conftest.$ac_objext; then |
| 2538 |
|
ac_cv_prog_cc_g=yes |
| 2539 |
|
else |
| 2540 |
|
echo "$as_me: failed program was:" >&5 |
| 2541 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 2542 |
|
|
| 2543 |
< |
ac_cv_prog_cc_g=no |
| 2543 |
> |
|
| 2544 |
> |
fi |
| 2545 |
> |
|
| 2546 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2547 |
> |
fi |
| 2548 |
> |
|
| 2549 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2550 |
|
fi |
| 2551 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2551 |
> |
|
| 2552 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2553 |
> |
ac_c_werror_flag=$ac_save_c_werror_flag |
| 2554 |
|
fi |
| 2555 |
< |
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
| 2556 |
< |
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 |
| 2555 |
> |
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
| 2556 |
> |
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } |
| 2557 |
|
if test "$ac_test_CFLAGS" = set; then |
| 2558 |
|
CFLAGS=$ac_save_CFLAGS |
| 2559 |
|
elif test $ac_cv_prog_cc_g = yes; then |
| 2569 |
|
CFLAGS= |
| 2570 |
|
fi |
| 2571 |
|
fi |
| 2572 |
< |
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 |
| 2573 |
< |
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 |
| 2574 |
< |
if test "${ac_cv_prog_cc_stdc+set}" = set; then |
| 2572 |
> |
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 |
| 2573 |
> |
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } |
| 2574 |
> |
if test "${ac_cv_prog_cc_c89+set}" = set; then |
| 2575 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2576 |
|
else |
| 2577 |
< |
ac_cv_prog_cc_stdc=no |
| 2577 |
> |
ac_cv_prog_cc_c89=no |
| 2578 |
|
ac_save_CC=$CC |
| 2579 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 2580 |
|
/* confdefs.h. */ |
| 2608 |
|
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
| 2609 |
|
function prototypes and stuff, but not '\xHH' hex character constants. |
| 2610 |
|
These don't provoke an error unfortunately, instead are silently treated |
| 2611 |
< |
as 'x'. The following induces an error, until -std1 is added to get |
| 2611 |
> |
as 'x'. The following induces an error, until -std is added to get |
| 2612 |
|
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
| 2613 |
|
array size at least. It's necessary to write '\x00'==0 to get something |
| 2614 |
< |
that's true only with -std1. */ |
| 2614 |
> |
that's true only with -std. */ |
| 2615 |
|
int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
| 2616 |
|
|
| 2617 |
+ |
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters |
| 2618 |
+ |
inside strings and character constants. */ |
| 2619 |
+ |
#define FOO(x) 'x' |
| 2620 |
+ |
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; |
| 2621 |
+ |
|
| 2622 |
|
int test (int i, double x); |
| 2623 |
|
struct s1 {int (*f) (int a);}; |
| 2624 |
|
struct s2 {int (*f) (double a);}; |
| 2633 |
|
return 0; |
| 2634 |
|
} |
| 2635 |
|
_ACEOF |
| 2636 |
< |
# Don't try gcc -ansi; that turns off useful extensions and |
| 2637 |
< |
# breaks some systems' header files. |
| 2084 |
< |
# AIX -qlanglvl=ansi |
| 2085 |
< |
# Ultrix and OSF/1 -std1 |
| 2086 |
< |
# HP-UX 10.20 and later -Ae |
| 2087 |
< |
# HP-UX older versions -Aa -D_HPUX_SOURCE |
| 2088 |
< |
# SVR4 -Xc -D__EXTENSIONS__ |
| 2089 |
< |
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
| 2636 |
> |
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
| 2637 |
> |
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
| 2638 |
|
do |
| 2639 |
|
CC="$ac_save_CC $ac_arg" |
| 2640 |
|
rm -f conftest.$ac_objext |
| 2641 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 2642 |
< |
(eval $ac_compile) 2>conftest.er1 |
| 2641 |
> |
if { (ac_try="$ac_compile" |
| 2642 |
> |
case "(($ac_try" in |
| 2643 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 2644 |
> |
*) ac_try_echo=$ac_try;; |
| 2645 |
> |
esac |
| 2646 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 2647 |
> |
(eval "$ac_compile") 2>conftest.er1 |
| 2648 |
|
ac_status=$? |
| 2649 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 2650 |
|
rm -f conftest.er1 |
| 2651 |
|
cat conftest.err >&5 |
| 2652 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2653 |
< |
(exit $ac_status); } && |
| 2654 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
| 2655 |
< |
|| test ! -s conftest.err' |
| 2656 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2657 |
< |
(eval $ac_try) 2>&5 |
| 2105 |
< |
ac_status=$? |
| 2106 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2107 |
< |
(exit $ac_status); }; } && |
| 2108 |
< |
{ ac_try='test -s conftest.$ac_objext' |
| 2109 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2110 |
< |
(eval $ac_try) 2>&5 |
| 2111 |
< |
ac_status=$? |
| 2112 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2113 |
< |
(exit $ac_status); }; }; then |
| 2114 |
< |
ac_cv_prog_cc_stdc=$ac_arg |
| 2115 |
< |
break |
| 2653 |
> |
(exit $ac_status); } && { |
| 2654 |
> |
test -z "$ac_c_werror_flag" || |
| 2655 |
> |
test ! -s conftest.err |
| 2656 |
> |
} && test -s conftest.$ac_objext; then |
| 2657 |
> |
ac_cv_prog_cc_c89=$ac_arg |
| 2658 |
|
else |
| 2659 |
|
echo "$as_me: failed program was:" >&5 |
| 2660 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 2661 |
|
|
| 2662 |
+ |
|
| 2663 |
|
fi |
| 2664 |
< |
rm -f conftest.err conftest.$ac_objext |
| 2664 |
> |
|
| 2665 |
> |
rm -f core conftest.err conftest.$ac_objext |
| 2666 |
> |
test "x$ac_cv_prog_cc_c89" != "xno" && break |
| 2667 |
|
done |
| 2668 |
< |
rm -f conftest.$ac_ext conftest.$ac_objext |
| 2668 |
> |
rm -f conftest.$ac_ext |
| 2669 |
|
CC=$ac_save_CC |
| 2670 |
|
|
| 2671 |
|
fi |
| 2672 |
< |
|
| 2673 |
< |
case "x$ac_cv_prog_cc_stdc" in |
| 2674 |
< |
x|xno) |
| 2675 |
< |
echo "$as_me:$LINENO: result: none needed" >&5 |
| 2676 |
< |
echo "${ECHO_T}none needed" >&6 ;; |
| 2672 |
> |
# AC_CACHE_VAL |
| 2673 |
> |
case "x$ac_cv_prog_cc_c89" in |
| 2674 |
> |
x) |
| 2675 |
> |
{ echo "$as_me:$LINENO: result: none needed" >&5 |
| 2676 |
> |
echo "${ECHO_T}none needed" >&6; } ;; |
| 2677 |
> |
xno) |
| 2678 |
> |
{ echo "$as_me:$LINENO: result: unsupported" >&5 |
| 2679 |
> |
echo "${ECHO_T}unsupported" >&6; } ;; |
| 2680 |
|
*) |
| 2681 |
< |
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 |
| 2682 |
< |
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 |
| 2683 |
< |
CC="$CC $ac_cv_prog_cc_stdc" ;; |
| 2681 |
> |
CC="$CC $ac_cv_prog_cc_c89" |
| 2682 |
> |
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 |
| 2683 |
> |
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; |
| 2684 |
|
esac |
| 2685 |
|
|
| 2138 |
– |
# Some people use a C++ compiler to compile C. Since we use `exit', |
| 2139 |
– |
# in C++ we need to declare it. In case someone uses the same compiler |
| 2140 |
– |
# for both compiling C and C++ we need to have the C++ compiler decide |
| 2141 |
– |
# the declaration of exit, since it's the most demanding environment. |
| 2142 |
– |
cat >conftest.$ac_ext <<_ACEOF |
| 2143 |
– |
#ifndef __cplusplus |
| 2144 |
– |
choke me |
| 2145 |
– |
#endif |
| 2146 |
– |
_ACEOF |
| 2147 |
– |
rm -f conftest.$ac_objext |
| 2148 |
– |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 2149 |
– |
(eval $ac_compile) 2>conftest.er1 |
| 2150 |
– |
ac_status=$? |
| 2151 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
| 2152 |
– |
rm -f conftest.er1 |
| 2153 |
– |
cat conftest.err >&5 |
| 2154 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2155 |
– |
(exit $ac_status); } && |
| 2156 |
– |
{ ac_try='test -z "$ac_c_werror_flag" |
| 2157 |
– |
|| test ! -s conftest.err' |
| 2158 |
– |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2159 |
– |
(eval $ac_try) 2>&5 |
| 2160 |
– |
ac_status=$? |
| 2161 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2162 |
– |
(exit $ac_status); }; } && |
| 2163 |
– |
{ ac_try='test -s conftest.$ac_objext' |
| 2164 |
– |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2165 |
– |
(eval $ac_try) 2>&5 |
| 2166 |
– |
ac_status=$? |
| 2167 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2168 |
– |
(exit $ac_status); }; }; then |
| 2169 |
– |
for ac_declaration in \ |
| 2170 |
– |
'' \ |
| 2171 |
– |
'extern "C" void std::exit (int) throw (); using std::exit;' \ |
| 2172 |
– |
'extern "C" void std::exit (int); using std::exit;' \ |
| 2173 |
– |
'extern "C" void exit (int) throw ();' \ |
| 2174 |
– |
'extern "C" void exit (int);' \ |
| 2175 |
– |
'void exit (int);' |
| 2176 |
– |
do |
| 2177 |
– |
cat >conftest.$ac_ext <<_ACEOF |
| 2178 |
– |
/* confdefs.h. */ |
| 2179 |
– |
_ACEOF |
| 2180 |
– |
cat confdefs.h >>conftest.$ac_ext |
| 2181 |
– |
cat >>conftest.$ac_ext <<_ACEOF |
| 2182 |
– |
/* end confdefs.h. */ |
| 2183 |
– |
$ac_declaration |
| 2184 |
– |
#include <stdlib.h> |
| 2185 |
– |
int |
| 2186 |
– |
main () |
| 2187 |
– |
{ |
| 2188 |
– |
exit (42); |
| 2189 |
– |
; |
| 2190 |
– |
return 0; |
| 2191 |
– |
} |
| 2192 |
– |
_ACEOF |
| 2193 |
– |
rm -f conftest.$ac_objext |
| 2194 |
– |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 2195 |
– |
(eval $ac_compile) 2>conftest.er1 |
| 2196 |
– |
ac_status=$? |
| 2197 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
| 2198 |
– |
rm -f conftest.er1 |
| 2199 |
– |
cat conftest.err >&5 |
| 2200 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2201 |
– |
(exit $ac_status); } && |
| 2202 |
– |
{ ac_try='test -z "$ac_c_werror_flag" |
| 2203 |
– |
|| test ! -s conftest.err' |
| 2204 |
– |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2205 |
– |
(eval $ac_try) 2>&5 |
| 2206 |
– |
ac_status=$? |
| 2207 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2208 |
– |
(exit $ac_status); }; } && |
| 2209 |
– |
{ ac_try='test -s conftest.$ac_objext' |
| 2210 |
– |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2211 |
– |
(eval $ac_try) 2>&5 |
| 2212 |
– |
ac_status=$? |
| 2213 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2214 |
– |
(exit $ac_status); }; }; then |
| 2215 |
– |
: |
| 2216 |
– |
else |
| 2217 |
– |
echo "$as_me: failed program was:" >&5 |
| 2218 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 2686 |
|
|
| 2220 |
– |
continue |
| 2221 |
– |
fi |
| 2222 |
– |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2223 |
– |
cat >conftest.$ac_ext <<_ACEOF |
| 2224 |
– |
/* confdefs.h. */ |
| 2225 |
– |
_ACEOF |
| 2226 |
– |
cat confdefs.h >>conftest.$ac_ext |
| 2227 |
– |
cat >>conftest.$ac_ext <<_ACEOF |
| 2228 |
– |
/* end confdefs.h. */ |
| 2229 |
– |
$ac_declaration |
| 2230 |
– |
int |
| 2231 |
– |
main () |
| 2232 |
– |
{ |
| 2233 |
– |
exit (42); |
| 2234 |
– |
; |
| 2235 |
– |
return 0; |
| 2236 |
– |
} |
| 2237 |
– |
_ACEOF |
| 2238 |
– |
rm -f conftest.$ac_objext |
| 2239 |
– |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 2240 |
– |
(eval $ac_compile) 2>conftest.er1 |
| 2241 |
– |
ac_status=$? |
| 2242 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
| 2243 |
– |
rm -f conftest.er1 |
| 2244 |
– |
cat conftest.err >&5 |
| 2245 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2246 |
– |
(exit $ac_status); } && |
| 2247 |
– |
{ ac_try='test -z "$ac_c_werror_flag" |
| 2248 |
– |
|| test ! -s conftest.err' |
| 2249 |
– |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2250 |
– |
(eval $ac_try) 2>&5 |
| 2251 |
– |
ac_status=$? |
| 2252 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2253 |
– |
(exit $ac_status); }; } && |
| 2254 |
– |
{ ac_try='test -s conftest.$ac_objext' |
| 2255 |
– |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2256 |
– |
(eval $ac_try) 2>&5 |
| 2257 |
– |
ac_status=$? |
| 2258 |
– |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2259 |
– |
(exit $ac_status); }; }; then |
| 2260 |
– |
break |
| 2261 |
– |
else |
| 2262 |
– |
echo "$as_me: failed program was:" >&5 |
| 2263 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 2264 |
– |
|
| 2265 |
– |
fi |
| 2266 |
– |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2267 |
– |
done |
| 2268 |
– |
rm -f conftest* |
| 2269 |
– |
if test -n "$ac_declaration"; then |
| 2270 |
– |
echo '#ifdef __cplusplus' >>confdefs.h |
| 2271 |
– |
echo $ac_declaration >>confdefs.h |
| 2272 |
– |
echo '#endif' >>confdefs.h |
| 2273 |
– |
fi |
| 2274 |
– |
|
| 2275 |
– |
else |
| 2276 |
– |
echo "$as_me: failed program was:" >&5 |
| 2277 |
– |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 2278 |
– |
|
| 2279 |
– |
fi |
| 2280 |
– |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2687 |
|
ac_ext=c |
| 2688 |
|
ac_cpp='$CPP $CPPFLAGS' |
| 2689 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 2703 |
|
if test "$ac_cv_c_compiler_gnu" != yes; then |
| 2704 |
|
|
| 2705 |
|
SGS=no |
| 2706 |
< |
echo "$as_me:$LINENO: checking $CC -version for TenDRA or MIPSpro" >&5 |
| 2707 |
< |
echo $ECHO_N "checking $CC -version for TenDRA or MIPSpro... $ECHO_C" >&6 |
| 2706 |
> |
{ echo "$as_me:$LINENO: checking $CC -version for TenDRA or MIPSpro" >&5 |
| 2707 |
> |
echo $ECHO_N "checking $CC -version for TenDRA or MIPSpro... $ECHO_C" >&6; } |
| 2708 |
|
case `$CC -version 2>&1` in |
| 2709 |
|
*TenDRA*) |
| 2710 |
< |
echo "$as_me:$LINENO: result: yes, TenDRA" >&5 |
| 2711 |
< |
echo "${ECHO_T}yes, TenDRA" >&6 |
| 2710 |
> |
{ echo "$as_me:$LINENO: result: yes, TenDRA" >&5 |
| 2711 |
> |
echo "${ECHO_T}yes, TenDRA" >&6; } |
| 2712 |
|
IRC_CFLAGS="" |
| 2713 |
|
CPPFLAGS="$CPPFLAGS -Ylonglong -Yansi -Ysystem" |
| 2714 |
|
SGS=yes |
| 2715 |
|
TenDRA=yes |
| 2716 |
|
;; |
| 2717 |
|
*MIPSpro*) |
| 2718 |
< |
echo "$as_me:$LINENO: result: yes, MIPSpro" >&5 |
| 2719 |
< |
echo "${ECHO_T}yes, MIPSpro" >&6 |
| 2718 |
> |
{ echo "$as_me:$LINENO: result: yes, MIPSpro" >&5 |
| 2719 |
> |
echo "${ECHO_T}yes, MIPSpro" >&6; } |
| 2720 |
|
MIPSpro=yes |
| 2721 |
|
SGS=yes |
| 2722 |
|
;; |
| 2723 |
|
*) |
| 2724 |
< |
echo "$as_me:$LINENO: result: no" >&5 |
| 2725 |
< |
echo "${ECHO_T}no" >&6 |
| 2724 |
> |
{ echo "$as_me:$LINENO: result: no" >&5 |
| 2725 |
> |
echo "${ECHO_T}no" >&6; } |
| 2726 |
|
TenDRA=no |
| 2727 |
|
MIPSpro=no |
| 2728 |
|
;; |
| 2729 |
|
esac |
| 2730 |
|
|
| 2731 |
< |
echo "$as_me:$LINENO: checking $CC -V for Sun Workshop, Forte, HPUX or Tru64 cc" >&5 |
| 2732 |
< |
echo $ECHO_N "checking $CC -V for Sun Workshop, Forte, HPUX or Tru64 cc... $ECHO_C" >&6 |
| 2731 |
> |
{ echo "$as_me:$LINENO: checking $CC -V for Sun Workshop, Forte, HPUX or Tru64 cc" >&5 |
| 2732 |
> |
echo $ECHO_N "checking $CC -V for Sun Workshop, Forte, HPUX or Tru64 cc... $ECHO_C" >&6; } |
| 2733 |
|
case `$CC -V 2>&1` in |
| 2734 |
|
*Sun*WorkShop* | *Forte*Developer* | *Sun*C*) |
| 2735 |
< |
echo "$as_me:$LINENO: result: Sun Workshop/Forte" >&5 |
| 2736 |
< |
echo "${ECHO_T}Sun Workshop/Forte" >&6 |
| 2735 |
> |
{ echo "$as_me:$LINENO: result: Sun Workshop/Forte" >&5 |
| 2736 |
> |
echo "${ECHO_T}Sun Workshop/Forte" >&6; } |
| 2737 |
|
IRC_CFLAGS="-xO3 -xdepend -xinline=_MyMalloc,_MyRealloc,_MyFree,_DupString" |
| 2738 |
|
SunWorkShop=yes |
| 2739 |
|
SGS=yes |
| 2740 |
|
;; |
| 2741 |
|
*Tru64*) |
| 2742 |
< |
echo "$as_me:$LINENO: result: Tru64 cc" >&5 |
| 2743 |
< |
echo "${ECHO_T}Tru64 cc" >&6 |
| 2742 |
> |
{ echo "$as_me:$LINENO: result: Tru64 cc" >&5 |
| 2743 |
> |
echo "${ECHO_T}Tru64 cc" >&6; } |
| 2744 |
|
IRC_CFLAGS="" |
| 2745 |
|
CPPFLAGS="-I/usr/local/include" |
| 2746 |
|
Tru=yes |
| 2747 |
|
;; |
| 2748 |
|
*HP*ANSI*) |
| 2749 |
< |
echo "$as_me:$LINENO: result: HPUX cc" >&5 |
| 2750 |
< |
echo "${ECHO_T}HPUX cc" >&6 |
| 2749 |
> |
{ echo "$as_me:$LINENO: result: HPUX cc" >&5 |
| 2750 |
> |
echo "${ECHO_T}HPUX cc" >&6; } |
| 2751 |
|
HPUX=yes |
| 2752 |
|
IRC_CFLAGS="+e" |
| 2753 |
|
;; |
| 2754 |
|
*) |
| 2755 |
< |
echo "$as_me:$LINENO: result: no" >&5 |
| 2756 |
< |
echo "${ECHO_T}no" >&6 |
| 2755 |
> |
{ echo "$as_me:$LINENO: result: no" >&5 |
| 2756 |
> |
echo "${ECHO_T}no" >&6; } |
| 2757 |
|
;; |
| 2758 |
|
esac |
| 2759 |
|
|
| 2760 |
|
fi |
| 2761 |
|
|
| 2762 |
< |
echo "$as_me:$LINENO: checking uname -s for Cygwin, Solaris or HPUX" >&5 |
| 2763 |
< |
echo $ECHO_N "checking uname -s for Cygwin, Solaris or HPUX... $ECHO_C" >&6 |
| 2762 |
> |
{ echo "$as_me:$LINENO: checking uname -s for Cygwin, Solaris or HPUX" >&5 |
| 2763 |
> |
echo $ECHO_N "checking uname -s for Cygwin, Solaris or HPUX... $ECHO_C" >&6; } |
| 2764 |
|
case `uname -s` in |
| 2765 |
|
HP-UX*) |
| 2766 |
|
|
| 2767 |
|
if test "$HPUX" != yes -a "$ac_cv_c_compiler_gnu" = no; then |
| 2768 |
< |
echo "$as_me:$LINENO: result: assuming old HPUX with its own cc" >&5 |
| 2769 |
< |
echo "${ECHO_T}assuming old HPUX with its own cc" >&6 |
| 2768 |
> |
{ echo "$as_me:$LINENO: result: assuming old HPUX with its own cc" >&5 |
| 2769 |
> |
echo "${ECHO_T}assuming old HPUX with its own cc" >&6; } |
| 2770 |
|
IRC_CFLAGS="$IRC_CFLAGS +e" |
| 2771 |
|
HPUX=yes |
| 2772 |
|
else |
| 2773 |
< |
echo "$as_me:$LINENO: result: already using newer HPUX" >&5 |
| 2774 |
< |
echo "${ECHO_T}already using newer HPUX" >&6 |
| 2773 |
> |
{ echo "$as_me:$LINENO: result: already using newer HPUX" >&5 |
| 2774 |
> |
echo "${ECHO_T}already using newer HPUX" >&6; } |
| 2775 |
|
fi |
| 2776 |
|
;; |
| 2777 |
|
CYGWIN*) |
| 2778 |
< |
echo "$as_me:$LINENO: result: Cygwin" >&5 |
| 2779 |
< |
echo "${ECHO_T}Cygwin" >&6 |
| 2778 |
> |
{ echo "$as_me:$LINENO: result: Cygwin" >&5 |
| 2779 |
> |
echo "${ECHO_T}Cygwin" >&6; } |
| 2780 |
|
CYGWIN=yes |
| 2781 |
|
;; |
| 2782 |
|
SunOS*) |
| 2783 |
< |
echo "$as_me:$LINENO: result: SunOS or Solaris" >&5 |
| 2784 |
< |
echo "${ECHO_T}SunOS or Solaris" >&6 |
| 2783 |
> |
{ echo "$as_me:$LINENO: result: SunOS or Solaris" >&5 |
| 2784 |
> |
echo "${ECHO_T}SunOS or Solaris" >&6; } |
| 2785 |
|
|
| 2786 |
|
cat >>confdefs.h <<\_ACEOF |
| 2787 |
|
#define __EXTENSIONS__ 1 |
| 2789 |
|
|
| 2790 |
|
;; |
| 2791 |
|
*) |
| 2792 |
< |
echo "$as_me:$LINENO: result: no" >&5 |
| 2793 |
< |
echo "${ECHO_T}no" >&6 |
| 2792 |
> |
{ echo "$as_me:$LINENO: result: no" >&5 |
| 2793 |
> |
echo "${ECHO_T}no" >&6; } |
| 2794 |
|
;; |
| 2795 |
|
esac |
| 2796 |
|
|
| 2797 |
|
if test "$ac_cv_c_compiler_gnu" = yes; then |
| 2798 |
< |
echo "$as_me:$LINENO: checking if $CC is Apple GCC" >&5 |
| 2799 |
< |
echo $ECHO_N "checking if $CC is Apple GCC... $ECHO_C" >&6 |
| 2798 |
> |
{ echo "$as_me:$LINENO: checking if $CC is Apple GCC" >&5 |
| 2799 |
> |
echo $ECHO_N "checking if $CC is Apple GCC... $ECHO_C" >&6; } |
| 2800 |
|
|
| 2801 |
|
if expr "`$CC -v 2>&1 | tail -1`" : ".*Apple" >/dev/null; then |
| 2802 |
|
AppleGCC=yes |
| 2804 |
|
AppleGCC=no |
| 2805 |
|
fi |
| 2806 |
|
|
| 2807 |
< |
echo "$as_me:$LINENO: result: $AppleGCC" >&5 |
| 2808 |
< |
echo "${ECHO_T}$AppleGCC" >&6 |
| 2807 |
> |
{ echo "$as_me:$LINENO: result: $AppleGCC" >&5 |
| 2808 |
> |
echo "${ECHO_T}$AppleGCC" >&6; } |
| 2809 |
|
|
| 2810 |
|
IRC_CFLAGS="$IRC_CFLAGS -Wall -O0" |
| 2811 |
|
fi |
| 2818 |
|
fi |
| 2819 |
|
fi |
| 2820 |
|
|
| 2821 |
< |
echo "$as_me:$LINENO: checking if $CC supports the SVR4 SGS interfaces" >&5 |
| 2822 |
< |
echo $ECHO_N "checking if $CC supports the SVR4 SGS interfaces... $ECHO_C" >&6 |
| 2821 |
> |
{ echo "$as_me:$LINENO: checking if $CC supports the SVR4 SGS interfaces" >&5 |
| 2822 |
> |
echo $ECHO_N "checking if $CC supports the SVR4 SGS interfaces... $ECHO_C" >&6; } |
| 2823 |
|
if test "$SGS" = "yes"; then |
| 2824 |
< |
echo "$as_me:$LINENO: result: yes" >&5 |
| 2825 |
< |
echo "${ECHO_T}yes" >&6 |
| 2824 |
> |
{ echo "$as_me:$LINENO: result: yes" >&5 |
| 2825 |
> |
echo "${ECHO_T}yes" >&6; } |
| 2826 |
|
else |
| 2827 |
< |
echo "$as_me:$LINENO: result: no" >&5 |
| 2828 |
< |
echo "${ECHO_T}no" >&6 |
| 2827 |
> |
{ echo "$as_me:$LINENO: result: no" >&5 |
| 2828 |
> |
echo "${ECHO_T}no" >&6; } |
| 2829 |
|
fi |
| 2830 |
|
|
| 2831 |
|
# Extract the first word of "mkdep", so it can be a program name with args. |
| 2832 |
|
set dummy mkdep; ac_word=$2 |
| 2833 |
< |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 2834 |
< |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 2833 |
> |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 2834 |
> |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 2835 |
|
if test "${ac_cv_path_MKDEP+set}" = set; then |
| 2836 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2837 |
|
else |
| 2846 |
|
IFS=$as_save_IFS |
| 2847 |
|
test -z "$as_dir" && as_dir=. |
| 2848 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 2849 |
< |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 2849 |
> |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 2850 |
|
ac_cv_path_MKDEP="$as_dir/$ac_word$ac_exec_ext" |
| 2851 |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2852 |
|
break 2 |
| 2853 |
|
fi |
| 2854 |
|
done |
| 2855 |
|
done |
| 2856 |
+ |
IFS=$as_save_IFS |
| 2857 |
|
|
| 2858 |
|
;; |
| 2859 |
|
esac |
| 2860 |
|
fi |
| 2861 |
|
MKDEP=$ac_cv_path_MKDEP |
| 2455 |
– |
|
| 2862 |
|
if test -n "$MKDEP"; then |
| 2863 |
< |
echo "$as_me:$LINENO: result: $MKDEP" >&5 |
| 2864 |
< |
echo "${ECHO_T}$MKDEP" >&6 |
| 2863 |
> |
{ echo "$as_me:$LINENO: result: $MKDEP" >&5 |
| 2864 |
> |
echo "${ECHO_T}$MKDEP" >&6; } |
| 2865 |
|
else |
| 2866 |
< |
echo "$as_me:$LINENO: result: no" >&5 |
| 2867 |
< |
echo "${ECHO_T}no" >&6 |
| 2866 |
> |
{ echo "$as_me:$LINENO: result: no" >&5 |
| 2867 |
> |
echo "${ECHO_T}no" >&6; } |
| 2868 |
|
fi |
| 2869 |
|
|
| 2870 |
+ |
|
| 2871 |
|
# Extract the first word of "makedepend", so it can be a program name with args. |
| 2872 |
|
set dummy makedepend; ac_word=$2 |
| 2873 |
< |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 2874 |
< |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 2873 |
> |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 2874 |
> |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 2875 |
|
if test "${ac_cv_path_MAKEDEPEND+set}" = set; then |
| 2876 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2877 |
|
else |
| 2886 |
|
IFS=$as_save_IFS |
| 2887 |
|
test -z "$as_dir" && as_dir=. |
| 2888 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 2889 |
< |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 2889 |
> |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 2890 |
|
ac_cv_path_MAKEDEPEND="$as_dir/$ac_word$ac_exec_ext" |
| 2891 |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2892 |
|
break 2 |
| 2893 |
|
fi |
| 2894 |
|
done |
| 2895 |
|
done |
| 2896 |
+ |
IFS=$as_save_IFS |
| 2897 |
|
|
| 2898 |
|
;; |
| 2899 |
|
esac |
| 2900 |
|
fi |
| 2901 |
|
MAKEDEPEND=$ac_cv_path_MAKEDEPEND |
| 2494 |
– |
|
| 2902 |
|
if test -n "$MAKEDEPEND"; then |
| 2903 |
< |
echo "$as_me:$LINENO: result: $MAKEDEPEND" >&5 |
| 2904 |
< |
echo "${ECHO_T}$MAKEDEPEND" >&6 |
| 2903 |
> |
{ echo "$as_me:$LINENO: result: $MAKEDEPEND" >&5 |
| 2904 |
> |
echo "${ECHO_T}$MAKEDEPEND" >&6; } |
| 2905 |
|
else |
| 2906 |
< |
echo "$as_me:$LINENO: result: no" >&5 |
| 2907 |
< |
echo "${ECHO_T}no" >&6 |
| 2906 |
> |
{ echo "$as_me:$LINENO: result: no" >&5 |
| 2907 |
> |
echo "${ECHO_T}no" >&6; } |
| 2908 |
|
fi |
| 2909 |
|
|
| 2910 |
|
|
| 2911 |
< |
echo "$as_me:$LINENO: checking how to generate dependency info" >&5 |
| 2912 |
< |
echo $ECHO_N "checking how to generate dependency info... $ECHO_C" >&6 |
| 2911 |
> |
|
| 2912 |
> |
{ echo "$as_me:$LINENO: checking how to generate dependency info" >&5 |
| 2913 |
> |
echo $ECHO_N "checking how to generate dependency info... $ECHO_C" >&6; } |
| 2914 |
|
|
| 2915 |
|
STDOUT="> .depend" |
| 2916 |
|
|
| 2917 |
|
if test "$ac_cv_c_compiler_gnu" = yes; then |
| 2918 |
< |
echo "$as_me:$LINENO: result: gcc -MM" >&5 |
| 2919 |
< |
echo "${ECHO_T}gcc -MM" >&6 |
| 2918 |
> |
{ echo "$as_me:$LINENO: result: gcc -MM" >&5 |
| 2919 |
> |
echo "${ECHO_T}gcc -MM" >&6; } |
| 2920 |
|
MKDEP="$CC -MM" |
| 2921 |
|
elif test ! -z "$MKDEP"; then |
| 2922 |
< |
echo "$as_me:$LINENO: result: mkdep" >&5 |
| 2923 |
< |
echo "${ECHO_T}mkdep" >&6 |
| 2922 |
> |
{ echo "$as_me:$LINENO: result: mkdep" >&5 |
| 2923 |
> |
echo "${ECHO_T}mkdep" >&6; } |
| 2924 |
|
|
| 2925 |
|
if test -z "$Tru"; then |
| 2926 |
|
STDOUT="" |
| 2928 |
|
STDOUT=" 2> /dev/null" |
| 2929 |
|
fi |
| 2930 |
|
elif test "$SunWorkShop" = yes; then |
| 2931 |
< |
echo "$as_me:$LINENO: result: $CC -xM" >&5 |
| 2932 |
< |
echo "${ECHO_T}$CC -xM" >&6 |
| 2931 |
> |
{ echo "$as_me:$LINENO: result: $CC -xM" >&5 |
| 2932 |
> |
echo "${ECHO_T}$CC -xM" >&6; } |
| 2933 |
|
MKDEP="$CC -xM" |
| 2934 |
|
STDOUT="> .depend 2> /dev/null" |
| 2935 |
|
elif test ! -z "$MAKEDEPEND"; then |
| 2936 |
< |
echo "$as_me:$LINENO: result: makedepend" >&5 |
| 2937 |
< |
echo "${ECHO_T}makedepend" >&6 |
| 2936 |
> |
{ echo "$as_me:$LINENO: result: makedepend" >&5 |
| 2937 |
> |
echo "${ECHO_T}makedepend" >&6; } |
| 2938 |
|
MKDEP="$MAKEDEPEND -f-" |
| 2939 |
|
else |
| 2940 |
< |
echo "$as_me:$LINENO: result: nothing suitable.. forget it!" >&5 |
| 2941 |
< |
echo "${ECHO_T}nothing suitable.. forget it!" >&6 |
| 2940 |
> |
{ echo "$as_me:$LINENO: result: nothing suitable.. forget it!" >&5 |
| 2941 |
> |
echo "${ECHO_T}nothing suitable.. forget it!" >&6; } |
| 2942 |
|
MKDEP=":" |
| 2943 |
|
fi |
| 2944 |
|
|
| 2945 |
|
|
| 2946 |
|
|
| 2947 |
|
|
| 2948 |
< |
echo "$as_me:$LINENO: checking for /dev/null" >&5 |
| 2949 |
< |
echo $ECHO_N "checking for /dev/null... $ECHO_C" >&6 |
| 2948 |
> |
{ echo "$as_me:$LINENO: checking for /dev/null" >&5 |
| 2949 |
> |
echo $ECHO_N "checking for /dev/null... $ECHO_C" >&6; } |
| 2950 |
|
if test -c /dev/null ; then |
| 2951 |
|
|
| 2952 |
|
cat >>confdefs.h <<\_ACEOF |
| 2953 |
|
#define PATH_DEVNULL "/dev/null" |
| 2954 |
|
_ACEOF |
| 2955 |
|
|
| 2956 |
< |
echo "$as_me:$LINENO: result: yes" >&5 |
| 2957 |
< |
echo "${ECHO_T}yes" >&6 |
| 2956 |
> |
{ echo "$as_me:$LINENO: result: yes" >&5 |
| 2957 |
> |
echo "${ECHO_T}yes" >&6; } |
| 2958 |
|
else |
| 2959 |
|
|
| 2960 |
|
cat >>confdefs.h <<\_ACEOF |
| 2961 |
|
#define PATH_DEVNULL "devnull.log" |
| 2962 |
|
_ACEOF |
| 2963 |
|
|
| 2964 |
< |
echo "$as_me:$LINENO: result: no - using devnull.log" >&5 |
| 2965 |
< |
echo "${ECHO_T}no - using devnull.log" >&6 |
| 2964 |
> |
{ echo "$as_me:$LINENO: result: no - using devnull.log" >&5 |
| 2965 |
> |
echo "${ECHO_T}no - using devnull.log" >&6; } |
| 2966 |
|
fi |
| 2967 |
|
|
| 2968 |
|
if test ! -z "$CFLAGS"; then |
| 2970 |
|
fi |
| 2971 |
|
|
| 2972 |
|
|
| 2973 |
< |
echo "$as_me:$LINENO: checking for library containing strerror" >&5 |
| 2974 |
< |
echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6 |
| 2973 |
> |
{ echo "$as_me:$LINENO: checking for library containing strerror" >&5 |
| 2974 |
> |
echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; } |
| 2975 |
|
if test "${ac_cv_search_strerror+set}" = set; then |
| 2976 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2977 |
|
else |
| 2978 |
|
ac_func_search_save_LIBS=$LIBS |
| 2571 |
– |
ac_cv_search_strerror=no |
| 2979 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 2980 |
|
/* confdefs.h. */ |
| 2981 |
|
_ACEOF |
| 2983 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 2984 |
|
/* end confdefs.h. */ |
| 2985 |
|
|
| 2986 |
< |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 2986 |
> |
/* Override any GCC internal prototype to avoid an error. |
| 2987 |
> |
Use char because int might match the return type of a GCC |
| 2988 |
> |
builtin and then its argument prototype would still apply. */ |
| 2989 |
|
#ifdef __cplusplus |
| 2990 |
|
extern "C" |
| 2991 |
|
#endif |
| 2583 |
– |
/* We use char because int might match the return type of a gcc2 |
| 2584 |
– |
builtin and then its argument prototype would still apply. */ |
| 2992 |
|
char strerror (); |
| 2993 |
|
int |
| 2994 |
|
main () |
| 2995 |
|
{ |
| 2996 |
< |
strerror (); |
| 2996 |
> |
return strerror (); |
| 2997 |
|
; |
| 2998 |
|
return 0; |
| 2999 |
|
} |
| 3000 |
|
_ACEOF |
| 3001 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 3002 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 3003 |
< |
(eval $ac_link) 2>conftest.er1 |
| 3001 |
> |
for ac_lib in '' cposix; do |
| 3002 |
> |
if test -z "$ac_lib"; then |
| 3003 |
> |
ac_res="none required" |
| 3004 |
> |
else |
| 3005 |
> |
ac_res=-l$ac_lib |
| 3006 |
> |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 3007 |
> |
fi |
| 3008 |
> |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 3009 |
> |
if { (ac_try="$ac_link" |
| 3010 |
> |
case "(($ac_try" in |
| 3011 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3012 |
> |
*) ac_try_echo=$ac_try;; |
| 3013 |
> |
esac |
| 3014 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 3015 |
> |
(eval "$ac_link") 2>conftest.er1 |
| 3016 |
|
ac_status=$? |
| 3017 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 3018 |
|
rm -f conftest.er1 |
| 3019 |
|
cat conftest.err >&5 |
| 3020 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3021 |
< |
(exit $ac_status); } && |
| 3022 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
| 3023 |
< |
|| test ! -s conftest.err' |
| 3024 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3025 |
< |
(eval $ac_try) 2>&5 |
| 3026 |
< |
ac_status=$? |
| 2608 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2609 |
< |
(exit $ac_status); }; } && |
| 2610 |
< |
{ ac_try='test -s conftest$ac_exeext' |
| 2611 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2612 |
< |
(eval $ac_try) 2>&5 |
| 2613 |
< |
ac_status=$? |
| 2614 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2615 |
< |
(exit $ac_status); }; }; then |
| 2616 |
< |
ac_cv_search_strerror="none required" |
| 3021 |
> |
(exit $ac_status); } && { |
| 3022 |
> |
test -z "$ac_c_werror_flag" || |
| 3023 |
> |
test ! -s conftest.err |
| 3024 |
> |
} && test -s conftest$ac_exeext && |
| 3025 |
> |
$as_test_x conftest$ac_exeext; then |
| 3026 |
> |
ac_cv_search_strerror=$ac_res |
| 3027 |
|
else |
| 3028 |
|
echo "$as_me: failed program was:" >&5 |
| 3029 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 3030 |
|
|
| 2621 |
– |
fi |
| 2622 |
– |
rm -f conftest.err conftest.$ac_objext \ |
| 2623 |
– |
conftest$ac_exeext conftest.$ac_ext |
| 2624 |
– |
if test "$ac_cv_search_strerror" = no; then |
| 2625 |
– |
for ac_lib in cposix; do |
| 2626 |
– |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 2627 |
– |
cat >conftest.$ac_ext <<_ACEOF |
| 2628 |
– |
/* confdefs.h. */ |
| 2629 |
– |
_ACEOF |
| 2630 |
– |
cat confdefs.h >>conftest.$ac_ext |
| 2631 |
– |
cat >>conftest.$ac_ext <<_ACEOF |
| 2632 |
– |
/* end confdefs.h. */ |
| 3031 |
|
|
| 3032 |
< |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 2635 |
< |
#ifdef __cplusplus |
| 2636 |
< |
extern "C" |
| 2637 |
< |
#endif |
| 2638 |
< |
/* We use char because int might match the return type of a gcc2 |
| 2639 |
< |
builtin and then its argument prototype would still apply. */ |
| 2640 |
< |
char strerror (); |
| 2641 |
< |
int |
| 2642 |
< |
main () |
| 2643 |
< |
{ |
| 2644 |
< |
strerror (); |
| 2645 |
< |
; |
| 2646 |
< |
return 0; |
| 2647 |
< |
} |
| 2648 |
< |
_ACEOF |
| 2649 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 2650 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 2651 |
< |
(eval $ac_link) 2>conftest.er1 |
| 2652 |
< |
ac_status=$? |
| 2653 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
| 2654 |
< |
rm -f conftest.er1 |
| 2655 |
< |
cat conftest.err >&5 |
| 2656 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2657 |
< |
(exit $ac_status); } && |
| 2658 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
| 2659 |
< |
|| test ! -s conftest.err' |
| 2660 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2661 |
< |
(eval $ac_try) 2>&5 |
| 2662 |
< |
ac_status=$? |
| 2663 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2664 |
< |
(exit $ac_status); }; } && |
| 2665 |
< |
{ ac_try='test -s conftest$ac_exeext' |
| 2666 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2667 |
< |
(eval $ac_try) 2>&5 |
| 2668 |
< |
ac_status=$? |
| 2669 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2670 |
< |
(exit $ac_status); }; }; then |
| 2671 |
< |
ac_cv_search_strerror="-l$ac_lib" |
| 2672 |
< |
break |
| 2673 |
< |
else |
| 2674 |
< |
echo "$as_me: failed program was:" >&5 |
| 2675 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 3032 |
> |
fi |
| 3033 |
|
|
| 3034 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 3035 |
+ |
conftest$ac_exeext |
| 3036 |
+ |
if test "${ac_cv_search_strerror+set}" = set; then |
| 3037 |
+ |
break |
| 3038 |
|
fi |
| 3039 |
< |
rm -f conftest.err conftest.$ac_objext \ |
| 3040 |
< |
conftest$ac_exeext conftest.$ac_ext |
| 3041 |
< |
done |
| 3039 |
> |
done |
| 3040 |
> |
if test "${ac_cv_search_strerror+set}" = set; then |
| 3041 |
> |
: |
| 3042 |
> |
else |
| 3043 |
> |
ac_cv_search_strerror=no |
| 3044 |
|
fi |
| 3045 |
+ |
rm conftest.$ac_ext |
| 3046 |
|
LIBS=$ac_func_search_save_LIBS |
| 3047 |
|
fi |
| 3048 |
< |
echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5 |
| 3049 |
< |
echo "${ECHO_T}$ac_cv_search_strerror" >&6 |
| 3050 |
< |
if test "$ac_cv_search_strerror" != no; then |
| 3051 |
< |
test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS" |
| 3048 |
> |
{ echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5 |
| 3049 |
> |
echo "${ECHO_T}$ac_cv_search_strerror" >&6; } |
| 3050 |
> |
ac_res=$ac_cv_search_strerror |
| 3051 |
> |
if test "$ac_res" != no; then |
| 3052 |
> |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 3053 |
|
|
| 3054 |
|
fi |
| 3055 |
|
|
| 3056 |
< |
echo "$as_me:$LINENO: checking for inline" >&5 |
| 3057 |
< |
echo $ECHO_N "checking for inline... $ECHO_C" >&6 |
| 3056 |
> |
{ echo "$as_me:$LINENO: checking for inline" >&5 |
| 3057 |
> |
echo $ECHO_N "checking for inline... $ECHO_C" >&6; } |
| 3058 |
|
if test "${ac_cv_c_inline+set}" = set; then |
| 3059 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3060 |
|
else |
| 3074 |
|
|
| 3075 |
|
_ACEOF |
| 3076 |
|
rm -f conftest.$ac_objext |
| 3077 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 3078 |
< |
(eval $ac_compile) 2>conftest.er1 |
| 3077 |
> |
if { (ac_try="$ac_compile" |
| 3078 |
> |
case "(($ac_try" in |
| 3079 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3080 |
> |
*) ac_try_echo=$ac_try;; |
| 3081 |
> |
esac |
| 3082 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 3083 |
> |
(eval "$ac_compile") 2>conftest.er1 |
| 3084 |
|
ac_status=$? |
| 3085 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 3086 |
|
rm -f conftest.er1 |
| 3087 |
|
cat conftest.err >&5 |
| 3088 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3089 |
< |
(exit $ac_status); } && |
| 3090 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
| 3091 |
< |
|| test ! -s conftest.err' |
| 3092 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3093 |
< |
(eval $ac_try) 2>&5 |
| 2724 |
< |
ac_status=$? |
| 2725 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2726 |
< |
(exit $ac_status); }; } && |
| 2727 |
< |
{ ac_try='test -s conftest.$ac_objext' |
| 2728 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2729 |
< |
(eval $ac_try) 2>&5 |
| 2730 |
< |
ac_status=$? |
| 2731 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2732 |
< |
(exit $ac_status); }; }; then |
| 2733 |
< |
ac_cv_c_inline=$ac_kw; break |
| 3089 |
> |
(exit $ac_status); } && { |
| 3090 |
> |
test -z "$ac_c_werror_flag" || |
| 3091 |
> |
test ! -s conftest.err |
| 3092 |
> |
} && test -s conftest.$ac_objext; then |
| 3093 |
> |
ac_cv_c_inline=$ac_kw |
| 3094 |
|
else |
| 3095 |
|
echo "$as_me: failed program was:" >&5 |
| 3096 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 3097 |
|
|
| 3098 |
+ |
|
| 3099 |
|
fi |
| 3100 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 3100 |
> |
|
| 3101 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 3102 |
> |
test "$ac_cv_c_inline" != no && break |
| 3103 |
|
done |
| 3104 |
|
|
| 3105 |
|
fi |
| 3106 |
< |
echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5 |
| 3107 |
< |
echo "${ECHO_T}$ac_cv_c_inline" >&6 |
| 3106 |
> |
{ echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5 |
| 3107 |
> |
echo "${ECHO_T}$ac_cv_c_inline" >&6; } |
| 3108 |
|
|
| 3109 |
|
|
| 3110 |
|
case $ac_cv_c_inline in |
| 3127 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 3128 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 3129 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 3130 |
< |
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
| 3131 |
< |
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 |
| 3130 |
> |
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
| 3131 |
> |
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } |
| 3132 |
|
# On Suns, sometimes $CPP names a directory. |
| 3133 |
|
if test -n "$CPP" && test -d "$CPP"; then |
| 3134 |
|
CPP= |
| 3162 |
|
#endif |
| 3163 |
|
Syntax error |
| 3164 |
|
_ACEOF |
| 3165 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 3166 |
< |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 3165 |
> |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 3166 |
> |
case "(($ac_try" in |
| 3167 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3168 |
> |
*) ac_try_echo=$ac_try;; |
| 3169 |
> |
esac |
| 3170 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 3171 |
> |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
| 3172 |
|
ac_status=$? |
| 3173 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 3174 |
|
rm -f conftest.er1 |
| 3175 |
|
cat conftest.err >&5 |
| 3176 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3177 |
< |
(exit $ac_status); } >/dev/null; then |
| 3178 |
< |
if test -s conftest.err; then |
| 3179 |
< |
ac_cpp_err=$ac_c_preproc_warn_flag |
| 3180 |
< |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| 2813 |
< |
else |
| 2814 |
< |
ac_cpp_err= |
| 2815 |
< |
fi |
| 2816 |
< |
else |
| 2817 |
< |
ac_cpp_err=yes |
| 2818 |
< |
fi |
| 2819 |
< |
if test -z "$ac_cpp_err"; then |
| 3177 |
> |
(exit $ac_status); } >/dev/null && { |
| 3178 |
> |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 3179 |
> |
test ! -s conftest.err |
| 3180 |
> |
}; then |
| 3181 |
|
: |
| 3182 |
|
else |
| 3183 |
|
echo "$as_me: failed program was:" >&5 |
| 3186 |
|
# Broken: fails on valid input. |
| 3187 |
|
continue |
| 3188 |
|
fi |
| 3189 |
+ |
|
| 3190 |
|
rm -f conftest.err conftest.$ac_ext |
| 3191 |
|
|
| 3192 |
< |
# OK, works on sane cases. Now check whether non-existent headers |
| 3192 |
> |
# OK, works on sane cases. Now check whether nonexistent headers |
| 3193 |
|
# can be detected and how. |
| 3194 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 3195 |
|
/* confdefs.h. */ |
| 3199 |
|
/* end confdefs.h. */ |
| 3200 |
|
#include <ac_nonexistent.h> |
| 3201 |
|
_ACEOF |
| 3202 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 3203 |
< |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 3202 |
> |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 3203 |
> |
case "(($ac_try" in |
| 3204 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3205 |
> |
*) ac_try_echo=$ac_try;; |
| 3206 |
> |
esac |
| 3207 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 3208 |
> |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
| 3209 |
|
ac_status=$? |
| 3210 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 3211 |
|
rm -f conftest.er1 |
| 3212 |
|
cat conftest.err >&5 |
| 3213 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3214 |
< |
(exit $ac_status); } >/dev/null; then |
| 3215 |
< |
if test -s conftest.err; then |
| 3216 |
< |
ac_cpp_err=$ac_c_preproc_warn_flag |
| 3217 |
< |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| 2851 |
< |
else |
| 2852 |
< |
ac_cpp_err= |
| 2853 |
< |
fi |
| 2854 |
< |
else |
| 2855 |
< |
ac_cpp_err=yes |
| 2856 |
< |
fi |
| 2857 |
< |
if test -z "$ac_cpp_err"; then |
| 3214 |
> |
(exit $ac_status); } >/dev/null && { |
| 3215 |
> |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 3216 |
> |
test ! -s conftest.err |
| 3217 |
> |
}; then |
| 3218 |
|
# Broken: success on invalid input. |
| 3219 |
|
continue |
| 3220 |
|
else |
| 3225 |
|
ac_preproc_ok=: |
| 3226 |
|
break |
| 3227 |
|
fi |
| 3228 |
+ |
|
| 3229 |
|
rm -f conftest.err conftest.$ac_ext |
| 3230 |
|
|
| 3231 |
|
done |
| 3243 |
|
else |
| 3244 |
|
ac_cv_prog_CPP=$CPP |
| 3245 |
|
fi |
| 3246 |
< |
echo "$as_me:$LINENO: result: $CPP" >&5 |
| 3247 |
< |
echo "${ECHO_T}$CPP" >&6 |
| 3246 |
> |
{ echo "$as_me:$LINENO: result: $CPP" >&5 |
| 3247 |
> |
echo "${ECHO_T}$CPP" >&6; } |
| 3248 |
|
ac_preproc_ok=false |
| 3249 |
|
for ac_c_preproc_warn_flag in '' yes |
| 3250 |
|
do |
| 3267 |
|
#endif |
| 3268 |
|
Syntax error |
| 3269 |
|
_ACEOF |
| 3270 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 3271 |
< |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 3270 |
> |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 3271 |
> |
case "(($ac_try" in |
| 3272 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3273 |
> |
*) ac_try_echo=$ac_try;; |
| 3274 |
> |
esac |
| 3275 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 3276 |
> |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
| 3277 |
|
ac_status=$? |
| 3278 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 3279 |
|
rm -f conftest.er1 |
| 3280 |
|
cat conftest.err >&5 |
| 3281 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3282 |
< |
(exit $ac_status); } >/dev/null; then |
| 3283 |
< |
if test -s conftest.err; then |
| 3284 |
< |
ac_cpp_err=$ac_c_preproc_warn_flag |
| 3285 |
< |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| 2920 |
< |
else |
| 2921 |
< |
ac_cpp_err= |
| 2922 |
< |
fi |
| 2923 |
< |
else |
| 2924 |
< |
ac_cpp_err=yes |
| 2925 |
< |
fi |
| 2926 |
< |
if test -z "$ac_cpp_err"; then |
| 3282 |
> |
(exit $ac_status); } >/dev/null && { |
| 3283 |
> |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 3284 |
> |
test ! -s conftest.err |
| 3285 |
> |
}; then |
| 3286 |
|
: |
| 3287 |
|
else |
| 3288 |
|
echo "$as_me: failed program was:" >&5 |
| 3291 |
|
# Broken: fails on valid input. |
| 3292 |
|
continue |
| 3293 |
|
fi |
| 3294 |
+ |
|
| 3295 |
|
rm -f conftest.err conftest.$ac_ext |
| 3296 |
|
|
| 3297 |
< |
# OK, works on sane cases. Now check whether non-existent headers |
| 3297 |
> |
# OK, works on sane cases. Now check whether nonexistent headers |
| 3298 |
|
# can be detected and how. |
| 3299 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 3300 |
|
/* confdefs.h. */ |
| 3304 |
|
/* end confdefs.h. */ |
| 3305 |
|
#include <ac_nonexistent.h> |
| 3306 |
|
_ACEOF |
| 3307 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 3308 |
< |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 3307 |
> |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 3308 |
> |
case "(($ac_try" in |
| 3309 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3310 |
> |
*) ac_try_echo=$ac_try;; |
| 3311 |
> |
esac |
| 3312 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 3313 |
> |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
| 3314 |
|
ac_status=$? |
| 3315 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 3316 |
|
rm -f conftest.er1 |
| 3317 |
|
cat conftest.err >&5 |
| 3318 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3319 |
< |
(exit $ac_status); } >/dev/null; then |
| 3320 |
< |
if test -s conftest.err; then |
| 3321 |
< |
ac_cpp_err=$ac_c_preproc_warn_flag |
| 3322 |
< |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| 2958 |
< |
else |
| 2959 |
< |
ac_cpp_err= |
| 2960 |
< |
fi |
| 2961 |
< |
else |
| 2962 |
< |
ac_cpp_err=yes |
| 2963 |
< |
fi |
| 2964 |
< |
if test -z "$ac_cpp_err"; then |
| 3319 |
> |
(exit $ac_status); } >/dev/null && { |
| 3320 |
> |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 3321 |
> |
test ! -s conftest.err |
| 3322 |
> |
}; then |
| 3323 |
|
# Broken: success on invalid input. |
| 3324 |
|
continue |
| 3325 |
|
else |
| 3330 |
|
ac_preproc_ok=: |
| 3331 |
|
break |
| 3332 |
|
fi |
| 3333 |
+ |
|
| 3334 |
|
rm -f conftest.err conftest.$ac_ext |
| 3335 |
|
|
| 3336 |
|
done |
| 3353 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 3354 |
|
|
| 3355 |
|
|
| 3356 |
< |
echo "$as_me:$LINENO: checking for egrep" >&5 |
| 3357 |
< |
echo $ECHO_N "checking for egrep... $ECHO_C" >&6 |
| 3358 |
< |
if test "${ac_cv_prog_egrep+set}" = set; then |
| 3356 |
> |
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 |
| 3357 |
> |
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } |
| 3358 |
> |
if test "${ac_cv_path_GREP+set}" = set; then |
| 3359 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3360 |
|
else |
| 3361 |
< |
if echo a | (grep -E '(a|b)') >/dev/null 2>&1 |
| 3362 |
< |
then ac_cv_prog_egrep='grep -E' |
| 3363 |
< |
else ac_cv_prog_egrep='egrep' |
| 3361 |
> |
# Extract the first word of "grep ggrep" to use in msg output |
| 3362 |
> |
if test -z "$GREP"; then |
| 3363 |
> |
set dummy grep ggrep; ac_prog_name=$2 |
| 3364 |
> |
if test "${ac_cv_path_GREP+set}" = set; then |
| 3365 |
> |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3366 |
> |
else |
| 3367 |
> |
ac_path_GREP_found=false |
| 3368 |
> |
# Loop through the user's path and test for each of PROGNAME-LIST |
| 3369 |
> |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3370 |
> |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
| 3371 |
> |
do |
| 3372 |
> |
IFS=$as_save_IFS |
| 3373 |
> |
test -z "$as_dir" && as_dir=. |
| 3374 |
> |
for ac_prog in grep ggrep; do |
| 3375 |
> |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3376 |
> |
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
| 3377 |
> |
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue |
| 3378 |
> |
# Check for GNU ac_path_GREP and select it if it is found. |
| 3379 |
> |
# Check for GNU $ac_path_GREP |
| 3380 |
> |
case `"$ac_path_GREP" --version 2>&1` in |
| 3381 |
> |
*GNU*) |
| 3382 |
> |
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
| 3383 |
> |
*) |
| 3384 |
> |
ac_count=0 |
| 3385 |
> |
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" |
| 3386 |
> |
while : |
| 3387 |
> |
do |
| 3388 |
> |
cat "conftest.in" "conftest.in" >"conftest.tmp" |
| 3389 |
> |
mv "conftest.tmp" "conftest.in" |
| 3390 |
> |
cp "conftest.in" "conftest.nl" |
| 3391 |
> |
echo 'GREP' >> "conftest.nl" |
| 3392 |
> |
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
| 3393 |
> |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
| 3394 |
> |
ac_count=`expr $ac_count + 1` |
| 3395 |
> |
if test $ac_count -gt ${ac_path_GREP_max-0}; then |
| 3396 |
> |
# Best one so far, save it but keep looking for a better one |
| 3397 |
> |
ac_cv_path_GREP="$ac_path_GREP" |
| 3398 |
> |
ac_path_GREP_max=$ac_count |
| 3399 |
|
fi |
| 3400 |
+ |
# 10*(2^10) chars as input seems more than enough |
| 3401 |
+ |
test $ac_count -gt 10 && break |
| 3402 |
+ |
done |
| 3403 |
+ |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
| 3404 |
+ |
esac |
| 3405 |
+ |
|
| 3406 |
+ |
|
| 3407 |
+ |
$ac_path_GREP_found && break 3 |
| 3408 |
+ |
done |
| 3409 |
+ |
done |
| 3410 |
+ |
|
| 3411 |
+ |
done |
| 3412 |
+ |
IFS=$as_save_IFS |
| 3413 |
+ |
|
| 3414 |
+ |
|
| 3415 |
+ |
fi |
| 3416 |
+ |
|
| 3417 |
+ |
GREP="$ac_cv_path_GREP" |
| 3418 |
+ |
if test -z "$GREP"; then |
| 3419 |
+ |
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 |
| 3420 |
+ |
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} |
| 3421 |
+ |
{ (exit 1); exit 1; }; } |
| 3422 |
+ |
fi |
| 3423 |
+ |
|
| 3424 |
+ |
else |
| 3425 |
+ |
ac_cv_path_GREP=$GREP |
| 3426 |
+ |
fi |
| 3427 |
+ |
|
| 3428 |
+ |
|
| 3429 |
+ |
fi |
| 3430 |
+ |
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 |
| 3431 |
+ |
echo "${ECHO_T}$ac_cv_path_GREP" >&6; } |
| 3432 |
+ |
GREP="$ac_cv_path_GREP" |
| 3433 |
+ |
|
| 3434 |
+ |
|
| 3435 |
+ |
{ echo "$as_me:$LINENO: checking for egrep" >&5 |
| 3436 |
+ |
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } |
| 3437 |
+ |
if test "${ac_cv_path_EGREP+set}" = set; then |
| 3438 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3439 |
+ |
else |
| 3440 |
+ |
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
| 3441 |
+ |
then ac_cv_path_EGREP="$GREP -E" |
| 3442 |
+ |
else |
| 3443 |
+ |
# Extract the first word of "egrep" to use in msg output |
| 3444 |
+ |
if test -z "$EGREP"; then |
| 3445 |
+ |
set dummy egrep; ac_prog_name=$2 |
| 3446 |
+ |
if test "${ac_cv_path_EGREP+set}" = set; then |
| 3447 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3448 |
+ |
else |
| 3449 |
+ |
ac_path_EGREP_found=false |
| 3450 |
+ |
# Loop through the user's path and test for each of PROGNAME-LIST |
| 3451 |
+ |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3452 |
+ |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
| 3453 |
+ |
do |
| 3454 |
+ |
IFS=$as_save_IFS |
| 3455 |
+ |
test -z "$as_dir" && as_dir=. |
| 3456 |
+ |
for ac_prog in egrep; do |
| 3457 |
+ |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3458 |
+ |
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
| 3459 |
+ |
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue |
| 3460 |
+ |
# Check for GNU ac_path_EGREP and select it if it is found. |
| 3461 |
+ |
# Check for GNU $ac_path_EGREP |
| 3462 |
+ |
case `"$ac_path_EGREP" --version 2>&1` in |
| 3463 |
+ |
*GNU*) |
| 3464 |
+ |
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
| 3465 |
+ |
*) |
| 3466 |
+ |
ac_count=0 |
| 3467 |
+ |
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" |
| 3468 |
+ |
while : |
| 3469 |
+ |
do |
| 3470 |
+ |
cat "conftest.in" "conftest.in" >"conftest.tmp" |
| 3471 |
+ |
mv "conftest.tmp" "conftest.in" |
| 3472 |
+ |
cp "conftest.in" "conftest.nl" |
| 3473 |
+ |
echo 'EGREP' >> "conftest.nl" |
| 3474 |
+ |
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
| 3475 |
+ |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
| 3476 |
+ |
ac_count=`expr $ac_count + 1` |
| 3477 |
+ |
if test $ac_count -gt ${ac_path_EGREP_max-0}; then |
| 3478 |
+ |
# Best one so far, save it but keep looking for a better one |
| 3479 |
+ |
ac_cv_path_EGREP="$ac_path_EGREP" |
| 3480 |
+ |
ac_path_EGREP_max=$ac_count |
| 3481 |
+ |
fi |
| 3482 |
+ |
# 10*(2^10) chars as input seems more than enough |
| 3483 |
+ |
test $ac_count -gt 10 && break |
| 3484 |
+ |
done |
| 3485 |
+ |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
| 3486 |
+ |
esac |
| 3487 |
+ |
|
| 3488 |
+ |
|
| 3489 |
+ |
$ac_path_EGREP_found && break 3 |
| 3490 |
+ |
done |
| 3491 |
+ |
done |
| 3492 |
+ |
|
| 3493 |
+ |
done |
| 3494 |
+ |
IFS=$as_save_IFS |
| 3495 |
+ |
|
| 3496 |
+ |
|
| 3497 |
|
fi |
| 3498 |
< |
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 |
| 3499 |
< |
echo "${ECHO_T}$ac_cv_prog_egrep" >&6 |
| 3500 |
< |
EGREP=$ac_cv_prog_egrep |
| 3498 |
> |
|
| 3499 |
> |
EGREP="$ac_cv_path_EGREP" |
| 3500 |
> |
if test -z "$EGREP"; then |
| 3501 |
> |
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 |
| 3502 |
> |
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} |
| 3503 |
> |
{ (exit 1); exit 1; }; } |
| 3504 |
> |
fi |
| 3505 |
> |
|
| 3506 |
> |
else |
| 3507 |
> |
ac_cv_path_EGREP=$EGREP |
| 3508 |
> |
fi |
| 3509 |
> |
|
| 3510 |
> |
|
| 3511 |
> |
fi |
| 3512 |
> |
fi |
| 3513 |
> |
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 |
| 3514 |
> |
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } |
| 3515 |
> |
EGREP="$ac_cv_path_EGREP" |
| 3516 |
|
|
| 3517 |
|
|
| 3518 |
|
if test $ac_cv_c_compiler_gnu = yes; then |
| 3519 |
< |
echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5 |
| 3520 |
< |
echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6 |
| 3519 |
> |
{ echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5 |
| 3520 |
> |
echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; } |
| 3521 |
|
if test "${ac_cv_prog_gcc_traditional+set}" = set; then |
| 3522 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3523 |
|
else |
| 3558 |
|
|
| 3559 |
|
fi |
| 3560 |
|
fi |
| 3561 |
< |
echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5 |
| 3562 |
< |
echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6 |
| 3561 |
> |
{ echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5 |
| 3562 |
> |
echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; } |
| 3563 |
|
if test $ac_cv_prog_gcc_traditional = yes; then |
| 3564 |
|
CC="$CC -traditional" |
| 3565 |
|
fi |
| 3566 |
|
fi |
| 3567 |
|
|
| 3568 |
< |
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
| 3569 |
< |
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 |
| 3570 |
< |
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` |
| 3571 |
< |
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then |
| 3568 |
> |
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
| 3569 |
> |
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; } |
| 3570 |
> |
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
| 3571 |
> |
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then |
| 3572 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3573 |
|
else |
| 3574 |
|
cat >conftest.make <<\_ACEOF |
| 3575 |
+ |
SHELL = /bin/sh |
| 3576 |
|
all: |
| 3577 |
< |
@echo 'ac_maketemp="$(MAKE)"' |
| 3577 |
> |
@echo '@@@%%%=$(MAKE)=@@@%%%' |
| 3578 |
|
_ACEOF |
| 3579 |
|
# GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
| 3580 |
< |
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` |
| 3581 |
< |
if test -n "$ac_maketemp"; then |
| 3582 |
< |
eval ac_cv_prog_make_${ac_make}_set=yes |
| 3583 |
< |
else |
| 3584 |
< |
eval ac_cv_prog_make_${ac_make}_set=no |
| 3585 |
< |
fi |
| 3580 |
> |
case `${MAKE-make} -f conftest.make 2>/dev/null` in |
| 3581 |
> |
*@@@%%%=?*=@@@%%%*) |
| 3582 |
> |
eval ac_cv_prog_make_${ac_make}_set=yes;; |
| 3583 |
> |
*) |
| 3584 |
> |
eval ac_cv_prog_make_${ac_make}_set=no;; |
| 3585 |
> |
esac |
| 3586 |
|
rm -f conftest.make |
| 3587 |
|
fi |
| 3588 |
< |
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then |
| 3589 |
< |
echo "$as_me:$LINENO: result: yes" >&5 |
| 3590 |
< |
echo "${ECHO_T}yes" >&6 |
| 3588 |
> |
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
| 3589 |
> |
{ echo "$as_me:$LINENO: result: yes" >&5 |
| 3590 |
> |
echo "${ECHO_T}yes" >&6; } |
| 3591 |
|
SET_MAKE= |
| 3592 |
|
else |
| 3593 |
< |
echo "$as_me:$LINENO: result: no" >&5 |
| 3594 |
< |
echo "${ECHO_T}no" >&6 |
| 3593 |
> |
{ echo "$as_me:$LINENO: result: no" >&5 |
| 3594 |
> |
echo "${ECHO_T}no" >&6; } |
| 3595 |
|
SET_MAKE="MAKE=${MAKE-make}" |
| 3596 |
|
fi |
| 3597 |
|
|
| 3598 |
|
ac_aux_dir= |
| 3599 |
< |
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do |
| 3600 |
< |
if test -f $ac_dir/install-sh; then |
| 3599 |
> |
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
| 3600 |
> |
if test -f "$ac_dir/install-sh"; then |
| 3601 |
|
ac_aux_dir=$ac_dir |
| 3602 |
|
ac_install_sh="$ac_aux_dir/install-sh -c" |
| 3603 |
|
break |
| 3604 |
< |
elif test -f $ac_dir/install.sh; then |
| 3604 |
> |
elif test -f "$ac_dir/install.sh"; then |
| 3605 |
|
ac_aux_dir=$ac_dir |
| 3606 |
|
ac_install_sh="$ac_aux_dir/install.sh -c" |
| 3607 |
|
break |
| 3608 |
< |
elif test -f $ac_dir/shtool; then |
| 3608 |
> |
elif test -f "$ac_dir/shtool"; then |
| 3609 |
|
ac_aux_dir=$ac_dir |
| 3610 |
|
ac_install_sh="$ac_aux_dir/shtool install -c" |
| 3611 |
|
break |
| 3612 |
|
fi |
| 3613 |
|
done |
| 3614 |
|
if test -z "$ac_aux_dir"; then |
| 3615 |
< |
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 |
| 3616 |
< |
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} |
| 3615 |
> |
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 |
| 3616 |
> |
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} |
| 3617 |
|
{ (exit 1); exit 1; }; } |
| 3618 |
|
fi |
| 3619 |
< |
ac_config_guess="$SHELL $ac_aux_dir/config.guess" |
| 3620 |
< |
ac_config_sub="$SHELL $ac_aux_dir/config.sub" |
| 3621 |
< |
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. |
| 3619 |
> |
|
| 3620 |
> |
# These three variables are undocumented and unsupported, |
| 3621 |
> |
# and are intended to be withdrawn in a future Autoconf release. |
| 3622 |
> |
# They can cause serious problems if a builder's source tree is in a directory |
| 3623 |
> |
# whose full name contains unusual characters. |
| 3624 |
> |
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. |
| 3625 |
> |
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. |
| 3626 |
> |
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. |
| 3627 |
> |
|
| 3628 |
|
|
| 3629 |
|
# Find a good install program. We prefer a C program (faster), |
| 3630 |
|
# so one script is as good as another. But avoid the broken or |
| 3639 |
|
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
| 3640 |
|
# OS/2's system install, which has a completely different semantic |
| 3641 |
|
# ./install, which can be erroneously created by make from ./install.sh. |
| 3642 |
< |
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
| 3643 |
< |
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 |
| 3642 |
> |
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
| 3643 |
> |
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } |
| 3644 |
|
if test -z "$INSTALL"; then |
| 3645 |
|
if test "${ac_cv_path_install+set}" = set; then |
| 3646 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3662 |
|
# by default. |
| 3663 |
|
for ac_prog in ginstall scoinst install; do |
| 3664 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3665 |
< |
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
| 3665 |
> |
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then |
| 3666 |
|
if test $ac_prog = install && |
| 3667 |
|
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
| 3668 |
|
# AIX install. It has an incompatible calling convention. |
| 3681 |
|
;; |
| 3682 |
|
esac |
| 3683 |
|
done |
| 3684 |
+ |
IFS=$as_save_IFS |
| 3685 |
|
|
| 3686 |
|
|
| 3687 |
|
fi |
| 3688 |
|
if test "${ac_cv_path_install+set}" = set; then |
| 3689 |
|
INSTALL=$ac_cv_path_install |
| 3690 |
|
else |
| 3691 |
< |
# As a last resort, use the slow shell script. We don't cache a |
| 3692 |
< |
# path for INSTALL within a source directory, because that will |
| 3691 |
> |
# As a last resort, use the slow shell script. Don't cache a |
| 3692 |
> |
# value for INSTALL within a source directory, because that will |
| 3693 |
|
# break other packages using the cache if that directory is |
| 3694 |
< |
# removed, or if the path is relative. |
| 3694 |
> |
# removed, or if the value is a relative name. |
| 3695 |
|
INSTALL=$ac_install_sh |
| 3696 |
|
fi |
| 3697 |
|
fi |
| 3698 |
< |
echo "$as_me:$LINENO: result: $INSTALL" >&5 |
| 3699 |
< |
echo "${ECHO_T}$INSTALL" >&6 |
| 3698 |
> |
{ echo "$as_me:$LINENO: result: $INSTALL" >&5 |
| 3699 |
> |
echo "${ECHO_T}$INSTALL" >&6; } |
| 3700 |
|
|
| 3701 |
|
# Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
| 3702 |
|
# It thinks the first close brace ends the variable substitution. |
| 3708 |
|
|
| 3709 |
|
# Extract the first word of "rm", so it can be a program name with args. |
| 3710 |
|
set dummy rm; ac_word=$2 |
| 3711 |
< |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 3712 |
< |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 3711 |
> |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 3712 |
> |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 3713 |
|
if test "${ac_cv_path_RM+set}" = set; then |
| 3714 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3715 |
|
else |
| 3724 |
|
IFS=$as_save_IFS |
| 3725 |
|
test -z "$as_dir" && as_dir=. |
| 3726 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3727 |
< |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 3727 |
> |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 3728 |
|
ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext" |
| 3729 |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3730 |
|
break 2 |
| 3731 |
|
fi |
| 3732 |
|
done |
| 3733 |
|
done |
| 3734 |
+ |
IFS=$as_save_IFS |
| 3735 |
|
|
| 3736 |
|
;; |
| 3737 |
|
esac |
| 3738 |
|
fi |
| 3739 |
|
RM=$ac_cv_path_RM |
| 3225 |
– |
|
| 3740 |
|
if test -n "$RM"; then |
| 3741 |
< |
echo "$as_me:$LINENO: result: $RM" >&5 |
| 3742 |
< |
echo "${ECHO_T}$RM" >&6 |
| 3741 |
> |
{ echo "$as_me:$LINENO: result: $RM" >&5 |
| 3742 |
> |
echo "${ECHO_T}$RM" >&6; } |
| 3743 |
|
else |
| 3744 |
< |
echo "$as_me:$LINENO: result: no" >&5 |
| 3745 |
< |
echo "${ECHO_T}no" >&6 |
| 3744 |
> |
{ echo "$as_me:$LINENO: result: no" >&5 |
| 3745 |
> |
echo "${ECHO_T}no" >&6; } |
| 3746 |
|
fi |
| 3747 |
|
|
| 3748 |
+ |
|
| 3749 |
|
# Extract the first word of "cp", so it can be a program name with args. |
| 3750 |
|
set dummy cp; ac_word=$2 |
| 3751 |
< |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 3752 |
< |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 3751 |
> |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 3752 |
> |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 3753 |
|
if test "${ac_cv_path_CP+set}" = set; then |
| 3754 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3755 |
|
else |
| 3764 |
|
IFS=$as_save_IFS |
| 3765 |
|
test -z "$as_dir" && as_dir=. |
| 3766 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3767 |
< |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 3767 |
> |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 3768 |
|
ac_cv_path_CP="$as_dir/$ac_word$ac_exec_ext" |
| 3769 |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3770 |
|
break 2 |
| 3771 |
|
fi |
| 3772 |
|
done |
| 3773 |
|
done |
| 3774 |
+ |
IFS=$as_save_IFS |
| 3775 |
|
|
| 3776 |
|
;; |
| 3777 |
|
esac |
| 3778 |
|
fi |
| 3779 |
|
CP=$ac_cv_path_CP |
| 3264 |
– |
|
| 3780 |
|
if test -n "$CP"; then |
| 3781 |
< |
echo "$as_me:$LINENO: result: $CP" >&5 |
| 3782 |
< |
echo "${ECHO_T}$CP" >&6 |
| 3781 |
> |
{ echo "$as_me:$LINENO: result: $CP" >&5 |
| 3782 |
> |
echo "${ECHO_T}$CP" >&6; } |
| 3783 |
|
else |
| 3784 |
< |
echo "$as_me:$LINENO: result: no" >&5 |
| 3785 |
< |
echo "${ECHO_T}no" >&6 |
| 3784 |
> |
{ echo "$as_me:$LINENO: result: no" >&5 |
| 3785 |
> |
echo "${ECHO_T}no" >&6; } |
| 3786 |
|
fi |
| 3787 |
|
|
| 3788 |
+ |
|
| 3789 |
|
# Extract the first word of "mv", so it can be a program name with args. |
| 3790 |
|
set dummy mv; ac_word=$2 |
| 3791 |
< |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 3792 |
< |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 3791 |
> |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 3792 |
> |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 3793 |
|
if test "${ac_cv_path_MV+set}" = set; then |
| 3794 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3795 |
|
else |
| 3804 |
|
IFS=$as_save_IFS |
| 3805 |
|
test -z "$as_dir" && as_dir=. |
| 3806 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3807 |
< |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 3807 |
> |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 3808 |
|
ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext" |
| 3809 |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3810 |
|
break 2 |
| 3811 |
|
fi |
| 3812 |
|
done |
| 3813 |
|
done |
| 3814 |
+ |
IFS=$as_save_IFS |
| 3815 |
|
|
| 3816 |
|
;; |
| 3817 |
|
esac |
| 3818 |
|
fi |
| 3819 |
|
MV=$ac_cv_path_MV |
| 3303 |
– |
|
| 3820 |
|
if test -n "$MV"; then |
| 3821 |
< |
echo "$as_me:$LINENO: result: $MV" >&5 |
| 3822 |
< |
echo "${ECHO_T}$MV" >&6 |
| 3821 |
> |
{ echo "$as_me:$LINENO: result: $MV" >&5 |
| 3822 |
> |
echo "${ECHO_T}$MV" >&6; } |
| 3823 |
|
else |
| 3824 |
< |
echo "$as_me:$LINENO: result: no" >&5 |
| 3825 |
< |
echo "${ECHO_T}no" >&6 |
| 3824 |
> |
{ echo "$as_me:$LINENO: result: no" >&5 |
| 3825 |
> |
echo "${ECHO_T}no" >&6; } |
| 3826 |
|
fi |
| 3827 |
|
|
| 3828 |
+ |
|
| 3829 |
|
# Extract the first word of "ln", so it can be a program name with args. |
| 3830 |
|
set dummy ln; ac_word=$2 |
| 3831 |
< |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 3832 |
< |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 3831 |
> |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 3832 |
> |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 3833 |
|
if test "${ac_cv_path_LN+set}" = set; then |
| 3834 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3835 |
|
else |
| 3844 |
|
IFS=$as_save_IFS |
| 3845 |
|
test -z "$as_dir" && as_dir=. |
| 3846 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3847 |
< |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 3847 |
> |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 3848 |
|
ac_cv_path_LN="$as_dir/$ac_word$ac_exec_ext" |
| 3849 |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3850 |
|
break 2 |
| 3851 |
|
fi |
| 3852 |
|
done |
| 3853 |
|
done |
| 3854 |
+ |
IFS=$as_save_IFS |
| 3855 |
|
|
| 3856 |
|
;; |
| 3857 |
|
esac |
| 3858 |
|
fi |
| 3859 |
|
LN=$ac_cv_path_LN |
| 3342 |
– |
|
| 3860 |
|
if test -n "$LN"; then |
| 3861 |
< |
echo "$as_me:$LINENO: result: $LN" >&5 |
| 3862 |
< |
echo "${ECHO_T}$LN" >&6 |
| 3861 |
> |
{ echo "$as_me:$LINENO: result: $LN" >&5 |
| 3862 |
> |
echo "${ECHO_T}$LN" >&6; } |
| 3863 |
|
else |
| 3864 |
< |
echo "$as_me:$LINENO: result: no" >&5 |
| 3865 |
< |
echo "${ECHO_T}no" >&6 |
| 3864 |
> |
{ echo "$as_me:$LINENO: result: no" >&5 |
| 3865 |
> |
echo "${ECHO_T}no" >&6; } |
| 3866 |
|
fi |
| 3867 |
|
|
| 3868 |
+ |
|
| 3869 |
|
# Extract the first word of "sed", so it can be a program name with args. |
| 3870 |
|
set dummy sed; ac_word=$2 |
| 3871 |
< |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 3872 |
< |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 3871 |
> |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 3872 |
> |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 3873 |
|
if test "${ac_cv_path_SED+set}" = set; then |
| 3874 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3875 |
|
else |
| 3884 |
|
IFS=$as_save_IFS |
| 3885 |
|
test -z "$as_dir" && as_dir=. |
| 3886 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3887 |
< |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 3887 |
> |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 3888 |
|
ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext" |
| 3889 |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3890 |
|
break 2 |
| 3891 |
|
fi |
| 3892 |
|
done |
| 3893 |
|
done |
| 3894 |
+ |
IFS=$as_save_IFS |
| 3895 |
|
|
| 3896 |
|
;; |
| 3897 |
|
esac |
| 3898 |
|
fi |
| 3899 |
|
SED=$ac_cv_path_SED |
| 3381 |
– |
|
| 3900 |
|
if test -n "$SED"; then |
| 3901 |
< |
echo "$as_me:$LINENO: result: $SED" >&5 |
| 3902 |
< |
echo "${ECHO_T}$SED" >&6 |
| 3901 |
> |
{ echo "$as_me:$LINENO: result: $SED" >&5 |
| 3902 |
> |
echo "${ECHO_T}$SED" >&6; } |
| 3903 |
|
else |
| 3904 |
< |
echo "$as_me:$LINENO: result: no" >&5 |
| 3905 |
< |
echo "${ECHO_T}no" >&6 |
| 3904 |
> |
{ echo "$as_me:$LINENO: result: no" >&5 |
| 3905 |
> |
echo "${ECHO_T}no" >&6; } |
| 3906 |
|
fi |
| 3907 |
|
|
| 3908 |
+ |
|
| 3909 |
|
# Extract the first word of "ar", so it can be a program name with args. |
| 3910 |
|
set dummy ar; ac_word=$2 |
| 3911 |
< |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 3912 |
< |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 3911 |
> |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 3912 |
> |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 3913 |
|
if test "${ac_cv_path_AR+set}" = set; then |
| 3914 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3915 |
|
else |
| 3924 |
|
IFS=$as_save_IFS |
| 3925 |
|
test -z "$as_dir" && as_dir=. |
| 3926 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3927 |
< |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 3927 |
> |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 3928 |
|
ac_cv_path_AR="$as_dir/$ac_word$ac_exec_ext" |
| 3929 |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3930 |
|
break 2 |
| 3931 |
|
fi |
| 3932 |
|
done |
| 3933 |
|
done |
| 3934 |
+ |
IFS=$as_save_IFS |
| 3935 |
|
|
| 3936 |
|
;; |
| 3937 |
|
esac |
| 3938 |
|
fi |
| 3939 |
|
AR=$ac_cv_path_AR |
| 3420 |
– |
|
| 3940 |
|
if test -n "$AR"; then |
| 3941 |
< |
echo "$as_me:$LINENO: result: $AR" >&5 |
| 3942 |
< |
echo "${ECHO_T}$AR" >&6 |
| 3941 |
> |
{ echo "$as_me:$LINENO: result: $AR" >&5 |
| 3942 |
> |
echo "${ECHO_T}$AR" >&6; } |
| 3943 |
|
else |
| 3944 |
< |
echo "$as_me:$LINENO: result: no" >&5 |
| 3945 |
< |
echo "${ECHO_T}no" >&6 |
| 3944 |
> |
{ echo "$as_me:$LINENO: result: no" >&5 |
| 3945 |
> |
echo "${ECHO_T}no" >&6; } |
| 3946 |
|
fi |
| 3947 |
|
|
| 3948 |
+ |
|
| 3949 |
|
# Extract the first word of "ld", so it can be a program name with args. |
| 3950 |
|
set dummy ld; ac_word=$2 |
| 3951 |
< |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 3952 |
< |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 3951 |
> |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 3952 |
> |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 3953 |
|
if test "${ac_cv_path_LD+set}" = set; then |
| 3954 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3955 |
|
else |
| 3964 |
|
IFS=$as_save_IFS |
| 3965 |
|
test -z "$as_dir" && as_dir=. |
| 3966 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3967 |
< |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 3967 |
> |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 3968 |
|
ac_cv_path_LD="$as_dir/$ac_word$ac_exec_ext" |
| 3969 |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3970 |
|
break 2 |
| 3971 |
|
fi |
| 3972 |
|
done |
| 3973 |
|
done |
| 3974 |
+ |
IFS=$as_save_IFS |
| 3975 |
|
|
| 3976 |
|
;; |
| 3977 |
|
esac |
| 3978 |
|
fi |
| 3979 |
|
LD=$ac_cv_path_LD |
| 3459 |
– |
|
| 3980 |
|
if test -n "$LD"; then |
| 3981 |
< |
echo "$as_me:$LINENO: result: $LD" >&5 |
| 3982 |
< |
echo "${ECHO_T}$LD" >&6 |
| 3981 |
> |
{ echo "$as_me:$LINENO: result: $LD" >&5 |
| 3982 |
> |
echo "${ECHO_T}$LD" >&6; } |
| 3983 |
|
else |
| 3984 |
< |
echo "$as_me:$LINENO: result: no" >&5 |
| 3985 |
< |
echo "${ECHO_T}no" >&6 |
| 3984 |
> |
{ echo "$as_me:$LINENO: result: no" >&5 |
| 3985 |
> |
echo "${ECHO_T}no" >&6; } |
| 3986 |
|
fi |
| 3987 |
|
|
| 3988 |
+ |
|
| 3989 |
|
# Extract the first word of "test", so it can be a program name with args. |
| 3990 |
|
set dummy test; ac_word=$2 |
| 3991 |
< |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 3992 |
< |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 3991 |
> |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 3992 |
> |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 3993 |
|
if test "${ac_cv_path_TEST+set}" = set; then |
| 3994 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3995 |
|
else |
| 4004 |
|
IFS=$as_save_IFS |
| 4005 |
|
test -z "$as_dir" && as_dir=. |
| 4006 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 4007 |
< |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 4007 |
> |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 4008 |
|
ac_cv_path_TEST="$as_dir/$ac_word$ac_exec_ext" |
| 4009 |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 4010 |
|
break 2 |
| 4011 |
|
fi |
| 4012 |
|
done |
| 4013 |
|
done |
| 4014 |
+ |
IFS=$as_save_IFS |
| 4015 |
|
|
| 4016 |
|
test -z "$ac_cv_path_TEST" && ac_cv_path_TEST="test" |
| 4017 |
|
;; |
| 4018 |
|
esac |
| 4019 |
|
fi |
| 4020 |
|
TEST=$ac_cv_path_TEST |
| 3499 |
– |
|
| 4021 |
|
if test -n "$TEST"; then |
| 4022 |
< |
echo "$as_me:$LINENO: result: $TEST" >&5 |
| 4023 |
< |
echo "${ECHO_T}$TEST" >&6 |
| 4022 |
> |
{ echo "$as_me:$LINENO: result: $TEST" >&5 |
| 4023 |
> |
echo "${ECHO_T}$TEST" >&6; } |
| 4024 |
|
else |
| 4025 |
< |
echo "$as_me:$LINENO: result: no" >&5 |
| 4026 |
< |
echo "${ECHO_T}no" >&6 |
| 4025 |
> |
{ echo "$as_me:$LINENO: result: no" >&5 |
| 4026 |
> |
echo "${ECHO_T}no" >&6; } |
| 4027 |
|
fi |
| 4028 |
|
|
| 4029 |
|
|
| 4030 |
+ |
|
| 4031 |
|
if test "$libexecdir" = '${exec_prefix}/libexec' && |
| 4032 |
|
test "$localstatedir" = '${prefix}/var'; then |
| 4033 |
|
libexecdir='${bindir}' |
| 4034 |
|
localstatedir='${prefix}' |
| 4035 |
|
fi |
| 4036 |
|
|
| 4037 |
< |
echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
| 4038 |
< |
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 |
| 4037 |
> |
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
| 4038 |
> |
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } |
| 4039 |
|
if test "${ac_cv_header_stdc+set}" = set; then |
| 4040 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 4041 |
|
else |
| 4059 |
|
} |
| 4060 |
|
_ACEOF |
| 4061 |
|
rm -f conftest.$ac_objext |
| 4062 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 4063 |
< |
(eval $ac_compile) 2>conftest.er1 |
| 4062 |
> |
if { (ac_try="$ac_compile" |
| 4063 |
> |
case "(($ac_try" in |
| 4064 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 4065 |
> |
*) ac_try_echo=$ac_try;; |
| 4066 |
> |
esac |
| 4067 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 4068 |
> |
(eval "$ac_compile") 2>conftest.er1 |
| 4069 |
|
ac_status=$? |
| 4070 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 4071 |
|
rm -f conftest.er1 |
| 4072 |
|
cat conftest.err >&5 |
| 4073 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4074 |
< |
(exit $ac_status); } && |
| 4075 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
| 4076 |
< |
|| test ! -s conftest.err' |
| 4077 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3551 |
< |
(eval $ac_try) 2>&5 |
| 3552 |
< |
ac_status=$? |
| 3553 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3554 |
< |
(exit $ac_status); }; } && |
| 3555 |
< |
{ ac_try='test -s conftest.$ac_objext' |
| 3556 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3557 |
< |
(eval $ac_try) 2>&5 |
| 3558 |
< |
ac_status=$? |
| 3559 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3560 |
< |
(exit $ac_status); }; }; then |
| 4074 |
> |
(exit $ac_status); } && { |
| 4075 |
> |
test -z "$ac_c_werror_flag" || |
| 4076 |
> |
test ! -s conftest.err |
| 4077 |
> |
} && test -s conftest.$ac_objext; then |
| 4078 |
|
ac_cv_header_stdc=yes |
| 4079 |
|
else |
| 4080 |
|
echo "$as_me: failed program was:" >&5 |
| 4081 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 4082 |
|
|
| 4083 |
< |
ac_cv_header_stdc=no |
| 4083 |
> |
ac_cv_header_stdc=no |
| 4084 |
|
fi |
| 4085 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4085 |
> |
|
| 4086 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4087 |
|
|
| 4088 |
|
if test $ac_cv_header_stdc = yes; then |
| 4089 |
|
# SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
| 4139 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 4140 |
|
/* end confdefs.h. */ |
| 4141 |
|
#include <ctype.h> |
| 4142 |
+ |
#include <stdlib.h> |
| 4143 |
|
#if ((' ' & 0x0FF) == 0x020) |
| 4144 |
|
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
| 4145 |
|
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
| 4159 |
|
for (i = 0; i < 256; i++) |
| 4160 |
|
if (XOR (islower (i), ISLOWER (i)) |
| 4161 |
|
|| toupper (i) != TOUPPER (i)) |
| 4162 |
< |
exit(2); |
| 4163 |
< |
exit (0); |
| 4162 |
> |
return 2; |
| 4163 |
> |
return 0; |
| 4164 |
|
} |
| 4165 |
|
_ACEOF |
| 4166 |
|
rm -f conftest$ac_exeext |
| 4167 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 4168 |
< |
(eval $ac_link) 2>&5 |
| 4167 |
> |
if { (ac_try="$ac_link" |
| 4168 |
> |
case "(($ac_try" in |
| 4169 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 4170 |
> |
*) ac_try_echo=$ac_try;; |
| 4171 |
> |
esac |
| 4172 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 4173 |
> |
(eval "$ac_link") 2>&5 |
| 4174 |
|
ac_status=$? |
| 4175 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4176 |
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
| 4177 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4178 |
< |
(eval $ac_try) 2>&5 |
| 4177 |
> |
{ (case "(($ac_try" in |
| 4178 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 4179 |
> |
*) ac_try_echo=$ac_try;; |
| 4180 |
> |
esac |
| 4181 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 4182 |
> |
(eval "$ac_try") 2>&5 |
| 4183 |
|
ac_status=$? |
| 4184 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4185 |
|
(exit $ac_status); }; }; then |
| 4192 |
|
( exit $ac_status ) |
| 4193 |
|
ac_cv_header_stdc=no |
| 4194 |
|
fi |
| 4195 |
< |
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 4195 |
> |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 4196 |
|
fi |
| 4197 |
+ |
|
| 4198 |
+ |
|
| 4199 |
|
fi |
| 4200 |
|
fi |
| 4201 |
< |
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
| 4202 |
< |
echo "${ECHO_T}$ac_cv_header_stdc" >&6 |
| 4201 |
> |
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
| 4202 |
> |
echo "${ECHO_T}$ac_cv_header_stdc" >&6; } |
| 4203 |
|
if test $ac_cv_header_stdc = yes; then |
| 4204 |
|
|
| 4205 |
|
cat >>confdefs.h <<\_ACEOF |
| 4223 |
|
inttypes.h stdint.h unistd.h |
| 4224 |
|
do |
| 4225 |
|
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 4226 |
< |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 4227 |
< |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| 4228 |
< |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 4226 |
> |
{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 4227 |
> |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
| 4228 |
> |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 4229 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 4230 |
|
else |
| 4231 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 4239 |
|
#include <$ac_header> |
| 4240 |
|
_ACEOF |
| 4241 |
|
rm -f conftest.$ac_objext |
| 4242 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 4243 |
< |
(eval $ac_compile) 2>conftest.er1 |
| 4242 |
> |
if { (ac_try="$ac_compile" |
| 4243 |
> |
case "(($ac_try" in |
| 4244 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 4245 |
> |
*) ac_try_echo=$ac_try;; |
| 4246 |
> |
esac |
| 4247 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 4248 |
> |
(eval "$ac_compile") 2>conftest.er1 |
| 4249 |
|
ac_status=$? |
| 4250 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 4251 |
|
rm -f conftest.er1 |
| 4252 |
|
cat conftest.err >&5 |
| 4253 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4254 |
< |
(exit $ac_status); } && |
| 4255 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
| 4256 |
< |
|| test ! -s conftest.err' |
| 4257 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3723 |
< |
(eval $ac_try) 2>&5 |
| 3724 |
< |
ac_status=$? |
| 3725 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3726 |
< |
(exit $ac_status); }; } && |
| 3727 |
< |
{ ac_try='test -s conftest.$ac_objext' |
| 3728 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3729 |
< |
(eval $ac_try) 2>&5 |
| 3730 |
< |
ac_status=$? |
| 3731 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3732 |
< |
(exit $ac_status); }; }; then |
| 4254 |
> |
(exit $ac_status); } && { |
| 4255 |
> |
test -z "$ac_c_werror_flag" || |
| 4256 |
> |
test ! -s conftest.err |
| 4257 |
> |
} && test -s conftest.$ac_objext; then |
| 4258 |
|
eval "$as_ac_Header=yes" |
| 4259 |
|
else |
| 4260 |
|
echo "$as_me: failed program was:" >&5 |
| 4261 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 4262 |
|
|
| 4263 |
< |
eval "$as_ac_Header=no" |
| 4263 |
> |
eval "$as_ac_Header=no" |
| 4264 |
|
fi |
| 4265 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4265 |
> |
|
| 4266 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4267 |
|
fi |
| 4268 |
< |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 4269 |
< |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 4268 |
> |
ac_res=`eval echo '${'$as_ac_Header'}'` |
| 4269 |
> |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 4270 |
> |
echo "${ECHO_T}$ac_res" >&6; } |
| 4271 |
|
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
| 4272 |
|
cat >>confdefs.h <<_ACEOF |
| 4273 |
|
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 4293 |
|
for ac_header in crypt.h inttypes.h stdint.h sys/resource.h sys/param.h errno.h sys/syslog.h stddef.h libgen.h sys/wait.h wait.h link.h |
| 4294 |
|
do |
| 4295 |
|
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 4296 |
< |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 4297 |
< |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 4298 |
< |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| 4299 |
< |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 4296 |
> |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 4297 |
> |
{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 4298 |
> |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
| 4299 |
> |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 4300 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 4301 |
|
fi |
| 4302 |
< |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 4303 |
< |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 4302 |
> |
ac_res=`eval echo '${'$as_ac_Header'}'` |
| 4303 |
> |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 4304 |
> |
echo "${ECHO_T}$ac_res" >&6; } |
| 4305 |
|
else |
| 4306 |
|
# Is the header compilable? |
| 4307 |
< |
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 4308 |
< |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
| 4307 |
> |
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 4308 |
> |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
| 4309 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 4310 |
|
/* confdefs.h. */ |
| 4311 |
|
_ACEOF |
| 4316 |
|
#include <$ac_header> |
| 4317 |
|
_ACEOF |
| 4318 |
|
rm -f conftest.$ac_objext |
| 4319 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 4320 |
< |
(eval $ac_compile) 2>conftest.er1 |
| 4319 |
> |
if { (ac_try="$ac_compile" |
| 4320 |
> |
case "(($ac_try" in |
| 4321 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 4322 |
> |
*) ac_try_echo=$ac_try;; |
| 4323 |
> |
esac |
| 4324 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 4325 |
> |
(eval "$ac_compile") 2>conftest.er1 |
| 4326 |
|
ac_status=$? |
| 4327 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 4328 |
|
rm -f conftest.er1 |
| 4329 |
|
cat conftest.err >&5 |
| 4330 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4331 |
< |
(exit $ac_status); } && |
| 4332 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
| 4333 |
< |
|| test ! -s conftest.err' |
| 4334 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3802 |
< |
(eval $ac_try) 2>&5 |
| 3803 |
< |
ac_status=$? |
| 3804 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3805 |
< |
(exit $ac_status); }; } && |
| 3806 |
< |
{ ac_try='test -s conftest.$ac_objext' |
| 3807 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3808 |
< |
(eval $ac_try) 2>&5 |
| 3809 |
< |
ac_status=$? |
| 3810 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3811 |
< |
(exit $ac_status); }; }; then |
| 4331 |
> |
(exit $ac_status); } && { |
| 4332 |
> |
test -z "$ac_c_werror_flag" || |
| 4333 |
> |
test ! -s conftest.err |
| 4334 |
> |
} && test -s conftest.$ac_objext; then |
| 4335 |
|
ac_header_compiler=yes |
| 4336 |
|
else |
| 4337 |
|
echo "$as_me: failed program was:" >&5 |
| 4338 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 4339 |
|
|
| 4340 |
< |
ac_header_compiler=no |
| 4340 |
> |
ac_header_compiler=no |
| 4341 |
|
fi |
| 4342 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4343 |
< |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 4344 |
< |
echo "${ECHO_T}$ac_header_compiler" >&6 |
| 4342 |
> |
|
| 4343 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4344 |
> |
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 4345 |
> |
echo "${ECHO_T}$ac_header_compiler" >&6; } |
| 4346 |
|
|
| 4347 |
|
# Is the header present? |
| 4348 |
< |
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 4349 |
< |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
| 4348 |
> |
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 4349 |
> |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
| 4350 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 4351 |
|
/* confdefs.h. */ |
| 4352 |
|
_ACEOF |
| 4355 |
|
/* end confdefs.h. */ |
| 4356 |
|
#include <$ac_header> |
| 4357 |
|
_ACEOF |
| 4358 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 4359 |
< |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 4358 |
> |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 4359 |
> |
case "(($ac_try" in |
| 4360 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 4361 |
> |
*) ac_try_echo=$ac_try;; |
| 4362 |
> |
esac |
| 4363 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 4364 |
> |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
| 4365 |
|
ac_status=$? |
| 4366 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 4367 |
|
rm -f conftest.er1 |
| 4368 |
|
cat conftest.err >&5 |
| 4369 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4370 |
< |
(exit $ac_status); } >/dev/null; then |
| 4371 |
< |
if test -s conftest.err; then |
| 4372 |
< |
ac_cpp_err=$ac_c_preproc_warn_flag |
| 4373 |
< |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| 3845 |
< |
else |
| 3846 |
< |
ac_cpp_err= |
| 3847 |
< |
fi |
| 3848 |
< |
else |
| 3849 |
< |
ac_cpp_err=yes |
| 3850 |
< |
fi |
| 3851 |
< |
if test -z "$ac_cpp_err"; then |
| 4370 |
> |
(exit $ac_status); } >/dev/null && { |
| 4371 |
> |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 4372 |
> |
test ! -s conftest.err |
| 4373 |
> |
}; then |
| 4374 |
|
ac_header_preproc=yes |
| 4375 |
|
else |
| 4376 |
|
echo "$as_me: failed program was:" >&5 |
| 4378 |
|
|
| 4379 |
|
ac_header_preproc=no |
| 4380 |
|
fi |
| 4381 |
+ |
|
| 4382 |
|
rm -f conftest.err conftest.$ac_ext |
| 4383 |
< |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 4384 |
< |
echo "${ECHO_T}$ac_header_preproc" >&6 |
| 4383 |
> |
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 4384 |
> |
echo "${ECHO_T}$ac_header_preproc" >&6; } |
| 4385 |
|
|
| 4386 |
|
# So? What about this header? |
| 4387 |
|
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| 4405 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
| 4406 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
| 4407 |
|
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
| 4408 |
< |
( |
| 3886 |
< |
cat <<\_ASBOX |
| 3887 |
< |
## -------------------------------------- ## |
| 3888 |
< |
## Report this to the ircd-hybrid lists. ## |
| 3889 |
< |
## -------------------------------------- ## |
| 3890 |
< |
_ASBOX |
| 3891 |
< |
) | |
| 3892 |
< |
sed "s/^/$as_me: WARNING: /" >&2 |
| 4408 |
> |
|
| 4409 |
|
;; |
| 4410 |
|
esac |
| 4411 |
< |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 4412 |
< |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| 4413 |
< |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 4411 |
> |
{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 4412 |
> |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
| 4413 |
> |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 4414 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 4415 |
|
else |
| 4416 |
|
eval "$as_ac_Header=\$ac_header_preproc" |
| 4417 |
|
fi |
| 4418 |
< |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 4419 |
< |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 4418 |
> |
ac_res=`eval echo '${'$as_ac_Header'}'` |
| 4419 |
> |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 4420 |
> |
echo "${ECHO_T}$ac_res" >&6; } |
| 4421 |
|
|
| 4422 |
|
fi |
| 4423 |
|
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
| 4431 |
|
|
| 4432 |
|
|
| 4433 |
|
|
| 4434 |
< |
echo "$as_me:$LINENO: checking for library containing socket" >&5 |
| 4435 |
< |
echo $ECHO_N "checking for library containing socket... $ECHO_C" >&6 |
| 4434 |
> |
{ echo "$as_me:$LINENO: checking for library containing socket" >&5 |
| 4435 |
> |
echo $ECHO_N "checking for library containing socket... $ECHO_C" >&6; } |
| 4436 |
|
if test "${ac_cv_search_socket+set}" = set; then |
| 4437 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 4438 |
|
else |
| 4439 |
|
ac_func_search_save_LIBS=$LIBS |
| 3923 |
– |
ac_cv_search_socket=no |
| 4440 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 4441 |
|
/* confdefs.h. */ |
| 4442 |
|
_ACEOF |
| 4444 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 4445 |
|
/* end confdefs.h. */ |
| 4446 |
|
|
| 4447 |
< |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 4447 |
> |
/* Override any GCC internal prototype to avoid an error. |
| 4448 |
> |
Use char because int might match the return type of a GCC |
| 4449 |
> |
builtin and then its argument prototype would still apply. */ |
| 4450 |
|
#ifdef __cplusplus |
| 4451 |
|
extern "C" |
| 4452 |
|
#endif |
| 3935 |
– |
/* We use char because int might match the return type of a gcc2 |
| 3936 |
– |
builtin and then its argument prototype would still apply. */ |
| 4453 |
|
char socket (); |
| 4454 |
|
int |
| 4455 |
|
main () |
| 4456 |
|
{ |
| 4457 |
< |
socket (); |
| 4457 |
> |
return socket (); |
| 4458 |
|
; |
| 4459 |
|
return 0; |
| 4460 |
|
} |
| 4461 |
|
_ACEOF |
| 4462 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 4463 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 4464 |
< |
(eval $ac_link) 2>conftest.er1 |
| 4462 |
> |
for ac_lib in '' socket; do |
| 4463 |
> |
if test -z "$ac_lib"; then |
| 4464 |
> |
ac_res="none required" |
| 4465 |
> |
else |
| 4466 |
> |
ac_res=-l$ac_lib |
| 4467 |
> |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 4468 |
> |
fi |
| 4469 |
> |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 4470 |
> |
if { (ac_try="$ac_link" |
| 4471 |
> |
case "(($ac_try" in |
| 4472 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 4473 |
> |
*) ac_try_echo=$ac_try;; |
| 4474 |
> |
esac |
| 4475 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 4476 |
> |
(eval "$ac_link") 2>conftest.er1 |
| 4477 |
|
ac_status=$? |
| 4478 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 4479 |
|
rm -f conftest.er1 |
| 4480 |
|
cat conftest.err >&5 |
| 4481 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4482 |
< |
(exit $ac_status); } && |
| 4483 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
| 4484 |
< |
|| test ! -s conftest.err' |
| 4485 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4486 |
< |
(eval $ac_try) 2>&5 |
| 4487 |
< |
ac_status=$? |
| 3960 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3961 |
< |
(exit $ac_status); }; } && |
| 3962 |
< |
{ ac_try='test -s conftest$ac_exeext' |
| 3963 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3964 |
< |
(eval $ac_try) 2>&5 |
| 3965 |
< |
ac_status=$? |
| 3966 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3967 |
< |
(exit $ac_status); }; }; then |
| 3968 |
< |
ac_cv_search_socket="none required" |
| 4482 |
> |
(exit $ac_status); } && { |
| 4483 |
> |
test -z "$ac_c_werror_flag" || |
| 4484 |
> |
test ! -s conftest.err |
| 4485 |
> |
} && test -s conftest$ac_exeext && |
| 4486 |
> |
$as_test_x conftest$ac_exeext; then |
| 4487 |
> |
ac_cv_search_socket=$ac_res |
| 4488 |
|
else |
| 4489 |
|
echo "$as_me: failed program was:" >&5 |
| 4490 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 4491 |
|
|
| 3973 |
– |
fi |
| 3974 |
– |
rm -f conftest.err conftest.$ac_objext \ |
| 3975 |
– |
conftest$ac_exeext conftest.$ac_ext |
| 3976 |
– |
if test "$ac_cv_search_socket" = no; then |
| 3977 |
– |
for ac_lib in socket; do |
| 3978 |
– |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 3979 |
– |
cat >conftest.$ac_ext <<_ACEOF |
| 3980 |
– |
/* confdefs.h. */ |
| 3981 |
– |
_ACEOF |
| 3982 |
– |
cat confdefs.h >>conftest.$ac_ext |
| 3983 |
– |
cat >>conftest.$ac_ext <<_ACEOF |
| 3984 |
– |
/* end confdefs.h. */ |
| 4492 |
|
|
| 4493 |
< |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 3987 |
< |
#ifdef __cplusplus |
| 3988 |
< |
extern "C" |
| 3989 |
< |
#endif |
| 3990 |
< |
/* We use char because int might match the return type of a gcc2 |
| 3991 |
< |
builtin and then its argument prototype would still apply. */ |
| 3992 |
< |
char socket (); |
| 3993 |
< |
int |
| 3994 |
< |
main () |
| 3995 |
< |
{ |
| 3996 |
< |
socket (); |
| 3997 |
< |
; |
| 3998 |
< |
return 0; |
| 3999 |
< |
} |
| 4000 |
< |
_ACEOF |
| 4001 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 4002 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 4003 |
< |
(eval $ac_link) 2>conftest.er1 |
| 4004 |
< |
ac_status=$? |
| 4005 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
| 4006 |
< |
rm -f conftest.er1 |
| 4007 |
< |
cat conftest.err >&5 |
| 4008 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4009 |
< |
(exit $ac_status); } && |
| 4010 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
| 4011 |
< |
|| test ! -s conftest.err' |
| 4012 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4013 |
< |
(eval $ac_try) 2>&5 |
| 4014 |
< |
ac_status=$? |
| 4015 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4016 |
< |
(exit $ac_status); }; } && |
| 4017 |
< |
{ ac_try='test -s conftest$ac_exeext' |
| 4018 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4019 |
< |
(eval $ac_try) 2>&5 |
| 4020 |
< |
ac_status=$? |
| 4021 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4022 |
< |
(exit $ac_status); }; }; then |
| 4023 |
< |
ac_cv_search_socket="-l$ac_lib" |
| 4024 |
< |
break |
| 4025 |
< |
else |
| 4026 |
< |
echo "$as_me: failed program was:" >&5 |
| 4027 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 4493 |
> |
fi |
| 4494 |
|
|
| 4495 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 4496 |
+ |
conftest$ac_exeext |
| 4497 |
+ |
if test "${ac_cv_search_socket+set}" = set; then |
| 4498 |
+ |
break |
| 4499 |
|
fi |
| 4500 |
< |
rm -f conftest.err conftest.$ac_objext \ |
| 4501 |
< |
conftest$ac_exeext conftest.$ac_ext |
| 4502 |
< |
done |
| 4500 |
> |
done |
| 4501 |
> |
if test "${ac_cv_search_socket+set}" = set; then |
| 4502 |
> |
: |
| 4503 |
> |
else |
| 4504 |
> |
ac_cv_search_socket=no |
| 4505 |
|
fi |
| 4506 |
+ |
rm conftest.$ac_ext |
| 4507 |
|
LIBS=$ac_func_search_save_LIBS |
| 4508 |
|
fi |
| 4509 |
< |
echo "$as_me:$LINENO: result: $ac_cv_search_socket" >&5 |
| 4510 |
< |
echo "${ECHO_T}$ac_cv_search_socket" >&6 |
| 4511 |
< |
if test "$ac_cv_search_socket" != no; then |
| 4512 |
< |
test "$ac_cv_search_socket" = "none required" || LIBS="$ac_cv_search_socket $LIBS" |
| 4509 |
> |
{ echo "$as_me:$LINENO: result: $ac_cv_search_socket" >&5 |
| 4510 |
> |
echo "${ECHO_T}$ac_cv_search_socket" >&6; } |
| 4511 |
> |
ac_res=$ac_cv_search_socket |
| 4512 |
> |
if test "$ac_res" != no; then |
| 4513 |
> |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 4514 |
|
|
| 4515 |
|
else |
| 4516 |
|
{ { echo "$as_me:$LINENO: error: You have no socket()! Aborting." >&5 |
| 4519 |
|
fi |
| 4520 |
|
|
| 4521 |
|
|
| 4522 |
< |
echo "$as_me:$LINENO: checking for library containing inet_aton" >&5 |
| 4523 |
< |
echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6 |
| 4522 |
> |
{ echo "$as_me:$LINENO: checking for library containing inet_aton" >&5 |
| 4523 |
> |
echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6; } |
| 4524 |
|
if test "${ac_cv_search_inet_aton+set}" = set; then |
| 4525 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 4526 |
|
else |
| 4527 |
|
ac_func_search_save_LIBS=$LIBS |
| 4054 |
– |
ac_cv_search_inet_aton=no |
| 4528 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 4529 |
|
/* confdefs.h. */ |
| 4530 |
|
_ACEOF |
| 4532 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 4533 |
|
/* end confdefs.h. */ |
| 4534 |
|
|
| 4535 |
< |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 4535 |
> |
/* Override any GCC internal prototype to avoid an error. |
| 4536 |
> |
Use char because int might match the return type of a GCC |
| 4537 |
> |
builtin and then its argument prototype would still apply. */ |
| 4538 |
|
#ifdef __cplusplus |
| 4539 |
|
extern "C" |
| 4540 |
|
#endif |
| 4066 |
– |
/* We use char because int might match the return type of a gcc2 |
| 4067 |
– |
builtin and then its argument prototype would still apply. */ |
| 4541 |
|
char inet_aton (); |
| 4542 |
|
int |
| 4543 |
|
main () |
| 4544 |
|
{ |
| 4545 |
< |
inet_aton (); |
| 4545 |
> |
return inet_aton (); |
| 4546 |
|
; |
| 4547 |
|
return 0; |
| 4548 |
|
} |
| 4549 |
|
_ACEOF |
| 4550 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 4551 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 4552 |
< |
(eval $ac_link) 2>conftest.er1 |
| 4550 |
> |
for ac_lib in '' resolv; do |
| 4551 |
> |
if test -z "$ac_lib"; then |
| 4552 |
> |
ac_res="none required" |
| 4553 |
> |
else |
| 4554 |
> |
ac_res=-l$ac_lib |
| 4555 |
> |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 4556 |
> |
fi |
| 4557 |
> |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 4558 |
> |
if { (ac_try="$ac_link" |
| 4559 |
> |
case "(($ac_try" in |
| 4560 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 4561 |
> |
*) ac_try_echo=$ac_try;; |
| 4562 |
> |
esac |
| 4563 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 4564 |
> |
(eval "$ac_link") 2>conftest.er1 |
| 4565 |
|
ac_status=$? |
| 4566 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 4567 |
|
rm -f conftest.er1 |
| 4568 |
|
cat conftest.err >&5 |
| 4569 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4570 |
< |
(exit $ac_status); } && |
| 4571 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
| 4572 |
< |
|| test ! -s conftest.err' |
| 4573 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4574 |
< |
(eval $ac_try) 2>&5 |
| 4575 |
< |
ac_status=$? |
| 4091 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4092 |
< |
(exit $ac_status); }; } && |
| 4093 |
< |
{ ac_try='test -s conftest$ac_exeext' |
| 4094 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4095 |
< |
(eval $ac_try) 2>&5 |
| 4096 |
< |
ac_status=$? |
| 4097 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4098 |
< |
(exit $ac_status); }; }; then |
| 4099 |
< |
ac_cv_search_inet_aton="none required" |
| 4570 |
> |
(exit $ac_status); } && { |
| 4571 |
> |
test -z "$ac_c_werror_flag" || |
| 4572 |
> |
test ! -s conftest.err |
| 4573 |
> |
} && test -s conftest$ac_exeext && |
| 4574 |
> |
$as_test_x conftest$ac_exeext; then |
| 4575 |
> |
ac_cv_search_inet_aton=$ac_res |
| 4576 |
|
else |
| 4577 |
|
echo "$as_me: failed program was:" >&5 |
| 4578 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 4579 |
|
|
| 4104 |
– |
fi |
| 4105 |
– |
rm -f conftest.err conftest.$ac_objext \ |
| 4106 |
– |
conftest$ac_exeext conftest.$ac_ext |
| 4107 |
– |
if test "$ac_cv_search_inet_aton" = no; then |
| 4108 |
– |
for ac_lib in resolv; do |
| 4109 |
– |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 4110 |
– |
cat >conftest.$ac_ext <<_ACEOF |
| 4111 |
– |
/* confdefs.h. */ |
| 4112 |
– |
_ACEOF |
| 4113 |
– |
cat confdefs.h >>conftest.$ac_ext |
| 4114 |
– |
cat >>conftest.$ac_ext <<_ACEOF |
| 4115 |
– |
/* end confdefs.h. */ |
| 4580 |
|
|
| 4581 |
< |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 4118 |
< |
#ifdef __cplusplus |
| 4119 |
< |
extern "C" |
| 4120 |
< |
#endif |
| 4121 |
< |
/* We use char because int might match the return type of a gcc2 |
| 4122 |
< |
builtin and then its argument prototype would still apply. */ |
| 4123 |
< |
char inet_aton (); |
| 4124 |
< |
int |
| 4125 |
< |
main () |
| 4126 |
< |
{ |
| 4127 |
< |
inet_aton (); |
| 4128 |
< |
; |
| 4129 |
< |
return 0; |
| 4130 |
< |
} |
| 4131 |
< |
_ACEOF |
| 4132 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 4133 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 4134 |
< |
(eval $ac_link) 2>conftest.er1 |
| 4135 |
< |
ac_status=$? |
| 4136 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
| 4137 |
< |
rm -f conftest.er1 |
| 4138 |
< |
cat conftest.err >&5 |
| 4139 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4140 |
< |
(exit $ac_status); } && |
| 4141 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
| 4142 |
< |
|| test ! -s conftest.err' |
| 4143 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4144 |
< |
(eval $ac_try) 2>&5 |
| 4145 |
< |
ac_status=$? |
| 4146 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4147 |
< |
(exit $ac_status); }; } && |
| 4148 |
< |
{ ac_try='test -s conftest$ac_exeext' |
| 4149 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4150 |
< |
(eval $ac_try) 2>&5 |
| 4151 |
< |
ac_status=$? |
| 4152 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4153 |
< |
(exit $ac_status); }; }; then |
| 4154 |
< |
ac_cv_search_inet_aton="-l$ac_lib" |
| 4155 |
< |
break |
| 4156 |
< |
else |
| 4157 |
< |
echo "$as_me: failed program was:" >&5 |
| 4158 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 4581 |
> |
fi |
| 4582 |
|
|
| 4583 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 4584 |
+ |
conftest$ac_exeext |
| 4585 |
+ |
if test "${ac_cv_search_inet_aton+set}" = set; then |
| 4586 |
+ |
break |
| 4587 |
|
fi |
| 4588 |
< |
rm -f conftest.err conftest.$ac_objext \ |
| 4589 |
< |
conftest$ac_exeext conftest.$ac_ext |
| 4590 |
< |
done |
| 4588 |
> |
done |
| 4589 |
> |
if test "${ac_cv_search_inet_aton+set}" = set; then |
| 4590 |
> |
: |
| 4591 |
> |
else |
| 4592 |
> |
ac_cv_search_inet_aton=no |
| 4593 |
|
fi |
| 4594 |
+ |
rm conftest.$ac_ext |
| 4595 |
|
LIBS=$ac_func_search_save_LIBS |
| 4596 |
|
fi |
| 4597 |
< |
echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5 |
| 4598 |
< |
echo "${ECHO_T}$ac_cv_search_inet_aton" >&6 |
| 4599 |
< |
if test "$ac_cv_search_inet_aton" != no; then |
| 4600 |
< |
test "$ac_cv_search_inet_aton" = "none required" || LIBS="$ac_cv_search_inet_aton $LIBS" |
| 4597 |
> |
{ echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5 |
| 4598 |
> |
echo "${ECHO_T}$ac_cv_search_inet_aton" >&6; } |
| 4599 |
> |
ac_res=$ac_cv_search_inet_aton |
| 4600 |
> |
if test "$ac_res" != no; then |
| 4601 |
> |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 4602 |
|
|
| 4603 |
|
else |
| 4604 |
|
inet_misc=1; |
| 4608 |
|
|
| 4609 |
|
fi |
| 4610 |
|
|
| 4611 |
< |
echo "$as_me:$LINENO: checking for library containing inet_pton" >&5 |
| 4612 |
< |
echo $ECHO_N "checking for library containing inet_pton... $ECHO_C" >&6 |
| 4611 |
> |
{ echo "$as_me:$LINENO: checking for library containing inet_pton" >&5 |
| 4612 |
> |
echo $ECHO_N "checking for library containing inet_pton... $ECHO_C" >&6; } |
| 4613 |
|
if test "${ac_cv_search_inet_pton+set}" = set; then |
| 4614 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 4615 |
|
else |
| 4616 |
|
ac_func_search_save_LIBS=$LIBS |
| 4186 |
– |
ac_cv_search_inet_pton=no |
| 4617 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 4618 |
|
/* confdefs.h. */ |
| 4619 |
|
_ACEOF |
| 4621 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 4622 |
|
/* end confdefs.h. */ |
| 4623 |
|
|
| 4624 |
< |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 4624 |
> |
/* Override any GCC internal prototype to avoid an error. |
| 4625 |
> |
Use char because int might match the return type of a GCC |
| 4626 |
> |
builtin and then its argument prototype would still apply. */ |
| 4627 |
|
#ifdef __cplusplus |
| 4628 |
|
extern "C" |
| 4629 |
|
#endif |
| 4198 |
– |
/* We use char because int might match the return type of a gcc2 |
| 4199 |
– |
builtin and then its argument prototype would still apply. */ |
| 4630 |
|
char inet_pton (); |
| 4631 |
|
int |
| 4632 |
|
main () |
| 4633 |
|
{ |
| 4634 |
< |
inet_pton (); |
| 4634 |
> |
return inet_pton (); |
| 4635 |
|
; |
| 4636 |
|
return 0; |
| 4637 |
|
} |
| 4638 |
|
_ACEOF |
| 4639 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 4640 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 4641 |
< |
(eval $ac_link) 2>conftest.er1 |
| 4639 |
> |
for ac_lib in '' resolv nsl; do |
| 4640 |
> |
if test -z "$ac_lib"; then |
| 4641 |
> |
ac_res="none required" |
| 4642 |
> |
else |
| 4643 |
> |
ac_res=-l$ac_lib |
| 4644 |
> |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 4645 |
> |
fi |
| 4646 |
> |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 4647 |
> |
if { (ac_try="$ac_link" |
| 4648 |
> |
case "(($ac_try" in |
| 4649 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 4650 |
> |
*) ac_try_echo=$ac_try;; |
| 4651 |
> |
esac |
| 4652 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 4653 |
> |
(eval "$ac_link") 2>conftest.er1 |
| 4654 |
|
ac_status=$? |
| 4655 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 4656 |
|
rm -f conftest.er1 |
| 4657 |
|
cat conftest.err >&5 |
| 4658 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4659 |
< |
(exit $ac_status); } && |
| 4660 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
| 4661 |
< |
|| test ! -s conftest.err' |
| 4662 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4663 |
< |
(eval $ac_try) 2>&5 |
| 4664 |
< |
ac_status=$? |
| 4223 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4224 |
< |
(exit $ac_status); }; } && |
| 4225 |
< |
{ ac_try='test -s conftest$ac_exeext' |
| 4226 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4227 |
< |
(eval $ac_try) 2>&5 |
| 4228 |
< |
ac_status=$? |
| 4229 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4230 |
< |
(exit $ac_status); }; }; then |
| 4231 |
< |
ac_cv_search_inet_pton="none required" |
| 4659 |
> |
(exit $ac_status); } && { |
| 4660 |
> |
test -z "$ac_c_werror_flag" || |
| 4661 |
> |
test ! -s conftest.err |
| 4662 |
> |
} && test -s conftest$ac_exeext && |
| 4663 |
> |
$as_test_x conftest$ac_exeext; then |
| 4664 |
> |
ac_cv_search_inet_pton=$ac_res |
| 4665 |
|
else |
| 4666 |
|
echo "$as_me: failed program was:" >&5 |
| 4667 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 4668 |
|
|
| 4236 |
– |
fi |
| 4237 |
– |
rm -f conftest.err conftest.$ac_objext \ |
| 4238 |
– |
conftest$ac_exeext conftest.$ac_ext |
| 4239 |
– |
if test "$ac_cv_search_inet_pton" = no; then |
| 4240 |
– |
for ac_lib in resolv nsl; do |
| 4241 |
– |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 4242 |
– |
cat >conftest.$ac_ext <<_ACEOF |
| 4243 |
– |
/* confdefs.h. */ |
| 4244 |
– |
_ACEOF |
| 4245 |
– |
cat confdefs.h >>conftest.$ac_ext |
| 4246 |
– |
cat >>conftest.$ac_ext <<_ACEOF |
| 4247 |
– |
/* end confdefs.h. */ |
| 4669 |
|
|
| 4670 |
< |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 4250 |
< |
#ifdef __cplusplus |
| 4251 |
< |
extern "C" |
| 4252 |
< |
#endif |
| 4253 |
< |
/* We use char because int might match the return type of a gcc2 |
| 4254 |
< |
builtin and then its argument prototype would still apply. */ |
| 4255 |
< |
char inet_pton (); |
| 4256 |
< |
int |
| 4257 |
< |
main () |
| 4258 |
< |
{ |
| 4259 |
< |
inet_pton (); |
| 4260 |
< |
; |
| 4261 |
< |
return 0; |
| 4262 |
< |
} |
| 4263 |
< |
_ACEOF |
| 4264 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 4265 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 4266 |
< |
(eval $ac_link) 2>conftest.er1 |
| 4267 |
< |
ac_status=$? |
| 4268 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
| 4269 |
< |
rm -f conftest.er1 |
| 4270 |
< |
cat conftest.err >&5 |
| 4271 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4272 |
< |
(exit $ac_status); } && |
| 4273 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
| 4274 |
< |
|| test ! -s conftest.err' |
| 4275 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4276 |
< |
(eval $ac_try) 2>&5 |
| 4277 |
< |
ac_status=$? |
| 4278 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4279 |
< |
(exit $ac_status); }; } && |
| 4280 |
< |
{ ac_try='test -s conftest$ac_exeext' |
| 4281 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4282 |
< |
(eval $ac_try) 2>&5 |
| 4283 |
< |
ac_status=$? |
| 4284 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4285 |
< |
(exit $ac_status); }; }; then |
| 4286 |
< |
ac_cv_search_inet_pton="-l$ac_lib" |
| 4287 |
< |
break |
| 4288 |
< |
else |
| 4289 |
< |
echo "$as_me: failed program was:" >&5 |
| 4290 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 4670 |
> |
fi |
| 4671 |
|
|
| 4672 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 4673 |
+ |
conftest$ac_exeext |
| 4674 |
+ |
if test "${ac_cv_search_inet_pton+set}" = set; then |
| 4675 |
+ |
break |
| 4676 |
|
fi |
| 4677 |
< |
rm -f conftest.err conftest.$ac_objext \ |
| 4678 |
< |
conftest$ac_exeext conftest.$ac_ext |
| 4679 |
< |
done |
| 4677 |
> |
done |
| 4678 |
> |
if test "${ac_cv_search_inet_pton+set}" = set; then |
| 4679 |
> |
: |
| 4680 |
> |
else |
| 4681 |
> |
ac_cv_search_inet_pton=no |
| 4682 |
|
fi |
| 4683 |
+ |
rm conftest.$ac_ext |
| 4684 |
|
LIBS=$ac_func_search_save_LIBS |
| 4685 |
|
fi |
| 4686 |
< |
echo "$as_me:$LINENO: result: $ac_cv_search_inet_pton" >&5 |
| 4687 |
< |
echo "${ECHO_T}$ac_cv_search_inet_pton" >&6 |
| 4688 |
< |
if test "$ac_cv_search_inet_pton" != no; then |
| 4689 |
< |
test "$ac_cv_search_inet_pton" = "none required" || LIBS="$ac_cv_search_inet_pton $LIBS" |
| 4686 |
> |
{ echo "$as_me:$LINENO: result: $ac_cv_search_inet_pton" >&5 |
| 4687 |
> |
echo "${ECHO_T}$ac_cv_search_inet_pton" >&6; } |
| 4688 |
> |
ac_res=$ac_cv_search_inet_pton |
| 4689 |
> |
if test "$ac_res" != no; then |
| 4690 |
> |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 4691 |
|
|
| 4692 |
|
else |
| 4693 |
|
inet_misc=1; |
| 4697 |
|
|
| 4698 |
|
fi |
| 4699 |
|
|
| 4700 |
< |
echo "$as_me:$LINENO: checking for library containing inet_ntop" >&5 |
| 4701 |
< |
echo $ECHO_N "checking for library containing inet_ntop... $ECHO_C" >&6 |
| 4700 |
> |
{ echo "$as_me:$LINENO: checking for library containing inet_ntop" >&5 |
| 4701 |
> |
echo $ECHO_N "checking for library containing inet_ntop... $ECHO_C" >&6; } |
| 4702 |
|
if test "${ac_cv_search_inet_ntop+set}" = set; then |
| 4703 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 4704 |
|
else |
| 4705 |
|
ac_func_search_save_LIBS=$LIBS |
| 4318 |
– |
ac_cv_search_inet_ntop=no |
| 4706 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 4707 |
|
/* confdefs.h. */ |
| 4708 |
|
_ACEOF |
| 4710 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 4711 |
|
/* end confdefs.h. */ |
| 4712 |
|
|
| 4713 |
< |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 4713 |
> |
/* Override any GCC internal prototype to avoid an error. |
| 4714 |
> |
Use char because int might match the return type of a GCC |
| 4715 |
> |
builtin and then its argument prototype would still apply. */ |
| 4716 |
|
#ifdef __cplusplus |
| 4717 |
|
extern "C" |
| 4718 |
|
#endif |
| 4330 |
– |
/* We use char because int might match the return type of a gcc2 |
| 4331 |
– |
builtin and then its argument prototype would still apply. */ |
| 4719 |
|
char inet_ntop (); |
| 4720 |
|
int |
| 4721 |
|
main () |
| 4722 |
|
{ |
| 4723 |
< |
inet_ntop (); |
| 4723 |
> |
return inet_ntop (); |
| 4724 |
|
; |
| 4725 |
|
return 0; |
| 4726 |
|
} |
| 4727 |
|
_ACEOF |
| 4728 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 4729 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 4730 |
< |
(eval $ac_link) 2>conftest.er1 |
| 4728 |
> |
for ac_lib in '' resolv nsl; do |
| 4729 |
> |
if test -z "$ac_lib"; then |
| 4730 |
> |
ac_res="none required" |
| 4731 |
> |
else |
| 4732 |
> |
ac_res=-l$ac_lib |
| 4733 |
> |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 4734 |
> |
fi |
| 4735 |
> |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 4736 |
> |
if { (ac_try="$ac_link" |
| 4737 |
> |
case "(($ac_try" in |
| 4738 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 4739 |
> |
*) ac_try_echo=$ac_try;; |
| 4740 |
> |
esac |
| 4741 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 4742 |
> |
(eval "$ac_link") 2>conftest.er1 |
| 4743 |
|
ac_status=$? |
| 4744 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 4745 |
|
rm -f conftest.er1 |
| 4746 |
|
cat conftest.err >&5 |
| 4747 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4748 |
< |
(exit $ac_status); } && |
| 4749 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
| 4750 |
< |
|| test ! -s conftest.err' |
| 4751 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4752 |
< |
(eval $ac_try) 2>&5 |
| 4753 |
< |
ac_status=$? |
| 4355 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4356 |
< |
(exit $ac_status); }; } && |
| 4357 |
< |
{ ac_try='test -s conftest$ac_exeext' |
| 4358 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4359 |
< |
(eval $ac_try) 2>&5 |
| 4360 |
< |
ac_status=$? |
| 4361 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4362 |
< |
(exit $ac_status); }; }; then |
| 4363 |
< |
ac_cv_search_inet_ntop="none required" |
| 4748 |
> |
(exit $ac_status); } && { |
| 4749 |
> |
test -z "$ac_c_werror_flag" || |
| 4750 |
> |
test ! -s conftest.err |
| 4751 |
> |
} && test -s conftest$ac_exeext && |
| 4752 |
> |
$as_test_x conftest$ac_exeext; then |
| 4753 |
> |
ac_cv_search_inet_ntop=$ac_res |
| 4754 |
|
else |
| 4755 |
|
echo "$as_me: failed program was:" >&5 |
| 4756 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 4757 |
|
|
| 4368 |
– |
fi |
| 4369 |
– |
rm -f conftest.err conftest.$ac_objext \ |
| 4370 |
– |
conftest$ac_exeext conftest.$ac_ext |
| 4371 |
– |
if test "$ac_cv_search_inet_ntop" = no; then |
| 4372 |
– |
for ac_lib in resolv nsl; do |
| 4373 |
– |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 4374 |
– |
cat >conftest.$ac_ext <<_ACEOF |
| 4375 |
– |
/* confdefs.h. */ |
| 4376 |
– |
_ACEOF |
| 4377 |
– |
cat confdefs.h >>conftest.$ac_ext |
| 4378 |
– |
cat >>conftest.$ac_ext <<_ACEOF |
| 4379 |
– |
/* end confdefs.h. */ |
| 4758 |
|
|
| 4759 |
< |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 4382 |
< |
#ifdef __cplusplus |
| 4383 |
< |
extern "C" |
| 4384 |
< |
#endif |
| 4385 |
< |
/* We use char because int might match the return type of a gcc2 |
| 4386 |
< |
builtin and then its argument prototype would still apply. */ |
| 4387 |
< |
char inet_ntop (); |
| 4388 |
< |
int |
| 4389 |
< |
main () |
| 4390 |
< |
{ |
| 4391 |
< |
inet_ntop (); |
| 4392 |
< |
; |
| 4393 |
< |
return 0; |
| 4394 |
< |
} |
| 4395 |
< |
_ACEOF |
| 4396 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 4397 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 4398 |
< |
(eval $ac_link) 2>conftest.er1 |
| 4399 |
< |
ac_status=$? |
| 4400 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
| 4401 |
< |
rm -f conftest.er1 |
| 4402 |
< |
cat conftest.err >&5 |
| 4403 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4404 |
< |
(exit $ac_status); } && |
| 4405 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
| 4406 |
< |
|| test ! -s conftest.err' |
| 4407 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4408 |
< |
(eval $ac_try) 2>&5 |
| 4409 |
< |
ac_status=$? |
| 4410 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4411 |
< |
(exit $ac_status); }; } && |
| 4412 |
< |
{ ac_try='test -s conftest$ac_exeext' |
| 4413 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4414 |
< |
(eval $ac_try) 2>&5 |
| 4415 |
< |
ac_status=$? |
| 4416 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4417 |
< |
(exit $ac_status); }; }; then |
| 4418 |
< |
ac_cv_search_inet_ntop="-l$ac_lib" |
| 4419 |
< |
break |
| 4420 |
< |
else |
| 4421 |
< |
echo "$as_me: failed program was:" >&5 |
| 4422 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 4759 |
> |
fi |
| 4760 |
|
|
| 4761 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 4762 |
+ |
conftest$ac_exeext |
| 4763 |
+ |
if test "${ac_cv_search_inet_ntop+set}" = set; then |
| 4764 |
+ |
break |
| 4765 |
|
fi |
| 4766 |
< |
rm -f conftest.err conftest.$ac_objext \ |
| 4767 |
< |
conftest$ac_exeext conftest.$ac_ext |
| 4768 |
< |
done |
| 4766 |
> |
done |
| 4767 |
> |
if test "${ac_cv_search_inet_ntop+set}" = set; then |
| 4768 |
> |
: |
| 4769 |
> |
else |
| 4770 |
> |
ac_cv_search_inet_ntop=no |
| 4771 |
|
fi |
| 4772 |
+ |
rm conftest.$ac_ext |
| 4773 |
|
LIBS=$ac_func_search_save_LIBS |
| 4774 |
|
fi |
| 4775 |
< |
echo "$as_me:$LINENO: result: $ac_cv_search_inet_ntop" >&5 |
| 4776 |
< |
echo "${ECHO_T}$ac_cv_search_inet_ntop" >&6 |
| 4777 |
< |
if test "$ac_cv_search_inet_ntop" != no; then |
| 4778 |
< |
test "$ac_cv_search_inet_ntop" = "none required" || LIBS="$ac_cv_search_inet_ntop $LIBS" |
| 4775 |
> |
{ echo "$as_me:$LINENO: result: $ac_cv_search_inet_ntop" >&5 |
| 4776 |
> |
echo "${ECHO_T}$ac_cv_search_inet_ntop" >&6; } |
| 4777 |
> |
ac_res=$ac_cv_search_inet_ntop |
| 4778 |
> |
if test "$ac_res" != no; then |
| 4779 |
> |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 4780 |
|
|
| 4781 |
|
else |
| 4782 |
|
inet_misc=1; |
| 4792 |
|
|
| 4793 |
|
fi |
| 4794 |
|
|
| 4795 |
< |
echo "$as_me:$LINENO: checking for struct sockaddr_storage" >&5 |
| 4796 |
< |
echo $ECHO_N "checking for struct sockaddr_storage... $ECHO_C" >&6 |
| 4795 |
> |
{ echo "$as_me:$LINENO: checking for struct sockaddr_storage" >&5 |
| 4796 |
> |
echo $ECHO_N "checking for struct sockaddr_storage... $ECHO_C" >&6; } |
| 4797 |
|
if test "${ac_cv_type_struct_sockaddr_storage+set}" = set; then |
| 4798 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 4799 |
|
else |
| 4807 |
|
#include <sys/socket.h> |
| 4808 |
|
|
| 4809 |
|
|
| 4810 |
+ |
typedef struct sockaddr_storage ac__type_new_; |
| 4811 |
|
int |
| 4812 |
|
main () |
| 4813 |
|
{ |
| 4814 |
< |
if ((struct sockaddr_storage *) 0) |
| 4814 |
> |
if ((ac__type_new_ *) 0) |
| 4815 |
|
return 0; |
| 4816 |
< |
if (sizeof (struct sockaddr_storage)) |
| 4816 |
> |
if (sizeof (ac__type_new_)) |
| 4817 |
|
return 0; |
| 4818 |
|
; |
| 4819 |
|
return 0; |
| 4820 |
|
} |
| 4821 |
|
_ACEOF |
| 4822 |
|
rm -f conftest.$ac_objext |
| 4823 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 4824 |
< |
(eval $ac_compile) 2>conftest.er1 |
| 4823 |
> |
if { (ac_try="$ac_compile" |
| 4824 |
> |
case "(($ac_try" in |
| 4825 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 4826 |
> |
*) ac_try_echo=$ac_try;; |
| 4827 |
> |
esac |
| 4828 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 4829 |
> |
(eval "$ac_compile") 2>conftest.er1 |
| 4830 |
|
ac_status=$? |
| 4831 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 4832 |
|
rm -f conftest.er1 |
| 4833 |
|
cat conftest.err >&5 |
| 4834 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4835 |
< |
(exit $ac_status); } && |
| 4836 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
| 4837 |
< |
|| test ! -s conftest.err' |
| 4838 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4488 |
< |
(eval $ac_try) 2>&5 |
| 4489 |
< |
ac_status=$? |
| 4490 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4491 |
< |
(exit $ac_status); }; } && |
| 4492 |
< |
{ ac_try='test -s conftest.$ac_objext' |
| 4493 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4494 |
< |
(eval $ac_try) 2>&5 |
| 4495 |
< |
ac_status=$? |
| 4496 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4497 |
< |
(exit $ac_status); }; }; then |
| 4835 |
> |
(exit $ac_status); } && { |
| 4836 |
> |
test -z "$ac_c_werror_flag" || |
| 4837 |
> |
test ! -s conftest.err |
| 4838 |
> |
} && test -s conftest.$ac_objext; then |
| 4839 |
|
ac_cv_type_struct_sockaddr_storage=yes |
| 4840 |
|
else |
| 4841 |
|
echo "$as_me: failed program was:" >&5 |
| 4842 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 4843 |
|
|
| 4844 |
< |
ac_cv_type_struct_sockaddr_storage=no |
| 4844 |
> |
ac_cv_type_struct_sockaddr_storage=no |
| 4845 |
|
fi |
| 4846 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4846 |
> |
|
| 4847 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4848 |
|
fi |
| 4849 |
< |
echo "$as_me:$LINENO: result: $ac_cv_type_struct_sockaddr_storage" >&5 |
| 4850 |
< |
echo "${ECHO_T}$ac_cv_type_struct_sockaddr_storage" >&6 |
| 4849 |
> |
{ echo "$as_me:$LINENO: result: $ac_cv_type_struct_sockaddr_storage" >&5 |
| 4850 |
> |
echo "${ECHO_T}$ac_cv_type_struct_sockaddr_storage" >&6; } |
| 4851 |
|
if test $ac_cv_type_struct_sockaddr_storage = yes; then |
| 4852 |
|
|
| 4853 |
|
cat >>confdefs.h <<_ACEOF |
| 4859 |
|
|
| 4860 |
|
|
| 4861 |
|
if test "$ac_cv_type_struct_sockaddr_storage" = no; then |
| 4862 |
< |
echo "$as_me:$LINENO: checking for struct sockaddr_in.sin_len" >&5 |
| 4863 |
< |
echo $ECHO_N "checking for struct sockaddr_in.sin_len... $ECHO_C" >&6 |
| 4862 |
> |
{ echo "$as_me:$LINENO: checking for struct sockaddr_in.sin_len" >&5 |
| 4863 |
> |
echo $ECHO_N "checking for struct sockaddr_in.sin_len... $ECHO_C" >&6; } |
| 4864 |
|
if test "${ac_cv_member_struct_sockaddr_in_sin_len+set}" = set; then |
| 4865 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 4866 |
|
else |
| 4882 |
|
} |
| 4883 |
|
_ACEOF |
| 4884 |
|
rm -f conftest.$ac_objext |
| 4885 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 4886 |
< |
(eval $ac_compile) 2>conftest.er1 |
| 4885 |
> |
if { (ac_try="$ac_compile" |
| 4886 |
> |
case "(($ac_try" in |
| 4887 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 4888 |
> |
*) ac_try_echo=$ac_try;; |
| 4889 |
> |
esac |
| 4890 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 4891 |
> |
(eval "$ac_compile") 2>conftest.er1 |
| 4892 |
|
ac_status=$? |
| 4893 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 4894 |
|
rm -f conftest.er1 |
| 4895 |
|
cat conftest.err >&5 |
| 4896 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4897 |
< |
(exit $ac_status); } && |
| 4898 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
| 4899 |
< |
|| test ! -s conftest.err' |
| 4900 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4554 |
< |
(eval $ac_try) 2>&5 |
| 4555 |
< |
ac_status=$? |
| 4556 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4557 |
< |
(exit $ac_status); }; } && |
| 4558 |
< |
{ ac_try='test -s conftest.$ac_objext' |
| 4559 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4560 |
< |
(eval $ac_try) 2>&5 |
| 4561 |
< |
ac_status=$? |
| 4562 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4563 |
< |
(exit $ac_status); }; }; then |
| 4897 |
> |
(exit $ac_status); } && { |
| 4898 |
> |
test -z "$ac_c_werror_flag" || |
| 4899 |
> |
test ! -s conftest.err |
| 4900 |
> |
} && test -s conftest.$ac_objext; then |
| 4901 |
|
ac_cv_member_struct_sockaddr_in_sin_len=yes |
| 4902 |
|
else |
| 4903 |
|
echo "$as_me: failed program was:" >&5 |
| 4904 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 4905 |
|
|
| 4906 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 4906 |
> |
cat >conftest.$ac_ext <<_ACEOF |
| 4907 |
|
/* confdefs.h. */ |
| 4908 |
|
_ACEOF |
| 4909 |
|
cat confdefs.h >>conftest.$ac_ext |
| 4921 |
|
} |
| 4922 |
|
_ACEOF |
| 4923 |
|
rm -f conftest.$ac_objext |
| 4924 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 4925 |
< |
(eval $ac_compile) 2>conftest.er1 |
| 4924 |
> |
if { (ac_try="$ac_compile" |
| 4925 |
> |
case "(($ac_try" in |
| 4926 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 4927 |
> |
*) ac_try_echo=$ac_try;; |
| 4928 |
> |
esac |
| 4929 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 4930 |
> |
(eval "$ac_compile") 2>conftest.er1 |
| 4931 |
|
ac_status=$? |
| 4932 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 4933 |
|
rm -f conftest.er1 |
| 4934 |
|
cat conftest.err >&5 |
| 4935 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4936 |
< |
(exit $ac_status); } && |
| 4937 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
| 4938 |
< |
|| test ! -s conftest.err' |
| 4939 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4598 |
< |
(eval $ac_try) 2>&5 |
| 4599 |
< |
ac_status=$? |
| 4600 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4601 |
< |
(exit $ac_status); }; } && |
| 4602 |
< |
{ ac_try='test -s conftest.$ac_objext' |
| 4603 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4604 |
< |
(eval $ac_try) 2>&5 |
| 4605 |
< |
ac_status=$? |
| 4606 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4607 |
< |
(exit $ac_status); }; }; then |
| 4936 |
> |
(exit $ac_status); } && { |
| 4937 |
> |
test -z "$ac_c_werror_flag" || |
| 4938 |
> |
test ! -s conftest.err |
| 4939 |
> |
} && test -s conftest.$ac_objext; then |
| 4940 |
|
ac_cv_member_struct_sockaddr_in_sin_len=yes |
| 4941 |
|
else |
| 4942 |
|
echo "$as_me: failed program was:" >&5 |
| 4943 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 4944 |
|
|
| 4945 |
< |
ac_cv_member_struct_sockaddr_in_sin_len=no |
| 4945 |
> |
ac_cv_member_struct_sockaddr_in_sin_len=no |
| 4946 |
|
fi |
| 4947 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4947 |
> |
|
| 4948 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4949 |
|
fi |
| 4950 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4950 |
> |
|
| 4951 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4952 |
|
fi |
| 4953 |
< |
echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in_sin_len" >&5 |
| 4954 |
< |
echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in_sin_len" >&6 |
| 4953 |
> |
{ echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in_sin_len" >&5 |
| 4954 |
> |
echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in_sin_len" >&6; } |
| 4955 |
|
if test $ac_cv_member_struct_sockaddr_in_sin_len = yes; then |
| 4956 |
|
|
| 4957 |
|
cat >>confdefs.h <<\_ACEOF |
| 4962 |
|
|
| 4963 |
|
fi |
| 4964 |
|
|
| 4965 |
< |
echo "$as_me:$LINENO: checking for struct addrinfo" >&5 |
| 4966 |
< |
echo $ECHO_N "checking for struct addrinfo... $ECHO_C" >&6 |
| 4965 |
> |
{ echo "$as_me:$LINENO: checking for struct addrinfo" >&5 |
| 4966 |
> |
echo $ECHO_N "checking for struct addrinfo... $ECHO_C" >&6; } |
| 4967 |
|
if test "${ac_cv_type_struct_addrinfo+set}" = set; then |
| 4968 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 4969 |
|
else |
| 4975 |
|
/* end confdefs.h. */ |
| 4976 |
|
#include <netdb.h> |
| 4977 |
|
|
| 4978 |
+ |
typedef struct addrinfo ac__type_new_; |
| 4979 |
|
int |
| 4980 |
|
main () |
| 4981 |
|
{ |
| 4982 |
< |
if ((struct addrinfo *) 0) |
| 4982 |
> |
if ((ac__type_new_ *) 0) |
| 4983 |
|
return 0; |
| 4984 |
< |
if (sizeof (struct addrinfo)) |
| 4984 |
> |
if (sizeof (ac__type_new_)) |
| 4985 |
|
return 0; |
| 4986 |
|
; |
| 4987 |
|
return 0; |
| 4988 |
|
} |
| 4989 |
|
_ACEOF |
| 4990 |
|
rm -f conftest.$ac_objext |
| 4991 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 4992 |
< |
(eval $ac_compile) 2>conftest.er1 |
| 4991 |
> |
if { (ac_try="$ac_compile" |
| 4992 |
> |
case "(($ac_try" in |
| 4993 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 4994 |
> |
*) ac_try_echo=$ac_try;; |
| 4995 |
> |
esac |
| 4996 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 4997 |
> |
(eval "$ac_compile") 2>conftest.er1 |
| 4998 |
|
ac_status=$? |
| 4999 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 5000 |
|
rm -f conftest.er1 |
| 5001 |
|
cat conftest.err >&5 |
| 5002 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5003 |
< |
(exit $ac_status); } && |
| 5004 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
| 5005 |
< |
|| test ! -s conftest.err' |
| 5006 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4667 |
< |
(eval $ac_try) 2>&5 |
| 4668 |
< |
ac_status=$? |
| 4669 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4670 |
< |
(exit $ac_status); }; } && |
| 4671 |
< |
{ ac_try='test -s conftest.$ac_objext' |
| 4672 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4673 |
< |
(eval $ac_try) 2>&5 |
| 4674 |
< |
ac_status=$? |
| 4675 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4676 |
< |
(exit $ac_status); }; }; then |
| 5003 |
> |
(exit $ac_status); } && { |
| 5004 |
> |
test -z "$ac_c_werror_flag" || |
| 5005 |
> |
test ! -s conftest.err |
| 5006 |
> |
} && test -s conftest.$ac_objext; then |
| 5007 |
|
ac_cv_type_struct_addrinfo=yes |
| 5008 |
|
else |
| 5009 |
|
echo "$as_me: failed program was:" >&5 |
| 5010 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 5011 |
|
|
| 5012 |
< |
ac_cv_type_struct_addrinfo=no |
| 5012 |
> |
ac_cv_type_struct_addrinfo=no |
| 5013 |
|
fi |
| 5014 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 5014 |
> |
|
| 5015 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 5016 |
|
fi |
| 5017 |
< |
echo "$as_me:$LINENO: result: $ac_cv_type_struct_addrinfo" >&5 |
| 5018 |
< |
echo "${ECHO_T}$ac_cv_type_struct_addrinfo" >&6 |
| 5017 |
> |
{ echo "$as_me:$LINENO: result: $ac_cv_type_struct_addrinfo" >&5 |
| 5018 |
> |
echo "${ECHO_T}$ac_cv_type_struct_addrinfo" >&6; } |
| 5019 |
|
if test $ac_cv_type_struct_addrinfo = yes; then |
| 5020 |
|
|
| 5021 |
|
cat >>confdefs.h <<_ACEOF |
| 5026 |
|
fi |
| 5027 |
|
|
| 5028 |
|
|
| 5029 |
< |
echo "$as_me:$LINENO: checking for socklen_t" >&5 |
| 5030 |
< |
echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6 |
| 5029 |
> |
{ echo "$as_me:$LINENO: checking for socklen_t" >&5 |
| 5030 |
> |
echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6; } |
| 5031 |
|
if test "${ac_cv_type_socklen_t+set}" = set; then |
| 5032 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 5033 |
|
else |
| 5040 |
|
#include <sys/types.h> |
| 5041 |
|
#include <sys/socket.h> |
| 5042 |
|
|
| 5043 |
+ |
typedef socklen_t ac__type_new_; |
| 5044 |
|
int |
| 5045 |
|
main () |
| 5046 |
|
{ |
| 5047 |
< |
if ((socklen_t *) 0) |
| 5047 |
> |
if ((ac__type_new_ *) 0) |
| 5048 |
|
return 0; |
| 5049 |
< |
if (sizeof (socklen_t)) |
| 5049 |
> |
if (sizeof (ac__type_new_)) |
| 5050 |
|
return 0; |
| 5051 |
|
; |
| 5052 |
|
return 0; |
| 5053 |
|
} |
| 5054 |
|
_ACEOF |
| 5055 |
|
rm -f conftest.$ac_objext |
| 5056 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 5057 |
< |
(eval $ac_compile) 2>conftest.er1 |
| 5056 |
> |
if { (ac_try="$ac_compile" |
| 5057 |
> |
case "(($ac_try" in |
| 5058 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 5059 |
> |
*) ac_try_echo=$ac_try;; |
| 5060 |
> |
esac |
| 5061 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 5062 |
> |
(eval "$ac_compile") 2>conftest.er1 |
| 5063 |
|
ac_status=$? |
| 5064 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 5065 |
|
rm -f conftest.er1 |
| 5066 |
|
cat conftest.err >&5 |
| 5067 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5068 |
< |
(exit $ac_status); } && |
| 5069 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
| 5070 |
< |
|| test ! -s conftest.err' |
| 5071 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4735 |
< |
(eval $ac_try) 2>&5 |
| 4736 |
< |
ac_status=$? |
| 4737 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4738 |
< |
(exit $ac_status); }; } && |
| 4739 |
< |
{ ac_try='test -s conftest.$ac_objext' |
| 4740 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4741 |
< |
(eval $ac_try) 2>&5 |
| 4742 |
< |
ac_status=$? |
| 4743 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4744 |
< |
(exit $ac_status); }; }; then |
| 5068 |
> |
(exit $ac_status); } && { |
| 5069 |
> |
test -z "$ac_c_werror_flag" || |
| 5070 |
> |
test ! -s conftest.err |
| 5071 |
> |
} && test -s conftest.$ac_objext; then |
| 5072 |
|
ac_cv_type_socklen_t=yes |
| 5073 |
|
else |
| 5074 |
|
echo "$as_me: failed program was:" >&5 |
| 5075 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 5076 |
|
|
| 5077 |
< |
ac_cv_type_socklen_t=no |
| 5077 |
> |
ac_cv_type_socklen_t=no |
| 5078 |
|
fi |
| 5079 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 5079 |
> |
|
| 5080 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 5081 |
|
fi |
| 5082 |
< |
echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5 |
| 5083 |
< |
echo "${ECHO_T}$ac_cv_type_socklen_t" >&6 |
| 5082 |
> |
{ echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5 |
| 5083 |
> |
echo "${ECHO_T}$ac_cv_type_socklen_t" >&6; } |
| 5084 |
|
if test $ac_cv_type_socklen_t = yes; then |
| 5085 |
|
: |
| 5086 |
|
else |
| 5094 |
|
|
| 5095 |
|
if test -z "$Tru"; then |
| 5096 |
|
|
| 5097 |
< |
echo "$as_me:$LINENO: checking for broken glibc with __ss_family" >&5 |
| 5098 |
< |
echo $ECHO_N "checking for broken glibc with __ss_family... $ECHO_C" >&6 |
| 5097 |
> |
{ echo "$as_me:$LINENO: checking for broken glibc with __ss_family" >&5 |
| 5098 |
> |
echo $ECHO_N "checking for broken glibc with __ss_family... $ECHO_C" >&6; } |
| 5099 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 5100 |
|
/* confdefs.h. */ |
| 5101 |
|
_ACEOF |
| 5113 |
|
} |
| 5114 |
|
_ACEOF |
| 5115 |
|
rm -f conftest.$ac_objext |
| 5116 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 5117 |
< |
(eval $ac_compile) 2>conftest.er1 |
| 5116 |
> |
if { (ac_try="$ac_compile" |
| 5117 |
> |
case "(($ac_try" in |
| 5118 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 5119 |
> |
*) ac_try_echo=$ac_try;; |
| 5120 |
> |
esac |
| 5121 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 5122 |
> |
(eval "$ac_compile") 2>conftest.er1 |
| 5123 |
|
ac_status=$? |
| 5124 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 5125 |
|
rm -f conftest.er1 |
| 5126 |
|
cat conftest.err >&5 |
| 5127 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5128 |
< |
(exit $ac_status); } && |
| 5129 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
| 5130 |
< |
|| test ! -s conftest.err' |
| 5131 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4799 |
< |
(eval $ac_try) 2>&5 |
| 4800 |
< |
ac_status=$? |
| 4801 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4802 |
< |
(exit $ac_status); }; } && |
| 4803 |
< |
{ ac_try='test -s conftest.$ac_objext' |
| 4804 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4805 |
< |
(eval $ac_try) 2>&5 |
| 4806 |
< |
ac_status=$? |
| 4807 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4808 |
< |
(exit $ac_status); }; }; then |
| 5128 |
> |
(exit $ac_status); } && { |
| 5129 |
> |
test -z "$ac_c_werror_flag" || |
| 5130 |
> |
test ! -s conftest.err |
| 5131 |
> |
} && test -s conftest.$ac_objext; then |
| 5132 |
|
|
| 5133 |
< |
echo "$as_me:$LINENO: result: yes" >&5 |
| 5134 |
< |
echo "${ECHO_T}yes" >&6 |
| 5133 |
> |
{ echo "$as_me:$LINENO: result: yes" >&5 |
| 5134 |
> |
echo "${ECHO_T}yes" >&6; } |
| 5135 |
|
|
| 5136 |
|
cat >>confdefs.h <<\_ACEOF |
| 5137 |
|
#define ss_family __ss_family |
| 5142 |
|
echo "$as_me: failed program was:" >&5 |
| 5143 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 5144 |
|
|
| 5145 |
< |
echo "$as_me:$LINENO: result: no" >&5 |
| 5146 |
< |
echo "${ECHO_T}no" >&6 |
| 5145 |
> |
{ echo "$as_me:$LINENO: result: no" >&5 |
| 5146 |
> |
echo "${ECHO_T}no" >&6; } |
| 5147 |
|
fi |
| 5148 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 5148 |
> |
|
| 5149 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 5150 |
|
|
| 5151 |
|
fi |
| 5152 |
|
|
| 5153 |
< |
echo "$as_me:$LINENO: checking for core IPv6 support" >&5 |
| 5154 |
< |
echo $ECHO_N "checking for core IPv6 support... $ECHO_C" >&6 |
| 5153 |
> |
{ echo "$as_me:$LINENO: checking for core IPv6 support" >&5 |
| 5154 |
> |
echo $ECHO_N "checking for core IPv6 support... $ECHO_C" >&6; } |
| 5155 |
|
|
| 5156 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 5157 |
|
/* confdefs.h. */ |
| 5173 |
|
} |
| 5174 |
|
_ACEOF |
| 5175 |
|
rm -f conftest.$ac_objext |
| 5176 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 5177 |
< |
(eval $ac_compile) 2>conftest.er1 |
| 5176 |
> |
if { (ac_try="$ac_compile" |
| 5177 |
> |
case "(($ac_try" in |
| 5178 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 5179 |
> |
*) ac_try_echo=$ac_try;; |
| 5180 |
> |
esac |
| 5181 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 5182 |
> |
(eval "$ac_compile") 2>conftest.er1 |
| 5183 |
|
ac_status=$? |
| 5184 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 5185 |
|
rm -f conftest.er1 |
| 5186 |
|
cat conftest.err >&5 |
| 5187 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5188 |
< |
(exit $ac_status); } && |
| 5189 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
| 5190 |
< |
|| test ! -s conftest.err' |
| 5191 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4863 |
< |
(eval $ac_try) 2>&5 |
| 4864 |
< |
ac_status=$? |
| 4865 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4866 |
< |
(exit $ac_status); }; } && |
| 4867 |
< |
{ ac_try='test -s conftest.$ac_objext' |
| 4868 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4869 |
< |
(eval $ac_try) 2>&5 |
| 4870 |
< |
ac_status=$? |
| 4871 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4872 |
< |
(exit $ac_status); }; }; then |
| 5188 |
> |
(exit $ac_status); } && { |
| 5189 |
> |
test -z "$ac_c_werror_flag" || |
| 5190 |
> |
test ! -s conftest.err |
| 5191 |
> |
} && test -s conftest.$ac_objext; then |
| 5192 |
|
|
| 5193 |
|
if test "$CYGWIN" = "yes"; then |
| 5194 |
< |
echo "$as_me:$LINENO: result: no, Cygwin's IPv6 is incomplete" >&5 |
| 5195 |
< |
echo "${ECHO_T}no, Cygwin's IPv6 is incomplete" >&6 |
| 5194 |
> |
{ echo "$as_me:$LINENO: result: no, Cygwin's IPv6 is incomplete" >&5 |
| 5195 |
> |
echo "${ECHO_T}no, Cygwin's IPv6 is incomplete" >&6; } |
| 5196 |
|
have_v6=no |
| 5197 |
|
else |
| 5198 |
|
have_v6=yes |
| 5201 |
|
#define IPV6 1 |
| 5202 |
|
_ACEOF |
| 5203 |
|
|
| 5204 |
< |
echo "$as_me:$LINENO: result: yes" >&5 |
| 5205 |
< |
echo "${ECHO_T}yes" >&6 |
| 5206 |
< |
echo "$as_me:$LINENO: checking for struct in6addr_any" >&5 |
| 5207 |
< |
echo $ECHO_N "checking for struct in6addr_any... $ECHO_C" >&6 |
| 5204 |
> |
{ echo "$as_me:$LINENO: result: yes" >&5 |
| 5205 |
> |
echo "${ECHO_T}yes" >&6; } |
| 5206 |
> |
{ echo "$as_me:$LINENO: checking for struct in6addr_any" >&5 |
| 5207 |
> |
echo $ECHO_N "checking for struct in6addr_any... $ECHO_C" >&6; } |
| 5208 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 5209 |
|
/* confdefs.h. */ |
| 5210 |
|
_ACEOF |
| 5223 |
|
} |
| 5224 |
|
_ACEOF |
| 5225 |
|
rm -f conftest.$ac_objext |
| 5226 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 5227 |
< |
(eval $ac_compile) 2>conftest.er1 |
| 5226 |
> |
if { (ac_try="$ac_compile" |
| 5227 |
> |
case "(($ac_try" in |
| 5228 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 5229 |
> |
*) ac_try_echo=$ac_try;; |
| 5230 |
> |
esac |
| 5231 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 5232 |
> |
(eval "$ac_compile") 2>conftest.er1 |
| 5233 |
|
ac_status=$? |
| 5234 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 5235 |
|
rm -f conftest.er1 |
| 5236 |
|
cat conftest.err >&5 |
| 5237 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5238 |
< |
(exit $ac_status); } && |
| 5239 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
| 5240 |
< |
|| test ! -s conftest.err' |
| 5241 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5242 |
< |
(eval $ac_try) 2>&5 |
| 5243 |
< |
ac_status=$? |
| 4920 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4921 |
< |
(exit $ac_status); }; } && |
| 4922 |
< |
{ ac_try='test -s conftest.$ac_objext' |
| 4923 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4924 |
< |
(eval $ac_try) 2>&5 |
| 4925 |
< |
ac_status=$? |
| 4926 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4927 |
< |
(exit $ac_status); }; }; then |
| 4928 |
< |
echo "$as_me:$LINENO: result: yes" >&5 |
| 4929 |
< |
echo "${ECHO_T}yes" >&6 |
| 5238 |
> |
(exit $ac_status); } && { |
| 5239 |
> |
test -z "$ac_c_werror_flag" || |
| 5240 |
> |
test ! -s conftest.err |
| 5241 |
> |
} && test -s conftest.$ac_objext; then |
| 5242 |
> |
{ echo "$as_me:$LINENO: result: yes" >&5 |
| 5243 |
> |
echo "${ECHO_T}yes" >&6; } |
| 5244 |
|
else |
| 5245 |
|
echo "$as_me: failed program was:" >&5 |
| 5246 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 5247 |
|
|
| 5248 |
|
|
| 5249 |
< |
echo "$as_me:$LINENO: result: no" >&5 |
| 5250 |
< |
echo "${ECHO_T}no" >&6 |
| 5249 |
> |
{ echo "$as_me:$LINENO: result: no" >&5 |
| 5250 |
> |
echo "${ECHO_T}no" >&6; } |
| 5251 |
|
|
| 5252 |
|
cat >>confdefs.h <<\_ACEOF |
| 5253 |
|
#define NO_IN6ADDR_ANY 1 |
| 5257 |
|
|
| 5258 |
|
|
| 5259 |
|
fi |
| 5260 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 5260 |
> |
|
| 5261 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 5262 |
|
fi |
| 5263 |
|
|
| 5264 |
|
else |
| 5265 |
|
echo "$as_me: failed program was:" >&5 |
| 5266 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 5267 |
|
|
| 5268 |
< |
echo "$as_me:$LINENO: result: no" >&5 |
| 5269 |
< |
echo "${ECHO_T}no" >&6 |
| 5268 |
> |
{ echo "$as_me:$LINENO: result: no" >&5 |
| 5269 |
> |
echo "${ECHO_T}no" >&6; } |
| 5270 |
|
have_v6="no" |
| 5271 |
|
fi |
| 4957 |
– |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 5272 |
|
|
| 5273 |
< |
echo "$as_me:$LINENO: checking for library containing crypt" >&5 |
| 5274 |
< |
echo $ECHO_N "checking for library containing crypt... $ECHO_C" >&6 |
| 5273 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 5274 |
> |
|
| 5275 |
> |
{ echo "$as_me:$LINENO: checking for library containing crypt" >&5 |
| 5276 |
> |
echo $ECHO_N "checking for library containing crypt... $ECHO_C" >&6; } |
| 5277 |
|
if test "${ac_cv_search_crypt+set}" = set; then |
| 5278 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 5279 |
|
else |
| 5280 |
|
ac_func_search_save_LIBS=$LIBS |
| 4965 |
– |
ac_cv_search_crypt=no |
| 5281 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 5282 |
|
/* confdefs.h. */ |
| 5283 |
|
_ACEOF |
| 5285 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 5286 |
|
/* end confdefs.h. */ |
| 5287 |
|
|
| 5288 |
< |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 5288 |
> |
/* Override any GCC internal prototype to avoid an error. |
| 5289 |
> |
Use char because int might match the return type of a GCC |
| 5290 |
> |
builtin and then its argument prototype would still apply. */ |
| 5291 |
|
#ifdef __cplusplus |
| 5292 |
|
extern "C" |
| 5293 |
|
#endif |
| 4977 |
– |
/* We use char because int might match the return type of a gcc2 |
| 4978 |
– |
builtin and then its argument prototype would still apply. */ |
| 5294 |
|
char crypt (); |
| 5295 |
|
int |
| 5296 |
|
main () |
| 5297 |
|
{ |
| 5298 |
< |
crypt (); |
| 5298 |
> |
return crypt (); |
| 5299 |
|
; |
| 5300 |
|
return 0; |
| 5301 |
|
} |
| 5302 |
|
_ACEOF |
| 5303 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 5304 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 5305 |
< |
(eval $ac_link) 2>conftest.er1 |
| 5303 |
> |
for ac_lib in '' crypt descrypt; do |
| 5304 |
> |
if test -z "$ac_lib"; then |
| 5305 |
> |
ac_res="none required" |
| 5306 |
> |
else |
| 5307 |
> |
ac_res=-l$ac_lib |
| 5308 |
> |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 5309 |
> |
fi |
| 5310 |
> |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 5311 |
> |
if { (ac_try="$ac_link" |
| 5312 |
> |
case "(($ac_try" in |
| 5313 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 5314 |
> |
*) ac_try_echo=$ac_try;; |
| 5315 |
> |
esac |
| 5316 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 5317 |
> |
(eval "$ac_link") 2>conftest.er1 |
| 5318 |
|
ac_status=$? |
| 5319 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 5320 |
|
rm -f conftest.er1 |
| 5321 |
|
cat conftest.err >&5 |
| 5322 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5323 |
< |
(exit $ac_status); } && |
| 5324 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
| 5325 |
< |
|| test ! -s conftest.err' |
| 5326 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5327 |
< |
(eval $ac_try) 2>&5 |
| 5328 |
< |
ac_status=$? |
| 5002 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5003 |
< |
(exit $ac_status); }; } && |
| 5004 |
< |
{ ac_try='test -s conftest$ac_exeext' |
| 5005 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5006 |
< |
(eval $ac_try) 2>&5 |
| 5007 |
< |
ac_status=$? |
| 5008 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5009 |
< |
(exit $ac_status); }; }; then |
| 5010 |
< |
ac_cv_search_crypt="none required" |
| 5323 |
> |
(exit $ac_status); } && { |
| 5324 |
> |
test -z "$ac_c_werror_flag" || |
| 5325 |
> |
test ! -s conftest.err |
| 5326 |
> |
} && test -s conftest$ac_exeext && |
| 5327 |
> |
$as_test_x conftest$ac_exeext; then |
| 5328 |
> |
ac_cv_search_crypt=$ac_res |
| 5329 |
|
else |
| 5330 |
|
echo "$as_me: failed program was:" >&5 |
| 5331 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 5332 |
|
|
| 5015 |
– |
fi |
| 5016 |
– |
rm -f conftest.err conftest.$ac_objext \ |
| 5017 |
– |
conftest$ac_exeext conftest.$ac_ext |
| 5018 |
– |
if test "$ac_cv_search_crypt" = no; then |
| 5019 |
– |
for ac_lib in crypt descrypt; do |
| 5020 |
– |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 5021 |
– |
cat >conftest.$ac_ext <<_ACEOF |
| 5022 |
– |
/* confdefs.h. */ |
| 5023 |
– |
_ACEOF |
| 5024 |
– |
cat confdefs.h >>conftest.$ac_ext |
| 5025 |
– |
cat >>conftest.$ac_ext <<_ACEOF |
| 5026 |
– |
/* end confdefs.h. */ |
| 5333 |
|
|
| 5334 |
< |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 5029 |
< |
#ifdef __cplusplus |
| 5030 |
< |
extern "C" |
| 5031 |
< |
#endif |
| 5032 |
< |
/* We use char because int might match the return type of a gcc2 |
| 5033 |
< |
builtin and then its argument prototype would still apply. */ |
| 5034 |
< |
char crypt (); |
| 5035 |
< |
int |
| 5036 |
< |
main () |
| 5037 |
< |
{ |
| 5038 |
< |
crypt (); |
| 5039 |
< |
; |
| 5040 |
< |
return 0; |
| 5041 |
< |
} |
| 5042 |
< |
_ACEOF |
| 5043 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 5044 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 5045 |
< |
(eval $ac_link) 2>conftest.er1 |
| 5046 |
< |
ac_status=$? |
| 5047 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
| 5048 |
< |
rm -f conftest.er1 |
| 5049 |
< |
cat conftest.err >&5 |
| 5050 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5051 |
< |
(exit $ac_status); } && |
| 5052 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
| 5053 |
< |
|| test ! -s conftest.err' |
| 5054 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5055 |
< |
(eval $ac_try) 2>&5 |
| 5056 |
< |
ac_status=$? |
| 5057 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5058 |
< |
(exit $ac_status); }; } && |
| 5059 |
< |
{ ac_try='test -s conftest$ac_exeext' |
| 5060 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5061 |
< |
(eval $ac_try) 2>&5 |
| 5062 |
< |
ac_status=$? |
| 5063 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5064 |
< |
(exit $ac_status); }; }; then |
| 5065 |
< |
ac_cv_search_crypt="-l$ac_lib" |
| 5066 |
< |
break |
| 5067 |
< |
else |
| 5068 |
< |
echo "$as_me: failed program was:" >&5 |
| 5069 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 5334 |
> |
fi |
| 5335 |
|
|
| 5336 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 5337 |
+ |
conftest$ac_exeext |
| 5338 |
+ |
if test "${ac_cv_search_crypt+set}" = set; then |
| 5339 |
+ |
break |
| 5340 |
|
fi |
| 5341 |
< |
rm -f conftest.err conftest.$ac_objext \ |
| 5342 |
< |
conftest$ac_exeext conftest.$ac_ext |
| 5343 |
< |
done |
| 5341 |
> |
done |
| 5342 |
> |
if test "${ac_cv_search_crypt+set}" = set; then |
| 5343 |
> |
: |
| 5344 |
> |
else |
| 5345 |
> |
ac_cv_search_crypt=no |
| 5346 |
|
fi |
| 5347 |
+ |
rm conftest.$ac_ext |
| 5348 |
|
LIBS=$ac_func_search_save_LIBS |
| 5349 |
|
fi |
| 5350 |
< |
echo "$as_me:$LINENO: result: $ac_cv_search_crypt" >&5 |
| 5351 |
< |
echo "${ECHO_T}$ac_cv_search_crypt" >&6 |
| 5352 |
< |
if test "$ac_cv_search_crypt" != no; then |
| 5353 |
< |
test "$ac_cv_search_crypt" = "none required" || LIBS="$ac_cv_search_crypt $LIBS" |
| 5350 |
> |
{ echo "$as_me:$LINENO: result: $ac_cv_search_crypt" >&5 |
| 5351 |
> |
echo "${ECHO_T}$ac_cv_search_crypt" >&6; } |
| 5352 |
> |
ac_res=$ac_cv_search_crypt |
| 5353 |
> |
if test "$ac_res" != no; then |
| 5354 |
> |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 5355 |
|
|
| 5356 |
|
fi |
| 5357 |
|
|
| 5368 |
|
|
| 5369 |
|
|
| 5370 |
|
|
| 5371 |
< |
echo "$as_me:$LINENO: checking whether string.h and strings.h may both be included" >&5 |
| 5372 |
< |
echo $ECHO_N "checking whether string.h and strings.h may both be included... $ECHO_C" >&6 |
| 5371 |
> |
{ echo "$as_me:$LINENO: checking whether string.h and strings.h may both be included" >&5 |
| 5372 |
> |
echo $ECHO_N "checking whether string.h and strings.h may both be included... $ECHO_C" >&6; } |
| 5373 |
|
if test "${gcc_cv_header_string+set}" = set; then |
| 5374 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 5375 |
|
else |
| 5379 |
|
#include <strings.h> |
| 5380 |
|
_ACEOF |
| 5381 |
|
rm -f conftest.$ac_objext |
| 5382 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 5383 |
< |
(eval $ac_compile) 2>conftest.er1 |
| 5382 |
> |
if { (ac_try="$ac_compile" |
| 5383 |
> |
case "(($ac_try" in |
| 5384 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 5385 |
> |
*) ac_try_echo=$ac_try;; |
| 5386 |
> |
esac |
| 5387 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 5388 |
> |
(eval "$ac_compile") 2>conftest.er1 |
| 5389 |
|
ac_status=$? |
| 5390 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 5391 |
|
rm -f conftest.er1 |
| 5392 |
|
cat conftest.err >&5 |
| 5393 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5394 |
< |
(exit $ac_status); } && |
| 5395 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
| 5396 |
< |
|| test ! -s conftest.err' |
| 5397 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5120 |
< |
(eval $ac_try) 2>&5 |
| 5121 |
< |
ac_status=$? |
| 5122 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5123 |
< |
(exit $ac_status); }; } && |
| 5124 |
< |
{ ac_try='test -s conftest.$ac_objext' |
| 5125 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5126 |
< |
(eval $ac_try) 2>&5 |
| 5127 |
< |
ac_status=$? |
| 5128 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5129 |
< |
(exit $ac_status); }; }; then |
| 5394 |
> |
(exit $ac_status); } && { |
| 5395 |
> |
test -z "$ac_c_werror_flag" || |
| 5396 |
> |
test ! -s conftest.err |
| 5397 |
> |
} && test -s conftest.$ac_objext; then |
| 5398 |
|
gcc_cv_header_string=yes |
| 5399 |
|
else |
| 5400 |
|
echo "$as_me: failed program was:" >&5 |
| 5401 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 5402 |
|
|
| 5403 |
< |
gcc_cv_header_string=no |
| 5403 |
> |
gcc_cv_header_string=no |
| 5404 |
|
fi |
| 5405 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 5405 |
> |
|
| 5406 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 5407 |
|
|
| 5408 |
|
fi |
| 5409 |
< |
echo "$as_me:$LINENO: result: $gcc_cv_header_string" >&5 |
| 5410 |
< |
echo "${ECHO_T}$gcc_cv_header_string" >&6 |
| 5409 |
> |
{ echo "$as_me:$LINENO: result: $gcc_cv_header_string" >&5 |
| 5410 |
> |
echo "${ECHO_T}$gcc_cv_header_string" >&6; } |
| 5411 |
|
|
| 5412 |
|
if test "$gcc_cv_header_string" = "yes"; then |
| 5413 |
|
|
| 5417 |
|
|
| 5418 |
|
fi |
| 5419 |
|
|
| 5420 |
< |
echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 |
| 5421 |
< |
echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6 |
| 5420 |
> |
{ echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 |
| 5421 |
> |
echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; } |
| 5422 |
|
if test "${ac_cv_c_bigendian+set}" = set; then |
| 5423 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 5424 |
|
else |
| 5435 |
|
int |
| 5436 |
|
main () |
| 5437 |
|
{ |
| 5438 |
< |
#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN |
| 5438 |
> |
#if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \ |
| 5439 |
> |
&& BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN) |
| 5440 |
|
bogus endian macros |
| 5441 |
|
#endif |
| 5442 |
|
|
| 5445 |
|
} |
| 5446 |
|
_ACEOF |
| 5447 |
|
rm -f conftest.$ac_objext |
| 5448 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 5449 |
< |
(eval $ac_compile) 2>conftest.er1 |
| 5448 |
> |
if { (ac_try="$ac_compile" |
| 5449 |
> |
case "(($ac_try" in |
| 5450 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 5451 |
> |
*) ac_try_echo=$ac_try;; |
| 5452 |
> |
esac |
| 5453 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 5454 |
> |
(eval "$ac_compile") 2>conftest.er1 |
| 5455 |
|
ac_status=$? |
| 5456 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 5457 |
|
rm -f conftest.er1 |
| 5458 |
|
cat conftest.err >&5 |
| 5459 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5460 |
< |
(exit $ac_status); } && |
| 5461 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
| 5462 |
< |
|| test ! -s conftest.err' |
| 5463 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5189 |
< |
(eval $ac_try) 2>&5 |
| 5190 |
< |
ac_status=$? |
| 5191 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5192 |
< |
(exit $ac_status); }; } && |
| 5193 |
< |
{ ac_try='test -s conftest.$ac_objext' |
| 5194 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5195 |
< |
(eval $ac_try) 2>&5 |
| 5196 |
< |
ac_status=$? |
| 5197 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5198 |
< |
(exit $ac_status); }; }; then |
| 5460 |
> |
(exit $ac_status); } && { |
| 5461 |
> |
test -z "$ac_c_werror_flag" || |
| 5462 |
> |
test ! -s conftest.err |
| 5463 |
> |
} && test -s conftest.$ac_objext; then |
| 5464 |
|
# It does; now see whether it defined to BIG_ENDIAN or not. |
| 5465 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 5466 |
|
/* confdefs.h. */ |
| 5483 |
|
} |
| 5484 |
|
_ACEOF |
| 5485 |
|
rm -f conftest.$ac_objext |
| 5486 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 5487 |
< |
(eval $ac_compile) 2>conftest.er1 |
| 5486 |
> |
if { (ac_try="$ac_compile" |
| 5487 |
> |
case "(($ac_try" in |
| 5488 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 5489 |
> |
*) ac_try_echo=$ac_try;; |
| 5490 |
> |
esac |
| 5491 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 5492 |
> |
(eval "$ac_compile") 2>conftest.er1 |
| 5493 |
|
ac_status=$? |
| 5494 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 5495 |
|
rm -f conftest.er1 |
| 5496 |
|
cat conftest.err >&5 |
| 5497 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5498 |
< |
(exit $ac_status); } && |
| 5499 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
| 5500 |
< |
|| test ! -s conftest.err' |
| 5501 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5232 |
< |
(eval $ac_try) 2>&5 |
| 5233 |
< |
ac_status=$? |
| 5234 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5235 |
< |
(exit $ac_status); }; } && |
| 5236 |
< |
{ ac_try='test -s conftest.$ac_objext' |
| 5237 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5238 |
< |
(eval $ac_try) 2>&5 |
| 5239 |
< |
ac_status=$? |
| 5240 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5241 |
< |
(exit $ac_status); }; }; then |
| 5498 |
> |
(exit $ac_status); } && { |
| 5499 |
> |
test -z "$ac_c_werror_flag" || |
| 5500 |
> |
test ! -s conftest.err |
| 5501 |
> |
} && test -s conftest.$ac_objext; then |
| 5502 |
|
ac_cv_c_bigendian=yes |
| 5503 |
|
else |
| 5504 |
|
echo "$as_me: failed program was:" >&5 |
| 5505 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 5506 |
|
|
| 5507 |
< |
ac_cv_c_bigendian=no |
| 5507 |
> |
ac_cv_c_bigendian=no |
| 5508 |
|
fi |
| 5509 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 5509 |
> |
|
| 5510 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 5511 |
|
else |
| 5512 |
|
echo "$as_me: failed program was:" >&5 |
| 5513 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 5514 |
|
|
| 5515 |
< |
# It does not; compile a test program. |
| 5515 |
> |
# It does not; compile a test program. |
| 5516 |
|
if test "$cross_compiling" = yes; then |
| 5517 |
|
# try to guess the endianness by grepping values into an object file |
| 5518 |
|
ac_cv_c_bigendian=unknown |
| 5522 |
|
cat confdefs.h >>conftest.$ac_ext |
| 5523 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 5524 |
|
/* end confdefs.h. */ |
| 5525 |
< |
short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; |
| 5526 |
< |
short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; |
| 5525 |
> |
short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; |
| 5526 |
> |
short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; |
| 5527 |
|
void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } |
| 5528 |
< |
short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; |
| 5529 |
< |
short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; |
| 5528 |
> |
short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; |
| 5529 |
> |
short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; |
| 5530 |
|
void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } |
| 5531 |
|
int |
| 5532 |
|
main () |
| 5537 |
|
} |
| 5538 |
|
_ACEOF |
| 5539 |
|
rm -f conftest.$ac_objext |
| 5540 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 5541 |
< |
(eval $ac_compile) 2>conftest.er1 |
| 5540 |
> |
if { (ac_try="$ac_compile" |
| 5541 |
> |
case "(($ac_try" in |
| 5542 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 5543 |
> |
*) ac_try_echo=$ac_try;; |
| 5544 |
> |
esac |
| 5545 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 5546 |
> |
(eval "$ac_compile") 2>conftest.er1 |
| 5547 |
|
ac_status=$? |
| 5548 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 5549 |
|
rm -f conftest.er1 |
| 5550 |
|
cat conftest.err >&5 |
| 5551 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5552 |
< |
(exit $ac_status); } && |
| 5553 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
| 5554 |
< |
|| test ! -s conftest.err' |
| 5555 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5290 |
< |
(eval $ac_try) 2>&5 |
| 5291 |
< |
ac_status=$? |
| 5292 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5293 |
< |
(exit $ac_status); }; } && |
| 5294 |
< |
{ ac_try='test -s conftest.$ac_objext' |
| 5295 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5296 |
< |
(eval $ac_try) 2>&5 |
| 5297 |
< |
ac_status=$? |
| 5298 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5299 |
< |
(exit $ac_status); }; }; then |
| 5552 |
> |
(exit $ac_status); } && { |
| 5553 |
> |
test -z "$ac_c_werror_flag" || |
| 5554 |
> |
test ! -s conftest.err |
| 5555 |
> |
} && test -s conftest.$ac_objext; then |
| 5556 |
|
if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then |
| 5557 |
|
ac_cv_c_bigendian=yes |
| 5558 |
|
fi |
| 5568 |
|
echo "$as_me: failed program was:" >&5 |
| 5569 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 5570 |
|
|
| 5571 |
+ |
|
| 5572 |
|
fi |
| 5573 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 5573 |
> |
|
| 5574 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 5575 |
|
else |
| 5576 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 5577 |
|
/* confdefs.h. */ |
| 5579 |
|
cat confdefs.h >>conftest.$ac_ext |
| 5580 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 5581 |
|
/* end confdefs.h. */ |
| 5582 |
+ |
$ac_includes_default |
| 5583 |
|
int |
| 5584 |
|
main () |
| 5585 |
|
{ |
| 5586 |
+ |
|
| 5587 |
|
/* Are we little or big endian? From Harbison&Steele. */ |
| 5588 |
|
union |
| 5589 |
|
{ |
| 5590 |
< |
long l; |
| 5591 |
< |
char c[sizeof (long)]; |
| 5590 |
> |
long int l; |
| 5591 |
> |
char c[sizeof (long int)]; |
| 5592 |
|
} u; |
| 5593 |
|
u.l = 1; |
| 5594 |
< |
exit (u.c[sizeof (long) - 1] == 1); |
| 5594 |
> |
return u.c[sizeof (long int) - 1] == 1; |
| 5595 |
> |
|
| 5596 |
> |
; |
| 5597 |
> |
return 0; |
| 5598 |
|
} |
| 5599 |
|
_ACEOF |
| 5600 |
|
rm -f conftest$ac_exeext |
| 5601 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 5602 |
< |
(eval $ac_link) 2>&5 |
| 5601 |
> |
if { (ac_try="$ac_link" |
| 5602 |
> |
case "(($ac_try" in |
| 5603 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 5604 |
> |
*) ac_try_echo=$ac_try;; |
| 5605 |
> |
esac |
| 5606 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 5607 |
> |
(eval "$ac_link") 2>&5 |
| 5608 |
|
ac_status=$? |
| 5609 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5610 |
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
| 5611 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5612 |
< |
(eval $ac_try) 2>&5 |
| 5611 |
> |
{ (case "(($ac_try" in |
| 5612 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 5613 |
> |
*) ac_try_echo=$ac_try;; |
| 5614 |
> |
esac |
| 5615 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 5616 |
> |
(eval "$ac_try") 2>&5 |
| 5617 |
|
ac_status=$? |
| 5618 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5619 |
|
(exit $ac_status); }; }; then |
| 5626 |
|
( exit $ac_status ) |
| 5627 |
|
ac_cv_c_bigendian=yes |
| 5628 |
|
fi |
| 5629 |
< |
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 5629 |
> |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 5630 |
|
fi |
| 5631 |
+ |
|
| 5632 |
+ |
|
| 5633 |
|
fi |
| 5634 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 5634 |
> |
|
| 5635 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 5636 |
|
fi |
| 5637 |
< |
echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 |
| 5638 |
< |
echo "${ECHO_T}$ac_cv_c_bigendian" >&6 |
| 5637 |
> |
{ echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 |
| 5638 |
> |
echo "${ECHO_T}$ac_cv_c_bigendian" >&6; } |
| 5639 |
|
case $ac_cv_c_bigendian in |
| 5640 |
|
yes) |
| 5641 |
|
|
| 5655 |
|
|
| 5656 |
|
|
| 5657 |
|
if test "${ac_cv_header_stdarg_h+set}" = set; then |
| 5658 |
< |
echo "$as_me:$LINENO: checking for stdarg.h" >&5 |
| 5659 |
< |
echo $ECHO_N "checking for stdarg.h... $ECHO_C" >&6 |
| 5658 |
> |
{ echo "$as_me:$LINENO: checking for stdarg.h" >&5 |
| 5659 |
> |
echo $ECHO_N "checking for stdarg.h... $ECHO_C" >&6; } |
| 5660 |
|
if test "${ac_cv_header_stdarg_h+set}" = set; then |
| 5661 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 5662 |
|
fi |
| 5663 |
< |
echo "$as_me:$LINENO: result: $ac_cv_header_stdarg_h" >&5 |
| 5664 |
< |
echo "${ECHO_T}$ac_cv_header_stdarg_h" >&6 |
| 5663 |
> |
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdarg_h" >&5 |
| 5664 |
> |
echo "${ECHO_T}$ac_cv_header_stdarg_h" >&6; } |
| 5665 |
|
else |
| 5666 |
|
# Is the header compilable? |
| 5667 |
< |
echo "$as_me:$LINENO: checking stdarg.h usability" >&5 |
| 5668 |
< |
echo $ECHO_N "checking stdarg.h usability... $ECHO_C" >&6 |
| 5667 |
> |
{ echo "$as_me:$LINENO: checking stdarg.h usability" >&5 |
| 5668 |
> |
echo $ECHO_N "checking stdarg.h usability... $ECHO_C" >&6; } |
| 5669 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 5670 |
|
/* confdefs.h. */ |
| 5671 |
|
_ACEOF |
| 5676 |
|
#include <stdarg.h> |
| 5677 |
|
_ACEOF |
| 5678 |
|
rm -f conftest.$ac_objext |
| 5679 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 5680 |
< |
(eval $ac_compile) 2>conftest.er1 |
| 5679 |
> |
if { (ac_try="$ac_compile" |
| 5680 |
> |
case "(($ac_try" in |
| 5681 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 5682 |
> |
*) ac_try_echo=$ac_try;; |
| 5683 |
> |
esac |
| 5684 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 5685 |
> |
(eval "$ac_compile") 2>conftest.er1 |
| 5686 |
|
ac_status=$? |
| 5687 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 5688 |
|
rm -f conftest.er1 |
| 5689 |
|
cat conftest.err >&5 |
| 5690 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5691 |
< |
(exit $ac_status); } && |
| 5692 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
| 5693 |
< |
|| test ! -s conftest.err' |
| 5694 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5415 |
< |
(eval $ac_try) 2>&5 |
| 5416 |
< |
ac_status=$? |
| 5417 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5418 |
< |
(exit $ac_status); }; } && |
| 5419 |
< |
{ ac_try='test -s conftest.$ac_objext' |
| 5420 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5421 |
< |
(eval $ac_try) 2>&5 |
| 5422 |
< |
ac_status=$? |
| 5423 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5424 |
< |
(exit $ac_status); }; }; then |
| 5691 |
> |
(exit $ac_status); } && { |
| 5692 |
> |
test -z "$ac_c_werror_flag" || |
| 5693 |
> |
test ! -s conftest.err |
| 5694 |
> |
} && test -s conftest.$ac_objext; then |
| 5695 |
|
ac_header_compiler=yes |
| 5696 |
|
else |
| 5697 |
|
echo "$as_me: failed program was:" >&5 |
| 5698 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 5699 |
|
|
| 5700 |
< |
ac_header_compiler=no |
| 5700 |
> |
ac_header_compiler=no |
| 5701 |
|
fi |
| 5702 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 5703 |
< |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 5704 |
< |
echo "${ECHO_T}$ac_header_compiler" >&6 |
| 5702 |
> |
|
| 5703 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 5704 |
> |
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 5705 |
> |
echo "${ECHO_T}$ac_header_compiler" >&6; } |
| 5706 |
|
|
| 5707 |
|
# Is the header present? |
| 5708 |
< |
echo "$as_me:$LINENO: checking stdarg.h presence" >&5 |
| 5709 |
< |
echo $ECHO_N "checking stdarg.h presence... $ECHO_C" >&6 |
| 5708 |
> |
{ echo "$as_me:$LINENO: checking stdarg.h presence" >&5 |
| 5709 |
> |
echo $ECHO_N "checking stdarg.h presence... $ECHO_C" >&6; } |
| 5710 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 5711 |
|
/* confdefs.h. */ |
| 5712 |
|
_ACEOF |
| 5715 |
|
/* end confdefs.h. */ |
| 5716 |
|
#include <stdarg.h> |
| 5717 |
|
_ACEOF |
| 5718 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 5719 |
< |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 5718 |
> |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 5719 |
> |
case "(($ac_try" in |
| 5720 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 5721 |
> |
*) ac_try_echo=$ac_try;; |
| 5722 |
> |
esac |
| 5723 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 5724 |
> |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
| 5725 |
|
ac_status=$? |
| 5726 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 5727 |
|
rm -f conftest.er1 |
| 5728 |
|
cat conftest.err >&5 |
| 5729 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5730 |
< |
(exit $ac_status); } >/dev/null; then |
| 5731 |
< |
if test -s conftest.err; then |
| 5732 |
< |
ac_cpp_err=$ac_c_preproc_warn_flag |
| 5733 |
< |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| 5458 |
< |
else |
| 5459 |
< |
ac_cpp_err= |
| 5460 |
< |
fi |
| 5461 |
< |
else |
| 5462 |
< |
ac_cpp_err=yes |
| 5463 |
< |
fi |
| 5464 |
< |
if test -z "$ac_cpp_err"; then |
| 5730 |
> |
(exit $ac_status); } >/dev/null && { |
| 5731 |
> |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 5732 |
> |
test ! -s conftest.err |
| 5733 |
> |
}; then |
| 5734 |
|
ac_header_preproc=yes |
| 5735 |
|
else |
| 5736 |
|
echo "$as_me: failed program was:" >&5 |
| 5738 |
|
|
| 5739 |
|
ac_header_preproc=no |
| 5740 |
|
fi |
| 5741 |
+ |
|
| 5742 |
|
rm -f conftest.err conftest.$ac_ext |
| 5743 |
< |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 5744 |
< |
echo "${ECHO_T}$ac_header_preproc" >&6 |
| 5743 |
> |
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 5744 |
> |
echo "${ECHO_T}$ac_header_preproc" >&6; } |
| 5745 |
|
|
| 5746 |
|
# So? What about this header? |
| 5747 |
|
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| 5765 |
|
echo "$as_me: WARNING: stdarg.h: proceeding with the preprocessor's result" >&2;} |
| 5766 |
|
{ echo "$as_me:$LINENO: WARNING: stdarg.h: in the future, the compiler will take precedence" >&5 |
| 5767 |
|
echo "$as_me: WARNING: stdarg.h: in the future, the compiler will take precedence" >&2;} |
| 5768 |
< |
( |
| 5499 |
< |
cat <<\_ASBOX |
| 5500 |
< |
## -------------------------------------- ## |
| 5501 |
< |
## Report this to the ircd-hybrid lists. ## |
| 5502 |
< |
## -------------------------------------- ## |
| 5503 |
< |
_ASBOX |
| 5504 |
< |
) | |
| 5505 |
< |
sed "s/^/$as_me: WARNING: /" >&2 |
| 5768 |
> |
|
| 5769 |
|
;; |
| 5770 |
|
esac |
| 5771 |
< |
echo "$as_me:$LINENO: checking for stdarg.h" >&5 |
| 5772 |
< |
echo $ECHO_N "checking for stdarg.h... $ECHO_C" >&6 |
| 5771 |
> |
{ echo "$as_me:$LINENO: checking for stdarg.h" >&5 |
| 5772 |
> |
echo $ECHO_N "checking for stdarg.h... $ECHO_C" >&6; } |
| 5773 |
|
if test "${ac_cv_header_stdarg_h+set}" = set; then |
| 5774 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 5775 |
|
else |
| 5776 |
|
ac_cv_header_stdarg_h=$ac_header_preproc |
| 5777 |
|
fi |
| 5778 |
< |
echo "$as_me:$LINENO: result: $ac_cv_header_stdarg_h" >&5 |
| 5779 |
< |
echo "${ECHO_T}$ac_cv_header_stdarg_h" >&6 |
| 5778 |
> |
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdarg_h" >&5 |
| 5779 |
> |
echo "${ECHO_T}$ac_cv_header_stdarg_h" >&6; } |
| 5780 |
|
|
| 5781 |
|
fi |
| 5782 |
|
if test $ac_cv_header_stdarg_h = yes; then |
| 5792 |
|
|
| 5793 |
|
if test "$ac_cv_c_compiler_gnu" = yes; then |
| 5794 |
|
|
| 5795 |
< |
echo "$as_me:$LINENO: checking for strlcpy" >&5 |
| 5796 |
< |
echo $ECHO_N "checking for strlcpy... $ECHO_C" >&6 |
| 5795 |
> |
{ echo "$as_me:$LINENO: checking for strlcpy" >&5 |
| 5796 |
> |
echo $ECHO_N "checking for strlcpy... $ECHO_C" >&6; } |
| 5797 |
|
save_CFLAGS=$CFLAGS |
| 5798 |
|
CFLAGS="$CFLAGS -Wimplicit -Werror" |
| 5799 |
|
|
| 5816 |
|
} |
| 5817 |
|
_ACEOF |
| 5818 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
| 5819 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 5820 |
< |
(eval $ac_link) 2>conftest.er1 |
| 5819 |
> |
if { (ac_try="$ac_link" |
| 5820 |
> |
case "(($ac_try" in |
| 5821 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 5822 |
> |
*) ac_try_echo=$ac_try;; |
| 5823 |
> |
esac |
| 5824 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 5825 |
> |
(eval "$ac_link") 2>conftest.er1 |
| 5826 |
|
ac_status=$? |
| 5827 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 5828 |
|
rm -f conftest.er1 |
| 5829 |
|
cat conftest.err >&5 |
| 5830 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5831 |
< |
(exit $ac_status); } && |
| 5832 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
| 5833 |
< |
|| test ! -s conftest.err' |
| 5834 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5835 |
< |
(eval $ac_try) 2>&5 |
| 5836 |
< |
ac_status=$? |
| 5837 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5570 |
< |
(exit $ac_status); }; } && |
| 5571 |
< |
{ ac_try='test -s conftest$ac_exeext' |
| 5572 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5573 |
< |
(eval $ac_try) 2>&5 |
| 5574 |
< |
ac_status=$? |
| 5575 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5576 |
< |
(exit $ac_status); }; }; then |
| 5577 |
< |
echo "$as_me:$LINENO: result: yes" >&5 |
| 5578 |
< |
echo "${ECHO_T}yes" >&6 |
| 5831 |
> |
(exit $ac_status); } && { |
| 5832 |
> |
test -z "$ac_c_werror_flag" || |
| 5833 |
> |
test ! -s conftest.err |
| 5834 |
> |
} && test -s conftest$ac_exeext && |
| 5835 |
> |
$as_test_x conftest$ac_exeext; then |
| 5836 |
> |
{ echo "$as_me:$LINENO: result: yes" >&5 |
| 5837 |
> |
echo "${ECHO_T}yes" >&6; } |
| 5838 |
|
|
| 5839 |
|
cat >>confdefs.h <<\_ACEOF |
| 5840 |
|
#define HAVE_STRLCPY 1 |
| 5844 |
|
echo "$as_me: failed program was:" >&5 |
| 5845 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 5846 |
|
|
| 5847 |
< |
echo "$as_me:$LINENO: result: no" >&5 |
| 5848 |
< |
echo "${ECHO_T}no" >&6 |
| 5847 |
> |
{ echo "$as_me:$LINENO: result: no" >&5 |
| 5848 |
> |
echo "${ECHO_T}no" >&6; } |
| 5849 |
|
|
| 5850 |
|
fi |
| 5851 |
< |
rm -f conftest.err conftest.$ac_objext \ |
| 5851 |
> |
|
| 5852 |
> |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 5853 |
|
conftest$ac_exeext conftest.$ac_ext |
| 5854 |
|
|
| 5855 |
< |
echo "$as_me:$LINENO: checking for strlcat" >&5 |
| 5856 |
< |
echo $ECHO_N "checking for strlcat... $ECHO_C" >&6 |
| 5855 |
> |
{ echo "$as_me:$LINENO: checking for strlcat" >&5 |
| 5856 |
> |
echo $ECHO_N "checking for strlcat... $ECHO_C" >&6; } |
| 5857 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 5858 |
|
/* confdefs.h. */ |
| 5859 |
|
_ACEOF |
| 5873 |
|
} |
| 5874 |
|
_ACEOF |
| 5875 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
| 5876 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 5877 |
< |
(eval $ac_link) 2>conftest.er1 |
| 5876 |
> |
if { (ac_try="$ac_link" |
| 5877 |
> |
case "(($ac_try" in |
| 5878 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 5879 |
> |
*) ac_try_echo=$ac_try;; |
| 5880 |
> |
esac |
| 5881 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 5882 |
> |
(eval "$ac_link") 2>conftest.er1 |
| 5883 |
|
ac_status=$? |
| 5884 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 5885 |
|
rm -f conftest.er1 |
| 5886 |
|
cat conftest.err >&5 |
| 5887 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5888 |
< |
(exit $ac_status); } && |
| 5889 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
| 5890 |
< |
|| test ! -s conftest.err' |
| 5891 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5892 |
< |
(eval $ac_try) 2>&5 |
| 5893 |
< |
ac_status=$? |
| 5894 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5630 |
< |
(exit $ac_status); }; } && |
| 5631 |
< |
{ ac_try='test -s conftest$ac_exeext' |
| 5632 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5633 |
< |
(eval $ac_try) 2>&5 |
| 5634 |
< |
ac_status=$? |
| 5635 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5636 |
< |
(exit $ac_status); }; }; then |
| 5637 |
< |
echo "$as_me:$LINENO: result: yes" >&5 |
| 5638 |
< |
echo "${ECHO_T}yes" >&6 |
| 5888 |
> |
(exit $ac_status); } && { |
| 5889 |
> |
test -z "$ac_c_werror_flag" || |
| 5890 |
> |
test ! -s conftest.err |
| 5891 |
> |
} && test -s conftest$ac_exeext && |
| 5892 |
> |
$as_test_x conftest$ac_exeext; then |
| 5893 |
> |
{ echo "$as_me:$LINENO: result: yes" >&5 |
| 5894 |
> |
echo "${ECHO_T}yes" >&6; } |
| 5895 |
|
|
| 5896 |
|
cat >>confdefs.h <<\_ACEOF |
| 5897 |
|
#define HAVE_STRLCAT 1 |
| 5901 |
|
echo "$as_me: failed program was:" >&5 |
| 5902 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 5903 |
|
|
| 5904 |
< |
echo "$as_me:$LINENO: result: no" >&5 |
| 5905 |
< |
echo "${ECHO_T}no" >&6 |
| 5904 |
> |
{ echo "$as_me:$LINENO: result: no" >&5 |
| 5905 |
> |
echo "${ECHO_T}no" >&6; } |
| 5906 |
|
|
| 5907 |
|
fi |
| 5908 |
< |
rm -f conftest.err conftest.$ac_objext \ |
| 5908 |
> |
|
| 5909 |
> |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 5910 |
|
conftest$ac_exeext conftest.$ac_ext |
| 5911 |
|
|
| 5912 |
|
CFLAGS=$save_CFLAGS |
| 5919 |
|
for ac_func in strlcat strlcpy |
| 5920 |
|
do |
| 5921 |
|
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 5922 |
< |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 5923 |
< |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
| 5924 |
< |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
| 5922 |
> |
{ echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 5923 |
> |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
| 5924 |
> |
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
| 5925 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 5926 |
|
else |
| 5927 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 5947 |
|
|
| 5948 |
|
#undef $ac_func |
| 5949 |
|
|
| 5950 |
< |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 5950 |
> |
/* Override any GCC internal prototype to avoid an error. |
| 5951 |
> |
Use char because int might match the return type of a GCC |
| 5952 |
> |
builtin and then its argument prototype would still apply. */ |
| 5953 |
|
#ifdef __cplusplus |
| 5954 |
|
extern "C" |
| 5696 |
– |
{ |
| 5955 |
|
#endif |
| 5698 |
– |
/* We use char because int might match the return type of a gcc2 |
| 5699 |
– |
builtin and then its argument prototype would still apply. */ |
| 5956 |
|
char $ac_func (); |
| 5957 |
|
/* The GNU C library defines this for functions which it implements |
| 5958 |
|
to always fail with ENOSYS. Some functions are actually named |
| 5959 |
|
something starting with __ and the normal name is an alias. */ |
| 5960 |
< |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
| 5960 |
> |
#if defined __stub_$ac_func || defined __stub___$ac_func |
| 5961 |
|
choke me |
| 5706 |
– |
#else |
| 5707 |
– |
char (*f) () = $ac_func; |
| 5708 |
– |
#endif |
| 5709 |
– |
#ifdef __cplusplus |
| 5710 |
– |
} |
| 5962 |
|
#endif |
| 5963 |
|
|
| 5964 |
|
int |
| 5965 |
|
main () |
| 5966 |
|
{ |
| 5967 |
< |
return f != $ac_func; |
| 5967 |
> |
return $ac_func (); |
| 5968 |
|
; |
| 5969 |
|
return 0; |
| 5970 |
|
} |
| 5971 |
|
_ACEOF |
| 5972 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
| 5973 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 5974 |
< |
(eval $ac_link) 2>conftest.er1 |
| 5973 |
> |
if { (ac_try="$ac_link" |
| 5974 |
> |
case "(($ac_try" in |
| 5975 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 5976 |
> |
*) ac_try_echo=$ac_try;; |
| 5977 |
> |
esac |
| 5978 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 5979 |
> |
(eval "$ac_link") 2>conftest.er1 |
| 5980 |
|
ac_status=$? |
| 5981 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 5982 |
|
rm -f conftest.er1 |
| 5983 |
|
cat conftest.err >&5 |
| 5984 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5985 |
< |
(exit $ac_status); } && |
| 5986 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
| 5987 |
< |
|| test ! -s conftest.err' |
| 5988 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5989 |
< |
(eval $ac_try) 2>&5 |
| 5734 |
< |
ac_status=$? |
| 5735 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5736 |
< |
(exit $ac_status); }; } && |
| 5737 |
< |
{ ac_try='test -s conftest$ac_exeext' |
| 5738 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5739 |
< |
(eval $ac_try) 2>&5 |
| 5740 |
< |
ac_status=$? |
| 5741 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5742 |
< |
(exit $ac_status); }; }; then |
| 5985 |
> |
(exit $ac_status); } && { |
| 5986 |
> |
test -z "$ac_c_werror_flag" || |
| 5987 |
> |
test ! -s conftest.err |
| 5988 |
> |
} && test -s conftest$ac_exeext && |
| 5989 |
> |
$as_test_x conftest$ac_exeext; then |
| 5990 |
|
eval "$as_ac_var=yes" |
| 5991 |
|
else |
| 5992 |
|
echo "$as_me: failed program was:" >&5 |
| 5993 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 5994 |
|
|
| 5995 |
< |
eval "$as_ac_var=no" |
| 5995 |
> |
eval "$as_ac_var=no" |
| 5996 |
|
fi |
| 5997 |
< |
rm -f conftest.err conftest.$ac_objext \ |
| 5997 |
> |
|
| 5998 |
> |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 5999 |
|
conftest$ac_exeext conftest.$ac_ext |
| 6000 |
|
fi |
| 6001 |
< |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
| 6002 |
< |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
| 6001 |
> |
ac_res=`eval echo '${'$as_ac_var'}'` |
| 6002 |
> |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 6003 |
> |
echo "${ECHO_T}$ac_res" >&6; } |
| 6004 |
|
if test `eval echo '${'$as_ac_var'}'` = yes; then |
| 6005 |
|
cat >>confdefs.h <<_ACEOF |
| 6006 |
|
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 6012 |
|
|
| 6013 |
|
fi |
| 6014 |
|
|
| 6015 |
< |
echo "$as_me:$LINENO: checking for int64_t" >&5 |
| 6016 |
< |
echo $ECHO_N "checking for int64_t... $ECHO_C" >&6 |
| 6015 |
> |
{ echo "$as_me:$LINENO: checking for int64_t" >&5 |
| 6016 |
> |
echo $ECHO_N "checking for int64_t... $ECHO_C" >&6; } |
| 6017 |
|
if test "${ac_cv_type_int64_t+set}" = set; then |
| 6018 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 6019 |
|
else |
| 6024 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 6025 |
|
/* end confdefs.h. */ |
| 6026 |
|
$ac_includes_default |
| 6027 |
+ |
typedef int64_t ac__type_new_; |
| 6028 |
|
int |
| 6029 |
|
main () |
| 6030 |
|
{ |
| 6031 |
< |
if ((int64_t *) 0) |
| 6031 |
> |
if ((ac__type_new_ *) 0) |
| 6032 |
|
return 0; |
| 6033 |
< |
if (sizeof (int64_t)) |
| 6033 |
> |
if (sizeof (ac__type_new_)) |
| 6034 |
|
return 0; |
| 6035 |
|
; |
| 6036 |
|
return 0; |
| 6037 |
|
} |
| 6038 |
|
_ACEOF |
| 6039 |
|
rm -f conftest.$ac_objext |
| 6040 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 6041 |
< |
(eval $ac_compile) 2>conftest.er1 |
| 6040 |
> |
if { (ac_try="$ac_compile" |
| 6041 |
> |
case "(($ac_try" in |
| 6042 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 6043 |
> |
*) ac_try_echo=$ac_try;; |
| 6044 |
> |
esac |
| 6045 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 6046 |
> |
(eval "$ac_compile") 2>conftest.er1 |
| 6047 |
|
ac_status=$? |
| 6048 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 6049 |
|
rm -f conftest.er1 |
| 6050 |
|
cat conftest.err >&5 |
| 6051 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6052 |
< |
(exit $ac_status); } && |
| 6053 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
| 6054 |
< |
|| test ! -s conftest.err' |
| 6055 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5801 |
< |
(eval $ac_try) 2>&5 |
| 5802 |
< |
ac_status=$? |
| 5803 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5804 |
< |
(exit $ac_status); }; } && |
| 5805 |
< |
{ ac_try='test -s conftest.$ac_objext' |
| 5806 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5807 |
< |
(eval $ac_try) 2>&5 |
| 5808 |
< |
ac_status=$? |
| 5809 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5810 |
< |
(exit $ac_status); }; }; then |
| 6052 |
> |
(exit $ac_status); } && { |
| 6053 |
> |
test -z "$ac_c_werror_flag" || |
| 6054 |
> |
test ! -s conftest.err |
| 6055 |
> |
} && test -s conftest.$ac_objext; then |
| 6056 |
|
ac_cv_type_int64_t=yes |
| 6057 |
|
else |
| 6058 |
|
echo "$as_me: failed program was:" >&5 |
| 6059 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 6060 |
|
|
| 6061 |
< |
ac_cv_type_int64_t=no |
| 6061 |
> |
ac_cv_type_int64_t=no |
| 6062 |
|
fi |
| 6063 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6063 |
> |
|
| 6064 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6065 |
|
fi |
| 6066 |
< |
echo "$as_me:$LINENO: result: $ac_cv_type_int64_t" >&5 |
| 6067 |
< |
echo "${ECHO_T}$ac_cv_type_int64_t" >&6 |
| 6066 |
> |
{ echo "$as_me:$LINENO: result: $ac_cv_type_int64_t" >&5 |
| 6067 |
> |
echo "${ECHO_T}$ac_cv_type_int64_t" >&6; } |
| 6068 |
|
|
| 6069 |
< |
echo "$as_me:$LINENO: checking size of int64_t" >&5 |
| 6070 |
< |
echo $ECHO_N "checking size of int64_t... $ECHO_C" >&6 |
| 6069 |
> |
# The cast to long int works around a bug in the HP C Compiler |
| 6070 |
> |
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
| 6071 |
> |
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
| 6072 |
> |
# This bug is HP SR number 8606223364. |
| 6073 |
> |
{ echo "$as_me:$LINENO: checking size of int64_t" >&5 |
| 6074 |
> |
echo $ECHO_N "checking size of int64_t... $ECHO_C" >&6; } |
| 6075 |
|
if test "${ac_cv_sizeof_int64_t+set}" = set; then |
| 6076 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 6077 |
|
else |
| 5828 |
– |
if test "$ac_cv_type_int64_t" = yes; then |
| 5829 |
– |
# The cast to unsigned long works around a bug in the HP C Compiler |
| 5830 |
– |
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
| 5831 |
– |
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
| 5832 |
– |
# This bug is HP SR number 8606223364. |
| 6078 |
|
if test "$cross_compiling" = yes; then |
| 6079 |
|
# Depending upon the size, compute the lo and hi bounds. |
| 6080 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 6084 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 6085 |
|
/* end confdefs.h. */ |
| 6086 |
|
$ac_includes_default |
| 6087 |
+ |
typedef int64_t ac__type_sizeof_; |
| 6088 |
|
int |
| 6089 |
|
main () |
| 6090 |
|
{ |
| 6091 |
< |
static int test_array [1 - 2 * !(((long) (sizeof (int64_t))) >= 0)]; |
| 6091 |
> |
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; |
| 6092 |
|
test_array [0] = 0 |
| 6093 |
|
|
| 6094 |
|
; |
| 6096 |
|
} |
| 6097 |
|
_ACEOF |
| 6098 |
|
rm -f conftest.$ac_objext |
| 6099 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 6100 |
< |
(eval $ac_compile) 2>conftest.er1 |
| 6099 |
> |
if { (ac_try="$ac_compile" |
| 6100 |
> |
case "(($ac_try" in |
| 6101 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 6102 |
> |
*) ac_try_echo=$ac_try;; |
| 6103 |
> |
esac |
| 6104 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 6105 |
> |
(eval "$ac_compile") 2>conftest.er1 |
| 6106 |
|
ac_status=$? |
| 6107 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 6108 |
|
rm -f conftest.er1 |
| 6109 |
|
cat conftest.err >&5 |
| 6110 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6111 |
< |
(exit $ac_status); } && |
| 6112 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
| 6113 |
< |
|| test ! -s conftest.err' |
| 6114 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5864 |
< |
(eval $ac_try) 2>&5 |
| 5865 |
< |
ac_status=$? |
| 5866 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5867 |
< |
(exit $ac_status); }; } && |
| 5868 |
< |
{ ac_try='test -s conftest.$ac_objext' |
| 5869 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5870 |
< |
(eval $ac_try) 2>&5 |
| 5871 |
< |
ac_status=$? |
| 5872 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5873 |
< |
(exit $ac_status); }; }; then |
| 6111 |
> |
(exit $ac_status); } && { |
| 6112 |
> |
test -z "$ac_c_werror_flag" || |
| 6113 |
> |
test ! -s conftest.err |
| 6114 |
> |
} && test -s conftest.$ac_objext; then |
| 6115 |
|
ac_lo=0 ac_mid=0 |
| 6116 |
|
while :; do |
| 6117 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 6121 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 6122 |
|
/* end confdefs.h. */ |
| 6123 |
|
$ac_includes_default |
| 6124 |
+ |
typedef int64_t ac__type_sizeof_; |
| 6125 |
|
int |
| 6126 |
|
main () |
| 6127 |
|
{ |
| 6128 |
< |
static int test_array [1 - 2 * !(((long) (sizeof (int64_t))) <= $ac_mid)]; |
| 6128 |
> |
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; |
| 6129 |
|
test_array [0] = 0 |
| 6130 |
|
|
| 6131 |
|
; |
| 6133 |
|
} |
| 6134 |
|
_ACEOF |
| 6135 |
|
rm -f conftest.$ac_objext |
| 6136 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 6137 |
< |
(eval $ac_compile) 2>conftest.er1 |
| 6136 |
> |
if { (ac_try="$ac_compile" |
| 6137 |
> |
case "(($ac_try" in |
| 6138 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 6139 |
> |
*) ac_try_echo=$ac_try;; |
| 6140 |
> |
esac |
| 6141 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 6142 |
> |
(eval "$ac_compile") 2>conftest.er1 |
| 6143 |
|
ac_status=$? |
| 6144 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 6145 |
|
rm -f conftest.er1 |
| 6146 |
|
cat conftest.err >&5 |
| 6147 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6148 |
< |
(exit $ac_status); } && |
| 6149 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
| 6150 |
< |
|| test ! -s conftest.err' |
| 6151 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5905 |
< |
(eval $ac_try) 2>&5 |
| 5906 |
< |
ac_status=$? |
| 5907 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5908 |
< |
(exit $ac_status); }; } && |
| 5909 |
< |
{ ac_try='test -s conftest.$ac_objext' |
| 5910 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5911 |
< |
(eval $ac_try) 2>&5 |
| 5912 |
< |
ac_status=$? |
| 5913 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5914 |
< |
(exit $ac_status); }; }; then |
| 6148 |
> |
(exit $ac_status); } && { |
| 6149 |
> |
test -z "$ac_c_werror_flag" || |
| 6150 |
> |
test ! -s conftest.err |
| 6151 |
> |
} && test -s conftest.$ac_objext; then |
| 6152 |
|
ac_hi=$ac_mid; break |
| 6153 |
|
else |
| 6154 |
|
echo "$as_me: failed program was:" >&5 |
| 6155 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 6156 |
|
|
| 6157 |
< |
ac_lo=`expr $ac_mid + 1` |
| 6158 |
< |
if test $ac_lo -le $ac_mid; then |
| 6159 |
< |
ac_lo= ac_hi= |
| 6160 |
< |
break |
| 6161 |
< |
fi |
| 6162 |
< |
ac_mid=`expr 2 '*' $ac_mid + 1` |
| 6157 |
> |
ac_lo=`expr $ac_mid + 1` |
| 6158 |
> |
if test $ac_lo -le $ac_mid; then |
| 6159 |
> |
ac_lo= ac_hi= |
| 6160 |
> |
break |
| 6161 |
> |
fi |
| 6162 |
> |
ac_mid=`expr 2 '*' $ac_mid + 1` |
| 6163 |
|
fi |
| 6164 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6164 |
> |
|
| 6165 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6166 |
|
done |
| 6167 |
|
else |
| 6168 |
|
echo "$as_me: failed program was:" >&5 |
| 6169 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 6170 |
|
|
| 6171 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 6171 |
> |
cat >conftest.$ac_ext <<_ACEOF |
| 6172 |
|
/* confdefs.h. */ |
| 6173 |
|
_ACEOF |
| 6174 |
|
cat confdefs.h >>conftest.$ac_ext |
| 6175 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 6176 |
|
/* end confdefs.h. */ |
| 6177 |
|
$ac_includes_default |
| 6178 |
+ |
typedef int64_t ac__type_sizeof_; |
| 6179 |
|
int |
| 6180 |
|
main () |
| 6181 |
|
{ |
| 6182 |
< |
static int test_array [1 - 2 * !(((long) (sizeof (int64_t))) < 0)]; |
| 6182 |
> |
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; |
| 6183 |
|
test_array [0] = 0 |
| 6184 |
|
|
| 6185 |
|
; |
| 6187 |
|
} |
| 6188 |
|
_ACEOF |
| 6189 |
|
rm -f conftest.$ac_objext |
| 6190 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 6191 |
< |
(eval $ac_compile) 2>conftest.er1 |
| 6190 |
> |
if { (ac_try="$ac_compile" |
| 6191 |
> |
case "(($ac_try" in |
| 6192 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 6193 |
> |
*) ac_try_echo=$ac_try;; |
| 6194 |
> |
esac |
| 6195 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 6196 |
> |
(eval "$ac_compile") 2>conftest.er1 |
| 6197 |
|
ac_status=$? |
| 6198 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 6199 |
|
rm -f conftest.er1 |
| 6200 |
|
cat conftest.err >&5 |
| 6201 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6202 |
< |
(exit $ac_status); } && |
| 6203 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
| 6204 |
< |
|| test ! -s conftest.err' |
| 6205 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5962 |
< |
(eval $ac_try) 2>&5 |
| 5963 |
< |
ac_status=$? |
| 5964 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5965 |
< |
(exit $ac_status); }; } && |
| 5966 |
< |
{ ac_try='test -s conftest.$ac_objext' |
| 5967 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5968 |
< |
(eval $ac_try) 2>&5 |
| 5969 |
< |
ac_status=$? |
| 5970 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5971 |
< |
(exit $ac_status); }; }; then |
| 6202 |
> |
(exit $ac_status); } && { |
| 6203 |
> |
test -z "$ac_c_werror_flag" || |
| 6204 |
> |
test ! -s conftest.err |
| 6205 |
> |
} && test -s conftest.$ac_objext; then |
| 6206 |
|
ac_hi=-1 ac_mid=-1 |
| 6207 |
|
while :; do |
| 6208 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 6212 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 6213 |
|
/* end confdefs.h. */ |
| 6214 |
|
$ac_includes_default |
| 6215 |
+ |
typedef int64_t ac__type_sizeof_; |
| 6216 |
|
int |
| 6217 |
|
main () |
| 6218 |
|
{ |
| 6219 |
< |
static int test_array [1 - 2 * !(((long) (sizeof (int64_t))) >= $ac_mid)]; |
| 6219 |
> |
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; |
| 6220 |
|
test_array [0] = 0 |
| 6221 |
|
|
| 6222 |
|
; |
| 6224 |
|
} |
| 6225 |
|
_ACEOF |
| 6226 |
|
rm -f conftest.$ac_objext |
| 6227 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 6228 |
< |
(eval $ac_compile) 2>conftest.er1 |
| 6227 |
> |
if { (ac_try="$ac_compile" |
| 6228 |
> |
case "(($ac_try" in |
| 6229 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 6230 |
> |
*) ac_try_echo=$ac_try;; |
| 6231 |
> |
esac |
| 6232 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 6233 |
> |
(eval "$ac_compile") 2>conftest.er1 |
| 6234 |
|
ac_status=$? |
| 6235 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 6236 |
|
rm -f conftest.er1 |
| 6237 |
|
cat conftest.err >&5 |
| 6238 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6239 |
< |
(exit $ac_status); } && |
| 6240 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
| 6241 |
< |
|| test ! -s conftest.err' |
| 6242 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6003 |
< |
(eval $ac_try) 2>&5 |
| 6004 |
< |
ac_status=$? |
| 6005 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6006 |
< |
(exit $ac_status); }; } && |
| 6007 |
< |
{ ac_try='test -s conftest.$ac_objext' |
| 6008 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6009 |
< |
(eval $ac_try) 2>&5 |
| 6010 |
< |
ac_status=$? |
| 6011 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6012 |
< |
(exit $ac_status); }; }; then |
| 6239 |
> |
(exit $ac_status); } && { |
| 6240 |
> |
test -z "$ac_c_werror_flag" || |
| 6241 |
> |
test ! -s conftest.err |
| 6242 |
> |
} && test -s conftest.$ac_objext; then |
| 6243 |
|
ac_lo=$ac_mid; break |
| 6244 |
|
else |
| 6245 |
|
echo "$as_me: failed program was:" >&5 |
| 6246 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 6247 |
|
|
| 6248 |
< |
ac_hi=`expr '(' $ac_mid ')' - 1` |
| 6249 |
< |
if test $ac_mid -le $ac_hi; then |
| 6250 |
< |
ac_lo= ac_hi= |
| 6251 |
< |
break |
| 6252 |
< |
fi |
| 6253 |
< |
ac_mid=`expr 2 '*' $ac_mid` |
| 6248 |
> |
ac_hi=`expr '(' $ac_mid ')' - 1` |
| 6249 |
> |
if test $ac_mid -le $ac_hi; then |
| 6250 |
> |
ac_lo= ac_hi= |
| 6251 |
> |
break |
| 6252 |
> |
fi |
| 6253 |
> |
ac_mid=`expr 2 '*' $ac_mid` |
| 6254 |
|
fi |
| 6255 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6255 |
> |
|
| 6256 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6257 |
|
done |
| 6258 |
|
else |
| 6259 |
|
echo "$as_me: failed program was:" >&5 |
| 6260 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 6261 |
|
|
| 6262 |
< |
ac_lo= ac_hi= |
| 6262 |
> |
ac_lo= ac_hi= |
| 6263 |
|
fi |
| 6264 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6264 |
> |
|
| 6265 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6266 |
|
fi |
| 6267 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6267 |
> |
|
| 6268 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6269 |
|
# Binary search between lo and hi bounds. |
| 6270 |
|
while test "x$ac_lo" != "x$ac_hi"; do |
| 6271 |
|
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` |
| 6276 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 6277 |
|
/* end confdefs.h. */ |
| 6278 |
|
$ac_includes_default |
| 6279 |
+ |
typedef int64_t ac__type_sizeof_; |
| 6280 |
|
int |
| 6281 |
|
main () |
| 6282 |
|
{ |
| 6283 |
< |
static int test_array [1 - 2 * !(((long) (sizeof (int64_t))) <= $ac_mid)]; |
| 6283 |
> |
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; |
| 6284 |
|
test_array [0] = 0 |
| 6285 |
|
|
| 6286 |
|
; |
| 6288 |
|
} |
| 6289 |
|
_ACEOF |
| 6290 |
|
rm -f conftest.$ac_objext |
| 6291 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 6292 |
< |
(eval $ac_compile) 2>conftest.er1 |
| 6291 |
> |
if { (ac_try="$ac_compile" |
| 6292 |
> |
case "(($ac_try" in |
| 6293 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 6294 |
> |
*) ac_try_echo=$ac_try;; |
| 6295 |
> |
esac |
| 6296 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 6297 |
> |
(eval "$ac_compile") 2>conftest.er1 |
| 6298 |
|
ac_status=$? |
| 6299 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 6300 |
|
rm -f conftest.er1 |
| 6301 |
|
cat conftest.err >&5 |
| 6302 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6303 |
< |
(exit $ac_status); } && |
| 6304 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
| 6305 |
< |
|| test ! -s conftest.err' |
| 6306 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6068 |
< |
(eval $ac_try) 2>&5 |
| 6069 |
< |
ac_status=$? |
| 6070 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6071 |
< |
(exit $ac_status); }; } && |
| 6072 |
< |
{ ac_try='test -s conftest.$ac_objext' |
| 6073 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6074 |
< |
(eval $ac_try) 2>&5 |
| 6075 |
< |
ac_status=$? |
| 6076 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6077 |
< |
(exit $ac_status); }; }; then |
| 6303 |
> |
(exit $ac_status); } && { |
| 6304 |
> |
test -z "$ac_c_werror_flag" || |
| 6305 |
> |
test ! -s conftest.err |
| 6306 |
> |
} && test -s conftest.$ac_objext; then |
| 6307 |
|
ac_hi=$ac_mid |
| 6308 |
|
else |
| 6309 |
|
echo "$as_me: failed program was:" >&5 |
| 6310 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 6311 |
|
|
| 6312 |
< |
ac_lo=`expr '(' $ac_mid ')' + 1` |
| 6312 |
> |
ac_lo=`expr '(' $ac_mid ')' + 1` |
| 6313 |
|
fi |
| 6314 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6314 |
> |
|
| 6315 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6316 |
|
done |
| 6317 |
|
case $ac_lo in |
| 6318 |
|
?*) ac_cv_sizeof_int64_t=$ac_lo;; |
| 6319 |
< |
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int64_t), 77 |
| 6319 |
> |
'') if test "$ac_cv_type_int64_t" = yes; then |
| 6320 |
> |
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (int64_t) |
| 6321 |
|
See \`config.log' for more details." >&5 |
| 6322 |
< |
echo "$as_me: error: cannot compute sizeof (int64_t), 77 |
| 6322 |
> |
echo "$as_me: error: cannot compute sizeof (int64_t) |
| 6323 |
|
See \`config.log' for more details." >&2;} |
| 6324 |
< |
{ (exit 1); exit 1; }; } ;; |
| 6324 |
> |
{ (exit 77); exit 77; }; } |
| 6325 |
> |
else |
| 6326 |
> |
ac_cv_sizeof_int64_t=0 |
| 6327 |
> |
fi ;; |
| 6328 |
|
esac |
| 6329 |
|
else |
| 6096 |
– |
if test "$cross_compiling" = yes; then |
| 6097 |
– |
{ { echo "$as_me:$LINENO: error: cannot run test program while cross compiling |
| 6098 |
– |
See \`config.log' for more details." >&5 |
| 6099 |
– |
echo "$as_me: error: cannot run test program while cross compiling |
| 6100 |
– |
See \`config.log' for more details." >&2;} |
| 6101 |
– |
{ (exit 1); exit 1; }; } |
| 6102 |
– |
else |
| 6330 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 6331 |
|
/* confdefs.h. */ |
| 6332 |
|
_ACEOF |
| 6334 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 6335 |
|
/* end confdefs.h. */ |
| 6336 |
|
$ac_includes_default |
| 6337 |
< |
long longval () { return (long) (sizeof (int64_t)); } |
| 6338 |
< |
unsigned long ulongval () { return (long) (sizeof (int64_t)); } |
| 6337 |
> |
typedef int64_t ac__type_sizeof_; |
| 6338 |
> |
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } |
| 6339 |
> |
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } |
| 6340 |
|
#include <stdio.h> |
| 6341 |
|
#include <stdlib.h> |
| 6342 |
|
int |
| 6345 |
|
|
| 6346 |
|
FILE *f = fopen ("conftest.val", "w"); |
| 6347 |
|
if (! f) |
| 6348 |
< |
exit (1); |
| 6349 |
< |
if (((long) (sizeof (int64_t))) < 0) |
| 6348 |
> |
return 1; |
| 6349 |
> |
if (((long int) (sizeof (ac__type_sizeof_))) < 0) |
| 6350 |
|
{ |
| 6351 |
< |
long i = longval (); |
| 6352 |
< |
if (i != ((long) (sizeof (int64_t)))) |
| 6353 |
< |
exit (1); |
| 6351 |
> |
long int i = longval (); |
| 6352 |
> |
if (i != ((long int) (sizeof (ac__type_sizeof_)))) |
| 6353 |
> |
return 1; |
| 6354 |
|
fprintf (f, "%ld\n", i); |
| 6355 |
|
} |
| 6356 |
|
else |
| 6357 |
|
{ |
| 6358 |
< |
unsigned long i = ulongval (); |
| 6359 |
< |
if (i != ((long) (sizeof (int64_t)))) |
| 6360 |
< |
exit (1); |
| 6358 |
> |
unsigned long int i = ulongval (); |
| 6359 |
> |
if (i != ((long int) (sizeof (ac__type_sizeof_)))) |
| 6360 |
> |
return 1; |
| 6361 |
|
fprintf (f, "%lu\n", i); |
| 6362 |
|
} |
| 6363 |
< |
exit (ferror (f) || fclose (f) != 0); |
| 6363 |
> |
return ferror (f) || fclose (f) != 0; |
| 6364 |
|
|
| 6365 |
|
; |
| 6366 |
|
return 0; |
| 6367 |
|
} |
| 6368 |
|
_ACEOF |
| 6369 |
|
rm -f conftest$ac_exeext |
| 6370 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 6371 |
< |
(eval $ac_link) 2>&5 |
| 6370 |
> |
if { (ac_try="$ac_link" |
| 6371 |
> |
case "(($ac_try" in |
| 6372 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 6373 |
> |
*) ac_try_echo=$ac_try;; |
| 6374 |
> |
esac |
| 6375 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 6376 |
> |
(eval "$ac_link") 2>&5 |
| 6377 |
|
ac_status=$? |
| 6378 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6379 |
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
| 6380 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6381 |
< |
(eval $ac_try) 2>&5 |
| 6380 |
> |
{ (case "(($ac_try" in |
| 6381 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 6382 |
> |
*) ac_try_echo=$ac_try;; |
| 6383 |
> |
esac |
| 6384 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 6385 |
> |
(eval "$ac_try") 2>&5 |
| 6386 |
|
ac_status=$? |
| 6387 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6388 |
|
(exit $ac_status); }; }; then |
| 6393 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 6394 |
|
|
| 6395 |
|
( exit $ac_status ) |
| 6396 |
< |
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (int64_t), 77 |
| 6396 |
> |
if test "$ac_cv_type_int64_t" = yes; then |
| 6397 |
> |
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (int64_t) |
| 6398 |
|
See \`config.log' for more details." >&5 |
| 6399 |
< |
echo "$as_me: error: cannot compute sizeof (int64_t), 77 |
| 6399 |
> |
echo "$as_me: error: cannot compute sizeof (int64_t) |
| 6400 |
|
See \`config.log' for more details." >&2;} |
| 6401 |
< |
{ (exit 1); exit 1; }; } |
| 6402 |
< |
fi |
| 6403 |
< |
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 6401 |
> |
{ (exit 77); exit 77; }; } |
| 6402 |
> |
else |
| 6403 |
> |
ac_cv_sizeof_int64_t=0 |
| 6404 |
> |
fi |
| 6405 |
|
fi |
| 6406 |
+ |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 6407 |
|
fi |
| 6408 |
|
rm -f conftest.val |
| 6169 |
– |
else |
| 6170 |
– |
ac_cv_sizeof_int64_t=0 |
| 6409 |
|
fi |
| 6410 |
< |
fi |
| 6411 |
< |
echo "$as_me:$LINENO: result: $ac_cv_sizeof_int64_t" >&5 |
| 6412 |
< |
echo "${ECHO_T}$ac_cv_sizeof_int64_t" >&6 |
| 6410 |
> |
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_int64_t" >&5 |
| 6411 |
> |
echo "${ECHO_T}$ac_cv_sizeof_int64_t" >&6; } |
| 6412 |
> |
|
| 6413 |
> |
|
| 6414 |
> |
|
| 6415 |
|
cat >>confdefs.h <<_ACEOF |
| 6416 |
|
#define SIZEOF_INT64_T $ac_cv_sizeof_int64_t |
| 6417 |
|
_ACEOF |
| 6418 |
|
|
| 6419 |
|
|
| 6420 |
< |
echo "$as_me:$LINENO: checking for long long" >&5 |
| 6421 |
< |
echo $ECHO_N "checking for long long... $ECHO_C" >&6 |
| 6420 |
> |
{ echo "$as_me:$LINENO: checking for long long" >&5 |
| 6421 |
> |
echo $ECHO_N "checking for long long... $ECHO_C" >&6; } |
| 6422 |
|
if test "${ac_cv_type_long_long+set}" = set; then |
| 6423 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 6424 |
|
else |
| 6429 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 6430 |
|
/* end confdefs.h. */ |
| 6431 |
|
$ac_includes_default |
| 6432 |
+ |
typedef long long ac__type_new_; |
| 6433 |
|
int |
| 6434 |
|
main () |
| 6435 |
|
{ |
| 6436 |
< |
if ((long long *) 0) |
| 6436 |
> |
if ((ac__type_new_ *) 0) |
| 6437 |
|
return 0; |
| 6438 |
< |
if (sizeof (long long)) |
| 6438 |
> |
if (sizeof (ac__type_new_)) |
| 6439 |
|
return 0; |
| 6440 |
|
; |
| 6441 |
|
return 0; |
| 6442 |
|
} |
| 6443 |
|
_ACEOF |
| 6444 |
|
rm -f conftest.$ac_objext |
| 6445 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 6446 |
< |
(eval $ac_compile) 2>conftest.er1 |
| 6445 |
> |
if { (ac_try="$ac_compile" |
| 6446 |
> |
case "(($ac_try" in |
| 6447 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 6448 |
> |
*) ac_try_echo=$ac_try;; |
| 6449 |
> |
esac |
| 6450 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 6451 |
> |
(eval "$ac_compile") 2>conftest.er1 |
| 6452 |
|
ac_status=$? |
| 6453 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 6454 |
|
rm -f conftest.er1 |
| 6455 |
|
cat conftest.err >&5 |
| 6456 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6457 |
< |
(exit $ac_status); } && |
| 6458 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
| 6459 |
< |
|| test ! -s conftest.err' |
| 6460 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6215 |
< |
(eval $ac_try) 2>&5 |
| 6216 |
< |
ac_status=$? |
| 6217 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6218 |
< |
(exit $ac_status); }; } && |
| 6219 |
< |
{ ac_try='test -s conftest.$ac_objext' |
| 6220 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6221 |
< |
(eval $ac_try) 2>&5 |
| 6222 |
< |
ac_status=$? |
| 6223 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6224 |
< |
(exit $ac_status); }; }; then |
| 6457 |
> |
(exit $ac_status); } && { |
| 6458 |
> |
test -z "$ac_c_werror_flag" || |
| 6459 |
> |
test ! -s conftest.err |
| 6460 |
> |
} && test -s conftest.$ac_objext; then |
| 6461 |
|
ac_cv_type_long_long=yes |
| 6462 |
|
else |
| 6463 |
|
echo "$as_me: failed program was:" >&5 |
| 6464 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 6465 |
|
|
| 6466 |
< |
ac_cv_type_long_long=no |
| 6466 |
> |
ac_cv_type_long_long=no |
| 6467 |
|
fi |
| 6468 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6468 |
> |
|
| 6469 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6470 |
|
fi |
| 6471 |
< |
echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5 |
| 6472 |
< |
echo "${ECHO_T}$ac_cv_type_long_long" >&6 |
| 6471 |
> |
{ echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5 |
| 6472 |
> |
echo "${ECHO_T}$ac_cv_type_long_long" >&6; } |
| 6473 |
|
|
| 6474 |
< |
echo "$as_me:$LINENO: checking size of long long" >&5 |
| 6475 |
< |
echo $ECHO_N "checking size of long long... $ECHO_C" >&6 |
| 6474 |
> |
# The cast to long int works around a bug in the HP C Compiler |
| 6475 |
> |
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
| 6476 |
> |
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
| 6477 |
> |
# This bug is HP SR number 8606223364. |
| 6478 |
> |
{ echo "$as_me:$LINENO: checking size of long long" >&5 |
| 6479 |
> |
echo $ECHO_N "checking size of long long... $ECHO_C" >&6; } |
| 6480 |
|
if test "${ac_cv_sizeof_long_long+set}" = set; then |
| 6481 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 6482 |
|
else |
| 6242 |
– |
if test "$ac_cv_type_long_long" = yes; then |
| 6243 |
– |
# The cast to unsigned long works around a bug in the HP C Compiler |
| 6244 |
– |
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
| 6245 |
– |
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
| 6246 |
– |
# This bug is HP SR number 8606223364. |
| 6483 |
|
if test "$cross_compiling" = yes; then |
| 6484 |
|
# Depending upon the size, compute the lo and hi bounds. |
| 6485 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 6489 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 6490 |
|
/* end confdefs.h. */ |
| 6491 |
|
$ac_includes_default |
| 6492 |
+ |
typedef long long ac__type_sizeof_; |
| 6493 |
|
int |
| 6494 |
|
main () |
| 6495 |
|
{ |
| 6496 |
< |
static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)]; |
| 6496 |
> |
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; |
| 6497 |
|
test_array [0] = 0 |
| 6498 |
|
|
| 6499 |
|
; |
| 6501 |
|
} |
| 6502 |
|
_ACEOF |
| 6503 |
|
rm -f conftest.$ac_objext |
| 6504 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 6505 |
< |
(eval $ac_compile) 2>conftest.er1 |
| 6504 |
> |
if { (ac_try="$ac_compile" |
| 6505 |
> |
case "(($ac_try" in |
| 6506 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 6507 |
> |
*) ac_try_echo=$ac_try;; |
| 6508 |
> |
esac |
| 6509 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 6510 |
> |
(eval "$ac_compile") 2>conftest.er1 |
| 6511 |
|
ac_status=$? |
| 6512 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 6513 |
|
rm -f conftest.er1 |
| 6514 |
|
cat conftest.err >&5 |
| 6515 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6516 |
< |
(exit $ac_status); } && |
| 6517 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
| 6518 |
< |
|| test ! -s conftest.err' |
| 6519 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6278 |
< |
(eval $ac_try) 2>&5 |
| 6279 |
< |
ac_status=$? |
| 6280 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6281 |
< |
(exit $ac_status); }; } && |
| 6282 |
< |
{ ac_try='test -s conftest.$ac_objext' |
| 6283 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6284 |
< |
(eval $ac_try) 2>&5 |
| 6285 |
< |
ac_status=$? |
| 6286 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6287 |
< |
(exit $ac_status); }; }; then |
| 6516 |
> |
(exit $ac_status); } && { |
| 6517 |
> |
test -z "$ac_c_werror_flag" || |
| 6518 |
> |
test ! -s conftest.err |
| 6519 |
> |
} && test -s conftest.$ac_objext; then |
| 6520 |
|
ac_lo=0 ac_mid=0 |
| 6521 |
|
while :; do |
| 6522 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 6526 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 6527 |
|
/* end confdefs.h. */ |
| 6528 |
|
$ac_includes_default |
| 6529 |
+ |
typedef long long ac__type_sizeof_; |
| 6530 |
|
int |
| 6531 |
|
main () |
| 6532 |
|
{ |
| 6533 |
< |
static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)]; |
| 6533 |
> |
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; |
| 6534 |
|
test_array [0] = 0 |
| 6535 |
|
|
| 6536 |
|
; |
| 6538 |
|
} |
| 6539 |
|
_ACEOF |
| 6540 |
|
rm -f conftest.$ac_objext |
| 6541 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 6542 |
< |
(eval $ac_compile) 2>conftest.er1 |
| 6541 |
> |
if { (ac_try="$ac_compile" |
| 6542 |
> |
case "(($ac_try" in |
| 6543 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 6544 |
> |
*) ac_try_echo=$ac_try;; |
| 6545 |
> |
esac |
| 6546 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 6547 |
> |
(eval "$ac_compile") 2>conftest.er1 |
| 6548 |
|
ac_status=$? |
| 6549 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 6550 |
|
rm -f conftest.er1 |
| 6551 |
|
cat conftest.err >&5 |
| 6552 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6553 |
< |
(exit $ac_status); } && |
| 6554 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
| 6555 |
< |
|| test ! -s conftest.err' |
| 6556 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6319 |
< |
(eval $ac_try) 2>&5 |
| 6320 |
< |
ac_status=$? |
| 6321 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6322 |
< |
(exit $ac_status); }; } && |
| 6323 |
< |
{ ac_try='test -s conftest.$ac_objext' |
| 6324 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6325 |
< |
(eval $ac_try) 2>&5 |
| 6326 |
< |
ac_status=$? |
| 6327 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6328 |
< |
(exit $ac_status); }; }; then |
| 6553 |
> |
(exit $ac_status); } && { |
| 6554 |
> |
test -z "$ac_c_werror_flag" || |
| 6555 |
> |
test ! -s conftest.err |
| 6556 |
> |
} && test -s conftest.$ac_objext; then |
| 6557 |
|
ac_hi=$ac_mid; break |
| 6558 |
|
else |
| 6559 |
|
echo "$as_me: failed program was:" >&5 |
| 6560 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 6561 |
|
|
| 6562 |
< |
ac_lo=`expr $ac_mid + 1` |
| 6563 |
< |
if test $ac_lo -le $ac_mid; then |
| 6564 |
< |
ac_lo= ac_hi= |
| 6565 |
< |
break |
| 6566 |
< |
fi |
| 6567 |
< |
ac_mid=`expr 2 '*' $ac_mid + 1` |
| 6562 |
> |
ac_lo=`expr $ac_mid + 1` |
| 6563 |
> |
if test $ac_lo -le $ac_mid; then |
| 6564 |
> |
ac_lo= ac_hi= |
| 6565 |
> |
break |
| 6566 |
> |
fi |
| 6567 |
> |
ac_mid=`expr 2 '*' $ac_mid + 1` |
| 6568 |
|
fi |
| 6569 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6569 |
> |
|
| 6570 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6571 |
|
done |
| 6572 |
|
else |
| 6573 |
|
echo "$as_me: failed program was:" >&5 |
| 6574 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 6575 |
|
|
| 6576 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 6576 |
> |
cat >conftest.$ac_ext <<_ACEOF |
| 6577 |
|
/* confdefs.h. */ |
| 6578 |
|
_ACEOF |
| 6579 |
|
cat confdefs.h >>conftest.$ac_ext |
| 6580 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 6581 |
|
/* end confdefs.h. */ |
| 6582 |
|
$ac_includes_default |
| 6583 |
+ |
typedef long long ac__type_sizeof_; |
| 6584 |
|
int |
| 6585 |
|
main () |
| 6586 |
|
{ |
| 6587 |
< |
static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)]; |
| 6587 |
> |
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; |
| 6588 |
|
test_array [0] = 0 |
| 6589 |
|
|
| 6590 |
|
; |
| 6592 |
|
} |
| 6593 |
|
_ACEOF |
| 6594 |
|
rm -f conftest.$ac_objext |
| 6595 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 6596 |
< |
(eval $ac_compile) 2>conftest.er1 |
| 6595 |
> |
if { (ac_try="$ac_compile" |
| 6596 |
> |
case "(($ac_try" in |
| 6597 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 6598 |
> |
*) ac_try_echo=$ac_try;; |
| 6599 |
> |
esac |
| 6600 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 6601 |
> |
(eval "$ac_compile") 2>conftest.er1 |
| 6602 |
|
ac_status=$? |
| 6603 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 6604 |
|
rm -f conftest.er1 |
| 6605 |
|
cat conftest.err >&5 |
| 6606 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6607 |
< |
(exit $ac_status); } && |
| 6608 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
| 6609 |
< |
|| test ! -s conftest.err' |
| 6610 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6376 |
< |
(eval $ac_try) 2>&5 |
| 6377 |
< |
ac_status=$? |
| 6378 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6379 |
< |
(exit $ac_status); }; } && |
| 6380 |
< |
{ ac_try='test -s conftest.$ac_objext' |
| 6381 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6382 |
< |
(eval $ac_try) 2>&5 |
| 6383 |
< |
ac_status=$? |
| 6384 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6385 |
< |
(exit $ac_status); }; }; then |
| 6607 |
> |
(exit $ac_status); } && { |
| 6608 |
> |
test -z "$ac_c_werror_flag" || |
| 6609 |
> |
test ! -s conftest.err |
| 6610 |
> |
} && test -s conftest.$ac_objext; then |
| 6611 |
|
ac_hi=-1 ac_mid=-1 |
| 6612 |
|
while :; do |
| 6613 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 6617 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 6618 |
|
/* end confdefs.h. */ |
| 6619 |
|
$ac_includes_default |
| 6620 |
+ |
typedef long long ac__type_sizeof_; |
| 6621 |
|
int |
| 6622 |
|
main () |
| 6623 |
|
{ |
| 6624 |
< |
static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)]; |
| 6624 |
> |
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; |
| 6625 |
|
test_array [0] = 0 |
| 6626 |
|
|
| 6627 |
|
; |
| 6629 |
|
} |
| 6630 |
|
_ACEOF |
| 6631 |
|
rm -f conftest.$ac_objext |
| 6632 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 6633 |
< |
(eval $ac_compile) 2>conftest.er1 |
| 6632 |
> |
if { (ac_try="$ac_compile" |
| 6633 |
> |
case "(($ac_try" in |
| 6634 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 6635 |
> |
*) ac_try_echo=$ac_try;; |
| 6636 |
> |
esac |
| 6637 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 6638 |
> |
(eval "$ac_compile") 2>conftest.er1 |
| 6639 |
|
ac_status=$? |
| 6640 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 6641 |
|
rm -f conftest.er1 |
| 6642 |
|
cat conftest.err >&5 |
| 6643 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6644 |
< |
(exit $ac_status); } && |
| 6645 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
| 6646 |
< |
|| test ! -s conftest.err' |
| 6647 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6417 |
< |
(eval $ac_try) 2>&5 |
| 6418 |
< |
ac_status=$? |
| 6419 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6420 |
< |
(exit $ac_status); }; } && |
| 6421 |
< |
{ ac_try='test -s conftest.$ac_objext' |
| 6422 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6423 |
< |
(eval $ac_try) 2>&5 |
| 6424 |
< |
ac_status=$? |
| 6425 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6426 |
< |
(exit $ac_status); }; }; then |
| 6644 |
> |
(exit $ac_status); } && { |
| 6645 |
> |
test -z "$ac_c_werror_flag" || |
| 6646 |
> |
test ! -s conftest.err |
| 6647 |
> |
} && test -s conftest.$ac_objext; then |
| 6648 |
|
ac_lo=$ac_mid; break |
| 6649 |
|
else |
| 6650 |
|
echo "$as_me: failed program was:" >&5 |
| 6651 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 6652 |
|
|
| 6653 |
< |
ac_hi=`expr '(' $ac_mid ')' - 1` |
| 6654 |
< |
if test $ac_mid -le $ac_hi; then |
| 6655 |
< |
ac_lo= ac_hi= |
| 6656 |
< |
break |
| 6657 |
< |
fi |
| 6658 |
< |
ac_mid=`expr 2 '*' $ac_mid` |
| 6653 |
> |
ac_hi=`expr '(' $ac_mid ')' - 1` |
| 6654 |
> |
if test $ac_mid -le $ac_hi; then |
| 6655 |
> |
ac_lo= ac_hi= |
| 6656 |
> |
break |
| 6657 |
> |
fi |
| 6658 |
> |
ac_mid=`expr 2 '*' $ac_mid` |
| 6659 |
|
fi |
| 6660 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6660 |
> |
|
| 6661 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6662 |
|
done |
| 6663 |
|
else |
| 6664 |
|
echo "$as_me: failed program was:" >&5 |
| 6665 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 6666 |
|
|
| 6667 |
< |
ac_lo= ac_hi= |
| 6667 |
> |
ac_lo= ac_hi= |
| 6668 |
|
fi |
| 6669 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6669 |
> |
|
| 6670 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6671 |
|
fi |
| 6672 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6672 |
> |
|
| 6673 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6674 |
|
# Binary search between lo and hi bounds. |
| 6675 |
|
while test "x$ac_lo" != "x$ac_hi"; do |
| 6676 |
|
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` |
| 6681 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 6682 |
|
/* end confdefs.h. */ |
| 6683 |
|
$ac_includes_default |
| 6684 |
+ |
typedef long long ac__type_sizeof_; |
| 6685 |
|
int |
| 6686 |
|
main () |
| 6687 |
|
{ |
| 6688 |
< |
static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)]; |
| 6688 |
> |
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; |
| 6689 |
|
test_array [0] = 0 |
| 6690 |
|
|
| 6691 |
|
; |
| 6693 |
|
} |
| 6694 |
|
_ACEOF |
| 6695 |
|
rm -f conftest.$ac_objext |
| 6696 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 6697 |
< |
(eval $ac_compile) 2>conftest.er1 |
| 6696 |
> |
if { (ac_try="$ac_compile" |
| 6697 |
> |
case "(($ac_try" in |
| 6698 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 6699 |
> |
*) ac_try_echo=$ac_try;; |
| 6700 |
> |
esac |
| 6701 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 6702 |
> |
(eval "$ac_compile") 2>conftest.er1 |
| 6703 |
|
ac_status=$? |
| 6704 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 6705 |
|
rm -f conftest.er1 |
| 6706 |
|
cat conftest.err >&5 |
| 6707 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6708 |
< |
(exit $ac_status); } && |
| 6709 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
| 6710 |
< |
|| test ! -s conftest.err' |
| 6711 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6482 |
< |
(eval $ac_try) 2>&5 |
| 6483 |
< |
ac_status=$? |
| 6484 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6485 |
< |
(exit $ac_status); }; } && |
| 6486 |
< |
{ ac_try='test -s conftest.$ac_objext' |
| 6487 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6488 |
< |
(eval $ac_try) 2>&5 |
| 6489 |
< |
ac_status=$? |
| 6490 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6491 |
< |
(exit $ac_status); }; }; then |
| 6708 |
> |
(exit $ac_status); } && { |
| 6709 |
> |
test -z "$ac_c_werror_flag" || |
| 6710 |
> |
test ! -s conftest.err |
| 6711 |
> |
} && test -s conftest.$ac_objext; then |
| 6712 |
|
ac_hi=$ac_mid |
| 6713 |
|
else |
| 6714 |
|
echo "$as_me: failed program was:" >&5 |
| 6715 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 6716 |
|
|
| 6717 |
< |
ac_lo=`expr '(' $ac_mid ')' + 1` |
| 6717 |
> |
ac_lo=`expr '(' $ac_mid ')' + 1` |
| 6718 |
|
fi |
| 6719 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6719 |
> |
|
| 6720 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6721 |
|
done |
| 6722 |
|
case $ac_lo in |
| 6723 |
|
?*) ac_cv_sizeof_long_long=$ac_lo;; |
| 6724 |
< |
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77 |
| 6724 |
> |
'') if test "$ac_cv_type_long_long" = yes; then |
| 6725 |
> |
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long long) |
| 6726 |
|
See \`config.log' for more details." >&5 |
| 6727 |
< |
echo "$as_me: error: cannot compute sizeof (long long), 77 |
| 6727 |
> |
echo "$as_me: error: cannot compute sizeof (long long) |
| 6728 |
|
See \`config.log' for more details." >&2;} |
| 6729 |
< |
{ (exit 1); exit 1; }; } ;; |
| 6729 |
> |
{ (exit 77); exit 77; }; } |
| 6730 |
> |
else |
| 6731 |
> |
ac_cv_sizeof_long_long=0 |
| 6732 |
> |
fi ;; |
| 6733 |
|
esac |
| 6734 |
|
else |
| 6510 |
– |
if test "$cross_compiling" = yes; then |
| 6511 |
– |
{ { echo "$as_me:$LINENO: error: cannot run test program while cross compiling |
| 6512 |
– |
See \`config.log' for more details." >&5 |
| 6513 |
– |
echo "$as_me: error: cannot run test program while cross compiling |
| 6514 |
– |
See \`config.log' for more details." >&2;} |
| 6515 |
– |
{ (exit 1); exit 1; }; } |
| 6516 |
– |
else |
| 6735 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 6736 |
|
/* confdefs.h. */ |
| 6737 |
|
_ACEOF |
| 6739 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 6740 |
|
/* end confdefs.h. */ |
| 6741 |
|
$ac_includes_default |
| 6742 |
< |
long longval () { return (long) (sizeof (long long)); } |
| 6743 |
< |
unsigned long ulongval () { return (long) (sizeof (long long)); } |
| 6742 |
> |
typedef long long ac__type_sizeof_; |
| 6743 |
> |
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } |
| 6744 |
> |
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } |
| 6745 |
|
#include <stdio.h> |
| 6746 |
|
#include <stdlib.h> |
| 6747 |
|
int |
| 6750 |
|
|
| 6751 |
|
FILE *f = fopen ("conftest.val", "w"); |
| 6752 |
|
if (! f) |
| 6753 |
< |
exit (1); |
| 6754 |
< |
if (((long) (sizeof (long long))) < 0) |
| 6753 |
> |
return 1; |
| 6754 |
> |
if (((long int) (sizeof (ac__type_sizeof_))) < 0) |
| 6755 |
|
{ |
| 6756 |
< |
long i = longval (); |
| 6757 |
< |
if (i != ((long) (sizeof (long long)))) |
| 6758 |
< |
exit (1); |
| 6756 |
> |
long int i = longval (); |
| 6757 |
> |
if (i != ((long int) (sizeof (ac__type_sizeof_)))) |
| 6758 |
> |
return 1; |
| 6759 |
|
fprintf (f, "%ld\n", i); |
| 6760 |
|
} |
| 6761 |
|
else |
| 6762 |
|
{ |
| 6763 |
< |
unsigned long i = ulongval (); |
| 6764 |
< |
if (i != ((long) (sizeof (long long)))) |
| 6765 |
< |
exit (1); |
| 6763 |
> |
unsigned long int i = ulongval (); |
| 6764 |
> |
if (i != ((long int) (sizeof (ac__type_sizeof_)))) |
| 6765 |
> |
return 1; |
| 6766 |
|
fprintf (f, "%lu\n", i); |
| 6767 |
|
} |
| 6768 |
< |
exit (ferror (f) || fclose (f) != 0); |
| 6768 |
> |
return ferror (f) || fclose (f) != 0; |
| 6769 |
|
|
| 6770 |
|
; |
| 6771 |
|
return 0; |
| 6772 |
|
} |
| 6773 |
|
_ACEOF |
| 6774 |
|
rm -f conftest$ac_exeext |
| 6775 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 6776 |
< |
(eval $ac_link) 2>&5 |
| 6775 |
> |
if { (ac_try="$ac_link" |
| 6776 |
> |
case "(($ac_try" in |
| 6777 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 6778 |
> |
*) ac_try_echo=$ac_try;; |
| 6779 |
> |
esac |
| 6780 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 6781 |
> |
(eval "$ac_link") 2>&5 |
| 6782 |
|
ac_status=$? |
| 6783 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6784 |
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
| 6785 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6786 |
< |
(eval $ac_try) 2>&5 |
| 6785 |
> |
{ (case "(($ac_try" in |
| 6786 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 6787 |
> |
*) ac_try_echo=$ac_try;; |
| 6788 |
> |
esac |
| 6789 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 6790 |
> |
(eval "$ac_try") 2>&5 |
| 6791 |
|
ac_status=$? |
| 6792 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6793 |
|
(exit $ac_status); }; }; then |
| 6798 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 6799 |
|
|
| 6800 |
|
( exit $ac_status ) |
| 6801 |
< |
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77 |
| 6801 |
> |
if test "$ac_cv_type_long_long" = yes; then |
| 6802 |
> |
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long long) |
| 6803 |
|
See \`config.log' for more details." >&5 |
| 6804 |
< |
echo "$as_me: error: cannot compute sizeof (long long), 77 |
| 6804 |
> |
echo "$as_me: error: cannot compute sizeof (long long) |
| 6805 |
|
See \`config.log' for more details." >&2;} |
| 6806 |
< |
{ (exit 1); exit 1; }; } |
| 6807 |
< |
fi |
| 6808 |
< |
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 6806 |
> |
{ (exit 77); exit 77; }; } |
| 6807 |
> |
else |
| 6808 |
> |
ac_cv_sizeof_long_long=0 |
| 6809 |
> |
fi |
| 6810 |
|
fi |
| 6811 |
+ |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 6812 |
|
fi |
| 6813 |
|
rm -f conftest.val |
| 6583 |
– |
else |
| 6584 |
– |
ac_cv_sizeof_long_long=0 |
| 6585 |
– |
fi |
| 6814 |
|
fi |
| 6815 |
< |
echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5 |
| 6816 |
< |
echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6 |
| 6815 |
> |
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5 |
| 6816 |
> |
echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; } |
| 6817 |
> |
|
| 6818 |
> |
|
| 6819 |
> |
|
| 6820 |
|
cat >>confdefs.h <<_ACEOF |
| 6821 |
|
#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long |
| 6822 |
|
_ACEOF |
| 6824 |
|
|
| 6825 |
|
|
| 6826 |
|
if test "$ac_cv_sizeof_int64_t" = 8; then |
| 6827 |
< |
echo "$as_me:$LINENO: checking for uint64_t" >&5 |
| 6828 |
< |
echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6 |
| 6827 |
> |
{ echo "$as_me:$LINENO: checking for uint64_t" >&5 |
| 6828 |
> |
echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6; } |
| 6829 |
|
if test "${ac_cv_type_uint64_t+set}" = set; then |
| 6830 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 6831 |
|
else |
| 6836 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 6837 |
|
/* end confdefs.h. */ |
| 6838 |
|
$ac_includes_default |
| 6839 |
+ |
typedef uint64_t ac__type_new_; |
| 6840 |
|
int |
| 6841 |
|
main () |
| 6842 |
|
{ |
| 6843 |
< |
if ((uint64_t *) 0) |
| 6843 |
> |
if ((ac__type_new_ *) 0) |
| 6844 |
|
return 0; |
| 6845 |
< |
if (sizeof (uint64_t)) |
| 6845 |
> |
if (sizeof (ac__type_new_)) |
| 6846 |
|
return 0; |
| 6847 |
|
; |
| 6848 |
|
return 0; |
| 6849 |
|
} |
| 6850 |
|
_ACEOF |
| 6851 |
|
rm -f conftest.$ac_objext |
| 6852 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 6853 |
< |
(eval $ac_compile) 2>conftest.er1 |
| 6852 |
> |
if { (ac_try="$ac_compile" |
| 6853 |
> |
case "(($ac_try" in |
| 6854 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 6855 |
> |
*) ac_try_echo=$ac_try;; |
| 6856 |
> |
esac |
| 6857 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 6858 |
> |
(eval "$ac_compile") 2>conftest.er1 |
| 6859 |
|
ac_status=$? |
| 6860 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 6861 |
|
rm -f conftest.er1 |
| 6862 |
|
cat conftest.err >&5 |
| 6863 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6864 |
< |
(exit $ac_status); } && |
| 6865 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
| 6866 |
< |
|| test ! -s conftest.err' |
| 6867 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6631 |
< |
(eval $ac_try) 2>&5 |
| 6632 |
< |
ac_status=$? |
| 6633 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6634 |
< |
(exit $ac_status); }; } && |
| 6635 |
< |
{ ac_try='test -s conftest.$ac_objext' |
| 6636 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6637 |
< |
(eval $ac_try) 2>&5 |
| 6638 |
< |
ac_status=$? |
| 6639 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6640 |
< |
(exit $ac_status); }; }; then |
| 6864 |
> |
(exit $ac_status); } && { |
| 6865 |
> |
test -z "$ac_c_werror_flag" || |
| 6866 |
> |
test ! -s conftest.err |
| 6867 |
> |
} && test -s conftest.$ac_objext; then |
| 6868 |
|
ac_cv_type_uint64_t=yes |
| 6869 |
|
else |
| 6870 |
|
echo "$as_me: failed program was:" >&5 |
| 6871 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 6872 |
|
|
| 6873 |
< |
ac_cv_type_uint64_t=no |
| 6873 |
> |
ac_cv_type_uint64_t=no |
| 6874 |
|
fi |
| 6875 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6875 |
> |
|
| 6876 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6877 |
|
fi |
| 6878 |
< |
echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5 |
| 6879 |
< |
echo "${ECHO_T}$ac_cv_type_uint64_t" >&6 |
| 6878 |
> |
{ echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5 |
| 6879 |
> |
echo "${ECHO_T}$ac_cv_type_uint64_t" >&6; } |
| 6880 |
|
|
| 6881 |
< |
echo "$as_me:$LINENO: checking for int64_t" >&5 |
| 6882 |
< |
echo $ECHO_N "checking for int64_t... $ECHO_C" >&6 |
| 6881 |
> |
{ echo "$as_me:$LINENO: checking for int64_t" >&5 |
| 6882 |
> |
echo $ECHO_N "checking for int64_t... $ECHO_C" >&6; } |
| 6883 |
|
if test "${ac_cv_type_int64_t+set}" = set; then |
| 6884 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 6885 |
|
else |
| 6890 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 6891 |
|
/* end confdefs.h. */ |
| 6892 |
|
$ac_includes_default |
| 6893 |
+ |
typedef int64_t ac__type_new_; |
| 6894 |
|
int |
| 6895 |
|
main () |
| 6896 |
|
{ |
| 6897 |
< |
if ((int64_t *) 0) |
| 6897 |
> |
if ((ac__type_new_ *) 0) |
| 6898 |
|
return 0; |
| 6899 |
< |
if (sizeof (int64_t)) |
| 6899 |
> |
if (sizeof (ac__type_new_)) |
| 6900 |
|
return 0; |
| 6901 |
|
; |
| 6902 |
|
return 0; |
| 6903 |
|
} |
| 6904 |
|
_ACEOF |
| 6905 |
|
rm -f conftest.$ac_objext |
| 6906 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 6907 |
< |
(eval $ac_compile) 2>conftest.er1 |
| 6906 |
> |
if { (ac_try="$ac_compile" |
| 6907 |
> |
case "(($ac_try" in |
| 6908 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 6909 |
> |
*) ac_try_echo=$ac_try;; |
| 6910 |
> |
esac |
| 6911 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 6912 |
> |
(eval "$ac_compile") 2>conftest.er1 |
| 6913 |
|
ac_status=$? |
| 6914 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 6915 |
|
rm -f conftest.er1 |
| 6916 |
|
cat conftest.err >&5 |
| 6917 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6918 |
< |
(exit $ac_status); } && |
| 6919 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
| 6920 |
< |
|| test ! -s conftest.err' |
| 6921 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6688 |
< |
(eval $ac_try) 2>&5 |
| 6689 |
< |
ac_status=$? |
| 6690 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6691 |
< |
(exit $ac_status); }; } && |
| 6692 |
< |
{ ac_try='test -s conftest.$ac_objext' |
| 6693 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6694 |
< |
(eval $ac_try) 2>&5 |
| 6695 |
< |
ac_status=$? |
| 6696 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6697 |
< |
(exit $ac_status); }; }; then |
| 6918 |
> |
(exit $ac_status); } && { |
| 6919 |
> |
test -z "$ac_c_werror_flag" || |
| 6920 |
> |
test ! -s conftest.err |
| 6921 |
> |
} && test -s conftest.$ac_objext; then |
| 6922 |
|
ac_cv_type_int64_t=yes |
| 6923 |
|
else |
| 6924 |
|
echo "$as_me: failed program was:" >&5 |
| 6925 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 6926 |
|
|
| 6927 |
< |
ac_cv_type_int64_t=no |
| 6927 |
> |
ac_cv_type_int64_t=no |
| 6928 |
|
fi |
| 6929 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6929 |
> |
|
| 6930 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6931 |
|
fi |
| 6932 |
< |
echo "$as_me:$LINENO: result: $ac_cv_type_int64_t" >&5 |
| 6933 |
< |
echo "${ECHO_T}$ac_cv_type_int64_t" >&6 |
| 6932 |
> |
{ echo "$as_me:$LINENO: result: $ac_cv_type_int64_t" >&5 |
| 6933 |
> |
echo "${ECHO_T}$ac_cv_type_int64_t" >&6; } |
| 6934 |
|
|
| 6935 |
|
elif test "$ac_cv_sizeof_long_long" = 8; then |
| 6936 |
< |
echo "$as_me:$LINENO: checking for uint64_t" >&5 |
| 6937 |
< |
echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6 |
| 6936 |
> |
{ echo "$as_me:$LINENO: checking for uint64_t" >&5 |
| 6937 |
> |
echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6; } |
| 6938 |
|
if test "${ac_cv_type_uint64_t+set}" = set; then |
| 6939 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 6940 |
|
else |
| 6945 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 6946 |
|
/* end confdefs.h. */ |
| 6947 |
|
$ac_includes_default |
| 6948 |
+ |
typedef uint64_t ac__type_new_; |
| 6949 |
|
int |
| 6950 |
|
main () |
| 6951 |
|
{ |
| 6952 |
< |
if ((uint64_t *) 0) |
| 6952 |
> |
if ((ac__type_new_ *) 0) |
| 6953 |
|
return 0; |
| 6954 |
< |
if (sizeof (uint64_t)) |
| 6954 |
> |
if (sizeof (ac__type_new_)) |
| 6955 |
|
return 0; |
| 6956 |
|
; |
| 6957 |
|
return 0; |
| 6958 |
|
} |
| 6959 |
|
_ACEOF |
| 6960 |
|
rm -f conftest.$ac_objext |
| 6961 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 6962 |
< |
(eval $ac_compile) 2>conftest.er1 |
| 6961 |
> |
if { (ac_try="$ac_compile" |
| 6962 |
> |
case "(($ac_try" in |
| 6963 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 6964 |
> |
*) ac_try_echo=$ac_try;; |
| 6965 |
> |
esac |
| 6966 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 6967 |
> |
(eval "$ac_compile") 2>conftest.er1 |
| 6968 |
|
ac_status=$? |
| 6969 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 6970 |
|
rm -f conftest.er1 |
| 6971 |
|
cat conftest.err >&5 |
| 6972 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6973 |
< |
(exit $ac_status); } && |
| 6974 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
| 6975 |
< |
|| test ! -s conftest.err' |
| 6976 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6746 |
< |
(eval $ac_try) 2>&5 |
| 6747 |
< |
ac_status=$? |
| 6748 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6749 |
< |
(exit $ac_status); }; } && |
| 6750 |
< |
{ ac_try='test -s conftest.$ac_objext' |
| 6751 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6752 |
< |
(eval $ac_try) 2>&5 |
| 6753 |
< |
ac_status=$? |
| 6754 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6755 |
< |
(exit $ac_status); }; }; then |
| 6973 |
> |
(exit $ac_status); } && { |
| 6974 |
> |
test -z "$ac_c_werror_flag" || |
| 6975 |
> |
test ! -s conftest.err |
| 6976 |
> |
} && test -s conftest.$ac_objext; then |
| 6977 |
|
ac_cv_type_uint64_t=yes |
| 6978 |
|
else |
| 6979 |
|
echo "$as_me: failed program was:" >&5 |
| 6980 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 6981 |
|
|
| 6982 |
< |
ac_cv_type_uint64_t=no |
| 6982 |
> |
ac_cv_type_uint64_t=no |
| 6983 |
|
fi |
| 6984 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6984 |
> |
|
| 6985 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6986 |
|
fi |
| 6987 |
< |
echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5 |
| 6988 |
< |
echo "${ECHO_T}$ac_cv_type_uint64_t" >&6 |
| 6987 |
> |
{ echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5 |
| 6988 |
> |
echo "${ECHO_T}$ac_cv_type_uint64_t" >&6; } |
| 6989 |
|
if test $ac_cv_type_uint64_t = yes; then |
| 6990 |
|
: |
| 6991 |
|
else |
| 6996 |
|
|
| 6997 |
|
fi |
| 6998 |
|
|
| 6999 |
< |
echo "$as_me:$LINENO: checking for int64_t" >&5 |
| 7000 |
< |
echo $ECHO_N "checking for int64_t... $ECHO_C" >&6 |
| 6999 |
> |
{ echo "$as_me:$LINENO: checking for int64_t" >&5 |
| 7000 |
> |
echo $ECHO_N "checking for int64_t... $ECHO_C" >&6; } |
| 7001 |
|
if test "${ac_cv_type_int64_t+set}" = set; then |
| 7002 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 7003 |
|
else |
| 7008 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 7009 |
|
/* end confdefs.h. */ |
| 7010 |
|
$ac_includes_default |
| 7011 |
+ |
typedef int64_t ac__type_new_; |
| 7012 |
|
int |
| 7013 |
|
main () |
| 7014 |
|
{ |
| 7015 |
< |
if ((int64_t *) 0) |
| 7015 |
> |
if ((ac__type_new_ *) 0) |
| 7016 |
|
return 0; |
| 7017 |
< |
if (sizeof (int64_t)) |
| 7017 |
> |
if (sizeof (ac__type_new_)) |
| 7018 |
|
return 0; |
| 7019 |
|
; |
| 7020 |
|
return 0; |
| 7021 |
|
} |
| 7022 |
|
_ACEOF |
| 7023 |
|
rm -f conftest.$ac_objext |
| 7024 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 7025 |
< |
(eval $ac_compile) 2>conftest.er1 |
| 7024 |
> |
if { (ac_try="$ac_compile" |
| 7025 |
> |
case "(($ac_try" in |
| 7026 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 7027 |
> |
*) ac_try_echo=$ac_try;; |
| 7028 |
> |
esac |
| 7029 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 7030 |
> |
(eval "$ac_compile") 2>conftest.er1 |
| 7031 |
|
ac_status=$? |
| 7032 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 7033 |
|
rm -f conftest.er1 |
| 7034 |
|
cat conftest.err >&5 |
| 7035 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7036 |
< |
(exit $ac_status); } && |
| 7037 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
| 7038 |
< |
|| test ! -s conftest.err' |
| 7039 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6812 |
< |
(eval $ac_try) 2>&5 |
| 6813 |
< |
ac_status=$? |
| 6814 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6815 |
< |
(exit $ac_status); }; } && |
| 6816 |
< |
{ ac_try='test -s conftest.$ac_objext' |
| 6817 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6818 |
< |
(eval $ac_try) 2>&5 |
| 6819 |
< |
ac_status=$? |
| 6820 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6821 |
< |
(exit $ac_status); }; }; then |
| 7036 |
> |
(exit $ac_status); } && { |
| 7037 |
> |
test -z "$ac_c_werror_flag" || |
| 7038 |
> |
test ! -s conftest.err |
| 7039 |
> |
} && test -s conftest.$ac_objext; then |
| 7040 |
|
ac_cv_type_int64_t=yes |
| 7041 |
|
else |
| 7042 |
|
echo "$as_me: failed program was:" >&5 |
| 7043 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 7044 |
|
|
| 7045 |
< |
ac_cv_type_int64_t=no |
| 7045 |
> |
ac_cv_type_int64_t=no |
| 7046 |
|
fi |
| 7047 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 7047 |
> |
|
| 7048 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 7049 |
|
fi |
| 7050 |
< |
echo "$as_me:$LINENO: result: $ac_cv_type_int64_t" >&5 |
| 7051 |
< |
echo "${ECHO_T}$ac_cv_type_int64_t" >&6 |
| 7050 |
> |
{ echo "$as_me:$LINENO: result: $ac_cv_type_int64_t" >&5 |
| 7051 |
> |
echo "${ECHO_T}$ac_cv_type_int64_t" >&6; } |
| 7052 |
|
if test $ac_cv_type_int64_t = yes; then |
| 7053 |
|
: |
| 7054 |
|
else |
| 7065 |
|
{ (exit 1); exit 1; }; } |
| 7066 |
|
fi |
| 7067 |
|
|
| 7068 |
< |
echo "$as_me:$LINENO: checking for u_int32_t" >&5 |
| 7069 |
< |
echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6 |
| 7068 |
> |
{ echo "$as_me:$LINENO: checking for u_int32_t" >&5 |
| 7069 |
> |
echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6; } |
| 7070 |
|
if test "${ac_cv_type_u_int32_t+set}" = set; then |
| 7071 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 7072 |
|
else |
| 7077 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 7078 |
|
/* end confdefs.h. */ |
| 7079 |
|
$ac_includes_default |
| 7080 |
+ |
typedef u_int32_t ac__type_new_; |
| 7081 |
|
int |
| 7082 |
|
main () |
| 7083 |
|
{ |
| 7084 |
< |
if ((u_int32_t *) 0) |
| 7084 |
> |
if ((ac__type_new_ *) 0) |
| 7085 |
|
return 0; |
| 7086 |
< |
if (sizeof (u_int32_t)) |
| 7086 |
> |
if (sizeof (ac__type_new_)) |
| 7087 |
|
return 0; |
| 7088 |
|
; |
| 7089 |
|
return 0; |
| 7090 |
|
} |
| 7091 |
|
_ACEOF |
| 7092 |
|
rm -f conftest.$ac_objext |
| 7093 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 7094 |
< |
(eval $ac_compile) 2>conftest.er1 |
| 7093 |
> |
if { (ac_try="$ac_compile" |
| 7094 |
> |
case "(($ac_try" in |
| 7095 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 7096 |
> |
*) ac_try_echo=$ac_try;; |
| 7097 |
> |
esac |
| 7098 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 7099 |
> |
(eval "$ac_compile") 2>conftest.er1 |
| 7100 |
|
ac_status=$? |
| 7101 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 7102 |
|
rm -f conftest.er1 |
| 7103 |
|
cat conftest.err >&5 |
| 7104 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7105 |
< |
(exit $ac_status); } && |
| 7106 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
| 7107 |
< |
|| test ! -s conftest.err' |
| 7108 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6884 |
< |
(eval $ac_try) 2>&5 |
| 6885 |
< |
ac_status=$? |
| 6886 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6887 |
< |
(exit $ac_status); }; } && |
| 6888 |
< |
{ ac_try='test -s conftest.$ac_objext' |
| 6889 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6890 |
< |
(eval $ac_try) 2>&5 |
| 6891 |
< |
ac_status=$? |
| 6892 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6893 |
< |
(exit $ac_status); }; }; then |
| 7105 |
> |
(exit $ac_status); } && { |
| 7106 |
> |
test -z "$ac_c_werror_flag" || |
| 7107 |
> |
test ! -s conftest.err |
| 7108 |
> |
} && test -s conftest.$ac_objext; then |
| 7109 |
|
ac_cv_type_u_int32_t=yes |
| 7110 |
|
else |
| 7111 |
|
echo "$as_me: failed program was:" >&5 |
| 7112 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 7113 |
|
|
| 7114 |
< |
ac_cv_type_u_int32_t=no |
| 7114 |
> |
ac_cv_type_u_int32_t=no |
| 7115 |
|
fi |
| 7116 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 7116 |
> |
|
| 7117 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 7118 |
|
fi |
| 7119 |
< |
echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5 |
| 7120 |
< |
echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6 |
| 7119 |
> |
{ echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5 |
| 7120 |
> |
echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6; } |
| 7121 |
|
if test $ac_cv_type_u_int32_t = yes; then |
| 7122 |
|
: |
| 7123 |
|
else |
| 7124 |
|
|
| 7125 |
< |
echo "$as_me:$LINENO: checking for uint32_t" >&5 |
| 7126 |
< |
echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6 |
| 7125 |
> |
{ echo "$as_me:$LINENO: checking for uint32_t" >&5 |
| 7126 |
> |
echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6; } |
| 7127 |
|
if test "${ac_cv_type_uint32_t+set}" = set; then |
| 7128 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 7129 |
|
else |
| 7134 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 7135 |
|
/* end confdefs.h. */ |
| 7136 |
|
$ac_includes_default |
| 7137 |
+ |
typedef uint32_t ac__type_new_; |
| 7138 |
|
int |
| 7139 |
|
main () |
| 7140 |
|
{ |
| 7141 |
< |
if ((uint32_t *) 0) |
| 7141 |
> |
if ((ac__type_new_ *) 0) |
| 7142 |
|
return 0; |
| 7143 |
< |
if (sizeof (uint32_t)) |
| 7143 |
> |
if (sizeof (ac__type_new_)) |
| 7144 |
|
return 0; |
| 7145 |
|
; |
| 7146 |
|
return 0; |
| 7147 |
|
} |
| 7148 |
|
_ACEOF |
| 7149 |
|
rm -f conftest.$ac_objext |
| 7150 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 7151 |
< |
(eval $ac_compile) 2>conftest.er1 |
| 7150 |
> |
if { (ac_try="$ac_compile" |
| 7151 |
> |
case "(($ac_try" in |
| 7152 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 7153 |
> |
*) ac_try_echo=$ac_try;; |
| 7154 |
> |
esac |
| 7155 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 7156 |
> |
(eval "$ac_compile") 2>conftest.er1 |
| 7157 |
|
ac_status=$? |
| 7158 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 7159 |
|
rm -f conftest.er1 |
| 7160 |
|
cat conftest.err >&5 |
| 7161 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7162 |
< |
(exit $ac_status); } && |
| 7163 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
| 7164 |
< |
|| test ! -s conftest.err' |
| 7165 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6944 |
< |
(eval $ac_try) 2>&5 |
| 6945 |
< |
ac_status=$? |
| 6946 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6947 |
< |
(exit $ac_status); }; } && |
| 6948 |
< |
{ ac_try='test -s conftest.$ac_objext' |
| 6949 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6950 |
< |
(eval $ac_try) 2>&5 |
| 6951 |
< |
ac_status=$? |
| 6952 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6953 |
< |
(exit $ac_status); }; }; then |
| 7162 |
> |
(exit $ac_status); } && { |
| 7163 |
> |
test -z "$ac_c_werror_flag" || |
| 7164 |
> |
test ! -s conftest.err |
| 7165 |
> |
} && test -s conftest.$ac_objext; then |
| 7166 |
|
ac_cv_type_uint32_t=yes |
| 7167 |
|
else |
| 7168 |
|
echo "$as_me: failed program was:" >&5 |
| 7169 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 7170 |
|
|
| 7171 |
< |
ac_cv_type_uint32_t=no |
| 7171 |
> |
ac_cv_type_uint32_t=no |
| 7172 |
|
fi |
| 7173 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 7173 |
> |
|
| 7174 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 7175 |
|
fi |
| 7176 |
< |
echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5 |
| 7177 |
< |
echo "${ECHO_T}$ac_cv_type_uint32_t" >&6 |
| 7176 |
> |
{ echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5 |
| 7177 |
> |
echo "${ECHO_T}$ac_cv_type_uint32_t" >&6; } |
| 7178 |
|
if test $ac_cv_type_uint32_t = yes; then |
| 7179 |
|
|
| 7180 |
|
|
| 7199 |
|
fi |
| 7200 |
|
|
| 7201 |
|
|
| 7202 |
< |
echo "$as_me:$LINENO: checking for u_int16_t" >&5 |
| 7203 |
< |
echo $ECHO_N "checking for u_int16_t... $ECHO_C" >&6 |
| 7202 |
> |
{ echo "$as_me:$LINENO: checking for u_int16_t" >&5 |
| 7203 |
> |
echo $ECHO_N "checking for u_int16_t... $ECHO_C" >&6; } |
| 7204 |
|
if test "${ac_cv_type_u_int16_t+set}" = set; then |
| 7205 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 7206 |
|
else |
| 7211 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 7212 |
|
/* end confdefs.h. */ |
| 7213 |
|
$ac_includes_default |
| 7214 |
+ |
typedef u_int16_t ac__type_new_; |
| 7215 |
|
int |
| 7216 |
|
main () |
| 7217 |
|
{ |
| 7218 |
< |
if ((u_int16_t *) 0) |
| 7218 |
> |
if ((ac__type_new_ *) 0) |
| 7219 |
|
return 0; |
| 7220 |
< |
if (sizeof (u_int16_t)) |
| 7220 |
> |
if (sizeof (ac__type_new_)) |
| 7221 |
|
return 0; |
| 7222 |
|
; |
| 7223 |
|
return 0; |
| 7224 |
|
} |
| 7225 |
|
_ACEOF |
| 7226 |
|
rm -f conftest.$ac_objext |
| 7227 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 7228 |
< |
(eval $ac_compile) 2>conftest.er1 |
| 7227 |
> |
if { (ac_try="$ac_compile" |
| 7228 |
> |
case "(($ac_try" in |
| 7229 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 7230 |
> |
*) ac_try_echo=$ac_try;; |
| 7231 |
> |
esac |
| 7232 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 7233 |
> |
(eval "$ac_compile") 2>conftest.er1 |
| 7234 |
|
ac_status=$? |
| 7235 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 7236 |
|
rm -f conftest.er1 |
| 7237 |
|
cat conftest.err >&5 |
| 7238 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7239 |
< |
(exit $ac_status); } && |
| 7240 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
| 7241 |
< |
|| test ! -s conftest.err' |
| 7242 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7024 |
< |
(eval $ac_try) 2>&5 |
| 7025 |
< |
ac_status=$? |
| 7026 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7027 |
< |
(exit $ac_status); }; } && |
| 7028 |
< |
{ ac_try='test -s conftest.$ac_objext' |
| 7029 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7030 |
< |
(eval $ac_try) 2>&5 |
| 7031 |
< |
ac_status=$? |
| 7032 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7033 |
< |
(exit $ac_status); }; }; then |
| 7239 |
> |
(exit $ac_status); } && { |
| 7240 |
> |
test -z "$ac_c_werror_flag" || |
| 7241 |
> |
test ! -s conftest.err |
| 7242 |
> |
} && test -s conftest.$ac_objext; then |
| 7243 |
|
ac_cv_type_u_int16_t=yes |
| 7244 |
|
else |
| 7245 |
|
echo "$as_me: failed program was:" >&5 |
| 7246 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 7247 |
|
|
| 7248 |
< |
ac_cv_type_u_int16_t=no |
| 7248 |
> |
ac_cv_type_u_int16_t=no |
| 7249 |
|
fi |
| 7250 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 7250 |
> |
|
| 7251 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 7252 |
|
fi |
| 7253 |
< |
echo "$as_me:$LINENO: result: $ac_cv_type_u_int16_t" >&5 |
| 7254 |
< |
echo "${ECHO_T}$ac_cv_type_u_int16_t" >&6 |
| 7253 |
> |
{ echo "$as_me:$LINENO: result: $ac_cv_type_u_int16_t" >&5 |
| 7254 |
> |
echo "${ECHO_T}$ac_cv_type_u_int16_t" >&6; } |
| 7255 |
|
if test $ac_cv_type_u_int16_t = yes; then |
| 7256 |
|
: |
| 7257 |
|
else |
| 7258 |
|
|
| 7259 |
< |
echo "$as_me:$LINENO: checking for uint16_t" >&5 |
| 7260 |
< |
echo $ECHO_N "checking for uint16_t... $ECHO_C" >&6 |
| 7259 |
> |
{ echo "$as_me:$LINENO: checking for uint16_t" >&5 |
| 7260 |
> |
echo $ECHO_N "checking for uint16_t... $ECHO_C" >&6; } |
| 7261 |
|
if test "${ac_cv_type_uint16_t+set}" = set; then |
| 7262 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 7263 |
|
else |
| 7268 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 7269 |
|
/* end confdefs.h. */ |
| 7270 |
|
$ac_includes_default |
| 7271 |
+ |
typedef uint16_t ac__type_new_; |
| 7272 |
|
int |
| 7273 |
|
main () |
| 7274 |
|
{ |
| 7275 |
< |
if ((uint16_t *) 0) |
| 7275 |
> |
if ((ac__type_new_ *) 0) |
| 7276 |
|
return 0; |
| 7277 |
< |
if (sizeof (uint16_t)) |
| 7277 |
> |
if (sizeof (ac__type_new_)) |
| 7278 |
|
return 0; |
| 7279 |
|
; |
| 7280 |
|
return 0; |
| 7281 |
|
} |
| 7282 |
|
_ACEOF |
| 7283 |
|
rm -f conftest.$ac_objext |
| 7284 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 7285 |
< |
(eval $ac_compile) 2>conftest.er1 |
| 7284 |
> |
if { (ac_try="$ac_compile" |
| 7285 |
> |
case "(($ac_try" in |
| 7286 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 7287 |
> |
*) ac_try_echo=$ac_try;; |
| 7288 |
> |
esac |
| 7289 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 7290 |
> |
(eval "$ac_compile") 2>conftest.er1 |
| 7291 |
|
ac_status=$? |
| 7292 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 7293 |
|
rm -f conftest.er1 |
| 7294 |
|
cat conftest.err >&5 |
| 7295 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7296 |
< |
(exit $ac_status); } && |
| 7297 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
| 7298 |
< |
|| test ! -s conftest.err' |
| 7299 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7084 |
< |
(eval $ac_try) 2>&5 |
| 7085 |
< |
ac_status=$? |
| 7086 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7087 |
< |
(exit $ac_status); }; } && |
| 7088 |
< |
{ ac_try='test -s conftest.$ac_objext' |
| 7089 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7090 |
< |
(eval $ac_try) 2>&5 |
| 7091 |
< |
ac_status=$? |
| 7092 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7093 |
< |
(exit $ac_status); }; }; then |
| 7296 |
> |
(exit $ac_status); } && { |
| 7297 |
> |
test -z "$ac_c_werror_flag" || |
| 7298 |
> |
test ! -s conftest.err |
| 7299 |
> |
} && test -s conftest.$ac_objext; then |
| 7300 |
|
ac_cv_type_uint16_t=yes |
| 7301 |
|
else |
| 7302 |
|
echo "$as_me: failed program was:" >&5 |
| 7303 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 7304 |
|
|
| 7305 |
< |
ac_cv_type_uint16_t=no |
| 7305 |
> |
ac_cv_type_uint16_t=no |
| 7306 |
|
fi |
| 7307 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 7307 |
> |
|
| 7308 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 7309 |
|
fi |
| 7310 |
< |
echo "$as_me:$LINENO: result: $ac_cv_type_uint16_t" >&5 |
| 7311 |
< |
echo "${ECHO_T}$ac_cv_type_uint16_t" >&6 |
| 7310 |
> |
{ echo "$as_me:$LINENO: result: $ac_cv_type_uint16_t" >&5 |
| 7311 |
> |
echo "${ECHO_T}$ac_cv_type_uint16_t" >&6; } |
| 7312 |
|
if test $ac_cv_type_uint16_t = yes; then |
| 7313 |
|
|
| 7314 |
|
|
| 7333 |
|
fi |
| 7334 |
|
|
| 7335 |
|
|
| 7336 |
< |
echo "$as_me:$LINENO: checking for in_port_t" >&5 |
| 7337 |
< |
echo $ECHO_N "checking for in_port_t... $ECHO_C" >&6 |
| 7336 |
> |
{ echo "$as_me:$LINENO: checking for in_port_t" >&5 |
| 7337 |
> |
echo $ECHO_N "checking for in_port_t... $ECHO_C" >&6; } |
| 7338 |
|
if test "${ac_cv_type_in_port_t+set}" = set; then |
| 7339 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 7340 |
|
else |
| 7347 |
|
#include <sys/types.h> |
| 7348 |
|
#include <netinet/in.h> |
| 7349 |
|
|
| 7350 |
+ |
typedef in_port_t ac__type_new_; |
| 7351 |
|
int |
| 7352 |
|
main () |
| 7353 |
|
{ |
| 7354 |
< |
if ((in_port_t *) 0) |
| 7354 |
> |
if ((ac__type_new_ *) 0) |
| 7355 |
|
return 0; |
| 7356 |
< |
if (sizeof (in_port_t)) |
| 7356 |
> |
if (sizeof (ac__type_new_)) |
| 7357 |
|
return 0; |
| 7358 |
|
; |
| 7359 |
|
return 0; |
| 7360 |
|
} |
| 7361 |
|
_ACEOF |
| 7362 |
|
rm -f conftest.$ac_objext |
| 7363 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 7364 |
< |
(eval $ac_compile) 2>conftest.er1 |
| 7363 |
> |
if { (ac_try="$ac_compile" |
| 7364 |
> |
case "(($ac_try" in |
| 7365 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 7366 |
> |
*) ac_try_echo=$ac_try;; |
| 7367 |
> |
esac |
| 7368 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 7369 |
> |
(eval "$ac_compile") 2>conftest.er1 |
| 7370 |
|
ac_status=$? |
| 7371 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 7372 |
|
rm -f conftest.er1 |
| 7373 |
|
cat conftest.err >&5 |
| 7374 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7375 |
< |
(exit $ac_status); } && |
| 7376 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
| 7377 |
< |
|| test ! -s conftest.err' |
| 7378 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7166 |
< |
(eval $ac_try) 2>&5 |
| 7167 |
< |
ac_status=$? |
| 7168 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7169 |
< |
(exit $ac_status); }; } && |
| 7170 |
< |
{ ac_try='test -s conftest.$ac_objext' |
| 7171 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7172 |
< |
(eval $ac_try) 2>&5 |
| 7173 |
< |
ac_status=$? |
| 7174 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7175 |
< |
(exit $ac_status); }; }; then |
| 7375 |
> |
(exit $ac_status); } && { |
| 7376 |
> |
test -z "$ac_c_werror_flag" || |
| 7377 |
> |
test ! -s conftest.err |
| 7378 |
> |
} && test -s conftest.$ac_objext; then |
| 7379 |
|
ac_cv_type_in_port_t=yes |
| 7380 |
|
else |
| 7381 |
|
echo "$as_me: failed program was:" >&5 |
| 7382 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 7383 |
|
|
| 7384 |
< |
ac_cv_type_in_port_t=no |
| 7384 |
> |
ac_cv_type_in_port_t=no |
| 7385 |
|
fi |
| 7386 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 7386 |
> |
|
| 7387 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 7388 |
|
fi |
| 7389 |
< |
echo "$as_me:$LINENO: result: $ac_cv_type_in_port_t" >&5 |
| 7390 |
< |
echo "${ECHO_T}$ac_cv_type_in_port_t" >&6 |
| 7389 |
> |
{ echo "$as_me:$LINENO: result: $ac_cv_type_in_port_t" >&5 |
| 7390 |
> |
echo "${ECHO_T}$ac_cv_type_in_port_t" >&6; } |
| 7391 |
|
if test $ac_cv_type_in_port_t = yes; then |
| 7392 |
|
: |
| 7393 |
|
else |
| 7399 |
|
fi |
| 7400 |
|
|
| 7401 |
|
|
| 7402 |
< |
echo "$as_me:$LINENO: checking for sa_family_t" >&5 |
| 7403 |
< |
echo $ECHO_N "checking for sa_family_t... $ECHO_C" >&6 |
| 7402 |
> |
{ echo "$as_me:$LINENO: checking for sa_family_t" >&5 |
| 7403 |
> |
echo $ECHO_N "checking for sa_family_t... $ECHO_C" >&6; } |
| 7404 |
|
if test "${ac_cv_type_sa_family_t+set}" = set; then |
| 7405 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 7406 |
|
else |
| 7413 |
|
#include <sys/types.h> |
| 7414 |
|
#include <sys/socket.h> |
| 7415 |
|
|
| 7416 |
+ |
typedef sa_family_t ac__type_new_; |
| 7417 |
|
int |
| 7418 |
|
main () |
| 7419 |
|
{ |
| 7420 |
< |
if ((sa_family_t *) 0) |
| 7420 |
> |
if ((ac__type_new_ *) 0) |
| 7421 |
|
return 0; |
| 7422 |
< |
if (sizeof (sa_family_t)) |
| 7422 |
> |
if (sizeof (ac__type_new_)) |
| 7423 |
|
return 0; |
| 7424 |
|
; |
| 7425 |
|
return 0; |
| 7426 |
|
} |
| 7427 |
|
_ACEOF |
| 7428 |
|
rm -f conftest.$ac_objext |
| 7429 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 7430 |
< |
(eval $ac_compile) 2>conftest.er1 |
| 7429 |
> |
if { (ac_try="$ac_compile" |
| 7430 |
> |
case "(($ac_try" in |
| 7431 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 7432 |
> |
*) ac_try_echo=$ac_try;; |
| 7433 |
> |
esac |
| 7434 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 7435 |
> |
(eval "$ac_compile") 2>conftest.er1 |
| 7436 |
|
ac_status=$? |
| 7437 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 7438 |
|
rm -f conftest.er1 |
| 7439 |
|
cat conftest.err >&5 |
| 7440 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7441 |
< |
(exit $ac_status); } && |
| 7442 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
| 7443 |
< |
|| test ! -s conftest.err' |
| 7444 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7235 |
< |
(eval $ac_try) 2>&5 |
| 7236 |
< |
ac_status=$? |
| 7237 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7238 |
< |
(exit $ac_status); }; } && |
| 7239 |
< |
{ ac_try='test -s conftest.$ac_objext' |
| 7240 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7241 |
< |
(eval $ac_try) 2>&5 |
| 7242 |
< |
ac_status=$? |
| 7243 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7244 |
< |
(exit $ac_status); }; }; then |
| 7441 |
> |
(exit $ac_status); } && { |
| 7442 |
> |
test -z "$ac_c_werror_flag" || |
| 7443 |
> |
test ! -s conftest.err |
| 7444 |
> |
} && test -s conftest.$ac_objext; then |
| 7445 |
|
ac_cv_type_sa_family_t=yes |
| 7446 |
|
else |
| 7447 |
|
echo "$as_me: failed program was:" >&5 |
| 7448 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 7449 |
|
|
| 7450 |
< |
ac_cv_type_sa_family_t=no |
| 7450 |
> |
ac_cv_type_sa_family_t=no |
| 7451 |
|
fi |
| 7452 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 7452 |
> |
|
| 7453 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 7454 |
|
fi |
| 7455 |
< |
echo "$as_me:$LINENO: result: $ac_cv_type_sa_family_t" >&5 |
| 7456 |
< |
echo "${ECHO_T}$ac_cv_type_sa_family_t" >&6 |
| 7455 |
> |
{ echo "$as_me:$LINENO: result: $ac_cv_type_sa_family_t" >&5 |
| 7456 |
> |
echo "${ECHO_T}$ac_cv_type_sa_family_t" >&6; } |
| 7457 |
|
if test $ac_cv_type_sa_family_t = yes; then |
| 7458 |
|
: |
| 7459 |
|
else |
| 7476 |
|
for ac_func in socketpair mmap snprintf vsnprintf lrand48 srand48 strtok_r usleep |
| 7477 |
|
do |
| 7478 |
|
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 7479 |
< |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 7480 |
< |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
| 7481 |
< |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
| 7479 |
> |
{ echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 7480 |
> |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
| 7481 |
> |
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
| 7482 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 7483 |
|
else |
| 7484 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 7504 |
|
|
| 7505 |
|
#undef $ac_func |
| 7506 |
|
|
| 7507 |
< |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 7507 |
> |
/* Override any GCC internal prototype to avoid an error. |
| 7508 |
> |
Use char because int might match the return type of a GCC |
| 7509 |
> |
builtin and then its argument prototype would still apply. */ |
| 7510 |
|
#ifdef __cplusplus |
| 7511 |
|
extern "C" |
| 7309 |
– |
{ |
| 7512 |
|
#endif |
| 7311 |
– |
/* We use char because int might match the return type of a gcc2 |
| 7312 |
– |
builtin and then its argument prototype would still apply. */ |
| 7513 |
|
char $ac_func (); |
| 7514 |
|
/* The GNU C library defines this for functions which it implements |
| 7515 |
|
to always fail with ENOSYS. Some functions are actually named |
| 7516 |
|
something starting with __ and the normal name is an alias. */ |
| 7517 |
< |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
| 7517 |
> |
#if defined __stub_$ac_func || defined __stub___$ac_func |
| 7518 |
|
choke me |
| 7319 |
– |
#else |
| 7320 |
– |
char (*f) () = $ac_func; |
| 7321 |
– |
#endif |
| 7322 |
– |
#ifdef __cplusplus |
| 7323 |
– |
} |
| 7519 |
|
#endif |
| 7520 |
|
|
| 7521 |
|
int |
| 7522 |
|
main () |
| 7523 |
|
{ |
| 7524 |
< |
return f != $ac_func; |
| 7524 |
> |
return $ac_func (); |
| 7525 |
|
; |
| 7526 |
|
return 0; |
| 7527 |
|
} |
| 7528 |
|
_ACEOF |
| 7529 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
| 7530 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 7531 |
< |
(eval $ac_link) 2>conftest.er1 |
| 7530 |
> |
if { (ac_try="$ac_link" |
| 7531 |
> |
case "(($ac_try" in |
| 7532 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 7533 |
> |
*) ac_try_echo=$ac_try;; |
| 7534 |
> |
esac |
| 7535 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 7536 |
> |
(eval "$ac_link") 2>conftest.er1 |
| 7537 |
|
ac_status=$? |
| 7538 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 7539 |
|
rm -f conftest.er1 |
| 7540 |
|
cat conftest.err >&5 |
| 7541 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7542 |
< |
(exit $ac_status); } && |
| 7543 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
| 7544 |
< |
|| test ! -s conftest.err' |
| 7545 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7546 |
< |
(eval $ac_try) 2>&5 |
| 7347 |
< |
ac_status=$? |
| 7348 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7349 |
< |
(exit $ac_status); }; } && |
| 7350 |
< |
{ ac_try='test -s conftest$ac_exeext' |
| 7351 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7352 |
< |
(eval $ac_try) 2>&5 |
| 7353 |
< |
ac_status=$? |
| 7354 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7355 |
< |
(exit $ac_status); }; }; then |
| 7542 |
> |
(exit $ac_status); } && { |
| 7543 |
> |
test -z "$ac_c_werror_flag" || |
| 7544 |
> |
test ! -s conftest.err |
| 7545 |
> |
} && test -s conftest$ac_exeext && |
| 7546 |
> |
$as_test_x conftest$ac_exeext; then |
| 7547 |
|
eval "$as_ac_var=yes" |
| 7548 |
|
else |
| 7549 |
|
echo "$as_me: failed program was:" >&5 |
| 7550 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 7551 |
|
|
| 7552 |
< |
eval "$as_ac_var=no" |
| 7552 |
> |
eval "$as_ac_var=no" |
| 7553 |
|
fi |
| 7554 |
< |
rm -f conftest.err conftest.$ac_objext \ |
| 7554 |
> |
|
| 7555 |
> |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 7556 |
|
conftest$ac_exeext conftest.$ac_ext |
| 7557 |
|
fi |
| 7558 |
< |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
| 7559 |
< |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
| 7558 |
> |
ac_res=`eval echo '${'$as_ac_var'}'` |
| 7559 |
> |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 7560 |
> |
echo "${ECHO_T}$ac_res" >&6; } |
| 7561 |
|
if test `eval echo '${'$as_ac_var'}'` = yes; then |
| 7562 |
|
cat >>confdefs.h <<_ACEOF |
| 7563 |
|
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 7574 |
|
|
| 7575 |
|
|
| 7576 |
|
|
| 7577 |
< |
echo "$as_me:$LINENO: checking for OpenSSL" >&5 |
| 7578 |
< |
echo $ECHO_N "checking for OpenSSL... $ECHO_C" >&6 |
| 7579 |
< |
# Check whether --enable-openssl or --disable-openssl was given. |
| 7577 |
> |
{ echo "$as_me:$LINENO: checking for OpenSSL" >&5 |
| 7578 |
> |
echo $ECHO_N "checking for OpenSSL... $ECHO_C" >&6; } |
| 7579 |
> |
# Check whether --enable-openssl was given. |
| 7580 |
|
if test "${enable_openssl+set}" = set; then |
| 7581 |
< |
enableval="$enable_openssl" |
| 7389 |
< |
cf_enable_openssl=$enableval |
| 7581 |
> |
enableval=$enable_openssl; cf_enable_openssl=$enableval |
| 7582 |
|
else |
| 7583 |
|
cf_enable_openssl="auto" |
| 7584 |
< |
fi; |
| 7584 |
> |
fi |
| 7585 |
> |
|
| 7586 |
|
|
| 7587 |
|
if test "$cf_enable_openssl" != "no" ; then |
| 7588 |
|
cf_openssl_basedir="" |
| 7613 |
|
fi |
| 7614 |
|
|
| 7615 |
|
if test ! -z "$cf_openssl_basedir"; then |
| 7616 |
< |
echo "$as_me:$LINENO: result: $cf_openssl_basedir" >&5 |
| 7617 |
< |
echo "${ECHO_T}$cf_openssl_basedir" >&6 |
| 7616 |
> |
{ echo "$as_me:$LINENO: result: $cf_openssl_basedir" >&5 |
| 7617 |
> |
echo "${ECHO_T}$cf_openssl_basedir" >&6; } |
| 7618 |
|
cf_enable_openssl="yes" |
| 7619 |
|
else |
| 7620 |
< |
echo "$as_me:$LINENO: result: not found. Specify a correct path?" >&5 |
| 7621 |
< |
echo "${ECHO_T}not found. Specify a correct path?" >&6 |
| 7620 |
> |
{ echo "$as_me:$LINENO: result: not found. Specify a correct path?" >&5 |
| 7621 |
> |
echo "${ECHO_T}not found. Specify a correct path?" >&6; } |
| 7622 |
|
cf_enable_openssl="no" |
| 7623 |
|
fi |
| 7624 |
|
unset cf_openssl_basedir |
| 7625 |
|
else |
| 7626 |
< |
echo "$as_me:$LINENO: result: disabled" >&5 |
| 7627 |
< |
echo "${ECHO_T}disabled" >&6 |
| 7626 |
> |
{ echo "$as_me:$LINENO: result: disabled" >&5 |
| 7627 |
> |
echo "${ECHO_T}disabled" >&6; } |
| 7628 |
|
fi |
| 7629 |
|
|
| 7630 |
|
save_CPPFLAGS="$CPPFLAGS" |
| 7632 |
|
save_LIBS="$LIBS" |
| 7633 |
|
LIBS="$LIBS $SSL_LIBS" |
| 7634 |
|
if test "$cf_enable_openssl" != no; then |
| 7635 |
< |
echo "$as_me:$LINENO: checking for OpenSSL 0.9.6 or above" >&5 |
| 7636 |
< |
echo $ECHO_N "checking for OpenSSL 0.9.6 or above... $ECHO_C" >&6 |
| 7635 |
> |
{ echo "$as_me:$LINENO: checking for OpenSSL 0.9.6 or above" >&5 |
| 7636 |
> |
echo $ECHO_N "checking for OpenSSL 0.9.6 or above... $ECHO_C" >&6; } |
| 7637 |
|
if test "$cross_compiling" = yes; then |
| 7638 |
|
cf_openssl_version_ok=no |
| 7639 |
|
else |
| 7655 |
|
} |
| 7656 |
|
_ACEOF |
| 7657 |
|
rm -f conftest$ac_exeext |
| 7658 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 7659 |
< |
(eval $ac_link) 2>&5 |
| 7658 |
> |
if { (ac_try="$ac_link" |
| 7659 |
> |
case "(($ac_try" in |
| 7660 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 7661 |
> |
*) ac_try_echo=$ac_try;; |
| 7662 |
> |
esac |
| 7663 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 7664 |
> |
(eval "$ac_link") 2>&5 |
| 7665 |
|
ac_status=$? |
| 7666 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7667 |
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
| 7668 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7669 |
< |
(eval $ac_try) 2>&5 |
| 7668 |
> |
{ (case "(($ac_try" in |
| 7669 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 7670 |
> |
*) ac_try_echo=$ac_try;; |
| 7671 |
> |
esac |
| 7672 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 7673 |
> |
(eval "$ac_try") 2>&5 |
| 7674 |
|
ac_status=$? |
| 7675 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7676 |
|
(exit $ac_status); }; }; then |
| 7683 |
|
( exit $ac_status ) |
| 7684 |
|
cf_openssl_version_ok=no |
| 7685 |
|
fi |
| 7686 |
< |
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 7686 |
> |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 7687 |
|
fi |
| 7688 |
|
|
| 7689 |
+ |
|
| 7690 |
+ |
|
| 7691 |
|
if test "$cf_openssl_version_ok" = yes; then |
| 7692 |
< |
echo "$as_me:$LINENO: result: found" >&5 |
| 7693 |
< |
echo "${ECHO_T}found" >&6 |
| 7692 |
> |
{ echo "$as_me:$LINENO: result: found" >&5 |
| 7693 |
> |
echo "${ECHO_T}found" >&6; } |
| 7694 |
|
|
| 7695 |
|
ENCSPEED=encspeed |
| 7696 |
|
|
| 7697 |
|
|
| 7698 |
|
CPPFLAGS="$CPPFLAGS $SSL_LIBS" |
| 7699 |
|
|
| 7700 |
< |
echo "$as_me:$LINENO: checking for RSA_free in -lcrypto" >&5 |
| 7701 |
< |
echo $ECHO_N "checking for RSA_free in -lcrypto... $ECHO_C" >&6 |
| 7700 |
> |
{ echo "$as_me:$LINENO: checking for RSA_free in -lcrypto" >&5 |
| 7701 |
> |
echo $ECHO_N "checking for RSA_free in -lcrypto... $ECHO_C" >&6; } |
| 7702 |
|
if test "${ac_cv_lib_crypto_RSA_free+set}" = set; then |
| 7703 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 7704 |
|
else |
| 7711 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 7712 |
|
/* end confdefs.h. */ |
| 7713 |
|
|
| 7714 |
< |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 7714 |
> |
/* Override any GCC internal prototype to avoid an error. |
| 7715 |
> |
Use char because int might match the return type of a GCC |
| 7716 |
> |
builtin and then its argument prototype would still apply. */ |
| 7717 |
|
#ifdef __cplusplus |
| 7718 |
|
extern "C" |
| 7719 |
|
#endif |
| 7514 |
– |
/* We use char because int might match the return type of a gcc2 |
| 7515 |
– |
builtin and then its argument prototype would still apply. */ |
| 7720 |
|
char RSA_free (); |
| 7721 |
|
int |
| 7722 |
|
main () |
| 7723 |
|
{ |
| 7724 |
< |
RSA_free (); |
| 7724 |
> |
return RSA_free (); |
| 7725 |
|
; |
| 7726 |
|
return 0; |
| 7727 |
|
} |
| 7728 |
|
_ACEOF |
| 7729 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
| 7730 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 7731 |
< |
(eval $ac_link) 2>conftest.er1 |
| 7730 |
> |
if { (ac_try="$ac_link" |
| 7731 |
> |
case "(($ac_try" in |
| 7732 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 7733 |
> |
*) ac_try_echo=$ac_try;; |
| 7734 |
> |
esac |
| 7735 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 7736 |
> |
(eval "$ac_link") 2>conftest.er1 |
| 7737 |
|
ac_status=$? |
| 7738 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 7739 |
|
rm -f conftest.er1 |
| 7740 |
|
cat conftest.err >&5 |
| 7741 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7742 |
< |
(exit $ac_status); } && |
| 7743 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
| 7744 |
< |
|| test ! -s conftest.err' |
| 7745 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7746 |
< |
(eval $ac_try) 2>&5 |
| 7538 |
< |
ac_status=$? |
| 7539 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7540 |
< |
(exit $ac_status); }; } && |
| 7541 |
< |
{ ac_try='test -s conftest$ac_exeext' |
| 7542 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7543 |
< |
(eval $ac_try) 2>&5 |
| 7544 |
< |
ac_status=$? |
| 7545 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7546 |
< |
(exit $ac_status); }; }; then |
| 7742 |
> |
(exit $ac_status); } && { |
| 7743 |
> |
test -z "$ac_c_werror_flag" || |
| 7744 |
> |
test ! -s conftest.err |
| 7745 |
> |
} && test -s conftest$ac_exeext && |
| 7746 |
> |
$as_test_x conftest$ac_exeext; then |
| 7747 |
|
ac_cv_lib_crypto_RSA_free=yes |
| 7748 |
|
else |
| 7749 |
|
echo "$as_me: failed program was:" >&5 |
| 7750 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 7751 |
|
|
| 7752 |
< |
ac_cv_lib_crypto_RSA_free=no |
| 7752 |
> |
ac_cv_lib_crypto_RSA_free=no |
| 7753 |
|
fi |
| 7754 |
< |
rm -f conftest.err conftest.$ac_objext \ |
| 7754 |
> |
|
| 7755 |
> |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 7756 |
|
conftest$ac_exeext conftest.$ac_ext |
| 7757 |
|
LIBS=$ac_check_lib_save_LIBS |
| 7758 |
|
fi |
| 7759 |
< |
echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_RSA_free" >&5 |
| 7760 |
< |
echo "${ECHO_T}$ac_cv_lib_crypto_RSA_free" >&6 |
| 7759 |
> |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_RSA_free" >&5 |
| 7760 |
> |
echo "${ECHO_T}$ac_cv_lib_crypto_RSA_free" >&6; } |
| 7761 |
|
if test $ac_cv_lib_crypto_RSA_free = yes; then |
| 7762 |
|
cat >>confdefs.h <<_ACEOF |
| 7763 |
|
#define HAVE_LIBCRYPTO 1 |
| 7774 |
|
for ac_func in EVP_bf_cfb |
| 7775 |
|
do |
| 7776 |
|
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 7777 |
< |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 7778 |
< |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
| 7779 |
< |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
| 7777 |
> |
{ echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 7778 |
> |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
| 7779 |
> |
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
| 7780 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 7781 |
|
else |
| 7782 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 7802 |
|
|
| 7803 |
|
#undef $ac_func |
| 7804 |
|
|
| 7805 |
< |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 7805 |
> |
/* Override any GCC internal prototype to avoid an error. |
| 7806 |
> |
Use char because int might match the return type of a GCC |
| 7807 |
> |
builtin and then its argument prototype would still apply. */ |
| 7808 |
|
#ifdef __cplusplus |
| 7809 |
|
extern "C" |
| 7607 |
– |
{ |
| 7810 |
|
#endif |
| 7609 |
– |
/* We use char because int might match the return type of a gcc2 |
| 7610 |
– |
builtin and then its argument prototype would still apply. */ |
| 7811 |
|
char $ac_func (); |
| 7812 |
|
/* The GNU C library defines this for functions which it implements |
| 7813 |
|
to always fail with ENOSYS. Some functions are actually named |
| 7814 |
|
something starting with __ and the normal name is an alias. */ |
| 7815 |
< |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
| 7815 |
> |
#if defined __stub_$ac_func || defined __stub___$ac_func |
| 7816 |
|
choke me |
| 7617 |
– |
#else |
| 7618 |
– |
char (*f) () = $ac_func; |
| 7619 |
– |
#endif |
| 7620 |
– |
#ifdef __cplusplus |
| 7621 |
– |
} |
| 7817 |
|
#endif |
| 7818 |
|
|
| 7819 |
|
int |
| 7820 |
|
main () |
| 7821 |
|
{ |
| 7822 |
< |
return f != $ac_func; |
| 7822 |
> |
return $ac_func (); |
| 7823 |
|
; |
| 7824 |
|
return 0; |
| 7825 |
|
} |
| 7826 |
|
_ACEOF |
| 7827 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
| 7828 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 7829 |
< |
(eval $ac_link) 2>conftest.er1 |
| 7828 |
> |
if { (ac_try="$ac_link" |
| 7829 |
> |
case "(($ac_try" in |
| 7830 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 7831 |
> |
*) ac_try_echo=$ac_try;; |
| 7832 |
> |
esac |
| 7833 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 7834 |
> |
(eval "$ac_link") 2>conftest.er1 |
| 7835 |
|
ac_status=$? |
| 7836 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 7837 |
|
rm -f conftest.er1 |
| 7838 |
|
cat conftest.err >&5 |
| 7839 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7840 |
< |
(exit $ac_status); } && |
| 7841 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
| 7842 |
< |
|| test ! -s conftest.err' |
| 7843 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7844 |
< |
(eval $ac_try) 2>&5 |
| 7645 |
< |
ac_status=$? |
| 7646 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7647 |
< |
(exit $ac_status); }; } && |
| 7648 |
< |
{ ac_try='test -s conftest$ac_exeext' |
| 7649 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7650 |
< |
(eval $ac_try) 2>&5 |
| 7651 |
< |
ac_status=$? |
| 7652 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7653 |
< |
(exit $ac_status); }; }; then |
| 7840 |
> |
(exit $ac_status); } && { |
| 7841 |
> |
test -z "$ac_c_werror_flag" || |
| 7842 |
> |
test ! -s conftest.err |
| 7843 |
> |
} && test -s conftest$ac_exeext && |
| 7844 |
> |
$as_test_x conftest$ac_exeext; then |
| 7845 |
|
eval "$as_ac_var=yes" |
| 7846 |
|
else |
| 7847 |
|
echo "$as_me: failed program was:" >&5 |
| 7848 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 7849 |
|
|
| 7850 |
< |
eval "$as_ac_var=no" |
| 7850 |
> |
eval "$as_ac_var=no" |
| 7851 |
|
fi |
| 7852 |
< |
rm -f conftest.err conftest.$ac_objext \ |
| 7852 |
> |
|
| 7853 |
> |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 7854 |
|
conftest$ac_exeext conftest.$ac_ext |
| 7855 |
|
fi |
| 7856 |
< |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
| 7857 |
< |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
| 7856 |
> |
ac_res=`eval echo '${'$as_ac_var'}'` |
| 7857 |
> |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 7858 |
> |
echo "${ECHO_T}$ac_res" >&6; } |
| 7859 |
|
if test `eval echo '${'$as_ac_var'}'` = yes; then |
| 7860 |
|
cat >>confdefs.h <<_ACEOF |
| 7861 |
|
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 7868 |
|
for ac_func in EVP_cast5_cfb |
| 7869 |
|
do |
| 7870 |
|
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 7871 |
< |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 7872 |
< |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
| 7873 |
< |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
| 7871 |
> |
{ echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 7872 |
> |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
| 7873 |
> |
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
| 7874 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 7875 |
|
else |
| 7876 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 7896 |
|
|
| 7897 |
|
#undef $ac_func |
| 7898 |
|
|
| 7899 |
< |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 7899 |
> |
/* Override any GCC internal prototype to avoid an error. |
| 7900 |
> |
Use char because int might match the return type of a GCC |
| 7901 |
> |
builtin and then its argument prototype would still apply. */ |
| 7902 |
|
#ifdef __cplusplus |
| 7903 |
|
extern "C" |
| 7709 |
– |
{ |
| 7904 |
|
#endif |
| 7711 |
– |
/* We use char because int might match the return type of a gcc2 |
| 7712 |
– |
builtin and then its argument prototype would still apply. */ |
| 7905 |
|
char $ac_func (); |
| 7906 |
|
/* The GNU C library defines this for functions which it implements |
| 7907 |
|
to always fail with ENOSYS. Some functions are actually named |
| 7908 |
|
something starting with __ and the normal name is an alias. */ |
| 7909 |
< |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
| 7909 |
> |
#if defined __stub_$ac_func || defined __stub___$ac_func |
| 7910 |
|
choke me |
| 7719 |
– |
#else |
| 7720 |
– |
char (*f) () = $ac_func; |
| 7721 |
– |
#endif |
| 7722 |
– |
#ifdef __cplusplus |
| 7723 |
– |
} |
| 7911 |
|
#endif |
| 7912 |
|
|
| 7913 |
|
int |
| 7914 |
|
main () |
| 7915 |
|
{ |
| 7916 |
< |
return f != $ac_func; |
| 7916 |
> |
return $ac_func (); |
| 7917 |
|
; |
| 7918 |
|
return 0; |
| 7919 |
|
} |
| 7920 |
|
_ACEOF |
| 7921 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
| 7922 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 7923 |
< |
(eval $ac_link) 2>conftest.er1 |
| 7922 |
> |
if { (ac_try="$ac_link" |
| 7923 |
> |
case "(($ac_try" in |
| 7924 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 7925 |
> |
*) ac_try_echo=$ac_try;; |
| 7926 |
> |
esac |
| 7927 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 7928 |
> |
(eval "$ac_link") 2>conftest.er1 |
| 7929 |
|
ac_status=$? |
| 7930 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 7931 |
|
rm -f conftest.er1 |
| 7932 |
|
cat conftest.err >&5 |
| 7933 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7934 |
< |
(exit $ac_status); } && |
| 7935 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
| 7936 |
< |
|| test ! -s conftest.err' |
| 7937 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7938 |
< |
(eval $ac_try) 2>&5 |
| 7747 |
< |
ac_status=$? |
| 7748 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7749 |
< |
(exit $ac_status); }; } && |
| 7750 |
< |
{ ac_try='test -s conftest$ac_exeext' |
| 7751 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7752 |
< |
(eval $ac_try) 2>&5 |
| 7753 |
< |
ac_status=$? |
| 7754 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7755 |
< |
(exit $ac_status); }; }; then |
| 7934 |
> |
(exit $ac_status); } && { |
| 7935 |
> |
test -z "$ac_c_werror_flag" || |
| 7936 |
> |
test ! -s conftest.err |
| 7937 |
> |
} && test -s conftest$ac_exeext && |
| 7938 |
> |
$as_test_x conftest$ac_exeext; then |
| 7939 |
|
eval "$as_ac_var=yes" |
| 7940 |
|
else |
| 7941 |
|
echo "$as_me: failed program was:" >&5 |
| 7942 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 7943 |
|
|
| 7944 |
< |
eval "$as_ac_var=no" |
| 7944 |
> |
eval "$as_ac_var=no" |
| 7945 |
|
fi |
| 7946 |
< |
rm -f conftest.err conftest.$ac_objext \ |
| 7946 |
> |
|
| 7947 |
> |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 7948 |
|
conftest$ac_exeext conftest.$ac_ext |
| 7949 |
|
fi |
| 7950 |
< |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
| 7951 |
< |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
| 7950 |
> |
ac_res=`eval echo '${'$as_ac_var'}'` |
| 7951 |
> |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 7952 |
> |
echo "${ECHO_T}$ac_res" >&6; } |
| 7953 |
|
if test `eval echo '${'$as_ac_var'}'` = yes; then |
| 7954 |
|
cat >>confdefs.h <<_ACEOF |
| 7955 |
|
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 7962 |
|
for ac_func in EVP_idea_cfb |
| 7963 |
|
do |
| 7964 |
|
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 7965 |
< |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 7966 |
< |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
| 7967 |
< |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
| 7965 |
> |
{ echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 7966 |
> |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
| 7967 |
> |
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
| 7968 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 7969 |
|
else |
| 7970 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 7990 |
|
|
| 7991 |
|
#undef $ac_func |
| 7992 |
|
|
| 7993 |
< |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 7993 |
> |
/* Override any GCC internal prototype to avoid an error. |
| 7994 |
> |
Use char because int might match the return type of a GCC |
| 7995 |
> |
builtin and then its argument prototype would still apply. */ |
| 7996 |
|
#ifdef __cplusplus |
| 7997 |
|
extern "C" |
| 7811 |
– |
{ |
| 7998 |
|
#endif |
| 7813 |
– |
/* We use char because int might match the return type of a gcc2 |
| 7814 |
– |
builtin and then its argument prototype would still apply. */ |
| 7999 |
|
char $ac_func (); |
| 8000 |
|
/* The GNU C library defines this for functions which it implements |
| 8001 |
|
to always fail with ENOSYS. Some functions are actually named |
| 8002 |
|
something starting with __ and the normal name is an alias. */ |
| 8003 |
< |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
| 8003 |
> |
#if defined __stub_$ac_func || defined __stub___$ac_func |
| 8004 |
|
choke me |
| 7821 |
– |
#else |
| 7822 |
– |
char (*f) () = $ac_func; |
| 7823 |
– |
#endif |
| 7824 |
– |
#ifdef __cplusplus |
| 7825 |
– |
} |
| 8005 |
|
#endif |
| 8006 |
|
|
| 8007 |
|
int |
| 8008 |
|
main () |
| 8009 |
|
{ |
| 8010 |
< |
return f != $ac_func; |
| 8010 |
> |
return $ac_func (); |
| 8011 |
|
; |
| 8012 |
|
return 0; |
| 8013 |
|
} |
| 8014 |
|
_ACEOF |
| 8015 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
| 8016 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 8017 |
< |
(eval $ac_link) 2>conftest.er1 |
| 8016 |
> |
if { (ac_try="$ac_link" |
| 8017 |
> |
case "(($ac_try" in |
| 8018 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 8019 |
> |
*) ac_try_echo=$ac_try;; |
| 8020 |
> |
esac |
| 8021 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 8022 |
> |
(eval "$ac_link") 2>conftest.er1 |
| 8023 |
|
ac_status=$? |
| 8024 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 8025 |
|
rm -f conftest.er1 |
| 8026 |
|
cat conftest.err >&5 |
| 8027 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8028 |
< |
(exit $ac_status); } && |
| 8029 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
| 8030 |
< |
|| test ! -s conftest.err' |
| 8031 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 8032 |
< |
(eval $ac_try) 2>&5 |
| 7849 |
< |
ac_status=$? |
| 7850 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7851 |
< |
(exit $ac_status); }; } && |
| 7852 |
< |
{ ac_try='test -s conftest$ac_exeext' |
| 7853 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7854 |
< |
(eval $ac_try) 2>&5 |
| 7855 |
< |
ac_status=$? |
| 7856 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7857 |
< |
(exit $ac_status); }; }; then |
| 8028 |
> |
(exit $ac_status); } && { |
| 8029 |
> |
test -z "$ac_c_werror_flag" || |
| 8030 |
> |
test ! -s conftest.err |
| 8031 |
> |
} && test -s conftest$ac_exeext && |
| 8032 |
> |
$as_test_x conftest$ac_exeext; then |
| 8033 |
|
eval "$as_ac_var=yes" |
| 8034 |
|
else |
| 8035 |
|
echo "$as_me: failed program was:" >&5 |
| 8036 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 8037 |
|
|
| 8038 |
< |
eval "$as_ac_var=no" |
| 8038 |
> |
eval "$as_ac_var=no" |
| 8039 |
|
fi |
| 8040 |
< |
rm -f conftest.err conftest.$ac_objext \ |
| 8040 |
> |
|
| 8041 |
> |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 8042 |
|
conftest$ac_exeext conftest.$ac_ext |
| 8043 |
|
fi |
| 8044 |
< |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
| 8045 |
< |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
| 8044 |
> |
ac_res=`eval echo '${'$as_ac_var'}'` |
| 8045 |
> |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 8046 |
> |
echo "${ECHO_T}$ac_res" >&6; } |
| 8047 |
|
if test `eval echo '${'$as_ac_var'}'` = yes; then |
| 8048 |
|
cat >>confdefs.h <<_ACEOF |
| 8049 |
|
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 8056 |
|
for ac_func in EVP_rc5_32_12_16_cfb |
| 8057 |
|
do |
| 8058 |
|
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 8059 |
< |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 8060 |
< |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
| 8061 |
< |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
| 8059 |
> |
{ echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 8060 |
> |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
| 8061 |
> |
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
| 8062 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 8063 |
|
else |
| 8064 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 8084 |
|
|
| 8085 |
|
#undef $ac_func |
| 8086 |
|
|
| 8087 |
< |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 8087 |
> |
/* Override any GCC internal prototype to avoid an error. |
| 8088 |
> |
Use char because int might match the return type of a GCC |
| 8089 |
> |
builtin and then its argument prototype would still apply. */ |
| 8090 |
|
#ifdef __cplusplus |
| 8091 |
|
extern "C" |
| 7913 |
– |
{ |
| 8092 |
|
#endif |
| 7915 |
– |
/* We use char because int might match the return type of a gcc2 |
| 7916 |
– |
builtin and then its argument prototype would still apply. */ |
| 8093 |
|
char $ac_func (); |
| 8094 |
|
/* The GNU C library defines this for functions which it implements |
| 8095 |
|
to always fail with ENOSYS. Some functions are actually named |
| 8096 |
|
something starting with __ and the normal name is an alias. */ |
| 8097 |
< |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
| 8097 |
> |
#if defined __stub_$ac_func || defined __stub___$ac_func |
| 8098 |
|
choke me |
| 7923 |
– |
#else |
| 7924 |
– |
char (*f) () = $ac_func; |
| 7925 |
– |
#endif |
| 7926 |
– |
#ifdef __cplusplus |
| 7927 |
– |
} |
| 8099 |
|
#endif |
| 8100 |
|
|
| 8101 |
|
int |
| 8102 |
|
main () |
| 8103 |
|
{ |
| 8104 |
< |
return f != $ac_func; |
| 8104 |
> |
return $ac_func (); |
| 8105 |
|
; |
| 8106 |
|
return 0; |
| 8107 |
|
} |
| 8108 |
|
_ACEOF |
| 8109 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
| 8110 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 8111 |
< |
(eval $ac_link) 2>conftest.er1 |
| 8110 |
> |
if { (ac_try="$ac_link" |
| 8111 |
> |
case "(($ac_try" in |
| 8112 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 8113 |
> |
*) ac_try_echo=$ac_try;; |
| 8114 |
> |
esac |
| 8115 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 8116 |
> |
(eval "$ac_link") 2>conftest.er1 |
| 8117 |
|
ac_status=$? |
| 8118 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 8119 |
|
rm -f conftest.er1 |
| 8120 |
|
cat conftest.err >&5 |
| 8121 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8122 |
< |
(exit $ac_status); } && |
| 8123 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
| 8124 |
< |
|| test ! -s conftest.err' |
| 8125 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 8126 |
< |
(eval $ac_try) 2>&5 |
| 7951 |
< |
ac_status=$? |
| 7952 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7953 |
< |
(exit $ac_status); }; } && |
| 7954 |
< |
{ ac_try='test -s conftest$ac_exeext' |
| 7955 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7956 |
< |
(eval $ac_try) 2>&5 |
| 7957 |
< |
ac_status=$? |
| 7958 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7959 |
< |
(exit $ac_status); }; }; then |
| 8122 |
> |
(exit $ac_status); } && { |
| 8123 |
> |
test -z "$ac_c_werror_flag" || |
| 8124 |
> |
test ! -s conftest.err |
| 8125 |
> |
} && test -s conftest$ac_exeext && |
| 8126 |
> |
$as_test_x conftest$ac_exeext; then |
| 8127 |
|
eval "$as_ac_var=yes" |
| 8128 |
|
else |
| 8129 |
|
echo "$as_me: failed program was:" >&5 |
| 8130 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 8131 |
|
|
| 8132 |
< |
eval "$as_ac_var=no" |
| 8132 |
> |
eval "$as_ac_var=no" |
| 8133 |
|
fi |
| 8134 |
< |
rm -f conftest.err conftest.$ac_objext \ |
| 8134 |
> |
|
| 8135 |
> |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 8136 |
|
conftest$ac_exeext conftest.$ac_ext |
| 8137 |
|
fi |
| 8138 |
< |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
| 8139 |
< |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
| 8138 |
> |
ac_res=`eval echo '${'$as_ac_var'}'` |
| 8139 |
> |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 8140 |
> |
echo "${ECHO_T}$ac_res" >&6; } |
| 8141 |
|
if test `eval echo '${'$as_ac_var'}'` = yes; then |
| 8142 |
|
cat >>confdefs.h <<_ACEOF |
| 8143 |
|
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 8150 |
|
for ac_func in EVP_des_ede3_cfb |
| 8151 |
|
do |
| 8152 |
|
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 8153 |
< |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 8154 |
< |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
| 8155 |
< |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
| 8153 |
> |
{ echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 8154 |
> |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
| 8155 |
> |
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
| 8156 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 8157 |
|
else |
| 8158 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 8178 |
|
|
| 8179 |
|
#undef $ac_func |
| 8180 |
|
|
| 8181 |
< |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 8181 |
> |
/* Override any GCC internal prototype to avoid an error. |
| 8182 |
> |
Use char because int might match the return type of a GCC |
| 8183 |
> |
builtin and then its argument prototype would still apply. */ |
| 8184 |
|
#ifdef __cplusplus |
| 8185 |
|
extern "C" |
| 8015 |
– |
{ |
| 8186 |
|
#endif |
| 8017 |
– |
/* We use char because int might match the return type of a gcc2 |
| 8018 |
– |
builtin and then its argument prototype would still apply. */ |
| 8187 |
|
char $ac_func (); |
| 8188 |
|
/* The GNU C library defines this for functions which it implements |
| 8189 |
|
to always fail with ENOSYS. Some functions are actually named |
| 8190 |
|
something starting with __ and the normal name is an alias. */ |
| 8191 |
< |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
| 8191 |
> |
#if defined __stub_$ac_func || defined __stub___$ac_func |
| 8192 |
|
choke me |
| 8025 |
– |
#else |
| 8026 |
– |
char (*f) () = $ac_func; |
| 8027 |
– |
#endif |
| 8028 |
– |
#ifdef __cplusplus |
| 8029 |
– |
} |
| 8193 |
|
#endif |
| 8194 |
|
|
| 8195 |
|
int |
| 8196 |
|
main () |
| 8197 |
|
{ |
| 8198 |
< |
return f != $ac_func; |
| 8198 |
> |
return $ac_func (); |
| 8199 |
|
; |
| 8200 |
|
return 0; |
| 8201 |
|
} |
| 8202 |
|
_ACEOF |
| 8203 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
| 8204 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 8205 |
< |
(eval $ac_link) 2>conftest.er1 |
| 8204 |
> |
if { (ac_try="$ac_link" |
| 8205 |
> |
case "(($ac_try" in |
| 8206 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 8207 |
> |
*) ac_try_echo=$ac_try;; |
| 8208 |
> |
esac |
| 8209 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 8210 |
> |
(eval "$ac_link") 2>conftest.er1 |
| 8211 |
|
ac_status=$? |
| 8212 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 8213 |
|
rm -f conftest.er1 |
| 8214 |
|
cat conftest.err >&5 |
| 8215 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8216 |
< |
(exit $ac_status); } && |
| 8217 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
| 8218 |
< |
|| test ! -s conftest.err' |
| 8219 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 8220 |
< |
(eval $ac_try) 2>&5 |
| 8053 |
< |
ac_status=$? |
| 8054 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8055 |
< |
(exit $ac_status); }; } && |
| 8056 |
< |
{ ac_try='test -s conftest$ac_exeext' |
| 8057 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 8058 |
< |
(eval $ac_try) 2>&5 |
| 8059 |
< |
ac_status=$? |
| 8060 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8061 |
< |
(exit $ac_status); }; }; then |
| 8216 |
> |
(exit $ac_status); } && { |
| 8217 |
> |
test -z "$ac_c_werror_flag" || |
| 8218 |
> |
test ! -s conftest.err |
| 8219 |
> |
} && test -s conftest$ac_exeext && |
| 8220 |
> |
$as_test_x conftest$ac_exeext; then |
| 8221 |
|
eval "$as_ac_var=yes" |
| 8222 |
|
else |
| 8223 |
|
echo "$as_me: failed program was:" >&5 |
| 8224 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 8225 |
|
|
| 8226 |
< |
eval "$as_ac_var=no" |
| 8226 |
> |
eval "$as_ac_var=no" |
| 8227 |
|
fi |
| 8228 |
< |
rm -f conftest.err conftest.$ac_objext \ |
| 8228 |
> |
|
| 8229 |
> |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 8230 |
|
conftest$ac_exeext conftest.$ac_ext |
| 8231 |
|
fi |
| 8232 |
< |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
| 8233 |
< |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
| 8232 |
> |
ac_res=`eval echo '${'$as_ac_var'}'` |
| 8233 |
> |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 8234 |
> |
echo "${ECHO_T}$ac_res" >&6; } |
| 8235 |
|
if test `eval echo '${'$as_ac_var'}'` = yes; then |
| 8236 |
|
cat >>confdefs.h <<_ACEOF |
| 8237 |
|
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 8244 |
|
for ac_func in EVP_des_cfb |
| 8245 |
|
do |
| 8246 |
|
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 8247 |
< |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 8248 |
< |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
| 8249 |
< |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
| 8247 |
> |
{ echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 8248 |
> |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
| 8249 |
> |
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
| 8250 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 8251 |
|
else |
| 8252 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 8272 |
|
|
| 8273 |
|
#undef $ac_func |
| 8274 |
|
|
| 8275 |
< |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 8275 |
> |
/* Override any GCC internal prototype to avoid an error. |
| 8276 |
> |
Use char because int might match the return type of a GCC |
| 8277 |
> |
builtin and then its argument prototype would still apply. */ |
| 8278 |
|
#ifdef __cplusplus |
| 8279 |
|
extern "C" |
| 8117 |
– |
{ |
| 8280 |
|
#endif |
| 8119 |
– |
/* We use char because int might match the return type of a gcc2 |
| 8120 |
– |
builtin and then its argument prototype would still apply. */ |
| 8281 |
|
char $ac_func (); |
| 8282 |
|
/* The GNU C library defines this for functions which it implements |
| 8283 |
|
to always fail with ENOSYS. Some functions are actually named |
| 8284 |
|
something starting with __ and the normal name is an alias. */ |
| 8285 |
< |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
| 8285 |
> |
#if defined __stub_$ac_func || defined __stub___$ac_func |
| 8286 |
|
choke me |
| 8127 |
– |
#else |
| 8128 |
– |
char (*f) () = $ac_func; |
| 8129 |
– |
#endif |
| 8130 |
– |
#ifdef __cplusplus |
| 8131 |
– |
} |
| 8287 |
|
#endif |
| 8288 |
|
|
| 8289 |
|
int |
| 8290 |
|
main () |
| 8291 |
|
{ |
| 8292 |
< |
return f != $ac_func; |
| 8292 |
> |
return $ac_func (); |
| 8293 |
|
; |
| 8294 |
|
return 0; |
| 8295 |
|
} |
| 8296 |
|
_ACEOF |
| 8297 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
| 8298 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 8299 |
< |
(eval $ac_link) 2>conftest.er1 |
| 8298 |
> |
if { (ac_try="$ac_link" |
| 8299 |
> |
case "(($ac_try" in |
| 8300 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 8301 |
> |
*) ac_try_echo=$ac_try;; |
| 8302 |
> |
esac |
| 8303 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 8304 |
> |
(eval "$ac_link") 2>conftest.er1 |
| 8305 |
|
ac_status=$? |
| 8306 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 8307 |
|
rm -f conftest.er1 |
| 8308 |
|
cat conftest.err >&5 |
| 8309 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8310 |
< |
(exit $ac_status); } && |
| 8311 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
| 8312 |
< |
|| test ! -s conftest.err' |
| 8313 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 8314 |
< |
(eval $ac_try) 2>&5 |
| 8155 |
< |
ac_status=$? |
| 8156 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8157 |
< |
(exit $ac_status); }; } && |
| 8158 |
< |
{ ac_try='test -s conftest$ac_exeext' |
| 8159 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 8160 |
< |
(eval $ac_try) 2>&5 |
| 8161 |
< |
ac_status=$? |
| 8162 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8163 |
< |
(exit $ac_status); }; }; then |
| 8310 |
> |
(exit $ac_status); } && { |
| 8311 |
> |
test -z "$ac_c_werror_flag" || |
| 8312 |
> |
test ! -s conftest.err |
| 8313 |
> |
} && test -s conftest$ac_exeext && |
| 8314 |
> |
$as_test_x conftest$ac_exeext; then |
| 8315 |
|
eval "$as_ac_var=yes" |
| 8316 |
|
else |
| 8317 |
|
echo "$as_me: failed program was:" >&5 |
| 8318 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 8319 |
|
|
| 8320 |
< |
eval "$as_ac_var=no" |
| 8320 |
> |
eval "$as_ac_var=no" |
| 8321 |
|
fi |
| 8322 |
< |
rm -f conftest.err conftest.$ac_objext \ |
| 8322 |
> |
|
| 8323 |
> |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 8324 |
|
conftest$ac_exeext conftest.$ac_ext |
| 8325 |
|
fi |
| 8326 |
< |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
| 8327 |
< |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
| 8326 |
> |
ac_res=`eval echo '${'$as_ac_var'}'` |
| 8327 |
> |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 8328 |
> |
echo "${ECHO_T}$ac_res" >&6; } |
| 8329 |
|
if test `eval echo '${'$as_ac_var'}'` = yes; then |
| 8330 |
|
cat >>confdefs.h <<_ACEOF |
| 8331 |
|
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 8338 |
|
SSL_LIBS="$SSL_LIBS -lssl -lcrypto" |
| 8339 |
|
SSL_SRCS_ENABLE='$(SSL_SRCS)' |
| 8340 |
|
else |
| 8341 |
< |
echo "$as_me:$LINENO: result: no - OpenSSL support disabled" >&5 |
| 8342 |
< |
echo "${ECHO_T}no - OpenSSL support disabled" >&6 |
| 8341 |
> |
{ echo "$as_me:$LINENO: result: no - OpenSSL support disabled" >&5 |
| 8342 |
> |
echo "${ECHO_T}no - OpenSSL support disabled" >&6; } |
| 8343 |
|
fi |
| 8344 |
|
fi |
| 8345 |
|
|
| 8349 |
|
|
| 8350 |
|
|
| 8351 |
|
|
| 8352 |
< |
# Check whether --with-zlib-path or --without-zlib-path was given. |
| 8352 |
> |
# Check whether --with-zlib-path was given. |
| 8353 |
|
if test "${with_zlib_path+set}" = set; then |
| 8354 |
< |
withval="$with_zlib_path" |
| 8355 |
< |
LIBS="$LIBS -L$withval" |
| 8203 |
< |
fi; |
| 8354 |
> |
withval=$with_zlib_path; LIBS="$LIBS -L$withval" |
| 8355 |
> |
fi |
| 8356 |
|
|
| 8357 |
< |
# Check whether --enable-zlib or --disable-zlib was given. |
| 8357 |
> |
|
| 8358 |
> |
# Check whether --enable-zlib was given. |
| 8359 |
|
if test "${enable_zlib+set}" = set; then |
| 8360 |
< |
enableval="$enable_zlib" |
| 8208 |
< |
zlib=$enableval |
| 8360 |
> |
enableval=$enable_zlib; zlib=$enableval |
| 8361 |
|
else |
| 8362 |
|
zlib=yes |
| 8363 |
< |
fi; |
| 8363 |
> |
fi |
| 8364 |
> |
|
| 8365 |
|
|
| 8366 |
|
if test "$zlib" = yes; then |
| 8367 |
|
|
| 8368 |
|
if test "${ac_cv_header_zlib_h+set}" = set; then |
| 8369 |
< |
echo "$as_me:$LINENO: checking for zlib.h" >&5 |
| 8370 |
< |
echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6 |
| 8369 |
> |
{ echo "$as_me:$LINENO: checking for zlib.h" >&5 |
| 8370 |
> |
echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; } |
| 8371 |
|
if test "${ac_cv_header_zlib_h+set}" = set; then |
| 8372 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 8373 |
|
fi |
| 8374 |
< |
echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5 |
| 8375 |
< |
echo "${ECHO_T}$ac_cv_header_zlib_h" >&6 |
| 8374 |
> |
{ echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5 |
| 8375 |
> |
echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; } |
| 8376 |
|
else |
| 8377 |
|
# Is the header compilable? |
| 8378 |
< |
echo "$as_me:$LINENO: checking zlib.h usability" >&5 |
| 8379 |
< |
echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6 |
| 8378 |
> |
{ echo "$as_me:$LINENO: checking zlib.h usability" >&5 |
| 8379 |
> |
echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6; } |
| 8380 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 8381 |
|
/* confdefs.h. */ |
| 8382 |
|
_ACEOF |
| 8387 |
|
#include <zlib.h> |
| 8388 |
|
_ACEOF |
| 8389 |
|
rm -f conftest.$ac_objext |
| 8390 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 8391 |
< |
(eval $ac_compile) 2>conftest.er1 |
| 8390 |
> |
if { (ac_try="$ac_compile" |
| 8391 |
> |
case "(($ac_try" in |
| 8392 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 8393 |
> |
*) ac_try_echo=$ac_try;; |
| 8394 |
> |
esac |
| 8395 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 8396 |
> |
(eval "$ac_compile") 2>conftest.er1 |
| 8397 |
|
ac_status=$? |
| 8398 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 8399 |
|
rm -f conftest.er1 |
| 8400 |
|
cat conftest.err >&5 |
| 8401 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8402 |
< |
(exit $ac_status); } && |
| 8403 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
| 8404 |
< |
|| test ! -s conftest.err' |
| 8405 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 8248 |
< |
(eval $ac_try) 2>&5 |
| 8249 |
< |
ac_status=$? |
| 8250 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8251 |
< |
(exit $ac_status); }; } && |
| 8252 |
< |
{ ac_try='test -s conftest.$ac_objext' |
| 8253 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 8254 |
< |
(eval $ac_try) 2>&5 |
| 8255 |
< |
ac_status=$? |
| 8256 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8257 |
< |
(exit $ac_status); }; }; then |
| 8402 |
> |
(exit $ac_status); } && { |
| 8403 |
> |
test -z "$ac_c_werror_flag" || |
| 8404 |
> |
test ! -s conftest.err |
| 8405 |
> |
} && test -s conftest.$ac_objext; then |
| 8406 |
|
ac_header_compiler=yes |
| 8407 |
|
else |
| 8408 |
|
echo "$as_me: failed program was:" >&5 |
| 8409 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 8410 |
|
|
| 8411 |
< |
ac_header_compiler=no |
| 8411 |
> |
ac_header_compiler=no |
| 8412 |
|
fi |
| 8413 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 8414 |
< |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 8415 |
< |
echo "${ECHO_T}$ac_header_compiler" >&6 |
| 8413 |
> |
|
| 8414 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 8415 |
> |
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 8416 |
> |
echo "${ECHO_T}$ac_header_compiler" >&6; } |
| 8417 |
|
|
| 8418 |
|
# Is the header present? |
| 8419 |
< |
echo "$as_me:$LINENO: checking zlib.h presence" >&5 |
| 8420 |
< |
echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6 |
| 8419 |
> |
{ echo "$as_me:$LINENO: checking zlib.h presence" >&5 |
| 8420 |
> |
echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6; } |
| 8421 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 8422 |
|
/* confdefs.h. */ |
| 8423 |
|
_ACEOF |
| 8426 |
|
/* end confdefs.h. */ |
| 8427 |
|
#include <zlib.h> |
| 8428 |
|
_ACEOF |
| 8429 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 8430 |
< |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 8429 |
> |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 8430 |
> |
case "(($ac_try" in |
| 8431 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 8432 |
> |
*) ac_try_echo=$ac_try;; |
| 8433 |
> |
esac |
| 8434 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 8435 |
> |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
| 8436 |
|
ac_status=$? |
| 8437 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 8438 |
|
rm -f conftest.er1 |
| 8439 |
|
cat conftest.err >&5 |
| 8440 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8441 |
< |
(exit $ac_status); } >/dev/null; then |
| 8442 |
< |
if test -s conftest.err; then |
| 8443 |
< |
ac_cpp_err=$ac_c_preproc_warn_flag |
| 8444 |
< |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| 8291 |
< |
else |
| 8292 |
< |
ac_cpp_err= |
| 8293 |
< |
fi |
| 8294 |
< |
else |
| 8295 |
< |
ac_cpp_err=yes |
| 8296 |
< |
fi |
| 8297 |
< |
if test -z "$ac_cpp_err"; then |
| 8441 |
> |
(exit $ac_status); } >/dev/null && { |
| 8442 |
> |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 8443 |
> |
test ! -s conftest.err |
| 8444 |
> |
}; then |
| 8445 |
|
ac_header_preproc=yes |
| 8446 |
|
else |
| 8447 |
|
echo "$as_me: failed program was:" >&5 |
| 8449 |
|
|
| 8450 |
|
ac_header_preproc=no |
| 8451 |
|
fi |
| 8452 |
+ |
|
| 8453 |
|
rm -f conftest.err conftest.$ac_ext |
| 8454 |
< |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 8455 |
< |
echo "${ECHO_T}$ac_header_preproc" >&6 |
| 8454 |
> |
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 8455 |
> |
echo "${ECHO_T}$ac_header_preproc" >&6; } |
| 8456 |
|
|
| 8457 |
|
# So? What about this header? |
| 8458 |
|
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| 8476 |
|
echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;} |
| 8477 |
|
{ echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5 |
| 8478 |
|
echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;} |
| 8479 |
< |
( |
| 8332 |
< |
cat <<\_ASBOX |
| 8333 |
< |
## -------------------------------------- ## |
| 8334 |
< |
## Report this to the ircd-hybrid lists. ## |
| 8335 |
< |
## -------------------------------------- ## |
| 8336 |
< |
_ASBOX |
| 8337 |
< |
) | |
| 8338 |
< |
sed "s/^/$as_me: WARNING: /" >&2 |
| 8479 |
> |
|
| 8480 |
|
;; |
| 8481 |
|
esac |
| 8482 |
< |
echo "$as_me:$LINENO: checking for zlib.h" >&5 |
| 8483 |
< |
echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6 |
| 8482 |
> |
{ echo "$as_me:$LINENO: checking for zlib.h" >&5 |
| 8483 |
> |
echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; } |
| 8484 |
|
if test "${ac_cv_header_zlib_h+set}" = set; then |
| 8485 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 8486 |
|
else |
| 8487 |
|
ac_cv_header_zlib_h=$ac_header_preproc |
| 8488 |
|
fi |
| 8489 |
< |
echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5 |
| 8490 |
< |
echo "${ECHO_T}$ac_cv_header_zlib_h" >&6 |
| 8489 |
> |
{ echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5 |
| 8490 |
> |
echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; } |
| 8491 |
|
|
| 8492 |
|
fi |
| 8493 |
|
if test $ac_cv_header_zlib_h = yes; then |
| 8494 |
|
|
| 8495 |
< |
echo "$as_me:$LINENO: checking for zlibVersion in -lz" >&5 |
| 8496 |
< |
echo $ECHO_N "checking for zlibVersion in -lz... $ECHO_C" >&6 |
| 8495 |
> |
{ echo "$as_me:$LINENO: checking for zlibVersion in -lz" >&5 |
| 8496 |
> |
echo $ECHO_N "checking for zlibVersion in -lz... $ECHO_C" >&6; } |
| 8497 |
|
if test "${ac_cv_lib_z_zlibVersion+set}" = set; then |
| 8498 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 8499 |
|
else |
| 8506 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 8507 |
|
/* end confdefs.h. */ |
| 8508 |
|
|
| 8509 |
< |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 8509 |
> |
/* Override any GCC internal prototype to avoid an error. |
| 8510 |
> |
Use char because int might match the return type of a GCC |
| 8511 |
> |
builtin and then its argument prototype would still apply. */ |
| 8512 |
|
#ifdef __cplusplus |
| 8513 |
|
extern "C" |
| 8514 |
|
#endif |
| 8372 |
– |
/* We use char because int might match the return type of a gcc2 |
| 8373 |
– |
builtin and then its argument prototype would still apply. */ |
| 8515 |
|
char zlibVersion (); |
| 8516 |
|
int |
| 8517 |
|
main () |
| 8518 |
|
{ |
| 8519 |
< |
zlibVersion (); |
| 8519 |
> |
return zlibVersion (); |
| 8520 |
|
; |
| 8521 |
|
return 0; |
| 8522 |
|
} |
| 8523 |
|
_ACEOF |
| 8524 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
| 8525 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 8526 |
< |
(eval $ac_link) 2>conftest.er1 |
| 8525 |
> |
if { (ac_try="$ac_link" |
| 8526 |
> |
case "(($ac_try" in |
| 8527 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 8528 |
> |
*) ac_try_echo=$ac_try;; |
| 8529 |
> |
esac |
| 8530 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 8531 |
> |
(eval "$ac_link") 2>conftest.er1 |
| 8532 |
|
ac_status=$? |
| 8533 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 8534 |
|
rm -f conftest.er1 |
| 8535 |
|
cat conftest.err >&5 |
| 8536 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8537 |
< |
(exit $ac_status); } && |
| 8538 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
| 8539 |
< |
|| test ! -s conftest.err' |
| 8540 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 8541 |
< |
(eval $ac_try) 2>&5 |
| 8396 |
< |
ac_status=$? |
| 8397 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8398 |
< |
(exit $ac_status); }; } && |
| 8399 |
< |
{ ac_try='test -s conftest$ac_exeext' |
| 8400 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 8401 |
< |
(eval $ac_try) 2>&5 |
| 8402 |
< |
ac_status=$? |
| 8403 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8404 |
< |
(exit $ac_status); }; }; then |
| 8537 |
> |
(exit $ac_status); } && { |
| 8538 |
> |
test -z "$ac_c_werror_flag" || |
| 8539 |
> |
test ! -s conftest.err |
| 8540 |
> |
} && test -s conftest$ac_exeext && |
| 8541 |
> |
$as_test_x conftest$ac_exeext; then |
| 8542 |
|
ac_cv_lib_z_zlibVersion=yes |
| 8543 |
|
else |
| 8544 |
|
echo "$as_me: failed program was:" >&5 |
| 8545 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 8546 |
|
|
| 8547 |
< |
ac_cv_lib_z_zlibVersion=no |
| 8547 |
> |
ac_cv_lib_z_zlibVersion=no |
| 8548 |
|
fi |
| 8549 |
< |
rm -f conftest.err conftest.$ac_objext \ |
| 8549 |
> |
|
| 8550 |
> |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 8551 |
|
conftest$ac_exeext conftest.$ac_ext |
| 8552 |
|
LIBS=$ac_check_lib_save_LIBS |
| 8553 |
|
fi |
| 8554 |
< |
echo "$as_me:$LINENO: result: $ac_cv_lib_z_zlibVersion" >&5 |
| 8555 |
< |
echo "${ECHO_T}$ac_cv_lib_z_zlibVersion" >&6 |
| 8554 |
> |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_z_zlibVersion" >&5 |
| 8555 |
> |
echo "${ECHO_T}$ac_cv_lib_z_zlibVersion" >&6; } |
| 8556 |
|
if test $ac_cv_lib_z_zlibVersion = yes; then |
| 8557 |
|
|
| 8558 |
|
ZLIB_LD=-lz |
| 8577 |
|
fi |
| 8578 |
|
|
| 8579 |
|
|
| 8580 |
< |
# Check whether --enable-poll or --disable-poll was given. |
| 8580 |
> |
# Check whether --enable-poll was given. |
| 8581 |
|
if test "${enable_poll+set}" = set; then |
| 8582 |
< |
enableval="$enable_poll" |
| 8583 |
< |
SELECT_TYPE_EXPLICIT="poll"; echo "Forcing poll() to be enabled" |
| 8584 |
< |
fi; |
| 8582 |
> |
enableval=$enable_poll; SELECT_TYPE_EXPLICIT="poll"; echo "Forcing poll() to be enabled" |
| 8583 |
> |
fi |
| 8584 |
> |
|
| 8585 |
|
|
| 8586 |
< |
# Check whether --enable-select or --disable-select was given. |
| 8586 |
> |
# Check whether --enable-select was given. |
| 8587 |
|
if test "${enable_select+set}" = set; then |
| 8588 |
< |
enableval="$enable_select" |
| 8589 |
< |
SELECT_TYPE_EXPLICIT="select"; echo "Forcing select() to be enabled" |
| 8590 |
< |
fi; |
| 8588 |
> |
enableval=$enable_select; SELECT_TYPE_EXPLICIT="select"; echo "Forcing select() to be enabled" |
| 8589 |
> |
fi |
| 8590 |
> |
|
| 8591 |
|
|
| 8592 |
< |
# Check whether --enable-kqueue or --disable-kqueue was given. |
| 8592 |
> |
# Check whether --enable-kqueue was given. |
| 8593 |
|
if test "${enable_kqueue+set}" = set; then |
| 8594 |
< |
enableval="$enable_kqueue" |
| 8595 |
< |
SELECT_TYPE_EXPLICIT="kqueue"; echo "Forcing kqueue() to be enabled" |
| 8596 |
< |
fi; |
| 8594 |
> |
enableval=$enable_kqueue; SELECT_TYPE_EXPLICIT="kqueue"; echo "Forcing kqueue() to be enabled" |
| 8595 |
> |
fi |
| 8596 |
> |
|
| 8597 |
|
|
| 8598 |
< |
# Check whether --enable-devpoll or --disable-devpoll was given. |
| 8598 |
> |
# Check whether --enable-devpoll was given. |
| 8599 |
|
if test "${enable_devpoll+set}" = set; then |
| 8600 |
< |
enableval="$enable_devpoll" |
| 8463 |
< |
SELECT_TYPE_EXPLICIT="devpoll" |
| 8600 |
> |
enableval=$enable_devpoll; SELECT_TYPE_EXPLICIT="devpoll" |
| 8601 |
|
echo "Forcing /dev/poll to be enabled" |
| 8602 |
|
|
| 8603 |
|
|
| 8604 |
|
for ac_header in sys/devpoll.h devpoll.h |
| 8605 |
|
do |
| 8606 |
|
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 8607 |
< |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 8608 |
< |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 8609 |
< |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| 8610 |
< |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 8607 |
> |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 8608 |
> |
{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 8609 |
> |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
| 8610 |
> |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 8611 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 8612 |
|
fi |
| 8613 |
< |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 8614 |
< |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 8613 |
> |
ac_res=`eval echo '${'$as_ac_Header'}'` |
| 8614 |
> |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 8615 |
> |
echo "${ECHO_T}$ac_res" >&6; } |
| 8616 |
|
else |
| 8617 |
|
# Is the header compilable? |
| 8618 |
< |
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 8619 |
< |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
| 8618 |
> |
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 8619 |
> |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
| 8620 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 8621 |
|
/* confdefs.h. */ |
| 8622 |
|
_ACEOF |
| 8627 |
|
#include <$ac_header> |
| 8628 |
|
_ACEOF |
| 8629 |
|
rm -f conftest.$ac_objext |
| 8630 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 8631 |
< |
(eval $ac_compile) 2>conftest.er1 |
| 8630 |
> |
if { (ac_try="$ac_compile" |
| 8631 |
> |
case "(($ac_try" in |
| 8632 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 8633 |
> |
*) ac_try_echo=$ac_try;; |
| 8634 |
> |
esac |
| 8635 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 8636 |
> |
(eval "$ac_compile") 2>conftest.er1 |
| 8637 |
|
ac_status=$? |
| 8638 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 8639 |
|
rm -f conftest.er1 |
| 8640 |
|
cat conftest.err >&5 |
| 8641 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8642 |
< |
(exit $ac_status); } && |
| 8643 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
| 8644 |
< |
|| test ! -s conftest.err' |
| 8645 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 8503 |
< |
(eval $ac_try) 2>&5 |
| 8504 |
< |
ac_status=$? |
| 8505 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8506 |
< |
(exit $ac_status); }; } && |
| 8507 |
< |
{ ac_try='test -s conftest.$ac_objext' |
| 8508 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 8509 |
< |
(eval $ac_try) 2>&5 |
| 8510 |
< |
ac_status=$? |
| 8511 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8512 |
< |
(exit $ac_status); }; }; then |
| 8642 |
> |
(exit $ac_status); } && { |
| 8643 |
> |
test -z "$ac_c_werror_flag" || |
| 8644 |
> |
test ! -s conftest.err |
| 8645 |
> |
} && test -s conftest.$ac_objext; then |
| 8646 |
|
ac_header_compiler=yes |
| 8647 |
|
else |
| 8648 |
|
echo "$as_me: failed program was:" >&5 |
| 8649 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 8650 |
|
|
| 8651 |
< |
ac_header_compiler=no |
| 8651 |
> |
ac_header_compiler=no |
| 8652 |
|
fi |
| 8653 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 8654 |
< |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 8655 |
< |
echo "${ECHO_T}$ac_header_compiler" >&6 |
| 8653 |
> |
|
| 8654 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 8655 |
> |
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 8656 |
> |
echo "${ECHO_T}$ac_header_compiler" >&6; } |
| 8657 |
|
|
| 8658 |
|
# Is the header present? |
| 8659 |
< |
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 8660 |
< |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
| 8659 |
> |
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 8660 |
> |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
| 8661 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 8662 |
|
/* confdefs.h. */ |
| 8663 |
|
_ACEOF |
| 8666 |
|
/* end confdefs.h. */ |
| 8667 |
|
#include <$ac_header> |
| 8668 |
|
_ACEOF |
| 8669 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 8670 |
< |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 8669 |
> |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 8670 |
> |
case "(($ac_try" in |
| 8671 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 8672 |
> |
*) ac_try_echo=$ac_try;; |
| 8673 |
> |
esac |
| 8674 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 8675 |
> |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
| 8676 |
|
ac_status=$? |
| 8677 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 8678 |
|
rm -f conftest.er1 |
| 8679 |
|
cat conftest.err >&5 |
| 8680 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8681 |
< |
(exit $ac_status); } >/dev/null; then |
| 8682 |
< |
if test -s conftest.err; then |
| 8683 |
< |
ac_cpp_err=$ac_c_preproc_warn_flag |
| 8684 |
< |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| 8546 |
< |
else |
| 8547 |
< |
ac_cpp_err= |
| 8548 |
< |
fi |
| 8549 |
< |
else |
| 8550 |
< |
ac_cpp_err=yes |
| 8551 |
< |
fi |
| 8552 |
< |
if test -z "$ac_cpp_err"; then |
| 8681 |
> |
(exit $ac_status); } >/dev/null && { |
| 8682 |
> |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 8683 |
> |
test ! -s conftest.err |
| 8684 |
> |
}; then |
| 8685 |
|
ac_header_preproc=yes |
| 8686 |
|
else |
| 8687 |
|
echo "$as_me: failed program was:" >&5 |
| 8689 |
|
|
| 8690 |
|
ac_header_preproc=no |
| 8691 |
|
fi |
| 8692 |
+ |
|
| 8693 |
|
rm -f conftest.err conftest.$ac_ext |
| 8694 |
< |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 8695 |
< |
echo "${ECHO_T}$ac_header_preproc" >&6 |
| 8694 |
> |
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 8695 |
> |
echo "${ECHO_T}$ac_header_preproc" >&6; } |
| 8696 |
|
|
| 8697 |
|
# So? What about this header? |
| 8698 |
|
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| 8716 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
| 8717 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
| 8718 |
|
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
| 8719 |
< |
( |
| 8587 |
< |
cat <<\_ASBOX |
| 8588 |
< |
## -------------------------------------- ## |
| 8589 |
< |
## Report this to the ircd-hybrid lists. ## |
| 8590 |
< |
## -------------------------------------- ## |
| 8591 |
< |
_ASBOX |
| 8592 |
< |
) | |
| 8593 |
< |
sed "s/^/$as_me: WARNING: /" >&2 |
| 8719 |
> |
|
| 8720 |
|
;; |
| 8721 |
|
esac |
| 8722 |
< |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 8723 |
< |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| 8724 |
< |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 8722 |
> |
{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 8723 |
> |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
| 8724 |
> |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 8725 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 8726 |
|
else |
| 8727 |
|
eval "$as_ac_Header=\$ac_header_preproc" |
| 8728 |
|
fi |
| 8729 |
< |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 8730 |
< |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 8729 |
> |
ac_res=`eval echo '${'$as_ac_Header'}'` |
| 8730 |
> |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 8731 |
> |
echo "${ECHO_T}$ac_res" >&6; } |
| 8732 |
|
|
| 8733 |
|
fi |
| 8734 |
|
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
| 8740 |
|
|
| 8741 |
|
done |
| 8742 |
|
|
| 8743 |
< |
fi; |
| 8743 |
> |
fi |
| 8744 |
> |
|
| 8745 |
|
|
| 8746 |
< |
# Check whether --enable-rtsigio or --disable-rtsigio was given. |
| 8746 |
> |
# Check whether --enable-rtsigio was given. |
| 8747 |
|
if test "${enable_rtsigio+set}" = set; then |
| 8748 |
< |
enableval="$enable_rtsigio" |
| 8749 |
< |
SELECT_TYPE_EXPLICIT="sigio"; echo "Forcing Linux RT Sigio to be enabled" |
| 8622 |
< |
fi; |
| 8748 |
> |
enableval=$enable_rtsigio; SELECT_TYPE_EXPLICIT="sigio"; echo "Forcing Linux RT Sigio to be enabled" |
| 8749 |
> |
fi |
| 8750 |
|
|
| 8751 |
< |
# Check whether --enable-epoll or --disable-epoll was given. |
| 8751 |
> |
|
| 8752 |
> |
# Check whether --enable-epoll was given. |
| 8753 |
|
if test "${enable_epoll+set}" = set; then |
| 8754 |
< |
enableval="$enable_epoll" |
| 8755 |
< |
SELECT_TYPE_EXPLICIT="epoll"; echo "Forcing Linux epoll to be enabled" |
| 8756 |
< |
fi; |
| 8754 |
> |
enableval=$enable_epoll; SELECT_TYPE_EXPLICIT="epoll"; echo "Forcing Linux epoll to be enabled" |
| 8755 |
> |
fi |
| 8756 |
> |
|
| 8757 |
|
|
| 8758 |
|
if test ! -z "$SELECT_TYPE_EXPLICIT"; then |
| 8759 |
|
SELECT_TYPE="$SELECT_TYPE_EXPLICIT" |
| 8760 |
|
else |
| 8761 |
|
|
| 8762 |
< |
echo "$as_me:$LINENO: checking for kevent" >&5 |
| 8763 |
< |
echo $ECHO_N "checking for kevent... $ECHO_C" >&6 |
| 8762 |
> |
{ echo "$as_me:$LINENO: checking for kevent" >&5 |
| 8763 |
> |
echo $ECHO_N "checking for kevent... $ECHO_C" >&6; } |
| 8764 |
|
if test "${ac_cv_func_kevent+set}" = set; then |
| 8765 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 8766 |
|
else |
| 8787 |
|
|
| 8788 |
|
#undef kevent |
| 8789 |
|
|
| 8790 |
< |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 8790 |
> |
/* Override any GCC internal prototype to avoid an error. |
| 8791 |
> |
Use char because int might match the return type of a GCC |
| 8792 |
> |
builtin and then its argument prototype would still apply. */ |
| 8793 |
|
#ifdef __cplusplus |
| 8794 |
|
extern "C" |
| 8665 |
– |
{ |
| 8795 |
|
#endif |
| 8667 |
– |
/* We use char because int might match the return type of a gcc2 |
| 8668 |
– |
builtin and then its argument prototype would still apply. */ |
| 8796 |
|
char kevent (); |
| 8797 |
|
/* The GNU C library defines this for functions which it implements |
| 8798 |
|
to always fail with ENOSYS. Some functions are actually named |
| 8799 |
|
something starting with __ and the normal name is an alias. */ |
| 8800 |
< |
#if defined (__stub_kevent) || defined (__stub___kevent) |
| 8800 |
> |
#if defined __stub_kevent || defined __stub___kevent |
| 8801 |
|
choke me |
| 8675 |
– |
#else |
| 8676 |
– |
char (*f) () = kevent; |
| 8677 |
– |
#endif |
| 8678 |
– |
#ifdef __cplusplus |
| 8679 |
– |
} |
| 8802 |
|
#endif |
| 8803 |
|
|
| 8804 |
|
int |
| 8805 |
|
main () |
| 8806 |
|
{ |
| 8807 |
< |
return f != kevent; |
| 8807 |
> |
return kevent (); |
| 8808 |
|
; |
| 8809 |
|
return 0; |
| 8810 |
|
} |
| 8811 |
|
_ACEOF |
| 8812 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
| 8813 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 8814 |
< |
(eval $ac_link) 2>conftest.er1 |
| 8813 |
> |
if { (ac_try="$ac_link" |
| 8814 |
> |
case "(($ac_try" in |
| 8815 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 8816 |
> |
*) ac_try_echo=$ac_try;; |
| 8817 |
> |
esac |
| 8818 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 8819 |
> |
(eval "$ac_link") 2>conftest.er1 |
| 8820 |
|
ac_status=$? |
| 8821 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 8822 |
|
rm -f conftest.er1 |
| 8823 |
|
cat conftest.err >&5 |
| 8824 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8825 |
< |
(exit $ac_status); } && |
| 8826 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
| 8827 |
< |
|| test ! -s conftest.err' |
| 8828 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 8829 |
< |
(eval $ac_try) 2>&5 |
| 8703 |
< |
ac_status=$? |
| 8704 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8705 |
< |
(exit $ac_status); }; } && |
| 8706 |
< |
{ ac_try='test -s conftest$ac_exeext' |
| 8707 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 8708 |
< |
(eval $ac_try) 2>&5 |
| 8709 |
< |
ac_status=$? |
| 8710 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8711 |
< |
(exit $ac_status); }; }; then |
| 8825 |
> |
(exit $ac_status); } && { |
| 8826 |
> |
test -z "$ac_c_werror_flag" || |
| 8827 |
> |
test ! -s conftest.err |
| 8828 |
> |
} && test -s conftest$ac_exeext && |
| 8829 |
> |
$as_test_x conftest$ac_exeext; then |
| 8830 |
|
ac_cv_func_kevent=yes |
| 8831 |
|
else |
| 8832 |
|
echo "$as_me: failed program was:" >&5 |
| 8833 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 8834 |
|
|
| 8835 |
< |
ac_cv_func_kevent=no |
| 8835 |
> |
ac_cv_func_kevent=no |
| 8836 |
|
fi |
| 8837 |
< |
rm -f conftest.err conftest.$ac_objext \ |
| 8837 |
> |
|
| 8838 |
> |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 8839 |
|
conftest$ac_exeext conftest.$ac_ext |
| 8840 |
|
fi |
| 8841 |
< |
echo "$as_me:$LINENO: result: $ac_cv_func_kevent" >&5 |
| 8842 |
< |
echo "${ECHO_T}$ac_cv_func_kevent" >&6 |
| 8841 |
> |
{ echo "$as_me:$LINENO: result: $ac_cv_func_kevent" >&5 |
| 8842 |
> |
echo "${ECHO_T}$ac_cv_func_kevent" >&6; } |
| 8843 |
|
if test $ac_cv_func_kevent = yes; then |
| 8844 |
|
|
| 8845 |
|
SELECT_TYPE="kqueue" |
| 8847 |
|
else |
| 8848 |
|
|
| 8849 |
|
if test "${ac_cv_header_sys_epoll_h+set}" = set; then |
| 8850 |
< |
echo "$as_me:$LINENO: checking for sys/epoll.h" >&5 |
| 8851 |
< |
echo $ECHO_N "checking for sys/epoll.h... $ECHO_C" >&6 |
| 8850 |
> |
{ echo "$as_me:$LINENO: checking for sys/epoll.h" >&5 |
| 8851 |
> |
echo $ECHO_N "checking for sys/epoll.h... $ECHO_C" >&6; } |
| 8852 |
|
if test "${ac_cv_header_sys_epoll_h+set}" = set; then |
| 8853 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 8854 |
|
fi |
| 8855 |
< |
echo "$as_me:$LINENO: result: $ac_cv_header_sys_epoll_h" >&5 |
| 8856 |
< |
echo "${ECHO_T}$ac_cv_header_sys_epoll_h" >&6 |
| 8855 |
> |
{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_epoll_h" >&5 |
| 8856 |
> |
echo "${ECHO_T}$ac_cv_header_sys_epoll_h" >&6; } |
| 8857 |
|
else |
| 8858 |
|
# Is the header compilable? |
| 8859 |
< |
echo "$as_me:$LINENO: checking sys/epoll.h usability" >&5 |
| 8860 |
< |
echo $ECHO_N "checking sys/epoll.h usability... $ECHO_C" >&6 |
| 8859 |
> |
{ echo "$as_me:$LINENO: checking sys/epoll.h usability" >&5 |
| 8860 |
> |
echo $ECHO_N "checking sys/epoll.h usability... $ECHO_C" >&6; } |
| 8861 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 8862 |
|
/* confdefs.h. */ |
| 8863 |
|
_ACEOF |
| 8868 |
|
#include <sys/epoll.h> |
| 8869 |
|
_ACEOF |
| 8870 |
|
rm -f conftest.$ac_objext |
| 8871 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 8872 |
< |
(eval $ac_compile) 2>conftest.er1 |
| 8871 |
> |
if { (ac_try="$ac_compile" |
| 8872 |
> |
case "(($ac_try" in |
| 8873 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 8874 |
> |
*) ac_try_echo=$ac_try;; |
| 8875 |
> |
esac |
| 8876 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 8877 |
> |
(eval "$ac_compile") 2>conftest.er1 |
| 8878 |
|
ac_status=$? |
| 8879 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 8880 |
|
rm -f conftest.er1 |
| 8881 |
|
cat conftest.err >&5 |
| 8882 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8883 |
< |
(exit $ac_status); } && |
| 8884 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
| 8885 |
< |
|| test ! -s conftest.err' |
| 8886 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 8763 |
< |
(eval $ac_try) 2>&5 |
| 8764 |
< |
ac_status=$? |
| 8765 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8766 |
< |
(exit $ac_status); }; } && |
| 8767 |
< |
{ ac_try='test -s conftest.$ac_objext' |
| 8768 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 8769 |
< |
(eval $ac_try) 2>&5 |
| 8770 |
< |
ac_status=$? |
| 8771 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8772 |
< |
(exit $ac_status); }; }; then |
| 8883 |
> |
(exit $ac_status); } && { |
| 8884 |
> |
test -z "$ac_c_werror_flag" || |
| 8885 |
> |
test ! -s conftest.err |
| 8886 |
> |
} && test -s conftest.$ac_objext; then |
| 8887 |
|
ac_header_compiler=yes |
| 8888 |
|
else |
| 8889 |
|
echo "$as_me: failed program was:" >&5 |
| 8890 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 8891 |
|
|
| 8892 |
< |
ac_header_compiler=no |
| 8892 |
> |
ac_header_compiler=no |
| 8893 |
|
fi |
| 8894 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 8895 |
< |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 8896 |
< |
echo "${ECHO_T}$ac_header_compiler" >&6 |
| 8894 |
> |
|
| 8895 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 8896 |
> |
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 8897 |
> |
echo "${ECHO_T}$ac_header_compiler" >&6; } |
| 8898 |
|
|
| 8899 |
|
# Is the header present? |
| 8900 |
< |
echo "$as_me:$LINENO: checking sys/epoll.h presence" >&5 |
| 8901 |
< |
echo $ECHO_N "checking sys/epoll.h presence... $ECHO_C" >&6 |
| 8900 |
> |
{ echo "$as_me:$LINENO: checking sys/epoll.h presence" >&5 |
| 8901 |
> |
echo $ECHO_N "checking sys/epoll.h presence... $ECHO_C" >&6; } |
| 8902 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 8903 |
|
/* confdefs.h. */ |
| 8904 |
|
_ACEOF |
| 8907 |
|
/* end confdefs.h. */ |
| 8908 |
|
#include <sys/epoll.h> |
| 8909 |
|
_ACEOF |
| 8910 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 8911 |
< |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 8910 |
> |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 8911 |
> |
case "(($ac_try" in |
| 8912 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 8913 |
> |
*) ac_try_echo=$ac_try;; |
| 8914 |
> |
esac |
| 8915 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 8916 |
> |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
| 8917 |
|
ac_status=$? |
| 8918 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 8919 |
|
rm -f conftest.er1 |
| 8920 |
|
cat conftest.err >&5 |
| 8921 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8922 |
< |
(exit $ac_status); } >/dev/null; then |
| 8923 |
< |
if test -s conftest.err; then |
| 8924 |
< |
ac_cpp_err=$ac_c_preproc_warn_flag |
| 8925 |
< |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| 8806 |
< |
else |
| 8807 |
< |
ac_cpp_err= |
| 8808 |
< |
fi |
| 8809 |
< |
else |
| 8810 |
< |
ac_cpp_err=yes |
| 8811 |
< |
fi |
| 8812 |
< |
if test -z "$ac_cpp_err"; then |
| 8922 |
> |
(exit $ac_status); } >/dev/null && { |
| 8923 |
> |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 8924 |
> |
test ! -s conftest.err |
| 8925 |
> |
}; then |
| 8926 |
|
ac_header_preproc=yes |
| 8927 |
|
else |
| 8928 |
|
echo "$as_me: failed program was:" >&5 |
| 8930 |
|
|
| 8931 |
|
ac_header_preproc=no |
| 8932 |
|
fi |
| 8933 |
+ |
|
| 8934 |
|
rm -f conftest.err conftest.$ac_ext |
| 8935 |
< |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 8936 |
< |
echo "${ECHO_T}$ac_header_preproc" >&6 |
| 8935 |
> |
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 8936 |
> |
echo "${ECHO_T}$ac_header_preproc" >&6; } |
| 8937 |
|
|
| 8938 |
|
# So? What about this header? |
| 8939 |
|
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| 8957 |
|
echo "$as_me: WARNING: sys/epoll.h: proceeding with the preprocessor's result" >&2;} |
| 8958 |
|
{ echo "$as_me:$LINENO: WARNING: sys/epoll.h: in the future, the compiler will take precedence" >&5 |
| 8959 |
|
echo "$as_me: WARNING: sys/epoll.h: in the future, the compiler will take precedence" >&2;} |
| 8960 |
< |
( |
| 8847 |
< |
cat <<\_ASBOX |
| 8848 |
< |
## -------------------------------------- ## |
| 8849 |
< |
## Report this to the ircd-hybrid lists. ## |
| 8850 |
< |
## -------------------------------------- ## |
| 8851 |
< |
_ASBOX |
| 8852 |
< |
) | |
| 8853 |
< |
sed "s/^/$as_me: WARNING: /" >&2 |
| 8960 |
> |
|
| 8961 |
|
;; |
| 8962 |
|
esac |
| 8963 |
< |
echo "$as_me:$LINENO: checking for sys/epoll.h" >&5 |
| 8964 |
< |
echo $ECHO_N "checking for sys/epoll.h... $ECHO_C" >&6 |
| 8963 |
> |
{ echo "$as_me:$LINENO: checking for sys/epoll.h" >&5 |
| 8964 |
> |
echo $ECHO_N "checking for sys/epoll.h... $ECHO_C" >&6; } |
| 8965 |
|
if test "${ac_cv_header_sys_epoll_h+set}" = set; then |
| 8966 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 8967 |
|
else |
| 8968 |
|
ac_cv_header_sys_epoll_h=$ac_header_preproc |
| 8969 |
|
fi |
| 8970 |
< |
echo "$as_me:$LINENO: result: $ac_cv_header_sys_epoll_h" >&5 |
| 8971 |
< |
echo "${ECHO_T}$ac_cv_header_sys_epoll_h" >&6 |
| 8970 |
> |
{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_epoll_h" >&5 |
| 8971 |
> |
echo "${ECHO_T}$ac_cv_header_sys_epoll_h" >&6; } |
| 8972 |
|
|
| 8973 |
|
fi |
| 8974 |
|
if test $ac_cv_header_sys_epoll_h = yes; then |
| 8979 |
|
|
| 8980 |
|
|
| 8981 |
|
if test $HAS_EPOLL -eq 1; then |
| 8982 |
< |
echo "$as_me:$LINENO: checking for epoll support in kernel" >&5 |
| 8983 |
< |
echo $ECHO_N "checking for epoll support in kernel... $ECHO_C" >&6 |
| 8982 |
> |
{ echo "$as_me:$LINENO: checking for epoll support in kernel" >&5 |
| 8983 |
> |
echo $ECHO_N "checking for epoll support in kernel... $ECHO_C" >&6; } |
| 8984 |
|
if test "$cross_compiling" = yes; then |
| 8985 |
< |
echo "$as_me:$LINENO: result: no" >&5 |
| 8986 |
< |
echo "${ECHO_T}no" >&6 |
| 8985 |
> |
{ echo "$as_me:$LINENO: result: no" >&5 |
| 8986 |
> |
echo "${ECHO_T}no" >&6; } |
| 8987 |
|
HAS_EPOLL=0 |
| 8988 |
|
else |
| 8989 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 9023 |
|
main() { return epoll_create(256) == -1 ? 1 : 0; } |
| 9024 |
|
_ACEOF |
| 9025 |
|
rm -f conftest$ac_exeext |
| 9026 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 9027 |
< |
(eval $ac_link) 2>&5 |
| 9026 |
> |
if { (ac_try="$ac_link" |
| 9027 |
> |
case "(($ac_try" in |
| 9028 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 9029 |
> |
*) ac_try_echo=$ac_try;; |
| 9030 |
> |
esac |
| 9031 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 9032 |
> |
(eval "$ac_link") 2>&5 |
| 9033 |
|
ac_status=$? |
| 9034 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9035 |
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
| 9036 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 9037 |
< |
(eval $ac_try) 2>&5 |
| 9036 |
> |
{ (case "(($ac_try" in |
| 9037 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 9038 |
> |
*) ac_try_echo=$ac_try;; |
| 9039 |
> |
esac |
| 9040 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 9041 |
> |
(eval "$ac_try") 2>&5 |
| 9042 |
|
ac_status=$? |
| 9043 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9044 |
|
(exit $ac_status); }; }; then |
| 9045 |
< |
echo "$as_me:$LINENO: result: yes" >&5 |
| 9046 |
< |
echo "${ECHO_T}yes" >&6 |
| 9045 |
> |
{ echo "$as_me:$LINENO: result: yes" >&5 |
| 9046 |
> |
echo "${ECHO_T}yes" >&6; } |
| 9047 |
|
SELECT_TYPE="epoll" |
| 9048 |
|
else |
| 9049 |
|
echo "$as_me: program exited with status $ac_status" >&5 |
| 9051 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 9052 |
|
|
| 9053 |
|
( exit $ac_status ) |
| 9054 |
< |
echo "$as_me:$LINENO: result: no" >&5 |
| 9055 |
< |
echo "${ECHO_T}no" >&6 |
| 9054 |
> |
{ echo "$as_me:$LINENO: result: no" >&5 |
| 9055 |
> |
echo "${ECHO_T}no" >&6; } |
| 9056 |
|
HAS_EPOLL=0 |
| 9057 |
|
fi |
| 9058 |
< |
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 9058 |
> |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 9059 |
|
fi |
| 9060 |
+ |
|
| 9061 |
+ |
|
| 9062 |
|
fi |
| 9063 |
|
if test $HAS_EPOLL -eq 0; then |
| 9064 |
< |
echo "$as_me:$LINENO: checking for /dev/poll" >&5 |
| 9065 |
< |
echo $ECHO_N "checking for /dev/poll... $ECHO_C" >&6 |
| 9064 |
> |
{ echo "$as_me:$LINENO: checking for /dev/poll" >&5 |
| 9065 |
> |
echo $ECHO_N "checking for /dev/poll... $ECHO_C" >&6; } |
| 9066 |
|
if test -c "/dev/poll"; then |
| 9067 |
< |
echo "$as_me:$LINENO: result: yes" >&5 |
| 9068 |
< |
echo "${ECHO_T}yes" >&6 |
| 9067 |
> |
{ echo "$as_me:$LINENO: result: yes" >&5 |
| 9068 |
> |
echo "${ECHO_T}yes" >&6; } |
| 9069 |
|
|
| 9070 |
|
|
| 9071 |
|
for ac_header in devpoll.h sys/devpoll.h |
| 9072 |
|
do |
| 9073 |
|
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 9074 |
< |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 9075 |
< |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 9076 |
< |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| 9077 |
< |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 9074 |
> |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 9075 |
> |
{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 9076 |
> |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
| 9077 |
> |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 9078 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 9079 |
|
fi |
| 9080 |
< |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 9081 |
< |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 9080 |
> |
ac_res=`eval echo '${'$as_ac_Header'}'` |
| 9081 |
> |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 9082 |
> |
echo "${ECHO_T}$ac_res" >&6; } |
| 9083 |
|
else |
| 9084 |
|
# Is the header compilable? |
| 9085 |
< |
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 9086 |
< |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
| 9085 |
> |
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 9086 |
> |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
| 9087 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 9088 |
|
/* confdefs.h. */ |
| 9089 |
|
_ACEOF |
| 9094 |
|
#include <$ac_header> |
| 9095 |
|
_ACEOF |
| 9096 |
|
rm -f conftest.$ac_objext |
| 9097 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 9098 |
< |
(eval $ac_compile) 2>conftest.er1 |
| 9097 |
> |
if { (ac_try="$ac_compile" |
| 9098 |
> |
case "(($ac_try" in |
| 9099 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 9100 |
> |
*) ac_try_echo=$ac_try;; |
| 9101 |
> |
esac |
| 9102 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 9103 |
> |
(eval "$ac_compile") 2>conftest.er1 |
| 9104 |
|
ac_status=$? |
| 9105 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 9106 |
|
rm -f conftest.er1 |
| 9107 |
|
cat conftest.err >&5 |
| 9108 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9109 |
< |
(exit $ac_status); } && |
| 9110 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
| 9111 |
< |
|| test ! -s conftest.err' |
| 9112 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 8989 |
< |
(eval $ac_try) 2>&5 |
| 8990 |
< |
ac_status=$? |
| 8991 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8992 |
< |
(exit $ac_status); }; } && |
| 8993 |
< |
{ ac_try='test -s conftest.$ac_objext' |
| 8994 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 8995 |
< |
(eval $ac_try) 2>&5 |
| 8996 |
< |
ac_status=$? |
| 8997 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8998 |
< |
(exit $ac_status); }; }; then |
| 9109 |
> |
(exit $ac_status); } && { |
| 9110 |
> |
test -z "$ac_c_werror_flag" || |
| 9111 |
> |
test ! -s conftest.err |
| 9112 |
> |
} && test -s conftest.$ac_objext; then |
| 9113 |
|
ac_header_compiler=yes |
| 9114 |
|
else |
| 9115 |
|
echo "$as_me: failed program was:" >&5 |
| 9116 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 9117 |
|
|
| 9118 |
< |
ac_header_compiler=no |
| 9118 |
> |
ac_header_compiler=no |
| 9119 |
|
fi |
| 9120 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 9121 |
< |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 9122 |
< |
echo "${ECHO_T}$ac_header_compiler" >&6 |
| 9120 |
> |
|
| 9121 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 9122 |
> |
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 9123 |
> |
echo "${ECHO_T}$ac_header_compiler" >&6; } |
| 9124 |
|
|
| 9125 |
|
# Is the header present? |
| 9126 |
< |
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 9127 |
< |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
| 9126 |
> |
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 9127 |
> |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
| 9128 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 9129 |
|
/* confdefs.h. */ |
| 9130 |
|
_ACEOF |
| 9133 |
|
/* end confdefs.h. */ |
| 9134 |
|
#include <$ac_header> |
| 9135 |
|
_ACEOF |
| 9136 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 9137 |
< |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 9136 |
> |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 9137 |
> |
case "(($ac_try" in |
| 9138 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 9139 |
> |
*) ac_try_echo=$ac_try;; |
| 9140 |
> |
esac |
| 9141 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 9142 |
> |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
| 9143 |
|
ac_status=$? |
| 9144 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 9145 |
|
rm -f conftest.er1 |
| 9146 |
|
cat conftest.err >&5 |
| 9147 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9148 |
< |
(exit $ac_status); } >/dev/null; then |
| 9149 |
< |
if test -s conftest.err; then |
| 9150 |
< |
ac_cpp_err=$ac_c_preproc_warn_flag |
| 9151 |
< |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| 9032 |
< |
else |
| 9033 |
< |
ac_cpp_err= |
| 9034 |
< |
fi |
| 9035 |
< |
else |
| 9036 |
< |
ac_cpp_err=yes |
| 9037 |
< |
fi |
| 9038 |
< |
if test -z "$ac_cpp_err"; then |
| 9148 |
> |
(exit $ac_status); } >/dev/null && { |
| 9149 |
> |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 9150 |
> |
test ! -s conftest.err |
| 9151 |
> |
}; then |
| 9152 |
|
ac_header_preproc=yes |
| 9153 |
|
else |
| 9154 |
|
echo "$as_me: failed program was:" >&5 |
| 9156 |
|
|
| 9157 |
|
ac_header_preproc=no |
| 9158 |
|
fi |
| 9159 |
+ |
|
| 9160 |
|
rm -f conftest.err conftest.$ac_ext |
| 9161 |
< |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 9162 |
< |
echo "${ECHO_T}$ac_header_preproc" >&6 |
| 9161 |
> |
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 9162 |
> |
echo "${ECHO_T}$ac_header_preproc" >&6; } |
| 9163 |
|
|
| 9164 |
|
# So? What about this header? |
| 9165 |
|
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| 9183 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
| 9184 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
| 9185 |
|
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
| 9186 |
< |
( |
| 9073 |
< |
cat <<\_ASBOX |
| 9074 |
< |
## -------------------------------------- ## |
| 9075 |
< |
## Report this to the ircd-hybrid lists. ## |
| 9076 |
< |
## -------------------------------------- ## |
| 9077 |
< |
_ASBOX |
| 9078 |
< |
) | |
| 9079 |
< |
sed "s/^/$as_me: WARNING: /" >&2 |
| 9186 |
> |
|
| 9187 |
|
;; |
| 9188 |
|
esac |
| 9189 |
< |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 9190 |
< |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| 9191 |
< |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 9189 |
> |
{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 9190 |
> |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
| 9191 |
> |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 9192 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 9193 |
|
else |
| 9194 |
|
eval "$as_ac_Header=\$ac_header_preproc" |
| 9195 |
|
fi |
| 9196 |
< |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 9197 |
< |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 9196 |
> |
ac_res=`eval echo '${'$as_ac_Header'}'` |
| 9197 |
> |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 9198 |
> |
echo "${ECHO_T}$ac_res" >&6; } |
| 9199 |
|
|
| 9200 |
|
fi |
| 9201 |
|
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
| 9209 |
|
|
| 9210 |
|
SELECT_TYPE="devpoll" |
| 9211 |
|
else |
| 9212 |
< |
echo "$as_me:$LINENO: result: no" >&5 |
| 9213 |
< |
echo "${ECHO_T}no" >&6 |
| 9214 |
< |
echo "$as_me:$LINENO: checking for RT Signal IO" >&5 |
| 9215 |
< |
echo $ECHO_N "checking for RT Signal IO... $ECHO_C" >&6 |
| 9212 |
> |
{ echo "$as_me:$LINENO: result: no" >&5 |
| 9213 |
> |
echo "${ECHO_T}no" >&6; } |
| 9214 |
> |
{ echo "$as_me:$LINENO: checking for RT Signal IO" >&5 |
| 9215 |
> |
echo $ECHO_N "checking for RT Signal IO... $ECHO_C" >&6; } |
| 9216 |
|
|
| 9217 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 9218 |
|
/* confdefs.h. */ |
| 9231 |
|
$EGREP "YUP_HAVE_F_SETSIG" >/dev/null 2>&1; then |
| 9232 |
|
|
| 9233 |
|
SELECT_TYPE="sigio" |
| 9234 |
< |
echo "$as_me:$LINENO: result: yes" >&5 |
| 9235 |
< |
echo "${ECHO_T}yes" >&6 |
| 9234 |
> |
{ echo "$as_me:$LINENO: result: yes" >&5 |
| 9235 |
> |
echo "${ECHO_T}yes" >&6; } |
| 9236 |
|
|
| 9237 |
|
else |
| 9238 |
|
|
| 9239 |
< |
echo "$as_me:$LINENO: result: no" >&5 |
| 9240 |
< |
echo "${ECHO_T}no" >&6 |
| 9241 |
< |
echo "$as_me:$LINENO: checking for poll" >&5 |
| 9242 |
< |
echo $ECHO_N "checking for poll... $ECHO_C" >&6 |
| 9239 |
> |
{ echo "$as_me:$LINENO: result: no" >&5 |
| 9240 |
> |
echo "${ECHO_T}no" >&6; } |
| 9241 |
> |
{ echo "$as_me:$LINENO: checking for poll" >&5 |
| 9242 |
> |
echo $ECHO_N "checking for poll... $ECHO_C" >&6; } |
| 9243 |
|
if test "${ac_cv_func_poll+set}" = set; then |
| 9244 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 9245 |
|
else |
| 9266 |
|
|
| 9267 |
|
#undef poll |
| 9268 |
|
|
| 9269 |
< |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 9269 |
> |
/* Override any GCC internal prototype to avoid an error. |
| 9270 |
> |
Use char because int might match the return type of a GCC |
| 9271 |
> |
builtin and then its argument prototype would still apply. */ |
| 9272 |
|
#ifdef __cplusplus |
| 9273 |
|
extern "C" |
| 9164 |
– |
{ |
| 9274 |
|
#endif |
| 9166 |
– |
/* We use char because int might match the return type of a gcc2 |
| 9167 |
– |
builtin and then its argument prototype would still apply. */ |
| 9275 |
|
char poll (); |
| 9276 |
|
/* The GNU C library defines this for functions which it implements |
| 9277 |
|
to always fail with ENOSYS. Some functions are actually named |
| 9278 |
|
something starting with __ and the normal name is an alias. */ |
| 9279 |
< |
#if defined (__stub_poll) || defined (__stub___poll) |
| 9279 |
> |
#if defined __stub_poll || defined __stub___poll |
| 9280 |
|
choke me |
| 9174 |
– |
#else |
| 9175 |
– |
char (*f) () = poll; |
| 9176 |
– |
#endif |
| 9177 |
– |
#ifdef __cplusplus |
| 9178 |
– |
} |
| 9281 |
|
#endif |
| 9282 |
|
|
| 9283 |
|
int |
| 9284 |
|
main () |
| 9285 |
|
{ |
| 9286 |
< |
return f != poll; |
| 9286 |
> |
return poll (); |
| 9287 |
|
; |
| 9288 |
|
return 0; |
| 9289 |
|
} |
| 9290 |
|
_ACEOF |
| 9291 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
| 9292 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 9293 |
< |
(eval $ac_link) 2>conftest.er1 |
| 9292 |
> |
if { (ac_try="$ac_link" |
| 9293 |
> |
case "(($ac_try" in |
| 9294 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 9295 |
> |
*) ac_try_echo=$ac_try;; |
| 9296 |
> |
esac |
| 9297 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 9298 |
> |
(eval "$ac_link") 2>conftest.er1 |
| 9299 |
|
ac_status=$? |
| 9300 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 9301 |
|
rm -f conftest.er1 |
| 9302 |
|
cat conftest.err >&5 |
| 9303 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9304 |
< |
(exit $ac_status); } && |
| 9305 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
| 9306 |
< |
|| test ! -s conftest.err' |
| 9307 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 9308 |
< |
(eval $ac_try) 2>&5 |
| 9202 |
< |
ac_status=$? |
| 9203 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9204 |
< |
(exit $ac_status); }; } && |
| 9205 |
< |
{ ac_try='test -s conftest$ac_exeext' |
| 9206 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 9207 |
< |
(eval $ac_try) 2>&5 |
| 9208 |
< |
ac_status=$? |
| 9209 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9210 |
< |
(exit $ac_status); }; }; then |
| 9304 |
> |
(exit $ac_status); } && { |
| 9305 |
> |
test -z "$ac_c_werror_flag" || |
| 9306 |
> |
test ! -s conftest.err |
| 9307 |
> |
} && test -s conftest$ac_exeext && |
| 9308 |
> |
$as_test_x conftest$ac_exeext; then |
| 9309 |
|
ac_cv_func_poll=yes |
| 9310 |
|
else |
| 9311 |
|
echo "$as_me: failed program was:" >&5 |
| 9312 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 9313 |
|
|
| 9314 |
< |
ac_cv_func_poll=no |
| 9314 |
> |
ac_cv_func_poll=no |
| 9315 |
|
fi |
| 9316 |
< |
rm -f conftest.err conftest.$ac_objext \ |
| 9316 |
> |
|
| 9317 |
> |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 9318 |
|
conftest$ac_exeext conftest.$ac_ext |
| 9319 |
|
fi |
| 9320 |
< |
echo "$as_me:$LINENO: result: $ac_cv_func_poll" >&5 |
| 9321 |
< |
echo "${ECHO_T}$ac_cv_func_poll" >&6 |
| 9320 |
> |
{ echo "$as_me:$LINENO: result: $ac_cv_func_poll" >&5 |
| 9321 |
> |
echo "${ECHO_T}$ac_cv_func_poll" >&6; } |
| 9322 |
|
if test $ac_cv_func_poll = yes; then |
| 9323 |
|
SELECT_TYPE="poll" |
| 9324 |
|
else |
| 9325 |
|
|
| 9326 |
< |
echo "$as_me:$LINENO: checking for select" >&5 |
| 9327 |
< |
echo $ECHO_N "checking for select... $ECHO_C" >&6 |
| 9326 |
> |
{ echo "$as_me:$LINENO: checking for select" >&5 |
| 9327 |
> |
echo $ECHO_N "checking for select... $ECHO_C" >&6; } |
| 9328 |
|
if test "${ac_cv_func_select+set}" = set; then |
| 9329 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 9330 |
|
else |
| 9351 |
|
|
| 9352 |
|
#undef select |
| 9353 |
|
|
| 9354 |
< |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 9354 |
> |
/* Override any GCC internal prototype to avoid an error. |
| 9355 |
> |
Use char because int might match the return type of a GCC |
| 9356 |
> |
builtin and then its argument prototype would still apply. */ |
| 9357 |
|
#ifdef __cplusplus |
| 9358 |
|
extern "C" |
| 9258 |
– |
{ |
| 9359 |
|
#endif |
| 9260 |
– |
/* We use char because int might match the return type of a gcc2 |
| 9261 |
– |
builtin and then its argument prototype would still apply. */ |
| 9360 |
|
char select (); |
| 9361 |
|
/* The GNU C library defines this for functions which it implements |
| 9362 |
|
to always fail with ENOSYS. Some functions are actually named |
| 9363 |
|
something starting with __ and the normal name is an alias. */ |
| 9364 |
< |
#if defined (__stub_select) || defined (__stub___select) |
| 9364 |
> |
#if defined __stub_select || defined __stub___select |
| 9365 |
|
choke me |
| 9268 |
– |
#else |
| 9269 |
– |
char (*f) () = select; |
| 9270 |
– |
#endif |
| 9271 |
– |
#ifdef __cplusplus |
| 9272 |
– |
} |
| 9366 |
|
#endif |
| 9367 |
|
|
| 9368 |
|
int |
| 9369 |
|
main () |
| 9370 |
|
{ |
| 9371 |
< |
return f != select; |
| 9371 |
> |
return select (); |
| 9372 |
|
; |
| 9373 |
|
return 0; |
| 9374 |
|
} |
| 9375 |
|
_ACEOF |
| 9376 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
| 9377 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 9378 |
< |
(eval $ac_link) 2>conftest.er1 |
| 9377 |
> |
if { (ac_try="$ac_link" |
| 9378 |
> |
case "(($ac_try" in |
| 9379 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 9380 |
> |
*) ac_try_echo=$ac_try;; |
| 9381 |
> |
esac |
| 9382 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 9383 |
> |
(eval "$ac_link") 2>conftest.er1 |
| 9384 |
|
ac_status=$? |
| 9385 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 9386 |
|
rm -f conftest.er1 |
| 9387 |
|
cat conftest.err >&5 |
| 9388 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9389 |
< |
(exit $ac_status); } && |
| 9390 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
| 9391 |
< |
|| test ! -s conftest.err' |
| 9392 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 9393 |
< |
(eval $ac_try) 2>&5 |
| 9296 |
< |
ac_status=$? |
| 9297 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9298 |
< |
(exit $ac_status); }; } && |
| 9299 |
< |
{ ac_try='test -s conftest$ac_exeext' |
| 9300 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 9301 |
< |
(eval $ac_try) 2>&5 |
| 9302 |
< |
ac_status=$? |
| 9303 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9304 |
< |
(exit $ac_status); }; }; then |
| 9389 |
> |
(exit $ac_status); } && { |
| 9390 |
> |
test -z "$ac_c_werror_flag" || |
| 9391 |
> |
test ! -s conftest.err |
| 9392 |
> |
} && test -s conftest$ac_exeext && |
| 9393 |
> |
$as_test_x conftest$ac_exeext; then |
| 9394 |
|
ac_cv_func_select=yes |
| 9395 |
|
else |
| 9396 |
|
echo "$as_me: failed program was:" >&5 |
| 9397 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 9398 |
|
|
| 9399 |
< |
ac_cv_func_select=no |
| 9399 |
> |
ac_cv_func_select=no |
| 9400 |
|
fi |
| 9401 |
< |
rm -f conftest.err conftest.$ac_objext \ |
| 9401 |
> |
|
| 9402 |
> |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 9403 |
|
conftest$ac_exeext conftest.$ac_ext |
| 9404 |
|
fi |
| 9405 |
< |
echo "$as_me:$LINENO: result: $ac_cv_func_select" >&5 |
| 9406 |
< |
echo "${ECHO_T}$ac_cv_func_select" >&6 |
| 9405 |
> |
{ echo "$as_me:$LINENO: result: $ac_cv_func_select" >&5 |
| 9406 |
> |
echo "${ECHO_T}$ac_cv_func_select" >&6; } |
| 9407 |
|
if test $ac_cv_func_select = yes; then |
| 9408 |
|
SELECT_TYPE="select" |
| 9409 |
|
else |
| 9439 |
|
|
| 9440 |
|
|
| 9441 |
|
|
| 9442 |
< |
# Check whether --enable-clobber or --disable-clobber was given. |
| 9442 |
> |
# Check whether --enable-clobber was given. |
| 9443 |
|
if test "${enable_clobber+set}" = set; then |
| 9444 |
< |
enableval="$enable_clobber" |
| 9355 |
< |
clobber=$enableval |
| 9444 |
> |
enableval=$enable_clobber; clobber=$enableval |
| 9445 |
|
else |
| 9446 |
|
clobber=no |
| 9447 |
< |
fi; |
| 9447 |
> |
fi |
| 9448 |
> |
|
| 9449 |
|
|
| 9450 |
|
if test "$clobber" = yes; then |
| 9451 |
|
CLOBBER=yes |
| 9454 |
|
|
| 9455 |
|
|
| 9456 |
|
|
| 9457 |
< |
echo "$as_me:$LINENO: checking if you want to do a profile build" >&5 |
| 9458 |
< |
echo $ECHO_N "checking if you want to do a profile build... $ECHO_C" >&6 |
| 9459 |
< |
# Check whether --enable-profile or --disable-profile was given. |
| 9457 |
> |
{ echo "$as_me:$LINENO: checking if you want to do a profile build" >&5 |
| 9458 |
> |
echo $ECHO_N "checking if you want to do a profile build... $ECHO_C" >&6; } |
| 9459 |
> |
# Check whether --enable-profile was given. |
| 9460 |
|
if test "${enable_profile+set}" = set; then |
| 9461 |
< |
enableval="$enable_profile" |
| 9372 |
< |
profile=$enableval |
| 9461 |
> |
enableval=$enable_profile; profile=$enableval |
| 9462 |
|
else |
| 9463 |
|
profile=no |
| 9464 |
< |
fi; |
| 9464 |
> |
fi |
| 9465 |
> |
|
| 9466 |
|
|
| 9467 |
|
if test "$profile" = yes; then |
| 9468 |
|
if test "$ac_cv_c_compiler_gnu" = yes; then |
| 9469 |
|
IRC_CFLAGS="$IRC_CFLAGS -pg -static" |
| 9470 |
< |
echo "$as_me:$LINENO: result: " >&5 |
| 9471 |
< |
echo "${ECHO_T}" >&6="yes, adding -pg -static" |
| 9470 |
> |
{ echo "$as_me:$LINENO: result: " >&5 |
| 9471 |
> |
echo "${ECHO_T}" >&6; }="yes, adding -pg -static" |
| 9472 |
|
else |
| 9473 |
< |
echo "$as_me:$LINENO: result: no, profile builds only work with gcc" >&5 |
| 9474 |
< |
echo "${ECHO_T}no, profile builds only work with gcc" >&6 |
| 9473 |
> |
{ echo "$as_me:$LINENO: result: no, profile builds only work with gcc" >&5 |
| 9474 |
> |
echo "${ECHO_T}no, profile builds only work with gcc" >&6; } |
| 9475 |
|
fi |
| 9476 |
|
else |
| 9477 |
< |
echo "$as_me:$LINENO: result: no" >&5 |
| 9478 |
< |
echo "${ECHO_T}no" >&6 |
| 9477 |
> |
{ echo "$as_me:$LINENO: result: no" >&5 |
| 9478 |
> |
echo "${ECHO_T}no" >&6; } |
| 9479 |
|
fi |
| 9480 |
|
|
| 9481 |
< |
echo "$as_me:$LINENO: checking if you want ElectricFence" >&5 |
| 9482 |
< |
echo $ECHO_N "checking if you want ElectricFence... $ECHO_C" >&6 |
| 9483 |
< |
# Check whether --enable-efence or --disable-efence was given. |
| 9481 |
> |
{ echo "$as_me:$LINENO: checking if you want ElectricFence" >&5 |
| 9482 |
> |
echo $ECHO_N "checking if you want ElectricFence... $ECHO_C" >&6; } |
| 9483 |
> |
# Check whether --enable-efence was given. |
| 9484 |
|
if test "${enable_efence+set}" = set; then |
| 9485 |
< |
enableval="$enable_efence" |
| 9396 |
< |
|
| 9485 |
> |
enableval=$enable_efence; |
| 9486 |
|
if test "$enableval" != no; then |
| 9487 |
|
if test ! -z "$enableval" -a "$enableval" != yes; then |
| 9488 |
|
LIBS="$LIBS -L$enableval" |
| 9489 |
|
fi |
| 9490 |
|
|
| 9491 |
< |
echo "$as_me:$LINENO: checking for malloc in -lefence" >&5 |
| 9492 |
< |
echo $ECHO_N "checking for malloc in -lefence... $ECHO_C" >&6 |
| 9491 |
> |
{ echo "$as_me:$LINENO: checking for malloc in -lefence" >&5 |
| 9492 |
> |
echo $ECHO_N "checking for malloc in -lefence... $ECHO_C" >&6; } |
| 9493 |
|
if test "${ac_cv_lib_efence_malloc+set}" = set; then |
| 9494 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 9495 |
|
else |
| 9502 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 9503 |
|
/* end confdefs.h. */ |
| 9504 |
|
|
| 9505 |
< |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 9505 |
> |
/* Override any GCC internal prototype to avoid an error. |
| 9506 |
> |
Use char because int might match the return type of a GCC |
| 9507 |
> |
builtin and then its argument prototype would still apply. */ |
| 9508 |
|
#ifdef __cplusplus |
| 9509 |
|
extern "C" |
| 9510 |
|
#endif |
| 9420 |
– |
/* We use char because int might match the return type of a gcc2 |
| 9421 |
– |
builtin and then its argument prototype would still apply. */ |
| 9511 |
|
char malloc (); |
| 9512 |
|
int |
| 9513 |
|
main () |
| 9514 |
|
{ |
| 9515 |
< |
malloc (); |
| 9515 |
> |
return malloc (); |
| 9516 |
|
; |
| 9517 |
|
return 0; |
| 9518 |
|
} |
| 9519 |
|
_ACEOF |
| 9520 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
| 9521 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 9522 |
< |
(eval $ac_link) 2>conftest.er1 |
| 9521 |
> |
if { (ac_try="$ac_link" |
| 9522 |
> |
case "(($ac_try" in |
| 9523 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 9524 |
> |
*) ac_try_echo=$ac_try;; |
| 9525 |
> |
esac |
| 9526 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 9527 |
> |
(eval "$ac_link") 2>conftest.er1 |
| 9528 |
|
ac_status=$? |
| 9529 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 9530 |
|
rm -f conftest.er1 |
| 9531 |
|
cat conftest.err >&5 |
| 9532 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9533 |
< |
(exit $ac_status); } && |
| 9534 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
| 9535 |
< |
|| test ! -s conftest.err' |
| 9536 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 9537 |
< |
(eval $ac_try) 2>&5 |
| 9444 |
< |
ac_status=$? |
| 9445 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9446 |
< |
(exit $ac_status); }; } && |
| 9447 |
< |
{ ac_try='test -s conftest$ac_exeext' |
| 9448 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 9449 |
< |
(eval $ac_try) 2>&5 |
| 9450 |
< |
ac_status=$? |
| 9451 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9452 |
< |
(exit $ac_status); }; }; then |
| 9533 |
> |
(exit $ac_status); } && { |
| 9534 |
> |
test -z "$ac_c_werror_flag" || |
| 9535 |
> |
test ! -s conftest.err |
| 9536 |
> |
} && test -s conftest$ac_exeext && |
| 9537 |
> |
$as_test_x conftest$ac_exeext; then |
| 9538 |
|
ac_cv_lib_efence_malloc=yes |
| 9539 |
|
else |
| 9540 |
|
echo "$as_me: failed program was:" >&5 |
| 9541 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 9542 |
|
|
| 9543 |
< |
ac_cv_lib_efence_malloc=no |
| 9543 |
> |
ac_cv_lib_efence_malloc=no |
| 9544 |
|
fi |
| 9545 |
< |
rm -f conftest.err conftest.$ac_objext \ |
| 9545 |
> |
|
| 9546 |
> |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 9547 |
|
conftest$ac_exeext conftest.$ac_ext |
| 9548 |
|
LIBS=$ac_check_lib_save_LIBS |
| 9549 |
|
fi |
| 9550 |
< |
echo "$as_me:$LINENO: result: $ac_cv_lib_efence_malloc" >&5 |
| 9551 |
< |
echo "${ECHO_T}$ac_cv_lib_efence_malloc" >&6 |
| 9550 |
> |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_efence_malloc" >&5 |
| 9551 |
> |
echo "${ECHO_T}$ac_cv_lib_efence_malloc" >&6; } |
| 9552 |
|
if test $ac_cv_lib_efence_malloc = yes; then |
| 9553 |
|
|
| 9554 |
|
LIBS="$LIBS -lefence" |
| 9555 |
< |
echo "$as_me:$LINENO: result: yes" >&5 |
| 9556 |
< |
echo "${ECHO_T}yes" >&6 |
| 9555 |
> |
{ echo "$as_me:$LINENO: result: yes" >&5 |
| 9556 |
> |
echo "${ECHO_T}yes" >&6; } |
| 9557 |
|
|
| 9558 |
|
else |
| 9559 |
< |
echo "$as_me:$LINENO: result: not found" >&5 |
| 9560 |
< |
echo "${ECHO_T}not found" >&6 |
| 9559 |
> |
{ echo "$as_me:$LINENO: result: not found" >&5 |
| 9560 |
> |
echo "${ECHO_T}not found" >&6; } |
| 9561 |
|
fi |
| 9562 |
|
|
| 9563 |
|
else |
| 9564 |
< |
echo "$as_me:$LINENO: result: no" >&5 |
| 9565 |
< |
echo "${ECHO_T}no" >&6 |
| 9564 |
> |
{ echo "$as_me:$LINENO: result: no" >&5 |
| 9565 |
> |
echo "${ECHO_T}no" >&6; } |
| 9566 |
|
fi |
| 9567 |
|
|
| 9568 |
|
else |
| 9569 |
< |
echo "$as_me:$LINENO: result: no" >&5 |
| 9570 |
< |
echo "${ECHO_T}no" >&6 |
| 9571 |
< |
fi; |
| 9569 |
> |
{ echo "$as_me:$LINENO: result: no" >&5 |
| 9570 |
> |
echo "${ECHO_T}no" >&6; } |
| 9571 |
> |
fi |
| 9572 |
|
|
| 9573 |
< |
echo "$as_me:$LINENO: checking if you want the block allocator" >&5 |
| 9574 |
< |
echo $ECHO_N "checking if you want the block allocator... $ECHO_C" >&6 |
| 9575 |
< |
# Check whether --enable-block-alloc or --disable-block-alloc was given. |
| 9573 |
> |
|
| 9574 |
> |
{ echo "$as_me:$LINENO: checking if you want the block allocator" >&5 |
| 9575 |
> |
echo $ECHO_N "checking if you want the block allocator... $ECHO_C" >&6; } |
| 9576 |
> |
# Check whether --enable-block-alloc was given. |
| 9577 |
|
if test "${enable_block_alloc+set}" = set; then |
| 9578 |
< |
enableval="$enable_block_alloc" |
| 9492 |
< |
balloc=$enableval |
| 9578 |
> |
enableval=$enable_block_alloc; balloc=$enableval |
| 9579 |
|
else |
| 9580 |
|
balloc=yes |
| 9581 |
< |
fi; |
| 9581 |
> |
fi |
| 9582 |
> |
|
| 9583 |
|
|
| 9584 |
|
if test "$balloc" = no; then |
| 9585 |
|
|
| 9593 |
|
|
| 9594 |
|
fi |
| 9595 |
|
|
| 9596 |
< |
echo "$as_me:$LINENO: result: $balloc" >&5 |
| 9597 |
< |
echo "${ECHO_T}$balloc" >&6 |
| 9596 |
> |
{ echo "$as_me:$LINENO: result: $balloc" >&5 |
| 9597 |
> |
echo "${ECHO_T}$balloc" >&6; } |
| 9598 |
|
|
| 9599 |
< |
# Check whether --enable-warnings or --disable-warnings was given. |
| 9599 |
> |
# Check whether --enable-warnings was given. |
| 9600 |
|
if test "${enable_warnings+set}" = set; then |
| 9601 |
< |
enableval="$enable_warnings" |
| 9602 |
< |
IRC_CFLAGS="$IRC_CFLAGS -Wcast-qual -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wredundant-decls -Wshadow -Wwrite-strings -W -Wno-unused" |
| 9516 |
< |
fi; |
| 9601 |
> |
enableval=$enable_warnings; IRC_CFLAGS="$IRC_CFLAGS -Wcast-qual -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wredundant-decls -Wshadow -Wwrite-strings -W -Wno-unused" |
| 9602 |
> |
fi |
| 9603 |
|
|
| 9604 |
|
|
| 9605 |
< |
# Check whether --enable-small-net or --disable-small-net was given. |
| 9605 |
> |
|
| 9606 |
> |
# Check whether --enable-small-net was given. |
| 9607 |
|
if test "${enable_small_net+set}" = set; then |
| 9608 |
< |
enableval="$enable_small_net" |
| 9522 |
< |
small_net=$enableval |
| 9608 |
> |
enableval=$enable_small_net; small_net=$enableval |
| 9609 |
|
else |
| 9610 |
|
small_net=no |
| 9611 |
< |
fi; |
| 9611 |
> |
fi |
| 9612 |
> |
|
| 9613 |
|
|
| 9614 |
|
if test "$small_net" = yes; then |
| 9615 |
|
|
| 9696 |
|
fi |
| 9697 |
|
|
| 9698 |
|
|
| 9699 |
< |
# Check whether --with-nicklen or --without-nicklen was given. |
| 9699 |
> |
# Check whether --with-nicklen was given. |
| 9700 |
|
if test "${with_nicklen+set}" = set; then |
| 9701 |
< |
withval="$with_nicklen" |
| 9615 |
< |
NICKLEN="$withval" |
| 9701 |
> |
withval=$with_nicklen; NICKLEN="$withval" |
| 9702 |
|
else |
| 9703 |
|
NICKLEN="15" |
| 9704 |
< |
fi; |
| 9704 |
> |
fi |
| 9705 |
> |
|
| 9706 |
|
|
| 9707 |
< |
# Check whether --enable-efnet or --disable-efnet was given. |
| 9707 |
> |
# Check whether --enable-efnet was given. |
| 9708 |
|
if test "${enable_efnet+set}" = set; then |
| 9709 |
< |
enableval="$enable_efnet" |
| 9623 |
< |
efnet=$enableval |
| 9709 |
> |
enableval=$enable_efnet; efnet=$enableval |
| 9710 |
|
else |
| 9711 |
|
efnet=no |
| 9712 |
< |
fi; |
| 9712 |
> |
fi |
| 9713 |
> |
|
| 9714 |
|
|
| 9715 |
|
if test "$efnet" = yes; then |
| 9716 |
|
|
| 9730 |
|
EXAMPLE_CONF=example.conf |
| 9731 |
|
fi |
| 9732 |
|
|
| 9733 |
< |
# Check whether --enable-gline-voting or --disable-gline-voting was given. |
| 9733 |
> |
# Check whether --enable-gline-voting was given. |
| 9734 |
|
if test "${enable_gline_voting+set}" = set; then |
| 9735 |
< |
enableval="$enable_gline_voting" |
| 9649 |
< |
gline_voting=$enableval |
| 9735 |
> |
enableval=$enable_gline_voting; gline_voting=$enableval |
| 9736 |
|
else |
| 9737 |
|
gline_voting=yes |
| 9738 |
< |
fi; |
| 9738 |
> |
fi |
| 9739 |
> |
|
| 9740 |
|
|
| 9741 |
|
if test "$gline_voting" = yes; then |
| 9742 |
|
|
| 9747 |
|
echo "Building ircd with G-Line voting support" |
| 9748 |
|
fi |
| 9749 |
|
|
| 9750 |
< |
# Check whether --enable-halfops or --disable-halfops was given. |
| 9750 |
> |
# Check whether --enable-halfops was given. |
| 9751 |
|
if test "${enable_halfops+set}" = set; then |
| 9752 |
< |
enableval="$enable_halfops" |
| 9666 |
< |
halfops=$enableval |
| 9752 |
> |
enableval=$enable_halfops; halfops=$enableval |
| 9753 |
|
else |
| 9754 |
|
halfops=no |
| 9755 |
< |
fi; |
| 9755 |
> |
fi |
| 9756 |
> |
|
| 9757 |
|
|
| 9758 |
|
if test "$halfops" = yes; then |
| 9759 |
|
|
| 9765 |
|
|
| 9766 |
|
|
| 9767 |
|
|
| 9768 |
< |
echo "$as_me:$LINENO: checking for syslog options" >&5 |
| 9769 |
< |
echo $ECHO_N "checking for syslog options... $ECHO_C" >&6 |
| 9768 |
> |
{ echo "$as_me:$LINENO: checking for syslog options" >&5 |
| 9769 |
> |
echo $ECHO_N "checking for syslog options... $ECHO_C" >&6; } |
| 9770 |
|
|
| 9771 |
< |
# Check whether --enable-syslog or --disable-syslog was given. |
| 9771 |
> |
# Check whether --enable-syslog was given. |
| 9772 |
|
if test "${enable_syslog+set}" = set; then |
| 9773 |
< |
enableval="$enable_syslog" |
| 9687 |
< |
|
| 9773 |
> |
enableval=$enable_syslog; |
| 9774 |
|
|
| 9775 |
|
if test "$ac_cv_header_sys_syslog_h" = yes -o "$ac_cv_header_syslog_h" = yes; then |
| 9776 |
|
|
| 9845 |
|
|
| 9846 |
|
else |
| 9847 |
|
syslogstuff=none |
| 9848 |
< |
fi; |
| 9848 |
> |
fi |
| 9849 |
|
|
| 9764 |
– |
echo "$as_me:$LINENO: result: $syslogstuff" >&5 |
| 9765 |
– |
echo "${ECHO_T}$syslogstuff" >&6 |
| 9850 |
|
|
| 9851 |
+ |
{ echo "$as_me:$LINENO: result: $syslogstuff" >&5 |
| 9852 |
+ |
echo "${ECHO_T}$syslogstuff" >&6; } |
| 9853 |
|
|
| 9854 |
< |
# Check whether --with-syslog-facility or --without-syslog-facility was given. |
| 9854 |
> |
|
| 9855 |
> |
# Check whether --with-syslog-facility was given. |
| 9856 |
|
if test "${with_syslog_facility+set}" = set; then |
| 9857 |
< |
withval="$with_syslog_facility" |
| 9771 |
< |
facility=$withval |
| 9857 |
> |
withval=$with_syslog_facility; facility=$withval |
| 9858 |
|
else |
| 9859 |
|
facility="LOG_LOCAL4" |
| 9860 |
< |
fi; |
| 9860 |
> |
fi |
| 9861 |
> |
|
| 9862 |
|
|
| 9863 |
|
if test "$syslogstuff" != none; then |
| 9864 |
|
|
| 9869 |
|
fi |
| 9870 |
|
|
| 9871 |
|
|
| 9872 |
< |
# Check whether --with-topiclen or --without-topiclen was given. |
| 9872 |
> |
# Check whether --with-topiclen was given. |
| 9873 |
|
if test "${with_topiclen+set}" = set; then |
| 9874 |
< |
withval="$with_topiclen" |
| 9788 |
< |
|
| 9874 |
> |
withval=$with_topiclen; |
| 9875 |
|
if test $withval -ge 390; then |
| 9876 |
|
TOPICLEN=390 |
| 9877 |
|
{ echo "$as_me:$LINENO: WARNING: TOPICLEN has a hard limit of 390. Setting TOPICLEN=390" >&5 |
| 9882 |
|
|
| 9883 |
|
else |
| 9884 |
|
TOPICLEN=160 |
| 9885 |
< |
fi; |
| 9885 |
> |
fi |
| 9886 |
> |
|
| 9887 |
|
|
| 9888 |
|
|
| 9889 |
|
cat >>confdefs.h <<_ACEOF |
| 9906 |
|
_ACEOF |
| 9907 |
|
|
| 9908 |
|
|
| 9909 |
< |
# Check whether --enable-shared-modules or --disable-shared-modules was given. |
| 9909 |
> |
# Check whether --enable-shared-modules was given. |
| 9910 |
|
if test "${enable_shared_modules+set}" = set; then |
| 9911 |
< |
enableval="$enable_shared_modules" |
| 9825 |
< |
shared_modules=$enableval |
| 9911 |
> |
enableval=$enable_shared_modules; shared_modules=$enableval |
| 9912 |
|
else |
| 9913 |
|
shared_modules="yes" |
| 9914 |
< |
fi; |
| 9914 |
> |
fi |
| 9915 |
> |
|
| 9916 |
|
|
| 9917 |
|
if test "$shared_modules" = yes; then |
| 9918 |
|
|
| 9943 |
|
for ac_header in dlfcn.h |
| 9944 |
|
do |
| 9945 |
|
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 9946 |
< |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 9947 |
< |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 9948 |
< |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| 9949 |
< |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 9946 |
> |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 9947 |
> |
{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 9948 |
> |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
| 9949 |
> |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 9950 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 9951 |
|
fi |
| 9952 |
< |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 9953 |
< |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 9952 |
> |
ac_res=`eval echo '${'$as_ac_Header'}'` |
| 9953 |
> |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 9954 |
> |
echo "${ECHO_T}$ac_res" >&6; } |
| 9955 |
|
else |
| 9956 |
|
# Is the header compilable? |
| 9957 |
< |
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 9958 |
< |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
| 9957 |
> |
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 9958 |
> |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
| 9959 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 9960 |
|
/* confdefs.h. */ |
| 9961 |
|
_ACEOF |
| 9966 |
|
#include <$ac_header> |
| 9967 |
|
_ACEOF |
| 9968 |
|
rm -f conftest.$ac_objext |
| 9969 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 9970 |
< |
(eval $ac_compile) 2>conftest.er1 |
| 9969 |
> |
if { (ac_try="$ac_compile" |
| 9970 |
> |
case "(($ac_try" in |
| 9971 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 9972 |
> |
*) ac_try_echo=$ac_try;; |
| 9973 |
> |
esac |
| 9974 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 9975 |
> |
(eval "$ac_compile") 2>conftest.er1 |
| 9976 |
|
ac_status=$? |
| 9977 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 9978 |
|
rm -f conftest.er1 |
| 9979 |
|
cat conftest.err >&5 |
| 9980 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9981 |
< |
(exit $ac_status); } && |
| 9982 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
| 9983 |
< |
|| test ! -s conftest.err' |
| 9984 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 9892 |
< |
(eval $ac_try) 2>&5 |
| 9893 |
< |
ac_status=$? |
| 9894 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9895 |
< |
(exit $ac_status); }; } && |
| 9896 |
< |
{ ac_try='test -s conftest.$ac_objext' |
| 9897 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 9898 |
< |
(eval $ac_try) 2>&5 |
| 9899 |
< |
ac_status=$? |
| 9900 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9901 |
< |
(exit $ac_status); }; }; then |
| 9981 |
> |
(exit $ac_status); } && { |
| 9982 |
> |
test -z "$ac_c_werror_flag" || |
| 9983 |
> |
test ! -s conftest.err |
| 9984 |
> |
} && test -s conftest.$ac_objext; then |
| 9985 |
|
ac_header_compiler=yes |
| 9986 |
|
else |
| 9987 |
|
echo "$as_me: failed program was:" >&5 |
| 9988 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 9989 |
|
|
| 9990 |
< |
ac_header_compiler=no |
| 9990 |
> |
ac_header_compiler=no |
| 9991 |
|
fi |
| 9992 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 9993 |
< |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 9994 |
< |
echo "${ECHO_T}$ac_header_compiler" >&6 |
| 9992 |
> |
|
| 9993 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 9994 |
> |
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 9995 |
> |
echo "${ECHO_T}$ac_header_compiler" >&6; } |
| 9996 |
|
|
| 9997 |
|
# Is the header present? |
| 9998 |
< |
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 9999 |
< |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
| 9998 |
> |
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 9999 |
> |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
| 10000 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 10001 |
|
/* confdefs.h. */ |
| 10002 |
|
_ACEOF |
| 10005 |
|
/* end confdefs.h. */ |
| 10006 |
|
#include <$ac_header> |
| 10007 |
|
_ACEOF |
| 10008 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 10009 |
< |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 10008 |
> |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 10009 |
> |
case "(($ac_try" in |
| 10010 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 10011 |
> |
*) ac_try_echo=$ac_try;; |
| 10012 |
> |
esac |
| 10013 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 10014 |
> |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
| 10015 |
|
ac_status=$? |
| 10016 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 10017 |
|
rm -f conftest.er1 |
| 10018 |
|
cat conftest.err >&5 |
| 10019 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10020 |
< |
(exit $ac_status); } >/dev/null; then |
| 10021 |
< |
if test -s conftest.err; then |
| 10022 |
< |
ac_cpp_err=$ac_c_preproc_warn_flag |
| 10023 |
< |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| 9935 |
< |
else |
| 9936 |
< |
ac_cpp_err= |
| 9937 |
< |
fi |
| 9938 |
< |
else |
| 9939 |
< |
ac_cpp_err=yes |
| 9940 |
< |
fi |
| 9941 |
< |
if test -z "$ac_cpp_err"; then |
| 10020 |
> |
(exit $ac_status); } >/dev/null && { |
| 10021 |
> |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 10022 |
> |
test ! -s conftest.err |
| 10023 |
> |
}; then |
| 10024 |
|
ac_header_preproc=yes |
| 10025 |
|
else |
| 10026 |
|
echo "$as_me: failed program was:" >&5 |
| 10028 |
|
|
| 10029 |
|
ac_header_preproc=no |
| 10030 |
|
fi |
| 10031 |
+ |
|
| 10032 |
|
rm -f conftest.err conftest.$ac_ext |
| 10033 |
< |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 10034 |
< |
echo "${ECHO_T}$ac_header_preproc" >&6 |
| 10033 |
> |
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 10034 |
> |
echo "${ECHO_T}$ac_header_preproc" >&6; } |
| 10035 |
|
|
| 10036 |
|
# So? What about this header? |
| 10037 |
|
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| 10055 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
| 10056 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
| 10057 |
|
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
| 10058 |
< |
( |
| 9976 |
< |
cat <<\_ASBOX |
| 9977 |
< |
## -------------------------------------- ## |
| 9978 |
< |
## Report this to the ircd-hybrid lists. ## |
| 9979 |
< |
## -------------------------------------- ## |
| 9980 |
< |
_ASBOX |
| 9981 |
< |
) | |
| 9982 |
< |
sed "s/^/$as_me: WARNING: /" >&2 |
| 10058 |
> |
|
| 10059 |
|
;; |
| 10060 |
|
esac |
| 10061 |
< |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 10062 |
< |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| 10063 |
< |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 10061 |
> |
{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 10062 |
> |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
| 10063 |
> |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 10064 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 10065 |
|
else |
| 10066 |
|
eval "$as_ac_Header=\$ac_header_preproc" |
| 10067 |
|
fi |
| 10068 |
< |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 10069 |
< |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 10068 |
> |
ac_res=`eval echo '${'$as_ac_Header'}'` |
| 10069 |
> |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 10070 |
> |
echo "${ECHO_T}$ac_res" >&6; } |
| 10071 |
|
|
| 10072 |
|
fi |
| 10073 |
|
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
| 10079 |
|
|
| 10080 |
|
done |
| 10081 |
|
|
| 10082 |
< |
echo "$as_me:$LINENO: checking for library containing shl_load" >&5 |
| 10083 |
< |
echo $ECHO_N "checking for library containing shl_load... $ECHO_C" >&6 |
| 10082 |
> |
{ echo "$as_me:$LINENO: checking for library containing shl_load" >&5 |
| 10083 |
> |
echo $ECHO_N "checking for library containing shl_load... $ECHO_C" >&6; } |
| 10084 |
|
if test "${ac_cv_search_shl_load+set}" = set; then |
| 10085 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 10086 |
|
else |
| 10087 |
|
ac_func_search_save_LIBS=$LIBS |
| 10011 |
– |
ac_cv_search_shl_load=no |
| 10088 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 10089 |
|
/* confdefs.h. */ |
| 10090 |
|
_ACEOF |
| 10092 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 10093 |
|
/* end confdefs.h. */ |
| 10094 |
|
|
| 10095 |
< |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 10095 |
> |
/* Override any GCC internal prototype to avoid an error. |
| 10096 |
> |
Use char because int might match the return type of a GCC |
| 10097 |
> |
builtin and then its argument prototype would still apply. */ |
| 10098 |
|
#ifdef __cplusplus |
| 10099 |
|
extern "C" |
| 10100 |
|
#endif |
| 10023 |
– |
/* We use char because int might match the return type of a gcc2 |
| 10024 |
– |
builtin and then its argument prototype would still apply. */ |
| 10101 |
|
char shl_load (); |
| 10102 |
|
int |
| 10103 |
|
main () |
| 10104 |
|
{ |
| 10105 |
< |
shl_load (); |
| 10105 |
> |
return shl_load (); |
| 10106 |
|
; |
| 10107 |
|
return 0; |
| 10108 |
|
} |
| 10109 |
|
_ACEOF |
| 10110 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 10111 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 10112 |
< |
(eval $ac_link) 2>conftest.er1 |
| 10110 |
> |
for ac_lib in '' dld; do |
| 10111 |
> |
if test -z "$ac_lib"; then |
| 10112 |
> |
ac_res="none required" |
| 10113 |
> |
else |
| 10114 |
> |
ac_res=-l$ac_lib |
| 10115 |
> |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 10116 |
> |
fi |
| 10117 |
> |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 10118 |
> |
if { (ac_try="$ac_link" |
| 10119 |
> |
case "(($ac_try" in |
| 10120 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 10121 |
> |
*) ac_try_echo=$ac_try;; |
| 10122 |
> |
esac |
| 10123 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 10124 |
> |
(eval "$ac_link") 2>conftest.er1 |
| 10125 |
|
ac_status=$? |
| 10126 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 10127 |
|
rm -f conftest.er1 |
| 10128 |
|
cat conftest.err >&5 |
| 10129 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10130 |
< |
(exit $ac_status); } && |
| 10131 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
| 10132 |
< |
|| test ! -s conftest.err' |
| 10133 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 10134 |
< |
(eval $ac_try) 2>&5 |
| 10135 |
< |
ac_status=$? |
| 10048 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10049 |
< |
(exit $ac_status); }; } && |
| 10050 |
< |
{ ac_try='test -s conftest$ac_exeext' |
| 10051 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 10052 |
< |
(eval $ac_try) 2>&5 |
| 10053 |
< |
ac_status=$? |
| 10054 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10055 |
< |
(exit $ac_status); }; }; then |
| 10056 |
< |
ac_cv_search_shl_load="none required" |
| 10130 |
> |
(exit $ac_status); } && { |
| 10131 |
> |
test -z "$ac_c_werror_flag" || |
| 10132 |
> |
test ! -s conftest.err |
| 10133 |
> |
} && test -s conftest$ac_exeext && |
| 10134 |
> |
$as_test_x conftest$ac_exeext; then |
| 10135 |
> |
ac_cv_search_shl_load=$ac_res |
| 10136 |
|
else |
| 10137 |
|
echo "$as_me: failed program was:" >&5 |
| 10138 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 10139 |
|
|
| 10061 |
– |
fi |
| 10062 |
– |
rm -f conftest.err conftest.$ac_objext \ |
| 10063 |
– |
conftest$ac_exeext conftest.$ac_ext |
| 10064 |
– |
if test "$ac_cv_search_shl_load" = no; then |
| 10065 |
– |
for ac_lib in dld; do |
| 10066 |
– |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 10067 |
– |
cat >conftest.$ac_ext <<_ACEOF |
| 10068 |
– |
/* confdefs.h. */ |
| 10069 |
– |
_ACEOF |
| 10070 |
– |
cat confdefs.h >>conftest.$ac_ext |
| 10071 |
– |
cat >>conftest.$ac_ext <<_ACEOF |
| 10072 |
– |
/* end confdefs.h. */ |
| 10140 |
|
|
| 10141 |
< |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 10075 |
< |
#ifdef __cplusplus |
| 10076 |
< |
extern "C" |
| 10077 |
< |
#endif |
| 10078 |
< |
/* We use char because int might match the return type of a gcc2 |
| 10079 |
< |
builtin and then its argument prototype would still apply. */ |
| 10080 |
< |
char shl_load (); |
| 10081 |
< |
int |
| 10082 |
< |
main () |
| 10083 |
< |
{ |
| 10084 |
< |
shl_load (); |
| 10085 |
< |
; |
| 10086 |
< |
return 0; |
| 10087 |
< |
} |
| 10088 |
< |
_ACEOF |
| 10089 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 10090 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 10091 |
< |
(eval $ac_link) 2>conftest.er1 |
| 10092 |
< |
ac_status=$? |
| 10093 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
| 10094 |
< |
rm -f conftest.er1 |
| 10095 |
< |
cat conftest.err >&5 |
| 10096 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10097 |
< |
(exit $ac_status); } && |
| 10098 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
| 10099 |
< |
|| test ! -s conftest.err' |
| 10100 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 10101 |
< |
(eval $ac_try) 2>&5 |
| 10102 |
< |
ac_status=$? |
| 10103 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10104 |
< |
(exit $ac_status); }; } && |
| 10105 |
< |
{ ac_try='test -s conftest$ac_exeext' |
| 10106 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 10107 |
< |
(eval $ac_try) 2>&5 |
| 10108 |
< |
ac_status=$? |
| 10109 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10110 |
< |
(exit $ac_status); }; }; then |
| 10111 |
< |
ac_cv_search_shl_load="-l$ac_lib" |
| 10112 |
< |
break |
| 10113 |
< |
else |
| 10114 |
< |
echo "$as_me: failed program was:" >&5 |
| 10115 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 10141 |
> |
fi |
| 10142 |
|
|
| 10143 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 10144 |
+ |
conftest$ac_exeext |
| 10145 |
+ |
if test "${ac_cv_search_shl_load+set}" = set; then |
| 10146 |
+ |
break |
| 10147 |
|
fi |
| 10148 |
< |
rm -f conftest.err conftest.$ac_objext \ |
| 10149 |
< |
conftest$ac_exeext conftest.$ac_ext |
| 10150 |
< |
done |
| 10148 |
> |
done |
| 10149 |
> |
if test "${ac_cv_search_shl_load+set}" = set; then |
| 10150 |
> |
: |
| 10151 |
> |
else |
| 10152 |
> |
ac_cv_search_shl_load=no |
| 10153 |
|
fi |
| 10154 |
+ |
rm conftest.$ac_ext |
| 10155 |
|
LIBS=$ac_func_search_save_LIBS |
| 10156 |
|
fi |
| 10157 |
< |
echo "$as_me:$LINENO: result: $ac_cv_search_shl_load" >&5 |
| 10158 |
< |
echo "${ECHO_T}$ac_cv_search_shl_load" >&6 |
| 10159 |
< |
if test "$ac_cv_search_shl_load" != no; then |
| 10160 |
< |
test "$ac_cv_search_shl_load" = "none required" || LIBS="$ac_cv_search_shl_load $LIBS" |
| 10157 |
> |
{ echo "$as_me:$LINENO: result: $ac_cv_search_shl_load" >&5 |
| 10158 |
> |
echo "${ECHO_T}$ac_cv_search_shl_load" >&6; } |
| 10159 |
> |
ac_res=$ac_cv_search_shl_load |
| 10160 |
> |
if test "$ac_res" != no; then |
| 10161 |
> |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 10162 |
|
|
| 10163 |
|
|
| 10164 |
|
cat >>confdefs.h <<\_ACEOF |
| 10171 |
|
|
| 10172 |
|
else |
| 10173 |
|
|
| 10174 |
< |
echo "$as_me:$LINENO: checking for library containing dlopen" >&5 |
| 10175 |
< |
echo $ECHO_N "checking for library containing dlopen... $ECHO_C" >&6 |
| 10174 |
> |
{ echo "$as_me:$LINENO: checking for library containing dlopen" >&5 |
| 10175 |
> |
echo $ECHO_N "checking for library containing dlopen... $ECHO_C" >&6; } |
| 10176 |
|
if test "${ac_cv_search_dlopen+set}" = set; then |
| 10177 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 10178 |
|
else |
| 10179 |
|
ac_func_search_save_LIBS=$LIBS |
| 10146 |
– |
ac_cv_search_dlopen=no |
| 10180 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 10181 |
|
/* confdefs.h. */ |
| 10182 |
|
_ACEOF |
| 10184 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 10185 |
|
/* end confdefs.h. */ |
| 10186 |
|
|
| 10187 |
< |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 10187 |
> |
/* Override any GCC internal prototype to avoid an error. |
| 10188 |
> |
Use char because int might match the return type of a GCC |
| 10189 |
> |
builtin and then its argument prototype would still apply. */ |
| 10190 |
|
#ifdef __cplusplus |
| 10191 |
|
extern "C" |
| 10192 |
|
#endif |
| 10158 |
– |
/* We use char because int might match the return type of a gcc2 |
| 10159 |
– |
builtin and then its argument prototype would still apply. */ |
| 10193 |
|
char dlopen (); |
| 10194 |
|
int |
| 10195 |
|
main () |
| 10196 |
|
{ |
| 10197 |
< |
dlopen (); |
| 10197 |
> |
return dlopen (); |
| 10198 |
|
; |
| 10199 |
|
return 0; |
| 10200 |
|
} |
| 10201 |
|
_ACEOF |
| 10202 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 10203 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 10204 |
< |
(eval $ac_link) 2>conftest.er1 |
| 10202 |
> |
for ac_lib in '' dl c_r; do |
| 10203 |
> |
if test -z "$ac_lib"; then |
| 10204 |
> |
ac_res="none required" |
| 10205 |
> |
else |
| 10206 |
> |
ac_res=-l$ac_lib |
| 10207 |
> |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 10208 |
> |
fi |
| 10209 |
> |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 10210 |
> |
if { (ac_try="$ac_link" |
| 10211 |
> |
case "(($ac_try" in |
| 10212 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 10213 |
> |
*) ac_try_echo=$ac_try;; |
| 10214 |
> |
esac |
| 10215 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 10216 |
> |
(eval "$ac_link") 2>conftest.er1 |
| 10217 |
|
ac_status=$? |
| 10218 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 10219 |
|
rm -f conftest.er1 |
| 10220 |
|
cat conftest.err >&5 |
| 10221 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10222 |
< |
(exit $ac_status); } && |
| 10223 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
| 10224 |
< |
|| test ! -s conftest.err' |
| 10225 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 10226 |
< |
(eval $ac_try) 2>&5 |
| 10227 |
< |
ac_status=$? |
| 10183 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10184 |
< |
(exit $ac_status); }; } && |
| 10185 |
< |
{ ac_try='test -s conftest$ac_exeext' |
| 10186 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 10187 |
< |
(eval $ac_try) 2>&5 |
| 10188 |
< |
ac_status=$? |
| 10189 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10190 |
< |
(exit $ac_status); }; }; then |
| 10191 |
< |
ac_cv_search_dlopen="none required" |
| 10222 |
> |
(exit $ac_status); } && { |
| 10223 |
> |
test -z "$ac_c_werror_flag" || |
| 10224 |
> |
test ! -s conftest.err |
| 10225 |
> |
} && test -s conftest$ac_exeext && |
| 10226 |
> |
$as_test_x conftest$ac_exeext; then |
| 10227 |
> |
ac_cv_search_dlopen=$ac_res |
| 10228 |
|
else |
| 10229 |
|
echo "$as_me: failed program was:" >&5 |
| 10230 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 10231 |
|
|
| 10196 |
– |
fi |
| 10197 |
– |
rm -f conftest.err conftest.$ac_objext \ |
| 10198 |
– |
conftest$ac_exeext conftest.$ac_ext |
| 10199 |
– |
if test "$ac_cv_search_dlopen" = no; then |
| 10200 |
– |
for ac_lib in dl c_r; do |
| 10201 |
– |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 10202 |
– |
cat >conftest.$ac_ext <<_ACEOF |
| 10203 |
– |
/* confdefs.h. */ |
| 10204 |
– |
_ACEOF |
| 10205 |
– |
cat confdefs.h >>conftest.$ac_ext |
| 10206 |
– |
cat >>conftest.$ac_ext <<_ACEOF |
| 10207 |
– |
/* end confdefs.h. */ |
| 10232 |
|
|
| 10233 |
< |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 10210 |
< |
#ifdef __cplusplus |
| 10211 |
< |
extern "C" |
| 10212 |
< |
#endif |
| 10213 |
< |
/* We use char because int might match the return type of a gcc2 |
| 10214 |
< |
builtin and then its argument prototype would still apply. */ |
| 10215 |
< |
char dlopen (); |
| 10216 |
< |
int |
| 10217 |
< |
main () |
| 10218 |
< |
{ |
| 10219 |
< |
dlopen (); |
| 10220 |
< |
; |
| 10221 |
< |
return 0; |
| 10222 |
< |
} |
| 10223 |
< |
_ACEOF |
| 10224 |
< |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 10225 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 10226 |
< |
(eval $ac_link) 2>conftest.er1 |
| 10227 |
< |
ac_status=$? |
| 10228 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
| 10229 |
< |
rm -f conftest.er1 |
| 10230 |
< |
cat conftest.err >&5 |
| 10231 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10232 |
< |
(exit $ac_status); } && |
| 10233 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
| 10234 |
< |
|| test ! -s conftest.err' |
| 10235 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 10236 |
< |
(eval $ac_try) 2>&5 |
| 10237 |
< |
ac_status=$? |
| 10238 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10239 |
< |
(exit $ac_status); }; } && |
| 10240 |
< |
{ ac_try='test -s conftest$ac_exeext' |
| 10241 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 10242 |
< |
(eval $ac_try) 2>&5 |
| 10243 |
< |
ac_status=$? |
| 10244 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10245 |
< |
(exit $ac_status); }; }; then |
| 10246 |
< |
ac_cv_search_dlopen="-l$ac_lib" |
| 10247 |
< |
break |
| 10248 |
< |
else |
| 10249 |
< |
echo "$as_me: failed program was:" >&5 |
| 10250 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 10233 |
> |
fi |
| 10234 |
|
|
| 10235 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 10236 |
+ |
conftest$ac_exeext |
| 10237 |
+ |
if test "${ac_cv_search_dlopen+set}" = set; then |
| 10238 |
+ |
break |
| 10239 |
|
fi |
| 10240 |
< |
rm -f conftest.err conftest.$ac_objext \ |
| 10241 |
< |
conftest$ac_exeext conftest.$ac_ext |
| 10242 |
< |
done |
| 10240 |
> |
done |
| 10241 |
> |
if test "${ac_cv_search_dlopen+set}" = set; then |
| 10242 |
> |
: |
| 10243 |
> |
else |
| 10244 |
> |
ac_cv_search_dlopen=no |
| 10245 |
|
fi |
| 10246 |
+ |
rm conftest.$ac_ext |
| 10247 |
|
LIBS=$ac_func_search_save_LIBS |
| 10248 |
|
fi |
| 10249 |
< |
echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5 |
| 10250 |
< |
echo "${ECHO_T}$ac_cv_search_dlopen" >&6 |
| 10251 |
< |
if test "$ac_cv_search_dlopen" != no; then |
| 10252 |
< |
test "$ac_cv_search_dlopen" = "none required" || LIBS="$ac_cv_search_dlopen $LIBS" |
| 10249 |
> |
{ echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5 |
| 10250 |
> |
echo "${ECHO_T}$ac_cv_search_dlopen" >&6; } |
| 10251 |
> |
ac_res=$ac_cv_search_dlopen |
| 10252 |
> |
if test "$ac_res" != no; then |
| 10253 |
> |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 10254 |
|
|
| 10255 |
|
|
| 10256 |
|
cat >>confdefs.h <<\_ACEOF |
| 10265 |
|
for ac_header in mach-o/dyld.h |
| 10266 |
|
do |
| 10267 |
|
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 10268 |
< |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 10269 |
< |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 10270 |
< |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| 10271 |
< |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 10268 |
> |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 10269 |
> |
{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 10270 |
> |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
| 10271 |
> |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 10272 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 10273 |
|
fi |
| 10274 |
< |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 10275 |
< |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 10274 |
> |
ac_res=`eval echo '${'$as_ac_Header'}'` |
| 10275 |
> |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 10276 |
> |
echo "${ECHO_T}$ac_res" >&6; } |
| 10277 |
|
else |
| 10278 |
|
# Is the header compilable? |
| 10279 |
< |
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 10280 |
< |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
| 10279 |
> |
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 10280 |
> |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
| 10281 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 10282 |
|
/* confdefs.h. */ |
| 10283 |
|
_ACEOF |
| 10288 |
|
#include <$ac_header> |
| 10289 |
|
_ACEOF |
| 10290 |
|
rm -f conftest.$ac_objext |
| 10291 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 10292 |
< |
(eval $ac_compile) 2>conftest.er1 |
| 10291 |
> |
if { (ac_try="$ac_compile" |
| 10292 |
> |
case "(($ac_try" in |
| 10293 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 10294 |
> |
*) ac_try_echo=$ac_try;; |
| 10295 |
> |
esac |
| 10296 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 10297 |
> |
(eval "$ac_compile") 2>conftest.er1 |
| 10298 |
|
ac_status=$? |
| 10299 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 10300 |
|
rm -f conftest.er1 |
| 10301 |
|
cat conftest.err >&5 |
| 10302 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10303 |
< |
(exit $ac_status); } && |
| 10304 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
| 10305 |
< |
|| test ! -s conftest.err' |
| 10306 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 10310 |
< |
(eval $ac_try) 2>&5 |
| 10311 |
< |
ac_status=$? |
| 10312 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10313 |
< |
(exit $ac_status); }; } && |
| 10314 |
< |
{ ac_try='test -s conftest.$ac_objext' |
| 10315 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 10316 |
< |
(eval $ac_try) 2>&5 |
| 10317 |
< |
ac_status=$? |
| 10318 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10319 |
< |
(exit $ac_status); }; }; then |
| 10303 |
> |
(exit $ac_status); } && { |
| 10304 |
> |
test -z "$ac_c_werror_flag" || |
| 10305 |
> |
test ! -s conftest.err |
| 10306 |
> |
} && test -s conftest.$ac_objext; then |
| 10307 |
|
ac_header_compiler=yes |
| 10308 |
|
else |
| 10309 |
|
echo "$as_me: failed program was:" >&5 |
| 10310 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 10311 |
|
|
| 10312 |
< |
ac_header_compiler=no |
| 10312 |
> |
ac_header_compiler=no |
| 10313 |
|
fi |
| 10314 |
< |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 10315 |
< |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 10316 |
< |
echo "${ECHO_T}$ac_header_compiler" >&6 |
| 10314 |
> |
|
| 10315 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 10316 |
> |
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 10317 |
> |
echo "${ECHO_T}$ac_header_compiler" >&6; } |
| 10318 |
|
|
| 10319 |
|
# Is the header present? |
| 10320 |
< |
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 10321 |
< |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
| 10320 |
> |
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 10321 |
> |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
| 10322 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 10323 |
|
/* confdefs.h. */ |
| 10324 |
|
_ACEOF |
| 10327 |
|
/* end confdefs.h. */ |
| 10328 |
|
#include <$ac_header> |
| 10329 |
|
_ACEOF |
| 10330 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 10331 |
< |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 10330 |
> |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 10331 |
> |
case "(($ac_try" in |
| 10332 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 10333 |
> |
*) ac_try_echo=$ac_try;; |
| 10334 |
> |
esac |
| 10335 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 10336 |
> |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
| 10337 |
|
ac_status=$? |
| 10338 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 10339 |
|
rm -f conftest.er1 |
| 10340 |
|
cat conftest.err >&5 |
| 10341 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10342 |
< |
(exit $ac_status); } >/dev/null; then |
| 10343 |
< |
if test -s conftest.err; then |
| 10344 |
< |
ac_cpp_err=$ac_c_preproc_warn_flag |
| 10345 |
< |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| 10353 |
< |
else |
| 10354 |
< |
ac_cpp_err= |
| 10355 |
< |
fi |
| 10356 |
< |
else |
| 10357 |
< |
ac_cpp_err=yes |
| 10358 |
< |
fi |
| 10359 |
< |
if test -z "$ac_cpp_err"; then |
| 10342 |
> |
(exit $ac_status); } >/dev/null && { |
| 10343 |
> |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 10344 |
> |
test ! -s conftest.err |
| 10345 |
> |
}; then |
| 10346 |
|
ac_header_preproc=yes |
| 10347 |
|
else |
| 10348 |
|
echo "$as_me: failed program was:" >&5 |
| 10350 |
|
|
| 10351 |
|
ac_header_preproc=no |
| 10352 |
|
fi |
| 10353 |
+ |
|
| 10354 |
|
rm -f conftest.err conftest.$ac_ext |
| 10355 |
< |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 10356 |
< |
echo "${ECHO_T}$ac_header_preproc" >&6 |
| 10355 |
> |
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 10356 |
> |
echo "${ECHO_T}$ac_header_preproc" >&6; } |
| 10357 |
|
|
| 10358 |
|
# So? What about this header? |
| 10359 |
|
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| 10377 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
| 10378 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
| 10379 |
|
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
| 10380 |
< |
( |
| 10394 |
< |
cat <<\_ASBOX |
| 10395 |
< |
## -------------------------------------- ## |
| 10396 |
< |
## Report this to the ircd-hybrid lists. ## |
| 10397 |
< |
## -------------------------------------- ## |
| 10398 |
< |
_ASBOX |
| 10399 |
< |
) | |
| 10400 |
< |
sed "s/^/$as_me: WARNING: /" >&2 |
| 10380 |
> |
|
| 10381 |
|
;; |
| 10382 |
|
esac |
| 10383 |
< |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 10384 |
< |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| 10385 |
< |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 10383 |
> |
{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 10384 |
> |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
| 10385 |
> |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 10386 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 10387 |
|
else |
| 10388 |
|
eval "$as_ac_Header=\$ac_header_preproc" |
| 10389 |
|
fi |
| 10390 |
< |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 10391 |
< |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 10390 |
> |
ac_res=`eval echo '${'$as_ac_Header'}'` |
| 10391 |
> |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 10392 |
> |
echo "${ECHO_T}$ac_res" >&6; } |
| 10393 |
|
|
| 10394 |
|
fi |
| 10395 |
|
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
| 10402 |
|
done |
| 10403 |
|
|
| 10404 |
|
fi |
| 10405 |
< |
echo "$as_me:$LINENO: checking for dlsym" >&5 |
| 10406 |
< |
echo $ECHO_N "checking for dlsym... $ECHO_C" >&6 |
| 10405 |
> |
{ echo "$as_me:$LINENO: checking for dlsym" >&5 |
| 10406 |
> |
echo $ECHO_N "checking for dlsym... $ECHO_C" >&6; } |
| 10407 |
|
if test "${ac_cv_func_dlsym+set}" = set; then |
| 10408 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 10409 |
|
else |
| 10430 |
|
|
| 10431 |
|
#undef dlsym |
| 10432 |
|
|
| 10433 |
< |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 10433 |
> |
/* Override any GCC internal prototype to avoid an error. |
| 10434 |
> |
Use char because int might match the return type of a GCC |
| 10435 |
> |
builtin and then its argument prototype would still apply. */ |
| 10436 |
|
#ifdef __cplusplus |
| 10437 |
|
extern "C" |
| 10455 |
– |
{ |
| 10438 |
|
#endif |
| 10457 |
– |
/* We use char because int might match the return type of a gcc2 |
| 10458 |
– |
builtin and then its argument prototype would still apply. */ |
| 10439 |
|
char dlsym (); |
| 10440 |
|
/* The GNU C library defines this for functions which it implements |
| 10441 |
|
to always fail with ENOSYS. Some functions are actually named |
| 10442 |
|
something starting with __ and the normal name is an alias. */ |
| 10443 |
< |
#if defined (__stub_dlsym) || defined (__stub___dlsym) |
| 10443 |
> |
#if defined __stub_dlsym || defined __stub___dlsym |
| 10444 |
|
choke me |
| 10465 |
– |
#else |
| 10466 |
– |
char (*f) () = dlsym; |
| 10467 |
– |
#endif |
| 10468 |
– |
#ifdef __cplusplus |
| 10469 |
– |
} |
| 10445 |
|
#endif |
| 10446 |
|
|
| 10447 |
|
int |
| 10448 |
|
main () |
| 10449 |
|
{ |
| 10450 |
< |
return f != dlsym; |
| 10450 |
> |
return dlsym (); |
| 10451 |
|
; |
| 10452 |
|
return 0; |
| 10453 |
|
} |
| 10454 |
|
_ACEOF |
| 10455 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
| 10456 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 10457 |
< |
(eval $ac_link) 2>conftest.er1 |
| 10456 |
> |
if { (ac_try="$ac_link" |
| 10457 |
> |
case "(($ac_try" in |
| 10458 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 10459 |
> |
*) ac_try_echo=$ac_try;; |
| 10460 |
> |
esac |
| 10461 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 10462 |
> |
(eval "$ac_link") 2>conftest.er1 |
| 10463 |
|
ac_status=$? |
| 10464 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 10465 |
|
rm -f conftest.er1 |
| 10466 |
|
cat conftest.err >&5 |
| 10467 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10468 |
< |
(exit $ac_status); } && |
| 10469 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
| 10470 |
< |
|| test ! -s conftest.err' |
| 10471 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 10472 |
< |
(eval $ac_try) 2>&5 |
| 10493 |
< |
ac_status=$? |
| 10494 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10495 |
< |
(exit $ac_status); }; } && |
| 10496 |
< |
{ ac_try='test -s conftest$ac_exeext' |
| 10497 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 10498 |
< |
(eval $ac_try) 2>&5 |
| 10499 |
< |
ac_status=$? |
| 10500 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10501 |
< |
(exit $ac_status); }; }; then |
| 10468 |
> |
(exit $ac_status); } && { |
| 10469 |
> |
test -z "$ac_c_werror_flag" || |
| 10470 |
> |
test ! -s conftest.err |
| 10471 |
> |
} && test -s conftest$ac_exeext && |
| 10472 |
> |
$as_test_x conftest$ac_exeext; then |
| 10473 |
|
ac_cv_func_dlsym=yes |
| 10474 |
|
else |
| 10475 |
|
echo "$as_me: failed program was:" >&5 |
| 10476 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 10477 |
|
|
| 10478 |
< |
ac_cv_func_dlsym=no |
| 10478 |
> |
ac_cv_func_dlsym=no |
| 10479 |
|
fi |
| 10480 |
< |
rm -f conftest.err conftest.$ac_objext \ |
| 10480 |
> |
|
| 10481 |
> |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 10482 |
|
conftest$ac_exeext conftest.$ac_ext |
| 10483 |
|
fi |
| 10484 |
< |
echo "$as_me:$LINENO: result: $ac_cv_func_dlsym" >&5 |
| 10485 |
< |
echo "${ECHO_T}$ac_cv_func_dlsym" >&6 |
| 10484 |
> |
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlsym" >&5 |
| 10485 |
> |
echo "${ECHO_T}$ac_cv_func_dlsym" >&6; } |
| 10486 |
|
if test $ac_cv_func_dlsym = yes; then |
| 10487 |
|
: |
| 10488 |
|
else |
| 10498 |
|
for ac_func in dlfunc dlinfo |
| 10499 |
|
do |
| 10500 |
|
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 10501 |
< |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 10502 |
< |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
| 10503 |
< |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
| 10501 |
> |
{ echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 10502 |
> |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
| 10503 |
> |
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
| 10504 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 10505 |
|
else |
| 10506 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 10526 |
|
|
| 10527 |
|
#undef $ac_func |
| 10528 |
|
|
| 10529 |
< |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 10529 |
> |
/* Override any GCC internal prototype to avoid an error. |
| 10530 |
> |
Use char because int might match the return type of a GCC |
| 10531 |
> |
builtin and then its argument prototype would still apply. */ |
| 10532 |
|
#ifdef __cplusplus |
| 10533 |
|
extern "C" |
| 10560 |
– |
{ |
| 10534 |
|
#endif |
| 10562 |
– |
/* We use char because int might match the return type of a gcc2 |
| 10563 |
– |
builtin and then its argument prototype would still apply. */ |
| 10535 |
|
char $ac_func (); |
| 10536 |
|
/* The GNU C library defines this for functions which it implements |
| 10537 |
|
to always fail with ENOSYS. Some functions are actually named |
| 10538 |
|
something starting with __ and the normal name is an alias. */ |
| 10539 |
< |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
| 10539 |
> |
#if defined __stub_$ac_func || defined __stub___$ac_func |
| 10540 |
|
choke me |
| 10570 |
– |
#else |
| 10571 |
– |
char (*f) () = $ac_func; |
| 10572 |
– |
#endif |
| 10573 |
– |
#ifdef __cplusplus |
| 10574 |
– |
} |
| 10541 |
|
#endif |
| 10542 |
|
|
| 10543 |
|
int |
| 10544 |
|
main () |
| 10545 |
|
{ |
| 10546 |
< |
return f != $ac_func; |
| 10546 |
> |
return $ac_func (); |
| 10547 |
|
; |
| 10548 |
|
return 0; |
| 10549 |
|
} |
| 10550 |
|
_ACEOF |
| 10551 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
| 10552 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 10553 |
< |
(eval $ac_link) 2>conftest.er1 |
| 10552 |
> |
if { (ac_try="$ac_link" |
| 10553 |
> |
case "(($ac_try" in |
| 10554 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 10555 |
> |
*) ac_try_echo=$ac_try;; |
| 10556 |
> |
esac |
| 10557 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 10558 |
> |
(eval "$ac_link") 2>conftest.er1 |
| 10559 |
|
ac_status=$? |
| 10560 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 10561 |
|
rm -f conftest.er1 |
| 10562 |
|
cat conftest.err >&5 |
| 10563 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10564 |
< |
(exit $ac_status); } && |
| 10565 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
| 10566 |
< |
|| test ! -s conftest.err' |
| 10567 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 10568 |
< |
(eval $ac_try) 2>&5 |
| 10598 |
< |
ac_status=$? |
| 10599 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10600 |
< |
(exit $ac_status); }; } && |
| 10601 |
< |
{ ac_try='test -s conftest$ac_exeext' |
| 10602 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 10603 |
< |
(eval $ac_try) 2>&5 |
| 10604 |
< |
ac_status=$? |
| 10605 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10606 |
< |
(exit $ac_status); }; }; then |
| 10564 |
> |
(exit $ac_status); } && { |
| 10565 |
> |
test -z "$ac_c_werror_flag" || |
| 10566 |
> |
test ! -s conftest.err |
| 10567 |
> |
} && test -s conftest$ac_exeext && |
| 10568 |
> |
$as_test_x conftest$ac_exeext; then |
| 10569 |
|
eval "$as_ac_var=yes" |
| 10570 |
|
else |
| 10571 |
|
echo "$as_me: failed program was:" >&5 |
| 10572 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 10573 |
|
|
| 10574 |
< |
eval "$as_ac_var=no" |
| 10574 |
> |
eval "$as_ac_var=no" |
| 10575 |
|
fi |
| 10576 |
< |
rm -f conftest.err conftest.$ac_objext \ |
| 10576 |
> |
|
| 10577 |
> |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 10578 |
|
conftest$ac_exeext conftest.$ac_ext |
| 10579 |
|
fi |
| 10580 |
< |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
| 10581 |
< |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
| 10580 |
> |
ac_res=`eval echo '${'$as_ac_var'}'` |
| 10581 |
> |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 10582 |
> |
echo "${ECHO_T}$ac_res" >&6; } |
| 10583 |
|
if test `eval echo '${'$as_ac_var'}'` = yes; then |
| 10584 |
|
cat >>confdefs.h <<_ACEOF |
| 10585 |
|
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 10610 |
|
# The GNU linker requires the -export-dynamic option to make |
| 10611 |
|
# all symbols visible in the dynamic symbol table. |
| 10612 |
|
hold_ldflags=$LDFLAGS |
| 10613 |
< |
echo "$as_me:$LINENO: checking for the ld -export-dynamic flag" >&5 |
| 10614 |
< |
echo $ECHO_N "checking for the ld -export-dynamic flag... $ECHO_C" >&6 |
| 10613 |
> |
{ echo "$as_me:$LINENO: checking for the ld -export-dynamic flag" >&5 |
| 10614 |
> |
echo $ECHO_N "checking for the ld -export-dynamic flag... $ECHO_C" >&6; } |
| 10615 |
|
LDFLAGS="${LDFLAGS} -Wl,-export-dynamic" |
| 10616 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 10617 |
|
/* confdefs.h. */ |
| 10629 |
|
} |
| 10630 |
|
_ACEOF |
| 10631 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
| 10632 |
< |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 10633 |
< |
(eval $ac_link) 2>conftest.er1 |
| 10632 |
> |
if { (ac_try="$ac_link" |
| 10633 |
> |
case "(($ac_try" in |
| 10634 |
> |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 10635 |
> |
*) ac_try_echo=$ac_try;; |
| 10636 |
> |
esac |
| 10637 |
> |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 10638 |
> |
(eval "$ac_link") 2>conftest.er1 |
| 10639 |
|
ac_status=$? |
| 10640 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 10641 |
|
rm -f conftest.er1 |
| 10642 |
|
cat conftest.err >&5 |
| 10643 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10644 |
< |
(exit $ac_status); } && |
| 10645 |
< |
{ ac_try='test -z "$ac_c_werror_flag" |
| 10646 |
< |
|| test ! -s conftest.err' |
| 10647 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 10648 |
< |
(eval $ac_try) 2>&5 |
| 10680 |
< |
ac_status=$? |
| 10681 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10682 |
< |
(exit $ac_status); }; } && |
| 10683 |
< |
{ ac_try='test -s conftest$ac_exeext' |
| 10684 |
< |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 10685 |
< |
(eval $ac_try) 2>&5 |
| 10686 |
< |
ac_status=$? |
| 10687 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10688 |
< |
(exit $ac_status); }; }; then |
| 10644 |
> |
(exit $ac_status); } && { |
| 10645 |
> |
test -z "$ac_c_werror_flag" || |
| 10646 |
> |
test ! -s conftest.err |
| 10647 |
> |
} && test -s conftest$ac_exeext && |
| 10648 |
> |
$as_test_x conftest$ac_exeext; then |
| 10649 |
|
found=yes |
| 10650 |
|
else |
| 10651 |
|
echo "$as_me: failed program was:" >&5 |
| 10652 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 10653 |
|
|
| 10654 |
< |
found=no |
| 10654 |
> |
found=no |
| 10655 |
|
fi |
| 10656 |
< |
rm -f conftest.err conftest.$ac_objext \ |
| 10656 |
> |
|
| 10657 |
> |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 10658 |
|
conftest$ac_exeext conftest.$ac_ext |
| 10659 |
|
LDFLAGS=$hold_ldflags |
| 10660 |
|
|
| 10663 |
|
LDFLAGS="${LDFLAGS} -Wl,-B,dynamic" |
| 10664 |
|
fi |
| 10665 |
|
|
| 10666 |
< |
echo "$as_me:$LINENO: result: $found" >&5 |
| 10667 |
< |
echo "${ECHO_T}$found" >&6 |
| 10666 |
> |
{ echo "$as_me:$LINENO: result: $found" >&5 |
| 10667 |
> |
echo "${ECHO_T}$found" >&6; } |
| 10668 |
|
|
| 10669 |
|
if test "$found" = yes; then |
| 10670 |
|
LDFLAGS="${LDFLAGS} -Wl,-export-dynamic" |
| 10671 |
|
fi |
| 10672 |
|
|
| 10673 |
< |
echo "$as_me:$LINENO: checking for compiler option to produce PIC" >&5 |
| 10674 |
< |
echo $ECHO_N "checking for compiler option to produce PIC... $ECHO_C" >&6 |
| 10673 |
> |
{ echo "$as_me:$LINENO: checking for compiler option to produce PIC" >&5 |
| 10674 |
> |
echo $ECHO_N "checking for compiler option to produce PIC... $ECHO_C" >&6; } |
| 10675 |
|
if test "$SGS" = "yes"; then |
| 10676 |
< |
echo "$as_me:$LINENO: result: SVR4 SGS interfaces: -KPIC -DPIC -G" >&5 |
| 10677 |
< |
echo "${ECHO_T}SVR4 SGS interfaces: -KPIC -DPIC -G" >&6 |
| 10676 |
> |
{ echo "$as_me:$LINENO: result: SVR4 SGS interfaces: -KPIC -DPIC -G" >&5 |
| 10677 |
> |
echo "${ECHO_T}SVR4 SGS interfaces: -KPIC -DPIC -G" >&6; } |
| 10678 |
|
PICFLAGS="-KPIC -DPIC -G" |
| 10679 |
|
fi |
| 10680 |
|
|
| 10681 |
|
if test "$AppleGCC" = "yes"; then |
| 10682 |
< |
echo "$as_me:$LINENO: result: Darwin Mach-O bundles: -fno-common -bundle -flat_namespace -undefined suppress" >&5 |
| 10683 |
< |
echo "${ECHO_T}Darwin Mach-O bundles: -fno-common -bundle -flat_namespace -undefined suppress" >&6 |
| 10682 |
> |
{ echo "$as_me:$LINENO: result: Darwin Mach-O bundles: -fno-common -bundle -flat_namespace -undefined suppress" >&5 |
| 10683 |
> |
echo "${ECHO_T}Darwin Mach-O bundles: -fno-common -bundle -flat_namespace -undefined suppress" >&6; } |
| 10684 |
|
PICFLAGS="-fno-common -bundle -flat_namespace -undefined suppress" |
| 10685 |
|
fi |
| 10686 |
|
if test "$HPUX" = "yes" -a "$ac_cv_c_compiler_gnu" = no; then |
| 10687 |
< |
echo "$as_me:$LINENO: result: HP-UX cc: +z -r -q -n" >&5 |
| 10688 |
< |
echo "${ECHO_T}HP-UX cc: +z -r -q -n" >&6 |
| 10687 |
> |
{ echo "$as_me:$LINENO: result: HP-UX cc: +z -r -q -n" >&5 |
| 10688 |
> |
echo "${ECHO_T}HP-UX cc: +z -r -q -n" >&6; } |
| 10689 |
|
PICFLAGS="+z -r -q -n -c" |
| 10690 |
< |
echo "$as_me:$LINENO: checking if +ESfic is required on this platform" >&5 |
| 10691 |
< |
echo $ECHO_N "checking if +ESfic is required on this platform... $ECHO_C" >&6 |
| 10690 |
> |
{ echo "$as_me:$LINENO: checking if +ESfic is required on this platform" >&5 |
| 10691 |
> |
echo $ECHO_N "checking if +ESfic is required on this platform... $ECHO_C" >&6; } |
| 10692 |
|
|
| 10693 |
|
if expr "`$CC +ESfic 2>&1`" : ".*neither supported.*" >/dev/null; then |
| 10694 |
< |
echo "$as_me:$LINENO: result: no" >&5 |
| 10695 |
< |
echo "${ECHO_T}no" >&6 |
| 10694 |
> |
{ echo "$as_me:$LINENO: result: no" >&5 |
| 10695 |
> |
echo "${ECHO_T}no" >&6; } |
| 10696 |
|
else |
| 10697 |
< |
echo "$as_me:$LINENO: result: yes" >&5 |
| 10698 |
< |
echo "${ECHO_T}yes" >&6 |
| 10697 |
> |
{ echo "$as_me:$LINENO: result: yes" >&5 |
| 10698 |
> |
echo "${ECHO_T}yes" >&6; } |
| 10699 |
|
PICFLAGS="$PICFLAGS +ESfic" |
| 10700 |
|
fi |
| 10701 |
|
|
| 10702 |
|
LDFLAGS="${LDFLAGS} -Wl,-E" |
| 10703 |
|
fi |
| 10704 |
|
if test "$Tru" = yes -a "$ac_cv_c_compiler_gnu" = no; then |
| 10705 |
< |
echo "$as_me:$LINENO: result: Tru64: -shared -expect_unresolved '*'" >&5 |
| 10706 |
< |
echo "${ECHO_T}Tru64: -shared -expect_unresolved '*'" >&6 |
| 10705 |
> |
{ echo "$as_me:$LINENO: result: Tru64: -shared -expect_unresolved '*'" >&5 |
| 10706 |
> |
echo "${ECHO_T}Tru64: -shared -expect_unresolved '*'" >&6; } |
| 10707 |
|
PICFLAGS="-shared -expect_unresolved '*' " |
| 10708 |
|
LDFLAGS="-call_shared" |
| 10709 |
|
fi |
| 10710 |
|
if test -z "$PICFLAGS"; then |
| 10711 |
|
if test "$ac_cv_c_compiler_gnu" = "yes"; then |
| 10712 |
< |
echo "$as_me:$LINENO: result: gcc: -fPIC -DPIC -shared" >&5 |
| 10713 |
< |
echo "${ECHO_T}gcc: -fPIC -DPIC -shared" >&6 |
| 10712 |
> |
{ echo "$as_me:$LINENO: result: gcc: -fPIC -DPIC -shared" >&5 |
| 10713 |
> |
echo "${ECHO_T}gcc: -fPIC -DPIC -shared" >&6; } |
| 10714 |
|
PICFLAGS="-fPIC -DPIC -shared" |
| 10715 |
|
else |
| 10716 |
< |
echo "$as_me:$LINENO: result: no" >&5 |
| 10717 |
< |
echo "${ECHO_T}no" >&6 |
| 10716 |
> |
{ echo "$as_me:$LINENO: result: no" >&5 |
| 10717 |
> |
echo "${ECHO_T}no" >&6; } |
| 10718 |
|
shared_modules=no |
| 10719 |
|
fi |
| 10720 |
|
fi |
| 10766 |
|
|
| 10767 |
|
fi |
| 10768 |
|
|
| 10769 |
< |
ac_config_files="$ac_config_files Makefile etc/Makefile servlink/Makefile contrib/Makefile src/Makefile messages/Makefile modules/Makefile tools/Makefile doc/Makefile help/Makefile libio/Makefile libio/comm/Makefile libio/mem/Makefile libio/misc/Makefile libio/net/Makefile libio/string/Makefile" |
| 10769 |
> |
ac_config_files="$ac_config_files Makefile etc/Makefile servlink/Makefile contrib/Makefile src/Makefile messages/Makefile modules/Makefile tools/Makefile doc/Makefile help/Makefile libio/Makefile libio/comm/Makefile libio/mem/Makefile libio/misc/Makefile libio/net/Makefile libio/string/Makefile" |
| 10770 |
|
|
| 10771 |
|
|
| 10772 |
|
cat >confcache <<\_ACEOF |
| 10787 |
|
|
| 10788 |
|
# The following way of writing the cache mishandles newlines in values, |
| 10789 |
|
# but we know of no workaround that is simple, portable, and efficient. |
| 10790 |
< |
# So, don't put newlines in cache variables' values. |
| 10790 |
> |
# So, we kill variables containing newlines. |
| 10791 |
|
# Ultrix sh set writes to stderr and can't be redirected directly, |
| 10792 |
|
# and sets the high bit in the cache file unless we assign to the vars. |
| 10793 |
< |
{ |
| 10793 |
> |
( |
| 10794 |
> |
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do |
| 10795 |
> |
eval ac_val=\$$ac_var |
| 10796 |
> |
case $ac_val in #( |
| 10797 |
> |
*${as_nl}*) |
| 10798 |
> |
case $ac_var in #( |
| 10799 |
> |
*_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 |
| 10800 |
> |
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; |
| 10801 |
> |
esac |
| 10802 |
> |
case $ac_var in #( |
| 10803 |
> |
_ | IFS | as_nl) ;; #( |
| 10804 |
> |
*) $as_unset $ac_var ;; |
| 10805 |
> |
esac ;; |
| 10806 |
> |
esac |
| 10807 |
> |
done |
| 10808 |
> |
|
| 10809 |
|
(set) 2>&1 | |
| 10810 |
< |
case `(ac_space=' '; set | grep ac_space) 2>&1` in |
| 10811 |
< |
*ac_space=\ *) |
| 10810 |
> |
case $as_nl`(ac_space=' '; set) 2>&1` in #( |
| 10811 |
> |
*${as_nl}ac_space=\ *) |
| 10812 |
|
# `set' does not quote correctly, so add quotes (double-quote |
| 10813 |
|
# substitution turns \\\\ into \\, and sed turns \\ into \). |
| 10814 |
|
sed -n \ |
| 10815 |
|
"s/'/'\\\\''/g; |
| 10816 |
|
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
| 10817 |
< |
;; |
| 10817 |
> |
;; #( |
| 10818 |
|
*) |
| 10819 |
|
# `set' quotes correctly as required by POSIX, so do not add quotes. |
| 10820 |
< |
sed -n \ |
| 10845 |
< |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
| 10820 |
> |
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
| 10821 |
|
;; |
| 10822 |
< |
esac; |
| 10823 |
< |
} | |
| 10822 |
> |
esac | |
| 10823 |
> |
sort |
| 10824 |
> |
) | |
| 10825 |
|
sed ' |
| 10826 |
+ |
/^ac_cv_env_/b end |
| 10827 |
|
t clear |
| 10828 |
< |
: clear |
| 10828 |
> |
:clear |
| 10829 |
|
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
| 10830 |
|
t end |
| 10831 |
< |
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
| 10832 |
< |
: end' >>confcache |
| 10833 |
< |
if diff $cache_file confcache >/dev/null 2>&1; then :; else |
| 10834 |
< |
if test -w $cache_file; then |
| 10835 |
< |
test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" |
| 10831 |
> |
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
| 10832 |
> |
:end' >>confcache |
| 10833 |
> |
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
| 10834 |
> |
if test -w "$cache_file"; then |
| 10835 |
> |
test "x$cache_file" != "x/dev/null" && |
| 10836 |
> |
{ echo "$as_me:$LINENO: updating cache $cache_file" >&5 |
| 10837 |
> |
echo "$as_me: updating cache $cache_file" >&6;} |
| 10838 |
|
cat confcache >$cache_file |
| 10839 |
|
else |
| 10840 |
< |
echo "not updating unwritable cache $cache_file" |
| 10840 |
> |
{ echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 |
| 10841 |
> |
echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
| 10842 |
|
fi |
| 10843 |
|
fi |
| 10844 |
|
rm -f confcache |
| 10847 |
|
# Let make expand exec_prefix. |
| 10848 |
|
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
| 10849 |
|
|
| 10870 |
– |
# VPATH may cause trouble with some makes, so we remove $(srcdir), |
| 10871 |
– |
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and |
| 10872 |
– |
# trailing colons and then remove the whole line if VPATH becomes empty |
| 10873 |
– |
# (actually we leave an empty line to preserve line numbers). |
| 10874 |
– |
if test "x$srcdir" = x.; then |
| 10875 |
– |
ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
| 10876 |
– |
s/:*\$(srcdir):*/:/; |
| 10877 |
– |
s/:*\${srcdir}:*/:/; |
| 10878 |
– |
s/:*@srcdir@:*/:/; |
| 10879 |
– |
s/^\([^=]*=[ ]*\):*/\1/; |
| 10880 |
– |
s/:*$//; |
| 10881 |
– |
s/^[^=]*=[ ]*$//; |
| 10882 |
– |
}' |
| 10883 |
– |
fi |
| 10884 |
– |
|
| 10850 |
|
DEFS=-DHAVE_CONFIG_H |
| 10851 |
|
|
| 10852 |
|
ac_libobjs= |
| 10853 |
|
ac_ltlibobjs= |
| 10854 |
|
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
| 10855 |
|
# 1. Remove the extension, and $U if already installed. |
| 10856 |
< |
ac_i=`echo "$ac_i" | |
| 10857 |
< |
sed 's/\$U\././;s/\.o$//;s/\.obj$//'` |
| 10858 |
< |
# 2. Add them. |
| 10859 |
< |
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" |
| 10860 |
< |
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' |
| 10856 |
> |
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
| 10857 |
> |
ac_i=`echo "$ac_i" | sed "$ac_script"` |
| 10858 |
> |
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
| 10859 |
> |
# will be set to the directory where LIBOBJS objects are built. |
| 10860 |
> |
ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
| 10861 |
> |
ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' |
| 10862 |
|
done |
| 10863 |
|
LIBOBJS=$ac_libobjs |
| 10864 |
|
|
| 10889 |
|
## M4sh Initialization. ## |
| 10890 |
|
## --------------------- ## |
| 10891 |
|
|
| 10892 |
< |
# Be Bourne compatible |
| 10892 |
> |
# Be more Bourne compatible |
| 10893 |
> |
DUALCASE=1; export DUALCASE # for MKS sh |
| 10894 |
|
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
| 10895 |
|
emulate sh |
| 10896 |
|
NULLCMD=: |
| 10897 |
|
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
| 10898 |
|
# is contrary to our usage. Disable this feature. |
| 10899 |
|
alias -g '${1+"$@"}'='"$@"' |
| 10900 |
< |
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
| 10901 |
< |
set -o posix |
| 10900 |
> |
setopt NO_GLOB_SUBST |
| 10901 |
> |
else |
| 10902 |
> |
case `(set -o) 2>/dev/null` in |
| 10903 |
> |
*posix*) set -o posix ;; |
| 10904 |
> |
esac |
| 10905 |
> |
|
| 10906 |
> |
fi |
| 10907 |
> |
|
| 10908 |
> |
|
| 10909 |
> |
|
| 10910 |
> |
|
| 10911 |
> |
# PATH needs CR |
| 10912 |
> |
# Avoid depending upon Character Ranges. |
| 10913 |
> |
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
| 10914 |
> |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
| 10915 |
> |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
| 10916 |
> |
as_cr_digits='0123456789' |
| 10917 |
> |
as_cr_alnum=$as_cr_Letters$as_cr_digits |
| 10918 |
> |
|
| 10919 |
> |
# The user is always right. |
| 10920 |
> |
if test "${PATH_SEPARATOR+set}" != set; then |
| 10921 |
> |
echo "#! /bin/sh" >conf$$.sh |
| 10922 |
> |
echo "exit 0" >>conf$$.sh |
| 10923 |
> |
chmod +x conf$$.sh |
| 10924 |
> |
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
| 10925 |
> |
PATH_SEPARATOR=';' |
| 10926 |
> |
else |
| 10927 |
> |
PATH_SEPARATOR=: |
| 10928 |
> |
fi |
| 10929 |
> |
rm -f conf$$.sh |
| 10930 |
|
fi |
| 10936 |
– |
DUALCASE=1; export DUALCASE # for MKS sh |
| 10931 |
|
|
| 10932 |
|
# Support unset when possible. |
| 10933 |
|
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
| 10937 |
|
fi |
| 10938 |
|
|
| 10939 |
|
|
| 10940 |
+ |
# IFS |
| 10941 |
+ |
# We need space, tab and new line, in precisely that order. Quoting is |
| 10942 |
+ |
# there to prevent editors from complaining about space-tab. |
| 10943 |
+ |
# (If _AS_PATH_WALK were called with IFS unset, it would disable word |
| 10944 |
+ |
# splitting by setting IFS to empty value.) |
| 10945 |
+ |
as_nl=' |
| 10946 |
+ |
' |
| 10947 |
+ |
IFS=" "" $as_nl" |
| 10948 |
+ |
|
| 10949 |
+ |
# Find who we are. Look in the path if we contain no directory separator. |
| 10950 |
+ |
case $0 in |
| 10951 |
+ |
*[\\/]* ) as_myself=$0 ;; |
| 10952 |
+ |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 10953 |
+ |
for as_dir in $PATH |
| 10954 |
+ |
do |
| 10955 |
+ |
IFS=$as_save_IFS |
| 10956 |
+ |
test -z "$as_dir" && as_dir=. |
| 10957 |
+ |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
| 10958 |
+ |
done |
| 10959 |
+ |
IFS=$as_save_IFS |
| 10960 |
+ |
|
| 10961 |
+ |
;; |
| 10962 |
+ |
esac |
| 10963 |
+ |
# We did not find ourselves, most probably we were run as `sh COMMAND' |
| 10964 |
+ |
# in which case we are not to be found in the path. |
| 10965 |
+ |
if test "x$as_myself" = x; then |
| 10966 |
+ |
as_myself=$0 |
| 10967 |
+ |
fi |
| 10968 |
+ |
if test ! -f "$as_myself"; then |
| 10969 |
+ |
echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
| 10970 |
+ |
{ (exit 1); exit 1; } |
| 10971 |
+ |
fi |
| 10972 |
+ |
|
| 10973 |
|
# Work around bugs in pre-3.0 UWIN ksh. |
| 10974 |
< |
$as_unset ENV MAIL MAILPATH |
| 10974 |
> |
for as_var in ENV MAIL MAILPATH |
| 10975 |
> |
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
| 10976 |
> |
done |
| 10977 |
|
PS1='$ ' |
| 10978 |
|
PS2='> ' |
| 10979 |
|
PS4='+ ' |
| 10987 |
|
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
| 10988 |
|
eval $as_var=C; export $as_var |
| 10989 |
|
else |
| 10990 |
< |
$as_unset $as_var |
| 10990 |
> |
($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
| 10991 |
|
fi |
| 10992 |
|
done |
| 10993 |
|
|
| 10994 |
|
# Required to use basename. |
| 10995 |
< |
if expr a : '\(a\)' >/dev/null 2>&1; then |
| 10995 |
> |
if expr a : '\(a\)' >/dev/null 2>&1 && |
| 10996 |
> |
test "X`expr 00001 : '.*\(...\)'`" = X001; then |
| 10997 |
|
as_expr=expr |
| 10998 |
|
else |
| 10999 |
|
as_expr=false |
| 11000 |
|
fi |
| 11001 |
|
|
| 11002 |
< |
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then |
| 11002 |
> |
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
| 11003 |
|
as_basename=basename |
| 11004 |
|
else |
| 11005 |
|
as_basename=false |
| 11007 |
|
|
| 11008 |
|
|
| 11009 |
|
# Name of the executable. |
| 11010 |
< |
as_me=`$as_basename "$0" || |
| 11010 |
> |
as_me=`$as_basename -- "$0" || |
| 11011 |
|
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
| 11012 |
|
X"$0" : 'X\(//\)$' \| \ |
| 11013 |
< |
X"$0" : 'X\(/\)$' \| \ |
| 10984 |
< |
. : '\(.\)' 2>/dev/null || |
| 11013 |
> |
X"$0" : 'X\(/\)' \| . 2>/dev/null || |
| 11014 |
|
echo X/"$0" | |
| 11015 |
< |
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } |
| 11016 |
< |
/^X\/\(\/\/\)$/{ s//\1/; q; } |
| 11017 |
< |
/^X\/\(\/\).*/{ s//\1/; q; } |
| 11018 |
< |
s/.*/./; q'` |
| 11015 |
> |
sed '/^.*\/\([^/][^/]*\)\/*$/{ |
| 11016 |
> |
s//\1/ |
| 11017 |
> |
q |
| 11018 |
> |
} |
| 11019 |
> |
/^X\/\(\/\/\)$/{ |
| 11020 |
> |
s//\1/ |
| 11021 |
> |
q |
| 11022 |
> |
} |
| 11023 |
> |
/^X\/\(\/\).*/{ |
| 11024 |
> |
s//\1/ |
| 11025 |
> |
q |
| 11026 |
> |
} |
| 11027 |
> |
s/.*/./; q'` |
| 11028 |
|
|
| 11029 |
< |
|
| 11030 |
< |
# PATH needs CR, and LINENO needs CR and PATH. |
| 10993 |
< |
# Avoid depending upon Character Ranges. |
| 10994 |
< |
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
| 10995 |
< |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
| 10996 |
< |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
| 10997 |
< |
as_cr_digits='0123456789' |
| 10998 |
< |
as_cr_alnum=$as_cr_Letters$as_cr_digits |
| 10999 |
< |
|
| 11000 |
< |
# The user is always right. |
| 11001 |
< |
if test "${PATH_SEPARATOR+set}" != set; then |
| 11002 |
< |
echo "#! /bin/sh" >conf$$.sh |
| 11003 |
< |
echo "exit 0" >>conf$$.sh |
| 11004 |
< |
chmod +x conf$$.sh |
| 11005 |
< |
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
| 11006 |
< |
PATH_SEPARATOR=';' |
| 11007 |
< |
else |
| 11008 |
< |
PATH_SEPARATOR=: |
| 11009 |
< |
fi |
| 11010 |
< |
rm -f conf$$.sh |
| 11011 |
< |
fi |
| 11029 |
> |
# CDPATH. |
| 11030 |
> |
$as_unset CDPATH |
| 11031 |
|
|
| 11032 |
|
|
| 11014 |
– |
as_lineno_1=$LINENO |
| 11015 |
– |
as_lineno_2=$LINENO |
| 11016 |
– |
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
| 11017 |
– |
test "x$as_lineno_1" != "x$as_lineno_2" && |
| 11018 |
– |
test "x$as_lineno_3" = "x$as_lineno_2" || { |
| 11019 |
– |
# Find who we are. Look in the path if we contain no path at all |
| 11020 |
– |
# relative or not. |
| 11021 |
– |
case $0 in |
| 11022 |
– |
*[\\/]* ) as_myself=$0 ;; |
| 11023 |
– |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 11024 |
– |
for as_dir in $PATH |
| 11025 |
– |
do |
| 11026 |
– |
IFS=$as_save_IFS |
| 11027 |
– |
test -z "$as_dir" && as_dir=. |
| 11028 |
– |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
| 11029 |
– |
done |
| 11033 |
|
|
| 11031 |
– |
;; |
| 11032 |
– |
esac |
| 11033 |
– |
# We did not find ourselves, most probably we were run as `sh COMMAND' |
| 11034 |
– |
# in which case we are not to be found in the path. |
| 11035 |
– |
if test "x$as_myself" = x; then |
| 11036 |
– |
as_myself=$0 |
| 11037 |
– |
fi |
| 11038 |
– |
if test ! -f "$as_myself"; then |
| 11039 |
– |
{ { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 |
| 11040 |
– |
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} |
| 11041 |
– |
{ (exit 1); exit 1; }; } |
| 11042 |
– |
fi |
| 11043 |
– |
case $CONFIG_SHELL in |
| 11044 |
– |
'') |
| 11045 |
– |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 11046 |
– |
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
| 11047 |
– |
do |
| 11048 |
– |
IFS=$as_save_IFS |
| 11049 |
– |
test -z "$as_dir" && as_dir=. |
| 11050 |
– |
for as_base in sh bash ksh sh5; do |
| 11051 |
– |
case $as_dir in |
| 11052 |
– |
/*) |
| 11053 |
– |
if ("$as_dir/$as_base" -c ' |
| 11034 |
|
as_lineno_1=$LINENO |
| 11035 |
|
as_lineno_2=$LINENO |
| 11056 |
– |
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
| 11036 |
|
test "x$as_lineno_1" != "x$as_lineno_2" && |
| 11037 |
< |
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then |
| 11059 |
< |
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } |
| 11060 |
< |
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } |
| 11061 |
< |
CONFIG_SHELL=$as_dir/$as_base |
| 11062 |
< |
export CONFIG_SHELL |
| 11063 |
< |
exec "$CONFIG_SHELL" "$0" ${1+"$@"} |
| 11064 |
< |
fi;; |
| 11065 |
< |
esac |
| 11066 |
< |
done |
| 11067 |
< |
done |
| 11068 |
< |
;; |
| 11069 |
< |
esac |
| 11037 |
> |
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { |
| 11038 |
|
|
| 11039 |
|
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
| 11040 |
|
# uniformly replaced by the line number. The first 'sed' inserts a |
| 11041 |
< |
# line-number line before each line; the second 'sed' does the real |
| 11042 |
< |
# work. The second script uses 'N' to pair each line-number line |
| 11043 |
< |
# with the numbered line, and appends trailing '-' during |
| 11044 |
< |
# substitution so that $LINENO is not a special case at line end. |
| 11041 |
> |
# line-number line after each line using $LINENO; the second 'sed' |
| 11042 |
> |
# does the real work. The second script uses 'N' to pair each |
| 11043 |
> |
# line-number line with the line containing $LINENO, and appends |
| 11044 |
> |
# trailing '-' during substitution so that $LINENO is not a special |
| 11045 |
> |
# case at line end. |
| 11046 |
|
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
| 11047 |
< |
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) |
| 11048 |
< |
sed '=' <$as_myself | |
| 11047 |
> |
# scripts with optimization help from Paolo Bonzini. Blame Lee |
| 11048 |
> |
# E. McMahon (1931-1989) for sed's syntax. :-) |
| 11049 |
> |
sed -n ' |
| 11050 |
> |
p |
| 11051 |
> |
/[$]LINENO/= |
| 11052 |
> |
' <$as_myself | |
| 11053 |
|
sed ' |
| 11054 |
+ |
s/[$]LINENO.*/&-/ |
| 11055 |
+ |
t lineno |
| 11056 |
+ |
b |
| 11057 |
+ |
:lineno |
| 11058 |
|
N |
| 11059 |
< |
s,$,-, |
| 11060 |
< |
: loop |
| 11084 |
< |
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, |
| 11059 |
> |
:loop |
| 11060 |
> |
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
| 11061 |
|
t loop |
| 11062 |
< |
s,-$,, |
| 11087 |
< |
s,^['$as_cr_digits']*\n,, |
| 11062 |
> |
s/-\n.*// |
| 11063 |
|
' >$as_me.lineno && |
| 11064 |
< |
chmod +x $as_me.lineno || |
| 11065 |
< |
{ { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 |
| 11091 |
< |
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} |
| 11064 |
> |
chmod +x "$as_me.lineno" || |
| 11065 |
> |
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
| 11066 |
|
{ (exit 1); exit 1; }; } |
| 11067 |
|
|
| 11068 |
|
# Don't try to exec as it changes $[0], causing all sort of problems |
| 11069 |
|
# (the dirname of $[0] is not the place where we might find the |
| 11070 |
< |
# original and so on. Autoconf is especially sensible to this). |
| 11071 |
< |
. ./$as_me.lineno |
| 11070 |
> |
# original and so on. Autoconf is especially sensitive to this). |
| 11071 |
> |
. "./$as_me.lineno" |
| 11072 |
|
# Exit status is that of the last command. |
| 11073 |
|
exit |
| 11074 |
|
} |
| 11075 |
|
|
| 11076 |
|
|
| 11077 |
< |
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in |
| 11078 |
< |
*c*,-n*) ECHO_N= ECHO_C=' |
| 11079 |
< |
' ECHO_T=' ' ;; |
| 11080 |
< |
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; |
| 11081 |
< |
*) ECHO_N= ECHO_C='\c' ECHO_T= ;; |
| 11077 |
> |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
| 11078 |
> |
as_dirname=dirname |
| 11079 |
> |
else |
| 11080 |
> |
as_dirname=false |
| 11081 |
> |
fi |
| 11082 |
> |
|
| 11083 |
> |
ECHO_C= ECHO_N= ECHO_T= |
| 11084 |
> |
case `echo -n x` in |
| 11085 |
> |
-n*) |
| 11086 |
> |
case `echo 'x\c'` in |
| 11087 |
> |
*c*) ECHO_T=' ';; # ECHO_T is single tab character. |
| 11088 |
> |
*) ECHO_C='\c';; |
| 11089 |
> |
esac;; |
| 11090 |
> |
*) |
| 11091 |
> |
ECHO_N='-n';; |
| 11092 |
|
esac |
| 11093 |
|
|
| 11094 |
< |
if expr a : '\(a\)' >/dev/null 2>&1; then |
| 11094 |
> |
if expr a : '\(a\)' >/dev/null 2>&1 && |
| 11095 |
> |
test "X`expr 00001 : '.*\(...\)'`" = X001; then |
| 11096 |
|
as_expr=expr |
| 11097 |
|
else |
| 11098 |
|
as_expr=false |
| 11099 |
|
fi |
| 11100 |
|
|
| 11101 |
|
rm -f conf$$ conf$$.exe conf$$.file |
| 11102 |
+ |
if test -d conf$$.dir; then |
| 11103 |
+ |
rm -f conf$$.dir/conf$$.file |
| 11104 |
+ |
else |
| 11105 |
+ |
rm -f conf$$.dir |
| 11106 |
+ |
mkdir conf$$.dir |
| 11107 |
+ |
fi |
| 11108 |
|
echo >conf$$.file |
| 11109 |
|
if ln -s conf$$.file conf$$ 2>/dev/null; then |
| 11110 |
< |
# We could just check for DJGPP; but this test a) works b) is more generic |
| 11111 |
< |
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). |
| 11112 |
< |
if test -f conf$$.exe; then |
| 11113 |
< |
# Don't use ln at all; we don't have any links |
| 11110 |
> |
as_ln_s='ln -s' |
| 11111 |
> |
# ... but there are two gotchas: |
| 11112 |
> |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
| 11113 |
> |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
| 11114 |
> |
# In both cases, we have to default to `cp -p'. |
| 11115 |
> |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
| 11116 |
|
as_ln_s='cp -p' |
| 11124 |
– |
else |
| 11125 |
– |
as_ln_s='ln -s' |
| 11126 |
– |
fi |
| 11117 |
|
elif ln conf$$.file conf$$ 2>/dev/null; then |
| 11118 |
|
as_ln_s=ln |
| 11119 |
|
else |
| 11120 |
|
as_ln_s='cp -p' |
| 11121 |
|
fi |
| 11122 |
< |
rm -f conf$$ conf$$.exe conf$$.file |
| 11122 |
> |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
| 11123 |
> |
rmdir conf$$.dir 2>/dev/null |
| 11124 |
|
|
| 11125 |
|
if mkdir -p . 2>/dev/null; then |
| 11126 |
|
as_mkdir_p=: |
| 11129 |
|
as_mkdir_p=false |
| 11130 |
|
fi |
| 11131 |
|
|
| 11132 |
< |
as_executable_p="test -f" |
| 11132 |
> |
if test -x / >/dev/null 2>&1; then |
| 11133 |
> |
as_test_x='test -x' |
| 11134 |
> |
else |
| 11135 |
> |
if ls -dL / >/dev/null 2>&1; then |
| 11136 |
> |
as_ls_L_option=L |
| 11137 |
> |
else |
| 11138 |
> |
as_ls_L_option= |
| 11139 |
> |
fi |
| 11140 |
> |
as_test_x=' |
| 11141 |
> |
eval sh -c '\'' |
| 11142 |
> |
if test -d "$1"; then |
| 11143 |
> |
test -d "$1/."; |
| 11144 |
> |
else |
| 11145 |
> |
case $1 in |
| 11146 |
> |
-*)set "./$1";; |
| 11147 |
> |
esac; |
| 11148 |
> |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in |
| 11149 |
> |
???[sx]*):;;*)false;;esac;fi |
| 11150 |
> |
'\'' sh |
| 11151 |
> |
' |
| 11152 |
> |
fi |
| 11153 |
> |
as_executable_p=$as_test_x |
| 11154 |
|
|
| 11155 |
|
# Sed expression to map a string onto a valid CPP name. |
| 11156 |
|
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
| 11159 |
|
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
| 11160 |
|
|
| 11161 |
|
|
| 11150 |
– |
# IFS |
| 11151 |
– |
# We need space, tab and new line, in precisely that order. |
| 11152 |
– |
as_nl=' |
| 11153 |
– |
' |
| 11154 |
– |
IFS=" $as_nl" |
| 11155 |
– |
|
| 11156 |
– |
# CDPATH. |
| 11157 |
– |
$as_unset CDPATH |
| 11158 |
– |
|
| 11162 |
|
exec 6>&1 |
| 11163 |
|
|
| 11164 |
< |
# Open the log real soon, to keep \$[0] and so on meaningful, and to |
| 11164 |
> |
# Save the log message, to keep $[0] and so on meaningful, and to |
| 11165 |
|
# report actual input values of CONFIG_FILES etc. instead of their |
| 11166 |
< |
# values after options handling. Logging --version etc. is OK. |
| 11167 |
< |
exec 5>>config.log |
| 11165 |
< |
{ |
| 11166 |
< |
echo |
| 11167 |
< |
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
| 11168 |
< |
## Running $as_me. ## |
| 11169 |
< |
_ASBOX |
| 11170 |
< |
} >&5 |
| 11171 |
< |
cat >&5 <<_CSEOF |
| 11172 |
< |
|
| 11166 |
> |
# values after options handling. |
| 11167 |
> |
ac_log=" |
| 11168 |
|
This file was extended by ircd-hybrid $as_me 7.3, which was |
| 11169 |
< |
generated by GNU Autoconf 2.59. Invocation command line was |
| 11169 |
> |
generated by GNU Autoconf 2.61. Invocation command line was |
| 11170 |
|
|
| 11171 |
|
CONFIG_FILES = $CONFIG_FILES |
| 11172 |
|
CONFIG_HEADERS = $CONFIG_HEADERS |
| 11174 |
|
CONFIG_COMMANDS = $CONFIG_COMMANDS |
| 11175 |
|
$ $0 $@ |
| 11176 |
|
|
| 11177 |
< |
_CSEOF |
| 11178 |
< |
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 |
| 11179 |
< |
echo >&5 |
| 11177 |
> |
on `(hostname || uname -n) 2>/dev/null | sed 1q` |
| 11178 |
> |
" |
| 11179 |
> |
|
| 11180 |
|
_ACEOF |
| 11181 |
|
|
| 11182 |
+ |
cat >>$CONFIG_STATUS <<_ACEOF |
| 11183 |
|
# Files that config.status was made for. |
| 11184 |
< |
if test -n "$ac_config_files"; then |
| 11185 |
< |
echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS |
| 11190 |
< |
fi |
| 11191 |
< |
|
| 11192 |
< |
if test -n "$ac_config_headers"; then |
| 11193 |
< |
echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS |
| 11194 |
< |
fi |
| 11195 |
< |
|
| 11196 |
< |
if test -n "$ac_config_links"; then |
| 11197 |
< |
echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS |
| 11198 |
< |
fi |
| 11184 |
> |
config_files="$ac_config_files" |
| 11185 |
> |
config_headers="$ac_config_headers" |
| 11186 |
|
|
| 11187 |
< |
if test -n "$ac_config_commands"; then |
| 11201 |
< |
echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS |
| 11202 |
< |
fi |
| 11187 |
> |
_ACEOF |
| 11188 |
|
|
| 11189 |
|
cat >>$CONFIG_STATUS <<\_ACEOF |
| 11205 |
– |
|
| 11190 |
|
ac_cs_usage="\ |
| 11191 |
|
\`$as_me' instantiates files from templates according to the |
| 11192 |
|
current configuration. |
| 11194 |
|
Usage: $0 [OPTIONS] [FILE]... |
| 11195 |
|
|
| 11196 |
|
-h, --help print this help, then exit |
| 11197 |
< |
-V, --version print version number, then exit |
| 11197 |
> |
-V, --version print version number and configuration settings, then exit |
| 11198 |
|
-q, --quiet do not print progress messages |
| 11199 |
|
-d, --debug don't remove temporary files |
| 11200 |
|
--recheck update $as_me by reconfiguring in the same conditions |
| 11210 |
|
$config_headers |
| 11211 |
|
|
| 11212 |
|
Report bugs to <bug-autoconf@gnu.org>." |
| 11229 |
– |
_ACEOF |
| 11213 |
|
|
| 11214 |
+ |
_ACEOF |
| 11215 |
|
cat >>$CONFIG_STATUS <<_ACEOF |
| 11216 |
|
ac_cs_version="\\ |
| 11217 |
|
ircd-hybrid config.status 7.3 |
| 11218 |
< |
configured by $0, generated by GNU Autoconf 2.59, |
| 11219 |
< |
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" |
| 11218 |
> |
configured by $0, generated by GNU Autoconf 2.61, |
| 11219 |
> |
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" |
| 11220 |
|
|
| 11221 |
< |
Copyright (C) 2003 Free Software Foundation, Inc. |
| 11221 |
> |
Copyright (C) 2006 Free Software Foundation, Inc. |
| 11222 |
|
This config.status script is free software; the Free Software Foundation |
| 11223 |
|
gives unlimited permission to copy, distribute and modify it." |
| 11224 |
< |
srcdir=$srcdir |
| 11225 |
< |
INSTALL="$INSTALL" |
| 11224 |
> |
|
| 11225 |
> |
ac_pwd='$ac_pwd' |
| 11226 |
> |
srcdir='$srcdir' |
| 11227 |
> |
INSTALL='$INSTALL' |
| 11228 |
|
_ACEOF |
| 11229 |
|
|
| 11230 |
|
cat >>$CONFIG_STATUS <<\_ACEOF |
| 11235 |
|
do |
| 11236 |
|
case $1 in |
| 11237 |
|
--*=*) |
| 11238 |
< |
ac_option=`expr "x$1" : 'x\([^=]*\)='` |
| 11239 |
< |
ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` |
| 11238 |
> |
ac_option=`expr "X$1" : 'X\([^=]*\)='` |
| 11239 |
> |
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
| 11240 |
|
ac_shift=: |
| 11241 |
|
;; |
| 11242 |
< |
-*) |
| 11242 |
> |
*) |
| 11243 |
|
ac_option=$1 |
| 11244 |
|
ac_optarg=$2 |
| 11245 |
|
ac_shift=shift |
| 11246 |
|
;; |
| 11261 |
– |
*) # This is not an option, so the user has probably given explicit |
| 11262 |
– |
# arguments. |
| 11263 |
– |
ac_option=$1 |
| 11264 |
– |
ac_need_defaults=false;; |
| 11247 |
|
esac |
| 11248 |
|
|
| 11249 |
|
case $ac_option in |
| 11250 |
|
# Handling of the options. |
| 11269 |
– |
_ACEOF |
| 11270 |
– |
cat >>$CONFIG_STATUS <<\_ACEOF |
| 11251 |
|
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
| 11252 |
|
ac_cs_recheck=: ;; |
| 11253 |
< |
--version | --vers* | -V ) |
| 11254 |
< |
echo "$ac_cs_version"; exit 0 ;; |
| 11255 |
< |
--he | --h) |
| 11276 |
< |
# Conflict between --help and --header |
| 11277 |
< |
{ { echo "$as_me:$LINENO: error: ambiguous option: $1 |
| 11278 |
< |
Try \`$0 --help' for more information." >&5 |
| 11279 |
< |
echo "$as_me: error: ambiguous option: $1 |
| 11280 |
< |
Try \`$0 --help' for more information." >&2;} |
| 11281 |
< |
{ (exit 1); exit 1; }; };; |
| 11282 |
< |
--help | --hel | -h ) |
| 11283 |
< |
echo "$ac_cs_usage"; exit 0 ;; |
| 11284 |
< |
--debug | --d* | -d ) |
| 11253 |
> |
--version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
| 11254 |
> |
echo "$ac_cs_version"; exit ;; |
| 11255 |
> |
--debug | --debu | --deb | --de | --d | -d ) |
| 11256 |
|
debug=: ;; |
| 11257 |
|
--file | --fil | --fi | --f ) |
| 11258 |
|
$ac_shift |
| 11262 |
|
$ac_shift |
| 11263 |
|
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" |
| 11264 |
|
ac_need_defaults=false;; |
| 11265 |
+ |
--he | --h) |
| 11266 |
+ |
# Conflict between --help and --header |
| 11267 |
+ |
{ echo "$as_me: error: ambiguous option: $1 |
| 11268 |
+ |
Try \`$0 --help' for more information." >&2 |
| 11269 |
+ |
{ (exit 1); exit 1; }; };; |
| 11270 |
+ |
--help | --hel | -h ) |
| 11271 |
+ |
echo "$ac_cs_usage"; exit ;; |
| 11272 |
|
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
| 11273 |
|
| -silent | --silent | --silen | --sile | --sil | --si | --s) |
| 11274 |
|
ac_cs_silent=: ;; |
| 11275 |
|
|
| 11276 |
|
# This is an error. |
| 11277 |
< |
-*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 |
| 11278 |
< |
Try \`$0 --help' for more information." >&5 |
| 11301 |
< |
echo "$as_me: error: unrecognized option: $1 |
| 11302 |
< |
Try \`$0 --help' for more information." >&2;} |
| 11277 |
> |
-*) { echo "$as_me: error: unrecognized option: $1 |
| 11278 |
> |
Try \`$0 --help' for more information." >&2 |
| 11279 |
|
{ (exit 1); exit 1; }; } ;; |
| 11280 |
|
|
| 11281 |
< |
*) ac_config_targets="$ac_config_targets $1" ;; |
| 11281 |
> |
*) ac_config_targets="$ac_config_targets $1" |
| 11282 |
> |
ac_need_defaults=false ;; |
| 11283 |
|
|
| 11284 |
|
esac |
| 11285 |
|
shift |
| 11295 |
|
_ACEOF |
| 11296 |
|
cat >>$CONFIG_STATUS <<_ACEOF |
| 11297 |
|
if \$ac_cs_recheck; then |
| 11298 |
< |
echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 |
| 11299 |
< |
exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
| 11298 |
> |
echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 |
| 11299 |
> |
CONFIG_SHELL=$SHELL |
| 11300 |
> |
export CONFIG_SHELL |
| 11301 |
> |
exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
| 11302 |
|
fi |
| 11303 |
|
|
| 11304 |
|
_ACEOF |
| 11305 |
+ |
cat >>$CONFIG_STATUS <<\_ACEOF |
| 11306 |
+ |
exec 5>>config.log |
| 11307 |
+ |
{ |
| 11308 |
+ |
echo |
| 11309 |
+ |
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
| 11310 |
+ |
## Running $as_me. ## |
| 11311 |
+ |
_ASBOX |
| 11312 |
+ |
echo "$ac_log" |
| 11313 |
+ |
} >&5 |
| 11314 |
|
|
| 11315 |
< |
|
| 11316 |
< |
|
| 11317 |
< |
|
| 11315 |
> |
_ACEOF |
| 11316 |
> |
cat >>$CONFIG_STATUS <<_ACEOF |
| 11317 |
> |
_ACEOF |
| 11318 |
|
|
| 11319 |
|
cat >>$CONFIG_STATUS <<\_ACEOF |
| 11320 |
+ |
|
| 11321 |
+ |
# Handling of arguments. |
| 11322 |
|
for ac_config_target in $ac_config_targets |
| 11323 |
|
do |
| 11324 |
< |
case "$ac_config_target" in |
| 11325 |
< |
# Handling of arguments. |
| 11326 |
< |
"Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
| 11327 |
< |
"etc/Makefile" ) CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;; |
| 11328 |
< |
"servlink/Makefile" ) CONFIG_FILES="$CONFIG_FILES servlink/Makefile" ;; |
| 11329 |
< |
"contrib/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;; |
| 11330 |
< |
"src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
| 11331 |
< |
"messages/Makefile" ) CONFIG_FILES="$CONFIG_FILES messages/Makefile" ;; |
| 11332 |
< |
"modules/Makefile" ) CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;; |
| 11333 |
< |
"tools/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;; |
| 11334 |
< |
"doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
| 11335 |
< |
"help/Makefile" ) CONFIG_FILES="$CONFIG_FILES help/Makefile" ;; |
| 11336 |
< |
"libio/Makefile" ) CONFIG_FILES="$CONFIG_FILES libio/Makefile" ;; |
| 11337 |
< |
"libio/comm/Makefile" ) CONFIG_FILES="$CONFIG_FILES libio/comm/Makefile" ;; |
| 11338 |
< |
"libio/mem/Makefile" ) CONFIG_FILES="$CONFIG_FILES libio/mem/Makefile" ;; |
| 11339 |
< |
"libio/misc/Makefile" ) CONFIG_FILES="$CONFIG_FILES libio/misc/Makefile" ;; |
| 11340 |
< |
"libio/net/Makefile" ) CONFIG_FILES="$CONFIG_FILES libio/net/Makefile" ;; |
| 11341 |
< |
"libio/string/Makefile" ) CONFIG_FILES="$CONFIG_FILES libio/string/Makefile" ;; |
| 11342 |
< |
"include/setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/setup.h" ;; |
| 11324 |
> |
case $ac_config_target in |
| 11325 |
> |
"include/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS include/setup.h" ;; |
| 11326 |
> |
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
| 11327 |
> |
"etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;; |
| 11328 |
> |
"servlink/Makefile") CONFIG_FILES="$CONFIG_FILES servlink/Makefile" ;; |
| 11329 |
> |
"contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;; |
| 11330 |
> |
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
| 11331 |
> |
"messages/Makefile") CONFIG_FILES="$CONFIG_FILES messages/Makefile" ;; |
| 11332 |
> |
"modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;; |
| 11333 |
> |
"tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;; |
| 11334 |
> |
"doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
| 11335 |
> |
"help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;; |
| 11336 |
> |
"libio/Makefile") CONFIG_FILES="$CONFIG_FILES libio/Makefile" ;; |
| 11337 |
> |
"libio/comm/Makefile") CONFIG_FILES="$CONFIG_FILES libio/comm/Makefile" ;; |
| 11338 |
> |
"libio/mem/Makefile") CONFIG_FILES="$CONFIG_FILES libio/mem/Makefile" ;; |
| 11339 |
> |
"libio/misc/Makefile") CONFIG_FILES="$CONFIG_FILES libio/misc/Makefile" ;; |
| 11340 |
> |
"libio/net/Makefile") CONFIG_FILES="$CONFIG_FILES libio/net/Makefile" ;; |
| 11341 |
> |
"libio/string/Makefile") CONFIG_FILES="$CONFIG_FILES libio/string/Makefile" ;; |
| 11342 |
> |
|
| 11343 |
|
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
| 11344 |
|
echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
| 11345 |
|
{ (exit 1); exit 1; }; };; |
| 11346 |
|
esac |
| 11347 |
|
done |
| 11348 |
|
|
| 11349 |
+ |
|
| 11350 |
|
# If the user did not use the arguments to specify the items to instantiate, |
| 11351 |
|
# then the envvar interface is used. Set only those that are not. |
| 11352 |
|
# We use the long form for the default assignment because of an extremely |
| 11357 |
|
fi |
| 11358 |
|
|
| 11359 |
|
# Have a temporary directory for convenience. Make it in the build tree |
| 11360 |
< |
# simply because there is no reason to put it here, and in addition, |
| 11360 |
> |
# simply because there is no reason against having it here, and in addition, |
| 11361 |
|
# creating and moving files from /tmp can sometimes cause problems. |
| 11362 |
< |
# Create a temporary directory, and hook for its removal unless debugging. |
| 11362 |
> |
# Hook for its removal unless debugging. |
| 11363 |
> |
# Note that there is a small window in which the directory will not be cleaned: |
| 11364 |
> |
# after its creation but before its name has been assigned to `$tmp'. |
| 11365 |
|
$debug || |
| 11366 |
|
{ |
| 11367 |
< |
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 |
| 11367 |
> |
tmp= |
| 11368 |
> |
trap 'exit_status=$? |
| 11369 |
> |
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status |
| 11370 |
> |
' 0 |
| 11371 |
|
trap '{ (exit 1); exit 1; }' 1 2 13 15 |
| 11372 |
|
} |
| 11377 |
– |
|
| 11373 |
|
# Create a (secure) tmp directory for tmp files. |
| 11374 |
|
|
| 11375 |
|
{ |
| 11376 |
< |
tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && |
| 11376 |
> |
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
| 11377 |
|
test -n "$tmp" && test -d "$tmp" |
| 11378 |
|
} || |
| 11379 |
|
{ |
| 11380 |
< |
tmp=./confstat$$-$RANDOM |
| 11381 |
< |
(umask 077 && mkdir $tmp) |
| 11380 |
> |
tmp=./conf$$-$RANDOM |
| 11381 |
> |
(umask 077 && mkdir "$tmp") |
| 11382 |
|
} || |
| 11383 |
|
{ |
| 11384 |
|
echo "$me: cannot create a temporary directory in ." >&2 |
| 11385 |
|
{ (exit 1); exit 1; } |
| 11386 |
|
} |
| 11387 |
|
|
| 11393 |
– |
_ACEOF |
| 11394 |
– |
|
| 11395 |
– |
cat >>$CONFIG_STATUS <<_ACEOF |
| 11396 |
– |
|
| 11388 |
|
# |
| 11389 |
< |
# CONFIG_FILES section. |
| 11389 |
> |
# Set up the sed scripts for CONFIG_FILES section. |
| 11390 |
|
# |
| 11391 |
|
|
| 11392 |
|
# No need to generate the scripts if there are no CONFIG_FILES. |
| 11393 |
|
# This happens for instance when ./config.status config.h |
| 11394 |
< |
if test -n "\$CONFIG_FILES"; then |
| 11395 |
< |
# Protect against being on the right side of a sed subst in config.status. |
| 11396 |
< |
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; |
| 11397 |
< |
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF |
| 11398 |
< |
s,@SHELL@,$SHELL,;t t |
| 11399 |
< |
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t |
| 11400 |
< |
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t |
| 11401 |
< |
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t |
| 11402 |
< |
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t |
| 11403 |
< |
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t |
| 11404 |
< |
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t |
| 11405 |
< |
s,@exec_prefix@,$exec_prefix,;t t |
| 11406 |
< |
s,@prefix@,$prefix,;t t |
| 11407 |
< |
s,@program_transform_name@,$program_transform_name,;t t |
| 11408 |
< |
s,@bindir@,$bindir,;t t |
| 11409 |
< |
s,@sbindir@,$sbindir,;t t |
| 11410 |
< |
s,@libexecdir@,$libexecdir,;t t |
| 11411 |
< |
s,@datadir@,$datadir,;t t |
| 11412 |
< |
s,@sysconfdir@,$sysconfdir,;t t |
| 11413 |
< |
s,@sharedstatedir@,$sharedstatedir,;t t |
| 11414 |
< |
s,@localstatedir@,$localstatedir,;t t |
| 11415 |
< |
s,@libdir@,$libdir,;t t |
| 11416 |
< |
s,@includedir@,$includedir,;t t |
| 11417 |
< |
s,@oldincludedir@,$oldincludedir,;t t |
| 11418 |
< |
s,@infodir@,$infodir,;t t |
| 11419 |
< |
s,@mandir@,$mandir,;t t |
| 11420 |
< |
s,@build_alias@,$build_alias,;t t |
| 11421 |
< |
s,@host_alias@,$host_alias,;t t |
| 11422 |
< |
s,@target_alias@,$target_alias,;t t |
| 11423 |
< |
s,@DEFS@,$DEFS,;t t |
| 11424 |
< |
s,@ECHO_C@,$ECHO_C,;t t |
| 11425 |
< |
s,@ECHO_N@,$ECHO_N,;t t |
| 11426 |
< |
s,@ECHO_T@,$ECHO_T,;t t |
| 11427 |
< |
s,@LIBS@,$LIBS,;t t |
| 11428 |
< |
s,@CC@,$CC,;t t |
| 11429 |
< |
s,@CFLAGS@,$CFLAGS,;t t |
| 11430 |
< |
s,@LDFLAGS@,$LDFLAGS,;t t |
| 11431 |
< |
s,@CPPFLAGS@,$CPPFLAGS,;t t |
| 11432 |
< |
s,@ac_ct_CC@,$ac_ct_CC,;t t |
| 11433 |
< |
s,@EXEEXT@,$EXEEXT,;t t |
| 11434 |
< |
s,@OBJEXT@,$OBJEXT,;t t |
| 11435 |
< |
s,@MKDEP@,$MKDEP,;t t |
| 11436 |
< |
s,@MAKEDEPEND@,$MAKEDEPEND,;t t |
| 11437 |
< |
s,@STDOUT@,$STDOUT,;t t |
| 11438 |
< |
s,@CPP@,$CPP,;t t |
| 11439 |
< |
s,@EGREP@,$EGREP,;t t |
| 11440 |
< |
s,@SET_MAKE@,$SET_MAKE,;t t |
| 11441 |
< |
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t |
| 11442 |
< |
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t |
| 11443 |
< |
s,@INSTALL_DATA@,$INSTALL_DATA,;t t |
| 11444 |
< |
s,@RM@,$RM,;t t |
| 11445 |
< |
s,@CP@,$CP,;t t |
| 11446 |
< |
s,@MV@,$MV,;t t |
| 11447 |
< |
s,@LN@,$LN,;t t |
| 11448 |
< |
s,@SED@,$SED,;t t |
| 11449 |
< |
s,@AR@,$AR,;t t |
| 11450 |
< |
s,@LD@,$LD,;t t |
| 11451 |
< |
s,@TEST@,$TEST,;t t |
| 11452 |
< |
s,@INET_MISC@,$INET_MISC,;t t |
| 11453 |
< |
s,@CRYPT_C@,$CRYPT_C,;t t |
| 11454 |
< |
s,@CRYPT_LIB@,$CRYPT_LIB,;t t |
| 11455 |
< |
s,@SNPRINTF_C@,$SNPRINTF_C,;t t |
| 11456 |
< |
s,@ENCSPEED@,$ENCSPEED,;t t |
| 11457 |
< |
s,@ZLIB_LD@,$ZLIB_LD,;t t |
| 11458 |
< |
s,@SELECT_TYPE@,$SELECT_TYPE,;t t |
| 11459 |
< |
s,@CLOBBER@,$CLOBBER,;t t |
| 11460 |
< |
s,@BALLOC_C@,$BALLOC_C,;t t |
| 11461 |
< |
s,@EXAMPLE_CONF@,$EXAMPLE_CONF,;t t |
| 11462 |
< |
s,@MODULES_LIBS@,$MODULES_LIBS,;t t |
| 11463 |
< |
s,@MOD_TARGET@,$MOD_TARGET,;t t |
| 11464 |
< |
s,@SSL_SRCS_ENABLE@,$SSL_SRCS_ENABLE,;t t |
| 11465 |
< |
s,@SSL_INCLUDES@,$SSL_INCLUDES,;t t |
| 11466 |
< |
s,@SSL_LIBS@,$SSL_LIBS,;t t |
| 11467 |
< |
s,@PICFLAGS@,$PICFLAGS,;t t |
| 11468 |
< |
s,@IRC_CFLAGS@,$IRC_CFLAGS,;t t |
| 11469 |
< |
s,@SEDOBJ@,$SEDOBJ,;t t |
| 11470 |
< |
s,@DYNLINK_C@,$DYNLINK_C,;t t |
| 11471 |
< |
s,@LIBOBJS@,$LIBOBJS,;t t |
| 11472 |
< |
s,@LTLIBOBJS@,$LTLIBOBJS,;t t |
| 11473 |
< |
CEOF |
| 11474 |
< |
|
| 11475 |
< |
_ACEOF |
| 11476 |
< |
|
| 11477 |
< |
cat >>$CONFIG_STATUS <<\_ACEOF |
| 11478 |
< |
# Split the substitutions into bite-sized pieces for seds with |
| 11479 |
< |
# small command number limits, like on Digital OSF/1 and HP-UX. |
| 11480 |
< |
ac_max_sed_lines=48 |
| 11481 |
< |
ac_sed_frag=1 # Number of current file. |
| 11482 |
< |
ac_beg=1 # First line for current file. |
| 11483 |
< |
ac_end=$ac_max_sed_lines # Line after last line for current file. |
| 11484 |
< |
ac_more_lines=: |
| 11485 |
< |
ac_sed_cmds= |
| 11486 |
< |
while $ac_more_lines; do |
| 11487 |
< |
if test $ac_beg -gt 1; then |
| 11488 |
< |
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag |
| 11489 |
< |
else |
| 11490 |
< |
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag |
| 11491 |
< |
fi |
| 11492 |
< |
if test ! -s $tmp/subs.frag; then |
| 11493 |
< |
ac_more_lines=false |
| 11494 |
< |
else |
| 11495 |
< |
# The purpose of the label and of the branching condition is to |
| 11505 |
< |
# speed up the sed processing (if there are no `@' at all, there |
| 11506 |
< |
# is no need to browse any of the substitutions). |
| 11507 |
< |
# These are the two extra sed commands mentioned above. |
| 11508 |
< |
(echo ':t |
| 11509 |
< |
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed |
| 11510 |
< |
if test -z "$ac_sed_cmds"; then |
| 11511 |
< |
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" |
| 11512 |
< |
else |
| 11513 |
< |
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" |
| 11514 |
< |
fi |
| 11515 |
< |
ac_sed_frag=`expr $ac_sed_frag + 1` |
| 11516 |
< |
ac_beg=$ac_end |
| 11517 |
< |
ac_end=`expr $ac_end + $ac_max_sed_lines` |
| 11518 |
< |
fi |
| 11519 |
< |
done |
| 11520 |
< |
if test -z "$ac_sed_cmds"; then |
| 11521 |
< |
ac_sed_cmds=cat |
| 11394 |
> |
if test -n "$CONFIG_FILES"; then |
| 11395 |
> |
|
| 11396 |
> |
_ACEOF |
| 11397 |
> |
|
| 11398 |
> |
|
| 11399 |
> |
|
| 11400 |
> |
ac_delim='%!_!# ' |
| 11401 |
> |
for ac_last_try in false false false false false :; do |
| 11402 |
> |
cat >conf$$subs.sed <<_ACEOF |
| 11403 |
> |
SHELL!$SHELL$ac_delim |
| 11404 |
> |
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim |
| 11405 |
> |
PACKAGE_NAME!$PACKAGE_NAME$ac_delim |
| 11406 |
> |
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim |
| 11407 |
> |
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim |
| 11408 |
> |
PACKAGE_STRING!$PACKAGE_STRING$ac_delim |
| 11409 |
> |
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim |
| 11410 |
> |
exec_prefix!$exec_prefix$ac_delim |
| 11411 |
> |
prefix!$prefix$ac_delim |
| 11412 |
> |
program_transform_name!$program_transform_name$ac_delim |
| 11413 |
> |
bindir!$bindir$ac_delim |
| 11414 |
> |
sbindir!$sbindir$ac_delim |
| 11415 |
> |
libexecdir!$libexecdir$ac_delim |
| 11416 |
> |
datarootdir!$datarootdir$ac_delim |
| 11417 |
> |
datadir!$datadir$ac_delim |
| 11418 |
> |
sysconfdir!$sysconfdir$ac_delim |
| 11419 |
> |
sharedstatedir!$sharedstatedir$ac_delim |
| 11420 |
> |
localstatedir!$localstatedir$ac_delim |
| 11421 |
> |
includedir!$includedir$ac_delim |
| 11422 |
> |
oldincludedir!$oldincludedir$ac_delim |
| 11423 |
> |
docdir!$docdir$ac_delim |
| 11424 |
> |
infodir!$infodir$ac_delim |
| 11425 |
> |
htmldir!$htmldir$ac_delim |
| 11426 |
> |
dvidir!$dvidir$ac_delim |
| 11427 |
> |
pdfdir!$pdfdir$ac_delim |
| 11428 |
> |
psdir!$psdir$ac_delim |
| 11429 |
> |
libdir!$libdir$ac_delim |
| 11430 |
> |
localedir!$localedir$ac_delim |
| 11431 |
> |
mandir!$mandir$ac_delim |
| 11432 |
> |
DEFS!$DEFS$ac_delim |
| 11433 |
> |
ECHO_C!$ECHO_C$ac_delim |
| 11434 |
> |
ECHO_N!$ECHO_N$ac_delim |
| 11435 |
> |
ECHO_T!$ECHO_T$ac_delim |
| 11436 |
> |
LIBS!$LIBS$ac_delim |
| 11437 |
> |
build_alias!$build_alias$ac_delim |
| 11438 |
> |
host_alias!$host_alias$ac_delim |
| 11439 |
> |
target_alias!$target_alias$ac_delim |
| 11440 |
> |
CC!$CC$ac_delim |
| 11441 |
> |
CFLAGS!$CFLAGS$ac_delim |
| 11442 |
> |
LDFLAGS!$LDFLAGS$ac_delim |
| 11443 |
> |
CPPFLAGS!$CPPFLAGS$ac_delim |
| 11444 |
> |
ac_ct_CC!$ac_ct_CC$ac_delim |
| 11445 |
> |
EXEEXT!$EXEEXT$ac_delim |
| 11446 |
> |
OBJEXT!$OBJEXT$ac_delim |
| 11447 |
> |
MKDEP!$MKDEP$ac_delim |
| 11448 |
> |
MAKEDEPEND!$MAKEDEPEND$ac_delim |
| 11449 |
> |
STDOUT!$STDOUT$ac_delim |
| 11450 |
> |
CPP!$CPP$ac_delim |
| 11451 |
> |
GREP!$GREP$ac_delim |
| 11452 |
> |
EGREP!$EGREP$ac_delim |
| 11453 |
> |
SET_MAKE!$SET_MAKE$ac_delim |
| 11454 |
> |
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim |
| 11455 |
> |
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim |
| 11456 |
> |
INSTALL_DATA!$INSTALL_DATA$ac_delim |
| 11457 |
> |
RM!$RM$ac_delim |
| 11458 |
> |
CP!$CP$ac_delim |
| 11459 |
> |
MV!$MV$ac_delim |
| 11460 |
> |
LN!$LN$ac_delim |
| 11461 |
> |
SED!$SED$ac_delim |
| 11462 |
> |
AR!$AR$ac_delim |
| 11463 |
> |
LD!$LD$ac_delim |
| 11464 |
> |
TEST!$TEST$ac_delim |
| 11465 |
> |
INET_MISC!$INET_MISC$ac_delim |
| 11466 |
> |
CRYPT_C!$CRYPT_C$ac_delim |
| 11467 |
> |
CRYPT_LIB!$CRYPT_LIB$ac_delim |
| 11468 |
> |
SNPRINTF_C!$SNPRINTF_C$ac_delim |
| 11469 |
> |
ENCSPEED!$ENCSPEED$ac_delim |
| 11470 |
> |
ZLIB_LD!$ZLIB_LD$ac_delim |
| 11471 |
> |
SELECT_TYPE!$SELECT_TYPE$ac_delim |
| 11472 |
> |
CLOBBER!$CLOBBER$ac_delim |
| 11473 |
> |
BALLOC_C!$BALLOC_C$ac_delim |
| 11474 |
> |
EXAMPLE_CONF!$EXAMPLE_CONF$ac_delim |
| 11475 |
> |
MODULES_LIBS!$MODULES_LIBS$ac_delim |
| 11476 |
> |
MOD_TARGET!$MOD_TARGET$ac_delim |
| 11477 |
> |
SSL_SRCS_ENABLE!$SSL_SRCS_ENABLE$ac_delim |
| 11478 |
> |
SSL_INCLUDES!$SSL_INCLUDES$ac_delim |
| 11479 |
> |
SSL_LIBS!$SSL_LIBS$ac_delim |
| 11480 |
> |
PICFLAGS!$PICFLAGS$ac_delim |
| 11481 |
> |
IRC_CFLAGS!$IRC_CFLAGS$ac_delim |
| 11482 |
> |
SEDOBJ!$SEDOBJ$ac_delim |
| 11483 |
> |
DYNLINK_C!$DYNLINK_C$ac_delim |
| 11484 |
> |
LIBOBJS!$LIBOBJS$ac_delim |
| 11485 |
> |
LTLIBOBJS!$LTLIBOBJS$ac_delim |
| 11486 |
> |
_ACEOF |
| 11487 |
> |
|
| 11488 |
> |
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 83; then |
| 11489 |
> |
break |
| 11490 |
> |
elif $ac_last_try; then |
| 11491 |
> |
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
| 11492 |
> |
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
| 11493 |
> |
{ (exit 1); exit 1; }; } |
| 11494 |
> |
else |
| 11495 |
> |
ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
| 11496 |
|
fi |
| 11497 |
< |
fi # test -n "$CONFIG_FILES" |
| 11497 |
> |
done |
| 11498 |
> |
|
| 11499 |
> |
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` |
| 11500 |
> |
if test -n "$ac_eof"; then |
| 11501 |
> |
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` |
| 11502 |
> |
ac_eof=`expr $ac_eof + 1` |
| 11503 |
> |
fi |
| 11504 |
|
|
| 11505 |
+ |
cat >>$CONFIG_STATUS <<_ACEOF |
| 11506 |
+ |
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof |
| 11507 |
+ |
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end |
| 11508 |
+ |
_ACEOF |
| 11509 |
+ |
sed ' |
| 11510 |
+ |
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g |
| 11511 |
+ |
s/^/s,@/; s/!/@,|#_!!_#|/ |
| 11512 |
+ |
:n |
| 11513 |
+ |
t n |
| 11514 |
+ |
s/'"$ac_delim"'$/,g/; t |
| 11515 |
+ |
s/$/\\/; p |
| 11516 |
+ |
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n |
| 11517 |
+ |
' >>$CONFIG_STATUS <conf$$subs.sed |
| 11518 |
+ |
rm -f conf$$subs.sed |
| 11519 |
+ |
cat >>$CONFIG_STATUS <<_ACEOF |
| 11520 |
+ |
:end |
| 11521 |
+ |
s/|#_!!_#|//g |
| 11522 |
+ |
CEOF$ac_eof |
| 11523 |
|
_ACEOF |
| 11524 |
+ |
|
| 11525 |
+ |
|
| 11526 |
+ |
# VPATH may cause trouble with some makes, so we remove $(srcdir), |
| 11527 |
+ |
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and |
| 11528 |
+ |
# trailing colons and then remove the whole line if VPATH becomes empty |
| 11529 |
+ |
# (actually we leave an empty line to preserve line numbers). |
| 11530 |
+ |
if test "x$srcdir" = x.; then |
| 11531 |
+ |
ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
| 11532 |
+ |
s/:*\$(srcdir):*/:/ |
| 11533 |
+ |
s/:*\${srcdir}:*/:/ |
| 11534 |
+ |
s/:*@srcdir@:*/:/ |
| 11535 |
+ |
s/^\([^=]*=[ ]*\):*/\1/ |
| 11536 |
+ |
s/:*$// |
| 11537 |
+ |
s/^[^=]*=[ ]*$// |
| 11538 |
+ |
}' |
| 11539 |
+ |
fi |
| 11540 |
+ |
|
| 11541 |
|
cat >>$CONFIG_STATUS <<\_ACEOF |
| 11542 |
< |
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue |
| 11543 |
< |
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
| 11544 |
< |
case $ac_file in |
| 11545 |
< |
- | *:- | *:-:* ) # input from stdin |
| 11546 |
< |
cat >$tmp/stdin |
| 11547 |
< |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
| 11548 |
< |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
| 11549 |
< |
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
| 11550 |
< |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
| 11551 |
< |
* ) ac_file_in=$ac_file.in ;; |
| 11542 |
> |
fi # test -n "$CONFIG_FILES" |
| 11543 |
> |
|
| 11544 |
> |
|
| 11545 |
> |
for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS |
| 11546 |
> |
do |
| 11547 |
> |
case $ac_tag in |
| 11548 |
> |
:[FHLC]) ac_mode=$ac_tag; continue;; |
| 11549 |
> |
esac |
| 11550 |
> |
case $ac_mode$ac_tag in |
| 11551 |
> |
:[FHL]*:*);; |
| 11552 |
> |
:L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 |
| 11553 |
> |
echo "$as_me: error: Invalid tag $ac_tag." >&2;} |
| 11554 |
> |
{ (exit 1); exit 1; }; };; |
| 11555 |
> |
:[FH]-) ac_tag=-:-;; |
| 11556 |
> |
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
| 11557 |
|
esac |
| 11558 |
+ |
ac_save_IFS=$IFS |
| 11559 |
+ |
IFS=: |
| 11560 |
+ |
set x $ac_tag |
| 11561 |
+ |
IFS=$ac_save_IFS |
| 11562 |
+ |
shift |
| 11563 |
+ |
ac_file=$1 |
| 11564 |
+ |
shift |
| 11565 |
|
|
| 11566 |
< |
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. |
| 11567 |
< |
ac_dir=`(dirname "$ac_file") 2>/dev/null || |
| 11566 |
> |
case $ac_mode in |
| 11567 |
> |
:L) ac_source=$1;; |
| 11568 |
> |
:[FH]) |
| 11569 |
> |
ac_file_inputs= |
| 11570 |
> |
for ac_f |
| 11571 |
> |
do |
| 11572 |
> |
case $ac_f in |
| 11573 |
> |
-) ac_f="$tmp/stdin";; |
| 11574 |
> |
*) # Look for the file first in the build tree, then in the source tree |
| 11575 |
> |
# (if the path is not absolute). The absolute path cannot be DOS-style, |
| 11576 |
> |
# because $ac_f cannot contain `:'. |
| 11577 |
> |
test -f "$ac_f" || |
| 11578 |
> |
case $ac_f in |
| 11579 |
> |
[\\/$]*) false;; |
| 11580 |
> |
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
| 11581 |
> |
esac || |
| 11582 |
> |
{ { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 |
| 11583 |
> |
echo "$as_me: error: cannot find input file: $ac_f" >&2;} |
| 11584 |
> |
{ (exit 1); exit 1; }; };; |
| 11585 |
> |
esac |
| 11586 |
> |
ac_file_inputs="$ac_file_inputs $ac_f" |
| 11587 |
> |
done |
| 11588 |
> |
|
| 11589 |
> |
# Let's still pretend it is `configure' which instantiates (i.e., don't |
| 11590 |
> |
# use $as_me), people would be surprised to read: |
| 11591 |
> |
# /* config.h. Generated by config.status. */ |
| 11592 |
> |
configure_input="Generated from "`IFS=: |
| 11593 |
> |
echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." |
| 11594 |
> |
if test x"$ac_file" != x-; then |
| 11595 |
> |
configure_input="$ac_file. $configure_input" |
| 11596 |
> |
{ echo "$as_me:$LINENO: creating $ac_file" >&5 |
| 11597 |
> |
echo "$as_me: creating $ac_file" >&6;} |
| 11598 |
> |
fi |
| 11599 |
> |
|
| 11600 |
> |
case $ac_tag in |
| 11601 |
> |
*:-:* | *:-) cat >"$tmp/stdin";; |
| 11602 |
> |
esac |
| 11603 |
> |
;; |
| 11604 |
> |
esac |
| 11605 |
> |
|
| 11606 |
> |
ac_dir=`$as_dirname -- "$ac_file" || |
| 11607 |
|
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 11608 |
|
X"$ac_file" : 'X\(//\)[^/]' \| \ |
| 11609 |
|
X"$ac_file" : 'X\(//\)$' \| \ |
| 11610 |
< |
X"$ac_file" : 'X\(/\)' \| \ |
| 11545 |
< |
. : '\(.\)' 2>/dev/null || |
| 11610 |
> |
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || |
| 11611 |
|
echo X"$ac_file" | |
| 11612 |
< |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
| 11613 |
< |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
| 11614 |
< |
/^X\(\/\/\)$/{ s//\1/; q; } |
| 11615 |
< |
/^X\(\/\).*/{ s//\1/; q; } |
| 11616 |
< |
s/.*/./; q'` |
| 11617 |
< |
{ if $as_mkdir_p; then |
| 11618 |
< |
mkdir -p "$ac_dir" |
| 11619 |
< |
else |
| 11620 |
< |
as_dir="$ac_dir" |
| 11612 |
> |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 11613 |
> |
s//\1/ |
| 11614 |
> |
q |
| 11615 |
> |
} |
| 11616 |
> |
/^X\(\/\/\)[^/].*/{ |
| 11617 |
> |
s//\1/ |
| 11618 |
> |
q |
| 11619 |
> |
} |
| 11620 |
> |
/^X\(\/\/\)$/{ |
| 11621 |
> |
s//\1/ |
| 11622 |
> |
q |
| 11623 |
> |
} |
| 11624 |
> |
/^X\(\/\).*/{ |
| 11625 |
> |
s//\1/ |
| 11626 |
> |
q |
| 11627 |
> |
} |
| 11628 |
> |
s/.*/./; q'` |
| 11629 |
> |
{ as_dir="$ac_dir" |
| 11630 |
> |
case $as_dir in #( |
| 11631 |
> |
-*) as_dir=./$as_dir;; |
| 11632 |
> |
esac |
| 11633 |
> |
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { |
| 11634 |
|
as_dirs= |
| 11635 |
< |
while test ! -d "$as_dir"; do |
| 11636 |
< |
as_dirs="$as_dir $as_dirs" |
| 11637 |
< |
as_dir=`(dirname "$as_dir") 2>/dev/null || |
| 11635 |
> |
while :; do |
| 11636 |
> |
case $as_dir in #( |
| 11637 |
> |
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( |
| 11638 |
> |
*) as_qdir=$as_dir;; |
| 11639 |
> |
esac |
| 11640 |
> |
as_dirs="'$as_qdir' $as_dirs" |
| 11641 |
> |
as_dir=`$as_dirname -- "$as_dir" || |
| 11642 |
|
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 11643 |
|
X"$as_dir" : 'X\(//\)[^/]' \| \ |
| 11644 |
|
X"$as_dir" : 'X\(//\)$' \| \ |
| 11645 |
< |
X"$as_dir" : 'X\(/\)' \| \ |
| 11564 |
< |
. : '\(.\)' 2>/dev/null || |
| 11645 |
> |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
| 11646 |
|
echo X"$as_dir" | |
| 11647 |
< |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
| 11648 |
< |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
| 11649 |
< |
/^X\(\/\/\)$/{ s//\1/; q; } |
| 11650 |
< |
/^X\(\/\).*/{ s//\1/; q; } |
| 11651 |
< |
s/.*/./; q'` |
| 11647 |
> |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 11648 |
> |
s//\1/ |
| 11649 |
> |
q |
| 11650 |
> |
} |
| 11651 |
> |
/^X\(\/\/\)[^/].*/{ |
| 11652 |
> |
s//\1/ |
| 11653 |
> |
q |
| 11654 |
> |
} |
| 11655 |
> |
/^X\(\/\/\)$/{ |
| 11656 |
> |
s//\1/ |
| 11657 |
> |
q |
| 11658 |
> |
} |
| 11659 |
> |
/^X\(\/\).*/{ |
| 11660 |
> |
s//\1/ |
| 11661 |
> |
q |
| 11662 |
> |
} |
| 11663 |
> |
s/.*/./; q'` |
| 11664 |
> |
test -d "$as_dir" && break |
| 11665 |
|
done |
| 11666 |
< |
test ! -n "$as_dirs" || mkdir $as_dirs |
| 11667 |
< |
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 |
| 11668 |
< |
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} |
| 11666 |
> |
test -z "$as_dirs" || eval "mkdir $as_dirs" |
| 11667 |
> |
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 |
| 11668 |
> |
echo "$as_me: error: cannot create directory $as_dir" >&2;} |
| 11669 |
|
{ (exit 1); exit 1; }; }; } |
| 11576 |
– |
|
| 11670 |
|
ac_builddir=. |
| 11671 |
|
|
| 11672 |
< |
if test "$ac_dir" != .; then |
| 11672 |
> |
case "$ac_dir" in |
| 11673 |
> |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
| 11674 |
> |
*) |
| 11675 |
|
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
| 11676 |
< |
# A "../" for each directory in $ac_dir_suffix. |
| 11677 |
< |
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
| 11678 |
< |
else |
| 11679 |
< |
ac_dir_suffix= ac_top_builddir= |
| 11680 |
< |
fi |
| 11676 |
> |
# A ".." for each directory in $ac_dir_suffix. |
| 11677 |
> |
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` |
| 11678 |
> |
case $ac_top_builddir_sub in |
| 11679 |
> |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
| 11680 |
> |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
| 11681 |
> |
esac ;; |
| 11682 |
> |
esac |
| 11683 |
> |
ac_abs_top_builddir=$ac_pwd |
| 11684 |
> |
ac_abs_builddir=$ac_pwd$ac_dir_suffix |
| 11685 |
> |
# for backward compatibility: |
| 11686 |
> |
ac_top_builddir=$ac_top_build_prefix |
| 11687 |
|
|
| 11688 |
|
case $srcdir in |
| 11689 |
< |
.) # No --srcdir option. We are building in place. |
| 11689 |
> |
.) # We are building in place. |
| 11690 |
|
ac_srcdir=. |
| 11691 |
< |
if test -z "$ac_top_builddir"; then |
| 11692 |
< |
ac_top_srcdir=. |
| 11693 |
< |
else |
| 11593 |
< |
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` |
| 11594 |
< |
fi ;; |
| 11595 |
< |
[\\/]* | ?:[\\/]* ) # Absolute path. |
| 11691 |
> |
ac_top_srcdir=$ac_top_builddir_sub |
| 11692 |
> |
ac_abs_top_srcdir=$ac_pwd ;; |
| 11693 |
> |
[\\/]* | ?:[\\/]* ) # Absolute name. |
| 11694 |
|
ac_srcdir=$srcdir$ac_dir_suffix; |
| 11695 |
< |
ac_top_srcdir=$srcdir ;; |
| 11696 |
< |
*) # Relative path. |
| 11697 |
< |
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
| 11698 |
< |
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
| 11695 |
> |
ac_top_srcdir=$srcdir |
| 11696 |
> |
ac_abs_top_srcdir=$srcdir ;; |
| 11697 |
> |
*) # Relative name. |
| 11698 |
> |
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
| 11699 |
> |
ac_top_srcdir=$ac_top_build_prefix$srcdir |
| 11700 |
> |
ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
| 11701 |
|
esac |
| 11702 |
+ |
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
| 11703 |
|
|
| 11603 |
– |
# Do not use `cd foo && pwd` to compute absolute paths, because |
| 11604 |
– |
# the directories may not exist. |
| 11605 |
– |
case `pwd` in |
| 11606 |
– |
.) ac_abs_builddir="$ac_dir";; |
| 11607 |
– |
*) |
| 11608 |
– |
case "$ac_dir" in |
| 11609 |
– |
.) ac_abs_builddir=`pwd`;; |
| 11610 |
– |
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; |
| 11611 |
– |
*) ac_abs_builddir=`pwd`/"$ac_dir";; |
| 11612 |
– |
esac;; |
| 11613 |
– |
esac |
| 11614 |
– |
case $ac_abs_builddir in |
| 11615 |
– |
.) ac_abs_top_builddir=${ac_top_builddir}.;; |
| 11616 |
– |
*) |
| 11617 |
– |
case ${ac_top_builddir}. in |
| 11618 |
– |
.) ac_abs_top_builddir=$ac_abs_builddir;; |
| 11619 |
– |
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
| 11620 |
– |
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
| 11621 |
– |
esac;; |
| 11622 |
– |
esac |
| 11623 |
– |
case $ac_abs_builddir in |
| 11624 |
– |
.) ac_abs_srcdir=$ac_srcdir;; |
| 11625 |
– |
*) |
| 11626 |
– |
case $ac_srcdir in |
| 11627 |
– |
.) ac_abs_srcdir=$ac_abs_builddir;; |
| 11628 |
– |
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
| 11629 |
– |
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
| 11630 |
– |
esac;; |
| 11631 |
– |
esac |
| 11632 |
– |
case $ac_abs_builddir in |
| 11633 |
– |
.) ac_abs_top_srcdir=$ac_top_srcdir;; |
| 11634 |
– |
*) |
| 11635 |
– |
case $ac_top_srcdir in |
| 11636 |
– |
.) ac_abs_top_srcdir=$ac_abs_builddir;; |
| 11637 |
– |
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
| 11638 |
– |
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
| 11639 |
– |
esac;; |
| 11640 |
– |
esac |
| 11704 |
|
|
| 11705 |
+ |
case $ac_mode in |
| 11706 |
+ |
:F) |
| 11707 |
+ |
# |
| 11708 |
+ |
# CONFIG_FILE |
| 11709 |
+ |
# |
| 11710 |
|
|
| 11711 |
|
case $INSTALL in |
| 11712 |
|
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
| 11713 |
< |
*) ac_INSTALL=$ac_top_builddir$INSTALL ;; |
| 11713 |
> |
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; |
| 11714 |
|
esac |
| 11715 |
+ |
_ACEOF |
| 11716 |
|
|
| 11717 |
< |
if test x"$ac_file" != x-; then |
| 11718 |
< |
{ echo "$as_me:$LINENO: creating $ac_file" >&5 |
| 11719 |
< |
echo "$as_me: creating $ac_file" >&6;} |
| 11720 |
< |
rm -f "$ac_file" |
| 11721 |
< |
fi |
| 11722 |
< |
# Let's still pretend it is `configure' which instantiates (i.e., don't |
| 11723 |
< |
# use $as_me), people would be surprised to read: |
| 11724 |
< |
# /* config.h. Generated by config.status. */ |
| 11725 |
< |
if test x"$ac_file" = x-; then |
| 11726 |
< |
configure_input= |
| 11727 |
< |
else |
| 11728 |
< |
configure_input="$ac_file. " |
| 11729 |
< |
fi |
| 11730 |
< |
configure_input=$configure_input"Generated from `echo $ac_file_in | |
| 11731 |
< |
sed 's,.*/,,'` by configure." |
| 11732 |
< |
|
| 11733 |
< |
# First look for the input files in the build tree, otherwise in the |
| 11734 |
< |
# src tree. |
| 11735 |
< |
ac_file_inputs=`IFS=: |
| 11667 |
< |
for f in $ac_file_in; do |
| 11668 |
< |
case $f in |
| 11669 |
< |
-) echo $tmp/stdin ;; |
| 11670 |
< |
[\\/$]*) |
| 11671 |
< |
# Absolute (can't be DOS-style, as IFS=:) |
| 11672 |
< |
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
| 11673 |
< |
echo "$as_me: error: cannot find input file: $f" >&2;} |
| 11674 |
< |
{ (exit 1); exit 1; }; } |
| 11675 |
< |
echo "$f";; |
| 11676 |
< |
*) # Relative |
| 11677 |
< |
if test -f "$f"; then |
| 11678 |
< |
# Build tree |
| 11679 |
< |
echo "$f" |
| 11680 |
< |
elif test -f "$srcdir/$f"; then |
| 11681 |
< |
# Source tree |
| 11682 |
< |
echo "$srcdir/$f" |
| 11683 |
< |
else |
| 11684 |
< |
# /dev/null tree |
| 11685 |
< |
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
| 11686 |
< |
echo "$as_me: error: cannot find input file: $f" >&2;} |
| 11687 |
< |
{ (exit 1); exit 1; }; } |
| 11688 |
< |
fi;; |
| 11689 |
< |
esac |
| 11690 |
< |
done` || { (exit 1); exit 1; } |
| 11717 |
> |
cat >>$CONFIG_STATUS <<\_ACEOF |
| 11718 |
> |
# If the template does not know about datarootdir, expand it. |
| 11719 |
> |
# FIXME: This hack should be removed a few years after 2.60. |
| 11720 |
> |
ac_datarootdir_hack=; ac_datarootdir_seen= |
| 11721 |
> |
|
| 11722 |
> |
case `sed -n '/datarootdir/ { |
| 11723 |
> |
p |
| 11724 |
> |
q |
| 11725 |
> |
} |
| 11726 |
> |
/@datadir@/p |
| 11727 |
> |
/@docdir@/p |
| 11728 |
> |
/@infodir@/p |
| 11729 |
> |
/@localedir@/p |
| 11730 |
> |
/@mandir@/p |
| 11731 |
> |
' $ac_file_inputs` in |
| 11732 |
> |
*datarootdir*) ac_datarootdir_seen=yes;; |
| 11733 |
> |
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
| 11734 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
| 11735 |
> |
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
| 11736 |
|
_ACEOF |
| 11737 |
|
cat >>$CONFIG_STATUS <<_ACEOF |
| 11738 |
+ |
ac_datarootdir_hack=' |
| 11739 |
+ |
s&@datadir@&$datadir&g |
| 11740 |
+ |
s&@docdir@&$docdir&g |
| 11741 |
+ |
s&@infodir@&$infodir&g |
| 11742 |
+ |
s&@localedir@&$localedir&g |
| 11743 |
+ |
s&@mandir@&$mandir&g |
| 11744 |
+ |
s&\\\${datarootdir}&$datarootdir&g' ;; |
| 11745 |
+ |
esac |
| 11746 |
+ |
_ACEOF |
| 11747 |
+ |
|
| 11748 |
+ |
# Neutralize VPATH when `$srcdir' = `.'. |
| 11749 |
+ |
# Shell code in configure.ac might set extrasub. |
| 11750 |
+ |
# FIXME: do we really want to maintain this feature? |
| 11751 |
+ |
cat >>$CONFIG_STATUS <<_ACEOF |
| 11752 |
|
sed "$ac_vpsub |
| 11753 |
|
$extrasub |
| 11754 |
|
_ACEOF |
| 11755 |
|
cat >>$CONFIG_STATUS <<\_ACEOF |
| 11756 |
|
:t |
| 11757 |
|
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
| 11758 |
< |
s,@configure_input@,$configure_input,;t t |
| 11759 |
< |
s,@srcdir@,$ac_srcdir,;t t |
| 11760 |
< |
s,@abs_srcdir@,$ac_abs_srcdir,;t t |
| 11761 |
< |
s,@top_srcdir@,$ac_top_srcdir,;t t |
| 11762 |
< |
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t |
| 11763 |
< |
s,@builddir@,$ac_builddir,;t t |
| 11764 |
< |
s,@abs_builddir@,$ac_abs_builddir,;t t |
| 11765 |
< |
s,@top_builddir@,$ac_top_builddir,;t t |
| 11766 |
< |
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t |
| 11767 |
< |
s,@INSTALL@,$ac_INSTALL,;t t |
| 11768 |
< |
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out |
| 11769 |
< |
rm -f $tmp/stdin |
| 11770 |
< |
if test x"$ac_file" != x-; then |
| 11771 |
< |
mv $tmp/out $ac_file |
| 11772 |
< |
else |
| 11773 |
< |
cat $tmp/out |
| 11774 |
< |
rm -f $tmp/out |
| 11775 |
< |
fi |
| 11758 |
> |
s&@configure_input@&$configure_input&;t t |
| 11759 |
> |
s&@top_builddir@&$ac_top_builddir_sub&;t t |
| 11760 |
> |
s&@srcdir@&$ac_srcdir&;t t |
| 11761 |
> |
s&@abs_srcdir@&$ac_abs_srcdir&;t t |
| 11762 |
> |
s&@top_srcdir@&$ac_top_srcdir&;t t |
| 11763 |
> |
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t |
| 11764 |
> |
s&@builddir@&$ac_builddir&;t t |
| 11765 |
> |
s&@abs_builddir@&$ac_abs_builddir&;t t |
| 11766 |
> |
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
| 11767 |
> |
s&@INSTALL@&$ac_INSTALL&;t t |
| 11768 |
> |
$ac_datarootdir_hack |
| 11769 |
> |
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out |
| 11770 |
> |
|
| 11771 |
> |
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
| 11772 |
> |
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && |
| 11773 |
> |
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && |
| 11774 |
> |
{ echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
| 11775 |
> |
which seems to be undefined. Please make sure it is defined." >&5 |
| 11776 |
> |
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
| 11777 |
> |
which seems to be undefined. Please make sure it is defined." >&2;} |
| 11778 |
|
|
| 11779 |
< |
done |
| 11719 |
< |
_ACEOF |
| 11720 |
< |
cat >>$CONFIG_STATUS <<\_ACEOF |
| 11721 |
< |
|
| 11722 |
< |
# |
| 11723 |
< |
# CONFIG_HEADER section. |
| 11724 |
< |
# |
| 11725 |
< |
|
| 11726 |
< |
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where |
| 11727 |
< |
# NAME is the cpp macro being defined and VALUE is the value it is being given. |
| 11728 |
< |
# |
| 11729 |
< |
# ac_d sets the value in "#define NAME VALUE" lines. |
| 11730 |
< |
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' |
| 11731 |
< |
ac_dB='[ ].*$,\1#\2' |
| 11732 |
< |
ac_dC=' ' |
| 11733 |
< |
ac_dD=',;t' |
| 11734 |
< |
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". |
| 11735 |
< |
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' |
| 11736 |
< |
ac_uB='$,\1#\2define\3' |
| 11737 |
< |
ac_uC=' ' |
| 11738 |
< |
ac_uD=',;t' |
| 11739 |
< |
|
| 11740 |
< |
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue |
| 11741 |
< |
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
| 11779 |
> |
rm -f "$tmp/stdin" |
| 11780 |
|
case $ac_file in |
| 11781 |
< |
- | *:- | *:-:* ) # input from stdin |
| 11782 |
< |
cat >$tmp/stdin |
| 11745 |
< |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
| 11746 |
< |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
| 11747 |
< |
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
| 11748 |
< |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
| 11749 |
< |
* ) ac_file_in=$ac_file.in ;; |
| 11781 |
> |
-) cat "$tmp/out"; rm -f "$tmp/out";; |
| 11782 |
> |
*) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; |
| 11783 |
|
esac |
| 11784 |
+ |
;; |
| 11785 |
+ |
:H) |
| 11786 |
+ |
# |
| 11787 |
+ |
# CONFIG_HEADER |
| 11788 |
+ |
# |
| 11789 |
+ |
_ACEOF |
| 11790 |
+ |
|
| 11791 |
+ |
# Transform confdefs.h into a sed script `conftest.defines', that |
| 11792 |
+ |
# substitutes the proper values into config.h.in to produce config.h. |
| 11793 |
+ |
rm -f conftest.defines conftest.tail |
| 11794 |
+ |
# First, append a space to every undef/define line, to ease matching. |
| 11795 |
+ |
echo 's/$/ /' >conftest.defines |
| 11796 |
+ |
# Then, protect against being on the right side of a sed subst, or in |
| 11797 |
+ |
# an unquoted here document, in config.status. If some macros were |
| 11798 |
+ |
# called several times there might be several #defines for the same |
| 11799 |
+ |
# symbol, which is useless. But do not sort them, since the last |
| 11800 |
+ |
# AC_DEFINE must be honored. |
| 11801 |
+ |
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* |
| 11802 |
+ |
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where |
| 11803 |
+ |
# NAME is the cpp macro being defined, VALUE is the value it is being given. |
| 11804 |
+ |
# PARAMS is the parameter list in the macro definition--in most cases, it's |
| 11805 |
+ |
# just an empty string. |
| 11806 |
+ |
ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*' |
| 11807 |
+ |
ac_dB='\\)[ (].*,\\1define\\2' |
| 11808 |
+ |
ac_dC=' ' |
| 11809 |
+ |
ac_dD=' ,' |
| 11810 |
|
|
| 11811 |
< |
test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 |
| 11812 |
< |
echo "$as_me: creating $ac_file" >&6;} |
| 11813 |
< |
|
| 11814 |
< |
# First look for the input files in the build tree, otherwise in the |
| 11815 |
< |
# src tree. |
| 11816 |
< |
ac_file_inputs=`IFS=: |
| 11817 |
< |
for f in $ac_file_in; do |
| 11818 |
< |
case $f in |
| 11819 |
< |
-) echo $tmp/stdin ;; |
| 11820 |
< |
[\\/$]*) |
| 11821 |
< |
# Absolute (can't be DOS-style, as IFS=:) |
| 11822 |
< |
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
| 11764 |
< |
echo "$as_me: error: cannot find input file: $f" >&2;} |
| 11765 |
< |
{ (exit 1); exit 1; }; } |
| 11766 |
< |
# Do quote $f, to prevent DOS paths from being IFS'd. |
| 11767 |
< |
echo "$f";; |
| 11768 |
< |
*) # Relative |
| 11769 |
< |
if test -f "$f"; then |
| 11770 |
< |
# Build tree |
| 11771 |
< |
echo "$f" |
| 11772 |
< |
elif test -f "$srcdir/$f"; then |
| 11773 |
< |
# Source tree |
| 11774 |
< |
echo "$srcdir/$f" |
| 11775 |
< |
else |
| 11776 |
< |
# /dev/null tree |
| 11777 |
< |
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
| 11778 |
< |
echo "$as_me: error: cannot find input file: $f" >&2;} |
| 11779 |
< |
{ (exit 1); exit 1; }; } |
| 11780 |
< |
fi;; |
| 11781 |
< |
esac |
| 11782 |
< |
done` || { (exit 1); exit 1; } |
| 11783 |
< |
# Remove the trailing spaces. |
| 11784 |
< |
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in |
| 11785 |
< |
|
| 11786 |
< |
_ACEOF |
| 11787 |
< |
|
| 11788 |
< |
# Transform confdefs.h into two sed scripts, `conftest.defines' and |
| 11789 |
< |
# `conftest.undefs', that substitutes the proper values into |
| 11790 |
< |
# config.h.in to produce config.h. The first handles `#define' |
| 11791 |
< |
# templates, and the second `#undef' templates. |
| 11792 |
< |
# And first: Protect against being on the right side of a sed subst in |
| 11793 |
< |
# config.status. Protect against being in an unquoted here document |
| 11794 |
< |
# in config.status. |
| 11795 |
< |
rm -f conftest.defines conftest.undefs |
| 11796 |
< |
# Using a here document instead of a string reduces the quoting nightmare. |
| 11797 |
< |
# Putting comments in sed scripts is not portable. |
| 11798 |
< |
# |
| 11799 |
< |
# `end' is used to avoid that the second main sed command (meant for |
| 11800 |
< |
# 0-ary CPP macros) applies to n-ary macro definitions. |
| 11801 |
< |
# See the Autoconf documentation for `clear'. |
| 11802 |
< |
cat >confdef2sed.sed <<\_ACEOF |
| 11803 |
< |
s/[\\&,]/\\&/g |
| 11804 |
< |
s,[\\$`],\\&,g |
| 11805 |
< |
t clear |
| 11806 |
< |
: clear |
| 11807 |
< |
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp |
| 11808 |
< |
t end |
| 11809 |
< |
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp |
| 11810 |
< |
: end |
| 11811 |
< |
_ACEOF |
| 11812 |
< |
# If some macros were called several times there might be several times |
| 11813 |
< |
# the same #defines, which is useless. Nevertheless, we may not want to |
| 11814 |
< |
# sort them, since we want the *last* AC-DEFINE to be honored. |
| 11815 |
< |
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines |
| 11816 |
< |
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs |
| 11817 |
< |
rm -f confdef2sed.sed |
| 11811 |
> |
uniq confdefs.h | |
| 11812 |
> |
sed -n ' |
| 11813 |
> |
t rset |
| 11814 |
> |
:rset |
| 11815 |
> |
s/^[ ]*#[ ]*define[ ][ ]*// |
| 11816 |
> |
t ok |
| 11817 |
> |
d |
| 11818 |
> |
:ok |
| 11819 |
> |
s/[\\&,]/\\&/g |
| 11820 |
> |
s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p |
| 11821 |
> |
s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p |
| 11822 |
> |
' >>conftest.defines |
| 11823 |
|
|
| 11824 |
< |
# This sed command replaces #undef with comments. This is necessary, for |
| 11824 |
> |
# Remove the space that was appended to ease matching. |
| 11825 |
> |
# Then replace #undef with comments. This is necessary, for |
| 11826 |
|
# example, in the case of _POSIX_SOURCE, which is predefined and required |
| 11827 |
|
# on some systems where configure will not decide to define it. |
| 11828 |
< |
cat >>conftest.undefs <<\_ACEOF |
| 11829 |
< |
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, |
| 11828 |
> |
# (The regexp can be short, since the line contains either #define or #undef.) |
| 11829 |
> |
echo 's/ $// |
| 11830 |
> |
s,^[ #]*u.*,/* & */,' >>conftest.defines |
| 11831 |
> |
|
| 11832 |
> |
# Break up conftest.defines: |
| 11833 |
> |
ac_max_sed_lines=50 |
| 11834 |
> |
|
| 11835 |
> |
# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1" |
| 11836 |
> |
# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2" |
| 11837 |
> |
# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1" |
| 11838 |
> |
# et cetera. |
| 11839 |
> |
ac_in='$ac_file_inputs' |
| 11840 |
> |
ac_out='"$tmp/out1"' |
| 11841 |
> |
ac_nxt='"$tmp/out2"' |
| 11842 |
> |
|
| 11843 |
> |
while : |
| 11844 |
> |
do |
| 11845 |
> |
# Write a here document: |
| 11846 |
> |
cat >>$CONFIG_STATUS <<_ACEOF |
| 11847 |
> |
# First, check the format of the line: |
| 11848 |
> |
cat >"\$tmp/defines.sed" <<\\CEOF |
| 11849 |
> |
/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def |
| 11850 |
> |
/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def |
| 11851 |
> |
b |
| 11852 |
> |
:def |
| 11853 |
|
_ACEOF |
| 11854 |
< |
|
| 11826 |
< |
# Break up conftest.defines because some shells have a limit on the size |
| 11827 |
< |
# of here documents, and old seds have small limits too (100 cmds). |
| 11828 |
< |
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS |
| 11829 |
< |
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS |
| 11830 |
< |
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS |
| 11831 |
< |
echo ' :' >>$CONFIG_STATUS |
| 11832 |
< |
rm -f conftest.tail |
| 11833 |
< |
while grep . conftest.defines >/dev/null |
| 11834 |
< |
do |
| 11835 |
< |
# Write a limited-size here document to $tmp/defines.sed. |
| 11836 |
< |
echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS |
| 11837 |
< |
# Speed up: don't consider the non `#define' lines. |
| 11838 |
< |
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS |
| 11839 |
< |
# Work around the forget-to-reset-the-flag bug. |
| 11840 |
< |
echo 't clr' >>$CONFIG_STATUS |
| 11841 |
< |
echo ': clr' >>$CONFIG_STATUS |
| 11842 |
< |
sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS |
| 11854 |
> |
sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS |
| 11855 |
|
echo 'CEOF |
| 11856 |
< |
sed -f $tmp/defines.sed $tmp/in >$tmp/out |
| 11857 |
< |
rm -f $tmp/in |
| 11858 |
< |
mv $tmp/out $tmp/in |
| 11859 |
< |
' >>$CONFIG_STATUS |
| 11848 |
< |
sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail |
| 11856 |
> |
sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS |
| 11857 |
> |
ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in |
| 11858 |
> |
sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail |
| 11859 |
> |
grep . conftest.tail >/dev/null || break |
| 11860 |
|
rm -f conftest.defines |
| 11861 |
|
mv conftest.tail conftest.defines |
| 11862 |
|
done |
| 11863 |
< |
rm -f conftest.defines |
| 11853 |
< |
echo ' fi # grep' >>$CONFIG_STATUS |
| 11854 |
< |
echo >>$CONFIG_STATUS |
| 11855 |
< |
|
| 11856 |
< |
# Break up conftest.undefs because some shells have a limit on the size |
| 11857 |
< |
# of here documents, and old seds have small limits too (100 cmds). |
| 11858 |
< |
echo ' # Handle all the #undef templates' >>$CONFIG_STATUS |
| 11859 |
< |
rm -f conftest.tail |
| 11860 |
< |
while grep . conftest.undefs >/dev/null |
| 11861 |
< |
do |
| 11862 |
< |
# Write a limited-size here document to $tmp/undefs.sed. |
| 11863 |
< |
echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS |
| 11864 |
< |
# Speed up: don't consider the non `#undef' |
| 11865 |
< |
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS |
| 11866 |
< |
# Work around the forget-to-reset-the-flag bug. |
| 11867 |
< |
echo 't clr' >>$CONFIG_STATUS |
| 11868 |
< |
echo ': clr' >>$CONFIG_STATUS |
| 11869 |
< |
sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS |
| 11870 |
< |
echo 'CEOF |
| 11871 |
< |
sed -f $tmp/undefs.sed $tmp/in >$tmp/out |
| 11872 |
< |
rm -f $tmp/in |
| 11873 |
< |
mv $tmp/out $tmp/in |
| 11874 |
< |
' >>$CONFIG_STATUS |
| 11875 |
< |
sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail |
| 11876 |
< |
rm -f conftest.undefs |
| 11877 |
< |
mv conftest.tail conftest.undefs |
| 11878 |
< |
done |
| 11879 |
< |
rm -f conftest.undefs |
| 11863 |
> |
rm -f conftest.defines conftest.tail |
| 11864 |
|
|
| 11865 |
+ |
echo "ac_result=$ac_in" >>$CONFIG_STATUS |
| 11866 |
|
cat >>$CONFIG_STATUS <<\_ACEOF |
| 11882 |
– |
# Let's still pretend it is `configure' which instantiates (i.e., don't |
| 11883 |
– |
# use $as_me), people would be surprised to read: |
| 11884 |
– |
# /* config.h. Generated by config.status. */ |
| 11885 |
– |
if test x"$ac_file" = x-; then |
| 11886 |
– |
echo "/* Generated by configure. */" >$tmp/config.h |
| 11887 |
– |
else |
| 11888 |
– |
echo "/* $ac_file. Generated by configure. */" >$tmp/config.h |
| 11889 |
– |
fi |
| 11890 |
– |
cat $tmp/in >>$tmp/config.h |
| 11891 |
– |
rm -f $tmp/in |
| 11867 |
|
if test x"$ac_file" != x-; then |
| 11868 |
< |
if diff $ac_file $tmp/config.h >/dev/null 2>&1; then |
| 11868 |
> |
echo "/* $configure_input */" >"$tmp/config.h" |
| 11869 |
> |
cat "$ac_result" >>"$tmp/config.h" |
| 11870 |
> |
if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then |
| 11871 |
|
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5 |
| 11872 |
|
echo "$as_me: $ac_file is unchanged" >&6;} |
| 11873 |
|
else |
| 11897 |
– |
ac_dir=`(dirname "$ac_file") 2>/dev/null || |
| 11898 |
– |
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 11899 |
– |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
| 11900 |
– |
X"$ac_file" : 'X\(//\)$' \| \ |
| 11901 |
– |
X"$ac_file" : 'X\(/\)' \| \ |
| 11902 |
– |
. : '\(.\)' 2>/dev/null || |
| 11903 |
– |
echo X"$ac_file" | |
| 11904 |
– |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
| 11905 |
– |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
| 11906 |
– |
/^X\(\/\/\)$/{ s//\1/; q; } |
| 11907 |
– |
/^X\(\/\).*/{ s//\1/; q; } |
| 11908 |
– |
s/.*/./; q'` |
| 11909 |
– |
{ if $as_mkdir_p; then |
| 11910 |
– |
mkdir -p "$ac_dir" |
| 11911 |
– |
else |
| 11912 |
– |
as_dir="$ac_dir" |
| 11913 |
– |
as_dirs= |
| 11914 |
– |
while test ! -d "$as_dir"; do |
| 11915 |
– |
as_dirs="$as_dir $as_dirs" |
| 11916 |
– |
as_dir=`(dirname "$as_dir") 2>/dev/null || |
| 11917 |
– |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 11918 |
– |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
| 11919 |
– |
X"$as_dir" : 'X\(//\)$' \| \ |
| 11920 |
– |
X"$as_dir" : 'X\(/\)' \| \ |
| 11921 |
– |
. : '\(.\)' 2>/dev/null || |
| 11922 |
– |
echo X"$as_dir" | |
| 11923 |
– |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
| 11924 |
– |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
| 11925 |
– |
/^X\(\/\/\)$/{ s//\1/; q; } |
| 11926 |
– |
/^X\(\/\).*/{ s//\1/; q; } |
| 11927 |
– |
s/.*/./; q'` |
| 11928 |
– |
done |
| 11929 |
– |
test ! -n "$as_dirs" || mkdir $as_dirs |
| 11930 |
– |
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 |
| 11931 |
– |
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} |
| 11932 |
– |
{ (exit 1); exit 1; }; }; } |
| 11933 |
– |
|
| 11874 |
|
rm -f $ac_file |
| 11875 |
< |
mv $tmp/config.h $ac_file |
| 11875 |
> |
mv "$tmp/config.h" $ac_file |
| 11876 |
|
fi |
| 11877 |
|
else |
| 11878 |
< |
cat $tmp/config.h |
| 11879 |
< |
rm -f $tmp/config.h |
| 11878 |
> |
echo "/* $configure_input */" |
| 11879 |
> |
cat "$ac_result" |
| 11880 |
|
fi |
| 11881 |
< |
done |
| 11882 |
< |
_ACEOF |
| 11881 |
> |
rm -f "$tmp/out12" |
| 11882 |
> |
;; |
| 11883 |
> |
|
| 11884 |
> |
|
| 11885 |
> |
esac |
| 11886 |
> |
|
| 11887 |
> |
done # for ac_tag |
| 11888 |
|
|
| 11944 |
– |
cat >>$CONFIG_STATUS <<\_ACEOF |
| 11889 |
|
|
| 11890 |
|
{ (exit 0); exit 0; } |
| 11891 |
|
_ACEOF |