[7d4fbcd] | 1 | #! /bin/sh |
---|
| 2 | # Guess values for system-dependent variables and create Makefiles. |
---|
[4ad3480] | 3 | # Generated by GNU Autoconf 2.60. |
---|
[7d4fbcd] | 4 | # |
---|
[4ad3480] | 5 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
---|
| 6 | # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. |
---|
[7d4fbcd] | 7 | # This configure script is free software; the Free Software Foundation |
---|
| 8 | # gives unlimited permission to copy, distribute and modify it. |
---|
[8298425] | 9 | ## --------------------- ## |
---|
| 10 | ## M4sh Initialization. ## |
---|
| 11 | ## --------------------- ## |
---|
| 12 | |
---|
| 13 | # Be Bourne compatible |
---|
| 14 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
---|
| 15 | emulate sh |
---|
| 16 | NULLCMD=: |
---|
| 17 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
---|
| 18 | # is contrary to our usage. Disable this feature. |
---|
| 19 | alias -g '${1+"$@"}'='"$@"' |
---|
[4ad3480] | 20 | setopt NO_GLOB_SUBST |
---|
| 21 | else |
---|
| 22 | case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac |
---|
[8298425] | 23 | fi |
---|
[4ad3480] | 24 | BIN_SH=xpg4; export BIN_SH # for Tru64 |
---|
[8298425] | 25 | DUALCASE=1; export DUALCASE # for MKS sh |
---|
| 26 | |
---|
[4ad3480] | 27 | |
---|
| 28 | # PATH needs CR |
---|
| 29 | # Avoid depending upon Character Ranges. |
---|
| 30 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
---|
| 31 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
---|
| 32 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
---|
| 33 | as_cr_digits='0123456789' |
---|
| 34 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
---|
| 35 | |
---|
| 36 | # The user is always right. |
---|
| 37 | if test "${PATH_SEPARATOR+set}" != set; then |
---|
| 38 | echo "#! /bin/sh" >conf$$.sh |
---|
| 39 | echo "exit 0" >>conf$$.sh |
---|
| 40 | chmod +x conf$$.sh |
---|
| 41 | if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
---|
| 42 | PATH_SEPARATOR=';' |
---|
| 43 | else |
---|
| 44 | PATH_SEPARATOR=: |
---|
| 45 | fi |
---|
| 46 | rm -f conf$$.sh |
---|
| 47 | fi |
---|
| 48 | |
---|
[8298425] | 49 | # Support unset when possible. |
---|
| 50 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
---|
| 51 | as_unset=unset |
---|
| 52 | else |
---|
| 53 | as_unset=false |
---|
| 54 | fi |
---|
| 55 | |
---|
| 56 | |
---|
[4ad3480] | 57 | # IFS |
---|
| 58 | # We need space, tab and new line, in precisely that order. Quoting is |
---|
| 59 | # there to prevent editors from complaining about space-tab. |
---|
| 60 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
---|
| 61 | # splitting by setting IFS to empty value.) |
---|
| 62 | as_nl=' |
---|
| 63 | ' |
---|
| 64 | IFS=" "" $as_nl" |
---|
| 65 | |
---|
| 66 | # Find who we are. Look in the path if we contain no directory separator. |
---|
| 67 | case $0 in |
---|
| 68 | *[\\/]* ) as_myself=$0 ;; |
---|
| 69 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 70 | for as_dir in $PATH |
---|
| 71 | do |
---|
| 72 | IFS=$as_save_IFS |
---|
| 73 | test -z "$as_dir" && as_dir=. |
---|
| 74 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
---|
| 75 | done |
---|
| 76 | IFS=$as_save_IFS |
---|
| 77 | |
---|
| 78 | ;; |
---|
| 79 | esac |
---|
| 80 | # We did not find ourselves, most probably we were run as `sh COMMAND' |
---|
| 81 | # in which case we are not to be found in the path. |
---|
| 82 | if test "x$as_myself" = x; then |
---|
| 83 | as_myself=$0 |
---|
| 84 | fi |
---|
| 85 | if test ! -f "$as_myself"; then |
---|
| 86 | echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
---|
| 87 | { (exit 1); exit 1; } |
---|
| 88 | fi |
---|
| 89 | |
---|
[8298425] | 90 | # Work around bugs in pre-3.0 UWIN ksh. |
---|
[4ad3480] | 91 | for as_var in ENV MAIL MAILPATH |
---|
| 92 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
---|
| 93 | done |
---|
[8298425] | 94 | PS1='$ ' |
---|
| 95 | PS2='> ' |
---|
| 96 | PS4='+ ' |
---|
| 97 | |
---|
| 98 | # NLS nuisances. |
---|
| 99 | for as_var in \ |
---|
| 100 | LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
---|
| 101 | LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
---|
| 102 | LC_TELEPHONE LC_TIME |
---|
| 103 | do |
---|
| 104 | if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
---|
| 105 | eval $as_var=C; export $as_var |
---|
| 106 | else |
---|
[4ad3480] | 107 | ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
---|
[8298425] | 108 | fi |
---|
| 109 | done |
---|
| 110 | |
---|
| 111 | # Required to use basename. |
---|
[4ad3480] | 112 | if expr a : '\(a\)' >/dev/null 2>&1 && |
---|
| 113 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
---|
[8298425] | 114 | as_expr=expr |
---|
| 115 | else |
---|
| 116 | as_expr=false |
---|
| 117 | fi |
---|
| 118 | |
---|
[4ad3480] | 119 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
---|
[8298425] | 120 | as_basename=basename |
---|
| 121 | else |
---|
| 122 | as_basename=false |
---|
| 123 | fi |
---|
| 124 | |
---|
| 125 | |
---|
| 126 | # Name of the executable. |
---|
[4ad3480] | 127 | as_me=`$as_basename -- "$0" || |
---|
[8298425] | 128 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
---|
| 129 | X"$0" : 'X\(//\)$' \| \ |
---|
[4ad3480] | 130 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
---|
[8298425] | 131 | echo X/"$0" | |
---|
[4ad3480] | 132 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
---|
| 133 | s//\1/ |
---|
| 134 | q |
---|
| 135 | } |
---|
| 136 | /^X\/\(\/\/\)$/{ |
---|
| 137 | s//\1/ |
---|
| 138 | q |
---|
| 139 | } |
---|
| 140 | /^X\/\(\/\).*/{ |
---|
| 141 | s//\1/ |
---|
| 142 | q |
---|
| 143 | } |
---|
| 144 | s/.*/./; q'` |
---|
[8298425] | 145 | |
---|
[4ad3480] | 146 | # CDPATH. |
---|
| 147 | $as_unset CDPATH |
---|
[8298425] | 148 | |
---|
| 149 | |
---|
[4ad3480] | 150 | if test "x$CONFIG_SHELL" = x; then |
---|
| 151 | if (eval ":") 2>/dev/null; then |
---|
| 152 | as_have_required=yes |
---|
| 153 | else |
---|
| 154 | as_have_required=no |
---|
[8298425] | 155 | fi |
---|
| 156 | |
---|
[4ad3480] | 157 | if test $as_have_required = yes && (eval ": |
---|
| 158 | (as_func_return () { |
---|
| 159 | (exit \$1) |
---|
| 160 | } |
---|
| 161 | as_func_success () { |
---|
| 162 | as_func_return 0 |
---|
| 163 | } |
---|
| 164 | as_func_failure () { |
---|
| 165 | as_func_return 1 |
---|
| 166 | } |
---|
| 167 | as_func_ret_success () { |
---|
| 168 | return 0 |
---|
| 169 | } |
---|
| 170 | as_func_ret_failure () { |
---|
| 171 | return 1 |
---|
| 172 | } |
---|
[8298425] | 173 | |
---|
[4ad3480] | 174 | exitcode=0 |
---|
| 175 | if as_func_success; then |
---|
| 176 | : |
---|
| 177 | else |
---|
| 178 | exitcode=1 |
---|
| 179 | echo as_func_success failed. |
---|
| 180 | fi |
---|
[8298425] | 181 | |
---|
[4ad3480] | 182 | if as_func_failure; then |
---|
| 183 | exitcode=1 |
---|
| 184 | echo as_func_failure succeeded. |
---|
| 185 | fi |
---|
| 186 | |
---|
| 187 | if as_func_ret_success; then |
---|
| 188 | : |
---|
| 189 | else |
---|
| 190 | exitcode=1 |
---|
| 191 | echo as_func_ret_success failed. |
---|
| 192 | fi |
---|
| 193 | |
---|
| 194 | if as_func_ret_failure; then |
---|
| 195 | exitcode=1 |
---|
| 196 | echo as_func_ret_failure succeeded. |
---|
| 197 | fi |
---|
| 198 | |
---|
| 199 | if ( set x; as_func_ret_success y && test x = \"\$1\" ); then |
---|
| 200 | : |
---|
| 201 | else |
---|
| 202 | exitcode=1 |
---|
| 203 | echo positional parameters were not saved. |
---|
| 204 | fi |
---|
| 205 | |
---|
| 206 | test \$exitcode = 0) || { (exit 1); exit 1; } |
---|
| 207 | |
---|
| 208 | ( |
---|
| 209 | as_lineno_1=\$LINENO |
---|
| 210 | as_lineno_2=\$LINENO |
---|
| 211 | test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && |
---|
| 212 | test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } |
---|
| 213 | ") 2> /dev/null; then |
---|
| 214 | : |
---|
| 215 | else |
---|
| 216 | as_candidate_shells= |
---|
[8298425] | 217 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
[4ad3480] | 218 | for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
---|
[8298425] | 219 | do |
---|
| 220 | IFS=$as_save_IFS |
---|
| 221 | test -z "$as_dir" && as_dir=. |
---|
[4ad3480] | 222 | case $as_dir in |
---|
[8298425] | 223 | /*) |
---|
[4ad3480] | 224 | for as_base in sh bash ksh sh5; do |
---|
| 225 | as_candidate_shells="$as_candidate_shells $as_dir/$as_base" |
---|
| 226 | done;; |
---|
| 227 | esac |
---|
| 228 | done |
---|
| 229 | IFS=$as_save_IFS |
---|
| 230 | |
---|
| 231 | |
---|
| 232 | for as_shell in $as_candidate_shells $SHELL; do |
---|
| 233 | # Try only shells that exist, to save several forks. |
---|
| 234 | if { test -f "$as_shell" || test -f "$as_shell.exe"; } && |
---|
| 235 | { ("$as_shell") 2> /dev/null <<\_ASEOF |
---|
| 236 | # Be Bourne compatible |
---|
| 237 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
---|
| 238 | emulate sh |
---|
| 239 | NULLCMD=: |
---|
| 240 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
---|
| 241 | # is contrary to our usage. Disable this feature. |
---|
| 242 | alias -g '${1+"$@"}'='"$@"' |
---|
| 243 | setopt NO_GLOB_SUBST |
---|
| 244 | else |
---|
| 245 | case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac |
---|
| 246 | fi |
---|
| 247 | BIN_SH=xpg4; export BIN_SH # for Tru64 |
---|
| 248 | DUALCASE=1; export DUALCASE # for MKS sh |
---|
| 249 | |
---|
| 250 | : |
---|
| 251 | _ASEOF |
---|
| 252 | }; then |
---|
| 253 | CONFIG_SHELL=$as_shell |
---|
| 254 | as_have_required=yes |
---|
| 255 | if { "$as_shell" 2> /dev/null <<\_ASEOF |
---|
| 256 | # Be Bourne compatible |
---|
| 257 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
---|
| 258 | emulate sh |
---|
| 259 | NULLCMD=: |
---|
| 260 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
---|
| 261 | # is contrary to our usage. Disable this feature. |
---|
| 262 | alias -g '${1+"$@"}'='"$@"' |
---|
| 263 | setopt NO_GLOB_SUBST |
---|
| 264 | else |
---|
| 265 | case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac |
---|
| 266 | fi |
---|
| 267 | BIN_SH=xpg4; export BIN_SH # for Tru64 |
---|
| 268 | DUALCASE=1; export DUALCASE # for MKS sh |
---|
| 269 | |
---|
| 270 | : |
---|
| 271 | (as_func_return () { |
---|
| 272 | (exit $1) |
---|
| 273 | } |
---|
| 274 | as_func_success () { |
---|
| 275 | as_func_return 0 |
---|
| 276 | } |
---|
| 277 | as_func_failure () { |
---|
| 278 | as_func_return 1 |
---|
| 279 | } |
---|
| 280 | as_func_ret_success () { |
---|
| 281 | return 0 |
---|
| 282 | } |
---|
| 283 | as_func_ret_failure () { |
---|
| 284 | return 1 |
---|
| 285 | } |
---|
| 286 | |
---|
| 287 | exitcode=0 |
---|
| 288 | if as_func_success; then |
---|
| 289 | : |
---|
| 290 | else |
---|
| 291 | exitcode=1 |
---|
| 292 | echo as_func_success failed. |
---|
| 293 | fi |
---|
| 294 | |
---|
| 295 | if as_func_failure; then |
---|
| 296 | exitcode=1 |
---|
| 297 | echo as_func_failure succeeded. |
---|
| 298 | fi |
---|
| 299 | |
---|
| 300 | if as_func_ret_success; then |
---|
| 301 | : |
---|
| 302 | else |
---|
| 303 | exitcode=1 |
---|
| 304 | echo as_func_ret_success failed. |
---|
| 305 | fi |
---|
| 306 | |
---|
| 307 | if as_func_ret_failure; then |
---|
| 308 | exitcode=1 |
---|
| 309 | echo as_func_ret_failure succeeded. |
---|
| 310 | fi |
---|
| 311 | |
---|
| 312 | if ( set x; as_func_ret_success y && test x = "$1" ); then |
---|
| 313 | : |
---|
| 314 | else |
---|
| 315 | exitcode=1 |
---|
| 316 | echo positional parameters were not saved. |
---|
| 317 | fi |
---|
| 318 | |
---|
| 319 | test $exitcode = 0) || { (exit 1); exit 1; } |
---|
| 320 | |
---|
| 321 | ( |
---|
[8298425] | 322 | as_lineno_1=$LINENO |
---|
| 323 | as_lineno_2=$LINENO |
---|
| 324 | test "x$as_lineno_1" != "x$as_lineno_2" && |
---|
[4ad3480] | 325 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } |
---|
| 326 | |
---|
| 327 | _ASEOF |
---|
| 328 | }; then |
---|
| 329 | break |
---|
| 330 | fi |
---|
| 331 | |
---|
| 332 | fi |
---|
| 333 | |
---|
| 334 | done |
---|
| 335 | |
---|
| 336 | if test "x$CONFIG_SHELL" != x; then |
---|
| 337 | for as_var in BASH_ENV ENV |
---|
| 338 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
---|
| 339 | done |
---|
| 340 | export CONFIG_SHELL |
---|
| 341 | exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} |
---|
| 342 | fi |
---|
| 343 | |
---|
| 344 | |
---|
| 345 | if test $as_have_required = no; then |
---|
| 346 | echo This script requires a shell more modern than all the |
---|
| 347 | echo shells that I found on your system. Please install a |
---|
| 348 | echo modern shell, or manually run the script under such a |
---|
| 349 | echo shell if you do have one. |
---|
| 350 | { (exit 1); exit 1; } |
---|
| 351 | fi |
---|
| 352 | |
---|
| 353 | |
---|
| 354 | fi |
---|
| 355 | |
---|
| 356 | fi |
---|
| 357 | |
---|
| 358 | |
---|
| 359 | |
---|
| 360 | (eval "as_func_return () { |
---|
| 361 | (exit \$1) |
---|
| 362 | } |
---|
| 363 | as_func_success () { |
---|
| 364 | as_func_return 0 |
---|
| 365 | } |
---|
| 366 | as_func_failure () { |
---|
| 367 | as_func_return 1 |
---|
| 368 | } |
---|
| 369 | as_func_ret_success () { |
---|
| 370 | return 0 |
---|
| 371 | } |
---|
| 372 | as_func_ret_failure () { |
---|
| 373 | return 1 |
---|
| 374 | } |
---|
| 375 | |
---|
| 376 | exitcode=0 |
---|
| 377 | if as_func_success; then |
---|
| 378 | : |
---|
| 379 | else |
---|
| 380 | exitcode=1 |
---|
| 381 | echo as_func_success failed. |
---|
| 382 | fi |
---|
| 383 | |
---|
| 384 | if as_func_failure; then |
---|
| 385 | exitcode=1 |
---|
| 386 | echo as_func_failure succeeded. |
---|
| 387 | fi |
---|
| 388 | |
---|
| 389 | if as_func_ret_success; then |
---|
| 390 | : |
---|
| 391 | else |
---|
| 392 | exitcode=1 |
---|
| 393 | echo as_func_ret_success failed. |
---|
| 394 | fi |
---|
| 395 | |
---|
| 396 | if as_func_ret_failure; then |
---|
| 397 | exitcode=1 |
---|
| 398 | echo as_func_ret_failure succeeded. |
---|
| 399 | fi |
---|
| 400 | |
---|
| 401 | if ( set x; as_func_ret_success y && test x = \"\$1\" ); then |
---|
| 402 | : |
---|
| 403 | else |
---|
| 404 | exitcode=1 |
---|
| 405 | echo positional parameters were not saved. |
---|
| 406 | fi |
---|
| 407 | |
---|
| 408 | test \$exitcode = 0") || { |
---|
| 409 | echo No shell found that supports shell functions. |
---|
| 410 | echo Please tell autoconf@gnu.org about your system, |
---|
| 411 | echo including any error possibly output before this |
---|
| 412 | echo message |
---|
| 413 | } |
---|
| 414 | |
---|
| 415 | |
---|
| 416 | |
---|
| 417 | as_lineno_1=$LINENO |
---|
| 418 | as_lineno_2=$LINENO |
---|
| 419 | test "x$as_lineno_1" != "x$as_lineno_2" && |
---|
| 420 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { |
---|
[8298425] | 421 | |
---|
| 422 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
---|
| 423 | # uniformly replaced by the line number. The first 'sed' inserts a |
---|
[4ad3480] | 424 | # line-number line after each line using $LINENO; the second 'sed' |
---|
| 425 | # does the real work. The second script uses 'N' to pair each |
---|
| 426 | # line-number line with the line containing $LINENO, and appends |
---|
| 427 | # trailing '-' during substitution so that $LINENO is not a special |
---|
| 428 | # case at line end. |
---|
[8298425] | 429 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
---|
[4ad3480] | 430 | # scripts with optimization help from Paolo Bonzini. Blame Lee |
---|
| 431 | # E. McMahon (1931-1989) for sed's syntax. :-) |
---|
| 432 | sed -n ' |
---|
| 433 | p |
---|
| 434 | /[$]LINENO/= |
---|
| 435 | ' <$as_myself | |
---|
[8298425] | 436 | sed ' |
---|
[4ad3480] | 437 | s/[$]LINENO.*/&-/ |
---|
| 438 | t lineno |
---|
| 439 | b |
---|
| 440 | :lineno |
---|
[8298425] | 441 | N |
---|
[4ad3480] | 442 | :loop |
---|
| 443 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
---|
[8298425] | 444 | t loop |
---|
[4ad3480] | 445 | s/-\n.*// |
---|
[8298425] | 446 | ' >$as_me.lineno && |
---|
[4ad3480] | 447 | chmod +x "$as_me.lineno" || |
---|
[8298425] | 448 | { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
---|
| 449 | { (exit 1); exit 1; }; } |
---|
| 450 | |
---|
| 451 | # Don't try to exec as it changes $[0], causing all sort of problems |
---|
| 452 | # (the dirname of $[0] is not the place where we might find the |
---|
[4ad3480] | 453 | # original and so on. Autoconf is especially sensitive to this). |
---|
| 454 | . "./$as_me.lineno" |
---|
[8298425] | 455 | # Exit status is that of the last command. |
---|
| 456 | exit |
---|
| 457 | } |
---|
| 458 | |
---|
| 459 | |
---|
[4ad3480] | 460 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
---|
| 461 | as_dirname=dirname |
---|
| 462 | else |
---|
| 463 | as_dirname=false |
---|
| 464 | fi |
---|
| 465 | |
---|
| 466 | ECHO_C= ECHO_N= ECHO_T= |
---|
| 467 | case `echo -n x` in |
---|
| 468 | -n*) |
---|
| 469 | case `echo 'x\c'` in |
---|
| 470 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
---|
| 471 | *) ECHO_C='\c';; |
---|
| 472 | esac;; |
---|
| 473 | *) |
---|
| 474 | ECHO_N='-n';; |
---|
[8298425] | 475 | esac |
---|
| 476 | |
---|
[4ad3480] | 477 | if expr a : '\(a\)' >/dev/null 2>&1 && |
---|
| 478 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
---|
[8298425] | 479 | as_expr=expr |
---|
| 480 | else |
---|
| 481 | as_expr=false |
---|
| 482 | fi |
---|
| 483 | |
---|
| 484 | rm -f conf$$ conf$$.exe conf$$.file |
---|
[4ad3480] | 485 | if test -d conf$$.dir; then |
---|
| 486 | rm -f conf$$.dir/conf$$.file |
---|
| 487 | else |
---|
| 488 | rm -f conf$$.dir |
---|
| 489 | mkdir conf$$.dir |
---|
| 490 | fi |
---|
[8298425] | 491 | echo >conf$$.file |
---|
| 492 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
---|
[4ad3480] | 493 | as_ln_s='ln -s' |
---|
| 494 | # ... but there are two gotchas: |
---|
| 495 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
---|
| 496 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
---|
| 497 | # In both cases, we have to default to `cp -p'. |
---|
| 498 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
---|
[8298425] | 499 | as_ln_s='cp -p' |
---|
| 500 | elif ln conf$$.file conf$$ 2>/dev/null; then |
---|
| 501 | as_ln_s=ln |
---|
| 502 | else |
---|
| 503 | as_ln_s='cp -p' |
---|
| 504 | fi |
---|
[4ad3480] | 505 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
---|
| 506 | rmdir conf$$.dir 2>/dev/null |
---|
[8298425] | 507 | |
---|
| 508 | if mkdir -p . 2>/dev/null; then |
---|
| 509 | as_mkdir_p=: |
---|
| 510 | else |
---|
| 511 | test -d ./-p && rmdir ./-p |
---|
| 512 | as_mkdir_p=false |
---|
| 513 | fi |
---|
| 514 | |
---|
[4ad3480] | 515 | # Find out whether ``test -x'' works. Don't use a zero-byte file, as |
---|
| 516 | # systems may use methods other than mode bits to determine executability. |
---|
| 517 | cat >conf$$.file <<_ASEOF |
---|
| 518 | #! /bin/sh |
---|
| 519 | exit 0 |
---|
| 520 | _ASEOF |
---|
| 521 | chmod +x conf$$.file |
---|
| 522 | if test -x conf$$.file >/dev/null 2>&1; then |
---|
| 523 | as_executable_p="test -x" |
---|
| 524 | else |
---|
| 525 | as_executable_p=: |
---|
| 526 | fi |
---|
| 527 | rm -f conf$$.file |
---|
[8298425] | 528 | |
---|
| 529 | # Sed expression to map a string onto a valid CPP name. |
---|
| 530 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
---|
[7d4fbcd] | 531 | |
---|
[8298425] | 532 | # Sed expression to map a string onto a valid variable name. |
---|
| 533 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
---|
| 534 | |
---|
| 535 | |
---|
| 536 | |
---|
[4ad3480] | 537 | exec 7<&0 </dev/null 6>&1 |
---|
[8298425] | 538 | |
---|
| 539 | # Name of the host. |
---|
| 540 | # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
---|
| 541 | # so uname gets run too. |
---|
| 542 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
---|
| 543 | |
---|
| 544 | # |
---|
| 545 | # Initializations. |
---|
| 546 | # |
---|
[7d4fbcd] | 547 | ac_default_prefix=/usr/local |
---|
[4ad3480] | 548 | ac_clean_files= |
---|
[8298425] | 549 | ac_config_libobj_dir=. |
---|
[4ad3480] | 550 | LIBOBJS= |
---|
[8298425] | 551 | cross_compiling=no |
---|
| 552 | subdirs= |
---|
| 553 | MFLAGS= |
---|
| 554 | MAKEFLAGS= |
---|
| 555 | SHELL=${CONFIG_SHELL-/bin/sh} |
---|
| 556 | |
---|
| 557 | # Identity of this package. |
---|
| 558 | PACKAGE_NAME= |
---|
| 559 | PACKAGE_TARNAME= |
---|
| 560 | PACKAGE_VERSION= |
---|
| 561 | PACKAGE_STRING= |
---|
| 562 | PACKAGE_BUGREPORT= |
---|
| 563 | |
---|
| 564 | ac_unique_file="owl.c" |
---|
| 565 | # Factoring default headers for most tests. |
---|
| 566 | ac_includes_default="\ |
---|
| 567 | #include <stdio.h> |
---|
| 568 | #if HAVE_SYS_TYPES_H |
---|
| 569 | # include <sys/types.h> |
---|
| 570 | #endif |
---|
| 571 | #if HAVE_SYS_STAT_H |
---|
| 572 | # include <sys/stat.h> |
---|
| 573 | #endif |
---|
| 574 | #if STDC_HEADERS |
---|
| 575 | # include <stdlib.h> |
---|
| 576 | # include <stddef.h> |
---|
| 577 | #else |
---|
| 578 | # if HAVE_STDLIB_H |
---|
| 579 | # include <stdlib.h> |
---|
| 580 | # endif |
---|
| 581 | #endif |
---|
| 582 | #if HAVE_STRING_H |
---|
| 583 | # if !STDC_HEADERS && HAVE_MEMORY_H |
---|
| 584 | # include <memory.h> |
---|
| 585 | # endif |
---|
| 586 | # include <string.h> |
---|
| 587 | #endif |
---|
| 588 | #if HAVE_STRINGS_H |
---|
| 589 | # include <strings.h> |
---|
| 590 | #endif |
---|
| 591 | #if HAVE_INTTYPES_H |
---|
| 592 | # include <inttypes.h> |
---|
[4ad3480] | 593 | #endif |
---|
| 594 | #if HAVE_STDINT_H |
---|
| 595 | # include <stdint.h> |
---|
[8298425] | 596 | #endif |
---|
| 597 | #if HAVE_UNISTD_H |
---|
| 598 | # include <unistd.h> |
---|
| 599 | #endif" |
---|
| 600 | |
---|
[4ad3480] | 601 | ac_subst_vars='SHELL |
---|
| 602 | PATH_SEPARATOR |
---|
| 603 | PACKAGE_NAME |
---|
| 604 | PACKAGE_TARNAME |
---|
| 605 | PACKAGE_VERSION |
---|
| 606 | PACKAGE_STRING |
---|
| 607 | PACKAGE_BUGREPORT |
---|
| 608 | exec_prefix |
---|
| 609 | prefix |
---|
| 610 | program_transform_name |
---|
| 611 | bindir |
---|
| 612 | sbindir |
---|
| 613 | libexecdir |
---|
| 614 | datarootdir |
---|
| 615 | datadir |
---|
| 616 | sysconfdir |
---|
| 617 | sharedstatedir |
---|
| 618 | localstatedir |
---|
| 619 | includedir |
---|
| 620 | oldincludedir |
---|
| 621 | docdir |
---|
| 622 | infodir |
---|
| 623 | htmldir |
---|
| 624 | dvidir |
---|
| 625 | pdfdir |
---|
| 626 | psdir |
---|
| 627 | libdir |
---|
| 628 | localedir |
---|
| 629 | mandir |
---|
| 630 | DEFS |
---|
| 631 | ECHO_C |
---|
| 632 | ECHO_N |
---|
| 633 | ECHO_T |
---|
| 634 | LIBS |
---|
| 635 | build_alias |
---|
| 636 | host_alias |
---|
| 637 | target_alias |
---|
| 638 | CC |
---|
| 639 | CFLAGS |
---|
| 640 | LDFLAGS |
---|
| 641 | CPPFLAGS |
---|
| 642 | ac_ct_CC |
---|
| 643 | EXEEXT |
---|
| 644 | OBJEXT |
---|
| 645 | CPP |
---|
| 646 | GREP |
---|
| 647 | EGREP |
---|
[15bd5ef] | 648 | XSUBPPDIR |
---|
[4ad3480] | 649 | XSUBPPFLAGS |
---|
| 650 | INSTALL_PROGRAM |
---|
| 651 | INSTALL_SCRIPT |
---|
| 652 | INSTALL_DATA |
---|
| 653 | subdirs |
---|
| 654 | LIBOBJS |
---|
| 655 | LTLIBOBJS' |
---|
[8298425] | 656 | ac_subst_files='' |
---|
[4ad3480] | 657 | ac_precious_vars='build_alias |
---|
| 658 | host_alias |
---|
| 659 | target_alias |
---|
| 660 | CC |
---|
| 661 | CFLAGS |
---|
| 662 | LDFLAGS |
---|
| 663 | CPPFLAGS |
---|
| 664 | CPP' |
---|
| 665 | ac_subdirs_all='libfaim' |
---|
[7d4fbcd] | 666 | |
---|
| 667 | # Initialize some variables set by options. |
---|
[8298425] | 668 | ac_init_help= |
---|
| 669 | ac_init_version=false |
---|
[7d4fbcd] | 670 | # The variables have the same names as the options, with |
---|
| 671 | # dashes changed to underlines. |
---|
[8298425] | 672 | cache_file=/dev/null |
---|
[7d4fbcd] | 673 | exec_prefix=NONE |
---|
| 674 | no_create= |
---|
| 675 | no_recursion= |
---|
| 676 | prefix=NONE |
---|
| 677 | program_prefix=NONE |
---|
| 678 | program_suffix=NONE |
---|
| 679 | program_transform_name=s,x,x, |
---|
| 680 | silent= |
---|
| 681 | site= |
---|
| 682 | srcdir= |
---|
| 683 | verbose= |
---|
| 684 | x_includes=NONE |
---|
| 685 | x_libraries=NONE |
---|
[8298425] | 686 | |
---|
| 687 | # Installation directory options. |
---|
| 688 | # These are left unexpanded so users can "make install exec_prefix=/foo" |
---|
| 689 | # and all the variables that are supposed to be based on exec_prefix |
---|
| 690 | # by default will actually change. |
---|
| 691 | # Use braces instead of parens because sh, perl, etc. also accept them. |
---|
[4ad3480] | 692 | # (The list follows the same order as the GNU Coding Standards.) |
---|
[7d4fbcd] | 693 | bindir='${exec_prefix}/bin' |
---|
| 694 | sbindir='${exec_prefix}/sbin' |
---|
| 695 | libexecdir='${exec_prefix}/libexec' |
---|
[4ad3480] | 696 | datarootdir='${prefix}/share' |
---|
| 697 | datadir='${datarootdir}' |
---|
[7d4fbcd] | 698 | sysconfdir='${prefix}/etc' |
---|
| 699 | sharedstatedir='${prefix}/com' |
---|
| 700 | localstatedir='${prefix}/var' |
---|
| 701 | includedir='${prefix}/include' |
---|
| 702 | oldincludedir='/usr/include' |
---|
[4ad3480] | 703 | docdir='${datarootdir}/doc/${PACKAGE}' |
---|
| 704 | infodir='${datarootdir}/info' |
---|
| 705 | htmldir='${docdir}' |
---|
| 706 | dvidir='${docdir}' |
---|
| 707 | pdfdir='${docdir}' |
---|
| 708 | psdir='${docdir}' |
---|
| 709 | libdir='${exec_prefix}/lib' |
---|
| 710 | localedir='${datarootdir}/locale' |
---|
| 711 | mandir='${datarootdir}/man' |
---|
[7d4fbcd] | 712 | |
---|
| 713 | ac_prev= |
---|
[4ad3480] | 714 | ac_dashdash= |
---|
[7d4fbcd] | 715 | for ac_option |
---|
| 716 | do |
---|
| 717 | # If the previous option needs an argument, assign it. |
---|
| 718 | if test -n "$ac_prev"; then |
---|
[4ad3480] | 719 | eval $ac_prev=\$ac_option |
---|
[7d4fbcd] | 720 | ac_prev= |
---|
| 721 | continue |
---|
| 722 | fi |
---|
| 723 | |
---|
[4ad3480] | 724 | case $ac_option in |
---|
| 725 | *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
---|
| 726 | *) ac_optarg=yes ;; |
---|
| 727 | esac |
---|
[7d4fbcd] | 728 | |
---|
| 729 | # Accept the important Cygnus configure options, so we can diagnose typos. |
---|
| 730 | |
---|
[4ad3480] | 731 | case $ac_dashdash$ac_option in |
---|
| 732 | --) |
---|
| 733 | ac_dashdash=yes ;; |
---|
[7d4fbcd] | 734 | |
---|
| 735 | -bindir | --bindir | --bindi | --bind | --bin | --bi) |
---|
| 736 | ac_prev=bindir ;; |
---|
| 737 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
---|
[8298425] | 738 | bindir=$ac_optarg ;; |
---|
[7d4fbcd] | 739 | |
---|
| 740 | -build | --build | --buil | --bui | --bu) |
---|
[8298425] | 741 | ac_prev=build_alias ;; |
---|
[7d4fbcd] | 742 | -build=* | --build=* | --buil=* | --bui=* | --bu=*) |
---|
[8298425] | 743 | build_alias=$ac_optarg ;; |
---|
[7d4fbcd] | 744 | |
---|
| 745 | -cache-file | --cache-file | --cache-fil | --cache-fi \ |
---|
| 746 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
---|
| 747 | ac_prev=cache_file ;; |
---|
| 748 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
---|
| 749 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
---|
[8298425] | 750 | cache_file=$ac_optarg ;; |
---|
| 751 | |
---|
| 752 | --config-cache | -C) |
---|
| 753 | cache_file=config.cache ;; |
---|
[7d4fbcd] | 754 | |
---|
[4ad3480] | 755 | -datadir | --datadir | --datadi | --datad) |
---|
[7d4fbcd] | 756 | ac_prev=datadir ;; |
---|
[4ad3480] | 757 | -datadir=* | --datadir=* | --datadi=* | --datad=*) |
---|
[8298425] | 758 | datadir=$ac_optarg ;; |
---|
[7d4fbcd] | 759 | |
---|
[4ad3480] | 760 | -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ |
---|
| 761 | | --dataroo | --dataro | --datar) |
---|
| 762 | ac_prev=datarootdir ;; |
---|
| 763 | -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ |
---|
| 764 | | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) |
---|
| 765 | datarootdir=$ac_optarg ;; |
---|
| 766 | |
---|
[7d4fbcd] | 767 | -disable-* | --disable-*) |
---|
[8298425] | 768 | ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
---|
[7d4fbcd] | 769 | # Reject names that are not valid shell variable names. |
---|
[8298425] | 770 | expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && |
---|
| 771 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
---|
| 772 | { (exit 1); exit 1; }; } |
---|
| 773 | ac_feature=`echo $ac_feature | sed 's/-/_/g'` |
---|
[4ad3480] | 774 | eval enable_$ac_feature=no ;; |
---|
| 775 | |
---|
| 776 | -docdir | --docdir | --docdi | --doc | --do) |
---|
| 777 | ac_prev=docdir ;; |
---|
| 778 | -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) |
---|
| 779 | docdir=$ac_optarg ;; |
---|
| 780 | |
---|
| 781 | -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) |
---|
| 782 | ac_prev=dvidir ;; |
---|
| 783 | -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) |
---|
| 784 | dvidir=$ac_optarg ;; |
---|
[7d4fbcd] | 785 | |
---|
| 786 | -enable-* | --enable-*) |
---|
[8298425] | 787 | ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
---|
[7d4fbcd] | 788 | # Reject names that are not valid shell variable names. |
---|
[8298425] | 789 | expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && |
---|
| 790 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
---|
| 791 | { (exit 1); exit 1; }; } |
---|
| 792 | ac_feature=`echo $ac_feature | sed 's/-/_/g'` |
---|
[4ad3480] | 793 | eval enable_$ac_feature=\$ac_optarg ;; |
---|
[7d4fbcd] | 794 | |
---|
| 795 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
---|
| 796 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
---|
| 797 | | --exec | --exe | --ex) |
---|
| 798 | ac_prev=exec_prefix ;; |
---|
| 799 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
---|
| 800 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
---|
| 801 | | --exec=* | --exe=* | --ex=*) |
---|
[8298425] | 802 | exec_prefix=$ac_optarg ;; |
---|
[7d4fbcd] | 803 | |
---|
| 804 | -gas | --gas | --ga | --g) |
---|
| 805 | # Obsolete; use --with-gas. |
---|
| 806 | with_gas=yes ;; |
---|
| 807 | |
---|
[8298425] | 808 | -help | --help | --hel | --he | -h) |
---|
| 809 | ac_init_help=long ;; |
---|
| 810 | -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) |
---|
| 811 | ac_init_help=recursive ;; |
---|
| 812 | -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) |
---|
| 813 | ac_init_help=short ;; |
---|
[7d4fbcd] | 814 | |
---|
| 815 | -host | --host | --hos | --ho) |
---|
[8298425] | 816 | ac_prev=host_alias ;; |
---|
[7d4fbcd] | 817 | -host=* | --host=* | --hos=* | --ho=*) |
---|
[8298425] | 818 | host_alias=$ac_optarg ;; |
---|
[7d4fbcd] | 819 | |
---|
[4ad3480] | 820 | -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) |
---|
| 821 | ac_prev=htmldir ;; |
---|
| 822 | -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ |
---|
| 823 | | --ht=*) |
---|
| 824 | htmldir=$ac_optarg ;; |
---|
| 825 | |
---|
[7d4fbcd] | 826 | -includedir | --includedir | --includedi | --included | --include \ |
---|
| 827 | | --includ | --inclu | --incl | --inc) |
---|
| 828 | ac_prev=includedir ;; |
---|
| 829 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
---|
| 830 | | --includ=* | --inclu=* | --incl=* | --inc=*) |
---|
[8298425] | 831 | includedir=$ac_optarg ;; |
---|
[7d4fbcd] | 832 | |
---|
| 833 | -infodir | --infodir | --infodi | --infod | --info | --inf) |
---|
| 834 | ac_prev=infodir ;; |
---|
| 835 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
---|
[8298425] | 836 | infodir=$ac_optarg ;; |
---|
[7d4fbcd] | 837 | |
---|
| 838 | -libdir | --libdir | --libdi | --libd) |
---|
| 839 | ac_prev=libdir ;; |
---|
| 840 | -libdir=* | --libdir=* | --libdi=* | --libd=*) |
---|
[8298425] | 841 | libdir=$ac_optarg ;; |
---|
[7d4fbcd] | 842 | |
---|
| 843 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
---|
| 844 | | --libexe | --libex | --libe) |
---|
| 845 | ac_prev=libexecdir ;; |
---|
| 846 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
---|
| 847 | | --libexe=* | --libex=* | --libe=*) |
---|
[8298425] | 848 | libexecdir=$ac_optarg ;; |
---|
[7d4fbcd] | 849 | |
---|
[4ad3480] | 850 | -localedir | --localedir | --localedi | --localed | --locale) |
---|
| 851 | ac_prev=localedir ;; |
---|
| 852 | -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) |
---|
| 853 | localedir=$ac_optarg ;; |
---|
| 854 | |
---|
[7d4fbcd] | 855 | -localstatedir | --localstatedir | --localstatedi | --localstated \ |
---|
[4ad3480] | 856 | | --localstate | --localstat | --localsta | --localst | --locals) |
---|
[7d4fbcd] | 857 | ac_prev=localstatedir ;; |
---|
| 858 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
---|
[4ad3480] | 859 | | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) |
---|
[8298425] | 860 | localstatedir=$ac_optarg ;; |
---|
[7d4fbcd] | 861 | |
---|
| 862 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
---|
| 863 | ac_prev=mandir ;; |
---|
| 864 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
---|
[8298425] | 865 | mandir=$ac_optarg ;; |
---|
[7d4fbcd] | 866 | |
---|
| 867 | -nfp | --nfp | --nf) |
---|
| 868 | # Obsolete; use --without-fp. |
---|
| 869 | with_fp=no ;; |
---|
| 870 | |
---|
| 871 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
---|
[8298425] | 872 | | --no-cr | --no-c | -n) |
---|
[7d4fbcd] | 873 | no_create=yes ;; |
---|
| 874 | |
---|
| 875 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
---|
| 876 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
---|
| 877 | no_recursion=yes ;; |
---|
| 878 | |
---|
| 879 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ |
---|
| 880 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ |
---|
| 881 | | --oldin | --oldi | --old | --ol | --o) |
---|
| 882 | ac_prev=oldincludedir ;; |
---|
| 883 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
---|
| 884 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
---|
| 885 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
---|
[8298425] | 886 | oldincludedir=$ac_optarg ;; |
---|
[7d4fbcd] | 887 | |
---|
| 888 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
---|
| 889 | ac_prev=prefix ;; |
---|
| 890 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
---|
[8298425] | 891 | prefix=$ac_optarg ;; |
---|
[7d4fbcd] | 892 | |
---|
| 893 | -program-prefix | --program-prefix | --program-prefi | --program-pref \ |
---|
| 894 | | --program-pre | --program-pr | --program-p) |
---|
| 895 | ac_prev=program_prefix ;; |
---|
| 896 | -program-prefix=* | --program-prefix=* | --program-prefi=* \ |
---|
| 897 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
---|
[8298425] | 898 | program_prefix=$ac_optarg ;; |
---|
[7d4fbcd] | 899 | |
---|
| 900 | -program-suffix | --program-suffix | --program-suffi | --program-suff \ |
---|
| 901 | | --program-suf | --program-su | --program-s) |
---|
| 902 | ac_prev=program_suffix ;; |
---|
| 903 | -program-suffix=* | --program-suffix=* | --program-suffi=* \ |
---|
| 904 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
---|
[8298425] | 905 | program_suffix=$ac_optarg ;; |
---|
[7d4fbcd] | 906 | |
---|
| 907 | -program-transform-name | --program-transform-name \ |
---|
| 908 | | --program-transform-nam | --program-transform-na \ |
---|
| 909 | | --program-transform-n | --program-transform- \ |
---|
| 910 | | --program-transform | --program-transfor \ |
---|
| 911 | | --program-transfo | --program-transf \ |
---|
| 912 | | --program-trans | --program-tran \ |
---|
| 913 | | --progr-tra | --program-tr | --program-t) |
---|
| 914 | ac_prev=program_transform_name ;; |
---|
| 915 | -program-transform-name=* | --program-transform-name=* \ |
---|
| 916 | | --program-transform-nam=* | --program-transform-na=* \ |
---|
| 917 | | --program-transform-n=* | --program-transform-=* \ |
---|
| 918 | | --program-transform=* | --program-transfor=* \ |
---|
| 919 | | --program-transfo=* | --program-transf=* \ |
---|
| 920 | | --program-trans=* | --program-tran=* \ |
---|
| 921 | | --progr-tra=* | --program-tr=* | --program-t=*) |
---|
[8298425] | 922 | program_transform_name=$ac_optarg ;; |
---|
[7d4fbcd] | 923 | |
---|
[4ad3480] | 924 | -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) |
---|
| 925 | ac_prev=pdfdir ;; |
---|
| 926 | -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) |
---|
| 927 | pdfdir=$ac_optarg ;; |
---|
| 928 | |
---|
| 929 | -psdir | --psdir | --psdi | --psd | --ps) |
---|
| 930 | ac_prev=psdir ;; |
---|
| 931 | -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) |
---|
| 932 | psdir=$ac_optarg ;; |
---|
| 933 | |
---|
[7d4fbcd] | 934 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
---|
| 935 | | -silent | --silent | --silen | --sile | --sil) |
---|
| 936 | silent=yes ;; |
---|
| 937 | |
---|
| 938 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
---|
| 939 | ac_prev=sbindir ;; |
---|
| 940 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
---|
| 941 | | --sbi=* | --sb=*) |
---|
[8298425] | 942 | sbindir=$ac_optarg ;; |
---|
[7d4fbcd] | 943 | |
---|
| 944 | -sharedstatedir | --sharedstatedir | --sharedstatedi \ |
---|
| 945 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
---|
| 946 | | --sharedst | --shareds | --shared | --share | --shar \ |
---|
| 947 | | --sha | --sh) |
---|
| 948 | ac_prev=sharedstatedir ;; |
---|
| 949 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
---|
| 950 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
---|
| 951 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
---|
| 952 | | --sha=* | --sh=*) |
---|
[8298425] | 953 | sharedstatedir=$ac_optarg ;; |
---|
[7d4fbcd] | 954 | |
---|
| 955 | -site | --site | --sit) |
---|
| 956 | ac_prev=site ;; |
---|
| 957 | -site=* | --site=* | --sit=*) |
---|
[8298425] | 958 | site=$ac_optarg ;; |
---|
[7d4fbcd] | 959 | |
---|
| 960 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
---|
| 961 | ac_prev=srcdir ;; |
---|
| 962 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
---|
[8298425] | 963 | srcdir=$ac_optarg ;; |
---|
[7d4fbcd] | 964 | |
---|
| 965 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
---|
| 966 | | --syscon | --sysco | --sysc | --sys | --sy) |
---|
| 967 | ac_prev=sysconfdir ;; |
---|
| 968 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
---|
| 969 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
---|
[8298425] | 970 | sysconfdir=$ac_optarg ;; |
---|
[7d4fbcd] | 971 | |
---|
| 972 | -target | --target | --targe | --targ | --tar | --ta | --t) |
---|
[8298425] | 973 | ac_prev=target_alias ;; |
---|
[7d4fbcd] | 974 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
---|
[8298425] | 975 | target_alias=$ac_optarg ;; |
---|
[7d4fbcd] | 976 | |
---|
| 977 | -v | -verbose | --verbose | --verbos | --verbo | --verb) |
---|
| 978 | verbose=yes ;; |
---|
| 979 | |
---|
[8298425] | 980 | -version | --version | --versio | --versi | --vers | -V) |
---|
| 981 | ac_init_version=: ;; |
---|
[7d4fbcd] | 982 | |
---|
| 983 | -with-* | --with-*) |
---|
[8298425] | 984 | ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
---|
[7d4fbcd] | 985 | # Reject names that are not valid shell variable names. |
---|
[8298425] | 986 | expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
---|
| 987 | { echo "$as_me: error: invalid package name: $ac_package" >&2 |
---|
| 988 | { (exit 1); exit 1; }; } |
---|
[7d4fbcd] | 989 | ac_package=`echo $ac_package| sed 's/-/_/g'` |
---|
[4ad3480] | 990 | eval with_$ac_package=\$ac_optarg ;; |
---|
[7d4fbcd] | 991 | |
---|
| 992 | -without-* | --without-*) |
---|
[8298425] | 993 | ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
---|
[7d4fbcd] | 994 | # Reject names that are not valid shell variable names. |
---|
[8298425] | 995 | expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
---|
| 996 | { echo "$as_me: error: invalid package name: $ac_package" >&2 |
---|
| 997 | { (exit 1); exit 1; }; } |
---|
| 998 | ac_package=`echo $ac_package | sed 's/-/_/g'` |
---|
[4ad3480] | 999 | eval with_$ac_package=no ;; |
---|
[7d4fbcd] | 1000 | |
---|
| 1001 | --x) |
---|
| 1002 | # Obsolete; use --with-x. |
---|
| 1003 | with_x=yes ;; |
---|
| 1004 | |
---|
| 1005 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
---|
| 1006 | | --x-incl | --x-inc | --x-in | --x-i) |
---|
| 1007 | ac_prev=x_includes ;; |
---|
| 1008 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
---|
| 1009 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
---|
[8298425] | 1010 | x_includes=$ac_optarg ;; |
---|
[7d4fbcd] | 1011 | |
---|
| 1012 | -x-libraries | --x-libraries | --x-librarie | --x-librari \ |
---|
| 1013 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
---|
| 1014 | ac_prev=x_libraries ;; |
---|
| 1015 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
---|
| 1016 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
---|
[8298425] | 1017 | x_libraries=$ac_optarg ;; |
---|
[7d4fbcd] | 1018 | |
---|
[8298425] | 1019 | -*) { echo "$as_me: error: unrecognized option: $ac_option |
---|
| 1020 | Try \`$0 --help' for more information." >&2 |
---|
| 1021 | { (exit 1); exit 1; }; } |
---|
[7d4fbcd] | 1022 | ;; |
---|
| 1023 | |
---|
[8298425] | 1024 | *=*) |
---|
| 1025 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
---|
| 1026 | # Reject names that are not valid shell variable names. |
---|
| 1027 | expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && |
---|
| 1028 | { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 |
---|
| 1029 | { (exit 1); exit 1; }; } |
---|
[4ad3480] | 1030 | eval $ac_envvar=\$ac_optarg |
---|
[8298425] | 1031 | export $ac_envvar ;; |
---|
| 1032 | |
---|
[7d4fbcd] | 1033 | *) |
---|
[8298425] | 1034 | # FIXME: should be removed in autoconf 3.0. |
---|
| 1035 | echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
---|
| 1036 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
---|
| 1037 | echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
---|
| 1038 | : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
---|
[7d4fbcd] | 1039 | ;; |
---|
| 1040 | |
---|
| 1041 | esac |
---|
| 1042 | done |
---|
| 1043 | |
---|
| 1044 | if test -n "$ac_prev"; then |
---|
[8298425] | 1045 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
---|
| 1046 | { echo "$as_me: error: missing argument to $ac_option" >&2 |
---|
| 1047 | { (exit 1); exit 1; }; } |
---|
[7d4fbcd] | 1048 | fi |
---|
| 1049 | |
---|
[4ad3480] | 1050 | # Be sure to have absolute directory names. |
---|
| 1051 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
---|
| 1052 | datadir sysconfdir sharedstatedir localstatedir includedir \ |
---|
| 1053 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
---|
| 1054 | libdir localedir mandir |
---|
[8298425] | 1055 | do |
---|
[4ad3480] | 1056 | eval ac_val=\$$ac_var |
---|
[8298425] | 1057 | case $ac_val in |
---|
[4ad3480] | 1058 | [\\/$]* | ?:[\\/]* ) continue;; |
---|
| 1059 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
---|
[7d4fbcd] | 1060 | esac |
---|
[4ad3480] | 1061 | { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
---|
| 1062 | { (exit 1); exit 1; }; } |
---|
[7d4fbcd] | 1063 | done |
---|
| 1064 | |
---|
[8298425] | 1065 | # There might be people who depend on the old broken behavior: `$host' |
---|
| 1066 | # used to hold the argument of --host etc. |
---|
| 1067 | # FIXME: To remove some day. |
---|
| 1068 | build=$build_alias |
---|
| 1069 | host=$host_alias |
---|
| 1070 | target=$target_alias |
---|
| 1071 | |
---|
| 1072 | # FIXME: To remove some day. |
---|
| 1073 | if test "x$host_alias" != x; then |
---|
| 1074 | if test "x$build_alias" = x; then |
---|
| 1075 | cross_compiling=maybe |
---|
| 1076 | echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. |
---|
| 1077 | If a cross compiler is detected then cross compile mode will be used." >&2 |
---|
| 1078 | elif test "x$build_alias" != "x$host_alias"; then |
---|
| 1079 | cross_compiling=yes |
---|
| 1080 | fi |
---|
| 1081 | fi |
---|
[7d4fbcd] | 1082 | |
---|
[8298425] | 1083 | ac_tool_prefix= |
---|
| 1084 | test -n "$host_alias" && ac_tool_prefix=$host_alias- |
---|
| 1085 | |
---|
| 1086 | test "$silent" = yes && exec 6>/dev/null |
---|
[7d4fbcd] | 1087 | |
---|
| 1088 | |
---|
[4ad3480] | 1089 | ac_pwd=`pwd` && test -n "$ac_pwd" && |
---|
| 1090 | ac_ls_di=`ls -di .` && |
---|
| 1091 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
---|
| 1092 | { echo "$as_me: error: Working directory cannot be determined" >&2 |
---|
| 1093 | { (exit 1); exit 1; }; } |
---|
| 1094 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
---|
| 1095 | { echo "$as_me: error: pwd does not report name of working directory" >&2 |
---|
| 1096 | { (exit 1); exit 1; }; } |
---|
| 1097 | |
---|
| 1098 | |
---|
[7d4fbcd] | 1099 | # Find the source files, if location was not specified. |
---|
| 1100 | if test -z "$srcdir"; then |
---|
| 1101 | ac_srcdir_defaulted=yes |
---|
[4ad3480] | 1102 | # Try the directory containing this script, then the parent directory. |
---|
| 1103 | ac_confdir=`$as_dirname -- "$0" || |
---|
[8298425] | 1104 | $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
| 1105 | X"$0" : 'X\(//\)[^/]' \| \ |
---|
| 1106 | X"$0" : 'X\(//\)$' \| \ |
---|
[4ad3480] | 1107 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
---|
[8298425] | 1108 | echo X"$0" | |
---|
[4ad3480] | 1109 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
| 1110 | s//\1/ |
---|
| 1111 | q |
---|
| 1112 | } |
---|
| 1113 | /^X\(\/\/\)[^/].*/{ |
---|
| 1114 | s//\1/ |
---|
| 1115 | q |
---|
| 1116 | } |
---|
| 1117 | /^X\(\/\/\)$/{ |
---|
| 1118 | s//\1/ |
---|
| 1119 | q |
---|
| 1120 | } |
---|
| 1121 | /^X\(\/\).*/{ |
---|
| 1122 | s//\1/ |
---|
| 1123 | q |
---|
| 1124 | } |
---|
| 1125 | s/.*/./; q'` |
---|
[7d4fbcd] | 1126 | srcdir=$ac_confdir |
---|
[4ad3480] | 1127 | if test ! -r "$srcdir/$ac_unique_file"; then |
---|
[7d4fbcd] | 1128 | srcdir=.. |
---|
| 1129 | fi |
---|
| 1130 | else |
---|
| 1131 | ac_srcdir_defaulted=no |
---|
| 1132 | fi |
---|
[4ad3480] | 1133 | if test ! -r "$srcdir/$ac_unique_file"; then |
---|
| 1134 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
---|
| 1135 | { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 |
---|
[8298425] | 1136 | { (exit 1); exit 1; }; } |
---|
[7d4fbcd] | 1137 | fi |
---|
[4ad3480] | 1138 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
---|
| 1139 | ac_abs_confdir=`( |
---|
| 1140 | cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 |
---|
[8298425] | 1141 | { (exit 1); exit 1; }; } |
---|
[4ad3480] | 1142 | pwd)` |
---|
| 1143 | # When building in place, set srcdir=. |
---|
| 1144 | if test "$ac_abs_confdir" = "$ac_pwd"; then |
---|
| 1145 | srcdir=. |
---|
| 1146 | fi |
---|
| 1147 | # Remove unnecessary trailing slashes from srcdir. |
---|
| 1148 | # Double slashes in file names in object file debugging info |
---|
| 1149 | # mess up M-x gdb in Emacs. |
---|
| 1150 | case $srcdir in |
---|
| 1151 | */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; |
---|
| 1152 | esac |
---|
| 1153 | for ac_var in $ac_precious_vars; do |
---|
| 1154 | eval ac_env_${ac_var}_set=\${${ac_var}+set} |
---|
| 1155 | eval ac_env_${ac_var}_value=\$${ac_var} |
---|
| 1156 | eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} |
---|
| 1157 | eval ac_cv_env_${ac_var}_value=\$${ac_var} |
---|
| 1158 | done |
---|
[8298425] | 1159 | |
---|
| 1160 | # |
---|
| 1161 | # Report the --help message. |
---|
| 1162 | # |
---|
| 1163 | if test "$ac_init_help" = "long"; then |
---|
| 1164 | # Omit some internal or obsolete options to make the list less imposing. |
---|
| 1165 | # This message is too long to be a string in the A/UX 3.1 sh. |
---|
| 1166 | cat <<_ACEOF |
---|
| 1167 | \`configure' configures this package to adapt to many kinds of systems. |
---|
| 1168 | |
---|
| 1169 | Usage: $0 [OPTION]... [VAR=VALUE]... |
---|
| 1170 | |
---|
| 1171 | To assign environment variables (e.g., CC, CFLAGS...), specify them as |
---|
| 1172 | VAR=VALUE. See below for descriptions of some of the useful variables. |
---|
| 1173 | |
---|
| 1174 | Defaults for the options are specified in brackets. |
---|
| 1175 | |
---|
| 1176 | Configuration: |
---|
| 1177 | -h, --help display this help and exit |
---|
| 1178 | --help=short display options specific to this package |
---|
| 1179 | --help=recursive display the short help of all the included packages |
---|
| 1180 | -V, --version display version information and exit |
---|
| 1181 | -q, --quiet, --silent do not print \`checking...' messages |
---|
| 1182 | --cache-file=FILE cache test results in FILE [disabled] |
---|
| 1183 | -C, --config-cache alias for \`--cache-file=config.cache' |
---|
| 1184 | -n, --no-create do not create output files |
---|
| 1185 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
---|
| 1186 | |
---|
| 1187 | Installation directories: |
---|
| 1188 | --prefix=PREFIX install architecture-independent files in PREFIX |
---|
| 1189 | [$ac_default_prefix] |
---|
| 1190 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
---|
| 1191 | [PREFIX] |
---|
| 1192 | |
---|
| 1193 | By default, \`make install' will install all the files in |
---|
| 1194 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
---|
| 1195 | an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
---|
| 1196 | for instance \`--prefix=\$HOME'. |
---|
| 1197 | |
---|
| 1198 | For better control, use the options below. |
---|
| 1199 | |
---|
| 1200 | Fine tuning of the installation directories: |
---|
| 1201 | --bindir=DIR user executables [EPREFIX/bin] |
---|
| 1202 | --sbindir=DIR system admin executables [EPREFIX/sbin] |
---|
| 1203 | --libexecdir=DIR program executables [EPREFIX/libexec] |
---|
| 1204 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
---|
| 1205 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
---|
| 1206 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
---|
| 1207 | --libdir=DIR object code libraries [EPREFIX/lib] |
---|
| 1208 | --includedir=DIR C header files [PREFIX/include] |
---|
| 1209 | --oldincludedir=DIR C header files for non-gcc [/usr/include] |
---|
[4ad3480] | 1210 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
---|
| 1211 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
---|
| 1212 | --infodir=DIR info documentation [DATAROOTDIR/info] |
---|
| 1213 | --localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
---|
| 1214 | --mandir=DIR man documentation [DATAROOTDIR/man] |
---|
| 1215 | --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] |
---|
| 1216 | --htmldir=DIR html documentation [DOCDIR] |
---|
| 1217 | --dvidir=DIR dvi documentation [DOCDIR] |
---|
| 1218 | --pdfdir=DIR pdf documentation [DOCDIR] |
---|
| 1219 | --psdir=DIR ps documentation [DOCDIR] |
---|
[8298425] | 1220 | _ACEOF |
---|
| 1221 | |
---|
| 1222 | cat <<\_ACEOF |
---|
| 1223 | _ACEOF |
---|
| 1224 | fi |
---|
| 1225 | |
---|
| 1226 | if test -n "$ac_init_help"; then |
---|
| 1227 | |
---|
| 1228 | cat <<\_ACEOF |
---|
| 1229 | |
---|
| 1230 | Some influential environment variables: |
---|
| 1231 | CC C compiler command |
---|
| 1232 | CFLAGS C compiler flags |
---|
| 1233 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
---|
| 1234 | nonstandard directory <lib dir> |
---|
[4ad3480] | 1235 | CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if |
---|
| 1236 | you have headers in a nonstandard directory <include dir> |
---|
[8298425] | 1237 | CPP C preprocessor |
---|
| 1238 | |
---|
| 1239 | Use these variables to override the choices made by `configure' or to help |
---|
| 1240 | it to find libraries and programs with nonstandard names/locations. |
---|
| 1241 | |
---|
| 1242 | _ACEOF |
---|
[4ad3480] | 1243 | ac_status=$? |
---|
[8298425] | 1244 | fi |
---|
| 1245 | |
---|
| 1246 | if test "$ac_init_help" = "recursive"; then |
---|
| 1247 | # If there are subdirs, report their specific --help. |
---|
| 1248 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
---|
[4ad3480] | 1249 | test -d "$ac_dir" || continue |
---|
[8298425] | 1250 | ac_builddir=. |
---|
| 1251 | |
---|
[4ad3480] | 1252 | case "$ac_dir" in |
---|
| 1253 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
---|
| 1254 | *) |
---|
[8298425] | 1255 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
---|
[4ad3480] | 1256 | # A ".." for each directory in $ac_dir_suffix. |
---|
| 1257 | ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` |
---|
| 1258 | case $ac_top_builddir_sub in |
---|
| 1259 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
---|
| 1260 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
---|
| 1261 | esac ;; |
---|
| 1262 | esac |
---|
| 1263 | ac_abs_top_builddir=$ac_pwd |
---|
| 1264 | ac_abs_builddir=$ac_pwd$ac_dir_suffix |
---|
| 1265 | # for backward compatibility: |
---|
| 1266 | ac_top_builddir=$ac_top_build_prefix |
---|
[8298425] | 1267 | |
---|
| 1268 | case $srcdir in |
---|
[4ad3480] | 1269 | .) # We are building in place. |
---|
[8298425] | 1270 | ac_srcdir=. |
---|
[4ad3480] | 1271 | ac_top_srcdir=$ac_top_builddir_sub |
---|
| 1272 | ac_abs_top_srcdir=$ac_pwd ;; |
---|
| 1273 | [\\/]* | ?:[\\/]* ) # Absolute name. |
---|
[8298425] | 1274 | ac_srcdir=$srcdir$ac_dir_suffix; |
---|
[4ad3480] | 1275 | ac_top_srcdir=$srcdir |
---|
| 1276 | ac_abs_top_srcdir=$srcdir ;; |
---|
| 1277 | *) # Relative name. |
---|
| 1278 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
---|
| 1279 | ac_top_srcdir=$ac_top_build_prefix$srcdir |
---|
| 1280 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
---|
[8298425] | 1281 | esac |
---|
[4ad3480] | 1282 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
---|
| 1283 | |
---|
| 1284 | cd "$ac_dir" || { ac_status=$?; continue; } |
---|
| 1285 | # Check for guested configure. |
---|
| 1286 | if test -f "$ac_srcdir/configure.gnu"; then |
---|
| 1287 | echo && |
---|
| 1288 | $SHELL "$ac_srcdir/configure.gnu" --help=recursive |
---|
| 1289 | elif test -f "$ac_srcdir/configure"; then |
---|
| 1290 | echo && |
---|
| 1291 | $SHELL "$ac_srcdir/configure" --help=recursive |
---|
[8298425] | 1292 | else |
---|
| 1293 | echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
---|
[4ad3480] | 1294 | fi || ac_status=$? |
---|
| 1295 | cd "$ac_pwd" || { ac_status=$?; break; } |
---|
[8298425] | 1296 | done |
---|
| 1297 | fi |
---|
| 1298 | |
---|
[4ad3480] | 1299 | test -n "$ac_init_help" && exit $ac_status |
---|
[8298425] | 1300 | if $ac_init_version; then |
---|
| 1301 | cat <<\_ACEOF |
---|
[4ad3480] | 1302 | configure |
---|
| 1303 | generated by GNU Autoconf 2.60 |
---|
[8298425] | 1304 | |
---|
[4ad3480] | 1305 | Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
---|
| 1306 | 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. |
---|
[8298425] | 1307 | This configure script is free software; the Free Software Foundation |
---|
| 1308 | gives unlimited permission to copy, distribute and modify it. |
---|
| 1309 | _ACEOF |
---|
[4ad3480] | 1310 | exit |
---|
[8298425] | 1311 | fi |
---|
[4ad3480] | 1312 | cat >config.log <<_ACEOF |
---|
[8298425] | 1313 | This file contains any messages produced by compilers while |
---|
| 1314 | running configure, to aid debugging if configure makes a mistake. |
---|
| 1315 | |
---|
| 1316 | It was created by $as_me, which was |
---|
[4ad3480] | 1317 | generated by GNU Autoconf 2.60. Invocation command line was |
---|
[8298425] | 1318 | |
---|
| 1319 | $ $0 $@ |
---|
| 1320 | |
---|
| 1321 | _ACEOF |
---|
[4ad3480] | 1322 | exec 5>>config.log |
---|
[8298425] | 1323 | { |
---|
| 1324 | cat <<_ASUNAME |
---|
| 1325 | ## --------- ## |
---|
| 1326 | ## Platform. ## |
---|
| 1327 | ## --------- ## |
---|
| 1328 | |
---|
| 1329 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
---|
| 1330 | uname -m = `(uname -m) 2>/dev/null || echo unknown` |
---|
| 1331 | uname -r = `(uname -r) 2>/dev/null || echo unknown` |
---|
| 1332 | uname -s = `(uname -s) 2>/dev/null || echo unknown` |
---|
| 1333 | uname -v = `(uname -v) 2>/dev/null || echo unknown` |
---|
| 1334 | |
---|
| 1335 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` |
---|
| 1336 | /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` |
---|
| 1337 | |
---|
| 1338 | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
---|
| 1339 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
---|
| 1340 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
---|
[4ad3480] | 1341 | /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` |
---|
[8298425] | 1342 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
---|
| 1343 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
---|
| 1344 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
---|
| 1345 | |
---|
| 1346 | _ASUNAME |
---|
| 1347 | |
---|
| 1348 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 1349 | for as_dir in $PATH |
---|
| 1350 | do |
---|
| 1351 | IFS=$as_save_IFS |
---|
| 1352 | test -z "$as_dir" && as_dir=. |
---|
| 1353 | echo "PATH: $as_dir" |
---|
| 1354 | done |
---|
[4ad3480] | 1355 | IFS=$as_save_IFS |
---|
[8298425] | 1356 | |
---|
| 1357 | } >&5 |
---|
| 1358 | |
---|
| 1359 | cat >&5 <<_ACEOF |
---|
| 1360 | |
---|
| 1361 | |
---|
| 1362 | ## ----------- ## |
---|
| 1363 | ## Core tests. ## |
---|
| 1364 | ## ----------- ## |
---|
| 1365 | |
---|
| 1366 | _ACEOF |
---|
| 1367 | |
---|
| 1368 | |
---|
| 1369 | # Keep a trace of the command line. |
---|
| 1370 | # Strip out --no-create and --no-recursion so they do not pile up. |
---|
| 1371 | # Strip out --silent because we don't want to record it for future runs. |
---|
| 1372 | # Also quote any args containing shell meta-characters. |
---|
| 1373 | # Make two passes to allow for proper duplicate-argument suppression. |
---|
| 1374 | ac_configure_args= |
---|
| 1375 | ac_configure_args0= |
---|
| 1376 | ac_configure_args1= |
---|
| 1377 | ac_must_keep_next=false |
---|
| 1378 | for ac_pass in 1 2 |
---|
| 1379 | do |
---|
| 1380 | for ac_arg |
---|
| 1381 | do |
---|
| 1382 | case $ac_arg in |
---|
| 1383 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
---|
| 1384 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
---|
| 1385 | | -silent | --silent | --silen | --sile | --sil) |
---|
| 1386 | continue ;; |
---|
[4ad3480] | 1387 | *\'*) |
---|
[8298425] | 1388 | ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
---|
| 1389 | esac |
---|
| 1390 | case $ac_pass in |
---|
| 1391 | 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; |
---|
| 1392 | 2) |
---|
| 1393 | ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
---|
| 1394 | if test $ac_must_keep_next = true; then |
---|
| 1395 | ac_must_keep_next=false # Got value, back to normal. |
---|
| 1396 | else |
---|
| 1397 | case $ac_arg in |
---|
| 1398 | *=* | --config-cache | -C | -disable-* | --disable-* \ |
---|
| 1399 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
---|
| 1400 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
---|
| 1401 | | -with-* | --with-* | -without-* | --without-* | --x) |
---|
| 1402 | case "$ac_configure_args0 " in |
---|
| 1403 | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
---|
| 1404 | esac |
---|
| 1405 | ;; |
---|
| 1406 | -* ) ac_must_keep_next=true ;; |
---|
| 1407 | esac |
---|
| 1408 | fi |
---|
[4ad3480] | 1409 | ac_configure_args="$ac_configure_args '$ac_arg'" |
---|
[8298425] | 1410 | ;; |
---|
| 1411 | esac |
---|
| 1412 | done |
---|
| 1413 | done |
---|
| 1414 | $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } |
---|
| 1415 | $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } |
---|
| 1416 | |
---|
| 1417 | # When interrupted or exit'd, cleanup temporary files, and complete |
---|
| 1418 | # config.log. We remove comments because anyway the quotes in there |
---|
| 1419 | # would cause problems or look ugly. |
---|
[4ad3480] | 1420 | # WARNING: Use '\'' to represent an apostrophe within the trap. |
---|
| 1421 | # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. |
---|
[8298425] | 1422 | trap 'exit_status=$? |
---|
| 1423 | # Save into config.log some information that might help in debugging. |
---|
| 1424 | { |
---|
| 1425 | echo |
---|
| 1426 | |
---|
| 1427 | cat <<\_ASBOX |
---|
| 1428 | ## ---------------- ## |
---|
| 1429 | ## Cache variables. ## |
---|
| 1430 | ## ---------------- ## |
---|
| 1431 | _ASBOX |
---|
| 1432 | echo |
---|
| 1433 | # The following way of writing the cache mishandles newlines in values, |
---|
[4ad3480] | 1434 | ( |
---|
| 1435 | for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
---|
| 1436 | eval ac_val=\$$ac_var |
---|
| 1437 | case $ac_val in #( |
---|
| 1438 | *${as_nl}*) |
---|
| 1439 | case $ac_var in #( |
---|
| 1440 | *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 |
---|
| 1441 | echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; |
---|
| 1442 | esac |
---|
| 1443 | case $ac_var in #( |
---|
| 1444 | _ | IFS | as_nl) ;; #( |
---|
| 1445 | *) $as_unset $ac_var ;; |
---|
| 1446 | esac ;; |
---|
| 1447 | esac |
---|
| 1448 | done |
---|
[8298425] | 1449 | (set) 2>&1 | |
---|
[4ad3480] | 1450 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
---|
| 1451 | *${as_nl}ac_space=\ *) |
---|
[8298425] | 1452 | sed -n \ |
---|
[4ad3480] | 1453 | "s/'\''/'\''\\\\'\'''\''/g; |
---|
| 1454 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" |
---|
| 1455 | ;; #( |
---|
[8298425] | 1456 | *) |
---|
[4ad3480] | 1457 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
---|
[8298425] | 1458 | ;; |
---|
[4ad3480] | 1459 | esac | |
---|
| 1460 | sort |
---|
| 1461 | ) |
---|
[8298425] | 1462 | echo |
---|
| 1463 | |
---|
| 1464 | cat <<\_ASBOX |
---|
| 1465 | ## ----------------- ## |
---|
| 1466 | ## Output variables. ## |
---|
| 1467 | ## ----------------- ## |
---|
| 1468 | _ASBOX |
---|
| 1469 | echo |
---|
| 1470 | for ac_var in $ac_subst_vars |
---|
| 1471 | do |
---|
[4ad3480] | 1472 | eval ac_val=\$$ac_var |
---|
| 1473 | case $ac_val in |
---|
| 1474 | *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
---|
| 1475 | esac |
---|
| 1476 | echo "$ac_var='\''$ac_val'\''" |
---|
[8298425] | 1477 | done | sort |
---|
| 1478 | echo |
---|
| 1479 | |
---|
| 1480 | if test -n "$ac_subst_files"; then |
---|
| 1481 | cat <<\_ASBOX |
---|
[4ad3480] | 1482 | ## ------------------- ## |
---|
| 1483 | ## File substitutions. ## |
---|
| 1484 | ## ------------------- ## |
---|
[8298425] | 1485 | _ASBOX |
---|
| 1486 | echo |
---|
| 1487 | for ac_var in $ac_subst_files |
---|
| 1488 | do |
---|
[4ad3480] | 1489 | eval ac_val=\$$ac_var |
---|
| 1490 | case $ac_val in |
---|
| 1491 | *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
---|
| 1492 | esac |
---|
| 1493 | echo "$ac_var='\''$ac_val'\''" |
---|
[8298425] | 1494 | done | sort |
---|
| 1495 | echo |
---|
| 1496 | fi |
---|
| 1497 | |
---|
| 1498 | if test -s confdefs.h; then |
---|
| 1499 | cat <<\_ASBOX |
---|
| 1500 | ## ----------- ## |
---|
| 1501 | ## confdefs.h. ## |
---|
| 1502 | ## ----------- ## |
---|
| 1503 | _ASBOX |
---|
| 1504 | echo |
---|
[4ad3480] | 1505 | cat confdefs.h |
---|
[8298425] | 1506 | echo |
---|
| 1507 | fi |
---|
| 1508 | test "$ac_signal" != 0 && |
---|
| 1509 | echo "$as_me: caught signal $ac_signal" |
---|
| 1510 | echo "$as_me: exit $exit_status" |
---|
| 1511 | } >&5 |
---|
[4ad3480] | 1512 | rm -f core *.core core.conftest.* && |
---|
| 1513 | rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
---|
[8298425] | 1514 | exit $exit_status |
---|
[4ad3480] | 1515 | ' 0 |
---|
[8298425] | 1516 | for ac_signal in 1 2 13 15; do |
---|
| 1517 | trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal |
---|
| 1518 | done |
---|
| 1519 | ac_signal=0 |
---|
| 1520 | |
---|
| 1521 | # confdefs.h avoids OS command line length limits that DEFS can exceed. |
---|
[4ad3480] | 1522 | rm -f -r conftest* confdefs.h |
---|
[8298425] | 1523 | |
---|
| 1524 | # Predefined preprocessor variables. |
---|
| 1525 | |
---|
| 1526 | cat >>confdefs.h <<_ACEOF |
---|
| 1527 | #define PACKAGE_NAME "$PACKAGE_NAME" |
---|
| 1528 | _ACEOF |
---|
| 1529 | |
---|
| 1530 | |
---|
| 1531 | cat >>confdefs.h <<_ACEOF |
---|
| 1532 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
---|
| 1533 | _ACEOF |
---|
| 1534 | |
---|
| 1535 | |
---|
| 1536 | cat >>confdefs.h <<_ACEOF |
---|
| 1537 | #define PACKAGE_VERSION "$PACKAGE_VERSION" |
---|
| 1538 | _ACEOF |
---|
| 1539 | |
---|
| 1540 | |
---|
| 1541 | cat >>confdefs.h <<_ACEOF |
---|
| 1542 | #define PACKAGE_STRING "$PACKAGE_STRING" |
---|
| 1543 | _ACEOF |
---|
[7d4fbcd] | 1544 | |
---|
[8298425] | 1545 | |
---|
| 1546 | cat >>confdefs.h <<_ACEOF |
---|
| 1547 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
---|
| 1548 | _ACEOF |
---|
| 1549 | |
---|
| 1550 | |
---|
| 1551 | # Let the site file select an alternate cache file if it wants to. |
---|
[7d4fbcd] | 1552 | # Prefer explicitly selected file to automatically selected ones. |
---|
[4ad3480] | 1553 | if test -n "$CONFIG_SITE"; then |
---|
| 1554 | set x "$CONFIG_SITE" |
---|
| 1555 | elif test "x$prefix" != xNONE; then |
---|
| 1556 | set x "$prefix/share/config.site" "$prefix/etc/config.site" |
---|
| 1557 | else |
---|
| 1558 | set x "$ac_default_prefix/share/config.site" \ |
---|
| 1559 | "$ac_default_prefix/etc/config.site" |
---|
[7d4fbcd] | 1560 | fi |
---|
[4ad3480] | 1561 | shift |
---|
| 1562 | for ac_site_file |
---|
| 1563 | do |
---|
[7d4fbcd] | 1564 | if test -r "$ac_site_file"; then |
---|
[8298425] | 1565 | { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 |
---|
| 1566 | echo "$as_me: loading site script $ac_site_file" >&6;} |
---|
| 1567 | sed 's/^/| /' "$ac_site_file" >&5 |
---|
[7d4fbcd] | 1568 | . "$ac_site_file" |
---|
| 1569 | fi |
---|
| 1570 | done |
---|
| 1571 | |
---|
| 1572 | if test -r "$cache_file"; then |
---|
[8298425] | 1573 | # Some versions of bash will fail to source /dev/null (special |
---|
| 1574 | # files actually), so we avoid doing that. |
---|
| 1575 | if test -f "$cache_file"; then |
---|
| 1576 | { echo "$as_me:$LINENO: loading cache $cache_file" >&5 |
---|
| 1577 | echo "$as_me: loading cache $cache_file" >&6;} |
---|
| 1578 | case $cache_file in |
---|
[4ad3480] | 1579 | [\\/]* | ?:[\\/]* ) . "$cache_file";; |
---|
| 1580 | *) . "./$cache_file";; |
---|
[8298425] | 1581 | esac |
---|
| 1582 | fi |
---|
[7d4fbcd] | 1583 | else |
---|
[8298425] | 1584 | { echo "$as_me:$LINENO: creating cache $cache_file" >&5 |
---|
| 1585 | echo "$as_me: creating cache $cache_file" >&6;} |
---|
| 1586 | >$cache_file |
---|
[7d4fbcd] | 1587 | fi |
---|
| 1588 | |
---|
[8298425] | 1589 | # Check that the precious variables saved in the cache have kept the same |
---|
| 1590 | # value. |
---|
| 1591 | ac_cache_corrupted=false |
---|
[4ad3480] | 1592 | for ac_var in $ac_precious_vars; do |
---|
[8298425] | 1593 | eval ac_old_set=\$ac_cv_env_${ac_var}_set |
---|
| 1594 | eval ac_new_set=\$ac_env_${ac_var}_set |
---|
[4ad3480] | 1595 | eval ac_old_val=\$ac_cv_env_${ac_var}_value |
---|
| 1596 | eval ac_new_val=\$ac_env_${ac_var}_value |
---|
[8298425] | 1597 | case $ac_old_set,$ac_new_set in |
---|
| 1598 | set,) |
---|
| 1599 | { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
---|
| 1600 | echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
---|
| 1601 | ac_cache_corrupted=: ;; |
---|
| 1602 | ,set) |
---|
| 1603 | { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 |
---|
| 1604 | echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
---|
| 1605 | ac_cache_corrupted=: ;; |
---|
| 1606 | ,);; |
---|
| 1607 | *) |
---|
| 1608 | if test "x$ac_old_val" != "x$ac_new_val"; then |
---|
| 1609 | { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
---|
| 1610 | echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
---|
| 1611 | { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 |
---|
| 1612 | echo "$as_me: former value: $ac_old_val" >&2;} |
---|
| 1613 | { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 |
---|
| 1614 | echo "$as_me: current value: $ac_new_val" >&2;} |
---|
| 1615 | ac_cache_corrupted=: |
---|
| 1616 | fi;; |
---|
| 1617 | esac |
---|
| 1618 | # Pass precious variables to config.status. |
---|
| 1619 | if test "$ac_new_set" = set; then |
---|
| 1620 | case $ac_new_val in |
---|
[4ad3480] | 1621 | *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
---|
[8298425] | 1622 | *) ac_arg=$ac_var=$ac_new_val ;; |
---|
| 1623 | esac |
---|
| 1624 | case " $ac_configure_args " in |
---|
| 1625 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
---|
| 1626 | *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; |
---|
| 1627 | esac |
---|
[7d4fbcd] | 1628 | fi |
---|
[8298425] | 1629 | done |
---|
| 1630 | if $ac_cache_corrupted; then |
---|
| 1631 | { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 |
---|
| 1632 | echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
---|
| 1633 | { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 |
---|
| 1634 | echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} |
---|
| 1635 | { (exit 1); exit 1; }; } |
---|
[7d4fbcd] | 1636 | fi |
---|
| 1637 | |
---|
| 1638 | |
---|
| 1639 | |
---|
| 1640 | |
---|
| 1641 | |
---|
[8298425] | 1642 | |
---|
| 1643 | |
---|
| 1644 | |
---|
| 1645 | |
---|
| 1646 | |
---|
| 1647 | |
---|
| 1648 | |
---|
| 1649 | |
---|
| 1650 | |
---|
| 1651 | |
---|
| 1652 | |
---|
| 1653 | |
---|
[4ad3480] | 1654 | ac_ext=c |
---|
| 1655 | ac_cpp='$CPP $CPPFLAGS' |
---|
| 1656 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
| 1657 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
| 1658 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
[8298425] | 1659 | |
---|
| 1660 | |
---|
| 1661 | |
---|
[4ad3480] | 1662 | ac_config_headers="$ac_config_headers config.h" |
---|
[8298425] | 1663 | |
---|
| 1664 | |
---|
| 1665 | ac_ext=c |
---|
| 1666 | ac_cpp='$CPP $CPPFLAGS' |
---|
| 1667 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
| 1668 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
| 1669 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
| 1670 | if test -n "$ac_tool_prefix"; then |
---|
| 1671 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
---|
| 1672 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
---|
[4ad3480] | 1673 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
| 1674 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
---|
[8298425] | 1675 | if test "${ac_cv_prog_CC+set}" = set; then |
---|
| 1676 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
[7d4fbcd] | 1677 | else |
---|
| 1678 | if test -n "$CC"; then |
---|
| 1679 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
| 1680 | else |
---|
[8298425] | 1681 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 1682 | for as_dir in $PATH |
---|
| 1683 | do |
---|
| 1684 | IFS=$as_save_IFS |
---|
| 1685 | test -z "$as_dir" && as_dir=. |
---|
| 1686 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
[4ad3480] | 1687 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
[8298425] | 1688 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
---|
| 1689 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
| 1690 | break 2 |
---|
| 1691 | fi |
---|
| 1692 | done |
---|
| 1693 | done |
---|
[4ad3480] | 1694 | IFS=$as_save_IFS |
---|
[8298425] | 1695 | |
---|
[7d4fbcd] | 1696 | fi |
---|
| 1697 | fi |
---|
[8298425] | 1698 | CC=$ac_cv_prog_CC |
---|
[7d4fbcd] | 1699 | if test -n "$CC"; then |
---|
[4ad3480] | 1700 | { echo "$as_me:$LINENO: result: $CC" >&5 |
---|
| 1701 | echo "${ECHO_T}$CC" >&6; } |
---|
[8298425] | 1702 | else |
---|
[4ad3480] | 1703 | { echo "$as_me:$LINENO: result: no" >&5 |
---|
| 1704 | echo "${ECHO_T}no" >&6; } |
---|
[8298425] | 1705 | fi |
---|
| 1706 | |
---|
[4ad3480] | 1707 | |
---|
[8298425] | 1708 | fi |
---|
| 1709 | if test -z "$ac_cv_prog_CC"; then |
---|
| 1710 | ac_ct_CC=$CC |
---|
| 1711 | # Extract the first word of "gcc", so it can be a program name with args. |
---|
| 1712 | set dummy gcc; ac_word=$2 |
---|
[4ad3480] | 1713 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
| 1714 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
---|
[8298425] | 1715 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
---|
| 1716 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 1717 | else |
---|
| 1718 | if test -n "$ac_ct_CC"; then |
---|
| 1719 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
---|
| 1720 | else |
---|
| 1721 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 1722 | for as_dir in $PATH |
---|
| 1723 | do |
---|
| 1724 | IFS=$as_save_IFS |
---|
| 1725 | test -z "$as_dir" && as_dir=. |
---|
| 1726 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
[4ad3480] | 1727 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
[8298425] | 1728 | ac_cv_prog_ac_ct_CC="gcc" |
---|
| 1729 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
| 1730 | break 2 |
---|
| 1731 | fi |
---|
| 1732 | done |
---|
| 1733 | done |
---|
[4ad3480] | 1734 | IFS=$as_save_IFS |
---|
[8298425] | 1735 | |
---|
| 1736 | fi |
---|
| 1737 | fi |
---|
| 1738 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
---|
| 1739 | if test -n "$ac_ct_CC"; then |
---|
[4ad3480] | 1740 | { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
---|
| 1741 | echo "${ECHO_T}$ac_ct_CC" >&6; } |
---|
[8298425] | 1742 | else |
---|
[4ad3480] | 1743 | { echo "$as_me:$LINENO: result: no" >&5 |
---|
| 1744 | echo "${ECHO_T}no" >&6; } |
---|
[8298425] | 1745 | fi |
---|
| 1746 | |
---|
[4ad3480] | 1747 | if test "x$ac_ct_CC" = x; then |
---|
| 1748 | CC="" |
---|
| 1749 | else |
---|
| 1750 | case $cross_compiling:$ac_tool_warned in |
---|
| 1751 | yes:) |
---|
| 1752 | { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
---|
| 1753 | whose name does not start with the host triplet. If you think this |
---|
| 1754 | configuration is useful to you, please write to autoconf@gnu.org." >&5 |
---|
| 1755 | echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
---|
| 1756 | whose name does not start with the host triplet. If you think this |
---|
| 1757 | configuration is useful to you, please write to autoconf@gnu.org." >&2;} |
---|
| 1758 | ac_tool_warned=yes ;; |
---|
| 1759 | esac |
---|
| 1760 | CC=$ac_ct_CC |
---|
| 1761 | fi |
---|
[7d4fbcd] | 1762 | else |
---|
[8298425] | 1763 | CC="$ac_cv_prog_CC" |
---|
[7d4fbcd] | 1764 | fi |
---|
| 1765 | |
---|
| 1766 | if test -z "$CC"; then |
---|
[4ad3480] | 1767 | if test -n "$ac_tool_prefix"; then |
---|
| 1768 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
---|
[8298425] | 1769 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
---|
[4ad3480] | 1770 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
| 1771 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
---|
[8298425] | 1772 | if test "${ac_cv_prog_CC+set}" = set; then |
---|
| 1773 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
[7d4fbcd] | 1774 | else |
---|
| 1775 | if test -n "$CC"; then |
---|
| 1776 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
| 1777 | else |
---|
[8298425] | 1778 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 1779 | for as_dir in $PATH |
---|
| 1780 | do |
---|
| 1781 | IFS=$as_save_IFS |
---|
| 1782 | test -z "$as_dir" && as_dir=. |
---|
| 1783 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
[4ad3480] | 1784 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
[8298425] | 1785 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
---|
| 1786 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
| 1787 | break 2 |
---|
| 1788 | fi |
---|
| 1789 | done |
---|
| 1790 | done |
---|
[4ad3480] | 1791 | IFS=$as_save_IFS |
---|
[8298425] | 1792 | |
---|
| 1793 | fi |
---|
| 1794 | fi |
---|
| 1795 | CC=$ac_cv_prog_CC |
---|
| 1796 | if test -n "$CC"; then |
---|
[4ad3480] | 1797 | { echo "$as_me:$LINENO: result: $CC" >&5 |
---|
| 1798 | echo "${ECHO_T}$CC" >&6; } |
---|
[8298425] | 1799 | else |
---|
[4ad3480] | 1800 | { echo "$as_me:$LINENO: result: no" >&5 |
---|
| 1801 | echo "${ECHO_T}no" >&6; } |
---|
[8298425] | 1802 | fi |
---|
| 1803 | |
---|
| 1804 | |
---|
[4ad3480] | 1805 | fi |
---|
[8298425] | 1806 | fi |
---|
| 1807 | if test -z "$CC"; then |
---|
| 1808 | # Extract the first word of "cc", so it can be a program name with args. |
---|
| 1809 | set dummy cc; ac_word=$2 |
---|
[4ad3480] | 1810 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
| 1811 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
---|
[8298425] | 1812 | if test "${ac_cv_prog_CC+set}" = set; then |
---|
| 1813 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 1814 | else |
---|
| 1815 | if test -n "$CC"; then |
---|
| 1816 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
| 1817 | else |
---|
| 1818 | ac_prog_rejected=no |
---|
| 1819 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 1820 | for as_dir in $PATH |
---|
| 1821 | do |
---|
| 1822 | IFS=$as_save_IFS |
---|
| 1823 | test -z "$as_dir" && as_dir=. |
---|
| 1824 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
[4ad3480] | 1825 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
[8298425] | 1826 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
---|
| 1827 | ac_prog_rejected=yes |
---|
| 1828 | continue |
---|
| 1829 | fi |
---|
| 1830 | ac_cv_prog_CC="cc" |
---|
| 1831 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
| 1832 | break 2 |
---|
| 1833 | fi |
---|
| 1834 | done |
---|
| 1835 | done |
---|
[4ad3480] | 1836 | IFS=$as_save_IFS |
---|
[8298425] | 1837 | |
---|
[7d4fbcd] | 1838 | if test $ac_prog_rejected = yes; then |
---|
| 1839 | # We found a bogon in the path, so make sure we never use it. |
---|
| 1840 | set dummy $ac_cv_prog_CC |
---|
| 1841 | shift |
---|
[8298425] | 1842 | if test $# != 0; then |
---|
[7d4fbcd] | 1843 | # We chose a different compiler from the bogus one. |
---|
| 1844 | # However, it has the same basename, so the bogon will be chosen |
---|
| 1845 | # first if we set CC to just the basename; use the full file name. |
---|
| 1846 | shift |
---|
[8298425] | 1847 | ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
---|
[7d4fbcd] | 1848 | fi |
---|
| 1849 | fi |
---|
| 1850 | fi |
---|
| 1851 | fi |
---|
[8298425] | 1852 | CC=$ac_cv_prog_CC |
---|
[7d4fbcd] | 1853 | if test -n "$CC"; then |
---|
[4ad3480] | 1854 | { echo "$as_me:$LINENO: result: $CC" >&5 |
---|
| 1855 | echo "${ECHO_T}$CC" >&6; } |
---|
[7d4fbcd] | 1856 | else |
---|
[4ad3480] | 1857 | { echo "$as_me:$LINENO: result: no" >&5 |
---|
| 1858 | echo "${ECHO_T}no" >&6; } |
---|
[7d4fbcd] | 1859 | fi |
---|
| 1860 | |
---|
[4ad3480] | 1861 | |
---|
[8298425] | 1862 | fi |
---|
| 1863 | if test -z "$CC"; then |
---|
| 1864 | if test -n "$ac_tool_prefix"; then |
---|
[4ad3480] | 1865 | for ac_prog in cl.exe |
---|
[8298425] | 1866 | do |
---|
| 1867 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
---|
| 1868 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
---|
[4ad3480] | 1869 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
| 1870 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
---|
[8298425] | 1871 | if test "${ac_cv_prog_CC+set}" = set; then |
---|
| 1872 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
[7d4fbcd] | 1873 | else |
---|
| 1874 | if test -n "$CC"; then |
---|
| 1875 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
| 1876 | else |
---|
[8298425] | 1877 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 1878 | for as_dir in $PATH |
---|
| 1879 | do |
---|
| 1880 | IFS=$as_save_IFS |
---|
| 1881 | test -z "$as_dir" && as_dir=. |
---|
| 1882 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
[4ad3480] | 1883 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
[8298425] | 1884 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
---|
| 1885 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
| 1886 | break 2 |
---|
| 1887 | fi |
---|
| 1888 | done |
---|
| 1889 | done |
---|
[4ad3480] | 1890 | IFS=$as_save_IFS |
---|
[8298425] | 1891 | |
---|
[7d4fbcd] | 1892 | fi |
---|
| 1893 | fi |
---|
[8298425] | 1894 | CC=$ac_cv_prog_CC |
---|
[7d4fbcd] | 1895 | if test -n "$CC"; then |
---|
[4ad3480] | 1896 | { echo "$as_me:$LINENO: result: $CC" >&5 |
---|
| 1897 | echo "${ECHO_T}$CC" >&6; } |
---|
[7d4fbcd] | 1898 | else |
---|
[4ad3480] | 1899 | { echo "$as_me:$LINENO: result: no" >&5 |
---|
| 1900 | echo "${ECHO_T}no" >&6; } |
---|
[7d4fbcd] | 1901 | fi |
---|
[8298425] | 1902 | |
---|
[4ad3480] | 1903 | |
---|
[8298425] | 1904 | test -n "$CC" && break |
---|
| 1905 | done |
---|
| 1906 | fi |
---|
| 1907 | if test -z "$CC"; then |
---|
| 1908 | ac_ct_CC=$CC |
---|
[4ad3480] | 1909 | for ac_prog in cl.exe |
---|
[8298425] | 1910 | do |
---|
| 1911 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
---|
| 1912 | set dummy $ac_prog; ac_word=$2 |
---|
[4ad3480] | 1913 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
| 1914 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
---|
[8298425] | 1915 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
---|
| 1916 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 1917 | else |
---|
| 1918 | if test -n "$ac_ct_CC"; then |
---|
| 1919 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
---|
| 1920 | else |
---|
| 1921 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 1922 | for as_dir in $PATH |
---|
| 1923 | do |
---|
| 1924 | IFS=$as_save_IFS |
---|
| 1925 | test -z "$as_dir" && as_dir=. |
---|
| 1926 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
[4ad3480] | 1927 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
[8298425] | 1928 | ac_cv_prog_ac_ct_CC="$ac_prog" |
---|
| 1929 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
| 1930 | break 2 |
---|
[7d4fbcd] | 1931 | fi |
---|
[8298425] | 1932 | done |
---|
| 1933 | done |
---|
[4ad3480] | 1934 | IFS=$as_save_IFS |
---|
[8298425] | 1935 | |
---|
| 1936 | fi |
---|
| 1937 | fi |
---|
| 1938 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
---|
| 1939 | if test -n "$ac_ct_CC"; then |
---|
[4ad3480] | 1940 | { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
---|
| 1941 | echo "${ECHO_T}$ac_ct_CC" >&6; } |
---|
[8298425] | 1942 | else |
---|
[4ad3480] | 1943 | { echo "$as_me:$LINENO: result: no" >&5 |
---|
| 1944 | echo "${ECHO_T}no" >&6; } |
---|
[7d4fbcd] | 1945 | fi |
---|
| 1946 | |
---|
[4ad3480] | 1947 | |
---|
[8298425] | 1948 | test -n "$ac_ct_CC" && break |
---|
| 1949 | done |
---|
[7d4fbcd] | 1950 | |
---|
[4ad3480] | 1951 | if test "x$ac_ct_CC" = x; then |
---|
| 1952 | CC="" |
---|
| 1953 | else |
---|
| 1954 | case $cross_compiling:$ac_tool_warned in |
---|
| 1955 | yes:) |
---|
| 1956 | { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
---|
| 1957 | whose name does not start with the host triplet. If you think this |
---|
| 1958 | configuration is useful to you, please write to autoconf@gnu.org." >&5 |
---|
| 1959 | echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
---|
| 1960 | whose name does not start with the host triplet. If you think this |
---|
| 1961 | configuration is useful to you, please write to autoconf@gnu.org." >&2;} |
---|
| 1962 | ac_tool_warned=yes ;; |
---|
| 1963 | esac |
---|
| 1964 | CC=$ac_ct_CC |
---|
| 1965 | fi |
---|
[8298425] | 1966 | fi |
---|
| 1967 | |
---|
| 1968 | fi |
---|
| 1969 | |
---|
| 1970 | |
---|
| 1971 | test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH |
---|
| 1972 | See \`config.log' for more details." >&5 |
---|
| 1973 | echo "$as_me: error: no acceptable C compiler found in \$PATH |
---|
| 1974 | See \`config.log' for more details." >&2;} |
---|
| 1975 | { (exit 1); exit 1; }; } |
---|
| 1976 | |
---|
| 1977 | # Provide some information about the compiler. |
---|
[4ad3480] | 1978 | echo "$as_me:$LINENO: checking for C compiler version" >&5 |
---|
[8298425] | 1979 | ac_compiler=`set X $ac_compile; echo $2` |
---|
[4ad3480] | 1980 | { (ac_try="$ac_compiler --version >&5" |
---|
| 1981 | case "(($ac_try" in |
---|
| 1982 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 1983 | *) ac_try_echo=$ac_try;; |
---|
| 1984 | esac |
---|
| 1985 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 1986 | (eval "$ac_compiler --version >&5") 2>&5 |
---|
[8298425] | 1987 | ac_status=$? |
---|
| 1988 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 1989 | (exit $ac_status); } |
---|
[4ad3480] | 1990 | { (ac_try="$ac_compiler -v >&5" |
---|
| 1991 | case "(($ac_try" in |
---|
| 1992 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 1993 | *) ac_try_echo=$ac_try;; |
---|
| 1994 | esac |
---|
| 1995 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 1996 | (eval "$ac_compiler -v >&5") 2>&5 |
---|
[8298425] | 1997 | ac_status=$? |
---|
| 1998 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 1999 | (exit $ac_status); } |
---|
[4ad3480] | 2000 | { (ac_try="$ac_compiler -V >&5" |
---|
| 2001 | case "(($ac_try" in |
---|
| 2002 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 2003 | *) ac_try_echo=$ac_try;; |
---|
| 2004 | esac |
---|
| 2005 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 2006 | (eval "$ac_compiler -V >&5") 2>&5 |
---|
[8298425] | 2007 | ac_status=$? |
---|
| 2008 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2009 | (exit $ac_status); } |
---|
| 2010 | |
---|
| 2011 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 2012 | /* confdefs.h. */ |
---|
| 2013 | _ACEOF |
---|
| 2014 | cat confdefs.h >>conftest.$ac_ext |
---|
| 2015 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 2016 | /* end confdefs.h. */ |
---|
| 2017 | |
---|
| 2018 | int |
---|
| 2019 | main () |
---|
| 2020 | { |
---|
| 2021 | |
---|
| 2022 | ; |
---|
| 2023 | return 0; |
---|
| 2024 | } |
---|
| 2025 | _ACEOF |
---|
| 2026 | ac_clean_files_save=$ac_clean_files |
---|
| 2027 | ac_clean_files="$ac_clean_files a.out a.exe b.out" |
---|
| 2028 | # Try to create an executable without -o first, disregard a.out. |
---|
| 2029 | # It will help us diagnose broken compilers, and finding out an intuition |
---|
| 2030 | # of exeext. |
---|
[4ad3480] | 2031 | { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 |
---|
| 2032 | echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } |
---|
[8298425] | 2033 | ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
---|
[4ad3480] | 2034 | # |
---|
| 2035 | # List of possible output files, starting from the most likely. |
---|
| 2036 | # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) |
---|
| 2037 | # only as a last resort. b.out is created by i960 compilers. |
---|
| 2038 | ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' |
---|
| 2039 | # |
---|
| 2040 | # The IRIX 6 linker writes into existing files which may not be |
---|
| 2041 | # executable, retaining their permissions. Remove them first so a |
---|
| 2042 | # subsequent execution test works. |
---|
| 2043 | ac_rmfiles= |
---|
| 2044 | for ac_file in $ac_files |
---|
| 2045 | do |
---|
| 2046 | case $ac_file in |
---|
| 2047 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; |
---|
| 2048 | * ) ac_rmfiles="$ac_rmfiles $ac_file";; |
---|
| 2049 | esac |
---|
| 2050 | done |
---|
| 2051 | rm -f $ac_rmfiles |
---|
| 2052 | |
---|
| 2053 | if { (ac_try="$ac_link_default" |
---|
| 2054 | case "(($ac_try" in |
---|
| 2055 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 2056 | *) ac_try_echo=$ac_try;; |
---|
| 2057 | esac |
---|
| 2058 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 2059 | (eval "$ac_link_default") 2>&5 |
---|
[8298425] | 2060 | ac_status=$? |
---|
| 2061 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2062 | (exit $ac_status); }; then |
---|
[4ad3480] | 2063 | # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
---|
| 2064 | # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
---|
| 2065 | # in a Makefile. We should not override ac_cv_exeext if it was cached, |
---|
| 2066 | # so that the user can short-circuit this test for compilers unknown to |
---|
| 2067 | # Autoconf. |
---|
| 2068 | for ac_file in $ac_files |
---|
[8298425] | 2069 | do |
---|
| 2070 | test -f "$ac_file" || continue |
---|
| 2071 | case $ac_file in |
---|
[4ad3480] | 2072 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) |
---|
[8298425] | 2073 | ;; |
---|
| 2074 | [ab].out ) |
---|
| 2075 | # We found the default executable, but exeext='' is most |
---|
| 2076 | # certainly right. |
---|
| 2077 | break;; |
---|
| 2078 | *.* ) |
---|
[4ad3480] | 2079 | if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
---|
| 2080 | then :; else |
---|
| 2081 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
---|
| 2082 | fi |
---|
| 2083 | # We set ac_cv_exeext here because the later test for it is not |
---|
| 2084 | # safe: cross compilers may not add the suffix if given an `-o' |
---|
| 2085 | # argument, so we may need to know it at that point already. |
---|
| 2086 | # Even if this section looks crufty: it has the advantage of |
---|
| 2087 | # actually working. |
---|
[8298425] | 2088 | break;; |
---|
| 2089 | * ) |
---|
| 2090 | break;; |
---|
| 2091 | esac |
---|
| 2092 | done |
---|
[4ad3480] | 2093 | test "$ac_cv_exeext" = no && ac_cv_exeext= |
---|
| 2094 | |
---|
[8298425] | 2095 | else |
---|
| 2096 | echo "$as_me: failed program was:" >&5 |
---|
| 2097 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 2098 | |
---|
| 2099 | { { echo "$as_me:$LINENO: error: C compiler cannot create executables |
---|
| 2100 | See \`config.log' for more details." >&5 |
---|
| 2101 | echo "$as_me: error: C compiler cannot create executables |
---|
| 2102 | See \`config.log' for more details." >&2;} |
---|
| 2103 | { (exit 77); exit 77; }; } |
---|
| 2104 | fi |
---|
| 2105 | |
---|
| 2106 | ac_exeext=$ac_cv_exeext |
---|
[4ad3480] | 2107 | { echo "$as_me:$LINENO: result: $ac_file" >&5 |
---|
| 2108 | echo "${ECHO_T}$ac_file" >&6; } |
---|
[8298425] | 2109 | |
---|
[4ad3480] | 2110 | # Check that the compiler produces executables we can run. If not, either |
---|
[8298425] | 2111 | # the compiler is broken, or we cross compile. |
---|
[4ad3480] | 2112 | { echo "$as_me:$LINENO: checking whether the C compiler works" >&5 |
---|
| 2113 | echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } |
---|
[8298425] | 2114 | # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 |
---|
| 2115 | # If not cross compiling, check that we can run a simple program. |
---|
| 2116 | if test "$cross_compiling" != yes; then |
---|
| 2117 | if { ac_try='./$ac_file' |
---|
[4ad3480] | 2118 | { (case "(($ac_try" in |
---|
| 2119 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 2120 | *) ac_try_echo=$ac_try;; |
---|
| 2121 | esac |
---|
| 2122 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 2123 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 2124 | ac_status=$? |
---|
| 2125 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2126 | (exit $ac_status); }; }; then |
---|
| 2127 | cross_compiling=no |
---|
[7d4fbcd] | 2128 | else |
---|
[8298425] | 2129 | if test "$cross_compiling" = maybe; then |
---|
| 2130 | cross_compiling=yes |
---|
| 2131 | else |
---|
| 2132 | { { echo "$as_me:$LINENO: error: cannot run C compiled programs. |
---|
| 2133 | If you meant to cross compile, use \`--host'. |
---|
| 2134 | See \`config.log' for more details." >&5 |
---|
| 2135 | echo "$as_me: error: cannot run C compiled programs. |
---|
| 2136 | If you meant to cross compile, use \`--host'. |
---|
| 2137 | See \`config.log' for more details." >&2;} |
---|
| 2138 | { (exit 1); exit 1; }; } |
---|
| 2139 | fi |
---|
[7d4fbcd] | 2140 | fi |
---|
| 2141 | fi |
---|
[4ad3480] | 2142 | { echo "$as_me:$LINENO: result: yes" >&5 |
---|
| 2143 | echo "${ECHO_T}yes" >&6; } |
---|
[8298425] | 2144 | |
---|
| 2145 | rm -f a.out a.exe conftest$ac_cv_exeext b.out |
---|
| 2146 | ac_clean_files=$ac_clean_files_save |
---|
[4ad3480] | 2147 | # Check that the compiler produces executables we can run. If not, either |
---|
[8298425] | 2148 | # the compiler is broken, or we cross compile. |
---|
[4ad3480] | 2149 | { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 |
---|
| 2150 | echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } |
---|
| 2151 | { echo "$as_me:$LINENO: result: $cross_compiling" >&5 |
---|
| 2152 | echo "${ECHO_T}$cross_compiling" >&6; } |
---|
| 2153 | |
---|
| 2154 | { echo "$as_me:$LINENO: checking for suffix of executables" >&5 |
---|
| 2155 | echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } |
---|
| 2156 | if { (ac_try="$ac_link" |
---|
| 2157 | case "(($ac_try" in |
---|
| 2158 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 2159 | *) ac_try_echo=$ac_try;; |
---|
| 2160 | esac |
---|
| 2161 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 2162 | (eval "$ac_link") 2>&5 |
---|
[8298425] | 2163 | ac_status=$? |
---|
| 2164 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2165 | (exit $ac_status); }; then |
---|
| 2166 | # If both `conftest.exe' and `conftest' are `present' (well, observable) |
---|
| 2167 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
---|
| 2168 | # work properly (i.e., refer to `conftest.exe'), while it won't with |
---|
| 2169 | # `rm'. |
---|
| 2170 | for ac_file in conftest.exe conftest conftest.*; do |
---|
| 2171 | test -f "$ac_file" || continue |
---|
| 2172 | case $ac_file in |
---|
[4ad3480] | 2173 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; |
---|
[8298425] | 2174 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
---|
| 2175 | break;; |
---|
| 2176 | * ) break;; |
---|
| 2177 | esac |
---|
| 2178 | done |
---|
[7d4fbcd] | 2179 | else |
---|
[8298425] | 2180 | { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link |
---|
| 2181 | See \`config.log' for more details." >&5 |
---|
| 2182 | echo "$as_me: error: cannot compute suffix of executables: cannot compile and link |
---|
| 2183 | See \`config.log' for more details." >&2;} |
---|
| 2184 | { (exit 1); exit 1; }; } |
---|
[7d4fbcd] | 2185 | fi |
---|
[8298425] | 2186 | |
---|
| 2187 | rm -f conftest$ac_cv_exeext |
---|
[4ad3480] | 2188 | { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 |
---|
| 2189 | echo "${ECHO_T}$ac_cv_exeext" >&6; } |
---|
[8298425] | 2190 | |
---|
| 2191 | rm -f conftest.$ac_ext |
---|
| 2192 | EXEEXT=$ac_cv_exeext |
---|
| 2193 | ac_exeext=$EXEEXT |
---|
[4ad3480] | 2194 | { echo "$as_me:$LINENO: checking for suffix of object files" >&5 |
---|
| 2195 | echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } |
---|
[8298425] | 2196 | if test "${ac_cv_objext+set}" = set; then |
---|
| 2197 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 2198 | else |
---|
| 2199 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 2200 | /* confdefs.h. */ |
---|
| 2201 | _ACEOF |
---|
| 2202 | cat confdefs.h >>conftest.$ac_ext |
---|
| 2203 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 2204 | /* end confdefs.h. */ |
---|
| 2205 | |
---|
| 2206 | int |
---|
| 2207 | main () |
---|
| 2208 | { |
---|
| 2209 | |
---|
| 2210 | ; |
---|
| 2211 | return 0; |
---|
| 2212 | } |
---|
| 2213 | _ACEOF |
---|
| 2214 | rm -f conftest.o conftest.obj |
---|
[4ad3480] | 2215 | if { (ac_try="$ac_compile" |
---|
| 2216 | case "(($ac_try" in |
---|
| 2217 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 2218 | *) ac_try_echo=$ac_try;; |
---|
| 2219 | esac |
---|
| 2220 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 2221 | (eval "$ac_compile") 2>&5 |
---|
[8298425] | 2222 | ac_status=$? |
---|
| 2223 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2224 | (exit $ac_status); }; then |
---|
[4ad3480] | 2225 | for ac_file in conftest.o conftest.obj conftest.*; do |
---|
| 2226 | test -f "$ac_file" || continue; |
---|
[8298425] | 2227 | case $ac_file in |
---|
[4ad3480] | 2228 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; |
---|
[8298425] | 2229 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
---|
| 2230 | break;; |
---|
| 2231 | esac |
---|
| 2232 | done |
---|
| 2233 | else |
---|
| 2234 | echo "$as_me: failed program was:" >&5 |
---|
| 2235 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 2236 | |
---|
| 2237 | { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile |
---|
| 2238 | See \`config.log' for more details." >&5 |
---|
| 2239 | echo "$as_me: error: cannot compute suffix of object files: cannot compile |
---|
| 2240 | See \`config.log' for more details." >&2;} |
---|
| 2241 | { (exit 1); exit 1; }; } |
---|
[7d4fbcd] | 2242 | fi |
---|
| 2243 | |
---|
[8298425] | 2244 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
---|
| 2245 | fi |
---|
[4ad3480] | 2246 | { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
---|
| 2247 | echo "${ECHO_T}$ac_cv_objext" >&6; } |
---|
[8298425] | 2248 | OBJEXT=$ac_cv_objext |
---|
| 2249 | ac_objext=$OBJEXT |
---|
[4ad3480] | 2250 | { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
---|
| 2251 | echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } |
---|
[8298425] | 2252 | if test "${ac_cv_c_compiler_gnu+set}" = set; then |
---|
| 2253 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 2254 | else |
---|
| 2255 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 2256 | /* confdefs.h. */ |
---|
| 2257 | _ACEOF |
---|
| 2258 | cat confdefs.h >>conftest.$ac_ext |
---|
| 2259 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 2260 | /* end confdefs.h. */ |
---|
| 2261 | |
---|
| 2262 | int |
---|
| 2263 | main () |
---|
| 2264 | { |
---|
| 2265 | #ifndef __GNUC__ |
---|
| 2266 | choke me |
---|
| 2267 | #endif |
---|
[7d4fbcd] | 2268 | |
---|
[8298425] | 2269 | ; |
---|
| 2270 | return 0; |
---|
| 2271 | } |
---|
| 2272 | _ACEOF |
---|
| 2273 | rm -f conftest.$ac_objext |
---|
[4ad3480] | 2274 | if { (ac_try="$ac_compile" |
---|
| 2275 | case "(($ac_try" in |
---|
| 2276 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 2277 | *) ac_try_echo=$ac_try;; |
---|
| 2278 | esac |
---|
| 2279 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 2280 | (eval "$ac_compile") 2>conftest.er1 |
---|
[8298425] | 2281 | ac_status=$? |
---|
| 2282 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 2283 | rm -f conftest.er1 |
---|
| 2284 | cat conftest.err >&5 |
---|
| 2285 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2286 | (exit $ac_status); } && |
---|
[4ad3480] | 2287 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
---|
| 2288 | { (case "(($ac_try" in |
---|
| 2289 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 2290 | *) ac_try_echo=$ac_try;; |
---|
| 2291 | esac |
---|
| 2292 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 2293 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 2294 | ac_status=$? |
---|
| 2295 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2296 | (exit $ac_status); }; } && |
---|
| 2297 | { ac_try='test -s conftest.$ac_objext' |
---|
[4ad3480] | 2298 | { (case "(($ac_try" in |
---|
| 2299 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 2300 | *) ac_try_echo=$ac_try;; |
---|
| 2301 | esac |
---|
| 2302 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 2303 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 2304 | ac_status=$? |
---|
| 2305 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2306 | (exit $ac_status); }; }; then |
---|
| 2307 | ac_compiler_gnu=yes |
---|
[7d4fbcd] | 2308 | else |
---|
[8298425] | 2309 | echo "$as_me: failed program was:" >&5 |
---|
| 2310 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 2311 | |
---|
[4ad3480] | 2312 | ac_compiler_gnu=no |
---|
[7d4fbcd] | 2313 | fi |
---|
[4ad3480] | 2314 | |
---|
| 2315 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
[8298425] | 2316 | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
---|
[7d4fbcd] | 2317 | |
---|
[8298425] | 2318 | fi |
---|
[4ad3480] | 2319 | { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
---|
| 2320 | echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } |
---|
[8298425] | 2321 | GCC=`test $ac_compiler_gnu = yes && echo yes` |
---|
| 2322 | ac_test_CFLAGS=${CFLAGS+set} |
---|
| 2323 | ac_save_CFLAGS=$CFLAGS |
---|
[4ad3480] | 2324 | { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
---|
| 2325 | echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } |
---|
[8298425] | 2326 | if test "${ac_cv_prog_cc_g+set}" = set; then |
---|
| 2327 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
[7d4fbcd] | 2328 | else |
---|
[4ad3480] | 2329 | ac_save_c_werror_flag=$ac_c_werror_flag |
---|
| 2330 | ac_c_werror_flag=yes |
---|
| 2331 | ac_cv_prog_cc_g=no |
---|
| 2332 | CFLAGS="-g" |
---|
| 2333 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 2334 | /* confdefs.h. */ |
---|
| 2335 | _ACEOF |
---|
| 2336 | cat confdefs.h >>conftest.$ac_ext |
---|
| 2337 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 2338 | /* end confdefs.h. */ |
---|
| 2339 | |
---|
| 2340 | int |
---|
| 2341 | main () |
---|
| 2342 | { |
---|
| 2343 | |
---|
| 2344 | ; |
---|
| 2345 | return 0; |
---|
| 2346 | } |
---|
| 2347 | _ACEOF |
---|
| 2348 | rm -f conftest.$ac_objext |
---|
| 2349 | if { (ac_try="$ac_compile" |
---|
| 2350 | case "(($ac_try" in |
---|
| 2351 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 2352 | *) ac_try_echo=$ac_try;; |
---|
| 2353 | esac |
---|
| 2354 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 2355 | (eval "$ac_compile") 2>conftest.er1 |
---|
| 2356 | ac_status=$? |
---|
| 2357 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 2358 | rm -f conftest.er1 |
---|
| 2359 | cat conftest.err >&5 |
---|
| 2360 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2361 | (exit $ac_status); } && |
---|
| 2362 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
---|
| 2363 | { (case "(($ac_try" in |
---|
| 2364 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 2365 | *) ac_try_echo=$ac_try;; |
---|
| 2366 | esac |
---|
| 2367 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 2368 | (eval "$ac_try") 2>&5 |
---|
| 2369 | ac_status=$? |
---|
| 2370 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2371 | (exit $ac_status); }; } && |
---|
| 2372 | { ac_try='test -s conftest.$ac_objext' |
---|
| 2373 | { (case "(($ac_try" in |
---|
| 2374 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 2375 | *) ac_try_echo=$ac_try;; |
---|
| 2376 | esac |
---|
| 2377 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 2378 | (eval "$ac_try") 2>&5 |
---|
| 2379 | ac_status=$? |
---|
| 2380 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2381 | (exit $ac_status); }; }; then |
---|
| 2382 | ac_cv_prog_cc_g=yes |
---|
| 2383 | else |
---|
| 2384 | echo "$as_me: failed program was:" >&5 |
---|
| 2385 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 2386 | |
---|
| 2387 | CFLAGS="" |
---|
| 2388 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 2389 | /* confdefs.h. */ |
---|
| 2390 | _ACEOF |
---|
| 2391 | cat confdefs.h >>conftest.$ac_ext |
---|
| 2392 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 2393 | /* end confdefs.h. */ |
---|
| 2394 | |
---|
| 2395 | int |
---|
| 2396 | main () |
---|
| 2397 | { |
---|
| 2398 | |
---|
| 2399 | ; |
---|
| 2400 | return 0; |
---|
| 2401 | } |
---|
| 2402 | _ACEOF |
---|
| 2403 | rm -f conftest.$ac_objext |
---|
| 2404 | if { (ac_try="$ac_compile" |
---|
| 2405 | case "(($ac_try" in |
---|
| 2406 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 2407 | *) ac_try_echo=$ac_try;; |
---|
| 2408 | esac |
---|
| 2409 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 2410 | (eval "$ac_compile") 2>conftest.er1 |
---|
| 2411 | ac_status=$? |
---|
| 2412 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 2413 | rm -f conftest.er1 |
---|
| 2414 | cat conftest.err >&5 |
---|
| 2415 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2416 | (exit $ac_status); } && |
---|
| 2417 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
---|
| 2418 | { (case "(($ac_try" in |
---|
| 2419 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 2420 | *) ac_try_echo=$ac_try;; |
---|
| 2421 | esac |
---|
| 2422 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 2423 | (eval "$ac_try") 2>&5 |
---|
| 2424 | ac_status=$? |
---|
| 2425 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2426 | (exit $ac_status); }; } && |
---|
| 2427 | { ac_try='test -s conftest.$ac_objext' |
---|
| 2428 | { (case "(($ac_try" in |
---|
| 2429 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 2430 | *) ac_try_echo=$ac_try;; |
---|
| 2431 | esac |
---|
| 2432 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 2433 | (eval "$ac_try") 2>&5 |
---|
| 2434 | ac_status=$? |
---|
| 2435 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2436 | (exit $ac_status); }; }; then |
---|
| 2437 | : |
---|
| 2438 | else |
---|
| 2439 | echo "$as_me: failed program was:" >&5 |
---|
| 2440 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 2441 | |
---|
| 2442 | ac_c_werror_flag=$ac_save_c_werror_flag |
---|
| 2443 | CFLAGS="-g" |
---|
| 2444 | cat >conftest.$ac_ext <<_ACEOF |
---|
[8298425] | 2445 | /* confdefs.h. */ |
---|
| 2446 | _ACEOF |
---|
| 2447 | cat confdefs.h >>conftest.$ac_ext |
---|
| 2448 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 2449 | /* end confdefs.h. */ |
---|
| 2450 | |
---|
| 2451 | int |
---|
| 2452 | main () |
---|
| 2453 | { |
---|
| 2454 | |
---|
| 2455 | ; |
---|
| 2456 | return 0; |
---|
| 2457 | } |
---|
| 2458 | _ACEOF |
---|
| 2459 | rm -f conftest.$ac_objext |
---|
[4ad3480] | 2460 | if { (ac_try="$ac_compile" |
---|
| 2461 | case "(($ac_try" in |
---|
| 2462 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 2463 | *) ac_try_echo=$ac_try;; |
---|
| 2464 | esac |
---|
| 2465 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 2466 | (eval "$ac_compile") 2>conftest.er1 |
---|
[8298425] | 2467 | ac_status=$? |
---|
| 2468 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 2469 | rm -f conftest.er1 |
---|
| 2470 | cat conftest.err >&5 |
---|
| 2471 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2472 | (exit $ac_status); } && |
---|
[4ad3480] | 2473 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
---|
| 2474 | { (case "(($ac_try" in |
---|
| 2475 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 2476 | *) ac_try_echo=$ac_try;; |
---|
| 2477 | esac |
---|
| 2478 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 2479 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 2480 | ac_status=$? |
---|
| 2481 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2482 | (exit $ac_status); }; } && |
---|
| 2483 | { ac_try='test -s conftest.$ac_objext' |
---|
[4ad3480] | 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_try") 2>&5 |
---|
[8298425] | 2490 | ac_status=$? |
---|
| 2491 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2492 | (exit $ac_status); }; }; then |
---|
[7d4fbcd] | 2493 | ac_cv_prog_cc_g=yes |
---|
| 2494 | else |
---|
[8298425] | 2495 | echo "$as_me: failed program was:" >&5 |
---|
| 2496 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
[7d4fbcd] | 2497 | |
---|
[4ad3480] | 2498 | |
---|
[7d4fbcd] | 2499 | fi |
---|
[4ad3480] | 2500 | |
---|
| 2501 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
| 2502 | fi |
---|
| 2503 | |
---|
| 2504 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
| 2505 | fi |
---|
| 2506 | |
---|
| 2507 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
| 2508 | ac_c_werror_flag=$ac_save_c_werror_flag |
---|
[8298425] | 2509 | fi |
---|
[4ad3480] | 2510 | { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
---|
| 2511 | echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } |
---|
[7d4fbcd] | 2512 | if test "$ac_test_CFLAGS" = set; then |
---|
[8298425] | 2513 | CFLAGS=$ac_save_CFLAGS |
---|
[7d4fbcd] | 2514 | elif test $ac_cv_prog_cc_g = yes; then |
---|
| 2515 | if test "$GCC" = yes; then |
---|
| 2516 | CFLAGS="-g -O2" |
---|
| 2517 | else |
---|
| 2518 | CFLAGS="-g" |
---|
| 2519 | fi |
---|
| 2520 | else |
---|
| 2521 | if test "$GCC" = yes; then |
---|
| 2522 | CFLAGS="-O2" |
---|
| 2523 | else |
---|
| 2524 | CFLAGS= |
---|
| 2525 | fi |
---|
| 2526 | fi |
---|
[4ad3480] | 2527 | { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 |
---|
| 2528 | echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } |
---|
| 2529 | if test "${ac_cv_prog_cc_c89+set}" = set; then |
---|
[8298425] | 2530 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 2531 | else |
---|
[4ad3480] | 2532 | ac_cv_prog_cc_c89=no |
---|
[8298425] | 2533 | ac_save_CC=$CC |
---|
| 2534 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 2535 | /* confdefs.h. */ |
---|
| 2536 | _ACEOF |
---|
| 2537 | cat confdefs.h >>conftest.$ac_ext |
---|
| 2538 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 2539 | /* end confdefs.h. */ |
---|
| 2540 | #include <stdarg.h> |
---|
| 2541 | #include <stdio.h> |
---|
| 2542 | #include <sys/types.h> |
---|
| 2543 | #include <sys/stat.h> |
---|
| 2544 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
---|
| 2545 | struct buf { int x; }; |
---|
| 2546 | FILE * (*rcsopen) (struct buf *, struct stat *, int); |
---|
| 2547 | static char *e (p, i) |
---|
| 2548 | char **p; |
---|
| 2549 | int i; |
---|
| 2550 | { |
---|
| 2551 | return p[i]; |
---|
| 2552 | } |
---|
| 2553 | static char *f (char * (*g) (char **, int), char **p, ...) |
---|
| 2554 | { |
---|
| 2555 | char *s; |
---|
| 2556 | va_list v; |
---|
| 2557 | va_start (v,p); |
---|
| 2558 | s = g (p, va_arg (v,int)); |
---|
| 2559 | va_end (v); |
---|
| 2560 | return s; |
---|
| 2561 | } |
---|
| 2562 | |
---|
| 2563 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
---|
| 2564 | function prototypes and stuff, but not '\xHH' hex character constants. |
---|
| 2565 | These don't provoke an error unfortunately, instead are silently treated |
---|
[4ad3480] | 2566 | as 'x'. The following induces an error, until -std is added to get |
---|
[8298425] | 2567 | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
---|
| 2568 | array size at least. It's necessary to write '\x00'==0 to get something |
---|
[4ad3480] | 2569 | that's true only with -std. */ |
---|
[8298425] | 2570 | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
---|
| 2571 | |
---|
[4ad3480] | 2572 | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters |
---|
| 2573 | inside strings and character constants. */ |
---|
| 2574 | #define FOO(x) 'x' |
---|
| 2575 | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; |
---|
| 2576 | |
---|
[8298425] | 2577 | int test (int i, double x); |
---|
| 2578 | struct s1 {int (*f) (int a);}; |
---|
| 2579 | struct s2 {int (*f) (double a);}; |
---|
| 2580 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
---|
| 2581 | int argc; |
---|
| 2582 | char **argv; |
---|
| 2583 | int |
---|
| 2584 | main () |
---|
| 2585 | { |
---|
| 2586 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
---|
| 2587 | ; |
---|
| 2588 | return 0; |
---|
| 2589 | } |
---|
| 2590 | _ACEOF |
---|
[4ad3480] | 2591 | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
---|
| 2592 | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
---|
[8298425] | 2593 | do |
---|
| 2594 | CC="$ac_save_CC $ac_arg" |
---|
| 2595 | rm -f conftest.$ac_objext |
---|
[4ad3480] | 2596 | if { (ac_try="$ac_compile" |
---|
| 2597 | case "(($ac_try" in |
---|
| 2598 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 2599 | *) ac_try_echo=$ac_try;; |
---|
| 2600 | esac |
---|
| 2601 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 2602 | (eval "$ac_compile") 2>conftest.er1 |
---|
[8298425] | 2603 | ac_status=$? |
---|
| 2604 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 2605 | rm -f conftest.er1 |
---|
| 2606 | cat conftest.err >&5 |
---|
| 2607 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2608 | (exit $ac_status); } && |
---|
[4ad3480] | 2609 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
---|
| 2610 | { (case "(($ac_try" in |
---|
| 2611 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 2612 | *) ac_try_echo=$ac_try;; |
---|
| 2613 | esac |
---|
| 2614 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 2615 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 2616 | ac_status=$? |
---|
| 2617 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2618 | (exit $ac_status); }; } && |
---|
| 2619 | { ac_try='test -s conftest.$ac_objext' |
---|
[4ad3480] | 2620 | { (case "(($ac_try" in |
---|
| 2621 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 2622 | *) ac_try_echo=$ac_try;; |
---|
| 2623 | esac |
---|
| 2624 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 2625 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 2626 | ac_status=$? |
---|
| 2627 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2628 | (exit $ac_status); }; }; then |
---|
[4ad3480] | 2629 | ac_cv_prog_cc_c89=$ac_arg |
---|
[8298425] | 2630 | else |
---|
| 2631 | echo "$as_me: failed program was:" >&5 |
---|
| 2632 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 2633 | |
---|
[4ad3480] | 2634 | |
---|
[8298425] | 2635 | fi |
---|
[4ad3480] | 2636 | |
---|
| 2637 | rm -f core conftest.err conftest.$ac_objext |
---|
| 2638 | test "x$ac_cv_prog_cc_c89" != "xno" && break |
---|
[8298425] | 2639 | done |
---|
[4ad3480] | 2640 | rm -f conftest.$ac_ext |
---|
[8298425] | 2641 | CC=$ac_save_CC |
---|
| 2642 | |
---|
| 2643 | fi |
---|
[4ad3480] | 2644 | # AC_CACHE_VAL |
---|
| 2645 | case "x$ac_cv_prog_cc_c89" in |
---|
| 2646 | x) |
---|
| 2647 | { echo "$as_me:$LINENO: result: none needed" >&5 |
---|
| 2648 | echo "${ECHO_T}none needed" >&6; } ;; |
---|
| 2649 | xno) |
---|
| 2650 | { echo "$as_me:$LINENO: result: unsupported" >&5 |
---|
| 2651 | echo "${ECHO_T}unsupported" >&6; } ;; |
---|
[8298425] | 2652 | *) |
---|
[4ad3480] | 2653 | CC="$CC $ac_cv_prog_cc_c89" |
---|
| 2654 | { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 |
---|
| 2655 | echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; |
---|
[8298425] | 2656 | esac |
---|
| 2657 | |
---|
[4ad3480] | 2658 | |
---|
| 2659 | ac_ext=c |
---|
| 2660 | ac_cpp='$CPP $CPPFLAGS' |
---|
| 2661 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
| 2662 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
| 2663 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
| 2664 | |
---|
| 2665 | |
---|
| 2666 | if test "$GCC" = yes; then |
---|
| 2667 | CFLAGS="$CFLAGS -Wall -g"; |
---|
| 2668 | fi |
---|
| 2669 | |
---|
| 2670 | |
---|
| 2671 | { echo "$as_me:$LINENO: checking for /usr/athena/include" >&5 |
---|
| 2672 | echo $ECHO_N "checking for /usr/athena/include... $ECHO_C" >&6; } |
---|
| 2673 | if test -d /usr/athena/include; then |
---|
| 2674 | CFLAGS=${CFLAGS}\ -I/usr/athena/include |
---|
| 2675 | CPPFLAGS=${CPPFLAGS}\ -I/usr/athena/include |
---|
| 2676 | { echo "$as_me:$LINENO: result: yes" >&5 |
---|
| 2677 | echo "${ECHO_T}yes" >&6; } |
---|
| 2678 | else |
---|
| 2679 | { echo "$as_me:$LINENO: result: no" >&5 |
---|
| 2680 | echo "${ECHO_T}no" >&6; } |
---|
| 2681 | fi |
---|
| 2682 | { echo "$as_me:$LINENO: checking for /usr/athena/lib" >&5 |
---|
| 2683 | echo $ECHO_N "checking for /usr/athena/lib... $ECHO_C" >&6; } |
---|
| 2684 | if test -d /usr/athena/lib; then |
---|
| 2685 | LDFLAGS=-L/usr/athena/lib\ ${LDFLAGS} |
---|
| 2686 | { echo "$as_me:$LINENO: result: yes" >&5 |
---|
| 2687 | echo "${ECHO_T}yes" >&6; } |
---|
| 2688 | else |
---|
| 2689 | { echo "$as_me:$LINENO: result: no" >&5 |
---|
| 2690 | echo "${ECHO_T}no" >&6; } |
---|
| 2691 | fi |
---|
| 2692 | |
---|
| 2693 | { echo "$as_me:$LINENO: checking for /usr/include/kerberosIV" >&5 |
---|
| 2694 | echo $ECHO_N "checking for /usr/include/kerberosIV... $ECHO_C" >&6; } |
---|
| 2695 | if test -d /usr/include/kerberosIV; then |
---|
| 2696 | CFLAGS=${CFLAGS}\ -I/usr/include/kerberosIV |
---|
| 2697 | CPPFLAGS=${CPPFLAGS}\ -I/usr/include/kerberosIV |
---|
| 2698 | { echo "$as_me:$LINENO: result: yes" >&5 |
---|
| 2699 | echo "${ECHO_T}yes" >&6; } |
---|
| 2700 | else |
---|
| 2701 | { echo "$as_me:$LINENO: result: no" >&5 |
---|
| 2702 | echo "${ECHO_T}no" >&6; } |
---|
| 2703 | fi |
---|
| 2704 | |
---|
| 2705 | |
---|
| 2706 | { echo "$as_me:$LINENO: checking for initscr in -lncurses" >&5 |
---|
| 2707 | echo $ECHO_N "checking for initscr in -lncurses... $ECHO_C" >&6; } |
---|
| 2708 | if test "${ac_cv_lib_ncurses_initscr+set}" = set; then |
---|
| 2709 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 2710 | else |
---|
| 2711 | ac_check_lib_save_LIBS=$LIBS |
---|
| 2712 | LIBS="-lncurses $LIBS" |
---|
[8298425] | 2713 | cat >conftest.$ac_ext <<_ACEOF |
---|
[4ad3480] | 2714 | /* confdefs.h. */ |
---|
[8298425] | 2715 | _ACEOF |
---|
| 2716 | cat confdefs.h >>conftest.$ac_ext |
---|
| 2717 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 2718 | /* end confdefs.h. */ |
---|
| 2719 | |
---|
[4ad3480] | 2720 | /* Override any GCC internal prototype to avoid an error. |
---|
| 2721 | Use char because int might match the return type of a GCC |
---|
| 2722 | builtin and then its argument prototype would still apply. */ |
---|
[8298425] | 2723 | #ifdef __cplusplus |
---|
| 2724 | extern "C" |
---|
| 2725 | #endif |
---|
| 2726 | char initscr (); |
---|
| 2727 | int |
---|
| 2728 | main () |
---|
| 2729 | { |
---|
[4ad3480] | 2730 | return initscr (); |
---|
[8298425] | 2731 | ; |
---|
| 2732 | return 0; |
---|
| 2733 | } |
---|
| 2734 | _ACEOF |
---|
| 2735 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
[4ad3480] | 2736 | if { (ac_try="$ac_link" |
---|
| 2737 | case "(($ac_try" in |
---|
| 2738 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 2739 | *) ac_try_echo=$ac_try;; |
---|
| 2740 | esac |
---|
| 2741 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 2742 | (eval "$ac_link") 2>conftest.er1 |
---|
[8298425] | 2743 | ac_status=$? |
---|
| 2744 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 2745 | rm -f conftest.er1 |
---|
| 2746 | cat conftest.err >&5 |
---|
| 2747 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2748 | (exit $ac_status); } && |
---|
[4ad3480] | 2749 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
---|
| 2750 | { (case "(($ac_try" in |
---|
| 2751 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 2752 | *) ac_try_echo=$ac_try;; |
---|
| 2753 | esac |
---|
| 2754 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 2755 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 2756 | ac_status=$? |
---|
| 2757 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2758 | (exit $ac_status); }; } && |
---|
| 2759 | { ac_try='test -s conftest$ac_exeext' |
---|
[4ad3480] | 2760 | { (case "(($ac_try" in |
---|
| 2761 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 2762 | *) ac_try_echo=$ac_try;; |
---|
| 2763 | esac |
---|
| 2764 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 2765 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 2766 | ac_status=$? |
---|
| 2767 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2768 | (exit $ac_status); }; }; then |
---|
| 2769 | ac_cv_lib_ncurses_initscr=yes |
---|
| 2770 | else |
---|
| 2771 | echo "$as_me: failed program was:" >&5 |
---|
| 2772 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
[7d4fbcd] | 2773 | |
---|
[4ad3480] | 2774 | ac_cv_lib_ncurses_initscr=no |
---|
[7d4fbcd] | 2775 | fi |
---|
[4ad3480] | 2776 | |
---|
| 2777 | rm -f core conftest.err conftest.$ac_objext \ |
---|
[8298425] | 2778 | conftest$ac_exeext conftest.$ac_ext |
---|
| 2779 | LIBS=$ac_check_lib_save_LIBS |
---|
| 2780 | fi |
---|
[4ad3480] | 2781 | { echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_initscr" >&5 |
---|
| 2782 | echo "${ECHO_T}$ac_cv_lib_ncurses_initscr" >&6; } |
---|
[8298425] | 2783 | if test $ac_cv_lib_ncurses_initscr = yes; then |
---|
| 2784 | cat >>confdefs.h <<_ACEOF |
---|
| 2785 | #define HAVE_LIBNCURSES 1 |
---|
| 2786 | _ACEOF |
---|
[7d4fbcd] | 2787 | |
---|
| 2788 | LIBS="-lncurses $LIBS" |
---|
| 2789 | |
---|
| 2790 | else |
---|
[8298425] | 2791 | |
---|
[4ad3480] | 2792 | { echo "$as_me:$LINENO: checking for initscr in -lcurses" >&5 |
---|
| 2793 | echo $ECHO_N "checking for initscr in -lcurses... $ECHO_C" >&6; } |
---|
[8298425] | 2794 | if test "${ac_cv_lib_curses_initscr+set}" = set; then |
---|
| 2795 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
[7d4fbcd] | 2796 | else |
---|
[8298425] | 2797 | ac_check_lib_save_LIBS=$LIBS |
---|
[7d4fbcd] | 2798 | LIBS="-lcurses $LIBS" |
---|
[8298425] | 2799 | |
---|
| 2800 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 2801 | /* confdefs.h. */ |
---|
| 2802 | _ACEOF |
---|
| 2803 | cat confdefs.h >>conftest.$ac_ext |
---|
| 2804 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 2805 | /* end confdefs.h. */ |
---|
| 2806 | |
---|
[4ad3480] | 2807 | /* Override any GCC internal prototype to avoid an error. |
---|
| 2808 | Use char because int might match the return type of a GCC |
---|
| 2809 | builtin and then its argument prototype would still apply. */ |
---|
[8298425] | 2810 | #ifdef __cplusplus |
---|
| 2811 | extern "C" |
---|
| 2812 | #endif |
---|
| 2813 | char initscr (); |
---|
| 2814 | int |
---|
| 2815 | main () |
---|
| 2816 | { |
---|
[4ad3480] | 2817 | return initscr (); |
---|
[8298425] | 2818 | ; |
---|
| 2819 | return 0; |
---|
| 2820 | } |
---|
| 2821 | _ACEOF |
---|
| 2822 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
[4ad3480] | 2823 | if { (ac_try="$ac_link" |
---|
| 2824 | case "(($ac_try" in |
---|
| 2825 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 2826 | *) ac_try_echo=$ac_try;; |
---|
| 2827 | esac |
---|
| 2828 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 2829 | (eval "$ac_link") 2>conftest.er1 |
---|
[8298425] | 2830 | ac_status=$? |
---|
| 2831 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 2832 | rm -f conftest.er1 |
---|
| 2833 | cat conftest.err >&5 |
---|
| 2834 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2835 | (exit $ac_status); } && |
---|
[4ad3480] | 2836 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
---|
| 2837 | { (case "(($ac_try" in |
---|
| 2838 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 2839 | *) ac_try_echo=$ac_try;; |
---|
| 2840 | esac |
---|
| 2841 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 2842 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 2843 | ac_status=$? |
---|
| 2844 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2845 | (exit $ac_status); }; } && |
---|
| 2846 | { ac_try='test -s conftest$ac_exeext' |
---|
[4ad3480] | 2847 | { (case "(($ac_try" in |
---|
| 2848 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 2849 | *) ac_try_echo=$ac_try;; |
---|
| 2850 | esac |
---|
| 2851 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 2852 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 2853 | ac_status=$? |
---|
| 2854 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2855 | (exit $ac_status); }; }; then |
---|
| 2856 | ac_cv_lib_curses_initscr=yes |
---|
| 2857 | else |
---|
| 2858 | echo "$as_me: failed program was:" >&5 |
---|
| 2859 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
[7d4fbcd] | 2860 | |
---|
[4ad3480] | 2861 | ac_cv_lib_curses_initscr=no |
---|
[7d4fbcd] | 2862 | fi |
---|
[4ad3480] | 2863 | |
---|
| 2864 | rm -f core conftest.err conftest.$ac_objext \ |
---|
[8298425] | 2865 | conftest$ac_exeext conftest.$ac_ext |
---|
| 2866 | LIBS=$ac_check_lib_save_LIBS |
---|
| 2867 | fi |
---|
[4ad3480] | 2868 | { echo "$as_me:$LINENO: result: $ac_cv_lib_curses_initscr" >&5 |
---|
| 2869 | echo "${ECHO_T}$ac_cv_lib_curses_initscr" >&6; } |
---|
[8298425] | 2870 | if test $ac_cv_lib_curses_initscr = yes; then |
---|
| 2871 | cat >>confdefs.h <<_ACEOF |
---|
| 2872 | #define HAVE_LIBCURSES 1 |
---|
| 2873 | _ACEOF |
---|
[7d4fbcd] | 2874 | |
---|
| 2875 | LIBS="-lcurses $LIBS" |
---|
| 2876 | |
---|
| 2877 | else |
---|
[8298425] | 2878 | { { echo "$as_me:$LINENO: error: No curses library found." >&5 |
---|
| 2879 | echo "$as_me: error: No curses library found." >&2;} |
---|
| 2880 | { (exit 1); exit 1; }; } |
---|
[7d4fbcd] | 2881 | fi |
---|
| 2882 | |
---|
| 2883 | fi |
---|
| 2884 | |
---|
[8298425] | 2885 | |
---|
[4ad3480] | 2886 | { echo "$as_me:$LINENO: checking for com_err in -lcom_err" >&5 |
---|
| 2887 | echo $ECHO_N "checking for com_err in -lcom_err... $ECHO_C" >&6; } |
---|
[8298425] | 2888 | if test "${ac_cv_lib_com_err_com_err+set}" = set; then |
---|
| 2889 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
[7d4fbcd] | 2890 | else |
---|
[8298425] | 2891 | ac_check_lib_save_LIBS=$LIBS |
---|
[7d4fbcd] | 2892 | LIBS="-lcom_err $LIBS" |
---|
[8298425] | 2893 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 2894 | /* confdefs.h. */ |
---|
| 2895 | _ACEOF |
---|
| 2896 | cat confdefs.h >>conftest.$ac_ext |
---|
| 2897 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 2898 | /* end confdefs.h. */ |
---|
| 2899 | |
---|
[4ad3480] | 2900 | /* Override any GCC internal prototype to avoid an error. |
---|
| 2901 | Use char because int might match the return type of a GCC |
---|
| 2902 | builtin and then its argument prototype would still apply. */ |
---|
[8298425] | 2903 | #ifdef __cplusplus |
---|
| 2904 | extern "C" |
---|
| 2905 | #endif |
---|
| 2906 | char com_err (); |
---|
| 2907 | int |
---|
| 2908 | main () |
---|
| 2909 | { |
---|
[4ad3480] | 2910 | return com_err (); |
---|
[8298425] | 2911 | ; |
---|
| 2912 | return 0; |
---|
| 2913 | } |
---|
| 2914 | _ACEOF |
---|
| 2915 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
[4ad3480] | 2916 | if { (ac_try="$ac_link" |
---|
| 2917 | case "(($ac_try" in |
---|
| 2918 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 2919 | *) ac_try_echo=$ac_try;; |
---|
| 2920 | esac |
---|
| 2921 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 2922 | (eval "$ac_link") 2>conftest.er1 |
---|
[8298425] | 2923 | ac_status=$? |
---|
| 2924 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 2925 | rm -f conftest.er1 |
---|
| 2926 | cat conftest.err >&5 |
---|
| 2927 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2928 | (exit $ac_status); } && |
---|
[4ad3480] | 2929 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
---|
| 2930 | { (case "(($ac_try" in |
---|
| 2931 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 2932 | *) ac_try_echo=$ac_try;; |
---|
| 2933 | esac |
---|
| 2934 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 2935 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 2936 | ac_status=$? |
---|
| 2937 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2938 | (exit $ac_status); }; } && |
---|
| 2939 | { ac_try='test -s conftest$ac_exeext' |
---|
[4ad3480] | 2940 | { (case "(($ac_try" in |
---|
| 2941 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 2942 | *) ac_try_echo=$ac_try;; |
---|
| 2943 | esac |
---|
| 2944 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 2945 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 2946 | ac_status=$? |
---|
| 2947 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2948 | (exit $ac_status); }; }; then |
---|
| 2949 | ac_cv_lib_com_err_com_err=yes |
---|
| 2950 | else |
---|
| 2951 | echo "$as_me: failed program was:" >&5 |
---|
| 2952 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
[7d4fbcd] | 2953 | |
---|
[4ad3480] | 2954 | ac_cv_lib_com_err_com_err=no |
---|
[8298425] | 2955 | fi |
---|
[4ad3480] | 2956 | |
---|
| 2957 | rm -f core conftest.err conftest.$ac_objext \ |
---|
[8298425] | 2958 | conftest$ac_exeext conftest.$ac_ext |
---|
| 2959 | LIBS=$ac_check_lib_save_LIBS |
---|
[7d4fbcd] | 2960 | fi |
---|
[4ad3480] | 2961 | { echo "$as_me:$LINENO: result: $ac_cv_lib_com_err_com_err" >&5 |
---|
| 2962 | echo "${ECHO_T}$ac_cv_lib_com_err_com_err" >&6; } |
---|
[8298425] | 2963 | if test $ac_cv_lib_com_err_com_err = yes; then |
---|
| 2964 | cat >>confdefs.h <<_ACEOF |
---|
| 2965 | #define HAVE_LIBCOM_ERR 1 |
---|
| 2966 | _ACEOF |
---|
[7d4fbcd] | 2967 | |
---|
| 2968 | LIBS="-lcom_err $LIBS" |
---|
| 2969 | |
---|
| 2970 | fi |
---|
| 2971 | |
---|
[8298425] | 2972 | |
---|
[4ad3480] | 2973 | { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5 |
---|
| 2974 | echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; } |
---|
[8298425] | 2975 | if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then |
---|
| 2976 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
[7d4fbcd] | 2977 | else |
---|
[8298425] | 2978 | ac_check_lib_save_LIBS=$LIBS |
---|
[7d4fbcd] | 2979 | LIBS="-lnsl $LIBS" |
---|
[8298425] | 2980 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 2981 | /* confdefs.h. */ |
---|
| 2982 | _ACEOF |
---|
| 2983 | cat confdefs.h >>conftest.$ac_ext |
---|
| 2984 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 2985 | /* end confdefs.h. */ |
---|
| 2986 | |
---|
[4ad3480] | 2987 | /* Override any GCC internal prototype to avoid an error. |
---|
| 2988 | Use char because int might match the return type of a GCC |
---|
| 2989 | builtin and then its argument prototype would still apply. */ |
---|
[8298425] | 2990 | #ifdef __cplusplus |
---|
| 2991 | extern "C" |
---|
| 2992 | #endif |
---|
| 2993 | char gethostbyname (); |
---|
| 2994 | int |
---|
| 2995 | main () |
---|
| 2996 | { |
---|
[4ad3480] | 2997 | return gethostbyname (); |
---|
[8298425] | 2998 | ; |
---|
| 2999 | return 0; |
---|
| 3000 | } |
---|
| 3001 | _ACEOF |
---|
| 3002 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
[4ad3480] | 3003 | if { (ac_try="$ac_link" |
---|
| 3004 | case "(($ac_try" in |
---|
| 3005 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3006 | *) ac_try_echo=$ac_try;; |
---|
| 3007 | esac |
---|
| 3008 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 3009 | (eval "$ac_link") 2>conftest.er1 |
---|
[8298425] | 3010 | ac_status=$? |
---|
| 3011 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 3012 | rm -f conftest.er1 |
---|
| 3013 | cat conftest.err >&5 |
---|
| 3014 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3015 | (exit $ac_status); } && |
---|
[4ad3480] | 3016 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
---|
| 3017 | { (case "(($ac_try" in |
---|
| 3018 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3019 | *) ac_try_echo=$ac_try;; |
---|
| 3020 | esac |
---|
| 3021 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 3022 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 3023 | ac_status=$? |
---|
| 3024 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3025 | (exit $ac_status); }; } && |
---|
| 3026 | { ac_try='test -s conftest$ac_exeext' |
---|
[4ad3480] | 3027 | { (case "(($ac_try" in |
---|
| 3028 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3029 | *) ac_try_echo=$ac_try;; |
---|
| 3030 | esac |
---|
| 3031 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 3032 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 3033 | ac_status=$? |
---|
| 3034 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3035 | (exit $ac_status); }; }; then |
---|
| 3036 | ac_cv_lib_nsl_gethostbyname=yes |
---|
| 3037 | else |
---|
| 3038 | echo "$as_me: failed program was:" >&5 |
---|
| 3039 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
[7d4fbcd] | 3040 | |
---|
[4ad3480] | 3041 | ac_cv_lib_nsl_gethostbyname=no |
---|
[7d4fbcd] | 3042 | fi |
---|
[4ad3480] | 3043 | |
---|
| 3044 | rm -f core conftest.err conftest.$ac_objext \ |
---|
[8298425] | 3045 | conftest$ac_exeext conftest.$ac_ext |
---|
| 3046 | LIBS=$ac_check_lib_save_LIBS |
---|
| 3047 | fi |
---|
[4ad3480] | 3048 | { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5 |
---|
| 3049 | echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; } |
---|
[8298425] | 3050 | if test $ac_cv_lib_nsl_gethostbyname = yes; then |
---|
| 3051 | cat >>confdefs.h <<_ACEOF |
---|
| 3052 | #define HAVE_LIBNSL 1 |
---|
| 3053 | _ACEOF |
---|
[7d4fbcd] | 3054 | |
---|
| 3055 | LIBS="-lnsl $LIBS" |
---|
| 3056 | |
---|
| 3057 | fi |
---|
| 3058 | |
---|
[8298425] | 3059 | |
---|
[4ad3480] | 3060 | { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5 |
---|
| 3061 | echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; } |
---|
[8298425] | 3062 | if test "${ac_cv_lib_socket_socket+set}" = set; then |
---|
| 3063 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
[7d4fbcd] | 3064 | else |
---|
[8298425] | 3065 | ac_check_lib_save_LIBS=$LIBS |
---|
[7d4fbcd] | 3066 | LIBS="-lsocket $LIBS" |
---|
[8298425] | 3067 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 3068 | /* confdefs.h. */ |
---|
| 3069 | _ACEOF |
---|
| 3070 | cat confdefs.h >>conftest.$ac_ext |
---|
| 3071 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 3072 | /* end confdefs.h. */ |
---|
| 3073 | |
---|
[4ad3480] | 3074 | /* Override any GCC internal prototype to avoid an error. |
---|
| 3075 | Use char because int might match the return type of a GCC |
---|
| 3076 | builtin and then its argument prototype would still apply. */ |
---|
[8298425] | 3077 | #ifdef __cplusplus |
---|
| 3078 | extern "C" |
---|
| 3079 | #endif |
---|
| 3080 | char socket (); |
---|
| 3081 | int |
---|
| 3082 | main () |
---|
| 3083 | { |
---|
[4ad3480] | 3084 | return socket (); |
---|
[8298425] | 3085 | ; |
---|
| 3086 | return 0; |
---|
| 3087 | } |
---|
| 3088 | _ACEOF |
---|
| 3089 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
[4ad3480] | 3090 | if { (ac_try="$ac_link" |
---|
| 3091 | case "(($ac_try" in |
---|
| 3092 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3093 | *) ac_try_echo=$ac_try;; |
---|
| 3094 | esac |
---|
| 3095 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 3096 | (eval "$ac_link") 2>conftest.er1 |
---|
[8298425] | 3097 | ac_status=$? |
---|
| 3098 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 3099 | rm -f conftest.er1 |
---|
| 3100 | cat conftest.err >&5 |
---|
| 3101 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3102 | (exit $ac_status); } && |
---|
[4ad3480] | 3103 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
---|
| 3104 | { (case "(($ac_try" in |
---|
| 3105 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3106 | *) ac_try_echo=$ac_try;; |
---|
| 3107 | esac |
---|
| 3108 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 3109 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 3110 | ac_status=$? |
---|
| 3111 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3112 | (exit $ac_status); }; } && |
---|
| 3113 | { ac_try='test -s conftest$ac_exeext' |
---|
[4ad3480] | 3114 | { (case "(($ac_try" in |
---|
| 3115 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3116 | *) ac_try_echo=$ac_try;; |
---|
| 3117 | esac |
---|
| 3118 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 3119 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 3120 | ac_status=$? |
---|
| 3121 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3122 | (exit $ac_status); }; }; then |
---|
| 3123 | ac_cv_lib_socket_socket=yes |
---|
| 3124 | else |
---|
| 3125 | echo "$as_me: failed program was:" >&5 |
---|
| 3126 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
[7d4fbcd] | 3127 | |
---|
[4ad3480] | 3128 | ac_cv_lib_socket_socket=no |
---|
[8298425] | 3129 | fi |
---|
[4ad3480] | 3130 | |
---|
| 3131 | rm -f core conftest.err conftest.$ac_objext \ |
---|
[8298425] | 3132 | conftest$ac_exeext conftest.$ac_ext |
---|
| 3133 | LIBS=$ac_check_lib_save_LIBS |
---|
[7d4fbcd] | 3134 | fi |
---|
[4ad3480] | 3135 | { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5 |
---|
| 3136 | echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; } |
---|
[8298425] | 3137 | if test $ac_cv_lib_socket_socket = yes; then |
---|
| 3138 | cat >>confdefs.h <<_ACEOF |
---|
| 3139 | #define HAVE_LIBSOCKET 1 |
---|
| 3140 | _ACEOF |
---|
[7d4fbcd] | 3141 | |
---|
| 3142 | LIBS="-lsocket $LIBS" |
---|
| 3143 | |
---|
| 3144 | fi |
---|
| 3145 | |
---|
[8298425] | 3146 | |
---|
[4ad3480] | 3147 | { echo "$as_me:$LINENO: checking for krb5_derive_key in -lk5crypto" >&5 |
---|
| 3148 | echo $ECHO_N "checking for krb5_derive_key in -lk5crypto... $ECHO_C" >&6; } |
---|
[8298425] | 3149 | if test "${ac_cv_lib_k5crypto_krb5_derive_key+set}" = set; then |
---|
| 3150 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
[7d4fbcd] | 3151 | else |
---|
[8298425] | 3152 | ac_check_lib_save_LIBS=$LIBS |
---|
[7d4fbcd] | 3153 | LIBS="-lk5crypto $LIBS" |
---|
[8298425] | 3154 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 3155 | /* confdefs.h. */ |
---|
| 3156 | _ACEOF |
---|
| 3157 | cat confdefs.h >>conftest.$ac_ext |
---|
| 3158 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 3159 | /* end confdefs.h. */ |
---|
| 3160 | |
---|
[4ad3480] | 3161 | /* Override any GCC internal prototype to avoid an error. |
---|
| 3162 | Use char because int might match the return type of a GCC |
---|
| 3163 | builtin and then its argument prototype would still apply. */ |
---|
[8298425] | 3164 | #ifdef __cplusplus |
---|
| 3165 | extern "C" |
---|
| 3166 | #endif |
---|
| 3167 | char krb5_derive_key (); |
---|
| 3168 | int |
---|
| 3169 | main () |
---|
| 3170 | { |
---|
[4ad3480] | 3171 | return krb5_derive_key (); |
---|
[8298425] | 3172 | ; |
---|
| 3173 | return 0; |
---|
| 3174 | } |
---|
| 3175 | _ACEOF |
---|
| 3176 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
[4ad3480] | 3177 | if { (ac_try="$ac_link" |
---|
| 3178 | case "(($ac_try" in |
---|
| 3179 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3180 | *) ac_try_echo=$ac_try;; |
---|
| 3181 | esac |
---|
| 3182 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 3183 | (eval "$ac_link") 2>conftest.er1 |
---|
[8298425] | 3184 | ac_status=$? |
---|
| 3185 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 3186 | rm -f conftest.er1 |
---|
| 3187 | cat conftest.err >&5 |
---|
| 3188 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3189 | (exit $ac_status); } && |
---|
[4ad3480] | 3190 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
---|
| 3191 | { (case "(($ac_try" in |
---|
| 3192 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3193 | *) ac_try_echo=$ac_try;; |
---|
| 3194 | esac |
---|
| 3195 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 3196 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 3197 | ac_status=$? |
---|
| 3198 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3199 | (exit $ac_status); }; } && |
---|
| 3200 | { ac_try='test -s conftest$ac_exeext' |
---|
[4ad3480] | 3201 | { (case "(($ac_try" in |
---|
| 3202 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3203 | *) ac_try_echo=$ac_try;; |
---|
| 3204 | esac |
---|
| 3205 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 3206 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 3207 | ac_status=$? |
---|
| 3208 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3209 | (exit $ac_status); }; }; then |
---|
| 3210 | ac_cv_lib_k5crypto_krb5_derive_key=yes |
---|
| 3211 | else |
---|
| 3212 | echo "$as_me: failed program was:" >&5 |
---|
| 3213 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
[7d4fbcd] | 3214 | |
---|
[4ad3480] | 3215 | ac_cv_lib_k5crypto_krb5_derive_key=no |
---|
[8298425] | 3216 | fi |
---|
[4ad3480] | 3217 | |
---|
| 3218 | rm -f core conftest.err conftest.$ac_objext \ |
---|
[8298425] | 3219 | conftest$ac_exeext conftest.$ac_ext |
---|
| 3220 | LIBS=$ac_check_lib_save_LIBS |
---|
[7d4fbcd] | 3221 | fi |
---|
[4ad3480] | 3222 | { echo "$as_me:$LINENO: result: $ac_cv_lib_k5crypto_krb5_derive_key" >&5 |
---|
| 3223 | echo "${ECHO_T}$ac_cv_lib_k5crypto_krb5_derive_key" >&6; } |
---|
[8298425] | 3224 | if test $ac_cv_lib_k5crypto_krb5_derive_key = yes; then |
---|
| 3225 | cat >>confdefs.h <<_ACEOF |
---|
| 3226 | #define HAVE_LIBK5CRYPTO 1 |
---|
| 3227 | _ACEOF |
---|
[7d4fbcd] | 3228 | |
---|
| 3229 | LIBS="-lk5crypto $LIBS" |
---|
| 3230 | |
---|
| 3231 | fi |
---|
| 3232 | |
---|
[8298425] | 3233 | |
---|
[4ad3480] | 3234 | { echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes425" >&5 |
---|
| 3235 | echo $ECHO_N "checking for des_cbc_encrypt in -ldes425... $ECHO_C" >&6; } |
---|
[8298425] | 3236 | if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then |
---|
| 3237 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
[7d4fbcd] | 3238 | else |
---|
[8298425] | 3239 | ac_check_lib_save_LIBS=$LIBS |
---|
[7d4fbcd] | 3240 | LIBS="-ldes425 $LIBS" |
---|
[8298425] | 3241 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 3242 | /* confdefs.h. */ |
---|
| 3243 | _ACEOF |
---|
| 3244 | cat confdefs.h >>conftest.$ac_ext |
---|
| 3245 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 3246 | /* end confdefs.h. */ |
---|
| 3247 | |
---|
[4ad3480] | 3248 | /* Override any GCC internal prototype to avoid an error. |
---|
| 3249 | Use char because int might match the return type of a GCC |
---|
| 3250 | builtin and then its argument prototype would still apply. */ |
---|
[8298425] | 3251 | #ifdef __cplusplus |
---|
| 3252 | extern "C" |
---|
| 3253 | #endif |
---|
| 3254 | char des_cbc_encrypt (); |
---|
| 3255 | int |
---|
| 3256 | main () |
---|
| 3257 | { |
---|
[4ad3480] | 3258 | return des_cbc_encrypt (); |
---|
[8298425] | 3259 | ; |
---|
| 3260 | return 0; |
---|
| 3261 | } |
---|
| 3262 | _ACEOF |
---|
| 3263 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
[4ad3480] | 3264 | if { (ac_try="$ac_link" |
---|
| 3265 | case "(($ac_try" in |
---|
| 3266 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3267 | *) ac_try_echo=$ac_try;; |
---|
| 3268 | esac |
---|
| 3269 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 3270 | (eval "$ac_link") 2>conftest.er1 |
---|
[8298425] | 3271 | ac_status=$? |
---|
| 3272 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 3273 | rm -f conftest.er1 |
---|
| 3274 | cat conftest.err >&5 |
---|
| 3275 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3276 | (exit $ac_status); } && |
---|
[4ad3480] | 3277 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
---|
| 3278 | { (case "(($ac_try" in |
---|
| 3279 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3280 | *) ac_try_echo=$ac_try;; |
---|
| 3281 | esac |
---|
| 3282 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 3283 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 3284 | ac_status=$? |
---|
| 3285 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3286 | (exit $ac_status); }; } && |
---|
| 3287 | { ac_try='test -s conftest$ac_exeext' |
---|
[4ad3480] | 3288 | { (case "(($ac_try" in |
---|
| 3289 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3290 | *) ac_try_echo=$ac_try;; |
---|
| 3291 | esac |
---|
| 3292 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 3293 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 3294 | ac_status=$? |
---|
| 3295 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3296 | (exit $ac_status); }; }; then |
---|
| 3297 | ac_cv_lib_des425_des_cbc_encrypt=yes |
---|
| 3298 | else |
---|
| 3299 | echo "$as_me: failed program was:" >&5 |
---|
| 3300 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
[7d4fbcd] | 3301 | |
---|
[4ad3480] | 3302 | ac_cv_lib_des425_des_cbc_encrypt=no |
---|
[8298425] | 3303 | fi |
---|
[4ad3480] | 3304 | |
---|
| 3305 | rm -f core conftest.err conftest.$ac_objext \ |
---|
[8298425] | 3306 | conftest$ac_exeext conftest.$ac_ext |
---|
| 3307 | LIBS=$ac_check_lib_save_LIBS |
---|
[7d4fbcd] | 3308 | fi |
---|
[4ad3480] | 3309 | { echo "$as_me:$LINENO: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5 |
---|
| 3310 | echo "${ECHO_T}$ac_cv_lib_des425_des_cbc_encrypt" >&6; } |
---|
[8298425] | 3311 | if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then |
---|
| 3312 | cat >>confdefs.h <<_ACEOF |
---|
| 3313 | #define HAVE_LIBDES425 1 |
---|
| 3314 | _ACEOF |
---|
[7d4fbcd] | 3315 | |
---|
| 3316 | LIBS="-ldes425 $LIBS" |
---|
| 3317 | |
---|
| 3318 | fi |
---|
| 3319 | |
---|
[8298425] | 3320 | |
---|
[4ad3480] | 3321 | { echo "$as_me:$LINENO: checking for res_search in -lresolv" >&5 |
---|
| 3322 | echo $ECHO_N "checking for res_search in -lresolv... $ECHO_C" >&6; } |
---|
[8298425] | 3323 | if test "${ac_cv_lib_resolv_res_search+set}" = set; then |
---|
| 3324 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
[d09e5a1] | 3325 | else |
---|
[8298425] | 3326 | ac_check_lib_save_LIBS=$LIBS |
---|
[d09e5a1] | 3327 | LIBS="-lresolv $LIBS" |
---|
[8298425] | 3328 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 3329 | /* confdefs.h. */ |
---|
| 3330 | _ACEOF |
---|
| 3331 | cat confdefs.h >>conftest.$ac_ext |
---|
| 3332 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 3333 | /* end confdefs.h. */ |
---|
| 3334 | |
---|
[4ad3480] | 3335 | /* Override any GCC internal prototype to avoid an error. |
---|
| 3336 | Use char because int might match the return type of a GCC |
---|
| 3337 | builtin and then its argument prototype would still apply. */ |
---|
[8298425] | 3338 | #ifdef __cplusplus |
---|
| 3339 | extern "C" |
---|
| 3340 | #endif |
---|
| 3341 | char res_search (); |
---|
| 3342 | int |
---|
| 3343 | main () |
---|
| 3344 | { |
---|
[4ad3480] | 3345 | return res_search (); |
---|
[8298425] | 3346 | ; |
---|
| 3347 | return 0; |
---|
| 3348 | } |
---|
| 3349 | _ACEOF |
---|
| 3350 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
[4ad3480] | 3351 | if { (ac_try="$ac_link" |
---|
| 3352 | case "(($ac_try" in |
---|
| 3353 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3354 | *) ac_try_echo=$ac_try;; |
---|
| 3355 | esac |
---|
| 3356 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 3357 | (eval "$ac_link") 2>conftest.er1 |
---|
[8298425] | 3358 | ac_status=$? |
---|
| 3359 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 3360 | rm -f conftest.er1 |
---|
| 3361 | cat conftest.err >&5 |
---|
| 3362 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3363 | (exit $ac_status); } && |
---|
[4ad3480] | 3364 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
---|
| 3365 | { (case "(($ac_try" in |
---|
| 3366 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3367 | *) ac_try_echo=$ac_try;; |
---|
| 3368 | esac |
---|
| 3369 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 3370 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 3371 | ac_status=$? |
---|
| 3372 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3373 | (exit $ac_status); }; } && |
---|
| 3374 | { ac_try='test -s conftest$ac_exeext' |
---|
[4ad3480] | 3375 | { (case "(($ac_try" in |
---|
| 3376 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3377 | *) ac_try_echo=$ac_try;; |
---|
| 3378 | esac |
---|
| 3379 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 3380 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 3381 | ac_status=$? |
---|
| 3382 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3383 | (exit $ac_status); }; }; then |
---|
| 3384 | ac_cv_lib_resolv_res_search=yes |
---|
| 3385 | else |
---|
| 3386 | echo "$as_me: failed program was:" >&5 |
---|
| 3387 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
[d09e5a1] | 3388 | |
---|
[4ad3480] | 3389 | ac_cv_lib_resolv_res_search=no |
---|
[8298425] | 3390 | fi |
---|
[4ad3480] | 3391 | |
---|
| 3392 | rm -f core conftest.err conftest.$ac_objext \ |
---|
[8298425] | 3393 | conftest$ac_exeext conftest.$ac_ext |
---|
| 3394 | LIBS=$ac_check_lib_save_LIBS |
---|
[d09e5a1] | 3395 | fi |
---|
[4ad3480] | 3396 | { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_search" >&5 |
---|
| 3397 | echo "${ECHO_T}$ac_cv_lib_resolv_res_search" >&6; } |
---|
[8298425] | 3398 | if test $ac_cv_lib_resolv_res_search = yes; then |
---|
| 3399 | cat >>confdefs.h <<_ACEOF |
---|
| 3400 | #define HAVE_LIBRESOLV 1 |
---|
| 3401 | _ACEOF |
---|
[d09e5a1] | 3402 | |
---|
| 3403 | LIBS="-lresolv $LIBS" |
---|
| 3404 | |
---|
| 3405 | fi |
---|
| 3406 | |
---|
[8298425] | 3407 | |
---|
[4ad3480] | 3408 | { echo "$as_me:$LINENO: checking for krb5_get_credentials in -lkrb5" >&5 |
---|
| 3409 | echo $ECHO_N "checking for krb5_get_credentials in -lkrb5... $ECHO_C" >&6; } |
---|
[8298425] | 3410 | if test "${ac_cv_lib_krb5_krb5_get_credentials+set}" = set; then |
---|
| 3411 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
[7d4fbcd] | 3412 | else |
---|
[8298425] | 3413 | ac_check_lib_save_LIBS=$LIBS |
---|
[7d4fbcd] | 3414 | LIBS="-lkrb5 $LIBS" |
---|
[8298425] | 3415 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 3416 | /* confdefs.h. */ |
---|
| 3417 | _ACEOF |
---|
| 3418 | cat confdefs.h >>conftest.$ac_ext |
---|
| 3419 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 3420 | /* end confdefs.h. */ |
---|
| 3421 | |
---|
[4ad3480] | 3422 | /* Override any GCC internal prototype to avoid an error. |
---|
| 3423 | Use char because int might match the return type of a GCC |
---|
| 3424 | builtin and then its argument prototype would still apply. */ |
---|
[8298425] | 3425 | #ifdef __cplusplus |
---|
| 3426 | extern "C" |
---|
| 3427 | #endif |
---|
| 3428 | char krb5_get_credentials (); |
---|
| 3429 | int |
---|
| 3430 | main () |
---|
| 3431 | { |
---|
[4ad3480] | 3432 | return krb5_get_credentials (); |
---|
[8298425] | 3433 | ; |
---|
| 3434 | return 0; |
---|
| 3435 | } |
---|
| 3436 | _ACEOF |
---|
| 3437 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
[4ad3480] | 3438 | if { (ac_try="$ac_link" |
---|
| 3439 | case "(($ac_try" in |
---|
| 3440 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3441 | *) ac_try_echo=$ac_try;; |
---|
| 3442 | esac |
---|
| 3443 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 3444 | (eval "$ac_link") 2>conftest.er1 |
---|
[8298425] | 3445 | ac_status=$? |
---|
| 3446 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 3447 | rm -f conftest.er1 |
---|
| 3448 | cat conftest.err >&5 |
---|
| 3449 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3450 | (exit $ac_status); } && |
---|
[4ad3480] | 3451 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
---|
| 3452 | { (case "(($ac_try" in |
---|
| 3453 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3454 | *) ac_try_echo=$ac_try;; |
---|
| 3455 | esac |
---|
| 3456 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 3457 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 3458 | ac_status=$? |
---|
| 3459 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3460 | (exit $ac_status); }; } && |
---|
| 3461 | { ac_try='test -s conftest$ac_exeext' |
---|
[4ad3480] | 3462 | { (case "(($ac_try" in |
---|
| 3463 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3464 | *) ac_try_echo=$ac_try;; |
---|
| 3465 | esac |
---|
| 3466 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 3467 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 3468 | ac_status=$? |
---|
| 3469 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3470 | (exit $ac_status); }; }; then |
---|
| 3471 | ac_cv_lib_krb5_krb5_get_credentials=yes |
---|
| 3472 | else |
---|
| 3473 | echo "$as_me: failed program was:" >&5 |
---|
| 3474 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
[7d4fbcd] | 3475 | |
---|
[4ad3480] | 3476 | ac_cv_lib_krb5_krb5_get_credentials=no |
---|
[8298425] | 3477 | fi |
---|
[4ad3480] | 3478 | |
---|
| 3479 | rm -f core conftest.err conftest.$ac_objext \ |
---|
[8298425] | 3480 | conftest$ac_exeext conftest.$ac_ext |
---|
| 3481 | LIBS=$ac_check_lib_save_LIBS |
---|
[7d4fbcd] | 3482 | fi |
---|
[4ad3480] | 3483 | { echo "$as_me:$LINENO: result: $ac_cv_lib_krb5_krb5_get_credentials" >&5 |
---|
| 3484 | echo "${ECHO_T}$ac_cv_lib_krb5_krb5_get_credentials" >&6; } |
---|
[8298425] | 3485 | if test $ac_cv_lib_krb5_krb5_get_credentials = yes; then |
---|
| 3486 | cat >>confdefs.h <<_ACEOF |
---|
| 3487 | #define HAVE_LIBKRB5 1 |
---|
| 3488 | _ACEOF |
---|
[7d4fbcd] | 3489 | |
---|
| 3490 | LIBS="-lkrb5 $LIBS" |
---|
| 3491 | |
---|
| 3492 | fi |
---|
| 3493 | |
---|
[8298425] | 3494 | |
---|
[4ad3480] | 3495 | { echo "$as_me:$LINENO: checking for krb_sendauth in -lkrb4" >&5 |
---|
| 3496 | echo $ECHO_N "checking for krb_sendauth in -lkrb4... $ECHO_C" >&6; } |
---|
[8298425] | 3497 | if test "${ac_cv_lib_krb4_krb_sendauth+set}" = set; then |
---|
| 3498 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
[7d4fbcd] | 3499 | else |
---|
[8298425] | 3500 | ac_check_lib_save_LIBS=$LIBS |
---|
[7d4fbcd] | 3501 | LIBS="-lkrb4 $LIBS" |
---|
[8298425] | 3502 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 3503 | /* confdefs.h. */ |
---|
| 3504 | _ACEOF |
---|
| 3505 | cat confdefs.h >>conftest.$ac_ext |
---|
| 3506 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 3507 | /* end confdefs.h. */ |
---|
| 3508 | |
---|
[4ad3480] | 3509 | /* Override any GCC internal prototype to avoid an error. |
---|
| 3510 | Use char because int might match the return type of a GCC |
---|
| 3511 | builtin and then its argument prototype would still apply. */ |
---|
[8298425] | 3512 | #ifdef __cplusplus |
---|
| 3513 | extern "C" |
---|
| 3514 | #endif |
---|
| 3515 | char krb_sendauth (); |
---|
| 3516 | int |
---|
| 3517 | main () |
---|
| 3518 | { |
---|
[4ad3480] | 3519 | return krb_sendauth (); |
---|
[8298425] | 3520 | ; |
---|
| 3521 | return 0; |
---|
| 3522 | } |
---|
| 3523 | _ACEOF |
---|
| 3524 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
[4ad3480] | 3525 | if { (ac_try="$ac_link" |
---|
| 3526 | case "(($ac_try" in |
---|
| 3527 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3528 | *) ac_try_echo=$ac_try;; |
---|
| 3529 | esac |
---|
| 3530 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 3531 | (eval "$ac_link") 2>conftest.er1 |
---|
[8298425] | 3532 | ac_status=$? |
---|
| 3533 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 3534 | rm -f conftest.er1 |
---|
| 3535 | cat conftest.err >&5 |
---|
| 3536 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3537 | (exit $ac_status); } && |
---|
[4ad3480] | 3538 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
---|
| 3539 | { (case "(($ac_try" in |
---|
| 3540 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3541 | *) ac_try_echo=$ac_try;; |
---|
| 3542 | esac |
---|
| 3543 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 3544 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 3545 | ac_status=$? |
---|
| 3546 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3547 | (exit $ac_status); }; } && |
---|
| 3548 | { ac_try='test -s conftest$ac_exeext' |
---|
[4ad3480] | 3549 | { (case "(($ac_try" in |
---|
| 3550 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3551 | *) ac_try_echo=$ac_try;; |
---|
| 3552 | esac |
---|
| 3553 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 3554 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 3555 | ac_status=$? |
---|
| 3556 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3557 | (exit $ac_status); }; }; then |
---|
| 3558 | ac_cv_lib_krb4_krb_sendauth=yes |
---|
| 3559 | else |
---|
| 3560 | echo "$as_me: failed program was:" >&5 |
---|
| 3561 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
[7d4fbcd] | 3562 | |
---|
[4ad3480] | 3563 | ac_cv_lib_krb4_krb_sendauth=no |
---|
[8298425] | 3564 | fi |
---|
[4ad3480] | 3565 | |
---|
| 3566 | rm -f core conftest.err conftest.$ac_objext \ |
---|
[8298425] | 3567 | conftest$ac_exeext conftest.$ac_ext |
---|
| 3568 | LIBS=$ac_check_lib_save_LIBS |
---|
[7d4fbcd] | 3569 | fi |
---|
[4ad3480] | 3570 | { echo "$as_me:$LINENO: result: $ac_cv_lib_krb4_krb_sendauth" >&5 |
---|
| 3571 | echo "${ECHO_T}$ac_cv_lib_krb4_krb_sendauth" >&6; } |
---|
[8298425] | 3572 | if test $ac_cv_lib_krb4_krb_sendauth = yes; then |
---|
| 3573 | cat >>confdefs.h <<_ACEOF |
---|
| 3574 | #define HAVE_LIBKRB4 1 |
---|
| 3575 | _ACEOF |
---|
[7d4fbcd] | 3576 | |
---|
| 3577 | LIBS="-lkrb4 $LIBS" |
---|
| 3578 | |
---|
| 3579 | else |
---|
[8298425] | 3580 | |
---|
[4ad3480] | 3581 | { echo "$as_me:$LINENO: checking for krb_sendauth in -lkrb" >&5 |
---|
| 3582 | echo $ECHO_N "checking for krb_sendauth in -lkrb... $ECHO_C" >&6; } |
---|
[8298425] | 3583 | if test "${ac_cv_lib_krb_krb_sendauth+set}" = set; then |
---|
| 3584 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
[69894d2] | 3585 | else |
---|
[8298425] | 3586 | ac_check_lib_save_LIBS=$LIBS |
---|
[69894d2] | 3587 | LIBS="-lkrb $LIBS" |
---|
[8298425] | 3588 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 3589 | /* confdefs.h. */ |
---|
| 3590 | _ACEOF |
---|
| 3591 | cat confdefs.h >>conftest.$ac_ext |
---|
| 3592 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 3593 | /* end confdefs.h. */ |
---|
| 3594 | |
---|
[4ad3480] | 3595 | /* Override any GCC internal prototype to avoid an error. |
---|
| 3596 | Use char because int might match the return type of a GCC |
---|
| 3597 | builtin and then its argument prototype would still apply. */ |
---|
[8298425] | 3598 | #ifdef __cplusplus |
---|
| 3599 | extern "C" |
---|
| 3600 | #endif |
---|
| 3601 | char krb_sendauth (); |
---|
| 3602 | int |
---|
| 3603 | main () |
---|
| 3604 | { |
---|
[4ad3480] | 3605 | return krb_sendauth (); |
---|
[8298425] | 3606 | ; |
---|
| 3607 | return 0; |
---|
| 3608 | } |
---|
| 3609 | _ACEOF |
---|
| 3610 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
[4ad3480] | 3611 | if { (ac_try="$ac_link" |
---|
| 3612 | case "(($ac_try" in |
---|
| 3613 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3614 | *) ac_try_echo=$ac_try;; |
---|
| 3615 | esac |
---|
| 3616 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 3617 | (eval "$ac_link") 2>conftest.er1 |
---|
[8298425] | 3618 | ac_status=$? |
---|
| 3619 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 3620 | rm -f conftest.er1 |
---|
| 3621 | cat conftest.err >&5 |
---|
| 3622 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3623 | (exit $ac_status); } && |
---|
[4ad3480] | 3624 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
---|
| 3625 | { (case "(($ac_try" in |
---|
| 3626 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3627 | *) ac_try_echo=$ac_try;; |
---|
| 3628 | esac |
---|
| 3629 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 3630 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 3631 | ac_status=$? |
---|
| 3632 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3633 | (exit $ac_status); }; } && |
---|
| 3634 | { ac_try='test -s conftest$ac_exeext' |
---|
[4ad3480] | 3635 | { (case "(($ac_try" in |
---|
| 3636 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3637 | *) ac_try_echo=$ac_try;; |
---|
| 3638 | esac |
---|
| 3639 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 3640 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 3641 | ac_status=$? |
---|
| 3642 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3643 | (exit $ac_status); }; }; then |
---|
| 3644 | ac_cv_lib_krb_krb_sendauth=yes |
---|
| 3645 | else |
---|
| 3646 | echo "$as_me: failed program was:" >&5 |
---|
| 3647 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
[69894d2] | 3648 | |
---|
[4ad3480] | 3649 | ac_cv_lib_krb_krb_sendauth=no |
---|
[8298425] | 3650 | fi |
---|
[4ad3480] | 3651 | |
---|
| 3652 | rm -f core conftest.err conftest.$ac_objext \ |
---|
[8298425] | 3653 | conftest$ac_exeext conftest.$ac_ext |
---|
| 3654 | LIBS=$ac_check_lib_save_LIBS |
---|
[69894d2] | 3655 | fi |
---|
[4ad3480] | 3656 | { echo "$as_me:$LINENO: result: $ac_cv_lib_krb_krb_sendauth" >&5 |
---|
| 3657 | echo "${ECHO_T}$ac_cv_lib_krb_krb_sendauth" >&6; } |
---|
[8298425] | 3658 | if test $ac_cv_lib_krb_krb_sendauth = yes; then |
---|
| 3659 | cat >>confdefs.h <<_ACEOF |
---|
| 3660 | #define HAVE_LIBKRB 1 |
---|
| 3661 | _ACEOF |
---|
[69894d2] | 3662 | |
---|
| 3663 | LIBS="-lkrb $LIBS" |
---|
| 3664 | |
---|
| 3665 | fi |
---|
| 3666 | |
---|
[d09e5a1] | 3667 | fi |
---|
| 3668 | |
---|
[8298425] | 3669 | |
---|
[4ad3480] | 3670 | { echo "$as_me:$LINENO: checking for ZGetSender in -lzephyr" >&5 |
---|
| 3671 | echo $ECHO_N "checking for ZGetSender in -lzephyr... $ECHO_C" >&6; } |
---|
[8298425] | 3672 | if test "${ac_cv_lib_zephyr_ZGetSender+set}" = set; then |
---|
| 3673 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
[7d4fbcd] | 3674 | else |
---|
[8298425] | 3675 | ac_check_lib_save_LIBS=$LIBS |
---|
[7d4fbcd] | 3676 | LIBS="-lzephyr $LIBS" |
---|
[8298425] | 3677 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 3678 | /* confdefs.h. */ |
---|
| 3679 | _ACEOF |
---|
| 3680 | cat confdefs.h >>conftest.$ac_ext |
---|
| 3681 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 3682 | /* end confdefs.h. */ |
---|
| 3683 | |
---|
[4ad3480] | 3684 | /* Override any GCC internal prototype to avoid an error. |
---|
| 3685 | Use char because int might match the return type of a GCC |
---|
| 3686 | builtin and then its argument prototype would still apply. */ |
---|
[8298425] | 3687 | #ifdef __cplusplus |
---|
| 3688 | extern "C" |
---|
| 3689 | #endif |
---|
| 3690 | char ZGetSender (); |
---|
| 3691 | int |
---|
| 3692 | main () |
---|
| 3693 | { |
---|
[4ad3480] | 3694 | return ZGetSender (); |
---|
[8298425] | 3695 | ; |
---|
| 3696 | return 0; |
---|
| 3697 | } |
---|
| 3698 | _ACEOF |
---|
| 3699 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
[4ad3480] | 3700 | if { (ac_try="$ac_link" |
---|
| 3701 | case "(($ac_try" in |
---|
| 3702 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3703 | *) ac_try_echo=$ac_try;; |
---|
| 3704 | esac |
---|
| 3705 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 3706 | (eval "$ac_link") 2>conftest.er1 |
---|
[8298425] | 3707 | ac_status=$? |
---|
| 3708 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 3709 | rm -f conftest.er1 |
---|
| 3710 | cat conftest.err >&5 |
---|
| 3711 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3712 | (exit $ac_status); } && |
---|
[4ad3480] | 3713 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
---|
| 3714 | { (case "(($ac_try" in |
---|
| 3715 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3716 | *) ac_try_echo=$ac_try;; |
---|
| 3717 | esac |
---|
| 3718 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 3719 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 3720 | ac_status=$? |
---|
| 3721 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3722 | (exit $ac_status); }; } && |
---|
| 3723 | { ac_try='test -s conftest$ac_exeext' |
---|
[4ad3480] | 3724 | { (case "(($ac_try" in |
---|
| 3725 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3726 | *) ac_try_echo=$ac_try;; |
---|
| 3727 | esac |
---|
| 3728 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 3729 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 3730 | ac_status=$? |
---|
| 3731 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3732 | (exit $ac_status); }; }; then |
---|
| 3733 | ac_cv_lib_zephyr_ZGetSender=yes |
---|
| 3734 | else |
---|
| 3735 | echo "$as_me: failed program was:" >&5 |
---|
| 3736 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
[7d4fbcd] | 3737 | |
---|
[4ad3480] | 3738 | ac_cv_lib_zephyr_ZGetSender=no |
---|
[8298425] | 3739 | fi |
---|
[4ad3480] | 3740 | |
---|
| 3741 | rm -f core conftest.err conftest.$ac_objext \ |
---|
[8298425] | 3742 | conftest$ac_exeext conftest.$ac_ext |
---|
| 3743 | LIBS=$ac_check_lib_save_LIBS |
---|
[7d4fbcd] | 3744 | fi |
---|
[4ad3480] | 3745 | { echo "$as_me:$LINENO: result: $ac_cv_lib_zephyr_ZGetSender" >&5 |
---|
| 3746 | echo "${ECHO_T}$ac_cv_lib_zephyr_ZGetSender" >&6; } |
---|
[8298425] | 3747 | if test $ac_cv_lib_zephyr_ZGetSender = yes; then |
---|
| 3748 | cat >>confdefs.h <<_ACEOF |
---|
| 3749 | #define HAVE_LIBZEPHYR 1 |
---|
| 3750 | _ACEOF |
---|
[7d4fbcd] | 3751 | |
---|
| 3752 | LIBS="-lzephyr $LIBS" |
---|
| 3753 | |
---|
| 3754 | fi |
---|
| 3755 | |
---|
[4ad3480] | 3756 | { echo "$as_me:$LINENO: checking for ZInitLocationInfo in -lzephyr" >&5 |
---|
| 3757 | echo $ECHO_N "checking for ZInitLocationInfo in -lzephyr... $ECHO_C" >&6; } |
---|
[8298425] | 3758 | if test "${ac_cv_lib_zephyr_ZInitLocationInfo+set}" = set; then |
---|
| 3759 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
[7d4fbcd] | 3760 | else |
---|
[8298425] | 3761 | ac_check_lib_save_LIBS=$LIBS |
---|
[7d4fbcd] | 3762 | LIBS="-lzephyr $LIBS" |
---|
[8298425] | 3763 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 3764 | /* confdefs.h. */ |
---|
| 3765 | _ACEOF |
---|
| 3766 | cat confdefs.h >>conftest.$ac_ext |
---|
| 3767 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 3768 | /* end confdefs.h. */ |
---|
| 3769 | |
---|
[4ad3480] | 3770 | /* Override any GCC internal prototype to avoid an error. |
---|
| 3771 | Use char because int might match the return type of a GCC |
---|
| 3772 | builtin and then its argument prototype would still apply. */ |
---|
[8298425] | 3773 | #ifdef __cplusplus |
---|
| 3774 | extern "C" |
---|
| 3775 | #endif |
---|
| 3776 | char ZInitLocationInfo (); |
---|
| 3777 | int |
---|
| 3778 | main () |
---|
| 3779 | { |
---|
[4ad3480] | 3780 | return ZInitLocationInfo (); |
---|
[8298425] | 3781 | ; |
---|
| 3782 | return 0; |
---|
| 3783 | } |
---|
| 3784 | _ACEOF |
---|
| 3785 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
[4ad3480] | 3786 | if { (ac_try="$ac_link" |
---|
| 3787 | case "(($ac_try" in |
---|
| 3788 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3789 | *) ac_try_echo=$ac_try;; |
---|
| 3790 | esac |
---|
| 3791 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 3792 | (eval "$ac_link") 2>conftest.er1 |
---|
[8298425] | 3793 | ac_status=$? |
---|
| 3794 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 3795 | rm -f conftest.er1 |
---|
| 3796 | cat conftest.err >&5 |
---|
| 3797 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3798 | (exit $ac_status); } && |
---|
[4ad3480] | 3799 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
---|
| 3800 | { (case "(($ac_try" in |
---|
| 3801 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3802 | *) ac_try_echo=$ac_try;; |
---|
| 3803 | esac |
---|
| 3804 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 3805 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 3806 | ac_status=$? |
---|
| 3807 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3808 | (exit $ac_status); }; } && |
---|
| 3809 | { ac_try='test -s conftest$ac_exeext' |
---|
[4ad3480] | 3810 | { (case "(($ac_try" in |
---|
| 3811 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3812 | *) ac_try_echo=$ac_try;; |
---|
| 3813 | esac |
---|
| 3814 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 3815 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 3816 | ac_status=$? |
---|
| 3817 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3818 | (exit $ac_status); }; }; then |
---|
| 3819 | ac_cv_lib_zephyr_ZInitLocationInfo=yes |
---|
| 3820 | else |
---|
| 3821 | echo "$as_me: failed program was:" >&5 |
---|
| 3822 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
[7d4fbcd] | 3823 | |
---|
[4ad3480] | 3824 | ac_cv_lib_zephyr_ZInitLocationInfo=no |
---|
[7d4fbcd] | 3825 | fi |
---|
[4ad3480] | 3826 | |
---|
| 3827 | rm -f core conftest.err conftest.$ac_objext \ |
---|
[8298425] | 3828 | conftest$ac_exeext conftest.$ac_ext |
---|
| 3829 | LIBS=$ac_check_lib_save_LIBS |
---|
| 3830 | fi |
---|
[4ad3480] | 3831 | { echo "$as_me:$LINENO: result: $ac_cv_lib_zephyr_ZInitLocationInfo" >&5 |
---|
| 3832 | echo "${ECHO_T}$ac_cv_lib_zephyr_ZInitLocationInfo" >&6; } |
---|
[8298425] | 3833 | if test $ac_cv_lib_zephyr_ZInitLocationInfo = yes; then |
---|
| 3834 | |
---|
| 3835 | cat >>confdefs.h <<\_ACEOF |
---|
| 3836 | #define HAVE_LIBZEPHYR_ZINITLOCATIONINFO |
---|
| 3837 | _ACEOF |
---|
[7d4fbcd] | 3838 | |
---|
| 3839 | fi |
---|
| 3840 | |
---|
| 3841 | |
---|
[8298425] | 3842 | |
---|
| 3843 | |
---|
| 3844 | |
---|
| 3845 | |
---|
[c269e22] | 3846 | for ac_func in use_default_colors des_string_to_key des_key_sched des_ecb_encrypt |
---|
[e51b410] | 3847 | do |
---|
[8298425] | 3848 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
---|
[4ad3480] | 3849 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
---|
| 3850 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
---|
| 3851 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
---|
[8298425] | 3852 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 3853 | else |
---|
| 3854 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 3855 | /* confdefs.h. */ |
---|
| 3856 | _ACEOF |
---|
| 3857 | cat confdefs.h >>conftest.$ac_ext |
---|
| 3858 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 3859 | /* end confdefs.h. */ |
---|
| 3860 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
---|
| 3861 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
---|
| 3862 | #define $ac_func innocuous_$ac_func |
---|
| 3863 | |
---|
[e51b410] | 3864 | /* System header to define __stub macros and hopefully few prototypes, |
---|
[8298425] | 3865 | which can conflict with char $ac_func (); below. |
---|
| 3866 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
---|
| 3867 | <limits.h> exists even on freestanding compilers. */ |
---|
[e51b410] | 3868 | |
---|
[8298425] | 3869 | #ifdef __STDC__ |
---|
| 3870 | # include <limits.h> |
---|
| 3871 | #else |
---|
| 3872 | # include <assert.h> |
---|
| 3873 | #endif |
---|
[e51b410] | 3874 | |
---|
[8298425] | 3875 | #undef $ac_func |
---|
| 3876 | |
---|
[4ad3480] | 3877 | /* Override any GCC internal prototype to avoid an error. |
---|
| 3878 | Use char because int might match the return type of a GCC |
---|
| 3879 | builtin and then its argument prototype would still apply. */ |
---|
[8298425] | 3880 | #ifdef __cplusplus |
---|
| 3881 | extern "C" |
---|
| 3882 | #endif |
---|
| 3883 | char $ac_func (); |
---|
[e51b410] | 3884 | /* The GNU C library defines this for functions which it implements |
---|
| 3885 | to always fail with ENOSYS. Some functions are actually named |
---|
| 3886 | something starting with __ and the normal name is an alias. */ |
---|
[4ad3480] | 3887 | #if defined __stub_$ac_func || defined __stub___$ac_func |
---|
[e51b410] | 3888 | choke me |
---|
| 3889 | #endif |
---|
| 3890 | |
---|
[8298425] | 3891 | int |
---|
| 3892 | main () |
---|
| 3893 | { |
---|
[4ad3480] | 3894 | return $ac_func (); |
---|
[8298425] | 3895 | ; |
---|
| 3896 | return 0; |
---|
| 3897 | } |
---|
| 3898 | _ACEOF |
---|
| 3899 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
[4ad3480] | 3900 | if { (ac_try="$ac_link" |
---|
| 3901 | case "(($ac_try" in |
---|
| 3902 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3903 | *) ac_try_echo=$ac_try;; |
---|
| 3904 | esac |
---|
| 3905 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 3906 | (eval "$ac_link") 2>conftest.er1 |
---|
[8298425] | 3907 | ac_status=$? |
---|
| 3908 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 3909 | rm -f conftest.er1 |
---|
| 3910 | cat conftest.err >&5 |
---|
| 3911 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3912 | (exit $ac_status); } && |
---|
[4ad3480] | 3913 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
---|
| 3914 | { (case "(($ac_try" in |
---|
| 3915 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3916 | *) ac_try_echo=$ac_try;; |
---|
| 3917 | esac |
---|
| 3918 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 3919 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 3920 | ac_status=$? |
---|
| 3921 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3922 | (exit $ac_status); }; } && |
---|
| 3923 | { ac_try='test -s conftest$ac_exeext' |
---|
[4ad3480] | 3924 | { (case "(($ac_try" in |
---|
| 3925 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3926 | *) ac_try_echo=$ac_try;; |
---|
| 3927 | esac |
---|
| 3928 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 3929 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 3930 | ac_status=$? |
---|
| 3931 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3932 | (exit $ac_status); }; }; then |
---|
| 3933 | eval "$as_ac_var=yes" |
---|
[e51b410] | 3934 | else |
---|
[8298425] | 3935 | echo "$as_me: failed program was:" >&5 |
---|
| 3936 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 3937 | |
---|
[4ad3480] | 3938 | eval "$as_ac_var=no" |
---|
[e51b410] | 3939 | fi |
---|
[4ad3480] | 3940 | |
---|
| 3941 | rm -f core conftest.err conftest.$ac_objext \ |
---|
[8298425] | 3942 | conftest$ac_exeext conftest.$ac_ext |
---|
[e51b410] | 3943 | fi |
---|
[4ad3480] | 3944 | ac_res=`eval echo '${'$as_ac_var'}'` |
---|
| 3945 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
---|
| 3946 | echo "${ECHO_T}$ac_res" >&6; } |
---|
[8298425] | 3947 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
---|
| 3948 | cat >>confdefs.h <<_ACEOF |
---|
| 3949 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
---|
| 3950 | _ACEOF |
---|
[e51b410] | 3951 | |
---|
| 3952 | fi |
---|
| 3953 | done |
---|
| 3954 | |
---|
| 3955 | |
---|
[4ad3480] | 3956 | { echo "$as_me:$LINENO: checking for des_ecb_encrypt prototype" >&5 |
---|
| 3957 | echo $ECHO_N "checking for des_ecb_encrypt prototype... $ECHO_C" >&6; } |
---|
[8298425] | 3958 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 3959 | /* confdefs.h. */ |
---|
| 3960 | _ACEOF |
---|
| 3961 | cat confdefs.h >>conftest.$ac_ext |
---|
| 3962 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 3963 | /* end confdefs.h. */ |
---|
[69894d2] | 3964 | #include <des.h> |
---|
| 3965 | int des_ecb_encrypt(char foo[], char bar[], des_key_schedule baz, int qux); |
---|
[8298425] | 3966 | int |
---|
| 3967 | main () |
---|
| 3968 | { |
---|
[69894d2] | 3969 | int foo = des_ecb_encrypt(0,0,0,0); |
---|
[8298425] | 3970 | ; |
---|
| 3971 | return 0; |
---|
| 3972 | } |
---|
| 3973 | _ACEOF |
---|
| 3974 | rm -f conftest.$ac_objext |
---|
[4ad3480] | 3975 | if { (ac_try="$ac_compile" |
---|
| 3976 | case "(($ac_try" in |
---|
| 3977 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3978 | *) ac_try_echo=$ac_try;; |
---|
| 3979 | esac |
---|
| 3980 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 3981 | (eval "$ac_compile") 2>conftest.er1 |
---|
[8298425] | 3982 | ac_status=$? |
---|
| 3983 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 3984 | rm -f conftest.er1 |
---|
| 3985 | cat conftest.err >&5 |
---|
| 3986 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3987 | (exit $ac_status); } && |
---|
[4ad3480] | 3988 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
---|
| 3989 | { (case "(($ac_try" in |
---|
| 3990 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3991 | *) ac_try_echo=$ac_try;; |
---|
| 3992 | esac |
---|
| 3993 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 3994 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 3995 | ac_status=$? |
---|
| 3996 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3997 | (exit $ac_status); }; } && |
---|
| 3998 | { ac_try='test -s conftest.$ac_objext' |
---|
[4ad3480] | 3999 | { (case "(($ac_try" in |
---|
| 4000 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 4001 | *) ac_try_echo=$ac_try;; |
---|
| 4002 | esac |
---|
| 4003 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 4004 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 4005 | ac_status=$? |
---|
| 4006 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 4007 | (exit $ac_status); }; }; then |
---|
[69894d2] | 4008 | ac_cv_des_ecb_encrypt_proto=no |
---|
| 4009 | else |
---|
[8298425] | 4010 | echo "$as_me: failed program was:" >&5 |
---|
| 4011 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 4012 | |
---|
[4ad3480] | 4013 | ac_cv_des_ecb_encrypt_proto=yes |
---|
[69894d2] | 4014 | fi |
---|
[4ad3480] | 4015 | |
---|
| 4016 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
| 4017 | { echo "$as_me:$LINENO: result: $ac_cv_des_ecb_encrypt_proto" >&5 |
---|
| 4018 | echo "${ECHO_T}$ac_cv_des_ecb_encrypt_proto" >&6; } |
---|
[69894d2] | 4019 | if test "$ac_cv_des_ecb_encrypt_proto" = yes; then |
---|
[8298425] | 4020 | |
---|
| 4021 | cat >>confdefs.h <<\_ACEOF |
---|
| 4022 | #define HAVE_DES_ECB_ENCRYPT_PROTO |
---|
| 4023 | _ACEOF |
---|
[69894d2] | 4024 | |
---|
| 4025 | fi |
---|
| 4026 | |
---|
[8298425] | 4027 | ac_ext=c |
---|
| 4028 | ac_cpp='$CPP $CPPFLAGS' |
---|
| 4029 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
| 4030 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
| 4031 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
[4ad3480] | 4032 | { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
---|
| 4033 | echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } |
---|
[7d4fbcd] | 4034 | # On Suns, sometimes $CPP names a directory. |
---|
| 4035 | if test -n "$CPP" && test -d "$CPP"; then |
---|
| 4036 | CPP= |
---|
|
---|