[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 | |
---|
[1bdffcb] | 2885 | { echo "$as_me:$LINENO: checking for resizeterm" >&5 |
---|
| 2886 | if test $ac_cv_lib_ncurses_initscr = yes; then |
---|
| 2887 | echo $ECHO_N "checking for resizeterm in -lncurses... $ECHO_C" >&6; |
---|
| 2888 | else |
---|
| 2889 | echo $ECHO_N "checking for resizeterm in -lcurses... $ECHO_C" >&6; |
---|
| 2890 | fi } |
---|
| 2891 | if test "${ac_cv_lib_curses_resizeterm+set}" = set; then |
---|
| 2892 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 2893 | else |
---|
| 2894 | |
---|
| 2895 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 2896 | /* confdefs.h. */ |
---|
| 2897 | _ACEOF |
---|
| 2898 | cat confdefs.h >>conftest.$ac_ext |
---|
| 2899 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 2900 | /* end confdefs.h. */ |
---|
| 2901 | |
---|
| 2902 | /* Override any GCC internal prototype to avoid an error. |
---|
| 2903 | Use char because int might match the return type of a GCC |
---|
| 2904 | builtin and then its argument prototype would still apply. */ |
---|
| 2905 | #ifdef __cplusplus |
---|
| 2906 | extern "C" |
---|
| 2907 | #endif |
---|
| 2908 | char resizeterm (); |
---|
| 2909 | int |
---|
| 2910 | main () |
---|
| 2911 | { |
---|
| 2912 | return resizeterm (); |
---|
| 2913 | ; |
---|
| 2914 | return 0; |
---|
| 2915 | } |
---|
| 2916 | _ACEOF |
---|
| 2917 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
| 2918 | if { (ac_try="$ac_link" |
---|
| 2919 | case "(($ac_try" in |
---|
| 2920 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 2921 | *) ac_try_echo=$ac_try;; |
---|
| 2922 | esac |
---|
| 2923 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 2924 | (eval "$ac_link") 2>conftest.er1 |
---|
| 2925 | ac_status=$? |
---|
| 2926 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 2927 | rm -f conftest.er1 |
---|
| 2928 | cat conftest.err >&5 |
---|
| 2929 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2930 | (exit $ac_status); } && |
---|
| 2931 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
---|
| 2932 | { (case "(($ac_try" in |
---|
| 2933 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 2934 | *) ac_try_echo=$ac_try;; |
---|
| 2935 | esac |
---|
| 2936 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 2937 | (eval "$ac_try") 2>&5 |
---|
| 2938 | ac_status=$? |
---|
| 2939 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2940 | (exit $ac_status); }; } && |
---|
| 2941 | { ac_try='test -s conftest$ac_exeext' |
---|
| 2942 | { (case "(($ac_try" in |
---|
| 2943 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 2944 | *) ac_try_echo=$ac_try;; |
---|
| 2945 | esac |
---|
| 2946 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 2947 | (eval "$ac_try") 2>&5 |
---|
| 2948 | ac_status=$? |
---|
| 2949 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2950 | (exit $ac_status); }; }; then |
---|
| 2951 | ac_cv_lib_curses_resizeterm=yes |
---|
| 2952 | else |
---|
| 2953 | echo "$as_me: failed program was:" >&5 |
---|
| 2954 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 2955 | |
---|
| 2956 | ac_cv_lib_curses_resizeterm=no |
---|
| 2957 | fi |
---|
| 2958 | |
---|
| 2959 | rm -f core conftest.err conftest.$ac_objext \ |
---|
| 2960 | conftest$ac_exeext conftest.$ac_ext |
---|
| 2961 | |
---|
| 2962 | { echo "$as_me:$LINENO: result: $ac_cv_lib_curses_resizeterm" >&5 |
---|
| 2963 | echo "${ECHO_T}$ac_cv_lib_curses_resizeterm" >&6; } |
---|
| 2964 | |
---|
| 2965 | if test $ac_cv_lib_curses_resizeterm = yes; then |
---|
| 2966 | cat >>confdefs.h <<_ACEOF |
---|
| 2967 | #define HAVE_RESIZETERM 1 |
---|
| 2968 | _ACEOF |
---|
| 2969 | |
---|
| 2970 | fi |
---|
| 2971 | |
---|
| 2972 | fi |
---|
[8298425] | 2973 | |
---|
[4ad3480] | 2974 | { echo "$as_me:$LINENO: checking for com_err in -lcom_err" >&5 |
---|
| 2975 | echo $ECHO_N "checking for com_err in -lcom_err... $ECHO_C" >&6; } |
---|
[8298425] | 2976 | if test "${ac_cv_lib_com_err_com_err+set}" = set; then |
---|
| 2977 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
[7d4fbcd] | 2978 | else |
---|
[8298425] | 2979 | ac_check_lib_save_LIBS=$LIBS |
---|
[7d4fbcd] | 2980 | LIBS="-lcom_err $LIBS" |
---|
[8298425] | 2981 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 2982 | /* confdefs.h. */ |
---|
| 2983 | _ACEOF |
---|
| 2984 | cat confdefs.h >>conftest.$ac_ext |
---|
| 2985 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 2986 | /* end confdefs.h. */ |
---|
| 2987 | |
---|
[4ad3480] | 2988 | /* Override any GCC internal prototype to avoid an error. |
---|
| 2989 | Use char because int might match the return type of a GCC |
---|
| 2990 | builtin and then its argument prototype would still apply. */ |
---|
[8298425] | 2991 | #ifdef __cplusplus |
---|
| 2992 | extern "C" |
---|
| 2993 | #endif |
---|
| 2994 | char com_err (); |
---|
| 2995 | int |
---|
| 2996 | main () |
---|
| 2997 | { |
---|
[4ad3480] | 2998 | return com_err (); |
---|
[8298425] | 2999 | ; |
---|
| 3000 | return 0; |
---|
| 3001 | } |
---|
| 3002 | _ACEOF |
---|
| 3003 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
[4ad3480] | 3004 | if { (ac_try="$ac_link" |
---|
| 3005 | case "(($ac_try" in |
---|
| 3006 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3007 | *) ac_try_echo=$ac_try;; |
---|
| 3008 | esac |
---|
| 3009 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 3010 | (eval "$ac_link") 2>conftest.er1 |
---|
[8298425] | 3011 | ac_status=$? |
---|
| 3012 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 3013 | rm -f conftest.er1 |
---|
| 3014 | cat conftest.err >&5 |
---|
| 3015 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3016 | (exit $ac_status); } && |
---|
[4ad3480] | 3017 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
---|
| 3018 | { (case "(($ac_try" in |
---|
| 3019 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3020 | *) ac_try_echo=$ac_try;; |
---|
| 3021 | esac |
---|
| 3022 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 3023 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 3024 | ac_status=$? |
---|
| 3025 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3026 | (exit $ac_status); }; } && |
---|
| 3027 | { ac_try='test -s conftest$ac_exeext' |
---|
[4ad3480] | 3028 | { (case "(($ac_try" in |
---|
| 3029 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3030 | *) ac_try_echo=$ac_try;; |
---|
| 3031 | esac |
---|
| 3032 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 3033 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 3034 | ac_status=$? |
---|
| 3035 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3036 | (exit $ac_status); }; }; then |
---|
| 3037 | ac_cv_lib_com_err_com_err=yes |
---|
| 3038 | else |
---|
| 3039 | echo "$as_me: failed program was:" >&5 |
---|
| 3040 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
[7d4fbcd] | 3041 | |
---|
[4ad3480] | 3042 | ac_cv_lib_com_err_com_err=no |
---|
[8298425] | 3043 | fi |
---|
[4ad3480] | 3044 | |
---|
| 3045 | rm -f core conftest.err conftest.$ac_objext \ |
---|
[8298425] | 3046 | conftest$ac_exeext conftest.$ac_ext |
---|
| 3047 | LIBS=$ac_check_lib_save_LIBS |
---|
[7d4fbcd] | 3048 | fi |
---|
[4ad3480] | 3049 | { echo "$as_me:$LINENO: result: $ac_cv_lib_com_err_com_err" >&5 |
---|
| 3050 | echo "${ECHO_T}$ac_cv_lib_com_err_com_err" >&6; } |
---|
[8298425] | 3051 | if test $ac_cv_lib_com_err_com_err = yes; then |
---|
| 3052 | cat >>confdefs.h <<_ACEOF |
---|
| 3053 | #define HAVE_LIBCOM_ERR 1 |
---|
| 3054 | _ACEOF |
---|
[7d4fbcd] | 3055 | |
---|
| 3056 | LIBS="-lcom_err $LIBS" |
---|
| 3057 | |
---|
| 3058 | fi |
---|
| 3059 | |
---|
[8298425] | 3060 | |
---|
[4ad3480] | 3061 | { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5 |
---|
| 3062 | echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; } |
---|
[8298425] | 3063 | if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then |
---|
| 3064 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
[7d4fbcd] | 3065 | else |
---|
[8298425] | 3066 | ac_check_lib_save_LIBS=$LIBS |
---|
[7d4fbcd] | 3067 | LIBS="-lnsl $LIBS" |
---|
[8298425] | 3068 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 3069 | /* confdefs.h. */ |
---|
| 3070 | _ACEOF |
---|
| 3071 | cat confdefs.h >>conftest.$ac_ext |
---|
| 3072 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 3073 | /* end confdefs.h. */ |
---|
| 3074 | |
---|
[4ad3480] | 3075 | /* Override any GCC internal prototype to avoid an error. |
---|
| 3076 | Use char because int might match the return type of a GCC |
---|
| 3077 | builtin and then its argument prototype would still apply. */ |
---|
[8298425] | 3078 | #ifdef __cplusplus |
---|
| 3079 | extern "C" |
---|
| 3080 | #endif |
---|
| 3081 | char gethostbyname (); |
---|
| 3082 | int |
---|
| 3083 | main () |
---|
| 3084 | { |
---|
[4ad3480] | 3085 | return gethostbyname (); |
---|
[8298425] | 3086 | ; |
---|
| 3087 | return 0; |
---|
| 3088 | } |
---|
| 3089 | _ACEOF |
---|
| 3090 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
[4ad3480] | 3091 | if { (ac_try="$ac_link" |
---|
| 3092 | case "(($ac_try" in |
---|
| 3093 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3094 | *) ac_try_echo=$ac_try;; |
---|
| 3095 | esac |
---|
| 3096 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 3097 | (eval "$ac_link") 2>conftest.er1 |
---|
[8298425] | 3098 | ac_status=$? |
---|
| 3099 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 3100 | rm -f conftest.er1 |
---|
| 3101 | cat conftest.err >&5 |
---|
| 3102 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3103 | (exit $ac_status); } && |
---|
[4ad3480] | 3104 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
---|
| 3105 | { (case "(($ac_try" in |
---|
| 3106 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3107 | *) ac_try_echo=$ac_try;; |
---|
| 3108 | esac |
---|
| 3109 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 3110 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 3111 | ac_status=$? |
---|
| 3112 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3113 | (exit $ac_status); }; } && |
---|
| 3114 | { ac_try='test -s conftest$ac_exeext' |
---|
[4ad3480] | 3115 | { (case "(($ac_try" in |
---|
| 3116 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3117 | *) ac_try_echo=$ac_try;; |
---|
| 3118 | esac |
---|
| 3119 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 3120 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 3121 | ac_status=$? |
---|
| 3122 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3123 | (exit $ac_status); }; }; then |
---|
| 3124 | ac_cv_lib_nsl_gethostbyname=yes |
---|
| 3125 | else |
---|
| 3126 | echo "$as_me: failed program was:" >&5 |
---|
| 3127 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
[7d4fbcd] | 3128 | |
---|
[4ad3480] | 3129 | ac_cv_lib_nsl_gethostbyname=no |
---|
[7d4fbcd] | 3130 | fi |
---|
[4ad3480] | 3131 | |
---|
| 3132 | rm -f core conftest.err conftest.$ac_objext \ |
---|
[8298425] | 3133 | conftest$ac_exeext conftest.$ac_ext |
---|
| 3134 | LIBS=$ac_check_lib_save_LIBS |
---|
| 3135 | fi |
---|
[4ad3480] | 3136 | { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5 |
---|
| 3137 | echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; } |
---|
[8298425] | 3138 | if test $ac_cv_lib_nsl_gethostbyname = yes; then |
---|
| 3139 | cat >>confdefs.h <<_ACEOF |
---|
| 3140 | #define HAVE_LIBNSL 1 |
---|
| 3141 | _ACEOF |
---|
[7d4fbcd] | 3142 | |
---|
| 3143 | LIBS="-lnsl $LIBS" |
---|
| 3144 | |
---|
| 3145 | fi |
---|
| 3146 | |
---|
[8298425] | 3147 | |
---|
[4ad3480] | 3148 | { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5 |
---|
| 3149 | echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; } |
---|
[8298425] | 3150 | if test "${ac_cv_lib_socket_socket+set}" = set; then |
---|
| 3151 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
[7d4fbcd] | 3152 | else |
---|
[8298425] | 3153 | ac_check_lib_save_LIBS=$LIBS |
---|
[7d4fbcd] | 3154 | LIBS="-lsocket $LIBS" |
---|
[8298425] | 3155 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 3156 | /* confdefs.h. */ |
---|
| 3157 | _ACEOF |
---|
| 3158 | cat confdefs.h >>conftest.$ac_ext |
---|
| 3159 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 3160 | /* end confdefs.h. */ |
---|
| 3161 | |
---|
[4ad3480] | 3162 | /* Override any GCC internal prototype to avoid an error. |
---|
| 3163 | Use char because int might match the return type of a GCC |
---|
| 3164 | builtin and then its argument prototype would still apply. */ |
---|
[8298425] | 3165 | #ifdef __cplusplus |
---|
| 3166 | extern "C" |
---|
| 3167 | #endif |
---|
| 3168 | char socket (); |
---|
| 3169 | int |
---|
| 3170 | main () |
---|
| 3171 | { |
---|
[4ad3480] | 3172 | return socket (); |
---|
[8298425] | 3173 | ; |
---|
| 3174 | return 0; |
---|
| 3175 | } |
---|
| 3176 | _ACEOF |
---|
| 3177 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
[4ad3480] | 3178 | if { (ac_try="$ac_link" |
---|
| 3179 | case "(($ac_try" in |
---|
| 3180 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3181 | *) ac_try_echo=$ac_try;; |
---|
| 3182 | esac |
---|
| 3183 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 3184 | (eval "$ac_link") 2>conftest.er1 |
---|
[8298425] | 3185 | ac_status=$? |
---|
| 3186 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 3187 | rm -f conftest.er1 |
---|
| 3188 | cat conftest.err >&5 |
---|
| 3189 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3190 | (exit $ac_status); } && |
---|
[4ad3480] | 3191 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
---|
| 3192 | { (case "(($ac_try" in |
---|
| 3193 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3194 | *) ac_try_echo=$ac_try;; |
---|
| 3195 | esac |
---|
| 3196 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 3197 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 3198 | ac_status=$? |
---|
| 3199 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3200 | (exit $ac_status); }; } && |
---|
| 3201 | { ac_try='test -s conftest$ac_exeext' |
---|
[4ad3480] | 3202 | { (case "(($ac_try" in |
---|
| 3203 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3204 | *) ac_try_echo=$ac_try;; |
---|
| 3205 | esac |
---|
| 3206 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 3207 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 3208 | ac_status=$? |
---|
| 3209 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3210 | (exit $ac_status); }; }; then |
---|
| 3211 | ac_cv_lib_socket_socket=yes |
---|
| 3212 | else |
---|
| 3213 | echo "$as_me: failed program was:" >&5 |
---|
| 3214 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
[7d4fbcd] | 3215 | |
---|
[4ad3480] | 3216 | ac_cv_lib_socket_socket=no |
---|
[8298425] | 3217 | fi |
---|
[4ad3480] | 3218 | |
---|
| 3219 | rm -f core conftest.err conftest.$ac_objext \ |
---|
[8298425] | 3220 | conftest$ac_exeext conftest.$ac_ext |
---|
| 3221 | LIBS=$ac_check_lib_save_LIBS |
---|
[7d4fbcd] | 3222 | fi |
---|
[4ad3480] | 3223 | { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5 |
---|
| 3224 | echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; } |
---|
[8298425] | 3225 | if test $ac_cv_lib_socket_socket = yes; then |
---|
| 3226 | cat >>confdefs.h <<_ACEOF |
---|
| 3227 | #define HAVE_LIBSOCKET 1 |
---|
| 3228 | _ACEOF |
---|
[7d4fbcd] | 3229 | |
---|
| 3230 | LIBS="-lsocket $LIBS" |
---|
| 3231 | |
---|
| 3232 | fi |
---|
| 3233 | |
---|
[8298425] | 3234 | |
---|
[4ad3480] | 3235 | { echo "$as_me:$LINENO: checking for krb5_derive_key in -lk5crypto" >&5 |
---|
| 3236 | echo $ECHO_N "checking for krb5_derive_key in -lk5crypto... $ECHO_C" >&6; } |
---|
[8298425] | 3237 | if test "${ac_cv_lib_k5crypto_krb5_derive_key+set}" = set; then |
---|
| 3238 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
[7d4fbcd] | 3239 | else |
---|
[8298425] | 3240 | ac_check_lib_save_LIBS=$LIBS |
---|
[7d4fbcd] | 3241 | LIBS="-lk5crypto $LIBS" |
---|
[8298425] | 3242 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 3243 | /* confdefs.h. */ |
---|
| 3244 | _ACEOF |
---|
| 3245 | cat confdefs.h >>conftest.$ac_ext |
---|
| 3246 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 3247 | /* end confdefs.h. */ |
---|
| 3248 | |
---|
[4ad3480] | 3249 | /* Override any GCC internal prototype to avoid an error. |
---|
| 3250 | Use char because int might match the return type of a GCC |
---|
| 3251 | builtin and then its argument prototype would still apply. */ |
---|
[8298425] | 3252 | #ifdef __cplusplus |
---|
| 3253 | extern "C" |
---|
| 3254 | #endif |
---|
| 3255 | char krb5_derive_key (); |
---|
| 3256 | int |
---|
| 3257 | main () |
---|
| 3258 | { |
---|
[4ad3480] | 3259 | return krb5_derive_key (); |
---|
[8298425] | 3260 | ; |
---|
| 3261 | return 0; |
---|
| 3262 | } |
---|
| 3263 | _ACEOF |
---|
| 3264 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
[4ad3480] | 3265 | if { (ac_try="$ac_link" |
---|
| 3266 | case "(($ac_try" in |
---|
| 3267 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3268 | *) ac_try_echo=$ac_try;; |
---|
| 3269 | esac |
---|
| 3270 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 3271 | (eval "$ac_link") 2>conftest.er1 |
---|
[8298425] | 3272 | ac_status=$? |
---|
| 3273 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 3274 | rm -f conftest.er1 |
---|
| 3275 | cat conftest.err >&5 |
---|
| 3276 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3277 | (exit $ac_status); } && |
---|
[4ad3480] | 3278 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
---|
| 3279 | { (case "(($ac_try" in |
---|
| 3280 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3281 | *) ac_try_echo=$ac_try;; |
---|
| 3282 | esac |
---|
| 3283 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 3284 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 3285 | ac_status=$? |
---|
| 3286 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3287 | (exit $ac_status); }; } && |
---|
| 3288 | { ac_try='test -s conftest$ac_exeext' |
---|
[4ad3480] | 3289 | { (case "(($ac_try" in |
---|
| 3290 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3291 | *) ac_try_echo=$ac_try;; |
---|
| 3292 | esac |
---|
| 3293 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 3294 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 3295 | ac_status=$? |
---|
| 3296 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3297 | (exit $ac_status); }; }; then |
---|
| 3298 | ac_cv_lib_k5crypto_krb5_derive_key=yes |
---|
| 3299 | else |
---|
| 3300 | echo "$as_me: failed program was:" >&5 |
---|
| 3301 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
[7d4fbcd] | 3302 | |
---|
[4ad3480] | 3303 | ac_cv_lib_k5crypto_krb5_derive_key=no |
---|
[8298425] | 3304 | fi |
---|
[4ad3480] | 3305 | |
---|
| 3306 | rm -f core conftest.err conftest.$ac_objext \ |
---|
[8298425] | 3307 | conftest$ac_exeext conftest.$ac_ext |
---|
| 3308 | LIBS=$ac_check_lib_save_LIBS |
---|
[7d4fbcd] | 3309 | fi |
---|
[4ad3480] | 3310 | { echo "$as_me:$LINENO: result: $ac_cv_lib_k5crypto_krb5_derive_key" >&5 |
---|
| 3311 | echo "${ECHO_T}$ac_cv_lib_k5crypto_krb5_derive_key" >&6; } |
---|
[8298425] | 3312 | if test $ac_cv_lib_k5crypto_krb5_derive_key = yes; then |
---|
| 3313 | cat >>confdefs.h <<_ACEOF |
---|
| 3314 | #define HAVE_LIBK5CRYPTO 1 |
---|
| 3315 | _ACEOF |
---|
[7d4fbcd] | 3316 | |
---|
| 3317 | LIBS="-lk5crypto $LIBS" |
---|
| 3318 | |
---|
| 3319 | fi |
---|
| 3320 | |
---|
[8298425] | 3321 | |
---|
[4ad3480] | 3322 | { echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes425" >&5 |
---|
| 3323 | echo $ECHO_N "checking for des_cbc_encrypt in -ldes425... $ECHO_C" >&6; } |
---|
[8298425] | 3324 | if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then |
---|
| 3325 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
[7d4fbcd] | 3326 | else |
---|
[8298425] | 3327 | ac_check_lib_save_LIBS=$LIBS |
---|
[7d4fbcd] | 3328 | LIBS="-ldes425 $LIBS" |
---|
[8298425] | 3329 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 3330 | /* confdefs.h. */ |
---|
| 3331 | _ACEOF |
---|
| 3332 | cat confdefs.h >>conftest.$ac_ext |
---|
| 3333 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 3334 | /* end confdefs.h. */ |
---|
| 3335 | |
---|
[4ad3480] | 3336 | /* Override any GCC internal prototype to avoid an error. |
---|
| 3337 | Use char because int might match the return type of a GCC |
---|
| 3338 | builtin and then its argument prototype would still apply. */ |
---|
[8298425] | 3339 | #ifdef __cplusplus |
---|
| 3340 | extern "C" |
---|
| 3341 | #endif |
---|
| 3342 | char des_cbc_encrypt (); |
---|
| 3343 | int |
---|
| 3344 | main () |
---|
| 3345 | { |
---|
[4ad3480] | 3346 | return des_cbc_encrypt (); |
---|
[8298425] | 3347 | ; |
---|
| 3348 | return 0; |
---|
| 3349 | } |
---|
| 3350 | _ACEOF |
---|
| 3351 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
[4ad3480] | 3352 | if { (ac_try="$ac_link" |
---|
| 3353 | case "(($ac_try" in |
---|
| 3354 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3355 | *) ac_try_echo=$ac_try;; |
---|
| 3356 | esac |
---|
| 3357 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 3358 | (eval "$ac_link") 2>conftest.er1 |
---|
[8298425] | 3359 | ac_status=$? |
---|
| 3360 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 3361 | rm -f conftest.er1 |
---|
| 3362 | cat conftest.err >&5 |
---|
| 3363 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3364 | (exit $ac_status); } && |
---|
[4ad3480] | 3365 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
---|
| 3366 | { (case "(($ac_try" in |
---|
| 3367 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3368 | *) ac_try_echo=$ac_try;; |
---|
| 3369 | esac |
---|
| 3370 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 3371 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 3372 | ac_status=$? |
---|
| 3373 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3374 | (exit $ac_status); }; } && |
---|
| 3375 | { ac_try='test -s conftest$ac_exeext' |
---|
[4ad3480] | 3376 | { (case "(($ac_try" in |
---|
| 3377 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3378 | *) ac_try_echo=$ac_try;; |
---|
| 3379 | esac |
---|
| 3380 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 3381 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 3382 | ac_status=$? |
---|
| 3383 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3384 | (exit $ac_status); }; }; then |
---|
| 3385 | ac_cv_lib_des425_des_cbc_encrypt=yes |
---|
| 3386 | else |
---|
| 3387 | echo "$as_me: failed program was:" >&5 |
---|
| 3388 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
[7d4fbcd] | 3389 | |
---|
[4ad3480] | 3390 | ac_cv_lib_des425_des_cbc_encrypt=no |
---|
[8298425] | 3391 | fi |
---|
[4ad3480] | 3392 | |
---|
| 3393 | rm -f core conftest.err conftest.$ac_objext \ |
---|
[8298425] | 3394 | conftest$ac_exeext conftest.$ac_ext |
---|
| 3395 | LIBS=$ac_check_lib_save_LIBS |
---|
[7d4fbcd] | 3396 | fi |
---|
[4ad3480] | 3397 | { echo "$as_me:$LINENO: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5 |
---|
| 3398 | echo "${ECHO_T}$ac_cv_lib_des425_des_cbc_encrypt" >&6; } |
---|
[8298425] | 3399 | if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then |
---|
| 3400 | cat >>confdefs.h <<_ACEOF |
---|
| 3401 | #define HAVE_LIBDES425 1 |
---|
| 3402 | _ACEOF |
---|
[7d4fbcd] | 3403 | |
---|
| 3404 | LIBS="-ldes425 $LIBS" |
---|
| 3405 | |
---|
| 3406 | fi |
---|
| 3407 | |
---|
[8298425] | 3408 | |
---|
[4ad3480] | 3409 | { echo "$as_me:$LINENO: checking for res_search in -lresolv" >&5 |
---|
| 3410 | echo $ECHO_N "checking for res_search in -lresolv... $ECHO_C" >&6; } |
---|
[8298425] | 3411 | if test "${ac_cv_lib_resolv_res_search+set}" = set; then |
---|
| 3412 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
[d09e5a1] | 3413 | else |
---|
[8298425] | 3414 | ac_check_lib_save_LIBS=$LIBS |
---|
[d09e5a1] | 3415 | LIBS="-lresolv $LIBS" |
---|
[8298425] | 3416 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 3417 | /* confdefs.h. */ |
---|
| 3418 | _ACEOF |
---|
| 3419 | cat confdefs.h >>conftest.$ac_ext |
---|
| 3420 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 3421 | /* end confdefs.h. */ |
---|
| 3422 | |
---|
[4ad3480] | 3423 | /* Override any GCC internal prototype to avoid an error. |
---|
| 3424 | Use char because int might match the return type of a GCC |
---|
| 3425 | builtin and then its argument prototype would still apply. */ |
---|
[8298425] | 3426 | #ifdef __cplusplus |
---|
| 3427 | extern "C" |
---|
| 3428 | #endif |
---|
| 3429 | char res_search (); |
---|
| 3430 | int |
---|
| 3431 | main () |
---|
| 3432 | { |
---|
[4ad3480] | 3433 | return res_search (); |
---|
[8298425] | 3434 | ; |
---|
| 3435 | return 0; |
---|
| 3436 | } |
---|
| 3437 | _ACEOF |
---|
| 3438 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
[4ad3480] | 3439 | if { (ac_try="$ac_link" |
---|
| 3440 | case "(($ac_try" in |
---|
| 3441 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3442 | *) ac_try_echo=$ac_try;; |
---|
| 3443 | esac |
---|
| 3444 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 3445 | (eval "$ac_link") 2>conftest.er1 |
---|
[8298425] | 3446 | ac_status=$? |
---|
| 3447 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 3448 | rm -f conftest.er1 |
---|
| 3449 | cat conftest.err >&5 |
---|
| 3450 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3451 | (exit $ac_status); } && |
---|
[4ad3480] | 3452 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
---|
| 3453 | { (case "(($ac_try" in |
---|
| 3454 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3455 | *) ac_try_echo=$ac_try;; |
---|
| 3456 | esac |
---|
| 3457 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 3458 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 3459 | ac_status=$? |
---|
| 3460 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3461 | (exit $ac_status); }; } && |
---|
| 3462 | { ac_try='test -s conftest$ac_exeext' |
---|
[4ad3480] | 3463 | { (case "(($ac_try" in |
---|
| 3464 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3465 | *) ac_try_echo=$ac_try;; |
---|
| 3466 | esac |
---|
| 3467 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 3468 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 3469 | ac_status=$? |
---|
| 3470 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3471 | (exit $ac_status); }; }; then |
---|
| 3472 | ac_cv_lib_resolv_res_search=yes |
---|
| 3473 | else |
---|
| 3474 | echo "$as_me: failed program was:" >&5 |
---|
| 3475 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
[d09e5a1] | 3476 | |
---|
[4ad3480] | 3477 | ac_cv_lib_resolv_res_search=no |
---|
[8298425] | 3478 | fi |
---|
[4ad3480] | 3479 | |
---|
| 3480 | rm -f core conftest.err conftest.$ac_objext \ |
---|
[8298425] | 3481 | conftest$ac_exeext conftest.$ac_ext |
---|
| 3482 | LIBS=$ac_check_lib_save_LIBS |
---|
[d09e5a1] | 3483 | fi |
---|
[4ad3480] | 3484 | { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_search" >&5 |
---|
| 3485 | echo "${ECHO_T}$ac_cv_lib_resolv_res_search" >&6; } |
---|
[8298425] | 3486 | if test $ac_cv_lib_resolv_res_search = yes; then |
---|
| 3487 | cat >>confdefs.h <<_ACEOF |
---|
| 3488 | #define HAVE_LIBRESOLV 1 |
---|
| 3489 | _ACEOF |
---|
[d09e5a1] | 3490 | |
---|
| 3491 | LIBS="-lresolv $LIBS" |
---|
| 3492 | |
---|
| 3493 | fi |
---|
| 3494 | |
---|
[8298425] | 3495 | |
---|
[4ad3480] | 3496 | { echo "$as_me:$LINENO: checking for krb5_get_credentials in -lkrb5" >&5 |
---|
| 3497 | echo $ECHO_N "checking for krb5_get_credentials in -lkrb5... $ECHO_C" >&6; } |
---|
[8298425] | 3498 | if test "${ac_cv_lib_krb5_krb5_get_credentials+set}" = set; then |
---|
| 3499 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
[7d4fbcd] | 3500 | else |
---|
[8298425] | 3501 | ac_check_lib_save_LIBS=$LIBS |
---|
[7d4fbcd] | 3502 | LIBS="-lkrb5 $LIBS" |
---|
[8298425] | 3503 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 3504 | /* confdefs.h. */ |
---|
| 3505 | _ACEOF |
---|
| 3506 | cat confdefs.h >>conftest.$ac_ext |
---|
| 3507 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 3508 | /* end confdefs.h. */ |
---|
| 3509 | |
---|
[4ad3480] | 3510 | /* Override any GCC internal prototype to avoid an error. |
---|
| 3511 | Use char because int might match the return type of a GCC |
---|
| 3512 | builtin and then its argument prototype would still apply. */ |
---|
[8298425] | 3513 | #ifdef __cplusplus |
---|
| 3514 | extern "C" |
---|
| 3515 | #endif |
---|
| 3516 | char krb5_get_credentials (); |
---|
| 3517 | int |
---|
| 3518 | main () |
---|
| 3519 | { |
---|
[4ad3480] | 3520 | return krb5_get_credentials (); |
---|
[8298425] | 3521 | ; |
---|
| 3522 | return 0; |
---|
| 3523 | } |
---|
| 3524 | _ACEOF |
---|
| 3525 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
[4ad3480] | 3526 | if { (ac_try="$ac_link" |
---|
| 3527 | case "(($ac_try" in |
---|
| 3528 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3529 | *) ac_try_echo=$ac_try;; |
---|
| 3530 | esac |
---|
| 3531 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 3532 | (eval "$ac_link") 2>conftest.er1 |
---|
[8298425] | 3533 | ac_status=$? |
---|
| 3534 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 3535 | rm -f conftest.er1 |
---|
| 3536 | cat conftest.err >&5 |
---|
| 3537 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3538 | (exit $ac_status); } && |
---|
[4ad3480] | 3539 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
---|
| 3540 | { (case "(($ac_try" in |
---|
| 3541 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3542 | *) ac_try_echo=$ac_try;; |
---|
| 3543 | esac |
---|
| 3544 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 3545 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 3546 | ac_status=$? |
---|
| 3547 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3548 | (exit $ac_status); }; } && |
---|
| 3549 | { ac_try='test -s conftest$ac_exeext' |
---|
[4ad3480] | 3550 | { (case "(($ac_try" in |
---|
| 3551 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3552 | *) ac_try_echo=$ac_try;; |
---|
| 3553 | esac |
---|
| 3554 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 3555 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 3556 | ac_status=$? |
---|
| 3557 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3558 | (exit $ac_status); }; }; then |
---|
| 3559 | ac_cv_lib_krb5_krb5_get_credentials=yes |
---|
| 3560 | else |
---|
| 3561 | echo "$as_me: failed program was:" >&5 |
---|
| 3562 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
[7d4fbcd] | 3563 | |
---|
[4ad3480] | 3564 | ac_cv_lib_krb5_krb5_get_credentials=no |
---|
[8298425] | 3565 | fi |
---|
[4ad3480] | 3566 | |
---|
| 3567 | rm -f core conftest.err conftest.$ac_objext \ |
---|
[8298425] | 3568 | conftest$ac_exeext conftest.$ac_ext |
---|
| 3569 | LIBS=$ac_check_lib_save_LIBS |
---|
[7d4fbcd] | 3570 | fi |
---|
[4ad3480] | 3571 | { echo "$as_me:$LINENO: result: $ac_cv_lib_krb5_krb5_get_credentials" >&5 |
---|
| 3572 | echo "${ECHO_T}$ac_cv_lib_krb5_krb5_get_credentials" >&6; } |
---|
[8298425] | 3573 | if test $ac_cv_lib_krb5_krb5_get_credentials = yes; then |
---|
| 3574 | cat >>confdefs.h <<_ACEOF |
---|
| 3575 | #define HAVE_LIBKRB5 1 |
---|
| 3576 | _ACEOF |
---|
[7d4fbcd] | 3577 | |
---|
| 3578 | LIBS="-lkrb5 $LIBS" |
---|
| 3579 | |
---|
| 3580 | fi |
---|
| 3581 | |
---|
[8298425] | 3582 | |
---|
[4ad3480] | 3583 | { echo "$as_me:$LINENO: checking for krb_sendauth in -lkrb4" >&5 |
---|
| 3584 | echo $ECHO_N "checking for krb_sendauth in -lkrb4... $ECHO_C" >&6; } |
---|
[8298425] | 3585 | if test "${ac_cv_lib_krb4_krb_sendauth+set}" = set; then |
---|
| 3586 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
[7d4fbcd] | 3587 | else |
---|
[8298425] | 3588 | ac_check_lib_save_LIBS=$LIBS |
---|
[7d4fbcd] | 3589 | LIBS="-lkrb4 $LIBS" |
---|
[8298425] | 3590 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 3591 | /* confdefs.h. */ |
---|
| 3592 | _ACEOF |
---|
| 3593 | cat confdefs.h >>conftest.$ac_ext |
---|
| 3594 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 3595 | /* end confdefs.h. */ |
---|
| 3596 | |
---|
[4ad3480] | 3597 | /* Override any GCC internal prototype to avoid an error. |
---|
| 3598 | Use char because int might match the return type of a GCC |
---|
| 3599 | builtin and then its argument prototype would still apply. */ |
---|
[8298425] | 3600 | #ifdef __cplusplus |
---|
| 3601 | extern "C" |
---|
| 3602 | #endif |
---|
| 3603 | char krb_sendauth (); |
---|
| 3604 | int |
---|
| 3605 | main () |
---|
| 3606 | { |
---|
[4ad3480] | 3607 | return krb_sendauth (); |
---|
[8298425] | 3608 | ; |
---|
| 3609 | return 0; |
---|
| 3610 | } |
---|
| 3611 | _ACEOF |
---|
| 3612 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
[4ad3480] | 3613 | if { (ac_try="$ac_link" |
---|
| 3614 | case "(($ac_try" in |
---|
| 3615 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3616 | *) ac_try_echo=$ac_try;; |
---|
| 3617 | esac |
---|
| 3618 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 3619 | (eval "$ac_link") 2>conftest.er1 |
---|
[8298425] | 3620 | ac_status=$? |
---|
| 3621 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 3622 | rm -f conftest.er1 |
---|
| 3623 | cat conftest.err >&5 |
---|
| 3624 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3625 | (exit $ac_status); } && |
---|
[4ad3480] | 3626 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
---|
| 3627 | { (case "(($ac_try" in |
---|
| 3628 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3629 | *) ac_try_echo=$ac_try;; |
---|
| 3630 | esac |
---|
| 3631 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 3632 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 3633 | ac_status=$? |
---|
| 3634 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3635 | (exit $ac_status); }; } && |
---|
| 3636 | { ac_try='test -s conftest$ac_exeext' |
---|
[4ad3480] | 3637 | { (case "(($ac_try" in |
---|
| 3638 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3639 | *) ac_try_echo=$ac_try;; |
---|
| 3640 | esac |
---|
| 3641 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 3642 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 3643 | ac_status=$? |
---|
| 3644 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3645 | (exit $ac_status); }; }; then |
---|
| 3646 | ac_cv_lib_krb4_krb_sendauth=yes |
---|
| 3647 | else |
---|
| 3648 | echo "$as_me: failed program was:" >&5 |
---|
| 3649 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
[7d4fbcd] | 3650 | |
---|
[4ad3480] | 3651 | ac_cv_lib_krb4_krb_sendauth=no |
---|
[8298425] | 3652 | fi |
---|
[4ad3480] | 3653 | |
---|
| 3654 | rm -f core conftest.err conftest.$ac_objext \ |
---|
[8298425] | 3655 | conftest$ac_exeext conftest.$ac_ext |
---|
| 3656 | LIBS=$ac_check_lib_save_LIBS |
---|
[7d4fbcd] | 3657 | fi |
---|
[4ad3480] | 3658 | { echo "$as_me:$LINENO: result: $ac_cv_lib_krb4_krb_sendauth" >&5 |
---|
| 3659 | echo "${ECHO_T}$ac_cv_lib_krb4_krb_sendauth" >&6; } |
---|
[8298425] | 3660 | if test $ac_cv_lib_krb4_krb_sendauth = yes; then |
---|
| 3661 | cat >>confdefs.h <<_ACEOF |
---|
| 3662 | #define HAVE_LIBKRB4 1 |
---|
| 3663 | _ACEOF |
---|
[7d4fbcd] | 3664 | |
---|
| 3665 | LIBS="-lkrb4 $LIBS" |
---|
| 3666 | |
---|
| 3667 | else |
---|
[8298425] | 3668 | |
---|
[4ad3480] | 3669 | { echo "$as_me:$LINENO: checking for krb_sendauth in -lkrb" >&5 |
---|
| 3670 | echo $ECHO_N "checking for krb_sendauth in -lkrb... $ECHO_C" >&6; } |
---|
[8298425] | 3671 | if test "${ac_cv_lib_krb_krb_sendauth+set}" = set; then |
---|
| 3672 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
[69894d2] | 3673 | else |
---|
[8298425] | 3674 | ac_check_lib_save_LIBS=$LIBS |
---|
[69894d2] | 3675 | LIBS="-lkrb $LIBS" |
---|
[8298425] | 3676 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 3677 | /* confdefs.h. */ |
---|
| 3678 | _ACEOF |
---|
| 3679 | cat confdefs.h >>conftest.$ac_ext |
---|
| 3680 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 3681 | /* end confdefs.h. */ |
---|
| 3682 | |
---|
[4ad3480] | 3683 | /* Override any GCC internal prototype to avoid an error. |
---|
| 3684 | Use char because int might match the return type of a GCC |
---|
| 3685 | builtin and then its argument prototype would still apply. */ |
---|
[8298425] | 3686 | #ifdef __cplusplus |
---|
| 3687 | extern "C" |
---|
| 3688 | #endif |
---|
| 3689 | char krb_sendauth (); |
---|
| 3690 | int |
---|
| 3691 | main () |
---|
| 3692 | { |
---|
[4ad3480] | 3693 | return krb_sendauth (); |
---|
[8298425] | 3694 | ; |
---|
| 3695 | return 0; |
---|
| 3696 | } |
---|
| 3697 | _ACEOF |
---|
| 3698 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
[4ad3480] | 3699 | if { (ac_try="$ac_link" |
---|
| 3700 | case "(($ac_try" in |
---|
| 3701 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3702 | *) ac_try_echo=$ac_try;; |
---|
| 3703 | esac |
---|
| 3704 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 3705 | (eval "$ac_link") 2>conftest.er1 |
---|
[8298425] | 3706 | ac_status=$? |
---|
| 3707 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 3708 | rm -f conftest.er1 |
---|
| 3709 | cat conftest.err >&5 |
---|
| 3710 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3711 | (exit $ac_status); } && |
---|
[4ad3480] | 3712 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
---|
| 3713 | { (case "(($ac_try" in |
---|
| 3714 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3715 | *) ac_try_echo=$ac_try;; |
---|
| 3716 | esac |
---|
| 3717 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 3718 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 3719 | ac_status=$? |
---|
| 3720 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3721 | (exit $ac_status); }; } && |
---|
| 3722 | { ac_try='test -s conftest$ac_exeext' |
---|
[4ad3480] | 3723 | { (case "(($ac_try" in |
---|
| 3724 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3725 | *) ac_try_echo=$ac_try;; |
---|
| 3726 | esac |
---|
| 3727 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 3728 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 3729 | ac_status=$? |
---|
| 3730 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3731 | (exit $ac_status); }; }; then |
---|
| 3732 | ac_cv_lib_krb_krb_sendauth=yes |
---|
| 3733 | else |
---|
| 3734 | echo "$as_me: failed program was:" >&5 |
---|
| 3735 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
[69894d2] | 3736 | |
---|
[4ad3480] | 3737 | ac_cv_lib_krb_krb_sendauth=no |
---|
[8298425] | 3738 | fi |
---|
[4ad3480] | 3739 | |
---|
| 3740 | rm -f core conftest.err conftest.$ac_objext \ |
---|
[8298425] | 3741 | conftest$ac_exeext conftest.$ac_ext |
---|
| 3742 | LIBS=$ac_check_lib_save_LIBS |
---|
[69894d2] | 3743 | fi |
---|
[4ad3480] | 3744 | { echo "$as_me:$LINENO: result: $ac_cv_lib_krb_krb_sendauth" >&5 |
---|
| 3745 | echo "${ECHO_T}$ac_cv_lib_krb_krb_sendauth" >&6; } |
---|
[8298425] | 3746 | if test $ac_cv_lib_krb_krb_sendauth = yes; then |
---|
| 3747 | cat >>confdefs.h <<_ACEOF |
---|
| 3748 | #define HAVE_LIBKRB 1 |
---|
| 3749 | _ACEOF |
---|
[69894d2] | 3750 | |
---|
| 3751 | LIBS="-lkrb $LIBS" |
---|
| 3752 | |
---|
| 3753 | fi |
---|
| 3754 | |
---|
[d09e5a1] | 3755 | fi |
---|
| 3756 | |
---|
[8298425] | 3757 | |
---|
[4ad3480] | 3758 | { echo "$as_me:$LINENO: checking for ZGetSender in -lzephyr" >&5 |
---|
| 3759 | echo $ECHO_N "checking for ZGetSender in -lzephyr... $ECHO_C" >&6; } |
---|
[8298425] | 3760 | if test "${ac_cv_lib_zephyr_ZGetSender+set}" = set; then |
---|
| 3761 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
[7d4fbcd] | 3762 | else |
---|
[8298425] | 3763 | ac_check_lib_save_LIBS=$LIBS |
---|
[7d4fbcd] | 3764 | LIBS="-lzephyr $LIBS" |
---|
[8298425] | 3765 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 3766 | /* confdefs.h. */ |
---|
| 3767 | _ACEOF |
---|
| 3768 | cat confdefs.h >>conftest.$ac_ext |
---|
| 3769 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 3770 | /* end confdefs.h. */ |
---|
| 3771 | |
---|
[4ad3480] | 3772 | /* Override any GCC internal prototype to avoid an error. |
---|
| 3773 | Use char because int might match the return type of a GCC |
---|
| 3774 | builtin and then its argument prototype would still apply. */ |
---|
[8298425] | 3775 | #ifdef __cplusplus |
---|
| 3776 | extern "C" |
---|
| 3777 | #endif |
---|
| 3778 | char ZGetSender (); |
---|
| 3779 | int |
---|
| 3780 | main () |
---|
| 3781 | { |
---|
[4ad3480] | 3782 | return ZGetSender (); |
---|
[8298425] | 3783 | ; |
---|
| 3784 | return 0; |
---|
| 3785 | } |
---|
| 3786 | _ACEOF |
---|
| 3787 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
[4ad3480] | 3788 | if { (ac_try="$ac_link" |
---|
| 3789 | case "(($ac_try" in |
---|
| 3790 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3791 | *) ac_try_echo=$ac_try;; |
---|
| 3792 | esac |
---|
| 3793 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 3794 | (eval "$ac_link") 2>conftest.er1 |
---|
[8298425] | 3795 | ac_status=$? |
---|
| 3796 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 3797 | rm -f conftest.er1 |
---|
| 3798 | cat conftest.err >&5 |
---|
| 3799 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3800 | (exit $ac_status); } && |
---|
[4ad3480] | 3801 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
---|
| 3802 | { (case "(($ac_try" in |
---|
| 3803 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3804 | *) ac_try_echo=$ac_try;; |
---|
| 3805 | esac |
---|
| 3806 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 3807 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 3808 | ac_status=$? |
---|
| 3809 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3810 | (exit $ac_status); }; } && |
---|
| 3811 | { ac_try='test -s conftest$ac_exeext' |
---|
[4ad3480] | 3812 | { (case "(($ac_try" in |
---|
| 3813 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3814 | *) ac_try_echo=$ac_try;; |
---|
| 3815 | esac |
---|
| 3816 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 3817 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 3818 | ac_status=$? |
---|
| 3819 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3820 | (exit $ac_status); }; }; then |
---|
| 3821 | ac_cv_lib_zephyr_ZGetSender=yes |
---|
| 3822 | else |
---|
| 3823 | echo "$as_me: failed program was:" >&5 |
---|
| 3824 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
[7d4fbcd] | 3825 | |
---|
[4ad3480] | 3826 | ac_cv_lib_zephyr_ZGetSender=no |
---|
[8298425] | 3827 | fi |
---|
[4ad3480] | 3828 | |
---|
| 3829 | rm -f core conftest.err conftest.$ac_objext \ |
---|
[8298425] | 3830 | conftest$ac_exeext conftest.$ac_ext |
---|
| 3831 | LIBS=$ac_check_lib_save_LIBS |
---|
[7d4fbcd] | 3832 | fi |
---|
[4ad3480] | 3833 | { echo "$as_me:$LINENO: result: $ac_cv_lib_zephyr_ZGetSender" >&5 |
---|
| 3834 | echo "${ECHO_T}$ac_cv_lib_zephyr_ZGetSender" >&6; } |
---|
[8298425] | 3835 | if test $ac_cv_lib_zephyr_ZGetSender = yes; then |
---|
| 3836 | cat >>confdefs.h <<_ACEOF |
---|
| 3837 | #define HAVE_LIBZEPHYR 1 |
---|
| 3838 | _ACEOF |
---|
[7d4fbcd] | 3839 | |
---|
| 3840 | LIBS="-lzephyr $LIBS" |
---|
| 3841 | |
---|
| 3842 | fi |
---|
| 3843 | |
---|
[4ad3480] | 3844 | { echo "$as_me:$LINENO: checking for ZInitLocationInfo in -lzephyr" >&5 |
---|
| 3845 | echo $ECHO_N "checking for ZInitLocationInfo in -lzephyr... $ECHO_C" >&6; } |
---|
[8298425] | 3846 | if test "${ac_cv_lib_zephyr_ZInitLocationInfo+set}" = set; then |
---|
| 3847 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
[7d4fbcd] | 3848 | else |
---|
[8298425] | 3849 | ac_check_lib_save_LIBS=$LIBS |
---|
[7d4fbcd] | 3850 | LIBS="-lzephyr $LIBS" |
---|
[8298425] | 3851 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 3852 | /* confdefs.h. */ |
---|
| 3853 | _ACEOF |
---|
| 3854 | cat confdefs.h >>conftest.$ac_ext |
---|
| 3855 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 3856 | /* end confdefs.h. */ |
---|
| 3857 | |
---|
[4ad3480] | 3858 | /* Override any GCC internal prototype to avoid an error. |
---|
| 3859 | Use char because int might match the return type of a GCC |
---|
| 3860 | builtin and then its argument prototype would still apply. */ |
---|
[8298425] | 3861 | #ifdef __cplusplus |
---|
| 3862 | extern "C" |
---|
| 3863 | #endif |
---|
| 3864 | char ZInitLocationInfo (); |
---|
| 3865 | int |
---|
| 3866 | main () |
---|
| 3867 | { |
---|
[4ad3480] | 3868 | return ZInitLocationInfo (); |
---|
[8298425] | 3869 | ; |
---|
| 3870 | return 0; |
---|
| 3871 | } |
---|
| 3872 | _ACEOF |
---|
| 3873 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
[4ad3480] | 3874 | if { (ac_try="$ac_link" |
---|
| 3875 | case "(($ac_try" in |
---|
| 3876 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3877 | *) ac_try_echo=$ac_try;; |
---|
| 3878 | esac |
---|
| 3879 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 3880 | (eval "$ac_link") 2>conftest.er1 |
---|
[8298425] | 3881 | ac_status=$? |
---|
| 3882 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 3883 | rm -f conftest.er1 |
---|
| 3884 | cat conftest.err >&5 |
---|
| 3885 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3886 | (exit $ac_status); } && |
---|
[4ad3480] | 3887 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
---|
| 3888 | { (case "(($ac_try" in |
---|
| 3889 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3890 | *) ac_try_echo=$ac_try;; |
---|
| 3891 | esac |
---|
| 3892 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 3893 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 3894 | ac_status=$? |
---|
| 3895 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3896 | (exit $ac_status); }; } && |
---|
| 3897 | { ac_try='test -s conftest$ac_exeext' |
---|
[4ad3480] | 3898 | { (case "(($ac_try" in |
---|
| 3899 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3900 | *) ac_try_echo=$ac_try;; |
---|
| 3901 | esac |
---|
| 3902 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 3903 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 3904 | ac_status=$? |
---|
| 3905 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3906 | (exit $ac_status); }; }; then |
---|
| 3907 | ac_cv_lib_zephyr_ZInitLocationInfo=yes |
---|
| 3908 | else |
---|
| 3909 | echo "$as_me: failed program was:" >&5 |
---|
| 3910 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
[7d4fbcd] | 3911 | |
---|
[4ad3480] | 3912 | ac_cv_lib_zephyr_ZInitLocationInfo=no |
---|
[7d4fbcd] | 3913 | fi |
---|
[4ad3480] | 3914 | |
---|
| 3915 | rm -f core conftest.err conftest.$ac_objext \ |
---|
[8298425] | 3916 | conftest$ac_exeext conftest.$ac_ext |
---|
| 3917 | LIBS=$ac_check_lib_save_LIBS |
---|
| 3918 | fi |
---|
[4ad3480] | 3919 | { echo "$as_me:$LINENO: result: $ac_cv_lib_zephyr_ZInitLocationInfo" >&5 |
---|
| 3920 | echo "${ECHO_T}$ac_cv_lib_zephyr_ZInitLocationInfo" >&6; } |
---|
[8298425] | 3921 | if test $ac_cv_lib_zephyr_ZInitLocationInfo = yes; then |
---|
| 3922 | |
---|
| 3923 | cat >>confdefs.h <<\_ACEOF |
---|
| 3924 | #define HAVE_LIBZEPHYR_ZINITLOCATIONINFO |
---|
| 3925 | _ACEOF |
---|
[7d4fbcd] | 3926 | |
---|
| 3927 | fi |
---|
| 3928 | |
---|
| 3929 | |
---|
[8298425] | 3930 | |
---|
| 3931 | |
---|
| 3932 | |
---|
| 3933 | |
---|
[c269e22] | 3934 | for ac_func in use_default_colors des_string_to_key des_key_sched des_ecb_encrypt |
---|
[e51b410] | 3935 | do |
---|
[8298425] | 3936 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
---|
[4ad3480] | 3937 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
---|
| 3938 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
---|
| 3939 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
---|
[8298425] | 3940 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 3941 | else |
---|
| 3942 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 3943 | /* confdefs.h. */ |
---|
| 3944 | _ACEOF |
---|
| 3945 | cat confdefs.h >>conftest.$ac_ext |
---|
| 3946 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 3947 | /* end confdefs.h. */ |
---|
| 3948 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
---|
| 3949 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
---|
| 3950 | #define $ac_func innocuous_$ac_func |
---|
| 3951 | |
---|
[e51b410] | 3952 | /* System header to define __stub macros and hopefully few prototypes, |
---|
[8298425] | 3953 | which can conflict with char $ac_func (); below. |
---|
| 3954 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
---|
| 3955 | <limits.h> exists even on freestanding compilers. */ |
---|
[e51b410] | 3956 | |
---|
[8298425] | 3957 | #ifdef __STDC__ |
---|
| 3958 | # include <limits.h> |
---|
| 3959 | #else |
---|
| 3960 | # include <assert.h> |
---|
| 3961 | #endif |
---|
[e51b410] | 3962 | |
---|
[8298425] | 3963 | #undef $ac_func |
---|
| 3964 | |
---|
[4ad3480] | 3965 | /* Override any GCC internal prototype to avoid an error. |
---|
| 3966 | Use char because int might match the return type of a GCC |
---|
| 3967 | builtin and then its argument prototype would still apply. */ |
---|
[8298425] | 3968 | #ifdef __cplusplus |
---|
| 3969 | extern "C" |
---|
| 3970 | #endif |
---|
| 3971 | char $ac_func (); |
---|
[e51b410] | 3972 | /* The GNU C library defines this for functions which it implements |
---|
| 3973 | to always fail with ENOSYS. Some functions are actually named |
---|
| 3974 | something starting with __ and the normal name is an alias. */ |
---|
[4ad3480] | 3975 | #if defined __stub_$ac_func || defined __stub___$ac_func |
---|
[e51b410] | 3976 | choke me |
---|
| 3977 | #endif |
---|
| 3978 | |
---|
[8298425] | 3979 | int |
---|
| 3980 | main () |
---|
| 3981 | { |
---|
[4ad3480] | 3982 | return $ac_func (); |
---|
[8298425] | 3983 | ; |
---|
| 3984 | return 0; |
---|
| 3985 | } |
---|
| 3986 | _ACEOF |
---|
| 3987 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
[4ad3480] | 3988 | if { (ac_try="$ac_link" |
---|
| 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_link") 2>conftest.er1 |
---|
[8298425] | 3995 | ac_status=$? |
---|
| 3996 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 3997 | rm -f conftest.er1 |
---|
| 3998 | cat conftest.err >&5 |
---|
| 3999 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 4000 | (exit $ac_status); } && |
---|
[4ad3480] | 4001 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
---|
| 4002 | { (case "(($ac_try" in |
---|
| 4003 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 4004 | *) ac_try_echo=$ac_try;; |
---|
| 4005 | esac |
---|
| 4006 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 4007 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 4008 | ac_status=$? |
---|
| 4009 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 4010 | (exit $ac_status); }; } && |
---|
| 4011 | { ac_try='test -s conftest$ac_exeext' |
---|
[4ad3480] | 4012 | { (case "(($ac_try" in |
---|
| 4013 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 4014 | *) ac_try_echo=$ac_try;; |
---|
| 4015 | esac |
---|
| 4016 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 4017 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 4018 | ac_status=$? |
---|
| 4019 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 4020 | (exit $ac_status); }; }; then |
---|
| 4021 | eval "$as_ac_var=yes" |
---|
[e51b410] | 4022 | else |
---|
[8298425] | 4023 | echo "$as_me: failed program was:" >&5 |
---|
| 4024 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 4025 | |
---|
[4ad3480] | 4026 | eval "$as_ac_var=no" |
---|
[e51b410] | 4027 | fi |
---|
[4ad3480] | 4028 | |
---|
| 4029 | rm -f core conftest.err conftest.$ac_objext \ |
---|
[8298425] | 4030 | conftest$ac_exeext conftest.$ac_ext |
---|
[e51b410] | 4031 | fi |
---|
[4ad3480] | 4032 | ac_res=`eval echo '${'$as_ac_var'}'` |
---|
| 4033 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
---|
| 4034 | echo "${ECHO_T}$ac_res" >&6; } |
---|
[8298425] | 4035 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
---|
| 4036 | cat >>confdefs.h <<_ACEOF |
---|
| 4037 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
---|
| 4038 | _ACEOF |
---|
[e51b410] | 4039 | |
---|
| 4040 | fi |
---|
| 4041 | done |
---|
| 4042 | |
---|
| 4043 | |
---|
[4ad3480] | 4044 | { echo "$as_me:$LINENO: checking for des_ecb_encrypt prototype" >&5 |
---|
| 4045 | echo $ECHO_N "checking for des_ecb_encrypt prototype... $ECHO_C" >&6; } |
---|
[8298425] | 4046 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 4047 | /* confdefs.h. */ |
---|
| 4048 | _ACEOF |
---|
| 4049 | cat confdefs.h >>conftest.$ac_ext |
---|
| 4050 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 4051 | /* end confdefs.h. */ |
---|
[69894d2] | 4052 | #include <des.h> |
---|
| 4053 | int des_ecb_encrypt(char foo[], char bar[], des_key_schedule baz, int qux); |
---|
[8298425] | 4054 | int |
---|
| 4055 | main () |
---|
| 4056 | { |
---|
[69894d2] | 4057 | int foo = des_ecb_encrypt(0,0,0,0); |
---|
[8298425] | 4058 | ; |
---|
| 4059 | return 0; |
---|
| 4060 | } |
---|
| 4061 | _ACEOF |
---|
| 4062 | rm -f conftest.$ac_objext |
---|
[4ad3480] | 4063 | if { (ac_try="$ac_compile" |
---|
| 4064 | case "(($ac_try" in |
---|
| 4065 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 4066 | *) ac_try_echo=$ac_try;; |
---|
| 4067 | esac |
---|
| 4068 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 4069 | (eval "$ac_compile") 2>conftest.er1 |
---|
[8298425] | 4070 | ac_status=$? |
---|
| 4071 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 4072 | rm -f conftest.er1 |
---|
| 4073 | cat conftest.err >&5 |
---|
| 4074 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 4075 | (exit $ac_status); } && |
---|
[4ad3480] | 4076 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
---|
| 4077 | { (case "(($ac_try" in |
---|
| 4078 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 4079 | *) ac_try_echo=$ac_try;; |
---|
| 4080 | esac |
---|
| 4081 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 4082 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 4083 | ac_status=$? |
---|
| 4084 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 4085 | (exit $ac_status); }; } && |
---|
| 4086 | { ac_try='test -s conftest.$ac_objext' |
---|
[4ad3480] | 4087 | { (case "(($ac_try" in |
---|
| 4088 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 4089 | *) ac_try_echo=$ac_try;; |
---|
| 4090 | esac |
---|
| 4091 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 4092 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 4093 | ac_status=$? |
---|
| 4094 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 4095 | (exit $ac_status); }; }; then |
---|
[69894d2] | 4096 | ac_cv_des_ecb_encrypt_proto=no |
---|
| 4097 | else |
---|
[8298425] | 4098 | echo "$as_me: failed program was:" >&5 |
---|
| 4099 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 4100 | |
---|
[4ad3480] | 4101 | ac_cv_des_ecb_encrypt_proto=yes |
---|
[69894d2] | 4102 | fi |
---|
[4ad3480] | 4103 | |
---|
| 4104 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
| 4105 | { echo "$as_me:$LINENO: result: $ac_cv_des_ecb_encrypt_proto" >&5 |
---|
| 4106 | echo "${ECHO_T}$ac_cv_des_ecb_encrypt_proto" >&6; } |
---|
[69894d2] | 4107 | if test "$ac_cv_des_ecb_encrypt_proto" = yes; then |
---|
[8298425] | 4108 | |
---|
| 4109 | cat >>confdefs.h <<\_ACEOF |
---|
| 4110 | #define HAVE_DES_ECB_ENCRYPT_PROTO |
---|
| 4111 | _ACEOF |
---|
[69894d2] | 4112 | |
---|
| 4113 | fi |
---|
| 4114 | |
---|
[8298425] | 4115 | ac_ext=c |
---|
| 4116 | ac_cpp='$CPP $CPPFLAGS' |
---|
| 4117 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
| 4118 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
| 4119 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
[4ad3480] | 4120 | { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
---|
| 4121 | echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } |
---|
[7d4fbcd] | 4122 | # On Suns, sometimes $CPP names a directory. |
---|
| 4123 | if test -n "$CPP" && test -d "$CPP"; then |
---|
| 4124 | CPP= |
---|
| 4125 | fi |
---|
| 4126 | if test -z "$CPP"; then |
---|
[8298425] | 4127 | if test "${ac_cv_prog_CPP+set}" = set; then |
---|
| 4128 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
[7d4fbcd] | 4129 | else |
---|
[8298425] | 4130 | # Double quotes because CPP needs to be expanded |
---|
| 4131 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
---|
| 4132 | do |
---|
| 4133 | ac_preproc_ok=false |
---|
| 4134 | for ac_c_preproc_warn_flag in '' yes |
---|
| 4135 | do |
---|
| 4136 | # Use a header file that comes with gcc, so configuring glibc |
---|
| 4137 | # with a fresh cross-compiler works. |
---|
| 4138 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
---|
| 4139 | # <limits.h> exists even on freestanding compilers. |
---|
[7d4fbcd] | 4140 | # On the NeXT, cc -E runs the code through the compiler's parser, |
---|
[8298425] | 4141 | # not just through cpp. "Syntax error" is here to catch this case. |
---|
| 4142 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 4143 | /* confdefs.h. */ |
---|
| 4144 | _ACEOF |
---|
| 4145 | cat confdefs.h >>conftest.$ac_ext |
---|
| 4146 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 4147 | /* end confdefs.h. */ |
---|
| 4148 | #ifdef __STDC__ |
---|
| 4149 | # include <limits.h> |
---|
| 4150 | #else |
---|
| 4151 | # include <assert.h> |
---|
| 4152 | #endif |
---|
| 4153 | Syntax error |
---|
| 4154 | _ACEOF |
---|
[4ad3480] | 4155 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
---|
| 4156 | case "(($ac_try" in |
---|
| 4157 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 4158 | *) ac_try_echo=$ac_try;; |
---|
| 4159 | esac |
---|
| 4160 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 4161 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
---|
[8298425] | 4162 | ac_status=$? |
---|
| 4163 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 4164 | rm -f conftest.er1 |
---|
| 4165 | cat conftest.err >&5 |
---|
| 4166 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 4167 | (exit $ac_status); } >/dev/null; then |
---|
| 4168 | if test -s conftest.err; then |
---|
| 4169 | ac_cpp_err=$ac_c_preproc_warn_flag |
---|
| 4170 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
---|
| 4171 | else |
---|
| 4172 | ac_cpp_err= |
---|
| 4173 | fi |
---|
[7d4fbcd] | 4174 | else |
---|
[8298425] | 4175 | ac_cpp_err=yes |
---|
| 4176 | fi |
---|
| 4177 | if test -z "$ac_cpp_err"; then |
---|
[7d4fbcd] | 4178 | : |
---|
| 4179 | else |
---|
[8298425] | 4180 | echo "$as_me: failed program was:" >&5 |
---|
| 4181 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 4182 | |
---|
| 4183 | # Broken: fails on valid input. |
---|
| 4184 | continue |
---|
| 4185 | fi |
---|
[4ad3480] | 4186 | |
---|
[8298425] | 4187 | rm -f conftest.err conftest.$ac_ext |
---|
| 4188 | |
---|
[4ad3480] | 4189 | # OK, works on sane cases. Now check whether nonexistent headers |
---|
[8298425] | 4190 | # can be detected and how. |
---|
| 4191 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 4192 | /* confdefs.h. */ |
---|
| 4193 | _ACEOF |
---|
| 4194 | cat confdefs.h >>conftest.$ac_ext |
---|
| 4195 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 4196 | /* end confdefs.h. */ |
---|
| 4197 | #include <ac_nonexistent.h> |
---|
| 4198 | _ACEOF |
---|
[4ad3480] | 4199 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
---|
| 4200 | case "(($ac_try" in |
---|
| 4201 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 4202 | *) ac_try_echo=$ac_try;; |
---|
| 4203 | esac |
---|
| 4204 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 4205 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
---|
[8298425] | 4206 | ac_status=$? |
---|
| 4207 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 4208 | rm -f conftest.er1 |
---|
| 4209 | cat conftest.err >&5 |
---|
| 4210 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 4211 | (exit $ac_status); } >/dev/null; then |
---|
| 4212 | if test -s conftest.err; then |
---|
| 4213 | ac_cpp_err=$ac_c_preproc_warn_flag |
---|
| 4214 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
---|
| 4215 | else |
---|
| 4216 | ac_cpp_err= |
---|
| 4217 | fi |
---|
| 4218 | else |
---|
| 4219 | ac_cpp_err=yes |
---|
| 4220 | fi |
---|
| 4221 | if test -z "$ac_cpp_err"; then |
---|
| 4222 | # Broken: success on invalid input. |
---|
| 4223 | continue |
---|
| 4224 | else |
---|
| 4225 | echo "$as_me: failed program was:" >&5 |
---|
| 4226 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 4227 | |
---|
| 4228 | # Passes both tests. |
---|
| 4229 | ac_preproc_ok=: |
---|
| 4230 | break |
---|
| 4231 | fi |
---|
[4ad3480] | 4232 | |
---|
[8298425] | 4233 | rm -f conftest.err conftest.$ac_ext |
---|
| 4234 | |
---|
| 4235 | done |
---|
| 4236 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
---|
| 4237 | rm -f conftest.err conftest.$ac_ext |
---|
| 4238 | if $ac_preproc_ok; then |
---|
| 4239 | break |
---|
| 4240 | fi |
---|
| 4241 | |
---|
| 4242 | done |
---|
| 4243 | ac_cv_prog_CPP=$CPP |
---|
| 4244 | |
---|
| 4245 | fi |
---|
| 4246 | CPP=$ac_cv_prog_CPP |
---|
| 4247 | else |
---|
| 4248 | ac_cv_prog_CPP=$CPP |
---|
| 4249 | fi |
---|
[4ad3480] | 4250 | { echo "$as_me:$LINENO: result: $CPP" >&5 |
---|
| 4251 | echo "${ECHO_T}$CPP" >&6; } |
---|
[8298425] | 4252 | ac_preproc_ok=false |
---|
| 4253 | for ac_c_preproc_warn_flag in '' yes |
---|
| 4254 | do |
---|
| 4255 | # Use a header file that comes with gcc, so configuring glibc |
---|
| 4256 | # with a fresh cross-compiler works. |
---|
| 4257 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
---|
| 4258 | # <limits.h> exists even on freestanding compilers. |
---|
| 4259 | # On the NeXT, cc -E runs the code through the compiler's parser, |
---|
| 4260 | # not just through cpp. "Syntax error" is here to catch this case. |
---|
| 4261 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 4262 | /* confdefs.h. */ |
---|
| 4263 | _ACEOF |
---|
| 4264 | cat confdefs.h >>conftest.$ac_ext |
---|
| 4265 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 4266 | /* end confdefs.h. */ |
---|
| 4267 | #ifdef __STDC__ |
---|
| 4268 | # include <limits.h> |
---|
| 4269 | #else |
---|
| 4270 | # include <assert.h> |
---|
| 4271 | #endif |
---|
| 4272 | Syntax error |
---|
| 4273 | _ACEOF |
---|
[4ad3480] | 4274 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
---|
| 4275 | case "(($ac_try" in |
---|
| 4276 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 4277 | *) ac_try_echo=$ac_try;; |
---|
| 4278 | esac |
---|
| 4279 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 4280 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
---|
[8298425] | 4281 | ac_status=$? |
---|
| 4282 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 4283 | rm -f conftest.er1 |
---|
| 4284 | cat conftest.err >&5 |
---|
| 4285 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 4286 | (exit $ac_status); } >/dev/null; then |
---|
| 4287 | if test -s conftest.err; then |
---|
| 4288 | ac_cpp_err=$ac_c_preproc_warn_flag |
---|
| 4289 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
---|
| 4290 | else |
---|
| 4291 | ac_cpp_err= |
---|
| 4292 | fi |
---|
| 4293 | else |
---|
| 4294 | ac_cpp_err=yes |
---|
| 4295 | fi |
---|
| 4296 | if test -z "$ac_cpp_err"; then |
---|
[7d4fbcd] | 4297 | : |
---|
| 4298 | else |
---|
[8298425] | 4299 | echo "$as_me: failed program was:" >&5 |
---|
| 4300 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 4301 | |
---|
| 4302 | # Broken: fails on valid input. |
---|
| 4303 | continue |
---|
[7d4fbcd] | 4304 | fi |
---|
[4ad3480] | 4305 | |
---|
[8298425] | 4306 | rm -f conftest.err conftest.$ac_ext |
---|
| 4307 | |
---|
[4ad3480] | 4308 | # OK, works on sane cases. Now check whether nonexistent headers |
---|
[8298425] | 4309 | # can be detected and how. |
---|
| 4310 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 4311 | /* confdefs.h. */ |
---|
| 4312 | _ACEOF |
---|
| 4313 | cat confdefs.h >>conftest.$ac_ext |
---|
| 4314 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 4315 | /* end confdefs.h. */ |
---|
| 4316 | #include <ac_nonexistent.h> |
---|
| 4317 | _ACEOF |
---|
[4ad3480] | 4318 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
---|
| 4319 | case "(($ac_try" in |
---|
| 4320 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 4321 | *) ac_try_echo=$ac_try;; |
---|
| 4322 | esac |
---|
| 4323 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 4324 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
---|
[8298425] | 4325 | ac_status=$? |
---|
| 4326 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 4327 | rm -f conftest.er1 |
---|
| 4328 | cat conftest.err >&5 |
---|
| 4329 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 4330 | (exit $ac_status); } >/dev/null; then |
---|
| 4331 | if test -s conftest.err; then |
---|
| 4332 | ac_cpp_err=$ac_c_preproc_warn_flag |
---|
| 4333 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
---|
| 4334 | else |
---|
| 4335 | ac_cpp_err= |
---|
| 4336 | fi |
---|
| 4337 | else |
---|
| 4338 | ac_cpp_err=yes |
---|
[7d4fbcd] | 4339 | fi |
---|
[8298425] | 4340 | if test -z "$ac_cpp_err"; then |
---|
| 4341 | # Broken: success on invalid input. |
---|
| 4342 | continue |
---|
| 4343 | else |
---|
| 4344 | echo "$as_me: failed program was:" >&5 |
---|
| 4345 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 4346 | |
---|
| 4347 | # Passes both tests. |
---|
| 4348 | ac_preproc_ok=: |
---|
| 4349 | break |
---|
[7d4fbcd] | 4350 | fi |
---|
[4ad3480] | 4351 | |
---|
[8298425] | 4352 | rm -f conftest.err conftest.$ac_ext |
---|
| 4353 | |
---|
| 4354 | done |
---|
| 4355 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
---|
| 4356 | rm -f conftest.err conftest.$ac_ext |
---|
| 4357 | if $ac_preproc_ok; then |
---|
| 4358 | : |
---|
| 4359 | else |
---|
| 4360 | { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check |
---|
| 4361 | See \`config.log' for more details." >&5 |
---|
| 4362 | echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check |
---|
| 4363 | See \`config.log' for more details." >&2;} |
---|
| 4364 | { (exit 1); exit 1; }; } |
---|
[7d4fbcd] | 4365 | fi |
---|
[8298425] | 4366 | |
---|
| 4367 | ac_ext=c |
---|
| 4368 | ac_cpp='$CPP $CPPFLAGS' |
---|
| 4369 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
| 4370 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
| 4371 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
| 4372 | |
---|
| 4373 | |
---|
[4ad3480] | 4374 | { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 |
---|
| 4375 | echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } |
---|
| 4376 | if test "${ac_cv_path_GREP+set}" = set; then |
---|
[8298425] | 4377 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
[7d4fbcd] | 4378 | else |
---|
[4ad3480] | 4379 | # Extract the first word of "grep ggrep" to use in msg output |
---|
| 4380 | if test -z "$GREP"; then |
---|
| 4381 | set dummy grep ggrep; ac_prog_name=$2 |
---|
| 4382 | if test "${ac_cv_path_GREP+set}" = set; then |
---|
| 4383 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 4384 | else |
---|
| 4385 | ac_path_GREP_found=false |
---|
| 4386 | # Loop through the user's path and test for each of PROGNAME-LIST |
---|
| 4387 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 4388 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
---|
| 4389 | do |
---|
| 4390 | IFS=$as_save_IFS |
---|
| 4391 | test -z "$as_dir" && as_dir=. |
---|
| 4392 | for ac_prog in grep ggrep; do |
---|
| 4393 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
| 4394 | ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
---|
| 4395 | { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue |
---|
| 4396 | # Check for GNU ac_path_GREP and select it if it is found. |
---|
| 4397 | # Check for GNU $ac_path_GREP |
---|
| 4398 | case `"$ac_path_GREP" --version 2>&1` in |
---|
| 4399 | *GNU*) |
---|
| 4400 | ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
---|
| 4401 | *) |
---|
| 4402 | ac_count=0 |
---|
| 4403 | echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" |
---|
| 4404 | while : |
---|
| 4405 | do |
---|
| 4406 | cat "conftest.in" "conftest.in" >"conftest.tmp" |
---|
| 4407 | mv "conftest.tmp" "conftest.in" |
---|
| 4408 | cp "conftest.in" "conftest.nl" |
---|
| 4409 | echo 'GREP' >> "conftest.nl" |
---|
| 4410 | "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
---|
| 4411 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
---|
| 4412 | ac_count=`expr $ac_count + 1` |
---|
| 4413 | if test $ac_count -gt ${ac_path_GREP_max-0}; then |
---|
| 4414 | # Best one so far, save it but keep looking for a better one |
---|
| 4415 | ac_cv_path_GREP="$ac_path_GREP" |
---|
| 4416 | ac_path_GREP_max=$ac_count |
---|
[8298425] | 4417 | fi |
---|
[4ad3480] | 4418 | # 10*(2^10) chars as input seems more than enough |
---|
| 4419 | test $ac_count -gt 10 && break |
---|
| 4420 | done |
---|
| 4421 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
---|
| 4422 | esac |
---|
| 4423 | |
---|
| 4424 | |
---|
| 4425 | $ac_path_GREP_found && break 3 |
---|
| 4426 | done |
---|
| 4427 | done |
---|
| 4428 | |
---|
| 4429 | done |
---|
| 4430 | IFS=$as_save_IFS |
---|
| 4431 | |
---|
| 4432 | |
---|
| 4433 | fi |
---|
| 4434 | |
---|
| 4435 | GREP="$ac_cv_path_GREP" |
---|
| 4436 | if test -z "$GREP"; then |
---|
| 4437 | { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 |
---|
| 4438 | echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} |
---|
| 4439 | { (exit 1); exit 1; }; } |
---|
| 4440 | fi |
---|
| 4441 | |
---|
| 4442 | else |
---|
| 4443 | ac_cv_path_GREP=$GREP |
---|
[7d4fbcd] | 4444 | fi |
---|
| 4445 | |
---|
[8298425] | 4446 | |
---|
[4ad3480] | 4447 | fi |
---|
| 4448 | { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 |
---|
| 4449 | echo "${ECHO_T}$ac_cv_path_GREP" >&6; } |
---|
| 4450 | GREP="$ac_cv_path_GREP" |
---|
| 4451 | |
---|
| 4452 | |
---|
| 4453 | { echo "$as_me:$LINENO: checking for egrep" >&5 |
---|
| 4454 | echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } |
---|
| 4455 | if test "${ac_cv_path_EGREP+set}" = set; then |
---|
| 4456 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 4457 | else |
---|
| 4458 | if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
---|
| 4459 | then ac_cv_path_EGREP="$GREP -E" |
---|
| 4460 | else |
---|
| 4461 | # Extract the first word of "egrep" to use in msg output |
---|
| 4462 | if test -z "$EGREP"; then |
---|
| 4463 | set dummy egrep; ac_prog_name=$2 |
---|
| 4464 | if test "${ac_cv_path_EGREP+set}" = set; then |
---|
| 4465 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 4466 | else |
---|
| 4467 | ac_path_EGREP_found=false |
---|
| 4468 | # Loop through the user's path and test for each of PROGNAME-LIST |
---|
| 4469 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 4470 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
---|
| 4471 | do |
---|
| 4472 | IFS=$as_save_IFS |
---|
| 4473 | test -z "$as_dir" && as_dir=. |
---|
| 4474 | for ac_prog in egrep; do |
---|
| 4475 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
| 4476 | ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
---|
| 4477 | { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue |
---|
| 4478 | # Check for GNU ac_path_EGREP and select it if it is found. |
---|
| 4479 | # Check for GNU $ac_path_EGREP |
---|
| 4480 | case `"$ac_path_EGREP" --version 2>&1` in |
---|
| 4481 | *GNU*) |
---|
| 4482 | ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
---|
| 4483 | *) |
---|
| 4484 | ac_count=0 |
---|
| 4485 | echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" |
---|
| 4486 | while : |
---|
| 4487 | do |
---|
| 4488 | cat "conftest.in" "conftest.in" >"conftest.tmp" |
---|
| 4489 | mv "conftest.tmp" "conftest.in" |
---|
| 4490 | cp "conftest.in" "conftest.nl" |
---|
| 4491 | echo 'EGREP' >> "conftest.nl" |
---|
| 4492 | "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
---|
| 4493 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
---|
| 4494 | ac_count=`expr $ac_count + 1` |
---|
| 4495 | if test $ac_count -gt ${ac_path_EGREP_max-0}; then |
---|
| 4496 | # Best one so far, save it but keep looking for a better one |
---|
| 4497 | ac_cv_path_EGREP="$ac_path_EGREP" |
---|
| 4498 | ac_path_EGREP_max=$ac_count |
---|
| 4499 | fi |
---|
| 4500 | # 10*(2^10) chars as input seems more than enough |
---|
| 4501 | test $ac_count -gt 10 && break |
---|
| 4502 | done |
---|
| 4503 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
---|
| 4504 | esac |
---|
| 4505 | |
---|
| 4506 | |
---|
| 4507 | $ac_path_EGREP_found && break 3 |
---|
| 4508 | done |
---|
| 4509 | done |
---|
| 4510 | |
---|
| 4511 | done |
---|
| 4512 | IFS=$as_save_IFS |
---|
| 4513 | |
---|
| 4514 | |
---|
| 4515 | fi |
---|
| 4516 | |
---|
| 4517 | EGREP="$ac_cv_path_EGREP" |
---|
| 4518 | if test -z "$EGREP"; then |
---|
| 4519 | { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 |
---|
| 4520 | echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} |
---|
| 4521 | { (exit 1); exit 1; }; } |
---|
| 4522 | fi |
---|
| 4523 | |
---|
| 4524 | else |
---|
| 4525 | ac_cv_path_EGREP=$EGREP |
---|
| 4526 | fi |
---|
| 4527 | |
---|
| 4528 | |
---|
| 4529 | fi |
---|
| 4530 | fi |
---|
| 4531 | { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 |
---|
| 4532 | echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } |
---|
| 4533 | EGREP="$ac_cv_path_EGREP" |
---|
| 4534 | |
---|
| 4535 | |
---|
| 4536 | { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
---|
| 4537 | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } |
---|
[8298425] | 4538 | if test "${ac_cv_header_stdc+set}" = set; then |
---|
| 4539 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
[7d4fbcd] | 4540 | else |
---|
[8298425] | 4541 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 4542 | /* confdefs.h. */ |
---|
| 4543 | _ACEOF |
---|
| 4544 | cat confdefs.h >>conftest.$ac_ext |
---|
| 4545 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 4546 | /* end confdefs.h. */ |
---|
[7d4fbcd] | 4547 | #include <stdlib.h> |
---|
| 4548 | #include <stdarg.h> |
---|
| 4549 | #include <string.h> |
---|
| 4550 | #include <float.h> |
---|
[8298425] | 4551 | |
---|
| 4552 | int |
---|
| 4553 | main () |
---|
| 4554 | { |
---|
| 4555 | |
---|
| 4556 | ; |
---|
| 4557 | return 0; |
---|
| 4558 | } |
---|
| 4559 | _ACEOF |
---|
| 4560 | rm -f conftest.$ac_objext |
---|
[4ad3480] | 4561 | if { (ac_try="$ac_compile" |
---|
| 4562 | case "(($ac_try" in |
---|
| 4563 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 4564 | *) ac_try_echo=$ac_try;; |
---|
| 4565 | esac |
---|
| 4566 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 4567 | (eval "$ac_compile") 2>conftest.er1 |
---|
[8298425] | 4568 | ac_status=$? |
---|
| 4569 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 4570 | rm -f conftest.er1 |
---|
| 4571 | cat conftest.err >&5 |
---|
| 4572 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 4573 | (exit $ac_status); } && |
---|
[4ad3480] | 4574 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
---|
| 4575 | { (case "(($ac_try" in |
---|
| 4576 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 4577 | *) ac_try_echo=$ac_try;; |
---|
| 4578 | esac |
---|
| 4579 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 4580 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 4581 | ac_status=$? |
---|
| 4582 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 4583 | (exit $ac_status); }; } && |
---|
| 4584 | { ac_try='test -s conftest.$ac_objext' |
---|
[4ad3480] | 4585 | { (case "(($ac_try" in |
---|
| 4586 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 4587 | *) ac_try_echo=$ac_try;; |
---|
| 4588 | esac |
---|
| 4589 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 4590 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 4591 | ac_status=$? |
---|
| 4592 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 4593 | (exit $ac_status); }; }; then |
---|
[7d4fbcd] | 4594 | ac_cv_header_stdc=yes |
---|
| 4595 | else |
---|
[8298425] | 4596 | echo "$as_me: failed program was:" >&5 |
---|
| 4597 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 4598 | |
---|
[4ad3480] | 4599 | ac_cv_header_stdc=no |
---|
[7d4fbcd] | 4600 | fi |
---|
[4ad3480] | 4601 | |
---|
| 4602 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
[7d4fbcd] | 4603 | |
---|
| 4604 | if test $ac_cv_header_stdc = yes; then |
---|
| 4605 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
---|
[8298425] | 4606 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 4607 | /* confdefs.h. */ |
---|
| 4608 | _ACEOF |
---|
| 4609 | cat confdefs.h >>conftest.$ac_ext |
---|
| 4610 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 4611 | /* end confdefs.h. */ |
---|
[7d4fbcd] | 4612 | #include <string.h> |
---|
[8298425] | 4613 | |
---|
| 4614 | _ACEOF |
---|
[7d4fbcd] | 4615 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
---|
[8298425] | 4616 | $EGREP "memchr" >/dev/null 2>&1; then |
---|
[7d4fbcd] | 4617 | : |
---|
| 4618 | else |
---|
| 4619 | ac_cv_header_stdc=no |
---|
| 4620 | fi |
---|
| 4621 | rm -f conftest* |
---|
| 4622 | |
---|
| 4623 | fi |
---|
| 4624 | |
---|
| 4625 | if test $ac_cv_header_stdc = yes; then |
---|
| 4626 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
---|
[8298425] | 4627 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 4628 | /* confdefs.h. */ |
---|
| 4629 | _ACEOF |
---|
| 4630 | cat confdefs.h >>conftest.$ac_ext |
---|
| 4631 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 4632 | /* end confdefs.h. */ |
---|
[7d4fbcd] | 4633 | #include <stdlib.h> |
---|
[8298425] | 4634 | |
---|
| 4635 | _ACEOF |
---|
[7d4fbcd] | 4636 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
---|
[8298425] | 4637 | $EGREP "free" >/dev/null 2>&1; then |
---|
[7d4fbcd] | 4638 | : |
---|
| 4639 | else |
---|
| 4640 | ac_cv_header_stdc=no |
---|
| 4641 | fi |
---|
| 4642 | rm -f conftest* |
---|
| 4643 | |
---|
| 4644 | fi |
---|
| 4645 | |
---|
| 4646 | if test $ac_cv_header_stdc = yes; then |
---|
| 4647 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
---|
[8298425] | 4648 | if test "$cross_compiling" = yes; then |
---|
[7d4fbcd] | 4649 | : |
---|
| 4650 | else |
---|
[8298425] | 4651 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 4652 | /* confdefs.h. */ |
---|
| 4653 | _ACEOF |
---|
| 4654 | cat confdefs.h >>conftest.$ac_ext |
---|
| 4655 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 4656 | /* end confdefs.h. */ |
---|
[7d4fbcd] | 4657 | #include <ctype.h> |
---|
[4ad3480] | 4658 | #include <stdlib.h> |
---|
[8298425] | 4659 | #if ((' ' & 0x0FF) == 0x020) |
---|
| 4660 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
---|
| 4661 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
---|
| 4662 | #else |
---|
| 4663 | # define ISLOWER(c) \ |
---|
| 4664 | (('a' <= (c) && (c) <= 'i') \ |
---|
| 4665 | || ('j' <= (c) && (c) <= 'r') \ |
---|
| 4666 | || ('s' <= (c) && (c) <= 'z')) |
---|
| 4667 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
---|
| 4668 | #endif |
---|
[7d4fbcd] | 4669 | |
---|
[8298425] | 4670 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
---|
| 4671 | int |
---|
| 4672 | main () |
---|
| 4673 | { |
---|
| 4674 | int i; |
---|
| 4675 | for (i = 0; i < 256; i++) |
---|
| 4676 | if (XOR (islower (i), ISLOWER (i)) |
---|
| 4677 | || toupper (i) != TOUPPER (i)) |
---|
[4ad3480] | 4678 | return 2; |
---|
| 4679 | return 0; |
---|
[8298425] | 4680 | } |
---|
| 4681 | _ACEOF |
---|
| 4682 | rm -f conftest$ac_exeext |
---|
[4ad3480] | 4683 | if { (ac_try="$ac_link" |
---|
| 4684 | case "(($ac_try" in |
---|
| 4685 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 4686 | *) ac_try_echo=$ac_try;; |
---|
| 4687 | esac |
---|
| 4688 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 4689 | (eval "$ac_link") 2>&5 |
---|
[8298425] | 4690 | ac_status=$? |
---|
| 4691 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 4692 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
---|
[4ad3480] | 4693 | { (case "(($ac_try" in |
---|
| 4694 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 4695 | *) ac_try_echo=$ac_try;; |
---|
| 4696 | esac |
---|
| 4697 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 4698 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 4699 | ac_status=$? |
---|
| 4700 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 4701 | (exit $ac_status); }; }; then |
---|
[7d4fbcd] | 4702 | : |
---|
| 4703 | else |
---|
[8298425] | 4704 | echo "$as_me: program exited with status $ac_status" >&5 |
---|
| 4705 | echo "$as_me: failed program was:" >&5 |
---|
| 4706 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 4707 | |
---|
| 4708 | ( exit $ac_status ) |
---|
| 4709 | ac_cv_header_stdc=no |
---|
[7d4fbcd] | 4710 | fi |
---|
[4ad3480] | 4711 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
---|
[7d4fbcd] | 4712 | fi |
---|
[4ad3480] | 4713 | |
---|
| 4714 | |
---|
[7d4fbcd] | 4715 | fi |
---|
| 4716 | fi |
---|
[4ad3480] | 4717 | { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
---|
| 4718 | echo "${ECHO_T}$ac_cv_header_stdc" >&6; } |
---|
[7d4fbcd] | 4719 | if test $ac_cv_header_stdc = yes; then |
---|
[8298425] | 4720 | |
---|
| 4721 | cat >>confdefs.h <<\_ACEOF |
---|
[7d4fbcd] | 4722 | #define STDC_HEADERS 1 |
---|
[8298425] | 4723 | _ACEOF |
---|
[7d4fbcd] | 4724 | |
---|
| 4725 | fi |
---|
| 4726 | |
---|
[4ad3480] | 4727 | { echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
---|
| 4728 | echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; } |
---|
[8298425] | 4729 | if test "${ac_cv_header_sys_wait_h+set}" = set; then |
---|
| 4730 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
[7d4fbcd] | 4731 | else |
---|
[8298425] | 4732 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 4733 | /* confdefs.h. */ |
---|
| 4734 | _ACEOF |
---|
| 4735 | cat confdefs.h >>conftest.$ac_ext |
---|
| 4736 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 4737 | /* end confdefs.h. */ |
---|
[7d4fbcd] | 4738 | #include <sys/types.h> |
---|
| 4739 | #include <sys/wait.h> |
---|
| 4740 | #ifndef WEXITSTATUS |
---|
[4ad3480] | 4741 | # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8) |
---|
[7d4fbcd] | 4742 | #endif |
---|
| 4743 | #ifndef WIFEXITED |
---|
[8298425] | 4744 | # define WIFEXITED(stat_val) (((stat_val) & 255) == 0) |
---|
[7d4fbcd] | 4745 | #endif |
---|
[8298425] | 4746 | |
---|
| 4747 | int |
---|
| 4748 | main () |
---|
| 4749 | { |
---|
| 4750 | int s; |
---|
| 4751 | wait (&s); |
---|
| 4752 | s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; |
---|
| 4753 | ; |
---|
| 4754 | return 0; |
---|
| 4755 | } |
---|
| 4756 | _ACEOF |
---|
| 4757 | rm -f conftest.$ac_objext |
---|
[4ad3480] | 4758 | if { (ac_try="$ac_compile" |
---|
| 4759 | case "(($ac_try" in |
---|
| 4760 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 4761 | *) ac_try_echo=$ac_try;; |
---|
| 4762 | esac |
---|
| 4763 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 4764 | (eval "$ac_compile") 2>conftest.er1 |
---|
[8298425] | 4765 | ac_status=$? |
---|
| 4766 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 4767 | rm -f conftest.er1 |
---|
| 4768 | cat conftest.err >&5 |
---|
| 4769 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 4770 | (exit $ac_status); } && |
---|
[4ad3480] | 4771 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
---|
| 4772 | { (case "(($ac_try" in |
---|
| 4773 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 4774 | *) ac_try_echo=$ac_try;; |
---|
| 4775 | esac |
---|
| 4776 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 4777 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 4778 | ac_status=$? |
---|
| 4779 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 4780 | (exit $ac_status); }; } && |
---|
| 4781 | { ac_try='test -s conftest.$ac_objext' |
---|
[4ad3480] | 4782 | { (case "(($ac_try" in |
---|
| 4783 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 4784 | *) ac_try_echo=$ac_try;; |
---|
| 4785 | esac |
---|
| 4786 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 4787 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 4788 | ac_status=$? |
---|
| 4789 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 4790 | (exit $ac_status); }; }; then |
---|
[7d4fbcd] | 4791 | ac_cv_header_sys_wait_h=yes |
---|
| 4792 | else |
---|
[8298425] | 4793 | echo "$as_me: failed program was:" >&5 |
---|
| 4794 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 4795 | |
---|
[4ad3480] | 4796 | ac_cv_header_sys_wait_h=no |
---|
[7d4fbcd] | 4797 | fi |
---|
[4ad3480] | 4798 | |
---|
| 4799 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
[7d4fbcd] | 4800 | fi |
---|
[4ad3480] | 4801 | { echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5 |
---|
| 4802 | echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; } |
---|
[7d4fbcd] | 4803 | if test $ac_cv_header_sys_wait_h = yes; then |
---|
[8298425] | 4804 | |
---|
| 4805 | cat >>confdefs.h <<\_ACEOF |
---|
[7d4fbcd] | 4806 | #define HAVE_SYS_WAIT_H 1 |
---|
[8298425] | 4807 | _ACEOF |
---|
[7d4fbcd] | 4808 | |
---|
| 4809 | fi |
---|
| 4810 | |
---|
[8298425] | 4811 | # On IRIX 5.3, sys/types and inttypes.h are conflicting. |
---|
| 4812 | |
---|
| 4813 | |
---|
| 4814 | |
---|
| 4815 | |
---|
| 4816 | |
---|
| 4817 | |
---|
| 4818 | |
---|
| 4819 | |
---|
| 4820 | |
---|
| 4821 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
---|
| 4822 | inttypes.h stdint.h unistd.h |
---|
[7d4fbcd] | 4823 | do |
---|
[8298425] | 4824 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
---|
[4ad3480] | 4825 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
---|
| 4826 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
---|
| 4827 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
---|
[8298425] | 4828 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 4829 | else |
---|
| 4830 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 4831 | /* confdefs.h. */ |
---|
| 4832 | _ACEOF |
---|
| 4833 | cat confdefs.h >>conftest.$ac_ext |
---|
| 4834 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 4835 | /* end confdefs.h. */ |
---|
| 4836 | $ac_includes_default |
---|
| 4837 | |
---|
| 4838 | #include <$ac_header> |
---|
| 4839 | _ACEOF |
---|
| 4840 | rm -f conftest.$ac_objext |
---|
[4ad3480] | 4841 | if { (ac_try="$ac_compile" |
---|
| 4842 | case "(($ac_try" in |
---|
| 4843 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 4844 | *) ac_try_echo=$ac_try;; |
---|
| 4845 | esac |
---|
| 4846 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 4847 | (eval "$ac_compile") 2>conftest.er1 |
---|
[8298425] | 4848 | ac_status=$? |
---|
| 4849 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 4850 | rm -f conftest.er1 |
---|
| 4851 | cat conftest.err >&5 |
---|
| 4852 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 4853 | (exit $ac_status); } && |
---|
[4ad3480] | 4854 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
---|
| 4855 | { (case "(($ac_try" in |
---|
| 4856 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 4857 | *) ac_try_echo=$ac_try;; |
---|
| 4858 | esac |
---|
| 4859 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 4860 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 4861 | ac_status=$? |
---|
| 4862 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 4863 | (exit $ac_status); }; } && |
---|
| 4864 | { ac_try='test -s conftest.$ac_objext' |
---|
[4ad3480] | 4865 | { (case "(($ac_try" in |
---|
| 4866 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 4867 | *) ac_try_echo=$ac_try;; |
---|
| 4868 | esac |
---|
| 4869 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 4870 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 4871 | ac_status=$? |
---|
| 4872 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 4873 | (exit $ac_status); }; }; then |
---|
| 4874 | eval "$as_ac_Header=yes" |
---|
| 4875 | else |
---|
| 4876 | echo "$as_me: failed program was:" >&5 |
---|
| 4877 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 4878 | |
---|
[4ad3480] | 4879 | eval "$as_ac_Header=no" |
---|
[7d4fbcd] | 4880 | fi |
---|
[4ad3480] | 4881 | |
---|
| 4882 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
[8298425] | 4883 | fi |
---|
[4ad3480] | 4884 | ac_res=`eval echo '${'$as_ac_Header'}'` |
---|
| 4885 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
---|
| 4886 | echo "${ECHO_T}$ac_res" >&6; } |
---|
[8298425] | 4887 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
---|
| 4888 | cat >>confdefs.h <<_ACEOF |
---|
| 4889 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
---|
| 4890 | _ACEOF |
---|
| 4891 | |
---|
| 4892 | fi |
---|
| 4893 | |
---|
| 4894 | done |
---|
| 4895 | |
---|
| 4896 | |
---|
| 4897 | |
---|
| 4898 | |
---|
| 4899 | |
---|
| 4900 | |
---|
| 4901 | |
---|
| 4902 | for ac_header in strings.h sys/ioctl.h sys/filio.h unistd.h com_err.h |
---|
| 4903 | do |
---|
| 4904 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
---|
[4ad3480] | 4905 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
---|
| 4906 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
---|
| 4907 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
---|
| 4908 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
---|
[8298425] | 4909 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 4910 | fi |
---|
[4ad3480] | 4911 | ac_res=`eval echo '${'$as_ac_Header'}'` |
---|
| 4912 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
---|
| 4913 | echo "${ECHO_T}$ac_res" >&6; } |
---|
[8298425] | 4914 | else |
---|
| 4915 | # Is the header compilable? |
---|
[4ad3480] | 4916 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
---|
| 4917 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
---|
[8298425] | 4918 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 4919 | /* confdefs.h. */ |
---|
| 4920 | _ACEOF |
---|
| 4921 | cat confdefs.h >>conftest.$ac_ext |
---|
| 4922 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 4923 | /* end confdefs.h. */ |
---|
| 4924 | $ac_includes_default |
---|
| 4925 | #include <$ac_header> |
---|
| 4926 | _ACEOF |
---|
| 4927 | rm -f conftest.$ac_objext |
---|
[4ad3480] | 4928 | if { (ac_try="$ac_compile" |
---|
| 4929 | case "(($ac_try" in |
---|
| 4930 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 4931 | *) ac_try_echo=$ac_try;; |
---|
| 4932 | esac |
---|
| 4933 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 4934 | (eval "$ac_compile") 2>conftest.er1 |
---|
[8298425] | 4935 | ac_status=$? |
---|
| 4936 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 4937 | rm -f conftest.er1 |
---|
| 4938 | cat conftest.err >&5 |
---|
| 4939 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 4940 | (exit $ac_status); } && |
---|
[4ad3480] | 4941 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
---|
| 4942 | { (case "(($ac_try" in |
---|
| 4943 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 4944 | *) ac_try_echo=$ac_try;; |
---|
| 4945 | esac |
---|
| 4946 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 4947 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 4948 | ac_status=$? |
---|
| 4949 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 4950 | (exit $ac_status); }; } && |
---|
| 4951 | { ac_try='test -s conftest.$ac_objext' |
---|
[4ad3480] | 4952 | { (case "(($ac_try" in |
---|
| 4953 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 4954 | *) ac_try_echo=$ac_try;; |
---|
| 4955 | esac |
---|
| 4956 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 4957 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 4958 | ac_status=$? |
---|
| 4959 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 4960 | (exit $ac_status); }; }; then |
---|
| 4961 | ac_header_compiler=yes |
---|
| 4962 | else |
---|
| 4963 | echo "$as_me: failed program was:" >&5 |
---|
| 4964 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 4965 | |
---|
[4ad3480] | 4966 | ac_header_compiler=no |
---|
[8298425] | 4967 | fi |
---|
[4ad3480] | 4968 | |
---|
| 4969 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
| 4970 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
---|
| 4971 | echo "${ECHO_T}$ac_header_compiler" >&6; } |
---|
[8298425] | 4972 | |
---|
| 4973 | # Is the header present? |
---|
[4ad3480] | 4974 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
---|
| 4975 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
---|
[8298425] | 4976 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 4977 | /* confdefs.h. */ |
---|
| 4978 | _ACEOF |
---|
| 4979 | cat confdefs.h >>conftest.$ac_ext |
---|
| 4980 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 4981 | /* end confdefs.h. */ |
---|
| 4982 | #include <$ac_header> |
---|
| 4983 | _ACEOF |
---|
[4ad3480] | 4984 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
---|
| 4985 | case "(($ac_try" in |
---|
| 4986 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 4987 | *) ac_try_echo=$ac_try;; |
---|
| 4988 | esac |
---|
| 4989 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 4990 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
---|
[8298425] | 4991 | ac_status=$? |
---|
| 4992 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 4993 | rm -f conftest.er1 |
---|
| 4994 | cat conftest.err >&5 |
---|
| 4995 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 4996 | (exit $ac_status); } >/dev/null; then |
---|
| 4997 | if test -s conftest.err; then |
---|
| 4998 | ac_cpp_err=$ac_c_preproc_warn_flag |
---|
| 4999 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
---|
| 5000 | else |
---|
| 5001 | ac_cpp_err= |
---|
| 5002 | fi |
---|
| 5003 | else |
---|
| 5004 | ac_cpp_err=yes |
---|
| 5005 | fi |
---|
| 5006 | if test -z "$ac_cpp_err"; then |
---|
| 5007 | ac_header_preproc=yes |
---|
| 5008 | else |
---|
| 5009 | echo "$as_me: failed program was:" >&5 |
---|
| 5010 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 5011 | |
---|
| 5012 | ac_header_preproc=no |
---|
[7d4fbcd] | 5013 | fi |
---|
[4ad3480] | 5014 | |
---|
[8298425] | 5015 | rm -f conftest.err conftest.$ac_ext |
---|
[4ad3480] | 5016 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
---|
| 5017 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
---|
[8298425] | 5018 | |
---|
| 5019 | # So? What about this header? |
---|
| 5020 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
---|
| 5021 | yes:no: ) |
---|
| 5022 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
---|
| 5023 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
---|
| 5024 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
---|
| 5025 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
---|
| 5026 | ac_header_preproc=yes |
---|
| 5027 | ;; |
---|
| 5028 | no:yes:* ) |
---|
| 5029 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
---|
| 5030 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
---|
| 5031 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
---|
| 5032 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
---|
| 5033 | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
---|
| 5034 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
---|
| 5035 | { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
---|
| 5036 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
---|
| 5037 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
---|
| 5038 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
---|
| 5039 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
---|
| 5040 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
---|
[4ad3480] | 5041 | |
---|
[8298425] | 5042 | ;; |
---|
| 5043 | esac |
---|
[4ad3480] | 5044 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
---|
| 5045 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
---|
| 5046 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
---|
[8298425] | 5047 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
[7d4fbcd] | 5048 | else |
---|
[8298425] | 5049 | eval "$as_ac_Header=\$ac_header_preproc" |
---|
| 5050 | fi |
---|
[4ad3480] | 5051 | ac_res=`eval echo '${'$as_ac_Header'}'` |
---|
| 5052 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
---|
| 5053 | echo "${ECHO_T}$ac_res" >&6; } |
---|
[8298425] | 5054 | |
---|
[7d4fbcd] | 5055 | fi |
---|
[8298425] | 5056 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
---|
| 5057 | cat >>confdefs.h <<_ACEOF |
---|
| 5058 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
---|
| 5059 | _ACEOF |
---|
| 5060 | |
---|
| 5061 | fi |
---|
| 5062 | |
---|
[7d4fbcd] | 5063 | done |
---|
| 5064 | |
---|
| 5065 | |
---|
| 5066 | FOO=`perl -MExtUtils::Embed -e ccopts` |
---|
| 5067 | echo Adding perl CFLAGS ${FOO} |
---|
| 5068 | CFLAGS=${CFLAGS}\ ${FOO} |
---|
| 5069 | |
---|
[4ad3480] | 5070 | { echo "$as_me:$LINENO: checking for the perl xsubpp precompiler" >&5 |
---|
| 5071 | echo $ECHO_N "checking for the perl xsubpp precompiler... $ECHO_C" >&6; } |
---|
[6794f72] | 5072 | XSUBPPDIR="`(perl -MExtUtils::MakeMaker -e 'print ExtUtils::MakeMaker->new({NAME => qw(owl)})->tool_xsubpp;') | grep \^XSUBPPDIR | sed -e 's/XSUBPPDIR = //g;'`" |
---|
[8ee73f8d] | 5073 | if test -n "${XSUBPPDIR}"; then |
---|
[4ad3480] | 5074 | { echo "$as_me:$LINENO: result: ${XSUBPPDIR}" >&5 |
---|
| 5075 | echo "${ECHO_T}${XSUBPPDIR}" >&6; } |
---|
[8ee73f8d] | 5076 | else |
---|
[8298425] | 5077 | { { echo "$as_me:$LINENO: error: not found" >&5 |
---|
| 5078 | echo "$as_me: error: not found" >&2;} |
---|
| 5079 | { (exit 1); exit 1; }; } |
---|
[8ee73f8d] | 5080 | fi |
---|
| 5081 | |
---|
[4ad3480] | 5082 | if test -f "${XSUBPPDIR}/typemap"; then |
---|
| 5083 | XSUBPPFLAGS="-typemap ${XSUBPPDIR}/typemap" |
---|
| 5084 | else |
---|
| 5085 | XSUBPPFLAGS="" |
---|
| 5086 | fi |
---|
| 5087 | |
---|
[884c272] | 5088 | FOO=`perl -MExtUtils::Embed -e ldopts | sed 's/,-E//' | sed 's/-liconv//'` |
---|
[7d4fbcd] | 5089 | echo Adding perl LDFLAGS ${FOO} |
---|
| 5090 | LDFLAGS=${LDFLAGS}\ ${FOO} |
---|
| 5091 | |
---|
[4ad3480] | 5092 | { echo "$as_me:$LINENO: checking for /usr/share/terminfo" >&5 |
---|
| 5093 | echo $ECHO_N "checking for /usr/share/terminfo... $ECHO_C" >&6; } |
---|
[8298425] | 5094 | if test "${ac_cv_file__usr_share_terminfo+set}" = set; then |
---|
| 5095 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
[7d4fbcd] | 5096 | else |
---|
[8298425] | 5097 | test "$cross_compiling" = yes && |
---|
| 5098 | { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5 |
---|
| 5099 | echo "$as_me: error: cannot check for file existence when cross compiling" >&2;} |
---|
| 5100 | { (exit 1); exit 1; }; } |
---|
| 5101 | if test -r "/usr/share/terminfo"; then |
---|
| 5102 | ac_cv_file__usr_share_terminfo=yes |
---|
[7d4fbcd] | 5103 | else |
---|
[8298425] | 5104 | ac_cv_file__usr_share_terminfo=no |
---|
[7d4fbcd] | 5105 | fi |
---|
| 5106 | fi |
---|
[4ad3480] | 5107 | { echo "$as_me:$LINENO: result: $ac_cv_file__usr_share_terminfo" >&5 |
---|
| 5108 | echo "${ECHO_T}$ac_cv_file__usr_share_terminfo" >&6; } |
---|
[8298425] | 5109 | if test $ac_cv_file__usr_share_terminfo = yes; then |
---|
| 5110 | |
---|
| 5111 | cat >>confdefs.h <<\_ACEOF |
---|
[7d4fbcd] | 5112 | #define TERMINFO "/usr/share/terminfo" |
---|
[8298425] | 5113 | _ACEOF |
---|
[7d4fbcd] | 5114 | |
---|
| 5115 | else |
---|
[4ad3480] | 5116 | { echo "$as_me:$LINENO: checking for /usr/share/lib/terminfo" >&5 |
---|
| 5117 | echo $ECHO_N "checking for /usr/share/lib/terminfo... $ECHO_C" >&6; } |
---|
[8298425] | 5118 | if test "${ac_cv_file__usr_share_lib_terminfo+set}" = set; then |
---|
| 5119 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
[7d4fbcd] | 5120 | else |
---|
[8298425] | 5121 | test "$cross_compiling" = yes && |
---|
| 5122 | { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5 |
---|
| 5123 | echo "$as_me: error: cannot check for file existence when cross compiling" >&2;} |
---|
| 5124 | { (exit 1); exit 1; }; } |
---|
| 5125 | if test -r "/usr/share/lib/terminfo"; then |
---|
| 5126 | ac_cv_file__usr_share_lib_terminfo=yes |
---|
[7d4fbcd] | 5127 | else |
---|
[8298425] | 5128 | ac_cv_file__usr_share_lib_terminfo=no |
---|
[7d4fbcd] | 5129 | fi |
---|
| 5130 | fi |
---|
[4ad3480] | 5131 | { echo "$as_me:$LINENO: result: $ac_cv_file__usr_share_lib_terminfo" >&5 |
---|
| 5132 | echo "${ECHO_T}$ac_cv_file__usr_share_lib_terminfo" >&6; } |
---|
[8298425] | 5133 | if test $ac_cv_file__usr_share_lib_terminfo = yes; then |
---|
| 5134 | |
---|
| 5135 | cat >>confdefs.h <<\_ACEOF |
---|
[7d4fbcd] | 5136 | #define TERMINFO "/usr/share/lib/terminfo" |
---|
[8298425] | 5137 | _ACEOF |
---|
[7d4fbcd] | 5138 | |
---|
| 5139 | else |
---|
[8298425] | 5140 | { { echo "$as_me:$LINENO: error: No terminfo found for this system" >&5 |
---|
| 5141 | echo "$as_me: error: No terminfo found for this system" >&2;} |
---|
| 5142 | { (exit 1); exit 1; }; } |
---|
[7d4fbcd] | 5143 | fi |
---|
| 5144 | |
---|
| 5145 | fi |
---|
| 5146 | |
---|
| 5147 | |
---|
| 5148 | |
---|
[8ee73f8d] | 5149 | |
---|
[15bd5ef] | 5150 | |
---|
[69894d2] | 5151 | ac_aux_dir= |
---|
[4ad3480] | 5152 | for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
---|
| 5153 | if test -f "$ac_dir/install-sh"; then |
---|
[69894d2] | 5154 | ac_aux_dir=$ac_dir |
---|
| 5155 | ac_install_sh="$ac_aux_dir/install-sh -c" |
---|
| 5156 | break |
---|
[4ad3480] | 5157 | elif test -f "$ac_dir/install.sh"; then |
---|
[69894d2] | 5158 | ac_aux_dir=$ac_dir |
---|
| 5159 | ac_install_sh="$ac_aux_dir/install.sh -c" |
---|
| 5160 | break |
---|
[4ad3480] | 5161 | elif test -f "$ac_dir/shtool"; then |
---|
[8298425] | 5162 | ac_aux_dir=$ac_dir |
---|
| 5163 | ac_install_sh="$ac_aux_dir/shtool install -c" |
---|
| 5164 | break |
---|
[69894d2] | 5165 | fi |
---|
| 5166 | done |
---|
| 5167 | if test -z "$ac_aux_dir"; then |
---|
[4ad3480] | 5168 | { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 |
---|
| 5169 | echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} |
---|
[8298425] | 5170 | { (exit 1); exit 1; }; } |
---|
[69894d2] | 5171 | fi |
---|
[4ad3480] | 5172 | |
---|
| 5173 | # These three variables are undocumented and unsupported, |
---|
| 5174 | # and are intended to be withdrawn in a future Autoconf release. |
---|
| 5175 | # They can cause serious problems if a builder's source tree is in a directory |
---|
| 5176 | # whose full name contains unusual characters. |
---|
| 5177 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. |
---|
| 5178 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. |
---|
| 5179 | ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. |
---|
| 5180 | |
---|
[69894d2] | 5181 | |
---|
| 5182 | # Find a good install program. We prefer a C program (faster), |
---|
| 5183 | # so one script is as good as another. But avoid the broken or |
---|
| 5184 | # incompatible versions: |
---|
| 5185 | # SysV /etc/install, /usr/sbin/install |
---|
| 5186 | # SunOS /usr/etc/install |
---|
| 5187 | # IRIX /sbin/install |
---|
| 5188 | # AIX /bin/install |
---|
[8298425] | 5189 | # AmigaOS /C/install, which installs bootblocks on floppy discs |
---|
[69894d2] | 5190 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
---|
| 5191 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
---|
| 5192 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
---|
[8298425] | 5193 | # OS/2's system install, which has a completely different semantic |
---|
[69894d2] | 5194 | # ./install, which can be erroneously created by make from ./install.sh. |
---|
[4ad3480] | 5195 | { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
---|
| 5196 | echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } |
---|
[69894d2] | 5197 | if test -z "$INSTALL"; then |
---|
[8298425] | 5198 | if test "${ac_cv_path_install+set}" = set; then |
---|
| 5199 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 5200 | else |
---|
| 5201 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 5202 | for as_dir in $PATH |
---|
| 5203 | do |
---|
| 5204 | IFS=$as_save_IFS |
---|
| 5205 | test -z "$as_dir" && as_dir=. |
---|
| 5206 | # Account for people who put trailing slashes in PATH elements. |
---|
| 5207 | case $as_dir/ in |
---|
| 5208 | ./ | .// | /cC/* | \ |
---|
| 5209 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
---|
| 5210 | ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ |
---|
| 5211 | /usr/ucb/* ) ;; |
---|
| 5212 | *) |
---|
| 5213 | # OSF1 and SCO ODT 3.0 have their own names for install. |
---|
| 5214 | # Don't use installbsd from OSF since it installs stuff as root |
---|
| 5215 | # by default. |
---|
| 5216 | for ac_prog in ginstall scoinst install; do |
---|
| 5217 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
[4ad3480] | 5218 | if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then |
---|
[69894d2] | 5219 | if test $ac_prog = install && |
---|
[8298425] | 5220 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
---|
[69894d2] | 5221 | # AIX install. It has an incompatible calling convention. |
---|
| 5222 | : |
---|
[8298425] | 5223 | elif test $ac_prog = install && |
---|
| 5224 | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
---|
| 5225 | # program-specific install script used by HP pwplus--don't use. |
---|
| 5226 | : |
---|
[69894d2] | 5227 | else |
---|
[8298425] | 5228 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
---|
| 5229 | break 3 |
---|
[69894d2] | 5230 | fi |
---|
| 5231 | fi |
---|
| 5232 | done |
---|
[8298425] | 5233 | done |
---|
| 5234 | ;; |
---|
| 5235 | esac |
---|
| 5236 | done |
---|
[4ad3480] | 5237 | IFS=$as_save_IFS |
---|
[8298425] | 5238 | |
---|
[69894d2] | 5239 | |
---|
| 5240 | fi |
---|
| 5241 | if test "${ac_cv_path_install+set}" = set; then |
---|
[8298425] | 5242 | INSTALL=$ac_cv_path_install |
---|
[69894d2] | 5243 | else |
---|
[4ad3480] | 5244 | # As a last resort, use the slow shell script. Don't cache a |
---|
| 5245 | # value for INSTALL within a source directory, because that will |
---|
[69894d2] | 5246 | # break other packages using the cache if that directory is |
---|
[4ad3480] | 5247 | # removed, or if the value is a relative name. |
---|
[8298425] | 5248 | INSTALL=$ac_install_sh |
---|
[69894d2] | 5249 | fi |
---|
| 5250 | fi |
---|
[4ad3480] | 5251 | { echo "$as_me:$LINENO: result: $INSTALL" >&5 |
---|
| 5252 | echo "${ECHO_T}$INSTALL" >&6; } |
---|
[69894d2] | 5253 | |
---|
| 5254 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
---|
| 5255 | # It thinks the first close brace ends the variable substitution. |
---|
| 5256 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
---|
| 5257 | |
---|
[8298425] | 5258 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
---|
[69894d2] | 5259 | |
---|
| 5260 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
---|
| 5261 | |
---|
| 5262 | |
---|
[8298425] | 5263 | subdirs="$subdirs libfaim" |
---|
| 5264 | |
---|
| 5265 | |
---|
[4ad3480] | 5266 | ac_config_files="$ac_config_files Makefile" |
---|
| 5267 | |
---|
[8298425] | 5268 | cat >confcache <<\_ACEOF |
---|
[7d4fbcd] | 5269 | # This file is a shell script that caches the results of configure |
---|
| 5270 | # tests run on this system so they can be shared between configure |
---|
[8298425] | 5271 | # scripts and configure runs, see configure's option --config-cache. |
---|
| 5272 | # It is not useful on other systems. If it contains results you don't |
---|
| 5273 | # want to keep, you may remove or edit it. |
---|
[7d4fbcd] | 5274 | # |
---|
[8298425] | 5275 | # config.status only pays attention to the cache file if you give it |
---|
| 5276 | # the --recheck option to rerun configure. |
---|
[7d4fbcd] | 5277 | # |
---|
[8298425] | 5278 | # `ac_cv_env_foo' variables (set or unset) will be overridden when |
---|
| 5279 | # loading this file, other *unset* `ac_cv_foo' will be assigned the |
---|
| 5280 | # following values. |
---|
| 5281 | |
---|
| 5282 | _ACEOF |
---|
| 5283 | |
---|
[7d4fbcd] | 5284 | # The following way of writing the cache mishandles newlines in values, |
---|
| 5285 | # but we know of no workaround that is simple, portable, and efficient. |
---|
[4ad3480] | 5286 | # So, we kill variables containing newlines. |
---|
[7d4fbcd] | 5287 | # Ultrix sh set writes to stderr and can't be redirected directly, |
---|
| 5288 | # and sets the high bit in the cache file unless we assign to the vars. |
---|
[4ad3480] | 5289 | ( |
---|
| 5290 | for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do |
---|
| 5291 | eval ac_val=\$$ac_var |
---|
| 5292 | case $ac_val in #( |
---|
| 5293 | *${as_nl}*) |
---|
| 5294 | case $ac_var in #( |
---|
| 5295 | *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 |
---|
| 5296 | echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; |
---|
| 5297 | esac |
---|
| 5298 | case $ac_var in #( |
---|
| 5299 | _ | IFS | as_nl) ;; #( |
---|
| 5300 | *) $as_unset $ac_var ;; |
---|
| 5301 | esac ;; |
---|
| 5302 | esac |
---|
| 5303 | done |
---|
| 5304 | |
---|
[8298425] | 5305 | (set) 2>&1 | |
---|
[4ad3480] | 5306 | case $as_nl`(ac_space=' '; set) 2>&1` in #( |
---|
| 5307 | *${as_nl}ac_space=\ *) |
---|
[8298425] | 5308 | # `set' does not quote correctly, so add quotes (double-quote |
---|
| 5309 | # substitution turns \\\\ into \\, and sed turns \\ into \). |
---|
| 5310 | sed -n \ |
---|
| 5311 | "s/'/'\\\\''/g; |
---|
| 5312 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
---|
[4ad3480] | 5313 | ;; #( |
---|
[8298425] | 5314 | *) |
---|
| 5315 | # `set' quotes correctly as required by POSIX, so do not add quotes. |
---|
[4ad3480] | 5316 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
---|
[8298425] | 5317 | ;; |
---|
[4ad3480] | 5318 | esac | |
---|
| 5319 | sort |
---|
| 5320 | ) | |
---|
[8298425] | 5321 | sed ' |
---|
[4ad3480] | 5322 | /^ac_cv_env_/b end |
---|
[8298425] | 5323 | t clear |
---|
[4ad3480] | 5324 | :clear |
---|
[8298425] | 5325 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
---|
| 5326 | t end |
---|
[4ad3480] | 5327 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
---|
| 5328 | :end' >>confcache |
---|
| 5329 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
---|
| 5330 | if test -w "$cache_file"; then |
---|
| 5331 | test "x$cache_file" != "x/dev/null" && |
---|
| 5332 | { echo "$as_me:$LINENO: updating cache $cache_file" >&5 |
---|
| 5333 | echo "$as_me: updating cache $cache_file" >&6;} |
---|
[8298425] | 5334 | cat confcache >$cache_file |
---|
[7d4fbcd] | 5335 | else |
---|
[4ad3480] | 5336 | { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 |
---|
| 5337 | echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
---|
[7d4fbcd] | 5338 | fi |
---|
| 5339 | fi |
---|
| 5340 | rm -f confcache |
---|
| 5341 | |
---|
| 5342 | test "x$prefix" = xNONE && prefix=$ac_default_prefix |
---|
| 5343 | # Let make expand exec_prefix. |
---|
| 5344 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
---|
| 5345 | |
---|
| 5346 | DEFS=-DHAVE_CONFIG_H |
---|
| 5347 | |
---|
[8298425] | 5348 | ac_libobjs= |
---|
| 5349 | ac_ltlibobjs= |
---|
| 5350 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
---|
| 5351 | # 1. Remove the extension, and $U if already installed. |
---|
[4ad3480] | 5352 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
---|
| 5353 | ac_i=`echo "$ac_i" | sed "$ac_script"` |
---|
| 5354 | # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
---|
| 5355 | # will be set to the directory where LIBOBJS objects are built. |
---|
| 5356 | ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
---|
| 5357 | ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' |
---|
[8298425] | 5358 | done |
---|
| 5359 | LIBOBJS=$ac_libobjs |
---|
[7d4fbcd] | 5360 | |
---|
[8298425] | 5361 | LTLIBOBJS=$ac_ltlibobjs |
---|
| 5362 | |
---|
| 5363 | |
---|
| 5364 | |
---|
| 5365 | : ${CONFIG_STATUS=./config.status} |
---|
| 5366 | ac_clean_files_save=$ac_clean_files |
---|
| 5367 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
---|
| 5368 | { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 |
---|
| 5369 | echo "$as_me: creating $CONFIG_STATUS" >&6;} |
---|
| 5370 | cat >$CONFIG_STATUS <<_ACEOF |
---|
| 5371 | #! $SHELL |
---|
| 5372 | # Generated by $as_me. |
---|
[7d4fbcd] | 5373 | # Run this file to recreate the current configuration. |
---|
| 5374 | # Compiler output produced by configure, useful for debugging |
---|
[8298425] | 5375 | # configure, is in config.log if it exists. |
---|
| 5376 | |
---|
| 5377 | debug=false |
---|
| 5378 | ac_cs_recheck=false |
---|
| 5379 | ac_cs_silent=false |
---|
| 5380 | SHELL=\${CONFIG_SHELL-$SHELL} |
---|
| 5381 | _ACEOF |
---|
| 5382 | |
---|
| 5383 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
| 5384 | ## --------------------- ## |
---|
| 5385 | ## M4sh Initialization. ## |
---|
| 5386 | ## --------------------- ## |
---|
| 5387 | |
---|
| 5388 | # Be Bourne compatible |
---|
| 5389 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
---|
| 5390 | emulate sh |
---|
| 5391 | NULLCMD=: |
---|
| 5392 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
---|
| 5393 | # is contrary to our usage. Disable this feature. |
---|
| 5394 | alias -g '${1+"$@"}'='"$@"' |
---|
[4ad3480] | 5395 | setopt NO_GLOB_SUBST |
---|
| 5396 | else |
---|
| 5397 | case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac |
---|
[8298425] | 5398 | fi |
---|
[4ad3480] | 5399 | BIN_SH=xpg4; export BIN_SH # for Tru64 |
---|
[8298425] | 5400 | DUALCASE=1; export DUALCASE # for MKS sh |
---|
[7d4fbcd] | 5401 | |
---|
[4ad3480] | 5402 | |
---|
| 5403 | # PATH needs CR |
---|
| 5404 | # Avoid depending upon Character Ranges. |
---|
| 5405 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
---|
| 5406 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
---|
| 5407 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
---|
| 5408 | as_cr_digits='0123456789' |
---|
| 5409 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
---|
| 5410 | |
---|
| 5411 | # The user is always right. |
---|
| 5412 | if test "${PATH_SEPARATOR+set}" != set; then |
---|
| 5413 | echo "#! /bin/sh" >conf$$.sh |
---|
| 5414 | echo "exit 0" >>conf$$.sh |
---|
| 5415 | chmod +x conf$$.sh |
---|
| 5416 | if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
---|
| 5417 | PATH_SEPARATOR=';' |
---|
| 5418 | else |
---|
| 5419 | PATH_SEPARATOR=: |
---|
| 5420 | fi |
---|
| 5421 | rm -f conf$$.sh |
---|
| 5422 | fi |
---|
| 5423 | |
---|
[8298425] | 5424 | # Support unset when possible. |
---|
| 5425 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
---|
| 5426 | as_unset=unset |
---|
| 5427 | else |
---|
| 5428 | as_unset=false |
---|
| 5429 | fi |
---|
| 5430 | |
---|
| 5431 | |
---|
[4ad3480] | 5432 | # IFS |
---|
| 5433 | # We need space, tab and new line, in precisely that order. Quoting is |
---|
| 5434 | # there to prevent editors from complaining about space-tab. |
---|
| 5435 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
---|
| 5436 | # splitting by setting IFS to empty value.) |
---|
| 5437 | as_nl=' |
---|
| 5438 | ' |
---|
| 5439 | IFS=" "" $as_nl" |
---|
| 5440 | |
---|
| 5441 | # Find who we are. Look in the path if we contain no directory separator. |
---|
| 5442 | case $0 in |
---|
| 5443 | *[\\/]* ) as_myself=$0 ;; |
---|
| 5444 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 5445 | for as_dir in $PATH |
---|
| 5446 | do |
---|
| 5447 | IFS=$as_save_IFS |
---|
| 5448 | test -z "$as_dir" && as_dir=. |
---|
| 5449 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
---|
| 5450 | done |
---|
| 5451 | IFS=$as_save_IFS |
---|
| 5452 | |
---|
| 5453 | ;; |
---|
| 5454 | esac |
---|
| 5455 | # We did not find ourselves, most probably we were run as `sh COMMAND' |
---|
| 5456 | # in which case we are not to be found in the path. |
---|
| 5457 | if test "x$as_myself" = x; then |
---|
| 5458 | as_myself=$0 |
---|
| 5459 | fi |
---|
| 5460 | if test ! -f "$as_myself"; then |
---|
| 5461 | echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
---|
| 5462 | { (exit 1); exit 1; } |
---|
| 5463 | fi |
---|
| 5464 | |
---|
[8298425] | 5465 | # Work around bugs in pre-3.0 UWIN ksh. |
---|
[4ad3480] | 5466 | for as_var in ENV MAIL MAILPATH |
---|
| 5467 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
---|
| 5468 | done |
---|
[8298425] | 5469 | PS1='$ ' |
---|
| 5470 | PS2='> ' |
---|
| 5471 | PS4='+ ' |
---|
| 5472 | |
---|
| 5473 | # NLS nuisances. |
---|
| 5474 | for as_var in \ |
---|
| 5475 | LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
---|
| 5476 | LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
---|
| 5477 | LC_TELEPHONE LC_TIME |
---|
[7d4fbcd] | 5478 | do |
---|
[8298425] | 5479 | if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
---|
| 5480 | eval $as_var=C; export $as_var |
---|
| 5481 | else |
---|
[4ad3480] | 5482 | ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
---|
[8298425] | 5483 | fi |
---|
[7d4fbcd] | 5484 | done |
---|
| 5485 | |
---|
[8298425] | 5486 | # Required to use basename. |
---|
[4ad3480] | 5487 | if expr a : '\(a\)' >/dev/null 2>&1 && |
---|
| 5488 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
---|
[8298425] | 5489 | as_expr=expr |
---|
| 5490 | else |
---|
| 5491 | as_expr=false |
---|
| 5492 | fi |
---|
[7d4fbcd] | 5493 | |
---|
[4ad3480] | 5494 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
---|
[8298425] | 5495 | as_basename=basename |
---|
| 5496 | else |
---|
| 5497 | as_basename=false |
---|
| 5498 | fi |
---|
[7d4fbcd] | 5499 | |
---|
| 5500 | |
---|
[8298425] | 5501 | # Name of the executable. |
---|
[4ad3480] | 5502 | as_me=`$as_basename -- "$0" || |
---|
[8298425] | 5503 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
---|
| 5504 | X"$0" : 'X\(//\)$' \| \ |
---|
[4ad3480] | 5505 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
---|
[8298425] | 5506 | echo X/"$0" | |
---|
[4ad3480] | 5507 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
---|
| 5508 | s//\1/ |
---|
| 5509 | q |
---|
| 5510 | } |
---|
| 5511 | /^X\/\(\/\/\)$/{ |
---|
| 5512 | s//\1/ |
---|
| 5513 | q |
---|
| 5514 | } |
---|
| 5515 | /^X\/\(\/\).*/{ |
---|
| 5516 | s//\1/ |
---|
| 5517 | q |
---|
| 5518 | } |
---|
| 5519 | s/.*/./; q'` |
---|
[8298425] | 5520 | |
---|
[4ad3480] | 5521 | # CDPATH. |
---|
| 5522 | $as_unset CDPATH |
---|
[8298425] | 5523 | |
---|
| 5524 | |
---|
| 5525 | |
---|
| 5526 | as_lineno_1=$LINENO |
---|
| 5527 | as_lineno_2=$LINENO |
---|
| 5528 | test "x$as_lineno_1" != "x$as_lineno_2" && |
---|
[4ad3480] | 5529 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { |
---|
[8298425] | 5530 | |
---|
| 5531 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
---|
| 5532 | # uniformly replaced by the line number. The first 'sed' inserts a |
---|
[4ad3480] | 5533 | # line-number line after each line using $LINENO; the second 'sed' |
---|
| 5534 | # does the real work. The second script uses 'N' to pair each |
---|
| 5535 | # line-number line with the line containing $LINENO, and appends |
---|
| 5536 | # trailing '-' during substitution so that $LINENO is not a special |
---|
| 5537 | # case at line end. |
---|
[8298425] | 5538 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
---|
[4ad3480] | 5539 | # scripts with optimization help from Paolo Bonzini. Blame Lee |
---|
| 5540 | # E. McMahon (1931-1989) for sed's syntax. :-) |
---|
| 5541 | sed -n ' |
---|
| 5542 | p |
---|
| 5543 | /[$]LINENO/= |
---|
| 5544 | ' <$as_myself | |
---|
[8298425] | 5545 | sed ' |
---|
[4ad3480] | 5546 | s/[$]LINENO.*/&-/ |
---|
| 5547 | t lineno |
---|
| 5548 | b |
---|
| 5549 | :lineno |
---|
[8298425] | 5550 | N |
---|
[4ad3480] | 5551 | :loop |
---|
| 5552 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
---|
[8298425] | 5553 | t loop |
---|
[4ad3480] | 5554 | s/-\n.*// |
---|
[8298425] | 5555 | ' >$as_me.lineno && |
---|
[4ad3480] | 5556 | chmod +x "$as_me.lineno" || |
---|
| 5557 | { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
---|
[8298425] | 5558 | { (exit 1); exit 1; }; } |
---|
| 5559 | |
---|
| 5560 | # Don't try to exec as it changes $[0], causing all sort of problems |
---|
| 5561 | # (the dirname of $[0] is not the place where we might find the |
---|
[4ad3480] | 5562 | # original and so on. Autoconf is especially sensitive to this). |
---|
| 5563 | . "./$as_me.lineno" |
---|
[8298425] | 5564 | # Exit status is that of the last command. |
---|
| 5565 | exit |
---|
| 5566 | } |
---|
| 5567 | |
---|
| 5568 | |
---|
[4ad3480] | 5569 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
---|
| 5570 | as_dirname=dirname |
---|
| 5571 | else |
---|
| 5572 | as_dirname=false |
---|
| 5573 | fi |
---|
| 5574 | |
---|
| 5575 | ECHO_C= ECHO_N= ECHO_T= |
---|
| 5576 | case `echo -n x` in |
---|
| 5577 | -n*) |
---|
| 5578 | case `echo 'x\c'` in |
---|
| 5579 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
---|
| 5580 | *) ECHO_C='\c';; |
---|
| 5581 | esac;; |
---|
| 5582 | *) |
---|
| 5583 | ECHO_N='-n';; |
---|
[8298425] | 5584 | esac |
---|
| 5585 | |
---|
[4ad3480] | 5586 | if expr a : '\(a\)' >/dev/null 2>&1 && |
---|
| 5587 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
---|
[8298425] | 5588 | as_expr=expr |
---|
| 5589 | else |
---|
| 5590 | as_expr=false |
---|
| 5591 | fi |
---|
| 5592 | |
---|
| 5593 | rm -f conf$$ conf$$.exe conf$$.file |
---|
[4ad3480] | 5594 | if test -d conf$$.dir; then |
---|
| 5595 | rm -f conf$$.dir/conf$$.file |
---|
| 5596 | else |
---|
| 5597 | rm -f conf$$.dir |
---|
| 5598 | mkdir conf$$.dir |
---|
| 5599 | fi |
---|
[8298425] | 5600 | echo >conf$$.file |
---|
| 5601 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
---|
[4ad3480] | 5602 | as_ln_s='ln -s' |
---|
| 5603 | # ... but there are two gotchas: |
---|
| 5604 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
---|
| 5605 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
---|
| 5606 | # In both cases, we have to default to `cp -p'. |
---|
| 5607 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
---|
[8298425] | 5608 | as_ln_s='cp -p' |
---|
| 5609 | elif ln conf$$.file conf$$ 2>/dev/null; then |
---|
| 5610 | as_ln_s=ln |
---|
| 5611 | else |
---|
| 5612 | as_ln_s='cp -p' |
---|
| 5613 | fi |
---|
[4ad3480] | 5614 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
---|
| 5615 | rmdir conf$$.dir 2>/dev/null |
---|
[8298425] | 5616 | |
---|
| 5617 | if mkdir -p . 2>/dev/null; then |
---|
| 5618 | as_mkdir_p=: |
---|
| 5619 | else |
---|
| 5620 | test -d ./-p && rmdir ./-p |
---|
| 5621 | as_mkdir_p=false |
---|
| 5622 | fi |
---|
| 5623 | |
---|
[4ad3480] | 5624 | # Find out whether ``test -x'' works. Don't use a zero-byte file, as |
---|
| 5625 | # systems may use methods other than mode bits to determine executability. |
---|
| 5626 | cat >conf$$.file <<_ASEOF |
---|
| 5627 | #! /bin/sh |
---|
| 5628 | exit 0 |
---|
| 5629 | _ASEOF |
---|
| 5630 | chmod +x conf$$.file |
---|
| 5631 | if test -x conf$$.file >/dev/null 2>&1; then |
---|
| 5632 | as_executable_p="test -x" |
---|
| 5633 | else |
---|
| 5634 | as_executable_p=: |
---|
| 5635 | fi |
---|
| 5636 | rm -f conf$$.file |
---|
[8298425] | 5637 | |
---|
| 5638 | # Sed expression to map a string onto a valid CPP name. |
---|
| 5639 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
---|
| 5640 | |
---|
| 5641 | # Sed expression to map a string onto a valid variable name. |
---|
| 5642 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
---|
| 5643 | |
---|
| 5644 | |
---|
| 5645 | exec 6>&1 |
---|
| 5646 | |
---|
[4ad3480] | 5647 | # Save the log message, to keep $[0] and so on meaningful, and to |
---|
[8298425] | 5648 | # report actual input values of CONFIG_FILES etc. instead of their |
---|
[4ad3480] | 5649 | # values after options handling. |
---|
| 5650 | ac_log=" |
---|
[8298425] | 5651 | This file was extended by $as_me, which was |
---|
[4ad3480] | 5652 | generated by GNU Autoconf 2.60. Invocation command line was |
---|
[8298425] | 5653 | |
---|
| 5654 | CONFIG_FILES = $CONFIG_FILES |
---|
| 5655 | CONFIG_HEADERS = $CONFIG_HEADERS |
---|
| 5656 | CONFIG_LINKS = $CONFIG_LINKS |
---|
| 5657 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
---|
| 5658 | $ $0 $@ |
---|
| 5659 | |
---|
[4ad3480] | 5660 | on `(hostname || uname -n) 2>/dev/null | sed 1q` |
---|
| 5661 | " |
---|
| 5662 | |
---|
[8298425] | 5663 | _ACEOF |
---|
| 5664 | |
---|
[4ad3480] | 5665 | cat >>$CONFIG_STATUS <<_ACEOF |
---|
[8298425] | 5666 | # Files that config.status was made for. |
---|
[4ad3480] | 5667 | config_files="$ac_config_files" |
---|
| 5668 | config_headers="$ac_config_headers" |
---|
[8298425] | 5669 | |
---|
[4ad3480] | 5670 | _ACEOF |
---|
[8298425] | 5671 | |
---|
| 5672 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
| 5673 | ac_cs_usage="\ |
---|
| 5674 | \`$as_me' instantiates files from templates according to the |
---|
| 5675 | current configuration. |
---|
| 5676 | |
---|
| 5677 | Usage: $0 [OPTIONS] [FILE]... |
---|
| 5678 | |
---|
| 5679 | -h, --help print this help, then exit |
---|
| 5680 | -V, --version print version number, then exit |
---|
| 5681 | -q, --quiet do not print progress messages |
---|
| 5682 | -d, --debug don't remove temporary files |
---|
| 5683 | --recheck update $as_me by reconfiguring in the same conditions |
---|
| 5684 | --file=FILE[:TEMPLATE] |
---|
| 5685 | instantiate the configuration file FILE |
---|
| 5686 | --header=FILE[:TEMPLATE] |
---|
| 5687 | instantiate the configuration header FILE |
---|
| 5688 | |
---|
| 5689 | Configuration files: |
---|
| 5690 | $config_files |
---|
| 5691 | |
---|
| 5692 | Configuration headers: |
---|
| 5693 | $config_headers |
---|
| 5694 | |
---|
| 5695 | Report bugs to <bug-autoconf@gnu.org>." |
---|
| 5696 | |
---|
[4ad3480] | 5697 | _ACEOF |
---|
[8298425] | 5698 | cat >>$CONFIG_STATUS <<_ACEOF |
---|
| 5699 | ac_cs_version="\\ |
---|
| 5700 | config.status |
---|
[4ad3480] | 5701 | configured by $0, generated by GNU Autoconf 2.60, |
---|
| 5702 | with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" |
---|
[8298425] | 5703 | |
---|
[4ad3480] | 5704 | Copyright (C) 2006 Free Software Foundation, Inc. |
---|
[8298425] | 5705 | This config.status script is free software; the Free Software Foundation |
---|
| 5706 | gives unlimited permission to copy, distribute and modify it." |
---|
[4ad3480] | 5707 | |
---|
| 5708 | ac_pwd='$ac_pwd' |
---|
| 5709 | srcdir='$srcdir' |
---|
| 5710 | INSTALL='$INSTALL' |
---|
[8298425] | 5711 | _ACEOF |
---|
| 5712 | |
---|
| 5713 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
| 5714 | # If no file are specified by the user, then we need to provide default |
---|
| 5715 | # value. By we need to know if files were specified by the user. |
---|
| 5716 | ac_need_defaults=: |
---|
| 5717 | while test $# != 0 |
---|
| 5718 | do |
---|
| 5719 | case $1 in |
---|
| 5720 | --*=*) |
---|
[4ad3480] | 5721 | ac_option=`expr "X$1" : 'X\([^=]*\)='` |
---|
| 5722 | ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
---|
[8298425] | 5723 | ac_shift=: |
---|
| 5724 | ;; |
---|
[4ad3480] | 5725 | *) |
---|
[8298425] | 5726 | ac_option=$1 |
---|
| 5727 | ac_optarg=$2 |
---|
| 5728 | ac_shift=shift |
---|
| 5729 | ;; |
---|
| 5730 | esac |
---|
| 5731 | |
---|
| 5732 | case $ac_option in |
---|
| 5733 | # Handling of the options. |
---|
| 5734 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
---|
| 5735 | ac_cs_recheck=: ;; |
---|
[4ad3480] | 5736 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
---|
| 5737 | echo "$ac_cs_version"; exit ;; |
---|
| 5738 | --debug | --debu | --deb | --de | --d | -d ) |
---|
[8298425] | 5739 | debug=: ;; |
---|
| 5740 | --file | --fil | --fi | --f ) |
---|
| 5741 | $ac_shift |
---|
| 5742 | CONFIG_FILES="$CONFIG_FILES $ac_optarg" |
---|
| 5743 | ac_need_defaults=false;; |
---|
| 5744 | --header | --heade | --head | --hea ) |
---|
| 5745 | $ac_shift |
---|
| 5746 | CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" |
---|
| 5747 | ac_need_defaults=false;; |
---|
[4ad3480] | 5748 | --he | --h) |
---|
| 5749 | # Conflict between --help and --header |
---|
| 5750 | { echo "$as_me: error: ambiguous option: $1 |
---|
| 5751 | Try \`$0 --help' for more information." >&2 |
---|
| 5752 | { (exit 1); exit 1; }; };; |
---|
| 5753 | --help | --hel | -h ) |
---|
| 5754 | echo "$ac_cs_usage"; exit ;; |
---|
[8298425] | 5755 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
---|
| 5756 | | -silent | --silent | --silen | --sile | --sil | --si | --s) |
---|
| 5757 | ac_cs_silent=: ;; |
---|
| 5758 | |
---|
| 5759 | # This is an error. |
---|
[4ad3480] | 5760 | -*) { echo "$as_me: error: unrecognized option: $1 |
---|
| 5761 | Try \`$0 --help' for more information." >&2 |
---|
[8298425] | 5762 | { (exit 1); exit 1; }; } ;; |
---|
| 5763 | |
---|
[4ad3480] | 5764 | *) ac_config_targets="$ac_config_targets $1" |
---|
| 5765 | ac_need_defaults=false ;; |
---|
[8298425] | 5766 | |
---|
| 5767 | esac |
---|
| 5768 | shift |
---|
[7d4fbcd] | 5769 | done |
---|
[8298425] | 5770 | |
---|
| 5771 | ac_configure_extra_args= |
---|
| 5772 | |
---|
| 5773 | if $ac_cs_silent; then |
---|
| 5774 | exec 6>/dev/null |
---|
| 5775 | ac_configure_extra_args="$ac_configure_extra_args --silent" |
---|
| 5776 | fi |
---|
| 5777 | |
---|
| 5778 | _ACEOF |
---|
| 5779 | cat >>$CONFIG_STATUS <<_ACEOF |
---|
| 5780 | if \$ac_cs_recheck; then |
---|
[4ad3480] | 5781 | echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 |
---|
| 5782 | CONFIG_SHELL=$SHELL |
---|
| 5783 | export CONFIG_SHELL |
---|
| 5784 | exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
---|
[7d4fbcd] | 5785 | fi |
---|
| 5786 | |
---|
[8298425] | 5787 | _ACEOF |
---|
[4ad3480] | 5788 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
| 5789 | exec 5>>config.log |
---|
| 5790 | { |
---|
| 5791 | echo |
---|
| 5792 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
---|
| 5793 | ## Running $as_me. ## |
---|
| 5794 | _ASBOX |
---|
| 5795 | echo "$ac_log" |
---|
| 5796 | } >&5 |
---|
[7d4fbcd] | 5797 | |
---|
[4ad3480] | 5798 | _ACEOF |
---|
| 5799 | cat >>$CONFIG_STATUS <<_ACEOF |
---|
| 5800 | _ACEOF |
---|
[8298425] | 5801 | |
---|
| 5802 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
[4ad3480] | 5803 | |
---|
| 5804 | # Handling of arguments. |
---|
[8298425] | 5805 | for ac_config_target in $ac_config_targets |
---|
| 5806 | do |
---|
[4ad3480] | 5807 | case $ac_config_target in |
---|
| 5808 | "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; |
---|
| 5809 | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
---|
| 5810 | |
---|
[8298425] | 5811 | *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
---|
| 5812 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
---|
| 5813 | { (exit 1); exit 1; }; };; |
---|
[7d4fbcd] | 5814 | esac |
---|
[8298425] | 5815 | done |
---|
[7d4fbcd] | 5816 | |
---|
[4ad3480] | 5817 | |
---|
[8298425] | 5818 | # If the user did not use the arguments to specify the items to instantiate, |
---|
| 5819 | # then the envvar interface is used. Set only those that are not. |
---|
| 5820 | # We use the long form for the default assignment because of an extremely |
---|
| 5821 | # bizarre bug on SunOS 4.1.3. |
---|
| 5822 | if $ac_need_defaults; then |
---|
| 5823 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files |
---|
| 5824 | test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers |
---|
| 5825 | fi |
---|
[7d4fbcd] | 5826 | |
---|
[8298425] | 5827 | # Have a temporary directory for convenience. Make it in the build tree |
---|
[4ad3480] | 5828 | # simply because there is no reason against having it here, and in addition, |
---|
[8298425] | 5829 | # creating and moving files from /tmp can sometimes cause problems. |
---|
[4ad3480] | 5830 | # Hook for its removal unless debugging. |
---|
| 5831 | # Note that there is a small window in which the directory will not be cleaned: |
---|
| 5832 | # after its creation but before its name has been assigned to `$tmp'. |
---|
[8298425] | 5833 | $debug || |
---|
| 5834 | { |
---|
[4ad3480] | 5835 | tmp= |
---|
| 5836 | trap 'exit_status=$? |
---|
| 5837 | { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status |
---|
| 5838 | ' 0 |
---|
[8298425] | 5839 | trap '{ (exit 1); exit 1; }' 1 2 13 15 |
---|
| 5840 | } |
---|
| 5841 | # Create a (secure) tmp directory for tmp files. |
---|
| 5842 | |
---|
| 5843 | { |
---|
[4ad3480] | 5844 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
---|
[8298425] | 5845 | test -n "$tmp" && test -d "$tmp" |
---|
| 5846 | } || |
---|
| 5847 | { |
---|
[4ad3480] | 5848 | tmp=./conf$$-$RANDOM |
---|
| 5849 | (umask 077 && mkdir "$tmp") |
---|
[8298425] | 5850 | } || |
---|
| 5851 | { |
---|
| 5852 | echo "$me: cannot create a temporary directory in ." >&2 |
---|
| 5853 | { (exit 1); exit 1; } |
---|
| 5854 | } |
---|
| 5855 | |
---|
| 5856 | # |
---|
[4ad3480] | 5857 | # Set up the sed scripts for CONFIG_FILES section. |
---|
[8298425] | 5858 | # |
---|
| 5859 | |
---|
| 5860 | # No need to generate the scripts if there are no CONFIG_FILES. |
---|
| 5861 | # This happens for instance when ./config.status config.h |
---|
[4ad3480] | 5862 | if test -n "$CONFIG_FILES"; then |
---|
[8298425] | 5863 | |
---|
| 5864 | _ACEOF |
---|
| 5865 | |
---|
[4ad3480] | 5866 | |
---|
| 5867 | |
---|
| 5868 | ac_delim='%!_!# ' |
---|
| 5869 | for ac_last_try in false false false false false :; do |
---|
| 5870 | cat >conf$$subs.sed <<_ACEOF |
---|
| 5871 | SHELL!$SHELL$ac_delim |
---|
| 5872 | PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim |
---|
| 5873 | PACKAGE_NAME!$PACKAGE_NAME$ac_delim |
---|
| 5874 | PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim |
---|
| 5875 | PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim |
---|
| 5876 | PACKAGE_STRING!$PACKAGE_STRING$ac_delim |
---|
| 5877 | PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim |
---|
| 5878 | exec_prefix!$exec_prefix$ac_delim |
---|
| 5879 | prefix!$prefix$ac_delim |
---|
| 5880 | program_transform_name!$program_transform_name$ac_delim |
---|
| 5881 | bindir!$bindir$ac_delim |
---|
| 5882 | sbindir!$sbindir$ac_delim |
---|
| 5883 | libexecdir!$libexecdir$ac_delim |
---|
| 5884 | datarootdir!$datarootdir$ac_delim |
---|
| 5885 | datadir!$datadir$ac_delim |
---|
| 5886 | sysconfdir!$sysconfdir$ac_delim |
---|
| 5887 | sharedstatedir!$sharedstatedir$ac_delim |
---|
| 5888 | localstatedir!$localstatedir$ac_delim |
---|
| 5889 | includedir!$includedir$ac_delim |
---|
| 5890 | oldincludedir!$oldincludedir$ac_delim |
---|
| 5891 | docdir!$docdir$ac_delim |
---|
| 5892 | infodir!$infodir$ac_delim |
---|
| 5893 | htmldir!$htmldir$ac_delim |
---|
| 5894 | dvidir!$dvidir$ac_delim |
---|
| 5895 | pdfdir!$pdfdir$ac_delim |
---|
| 5896 | psdir!$psdir$ac_delim |
---|
| 5897 | libdir!$libdir$ac_delim |
---|
| 5898 | localedir!$localedir$ac_delim |
---|
| 5899 | mandir!$mandir$ac_delim |
---|
| 5900 | DEFS!$DEFS$ac_delim |
---|
| 5901 | ECHO_C!$ECHO_C$ac_delim |
---|
| 5902 | ECHO_N!$ECHO_N$ac_delim |
---|
| 5903 | ECHO_T!$ECHO_T$ac_delim |
---|
| 5904 | LIBS!$LIBS$ac_delim |
---|
| 5905 | build_alias!$build_alias$ac_delim |
---|
| 5906 | host_alias!$host_alias$ac_delim |
---|
| 5907 | target_alias!$target_alias$ac_delim |
---|
| 5908 | CC!$CC$ac_delim |
---|
| 5909 | CFLAGS!$CFLAGS$ac_delim |
---|
| 5910 | LDFLAGS!$LDFLAGS$ac_delim |
---|
| 5911 | CPPFLAGS!$CPPFLAGS$ac_delim |
---|
| 5912 | ac_ct_CC!$ac_ct_CC$ac_delim |
---|
| 5913 | EXEEXT!$EXEEXT$ac_delim |
---|
| 5914 | OBJEXT!$OBJEXT$ac_delim |
---|
| 5915 | CPP!$CPP$ac_delim |
---|
| 5916 | GREP!$GREP$ac_delim |
---|
| 5917 | EGREP!$EGREP$ac_delim |
---|
[15bd5ef] | 5918 | XSUBPPDIR!$XSUBPPDIR$ac_delim |
---|
[4ad3480] | 5919 | XSUBPPFLAGS!$XSUBPPFLAGS$ac_delim |
---|
| 5920 | INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim |
---|
| 5921 | INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim |
---|
| 5922 | INSTALL_DATA!$INSTALL_DATA$ac_delim |
---|
| 5923 | subdirs!$subdirs$ac_delim |
---|
| 5924 | LIBOBJS!$LIBOBJS$ac_delim |
---|
| 5925 | LTLIBOBJS!$LTLIBOBJS$ac_delim |
---|
| 5926 | _ACEOF |
---|
| 5927 | |
---|
[15bd5ef] | 5928 | if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 55; then |
---|
[4ad3480] | 5929 | break |
---|
| 5930 | elif $ac_last_try; then |
---|
| 5931 | { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
---|
| 5932 | echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
---|
| 5933 | { (exit 1); exit 1; }; } |
---|
| 5934 | else |
---|
| 5935 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
---|
[7d4fbcd] | 5936 | fi |
---|
[4ad3480] | 5937 | done |
---|
| 5938 | |
---|
| 5939 | ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` |
---|
| 5940 | if test -n "$ac_eof"; then |
---|
| 5941 | ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` |
---|
| 5942 | ac_eof=`expr $ac_eof + 1` |
---|
| 5943 | fi |
---|
[7d4fbcd] | 5944 | |
---|
[4ad3480] | 5945 | cat >>$CONFIG_STATUS <<_ACEOF |
---|
| 5946 | cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof |
---|
| 5947 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end |
---|
[8298425] | 5948 | _ACEOF |
---|
[4ad3480] | 5949 | sed ' |
---|
| 5950 | s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g |
---|
| 5951 | s/^/s,@/; s/!/@,|#_!!_#|/ |
---|
| 5952 | :n |
---|
| 5953 | t n |
---|
| 5954 | s/'"$ac_delim"'$/,g/; t |
---|
| 5955 | s/$/\\/; p |
---|
| 5956 | N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n |
---|
| 5957 | ' >>$CONFIG_STATUS <conf$$subs.sed |
---|
| 5958 | rm -f conf$$subs.sed |
---|
| 5959 | cat >>$CONFIG_STATUS <<_ACEOF |
---|
| 5960 | :end |
---|
| 5961 | s/|#_!!_#|//g |
---|
| 5962 | CEOF$ac_eof |
---|
| 5963 | _ACEOF |
---|
| 5964 | |
---|
| 5965 | |
---|
| 5966 | # VPATH may cause trouble with some makes, so we remove $(srcdir), |
---|
| 5967 | # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and |
---|
| 5968 | # trailing colons and then remove the whole line if VPATH becomes empty |
---|
| 5969 | # (actually we leave an empty line to preserve line numbers). |
---|
| 5970 | if test "x$srcdir" = x.; then |
---|
| 5971 | ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
---|
| 5972 | s/:*\$(srcdir):*/:/ |
---|
| 5973 | s/:*\${srcdir}:*/:/ |
---|
| 5974 | s/:*@srcdir@:*/:/ |
---|
| 5975 | s/^\([^=]*=[ ]*\):*/\1/ |
---|
| 5976 | s/:*$// |
---|
| 5977 | s/^[^=]*=[ ]*$// |
---|
| 5978 | }' |
---|
| 5979 | fi |
---|
| 5980 | |
---|
[8298425] | 5981 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
[4ad3480] | 5982 | fi # test -n "$CONFIG_FILES" |
---|
| 5983 | |
---|
| 5984 | |
---|
| 5985 | for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS |
---|
| 5986 | do |
---|
| 5987 | case $ac_tag in |
---|
| 5988 | :[FHLC]) ac_mode=$ac_tag; continue;; |
---|
| 5989 | esac |
---|
| 5990 | case $ac_mode$ac_tag in |
---|
| 5991 | :[FHL]*:*);; |
---|
| 5992 | :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 |
---|
| 5993 | echo "$as_me: error: Invalid tag $ac_tag." >&2;} |
---|
| 5994 | { (exit 1); exit 1; }; };; |
---|
| 5995 | :[FH]-) ac_tag=-:-;; |
---|
| 5996 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
---|
| 5997 | esac |
---|
| 5998 | ac_save_IFS=$IFS |
---|
| 5999 | IFS=: |
---|
| 6000 | set x $ac_tag |
---|
| 6001 | IFS=$ac_save_IFS |
---|
| 6002 | shift |
---|
| 6003 | ac_file=$1 |
---|
| 6004 | shift |
---|
| 6005 | |
---|
| 6006 | case $ac_mode in |
---|
| 6007 | :L) ac_source=$1;; |
---|
| 6008 | :[FH]) |
---|
| 6009 | ac_file_inputs= |
---|
| 6010 | for ac_f |
---|
| 6011 | do |
---|
| 6012 | case $ac_f in |
---|
| 6013 | -) ac_f="$tmp/stdin";; |
---|
| 6014 | *) # Look for the file first in the build tree, then in the source tree |
---|
| 6015 | # (if the path is not absolute). The absolute path cannot be DOS-style, |
---|
| 6016 | # because $ac_f cannot contain `:'. |
---|
| 6017 | test -f "$ac_f" || |
---|
| 6018 | case $ac_f in |
---|
| 6019 | [\\/$]*) false;; |
---|
| 6020 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
---|
| 6021 | esac || |
---|
| 6022 | { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 |
---|
| 6023 | echo "$as_me: error: cannot find input file: $ac_f" >&2;} |
---|
| 6024 | { (exit 1); exit 1; }; };; |
---|
| 6025 | esac |
---|
| 6026 | ac_file_inputs="$ac_file_inputs $ac_f" |
---|
| 6027 | done |
---|
| 6028 | |
---|
| 6029 | # Let's still pretend it is `configure' which instantiates (i.e., don't |
---|
| 6030 | # use $as_me), people would be surprised to read: |
---|
| 6031 | # /* config.h. Generated by config.status. */ |
---|
| 6032 | configure_input="Generated from "`IFS=: |
---|
| 6033 | echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." |
---|
| 6034 | if test x"$ac_file" != x-; then |
---|
| 6035 | configure_input="$ac_file. $configure_input" |
---|
| 6036 | { echo "$as_me:$LINENO: creating $ac_file" >&5 |
---|
| 6037 | echo "$as_me: creating $ac_file" >&6;} |
---|
| 6038 | fi |
---|
| 6039 | |
---|
| 6040 | case $ac_tag in |
---|
| 6041 | *:-:* | *:-) cat >"$tmp/stdin";; |
---|
| 6042 | esac |
---|
| 6043 | ;; |
---|
[7d4fbcd] | 6044 | esac |
---|
| 6045 | |
---|
[4ad3480] | 6046 | ac_dir=`$as_dirname -- "$ac_file" || |
---|
[8298425] | 6047 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
| 6048 | X"$ac_file" : 'X\(//\)[^/]' \| \ |
---|
| 6049 | X"$ac_file" : 'X\(//\)$' \| \ |
---|
[4ad3480] | 6050 | X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || |
---|
[8298425] | 6051 | echo X"$ac_file" | |
---|
[4ad3480] | 6052 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
| 6053 | s//\1/ |
---|
| 6054 | q |
---|
| 6055 | } |
---|
| 6056 | /^X\(\/\/\)[^/].*/{ |
---|
| 6057 | s//\1/ |
---|
| 6058 | q |
---|
| 6059 | } |
---|
| 6060 | /^X\(\/\/\)$/{ |
---|
| 6061 | s//\1/ |
---|
| 6062 | q |
---|
| 6063 | } |
---|
| 6064 | /^X\(\/\).*/{ |
---|
| 6065 | s//\1/ |
---|
| 6066 | q |
---|
| 6067 | } |
---|
| 6068 | s/.*/./; q'` |
---|
| 6069 | { as_dir="$ac_dir" |
---|
| 6070 | case $as_dir in #( |
---|
| 6071 | -*) as_dir=./$as_dir;; |
---|
| 6072 | esac |
---|
| 6073 | test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { |
---|
[8298425] | 6074 | as_dirs= |
---|
[4ad3480] | 6075 | while :; do |
---|
| 6076 | case $as_dir in #( |
---|
| 6077 | *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( |
---|
| 6078 | *) as_qdir=$as_dir;; |
---|
| 6079 | esac |
---|
| 6080 | as_dirs="'$as_qdir' $as_dirs" |
---|
| 6081 | as_dir=`$as_dirname -- "$as_dir" || |
---|
[8298425] | 6082 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
| 6083 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
---|
| 6084 | X"$as_dir" : 'X\(//\)$' \| \ |
---|
[4ad3480] | 6085 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
---|
[8298425] | 6086 | echo X"$as_dir" | |
---|
[4ad3480] | 6087 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
| 6088 | s//\1/ |
---|
| 6089 | q |
---|
| 6090 | } |
---|
| 6091 | /^X\(\/\/\)[^/].*/{ |
---|
| 6092 | s//\1/ |
---|
| 6093 | q |
---|
| 6094 | } |
---|
| 6095 | /^X\(\/\/\)$/{ |
---|
| 6096 | s//\1/ |
---|
| 6097 | q |
---|
| 6098 | } |
---|
| 6099 | /^X\(\/\).*/{ |
---|
| 6100 | s//\1/ |
---|
| 6101 | q |
---|
| 6102 | } |
---|
| 6103 | s/.*/./; q'` |
---|
| 6104 | test -d "$as_dir" && break |
---|
[8298425] | 6105 | done |
---|
[4ad3480] | 6106 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
---|
| 6107 | } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 |
---|
| 6108 | echo "$as_me: error: cannot create directory $as_dir" >&2;} |
---|
[8298425] | 6109 | { (exit 1); exit 1; }; }; } |
---|
| 6110 | ac_builddir=. |
---|
| 6111 | |
---|
[4ad3480] | 6112 | case "$ac_dir" in |
---|
| 6113 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
---|
| 6114 | *) |
---|
[8298425] | 6115 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
---|
[4ad3480] | 6116 | # A ".." for each directory in $ac_dir_suffix. |
---|
| 6117 | ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` |
---|
| 6118 | case $ac_top_builddir_sub in |
---|
| 6119 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
---|
| 6120 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
---|
| 6121 | esac ;; |
---|
| 6122 | esac |
---|
| 6123 | ac_abs_top_builddir=$ac_pwd |
---|
| 6124 | ac_abs_builddir=$ac_pwd$ac_dir_suffix |
---|
| 6125 | # for backward compatibility: |
---|
| 6126 | ac_top_builddir=$ac_top_build_prefix |
---|
[7d4fbcd] | 6127 | |
---|
[8298425] | 6128 | case $srcdir in |
---|
[4ad3480] | 6129 | .) # We are building in place. |
---|
[8298425] | 6130 | ac_srcdir=. |
---|
[4ad3480] | 6131 | ac_top_srcdir=$ac_top_builddir_sub |
---|
| 6132 | ac_abs_top_srcdir=$ac_pwd ;; |
---|
| 6133 | [\\/]* | ?:[\\/]* ) # Absolute name. |
---|
[8298425] | 6134 | ac_srcdir=$srcdir$ac_dir_suffix; |
---|
[4ad3480] | 6135 | ac_top_srcdir=$srcdir |
---|
| 6136 | ac_abs_top_srcdir=$srcdir ;; |
---|
| 6137 | *) # Relative name. |
---|
| 6138 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
---|
| 6139 | ac_top_srcdir=$ac_top_build_prefix$srcdir |
---|
| 6140 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
---|
[8298425] | 6141 | esac |
---|
[4ad3480] | 6142 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
---|
[8298425] | 6143 | |
---|
| 6144 | |
---|
[4ad3480] | 6145 | case $ac_mode in |
---|
| 6146 | :F) |
---|
| 6147 | # |
---|
| 6148 | # CONFIG_FILE |
---|
| 6149 | # |
---|
[8298425] | 6150 | |
---|
| 6151 | case $INSTALL in |
---|
| 6152 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
---|
[4ad3480] | 6153 | *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; |
---|
[7d4fbcd] | 6154 | esac |
---|
[4ad3480] | 6155 | _ACEOF |
---|
[7d4fbcd] | 6156 | |
---|
[4ad3480] | 6157 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
| 6158 | # If the template does not know about datarootdir, expand it. |
---|
| 6159 | # FIXME: This hack should be removed a few years after 2.60. |
---|
| 6160 | ac_datarootdir_hack=; ac_datarootdir_seen= |
---|
| 6161 | |
---|
| 6162 | case `sed -n '/datarootdir/ { |
---|
| 6163 | p |
---|
| 6164 | q |
---|
| 6165 | } |
---|
| 6166 | /@datadir@/p |
---|
| 6167 | /@docdir@/p |
---|
| 6168 | /@infodir@/p |
---|
| 6169 | /@localedir@/p |
---|
| 6170 | /@mandir@/p |
---|
| 6171 | ' $ac_file_inputs` in |
---|
| 6172 | *datarootdir*) ac_datarootdir_seen=yes;; |
---|
| 6173 | *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
---|
| 6174 | { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
---|
| 6175 | echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
---|
[8298425] | 6176 | _ACEOF |
---|
| 6177 | cat >>$CONFIG_STATUS <<_ACEOF |
---|
[4ad3480] | 6178 | ac_datarootdir_hack=' |
---|
| 6179 | s&@datadir@&$datadir&g |
---|
| 6180 | s&@docdir@&$docdir&g |
---|
| 6181 | s&@infodir@&$infodir&g |
---|
| 6182 | s&@localedir@&$localedir&g |
---|
| 6183 | s&@mandir@&$mandir&g |
---|
| 6184 | s&\\\${datarootdir}&$datarootdir&g' ;; |
---|
| 6185 | esac |
---|
| 6186 | _ACEOF |
---|
| 6187 | |
---|
| 6188 | # Neutralize VPATH when `$srcdir' = `.'. |
---|
| 6189 | # Shell code in configure.ac might set extrasub. |
---|
| 6190 | # FIXME: do we really want to maintain this feature? |
---|
| 6191 | cat >>$CONFIG_STATUS <<_ACEOF |
---|
[8298425] | 6192 | sed "$ac_vpsub |
---|
| 6193 | $extrasub |
---|
| 6194 | _ACEOF |
---|
| 6195 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
| 6196 | :t |
---|
| 6197 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
---|
[4ad3480] | 6198 | s&@configure_input@&$configure_input&;t t |
---|
| 6199 | s&@top_builddir@&$ac_top_builddir_sub&;t t |
---|
| 6200 | s&@srcdir@&$ac_srcdir&;t t |
---|
| 6201 | s&@abs_srcdir@&$ac_abs_srcdir&;t t |
---|
| 6202 | s&@top_srcdir@&$ac_top_srcdir&;t t |
---|
| 6203 | s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t |
---|
| 6204 | s&@builddir@&$ac_builddir&;t t |
---|
| 6205 | s&@abs_builddir@&$ac_abs_builddir&;t t |
---|
| 6206 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
---|
| 6207 | s&@INSTALL@&$ac_INSTALL&;t t |
---|
| 6208 | $ac_datarootdir_hack |
---|
| 6209 | " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out |
---|
| 6210 | |
---|
| 6211 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
---|
| 6212 | { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && |
---|
| 6213 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && |
---|
| 6214 | { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
---|
| 6215 | which seems to be undefined. Please make sure it is defined." >&5 |
---|
| 6216 | echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
---|
| 6217 | which seems to be undefined. Please make sure it is defined." >&2;} |
---|
| 6218 | |
---|
| 6219 | rm -f "$tmp/stdin" |
---|
[8298425] | 6220 | case $ac_file in |
---|
[4ad3480] | 6221 | -) cat "$tmp/out"; rm -f "$tmp/out";; |
---|
| 6222 | *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; |
---|
[7d4fbcd] | 6223 | esac |
---|
[4ad3480] | 6224 | ;; |
---|
| 6225 | :H) |
---|
| 6226 | # |
---|
| 6227 | # CONFIG_HEADER |
---|
| 6228 | # |
---|
[8298425] | 6229 | _ACEOF |
---|
| 6230 | |
---|
[4ad3480] | 6231 | # Transform confdefs.h into a sed script `conftest.defines', that |
---|
| 6232 | # substitutes the proper values into config.h.in to produce config.h. |
---|
| 6233 | rm -f conftest.defines conftest.tail |
---|
| 6234 | # First, append a space to every undef/define line, to ease matching. |
---|
| 6235 | echo 's/$/ /' >conftest.defines |
---|
| 6236 | # Then, protect against being on the right side of a sed subst, or in |
---|
| 6237 | # an unquoted here document, in config.status. If some macros were |
---|
| 6238 | # called several times there might be several #defines for the same |
---|
| 6239 | # symbol, which is useless. But do not sort them, since the last |
---|
| 6240 | # AC_DEFINE must be honored. |
---|
| 6241 | ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* |
---|
| 6242 | # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where |
---|
| 6243 | # NAME is the cpp macro being defined, VALUE is the value it is being given. |
---|
| 6244 | # PARAMS is the parameter list in the macro definition--in most cases, it's |
---|
| 6245 | # just an empty string. |
---|
| 6246 | ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*' |
---|
| 6247 | ac_dB='\\)[ (].*,\\1define\\2' |
---|
| 6248 | ac_dC=' ' |
---|
| 6249 | ac_dD=' ,' |
---|
| 6250 | |
---|
| 6251 | uniq confdefs.h | |
---|
| 6252 | sed -n ' |
---|
| 6253 | t rset |
---|
| 6254 | :rset |
---|
| 6255 | s/^[ ]*#[ ]*define[ ][ ]*// |
---|
| 6256 | t ok |
---|
| 6257 | d |
---|
| 6258 | :ok |
---|
| 6259 | s/[\\&,]/\\&/g |
---|
| 6260 | s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p |
---|
| 6261 | s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p |
---|
| 6262 | ' >>conftest.defines |
---|
| 6263 | |
---|
| 6264 | # Remove the space that was appended to ease matching. |
---|
| 6265 | # Then replace #undef with comments. This is necessary, for |
---|
[7d4fbcd] | 6266 | # example, in the case of _POSIX_SOURCE, which is predefined and required |
---|
| 6267 | # on some systems where configure will not decide to define it. |
---|
[4ad3480] | 6268 | # (The regexp can be short, since the line contains either #define or #undef.) |
---|
| 6269 | echo 's/ $// |
---|
| 6270 | s,^[ #]*u.*,/* & */,' >>conftest.defines |
---|
| 6271 | |
---|
| 6272 | # Break up conftest.defines: |
---|
| 6273 | ac_max_sed_lines=50 |
---|
| 6274 | |
---|
| 6275 | # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1" |
---|
| 6276 | # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2" |
---|
| 6277 | # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1" |
---|
| 6278 | # et cetera. |
---|
| 6279 | ac_in='$ac_file_inputs' |
---|
| 6280 | ac_out='"$tmp/out1"' |
---|
| 6281 | ac_nxt='"$tmp/out2"' |
---|
| 6282 | |
---|
| 6283 | while : |
---|
[8298425] | 6284 | do |
---|
[4ad3480] | 6285 | # Write a here document: |
---|
| 6286 | cat >>$CONFIG_STATUS <<_ACEOF |
---|
| 6287 | # First, check the format of the line: |
---|
| 6288 | cat >"\$tmp/defines.sed" <<\\CEOF |
---|
| 6289 | /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def |
---|
| 6290 | /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def |
---|
| 6291 | b |
---|
| 6292 | :def |
---|
| 6293 | _ACEOF |
---|
| 6294 | sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS |
---|
[8298425] | 6295 | echo 'CEOF |
---|
[4ad3480] | 6296 | sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS |
---|
| 6297 | ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in |
---|
| 6298 | sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail |
---|
| 6299 | grep . conftest.tail >/dev/null || break |
---|
[8298425] | 6300 | rm -f conftest.defines |
---|
| 6301 | mv conftest.tail conftest.defines |
---|
| 6302 | done |
---|
[4ad3480] | 6303 | rm -f conftest.defines conftest.tail |
---|
[8298425] | 6304 | |
---|
[4ad3480] | 6305 | echo "ac_result=$ac_in" >>$CONFIG_STATUS |
---|
[8298425] | 6306 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
| 6307 | if test x"$ac_file" != x-; then |
---|
[4ad3480] | 6308 | echo "/* $configure_input */" >"$tmp/config.h" |
---|
| 6309 | cat "$ac_result" >>"$tmp/config.h" |
---|
| 6310 | if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then |
---|
[8298425] | 6311 | { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 |
---|
| 6312 | echo "$as_me: $ac_file is unchanged" >&6;} |
---|
| 6313 | else |
---|
| 6314 | rm -f $ac_file |
---|
[4ad3480] | 6315 | mv "$tmp/config.h" $ac_file |
---|
[7d4fbcd] | 6316 | fi |
---|
[8298425] | 6317 | else |
---|
[4ad3480] | 6318 | echo "/* $configure_input */" |
---|
| 6319 | cat "$ac_result" |
---|
[7d4fbcd] | 6320 | fi |
---|
[4ad3480] | 6321 | rm -f "$tmp/out12" |
---|
| 6322 | ;; |
---|
| 6323 | |
---|
| 6324 | |
---|
| 6325 | esac |
---|
| 6326 | |
---|
| 6327 | done # for ac_tag |
---|
[7d4fbcd] | 6328 | |
---|
| 6329 | |
---|
[8298425] | 6330 | { (exit 0); exit 0; } |
---|
| 6331 | _ACEOF |
---|
[7d4fbcd] | 6332 | chmod +x $CONFIG_STATUS |
---|
[8298425] | 6333 | ac_clean_files=$ac_clean_files_save |
---|
| 6334 | |
---|
| 6335 | |
---|
| 6336 | # configure is writing to config.log, and then calls config.status. |
---|
| 6337 | # config.status does its own redirection, appending to config.log. |
---|
| 6338 | # Unfortunately, on DOS this fails, as config.log is still kept open |
---|
| 6339 | # by configure, so config.status won't be able to write to it; its |
---|
| 6340 | # output is simply discarded. So we exec the FD to /dev/null, |
---|
| 6341 | # effectively closing config.log, so it can be properly (re)opened and |
---|
| 6342 | # appended to by config.status. When coming back to configure, we |
---|
| 6343 | # need to make the FD available again. |
---|
| 6344 | if test "$no_create" != yes; then |
---|
| 6345 | ac_cs_success=: |
---|
| 6346 | ac_config_status_args= |
---|
| 6347 | test "$silent" = yes && |
---|
| 6348 | ac_config_status_args="$ac_config_status_args --quiet" |
---|
| 6349 | exec 5>/dev/null |
---|
| 6350 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
---|
| 6351 | exec 5>>config.log |
---|
| 6352 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
---|
| 6353 | # would make configure fail if this is the last instruction. |
---|
| 6354 | $ac_cs_success || { (exit 1); exit 1; } |
---|
| 6355 | fi |
---|
[7d4fbcd] | 6356 | |
---|
[8298425] | 6357 | # |
---|
| 6358 | # CONFIG_SUBDIRS section. |
---|
| 6359 | # |
---|
[d09e5a1] | 6360 | if test "$no_recursion" != yes; then |
---|
| 6361 | |
---|
| 6362 | # Remove --cache-file and --srcdir arguments so they do not pile up. |
---|
| 6363 | ac_sub_configure_args= |
---|
| 6364 | ac_prev= |
---|
[4ad3480] | 6365 | eval "set x $ac_configure_args" |
---|
| 6366 | shift |
---|
| 6367 | for ac_arg |
---|
| 6368 | do |
---|
[d09e5a1] | 6369 | if test -n "$ac_prev"; then |
---|
| 6370 | ac_prev= |
---|
| 6371 | continue |
---|
| 6372 | fi |
---|
[8298425] | 6373 | case $ac_arg in |
---|
[d09e5a1] | 6374 | -cache-file | --cache-file | --cache-fil | --cache-fi \ |
---|
| 6375 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
---|
| 6376 | ac_prev=cache_file ;; |
---|
| 6377 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
---|
[8298425] | 6378 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \ |
---|
| 6379 | | --c=*) |
---|
| 6380 | ;; |
---|
| 6381 | --config-cache | -C) |
---|
[d09e5a1] | 6382 | ;; |
---|
| 6383 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
---|
| 6384 | ac_prev=srcdir ;; |
---|
| 6385 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
---|
| 6386 | ;; |
---|
[8298425] | 6387 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
---|
| 6388 | ac_prev=prefix ;; |
---|
| 6389 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
---|
| 6390 | ;; |
---|
[4ad3480] | 6391 | *) |
---|
| 6392 | case $ac_arg in |
---|
| 6393 | *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
---|
| 6394 | esac |
---|
| 6395 | ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;; |
---|
[d09e5a1] | 6396 | esac |
---|
| 6397 | done |
---|
| 6398 | |
---|
[8298425] | 6399 | # Always prepend --prefix to ensure using the same prefix |
---|
| 6400 | # in subdir configurations. |
---|
[4ad3480] | 6401 | ac_arg="--prefix=$prefix" |
---|
| 6402 | case $ac_arg in |
---|
| 6403 | *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
---|
| 6404 | esac |
---|
| 6405 | ac_sub_configure_args="$ac_arg $ac_sub_configure_args" |
---|
[8298425] | 6406 | |
---|
| 6407 | ac_popdir=`pwd` |
---|
| 6408 | for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue |
---|
[d09e5a1] | 6409 | |
---|
| 6410 | # Do not complain, so a configure script can configure whichever |
---|
| 6411 | # parts of a large source tree are present. |
---|
[4ad3480] | 6412 | test -d "$srcdir/$ac_dir" || continue |
---|
| 6413 | |
---|
| 6414 | ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)" |
---|
| 6415 | echo "$as_me:$LINENO: $ac_msg" >&5 |
---|
| 6416 | echo "$ac_msg" >&6 |
---|
| 6417 | { as_dir="$ac_dir" |
---|
| 6418 | case $as_dir in #( |
---|
| 6419 | -*) as_dir=./$as_dir;; |
---|
| 6420 | esac |
---|
| 6421 | test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { |
---|
[8298425] | 6422 | as_dirs= |
---|
[4ad3480] | 6423 | while :; do |
---|
| 6424 | case $as_dir in #( |
---|
| 6425 | *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( |
---|
| 6426 | *) as_qdir=$as_dir;; |
---|
| 6427 | esac |
---|
| 6428 | as_dirs="'$as_qdir' $as_dirs" |
---|
| 6429 | as_dir=`$as_dirname -- "$as_dir" || |
---|
[8298425] | 6430 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
| 6431 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
---|
| 6432 | X"$as_dir" : 'X\(//\)$' \| \ |
---|
[4ad3480] | 6433 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
---|
[8298425] | 6434 | echo X"$as_dir" | |
---|
[4ad3480] | 6435 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
| 6436 | s//\1/ |
---|
| 6437 | q |
---|
| 6438 | } |
---|
| 6439 | /^X\(\/\/\)[^/].*/{ |
---|
| 6440 | s//\1/ |
---|
| 6441 | q |
---|
| 6442 | } |
---|
| 6443 | /^X\(\/\/\)$/{ |
---|
| 6444 | s//\1/ |
---|
| 6445 | q |
---|
| 6446 | } |
---|
| 6447 | /^X\(\/\).*/{ |
---|
| 6448 | s//\1/ |
---|
| 6449 | q |
---|
| 6450 | } |
---|
| 6451 | s/.*/./; q'` |
---|
| 6452 | test -d "$as_dir" && break |
---|
[8298425] | 6453 | done |
---|
[4ad3480] | 6454 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
---|
| 6455 | } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 |
---|
| 6456 | echo "$as_me: error: cannot create directory $as_dir" >&2;} |
---|
[8298425] | 6457 | { (exit 1); exit 1; }; }; } |
---|
| 6458 | ac_builddir=. |
---|
| 6459 | |
---|
[4ad3480] | 6460 | case "$ac_dir" in |
---|
| 6461 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
---|
| 6462 | *) |
---|
[8298425] | 6463 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
---|
[4ad3480] | 6464 | # A ".." for each directory in $ac_dir_suffix. |
---|
| 6465 | ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` |
---|
| 6466 | case $ac_top_builddir_sub in |
---|
| 6467 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
---|
| 6468 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
---|
| 6469 | esac ;; |
---|
| 6470 | esac |
---|
| 6471 | ac_abs_top_builddir=$ac_pwd |
---|
| 6472 | ac_abs_builddir=$ac_pwd$ac_dir_suffix |
---|
| 6473 | # for backward compatibility: |
---|
| 6474 | ac_top_builddir=$ac_top_build_prefix |
---|
[d09e5a1] | 6475 | |
---|
[8298425] | 6476 | case $srcdir in |
---|
[4ad3480] | 6477 | .) # We are building in place. |
---|
[8298425] | 6478 | ac_srcdir=. |
---|
[4ad3480] | 6479 | ac_top_srcdir=$ac_top_builddir_sub |
---|
| 6480 | ac_abs_top_srcdir=$ac_pwd ;; |
---|
| 6481 | [\\/]* | ?:[\\/]* ) # Absolute name. |
---|
[8298425] | 6482 | ac_srcdir=$srcdir$ac_dir_suffix; |
---|
[4ad3480] | 6483 | ac_top_srcdir=$srcdir |
---|
| 6484 | ac_abs_top_srcdir=$srcdir ;; |
---|
| 6485 | *) # Relative name. |
---|
| 6486 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
---|
| 6487 | ac_top_srcdir=$ac_top_build_prefix$srcdir |
---|
| 6488 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
---|
[8298425] | 6489 | esac |
---|
[4ad3480] | 6490 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
---|
[8298425] | 6491 | |
---|
| 6492 | |
---|
[4ad3480] | 6493 | cd "$ac_dir" |
---|
[d09e5a1] | 6494 | |
---|
| 6495 | # Check for guested configure; otherwise get Cygnus style configure. |
---|
[4ad3480] | 6496 | if test -f "$ac_srcdir/configure.gnu"; then |
---|
| 6497 | ac_sub_configure=$ac_srcdir/configure.gnu |
---|
| 6498 | elif test -f "$ac_srcdir/configure"; then |
---|
| 6499 | ac_sub_configure=$ac_srcdir/configure |
---|
| 6500 | elif test -f "$ac_srcdir/configure.in"; then |
---|
| 6501 | # This should be Cygnus configure. |
---|
| 6502 | ac_sub_configure=$ac_aux_dir/configure |
---|
[d09e5a1] | 6503 | else |
---|
[8298425] | 6504 | { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5 |
---|
| 6505 | echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} |
---|
[d09e5a1] | 6506 | ac_sub_configure= |
---|
| 6507 | fi |
---|
| 6508 | |
---|
| 6509 | # The recursion is here. |
---|
| 6510 | if test -n "$ac_sub_configure"; then |
---|
| 6511 | # Make the cache file name correct relative to the subdirectory. |
---|
[8298425] | 6512 | case $cache_file in |
---|
| 6513 | [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;; |
---|
[4ad3480] | 6514 | *) # Relative name. |
---|
| 6515 | ac_sub_cache_file=$ac_top_build_prefix$cache_file ;; |
---|
[d09e5a1] | 6516 | esac |
---|
| 6517 | |
---|
[4ad3480] | 6518 | { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5 |
---|
| 6519 | echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} |
---|
[d09e5a1] | 6520 | # The eval makes quoting arguments work. |
---|
[4ad3480] | 6521 | eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \ |
---|
| 6522 | --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" || |
---|
[8298425] | 6523 | { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5 |
---|
| 6524 | echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;} |
---|
| 6525 | { (exit 1); exit 1; }; } |
---|
[d09e5a1] | 6526 | fi |
---|
| 6527 | |
---|
[4ad3480] | 6528 | cd "$ac_popdir" |
---|
[d09e5a1] | 6529 | done |
---|
| 6530 | fi |
---|
| 6531 | |
---|