| 1 | #! /bin/sh |
|---|
| 2 | # Guess values for system-dependent variables and create Makefiles. |
|---|
| 3 | # Generated by GNU Autoconf 2.61. |
|---|
| 4 | # |
|---|
| 5 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
|---|
| 6 | # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. |
|---|
| 7 | # This configure script is free software; the Free Software Foundation |
|---|
| 8 | # gives unlimited permission to copy, distribute and modify it. |
|---|
| 9 | ## --------------------- ## |
|---|
| 10 | ## M4sh Initialization. ## |
|---|
| 11 | ## --------------------- ## |
|---|
| 12 | |
|---|
| 13 | # Be more Bourne compatible |
|---|
| 14 | DUALCASE=1; export DUALCASE # for MKS sh |
|---|
| 15 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
|---|
| 16 | emulate sh |
|---|
| 17 | NULLCMD=: |
|---|
| 18 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
|---|
| 19 | # is contrary to our usage. Disable this feature. |
|---|
| 20 | alias -g '${1+"$@"}'='"$@"' |
|---|
| 21 | setopt NO_GLOB_SUBST |
|---|
| 22 | else |
|---|
| 23 | case `(set -o) 2>/dev/null` in |
|---|
| 24 | *posix*) set -o posix ;; |
|---|
| 25 | esac |
|---|
| 26 | |
|---|
| 27 | fi |
|---|
| 28 | |
|---|
| 29 | |
|---|
| 30 | |
|---|
| 31 | |
|---|
| 32 | # PATH needs CR |
|---|
| 33 | # Avoid depending upon Character Ranges. |
|---|
| 34 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
|---|
| 35 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
|---|
| 36 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
|---|
| 37 | as_cr_digits='0123456789' |
|---|
| 38 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
|---|
| 39 | |
|---|
| 40 | # The user is always right. |
|---|
| 41 | if test "${PATH_SEPARATOR+set}" != set; then |
|---|
| 42 | echo "#! /bin/sh" >conf$$.sh |
|---|
| 43 | echo "exit 0" >>conf$$.sh |
|---|
| 44 | chmod +x conf$$.sh |
|---|
| 45 | if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
|---|
| 46 | PATH_SEPARATOR=';' |
|---|
| 47 | else |
|---|
| 48 | PATH_SEPARATOR=: |
|---|
| 49 | fi |
|---|
| 50 | rm -f conf$$.sh |
|---|
| 51 | fi |
|---|
| 52 | |
|---|
| 53 | # Support unset when possible. |
|---|
| 54 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
|---|
| 55 | as_unset=unset |
|---|
| 56 | else |
|---|
| 57 | as_unset=false |
|---|
| 58 | fi |
|---|
| 59 | |
|---|
| 60 | |
|---|
| 61 | # IFS |
|---|
| 62 | # We need space, tab and new line, in precisely that order. Quoting is |
|---|
| 63 | # there to prevent editors from complaining about space-tab. |
|---|
| 64 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
|---|
| 65 | # splitting by setting IFS to empty value.) |
|---|
| 66 | as_nl=' |
|---|
| 67 | ' |
|---|
| 68 | IFS=" "" $as_nl" |
|---|
| 69 | |
|---|
| 70 | # Find who we are. Look in the path if we contain no directory separator. |
|---|
| 71 | case $0 in |
|---|
| 72 | *[\\/]* ) as_myself=$0 ;; |
|---|
| 73 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|---|
| 74 | for as_dir in $PATH |
|---|
| 75 | do |
|---|
| 76 | IFS=$as_save_IFS |
|---|
| 77 | test -z "$as_dir" && as_dir=. |
|---|
| 78 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
|---|
| 79 | done |
|---|
| 80 | IFS=$as_save_IFS |
|---|
| 81 | |
|---|
| 82 | ;; |
|---|
| 83 | esac |
|---|
| 84 | # We did not find ourselves, most probably we were run as `sh COMMAND' |
|---|
| 85 | # in which case we are not to be found in the path. |
|---|
| 86 | if test "x$as_myself" = x; then |
|---|
| 87 | as_myself=$0 |
|---|
| 88 | fi |
|---|
| 89 | if test ! -f "$as_myself"; then |
|---|
| 90 | echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
|---|
| 91 | { (exit 1); exit 1; } |
|---|
| 92 | fi |
|---|
| 93 | |
|---|
| 94 | # Work around bugs in pre-3.0 UWIN ksh. |
|---|
| 95 | for as_var in ENV MAIL MAILPATH |
|---|
| 96 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
|---|
| 97 | done |
|---|
| 98 | PS1='$ ' |
|---|
| 99 | PS2='> ' |
|---|
| 100 | PS4='+ ' |
|---|
| 101 | |
|---|
| 102 | # NLS nuisances. |
|---|
| 103 | for as_var in \ |
|---|
| 104 | LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
|---|
| 105 | LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
|---|
| 106 | LC_TELEPHONE LC_TIME |
|---|
| 107 | do |
|---|
| 108 | if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
|---|
| 109 | eval $as_var=C; export $as_var |
|---|
| 110 | else |
|---|
| 111 | ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
|---|
| 112 | fi |
|---|
| 113 | done |
|---|
| 114 | |
|---|
| 115 | # Required to use basename. |
|---|
| 116 | if expr a : '\(a\)' >/dev/null 2>&1 && |
|---|
| 117 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
|---|
| 118 | as_expr=expr |
|---|
| 119 | else |
|---|
| 120 | as_expr=false |
|---|
| 121 | fi |
|---|
| 122 | |
|---|
| 123 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
|---|
| 124 | as_basename=basename |
|---|
| 125 | else |
|---|
| 126 | as_basename=false |
|---|
| 127 | fi |
|---|
| 128 | |
|---|
| 129 | |
|---|
| 130 | # Name of the executable. |
|---|
| 131 | as_me=`$as_basename -- "$0" || |
|---|
| 132 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
|---|
| 133 | X"$0" : 'X\(//\)$' \| \ |
|---|
| 134 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
|---|
| 135 | echo X/"$0" | |
|---|
| 136 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
|---|
| 137 | s//\1/ |
|---|
| 138 | q |
|---|
| 139 | } |
|---|
| 140 | /^X\/\(\/\/\)$/{ |
|---|
| 141 | s//\1/ |
|---|
| 142 | q |
|---|
| 143 | } |
|---|
| 144 | /^X\/\(\/\).*/{ |
|---|
| 145 | s//\1/ |
|---|
| 146 | q |
|---|
| 147 | } |
|---|
| 148 | s/.*/./; q'` |
|---|
| 149 | |
|---|
| 150 | # CDPATH. |
|---|
| 151 | $as_unset CDPATH |
|---|
| 152 | |
|---|
| 153 | |
|---|
| 154 | if test "x$CONFIG_SHELL" = x; then |
|---|
| 155 | if (eval ":") 2>/dev/null; then |
|---|
| 156 | as_have_required=yes |
|---|
| 157 | else |
|---|
| 158 | as_have_required=no |
|---|
| 159 | fi |
|---|
| 160 | |
|---|
| 161 | if test $as_have_required = yes && (eval ": |
|---|
| 162 | (as_func_return () { |
|---|
| 163 | (exit \$1) |
|---|
| 164 | } |
|---|
| 165 | as_func_success () { |
|---|
| 166 | as_func_return 0 |
|---|
| 167 | } |
|---|
| 168 | as_func_failure () { |
|---|
| 169 | as_func_return 1 |
|---|
| 170 | } |
|---|
| 171 | as_func_ret_success () { |
|---|
| 172 | return 0 |
|---|
| 173 | } |
|---|
| 174 | as_func_ret_failure () { |
|---|
| 175 | return 1 |
|---|
| 176 | } |
|---|
| 177 | |
|---|
| 178 | exitcode=0 |
|---|
| 179 | if as_func_success; then |
|---|
| 180 | : |
|---|
| 181 | else |
|---|
| 182 | exitcode=1 |
|---|
| 183 | echo as_func_success failed. |
|---|
| 184 | fi |
|---|
| 185 | |
|---|
| 186 | if as_func_failure; then |
|---|
| 187 | exitcode=1 |
|---|
| 188 | echo as_func_failure succeeded. |
|---|
| 189 | fi |
|---|
| 190 | |
|---|
| 191 | if as_func_ret_success; then |
|---|
| 192 | : |
|---|
| 193 | else |
|---|
| 194 | exitcode=1 |
|---|
| 195 | echo as_func_ret_success failed. |
|---|
| 196 | fi |
|---|
| 197 | |
|---|
| 198 | if as_func_ret_failure; then |
|---|
| 199 | exitcode=1 |
|---|
| 200 | echo as_func_ret_failure succeeded. |
|---|
| 201 | fi |
|---|
| 202 | |
|---|
| 203 | if ( set x; as_func_ret_success y && test x = \"\$1\" ); then |
|---|
| 204 | : |
|---|
| 205 | else |
|---|
| 206 | exitcode=1 |
|---|
| 207 | echo positional parameters were not saved. |
|---|
| 208 | fi |
|---|
| 209 | |
|---|
| 210 | test \$exitcode = 0) || { (exit 1); exit 1; } |
|---|
| 211 | |
|---|
| 212 | ( |
|---|
| 213 | as_lineno_1=\$LINENO |
|---|
| 214 | as_lineno_2=\$LINENO |
|---|
| 215 | test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && |
|---|
| 216 | test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } |
|---|
| 217 | ") 2> /dev/null; then |
|---|
| 218 | : |
|---|
| 219 | else |
|---|
| 220 | as_candidate_shells= |
|---|
| 221 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|---|
| 222 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
|---|
| 223 | do |
|---|
| 224 | IFS=$as_save_IFS |
|---|
| 225 | test -z "$as_dir" && as_dir=. |
|---|
| 226 | case $as_dir in |
|---|
| 227 | /*) |
|---|
| 228 | for as_base in sh bash ksh sh5; do |
|---|
| 229 | as_candidate_shells="$as_candidate_shells $as_dir/$as_base" |
|---|
| 230 | done;; |
|---|
| 231 | esac |
|---|
| 232 | done |
|---|
| 233 | IFS=$as_save_IFS |
|---|
| 234 | |
|---|
| 235 | |
|---|
| 236 | for as_shell in $as_candidate_shells $SHELL; do |
|---|
| 237 | # Try only shells that exist, to save several forks. |
|---|
| 238 | if { test -f "$as_shell" || test -f "$as_shell.exe"; } && |
|---|
| 239 | { ("$as_shell") 2> /dev/null <<\_ASEOF |
|---|
| 240 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
|---|
| 241 | emulate sh |
|---|
| 242 | NULLCMD=: |
|---|
| 243 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
|---|
| 244 | # is contrary to our usage. Disable this feature. |
|---|
| 245 | alias -g '${1+"$@"}'='"$@"' |
|---|
| 246 | setopt NO_GLOB_SUBST |
|---|
| 247 | else |
|---|
| 248 | case `(set -o) 2>/dev/null` in |
|---|
| 249 | *posix*) set -o posix ;; |
|---|
| 250 | esac |
|---|
| 251 | |
|---|
| 252 | fi |
|---|
| 253 | |
|---|
| 254 | |
|---|
| 255 | : |
|---|
| 256 | _ASEOF |
|---|
| 257 | }; then |
|---|
| 258 | CONFIG_SHELL=$as_shell |
|---|
| 259 | as_have_required=yes |
|---|
| 260 | if { "$as_shell" 2> /dev/null <<\_ASEOF |
|---|
| 261 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
|---|
| 262 | emulate sh |
|---|
| 263 | NULLCMD=: |
|---|
| 264 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
|---|
| 265 | # is contrary to our usage. Disable this feature. |
|---|
| 266 | alias -g '${1+"$@"}'='"$@"' |
|---|
| 267 | setopt NO_GLOB_SUBST |
|---|
| 268 | else |
|---|
| 269 | case `(set -o) 2>/dev/null` in |
|---|
| 270 | *posix*) set -o posix ;; |
|---|
| 271 | esac |
|---|
| 272 | |
|---|
| 273 | fi |
|---|
| 274 | |
|---|
| 275 | |
|---|
| 276 | : |
|---|
| 277 | (as_func_return () { |
|---|
| 278 | (exit $1) |
|---|
| 279 | } |
|---|
| 280 | as_func_success () { |
|---|
| 281 | as_func_return 0 |
|---|
| 282 | } |
|---|
| 283 | as_func_failure () { |
|---|
| 284 | as_func_return 1 |
|---|
| 285 | } |
|---|
| 286 | as_func_ret_success () { |
|---|
| 287 | return 0 |
|---|
| 288 | } |
|---|
| 289 | as_func_ret_failure () { |
|---|
| 290 | return 1 |
|---|
| 291 | } |
|---|
| 292 | |
|---|
| 293 | exitcode=0 |
|---|
| 294 | if as_func_success; then |
|---|
| 295 | : |
|---|
| 296 | else |
|---|
| 297 | exitcode=1 |
|---|
| 298 | echo as_func_success failed. |
|---|
| 299 | fi |
|---|
| 300 | |
|---|
| 301 | if as_func_failure; then |
|---|
| 302 | exitcode=1 |
|---|
| 303 | echo as_func_failure succeeded. |
|---|
| 304 | fi |
|---|
| 305 | |
|---|
| 306 | if as_func_ret_success; then |
|---|
| 307 | : |
|---|
| 308 | else |
|---|
| 309 | exitcode=1 |
|---|
| 310 | echo as_func_ret_success failed. |
|---|
| 311 | fi |
|---|
| 312 | |
|---|
| 313 | if as_func_ret_failure; then |
|---|
| 314 | exitcode=1 |
|---|
| 315 | echo as_func_ret_failure succeeded. |
|---|
| 316 | fi |
|---|
| 317 | |
|---|
| 318 | if ( set x; as_func_ret_success y && test x = "$1" ); then |
|---|
| 319 | : |
|---|
| 320 | else |
|---|
| 321 | exitcode=1 |
|---|
| 322 | echo positional parameters were not saved. |
|---|
| 323 | fi |
|---|
| 324 | |
|---|
| 325 | test $exitcode = 0) || { (exit 1); exit 1; } |
|---|
| 326 | |
|---|
| 327 | ( |
|---|
| 328 | as_lineno_1=$LINENO |
|---|
| 329 | as_lineno_2=$LINENO |
|---|
| 330 | test "x$as_lineno_1" != "x$as_lineno_2" && |
|---|
| 331 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } |
|---|
| 332 | |
|---|
| 333 | _ASEOF |
|---|
| 334 | }; then |
|---|
| 335 | break |
|---|
| 336 | fi |
|---|
| 337 | |
|---|
| 338 | fi |
|---|
| 339 | |
|---|
| 340 | done |
|---|
| 341 | |
|---|
| 342 | if test "x$CONFIG_SHELL" != x; then |
|---|
| 343 | for as_var in BASH_ENV ENV |
|---|
| 344 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
|---|
| 345 | done |
|---|
| 346 | export CONFIG_SHELL |
|---|
| 347 | exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} |
|---|
| 348 | fi |
|---|
| 349 | |
|---|
| 350 | |
|---|
| 351 | if test $as_have_required = no; then |
|---|
| 352 | echo This script requires a shell more modern than all the |
|---|
| 353 | echo shells that I found on your system. Please install a |
|---|
| 354 | echo modern shell, or manually run the script under such a |
|---|
| 355 | echo shell if you do have one. |
|---|
| 356 | { (exit 1); exit 1; } |
|---|
| 357 | fi |
|---|
| 358 | |
|---|
| 359 | |
|---|
| 360 | fi |
|---|
| 361 | |
|---|
| 362 | fi |
|---|
| 363 | |
|---|
| 364 | |
|---|
| 365 | |
|---|
| 366 | (eval "as_func_return () { |
|---|
| 367 | (exit \$1) |
|---|
| 368 | } |
|---|
| 369 | as_func_success () { |
|---|
| 370 | as_func_return 0 |
|---|
| 371 | } |
|---|
| 372 | as_func_failure () { |
|---|
| 373 | as_func_return 1 |
|---|
| 374 | } |
|---|
| 375 | as_func_ret_success () { |
|---|
| 376 | return 0 |
|---|
| 377 | } |
|---|
| 378 | as_func_ret_failure () { |
|---|
| 379 | return 1 |
|---|
| 380 | } |
|---|
| 381 | |
|---|
| 382 | exitcode=0 |
|---|
| 383 | if as_func_success; then |
|---|
| 384 | : |
|---|
| 385 | else |
|---|
| 386 | exitcode=1 |
|---|
| 387 | echo as_func_success failed. |
|---|
| 388 | fi |
|---|
| 389 | |
|---|
| 390 | if as_func_failure; then |
|---|
| 391 | exitcode=1 |
|---|
| 392 | echo as_func_failure succeeded. |
|---|
| 393 | fi |
|---|
| 394 | |
|---|
| 395 | if as_func_ret_success; then |
|---|
| 396 | : |
|---|
| 397 | else |
|---|
| 398 | exitcode=1 |
|---|
| 399 | echo as_func_ret_success failed. |
|---|
| 400 | fi |
|---|
| 401 | |
|---|
| 402 | if as_func_ret_failure; then |
|---|
| 403 | exitcode=1 |
|---|
| 404 | echo as_func_ret_failure succeeded. |
|---|
| 405 | fi |
|---|
| 406 | |
|---|
| 407 | if ( set x; as_func_ret_success y && test x = \"\$1\" ); then |
|---|
| 408 | : |
|---|
| 409 | else |
|---|
| 410 | exitcode=1 |
|---|
| 411 | echo positional parameters were not saved. |
|---|
| 412 | fi |
|---|
| 413 | |
|---|
| 414 | test \$exitcode = 0") || { |
|---|
| 415 | echo No shell found that supports shell functions. |
|---|
| 416 | echo Please tell autoconf@gnu.org about your system, |
|---|
| 417 | echo including any error possibly output before this |
|---|
| 418 | echo message |
|---|
| 419 | } |
|---|
| 420 | |
|---|
| 421 | |
|---|
| 422 | |
|---|
| 423 | as_lineno_1=$LINENO |
|---|
| 424 | as_lineno_2=$LINENO |
|---|
| 425 | test "x$as_lineno_1" != "x$as_lineno_2" && |
|---|
| 426 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { |
|---|
| 427 | |
|---|
| 428 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
|---|
| 429 | # uniformly replaced by the line number. The first 'sed' inserts a |
|---|
| 430 | # line-number line after each line using $LINENO; the second 'sed' |
|---|
| 431 | # does the real work. The second script uses 'N' to pair each |
|---|
| 432 | # line-number line with the line containing $LINENO, and appends |
|---|
| 433 | # trailing '-' during substitution so that $LINENO is not a special |
|---|
| 434 | # case at line end. |
|---|
| 435 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
|---|
| 436 | # scripts with optimization help from Paolo Bonzini. Blame Lee |
|---|
| 437 | # E. McMahon (1931-1989) for sed's syntax. :-) |
|---|
| 438 | sed -n ' |
|---|
| 439 | p |
|---|
| 440 | /[$]LINENO/= |
|---|
| 441 | ' <$as_myself | |
|---|
| 442 | sed ' |
|---|
| 443 | s/[$]LINENO.*/&-/ |
|---|
| 444 | t lineno |
|---|
| 445 | b |
|---|
| 446 | :lineno |
|---|
| 447 | N |
|---|
| 448 | :loop |
|---|
| 449 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
|---|
| 450 | t loop |
|---|
| 451 | s/-\n.*// |
|---|
| 452 | ' >$as_me.lineno && |
|---|
| 453 | chmod +x "$as_me.lineno" || |
|---|
| 454 | { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
|---|
| 455 | { (exit 1); exit 1; }; } |
|---|
| 456 | |
|---|
| 457 | # Don't try to exec as it changes $[0], causing all sort of problems |
|---|
| 458 | # (the dirname of $[0] is not the place where we might find the |
|---|
| 459 | # original and so on. Autoconf is especially sensitive to this). |
|---|
| 460 | . "./$as_me.lineno" |
|---|
| 461 | # Exit status is that of the last command. |
|---|
| 462 | exit |
|---|
| 463 | } |
|---|
| 464 | |
|---|
| 465 | |
|---|
| 466 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
|---|
| 467 | as_dirname=dirname |
|---|
| 468 | else |
|---|
| 469 | as_dirname=false |
|---|
| 470 | fi |
|---|
| 471 | |
|---|
| 472 | ECHO_C= ECHO_N= ECHO_T= |
|---|
| 473 | case `echo -n x` in |
|---|
| 474 | -n*) |
|---|
| 475 | case `echo 'x\c'` in |
|---|
| 476 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
|---|
| 477 | *) ECHO_C='\c';; |
|---|
| 478 | esac;; |
|---|
| 479 | *) |
|---|
| 480 | ECHO_N='-n';; |
|---|
| 481 | esac |
|---|
| 482 | |
|---|
| 483 | if expr a : '\(a\)' >/dev/null 2>&1 && |
|---|
| 484 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
|---|
| 485 | as_expr=expr |
|---|
| 486 | else |
|---|
| 487 | as_expr=false |
|---|
| 488 | fi |
|---|
| 489 | |
|---|
| 490 | rm -f conf$$ conf$$.exe conf$$.file |
|---|
| 491 | if test -d conf$$.dir; then |
|---|
| 492 | rm -f conf$$.dir/conf$$.file |
|---|
| 493 | else |
|---|
| 494 | rm -f conf$$.dir |
|---|
| 495 | mkdir conf$$.dir |
|---|
| 496 | fi |
|---|
| 497 | echo >conf$$.file |
|---|
| 498 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
|---|
| 499 | as_ln_s='ln -s' |
|---|
| 500 | # ... but there are two gotchas: |
|---|
| 501 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
|---|
| 502 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
|---|
| 503 | # In both cases, we have to default to `cp -p'. |
|---|
| 504 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
|---|
| 505 | as_ln_s='cp -p' |
|---|
| 506 | elif ln conf$$.file conf$$ 2>/dev/null; then |
|---|
| 507 | as_ln_s=ln |
|---|
| 508 | else |
|---|
| 509 | as_ln_s='cp -p' |
|---|
| 510 | fi |
|---|
| 511 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
|---|
| 512 | rmdir conf$$.dir 2>/dev/null |
|---|
| 513 | |
|---|
| 514 | if mkdir -p . 2>/dev/null; then |
|---|
| 515 | as_mkdir_p=: |
|---|
| 516 | else |
|---|
| 517 | test -d ./-p && rmdir ./-p |
|---|
| 518 | as_mkdir_p=false |
|---|
| 519 | fi |
|---|
| 520 | |
|---|
| 521 | if test -x / >/dev/null 2>&1; then |
|---|
| 522 | as_test_x='test -x' |
|---|
| 523 | else |
|---|
| 524 | if ls -dL / >/dev/null 2>&1; then |
|---|
| 525 | as_ls_L_option=L |
|---|
| 526 | else |
|---|
| 527 | as_ls_L_option= |
|---|
| 528 | fi |
|---|
| 529 | as_test_x=' |
|---|
| 530 | eval sh -c '\'' |
|---|
| 531 | if test -d "$1"; then |
|---|
| 532 | test -d "$1/."; |
|---|
| 533 | else |
|---|
| 534 | case $1 in |
|---|
| 535 | -*)set "./$1";; |
|---|
| 536 | esac; |
|---|
| 537 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in |
|---|
| 538 | ???[sx]*):;;*)false;;esac;fi |
|---|
| 539 | '\'' sh |
|---|
| 540 | ' |
|---|
| 541 | fi |
|---|
| 542 | as_executable_p=$as_test_x |
|---|
| 543 | |
|---|
| 544 | # Sed expression to map a string onto a valid CPP name. |
|---|
| 545 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
|---|
| 546 | |
|---|
| 547 | # Sed expression to map a string onto a valid variable name. |
|---|
| 548 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
|---|
| 549 | |
|---|
| 550 | |
|---|
| 551 | |
|---|
| 552 | exec 7<&0 </dev/null 6>&1 |
|---|
| 553 | |
|---|
| 554 | # Name of the host. |
|---|
| 555 | # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
|---|
| 556 | # so uname gets run too. |
|---|
| 557 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
|---|
| 558 | |
|---|
| 559 | # |
|---|
| 560 | # Initializations. |
|---|
| 561 | # |
|---|
| 562 | ac_default_prefix=/usr/local |
|---|
| 563 | ac_clean_files= |
|---|
| 564 | ac_config_libobj_dir=. |
|---|
| 565 | LIBOBJS= |
|---|
| 566 | cross_compiling=no |
|---|
| 567 | subdirs= |
|---|
| 568 | MFLAGS= |
|---|
| 569 | MAKEFLAGS= |
|---|
| 570 | SHELL=${CONFIG_SHELL-/bin/sh} |
|---|
| 571 | |
|---|
| 572 | # Identity of this package. |
|---|
| 573 | PACKAGE_NAME= |
|---|
| 574 | PACKAGE_TARNAME= |
|---|
| 575 | PACKAGE_VERSION= |
|---|
| 576 | PACKAGE_STRING= |
|---|
| 577 | PACKAGE_BUGREPORT= |
|---|
| 578 | |
|---|
| 579 | ac_unique_file="owl.c" |
|---|
| 580 | # Factoring default headers for most tests. |
|---|
| 581 | ac_includes_default="\ |
|---|
| 582 | #include <stdio.h> |
|---|
| 583 | #ifdef HAVE_SYS_TYPES_H |
|---|
| 584 | # include <sys/types.h> |
|---|
| 585 | #endif |
|---|
| 586 | #ifdef HAVE_SYS_STAT_H |
|---|
| 587 | # include <sys/stat.h> |
|---|
| 588 | #endif |
|---|
| 589 | #ifdef STDC_HEADERS |
|---|
| 590 | # include <stdlib.h> |
|---|
| 591 | # include <stddef.h> |
|---|
| 592 | #else |
|---|
| 593 | # ifdef HAVE_STDLIB_H |
|---|
| 594 | # include <stdlib.h> |
|---|
| 595 | # endif |
|---|
| 596 | #endif |
|---|
| 597 | #ifdef HAVE_STRING_H |
|---|
| 598 | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H |
|---|
| 599 | # include <memory.h> |
|---|
| 600 | # endif |
|---|
| 601 | # include <string.h> |
|---|
| 602 | #endif |
|---|
| 603 | #ifdef HAVE_STRINGS_H |
|---|
| 604 | # include <strings.h> |
|---|
| 605 | #endif |
|---|
| 606 | #ifdef HAVE_INTTYPES_H |
|---|
| 607 | # include <inttypes.h> |
|---|
| 608 | #endif |
|---|
| 609 | #ifdef HAVE_STDINT_H |
|---|
| 610 | # include <stdint.h> |
|---|
| 611 | #endif |
|---|
| 612 | #ifdef HAVE_UNISTD_H |
|---|
| 613 | # include <unistd.h> |
|---|
| 614 | #endif" |
|---|
| 615 | |
|---|
| 616 | ac_subst_vars='SHELL |
|---|
| 617 | PATH_SEPARATOR |
|---|
| 618 | PACKAGE_NAME |
|---|
| 619 | PACKAGE_TARNAME |
|---|
| 620 | PACKAGE_VERSION |
|---|
| 621 | PACKAGE_STRING |
|---|
| 622 | PACKAGE_BUGREPORT |
|---|
| 623 | exec_prefix |
|---|
| 624 | prefix |
|---|
| 625 | program_transform_name |
|---|
| 626 | bindir |
|---|
| 627 | sbindir |
|---|
| 628 | libexecdir |
|---|
| 629 | datarootdir |
|---|
| 630 | datadir |
|---|
| 631 | sysconfdir |
|---|
| 632 | sharedstatedir |
|---|
| 633 | localstatedir |
|---|
| 634 | includedir |
|---|
| 635 | oldincludedir |
|---|
| 636 | docdir |
|---|
| 637 | infodir |
|---|
| 638 | htmldir |
|---|
| 639 | dvidir |
|---|
| 640 | pdfdir |
|---|
| 641 | psdir |
|---|
| 642 | libdir |
|---|
| 643 | localedir |
|---|
| 644 | mandir |
|---|
| 645 | DEFS |
|---|
| 646 | ECHO_C |
|---|
| 647 | ECHO_N |
|---|
| 648 | ECHO_T |
|---|
| 649 | LIBS |
|---|
| 650 | build_alias |
|---|
| 651 | host_alias |
|---|
| 652 | target_alias |
|---|
| 653 | CC |
|---|
| 654 | CFLAGS |
|---|
| 655 | LDFLAGS |
|---|
| 656 | CPPFLAGS |
|---|
| 657 | ac_ct_CC |
|---|
| 658 | EXEEXT |
|---|
| 659 | OBJEXT |
|---|
| 660 | CPP |
|---|
| 661 | GREP |
|---|
| 662 | EGREP |
|---|
| 663 | PKG_CONFIG |
|---|
| 664 | GLIB_CFLAGS |
|---|
| 665 | GLIB_LIBS |
|---|
| 666 | XSUBPPDIR |
|---|
| 667 | XSUBPPFLAGS |
|---|
| 668 | ATHSTATIC |
|---|
| 669 | INSTALL_PROGRAM |
|---|
| 670 | INSTALL_SCRIPT |
|---|
| 671 | INSTALL_DATA |
|---|
| 672 | subdirs |
|---|
| 673 | LIBOBJS |
|---|
| 674 | LTLIBOBJS' |
|---|
| 675 | ac_subst_files='' |
|---|
| 676 | ac_precious_vars='build_alias |
|---|
| 677 | host_alias |
|---|
| 678 | target_alias |
|---|
| 679 | CC |
|---|
| 680 | CFLAGS |
|---|
| 681 | LDFLAGS |
|---|
| 682 | LIBS |
|---|
| 683 | CPPFLAGS |
|---|
| 684 | CPP |
|---|
| 685 | PKG_CONFIG |
|---|
| 686 | GLIB_CFLAGS |
|---|
| 687 | GLIB_LIBS' |
|---|
| 688 | ac_subdirs_all='libfaim' |
|---|
| 689 | |
|---|
| 690 | # Initialize some variables set by options. |
|---|
| 691 | ac_init_help= |
|---|
| 692 | ac_init_version=false |
|---|
| 693 | # The variables have the same names as the options, with |
|---|
| 694 | # dashes changed to underlines. |
|---|
| 695 | cache_file=/dev/null |
|---|
| 696 | exec_prefix=NONE |
|---|
| 697 | no_create= |
|---|
| 698 | no_recursion= |
|---|
| 699 | prefix=NONE |
|---|
| 700 | program_prefix=NONE |
|---|
| 701 | program_suffix=NONE |
|---|
| 702 | program_transform_name=s,x,x, |
|---|
| 703 | silent= |
|---|
| 704 | site= |
|---|
| 705 | srcdir= |
|---|
| 706 | verbose= |
|---|
| 707 | x_includes=NONE |
|---|
| 708 | x_libraries=NONE |
|---|
| 709 | |
|---|
| 710 | # Installation directory options. |
|---|
| 711 | # These are left unexpanded so users can "make install exec_prefix=/foo" |
|---|
| 712 | # and all the variables that are supposed to be based on exec_prefix |
|---|
| 713 | # by default will actually change. |
|---|
| 714 | # Use braces instead of parens because sh, perl, etc. also accept them. |
|---|
| 715 | # (The list follows the same order as the GNU Coding Standards.) |
|---|
| 716 | bindir='${exec_prefix}/bin' |
|---|
| 717 | sbindir='${exec_prefix}/sbin' |
|---|
| 718 | libexecdir='${exec_prefix}/libexec' |
|---|
| 719 | datarootdir='${prefix}/share' |
|---|
| 720 | datadir='${datarootdir}' |
|---|
| 721 | sysconfdir='${prefix}/etc' |
|---|
| 722 | sharedstatedir='${prefix}/com' |
|---|
| 723 | localstatedir='${prefix}/var' |
|---|
| 724 | includedir='${prefix}/include' |
|---|
| 725 | oldincludedir='/usr/include' |
|---|
| 726 | docdir='${datarootdir}/doc/${PACKAGE}' |
|---|
| 727 | infodir='${datarootdir}/info' |
|---|
| 728 | htmldir='${docdir}' |
|---|
| 729 | dvidir='${docdir}' |
|---|
| 730 | pdfdir='${docdir}' |
|---|
| 731 | psdir='${docdir}' |
|---|
| 732 | libdir='${exec_prefix}/lib' |
|---|
| 733 | localedir='${datarootdir}/locale' |
|---|
| 734 | mandir='${datarootdir}/man' |
|---|
| 735 | |
|---|
| 736 | ac_prev= |
|---|
| 737 | ac_dashdash= |
|---|
| 738 | for ac_option |
|---|
| 739 | do |
|---|
| 740 | # If the previous option needs an argument, assign it. |
|---|
| 741 | if test -n "$ac_prev"; then |
|---|
| 742 | eval $ac_prev=\$ac_option |
|---|
| 743 | ac_prev= |
|---|
| 744 | continue |
|---|
| 745 | fi |
|---|
| 746 | |
|---|
| 747 | case $ac_option in |
|---|
| 748 | *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
|---|
| 749 | *) ac_optarg=yes ;; |
|---|
| 750 | esac |
|---|
| 751 | |
|---|
| 752 | # Accept the important Cygnus configure options, so we can diagnose typos. |
|---|
| 753 | |
|---|
| 754 | case $ac_dashdash$ac_option in |
|---|
| 755 | --) |
|---|
| 756 | ac_dashdash=yes ;; |
|---|
| 757 | |
|---|
| 758 | -bindir | --bindir | --bindi | --bind | --bin | --bi) |
|---|
| 759 | ac_prev=bindir ;; |
|---|
| 760 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
|---|
| 761 | bindir=$ac_optarg ;; |
|---|
| 762 | |
|---|
| 763 | -build | --build | --buil | --bui | --bu) |
|---|
| 764 | ac_prev=build_alias ;; |
|---|
| 765 | -build=* | --build=* | --buil=* | --bui=* | --bu=*) |
|---|
| 766 | build_alias=$ac_optarg ;; |
|---|
| 767 | |
|---|
| 768 | -cache-file | --cache-file | --cache-fil | --cache-fi \ |
|---|
| 769 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
|---|
| 770 | ac_prev=cache_file ;; |
|---|
| 771 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
|---|
| 772 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
|---|
| 773 | cache_file=$ac_optarg ;; |
|---|
| 774 | |
|---|
| 775 | --config-cache | -C) |
|---|
| 776 | cache_file=config.cache ;; |
|---|
| 777 | |
|---|
| 778 | -datadir | --datadir | --datadi | --datad) |
|---|
| 779 | ac_prev=datadir ;; |
|---|
| 780 | -datadir=* | --datadir=* | --datadi=* | --datad=*) |
|---|
| 781 | datadir=$ac_optarg ;; |
|---|
| 782 | |
|---|
| 783 | -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ |
|---|
| 784 | | --dataroo | --dataro | --datar) |
|---|
| 785 | ac_prev=datarootdir ;; |
|---|
| 786 | -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ |
|---|
| 787 | | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) |
|---|
| 788 | datarootdir=$ac_optarg ;; |
|---|
| 789 | |
|---|
| 790 | -disable-* | --disable-*) |
|---|
| 791 | ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
|---|
| 792 | # Reject names that are not valid shell variable names. |
|---|
| 793 | expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && |
|---|
| 794 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
|---|
| 795 | { (exit 1); exit 1; }; } |
|---|
| 796 | ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` |
|---|
| 797 | eval enable_$ac_feature=no ;; |
|---|
| 798 | |
|---|
| 799 | -docdir | --docdir | --docdi | --doc | --do) |
|---|
| 800 | ac_prev=docdir ;; |
|---|
| 801 | -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) |
|---|
| 802 | docdir=$ac_optarg ;; |
|---|
| 803 | |
|---|
| 804 | -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) |
|---|
| 805 | ac_prev=dvidir ;; |
|---|
| 806 | -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) |
|---|
| 807 | dvidir=$ac_optarg ;; |
|---|
| 808 | |
|---|
| 809 | -enable-* | --enable-*) |
|---|
| 810 | ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
|---|
| 811 | # Reject names that are not valid shell variable names. |
|---|
| 812 | expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && |
|---|
| 813 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
|---|
| 814 | { (exit 1); exit 1; }; } |
|---|
| 815 | ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` |
|---|
| 816 | eval enable_$ac_feature=\$ac_optarg ;; |
|---|
| 817 | |
|---|
| 818 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
|---|
| 819 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
|---|
| 820 | | --exec | --exe | --ex) |
|---|
| 821 | ac_prev=exec_prefix ;; |
|---|
| 822 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
|---|
| 823 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
|---|
| 824 | | --exec=* | --exe=* | --ex=*) |
|---|
| 825 | exec_prefix=$ac_optarg ;; |
|---|
| 826 | |
|---|
| 827 | -gas | --gas | --ga | --g) |
|---|
| 828 | # Obsolete; use --with-gas. |
|---|
| 829 | with_gas=yes ;; |
|---|
| 830 | |
|---|
| 831 | -help | --help | --hel | --he | -h) |
|---|
| 832 | ac_init_help=long ;; |
|---|
| 833 | -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) |
|---|
| 834 | ac_init_help=recursive ;; |
|---|
| 835 | -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) |
|---|
| 836 | ac_init_help=short ;; |
|---|
| 837 | |
|---|
| 838 | -host | --host | --hos | --ho) |
|---|
| 839 | ac_prev=host_alias ;; |
|---|
| 840 | -host=* | --host=* | --hos=* | --ho=*) |
|---|
| 841 | host_alias=$ac_optarg ;; |
|---|
| 842 | |
|---|
| 843 | -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) |
|---|
| 844 | ac_prev=htmldir ;; |
|---|
| 845 | -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ |
|---|
| 846 | | --ht=*) |
|---|
| 847 | htmldir=$ac_optarg ;; |
|---|
| 848 | |
|---|
| 849 | -includedir | --includedir | --includedi | --included | --include \ |
|---|
| 850 | | --includ | --inclu | --incl | --inc) |
|---|
| 851 | ac_prev=includedir ;; |
|---|
| 852 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
|---|
| 853 | | --includ=* | --inclu=* | --incl=* | --inc=*) |
|---|
| 854 | includedir=$ac_optarg ;; |
|---|
| 855 | |
|---|
| 856 | -infodir | --infodir | --infodi | --infod | --info | --inf) |
|---|
| 857 | ac_prev=infodir ;; |
|---|
| 858 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
|---|
| 859 | infodir=$ac_optarg ;; |
|---|
| 860 | |
|---|
| 861 | -libdir | --libdir | --libdi | --libd) |
|---|
| 862 | ac_prev=libdir ;; |
|---|
| 863 | -libdir=* | --libdir=* | --libdi=* | --libd=*) |
|---|
| 864 | libdir=$ac_optarg ;; |
|---|
| 865 | |
|---|
| 866 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
|---|
| 867 | | --libexe | --libex | --libe) |
|---|
| 868 | ac_prev=libexecdir ;; |
|---|
| 869 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
|---|
| 870 | | --libexe=* | --libex=* | --libe=*) |
|---|
| 871 | libexecdir=$ac_optarg ;; |
|---|
| 872 | |
|---|
| 873 | -localedir | --localedir | --localedi | --localed | --locale) |
|---|
| 874 | ac_prev=localedir ;; |
|---|
| 875 | -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) |
|---|
| 876 | localedir=$ac_optarg ;; |
|---|
| 877 | |
|---|
| 878 | -localstatedir | --localstatedir | --localstatedi | --localstated \ |
|---|
| 879 | | --localstate | --localstat | --localsta | --localst | --locals) |
|---|
| 880 | ac_prev=localstatedir ;; |
|---|
| 881 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
|---|
| 882 | | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) |
|---|
| 883 | localstatedir=$ac_optarg ;; |
|---|
| 884 | |
|---|
| 885 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
|---|
| 886 | ac_prev=mandir ;; |
|---|
| 887 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
|---|
| 888 | mandir=$ac_optarg ;; |
|---|
| 889 | |
|---|
| 890 | -nfp | --nfp | --nf) |
|---|
| 891 | # Obsolete; use --without-fp. |
|---|
| 892 | with_fp=no ;; |
|---|
| 893 | |
|---|
| 894 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
|---|
| 895 | | --no-cr | --no-c | -n) |
|---|
| 896 | no_create=yes ;; |
|---|
| 897 | |
|---|
| 898 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
|---|
| 899 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
|---|
| 900 | no_recursion=yes ;; |
|---|
| 901 | |
|---|
| 902 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ |
|---|
| 903 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ |
|---|
| 904 | | --oldin | --oldi | --old | --ol | --o) |
|---|
| 905 | ac_prev=oldincludedir ;; |
|---|
| 906 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
|---|
| 907 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
|---|
| 908 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
|---|
| 909 | oldincludedir=$ac_optarg ;; |
|---|
| 910 | |
|---|
| 911 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
|---|
| 912 | ac_prev=prefix ;; |
|---|
| 913 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
|---|
| 914 | prefix=$ac_optarg ;; |
|---|
| 915 | |
|---|
| 916 | -program-prefix | --program-prefix | --program-prefi | --program-pref \ |
|---|
| 917 | | --program-pre | --program-pr | --program-p) |
|---|
| 918 | ac_prev=program_prefix ;; |
|---|
| 919 | -program-prefix=* | --program-prefix=* | --program-prefi=* \ |
|---|
| 920 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
|---|
| 921 | program_prefix=$ac_optarg ;; |
|---|
| 922 | |
|---|
| 923 | -program-suffix | --program-suffix | --program-suffi | --program-suff \ |
|---|
| 924 | | --program-suf | --program-su | --program-s) |
|---|
| 925 | ac_prev=program_suffix ;; |
|---|
| 926 | -program-suffix=* | --program-suffix=* | --program-suffi=* \ |
|---|
| 927 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
|---|
| 928 | program_suffix=$ac_optarg ;; |
|---|
| 929 | |
|---|
| 930 | -program-transform-name | --program-transform-name \ |
|---|
| 931 | | --program-transform-nam | --program-transform-na \ |
|---|
| 932 | | --program-transform-n | --program-transform- \ |
|---|
| 933 | | --program-transform | --program-transfor \ |
|---|
| 934 | | --program-transfo | --program-transf \ |
|---|
| 935 | | --program-trans | --program-tran \ |
|---|
| 936 | | --progr-tra | --program-tr | --program-t) |
|---|
| 937 | ac_prev=program_transform_name ;; |
|---|
| 938 | -program-transform-name=* | --program-transform-name=* \ |
|---|
| 939 | | --program-transform-nam=* | --program-transform-na=* \ |
|---|
| 940 | | --program-transform-n=* | --program-transform-=* \ |
|---|
| 941 | | --program-transform=* | --program-transfor=* \ |
|---|
| 942 | | --program-transfo=* | --program-transf=* \ |
|---|
| 943 | | --program-trans=* | --program-tran=* \ |
|---|
| 944 | | --progr-tra=* | --program-tr=* | --program-t=*) |
|---|
| 945 | program_transform_name=$ac_optarg ;; |
|---|
| 946 | |
|---|
| 947 | -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) |
|---|
| 948 | ac_prev=pdfdir ;; |
|---|
| 949 | -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) |
|---|
| 950 | pdfdir=$ac_optarg ;; |
|---|
| 951 | |
|---|
| 952 | -psdir | --psdir | --psdi | --psd | --ps) |
|---|
| 953 | ac_prev=psdir ;; |
|---|
| 954 | -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) |
|---|
| 955 | psdir=$ac_optarg ;; |
|---|
| 956 | |
|---|
| 957 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
|---|
| 958 | | -silent | --silent | --silen | --sile | --sil) |
|---|
| 959 | silent=yes ;; |
|---|
| 960 | |
|---|
| 961 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
|---|
| 962 | ac_prev=sbindir ;; |
|---|
| 963 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
|---|
| 964 | | --sbi=* | --sb=*) |
|---|
| 965 | sbindir=$ac_optarg ;; |
|---|
| 966 | |
|---|
| 967 | -sharedstatedir | --sharedstatedir | --sharedstatedi \ |
|---|
| 968 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
|---|
| 969 | | --sharedst | --shareds | --shared | --share | --shar \ |
|---|
| 970 | | --sha | --sh) |
|---|
| 971 | ac_prev=sharedstatedir ;; |
|---|
| 972 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
|---|
| 973 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
|---|
| 974 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
|---|
| 975 | | --sha=* | --sh=*) |
|---|
| 976 | sharedstatedir=$ac_optarg ;; |
|---|
| 977 | |
|---|
| 978 | -site | --site | --sit) |
|---|
| 979 | ac_prev=site ;; |
|---|
| 980 | -site=* | --site=* | --sit=*) |
|---|
| 981 | site=$ac_optarg ;; |
|---|
| 982 | |
|---|
| 983 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
|---|
| 984 | ac_prev=srcdir ;; |
|---|
| 985 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
|---|
| 986 | srcdir=$ac_optarg ;; |
|---|
| 987 | |
|---|
| 988 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
|---|
| 989 | | --syscon | --sysco | --sysc | --sys | --sy) |
|---|
| 990 | ac_prev=sysconfdir ;; |
|---|
| 991 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
|---|
| 992 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
|---|
| 993 | sysconfdir=$ac_optarg ;; |
|---|
| 994 | |
|---|
| 995 | -target | --target | --targe | --targ | --tar | --ta | --t) |
|---|
| 996 | ac_prev=target_alias ;; |
|---|
| 997 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
|---|
| 998 | target_alias=$ac_optarg ;; |
|---|
| 999 | |
|---|
| 1000 | -v | -verbose | --verbose | --verbos | --verbo | --verb) |
|---|
| 1001 | verbose=yes ;; |
|---|
| 1002 | |
|---|
| 1003 | -version | --version | --versio | --versi | --vers | -V) |
|---|
| 1004 | ac_init_version=: ;; |
|---|
| 1005 | |
|---|
| 1006 | -with-* | --with-*) |
|---|
| 1007 | ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
|---|
| 1008 | # Reject names that are not valid shell variable names. |
|---|
| 1009 | expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && |
|---|
| 1010 | { echo "$as_me: error: invalid package name: $ac_package" >&2 |
|---|
| 1011 | { (exit 1); exit 1; }; } |
|---|
| 1012 | ac_package=`echo $ac_package | sed 's/[-.]/_/g'` |
|---|
| 1013 | eval with_$ac_package=\$ac_optarg ;; |
|---|
| 1014 | |
|---|
| 1015 | -without-* | --without-*) |
|---|
| 1016 | ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
|---|
| 1017 | # Reject names that are not valid shell variable names. |
|---|
| 1018 | expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && |
|---|
| 1019 | { echo "$as_me: error: invalid package name: $ac_package" >&2 |
|---|
| 1020 | { (exit 1); exit 1; }; } |
|---|
| 1021 | ac_package=`echo $ac_package | sed 's/[-.]/_/g'` |
|---|
| 1022 | eval with_$ac_package=no ;; |
|---|
| 1023 | |
|---|
| 1024 | --x) |
|---|
| 1025 | # Obsolete; use --with-x. |
|---|
| 1026 | with_x=yes ;; |
|---|
| 1027 | |
|---|
| 1028 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
|---|
| 1029 | | --x-incl | --x-inc | --x-in | --x-i) |
|---|
| 1030 | ac_prev=x_includes ;; |
|---|
| 1031 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
|---|
| 1032 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
|---|
| 1033 | x_includes=$ac_optarg ;; |
|---|
| 1034 | |
|---|
| 1035 | -x-libraries | --x-libraries | --x-librarie | --x-librari \ |
|---|
| 1036 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
|---|
| 1037 | ac_prev=x_libraries ;; |
|---|
| 1038 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
|---|
| 1039 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
|---|
| 1040 | x_libraries=$ac_optarg ;; |
|---|
| 1041 | |
|---|
| 1042 | -*) { echo "$as_me: error: unrecognized option: $ac_option |
|---|
| 1043 | Try \`$0 --help' for more information." >&2 |
|---|
| 1044 | { (exit 1); exit 1; }; } |
|---|
| 1045 | ;; |
|---|
| 1046 | |
|---|
| 1047 | *=*) |
|---|
| 1048 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
|---|
| 1049 | # Reject names that are not valid shell variable names. |
|---|
| 1050 | expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && |
|---|
| 1051 | { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 |
|---|
| 1052 | { (exit 1); exit 1; }; } |
|---|
| 1053 | eval $ac_envvar=\$ac_optarg |
|---|
| 1054 | export $ac_envvar ;; |
|---|
| 1055 | |
|---|
| 1056 | *) |
|---|
| 1057 | # FIXME: should be removed in autoconf 3.0. |
|---|
| 1058 | echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
|---|
| 1059 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
|---|
| 1060 | echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
|---|
| 1061 | : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
|---|
| 1062 | ;; |
|---|
| 1063 | |
|---|
| 1064 | esac |
|---|
| 1065 | done |
|---|
| 1066 | |
|---|
| 1067 | if test -n "$ac_prev"; then |
|---|
| 1068 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
|---|
| 1069 | { echo "$as_me: error: missing argument to $ac_option" >&2 |
|---|
| 1070 | { (exit 1); exit 1; }; } |
|---|
| 1071 | fi |
|---|
| 1072 | |
|---|
| 1073 | # Be sure to have absolute directory names. |
|---|
| 1074 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
|---|
| 1075 | datadir sysconfdir sharedstatedir localstatedir includedir \ |
|---|
| 1076 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
|---|
| 1077 | libdir localedir mandir |
|---|
| 1078 | do |
|---|
| 1079 | eval ac_val=\$$ac_var |
|---|
| 1080 | case $ac_val in |
|---|
| 1081 | [\\/$]* | ?:[\\/]* ) continue;; |
|---|
| 1082 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
|---|
| 1083 | esac |
|---|
| 1084 | { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
|---|
| 1085 | { (exit 1); exit 1; }; } |
|---|
| 1086 | done |
|---|
| 1087 | |
|---|
| 1088 | # There might be people who depend on the old broken behavior: `$host' |
|---|
| 1089 | # used to hold the argument of --host etc. |
|---|
| 1090 | # FIXME: To remove some day. |
|---|
| 1091 | build=$build_alias |
|---|
| 1092 | host=$host_alias |
|---|
| 1093 | target=$target_alias |
|---|
| 1094 | |
|---|
| 1095 | # FIXME: To remove some day. |
|---|
| 1096 | if test "x$host_alias" != x; then |
|---|
| 1097 | if test "x$build_alias" = x; then |
|---|
| 1098 | cross_compiling=maybe |
|---|
| 1099 | echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. |
|---|
| 1100 | If a cross compiler is detected then cross compile mode will be used." >&2 |
|---|
| 1101 | elif test "x$build_alias" != "x$host_alias"; then |
|---|
| 1102 | cross_compiling=yes |
|---|
| 1103 | fi |
|---|
| 1104 | fi |
|---|
| 1105 | |
|---|
| 1106 | ac_tool_prefix= |
|---|
| 1107 | test -n "$host_alias" && ac_tool_prefix=$host_alias- |
|---|
| 1108 | |
|---|
| 1109 | test "$silent" = yes && exec 6>/dev/null |
|---|
| 1110 | |
|---|
| 1111 | |
|---|
| 1112 | ac_pwd=`pwd` && test -n "$ac_pwd" && |
|---|
| 1113 | ac_ls_di=`ls -di .` && |
|---|
| 1114 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
|---|
| 1115 | { echo "$as_me: error: Working directory cannot be determined" >&2 |
|---|
| 1116 | { (exit 1); exit 1; }; } |
|---|
| 1117 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
|---|
| 1118 | { echo "$as_me: error: pwd does not report name of working directory" >&2 |
|---|
| 1119 | { (exit 1); exit 1; }; } |
|---|
| 1120 | |
|---|
| 1121 | |
|---|
| 1122 | # Find the source files, if location was not specified. |
|---|
| 1123 | if test -z "$srcdir"; then |
|---|
| 1124 | ac_srcdir_defaulted=yes |
|---|
| 1125 | # Try the directory containing this script, then the parent directory. |
|---|
| 1126 | ac_confdir=`$as_dirname -- "$0" || |
|---|
| 1127 | $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|---|
| 1128 | X"$0" : 'X\(//\)[^/]' \| \ |
|---|
| 1129 | X"$0" : 'X\(//\)$' \| \ |
|---|
| 1130 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
|---|
| 1131 | echo X"$0" | |
|---|
| 1132 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|---|
| 1133 | s//\1/ |
|---|
| 1134 | q |
|---|
| 1135 | } |
|---|
| 1136 | /^X\(\/\/\)[^/].*/{ |
|---|
| 1137 | s//\1/ |
|---|
| 1138 | q |
|---|
| 1139 | } |
|---|
| 1140 | /^X\(\/\/\)$/{ |
|---|
| 1141 | s//\1/ |
|---|
| 1142 | q |
|---|
| 1143 | } |
|---|
| 1144 | /^X\(\/\).*/{ |
|---|
| 1145 | s//\1/ |
|---|
| 1146 | q |
|---|
| 1147 | } |
|---|
| 1148 | s/.*/./; q'` |
|---|
| 1149 | srcdir=$ac_confdir |
|---|
| 1150 | if test ! -r "$srcdir/$ac_unique_file"; then |
|---|
| 1151 | srcdir=.. |
|---|
| 1152 | fi |
|---|
| 1153 | else |
|---|
| 1154 | ac_srcdir_defaulted=no |
|---|
| 1155 | fi |
|---|
| 1156 | if test ! -r "$srcdir/$ac_unique_file"; then |
|---|
| 1157 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
|---|
| 1158 | { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 |
|---|
| 1159 | { (exit 1); exit 1; }; } |
|---|
| 1160 | fi |
|---|
| 1161 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
|---|
| 1162 | ac_abs_confdir=`( |
|---|
| 1163 | cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 |
|---|
| 1164 | { (exit 1); exit 1; }; } |
|---|
| 1165 | pwd)` |
|---|
| 1166 | # When building in place, set srcdir=. |
|---|
| 1167 | if test "$ac_abs_confdir" = "$ac_pwd"; then |
|---|
| 1168 | srcdir=. |
|---|
| 1169 | fi |
|---|
| 1170 | # Remove unnecessary trailing slashes from srcdir. |
|---|
| 1171 | # Double slashes in file names in object file debugging info |
|---|
| 1172 | # mess up M-x gdb in Emacs. |
|---|
| 1173 | case $srcdir in |
|---|
| 1174 | */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; |
|---|
| 1175 | esac |
|---|
| 1176 | for ac_var in $ac_precious_vars; do |
|---|
| 1177 | eval ac_env_${ac_var}_set=\${${ac_var}+set} |
|---|
| 1178 | eval ac_env_${ac_var}_value=\$${ac_var} |
|---|
| 1179 | eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} |
|---|
| 1180 | eval ac_cv_env_${ac_var}_value=\$${ac_var} |
|---|
| 1181 | done |
|---|
| 1182 | |
|---|
| 1183 | # |
|---|
| 1184 | # Report the --help message. |
|---|
| 1185 | # |
|---|
| 1186 | if test "$ac_init_help" = "long"; then |
|---|
| 1187 | # Omit some internal or obsolete options to make the list less imposing. |
|---|
| 1188 | # This message is too long to be a string in the A/UX 3.1 sh. |
|---|
| 1189 | cat <<_ACEOF |
|---|
| 1190 | \`configure' configures this package to adapt to many kinds of systems. |
|---|
| 1191 | |
|---|
| 1192 | Usage: $0 [OPTION]... [VAR=VALUE]... |
|---|
| 1193 | |
|---|
| 1194 | To assign environment variables (e.g., CC, CFLAGS...), specify them as |
|---|
| 1195 | VAR=VALUE. See below for descriptions of some of the useful variables. |
|---|
| 1196 | |
|---|
| 1197 | Defaults for the options are specified in brackets. |
|---|
| 1198 | |
|---|
| 1199 | Configuration: |
|---|
| 1200 | -h, --help display this help and exit |
|---|
| 1201 | --help=short display options specific to this package |
|---|
| 1202 | --help=recursive display the short help of all the included packages |
|---|
| 1203 | -V, --version display version information and exit |
|---|
| 1204 | -q, --quiet, --silent do not print \`checking...' messages |
|---|
| 1205 | --cache-file=FILE cache test results in FILE [disabled] |
|---|
| 1206 | -C, --config-cache alias for \`--cache-file=config.cache' |
|---|
| 1207 | -n, --no-create do not create output files |
|---|
| 1208 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
|---|
| 1209 | |
|---|
| 1210 | Installation directories: |
|---|
| 1211 | --prefix=PREFIX install architecture-independent files in PREFIX |
|---|
| 1212 | [$ac_default_prefix] |
|---|
| 1213 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
|---|
| 1214 | [PREFIX] |
|---|
| 1215 | |
|---|
| 1216 | By default, \`make install' will install all the files in |
|---|
| 1217 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
|---|
| 1218 | an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
|---|
| 1219 | for instance \`--prefix=\$HOME'. |
|---|
| 1220 | |
|---|
| 1221 | For better control, use the options below. |
|---|
| 1222 | |
|---|
| 1223 | Fine tuning of the installation directories: |
|---|
| 1224 | --bindir=DIR user executables [EPREFIX/bin] |
|---|
| 1225 | --sbindir=DIR system admin executables [EPREFIX/sbin] |
|---|
| 1226 | --libexecdir=DIR program executables [EPREFIX/libexec] |
|---|
| 1227 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
|---|
| 1228 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
|---|
| 1229 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
|---|
| 1230 | --libdir=DIR object code libraries [EPREFIX/lib] |
|---|
| 1231 | --includedir=DIR C header files [PREFIX/include] |
|---|
| 1232 | --oldincludedir=DIR C header files for non-gcc [/usr/include] |
|---|
| 1233 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
|---|
| 1234 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
|---|
| 1235 | --infodir=DIR info documentation [DATAROOTDIR/info] |
|---|
| 1236 | --localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
|---|
| 1237 | --mandir=DIR man documentation [DATAROOTDIR/man] |
|---|
| 1238 | --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] |
|---|
| 1239 | --htmldir=DIR html documentation [DOCDIR] |
|---|
| 1240 | --dvidir=DIR dvi documentation [DOCDIR] |
|---|
| 1241 | --pdfdir=DIR pdf documentation [DOCDIR] |
|---|
| 1242 | --psdir=DIR ps documentation [DOCDIR] |
|---|
| 1243 | _ACEOF |
|---|
| 1244 | |
|---|
| 1245 | cat <<\_ACEOF |
|---|
| 1246 | _ACEOF |
|---|
| 1247 | fi |
|---|
| 1248 | |
|---|
| 1249 | if test -n "$ac_init_help"; then |
|---|
| 1250 | |
|---|
| 1251 | cat <<\_ACEOF |
|---|
| 1252 | |
|---|
| 1253 | Optional Features: |
|---|
| 1254 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
|---|
| 1255 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
|---|
| 1256 | --enable-athstatic Statically link libraries in /usr/athena/lib |
|---|
| 1257 | |
|---|
| 1258 | Some influential environment variables: |
|---|
| 1259 | CC C compiler command |
|---|
| 1260 | CFLAGS C compiler flags |
|---|
| 1261 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
|---|
| 1262 | nonstandard directory <lib dir> |
|---|
| 1263 | LIBS libraries to pass to the linker, e.g. -l<library> |
|---|
| 1264 | CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if |
|---|
| 1265 | you have headers in a nonstandard directory <include dir> |
|---|
| 1266 | CPP C preprocessor |
|---|
| 1267 | PKG_CONFIG path to pkg-config utility |
|---|
| 1268 | GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config |
|---|
| 1269 | GLIB_LIBS linker flags for GLIB, overriding pkg-config |
|---|
| 1270 | |
|---|
| 1271 | Use these variables to override the choices made by `configure' or to help |
|---|
| 1272 | it to find libraries and programs with nonstandard names/locations. |
|---|
| 1273 | |
|---|
| 1274 | _ACEOF |
|---|
| 1275 | ac_status=$? |
|---|
| 1276 | fi |
|---|
| 1277 | |
|---|
| 1278 | if test "$ac_init_help" = "recursive"; then |
|---|
| 1279 | # If there are subdirs, report their specific --help. |
|---|
| 1280 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
|---|
| 1281 | test -d "$ac_dir" || continue |
|---|
| 1282 | ac_builddir=. |
|---|
| 1283 | |
|---|
| 1284 | case "$ac_dir" in |
|---|
| 1285 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
|---|
| 1286 | *) |
|---|
| 1287 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
|---|
| 1288 | # A ".." for each directory in $ac_dir_suffix. |
|---|
| 1289 | ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` |
|---|
| 1290 | case $ac_top_builddir_sub in |
|---|
| 1291 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
|---|
| 1292 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
|---|
| 1293 | esac ;; |
|---|
| 1294 | esac |
|---|
| 1295 | ac_abs_top_builddir=$ac_pwd |
|---|
| 1296 | ac_abs_builddir=$ac_pwd$ac_dir_suffix |
|---|
| 1297 | # for backward compatibility: |
|---|
| 1298 | ac_top_builddir=$ac_top_build_prefix |
|---|
| 1299 | |
|---|
| 1300 | case $srcdir in |
|---|
| 1301 | .) # We are building in place. |
|---|
| 1302 | ac_srcdir=. |
|---|
| 1303 | ac_top_srcdir=$ac_top_builddir_sub |
|---|
| 1304 | ac_abs_top_srcdir=$ac_pwd ;; |
|---|
| 1305 | [\\/]* | ?:[\\/]* ) # Absolute name. |
|---|
| 1306 | ac_srcdir=$srcdir$ac_dir_suffix; |
|---|
| 1307 | ac_top_srcdir=$srcdir |
|---|
| 1308 | ac_abs_top_srcdir=$srcdir ;; |
|---|
| 1309 | *) # Relative name. |
|---|
| 1310 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
|---|
| 1311 | ac_top_srcdir=$ac_top_build_prefix$srcdir |
|---|
| 1312 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
|---|
| 1313 | esac |
|---|
| 1314 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
|---|
| 1315 | |
|---|
| 1316 | cd "$ac_dir" || { ac_status=$?; continue; } |
|---|
| 1317 | # Check for guested configure. |
|---|
| 1318 | if test -f "$ac_srcdir/configure.gnu"; then |
|---|
| 1319 | echo && |
|---|
| 1320 | $SHELL "$ac_srcdir/configure.gnu" --help=recursive |
|---|
| 1321 | elif test -f "$ac_srcdir/configure"; then |
|---|
| 1322 | echo && |
|---|
| 1323 | $SHELL "$ac_srcdir/configure" --help=recursive |
|---|
| 1324 | else |
|---|
| 1325 | echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
|---|
| 1326 | fi || ac_status=$? |
|---|
| 1327 | cd "$ac_pwd" || { ac_status=$?; break; } |
|---|
| 1328 | done |
|---|
| 1329 | fi |
|---|
| 1330 | |
|---|
| 1331 | test -n "$ac_init_help" && exit $ac_status |
|---|
| 1332 | if $ac_init_version; then |
|---|
| 1333 | cat <<\_ACEOF |
|---|
| 1334 | configure |
|---|
| 1335 | generated by GNU Autoconf 2.61 |
|---|
| 1336 | |
|---|
| 1337 | Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
|---|
| 1338 | 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. |
|---|
| 1339 | This configure script is free software; the Free Software Foundation |
|---|
| 1340 | gives unlimited permission to copy, distribute and modify it. |
|---|
| 1341 | _ACEOF |
|---|
| 1342 | exit |
|---|
| 1343 | fi |
|---|
| 1344 | cat >config.log <<_ACEOF |
|---|
| 1345 | This file contains any messages produced by compilers while |
|---|
| 1346 | running configure, to aid debugging if configure makes a mistake. |
|---|
| 1347 | |
|---|
| 1348 | It was created by $as_me, which was |
|---|
| 1349 | generated by GNU Autoconf 2.61. Invocation command line was |
|---|
| 1350 | |
|---|
| 1351 | $ $0 $@ |
|---|
| 1352 | |
|---|
| 1353 | _ACEOF |
|---|
| 1354 | exec 5>>config.log |
|---|
| 1355 | { |
|---|
| 1356 | cat <<_ASUNAME |
|---|
| 1357 | ## --------- ## |
|---|
| 1358 | ## Platform. ## |
|---|
| 1359 | ## --------- ## |
|---|
| 1360 | |
|---|
| 1361 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
|---|
| 1362 | uname -m = `(uname -m) 2>/dev/null || echo unknown` |
|---|
| 1363 | uname -r = `(uname -r) 2>/dev/null || echo unknown` |
|---|
| 1364 | uname -s = `(uname -s) 2>/dev/null || echo unknown` |
|---|
| 1365 | uname -v = `(uname -v) 2>/dev/null || echo unknown` |
|---|
| 1366 | |
|---|
| 1367 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` |
|---|
| 1368 | /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` |
|---|
| 1369 | |
|---|
| 1370 | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
|---|
| 1371 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
|---|
| 1372 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
|---|
| 1373 | /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` |
|---|
| 1374 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
|---|
| 1375 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
|---|
| 1376 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
|---|
| 1377 | |
|---|
| 1378 | _ASUNAME |
|---|
| 1379 | |
|---|
| 1380 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|---|
| 1381 | for as_dir in $PATH |
|---|
| 1382 | do |
|---|
| 1383 | IFS=$as_save_IFS |
|---|
| 1384 | test -z "$as_dir" && as_dir=. |
|---|
| 1385 | echo "PATH: $as_dir" |
|---|
| 1386 | done |
|---|
| 1387 | IFS=$as_save_IFS |
|---|
| 1388 | |
|---|
| 1389 | } >&5 |
|---|
| 1390 | |
|---|
| 1391 | cat >&5 <<_ACEOF |
|---|
| 1392 | |
|---|
| 1393 | |
|---|
| 1394 | ## ----------- ## |
|---|
| 1395 | ## Core tests. ## |
|---|
| 1396 | ## ----------- ## |
|---|
| 1397 | |
|---|
| 1398 | _ACEOF |
|---|
| 1399 | |
|---|
| 1400 | |
|---|
| 1401 | # Keep a trace of the command line. |
|---|
| 1402 | # Strip out --no-create and --no-recursion so they do not pile up. |
|---|
| 1403 | # Strip out --silent because we don't want to record it for future runs. |
|---|
| 1404 | # Also quote any args containing shell meta-characters. |
|---|
| 1405 | # Make two passes to allow for proper duplicate-argument suppression. |
|---|
| 1406 | ac_configure_args= |
|---|
| 1407 | ac_configure_args0= |
|---|
| 1408 | ac_configure_args1= |
|---|
| 1409 | ac_must_keep_next=false |
|---|
| 1410 | for ac_pass in 1 2 |
|---|
| 1411 | do |
|---|
| 1412 | for ac_arg |
|---|
| 1413 | do |
|---|
| 1414 | case $ac_arg in |
|---|
| 1415 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
|---|
| 1416 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
|---|
| 1417 | | -silent | --silent | --silen | --sile | --sil) |
|---|
| 1418 | continue ;; |
|---|
| 1419 | *\'*) |
|---|
| 1420 | ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
|---|
| 1421 | esac |
|---|
| 1422 | case $ac_pass in |
|---|
| 1423 | 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; |
|---|
| 1424 | 2) |
|---|
| 1425 | ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
|---|
| 1426 | if test $ac_must_keep_next = true; then |
|---|
| 1427 | ac_must_keep_next=false # Got value, back to normal. |
|---|
| 1428 | else |
|---|
| 1429 | case $ac_arg in |
|---|
| 1430 | *=* | --config-cache | -C | -disable-* | --disable-* \ |
|---|
| 1431 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
|---|
| 1432 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
|---|
| 1433 | | -with-* | --with-* | -without-* | --without-* | --x) |
|---|
| 1434 | case "$ac_configure_args0 " in |
|---|
| 1435 | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
|---|
| 1436 | esac |
|---|
| 1437 | ;; |
|---|
| 1438 | -* ) ac_must_keep_next=true ;; |
|---|
| 1439 | esac |
|---|
| 1440 | fi |
|---|
| 1441 | ac_configure_args="$ac_configure_args '$ac_arg'" |
|---|
| 1442 | ;; |
|---|
| 1443 | esac |
|---|
| 1444 | done |
|---|
| 1445 | done |
|---|
| 1446 | $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } |
|---|
| 1447 | $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } |
|---|
| 1448 | |
|---|
| 1449 | # When interrupted or exit'd, cleanup temporary files, and complete |
|---|
| 1450 | # config.log. We remove comments because anyway the quotes in there |
|---|
| 1451 | # would cause problems or look ugly. |
|---|
| 1452 | # WARNING: Use '\'' to represent an apostrophe within the trap. |
|---|
| 1453 | # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. |
|---|
| 1454 | trap 'exit_status=$? |
|---|
| 1455 | # Save into config.log some information that might help in debugging. |
|---|
| 1456 | { |
|---|
| 1457 | echo |
|---|
| 1458 | |
|---|
| 1459 | cat <<\_ASBOX |
|---|
| 1460 | ## ---------------- ## |
|---|
| 1461 | ## Cache variables. ## |
|---|
| 1462 | ## ---------------- ## |
|---|
| 1463 | _ASBOX |
|---|
| 1464 | echo |
|---|
| 1465 | # The following way of writing the cache mishandles newlines in values, |
|---|
| 1466 | ( |
|---|
| 1467 | for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
|---|
| 1468 | eval ac_val=\$$ac_var |
|---|
| 1469 | case $ac_val in #( |
|---|
| 1470 | *${as_nl}*) |
|---|
| 1471 | case $ac_var in #( |
|---|
| 1472 | *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 |
|---|
| 1473 | echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; |
|---|
| 1474 | esac |
|---|
| 1475 | case $ac_var in #( |
|---|
| 1476 | _ | IFS | as_nl) ;; #( |
|---|
| 1477 | *) $as_unset $ac_var ;; |
|---|
| 1478 | esac ;; |
|---|
| 1479 | esac |
|---|
| 1480 | done |
|---|
| 1481 | (set) 2>&1 | |
|---|
| 1482 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
|---|
| 1483 | *${as_nl}ac_space=\ *) |
|---|
| 1484 | sed -n \ |
|---|
| 1485 | "s/'\''/'\''\\\\'\'''\''/g; |
|---|
| 1486 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" |
|---|
| 1487 | ;; #( |
|---|
| 1488 | *) |
|---|
| 1489 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
|---|
| 1490 | ;; |
|---|
| 1491 | esac | |
|---|
| 1492 | sort |
|---|
| 1493 | ) |
|---|
| 1494 | echo |
|---|
| 1495 | |
|---|
| 1496 | cat <<\_ASBOX |
|---|
| 1497 | ## ----------------- ## |
|---|
| 1498 | ## Output variables. ## |
|---|
| 1499 | ## ----------------- ## |
|---|
| 1500 | _ASBOX |
|---|
| 1501 | echo |
|---|
| 1502 | for ac_var in $ac_subst_vars |
|---|
| 1503 | do |
|---|
| 1504 | eval ac_val=\$$ac_var |
|---|
| 1505 | case $ac_val in |
|---|
| 1506 | *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
|---|
| 1507 | esac |
|---|
| 1508 | echo "$ac_var='\''$ac_val'\''" |
|---|
| 1509 | done | sort |
|---|
| 1510 | echo |
|---|
| 1511 | |
|---|
| 1512 | if test -n "$ac_subst_files"; then |
|---|
| 1513 | cat <<\_ASBOX |
|---|
| 1514 | ## ------------------- ## |
|---|
| 1515 | ## File substitutions. ## |
|---|
| 1516 | ## ------------------- ## |
|---|
| 1517 | _ASBOX |
|---|
| 1518 | echo |
|---|
| 1519 | for ac_var in $ac_subst_files |
|---|
| 1520 | do |
|---|
| 1521 | eval ac_val=\$$ac_var |
|---|
| 1522 | case $ac_val in |
|---|
| 1523 | *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
|---|
| 1524 | esac |
|---|
| 1525 | echo "$ac_var='\''$ac_val'\''" |
|---|
| 1526 | done | sort |
|---|
| 1527 | echo |
|---|
| 1528 | fi |
|---|
| 1529 | |
|---|
| 1530 | if test -s confdefs.h; then |
|---|
| 1531 | cat <<\_ASBOX |
|---|
| 1532 | ## ----------- ## |
|---|
| 1533 | ## confdefs.h. ## |
|---|
| 1534 | ## ----------- ## |
|---|
| 1535 | _ASBOX |
|---|
| 1536 | echo |
|---|
| 1537 | cat confdefs.h |
|---|
| 1538 | echo |
|---|
| 1539 | fi |
|---|
| 1540 | test "$ac_signal" != 0 && |
|---|
| 1541 | echo "$as_me: caught signal $ac_signal" |
|---|
| 1542 | echo "$as_me: exit $exit_status" |
|---|
| 1543 | } >&5 |
|---|
| 1544 | rm -f core *.core core.conftest.* && |
|---|
| 1545 | rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
|---|
| 1546 | exit $exit_status |
|---|
| 1547 | ' 0 |
|---|
| 1548 | for ac_signal in 1 2 13 15; do |
|---|
| 1549 | trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal |
|---|
| 1550 | done |
|---|
| 1551 | ac_signal=0 |
|---|
| 1552 | |
|---|
| 1553 | # confdefs.h avoids OS command line length limits that DEFS can exceed. |
|---|
| 1554 | rm -f -r conftest* confdefs.h |
|---|
| 1555 | |
|---|
| 1556 | # Predefined preprocessor variables. |
|---|
| 1557 | |
|---|
| 1558 | cat >>confdefs.h <<_ACEOF |
|---|
| 1559 | #define PACKAGE_NAME "$PACKAGE_NAME" |
|---|
| 1560 | _ACEOF |
|---|
| 1561 | |
|---|
| 1562 | |
|---|
| 1563 | cat >>confdefs.h <<_ACEOF |
|---|
| 1564 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
|---|
| 1565 | _ACEOF |
|---|
| 1566 | |
|---|
| 1567 | |
|---|
| 1568 | cat >>confdefs.h <<_ACEOF |
|---|
| 1569 | #define PACKAGE_VERSION "$PACKAGE_VERSION" |
|---|
| 1570 | _ACEOF |
|---|
| 1571 | |
|---|
| 1572 | |
|---|
| 1573 | cat >>confdefs.h <<_ACEOF |
|---|
| 1574 | #define PACKAGE_STRING "$PACKAGE_STRING" |
|---|
| 1575 | _ACEOF |
|---|
| 1576 | |
|---|
| 1577 | |
|---|
| 1578 | cat >>confdefs.h <<_ACEOF |
|---|
| 1579 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
|---|
| 1580 | _ACEOF |
|---|
| 1581 | |
|---|
| 1582 | |
|---|
| 1583 | # Let the site file select an alternate cache file if it wants to. |
|---|
| 1584 | # Prefer explicitly selected file to automatically selected ones. |
|---|
| 1585 | if test -n "$CONFIG_SITE"; then |
|---|
| 1586 | set x "$CONFIG_SITE" |
|---|
| 1587 | elif test "x$prefix" != xNONE; then |
|---|
| 1588 | set x "$prefix/share/config.site" "$prefix/etc/config.site" |
|---|
| 1589 | else |
|---|
| 1590 | set x "$ac_default_prefix/share/config.site" \ |
|---|
| 1591 | "$ac_default_prefix/etc/config.site" |
|---|
| 1592 | fi |
|---|
| 1593 | shift |
|---|
| 1594 | for ac_site_file |
|---|
| 1595 | do |
|---|
| 1596 | if test -r "$ac_site_file"; then |
|---|
| 1597 | { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 |
|---|
| 1598 | echo "$as_me: loading site script $ac_site_file" >&6;} |
|---|
| 1599 | sed 's/^/| /' "$ac_site_file" >&5 |
|---|
| 1600 | . "$ac_site_file" |
|---|
| 1601 | fi |
|---|
| 1602 | done |
|---|
| 1603 | |
|---|
| 1604 | if test -r "$cache_file"; then |
|---|
| 1605 | # Some versions of bash will fail to source /dev/null (special |
|---|
| 1606 | # files actually), so we avoid doing that. |
|---|
| 1607 | if test -f "$cache_file"; then |
|---|
| 1608 | { echo "$as_me:$LINENO: loading cache $cache_file" >&5 |
|---|
| 1609 | echo "$as_me: loading cache $cache_file" >&6;} |
|---|
| 1610 | case $cache_file in |
|---|
| 1611 | [\\/]* | ?:[\\/]* ) . "$cache_file";; |
|---|
| 1612 | *) . "./$cache_file";; |
|---|
| 1613 | esac |
|---|
| 1614 | fi |
|---|
| 1615 | else |
|---|
| 1616 | { echo "$as_me:$LINENO: creating cache $cache_file" >&5 |
|---|
| 1617 | echo "$as_me: creating cache $cache_file" >&6;} |
|---|
| 1618 | >$cache_file |
|---|
| 1619 | fi |
|---|
| 1620 | |
|---|
| 1621 | # Check that the precious variables saved in the cache have kept the same |
|---|
| 1622 | # value. |
|---|
| 1623 | ac_cache_corrupted=false |
|---|
| 1624 | for ac_var in $ac_precious_vars; do |
|---|
| 1625 | eval ac_old_set=\$ac_cv_env_${ac_var}_set |
|---|
| 1626 | eval ac_new_set=\$ac_env_${ac_var}_set |
|---|
| 1627 | eval ac_old_val=\$ac_cv_env_${ac_var}_value |
|---|
| 1628 | eval ac_new_val=\$ac_env_${ac_var}_value |
|---|
| 1629 | case $ac_old_set,$ac_new_set in |
|---|
| 1630 | set,) |
|---|
| 1631 | { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
|---|
| 1632 | echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
|---|
| 1633 | ac_cache_corrupted=: ;; |
|---|
| 1634 | ,set) |
|---|
| 1635 | { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 |
|---|
| 1636 | echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
|---|
| 1637 | ac_cache_corrupted=: ;; |
|---|
| 1638 | ,);; |
|---|
| 1639 | *) |
|---|
| 1640 | if test "x$ac_old_val" != "x$ac_new_val"; then |
|---|
| 1641 | { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
|---|
| 1642 | echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
|---|
| 1643 | { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 |
|---|
| 1644 | echo "$as_me: former value: $ac_old_val" >&2;} |
|---|
| 1645 | { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 |
|---|
| 1646 | echo "$as_me: current value: $ac_new_val" >&2;} |
|---|
| 1647 | ac_cache_corrupted=: |
|---|
| 1648 | fi;; |
|---|
| 1649 | esac |
|---|
| 1650 | # Pass precious variables to config.status. |
|---|
| 1651 | if test "$ac_new_set" = set; then |
|---|
| 1652 | case $ac_new_val in |
|---|
| 1653 | *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
|---|
| 1654 | *) ac_arg=$ac_var=$ac_new_val ;; |
|---|
| 1655 | esac |
|---|
| 1656 | case " $ac_configure_args " in |
|---|
| 1657 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
|---|
| 1658 | *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; |
|---|
| 1659 | esac |
|---|
| 1660 | fi |
|---|
| 1661 | done |
|---|
| 1662 | if $ac_cache_corrupted; then |
|---|
| 1663 | { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 |
|---|
| 1664 | echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
|---|
| 1665 | { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 |
|---|
| 1666 | echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} |
|---|
| 1667 | { (exit 1); exit 1; }; } |
|---|
| 1668 | fi |
|---|
| 1669 | |
|---|
| 1670 | |
|---|
| 1671 | |
|---|
| 1672 | |
|---|
| 1673 | |
|---|
| 1674 | |
|---|
| 1675 | |
|---|
| 1676 | |
|---|
| 1677 | |
|---|
| 1678 | |
|---|
| 1679 | |
|---|
| 1680 | |
|---|
| 1681 | |
|---|
| 1682 | |
|---|
| 1683 | |
|---|
| 1684 | |
|---|
| 1685 | |
|---|
| 1686 | ac_ext=c |
|---|
| 1687 | ac_cpp='$CPP $CPPFLAGS' |
|---|
| 1688 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|---|
| 1689 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|---|
| 1690 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|---|
| 1691 | |
|---|
| 1692 | |
|---|
| 1693 | |
|---|
| 1694 | ac_config_headers="$ac_config_headers config.h" |
|---|
| 1695 | |
|---|
| 1696 | |
|---|
| 1697 | ac_ext=c |
|---|
| 1698 | ac_cpp='$CPP $CPPFLAGS' |
|---|
| 1699 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|---|
| 1700 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|---|
| 1701 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|---|
| 1702 | if test -n "$ac_tool_prefix"; then |
|---|
| 1703 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
|---|
| 1704 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
|---|
| 1705 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|---|
| 1706 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
|---|
| 1707 | if test "${ac_cv_prog_CC+set}" = set; then |
|---|
| 1708 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|---|
| 1709 | else |
|---|
| 1710 | if test -n "$CC"; then |
|---|
| 1711 | ac_cv_prog_CC="$CC" # Let the user override the test. |
|---|
| 1712 | else |
|---|
| 1713 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|---|
| 1714 | for as_dir in $PATH |
|---|
| 1715 | do |
|---|
| 1716 | IFS=$as_save_IFS |
|---|
| 1717 | test -z "$as_dir" && as_dir=. |
|---|
| 1718 | for ac_exec_ext in '' $ac_executable_extensions; do |
|---|
| 1719 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|---|
| 1720 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
|---|
| 1721 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|---|
| 1722 | break 2 |
|---|
| 1723 | fi |
|---|
| 1724 | done |
|---|
| 1725 | done |
|---|
| 1726 | IFS=$as_save_IFS |
|---|
| 1727 | |
|---|
| 1728 | fi |
|---|
| 1729 | fi |
|---|
| 1730 | CC=$ac_cv_prog_CC |
|---|
| 1731 | if test -n "$CC"; then |
|---|
| 1732 | { echo "$as_me:$LINENO: result: $CC" >&5 |
|---|
| 1733 | echo "${ECHO_T}$CC" >&6; } |
|---|
| 1734 | else |
|---|
| 1735 | { echo "$as_me:$LINENO: result: no" >&5 |
|---|
| 1736 | echo "${ECHO_T}no" >&6; } |
|---|
| 1737 | fi |
|---|
| 1738 | |
|---|
| 1739 | |
|---|
| 1740 | fi |
|---|
| 1741 | if test -z "$ac_cv_prog_CC"; then |
|---|
| 1742 | ac_ct_CC=$CC |
|---|
| 1743 | # Extract the first word of "gcc", so it can be a program name with args. |
|---|
| 1744 | set dummy gcc; ac_word=$2 |
|---|
| 1745 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|---|
| 1746 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
|---|
| 1747 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
|---|
| 1748 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|---|
| 1749 | else |
|---|
| 1750 | if test -n "$ac_ct_CC"; then |
|---|
| 1751 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
|---|
| 1752 | else |
|---|
| 1753 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|---|
| 1754 | for as_dir in $PATH |
|---|
| 1755 | do |
|---|
| 1756 | IFS=$as_save_IFS |
|---|
| 1757 | test -z "$as_dir" && as_dir=. |
|---|
| 1758 | for ac_exec_ext in '' $ac_executable_extensions; do |
|---|
| 1759 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|---|
| 1760 | ac_cv_prog_ac_ct_CC="gcc" |
|---|
| 1761 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|---|
| 1762 | break 2 |
|---|
| 1763 | fi |
|---|
| 1764 | done |
|---|
| 1765 | done |
|---|
| 1766 | IFS=$as_save_IFS |
|---|
| 1767 | |
|---|
| 1768 | fi |
|---|
| 1769 | fi |
|---|
| 1770 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
|---|
| 1771 | if test -n "$ac_ct_CC"; then |
|---|
| 1772 | { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
|---|
| 1773 | echo "${ECHO_T}$ac_ct_CC" >&6; } |
|---|
| 1774 | else |
|---|
| 1775 | { echo "$as_me:$LINENO: result: no" >&5 |
|---|
| 1776 | echo "${ECHO_T}no" >&6; } |
|---|
| 1777 | fi |
|---|
| 1778 | |
|---|
| 1779 | if test "x$ac_ct_CC" = x; then |
|---|
| 1780 | CC="" |
|---|
| 1781 | else |
|---|
| 1782 | case $cross_compiling:$ac_tool_warned in |
|---|
| 1783 | yes:) |
|---|
| 1784 | { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
|---|
| 1785 | whose name does not start with the host triplet. If you think this |
|---|
| 1786 | configuration is useful to you, please write to autoconf@gnu.org." >&5 |
|---|
| 1787 | echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
|---|
| 1788 | whose name does not start with the host triplet. If you think this |
|---|
| 1789 | configuration is useful to you, please write to autoconf@gnu.org." >&2;} |
|---|
| 1790 | ac_tool_warned=yes ;; |
|---|
| 1791 | esac |
|---|
| 1792 | CC=$ac_ct_CC |
|---|
| 1793 | fi |
|---|
| 1794 | else |
|---|
| 1795 | CC="$ac_cv_prog_CC" |
|---|
| 1796 | fi |
|---|
| 1797 | |
|---|
| 1798 | if test -z "$CC"; then |
|---|
| 1799 | if test -n "$ac_tool_prefix"; then |
|---|
| 1800 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
|---|
| 1801 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
|---|
| 1802 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|---|
| 1803 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
|---|
| 1804 | if test "${ac_cv_prog_CC+set}" = set; then |
|---|
| 1805 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|---|
| 1806 | else |
|---|
| 1807 | if test -n "$CC"; then |
|---|
| 1808 | ac_cv_prog_CC="$CC" # Let the user override the test. |
|---|
| 1809 | else |
|---|
| 1810 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|---|
| 1811 | for as_dir in $PATH |
|---|
| 1812 | do |
|---|
| 1813 | IFS=$as_save_IFS |
|---|
| 1814 | test -z "$as_dir" && as_dir=. |
|---|
| 1815 | for ac_exec_ext in '' $ac_executable_extensions; do |
|---|
| 1816 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|---|
| 1817 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
|---|
| 1818 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|---|
| 1819 | break 2 |
|---|
| 1820 | fi |
|---|
| 1821 | done |
|---|
| 1822 | done |
|---|
| 1823 | IFS=$as_save_IFS |
|---|
| 1824 | |
|---|
| 1825 | fi |
|---|
| 1826 | fi |
|---|
| 1827 | CC=$ac_cv_prog_CC |
|---|
| 1828 | if test -n "$CC"; then |
|---|
| 1829 | { echo "$as_me:$LINENO: result: $CC" >&5 |
|---|
| 1830 | echo "${ECHO_T}$CC" >&6; } |
|---|
| 1831 | else |
|---|
| 1832 | { echo "$as_me:$LINENO: result: no" >&5 |
|---|
| 1833 | echo "${ECHO_T}no" >&6; } |
|---|
| 1834 | fi |
|---|
| 1835 | |
|---|
| 1836 | |
|---|
| 1837 | fi |
|---|
| 1838 | fi |
|---|
| 1839 | if test -z "$CC"; then |
|---|
| 1840 | # Extract the first word of "cc", so it can be a program name with args. |
|---|
| 1841 | set dummy cc; ac_word=$2 |
|---|
| 1842 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|---|
| 1843 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
|---|
| 1844 | if test "${ac_cv_prog_CC+set}" = set; then |
|---|
| 1845 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|---|
| 1846 | else |
|---|
| 1847 | if test -n "$CC"; then |
|---|
| 1848 | ac_cv_prog_CC="$CC" # Let the user override the test. |
|---|
| 1849 | else |
|---|
| 1850 | ac_prog_rejected=no |
|---|
| 1851 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|---|
| 1852 | for as_dir in $PATH |
|---|
| 1853 | do |
|---|
| 1854 | IFS=$as_save_IFS |
|---|
| 1855 | test -z "$as_dir" && as_dir=. |
|---|
| 1856 | for ac_exec_ext in '' $ac_executable_extensions; do |
|---|
| 1857 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|---|
| 1858 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
|---|
| 1859 | ac_prog_rejected=yes |
|---|
| 1860 | continue |
|---|
| 1861 | fi |
|---|
| 1862 | ac_cv_prog_CC="cc" |
|---|
| 1863 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|---|
| 1864 | break 2 |
|---|
| 1865 | fi |
|---|
| 1866 | done |
|---|
| 1867 | done |
|---|
| 1868 | IFS=$as_save_IFS |
|---|
| 1869 | |
|---|
| 1870 | if test $ac_prog_rejected = yes; then |
|---|
| 1871 | # We found a bogon in the path, so make sure we never use it. |
|---|
| 1872 | set dummy $ac_cv_prog_CC |
|---|
| 1873 | shift |
|---|
| 1874 | if test $# != 0; then |
|---|
| 1875 | # We chose a different compiler from the bogus one. |
|---|
| 1876 | # However, it has the same basename, so the bogon will be chosen |
|---|
| 1877 | # first if we set CC to just the basename; use the full file name. |
|---|
| 1878 | shift |
|---|
| 1879 | ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
|---|
| 1880 | fi |
|---|
| 1881 | fi |
|---|
| 1882 | fi |
|---|
| 1883 | fi |
|---|
| 1884 | CC=$ac_cv_prog_CC |
|---|
| 1885 | if test -n "$CC"; then |
|---|
| 1886 | { echo "$as_me:$LINENO: result: $CC" >&5 |
|---|
| 1887 | echo "${ECHO_T}$CC" >&6; } |
|---|
| 1888 | else |
|---|
| 1889 | { echo "$as_me:$LINENO: result: no" >&5 |
|---|
| 1890 | echo "${ECHO_T}no" >&6; } |
|---|
| 1891 | fi |
|---|
| 1892 | |
|---|
| 1893 | |
|---|
| 1894 | fi |
|---|
| 1895 | if test -z "$CC"; then |
|---|
| 1896 | if test -n "$ac_tool_prefix"; then |
|---|
| 1897 | for ac_prog in cl.exe |
|---|
| 1898 | do |
|---|
| 1899 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
|---|
| 1900 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
|---|
| 1901 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|---|
| 1902 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
|---|
| 1903 | if test "${ac_cv_prog_CC+set}" = set; then |
|---|
| 1904 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|---|
| 1905 | else |
|---|
| 1906 | if test -n "$CC"; then |
|---|
| 1907 | ac_cv_prog_CC="$CC" # Let the user override the test. |
|---|
| 1908 | else |
|---|
| 1909 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|---|
| 1910 | for as_dir in $PATH |
|---|
| 1911 | do |
|---|
| 1912 | IFS=$as_save_IFS |
|---|
| 1913 | test -z "$as_dir" && as_dir=. |
|---|
| 1914 | for ac_exec_ext in '' $ac_executable_extensions; do |
|---|
| 1915 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|---|
| 1916 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
|---|
| 1917 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|---|
| 1918 | break 2 |
|---|
| 1919 | fi |
|---|
| 1920 | done |
|---|
| 1921 | done |
|---|
| 1922 | IFS=$as_save_IFS |
|---|
| 1923 | |
|---|
| 1924 | fi |
|---|
| 1925 | fi |
|---|
| 1926 | CC=$ac_cv_prog_CC |
|---|
| 1927 | if test -n "$CC"; then |
|---|
| 1928 | { echo "$as_me:$LINENO: result: $CC" >&5 |
|---|
| 1929 | echo "${ECHO_T}$CC" >&6; } |
|---|
| 1930 | else |
|---|
| 1931 | { echo "$as_me:$LINENO: result: no" >&5 |
|---|
| 1932 | echo "${ECHO_T}no" >&6; } |
|---|
| 1933 | fi |
|---|
| 1934 | |
|---|
| 1935 | |
|---|
| 1936 | test -n "$CC" && break |
|---|
| 1937 | done |
|---|
| 1938 | fi |
|---|
| 1939 | if test -z "$CC"; then |
|---|
| 1940 | ac_ct_CC=$CC |
|---|
| 1941 | for ac_prog in cl.exe |
|---|
| 1942 | do |
|---|
| 1943 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
|---|
| 1944 | set dummy $ac_prog; ac_word=$2 |
|---|
| 1945 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|---|
| 1946 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
|---|
| 1947 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
|---|
| 1948 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|---|
| 1949 | else |
|---|
| 1950 | if test -n "$ac_ct_CC"; then |
|---|
| 1951 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
|---|
| 1952 | else |
|---|
| 1953 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|---|
| 1954 | for as_dir in $PATH |
|---|
| 1955 | do |
|---|
| 1956 | IFS=$as_save_IFS |
|---|
| 1957 | test -z "$as_dir" && as_dir=. |
|---|
| 1958 | for ac_exec_ext in '' $ac_executable_extensions; do |
|---|
| 1959 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|---|
| 1960 | ac_cv_prog_ac_ct_CC="$ac_prog" |
|---|
| 1961 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|---|
| 1962 | break 2 |
|---|
| 1963 | fi |
|---|
| 1964 | done |
|---|
| 1965 | done |
|---|
| 1966 | IFS=$as_save_IFS |
|---|
| 1967 | |
|---|
| 1968 | fi |
|---|
| 1969 | fi |
|---|
| 1970 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
|---|
| 1971 | if test -n "$ac_ct_CC"; then |
|---|
| 1972 | { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
|---|
| 1973 | echo "${ECHO_T}$ac_ct_CC" >&6; } |
|---|
| 1974 | else |
|---|
| 1975 | { echo "$as_me:$LINENO: result: no" >&5 |
|---|
| 1976 | echo "${ECHO_T}no" >&6; } |
|---|
| 1977 | fi |
|---|
| 1978 | |
|---|
| 1979 | |
|---|
| 1980 | test -n "$ac_ct_CC" && break |
|---|
| 1981 | done |
|---|
| 1982 | |
|---|
| 1983 | if test "x$ac_ct_CC" = x; then |
|---|
| 1984 | CC="" |
|---|
| 1985 | else |
|---|
| 1986 | case $cross_compiling:$ac_tool_warned in |
|---|
| 1987 | yes:) |
|---|
| 1988 | { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
|---|
| 1989 | whose name does not start with the host triplet. If you think this |
|---|
| 1990 | configuration is useful to you, please write to autoconf@gnu.org." >&5 |
|---|
| 1991 | echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
|---|
| 1992 | whose name does not start with the host triplet. If you think this |
|---|
| 1993 | configuration is useful to you, please write to autoconf@gnu.org." >&2;} |
|---|
| 1994 | ac_tool_warned=yes ;; |
|---|
| 1995 | esac |
|---|
| 1996 | CC=$ac_ct_CC |
|---|
| 1997 | fi |
|---|
| 1998 | fi |
|---|
| 1999 | |
|---|
| 2000 | fi |
|---|
| 2001 | |
|---|
| 2002 | |
|---|
| 2003 | test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH |
|---|
| 2004 | See \`config.log' for more details." >&5 |
|---|
| 2005 | echo "$as_me: error: no acceptable C compiler found in \$PATH |
|---|
| 2006 | See \`config.log' for more details." >&2;} |
|---|
| 2007 | { (exit 1); exit 1; }; } |
|---|
| 2008 | |
|---|
| 2009 | # Provide some information about the compiler. |
|---|
| 2010 | echo "$as_me:$LINENO: checking for C compiler version" >&5 |
|---|
| 2011 | ac_compiler=`set X $ac_compile; echo $2` |
|---|
| 2012 | { (ac_try="$ac_compiler --version >&5" |
|---|
| 2013 | case "(($ac_try" in |
|---|
| 2014 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|---|
| 2015 | *) ac_try_echo=$ac_try;; |
|---|
| 2016 | esac |
|---|
| 2017 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|---|
| 2018 | (eval "$ac_compiler --version >&5") 2>&5 |
|---|
| 2019 | ac_status=$? |
|---|
| 2020 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|---|
| 2021 | (exit $ac_status); } |
|---|
| 2022 | { (ac_try="$ac_compiler -v >&5" |
|---|
| 2023 | case "(($ac_try" in |
|---|
| 2024 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|---|
| 2025 | *) ac_try_echo=$ac_try;; |
|---|
| 2026 | esac |
|---|
| 2027 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|---|
| 2028 | (eval "$ac_compiler -v >&5") 2>&5 |
|---|
| 2029 | ac_status=$? |
|---|
| 2030 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|---|
| 2031 | (exit $ac_status); } |
|---|
| 2032 | { (ac_try="$ac_compiler -V >&5" |
|---|
| 2033 | case "(($ac_try" in |
|---|
| 2034 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|---|
| 2035 | *) ac_try_echo=$ac_try;; |
|---|
| 2036 | esac |
|---|
| 2037 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|---|
| 2038 | (eval "$ac_compiler -V >&5") 2>&5 |
|---|
| 2039 | ac_status=$? |
|---|
| 2040 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|---|
| 2041 | (exit $ac_status); } |
|---|
| 2042 | |
|---|
| 2043 | cat >conftest.$ac_ext <<_ACEOF |
|---|
| 2044 | /* confdefs.h. */ |
|---|
| 2045 | _ACEOF |
|---|
| 2046 | cat confdefs.h >>conftest.$ac_ext |
|---|
| 2047 | cat >>conftest.$ac_ext <<_ACEOF |
|---|
| 2048 | /* end confdefs.h. */ |
|---|
| 2049 | |
|---|
| 2050 | int |
|---|
| 2051 | main () |
|---|
| 2052 | { |
|---|
| 2053 | |
|---|
| 2054 | ; |
|---|
| 2055 | return 0; |
|---|
| 2056 | } |
|---|
| 2057 | _ACEOF |
|---|
| 2058 | ac_clean_files_save=$ac_clean_files |
|---|
| 2059 | ac_clean_files="$ac_clean_files a.out a.exe b.out" |
|---|
| 2060 | # Try to create an executable without -o first, disregard a.out. |
|---|
| 2061 | # It will help us diagnose broken compilers, and finding out an intuition |
|---|
| 2062 | # of exeext. |
|---|
| 2063 | { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 |
|---|
| 2064 | echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } |
|---|
| 2065 | ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
|---|
| 2066 | # |
|---|
| 2067 | # List of possible output files, starting from the most likely. |
|---|
| 2068 | # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) |
|---|
| 2069 | # only as a last resort. b.out is created by i960 compilers. |
|---|
| 2070 | ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' |
|---|
| 2071 | # |
|---|
| 2072 | # The IRIX 6 linker writes into existing files which may not be |
|---|
| 2073 | # executable, retaining their permissions. Remove them first so a |
|---|
| 2074 | # subsequent execution test works. |
|---|
| 2075 | ac_rmfiles= |
|---|
| 2076 | for ac_file in $ac_files |
|---|
| 2077 | do |
|---|
| 2078 | case $ac_file in |
|---|
| 2079 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; |
|---|
| 2080 | * ) ac_rmfiles="$ac_rmfiles $ac_file";; |
|---|
| 2081 | esac |
|---|
| 2082 | done |
|---|
| 2083 | rm -f $ac_rmfiles |
|---|
| 2084 | |
|---|
| 2085 | if { (ac_try="$ac_link_default" |
|---|
| 2086 | case "(($ac_try" in |
|---|
| 2087 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|---|
| 2088 | *) ac_try_echo=$ac_try;; |
|---|
| 2089 | esac |
|---|
| 2090 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|---|
| 2091 | (eval "$ac_link_default") 2>&5 |
|---|
| 2092 | ac_status=$? |
|---|
| 2093 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|---|
| 2094 | (exit $ac_status); }; then |
|---|
| 2095 | # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
|---|
| 2096 | # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
|---|
| 2097 | # in a Makefile. We should not override ac_cv_exeext if it was cached, |
|---|
| 2098 | # so that the user can short-circuit this test for compilers unknown to |
|---|
| 2099 | # Autoconf. |
|---|
| 2100 | for ac_file in $ac_files '' |
|---|
| 2101 | do |
|---|
| 2102 | test -f "$ac_file" || continue |
|---|
| 2103 | case $ac_file in |
|---|
| 2104 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) |
|---|
| 2105 | ;; |
|---|
| 2106 | [ab].out ) |
|---|
| 2107 | # We found the default executable, but exeext='' is most |
|---|
| 2108 | # certainly right. |
|---|
| 2109 | break;; |
|---|
| 2110 | *.* ) |
|---|
| 2111 | if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
|---|
| 2112 | then :; else |
|---|
| 2113 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
|---|
| 2114 | fi |
|---|
| 2115 | # We set ac_cv_exeext here because the later test for it is not |
|---|
| 2116 | # safe: cross compilers may not add the suffix if given an `-o' |
|---|
| 2117 | # argument, so we may need to know it at that point already. |
|---|
| 2118 | # Even if this section looks crufty: it has the advantage of |
|---|
| 2119 | # actually working. |
|---|
| 2120 | break;; |
|---|
| 2121 | * ) |
|---|
| 2122 | break;; |
|---|
| 2123 | esac |
|---|
| 2124 | done |
|---|
| 2125 | test "$ac_cv_exeext" = no && ac_cv_exeext= |
|---|
| 2126 | |
|---|
| 2127 | else |
|---|
| 2128 | ac_file='' |
|---|
| 2129 | fi |
|---|
| 2130 | |
|---|
| 2131 | { echo "$as_me:$LINENO: result: $ac_file" >&5 |
|---|
| 2132 | echo "${ECHO_T}$ac_file" >&6; } |
|---|
| 2133 | if test -z "$ac_file"; then |
|---|
| 2134 | echo "$as_me: failed program was:" >&5 |
|---|
| 2135 | sed 's/^/| /' conftest.$ac_ext >&5 |
|---|
| 2136 | |
|---|
| 2137 | { { echo "$as_me:$LINENO: error: C compiler cannot create executables |
|---|
| 2138 | See \`config.log' for more details." >&5 |
|---|
| 2139 | echo "$as_me: error: C compiler cannot create executables |
|---|
| 2140 | See \`config.log' for more details." >&2;} |
|---|
| 2141 | { (exit 77); exit 77; }; } |
|---|
| 2142 | fi |
|---|
| 2143 | |
|---|
| 2144 | ac_exeext=$ac_cv_exeext |
|---|
| 2145 | |
|---|
| 2146 | # Check that the compiler produces executables we can run. If not, either |
|---|
| 2147 | # the compiler is broken, or we cross compile. |
|---|
| 2148 | { echo "$as_me:$LINENO: checking whether the C compiler works" >&5 |
|---|
| 2149 | echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } |
|---|
| 2150 | # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 |
|---|
| 2151 | # If not cross compiling, check that we can run a simple program. |
|---|
| 2152 | if test "$cross_compiling" != yes; then |
|---|
| 2153 | if { ac_try='./$ac_file' |
|---|
| 2154 | { (case "(($ac_try" in |
|---|
| 2155 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|---|
| 2156 | *) ac_try_echo=$ac_try;; |
|---|
| 2157 | esac |
|---|
| 2158 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|---|
| 2159 | (eval "$ac_try") 2>&5 |
|---|
| 2160 | ac_status=$? |
|---|
| 2161 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|---|
| 2162 | (exit $ac_status); }; }; then |
|---|
| 2163 | cross_compiling=no |
|---|
| 2164 | else |
|---|
| 2165 | if test "$cross_compiling" = maybe; then |
|---|
| 2166 | cross_compiling=yes |
|---|
| 2167 | else |
|---|
| 2168 | { { echo "$as_me:$LINENO: error: cannot run C compiled programs. |
|---|
| 2169 | If you meant to cross compile, use \`--host'. |
|---|
| 2170 | See \`config.log' for more details." >&5 |
|---|
| 2171 | echo "$as_me: error: cannot run C compiled programs. |
|---|
| 2172 | If you meant to cross compile, use \`--host'. |
|---|
| 2173 | See \`config.log' for more details." >&2;} |
|---|
| 2174 | { (exit 1); exit 1; }; } |
|---|
| 2175 | fi |
|---|
| 2176 | fi |
|---|
| 2177 | fi |
|---|
| 2178 | { echo "$as_me:$LINENO: result: yes" >&5 |
|---|
| 2179 | echo "${ECHO_T}yes" >&6; } |
|---|
| 2180 | |
|---|
| 2181 | rm -f a.out a.exe conftest$ac_cv_exeext b.out |
|---|
| 2182 | ac_clean_files=$ac_clean_files_save |
|---|
| 2183 | # Check that the compiler produces executables we can run. If not, either |
|---|
| 2184 | # the compiler is broken, or we cross compile. |
|---|
| 2185 | { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 |
|---|
| 2186 | echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } |
|---|
| 2187 | { echo "$as_me:$LINENO: result: $cross_compiling" >&5 |
|---|
| 2188 | echo "${ECHO_T}$cross_compiling" >&6; } |
|---|
| 2189 | |
|---|
| 2190 | { echo "$as_me:$LINENO: checking for suffix of executables" >&5 |
|---|
| 2191 | echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } |
|---|
| 2192 | if { (ac_try="$ac_link" |
|---|
| 2193 | case "(($ac_try" in |
|---|
| 2194 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|---|
| 2195 | *) ac_try_echo=$ac_try;; |
|---|
| 2196 | esac |
|---|
| 2197 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|---|
| 2198 | (eval "$ac_link") 2>&5 |
|---|
| 2199 | ac_status=$? |
|---|
| 2200 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|---|
| 2201 | (exit $ac_status); }; then |
|---|
| 2202 | # If both `conftest.exe' and `conftest' are `present' (well, observable) |
|---|
| 2203 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
|---|
| 2204 | # work properly (i.e., refer to `conftest.exe'), while it won't with |
|---|
| 2205 | # `rm'. |
|---|
| 2206 | for ac_file in conftest.exe conftest conftest.*; do |
|---|
| 2207 | test -f "$ac_file" || continue |
|---|
| 2208 | case $ac_file in |
|---|
| 2209 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; |
|---|
| 2210 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
|---|
| 2211 | break;; |
|---|
| 2212 | * ) break;; |
|---|
| 2213 | esac |
|---|
| 2214 | done |
|---|
| 2215 | else |
|---|
| 2216 | { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link |
|---|
| 2217 | See \`config.log' for more details." >&5 |
|---|
| 2218 | echo "$as_me: error: cannot compute suffix of executables: cannot compile and link |
|---|
| 2219 | See \`config.log' for more details." >&2;} |
|---|
| 2220 | { (exit 1); exit 1; }; } |
|---|
| 2221 | fi |
|---|
| 2222 | |
|---|
| 2223 | rm -f conftest$ac_cv_exeext |
|---|
| 2224 | { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 |
|---|
| 2225 | echo "${ECHO_T}$ac_cv_exeext" >&6; } |
|---|
| 2226 | |
|---|
| 2227 | rm -f conftest.$ac_ext |
|---|
| 2228 | EXEEXT=$ac_cv_exeext |
|---|
| 2229 | ac_exeext=$EXEEXT |
|---|
| 2230 | { echo "$as_me:$LINENO: checking for suffix of object files" >&5 |
|---|
| 2231 | echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } |
|---|
| 2232 | if test "${ac_cv_objext+set}" = set; then |
|---|
| 2233 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|---|
| 2234 | else |
|---|
| 2235 | cat >conftest.$ac_ext <<_ACEOF |
|---|
| 2236 | /* confdefs.h. */ |
|---|
| 2237 | _ACEOF |
|---|
| 2238 | cat confdefs.h >>conftest.$ac_ext |
|---|
| 2239 | cat >>conftest.$ac_ext <<_ACEOF |
|---|
| 2240 | /* end confdefs.h. */ |
|---|
| 2241 | |
|---|
| 2242 | int |
|---|
| 2243 | main () |
|---|
| 2244 | { |
|---|
| 2245 | |
|---|
| 2246 | ; |
|---|
| 2247 | return 0; |
|---|
| 2248 | } |
|---|
| 2249 | _ACEOF |
|---|
| 2250 | rm -f conftest.o conftest.obj |
|---|
| 2251 | if { (ac_try="$ac_compile" |
|---|
| 2252 | case "(($ac_try" in |
|---|
| 2253 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|---|
| 2254 | *) ac_try_echo=$ac_try;; |
|---|
| 2255 | esac |
|---|
| 2256 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|---|
| 2257 | (eval "$ac_compile") 2>&5 |
|---|
| 2258 | ac_status=$? |
|---|
| 2259 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|---|
| 2260 | (exit $ac_status); }; then |
|---|
| 2261 | for ac_file in conftest.o conftest.obj conftest.*; do |
|---|
| 2262 | test -f "$ac_file" || continue; |
|---|
| 2263 | case $ac_file in |
|---|
| 2264 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; |
|---|
| 2265 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
|---|
| 2266 | break;; |
|---|
| 2267 | esac |
|---|
| 2268 | done |
|---|
| 2269 | else |
|---|
| 2270 | echo "$as_me: failed program was:" >&5 |
|---|
| 2271 | sed 's/^/| /' conftest.$ac_ext >&5 |
|---|
| 2272 | |
|---|
| 2273 | { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile |
|---|
| 2274 | See \`config.log' for more details." >&5 |
|---|
| 2275 | echo "$as_me: error: cannot compute suffix of object files: cannot compile |
|---|
| 2276 | See \`config.log' for more details." >&2;} |
|---|
| 2277 | { (exit 1); exit 1; }; } |
|---|
| 2278 | fi |
|---|
| 2279 | |
|---|
| 2280 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
|---|
| 2281 | fi |
|---|
| 2282 | { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
|---|
| 2283 | echo "${ECHO_T}$ac_cv_objext" >&6; } |
|---|
| 2284 | OBJEXT=$ac_cv_objext |
|---|
| 2285 | ac_objext=$OBJEXT |
|---|
| 2286 | { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
|---|
| 2287 | echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } |
|---|
| 2288 | if test "${ac_cv_c_compiler_gnu+set}" = set; then |
|---|
| 2289 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|---|
| 2290 | else |
|---|
| 2291 | cat >conftest.$ac_ext <<_ACEOF |
|---|
| 2292 | /* confdefs.h. */ |
|---|
| 2293 | _ACEOF |
|---|
| 2294 | cat confdefs.h >>conftest.$ac_ext |
|---|
| 2295 | cat >>conftest.$ac_ext <<_ACEOF |
|---|
| 2296 | /* end confdefs.h. */ |
|---|
| 2297 | |
|---|
| 2298 | int |
|---|
| 2299 | main () |
|---|
| 2300 | { |
|---|
| 2301 | #ifndef __GNUC__ |
|---|
| 2302 | choke me |
|---|
| 2303 | #endif |
|---|
| 2304 | |
|---|
| 2305 | ; |
|---|
| 2306 | return 0; |
|---|
| 2307 | } |
|---|
| 2308 | _ACEOF |
|---|
| 2309 | rm -f conftest.$ac_objext |
|---|
| 2310 | if { (ac_try="$ac_compile" |
|---|
| 2311 | case "(($ac_try" in |
|---|
| 2312 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|---|
| 2313 | *) ac_try_echo=$ac_try;; |
|---|
| 2314 | esac |
|---|
| 2315 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|---|
| 2316 | (eval "$ac_compile") 2>conftest.er1 |
|---|
| 2317 | ac_status=$? |
|---|
| 2318 | grep -v '^ *+' conftest.er1 >conftest.err |
|---|
| 2319 | rm -f conftest.er1 |
|---|
| 2320 | cat conftest.err >&5 |
|---|
| 2321 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|---|
| 2322 | (exit $ac_status); } && { |
|---|
| 2323 | test -z "$ac_c_werror_flag" || |
|---|
| 2324 | test ! -s conftest.err |
|---|
| 2325 | } && test -s conftest.$ac_objext; then |
|---|
| 2326 | ac_compiler_gnu=yes |
|---|
| 2327 | else |
|---|
| 2328 | echo "$as_me: failed program was:" >&5 |
|---|
| 2329 | sed 's/^/| /' conftest.$ac_ext >&5 |
|---|
| 2330 | |
|---|
| 2331 | ac_compiler_gnu=no |
|---|
| 2332 | fi |
|---|
| 2333 | |
|---|
| 2334 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|---|
| 2335 | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
|---|
| 2336 | |
|---|
| 2337 | fi |
|---|
| 2338 | { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
|---|
| 2339 | echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } |
|---|
| 2340 | GCC=`test $ac_compiler_gnu = yes && echo yes` |
|---|
| 2341 | ac_test_CFLAGS=${CFLAGS+set} |
|---|
| 2342 | ac_save_CFLAGS=$CFLAGS |
|---|
| 2343 | { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
|---|
| 2344 | echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } |
|---|
| 2345 | if test "${ac_cv_prog_cc_g+set}" = set; then |
|---|
| 2346 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|---|
| 2347 | else |
|---|
| 2348 | ac_save_c_werror_flag=$ac_c_werror_flag |
|---|
| 2349 | ac_c_werror_flag=yes |
|---|
| 2350 | ac_cv_prog_cc_g=no |
|---|
| 2351 | CFLAGS="-g" |
|---|
| 2352 | cat >conftest.$ac_ext <<_ACEOF |
|---|
| 2353 | /* confdefs.h. */ |
|---|
| 2354 | _ACEOF |
|---|
| 2355 | cat confdefs.h >>conftest.$ac_ext |
|---|
| 2356 | cat >>conftest.$ac_ext <<_ACEOF |
|---|
| 2357 | /* end confdefs.h. */ |
|---|
| 2358 | |
|---|
| 2359 | int |
|---|
| 2360 | main () |
|---|
| 2361 | { |
|---|
| 2362 | |
|---|
| 2363 | ; |
|---|
| 2364 | return 0; |
|---|
| 2365 | } |
|---|
| 2366 | _ACEOF |
|---|
| 2367 | rm -f conftest.$ac_objext |
|---|
| 2368 | if { (ac_try="$ac_compile" |
|---|
| 2369 | case "(($ac_try" in |
|---|
| 2370 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|---|
| 2371 | *) ac_try_echo=$ac_try;; |
|---|
| 2372 | esac |
|---|
| 2373 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|---|
| 2374 | (eval "$ac_compile") 2>conftest.er1 |
|---|
| 2375 | ac_status=$? |
|---|
| 2376 | grep -v '^ *+' conftest.er1 >conftest.err |
|---|
| 2377 | rm -f conftest.er1 |
|---|
| 2378 | cat conftest.err >&5 |
|---|
| 2379 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|---|
| 2380 | (exit $ac_status); } && { |
|---|
| 2381 | test -z "$ac_c_werror_flag" || |
|---|
| 2382 | test ! -s conftest.err |
|---|
| 2383 | } && test -s conftest.$ac_objext; then |
|---|
| 2384 | ac_cv_prog_cc_g=yes |
|---|
| 2385 | else |
|---|
| 2386 | echo "$as_me: failed program was:" >&5 |
|---|
| 2387 | sed 's/^/| /' conftest.$ac_ext >&5 |
|---|
| 2388 | |
|---|
| 2389 | CFLAGS="" |
|---|
| 2390 | cat >conftest.$ac_ext <<_ACEOF |
|---|
| 2391 | /* confdefs.h. */ |
|---|
| 2392 | _ACEOF |
|---|
| 2393 | cat confdefs.h >>conftest.$ac_ext |
|---|
| 2394 | cat >>conftest.$ac_ext <<_ACEOF |
|---|
| 2395 | /* end confdefs.h. */ |
|---|
| 2396 | |
|---|
| 2397 | int |
|---|
| 2398 | main () |
|---|
| 2399 | { |
|---|
| 2400 | |
|---|
| 2401 | ; |
|---|
| 2402 | return 0; |
|---|
| 2403 | } |
|---|
| 2404 | _ACEOF |
|---|
| 2405 | rm -f conftest.$ac_objext |
|---|
| 2406 | if { (ac_try="$ac_compile" |
|---|
| 2407 | case "(($ac_try" in |
|---|
| 2408 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|---|
| 2409 | *) ac_try_echo=$ac_try;; |
|---|
| 2410 | esac |
|---|
| 2411 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|---|
| 2412 | (eval "$ac_compile") 2>conftest.er1 |
|---|
| 2413 | ac_status=$? |
|---|
| 2414 | grep -v '^ *+' conftest.er1 >conftest.err |
|---|
| 2415 | rm -f conftest.er1 |
|---|
| 2416 | cat conftest.err >&5 |
|---|
| 2417 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|---|
| 2418 | (exit $ac_status); } && { |
|---|
| 2419 | test -z "$ac_c_werror_flag" || |
|---|
| 2420 | test ! -s conftest.err |
|---|
| 2421 | } && test -s conftest.$ac_objext; then |
|---|
| 2422 | : |
|---|
| 2423 | else |
|---|
| 2424 | echo "$as_me: failed program was:" >&5 |
|---|
| 2425 | sed 's/^/| /' conftest.$ac_ext >&5 |
|---|
| 2426 | |
|---|
| 2427 | ac_c_werror_flag=$ac_save_c_werror_flag |
|---|
| 2428 | CFLAGS="-g" |
|---|
| 2429 | cat >conftest.$ac_ext <<_ACEOF |
|---|
| 2430 | /* confdefs.h. */ |
|---|
| 2431 | _ACEOF |
|---|
| 2432 | cat confdefs.h >>conftest.$ac_ext |
|---|
| 2433 | cat >>conftest.$ac_ext <<_ACEOF |
|---|
| 2434 | /* end confdefs.h. */ |
|---|
| 2435 | |
|---|
| 2436 | int |
|---|
| 2437 | main () |
|---|
| 2438 | { |
|---|
| 2439 | |
|---|
| 2440 | ; |
|---|
| 2441 | return 0; |
|---|
| 2442 | } |
|---|
| 2443 | _ACEOF |
|---|
| 2444 | rm -f conftest.$ac_objext |
|---|
| 2445 | if { (ac_try="$ac_compile" |
|---|
| 2446 | case "(($ac_try" in |
|---|
| 2447 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|---|
| 2448 | *) ac_try_echo=$ac_try;; |
|---|
| 2449 | esac |
|---|
| 2450 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|---|
| 2451 | (eval "$ac_compile") 2>conftest.er1 |
|---|
| 2452 | ac_status=$? |
|---|
| 2453 | grep -v '^ *+' conftest.er1 >conftest.err |
|---|
| 2454 | rm -f conftest.er1 |
|---|
| 2455 | cat conftest.err >&5 |
|---|
| 2456 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|---|
| 2457 | (exit $ac_status); } && { |
|---|
| 2458 | test -z "$ac_c_werror_flag" || |
|---|
| 2459 | test ! -s conftest.err |
|---|
| 2460 | } && test -s conftest.$ac_objext; then |
|---|
| 2461 | ac_cv_prog_cc_g=yes |
|---|
| 2462 | else |
|---|
| 2463 | echo "$as_me: failed program was:" >&5 |
|---|
| 2464 | sed 's/^/| /' conftest.$ac_ext >&5 |
|---|
| 2465 | |
|---|
| 2466 | |
|---|
| 2467 | fi |
|---|
| 2468 | |
|---|
| 2469 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|---|
| 2470 | fi |
|---|
| 2471 | |
|---|
| 2472 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|---|
| 2473 | fi |
|---|
| 2474 | |
|---|
| 2475 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|---|
| 2476 | ac_c_werror_flag=$ac_save_c_werror_flag |
|---|
| 2477 | fi |
|---|
| 2478 | { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
|---|
| 2479 | echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } |
|---|
| 2480 | if test "$ac_test_CFLAGS" = set; then |
|---|
| 2481 | CFLAGS=$ac_save_CFLAGS |
|---|
| 2482 | elif test $ac_cv_prog_cc_g = yes; then |
|---|
| 2483 | if test "$GCC" = yes; then |
|---|
| 2484 | CFLAGS="-g -O2" |
|---|
| 2485 | else |
|---|
| 2486 | CFLAGS="-g" |
|---|
| 2487 | fi |
|---|
| 2488 | else |
|---|
| 2489 | if test "$GCC" = yes; then |
|---|
| 2490 | CFLAGS="-O2" |
|---|
| 2491 | else |
|---|
| 2492 | CFLAGS= |
|---|
| 2493 | fi |
|---|
| 2494 | fi |
|---|
| 2495 | { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 |
|---|
| 2496 | echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } |
|---|
| 2497 | if test "${ac_cv_prog_cc_c89+set}" = set; then |
|---|
| 2498 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|---|
| 2499 | else |
|---|
| 2500 | ac_cv_prog_cc_c89=no |
|---|
| 2501 | ac_save_CC=$CC |
|---|
| 2502 | cat >conftest.$ac_ext <<_ACEOF |
|---|
| 2503 | /* confdefs.h. */ |
|---|
| 2504 | _ACEOF |
|---|
| 2505 | cat confdefs.h >>conftest.$ac_ext |
|---|
| 2506 | cat >>conftest.$ac_ext <<_ACEOF |
|---|
| 2507 | /* end confdefs.h. */ |
|---|
| 2508 | #include <stdarg.h> |
|---|
| 2509 | #include <stdio.h> |
|---|
| 2510 | #include <sys/types.h> |
|---|
| 2511 | #include <sys/stat.h> |
|---|
| 2512 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
|---|
| 2513 | struct buf { int x; }; |
|---|
| 2514 | FILE * (*rcsopen) (struct buf *, struct stat *, int); |
|---|
| 2515 | static char *e (p, i) |
|---|
| 2516 | char **p; |
|---|
| 2517 | int i; |
|---|
| 2518 | { |
|---|
| 2519 | return p[i]; |
|---|
| 2520 | } |
|---|
| 2521 | static char *f (char * (*g) (char **, int), char **p, ...) |
|---|
| 2522 | { |
|---|
| 2523 | char *s; |
|---|
| 2524 | va_list v; |
|---|
| 2525 | va_start (v,p); |
|---|
| 2526 | s = g (p, va_arg (v,int)); |
|---|
| 2527 | va_end (v); |
|---|
| 2528 | return s; |
|---|
| 2529 | } |
|---|
| 2530 | |
|---|
| 2531 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
|---|
| 2532 | function prototypes and stuff, but not '\xHH' hex character constants. |
|---|
| 2533 | These don't provoke an error unfortunately, instead are silently treated |
|---|
| 2534 | as 'x'. The following induces an error, until -std is added to get |
|---|
| 2535 | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
|---|
| 2536 | array size at least. It's necessary to write '\x00'==0 to get something |
|---|
| 2537 | that's true only with -std. */ |
|---|
| 2538 | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
|---|
| 2539 | |
|---|
| 2540 | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters |
|---|
| 2541 | inside strings and character constants. */ |
|---|
| 2542 | #define FOO(x) 'x' |
|---|
| 2543 | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; |
|---|
| 2544 | |
|---|
| 2545 | int test (int i, double x); |
|---|
| 2546 | struct s1 {int (*f) (int a);}; |
|---|
| 2547 | struct s2 {int (*f) (double a);}; |
|---|
| 2548 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
|---|
| 2549 | int argc; |
|---|
| 2550 | char **argv; |
|---|
| 2551 | int |
|---|
| 2552 | main () |
|---|
| 2553 | { |
|---|
| 2554 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
|---|
| 2555 | ; |
|---|
| 2556 | return 0; |
|---|
| 2557 | } |
|---|
| 2558 | _ACEOF |
|---|
| 2559 | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
|---|
| 2560 | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
|---|
| 2561 | do |
|---|
| 2562 | CC="$ac_save_CC $ac_arg" |
|---|
| 2563 | rm -f conftest.$ac_objext |
|---|
| 2564 | if { (ac_try="$ac_compile" |
|---|
| 2565 | case "(($ac_try" in |
|---|
| 2566 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|---|
| 2567 | *) ac_try_echo=$ac_try;; |
|---|
| 2568 | esac |
|---|
| 2569 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|---|
| 2570 | (eval "$ac_compile") 2>conftest.er1 |
|---|
| 2571 | ac_status=$? |
|---|
| 2572 | grep -v '^ *+' conftest.er1 >conftest.err |
|---|
| 2573 | rm -f conftest.er1 |
|---|
| 2574 | cat conftest.err >&5 |
|---|
| 2575 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|---|
| 2576 | (exit $ac_status); } && { |
|---|
| 2577 | test -z "$ac_c_werror_flag" || |
|---|
| 2578 | test ! -s conftest.err |
|---|
| 2579 | } && test -s conftest.$ac_objext; then |
|---|
| 2580 | ac_cv_prog_cc_c89=$ac_arg |
|---|
| 2581 | else |
|---|
| 2582 | echo "$as_me: failed program was:" >&5 |
|---|
| 2583 | sed 's/^/| /' conftest.$ac_ext >&5 |
|---|
| 2584 | |
|---|
| 2585 | |
|---|
| 2586 | fi |
|---|
| 2587 | |
|---|
| 2588 | rm -f core conftest.err conftest.$ac_objext |
|---|
| 2589 | test "x$ac_cv_prog_cc_c89" != "xno" && break |
|---|
| 2590 | done |
|---|
| 2591 | rm -f conftest.$ac_ext |
|---|
| 2592 | CC=$ac_save_CC |
|---|
| 2593 | |
|---|
| 2594 | fi |
|---|
| 2595 | # AC_CACHE_VAL |
|---|
| 2596 | case "x$ac_cv_prog_cc_c89" in |
|---|
| 2597 | x) |
|---|
| 2598 | { echo "$as_me:$LINENO: result: none needed" >&5 |
|---|
| 2599 | echo "${ECHO_T}none needed" >&6; } ;; |
|---|
| 2600 | xno) |
|---|
| 2601 | { echo "$as_me:$LINENO: result: unsupported" >&5 |
|---|
| 2602 | echo "${ECHO_T}unsupported" >&6; } ;; |
|---|
| 2603 | *) |
|---|
| 2604 | CC="$CC $ac_cv_prog_cc_c89" |
|---|
| 2605 | { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 |
|---|
| 2606 | echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; |
|---|
| 2607 | esac |
|---|
| 2608 | |
|---|
| 2609 | |
|---|
| 2610 | ac_ext=c |
|---|
| 2611 | ac_cpp='$CPP $CPPFLAGS' |
|---|
| 2612 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|---|
| 2613 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|---|
| 2614 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|---|
| 2615 | |
|---|
| 2616 | |
|---|
| 2617 | if test "$GCC" = yes; then |
|---|
| 2618 | CFLAGS="$CFLAGS -Wall -g"; |
|---|
| 2619 | fi |
|---|
| 2620 | |
|---|
| 2621 | { echo "$as_me:$LINENO: checking for /usr/athena/include" >&5 |
|---|
| 2622 | echo $ECHO_N "checking for /usr/athena/include... $ECHO_C" >&6; } |
|---|
| 2623 | if test -d /usr/athena/include; then |
|---|
| 2624 | CFLAGS=${CFLAGS}\ -I/usr/athena/include |
|---|
| 2625 | CPPFLAGS=${CPPFLAGS}\ -I/usr/athena/include |
|---|
| 2626 | { echo "$as_me:$LINENO: result: yes" >&5 |
|---|
| 2627 | echo "${ECHO_T}yes" >&6; } |
|---|
| 2628 | else |
|---|
| 2629 | { echo "$as_me:$LINENO: result: no" >&5 |
|---|
| 2630 | echo "${ECHO_T}no" >&6; } |
|---|
| 2631 | fi |
|---|
| 2632 | { echo "$as_me:$LINENO: checking for /usr/athena/lib" >&5 |
|---|
| 2633 | echo $ECHO_N "checking for /usr/athena/lib... $ECHO_C" >&6; } |
|---|
| 2634 | if test -d /usr/athena/lib; then |
|---|
| 2635 | LDFLAGS=${LDFLAGS}\ -L/usr/athena/lib |
|---|
| 2636 | { echo "$as_me:$LINENO: result: yes" >&5 |
|---|
| 2637 | echo "${ECHO_T}yes" >&6; } |
|---|
| 2638 | else |
|---|
| 2639 | { echo "$as_me:$LINENO: result: no" >&5 |
|---|
| 2640 | echo "${ECHO_T}no" >&6; } |
|---|
| 2641 | fi |
|---|
| 2642 | |
|---|
| 2643 | { echo "$as_me:$LINENO: checking for kerberosIV" >&5 |
|---|
| 2644 | echo $ECHO_N "checking for kerberosIV... $ECHO_C" >&6; } |
|---|
| 2645 | if test -d /usr/include/kerberosIV; then |
|---|
| 2646 | CFLAGS=${CFLAGS}\ -I/usr/include/kerberosIV |
|---|
| 2647 | CPPFLAGS=${CPPFLAGS}\ -I/usr/include/kerberosIV |
|---|
| 2648 | { echo "$as_me:$LINENO: result: yes" >&5 |
|---|
| 2649 | echo "${ECHO_T}yes" >&6; } |
|---|
| 2650 | elif test -d /usr/local/include/kerberosIV; then |
|---|
| 2651 | CFLAGS=${CFLAGS}\ -I/usr/local/include/kerberosIV |
|---|
| 2652 | CPPFLAGS=${CPPFLAGS}\ -I/usr/local/include/kerberosIV |
|---|
| 2653 | { echo "$as_me:$LINENO: result: yes" >&5 |
|---|
| 2654 | echo "${ECHO_T}yes" >&6; } |
|---|
| 2655 | elif test -d /usr/include/openssl; then |
|---|
| 2656 | CFLAGS=${CFLAGS}\ -I/usr/include/openssl |
|---|
| 2657 | CPPFLAGS=${CPPFLAGS}\ -I/usr/include/openssl |
|---|
| 2658 | { echo "$as_me:$LINENO: result: OpenSSL DES found instead" >&5 |
|---|
| 2659 | echo "${ECHO_T}OpenSSL DES found instead" >&6; } |
|---|
| 2660 | else |
|---|
| 2661 | { echo "$as_me:$LINENO: result: no" >&5 |
|---|
| 2662 | echo "${ECHO_T}no" >&6; } |
|---|
| 2663 | fi |
|---|
| 2664 | PROTECT_CFLAGS=${PROTECT_CFLAGS-"-fstack-protector"} |
|---|
| 2665 | SAVE_CFLAGS=$CFLAGS |
|---|
| 2666 | CFLAGS="$CFLAGS $PROTECT_CFLAGS" |
|---|
| 2667 | { echo "$as_me:$LINENO: checking whether protection cflags work" >&5 |
|---|
| 2668 | echo $ECHO_N "checking whether protection cflags work... $ECHO_C" >&6; } |
|---|
| 2669 | |
|---|
| 2670 | cat >conftest.$ac_ext <<_ACEOF |
|---|
| 2671 | int i; |
|---|
| 2672 | _ACEOF |
|---|
| 2673 | rm -f conftest.$ac_objext |
|---|
| 2674 | if { (ac_try="$ac_compile" |
|---|
| 2675 | case "(($ac_try" in |
|---|
| 2676 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|---|
| 2677 | *) ac_try_echo=$ac_try;; |
|---|
| 2678 | esac |
|---|
| 2679 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|---|
| 2680 | (eval "$ac_compile") 2>conftest.er1 |
|---|
| 2681 | ac_status=$? |
|---|
| 2682 | grep -v '^ *+' conftest.er1 >conftest.err |
|---|
| 2683 | rm -f conftest.er1 |
|---|
| 2684 | cat conftest.err >&5 |
|---|
| 2685 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|---|
| 2686 | (exit $ac_status); } && { |
|---|
| 2687 | test -z "$ac_c_werror_flag" || |
|---|
| 2688 | test ! -s conftest.err |
|---|
| 2689 | } && test -s conftest.$ac_objext; then |
|---|
| 2690 | { echo "$as_me:$LINENO: result: yes" >&5 |
|---|
| 2691 | echo "${ECHO_T}yes" >&6; } |
|---|
| 2692 | else |
|---|
| 2693 | echo "$as_me: failed program was:" >&5 |
|---|
| 2694 | sed 's/^/| /' conftest.$ac_ext >&5 |
|---|
| 2695 | |
|---|
| 2696 | { echo "$as_me:$LINENO: result: no" >&5 |
|---|
| 2697 | echo "${ECHO_T}no" >&6; } |
|---|
| 2698 | CFLAGS=$SAVE_CFLAGS |
|---|
| 2699 | fi |
|---|
| 2700 | |
|---|
| 2701 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|---|
| 2702 | |
|---|
| 2703 | |
|---|
| 2704 | |
|---|
| 2705 | { echo "$as_me:$LINENO: checking for __stack_chk_guard in -lssp" >&5 |
|---|
| 2706 | echo $ECHO_N "checking for __stack_chk_guard in -lssp... $ECHO_C" >&6; } |
|---|
| 2707 | if test "${ac_cv_lib_ssp___stack_chk_guard+set}" = set; then |
|---|
| 2708 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|---|
| 2709 | else |
|---|
| 2710 | ac_check_lib_save_LIBS=$LIBS |
|---|
| 2711 | LIBS="-lssp $LIBS" |
|---|
| 2712 | cat >conftest.$ac_ext <<_ACEOF |
|---|
| 2713 | /* confdefs.h. */ |
|---|
| 2714 | _ACEOF |
|---|
| 2715 | cat confdefs.h >>conftest.$ac_ext |
|---|
| 2716 | cat >>conftest.$ac_ext <<_ACEOF |
|---|
| 2717 | /* end confdefs.h. */ |
|---|
| 2718 | |
|---|
| 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. */ |
|---|
| 2722 | #ifdef __cplusplus |
|---|
| 2723 | extern "C" |
|---|
| 2724 | #endif |
|---|
| 2725 | char __stack_chk_guard (); |
|---|
| 2726 | int |
|---|
| 2727 | main () |
|---|
| 2728 | { |
|---|
| 2729 | return __stack_chk_guard (); |
|---|
| 2730 | ; |
|---|
| 2731 | return 0; |
|---|
| 2732 | } |
|---|
| 2733 | _ACEOF |
|---|
| 2734 | rm -f conftest.$ac_objext conftest$ac_exeext |
|---|
| 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 |
|---|
| 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); } && { |
|---|
| 2748 | test -z "$ac_c_werror_flag" || |
|---|
| 2749 | test ! -s conftest.err |
|---|
| 2750 | } && test -s conftest$ac_exeext && |
|---|
| 2751 | $as_test_x conftest$ac_exeext; then |
|---|
| 2752 | ac_cv_lib_ssp___stack_chk_guard=yes |
|---|
| 2753 | else |
|---|
| 2754 | echo "$as_me: failed program was:" >&5 |
|---|
| 2755 | sed 's/^/| /' conftest.$ac_ext >&5 |
|---|
| 2756 | |
|---|
| 2757 | ac_cv_lib_ssp___stack_chk_guard=no |
|---|
| 2758 | fi |
|---|
| 2759 | |
|---|
| 2760 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|---|
| 2761 | conftest$ac_exeext conftest.$ac_ext |
|---|
| 2762 | LIBS=$ac_check_lib_save_LIBS |
|---|
| 2763 | fi |
|---|
| 2764 | { echo "$as_me:$LINENO: result: $ac_cv_lib_ssp___stack_chk_guard" >&5 |
|---|
| 2765 | echo "${ECHO_T}$ac_cv_lib_ssp___stack_chk_guard" >&6; } |
|---|
| 2766 | if test $ac_cv_lib_ssp___stack_chk_guard = yes; then |
|---|
| 2767 | cat >>confdefs.h <<_ACEOF |
|---|
| 2768 | #define HAVE_LIBSSP 1 |
|---|
| 2769 | _ACEOF |
|---|
| 2770 | |
|---|
| 2771 | LIBS="-lssp $LIBS" |
|---|
| 2772 | |
|---|
| 2773 | fi |
|---|
| 2774 | |
|---|
| 2775 | |
|---|
| 2776 | { echo "$as_me:$LINENO: checking for initscr in -lncursesw" >&5 |
|---|
| 2777 | echo $ECHO_N "checking for initscr in -lncursesw... $ECHO_C" >&6; } |
|---|
| 2778 | if test "${ac_cv_lib_ncursesw_initscr+set}" = set; then |
|---|
| 2779 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|---|
| 2780 | else |
|---|
| 2781 | ac_check_lib_save_LIBS=$LIBS |
|---|
| 2782 | LIBS="-lncursesw $LIBS" |
|---|
| 2783 | cat >conftest.$ac_ext <<_ACEOF |
|---|
| 2784 | /* confdefs.h. */ |
|---|
| 2785 | _ACEOF |
|---|
| 2786 | cat confdefs.h >>conftest.$ac_ext |
|---|
| 2787 | cat >>conftest.$ac_ext <<_ACEOF |
|---|
| 2788 | /* end confdefs.h. */ |
|---|
| 2789 | |
|---|
| 2790 | /* Override any GCC internal prototype to avoid an error. |
|---|
| 2791 | Use char because int might match the return type of a GCC |
|---|
| 2792 | builtin and then its argument prototype would still apply. */ |
|---|
| 2793 | #ifdef __cplusplus |
|---|
| 2794 | extern "C" |
|---|
| 2795 | #endif |
|---|
| 2796 | char initscr (); |
|---|
| 2797 | int |
|---|
| 2798 | main () |
|---|
| 2799 | { |
|---|
| 2800 | return initscr (); |
|---|
| 2801 | ; |
|---|
| 2802 | return 0; |
|---|
| 2803 | } |
|---|
| 2804 | _ACEOF |
|---|
| 2805 | rm -f conftest.$ac_objext conftest$ac_exeext |
|---|
| 2806 | if { (ac_try="$ac_link" |
|---|
| 2807 | case "(($ac_try" in |
|---|
| 2808 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|---|
| 2809 | *) ac_try_echo=$ac_try;; |
|---|
| 2810 | esac |
|---|
| 2811 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|---|
| 2812 | (eval "$ac_link") 2>conftest.er1 |
|---|
| 2813 | ac_status=$? |
|---|
| 2814 | grep -v '^ *+' conftest.er1 >conftest.err |
|---|
| 2815 | rm -f conftest.er1 |
|---|
| 2816 | cat conftest.err >&5 |
|---|
| 2817 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|---|
| 2818 | (exit $ac_status); } && { |
|---|
| 2819 | test -z "$ac_c_werror_flag" || |
|---|
| 2820 | test ! -s conftest.err |
|---|
| 2821 | } && test -s conftest$ac_exeext && |
|---|
| 2822 | $as_test_x conftest$ac_exeext; then |
|---|
| 2823 | ac_cv_lib_ncursesw_initscr=yes |
|---|
| 2824 | else |
|---|
| 2825 | echo "$as_me: failed program was:" >&5 |
|---|
| 2826 | sed 's/^/| /' conftest.$ac_ext >&5 |
|---|
| 2827 | |
|---|
| 2828 | ac_cv_lib_ncursesw_initscr=no |
|---|
| 2829 | fi |
|---|
| 2830 | |
|---|
| 2831 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|---|
| 2832 | conftest$ac_exeext conftest.$ac_ext |
|---|
| 2833 | LIBS=$ac_check_lib_save_LIBS |
|---|
| 2834 | fi |
|---|
| 2835 | { echo "$as_me:$LINENO: result: $ac_cv_lib_ncursesw_initscr" >&5 |
|---|
| 2836 | echo "${ECHO_T}$ac_cv_lib_ncursesw_initscr" >&6; } |
|---|
| 2837 | if test $ac_cv_lib_ncursesw_initscr = yes; then |
|---|
| 2838 | cat >>confdefs.h <<_ACEOF |
|---|
| 2839 | #define HAVE_LIBNCURSESW 1 |
|---|
| 2840 | _ACEOF |
|---|
| 2841 | |
|---|
| 2842 | LIBS="-lncursesw $LIBS" |
|---|
| 2843 | |
|---|
| 2844 | else |
|---|
| 2845 | { { echo "$as_me:$LINENO: error: No libncursesw found." >&5 |
|---|
| 2846 | echo "$as_me: error: No libncursesw found." >&2;} |
|---|
| 2847 | { (exit 1); exit 1; }; } |
|---|
| 2848 | fi |
|---|
| 2849 | |
|---|
| 2850 | |
|---|
| 2851 | { echo "$as_me:$LINENO: checking for com_err in -lcom_err" >&5 |
|---|
| 2852 | echo $ECHO_N "checking for com_err in -lcom_err... $ECHO_C" >&6; } |
|---|
| 2853 | if test "${ac_cv_lib_com_err_com_err+set}" = set; then |
|---|
| 2854 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|---|
| 2855 | else |
|---|
| 2856 | ac_check_lib_save_LIBS=$LIBS |
|---|
| 2857 | LIBS="-lcom_err $LIBS" |
|---|
| 2858 | cat >conftest.$ac_ext <<_ACEOF |
|---|
| 2859 | /* confdefs.h. */ |
|---|
| 2860 | _ACEOF |
|---|
| 2861 | cat confdefs.h >>conftest.$ac_ext |
|---|
| 2862 | cat >>conftest.$ac_ext <<_ACEOF |
|---|
| 2863 | /* end confdefs.h. */ |
|---|
| 2864 | |
|---|
| 2865 | /* Override any GCC internal prototype to avoid an error. |
|---|
| 2866 | Use char because int might match the return type of a GCC |
|---|
| 2867 | builtin and then its argument prototype would still apply. */ |
|---|
| 2868 | #ifdef __cplusplus |
|---|
| 2869 | extern "C" |
|---|
| 2870 | #endif |
|---|
| 2871 | char com_err (); |
|---|
| 2872 | int |
|---|
| 2873 | main () |
|---|
| 2874 | { |
|---|
| 2875 | return com_err (); |
|---|
| 2876 | ; |
|---|
| 2877 | return 0; |
|---|
| 2878 | } |
|---|
| 2879 | _ACEOF |
|---|
| 2880 | rm -f conftest.$ac_objext conftest$ac_exeext |
|---|
| 2881 | if { (ac_try="$ac_link" |
|---|
| 2882 | case "(($ac_try" in |
|---|
| 2883 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|---|
| 2884 | *) ac_try_echo=$ac_try;; |
|---|
| 2885 | esac |
|---|
| 2886 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|---|
| 2887 | (eval "$ac_link") 2>conftest.er1 |
|---|
| 2888 | ac_status=$? |
|---|
| 2889 | grep -v '^ *+' conftest.er1 >conftest.err |
|---|
| 2890 | rm -f conftest.er1 |
|---|
| 2891 | cat conftest.err >&5 |
|---|
| 2892 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|---|
| 2893 | (exit $ac_status); } && { |
|---|
| 2894 | test -z "$ac_c_werror_flag" || |
|---|
| 2895 | test ! -s conftest.err |
|---|
| 2896 | } && test -s conftest$ac_exeext && |
|---|
| 2897 | $as_test_x conftest$ac_exeext; then |
|---|
| 2898 | ac_cv_lib_com_err_com_err=yes |
|---|
| 2899 | else |
|---|
| 2900 | echo "$as_me: failed program was:" >&5 |
|---|
| 2901 | sed 's/^/| /' conftest.$ac_ext >&5 |
|---|
| 2902 | |
|---|
| 2903 | ac_cv_lib_com_err_com_err=no |
|---|
| 2904 | fi |
|---|
| 2905 | |
|---|
| 2906 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|---|
| 2907 | conftest$ac_exeext conftest.$ac_ext |
|---|
| 2908 | LIBS=$ac_check_lib_save_LIBS |
|---|
| 2909 | fi |
|---|
| 2910 | { echo "$as_me:$LINENO: result: $ac_cv_lib_com_err_com_err" >&5 |
|---|
| 2911 | echo "${ECHO_T}$ac_cv_lib_com_err_com_err" >&6; } |
|---|
| 2912 | if test $ac_cv_lib_com_err_com_err = yes; then |
|---|
| 2913 | cat >>confdefs.h <<_ACEOF |
|---|
| 2914 | #define HAVE_LIBCOM_ERR 1 |
|---|
| 2915 | _ACEOF |
|---|
| 2916 | |
|---|
| 2917 | LIBS="-lcom_err $LIBS" |
|---|
| 2918 | |
|---|
| 2919 | fi |
|---|
| 2920 | |
|---|
| 2921 | |
|---|
| 2922 | { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5 |
|---|
| 2923 | echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; } |
|---|
| 2924 | if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then |
|---|
| 2925 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|---|
| 2926 | else |
|---|
| 2927 | ac_check_lib_save_LIBS=$LIBS |
|---|
| 2928 | LIBS="-lnsl $LIBS" |
|---|
| 2929 | cat >conftest.$ac_ext <<_ACEOF |
|---|
| 2930 | /* confdefs.h. */ |
|---|
| 2931 | _ACEOF |
|---|
| 2932 | cat confdefs.h >>conftest.$ac_ext |
|---|
| 2933 | cat >>conftest.$ac_ext <<_ACEOF |
|---|
| 2934 | /* end confdefs.h. */ |
|---|
| 2935 | |
|---|
| 2936 | /* Override any GCC internal prototype to avoid an error. |
|---|
| 2937 | Use char because int might match the return type of a GCC |
|---|
| 2938 | builtin and then its argument prototype would still apply. */ |
|---|
| 2939 | #ifdef __cplusplus |
|---|
| 2940 | extern "C" |
|---|
| 2941 | #endif |
|---|
| 2942 | char gethostbyname (); |
|---|
| 2943 | int |
|---|
| 2944 | main () |
|---|
| 2945 | { |
|---|
| 2946 | return gethostbyname (); |
|---|
| 2947 | ; |
|---|
| 2948 | return 0; |
|---|
| 2949 | } |
|---|
| 2950 | _ACEOF |
|---|
| 2951 | rm -f conftest.$ac_objext conftest$ac_exeext |
|---|
| 2952 | if { (ac_try="$ac_link" |
|---|
| 2953 | case "(($ac_try" in |
|---|
| 2954 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|---|
| 2955 | *) ac_try_echo=$ac_try;; |
|---|
| 2956 | esac |
|---|
| 2957 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|---|
| 2958 | (eval "$ac_link") 2>conftest.er1 |
|---|
| 2959 | ac_status=$? |
|---|
| 2960 | grep -v '^ *+' conftest.er1 >conftest.err |
|---|
| 2961 | rm -f conftest.er1 |
|---|
| 2962 | cat conftest.err >&5 |
|---|
| 2963 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|---|
| 2964 | (exit $ac_status); } && { |
|---|
| 2965 | test -z "$ac_c_werror_flag" || |
|---|
| 2966 | test ! -s conftest.err |
|---|
| 2967 | } && test -s conftest$ac_exeext && |
|---|
| 2968 | $as_test_x conftest$ac_exeext; then |
|---|
| 2969 | ac_cv_lib_nsl_gethostbyname=yes |
|---|
| 2970 | else |
|---|
| 2971 | echo "$as_me: failed program was:" >&5 |
|---|
| 2972 | sed 's/^/| /' conftest.$ac_ext >&5 |
|---|
| 2973 | |
|---|
| 2974 | ac_cv_lib_nsl_gethostbyname=no |
|---|
| 2975 | fi |
|---|
| 2976 | |
|---|
| 2977 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|---|
| 2978 | conftest$ac_exeext conftest.$ac_ext |
|---|
| 2979 | LIBS=$ac_check_lib_save_LIBS |
|---|
| 2980 | fi |
|---|
| 2981 | { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5 |
|---|
| 2982 | echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; } |
|---|
| 2983 | if test $ac_cv_lib_nsl_gethostbyname = yes; then |
|---|
| 2984 | cat >>confdefs.h <<_ACEOF |
|---|
| 2985 | #define HAVE_LIBNSL 1 |
|---|
| 2986 | _ACEOF |
|---|
| 2987 | |
|---|
| 2988 | LIBS="-lnsl $LIBS" |
|---|
| 2989 | |
|---|
| 2990 | fi |
|---|
| 2991 | |
|---|
| 2992 | |
|---|
| 2993 | { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5 |
|---|
| 2994 | echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; } |
|---|
| 2995 | if test "${ac_cv_lib_socket_socket+set}" = set; then |
|---|
| 2996 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|---|
| 2997 | else |
|---|
| 2998 | ac_check_lib_save_LIBS=$LIBS |
|---|
| 2999 | LIBS="-lsocket $LIBS" |
|---|
| 3000 | cat >conftest.$ac_ext <<_ACEOF |
|---|
| 3001 | /* confdefs.h. */ |
|---|
| 3002 | _ACEOF |
|---|
| 3003 | cat confdefs.h >>conftest.$ac_ext |
|---|
| 3004 | cat >>conftest.$ac_ext <<_ACEOF |
|---|
| 3005 | /* end confdefs.h. */ |
|---|
| 3006 | |
|---|
| 3007 | /* Override any GCC internal prototype to avoid an error. |
|---|
| 3008 | Use char because int might match the return type of a GCC |
|---|
| 3009 | builtin and then its argument prototype would still apply. */ |
|---|
| 3010 | #ifdef __cplusplus |
|---|
| 3011 | extern "C" |
|---|
| 3012 | #endif |
|---|
| 3013 | char socket (); |
|---|
| 3014 | int |
|---|
| 3015 | main () |
|---|
| 3016 | { |
|---|
| 3017 | return socket (); |
|---|
| 3018 | ; |
|---|
| 3019 | return 0; |
|---|
| 3020 | } |
|---|
| 3021 | _ACEOF |
|---|
| 3022 | rm -f conftest.$ac_objext conftest$ac_exeext |
|---|
| 3023 | if { (ac_try="$ac_link" |
|---|
| 3024 | case "(($ac_try" in |
|---|
| 3025 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|---|
| 3026 | *) ac_try_echo=$ac_try;; |
|---|
| 3027 | esac |
|---|
| 3028 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|---|
| 3029 | (eval "$ac_link") 2>conftest.er1 |
|---|
| 3030 | ac_status=$? |
|---|
| 3031 | grep -v '^ *+' conftest.er1 >conftest.err |
|---|
| 3032 | rm -f conftest.er1 |
|---|
| 3033 | cat conftest.err >&5 |
|---|
| 3034 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|---|
| 3035 | (exit $ac_status); } && { |
|---|
| 3036 | test -z "$ac_c_werror_flag" || |
|---|
| 3037 | test ! -s conftest.err |
|---|
| 3038 | } && test -s conftest$ac_exeext && |
|---|
| 3039 | $as_test_x conftest$ac_exeext; then |
|---|
| 3040 | ac_cv_lib_socket_socket=yes |
|---|
| 3041 | else |
|---|
| 3042 | echo "$as_me: failed program was:" >&5 |
|---|
| 3043 | sed 's/^/| /' conftest.$ac_ext >&5 |
|---|
| 3044 | |
|---|
| 3045 | ac_cv_lib_socket_socket=no |
|---|
| 3046 | fi |
|---|
| 3047 | |
|---|
| 3048 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|---|
| 3049 | conftest$ac_exeext conftest.$ac_ext |
|---|
| 3050 | LIBS=$ac_check_lib_save_LIBS |
|---|
| 3051 | fi |
|---|
| 3052 | { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5 |
|---|
| 3053 | echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; } |
|---|
| 3054 | if test $ac_cv_lib_socket_socket = yes; then |
|---|
| 3055 | cat >>confdefs.h <<_ACEOF |
|---|
| 3056 | #define HAVE_LIBSOCKET 1 |
|---|
| 3057 | _ACEOF |
|---|
| 3058 | |
|---|
| 3059 | LIBS="-lsocket $LIBS" |
|---|
| 3060 | |
|---|
| 3061 | fi |
|---|
| 3062 | |
|---|
| 3063 | |
|---|
| 3064 | { echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes425" >&5 |
|---|
| 3065 | echo $ECHO_N "checking for des_cbc_encrypt in -ldes425... $ECHO_C" >&6; } |
|---|
| 3066 | if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then |
|---|
| 3067 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|---|
| 3068 | else |
|---|
| 3069 | ac_check_lib_save_LIBS=$LIBS |
|---|
| 3070 | LIBS="-ldes425 $LIBS" |
|---|
| 3071 | cat >conftest.$ac_ext <<_ACEOF |
|---|
| 3072 | /* confdefs.h. */ |
|---|
| 3073 | _ACEOF |
|---|
| 3074 | cat confdefs.h >>conftest.$ac_ext |
|---|
| 3075 | cat >>conftest.$ac_ext <<_ACEOF |
|---|
| 3076 | /* end confdefs.h. */ |
|---|
| 3077 | |
|---|
| 3078 | /* Override any GCC internal prototype to avoid an error. |
|---|
| 3079 | Use char because int might match the return type of a GCC |
|---|
| 3080 | builtin and then its argument prototype would still apply. */ |
|---|
| 3081 | #ifdef __cplusplus |
|---|
| 3082 | extern "C" |
|---|
| 3083 | #endif |
|---|
| 3084 | char des_cbc_encrypt (); |
|---|
| 3085 | int |
|---|
| 3086 | main () |
|---|
| 3087 | { |
|---|
| 3088 | return des_cbc_encrypt (); |
|---|
| 3089 | ; |
|---|
| 3090 | return 0; |
|---|
| 3091 | } |
|---|
| 3092 | _ACEOF |
|---|
| 3093 | rm -f conftest.$ac_objext conftest$ac_exeext |
|---|
| 3094 | if { (ac_try="$ac_link" |
|---|
| 3095 | case "(($ac_try" in |
|---|
| 3096 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|---|
| 3097 | *) ac_try_echo=$ac_try;; |
|---|
| 3098 | esac |
|---|
| 3099 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|---|
| 3100 | (eval "$ac_link") 2>conftest.er1 |
|---|
| 3101 | ac_status=$? |
|---|
| 3102 | grep -v '^ *+' conftest.er1 >conftest.err |
|---|
| 3103 | rm -f conftest.er1 |
|---|
| 3104 | cat conftest.err >&5 |
|---|
| 3105 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|---|
| 3106 | (exit $ac_status); } && { |
|---|
| 3107 | test -z "$ac_c_werror_flag" || |
|---|
| 3108 | test ! -s conftest.err |
|---|
| 3109 | } && test -s conftest$ac_exeext && |
|---|
| 3110 | $as_test_x conftest$ac_exeext; then |
|---|
| 3111 | ac_cv_lib_des425_des_cbc_encrypt=yes |
|---|
| 3112 | else |
|---|
| 3113 | echo "$as_me: failed program was:" >&5 |
|---|
| 3114 | sed 's/^/| /' conftest.$ac_ext >&5 |
|---|
| 3115 | |
|---|
| 3116 | ac_cv_lib_des425_des_cbc_encrypt=no |
|---|
| 3117 | fi |
|---|
| 3118 | |
|---|
| 3119 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|---|
| 3120 | conftest$ac_exeext conftest.$ac_ext |
|---|
| 3121 | LIBS=$ac_check_lib_save_LIBS |
|---|
| 3122 | fi |
|---|
| 3123 | { echo "$as_me:$LINENO: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5 |
|---|
| 3124 | echo "${ECHO_T}$ac_cv_lib_des425_des_cbc_encrypt" >&6; } |
|---|
| 3125 | if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then |
|---|
| 3126 | cat >>confdefs.h <<_ACEOF |
|---|
| 3127 | #define HAVE_LIBDES425 1 |
|---|
| 3128 | _ACEOF |
|---|
| 3129 | |
|---|
| 3130 | LIBS="-ldes425 $LIBS" |
|---|
| 3131 | |
|---|
| 3132 | else |
|---|
| 3133 | |
|---|
| 3134 | { echo "$as_me:$LINENO: checking for DES_cbc_encrypt in -lcrypto" >&5 |
|---|
| 3135 | echo $ECHO_N "checking for DES_cbc_encrypt in -lcrypto... $ECHO_C" >&6; } |
|---|
| 3136 | if test "${ac_cv_lib_crypto_DES_cbc_encrypt+set}" = set; then |
|---|
| 3137 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|---|
| 3138 | else |
|---|
| 3139 | ac_check_lib_save_LIBS=$LIBS |
|---|
| 3140 | LIBS="-lcrypto $LIBS" |
|---|
| 3141 | cat >conftest.$ac_ext <<_ACEOF |
|---|
| 3142 | /* confdefs.h. */ |
|---|
| 3143 | _ACEOF |
|---|
| 3144 | cat confdefs.h >>conftest.$ac_ext |
|---|
| 3145 | cat >>conftest.$ac_ext <<_ACEOF |
|---|
| 3146 | /* end confdefs.h. */ |
|---|
| 3147 | |
|---|
| 3148 | /* Override any GCC internal prototype to avoid an error. |
|---|
| 3149 | Use char because int might match the return type of a GCC |
|---|
| 3150 | builtin and then its argument prototype would still apply. */ |
|---|
| 3151 | #ifdef __cplusplus |
|---|
| 3152 | extern "C" |
|---|
| 3153 | #endif |
|---|
| 3154 | char DES_cbc_encrypt (); |
|---|
| 3155 | int |
|---|
| 3156 | main () |
|---|
| 3157 | { |
|---|
| 3158 | return DES_cbc_encrypt (); |
|---|
| 3159 | ; |
|---|
| 3160 | return 0; |
|---|
| 3161 | } |
|---|
| 3162 | _ACEOF |
|---|
| 3163 | rm -f conftest.$ac_objext conftest$ac_exeext |
|---|
| 3164 | if { (ac_try="$ac_link" |
|---|
| 3165 | case "(($ac_try" in |
|---|
| 3166 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|---|
| 3167 | *) ac_try_echo=$ac_try;; |
|---|
| 3168 | esac |
|---|
| 3169 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|---|
| 3170 | (eval "$ac_link") 2>conftest.er1 |
|---|
| 3171 | ac_status=$? |
|---|
| 3172 | grep -v '^ *+' conftest.er1 >conftest.err |
|---|
| 3173 | rm -f conftest.er1 |
|---|
| 3174 | cat conftest.err >&5 |
|---|
| 3175 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|---|
| 3176 | (exit $ac_status); } && { |
|---|
| 3177 | test -z "$ac_c_werror_flag" || |
|---|
| 3178 | test ! -s conftest.err |
|---|
| 3179 | } && test -s conftest$ac_exeext && |
|---|
| 3180 | $as_test_x conftest$ac_exeext; then |
|---|
| 3181 | ac_cv_lib_crypto_DES_cbc_encrypt=yes |
|---|
| 3182 | else |
|---|
| 3183 | echo "$as_me: failed program was:" >&5 |
|---|
| 3184 | sed 's/^/| /' conftest.$ac_ext >&5 |
|---|
| 3185 | |
|---|
| 3186 | ac_cv_lib_crypto_DES_cbc_encrypt=no |
|---|
| 3187 | fi |
|---|
| 3188 | |
|---|
| 3189 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|---|
| 3190 | conftest$ac_exeext conftest.$ac_ext |
|---|
| 3191 | LIBS=$ac_check_lib_save_LIBS |
|---|
| 3192 | fi |
|---|
| 3193 | { echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_DES_cbc_encrypt" >&5 |
|---|
| 3194 | echo "${ECHO_T}$ac_cv_lib_crypto_DES_cbc_encrypt" >&6; } |
|---|
| 3195 | if test $ac_cv_lib_crypto_DES_cbc_encrypt = yes; then |
|---|
| 3196 | cat >>confdefs.h <<_ACEOF |
|---|
| 3197 | #define HAVE_LIBCRYPTO 1 |
|---|
| 3198 | _ACEOF |
|---|
| 3199 | |
|---|
| 3200 | LIBS="-lcrypto $LIBS" |
|---|
| 3201 | |
|---|
| 3202 | fi |
|---|
| 3203 | |
|---|
| 3204 | fi |
|---|
| 3205 | |
|---|
| 3206 | |
|---|
| 3207 | { echo "$as_me:$LINENO: checking for res_search in -lresolv" >&5 |
|---|
| 3208 | echo $ECHO_N "checking for res_search in -lresolv... $ECHO_C" >&6; } |
|---|
| 3209 | if test "${ac_cv_lib_resolv_res_search+set}" = set; then |
|---|
| 3210 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|---|
| 3211 | else |
|---|
| 3212 | ac_check_lib_save_LIBS=$LIBS |
|---|
| 3213 | LIBS="-lresolv $LIBS" |
|---|
| 3214 | cat >conftest.$ac_ext <<_ACEOF |
|---|
| 3215 | /* confdefs.h. */ |
|---|
| 3216 | _ACEOF |
|---|
| 3217 | cat confdefs.h >>conftest.$ac_ext |
|---|
| 3218 | cat >>conftest.$ac_ext <<_ACEOF |
|---|
| 3219 | /* end confdefs.h. */ |
|---|
| 3220 | |
|---|
| 3221 | /* Override any GCC internal prototype to avoid an error. |
|---|
| 3222 | Use char because int might match the return type of a GCC |
|---|
| 3223 | builtin and then its argument prototype would still apply. */ |
|---|
| 3224 | #ifdef __cplusplus |
|---|
| 3225 | extern "C" |
|---|
| 3226 | #endif |
|---|
| 3227 | char res_search (); |
|---|
| 3228 | int |
|---|
| 3229 | main () |
|---|
| 3230 | { |
|---|
| 3231 | return res_search (); |
|---|
| 3232 | ; |
|---|
| 3233 | return 0; |
|---|
| 3234 | } |
|---|
| 3235 | _ACEOF |
|---|
| 3236 | rm -f conftest.$ac_objext conftest$ac_exeext |
|---|
| 3237 | if { (ac_try="$ac_link" |
|---|
| 3238 | case "(($ac_try" in |
|---|
| 3239 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|---|
| 3240 | *) ac_try_echo=$ac_try;; |
|---|
| 3241 | esac |
|---|
| 3242 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|---|
| 3243 | (eval "$ac_link") 2>conftest.er1 |
|---|
| 3244 | ac_status=$? |
|---|
| 3245 | grep -v '^ *+' conftest.er1 >conftest.err |
|---|
| 3246 | rm -f conftest.er1 |
|---|
| 3247 | cat conftest.err >&5 |
|---|
| 3248 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|---|
| 3249 | (exit $ac_status); } && { |
|---|
| 3250 | test -z "$ac_c_werror_flag" || |
|---|
| 3251 | test ! -s conftest.err |
|---|
| 3252 | } && test -s conftest$ac_exeext && |
|---|
| 3253 | $as_test_x conftest$ac_exeext; then |
|---|
| 3254 | ac_cv_lib_resolv_res_search=yes |
|---|
| 3255 | else |
|---|
| 3256 | echo "$as_me: failed program was:" >&5 |
|---|
| 3257 | sed 's/^/| /' conftest.$ac_ext >&5 |
|---|
| 3258 | |
|---|
| 3259 | ac_cv_lib_resolv_res_search=no |
|---|
| 3260 | fi |
|---|
| 3261 | |
|---|
| 3262 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|---|
| 3263 | conftest$ac_exeext conftest.$ac_ext |
|---|
| 3264 | LIBS=$ac_check_lib_save_LIBS |
|---|
| 3265 | fi |
|---|
| 3266 | { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_search" >&5 |
|---|
| 3267 | echo "${ECHO_T}$ac_cv_lib_resolv_res_search" >&6; } |
|---|
| 3268 | if test $ac_cv_lib_resolv_res_search = yes; then |
|---|
| 3269 | cat >>confdefs.h <<_ACEOF |
|---|
| 3270 | #define HAVE_LIBRESOLV 1 |
|---|
| 3271 | _ACEOF |
|---|
| 3272 | |
|---|
| 3273 | LIBS="-lresolv $LIBS" |
|---|
| 3274 | |
|---|
| 3275 | fi |
|---|
| 3276 | |
|---|
| 3277 | |
|---|
| 3278 | { echo "$as_me:$LINENO: checking for ZGetSender in -lzephyr" >&5 |
|---|
| 3279 | echo $ECHO_N "checking for ZGetSender in -lzephyr... $ECHO_C" >&6; } |
|---|
| 3280 | if test "${ac_cv_lib_zephyr_ZGetSender+set}" = set; then |
|---|
| 3281 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|---|
| 3282 | else |
|---|
| 3283 | ac_check_lib_save_LIBS=$LIBS |
|---|
| 3284 | LIBS="-lzephyr $LIBS" |
|---|
| 3285 | cat >conftest.$ac_ext <<_ACEOF |
|---|
| 3286 | /* confdefs.h. */ |
|---|
| 3287 | _ACEOF |
|---|
| 3288 | cat confdefs.h >>conftest.$ac_ext |
|---|
| 3289 | cat >>conftest.$ac_ext <<_ACEOF |
|---|
| 3290 | /* end confdefs.h. */ |
|---|
| 3291 | |
|---|
| 3292 | /* Override any GCC internal prototype to avoid an error. |
|---|
| 3293 | Use char because int might match the return type of a GCC |
|---|
| 3294 | builtin and then its argument prototype would still apply. */ |
|---|
| 3295 | #ifdef __cplusplus |
|---|
| 3296 | extern "C" |
|---|
| 3297 | #endif |
|---|
| 3298 | char ZGetSender (); |
|---|
| 3299 | int |
|---|
| 3300 | main () |
|---|
| 3301 | { |
|---|
| 3302 | return ZGetSender (); |
|---|
| 3303 | ; |
|---|
| 3304 | return 0; |
|---|
| 3305 | } |
|---|
| 3306 | _ACEOF |
|---|
| 3307 | rm -f conftest.$ac_objext conftest$ac_exeext |
|---|
| 3308 | if { (ac_try="$ac_link" |
|---|
| 3309 | case "(($ac_try" in |
|---|
| 3310 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|---|
| 3311 | *) ac_try_echo=$ac_try;; |
|---|
| 3312 | esac |
|---|
| 3313 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|---|
| 3314 | (eval "$ac_link") 2>conftest.er1 |
|---|
| 3315 | ac_status=$? |
|---|
| 3316 | grep -v '^ *+' conftest.er1 >conftest.err |
|---|
| 3317 | rm -f conftest.er1 |
|---|
| 3318 | cat conftest.err >&5 |
|---|
| 3319 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|---|
| 3320 | (exit $ac_status); } && { |
|---|
| 3321 | test -z "$ac_c_werror_flag" || |
|---|
| 3322 | test ! -s conftest.err |
|---|
| 3323 | } && test -s conftest$ac_exeext && |
|---|
| 3324 | $as_test_x conftest$ac_exeext; then |
|---|
| 3325 | ac_cv_lib_zephyr_ZGetSender=yes |
|---|
| 3326 | else |
|---|
| 3327 | echo "$as_me: failed program was:" >&5 |
|---|
| 3328 | sed 's/^/| /' conftest.$ac_ext >&5 |
|---|
| 3329 | |
|---|
| 3330 | ac_cv_lib_zephyr_ZGetSender=no |
|---|
| 3331 | fi |
|---|
| 3332 | |
|---|
| 3333 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|---|
| 3334 | conftest$ac_exeext conftest.$ac_ext |
|---|
| 3335 | LIBS=$ac_check_lib_save_LIBS |
|---|
| 3336 | fi |
|---|
| 3337 | { echo "$as_me:$LINENO: result: $ac_cv_lib_zephyr_ZGetSender" >&5 |
|---|
| 3338 | echo "${ECHO_T}$ac_cv_lib_zephyr_ZGetSender" >&6; } |
|---|
| 3339 | if test $ac_cv_lib_zephyr_ZGetSender = yes; then |
|---|
| 3340 | cat >>confdefs.h <<_ACEOF |
|---|
| 3341 | #define HAVE_LIBZEPHYR 1 |
|---|
| 3342 | _ACEOF |
|---|
| 3343 | |
|---|
| 3344 | LIBS="-lzephyr $LIBS" |
|---|
| 3345 | |
|---|
| 3346 | fi |
|---|
| 3347 | |
|---|
| 3348 | { echo "$as_me:$LINENO: checking for ZInitLocationInfo in -lzephyr" >&5 |
|---|
| 3349 | echo $ECHO_N "checking for ZInitLocationInfo in -lzephyr... $ECHO_C" >&6; } |
|---|
| 3350 | if test "${ac_cv_lib_zephyr_ZInitLocationInfo+set}" = set; then |
|---|
| 3351 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|---|
| 3352 | else |
|---|
| 3353 | ac_check_lib_save_LIBS=$LIBS |
|---|
| 3354 | LIBS="-lzephyr $LIBS" |
|---|
| 3355 | cat >conftest.$ac_ext <<_ACEOF |
|---|
| 3356 | /* confdefs.h. */ |
|---|
| 3357 | _ACEOF |
|---|
| 3358 | cat confdefs.h >>conftest.$ac_ext |
|---|
| 3359 | cat >>conftest.$ac_ext <<_ACEOF |
|---|
| 3360 | /* end confdefs.h. */ |
|---|
| 3361 | |
|---|
| 3362 | /* Override any GCC internal prototype to avoid an error. |
|---|
| 3363 | Use char because int might match the return type of a GCC |
|---|
| 3364 | builtin and then its argument prototype would still apply. */ |
|---|
| 3365 | #ifdef __cplusplus |
|---|
| 3366 | extern "C" |
|---|
| 3367 | #endif |
|---|
| 3368 | char ZInitLocationInfo (); |
|---|
| 3369 | int |
|---|
| 3370 | main () |
|---|
| 3371 | { |
|---|
| 3372 | return ZInitLocationInfo (); |
|---|
| 3373 | ; |
|---|
| 3374 | return 0; |
|---|
| 3375 | } |
|---|
| 3376 | _ACEOF |
|---|
| 3377 | rm -f conftest.$ac_objext conftest$ac_exeext |
|---|
| 3378 | if { (ac_try="$ac_link" |
|---|
| 3379 | case "(($ac_try" in |
|---|
| 3380 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|---|
| 3381 | *) ac_try_echo=$ac_try;; |
|---|
| 3382 | esac |
|---|
| 3383 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|---|
| 3384 | (eval "$ac_link") 2>conftest.er1 |
|---|
| 3385 | ac_status=$? |
|---|
| 3386 | grep -v '^ *+' conftest.er1 >conftest.err |
|---|
| 3387 | rm -f conftest.er1 |
|---|
| 3388 | cat conftest.err >&5 |
|---|
| 3389 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|---|
| 3390 | (exit $ac_status); } && { |
|---|
| 3391 | test -z "$ac_c_werror_flag" || |
|---|
| 3392 | test ! -s conftest.err |
|---|
| 3393 | } && test -s conftest$ac_exeext && |
|---|
| 3394 | $as_test_x conftest$ac_exeext; then |
|---|
| 3395 | ac_cv_lib_zephyr_ZInitLocationInfo=yes |
|---|
| 3396 | else |
|---|
| 3397 | echo "$as_me: failed program was:" >&5 |
|---|
| 3398 | sed 's/^/| /' conftest.$ac_ext >&5 |
|---|
| 3399 | |
|---|
| 3400 | ac_cv_lib_zephyr_ZInitLocationInfo=no |
|---|
| 3401 | fi |
|---|
| 3402 | |
|---|
| 3403 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|---|
| 3404 | conftest$ac_exeext conftest.$ac_ext |
|---|
| 3405 | LIBS=$ac_check_lib_save_LIBS |
|---|
| 3406 | fi |
|---|
| 3407 | { echo "$as_me:$LINENO: result: $ac_cv_lib_zephyr_ZInitLocationInfo" >&5 |
|---|
| 3408 | echo "${ECHO_T}$ac_cv_lib_zephyr_ZInitLocationInfo" >&6; } |
|---|
| 3409 | if test $ac_cv_lib_zephyr_ZInitLocationInfo = yes; then |
|---|
| 3410 | |
|---|
| 3411 | cat >>confdefs.h <<\_ACEOF |
|---|
| 3412 | #define HAVE_LIBZEPHYR_ZINITLOCATIONINFO |
|---|
| 3413 | _ACEOF |
|---|
| 3414 | |
|---|
| 3415 | fi |
|---|
| 3416 | |
|---|
| 3417 | |
|---|
| 3418 | # Check whether --enable-athstatic was given. |
|---|
| 3419 | if test "${enable_athstatic+set}" = set; then |
|---|
| 3420 | enableval=$enable_athstatic; ATHSTATIC=./athstatic |
|---|
| 3421 | else |
|---|
| 3422 | ATHSTATIC= |
|---|
| 3423 | fi |
|---|
| 3424 | |
|---|
| 3425 | |
|---|
| 3426 | |
|---|
| 3427 | |
|---|
| 3428 | |
|---|
| 3429 | |
|---|
| 3430 | |
|---|
| 3431 | for ac_func in use_default_colors resizeterm des_string_to_key des_key_sched des_ecb_encrypt |
|---|
| 3432 | do |
|---|
| 3433 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
|---|
| 3434 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
|---|
| 3435 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
|---|
| 3436 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
|---|
| 3437 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|---|
| 3438 | else |
|---|
| 3439 | cat >conftest.$ac_ext <<_ACEOF |
|---|
| 3440 | /* confdefs.h. */ |
|---|
| 3441 | _ACEOF |
|---|
| 3442 | cat confdefs.h >>conftest.$ac_ext |
|---|
| 3443 | cat >>conftest.$ac_ext <<_ACEOF |
|---|
| 3444 | /* end confdefs.h. */ |
|---|
| 3445 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
|---|
| 3446 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|---|
| 3447 | #define $ac_func innocuous_$ac_func |
|---|
| 3448 | |
|---|
| 3449 | /* System header to define __stub macros and hopefully few prototypes, |
|---|
| 3450 | which can conflict with char $ac_func (); below. |
|---|
| 3451 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|---|
| 3452 | <limits.h> exists even on freestanding compilers. */ |
|---|
| 3453 | |
|---|
| 3454 | #ifdef __STDC__ |
|---|
| 3455 | # include <limits.h> |
|---|
| 3456 | #else |
|---|
| 3457 | # include <assert.h> |
|---|
| 3458 | #endif |
|---|
| 3459 | |
|---|
| 3460 | #undef $ac_func |
|---|
| 3461 | |
|---|
| 3462 | /* Override any GCC internal prototype to avoid an error. |
|---|
| 3463 | Use char because int might match the return type of a GCC |
|---|
| 3464 | builtin and then its argument prototype would still apply. */ |
|---|
| 3465 | #ifdef __cplusplus |
|---|
| 3466 | extern "C" |
|---|
| 3467 | #endif |
|---|
| 3468 | char $ac_func (); |
|---|
| 3469 | /* The GNU C library defines this for functions which it implements |
|---|
| 3470 | to always fail with ENOSYS. Some functions are actually named |
|---|
| 3471 | something starting with __ and the normal name is an alias. */ |
|---|
| 3472 | #if defined __stub_$ac_func || defined __stub___$ac_func |
|---|
| 3473 | choke me |
|---|
| 3474 | #endif |
|---|
| 3475 | |
|---|
| 3476 | int |
|---|
| 3477 | main () |
|---|
| 3478 | { |
|---|
| 3479 | return $ac_func (); |
|---|
| 3480 | ; |
|---|
| 3481 | return 0; |
|---|
| 3482 | } |
|---|
| 3483 | _ACEOF |
|---|
| 3484 | rm -f conftest.$ac_objext conftest$ac_exeext |
|---|
| 3485 | if { (ac_try="$ac_link" |
|---|
| 3486 | case "(($ac_try" in |
|---|
| 3487 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|---|
| 3488 | *) ac_try_echo=$ac_try;; |
|---|
| 3489 | esac |
|---|
| 3490 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|---|
| 3491 | (eval "$ac_link") 2>conftest.er1 |
|---|
| 3492 | ac_status=$? |
|---|
| 3493 | grep -v '^ *+' conftest.er1 >conftest.err |
|---|
| 3494 | rm -f conftest.er1 |
|---|
| 3495 | cat conftest.err >&5 |
|---|
| 3496 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|---|
| 3497 | (exit $ac_status); } && { |
|---|
| 3498 | test -z "$ac_c_werror_flag" || |
|---|
| 3499 | test ! -s conftest.err |
|---|
| 3500 | } && test -s conftest$ac_exeext && |
|---|
| 3501 | $as_test_x conftest$ac_exeext; then |
|---|
| 3502 | eval "$as_ac_var=yes" |
|---|
| 3503 | else |
|---|
| 3504 | echo "$as_me: failed program was:" >&5 |
|---|
| 3505 | sed 's/^/| /' conftest.$ac_ext >&5 |
|---|
| 3506 | |
|---|
| 3507 | eval "$as_ac_var=no" |
|---|
| 3508 | fi |
|---|
| 3509 | |
|---|
| 3510 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|---|
| 3511 | conftest$ac_exeext conftest.$ac_ext |
|---|
| 3512 | fi |
|---|
| 3513 | ac_res=`eval echo '${'$as_ac_var'}'` |
|---|
| 3514 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
|---|
| 3515 | echo "${ECHO_T}$ac_res" >&6; } |
|---|
| 3516 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
|---|
| 3517 | cat >>confdefs.h <<_ACEOF |
|---|
| 3518 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
|---|
| 3519 | _ACEOF |
|---|
| 3520 | |
|---|
| 3521 | fi |
|---|
| 3522 | done |
|---|
| 3523 | |
|---|
| 3524 | |
|---|
| 3525 | |
|---|
| 3526 | |
|---|
| 3527 | for ac_func in DES_string_to_key DES_ecb_encrypt DES_key_sched |
|---|
| 3528 | do |
|---|
| 3529 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
|---|
| 3530 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
|---|
| 3531 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
|---|
| 3532 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
|---|
| 3533 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|---|
| 3534 | else |
|---|
| 3535 | cat >conftest.$ac_ext <<_ACEOF |
|---|
| 3536 | /* confdefs.h. */ |
|---|
| 3537 | _ACEOF |
|---|
| 3538 | cat confdefs.h >>conftest.$ac_ext |
|---|
| 3539 | cat >>conftest.$ac_ext <<_ACEOF |
|---|
| 3540 | /* end confdefs.h. */ |
|---|
| 3541 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
|---|
| 3542 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|---|
| 3543 | #define $ac_func innocuous_$ac_func |
|---|
| 3544 | |
|---|
| 3545 | /* System header to define __stub macros and hopefully few prototypes, |
|---|
| 3546 | which can conflict with char $ac_func (); below. |
|---|
| 3547 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|---|
| 3548 | <limits.h> exists even on freestanding compilers. */ |
|---|
| 3549 | |
|---|
| 3550 | #ifdef __STDC__ |
|---|
| 3551 | # include <limits.h> |
|---|
| 3552 | #else |
|---|
| 3553 | # include <assert.h> |
|---|
| 3554 | #endif |
|---|
| 3555 | |
|---|
| 3556 | #undef $ac_func |
|---|
| 3557 | |
|---|
| 3558 | /* Override any GCC internal prototype to avoid an error. |
|---|
| 3559 | Use char because int might match the return type of a GCC |
|---|
| 3560 | builtin and then its argument prototype would still apply. */ |
|---|
| 3561 | #ifdef __cplusplus |
|---|
| 3562 | extern "C" |
|---|
| 3563 | #endif |
|---|
| 3564 | char $ac_func (); |
|---|
| 3565 | /* The GNU C library defines this for functions which it implements |
|---|
| 3566 | to always fail with ENOSYS. Some functions are actually named |
|---|
| 3567 | something starting with __ and the normal name is an alias. */ |
|---|
| 3568 | #if defined __stub_$ac_func || defined __stub___$ac_func |
|---|
| 3569 | choke me |
|---|
| 3570 | #endif |
|---|
| 3571 | |
|---|
| 3572 | int |
|---|
| 3573 | main () |
|---|
| 3574 | { |
|---|
| 3575 | return $ac_func (); |
|---|
| 3576 | ; |
|---|
| 3577 | return 0; |
|---|
| 3578 | } |
|---|
| 3579 | _ACEOF |
|---|
| 3580 | rm -f conftest.$ac_objext conftest$ac_exeext |
|---|
| 3581 | if { (ac_try="$ac_link" |
|---|
| 3582 | case "(($ac_try" in |
|---|
| 3583 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|---|
| 3584 | *) ac_try_echo=$ac_try;; |
|---|
| 3585 | esac |
|---|
| 3586 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|---|
| 3587 | (eval "$ac_link") 2>conftest.er1 |
|---|
| 3588 | ac_status=$? |
|---|
| 3589 | grep -v '^ *+' conftest.er1 >conftest.err |
|---|
| 3590 | rm -f conftest.er1 |
|---|
| 3591 | cat conftest.err >&5 |
|---|
| 3592 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|---|
| 3593 | (exit $ac_status); } && { |
|---|
| 3594 | test -z "$ac_c_werror_flag" || |
|---|
| 3595 | test ! -s conftest.err |
|---|
| 3596 | } && test -s conftest$ac_exeext && |
|---|
| 3597 | $as_test_x conftest$ac_exeext; then |
|---|
| 3598 | eval "$as_ac_var=yes" |
|---|
| 3599 | else |
|---|
| 3600 | echo "$as_me: failed program was:" >&5 |
|---|
| 3601 | sed 's/^/| /' conftest.$ac_ext >&5 |
|---|
| 3602 | |
|---|
| 3603 | eval "$as_ac_var=no" |
|---|
| 3604 | fi |
|---|
| 3605 | |
|---|
| 3606 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|---|
| 3607 | conftest$ac_exeext conftest.$ac_ext |
|---|
| 3608 | fi |
|---|
| 3609 | ac_res=`eval echo '${'$as_ac_var'}'` |
|---|
| 3610 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
|---|
| 3611 | echo "${ECHO_T}$ac_res" >&6; } |
|---|
| 3612 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
|---|
| 3613 | cat >>confdefs.h <<_ACEOF |
|---|
| 3614 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
|---|
| 3615 | _ACEOF |
|---|
| 3616 | |
|---|
| 3617 | fi |
|---|
| 3618 | done |
|---|
| 3619 | |
|---|
| 3620 | |
|---|
| 3621 | { echo "$as_me:$LINENO: checking for des_ecb_encrypt prototype" >&5 |
|---|
| 3622 | echo $ECHO_N "checking for des_ecb_encrypt prototype... $ECHO_C" >&6; } |
|---|
| 3623 | cat >conftest.$ac_ext <<_ACEOF |
|---|
| 3624 | /* confdefs.h. */ |
|---|
| 3625 | _ACEOF |
|---|
| 3626 | cat confdefs.h >>conftest.$ac_ext |
|---|
| 3627 | cat >>conftest.$ac_ext <<_ACEOF |
|---|
| 3628 | /* end confdefs.h. */ |
|---|
| 3629 | #include <des.h> |
|---|
| 3630 | int des_ecb_encrypt(char foo[], char bar[], des_key_schedule baz, int qux); |
|---|
| 3631 | int |
|---|
| 3632 | main () |
|---|
| 3633 | { |
|---|
| 3634 | int foo = des_ecb_encrypt(0,0,0,0); |
|---|
| 3635 | ; |
|---|
| 3636 | return 0; |
|---|
| 3637 | } |
|---|
| 3638 | _ACEOF |
|---|
| 3639 | rm -f conftest.$ac_objext |
|---|
| 3640 | if { (ac_try="$ac_compile" |
|---|
| 3641 | case "(($ac_try" in |
|---|
| 3642 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|---|
| 3643 | *) ac_try_echo=$ac_try;; |
|---|
| 3644 | esac |
|---|
| 3645 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|---|
| 3646 | (eval "$ac_compile") 2>conftest.er1 |
|---|
| 3647 | ac_status=$? |
|---|
| 3648 | grep -v '^ *+' conftest.er1 >conftest.err |
|---|
| 3649 | rm -f conftest.er1 |
|---|
| 3650 | cat conftest.err >&5 |
|---|
| 3651 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|---|
| 3652 | (exit $ac_status); } && { |
|---|
| 3653 | test -z "$ac_c_werror_flag" || |
|---|
| 3654 | test ! -s conftest.err |
|---|
| 3655 | } && test -s conftest.$ac_objext; then |
|---|
| 3656 | ac_cv_des_ecb_encrypt_proto=no |
|---|
| 3657 | else |
|---|
| 3658 | echo "$as_me: failed program was:" >&5 |
|---|
| 3659 | sed 's/^/| /' conftest.$ac_ext >&5 |
|---|
| 3660 | |
|---|
| 3661 | ac_cv_des_ecb_encrypt_proto=yes |
|---|
| 3662 | fi |
|---|
| 3663 | |
|---|
| 3664 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|---|
| 3665 | { echo "$as_me:$LINENO: result: $ac_cv_des_ecb_encrypt_proto" >&5 |
|---|
| 3666 | echo "${ECHO_T}$ac_cv_des_ecb_encrypt_proto" >&6; } |
|---|
| 3667 | if test "$ac_cv_des_ecb_encrypt_proto" = yes; then |
|---|
| 3668 | |
|---|
| 3669 | cat >>confdefs.h <<\_ACEOF |
|---|
| 3670 | #define HAVE_DES_ECB_ENCRYPT_PROTO |
|---|
| 3671 | _ACEOF |
|---|
| 3672 | |
|---|
| 3673 | fi |
|---|
| 3674 | |
|---|
| 3675 | ac_ext=c |
|---|
| 3676 | ac_cpp='$CPP $CPPFLAGS' |
|---|
| 3677 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|---|
| 3678 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|---|
| 3679 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|---|
| 3680 | { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
|---|
| 3681 | echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } |
|---|
| 3682 | # On Suns, sometimes $CPP names a directory. |
|---|
| 3683 | if test -n "$CPP" && test -d "$CPP"; then |
|---|
| 3684 | CPP= |
|---|
| 3685 | fi |
|---|
| 3686 | if test -z "$CPP"; then |
|---|
| 3687 | if test "${ac_cv_prog_CPP+set}" = set; then |
|---|
| 3688 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|---|
| 3689 | else |
|---|
| 3690 | # Double quotes because CPP needs to be expanded |
|---|
| 3691 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
|---|
| 3692 | do |
|---|
| 3693 | ac_preproc_ok=false |
|---|
| 3694 | for ac_c_preproc_warn_flag in '' yes |
|---|
| 3695 | do |
|---|
| 3696 | # Use a header file that comes with gcc, so configuring glibc |
|---|
| 3697 | # with a fresh cross-compiler works. |
|---|
| 3698 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|---|
| 3699 | # <limits.h> exists even on freestanding compilers. |
|---|
| 3700 | # On the NeXT, cc -E runs the code through the compiler's parser, |
|---|
| 3701 | # not just through cpp. "Syntax error" is here to catch this case. |
|---|
| 3702 | cat >conftest.$ac_ext <<_ACEOF |
|---|
| 3703 | /* confdefs.h. */ |
|---|
| 3704 | _ACEOF |
|---|
| 3705 | cat confdefs.h >>conftest.$ac_ext |
|---|
| 3706 | cat >>conftest.$ac_ext <<_ACEOF |
|---|
| 3707 | /* end confdefs.h. */ |
|---|
| 3708 | #ifdef __STDC__ |
|---|
| 3709 | # include <limits.h> |
|---|
| 3710 | #else |
|---|
| 3711 | # include <assert.h> |
|---|
| 3712 | #endif |
|---|
| 3713 | Syntax error |
|---|
| 3714 | _ACEOF |
|---|
| 3715 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
|---|
| 3716 | case "(($ac_try" in |
|---|
| 3717 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|---|
| 3718 | *) ac_try_echo=$ac_try;; |
|---|
| 3719 | esac |
|---|
| 3720 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|---|
| 3721 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|---|
| 3722 | ac_status=$? |
|---|
| 3723 | grep -v '^ *+' conftest.er1 >conftest.err |
|---|
| 3724 | rm -f conftest.er1 |
|---|
| 3725 | cat conftest.err >&5 |
|---|
| 3726 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|---|
| 3727 | (exit $ac_status); } >/dev/null && { |
|---|
| 3728 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
|---|
| 3729 | test ! -s conftest.err |
|---|
| 3730 | }; then |
|---|
| 3731 | : |
|---|
| 3732 | else |
|---|
| 3733 | echo "$as_me: failed program was:" >&5 |
|---|
| 3734 | sed 's/^/| /' conftest.$ac_ext >&5 |
|---|
| 3735 | |
|---|
| 3736 | # Broken: fails on valid input. |
|---|
| 3737 | continue |
|---|
| 3738 | fi |
|---|
| 3739 | |
|---|
| 3740 | rm -f conftest.err conftest.$ac_ext |
|---|
| 3741 | |
|---|
| 3742 | # OK, works on sane cases. Now check whether nonexistent headers |
|---|
| 3743 | # can be detected and how. |
|---|
| 3744 | cat >conftest.$ac_ext <<_ACEOF |
|---|
| 3745 | /* confdefs.h. */ |
|---|
| 3746 | _ACEOF |
|---|
| 3747 | cat confdefs.h >>conftest.$ac_ext |
|---|
| 3748 | cat >>conftest.$ac_ext <<_ACEOF |
|---|
| 3749 | /* end confdefs.h. */ |
|---|
| 3750 | #include <ac_nonexistent.h> |
|---|
| 3751 | _ACEOF |
|---|
| 3752 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
|---|
| 3753 | case "(($ac_try" in |
|---|
| 3754 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|---|
| 3755 | *) ac_try_echo=$ac_try;; |
|---|
| 3756 | esac |
|---|
| 3757 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|---|
| 3758 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|---|
| 3759 | ac_status=$? |
|---|
| 3760 | grep -v '^ *+' conftest.er1 >conftest.err |
|---|
| 3761 | rm -f conftest.er1 |
|---|
| 3762 | cat conftest.err >&5 |
|---|
| 3763 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|---|
| 3764 | (exit $ac_status); } >/dev/null && { |
|---|
| 3765 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
|---|
| 3766 | test ! -s conftest.err |
|---|
| 3767 | }; then |
|---|
| 3768 | # Broken: success on invalid input. |
|---|
| 3769 | continue |
|---|
| 3770 | else |
|---|
| 3771 | echo "$as_me: failed program was:" >&5 |
|---|
| 3772 | sed 's/^/| /' conftest.$ac_ext >&5 |
|---|
| 3773 | |
|---|
| 3774 | # Passes both tests. |
|---|
| 3775 | ac_preproc_ok=: |
|---|
| 3776 | break |
|---|
| 3777 | fi |
|---|
| 3778 | |
|---|
| 3779 | rm -f conftest.err conftest.$ac_ext |
|---|
| 3780 | |
|---|
| 3781 | done |
|---|
| 3782 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|---|
| 3783 | rm -f conftest.err conftest.$ac_ext |
|---|
| 3784 | if $ac_preproc_ok; then |
|---|
| 3785 | break |
|---|
| 3786 | fi |
|---|
| 3787 | |
|---|
| 3788 | done |
|---|
| 3789 | ac_cv_prog_CPP=$CPP |
|---|
| 3790 | |
|---|
| 3791 | fi |
|---|
| 3792 | CPP=$ac_cv_prog_CPP |
|---|
| 3793 | else |
|---|
| 3794 | ac_cv_prog_CPP=$CPP |
|---|
| 3795 | fi |
|---|
| 3796 | { echo "$as_me:$LINENO: result: $CPP" >&5 |
|---|
| 3797 | echo "${ECHO_T}$CPP" >&6; } |
|---|
| 3798 | ac_preproc_ok=false |
|---|
| 3799 | for ac_c_preproc_warn_flag in '' yes |
|---|
| 3800 | do |
|---|
| 3801 | # Use a header file that comes with gcc, so configuring glibc |
|---|
| 3802 | # with a fresh cross-compiler works. |
|---|
| 3803 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|---|
| 3804 | # <limits.h> exists even on freestanding compilers. |
|---|
| 3805 | # On the NeXT, cc -E runs the code through the compiler's parser, |
|---|
| 3806 | # not just through cpp. "Syntax error" is here to catch this case. |
|---|
| 3807 | cat >conftest.$ac_ext <<_ACEOF |
|---|
| 3808 | /* confdefs.h. */ |
|---|
| 3809 | _ACEOF |
|---|
| 3810 | cat confdefs.h >>conftest.$ac_ext |
|---|
| 3811 | cat >>conftest.$ac_ext <<_ACEOF |
|---|
| 3812 | /* end confdefs.h. */ |
|---|
| 3813 | #ifdef __STDC__ |
|---|
| 3814 | # include <limits.h> |
|---|
| 3815 | #else |
|---|
| 3816 | # include <assert.h> |
|---|
| 3817 | #endif |
|---|
| 3818 | Syntax error |
|---|
| 3819 | _ACEOF |
|---|
| 3820 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
|---|
| 3821 | case "(($ac_try" in |
|---|
| 3822 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|---|
| 3823 | *) ac_try_echo=$ac_try;; |
|---|
| 3824 | esac |
|---|
| 3825 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|---|
| 3826 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|---|
| 3827 | ac_status=$? |
|---|
| 3828 | grep -v '^ *+' conftest.er1 >conftest.err |
|---|
| 3829 | rm -f conftest.er1 |
|---|
| 3830 | cat conftest.err >&5 |
|---|
| 3831 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|---|
| 3832 | (exit $ac_status); } >/dev/null && { |
|---|
| 3833 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
|---|
| 3834 | test ! -s conftest.err |
|---|
| 3835 | }; then |
|---|
| 3836 | : |
|---|
| 3837 | else |
|---|
| 3838 | echo "$as_me: failed program was:" >&5 |
|---|
| 3839 | sed 's/^/| /' conftest.$ac_ext >&5 |
|---|
| 3840 | |
|---|
| 3841 | # Broken: fails on valid input. |
|---|
| 3842 | continue |
|---|
| 3843 | fi |
|---|
| 3844 | |
|---|
| 3845 | rm -f conftest.err conftest.$ac_ext |
|---|
| 3846 | |
|---|
| 3847 | # OK, works on sane cases. Now check whether nonexistent headers |
|---|
| 3848 | # can be detected and how. |
|---|
| 3849 | cat >conftest.$ac_ext <<_ACEOF |
|---|
| 3850 | /* confdefs.h. */ |
|---|
| 3851 | _ACEOF |
|---|
| 3852 | cat confdefs.h >>conftest.$ac_ext |
|---|
| 3853 | cat >>conftest.$ac_ext <<_ACEOF |
|---|
| 3854 | /* end confdefs.h. */ |
|---|
| 3855 | #include <ac_nonexistent.h> |
|---|
| 3856 | _ACEOF |
|---|
| 3857 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
|---|
| 3858 | case "(($ac_try" in |
|---|
| 3859 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|---|
| 3860 | *) ac_try_echo=$ac_try;; |
|---|
| 3861 | esac |
|---|
| 3862 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|---|
| 3863 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|---|
| 3864 | ac_status=$? |
|---|
| 3865 | grep -v '^ *+' conftest.er1 >conftest.err |
|---|
| 3866 | rm -f conftest.er1 |
|---|
| 3867 | cat conftest.err >&5 |
|---|
| 3868 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|---|
| 3869 | (exit $ac_status); } >/dev/null && { |
|---|
| 3870 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
|---|
| 3871 | test ! -s conftest.err |
|---|
| 3872 | }; then |
|---|
| 3873 | # Broken: success on invalid input. |
|---|
| 3874 | continue |
|---|
| 3875 | else |
|---|
| 3876 | echo "$as_me: failed program was:" >&5 |
|---|
| 3877 | sed 's/^/| /' conftest.$ac_ext >&5 |
|---|
| 3878 | |
|---|
| 3879 | # Passes both tests. |
|---|
| 3880 | ac_preproc_ok=: |
|---|
| 3881 | break |
|---|
| 3882 | fi |
|---|
| 3883 | |
|---|
| 3884 | rm -f conftest.err conftest.$ac_ext |
|---|
| 3885 | |
|---|
| 3886 | done |
|---|
| 3887 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|---|
| 3888 | rm -f conftest.err conftest.$ac_ext |
|---|
| 3889 | if $ac_preproc_ok; then |
|---|
| 3890 | : |
|---|
| 3891 | else |
|---|
| 3892 | { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check |
|---|
| 3893 | See \`config.log' for more details." >&5 |
|---|
| 3894 | echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check |
|---|
| 3895 | See \`config.log' for more details." >&2;} |
|---|
| 3896 | { (exit 1); exit 1; }; } |
|---|
| 3897 | fi |
|---|
| 3898 | |
|---|
| 3899 | ac_ext=c |
|---|
| 3900 | ac_cpp='$CPP $CPPFLAGS' |
|---|
| 3901 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|---|
| 3902 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|---|
| 3903 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|---|
| 3904 | |
|---|
| 3905 | |
|---|
| 3906 | { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 |
|---|
| 3907 | echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } |
|---|
| 3908 | if test "${ac_cv_path_GREP+set}" = set; then |
|---|
| 3909 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|---|
| 3910 | else |
|---|
| 3911 | # Extract the first word of "grep ggrep" to use in msg output |
|---|
| 3912 | if test -z "$GREP"; then |
|---|
| 3913 | set dummy grep ggrep; ac_prog_name=$2 |
|---|
| 3914 | if test "${ac_cv_path_GREP+set}" = set; then |
|---|
| 3915 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|---|
| 3916 | else |
|---|
| 3917 | ac_path_GREP_found=false |
|---|
| 3918 | # Loop through the user's path and test for each of PROGNAME-LIST |
|---|
| 3919 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|---|
| 3920 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
|---|
| 3921 | do |
|---|
| 3922 | IFS=$as_save_IFS |
|---|
| 3923 | test -z "$as_dir" && as_dir=. |
|---|
| 3924 | for ac_prog in grep ggrep; do |
|---|
| 3925 | for ac_exec_ext in '' $ac_executable_extensions; do |
|---|
| 3926 | ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
|---|
| 3927 | { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue |
|---|
| 3928 | # Check for GNU ac_path_GREP and select it if it is found. |
|---|
| 3929 | # Check for GNU $ac_path_GREP |
|---|
| 3930 | case `"$ac_path_GREP" --version 2>&1` in |
|---|
| 3931 | *GNU*) |
|---|
| 3932 | ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
|---|
| 3933 | *) |
|---|
| 3934 | ac_count=0 |
|---|
| 3935 | echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" |
|---|
| 3936 | while : |
|---|
| 3937 | do |
|---|
| 3938 | cat "conftest.in" "conftest.in" >"conftest.tmp" |
|---|
| 3939 | mv "conftest.tmp" "conftest.in" |
|---|
| 3940 | cp "conftest.in" "conftest.nl" |
|---|
| 3941 | echo 'GREP' >> "conftest.nl" |
|---|
| 3942 | "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
|---|
| 3943 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
|---|
| 3944 | ac_count=`expr $ac_count + 1` |
|---|
| 3945 | if test $ac_count -gt ${ac_path_GREP_max-0}; then |
|---|
| 3946 | # Best one so far, save it but keep looking for a better one |
|---|
| 3947 | ac_cv_path_GREP="$ac_path_GREP" |
|---|
| 3948 | ac_path_GREP_max=$ac_count |
|---|
| 3949 | fi |
|---|
| 3950 | # 10*(2^10) chars as input seems more than enough |
|---|
| 3951 | test $ac_count -gt 10 && break |
|---|
| 3952 | done |
|---|
| 3953 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
|---|
| 3954 | esac |
|---|
| 3955 | |
|---|
| 3956 | |
|---|
| 3957 | $ac_path_GREP_found && break 3 |
|---|
| 3958 | done |
|---|
| 3959 | done |
|---|
| 3960 | |
|---|
| 3961 | done |
|---|
| 3962 | IFS=$as_save_IFS |
|---|
| 3963 | |
|---|
| 3964 | |
|---|
| 3965 | fi |
|---|
| 3966 | |
|---|
| 3967 | GREP="$ac_cv_path_GREP" |
|---|
| 3968 | if test -z "$GREP"; then |
|---|
| 3969 | { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 |
|---|
| 3970 | echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} |
|---|
| 3971 | { (exit 1); exit 1; }; } |
|---|
| 3972 | fi |
|---|
| 3973 | |
|---|
| 3974 | else |
|---|
| 3975 | ac_cv_path_GREP=$GREP |
|---|
| 3976 | fi |
|---|
| 3977 | |
|---|
| 3978 | |
|---|
| 3979 | fi |
|---|
| 3980 | { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 |
|---|
| 3981 | echo "${ECHO_T}$ac_cv_path_GREP" >&6; } |
|---|
| 3982 | GREP="$ac_cv_path_GREP" |
|---|
| 3983 | |
|---|
| 3984 | |
|---|
| 3985 | { echo "$as_me:$LINENO: checking for egrep" >&5 |
|---|
| 3986 | echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } |
|---|
| 3987 | if test "${ac_cv_path_EGREP+set}" = set; then |
|---|
| 3988 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|---|
| 3989 | else |
|---|
| 3990 | if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
|---|
| 3991 | then ac_cv_path_EGREP="$GREP -E" |
|---|
| 3992 | else |
|---|
| 3993 | # Extract the first word of "egrep" to use in msg output |
|---|
| 3994 | if test -z "$EGREP"; then |
|---|
| 3995 | set dummy egrep; ac_prog_name=$2 |
|---|
| 3996 | if test "${ac_cv_path_EGREP+set}" = set; then |
|---|
| 3997 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|---|
| 3998 | else |
|---|
| 3999 | ac_path_EGREP_found=false |
|---|
| 4000 | # Loop through the user's path and test for each of PROGNAME-LIST |
|---|
| 4001 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|---|
| 4002 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
|---|
| 4003 | do |
|---|
| 4004 | IFS=$as_save_IFS |
|---|
| 4005 | test -z "$as_dir" && as_dir=. |
|---|
| 4006 | for ac_prog in egrep; do |
|---|
| 4007 | for ac_exec_ext in '' $ac_executable_extensions; do |
|---|
| 4008 | ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
|---|
| 4009 | { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue |
|---|
| 4010 | # Check for GNU ac_path_EGREP and select it if it is found. |
|---|
| 4011 | # Check for GNU $ac_path_EGREP |
|---|
| 4012 | case `"$ac_path_EGREP" --version 2>&1` in |
|---|
| 4013 | *GNU*) |
|---|
| 4014 | ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
|---|
| 4015 | *) |
|---|
| 4016 | ac_count=0 |
|---|
| 4017 | echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" |
|---|
| 4018 | while : |
|---|
| 4019 | do |
|---|
| 4020 | cat "conftest.in" "conftest.in" >"conftest.tmp" |
|---|
| 4021 | mv "conftest.tmp" "conftest.in" |
|---|
| 4022 | cp "conftest.in" "conftest.nl" |
|---|
| 4023 | echo 'EGREP' >> "conftest.nl" |
|---|
| 4024 | "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
|---|
| 4025 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
|---|
| 4026 | ac_count=`expr $ac_count + 1` |
|---|
| 4027 | if test $ac_count -gt ${ac_path_EGREP_max-0}; then |
|---|
| 4028 | # Best one so far, save it but keep looking for a better one |
|---|
| 4029 | ac_cv_path_EGREP="$ac_path_EGREP" |
|---|
| 4030 | ac_path_EGREP_max=$ac_count |
|---|
| 4031 | fi |
|---|
| 4032 | # 10*(2^10) chars as input seems more than enough |
|---|
| 4033 | test $ac_count -gt 10 && break |
|---|
| 4034 | done |
|---|
| 4035 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
|---|
| 4036 | esac |
|---|
| 4037 | |
|---|
| 4038 | |
|---|
| 4039 | $ac_path_EGREP_found && break 3 |
|---|
| 4040 | done |
|---|
| 4041 | done |
|---|
| 4042 | |
|---|
| 4043 | done |
|---|
| 4044 | IFS=$as_save_IFS |
|---|
| 4045 | |
|---|
| 4046 | |
|---|
| 4047 | fi |
|---|
| 4048 | |
|---|
| 4049 | EGREP="$ac_cv_path_EGREP" |
|---|
| 4050 | if test -z "$EGREP"; then |
|---|
| 4051 | { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 |
|---|
| 4052 | echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} |
|---|
| 4053 | { (exit 1); exit 1; }; } |
|---|
| 4054 | fi |
|---|
| 4055 | |
|---|
| 4056 | else |
|---|
| 4057 | ac_cv_path_EGREP=$EGREP |
|---|
| 4058 | fi |
|---|
| 4059 | |
|---|
| 4060 | |
|---|
| 4061 | fi |
|---|
| 4062 | fi |
|---|
| 4063 | { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 |
|---|
| 4064 | echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } |
|---|
| 4065 | EGREP="$ac_cv_path_EGREP" |
|---|
| 4066 | |
|---|
| 4067 | |
|---|
| 4068 | { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
|---|
| 4069 | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } |
|---|
| 4070 | if test "${ac_cv_header_stdc+set}" = set; then |
|---|
| 4071 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|---|
| 4072 | else |
|---|
| 4073 | cat >conftest.$ac_ext <<_ACEOF |
|---|
| 4074 | /* confdefs.h. */ |
|---|
| 4075 | _ACEOF |
|---|
| 4076 | cat confdefs.h >>conftest.$ac_ext |
|---|
| 4077 | cat >>conftest.$ac_ext <<_ACEOF |
|---|
| 4078 | /* end confdefs.h. */ |
|---|
| 4079 | #include <stdlib.h> |
|---|
| 4080 | #include <stdarg.h> |
|---|
| 4081 | #include <string.h> |
|---|
| 4082 | #include <float.h> |
|---|
| 4083 | |
|---|
| 4084 | int |
|---|
| 4085 | main () |
|---|
| 4086 | { |
|---|
| 4087 | |
|---|
| 4088 | ; |
|---|
| 4089 | return 0; |
|---|
| 4090 | } |
|---|
| 4091 | _ACEOF |
|---|
| 4092 | rm -f conftest.$ac_objext |
|---|
| 4093 | if { (ac_try="$ac_compile" |
|---|
| 4094 | case "(($ac_try" in |
|---|
| 4095 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|---|
| 4096 | *) ac_try_echo=$ac_try;; |
|---|
| 4097 | esac |
|---|
| 4098 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|---|
| 4099 | (eval "$ac_compile") 2>conftest.er1 |
|---|
| 4100 | ac_status=$? |
|---|
| 4101 | grep -v '^ *+' conftest.er1 >conftest.err |
|---|
| 4102 | rm -f conftest.er1 |
|---|
| 4103 | cat conftest.err >&5 |
|---|
| 4104 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|---|
| 4105 | (exit $ac_status); } && { |
|---|
| 4106 | test -z "$ac_c_werror_flag" || |
|---|
| 4107 | test ! -s conftest.err |
|---|
| 4108 | } && test -s conftest.$ac_objext; then |
|---|
| 4109 | ac_cv_header_stdc=yes |
|---|
| 4110 | else |
|---|
| 4111 | echo "$as_me: failed program was:" >&5 |
|---|
| 4112 | sed 's/^/| /' conftest.$ac_ext >&5 |
|---|
| 4113 | |
|---|
| 4114 | ac_cv_header_stdc=no |
|---|
| 4115 | fi |
|---|
| 4116 | |
|---|
| 4117 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|---|
| 4118 | |
|---|
| 4119 | if test $ac_cv_header_stdc = yes; then |
|---|
| 4120 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
|---|
| 4121 | cat >conftest.$ac_ext <<_ACEOF |
|---|
| 4122 | /* confdefs.h. */ |
|---|
| 4123 | _ACEOF |
|---|
| 4124 | cat confdefs.h >>conftest.$ac_ext |
|---|
| 4125 | cat >>conftest.$ac_ext <<_ACEOF |
|---|
| 4126 | /* end confdefs.h. */ |
|---|
| 4127 | #include <string.h> |
|---|
| 4128 | |
|---|
| 4129 | _ACEOF |
|---|
| 4130 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|---|
| 4131 | $EGREP "memchr" >/dev/null 2>&1; then |
|---|
| 4132 | : |
|---|
| 4133 | else |
|---|
| 4134 | ac_cv_header_stdc=no |
|---|
| 4135 | fi |
|---|
| 4136 | rm -f conftest* |
|---|
| 4137 | |
|---|
| 4138 | fi |
|---|
| 4139 | |
|---|
| 4140 | if test $ac_cv_header_stdc = yes; then |
|---|
| 4141 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
|---|
| 4142 | cat >conftest.$ac_ext <<_ACEOF |
|---|
| 4143 | /* confdefs.h. */ |
|---|
| 4144 | _ACEOF |
|---|
| 4145 | cat confdefs.h >>conftest.$ac_ext |
|---|
| 4146 | cat >>conftest.$ac_ext <<_ACEOF |
|---|
| 4147 | /* end confdefs.h. */ |
|---|
| 4148 | #include <stdlib.h> |
|---|
| 4149 | |
|---|
| 4150 | _ACEOF |
|---|
| 4151 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|---|
| 4152 | $EGREP "free" >/dev/null 2>&1; then |
|---|
| 4153 | : |
|---|
| 4154 | else |
|---|
| 4155 | ac_cv_header_stdc=no |
|---|
| 4156 | fi |
|---|
| 4157 | rm -f conftest* |
|---|
| 4158 | |
|---|
| 4159 | fi |
|---|
| 4160 | |
|---|
| 4161 | if test $ac_cv_header_stdc = yes; then |
|---|
| 4162 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
|---|
| 4163 | if test "$cross_compiling" = yes; then |
|---|
| 4164 | : |
|---|
| 4165 | else |
|---|
| 4166 | cat >conftest.$ac_ext <<_ACEOF |
|---|
| 4167 | /* confdefs.h. */ |
|---|
| 4168 | _ACEOF |
|---|
| 4169 | cat confdefs.h >>conftest.$ac_ext |
|---|
| 4170 | cat >>conftest.$ac_ext <<_ACEOF |
|---|
| 4171 | /* end confdefs.h. */ |
|---|
| 4172 | #include <ctype.h> |
|---|
| 4173 | #include <stdlib.h> |
|---|
| 4174 | #if ((' ' & 0x0FF) == 0x020) |
|---|
| 4175 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
|---|
| 4176 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
|---|
| 4177 | #else |
|---|
| 4178 | # define ISLOWER(c) \ |
|---|
| 4179 | (('a' <= (c) && (c) <= 'i') \ |
|---|
| 4180 | || ('j' <= (c) && (c) <= 'r') \ |
|---|
| 4181 | || ('s' <= (c) && (c) <= 'z')) |
|---|
| 4182 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
|---|
| 4183 | #endif |
|---|
| 4184 | |
|---|
| 4185 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
|---|
| 4186 | int |
|---|
| 4187 | main () |
|---|
| 4188 | { |
|---|
| 4189 | int i; |
|---|
| 4190 | for (i = 0; i < 256; i++) |
|---|
| 4191 | if (XOR (islower (i), ISLOWER (i)) |
|---|
| 4192 | || toupper (i) != TOUPPER (i)) |
|---|
| 4193 | return 2; |
|---|
| 4194 | return 0; |
|---|
| 4195 | } |
|---|
| 4196 | _ACEOF |
|---|
| 4197 | rm -f conftest$ac_exeext |
|---|
| 4198 | if { (ac_try="$ac_link" |
|---|
| 4199 | case "(($ac_try" in |
|---|
| 4200 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|---|
| 4201 | *) ac_try_echo=$ac_try;; |
|---|
| 4202 | esac |
|---|
| 4203 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|---|
| 4204 | (eval "$ac_link") 2>&5 |
|---|
| 4205 | ac_status=$? |
|---|
| 4206 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|---|
| 4207 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|---|
| 4208 | { (case "(($ac_try" in |
|---|
| 4209 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|---|
| 4210 | *) ac_try_echo=$ac_try;; |
|---|
| 4211 | esac |
|---|
| 4212 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|---|
| 4213 | (eval "$ac_try") 2>&5 |
|---|
| 4214 | ac_status=$? |
|---|
| 4215 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|---|
| 4216 | (exit $ac_status); }; }; then |
|---|
| 4217 | : |
|---|
| 4218 | else |
|---|
| 4219 | echo "$as_me: program exited with status $ac_status" >&5 |
|---|
| 4220 | echo "$as_me: failed program was:" >&5 |
|---|
| 4221 | sed 's/^/| /' conftest.$ac_ext >&5 |
|---|
| 4222 | |
|---|
| 4223 | ( exit $ac_status ) |
|---|
| 4224 | ac_cv_header_stdc=no |
|---|
| 4225 | fi |
|---|
| 4226 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
|---|
| 4227 | fi |
|---|
| 4228 | |
|---|
| 4229 | |
|---|
| 4230 | fi |
|---|
| 4231 | fi |
|---|
| 4232 | { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
|---|
| 4233 | echo "${ECHO_T}$ac_cv_header_stdc" >&6; } |
|---|
| 4234 | if test $ac_cv_header_stdc = yes; then |
|---|
| 4235 | |
|---|
| 4236 | cat >>confdefs.h <<\_ACEOF |
|---|
| 4237 | #define STDC_HEADERS 1 |
|---|
| 4238 | _ACEOF |
|---|
| 4239 | |
|---|
| 4240 | fi |
|---|
| 4241 | |
|---|
| 4242 | { echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
|---|
| 4243 | echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; } |
|---|
| 4244 | if test "${ac_cv_header_sys_wait_h+set}" = set; then |
|---|
| 4245 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|---|
| 4246 | else |
|---|
| 4247 | cat >conftest.$ac_ext <<_ACEOF |
|---|
| 4248 | /* confdefs.h. */ |
|---|
| 4249 | _ACEOF |
|---|
| 4250 | cat confdefs.h >>conftest.$ac_ext |
|---|
| 4251 | cat >>conftest.$ac_ext <<_ACEOF |
|---|
| 4252 | /* end confdefs.h. */ |
|---|
| 4253 | #include <sys/types.h> |
|---|
| 4254 | #include <sys/wait.h> |
|---|
| 4255 | #ifndef WEXITSTATUS |
|---|
| 4256 | # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8) |
|---|
| 4257 | #endif |
|---|
| 4258 | #ifndef WIFEXITED |
|---|
| 4259 | # define WIFEXITED(stat_val) (((stat_val) & 255) == 0) |
|---|
| 4260 | #endif |
|---|
| 4261 | |
|---|
| 4262 | int |
|---|
| 4263 | main () |
|---|
| 4264 | { |
|---|
| 4265 | int s; |
|---|
| 4266 | wait (&s); |
|---|
| 4267 | s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; |
|---|
| 4268 | ; |
|---|
| 4269 | return 0; |
|---|
| 4270 | } |
|---|
| 4271 | _ACEOF |
|---|
| 4272 | rm -f conftest.$ac_objext |
|---|
| 4273 | if { (ac_try="$ac_compile" |
|---|
| 4274 | case "(($ac_try" in |
|---|
| 4275 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|---|
| 4276 | *) ac_try_echo=$ac_try;; |
|---|
| 4277 | esac |
|---|
| 4278 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|---|
| 4279 | (eval "$ac_compile") 2>conftest.er1 |
|---|
| 4280 | ac_status=$? |
|---|
| 4281 | grep -v '^ *+' conftest.er1 >conftest.err |
|---|
| 4282 | rm -f conftest.er1 |
|---|
| 4283 | cat conftest.err >&5 |
|---|
| 4284 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|---|
| 4285 | (exit $ac_status); } && { |
|---|
| 4286 | test -z "$ac_c_werror_flag" || |
|---|
| 4287 | test ! -s conftest.err |
|---|
| 4288 | } && test -s conftest.$ac_objext; then |
|---|
| 4289 | ac_cv_header_sys_wait_h=yes |
|---|
| 4290 | else |
|---|
| 4291 | echo "$as_me: failed program was:" >&5 |
|---|
| 4292 | sed 's/^/| /' conftest.$ac_ext >&5 |
|---|
| 4293 | |
|---|
| 4294 | ac_cv_header_sys_wait_h=no |
|---|
| 4295 | fi |
|---|
| 4296 | |
|---|
| 4297 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|---|
| 4298 | fi |
|---|
| 4299 | { echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5 |
|---|
| 4300 | echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; } |
|---|
| 4301 | if test $ac_cv_header_sys_wait_h = yes; then |
|---|
| 4302 | |
|---|
| 4303 | cat >>confdefs.h <<\_ACEOF |
|---|
| 4304 | #define HAVE_SYS_WAIT_H 1 |
|---|
| 4305 | _ACEOF |
|---|
| 4306 | |
|---|
| 4307 | fi |
|---|
| 4308 | |
|---|
| 4309 | # On IRIX 5.3, sys/types and inttypes.h are conflicting. |
|---|
| 4310 | |
|---|
| 4311 | |
|---|
| 4312 | |
|---|
| 4313 | |
|---|
| 4314 | |
|---|
| 4315 | |
|---|
| 4316 | |
|---|
| 4317 | |
|---|
| 4318 | |
|---|
| 4319 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
|---|
| 4320 | inttypes.h stdint.h unistd.h |
|---|
| 4321 | do |
|---|
| 4322 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|---|
| 4323 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|---|
| 4324 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
|---|
| 4325 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
|---|
| 4326 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|---|
| 4327 | else |
|---|
| 4328 | cat >conftest.$ac_ext <<_ACEOF |
|---|
| 4329 | /* confdefs.h. */ |
|---|
| 4330 | _ACEOF |
|---|
| 4331 | cat confdefs.h >>conftest.$ac_ext |
|---|
| 4332 | cat >>conftest.$ac_ext <<_ACEOF |
|---|
| 4333 | /* end confdefs.h. */ |
|---|
| 4334 | $ac_includes_default |
|---|
| 4335 | |
|---|
| 4336 | #include <$ac_header> |
|---|
| 4337 | _ACEOF |
|---|
| 4338 | rm -f conftest.$ac_objext |
|---|
| 4339 | if { (ac_try="$ac_compile" |
|---|
| 4340 | case "(($ac_try" in |
|---|
| 4341 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|---|
| 4342 | *) ac_try_echo=$ac_try;; |
|---|
| 4343 | esac |
|---|
| 4344 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|---|
| 4345 | (eval "$ac_compile") 2>conftest.er1 |
|---|
| 4346 | ac_status=$? |
|---|
| 4347 | grep -v '^ *+' conftest.er1 >conftest.err |
|---|
| 4348 | rm -f conftest.er1 |
|---|
| 4349 | cat conftest.err >&5 |
|---|
| 4350 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|---|
| 4351 | (exit $ac_status); } && { |
|---|
| 4352 | test -z "$ac_c_werror_flag" || |
|---|
| 4353 | test ! -s conftest.err |
|---|
| 4354 | } && test -s conftest.$ac_objext; then |
|---|
| 4355 | eval "$as_ac_Header=yes" |
|---|
| 4356 | else |
|---|
| 4357 | echo "$as_me: failed program was:" >&5 |
|---|
| 4358 | sed 's/^/| /' conftest.$ac_ext >&5 |
|---|
| 4359 | |
|---|
| 4360 | eval "$as_ac_Header=no" |
|---|
| 4361 | fi |
|---|
| 4362 | |
|---|
| 4363 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|---|
| 4364 | fi |
|---|
| 4365 | ac_res=`eval echo '${'$as_ac_Header'}'` |
|---|
| 4366 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
|---|
| 4367 | echo "${ECHO_T}$ac_res" >&6; } |
|---|
| 4368 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
|---|
| 4369 | cat >>confdefs.h <<_ACEOF |
|---|
| 4370 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|---|
| 4371 | _ACEOF |
|---|
| 4372 | |
|---|
| 4373 | fi |
|---|
| 4374 | |
|---|
| 4375 | done |
|---|
| 4376 | |
|---|
| 4377 | |
|---|
| 4378 | |
|---|
| 4379 | |
|---|
| 4380 | |
|---|
| 4381 | |
|---|
| 4382 | |
|---|
| 4383 | for ac_header in strings.h sys/ioctl.h sys/filio.h unistd.h com_err.h |
|---|
| 4384 | do |
|---|
| 4385 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|---|
| 4386 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
|---|
| 4387 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|---|
| 4388 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
|---|
| 4389 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
|---|
| 4390 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|---|
| 4391 | fi |
|---|
| 4392 | ac_res=`eval echo '${'$as_ac_Header'}'` |
|---|
| 4393 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
|---|
| 4394 | echo "${ECHO_T}$ac_res" >&6; } |
|---|
| 4395 | else |
|---|
| 4396 | # Is the header compilable? |
|---|
| 4397 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
|---|
| 4398 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
|---|
| 4399 | cat >conftest.$ac_ext <<_ACEOF |
|---|
| 4400 | /* confdefs.h. */ |
|---|
| 4401 | _ACEOF |
|---|
| 4402 | cat confdefs.h >>conftest.$ac_ext |
|---|
| 4403 | cat >>conftest.$ac_ext <<_ACEOF |
|---|
| 4404 | /* end confdefs.h. */ |
|---|
| 4405 | $ac_includes_default |
|---|
| 4406 | #include <$ac_header> |
|---|
| 4407 | _ACEOF |
|---|
| 4408 | rm -f conftest.$ac_objext |
|---|
| 4409 | if { (ac_try="$ac_compile" |
|---|
| 4410 | case "(($ac_try" in |
|---|
| 4411 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|---|
| 4412 | *) ac_try_echo=$ac_try;; |
|---|
| 4413 | esac |
|---|
| 4414 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|---|
| 4415 | (eval "$ac_compile") 2>conftest.er1 |
|---|
| 4416 | ac_status=$? |
|---|
| 4417 | grep -v '^ *+' conftest.er1 >conftest.err |
|---|
| 4418 | rm -f conftest.er1 |
|---|
| 4419 | cat conftest.err >&5 |
|---|
| 4420 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|---|
| 4421 | (exit $ac_status); } && { |
|---|
| 4422 | test -z "$ac_c_werror_flag" || |
|---|
| 4423 | test ! -s conftest.err |
|---|
| 4424 | } && test -s conftest.$ac_objext; then |
|---|
| 4425 | ac_header_compiler=yes |
|---|
| 4426 | else |
|---|
| 4427 | echo "$as_me: failed program was:" >&5 |
|---|
| 4428 | sed 's/^/| /' conftest.$ac_ext >&5 |
|---|
| 4429 | |
|---|
| 4430 | ac_header_compiler=no |
|---|
| 4431 | fi |
|---|
| 4432 | |
|---|
| 4433 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|---|
| 4434 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
|---|
| 4435 | echo "${ECHO_T}$ac_header_compiler" >&6; } |
|---|
| 4436 | |
|---|
| 4437 | # Is the header present? |
|---|
| 4438 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
|---|
| 4439 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
|---|
| 4440 | cat >conftest.$ac_ext <<_ACEOF |
|---|
| 4441 | /* confdefs.h. */ |
|---|
| 4442 | _ACEOF |
|---|
| 4443 | cat confdefs.h >>conftest.$ac_ext |
|---|
| 4444 | cat >>conftest.$ac_ext <<_ACEOF |
|---|
| 4445 | /* end confdefs.h. */ |
|---|
| 4446 | #include <$ac_header> |
|---|
| 4447 | _ACEOF |
|---|
| 4448 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
|---|
| 4449 | case "(($ac_try" in |
|---|
| 4450 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|---|
| 4451 | *) ac_try_echo=$ac_try;; |
|---|
| 4452 | esac |
|---|
| 4453 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|---|
| 4454 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|---|
| 4455 | ac_status=$? |
|---|
| 4456 | grep -v '^ *+' conftest.er1 >conftest.err |
|---|
| 4457 | rm -f conftest.er1 |
|---|
| 4458 | cat conftest.err >&5 |
|---|
| 4459 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|---|
| 4460 | (exit $ac_status); } >/dev/null && { |
|---|
| 4461 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
|---|
| 4462 | test ! -s conftest.err |
|---|
| 4463 | }; then |
|---|
| 4464 | ac_header_preproc=yes |
|---|
| 4465 | else |
|---|
| 4466 | echo "$as_me: failed program was:" >&5 |
|---|
| 4467 | sed 's/^/| /' conftest.$ac_ext >&5 |
|---|
| 4468 | |
|---|
| 4469 | ac_header_preproc=no |
|---|
| 4470 | fi |
|---|
| 4471 | |
|---|
| 4472 | rm -f conftest.err conftest.$ac_ext |
|---|
| 4473 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
|---|
| 4474 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
|---|
| 4475 | |
|---|
| 4476 | # So? What about this header? |
|---|
| 4477 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
|---|
| 4478 | yes:no: ) |
|---|
| 4479 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
|---|
| 4480 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
|---|
| 4481 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
|---|
| 4482 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
|---|
| 4483 | ac_header_preproc=yes |
|---|
| 4484 | ;; |
|---|
| 4485 | no:yes:* ) |
|---|
| 4486 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
|---|
| 4487 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
|---|
| 4488 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
|---|
| 4489 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
|---|
| 4490 | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
|---|
| 4491 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
|---|
| 4492 | { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
|---|
| 4493 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
|---|
| 4494 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
|---|
| 4495 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
|---|
| 4496 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
|---|
| 4497 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
|---|
| 4498 | |
|---|
| 4499 | ;; |
|---|
| 4500 | esac |
|---|
| 4501 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|---|
| 4502 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
|---|
| 4503 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
|---|
| 4504 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|---|
| 4505 | else |
|---|
| 4506 | eval "$as_ac_Header=\$ac_header_preproc" |
|---|
| 4507 | fi |
|---|
| 4508 | ac_res=`eval echo '${'$as_ac_Header'}'` |
|---|
| 4509 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
|---|
| 4510 | echo "${ECHO_T}$ac_res" >&6; } |
|---|
| 4511 | |
|---|
| 4512 | fi |
|---|
| 4513 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
|---|
| 4514 | cat >>confdefs.h <<_ACEOF |
|---|
| 4515 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|---|
| 4516 | _ACEOF |
|---|
| 4517 | |
|---|
| 4518 | fi |
|---|
| 4519 | |
|---|
| 4520 | done |
|---|
| 4521 | |
|---|
| 4522 | |
|---|
| 4523 | FOO=`perl -MExtUtils::Embed -e ccopts` |
|---|
| 4524 | echo Adding perl CFLAGS ${FOO} |
|---|
| 4525 | CFLAGS=${CFLAGS}\ ${FOO} |
|---|
| 4526 | |
|---|
| 4527 | { echo "$as_me:$LINENO: checking for the perl xsubpp precompiler" >&5 |
|---|
| 4528 | echo $ECHO_N "checking for the perl xsubpp precompiler... $ECHO_C" >&6; } |
|---|
| 4529 | XSUBPPDIR="`(perl -MExtUtils::MakeMaker -e 'print ExtUtils::MakeMaker->new({NAME => qw(owl)})->tool_xsubpp;') | grep \^XSUBPPDIR | sed -e 's/XSUBPPDIR = //g;'`" |
|---|
| 4530 | if test -n "${XSUBPPDIR}"; then |
|---|
| 4531 | { echo "$as_me:$LINENO: result: ${XSUBPPDIR}" >&5 |
|---|
| 4532 | echo "${ECHO_T}${XSUBPPDIR}" >&6; } |
|---|
| 4533 | else |
|---|
| 4534 | { { echo "$as_me:$LINENO: error: not found" >&5 |
|---|
| 4535 | echo "$as_me: error: not found" >&2;} |
|---|
| 4536 | { (exit 1); exit 1; }; } |
|---|
| 4537 | fi |
|---|
| 4538 | |
|---|
| 4539 | if test -f "${XSUBPPDIR}/typemap"; then |
|---|
| 4540 | XSUBPPFLAGS="-typemap ${XSUBPPDIR}/typemap" |
|---|
| 4541 | else |
|---|
| 4542 | XSUBPPFLAGS="" |
|---|
| 4543 | fi |
|---|
| 4544 | |
|---|
| 4545 | FOO=`perl -MExtUtils::Embed -e ldopts` |
|---|
| 4546 | echo Adding perl LDFLAGS ${FOO} |
|---|
| 4547 | LDFLAGS=${LDFLAGS}\ ${FOO} |
|---|
| 4548 | |
|---|
| 4549 | |
|---|
| 4550 | |
|---|
| 4551 | if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then |
|---|
| 4552 | if test -n "$ac_tool_prefix"; then |
|---|
| 4553 | # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. |
|---|
| 4554 | set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 |
|---|
| 4555 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|---|
| 4556 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
|---|
| 4557 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then |
|---|
| 4558 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|---|
| 4559 | else |
|---|
| 4560 | case $PKG_CONFIG in |
|---|
| 4561 | [\\/]* | ?:[\\/]*) |
|---|
| 4562 | ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
|---|
| 4563 | ;; |
|---|
| 4564 | *) |
|---|
| 4565 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|---|
| 4566 | for as_dir in $PATH |
|---|
| 4567 | do |
|---|
| 4568 | IFS=$as_save_IFS |
|---|
| 4569 | test -z "$as_dir" && as_dir=. |
|---|
| 4570 | for ac_exec_ext in '' $ac_executable_extensions; do |
|---|
| 4571 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|---|
| 4572 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
|---|
| 4573 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|---|
| 4574 | break 2 |
|---|
| 4575 | fi |
|---|
| 4576 | done |
|---|
| 4577 | done |
|---|
| 4578 | IFS=$as_save_IFS |
|---|
| 4579 | |
|---|
| 4580 | ;; |
|---|
| 4581 | esac |
|---|
| 4582 | fi |
|---|
| 4583 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
|---|
| 4584 | if test -n "$PKG_CONFIG"; then |
|---|
| 4585 | { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 |
|---|
| 4586 | echo "${ECHO_T}$PKG_CONFIG" >&6; } |
|---|
| 4587 | else |
|---|
| 4588 | { echo "$as_me:$LINENO: result: no" >&5 |
|---|
| 4589 | echo "${ECHO_T}no" >&6; } |
|---|
| 4590 | fi |
|---|
| 4591 | |
|---|
| 4592 | |
|---|
| 4593 | fi |
|---|
| 4594 | if test -z "$ac_cv_path_PKG_CONFIG"; then |
|---|
| 4595 | ac_pt_PKG_CONFIG=$PKG_CONFIG |
|---|
| 4596 | # Extract the first word of "pkg-config", so it can be a program name with args. |
|---|
| 4597 | set dummy pkg-config; ac_word=$2 |
|---|
| 4598 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|---|
| 4599 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
|---|
| 4600 | if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then |
|---|
| 4601 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|---|
| 4602 | else |
|---|
| 4603 | case $ac_pt_PKG_CONFIG in |
|---|
| 4604 | [\\/]* | ?:[\\/]*) |
|---|
| 4605 | ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. |
|---|
| 4606 | ;; |
|---|
| 4607 | *) |
|---|
| 4608 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|---|
| 4609 | for as_dir in $PATH |
|---|
| 4610 | do |
|---|
| 4611 | IFS=$as_save_IFS |
|---|
| 4612 | test -z "$as_dir" && as_dir=. |
|---|
| 4613 | for ac_exec_ext in '' $ac_executable_extensions; do |
|---|
| 4614 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|---|
| 4615 | ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
|---|
| 4616 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|---|
| 4617 | break 2 |
|---|
| 4618 | fi |
|---|
| 4619 | done |
|---|
| 4620 | done |
|---|
| 4621 | IFS=$as_save_IFS |
|---|
| 4622 | |
|---|
| 4623 | ;; |
|---|
| 4624 | esac |
|---|
| 4625 | fi |
|---|
| 4626 | ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG |
|---|
| 4627 | if test -n "$ac_pt_PKG_CONFIG"; then |
|---|
| 4628 | { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5 |
|---|
| 4629 | echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; } |
|---|
| 4630 | else |
|---|
| 4631 | { echo "$as_me:$LINENO: result: no" >&5 |
|---|
| 4632 | echo "${ECHO_T}no" >&6; } |
|---|
| 4633 | fi |
|---|
| 4634 | |
|---|
| 4635 | if test "x$ac_pt_PKG_CONFIG" = x; then |
|---|
| 4636 | PKG_CONFIG="" |
|---|
| 4637 | else |
|---|
| 4638 | case $cross_compiling:$ac_tool_warned in |
|---|
| 4639 | yes:) |
|---|
| 4640 | { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
|---|
| 4641 | whose name does not start with the host triplet. If you think this |
|---|
| 4642 | configuration is useful to you, please write to autoconf@gnu.org." >&5 |
|---|
| 4643 | echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
|---|
| 4644 | whose name does not start with the host triplet. If you think this |
|---|
| 4645 | configuration is useful to you, please write to autoconf@gnu.org." >&2;} |
|---|
| 4646 | ac_tool_warned=yes ;; |
|---|
| 4647 | esac |
|---|
| 4648 | PKG_CONFIG=$ac_pt_PKG_CONFIG |
|---|
| 4649 | fi |
|---|
| 4650 | else |
|---|
| 4651 | PKG_CONFIG="$ac_cv_path_PKG_CONFIG" |
|---|
| 4652 | fi |
|---|
| 4653 | |
|---|
| 4654 | fi |
|---|
| 4655 | if test -n "$PKG_CONFIG"; then |
|---|
| 4656 | _pkg_min_version=0.9.0 |
|---|
| 4657 | { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5 |
|---|
| 4658 | echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; } |
|---|
| 4659 | if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then |
|---|
| 4660 | { echo "$as_me:$LINENO: result: yes" >&5 |
|---|
| 4661 | echo "${ECHO_T}yes" >&6; } |
|---|
| 4662 | else |
|---|
| 4663 | { echo "$as_me:$LINENO: result: no" >&5 |
|---|
| 4664 | echo "${ECHO_T}no" >&6; } |
|---|
| 4665 | PKG_CONFIG="" |
|---|
| 4666 | fi |
|---|
| 4667 | |
|---|
| 4668 | fi |
|---|
| 4669 | |
|---|
| 4670 | pkg_failed=no |
|---|
| 4671 | { echo "$as_me:$LINENO: checking for GLIB" >&5 |
|---|
| 4672 | echo $ECHO_N "checking for GLIB... $ECHO_C" >&6; } |
|---|
| 4673 | |
|---|
| 4674 | if test -n "$PKG_CONFIG"; then |
|---|
| 4675 | if test -n "$GLIB_CFLAGS"; then |
|---|
| 4676 | pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS" |
|---|
| 4677 | else |
|---|
| 4678 | if test -n "$PKG_CONFIG" && \ |
|---|
| 4679 | { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0\"") >&5 |
|---|
| 4680 | ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5 |
|---|
| 4681 | ac_status=$? |
|---|
| 4682 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|---|
| 4683 | (exit $ac_status); }; then |
|---|
| 4684 | pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0" 2>/dev/null` |
|---|
| 4685 | else |
|---|
| 4686 | pkg_failed=yes |
|---|
| 4687 | fi |
|---|
| 4688 | fi |
|---|
| 4689 | else |
|---|
| 4690 | pkg_failed=untried |
|---|
| 4691 | fi |
|---|
| 4692 | if test -n "$PKG_CONFIG"; then |
|---|
| 4693 | if test -n "$GLIB_LIBS"; then |
|---|
| 4694 | pkg_cv_GLIB_LIBS="$GLIB_LIBS" |
|---|
| 4695 | else |
|---|
| 4696 | if test -n "$PKG_CONFIG" && \ |
|---|
| 4697 | { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0\"") >&5 |
|---|
| 4698 | ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5 |
|---|
| 4699 | ac_status=$? |
|---|
| 4700 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|---|
| 4701 | (exit $ac_status); }; then |
|---|
| 4702 | pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0" 2>/dev/null` |
|---|
| 4703 | else |
|---|
| 4704 | pkg_failed=yes |
|---|
| 4705 | fi |
|---|
| 4706 | fi |
|---|
| 4707 | else |
|---|
| 4708 | pkg_failed=untried |
|---|
| 4709 | fi |
|---|
| 4710 | |
|---|
| 4711 | |
|---|
| 4712 | |
|---|
| 4713 | if test $pkg_failed = yes; then |
|---|
| 4714 | |
|---|
| 4715 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
|---|
| 4716 | _pkg_short_errors_supported=yes |
|---|
| 4717 | else |
|---|
| 4718 | _pkg_short_errors_supported=no |
|---|
| 4719 | fi |
|---|
| 4720 | if test $_pkg_short_errors_supported = yes; then |
|---|
| 4721 | GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glib-2.0"` |
|---|
| 4722 | else |
|---|
| 4723 | GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0"` |
|---|
| 4724 | fi |
|---|
| 4725 | # Put the nasty error message in config.log where it belongs |
|---|
| 4726 | echo "$GLIB_PKG_ERRORS" >&5 |
|---|
| 4727 | |
|---|
| 4728 | { { echo "$as_me:$LINENO: error: Package requirements (glib-2.0) were not met: |
|---|
| 4729 | |
|---|
| 4730 | $GLIB_PKG_ERRORS |
|---|
| 4731 | |
|---|
| 4732 | Consider adjusting the PKG_CONFIG_PATH environment variable if you |
|---|
| 4733 | installed software in a non-standard prefix. |
|---|
| 4734 | |
|---|
| 4735 | Alternatively, you may set the environment variables GLIB_CFLAGS |
|---|
| 4736 | and GLIB_LIBS to avoid the need to call pkg-config. |
|---|
| 4737 | See the pkg-config man page for more details. |
|---|
| 4738 | " >&5 |
|---|
| 4739 | echo "$as_me: error: Package requirements (glib-2.0) were not met: |
|---|
| 4740 | |
|---|
| 4741 | $GLIB_PKG_ERRORS |
|---|
| 4742 | |
|---|
| 4743 | Consider adjusting the PKG_CONFIG_PATH environment variable if you |
|---|
| 4744 | installed software in a non-standard prefix. |
|---|
| 4745 | |
|---|
| 4746 | Alternatively, you may set the environment variables GLIB_CFLAGS |
|---|
| 4747 | and GLIB_LIBS to avoid the need to call pkg-config. |
|---|
| 4748 | See the pkg-config man page for more details. |
|---|
| 4749 | " >&2;} |
|---|
| 4750 | { (exit 1); exit 1; }; } |
|---|
| 4751 | elif test $pkg_failed = untried; then |
|---|
| 4752 | { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it |
|---|
| 4753 | is in your PATH or set the PKG_CONFIG environment variable to the full |
|---|
| 4754 | path to pkg-config. |
|---|
| 4755 | |
|---|
| 4756 | Alternatively, you may set the environment variables GLIB_CFLAGS |
|---|
| 4757 | and GLIB_LIBS to avoid the need to call pkg-config. |
|---|
| 4758 | See the pkg-config man page for more details. |
|---|
| 4759 | |
|---|
| 4760 | To get pkg-config, see <http://pkg-config.freedesktop.org/>. |
|---|
| 4761 | See \`config.log' for more details." >&5 |
|---|
| 4762 | echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it |
|---|
| 4763 | is in your PATH or set the PKG_CONFIG environment variable to the full |
|---|
| 4764 | path to pkg-config. |
|---|
| 4765 | |
|---|
| 4766 | Alternatively, you may set the environment variables GLIB_CFLAGS |
|---|
| 4767 | and GLIB_LIBS to avoid the need to call pkg-config. |
|---|
| 4768 | See the pkg-config man page for more details. |
|---|
| 4769 | |
|---|
| 4770 | To get pkg-config, see <http://pkg-config.freedesktop.org/>. |
|---|
| 4771 | See \`config.log' for more details." >&2;} |
|---|
| 4772 | { (exit 1); exit 1; }; } |
|---|
| 4773 | else |
|---|
| 4774 | GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS |
|---|
| 4775 | GLIB_LIBS=$pkg_cv_GLIB_LIBS |
|---|
| 4776 | { echo "$as_me:$LINENO: result: yes" >&5 |
|---|
| 4777 | echo "${ECHO_T}yes" >&6; } |
|---|
| 4778 | : |
|---|
| 4779 | fi |
|---|
| 4780 | |
|---|
| 4781 | echo Adding glib-2.0 CFLAGS ${GLIB_CFLAGS} |
|---|
| 4782 | CFLAGS="${GLIB_CFLAGS} ${CFLAGS}" |
|---|
| 4783 | echo Adding glib-2.0 LDFLAGS ${GLIB_LIBS} |
|---|
| 4784 | LDFLAGS="${GLIB_LIBS} ${LDFLAGS}" |
|---|
| 4785 | |
|---|
| 4786 | |
|---|
| 4787 | |
|---|
| 4788 | |
|---|
| 4789 | |
|---|
| 4790 | |
|---|
| 4791 | |
|---|
| 4792 | ac_aux_dir= |
|---|
| 4793 | for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
|---|
| 4794 | if test -f "$ac_dir/install-sh"; then |
|---|
| 4795 | ac_aux_dir=$ac_dir |
|---|
| 4796 | ac_install_sh="$ac_aux_dir/install-sh -c" |
|---|
| 4797 | break |
|---|
| 4798 | elif test -f "$ac_dir/install.sh"; then |
|---|
| 4799 | ac_aux_dir=$ac_dir |
|---|
| 4800 | ac_install_sh="$ac_aux_dir/install.sh -c" |
|---|
| 4801 | break |
|---|
| 4802 | elif test -f "$ac_dir/shtool"; then |
|---|
| 4803 | ac_aux_dir=$ac_dir |
|---|
| 4804 | ac_install_sh="$ac_aux_dir/shtool install -c" |
|---|
| 4805 | break |
|---|
| 4806 | fi |
|---|
| 4807 | done |
|---|
| 4808 | if test -z "$ac_aux_dir"; then |
|---|
| 4809 | { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 |
|---|
| 4810 | echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} |
|---|
| 4811 | { (exit 1); exit 1; }; } |
|---|
| 4812 | fi |
|---|
| 4813 | |
|---|
| 4814 | # These three variables are undocumented and unsupported, |
|---|
| 4815 | # and are intended to be withdrawn in a future Autoconf release. |
|---|
| 4816 | # They can cause serious problems if a builder's source tree is in a directory |
|---|
| 4817 | # whose full name contains unusual characters. |
|---|
| 4818 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. |
|---|
| 4819 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. |
|---|
| 4820 | ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. |
|---|
| 4821 | |
|---|
| 4822 | |
|---|
| 4823 | # Find a good install program. We prefer a C program (faster), |
|---|
| 4824 | # so one script is as good as another. But avoid the broken or |
|---|
| 4825 | # incompatible versions: |
|---|
| 4826 | # SysV /etc/install, /usr/sbin/install |
|---|
| 4827 | # SunOS /usr/etc/install |
|---|
| 4828 | # IRIX /sbin/install |
|---|
| 4829 | # AIX /bin/install |
|---|
| 4830 | # AmigaOS /C/install, which installs bootblocks on floppy discs |
|---|
| 4831 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
|---|
| 4832 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
|---|
| 4833 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
|---|
| 4834 | # OS/2's system install, which has a completely different semantic |
|---|
| 4835 | # ./install, which can be erroneously created by make from ./install.sh. |
|---|
| 4836 | { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
|---|
| 4837 | echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } |
|---|
| 4838 | if test -z "$INSTALL"; then |
|---|
| 4839 | if test "${ac_cv_path_install+set}" = set; then |
|---|
| 4840 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|---|
| 4841 | else |
|---|
| 4842 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|---|
| 4843 | for as_dir in $PATH |
|---|
| 4844 | do |
|---|
| 4845 | IFS=$as_save_IFS |
|---|
| 4846 | test -z "$as_dir" && as_dir=. |
|---|
| 4847 | # Account for people who put trailing slashes in PATH elements. |
|---|
| 4848 | case $as_dir/ in |
|---|
| 4849 | ./ | .// | /cC/* | \ |
|---|
| 4850 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
|---|
| 4851 | ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ |
|---|
| 4852 | /usr/ucb/* ) ;; |
|---|
| 4853 | *) |
|---|
| 4854 | # OSF1 and SCO ODT 3.0 have their own names for install. |
|---|
| 4855 | # Don't use installbsd from OSF since it installs stuff as root |
|---|
| 4856 | # by default. |
|---|
| 4857 | for ac_prog in ginstall scoinst install; do |
|---|
| 4858 | for ac_exec_ext in '' $ac_executable_extensions; do |
|---|
| 4859 | if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then |
|---|
| 4860 | if test $ac_prog = install && |
|---|
| 4861 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
|---|
| 4862 | # AIX install. It has an incompatible calling convention. |
|---|
| 4863 | : |
|---|
| 4864 | elif test $ac_prog = install && |
|---|
| 4865 | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
|---|
| 4866 | # program-specific install script used by HP pwplus--don't use. |
|---|
| 4867 | : |
|---|
| 4868 | else |
|---|
| 4869 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
|---|
| 4870 | break 3 |
|---|
| 4871 | fi |
|---|
| 4872 | fi |
|---|
| 4873 | done |
|---|
| 4874 | done |
|---|
| 4875 | ;; |
|---|
| 4876 | esac |
|---|
| 4877 | done |
|---|
| 4878 | IFS=$as_save_IFS |
|---|
| 4879 | |
|---|
| 4880 | |
|---|
| 4881 | fi |
|---|
| 4882 | if test "${ac_cv_path_install+set}" = set; then |
|---|
| 4883 | INSTALL=$ac_cv_path_install |
|---|
| 4884 | else |
|---|
| 4885 | # As a last resort, use the slow shell script. Don't cache a |
|---|
| 4886 | # value for INSTALL within a source directory, because that will |
|---|
| 4887 | # break other packages using the cache if that directory is |
|---|
| 4888 | # removed, or if the value is a relative name. |
|---|
| 4889 | INSTALL=$ac_install_sh |
|---|
| 4890 | fi |
|---|
| 4891 | fi |
|---|
| 4892 | { echo "$as_me:$LINENO: result: $INSTALL" >&5 |
|---|
| 4893 | echo "${ECHO_T}$INSTALL" >&6; } |
|---|
| 4894 | |
|---|
| 4895 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
|---|
| 4896 | # It thinks the first close brace ends the variable substitution. |
|---|
| 4897 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
|---|
| 4898 | |
|---|
| 4899 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
|---|
| 4900 | |
|---|
| 4901 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
|---|
| 4902 | |
|---|
| 4903 | |
|---|
| 4904 | subdirs="$subdirs libfaim" |
|---|
| 4905 | |
|---|
| 4906 | |
|---|
| 4907 | ac_config_files="$ac_config_files Makefile" |
|---|
| 4908 | |
|---|
| 4909 | cat >confcache <<\_ACEOF |
|---|
| 4910 | # This file is a shell script that caches the results of configure |
|---|
| 4911 | # tests run on this system so they can be shared between configure |
|---|
| 4912 | # scripts and configure runs, see configure's option --config-cache. |
|---|
| 4913 | # It is not useful on other systems. If it contains results you don't |
|---|
| 4914 | # want to keep, you may remove or edit it. |
|---|
| 4915 | # |
|---|
| 4916 | # config.status only pays attention to the cache file if you give it |
|---|
| 4917 | # the --recheck option to rerun configure. |
|---|
| 4918 | # |
|---|
| 4919 | # `ac_cv_env_foo' variables (set or unset) will be overridden when |
|---|
| 4920 | # loading this file, other *unset* `ac_cv_foo' will be assigned the |
|---|
| 4921 | # following values. |
|---|
| 4922 | |
|---|
| 4923 | _ACEOF |
|---|
| 4924 | |
|---|
| 4925 | # The following way of writing the cache mishandles newlines in values, |
|---|
| 4926 | # but we know of no workaround that is simple, portable, and efficient. |
|---|
| 4927 | # So, we kill variables containing newlines. |
|---|
| 4928 | # Ultrix sh set writes to stderr and can't be redirected directly, |
|---|
| 4929 | # and sets the high bit in the cache file unless we assign to the vars. |
|---|
| 4930 | ( |
|---|
| 4931 | for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do |
|---|
| 4932 | eval ac_val=\$$ac_var |
|---|
| 4933 | case $ac_val in #( |
|---|
| 4934 | *${as_nl}*) |
|---|
| 4935 | case $ac_var in #( |
|---|
| 4936 | *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 |
|---|
| 4937 | echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; |
|---|
| 4938 | esac |
|---|
| 4939 | case $ac_var in #( |
|---|
| 4940 | _ | IFS | as_nl) ;; #( |
|---|
| 4941 | *) $as_unset $ac_var ;; |
|---|
| 4942 | esac ;; |
|---|
| 4943 | esac |
|---|
| 4944 | done |
|---|
| 4945 | |
|---|
| 4946 | (set) 2>&1 | |
|---|
| 4947 | case $as_nl`(ac_space=' '; set) 2>&1` in #( |
|---|
| 4948 | *${as_nl}ac_space=\ *) |
|---|
| 4949 | # `set' does not quote correctly, so add quotes (double-quote |
|---|
| 4950 | # substitution turns \\\\ into \\, and sed turns \\ into \). |
|---|
| 4951 | sed -n \ |
|---|
| 4952 | "s/'/'\\\\''/g; |
|---|
| 4953 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
|---|
| 4954 | ;; #( |
|---|
| 4955 | *) |
|---|
| 4956 | # `set' quotes correctly as required by POSIX, so do not add quotes. |
|---|
| 4957 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
|---|
| 4958 | ;; |
|---|
| 4959 | esac | |
|---|
| 4960 | sort |
|---|
| 4961 | ) | |
|---|
| 4962 | sed ' |
|---|
| 4963 | /^ac_cv_env_/b end |
|---|
| 4964 | t clear |
|---|
| 4965 | :clear |
|---|
| 4966 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
|---|
| 4967 | t end |
|---|
| 4968 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
|---|
| 4969 | :end' >>confcache |
|---|
| 4970 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
|---|
| 4971 | if test -w "$cache_file"; then |
|---|
| 4972 | test "x$cache_file" != "x/dev/null" && |
|---|
| 4973 | { echo "$as_me:$LINENO: updating cache $cache_file" >&5 |
|---|
| 4974 | echo "$as_me: updating cache $cache_file" >&6;} |
|---|
| 4975 | cat confcache >$cache_file |
|---|
| 4976 | else |
|---|
| 4977 | { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 |
|---|
| 4978 | echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
|---|
| 4979 | fi |
|---|
| 4980 | fi |
|---|
| 4981 | rm -f confcache |
|---|
| 4982 | |
|---|
| 4983 | test "x$prefix" = xNONE && prefix=$ac_default_prefix |
|---|
| 4984 | # Let make expand exec_prefix. |
|---|
| 4985 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
|---|
| 4986 | |
|---|
| 4987 | DEFS=-DHAVE_CONFIG_H |
|---|
| 4988 | |
|---|
| 4989 | ac_libobjs= |
|---|
| 4990 | ac_ltlibobjs= |
|---|
| 4991 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
|---|
| 4992 | # 1. Remove the extension, and $U if already installed. |
|---|
| 4993 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
|---|
| 4994 | ac_i=`echo "$ac_i" | sed "$ac_script"` |
|---|
| 4995 | # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
|---|
| 4996 | # will be set to the directory where LIBOBJS objects are built. |
|---|
| 4997 | ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
|---|
| 4998 | ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' |
|---|
| 4999 | done |
|---|
| 5000 | LIBOBJS=$ac_libobjs |
|---|
| 5001 | |
|---|
| 5002 | LTLIBOBJS=$ac_ltlibobjs |
|---|
| 5003 | |
|---|
| 5004 | |
|---|
| 5005 | |
|---|
| 5006 | : ${CONFIG_STATUS=./config.status} |
|---|
| 5007 | ac_clean_files_save=$ac_clean_files |
|---|
| 5008 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
|---|
| 5009 | { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 |
|---|
| 5010 | echo "$as_me: creating $CONFIG_STATUS" >&6;} |
|---|
| 5011 | cat >$CONFIG_STATUS <<_ACEOF |
|---|
| 5012 | #! $SHELL |
|---|
| 5013 | # Generated by $as_me. |
|---|
| 5014 | # Run this file to recreate the current configuration. |
|---|
| 5015 | # Compiler output produced by configure, useful for debugging |
|---|
| 5016 | # configure, is in config.log if it exists. |
|---|
| 5017 | |
|---|
| 5018 | debug=false |
|---|
| 5019 | ac_cs_recheck=false |
|---|
| 5020 | ac_cs_silent=false |
|---|
| 5021 | SHELL=\${CONFIG_SHELL-$SHELL} |
|---|
| 5022 | _ACEOF |
|---|
| 5023 | |
|---|
| 5024 | cat >>$CONFIG_STATUS <<\_ACEOF |
|---|
| 5025 | ## --------------------- ## |
|---|
| 5026 | ## M4sh Initialization. ## |
|---|
| 5027 | ## --------------------- ## |
|---|
| 5028 | |
|---|
| 5029 | # Be more Bourne compatible |
|---|
| 5030 | DUALCASE=1; export DUALCASE # for MKS sh |
|---|
| 5031 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
|---|
| 5032 | emulate sh |
|---|
| 5033 | NULLCMD=: |
|---|
| 5034 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
|---|
| 5035 | # is contrary to our usage. Disable this feature. |
|---|
| 5036 | alias -g '${1+"$@"}'='"$@"' |
|---|
| 5037 | setopt NO_GLOB_SUBST |
|---|
| 5038 | else |
|---|
| 5039 | case `(set -o) 2>/dev/null` in |
|---|
| 5040 | *posix*) set -o posix ;; |
|---|
| 5041 | esac |
|---|
| 5042 | |
|---|
| 5043 | fi |
|---|
| 5044 | |
|---|
| 5045 | |
|---|
| 5046 | |
|---|
| 5047 | |
|---|
| 5048 | # PATH needs CR |
|---|
| 5049 | # Avoid depending upon Character Ranges. |
|---|
| 5050 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
|---|
| 5051 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
|---|
| 5052 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
|---|
| 5053 | as_cr_digits='0123456789' |
|---|
| 5054 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
|---|
| 5055 | |
|---|
| 5056 | # The user is always right. |
|---|
| 5057 | if test "${PATH_SEPARATOR+set}" != set; then |
|---|
| 5058 | echo "#! /bin/sh" >conf$$.sh |
|---|
| 5059 | echo "exit 0" >>conf$$.sh |
|---|
| 5060 | chmod +x conf$$.sh |
|---|
| 5061 | if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
|---|
| 5062 | PATH_SEPARATOR=';' |
|---|
| 5063 | else |
|---|
| 5064 | PATH_SEPARATOR=: |
|---|
| 5065 | fi |
|---|
| 5066 | rm -f conf$$.sh |
|---|
| 5067 | fi |
|---|
| 5068 | |
|---|
| 5069 | # Support unset when possible. |
|---|
| 5070 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
|---|
| 5071 | as_unset=unset |
|---|
| 5072 | else |
|---|
| 5073 | as_unset=false |
|---|
| 5074 | fi |
|---|
| 5075 | |
|---|
| 5076 | |
|---|
| 5077 | # IFS |
|---|
| 5078 | # We need space, tab and new line, in precisely that order. Quoting is |
|---|
| 5079 | # there to prevent editors from complaining about space-tab. |
|---|
| 5080 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
|---|
| 5081 | # splitting by setting IFS to empty value.) |
|---|
| 5082 | as_nl=' |
|---|
| 5083 | ' |
|---|
| 5084 | IFS=" "" $as_nl" |
|---|
| 5085 | |
|---|
| 5086 | # Find who we are. Look in the path if we contain no directory separator. |
|---|
| 5087 | case $0 in |
|---|
| 5088 | *[\\/]* ) as_myself=$0 ;; |
|---|
| 5089 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|---|
| 5090 | for as_dir in $PATH |
|---|
| 5091 | do |
|---|
| 5092 | IFS=$as_save_IFS |
|---|
| 5093 | test -z "$as_dir" && as_dir=. |
|---|
| 5094 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
|---|
| 5095 | done |
|---|
| 5096 | IFS=$as_save_IFS |
|---|
| 5097 | |
|---|
| 5098 | ;; |
|---|
| 5099 | esac |
|---|
| 5100 | # We did not find ourselves, most probably we were run as `sh COMMAND' |
|---|
| 5101 | # in which case we are not to be found in the path. |
|---|
| 5102 | if test "x$as_myself" = x; then |
|---|
| 5103 | as_myself=$0 |
|---|
| 5104 | fi |
|---|
| 5105 | if test ! -f "$as_myself"; then |
|---|
| 5106 | echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
|---|
| 5107 | { (exit 1); exit 1; } |
|---|
| 5108 | fi |
|---|
| 5109 | |
|---|
| 5110 | # Work around bugs in pre-3.0 UWIN ksh. |
|---|
| 5111 | for as_var in ENV MAIL MAILPATH |
|---|
| 5112 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
|---|
| 5113 | done |
|---|
| 5114 | PS1='$ ' |
|---|
| 5115 | PS2='> ' |
|---|
| 5116 | PS4='+ ' |
|---|
| 5117 | |
|---|
| 5118 | # NLS nuisances. |
|---|
| 5119 | for as_var in \ |
|---|
| 5120 | LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
|---|
| 5121 | LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
|---|
| 5122 | LC_TELEPHONE LC_TIME |
|---|
| 5123 | do |
|---|
| 5124 | if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
|---|
| 5125 | eval $as_var=C; export $as_var |
|---|
| 5126 | else |
|---|
| 5127 | ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
|---|
| 5128 | fi |
|---|
| 5129 | done |
|---|
| 5130 | |
|---|
| 5131 | # Required to use basename. |
|---|
| 5132 | if expr a : '\(a\)' >/dev/null 2>&1 && |
|---|
| 5133 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
|---|
| 5134 | as_expr=expr |
|---|
| 5135 | else |
|---|
| 5136 | as_expr=false |
|---|
| 5137 | fi |
|---|
| 5138 | |
|---|
| 5139 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
|---|
| 5140 | as_basename=basename |
|---|
| 5141 | else |
|---|
| 5142 | as_basename=false |
|---|
| 5143 | fi |
|---|
| 5144 | |
|---|
| 5145 | |
|---|
| 5146 | # Name of the executable. |
|---|
| 5147 | as_me=`$as_basename -- "$0" || |
|---|
| 5148 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
|---|
| 5149 | X"$0" : 'X\(//\)$' \| \ |
|---|
| 5150 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
|---|
| 5151 | echo X/"$0" | |
|---|
| 5152 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
|---|
| 5153 | s//\1/ |
|---|
| 5154 | q |
|---|
| 5155 | } |
|---|
| 5156 | /^X\/\(\/\/\)$/{ |
|---|
| 5157 | s//\1/ |
|---|
| 5158 | q |
|---|
| 5159 | } |
|---|
| 5160 | /^X\/\(\/\).*/{ |
|---|
| 5161 | s//\1/ |
|---|
| 5162 | q |
|---|
| 5163 | } |
|---|
| 5164 | s/.*/./; q'` |
|---|
| 5165 | |
|---|
| 5166 | # CDPATH. |
|---|
| 5167 | $as_unset CDPATH |
|---|
| 5168 | |
|---|
| 5169 | |
|---|
| 5170 | |
|---|
| 5171 | as_lineno_1=$LINENO |
|---|
| 5172 | as_lineno_2=$LINENO |
|---|
| 5173 | test "x$as_lineno_1" != "x$as_lineno_2" && |
|---|
| 5174 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { |
|---|
| 5175 | |
|---|
| 5176 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
|---|
| 5177 | # uniformly replaced by the line number. The first 'sed' inserts a |
|---|
| 5178 | # line-number line after each line using $LINENO; the second 'sed' |
|---|
| 5179 | # does the real work. The second script uses 'N' to pair each |
|---|
| 5180 | # line-number line with the line containing $LINENO, and appends |
|---|
| 5181 | # trailing '-' during substitution so that $LINENO is not a special |
|---|
| 5182 | # case at line end. |
|---|
| 5183 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
|---|
| 5184 | # scripts with optimization help from Paolo Bonzini. Blame Lee |
|---|
| 5185 | # E. McMahon (1931-1989) for sed's syntax. :-) |
|---|
| 5186 | sed -n ' |
|---|
| 5187 | p |
|---|
| 5188 | /[$]LINENO/= |
|---|
| 5189 | ' <$as_myself | |
|---|
| 5190 | sed ' |
|---|
| 5191 | s/[$]LINENO.*/&-/ |
|---|
| 5192 | t lineno |
|---|
| 5193 | b |
|---|
| 5194 | :lineno |
|---|
| 5195 | N |
|---|
| 5196 | :loop |
|---|
| 5197 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
|---|
| 5198 | t loop |
|---|
| 5199 | s/-\n.*// |
|---|
| 5200 | ' >$as_me.lineno && |
|---|
| 5201 | chmod +x "$as_me.lineno" || |
|---|
| 5202 | { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
|---|
| 5203 | { (exit 1); exit 1; }; } |
|---|
| 5204 | |
|---|
| 5205 | # Don't try to exec as it changes $[0], causing all sort of problems |
|---|
| 5206 | # (the dirname of $[0] is not the place where we might find the |
|---|
| 5207 | # original and so on. Autoconf is especially sensitive to this). |
|---|
| 5208 | . "./$as_me.lineno" |
|---|
| 5209 | # Exit status is that of the last command. |
|---|
| 5210 | exit |
|---|
| 5211 | } |
|---|
| 5212 | |
|---|
| 5213 | |
|---|
| 5214 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
|---|
| 5215 | as_dirname=dirname |
|---|
| 5216 | else |
|---|
| 5217 | as_dirname=false |
|---|
| 5218 | fi |
|---|
| 5219 | |
|---|
| 5220 | ECHO_C= ECHO_N= ECHO_T= |
|---|
| 5221 | case `echo -n x` in |
|---|
| 5222 | -n*) |
|---|
| 5223 | case `echo 'x\c'` in |
|---|
| 5224 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
|---|
| 5225 | *) ECHO_C='\c';; |
|---|
| 5226 | esac;; |
|---|
| 5227 | *) |
|---|
| 5228 | ECHO_N='-n';; |
|---|
| 5229 | esac |
|---|
| 5230 | |
|---|
| 5231 | if expr a : '\(a\)' >/dev/null 2>&1 && |
|---|
| 5232 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
|---|
| 5233 | as_expr=expr |
|---|
| 5234 | else |
|---|
| 5235 | as_expr=false |
|---|
| 5236 | fi |
|---|
| 5237 | |
|---|
| 5238 | rm -f conf$$ conf$$.exe conf$$.file |
|---|
| 5239 | if test -d conf$$.dir; then |
|---|
| 5240 | rm -f conf$$.dir/conf$$.file |
|---|
| 5241 | else |
|---|
| 5242 | rm -f conf$$.dir |
|---|
| 5243 | mkdir conf$$.dir |
|---|
| 5244 | fi |
|---|
| 5245 | echo >conf$$.file |
|---|
| 5246 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
|---|
| 5247 | as_ln_s='ln -s' |
|---|
| 5248 | # ... but there are two gotchas: |
|---|
| 5249 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
|---|
| 5250 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
|---|
| 5251 | # In both cases, we have to default to `cp -p'. |
|---|
| 5252 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
|---|
| 5253 | as_ln_s='cp -p' |
|---|
| 5254 | elif ln conf$$.file conf$$ 2>/dev/null; then |
|---|
| 5255 | as_ln_s=ln |
|---|
| 5256 | else |
|---|
| 5257 | as_ln_s='cp -p' |
|---|
| 5258 | fi |
|---|
| 5259 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
|---|
| 5260 | rmdir conf$$.dir 2>/dev/null |
|---|
| 5261 | |
|---|
| 5262 | if mkdir -p . 2>/dev/null; then |
|---|
| 5263 | as_mkdir_p=: |
|---|
| 5264 | else |
|---|
| 5265 | test -d ./-p && rmdir ./-p |
|---|
| 5266 | as_mkdir_p=false |
|---|
| 5267 | fi |
|---|
| 5268 | |
|---|
| 5269 | if test -x / >/dev/null 2>&1; then |
|---|
| 5270 | as_test_x='test -x' |
|---|
| 5271 | else |
|---|
| 5272 | if ls -dL / >/dev/null 2>&1; then |
|---|
| 5273 | as_ls_L_option=L |
|---|
| 5274 | else |
|---|
| 5275 | as_ls_L_option= |
|---|
| 5276 | fi |
|---|
| 5277 | as_test_x=' |
|---|
| 5278 | eval sh -c '\'' |
|---|
| 5279 | if test -d "$1"; then |
|---|
| 5280 | test -d "$1/."; |
|---|
| 5281 | else |
|---|
| 5282 | case $1 in |
|---|
| 5283 | -*)set "./$1";; |
|---|
| 5284 | esac; |
|---|
| 5285 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in |
|---|
| 5286 | ???[sx]*):;;*)false;;esac;fi |
|---|
| 5287 | '\'' sh |
|---|
| 5288 | ' |
|---|
| 5289 | fi |
|---|
| 5290 | as_executable_p=$as_test_x |
|---|
| 5291 | |
|---|
| 5292 | # Sed expression to map a string onto a valid CPP name. |
|---|
| 5293 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
|---|
| 5294 | |
|---|
| 5295 | # Sed expression to map a string onto a valid variable name. |
|---|
| 5296 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
|---|
| 5297 | |
|---|
| 5298 | |
|---|
| 5299 | exec 6>&1 |
|---|
| 5300 | |
|---|
| 5301 | # Save the log message, to keep $[0] and so on meaningful, and to |
|---|
| 5302 | # report actual input values of CONFIG_FILES etc. instead of their |
|---|
| 5303 | # values after options handling. |
|---|
| 5304 | ac_log=" |
|---|
| 5305 | This file was extended by $as_me, which was |
|---|
| 5306 | generated by GNU Autoconf 2.61. Invocation command line was |
|---|
| 5307 | |
|---|
| 5308 | CONFIG_FILES = $CONFIG_FILES |
|---|
| 5309 | CONFIG_HEADERS = $CONFIG_HEADERS |
|---|
| 5310 | CONFIG_LINKS = $CONFIG_LINKS |
|---|
| 5311 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
|---|
| 5312 | $ $0 $@ |
|---|
| 5313 | |
|---|
| 5314 | on `(hostname || uname -n) 2>/dev/null | sed 1q` |
|---|
| 5315 | " |
|---|
| 5316 | |
|---|
| 5317 | _ACEOF |
|---|
| 5318 | |
|---|
| 5319 | cat >>$CONFIG_STATUS <<_ACEOF |
|---|
| 5320 | # Files that config.status was made for. |
|---|
| 5321 | config_files="$ac_config_files" |
|---|
| 5322 | config_headers="$ac_config_headers" |
|---|
| 5323 | |
|---|
| 5324 | _ACEOF |
|---|
| 5325 | |
|---|
| 5326 | cat >>$CONFIG_STATUS <<\_ACEOF |
|---|
| 5327 | ac_cs_usage="\ |
|---|
| 5328 | \`$as_me' instantiates files from templates according to the |
|---|
| 5329 | current configuration. |
|---|
| 5330 | |
|---|
| 5331 | Usage: $0 [OPTIONS] [FILE]... |
|---|
| 5332 | |
|---|
| 5333 | -h, --help print this help, then exit |
|---|
| 5334 | -V, --version print version number and configuration settings, then exit |
|---|
| 5335 | -q, --quiet do not print progress messages |
|---|
| 5336 | -d, --debug don't remove temporary files |
|---|
| 5337 | --recheck update $as_me by reconfiguring in the same conditions |
|---|
| 5338 | --file=FILE[:TEMPLATE] |
|---|
| 5339 | instantiate the configuration file FILE |
|---|
| 5340 | --header=FILE[:TEMPLATE] |
|---|
| 5341 | instantiate the configuration header FILE |
|---|
| 5342 | |
|---|
| 5343 | Configuration files: |
|---|
| 5344 | $config_files |
|---|
| 5345 | |
|---|
| 5346 | Configuration headers: |
|---|
| 5347 | $config_headers |
|---|
| 5348 | |
|---|
| 5349 | Report bugs to <bug-autoconf@gnu.org>." |
|---|
| 5350 | |
|---|
| 5351 | _ACEOF |
|---|
| 5352 | cat >>$CONFIG_STATUS <<_ACEOF |
|---|
| 5353 | ac_cs_version="\\ |
|---|
| 5354 | config.status |
|---|
| 5355 | configured by $0, generated by GNU Autoconf 2.61, |
|---|
| 5356 | with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" |
|---|
| 5357 | |
|---|
| 5358 | Copyright (C) 2006 Free Software Foundation, Inc. |
|---|
| 5359 | This config.status script is free software; the Free Software Foundation |
|---|
| 5360 | gives unlimited permission to copy, distribute and modify it." |
|---|
| 5361 | |
|---|
| 5362 | ac_pwd='$ac_pwd' |
|---|
| 5363 | srcdir='$srcdir' |
|---|
| 5364 | INSTALL='$INSTALL' |
|---|
| 5365 | _ACEOF |
|---|
| 5366 | |
|---|
| 5367 | cat >>$CONFIG_STATUS <<\_ACEOF |
|---|
| 5368 | # If no file are specified by the user, then we need to provide default |
|---|
| 5369 | # value. By we need to know if files were specified by the user. |
|---|
| 5370 | ac_need_defaults=: |
|---|
| 5371 | while test $# != 0 |
|---|
| 5372 | do |
|---|
| 5373 | case $1 in |
|---|
| 5374 | --*=*) |
|---|
| 5375 | ac_option=`expr "X$1" : 'X\([^=]*\)='` |
|---|
| 5376 | ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
|---|
| 5377 | ac_shift=: |
|---|
| 5378 | ;; |
|---|
| 5379 | *) |
|---|
| 5380 | ac_option=$1 |
|---|
| 5381 | ac_optarg=$2 |
|---|
| 5382 | ac_shift=shift |
|---|
| 5383 | ;; |
|---|
| 5384 | esac |
|---|
| 5385 | |
|---|
| 5386 | case $ac_option in |
|---|
| 5387 | # Handling of the options. |
|---|
| 5388 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
|---|
| 5389 | ac_cs_recheck=: ;; |
|---|
| 5390 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
|---|
| 5391 | echo "$ac_cs_version"; exit ;; |
|---|
| 5392 | --debug | --debu | --deb | --de | --d | -d ) |
|---|
| 5393 | debug=: ;; |
|---|
| 5394 | --file | --fil | --fi | --f ) |
|---|
| 5395 | $ac_shift |
|---|
| 5396 | CONFIG_FILES="$CONFIG_FILES $ac_optarg" |
|---|
| 5397 | ac_need_defaults=false;; |
|---|
| 5398 | --header | --heade | --head | --hea ) |
|---|
| 5399 | $ac_shift |
|---|
| 5400 | CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" |
|---|
| 5401 | ac_need_defaults=false;; |
|---|
| 5402 | --he | --h) |
|---|
| 5403 | # Conflict between --help and --header |
|---|
| 5404 | { echo "$as_me: error: ambiguous option: $1 |
|---|
| 5405 | Try \`$0 --help' for more information." >&2 |
|---|
| 5406 | { (exit 1); exit 1; }; };; |
|---|
| 5407 | --help | --hel | -h ) |
|---|
| 5408 | echo "$ac_cs_usage"; exit ;; |
|---|
| 5409 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
|---|
| 5410 | | -silent | --silent | --silen | --sile | --sil | --si | --s) |
|---|
| 5411 | ac_cs_silent=: ;; |
|---|
| 5412 | |
|---|
| 5413 | # This is an error. |
|---|
| 5414 | -*) { echo "$as_me: error: unrecognized option: $1 |
|---|
| 5415 | Try \`$0 --help' for more information." >&2 |
|---|
| 5416 | { (exit 1); exit 1; }; } ;; |
|---|
| 5417 | |
|---|
| 5418 | *) ac_config_targets="$ac_config_targets $1" |
|---|
| 5419 | ac_need_defaults=false ;; |
|---|
| 5420 | |
|---|
| 5421 | esac |
|---|
| 5422 | shift |
|---|
| 5423 | done |
|---|
| 5424 | |
|---|
| 5425 | ac_configure_extra_args= |
|---|
| 5426 | |
|---|
| 5427 | if $ac_cs_silent; then |
|---|
| 5428 | exec 6>/dev/null |
|---|
| 5429 | ac_configure_extra_args="$ac_configure_extra_args --silent" |
|---|
| 5430 | fi |
|---|
| 5431 | |
|---|
| 5432 | _ACEOF |
|---|
| 5433 | cat >>$CONFIG_STATUS <<_ACEOF |
|---|
| 5434 | if \$ac_cs_recheck; then |
|---|
| 5435 | echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 |
|---|
| 5436 | CONFIG_SHELL=$SHELL |
|---|
| 5437 | export CONFIG_SHELL |
|---|
| 5438 | exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
|---|
| 5439 | fi |
|---|
| 5440 | |
|---|
| 5441 | _ACEOF |
|---|
| 5442 | cat >>$CONFIG_STATUS <<\_ACEOF |
|---|
| 5443 | exec 5>>config.log |
|---|
| 5444 | { |
|---|
| 5445 | echo |
|---|
| 5446 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
|---|
| 5447 | ## Running $as_me. ## |
|---|
| 5448 | _ASBOX |
|---|
| 5449 | echo "$ac_log" |
|---|
| 5450 | } >&5 |
|---|
| 5451 | |
|---|
| 5452 | _ACEOF |
|---|
| 5453 | cat >>$CONFIG_STATUS <<_ACEOF |
|---|
| 5454 | _ACEOF |
|---|
| 5455 | |
|---|
| 5456 | cat >>$CONFIG_STATUS <<\_ACEOF |
|---|
| 5457 | |
|---|
| 5458 | # Handling of arguments. |
|---|
| 5459 | for ac_config_target in $ac_config_targets |
|---|
| 5460 | do |
|---|
| 5461 | case $ac_config_target in |
|---|
| 5462 | "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; |
|---|
| 5463 | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
|---|
| 5464 | |
|---|
| 5465 | *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
|---|
| 5466 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
|---|
| 5467 | { (exit 1); exit 1; }; };; |
|---|
| 5468 | esac |
|---|
| 5469 | done |
|---|
| 5470 | |
|---|
| 5471 | |
|---|
| 5472 | # If the user did not use the arguments to specify the items to instantiate, |
|---|
| 5473 | # then the envvar interface is used. Set only those that are not. |
|---|
| 5474 | # We use the long form for the default assignment because of an extremely |
|---|
| 5475 | # bizarre bug on SunOS 4.1.3. |
|---|
| 5476 | if $ac_need_defaults; then |
|---|
| 5477 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files |
|---|
| 5478 | test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers |
|---|
| 5479 | fi |
|---|
| 5480 | |
|---|
| 5481 | # Have a temporary directory for convenience. Make it in the build tree |
|---|
| 5482 | # simply because there is no reason against having it here, and in addition, |
|---|
| 5483 | # creating and moving files from /tmp can sometimes cause problems. |
|---|
| 5484 | # Hook for its removal unless debugging. |
|---|
| 5485 | # Note that there is a small window in which the directory will not be cleaned: |
|---|
| 5486 | # after its creation but before its name has been assigned to `$tmp'. |
|---|
| 5487 | $debug || |
|---|
| 5488 | { |
|---|
| 5489 | tmp= |
|---|
| 5490 | trap 'exit_status=$? |
|---|
| 5491 | { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status |
|---|
| 5492 | ' 0 |
|---|
| 5493 | trap '{ (exit 1); exit 1; }' 1 2 13 15 |
|---|
| 5494 | } |
|---|
| 5495 | # Create a (secure) tmp directory for tmp files. |
|---|
| 5496 | |
|---|
| 5497 | { |
|---|
| 5498 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
|---|
| 5499 | test -n "$tmp" && test -d "$tmp" |
|---|
| 5500 | } || |
|---|
| 5501 | { |
|---|
| 5502 | tmp=./conf$$-$RANDOM |
|---|
| 5503 | (umask 077 && mkdir "$tmp") |
|---|
| 5504 | } || |
|---|
| 5505 | { |
|---|
| 5506 | echo "$me: cannot create a temporary directory in ." >&2 |
|---|
| 5507 | { (exit 1); exit 1; } |
|---|
| 5508 | } |
|---|
| 5509 | |
|---|
| 5510 | # |
|---|
| 5511 | # Set up the sed scripts for CONFIG_FILES section. |
|---|
| 5512 | # |
|---|
| 5513 | |
|---|
| 5514 | # No need to generate the scripts if there are no CONFIG_FILES. |
|---|
| 5515 | # This happens for instance when ./config.status config.h |
|---|
| 5516 | if test -n "$CONFIG_FILES"; then |
|---|
| 5517 | |
|---|
| 5518 | _ACEOF |
|---|
| 5519 | |
|---|
| 5520 | |
|---|
| 5521 | |
|---|
| 5522 | ac_delim='%!_!# ' |
|---|
| 5523 | for ac_last_try in false false false false false :; do |
|---|
| 5524 | cat >conf$$subs.sed <<_ACEOF |
|---|
| 5525 | SHELL!$SHELL$ac_delim |
|---|
| 5526 | PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim |
|---|
| 5527 | PACKAGE_NAME!$PACKAGE_NAME$ac_delim |
|---|
| 5528 | PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim |
|---|
| 5529 | PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim |
|---|
| 5530 | PACKAGE_STRING!$PACKAGE_STRING$ac_delim |
|---|
| 5531 | PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim |
|---|
| 5532 | exec_prefix!$exec_prefix$ac_delim |
|---|
| 5533 | prefix!$prefix$ac_delim |
|---|
| 5534 | program_transform_name!$program_transform_name$ac_delim |
|---|
| 5535 | bindir!$bindir$ac_delim |
|---|
| 5536 | sbindir!$sbindir$ac_delim |
|---|
| 5537 | libexecdir!$libexecdir$ac_delim |
|---|
| 5538 | datarootdir!$datarootdir$ac_delim |
|---|
| 5539 | datadir!$datadir$ac_delim |
|---|
| 5540 | sysconfdir!$sysconfdir$ac_delim |
|---|
| 5541 | sharedstatedir!$sharedstatedir$ac_delim |
|---|
| 5542 | localstatedir!$localstatedir$ac_delim |
|---|
| 5543 | includedir!$includedir$ac_delim |
|---|
| 5544 | oldincludedir!$oldincludedir$ac_delim |
|---|
| 5545 | docdir!$docdir$ac_delim |
|---|
| 5546 | infodir!$infodir$ac_delim |
|---|
| 5547 | htmldir!$htmldir$ac_delim |
|---|
| 5548 | dvidir!$dvidir$ac_delim |
|---|
| 5549 | pdfdir!$pdfdir$ac_delim |
|---|
| 5550 | psdir!$psdir$ac_delim |
|---|
| 5551 | libdir!$libdir$ac_delim |
|---|
| 5552 | localedir!$localedir$ac_delim |
|---|
| 5553 | mandir!$mandir$ac_delim |
|---|
| 5554 | DEFS!$DEFS$ac_delim |
|---|
| 5555 | ECHO_C!$ECHO_C$ac_delim |
|---|
| 5556 | ECHO_N!$ECHO_N$ac_delim |
|---|
| 5557 | ECHO_T!$ECHO_T$ac_delim |
|---|
| 5558 | LIBS!$LIBS$ac_delim |
|---|
| 5559 | build_alias!$build_alias$ac_delim |
|---|
| 5560 | host_alias!$host_alias$ac_delim |
|---|
| 5561 | target_alias!$target_alias$ac_delim |
|---|
| 5562 | CC!$CC$ac_delim |
|---|
| 5563 | CFLAGS!$CFLAGS$ac_delim |
|---|
| 5564 | LDFLAGS!$LDFLAGS$ac_delim |
|---|
| 5565 | CPPFLAGS!$CPPFLAGS$ac_delim |
|---|
| 5566 | ac_ct_CC!$ac_ct_CC$ac_delim |
|---|
| 5567 | EXEEXT!$EXEEXT$ac_delim |
|---|
| 5568 | OBJEXT!$OBJEXT$ac_delim |
|---|
| 5569 | CPP!$CPP$ac_delim |
|---|
| 5570 | GREP!$GREP$ac_delim |
|---|
| 5571 | EGREP!$EGREP$ac_delim |
|---|
| 5572 | PKG_CONFIG!$PKG_CONFIG$ac_delim |
|---|
| 5573 | GLIB_CFLAGS!$GLIB_CFLAGS$ac_delim |
|---|
| 5574 | GLIB_LIBS!$GLIB_LIBS$ac_delim |
|---|
| 5575 | XSUBPPDIR!$XSUBPPDIR$ac_delim |
|---|
| 5576 | XSUBPPFLAGS!$XSUBPPFLAGS$ac_delim |
|---|
| 5577 | ATHSTATIC!$ATHSTATIC$ac_delim |
|---|
| 5578 | INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim |
|---|
| 5579 | INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim |
|---|
| 5580 | INSTALL_DATA!$INSTALL_DATA$ac_delim |
|---|
| 5581 | subdirs!$subdirs$ac_delim |
|---|
| 5582 | LIBOBJS!$LIBOBJS$ac_delim |
|---|
| 5583 | LTLIBOBJS!$LTLIBOBJS$ac_delim |
|---|
| 5584 | _ACEOF |
|---|
| 5585 | |
|---|
| 5586 | if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 59; then |
|---|
| 5587 | break |
|---|
| 5588 | elif $ac_last_try; then |
|---|
| 5589 | { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
|---|
| 5590 | echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
|---|
| 5591 | { (exit 1); exit 1; }; } |
|---|
| 5592 | else |
|---|
| 5593 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
|---|
| 5594 | fi |
|---|
| 5595 | done |
|---|
| 5596 | |
|---|
| 5597 | ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` |
|---|
| 5598 | if test -n "$ac_eof"; then |
|---|
| 5599 | ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` |
|---|
| 5600 | ac_eof=`expr $ac_eof + 1` |
|---|
| 5601 | fi |
|---|
| 5602 | |
|---|
| 5603 | cat >>$CONFIG_STATUS <<_ACEOF |
|---|
| 5604 | cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof |
|---|
| 5605 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end |
|---|
| 5606 | _ACEOF |
|---|
| 5607 | sed ' |
|---|
| 5608 | s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g |
|---|
| 5609 | s/^/s,@/; s/!/@,|#_!!_#|/ |
|---|
| 5610 | :n |
|---|
| 5611 | t n |
|---|
| 5612 | s/'"$ac_delim"'$/,g/; t |
|---|
| 5613 | s/$/\\/; p |
|---|
| 5614 | N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n |
|---|
| 5615 | ' >>$CONFIG_STATUS <conf$$subs.sed |
|---|
| 5616 | rm -f conf$$subs.sed |
|---|
| 5617 | cat >>$CONFIG_STATUS <<_ACEOF |
|---|
| 5618 | :end |
|---|
| 5619 | s/|#_!!_#|//g |
|---|
| 5620 | CEOF$ac_eof |
|---|
| 5621 | _ACEOF |
|---|
| 5622 | |
|---|
| 5623 | |
|---|
| 5624 | # VPATH may cause trouble with some makes, so we remove $(srcdir), |
|---|
| 5625 | # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and |
|---|
| 5626 | # trailing colons and then remove the whole line if VPATH becomes empty |
|---|
| 5627 | # (actually we leave an empty line to preserve line numbers). |
|---|
| 5628 | if test "x$srcdir" = x.; then |
|---|
| 5629 | ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
|---|
| 5630 | s/:*\$(srcdir):*/:/ |
|---|
| 5631 | s/:*\${srcdir}:*/:/ |
|---|
| 5632 | s/:*@srcdir@:*/:/ |
|---|
| 5633 | s/^\([^=]*=[ ]*\):*/\1/ |
|---|
| 5634 | s/:*$// |
|---|
| 5635 | s/^[^=]*=[ ]*$// |
|---|
| 5636 | }' |
|---|
| 5637 | fi |
|---|
| 5638 | |
|---|
| 5639 | cat >>$CONFIG_STATUS <<\_ACEOF |
|---|
| 5640 | fi # test -n "$CONFIG_FILES" |
|---|
| 5641 | |
|---|
| 5642 | |
|---|
| 5643 | for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS |
|---|
| 5644 | do |
|---|
| 5645 | case $ac_tag in |
|---|
| 5646 | :[FHLC]) ac_mode=$ac_tag; continue;; |
|---|
| 5647 | esac |
|---|
| 5648 | case $ac_mode$ac_tag in |
|---|
| 5649 | :[FHL]*:*);; |
|---|
| 5650 | :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 |
|---|
| 5651 | echo "$as_me: error: Invalid tag $ac_tag." >&2;} |
|---|
| 5652 | { (exit 1); exit 1; }; };; |
|---|
| 5653 | :[FH]-) ac_tag=-:-;; |
|---|
| 5654 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
|---|
| 5655 | esac |
|---|
| 5656 | ac_save_IFS=$IFS |
|---|
| 5657 | IFS=: |
|---|
| 5658 | set x $ac_tag |
|---|
| 5659 | IFS=$ac_save_IFS |
|---|
| 5660 | shift |
|---|
| 5661 | ac_file=$1 |
|---|
| 5662 | shift |
|---|
| 5663 | |
|---|
| 5664 | case $ac_mode in |
|---|
| 5665 | :L) ac_source=$1;; |
|---|
| 5666 | :[FH]) |
|---|
| 5667 | ac_file_inputs= |
|---|
| 5668 | for ac_f |
|---|
| 5669 | do |
|---|
| 5670 | case $ac_f in |
|---|
| 5671 | -) ac_f="$tmp/stdin";; |
|---|
| 5672 | *) # Look for the file first in the build tree, then in the source tree |
|---|
| 5673 | # (if the path is not absolute). The absolute path cannot be DOS-style, |
|---|
| 5674 | # because $ac_f cannot contain `:'. |
|---|
| 5675 | test -f "$ac_f" || |
|---|
| 5676 | case $ac_f in |
|---|
| 5677 | [\\/$]*) false;; |
|---|
| 5678 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
|---|
| 5679 | esac || |
|---|
| 5680 | { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 |
|---|
| 5681 | echo "$as_me: error: cannot find input file: $ac_f" >&2;} |
|---|
| 5682 | { (exit 1); exit 1; }; };; |
|---|
| 5683 | esac |
|---|
| 5684 | ac_file_inputs="$ac_file_inputs $ac_f" |
|---|
| 5685 | done |
|---|
| 5686 | |
|---|
| 5687 | # Let's still pretend it is `configure' which instantiates (i.e., don't |
|---|
| 5688 | # use $as_me), people would be surprised to read: |
|---|
| 5689 | # /* config.h. Generated by config.status. */ |
|---|
| 5690 | configure_input="Generated from "`IFS=: |
|---|
| 5691 | echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." |
|---|
| 5692 | if test x"$ac_file" != x-; then |
|---|
| 5693 | configure_input="$ac_file. $configure_input" |
|---|
| 5694 | { echo "$as_me:$LINENO: creating $ac_file" >&5 |
|---|
| 5695 | echo "$as_me: creating $ac_file" >&6;} |
|---|
| 5696 | fi |
|---|
| 5697 | |
|---|
| 5698 | case $ac_tag in |
|---|
| 5699 | *:-:* | *:-) cat >"$tmp/stdin";; |
|---|
| 5700 | esac |
|---|
| 5701 | ;; |
|---|
| 5702 | esac |
|---|
| 5703 | |
|---|
| 5704 | ac_dir=`$as_dirname -- "$ac_file" || |
|---|
| 5705 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|---|
| 5706 | X"$ac_file" : 'X\(//\)[^/]' \| \ |
|---|
| 5707 | X"$ac_file" : 'X\(//\)$' \| \ |
|---|
| 5708 | X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || |
|---|
| 5709 | echo X"$ac_file" | |
|---|
| 5710 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|---|
| 5711 | s//\1/ |
|---|
| 5712 | q |
|---|
| 5713 | } |
|---|
| 5714 | /^X\(\/\/\)[^/].*/{ |
|---|
| 5715 | s//\1/ |
|---|
| 5716 | q |
|---|
| 5717 | } |
|---|
| 5718 | /^X\(\/\/\)$/{ |
|---|
| 5719 | s//\1/ |
|---|
| 5720 | q |
|---|
| 5721 | } |
|---|
| 5722 | /^X\(\/\).*/{ |
|---|
| 5723 | s//\1/ |
|---|
| 5724 | q |
|---|
| 5725 | } |
|---|
| 5726 | s/.*/./; q'` |
|---|
| 5727 | { as_dir="$ac_dir" |
|---|
| 5728 | case $as_dir in #( |
|---|
| 5729 | -*) as_dir=./$as_dir;; |
|---|
| 5730 | esac |
|---|
| 5731 | test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { |
|---|
| 5732 | as_dirs= |
|---|
| 5733 | while :; do |
|---|
| 5734 | case $as_dir in #( |
|---|
| 5735 | *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( |
|---|
| 5736 | *) as_qdir=$as_dir;; |
|---|
| 5737 | esac |
|---|
| 5738 | as_dirs="'$as_qdir' $as_dirs" |
|---|
| 5739 | as_dir=`$as_dirname -- "$as_dir" || |
|---|
| 5740 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|---|
| 5741 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
|---|
| 5742 | X"$as_dir" : 'X\(//\)$' \| \ |
|---|
| 5743 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
|---|
| 5744 | echo X"$as_dir" | |
|---|
| 5745 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|---|
| 5746 | s//\1/ |
|---|
| 5747 | q |
|---|
| 5748 | } |
|---|
| 5749 | /^X\(\/\/\)[^/].*/{ |
|---|
| 5750 | s//\1/ |
|---|
| 5751 | q |
|---|
| 5752 | } |
|---|
| 5753 | /^X\(\/\/\)$/{ |
|---|
| 5754 | s//\1/ |
|---|
| 5755 | q |
|---|
| 5756 | } |
|---|
| 5757 | /^X\(\/\).*/{ |
|---|
| 5758 | s//\1/ |
|---|
| 5759 | q |
|---|
| 5760 | } |
|---|
| 5761 | s/.*/./; q'` |
|---|
| 5762 | test -d "$as_dir" && break |
|---|
| 5763 | done |
|---|
| 5764 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
|---|
| 5765 | } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 |
|---|
| 5766 | echo "$as_me: error: cannot create directory $as_dir" >&2;} |
|---|
| 5767 | { (exit 1); exit 1; }; }; } |
|---|
| 5768 | ac_builddir=. |
|---|
| 5769 | |
|---|
| 5770 | case "$ac_dir" in |
|---|
| 5771 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
|---|
| 5772 | *) |
|---|
| 5773 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
|---|
| 5774 | # A ".." for each directory in $ac_dir_suffix. |
|---|
| 5775 | ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` |
|---|
| 5776 | case $ac_top_builddir_sub in |
|---|
| 5777 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
|---|
| 5778 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
|---|
| 5779 | esac ;; |
|---|
| 5780 | esac |
|---|
| 5781 | ac_abs_top_builddir=$ac_pwd |
|---|
| 5782 | ac_abs_builddir=$ac_pwd$ac_dir_suffix |
|---|
| 5783 | # for backward compatibility: |
|---|
| 5784 | ac_top_builddir=$ac_top_build_prefix |
|---|
| 5785 | |
|---|
| 5786 | case $srcdir in |
|---|
| 5787 | .) # We are building in place. |
|---|
| 5788 | ac_srcdir=. |
|---|
| 5789 | ac_top_srcdir=$ac_top_builddir_sub |
|---|
| 5790 | ac_abs_top_srcdir=$ac_pwd ;; |
|---|
| 5791 | [\\/]* | ?:[\\/]* ) # Absolute name. |
|---|
| 5792 | ac_srcdir=$srcdir$ac_dir_suffix; |
|---|
| 5793 | ac_top_srcdir=$srcdir |
|---|
| 5794 | ac_abs_top_srcdir=$srcdir ;; |
|---|
| 5795 | *) # Relative name. |
|---|
| 5796 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
|---|
| 5797 | ac_top_srcdir=$ac_top_build_prefix$srcdir |
|---|
| 5798 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
|---|
| 5799 | esac |
|---|
| 5800 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
|---|
| 5801 | |
|---|
| 5802 | |
|---|
| 5803 | case $ac_mode in |
|---|
| 5804 | :F) |
|---|
| 5805 | # |
|---|
| 5806 | # CONFIG_FILE |
|---|
| 5807 | # |
|---|
| 5808 | |
|---|
| 5809 | case $INSTALL in |
|---|
| 5810 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
|---|
| 5811 | *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; |
|---|
| 5812 | esac |
|---|
| 5813 | _ACEOF |
|---|
| 5814 | |
|---|
| 5815 | cat >>$CONFIG_STATUS <<\_ACEOF |
|---|
| 5816 | # If the template does not know about datarootdir, expand it. |
|---|
| 5817 | # FIXME: This hack should be removed a few years after 2.60. |
|---|
| 5818 | ac_datarootdir_hack=; ac_datarootdir_seen= |
|---|
| 5819 | |
|---|
| 5820 | case `sed -n '/datarootdir/ { |
|---|
| 5821 | p |
|---|
| 5822 | q |
|---|
| 5823 | } |
|---|
| 5824 | /@datadir@/p |
|---|
| 5825 | /@docdir@/p |
|---|
| 5826 | /@infodir@/p |
|---|
| 5827 | /@localedir@/p |
|---|
| 5828 | /@mandir@/p |
|---|
| 5829 | ' $ac_file_inputs` in |
|---|
| 5830 | *datarootdir*) ac_datarootdir_seen=yes;; |
|---|
| 5831 | *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
|---|
| 5832 | { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
|---|
| 5833 | echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
|---|
| 5834 | _ACEOF |
|---|
| 5835 | cat >>$CONFIG_STATUS <<_ACEOF |
|---|
| 5836 | ac_datarootdir_hack=' |
|---|
| 5837 | s&@datadir@&$datadir&g |
|---|
| 5838 | s&@docdir@&$docdir&g |
|---|
| 5839 | s&@infodir@&$infodir&g |
|---|
| 5840 | s&@localedir@&$localedir&g |
|---|
| 5841 | s&@mandir@&$mandir&g |
|---|
| 5842 | s&\\\${datarootdir}&$datarootdir&g' ;; |
|---|
| 5843 | esac |
|---|
| 5844 | _ACEOF |
|---|
| 5845 | |
|---|
| 5846 | # Neutralize VPATH when `$srcdir' = `.'. |
|---|
| 5847 | # Shell code in configure.ac might set extrasub. |
|---|
| 5848 | # FIXME: do we really want to maintain this feature? |
|---|
| 5849 | cat >>$CONFIG_STATUS <<_ACEOF |
|---|
| 5850 | sed "$ac_vpsub |
|---|
| 5851 | $extrasub |
|---|
| 5852 | _ACEOF |
|---|
| 5853 | cat >>$CONFIG_STATUS <<\_ACEOF |
|---|
| 5854 | :t |
|---|
| 5855 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
|---|
| 5856 | s&@configure_input@&$configure_input&;t t |
|---|
| 5857 | s&@top_builddir@&$ac_top_builddir_sub&;t t |
|---|
| 5858 | s&@srcdir@&$ac_srcdir&;t t |
|---|
| 5859 | s&@abs_srcdir@&$ac_abs_srcdir&;t t |
|---|
| 5860 | s&@top_srcdir@&$ac_top_srcdir&;t t |
|---|
| 5861 | s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t |
|---|
| 5862 | s&@builddir@&$ac_builddir&;t t |
|---|
| 5863 | s&@abs_builddir@&$ac_abs_builddir&;t t |
|---|
| 5864 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
|---|
| 5865 | s&@INSTALL@&$ac_INSTALL&;t t |
|---|
| 5866 | $ac_datarootdir_hack |
|---|
| 5867 | " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out |
|---|
| 5868 | |
|---|
| 5869 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
|---|
| 5870 | { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && |
|---|
| 5871 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && |
|---|
| 5872 | { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
|---|
| 5873 | which seems to be undefined. Please make sure it is defined." >&5 |
|---|
| 5874 | echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
|---|
| 5875 | which seems to be undefined. Please make sure it is defined." >&2;} |
|---|
| 5876 | |
|---|
| 5877 | rm -f "$tmp/stdin" |
|---|
| 5878 | case $ac_file in |
|---|
| 5879 | -) cat "$tmp/out"; rm -f "$tmp/out";; |
|---|
| 5880 | *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; |
|---|
| 5881 | esac |
|---|
| 5882 | ;; |
|---|
| 5883 | :H) |
|---|
| 5884 | # |
|---|
| 5885 | # CONFIG_HEADER |
|---|
| 5886 | # |
|---|
| 5887 | _ACEOF |
|---|
| 5888 | |
|---|
| 5889 | # Transform confdefs.h into a sed script `conftest.defines', that |
|---|
| 5890 | # substitutes the proper values into config.h.in to produce config.h. |
|---|
| 5891 | rm -f conftest.defines conftest.tail |
|---|
| 5892 | # First, append a space to every undef/define line, to ease matching. |
|---|
| 5893 | echo 's/$/ /' >conftest.defines |
|---|
| 5894 | # Then, protect against being on the right side of a sed subst, or in |
|---|
| 5895 | # an unquoted here document, in config.status. If some macros were |
|---|
| 5896 | # called several times there might be several #defines for the same |
|---|
| 5897 | # symbol, which is useless. But do not sort them, since the last |
|---|
| 5898 | # AC_DEFINE must be honored. |
|---|
| 5899 | ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* |
|---|
| 5900 | # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where |
|---|
| 5901 | # NAME is the cpp macro being defined, VALUE is the value it is being given. |
|---|
| 5902 | # PARAMS is the parameter list in the macro definition--in most cases, it's |
|---|
| 5903 | # just an empty string. |
|---|
| 5904 | ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*' |
|---|
| 5905 | ac_dB='\\)[ (].*,\\1define\\2' |
|---|
| 5906 | ac_dC=' ' |
|---|
| 5907 | ac_dD=' ,' |
|---|
| 5908 | |
|---|
| 5909 | uniq confdefs.h | |
|---|
| 5910 | sed -n ' |
|---|
| 5911 | t rset |
|---|
| 5912 | :rset |
|---|
| 5913 | s/^[ ]*#[ ]*define[ ][ ]*// |
|---|
| 5914 | t ok |
|---|
| 5915 | d |
|---|
| 5916 | :ok |
|---|
| 5917 | s/[\\&,]/\\&/g |
|---|
| 5918 | s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p |
|---|
| 5919 | s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p |
|---|
| 5920 | ' >>conftest.defines |
|---|
| 5921 | |
|---|
| 5922 | # Remove the space that was appended to ease matching. |
|---|
| 5923 | # Then replace #undef with comments. This is necessary, for |
|---|
| 5924 | # example, in the case of _POSIX_SOURCE, which is predefined and required |
|---|
| 5925 | # on some systems where configure will not decide to define it. |
|---|
| 5926 | # (The regexp can be short, since the line contains either #define or #undef.) |
|---|
| 5927 | echo 's/ $// |
|---|
| 5928 | s,^[ #]*u.*,/* & */,' >>conftest.defines |
|---|
| 5929 | |
|---|
| 5930 | # Break up conftest.defines: |
|---|
| 5931 | ac_max_sed_lines=50 |
|---|
| 5932 | |
|---|
| 5933 | # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1" |
|---|
| 5934 | # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2" |
|---|
| 5935 | # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1" |
|---|
| 5936 | # et cetera. |
|---|
| 5937 | ac_in='$ac_file_inputs' |
|---|
| 5938 | ac_out='"$tmp/out1"' |
|---|
| 5939 | ac_nxt='"$tmp/out2"' |
|---|
| 5940 | |
|---|
| 5941 | while : |
|---|
| 5942 | do |
|---|
| 5943 | # Write a here document: |
|---|
| 5944 | cat >>$CONFIG_STATUS <<_ACEOF |
|---|
| 5945 | # First, check the format of the line: |
|---|
| 5946 | cat >"\$tmp/defines.sed" <<\\CEOF |
|---|
| 5947 | /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def |
|---|
| 5948 | /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def |
|---|
| 5949 | b |
|---|
| 5950 | :def |
|---|
| 5951 | _ACEOF |
|---|
| 5952 | sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS |
|---|
| 5953 | echo 'CEOF |
|---|
| 5954 | sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS |
|---|
| 5955 | ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in |
|---|
| 5956 | sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail |
|---|
| 5957 | grep . conftest.tail >/dev/null || break |
|---|
| 5958 | rm -f conftest.defines |
|---|
| 5959 | mv conftest.tail conftest.defines |
|---|
| 5960 | done |
|---|
| 5961 | rm -f conftest.defines conftest.tail |
|---|
| 5962 | |
|---|
| 5963 | echo "ac_result=$ac_in" >>$CONFIG_STATUS |
|---|
| 5964 | cat >>$CONFIG_STATUS <<\_ACEOF |
|---|
| 5965 | if test x"$ac_file" != x-; then |
|---|
| 5966 | echo "/* $configure_input */" >"$tmp/config.h" |
|---|
| 5967 | cat "$ac_result" >>"$tmp/config.h" |
|---|
| 5968 | if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then |
|---|
| 5969 | { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 |
|---|
| 5970 | echo "$as_me: $ac_file is unchanged" >&6;} |
|---|
| 5971 | else |
|---|
| 5972 | rm -f $ac_file |
|---|
| 5973 | mv "$tmp/config.h" $ac_file |
|---|
| 5974 | fi |
|---|
| 5975 | else |
|---|
| 5976 | echo "/* $configure_input */" |
|---|
| 5977 | cat "$ac_result" |
|---|
| 5978 | fi |
|---|
| 5979 | rm -f "$tmp/out12" |
|---|
| 5980 | ;; |
|---|
| 5981 | |
|---|
| 5982 | |
|---|
| 5983 | esac |
|---|
| 5984 | |
|---|
| 5985 | done # for ac_tag |
|---|
| 5986 | |
|---|
| 5987 | |
|---|
| 5988 | { (exit 0); exit 0; } |
|---|
| 5989 | _ACEOF |
|---|
| 5990 | chmod +x $CONFIG_STATUS |
|---|
| 5991 | ac_clean_files=$ac_clean_files_save |
|---|
| 5992 | |
|---|
| 5993 | |
|---|
| 5994 | # configure is writing to config.log, and then calls config.status. |
|---|
| 5995 | # config.status does its own redirection, appending to config.log. |
|---|
| 5996 | # Unfortunately, on DOS this fails, as config.log is still kept open |
|---|
| 5997 | # by configure, so config.status won't be able to write to it; its |
|---|
| 5998 | # output is simply discarded. So we exec the FD to /dev/null, |
|---|
| 5999 | # effectively closing config.log, so it can be properly (re)opened and |
|---|
| 6000 | # appended to by config.status. When coming back to configure, we |
|---|
| 6001 | # need to make the FD available again. |
|---|
| 6002 | if test "$no_create" != yes; then |
|---|
| 6003 | ac_cs_success=: |
|---|
| 6004 | ac_config_status_args= |
|---|
| 6005 | test "$silent" = yes && |
|---|
| 6006 | ac_config_status_args="$ac_config_status_args --quiet" |
|---|
| 6007 | exec 5>/dev/null |
|---|
| 6008 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
|---|
| 6009 | exec 5>>config.log |
|---|
| 6010 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
|---|
| 6011 | # would make configure fail if this is the last instruction. |
|---|
| 6012 | $ac_cs_success || { (exit 1); exit 1; } |
|---|
| 6013 | fi |
|---|
| 6014 | |
|---|
| 6015 | # |
|---|
| 6016 | # CONFIG_SUBDIRS section. |
|---|
| 6017 | # |
|---|
| 6018 | if test "$no_recursion" != yes; then |
|---|
| 6019 | |
|---|
| 6020 | # Remove --cache-file and --srcdir arguments so they do not pile up. |
|---|
| 6021 | ac_sub_configure_args= |
|---|
| 6022 | ac_prev= |
|---|
| 6023 | eval "set x $ac_configure_args" |
|---|
| 6024 | shift |
|---|
| 6025 | for ac_arg |
|---|
| 6026 | do |
|---|
| 6027 | if test -n "$ac_prev"; then |
|---|
| 6028 | ac_prev= |
|---|
| 6029 | continue |
|---|
| 6030 | fi |
|---|
| 6031 | case $ac_arg in |
|---|
| 6032 | -cache-file | --cache-file | --cache-fil | --cache-fi \ |
|---|
| 6033 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
|---|
| 6034 | ac_prev=cache_file ;; |
|---|
| 6035 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
|---|
| 6036 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \ |
|---|
| 6037 | | --c=*) |
|---|
| 6038 | ;; |
|---|
| 6039 | --config-cache | -C) |
|---|
| 6040 | ;; |
|---|
| 6041 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
|---|
| 6042 | ac_prev=srcdir ;; |
|---|
| 6043 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
|---|
| 6044 | ;; |
|---|
| 6045 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
|---|
| 6046 | ac_prev=prefix ;; |
|---|
| 6047 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
|---|
| 6048 | ;; |
|---|
| 6049 | *) |
|---|
| 6050 | case $ac_arg in |
|---|
| 6051 | *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
|---|
| 6052 | esac |
|---|
| 6053 | ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;; |
|---|
| 6054 | esac |
|---|
| 6055 | done |
|---|
| 6056 | |
|---|
| 6057 | # Always prepend --prefix to ensure using the same prefix |
|---|
| 6058 | # in subdir configurations. |
|---|
| 6059 | ac_arg="--prefix=$prefix" |
|---|
| 6060 | case $ac_arg in |
|---|
| 6061 | *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
|---|
| 6062 | esac |
|---|
| 6063 | ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args" |
|---|
| 6064 | |
|---|
| 6065 | # Pass --silent |
|---|
| 6066 | if test "$silent" = yes; then |
|---|
| 6067 | ac_sub_configure_args="--silent $ac_sub_configure_args" |
|---|
| 6068 | fi |
|---|
| 6069 | |
|---|
| 6070 | ac_popdir=`pwd` |
|---|
| 6071 | for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue |
|---|
| 6072 | |
|---|
| 6073 | # Do not complain, so a configure script can configure whichever |
|---|
| 6074 | # parts of a large source tree are present. |
|---|
| 6075 | test -d "$srcdir/$ac_dir" || continue |
|---|
| 6076 | |
|---|
| 6077 | ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)" |
|---|
| 6078 | echo "$as_me:$LINENO: $ac_msg" >&5 |
|---|
| 6079 | echo "$ac_msg" >&6 |
|---|
| 6080 | { as_dir="$ac_dir" |
|---|
| 6081 | case $as_dir in #( |
|---|
| 6082 | -*) as_dir=./$as_dir;; |
|---|
| 6083 | esac |
|---|
| 6084 | test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { |
|---|
| 6085 | as_dirs= |
|---|
| 6086 | while :; do |
|---|
| 6087 | case $as_dir in #( |
|---|
| 6088 | *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( |
|---|
| 6089 | *) as_qdir=$as_dir;; |
|---|
| 6090 | esac |
|---|
| 6091 | as_dirs="'$as_qdir' $as_dirs" |
|---|
| 6092 | as_dir=`$as_dirname -- "$as_dir" || |
|---|
| 6093 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|---|
| 6094 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
|---|
| 6095 | X"$as_dir" : 'X\(//\)$' \| \ |
|---|
| 6096 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
|---|
| 6097 | echo X"$as_dir" | |
|---|
| 6098 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|---|
| 6099 | s//\1/ |
|---|
| 6100 | q |
|---|
| 6101 | } |
|---|
| 6102 | /^X\(\/\/\)[^/].*/{ |
|---|
| 6103 | s//\1/ |
|---|
| 6104 | q |
|---|
| 6105 | } |
|---|
| 6106 | /^X\(\/\/\)$/{ |
|---|
| 6107 | s//\1/ |
|---|
| 6108 | q |
|---|
| 6109 | } |
|---|
| 6110 | /^X\(\/\).*/{ |
|---|
| 6111 | s//\1/ |
|---|
| 6112 | q |
|---|
| 6113 | } |
|---|
| 6114 | s/.*/./; q'` |
|---|
| 6115 | test -d "$as_dir" && break |
|---|
| 6116 | done |
|---|
| 6117 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
|---|
| 6118 | } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 |
|---|
| 6119 | echo "$as_me: error: cannot create directory $as_dir" >&2;} |
|---|
| 6120 | { (exit 1); exit 1; }; }; } |
|---|
| 6121 | ac_builddir=. |
|---|
| 6122 | |
|---|
| 6123 | case "$ac_dir" in |
|---|
| 6124 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
|---|
| 6125 | *) |
|---|
| 6126 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
|---|
| 6127 | # A ".." for each directory in $ac_dir_suffix. |
|---|
| 6128 | ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` |
|---|
| 6129 | case $ac_top_builddir_sub in |
|---|
| 6130 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
|---|
| 6131 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
|---|
| 6132 | esac ;; |
|---|
| 6133 | esac |
|---|
| 6134 | ac_abs_top_builddir=$ac_pwd |
|---|
| 6135 | ac_abs_builddir=$ac_pwd$ac_dir_suffix |
|---|
| 6136 | # for backward compatibility: |
|---|
| 6137 | ac_top_builddir=$ac_top_build_prefix |
|---|
| 6138 | |
|---|
| 6139 | case $srcdir in |
|---|
| 6140 | .) # We are building in place. |
|---|
| 6141 | ac_srcdir=. |
|---|
| 6142 | ac_top_srcdir=$ac_top_builddir_sub |
|---|
| 6143 | ac_abs_top_srcdir=$ac_pwd ;; |
|---|
| 6144 | [\\/]* | ?:[\\/]* ) # Absolute name. |
|---|
| 6145 | ac_srcdir=$srcdir$ac_dir_suffix; |
|---|
| 6146 | ac_top_srcdir=$srcdir |
|---|
| 6147 | ac_abs_top_srcdir=$srcdir ;; |
|---|
| 6148 | *) # Relative name. |
|---|
| 6149 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
|---|
| 6150 | ac_top_srcdir=$ac_top_build_prefix$srcdir |
|---|
| 6151 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
|---|
| 6152 | esac |
|---|
| 6153 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
|---|
| 6154 | |
|---|
| 6155 | |
|---|
| 6156 | cd "$ac_dir" |
|---|
| 6157 | |
|---|
| 6158 | # Check for guested configure; otherwise get Cygnus style configure. |
|---|
| 6159 | if test -f "$ac_srcdir/configure.gnu"; then |
|---|
| 6160 | ac_sub_configure=$ac_srcdir/configure.gnu |
|---|
| 6161 | elif test -f "$ac_srcdir/configure"; then |
|---|
| 6162 | ac_sub_configure=$ac_srcdir/configure |
|---|
| 6163 | elif test -f "$ac_srcdir/configure.in"; then |
|---|
| 6164 | # This should be Cygnus configure. |
|---|
| 6165 | ac_sub_configure=$ac_aux_dir/configure |
|---|
| 6166 | else |
|---|
| 6167 | { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5 |
|---|
| 6168 | echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} |
|---|
| 6169 | ac_sub_configure= |
|---|
| 6170 | fi |
|---|
| 6171 | |
|---|
| 6172 | # The recursion is here. |
|---|
| 6173 | if test -n "$ac_sub_configure"; then |
|---|
| 6174 | # Make the cache file name correct relative to the subdirectory. |
|---|
| 6175 | case $cache_file in |
|---|
| 6176 | [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;; |
|---|
| 6177 | *) # Relative name. |
|---|
| 6178 | ac_sub_cache_file=$ac_top_build_prefix$cache_file ;; |
|---|
| 6179 | esac |
|---|
| 6180 | |
|---|
| 6181 | { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5 |
|---|
| 6182 | echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} |
|---|
| 6183 | # The eval makes quoting arguments work. |
|---|
| 6184 | eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \ |
|---|
| 6185 | --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" || |
|---|
| 6186 | { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5 |
|---|
| 6187 | echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;} |
|---|
| 6188 | { (exit 1); exit 1; }; } |
|---|
| 6189 | fi |
|---|
| 6190 | |
|---|
| 6191 | cd "$ac_popdir" |
|---|
| 6192 | done |
|---|
| 6193 | fi |
|---|
| 6194 | |
|---|