[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 |
---|
| 648 | XSUBPPFLAGS |
---|
| 649 | INSTALL_PROGRAM |
---|
| 650 | INSTALL_SCRIPT |
---|
| 651 | INSTALL_DATA |
---|
| 652 | subdirs |
---|
| 653 | LIBOBJS |
---|
| 654 | LTLIBOBJS' |
---|
[8298425] | 655 | ac_subst_files='' |
---|
[4ad3480] | 656 | ac_precious_vars='build_alias |
---|
| 657 | host_alias |
---|
| 658 | target_alias |
---|
| 659 | CC |
---|
| 660 | CFLAGS |
---|
| 661 | LDFLAGS |
---|
| 662 | CPPFLAGS |
---|
| 663 | CPP' |
---|
| 664 | ac_subdirs_all='libfaim' |
---|
[7d4fbcd] | 665 | |
---|
| 666 | # Initialize some variables set by options. |
---|
[8298425] | 667 | ac_init_help= |
---|
| 668 | ac_init_version=false |
---|
[7d4fbcd] | 669 | # The variables have the same names as the options, with |
---|
| 670 | # dashes changed to underlines. |
---|
[8298425] | 671 | cache_file=/dev/null |
---|
[7d4fbcd] | 672 | exec_prefix=NONE |
---|
| 673 | no_create= |
---|
| 674 | no_recursion= |
---|
| 675 | prefix=NONE |
---|
| 676 | program_prefix=NONE |
---|
| 677 | program_suffix=NONE |
---|
| 678 | program_transform_name=s,x,x, |
---|
| 679 | silent= |
---|
| 680 | site= |
---|
| 681 | srcdir= |
---|
| 682 | verbose= |
---|
| 683 | x_includes=NONE |
---|
| 684 | x_libraries=NONE |
---|
[8298425] | 685 | |
---|
| 686 | # Installation directory options. |
---|
| 687 | # These are left unexpanded so users can "make install exec_prefix=/foo" |
---|
| 688 | # and all the variables that are supposed to be based on exec_prefix |
---|
| 689 | # by default will actually change. |
---|
| 690 | # Use braces instead of parens because sh, perl, etc. also accept them. |
---|
[4ad3480] | 691 | # (The list follows the same order as the GNU Coding Standards.) |
---|
[7d4fbcd] | 692 | bindir='${exec_prefix}/bin' |
---|
| 693 | sbindir='${exec_prefix}/sbin' |
---|
| 694 | libexecdir='${exec_prefix}/libexec' |
---|
[4ad3480] | 695 | datarootdir='${prefix}/share' |
---|
| 696 | datadir='${datarootdir}' |
---|
[7d4fbcd] | 697 | sysconfdir='${prefix}/etc' |
---|
| 698 | sharedstatedir='${prefix}/com' |
---|
| 699 | localstatedir='${prefix}/var' |
---|
| 700 | includedir='${prefix}/include' |
---|
| 701 | oldincludedir='/usr/include' |
---|
[4ad3480] | 702 | docdir='${datarootdir}/doc/${PACKAGE}' |
---|
| 703 | infodir='${datarootdir}/info' |
---|
| 704 | htmldir='${docdir}' |
---|
| 705 | dvidir='${docdir}' |
---|
| 706 | pdfdir='${docdir}' |
---|
| 707 | psdir='${docdir}' |
---|
| 708 | libdir='${exec_prefix}/lib' |
---|
| 709 | localedir='${datarootdir}/locale' |
---|
| 710 | mandir='${datarootdir}/man' |
---|
[7d4fbcd] | 711 | |
---|
| 712 | ac_prev= |
---|
[4ad3480] | 713 | ac_dashdash= |
---|
[7d4fbcd] | 714 | for ac_option |
---|
| 715 | do |
---|
| 716 | # If the previous option needs an argument, assign it. |
---|
| 717 | if test -n "$ac_prev"; then |
---|
[4ad3480] | 718 | eval $ac_prev=\$ac_option |
---|
[7d4fbcd] | 719 | ac_prev= |
---|
| 720 | continue |
---|
| 721 | fi |
---|
| 722 | |
---|
[4ad3480] | 723 | case $ac_option in |
---|
| 724 | *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
---|
| 725 | *) ac_optarg=yes ;; |
---|
| 726 | esac |
---|
[7d4fbcd] | 727 | |
---|
| 728 | # Accept the important Cygnus configure options, so we can diagnose typos. |
---|
| 729 | |
---|
[4ad3480] | 730 | case $ac_dashdash$ac_option in |
---|
| 731 | --) |
---|
| 732 | ac_dashdash=yes ;; |
---|
[7d4fbcd] | 733 | |
---|
| 734 | -bindir | --bindir | --bindi | --bind | --bin | --bi) |
---|
| 735 | ac_prev=bindir ;; |
---|
| 736 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
---|
[8298425] | 737 | bindir=$ac_optarg ;; |
---|
[7d4fbcd] | 738 | |
---|
| 739 | -build | --build | --buil | --bui | --bu) |
---|
[8298425] | 740 | ac_prev=build_alias ;; |
---|
[7d4fbcd] | 741 | -build=* | --build=* | --buil=* | --bui=* | --bu=*) |
---|
[8298425] | 742 | build_alias=$ac_optarg ;; |
---|
[7d4fbcd] | 743 | |
---|
| 744 | -cache-file | --cache-file | --cache-fil | --cache-fi \ |
---|
| 745 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
---|
| 746 | ac_prev=cache_file ;; |
---|
| 747 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
---|
| 748 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
---|
[8298425] | 749 | cache_file=$ac_optarg ;; |
---|
| 750 | |
---|
| 751 | --config-cache | -C) |
---|
| 752 | cache_file=config.cache ;; |
---|
[7d4fbcd] | 753 | |
---|
[4ad3480] | 754 | -datadir | --datadir | --datadi | --datad) |
---|
[7d4fbcd] | 755 | ac_prev=datadir ;; |
---|
[4ad3480] | 756 | -datadir=* | --datadir=* | --datadi=* | --datad=*) |
---|
[8298425] | 757 | datadir=$ac_optarg ;; |
---|
[7d4fbcd] | 758 | |
---|
[4ad3480] | 759 | -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ |
---|
| 760 | | --dataroo | --dataro | --datar) |
---|
| 761 | ac_prev=datarootdir ;; |
---|
| 762 | -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ |
---|
| 763 | | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) |
---|
| 764 | datarootdir=$ac_optarg ;; |
---|
| 765 | |
---|
[7d4fbcd] | 766 | -disable-* | --disable-*) |
---|
[8298425] | 767 | ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
---|
[7d4fbcd] | 768 | # Reject names that are not valid shell variable names. |
---|
[8298425] | 769 | expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && |
---|
| 770 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
---|
| 771 | { (exit 1); exit 1; }; } |
---|
| 772 | ac_feature=`echo $ac_feature | sed 's/-/_/g'` |
---|
[4ad3480] | 773 | eval enable_$ac_feature=no ;; |
---|
| 774 | |
---|
| 775 | -docdir | --docdir | --docdi | --doc | --do) |
---|
| 776 | ac_prev=docdir ;; |
---|
| 777 | -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) |
---|
| 778 | docdir=$ac_optarg ;; |
---|
| 779 | |
---|
| 780 | -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) |
---|
| 781 | ac_prev=dvidir ;; |
---|
| 782 | -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) |
---|
| 783 | dvidir=$ac_optarg ;; |
---|
[7d4fbcd] | 784 | |
---|
| 785 | -enable-* | --enable-*) |
---|
[8298425] | 786 | ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
---|
[7d4fbcd] | 787 | # Reject names that are not valid shell variable names. |
---|
[8298425] | 788 | expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && |
---|
| 789 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
---|
| 790 | { (exit 1); exit 1; }; } |
---|
| 791 | ac_feature=`echo $ac_feature | sed 's/-/_/g'` |
---|
[4ad3480] | 792 | eval enable_$ac_feature=\$ac_optarg ;; |
---|
[7d4fbcd] | 793 | |
---|
| 794 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
---|
| 795 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
---|
| 796 | | --exec | --exe | --ex) |
---|
| 797 | ac_prev=exec_prefix ;; |
---|
| 798 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
---|
| 799 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
---|
| 800 | | --exec=* | --exe=* | --ex=*) |
---|
[8298425] | 801 | exec_prefix=$ac_optarg ;; |
---|
[7d4fbcd] | 802 | |
---|
| 803 | -gas | --gas | --ga | --g) |
---|
| 804 | # Obsolete; use --with-gas. |
---|
| 805 | with_gas=yes ;; |
---|
| 806 | |
---|
[8298425] | 807 | -help | --help | --hel | --he | -h) |
---|
| 808 | ac_init_help=long ;; |
---|
| 809 | -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) |
---|
| 810 | ac_init_help=recursive ;; |
---|
| 811 | -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) |
---|
| 812 | ac_init_help=short ;; |
---|
[7d4fbcd] | 813 | |
---|
| 814 | -host | --host | --hos | --ho) |
---|
[8298425] | 815 | ac_prev=host_alias ;; |
---|
[7d4fbcd] | 816 | -host=* | --host=* | --hos=* | --ho=*) |
---|
[8298425] | 817 | host_alias=$ac_optarg ;; |
---|
[7d4fbcd] | 818 | |
---|
[4ad3480] | 819 | -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) |
---|
| 820 | ac_prev=htmldir ;; |
---|
| 821 | -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ |
---|
| 822 | | --ht=*) |
---|
| 823 | htmldir=$ac_optarg ;; |
---|
| 824 | |
---|
[7d4fbcd] | 825 | -includedir | --includedir | --includedi | --included | --include \ |
---|
| 826 | | --includ | --inclu | --incl | --inc) |
---|
| 827 | ac_prev=includedir ;; |
---|
| 828 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
---|
| 829 | | --includ=* | --inclu=* | --incl=* | --inc=*) |
---|
[8298425] | 830 | includedir=$ac_optarg ;; |
---|
[7d4fbcd] | 831 | |
---|
| 832 | -infodir | --infodir | --infodi | --infod | --info | --inf) |
---|
| 833 | ac_prev=infodir ;; |
---|
| 834 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
---|
[8298425] | 835 | infodir=$ac_optarg ;; |
---|
[7d4fbcd] | 836 | |
---|
| 837 | -libdir | --libdir | --libdi | --libd) |
---|
| 838 | ac_prev=libdir ;; |
---|
| 839 | -libdir=* | --libdir=* | --libdi=* | --libd=*) |
---|
[8298425] | 840 | libdir=$ac_optarg ;; |
---|
[7d4fbcd] | 841 | |
---|
| 842 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
---|
| 843 | | --libexe | --libex | --libe) |
---|
| 844 | ac_prev=libexecdir ;; |
---|
| 845 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
---|
| 846 | | --libexe=* | --libex=* | --libe=*) |
---|
[8298425] | 847 | libexecdir=$ac_optarg ;; |
---|
[7d4fbcd] | 848 | |
---|
[4ad3480] | 849 | -localedir | --localedir | --localedi | --localed | --locale) |
---|
| 850 | ac_prev=localedir ;; |
---|
| 851 | -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) |
---|
| 852 | localedir=$ac_optarg ;; |
---|
| 853 | |
---|
[7d4fbcd] | 854 | -localstatedir | --localstatedir | --localstatedi | --localstated \ |
---|
[4ad3480] | 855 | | --localstate | --localstat | --localsta | --localst | --locals) |
---|
[7d4fbcd] | 856 | ac_prev=localstatedir ;; |
---|
| 857 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
---|
[4ad3480] | 858 | | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) |
---|
[8298425] | 859 | localstatedir=$ac_optarg ;; |
---|
[7d4fbcd] | 860 | |
---|
| 861 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
---|
| 862 | ac_prev=mandir ;; |
---|
| 863 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
---|
[8298425] | 864 | mandir=$ac_optarg ;; |
---|
[7d4fbcd] | 865 | |
---|
| 866 | -nfp | --nfp | --nf) |
---|
| 867 | # Obsolete; use --without-fp. |
---|
| 868 | with_fp=no ;; |
---|
| 869 | |
---|
| 870 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
---|
[8298425] | 871 | | --no-cr | --no-c | -n) |
---|
[7d4fbcd] | 872 | no_create=yes ;; |
---|
| 873 | |
---|
| 874 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
---|
| 875 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
---|
| 876 | no_recursion=yes ;; |
---|
| 877 | |
---|
| 878 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ |
---|
| 879 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ |
---|
| 880 | | --oldin | --oldi | --old | --ol | --o) |
---|
| 881 | ac_prev=oldincludedir ;; |
---|
| 882 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
---|
| 883 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
---|
| 884 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
---|
[8298425] | 885 | oldincludedir=$ac_optarg ;; |
---|
[7d4fbcd] | 886 | |
---|
| 887 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
---|
| 888 | ac_prev=prefix ;; |
---|
| 889 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
---|
[8298425] | 890 | prefix=$ac_optarg ;; |
---|
[7d4fbcd] | 891 | |
---|
| 892 | -program-prefix | --program-prefix | --program-prefi | --program-pref \ |
---|
| 893 | | --program-pre | --program-pr | --program-p) |
---|
| 894 | ac_prev=program_prefix ;; |
---|
| 895 | -program-prefix=* | --program-prefix=* | --program-prefi=* \ |
---|
| 896 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
---|
[8298425] | 897 | program_prefix=$ac_optarg ;; |
---|
[7d4fbcd] | 898 | |
---|
| 899 | -program-suffix | --program-suffix | --program-suffi | --program-suff \ |
---|
| 900 | | --program-suf | --program-su | --program-s) |
---|
| 901 | ac_prev=program_suffix ;; |
---|
| 902 | -program-suffix=* | --program-suffix=* | --program-suffi=* \ |
---|
| 903 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
---|
[8298425] | 904 | program_suffix=$ac_optarg ;; |
---|
[7d4fbcd] | 905 | |
---|
| 906 | -program-transform-name | --program-transform-name \ |
---|
| 907 | | --program-transform-nam | --program-transform-na \ |
---|
| 908 | | --program-transform-n | --program-transform- \ |
---|
| 909 | | --program-transform | --program-transfor \ |
---|
| 910 | | --program-transfo | --program-transf \ |
---|
| 911 | | --program-trans | --program-tran \ |
---|
| 912 | | --progr-tra | --program-tr | --program-t) |
---|
| 913 | ac_prev=program_transform_name ;; |
---|
| 914 | -program-transform-name=* | --program-transform-name=* \ |
---|
| 915 | | --program-transform-nam=* | --program-transform-na=* \ |
---|
| 916 | | --program-transform-n=* | --program-transform-=* \ |
---|
| 917 | | --program-transform=* | --program-transfor=* \ |
---|
| 918 | | --program-transfo=* | --program-transf=* \ |
---|
| 919 | | --program-trans=* | --program-tran=* \ |
---|
| 920 | | --progr-tra=* | --program-tr=* | --program-t=*) |
---|
[8298425] | 921 | program_transform_name=$ac_optarg ;; |
---|
[7d4fbcd] | 922 | |
---|
[4ad3480] | 923 | -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) |
---|
| 924 | ac_prev=pdfdir ;; |
---|
| 925 | -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) |
---|
| 926 | pdfdir=$ac_optarg ;; |
---|
| 927 | |
---|
| 928 | -psdir | --psdir | --psdi | --psd | --ps) |
---|
| 929 | ac_prev=psdir ;; |
---|
| 930 | -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) |
---|
| 931 | psdir=$ac_optarg ;; |
---|
| 932 | |
---|
[7d4fbcd] | 933 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
---|
| 934 | | -silent | --silent | --silen | --sile | --sil) |
---|
| 935 | silent=yes ;; |
---|
| 936 | |
---|
| 937 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
---|
| 938 | ac_prev=sbindir ;; |
---|
| 939 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
---|
| 940 | | --sbi=* | --sb=*) |
---|
[8298425] | 941 | sbindir=$ac_optarg ;; |
---|
[7d4fbcd] | 942 | |
---|
| 943 | -sharedstatedir | --sharedstatedir | --sharedstatedi \ |
---|
| 944 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
---|
| 945 | | --sharedst | --shareds | --shared | --share | --shar \ |
---|
| 946 | | --sha | --sh) |
---|
| 947 | ac_prev=sharedstatedir ;; |
---|
| 948 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
---|
| 949 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
---|
| 950 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
---|
| 951 | | --sha=* | --sh=*) |
---|
[8298425] | 952 | sharedstatedir=$ac_optarg ;; |
---|
[7d4fbcd] | 953 | |
---|
| 954 | -site | --site | --sit) |
---|
| 955 | ac_prev=site ;; |
---|
| 956 | -site=* | --site=* | --sit=*) |
---|
[8298425] | 957 | site=$ac_optarg ;; |
---|
[7d4fbcd] | 958 | |
---|
| 959 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
---|
| 960 | ac_prev=srcdir ;; |
---|
| 961 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
---|
[8298425] | 962 | srcdir=$ac_optarg ;; |
---|
[7d4fbcd] | 963 | |
---|
| 964 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
---|
| 965 | | --syscon | --sysco | --sysc | --sys | --sy) |
---|
| 966 | ac_prev=sysconfdir ;; |
---|
| 967 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
---|
| 968 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
---|
[8298425] | 969 | sysconfdir=$ac_optarg ;; |
---|
[7d4fbcd] | 970 | |
---|
| 971 | -target | --target | --targe | --targ | --tar | --ta | --t) |
---|
[8298425] | 972 | ac_prev=target_alias ;; |
---|
[7d4fbcd] | 973 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
---|
[8298425] | 974 | target_alias=$ac_optarg ;; |
---|
[7d4fbcd] | 975 | |
---|
| 976 | -v | -verbose | --verbose | --verbos | --verbo | --verb) |
---|
| 977 | verbose=yes ;; |
---|
| 978 | |
---|
[8298425] | 979 | -version | --version | --versio | --versi | --vers | -V) |
---|
| 980 | ac_init_version=: ;; |
---|
[7d4fbcd] | 981 | |
---|
| 982 | -with-* | --with-*) |
---|
[8298425] | 983 | ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
---|
[7d4fbcd] | 984 | # Reject names that are not valid shell variable names. |
---|
[8298425] | 985 | expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
---|
| 986 | { echo "$as_me: error: invalid package name: $ac_package" >&2 |
---|
| 987 | { (exit 1); exit 1; }; } |
---|
[7d4fbcd] | 988 | ac_package=`echo $ac_package| sed 's/-/_/g'` |
---|
[4ad3480] | 989 | eval with_$ac_package=\$ac_optarg ;; |
---|
[7d4fbcd] | 990 | |
---|
| 991 | -without-* | --without-*) |
---|
[8298425] | 992 | ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
---|
[7d4fbcd] | 993 | # Reject names that are not valid shell variable names. |
---|
[8298425] | 994 | expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
---|
| 995 | { echo "$as_me: error: invalid package name: $ac_package" >&2 |
---|
| 996 | { (exit 1); exit 1; }; } |
---|
| 997 | ac_package=`echo $ac_package | sed 's/-/_/g'` |
---|
[4ad3480] | 998 | eval with_$ac_package=no ;; |
---|
[7d4fbcd] | 999 | |
---|
| 1000 | --x) |
---|
| 1001 | # Obsolete; use --with-x. |
---|
| 1002 | with_x=yes ;; |
---|
| 1003 | |
---|
| 1004 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
---|
| 1005 | | --x-incl | --x-inc | --x-in | --x-i) |
---|
| 1006 | ac_prev=x_includes ;; |
---|
| 1007 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
---|
| 1008 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
---|
[8298425] | 1009 | x_includes=$ac_optarg ;; |
---|
[7d4fbcd] | 1010 | |
---|
| 1011 | -x-libraries | --x-libraries | --x-librarie | --x-librari \ |
---|
| 1012 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
---|
| 1013 | ac_prev=x_libraries ;; |
---|
| 1014 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
---|
| 1015 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
---|
[8298425] | 1016 | x_libraries=$ac_optarg ;; |
---|
[7d4fbcd] | 1017 | |
---|
[8298425] | 1018 | -*) { echo "$as_me: error: unrecognized option: $ac_option |
---|
| 1019 | Try \`$0 --help' for more information." >&2 |
---|
| 1020 | { (exit 1); exit 1; }; } |
---|
[7d4fbcd] | 1021 | ;; |
---|
| 1022 | |
---|
[8298425] | 1023 | *=*) |
---|
| 1024 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
---|
| 1025 | # Reject names that are not valid shell variable names. |
---|
| 1026 | expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && |
---|
| 1027 | { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 |
---|
| 1028 | { (exit 1); exit 1; }; } |
---|
[4ad3480] | 1029 | eval $ac_envvar=\$ac_optarg |
---|
[8298425] | 1030 | export $ac_envvar ;; |
---|
| 1031 | |
---|
[7d4fbcd] | 1032 | *) |
---|
[8298425] | 1033 | # FIXME: should be removed in autoconf 3.0. |
---|
| 1034 | echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
---|
| 1035 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
---|
| 1036 | echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
---|
| 1037 | : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
---|
[7d4fbcd] | 1038 | ;; |
---|
| 1039 | |
---|
| 1040 | esac |
---|
| 1041 | done |
---|
| 1042 | |
---|
| 1043 | if test -n "$ac_prev"; then |
---|
[8298425] | 1044 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
---|
| 1045 | { echo "$as_me: error: missing argument to $ac_option" >&2 |
---|
| 1046 | { (exit 1); exit 1; }; } |
---|
[7d4fbcd] | 1047 | fi |
---|
| 1048 | |
---|
[4ad3480] | 1049 | # Be sure to have absolute directory names. |
---|
| 1050 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
---|
| 1051 | datadir sysconfdir sharedstatedir localstatedir includedir \ |
---|
| 1052 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
---|
| 1053 | libdir localedir mandir |
---|
[8298425] | 1054 | do |
---|
[4ad3480] | 1055 | eval ac_val=\$$ac_var |
---|
[8298425] | 1056 | case $ac_val in |
---|
[4ad3480] | 1057 | [\\/$]* | ?:[\\/]* ) continue;; |
---|
| 1058 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
---|
[7d4fbcd] | 1059 | esac |
---|
[4ad3480] | 1060 | { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
---|
| 1061 | { (exit 1); exit 1; }; } |
---|
[7d4fbcd] | 1062 | done |
---|
| 1063 | |
---|
[8298425] | 1064 | # There might be people who depend on the old broken behavior: `$host' |
---|
| 1065 | # used to hold the argument of --host etc. |
---|
| 1066 | # FIXME: To remove some day. |
---|
| 1067 | build=$build_alias |
---|
| 1068 | host=$host_alias |
---|
| 1069 | target=$target_alias |
---|
| 1070 | |
---|
| 1071 | # FIXME: To remove some day. |
---|
| 1072 | if test "x$host_alias" != x; then |
---|
| 1073 | if test "x$build_alias" = x; then |
---|
| 1074 | cross_compiling=maybe |
---|
| 1075 | echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. |
---|
| 1076 | If a cross compiler is detected then cross compile mode will be used." >&2 |
---|
| 1077 | elif test "x$build_alias" != "x$host_alias"; then |
---|
| 1078 | cross_compiling=yes |
---|
| 1079 | fi |
---|
| 1080 | fi |
---|
[7d4fbcd] | 1081 | |
---|
[8298425] | 1082 | ac_tool_prefix= |
---|
| 1083 | test -n "$host_alias" && ac_tool_prefix=$host_alias- |
---|
| 1084 | |
---|
| 1085 | test "$silent" = yes && exec 6>/dev/null |
---|
[7d4fbcd] | 1086 | |
---|
| 1087 | |
---|
[4ad3480] | 1088 | ac_pwd=`pwd` && test -n "$ac_pwd" && |
---|
| 1089 | ac_ls_di=`ls -di .` && |
---|
| 1090 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
---|
| 1091 | { echo "$as_me: error: Working directory cannot be determined" >&2 |
---|
| 1092 | { (exit 1); exit 1; }; } |
---|
| 1093 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
---|
| 1094 | { echo "$as_me: error: pwd does not report name of working directory" >&2 |
---|
| 1095 | { (exit 1); exit 1; }; } |
---|
| 1096 | |
---|
| 1097 | |
---|
[7d4fbcd] | 1098 | # Find the source files, if location was not specified. |
---|
| 1099 | if test -z "$srcdir"; then |
---|
| 1100 | ac_srcdir_defaulted=yes |
---|
[4ad3480] | 1101 | # Try the directory containing this script, then the parent directory. |
---|
| 1102 | ac_confdir=`$as_dirname -- "$0" || |
---|
[8298425] | 1103 | $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
| 1104 | X"$0" : 'X\(//\)[^/]' \| \ |
---|
| 1105 | X"$0" : 'X\(//\)$' \| \ |
---|
[4ad3480] | 1106 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
---|
[8298425] | 1107 | echo X"$0" | |
---|
[4ad3480] | 1108 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
| 1109 | s//\1/ |
---|
| 1110 | q |
---|
| 1111 | } |
---|
| 1112 | /^X\(\/\/\)[^/].*/{ |
---|
| 1113 | s//\1/ |
---|
| 1114 | q |
---|
| 1115 | } |
---|
| 1116 | /^X\(\/\/\)$/{ |
---|
| 1117 | s//\1/ |
---|
| 1118 | q |
---|
| 1119 | } |
---|
| 1120 | /^X\(\/\).*/{ |
---|
| 1121 | s//\1/ |
---|
| 1122 | q |
---|
| 1123 | } |
---|
| 1124 | s/.*/./; q'` |
---|
[7d4fbcd] | 1125 | srcdir=$ac_confdir |
---|
[4ad3480] | 1126 | if test ! -r "$srcdir/$ac_unique_file"; then |
---|
[7d4fbcd] | 1127 | srcdir=.. |
---|
| 1128 | fi |
---|
| 1129 | else |
---|
| 1130 | ac_srcdir_defaulted=no |
---|
| 1131 | fi |
---|
[4ad3480] | 1132 | if test ! -r "$srcdir/$ac_unique_file"; then |
---|
| 1133 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
---|
| 1134 | { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 |
---|
[8298425] | 1135 | { (exit 1); exit 1; }; } |
---|
[7d4fbcd] | 1136 | fi |
---|
[4ad3480] | 1137 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
---|
| 1138 | ac_abs_confdir=`( |
---|
| 1139 | cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 |
---|
[8298425] | 1140 | { (exit 1); exit 1; }; } |
---|
[4ad3480] | 1141 | pwd)` |
---|
| 1142 | # When building in place, set srcdir=. |
---|
| 1143 | if test "$ac_abs_confdir" = "$ac_pwd"; then |
---|
| 1144 | srcdir=. |
---|
| 1145 | fi |
---|
| 1146 | # Remove unnecessary trailing slashes from srcdir. |
---|
| 1147 | # Double slashes in file names in object file debugging info |
---|
| 1148 | # mess up M-x gdb in Emacs. |
---|
| 1149 | case $srcdir in |
---|
| 1150 | */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; |
---|
| 1151 | esac |
---|
| 1152 | for ac_var in $ac_precious_vars; do |
---|
| 1153 | eval ac_env_${ac_var}_set=\${${ac_var}+set} |
---|
| 1154 | eval ac_env_${ac_var}_value=\$${ac_var} |
---|
| 1155 | eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} |
---|
| 1156 | eval ac_cv_env_${ac_var}_value=\$${ac_var} |
---|
| 1157 | done |
---|
[8298425] | 1158 | |
---|
| 1159 | # |
---|
| 1160 | # Report the --help message. |
---|
| 1161 | # |
---|
| 1162 | if test "$ac_init_help" = "long"; then |
---|
| 1163 | # Omit some internal or obsolete options to make the list less imposing. |
---|
| 1164 | # This message is too long to be a string in the A/UX 3.1 sh. |
---|
| 1165 | cat <<_ACEOF |
---|
| 1166 | \`configure' configures this package to adapt to many kinds of systems. |
---|
| 1167 | |
---|
| 1168 | Usage: $0 [OPTION]... [VAR=VALUE]... |
---|
| 1169 | |
---|
| 1170 | To assign environment variables (e.g., CC, CFLAGS...), specify them as |
---|
| 1171 | VAR=VALUE. See below for descriptions of some of the useful variables. |
---|
| 1172 | |
---|
| 1173 | Defaults for the options are specified in brackets. |
---|
| 1174 | |
---|
| 1175 | Configuration: |
---|
| 1176 | -h, --help display this help and exit |
---|
| 1177 | --help=short display options specific to this package |
---|
| 1178 | --help=recursive display the short help of all the included packages |
---|
| 1179 | -V, --version display version information and exit |
---|
| 1180 | -q, --quiet, --silent do not print \`checking...' messages |
---|
| 1181 | --cache-file=FILE cache test results in FILE [disabled] |
---|
| 1182 | -C, --config-cache alias for \`--cache-file=config.cache' |
---|
| 1183 | -n, --no-create do not create output files |
---|
| 1184 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
---|
| 1185 | |
---|
| 1186 | Installation directories: |
---|
| 1187 | --prefix=PREFIX install architecture-independent files in PREFIX |
---|
| 1188 | [$ac_default_prefix] |
---|
| 1189 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
---|
| 1190 | [PREFIX] |
---|
| 1191 | |
---|
| 1192 | By default, \`make install' will install all the files in |
---|
| 1193 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
---|
| 1194 | an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
---|
| 1195 | for instance \`--prefix=\$HOME'. |
---|
| 1196 | |
---|
| 1197 | For better control, use the options below. |
---|
| 1198 | |
---|
| 1199 | Fine tuning of the installation directories: |
---|
| 1200 | --bindir=DIR user executables [EPREFIX/bin] |
---|
| 1201 | --sbindir=DIR system admin executables [EPREFIX/sbin] |
---|
| 1202 | --libexecdir=DIR program executables [EPREFIX/libexec] |
---|
| 1203 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
---|
| 1204 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
---|
| 1205 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
---|
| 1206 | --libdir=DIR object code libraries [EPREFIX/lib] |
---|
| 1207 | --includedir=DIR C header files [PREFIX/include] |
---|
| 1208 | --oldincludedir=DIR C header files for non-gcc [/usr/include] |
---|
[4ad3480] | 1209 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
---|
| 1210 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
---|
| 1211 | --infodir=DIR info documentation [DATAROOTDIR/info] |
---|
| 1212 | --localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
---|
| 1213 | --mandir=DIR man documentation [DATAROOTDIR/man] |
---|
| 1214 | --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] |
---|
| 1215 | --htmldir=DIR html documentation [DOCDIR] |
---|
| 1216 | --dvidir=DIR dvi documentation [DOCDIR] |
---|
| 1217 | --pdfdir=DIR pdf documentation [DOCDIR] |
---|
| 1218 | --psdir=DIR ps documentation [DOCDIR] |
---|
[8298425] | 1219 | _ACEOF |
---|
| 1220 | |
---|
| 1221 | cat <<\_ACEOF |
---|
| 1222 | _ACEOF |
---|
| 1223 | fi |
---|
| 1224 | |
---|
| 1225 | if test -n "$ac_init_help"; then |
---|
| 1226 | |
---|
| 1227 | cat <<\_ACEOF |
---|
| 1228 | |
---|
| 1229 | Some influential environment variables: |
---|
| 1230 | CC C compiler command |
---|
| 1231 | CFLAGS C compiler flags |
---|
| 1232 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
---|
| 1233 | nonstandard directory <lib dir> |
---|
[4ad3480] | 1234 | CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if |
---|
| 1235 | you have headers in a nonstandard directory <include dir> |
---|
[8298425] | 1236 | CPP C preprocessor |
---|
| 1237 | |
---|
| 1238 | Use these variables to override the choices made by `configure' or to help |
---|
| 1239 | it to find libraries and programs with nonstandard names/locations. |
---|
| 1240 | |
---|
| 1241 | _ACEOF |
---|
[4ad3480] | 1242 | ac_status=$? |
---|
[8298425] | 1243 | fi |
---|
| 1244 | |
---|
| 1245 | if test "$ac_init_help" = "recursive"; then |
---|
| 1246 | # If there are subdirs, report their specific --help. |
---|
| 1247 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
---|
[4ad3480] | 1248 | test -d "$ac_dir" || continue |
---|
[8298425] | 1249 | ac_builddir=. |
---|
| 1250 | |
---|
[4ad3480] | 1251 | case "$ac_dir" in |
---|
| 1252 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
---|
| 1253 | *) |
---|
[8298425] | 1254 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
---|
[4ad3480] | 1255 | # A ".." for each directory in $ac_dir_suffix. |
---|
| 1256 | ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` |
---|
| 1257 | case $ac_top_builddir_sub in |
---|
| 1258 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
---|
| 1259 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
---|
| 1260 | esac ;; |
---|
| 1261 | esac |
---|
| 1262 | ac_abs_top_builddir=$ac_pwd |
---|
| 1263 | ac_abs_builddir=$ac_pwd$ac_dir_suffix |
---|
| 1264 | # for backward compatibility: |
---|
| 1265 | ac_top_builddir=$ac_top_build_prefix |
---|
[8298425] | 1266 | |
---|
| 1267 | case $srcdir in |
---|
[4ad3480] | 1268 | .) # We are building in place. |
---|
[8298425] | 1269 | ac_srcdir=. |
---|
[4ad3480] | 1270 | ac_top_srcdir=$ac_top_builddir_sub |
---|
| 1271 | ac_abs_top_srcdir=$ac_pwd ;; |
---|
| 1272 | [\\/]* | ?:[\\/]* ) # Absolute name. |
---|
[8298425] | 1273 | ac_srcdir=$srcdir$ac_dir_suffix; |
---|
[4ad3480] | 1274 | ac_top_srcdir=$srcdir |
---|
| 1275 | ac_abs_top_srcdir=$srcdir ;; |
---|
| 1276 | *) # Relative name. |
---|
| 1277 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
---|
| 1278 | ac_top_srcdir=$ac_top_build_prefix$srcdir |
---|
| 1279 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
---|
[8298425] | 1280 | esac |
---|
[4ad3480] | 1281 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
---|
| 1282 | |
---|
| 1283 | cd "$ac_dir" || { ac_status=$?; continue; } |
---|
| 1284 | # Check for guested configure. |
---|
| 1285 | if test -f "$ac_srcdir/configure.gnu"; then |
---|
| 1286 | echo && |
---|
| 1287 | $SHELL "$ac_srcdir/configure.gnu" --help=recursive |
---|
| 1288 | elif test -f "$ac_srcdir/configure"; then |
---|
| 1289 | echo && |
---|
| 1290 | $SHELL "$ac_srcdir/configure" --help=recursive |
---|
[8298425] | 1291 | else |
---|
| 1292 | echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
---|
[4ad3480] | 1293 | fi || ac_status=$? |
---|
| 1294 | cd "$ac_pwd" || { ac_status=$?; break; } |
---|
[8298425] | 1295 | done |
---|
| 1296 | fi |
---|
| 1297 | |
---|
[4ad3480] | 1298 | test -n "$ac_init_help" && exit $ac_status |
---|
[8298425] | 1299 | if $ac_init_version; then |
---|
| 1300 | cat <<\_ACEOF |
---|
[4ad3480] | 1301 | configure |
---|
| 1302 | generated by GNU Autoconf 2.60 |
---|
[8298425] | 1303 | |
---|
[4ad3480] | 1304 | Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
---|
| 1305 | 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. |
---|
[8298425] | 1306 | This configure script is free software; the Free Software Foundation |
---|
| 1307 | gives unlimited permission to copy, distribute and modify it. |
---|
| 1308 | _ACEOF |
---|
[4ad3480] | 1309 | exit |
---|
[8298425] | 1310 | fi |
---|
[4ad3480] | 1311 | cat >config.log <<_ACEOF |
---|
[8298425] | 1312 | This file contains any messages produced by compilers while |
---|
| 1313 | running configure, to aid debugging if configure makes a mistake. |
---|
| 1314 | |
---|
| 1315 | It was created by $as_me, which was |
---|
[4ad3480] | 1316 | generated by GNU Autoconf 2.60. Invocation command line was |
---|
[8298425] | 1317 | |
---|
| 1318 | $ $0 $@ |
---|
| 1319 | |
---|
| 1320 | _ACEOF |
---|
[4ad3480] | 1321 | exec 5>>config.log |
---|
[8298425] | 1322 | { |
---|
| 1323 | cat <<_ASUNAME |
---|
| 1324 | ## --------- ## |
---|
| 1325 | ## Platform. ## |
---|
| 1326 | ## --------- ## |
---|
| 1327 | |
---|
| 1328 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
---|
| 1329 | uname -m = `(uname -m) 2>/dev/null || echo unknown` |
---|
| 1330 | uname -r = `(uname -r) 2>/dev/null || echo unknown` |
---|
| 1331 | uname -s = `(uname -s) 2>/dev/null || echo unknown` |
---|
| 1332 | uname -v = `(uname -v) 2>/dev/null || echo unknown` |
---|
| 1333 | |
---|
| 1334 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` |
---|
| 1335 | /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` |
---|
| 1336 | |
---|
| 1337 | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
---|
| 1338 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
---|
| 1339 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
---|
[4ad3480] | 1340 | /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` |
---|
[8298425] | 1341 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
---|
| 1342 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
---|
| 1343 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
---|
| 1344 | |
---|
| 1345 | _ASUNAME |
---|
| 1346 | |
---|
| 1347 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 1348 | for as_dir in $PATH |
---|
| 1349 | do |
---|
| 1350 | IFS=$as_save_IFS |
---|
| 1351 | test -z "$as_dir" && as_dir=. |
---|
| 1352 | echo "PATH: $as_dir" |
---|
| 1353 | done |
---|
[4ad3480] | 1354 | IFS=$as_save_IFS |
---|
[8298425] | 1355 | |
---|
| 1356 | } >&5 |
---|
| 1357 | |
---|
| 1358 | cat >&5 <<_ACEOF |
---|
| 1359 | |
---|
| 1360 | |
---|
| 1361 | ## ----------- ## |
---|
| 1362 | ## Core tests. ## |
---|
| 1363 | ## ----------- ## |
---|
| 1364 | |
---|
| 1365 | _ACEOF |
---|
| 1366 | |
---|
| 1367 | |
---|
| 1368 | # Keep a trace of the command line. |
---|
| 1369 | # Strip out --no-create and --no-recursion so they do not pile up. |
---|
| 1370 | # Strip out --silent because we don't want to record it for future runs. |
---|
| 1371 | # Also quote any args containing shell meta-characters. |
---|
| 1372 | # Make two passes to allow for proper duplicate-argument suppression. |
---|
| 1373 | ac_configure_args= |
---|
| 1374 | ac_configure_args0= |
---|
| 1375 | ac_configure_args1= |
---|
| 1376 | ac_must_keep_next=false |
---|
| 1377 | for ac_pass in 1 2 |
---|
| 1378 | do |
---|
| 1379 | for ac_arg |
---|
| 1380 | do |
---|
| 1381 | case $ac_arg in |
---|
| 1382 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
---|
| 1383 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
---|
| 1384 | | -silent | --silent | --silen | --sile | --sil) |
---|
| 1385 | continue ;; |
---|
[4ad3480] | 1386 | *\'*) |
---|
[8298425] | 1387 | ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
---|
| 1388 | esac |
---|
| 1389 | case $ac_pass in |
---|
| 1390 | 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; |
---|
| 1391 | 2) |
---|
| 1392 | ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
---|
| 1393 | if test $ac_must_keep_next = true; then |
---|
| 1394 | ac_must_keep_next=false # Got value, back to normal. |
---|
| 1395 | else |
---|
| 1396 | case $ac_arg in |
---|
| 1397 | *=* | --config-cache | -C | -disable-* | --disable-* \ |
---|
| 1398 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
---|
| 1399 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
---|
| 1400 | | -with-* | --with-* | -without-* | --without-* | --x) |
---|
| 1401 | case "$ac_configure_args0 " in |
---|
| 1402 | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
---|
| 1403 | esac |
---|
| 1404 | ;; |
---|
| 1405 | -* ) ac_must_keep_next=true ;; |
---|
| 1406 | esac |
---|
| 1407 | fi |
---|
[4ad3480] | 1408 | ac_configure_args="$ac_configure_args '$ac_arg'" |
---|
[8298425] | 1409 | ;; |
---|
| 1410 | esac |
---|
| 1411 | done |
---|
| 1412 | done |
---|
| 1413 | $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } |
---|
| 1414 | $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } |
---|
| 1415 | |
---|
| 1416 | # When interrupted or exit'd, cleanup temporary files, and complete |
---|
| 1417 | # config.log. We remove comments because anyway the quotes in there |
---|
| 1418 | # would cause problems or look ugly. |
---|
[4ad3480] | 1419 | # WARNING: Use '\'' to represent an apostrophe within the trap. |
---|
| 1420 | # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. |
---|
[8298425] | 1421 | trap 'exit_status=$? |
---|
| 1422 | # Save into config.log some information that might help in debugging. |
---|
| 1423 | { |
---|
| 1424 | echo |
---|
| 1425 | |
---|
| 1426 | cat <<\_ASBOX |
---|
| 1427 | ## ---------------- ## |
---|
| 1428 | ## Cache variables. ## |
---|
| 1429 | ## ---------------- ## |
---|
| 1430 | _ASBOX |
---|
| 1431 | echo |
---|
| 1432 | # The following way of writing the cache mishandles newlines in values, |
---|
[4ad3480] | 1433 | ( |
---|
| 1434 | for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
---|
| 1435 | eval ac_val=\$$ac_var |
---|
| 1436 | case $ac_val in #( |
---|
| 1437 | *${as_nl}*) |
---|
| 1438 | case $ac_var in #( |
---|
| 1439 | *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 |
---|
| 1440 | echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; |
---|
| 1441 | esac |
---|
| 1442 | case $ac_var in #( |
---|
| 1443 | _ | IFS | as_nl) ;; #( |
---|
| 1444 | *) $as_unset $ac_var ;; |
---|
| 1445 | esac ;; |
---|
| 1446 | esac |
---|
| 1447 | done |
---|
[8298425] | 1448 | (set) 2>&1 | |
---|
[4ad3480] | 1449 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
---|
| 1450 | *${as_nl}ac_space=\ *) |
---|
[8298425] | 1451 | sed -n \ |
---|
[4ad3480] | 1452 | "s/'\''/'\''\\\\'\'''\''/g; |
---|
| 1453 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" |
---|
| 1454 | ;; #( |
---|
[8298425] | 1455 | *) |
---|
[4ad3480] | 1456 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
---|
[8298425] | 1457 | ;; |
---|
[4ad3480] | 1458 | esac | |
---|
| 1459 | sort |
---|
| 1460 | ) |
---|
[8298425] | 1461 | echo |
---|
| 1462 | |
---|
| 1463 | cat <<\_ASBOX |
---|
| 1464 | ## ----------------- ## |
---|
| 1465 | ## Output variables. ## |
---|
| 1466 | ## ----------------- ## |
---|
| 1467 | _ASBOX |
---|
| 1468 | echo |
---|
| 1469 | for ac_var in $ac_subst_vars |
---|
| 1470 | do |
---|
[4ad3480] | 1471 | eval ac_val=\$$ac_var |
---|
| 1472 | case $ac_val in |
---|
| 1473 | *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
---|
| 1474 | esac |
---|
| 1475 | echo "$ac_var='\''$ac_val'\''" |
---|
[8298425] | 1476 | done | sort |
---|
| 1477 | echo |
---|
| 1478 | |
---|
| 1479 | if test -n "$ac_subst_files"; then |
---|
| 1480 | cat <<\_ASBOX |
---|
[4ad3480] | 1481 | ## ------------------- ## |
---|
| 1482 | ## File substitutions. ## |
---|
| 1483 | ## ------------------- ## |
---|
[8298425] | 1484 | _ASBOX |
---|
| 1485 | echo |
---|
| 1486 | for ac_var in $ac_subst_files |
---|
| 1487 | do |
---|
[4ad3480] | 1488 | eval ac_val=\$$ac_var |
---|
| 1489 | case $ac_val in |
---|
| 1490 | *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
---|
| 1491 | esac |
---|
| 1492 | echo "$ac_var='\''$ac_val'\''" |
---|
[8298425] | 1493 | done | sort |
---|
| 1494 | echo |
---|
| 1495 | fi |
---|
| 1496 | |
---|
| 1497 | if test -s confdefs.h; then |
---|
| 1498 | cat <<\_ASBOX |
---|
| 1499 | ## ----------- ## |
---|
| 1500 | ## confdefs.h. ## |
---|
| 1501 | ## ----------- ## |
---|
| 1502 | _ASBOX |
---|
| 1503 | echo |
---|
[4ad3480] | 1504 | cat confdefs.h |
---|
[8298425] | 1505 | echo |
---|
| 1506 | fi |
---|
| 1507 | test "$ac_signal" != 0 && |
---|
| 1508 | echo "$as_me: caught signal $ac_signal" |
---|
| 1509 | echo "$as_me: exit $exit_status" |
---|
| 1510 | } >&5 |
---|
[4ad3480] | 1511 | rm -f core *.core core.conftest.* && |
---|
| 1512 | rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
---|
[8298425] | 1513 | exit $exit_status |
---|
[4ad3480] | 1514 | ' 0 |
---|
[8298425] | 1515 | for ac_signal in 1 2 13 15; do |
---|
| 1516 | trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal |
---|
| 1517 | done |
---|
| 1518 | ac_signal=0 |
---|
| 1519 | |
---|
| 1520 | # confdefs.h avoids OS command line length limits that DEFS can exceed. |
---|
[4ad3480] | 1521 | rm -f -r conftest* confdefs.h |
---|
[8298425] | 1522 | |
---|
| 1523 | # Predefined preprocessor variables. |
---|
| 1524 | |
---|
| 1525 | cat >>confdefs.h <<_ACEOF |
---|
| 1526 | #define PACKAGE_NAME "$PACKAGE_NAME" |
---|
| 1527 | _ACEOF |
---|
| 1528 | |
---|
| 1529 | |
---|
| 1530 | cat >>confdefs.h <<_ACEOF |
---|
| 1531 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
---|
| 1532 | _ACEOF |
---|
| 1533 | |
---|
| 1534 | |
---|
| 1535 | cat >>confdefs.h <<_ACEOF |
---|
| 1536 | #define PACKAGE_VERSION "$PACKAGE_VERSION" |
---|
| 1537 | _ACEOF |
---|
| 1538 | |
---|
| 1539 | |
---|
| 1540 | cat >>confdefs.h <<_ACEOF |
---|
| 1541 | #define PACKAGE_STRING "$PACKAGE_STRING" |
---|
| 1542 | _ACEOF |
---|
[7d4fbcd] | 1543 | |
---|
[8298425] | 1544 | |
---|
| 1545 | cat >>confdefs.h <<_ACEOF |
---|
| 1546 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
---|
| 1547 | _ACEOF |
---|
| 1548 | |
---|
| 1549 | |
---|
| 1550 | # Let the site file select an alternate cache file if it wants to. |
---|
[7d4fbcd] | 1551 | # Prefer explicitly selected file to automatically selected ones. |
---|
[4ad3480] | 1552 | if test -n "$CONFIG_SITE"; then |
---|
| 1553 | set x "$CONFIG_SITE" |
---|
| 1554 | elif test "x$prefix" != xNONE; then |
---|
| 1555 | set x "$prefix/share/config.site" "$prefix/etc/config.site" |
---|
| 1556 | else |
---|
| 1557 | set x "$ac_default_prefix/share/config.site" \ |
---|
| 1558 | "$ac_default_prefix/etc/config.site" |
---|
[7d4fbcd] | 1559 | fi |
---|
[4ad3480] | 1560 | shift |
---|
| 1561 | for ac_site_file |
---|
| 1562 | do |
---|
[7d4fbcd] | 1563 | if test -r "$ac_site_file"; then |
---|
[8298425] | 1564 | { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 |
---|
| 1565 | echo "$as_me: loading site script $ac_site_file" >&6;} |
---|
| 1566 | sed 's/^/| /' "$ac_site_file" >&5 |
---|
[7d4fbcd] | 1567 | . "$ac_site_file" |
---|
| 1568 | fi |
---|
| 1569 | done |
---|
| 1570 | |
---|
| 1571 | if test -r "$cache_file"; then |
---|
[8298425] | 1572 | # Some versions of bash will fail to source /dev/null (special |
---|
| 1573 | # files actually), so we avoid doing that. |
---|
| 1574 | if test -f "$cache_file"; then |
---|
| 1575 | { echo "$as_me:$LINENO: loading cache $cache_file" >&5 |
---|
| 1576 | echo "$as_me: loading cache $cache_file" >&6;} |
---|
| 1577 | case $cache_file in |
---|
[4ad3480] | 1578 | [\\/]* | ?:[\\/]* ) . "$cache_file";; |
---|
| 1579 | *) . "./$cache_file";; |
---|
[8298425] | 1580 | esac |
---|
| 1581 | fi |
---|
[7d4fbcd] | 1582 | else |
---|
[8298425] | 1583 | { echo "$as_me:$LINENO: creating cache $cache_file" >&5 |
---|
| 1584 | echo "$as_me: creating cache $cache_file" >&6;} |
---|
| 1585 | >$cache_file |
---|
[7d4fbcd] | 1586 | fi |
---|
| 1587 | |
---|
[8298425] | 1588 | # Check that the precious variables saved in the cache have kept the same |
---|
| 1589 | # value. |
---|
| 1590 | ac_cache_corrupted=false |
---|
[4ad3480] | 1591 | for ac_var in $ac_precious_vars; do |
---|
[8298425] | 1592 | eval ac_old_set=\$ac_cv_env_${ac_var}_set |
---|
| 1593 | eval ac_new_set=\$ac_env_${ac_var}_set |
---|
[4ad3480] | 1594 | eval ac_old_val=\$ac_cv_env_${ac_var}_value |
---|
| 1595 | eval ac_new_val=\$ac_env_${ac_var}_value |
---|
[8298425] | 1596 | case $ac_old_set,$ac_new_set in |
---|
| 1597 | set,) |
---|
| 1598 | { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
---|
| 1599 | echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
---|
| 1600 | ac_cache_corrupted=: ;; |
---|
| 1601 | ,set) |
---|
| 1602 | { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 |
---|
| 1603 | echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
---|
| 1604 | ac_cache_corrupted=: ;; |
---|
| 1605 | ,);; |
---|
| 1606 | *) |
---|
| 1607 | if test "x$ac_old_val" != "x$ac_new_val"; then |
---|
| 1608 | { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
---|
| 1609 | echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
---|
| 1610 | { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 |
---|
| 1611 | echo "$as_me: former value: $ac_old_val" >&2;} |
---|
| 1612 | { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 |
---|
| 1613 | echo "$as_me: current value: $ac_new_val" >&2;} |
---|
| 1614 | ac_cache_corrupted=: |
---|
| 1615 | fi;; |
---|
| 1616 | esac |
---|
| 1617 | # Pass precious variables to config.status. |
---|
| 1618 | if test "$ac_new_set" = set; then |
---|
| 1619 | case $ac_new_val in |
---|
[4ad3480] | 1620 | *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
---|
[8298425] | 1621 | *) ac_arg=$ac_var=$ac_new_val ;; |
---|
| 1622 | esac |
---|
| 1623 | case " $ac_configure_args " in |
---|
| 1624 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
---|
| 1625 | *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; |
---|
| 1626 | esac |
---|
[7d4fbcd] | 1627 | fi |
---|
[8298425] | 1628 | done |
---|
| 1629 | if $ac_cache_corrupted; then |
---|
| 1630 | { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 |
---|
| 1631 | echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
---|
| 1632 | { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 |
---|
| 1633 | echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} |
---|
| 1634 | { (exit 1); exit 1; }; } |
---|
[7d4fbcd] | 1635 | fi |
---|
| 1636 | |
---|
| 1637 | |
---|
| 1638 | |
---|
| 1639 | |
---|
| 1640 | |
---|
[8298425] | 1641 | |
---|
| 1642 | |
---|
| 1643 | |
---|
| 1644 | |
---|
| 1645 | |
---|
| 1646 | |
---|
| 1647 | |
---|
| 1648 | |
---|
| 1649 | |
---|
| 1650 | |
---|
| 1651 | |
---|
| 1652 | |
---|
[4ad3480] | 1653 | ac_ext=c |
---|
| 1654 | ac_cpp='$CPP $CPPFLAGS' |
---|
| 1655 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
| 1656 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
| 1657 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
[8298425] | 1658 | |
---|
| 1659 | |
---|
| 1660 | |
---|
[4ad3480] | 1661 | ac_config_headers="$ac_config_headers config.h" |
---|
[8298425] | 1662 | |
---|
| 1663 | |
---|
| 1664 | ac_ext=c |
---|
| 1665 | ac_cpp='$CPP $CPPFLAGS' |
---|
| 1666 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
| 1667 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
| 1668 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
| 1669 | if test -n "$ac_tool_prefix"; then |
---|
| 1670 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
---|
| 1671 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
---|
[4ad3480] | 1672 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
| 1673 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
---|
[8298425] | 1674 | if test "${ac_cv_prog_CC+set}" = set; then |
---|
| 1675 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
[7d4fbcd] | 1676 | else |
---|
| 1677 | if test -n "$CC"; then |
---|
| 1678 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
| 1679 | else |
---|
[8298425] | 1680 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 1681 | for as_dir in $PATH |
---|
| 1682 | do |
---|
| 1683 | IFS=$as_save_IFS |
---|
| 1684 | test -z "$as_dir" && as_dir=. |
---|
| 1685 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
[4ad3480] | 1686 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
[8298425] | 1687 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
---|
| 1688 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
| 1689 | break 2 |
---|
| 1690 | fi |
---|
| 1691 | done |
---|
| 1692 | done |
---|
[4ad3480] | 1693 | IFS=$as_save_IFS |
---|
[8298425] | 1694 | |
---|
[7d4fbcd] | 1695 | fi |
---|
| 1696 | fi |
---|
[8298425] | 1697 | CC=$ac_cv_prog_CC |
---|
[7d4fbcd] | 1698 | if test -n "$CC"; then |
---|
[4ad3480] | 1699 | { echo "$as_me:$LINENO: result: $CC" >&5 |
---|
| 1700 | echo "${ECHO_T}$CC" >&6; } |
---|
[8298425] | 1701 | else |
---|
[4ad3480] | 1702 | { echo "$as_me:$LINENO: result: no" >&5 |
---|
| 1703 | echo "${ECHO_T}no" >&6; } |
---|
[8298425] | 1704 | fi |
---|
| 1705 | |
---|
[4ad3480] | 1706 | |
---|
[8298425] | 1707 | fi |
---|
| 1708 | if test -z "$ac_cv_prog_CC"; then |
---|
| 1709 | ac_ct_CC=$CC |
---|
| 1710 | # Extract the first word of "gcc", so it can be a program name with args. |
---|
| 1711 | set dummy gcc; ac_word=$2 |
---|
[4ad3480] | 1712 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
| 1713 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
---|
[8298425] | 1714 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
---|
| 1715 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 1716 | else |
---|
| 1717 | if test -n "$ac_ct_CC"; then |
---|
| 1718 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
---|
| 1719 | else |
---|
| 1720 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 1721 | for as_dir in $PATH |
---|
| 1722 | do |
---|
| 1723 | IFS=$as_save_IFS |
---|
| 1724 | test -z "$as_dir" && as_dir=. |
---|
| 1725 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
[4ad3480] | 1726 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
[8298425] | 1727 | ac_cv_prog_ac_ct_CC="gcc" |
---|
| 1728 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
| 1729 | break 2 |
---|
| 1730 | fi |
---|
| 1731 | done |
---|
| 1732 | done |
---|
[4ad3480] | 1733 | IFS=$as_save_IFS |
---|
[8298425] | 1734 | |
---|
| 1735 | fi |
---|
| 1736 | fi |
---|
| 1737 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
---|
| 1738 | if test -n "$ac_ct_CC"; then |
---|
[4ad3480] | 1739 | { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
---|
| 1740 | echo "${ECHO_T}$ac_ct_CC" >&6; } |
---|
[8298425] | 1741 | else |
---|
[4ad3480] | 1742 | { echo "$as_me:$LINENO: result: no" >&5 |
---|
| 1743 | echo "${ECHO_T}no" >&6; } |
---|
[8298425] | 1744 | fi |
---|
| 1745 | |
---|
[4ad3480] | 1746 | if test "x$ac_ct_CC" = x; then |
---|
| 1747 | CC="" |
---|
| 1748 | else |
---|
| 1749 | case $cross_compiling:$ac_tool_warned in |
---|
| 1750 | yes:) |
---|
| 1751 | { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
---|
| 1752 | whose name does not start with the host triplet. If you think this |
---|
| 1753 | configuration is useful to you, please write to autoconf@gnu.org." >&5 |
---|
| 1754 | echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
---|
| 1755 | whose name does not start with the host triplet. If you think this |
---|
| 1756 | configuration is useful to you, please write to autoconf@gnu.org." >&2;} |
---|
| 1757 | ac_tool_warned=yes ;; |
---|
| 1758 | esac |
---|
| 1759 | CC=$ac_ct_CC |
---|
| 1760 | fi |
---|
[7d4fbcd] | 1761 | else |
---|
[8298425] | 1762 | CC="$ac_cv_prog_CC" |
---|
[7d4fbcd] | 1763 | fi |
---|
| 1764 | |
---|
| 1765 | if test -z "$CC"; then |
---|
[4ad3480] | 1766 | if test -n "$ac_tool_prefix"; then |
---|
| 1767 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
---|
[8298425] | 1768 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
---|
[4ad3480] | 1769 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
| 1770 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
---|
[8298425] | 1771 | if test "${ac_cv_prog_CC+set}" = set; then |
---|
| 1772 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
[7d4fbcd] | 1773 | else |
---|
| 1774 | if test -n "$CC"; then |
---|
| 1775 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
| 1776 | else |
---|
[8298425] | 1777 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 1778 | for as_dir in $PATH |
---|
| 1779 | do |
---|
| 1780 | IFS=$as_save_IFS |
---|
| 1781 | test -z "$as_dir" && as_dir=. |
---|
| 1782 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
[4ad3480] | 1783 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
[8298425] | 1784 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
---|
| 1785 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
| 1786 | break 2 |
---|
| 1787 | fi |
---|
| 1788 | done |
---|
| 1789 | done |
---|
[4ad3480] | 1790 | IFS=$as_save_IFS |
---|
[8298425] | 1791 | |
---|
| 1792 | fi |
---|
| 1793 | fi |
---|
| 1794 | CC=$ac_cv_prog_CC |
---|
| 1795 | if test -n "$CC"; then |
---|
[4ad3480] | 1796 | { echo "$as_me:$LINENO: result: $CC" >&5 |
---|
| 1797 | echo "${ECHO_T}$CC" >&6; } |
---|
[8298425] | 1798 | else |
---|
[4ad3480] | 1799 | { echo "$as_me:$LINENO: result: no" >&5 |
---|
| 1800 | echo "${ECHO_T}no" >&6; } |
---|
[8298425] | 1801 | fi |
---|
| 1802 | |
---|
| 1803 | |
---|
[4ad3480] | 1804 | fi |
---|
[8298425] | 1805 | fi |
---|
| 1806 | if test -z "$CC"; then |
---|
| 1807 | # Extract the first word of "cc", so it can be a program name with args. |
---|
| 1808 | set dummy cc; ac_word=$2 |
---|
[4ad3480] | 1809 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
| 1810 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
---|
[8298425] | 1811 | if test "${ac_cv_prog_CC+set}" = set; then |
---|
| 1812 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 1813 | else |
---|
| 1814 | if test -n "$CC"; then |
---|
| 1815 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
| 1816 | else |
---|
| 1817 | ac_prog_rejected=no |
---|
| 1818 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 1819 | for as_dir in $PATH |
---|
| 1820 | do |
---|
| 1821 | IFS=$as_save_IFS |
---|
| 1822 | test -z "$as_dir" && as_dir=. |
---|
| 1823 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
[4ad3480] | 1824 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
[8298425] | 1825 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
---|
| 1826 | ac_prog_rejected=yes |
---|
| 1827 | continue |
---|
| 1828 | fi |
---|
| 1829 | ac_cv_prog_CC="cc" |
---|
| 1830 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
| 1831 | break 2 |
---|
| 1832 | fi |
---|
| 1833 | done |
---|
| 1834 | done |
---|
[4ad3480] | 1835 | IFS=$as_save_IFS |
---|
[8298425] | 1836 | |
---|
[7d4fbcd] | 1837 | if test $ac_prog_rejected = yes; then |
---|
| 1838 | # We found a bogon in the path, so make sure we never use it. |
---|
| 1839 | set dummy $ac_cv_prog_CC |
---|
| 1840 | shift |
---|
[8298425] | 1841 | if test $# != 0; then |
---|
[7d4fbcd] | 1842 | # We chose a different compiler from the bogus one. |
---|
| 1843 | # However, it has the same basename, so the bogon will be chosen |
---|
| 1844 | # first if we set CC to just the basename; use the full file name. |
---|
| 1845 | shift |
---|
[8298425] | 1846 | ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
---|
[7d4fbcd] | 1847 | fi |
---|
| 1848 | fi |
---|
| 1849 | fi |
---|
| 1850 | fi |
---|
[8298425] | 1851 | CC=$ac_cv_prog_CC |
---|
[7d4fbcd] | 1852 | if test -n "$CC"; then |
---|
[4ad3480] | 1853 | { echo "$as_me:$LINENO: result: $CC" >&5 |
---|
| 1854 | echo "${ECHO_T}$CC" >&6; } |
---|
[7d4fbcd] | 1855 | else |
---|
[4ad3480] | 1856 | { echo "$as_me:$LINENO: result: no" >&5 |
---|
| 1857 | echo "${ECHO_T}no" >&6; } |
---|
[7d4fbcd] | 1858 | fi |
---|
| 1859 | |
---|
[4ad3480] | 1860 | |
---|
[8298425] | 1861 | fi |
---|
| 1862 | if test -z "$CC"; then |
---|
| 1863 | if test -n "$ac_tool_prefix"; then |
---|
[4ad3480] | 1864 | for ac_prog in cl.exe |
---|
[8298425] | 1865 | do |
---|
| 1866 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
---|
| 1867 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
---|
[4ad3480] | 1868 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
| 1869 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
---|
[8298425] | 1870 | if test "${ac_cv_prog_CC+set}" = set; then |
---|
| 1871 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
[7d4fbcd] | 1872 | else |
---|
| 1873 | if test -n "$CC"; then |
---|
| 1874 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
| 1875 | else |
---|
[8298425] | 1876 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 1877 | for as_dir in $PATH |
---|
| 1878 | do |
---|
| 1879 | IFS=$as_save_IFS |
---|
| 1880 | test -z "$as_dir" && as_dir=. |
---|
| 1881 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
[4ad3480] | 1882 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
[8298425] | 1883 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
---|
| 1884 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
| 1885 | break 2 |
---|
| 1886 | fi |
---|
| 1887 | done |
---|
| 1888 | done |
---|
[4ad3480] | 1889 | IFS=$as_save_IFS |
---|
[8298425] | 1890 | |
---|
[7d4fbcd] | 1891 | fi |
---|
| 1892 | fi |
---|
[8298425] | 1893 | CC=$ac_cv_prog_CC |
---|
[7d4fbcd] | 1894 | if test -n "$CC"; then |
---|
[4ad3480] | 1895 | { echo "$as_me:$LINENO: result: $CC" >&5 |
---|
| 1896 | echo "${ECHO_T}$CC" >&6; } |
---|
[7d4fbcd] | 1897 | else |
---|
[4ad3480] | 1898 | { echo "$as_me:$LINENO: result: no" >&5 |
---|
| 1899 | echo "${ECHO_T}no" >&6; } |
---|
[7d4fbcd] | 1900 | fi |
---|
[8298425] | 1901 | |
---|
[4ad3480] | 1902 | |
---|
[8298425] | 1903 | test -n "$CC" && break |
---|
| 1904 | done |
---|
| 1905 | fi |
---|
| 1906 | if test -z "$CC"; then |
---|
| 1907 | ac_ct_CC=$CC |
---|
[4ad3480] | 1908 | for ac_prog in cl.exe |
---|
[8298425] | 1909 | do |
---|
| 1910 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
---|
| 1911 | set dummy $ac_prog; ac_word=$2 |
---|
[4ad3480] | 1912 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
| 1913 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
---|
[8298425] | 1914 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
---|
| 1915 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 1916 | else |
---|
| 1917 | if test -n "$ac_ct_CC"; then |
---|
| 1918 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
---|
| 1919 | else |
---|
| 1920 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 1921 | for as_dir in $PATH |
---|
| 1922 | do |
---|
| 1923 | IFS=$as_save_IFS |
---|
| 1924 | test -z "$as_dir" && as_dir=. |
---|
| 1925 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
[4ad3480] | 1926 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
[8298425] | 1927 | ac_cv_prog_ac_ct_CC="$ac_prog" |
---|
| 1928 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
| 1929 | break 2 |
---|
[7d4fbcd] | 1930 | fi |
---|
[8298425] | 1931 | done |
---|
| 1932 | done |
---|
[4ad3480] | 1933 | IFS=$as_save_IFS |
---|
[8298425] | 1934 | |
---|
| 1935 | fi |
---|
| 1936 | fi |
---|
| 1937 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
---|
| 1938 | if test -n "$ac_ct_CC"; then |
---|
[4ad3480] | 1939 | { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
---|
| 1940 | echo "${ECHO_T}$ac_ct_CC" >&6; } |
---|
[8298425] | 1941 | else |
---|
[4ad3480] | 1942 | { echo "$as_me:$LINENO: result: no" >&5 |
---|
| 1943 | echo "${ECHO_T}no" >&6; } |
---|
[7d4fbcd] | 1944 | fi |
---|
| 1945 | |
---|
[4ad3480] | 1946 | |
---|
[8298425] | 1947 | test -n "$ac_ct_CC" && break |
---|
| 1948 | done |
---|
[7d4fbcd] | 1949 | |
---|
[4ad3480] | 1950 | if test "x$ac_ct_CC" = x; then |
---|
| 1951 | CC="" |
---|
| 1952 | else |
---|
| 1953 | case $cross_compiling:$ac_tool_warned in |
---|
| 1954 | yes:) |
---|
| 1955 | { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
---|
| 1956 | whose name does not start with the host triplet. If you think this |
---|
| 1957 | configuration is useful to you, please write to autoconf@gnu.org." >&5 |
---|
| 1958 | echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
---|
| 1959 | whose name does not start with the host triplet. If you think this |
---|
| 1960 | configuration is useful to you, please write to autoconf@gnu.org." >&2;} |
---|
| 1961 | ac_tool_warned=yes ;; |
---|
| 1962 | esac |
---|
| 1963 | CC=$ac_ct_CC |
---|
| 1964 | fi |
---|
[8298425] | 1965 | fi |
---|
| 1966 | |
---|
| 1967 | fi |
---|
| 1968 | |
---|
| 1969 | |
---|
| 1970 | test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH |
---|
| 1971 | See \`config.log' for more details." >&5 |
---|
| 1972 | echo "$as_me: error: no acceptable C compiler found in \$PATH |
---|
| 1973 | See \`config.log' for more details." >&2;} |
---|
| 1974 | { (exit 1); exit 1; }; } |
---|
| 1975 | |
---|
| 1976 | # Provide some information about the compiler. |
---|
[4ad3480] | 1977 | echo "$as_me:$LINENO: checking for C compiler version" >&5 |
---|
[8298425] | 1978 | ac_compiler=`set X $ac_compile; echo $2` |
---|
[4ad3480] | 1979 | { (ac_try="$ac_compiler --version >&5" |
---|
| 1980 | case "(($ac_try" in |
---|
| 1981 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 1982 | *) ac_try_echo=$ac_try;; |
---|
| 1983 | esac |
---|
| 1984 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 1985 | (eval "$ac_compiler --version >&5") 2>&5 |
---|
[8298425] | 1986 | ac_status=$? |
---|
| 1987 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 1988 | (exit $ac_status); } |
---|
[4ad3480] | 1989 | { (ac_try="$ac_compiler -v >&5" |
---|
| 1990 | case "(($ac_try" in |
---|
| 1991 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 1992 | *) ac_try_echo=$ac_try;; |
---|
| 1993 | esac |
---|
| 1994 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 1995 | (eval "$ac_compiler -v >&5") 2>&5 |
---|
[8298425] | 1996 | ac_status=$? |
---|
| 1997 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 1998 | (exit $ac_status); } |
---|
[4ad3480] | 1999 | { (ac_try="$ac_compiler -V >&5" |
---|
| 2000 | case "(($ac_try" in |
---|
| 2001 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 2002 | *) ac_try_echo=$ac_try;; |
---|
| 2003 | esac |
---|
| 2004 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 2005 | (eval "$ac_compiler -V >&5") 2>&5 |
---|
[8298425] | 2006 | ac_status=$? |
---|
| 2007 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2008 | (exit $ac_status); } |
---|
| 2009 | |
---|
| 2010 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 2011 | /* confdefs.h. */ |
---|
| 2012 | _ACEOF |
---|
| 2013 | cat confdefs.h >>conftest.$ac_ext |
---|
| 2014 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 2015 | /* end confdefs.h. */ |
---|
| 2016 | |
---|
| 2017 | int |
---|
| 2018 | main () |
---|
| 2019 | { |
---|
| 2020 | |
---|
| 2021 | ; |
---|
| 2022 | return 0; |
---|
| 2023 | } |
---|
| 2024 | _ACEOF |
---|
| 2025 | ac_clean_files_save=$ac_clean_files |
---|
| 2026 | ac_clean_files="$ac_clean_files a.out a.exe b.out" |
---|
| 2027 | # Try to create an executable without -o first, disregard a.out. |
---|
| 2028 | # It will help us diagnose broken compilers, and finding out an intuition |
---|
| 2029 | # of exeext. |
---|
[4ad3480] | 2030 | { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 |
---|
| 2031 | echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } |
---|
[8298425] | 2032 | ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
---|
[4ad3480] | 2033 | # |
---|
| 2034 | # List of possible output files, starting from the most likely. |
---|
| 2035 | # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) |
---|
| 2036 | # only as a last resort. b.out is created by i960 compilers. |
---|
| 2037 | ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' |
---|
| 2038 | # |
---|
| 2039 | # The IRIX 6 linker writes into existing files which may not be |
---|
| 2040 | # executable, retaining their permissions. Remove them first so a |
---|
| 2041 | # subsequent execution test works. |
---|
| 2042 | ac_rmfiles= |
---|
| 2043 | for ac_file in $ac_files |
---|
| 2044 | do |
---|
| 2045 | case $ac_file in |
---|
| 2046 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; |
---|
| 2047 | * ) ac_rmfiles="$ac_rmfiles $ac_file";; |
---|
| 2048 | esac |
---|
| 2049 | done |
---|
| 2050 | rm -f $ac_rmfiles |
---|
| 2051 | |
---|
| 2052 | if { (ac_try="$ac_link_default" |
---|
| 2053 | case "(($ac_try" in |
---|
| 2054 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 2055 | *) ac_try_echo=$ac_try;; |
---|
| 2056 | esac |
---|
| 2057 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 2058 | (eval "$ac_link_default") 2>&5 |
---|
[8298425] | 2059 | ac_status=$? |
---|
| 2060 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2061 | (exit $ac_status); }; then |
---|
[4ad3480] | 2062 | # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
---|
| 2063 | # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
---|
| 2064 | # in a Makefile. We should not override ac_cv_exeext if it was cached, |
---|
| 2065 | # so that the user can short-circuit this test for compilers unknown to |
---|
| 2066 | # Autoconf. |
---|
| 2067 | for ac_file in $ac_files |
---|
[8298425] | 2068 | do |
---|
| 2069 | test -f "$ac_file" || continue |
---|
| 2070 | case $ac_file in |
---|
[4ad3480] | 2071 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) |
---|
[8298425] | 2072 | ;; |
---|
| 2073 | [ab].out ) |
---|
| 2074 | # We found the default executable, but exeext='' is most |
---|
| 2075 | # certainly right. |
---|
| 2076 | break;; |
---|
| 2077 | *.* ) |
---|
[4ad3480] | 2078 | if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
---|
| 2079 | then :; else |
---|
| 2080 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
---|
| 2081 | fi |
---|
| 2082 | # We set ac_cv_exeext here because the later test for it is not |
---|
| 2083 | # safe: cross compilers may not add the suffix if given an `-o' |
---|
| 2084 | # argument, so we may need to know it at that point already. |
---|
| 2085 | # Even if this section looks crufty: it has the advantage of |
---|
| 2086 | # actually working. |
---|
[8298425] | 2087 | break;; |
---|
| 2088 | * ) |
---|
| 2089 | break;; |
---|
| 2090 | esac |
---|
| 2091 | done |
---|
[4ad3480] | 2092 | test "$ac_cv_exeext" = no && ac_cv_exeext= |
---|
| 2093 | |
---|
[8298425] | 2094 | else |
---|
| 2095 | echo "$as_me: failed program was:" >&5 |
---|
| 2096 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 2097 | |
---|
| 2098 | { { echo "$as_me:$LINENO: error: C compiler cannot create executables |
---|
| 2099 | See \`config.log' for more details." >&5 |
---|
| 2100 | echo "$as_me: error: C compiler cannot create executables |
---|
| 2101 | See \`config.log' for more details." >&2;} |
---|
| 2102 | { (exit 77); exit 77; }; } |
---|
| 2103 | fi |
---|
| 2104 | |
---|
| 2105 | ac_exeext=$ac_cv_exeext |
---|
[4ad3480] | 2106 | { echo "$as_me:$LINENO: result: $ac_file" >&5 |
---|
| 2107 | echo "${ECHO_T}$ac_file" >&6; } |
---|
[8298425] | 2108 | |
---|
[4ad3480] | 2109 | # Check that the compiler produces executables we can run. If not, either |
---|
[8298425] | 2110 | # the compiler is broken, or we cross compile. |
---|
[4ad3480] | 2111 | { echo "$as_me:$LINENO: checking whether the C compiler works" >&5 |
---|
| 2112 | echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } |
---|
[8298425] | 2113 | # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 |
---|
| 2114 | # If not cross compiling, check that we can run a simple program. |
---|
| 2115 | if test "$cross_compiling" != yes; then |
---|
| 2116 | if { ac_try='./$ac_file' |
---|
[4ad3480] | 2117 | { (case "(($ac_try" in |
---|
| 2118 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 2119 | *) ac_try_echo=$ac_try;; |
---|
| 2120 | esac |
---|
| 2121 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 2122 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 2123 | ac_status=$? |
---|
| 2124 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2125 | (exit $ac_status); }; }; then |
---|
| 2126 | cross_compiling=no |
---|
[7d4fbcd] | 2127 | else |
---|
[8298425] | 2128 | if test "$cross_compiling" = maybe; then |
---|
| 2129 | cross_compiling=yes |
---|
| 2130 | else |
---|
| 2131 | { { echo "$as_me:$LINENO: error: cannot run C compiled programs. |
---|
| 2132 | If you meant to cross compile, use \`--host'. |
---|
| 2133 | See \`config.log' for more details." >&5 |
---|
| 2134 | echo "$as_me: error: cannot run C compiled programs. |
---|
| 2135 | If you meant to cross compile, use \`--host'. |
---|
| 2136 | See \`config.log' for more details." >&2;} |
---|
| 2137 | { (exit 1); exit 1; }; } |
---|
| 2138 | fi |
---|
[7d4fbcd] | 2139 | fi |
---|
| 2140 | fi |
---|
[4ad3480] | 2141 | { echo "$as_me:$LINENO: result: yes" >&5 |
---|
| 2142 | echo "${ECHO_T}yes" >&6; } |
---|
[8298425] | 2143 | |
---|
| 2144 | rm -f a.out a.exe conftest$ac_cv_exeext b.out |
---|
| 2145 | ac_clean_files=$ac_clean_files_save |
---|
[4ad3480] | 2146 | # Check that the compiler produces executables we can run. If not, either |
---|
[8298425] | 2147 | # the compiler is broken, or we cross compile. |
---|
[4ad3480] | 2148 | { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 |
---|
| 2149 | echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } |
---|
| 2150 | { echo "$as_me:$LINENO: result: $cross_compiling" >&5 |
---|
| 2151 | echo "${ECHO_T}$cross_compiling" >&6; } |
---|
| 2152 | |
---|
| 2153 | { echo "$as_me:$LINENO: checking for suffix of executables" >&5 |
---|
| 2154 | echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } |
---|
| 2155 | if { (ac_try="$ac_link" |
---|
| 2156 | case "(($ac_try" in |
---|
| 2157 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 2158 | *) ac_try_echo=$ac_try;; |
---|
| 2159 | esac |
---|
| 2160 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 2161 | (eval "$ac_link") 2>&5 |
---|
[8298425] | 2162 | ac_status=$? |
---|
| 2163 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2164 | (exit $ac_status); }; then |
---|
| 2165 | # If both `conftest.exe' and `conftest' are `present' (well, observable) |
---|
| 2166 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
---|
| 2167 | # work properly (i.e., refer to `conftest.exe'), while it won't with |
---|
| 2168 | # `rm'. |
---|
| 2169 | for ac_file in conftest.exe conftest conftest.*; do |
---|
| 2170 | test -f "$ac_file" || continue |
---|
| 2171 | case $ac_file in |
---|
[4ad3480] | 2172 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; |
---|
[8298425] | 2173 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
---|
| 2174 | break;; |
---|
| 2175 | * ) break;; |
---|
| 2176 | esac |
---|
| 2177 | done |
---|
[7d4fbcd] | 2178 | else |
---|
[8298425] | 2179 | { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link |
---|
| 2180 | See \`config.log' for more details." >&5 |
---|
| 2181 | echo "$as_me: error: cannot compute suffix of executables: cannot compile and link |
---|
| 2182 | See \`config.log' for more details." >&2;} |
---|
| 2183 | { (exit 1); exit 1; }; } |
---|
[7d4fbcd] | 2184 | fi |
---|
[8298425] | 2185 | |
---|
| 2186 | rm -f conftest$ac_cv_exeext |
---|
[4ad3480] | 2187 | { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 |
---|
| 2188 | echo "${ECHO_T}$ac_cv_exeext" >&6; } |
---|
[8298425] | 2189 | |
---|
| 2190 | rm -f conftest.$ac_ext |
---|
| 2191 | EXEEXT=$ac_cv_exeext |
---|
| 2192 | ac_exeext=$EXEEXT |
---|
[4ad3480] | 2193 | { echo "$as_me:$LINENO: checking for suffix of object files" >&5 |
---|
| 2194 | echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } |
---|
[8298425] | 2195 | if test "${ac_cv_objext+set}" = set; then |
---|
| 2196 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 2197 | else |
---|
| 2198 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 2199 | /* confdefs.h. */ |
---|
| 2200 | _ACEOF |
---|
| 2201 | cat confdefs.h >>conftest.$ac_ext |
---|
| 2202 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 2203 | /* end confdefs.h. */ |
---|
| 2204 | |
---|
| 2205 | int |
---|
| 2206 | main () |
---|
| 2207 | { |
---|
| 2208 | |
---|
| 2209 | ; |
---|
| 2210 | return 0; |
---|
| 2211 | } |
---|
| 2212 | _ACEOF |
---|
| 2213 | rm -f conftest.o conftest.obj |
---|
[4ad3480] | 2214 | if { (ac_try="$ac_compile" |
---|
| 2215 | case "(($ac_try" in |
---|
| 2216 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 2217 | *) ac_try_echo=$ac_try;; |
---|
| 2218 | esac |
---|
| 2219 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 2220 | (eval "$ac_compile") 2>&5 |
---|
[8298425] | 2221 | ac_status=$? |
---|
| 2222 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2223 | (exit $ac_status); }; then |
---|
[4ad3480] | 2224 | for ac_file in conftest.o conftest.obj conftest.*; do |
---|
| 2225 | test -f "$ac_file" || continue; |
---|
[8298425] | 2226 | case $ac_file in |
---|
[4ad3480] | 2227 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; |
---|
[8298425] | 2228 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
---|
| 2229 | break;; |
---|
| 2230 | esac |
---|
| 2231 | done |
---|
| 2232 | else |
---|
| 2233 | echo "$as_me: failed program was:" >&5 |
---|
| 2234 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 2235 | |
---|
| 2236 | { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile |
---|
| 2237 | See \`config.log' for more details." >&5 |
---|
| 2238 | echo "$as_me: error: cannot compute suffix of object files: cannot compile |
---|
| 2239 | See \`config.log' for more details." >&2;} |
---|
| 2240 | { (exit 1); exit 1; }; } |
---|
[7d4fbcd] | 2241 | fi |
---|
| 2242 | |
---|
[8298425] | 2243 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
---|
| 2244 | fi |
---|
[4ad3480] | 2245 | { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
---|
| 2246 | echo "${ECHO_T}$ac_cv_objext" >&6; } |
---|
[8298425] | 2247 | OBJEXT=$ac_cv_objext |
---|
| 2248 | ac_objext=$OBJEXT |
---|
[4ad3480] | 2249 | { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
---|
| 2250 | echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } |
---|
[8298425] | 2251 | if test "${ac_cv_c_compiler_gnu+set}" = set; then |
---|
| 2252 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 2253 | else |
---|
| 2254 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 2255 | /* confdefs.h. */ |
---|
| 2256 | _ACEOF |
---|
| 2257 | cat confdefs.h >>conftest.$ac_ext |
---|
| 2258 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 2259 | /* end confdefs.h. */ |
---|
| 2260 | |
---|
| 2261 | int |
---|
| 2262 | main () |
---|
| 2263 | { |
---|
| 2264 | #ifndef __GNUC__ |
---|
| 2265 | choke me |
---|
| 2266 | #endif |
---|
[7d4fbcd] | 2267 | |
---|
[8298425] | 2268 | ; |
---|
| 2269 | return 0; |
---|
| 2270 | } |
---|
| 2271 | _ACEOF |
---|
| 2272 | rm -f conftest.$ac_objext |
---|
[4ad3480] | 2273 | if { (ac_try="$ac_compile" |
---|
| 2274 | case "(($ac_try" in |
---|
| 2275 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 2276 | *) ac_try_echo=$ac_try;; |
---|
| 2277 | esac |
---|
| 2278 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 2279 | (eval "$ac_compile") 2>conftest.er1 |
---|
[8298425] | 2280 | ac_status=$? |
---|
| 2281 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 2282 | rm -f conftest.er1 |
---|
| 2283 | cat conftest.err >&5 |
---|
| 2284 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2285 | (exit $ac_status); } && |
---|
[4ad3480] | 2286 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
---|
| 2287 | { (case "(($ac_try" in |
---|
| 2288 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 2289 | *) ac_try_echo=$ac_try;; |
---|
| 2290 | esac |
---|
| 2291 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 2292 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 2293 | ac_status=$? |
---|
| 2294 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2295 | (exit $ac_status); }; } && |
---|
| 2296 | { ac_try='test -s conftest.$ac_objext' |
---|
[4ad3480] | 2297 | { (case "(($ac_try" in |
---|
| 2298 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 2299 | *) ac_try_echo=$ac_try;; |
---|
| 2300 | esac |
---|
| 2301 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 2302 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 2303 | ac_status=$? |
---|
| 2304 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2305 | (exit $ac_status); }; }; then |
---|
| 2306 | ac_compiler_gnu=yes |
---|
[7d4fbcd] | 2307 | else |
---|
[8298425] | 2308 | echo "$as_me: failed program was:" >&5 |
---|
| 2309 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 2310 | |
---|
[4ad3480] | 2311 | ac_compiler_gnu=no |
---|
[7d4fbcd] | 2312 | fi |
---|
[4ad3480] | 2313 | |
---|
| 2314 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
[8298425] | 2315 | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
---|
[7d4fbcd] | 2316 | |
---|
[8298425] | 2317 | fi |
---|
[4ad3480] | 2318 | { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
---|
| 2319 | echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } |
---|
[8298425] | 2320 | GCC=`test $ac_compiler_gnu = yes && echo yes` |
---|
| 2321 | ac_test_CFLAGS=${CFLAGS+set} |
---|
| 2322 | ac_save_CFLAGS=$CFLAGS |
---|
[4ad3480] | 2323 | { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
---|
| 2324 | echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } |
---|
[8298425] | 2325 | if test "${ac_cv_prog_cc_g+set}" = set; then |
---|
| 2326 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
[7d4fbcd] | 2327 | else |
---|
[4ad3480] | 2328 | ac_save_c_werror_flag=$ac_c_werror_flag |
---|
| 2329 | ac_c_werror_flag=yes |
---|
| 2330 | ac_cv_prog_cc_g=no |
---|
| 2331 | CFLAGS="-g" |
---|
| 2332 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 2333 | /* confdefs.h. */ |
---|
| 2334 | _ACEOF |
---|
| 2335 | cat confdefs.h >>conftest.$ac_ext |
---|
| 2336 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 2337 | /* end confdefs.h. */ |
---|
| 2338 | |
---|
| 2339 | int |
---|
| 2340 | main () |
---|
| 2341 | { |
---|
| 2342 | |
---|
| 2343 | ; |
---|
| 2344 | return 0; |
---|
| 2345 | } |
---|
| 2346 | _ACEOF |
---|
| 2347 | rm -f conftest.$ac_objext |
---|
| 2348 | if { (ac_try="$ac_compile" |
---|
| 2349 | case "(($ac_try" in |
---|
| 2350 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 2351 | *) ac_try_echo=$ac_try;; |
---|
| 2352 | esac |
---|
| 2353 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 2354 | (eval "$ac_compile") 2>conftest.er1 |
---|
| 2355 | ac_status=$? |
---|
| 2356 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 2357 | rm -f conftest.er1 |
---|
| 2358 | cat conftest.err >&5 |
---|
| 2359 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2360 | (exit $ac_status); } && |
---|
| 2361 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
---|
| 2362 | { (case "(($ac_try" in |
---|
| 2363 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 2364 | *) ac_try_echo=$ac_try;; |
---|
| 2365 | esac |
---|
| 2366 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 2367 | (eval "$ac_try") 2>&5 |
---|
| 2368 | ac_status=$? |
---|
| 2369 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2370 | (exit $ac_status); }; } && |
---|
| 2371 | { ac_try='test -s conftest.$ac_objext' |
---|
| 2372 | { (case "(($ac_try" in |
---|
| 2373 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 2374 | *) ac_try_echo=$ac_try;; |
---|
| 2375 | esac |
---|
| 2376 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 2377 | (eval "$ac_try") 2>&5 |
---|
| 2378 | ac_status=$? |
---|
| 2379 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2380 | (exit $ac_status); }; }; then |
---|
| 2381 | ac_cv_prog_cc_g=yes |
---|
| 2382 | else |
---|
| 2383 | echo "$as_me: failed program was:" >&5 |
---|
| 2384 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 2385 | |
---|
| 2386 | CFLAGS="" |
---|
| 2387 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 2388 | /* confdefs.h. */ |
---|
| 2389 | _ACEOF |
---|
| 2390 | cat confdefs.h >>conftest.$ac_ext |
---|
| 2391 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 2392 | /* end confdefs.h. */ |
---|
| 2393 | |
---|
| 2394 | int |
---|
| 2395 | main () |
---|
| 2396 | { |
---|
| 2397 | |
---|
| 2398 | ; |
---|
| 2399 | return 0; |
---|
| 2400 | } |
---|
| 2401 | _ACEOF |
---|
| 2402 | rm -f conftest.$ac_objext |
---|
| 2403 | if { (ac_try="$ac_compile" |
---|
| 2404 | case "(($ac_try" in |
---|
| 2405 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 2406 | *) ac_try_echo=$ac_try;; |
---|
| 2407 | esac |
---|
| 2408 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 2409 | (eval "$ac_compile") 2>conftest.er1 |
---|
| 2410 | ac_status=$? |
---|
| 2411 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 2412 | rm -f conftest.er1 |
---|
| 2413 | cat conftest.err >&5 |
---|
| 2414 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2415 | (exit $ac_status); } && |
---|
| 2416 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
---|
| 2417 | { (case "(($ac_try" in |
---|
| 2418 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 2419 | *) ac_try_echo=$ac_try;; |
---|
| 2420 | esac |
---|
| 2421 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 2422 | (eval "$ac_try") 2>&5 |
---|
| 2423 | ac_status=$? |
---|
| 2424 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2425 | (exit $ac_status); }; } && |
---|
| 2426 | { ac_try='test -s conftest.$ac_objext' |
---|
| 2427 | { (case "(($ac_try" in |
---|
| 2428 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 2429 | *) ac_try_echo=$ac_try;; |
---|
| 2430 | esac |
---|
| 2431 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 2432 | (eval "$ac_try") 2>&5 |
---|
| 2433 | ac_status=$? |
---|
| 2434 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2435 | (exit $ac_status); }; }; then |
---|
| 2436 | : |
---|
| 2437 | else |
---|
| 2438 | echo "$as_me: failed program was:" >&5 |
---|
| 2439 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 2440 | |
---|
| 2441 | ac_c_werror_flag=$ac_save_c_werror_flag |
---|
| 2442 | CFLAGS="-g" |
---|
| 2443 | cat >conftest.$ac_ext <<_ACEOF |
---|
[8298425] | 2444 | /* confdefs.h. */ |
---|
| 2445 | _ACEOF |
---|
| 2446 | cat confdefs.h >>conftest.$ac_ext |
---|
| 2447 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 2448 | /* end confdefs.h. */ |
---|
| 2449 | |
---|
| 2450 | int |
---|
| 2451 | main () |
---|
| 2452 | { |
---|
| 2453 | |
---|
| 2454 | ; |
---|
| 2455 | return 0; |
---|
| 2456 | } |
---|
| 2457 | _ACEOF |
---|
| 2458 | rm -f conftest.$ac_objext |
---|
[4ad3480] | 2459 | if { (ac_try="$ac_compile" |
---|
| 2460 | case "(($ac_try" in |
---|
| 2461 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 2462 | *) ac_try_echo=$ac_try;; |
---|
| 2463 | esac |
---|
| 2464 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 2465 | (eval "$ac_compile") 2>conftest.er1 |
---|
[8298425] | 2466 | ac_status=$? |
---|
| 2467 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 2468 | rm -f conftest.er1 |
---|
| 2469 | cat conftest.err >&5 |
---|
| 2470 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2471 | (exit $ac_status); } && |
---|
[4ad3480] | 2472 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
---|
| 2473 | { (case "(($ac_try" in |
---|
| 2474 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 2475 | *) ac_try_echo=$ac_try;; |
---|
| 2476 | esac |
---|
| 2477 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 2478 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 2479 | ac_status=$? |
---|
| 2480 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2481 | (exit $ac_status); }; } && |
---|
| 2482 | { ac_try='test -s conftest.$ac_objext' |
---|
[4ad3480] | 2483 | { (case "(($ac_try" in |
---|
| 2484 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 2485 | *) ac_try_echo=$ac_try;; |
---|
| 2486 | esac |
---|
| 2487 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 2488 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 2489 | ac_status=$? |
---|
| 2490 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2491 | (exit $ac_status); }; }; then |
---|
[7d4fbcd] | 2492 | ac_cv_prog_cc_g=yes |
---|
| 2493 | else |
---|
[8298425] | 2494 | echo "$as_me: failed program was:" >&5 |
---|
| 2495 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
[7d4fbcd] | 2496 | |
---|
[4ad3480] | 2497 | |
---|
[7d4fbcd] | 2498 | fi |
---|
[4ad3480] | 2499 | |
---|
| 2500 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
| 2501 | fi |
---|
| 2502 | |
---|
| 2503 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
| 2504 | fi |
---|
| 2505 | |
---|
| 2506 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
| 2507 | ac_c_werror_flag=$ac_save_c_werror_flag |
---|
[8298425] | 2508 | fi |
---|
[4ad3480] | 2509 | { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
---|
| 2510 | echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } |
---|
[7d4fbcd] | 2511 | if test "$ac_test_CFLAGS" = set; then |
---|
[8298425] | 2512 | CFLAGS=$ac_save_CFLAGS |
---|
[7d4fbcd] | 2513 | elif test $ac_cv_prog_cc_g = yes; then |
---|
| 2514 | if test "$GCC" = yes; then |
---|
| 2515 | CFLAGS="-g -O2" |
---|
| 2516 | else |
---|
| 2517 | CFLAGS="-g" |
---|
| 2518 | fi |
---|
| 2519 | else |
---|
| 2520 | if test "$GCC" = yes; then |
---|
| 2521 | CFLAGS="-O2" |
---|
| 2522 | else |
---|
| 2523 | CFLAGS= |
---|
| 2524 | fi |
---|
| 2525 | fi |
---|
[4ad3480] | 2526 | { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 |
---|
| 2527 | echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } |
---|
| 2528 | if test "${ac_cv_prog_cc_c89+set}" = set; then |
---|
[8298425] | 2529 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 2530 | else |
---|
[4ad3480] | 2531 | ac_cv_prog_cc_c89=no |
---|
[8298425] | 2532 | ac_save_CC=$CC |
---|
| 2533 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 2534 | /* confdefs.h. */ |
---|
| 2535 | _ACEOF |
---|
| 2536 | cat confdefs.h >>conftest.$ac_ext |
---|
| 2537 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 2538 | /* end confdefs.h. */ |
---|
| 2539 | #include <stdarg.h> |
---|
| 2540 | #include <stdio.h> |
---|
| 2541 | #include <sys/types.h> |
---|
| 2542 | #include <sys/stat.h> |
---|
| 2543 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
---|
| 2544 | struct buf { int x; }; |
---|
| 2545 | FILE * (*rcsopen) (struct buf *, struct stat *, int); |
---|
| 2546 | static char *e (p, i) |
---|
| 2547 | char **p; |
---|
| 2548 | int i; |
---|
| 2549 | { |
---|
| 2550 | return p[i]; |
---|
| 2551 | } |
---|
| 2552 | static char *f (char * (*g) (char **, int), char **p, ...) |
---|
| 2553 | { |
---|
| 2554 | char *s; |
---|
| 2555 | va_list v; |
---|
| 2556 | va_start (v,p); |
---|
| 2557 | s = g (p, va_arg (v,int)); |
---|
| 2558 | va_end (v); |
---|
| 2559 | return s; |
---|
| 2560 | } |
---|
| 2561 | |
---|
| 2562 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
---|
| 2563 | function prototypes and stuff, but not '\xHH' hex character constants. |
---|
| 2564 | These don't provoke an error unfortunately, instead are silently treated |
---|
[4ad3480] | 2565 | as 'x'. The following induces an error, until -std is added to get |
---|
[8298425] | 2566 | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
---|
| 2567 | array size at least. It's necessary to write '\x00'==0 to get something |
---|
[4ad3480] | 2568 | that's true only with -std. */ |
---|
[8298425] | 2569 | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
---|
| 2570 | |
---|
[4ad3480] | 2571 | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters |
---|
| 2572 | inside strings and character constants. */ |
---|
| 2573 | #define FOO(x) 'x' |
---|
| 2574 | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; |
---|
| 2575 | |
---|
[8298425] | 2576 | int test (int i, double x); |
---|
| 2577 | struct s1 {int (*f) (int a);}; |
---|
| 2578 | struct s2 {int (*f) (double a);}; |
---|
| 2579 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
---|
| 2580 | int argc; |
---|
| 2581 | char **argv; |
---|
| 2582 | int |
---|
| 2583 | main () |
---|
| 2584 | { |
---|
| 2585 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
---|
| 2586 | ; |
---|
| 2587 | return 0; |
---|
| 2588 | } |
---|
| 2589 | _ACEOF |
---|
[4ad3480] | 2590 | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
---|
| 2591 | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
---|
[8298425] | 2592 | do |
---|
| 2593 | CC="$ac_save_CC $ac_arg" |
---|
| 2594 | rm -f conftest.$ac_objext |
---|
[4ad3480] | 2595 | if { (ac_try="$ac_compile" |
---|
| 2596 | case "(($ac_try" in |
---|
| 2597 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 2598 | *) ac_try_echo=$ac_try;; |
---|
| 2599 | esac |
---|
| 2600 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 2601 | (eval "$ac_compile") 2>conftest.er1 |
---|
[8298425] | 2602 | ac_status=$? |
---|
| 2603 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 2604 | rm -f conftest.er1 |
---|
| 2605 | cat conftest.err >&5 |
---|
| 2606 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2607 | (exit $ac_status); } && |
---|
[4ad3480] | 2608 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
---|
| 2609 | { (case "(($ac_try" in |
---|
| 2610 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 2611 | *) ac_try_echo=$ac_try;; |
---|
| 2612 | esac |
---|
| 2613 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 2614 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 2615 | ac_status=$? |
---|
| 2616 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2617 | (exit $ac_status); }; } && |
---|
| 2618 | { ac_try='test -s conftest.$ac_objext' |
---|
[4ad3480] | 2619 | { (case "(($ac_try" in |
---|
| 2620 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 2621 | *) ac_try_echo=$ac_try;; |
---|
| 2622 | esac |
---|
| 2623 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 2624 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 2625 | ac_status=$? |
---|
| 2626 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2627 | (exit $ac_status); }; }; then |
---|
[4ad3480] | 2628 | ac_cv_prog_cc_c89=$ac_arg |
---|
[8298425] | 2629 | else |
---|
| 2630 | echo "$as_me: failed program was:" >&5 |
---|
| 2631 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 2632 | |
---|
[4ad3480] | 2633 | |
---|
[8298425] | 2634 | fi |
---|
[4ad3480] | 2635 | |
---|
| 2636 | rm -f core conftest.err conftest.$ac_objext |
---|
| 2637 | test "x$ac_cv_prog_cc_c89" != "xno" && break |
---|
[8298425] | 2638 | done |
---|
[4ad3480] | 2639 | rm -f conftest.$ac_ext |
---|
[8298425] | 2640 | CC=$ac_save_CC |
---|
| 2641 | |
---|
| 2642 | fi |
---|
[4ad3480] | 2643 | # AC_CACHE_VAL |
---|
| 2644 | case "x$ac_cv_prog_cc_c89" in |
---|
| 2645 | x) |
---|
| 2646 | { echo "$as_me:$LINENO: result: none needed" >&5 |
---|
| 2647 | echo "${ECHO_T}none needed" >&6; } ;; |
---|
| 2648 | xno) |
---|
| 2649 | { echo "$as_me:$LINENO: result: unsupported" >&5 |
---|
| 2650 | echo "${ECHO_T}unsupported" >&6; } ;; |
---|
[8298425] | 2651 | *) |
---|
[4ad3480] | 2652 | CC="$CC $ac_cv_prog_cc_c89" |
---|
| 2653 | { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 |
---|
| 2654 | echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; |
---|
[8298425] | 2655 | esac |
---|
| 2656 | |
---|
[4ad3480] | 2657 | |
---|
| 2658 | ac_ext=c |
---|
| 2659 | ac_cpp='$CPP $CPPFLAGS' |
---|
| 2660 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
| 2661 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
| 2662 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
| 2663 | |
---|
| 2664 | |
---|
| 2665 | if test "$GCC" = yes; then |
---|
| 2666 | CFLAGS="$CFLAGS -Wall -g"; |
---|
| 2667 | fi |
---|
| 2668 | |
---|
| 2669 | |
---|
| 2670 | { echo "$as_me:$LINENO: checking for /usr/athena/include" >&5 |
---|
| 2671 | echo $ECHO_N "checking for /usr/athena/include... $ECHO_C" >&6; } |
---|
| 2672 | if test -d /usr/athena/include; then |
---|
| 2673 | CFLAGS=${CFLAGS}\ -I/usr/athena/include |
---|
| 2674 | CPPFLAGS=${CPPFLAGS}\ -I/usr/athena/include |
---|
| 2675 | { echo "$as_me:$LINENO: result: yes" >&5 |
---|
| 2676 | echo "${ECHO_T}yes" >&6; } |
---|
| 2677 | else |
---|
| 2678 | { echo "$as_me:$LINENO: result: no" >&5 |
---|
| 2679 | echo "${ECHO_T}no" >&6; } |
---|
| 2680 | fi |
---|
| 2681 | { echo "$as_me:$LINENO: checking for /usr/athena/lib" >&5 |
---|
| 2682 | echo $ECHO_N "checking for /usr/athena/lib... $ECHO_C" >&6; } |
---|
| 2683 | if test -d /usr/athena/lib; then |
---|
| 2684 | LDFLAGS=-L/usr/athena/lib\ ${LDFLAGS} |
---|
| 2685 | { echo "$as_me:$LINENO: result: yes" >&5 |
---|
| 2686 | echo "${ECHO_T}yes" >&6; } |
---|
| 2687 | else |
---|
| 2688 | { echo "$as_me:$LINENO: result: no" >&5 |
---|
| 2689 | echo "${ECHO_T}no" >&6; } |
---|
| 2690 | fi |
---|
| 2691 | |
---|
| 2692 | { echo "$as_me:$LINENO: checking for /usr/include/kerberosIV" >&5 |
---|
| 2693 | echo $ECHO_N "checking for /usr/include/kerberosIV... $ECHO_C" >&6; } |
---|
| 2694 | if test -d /usr/include/kerberosIV; then |
---|
| 2695 | CFLAGS=${CFLAGS}\ -I/usr/include/kerberosIV |
---|
| 2696 | CPPFLAGS=${CPPFLAGS}\ -I/usr/include/kerberosIV |
---|
| 2697 | { echo "$as_me:$LINENO: result: yes" >&5 |
---|
| 2698 | echo "${ECHO_T}yes" >&6; } |
---|
| 2699 | else |
---|
| 2700 | { echo "$as_me:$LINENO: result: no" >&5 |
---|
| 2701 | echo "${ECHO_T}no" >&6; } |
---|
| 2702 | fi |
---|
| 2703 | |
---|
| 2704 | |
---|
| 2705 | { echo "$as_me:$LINENO: checking for initscr in -lncurses" >&5 |
---|
| 2706 | echo $ECHO_N "checking for initscr in -lncurses... $ECHO_C" >&6; } |
---|
| 2707 | if test "${ac_cv_lib_ncurses_initscr+set}" = set; then |
---|
| 2708 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 2709 | else |
---|
| 2710 | ac_check_lib_save_LIBS=$LIBS |
---|
| 2711 | LIBS="-lncurses $LIBS" |
---|
[8298425] | 2712 | cat >conftest.$ac_ext <<_ACEOF |
---|
[4ad3480] | 2713 | /* confdefs.h. */ |
---|
[8298425] | 2714 | _ACEOF |
---|
| 2715 | cat confdefs.h >>conftest.$ac_ext |
---|
| 2716 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 2717 | /* end confdefs.h. */ |
---|
| 2718 | |
---|
[4ad3480] | 2719 | /* Override any GCC internal prototype to avoid an error. |
---|
| 2720 | Use char because int might match the return type of a GCC |
---|
| 2721 | builtin and then its argument prototype would still apply. */ |
---|
[8298425] | 2722 | #ifdef __cplusplus |
---|
| 2723 | extern "C" |
---|
| 2724 | #endif |
---|
| 2725 | char initscr (); |
---|
| 2726 | int |
---|
| 2727 | main () |
---|
| 2728 | { |
---|
[4ad3480] | 2729 | return initscr (); |
---|
[8298425] | 2730 | ; |
---|
| 2731 | return 0; |
---|
| 2732 | } |
---|
| 2733 | _ACEOF |
---|
| 2734 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
[4ad3480] | 2735 | if { (ac_try="$ac_link" |
---|
| 2736 | case "(($ac_try" in |
---|
| 2737 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 2738 | *) ac_try_echo=$ac_try;; |
---|
| 2739 | esac |
---|
| 2740 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 2741 | (eval "$ac_link") 2>conftest.er1 |
---|
[8298425] | 2742 | ac_status=$? |
---|
| 2743 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 2744 | rm -f conftest.er1 |
---|
| 2745 | cat conftest.err >&5 |
---|
| 2746 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2747 | (exit $ac_status); } && |
---|
[4ad3480] | 2748 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
---|
| 2749 | { (case "(($ac_try" in |
---|
| 2750 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 2751 | *) ac_try_echo=$ac_try;; |
---|
| 2752 | esac |
---|
| 2753 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 2754 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 2755 | ac_status=$? |
---|
| 2756 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2757 | (exit $ac_status); }; } && |
---|
| 2758 | { ac_try='test -s conftest$ac_exeext' |
---|
[4ad3480] | 2759 | { (case "(($ac_try" in |
---|
| 2760 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 2761 | *) ac_try_echo=$ac_try;; |
---|
| 2762 | esac |
---|
| 2763 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 2764 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 2765 | ac_status=$? |
---|
| 2766 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2767 | (exit $ac_status); }; }; then |
---|
| 2768 | ac_cv_lib_ncurses_initscr=yes |
---|
| 2769 | else |
---|
| 2770 | echo "$as_me: failed program was:" >&5 |
---|
| 2771 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
[7d4fbcd] | 2772 | |
---|
[4ad3480] | 2773 | ac_cv_lib_ncurses_initscr=no |
---|
[7d4fbcd] | 2774 | fi |
---|
[4ad3480] | 2775 | |
---|
| 2776 | rm -f core conftest.err conftest.$ac_objext \ |
---|
[8298425] | 2777 | conftest$ac_exeext conftest.$ac_ext |
---|
| 2778 | LIBS=$ac_check_lib_save_LIBS |
---|
| 2779 | fi |
---|
[4ad3480] | 2780 | { echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_initscr" >&5 |
---|
| 2781 | echo "${ECHO_T}$ac_cv_lib_ncurses_initscr" >&6; } |
---|
[8298425] | 2782 | if test $ac_cv_lib_ncurses_initscr = yes; then |
---|
| 2783 | cat >>confdefs.h <<_ACEOF |
---|
| 2784 | #define HAVE_LIBNCURSES 1 |
---|
| 2785 | _ACEOF |
---|
[7d4fbcd] | 2786 | |
---|
| 2787 | LIBS="-lncurses $LIBS" |
---|
| 2788 | |
---|
| 2789 | else |
---|
[8298425] | 2790 | |
---|
[4ad3480] | 2791 | { echo "$as_me:$LINENO: checking for initscr in -lcurses" >&5 |
---|
| 2792 | echo $ECHO_N "checking for initscr in -lcurses... $ECHO_C" >&6; } |
---|
[8298425] | 2793 | if test "${ac_cv_lib_curses_initscr+set}" = set; then |
---|
| 2794 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
[7d4fbcd] | 2795 | else |
---|
[8298425] | 2796 | ac_check_lib_save_LIBS=$LIBS |
---|
[7d4fbcd] | 2797 | LIBS="-lcurses $LIBS" |
---|
[8298425] | 2798 | |
---|
| 2799 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 2800 | /* confdefs.h. */ |
---|
| 2801 | _ACEOF |
---|
| 2802 | cat confdefs.h >>conftest.$ac_ext |
---|
| 2803 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 2804 | /* end confdefs.h. */ |
---|
| 2805 | |
---|
[4ad3480] | 2806 | /* Override any GCC internal prototype to avoid an error. |
---|
| 2807 | Use char because int might match the return type of a GCC |
---|
| 2808 | builtin and then its argument prototype would still apply. */ |
---|
[8298425] | 2809 | #ifdef __cplusplus |
---|
| 2810 | extern "C" |
---|
| 2811 | #endif |
---|
| 2812 | char initscr (); |
---|
| 2813 | int |
---|
| 2814 | main () |
---|
| 2815 | { |
---|
[4ad3480] | 2816 | return initscr (); |
---|
[8298425] | 2817 | ; |
---|
| 2818 | return 0; |
---|
| 2819 | } |
---|
| 2820 | _ACEOF |
---|
| 2821 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
[4ad3480] | 2822 | if { (ac_try="$ac_link" |
---|
| 2823 | case "(($ac_try" in |
---|
| 2824 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 2825 | *) ac_try_echo=$ac_try;; |
---|
| 2826 | esac |
---|
| 2827 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 2828 | (eval "$ac_link") 2>conftest.er1 |
---|
[8298425] | 2829 | ac_status=$? |
---|
| 2830 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 2831 | rm -f conftest.er1 |
---|
| 2832 | cat conftest.err >&5 |
---|
| 2833 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2834 | (exit $ac_status); } && |
---|
[4ad3480] | 2835 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
---|
| 2836 | { (case "(($ac_try" in |
---|
| 2837 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 2838 | *) ac_try_echo=$ac_try;; |
---|
| 2839 | esac |
---|
| 2840 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 2841 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 2842 | ac_status=$? |
---|
| 2843 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2844 | (exit $ac_status); }; } && |
---|
| 2845 | { ac_try='test -s conftest$ac_exeext' |
---|
[4ad3480] | 2846 | { (case "(($ac_try" in |
---|
| 2847 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 2848 | *) ac_try_echo=$ac_try;; |
---|
| 2849 | esac |
---|
| 2850 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 2851 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 2852 | ac_status=$? |
---|
| 2853 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2854 | (exit $ac_status); }; }; then |
---|
| 2855 | ac_cv_lib_curses_initscr=yes |
---|
| 2856 | else |
---|
| 2857 | echo "$as_me: failed program was:" >&5 |
---|
| 2858 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
[7d4fbcd] | 2859 | |
---|
[4ad3480] | 2860 | ac_cv_lib_curses_initscr=no |
---|
[7d4fbcd] | 2861 | fi |
---|
[4ad3480] | 2862 | |
---|
| 2863 | rm -f core conftest.err conftest.$ac_objext \ |
---|
[8298425] | 2864 | conftest$ac_exeext conftest.$ac_ext |
---|
| 2865 | LIBS=$ac_check_lib_save_LIBS |
---|
| 2866 | fi |
---|
[4ad3480] | 2867 | { echo "$as_me:$LINENO: result: $ac_cv_lib_curses_initscr" >&5 |
---|
| 2868 | echo "${ECHO_T}$ac_cv_lib_curses_initscr" >&6; } |
---|
[8298425] | 2869 | if test $ac_cv_lib_curses_initscr = yes; then |
---|
| 2870 | cat >>confdefs.h <<_ACEOF |
---|
| 2871 | #define HAVE_LIBCURSES 1 |
---|
| 2872 | _ACEOF |
---|
[7d4fbcd] | 2873 | |
---|
| 2874 | LIBS="-lcurses $LIBS" |
---|
| 2875 | |
---|
| 2876 | else |
---|
[8298425] | 2877 | { { echo "$as_me:$LINENO: error: No curses library found." >&5 |
---|
| 2878 | echo "$as_me: error: No curses library found." >&2;} |
---|
| 2879 | { (exit 1); exit 1; }; } |
---|
[7d4fbcd] | 2880 | fi |
---|
| 2881 | |
---|
| 2882 | fi |
---|
| 2883 | |
---|
[8298425] | 2884 | |
---|
[4ad3480] | 2885 | { echo "$as_me:$LINENO: checking for com_err in -lcom_err" >&5 |
---|
| 2886 | echo $ECHO_N "checking for com_err in -lcom_err... $ECHO_C" >&6; } |
---|
[8298425] | 2887 | if test "${ac_cv_lib_com_err_com_err+set}" = set; then |
---|
| 2888 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
[7d4fbcd] | 2889 | else |
---|
[8298425] | 2890 | ac_check_lib_save_LIBS=$LIBS |
---|
[7d4fbcd] | 2891 | LIBS="-lcom_err $LIBS" |
---|
[8298425] | 2892 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 2893 | /* confdefs.h. */ |
---|
| 2894 | _ACEOF |
---|
| 2895 | cat confdefs.h >>conftest.$ac_ext |
---|
| 2896 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 2897 | /* end confdefs.h. */ |
---|
| 2898 | |
---|
[4ad3480] | 2899 | /* Override any GCC internal prototype to avoid an error. |
---|
| 2900 | Use char because int might match the return type of a GCC |
---|
| 2901 | builtin and then its argument prototype would still apply. */ |
---|
[8298425] | 2902 | #ifdef __cplusplus |
---|
| 2903 | extern "C" |
---|
| 2904 | #endif |
---|
| 2905 | char com_err (); |
---|
| 2906 | int |
---|
| 2907 | main () |
---|
| 2908 | { |
---|
[4ad3480] | 2909 | return com_err (); |
---|
[8298425] | 2910 | ; |
---|
| 2911 | return 0; |
---|
| 2912 | } |
---|
| 2913 | _ACEOF |
---|
| 2914 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
[4ad3480] | 2915 | if { (ac_try="$ac_link" |
---|
| 2916 | case "(($ac_try" in |
---|
| 2917 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 2918 | *) ac_try_echo=$ac_try;; |
---|
| 2919 | esac |
---|
| 2920 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 2921 | (eval "$ac_link") 2>conftest.er1 |
---|
[8298425] | 2922 | ac_status=$? |
---|
| 2923 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 2924 | rm -f conftest.er1 |
---|
| 2925 | cat conftest.err >&5 |
---|
| 2926 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2927 | (exit $ac_status); } && |
---|
[4ad3480] | 2928 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
---|
| 2929 | { (case "(($ac_try" in |
---|
| 2930 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 2931 | *) ac_try_echo=$ac_try;; |
---|
| 2932 | esac |
---|
| 2933 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 2934 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 2935 | ac_status=$? |
---|
| 2936 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2937 | (exit $ac_status); }; } && |
---|
| 2938 | { ac_try='test -s conftest$ac_exeext' |
---|
[4ad3480] | 2939 | { (case "(($ac_try" in |
---|
| 2940 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 2941 | *) ac_try_echo=$ac_try;; |
---|
| 2942 | esac |
---|
| 2943 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 2944 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 2945 | ac_status=$? |
---|
| 2946 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2947 | (exit $ac_status); }; }; then |
---|
| 2948 | ac_cv_lib_com_err_com_err=yes |
---|
| 2949 | else |
---|
| 2950 | echo "$as_me: failed program was:" >&5 |
---|
| 2951 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
[7d4fbcd] | 2952 | |
---|
[4ad3480] | 2953 | ac_cv_lib_com_err_com_err=no |
---|
[8298425] | 2954 | fi |
---|
[4ad3480] | 2955 | |
---|
| 2956 | rm -f core conftest.err conftest.$ac_objext \ |
---|
[8298425] | 2957 | conftest$ac_exeext conftest.$ac_ext |
---|
| 2958 | LIBS=$ac_check_lib_save_LIBS |
---|
[7d4fbcd] | 2959 | fi |
---|
[4ad3480] | 2960 | { echo "$as_me:$LINENO: result: $ac_cv_lib_com_err_com_err" >&5 |
---|
| 2961 | echo "${ECHO_T}$ac_cv_lib_com_err_com_err" >&6; } |
---|
[8298425] | 2962 | if test $ac_cv_lib_com_err_com_err = yes; then |
---|
| 2963 | cat >>confdefs.h <<_ACEOF |
---|
| 2964 | #define HAVE_LIBCOM_ERR 1 |
---|
| 2965 | _ACEOF |
---|
[7d4fbcd] | 2966 | |
---|
| 2967 | LIBS="-lcom_err $LIBS" |
---|
| 2968 | |
---|
| 2969 | fi |
---|
| 2970 | |
---|
[8298425] | 2971 | |
---|
[4ad3480] | 2972 | { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5 |
---|
| 2973 | echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; } |
---|
[8298425] | 2974 | if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then |
---|
| 2975 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
[7d4fbcd] | 2976 | else |
---|
[8298425] | 2977 | ac_check_lib_save_LIBS=$LIBS |
---|
[7d4fbcd] | 2978 | LIBS="-lnsl $LIBS" |
---|
[8298425] | 2979 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 2980 | /* confdefs.h. */ |
---|
| 2981 | _ACEOF |
---|
| 2982 | cat confdefs.h >>conftest.$ac_ext |
---|
| 2983 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 2984 | /* end confdefs.h. */ |
---|
| 2985 | |
---|
[4ad3480] | 2986 | /* Override any GCC internal prototype to avoid an error. |
---|
| 2987 | Use char because int might match the return type of a GCC |
---|
| 2988 | builtin and then its argument prototype would still apply. */ |
---|
[8298425] | 2989 | #ifdef __cplusplus |
---|
| 2990 | extern "C" |
---|
| 2991 | #endif |
---|
| 2992 | char gethostbyname (); |
---|
| 2993 | int |
---|
| 2994 | main () |
---|
| 2995 | { |
---|
[4ad3480] | 2996 | return gethostbyname (); |
---|
[8298425] | 2997 | ; |
---|
| 2998 | return 0; |
---|
| 2999 | } |
---|
| 3000 | _ACEOF |
---|
| 3001 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
[4ad3480] | 3002 | if { (ac_try="$ac_link" |
---|
| 3003 | case "(($ac_try" in |
---|
| 3004 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3005 | *) ac_try_echo=$ac_try;; |
---|
| 3006 | esac |
---|
| 3007 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 3008 | (eval "$ac_link") 2>conftest.er1 |
---|
[8298425] | 3009 | ac_status=$? |
---|
| 3010 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 3011 | rm -f conftest.er1 |
---|
| 3012 | cat conftest.err >&5 |
---|
| 3013 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3014 | (exit $ac_status); } && |
---|
[4ad3480] | 3015 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
---|
| 3016 | { (case "(($ac_try" in |
---|
| 3017 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3018 | *) ac_try_echo=$ac_try;; |
---|
| 3019 | esac |
---|
| 3020 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 3021 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 3022 | ac_status=$? |
---|
| 3023 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3024 | (exit $ac_status); }; } && |
---|
| 3025 | { ac_try='test -s conftest$ac_exeext' |
---|
[4ad3480] | 3026 | { (case "(($ac_try" in |
---|
| 3027 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3028 | *) ac_try_echo=$ac_try;; |
---|
| 3029 | esac |
---|
| 3030 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 3031 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 3032 | ac_status=$? |
---|
| 3033 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3034 | (exit $ac_status); }; }; then |
---|
| 3035 | ac_cv_lib_nsl_gethostbyname=yes |
---|
| 3036 | else |
---|
| 3037 | echo "$as_me: failed program was:" >&5 |
---|
| 3038 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
[7d4fbcd] | 3039 | |
---|
[4ad3480] | 3040 | ac_cv_lib_nsl_gethostbyname=no |
---|
[7d4fbcd] | 3041 | fi |
---|
[4ad3480] | 3042 | |
---|
| 3043 | rm -f core conftest.err conftest.$ac_objext \ |
---|
[8298425] | 3044 | conftest$ac_exeext conftest.$ac_ext |
---|
| 3045 | LIBS=$ac_check_lib_save_LIBS |
---|
| 3046 | fi |
---|
[4ad3480] | 3047 | { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5 |
---|
| 3048 | echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; } |
---|
[8298425] | 3049 | if test $ac_cv_lib_nsl_gethostbyname = yes; then |
---|
| 3050 | cat >>confdefs.h <<_ACEOF |
---|
| 3051 | #define HAVE_LIBNSL 1 |
---|
| 3052 | _ACEOF |
---|
[7d4fbcd] | 3053 | |
---|
| 3054 | LIBS="-lnsl $LIBS" |
---|
| 3055 | |
---|
| 3056 | fi |
---|
| 3057 | |
---|
[8298425] | 3058 | |
---|
[4ad3480] | 3059 | { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5 |
---|
| 3060 | echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; } |
---|
[8298425] | 3061 | if test "${ac_cv_lib_socket_socket+set}" = set; then |
---|
| 3062 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
[7d4fbcd] | 3063 | else |
---|
[8298425] | 3064 | ac_check_lib_save_LIBS=$LIBS |
---|
[7d4fbcd] | 3065 | LIBS="-lsocket $LIBS" |
---|
[8298425] | 3066 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 3067 | /* confdefs.h. */ |
---|
| 3068 | _ACEOF |
---|
| 3069 | cat confdefs.h >>conftest.$ac_ext |
---|
| 3070 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 3071 | /* end confdefs.h. */ |
---|
| 3072 | |
---|
[4ad3480] | 3073 | /* Override any GCC internal prototype to avoid an error. |
---|
| 3074 | Use char because int might match the return type of a GCC |
---|
| 3075 | builtin and then its argument prototype would still apply. */ |
---|
[8298425] | 3076 | #ifdef __cplusplus |
---|
| 3077 | extern "C" |
---|
| 3078 | #endif |
---|
| 3079 | char socket (); |
---|
| 3080 | int |
---|
| 3081 | main () |
---|
| 3082 | { |
---|
[4ad3480] | 3083 | return socket (); |
---|
[8298425] | 3084 | ; |
---|
| 3085 | return 0; |
---|
| 3086 | } |
---|
| 3087 | _ACEOF |
---|
| 3088 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
[4ad3480] | 3089 | if { (ac_try="$ac_link" |
---|
| 3090 | case "(($ac_try" in |
---|
| 3091 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3092 | *) ac_try_echo=$ac_try;; |
---|
| 3093 | esac |
---|
| 3094 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 3095 | (eval "$ac_link") 2>conftest.er1 |
---|
[8298425] | 3096 | ac_status=$? |
---|
| 3097 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 3098 | rm -f conftest.er1 |
---|
| 3099 | cat conftest.err >&5 |
---|
| 3100 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3101 | (exit $ac_status); } && |
---|
[4ad3480] | 3102 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
---|
| 3103 | { (case "(($ac_try" in |
---|
| 3104 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3105 | *) ac_try_echo=$ac_try;; |
---|
| 3106 | esac |
---|
| 3107 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 3108 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 3109 | ac_status=$? |
---|
| 3110 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3111 | (exit $ac_status); }; } && |
---|
| 3112 | { ac_try='test -s conftest$ac_exeext' |
---|
[4ad3480] | 3113 | { (case "(($ac_try" in |
---|
| 3114 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3115 | *) ac_try_echo=$ac_try;; |
---|
| 3116 | esac |
---|
| 3117 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 3118 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 3119 | ac_status=$? |
---|
| 3120 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3121 | (exit $ac_status); }; }; then |
---|
| 3122 | ac_cv_lib_socket_socket=yes |
---|
| 3123 | else |
---|
| 3124 | echo "$as_me: failed program was:" >&5 |
---|
| 3125 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
[7d4fbcd] | 3126 | |
---|
[4ad3480] | 3127 | ac_cv_lib_socket_socket=no |
---|
[8298425] | 3128 | fi |
---|
[4ad3480] | 3129 | |
---|
| 3130 | rm -f core conftest.err conftest.$ac_objext \ |
---|
[8298425] | 3131 | conftest$ac_exeext conftest.$ac_ext |
---|
| 3132 | LIBS=$ac_check_lib_save_LIBS |
---|
[7d4fbcd] | 3133 | fi |
---|
[4ad3480] | 3134 | { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5 |
---|
| 3135 | echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; } |
---|
[8298425] | 3136 | if test $ac_cv_lib_socket_socket = yes; then |
---|
| 3137 | cat >>confdefs.h <<_ACEOF |
---|
| 3138 | #define HAVE_LIBSOCKET 1 |
---|
| 3139 | _ACEOF |
---|
[7d4fbcd] | 3140 | |
---|
| 3141 | LIBS="-lsocket $LIBS" |
---|
| 3142 | |
---|
| 3143 | fi |
---|
| 3144 | |
---|
[8298425] | 3145 | |
---|
[4ad3480] | 3146 | { echo "$as_me:$LINENO: checking for krb5_derive_key in -lk5crypto" >&5 |
---|
| 3147 | echo $ECHO_N "checking for krb5_derive_key in -lk5crypto... $ECHO_C" >&6; } |
---|
[8298425] | 3148 | if test "${ac_cv_lib_k5crypto_krb5_derive_key+set}" = set; then |
---|
| 3149 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
[7d4fbcd] | 3150 | else |
---|
[8298425] | 3151 | ac_check_lib_save_LIBS=$LIBS |
---|
[7d4fbcd] | 3152 | LIBS="-lk5crypto $LIBS" |
---|
[8298425] | 3153 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 3154 | /* confdefs.h. */ |
---|
| 3155 | _ACEOF |
---|
| 3156 | cat confdefs.h >>conftest.$ac_ext |
---|
| 3157 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 3158 | /* end confdefs.h. */ |
---|
| 3159 | |
---|
[4ad3480] | 3160 | /* Override any GCC internal prototype to avoid an error. |
---|
| 3161 | Use char because int might match the return type of a GCC |
---|
| 3162 | builtin and then its argument prototype would still apply. */ |
---|
[8298425] | 3163 | #ifdef __cplusplus |
---|
| 3164 | extern "C" |
---|
| 3165 | #endif |
---|
| 3166 | char krb5_derive_key (); |
---|
| 3167 | int |
---|
| 3168 | main () |
---|
| 3169 | { |
---|
[4ad3480] | 3170 | return krb5_derive_key (); |
---|
[8298425] | 3171 | ; |
---|
| 3172 | return 0; |
---|
| 3173 | } |
---|
| 3174 | _ACEOF |
---|
| 3175 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
[4ad3480] | 3176 | if { (ac_try="$ac_link" |
---|
| 3177 | case "(($ac_try" in |
---|
| 3178 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3179 | *) ac_try_echo=$ac_try;; |
---|
| 3180 | esac |
---|
| 3181 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 3182 | (eval "$ac_link") 2>conftest.er1 |
---|
[8298425] | 3183 | ac_status=$? |
---|
| 3184 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 3185 | rm -f conftest.er1 |
---|
| 3186 | cat conftest.err >&5 |
---|
| 3187 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3188 | (exit $ac_status); } && |
---|
[4ad3480] | 3189 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
---|
| 3190 | { (case "(($ac_try" in |
---|
| 3191 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3192 | *) ac_try_echo=$ac_try;; |
---|
| 3193 | esac |
---|
| 3194 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 3195 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 3196 | ac_status=$? |
---|
| 3197 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3198 | (exit $ac_status); }; } && |
---|
| 3199 | { ac_try='test -s conftest$ac_exeext' |
---|
[4ad3480] | 3200 | { (case "(($ac_try" in |
---|
| 3201 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3202 | *) ac_try_echo=$ac_try;; |
---|
| 3203 | esac |
---|
| 3204 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 3205 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 3206 | ac_status=$? |
---|
| 3207 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3208 | (exit $ac_status); }; }; then |
---|
| 3209 | ac_cv_lib_k5crypto_krb5_derive_key=yes |
---|
| 3210 | else |
---|
| 3211 | echo "$as_me: failed program was:" >&5 |
---|
| 3212 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
[7d4fbcd] | 3213 | |
---|
[4ad3480] | 3214 | ac_cv_lib_k5crypto_krb5_derive_key=no |
---|
[8298425] | 3215 | fi |
---|
[4ad3480] | 3216 | |
---|
| 3217 | rm -f core conftest.err conftest.$ac_objext \ |
---|
[8298425] | 3218 | conftest$ac_exeext conftest.$ac_ext |
---|
| 3219 | LIBS=$ac_check_lib_save_LIBS |
---|
[7d4fbcd] | 3220 | fi |
---|
[4ad3480] | 3221 | { echo "$as_me:$LINENO: result: $ac_cv_lib_k5crypto_krb5_derive_key" >&5 |
---|
| 3222 | echo "${ECHO_T}$ac_cv_lib_k5crypto_krb5_derive_key" >&6; } |
---|
[8298425] | 3223 | if test $ac_cv_lib_k5crypto_krb5_derive_key = yes; then |
---|
| 3224 | cat >>confdefs.h <<_ACEOF |
---|
| 3225 | #define HAVE_LIBK5CRYPTO 1 |
---|
| 3226 | _ACEOF |
---|
[7d4fbcd] | 3227 | |
---|
| 3228 | LIBS="-lk5crypto $LIBS" |
---|
| 3229 | |
---|
| 3230 | fi |
---|
| 3231 | |
---|
[8298425] | 3232 | |
---|
[4ad3480] | 3233 | { echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes425" >&5 |
---|
| 3234 | echo $ECHO_N "checking for des_cbc_encrypt in -ldes425... $ECHO_C" >&6; } |
---|
[8298425] | 3235 | if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then |
---|
| 3236 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
[7d4fbcd] | 3237 | else |
---|
[8298425] | 3238 | ac_check_lib_save_LIBS=$LIBS |
---|
[7d4fbcd] | 3239 | LIBS="-ldes425 $LIBS" |
---|
[8298425] | 3240 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 3241 | /* confdefs.h. */ |
---|
| 3242 | _ACEOF |
---|
| 3243 | cat confdefs.h >>conftest.$ac_ext |
---|
| 3244 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 3245 | /* end confdefs.h. */ |
---|
| 3246 | |
---|
[4ad3480] | 3247 | /* Override any GCC internal prototype to avoid an error. |
---|
| 3248 | Use char because int might match the return type of a GCC |
---|
| 3249 | builtin and then its argument prototype would still apply. */ |
---|
[8298425] | 3250 | #ifdef __cplusplus |
---|
| 3251 | extern "C" |
---|
| 3252 | #endif |
---|
| 3253 | char des_cbc_encrypt (); |
---|
| 3254 | int |
---|
| 3255 | main () |
---|
| 3256 | { |
---|
[4ad3480] | 3257 | return des_cbc_encrypt (); |
---|
[8298425] | 3258 | ; |
---|
| 3259 | return 0; |
---|
| 3260 | } |
---|
| 3261 | _ACEOF |
---|
| 3262 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
[4ad3480] | 3263 | if { (ac_try="$ac_link" |
---|
| 3264 | case "(($ac_try" in |
---|
| 3265 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3266 | *) ac_try_echo=$ac_try;; |
---|
| 3267 | esac |
---|
| 3268 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 3269 | (eval "$ac_link") 2>conftest.er1 |
---|
[8298425] | 3270 | ac_status=$? |
---|
| 3271 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 3272 | rm -f conftest.er1 |
---|
| 3273 | cat conftest.err >&5 |
---|
| 3274 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3275 | (exit $ac_status); } && |
---|
[4ad3480] | 3276 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
---|
| 3277 | { (case "(($ac_try" in |
---|
| 3278 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3279 | *) ac_try_echo=$ac_try;; |
---|
| 3280 | esac |
---|
| 3281 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 3282 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 3283 | ac_status=$? |
---|
| 3284 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3285 | (exit $ac_status); }; } && |
---|
| 3286 | { ac_try='test -s conftest$ac_exeext' |
---|
[4ad3480] | 3287 | { (case "(($ac_try" in |
---|
| 3288 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3289 | *) ac_try_echo=$ac_try;; |
---|
| 3290 | esac |
---|
| 3291 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 3292 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 3293 | ac_status=$? |
---|
| 3294 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3295 | (exit $ac_status); }; }; then |
---|
| 3296 | ac_cv_lib_des425_des_cbc_encrypt=yes |
---|
| 3297 | else |
---|
| 3298 | echo "$as_me: failed program was:" >&5 |
---|
| 3299 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
[7d4fbcd] | 3300 | |
---|
[4ad3480] | 3301 | ac_cv_lib_des425_des_cbc_encrypt=no |
---|
[8298425] | 3302 | fi |
---|
[4ad3480] | 3303 | |
---|
| 3304 | rm -f core conftest.err conftest.$ac_objext \ |
---|
[8298425] | 3305 | conftest$ac_exeext conftest.$ac_ext |
---|
| 3306 | LIBS=$ac_check_lib_save_LIBS |
---|
[7d4fbcd] | 3307 | fi |
---|
[4ad3480] | 3308 | { echo "$as_me:$LINENO: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5 |
---|
| 3309 | echo "${ECHO_T}$ac_cv_lib_des425_des_cbc_encrypt" >&6; } |
---|
[8298425] | 3310 | if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then |
---|
| 3311 | cat >>confdefs.h <<_ACEOF |
---|
| 3312 | #define HAVE_LIBDES425 1 |
---|
| 3313 | _ACEOF |
---|
[7d4fbcd] | 3314 | |
---|
| 3315 | LIBS="-ldes425 $LIBS" |
---|
| 3316 | |
---|
| 3317 | fi |
---|
| 3318 | |
---|
[8298425] | 3319 | |
---|
[4ad3480] | 3320 | { echo "$as_me:$LINENO: checking for res_search in -lresolv" >&5 |
---|
| 3321 | echo $ECHO_N "checking for res_search in -lresolv... $ECHO_C" >&6; } |
---|
[8298425] | 3322 | if test "${ac_cv_lib_resolv_res_search+set}" = set; then |
---|
| 3323 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
[d09e5a1] | 3324 | else |
---|
[8298425] | 3325 | ac_check_lib_save_LIBS=$LIBS |
---|
[d09e5a1] | 3326 | LIBS="-lresolv $LIBS" |
---|
[8298425] | 3327 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 3328 | /* confdefs.h. */ |
---|
| 3329 | _ACEOF |
---|
| 3330 | cat confdefs.h >>conftest.$ac_ext |
---|
| 3331 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 3332 | /* end confdefs.h. */ |
---|
| 3333 | |
---|
[4ad3480] | 3334 | /* Override any GCC internal prototype to avoid an error. |
---|
| 3335 | Use char because int might match the return type of a GCC |
---|
| 3336 | builtin and then its argument prototype would still apply. */ |
---|
[8298425] | 3337 | #ifdef __cplusplus |
---|
| 3338 | extern "C" |
---|
| 3339 | #endif |
---|
| 3340 | char res_search (); |
---|
| 3341 | int |
---|
| 3342 | main () |
---|
| 3343 | { |
---|
[4ad3480] | 3344 | return res_search (); |
---|
[8298425] | 3345 | ; |
---|
| 3346 | return 0; |
---|
| 3347 | } |
---|
| 3348 | _ACEOF |
---|
| 3349 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
[4ad3480] | 3350 | if { (ac_try="$ac_link" |
---|
| 3351 | case "(($ac_try" in |
---|
| 3352 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3353 | *) ac_try_echo=$ac_try;; |
---|
| 3354 | esac |
---|
| 3355 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 3356 | (eval "$ac_link") 2>conftest.er1 |
---|
[8298425] | 3357 | ac_status=$? |
---|
| 3358 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 3359 | rm -f conftest.er1 |
---|
| 3360 | cat conftest.err >&5 |
---|
| 3361 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3362 | (exit $ac_status); } && |
---|
[4ad3480] | 3363 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
---|
| 3364 | { (case "(($ac_try" in |
---|
| 3365 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3366 | *) ac_try_echo=$ac_try;; |
---|
| 3367 | esac |
---|
| 3368 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 3369 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 3370 | ac_status=$? |
---|
| 3371 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3372 | (exit $ac_status); }; } && |
---|
| 3373 | { ac_try='test -s conftest$ac_exeext' |
---|
[4ad3480] | 3374 | { (case "(($ac_try" in |
---|
| 3375 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3376 | *) ac_try_echo=$ac_try;; |
---|
| 3377 | esac |
---|
| 3378 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 3379 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 3380 | ac_status=$? |
---|
| 3381 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3382 | (exit $ac_status); }; }; then |
---|
| 3383 | ac_cv_lib_resolv_res_search=yes |
---|
| 3384 | else |
---|
| 3385 | echo "$as_me: failed program was:" >&5 |
---|
| 3386 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
[d09e5a1] | 3387 | |
---|
[4ad3480] | 3388 | ac_cv_lib_resolv_res_search=no |
---|
[8298425] | 3389 | fi |
---|
[4ad3480] | 3390 | |
---|
| 3391 | rm -f core conftest.err conftest.$ac_objext \ |
---|
[8298425] | 3392 | conftest$ac_exeext conftest.$ac_ext |
---|
| 3393 | LIBS=$ac_check_lib_save_LIBS |
---|
[d09e5a1] | 3394 | fi |
---|
[4ad3480] | 3395 | { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_search" >&5 |
---|
| 3396 | echo "${ECHO_T}$ac_cv_lib_resolv_res_search" >&6; } |
---|
[8298425] | 3397 | if test $ac_cv_lib_resolv_res_search = yes; then |
---|
| 3398 | cat >>confdefs.h <<_ACEOF |
---|
| 3399 | #define HAVE_LIBRESOLV 1 |
---|
| 3400 | _ACEOF |
---|
[d09e5a1] | 3401 | |
---|
| 3402 | LIBS="-lresolv $LIBS" |
---|
| 3403 | |
---|
| 3404 | fi |
---|
| 3405 | |
---|
[8298425] | 3406 | |
---|
[4ad3480] | 3407 | { echo "$as_me:$LINENO: checking for krb5_get_credentials in -lkrb5" >&5 |
---|
| 3408 | echo $ECHO_N "checking for krb5_get_credentials in -lkrb5... $ECHO_C" >&6; } |
---|
[8298425] | 3409 | if test "${ac_cv_lib_krb5_krb5_get_credentials+set}" = set; then |
---|
| 3410 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
[7d4fbcd] | 3411 | else |
---|
[8298425] | 3412 | ac_check_lib_save_LIBS=$LIBS |
---|
[7d4fbcd] | 3413 | LIBS="-lkrb5 $LIBS" |
---|
[8298425] | 3414 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 3415 | /* confdefs.h. */ |
---|
| 3416 | _ACEOF |
---|
| 3417 | cat confdefs.h >>conftest.$ac_ext |
---|
| 3418 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 3419 | /* end confdefs.h. */ |
---|
| 3420 | |
---|
[4ad3480] | 3421 | /* Override any GCC internal prototype to avoid an error. |
---|
| 3422 | Use char because int might match the return type of a GCC |
---|
| 3423 | builtin and then its argument prototype would still apply. */ |
---|
[8298425] | 3424 | #ifdef __cplusplus |
---|
| 3425 | extern "C" |
---|
| 3426 | #endif |
---|
| 3427 | char krb5_get_credentials (); |
---|
| 3428 | int |
---|
| 3429 | main () |
---|
| 3430 | { |
---|
[4ad3480] | 3431 | return krb5_get_credentials (); |
---|
[8298425] | 3432 | ; |
---|
| 3433 | return 0; |
---|
| 3434 | } |
---|
| 3435 | _ACEOF |
---|
| 3436 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
[4ad3480] | 3437 | if { (ac_try="$ac_link" |
---|
| 3438 | case "(($ac_try" in |
---|
| 3439 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3440 | *) ac_try_echo=$ac_try;; |
---|
| 3441 | esac |
---|
| 3442 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 3443 | (eval "$ac_link") 2>conftest.er1 |
---|
[8298425] | 3444 | ac_status=$? |
---|
| 3445 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 3446 | rm -f conftest.er1 |
---|
| 3447 | cat conftest.err >&5 |
---|
| 3448 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3449 | (exit $ac_status); } && |
---|
[4ad3480] | 3450 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
---|
| 3451 | { (case "(($ac_try" in |
---|
| 3452 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3453 | *) ac_try_echo=$ac_try;; |
---|
| 3454 | esac |
---|
| 3455 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 3456 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 3457 | ac_status=$? |
---|
| 3458 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3459 | (exit $ac_status); }; } && |
---|
| 3460 | { ac_try='test -s conftest$ac_exeext' |
---|
[4ad3480] | 3461 | { (case "(($ac_try" in |
---|
| 3462 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3463 | *) ac_try_echo=$ac_try;; |
---|
| 3464 | esac |
---|
| 3465 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 3466 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 3467 | ac_status=$? |
---|
| 3468 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3469 | (exit $ac_status); }; }; then |
---|
| 3470 | ac_cv_lib_krb5_krb5_get_credentials=yes |
---|
| 3471 | else |
---|
| 3472 | echo "$as_me: failed program was:" >&5 |
---|
| 3473 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
[7d4fbcd] | 3474 | |
---|
[4ad3480] | 3475 | ac_cv_lib_krb5_krb5_get_credentials=no |
---|
[8298425] | 3476 | fi |
---|
[4ad3480] | 3477 | |
---|
| 3478 | rm -f core conftest.err conftest.$ac_objext \ |
---|
[8298425] | 3479 | conftest$ac_exeext conftest.$ac_ext |
---|
| 3480 | LIBS=$ac_check_lib_save_LIBS |
---|
[7d4fbcd] | 3481 | fi |
---|
[4ad3480] | 3482 | { echo "$as_me:$LINENO: result: $ac_cv_lib_krb5_krb5_get_credentials" >&5 |
---|
| 3483 | echo "${ECHO_T}$ac_cv_lib_krb5_krb5_get_credentials" >&6; } |
---|
[8298425] | 3484 | if test $ac_cv_lib_krb5_krb5_get_credentials = yes; then |
---|
| 3485 | cat >>confdefs.h <<_ACEOF |
---|
| 3486 | #define HAVE_LIBKRB5 1 |
---|
| 3487 | _ACEOF |
---|
[7d4fbcd] | 3488 | |
---|
| 3489 | LIBS="-lkrb5 $LIBS" |
---|
| 3490 | |
---|
| 3491 | fi |
---|
| 3492 | |
---|
[8298425] | 3493 | |
---|
[4ad3480] | 3494 | { echo "$as_me:$LINENO: checking for krb_sendauth in -lkrb4" >&5 |
---|
| 3495 | echo $ECHO_N "checking for krb_sendauth in -lkrb4... $ECHO_C" >&6; } |
---|
[8298425] | 3496 | if test "${ac_cv_lib_krb4_krb_sendauth+set}" = set; then |
---|
| 3497 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
[7d4fbcd] | 3498 | else |
---|
[8298425] | 3499 | ac_check_lib_save_LIBS=$LIBS |
---|
[7d4fbcd] | 3500 | LIBS="-lkrb4 $LIBS" |
---|
[8298425] | 3501 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 3502 | /* confdefs.h. */ |
---|
| 3503 | _ACEOF |
---|
| 3504 | cat confdefs.h >>conftest.$ac_ext |
---|
| 3505 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 3506 | /* end confdefs.h. */ |
---|
| 3507 | |
---|
[4ad3480] | 3508 | /* Override any GCC internal prototype to avoid an error. |
---|
| 3509 | Use char because int might match the return type of a GCC |
---|
| 3510 | builtin and then its argument prototype would still apply. */ |
---|
[8298425] | 3511 | #ifdef __cplusplus |
---|
| 3512 | extern "C" |
---|
| 3513 | #endif |
---|
| 3514 | char krb_sendauth (); |
---|
| 3515 | int |
---|
| 3516 | main () |
---|
| 3517 | { |
---|
[4ad3480] | 3518 | return krb_sendauth (); |
---|
[8298425] | 3519 | ; |
---|
| 3520 | return 0; |
---|
| 3521 | } |
---|
| 3522 | _ACEOF |
---|
| 3523 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
[4ad3480] | 3524 | if { (ac_try="$ac_link" |
---|
| 3525 | case "(($ac_try" in |
---|
| 3526 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3527 | *) ac_try_echo=$ac_try;; |
---|
| 3528 | esac |
---|
| 3529 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 3530 | (eval "$ac_link") 2>conftest.er1 |
---|
[8298425] | 3531 | ac_status=$? |
---|
| 3532 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 3533 | rm -f conftest.er1 |
---|
| 3534 | cat conftest.err >&5 |
---|
| 3535 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3536 | (exit $ac_status); } && |
---|
[4ad3480] | 3537 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
---|
| 3538 | { (case "(($ac_try" in |
---|
| 3539 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3540 | *) ac_try_echo=$ac_try;; |
---|
| 3541 | esac |
---|
| 3542 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 3543 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 3544 | ac_status=$? |
---|
| 3545 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3546 | (exit $ac_status); }; } && |
---|
| 3547 | { ac_try='test -s conftest$ac_exeext' |
---|
[4ad3480] | 3548 | { (case "(($ac_try" in |
---|
| 3549 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3550 | *) ac_try_echo=$ac_try;; |
---|
| 3551 | esac |
---|
| 3552 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 3553 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 3554 | ac_status=$? |
---|
| 3555 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3556 | (exit $ac_status); }; }; then |
---|
| 3557 | ac_cv_lib_krb4_krb_sendauth=yes |
---|
| 3558 | else |
---|
| 3559 | echo "$as_me: failed program was:" >&5 |
---|
| 3560 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
[7d4fbcd] | 3561 | |
---|
[4ad3480] | 3562 | ac_cv_lib_krb4_krb_sendauth=no |
---|
[8298425] | 3563 | fi |
---|
[4ad3480] | 3564 | |
---|
| 3565 | rm -f core conftest.err conftest.$ac_objext \ |
---|
[8298425] | 3566 | conftest$ac_exeext conftest.$ac_ext |
---|
| 3567 | LIBS=$ac_check_lib_save_LIBS |
---|
[7d4fbcd] | 3568 | fi |
---|
[4ad3480] | 3569 | { echo "$as_me:$LINENO: result: $ac_cv_lib_krb4_krb_sendauth" >&5 |
---|
| 3570 | echo "${ECHO_T}$ac_cv_lib_krb4_krb_sendauth" >&6; } |
---|
[8298425] | 3571 | if test $ac_cv_lib_krb4_krb_sendauth = yes; then |
---|
| 3572 | cat >>confdefs.h <<_ACEOF |
---|
| 3573 | #define HAVE_LIBKRB4 1 |
---|
| 3574 | _ACEOF |
---|
[7d4fbcd] | 3575 | |
---|
| 3576 | LIBS="-lkrb4 $LIBS" |
---|
| 3577 | |
---|
| 3578 | else |
---|
[8298425] | 3579 | |
---|
[4ad3480] | 3580 | { echo "$as_me:$LINENO: checking for krb_sendauth in -lkrb" >&5 |
---|
| 3581 | echo $ECHO_N "checking for krb_sendauth in -lkrb... $ECHO_C" >&6; } |
---|
[8298425] | 3582 | if test "${ac_cv_lib_krb_krb_sendauth+set}" = set; then |
---|
| 3583 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
[69894d2] | 3584 | else |
---|
[8298425] | 3585 | ac_check_lib_save_LIBS=$LIBS |
---|
[69894d2] | 3586 | LIBS="-lkrb $LIBS" |
---|
[8298425] | 3587 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 3588 | /* confdefs.h. */ |
---|
| 3589 | _ACEOF |
---|
| 3590 | cat confdefs.h >>conftest.$ac_ext |
---|
| 3591 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 3592 | /* end confdefs.h. */ |
---|
| 3593 | |
---|
[4ad3480] | 3594 | /* Override any GCC internal prototype to avoid an error. |
---|
| 3595 | Use char because int might match the return type of a GCC |
---|
| 3596 | builtin and then its argument prototype would still apply. */ |
---|
[8298425] | 3597 | #ifdef __cplusplus |
---|
| 3598 | extern "C" |
---|
| 3599 | #endif |
---|
| 3600 | char krb_sendauth (); |
---|
| 3601 | int |
---|
| 3602 | main () |
---|
| 3603 | { |
---|
[4ad3480] | 3604 | return krb_sendauth (); |
---|
[8298425] | 3605 | ; |
---|
| 3606 | return 0; |
---|
| 3607 | } |
---|
| 3608 | _ACEOF |
---|
| 3609 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
[4ad3480] | 3610 | if { (ac_try="$ac_link" |
---|
| 3611 | case "(($ac_try" in |
---|
| 3612 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3613 | *) ac_try_echo=$ac_try;; |
---|
| 3614 | esac |
---|
| 3615 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 3616 | (eval "$ac_link") 2>conftest.er1 |
---|
[8298425] | 3617 | ac_status=$? |
---|
| 3618 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 3619 | rm -f conftest.er1 |
---|
| 3620 | cat conftest.err >&5 |
---|
| 3621 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3622 | (exit $ac_status); } && |
---|
[4ad3480] | 3623 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
---|
| 3624 | { (case "(($ac_try" in |
---|
| 3625 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3626 | *) ac_try_echo=$ac_try;; |
---|
| 3627 | esac |
---|
| 3628 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 3629 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 3630 | ac_status=$? |
---|
| 3631 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3632 | (exit $ac_status); }; } && |
---|
| 3633 | { ac_try='test -s conftest$ac_exeext' |
---|
[4ad3480] | 3634 | { (case "(($ac_try" in |
---|
| 3635 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3636 | *) ac_try_echo=$ac_try;; |
---|
| 3637 | esac |
---|
| 3638 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 3639 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 3640 | ac_status=$? |
---|
| 3641 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3642 | (exit $ac_status); }; }; then |
---|
| 3643 | ac_cv_lib_krb_krb_sendauth=yes |
---|
| 3644 | else |
---|
| 3645 | echo "$as_me: failed program was:" >&5 |
---|
| 3646 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
[69894d2] | 3647 | |
---|
[4ad3480] | 3648 | ac_cv_lib_krb_krb_sendauth=no |
---|
[8298425] | 3649 | fi |
---|
[4ad3480] | 3650 | |
---|
| 3651 | rm -f core conftest.err conftest.$ac_objext \ |
---|
[8298425] | 3652 | conftest$ac_exeext conftest.$ac_ext |
---|
| 3653 | LIBS=$ac_check_lib_save_LIBS |
---|
[69894d2] | 3654 | fi |
---|
[4ad3480] | 3655 | { echo "$as_me:$LINENO: result: $ac_cv_lib_krb_krb_sendauth" >&5 |
---|
| 3656 | echo "${ECHO_T}$ac_cv_lib_krb_krb_sendauth" >&6; } |
---|
[8298425] | 3657 | if test $ac_cv_lib_krb_krb_sendauth = yes; then |
---|
| 3658 | cat >>confdefs.h <<_ACEOF |
---|
| 3659 | #define HAVE_LIBKRB 1 |
---|
| 3660 | _ACEOF |
---|
[69894d2] | 3661 | |
---|
| 3662 | LIBS="-lkrb $LIBS" |
---|
| 3663 | |
---|
| 3664 | fi |
---|
| 3665 | |
---|
[d09e5a1] | 3666 | fi |
---|
| 3667 | |
---|
[8298425] | 3668 | |
---|
[4ad3480] | 3669 | { echo "$as_me:$LINENO: checking for ZGetSender in -lzephyr" >&5 |
---|
| 3670 | echo $ECHO_N "checking for ZGetSender in -lzephyr... $ECHO_C" >&6; } |
---|
[8298425] | 3671 | if test "${ac_cv_lib_zephyr_ZGetSender+set}" = set; then |
---|
| 3672 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
[7d4fbcd] | 3673 | else |
---|
[8298425] | 3674 | ac_check_lib_save_LIBS=$LIBS |
---|
[7d4fbcd] | 3675 | LIBS="-lzephyr $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 ZGetSender (); |
---|
| 3690 | int |
---|
| 3691 | main () |
---|
| 3692 | { |
---|
[4ad3480] | 3693 | return ZGetSender (); |
---|
[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_zephyr_ZGetSender=yes |
---|
| 3733 | else |
---|
| 3734 | echo "$as_me: failed program was:" >&5 |
---|
| 3735 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
[7d4fbcd] | 3736 | |
---|
[4ad3480] | 3737 | ac_cv_lib_zephyr_ZGetSender=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 |
---|
[7d4fbcd] | 3743 | fi |
---|
[4ad3480] | 3744 | { echo "$as_me:$LINENO: result: $ac_cv_lib_zephyr_ZGetSender" >&5 |
---|
| 3745 | echo "${ECHO_T}$ac_cv_lib_zephyr_ZGetSender" >&6; } |
---|
[8298425] | 3746 | if test $ac_cv_lib_zephyr_ZGetSender = yes; then |
---|
| 3747 | cat >>confdefs.h <<_ACEOF |
---|
| 3748 | #define HAVE_LIBZEPHYR 1 |
---|
| 3749 | _ACEOF |
---|
[7d4fbcd] | 3750 | |
---|
| 3751 | LIBS="-lzephyr $LIBS" |
---|
| 3752 | |
---|
| 3753 | fi |
---|
| 3754 | |
---|
[4ad3480] | 3755 | { echo "$as_me:$LINENO: checking for ZInitLocationInfo in -lzephyr" >&5 |
---|
| 3756 | echo $ECHO_N "checking for ZInitLocationInfo in -lzephyr... $ECHO_C" >&6; } |
---|
[8298425] | 3757 | if test "${ac_cv_lib_zephyr_ZInitLocationInfo+set}" = set; then |
---|
| 3758 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
[7d4fbcd] | 3759 | else |
---|
[8298425] | 3760 | ac_check_lib_save_LIBS=$LIBS |
---|
[7d4fbcd] | 3761 | LIBS="-lzephyr $LIBS" |
---|
[8298425] | 3762 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 3763 | /* confdefs.h. */ |
---|
| 3764 | _ACEOF |
---|
| 3765 | cat confdefs.h >>conftest.$ac_ext |
---|
| 3766 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 3767 | /* end confdefs.h. */ |
---|
| 3768 | |
---|
[4ad3480] | 3769 | /* Override any GCC internal prototype to avoid an error. |
---|
| 3770 | Use char because int might match the return type of a GCC |
---|
| 3771 | builtin and then its argument prototype would still apply. */ |
---|
[8298425] | 3772 | #ifdef __cplusplus |
---|
| 3773 | extern "C" |
---|
| 3774 | #endif |
---|
| 3775 | char ZInitLocationInfo (); |
---|
| 3776 | int |
---|
| 3777 | main () |
---|
| 3778 | { |
---|
[4ad3480] | 3779 | return ZInitLocationInfo (); |
---|
[8298425] | 3780 | ; |
---|
| 3781 | return 0; |
---|
| 3782 | } |
---|
| 3783 | _ACEOF |
---|
| 3784 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
[4ad3480] | 3785 | if { (ac_try="$ac_link" |
---|
| 3786 | case "(($ac_try" in |
---|
| 3787 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3788 | *) ac_try_echo=$ac_try;; |
---|
| 3789 | esac |
---|
| 3790 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 3791 | (eval "$ac_link") 2>conftest.er1 |
---|
[8298425] | 3792 | ac_status=$? |
---|
| 3793 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 3794 | rm -f conftest.er1 |
---|
| 3795 | cat conftest.err >&5 |
---|
| 3796 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3797 | (exit $ac_status); } && |
---|
[4ad3480] | 3798 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
---|
| 3799 | { (case "(($ac_try" in |
---|
| 3800 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3801 | *) ac_try_echo=$ac_try;; |
---|
| 3802 | esac |
---|
| 3803 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 3804 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 3805 | ac_status=$? |
---|
| 3806 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3807 | (exit $ac_status); }; } && |
---|
| 3808 | { ac_try='test -s conftest$ac_exeext' |
---|
[4ad3480] | 3809 | { (case "(($ac_try" in |
---|
| 3810 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3811 | *) ac_try_echo=$ac_try;; |
---|
| 3812 | esac |
---|
| 3813 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 3814 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 3815 | ac_status=$? |
---|
| 3816 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3817 | (exit $ac_status); }; }; then |
---|
| 3818 | ac_cv_lib_zephyr_ZInitLocationInfo=yes |
---|
| 3819 | else |
---|
| 3820 | echo "$as_me: failed program was:" >&5 |
---|
| 3821 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
[7d4fbcd] | 3822 | |
---|
[4ad3480] | 3823 | ac_cv_lib_zephyr_ZInitLocationInfo=no |
---|
[7d4fbcd] | 3824 | fi |
---|
[4ad3480] | 3825 | |
---|
| 3826 | rm -f core conftest.err conftest.$ac_objext \ |
---|
[8298425] | 3827 | conftest$ac_exeext conftest.$ac_ext |
---|
| 3828 | LIBS=$ac_check_lib_save_LIBS |
---|
| 3829 | fi |
---|
[4ad3480] | 3830 | { echo "$as_me:$LINENO: result: $ac_cv_lib_zephyr_ZInitLocationInfo" >&5 |
---|
| 3831 | echo "${ECHO_T}$ac_cv_lib_zephyr_ZInitLocationInfo" >&6; } |
---|
[8298425] | 3832 | if test $ac_cv_lib_zephyr_ZInitLocationInfo = yes; then |
---|
| 3833 | |
---|
| 3834 | cat >>confdefs.h <<\_ACEOF |
---|
| 3835 | #define HAVE_LIBZEPHYR_ZINITLOCATIONINFO |
---|
| 3836 | _ACEOF |
---|
[7d4fbcd] | 3837 | |
---|
| 3838 | fi |
---|
| 3839 | |
---|
| 3840 | |
---|
[8298425] | 3841 | |
---|
| 3842 | |
---|
| 3843 | |
---|
| 3844 | |
---|
[c269e22] | 3845 | for ac_func in use_default_colors des_string_to_key des_key_sched des_ecb_encrypt |
---|
[e51b410] | 3846 | do |
---|
[8298425] | 3847 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
---|
[4ad3480] | 3848 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
---|
| 3849 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
---|
| 3850 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
---|
[8298425] | 3851 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 3852 | else |
---|
| 3853 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 3854 | /* confdefs.h. */ |
---|
| 3855 | _ACEOF |
---|
| 3856 | cat confdefs.h >>conftest.$ac_ext |
---|
| 3857 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 3858 | /* end confdefs.h. */ |
---|
| 3859 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
---|
| 3860 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
---|
| 3861 | #define $ac_func innocuous_$ac_func |
---|
| 3862 | |
---|
[e51b410] | 3863 | /* System header to define __stub macros and hopefully few prototypes, |
---|
[8298425] | 3864 | which can conflict with char $ac_func (); below. |
---|
| 3865 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
---|
| 3866 | <limits.h> exists even on freestanding compilers. */ |
---|
[e51b410] | 3867 | |
---|
[8298425] | 3868 | #ifdef __STDC__ |
---|
| 3869 | # include <limits.h> |
---|
| 3870 | #else |
---|
| 3871 | # include <assert.h> |
---|
| 3872 | #endif |
---|
[e51b410] | 3873 | |
---|
[8298425] | 3874 | #undef $ac_func |
---|
| 3875 | |
---|
[4ad3480] | 3876 | /* Override any GCC internal prototype to avoid an error. |
---|
| 3877 | Use char because int might match the return type of a GCC |
---|
| 3878 | builtin and then its argument prototype would still apply. */ |
---|
[8298425] | 3879 | #ifdef __cplusplus |
---|
| 3880 | extern "C" |
---|
| 3881 | #endif |
---|
| 3882 | char $ac_func (); |
---|
[e51b410] | 3883 | /* The GNU C library defines this for functions which it implements |
---|
| 3884 | to always fail with ENOSYS. Some functions are actually named |
---|
| 3885 | something starting with __ and the normal name is an alias. */ |
---|
[4ad3480] | 3886 | #if defined __stub_$ac_func || defined __stub___$ac_func |
---|
[e51b410] | 3887 | choke me |
---|
| 3888 | #endif |
---|
| 3889 | |
---|
[8298425] | 3890 | int |
---|
| 3891 | main () |
---|
| 3892 | { |
---|
[4ad3480] | 3893 | return $ac_func (); |
---|
[8298425] | 3894 | ; |
---|
| 3895 | return 0; |
---|
| 3896 | } |
---|
| 3897 | _ACEOF |
---|
| 3898 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
[4ad3480] | 3899 | if { (ac_try="$ac_link" |
---|
| 3900 | case "(($ac_try" in |
---|
| 3901 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3902 | *) ac_try_echo=$ac_try;; |
---|
| 3903 | esac |
---|
| 3904 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 3905 | (eval "$ac_link") 2>conftest.er1 |
---|
[8298425] | 3906 | ac_status=$? |
---|
| 3907 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 3908 | rm -f conftest.er1 |
---|
| 3909 | cat conftest.err >&5 |
---|
| 3910 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3911 | (exit $ac_status); } && |
---|
[4ad3480] | 3912 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
---|
| 3913 | { (case "(($ac_try" in |
---|
| 3914 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3915 | *) ac_try_echo=$ac_try;; |
---|
| 3916 | esac |
---|
| 3917 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 3918 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 3919 | ac_status=$? |
---|
| 3920 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3921 | (exit $ac_status); }; } && |
---|
| 3922 | { ac_try='test -s conftest$ac_exeext' |
---|
[4ad3480] | 3923 | { (case "(($ac_try" in |
---|
| 3924 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3925 | *) ac_try_echo=$ac_try;; |
---|
| 3926 | esac |
---|
| 3927 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 3928 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 3929 | ac_status=$? |
---|
| 3930 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3931 | (exit $ac_status); }; }; then |
---|
| 3932 | eval "$as_ac_var=yes" |
---|
[e51b410] | 3933 | else |
---|
[8298425] | 3934 | echo "$as_me: failed program was:" >&5 |
---|
| 3935 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 3936 | |
---|
[4ad3480] | 3937 | eval "$as_ac_var=no" |
---|
[e51b410] | 3938 | fi |
---|
[4ad3480] | 3939 | |
---|
| 3940 | rm -f core conftest.err conftest.$ac_objext \ |
---|
[8298425] | 3941 | conftest$ac_exeext conftest.$ac_ext |
---|
[e51b410] | 3942 | fi |
---|
[4ad3480] | 3943 | ac_res=`eval echo '${'$as_ac_var'}'` |
---|
| 3944 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
---|
| 3945 | echo "${ECHO_T}$ac_res" >&6; } |
---|
[8298425] | 3946 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
---|
| 3947 | cat >>confdefs.h <<_ACEOF |
---|
| 3948 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
---|
| 3949 | _ACEOF |
---|
[e51b410] | 3950 | |
---|
| 3951 | fi |
---|
| 3952 | done |
---|
| 3953 | |
---|
| 3954 | |
---|
[4ad3480] | 3955 | { echo "$as_me:$LINENO: checking for des_ecb_encrypt prototype" >&5 |
---|
| 3956 | echo $ECHO_N "checking for des_ecb_encrypt prototype... $ECHO_C" >&6; } |
---|
[8298425] | 3957 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 3958 | /* confdefs.h. */ |
---|
| 3959 | _ACEOF |
---|
| 3960 | cat confdefs.h >>conftest.$ac_ext |
---|
| 3961 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 3962 | /* end confdefs.h. */ |
---|
[69894d2] | 3963 | #include <des.h> |
---|
| 3964 | int des_ecb_encrypt(char foo[], char bar[], des_key_schedule baz, int qux); |
---|
[8298425] | 3965 | int |
---|
| 3966 | main () |
---|
| 3967 | { |
---|
[69894d2] | 3968 | int foo = des_ecb_encrypt(0,0,0,0); |
---|
[8298425] | 3969 | ; |
---|
| 3970 | return 0; |
---|
| 3971 | } |
---|
| 3972 | _ACEOF |
---|
| 3973 | rm -f conftest.$ac_objext |
---|
[4ad3480] | 3974 | if { (ac_try="$ac_compile" |
---|
| 3975 | case "(($ac_try" in |
---|
| 3976 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3977 | *) ac_try_echo=$ac_try;; |
---|
| 3978 | esac |
---|
| 3979 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 3980 | (eval "$ac_compile") 2>conftest.er1 |
---|
[8298425] | 3981 | ac_status=$? |
---|
| 3982 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 3983 | rm -f conftest.er1 |
---|
| 3984 | cat conftest.err >&5 |
---|
| 3985 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3986 | (exit $ac_status); } && |
---|
[4ad3480] | 3987 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
---|
| 3988 | { (case "(($ac_try" in |
---|
| 3989 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3990 | *) ac_try_echo=$ac_try;; |
---|
| 3991 | esac |
---|
| 3992 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 3993 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 3994 | ac_status=$? |
---|
| 3995 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3996 | (exit $ac_status); }; } && |
---|
| 3997 | { ac_try='test -s conftest.$ac_objext' |
---|
[4ad3480] | 3998 | { (case "(($ac_try" in |
---|
| 3999 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 4000 | *) ac_try_echo=$ac_try;; |
---|
| 4001 | esac |
---|
| 4002 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 4003 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 4004 | ac_status=$? |
---|
| 4005 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 4006 | (exit $ac_status); }; }; then |
---|
[69894d2] | 4007 | ac_cv_des_ecb_encrypt_proto=no |
---|
| 4008 | else |
---|
[8298425] | 4009 | echo "$as_me: failed program was:" >&5 |
---|
| 4010 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 4011 | |
---|
[4ad3480] | 4012 | ac_cv_des_ecb_encrypt_proto=yes |
---|
[69894d2] | 4013 | fi |
---|
[4ad3480] | 4014 | |
---|
| 4015 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
| 4016 | { echo "$as_me:$LINENO: result: $ac_cv_des_ecb_encrypt_proto" >&5 |
---|
| 4017 | echo "${ECHO_T}$ac_cv_des_ecb_encrypt_proto" >&6; } |
---|
[69894d2] | 4018 | if test "$ac_cv_des_ecb_encrypt_proto" = yes; then |
---|
[8298425] | 4019 | |
---|
| 4020 | cat >>confdefs.h <<\_ACEOF |
---|
| 4021 | #define HAVE_DES_ECB_ENCRYPT_PROTO |
---|
| 4022 | _ACEOF |
---|
[69894d2] | 4023 | |
---|
| 4024 | fi |
---|
| 4025 | |
---|
[8298425] | 4026 | ac_ext=c |
---|
| 4027 | ac_cpp='$CPP $CPPFLAGS' |
---|
| 4028 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
| 4029 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
| 4030 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
[4ad3480] | 4031 | { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
---|
| 4032 | echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } |
---|
[7d4fbcd] | 4033 | # On Suns, sometimes $CPP names a directory. |
---|
| 4034 | if test -n "$CPP" && test -d "$CPP"; then |
---|
| 4035 | CPP= |
---|
| 4036 | fi |
---|
| 4037 | if test -z "$CPP"; then |
---|
[8298425] | 4038 | if test "${ac_cv_prog_CPP+set}" = set; then |
---|
| 4039 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
[7d4fbcd] | 4040 | else |
---|
[8298425] | 4041 | # Double quotes because CPP needs to be expanded |
---|
| 4042 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
---|
| 4043 | do |
---|
| 4044 | ac_preproc_ok=false |
---|
| 4045 | for ac_c_preproc_warn_flag in '' yes |
---|
| 4046 | do |
---|
| 4047 | # Use a header file that comes with gcc, so configuring glibc |
---|
| 4048 | # with a fresh cross-compiler works. |
---|
| 4049 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
---|
| 4050 | # <limits.h> exists even on freestanding compilers. |
---|
[7d4fbcd] | 4051 | # On the NeXT, cc -E runs the code through the compiler's parser, |
---|
[8298425] | 4052 | # not just through cpp. "Syntax error" is here to catch this case. |
---|
| 4053 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 4054 | /* confdefs.h. */ |
---|
| 4055 | _ACEOF |
---|
| 4056 | cat confdefs.h >>conftest.$ac_ext |
---|
| 4057 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 4058 | /* end confdefs.h. */ |
---|
| 4059 | #ifdef __STDC__ |
---|
| 4060 | # include <limits.h> |
---|
| 4061 | #else |
---|
| 4062 | # include <assert.h> |
---|
| 4063 | #endif |
---|
| 4064 | Syntax error |
---|
| 4065 | _ACEOF |
---|
[4ad3480] | 4066 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
---|
| 4067 | case "(($ac_try" in |
---|
| 4068 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 4069 | *) ac_try_echo=$ac_try;; |
---|
| 4070 | esac |
---|
| 4071 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 4072 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
---|
[8298425] | 4073 | ac_status=$? |
---|
| 4074 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 4075 | rm -f conftest.er1 |
---|
| 4076 | cat conftest.err >&5 |
---|
| 4077 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 4078 | (exit $ac_status); } >/dev/null; then |
---|
| 4079 | if test -s conftest.err; then |
---|
| 4080 | ac_cpp_err=$ac_c_preproc_warn_flag |
---|
| 4081 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
---|
| 4082 | else |
---|
| 4083 | ac_cpp_err= |
---|
| 4084 | fi |
---|
[7d4fbcd] | 4085 | else |
---|
[8298425] | 4086 | ac_cpp_err=yes |
---|
| 4087 | fi |
---|
| 4088 | if test -z "$ac_cpp_err"; then |
---|
[7d4fbcd] | 4089 | : |
---|
| 4090 | else |
---|
[8298425] | 4091 | echo "$as_me: failed program was:" >&5 |
---|
| 4092 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 4093 | |
---|
| 4094 | # Broken: fails on valid input. |
---|
| 4095 | continue |
---|
| 4096 | fi |
---|
[4ad3480] | 4097 | |
---|
[8298425] | 4098 | rm -f conftest.err conftest.$ac_ext |
---|
| 4099 | |
---|
[4ad3480] | 4100 | # OK, works on sane cases. Now check whether nonexistent headers |
---|
[8298425] | 4101 | # can be detected and how. |
---|
| 4102 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 4103 | /* confdefs.h. */ |
---|
| 4104 | _ACEOF |
---|
| 4105 | cat confdefs.h >>conftest.$ac_ext |
---|
| 4106 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 4107 | /* end confdefs.h. */ |
---|
| 4108 | #include <ac_nonexistent.h> |
---|
| 4109 | _ACEOF |
---|
[4ad3480] | 4110 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
---|
| 4111 | case "(($ac_try" in |
---|
| 4112 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 4113 | *) ac_try_echo=$ac_try;; |
---|
| 4114 | esac |
---|
| 4115 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 4116 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
---|
[8298425] | 4117 | ac_status=$? |
---|
| 4118 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 4119 | rm -f conftest.er1 |
---|
| 4120 | cat conftest.err >&5 |
---|
| 4121 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 4122 | (exit $ac_status); } >/dev/null; then |
---|
| 4123 | if test -s conftest.err; then |
---|
| 4124 | ac_cpp_err=$ac_c_preproc_warn_flag |
---|
| 4125 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
---|
| 4126 | else |
---|
| 4127 | ac_cpp_err= |
---|
| 4128 | fi |
---|
| 4129 | else |
---|
| 4130 | ac_cpp_err=yes |
---|
| 4131 | fi |
---|
| 4132 | if test -z "$ac_cpp_err"; then |
---|
| 4133 | # Broken: success on invalid input. |
---|
| 4134 | continue |
---|
| 4135 | else |
---|
| 4136 | echo "$as_me: failed program was:" >&5 |
---|
| 4137 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 4138 | |
---|
| 4139 | # Passes both tests. |
---|
| 4140 | ac_preproc_ok=: |
---|
| 4141 | break |
---|
| 4142 | fi |
---|
[4ad3480] | 4143 | |
---|
[8298425] | 4144 | rm -f conftest.err conftest.$ac_ext |
---|
| 4145 | |
---|
| 4146 | done |
---|
| 4147 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
---|
| 4148 | rm -f conftest.err conftest.$ac_ext |
---|
| 4149 | if $ac_preproc_ok; then |
---|
| 4150 | break |
---|
| 4151 | fi |
---|
| 4152 | |
---|
| 4153 | done |
---|
| 4154 | ac_cv_prog_CPP=$CPP |
---|
| 4155 | |
---|
| 4156 | fi |
---|
| 4157 | CPP=$ac_cv_prog_CPP |
---|
| 4158 | else |
---|
| 4159 | ac_cv_prog_CPP=$CPP |
---|
| 4160 | fi |
---|
[4ad3480] | 4161 | { echo "$as_me:$LINENO: result: $CPP" >&5 |
---|
| 4162 | echo "${ECHO_T}$CPP" >&6; } |
---|
[8298425] | 4163 | ac_preproc_ok=false |
---|
| 4164 | for ac_c_preproc_warn_flag in '' yes |
---|
| 4165 | do |
---|
| 4166 | # Use a header file that comes with gcc, so configuring glibc |
---|
| 4167 | # with a fresh cross-compiler works. |
---|
| 4168 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
---|
| 4169 | # <limits.h> exists even on freestanding compilers. |
---|
| 4170 | # On the NeXT, cc -E runs the code through the compiler's parser, |
---|
| 4171 | # not just through cpp. "Syntax error" is here to catch this case. |
---|
| 4172 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 4173 | /* confdefs.h. */ |
---|
| 4174 | _ACEOF |
---|
| 4175 | cat confdefs.h >>conftest.$ac_ext |
---|
| 4176 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 4177 | /* end confdefs.h. */ |
---|
| 4178 | #ifdef __STDC__ |
---|
| 4179 | # include <limits.h> |
---|
| 4180 | #else |
---|
| 4181 | # include <assert.h> |
---|
| 4182 | #endif |
---|
| 4183 | Syntax error |
---|
| 4184 | _ACEOF |
---|
[4ad3480] | 4185 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
---|
| 4186 | case "(($ac_try" in |
---|
| 4187 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 4188 | *) ac_try_echo=$ac_try;; |
---|
| 4189 | esac |
---|
| 4190 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 4191 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
---|
[8298425] | 4192 | ac_status=$? |
---|
| 4193 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 4194 | rm -f conftest.er1 |
---|
| 4195 | cat conftest.err >&5 |
---|
| 4196 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 4197 | (exit $ac_status); } >/dev/null; then |
---|
| 4198 | if test -s conftest.err; then |
---|
| 4199 | ac_cpp_err=$ac_c_preproc_warn_flag |
---|
| 4200 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
---|
| 4201 | else |
---|
| 4202 | ac_cpp_err= |
---|
| 4203 | fi |
---|
| 4204 | else |
---|
| 4205 | ac_cpp_err=yes |
---|
| 4206 | fi |
---|
| 4207 | if test -z "$ac_cpp_err"; then |
---|
[7d4fbcd] | 4208 | : |
---|
| 4209 | else |
---|
[8298425] | 4210 | echo "$as_me: failed program was:" >&5 |
---|
| 4211 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 4212 | |
---|
| 4213 | # Broken: fails on valid input. |
---|
| 4214 | continue |
---|
[7d4fbcd] | 4215 | fi |
---|
[4ad3480] | 4216 | |
---|
[8298425] | 4217 | rm -f conftest.err conftest.$ac_ext |
---|
| 4218 | |
---|
[4ad3480] | 4219 | # OK, works on sane cases. Now check whether nonexistent headers |
---|
[8298425] | 4220 | # can be detected and how. |
---|
| 4221 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 4222 | /* confdefs.h. */ |
---|
| 4223 | _ACEOF |
---|
| 4224 | cat confdefs.h >>conftest.$ac_ext |
---|
| 4225 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 4226 | /* end confdefs.h. */ |
---|
| 4227 | #include <ac_nonexistent.h> |
---|
| 4228 | _ACEOF |
---|
[4ad3480] | 4229 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
---|
| 4230 | case "(($ac_try" in |
---|
| 4231 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 4232 | *) ac_try_echo=$ac_try;; |
---|
| 4233 | esac |
---|
| 4234 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 4235 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
---|
[8298425] | 4236 | ac_status=$? |
---|
| 4237 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 4238 | rm -f conftest.er1 |
---|
| 4239 | cat conftest.err >&5 |
---|
| 4240 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 4241 | (exit $ac_status); } >/dev/null; then |
---|
| 4242 | if test -s conftest.err; then |
---|
| 4243 | ac_cpp_err=$ac_c_preproc_warn_flag |
---|
| 4244 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
---|
| 4245 | else |
---|
| 4246 | ac_cpp_err= |
---|
| 4247 | fi |
---|
| 4248 | else |
---|
| 4249 | ac_cpp_err=yes |
---|
[7d4fbcd] | 4250 | fi |
---|
[8298425] | 4251 | if test -z "$ac_cpp_err"; then |
---|
| 4252 | # Broken: success on invalid input. |
---|
| 4253 | continue |
---|
| 4254 | else |
---|
| 4255 | echo "$as_me: failed program was:" >&5 |
---|
| 4256 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 4257 | |
---|
| 4258 | # Passes both tests. |
---|
| 4259 | ac_preproc_ok=: |
---|
| 4260 | break |
---|
[7d4fbcd] | 4261 | fi |
---|
[4ad3480] | 4262 | |
---|
[8298425] | 4263 | rm -f conftest.err conftest.$ac_ext |
---|
| 4264 | |
---|
| 4265 | done |
---|
| 4266 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
---|
| 4267 | rm -f conftest.err conftest.$ac_ext |
---|
| 4268 | if $ac_preproc_ok; then |
---|
| 4269 | : |
---|
| 4270 | else |
---|
| 4271 | { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check |
---|
| 4272 | See \`config.log' for more details." >&5 |
---|
| 4273 | echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check |
---|
| 4274 | See \`config.log' for more details." >&2;} |
---|
| 4275 | { (exit 1); exit 1; }; } |
---|
[7d4fbcd] | 4276 | fi |
---|
[8298425] | 4277 | |
---|
| 4278 | ac_ext=c |
---|
| 4279 | ac_cpp='$CPP $CPPFLAGS' |
---|
| 4280 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
| 4281 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
| 4282 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
| 4283 | |
---|
| 4284 | |
---|
[4ad3480] | 4285 | { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 |
---|
| 4286 | echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } |
---|
| 4287 | if test "${ac_cv_path_GREP+set}" = set; then |
---|
[8298425] | 4288 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
[7d4fbcd] | 4289 | else |
---|
[4ad3480] | 4290 | # Extract the first word of "grep ggrep" to use in msg output |
---|
| 4291 | if test -z "$GREP"; then |
---|
| 4292 | set dummy grep ggrep; ac_prog_name=$2 |
---|
| 4293 | if test "${ac_cv_path_GREP+set}" = set; then |
---|
| 4294 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 4295 | else |
---|
| 4296 | ac_path_GREP_found=false |
---|
| 4297 | # Loop through the user's path and test for each of PROGNAME-LIST |
---|
| 4298 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 4299 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
---|
| 4300 | do |
---|
| 4301 | IFS=$as_save_IFS |
---|
| 4302 | test -z "$as_dir" && as_dir=. |
---|
| 4303 | for ac_prog in grep ggrep; do |
---|
| 4304 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
| 4305 | ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
---|
| 4306 | { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue |
---|
| 4307 | # Check for GNU ac_path_GREP and select it if it is found. |
---|
| 4308 | # Check for GNU $ac_path_GREP |
---|
| 4309 | case `"$ac_path_GREP" --version 2>&1` in |
---|
| 4310 | *GNU*) |
---|
| 4311 | ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
---|
| 4312 | *) |
---|
| 4313 | ac_count=0 |
---|
| 4314 | echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" |
---|
| 4315 | while : |
---|
| 4316 | do |
---|
| 4317 | cat "conftest.in" "conftest.in" >"conftest.tmp" |
---|
| 4318 | mv "conftest.tmp" "conftest.in" |
---|
| 4319 | cp "conftest.in" "conftest.nl" |
---|
| 4320 | echo 'GREP' >> "conftest.nl" |
---|
| 4321 | "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
---|
| 4322 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
---|
| 4323 | ac_count=`expr $ac_count + 1` |
---|
| 4324 | if test $ac_count -gt ${ac_path_GREP_max-0}; then |
---|
| 4325 | # Best one so far, save it but keep looking for a better one |
---|
| 4326 | ac_cv_path_GREP="$ac_path_GREP" |
---|
| 4327 | ac_path_GREP_max=$ac_count |
---|
[8298425] | 4328 | fi |
---|
[4ad3480] | 4329 | # 10*(2^10) chars as input seems more than enough |
---|
| 4330 | test $ac_count -gt 10 && break |
---|
| 4331 | done |
---|
| 4332 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
---|
| 4333 | esac |
---|
| 4334 | |
---|
| 4335 | |
---|
| 4336 | $ac_path_GREP_found && break 3 |
---|
| 4337 | done |
---|
| 4338 | done |
---|
| 4339 | |
---|
| 4340 | done |
---|
| 4341 | IFS=$as_save_IFS |
---|
| 4342 | |
---|
| 4343 | |
---|
| 4344 | fi |
---|
| 4345 | |
---|
| 4346 | GREP="$ac_cv_path_GREP" |
---|
| 4347 | if test -z "$GREP"; then |
---|
| 4348 | { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 |
---|
| 4349 | echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} |
---|
| 4350 | { (exit 1); exit 1; }; } |
---|
| 4351 | fi |
---|
| 4352 | |
---|
| 4353 | else |
---|
| 4354 | ac_cv_path_GREP=$GREP |
---|
[7d4fbcd] | 4355 | fi |
---|
| 4356 | |
---|
[8298425] | 4357 | |
---|
[4ad3480] | 4358 | fi |
---|
| 4359 | { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 |
---|
| 4360 | echo "${ECHO_T}$ac_cv_path_GREP" >&6; } |
---|
| 4361 | GREP="$ac_cv_path_GREP" |
---|
| 4362 | |
---|
| 4363 | |
---|
| 4364 | { echo "$as_me:$LINENO: checking for egrep" >&5 |
---|
| 4365 | echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } |
---|
| 4366 | if test "${ac_cv_path_EGREP+set}" = set; then |
---|
| 4367 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 4368 | else |
---|
| 4369 | if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
---|
| 4370 | then ac_cv_path_EGREP="$GREP -E" |
---|
| 4371 | else |
---|
| 4372 | # Extract the first word of "egrep" to use in msg output |
---|
| 4373 | if test -z "$EGREP"; then |
---|
| 4374 | set dummy egrep; ac_prog_name=$2 |
---|
| 4375 | if test "${ac_cv_path_EGREP+set}" = set; then |
---|
| 4376 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 4377 | else |
---|
| 4378 | ac_path_EGREP_found=false |
---|
| 4379 | # Loop through the user's path and test for each of PROGNAME-LIST |
---|
| 4380 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 4381 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
---|
| 4382 | do |
---|
| 4383 | IFS=$as_save_IFS |
---|
| 4384 | test -z "$as_dir" && as_dir=. |
---|
| 4385 | for ac_prog in egrep; do |
---|
| 4386 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
| 4387 | ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
---|
| 4388 | { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue |
---|
| 4389 | # Check for GNU ac_path_EGREP and select it if it is found. |
---|
| 4390 | # Check for GNU $ac_path_EGREP |
---|
| 4391 | case `"$ac_path_EGREP" --version 2>&1` in |
---|
| 4392 | *GNU*) |
---|
| 4393 | ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
---|
| 4394 | *) |
---|
| 4395 | ac_count=0 |
---|
| 4396 | echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" |
---|
| 4397 | while : |
---|
| 4398 | do |
---|
| 4399 | cat "conftest.in" "conftest.in" >"conftest.tmp" |
---|
| 4400 | mv "conftest.tmp" "conftest.in" |
---|
| 4401 | cp "conftest.in" "conftest.nl" |
---|
| 4402 | echo 'EGREP' >> "conftest.nl" |
---|
| 4403 | "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
---|
| 4404 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
---|
| 4405 | ac_count=`expr $ac_count + 1` |
---|
| 4406 | if test $ac_count -gt ${ac_path_EGREP_max-0}; then |
---|
| 4407 | # Best one so far, save it but keep looking for a better one |
---|
| 4408 | ac_cv_path_EGREP="$ac_path_EGREP" |
---|
| 4409 | ac_path_EGREP_max=$ac_count |
---|
| 4410 | fi |
---|
| 4411 | # 10*(2^10) chars as input seems more than enough |
---|
| 4412 | test $ac_count -gt 10 && break |
---|
| 4413 | done |
---|
| 4414 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
---|
| 4415 | esac |
---|
| 4416 | |
---|
| 4417 | |
---|
| 4418 | $ac_path_EGREP_found && break 3 |
---|
| 4419 | done |
---|
| 4420 | done |
---|
| 4421 | |
---|
| 4422 | done |
---|
| 4423 | IFS=$as_save_IFS |
---|
| 4424 | |
---|
| 4425 | |
---|
| 4426 | fi |
---|
| 4427 | |
---|
| 4428 | EGREP="$ac_cv_path_EGREP" |
---|
| 4429 | if test -z "$EGREP"; then |
---|
| 4430 | { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 |
---|
| 4431 | echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} |
---|
| 4432 | { (exit 1); exit 1; }; } |
---|
| 4433 | fi |
---|
| 4434 | |
---|
| 4435 | else |
---|
| 4436 | ac_cv_path_EGREP=$EGREP |
---|
| 4437 | fi |
---|
| 4438 | |
---|
| 4439 | |
---|
| 4440 | fi |
---|
| 4441 | fi |
---|
| 4442 | { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 |
---|
| 4443 | echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } |
---|
| 4444 | EGREP="$ac_cv_path_EGREP" |
---|
| 4445 | |
---|
| 4446 | |
---|
| 4447 | { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
---|
| 4448 | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } |
---|
[8298425] | 4449 | if test "${ac_cv_header_stdc+set}" = set; then |
---|
| 4450 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
[7d4fbcd] | 4451 | else |
---|
[8298425] | 4452 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 4453 | /* confdefs.h. */ |
---|
| 4454 | _ACEOF |
---|
| 4455 | cat confdefs.h >>conftest.$ac_ext |
---|
| 4456 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 4457 | /* end confdefs.h. */ |
---|
[7d4fbcd] | 4458 | #include <stdlib.h> |
---|
| 4459 | #include <stdarg.h> |
---|
| 4460 | #include <string.h> |
---|
| 4461 | #include <float.h> |
---|
[8298425] | 4462 | |
---|
| 4463 | int |
---|
| 4464 | main () |
---|
| 4465 | { |
---|
| 4466 | |
---|
| 4467 | ; |
---|
| 4468 | return 0; |
---|
| 4469 | } |
---|
| 4470 | _ACEOF |
---|
| 4471 | rm -f conftest.$ac_objext |
---|
[4ad3480] | 4472 | if { (ac_try="$ac_compile" |
---|
| 4473 | case "(($ac_try" in |
---|
| 4474 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 4475 | *) ac_try_echo=$ac_try;; |
---|
| 4476 | esac |
---|
| 4477 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 4478 | (eval "$ac_compile") 2>conftest.er1 |
---|
[8298425] | 4479 | ac_status=$? |
---|
| 4480 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 4481 | rm -f conftest.er1 |
---|
| 4482 | cat conftest.err >&5 |
---|
| 4483 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 4484 | (exit $ac_status); } && |
---|
[4ad3480] | 4485 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
---|
| 4486 | { (case "(($ac_try" in |
---|
| 4487 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 4488 | *) ac_try_echo=$ac_try;; |
---|
| 4489 | esac |
---|
| 4490 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 4491 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 4492 | ac_status=$? |
---|
| 4493 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 4494 | (exit $ac_status); }; } && |
---|
| 4495 | { ac_try='test -s conftest.$ac_objext' |
---|
[4ad3480] | 4496 | { (case "(($ac_try" in |
---|
| 4497 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 4498 | *) ac_try_echo=$ac_try;; |
---|
| 4499 | esac |
---|
| 4500 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 4501 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 4502 | ac_status=$? |
---|
| 4503 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 4504 | (exit $ac_status); }; }; then |
---|
[7d4fbcd] | 4505 | ac_cv_header_stdc=yes |
---|
| 4506 | else |
---|
[8298425] | 4507 | echo "$as_me: failed program was:" >&5 |
---|
| 4508 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 4509 | |
---|
[4ad3480] | 4510 | ac_cv_header_stdc=no |
---|
[7d4fbcd] | 4511 | fi |
---|
[4ad3480] | 4512 | |
---|
| 4513 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
[7d4fbcd] | 4514 | |
---|
| 4515 | if test $ac_cv_header_stdc = yes; then |
---|
| 4516 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
---|
[8298425] | 4517 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 4518 | /* confdefs.h. */ |
---|
| 4519 | _ACEOF |
---|
| 4520 | cat confdefs.h >>conftest.$ac_ext |
---|
| 4521 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 4522 | /* end confdefs.h. */ |
---|
[7d4fbcd] | 4523 | #include <string.h> |
---|
[8298425] | 4524 | |
---|
| 4525 | _ACEOF |
---|
[7d4fbcd] | 4526 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
---|
[8298425] | 4527 | $EGREP "memchr" >/dev/null 2>&1; then |
---|
[7d4fbcd] | 4528 | : |
---|
| 4529 | else |
---|
| 4530 | ac_cv_header_stdc=no |
---|
| 4531 | fi |
---|
| 4532 | rm -f conftest* |
---|
| 4533 | |
---|
| 4534 | fi |
---|
| 4535 | |
---|
| 4536 | if test $ac_cv_header_stdc = yes; then |
---|
| 4537 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
---|
[8298425] | 4538 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 4539 | /* confdefs.h. */ |
---|
| 4540 | _ACEOF |
---|
| 4541 | cat confdefs.h >>conftest.$ac_ext |
---|
| 4542 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 4543 | /* end confdefs.h. */ |
---|
[7d4fbcd] | 4544 | #include <stdlib.h> |
---|
[8298425] | 4545 | |
---|
| 4546 | _ACEOF |
---|
[7d4fbcd] | 4547 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
---|
[8298425] | 4548 | $EGREP "free" >/dev/null 2>&1; then |
---|
[7d4fbcd] | 4549 | : |
---|
| 4550 | else |
---|
| 4551 | ac_cv_header_stdc=no |
---|
| 4552 | fi |
---|
| 4553 | rm -f conftest* |
---|
| 4554 | |
---|
| 4555 | fi |
---|
| 4556 | |
---|
| 4557 | if test $ac_cv_header_stdc = yes; then |
---|
| 4558 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
---|
[8298425] | 4559 | if test "$cross_compiling" = yes; then |
---|
[7d4fbcd] | 4560 | : |
---|
| 4561 | else |
---|
[8298425] | 4562 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 4563 | /* confdefs.h. */ |
---|
| 4564 | _ACEOF |
---|
| 4565 | cat confdefs.h >>conftest.$ac_ext |
---|
| 4566 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 4567 | /* end confdefs.h. */ |
---|
[7d4fbcd] | 4568 | #include <ctype.h> |
---|
[4ad3480] | 4569 | #include <stdlib.h> |
---|
[8298425] | 4570 | #if ((' ' & 0x0FF) == 0x020) |
---|
| 4571 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
---|
| 4572 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
---|
| 4573 | #else |
---|
| 4574 | # define ISLOWER(c) \ |
---|
| 4575 | (('a' <= (c) && (c) <= 'i') \ |
---|
| 4576 | || ('j' <= (c) && (c) <= 'r') \ |
---|
| 4577 | || ('s' <= (c) && (c) <= 'z')) |
---|
| 4578 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
---|
| 4579 | #endif |
---|
[7d4fbcd] | 4580 | |
---|
[8298425] | 4581 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
---|
| 4582 | int |
---|
| 4583 | main () |
---|
| 4584 | { |
---|
| 4585 | int i; |
---|
| 4586 | for (i = 0; i < 256; i++) |
---|
| 4587 | if (XOR (islower (i), ISLOWER (i)) |
---|
| 4588 | || toupper (i) != TOUPPER (i)) |
---|
[4ad3480] | 4589 | return 2; |
---|
| 4590 | return 0; |
---|
[8298425] | 4591 | } |
---|
| 4592 | _ACEOF |
---|
| 4593 | rm -f conftest$ac_exeext |
---|
[4ad3480] | 4594 | if { (ac_try="$ac_link" |
---|
| 4595 | case "(($ac_try" in |
---|
| 4596 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 4597 | *) ac_try_echo=$ac_try;; |
---|
| 4598 | esac |
---|
| 4599 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 4600 | (eval "$ac_link") 2>&5 |
---|
[8298425] | 4601 | ac_status=$? |
---|
| 4602 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 4603 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
---|
[4ad3480] | 4604 | { (case "(($ac_try" in |
---|
| 4605 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 4606 | *) ac_try_echo=$ac_try;; |
---|
| 4607 | esac |
---|
| 4608 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 4609 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 4610 | ac_status=$? |
---|
| 4611 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 4612 | (exit $ac_status); }; }; then |
---|
[7d4fbcd] | 4613 | : |
---|
| 4614 | else |
---|
[8298425] | 4615 | echo "$as_me: program exited with status $ac_status" >&5 |
---|
| 4616 | echo "$as_me: failed program was:" >&5 |
---|
| 4617 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 4618 | |
---|
| 4619 | ( exit $ac_status ) |
---|
| 4620 | ac_cv_header_stdc=no |
---|
[7d4fbcd] | 4621 | fi |
---|
[4ad3480] | 4622 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
---|
[7d4fbcd] | 4623 | fi |
---|
[4ad3480] | 4624 | |
---|
| 4625 | |
---|
[7d4fbcd] | 4626 | fi |
---|
| 4627 | fi |
---|
[4ad3480] | 4628 | { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
---|
| 4629 | echo "${ECHO_T}$ac_cv_header_stdc" >&6; } |
---|
[7d4fbcd] | 4630 | if test $ac_cv_header_stdc = yes; then |
---|
[8298425] | 4631 | |
---|
| 4632 | cat >>confdefs.h <<\_ACEOF |
---|
[7d4fbcd] | 4633 | #define STDC_HEADERS 1 |
---|
[8298425] | 4634 | _ACEOF |
---|
[7d4fbcd] | 4635 | |
---|
| 4636 | fi |
---|
| 4637 | |
---|
[4ad3480] | 4638 | { echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
---|
| 4639 | echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; } |
---|
[8298425] | 4640 | if test "${ac_cv_header_sys_wait_h+set}" = set; then |
---|
| 4641 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
[7d4fbcd] | 4642 | else |
---|
[8298425] | 4643 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 4644 | /* confdefs.h. */ |
---|
| 4645 | _ACEOF |
---|
| 4646 | cat confdefs.h >>conftest.$ac_ext |
---|
| 4647 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 4648 | /* end confdefs.h. */ |
---|
[7d4fbcd] | 4649 | #include <sys/types.h> |
---|
| 4650 | #include <sys/wait.h> |
---|
| 4651 | #ifndef WEXITSTATUS |
---|
[4ad3480] | 4652 | # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8) |
---|
[7d4fbcd] | 4653 | #endif |
---|
| 4654 | #ifndef WIFEXITED |
---|
[8298425] | 4655 | # define WIFEXITED(stat_val) (((stat_val) & 255) == 0) |
---|
[7d4fbcd] | 4656 | #endif |
---|
[8298425] | 4657 | |
---|
| 4658 | int |
---|
| 4659 | main () |
---|
| 4660 | { |
---|
| 4661 | int s; |
---|
| 4662 | wait (&s); |
---|
| 4663 | s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; |
---|
| 4664 | ; |
---|
| 4665 | return 0; |
---|
| 4666 | } |
---|
| 4667 | _ACEOF |
---|
| 4668 | rm -f conftest.$ac_objext |
---|
[4ad3480] | 4669 | if { (ac_try="$ac_compile" |
---|
| 4670 | case "(($ac_try" in |
---|
| 4671 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 4672 | *) ac_try_echo=$ac_try;; |
---|
| 4673 | esac |
---|
| 4674 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 4675 | (eval "$ac_compile") 2>conftest.er1 |
---|
[8298425] | 4676 | ac_status=$? |
---|
| 4677 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 4678 | rm -f conftest.er1 |
---|
| 4679 | cat conftest.err >&5 |
---|
| 4680 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 4681 | (exit $ac_status); } && |
---|
[4ad3480] | 4682 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
---|
| 4683 | { (case "(($ac_try" in |
---|
| 4684 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 4685 | *) ac_try_echo=$ac_try;; |
---|
| 4686 | esac |
---|
| 4687 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 4688 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 4689 | ac_status=$? |
---|
| 4690 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 4691 | (exit $ac_status); }; } && |
---|
| 4692 | { ac_try='test -s conftest.$ac_objext' |
---|
[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 | ac_cv_header_sys_wait_h=yes |
---|
| 4703 | else |
---|
[8298425] | 4704 | echo "$as_me: failed program was:" >&5 |
---|
| 4705 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 4706 | |
---|
[4ad3480] | 4707 | ac_cv_header_sys_wait_h=no |
---|
[7d4fbcd] | 4708 | fi |
---|
[4ad3480] | 4709 | |
---|
| 4710 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
[7d4fbcd] | 4711 | fi |
---|
[4ad3480] | 4712 | { echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5 |
---|
| 4713 | echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; } |
---|
[7d4fbcd] | 4714 | if test $ac_cv_header_sys_wait_h = yes; then |
---|
[8298425] | 4715 | |
---|
| 4716 | cat >>confdefs.h <<\_ACEOF |
---|
[7d4fbcd] | 4717 | #define HAVE_SYS_WAIT_H 1 |
---|
[8298425] | 4718 | _ACEOF |
---|
[7d4fbcd] | 4719 | |
---|
| 4720 | fi |
---|
| 4721 | |
---|
[8298425] | 4722 | # On IRIX 5.3, sys/types and inttypes.h are conflicting. |
---|
| 4723 | |
---|
| 4724 | |
---|
| 4725 | |
---|
| 4726 | |
---|
| 4727 | |
---|
| 4728 | |
---|
| 4729 | |
---|
| 4730 | |
---|
| 4731 | |
---|
| 4732 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
---|
| 4733 | inttypes.h stdint.h unistd.h |
---|
[7d4fbcd] | 4734 | do |
---|
[8298425] | 4735 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
---|
[4ad3480] | 4736 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
---|
| 4737 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
---|
| 4738 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
---|
[8298425] | 4739 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 4740 | else |
---|
| 4741 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 4742 | /* confdefs.h. */ |
---|
| 4743 | _ACEOF |
---|
| 4744 | cat confdefs.h >>conftest.$ac_ext |
---|
| 4745 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 4746 | /* end confdefs.h. */ |
---|
| 4747 | $ac_includes_default |
---|
| 4748 | |
---|
| 4749 | #include <$ac_header> |
---|
| 4750 | _ACEOF |
---|
| 4751 | rm -f conftest.$ac_objext |
---|
[4ad3480] | 4752 | if { (ac_try="$ac_compile" |
---|
| 4753 | case "(($ac_try" in |
---|
| 4754 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 4755 | *) ac_try_echo=$ac_try;; |
---|
| 4756 | esac |
---|
| 4757 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 4758 | (eval "$ac_compile") 2>conftest.er1 |
---|
[8298425] | 4759 | ac_status=$? |
---|
| 4760 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 4761 | rm -f conftest.er1 |
---|
| 4762 | cat conftest.err >&5 |
---|
| 4763 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 4764 | (exit $ac_status); } && |
---|
[4ad3480] | 4765 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
---|
| 4766 | { (case "(($ac_try" in |
---|
| 4767 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 4768 | *) ac_try_echo=$ac_try;; |
---|
| 4769 | esac |
---|
| 4770 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 4771 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 4772 | ac_status=$? |
---|
| 4773 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 4774 | (exit $ac_status); }; } && |
---|
| 4775 | { ac_try='test -s conftest.$ac_objext' |
---|
[4ad3480] | 4776 | { (case "(($ac_try" in |
---|
| 4777 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 4778 | *) ac_try_echo=$ac_try;; |
---|
| 4779 | esac |
---|
| 4780 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 4781 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 4782 | ac_status=$? |
---|
| 4783 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 4784 | (exit $ac_status); }; }; then |
---|
| 4785 | eval "$as_ac_Header=yes" |
---|
| 4786 | else |
---|
| 4787 | echo "$as_me: failed program was:" >&5 |
---|
| 4788 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 4789 | |
---|
[4ad3480] | 4790 | eval "$as_ac_Header=no" |
---|
[7d4fbcd] | 4791 | fi |
---|
[4ad3480] | 4792 | |
---|
| 4793 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
[8298425] | 4794 | fi |
---|
[4ad3480] | 4795 | ac_res=`eval echo '${'$as_ac_Header'}'` |
---|
| 4796 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
---|
| 4797 | echo "${ECHO_T}$ac_res" >&6; } |
---|
[8298425] | 4798 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
---|
| 4799 | cat >>confdefs.h <<_ACEOF |
---|
| 4800 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
---|
| 4801 | _ACEOF |
---|
| 4802 | |
---|
| 4803 | fi |
---|
| 4804 | |
---|
| 4805 | done |
---|
| 4806 | |
---|
| 4807 | |
---|
| 4808 | |
---|
| 4809 | |
---|
| 4810 | |
---|
| 4811 | |
---|
| 4812 | |
---|
| 4813 | for ac_header in strings.h sys/ioctl.h sys/filio.h unistd.h com_err.h |
---|
| 4814 | do |
---|
| 4815 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
---|
[4ad3480] | 4816 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
---|
| 4817 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
---|
| 4818 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
---|
| 4819 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
---|
[8298425] | 4820 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 4821 | fi |
---|
[4ad3480] | 4822 | ac_res=`eval echo '${'$as_ac_Header'}'` |
---|
| 4823 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
---|
| 4824 | echo "${ECHO_T}$ac_res" >&6; } |
---|
[8298425] | 4825 | else |
---|
| 4826 | # Is the header compilable? |
---|
[4ad3480] | 4827 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
---|
| 4828 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
---|
[8298425] | 4829 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 4830 | /* confdefs.h. */ |
---|
| 4831 | _ACEOF |
---|
| 4832 | cat confdefs.h >>conftest.$ac_ext |
---|
| 4833 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 4834 | /* end confdefs.h. */ |
---|
| 4835 | $ac_includes_default |
---|
| 4836 | #include <$ac_header> |
---|
| 4837 | _ACEOF |
---|
| 4838 | rm -f conftest.$ac_objext |
---|
[4ad3480] | 4839 | if { (ac_try="$ac_compile" |
---|
| 4840 | case "(($ac_try" in |
---|
| 4841 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 4842 | *) ac_try_echo=$ac_try;; |
---|
| 4843 | esac |
---|
| 4844 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 4845 | (eval "$ac_compile") 2>conftest.er1 |
---|
[8298425] | 4846 | ac_status=$? |
---|
| 4847 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 4848 | rm -f conftest.er1 |
---|
| 4849 | cat conftest.err >&5 |
---|
| 4850 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 4851 | (exit $ac_status); } && |
---|
[4ad3480] | 4852 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
---|
| 4853 | { (case "(($ac_try" in |
---|
| 4854 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 4855 | *) ac_try_echo=$ac_try;; |
---|
| 4856 | esac |
---|
| 4857 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 4858 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 4859 | ac_status=$? |
---|
| 4860 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 4861 | (exit $ac_status); }; } && |
---|
| 4862 | { ac_try='test -s conftest.$ac_objext' |
---|
[4ad3480] | 4863 | { (case "(($ac_try" in |
---|
| 4864 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 4865 | *) ac_try_echo=$ac_try;; |
---|
| 4866 | esac |
---|
| 4867 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 4868 | (eval "$ac_try") 2>&5 |
---|
[8298425] | 4869 | ac_status=$? |
---|
| 4870 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 4871 | (exit $ac_status); }; }; then |
---|
| 4872 | ac_header_compiler=yes |
---|
| 4873 | else |
---|
| 4874 | echo "$as_me: failed program was:" >&5 |
---|
| 4875 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 4876 | |
---|
[4ad3480] | 4877 | ac_header_compiler=no |
---|
[8298425] | 4878 | fi |
---|
[4ad3480] | 4879 | |
---|
| 4880 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
| 4881 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
---|
| 4882 | echo "${ECHO_T}$ac_header_compiler" >&6; } |
---|
[8298425] | 4883 | |
---|
| 4884 | # Is the header present? |
---|
[4ad3480] | 4885 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
---|
| 4886 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
---|
[8298425] | 4887 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 4888 | /* confdefs.h. */ |
---|
| 4889 | _ACEOF |
---|
| 4890 | cat confdefs.h >>conftest.$ac_ext |
---|
| 4891 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 4892 | /* end confdefs.h. */ |
---|
| 4893 | #include <$ac_header> |
---|
| 4894 | _ACEOF |
---|
[4ad3480] | 4895 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
---|
| 4896 | case "(($ac_try" in |
---|
| 4897 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 4898 | *) ac_try_echo=$ac_try;; |
---|
| 4899 | esac |
---|
| 4900 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 4901 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
---|
[8298425] | 4902 | ac_status=$? |
---|
| 4903 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 4904 | rm -f conftest.er1 |
---|
| 4905 | cat conftest.err >&5 |
---|
| 4906 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 4907 | (exit $ac_status); } >/dev/null; then |
---|
| 4908 | if test -s conftest.err; then |
---|
| 4909 | ac_cpp_err=$ac_c_preproc_warn_flag |
---|
| 4910 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
---|
| 4911 | else |
---|
| 4912 | ac_cpp_err= |
---|
| 4913 | fi |
---|
| 4914 | else |
---|
| 4915 | ac_cpp_err=yes |
---|
| 4916 | fi |
---|
| 4917 | if test -z "$ac_cpp_err"; then |
---|
| 4918 | ac_header_preproc=yes |
---|
| 4919 | else |
---|
| 4920 | echo "$as_me: failed program was:" >&5 |
---|
| 4921 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 4922 | |
---|
| 4923 | ac_header_preproc=no |
---|
[7d4fbcd] | 4924 | fi |
---|
[4ad3480] | 4925 | |
---|
[8298425] | 4926 | rm -f conftest.err conftest.$ac_ext |
---|
[4ad3480] | 4927 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
---|
| 4928 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
---|
[8298425] | 4929 | |
---|
| 4930 | # So? What about this header? |
---|
| 4931 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
---|
| 4932 | yes:no: ) |
---|
| 4933 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
---|
| 4934 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
---|
| 4935 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
---|
| 4936 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
---|
| 4937 | ac_header_preproc=yes |
---|
| 4938 | ;; |
---|
| 4939 | no:yes:* ) |
---|
| 4940 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
---|
| 4941 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
---|
| 4942 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
---|
| 4943 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
---|
| 4944 | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
---|
| 4945 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
---|
| 4946 | { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
---|
| 4947 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
---|
| 4948 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
---|
| 4949 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
---|
| 4950 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
---|
| 4951 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
---|
[4ad3480] | 4952 | |
---|
[8298425] | 4953 | ;; |
---|
| 4954 | esac |
---|
[4ad3480] | 4955 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
---|
| 4956 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
---|
| 4957 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
---|
[8298425] | 4958 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
[7d4fbcd] | 4959 | else |
---|
[8298425] | 4960 | eval "$as_ac_Header=\$ac_header_preproc" |
---|
| 4961 | fi |
---|
[4ad3480] | 4962 | ac_res=`eval echo '${'$as_ac_Header'}'` |
---|
| 4963 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
---|
| 4964 | echo "${ECHO_T}$ac_res" >&6; } |
---|
[8298425] | 4965 | |
---|
[7d4fbcd] | 4966 | fi |
---|
[8298425] | 4967 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
---|
| 4968 | cat >>confdefs.h <<_ACEOF |
---|
| 4969 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
---|
| 4970 | _ACEOF |
---|
| 4971 | |
---|
| 4972 | fi |
---|
| 4973 | |
---|
[7d4fbcd] | 4974 | done |
---|
| 4975 | |
---|
| 4976 | |
---|
| 4977 | FOO=`perl -MExtUtils::Embed -e ccopts` |
---|
| 4978 | echo Adding perl CFLAGS ${FOO} |
---|
| 4979 | CFLAGS=${CFLAGS}\ ${FOO} |
---|
| 4980 | |
---|
[4ad3480] | 4981 | { echo "$as_me:$LINENO: checking for the perl xsubpp precompiler" >&5 |
---|
| 4982 | echo $ECHO_N "checking for the perl xsubpp precompiler... $ECHO_C" >&6; } |
---|
[6794f72] | 4983 | XSUBPPDIR="`(perl -MExtUtils::MakeMaker -e 'print ExtUtils::MakeMaker->new({NAME => qw(owl)})->tool_xsubpp;') | grep \^XSUBPPDIR | sed -e 's/XSUBPPDIR = //g;'`" |
---|
[8ee73f8d] | 4984 | if test -n "${XSUBPPDIR}"; then |
---|
[4ad3480] | 4985 | { echo "$as_me:$LINENO: result: ${XSUBPPDIR}" >&5 |
---|
| 4986 | echo "${ECHO_T}${XSUBPPDIR}" >&6; } |
---|
[8ee73f8d] | 4987 | else |
---|
[8298425] | 4988 | { { echo "$as_me:$LINENO: error: not found" >&5 |
---|
| 4989 | echo "$as_me: error: not found" >&2;} |
---|
| 4990 | { (exit 1); exit 1; }; } |
---|
[8ee73f8d] | 4991 | fi |
---|
| 4992 | |
---|
[4ad3480] | 4993 | if test -f "${XSUBPPDIR}/typemap"; then |
---|
| 4994 | XSUBPPFLAGS="-typemap ${XSUBPPDIR}/typemap" |
---|
| 4995 | else |
---|
| 4996 | XSUBPPFLAGS="" |
---|
| 4997 | fi |
---|
| 4998 | |
---|
[884c272] | 4999 | FOO=`perl -MExtUtils::Embed -e ldopts | sed 's/,-E//' | sed 's/-liconv//'` |
---|
[7d4fbcd] | 5000 | echo Adding perl LDFLAGS ${FOO} |
---|
| 5001 | LDFLAGS=${LDFLAGS}\ ${FOO} |
---|
| 5002 | |
---|
[4ad3480] | 5003 | { echo "$as_me:$LINENO: checking for /usr/share/terminfo" >&5 |
---|
| 5004 | echo $ECHO_N "checking for /usr/share/terminfo... $ECHO_C" >&6; } |
---|
[8298425] | 5005 | if test "${ac_cv_file__usr_share_terminfo+set}" = set; then |
---|
| 5006 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
[7d4fbcd] | 5007 | else |
---|
[8298425] | 5008 | test "$cross_compiling" = yes && |
---|
| 5009 | { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5 |
---|
| 5010 | echo "$as_me: error: cannot check for file existence when cross compiling" >&2;} |
---|
| 5011 | { (exit 1); exit 1; }; } |
---|
| 5012 | if test -r "/usr/share/terminfo"; then |
---|
| 5013 | ac_cv_file__usr_share_terminfo=yes |
---|
[7d4fbcd] | 5014 | else |
---|
[8298425] | 5015 | ac_cv_file__usr_share_terminfo=no |
---|
[7d4fbcd] | 5016 | fi |
---|
| 5017 | fi |
---|
[4ad3480] | 5018 | { echo "$as_me:$LINENO: result: $ac_cv_file__usr_share_terminfo" >&5 |
---|
| 5019 | echo "${ECHO_T}$ac_cv_file__usr_share_terminfo" >&6; } |
---|
[8298425] | 5020 | if test $ac_cv_file__usr_share_terminfo = yes; then |
---|
| 5021 | |
---|
| 5022 | cat >>confdefs.h <<\_ACEOF |
---|
[7d4fbcd] | 5023 | #define TERMINFO "/usr/share/terminfo" |
---|
[8298425] | 5024 | _ACEOF |
---|
[7d4fbcd] | 5025 | |
---|
| 5026 | else |
---|
[4ad3480] | 5027 | { echo "$as_me:$LINENO: checking for /usr/share/lib/terminfo" >&5 |
---|
| 5028 | echo $ECHO_N "checking for /usr/share/lib/terminfo... $ECHO_C" >&6; } |
---|
[8298425] | 5029 | if test "${ac_cv_file__usr_share_lib_terminfo+set}" = set; then |
---|
| 5030 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
[7d4fbcd] | 5031 | else |
---|
[8298425] | 5032 | test "$cross_compiling" = yes && |
---|
| 5033 | { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5 |
---|
| 5034 | echo "$as_me: error: cannot check for file existence when cross compiling" >&2;} |
---|
| 5035 | { (exit 1); exit 1; }; } |
---|
| 5036 | if test -r "/usr/share/lib/terminfo"; then |
---|
| 5037 | ac_cv_file__usr_share_lib_terminfo=yes |
---|
[7d4fbcd] | 5038 | else |
---|
[8298425] | 5039 | ac_cv_file__usr_share_lib_terminfo=no |
---|
[7d4fbcd] | 5040 | fi |
---|
| 5041 | fi |
---|
[4ad3480] | 5042 | { echo "$as_me:$LINENO: result: $ac_cv_file__usr_share_lib_terminfo" >&5 |
---|
| 5043 | echo "${ECHO_T}$ac_cv_file__usr_share_lib_terminfo" >&6; } |
---|
[8298425] | 5044 | if test $ac_cv_file__usr_share_lib_terminfo = yes; then |
---|
| 5045 | |
---|
| 5046 | cat >>confdefs.h <<\_ACEOF |
---|
[7d4fbcd] | 5047 | #define TERMINFO "/usr/share/lib/terminfo" |
---|
[8298425] | 5048 | _ACEOF |
---|
[7d4fbcd] | 5049 | |
---|
| 5050 | else |
---|
[8298425] | 5051 | { { echo "$as_me:$LINENO: error: No terminfo found for this system" >&5 |
---|
| 5052 | echo "$as_me: error: No terminfo found for this system" >&2;} |
---|
| 5053 | { (exit 1); exit 1; }; } |
---|
[7d4fbcd] | 5054 | fi |
---|
| 5055 | |
---|
| 5056 | fi |
---|
| 5057 | |
---|
| 5058 | |
---|
| 5059 | |
---|
[8ee73f8d] | 5060 | |
---|
[69894d2] | 5061 | ac_aux_dir= |
---|
[4ad3480] | 5062 | for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
---|
| 5063 | if test -f "$ac_dir/install-sh"; then |
---|
[69894d2] | 5064 | ac_aux_dir=$ac_dir |
---|
| 5065 | ac_install_sh="$ac_aux_dir/install-sh -c" |
---|
| 5066 | break |
---|
[4ad3480] | 5067 | elif test -f "$ac_dir/install.sh"; then |
---|
[69894d2] | 5068 | ac_aux_dir=$ac_dir |
---|
| 5069 | ac_install_sh="$ac_aux_dir/install.sh -c" |
---|
| 5070 | break |
---|
[4ad3480] | 5071 | elif test -f "$ac_dir/shtool"; then |
---|
[8298425] | 5072 | ac_aux_dir=$ac_dir |
---|
| 5073 | ac_install_sh="$ac_aux_dir/shtool install -c" |
---|
| 5074 | break |
---|
[69894d2] | 5075 | fi |
---|
| 5076 | done |
---|
| 5077 | if test -z "$ac_aux_dir"; then |
---|
[4ad3480] | 5078 | { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 |
---|
| 5079 | echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} |
---|
[8298425] | 5080 | { (exit 1); exit 1; }; } |
---|
[69894d2] | 5081 | fi |
---|
[4ad3480] | 5082 | |
---|
| 5083 | # These three variables are undocumented and unsupported, |
---|
| 5084 | # and are intended to be withdrawn in a future Autoconf release. |
---|
| 5085 | # They can cause serious problems if a builder's source tree is in a directory |
---|
| 5086 | # whose full name contains unusual characters. |
---|
| 5087 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. |
---|
| 5088 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. |
---|
| 5089 | ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. |
---|
| 5090 | |
---|
[69894d2] | 5091 | |
---|
| 5092 | # Find a good install program. We prefer a C program (faster), |
---|
| 5093 | # so one script is as good as another. But avoid the broken or |
---|
| 5094 | # incompatible versions: |
---|
| 5095 | # SysV /etc/install, /usr/sbin/install |
---|
| 5096 | # SunOS /usr/etc/install |
---|
| 5097 | # IRIX /sbin/install |
---|
| 5098 | # AIX /bin/install |
---|
[8298425] | 5099 | # AmigaOS /C/install, which installs bootblocks on floppy discs |
---|
[69894d2] | 5100 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
---|
| 5101 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
---|
| 5102 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
---|
[8298425] | 5103 | # OS/2's system install, which has a completely different semantic |
---|
[69894d2] | 5104 | # ./install, which can be erroneously created by make from ./install.sh. |
---|
[4ad3480] | 5105 | { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
---|
| 5106 | echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } |
---|
[69894d2] | 5107 | if test -z "$INSTALL"; then |
---|
[8298425] | 5108 | if test "${ac_cv_path_install+set}" = set; then |
---|
| 5109 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 5110 | else |
---|
| 5111 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 5112 | for as_dir in $PATH |
---|
| 5113 | do |
---|
| 5114 | IFS=$as_save_IFS |
---|
| 5115 | test -z "$as_dir" && as_dir=. |
---|
| 5116 | # Account for people who put trailing slashes in PATH elements. |
---|
| 5117 | case $as_dir/ in |
---|
| 5118 | ./ | .// | /cC/* | \ |
---|
| 5119 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
---|
| 5120 | ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ |
---|
| 5121 | /usr/ucb/* ) ;; |
---|
| 5122 | *) |
---|
| 5123 | # OSF1 and SCO ODT 3.0 have their own names for install. |
---|
| 5124 | # Don't use installbsd from OSF since it installs stuff as root |
---|
| 5125 | # by default. |
---|
| 5126 | for ac_prog in ginstall scoinst install; do |
---|
| 5127 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
[4ad3480] | 5128 | if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then |
---|
[69894d2] | 5129 | if test $ac_prog = install && |
---|
[8298425] | 5130 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
---|
[69894d2] | 5131 | # AIX install. It has an incompatible calling convention. |
---|
| 5132 | : |
---|
[8298425] | 5133 | elif test $ac_prog = install && |
---|
| 5134 | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
---|
| 5135 | # program-specific install script used by HP pwplus--don't use. |
---|
| 5136 | : |
---|
[69894d2] | 5137 | else |
---|
[8298425] | 5138 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
---|
| 5139 | break 3 |
---|
[69894d2] | 5140 | fi |
---|
| 5141 | fi |
---|
| 5142 | done |
---|
[8298425] | 5143 | done |
---|
| 5144 | ;; |
---|
| 5145 | esac |
---|
| 5146 | done |
---|
[4ad3480] | 5147 | IFS=$as_save_IFS |
---|
[8298425] | 5148 | |
---|
[69894d2] | 5149 | |
---|
| 5150 | fi |
---|
| 5151 | if test "${ac_cv_path_install+set}" = set; then |
---|
[8298425] | 5152 | INSTALL=$ac_cv_path_install |
---|
[69894d2] | 5153 | else |
---|
[4ad3480] | 5154 | # As a last resort, use the slow shell script. Don't cache a |
---|
| 5155 | # value for INSTALL within a source directory, because that will |
---|
[69894d2] | 5156 | # break other packages using the cache if that directory is |
---|
[4ad3480] | 5157 | # removed, or if the value is a relative name. |
---|
[8298425] | 5158 | INSTALL=$ac_install_sh |
---|
[69894d2] | 5159 | fi |
---|
| 5160 | fi |
---|
[4ad3480] | 5161 | { echo "$as_me:$LINENO: result: $INSTALL" >&5 |
---|
| 5162 | echo "${ECHO_T}$INSTALL" >&6; } |
---|
[69894d2] | 5163 | |
---|
| 5164 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
---|
| 5165 | # It thinks the first close brace ends the variable substitution. |
---|
| 5166 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
---|
| 5167 | |
---|
[8298425] | 5168 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
---|
[69894d2] | 5169 | |
---|
| 5170 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
---|
| 5171 | |
---|
| 5172 | |
---|
[8298425] | 5173 | subdirs="$subdirs libfaim" |
---|
| 5174 | |
---|
| 5175 | |
---|
[4ad3480] | 5176 | ac_config_files="$ac_config_files Makefile" |
---|
| 5177 | |
---|
[8298425] | 5178 | cat >confcache <<\_ACEOF |
---|
[7d4fbcd] | 5179 | # This file is a shell script that caches the results of configure |
---|
| 5180 | # tests run on this system so they can be shared between configure |
---|
[8298425] | 5181 | # scripts and configure runs, see configure's option --config-cache. |
---|
| 5182 | # It is not useful on other systems. If it contains results you don't |
---|
| 5183 | # want to keep, you may remove or edit it. |
---|
[7d4fbcd] | 5184 | # |
---|
[8298425] | 5185 | # config.status only pays attention to the cache file if you give it |
---|
| 5186 | # the --recheck option to rerun configure. |
---|
[7d4fbcd] | 5187 | # |
---|
[8298425] | 5188 | # `ac_cv_env_foo' variables (set or unset) will be overridden when |
---|
| 5189 | # loading this file, other *unset* `ac_cv_foo' will be assigned the |
---|
| 5190 | # following values. |
---|
| 5191 | |
---|
| 5192 | _ACEOF |
---|
| 5193 | |
---|
[7d4fbcd] | 5194 | # The following way of writing the cache mishandles newlines in values, |
---|
| 5195 | # but we know of no workaround that is simple, portable, and efficient. |
---|
[4ad3480] | 5196 | # So, we kill variables containing newlines. |
---|
[7d4fbcd] | 5197 | # Ultrix sh set writes to stderr and can't be redirected directly, |
---|
| 5198 | # and sets the high bit in the cache file unless we assign to the vars. |
---|
[4ad3480] | 5199 | ( |
---|
| 5200 | for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do |
---|
| 5201 | eval ac_val=\$$ac_var |
---|
| 5202 | case $ac_val in #( |
---|
| 5203 | *${as_nl}*) |
---|
| 5204 | case $ac_var in #( |
---|
| 5205 | *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 |
---|
| 5206 | echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; |
---|
| 5207 | esac |
---|
| 5208 | case $ac_var in #( |
---|
| 5209 | _ | IFS | as_nl) ;; #( |
---|
| 5210 | *) $as_unset $ac_var ;; |
---|
| 5211 | esac ;; |
---|
| 5212 | esac |
---|
| 5213 | done |
---|
| 5214 | |
---|
[8298425] | 5215 | (set) 2>&1 | |
---|
[4ad3480] | 5216 | case $as_nl`(ac_space=' '; set) 2>&1` in #( |
---|
| 5217 | *${as_nl}ac_space=\ *) |
---|
[8298425] | 5218 | # `set' does not quote correctly, so add quotes (double-quote |
---|
| 5219 | # substitution turns \\\\ into \\, and sed turns \\ into \). |
---|
| 5220 | sed -n \ |
---|
| 5221 | "s/'/'\\\\''/g; |
---|
| 5222 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
---|
[4ad3480] | 5223 | ;; #( |
---|
[8298425] | 5224 | *) |
---|
| 5225 | # `set' quotes correctly as required by POSIX, so do not add quotes. |
---|
[4ad3480] | 5226 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
---|
[8298425] | 5227 | ;; |
---|
[4ad3480] | 5228 | esac | |
---|
| 5229 | sort |
---|
| 5230 | ) | |
---|
[8298425] | 5231 | sed ' |
---|
[4ad3480] | 5232 | /^ac_cv_env_/b end |
---|
[8298425] | 5233 | t clear |
---|
[4ad3480] | 5234 | :clear |
---|
[8298425] | 5235 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
---|
| 5236 | t end |
---|
[4ad3480] | 5237 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
---|
| 5238 | :end' >>confcache |
---|
| 5239 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
---|
| 5240 | if test -w "$cache_file"; then |
---|
| 5241 | test "x$cache_file" != "x/dev/null" && |
---|
| 5242 | { echo "$as_me:$LINENO: updating cache $cache_file" >&5 |
---|
| 5243 | echo "$as_me: updating cache $cache_file" >&6;} |
---|
[8298425] | 5244 | cat confcache >$cache_file |
---|
[7d4fbcd] | 5245 | else |
---|
[4ad3480] | 5246 | { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 |
---|
| 5247 | echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
---|
[7d4fbcd] | 5248 | fi |
---|
| 5249 | fi |
---|
| 5250 | rm -f confcache |
---|
| 5251 | |
---|
| 5252 | test "x$prefix" = xNONE && prefix=$ac_default_prefix |
---|
| 5253 | # Let make expand exec_prefix. |
---|
| 5254 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
---|
| 5255 | |
---|
| 5256 | DEFS=-DHAVE_CONFIG_H |
---|
| 5257 | |
---|
[8298425] | 5258 | ac_libobjs= |
---|
| 5259 | ac_ltlibobjs= |
---|
| 5260 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
---|
| 5261 | # 1. Remove the extension, and $U if already installed. |
---|
[4ad3480] | 5262 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
---|
| 5263 | ac_i=`echo "$ac_i" | sed "$ac_script"` |
---|
| 5264 | # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
---|
| 5265 | # will be set to the directory where LIBOBJS objects are built. |
---|
| 5266 | ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
---|
| 5267 | ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' |
---|
[8298425] | 5268 | done |
---|
| 5269 | LIBOBJS=$ac_libobjs |
---|
[7d4fbcd] | 5270 | |
---|
[8298425] | 5271 | LTLIBOBJS=$ac_ltlibobjs |
---|
| 5272 | |
---|
| 5273 | |
---|
| 5274 | |
---|
| 5275 | : ${CONFIG_STATUS=./config.status} |
---|
| 5276 | ac_clean_files_save=$ac_clean_files |
---|
| 5277 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
---|
| 5278 | { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 |
---|
| 5279 | echo "$as_me: creating $CONFIG_STATUS" >&6;} |
---|
| 5280 | cat >$CONFIG_STATUS <<_ACEOF |
---|
| 5281 | #! $SHELL |
---|
| 5282 | # Generated by $as_me. |
---|
[7d4fbcd] | 5283 | # Run this file to recreate the current configuration. |
---|
| 5284 | # Compiler output produced by configure, useful for debugging |
---|
[8298425] | 5285 | # configure, is in config.log if it exists. |
---|
| 5286 | |
---|
| 5287 | debug=false |
---|
| 5288 | ac_cs_recheck=false |
---|
| 5289 | ac_cs_silent=false |
---|
| 5290 | SHELL=\${CONFIG_SHELL-$SHELL} |
---|
| 5291 | _ACEOF |
---|
| 5292 | |
---|
| 5293 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
| 5294 | ## --------------------- ## |
---|
| 5295 | ## M4sh Initialization. ## |
---|
| 5296 | ## --------------------- ## |
---|
| 5297 | |
---|
| 5298 | # Be Bourne compatible |
---|
| 5299 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
---|
| 5300 | emulate sh |
---|
| 5301 | NULLCMD=: |
---|
| 5302 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
---|
| 5303 | # is contrary to our usage. Disable this feature. |
---|
| 5304 | alias -g '${1+"$@"}'='"$@"' |
---|
[4ad3480] | 5305 | setopt NO_GLOB_SUBST |
---|
| 5306 | else |
---|
| 5307 | case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac |
---|
[8298425] | 5308 | fi |
---|
[4ad3480] | 5309 | BIN_SH=xpg4; export BIN_SH # for Tru64 |
---|
[8298425] | 5310 | DUALCASE=1; export DUALCASE # for MKS sh |
---|
[7d4fbcd] | 5311 | |
---|
[4ad3480] | 5312 | |
---|
| 5313 | # PATH needs CR |
---|
| 5314 | # Avoid depending upon Character Ranges. |
---|
| 5315 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
---|
| 5316 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
---|
| 5317 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
---|
| 5318 | as_cr_digits='0123456789' |
---|
| 5319 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
---|
| 5320 | |
---|
| 5321 | # The user is always right. |
---|
| 5322 | if test "${PATH_SEPARATOR+set}" != set; then |
---|
| 5323 | echo "#! /bin/sh" >conf$$.sh |
---|
| 5324 | echo "exit 0" >>conf$$.sh |
---|
| 5325 | chmod +x conf$$.sh |
---|
| 5326 | if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
---|
| 5327 | PATH_SEPARATOR=';' |
---|
| 5328 | else |
---|
| 5329 | PATH_SEPARATOR=: |
---|
| 5330 | fi |
---|
| 5331 | rm -f conf$$.sh |
---|
| 5332 | fi |
---|
| 5333 | |
---|
[8298425] | 5334 | # Support unset when possible. |
---|
| 5335 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
---|
| 5336 | as_unset=unset |
---|
| 5337 | else |
---|
| 5338 | as_unset=false |
---|
| 5339 | fi |
---|
| 5340 | |
---|
| 5341 | |
---|
[4ad3480] | 5342 | # IFS |
---|
| 5343 | # We need space, tab and new line, in precisely that order. Quoting is |
---|
| 5344 | # there to prevent editors from complaining about space-tab. |
---|
| 5345 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
---|
| 5346 | # splitting by setting IFS to empty value.) |
---|
| 5347 | as_nl=' |
---|
| 5348 | ' |
---|
| 5349 | IFS=" "" $as_nl" |
---|
| 5350 | |
---|
| 5351 | # Find who we are. Look in the path if we contain no directory separator. |
---|
| 5352 | case $0 in |
---|
| 5353 | *[\\/]* ) as_myself=$0 ;; |
---|
| 5354 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 5355 | for as_dir in $PATH |
---|
| 5356 | do |
---|
| 5357 | IFS=$as_save_IFS |
---|
| 5358 | test -z "$as_dir" && as_dir=. |
---|
| 5359 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
---|
| 5360 | done |
---|
| 5361 | IFS=$as_save_IFS |
---|
| 5362 | |
---|
| 5363 | ;; |
---|
| 5364 | esac |
---|
| 5365 | # We did not find ourselves, most probably we were run as `sh COMMAND' |
---|
| 5366 | # in which case we are not to be found in the path. |
---|
| 5367 | if test "x$as_myself" = x; then |
---|
| 5368 | as_myself=$0 |
---|
| 5369 | fi |
---|
| 5370 | if test ! -f "$as_myself"; then |
---|
| 5371 | echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
---|
| 5372 | { (exit 1); exit 1; } |
---|
| 5373 | fi |
---|
| 5374 | |
---|
[8298425] | 5375 | # Work around bugs in pre-3.0 UWIN ksh. |
---|
[4ad3480] | 5376 | for as_var in ENV MAIL MAILPATH |
---|
| 5377 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
---|
| 5378 | done |
---|
[8298425] | 5379 | PS1='$ ' |
---|
| 5380 | PS2='> ' |
---|
| 5381 | PS4='+ ' |
---|
| 5382 | |
---|
| 5383 | # NLS nuisances. |
---|
| 5384 | for as_var in \ |
---|
| 5385 | LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
---|
| 5386 | LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
---|
| 5387 | LC_TELEPHONE LC_TIME |
---|
[7d4fbcd] | 5388 | do |
---|
[8298425] | 5389 | if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
---|
| 5390 | eval $as_var=C; export $as_var |
---|
| 5391 | else |
---|
[4ad3480] | 5392 | ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
---|
[8298425] | 5393 | fi |
---|
[7d4fbcd] | 5394 | done |
---|
| 5395 | |
---|
[8298425] | 5396 | # Required to use basename. |
---|
[4ad3480] | 5397 | if expr a : '\(a\)' >/dev/null 2>&1 && |
---|
| 5398 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
---|
[8298425] | 5399 | as_expr=expr |
---|
| 5400 | else |
---|
| 5401 | as_expr=false |
---|
| 5402 | fi |
---|
[7d4fbcd] | 5403 | |
---|
[4ad3480] | 5404 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
---|
[8298425] | 5405 | as_basename=basename |
---|
| 5406 | else |
---|
| 5407 | as_basename=false |
---|
| 5408 | fi |
---|
[7d4fbcd] | 5409 | |
---|
| 5410 | |
---|
[8298425] | 5411 | # Name of the executable. |
---|
[4ad3480] | 5412 | as_me=`$as_basename -- "$0" || |
---|
[8298425] | 5413 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
---|
| 5414 | X"$0" : 'X\(//\)$' \| \ |
---|
[4ad3480] | 5415 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
---|
[8298425] | 5416 | echo X/"$0" | |
---|
[4ad3480] | 5417 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
---|
| 5418 | s//\1/ |
---|
| 5419 | q |
---|
| 5420 | } |
---|
| 5421 | /^X\/\(\/\/\)$/{ |
---|
| 5422 | s//\1/ |
---|
| 5423 | q |
---|
| 5424 | } |
---|
| 5425 | /^X\/\(\/\).*/{ |
---|
| 5426 | s//\1/ |
---|
| 5427 | q |
---|
| 5428 | } |
---|
| 5429 | s/.*/./; q'` |
---|
[8298425] | 5430 | |
---|
[4ad3480] | 5431 | # CDPATH. |
---|
| 5432 | $as_unset CDPATH |
---|
[8298425] | 5433 | |
---|
| 5434 | |
---|
| 5435 | |
---|
| 5436 | as_lineno_1=$LINENO |
---|
| 5437 | as_lineno_2=$LINENO |
---|
| 5438 | test "x$as_lineno_1" != "x$as_lineno_2" && |
---|
[4ad3480] | 5439 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { |
---|
[8298425] | 5440 | |
---|
| 5441 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
---|
| 5442 | # uniformly replaced by the line number. The first 'sed' inserts a |
---|
[4ad3480] | 5443 | # line-number line after each line using $LINENO; the second 'sed' |
---|
| 5444 | # does the real work. The second script uses 'N' to pair each |
---|
| 5445 | # line-number line with the line containing $LINENO, and appends |
---|
| 5446 | # trailing '-' during substitution so that $LINENO is not a special |
---|
| 5447 | # case at line end. |
---|
[8298425] | 5448 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
---|
[4ad3480] | 5449 | # scripts with optimization help from Paolo Bonzini. Blame Lee |
---|
| 5450 | # E. McMahon (1931-1989) for sed's syntax. :-) |
---|
| 5451 | sed -n ' |
---|
| 5452 | p |
---|
| 5453 | /[$]LINENO/= |
---|
| 5454 | ' <$as_myself | |
---|
[8298425] | 5455 | sed ' |
---|
[4ad3480] | 5456 | s/[$]LINENO.*/&-/ |
---|
| 5457 | t lineno |
---|
| 5458 | b |
---|
| 5459 | :lineno |
---|
[8298425] | 5460 | N |
---|
[4ad3480] | 5461 | :loop |
---|
| 5462 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
---|
[8298425] | 5463 | t loop |
---|
[4ad3480] | 5464 | s/-\n.*// |
---|
[8298425] | 5465 | ' >$as_me.lineno && |
---|
[4ad3480] | 5466 | chmod +x "$as_me.lineno" || |
---|
| 5467 | { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
---|
[8298425] | 5468 | { (exit 1); exit 1; }; } |
---|
| 5469 | |
---|
| 5470 | # Don't try to exec as it changes $[0], causing all sort of problems |
---|
| 5471 | # (the dirname of $[0] is not the place where we might find the |
---|
[4ad3480] | 5472 | # original and so on. Autoconf is especially sensitive to this). |
---|
| 5473 | . "./$as_me.lineno" |
---|
[8298425] | 5474 | # Exit status is that of the last command. |
---|
| 5475 | exit |
---|
| 5476 | } |
---|
| 5477 | |
---|
| 5478 | |
---|
[4ad3480] | 5479 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
---|
| 5480 | as_dirname=dirname |
---|
| 5481 | else |
---|
| 5482 | as_dirname=false |
---|
| 5483 | fi |
---|
| 5484 | |
---|
| 5485 | ECHO_C= ECHO_N= ECHO_T= |
---|
| 5486 | case `echo -n x` in |
---|
| 5487 | -n*) |
---|
| 5488 | case `echo 'x\c'` in |
---|
| 5489 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
---|
| 5490 | *) ECHO_C='\c';; |
---|
| 5491 | esac;; |
---|
| 5492 | *) |
---|
| 5493 | ECHO_N='-n';; |
---|
[8298425] | 5494 | esac |
---|
| 5495 | |
---|
[4ad3480] | 5496 | if expr a : '\(a\)' >/dev/null 2>&1 && |
---|
| 5497 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
---|
[8298425] | 5498 | as_expr=expr |
---|
| 5499 | else |
---|
| 5500 | as_expr=false |
---|
| 5501 | fi |
---|
| 5502 | |
---|
| 5503 | rm -f conf$$ conf$$.exe conf$$.file |
---|
[4ad3480] | 5504 | if test -d conf$$.dir; then |
---|
| 5505 | rm -f conf$$.dir/conf$$.file |
---|
| 5506 | else |
---|
| 5507 | rm -f conf$$.dir |
---|
| 5508 | mkdir conf$$.dir |
---|
| 5509 | fi |
---|
[8298425] | 5510 | echo >conf$$.file |
---|
| 5511 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
---|
[4ad3480] | 5512 | as_ln_s='ln -s' |
---|
| 5513 | # ... but there are two gotchas: |
---|
| 5514 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
---|
| 5515 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
---|
| 5516 | # In both cases, we have to default to `cp -p'. |
---|
| 5517 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
---|
[8298425] | 5518 | as_ln_s='cp -p' |
---|
| 5519 | elif ln conf$$.file conf$$ 2>/dev/null; then |
---|
| 5520 | as_ln_s=ln |
---|
| 5521 | else |
---|
| 5522 | as_ln_s='cp -p' |
---|
| 5523 | fi |
---|
[4ad3480] | 5524 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
---|
| 5525 | rmdir conf$$.dir 2>/dev/null |
---|
[8298425] | 5526 | |
---|
| 5527 | if mkdir -p . 2>/dev/null; then |
---|
| 5528 | as_mkdir_p=: |
---|
| 5529 | else |
---|
| 5530 | test -d ./-p && rmdir ./-p |
---|
| 5531 | as_mkdir_p=false |
---|
| 5532 | fi |
---|
| 5533 | |
---|
[4ad3480] | 5534 | # Find out whether ``test -x'' works. Don't use a zero-byte file, as |
---|
| 5535 | # systems may use methods other than mode bits to determine executability. |
---|
| 5536 | cat >conf$$.file <<_ASEOF |
---|
| 5537 | #! /bin/sh |
---|
| 5538 | exit 0 |
---|
| 5539 | _ASEOF |
---|
| 5540 | chmod +x conf$$.file |
---|
| 5541 | if test -x conf$$.file >/dev/null 2>&1; then |
---|
| 5542 | as_executable_p="test -x" |
---|
| 5543 | else |
---|
| 5544 | as_executable_p=: |
---|
| 5545 | fi |
---|
| 5546 | rm -f conf$$.file |
---|
[8298425] | 5547 | |
---|
| 5548 | # Sed expression to map a string onto a valid CPP name. |
---|
| 5549 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
---|
| 5550 | |
---|
| 5551 | # Sed expression to map a string onto a valid variable name. |
---|
| 5552 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
---|
| 5553 | |
---|
| 5554 | |
---|
| 5555 | exec 6>&1 |
---|
| 5556 | |
---|
[4ad3480] | 5557 | # Save the log message, to keep $[0] and so on meaningful, and to |
---|
[8298425] | 5558 | # report actual input values of CONFIG_FILES etc. instead of their |
---|
[4ad3480] | 5559 | # values after options handling. |
---|
| 5560 | ac_log=" |
---|
[8298425] | 5561 | This file was extended by $as_me, which was |
---|
[4ad3480] | 5562 | generated by GNU Autoconf 2.60. Invocation command line was |
---|
[8298425] | 5563 | |
---|
| 5564 | CONFIG_FILES = $CONFIG_FILES |
---|
| 5565 | CONFIG_HEADERS = $CONFIG_HEADERS |
---|
| 5566 | CONFIG_LINKS = $CONFIG_LINKS |
---|
| 5567 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
---|
| 5568 | $ $0 $@ |
---|
| 5569 | |
---|
[4ad3480] | 5570 | on `(hostname || uname -n) 2>/dev/null | sed 1q` |
---|
| 5571 | " |
---|
| 5572 | |
---|
[8298425] | 5573 | _ACEOF |
---|
| 5574 | |
---|
[4ad3480] | 5575 | cat >>$CONFIG_STATUS <<_ACEOF |
---|
[8298425] | 5576 | # Files that config.status was made for. |
---|
[4ad3480] | 5577 | config_files="$ac_config_files" |
---|
| 5578 | config_headers="$ac_config_headers" |
---|
[8298425] | 5579 | |
---|
[4ad3480] | 5580 | _ACEOF |
---|
[8298425] | 5581 | |
---|
| 5582 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
| 5583 | ac_cs_usage="\ |
---|
| 5584 | \`$as_me' instantiates files from templates according to the |
---|
| 5585 | current configuration. |
---|
| 5586 | |
---|
| 5587 | Usage: $0 [OPTIONS] [FILE]... |
---|
| 5588 | |
---|
| 5589 | -h, --help print this help, then exit |
---|
| 5590 | -V, --version print version number, then exit |
---|
| 5591 | -q, --quiet do not print progress messages |
---|
| 5592 | -d, --debug don't remove temporary files |
---|
| 5593 | --recheck update $as_me by reconfiguring in the same conditions |
---|
| 5594 | --file=FILE[:TEMPLATE] |
---|
| 5595 | instantiate the configuration file FILE |
---|
| 5596 | --header=FILE[:TEMPLATE] |
---|
| 5597 | instantiate the configuration header FILE |
---|
| 5598 | |
---|
| 5599 | Configuration files: |
---|
| 5600 | $config_files |
---|
| 5601 | |
---|
| 5602 | Configuration headers: |
---|
| 5603 | $config_headers |
---|
| 5604 | |
---|
| 5605 | Report bugs to <bug-autoconf@gnu.org>." |
---|
| 5606 | |
---|
[4ad3480] | 5607 | _ACEOF |
---|
[8298425] | 5608 | cat >>$CONFIG_STATUS <<_ACEOF |
---|
| 5609 | ac_cs_version="\\ |
---|
| 5610 | config.status |
---|
[4ad3480] | 5611 | configured by $0, generated by GNU Autoconf 2.60, |
---|
| 5612 | with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" |
---|
[8298425] | 5613 | |
---|
[4ad3480] | 5614 | Copyright (C) 2006 Free Software Foundation, Inc. |
---|
[8298425] | 5615 | This config.status script is free software; the Free Software Foundation |
---|
| 5616 | gives unlimited permission to copy, distribute and modify it." |
---|
[4ad3480] | 5617 | |
---|
| 5618 | ac_pwd='$ac_pwd' |
---|
| 5619 | srcdir='$srcdir' |
---|
| 5620 | INSTALL='$INSTALL' |
---|
[8298425] | 5621 | _ACEOF |
---|
| 5622 | |
---|
| 5623 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
| 5624 | # If no file are specified by the user, then we need to provide default |
---|
| 5625 | # value. By we need to know if files were specified by the user. |
---|
| 5626 | ac_need_defaults=: |
---|
| 5627 | while test $# != 0 |
---|
| 5628 | do |
---|
| 5629 | case $1 in |
---|
| 5630 | --*=*) |
---|
[4ad3480] | 5631 | ac_option=`expr "X$1" : 'X\([^=]*\)='` |
---|
| 5632 | ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
---|
[8298425] | 5633 | ac_shift=: |
---|
| 5634 | ;; |
---|
[4ad3480] | 5635 | *) |
---|
[8298425] | 5636 | ac_option=$1 |
---|
| 5637 | ac_optarg=$2 |
---|
| 5638 | ac_shift=shift |
---|
| 5639 | ;; |
---|
| 5640 | esac |
---|
| 5641 | |
---|
| 5642 | case $ac_option in |
---|
| 5643 | # Handling of the options. |
---|
| 5644 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
---|
| 5645 | ac_cs_recheck=: ;; |
---|
[4ad3480] | 5646 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
---|
| 5647 | echo "$ac_cs_version"; exit ;; |
---|
| 5648 | --debug | --debu | --deb | --de | --d | -d ) |
---|
[8298425] | 5649 | debug=: ;; |
---|
| 5650 | --file | --fil | --fi | --f ) |
---|
| 5651 | $ac_shift |
---|
| 5652 | CONFIG_FILES="$CONFIG_FILES $ac_optarg" |
---|
| 5653 | ac_need_defaults=false;; |
---|
| 5654 | --header | --heade | --head | --hea ) |
---|
| 5655 | $ac_shift |
---|
| 5656 | CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" |
---|
| 5657 | ac_need_defaults=false;; |
---|
[4ad3480] | 5658 | --he | --h) |
---|
| 5659 | # Conflict between --help and --header |
---|
| 5660 | { echo "$as_me: error: ambiguous option: $1 |
---|
| 5661 | Try \`$0 --help' for more information." >&2 |
---|
| 5662 | { (exit 1); exit 1; }; };; |
---|
| 5663 | --help | --hel | -h ) |
---|
| 5664 | echo "$ac_cs_usage"; exit ;; |
---|
[8298425] | 5665 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
---|
| 5666 | | -silent | --silent | --silen | --sile | --sil | --si | --s) |
---|
| 5667 | ac_cs_silent=: ;; |
---|
| 5668 | |
---|
| 5669 | # This is an error. |
---|
[4ad3480] | 5670 | -*) { echo "$as_me: error: unrecognized option: $1 |
---|
| 5671 | Try \`$0 --help' for more information." >&2 |
---|
[8298425] | 5672 | { (exit 1); exit 1; }; } ;; |
---|
| 5673 | |
---|
[4ad3480] | 5674 | *) ac_config_targets="$ac_config_targets $1" |
---|
| 5675 | ac_need_defaults=false ;; |
---|
[8298425] | 5676 | |
---|
| 5677 | esac |
---|
| 5678 | shift |
---|
[7d4fbcd] | 5679 | done |
---|
[8298425] | 5680 | |
---|
| 5681 | ac_configure_extra_args= |
---|
| 5682 | |
---|
| 5683 | if $ac_cs_silent; then |
---|
| 5684 | exec 6>/dev/null |
---|
| 5685 | ac_configure_extra_args="$ac_configure_extra_args --silent" |
---|
| 5686 | fi |
---|
| 5687 | |
---|
| 5688 | _ACEOF |
---|
| 5689 | cat >>$CONFIG_STATUS <<_ACEOF |
---|
| 5690 | if \$ac_cs_recheck; then |
---|
[4ad3480] | 5691 | echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 |
---|
| 5692 | CONFIG_SHELL=$SHELL |
---|
| 5693 | export CONFIG_SHELL |
---|
| 5694 | exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
---|
[7d4fbcd] | 5695 | fi |
---|
| 5696 | |
---|
[8298425] | 5697 | _ACEOF |
---|
[4ad3480] | 5698 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
| 5699 | exec 5>>config.log |
---|
| 5700 | { |
---|
| 5701 | echo |
---|
| 5702 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
---|
| 5703 | ## Running $as_me. ## |
---|
| 5704 | _ASBOX |
---|
| 5705 | echo "$ac_log" |
---|
| 5706 | } >&5 |
---|
[7d4fbcd] | 5707 | |
---|
[4ad3480] | 5708 | _ACEOF |
---|
| 5709 | cat >>$CONFIG_STATUS <<_ACEOF |
---|
| 5710 | _ACEOF |
---|
[8298425] | 5711 | |
---|
| 5712 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
[4ad3480] | 5713 | |
---|
| 5714 | # Handling of arguments. |
---|
[8298425] | 5715 | for ac_config_target in $ac_config_targets |
---|
| 5716 | do |
---|
[4ad3480] | 5717 | case $ac_config_target in |
---|
| 5718 | "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; |
---|
| 5719 | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
---|
| 5720 | |
---|
[8298425] | 5721 | *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
---|
| 5722 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
---|
| 5723 | { (exit 1); exit 1; }; };; |
---|
[7d4fbcd] | 5724 | esac |
---|
[8298425] | 5725 | done |
---|
[7d4fbcd] | 5726 | |
---|
[4ad3480] | 5727 | |
---|
[8298425] | 5728 | # If the user did not use the arguments to specify the items to instantiate, |
---|
| 5729 | # then the envvar interface is used. Set only those that are not. |
---|
| 5730 | # We use the long form for the default assignment because of an extremely |
---|
| 5731 | # bizarre bug on SunOS 4.1.3. |
---|
| 5732 | if $ac_need_defaults; then |
---|
| 5733 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files |
---|
| 5734 | test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers |
---|
| 5735 | fi |
---|
[7d4fbcd] | 5736 | |
---|
[8298425] | 5737 | # Have a temporary directory for convenience. Make it in the build tree |
---|
[4ad3480] | 5738 | # simply because there is no reason against having it here, and in addition, |
---|
[8298425] | 5739 | # creating and moving files from /tmp can sometimes cause problems. |
---|
[4ad3480] | 5740 | # Hook for its removal unless debugging. |
---|
| 5741 | # Note that there is a small window in which the directory will not be cleaned: |
---|
| 5742 | # after its creation but before its name has been assigned to `$tmp'. |
---|
[8298425] | 5743 | $debug || |
---|
| 5744 | { |
---|
[4ad3480] | 5745 | tmp= |
---|
| 5746 | trap 'exit_status=$? |
---|
| 5747 | { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status |
---|
| 5748 | ' 0 |
---|
[8298425] | 5749 | trap '{ (exit 1); exit 1; }' 1 2 13 15 |
---|
| 5750 | } |
---|
| 5751 | # Create a (secure) tmp directory for tmp files. |
---|
| 5752 | |
---|
| 5753 | { |
---|
[4ad3480] | 5754 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
---|
[8298425] | 5755 | test -n "$tmp" && test -d "$tmp" |
---|
| 5756 | } || |
---|
| 5757 | { |
---|
[4ad3480] | 5758 | tmp=./conf$$-$RANDOM |
---|
| 5759 | (umask 077 && mkdir "$tmp") |
---|
[8298425] | 5760 | } || |
---|
| 5761 | { |
---|
| 5762 | echo "$me: cannot create a temporary directory in ." >&2 |
---|
| 5763 | { (exit 1); exit 1; } |
---|
| 5764 | } |
---|
| 5765 | |
---|
| 5766 | # |
---|
[4ad3480] | 5767 | # Set up the sed scripts for CONFIG_FILES section. |
---|
[8298425] | 5768 | # |
---|
| 5769 | |
---|
| 5770 | # No need to generate the scripts if there are no CONFIG_FILES. |
---|
| 5771 | # This happens for instance when ./config.status config.h |
---|
[4ad3480] | 5772 | if test -n "$CONFIG_FILES"; then |
---|
[8298425] | 5773 | |
---|
| 5774 | _ACEOF |
---|
| 5775 | |
---|
[4ad3480] | 5776 | |
---|
| 5777 | |
---|
| 5778 | ac_delim='%!_!# ' |
---|
| 5779 | for ac_last_try in false false false false false :; do |
---|
| 5780 | cat >conf$$subs.sed <<_ACEOF |
---|
| 5781 | SHELL!$SHELL$ac_delim |
---|
| 5782 | PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim |
---|
| 5783 | PACKAGE_NAME!$PACKAGE_NAME$ac_delim |
---|
| 5784 | PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim |
---|
| 5785 | PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim |
---|
| 5786 | PACKAGE_STRING!$PACKAGE_STRING$ac_delim |
---|
| 5787 | PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim |
---|
| 5788 | exec_prefix!$exec_prefix$ac_delim |
---|
| 5789 | prefix!$prefix$ac_delim |
---|
| 5790 | program_transform_name!$program_transform_name$ac_delim |
---|
| 5791 | bindir!$bindir$ac_delim |
---|
| 5792 | sbindir!$sbindir$ac_delim |
---|
| 5793 | libexecdir!$libexecdir$ac_delim |
---|
| 5794 | datarootdir!$datarootdir$ac_delim |
---|
| 5795 | datadir!$datadir$ac_delim |
---|
| 5796 | sysconfdir!$sysconfdir$ac_delim |
---|
| 5797 | sharedstatedir!$sharedstatedir$ac_delim |
---|
| 5798 | localstatedir!$localstatedir$ac_delim |
---|
| 5799 | includedir!$includedir$ac_delim |
---|
| 5800 | oldincludedir!$oldincludedir$ac_delim |
---|
| 5801 | docdir!$docdir$ac_delim |
---|
| 5802 | infodir!$infodir$ac_delim |
---|
| 5803 | htmldir!$htmldir$ac_delim |
---|
| 5804 | dvidir!$dvidir$ac_delim |
---|
| 5805 | pdfdir!$pdfdir$ac_delim |
---|
| 5806 | psdir!$psdir$ac_delim |
---|
| 5807 | libdir!$libdir$ac_delim |
---|
| 5808 | localedir!$localedir$ac_delim |
---|
| 5809 | mandir!$mandir$ac_delim |
---|
| 5810 | DEFS!$DEFS$ac_delim |
---|
| 5811 | ECHO_C!$ECHO_C$ac_delim |
---|
| 5812 | ECHO_N!$ECHO_N$ac_delim |
---|
| 5813 | ECHO_T!$ECHO_T$ac_delim |
---|
| 5814 | LIBS!$LIBS$ac_delim |
---|
| 5815 | build_alias!$build_alias$ac_delim |
---|
| 5816 | host_alias!$host_alias$ac_delim |
---|
| 5817 | target_alias!$target_alias$ac_delim |
---|
| 5818 | CC!$CC$ac_delim |
---|
| 5819 | CFLAGS!$CFLAGS$ac_delim |
---|
| 5820 | LDFLAGS!$LDFLAGS$ac_delim |
---|
| 5821 | CPPFLAGS!$CPPFLAGS$ac_delim |
---|
| 5822 | ac_ct_CC!$ac_ct_CC$ac_delim |
---|
| 5823 | EXEEXT!$EXEEXT$ac_delim |
---|
| 5824 | OBJEXT!$OBJEXT$ac_delim |
---|
| 5825 | CPP!$CPP$ac_delim |
---|
| 5826 | GREP!$GREP$ac_delim |
---|
| 5827 | EGREP!$EGREP$ac_delim |
---|
| 5828 | XSUBPPFLAGS!$XSUBPPFLAGS$ac_delim |
---|
| 5829 | INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim |
---|
| 5830 | INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim |
---|
| 5831 | INSTALL_DATA!$INSTALL_DATA$ac_delim |
---|
| 5832 | subdirs!$subdirs$ac_delim |
---|
| 5833 | LIBOBJS!$LIBOBJS$ac_delim |
---|
| 5834 | LTLIBOBJS!$LTLIBOBJS$ac_delim |
---|
| 5835 | _ACEOF |
---|
| 5836 | |
---|
| 5837 | if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 54; then |
---|
| 5838 | break |
---|
| 5839 | elif $ac_last_try; then |
---|
| 5840 | { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
---|
| 5841 | echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
---|
| 5842 | { (exit 1); exit 1; }; } |
---|
| 5843 | else |
---|
| 5844 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
---|
[7d4fbcd] | 5845 | fi |
---|
[4ad3480] | 5846 | done |
---|
| 5847 | |
---|
| 5848 | ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` |
---|
| 5849 | if test -n "$ac_eof"; then |
---|
| 5850 | ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` |
---|
| 5851 | ac_eof=`expr $ac_eof + 1` |
---|
| 5852 | fi |
---|
[7d4fbcd] | 5853 | |
---|
[4ad3480] | 5854 | cat >>$CONFIG_STATUS <<_ACEOF |
---|
| 5855 | cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof |
---|
| 5856 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end |
---|
[8298425] | 5857 | _ACEOF |
---|
[4ad3480] | 5858 | sed ' |
---|
| 5859 | s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g |
---|
| 5860 | s/^/s,@/; s/!/@,|#_!!_#|/ |
---|
| 5861 | :n |
---|
| 5862 | t n |
---|
| 5863 | s/'"$ac_delim"'$/,g/; t |
---|
| 5864 | s/$/\\/; p |
---|
| 5865 | N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n |
---|
| 5866 | ' >>$CONFIG_STATUS <conf$$subs.sed |
---|
| 5867 | rm -f conf$$subs.sed |
---|
| 5868 | cat >>$CONFIG_STATUS <<_ACEOF |
---|
| 5869 | :end |
---|
| 5870 | s/|#_!!_#|//g |
---|
| 5871 | CEOF$ac_eof |
---|
| 5872 | _ACEOF |
---|
| 5873 | |
---|
| 5874 | |
---|
| 5875 | # VPATH may cause trouble with some makes, so we remove $(srcdir), |
---|
| 5876 | # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and |
---|
| 5877 | # trailing colons and then remove the whole line if VPATH becomes empty |
---|
| 5878 | # (actually we leave an empty line to preserve line numbers). |
---|
| 5879 | if test "x$srcdir" = x.; then |
---|
| 5880 | ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
---|
| 5881 | s/:*\$(srcdir):*/:/ |
---|
| 5882 | s/:*\${srcdir}:*/:/ |
---|
| 5883 | s/:*@srcdir@:*/:/ |
---|
| 5884 | s/^\([^=]*=[ ]*\):*/\1/ |
---|
| 5885 | s/:*$// |
---|
| 5886 | s/^[^=]*=[ ]*$// |
---|
| 5887 | }' |
---|
| 5888 | fi |
---|
| 5889 | |
---|
[8298425] | 5890 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
[4ad3480] | 5891 | fi # test -n "$CONFIG_FILES" |
---|
| 5892 | |
---|
| 5893 | |
---|
| 5894 | for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS |
---|
| 5895 | do |
---|
| 5896 | case $ac_tag in |
---|
| 5897 | :[FHLC]) ac_mode=$ac_tag; continue;; |
---|
| 5898 | esac |
---|
| 5899 | case $ac_mode$ac_tag in |
---|
| 5900 | :[FHL]*:*);; |
---|
| 5901 | :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 |
---|
| 5902 | echo "$as_me: error: Invalid tag $ac_tag." >&2;} |
---|
| 5903 | { (exit 1); exit 1; }; };; |
---|
| 5904 | :[FH]-) ac_tag=-:-;; |
---|
| 5905 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
---|
| 5906 | esac |
---|
| 5907 | ac_save_IFS=$IFS |
---|
| 5908 | IFS=: |
---|
| 5909 | set x $ac_tag |
---|
| 5910 | IFS=$ac_save_IFS |
---|
| 5911 | shift |
---|
| 5912 | ac_file=$1 |
---|
| 5913 | shift |
---|
| 5914 | |
---|
| 5915 | case $ac_mode in |
---|
| 5916 | :L) ac_source=$1;; |
---|
| 5917 | :[FH]) |
---|
| 5918 | ac_file_inputs= |
---|
| 5919 | for ac_f |
---|
| 5920 | do |
---|
| 5921 | case $ac_f in |
---|
| 5922 | -) ac_f="$tmp/stdin";; |
---|
| 5923 | *) # Look for the file first in the build tree, then in the source tree |
---|
| 5924 | # (if the path is not absolute). The absolute path cannot be DOS-style, |
---|
| 5925 | # because $ac_f cannot contain `:'. |
---|
| 5926 | test -f "$ac_f" || |
---|
| 5927 | case $ac_f in |
---|
| 5928 | [\\/$]*) false;; |
---|
| 5929 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
---|
| 5930 | esac || |
---|
| 5931 | { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 |
---|
| 5932 | echo "$as_me: error: cannot find input file: $ac_f" >&2;} |
---|
| 5933 | { (exit 1); exit 1; }; };; |
---|
| 5934 | esac |
---|
| 5935 | ac_file_inputs="$ac_file_inputs $ac_f" |
---|
| 5936 | done |
---|
| 5937 | |
---|
| 5938 | # Let's still pretend it is `configure' which instantiates (i.e., don't |
---|
| 5939 | # use $as_me), people would be surprised to read: |
---|
| 5940 | # /* config.h. Generated by config.status. */ |
---|
| 5941 | configure_input="Generated from "`IFS=: |
---|
| 5942 | echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." |
---|
| 5943 | if test x"$ac_file" != x-; then |
---|
| 5944 | configure_input="$ac_file. $configure_input" |
---|
| 5945 | { echo "$as_me:$LINENO: creating $ac_file" >&5 |
---|
| 5946 | echo "$as_me: creating $ac_file" >&6;} |
---|
| 5947 | fi |
---|
| 5948 | |
---|
| 5949 | case $ac_tag in |
---|
| 5950 | *:-:* | *:-) cat >"$tmp/stdin";; |
---|
| 5951 | esac |
---|
| 5952 | ;; |
---|
[7d4fbcd] | 5953 | esac |
---|
| 5954 | |
---|
[4ad3480] | 5955 | ac_dir=`$as_dirname -- "$ac_file" || |
---|
[8298425] | 5956 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
| 5957 | X"$ac_file" : 'X\(//\)[^/]' \| \ |
---|
| 5958 | X"$ac_file" : 'X\(//\)$' \| \ |
---|
[4ad3480] | 5959 | X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || |
---|
[8298425] | 5960 | echo X"$ac_file" | |
---|
[4ad3480] | 5961 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
| 5962 | s//\1/ |
---|
| 5963 | q |
---|
| 5964 | } |
---|
| 5965 | /^X\(\/\/\)[^/].*/{ |
---|
| 5966 | s//\1/ |
---|
| 5967 | q |
---|
| 5968 | } |
---|
| 5969 | /^X\(\/\/\)$/{ |
---|
| 5970 | s//\1/ |
---|
| 5971 | q |
---|
| 5972 | } |
---|
| 5973 | /^X\(\/\).*/{ |
---|
| 5974 | s//\1/ |
---|
| 5975 | q |
---|
| 5976 | } |
---|
| 5977 | s/.*/./; q'` |
---|
| 5978 | { as_dir="$ac_dir" |
---|
| 5979 | case $as_dir in #( |
---|
| 5980 | -*) as_dir=./$as_dir;; |
---|
| 5981 | esac |
---|
| 5982 | test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { |
---|
[8298425] | 5983 | as_dirs= |
---|
[4ad3480] | 5984 | while :; do |
---|
| 5985 | case $as_dir in #( |
---|
| 5986 | *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( |
---|
| 5987 | *) as_qdir=$as_dir;; |
---|
| 5988 | esac |
---|
| 5989 | as_dirs="'$as_qdir' $as_dirs" |
---|
| 5990 | as_dir=`$as_dirname -- "$as_dir" || |
---|
[8298425] | 5991 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
| 5992 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
---|
| 5993 | X"$as_dir" : 'X\(//\)$' \| \ |
---|
[4ad3480] | 5994 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
---|
[8298425] | 5995 | echo X"$as_dir" | |
---|
[4ad3480] | 5996 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
| 5997 | s//\1/ |
---|
| 5998 | q |
---|
| 5999 | } |
---|
| 6000 | /^X\(\/\/\)[^/].*/{ |
---|
| 6001 | s//\1/ |
---|
| 6002 | q |
---|
| 6003 | } |
---|
| 6004 | /^X\(\/\/\)$/{ |
---|
| 6005 | s//\1/ |
---|
| 6006 | q |
---|
| 6007 | } |
---|
| 6008 | /^X\(\/\).*/{ |
---|
| 6009 | s//\1/ |
---|
| 6010 | q |
---|
| 6011 | } |
---|
| 6012 | s/.*/./; q'` |
---|
| 6013 | test -d "$as_dir" && break |
---|
[8298425] | 6014 | done |
---|
[4ad3480] | 6015 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
---|
| 6016 | } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 |
---|
| 6017 | echo "$as_me: error: cannot create directory $as_dir" >&2;} |
---|
[8298425] | 6018 | { (exit 1); exit 1; }; }; } |
---|
| 6019 | ac_builddir=. |
---|
| 6020 | |
---|
[4ad3480] | 6021 | case "$ac_dir" in |
---|
| 6022 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
---|
| 6023 | *) |
---|
[8298425] | 6024 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
---|
[4ad3480] | 6025 | # A ".." for each directory in $ac_dir_suffix. |
---|
| 6026 | ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` |
---|
| 6027 | case $ac_top_builddir_sub in |
---|
| 6028 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
---|
| 6029 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
---|
| 6030 | esac ;; |
---|
| 6031 | esac |
---|
| 6032 | ac_abs_top_builddir=$ac_pwd |
---|
| 6033 | ac_abs_builddir=$ac_pwd$ac_dir_suffix |
---|
| 6034 | # for backward compatibility: |
---|
| 6035 | ac_top_builddir=$ac_top_build_prefix |
---|
[7d4fbcd] | 6036 | |
---|
[8298425] | 6037 | case $srcdir in |
---|
[4ad3480] | 6038 | .) # We are building in place. |
---|
[8298425] | 6039 | ac_srcdir=. |
---|
[4ad3480] | 6040 | ac_top_srcdir=$ac_top_builddir_sub |
---|
| 6041 | ac_abs_top_srcdir=$ac_pwd ;; |
---|
| 6042 | [\\/]* | ?:[\\/]* ) # Absolute name. |
---|
[8298425] | 6043 | ac_srcdir=$srcdir$ac_dir_suffix; |
---|
[4ad3480] | 6044 | ac_top_srcdir=$srcdir |
---|
| 6045 | ac_abs_top_srcdir=$srcdir ;; |
---|
| 6046 | *) # Relative name. |
---|
| 6047 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
---|
| 6048 | ac_top_srcdir=$ac_top_build_prefix$srcdir |
---|
| 6049 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
---|
[8298425] | 6050 | esac |
---|
[4ad3480] | 6051 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
---|
[8298425] | 6052 | |
---|
| 6053 | |
---|
[4ad3480] | 6054 | case $ac_mode in |
---|
| 6055 | :F) |
---|
| 6056 | # |
---|
| 6057 | # CONFIG_FILE |
---|
| 6058 | # |
---|
[8298425] | 6059 | |
---|
| 6060 | case $INSTALL in |
---|
| 6061 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
---|
[4ad3480] | 6062 | *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; |
---|
[7d4fbcd] | 6063 | esac |
---|
[4ad3480] | 6064 | _ACEOF |
---|
[7d4fbcd] | 6065 | |
---|
[4ad3480] | 6066 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
| 6067 | # If the template does not know about datarootdir, expand it. |
---|
| 6068 | # FIXME: This hack should be removed a few years after 2.60. |
---|
| 6069 | ac_datarootdir_hack=; ac_datarootdir_seen= |
---|
| 6070 | |
---|
| 6071 | case `sed -n '/datarootdir/ { |
---|
| 6072 | p |
---|
| 6073 | q |
---|
| 6074 | } |
---|
| 6075 | /@datadir@/p |
---|
| 6076 | /@docdir@/p |
---|
| 6077 | /@infodir@/p |
---|
| 6078 | /@localedir@/p |
---|
| 6079 | /@mandir@/p |
---|
| 6080 | ' $ac_file_inputs` in |
---|
| 6081 | *datarootdir*) ac_datarootdir_seen=yes;; |
---|
| 6082 | *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
---|
| 6083 | { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
---|
| 6084 | echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
---|
[8298425] | 6085 | _ACEOF |
---|
| 6086 | cat >>$CONFIG_STATUS <<_ACEOF |
---|
[4ad3480] | 6087 | ac_datarootdir_hack=' |
---|
| 6088 | s&@datadir@&$datadir&g |
---|
| 6089 | s&@docdir@&$docdir&g |
---|
| 6090 | s&@infodir@&$infodir&g |
---|
| 6091 | s&@localedir@&$localedir&g |
---|
| 6092 | s&@mandir@&$mandir&g |
---|
| 6093 | s&\\\${datarootdir}&$datarootdir&g' ;; |
---|
| 6094 | esac |
---|
| 6095 | _ACEOF |
---|
| 6096 | |
---|
| 6097 | # Neutralize VPATH when `$srcdir' = `.'. |
---|
| 6098 | # Shell code in configure.ac might set extrasub. |
---|
| 6099 | # FIXME: do we really want to maintain this feature? |
---|
| 6100 | cat >>$CONFIG_STATUS <<_ACEOF |
---|
[8298425] | 6101 | sed "$ac_vpsub |
---|
| 6102 | $extrasub |
---|
| 6103 | _ACEOF |
---|
| 6104 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
| 6105 | :t |
---|
| 6106 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
---|
[4ad3480] | 6107 | s&@configure_input@&$configure_input&;t t |
---|
| 6108 | s&@top_builddir@&$ac_top_builddir_sub&;t t |
---|
| 6109 | s&@srcdir@&$ac_srcdir&;t t |
---|
| 6110 | s&@abs_srcdir@&$ac_abs_srcdir&;t t |
---|
| 6111 | s&@top_srcdir@&$ac_top_srcdir&;t t |
---|
| 6112 | s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t |
---|
| 6113 | s&@builddir@&$ac_builddir&;t t |
---|
| 6114 | s&@abs_builddir@&$ac_abs_builddir&;t t |
---|
| 6115 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
---|
| 6116 | s&@INSTALL@&$ac_INSTALL&;t t |
---|
| 6117 | $ac_datarootdir_hack |
---|
| 6118 | " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out |
---|
| 6119 | |
---|
| 6120 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
---|
| 6121 | { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && |
---|
| 6122 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && |
---|
| 6123 | { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
---|
| 6124 | which seems to be undefined. Please make sure it is defined." >&5 |
---|
| 6125 | echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
---|
| 6126 | which seems to be undefined. Please make sure it is defined." >&2;} |
---|
| 6127 | |
---|
| 6128 | rm -f "$tmp/stdin" |
---|
[8298425] | 6129 | case $ac_file in |
---|
[4ad3480] | 6130 | -) cat "$tmp/out"; rm -f "$tmp/out";; |
---|
| 6131 | *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; |
---|
[7d4fbcd] | 6132 | esac |
---|
[4ad3480] | 6133 | ;; |
---|
| 6134 | :H) |
---|
| 6135 | # |
---|
| 6136 | # CONFIG_HEADER |
---|
| 6137 | # |
---|
[8298425] | 6138 | _ACEOF |
---|
| 6139 | |
---|
[4ad3480] | 6140 | # Transform confdefs.h into a sed script `conftest.defines', that |
---|
| 6141 | # substitutes the proper values into config.h.in to produce config.h. |
---|
| 6142 | rm -f conftest.defines conftest.tail |
---|
| 6143 | # First, append a space to every undef/define line, to ease matching. |
---|
| 6144 | echo 's/$/ /' >conftest.defines |
---|
| 6145 | # Then, protect against being on the right side of a sed subst, or in |
---|
| 6146 | # an unquoted here document, in config.status. If some macros were |
---|
| 6147 | # called several times there might be several #defines for the same |
---|
| 6148 | # symbol, which is useless. But do not sort them, since the last |
---|
| 6149 | # AC_DEFINE must be honored. |
---|
| 6150 | ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* |
---|
| 6151 | # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where |
---|
| 6152 | # NAME is the cpp macro being defined, VALUE is the value it is being given. |
---|
| 6153 | # PARAMS is the parameter list in the macro definition--in most cases, it's |
---|
| 6154 | # just an empty string. |
---|
| 6155 | ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*' |
---|
| 6156 | ac_dB='\\)[ (].*,\\1define\\2' |
---|
| 6157 | ac_dC=' ' |
---|
| 6158 | ac_dD=' ,' |
---|
| 6159 | |
---|
| 6160 | uniq confdefs.h | |
---|
| 6161 | sed -n ' |
---|
| 6162 | t rset |
---|
| 6163 | :rset |
---|
| 6164 | s/^[ ]*#[ ]*define[ ][ ]*// |
---|
| 6165 | t ok |
---|
| 6166 | d |
---|
| 6167 | :ok |
---|
| 6168 | s/[\\&,]/\\&/g |
---|
| 6169 | s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p |
---|
| 6170 | s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p |
---|
| 6171 | ' >>conftest.defines |
---|
| 6172 | |
---|
| 6173 | # Remove the space that was appended to ease matching. |
---|
| 6174 | # Then replace #undef with comments. This is necessary, for |
---|
[7d4fbcd] | 6175 | # example, in the case of _POSIX_SOURCE, which is predefined and required |
---|
| 6176 | # on some systems where configure will not decide to define it. |
---|
[4ad3480] | 6177 | # (The regexp can be short, since the line contains either #define or #undef.) |
---|
| 6178 | echo 's/ $// |
---|
| 6179 | s,^[ #]*u.*,/* & */,' >>conftest.defines |
---|
| 6180 | |
---|
| 6181 | # Break up conftest.defines: |
---|
| 6182 | ac_max_sed_lines=50 |
---|
| 6183 | |
---|
| 6184 | # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1" |
---|
| 6185 | # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2" |
---|
| 6186 | # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1" |
---|
| 6187 | # et cetera. |
---|
| 6188 | ac_in='$ac_file_inputs' |
---|
| 6189 | ac_out='"$tmp/out1"' |
---|
| 6190 | ac_nxt='"$tmp/out2"' |
---|
| 6191 | |
---|
| 6192 | while : |
---|
[8298425] | 6193 | do |
---|
[4ad3480] | 6194 | # Write a here document: |
---|
| 6195 | cat >>$CONFIG_STATUS <<_ACEOF |
---|
| 6196 | # First, check the format of the line: |
---|
| 6197 | cat >"\$tmp/defines.sed" <<\\CEOF |
---|
| 6198 | /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def |
---|
| 6199 | /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def |
---|
| 6200 | b |
---|
| 6201 | :def |
---|
| 6202 | _ACEOF |
---|
| 6203 | sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS |
---|
[8298425] | 6204 | echo 'CEOF |
---|
[4ad3480] | 6205 | sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS |
---|
| 6206 | ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in |
---|
| 6207 | sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail |
---|
| 6208 | grep . conftest.tail >/dev/null || break |
---|
[8298425] | 6209 | rm -f conftest.defines |
---|
| 6210 | mv conftest.tail conftest.defines |
---|
| 6211 | done |
---|
[4ad3480] | 6212 | rm -f conftest.defines conftest.tail |
---|
[8298425] | 6213 | |
---|
[4ad3480] | 6214 | echo "ac_result=$ac_in" >>$CONFIG_STATUS |
---|
[8298425] | 6215 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
| 6216 | if test x"$ac_file" != x-; then |
---|
[4ad3480] | 6217 | echo "/* $configure_input */" >"$tmp/config.h" |
---|
| 6218 | cat "$ac_result" >>"$tmp/config.h" |
---|
| 6219 | if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then |
---|
[8298425] | 6220 | { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 |
---|
| 6221 | echo "$as_me: $ac_file is unchanged" >&6;} |
---|
| 6222 | else |
---|
| 6223 | rm -f $ac_file |
---|
[4ad3480] | 6224 | mv "$tmp/config.h" $ac_file |
---|
[7d4fbcd] | 6225 | fi |
---|
[8298425] | 6226 | else |
---|
[4ad3480] | 6227 | echo "/* $configure_input */" |
---|
| 6228 | cat "$ac_result" |
---|
[7d4fbcd] | 6229 | fi |
---|
[4ad3480] | 6230 | rm -f "$tmp/out12" |
---|
| 6231 | ;; |
---|
| 6232 | |
---|
| 6233 | |
---|
| 6234 | esac |
---|
| 6235 | |
---|
| 6236 | done # for ac_tag |
---|
[7d4fbcd] | 6237 | |
---|
| 6238 | |
---|
[8298425] | 6239 | { (exit 0); exit 0; } |
---|
| 6240 | _ACEOF |
---|
[7d4fbcd] | 6241 | chmod +x $CONFIG_STATUS |
---|
[8298425] | 6242 | ac_clean_files=$ac_clean_files_save |
---|
| 6243 | |
---|
| 6244 | |
---|
| 6245 | # configure is writing to config.log, and then calls config.status. |
---|
| 6246 | # config.status does its own redirection, appending to config.log. |
---|
| 6247 | # Unfortunately, on DOS this fails, as config.log is still kept open |
---|
| 6248 | # by configure, so config.status won't be able to write to it; its |
---|
| 6249 | # output is simply discarded. So we exec the FD to /dev/null, |
---|
| 6250 | # effectively closing config.log, so it can be properly (re)opened and |
---|
| 6251 | # appended to by config.status. When coming back to configure, we |
---|
| 6252 | # need to make the FD available again. |
---|
| 6253 | if test "$no_create" != yes; then |
---|
| 6254 | ac_cs_success=: |
---|
| 6255 | ac_config_status_args= |
---|
| 6256 | test "$silent" = yes && |
---|
| 6257 | ac_config_status_args="$ac_config_status_args --quiet" |
---|
| 6258 | exec 5>/dev/null |
---|
| 6259 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
---|
| 6260 | exec 5>>config.log |
---|
| 6261 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
---|
| 6262 | # would make configure fail if this is the last instruction. |
---|
| 6263 | $ac_cs_success || { (exit 1); exit 1; } |
---|
| 6264 | fi |
---|
[7d4fbcd] | 6265 | |
---|
[8298425] | 6266 | # |
---|
| 6267 | # CONFIG_SUBDIRS section. |
---|
| 6268 | # |
---|
[d09e5a1] | 6269 | if test "$no_recursion" != yes; then |
---|
| 6270 | |
---|
| 6271 | # Remove --cache-file and --srcdir arguments so they do not pile up. |
---|
| 6272 | ac_sub_configure_args= |
---|
| 6273 | ac_prev= |
---|
[4ad3480] | 6274 | eval "set x $ac_configure_args" |
---|
| 6275 | shift |
---|
| 6276 | for ac_arg |
---|
| 6277 | do |
---|
[d09e5a1] | 6278 | if test -n "$ac_prev"; then |
---|
| 6279 | ac_prev= |
---|
| 6280 | continue |
---|
| 6281 | fi |
---|
[8298425] | 6282 | case $ac_arg in |
---|
[d09e5a1] | 6283 | -cache-file | --cache-file | --cache-fil | --cache-fi \ |
---|
| 6284 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
---|
| 6285 | ac_prev=cache_file ;; |
---|
| 6286 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
---|
[8298425] | 6287 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \ |
---|
| 6288 | | --c=*) |
---|
| 6289 | ;; |
---|
| 6290 | --config-cache | -C) |
---|
[d09e5a1] | 6291 | ;; |
---|
| 6292 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
---|
| 6293 | ac_prev=srcdir ;; |
---|
| 6294 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
---|
| 6295 | ;; |
---|
[8298425] | 6296 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
---|
| 6297 | ac_prev=prefix ;; |
---|
| 6298 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
---|
| 6299 | ;; |
---|
[4ad3480] | 6300 | *) |
---|
| 6301 | case $ac_arg in |
---|
| 6302 | *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
---|
| 6303 | esac |
---|
| 6304 | ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;; |
---|
[d09e5a1] | 6305 | esac |
---|
| 6306 | done |
---|
| 6307 | |
---|
[8298425] | 6308 | # Always prepend --prefix to ensure using the same prefix |
---|
| 6309 | # in subdir configurations. |
---|
[4ad3480] | 6310 | ac_arg="--prefix=$prefix" |
---|
| 6311 | case $ac_arg in |
---|
| 6312 | *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
---|
| 6313 | esac |
---|
| 6314 | ac_sub_configure_args="$ac_arg $ac_sub_configure_args" |
---|
[8298425] | 6315 | |
---|
| 6316 | ac_popdir=`pwd` |
---|
| 6317 | for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue |
---|
[d09e5a1] | 6318 | |
---|
| 6319 | # Do not complain, so a configure script can configure whichever |
---|
| 6320 | # parts of a large source tree are present. |
---|
[4ad3480] | 6321 | test -d "$srcdir/$ac_dir" || continue |
---|
| 6322 | |
---|
| 6323 | ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)" |
---|
| 6324 | echo "$as_me:$LINENO: $ac_msg" >&5 |
---|
| 6325 | echo "$ac_msg" >&6 |
---|
| 6326 | { as_dir="$ac_dir" |
---|
| 6327 | case $as_dir in #( |
---|
| 6328 | -*) as_dir=./$as_dir;; |
---|
| 6329 | esac |
---|
| 6330 | test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { |
---|
[8298425] | 6331 | as_dirs= |
---|
[4ad3480] | 6332 | while :; do |
---|
| 6333 | case $as_dir in #( |
---|
| 6334 | *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( |
---|
| 6335 | *) as_qdir=$as_dir;; |
---|
| 6336 | esac |
---|
| 6337 | as_dirs="'$as_qdir' $as_dirs" |
---|
| 6338 | as_dir=`$as_dirname -- "$as_dir" || |
---|
[8298425] | 6339 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
| 6340 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
---|
| 6341 | X"$as_dir" : 'X\(//\)$' \| \ |
---|
[4ad3480] | 6342 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
---|
[8298425] | 6343 | echo X"$as_dir" | |
---|
[4ad3480] | 6344 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
| 6345 | s//\1/ |
---|
| 6346 | q |
---|
| 6347 | } |
---|
| 6348 | /^X\(\/\/\)[^/].*/{ |
---|
| 6349 | s//\1/ |
---|
| 6350 | q |
---|
| 6351 | } |
---|
| 6352 | /^X\(\/\/\)$/{ |
---|
| 6353 | s//\1/ |
---|
| 6354 | q |
---|
| 6355 | } |
---|
| 6356 | /^X\(\/\).*/{ |
---|
| 6357 | s//\1/ |
---|
| 6358 | q |
---|
| 6359 | } |
---|
| 6360 | s/.*/./; q'` |
---|
| 6361 | test -d "$as_dir" && break |
---|
[8298425] | 6362 | done |
---|
[4ad3480] | 6363 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
---|
| 6364 | } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 |
---|
| 6365 | echo "$as_me: error: cannot create directory $as_dir" >&2;} |
---|
[8298425] | 6366 | { (exit 1); exit 1; }; }; } |
---|
| 6367 | ac_builddir=. |
---|
| 6368 | |
---|
[4ad3480] | 6369 | case "$ac_dir" in |
---|
| 6370 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
---|
| 6371 | *) |
---|
[8298425] | 6372 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
---|
[4ad3480] | 6373 | # A ".." for each directory in $ac_dir_suffix. |
---|
| 6374 | ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` |
---|
| 6375 | case $ac_top_builddir_sub in |
---|
| 6376 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
---|
| 6377 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
---|
| 6378 | esac ;; |
---|
| 6379 | esac |
---|
| 6380 | ac_abs_top_builddir=$ac_pwd |
---|
| 6381 | ac_abs_builddir=$ac_pwd$ac_dir_suffix |
---|
| 6382 | # for backward compatibility: |
---|
| 6383 | ac_top_builddir=$ac_top_build_prefix |
---|
[d09e5a1] | 6384 | |
---|
[8298425] | 6385 | case $srcdir in |
---|
[4ad3480] | 6386 | .) # We are building in place. |
---|
[8298425] | 6387 | ac_srcdir=. |
---|
[4ad3480] | 6388 | ac_top_srcdir=$ac_top_builddir_sub |
---|
| 6389 | ac_abs_top_srcdir=$ac_pwd ;; |
---|
| 6390 | [\\/]* | ?:[\\/]* ) # Absolute name. |
---|
[8298425] | 6391 | ac_srcdir=$srcdir$ac_dir_suffix; |
---|
[4ad3480] | 6392 | ac_top_srcdir=$srcdir |
---|
| 6393 | ac_abs_top_srcdir=$srcdir ;; |
---|
| 6394 | *) # Relative name. |
---|
| 6395 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
---|
| 6396 | ac_top_srcdir=$ac_top_build_prefix$srcdir |
---|
| 6397 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
---|
[8298425] | 6398 | esac |
---|
[4ad3480] | 6399 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
---|
[8298425] | 6400 | |
---|
| 6401 | |
---|
[4ad3480] | 6402 | cd "$ac_dir" |
---|
[d09e5a1] | 6403 | |
---|
| 6404 | # Check for guested configure; otherwise get Cygnus style configure. |
---|
[4ad3480] | 6405 | if test -f "$ac_srcdir/configure.gnu"; then |
---|
| 6406 | ac_sub_configure=$ac_srcdir/configure.gnu |
---|
| 6407 | elif test -f "$ac_srcdir/configure"; then |
---|
| 6408 | ac_sub_configure=$ac_srcdir/configure |
---|
| 6409 | elif test -f "$ac_srcdir/configure.in"; then |
---|
| 6410 | # This should be Cygnus configure. |
---|
| 6411 | ac_sub_configure=$ac_aux_dir/configure |
---|
[d09e5a1] | 6412 | else |
---|
[8298425] | 6413 | { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5 |
---|
| 6414 | echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} |
---|
[d09e5a1] | 6415 | ac_sub_configure= |
---|
| 6416 | fi |
---|
| 6417 | |
---|
| 6418 | # The recursion is here. |
---|
| 6419 | if test -n "$ac_sub_configure"; then |
---|
| 6420 | # Make the cache file name correct relative to the subdirectory. |
---|
[8298425] | 6421 | case $cache_file in |
---|
| 6422 | [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;; |
---|
[4ad3480] | 6423 | *) # Relative name. |
---|
| 6424 | ac_sub_cache_file=$ac_top_build_prefix$cache_file ;; |
---|
[d09e5a1] | 6425 | esac |
---|
| 6426 | |
---|
[4ad3480] | 6427 | { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5 |
---|
| 6428 | echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} |
---|
[d09e5a1] | 6429 | # The eval makes quoting arguments work. |
---|
[4ad3480] | 6430 | eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \ |
---|
| 6431 | --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" || |
---|
[8298425] | 6432 | { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5 |
---|
| 6433 | echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;} |
---|
| 6434 | { (exit 1); exit 1; }; } |
---|
[d09e5a1] | 6435 | fi |
---|
| 6436 | |
---|
[4ad3480] | 6437 | cd "$ac_popdir" |
---|
[d09e5a1] | 6438 | done |
---|
| 6439 | fi |
---|
| 6440 | |
---|