Annotation of OpenXM/src/oxmgraph/configure, Revision 1.1
1.1 ! takayama 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="graph.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: RANLIB
! 661: MYTARGET
! 662: CPP
! 663: GREP
! 664: EGREP
! 665: MYTARGET2
! 666: build
! 667: build_cpu
! 668: build_vendor
! 669: build_os
! 670: host
! 671: host_cpu
! 672: host_vendor
! 673: host_os
! 674: target
! 675: target_cpu
! 676: target_vendor
! 677: target_os
! 678: CFLAG2
! 679: LFLAG2
! 680: LIBOBJS
! 681: LTLIBOBJS'
! 682: ac_subst_files=''
! 683: ac_precious_vars='build_alias
! 684: host_alias
! 685: target_alias
! 686: CC
! 687: CFLAGS
! 688: LDFLAGS
! 689: LIBS
! 690: CPPFLAGS
! 691: CPP'
! 692:
! 693:
! 694: # Initialize some variables set by options.
! 695: ac_init_help=
! 696: ac_init_version=false
! 697: # The variables have the same names as the options, with
! 698: # dashes changed to underlines.
! 699: cache_file=/dev/null
! 700: exec_prefix=NONE
! 701: no_create=
! 702: no_recursion=
! 703: prefix=NONE
! 704: program_prefix=NONE
! 705: program_suffix=NONE
! 706: program_transform_name=s,x,x,
! 707: silent=
! 708: site=
! 709: srcdir=
! 710: verbose=
! 711: x_includes=NONE
! 712: x_libraries=NONE
! 713:
! 714: # Installation directory options.
! 715: # These are left unexpanded so users can "make install exec_prefix=/foo"
! 716: # and all the variables that are supposed to be based on exec_prefix
! 717: # by default will actually change.
! 718: # Use braces instead of parens because sh, perl, etc. also accept them.
! 719: # (The list follows the same order as the GNU Coding Standards.)
! 720: bindir='${exec_prefix}/bin'
! 721: sbindir='${exec_prefix}/sbin'
! 722: libexecdir='${exec_prefix}/libexec'
! 723: datarootdir='${prefix}/share'
! 724: datadir='${datarootdir}'
! 725: sysconfdir='${prefix}/etc'
! 726: sharedstatedir='${prefix}/com'
! 727: localstatedir='${prefix}/var'
! 728: includedir='${prefix}/include'
! 729: oldincludedir='/usr/include'
! 730: docdir='${datarootdir}/doc/${PACKAGE}'
! 731: infodir='${datarootdir}/info'
! 732: htmldir='${docdir}'
! 733: dvidir='${docdir}'
! 734: pdfdir='${docdir}'
! 735: psdir='${docdir}'
! 736: libdir='${exec_prefix}/lib'
! 737: localedir='${datarootdir}/locale'
! 738: mandir='${datarootdir}/man'
! 739:
! 740: ac_prev=
! 741: ac_dashdash=
! 742: for ac_option
! 743: do
! 744: # If the previous option needs an argument, assign it.
! 745: if test -n "$ac_prev"; then
! 746: eval $ac_prev=\$ac_option
! 747: ac_prev=
! 748: continue
! 749: fi
! 750:
! 751: case $ac_option in
! 752: *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
! 753: *) ac_optarg=yes ;;
! 754: esac
! 755:
! 756: # Accept the important Cygnus configure options, so we can diagnose typos.
! 757:
! 758: case $ac_dashdash$ac_option in
! 759: --)
! 760: ac_dashdash=yes ;;
! 761:
! 762: -bindir | --bindir | --bindi | --bind | --bin | --bi)
! 763: ac_prev=bindir ;;
! 764: -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
! 765: bindir=$ac_optarg ;;
! 766:
! 767: -build | --build | --buil | --bui | --bu)
! 768: ac_prev=build_alias ;;
! 769: -build=* | --build=* | --buil=* | --bui=* | --bu=*)
! 770: build_alias=$ac_optarg ;;
! 771:
! 772: -cache-file | --cache-file | --cache-fil | --cache-fi \
! 773: | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
! 774: ac_prev=cache_file ;;
! 775: -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
! 776: | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
! 777: cache_file=$ac_optarg ;;
! 778:
! 779: --config-cache | -C)
! 780: cache_file=config.cache ;;
! 781:
! 782: -datadir | --datadir | --datadi | --datad)
! 783: ac_prev=datadir ;;
! 784: -datadir=* | --datadir=* | --datadi=* | --datad=*)
! 785: datadir=$ac_optarg ;;
! 786:
! 787: -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
! 788: | --dataroo | --dataro | --datar)
! 789: ac_prev=datarootdir ;;
! 790: -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
! 791: | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
! 792: datarootdir=$ac_optarg ;;
! 793:
! 794: -disable-* | --disable-*)
! 795: ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
! 796: # Reject names that are not valid shell variable names.
! 797: expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
! 798: { echo "$as_me: error: invalid feature name: $ac_feature" >&2
! 799: { (exit 1); exit 1; }; }
! 800: ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
! 801: eval enable_$ac_feature=no ;;
! 802:
! 803: -docdir | --docdir | --docdi | --doc | --do)
! 804: ac_prev=docdir ;;
! 805: -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
! 806: docdir=$ac_optarg ;;
! 807:
! 808: -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
! 809: ac_prev=dvidir ;;
! 810: -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
! 811: dvidir=$ac_optarg ;;
! 812:
! 813: -enable-* | --enable-*)
! 814: ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
! 815: # Reject names that are not valid shell variable names.
! 816: expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
! 817: { echo "$as_me: error: invalid feature name: $ac_feature" >&2
! 818: { (exit 1); exit 1; }; }
! 819: ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
! 820: eval enable_$ac_feature=\$ac_optarg ;;
! 821:
! 822: -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
! 823: | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
! 824: | --exec | --exe | --ex)
! 825: ac_prev=exec_prefix ;;
! 826: -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
! 827: | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
! 828: | --exec=* | --exe=* | --ex=*)
! 829: exec_prefix=$ac_optarg ;;
! 830:
! 831: -gas | --gas | --ga | --g)
! 832: # Obsolete; use --with-gas.
! 833: with_gas=yes ;;
! 834:
! 835: -help | --help | --hel | --he | -h)
! 836: ac_init_help=long ;;
! 837: -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
! 838: ac_init_help=recursive ;;
! 839: -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
! 840: ac_init_help=short ;;
! 841:
! 842: -host | --host | --hos | --ho)
! 843: ac_prev=host_alias ;;
! 844: -host=* | --host=* | --hos=* | --ho=*)
! 845: host_alias=$ac_optarg ;;
! 846:
! 847: -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
! 848: ac_prev=htmldir ;;
! 849: -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
! 850: | --ht=*)
! 851: htmldir=$ac_optarg ;;
! 852:
! 853: -includedir | --includedir | --includedi | --included | --include \
! 854: | --includ | --inclu | --incl | --inc)
! 855: ac_prev=includedir ;;
! 856: -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
! 857: | --includ=* | --inclu=* | --incl=* | --inc=*)
! 858: includedir=$ac_optarg ;;
! 859:
! 860: -infodir | --infodir | --infodi | --infod | --info | --inf)
! 861: ac_prev=infodir ;;
! 862: -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
! 863: infodir=$ac_optarg ;;
! 864:
! 865: -libdir | --libdir | --libdi | --libd)
! 866: ac_prev=libdir ;;
! 867: -libdir=* | --libdir=* | --libdi=* | --libd=*)
! 868: libdir=$ac_optarg ;;
! 869:
! 870: -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
! 871: | --libexe | --libex | --libe)
! 872: ac_prev=libexecdir ;;
! 873: -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
! 874: | --libexe=* | --libex=* | --libe=*)
! 875: libexecdir=$ac_optarg ;;
! 876:
! 877: -localedir | --localedir | --localedi | --localed | --locale)
! 878: ac_prev=localedir ;;
! 879: -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
! 880: localedir=$ac_optarg ;;
! 881:
! 882: -localstatedir | --localstatedir | --localstatedi | --localstated \
! 883: | --localstate | --localstat | --localsta | --localst | --locals)
! 884: ac_prev=localstatedir ;;
! 885: -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
! 886: | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
! 887: localstatedir=$ac_optarg ;;
! 888:
! 889: -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
! 890: ac_prev=mandir ;;
! 891: -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
! 892: mandir=$ac_optarg ;;
! 893:
! 894: -nfp | --nfp | --nf)
! 895: # Obsolete; use --without-fp.
! 896: with_fp=no ;;
! 897:
! 898: -no-create | --no-create | --no-creat | --no-crea | --no-cre \
! 899: | --no-cr | --no-c | -n)
! 900: no_create=yes ;;
! 901:
! 902: -no-recursion | --no-recursion | --no-recursio | --no-recursi \
! 903: | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
! 904: no_recursion=yes ;;
! 905:
! 906: -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
! 907: | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
! 908: | --oldin | --oldi | --old | --ol | --o)
! 909: ac_prev=oldincludedir ;;
! 910: -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
! 911: | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
! 912: | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
! 913: oldincludedir=$ac_optarg ;;
! 914:
! 915: -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
! 916: ac_prev=prefix ;;
! 917: -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
! 918: prefix=$ac_optarg ;;
! 919:
! 920: -program-prefix | --program-prefix | --program-prefi | --program-pref \
! 921: | --program-pre | --program-pr | --program-p)
! 922: ac_prev=program_prefix ;;
! 923: -program-prefix=* | --program-prefix=* | --program-prefi=* \
! 924: | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
! 925: program_prefix=$ac_optarg ;;
! 926:
! 927: -program-suffix | --program-suffix | --program-suffi | --program-suff \
! 928: | --program-suf | --program-su | --program-s)
! 929: ac_prev=program_suffix ;;
! 930: -program-suffix=* | --program-suffix=* | --program-suffi=* \
! 931: | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
! 932: program_suffix=$ac_optarg ;;
! 933:
! 934: -program-transform-name | --program-transform-name \
! 935: | --program-transform-nam | --program-transform-na \
! 936: | --program-transform-n | --program-transform- \
! 937: | --program-transform | --program-transfor \
! 938: | --program-transfo | --program-transf \
! 939: | --program-trans | --program-tran \
! 940: | --progr-tra | --program-tr | --program-t)
! 941: ac_prev=program_transform_name ;;
! 942: -program-transform-name=* | --program-transform-name=* \
! 943: | --program-transform-nam=* | --program-transform-na=* \
! 944: | --program-transform-n=* | --program-transform-=* \
! 945: | --program-transform=* | --program-transfor=* \
! 946: | --program-transfo=* | --program-transf=* \
! 947: | --program-trans=* | --program-tran=* \
! 948: | --progr-tra=* | --program-tr=* | --program-t=*)
! 949: program_transform_name=$ac_optarg ;;
! 950:
! 951: -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
! 952: ac_prev=pdfdir ;;
! 953: -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
! 954: pdfdir=$ac_optarg ;;
! 955:
! 956: -psdir | --psdir | --psdi | --psd | --ps)
! 957: ac_prev=psdir ;;
! 958: -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
! 959: psdir=$ac_optarg ;;
! 960:
! 961: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
! 962: | -silent | --silent | --silen | --sile | --sil)
! 963: silent=yes ;;
! 964:
! 965: -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
! 966: ac_prev=sbindir ;;
! 967: -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
! 968: | --sbi=* | --sb=*)
! 969: sbindir=$ac_optarg ;;
! 970:
! 971: -sharedstatedir | --sharedstatedir | --sharedstatedi \
! 972: | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
! 973: | --sharedst | --shareds | --shared | --share | --shar \
! 974: | --sha | --sh)
! 975: ac_prev=sharedstatedir ;;
! 976: -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
! 977: | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
! 978: | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
! 979: | --sha=* | --sh=*)
! 980: sharedstatedir=$ac_optarg ;;
! 981:
! 982: -site | --site | --sit)
! 983: ac_prev=site ;;
! 984: -site=* | --site=* | --sit=*)
! 985: site=$ac_optarg ;;
! 986:
! 987: -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
! 988: ac_prev=srcdir ;;
! 989: -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
! 990: srcdir=$ac_optarg ;;
! 991:
! 992: -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
! 993: | --syscon | --sysco | --sysc | --sys | --sy)
! 994: ac_prev=sysconfdir ;;
! 995: -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
! 996: | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
! 997: sysconfdir=$ac_optarg ;;
! 998:
! 999: -target | --target | --targe | --targ | --tar | --ta | --t)
! 1000: ac_prev=target_alias ;;
! 1001: -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
! 1002: target_alias=$ac_optarg ;;
! 1003:
! 1004: -v | -verbose | --verbose | --verbos | --verbo | --verb)
! 1005: verbose=yes ;;
! 1006:
! 1007: -version | --version | --versio | --versi | --vers | -V)
! 1008: ac_init_version=: ;;
! 1009:
! 1010: -with-* | --with-*)
! 1011: ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
! 1012: # Reject names that are not valid shell variable names.
! 1013: expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
! 1014: { echo "$as_me: error: invalid package name: $ac_package" >&2
! 1015: { (exit 1); exit 1; }; }
! 1016: ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
! 1017: eval with_$ac_package=\$ac_optarg ;;
! 1018:
! 1019: -without-* | --without-*)
! 1020: ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
! 1021: # Reject names that are not valid shell variable names.
! 1022: expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
! 1023: { echo "$as_me: error: invalid package name: $ac_package" >&2
! 1024: { (exit 1); exit 1; }; }
! 1025: ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
! 1026: eval with_$ac_package=no ;;
! 1027:
! 1028: --x)
! 1029: # Obsolete; use --with-x.
! 1030: with_x=yes ;;
! 1031:
! 1032: -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
! 1033: | --x-incl | --x-inc | --x-in | --x-i)
! 1034: ac_prev=x_includes ;;
! 1035: -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
! 1036: | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
! 1037: x_includes=$ac_optarg ;;
! 1038:
! 1039: -x-libraries | --x-libraries | --x-librarie | --x-librari \
! 1040: | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
! 1041: ac_prev=x_libraries ;;
! 1042: -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
! 1043: | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
! 1044: x_libraries=$ac_optarg ;;
! 1045:
! 1046: -*) { echo "$as_me: error: unrecognized option: $ac_option
! 1047: Try \`$0 --help' for more information." >&2
! 1048: { (exit 1); exit 1; }; }
! 1049: ;;
! 1050:
! 1051: *=*)
! 1052: ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
! 1053: # Reject names that are not valid shell variable names.
! 1054: expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
! 1055: { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
! 1056: { (exit 1); exit 1; }; }
! 1057: eval $ac_envvar=\$ac_optarg
! 1058: export $ac_envvar ;;
! 1059:
! 1060: *)
! 1061: # FIXME: should be removed in autoconf 3.0.
! 1062: echo "$as_me: WARNING: you should use --build, --host, --target" >&2
! 1063: expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
! 1064: echo "$as_me: WARNING: invalid host type: $ac_option" >&2
! 1065: : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
! 1066: ;;
! 1067:
! 1068: esac
! 1069: done
! 1070:
! 1071: if test -n "$ac_prev"; then
! 1072: ac_option=--`echo $ac_prev | sed 's/_/-/g'`
! 1073: { echo "$as_me: error: missing argument to $ac_option" >&2
! 1074: { (exit 1); exit 1; }; }
! 1075: fi
! 1076:
! 1077: # Be sure to have absolute directory names.
! 1078: for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
! 1079: datadir sysconfdir sharedstatedir localstatedir includedir \
! 1080: oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
! 1081: libdir localedir mandir
! 1082: do
! 1083: eval ac_val=\$$ac_var
! 1084: case $ac_val in
! 1085: [\\/$]* | ?:[\\/]* ) continue;;
! 1086: NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
! 1087: esac
! 1088: { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
! 1089: { (exit 1); exit 1; }; }
! 1090: done
! 1091:
! 1092: # There might be people who depend on the old broken behavior: `$host'
! 1093: # used to hold the argument of --host etc.
! 1094: # FIXME: To remove some day.
! 1095: build=$build_alias
! 1096: host=$host_alias
! 1097: target=$target_alias
! 1098:
! 1099: # FIXME: To remove some day.
! 1100: if test "x$host_alias" != x; then
! 1101: if test "x$build_alias" = x; then
! 1102: cross_compiling=maybe
! 1103: echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
! 1104: If a cross compiler is detected then cross compile mode will be used." >&2
! 1105: elif test "x$build_alias" != "x$host_alias"; then
! 1106: cross_compiling=yes
! 1107: fi
! 1108: fi
! 1109:
! 1110: ac_tool_prefix=
! 1111: test -n "$host_alias" && ac_tool_prefix=$host_alias-
! 1112:
! 1113: test "$silent" = yes && exec 6>/dev/null
! 1114:
! 1115:
! 1116: ac_pwd=`pwd` && test -n "$ac_pwd" &&
! 1117: ac_ls_di=`ls -di .` &&
! 1118: ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
! 1119: { echo "$as_me: error: Working directory cannot be determined" >&2
! 1120: { (exit 1); exit 1; }; }
! 1121: test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
! 1122: { echo "$as_me: error: pwd does not report name of working directory" >&2
! 1123: { (exit 1); exit 1; }; }
! 1124:
! 1125:
! 1126: # Find the source files, if location was not specified.
! 1127: if test -z "$srcdir"; then
! 1128: ac_srcdir_defaulted=yes
! 1129: # Try the directory containing this script, then the parent directory.
! 1130: ac_confdir=`$as_dirname -- "$0" ||
! 1131: $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 1132: X"$0" : 'X\(//\)[^/]' \| \
! 1133: X"$0" : 'X\(//\)$' \| \
! 1134: X"$0" : 'X\(/\)' \| . 2>/dev/null ||
! 1135: echo X"$0" |
! 1136: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
! 1137: s//\1/
! 1138: q
! 1139: }
! 1140: /^X\(\/\/\)[^/].*/{
! 1141: s//\1/
! 1142: q
! 1143: }
! 1144: /^X\(\/\/\)$/{
! 1145: s//\1/
! 1146: q
! 1147: }
! 1148: /^X\(\/\).*/{
! 1149: s//\1/
! 1150: q
! 1151: }
! 1152: s/.*/./; q'`
! 1153: srcdir=$ac_confdir
! 1154: if test ! -r "$srcdir/$ac_unique_file"; then
! 1155: srcdir=..
! 1156: fi
! 1157: else
! 1158: ac_srcdir_defaulted=no
! 1159: fi
! 1160: if test ! -r "$srcdir/$ac_unique_file"; then
! 1161: test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
! 1162: { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
! 1163: { (exit 1); exit 1; }; }
! 1164: fi
! 1165: ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
! 1166: ac_abs_confdir=`(
! 1167: cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
! 1168: { (exit 1); exit 1; }; }
! 1169: pwd)`
! 1170: # When building in place, set srcdir=.
! 1171: if test "$ac_abs_confdir" = "$ac_pwd"; then
! 1172: srcdir=.
! 1173: fi
! 1174: # Remove unnecessary trailing slashes from srcdir.
! 1175: # Double slashes in file names in object file debugging info
! 1176: # mess up M-x gdb in Emacs.
! 1177: case $srcdir in
! 1178: */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
! 1179: esac
! 1180: for ac_var in $ac_precious_vars; do
! 1181: eval ac_env_${ac_var}_set=\${${ac_var}+set}
! 1182: eval ac_env_${ac_var}_value=\$${ac_var}
! 1183: eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
! 1184: eval ac_cv_env_${ac_var}_value=\$${ac_var}
! 1185: done
! 1186:
! 1187: #
! 1188: # Report the --help message.
! 1189: #
! 1190: if test "$ac_init_help" = "long"; then
! 1191: # Omit some internal or obsolete options to make the list less imposing.
! 1192: # This message is too long to be a string in the A/UX 3.1 sh.
! 1193: cat <<_ACEOF
! 1194: \`configure' configures this package to adapt to many kinds of systems.
! 1195:
! 1196: Usage: $0 [OPTION]... [VAR=VALUE]...
! 1197:
! 1198: To assign environment variables (e.g., CC, CFLAGS...), specify them as
! 1199: VAR=VALUE. See below for descriptions of some of the useful variables.
! 1200:
! 1201: Defaults for the options are specified in brackets.
! 1202:
! 1203: Configuration:
! 1204: -h, --help display this help and exit
! 1205: --help=short display options specific to this package
! 1206: --help=recursive display the short help of all the included packages
! 1207: -V, --version display version information and exit
! 1208: -q, --quiet, --silent do not print \`checking...' messages
! 1209: --cache-file=FILE cache test results in FILE [disabled]
! 1210: -C, --config-cache alias for \`--cache-file=config.cache'
! 1211: -n, --no-create do not create output files
! 1212: --srcdir=DIR find the sources in DIR [configure dir or \`..']
! 1213:
! 1214: Installation directories:
! 1215: --prefix=PREFIX install architecture-independent files in PREFIX
! 1216: [$ac_default_prefix]
! 1217: --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
! 1218: [PREFIX]
! 1219:
! 1220: By default, \`make install' will install all the files in
! 1221: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
! 1222: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
! 1223: for instance \`--prefix=\$HOME'.
! 1224:
! 1225: For better control, use the options below.
! 1226:
! 1227: Fine tuning of the installation directories:
! 1228: --bindir=DIR user executables [EPREFIX/bin]
! 1229: --sbindir=DIR system admin executables [EPREFIX/sbin]
! 1230: --libexecdir=DIR program executables [EPREFIX/libexec]
! 1231: --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
! 1232: --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
! 1233: --localstatedir=DIR modifiable single-machine data [PREFIX/var]
! 1234: --libdir=DIR object code libraries [EPREFIX/lib]
! 1235: --includedir=DIR C header files [PREFIX/include]
! 1236: --oldincludedir=DIR C header files for non-gcc [/usr/include]
! 1237: --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
! 1238: --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
! 1239: --infodir=DIR info documentation [DATAROOTDIR/info]
! 1240: --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
! 1241: --mandir=DIR man documentation [DATAROOTDIR/man]
! 1242: --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
! 1243: --htmldir=DIR html documentation [DOCDIR]
! 1244: --dvidir=DIR dvi documentation [DOCDIR]
! 1245: --pdfdir=DIR pdf documentation [DOCDIR]
! 1246: --psdir=DIR ps documentation [DOCDIR]
! 1247: _ACEOF
! 1248:
! 1249: cat <<\_ACEOF
! 1250:
! 1251: System types:
! 1252: --build=BUILD configure for building on BUILD [guessed]
! 1253: --host=HOST cross-compile to build programs to run on HOST [BUILD]
! 1254: --target=TARGET configure for building compilers for TARGET [HOST]
! 1255: _ACEOF
! 1256: fi
! 1257:
! 1258: if test -n "$ac_init_help"; then
! 1259:
! 1260: cat <<\_ACEOF
! 1261:
! 1262: Some influential environment variables:
! 1263: CC C compiler command
! 1264: CFLAGS C compiler flags
! 1265: LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
! 1266: nonstandard directory <lib dir>
! 1267: LIBS libraries to pass to the linker, e.g. -l<library>
! 1268: CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
! 1269: you have headers in a nonstandard directory <include dir>
! 1270: CPP C preprocessor
! 1271:
! 1272: Use these variables to override the choices made by `configure' or to help
! 1273: it to find libraries and programs with nonstandard names/locations.
! 1274:
! 1275: _ACEOF
! 1276: ac_status=$?
! 1277: fi
! 1278:
! 1279: if test "$ac_init_help" = "recursive"; then
! 1280: # If there are subdirs, report their specific --help.
! 1281: for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
! 1282: test -d "$ac_dir" || continue
! 1283: ac_builddir=.
! 1284:
! 1285: case "$ac_dir" in
! 1286: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
! 1287: *)
! 1288: ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
! 1289: # A ".." for each directory in $ac_dir_suffix.
! 1290: ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
! 1291: case $ac_top_builddir_sub in
! 1292: "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
! 1293: *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
! 1294: esac ;;
! 1295: esac
! 1296: ac_abs_top_builddir=$ac_pwd
! 1297: ac_abs_builddir=$ac_pwd$ac_dir_suffix
! 1298: # for backward compatibility:
! 1299: ac_top_builddir=$ac_top_build_prefix
! 1300:
! 1301: case $srcdir in
! 1302: .) # We are building in place.
! 1303: ac_srcdir=.
! 1304: ac_top_srcdir=$ac_top_builddir_sub
! 1305: ac_abs_top_srcdir=$ac_pwd ;;
! 1306: [\\/]* | ?:[\\/]* ) # Absolute name.
! 1307: ac_srcdir=$srcdir$ac_dir_suffix;
! 1308: ac_top_srcdir=$srcdir
! 1309: ac_abs_top_srcdir=$srcdir ;;
! 1310: *) # Relative name.
! 1311: ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
! 1312: ac_top_srcdir=$ac_top_build_prefix$srcdir
! 1313: ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
! 1314: esac
! 1315: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
! 1316:
! 1317: cd "$ac_dir" || { ac_status=$?; continue; }
! 1318: # Check for guested configure.
! 1319: if test -f "$ac_srcdir/configure.gnu"; then
! 1320: echo &&
! 1321: $SHELL "$ac_srcdir/configure.gnu" --help=recursive
! 1322: elif test -f "$ac_srcdir/configure"; then
! 1323: echo &&
! 1324: $SHELL "$ac_srcdir/configure" --help=recursive
! 1325: else
! 1326: echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
! 1327: fi || ac_status=$?
! 1328: cd "$ac_pwd" || { ac_status=$?; break; }
! 1329: done
! 1330: fi
! 1331:
! 1332: test -n "$ac_init_help" && exit $ac_status
! 1333: if $ac_init_version; then
! 1334: cat <<\_ACEOF
! 1335: configure
! 1336: generated by GNU Autoconf 2.61
! 1337:
! 1338: Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
! 1339: 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
! 1340: This configure script is free software; the Free Software Foundation
! 1341: gives unlimited permission to copy, distribute and modify it.
! 1342: _ACEOF
! 1343: exit
! 1344: fi
! 1345: cat >config.log <<_ACEOF
! 1346: This file contains any messages produced by compilers while
! 1347: running configure, to aid debugging if configure makes a mistake.
! 1348:
! 1349: It was created by $as_me, which was
! 1350: generated by GNU Autoconf 2.61. Invocation command line was
! 1351:
! 1352: $ $0 $@
! 1353:
! 1354: _ACEOF
! 1355: exec 5>>config.log
! 1356: {
! 1357: cat <<_ASUNAME
! 1358: ## --------- ##
! 1359: ## Platform. ##
! 1360: ## --------- ##
! 1361:
! 1362: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
! 1363: uname -m = `(uname -m) 2>/dev/null || echo unknown`
! 1364: uname -r = `(uname -r) 2>/dev/null || echo unknown`
! 1365: uname -s = `(uname -s) 2>/dev/null || echo unknown`
! 1366: uname -v = `(uname -v) 2>/dev/null || echo unknown`
! 1367:
! 1368: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
! 1369: /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
! 1370:
! 1371: /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
! 1372: /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
! 1373: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
! 1374: /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
! 1375: /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
! 1376: /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
! 1377: /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
! 1378:
! 1379: _ASUNAME
! 1380:
! 1381: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 1382: for as_dir in $PATH
! 1383: do
! 1384: IFS=$as_save_IFS
! 1385: test -z "$as_dir" && as_dir=.
! 1386: echo "PATH: $as_dir"
! 1387: done
! 1388: IFS=$as_save_IFS
! 1389:
! 1390: } >&5
! 1391:
! 1392: cat >&5 <<_ACEOF
! 1393:
! 1394:
! 1395: ## ----------- ##
! 1396: ## Core tests. ##
! 1397: ## ----------- ##
! 1398:
! 1399: _ACEOF
! 1400:
! 1401:
! 1402: # Keep a trace of the command line.
! 1403: # Strip out --no-create and --no-recursion so they do not pile up.
! 1404: # Strip out --silent because we don't want to record it for future runs.
! 1405: # Also quote any args containing shell meta-characters.
! 1406: # Make two passes to allow for proper duplicate-argument suppression.
! 1407: ac_configure_args=
! 1408: ac_configure_args0=
! 1409: ac_configure_args1=
! 1410: ac_must_keep_next=false
! 1411: for ac_pass in 1 2
! 1412: do
! 1413: for ac_arg
! 1414: do
! 1415: case $ac_arg in
! 1416: -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
! 1417: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
! 1418: | -silent | --silent | --silen | --sile | --sil)
! 1419: continue ;;
! 1420: *\'*)
! 1421: ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
! 1422: esac
! 1423: case $ac_pass in
! 1424: 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
! 1425: 2)
! 1426: ac_configure_args1="$ac_configure_args1 '$ac_arg'"
! 1427: if test $ac_must_keep_next = true; then
! 1428: ac_must_keep_next=false # Got value, back to normal.
! 1429: else
! 1430: case $ac_arg in
! 1431: *=* | --config-cache | -C | -disable-* | --disable-* \
! 1432: | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
! 1433: | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
! 1434: | -with-* | --with-* | -without-* | --without-* | --x)
! 1435: case "$ac_configure_args0 " in
! 1436: "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
! 1437: esac
! 1438: ;;
! 1439: -* ) ac_must_keep_next=true ;;
! 1440: esac
! 1441: fi
! 1442: ac_configure_args="$ac_configure_args '$ac_arg'"
! 1443: ;;
! 1444: esac
! 1445: done
! 1446: done
! 1447: $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
! 1448: $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
! 1449:
! 1450: # When interrupted or exit'd, cleanup temporary files, and complete
! 1451: # config.log. We remove comments because anyway the quotes in there
! 1452: # would cause problems or look ugly.
! 1453: # WARNING: Use '\'' to represent an apostrophe within the trap.
! 1454: # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
! 1455: trap 'exit_status=$?
! 1456: # Save into config.log some information that might help in debugging.
! 1457: {
! 1458: echo
! 1459:
! 1460: cat <<\_ASBOX
! 1461: ## ---------------- ##
! 1462: ## Cache variables. ##
! 1463: ## ---------------- ##
! 1464: _ASBOX
! 1465: echo
! 1466: # The following way of writing the cache mishandles newlines in values,
! 1467: (
! 1468: for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
! 1469: eval ac_val=\$$ac_var
! 1470: case $ac_val in #(
! 1471: *${as_nl}*)
! 1472: case $ac_var in #(
! 1473: *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
! 1474: echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
! 1475: esac
! 1476: case $ac_var in #(
! 1477: _ | IFS | as_nl) ;; #(
! 1478: *) $as_unset $ac_var ;;
! 1479: esac ;;
! 1480: esac
! 1481: done
! 1482: (set) 2>&1 |
! 1483: case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
! 1484: *${as_nl}ac_space=\ *)
! 1485: sed -n \
! 1486: "s/'\''/'\''\\\\'\'''\''/g;
! 1487: s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
! 1488: ;; #(
! 1489: *)
! 1490: sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
! 1491: ;;
! 1492: esac |
! 1493: sort
! 1494: )
! 1495: echo
! 1496:
! 1497: cat <<\_ASBOX
! 1498: ## ----------------- ##
! 1499: ## Output variables. ##
! 1500: ## ----------------- ##
! 1501: _ASBOX
! 1502: echo
! 1503: for ac_var in $ac_subst_vars
! 1504: do
! 1505: eval ac_val=\$$ac_var
! 1506: case $ac_val in
! 1507: *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
! 1508: esac
! 1509: echo "$ac_var='\''$ac_val'\''"
! 1510: done | sort
! 1511: echo
! 1512:
! 1513: if test -n "$ac_subst_files"; then
! 1514: cat <<\_ASBOX
! 1515: ## ------------------- ##
! 1516: ## File substitutions. ##
! 1517: ## ------------------- ##
! 1518: _ASBOX
! 1519: echo
! 1520: for ac_var in $ac_subst_files
! 1521: do
! 1522: eval ac_val=\$$ac_var
! 1523: case $ac_val in
! 1524: *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
! 1525: esac
! 1526: echo "$ac_var='\''$ac_val'\''"
! 1527: done | sort
! 1528: echo
! 1529: fi
! 1530:
! 1531: if test -s confdefs.h; then
! 1532: cat <<\_ASBOX
! 1533: ## ----------- ##
! 1534: ## confdefs.h. ##
! 1535: ## ----------- ##
! 1536: _ASBOX
! 1537: echo
! 1538: cat confdefs.h
! 1539: echo
! 1540: fi
! 1541: test "$ac_signal" != 0 &&
! 1542: echo "$as_me: caught signal $ac_signal"
! 1543: echo "$as_me: exit $exit_status"
! 1544: } >&5
! 1545: rm -f core *.core core.conftest.* &&
! 1546: rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
! 1547: exit $exit_status
! 1548: ' 0
! 1549: for ac_signal in 1 2 13 15; do
! 1550: trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
! 1551: done
! 1552: ac_signal=0
! 1553:
! 1554: # confdefs.h avoids OS command line length limits that DEFS can exceed.
! 1555: rm -f -r conftest* confdefs.h
! 1556:
! 1557: # Predefined preprocessor variables.
! 1558:
! 1559: cat >>confdefs.h <<_ACEOF
! 1560: #define PACKAGE_NAME "$PACKAGE_NAME"
! 1561: _ACEOF
! 1562:
! 1563:
! 1564: cat >>confdefs.h <<_ACEOF
! 1565: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
! 1566: _ACEOF
! 1567:
! 1568:
! 1569: cat >>confdefs.h <<_ACEOF
! 1570: #define PACKAGE_VERSION "$PACKAGE_VERSION"
! 1571: _ACEOF
! 1572:
! 1573:
! 1574: cat >>confdefs.h <<_ACEOF
! 1575: #define PACKAGE_STRING "$PACKAGE_STRING"
! 1576: _ACEOF
! 1577:
! 1578:
! 1579: cat >>confdefs.h <<_ACEOF
! 1580: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
! 1581: _ACEOF
! 1582:
! 1583:
! 1584: # Let the site file select an alternate cache file if it wants to.
! 1585: # Prefer explicitly selected file to automatically selected ones.
! 1586: if test -n "$CONFIG_SITE"; then
! 1587: set x "$CONFIG_SITE"
! 1588: elif test "x$prefix" != xNONE; then
! 1589: set x "$prefix/share/config.site" "$prefix/etc/config.site"
! 1590: else
! 1591: set x "$ac_default_prefix/share/config.site" \
! 1592: "$ac_default_prefix/etc/config.site"
! 1593: fi
! 1594: shift
! 1595: for ac_site_file
! 1596: do
! 1597: if test -r "$ac_site_file"; then
! 1598: { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
! 1599: echo "$as_me: loading site script $ac_site_file" >&6;}
! 1600: sed 's/^/| /' "$ac_site_file" >&5
! 1601: . "$ac_site_file"
! 1602: fi
! 1603: done
! 1604:
! 1605: if test -r "$cache_file"; then
! 1606: # Some versions of bash will fail to source /dev/null (special
! 1607: # files actually), so we avoid doing that.
! 1608: if test -f "$cache_file"; then
! 1609: { echo "$as_me:$LINENO: loading cache $cache_file" >&5
! 1610: echo "$as_me: loading cache $cache_file" >&6;}
! 1611: case $cache_file in
! 1612: [\\/]* | ?:[\\/]* ) . "$cache_file";;
! 1613: *) . "./$cache_file";;
! 1614: esac
! 1615: fi
! 1616: else
! 1617: { echo "$as_me:$LINENO: creating cache $cache_file" >&5
! 1618: echo "$as_me: creating cache $cache_file" >&6;}
! 1619: >$cache_file
! 1620: fi
! 1621:
! 1622: # Check that the precious variables saved in the cache have kept the same
! 1623: # value.
! 1624: ac_cache_corrupted=false
! 1625: for ac_var in $ac_precious_vars; do
! 1626: eval ac_old_set=\$ac_cv_env_${ac_var}_set
! 1627: eval ac_new_set=\$ac_env_${ac_var}_set
! 1628: eval ac_old_val=\$ac_cv_env_${ac_var}_value
! 1629: eval ac_new_val=\$ac_env_${ac_var}_value
! 1630: case $ac_old_set,$ac_new_set in
! 1631: set,)
! 1632: { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
! 1633: echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
! 1634: ac_cache_corrupted=: ;;
! 1635: ,set)
! 1636: { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
! 1637: echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
! 1638: ac_cache_corrupted=: ;;
! 1639: ,);;
! 1640: *)
! 1641: if test "x$ac_old_val" != "x$ac_new_val"; then
! 1642: { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
! 1643: echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
! 1644: { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
! 1645: echo "$as_me: former value: $ac_old_val" >&2;}
! 1646: { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
! 1647: echo "$as_me: current value: $ac_new_val" >&2;}
! 1648: ac_cache_corrupted=:
! 1649: fi;;
! 1650: esac
! 1651: # Pass precious variables to config.status.
! 1652: if test "$ac_new_set" = set; then
! 1653: case $ac_new_val in
! 1654: *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
! 1655: *) ac_arg=$ac_var=$ac_new_val ;;
! 1656: esac
! 1657: case " $ac_configure_args " in
! 1658: *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
! 1659: *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
! 1660: esac
! 1661: fi
! 1662: done
! 1663: if $ac_cache_corrupted; then
! 1664: { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
! 1665: echo "$as_me: error: changes in the environment can compromise the build" >&2;}
! 1666: { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
! 1667: echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
! 1668: { (exit 1); exit 1; }; }
! 1669: fi
! 1670:
! 1671:
! 1672:
! 1673:
! 1674:
! 1675:
! 1676:
! 1677:
! 1678:
! 1679:
! 1680:
! 1681:
! 1682:
! 1683:
! 1684:
! 1685:
! 1686:
! 1687: ac_ext=c
! 1688: ac_cpp='$CPP $CPPFLAGS'
! 1689: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 1690: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 1691: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 1692:
! 1693:
! 1694: ac_ext=c
! 1695: ac_cpp='$CPP $CPPFLAGS'
! 1696: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 1697: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 1698: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 1699: if test -n "$ac_tool_prefix"; then
! 1700: # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
! 1701: set dummy ${ac_tool_prefix}gcc; ac_word=$2
! 1702: { echo "$as_me:$LINENO: checking for $ac_word" >&5
! 1703: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
! 1704: if test "${ac_cv_prog_CC+set}" = set; then
! 1705: echo $ECHO_N "(cached) $ECHO_C" >&6
! 1706: else
! 1707: if test -n "$CC"; then
! 1708: ac_cv_prog_CC="$CC" # Let the user override the test.
! 1709: else
! 1710: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 1711: for as_dir in $PATH
! 1712: do
! 1713: IFS=$as_save_IFS
! 1714: test -z "$as_dir" && as_dir=.
! 1715: for ac_exec_ext in '' $ac_executable_extensions; do
! 1716: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 1717: ac_cv_prog_CC="${ac_tool_prefix}gcc"
! 1718: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 1719: break 2
! 1720: fi
! 1721: done
! 1722: done
! 1723: IFS=$as_save_IFS
! 1724:
! 1725: fi
! 1726: fi
! 1727: CC=$ac_cv_prog_CC
! 1728: if test -n "$CC"; then
! 1729: { echo "$as_me:$LINENO: result: $CC" >&5
! 1730: echo "${ECHO_T}$CC" >&6; }
! 1731: else
! 1732: { echo "$as_me:$LINENO: result: no" >&5
! 1733: echo "${ECHO_T}no" >&6; }
! 1734: fi
! 1735:
! 1736:
! 1737: fi
! 1738: if test -z "$ac_cv_prog_CC"; then
! 1739: ac_ct_CC=$CC
! 1740: # Extract the first word of "gcc", so it can be a program name with args.
! 1741: set dummy gcc; ac_word=$2
! 1742: { echo "$as_me:$LINENO: checking for $ac_word" >&5
! 1743: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
! 1744: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
! 1745: echo $ECHO_N "(cached) $ECHO_C" >&6
! 1746: else
! 1747: if test -n "$ac_ct_CC"; then
! 1748: ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
! 1749: else
! 1750: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 1751: for as_dir in $PATH
! 1752: do
! 1753: IFS=$as_save_IFS
! 1754: test -z "$as_dir" && as_dir=.
! 1755: for ac_exec_ext in '' $ac_executable_extensions; do
! 1756: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 1757: ac_cv_prog_ac_ct_CC="gcc"
! 1758: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 1759: break 2
! 1760: fi
! 1761: done
! 1762: done
! 1763: IFS=$as_save_IFS
! 1764:
! 1765: fi
! 1766: fi
! 1767: ac_ct_CC=$ac_cv_prog_ac_ct_CC
! 1768: if test -n "$ac_ct_CC"; then
! 1769: { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
! 1770: echo "${ECHO_T}$ac_ct_CC" >&6; }
! 1771: else
! 1772: { echo "$as_me:$LINENO: result: no" >&5
! 1773: echo "${ECHO_T}no" >&6; }
! 1774: fi
! 1775:
! 1776: if test "x$ac_ct_CC" = x; then
! 1777: CC=""
! 1778: else
! 1779: case $cross_compiling:$ac_tool_warned in
! 1780: yes:)
! 1781: { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
! 1782: whose name does not start with the host triplet. If you think this
! 1783: configuration is useful to you, please write to autoconf@gnu.org." >&5
! 1784: echo "$as_me: 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." >&2;}
! 1787: ac_tool_warned=yes ;;
! 1788: esac
! 1789: CC=$ac_ct_CC
! 1790: fi
! 1791: else
! 1792: CC="$ac_cv_prog_CC"
! 1793: fi
! 1794:
! 1795: if test -z "$CC"; then
! 1796: if test -n "$ac_tool_prefix"; then
! 1797: # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
! 1798: set dummy ${ac_tool_prefix}cc; ac_word=$2
! 1799: { echo "$as_me:$LINENO: checking for $ac_word" >&5
! 1800: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
! 1801: if test "${ac_cv_prog_CC+set}" = set; then
! 1802: echo $ECHO_N "(cached) $ECHO_C" >&6
! 1803: else
! 1804: if test -n "$CC"; then
! 1805: ac_cv_prog_CC="$CC" # Let the user override the test.
! 1806: else
! 1807: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 1808: for as_dir in $PATH
! 1809: do
! 1810: IFS=$as_save_IFS
! 1811: test -z "$as_dir" && as_dir=.
! 1812: for ac_exec_ext in '' $ac_executable_extensions; do
! 1813: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 1814: ac_cv_prog_CC="${ac_tool_prefix}cc"
! 1815: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 1816: break 2
! 1817: fi
! 1818: done
! 1819: done
! 1820: IFS=$as_save_IFS
! 1821:
! 1822: fi
! 1823: fi
! 1824: CC=$ac_cv_prog_CC
! 1825: if test -n "$CC"; then
! 1826: { echo "$as_me:$LINENO: result: $CC" >&5
! 1827: echo "${ECHO_T}$CC" >&6; }
! 1828: else
! 1829: { echo "$as_me:$LINENO: result: no" >&5
! 1830: echo "${ECHO_T}no" >&6; }
! 1831: fi
! 1832:
! 1833:
! 1834: fi
! 1835: fi
! 1836: if test -z "$CC"; then
! 1837: # Extract the first word of "cc", so it can be a program name with args.
! 1838: set dummy cc; ac_word=$2
! 1839: { echo "$as_me:$LINENO: checking for $ac_word" >&5
! 1840: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
! 1841: if test "${ac_cv_prog_CC+set}" = set; then
! 1842: echo $ECHO_N "(cached) $ECHO_C" >&6
! 1843: else
! 1844: if test -n "$CC"; then
! 1845: ac_cv_prog_CC="$CC" # Let the user override the test.
! 1846: else
! 1847: ac_prog_rejected=no
! 1848: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 1849: for as_dir in $PATH
! 1850: do
! 1851: IFS=$as_save_IFS
! 1852: test -z "$as_dir" && as_dir=.
! 1853: for ac_exec_ext in '' $ac_executable_extensions; do
! 1854: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 1855: if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
! 1856: ac_prog_rejected=yes
! 1857: continue
! 1858: fi
! 1859: ac_cv_prog_CC="cc"
! 1860: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 1861: break 2
! 1862: fi
! 1863: done
! 1864: done
! 1865: IFS=$as_save_IFS
! 1866:
! 1867: if test $ac_prog_rejected = yes; then
! 1868: # We found a bogon in the path, so make sure we never use it.
! 1869: set dummy $ac_cv_prog_CC
! 1870: shift
! 1871: if test $# != 0; then
! 1872: # We chose a different compiler from the bogus one.
! 1873: # However, it has the same basename, so the bogon will be chosen
! 1874: # first if we set CC to just the basename; use the full file name.
! 1875: shift
! 1876: ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
! 1877: fi
! 1878: fi
! 1879: fi
! 1880: fi
! 1881: CC=$ac_cv_prog_CC
! 1882: if test -n "$CC"; then
! 1883: { echo "$as_me:$LINENO: result: $CC" >&5
! 1884: echo "${ECHO_T}$CC" >&6; }
! 1885: else
! 1886: { echo "$as_me:$LINENO: result: no" >&5
! 1887: echo "${ECHO_T}no" >&6; }
! 1888: fi
! 1889:
! 1890:
! 1891: fi
! 1892: if test -z "$CC"; then
! 1893: if test -n "$ac_tool_prefix"; then
! 1894: for ac_prog in cl.exe
! 1895: do
! 1896: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
! 1897: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
! 1898: { echo "$as_me:$LINENO: checking for $ac_word" >&5
! 1899: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
! 1900: if test "${ac_cv_prog_CC+set}" = set; then
! 1901: echo $ECHO_N "(cached) $ECHO_C" >&6
! 1902: else
! 1903: if test -n "$CC"; then
! 1904: ac_cv_prog_CC="$CC" # Let the user override the test.
! 1905: else
! 1906: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 1907: for as_dir in $PATH
! 1908: do
! 1909: IFS=$as_save_IFS
! 1910: test -z "$as_dir" && as_dir=.
! 1911: for ac_exec_ext in '' $ac_executable_extensions; do
! 1912: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 1913: ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
! 1914: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 1915: break 2
! 1916: fi
! 1917: done
! 1918: done
! 1919: IFS=$as_save_IFS
! 1920:
! 1921: fi
! 1922: fi
! 1923: CC=$ac_cv_prog_CC
! 1924: if test -n "$CC"; then
! 1925: { echo "$as_me:$LINENO: result: $CC" >&5
! 1926: echo "${ECHO_T}$CC" >&6; }
! 1927: else
! 1928: { echo "$as_me:$LINENO: result: no" >&5
! 1929: echo "${ECHO_T}no" >&6; }
! 1930: fi
! 1931:
! 1932:
! 1933: test -n "$CC" && break
! 1934: done
! 1935: fi
! 1936: if test -z "$CC"; then
! 1937: ac_ct_CC=$CC
! 1938: for ac_prog in cl.exe
! 1939: do
! 1940: # Extract the first word of "$ac_prog", so it can be a program name with args.
! 1941: set dummy $ac_prog; ac_word=$2
! 1942: { echo "$as_me:$LINENO: checking for $ac_word" >&5
! 1943: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
! 1944: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
! 1945: echo $ECHO_N "(cached) $ECHO_C" >&6
! 1946: else
! 1947: if test -n "$ac_ct_CC"; then
! 1948: ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
! 1949: else
! 1950: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 1951: for as_dir in $PATH
! 1952: do
! 1953: IFS=$as_save_IFS
! 1954: test -z "$as_dir" && as_dir=.
! 1955: for ac_exec_ext in '' $ac_executable_extensions; do
! 1956: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 1957: ac_cv_prog_ac_ct_CC="$ac_prog"
! 1958: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 1959: break 2
! 1960: fi
! 1961: done
! 1962: done
! 1963: IFS=$as_save_IFS
! 1964:
! 1965: fi
! 1966: fi
! 1967: ac_ct_CC=$ac_cv_prog_ac_ct_CC
! 1968: if test -n "$ac_ct_CC"; then
! 1969: { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
! 1970: echo "${ECHO_T}$ac_ct_CC" >&6; }
! 1971: else
! 1972: { echo "$as_me:$LINENO: result: no" >&5
! 1973: echo "${ECHO_T}no" >&6; }
! 1974: fi
! 1975:
! 1976:
! 1977: test -n "$ac_ct_CC" && break
! 1978: done
! 1979:
! 1980: if test "x$ac_ct_CC" = x; then
! 1981: CC=""
! 1982: else
! 1983: case $cross_compiling:$ac_tool_warned in
! 1984: yes:)
! 1985: { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
! 1986: whose name does not start with the host triplet. If you think this
! 1987: configuration is useful to you, please write to autoconf@gnu.org." >&5
! 1988: echo "$as_me: 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." >&2;}
! 1991: ac_tool_warned=yes ;;
! 1992: esac
! 1993: CC=$ac_ct_CC
! 1994: fi
! 1995: fi
! 1996:
! 1997: fi
! 1998:
! 1999:
! 2000: test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
! 2001: See \`config.log' for more details." >&5
! 2002: echo "$as_me: error: no acceptable C compiler found in \$PATH
! 2003: See \`config.log' for more details." >&2;}
! 2004: { (exit 1); exit 1; }; }
! 2005:
! 2006: # Provide some information about the compiler.
! 2007: echo "$as_me:$LINENO: checking for C compiler version" >&5
! 2008: ac_compiler=`set X $ac_compile; echo $2`
! 2009: { (ac_try="$ac_compiler --version >&5"
! 2010: case "(($ac_try" in
! 2011: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 2012: *) ac_try_echo=$ac_try;;
! 2013: esac
! 2014: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
! 2015: (eval "$ac_compiler --version >&5") 2>&5
! 2016: ac_status=$?
! 2017: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2018: (exit $ac_status); }
! 2019: { (ac_try="$ac_compiler -v >&5"
! 2020: case "(($ac_try" in
! 2021: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 2022: *) ac_try_echo=$ac_try;;
! 2023: esac
! 2024: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
! 2025: (eval "$ac_compiler -v >&5") 2>&5
! 2026: ac_status=$?
! 2027: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2028: (exit $ac_status); }
! 2029: { (ac_try="$ac_compiler -V >&5"
! 2030: case "(($ac_try" in
! 2031: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 2032: *) ac_try_echo=$ac_try;;
! 2033: esac
! 2034: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
! 2035: (eval "$ac_compiler -V >&5") 2>&5
! 2036: ac_status=$?
! 2037: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2038: (exit $ac_status); }
! 2039:
! 2040: cat >conftest.$ac_ext <<_ACEOF
! 2041: /* confdefs.h. */
! 2042: _ACEOF
! 2043: cat confdefs.h >>conftest.$ac_ext
! 2044: cat >>conftest.$ac_ext <<_ACEOF
! 2045: /* end confdefs.h. */
! 2046:
! 2047: int
! 2048: main ()
! 2049: {
! 2050:
! 2051: ;
! 2052: return 0;
! 2053: }
! 2054: _ACEOF
! 2055: ac_clean_files_save=$ac_clean_files
! 2056: ac_clean_files="$ac_clean_files a.out a.exe b.out"
! 2057: # Try to create an executable without -o first, disregard a.out.
! 2058: # It will help us diagnose broken compilers, and finding out an intuition
! 2059: # of exeext.
! 2060: { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
! 2061: echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
! 2062: ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
! 2063: #
! 2064: # List of possible output files, starting from the most likely.
! 2065: # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
! 2066: # only as a last resort. b.out is created by i960 compilers.
! 2067: ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
! 2068: #
! 2069: # The IRIX 6 linker writes into existing files which may not be
! 2070: # executable, retaining their permissions. Remove them first so a
! 2071: # subsequent execution test works.
! 2072: ac_rmfiles=
! 2073: for ac_file in $ac_files
! 2074: do
! 2075: case $ac_file in
! 2076: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
! 2077: * ) ac_rmfiles="$ac_rmfiles $ac_file";;
! 2078: esac
! 2079: done
! 2080: rm -f $ac_rmfiles
! 2081:
! 2082: if { (ac_try="$ac_link_default"
! 2083: case "(($ac_try" in
! 2084: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 2085: *) ac_try_echo=$ac_try;;
! 2086: esac
! 2087: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
! 2088: (eval "$ac_link_default") 2>&5
! 2089: ac_status=$?
! 2090: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2091: (exit $ac_status); }; then
! 2092: # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
! 2093: # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
! 2094: # in a Makefile. We should not override ac_cv_exeext if it was cached,
! 2095: # so that the user can short-circuit this test for compilers unknown to
! 2096: # Autoconf.
! 2097: for ac_file in $ac_files ''
! 2098: do
! 2099: test -f "$ac_file" || continue
! 2100: case $ac_file in
! 2101: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
! 2102: ;;
! 2103: [ab].out )
! 2104: # We found the default executable, but exeext='' is most
! 2105: # certainly right.
! 2106: break;;
! 2107: *.* )
! 2108: if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
! 2109: then :; else
! 2110: ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
! 2111: fi
! 2112: # We set ac_cv_exeext here because the later test for it is not
! 2113: # safe: cross compilers may not add the suffix if given an `-o'
! 2114: # argument, so we may need to know it at that point already.
! 2115: # Even if this section looks crufty: it has the advantage of
! 2116: # actually working.
! 2117: break;;
! 2118: * )
! 2119: break;;
! 2120: esac
! 2121: done
! 2122: test "$ac_cv_exeext" = no && ac_cv_exeext=
! 2123:
! 2124: else
! 2125: ac_file=''
! 2126: fi
! 2127:
! 2128: { echo "$as_me:$LINENO: result: $ac_file" >&5
! 2129: echo "${ECHO_T}$ac_file" >&6; }
! 2130: if test -z "$ac_file"; then
! 2131: echo "$as_me: failed program was:" >&5
! 2132: sed 's/^/| /' conftest.$ac_ext >&5
! 2133:
! 2134: { { echo "$as_me:$LINENO: error: C compiler cannot create executables
! 2135: See \`config.log' for more details." >&5
! 2136: echo "$as_me: error: C compiler cannot create executables
! 2137: See \`config.log' for more details." >&2;}
! 2138: { (exit 77); exit 77; }; }
! 2139: fi
! 2140:
! 2141: ac_exeext=$ac_cv_exeext
! 2142:
! 2143: # Check that the compiler produces executables we can run. If not, either
! 2144: # the compiler is broken, or we cross compile.
! 2145: { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
! 2146: echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
! 2147: # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
! 2148: # If not cross compiling, check that we can run a simple program.
! 2149: if test "$cross_compiling" != yes; then
! 2150: if { ac_try='./$ac_file'
! 2151: { (case "(($ac_try" in
! 2152: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 2153: *) ac_try_echo=$ac_try;;
! 2154: esac
! 2155: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
! 2156: (eval "$ac_try") 2>&5
! 2157: ac_status=$?
! 2158: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2159: (exit $ac_status); }; }; then
! 2160: cross_compiling=no
! 2161: else
! 2162: if test "$cross_compiling" = maybe; then
! 2163: cross_compiling=yes
! 2164: else
! 2165: { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
! 2166: If you meant to cross compile, use \`--host'.
! 2167: See \`config.log' for more details." >&5
! 2168: echo "$as_me: error: cannot run C compiled programs.
! 2169: If you meant to cross compile, use \`--host'.
! 2170: See \`config.log' for more details." >&2;}
! 2171: { (exit 1); exit 1; }; }
! 2172: fi
! 2173: fi
! 2174: fi
! 2175: { echo "$as_me:$LINENO: result: yes" >&5
! 2176: echo "${ECHO_T}yes" >&6; }
! 2177:
! 2178: rm -f a.out a.exe conftest$ac_cv_exeext b.out
! 2179: ac_clean_files=$ac_clean_files_save
! 2180: # Check that the compiler produces executables we can run. If not, either
! 2181: # the compiler is broken, or we cross compile.
! 2182: { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
! 2183: echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
! 2184: { echo "$as_me:$LINENO: result: $cross_compiling" >&5
! 2185: echo "${ECHO_T}$cross_compiling" >&6; }
! 2186:
! 2187: { echo "$as_me:$LINENO: checking for suffix of executables" >&5
! 2188: echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
! 2189: if { (ac_try="$ac_link"
! 2190: case "(($ac_try" in
! 2191: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 2192: *) ac_try_echo=$ac_try;;
! 2193: esac
! 2194: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
! 2195: (eval "$ac_link") 2>&5
! 2196: ac_status=$?
! 2197: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2198: (exit $ac_status); }; then
! 2199: # If both `conftest.exe' and `conftest' are `present' (well, observable)
! 2200: # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
! 2201: # work properly (i.e., refer to `conftest.exe'), while it won't with
! 2202: # `rm'.
! 2203: for ac_file in conftest.exe conftest conftest.*; do
! 2204: test -f "$ac_file" || continue
! 2205: case $ac_file in
! 2206: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
! 2207: *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
! 2208: break;;
! 2209: * ) break;;
! 2210: esac
! 2211: done
! 2212: else
! 2213: { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
! 2214: See \`config.log' for more details." >&5
! 2215: echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
! 2216: See \`config.log' for more details." >&2;}
! 2217: { (exit 1); exit 1; }; }
! 2218: fi
! 2219:
! 2220: rm -f conftest$ac_cv_exeext
! 2221: { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
! 2222: echo "${ECHO_T}$ac_cv_exeext" >&6; }
! 2223:
! 2224: rm -f conftest.$ac_ext
! 2225: EXEEXT=$ac_cv_exeext
! 2226: ac_exeext=$EXEEXT
! 2227: { echo "$as_me:$LINENO: checking for suffix of object files" >&5
! 2228: echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
! 2229: if test "${ac_cv_objext+set}" = set; then
! 2230: echo $ECHO_N "(cached) $ECHO_C" >&6
! 2231: else
! 2232: cat >conftest.$ac_ext <<_ACEOF
! 2233: /* confdefs.h. */
! 2234: _ACEOF
! 2235: cat confdefs.h >>conftest.$ac_ext
! 2236: cat >>conftest.$ac_ext <<_ACEOF
! 2237: /* end confdefs.h. */
! 2238:
! 2239: int
! 2240: main ()
! 2241: {
! 2242:
! 2243: ;
! 2244: return 0;
! 2245: }
! 2246: _ACEOF
! 2247: rm -f conftest.o conftest.obj
! 2248: if { (ac_try="$ac_compile"
! 2249: case "(($ac_try" in
! 2250: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 2251: *) ac_try_echo=$ac_try;;
! 2252: esac
! 2253: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
! 2254: (eval "$ac_compile") 2>&5
! 2255: ac_status=$?
! 2256: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2257: (exit $ac_status); }; then
! 2258: for ac_file in conftest.o conftest.obj conftest.*; do
! 2259: test -f "$ac_file" || continue;
! 2260: case $ac_file in
! 2261: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
! 2262: *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
! 2263: break;;
! 2264: esac
! 2265: done
! 2266: else
! 2267: echo "$as_me: failed program was:" >&5
! 2268: sed 's/^/| /' conftest.$ac_ext >&5
! 2269:
! 2270: { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
! 2271: See \`config.log' for more details." >&5
! 2272: echo "$as_me: error: cannot compute suffix of object files: cannot compile
! 2273: See \`config.log' for more details." >&2;}
! 2274: { (exit 1); exit 1; }; }
! 2275: fi
! 2276:
! 2277: rm -f conftest.$ac_cv_objext conftest.$ac_ext
! 2278: fi
! 2279: { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
! 2280: echo "${ECHO_T}$ac_cv_objext" >&6; }
! 2281: OBJEXT=$ac_cv_objext
! 2282: ac_objext=$OBJEXT
! 2283: { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
! 2284: echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
! 2285: if test "${ac_cv_c_compiler_gnu+set}" = set; then
! 2286: echo $ECHO_N "(cached) $ECHO_C" >&6
! 2287: else
! 2288: cat >conftest.$ac_ext <<_ACEOF
! 2289: /* confdefs.h. */
! 2290: _ACEOF
! 2291: cat confdefs.h >>conftest.$ac_ext
! 2292: cat >>conftest.$ac_ext <<_ACEOF
! 2293: /* end confdefs.h. */
! 2294:
! 2295: int
! 2296: main ()
! 2297: {
! 2298: #ifndef __GNUC__
! 2299: choke me
! 2300: #endif
! 2301:
! 2302: ;
! 2303: return 0;
! 2304: }
! 2305: _ACEOF
! 2306: rm -f conftest.$ac_objext
! 2307: if { (ac_try="$ac_compile"
! 2308: case "(($ac_try" in
! 2309: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 2310: *) ac_try_echo=$ac_try;;
! 2311: esac
! 2312: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
! 2313: (eval "$ac_compile") 2>conftest.er1
! 2314: ac_status=$?
! 2315: grep -v '^ *+' conftest.er1 >conftest.err
! 2316: rm -f conftest.er1
! 2317: cat conftest.err >&5
! 2318: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2319: (exit $ac_status); } && {
! 2320: test -z "$ac_c_werror_flag" ||
! 2321: test ! -s conftest.err
! 2322: } && test -s conftest.$ac_objext; then
! 2323: ac_compiler_gnu=yes
! 2324: else
! 2325: echo "$as_me: failed program was:" >&5
! 2326: sed 's/^/| /' conftest.$ac_ext >&5
! 2327:
! 2328: ac_compiler_gnu=no
! 2329: fi
! 2330:
! 2331: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 2332: ac_cv_c_compiler_gnu=$ac_compiler_gnu
! 2333:
! 2334: fi
! 2335: { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
! 2336: echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
! 2337: GCC=`test $ac_compiler_gnu = yes && echo yes`
! 2338: ac_test_CFLAGS=${CFLAGS+set}
! 2339: ac_save_CFLAGS=$CFLAGS
! 2340: { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
! 2341: echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
! 2342: if test "${ac_cv_prog_cc_g+set}" = set; then
! 2343: echo $ECHO_N "(cached) $ECHO_C" >&6
! 2344: else
! 2345: ac_save_c_werror_flag=$ac_c_werror_flag
! 2346: ac_c_werror_flag=yes
! 2347: ac_cv_prog_cc_g=no
! 2348: CFLAGS="-g"
! 2349: cat >conftest.$ac_ext <<_ACEOF
! 2350: /* confdefs.h. */
! 2351: _ACEOF
! 2352: cat confdefs.h >>conftest.$ac_ext
! 2353: cat >>conftest.$ac_ext <<_ACEOF
! 2354: /* end confdefs.h. */
! 2355:
! 2356: int
! 2357: main ()
! 2358: {
! 2359:
! 2360: ;
! 2361: return 0;
! 2362: }
! 2363: _ACEOF
! 2364: rm -f conftest.$ac_objext
! 2365: if { (ac_try="$ac_compile"
! 2366: case "(($ac_try" in
! 2367: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 2368: *) ac_try_echo=$ac_try;;
! 2369: esac
! 2370: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
! 2371: (eval "$ac_compile") 2>conftest.er1
! 2372: ac_status=$?
! 2373: grep -v '^ *+' conftest.er1 >conftest.err
! 2374: rm -f conftest.er1
! 2375: cat conftest.err >&5
! 2376: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2377: (exit $ac_status); } && {
! 2378: test -z "$ac_c_werror_flag" ||
! 2379: test ! -s conftest.err
! 2380: } && test -s conftest.$ac_objext; then
! 2381: ac_cv_prog_cc_g=yes
! 2382: else
! 2383: echo "$as_me: failed program was:" >&5
! 2384: sed 's/^/| /' conftest.$ac_ext >&5
! 2385:
! 2386: CFLAGS=""
! 2387: cat >conftest.$ac_ext <<_ACEOF
! 2388: /* confdefs.h. */
! 2389: _ACEOF
! 2390: cat confdefs.h >>conftest.$ac_ext
! 2391: cat >>conftest.$ac_ext <<_ACEOF
! 2392: /* end confdefs.h. */
! 2393:
! 2394: int
! 2395: main ()
! 2396: {
! 2397:
! 2398: ;
! 2399: return 0;
! 2400: }
! 2401: _ACEOF
! 2402: rm -f conftest.$ac_objext
! 2403: if { (ac_try="$ac_compile"
! 2404: case "(($ac_try" in
! 2405: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 2406: *) ac_try_echo=$ac_try;;
! 2407: esac
! 2408: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
! 2409: (eval "$ac_compile") 2>conftest.er1
! 2410: ac_status=$?
! 2411: grep -v '^ *+' conftest.er1 >conftest.err
! 2412: rm -f conftest.er1
! 2413: cat conftest.err >&5
! 2414: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2415: (exit $ac_status); } && {
! 2416: test -z "$ac_c_werror_flag" ||
! 2417: test ! -s conftest.err
! 2418: } && test -s conftest.$ac_objext; then
! 2419: :
! 2420: else
! 2421: echo "$as_me: failed program was:" >&5
! 2422: sed 's/^/| /' conftest.$ac_ext >&5
! 2423:
! 2424: ac_c_werror_flag=$ac_save_c_werror_flag
! 2425: CFLAGS="-g"
! 2426: cat >conftest.$ac_ext <<_ACEOF
! 2427: /* confdefs.h. */
! 2428: _ACEOF
! 2429: cat confdefs.h >>conftest.$ac_ext
! 2430: cat >>conftest.$ac_ext <<_ACEOF
! 2431: /* end confdefs.h. */
! 2432:
! 2433: int
! 2434: main ()
! 2435: {
! 2436:
! 2437: ;
! 2438: return 0;
! 2439: }
! 2440: _ACEOF
! 2441: rm -f conftest.$ac_objext
! 2442: if { (ac_try="$ac_compile"
! 2443: case "(($ac_try" in
! 2444: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 2445: *) ac_try_echo=$ac_try;;
! 2446: esac
! 2447: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
! 2448: (eval "$ac_compile") 2>conftest.er1
! 2449: ac_status=$?
! 2450: grep -v '^ *+' conftest.er1 >conftest.err
! 2451: rm -f conftest.er1
! 2452: cat conftest.err >&5
! 2453: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2454: (exit $ac_status); } && {
! 2455: test -z "$ac_c_werror_flag" ||
! 2456: test ! -s conftest.err
! 2457: } && test -s conftest.$ac_objext; then
! 2458: ac_cv_prog_cc_g=yes
! 2459: else
! 2460: echo "$as_me: failed program was:" >&5
! 2461: sed 's/^/| /' conftest.$ac_ext >&5
! 2462:
! 2463:
! 2464: fi
! 2465:
! 2466: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 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: ac_c_werror_flag=$ac_save_c_werror_flag
! 2474: fi
! 2475: { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
! 2476: echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
! 2477: if test "$ac_test_CFLAGS" = set; then
! 2478: CFLAGS=$ac_save_CFLAGS
! 2479: elif test $ac_cv_prog_cc_g = yes; then
! 2480: if test "$GCC" = yes; then
! 2481: CFLAGS="-g -O2"
! 2482: else
! 2483: CFLAGS="-g"
! 2484: fi
! 2485: else
! 2486: if test "$GCC" = yes; then
! 2487: CFLAGS="-O2"
! 2488: else
! 2489: CFLAGS=
! 2490: fi
! 2491: fi
! 2492: { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
! 2493: echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
! 2494: if test "${ac_cv_prog_cc_c89+set}" = set; then
! 2495: echo $ECHO_N "(cached) $ECHO_C" >&6
! 2496: else
! 2497: ac_cv_prog_cc_c89=no
! 2498: ac_save_CC=$CC
! 2499: cat >conftest.$ac_ext <<_ACEOF
! 2500: /* confdefs.h. */
! 2501: _ACEOF
! 2502: cat confdefs.h >>conftest.$ac_ext
! 2503: cat >>conftest.$ac_ext <<_ACEOF
! 2504: /* end confdefs.h. */
! 2505: #include <stdarg.h>
! 2506: #include <stdio.h>
! 2507: #include <sys/types.h>
! 2508: #include <sys/stat.h>
! 2509: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
! 2510: struct buf { int x; };
! 2511: FILE * (*rcsopen) (struct buf *, struct stat *, int);
! 2512: static char *e (p, i)
! 2513: char **p;
! 2514: int i;
! 2515: {
! 2516: return p[i];
! 2517: }
! 2518: static char *f (char * (*g) (char **, int), char **p, ...)
! 2519: {
! 2520: char *s;
! 2521: va_list v;
! 2522: va_start (v,p);
! 2523: s = g (p, va_arg (v,int));
! 2524: va_end (v);
! 2525: return s;
! 2526: }
! 2527:
! 2528: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
! 2529: function prototypes and stuff, but not '\xHH' hex character constants.
! 2530: These don't provoke an error unfortunately, instead are silently treated
! 2531: as 'x'. The following induces an error, until -std is added to get
! 2532: proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
! 2533: array size at least. It's necessary to write '\x00'==0 to get something
! 2534: that's true only with -std. */
! 2535: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
! 2536:
! 2537: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
! 2538: inside strings and character constants. */
! 2539: #define FOO(x) 'x'
! 2540: int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
! 2541:
! 2542: int test (int i, double x);
! 2543: struct s1 {int (*f) (int a);};
! 2544: struct s2 {int (*f) (double a);};
! 2545: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
! 2546: int argc;
! 2547: char **argv;
! 2548: int
! 2549: main ()
! 2550: {
! 2551: return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
! 2552: ;
! 2553: return 0;
! 2554: }
! 2555: _ACEOF
! 2556: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
! 2557: -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
! 2558: do
! 2559: CC="$ac_save_CC $ac_arg"
! 2560: rm -f conftest.$ac_objext
! 2561: if { (ac_try="$ac_compile"
! 2562: case "(($ac_try" in
! 2563: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 2564: *) ac_try_echo=$ac_try;;
! 2565: esac
! 2566: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
! 2567: (eval "$ac_compile") 2>conftest.er1
! 2568: ac_status=$?
! 2569: grep -v '^ *+' conftest.er1 >conftest.err
! 2570: rm -f conftest.er1
! 2571: cat conftest.err >&5
! 2572: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2573: (exit $ac_status); } && {
! 2574: test -z "$ac_c_werror_flag" ||
! 2575: test ! -s conftest.err
! 2576: } && test -s conftest.$ac_objext; then
! 2577: ac_cv_prog_cc_c89=$ac_arg
! 2578: else
! 2579: echo "$as_me: failed program was:" >&5
! 2580: sed 's/^/| /' conftest.$ac_ext >&5
! 2581:
! 2582:
! 2583: fi
! 2584:
! 2585: rm -f core conftest.err conftest.$ac_objext
! 2586: test "x$ac_cv_prog_cc_c89" != "xno" && break
! 2587: done
! 2588: rm -f conftest.$ac_ext
! 2589: CC=$ac_save_CC
! 2590:
! 2591: fi
! 2592: # AC_CACHE_VAL
! 2593: case "x$ac_cv_prog_cc_c89" in
! 2594: x)
! 2595: { echo "$as_me:$LINENO: result: none needed" >&5
! 2596: echo "${ECHO_T}none needed" >&6; } ;;
! 2597: xno)
! 2598: { echo "$as_me:$LINENO: result: unsupported" >&5
! 2599: echo "${ECHO_T}unsupported" >&6; } ;;
! 2600: *)
! 2601: CC="$CC $ac_cv_prog_cc_c89"
! 2602: { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
! 2603: echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
! 2604: esac
! 2605:
! 2606:
! 2607: ac_ext=c
! 2608: ac_cpp='$CPP $CPPFLAGS'
! 2609: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 2610: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 2611: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 2612:
! 2613: if test -n "$ac_tool_prefix"; then
! 2614: # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
! 2615: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
! 2616: { echo "$as_me:$LINENO: checking for $ac_word" >&5
! 2617: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
! 2618: if test "${ac_cv_prog_RANLIB+set}" = set; then
! 2619: echo $ECHO_N "(cached) $ECHO_C" >&6
! 2620: else
! 2621: if test -n "$RANLIB"; then
! 2622: ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
! 2623: else
! 2624: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 2625: for as_dir in $PATH
! 2626: do
! 2627: IFS=$as_save_IFS
! 2628: test -z "$as_dir" && as_dir=.
! 2629: for ac_exec_ext in '' $ac_executable_extensions; do
! 2630: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 2631: ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
! 2632: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 2633: break 2
! 2634: fi
! 2635: done
! 2636: done
! 2637: IFS=$as_save_IFS
! 2638:
! 2639: fi
! 2640: fi
! 2641: RANLIB=$ac_cv_prog_RANLIB
! 2642: if test -n "$RANLIB"; then
! 2643: { echo "$as_me:$LINENO: result: $RANLIB" >&5
! 2644: echo "${ECHO_T}$RANLIB" >&6; }
! 2645: else
! 2646: { echo "$as_me:$LINENO: result: no" >&5
! 2647: echo "${ECHO_T}no" >&6; }
! 2648: fi
! 2649:
! 2650:
! 2651: fi
! 2652: if test -z "$ac_cv_prog_RANLIB"; then
! 2653: ac_ct_RANLIB=$RANLIB
! 2654: # Extract the first word of "ranlib", so it can be a program name with args.
! 2655: set dummy ranlib; ac_word=$2
! 2656: { echo "$as_me:$LINENO: checking for $ac_word" >&5
! 2657: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
! 2658: if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
! 2659: echo $ECHO_N "(cached) $ECHO_C" >&6
! 2660: else
! 2661: if test -n "$ac_ct_RANLIB"; then
! 2662: ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
! 2663: else
! 2664: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 2665: for as_dir in $PATH
! 2666: do
! 2667: IFS=$as_save_IFS
! 2668: test -z "$as_dir" && as_dir=.
! 2669: for ac_exec_ext in '' $ac_executable_extensions; do
! 2670: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 2671: ac_cv_prog_ac_ct_RANLIB="ranlib"
! 2672: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 2673: break 2
! 2674: fi
! 2675: done
! 2676: done
! 2677: IFS=$as_save_IFS
! 2678:
! 2679: fi
! 2680: fi
! 2681: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
! 2682: if test -n "$ac_ct_RANLIB"; then
! 2683: { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
! 2684: echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
! 2685: else
! 2686: { echo "$as_me:$LINENO: result: no" >&5
! 2687: echo "${ECHO_T}no" >&6; }
! 2688: fi
! 2689:
! 2690: if test "x$ac_ct_RANLIB" = x; then
! 2691: RANLIB=":"
! 2692: else
! 2693: case $cross_compiling:$ac_tool_warned in
! 2694: yes:)
! 2695: { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
! 2696: whose name does not start with the host triplet. If you think this
! 2697: configuration is useful to you, please write to autoconf@gnu.org." >&5
! 2698: echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
! 2699: whose name does not start with the host triplet. If you think this
! 2700: configuration is useful to you, please write to autoconf@gnu.org." >&2;}
! 2701: ac_tool_warned=yes ;;
! 2702: esac
! 2703: RANLIB=$ac_ct_RANLIB
! 2704: fi
! 2705: else
! 2706: RANLIB="$ac_cv_prog_RANLIB"
! 2707: fi
! 2708:
! 2709:
! 2710:
! 2711: ac_ext=c
! 2712: ac_cpp='$CPP $CPPFLAGS'
! 2713: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 2714: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 2715: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 2716: { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
! 2717: echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
! 2718: # On Suns, sometimes $CPP names a directory.
! 2719: if test -n "$CPP" && test -d "$CPP"; then
! 2720: CPP=
! 2721: fi
! 2722: if test -z "$CPP"; then
! 2723: if test "${ac_cv_prog_CPP+set}" = set; then
! 2724: echo $ECHO_N "(cached) $ECHO_C" >&6
! 2725: else
! 2726: # Double quotes because CPP needs to be expanded
! 2727: for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
! 2728: do
! 2729: ac_preproc_ok=false
! 2730: for ac_c_preproc_warn_flag in '' yes
! 2731: do
! 2732: # Use a header file that comes with gcc, so configuring glibc
! 2733: # with a fresh cross-compiler works.
! 2734: # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 2735: # <limits.h> exists even on freestanding compilers.
! 2736: # On the NeXT, cc -E runs the code through the compiler's parser,
! 2737: # not just through cpp. "Syntax error" is here to catch this case.
! 2738: cat >conftest.$ac_ext <<_ACEOF
! 2739: /* confdefs.h. */
! 2740: _ACEOF
! 2741: cat confdefs.h >>conftest.$ac_ext
! 2742: cat >>conftest.$ac_ext <<_ACEOF
! 2743: /* end confdefs.h. */
! 2744: #ifdef __STDC__
! 2745: # include <limits.h>
! 2746: #else
! 2747: # include <assert.h>
! 2748: #endif
! 2749: Syntax error
! 2750: _ACEOF
! 2751: if { (ac_try="$ac_cpp conftest.$ac_ext"
! 2752: case "(($ac_try" in
! 2753: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 2754: *) ac_try_echo=$ac_try;;
! 2755: esac
! 2756: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
! 2757: (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
! 2758: ac_status=$?
! 2759: grep -v '^ *+' conftest.er1 >conftest.err
! 2760: rm -f conftest.er1
! 2761: cat conftest.err >&5
! 2762: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2763: (exit $ac_status); } >/dev/null && {
! 2764: test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
! 2765: test ! -s conftest.err
! 2766: }; then
! 2767: :
! 2768: else
! 2769: echo "$as_me: failed program was:" >&5
! 2770: sed 's/^/| /' conftest.$ac_ext >&5
! 2771:
! 2772: # Broken: fails on valid input.
! 2773: continue
! 2774: fi
! 2775:
! 2776: rm -f conftest.err conftest.$ac_ext
! 2777:
! 2778: # OK, works on sane cases. Now check whether nonexistent headers
! 2779: # can be detected and how.
! 2780: cat >conftest.$ac_ext <<_ACEOF
! 2781: /* confdefs.h. */
! 2782: _ACEOF
! 2783: cat confdefs.h >>conftest.$ac_ext
! 2784: cat >>conftest.$ac_ext <<_ACEOF
! 2785: /* end confdefs.h. */
! 2786: #include <ac_nonexistent.h>
! 2787: _ACEOF
! 2788: if { (ac_try="$ac_cpp conftest.$ac_ext"
! 2789: case "(($ac_try" in
! 2790: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 2791: *) ac_try_echo=$ac_try;;
! 2792: esac
! 2793: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
! 2794: (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
! 2795: ac_status=$?
! 2796: grep -v '^ *+' conftest.er1 >conftest.err
! 2797: rm -f conftest.er1
! 2798: cat conftest.err >&5
! 2799: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2800: (exit $ac_status); } >/dev/null && {
! 2801: test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
! 2802: test ! -s conftest.err
! 2803: }; then
! 2804: # Broken: success on invalid input.
! 2805: continue
! 2806: else
! 2807: echo "$as_me: failed program was:" >&5
! 2808: sed 's/^/| /' conftest.$ac_ext >&5
! 2809:
! 2810: # Passes both tests.
! 2811: ac_preproc_ok=:
! 2812: break
! 2813: fi
! 2814:
! 2815: rm -f conftest.err conftest.$ac_ext
! 2816:
! 2817: done
! 2818: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
! 2819: rm -f conftest.err conftest.$ac_ext
! 2820: if $ac_preproc_ok; then
! 2821: break
! 2822: fi
! 2823:
! 2824: done
! 2825: ac_cv_prog_CPP=$CPP
! 2826:
! 2827: fi
! 2828: CPP=$ac_cv_prog_CPP
! 2829: else
! 2830: ac_cv_prog_CPP=$CPP
! 2831: fi
! 2832: { echo "$as_me:$LINENO: result: $CPP" >&5
! 2833: echo "${ECHO_T}$CPP" >&6; }
! 2834: ac_preproc_ok=false
! 2835: for ac_c_preproc_warn_flag in '' yes
! 2836: do
! 2837: # Use a header file that comes with gcc, so configuring glibc
! 2838: # with a fresh cross-compiler works.
! 2839: # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 2840: # <limits.h> exists even on freestanding compilers.
! 2841: # On the NeXT, cc -E runs the code through the compiler's parser,
! 2842: # not just through cpp. "Syntax error" is here to catch this case.
! 2843: cat >conftest.$ac_ext <<_ACEOF
! 2844: /* confdefs.h. */
! 2845: _ACEOF
! 2846: cat confdefs.h >>conftest.$ac_ext
! 2847: cat >>conftest.$ac_ext <<_ACEOF
! 2848: /* end confdefs.h. */
! 2849: #ifdef __STDC__
! 2850: # include <limits.h>
! 2851: #else
! 2852: # include <assert.h>
! 2853: #endif
! 2854: Syntax error
! 2855: _ACEOF
! 2856: if { (ac_try="$ac_cpp conftest.$ac_ext"
! 2857: case "(($ac_try" in
! 2858: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 2859: *) ac_try_echo=$ac_try;;
! 2860: esac
! 2861: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
! 2862: (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
! 2863: ac_status=$?
! 2864: grep -v '^ *+' conftest.er1 >conftest.err
! 2865: rm -f conftest.er1
! 2866: cat conftest.err >&5
! 2867: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2868: (exit $ac_status); } >/dev/null && {
! 2869: test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
! 2870: test ! -s conftest.err
! 2871: }; then
! 2872: :
! 2873: else
! 2874: echo "$as_me: failed program was:" >&5
! 2875: sed 's/^/| /' conftest.$ac_ext >&5
! 2876:
! 2877: # Broken: fails on valid input.
! 2878: continue
! 2879: fi
! 2880:
! 2881: rm -f conftest.err conftest.$ac_ext
! 2882:
! 2883: # OK, works on sane cases. Now check whether nonexistent headers
! 2884: # can be detected and how.
! 2885: cat >conftest.$ac_ext <<_ACEOF
! 2886: /* confdefs.h. */
! 2887: _ACEOF
! 2888: cat confdefs.h >>conftest.$ac_ext
! 2889: cat >>conftest.$ac_ext <<_ACEOF
! 2890: /* end confdefs.h. */
! 2891: #include <ac_nonexistent.h>
! 2892: _ACEOF
! 2893: if { (ac_try="$ac_cpp conftest.$ac_ext"
! 2894: case "(($ac_try" in
! 2895: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 2896: *) ac_try_echo=$ac_try;;
! 2897: esac
! 2898: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
! 2899: (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
! 2900: ac_status=$?
! 2901: grep -v '^ *+' conftest.er1 >conftest.err
! 2902: rm -f conftest.er1
! 2903: cat conftest.err >&5
! 2904: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2905: (exit $ac_status); } >/dev/null && {
! 2906: test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
! 2907: test ! -s conftest.err
! 2908: }; then
! 2909: # Broken: success on invalid input.
! 2910: continue
! 2911: else
! 2912: echo "$as_me: failed program was:" >&5
! 2913: sed 's/^/| /' conftest.$ac_ext >&5
! 2914:
! 2915: # Passes both tests.
! 2916: ac_preproc_ok=:
! 2917: break
! 2918: fi
! 2919:
! 2920: rm -f conftest.err conftest.$ac_ext
! 2921:
! 2922: done
! 2923: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
! 2924: rm -f conftest.err conftest.$ac_ext
! 2925: if $ac_preproc_ok; then
! 2926: :
! 2927: else
! 2928: { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
! 2929: See \`config.log' for more details." >&5
! 2930: echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
! 2931: See \`config.log' for more details." >&2;}
! 2932: { (exit 1); exit 1; }; }
! 2933: fi
! 2934:
! 2935: ac_ext=c
! 2936: ac_cpp='$CPP $CPPFLAGS'
! 2937: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 2938: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 2939: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 2940:
! 2941:
! 2942: { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
! 2943: echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
! 2944: if test "${ac_cv_path_GREP+set}" = set; then
! 2945: echo $ECHO_N "(cached) $ECHO_C" >&6
! 2946: else
! 2947: # Extract the first word of "grep ggrep" to use in msg output
! 2948: if test -z "$GREP"; then
! 2949: set dummy grep ggrep; ac_prog_name=$2
! 2950: if test "${ac_cv_path_GREP+set}" = set; then
! 2951: echo $ECHO_N "(cached) $ECHO_C" >&6
! 2952: else
! 2953: ac_path_GREP_found=false
! 2954: # Loop through the user's path and test for each of PROGNAME-LIST
! 2955: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 2956: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
! 2957: do
! 2958: IFS=$as_save_IFS
! 2959: test -z "$as_dir" && as_dir=.
! 2960: for ac_prog in grep ggrep; do
! 2961: for ac_exec_ext in '' $ac_executable_extensions; do
! 2962: ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
! 2963: { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
! 2964: # Check for GNU ac_path_GREP and select it if it is found.
! 2965: # Check for GNU $ac_path_GREP
! 2966: case `"$ac_path_GREP" --version 2>&1` in
! 2967: *GNU*)
! 2968: ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
! 2969: *)
! 2970: ac_count=0
! 2971: echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
! 2972: while :
! 2973: do
! 2974: cat "conftest.in" "conftest.in" >"conftest.tmp"
! 2975: mv "conftest.tmp" "conftest.in"
! 2976: cp "conftest.in" "conftest.nl"
! 2977: echo 'GREP' >> "conftest.nl"
! 2978: "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
! 2979: diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
! 2980: ac_count=`expr $ac_count + 1`
! 2981: if test $ac_count -gt ${ac_path_GREP_max-0}; then
! 2982: # Best one so far, save it but keep looking for a better one
! 2983: ac_cv_path_GREP="$ac_path_GREP"
! 2984: ac_path_GREP_max=$ac_count
! 2985: fi
! 2986: # 10*(2^10) chars as input seems more than enough
! 2987: test $ac_count -gt 10 && break
! 2988: done
! 2989: rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
! 2990: esac
! 2991:
! 2992:
! 2993: $ac_path_GREP_found && break 3
! 2994: done
! 2995: done
! 2996:
! 2997: done
! 2998: IFS=$as_save_IFS
! 2999:
! 3000:
! 3001: fi
! 3002:
! 3003: GREP="$ac_cv_path_GREP"
! 3004: if test -z "$GREP"; then
! 3005: { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
! 3006: echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
! 3007: { (exit 1); exit 1; }; }
! 3008: fi
! 3009:
! 3010: else
! 3011: ac_cv_path_GREP=$GREP
! 3012: fi
! 3013:
! 3014:
! 3015: fi
! 3016: { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
! 3017: echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
! 3018: GREP="$ac_cv_path_GREP"
! 3019:
! 3020:
! 3021: { echo "$as_me:$LINENO: checking for egrep" >&5
! 3022: echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
! 3023: if test "${ac_cv_path_EGREP+set}" = set; then
! 3024: echo $ECHO_N "(cached) $ECHO_C" >&6
! 3025: else
! 3026: if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
! 3027: then ac_cv_path_EGREP="$GREP -E"
! 3028: else
! 3029: # Extract the first word of "egrep" to use in msg output
! 3030: if test -z "$EGREP"; then
! 3031: set dummy egrep; ac_prog_name=$2
! 3032: if test "${ac_cv_path_EGREP+set}" = set; then
! 3033: echo $ECHO_N "(cached) $ECHO_C" >&6
! 3034: else
! 3035: ac_path_EGREP_found=false
! 3036: # Loop through the user's path and test for each of PROGNAME-LIST
! 3037: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 3038: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
! 3039: do
! 3040: IFS=$as_save_IFS
! 3041: test -z "$as_dir" && as_dir=.
! 3042: for ac_prog in egrep; do
! 3043: for ac_exec_ext in '' $ac_executable_extensions; do
! 3044: ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
! 3045: { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
! 3046: # Check for GNU ac_path_EGREP and select it if it is found.
! 3047: # Check for GNU $ac_path_EGREP
! 3048: case `"$ac_path_EGREP" --version 2>&1` in
! 3049: *GNU*)
! 3050: ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
! 3051: *)
! 3052: ac_count=0
! 3053: echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
! 3054: while :
! 3055: do
! 3056: cat "conftest.in" "conftest.in" >"conftest.tmp"
! 3057: mv "conftest.tmp" "conftest.in"
! 3058: cp "conftest.in" "conftest.nl"
! 3059: echo 'EGREP' >> "conftest.nl"
! 3060: "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
! 3061: diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
! 3062: ac_count=`expr $ac_count + 1`
! 3063: if test $ac_count -gt ${ac_path_EGREP_max-0}; then
! 3064: # Best one so far, save it but keep looking for a better one
! 3065: ac_cv_path_EGREP="$ac_path_EGREP"
! 3066: ac_path_EGREP_max=$ac_count
! 3067: fi
! 3068: # 10*(2^10) chars as input seems more than enough
! 3069: test $ac_count -gt 10 && break
! 3070: done
! 3071: rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
! 3072: esac
! 3073:
! 3074:
! 3075: $ac_path_EGREP_found && break 3
! 3076: done
! 3077: done
! 3078:
! 3079: done
! 3080: IFS=$as_save_IFS
! 3081:
! 3082:
! 3083: fi
! 3084:
! 3085: EGREP="$ac_cv_path_EGREP"
! 3086: if test -z "$EGREP"; then
! 3087: { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
! 3088: echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
! 3089: { (exit 1); exit 1; }; }
! 3090: fi
! 3091:
! 3092: else
! 3093: ac_cv_path_EGREP=$EGREP
! 3094: fi
! 3095:
! 3096:
! 3097: fi
! 3098: fi
! 3099: { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
! 3100: echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
! 3101: EGREP="$ac_cv_path_EGREP"
! 3102:
! 3103:
! 3104: { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
! 3105: echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
! 3106: if test "${ac_cv_header_stdc+set}" = set; then
! 3107: echo $ECHO_N "(cached) $ECHO_C" >&6
! 3108: else
! 3109: cat >conftest.$ac_ext <<_ACEOF
! 3110: /* confdefs.h. */
! 3111: _ACEOF
! 3112: cat confdefs.h >>conftest.$ac_ext
! 3113: cat >>conftest.$ac_ext <<_ACEOF
! 3114: /* end confdefs.h. */
! 3115: #include <stdlib.h>
! 3116: #include <stdarg.h>
! 3117: #include <string.h>
! 3118: #include <float.h>
! 3119:
! 3120: int
! 3121: main ()
! 3122: {
! 3123:
! 3124: ;
! 3125: return 0;
! 3126: }
! 3127: _ACEOF
! 3128: rm -f conftest.$ac_objext
! 3129: if { (ac_try="$ac_compile"
! 3130: case "(($ac_try" in
! 3131: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 3132: *) ac_try_echo=$ac_try;;
! 3133: esac
! 3134: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
! 3135: (eval "$ac_compile") 2>conftest.er1
! 3136: ac_status=$?
! 3137: grep -v '^ *+' conftest.er1 >conftest.err
! 3138: rm -f conftest.er1
! 3139: cat conftest.err >&5
! 3140: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3141: (exit $ac_status); } && {
! 3142: test -z "$ac_c_werror_flag" ||
! 3143: test ! -s conftest.err
! 3144: } && test -s conftest.$ac_objext; then
! 3145: ac_cv_header_stdc=yes
! 3146: else
! 3147: echo "$as_me: failed program was:" >&5
! 3148: sed 's/^/| /' conftest.$ac_ext >&5
! 3149:
! 3150: ac_cv_header_stdc=no
! 3151: fi
! 3152:
! 3153: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 3154:
! 3155: if test $ac_cv_header_stdc = yes; then
! 3156: # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
! 3157: cat >conftest.$ac_ext <<_ACEOF
! 3158: /* confdefs.h. */
! 3159: _ACEOF
! 3160: cat confdefs.h >>conftest.$ac_ext
! 3161: cat >>conftest.$ac_ext <<_ACEOF
! 3162: /* end confdefs.h. */
! 3163: #include <string.h>
! 3164:
! 3165: _ACEOF
! 3166: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! 3167: $EGREP "memchr" >/dev/null 2>&1; then
! 3168: :
! 3169: else
! 3170: ac_cv_header_stdc=no
! 3171: fi
! 3172: rm -f conftest*
! 3173:
! 3174: fi
! 3175:
! 3176: if test $ac_cv_header_stdc = yes; then
! 3177: # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
! 3178: cat >conftest.$ac_ext <<_ACEOF
! 3179: /* confdefs.h. */
! 3180: _ACEOF
! 3181: cat confdefs.h >>conftest.$ac_ext
! 3182: cat >>conftest.$ac_ext <<_ACEOF
! 3183: /* end confdefs.h. */
! 3184: #include <stdlib.h>
! 3185:
! 3186: _ACEOF
! 3187: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! 3188: $EGREP "free" >/dev/null 2>&1; then
! 3189: :
! 3190: else
! 3191: ac_cv_header_stdc=no
! 3192: fi
! 3193: rm -f conftest*
! 3194:
! 3195: fi
! 3196:
! 3197: if test $ac_cv_header_stdc = yes; then
! 3198: # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
! 3199: if test "$cross_compiling" = yes; then
! 3200: :
! 3201: else
! 3202: cat >conftest.$ac_ext <<_ACEOF
! 3203: /* confdefs.h. */
! 3204: _ACEOF
! 3205: cat confdefs.h >>conftest.$ac_ext
! 3206: cat >>conftest.$ac_ext <<_ACEOF
! 3207: /* end confdefs.h. */
! 3208: #include <ctype.h>
! 3209: #include <stdlib.h>
! 3210: #if ((' ' & 0x0FF) == 0x020)
! 3211: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
! 3212: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
! 3213: #else
! 3214: # define ISLOWER(c) \
! 3215: (('a' <= (c) && (c) <= 'i') \
! 3216: || ('j' <= (c) && (c) <= 'r') \
! 3217: || ('s' <= (c) && (c) <= 'z'))
! 3218: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
! 3219: #endif
! 3220:
! 3221: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
! 3222: int
! 3223: main ()
! 3224: {
! 3225: int i;
! 3226: for (i = 0; i < 256; i++)
! 3227: if (XOR (islower (i), ISLOWER (i))
! 3228: || toupper (i) != TOUPPER (i))
! 3229: return 2;
! 3230: return 0;
! 3231: }
! 3232: _ACEOF
! 3233: rm -f conftest$ac_exeext
! 3234: if { (ac_try="$ac_link"
! 3235: case "(($ac_try" in
! 3236: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 3237: *) ac_try_echo=$ac_try;;
! 3238: esac
! 3239: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
! 3240: (eval "$ac_link") 2>&5
! 3241: ac_status=$?
! 3242: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3243: (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
! 3244: { (case "(($ac_try" in
! 3245: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 3246: *) ac_try_echo=$ac_try;;
! 3247: esac
! 3248: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
! 3249: (eval "$ac_try") 2>&5
! 3250: ac_status=$?
! 3251: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3252: (exit $ac_status); }; }; then
! 3253: :
! 3254: else
! 3255: echo "$as_me: program exited with status $ac_status" >&5
! 3256: echo "$as_me: failed program was:" >&5
! 3257: sed 's/^/| /' conftest.$ac_ext >&5
! 3258:
! 3259: ( exit $ac_status )
! 3260: ac_cv_header_stdc=no
! 3261: fi
! 3262: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
! 3263: fi
! 3264:
! 3265:
! 3266: fi
! 3267: fi
! 3268: { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
! 3269: echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
! 3270: if test $ac_cv_header_stdc = yes; then
! 3271:
! 3272: cat >>confdefs.h <<\_ACEOF
! 3273: #define STDC_HEADERS 1
! 3274: _ACEOF
! 3275:
! 3276: fi
! 3277:
! 3278: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
! 3279:
! 3280:
! 3281:
! 3282:
! 3283:
! 3284:
! 3285:
! 3286:
! 3287:
! 3288: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
! 3289: inttypes.h stdint.h unistd.h
! 3290: do
! 3291: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! 3292: { echo "$as_me:$LINENO: checking for $ac_header" >&5
! 3293: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
! 3294: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
! 3295: echo $ECHO_N "(cached) $ECHO_C" >&6
! 3296: else
! 3297: cat >conftest.$ac_ext <<_ACEOF
! 3298: /* confdefs.h. */
! 3299: _ACEOF
! 3300: cat confdefs.h >>conftest.$ac_ext
! 3301: cat >>conftest.$ac_ext <<_ACEOF
! 3302: /* end confdefs.h. */
! 3303: $ac_includes_default
! 3304:
! 3305: #include <$ac_header>
! 3306: _ACEOF
! 3307: rm -f conftest.$ac_objext
! 3308: if { (ac_try="$ac_compile"
! 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_compile") 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_objext; then
! 3324: eval "$as_ac_Header=yes"
! 3325: else
! 3326: echo "$as_me: failed program was:" >&5
! 3327: sed 's/^/| /' conftest.$ac_ext >&5
! 3328:
! 3329: eval "$as_ac_Header=no"
! 3330: fi
! 3331:
! 3332: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 3333: fi
! 3334: ac_res=`eval echo '${'$as_ac_Header'}'`
! 3335: { echo "$as_me:$LINENO: result: $ac_res" >&5
! 3336: echo "${ECHO_T}$ac_res" >&6; }
! 3337: if test `eval echo '${'$as_ac_Header'}'` = yes; then
! 3338: cat >>confdefs.h <<_ACEOF
! 3339: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
! 3340: _ACEOF
! 3341:
! 3342: fi
! 3343:
! 3344: done
! 3345:
! 3346:
! 3347: if test "${ac_cv_header_GL_glut_h+set}" = set; then
! 3348: { echo "$as_me:$LINENO: checking for GL/glut.h" >&5
! 3349: echo $ECHO_N "checking for GL/glut.h... $ECHO_C" >&6; }
! 3350: if test "${ac_cv_header_GL_glut_h+set}" = set; then
! 3351: echo $ECHO_N "(cached) $ECHO_C" >&6
! 3352: fi
! 3353: { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glut_h" >&5
! 3354: echo "${ECHO_T}$ac_cv_header_GL_glut_h" >&6; }
! 3355: else
! 3356: # Is the header compilable?
! 3357: { echo "$as_me:$LINENO: checking GL/glut.h usability" >&5
! 3358: echo $ECHO_N "checking GL/glut.h usability... $ECHO_C" >&6; }
! 3359: cat >conftest.$ac_ext <<_ACEOF
! 3360: /* confdefs.h. */
! 3361: _ACEOF
! 3362: cat confdefs.h >>conftest.$ac_ext
! 3363: cat >>conftest.$ac_ext <<_ACEOF
! 3364: /* end confdefs.h. */
! 3365: $ac_includes_default
! 3366: #include <GL/glut.h>
! 3367: _ACEOF
! 3368: rm -f conftest.$ac_objext
! 3369: if { (ac_try="$ac_compile"
! 3370: case "(($ac_try" in
! 3371: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 3372: *) ac_try_echo=$ac_try;;
! 3373: esac
! 3374: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
! 3375: (eval "$ac_compile") 2>conftest.er1
! 3376: ac_status=$?
! 3377: grep -v '^ *+' conftest.er1 >conftest.err
! 3378: rm -f conftest.er1
! 3379: cat conftest.err >&5
! 3380: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3381: (exit $ac_status); } && {
! 3382: test -z "$ac_c_werror_flag" ||
! 3383: test ! -s conftest.err
! 3384: } && test -s conftest.$ac_objext; then
! 3385: ac_header_compiler=yes
! 3386: else
! 3387: echo "$as_me: failed program was:" >&5
! 3388: sed 's/^/| /' conftest.$ac_ext >&5
! 3389:
! 3390: ac_header_compiler=no
! 3391: fi
! 3392:
! 3393: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 3394: { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
! 3395: echo "${ECHO_T}$ac_header_compiler" >&6; }
! 3396:
! 3397: # Is the header present?
! 3398: { echo "$as_me:$LINENO: checking GL/glut.h presence" >&5
! 3399: echo $ECHO_N "checking GL/glut.h presence... $ECHO_C" >&6; }
! 3400: cat >conftest.$ac_ext <<_ACEOF
! 3401: /* confdefs.h. */
! 3402: _ACEOF
! 3403: cat confdefs.h >>conftest.$ac_ext
! 3404: cat >>conftest.$ac_ext <<_ACEOF
! 3405: /* end confdefs.h. */
! 3406: #include <GL/glut.h>
! 3407: _ACEOF
! 3408: if { (ac_try="$ac_cpp conftest.$ac_ext"
! 3409: case "(($ac_try" in
! 3410: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 3411: *) ac_try_echo=$ac_try;;
! 3412: esac
! 3413: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
! 3414: (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
! 3415: ac_status=$?
! 3416: grep -v '^ *+' conftest.er1 >conftest.err
! 3417: rm -f conftest.er1
! 3418: cat conftest.err >&5
! 3419: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3420: (exit $ac_status); } >/dev/null && {
! 3421: test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
! 3422: test ! -s conftest.err
! 3423: }; then
! 3424: ac_header_preproc=yes
! 3425: else
! 3426: echo "$as_me: failed program was:" >&5
! 3427: sed 's/^/| /' conftest.$ac_ext >&5
! 3428:
! 3429: ac_header_preproc=no
! 3430: fi
! 3431:
! 3432: rm -f conftest.err conftest.$ac_ext
! 3433: { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
! 3434: echo "${ECHO_T}$ac_header_preproc" >&6; }
! 3435:
! 3436: # So? What about this header?
! 3437: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
! 3438: yes:no: )
! 3439: { echo "$as_me:$LINENO: WARNING: GL/glut.h: accepted by the compiler, rejected by the preprocessor!" >&5
! 3440: echo "$as_me: WARNING: GL/glut.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
! 3441: { echo "$as_me:$LINENO: WARNING: GL/glut.h: proceeding with the compiler's result" >&5
! 3442: echo "$as_me: WARNING: GL/glut.h: proceeding with the compiler's result" >&2;}
! 3443: ac_header_preproc=yes
! 3444: ;;
! 3445: no:yes:* )
! 3446: { echo "$as_me:$LINENO: WARNING: GL/glut.h: present but cannot be compiled" >&5
! 3447: echo "$as_me: WARNING: GL/glut.h: present but cannot be compiled" >&2;}
! 3448: { echo "$as_me:$LINENO: WARNING: GL/glut.h: check for missing prerequisite headers?" >&5
! 3449: echo "$as_me: WARNING: GL/glut.h: check for missing prerequisite headers?" >&2;}
! 3450: { echo "$as_me:$LINENO: WARNING: GL/glut.h: see the Autoconf documentation" >&5
! 3451: echo "$as_me: WARNING: GL/glut.h: see the Autoconf documentation" >&2;}
! 3452: { echo "$as_me:$LINENO: WARNING: GL/glut.h: section \"Present But Cannot Be Compiled\"" >&5
! 3453: echo "$as_me: WARNING: GL/glut.h: section \"Present But Cannot Be Compiled\"" >&2;}
! 3454: { echo "$as_me:$LINENO: WARNING: GL/glut.h: proceeding with the preprocessor's result" >&5
! 3455: echo "$as_me: WARNING: GL/glut.h: proceeding with the preprocessor's result" >&2;}
! 3456: { echo "$as_me:$LINENO: WARNING: GL/glut.h: in the future, the compiler will take precedence" >&5
! 3457: echo "$as_me: WARNING: GL/glut.h: in the future, the compiler will take precedence" >&2;}
! 3458:
! 3459: ;;
! 3460: esac
! 3461: { echo "$as_me:$LINENO: checking for GL/glut.h" >&5
! 3462: echo $ECHO_N "checking for GL/glut.h... $ECHO_C" >&6; }
! 3463: if test "${ac_cv_header_GL_glut_h+set}" = set; then
! 3464: echo $ECHO_N "(cached) $ECHO_C" >&6
! 3465: else
! 3466: ac_cv_header_GL_glut_h=$ac_header_preproc
! 3467: fi
! 3468: { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glut_h" >&5
! 3469: echo "${ECHO_T}$ac_cv_header_GL_glut_h" >&6; }
! 3470:
! 3471: fi
! 3472: if test $ac_cv_header_GL_glut_h = yes; then
! 3473: MYTARGET="oxmgraph"
! 3474:
! 3475: else
! 3476: MYTARGET=""
! 3477:
! 3478: fi
! 3479:
! 3480:
! 3481: if test "${ac_cv_header_GL_glut_h+set}" = set; then
! 3482: { echo "$as_me:$LINENO: checking for GL/glut.h" >&5
! 3483: echo $ECHO_N "checking for GL/glut.h... $ECHO_C" >&6; }
! 3484: if test "${ac_cv_header_GL_glut_h+set}" = set; then
! 3485: echo $ECHO_N "(cached) $ECHO_C" >&6
! 3486: fi
! 3487: { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glut_h" >&5
! 3488: echo "${ECHO_T}$ac_cv_header_GL_glut_h" >&6; }
! 3489: else
! 3490: # Is the header compilable?
! 3491: { echo "$as_me:$LINENO: checking GL/glut.h usability" >&5
! 3492: echo $ECHO_N "checking GL/glut.h usability... $ECHO_C" >&6; }
! 3493: cat >conftest.$ac_ext <<_ACEOF
! 3494: /* confdefs.h. */
! 3495: _ACEOF
! 3496: cat confdefs.h >>conftest.$ac_ext
! 3497: cat >>conftest.$ac_ext <<_ACEOF
! 3498: /* end confdefs.h. */
! 3499: $ac_includes_default
! 3500: #include <GL/glut.h>
! 3501: _ACEOF
! 3502: rm -f conftest.$ac_objext
! 3503: if { (ac_try="$ac_compile"
! 3504: case "(($ac_try" in
! 3505: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 3506: *) ac_try_echo=$ac_try;;
! 3507: esac
! 3508: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
! 3509: (eval "$ac_compile") 2>conftest.er1
! 3510: ac_status=$?
! 3511: grep -v '^ *+' conftest.er1 >conftest.err
! 3512: rm -f conftest.er1
! 3513: cat conftest.err >&5
! 3514: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3515: (exit $ac_status); } && {
! 3516: test -z "$ac_c_werror_flag" ||
! 3517: test ! -s conftest.err
! 3518: } && test -s conftest.$ac_objext; then
! 3519: ac_header_compiler=yes
! 3520: else
! 3521: echo "$as_me: failed program was:" >&5
! 3522: sed 's/^/| /' conftest.$ac_ext >&5
! 3523:
! 3524: ac_header_compiler=no
! 3525: fi
! 3526:
! 3527: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 3528: { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
! 3529: echo "${ECHO_T}$ac_header_compiler" >&6; }
! 3530:
! 3531: # Is the header present?
! 3532: { echo "$as_me:$LINENO: checking GL/glut.h presence" >&5
! 3533: echo $ECHO_N "checking GL/glut.h presence... $ECHO_C" >&6; }
! 3534: cat >conftest.$ac_ext <<_ACEOF
! 3535: /* confdefs.h. */
! 3536: _ACEOF
! 3537: cat confdefs.h >>conftest.$ac_ext
! 3538: cat >>conftest.$ac_ext <<_ACEOF
! 3539: /* end confdefs.h. */
! 3540: #include <GL/glut.h>
! 3541: _ACEOF
! 3542: if { (ac_try="$ac_cpp conftest.$ac_ext"
! 3543: case "(($ac_try" in
! 3544: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 3545: *) ac_try_echo=$ac_try;;
! 3546: esac
! 3547: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
! 3548: (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
! 3549: ac_status=$?
! 3550: grep -v '^ *+' conftest.er1 >conftest.err
! 3551: rm -f conftest.er1
! 3552: cat conftest.err >&5
! 3553: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3554: (exit $ac_status); } >/dev/null && {
! 3555: test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
! 3556: test ! -s conftest.err
! 3557: }; then
! 3558: ac_header_preproc=yes
! 3559: else
! 3560: echo "$as_me: failed program was:" >&5
! 3561: sed 's/^/| /' conftest.$ac_ext >&5
! 3562:
! 3563: ac_header_preproc=no
! 3564: fi
! 3565:
! 3566: rm -f conftest.err conftest.$ac_ext
! 3567: { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
! 3568: echo "${ECHO_T}$ac_header_preproc" >&6; }
! 3569:
! 3570: # So? What about this header?
! 3571: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
! 3572: yes:no: )
! 3573: { echo "$as_me:$LINENO: WARNING: GL/glut.h: accepted by the compiler, rejected by the preprocessor!" >&5
! 3574: echo "$as_me: WARNING: GL/glut.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
! 3575: { echo "$as_me:$LINENO: WARNING: GL/glut.h: proceeding with the compiler's result" >&5
! 3576: echo "$as_me: WARNING: GL/glut.h: proceeding with the compiler's result" >&2;}
! 3577: ac_header_preproc=yes
! 3578: ;;
! 3579: no:yes:* )
! 3580: { echo "$as_me:$LINENO: WARNING: GL/glut.h: present but cannot be compiled" >&5
! 3581: echo "$as_me: WARNING: GL/glut.h: present but cannot be compiled" >&2;}
! 3582: { echo "$as_me:$LINENO: WARNING: GL/glut.h: check for missing prerequisite headers?" >&5
! 3583: echo "$as_me: WARNING: GL/glut.h: check for missing prerequisite headers?" >&2;}
! 3584: { echo "$as_me:$LINENO: WARNING: GL/glut.h: see the Autoconf documentation" >&5
! 3585: echo "$as_me: WARNING: GL/glut.h: see the Autoconf documentation" >&2;}
! 3586: { echo "$as_me:$LINENO: WARNING: GL/glut.h: section \"Present But Cannot Be Compiled\"" >&5
! 3587: echo "$as_me: WARNING: GL/glut.h: section \"Present But Cannot Be Compiled\"" >&2;}
! 3588: { echo "$as_me:$LINENO: WARNING: GL/glut.h: proceeding with the preprocessor's result" >&5
! 3589: echo "$as_me: WARNING: GL/glut.h: proceeding with the preprocessor's result" >&2;}
! 3590: { echo "$as_me:$LINENO: WARNING: GL/glut.h: in the future, the compiler will take precedence" >&5
! 3591: echo "$as_me: WARNING: GL/glut.h: in the future, the compiler will take precedence" >&2;}
! 3592:
! 3593: ;;
! 3594: esac
! 3595: { echo "$as_me:$LINENO: checking for GL/glut.h" >&5
! 3596: echo $ECHO_N "checking for GL/glut.h... $ECHO_C" >&6; }
! 3597: if test "${ac_cv_header_GL_glut_h+set}" = set; then
! 3598: echo $ECHO_N "(cached) $ECHO_C" >&6
! 3599: else
! 3600: ac_cv_header_GL_glut_h=$ac_header_preproc
! 3601: fi
! 3602: { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glut_h" >&5
! 3603: echo "${ECHO_T}$ac_cv_header_GL_glut_h" >&6; }
! 3604:
! 3605: fi
! 3606: if test $ac_cv_header_GL_glut_h = yes; then
! 3607: MYTARGET2="install2"
! 3608:
! 3609: else
! 3610: MYTARGET2=""
! 3611:
! 3612: fi
! 3613:
! 3614:
! 3615:
! 3616:
! 3617: ac_aux_dir=
! 3618: for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
! 3619: if test -f "$ac_dir/install-sh"; then
! 3620: ac_aux_dir=$ac_dir
! 3621: ac_install_sh="$ac_aux_dir/install-sh -c"
! 3622: break
! 3623: elif test -f "$ac_dir/install.sh"; then
! 3624: ac_aux_dir=$ac_dir
! 3625: ac_install_sh="$ac_aux_dir/install.sh -c"
! 3626: break
! 3627: elif test -f "$ac_dir/shtool"; then
! 3628: ac_aux_dir=$ac_dir
! 3629: ac_install_sh="$ac_aux_dir/shtool install -c"
! 3630: break
! 3631: fi
! 3632: done
! 3633: if test -z "$ac_aux_dir"; then
! 3634: { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
! 3635: echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
! 3636: { (exit 1); exit 1; }; }
! 3637: fi
! 3638:
! 3639: # These three variables are undocumented and unsupported,
! 3640: # and are intended to be withdrawn in a future Autoconf release.
! 3641: # They can cause serious problems if a builder's source tree is in a directory
! 3642: # whose full name contains unusual characters.
! 3643: ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
! 3644: ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
! 3645: ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
! 3646:
! 3647:
! 3648: # Make sure we can run config.sub.
! 3649: $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
! 3650: { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
! 3651: echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
! 3652: { (exit 1); exit 1; }; }
! 3653:
! 3654: { echo "$as_me:$LINENO: checking build system type" >&5
! 3655: echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
! 3656: if test "${ac_cv_build+set}" = set; then
! 3657: echo $ECHO_N "(cached) $ECHO_C" >&6
! 3658: else
! 3659: ac_build_alias=$build_alias
! 3660: test "x$ac_build_alias" = x &&
! 3661: ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
! 3662: test "x$ac_build_alias" = x &&
! 3663: { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
! 3664: echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
! 3665: { (exit 1); exit 1; }; }
! 3666: ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
! 3667: { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
! 3668: echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
! 3669: { (exit 1); exit 1; }; }
! 3670:
! 3671: fi
! 3672: { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
! 3673: echo "${ECHO_T}$ac_cv_build" >&6; }
! 3674: case $ac_cv_build in
! 3675: *-*-*) ;;
! 3676: *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
! 3677: echo "$as_me: error: invalid value of canonical build" >&2;}
! 3678: { (exit 1); exit 1; }; };;
! 3679: esac
! 3680: build=$ac_cv_build
! 3681: ac_save_IFS=$IFS; IFS='-'
! 3682: set x $ac_cv_build
! 3683: shift
! 3684: build_cpu=$1
! 3685: build_vendor=$2
! 3686: shift; shift
! 3687: # Remember, the first character of IFS is used to create $*,
! 3688: # except with old shells:
! 3689: build_os=$*
! 3690: IFS=$ac_save_IFS
! 3691: case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
! 3692:
! 3693:
! 3694: { echo "$as_me:$LINENO: checking host system type" >&5
! 3695: echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
! 3696: if test "${ac_cv_host+set}" = set; then
! 3697: echo $ECHO_N "(cached) $ECHO_C" >&6
! 3698: else
! 3699: if test "x$host_alias" = x; then
! 3700: ac_cv_host=$ac_cv_build
! 3701: else
! 3702: ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
! 3703: { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
! 3704: echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
! 3705: { (exit 1); exit 1; }; }
! 3706: fi
! 3707:
! 3708: fi
! 3709: { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
! 3710: echo "${ECHO_T}$ac_cv_host" >&6; }
! 3711: case $ac_cv_host in
! 3712: *-*-*) ;;
! 3713: *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
! 3714: echo "$as_me: error: invalid value of canonical host" >&2;}
! 3715: { (exit 1); exit 1; }; };;
! 3716: esac
! 3717: host=$ac_cv_host
! 3718: ac_save_IFS=$IFS; IFS='-'
! 3719: set x $ac_cv_host
! 3720: shift
! 3721: host_cpu=$1
! 3722: host_vendor=$2
! 3723: shift; shift
! 3724: # Remember, the first character of IFS is used to create $*,
! 3725: # except with old shells:
! 3726: host_os=$*
! 3727: IFS=$ac_save_IFS
! 3728: case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
! 3729:
! 3730:
! 3731: { echo "$as_me:$LINENO: checking target system type" >&5
! 3732: echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
! 3733: if test "${ac_cv_target+set}" = set; then
! 3734: echo $ECHO_N "(cached) $ECHO_C" >&6
! 3735: else
! 3736: if test "x$target_alias" = x; then
! 3737: ac_cv_target=$ac_cv_host
! 3738: else
! 3739: ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
! 3740: { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
! 3741: echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
! 3742: { (exit 1); exit 1; }; }
! 3743: fi
! 3744:
! 3745: fi
! 3746: { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
! 3747: echo "${ECHO_T}$ac_cv_target" >&6; }
! 3748: case $ac_cv_target in
! 3749: *-*-*) ;;
! 3750: *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
! 3751: echo "$as_me: error: invalid value of canonical target" >&2;}
! 3752: { (exit 1); exit 1; }; };;
! 3753: esac
! 3754: target=$ac_cv_target
! 3755: ac_save_IFS=$IFS; IFS='-'
! 3756: set x $ac_cv_target
! 3757: shift
! 3758: target_cpu=$1
! 3759: target_vendor=$2
! 3760: shift; shift
! 3761: # Remember, the first character of IFS is used to create $*,
! 3762: # except with old shells:
! 3763: target_os=$*
! 3764: IFS=$ac_save_IFS
! 3765: case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
! 3766:
! 3767:
! 3768: # The aliases save the names the user supplied, while $host etc.
! 3769: # will get canonicalized.
! 3770: test -n "$target_alias" &&
! 3771: test "$program_prefix$program_suffix$program_transform_name" = \
! 3772: NONENONEs,x,x, &&
! 3773: program_prefix=${target_alias}-
! 3774: case $target_os in
! 3775: darwin*)
! 3776: CFLAG2="-DMAC_OS_X"
! 3777:
! 3778: LFLAG2="-framework GLUT -framework OpenGL"
! 3779:
! 3780: MYTARGET="oxmgraph"
! 3781:
! 3782: MYTARGET2="install2"
! 3783:
! 3784: ;;
! 3785: *)
! 3786: CFLAG2=""
! 3787:
! 3788: LFLAG2="-lglut"
! 3789:
! 3790: ;;
! 3791: esac
! 3792:
! 3793:
! 3794:
! 3795: ac_config_files="$ac_config_files Makefile"
! 3796:
! 3797: cat >confcache <<\_ACEOF
! 3798: # This file is a shell script that caches the results of configure
! 3799: # tests run on this system so they can be shared between configure
! 3800: # scripts and configure runs, see configure's option --config-cache.
! 3801: # It is not useful on other systems. If it contains results you don't
! 3802: # want to keep, you may remove or edit it.
! 3803: #
! 3804: # config.status only pays attention to the cache file if you give it
! 3805: # the --recheck option to rerun configure.
! 3806: #
! 3807: # `ac_cv_env_foo' variables (set or unset) will be overridden when
! 3808: # loading this file, other *unset* `ac_cv_foo' will be assigned the
! 3809: # following values.
! 3810:
! 3811: _ACEOF
! 3812:
! 3813: # The following way of writing the cache mishandles newlines in values,
! 3814: # but we know of no workaround that is simple, portable, and efficient.
! 3815: # So, we kill variables containing newlines.
! 3816: # Ultrix sh set writes to stderr and can't be redirected directly,
! 3817: # and sets the high bit in the cache file unless we assign to the vars.
! 3818: (
! 3819: for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
! 3820: eval ac_val=\$$ac_var
! 3821: case $ac_val in #(
! 3822: *${as_nl}*)
! 3823: case $ac_var in #(
! 3824: *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
! 3825: echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
! 3826: esac
! 3827: case $ac_var in #(
! 3828: _ | IFS | as_nl) ;; #(
! 3829: *) $as_unset $ac_var ;;
! 3830: esac ;;
! 3831: esac
! 3832: done
! 3833:
! 3834: (set) 2>&1 |
! 3835: case $as_nl`(ac_space=' '; set) 2>&1` in #(
! 3836: *${as_nl}ac_space=\ *)
! 3837: # `set' does not quote correctly, so add quotes (double-quote
! 3838: # substitution turns \\\\ into \\, and sed turns \\ into \).
! 3839: sed -n \
! 3840: "s/'/'\\\\''/g;
! 3841: s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
! 3842: ;; #(
! 3843: *)
! 3844: # `set' quotes correctly as required by POSIX, so do not add quotes.
! 3845: sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
! 3846: ;;
! 3847: esac |
! 3848: sort
! 3849: ) |
! 3850: sed '
! 3851: /^ac_cv_env_/b end
! 3852: t clear
! 3853: :clear
! 3854: s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
! 3855: t end
! 3856: s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
! 3857: :end' >>confcache
! 3858: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
! 3859: if test -w "$cache_file"; then
! 3860: test "x$cache_file" != "x/dev/null" &&
! 3861: { echo "$as_me:$LINENO: updating cache $cache_file" >&5
! 3862: echo "$as_me: updating cache $cache_file" >&6;}
! 3863: cat confcache >$cache_file
! 3864: else
! 3865: { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
! 3866: echo "$as_me: not updating unwritable cache $cache_file" >&6;}
! 3867: fi
! 3868: fi
! 3869: rm -f confcache
! 3870:
! 3871: test "x$prefix" = xNONE && prefix=$ac_default_prefix
! 3872: # Let make expand exec_prefix.
! 3873: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
! 3874:
! 3875: # Transform confdefs.h into DEFS.
! 3876: # Protect against shell expansion while executing Makefile rules.
! 3877: # Protect against Makefile macro expansion.
! 3878: #
! 3879: # If the first sed substitution is executed (which looks for macros that
! 3880: # take arguments), then branch to the quote section. Otherwise,
! 3881: # look for a macro that doesn't take arguments.
! 3882: ac_script='
! 3883: t clear
! 3884: :clear
! 3885: s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
! 3886: t quote
! 3887: s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
! 3888: t quote
! 3889: b any
! 3890: :quote
! 3891: s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
! 3892: s/\[/\\&/g
! 3893: s/\]/\\&/g
! 3894: s/\$/$$/g
! 3895: H
! 3896: :any
! 3897: ${
! 3898: g
! 3899: s/^\n//
! 3900: s/\n/ /g
! 3901: p
! 3902: }
! 3903: '
! 3904: DEFS=`sed -n "$ac_script" confdefs.h`
! 3905:
! 3906:
! 3907: ac_libobjs=
! 3908: ac_ltlibobjs=
! 3909: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
! 3910: # 1. Remove the extension, and $U if already installed.
! 3911: ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
! 3912: ac_i=`echo "$ac_i" | sed "$ac_script"`
! 3913: # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
! 3914: # will be set to the directory where LIBOBJS objects are built.
! 3915: ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
! 3916: ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
! 3917: done
! 3918: LIBOBJS=$ac_libobjs
! 3919:
! 3920: LTLIBOBJS=$ac_ltlibobjs
! 3921:
! 3922:
! 3923:
! 3924: : ${CONFIG_STATUS=./config.status}
! 3925: ac_clean_files_save=$ac_clean_files
! 3926: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
! 3927: { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
! 3928: echo "$as_me: creating $CONFIG_STATUS" >&6;}
! 3929: cat >$CONFIG_STATUS <<_ACEOF
! 3930: #! $SHELL
! 3931: # Generated by $as_me.
! 3932: # Run this file to recreate the current configuration.
! 3933: # Compiler output produced by configure, useful for debugging
! 3934: # configure, is in config.log if it exists.
! 3935:
! 3936: debug=false
! 3937: ac_cs_recheck=false
! 3938: ac_cs_silent=false
! 3939: SHELL=\${CONFIG_SHELL-$SHELL}
! 3940: _ACEOF
! 3941:
! 3942: cat >>$CONFIG_STATUS <<\_ACEOF
! 3943: ## --------------------- ##
! 3944: ## M4sh Initialization. ##
! 3945: ## --------------------- ##
! 3946:
! 3947: # Be more Bourne compatible
! 3948: DUALCASE=1; export DUALCASE # for MKS sh
! 3949: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
! 3950: emulate sh
! 3951: NULLCMD=:
! 3952: # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
! 3953: # is contrary to our usage. Disable this feature.
! 3954: alias -g '${1+"$@"}'='"$@"'
! 3955: setopt NO_GLOB_SUBST
! 3956: else
! 3957: case `(set -o) 2>/dev/null` in
! 3958: *posix*) set -o posix ;;
! 3959: esac
! 3960:
! 3961: fi
! 3962:
! 3963:
! 3964:
! 3965:
! 3966: # PATH needs CR
! 3967: # Avoid depending upon Character Ranges.
! 3968: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
! 3969: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
! 3970: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
! 3971: as_cr_digits='0123456789'
! 3972: as_cr_alnum=$as_cr_Letters$as_cr_digits
! 3973:
! 3974: # The user is always right.
! 3975: if test "${PATH_SEPARATOR+set}" != set; then
! 3976: echo "#! /bin/sh" >conf$$.sh
! 3977: echo "exit 0" >>conf$$.sh
! 3978: chmod +x conf$$.sh
! 3979: if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
! 3980: PATH_SEPARATOR=';'
! 3981: else
! 3982: PATH_SEPARATOR=:
! 3983: fi
! 3984: rm -f conf$$.sh
! 3985: fi
! 3986:
! 3987: # Support unset when possible.
! 3988: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
! 3989: as_unset=unset
! 3990: else
! 3991: as_unset=false
! 3992: fi
! 3993:
! 3994:
! 3995: # IFS
! 3996: # We need space, tab and new line, in precisely that order. Quoting is
! 3997: # there to prevent editors from complaining about space-tab.
! 3998: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
! 3999: # splitting by setting IFS to empty value.)
! 4000: as_nl='
! 4001: '
! 4002: IFS=" "" $as_nl"
! 4003:
! 4004: # Find who we are. Look in the path if we contain no directory separator.
! 4005: case $0 in
! 4006: *[\\/]* ) as_myself=$0 ;;
! 4007: *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 4008: for as_dir in $PATH
! 4009: do
! 4010: IFS=$as_save_IFS
! 4011: test -z "$as_dir" && as_dir=.
! 4012: test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
! 4013: done
! 4014: IFS=$as_save_IFS
! 4015:
! 4016: ;;
! 4017: esac
! 4018: # We did not find ourselves, most probably we were run as `sh COMMAND'
! 4019: # in which case we are not to be found in the path.
! 4020: if test "x$as_myself" = x; then
! 4021: as_myself=$0
! 4022: fi
! 4023: if test ! -f "$as_myself"; then
! 4024: echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
! 4025: { (exit 1); exit 1; }
! 4026: fi
! 4027:
! 4028: # Work around bugs in pre-3.0 UWIN ksh.
! 4029: for as_var in ENV MAIL MAILPATH
! 4030: do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
! 4031: done
! 4032: PS1='$ '
! 4033: PS2='> '
! 4034: PS4='+ '
! 4035:
! 4036: # NLS nuisances.
! 4037: for as_var in \
! 4038: LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
! 4039: LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
! 4040: LC_TELEPHONE LC_TIME
! 4041: do
! 4042: if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
! 4043: eval $as_var=C; export $as_var
! 4044: else
! 4045: ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
! 4046: fi
! 4047: done
! 4048:
! 4049: # Required to use basename.
! 4050: if expr a : '\(a\)' >/dev/null 2>&1 &&
! 4051: test "X`expr 00001 : '.*\(...\)'`" = X001; then
! 4052: as_expr=expr
! 4053: else
! 4054: as_expr=false
! 4055: fi
! 4056:
! 4057: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
! 4058: as_basename=basename
! 4059: else
! 4060: as_basename=false
! 4061: fi
! 4062:
! 4063:
! 4064: # Name of the executable.
! 4065: as_me=`$as_basename -- "$0" ||
! 4066: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
! 4067: X"$0" : 'X\(//\)$' \| \
! 4068: X"$0" : 'X\(/\)' \| . 2>/dev/null ||
! 4069: echo X/"$0" |
! 4070: sed '/^.*\/\([^/][^/]*\)\/*$/{
! 4071: s//\1/
! 4072: q
! 4073: }
! 4074: /^X\/\(\/\/\)$/{
! 4075: s//\1/
! 4076: q
! 4077: }
! 4078: /^X\/\(\/\).*/{
! 4079: s//\1/
! 4080: q
! 4081: }
! 4082: s/.*/./; q'`
! 4083:
! 4084: # CDPATH.
! 4085: $as_unset CDPATH
! 4086:
! 4087:
! 4088:
! 4089: as_lineno_1=$LINENO
! 4090: as_lineno_2=$LINENO
! 4091: test "x$as_lineno_1" != "x$as_lineno_2" &&
! 4092: test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
! 4093:
! 4094: # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
! 4095: # uniformly replaced by the line number. The first 'sed' inserts a
! 4096: # line-number line after each line using $LINENO; the second 'sed'
! 4097: # does the real work. The second script uses 'N' to pair each
! 4098: # line-number line with the line containing $LINENO, and appends
! 4099: # trailing '-' during substitution so that $LINENO is not a special
! 4100: # case at line end.
! 4101: # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
! 4102: # scripts with optimization help from Paolo Bonzini. Blame Lee
! 4103: # E. McMahon (1931-1989) for sed's syntax. :-)
! 4104: sed -n '
! 4105: p
! 4106: /[$]LINENO/=
! 4107: ' <$as_myself |
! 4108: sed '
! 4109: s/[$]LINENO.*/&-/
! 4110: t lineno
! 4111: b
! 4112: :lineno
! 4113: N
! 4114: :loop
! 4115: s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
! 4116: t loop
! 4117: s/-\n.*//
! 4118: ' >$as_me.lineno &&
! 4119: chmod +x "$as_me.lineno" ||
! 4120: { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
! 4121: { (exit 1); exit 1; }; }
! 4122:
! 4123: # Don't try to exec as it changes $[0], causing all sort of problems
! 4124: # (the dirname of $[0] is not the place where we might find the
! 4125: # original and so on. Autoconf is especially sensitive to this).
! 4126: . "./$as_me.lineno"
! 4127: # Exit status is that of the last command.
! 4128: exit
! 4129: }
! 4130:
! 4131:
! 4132: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
! 4133: as_dirname=dirname
! 4134: else
! 4135: as_dirname=false
! 4136: fi
! 4137:
! 4138: ECHO_C= ECHO_N= ECHO_T=
! 4139: case `echo -n x` in
! 4140: -n*)
! 4141: case `echo 'x\c'` in
! 4142: *c*) ECHO_T=' ';; # ECHO_T is single tab character.
! 4143: *) ECHO_C='\c';;
! 4144: esac;;
! 4145: *)
! 4146: ECHO_N='-n';;
! 4147: esac
! 4148:
! 4149: if expr a : '\(a\)' >/dev/null 2>&1 &&
! 4150: test "X`expr 00001 : '.*\(...\)'`" = X001; then
! 4151: as_expr=expr
! 4152: else
! 4153: as_expr=false
! 4154: fi
! 4155:
! 4156: rm -f conf$$ conf$$.exe conf$$.file
! 4157: if test -d conf$$.dir; then
! 4158: rm -f conf$$.dir/conf$$.file
! 4159: else
! 4160: rm -f conf$$.dir
! 4161: mkdir conf$$.dir
! 4162: fi
! 4163: echo >conf$$.file
! 4164: if ln -s conf$$.file conf$$ 2>/dev/null; then
! 4165: as_ln_s='ln -s'
! 4166: # ... but there are two gotchas:
! 4167: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
! 4168: # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
! 4169: # In both cases, we have to default to `cp -p'.
! 4170: ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
! 4171: as_ln_s='cp -p'
! 4172: elif ln conf$$.file conf$$ 2>/dev/null; then
! 4173: as_ln_s=ln
! 4174: else
! 4175: as_ln_s='cp -p'
! 4176: fi
! 4177: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
! 4178: rmdir conf$$.dir 2>/dev/null
! 4179:
! 4180: if mkdir -p . 2>/dev/null; then
! 4181: as_mkdir_p=:
! 4182: else
! 4183: test -d ./-p && rmdir ./-p
! 4184: as_mkdir_p=false
! 4185: fi
! 4186:
! 4187: if test -x / >/dev/null 2>&1; then
! 4188: as_test_x='test -x'
! 4189: else
! 4190: if ls -dL / >/dev/null 2>&1; then
! 4191: as_ls_L_option=L
! 4192: else
! 4193: as_ls_L_option=
! 4194: fi
! 4195: as_test_x='
! 4196: eval sh -c '\''
! 4197: if test -d "$1"; then
! 4198: test -d "$1/.";
! 4199: else
! 4200: case $1 in
! 4201: -*)set "./$1";;
! 4202: esac;
! 4203: case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
! 4204: ???[sx]*):;;*)false;;esac;fi
! 4205: '\'' sh
! 4206: '
! 4207: fi
! 4208: as_executable_p=$as_test_x
! 4209:
! 4210: # Sed expression to map a string onto a valid CPP name.
! 4211: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
! 4212:
! 4213: # Sed expression to map a string onto a valid variable name.
! 4214: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
! 4215:
! 4216:
! 4217: exec 6>&1
! 4218:
! 4219: # Save the log message, to keep $[0] and so on meaningful, and to
! 4220: # report actual input values of CONFIG_FILES etc. instead of their
! 4221: # values after options handling.
! 4222: ac_log="
! 4223: This file was extended by $as_me, which was
! 4224: generated by GNU Autoconf 2.61. Invocation command line was
! 4225:
! 4226: CONFIG_FILES = $CONFIG_FILES
! 4227: CONFIG_HEADERS = $CONFIG_HEADERS
! 4228: CONFIG_LINKS = $CONFIG_LINKS
! 4229: CONFIG_COMMANDS = $CONFIG_COMMANDS
! 4230: $ $0 $@
! 4231:
! 4232: on `(hostname || uname -n) 2>/dev/null | sed 1q`
! 4233: "
! 4234:
! 4235: _ACEOF
! 4236:
! 4237: cat >>$CONFIG_STATUS <<_ACEOF
! 4238: # Files that config.status was made for.
! 4239: config_files="$ac_config_files"
! 4240:
! 4241: _ACEOF
! 4242:
! 4243: cat >>$CONFIG_STATUS <<\_ACEOF
! 4244: ac_cs_usage="\
! 4245: \`$as_me' instantiates files from templates according to the
! 4246: current configuration.
! 4247:
! 4248: Usage: $0 [OPTIONS] [FILE]...
! 4249:
! 4250: -h, --help print this help, then exit
! 4251: -V, --version print version number and configuration settings, then exit
! 4252: -q, --quiet do not print progress messages
! 4253: -d, --debug don't remove temporary files
! 4254: --recheck update $as_me by reconfiguring in the same conditions
! 4255: --file=FILE[:TEMPLATE]
! 4256: instantiate the configuration file FILE
! 4257:
! 4258: Configuration files:
! 4259: $config_files
! 4260:
! 4261: Report bugs to <bug-autoconf@gnu.org>."
! 4262:
! 4263: _ACEOF
! 4264: cat >>$CONFIG_STATUS <<_ACEOF
! 4265: ac_cs_version="\\
! 4266: config.status
! 4267: configured by $0, generated by GNU Autoconf 2.61,
! 4268: with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
! 4269:
! 4270: Copyright (C) 2006 Free Software Foundation, Inc.
! 4271: This config.status script is free software; the Free Software Foundation
! 4272: gives unlimited permission to copy, distribute and modify it."
! 4273:
! 4274: ac_pwd='$ac_pwd'
! 4275: srcdir='$srcdir'
! 4276: _ACEOF
! 4277:
! 4278: cat >>$CONFIG_STATUS <<\_ACEOF
! 4279: # If no file are specified by the user, then we need to provide default
! 4280: # value. By we need to know if files were specified by the user.
! 4281: ac_need_defaults=:
! 4282: while test $# != 0
! 4283: do
! 4284: case $1 in
! 4285: --*=*)
! 4286: ac_option=`expr "X$1" : 'X\([^=]*\)='`
! 4287: ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
! 4288: ac_shift=:
! 4289: ;;
! 4290: *)
! 4291: ac_option=$1
! 4292: ac_optarg=$2
! 4293: ac_shift=shift
! 4294: ;;
! 4295: esac
! 4296:
! 4297: case $ac_option in
! 4298: # Handling of the options.
! 4299: -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
! 4300: ac_cs_recheck=: ;;
! 4301: --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
! 4302: echo "$ac_cs_version"; exit ;;
! 4303: --debug | --debu | --deb | --de | --d | -d )
! 4304: debug=: ;;
! 4305: --file | --fil | --fi | --f )
! 4306: $ac_shift
! 4307: CONFIG_FILES="$CONFIG_FILES $ac_optarg"
! 4308: ac_need_defaults=false;;
! 4309: --he | --h | --help | --hel | -h )
! 4310: echo "$ac_cs_usage"; exit ;;
! 4311: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
! 4312: | -silent | --silent | --silen | --sile | --sil | --si | --s)
! 4313: ac_cs_silent=: ;;
! 4314:
! 4315: # This is an error.
! 4316: -*) { echo "$as_me: error: unrecognized option: $1
! 4317: Try \`$0 --help' for more information." >&2
! 4318: { (exit 1); exit 1; }; } ;;
! 4319:
! 4320: *) ac_config_targets="$ac_config_targets $1"
! 4321: ac_need_defaults=false ;;
! 4322:
! 4323: esac
! 4324: shift
! 4325: done
! 4326:
! 4327: ac_configure_extra_args=
! 4328:
! 4329: if $ac_cs_silent; then
! 4330: exec 6>/dev/null
! 4331: ac_configure_extra_args="$ac_configure_extra_args --silent"
! 4332: fi
! 4333:
! 4334: _ACEOF
! 4335: cat >>$CONFIG_STATUS <<_ACEOF
! 4336: if \$ac_cs_recheck; then
! 4337: echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
! 4338: CONFIG_SHELL=$SHELL
! 4339: export CONFIG_SHELL
! 4340: exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
! 4341: fi
! 4342:
! 4343: _ACEOF
! 4344: cat >>$CONFIG_STATUS <<\_ACEOF
! 4345: exec 5>>config.log
! 4346: {
! 4347: echo
! 4348: sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
! 4349: ## Running $as_me. ##
! 4350: _ASBOX
! 4351: echo "$ac_log"
! 4352: } >&5
! 4353:
! 4354: _ACEOF
! 4355: cat >>$CONFIG_STATUS <<_ACEOF
! 4356: _ACEOF
! 4357:
! 4358: cat >>$CONFIG_STATUS <<\_ACEOF
! 4359:
! 4360: # Handling of arguments.
! 4361: for ac_config_target in $ac_config_targets
! 4362: do
! 4363: case $ac_config_target in
! 4364: "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
! 4365:
! 4366: *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
! 4367: echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
! 4368: { (exit 1); exit 1; }; };;
! 4369: esac
! 4370: done
! 4371:
! 4372:
! 4373: # If the user did not use the arguments to specify the items to instantiate,
! 4374: # then the envvar interface is used. Set only those that are not.
! 4375: # We use the long form for the default assignment because of an extremely
! 4376: # bizarre bug on SunOS 4.1.3.
! 4377: if $ac_need_defaults; then
! 4378: test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
! 4379: fi
! 4380:
! 4381: # Have a temporary directory for convenience. Make it in the build tree
! 4382: # simply because there is no reason against having it here, and in addition,
! 4383: # creating and moving files from /tmp can sometimes cause problems.
! 4384: # Hook for its removal unless debugging.
! 4385: # Note that there is a small window in which the directory will not be cleaned:
! 4386: # after its creation but before its name has been assigned to `$tmp'.
! 4387: $debug ||
! 4388: {
! 4389: tmp=
! 4390: trap 'exit_status=$?
! 4391: { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
! 4392: ' 0
! 4393: trap '{ (exit 1); exit 1; }' 1 2 13 15
! 4394: }
! 4395: # Create a (secure) tmp directory for tmp files.
! 4396:
! 4397: {
! 4398: tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
! 4399: test -n "$tmp" && test -d "$tmp"
! 4400: } ||
! 4401: {
! 4402: tmp=./conf$$-$RANDOM
! 4403: (umask 077 && mkdir "$tmp")
! 4404: } ||
! 4405: {
! 4406: echo "$me: cannot create a temporary directory in ." >&2
! 4407: { (exit 1); exit 1; }
! 4408: }
! 4409:
! 4410: #
! 4411: # Set up the sed scripts for CONFIG_FILES section.
! 4412: #
! 4413:
! 4414: # No need to generate the scripts if there are no CONFIG_FILES.
! 4415: # This happens for instance when ./config.status config.h
! 4416: if test -n "$CONFIG_FILES"; then
! 4417:
! 4418: _ACEOF
! 4419:
! 4420:
! 4421:
! 4422: ac_delim='%!_!# '
! 4423: for ac_last_try in false false false false false :; do
! 4424: cat >conf$$subs.sed <<_ACEOF
! 4425: SHELL!$SHELL$ac_delim
! 4426: PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
! 4427: PACKAGE_NAME!$PACKAGE_NAME$ac_delim
! 4428: PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
! 4429: PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
! 4430: PACKAGE_STRING!$PACKAGE_STRING$ac_delim
! 4431: PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
! 4432: exec_prefix!$exec_prefix$ac_delim
! 4433: prefix!$prefix$ac_delim
! 4434: program_transform_name!$program_transform_name$ac_delim
! 4435: bindir!$bindir$ac_delim
! 4436: sbindir!$sbindir$ac_delim
! 4437: libexecdir!$libexecdir$ac_delim
! 4438: datarootdir!$datarootdir$ac_delim
! 4439: datadir!$datadir$ac_delim
! 4440: sysconfdir!$sysconfdir$ac_delim
! 4441: sharedstatedir!$sharedstatedir$ac_delim
! 4442: localstatedir!$localstatedir$ac_delim
! 4443: includedir!$includedir$ac_delim
! 4444: oldincludedir!$oldincludedir$ac_delim
! 4445: docdir!$docdir$ac_delim
! 4446: infodir!$infodir$ac_delim
! 4447: htmldir!$htmldir$ac_delim
! 4448: dvidir!$dvidir$ac_delim
! 4449: pdfdir!$pdfdir$ac_delim
! 4450: psdir!$psdir$ac_delim
! 4451: libdir!$libdir$ac_delim
! 4452: localedir!$localedir$ac_delim
! 4453: mandir!$mandir$ac_delim
! 4454: DEFS!$DEFS$ac_delim
! 4455: ECHO_C!$ECHO_C$ac_delim
! 4456: ECHO_N!$ECHO_N$ac_delim
! 4457: ECHO_T!$ECHO_T$ac_delim
! 4458: LIBS!$LIBS$ac_delim
! 4459: build_alias!$build_alias$ac_delim
! 4460: host_alias!$host_alias$ac_delim
! 4461: target_alias!$target_alias$ac_delim
! 4462: CC!$CC$ac_delim
! 4463: CFLAGS!$CFLAGS$ac_delim
! 4464: LDFLAGS!$LDFLAGS$ac_delim
! 4465: CPPFLAGS!$CPPFLAGS$ac_delim
! 4466: ac_ct_CC!$ac_ct_CC$ac_delim
! 4467: EXEEXT!$EXEEXT$ac_delim
! 4468: OBJEXT!$OBJEXT$ac_delim
! 4469: RANLIB!$RANLIB$ac_delim
! 4470: MYTARGET!$MYTARGET$ac_delim
! 4471: CPP!$CPP$ac_delim
! 4472: GREP!$GREP$ac_delim
! 4473: EGREP!$EGREP$ac_delim
! 4474: MYTARGET2!$MYTARGET2$ac_delim
! 4475: build!$build$ac_delim
! 4476: build_cpu!$build_cpu$ac_delim
! 4477: build_vendor!$build_vendor$ac_delim
! 4478: build_os!$build_os$ac_delim
! 4479: host!$host$ac_delim
! 4480: host_cpu!$host_cpu$ac_delim
! 4481: host_vendor!$host_vendor$ac_delim
! 4482: host_os!$host_os$ac_delim
! 4483: target!$target$ac_delim
! 4484: target_cpu!$target_cpu$ac_delim
! 4485: target_vendor!$target_vendor$ac_delim
! 4486: target_os!$target_os$ac_delim
! 4487: CFLAG2!$CFLAG2$ac_delim
! 4488: LFLAG2!$LFLAG2$ac_delim
! 4489: LIBOBJS!$LIBOBJS$ac_delim
! 4490: LTLIBOBJS!$LTLIBOBJS$ac_delim
! 4491: _ACEOF
! 4492:
! 4493: if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 66; then
! 4494: break
! 4495: elif $ac_last_try; then
! 4496: { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
! 4497: echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
! 4498: { (exit 1); exit 1; }; }
! 4499: else
! 4500: ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
! 4501: fi
! 4502: done
! 4503:
! 4504: ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
! 4505: if test -n "$ac_eof"; then
! 4506: ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
! 4507: ac_eof=`expr $ac_eof + 1`
! 4508: fi
! 4509:
! 4510: cat >>$CONFIG_STATUS <<_ACEOF
! 4511: cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
! 4512: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
! 4513: _ACEOF
! 4514: sed '
! 4515: s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
! 4516: s/^/s,@/; s/!/@,|#_!!_#|/
! 4517: :n
! 4518: t n
! 4519: s/'"$ac_delim"'$/,g/; t
! 4520: s/$/\\/; p
! 4521: N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
! 4522: ' >>$CONFIG_STATUS <conf$$subs.sed
! 4523: rm -f conf$$subs.sed
! 4524: cat >>$CONFIG_STATUS <<_ACEOF
! 4525: :end
! 4526: s/|#_!!_#|//g
! 4527: CEOF$ac_eof
! 4528: _ACEOF
! 4529:
! 4530:
! 4531: # VPATH may cause trouble with some makes, so we remove $(srcdir),
! 4532: # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
! 4533: # trailing colons and then remove the whole line if VPATH becomes empty
! 4534: # (actually we leave an empty line to preserve line numbers).
! 4535: if test "x$srcdir" = x.; then
! 4536: ac_vpsub='/^[ ]*VPATH[ ]*=/{
! 4537: s/:*\$(srcdir):*/:/
! 4538: s/:*\${srcdir}:*/:/
! 4539: s/:*@srcdir@:*/:/
! 4540: s/^\([^=]*=[ ]*\):*/\1/
! 4541: s/:*$//
! 4542: s/^[^=]*=[ ]*$//
! 4543: }'
! 4544: fi
! 4545:
! 4546: cat >>$CONFIG_STATUS <<\_ACEOF
! 4547: fi # test -n "$CONFIG_FILES"
! 4548:
! 4549:
! 4550: for ac_tag in :F $CONFIG_FILES
! 4551: do
! 4552: case $ac_tag in
! 4553: :[FHLC]) ac_mode=$ac_tag; continue;;
! 4554: esac
! 4555: case $ac_mode$ac_tag in
! 4556: :[FHL]*:*);;
! 4557: :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
! 4558: echo "$as_me: error: Invalid tag $ac_tag." >&2;}
! 4559: { (exit 1); exit 1; }; };;
! 4560: :[FH]-) ac_tag=-:-;;
! 4561: :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
! 4562: esac
! 4563: ac_save_IFS=$IFS
! 4564: IFS=:
! 4565: set x $ac_tag
! 4566: IFS=$ac_save_IFS
! 4567: shift
! 4568: ac_file=$1
! 4569: shift
! 4570:
! 4571: case $ac_mode in
! 4572: :L) ac_source=$1;;
! 4573: :[FH])
! 4574: ac_file_inputs=
! 4575: for ac_f
! 4576: do
! 4577: case $ac_f in
! 4578: -) ac_f="$tmp/stdin";;
! 4579: *) # Look for the file first in the build tree, then in the source tree
! 4580: # (if the path is not absolute). The absolute path cannot be DOS-style,
! 4581: # because $ac_f cannot contain `:'.
! 4582: test -f "$ac_f" ||
! 4583: case $ac_f in
! 4584: [\\/$]*) false;;
! 4585: *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
! 4586: esac ||
! 4587: { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
! 4588: echo "$as_me: error: cannot find input file: $ac_f" >&2;}
! 4589: { (exit 1); exit 1; }; };;
! 4590: esac
! 4591: ac_file_inputs="$ac_file_inputs $ac_f"
! 4592: done
! 4593:
! 4594: # Let's still pretend it is `configure' which instantiates (i.e., don't
! 4595: # use $as_me), people would be surprised to read:
! 4596: # /* config.h. Generated by config.status. */
! 4597: configure_input="Generated from "`IFS=:
! 4598: echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
! 4599: if test x"$ac_file" != x-; then
! 4600: configure_input="$ac_file. $configure_input"
! 4601: { echo "$as_me:$LINENO: creating $ac_file" >&5
! 4602: echo "$as_me: creating $ac_file" >&6;}
! 4603: fi
! 4604:
! 4605: case $ac_tag in
! 4606: *:-:* | *:-) cat >"$tmp/stdin";;
! 4607: esac
! 4608: ;;
! 4609: esac
! 4610:
! 4611: ac_dir=`$as_dirname -- "$ac_file" ||
! 4612: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 4613: X"$ac_file" : 'X\(//\)[^/]' \| \
! 4614: X"$ac_file" : 'X\(//\)$' \| \
! 4615: X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
! 4616: echo X"$ac_file" |
! 4617: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
! 4618: s//\1/
! 4619: q
! 4620: }
! 4621: /^X\(\/\/\)[^/].*/{
! 4622: s//\1/
! 4623: q
! 4624: }
! 4625: /^X\(\/\/\)$/{
! 4626: s//\1/
! 4627: q
! 4628: }
! 4629: /^X\(\/\).*/{
! 4630: s//\1/
! 4631: q
! 4632: }
! 4633: s/.*/./; q'`
! 4634: { as_dir="$ac_dir"
! 4635: case $as_dir in #(
! 4636: -*) as_dir=./$as_dir;;
! 4637: esac
! 4638: test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
! 4639: as_dirs=
! 4640: while :; do
! 4641: case $as_dir in #(
! 4642: *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
! 4643: *) as_qdir=$as_dir;;
! 4644: esac
! 4645: as_dirs="'$as_qdir' $as_dirs"
! 4646: as_dir=`$as_dirname -- "$as_dir" ||
! 4647: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 4648: X"$as_dir" : 'X\(//\)[^/]' \| \
! 4649: X"$as_dir" : 'X\(//\)$' \| \
! 4650: X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
! 4651: echo X"$as_dir" |
! 4652: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
! 4653: s//\1/
! 4654: q
! 4655: }
! 4656: /^X\(\/\/\)[^/].*/{
! 4657: s//\1/
! 4658: q
! 4659: }
! 4660: /^X\(\/\/\)$/{
! 4661: s//\1/
! 4662: q
! 4663: }
! 4664: /^X\(\/\).*/{
! 4665: s//\1/
! 4666: q
! 4667: }
! 4668: s/.*/./; q'`
! 4669: test -d "$as_dir" && break
! 4670: done
! 4671: test -z "$as_dirs" || eval "mkdir $as_dirs"
! 4672: } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
! 4673: echo "$as_me: error: cannot create directory $as_dir" >&2;}
! 4674: { (exit 1); exit 1; }; }; }
! 4675: ac_builddir=.
! 4676:
! 4677: case "$ac_dir" in
! 4678: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
! 4679: *)
! 4680: ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
! 4681: # A ".." for each directory in $ac_dir_suffix.
! 4682: ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
! 4683: case $ac_top_builddir_sub in
! 4684: "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
! 4685: *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
! 4686: esac ;;
! 4687: esac
! 4688: ac_abs_top_builddir=$ac_pwd
! 4689: ac_abs_builddir=$ac_pwd$ac_dir_suffix
! 4690: # for backward compatibility:
! 4691: ac_top_builddir=$ac_top_build_prefix
! 4692:
! 4693: case $srcdir in
! 4694: .) # We are building in place.
! 4695: ac_srcdir=.
! 4696: ac_top_srcdir=$ac_top_builddir_sub
! 4697: ac_abs_top_srcdir=$ac_pwd ;;
! 4698: [\\/]* | ?:[\\/]* ) # Absolute name.
! 4699: ac_srcdir=$srcdir$ac_dir_suffix;
! 4700: ac_top_srcdir=$srcdir
! 4701: ac_abs_top_srcdir=$srcdir ;;
! 4702: *) # Relative name.
! 4703: ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
! 4704: ac_top_srcdir=$ac_top_build_prefix$srcdir
! 4705: ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
! 4706: esac
! 4707: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
! 4708:
! 4709:
! 4710: case $ac_mode in
! 4711: :F)
! 4712: #
! 4713: # CONFIG_FILE
! 4714: #
! 4715:
! 4716: _ACEOF
! 4717:
! 4718: cat >>$CONFIG_STATUS <<\_ACEOF
! 4719: # If the template does not know about datarootdir, expand it.
! 4720: # FIXME: This hack should be removed a few years after 2.60.
! 4721: ac_datarootdir_hack=; ac_datarootdir_seen=
! 4722:
! 4723: case `sed -n '/datarootdir/ {
! 4724: p
! 4725: q
! 4726: }
! 4727: /@datadir@/p
! 4728: /@docdir@/p
! 4729: /@infodir@/p
! 4730: /@localedir@/p
! 4731: /@mandir@/p
! 4732: ' $ac_file_inputs` in
! 4733: *datarootdir*) ac_datarootdir_seen=yes;;
! 4734: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
! 4735: { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
! 4736: echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
! 4737: _ACEOF
! 4738: cat >>$CONFIG_STATUS <<_ACEOF
! 4739: ac_datarootdir_hack='
! 4740: s&@datadir@&$datadir&g
! 4741: s&@docdir@&$docdir&g
! 4742: s&@infodir@&$infodir&g
! 4743: s&@localedir@&$localedir&g
! 4744: s&@mandir@&$mandir&g
! 4745: s&\\\${datarootdir}&$datarootdir&g' ;;
! 4746: esac
! 4747: _ACEOF
! 4748:
! 4749: # Neutralize VPATH when `$srcdir' = `.'.
! 4750: # Shell code in configure.ac might set extrasub.
! 4751: # FIXME: do we really want to maintain this feature?
! 4752: cat >>$CONFIG_STATUS <<_ACEOF
! 4753: sed "$ac_vpsub
! 4754: $extrasub
! 4755: _ACEOF
! 4756: cat >>$CONFIG_STATUS <<\_ACEOF
! 4757: :t
! 4758: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
! 4759: s&@configure_input@&$configure_input&;t t
! 4760: s&@top_builddir@&$ac_top_builddir_sub&;t t
! 4761: s&@srcdir@&$ac_srcdir&;t t
! 4762: s&@abs_srcdir@&$ac_abs_srcdir&;t t
! 4763: s&@top_srcdir@&$ac_top_srcdir&;t t
! 4764: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
! 4765: s&@builddir@&$ac_builddir&;t t
! 4766: s&@abs_builddir@&$ac_abs_builddir&;t t
! 4767: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
! 4768: $ac_datarootdir_hack
! 4769: " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
! 4770:
! 4771: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
! 4772: { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
! 4773: { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
! 4774: { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
! 4775: which seems to be undefined. Please make sure it is defined." >&5
! 4776: echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
! 4777: which seems to be undefined. Please make sure it is defined." >&2;}
! 4778:
! 4779: rm -f "$tmp/stdin"
! 4780: case $ac_file in
! 4781: -) cat "$tmp/out"; rm -f "$tmp/out";;
! 4782: *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
! 4783: esac
! 4784: ;;
! 4785:
! 4786:
! 4787:
! 4788: esac
! 4789:
! 4790: done # for ac_tag
! 4791:
! 4792:
! 4793: { (exit 0); exit 0; }
! 4794: _ACEOF
! 4795: chmod +x $CONFIG_STATUS
! 4796: ac_clean_files=$ac_clean_files_save
! 4797:
! 4798:
! 4799: # configure is writing to config.log, and then calls config.status.
! 4800: # config.status does its own redirection, appending to config.log.
! 4801: # Unfortunately, on DOS this fails, as config.log is still kept open
! 4802: # by configure, so config.status won't be able to write to it; its
! 4803: # output is simply discarded. So we exec the FD to /dev/null,
! 4804: # effectively closing config.log, so it can be properly (re)opened and
! 4805: # appended to by config.status. When coming back to configure, we
! 4806: # need to make the FD available again.
! 4807: if test "$no_create" != yes; then
! 4808: ac_cs_success=:
! 4809: ac_config_status_args=
! 4810: test "$silent" = yes &&
! 4811: ac_config_status_args="$ac_config_status_args --quiet"
! 4812: exec 5>/dev/null
! 4813: $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
! 4814: exec 5>>config.log
! 4815: # Use ||, not &&, to avoid exiting from the if with $? = 1, which
! 4816: # would make configure fail if this is the last instruction.
! 4817: $ac_cs_success || { (exit 1); exit 1; }
! 4818: fi
! 4819:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>