Home | History | Annotate | Download | only in sample
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.60 for [SAMPLE] [x.xx].
      4 #
      5 # Report bugs to <bugs@yourdomain>.
      6 #
      7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
      8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
      9 # This configure script is free software; the Free Software Foundation
     10 # gives unlimited permission to copy, distribute and modify it.
     11 ## --------------------- ##
     12 ## M4sh Initialization.  ##
     13 ## --------------------- ##
     14 
     15 # Be Bourne compatible
     16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     17   emulate sh
     18   NULLCMD=:
     19   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
     20   # is contrary to our usage.  Disable this feature.
     21   alias -g '${1+"$@"}'='"$@"'
     22   setopt NO_GLOB_SUBST
     23 else
     24   case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
     25 fi
     26 BIN_SH=xpg4; export BIN_SH # for Tru64
     27 DUALCASE=1; export DUALCASE # for MKS sh
     28 
     29 
     30 # PATH needs CR
     31 # Avoid depending upon Character Ranges.
     32 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     33 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     34 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     35 as_cr_digits='0123456789'
     36 as_cr_alnum=$as_cr_Letters$as_cr_digits
     37 
     38 # The user is always right.
     39 if test "${PATH_SEPARATOR+set}" != set; then
     40   echo "#! /bin/sh" >conf$$.sh
     41   echo  "exit 0"   >>conf$$.sh
     42   chmod +x conf$$.sh
     43   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
     44     PATH_SEPARATOR=';'
     45   else
     46     PATH_SEPARATOR=:
     47   fi
     48   rm -f conf$$.sh
     49 fi
     50 
     51 # Support unset when possible.
     52 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     53   as_unset=unset
     54 else
     55   as_unset=false
     56 fi
     57 
     58 
     59 # IFS
     60 # We need space, tab and new line, in precisely that order.  Quoting is
     61 # there to prevent editors from complaining about space-tab.
     62 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     63 # splitting by setting IFS to empty value.)
     64 as_nl='
     65 '
     66 IFS=" ""	$as_nl"
     67 
     68 # Find who we are.  Look in the path if we contain no directory separator.
     69 case $0 in
     70   *[\\/]* ) as_myself=$0 ;;
     71   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     72 for as_dir in $PATH
     73 do
     74   IFS=$as_save_IFS
     75   test -z "$as_dir" && as_dir=.
     76   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     77 done
     78 IFS=$as_save_IFS
     79 
     80      ;;
     81 esac
     82 # We did not find ourselves, most probably we were run as `sh COMMAND'
     83 # in which case we are not to be found in the path.
     84 if test "x$as_myself" = x; then
     85   as_myself=$0
     86 fi
     87 if test ! -f "$as_myself"; then
     88   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
     89   { (exit 1); exit 1; }
     90 fi
     91 
     92 # Work around bugs in pre-3.0 UWIN ksh.
     93 for as_var in ENV MAIL MAILPATH
     94 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
     95 done
     96 PS1='$ '
     97 PS2='> '
     98 PS4='+ '
     99 
    100 # NLS nuisances.
    101 for as_var in \
    102   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
    103   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
    104   LC_TELEPHONE LC_TIME
    105 do
    106   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
    107     eval $as_var=C; export $as_var
    108   else
    109     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    110   fi
    111 done
    112 
    113 # Required to use basename.
    114 if expr a : '\(a\)' >/dev/null 2>&1 &&
    115    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    116   as_expr=expr
    117 else
    118   as_expr=false
    119 fi
    120 
    121 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    122   as_basename=basename
    123 else
    124   as_basename=false
    125 fi
    126 
    127 
    128 # Name of the executable.
    129 as_me=`$as_basename -- "$0" ||
    130 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    131 	 X"$0" : 'X\(//\)$' \| \
    132 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    133 echo X/"$0" |
    134     sed '/^.*\/\([^/][^/]*\)\/*$/{
    135 	    s//\1/
    136 	    q
    137 	  }
    138 	  /^X\/\(\/\/\)$/{
    139 	    s//\1/
    140 	    q
    141 	  }
    142 	  /^X\/\(\/\).*/{
    143 	    s//\1/
    144 	    q
    145 	  }
    146 	  s/.*/./; q'`
    147 
    148 # CDPATH.
    149 $as_unset CDPATH
    150 
    151 
    152 if test "x$CONFIG_SHELL" = x; then
    153   if (eval ":") 2>/dev/null; then
    154   as_have_required=yes
    155 else
    156   as_have_required=no
    157 fi
    158 
    159   if test $as_have_required = yes && 	 (eval ":
    160 (as_func_return () {
    161   (exit \$1)
    162 }
    163 as_func_success () {
    164   as_func_return 0
    165 }
    166 as_func_failure () {
    167   as_func_return 1
    168 }
    169 as_func_ret_success () {
    170   return 0
    171 }
    172 as_func_ret_failure () {
    173   return 1
    174 }
    175 
    176 exitcode=0
    177 if as_func_success; then
    178   :
    179 else
    180   exitcode=1
    181   echo as_func_success failed.
    182 fi
    183 
    184 if as_func_failure; then
    185   exitcode=1
    186   echo as_func_failure succeeded.
    187 fi
    188 
    189 if as_func_ret_success; then
    190   :
    191 else
    192   exitcode=1
    193   echo as_func_ret_success failed.
    194 fi
    195 
    196 if as_func_ret_failure; then
    197   exitcode=1
    198   echo as_func_ret_failure succeeded.
    199 fi
    200 
    201 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    202   :
    203 else
    204   exitcode=1
    205   echo positional parameters were not saved.
    206 fi
    207 
    208 test \$exitcode = 0) || { (exit 1); exit 1; }
    209 
    210 (
    211   as_lineno_1=\$LINENO
    212   as_lineno_2=\$LINENO
    213   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
    214   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
    215 ") 2> /dev/null; then
    216   :
    217 else
    218   as_candidate_shells=
    219     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    220 for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    221 do
    222   IFS=$as_save_IFS
    223   test -z "$as_dir" && as_dir=.
    224   case $as_dir in
    225 	 /*)
    226 	   for as_base in sh bash ksh sh5; do
    227 	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
    228 	   done;;
    229        esac
    230 done
    231 IFS=$as_save_IFS
    232 
    233 
    234       for as_shell in $as_candidate_shells $SHELL; do
    235 	 # Try only shells that exist, to save several forks.
    236 	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    237 		{ ("$as_shell") 2> /dev/null <<\_ASEOF
    238 # Be Bourne compatible
    239 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    240   emulate sh
    241   NULLCMD=:
    242   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
    243   # is contrary to our usage.  Disable this feature.
    244   alias -g '${1+"$@"}'='"$@"'
    245   setopt NO_GLOB_SUBST
    246 else
    247   case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
    248 fi
    249 BIN_SH=xpg4; export BIN_SH # for Tru64
    250 DUALCASE=1; export DUALCASE # for MKS sh
    251 
    252 :
    253 _ASEOF
    254 }; then
    255   CONFIG_SHELL=$as_shell
    256 	       as_have_required=yes
    257 	       if { "$as_shell" 2> /dev/null <<\_ASEOF
    258 # Be Bourne compatible
    259 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    260   emulate sh
    261   NULLCMD=:
    262   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
    263   # is contrary to our usage.  Disable this feature.
    264   alias -g '${1+"$@"}'='"$@"'
    265   setopt NO_GLOB_SUBST
    266 else
    267   case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
    268 fi
    269 BIN_SH=xpg4; export BIN_SH # for Tru64
    270 DUALCASE=1; export DUALCASE # for MKS sh
    271 
    272 :
    273 (as_func_return () {
    274   (exit $1)
    275 }
    276 as_func_success () {
    277   as_func_return 0
    278 }
    279 as_func_failure () {
    280   as_func_return 1
    281 }
    282 as_func_ret_success () {
    283   return 0
    284 }
    285 as_func_ret_failure () {
    286   return 1
    287 }
    288 
    289 exitcode=0
    290 if as_func_success; then
    291   :
    292 else
    293   exitcode=1
    294   echo as_func_success failed.
    295 fi
    296 
    297 if as_func_failure; then
    298   exitcode=1
    299   echo as_func_failure succeeded.
    300 fi
    301 
    302 if as_func_ret_success; then
    303   :
    304 else
    305   exitcode=1
    306   echo as_func_ret_success failed.
    307 fi
    308 
    309 if as_func_ret_failure; then
    310   exitcode=1
    311   echo as_func_ret_failure succeeded.
    312 fi
    313 
    314 if ( set x; as_func_ret_success y && test x = "$1" ); then
    315   :
    316 else
    317   exitcode=1
    318   echo positional parameters were not saved.
    319 fi
    320 
    321 test $exitcode = 0) || { (exit 1); exit 1; }
    322 
    323 (
    324   as_lineno_1=$LINENO
    325   as_lineno_2=$LINENO
    326   test "x$as_lineno_1" != "x$as_lineno_2" &&
    327   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
    328 
    329 _ASEOF
    330 }; then
    331   break
    332 fi
    333 
    334 fi
    335 
    336       done
    337 
    338       if test "x$CONFIG_SHELL" != x; then
    339   for as_var in BASH_ENV ENV
    340         do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    341         done
    342         export CONFIG_SHELL
    343         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
    344 fi
    345 
    346 
    347     if test $as_have_required = no; then
    348   echo This script requires a shell more modern than all the
    349       echo shells that I found on your system.  Please install a
    350       echo modern shell, or manually run the script under such a
    351       echo shell if you do have one.
    352       { (exit 1); exit 1; }
    353 fi
    354 
    355 
    356 fi
    357 
    358 fi
    359 
    360 
    361 
    362 (eval "as_func_return () {
    363   (exit \$1)
    364 }
    365 as_func_success () {
    366   as_func_return 0
    367 }
    368 as_func_failure () {
    369   as_func_return 1
    370 }
    371 as_func_ret_success () {
    372   return 0
    373 }
    374 as_func_ret_failure () {
    375   return 1
    376 }
    377 
    378 exitcode=0
    379 if as_func_success; then
    380   :
    381 else
    382   exitcode=1
    383   echo as_func_success failed.
    384 fi
    385 
    386 if as_func_failure; then
    387   exitcode=1
    388   echo as_func_failure succeeded.
    389 fi
    390 
    391 if as_func_ret_success; then
    392   :
    393 else
    394   exitcode=1
    395   echo as_func_ret_success failed.
    396 fi
    397 
    398 if as_func_ret_failure; then
    399   exitcode=1
    400   echo as_func_ret_failure succeeded.
    401 fi
    402 
    403 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    404   :
    405 else
    406   exitcode=1
    407   echo positional parameters were not saved.
    408 fi
    409 
    410 test \$exitcode = 0") || {
    411   echo No shell found that supports shell functions.
    412   echo Please tell autoconf@gnu.org about your system,
    413   echo including any error possibly output before this
    414   echo message
    415 }
    416 
    417 
    418 
    419   as_lineno_1=$LINENO
    420   as_lineno_2=$LINENO
    421   test "x$as_lineno_1" != "x$as_lineno_2" &&
    422   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
    423 
    424   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    425   # uniformly replaced by the line number.  The first 'sed' inserts a
    426   # line-number line after each line using $LINENO; the second 'sed'
    427   # does the real work.  The second script uses 'N' to pair each
    428   # line-number line with the line containing $LINENO, and appends
    429   # trailing '-' during substitution so that $LINENO is not a special
    430   # case at line end.
    431   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    432   # scripts with optimization help from Paolo Bonzini.  Blame Lee
    433   # E. McMahon (1931-1989) for sed's syntax.  :-)
    434   sed -n '
    435     p
    436     /[$]LINENO/=
    437   ' <$as_myself |
    438     sed '
    439       s/[$]LINENO.*/&-/
    440       t lineno
    441       b
    442       :lineno
    443       N
    444       :loop
    445       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    446       t loop
    447       s/-\n.*//
    448     ' >$as_me.lineno &&
    449   chmod +x "$as_me.lineno" ||
    450     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    451    { (exit 1); exit 1; }; }
    452 
    453   # Don't try to exec as it changes $[0], causing all sort of problems
    454   # (the dirname of $[0] is not the place where we might find the
    455   # original and so on.  Autoconf is especially sensitive to this).
    456   . "./$as_me.lineno"
    457   # Exit status is that of the last command.
    458   exit
    459 }
    460 
    461 
    462 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    463   as_dirname=dirname
    464 else
    465   as_dirname=false
    466 fi
    467 
    468 ECHO_C= ECHO_N= ECHO_T=
    469 case `echo -n x` in
    470 -n*)
    471   case `echo 'x\c'` in
    472   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    473   *)   ECHO_C='\c';;
    474   esac;;
    475 *)
    476   ECHO_N='-n';;
    477 esac
    478 
    479 if expr a : '\(a\)' >/dev/null 2>&1 &&
    480    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    481   as_expr=expr
    482 else
    483   as_expr=false
    484 fi
    485 
    486 rm -f conf$$ conf$$.exe conf$$.file
    487 if test -d conf$$.dir; then
    488   rm -f conf$$.dir/conf$$.file
    489 else
    490   rm -f conf$$.dir
    491   mkdir conf$$.dir
    492 fi
    493 echo >conf$$.file
    494 if ln -s conf$$.file conf$$ 2>/dev/null; then
    495   as_ln_s='ln -s'
    496   # ... but there are two gotchas:
    497   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    498   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    499   # In both cases, we have to default to `cp -p'.
    500   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    501     as_ln_s='cp -p'
    502 elif ln conf$$.file conf$$ 2>/dev/null; then
    503   as_ln_s=ln
    504 else
    505   as_ln_s='cp -p'
    506 fi
    507 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    508 rmdir conf$$.dir 2>/dev/null
    509 
    510 if mkdir -p . 2>/dev/null; then
    511   as_mkdir_p=:
    512 else
    513   test -d ./-p && rmdir ./-p
    514   as_mkdir_p=false
    515 fi
    516 
    517 # Find out whether ``test -x'' works.  Don't use a zero-byte file, as
    518 # systems may use methods other than mode bits to determine executability.
    519 cat >conf$$.file <<_ASEOF
    520 #! /bin/sh
    521 exit 0
    522 _ASEOF
    523 chmod +x conf$$.file
    524 if test -x conf$$.file >/dev/null 2>&1; then
    525   as_executable_p="test -x"
    526 else
    527   as_executable_p=:
    528 fi
    529 rm -f conf$$.file
    530 
    531 # Sed expression to map a string onto a valid CPP name.
    532 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    533 
    534 # Sed expression to map a string onto a valid variable name.
    535 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    536 
    537 
    538 
    539 exec 7<&0 </dev/null 6>&1
    540 
    541 # Name of the host.
    542 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
    543 # so uname gets run too.
    544 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    545 
    546 #
    547 # Initializations.
    548 #
    549 ac_default_prefix=/usr/local
    550 ac_clean_files=
    551 ac_config_libobj_dir=.
    552 LIBOBJS=
    553 cross_compiling=no
    554 subdirs=
    555 MFLAGS=
    556 MAKEFLAGS=
    557 SHELL=${CONFIG_SHELL-/bin/sh}
    558 
    559 # Identity of this package.
    560 PACKAGE_NAME='[SAMPLE]'
    561 PACKAGE_TARNAME='--sample--'
    562 PACKAGE_VERSION='[x.xx]'
    563 PACKAGE_STRING='[SAMPLE] [x.xx]'
    564 PACKAGE_BUGREPORT='bugs@yourdomain'
    565 
    566 ac_unique_file=""Makefile.common.in""
    567 # Factoring default headers for most tests.
    568 ac_includes_default="\
    569 #include <stdio.h>
    570 #if HAVE_SYS_TYPES_H
    571 # include <sys/types.h>
    572 #endif
    573 #if HAVE_SYS_STAT_H
    574 # include <sys/stat.h>
    575 #endif
    576 #if STDC_HEADERS
    577 # include <stdlib.h>
    578 # include <stddef.h>
    579 #else
    580 # if HAVE_STDLIB_H
    581 #  include <stdlib.h>
    582 # endif
    583 #endif
    584 #if HAVE_STRING_H
    585 # if !STDC_HEADERS && HAVE_MEMORY_H
    586 #  include <memory.h>
    587 # endif
    588 # include <string.h>
    589 #endif
    590 #if HAVE_STRINGS_H
    591 # include <strings.h>
    592 #endif
    593 #if HAVE_INTTYPES_H
    594 # include <inttypes.h>
    595 #endif
    596 #if HAVE_STDINT_H
    597 # include <stdint.h>
    598 #endif
    599 #if HAVE_UNISTD_H
    600 # include <unistd.h>
    601 #endif"
    602 
    603 ac_subst_vars='SHELL
    604 PATH_SEPARATOR
    605 PACKAGE_NAME
    606 PACKAGE_TARNAME
    607 PACKAGE_VERSION
    608 PACKAGE_STRING
    609 PACKAGE_BUGREPORT
    610 exec_prefix
    611 prefix
    612 program_transform_name
    613 bindir
    614 sbindir
    615 libexecdir
    616 datarootdir
    617 datadir
    618 sysconfdir
    619 sharedstatedir
    620 localstatedir
    621 includedir
    622 oldincludedir
    623 docdir
    624 infodir
    625 htmldir
    626 dvidir
    627 pdfdir
    628 psdir
    629 libdir
    630 localedir
    631 mandir
    632 DEFS
    633 ECHO_C
    634 ECHO_N
    635 ECHO_T
    636 LIBS
    637 build_alias
    638 host_alias
    639 target_alias
    640 LLVM_SRC
    641 LLVM_OBJ
    642 LLVM_VERSION
    643 CC
    644 CFLAGS
    645 LDFLAGS
    646 CPPFLAGS
    647 ac_ct_CC
    648 EXEEXT
    649 OBJEXT
    650 CXX
    651 CXXFLAGS
    652 ac_ct_CXX
    653 CPP
    654 ENABLE_POLLY
    655 LLVM_HAS_POLLY
    656 subdirs
    657 build
    658 build_cpu
    659 build_vendor
    660 build_os
    661 host
    662 host_cpu
    663 host_vendor
    664 host_os
    665 target
    666 target_cpu
    667 target_vendor
    668 target_os
    669 OS
    670 HOST_OS
    671 TARGET_OS
    672 LINKALL
    673 NOLINKALL
    674 LLVM_ON_UNIX
    675 LLVM_ON_WIN32
    676 ARCH
    677 ENDIAN
    678 GREP
    679 EGREP
    680 LLVM_CROSS_COMPILING
    681 BUILD_CC
    682 BUILD_EXEEXT
    683 BUILD_CXX
    684 CVSBUILD
    685 ENABLE_OPTIMIZED
    686 ENABLE_PROFILING
    687 DISABLE_ASSERTIONS
    688 ENABLE_EXPENSIVE_CHECKS
    689 EXPENSIVE_CHECKS
    690 DEBUG_RUNTIME
    691 DEBUG_SYMBOLS
    692 JIT
    693 TARGET_HAS_JIT
    694 ENABLE_DOCS
    695 ENABLE_DOXYGEN
    696 ENABLE_THREADS
    697 ENABLE_PTHREADS
    698 ENABLE_PIC
    699 ENABLE_SHARED
    700 ENABLE_EMBED_STDCXX
    701 ENABLE_TIMESTAMPS
    702 TARGETS_TO_BUILD
    703 LLVM_ENUM_TARGETS
    704 LLVM_ENUM_ASM_PRINTERS
    705 LLVM_ENUM_ASM_PARSERS
    706 LLVM_ENUM_DISASSEMBLERS
    707 ENABLE_CBE_PRINTF_A
    708 OPTIMIZE_OPTION
    709 EXTRA_OPTIONS
    710 EXTRA_LD_OPTIONS
    711 BINUTILS_INCDIR
    712 NM
    713 ifGNUmake
    714 LN_S
    715 CMP
    716 CP
    717 DATE
    718 FIND
    719 MKDIR
    720 MV
    721 RANLIB
    722 AR
    723 RM
    724 SED
    725 TAR
    726 BINPWD
    727 GRAPHVIZ
    728 DOT
    729 FDP
    730 NEATO
    731 TWOPI
    732 CIRCO
    733 GV
    734 DOTTY
    735 XDOT_PY
    736 PERL
    737 HAVE_PERL
    738 INSTALL_PROGRAM
    739 INSTALL_SCRIPT
    740 INSTALL_DATA
    741 BZIP2
    742 CAT
    743 DOXYGEN
    744 GROFF
    745 GZIPBIN
    746 POD2HTML
    747 POD2MAN
    748 PDFROFF
    749 RUNTEST
    750 TCLSH
    751 ZIP
    752 OCAMLC
    753 OCAMLOPT
    754 OCAMLDEP
    755 OCAMLDOC
    756 GAS
    757 HAVE_LINK_VERSION_SCRIPT
    758 INSTALL_LTDL_TRUE
    759 INSTALL_LTDL_FALSE
    760 CONVENIENCE_LTDL_TRUE
    761 CONVENIENCE_LTDL_FALSE
    762 LIBADD_DL
    763 NO_VARIADIC_MACROS
    764 NO_MISSING_FIELD_INITIALIZERS
    765 USE_UDIS86
    766 USE_OPROFILE
    767 HAVE_PTHREAD
    768 HUGE_VAL_SANITY
    769 MMAP_FILE
    770 SHLIBEXT
    771 SHLIBPATH_VAR
    772 LLVM_PREFIX
    773 LLVM_BINDIR
    774 LLVM_LIBDIR
    775 LLVM_DATADIR
    776 LLVM_DOCSDIR
    777 LLVM_ETCDIR
    778 LLVM_INCLUDEDIR
    779 LLVM_INFODIR
    780 LLVM_MANDIR
    781 LLVM_CONFIGTIME
    782 BINDINGS_TO_BUILD
    783 ALL_BINDINGS
    784 OCAML_LIBDIR
    785 ENABLE_VISIBILITY_INLINES_HIDDEN
    786 RPATH
    787 RDYNAMIC
    788 LIBOBJS
    789 LTLIBOBJS'
    790 ac_subst_files=''
    791       ac_precious_vars='build_alias
    792 host_alias
    793 target_alias
    794 CC
    795 CFLAGS
    796 LDFLAGS
    797 CPPFLAGS
    798 CXX
    799 CXXFLAGS
    800 CCC
    801 CPP'
    802 ac_subdirs_all='tools/polly'
    803 
    804 # Initialize some variables set by options.
    805 ac_init_help=
    806 ac_init_version=false
    807 # The variables have the same names as the options, with
    808 # dashes changed to underlines.
    809 cache_file=/dev/null
    810 exec_prefix=NONE
    811 no_create=
    812 no_recursion=
    813 prefix=NONE
    814 program_prefix=NONE
    815 program_suffix=NONE
    816 program_transform_name=s,x,x,
    817 silent=
    818 site=
    819 srcdir=
    820 verbose=
    821 x_includes=NONE
    822 x_libraries=NONE
    823 
    824 # Installation directory options.
    825 # These are left unexpanded so users can "make install exec_prefix=/foo"
    826 # and all the variables that are supposed to be based on exec_prefix
    827 # by default will actually change.
    828 # Use braces instead of parens because sh, perl, etc. also accept them.
    829 # (The list follows the same order as the GNU Coding Standards.)
    830 bindir='${exec_prefix}/bin'
    831 sbindir='${exec_prefix}/sbin'
    832 libexecdir='${exec_prefix}/libexec'
    833 datarootdir='${prefix}/share'
    834 datadir='${datarootdir}'
    835 sysconfdir='${prefix}/etc'
    836 sharedstatedir='${prefix}/com'
    837 localstatedir='${prefix}/var'
    838 includedir='${prefix}/include'
    839 oldincludedir='/usr/include'
    840 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    841 infodir='${datarootdir}/info'
    842 htmldir='${docdir}'
    843 dvidir='${docdir}'
    844 pdfdir='${docdir}'
    845 psdir='${docdir}'
    846 libdir='${exec_prefix}/lib'
    847 localedir='${datarootdir}/locale'
    848 mandir='${datarootdir}/man'
    849 
    850 ac_prev=
    851 ac_dashdash=
    852 for ac_option
    853 do
    854   # If the previous option needs an argument, assign it.
    855   if test -n "$ac_prev"; then
    856     eval $ac_prev=\$ac_option
    857     ac_prev=
    858     continue
    859   fi
    860 
    861   case $ac_option in
    862   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    863   *)	ac_optarg=yes ;;
    864   esac
    865 
    866   # Accept the important Cygnus configure options, so we can diagnose typos.
    867 
    868   case $ac_dashdash$ac_option in
    869   --)
    870     ac_dashdash=yes ;;
    871 
    872   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    873     ac_prev=bindir ;;
    874   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    875     bindir=$ac_optarg ;;
    876 
    877   -build | --build | --buil | --bui | --bu)
    878     ac_prev=build_alias ;;
    879   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    880     build_alias=$ac_optarg ;;
    881 
    882   -cache-file | --cache-file | --cache-fil | --cache-fi \
    883   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    884     ac_prev=cache_file ;;
    885   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    886   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    887     cache_file=$ac_optarg ;;
    888 
    889   --config-cache | -C)
    890     cache_file=config.cache ;;
    891 
    892   -datadir | --datadir | --datadi | --datad)
    893     ac_prev=datadir ;;
    894   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    895     datadir=$ac_optarg ;;
    896 
    897   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    898   | --dataroo | --dataro | --datar)
    899     ac_prev=datarootdir ;;
    900   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    901   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    902     datarootdir=$ac_optarg ;;
    903 
    904   -disable-* | --disable-*)
    905     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    906     # Reject names that are not valid shell variable names.
    907     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    908       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
    909    { (exit 1); exit 1; }; }
    910     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
    911     eval enable_$ac_feature=no ;;
    912 
    913   -docdir | --docdir | --docdi | --doc | --do)
    914     ac_prev=docdir ;;
    915   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    916     docdir=$ac_optarg ;;
    917 
    918   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    919     ac_prev=dvidir ;;
    920   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    921     dvidir=$ac_optarg ;;
    922 
    923   -enable-* | --enable-*)
    924     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    925     # Reject names that are not valid shell variable names.
    926     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    927       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
    928    { (exit 1); exit 1; }; }
    929     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
    930     eval enable_$ac_feature=\$ac_optarg ;;
    931 
    932   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    933   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    934   | --exec | --exe | --ex)
    935     ac_prev=exec_prefix ;;
    936   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    937   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    938   | --exec=* | --exe=* | --ex=*)
    939     exec_prefix=$ac_optarg ;;
    940 
    941   -gas | --gas | --ga | --g)
    942     # Obsolete; use --with-gas.
    943     with_gas=yes ;;
    944 
    945   -help | --help | --hel | --he | -h)
    946     ac_init_help=long ;;
    947   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    948     ac_init_help=recursive ;;
    949   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    950     ac_init_help=short ;;
    951 
    952   -host | --host | --hos | --ho)
    953     ac_prev=host_alias ;;
    954   -host=* | --host=* | --hos=* | --ho=*)
    955     host_alias=$ac_optarg ;;
    956 
    957   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    958     ac_prev=htmldir ;;
    959   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    960   | --ht=*)
    961     htmldir=$ac_optarg ;;
    962 
    963   -includedir | --includedir | --includedi | --included | --include \
    964   | --includ | --inclu | --incl | --inc)
    965     ac_prev=includedir ;;
    966   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    967   | --includ=* | --inclu=* | --incl=* | --inc=*)
    968     includedir=$ac_optarg ;;
    969 
    970   -infodir | --infodir | --infodi | --infod | --info | --inf)
    971     ac_prev=infodir ;;
    972   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    973     infodir=$ac_optarg ;;
    974 
    975   -libdir | --libdir | --libdi | --libd)
    976     ac_prev=libdir ;;
    977   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    978     libdir=$ac_optarg ;;
    979 
    980   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    981   | --libexe | --libex | --libe)
    982     ac_prev=libexecdir ;;
    983   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    984   | --libexe=* | --libex=* | --libe=*)
    985     libexecdir=$ac_optarg ;;
    986 
    987   -localedir | --localedir | --localedi | --localed | --locale)
    988     ac_prev=localedir ;;
    989   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    990     localedir=$ac_optarg ;;
    991 
    992   -localstatedir | --localstatedir | --localstatedi | --localstated \
    993   | --localstate | --localstat | --localsta | --localst | --locals)
    994     ac_prev=localstatedir ;;
    995   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    996   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    997     localstatedir=$ac_optarg ;;
    998 
    999   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1000     ac_prev=mandir ;;
   1001   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1002     mandir=$ac_optarg ;;
   1003 
   1004   -nfp | --nfp | --nf)
   1005     # Obsolete; use --without-fp.
   1006     with_fp=no ;;
   1007 
   1008   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1009   | --no-cr | --no-c | -n)
   1010     no_create=yes ;;
   1011 
   1012   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1013   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1014     no_recursion=yes ;;
   1015 
   1016   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1017   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1018   | --oldin | --oldi | --old | --ol | --o)
   1019     ac_prev=oldincludedir ;;
   1020   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1021   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1022   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1023     oldincludedir=$ac_optarg ;;
   1024 
   1025   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1026     ac_prev=prefix ;;
   1027   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1028     prefix=$ac_optarg ;;
   1029 
   1030   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1031   | --program-pre | --program-pr | --program-p)
   1032     ac_prev=program_prefix ;;
   1033   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1034   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1035     program_prefix=$ac_optarg ;;
   1036 
   1037   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1038   | --program-suf | --program-su | --program-s)
   1039     ac_prev=program_suffix ;;
   1040   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1041   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1042     program_suffix=$ac_optarg ;;
   1043 
   1044   -program-transform-name | --program-transform-name \
   1045   | --program-transform-nam | --program-transform-na \
   1046   | --program-transform-n | --program-transform- \
   1047   | --program-transform | --program-transfor \
   1048   | --program-transfo | --program-transf \
   1049   | --program-trans | --program-tran \
   1050   | --progr-tra | --program-tr | --program-t)
   1051     ac_prev=program_transform_name ;;
   1052   -program-transform-name=* | --program-transform-name=* \
   1053   | --program-transform-nam=* | --program-transform-na=* \
   1054   | --program-transform-n=* | --program-transform-=* \
   1055   | --program-transform=* | --program-transfor=* \
   1056   | --program-transfo=* | --program-transf=* \
   1057   | --program-trans=* | --program-tran=* \
   1058   | --progr-tra=* | --program-tr=* | --program-t=*)
   1059     program_transform_name=$ac_optarg ;;
   1060 
   1061   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1062     ac_prev=pdfdir ;;
   1063   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1064     pdfdir=$ac_optarg ;;
   1065 
   1066   -psdir | --psdir | --psdi | --psd | --ps)
   1067     ac_prev=psdir ;;
   1068   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1069     psdir=$ac_optarg ;;
   1070 
   1071   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1072   | -silent | --silent | --silen | --sile | --sil)
   1073     silent=yes ;;
   1074 
   1075   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1076     ac_prev=sbindir ;;
   1077   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1078   | --sbi=* | --sb=*)
   1079     sbindir=$ac_optarg ;;
   1080 
   1081   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1082   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1083   | --sharedst | --shareds | --shared | --share | --shar \
   1084   | --sha | --sh)
   1085     ac_prev=sharedstatedir ;;
   1086   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1087   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1088   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1089   | --sha=* | --sh=*)
   1090     sharedstatedir=$ac_optarg ;;
   1091 
   1092   -site | --site | --sit)
   1093     ac_prev=site ;;
   1094   -site=* | --site=* | --sit=*)
   1095     site=$ac_optarg ;;
   1096 
   1097   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1098     ac_prev=srcdir ;;
   1099   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1100     srcdir=$ac_optarg ;;
   1101 
   1102   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1103   | --syscon | --sysco | --sysc | --sys | --sy)
   1104     ac_prev=sysconfdir ;;
   1105   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1106   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1107     sysconfdir=$ac_optarg ;;
   1108 
   1109   -target | --target | --targe | --targ | --tar | --ta | --t)
   1110     ac_prev=target_alias ;;
   1111   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1112     target_alias=$ac_optarg ;;
   1113 
   1114   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1115     verbose=yes ;;
   1116 
   1117   -version | --version | --versio | --versi | --vers | -V)
   1118     ac_init_version=: ;;
   1119 
   1120   -with-* | --with-*)
   1121     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1122     # Reject names that are not valid shell variable names.
   1123     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
   1124       { echo "$as_me: error: invalid package name: $ac_package" >&2
   1125    { (exit 1); exit 1; }; }
   1126     ac_package=`echo $ac_package| sed 's/-/_/g'`
   1127     eval with_$ac_package=\$ac_optarg ;;
   1128 
   1129   -without-* | --without-*)
   1130     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1131     # Reject names that are not valid shell variable names.
   1132     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
   1133       { echo "$as_me: error: invalid package name: $ac_package" >&2
   1134    { (exit 1); exit 1; }; }
   1135     ac_package=`echo $ac_package | sed 's/-/_/g'`
   1136     eval with_$ac_package=no ;;
   1137 
   1138   --x)
   1139     # Obsolete; use --with-x.
   1140     with_x=yes ;;
   1141 
   1142   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1143   | --x-incl | --x-inc | --x-in | --x-i)
   1144     ac_prev=x_includes ;;
   1145   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1146   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1147     x_includes=$ac_optarg ;;
   1148 
   1149   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1150   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1151     ac_prev=x_libraries ;;
   1152   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1153   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1154     x_libraries=$ac_optarg ;;
   1155 
   1156   -*) { echo "$as_me: error: unrecognized option: $ac_option
   1157 Try \`$0 --help' for more information." >&2
   1158    { (exit 1); exit 1; }; }
   1159     ;;
   1160 
   1161   *=*)
   1162     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1163     # Reject names that are not valid shell variable names.
   1164     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
   1165       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
   1166    { (exit 1); exit 1; }; }
   1167     eval $ac_envvar=\$ac_optarg
   1168     export $ac_envvar ;;
   1169 
   1170   *)
   1171     # FIXME: should be removed in autoconf 3.0.
   1172     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1173     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1174       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1175     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
   1176     ;;
   1177 
   1178   esac
   1179 done
   1180 
   1181 if test -n "$ac_prev"; then
   1182   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1183   { echo "$as_me: error: missing argument to $ac_option" >&2
   1184    { (exit 1); exit 1; }; }
   1185 fi
   1186 
   1187 # Be sure to have absolute directory names.
   1188 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1189 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1190 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1191 		libdir localedir mandir
   1192 do
   1193   eval ac_val=\$$ac_var
   1194   case $ac_val in
   1195     [\\/$]* | ?:[\\/]* )  continue;;
   1196     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1197   esac
   1198   { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
   1199    { (exit 1); exit 1; }; }
   1200 done
   1201 
   1202 # There might be people who depend on the old broken behavior: `$host'
   1203 # used to hold the argument of --host etc.
   1204 # FIXME: To remove some day.
   1205 build=$build_alias
   1206 host=$host_alias
   1207 target=$target_alias
   1208 
   1209 # FIXME: To remove some day.
   1210 if test "x$host_alias" != x; then
   1211   if test "x$build_alias" = x; then
   1212     cross_compiling=maybe
   1213     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
   1214     If a cross compiler is detected then cross compile mode will be used." >&2
   1215   elif test "x$build_alias" != "x$host_alias"; then
   1216     cross_compiling=yes
   1217   fi
   1218 fi
   1219 
   1220 ac_tool_prefix=
   1221 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1222 
   1223 test "$silent" = yes && exec 6>/dev/null
   1224 
   1225 
   1226 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1227 ac_ls_di=`ls -di .` &&
   1228 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1229   { echo "$as_me: error: Working directory cannot be determined" >&2
   1230    { (exit 1); exit 1; }; }
   1231 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1232   { echo "$as_me: error: pwd does not report name of working directory" >&2
   1233    { (exit 1); exit 1; }; }
   1234 
   1235 
   1236 # Find the source files, if location was not specified.
   1237 if test -z "$srcdir"; then
   1238   ac_srcdir_defaulted=yes
   1239   # Try the directory containing this script, then the parent directory.
   1240   ac_confdir=`$as_dirname -- "$0" ||
   1241 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1242 	 X"$0" : 'X\(//\)[^/]' \| \
   1243 	 X"$0" : 'X\(//\)$' \| \
   1244 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   1245 echo X"$0" |
   1246     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1247 	    s//\1/
   1248 	    q
   1249 	  }
   1250 	  /^X\(\/\/\)[^/].*/{
   1251 	    s//\1/
   1252 	    q
   1253 	  }
   1254 	  /^X\(\/\/\)$/{
   1255 	    s//\1/
   1256 	    q
   1257 	  }
   1258 	  /^X\(\/\).*/{
   1259 	    s//\1/
   1260 	    q
   1261 	  }
   1262 	  s/.*/./; q'`
   1263   srcdir=$ac_confdir
   1264   if test ! -r "$srcdir/$ac_unique_file"; then
   1265     srcdir=..
   1266   fi
   1267 else
   1268   ac_srcdir_defaulted=no
   1269 fi
   1270 if test ! -r "$srcdir/$ac_unique_file"; then
   1271   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1272   { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
   1273    { (exit 1); exit 1; }; }
   1274 fi
   1275 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1276 ac_abs_confdir=`(
   1277 	cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
   1278    { (exit 1); exit 1; }; }
   1279 	pwd)`
   1280 # When building in place, set srcdir=.
   1281 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1282   srcdir=.
   1283 fi
   1284 # Remove unnecessary trailing slashes from srcdir.
   1285 # Double slashes in file names in object file debugging info
   1286 # mess up M-x gdb in Emacs.
   1287 case $srcdir in
   1288 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1289 esac
   1290 for ac_var in $ac_precious_vars; do
   1291   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1292   eval ac_env_${ac_var}_value=\$${ac_var}
   1293   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1294   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1295 done
   1296 
   1297 #
   1298 # Report the --help message.
   1299 #
   1300 if test "$ac_init_help" = "long"; then
   1301   # Omit some internal or obsolete options to make the list less imposing.
   1302   # This message is too long to be a string in the A/UX 3.1 sh.
   1303   cat <<_ACEOF
   1304 \`configure' configures [SAMPLE] [x.xx] to adapt to many kinds of systems.
   1305 
   1306 Usage: $0 [OPTION]... [VAR=VALUE]...
   1307 
   1308 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1309 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1310 
   1311 Defaults for the options are specified in brackets.
   1312 
   1313 Configuration:
   1314   -h, --help              display this help and exit
   1315       --help=short        display options specific to this package
   1316       --help=recursive    display the short help of all the included packages
   1317   -V, --version           display version information and exit
   1318   -q, --quiet, --silent   do not print \`checking...' messages
   1319       --cache-file=FILE   cache test results in FILE [disabled]
   1320   -C, --config-cache      alias for \`--cache-file=config.cache'
   1321   -n, --no-create         do not create output files
   1322       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1323 
   1324 Installation directories:
   1325   --prefix=PREFIX         install architecture-independent files in PREFIX
   1326 			  [$ac_default_prefix]
   1327   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1328 			  [PREFIX]
   1329 
   1330 By default, \`make install' will install all the files in
   1331 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1332 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1333 for instance \`--prefix=\$HOME'.
   1334 
   1335 For better control, use the options below.
   1336 
   1337 Fine tuning of the installation directories:
   1338   --bindir=DIR           user executables [EPREFIX/bin]
   1339   --sbindir=DIR          system admin executables [EPREFIX/sbin]
   1340   --libexecdir=DIR       program executables [EPREFIX/libexec]
   1341   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
   1342   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
   1343   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
   1344   --libdir=DIR           object code libraries [EPREFIX/lib]
   1345   --includedir=DIR       C header files [PREFIX/include]
   1346   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
   1347   --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
   1348   --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
   1349   --infodir=DIR          info documentation [DATAROOTDIR/info]
   1350   --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
   1351   --mandir=DIR           man documentation [DATAROOTDIR/man]
   1352   --docdir=DIR           documentation root [DATAROOTDIR/doc/--sample--]
   1353   --htmldir=DIR          html documentation [DOCDIR]
   1354   --dvidir=DIR           dvi documentation [DOCDIR]
   1355   --pdfdir=DIR           pdf documentation [DOCDIR]
   1356   --psdir=DIR            ps documentation [DOCDIR]
   1357 _ACEOF
   1358 
   1359   cat <<\_ACEOF
   1360 
   1361 System types:
   1362   --build=BUILD     configure for building on BUILD [guessed]
   1363   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1364   --target=TARGET   configure for building compilers for TARGET [HOST]
   1365 _ACEOF
   1366 fi
   1367 
   1368 if test -n "$ac_init_help"; then
   1369   case $ac_init_help in
   1370      short | recursive ) echo "Configuration of [SAMPLE] [x.xx]:";;
   1371    esac
   1372   cat <<\_ACEOF
   1373 
   1374 Optional Features:
   1375   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1376   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1377   --enable-polly          Use polly if available (default is YES)
   1378   --enable-optimized      Compile with optimizations enabled (default is NO)
   1379   --enable-profiling      Compile with profiling enabled (default is NO)
   1380   --enable-assertions     Compile with assertion checks enabled (default is
   1381                           YES)
   1382   --enable-expensive-checks
   1383                           Compile with expensive debug checks enabled (default
   1384                           is NO)
   1385   --enable-debug-runtime  Build runtime libs with debug symbols (default is
   1386                           NO)
   1387   --enable-debug-symbols  Build compiler with debug symbols (default is NO if
   1388                           optimization is on and YES if it's off)
   1389   --enable-jit            Enable Just In Time Compiling (default is YES)
   1390   --enable-docs           Build documents (default is YES)
   1391   --enable-doxygen        Build doxygen documentation (default is NO)
   1392   --enable-threads        Use threads if available (default is YES)
   1393   --enable-pthreads       Use pthreads if available (default is YES)
   1394   --enable-pic            Build LLVM with Position Independent Code (default
   1395                           is YES)
   1396   --enable-shared         Build a shared library and link tools against it
   1397                           (default is NO)
   1398   --enable-embed-stdcxx   Build a shared library with embedded libstdc++ for
   1399                           Win32 DLL (default is YES)
   1400   --enable-timestamps     Enable embedding timestamp information in build
   1401                           (default is YES)
   1402   --enable-targets        Build specific host targets: all or
   1403                           target1,target2,... Valid targets are: host, x86,
   1404                           x86_64, sparc, powerpc, alpha, arm, mips, spu,
   1405                           xcore, msp430, systemz, blackfin, ptx, cbe, and cpp
   1406                           (default=all)
   1407   --enable-cbe-printf-a   Enable C Backend output with hex floating point via
   1408                           %a (default is YES)
   1409   --enable-bindings       Build specific language bindings:
   1410                           all,auto,none,{binding-name} (default=auto)
   1411   --enable-libffi         Check for the presence of libffi (default is NO)
   1412   --enable-ltdl-install   install libltdl
   1413 
   1414 Optional Packages:
   1415   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1416   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1417   --with-llvmsrc          Location of LLVM Source Code
   1418   --with-llvmobj          Location of LLVM Object Code
   1419   --with-optimize-option  Select the compiler options to use for optimized
   1420                           builds
   1421   --with-extra-options    Specify additional options to compile LLVM with
   1422   --with-extra-ld-options Specify additional options to link LLVM with
   1423   --with-ocaml-libdir     Specify install location for ocaml bindings (default
   1424                           is stdlib)
   1425   --with-clang-resource-dir
   1426                           Relative directory from the Clang binary for
   1427                           resource files
   1428   --with-c-include-dirs   Colon separated list of directories clang will
   1429                           search for headers
   1430   --with-cxx-include-root Directory with the libstdc++ headers.
   1431   --with-cxx-include-arch Architecture of the libstdc++ headers.
   1432   --with-cxx-include-32bit-dir
   1433                           32 bit multilib dir.
   1434   --with-cxx-include-64bit-dir
   1435                           64 bit multilib directory.
   1436   --with-binutils-include Specify path to binutils/include/ containing
   1437                           plugin-api.h file for gold plugin.
   1438   --with-bug-report-url   Specify the URL where bug reports should be
   1439                           submitted (default=http://llvm.org/bugs/)
   1440   --with-tclinclude       directory where tcl headers are
   1441   --with-udis86=<path>    Use udis86 external x86 disassembler library
   1442   --with-oprofile=<prefix>
   1443                           Tell OProfile >= 0.9.4 how to symbolize JIT output
   1444 
   1445 Some influential environment variables:
   1446   CC          C compiler command
   1447   CFLAGS      C compiler flags
   1448   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1449               nonstandard directory <lib dir>
   1450   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
   1451               you have headers in a nonstandard directory <include dir>
   1452   CXX         C++ compiler command
   1453   CXXFLAGS    C++ compiler flags
   1454   CPP         C preprocessor
   1455 
   1456 Use these variables to override the choices made by `configure' or to help
   1457 it to find libraries and programs with nonstandard names/locations.
   1458 
   1459 Report bugs to <bugs@yourdomain>.
   1460 _ACEOF
   1461 ac_status=$?
   1462 fi
   1463 
   1464 if test "$ac_init_help" = "recursive"; then
   1465   # If there are subdirs, report their specific --help.
   1466   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1467     test -d "$ac_dir" || continue
   1468     ac_builddir=.
   1469 
   1470 case "$ac_dir" in
   1471 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1472 *)
   1473   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
   1474   # A ".." for each directory in $ac_dir_suffix.
   1475   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
   1476   case $ac_top_builddir_sub in
   1477   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1478   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1479   esac ;;
   1480 esac
   1481 ac_abs_top_builddir=$ac_pwd
   1482 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1483 # for backward compatibility:
   1484 ac_top_builddir=$ac_top_build_prefix
   1485 
   1486 case $srcdir in
   1487   .)  # We are building in place.
   1488     ac_srcdir=.
   1489     ac_top_srcdir=$ac_top_builddir_sub
   1490     ac_abs_top_srcdir=$ac_pwd ;;
   1491   [\\/]* | ?:[\\/]* )  # Absolute name.
   1492     ac_srcdir=$srcdir$ac_dir_suffix;
   1493     ac_top_srcdir=$srcdir
   1494     ac_abs_top_srcdir=$srcdir ;;
   1495   *) # Relative name.
   1496     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1497     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1498     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1499 esac
   1500 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1501 
   1502     cd "$ac_dir" || { ac_status=$?; continue; }
   1503     # Check for guested configure.
   1504     if test -f "$ac_srcdir/configure.gnu"; then
   1505       echo &&
   1506       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1507     elif test -f "$ac_srcdir/configure"; then
   1508       echo &&
   1509       $SHELL "$ac_srcdir/configure" --help=recursive
   1510     else
   1511       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1512     fi || ac_status=$?
   1513     cd "$ac_pwd" || { ac_status=$?; break; }
   1514   done
   1515 fi
   1516 
   1517 test -n "$ac_init_help" && exit $ac_status
   1518 if $ac_init_version; then
   1519   cat <<\_ACEOF
   1520 [SAMPLE] configure [x.xx]
   1521 generated by GNU Autoconf 2.60
   1522 
   1523 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
   1524 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
   1525 This configure script is free software; the Free Software Foundation
   1526 gives unlimited permission to copy, distribute and modify it.
   1527 _ACEOF
   1528   exit
   1529 fi
   1530 cat >config.log <<_ACEOF
   1531 This file contains any messages produced by compilers while
   1532 running configure, to aid debugging if configure makes a mistake.
   1533 
   1534 It was created by [SAMPLE] $as_me [x.xx], which was
   1535 generated by GNU Autoconf 2.60.  Invocation command line was
   1536 
   1537   $ $0 $@
   1538 
   1539 _ACEOF
   1540 exec 5>>config.log
   1541 {
   1542 cat <<_ASUNAME
   1543 ## --------- ##
   1544 ## Platform. ##
   1545 ## --------- ##
   1546 
   1547 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1548 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1549 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1550 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1551 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1552 
   1553 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1554 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1555 
   1556 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1557 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1558 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1559 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1560 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1561 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1562 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1563 
   1564 _ASUNAME
   1565 
   1566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1567 for as_dir in $PATH
   1568 do
   1569   IFS=$as_save_IFS
   1570   test -z "$as_dir" && as_dir=.
   1571   echo "PATH: $as_dir"
   1572 done
   1573 IFS=$as_save_IFS
   1574 
   1575 } >&5
   1576 
   1577 cat >&5 <<_ACEOF
   1578 
   1579 
   1580 ## ----------- ##
   1581 ## Core tests. ##
   1582 ## ----------- ##
   1583 
   1584 _ACEOF
   1585 
   1586 
   1587 # Keep a trace of the command line.
   1588 # Strip out --no-create and --no-recursion so they do not pile up.
   1589 # Strip out --silent because we don't want to record it for future runs.
   1590 # Also quote any args containing shell meta-characters.
   1591 # Make two passes to allow for proper duplicate-argument suppression.
   1592 ac_configure_args=
   1593 ac_configure_args0=
   1594 ac_configure_args1=
   1595 ac_must_keep_next=false
   1596 for ac_pass in 1 2
   1597 do
   1598   for ac_arg
   1599   do
   1600     case $ac_arg in
   1601     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1602     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1603     | -silent | --silent | --silen | --sile | --sil)
   1604       continue ;;
   1605     *\'*)
   1606       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1607     esac
   1608     case $ac_pass in
   1609     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
   1610     2)
   1611       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
   1612       if test $ac_must_keep_next = true; then
   1613 	ac_must_keep_next=false # Got value, back to normal.
   1614       else
   1615 	case $ac_arg in
   1616 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1617 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1618 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1619 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1620 	    case "$ac_configure_args0 " in
   1621 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1622 	    esac
   1623 	    ;;
   1624 	  -* ) ac_must_keep_next=true ;;
   1625 	esac
   1626       fi
   1627       ac_configure_args="$ac_configure_args '$ac_arg'"
   1628       ;;
   1629     esac
   1630   done
   1631 done
   1632 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
   1633 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
   1634 
   1635 # When interrupted or exit'd, cleanup temporary files, and complete
   1636 # config.log.  We remove comments because anyway the quotes in there
   1637 # would cause problems or look ugly.
   1638 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1639 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1640 trap 'exit_status=$?
   1641   # Save into config.log some information that might help in debugging.
   1642   {
   1643     echo
   1644 
   1645     cat <<\_ASBOX
   1646 ## ---------------- ##
   1647 ## Cache variables. ##
   1648 ## ---------------- ##
   1649 _ASBOX
   1650     echo
   1651     # The following way of writing the cache mishandles newlines in values,
   1652 (
   1653   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1654     eval ac_val=\$$ac_var
   1655     case $ac_val in #(
   1656     *${as_nl}*)
   1657       case $ac_var in #(
   1658       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
   1659 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
   1660       esac
   1661       case $ac_var in #(
   1662       _ | IFS | as_nl) ;; #(
   1663       *) $as_unset $ac_var ;;
   1664       esac ;;
   1665     esac
   1666   done
   1667   (set) 2>&1 |
   1668     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1669     *${as_nl}ac_space=\ *)
   1670       sed -n \
   1671 	"s/'\''/'\''\\\\'\'''\''/g;
   1672 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1673       ;; #(
   1674     *)
   1675       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1676       ;;
   1677     esac |
   1678     sort
   1679 )
   1680     echo
   1681 
   1682     cat <<\_ASBOX
   1683 ## ----------------- ##
   1684 ## Output variables. ##
   1685 ## ----------------- ##
   1686 _ASBOX
   1687     echo
   1688     for ac_var in $ac_subst_vars
   1689     do
   1690       eval ac_val=\$$ac_var
   1691       case $ac_val in
   1692       *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1693       esac
   1694       echo "$ac_var='\''$ac_val'\''"
   1695     done | sort
   1696     echo
   1697 
   1698     if test -n "$ac_subst_files"; then
   1699       cat <<\_ASBOX
   1700 ## ------------------- ##
   1701 ## File substitutions. ##
   1702 ## ------------------- ##
   1703 _ASBOX
   1704       echo
   1705       for ac_var in $ac_subst_files
   1706       do
   1707 	eval ac_val=\$$ac_var
   1708 	case $ac_val in
   1709 	*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1710 	esac
   1711 	echo "$ac_var='\''$ac_val'\''"
   1712       done | sort
   1713       echo
   1714     fi
   1715 
   1716     if test -s confdefs.h; then
   1717       cat <<\_ASBOX
   1718 ## ----------- ##
   1719 ## confdefs.h. ##
   1720 ## ----------- ##
   1721 _ASBOX
   1722       echo
   1723       cat confdefs.h
   1724       echo
   1725     fi
   1726     test "$ac_signal" != 0 &&
   1727       echo "$as_me: caught signal $ac_signal"
   1728     echo "$as_me: exit $exit_status"
   1729   } >&5
   1730   rm -f core *.core core.conftest.* &&
   1731     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1732     exit $exit_status
   1733 ' 0
   1734 for ac_signal in 1 2 13 15; do
   1735   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
   1736 done
   1737 ac_signal=0
   1738 
   1739 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1740 rm -f -r conftest* confdefs.h
   1741 
   1742 # Predefined preprocessor variables.
   1743 
   1744 cat >>confdefs.h <<_ACEOF
   1745 #define PACKAGE_NAME "$PACKAGE_NAME"
   1746 _ACEOF
   1747 
   1748 
   1749 cat >>confdefs.h <<_ACEOF
   1750 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   1751 _ACEOF
   1752 
   1753 
   1754 cat >>confdefs.h <<_ACEOF
   1755 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   1756 _ACEOF
   1757 
   1758 
   1759 cat >>confdefs.h <<_ACEOF
   1760 #define PACKAGE_STRING "$PACKAGE_STRING"
   1761 _ACEOF
   1762 
   1763 
   1764 cat >>confdefs.h <<_ACEOF
   1765 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   1766 _ACEOF
   1767 
   1768 
   1769 # Let the site file select an alternate cache file if it wants to.
   1770 # Prefer explicitly selected file to automatically selected ones.
   1771 if test -n "$CONFIG_SITE"; then
   1772   set x "$CONFIG_SITE"
   1773 elif test "x$prefix" != xNONE; then
   1774   set x "$prefix/share/config.site" "$prefix/etc/config.site"
   1775 else
   1776   set x "$ac_default_prefix/share/config.site" \
   1777 	"$ac_default_prefix/etc/config.site"
   1778 fi
   1779 shift
   1780 for ac_site_file
   1781 do
   1782   if test -r "$ac_site_file"; then
   1783     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
   1784 echo "$as_me: loading site script $ac_site_file" >&6;}
   1785     sed 's/^/| /' "$ac_site_file" >&5
   1786     . "$ac_site_file"
   1787   fi
   1788 done
   1789 
   1790 if test -r "$cache_file"; then
   1791   # Some versions of bash will fail to source /dev/null (special
   1792   # files actually), so we avoid doing that.
   1793   if test -f "$cache_file"; then
   1794     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
   1795 echo "$as_me: loading cache $cache_file" >&6;}
   1796     case $cache_file in
   1797       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   1798       *)                      . "./$cache_file";;
   1799     esac
   1800   fi
   1801 else
   1802   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
   1803 echo "$as_me: creating cache $cache_file" >&6;}
   1804   >$cache_file
   1805 fi
   1806 
   1807 # Check that the precious variables saved in the cache have kept the same
   1808 # value.
   1809 ac_cache_corrupted=false
   1810 for ac_var in $ac_precious_vars; do
   1811   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   1812   eval ac_new_set=\$ac_env_${ac_var}_set
   1813   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   1814   eval ac_new_val=\$ac_env_${ac_var}_value
   1815   case $ac_old_set,$ac_new_set in
   1816     set,)
   1817       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   1818 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   1819       ac_cache_corrupted=: ;;
   1820     ,set)
   1821       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
   1822 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   1823       ac_cache_corrupted=: ;;
   1824     ,);;
   1825     *)
   1826       if test "x$ac_old_val" != "x$ac_new_val"; then
   1827 	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
   1828 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   1829 	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
   1830 echo "$as_me:   former value:  $ac_old_val" >&2;}
   1831 	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
   1832 echo "$as_me:   current value: $ac_new_val" >&2;}
   1833 	ac_cache_corrupted=:
   1834       fi;;
   1835   esac
   1836   # Pass precious variables to config.status.
   1837   if test "$ac_new_set" = set; then
   1838     case $ac_new_val in
   1839     *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   1840     *) ac_arg=$ac_var=$ac_new_val ;;
   1841     esac
   1842     case " $ac_configure_args " in
   1843       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   1844       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
   1845     esac
   1846   fi
   1847 done
   1848 if $ac_cache_corrupted; then
   1849   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
   1850 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   1851   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
   1852 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
   1853    { (exit 1); exit 1; }; }
   1854 fi
   1855 
   1856 
   1857 
   1858 
   1859 
   1860 
   1861 
   1862 
   1863 
   1864 
   1865 
   1866 
   1867 
   1868 
   1869 
   1870 
   1871 
   1872 
   1873 
   1874 
   1875 
   1876 
   1877 
   1878 
   1879 
   1880 ac_ext=c
   1881 ac_cpp='$CPP $CPPFLAGS'
   1882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   1883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   1884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   1885 
   1886 
   1887 
   1888 LLVM_SRC_ROOT="../.."
   1889 LLVM_OBJ_ROOT="../.."
   1890 
   1891 LLVM_ABS_SRC_ROOT="`cd $srcdir ; cd $LLVM_SRC_ROOT ; pwd`"
   1892 LLVM_ABS_OBJ_ROOT="`cd $LLVM_OBJ_ROOT ; pwd`"
   1893 
   1894 
   1895 # Check whether --with-llvmsrc was given.
   1896 if test "${with_llvmsrc+set}" = set; then
   1897   withval=$with_llvmsrc; llvm_src="$withval"
   1898 else
   1899   llvm_src="$LLVM_ABS_SRC_ROOT"
   1900 fi
   1901 
   1902   LLVM_SRC=$llvm_src
   1903 
   1904 
   1905 # Check whether --with-llvmobj was given.
   1906 if test "${with_llvmobj+set}" = set; then
   1907   withval=$with_llvmobj; llvm_obj="$withval"
   1908 else
   1909   llvm_obj="$LLVM_ABS_OBJ_ROOT"
   1910 fi
   1911 
   1912   LLVM_OBJ=$llvm_obj
   1913 
   1914   ac_config_commands="$ac_config_commands setup"
   1915 
   1916 
   1917 
   1918 { echo "$as_me:$LINENO: checking llvm-config" >&5
   1919 echo $ECHO_N "checking llvm-config... $ECHO_C" >&6; }
   1920 llvm_config_path="`ls -1 $llvm_obj/*/bin/llvm-config 2> /dev/null | head -1`"
   1921 if ! test -f "$llvm_config_path" ; then
   1922    llvm_config_path="no"
   1923 fi
   1924 { echo "$as_me:$LINENO: result: $llvm_config_path" >&5
   1925 echo "${ECHO_T}$llvm_config_path" >&6; }
   1926 
   1927 { echo "$as_me:$LINENO: checking LLVM package version" >&5
   1928 echo $ECHO_N "checking LLVM package version... $ECHO_C" >&6; }
   1929 if test "$llvm_config_path" != no ; then
   1930   llvm_package_version=`$llvm_config_path --version`
   1931 else
   1932   llvm_package_version="unknown";
   1933 fi
   1934 { echo "$as_me:$LINENO: result: $llvm_package_version" >&5
   1935 echo "${ECHO_T}$llvm_package_version" >&6; }
   1936 LLVM_VERSION=$llvm_package_version
   1937 
   1938 
   1939 
   1940 
   1941 ac_aux_dir=
   1942 for ac_dir in autoconf "$srcdir"/autoconf; do
   1943   if test -f "$ac_dir/install-sh"; then
   1944     ac_aux_dir=$ac_dir
   1945     ac_install_sh="$ac_aux_dir/install-sh -c"
   1946     break
   1947   elif test -f "$ac_dir/install.sh"; then
   1948     ac_aux_dir=$ac_dir
   1949     ac_install_sh="$ac_aux_dir/install.sh -c"
   1950     break
   1951   elif test -f "$ac_dir/shtool"; then
   1952     ac_aux_dir=$ac_dir
   1953     ac_install_sh="$ac_aux_dir/shtool install -c"
   1954     break
   1955   fi
   1956 done
   1957 if test -z "$ac_aux_dir"; then
   1958   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in autoconf \"$srcdir\"/autoconf" >&5
   1959 echo "$as_me: error: cannot find install-sh or install.sh in autoconf \"$srcdir\"/autoconf" >&2;}
   1960    { (exit 1); exit 1; }; }
   1961 fi
   1962 
   1963 # These three variables are undocumented and unsupported,
   1964 # and are intended to be withdrawn in a future Autoconf release.
   1965 # They can cause serious problems if a builder's source tree is in a directory
   1966 # whose full name contains unusual characters.
   1967 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   1968 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   1969 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   1970 
   1971 
   1972 
   1973 
   1974 ac_ext=c
   1975 ac_cpp='$CPP $CPPFLAGS'
   1976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   1977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   1978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   1979 if test -n "$ac_tool_prefix"; then
   1980   for ac_prog in clang llvm-gcc gcc
   1981   do
   1982     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   1983 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   1984 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   1985 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   1986 if test "${ac_cv_prog_CC+set}" = set; then
   1987   echo $ECHO_N "(cached) $ECHO_C" >&6
   1988 else
   1989   if test -n "$CC"; then
   1990   ac_cv_prog_CC="$CC" # Let the user override the test.
   1991 else
   1992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1993 for as_dir in $PATH
   1994 do
   1995   IFS=$as_save_IFS
   1996   test -z "$as_dir" && as_dir=.
   1997   for ac_exec_ext in '' $ac_executable_extensions; do
   1998   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   1999     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2000     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2001     break 2
   2002   fi
   2003 done
   2004 done
   2005 IFS=$as_save_IFS
   2006 
   2007 fi
   2008 fi
   2009 CC=$ac_cv_prog_CC
   2010 if test -n "$CC"; then
   2011   { echo "$as_me:$LINENO: result: $CC" >&5
   2012 echo "${ECHO_T}$CC" >&6; }
   2013 else
   2014   { echo "$as_me:$LINENO: result: no" >&5
   2015 echo "${ECHO_T}no" >&6; }
   2016 fi
   2017 
   2018 
   2019     test -n "$CC" && break
   2020   done
   2021 fi
   2022 if test -z "$CC"; then
   2023   ac_ct_CC=$CC
   2024   for ac_prog in clang llvm-gcc gcc
   2025 do
   2026   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2027 set dummy $ac_prog; ac_word=$2
   2028 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2029 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2030 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2031   echo $ECHO_N "(cached) $ECHO_C" >&6
   2032 else
   2033   if test -n "$ac_ct_CC"; then
   2034   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2035 else
   2036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2037 for as_dir in $PATH
   2038 do
   2039   IFS=$as_save_IFS
   2040   test -z "$as_dir" && as_dir=.
   2041   for ac_exec_ext in '' $ac_executable_extensions; do
   2042   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   2043     ac_cv_prog_ac_ct_CC="$ac_prog"
   2044     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2045     break 2
   2046   fi
   2047 done
   2048 done
   2049 IFS=$as_save_IFS
   2050 
   2051 fi
   2052 fi
   2053 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2054 if test -n "$ac_ct_CC"; then
   2055   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2056 echo "${ECHO_T}$ac_ct_CC" >&6; }
   2057 else
   2058   { echo "$as_me:$LINENO: result: no" >&5
   2059 echo "${ECHO_T}no" >&6; }
   2060 fi
   2061 
   2062 
   2063   test -n "$ac_ct_CC" && break
   2064 done
   2065 
   2066   if test "x$ac_ct_CC" = x; then
   2067     CC=""
   2068   else
   2069     case $cross_compiling:$ac_tool_warned in
   2070 yes:)
   2071 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   2072 whose name does not start with the host triplet.  If you think this
   2073 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   2074 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   2075 whose name does not start with the host triplet.  If you think this
   2076 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   2077 ac_tool_warned=yes ;;
   2078 esac
   2079     CC=$ac_ct_CC
   2080   fi
   2081 fi
   2082 
   2083 
   2084 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   2085 See \`config.log' for more details." >&5
   2086 echo "$as_me: error: no acceptable C compiler found in \$PATH
   2087 See \`config.log' for more details." >&2;}
   2088    { (exit 1); exit 1; }; }
   2089 
   2090 # Provide some information about the compiler.
   2091 echo "$as_me:$LINENO: checking for C compiler version" >&5
   2092 ac_compiler=`set X $ac_compile; echo $2`
   2093 { (ac_try="$ac_compiler --version >&5"
   2094 case "(($ac_try" in
   2095   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2096   *) ac_try_echo=$ac_try;;
   2097 esac
   2098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2099   (eval "$ac_compiler --version >&5") 2>&5
   2100   ac_status=$?
   2101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2102   (exit $ac_status); }
   2103 { (ac_try="$ac_compiler -v >&5"
   2104 case "(($ac_try" in
   2105   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2106   *) ac_try_echo=$ac_try;;
   2107 esac
   2108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2109   (eval "$ac_compiler -v >&5") 2>&5
   2110   ac_status=$?
   2111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2112   (exit $ac_status); }
   2113 { (ac_try="$ac_compiler -V >&5"
   2114 case "(($ac_try" in
   2115   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2116   *) ac_try_echo=$ac_try;;
   2117 esac
   2118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2119   (eval "$ac_compiler -V >&5") 2>&5
   2120   ac_status=$?
   2121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2122   (exit $ac_status); }
   2123 
   2124 cat >conftest.$ac_ext <<_ACEOF
   2125 /* confdefs.h.  */
   2126 _ACEOF
   2127 cat confdefs.h >>conftest.$ac_ext
   2128 cat >>conftest.$ac_ext <<_ACEOF
   2129 /* end confdefs.h.  */
   2130 
   2131 int
   2132 main ()
   2133 {
   2134 
   2135   ;
   2136   return 0;
   2137 }
   2138 _ACEOF
   2139 ac_clean_files_save=$ac_clean_files
   2140 ac_clean_files="$ac_clean_files a.out a.exe b.out"
   2141 # Try to create an executable without -o first, disregard a.out.
   2142 # It will help us diagnose broken compilers, and finding out an intuition
   2143 # of exeext.
   2144 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
   2145 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
   2146 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   2147 #
   2148 # List of possible output files, starting from the most likely.
   2149 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
   2150 # only as a last resort.  b.out is created by i960 compilers.
   2151 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
   2152 #
   2153 # The IRIX 6 linker writes into existing files which may not be
   2154 # executable, retaining their permissions.  Remove them first so a
   2155 # subsequent execution test works.
   2156 ac_rmfiles=
   2157 for ac_file in $ac_files
   2158 do
   2159   case $ac_file in
   2160     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
   2161     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   2162   esac
   2163 done
   2164 rm -f $ac_rmfiles
   2165 
   2166 if { (ac_try="$ac_link_default"
   2167 case "(($ac_try" in
   2168   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2169   *) ac_try_echo=$ac_try;;
   2170 esac
   2171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2172   (eval "$ac_link_default") 2>&5
   2173   ac_status=$?
   2174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2175   (exit $ac_status); }; then
   2176   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   2177 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   2178 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   2179 # so that the user can short-circuit this test for compilers unknown to
   2180 # Autoconf.
   2181 for ac_file in $ac_files
   2182 do
   2183   test -f "$ac_file" || continue
   2184   case $ac_file in
   2185     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
   2186 	;;
   2187     [ab].out )
   2188 	# We found the default executable, but exeext='' is most
   2189 	# certainly right.
   2190 	break;;
   2191     *.* )
   2192         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   2193 	then :; else
   2194 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2195 	fi
   2196 	# We set ac_cv_exeext here because the later test for it is not
   2197 	# safe: cross compilers may not add the suffix if given an `-o'
   2198 	# argument, so we may need to know it at that point already.
   2199 	# Even if this section looks crufty: it has the advantage of
   2200 	# actually working.
   2201 	break;;
   2202     * )
   2203 	break;;
   2204   esac
   2205 done
   2206 test "$ac_cv_exeext" = no && ac_cv_exeext=
   2207 
   2208 else
   2209   echo "$as_me: failed program was:" >&5
   2210 sed 's/^/| /' conftest.$ac_ext >&5
   2211 
   2212 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
   2213 See \`config.log' for more details." >&5
   2214 echo "$as_me: error: C compiler cannot create executables
   2215 See \`config.log' for more details." >&2;}
   2216    { (exit 77); exit 77; }; }
   2217 fi
   2218 
   2219 ac_exeext=$ac_cv_exeext
   2220 { echo "$as_me:$LINENO: result: $ac_file" >&5
   2221 echo "${ECHO_T}$ac_file" >&6; }
   2222 
   2223 # Check that the compiler produces executables we can run.  If not, either
   2224 # the compiler is broken, or we cross compile.
   2225 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
   2226 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
   2227 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
   2228 # If not cross compiling, check that we can run a simple program.
   2229 if test "$cross_compiling" != yes; then
   2230   if { ac_try='./$ac_file'
   2231   { (case "(($ac_try" in
   2232   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2233   *) ac_try_echo=$ac_try;;
   2234 esac
   2235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2236   (eval "$ac_try") 2>&5
   2237   ac_status=$?
   2238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2239   (exit $ac_status); }; }; then
   2240     cross_compiling=no
   2241   else
   2242     if test "$cross_compiling" = maybe; then
   2243 	cross_compiling=yes
   2244     else
   2245 	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
   2246 If you meant to cross compile, use \`--host'.
   2247 See \`config.log' for more details." >&5
   2248 echo "$as_me: error: cannot run C compiled programs.
   2249 If you meant to cross compile, use \`--host'.
   2250 See \`config.log' for more details." >&2;}
   2251    { (exit 1); exit 1; }; }
   2252     fi
   2253   fi
   2254 fi
   2255 { echo "$as_me:$LINENO: result: yes" >&5
   2256 echo "${ECHO_T}yes" >&6; }
   2257 
   2258 rm -f a.out a.exe conftest$ac_cv_exeext b.out
   2259 ac_clean_files=$ac_clean_files_save
   2260 # Check that the compiler produces executables we can run.  If not, either
   2261 # the compiler is broken, or we cross compile.
   2262 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
   2263 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
   2264 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
   2265 echo "${ECHO_T}$cross_compiling" >&6; }
   2266 
   2267 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
   2268 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
   2269 if { (ac_try="$ac_link"
   2270 case "(($ac_try" in
   2271   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2272   *) ac_try_echo=$ac_try;;
   2273 esac
   2274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2275   (eval "$ac_link") 2>&5
   2276   ac_status=$?
   2277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2278   (exit $ac_status); }; then
   2279   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   2280 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   2281 # work properly (i.e., refer to `conftest.exe'), while it won't with
   2282 # `rm'.
   2283 for ac_file in conftest.exe conftest conftest.*; do
   2284   test -f "$ac_file" || continue
   2285   case $ac_file in
   2286     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
   2287     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2288 	  break;;
   2289     * ) break;;
   2290   esac
   2291 done
   2292 else
   2293   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
   2294 See \`config.log' for more details." >&5
   2295 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
   2296 See \`config.log' for more details." >&2;}
   2297    { (exit 1); exit 1; }; }
   2298 fi
   2299 
   2300 rm -f conftest$ac_cv_exeext
   2301 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
   2302 echo "${ECHO_T}$ac_cv_exeext" >&6; }
   2303 
   2304 rm -f conftest.$ac_ext
   2305 EXEEXT=$ac_cv_exeext
   2306 ac_exeext=$EXEEXT
   2307 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
   2308 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
   2309 if test "${ac_cv_objext+set}" = set; then
   2310   echo $ECHO_N "(cached) $ECHO_C" >&6
   2311 else
   2312   cat >conftest.$ac_ext <<_ACEOF
   2313 /* confdefs.h.  */
   2314 _ACEOF
   2315 cat confdefs.h >>conftest.$ac_ext
   2316 cat >>conftest.$ac_ext <<_ACEOF
   2317 /* end confdefs.h.  */
   2318 
   2319 int
   2320 main ()
   2321 {
   2322 
   2323   ;
   2324   return 0;
   2325 }
   2326 _ACEOF
   2327 rm -f conftest.o conftest.obj
   2328 if { (ac_try="$ac_compile"
   2329 case "(($ac_try" in
   2330   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2331   *) ac_try_echo=$ac_try;;
   2332 esac
   2333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2334   (eval "$ac_compile") 2>&5
   2335   ac_status=$?
   2336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2337   (exit $ac_status); }; then
   2338   for ac_file in conftest.o conftest.obj conftest.*; do
   2339   test -f "$ac_file" || continue;
   2340   case $ac_file in
   2341     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
   2342     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   2343        break;;
   2344   esac
   2345 done
   2346 else
   2347   echo "$as_me: failed program was:" >&5
   2348 sed 's/^/| /' conftest.$ac_ext >&5
   2349 
   2350 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
   2351 See \`config.log' for more details." >&5
   2352 echo "$as_me: error: cannot compute suffix of object files: cannot compile
   2353 See \`config.log' for more details." >&2;}
   2354    { (exit 1); exit 1; }; }
   2355 fi
   2356 
   2357 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   2358 fi
   2359 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
   2360 echo "${ECHO_T}$ac_cv_objext" >&6; }
   2361 OBJEXT=$ac_cv_objext
   2362 ac_objext=$OBJEXT
   2363 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   2364 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
   2365 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   2366   echo $ECHO_N "(cached) $ECHO_C" >&6
   2367 else
   2368   cat >conftest.$ac_ext <<_ACEOF
   2369 /* confdefs.h.  */
   2370 _ACEOF
   2371 cat confdefs.h >>conftest.$ac_ext
   2372 cat >>conftest.$ac_ext <<_ACEOF
   2373 /* end confdefs.h.  */
   2374 
   2375 int
   2376 main ()
   2377 {
   2378 #ifndef __GNUC__
   2379        choke me
   2380 #endif
   2381 
   2382   ;
   2383   return 0;
   2384 }
   2385 _ACEOF
   2386 rm -f conftest.$ac_objext
   2387 if { (ac_try="$ac_compile"
   2388 case "(($ac_try" in
   2389   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2390   *) ac_try_echo=$ac_try;;
   2391 esac
   2392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2393   (eval "$ac_compile") 2>conftest.er1
   2394   ac_status=$?
   2395   grep -v '^ *+' conftest.er1 >conftest.err
   2396   rm -f conftest.er1
   2397   cat conftest.err >&5
   2398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2399   (exit $ac_status); } &&
   2400 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   2401   { (case "(($ac_try" in
   2402   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2403   *) ac_try_echo=$ac_try;;
   2404 esac
   2405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2406   (eval "$ac_try") 2>&5
   2407   ac_status=$?
   2408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2409   (exit $ac_status); }; } &&
   2410 	 { ac_try='test -s conftest.$ac_objext'
   2411   { (case "(($ac_try" in
   2412   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2413   *) ac_try_echo=$ac_try;;
   2414 esac
   2415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2416   (eval "$ac_try") 2>&5
   2417   ac_status=$?
   2418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2419   (exit $ac_status); }; }; then
   2420   ac_compiler_gnu=yes
   2421 else
   2422   echo "$as_me: failed program was:" >&5
   2423 sed 's/^/| /' conftest.$ac_ext >&5
   2424 
   2425 	ac_compiler_gnu=no
   2426 fi
   2427 
   2428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2429 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   2430 
   2431 fi
   2432 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   2433 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
   2434 GCC=`test $ac_compiler_gnu = yes && echo yes`
   2435 ac_test_CFLAGS=${CFLAGS+set}
   2436 ac_save_CFLAGS=$CFLAGS
   2437 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   2438 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
   2439 if test "${ac_cv_prog_cc_g+set}" = set; then
   2440   echo $ECHO_N "(cached) $ECHO_C" >&6
   2441 else
   2442   ac_save_c_werror_flag=$ac_c_werror_flag
   2443    ac_c_werror_flag=yes
   2444    ac_cv_prog_cc_g=no
   2445    CFLAGS="-g"
   2446    cat >conftest.$ac_ext <<_ACEOF
   2447 /* confdefs.h.  */
   2448 _ACEOF
   2449 cat confdefs.h >>conftest.$ac_ext
   2450 cat >>conftest.$ac_ext <<_ACEOF
   2451 /* end confdefs.h.  */
   2452 
   2453 int
   2454 main ()
   2455 {
   2456 
   2457   ;
   2458   return 0;
   2459 }
   2460 _ACEOF
   2461 rm -f conftest.$ac_objext
   2462 if { (ac_try="$ac_compile"
   2463 case "(($ac_try" in
   2464   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2465   *) ac_try_echo=$ac_try;;
   2466 esac
   2467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2468   (eval "$ac_compile") 2>conftest.er1
   2469   ac_status=$?
   2470   grep -v '^ *+' conftest.er1 >conftest.err
   2471   rm -f conftest.er1
   2472   cat conftest.err >&5
   2473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2474   (exit $ac_status); } &&
   2475 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   2476   { (case "(($ac_try" in
   2477   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2478   *) ac_try_echo=$ac_try;;
   2479 esac
   2480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2481   (eval "$ac_try") 2>&5
   2482   ac_status=$?
   2483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2484   (exit $ac_status); }; } &&
   2485 	 { ac_try='test -s conftest.$ac_objext'
   2486   { (case "(($ac_try" in
   2487   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2488   *) ac_try_echo=$ac_try;;
   2489 esac
   2490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2491   (eval "$ac_try") 2>&5
   2492   ac_status=$?
   2493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2494   (exit $ac_status); }; }; then
   2495   ac_cv_prog_cc_g=yes
   2496 else
   2497   echo "$as_me: failed program was:" >&5
   2498 sed 's/^/| /' conftest.$ac_ext >&5
   2499 
   2500 	CFLAGS=""
   2501       cat >conftest.$ac_ext <<_ACEOF
   2502 /* confdefs.h.  */
   2503 _ACEOF
   2504 cat confdefs.h >>conftest.$ac_ext
   2505 cat >>conftest.$ac_ext <<_ACEOF
   2506 /* end confdefs.h.  */
   2507 
   2508 int
   2509 main ()
   2510 {
   2511 
   2512   ;
   2513   return 0;
   2514 }
   2515 _ACEOF
   2516 rm -f conftest.$ac_objext
   2517 if { (ac_try="$ac_compile"
   2518 case "(($ac_try" in
   2519   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2520   *) ac_try_echo=$ac_try;;
   2521 esac
   2522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2523   (eval "$ac_compile") 2>conftest.er1
   2524   ac_status=$?
   2525   grep -v '^ *+' conftest.er1 >conftest.err
   2526   rm -f conftest.er1
   2527   cat conftest.err >&5
   2528   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2529   (exit $ac_status); } &&
   2530 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   2531   { (case "(($ac_try" in
   2532   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2533   *) ac_try_echo=$ac_try;;
   2534 esac
   2535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2536   (eval "$ac_try") 2>&5
   2537   ac_status=$?
   2538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2539   (exit $ac_status); }; } &&
   2540 	 { ac_try='test -s conftest.$ac_objext'
   2541   { (case "(($ac_try" in
   2542   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2543   *) ac_try_echo=$ac_try;;
   2544 esac
   2545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2546   (eval "$ac_try") 2>&5
   2547   ac_status=$?
   2548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2549   (exit $ac_status); }; }; then
   2550   :
   2551 else
   2552   echo "$as_me: failed program was:" >&5
   2553 sed 's/^/| /' conftest.$ac_ext >&5
   2554 
   2555 	ac_c_werror_flag=$ac_save_c_werror_flag
   2556 	 CFLAGS="-g"
   2557 	 cat >conftest.$ac_ext <<_ACEOF
   2558 /* confdefs.h.  */
   2559 _ACEOF
   2560 cat confdefs.h >>conftest.$ac_ext
   2561 cat >>conftest.$ac_ext <<_ACEOF
   2562 /* end confdefs.h.  */
   2563 
   2564 int
   2565 main ()
   2566 {
   2567 
   2568   ;
   2569   return 0;
   2570 }
   2571 _ACEOF
   2572 rm -f conftest.$ac_objext
   2573 if { (ac_try="$ac_compile"
   2574 case "(($ac_try" in
   2575   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2576   *) ac_try_echo=$ac_try;;
   2577 esac
   2578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2579   (eval "$ac_compile") 2>conftest.er1
   2580   ac_status=$?
   2581   grep -v '^ *+' conftest.er1 >conftest.err
   2582   rm -f conftest.er1
   2583   cat conftest.err >&5
   2584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2585   (exit $ac_status); } &&
   2586 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   2587   { (case "(($ac_try" in
   2588   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2589   *) ac_try_echo=$ac_try;;
   2590 esac
   2591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2592   (eval "$ac_try") 2>&5
   2593   ac_status=$?
   2594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2595   (exit $ac_status); }; } &&
   2596 	 { ac_try='test -s conftest.$ac_objext'
   2597   { (case "(($ac_try" in
   2598   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2599   *) ac_try_echo=$ac_try;;
   2600 esac
   2601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2602   (eval "$ac_try") 2>&5
   2603   ac_status=$?
   2604   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2605   (exit $ac_status); }; }; then
   2606   ac_cv_prog_cc_g=yes
   2607 else
   2608   echo "$as_me: failed program was:" >&5
   2609 sed 's/^/| /' conftest.$ac_ext >&5
   2610 
   2611 
   2612 fi
   2613 
   2614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2615 fi
   2616 
   2617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2618 fi
   2619 
   2620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2621    ac_c_werror_flag=$ac_save_c_werror_flag
   2622 fi
   2623 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   2624 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
   2625 if test "$ac_test_CFLAGS" = set; then
   2626   CFLAGS=$ac_save_CFLAGS
   2627 elif test $ac_cv_prog_cc_g = yes; then
   2628   if test "$GCC" = yes; then
   2629     CFLAGS="-g -O2"
   2630   else
   2631     CFLAGS="-g"
   2632   fi
   2633 else
   2634   if test "$GCC" = yes; then
   2635     CFLAGS="-O2"
   2636   else
   2637     CFLAGS=
   2638   fi
   2639 fi
   2640 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
   2641 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
   2642 if test "${ac_cv_prog_cc_c89+set}" = set; then
   2643   echo $ECHO_N "(cached) $ECHO_C" >&6
   2644 else
   2645   ac_cv_prog_cc_c89=no
   2646 ac_save_CC=$CC
   2647 cat >conftest.$ac_ext <<_ACEOF
   2648 /* confdefs.h.  */
   2649 _ACEOF
   2650 cat confdefs.h >>conftest.$ac_ext
   2651 cat >>conftest.$ac_ext <<_ACEOF
   2652 /* end confdefs.h.  */
   2653 #include <stdarg.h>
   2654 #include <stdio.h>
   2655 #include <sys/types.h>
   2656 #include <sys/stat.h>
   2657 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   2658 struct buf { int x; };
   2659 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   2660 static char *e (p, i)
   2661      char **p;
   2662      int i;
   2663 {
   2664   return p[i];
   2665 }
   2666 static char *f (char * (*g) (char **, int), char **p, ...)
   2667 {
   2668   char *s;
   2669   va_list v;
   2670   va_start (v,p);
   2671   s = g (p, va_arg (v,int));
   2672   va_end (v);
   2673   return s;
   2674 }
   2675 
   2676 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2677    function prototypes and stuff, but not '\xHH' hex character constants.
   2678    These don't provoke an error unfortunately, instead are silently treated
   2679    as 'x'.  The following induces an error, until -std is added to get
   2680    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   2681    array size at least.  It's necessary to write '\x00'==0 to get something
   2682    that's true only with -std.  */
   2683 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   2684 
   2685 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2686    inside strings and character constants.  */
   2687 #define FOO(x) 'x'
   2688 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   2689 
   2690 int test (int i, double x);
   2691 struct s1 {int (*f) (int a);};
   2692 struct s2 {int (*f) (double a);};
   2693 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   2694 int argc;
   2695 char **argv;
   2696 int
   2697 main ()
   2698 {
   2699 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   2700   ;
   2701   return 0;
   2702 }
   2703 _ACEOF
   2704 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   2705 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   2706 do
   2707   CC="$ac_save_CC $ac_arg"
   2708   rm -f conftest.$ac_objext
   2709 if { (ac_try="$ac_compile"
   2710 case "(($ac_try" in
   2711   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2712   *) ac_try_echo=$ac_try;;
   2713 esac
   2714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2715   (eval "$ac_compile") 2>conftest.er1
   2716   ac_status=$?
   2717   grep -v '^ *+' conftest.er1 >conftest.err
   2718   rm -f conftest.er1
   2719   cat conftest.err >&5
   2720   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2721   (exit $ac_status); } &&
   2722 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   2723   { (case "(($ac_try" in
   2724   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2725   *) ac_try_echo=$ac_try;;
   2726 esac
   2727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2728   (eval "$ac_try") 2>&5
   2729   ac_status=$?
   2730   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2731   (exit $ac_status); }; } &&
   2732 	 { ac_try='test -s conftest.$ac_objext'
   2733   { (case "(($ac_try" in
   2734   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2735   *) ac_try_echo=$ac_try;;
   2736 esac
   2737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2738   (eval "$ac_try") 2>&5
   2739   ac_status=$?
   2740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2741   (exit $ac_status); }; }; then
   2742   ac_cv_prog_cc_c89=$ac_arg
   2743 else
   2744   echo "$as_me: failed program was:" >&5
   2745 sed 's/^/| /' conftest.$ac_ext >&5
   2746 
   2747 
   2748 fi
   2749 
   2750 rm -f core conftest.err conftest.$ac_objext
   2751   test "x$ac_cv_prog_cc_c89" != "xno" && break
   2752 done
   2753 rm -f conftest.$ac_ext
   2754 CC=$ac_save_CC
   2755 
   2756 fi
   2757 # AC_CACHE_VAL
   2758 case "x$ac_cv_prog_cc_c89" in
   2759   x)
   2760     { echo "$as_me:$LINENO: result: none needed" >&5
   2761 echo "${ECHO_T}none needed" >&6; } ;;
   2762   xno)
   2763     { echo "$as_me:$LINENO: result: unsupported" >&5
   2764 echo "${ECHO_T}unsupported" >&6; } ;;
   2765   *)
   2766     CC="$CC $ac_cv_prog_cc_c89"
   2767     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
   2768 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
   2769 esac
   2770 
   2771 
   2772 ac_ext=c
   2773 ac_cpp='$CPP $CPPFLAGS'
   2774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2777 
   2778 ac_ext=cpp
   2779 ac_cpp='$CXXCPP $CPPFLAGS'
   2780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   2783 if test -z "$CXX"; then
   2784   if test -n "$CCC"; then
   2785     CXX=$CCC
   2786   else
   2787     if test -n "$ac_tool_prefix"; then
   2788   for ac_prog in clang++ llvm-g++ g++
   2789   do
   2790     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2791 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2792 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2793 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2794 if test "${ac_cv_prog_CXX+set}" = set; then
   2795   echo $ECHO_N "(cached) $ECHO_C" >&6
   2796 else
   2797   if test -n "$CXX"; then
   2798   ac_cv_prog_CXX="$CXX" # Let the user override the test.
   2799 else
   2800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2801 for as_dir in $PATH
   2802 do
   2803   IFS=$as_save_IFS
   2804   test -z "$as_dir" && as_dir=.
   2805   for ac_exec_ext in '' $ac_executable_extensions; do
   2806   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   2807     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
   2808     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2809     break 2
   2810   fi
   2811 done
   2812 done
   2813 IFS=$as_save_IFS
   2814 
   2815 fi
   2816 fi
   2817 CXX=$ac_cv_prog_CXX
   2818 if test -n "$CXX"; then
   2819   { echo "$as_me:$LINENO: result: $CXX" >&5
   2820 echo "${ECHO_T}$CXX" >&6; }
   2821 else
   2822   { echo "$as_me:$LINENO: result: no" >&5
   2823 echo "${ECHO_T}no" >&6; }
   2824 fi
   2825 
   2826 
   2827     test -n "$CXX" && break
   2828   done
   2829 fi
   2830 if test -z "$CXX"; then
   2831   ac_ct_CXX=$CXX
   2832   for ac_prog in clang++ llvm-g++ g++
   2833 do
   2834   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2835 set dummy $ac_prog; ac_word=$2
   2836 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2837 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2838 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
   2839   echo $ECHO_N "(cached) $ECHO_C" >&6
   2840 else
   2841   if test -n "$ac_ct_CXX"; then
   2842   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
   2843 else
   2844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2845 for as_dir in $PATH
   2846 do
   2847   IFS=$as_save_IFS
   2848   test -z "$as_dir" && as_dir=.
   2849   for ac_exec_ext in '' $ac_executable_extensions; do
   2850   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   2851     ac_cv_prog_ac_ct_CXX="$ac_prog"
   2852     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2853     break 2
   2854   fi
   2855 done
   2856 done
   2857 IFS=$as_save_IFS
   2858 
   2859 fi
   2860 fi
   2861 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
   2862 if test -n "$ac_ct_CXX"; then
   2863   { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
   2864 echo "${ECHO_T}$ac_ct_CXX" >&6; }
   2865 else
   2866   { echo "$as_me:$LINENO: result: no" >&5
   2867 echo "${ECHO_T}no" >&6; }
   2868 fi
   2869 
   2870 
   2871   test -n "$ac_ct_CXX" && break
   2872 done
   2873 
   2874   if test "x$ac_ct_CXX" = x; then
   2875     CXX="g++"
   2876   else
   2877     case $cross_compiling:$ac_tool_warned in
   2878 yes:)
   2879 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   2880 whose name does not start with the host triplet.  If you think this
   2881 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   2882 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   2883 whose name does not start with the host triplet.  If you think this
   2884 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   2885 ac_tool_warned=yes ;;
   2886 esac
   2887     CXX=$ac_ct_CXX
   2888   fi
   2889 fi
   2890 
   2891   fi
   2892 fi
   2893 # Provide some information about the compiler.
   2894 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
   2895 ac_compiler=`set X $ac_compile; echo $2`
   2896 { (ac_try="$ac_compiler --version >&5"
   2897 case "(($ac_try" in
   2898   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2899   *) ac_try_echo=$ac_try;;
   2900 esac
   2901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2902   (eval "$ac_compiler --version >&5") 2>&5
   2903   ac_status=$?
   2904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2905   (exit $ac_status); }
   2906 { (ac_try="$ac_compiler -v >&5"
   2907 case "(($ac_try" in
   2908   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2909   *) ac_try_echo=$ac_try;;
   2910 esac
   2911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2912   (eval "$ac_compiler -v >&5") 2>&5
   2913   ac_status=$?
   2914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2915   (exit $ac_status); }
   2916 { (ac_try="$ac_compiler -V >&5"
   2917 case "(($ac_try" in
   2918   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2919   *) ac_try_echo=$ac_try;;
   2920 esac
   2921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2922   (eval "$ac_compiler -V >&5") 2>&5
   2923   ac_status=$?
   2924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2925   (exit $ac_status); }
   2926 
   2927 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
   2928 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
   2929 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
   2930   echo $ECHO_N "(cached) $ECHO_C" >&6
   2931 else
   2932   cat >conftest.$ac_ext <<_ACEOF
   2933 /* confdefs.h.  */
   2934 _ACEOF
   2935 cat confdefs.h >>conftest.$ac_ext
   2936 cat >>conftest.$ac_ext <<_ACEOF
   2937 /* end confdefs.h.  */
   2938 
   2939 int
   2940 main ()
   2941 {
   2942 #ifndef __GNUC__
   2943        choke me
   2944 #endif
   2945 
   2946   ;
   2947   return 0;
   2948 }
   2949 _ACEOF
   2950 rm -f conftest.$ac_objext
   2951 if { (ac_try="$ac_compile"
   2952 case "(($ac_try" in
   2953   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2954   *) ac_try_echo=$ac_try;;
   2955 esac
   2956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2957   (eval "$ac_compile") 2>conftest.er1
   2958   ac_status=$?
   2959   grep -v '^ *+' conftest.er1 >conftest.err
   2960   rm -f conftest.er1
   2961   cat conftest.err >&5
   2962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2963   (exit $ac_status); } &&
   2964 	 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
   2965   { (case "(($ac_try" in
   2966   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2967   *) ac_try_echo=$ac_try;;
   2968 esac
   2969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2970   (eval "$ac_try") 2>&5
   2971   ac_status=$?
   2972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2973   (exit $ac_status); }; } &&
   2974 	 { ac_try='test -s conftest.$ac_objext'
   2975   { (case "(($ac_try" in
   2976   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2977   *) ac_try_echo=$ac_try;;
   2978 esac
   2979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2980   (eval "$ac_try") 2>&5
   2981   ac_status=$?
   2982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2983   (exit $ac_status); }; }; then
   2984   ac_compiler_gnu=yes
   2985 else
   2986   echo "$as_me: failed program was:" >&5
   2987 sed 's/^/| /' conftest.$ac_ext >&5
   2988 
   2989 	ac_compiler_gnu=no
   2990 fi
   2991 
   2992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2993 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
   2994 
   2995 fi
   2996 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
   2997 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
   2998 GXX=`test $ac_compiler_gnu = yes && echo yes`
   2999 ac_test_CXXFLAGS=${CXXFLAGS+set}
   3000 ac_save_CXXFLAGS=$CXXFLAGS
   3001 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
   3002 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
   3003 if test "${ac_cv_prog_cxx_g+set}" = set; then
   3004   echo $ECHO_N "(cached) $ECHO_C" >&6
   3005 else
   3006   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
   3007    ac_cxx_werror_flag=yes
   3008    ac_cv_prog_cxx_g=no
   3009    CXXFLAGS="-g"
   3010    cat >conftest.$ac_ext <<_ACEOF
   3011 /* confdefs.h.  */
   3012 _ACEOF
   3013 cat confdefs.h >>conftest.$ac_ext
   3014 cat >>conftest.$ac_ext <<_ACEOF
   3015 /* end confdefs.h.  */
   3016 
   3017 int
   3018 main ()
   3019 {
   3020 
   3021   ;
   3022   return 0;
   3023 }
   3024 _ACEOF
   3025 rm -f conftest.$ac_objext
   3026 if { (ac_try="$ac_compile"
   3027 case "(($ac_try" in
   3028   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3029   *) ac_try_echo=$ac_try;;
   3030 esac
   3031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3032   (eval "$ac_compile") 2>conftest.er1
   3033   ac_status=$?
   3034   grep -v '^ *+' conftest.er1 >conftest.err
   3035   rm -f conftest.er1
   3036   cat conftest.err >&5
   3037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3038   (exit $ac_status); } &&
   3039 	 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
   3040   { (case "(($ac_try" in
   3041   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3042   *) ac_try_echo=$ac_try;;
   3043 esac
   3044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3045   (eval "$ac_try") 2>&5
   3046   ac_status=$?
   3047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3048   (exit $ac_status); }; } &&
   3049 	 { ac_try='test -s conftest.$ac_objext'
   3050   { (case "(($ac_try" in
   3051   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3052   *) ac_try_echo=$ac_try;;
   3053 esac
   3054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3055   (eval "$ac_try") 2>&5
   3056   ac_status=$?
   3057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3058   (exit $ac_status); }; }; then
   3059   ac_cv_prog_cxx_g=yes
   3060 else
   3061   echo "$as_me: failed program was:" >&5
   3062 sed 's/^/| /' conftest.$ac_ext >&5
   3063 
   3064 	CXXFLAGS=""
   3065       cat >conftest.$ac_ext <<_ACEOF
   3066 /* confdefs.h.  */
   3067 _ACEOF
   3068 cat confdefs.h >>conftest.$ac_ext
   3069 cat >>conftest.$ac_ext <<_ACEOF
   3070 /* end confdefs.h.  */
   3071 
   3072 int
   3073 main ()
   3074 {
   3075 
   3076   ;
   3077   return 0;
   3078 }
   3079 _ACEOF
   3080 rm -f conftest.$ac_objext
   3081 if { (ac_try="$ac_compile"
   3082 case "(($ac_try" in
   3083   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3084   *) ac_try_echo=$ac_try;;
   3085 esac
   3086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3087   (eval "$ac_compile") 2>conftest.er1
   3088   ac_status=$?
   3089   grep -v '^ *+' conftest.er1 >conftest.err
   3090   rm -f conftest.er1
   3091   cat conftest.err >&5
   3092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3093   (exit $ac_status); } &&
   3094 	 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
   3095   { (case "(($ac_try" in
   3096   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3097   *) ac_try_echo=$ac_try;;
   3098 esac
   3099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3100   (eval "$ac_try") 2>&5
   3101   ac_status=$?
   3102   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3103   (exit $ac_status); }; } &&
   3104 	 { ac_try='test -s conftest.$ac_objext'
   3105   { (case "(($ac_try" in
   3106   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3107   *) ac_try_echo=$ac_try;;
   3108 esac
   3109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3110   (eval "$ac_try") 2>&5
   3111   ac_status=$?
   3112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3113   (exit $ac_status); }; }; then
   3114   :
   3115 else
   3116   echo "$as_me: failed program was:" >&5
   3117 sed 's/^/| /' conftest.$ac_ext >&5
   3118 
   3119 	ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   3120 	 CXXFLAGS="-g"
   3121 	 cat >conftest.$ac_ext <<_ACEOF
   3122 /* confdefs.h.  */
   3123 _ACEOF
   3124 cat confdefs.h >>conftest.$ac_ext
   3125 cat >>conftest.$ac_ext <<_ACEOF
   3126 /* end confdefs.h.  */
   3127 
   3128 int
   3129 main ()
   3130 {
   3131 
   3132   ;
   3133   return 0;
   3134 }
   3135 _ACEOF
   3136 rm -f conftest.$ac_objext
   3137 if { (ac_try="$ac_compile"
   3138 case "(($ac_try" in
   3139   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3140   *) ac_try_echo=$ac_try;;
   3141 esac
   3142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3143   (eval "$ac_compile") 2>conftest.er1
   3144   ac_status=$?
   3145   grep -v '^ *+' conftest.er1 >conftest.err
   3146   rm -f conftest.er1
   3147   cat conftest.err >&5
   3148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3149   (exit $ac_status); } &&
   3150 	 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
   3151   { (case "(($ac_try" in
   3152   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3153   *) ac_try_echo=$ac_try;;
   3154 esac
   3155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3156   (eval "$ac_try") 2>&5
   3157   ac_status=$?
   3158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3159   (exit $ac_status); }; } &&
   3160 	 { ac_try='test -s conftest.$ac_objext'
   3161   { (case "(($ac_try" in
   3162   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3163   *) ac_try_echo=$ac_try;;
   3164 esac
   3165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3166   (eval "$ac_try") 2>&5
   3167   ac_status=$?
   3168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3169   (exit $ac_status); }; }; then
   3170   ac_cv_prog_cxx_g=yes
   3171 else
   3172   echo "$as_me: failed program was:" >&5
   3173 sed 's/^/| /' conftest.$ac_ext >&5
   3174 
   3175 
   3176 fi
   3177 
   3178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3179 fi
   3180 
   3181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3182 fi
   3183 
   3184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3185    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   3186 fi
   3187 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
   3188 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
   3189 if test "$ac_test_CXXFLAGS" = set; then
   3190   CXXFLAGS=$ac_save_CXXFLAGS
   3191 elif test $ac_cv_prog_cxx_g = yes; then
   3192   if test "$GXX" = yes; then
   3193     CXXFLAGS="-g -O2"
   3194   else
   3195     CXXFLAGS="-g"
   3196   fi
   3197 else
   3198   if test "$GXX" = yes; then
   3199     CXXFLAGS="-O2"
   3200   else
   3201     CXXFLAGS=
   3202   fi
   3203 fi
   3204 ac_ext=c
   3205 ac_cpp='$CPP $CPPFLAGS'
   3206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3209 
   3210 ac_ext=c
   3211 ac_cpp='$CPP $CPPFLAGS'
   3212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3215 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
   3216 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
   3217 # On Suns, sometimes $CPP names a directory.
   3218 if test -n "$CPP" && test -d "$CPP"; then
   3219   CPP=
   3220 fi
   3221 if test -z "$CPP"; then
   3222   if test "${ac_cv_prog_CPP+set}" = set; then
   3223   echo $ECHO_N "(cached) $ECHO_C" >&6
   3224 else
   3225       # Double quotes because CPP needs to be expanded
   3226     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   3227     do
   3228       ac_preproc_ok=false
   3229 for ac_c_preproc_warn_flag in '' yes
   3230 do
   3231   # Use a header file that comes with gcc, so configuring glibc
   3232   # with a fresh cross-compiler works.
   3233   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3234   # <limits.h> exists even on freestanding compilers.
   3235   # On the NeXT, cc -E runs the code through the compiler's parser,
   3236   # not just through cpp. "Syntax error" is here to catch this case.
   3237   cat >conftest.$ac_ext <<_ACEOF
   3238 /* confdefs.h.  */
   3239 _ACEOF
   3240 cat confdefs.h >>conftest.$ac_ext
   3241 cat >>conftest.$ac_ext <<_ACEOF
   3242 /* end confdefs.h.  */
   3243 #ifdef __STDC__
   3244 # include <limits.h>
   3245 #else
   3246 # include <assert.h>
   3247 #endif
   3248 		     Syntax error
   3249 _ACEOF
   3250 if { (ac_try="$ac_cpp conftest.$ac_ext"
   3251 case "(($ac_try" in
   3252   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3253   *) ac_try_echo=$ac_try;;
   3254 esac
   3255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3256   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   3257   ac_status=$?
   3258   grep -v '^ *+' conftest.er1 >conftest.err
   3259   rm -f conftest.er1
   3260   cat conftest.err >&5
   3261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3262   (exit $ac_status); } >/dev/null; then
   3263   if test -s conftest.err; then
   3264     ac_cpp_err=$ac_c_preproc_warn_flag
   3265     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   3266   else
   3267     ac_cpp_err=
   3268   fi
   3269 else
   3270   ac_cpp_err=yes
   3271 fi
   3272 if test -z "$ac_cpp_err"; then
   3273   :
   3274 else
   3275   echo "$as_me: failed program was:" >&5
   3276 sed 's/^/| /' conftest.$ac_ext >&5
   3277 
   3278   # Broken: fails on valid input.
   3279 continue
   3280 fi
   3281 
   3282 rm -f conftest.err conftest.$ac_ext
   3283 
   3284   # OK, works on sane cases.  Now check whether nonexistent headers
   3285   # can be detected and how.
   3286   cat >conftest.$ac_ext <<_ACEOF
   3287 /* confdefs.h.  */
   3288 _ACEOF
   3289 cat confdefs.h >>conftest.$ac_ext
   3290 cat >>conftest.$ac_ext <<_ACEOF
   3291 /* end confdefs.h.  */
   3292 #include <ac_nonexistent.h>
   3293 _ACEOF
   3294 if { (ac_try="$ac_cpp conftest.$ac_ext"
   3295 case "(($ac_try" in
   3296   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3297   *) ac_try_echo=$ac_try;;
   3298 esac
   3299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3300   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   3301   ac_status=$?
   3302   grep -v '^ *+' conftest.er1 >conftest.err
   3303   rm -f conftest.er1
   3304   cat conftest.err >&5
   3305   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3306   (exit $ac_status); } >/dev/null; then
   3307   if test -s conftest.err; then
   3308     ac_cpp_err=$ac_c_preproc_warn_flag
   3309     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   3310   else
   3311     ac_cpp_err=
   3312   fi
   3313 else
   3314   ac_cpp_err=yes
   3315 fi
   3316 if test -z "$ac_cpp_err"; then
   3317   # Broken: success on invalid input.
   3318 continue
   3319 else
   3320   echo "$as_me: failed program was:" >&5
   3321 sed 's/^/| /' conftest.$ac_ext >&5
   3322 
   3323   # Passes both tests.
   3324 ac_preproc_ok=:
   3325 break
   3326 fi
   3327 
   3328 rm -f conftest.err conftest.$ac_ext
   3329 
   3330 done
   3331 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3332 rm -f conftest.err conftest.$ac_ext
   3333 if $ac_preproc_ok; then
   3334   break
   3335 fi
   3336 
   3337     done
   3338     ac_cv_prog_CPP=$CPP
   3339 
   3340 fi
   3341   CPP=$ac_cv_prog_CPP
   3342 else
   3343   ac_cv_prog_CPP=$CPP
   3344 fi
   3345 { echo "$as_me:$LINENO: result: $CPP" >&5
   3346 echo "${ECHO_T}$CPP" >&6; }
   3347 ac_preproc_ok=false
   3348 for ac_c_preproc_warn_flag in '' yes
   3349 do
   3350   # Use a header file that comes with gcc, so configuring glibc
   3351   # with a fresh cross-compiler works.
   3352   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3353   # <limits.h> exists even on freestanding compilers.
   3354   # On the NeXT, cc -E runs the code through the compiler's parser,
   3355   # not just through cpp. "Syntax error" is here to catch this case.
   3356   cat >conftest.$ac_ext <<_ACEOF
   3357 /* confdefs.h.  */
   3358 _ACEOF
   3359 cat confdefs.h >>conftest.$ac_ext
   3360 cat >>conftest.$ac_ext <<_ACEOF
   3361 /* end confdefs.h.  */
   3362 #ifdef __STDC__
   3363 # include <limits.h>
   3364 #else
   3365 # include <assert.h>
   3366 #endif
   3367 		     Syntax error
   3368 _ACEOF
   3369 if { (ac_try="$ac_cpp conftest.$ac_ext"
   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_cpp conftest.$ac_ext") 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); } >/dev/null; then
   3382   if test -s conftest.err; then
   3383     ac_cpp_err=$ac_c_preproc_warn_flag
   3384     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   3385   else
   3386     ac_cpp_err=
   3387   fi
   3388 else
   3389   ac_cpp_err=yes
   3390 fi
   3391 if test -z "$ac_cpp_err"; then
   3392   :
   3393 else
   3394   echo "$as_me: failed program was:" >&5
   3395 sed 's/^/| /' conftest.$ac_ext >&5
   3396 
   3397   # Broken: fails on valid input.
   3398 continue
   3399 fi
   3400 
   3401 rm -f conftest.err conftest.$ac_ext
   3402 
   3403   # OK, works on sane cases.  Now check whether nonexistent headers
   3404   # can be detected and how.
   3405   cat >conftest.$ac_ext <<_ACEOF
   3406 /* confdefs.h.  */
   3407 _ACEOF
   3408 cat confdefs.h >>conftest.$ac_ext
   3409 cat >>conftest.$ac_ext <<_ACEOF
   3410 /* end confdefs.h.  */
   3411 #include <ac_nonexistent.h>
   3412 _ACEOF
   3413 if { (ac_try="$ac_cpp conftest.$ac_ext"
   3414 case "(($ac_try" in
   3415   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3416   *) ac_try_echo=$ac_try;;
   3417 esac
   3418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3419   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   3420   ac_status=$?
   3421   grep -v '^ *+' conftest.er1 >conftest.err
   3422   rm -f conftest.er1
   3423   cat conftest.err >&5
   3424   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3425   (exit $ac_status); } >/dev/null; then
   3426   if test -s conftest.err; then
   3427     ac_cpp_err=$ac_c_preproc_warn_flag
   3428     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   3429   else
   3430     ac_cpp_err=
   3431   fi
   3432 else
   3433   ac_cpp_err=yes
   3434 fi
   3435 if test -z "$ac_cpp_err"; then
   3436   # Broken: success on invalid input.
   3437 continue
   3438 else
   3439   echo "$as_me: failed program was:" >&5
   3440 sed 's/^/| /' conftest.$ac_ext >&5
   3441 
   3442   # Passes both tests.
   3443 ac_preproc_ok=:
   3444 break
   3445 fi
   3446 
   3447 rm -f conftest.err conftest.$ac_ext
   3448 
   3449 done
   3450 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3451 rm -f conftest.err conftest.$ac_ext
   3452 if $ac_preproc_ok; then
   3453   :
   3454 else
   3455   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
   3456 See \`config.log' for more details." >&5
   3457 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
   3458 See \`config.log' for more details." >&2;}
   3459    { (exit 1); exit 1; }; }
   3460 fi
   3461 
   3462 ac_ext=c
   3463 ac_cpp='$CPP $CPPFLAGS'
   3464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3467 
   3468 
   3469 
   3470 
   3471 # Check whether --enable-polly was given.
   3472 if test "${enable_polly+set}" = set; then
   3473   enableval=$enable_polly;
   3474 else
   3475   enableval=default
   3476 fi
   3477 
   3478 case "$enableval" in
   3479   yes) ENABLE_POLLY=1
   3480  ;;
   3481   no)  ENABLE_POLLY=0
   3482  ;;
   3483   default) ENABLE_POLLY=1
   3484  ;;
   3485   *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-polly. Use \"yes\" or \"no\"" >&5
   3486 echo "$as_me: error: Invalid setting for --enable-polly. Use \"yes\" or \"no\"" >&2;}
   3487    { (exit 1); exit 1; }; } ;;
   3488 esac
   3489 
   3490 
   3491 if (test -d ${srcdir}/tools/polly) && (test $ENABLE_POLLY -eq 1) ; then
   3492   LLVM_HAS_POLLY=1
   3493 
   3494   subdirs="$subdirs tools/polly"
   3495 
   3496 fi
   3497 
   3498 
   3499 # Make sure we can run config.sub.
   3500 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   3501   { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
   3502 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
   3503    { (exit 1); exit 1; }; }
   3504 
   3505 { echo "$as_me:$LINENO: checking build system type" >&5
   3506 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
   3507 if test "${ac_cv_build+set}" = set; then
   3508   echo $ECHO_N "(cached) $ECHO_C" >&6
   3509 else
   3510   ac_build_alias=$build_alias
   3511 test "x$ac_build_alias" = x &&
   3512   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   3513 test "x$ac_build_alias" = x &&
   3514   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
   3515 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
   3516    { (exit 1); exit 1; }; }
   3517 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   3518   { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
   3519 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
   3520    { (exit 1); exit 1; }; }
   3521 
   3522 fi
   3523 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
   3524 echo "${ECHO_T}$ac_cv_build" >&6; }
   3525 case $ac_cv_build in
   3526 *-*-*) ;;
   3527 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
   3528 echo "$as_me: error: invalid value of canonical build" >&2;}
   3529    { (exit 1); exit 1; }; };;
   3530 esac
   3531 build=$ac_cv_build
   3532 ac_save_IFS=$IFS; IFS='-'
   3533 set x $ac_cv_build
   3534 shift
   3535 build_cpu=$1
   3536 build_vendor=$2
   3537 shift; shift
   3538 # Remember, the first character of IFS is used to create $*,
   3539 # except with old shells:
   3540 build_os=$*
   3541 IFS=$ac_save_IFS
   3542 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   3543 
   3544 
   3545 { echo "$as_me:$LINENO: checking host system type" >&5
   3546 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
   3547 if test "${ac_cv_host+set}" = set; then
   3548   echo $ECHO_N "(cached) $ECHO_C" >&6
   3549 else
   3550   if test "x$host_alias" = x; then
   3551   ac_cv_host=$ac_cv_build
   3552 else
   3553   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   3554     { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
   3555 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
   3556    { (exit 1); exit 1; }; }
   3557 fi
   3558 
   3559 fi
   3560 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
   3561 echo "${ECHO_T}$ac_cv_host" >&6; }
   3562 case $ac_cv_host in
   3563 *-*-*) ;;
   3564 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
   3565 echo "$as_me: error: invalid value of canonical host" >&2;}
   3566    { (exit 1); exit 1; }; };;
   3567 esac
   3568 host=$ac_cv_host
   3569 ac_save_IFS=$IFS; IFS='-'
   3570 set x $ac_cv_host
   3571 shift
   3572 host_cpu=$1
   3573 host_vendor=$2
   3574 shift; shift
   3575 # Remember, the first character of IFS is used to create $*,
   3576 # except with old shells:
   3577 host_os=$*
   3578 IFS=$ac_save_IFS
   3579 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   3580 
   3581 
   3582 { echo "$as_me:$LINENO: checking target system type" >&5
   3583 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
   3584 if test "${ac_cv_target+set}" = set; then
   3585   echo $ECHO_N "(cached) $ECHO_C" >&6
   3586 else
   3587   if test "x$target_alias" = x; then
   3588   ac_cv_target=$ac_cv_host
   3589 else
   3590   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
   3591     { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
   3592 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
   3593    { (exit 1); exit 1; }; }
   3594 fi
   3595 
   3596 fi
   3597 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
   3598 echo "${ECHO_T}$ac_cv_target" >&6; }
   3599 case $ac_cv_target in
   3600 *-*-*) ;;
   3601 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
   3602 echo "$as_me: error: invalid value of canonical target" >&2;}
   3603    { (exit 1); exit 1; }; };;
   3604 esac
   3605 target=$ac_cv_target
   3606 ac_save_IFS=$IFS; IFS='-'
   3607 set x $ac_cv_target
   3608 shift
   3609 target_cpu=$1
   3610 target_vendor=$2
   3611 shift; shift
   3612 # Remember, the first character of IFS is used to create $*,
   3613 # except with old shells:
   3614 target_os=$*
   3615 IFS=$ac_save_IFS
   3616 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
   3617 
   3618 
   3619 # The aliases save the names the user supplied, while $host etc.
   3620 # will get canonicalized.
   3621 test -n "$target_alias" &&
   3622   test "$program_prefix$program_suffix$program_transform_name" = \
   3623     NONENONEs,x,x, &&
   3624   program_prefix=${target_alias}-
   3625 
   3626 { echo "$as_me:$LINENO: checking type of operating system we're going to host on" >&5
   3627 echo $ECHO_N "checking type of operating system we're going to host on... $ECHO_C" >&6; }
   3628 if test "${llvm_cv_os_type+set}" = set; then
   3629   echo $ECHO_N "(cached) $ECHO_C" >&6
   3630 else
   3631   case $host in
   3632   *-*-aix*)
   3633     llvm_cv_link_all_option="-Wl,--whole-archive"
   3634     llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
   3635     llvm_cv_os_type="AIX"
   3636     llvm_cv_platform_type="Unix" ;;
   3637   *-*-irix*)
   3638     llvm_cv_link_all_option="-Wl,--whole-archive"
   3639     llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
   3640     llvm_cv_os_type="IRIX"
   3641     llvm_cv_platform_type="Unix" ;;
   3642   *-*-cygwin*)
   3643     llvm_cv_link_all_option="-Wl,--whole-archive"
   3644     llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
   3645     llvm_cv_os_type="Cygwin"
   3646     llvm_cv_platform_type="Unix" ;;
   3647   *-*-darwin*)
   3648     llvm_cv_link_all_option="-Wl,-all_load"
   3649     llvm_cv_no_link_all_option="-Wl,-noall_load"
   3650     llvm_cv_os_type="Darwin"
   3651     llvm_cv_platform_type="Unix" ;;
   3652   *-*-minix*)
   3653     llvm_cv_link_all_option="-Wl,-all_load"
   3654     llvm_cv_no_link_all_option="-Wl,-noall_load"
   3655     llvm_cv_os_type="Minix"
   3656     llvm_cv_platform_type="Unix" ;;
   3657   *-*-freebsd*)
   3658     llvm_cv_link_all_option="-Wl,--whole-archive"
   3659     llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
   3660     llvm_cv_os_type="FreeBSD"
   3661     llvm_cv_platform_type="Unix" ;;
   3662   *-*-openbsd*)
   3663     llvm_cv_link_all_option="-Wl,--whole-archive"
   3664     llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
   3665     llvm_cv_os_type="OpenBSD"
   3666     llvm_cv_platform_type="Unix" ;;
   3667   *-*-netbsd*)
   3668     llvm_cv_link_all_option="-Wl,--whole-archive"
   3669     llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
   3670     llvm_cv_os_type="NetBSD"
   3671     llvm_cv_platform_type="Unix" ;;
   3672   *-*-dragonfly*)
   3673     llvm_cv_link_all_option="-Wl,--whole-archive"
   3674     llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
   3675     llvm_cv_os_type="DragonFly"
   3676     llvm_cv_platform_type="Unix" ;;
   3677   *-*-hpux*)
   3678     llvm_cv_link_all_option="-Wl,--whole-archive"
   3679     llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
   3680     llvm_cv_os_type="HP-UX"
   3681     llvm_cv_platform_type="Unix" ;;
   3682   *-*-interix*)
   3683     llvm_cv_link_all_option="-Wl,--whole-archive"
   3684     llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
   3685     llvm_cv_os_type="Interix"
   3686     llvm_cv_platform_type="Unix" ;;
   3687   *-*-linux*)
   3688     llvm_cv_link_all_option="-Wl,--whole-archive"
   3689     llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
   3690     llvm_cv_os_type="Linux"
   3691     llvm_cv_platform_type="Unix" ;;
   3692   *-*-solaris*)
   3693     llvm_cv_link_all_option="-Wl,-z,allextract"
   3694     llvm_cv_no_link_all_option="-Wl,-z,defaultextract"
   3695     llvm_cv_os_type="SunOS"
   3696     llvm_cv_platform_type="Unix" ;;
   3697   *-*-auroraux*)
   3698     llvm_cv_link_all_option="-Wl,-z,allextract"
   3699     llvm_cv_link_all_option="-Wl,-z,defaultextract"
   3700     llvm_cv_os_type="AuroraUX"
   3701     llvm_cv_platform_type="Unix" ;;
   3702   *-*-win32*)
   3703     llvm_cv_link_all_option="-Wl,--whole-archive"
   3704     llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
   3705     llvm_cv_os_type="Win32"
   3706     llvm_cv_platform_type="Win32" ;;
   3707   *-*-mingw*)
   3708     llvm_cv_link_all_option="-Wl,--whole-archive"
   3709     llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
   3710     llvm_cv_os_type="MingW"
   3711     llvm_cv_platform_type="Win32" ;;
   3712   *-*-haiku*)
   3713     llvm_cv_link_all_option="-Wl,--whole-archive"
   3714     llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
   3715     llvm_cv_os_type="Haiku"
   3716     llvm_cv_platform_type="Unix" ;;
   3717   *-unknown-eabi*)
   3718     llvm_cv_link_all_option="-Wl,--whole-archive"
   3719     llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
   3720     llvm_cv_os_type="Freestanding"
   3721     llvm_cv_platform_type="Unix" ;;
   3722   *-unknown-elf*)
   3723     llvm_cv_link_all_option="-Wl,--whole-archive"
   3724     llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
   3725     llvm_cv_os_type="Freestanding"
   3726     llvm_cv_platform_type="Unix" ;;
   3727   *)
   3728     llvm_cv_link_all_option=""
   3729     llvm_cv_no_link_all_option=""
   3730     llvm_cv_os_type="Unknown"
   3731     llvm_cv_platform_type="Unknown" ;;
   3732 esac
   3733 fi
   3734 { echo "$as_me:$LINENO: result: $llvm_cv_os_type" >&5
   3735 echo "${ECHO_T}$llvm_cv_os_type" >&6; }
   3736 
   3737 { echo "$as_me:$LINENO: checking type of operating system we're going to target" >&5
   3738 echo $ECHO_N "checking type of operating system we're going to target... $ECHO_C" >&6; }
   3739 if test "${llvm_cv_target_os_type+set}" = set; then
   3740   echo $ECHO_N "(cached) $ECHO_C" >&6
   3741 else
   3742   case $target in
   3743   *-*-aix*)
   3744     llvm_cv_target_os_type="AIX" ;;
   3745   *-*-irix*)
   3746     llvm_cv_target_os_type="IRIX" ;;
   3747   *-*-cygwin*)
   3748     llvm_cv_target_os_type="Cygwin" ;;
   3749   *-*-darwin*)
   3750     llvm_cv_target_os_type="Darwin" ;;
   3751   *-*-minix*)
   3752     llvm_cv_target_os_type="Minix" ;;
   3753   *-*-freebsd*)
   3754     llvm_cv_target_os_type="FreeBSD" ;;
   3755   *-*-openbsd*)
   3756     llvm_cv_target_os_type="OpenBSD" ;;
   3757   *-*-netbsd*)
   3758     llvm_cv_target_os_type="NetBSD" ;;
   3759   *-*-dragonfly*)
   3760     llvm_cv_target_os_type="DragonFly" ;;
   3761   *-*-hpux*)
   3762     llvm_cv_target_os_type="HP-UX" ;;
   3763   *-*-interix*)
   3764     llvm_cv_target_os_type="Interix" ;;
   3765   *-*-linux*)
   3766     llvm_cv_target_os_type="Linux" ;;
   3767   *-*-solaris*)
   3768     llvm_cv_target_os_type="SunOS" ;;
   3769   *-*-auroraux*)
   3770     llvm_cv_target_os_type="AuroraUX" ;;
   3771   *-*-win32*)
   3772     llvm_cv_target_os_type="Win32" ;;
   3773   *-*-mingw*)
   3774     llvm_cv_target_os_type="MingW" ;;
   3775   *-*-haiku*)
   3776     llvm_cv_target_os_type="Haiku" ;;
   3777   *-*-rtems*)
   3778     llvm_cv_target_os_type="RTEMS" ;;
   3779   *-*-nacl*)
   3780     llvm_cv_target_os_type="NativeClient" ;;
   3781   *-unknown-eabi*)
   3782     llvm_cv_target_os_type="Freestanding" ;;
   3783   *)
   3784     llvm_cv_target_os_type="Unknown" ;;
   3785 esac
   3786 fi
   3787 { echo "$as_me:$LINENO: result: $llvm_cv_target_os_type" >&5
   3788 echo "${ECHO_T}$llvm_cv_target_os_type" >&6; }
   3789 
   3790 if test "$llvm_cv_os_type" = "Unknown" ; then
   3791   { { echo "$as_me:$LINENO: error: Operating system is unknown, configure can't continue" >&5
   3792 echo "$as_me: error: Operating system is unknown, configure can't continue" >&2;}
   3793    { (exit 1); exit 1; }; }
   3794 fi
   3795 
   3796 OS=$llvm_cv_os_type
   3797 
   3798 HOST_OS=$llvm_cv_os_type
   3799 
   3800 TARGET_OS=$llvm_cv_target_os_type
   3801 
   3802 
   3803 LINKALL=$llvm_cv_link_all_option
   3804 
   3805 NOLINKALL=$llvm_cv_no_link_all_option
   3806 
   3807 
   3808 case $llvm_cv_platform_type in
   3809   Unix)
   3810 
   3811 cat >>confdefs.h <<\_ACEOF
   3812 #define LLVM_ON_UNIX 1
   3813 _ACEOF
   3814 
   3815     LLVM_ON_UNIX=1
   3816 
   3817     LLVM_ON_WIN32=0
   3818 
   3819     ;;
   3820   Win32)
   3821 
   3822 cat >>confdefs.h <<\_ACEOF
   3823 #define LLVM_ON_WIN32 1
   3824 _ACEOF
   3825 
   3826     LLVM_ON_UNIX=0
   3827 
   3828     LLVM_ON_WIN32=1
   3829 
   3830     ;;
   3831 esac
   3832 
   3833 { echo "$as_me:$LINENO: checking target architecture" >&5
   3834 echo $ECHO_N "checking target architecture... $ECHO_C" >&6; }
   3835 if test "${llvm_cv_target_arch+set}" = set; then
   3836   echo $ECHO_N "(cached) $ECHO_C" >&6
   3837 else
   3838   case $target in
   3839   i?86-*)                 llvm_cv_target_arch="x86" ;;
   3840   amd64-* | x86_64-*)     llvm_cv_target_arch="x86_64" ;;
   3841   sparc*-*)               llvm_cv_target_arch="Sparc" ;;
   3842   powerpc*-*)             llvm_cv_target_arch="PowerPC" ;;
   3843   alpha*-*)               llvm_cv_target_arch="Alpha" ;;
   3844   arm*-*)                 llvm_cv_target_arch="ARM" ;;
   3845   mips-*)                 llvm_cv_target_arch="Mips" ;;
   3846   xcore-*)                llvm_cv_target_arch="XCore" ;;
   3847   msp430-*)               llvm_cv_target_arch="MSP430" ;;
   3848   s390x-*)                llvm_cv_target_arch="SystemZ" ;;
   3849   bfin-*)                 llvm_cv_target_arch="Blackfin" ;;
   3850   mblaze-*)               llvm_cv_target_arch="MBlaze" ;;
   3851   ptx-*)                  llvm_cv_target_arch="PTX" ;;
   3852   *)                      llvm_cv_target_arch="Unknown" ;;
   3853 esac
   3854 fi
   3855 { echo "$as_me:$LINENO: result: $llvm_cv_target_arch" >&5
   3856 echo "${ECHO_T}$llvm_cv_target_arch" >&6; }
   3857 
   3858 if test "$llvm_cv_target_arch" = "Unknown" ; then
   3859   { echo "$as_me:$LINENO: WARNING: Configuring LLVM for an unknown target archicture" >&5
   3860 echo "$as_me: WARNING: Configuring LLVM for an unknown target archicture" >&2;}
   3861 fi
   3862 
   3863 # Determine the LLVM native architecture for the target
   3864 case "$llvm_cv_target_arch" in
   3865     x86)     LLVM_NATIVE_ARCH="X86" ;;
   3866     x86_64)  LLVM_NATIVE_ARCH="X86" ;;
   3867     *)       LLVM_NATIVE_ARCH="$llvm_cv_target_arch" ;;
   3868 esac
   3869 
   3870 ARCH=$llvm_cv_target_arch
   3871 
   3872 
   3873 
   3874 
   3875 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
   3876 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
   3877 if test "${ac_cv_path_GREP+set}" = set; then
   3878   echo $ECHO_N "(cached) $ECHO_C" >&6
   3879 else
   3880   # Extract the first word of "grep ggrep" to use in msg output
   3881 if test -z "$GREP"; then
   3882 set dummy grep ggrep; ac_prog_name=$2
   3883 if test "${ac_cv_path_GREP+set}" = set; then
   3884   echo $ECHO_N "(cached) $ECHO_C" >&6
   3885 else
   3886   ac_path_GREP_found=false
   3887 # Loop through the user's path and test for each of PROGNAME-LIST
   3888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3889 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3890 do
   3891   IFS=$as_save_IFS
   3892   test -z "$as_dir" && as_dir=.
   3893   for ac_prog in grep ggrep; do
   3894   for ac_exec_ext in '' $ac_executable_extensions; do
   3895     ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   3896     { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
   3897     # Check for GNU ac_path_GREP and select it if it is found.
   3898   # Check for GNU $ac_path_GREP
   3899 case `"$ac_path_GREP" --version 2>&1` in
   3900 *GNU*)
   3901   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   3902 *)
   3903   ac_count=0
   3904   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
   3905   while :
   3906   do
   3907     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3908     mv "conftest.tmp" "conftest.in"
   3909     cp "conftest.in" "conftest.nl"
   3910     echo 'GREP' >> "conftest.nl"
   3911     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3912     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3913     ac_count=`expr $ac_count + 1`
   3914     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   3915       # Best one so far, save it but keep looking for a better one
   3916       ac_cv_path_GREP="$ac_path_GREP"
   3917       ac_path_GREP_max=$ac_count
   3918     fi
   3919     # 10*(2^10) chars as input seems more than enough
   3920     test $ac_count -gt 10 && break
   3921   done
   3922   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3923 esac
   3924 
   3925 
   3926     $ac_path_GREP_found && break 3
   3927   done
   3928 done
   3929 
   3930 done
   3931 IFS=$as_save_IFS
   3932 
   3933 
   3934 fi
   3935 
   3936 GREP="$ac_cv_path_GREP"
   3937 if test -z "$GREP"; then
   3938   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   3939 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   3940    { (exit 1); exit 1; }; }
   3941 fi
   3942 
   3943 else
   3944   ac_cv_path_GREP=$GREP
   3945 fi
   3946 
   3947 
   3948 fi
   3949 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
   3950 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
   3951  GREP="$ac_cv_path_GREP"
   3952 
   3953 
   3954 { echo "$as_me:$LINENO: checking for egrep" >&5
   3955 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
   3956 if test "${ac_cv_path_EGREP+set}" = set; then
   3957   echo $ECHO_N "(cached) $ECHO_C" >&6
   3958 else
   3959   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   3960    then ac_cv_path_EGREP="$GREP -E"
   3961    else
   3962      # Extract the first word of "egrep" to use in msg output
   3963 if test -z "$EGREP"; then
   3964 set dummy egrep; ac_prog_name=$2
   3965 if test "${ac_cv_path_EGREP+set}" = set; then
   3966   echo $ECHO_N "(cached) $ECHO_C" >&6
   3967 else
   3968   ac_path_EGREP_found=false
   3969 # Loop through the user's path and test for each of PROGNAME-LIST
   3970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3971 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3972 do
   3973   IFS=$as_save_IFS
   3974   test -z "$as_dir" && as_dir=.
   3975   for ac_prog in egrep; do
   3976   for ac_exec_ext in '' $ac_executable_extensions; do
   3977     ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   3978     { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
   3979     # Check for GNU ac_path_EGREP and select it if it is found.
   3980   # Check for GNU $ac_path_EGREP
   3981 case `"$ac_path_EGREP" --version 2>&1` in
   3982 *GNU*)
   3983   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   3984 *)
   3985   ac_count=0
   3986   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
   3987   while :
   3988   do
   3989     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3990     mv "conftest.tmp" "conftest.in"
   3991     cp "conftest.in" "conftest.nl"
   3992     echo 'EGREP' >> "conftest.nl"
   3993     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3994     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3995     ac_count=`expr $ac_count + 1`
   3996     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   3997       # Best one so far, save it but keep looking for a better one
   3998       ac_cv_path_EGREP="$ac_path_EGREP"
   3999       ac_path_EGREP_max=$ac_count
   4000     fi
   4001     # 10*(2^10) chars as input seems more than enough
   4002     test $ac_count -gt 10 && break
   4003   done
   4004   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4005 esac
   4006 
   4007 
   4008     $ac_path_EGREP_found && break 3
   4009   done
   4010 done
   4011 
   4012 done
   4013 IFS=$as_save_IFS
   4014 
   4015 
   4016 fi
   4017 
   4018 EGREP="$ac_cv_path_EGREP"
   4019 if test -z "$EGREP"; then
   4020   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   4021 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   4022    { (exit 1); exit 1; }; }
   4023 fi
   4024 
   4025 else
   4026   ac_cv_path_EGREP=$EGREP
   4027 fi
   4028 
   4029 
   4030    fi
   4031 fi
   4032 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
   4033 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
   4034  EGREP="$ac_cv_path_EGREP"
   4035 
   4036 
   4037 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   4038 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
   4039 if test "${ac_cv_header_stdc+set}" = set; then
   4040   echo $ECHO_N "(cached) $ECHO_C" >&6
   4041 else
   4042   cat >conftest.$ac_ext <<_ACEOF
   4043 /* confdefs.h.  */
   4044 _ACEOF
   4045 cat confdefs.h >>conftest.$ac_ext
   4046 cat >>conftest.$ac_ext <<_ACEOF
   4047 /* end confdefs.h.  */
   4048 #include <stdlib.h>
   4049 #include <stdarg.h>
   4050 #include <string.h>
   4051 #include <float.h>
   4052 
   4053 int
   4054 main ()
   4055 {
   4056 
   4057   ;
   4058   return 0;
   4059 }
   4060 _ACEOF
   4061 rm -f conftest.$ac_objext
   4062 if { (ac_try="$ac_compile"
   4063 case "(($ac_try" in
   4064   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4065   *) ac_try_echo=$ac_try;;
   4066 esac
   4067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4068   (eval "$ac_compile") 2>conftest.er1
   4069   ac_status=$?
   4070   grep -v '^ *+' conftest.er1 >conftest.err
   4071   rm -f conftest.er1
   4072   cat conftest.err >&5
   4073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4074   (exit $ac_status); } &&
   4075 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   4076   { (case "(($ac_try" in
   4077   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4078   *) ac_try_echo=$ac_try;;
   4079 esac
   4080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4081   (eval "$ac_try") 2>&5
   4082   ac_status=$?
   4083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4084   (exit $ac_status); }; } &&
   4085 	 { ac_try='test -s conftest.$ac_objext'
   4086   { (case "(($ac_try" in
   4087   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4088   *) ac_try_echo=$ac_try;;
   4089 esac
   4090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4091   (eval "$ac_try") 2>&5
   4092   ac_status=$?
   4093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4094   (exit $ac_status); }; }; then
   4095   ac_cv_header_stdc=yes
   4096 else
   4097   echo "$as_me: failed program was:" >&5
   4098 sed 's/^/| /' conftest.$ac_ext >&5
   4099 
   4100 	ac_cv_header_stdc=no
   4101 fi
   4102 
   4103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4104 
   4105 if test $ac_cv_header_stdc = yes; then
   4106   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4107   cat >conftest.$ac_ext <<_ACEOF
   4108 /* confdefs.h.  */
   4109 _ACEOF
   4110 cat confdefs.h >>conftest.$ac_ext
   4111 cat >>conftest.$ac_ext <<_ACEOF
   4112 /* end confdefs.h.  */
   4113 #include <string.h>
   4114 
   4115 _ACEOF
   4116 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4117   $EGREP "memchr" >/dev/null 2>&1; then
   4118   :
   4119 else
   4120   ac_cv_header_stdc=no
   4121 fi
   4122 rm -f conftest*
   4123 
   4124 fi
   4125 
   4126 if test $ac_cv_header_stdc = yes; then
   4127   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4128   cat >conftest.$ac_ext <<_ACEOF
   4129 /* confdefs.h.  */
   4130 _ACEOF
   4131 cat confdefs.h >>conftest.$ac_ext
   4132 cat >>conftest.$ac_ext <<_ACEOF
   4133 /* end confdefs.h.  */
   4134 #include <stdlib.h>
   4135 
   4136 _ACEOF
   4137 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4138   $EGREP "free" >/dev/null 2>&1; then
   4139   :
   4140 else
   4141   ac_cv_header_stdc=no
   4142 fi
   4143 rm -f conftest*
   4144 
   4145 fi
   4146 
   4147 if test $ac_cv_header_stdc = yes; then
   4148   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4149   if test "$cross_compiling" = yes; then
   4150   :
   4151 else
   4152   cat >conftest.$ac_ext <<_ACEOF
   4153 /* confdefs.h.  */
   4154 _ACEOF
   4155 cat confdefs.h >>conftest.$ac_ext
   4156 cat >>conftest.$ac_ext <<_ACEOF
   4157 /* end confdefs.h.  */
   4158 #include <ctype.h>
   4159 #include <stdlib.h>
   4160 #if ((' ' & 0x0FF) == 0x020)
   4161 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4162 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4163 #else
   4164 # define ISLOWER(c) \
   4165 		   (('a' <= (c) && (c) <= 'i') \
   4166 		     || ('j' <= (c) && (c) <= 'r') \
   4167 		     || ('s' <= (c) && (c) <= 'z'))
   4168 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4169 #endif
   4170 
   4171 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4172 int
   4173 main ()
   4174 {
   4175   int i;
   4176   for (i = 0; i < 256; i++)
   4177     if (XOR (islower (i), ISLOWER (i))
   4178 	|| toupper (i) != TOUPPER (i))
   4179       return 2;
   4180   return 0;
   4181 }
   4182 _ACEOF
   4183 rm -f conftest$ac_exeext
   4184 if { (ac_try="$ac_link"
   4185 case "(($ac_try" in
   4186   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4187   *) ac_try_echo=$ac_try;;
   4188 esac
   4189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4190   (eval "$ac_link") 2>&5
   4191   ac_status=$?
   4192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4193   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   4194   { (case "(($ac_try" in
   4195   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4196   *) ac_try_echo=$ac_try;;
   4197 esac
   4198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4199   (eval "$ac_try") 2>&5
   4200   ac_status=$?
   4201   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4202   (exit $ac_status); }; }; then
   4203   :
   4204 else
   4205   echo "$as_me: program exited with status $ac_status" >&5
   4206 echo "$as_me: failed program was:" >&5
   4207 sed 's/^/| /' conftest.$ac_ext >&5
   4208 
   4209 ( exit $ac_status )
   4210 ac_cv_header_stdc=no
   4211 fi
   4212 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   4213 fi
   4214 
   4215 
   4216 fi
   4217 fi
   4218 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   4219 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
   4220 if test $ac_cv_header_stdc = yes; then
   4221 
   4222 cat >>confdefs.h <<\_ACEOF
   4223 #define STDC_HEADERS 1
   4224 _ACEOF
   4225 
   4226 fi
   4227 
   4228 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4229 
   4230 
   4231 
   4232 
   4233 
   4234 
   4235 
   4236 
   4237 
   4238 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4239 		  inttypes.h stdint.h unistd.h
   4240 do
   4241 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4242 { echo "$as_me:$LINENO: checking for $ac_header" >&5
   4243 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   4244 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   4245   echo $ECHO_N "(cached) $ECHO_C" >&6
   4246 else
   4247   cat >conftest.$ac_ext <<_ACEOF
   4248 /* confdefs.h.  */
   4249 _ACEOF
   4250 cat confdefs.h >>conftest.$ac_ext
   4251 cat >>conftest.$ac_ext <<_ACEOF
   4252 /* end confdefs.h.  */
   4253 $ac_includes_default
   4254 
   4255 #include <$ac_header>
   4256 _ACEOF
   4257 rm -f conftest.$ac_objext
   4258 if { (ac_try="$ac_compile"
   4259 case "(($ac_try" in
   4260   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4261   *) ac_try_echo=$ac_try;;
   4262 esac
   4263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4264   (eval "$ac_compile") 2>conftest.er1
   4265   ac_status=$?
   4266   grep -v '^ *+' conftest.er1 >conftest.err
   4267   rm -f conftest.er1
   4268   cat conftest.err >&5
   4269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4270   (exit $ac_status); } &&
   4271 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   4272   { (case "(($ac_try" in
   4273   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4274   *) ac_try_echo=$ac_try;;
   4275 esac
   4276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4277   (eval "$ac_try") 2>&5
   4278   ac_status=$?
   4279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4280   (exit $ac_status); }; } &&
   4281 	 { ac_try='test -s conftest.$ac_objext'
   4282   { (case "(($ac_try" in
   4283   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4284   *) ac_try_echo=$ac_try;;
   4285 esac
   4286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4287   (eval "$ac_try") 2>&5
   4288   ac_status=$?
   4289   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4290   (exit $ac_status); }; }; then
   4291   eval "$as_ac_Header=yes"
   4292 else
   4293   echo "$as_me: failed program was:" >&5
   4294 sed 's/^/| /' conftest.$ac_ext >&5
   4295 
   4296 	eval "$as_ac_Header=no"
   4297 fi
   4298 
   4299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4300 fi
   4301 ac_res=`eval echo '${'$as_ac_Header'}'`
   4302 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   4303 echo "${ECHO_T}$ac_res" >&6; }
   4304 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   4305   cat >>confdefs.h <<_ACEOF
   4306 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4307 _ACEOF
   4308 
   4309 fi
   4310 
   4311 done
   4312 
   4313 
   4314 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
   4315 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
   4316 if test "${ac_cv_c_bigendian+set}" = set; then
   4317   echo $ECHO_N "(cached) $ECHO_C" >&6
   4318 else
   4319   # See if sys/param.h defines the BYTE_ORDER macro.
   4320 cat >conftest.$ac_ext <<_ACEOF
   4321 /* confdefs.h.  */
   4322 _ACEOF
   4323 cat confdefs.h >>conftest.$ac_ext
   4324 cat >>conftest.$ac_ext <<_ACEOF
   4325 /* end confdefs.h.  */
   4326 #include <sys/types.h>
   4327 #include <sys/param.h>
   4328 
   4329 int
   4330 main ()
   4331 {
   4332 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
   4333  bogus endian macros
   4334 #endif
   4335 
   4336   ;
   4337   return 0;
   4338 }
   4339 _ACEOF
   4340 rm -f conftest.$ac_objext
   4341 if { (ac_try="$ac_compile"
   4342 case "(($ac_try" in
   4343   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4344   *) ac_try_echo=$ac_try;;
   4345 esac
   4346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4347   (eval "$ac_compile") 2>conftest.er1
   4348   ac_status=$?
   4349   grep -v '^ *+' conftest.er1 >conftest.err
   4350   rm -f conftest.er1
   4351   cat conftest.err >&5
   4352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4353   (exit $ac_status); } &&
   4354 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   4355   { (case "(($ac_try" in
   4356   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4357   *) ac_try_echo=$ac_try;;
   4358 esac
   4359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4360   (eval "$ac_try") 2>&5
   4361   ac_status=$?
   4362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4363   (exit $ac_status); }; } &&
   4364 	 { ac_try='test -s conftest.$ac_objext'
   4365   { (case "(($ac_try" in
   4366   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4367   *) ac_try_echo=$ac_try;;
   4368 esac
   4369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4370   (eval "$ac_try") 2>&5
   4371   ac_status=$?
   4372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4373   (exit $ac_status); }; }; then
   4374   # It does; now see whether it defined to BIG_ENDIAN or not.
   4375 cat >conftest.$ac_ext <<_ACEOF
   4376 /* confdefs.h.  */
   4377 _ACEOF
   4378 cat confdefs.h >>conftest.$ac_ext
   4379 cat >>conftest.$ac_ext <<_ACEOF
   4380 /* end confdefs.h.  */
   4381 #include <sys/types.h>
   4382 #include <sys/param.h>
   4383 
   4384 int
   4385 main ()
   4386 {
   4387 #if BYTE_ORDER != BIG_ENDIAN
   4388  not big endian
   4389 #endif
   4390 
   4391   ;
   4392   return 0;
   4393 }
   4394 _ACEOF
   4395 rm -f conftest.$ac_objext
   4396 if { (ac_try="$ac_compile"
   4397 case "(($ac_try" in
   4398   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4399   *) ac_try_echo=$ac_try;;
   4400 esac
   4401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4402   (eval "$ac_compile") 2>conftest.er1
   4403   ac_status=$?
   4404   grep -v '^ *+' conftest.er1 >conftest.err
   4405   rm -f conftest.er1
   4406   cat conftest.err >&5
   4407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4408   (exit $ac_status); } &&
   4409 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   4410   { (case "(($ac_try" in
   4411   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4412   *) ac_try_echo=$ac_try;;
   4413 esac
   4414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4415   (eval "$ac_try") 2>&5
   4416   ac_status=$?
   4417   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4418   (exit $ac_status); }; } &&
   4419 	 { ac_try='test -s conftest.$ac_objext'
   4420   { (case "(($ac_try" in
   4421   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4422   *) ac_try_echo=$ac_try;;
   4423 esac
   4424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4425   (eval "$ac_try") 2>&5
   4426   ac_status=$?
   4427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4428   (exit $ac_status); }; }; then
   4429   ac_cv_c_bigendian=yes
   4430 else
   4431   echo "$as_me: failed program was:" >&5
   4432 sed 's/^/| /' conftest.$ac_ext >&5
   4433 
   4434 	ac_cv_c_bigendian=no
   4435 fi
   4436 
   4437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4438 else
   4439   echo "$as_me: failed program was:" >&5
   4440 sed 's/^/| /' conftest.$ac_ext >&5
   4441 
   4442 	# It does not; compile a test program.
   4443 if test "$cross_compiling" = yes; then
   4444   # try to guess the endianness by grepping values into an object file
   4445   ac_cv_c_bigendian=unknown
   4446   cat >conftest.$ac_ext <<_ACEOF
   4447 /* confdefs.h.  */
   4448 _ACEOF
   4449 cat confdefs.h >>conftest.$ac_ext
   4450 cat >>conftest.$ac_ext <<_ACEOF
   4451 /* end confdefs.h.  */
   4452 short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
   4453 short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
   4454 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
   4455 short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
   4456 short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
   4457 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
   4458 int
   4459 main ()
   4460 {
   4461  _ascii (); _ebcdic ();
   4462   ;
   4463   return 0;
   4464 }
   4465 _ACEOF
   4466 rm -f conftest.$ac_objext
   4467 if { (ac_try="$ac_compile"
   4468 case "(($ac_try" in
   4469   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4470   *) ac_try_echo=$ac_try;;
   4471 esac
   4472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4473   (eval "$ac_compile") 2>conftest.er1
   4474   ac_status=$?
   4475   grep -v '^ *+' conftest.er1 >conftest.err
   4476   rm -f conftest.er1
   4477   cat conftest.err >&5
   4478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4479   (exit $ac_status); } &&
   4480 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   4481   { (case "(($ac_try" in
   4482   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4483   *) ac_try_echo=$ac_try;;
   4484 esac
   4485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4486   (eval "$ac_try") 2>&5
   4487   ac_status=$?
   4488   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4489   (exit $ac_status); }; } &&
   4490 	 { ac_try='test -s conftest.$ac_objext'
   4491   { (case "(($ac_try" in
   4492   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4493   *) ac_try_echo=$ac_try;;
   4494 esac
   4495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4496   (eval "$ac_try") 2>&5
   4497   ac_status=$?
   4498   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4499   (exit $ac_status); }; }; then
   4500   if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
   4501   ac_cv_c_bigendian=yes
   4502 fi
   4503 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
   4504   if test "$ac_cv_c_bigendian" = unknown; then
   4505     ac_cv_c_bigendian=no
   4506   else
   4507     # finding both strings is unlikely to happen, but who knows?
   4508     ac_cv_c_bigendian=unknown
   4509   fi
   4510 fi
   4511 else
   4512   echo "$as_me: failed program was:" >&5
   4513 sed 's/^/| /' conftest.$ac_ext >&5
   4514 
   4515 
   4516 fi
   4517 
   4518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4519 else
   4520   cat >conftest.$ac_ext <<_ACEOF
   4521 /* confdefs.h.  */
   4522 _ACEOF
   4523 cat confdefs.h >>conftest.$ac_ext
   4524 cat >>conftest.$ac_ext <<_ACEOF
   4525 /* end confdefs.h.  */
   4526 $ac_includes_default
   4527 int
   4528 main ()
   4529 {
   4530 
   4531   /* Are we little or big endian?  From Harbison&Steele.  */
   4532   union
   4533   {
   4534     long int l;
   4535     char c[sizeof (long int)];
   4536   } u;
   4537   u.l = 1;
   4538   return u.c[sizeof (long int) - 1] == 1;
   4539 
   4540   ;
   4541   return 0;
   4542 }
   4543 _ACEOF
   4544 rm -f conftest$ac_exeext
   4545 if { (ac_try="$ac_link"
   4546 case "(($ac_try" in
   4547   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4548   *) ac_try_echo=$ac_try;;
   4549 esac
   4550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4551   (eval "$ac_link") 2>&5
   4552   ac_status=$?
   4553   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4554   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   4555   { (case "(($ac_try" in
   4556   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4557   *) ac_try_echo=$ac_try;;
   4558 esac
   4559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4560   (eval "$ac_try") 2>&5
   4561   ac_status=$?
   4562   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4563   (exit $ac_status); }; }; then
   4564   ac_cv_c_bigendian=no
   4565 else
   4566   echo "$as_me: program exited with status $ac_status" >&5
   4567 echo "$as_me: failed program was:" >&5
   4568 sed 's/^/| /' conftest.$ac_ext >&5
   4569 
   4570 ( exit $ac_status )
   4571 ac_cv_c_bigendian=yes
   4572 fi
   4573 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   4574 fi
   4575 
   4576 
   4577 fi
   4578 
   4579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4580 fi
   4581 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
   4582 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
   4583 case $ac_cv_c_bigendian in
   4584   yes)
   4585     ENDIAN=big
   4586  ;;
   4587   no)
   4588     ENDIAN=little
   4589  ;;
   4590   *)
   4591     { { echo "$as_me:$LINENO: error: unknown endianness
   4592 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
   4593 echo "$as_me: error: unknown endianness
   4594 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
   4595    { (exit 1); exit 1; }; } ;;
   4596 esac
   4597 
   4598 
   4599 if test "$cross_compiling" = yes; then
   4600   LLVM_CROSS_COMPILING=1
   4601 
   4602 
   4603 { echo "$as_me:$LINENO: checking for executable suffix on build platform" >&5
   4604 echo $ECHO_N "checking for executable suffix on build platform... $ECHO_C" >&6; }
   4605 if test "${ac_cv_build_exeext+set}" = set; then
   4606   echo $ECHO_N "(cached) $ECHO_C" >&6
   4607 else
   4608   if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
   4609   ac_cv_build_exeext=.exe
   4610 else
   4611   ac_build_prefix=${build_alias}-
   4612 
   4613   # Extract the first word of "${ac_build_prefix}gcc", so it can be a program name with args.
   4614 set dummy ${ac_build_prefix}gcc; ac_word=$2
   4615 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   4616 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   4617 if test "${ac_cv_prog_BUILD_CC+set}" = set; then
   4618   echo $ECHO_N "(cached) $ECHO_C" >&6
   4619 else
   4620   if test -n "$BUILD_CC"; then
   4621   ac_cv_prog_BUILD_CC="$BUILD_CC" # Let the user override the test.
   4622 else
   4623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4624 for as_dir in $PATH
   4625 do
   4626   IFS=$as_save_IFS
   4627   test -z "$as_dir" && as_dir=.
   4628   for ac_exec_ext in '' $ac_executable_extensions; do
   4629   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   4630     ac_cv_prog_BUILD_CC="${ac_build_prefix}gcc"
   4631     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   4632     break 2
   4633   fi
   4634 done
   4635 done
   4636 IFS=$as_save_IFS
   4637 
   4638 fi
   4639 fi
   4640 BUILD_CC=$ac_cv_prog_BUILD_CC
   4641 if test -n "$BUILD_CC"; then
   4642   { echo "$as_me:$LINENO: result: $BUILD_CC" >&5
   4643 echo "${ECHO_T}$BUILD_CC" >&6; }
   4644 else
   4645   { echo "$as_me:$LINENO: result: no" >&5
   4646 echo "${ECHO_T}no" >&6; }
   4647 fi
   4648 
   4649 
   4650   if test -z "$BUILD_CC"; then
   4651      # Extract the first word of "gcc", so it can be a program name with args.
   4652 set dummy gcc; ac_word=$2
   4653 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   4654 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   4655 if test "${ac_cv_prog_BUILD_CC+set}" = set; then
   4656   echo $ECHO_N "(cached) $ECHO_C" >&6
   4657 else
   4658   if test -n "$BUILD_CC"; then
   4659   ac_cv_prog_BUILD_CC="$BUILD_CC" # Let the user override the test.
   4660 else
   4661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4662 for as_dir in $PATH
   4663 do
   4664   IFS=$as_save_IFS
   4665   test -z "$as_dir" && as_dir=.
   4666   for ac_exec_ext in '' $ac_executable_extensions; do
   4667   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   4668     ac_cv_prog_BUILD_CC="gcc"
   4669     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   4670     break 2
   4671   fi
   4672 done
   4673 done
   4674 IFS=$as_save_IFS
   4675 
   4676 fi
   4677 fi
   4678 BUILD_CC=$ac_cv_prog_BUILD_CC
   4679 if test -n "$BUILD_CC"; then
   4680   { echo "$as_me:$LINENO: result: $BUILD_CC" >&5
   4681 echo "${ECHO_T}$BUILD_CC" >&6; }
   4682 else
   4683   { echo "$as_me:$LINENO: result: no" >&5
   4684 echo "${ECHO_T}no" >&6; }
   4685 fi
   4686 
   4687 
   4688      if test -z "$BUILD_CC"; then
   4689        # Extract the first word of "cc", so it can be a program name with args.
   4690 set dummy cc; ac_word=$2
   4691 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   4692 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   4693 if test "${ac_cv_prog_BUILD_CC+set}" = set; then
   4694   echo $ECHO_N "(cached) $ECHO_C" >&6
   4695 else
   4696   if test -n "$BUILD_CC"; then
   4697   ac_cv_prog_BUILD_CC="$BUILD_CC" # Let the user override the test.
   4698 else
   4699   ac_prog_rejected=no
   4700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4701 for as_dir in $PATH
   4702 do
   4703   IFS=$as_save_IFS
   4704   test -z "$as_dir" && as_dir=.
   4705   for ac_exec_ext in '' $ac_executable_extensions; do
   4706   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   4707     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   4708        ac_prog_rejected=yes
   4709        continue
   4710      fi
   4711     ac_cv_prog_BUILD_CC="cc"
   4712     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   4713     break 2
   4714   fi
   4715 done
   4716 done
   4717 IFS=$as_save_IFS
   4718 
   4719 if test $ac_prog_rejected = yes; then
   4720   # We found a bogon in the path, so make sure we never use it.
   4721   set dummy $ac_cv_prog_BUILD_CC
   4722   shift
   4723   if test $# != 0; then
   4724     # We chose a different compiler from the bogus one.
   4725     # However, it has the same basename, so the bogon will be chosen
   4726     # first if we set BUILD_CC to just the basename; use the full file name.
   4727     shift
   4728     ac_cv_prog_BUILD_CC="$as_dir/$ac_word${1+' '}$@"
   4729   fi
   4730 fi
   4731 fi
   4732 fi
   4733 BUILD_CC=$ac_cv_prog_BUILD_CC
   4734 if test -n "$BUILD_CC"; then
   4735   { echo "$as_me:$LINENO: result: $BUILD_CC" >&5
   4736 echo "${ECHO_T}$BUILD_CC" >&6; }
   4737 else
   4738   { echo "$as_me:$LINENO: result: no" >&5
   4739 echo "${ECHO_T}no" >&6; }
   4740 fi
   4741 
   4742 
   4743      fi
   4744   fi
   4745   test -z "$BUILD_CC" && { { echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5
   4746 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
   4747    { (exit 1); exit 1; }; }
   4748   ac_build_link='${BUILD_CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
   4749   rm -f conftest*
   4750   echo 'int main () { return 0; }' > conftest.$ac_ext
   4751   ac_cv_build_exeext=
   4752   if { (eval echo "$as_me:$LINENO: \"$ac_build_link\"") >&5
   4753   (eval $ac_build_link) 2>&5
   4754   ac_status=$?
   4755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4756   (exit $ac_status); }; then
   4757     for file in conftest.*; do
   4758       case $file in
   4759       *.c | *.o | *.obj | *.dSYM) ;;
   4760       *) ac_cv_build_exeext=`echo $file | sed -e s/conftest//` ;;
   4761       esac
   4762     done
   4763   else
   4764     { { echo "$as_me:$LINENO: error: installation or configuration problem: compiler cannot create executables." >&5
   4765 echo "$as_me: error: installation or configuration problem: compiler cannot create executables." >&2;}
   4766    { (exit 1); exit 1; }; }
   4767   fi
   4768   rm -f conftest*
   4769   test x"${ac_cv_build_exeext}" = x && ac_cv_build_exeext=blank
   4770 fi
   4771 fi
   4772 
   4773 BUILD_EXEEXT=""
   4774 test x"${ac_cv_build_exeext}" != xblank && BUILD_EXEEXT=${ac_cv_build_exeext}
   4775 { echo "$as_me:$LINENO: result: ${ac_cv_build_exeext}" >&5
   4776 echo "${ECHO_T}${ac_cv_build_exeext}" >&6; }
   4777 ac_build_exeext=$BUILD_EXEEXT
   4778 
   4779   ac_build_prefix=${build_alias}-
   4780   # Extract the first word of "${ac_build_prefix}g++", so it can be a program name with args.
   4781 set dummy ${ac_build_prefix}g++; ac_word=$2
   4782 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   4783 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   4784 if test "${ac_cv_prog_BUILD_CXX+set}" = set; then
   4785   echo $ECHO_N "(cached) $ECHO_C" >&6
   4786 else
   4787   if test -n "$BUILD_CXX"; then
   4788   ac_cv_prog_BUILD_CXX="$BUILD_CXX" # Let the user override the test.
   4789 else
   4790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4791 for as_dir in $PATH
   4792 do
   4793   IFS=$as_save_IFS
   4794   test -z "$as_dir" && as_dir=.
   4795   for ac_exec_ext in '' $ac_executable_extensions; do
   4796   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   4797     ac_cv_prog_BUILD_CXX="${ac_build_prefix}g++"
   4798     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   4799     break 2
   4800   fi
   4801 done
   4802 done
   4803 IFS=$as_save_IFS
   4804 
   4805 fi
   4806 fi
   4807 BUILD_CXX=$ac_cv_prog_BUILD_CXX
   4808 if test -n "$BUILD_CXX"; then
   4809   { echo "$as_me:$LINENO: result: $BUILD_CXX" >&5
   4810 echo "${ECHO_T}$BUILD_CXX" >&6; }
   4811 else
   4812   { echo "$as_me:$LINENO: result: no" >&5
   4813 echo "${ECHO_T}no" >&6; }
   4814 fi
   4815 
   4816 
   4817   if test -z "$BUILD_CXX"; then
   4818      # Extract the first word of "g++", so it can be a program name with args.
   4819 set dummy g++; ac_word=$2
   4820 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   4821 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   4822 if test "${ac_cv_prog_BUILD_CXX+set}" = set; then
   4823   echo $ECHO_N "(cached) $ECHO_C" >&6
   4824 else
   4825   if test -n "$BUILD_CXX"; then
   4826   ac_cv_prog_BUILD_CXX="$BUILD_CXX" # Let the user override the test.
   4827 else
   4828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4829 for as_dir in $PATH
   4830 do
   4831   IFS=$as_save_IFS
   4832   test -z "$as_dir" && as_dir=.
   4833   for ac_exec_ext in '' $ac_executable_extensions; do
   4834   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   4835     ac_cv_prog_BUILD_CXX="g++"
   4836     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   4837     break 2
   4838   fi
   4839 done
   4840 done
   4841 IFS=$as_save_IFS
   4842 
   4843 fi
   4844 fi
   4845 BUILD_CXX=$ac_cv_prog_BUILD_CXX
   4846 if test -n "$BUILD_CXX"; then
   4847   { echo "$as_me:$LINENO: result: $BUILD_CXX" >&5
   4848 echo "${ECHO_T}$BUILD_CXX" >&6; }
   4849 else
   4850   { echo "$as_me:$LINENO: result: no" >&5
   4851 echo "${ECHO_T}no" >&6; }
   4852 fi
   4853 
   4854 
   4855      if test -z "$BUILD_CXX"; then
   4856        # Extract the first word of "c++", so it can be a program name with args.
   4857 set dummy c++; ac_word=$2
   4858 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   4859 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   4860 if test "${ac_cv_prog_BUILD_CXX+set}" = set; then
   4861   echo $ECHO_N "(cached) $ECHO_C" >&6
   4862 else
   4863   if test -n "$BUILD_CXX"; then
   4864   ac_cv_prog_BUILD_CXX="$BUILD_CXX" # Let the user override the test.
   4865 else
   4866   ac_prog_rejected=no
   4867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4868 for as_dir in $PATH
   4869 do
   4870   IFS=$as_save_IFS
   4871   test -z "$as_dir" && as_dir=.
   4872   for ac_exec_ext in '' $ac_executable_extensions; do
   4873   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   4874     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/c++"; then
   4875        ac_prog_rejected=yes
   4876        continue
   4877      fi
   4878     ac_cv_prog_BUILD_CXX="c++"
   4879     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   4880     break 2
   4881   fi
   4882 done
   4883 done
   4884 IFS=$as_save_IFS
   4885 
   4886 if test $ac_prog_rejected = yes; then
   4887   # We found a bogon in the path, so make sure we never use it.
   4888   set dummy $ac_cv_prog_BUILD_CXX
   4889   shift
   4890   if test $# != 0; then
   4891     # We chose a different compiler from the bogus one.
   4892     # However, it has the same basename, so the bogon will be chosen
   4893     # first if we set BUILD_CXX to just the basename; use the full file name.
   4894     shift
   4895     ac_cv_prog_BUILD_CXX="$as_dir/$ac_word${1+' '}$@"
   4896   fi
   4897 fi
   4898 fi
   4899 fi
   4900 BUILD_CXX=$ac_cv_prog_BUILD_CXX
   4901 if test -n "$BUILD_CXX"; then
   4902   { echo "$as_me:$LINENO: result: $BUILD_CXX" >&5
   4903 echo "${ECHO_T}$BUILD_CXX" >&6; }
   4904 else
   4905   { echo "$as_me:$LINENO: result: no" >&5
   4906 echo "${ECHO_T}no" >&6; }
   4907 fi
   4908 
   4909 
   4910      fi
   4911   fi
   4912 else
   4913   LLVM_CROSS_COMPILING=0
   4914 
   4915 fi
   4916 
   4917 if test -d ".svn" -o -d "${srcdir}/.svn" -o -d ".git" -o -d "${srcdir}/.git"; then
   4918   cvsbuild="yes"
   4919   optimize="no"
   4920   CVSBUILD=CVSBUILD=1
   4921 
   4922 else
   4923   cvsbuild="no"
   4924   optimize="yes"
   4925 fi
   4926 
   4927 
   4928 # Check whether --enable-optimized was given.
   4929 if test "${enable_optimized+set}" = set; then
   4930   enableval=$enable_optimized;
   4931 else
   4932   enableval=$optimize
   4933 fi
   4934 
   4935 if test ${enableval} = "no" ; then
   4936   ENABLE_OPTIMIZED=
   4937 
   4938 else
   4939   ENABLE_OPTIMIZED=ENABLE_OPTIMIZED=1
   4940 
   4941 fi
   4942 
   4943 # Check whether --enable-profiling was given.
   4944 if test "${enable_profiling+set}" = set; then
   4945   enableval=$enable_profiling;
   4946 else
   4947   enableval="no"
   4948 fi
   4949 
   4950 if test ${enableval} = "no" ; then
   4951   ENABLE_PROFILING=
   4952 
   4953 else
   4954   ENABLE_PROFILING=ENABLE_PROFILING=1
   4955 
   4956 fi
   4957 
   4958 # Check whether --enable-assertions was given.
   4959 if test "${enable_assertions+set}" = set; then
   4960   enableval=$enable_assertions;
   4961 else
   4962   enableval="yes"
   4963 fi
   4964 
   4965 if test ${enableval} = "yes" ; then
   4966   DISABLE_ASSERTIONS=
   4967 
   4968 else
   4969   DISABLE_ASSERTIONS=DISABLE_ASSERTIONS=1
   4970 
   4971 fi
   4972 
   4973 # Check whether --enable-expensive-checks was given.
   4974 if test "${enable_expensive_checks+set}" = set; then
   4975   enableval=$enable_expensive_checks;
   4976 else
   4977   enableval="no"
   4978 fi
   4979 
   4980 if test ${enableval} = "yes" ; then
   4981   ENABLE_EXPENSIVE_CHECKS=ENABLE_EXPENSIVE_CHECKS=1
   4982 
   4983   EXPENSIVE_CHECKS=yes
   4984 
   4985 else
   4986   ENABLE_EXPENSIVE_CHECKS=
   4987 
   4988   EXPENSIVE_CHECKS=no
   4989 
   4990 fi
   4991 
   4992 # Check whether --enable-debug-runtime was given.
   4993 if test "${enable_debug_runtime+set}" = set; then
   4994   enableval=$enable_debug_runtime;
   4995 else
   4996   enableval=no
   4997 fi
   4998 
   4999 if test ${enableval} = "no" ; then
   5000   DEBUG_RUNTIME=
   5001 
   5002 else
   5003   DEBUG_RUNTIME=DEBUG_RUNTIME=1
   5004 
   5005 fi
   5006 
   5007 # Check whether --enable-debug-symbols was given.
   5008 if test "${enable_debug_symbols+set}" = set; then
   5009   enableval=$enable_debug_symbols;
   5010 else
   5011   enableval=no
   5012 fi
   5013 
   5014 if test ${enableval} = "no" ; then
   5015   DEBUG_SYMBOLS=
   5016 
   5017 else
   5018   DEBUG_SYMBOLS=DEBUG_SYMBOLS=1
   5019 
   5020 fi
   5021 
   5022 # Check whether --enable-jit was given.
   5023 if test "${enable_jit+set}" = set; then
   5024   enableval=$enable_jit;
   5025 else
   5026   enableval=default
   5027 fi
   5028 
   5029 if test ${enableval} = "no"
   5030 then
   5031   JIT=
   5032 
   5033 else
   5034   case "$llvm_cv_target_arch" in
   5035     x86)         TARGET_HAS_JIT=1
   5036  ;;
   5037     Sparc)       TARGET_HAS_JIT=0
   5038  ;;
   5039     PowerPC)     TARGET_HAS_JIT=1
   5040  ;;
   5041     x86_64)      TARGET_HAS_JIT=1
   5042  ;;
   5043     Alpha)       TARGET_HAS_JIT=0
   5044  ;;
   5045     ARM)         TARGET_HAS_JIT=1
   5046  ;;
   5047     Mips)        TARGET_HAS_JIT=1
   5048  ;;
   5049     XCore)       TARGET_HAS_JIT=0
   5050  ;;
   5051     MSP430)      TARGET_HAS_JIT=0
   5052  ;;
   5053     SystemZ)     TARGET_HAS_JIT=0
   5054  ;;
   5055     Blackfin)    TARGET_HAS_JIT=0
   5056  ;;
   5057     MBlaze)      TARGET_HAS_JIT=0
   5058  ;;
   5059     PTX)         TARGET_HAS_JIT=0
   5060  ;;
   5061     *)           TARGET_HAS_JIT=0
   5062  ;;
   5063   esac
   5064 fi
   5065 
   5066 # Check whether --enable-docs was given.
   5067 if test "${enable_docs+set}" = set; then
   5068   enableval=$enable_docs;
   5069 else
   5070   enableval=default
   5071 fi
   5072 
   5073 case "$enableval" in
   5074   yes) ENABLE_DOCS=1
   5075  ;;
   5076   no)  ENABLE_DOCS=0
   5077  ;;
   5078   default) ENABLE_DOCS=1
   5079  ;;
   5080   *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-docs. Use \"yes\" or \"no\"" >&5
   5081 echo "$as_me: error: Invalid setting for --enable-docs. Use \"yes\" or \"no\"" >&2;}
   5082    { (exit 1); exit 1; }; } ;;
   5083 esac
   5084 
   5085 # Check whether --enable-doxygen was given.
   5086 if test "${enable_doxygen+set}" = set; then
   5087   enableval=$enable_doxygen;
   5088 else
   5089   enableval=default
   5090 fi
   5091 
   5092 case "$enableval" in
   5093   yes) ENABLE_DOXYGEN=1
   5094  ;;
   5095   no)  ENABLE_DOXYGEN=0
   5096  ;;
   5097   default) ENABLE_DOXYGEN=0
   5098  ;;
   5099   *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-doxygen. Use \"yes\" or \"no\"" >&5
   5100 echo "$as_me: error: Invalid setting for --enable-doxygen. Use \"yes\" or \"no\"" >&2;}
   5101    { (exit 1); exit 1; }; } ;;
   5102 esac
   5103 
   5104 # Check whether --enable-threads was given.
   5105 if test "${enable_threads+set}" = set; then
   5106   enableval=$enable_threads;
   5107 else
   5108   enableval=default
   5109 fi
   5110 
   5111 case "$enableval" in
   5112   yes) ENABLE_THREADS=1
   5113  ;;
   5114   no)  ENABLE_THREADS=0
   5115  ;;
   5116   default) ENABLE_THREADS=1
   5117  ;;
   5118   *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-threads. Use \"yes\" or \"no\"" >&5
   5119 echo "$as_me: error: Invalid setting for --enable-threads. Use \"yes\" or \"no\"" >&2;}
   5120    { (exit 1); exit 1; }; } ;;
   5121 esac
   5122 
   5123 cat >>confdefs.h <<_ACEOF
   5124 #define ENABLE_THREADS $ENABLE_THREADS
   5125 _ACEOF
   5126 
   5127 
   5128 # Check whether --enable-pthreads was given.
   5129 if test "${enable_pthreads+set}" = set; then
   5130   enableval=$enable_pthreads;
   5131 else
   5132   enableval=default
   5133 fi
   5134 
   5135 case "$enableval" in
   5136   yes) ENABLE_PTHREADS=1
   5137  ;;
   5138   no)  ENABLE_PTHREADS=0
   5139  ;;
   5140   default) ENABLE_PTHREADS=1
   5141  ;;
   5142   *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-pthreads. Use \"yes\" or \"no\"" >&5
   5143 echo "$as_me: error: Invalid setting for --enable-pthreads. Use \"yes\" or \"no\"" >&2;}
   5144    { (exit 1); exit 1; }; } ;;
   5145 esac
   5146 
   5147 # Check whether --enable-pic was given.
   5148 if test "${enable_pic+set}" = set; then
   5149   enableval=$enable_pic;
   5150 else
   5151   enableval=default
   5152 fi
   5153 
   5154 case "$enableval" in
   5155   yes) ENABLE_PIC=1
   5156  ;;
   5157   no)  ENABLE_PIC=0
   5158  ;;
   5159   default) ENABLE_PIC=1
   5160  ;;
   5161   *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-pic. Use \"yes\" or \"no\"" >&5
   5162 echo "$as_me: error: Invalid setting for --enable-pic. Use \"yes\" or \"no\"" >&2;}
   5163    { (exit 1); exit 1; }; } ;;
   5164 esac
   5165 
   5166 cat >>confdefs.h <<_ACEOF
   5167 #define ENABLE_PIC $ENABLE_PIC
   5168 _ACEOF
   5169 
   5170 
   5171 # Check whether --enable-shared was given.
   5172 if test "${enable_shared+set}" = set; then
   5173   enableval=$enable_shared;
   5174 else
   5175   enableval=default
   5176 fi
   5177 
   5178 case "$enableval" in
   5179   yes) ENABLE_SHARED=1
   5180  ;;
   5181   no)  ENABLE_SHARED=0
   5182  ;;
   5183   default) ENABLE_SHARED=0
   5184  ;;
   5185   *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-shared. Use \"yes\" or \"no\"" >&5
   5186 echo "$as_me: error: Invalid setting for --enable-shared. Use \"yes\" or \"no\"" >&2;}
   5187    { (exit 1); exit 1; }; } ;;
   5188 esac
   5189 
   5190 # Check whether --enable-embed-stdcxx was given.
   5191 if test "${enable_embed_stdcxx+set}" = set; then
   5192   enableval=$enable_embed_stdcxx;
   5193 else
   5194   enableval=default
   5195 fi
   5196 
   5197 case "$enableval" in
   5198   yes) ENABLE_EMBED_STDCXX=1
   5199  ;;
   5200   no)  ENABLE_EMBED_STDCXX=0
   5201  ;;
   5202   default) ENABLE_EMBED_STDCXX=1
   5203  ;;
   5204   *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-embed-stdcxx. Use \"yes\" or \"no\"" >&5
   5205 echo "$as_me: error: Invalid setting for --enable-embed-stdcxx. Use \"yes\" or \"no\"" >&2;}
   5206    { (exit 1); exit 1; }; } ;;
   5207 esac
   5208 
   5209 # Check whether --enable-timestamps was given.
   5210 if test "${enable_timestamps+set}" = set; then
   5211   enableval=$enable_timestamps;
   5212 else
   5213   enableval=default
   5214 fi
   5215 
   5216 case "$enableval" in
   5217   yes) ENABLE_TIMESTAMPS=1
   5218  ;;
   5219   no)  ENABLE_TIMESTAMPS=0
   5220  ;;
   5221   default) ENABLE_TIMESTAMPS=1
   5222  ;;
   5223   *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-timestamps. Use \"yes\" or \"no\"" >&5
   5224 echo "$as_me: error: Invalid setting for --enable-timestamps. Use \"yes\" or \"no\"" >&2;}
   5225    { (exit 1); exit 1; }; } ;;
   5226 esac
   5227 
   5228 cat >>confdefs.h <<_ACEOF
   5229 #define ENABLE_TIMESTAMPS $ENABLE_TIMESTAMPS
   5230 _ACEOF
   5231 
   5232 
   5233 TARGETS_TO_BUILD=""
   5234 # Check whether --enable-targets was given.
   5235 if test "${enable_targets+set}" = set; then
   5236   enableval=$enable_targets;
   5237 else
   5238   enableval=all
   5239 fi
   5240 
   5241 if test "$enableval" = host-only ; then
   5242   enableval=host
   5243 fi
   5244 case "$enableval" in
   5245   all) TARGETS_TO_BUILD="X86 Sparc PowerPC Alpha ARM Mips CellSPU XCore MSP430 SystemZ Blackfin CBackend CppBackend MBlaze PTX" ;;
   5246   *)for a_target in `echo $enableval|sed -e 's/,/ /g' ` ; do
   5247       case "$a_target" in
   5248         x86)      TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
   5249         x86_64)   TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
   5250         sparc)    TARGETS_TO_BUILD="Sparc $TARGETS_TO_BUILD" ;;
   5251         powerpc)  TARGETS_TO_BUILD="PowerPC $TARGETS_TO_BUILD" ;;
   5252         alpha)    TARGETS_TO_BUILD="Alpha $TARGETS_TO_BUILD" ;;
   5253         arm)      TARGETS_TO_BUILD="ARM $TARGETS_TO_BUILD" ;;
   5254         mips)     TARGETS_TO_BUILD="Mips $TARGETS_TO_BUILD" ;;
   5255         spu)      TARGETS_TO_BUILD="CellSPU $TARGETS_TO_BUILD" ;;
   5256         xcore)    TARGETS_TO_BUILD="XCore $TARGETS_TO_BUILD" ;;
   5257         msp430)   TARGETS_TO_BUILD="MSP430 $TARGETS_TO_BUILD" ;;
   5258         systemz)  TARGETS_TO_BUILD="SystemZ $TARGETS_TO_BUILD" ;;
   5259         blackfin) TARGETS_TO_BUILD="Blackfin $TARGETS_TO_BUILD" ;;
   5260         cbe)      TARGETS_TO_BUILD="CBackend $TARGETS_TO_BUILD" ;;
   5261         cpp)      TARGETS_TO_BUILD="CppBackend $TARGETS_TO_BUILD" ;;
   5262         mblaze)   TARGETS_TO_BUILD="MBlaze $TARGETS_TO_BUILD" ;;
   5263         ptx)      TARGETS_TO_BUILD="PTX $TARGETS_TO_BUILD" ;;
   5264         host) case "$llvm_cv_target_arch" in
   5265             x86)         TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
   5266             x86_64)      TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
   5267             Sparc)       TARGETS_TO_BUILD="Sparc $TARGETS_TO_BUILD" ;;
   5268             PowerPC)     TARGETS_TO_BUILD="PowerPC $TARGETS_TO_BUILD" ;;
   5269             Alpha)       TARGETS_TO_BUILD="Alpha $TARGETS_TO_BUILD" ;;
   5270             ARM)         TARGETS_TO_BUILD="ARM $TARGETS_TO_BUILD" ;;
   5271             Mips)        TARGETS_TO_BUILD="Mips $TARGETS_TO_BUILD" ;;
   5272             MBlaze)      TARGETS_TO_BUILD="MBlaze $TARGETS_TO_BUILD" ;;
   5273             CellSPU|SPU) TARGETS_TO_BUILD="CellSPU $TARGETS_TO_BUILD" ;;
   5274             XCore)       TARGETS_TO_BUILD="XCore $TARGETS_TO_BUILD" ;;
   5275             MSP430)      TARGETS_TO_BUILD="MSP430 $TARGETS_TO_BUILD" ;;
   5276             s390x)       TARGETS_TO_BUILD="SystemZ $TARGETS_TO_BUILD" ;;
   5277             Blackfin)    TARGETS_TO_BUILD="Blackfin $TARGETS_TO_BUILD" ;;
   5278             PTX)         TARGETS_TO_BUILD="PTX $TARGETS_TO_BUILD" ;;
   5279             *)       { { echo "$as_me:$LINENO: error: Can not set target to build" >&5
   5280 echo "$as_me: error: Can not set target to build" >&2;}
   5281    { (exit 1); exit 1; }; } ;;
   5282           esac ;;
   5283         *) { { echo "$as_me:$LINENO: error: Unrecognized target $a_target" >&5
   5284 echo "$as_me: error: Unrecognized target $a_target" >&2;}
   5285    { (exit 1); exit 1; }; } ;;
   5286       esac
   5287   done
   5288   ;;
   5289 esac
   5290 TARGETS_TO_BUILD=$TARGETS_TO_BUILD
   5291 
   5292 
   5293 # Determine whether we are building LLVM support for the native architecture.
   5294 # If so, define LLVM_NATIVE_ARCH to that LLVM target.
   5295 for a_target in $TARGETS_TO_BUILD; do
   5296   if test "$a_target" = "$LLVM_NATIVE_ARCH"; then
   5297 
   5298 cat >>confdefs.h <<_ACEOF
   5299 #define LLVM_NATIVE_ARCH $LLVM_NATIVE_ARCH
   5300 _ACEOF
   5301 
   5302     LLVM_NATIVE_TARGET="LLVMInitialize${LLVM_NATIVE_ARCH}Target"
   5303     LLVM_NATIVE_TARGETINFO="LLVMInitialize${LLVM_NATIVE_ARCH}TargetInfo"
   5304     LLVM_NATIVE_TARGETMC="LLVMInitialize${LLVM_NATIVE_ARCH}TargetMC"
   5305     LLVM_NATIVE_ASMPRINTER="LLVMInitialize${LLVM_NATIVE_ARCH}AsmPrinter"
   5306     if test -f ${srcdir}/lib/Target/${LLVM_NATIVE_ARCH}/AsmParser/Makefile ; then
   5307       LLVM_NATIVE_ASMPARSER="LLVMInitialize${LLVM_NATIVE_ARCH}AsmParser"
   5308     fi
   5309 
   5310 cat >>confdefs.h <<_ACEOF
   5311 #define LLVM_NATIVE_TARGET $LLVM_NATIVE_TARGET
   5312 _ACEOF
   5313 
   5314 
   5315 cat >>confdefs.h <<_ACEOF
   5316 #define LLVM_NATIVE_TARGETINFO $LLVM_NATIVE_TARGETINFO
   5317 _ACEOF
   5318 
   5319 
   5320 cat >>confdefs.h <<_ACEOF
   5321 #define LLVM_NATIVE_TARGETMC $LLVM_NATIVE_TARGETMC
   5322 _ACEOF
   5323 
   5324 
   5325 cat >>confdefs.h <<_ACEOF
   5326 #define LLVM_NATIVE_ASMPRINTER $LLVM_NATIVE_ASMPRINTER
   5327 _ACEOF
   5328 
   5329     if test -f ${srcdir}/lib/Target/${LLVM_NATIVE_ARCH}/AsmParser/Makefile ; then
   5330 
   5331 cat >>confdefs.h <<_ACEOF
   5332 #define LLVM_NATIVE_ASMPARSER $LLVM_NATIVE_ASMPARSER
   5333 _ACEOF
   5334 
   5335     fi
   5336   fi
   5337 done
   5338 
   5339 # Build the LLVM_TARGET and LLVM_... macros for Targets.def and the individual
   5340 # target feature def files.
   5341 LLVM_ENUM_TARGETS=""
   5342 LLVM_ENUM_ASM_PRINTERS=""
   5343 LLVM_ENUM_ASM_PARSERS=""
   5344 LLVM_ENUM_DISASSEMBLERS=""
   5345 for target_to_build in $TARGETS_TO_BUILD; do
   5346   LLVM_ENUM_TARGETS="LLVM_TARGET($target_to_build) $LLVM_ENUM_TARGETS"
   5347   if test -f ${srcdir}/lib/Target/${target_to_build}/*AsmPrinter.cpp ; then
   5348     LLVM_ENUM_ASM_PRINTERS="LLVM_ASM_PRINTER($target_to_build) $LLVM_ENUM_ASM_PRINTERS";
   5349   fi
   5350   if test -f ${srcdir}/lib/Target/${target_to_build}/AsmParser/Makefile ; then
   5351     LLVM_ENUM_ASM_PARSERS="LLVM_ASM_PARSER($target_to_build) $LLVM_ENUM_ASM_PARSERS";
   5352   fi
   5353   if test -f ${srcdir}/lib/Target/${target_to_build}/Disassembler/Makefile ; then
   5354     LLVM_ENUM_DISASSEMBLERS="LLVM_DISASSEMBLER($target_to_build) $LLVM_ENUM_DISASSEMBLERS";
   5355   fi
   5356 done
   5357 
   5358 
   5359 
   5360 
   5361 
   5362 # Check whether --enable-cbe-printf-a was given.
   5363 if test "${enable_cbe_printf_a+set}" = set; then
   5364   enableval=$enable_cbe_printf_a;
   5365 else
   5366   enableval=default
   5367 fi
   5368 
   5369 case "$enableval" in
   5370   yes) ENABLE_CBE_PRINTF_A=1
   5371  ;;
   5372   no)  ENABLE_CBE_PRINTF_A=0
   5373  ;;
   5374   default)  ENABLE_CBE_PRINTF_A=1
   5375  ;;
   5376   *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-cbe-printf-a. Use \"yes\" or \"no\"" >&5
   5377 echo "$as_me: error: Invalid setting for --enable-cbe-printf-a. Use \"yes\" or \"no\"" >&2;}
   5378    { (exit 1); exit 1; }; } ;;
   5379 esac
   5380 
   5381 cat >>confdefs.h <<_ACEOF
   5382 #define ENABLE_CBE_PRINTF_A $ENABLE_CBE_PRINTF_A
   5383 _ACEOF
   5384 
   5385 
   5386 
   5387 # Check whether --with-optimize-option was given.
   5388 if test "${with_optimize_option+set}" = set; then
   5389   withval=$with_optimize_option;
   5390 else
   5391   withval=default
   5392 fi
   5393 
   5394 { echo "$as_me:$LINENO: checking optimization flags" >&5
   5395 echo $ECHO_N "checking optimization flags... $ECHO_C" >&6; }
   5396 case "$withval" in
   5397   default)
   5398     case "$llvm_cv_os_type" in
   5399     FreeBSD) optimize_option=-O2 ;;
   5400     MingW) optimize_option=-O2 ;;
   5401     *)     optimize_option=-O3 ;;
   5402     esac ;;
   5403   *) optimize_option="$withval" ;;
   5404 esac
   5405 OPTIMIZE_OPTION=$optimize_option
   5406 
   5407 { echo "$as_me:$LINENO: result: $optimize_option" >&5
   5408 echo "${ECHO_T}$optimize_option" >&6; }
   5409 
   5410 
   5411 # Check whether --with-extra-options was given.
   5412 if test "${with_extra_options+set}" = set; then
   5413   withval=$with_extra_options;
   5414 else
   5415   withval=default
   5416 fi
   5417 
   5418 case "$withval" in
   5419   default) EXTRA_OPTIONS= ;;
   5420   *) EXTRA_OPTIONS=$withval ;;
   5421 esac
   5422 EXTRA_OPTIONS=$EXTRA_OPTIONS
   5423 
   5424 
   5425 
   5426 # Check whether --with-extra-ld-options was given.
   5427 if test "${with_extra_ld_options+set}" = set; then
   5428   withval=$with_extra_ld_options;
   5429 else
   5430   withval=default
   5431 fi
   5432 
   5433 case "$withval" in
   5434   default) EXTRA_LD_OPTIONS= ;;
   5435   *) EXTRA_LD_OPTIONS=$withval ;;
   5436 esac
   5437 EXTRA_LD_OPTIONS=$EXTRA_LD_OPTIONS
   5438 
   5439 
   5440 # Check whether --enable-bindings was given.
   5441 if test "${enable_bindings+set}" = set; then
   5442   enableval=$enable_bindings;
   5443 else
   5444   enableval=default
   5445 fi
   5446 
   5447 BINDINGS_TO_BUILD=""
   5448 case "$enableval" in
   5449   yes | default | auto) BINDINGS_TO_BUILD="auto" ;;
   5450   all ) BINDINGS_TO_BUILD="ocaml" ;;
   5451   none | no) BINDINGS_TO_BUILD="" ;;
   5452   *)for a_binding in `echo $enableval|sed -e 's/,/ /g' ` ; do
   5453       case "$a_binding" in
   5454         ocaml) BINDINGS_TO_BUILD="ocaml $BINDINGS_TO_BUILD" ;;
   5455         *) { { echo "$as_me:$LINENO: error: Unrecognized binding $a_binding" >&5
   5456 echo "$as_me: error: Unrecognized binding $a_binding" >&2;}
   5457    { (exit 1); exit 1; }; } ;;
   5458       esac
   5459   done
   5460   ;;
   5461 esac
   5462 
   5463 
   5464 # Check whether --with-ocaml-libdir was given.
   5465 if test "${with_ocaml_libdir+set}" = set; then
   5466   withval=$with_ocaml_libdir;
   5467 else
   5468   withval=auto
   5469 fi
   5470 
   5471 case "$withval" in
   5472   auto) with_ocaml_libdir="$withval" ;;
   5473   /* | [A-Za-z]:[\\/]*) with_ocaml_libdir="$withval" ;;
   5474   *) { { echo "$as_me:$LINENO: error: Invalid path for --with-ocaml-libdir. Provide full path" >&5
   5475 echo "$as_me: error: Invalid path for --with-ocaml-libdir. Provide full path" >&2;}
   5476    { (exit 1); exit 1; }; } ;;
   5477 esac
   5478 
   5479 
   5480 # Check whether --with-clang-resource-dir was given.
   5481 if test "${with_clang_resource_dir+set}" = set; then
   5482   withval=$with_clang_resource_dir;
   5483 else
   5484   withval=""
   5485 fi
   5486 
   5487 
   5488 cat >>confdefs.h <<_ACEOF
   5489 #define CLANG_RESOURCE_DIR "$withval"
   5490 _ACEOF
   5491 
   5492 
   5493 
   5494 # Check whether --with-c-include-dirs was given.
   5495 if test "${with_c_include_dirs+set}" = set; then
   5496   withval=$with_c_include_dirs;
   5497 else
   5498   withval=""
   5499 fi
   5500 
   5501 
   5502 cat >>confdefs.h <<_ACEOF
   5503 #define C_INCLUDE_DIRS "$withval"
   5504 _ACEOF
   5505 
   5506 
   5507 
   5508 # Check whether --with-cxx-include-root was given.
   5509 if test "${with_cxx_include_root+set}" = set; then
   5510   withval=$with_cxx_include_root;
   5511 else
   5512   withval=""
   5513 fi
   5514 
   5515 
   5516 cat >>confdefs.h <<_ACEOF
   5517 #define CXX_INCLUDE_ROOT "$withval"
   5518 _ACEOF
   5519 
   5520 
   5521 
   5522 # Check whether --with-cxx-include-arch was given.
   5523 if test "${with_cxx_include_arch+set}" = set; then
   5524   withval=$with_cxx_include_arch;
   5525 else
   5526   withval=""
   5527 fi
   5528 
   5529 
   5530 cat >>confdefs.h <<_ACEOF
   5531 #define CXX_INCLUDE_ARCH "$withval"
   5532 _ACEOF
   5533 
   5534 
   5535 
   5536 # Check whether --with-cxx-include-32bit-dir was given.
   5537 if test "${with_cxx_include_32bit_dir+set}" = set; then
   5538   withval=$with_cxx_include_32bit_dir;
   5539 else
   5540   withval=""
   5541 fi
   5542 
   5543 
   5544 cat >>confdefs.h <<_ACEOF
   5545 #define CXX_INCLUDE_32BIT_DIR "$withval"
   5546 _ACEOF
   5547 
   5548 
   5549 
   5550 # Check whether --with-cxx-include-64bit-dir was given.
   5551 if test "${with_cxx_include_64bit_dir+set}" = set; then
   5552   withval=$with_cxx_include_64bit_dir;
   5553 else
   5554   withval=""
   5555 fi
   5556 
   5557 
   5558 cat >>confdefs.h <<_ACEOF
   5559 #define CXX_INCLUDE_64BIT_DIR "$withval"
   5560 _ACEOF
   5561 
   5562 
   5563 
   5564 # Check whether --with-binutils-include was given.
   5565 if test "${with_binutils_include+set}" = set; then
   5566   withval=$with_binutils_include;
   5567 else
   5568   withval=default
   5569 fi
   5570 
   5571 case "$withval" in
   5572   default) WITH_BINUTILS_INCDIR=default ;;
   5573   /* | [A-Za-z]:[\\/]*)      WITH_BINUTILS_INCDIR=$withval ;;
   5574   *) { { echo "$as_me:$LINENO: error: Invalid path for --with-binutils-include. Provide full path" >&5
   5575 echo "$as_me: error: Invalid path for --with-binutils-include. Provide full path" >&2;}
   5576    { (exit 1); exit 1; }; } ;;
   5577 esac
   5578 if test "x$WITH_BINUTILS_INCDIR" != xdefault ; then
   5579   BINUTILS_INCDIR=$WITH_BINUTILS_INCDIR
   5580 
   5581   if test ! -f "$WITH_BINUTILS_INCDIR/plugin-api.h"; then
   5582      echo "$WITH_BINUTILS_INCDIR/plugin-api.h"
   5583      { { echo "$as_me:$LINENO: error: Invalid path to directory containing plugin-api.h." >&5
   5584 echo "$as_me: error: Invalid path to directory containing plugin-api.h." >&2;}
   5585    { (exit 1); exit 1; }; };
   5586   fi
   5587 fi
   5588 
   5589 
   5590 # Check whether --with-bug-report-url was given.
   5591 if test "${with_bug_report_url+set}" = set; then
   5592   withval=$with_bug_report_url;
   5593 else
   5594   withval="http://llvm.org/bugs/"
   5595 fi
   5596 
   5597 
   5598 cat >>confdefs.h <<_ACEOF
   5599 #define BUG_REPORT_URL "$withval"
   5600 _ACEOF
   5601 
   5602 
   5603 # Check whether --enable-libffi was given.
   5604 if test "${enable_libffi+set}" = set; then
   5605   enableval=$enable_libffi; case "$enableval" in
   5606     yes) llvm_cv_enable_libffi="yes" ;;
   5607     no)  llvm_cv_enable_libffi="no"  ;;
   5608     *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-libffi. Use \"yes\" or \"no\"" >&5
   5609 echo "$as_me: error: Invalid setting for --enable-libffi. Use \"yes\" or \"no\"" >&2;}
   5610    { (exit 1); exit 1; }; } ;;
   5611   esac
   5612 else
   5613   llvm_cv_enable_libffi=no
   5614 fi
   5615 
   5616 
   5617 
   5618 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
   5619 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
   5620 if test "${lt_cv_path_NM+set}" = set; then
   5621   echo $ECHO_N "(cached) $ECHO_C" >&6
   5622 else
   5623   if test -n "$NM"; then
   5624   # Let the user override the test.
   5625   lt_cv_path_NM="$NM"
   5626 else
   5627   lt_nm_to_check="${ac_tool_prefix}nm"
   5628   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   5629     lt_nm_to_check="$lt_nm_to_check nm"
   5630   fi
   5631   for lt_tmp_nm in $lt_nm_to_check; do
   5632     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   5633     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   5634       IFS="$lt_save_ifs"
   5635       test -z "$ac_dir" && ac_dir=.
   5636       tmp_nm="$ac_dir/$lt_tmp_nm"
   5637       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   5638 	# Check to see if the nm accepts a BSD-compat flag.
   5639 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   5640 	#   nm: unknown option "B" ignored
   5641 	# Tru64's nm complains that /dev/null is an invalid object file
   5642 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   5643 	*/dev/null* | *'Invalid file or object type'*)
   5644 	  lt_cv_path_NM="$tmp_nm -B"
   5645 	  break
   5646 	  ;;
   5647 	*)
   5648 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   5649 	  */dev/null*)
   5650 	    lt_cv_path_NM="$tmp_nm -p"
   5651 	    break
   5652 	    ;;
   5653 	  *)
   5654 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   5655 	    continue # so that we can try to find one that supports BSD flags
   5656 	    ;;
   5657 	  esac
   5658 	  ;;
   5659 	esac
   5660       fi
   5661     done
   5662     IFS="$lt_save_ifs"
   5663   done
   5664   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
   5665 fi
   5666 fi
   5667 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
   5668 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
   5669 NM="$lt_cv_path_NM"
   5670 
   5671 
   5672 
   5673 { echo "$as_me:$LINENO: checking for GNU make" >&5
   5674 echo $ECHO_N "checking for GNU make... $ECHO_C" >&6; }
   5675 if test "${llvm_cv_gnu_make_command+set}" = set; then
   5676   echo $ECHO_N "(cached) $ECHO_C" >&6
   5677 else
   5678   llvm_cv_gnu_make_command=''
   5679  for a in "$MAKE" make gmake gnumake ; do
   5680   if test -z "$a" ; then continue ; fi ;
   5681   if  ( sh -c "$a --version" 2> /dev/null | grep GNU 2>&1 > /dev/null )
   5682   then
   5683    llvm_cv_gnu_make_command=$a ;
   5684    break;
   5685   fi
   5686  done
   5687 fi
   5688 { echo "$as_me:$LINENO: result: $llvm_cv_gnu_make_command" >&5
   5689 echo "${ECHO_T}$llvm_cv_gnu_make_command" >&6; }
   5690  if test "x$llvm_cv_gnu_make_command" != "x"  ; then
   5691    ifGNUmake='' ;
   5692  else
   5693    ifGNUmake='#' ;
   5694    { echo "$as_me:$LINENO: result: \"Not found\"" >&5
   5695 echo "${ECHO_T}\"Not found\"" >&6; };
   5696  fi
   5697 
   5698 
   5699 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
   5700 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
   5701 LN_S=$as_ln_s
   5702 if test "$LN_S" = "ln -s"; then
   5703   { echo "$as_me:$LINENO: result: yes" >&5
   5704 echo "${ECHO_T}yes" >&6; }
   5705 else
   5706   { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
   5707 echo "${ECHO_T}no, using $LN_S" >&6; }
   5708 fi
   5709 
   5710 # Extract the first word of "cmp", so it can be a program name with args.
   5711 set dummy cmp; ac_word=$2
   5712 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   5713 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   5714 if test "${ac_cv_path_CMP+set}" = set; then
   5715   echo $ECHO_N "(cached) $ECHO_C" >&6
   5716 else
   5717   case $CMP in
   5718   [\\/]* | ?:[\\/]*)
   5719   ac_cv_path_CMP="$CMP" # Let the user override the test with a path.
   5720   ;;
   5721   *)
   5722   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5723 for as_dir in $PATH
   5724 do
   5725   IFS=$as_save_IFS
   5726   test -z "$as_dir" && as_dir=.
   5727   for ac_exec_ext in '' $ac_executable_extensions; do
   5728   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   5729     ac_cv_path_CMP="$as_dir/$ac_word$ac_exec_ext"
   5730     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5731     break 2
   5732   fi
   5733 done
   5734 done
   5735 IFS=$as_save_IFS
   5736 
   5737   test -z "$ac_cv_path_CMP" && ac_cv_path_CMP="cmp"
   5738   ;;
   5739 esac
   5740 fi
   5741 CMP=$ac_cv_path_CMP
   5742 if test -n "$CMP"; then
   5743   { echo "$as_me:$LINENO: result: $CMP" >&5
   5744 echo "${ECHO_T}$CMP" >&6; }
   5745 else
   5746   { echo "$as_me:$LINENO: result: no" >&5
   5747 echo "${ECHO_T}no" >&6; }
   5748 fi
   5749 
   5750 
   5751 # Extract the first word of "cp", so it can be a program name with args.
   5752 set dummy cp; ac_word=$2
   5753 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   5754 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   5755 if test "${ac_cv_path_CP+set}" = set; then
   5756   echo $ECHO_N "(cached) $ECHO_C" >&6
   5757 else
   5758   case $CP in
   5759   [\\/]* | ?:[\\/]*)
   5760   ac_cv_path_CP="$CP" # Let the user override the test with a path.
   5761   ;;
   5762   *)
   5763   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5764 for as_dir in $PATH
   5765 do
   5766   IFS=$as_save_IFS
   5767   test -z "$as_dir" && as_dir=.
   5768   for ac_exec_ext in '' $ac_executable_extensions; do
   5769   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   5770     ac_cv_path_CP="$as_dir/$ac_word$ac_exec_ext"
   5771     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5772     break 2
   5773   fi
   5774 done
   5775 done
   5776 IFS=$as_save_IFS
   5777 
   5778   test -z "$ac_cv_path_CP" && ac_cv_path_CP="cp"
   5779   ;;
   5780 esac
   5781 fi
   5782 CP=$ac_cv_path_CP
   5783 if test -n "$CP"; then
   5784   { echo "$as_me:$LINENO: result: $CP" >&5
   5785 echo "${ECHO_T}$CP" >&6; }
   5786 else
   5787   { echo "$as_me:$LINENO: result: no" >&5
   5788 echo "${ECHO_T}no" >&6; }
   5789 fi
   5790 
   5791 
   5792 # Extract the first word of "date", so it can be a program name with args.
   5793 set dummy date; ac_word=$2
   5794 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   5795 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   5796 if test "${ac_cv_path_DATE+set}" = set; then
   5797   echo $ECHO_N "(cached) $ECHO_C" >&6
   5798 else
   5799   case $DATE in
   5800   [\\/]* | ?:[\\/]*)
   5801   ac_cv_path_DATE="$DATE" # Let the user override the test with a path.
   5802   ;;
   5803   *)
   5804   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5805 for as_dir in $PATH
   5806 do
   5807   IFS=$as_save_IFS
   5808   test -z "$as_dir" && as_dir=.
   5809   for ac_exec_ext in '' $ac_executable_extensions; do
   5810   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   5811     ac_cv_path_DATE="$as_dir/$ac_word$ac_exec_ext"
   5812     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5813     break 2
   5814   fi
   5815 done
   5816 done
   5817 IFS=$as_save_IFS
   5818 
   5819   test -z "$ac_cv_path_DATE" && ac_cv_path_DATE="date"
   5820   ;;
   5821 esac
   5822 fi
   5823 DATE=$ac_cv_path_DATE
   5824 if test -n "$DATE"; then
   5825   { echo "$as_me:$LINENO: result: $DATE" >&5
   5826 echo "${ECHO_T}$DATE" >&6; }
   5827 else
   5828   { echo "$as_me:$LINENO: result: no" >&5
   5829 echo "${ECHO_T}no" >&6; }
   5830 fi
   5831 
   5832 
   5833 # Extract the first word of "find", so it can be a program name with args.
   5834 set dummy find; ac_word=$2
   5835 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   5836 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   5837 if test "${ac_cv_path_FIND+set}" = set; then
   5838   echo $ECHO_N "(cached) $ECHO_C" >&6
   5839 else
   5840   case $FIND in
   5841   [\\/]* | ?:[\\/]*)
   5842   ac_cv_path_FIND="$FIND" # Let the user override the test with a path.
   5843   ;;
   5844   *)
   5845   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5846 for as_dir in $PATH
   5847 do
   5848   IFS=$as_save_IFS
   5849   test -z "$as_dir" && as_dir=.
   5850   for ac_exec_ext in '' $ac_executable_extensions; do
   5851   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   5852     ac_cv_path_FIND="$as_dir/$ac_word$ac_exec_ext"
   5853     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5854     break 2
   5855   fi
   5856 done
   5857 done
   5858 IFS=$as_save_IFS
   5859 
   5860   test -z "$ac_cv_path_FIND" && ac_cv_path_FIND="find"
   5861   ;;
   5862 esac
   5863 fi
   5864 FIND=$ac_cv_path_FIND
   5865 if test -n "$FIND"; then
   5866   { echo "$as_me:$LINENO: result: $FIND" >&5
   5867 echo "${ECHO_T}$FIND" >&6; }
   5868 else
   5869   { echo "$as_me:$LINENO: result: no" >&5
   5870 echo "${ECHO_T}no" >&6; }
   5871 fi
   5872 
   5873 
   5874 # Extract the first word of "grep", so it can be a program name with args.
   5875 set dummy grep; ac_word=$2
   5876 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   5877 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   5878 if test "${ac_cv_path_GREP+set}" = set; then
   5879   echo $ECHO_N "(cached) $ECHO_C" >&6
   5880 else
   5881   case $GREP in
   5882   [\\/]* | ?:[\\/]*)
   5883   ac_cv_path_GREP="$GREP" # Let the user override the test with a path.
   5884   ;;
   5885   *)
   5886   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5887 for as_dir in $PATH
   5888 do
   5889   IFS=$as_save_IFS
   5890   test -z "$as_dir" && as_dir=.
   5891   for ac_exec_ext in '' $ac_executable_extensions; do
   5892   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   5893     ac_cv_path_GREP="$as_dir/$ac_word$ac_exec_ext"
   5894     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5895     break 2
   5896   fi
   5897 done
   5898 done
   5899 IFS=$as_save_IFS
   5900 
   5901   test -z "$ac_cv_path_GREP" && ac_cv_path_GREP="grep"
   5902   ;;
   5903 esac
   5904 fi
   5905 GREP=$ac_cv_path_GREP
   5906 if test -n "$GREP"; then
   5907   { echo "$as_me:$LINENO: result: $GREP" >&5
   5908 echo "${ECHO_T}$GREP" >&6; }
   5909 else
   5910   { echo "$as_me:$LINENO: result: no" >&5
   5911 echo "${ECHO_T}no" >&6; }
   5912 fi
   5913 
   5914 
   5915 # Extract the first word of "mkdir", so it can be a program name with args.
   5916 set dummy mkdir; ac_word=$2
   5917 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   5918 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   5919 if test "${ac_cv_path_MKDIR+set}" = set; then
   5920   echo $ECHO_N "(cached) $ECHO_C" >&6
   5921 else
   5922   case $MKDIR in
   5923   [\\/]* | ?:[\\/]*)
   5924   ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a path.
   5925   ;;
   5926   *)
   5927   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5928 for as_dir in $PATH
   5929 do
   5930   IFS=$as_save_IFS
   5931   test -z "$as_dir" && as_dir=.
   5932   for ac_exec_ext in '' $ac_executable_extensions; do
   5933   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   5934     ac_cv_path_MKDIR="$as_dir/$ac_word$ac_exec_ext"
   5935     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5936     break 2
   5937   fi
   5938 done
   5939 done
   5940 IFS=$as_save_IFS
   5941 
   5942   test -z "$ac_cv_path_MKDIR" && ac_cv_path_MKDIR="mkdir"
   5943   ;;
   5944 esac
   5945 fi
   5946 MKDIR=$ac_cv_path_MKDIR
   5947 if test -n "$MKDIR"; then
   5948   { echo "$as_me:$LINENO: result: $MKDIR" >&5
   5949 echo "${ECHO_T}$MKDIR" >&6; }
   5950 else
   5951   { echo "$as_me:$LINENO: result: no" >&5
   5952 echo "${ECHO_T}no" >&6; }
   5953 fi
   5954 
   5955 
   5956 # Extract the first word of "mv", so it can be a program name with args.
   5957 set dummy mv; ac_word=$2
   5958 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   5959 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   5960 if test "${ac_cv_path_MV+set}" = set; then
   5961   echo $ECHO_N "(cached) $ECHO_C" >&6
   5962 else
   5963   case $MV in
   5964   [\\/]* | ?:[\\/]*)
   5965   ac_cv_path_MV="$MV" # Let the user override the test with a path.
   5966   ;;
   5967   *)
   5968   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5969 for as_dir in $PATH
   5970 do
   5971   IFS=$as_save_IFS
   5972   test -z "$as_dir" && as_dir=.
   5973   for ac_exec_ext in '' $ac_executable_extensions; do
   5974   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   5975     ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
   5976     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5977     break 2
   5978   fi
   5979 done
   5980 done
   5981 IFS=$as_save_IFS
   5982 
   5983   test -z "$ac_cv_path_MV" && ac_cv_path_MV="mv"
   5984   ;;
   5985 esac
   5986 fi
   5987 MV=$ac_cv_path_MV
   5988 if test -n "$MV"; then
   5989   { echo "$as_me:$LINENO: result: $MV" >&5
   5990 echo "${ECHO_T}$MV" >&6; }
   5991 else
   5992   { echo "$as_me:$LINENO: result: no" >&5
   5993 echo "${ECHO_T}no" >&6; }
   5994 fi
   5995 
   5996 
   5997 if test -n "$ac_tool_prefix"; then
   5998   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   5999 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6000 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6001 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6002 if test "${ac_cv_prog_RANLIB+set}" = set; then
   6003   echo $ECHO_N "(cached) $ECHO_C" >&6
   6004 else
   6005   if test -n "$RANLIB"; then
   6006   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6007 else
   6008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6009 for as_dir in $PATH
   6010 do
   6011   IFS=$as_save_IFS
   6012   test -z "$as_dir" && as_dir=.
   6013   for ac_exec_ext in '' $ac_executable_extensions; do
   6014   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   6015     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6016     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6017     break 2
   6018   fi
   6019 done
   6020 done
   6021 IFS=$as_save_IFS
   6022 
   6023 fi
   6024 fi
   6025 RANLIB=$ac_cv_prog_RANLIB
   6026 if test -n "$RANLIB"; then
   6027   { echo "$as_me:$LINENO: result: $RANLIB" >&5
   6028 echo "${ECHO_T}$RANLIB" >&6; }
   6029 else
   6030   { echo "$as_me:$LINENO: result: no" >&5
   6031 echo "${ECHO_T}no" >&6; }
   6032 fi
   6033 
   6034 
   6035 fi
   6036 if test -z "$ac_cv_prog_RANLIB"; then
   6037   ac_ct_RANLIB=$RANLIB
   6038   # Extract the first word of "ranlib", so it can be a program name with args.
   6039 set dummy ranlib; ac_word=$2
   6040 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6041 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6042 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
   6043   echo $ECHO_N "(cached) $ECHO_C" >&6
   6044 else
   6045   if test -n "$ac_ct_RANLIB"; then
   6046   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6047 else
   6048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6049 for as_dir in $PATH
   6050 do
   6051   IFS=$as_save_IFS
   6052   test -z "$as_dir" && as_dir=.
   6053   for ac_exec_ext in '' $ac_executable_extensions; do
   6054   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   6055     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6056     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6057     break 2
   6058   fi
   6059 done
   6060 done
   6061 IFS=$as_save_IFS
   6062 
   6063 fi
   6064 fi
   6065 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6066 if test -n "$ac_ct_RANLIB"; then
   6067   { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
   6068 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
   6069 else
   6070   { echo "$as_me:$LINENO: result: no" >&5
   6071 echo "${ECHO_T}no" >&6; }
   6072 fi
   6073 
   6074   if test "x$ac_ct_RANLIB" = x; then
   6075     RANLIB=":"
   6076   else
   6077     case $cross_compiling:$ac_tool_warned in
   6078 yes:)
   6079 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   6080 whose name does not start with the host triplet.  If you think this
   6081 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   6082 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   6083 whose name does not start with the host triplet.  If you think this
   6084 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   6085 ac_tool_warned=yes ;;
   6086 esac
   6087     RANLIB=$ac_ct_RANLIB
   6088   fi
   6089 else
   6090   RANLIB="$ac_cv_prog_RANLIB"
   6091 fi
   6092 
   6093 if test -n "$ac_tool_prefix"; then
   6094   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   6095 set dummy ${ac_tool_prefix}ar; ac_word=$2
   6096 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6097 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6098 if test "${ac_cv_prog_AR+set}" = set; then
   6099   echo $ECHO_N "(cached) $ECHO_C" >&6
   6100 else
   6101   if test -n "$AR"; then
   6102   ac_cv_prog_AR="$AR" # Let the user override the test.
   6103 else
   6104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6105 for as_dir in $PATH
   6106 do
   6107   IFS=$as_save_IFS
   6108   test -z "$as_dir" && as_dir=.
   6109   for ac_exec_ext in '' $ac_executable_extensions; do
   6110   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   6111     ac_cv_prog_AR="${ac_tool_prefix}ar"
   6112     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6113     break 2
   6114   fi
   6115 done
   6116 done
   6117 IFS=$as_save_IFS
   6118 
   6119 fi
   6120 fi
   6121 AR=$ac_cv_prog_AR
   6122 if test -n "$AR"; then
   6123   { echo "$as_me:$LINENO: result: $AR" >&5
   6124 echo "${ECHO_T}$AR" >&6; }
   6125 else
   6126   { echo "$as_me:$LINENO: result: no" >&5
   6127 echo "${ECHO_T}no" >&6; }
   6128 fi
   6129 
   6130 
   6131 fi
   6132 if test -z "$ac_cv_prog_AR"; then
   6133   ac_ct_AR=$AR
   6134   # Extract the first word of "ar", so it can be a program name with args.
   6135 set dummy ar; ac_word=$2
   6136 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6137 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6138 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
   6139   echo $ECHO_N "(cached) $ECHO_C" >&6
   6140 else
   6141   if test -n "$ac_ct_AR"; then
   6142   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6143 else
   6144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6145 for as_dir in $PATH
   6146 do
   6147   IFS=$as_save_IFS
   6148   test -z "$as_dir" && as_dir=.
   6149   for ac_exec_ext in '' $ac_executable_extensions; do
   6150   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   6151     ac_cv_prog_ac_ct_AR="ar"
   6152     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6153     break 2
   6154   fi
   6155 done
   6156 done
   6157 IFS=$as_save_IFS
   6158 
   6159 fi
   6160 fi
   6161 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6162 if test -n "$ac_ct_AR"; then
   6163   { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
   6164 echo "${ECHO_T}$ac_ct_AR" >&6; }
   6165 else
   6166   { echo "$as_me:$LINENO: result: no" >&5
   6167 echo "${ECHO_T}no" >&6; }
   6168 fi
   6169 
   6170   if test "x$ac_ct_AR" = x; then
   6171     AR="false"
   6172   else
   6173     case $cross_compiling:$ac_tool_warned in
   6174 yes:)
   6175 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   6176 whose name does not start with the host triplet.  If you think this
   6177 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   6178 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   6179 whose name does not start with the host triplet.  If you think this
   6180 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   6181 ac_tool_warned=yes ;;
   6182 esac
   6183     AR=$ac_ct_AR
   6184   fi
   6185 else
   6186   AR="$ac_cv_prog_AR"
   6187 fi
   6188 
   6189 # Extract the first word of "rm", so it can be a program name with args.
   6190 set dummy rm; ac_word=$2
   6191 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6192 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6193 if test "${ac_cv_path_RM+set}" = set; then
   6194   echo $ECHO_N "(cached) $ECHO_C" >&6
   6195 else
   6196   case $RM in
   6197   [\\/]* | ?:[\\/]*)
   6198   ac_cv_path_RM="$RM" # Let the user override the test with a path.
   6199   ;;
   6200   *)
   6201   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6202 for as_dir in $PATH
   6203 do
   6204   IFS=$as_save_IFS
   6205   test -z "$as_dir" && as_dir=.
   6206   for ac_exec_ext in '' $ac_executable_extensions; do
   6207   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   6208     ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
   6209     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6210     break 2
   6211   fi
   6212 done
   6213 done
   6214 IFS=$as_save_IFS
   6215 
   6216   test -z "$ac_cv_path_RM" && ac_cv_path_RM="rm"
   6217   ;;
   6218 esac
   6219 fi
   6220 RM=$ac_cv_path_RM
   6221 if test -n "$RM"; then
   6222   { echo "$as_me:$LINENO: result: $RM" >&5
   6223 echo "${ECHO_T}$RM" >&6; }
   6224 else
   6225   { echo "$as_me:$LINENO: result: no" >&5
   6226 echo "${ECHO_T}no" >&6; }
   6227 fi
   6228 
   6229 
   6230 # Extract the first word of "sed", so it can be a program name with args.
   6231 set dummy sed; ac_word=$2
   6232 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6233 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6234 if test "${ac_cv_path_SED+set}" = set; then
   6235   echo $ECHO_N "(cached) $ECHO_C" >&6
   6236 else
   6237   case $SED in
   6238   [\\/]* | ?:[\\/]*)
   6239   ac_cv_path_SED="$SED" # Let the user override the test with a path.
   6240   ;;
   6241   *)
   6242   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6243 for as_dir in $PATH
   6244 do
   6245   IFS=$as_save_IFS
   6246   test -z "$as_dir" && as_dir=.
   6247   for ac_exec_ext in '' $ac_executable_extensions; do
   6248   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   6249     ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext"
   6250     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6251     break 2
   6252   fi
   6253 done
   6254 done
   6255 IFS=$as_save_IFS
   6256 
   6257   test -z "$ac_cv_path_SED" && ac_cv_path_SED="sed"
   6258   ;;
   6259 esac
   6260 fi
   6261 SED=$ac_cv_path_SED
   6262 if test -n "$SED"; then
   6263   { echo "$as_me:$LINENO: result: $SED" >&5
   6264 echo "${ECHO_T}$SED" >&6; }
   6265 else
   6266   { echo "$as_me:$LINENO: result: no" >&5
   6267 echo "${ECHO_T}no" >&6; }
   6268 fi
   6269 
   6270 
   6271 # Extract the first word of "tar", so it can be a program name with args.
   6272 set dummy tar; ac_word=$2
   6273 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6274 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6275 if test "${ac_cv_path_TAR+set}" = set; then
   6276   echo $ECHO_N "(cached) $ECHO_C" >&6
   6277 else
   6278   case $TAR in
   6279   [\\/]* | ?:[\\/]*)
   6280   ac_cv_path_TAR="$TAR" # Let the user override the test with a path.
   6281   ;;
   6282   *)
   6283   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6284 for as_dir in $PATH
   6285 do
   6286   IFS=$as_save_IFS
   6287   test -z "$as_dir" && as_dir=.
   6288   for ac_exec_ext in '' $ac_executable_extensions; do
   6289   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   6290     ac_cv_path_TAR="$as_dir/$ac_word$ac_exec_ext"
   6291     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6292     break 2
   6293   fi
   6294 done
   6295 done
   6296 IFS=$as_save_IFS
   6297 
   6298   test -z "$ac_cv_path_TAR" && ac_cv_path_TAR="gtar"
   6299   ;;
   6300 esac
   6301 fi
   6302 TAR=$ac_cv_path_TAR
   6303 if test -n "$TAR"; then
   6304   { echo "$as_me:$LINENO: result: $TAR" >&5
   6305 echo "${ECHO_T}$TAR" >&6; }
   6306 else
   6307   { echo "$as_me:$LINENO: result: no" >&5
   6308 echo "${ECHO_T}no" >&6; }
   6309 fi
   6310 
   6311 
   6312 # Extract the first word of "pwd", so it can be a program name with args.
   6313 set dummy pwd; ac_word=$2
   6314 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6315 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6316 if test "${ac_cv_path_BINPWD+set}" = set; then
   6317   echo $ECHO_N "(cached) $ECHO_C" >&6
   6318 else
   6319   case $BINPWD in
   6320   [\\/]* | ?:[\\/]*)
   6321   ac_cv_path_BINPWD="$BINPWD" # Let the user override the test with a path.
   6322   ;;
   6323   *)
   6324   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6325 for as_dir in $PATH
   6326 do
   6327   IFS=$as_save_IFS
   6328   test -z "$as_dir" && as_dir=.
   6329   for ac_exec_ext in '' $ac_executable_extensions; do
   6330   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   6331     ac_cv_path_BINPWD="$as_dir/$ac_word$ac_exec_ext"
   6332     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6333     break 2
   6334   fi
   6335 done
   6336 done
   6337 IFS=$as_save_IFS
   6338 
   6339   test -z "$ac_cv_path_BINPWD" && ac_cv_path_BINPWD="pwd"
   6340   ;;
   6341 esac
   6342 fi
   6343 BINPWD=$ac_cv_path_BINPWD
   6344 if test -n "$BINPWD"; then
   6345   { echo "$as_me:$LINENO: result: $BINPWD" >&5
   6346 echo "${ECHO_T}$BINPWD" >&6; }
   6347 else
   6348   { echo "$as_me:$LINENO: result: no" >&5
   6349 echo "${ECHO_T}no" >&6; }
   6350 fi
   6351 
   6352 
   6353 
   6354 # Extract the first word of "Graphviz", so it can be a program name with args.
   6355 set dummy Graphviz; ac_word=$2
   6356 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6357 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6358 if test "${ac_cv_path_GRAPHVIZ+set}" = set; then
   6359   echo $ECHO_N "(cached) $ECHO_C" >&6
   6360 else
   6361   case $GRAPHVIZ in
   6362   [\\/]* | ?:[\\/]*)
   6363   ac_cv_path_GRAPHVIZ="$GRAPHVIZ" # Let the user override the test with a path.
   6364   ;;
   6365   *)
   6366   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6367 for as_dir in $PATH
   6368 do
   6369   IFS=$as_save_IFS
   6370   test -z "$as_dir" && as_dir=.
   6371   for ac_exec_ext in '' $ac_executable_extensions; do
   6372   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   6373     ac_cv_path_GRAPHVIZ="$as_dir/$ac_word$ac_exec_ext"
   6374     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6375     break 2
   6376   fi
   6377 done
   6378 done
   6379 IFS=$as_save_IFS
   6380 
   6381   test -z "$ac_cv_path_GRAPHVIZ" && ac_cv_path_GRAPHVIZ="echo Graphviz"
   6382   ;;
   6383 esac
   6384 fi
   6385 GRAPHVIZ=$ac_cv_path_GRAPHVIZ
   6386 if test -n "$GRAPHVIZ"; then
   6387   { echo "$as_me:$LINENO: result: $GRAPHVIZ" >&5
   6388 echo "${ECHO_T}$GRAPHVIZ" >&6; }
   6389 else
   6390   { echo "$as_me:$LINENO: result: no" >&5
   6391 echo "${ECHO_T}no" >&6; }
   6392 fi
   6393 
   6394 
   6395 if test "$GRAPHVIZ" != "echo Graphviz" ; then
   6396 
   6397 cat >>confdefs.h <<\_ACEOF
   6398 #define HAVE_GRAPHVIZ 1
   6399 _ACEOF
   6400 
   6401     if test "$llvm_cv_os_type" = "MingW" ; then
   6402     GRAPHVIZ=`echo $GRAPHVIZ | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
   6403   fi
   6404 
   6405 cat >>confdefs.h <<_ACEOF
   6406 #define LLVM_PATH_GRAPHVIZ "$GRAPHVIZ${EXEEXT}"
   6407 _ACEOF
   6408 
   6409 fi
   6410 # Extract the first word of "dot", so it can be a program name with args.
   6411 set dummy dot; ac_word=$2
   6412 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6413 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6414 if test "${ac_cv_path_DOT+set}" = set; then
   6415   echo $ECHO_N "(cached) $ECHO_C" >&6
   6416 else
   6417   case $DOT in
   6418   [\\/]* | ?:[\\/]*)
   6419   ac_cv_path_DOT="$DOT" # Let the user override the test with a path.
   6420   ;;
   6421   *)
   6422   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6423 for as_dir in $PATH
   6424 do
   6425   IFS=$as_save_IFS
   6426   test -z "$as_dir" && as_dir=.
   6427   for ac_exec_ext in '' $ac_executable_extensions; do
   6428   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   6429     ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext"
   6430     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6431     break 2
   6432   fi
   6433 done
   6434 done
   6435 IFS=$as_save_IFS
   6436 
   6437   test -z "$ac_cv_path_DOT" && ac_cv_path_DOT="echo dot"
   6438   ;;
   6439 esac
   6440 fi
   6441 DOT=$ac_cv_path_DOT
   6442 if test -n "$DOT"; then
   6443   { echo "$as_me:$LINENO: result: $DOT" >&5
   6444 echo "${ECHO_T}$DOT" >&6; }
   6445 else
   6446   { echo "$as_me:$LINENO: result: no" >&5
   6447 echo "${ECHO_T}no" >&6; }
   6448 fi
   6449 
   6450 
   6451 if test "$DOT" != "echo dot" ; then
   6452 
   6453 cat >>confdefs.h <<\_ACEOF
   6454 #define HAVE_DOT 1
   6455 _ACEOF
   6456 
   6457     if test "$llvm_cv_os_type" = "MingW" ; then
   6458     DOT=`echo $DOT | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
   6459   fi
   6460 
   6461 cat >>confdefs.h <<_ACEOF
   6462 #define LLVM_PATH_DOT "$DOT${EXEEXT}"
   6463 _ACEOF
   6464 
   6465 fi
   6466 # Extract the first word of "fdp", so it can be a program name with args.
   6467 set dummy fdp; ac_word=$2
   6468 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6469 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6470 if test "${ac_cv_path_FDP+set}" = set; then
   6471   echo $ECHO_N "(cached) $ECHO_C" >&6
   6472 else
   6473   case $FDP in
   6474   [\\/]* | ?:[\\/]*)
   6475   ac_cv_path_FDP="$FDP" # Let the user override the test with a path.
   6476   ;;
   6477   *)
   6478   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6479 for as_dir in $PATH
   6480 do
   6481   IFS=$as_save_IFS
   6482   test -z "$as_dir" && as_dir=.
   6483   for ac_exec_ext in '' $ac_executable_extensions; do
   6484   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   6485     ac_cv_path_FDP="$as_dir/$ac_word$ac_exec_ext"
   6486     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6487     break 2
   6488   fi
   6489 done
   6490 done
   6491 IFS=$as_save_IFS
   6492 
   6493   test -z "$ac_cv_path_FDP" && ac_cv_path_FDP="echo fdp"
   6494   ;;
   6495 esac
   6496 fi
   6497 FDP=$ac_cv_path_FDP
   6498 if test -n "$FDP"; then
   6499   { echo "$as_me:$LINENO: result: $FDP" >&5
   6500 echo "${ECHO_T}$FDP" >&6; }
   6501 else
   6502   { echo "$as_me:$LINENO: result: no" >&5
   6503 echo "${ECHO_T}no" >&6; }
   6504 fi
   6505 
   6506 
   6507 if test "$FDP" != "echo fdp" ; then
   6508 
   6509 cat >>confdefs.h <<\_ACEOF
   6510 #define HAVE_FDP 1
   6511 _ACEOF
   6512 
   6513     if test "$llvm_cv_os_type" = "MingW" ; then
   6514     FDP=`echo $FDP | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
   6515   fi
   6516 
   6517 cat >>confdefs.h <<_ACEOF
   6518 #define LLVM_PATH_FDP "$FDP${EXEEXT}"
   6519 _ACEOF
   6520 
   6521 fi
   6522 # Extract the first word of "neato", so it can be a program name with args.
   6523 set dummy neato; ac_word=$2
   6524 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6525 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6526 if test "${ac_cv_path_NEATO+set}" = set; then
   6527   echo $ECHO_N "(cached) $ECHO_C" >&6
   6528 else
   6529   case $NEATO in
   6530   [\\/]* | ?:[\\/]*)
   6531   ac_cv_path_NEATO="$NEATO" # Let the user override the test with a path.
   6532   ;;
   6533   *)
   6534   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6535 for as_dir in $PATH
   6536 do
   6537   IFS=$as_save_IFS
   6538   test -z "$as_dir" && as_dir=.
   6539   for ac_exec_ext in '' $ac_executable_extensions; do
   6540   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   6541     ac_cv_path_NEATO="$as_dir/$ac_word$ac_exec_ext"
   6542     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6543     break 2
   6544   fi
   6545 done
   6546 done
   6547 IFS=$as_save_IFS
   6548 
   6549   test -z "$ac_cv_path_NEATO" && ac_cv_path_NEATO="echo neato"
   6550   ;;
   6551 esac
   6552 fi
   6553 NEATO=$ac_cv_path_NEATO
   6554 if test -n "$NEATO"; then
   6555   { echo "$as_me:$LINENO: result: $NEATO" >&5
   6556 echo "${ECHO_T}$NEATO" >&6; }
   6557 else
   6558   { echo "$as_me:$LINENO: result: no" >&5
   6559 echo "${ECHO_T}no" >&6; }
   6560 fi
   6561 
   6562 
   6563 if test "$NEATO" != "echo neato" ; then
   6564 
   6565 cat >>confdefs.h <<\_ACEOF
   6566 #define HAVE_NEATO 1
   6567 _ACEOF
   6568 
   6569     if test "$llvm_cv_os_type" = "MingW" ; then
   6570     NEATO=`echo $NEATO | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
   6571   fi
   6572 
   6573 cat >>confdefs.h <<_ACEOF
   6574 #define LLVM_PATH_NEATO "$NEATO${EXEEXT}"
   6575 _ACEOF
   6576 
   6577 fi
   6578 # Extract the first word of "twopi", so it can be a program name with args.
   6579 set dummy twopi; ac_word=$2
   6580 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6581 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6582 if test "${ac_cv_path_TWOPI+set}" = set; then
   6583   echo $ECHO_N "(cached) $ECHO_C" >&6
   6584 else
   6585   case $TWOPI in
   6586   [\\/]* | ?:[\\/]*)
   6587   ac_cv_path_TWOPI="$TWOPI" # Let the user override the test with a path.
   6588   ;;
   6589   *)
   6590   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6591 for as_dir in $PATH
   6592 do
   6593   IFS=$as_save_IFS
   6594   test -z "$as_dir" && as_dir=.
   6595   for ac_exec_ext in '' $ac_executable_extensions; do
   6596   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   6597     ac_cv_path_TWOPI="$as_dir/$ac_word$ac_exec_ext"
   6598     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6599     break 2
   6600   fi
   6601 done
   6602 done
   6603 IFS=$as_save_IFS
   6604 
   6605   test -z "$ac_cv_path_TWOPI" && ac_cv_path_TWOPI="echo twopi"
   6606   ;;
   6607 esac
   6608 fi
   6609 TWOPI=$ac_cv_path_TWOPI
   6610 if test -n "$TWOPI"; then
   6611   { echo "$as_me:$LINENO: result: $TWOPI" >&5
   6612 echo "${ECHO_T}$TWOPI" >&6; }
   6613 else
   6614   { echo "$as_me:$LINENO: result: no" >&5
   6615 echo "${ECHO_T}no" >&6; }
   6616 fi
   6617 
   6618 
   6619 if test "$TWOPI" != "echo twopi" ; then
   6620 
   6621 cat >>confdefs.h <<\_ACEOF
   6622 #define HAVE_TWOPI 1
   6623 _ACEOF
   6624 
   6625     if test "$llvm_cv_os_type" = "MingW" ; then
   6626     TWOPI=`echo $TWOPI | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
   6627   fi
   6628 
   6629 cat >>confdefs.h <<_ACEOF
   6630 #define LLVM_PATH_TWOPI "$TWOPI${EXEEXT}"
   6631 _ACEOF
   6632 
   6633 fi
   6634 # Extract the first word of "circo", so it can be a program name with args.
   6635 set dummy circo; ac_word=$2
   6636 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6637 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6638 if test "${ac_cv_path_CIRCO+set}" = set; then
   6639   echo $ECHO_N "(cached) $ECHO_C" >&6
   6640 else
   6641   case $CIRCO in
   6642   [\\/]* | ?:[\\/]*)
   6643   ac_cv_path_CIRCO="$CIRCO" # Let the user override the test with a path.
   6644   ;;
   6645   *)
   6646   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6647 for as_dir in $PATH
   6648 do
   6649   IFS=$as_save_IFS
   6650   test -z "$as_dir" && as_dir=.
   6651   for ac_exec_ext in '' $ac_executable_extensions; do
   6652   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   6653     ac_cv_path_CIRCO="$as_dir/$ac_word$ac_exec_ext"
   6654     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6655     break 2
   6656   fi
   6657 done
   6658 done
   6659 IFS=$as_save_IFS
   6660 
   6661   test -z "$ac_cv_path_CIRCO" && ac_cv_path_CIRCO="echo circo"
   6662   ;;
   6663 esac
   6664 fi
   6665 CIRCO=$ac_cv_path_CIRCO
   6666 if test -n "$CIRCO"; then
   6667   { echo "$as_me:$LINENO: result: $CIRCO" >&5
   6668 echo "${ECHO_T}$CIRCO" >&6; }
   6669 else
   6670   { echo "$as_me:$LINENO: result: no" >&5
   6671 echo "${ECHO_T}no" >&6; }
   6672 fi
   6673 
   6674 
   6675 if test "$CIRCO" != "echo circo" ; then
   6676 
   6677 cat >>confdefs.h <<\_ACEOF
   6678 #define HAVE_CIRCO 1
   6679 _ACEOF
   6680 
   6681     if test "$llvm_cv_os_type" = "MingW" ; then
   6682     CIRCO=`echo $CIRCO | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
   6683   fi
   6684 
   6685 cat >>confdefs.h <<_ACEOF
   6686 #define LLVM_PATH_CIRCO "$CIRCO${EXEEXT}"
   6687 _ACEOF
   6688 
   6689 fi
   6690 for ac_prog in gv gsview32
   6691 do
   6692   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6693 set dummy $ac_prog; ac_word=$2
   6694 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6695 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6696 if test "${ac_cv_path_GV+set}" = set; then
   6697   echo $ECHO_N "(cached) $ECHO_C" >&6
   6698 else
   6699   case $GV in
   6700   [\\/]* | ?:[\\/]*)
   6701   ac_cv_path_GV="$GV" # Let the user override the test with a path.
   6702   ;;
   6703   *)
   6704   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6705 for as_dir in $PATH
   6706 do
   6707   IFS=$as_save_IFS
   6708   test -z "$as_dir" && as_dir=.
   6709   for ac_exec_ext in '' $ac_executable_extensions; do
   6710   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   6711     ac_cv_path_GV="$as_dir/$ac_word$ac_exec_ext"
   6712     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6713     break 2
   6714   fi
   6715 done
   6716 done
   6717 IFS=$as_save_IFS
   6718 
   6719   ;;
   6720 esac
   6721 fi
   6722 GV=$ac_cv_path_GV
   6723 if test -n "$GV"; then
   6724   { echo "$as_me:$LINENO: result: $GV" >&5
   6725 echo "${ECHO_T}$GV" >&6; }
   6726 else
   6727   { echo "$as_me:$LINENO: result: no" >&5
   6728 echo "${ECHO_T}no" >&6; }
   6729 fi
   6730 
   6731 
   6732   test -n "$GV" && break
   6733 done
   6734 test -n "$GV" || GV="echo gv"
   6735 
   6736 if test "$GV" != "echo gv" ; then
   6737 
   6738 cat >>confdefs.h <<\_ACEOF
   6739 #define HAVE_GV 1
   6740 _ACEOF
   6741 
   6742     if test "$llvm_cv_os_type" = "MingW" ; then
   6743     GV=`echo $GV | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
   6744   fi
   6745 
   6746 cat >>confdefs.h <<_ACEOF
   6747 #define LLVM_PATH_GV "$GV${EXEEXT}"
   6748 _ACEOF
   6749 
   6750 fi
   6751 # Extract the first word of "dotty", so it can be a program name with args.
   6752 set dummy dotty; ac_word=$2
   6753 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6754 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6755 if test "${ac_cv_path_DOTTY+set}" = set; then
   6756   echo $ECHO_N "(cached) $ECHO_C" >&6
   6757 else
   6758   case $DOTTY in
   6759   [\\/]* | ?:[\\/]*)
   6760   ac_cv_path_DOTTY="$DOTTY" # Let the user override the test with a path.
   6761   ;;
   6762   *)
   6763   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6764 for as_dir in $PATH
   6765 do
   6766   IFS=$as_save_IFS
   6767   test -z "$as_dir" && as_dir=.
   6768   for ac_exec_ext in '' $ac_executable_extensions; do
   6769   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   6770     ac_cv_path_DOTTY="$as_dir/$ac_word$ac_exec_ext"
   6771     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6772     break 2
   6773   fi
   6774 done
   6775 done
   6776 IFS=$as_save_IFS
   6777 
   6778   test -z "$ac_cv_path_DOTTY" && ac_cv_path_DOTTY="echo dotty"
   6779   ;;
   6780 esac
   6781 fi
   6782 DOTTY=$ac_cv_path_DOTTY
   6783 if test -n "$DOTTY"; then
   6784   { echo "$as_me:$LINENO: result: $DOTTY" >&5
   6785 echo "${ECHO_T}$DOTTY" >&6; }
   6786 else
   6787   { echo "$as_me:$LINENO: result: no" >&5
   6788 echo "${ECHO_T}no" >&6; }
   6789 fi
   6790 
   6791 
   6792 if test "$DOTTY" != "echo dotty" ; then
   6793 
   6794 cat >>confdefs.h <<\_ACEOF
   6795 #define HAVE_DOTTY 1
   6796 _ACEOF
   6797 
   6798     if test "$llvm_cv_os_type" = "MingW" ; then
   6799     DOTTY=`echo $DOTTY | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
   6800   fi
   6801 
   6802 cat >>confdefs.h <<_ACEOF
   6803 #define LLVM_PATH_DOTTY "$DOTTY${EXEEXT}"
   6804 _ACEOF
   6805 
   6806 fi
   6807 # Extract the first word of "xdot.py", so it can be a program name with args.
   6808 set dummy xdot.py; ac_word=$2
   6809 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6810 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6811 if test "${ac_cv_path_XDOT_PY+set}" = set; then
   6812   echo $ECHO_N "(cached) $ECHO_C" >&6
   6813 else
   6814   case $XDOT_PY in
   6815   [\\/]* | ?:[\\/]*)
   6816   ac_cv_path_XDOT_PY="$XDOT_PY" # Let the user override the test with a path.
   6817   ;;
   6818   *)
   6819   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6820 for as_dir in $PATH
   6821 do
   6822   IFS=$as_save_IFS
   6823   test -z "$as_dir" && as_dir=.
   6824   for ac_exec_ext in '' $ac_executable_extensions; do
   6825   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   6826     ac_cv_path_XDOT_PY="$as_dir/$ac_word$ac_exec_ext"
   6827     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6828     break 2
   6829   fi
   6830 done
   6831 done
   6832 IFS=$as_save_IFS
   6833 
   6834   test -z "$ac_cv_path_XDOT_PY" && ac_cv_path_XDOT_PY="echo xdot.py"
   6835   ;;
   6836 esac
   6837 fi
   6838 XDOT_PY=$ac_cv_path_XDOT_PY
   6839 if test -n "$XDOT_PY"; then
   6840   { echo "$as_me:$LINENO: result: $XDOT_PY" >&5
   6841 echo "${ECHO_T}$XDOT_PY" >&6; }
   6842 else
   6843   { echo "$as_me:$LINENO: result: no" >&5
   6844 echo "${ECHO_T}no" >&6; }
   6845 fi
   6846 
   6847 
   6848 if test "$XDOT_PY" != "echo xdot.py" ; then
   6849 
   6850 cat >>confdefs.h <<\_ACEOF
   6851 #define HAVE_XDOT_PY 1
   6852 _ACEOF
   6853 
   6854     if test "$llvm_cv_os_type" = "MingW" ; then
   6855     XDOT_PY=`echo $XDOT_PY | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
   6856   fi
   6857 
   6858 cat >>confdefs.h <<_ACEOF
   6859 #define LLVM_PATH_XDOT_PY "$XDOT_PY${EXEEXT}"
   6860 _ACEOF
   6861 
   6862 fi
   6863 
   6864 
   6865 # Extract the first word of "perl", so it can be a program name with args.
   6866 set dummy perl; ac_word=$2
   6867 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6868 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6869 if test "${ac_cv_path_PERL+set}" = set; then
   6870   echo $ECHO_N "(cached) $ECHO_C" >&6
   6871 else
   6872   case $PERL in
   6873   [\\/]* | ?:[\\/]*)
   6874   ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
   6875   ;;
   6876   *)
   6877   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6878 for as_dir in $PATH
   6879 do
   6880   IFS=$as_save_IFS
   6881   test -z "$as_dir" && as_dir=.
   6882   for ac_exec_ext in '' $ac_executable_extensions; do
   6883   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   6884     ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
   6885     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6886     break 2
   6887   fi
   6888 done
   6889 done
   6890 IFS=$as_save_IFS
   6891 
   6892   test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="none"
   6893   ;;
   6894 esac
   6895 fi
   6896 PERL=$ac_cv_path_PERL
   6897 if test -n "$PERL"; then
   6898   { echo "$as_me:$LINENO: result: $PERL" >&5
   6899 echo "${ECHO_T}$PERL" >&6; }
   6900 else
   6901   { echo "$as_me:$LINENO: result: no" >&5
   6902 echo "${ECHO_T}no" >&6; }
   6903 fi
   6904 
   6905 
   6906 if test "$PERL" != "none"; then
   6907   { echo "$as_me:$LINENO: checking for Perl 5.006 or newer" >&5
   6908 echo $ECHO_N "checking for Perl 5.006 or newer... $ECHO_C" >&6; }
   6909   if $PERL -e 'use 5.006;' 2>&1 > /dev/null; then
   6910     { echo "$as_me:$LINENO: result: yes" >&5
   6911 echo "${ECHO_T}yes" >&6; }
   6912   else
   6913     PERL=none
   6914     { echo "$as_me:$LINENO: result: not found" >&5
   6915 echo "${ECHO_T}not found" >&6; }
   6916   fi
   6917 fi
   6918 
   6919 
   6920 if test x"$PERL" = xnone; then
   6921    HAVE_PERL=0
   6922 
   6923    { { echo "$as_me:$LINENO: error: perl is required but was not found, please install it" >&5
   6924 echo "$as_me: error: perl is required but was not found, please install it" >&2;}
   6925    { (exit 1); exit 1; }; }
   6926 else
   6927    HAVE_PERL=1
   6928 
   6929 fi
   6930 
   6931 # Find a good install program.  We prefer a C program (faster),
   6932 # so one script is as good as another.  But avoid the broken or
   6933 # incompatible versions:
   6934 # SysV /etc/install, /usr/sbin/install
   6935 # SunOS /usr/etc/install
   6936 # IRIX /sbin/install
   6937 # AIX /bin/install
   6938 # AmigaOS /C/install, which installs bootblocks on floppy discs
   6939 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   6940 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   6941 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   6942 # OS/2's system install, which has a completely different semantic
   6943 # ./install, which can be erroneously created by make from ./install.sh.
   6944 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
   6945 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
   6946 if test -z "$INSTALL"; then
   6947 if test "${ac_cv_path_install+set}" = set; then
   6948   echo $ECHO_N "(cached) $ECHO_C" >&6
   6949 else
   6950   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6951 for as_dir in $PATH
   6952 do
   6953   IFS=$as_save_IFS
   6954   test -z "$as_dir" && as_dir=.
   6955   # Account for people who put trailing slashes in PATH elements.
   6956 case $as_dir/ in
   6957   ./ | .// | /cC/* | \
   6958   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   6959   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
   6960   /usr/ucb/* ) ;;
   6961   *)
   6962     # OSF1 and SCO ODT 3.0 have their own names for install.
   6963     # Don't use installbsd from OSF since it installs stuff as root
   6964     # by default.
   6965     for ac_prog in ginstall scoinst install; do
   6966       for ac_exec_ext in '' $ac_executable_extensions; do
   6967 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
   6968 	  if test $ac_prog = install &&
   6969 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   6970 	    # AIX install.  It has an incompatible calling convention.
   6971 	    :
   6972 	  elif test $ac_prog = install &&
   6973 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   6974 	    # program-specific install script used by HP pwplus--don't use.
   6975 	    :
   6976 	  else
   6977 	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   6978 	    break 3
   6979 	  fi
   6980 	fi
   6981       done
   6982     done
   6983     ;;
   6984 esac
   6985 done
   6986 IFS=$as_save_IFS
   6987 
   6988 
   6989 fi
   6990   if test "${ac_cv_path_install+set}" = set; then
   6991     INSTALL=$ac_cv_path_install
   6992   else
   6993     # As a last resort, use the slow shell script.  Don't cache a
   6994     # value for INSTALL within a source directory, because that will
   6995     # break other packages using the cache if that directory is
   6996     # removed, or if the value is a relative name.
   6997     INSTALL=$ac_install_sh
   6998   fi
   6999 fi
   7000 { echo "$as_me:$LINENO: result: $INSTALL" >&5
   7001 echo "${ECHO_T}$INSTALL" >&6; }
   7002 
   7003 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   7004 # It thinks the first close brace ends the variable substitution.
   7005 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   7006 
   7007 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   7008 
   7009 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   7010 
   7011 case "$INSTALL" in
   7012  [\\/$]* | ?:[\\/]* ) ;;
   7013  *)  INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
   7014 esac
   7015 
   7016 # Extract the first word of "bzip2", so it can be a program name with args.
   7017 set dummy bzip2; ac_word=$2
   7018 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   7019 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   7020 if test "${ac_cv_path_BZIP2+set}" = set; then
   7021   echo $ECHO_N "(cached) $ECHO_C" >&6
   7022 else
   7023   case $BZIP2 in
   7024   [\\/]* | ?:[\\/]*)
   7025   ac_cv_path_BZIP2="$BZIP2" # Let the user override the test with a path.
   7026   ;;
   7027   *)
   7028   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7029 for as_dir in $PATH
   7030 do
   7031   IFS=$as_save_IFS
   7032   test -z "$as_dir" && as_dir=.
   7033   for ac_exec_ext in '' $ac_executable_extensions; do
   7034   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   7035     ac_cv_path_BZIP2="$as_dir/$ac_word$ac_exec_ext"
   7036     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7037     break 2
   7038   fi
   7039 done
   7040 done
   7041 IFS=$as_save_IFS
   7042 
   7043   ;;
   7044 esac
   7045 fi
   7046 BZIP2=$ac_cv_path_BZIP2
   7047 if test -n "$BZIP2"; then
   7048   { echo "$as_me:$LINENO: result: $BZIP2" >&5
   7049 echo "${ECHO_T}$BZIP2" >&6; }
   7050 else
   7051   { echo "$as_me:$LINENO: result: no" >&5
   7052 echo "${ECHO_T}no" >&6; }
   7053 fi
   7054 
   7055 
   7056 # Extract the first word of "cat", so it can be a program name with args.
   7057 set dummy cat; ac_word=$2
   7058 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   7059 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   7060 if test "${ac_cv_path_CAT+set}" = set; then
   7061   echo $ECHO_N "(cached) $ECHO_C" >&6
   7062 else
   7063   case $CAT in
   7064   [\\/]* | ?:[\\/]*)
   7065   ac_cv_path_CAT="$CAT" # Let the user override the test with a path.
   7066   ;;
   7067   *)
   7068   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7069 for as_dir in $PATH
   7070 do
   7071   IFS=$as_save_IFS
   7072   test -z "$as_dir" && as_dir=.
   7073   for ac_exec_ext in '' $ac_executable_extensions; do
   7074   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   7075     ac_cv_path_CAT="$as_dir/$ac_word$ac_exec_ext"
   7076     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7077     break 2
   7078   fi
   7079 done
   7080 done
   7081 IFS=$as_save_IFS
   7082 
   7083   ;;
   7084 esac
   7085 fi
   7086 CAT=$ac_cv_path_CAT
   7087 if test -n "$CAT"; then
   7088   { echo "$as_me:$LINENO: result: $CAT" >&5
   7089 echo "${ECHO_T}$CAT" >&6; }
   7090 else
   7091   { echo "$as_me:$LINENO: result: no" >&5
   7092 echo "${ECHO_T}no" >&6; }
   7093 fi
   7094 
   7095 
   7096 # Extract the first word of "doxygen", so it can be a program name with args.
   7097 set dummy doxygen; ac_word=$2
   7098 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   7099 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   7100 if test "${ac_cv_path_DOXYGEN+set}" = set; then
   7101   echo $ECHO_N "(cached) $ECHO_C" >&6
   7102 else
   7103   case $DOXYGEN in
   7104   [\\/]* | ?:[\\/]*)
   7105   ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
   7106   ;;
   7107   *)
   7108   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7109 for as_dir in $PATH
   7110 do
   7111   IFS=$as_save_IFS
   7112   test -z "$as_dir" && as_dir=.
   7113   for ac_exec_ext in '' $ac_executable_extensions; do
   7114   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   7115     ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
   7116     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7117     break 2
   7118   fi
   7119 done
   7120 done
   7121 IFS=$as_save_IFS
   7122 
   7123   ;;
   7124 esac
   7125 fi
   7126 DOXYGEN=$ac_cv_path_DOXYGEN
   7127 if test -n "$DOXYGEN"; then
   7128   { echo "$as_me:$LINENO: result: $DOXYGEN" >&5
   7129 echo "${ECHO_T}$DOXYGEN" >&6; }
   7130 else
   7131   { echo "$as_me:$LINENO: result: no" >&5
   7132 echo "${ECHO_T}no" >&6; }
   7133 fi
   7134 
   7135 
   7136 # Extract the first word of "groff", so it can be a program name with args.
   7137 set dummy groff; ac_word=$2
   7138 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   7139 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   7140 if test "${ac_cv_path_GROFF+set}" = set; then
   7141   echo $ECHO_N "(cached) $ECHO_C" >&6
   7142 else
   7143   case $GROFF in
   7144   [\\/]* | ?:[\\/]*)
   7145   ac_cv_path_GROFF="$GROFF" # Let the user override the test with a path.
   7146   ;;
   7147   *)
   7148   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7149 for as_dir in $PATH
   7150 do
   7151   IFS=$as_save_IFS
   7152   test -z "$as_dir" && as_dir=.
   7153   for ac_exec_ext in '' $ac_executable_extensions; do
   7154   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   7155     ac_cv_path_GROFF="$as_dir/$ac_word$ac_exec_ext"
   7156     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7157     break 2
   7158   fi
   7159 done
   7160 done
   7161 IFS=$as_save_IFS
   7162 
   7163   ;;
   7164 esac
   7165 fi
   7166 GROFF=$ac_cv_path_GROFF
   7167 if test -n "$GROFF"; then
   7168   { echo "$as_me:$LINENO: result: $GROFF" >&5
   7169 echo "${ECHO_T}$GROFF" >&6; }
   7170 else
   7171   { echo "$as_me:$LINENO: result: no" >&5
   7172 echo "${ECHO_T}no" >&6; }
   7173 fi
   7174 
   7175 
   7176 # Extract the first word of "gzip", so it can be a program name with args.
   7177 set dummy gzip; ac_word=$2
   7178 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   7179 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   7180 if test "${ac_cv_path_GZIPBIN+set}" = set; then
   7181   echo $ECHO_N "(cached) $ECHO_C" >&6
   7182 else
   7183   case $GZIPBIN in
   7184   [\\/]* | ?:[\\/]*)
   7185   ac_cv_path_GZIPBIN="$GZIPBIN" # Let the user override the test with a path.
   7186   ;;
   7187   *)
   7188   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7189 for as_dir in $PATH
   7190 do
   7191   IFS=$as_save_IFS
   7192   test -z "$as_dir" && as_dir=.
   7193   for ac_exec_ext in '' $ac_executable_extensions; do
   7194   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   7195     ac_cv_path_GZIPBIN="$as_dir/$ac_word$ac_exec_ext"
   7196     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7197     break 2
   7198   fi
   7199 done
   7200 done
   7201 IFS=$as_save_IFS
   7202 
   7203   ;;
   7204 esac
   7205 fi
   7206 GZIPBIN=$ac_cv_path_GZIPBIN
   7207 if test -n "$GZIPBIN"; then
   7208   { echo "$as_me:$LINENO: result: $GZIPBIN" >&5
   7209 echo "${ECHO_T}$GZIPBIN" >&6; }
   7210 else
   7211   { echo "$as_me:$LINENO: result: no" >&5
   7212 echo "${ECHO_T}no" >&6; }
   7213 fi
   7214 
   7215 
   7216 # Extract the first word of "pod2html", so it can be a program name with args.
   7217 set dummy pod2html; ac_word=$2
   7218 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   7219 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   7220 if test "${ac_cv_path_POD2HTML+set}" = set; then
   7221   echo $ECHO_N "(cached) $ECHO_C" >&6
   7222 else
   7223   case $POD2HTML in
   7224   [\\/]* | ?:[\\/]*)
   7225   ac_cv_path_POD2HTML="$POD2HTML" # Let the user override the test with a path.
   7226   ;;
   7227   *)
   7228   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7229 for as_dir in $PATH
   7230 do
   7231   IFS=$as_save_IFS
   7232   test -z "$as_dir" && as_dir=.
   7233   for ac_exec_ext in '' $ac_executable_extensions; do
   7234   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   7235     ac_cv_path_POD2HTML="$as_dir/$ac_word$ac_exec_ext"
   7236     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7237     break 2
   7238   fi
   7239 done
   7240 done
   7241 IFS=$as_save_IFS
   7242 
   7243   ;;
   7244 esac
   7245 fi
   7246 POD2HTML=$ac_cv_path_POD2HTML
   7247 if test -n "$POD2HTML"; then
   7248   { echo "$as_me:$LINENO: result: $POD2HTML" >&5
   7249 echo "${ECHO_T}$POD2HTML" >&6; }
   7250 else
   7251   { echo "$as_me:$LINENO: result: no" >&5
   7252 echo "${ECHO_T}no" >&6; }
   7253 fi
   7254 
   7255 
   7256 # Extract the first word of "pod2man", so it can be a program name with args.
   7257 set dummy pod2man; ac_word=$2
   7258 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   7259 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   7260 if test "${ac_cv_path_POD2MAN+set}" = set; then
   7261   echo $ECHO_N "(cached) $ECHO_C" >&6
   7262 else
   7263   case $POD2MAN in
   7264   [\\/]* | ?:[\\/]*)
   7265   ac_cv_path_POD2MAN="$POD2MAN" # Let the user override the test with a path.
   7266   ;;
   7267   *)
   7268   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7269 for as_dir in $PATH
   7270 do
   7271   IFS=$as_save_IFS
   7272   test -z "$as_dir" && as_dir=.
   7273   for ac_exec_ext in '' $ac_executable_extensions; do
   7274   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   7275     ac_cv_path_POD2MAN="$as_dir/$ac_word$ac_exec_ext"
   7276     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7277     break 2
   7278   fi
   7279 done
   7280 done
   7281 IFS=$as_save_IFS
   7282 
   7283   ;;
   7284 esac
   7285 fi
   7286 POD2MAN=$ac_cv_path_POD2MAN
   7287 if test -n "$POD2MAN"; then
   7288   { echo "$as_me:$LINENO: result: $POD2MAN" >&5
   7289 echo "${ECHO_T}$POD2MAN" >&6; }
   7290 else
   7291   { echo "$as_me:$LINENO: result: no" >&5
   7292 echo "${ECHO_T}no" >&6; }
   7293 fi
   7294 
   7295 
   7296 # Extract the first word of "pdfroff", so it can be a program name with args.
   7297 set dummy pdfroff; ac_word=$2
   7298 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   7299 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   7300 if test "${ac_cv_path_PDFROFF+set}" = set; then
   7301   echo $ECHO_N "(cached) $ECHO_C" >&6
   7302 else
   7303   case $PDFROFF in
   7304   [\\/]* | ?:[\\/]*)
   7305   ac_cv_path_PDFROFF="$PDFROFF" # Let the user override the test with a path.
   7306   ;;
   7307   *)
   7308   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7309 for as_dir in $PATH
   7310 do
   7311   IFS=$as_save_IFS
   7312   test -z "$as_dir" && as_dir=.
   7313   for ac_exec_ext in '' $ac_executable_extensions; do
   7314   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   7315     ac_cv_path_PDFROFF="$as_dir/$ac_word$ac_exec_ext"
   7316     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7317     break 2
   7318   fi
   7319 done
   7320 done
   7321 IFS=$as_save_IFS
   7322 
   7323   ;;
   7324 esac
   7325 fi
   7326 PDFROFF=$ac_cv_path_PDFROFF
   7327 if test -n "$PDFROFF"; then
   7328   { echo "$as_me:$LINENO: result: $PDFROFF" >&5
   7329 echo "${ECHO_T}$PDFROFF" >&6; }
   7330 else
   7331   { echo "$as_me:$LINENO: result: no" >&5
   7332 echo "${ECHO_T}no" >&6; }
   7333 fi
   7334 
   7335 
   7336 # Extract the first word of "runtest", so it can be a program name with args.
   7337 set dummy runtest; ac_word=$2
   7338 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   7339 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   7340 if test "${ac_cv_path_RUNTEST+set}" = set; then
   7341   echo $ECHO_N "(cached) $ECHO_C" >&6
   7342 else
   7343   case $RUNTEST in
   7344   [\\/]* | ?:[\\/]*)
   7345   ac_cv_path_RUNTEST="$RUNTEST" # Let the user override the test with a path.
   7346   ;;
   7347   *)
   7348   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7349 for as_dir in $PATH
   7350 do
   7351   IFS=$as_save_IFS
   7352   test -z "$as_dir" && as_dir=.
   7353   for ac_exec_ext in '' $ac_executable_extensions; do
   7354   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   7355     ac_cv_path_RUNTEST="$as_dir/$ac_word$ac_exec_ext"
   7356     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7357     break 2
   7358   fi
   7359 done
   7360 done
   7361 IFS=$as_save_IFS
   7362 
   7363   ;;
   7364 esac
   7365 fi
   7366 RUNTEST=$ac_cv_path_RUNTEST
   7367 if test -n "$RUNTEST"; then
   7368   { echo "$as_me:$LINENO: result: $RUNTEST" >&5
   7369 echo "${ECHO_T}$RUNTEST" >&6; }
   7370 else
   7371   { echo "$as_me:$LINENO: result: no" >&5
   7372 echo "${ECHO_T}no" >&6; }
   7373 fi
   7374 
   7375 
   7376 
   7377 no_itcl=true
   7378 { echo "$as_me:$LINENO: checking for the tclsh program in tclinclude directory" >&5
   7379 echo $ECHO_N "checking for the tclsh program in tclinclude directory... $ECHO_C" >&6; }
   7380 
   7381 # Check whether --with-tclinclude was given.
   7382 if test "${with_tclinclude+set}" = set; then
   7383   withval=$with_tclinclude; with_tclinclude=${withval}
   7384 else
   7385   with_tclinclude=''
   7386 fi
   7387 
   7388 if test "${ac_cv_path_tclsh+set}" = set; then
   7389   echo $ECHO_N "(cached) $ECHO_C" >&6
   7390 else
   7391 
   7392 if test x"${with_tclinclude}" != x ; then
   7393   if test -f ${with_tclinclude}/tclsh ; then
   7394     ac_cv_path_tclsh=`(cd ${with_tclinclude}; pwd)`
   7395   elif test -f ${with_tclinclude}/src/tclsh ; then
   7396     ac_cv_path_tclsh=`(cd ${with_tclinclude}/src; pwd)`
   7397   else
   7398     { { echo "$as_me:$LINENO: error: ${with_tclinclude} directory doesn't contain tclsh" >&5
   7399 echo "$as_me: error: ${with_tclinclude} directory doesn't contain tclsh" >&2;}
   7400    { (exit 1); exit 1; }; }
   7401   fi
   7402 fi
   7403 fi
   7404 
   7405 
   7406 if test x"${ac_cv_path_tclsh}" = x ; then
   7407   { echo "$as_me:$LINENO: result: none" >&5
   7408 echo "${ECHO_T}none" >&6; }
   7409   for ac_prog in tclsh8.4 tclsh8.4.8 tclsh8.4.7 tclsh8.4.6 tclsh8.4.5 tclsh8.4.4 tclsh8.4.3 tclsh8.4.2 tclsh8.4.1 tclsh8.4.0 tclsh8.3 tclsh8.3.5 tclsh8.3.4 tclsh8.3.3 tclsh8.3.2 tclsh8.3.1 tclsh8.3.0 tclsh
   7410 do
   7411   # Extract the first word of "$ac_prog", so it can be a program name with args.
   7412 set dummy $ac_prog; ac_word=$2
   7413 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   7414 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   7415 if test "${ac_cv_path_TCLSH+set}" = set; then
   7416   echo $ECHO_N "(cached) $ECHO_C" >&6
   7417 else
   7418   case $TCLSH in
   7419   [\\/]* | ?:[\\/]*)
   7420   ac_cv_path_TCLSH="$TCLSH" # Let the user override the test with a path.
   7421   ;;
   7422   *)
   7423   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7424 for as_dir in $PATH
   7425 do
   7426   IFS=$as_save_IFS
   7427   test -z "$as_dir" && as_dir=.
   7428   for ac_exec_ext in '' $ac_executable_extensions; do
   7429   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   7430     ac_cv_path_TCLSH="$as_dir/$ac_word$ac_exec_ext"
   7431     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7432     break 2
   7433   fi
   7434 done
   7435 done
   7436 IFS=$as_save_IFS
   7437 
   7438   ;;
   7439 esac
   7440 fi
   7441 TCLSH=$ac_cv_path_TCLSH
   7442 if test -n "$TCLSH"; then
   7443   { echo "$as_me:$LINENO: result: $TCLSH" >&5
   7444 echo "${ECHO_T}$TCLSH" >&6; }
   7445 else
   7446   { echo "$as_me:$LINENO: result: no" >&5
   7447 echo "${ECHO_T}no" >&6; }
   7448 fi
   7449 
   7450 
   7451   test -n "$TCLSH" && break
   7452 done
   7453 
   7454   if test x"${TCLSH}" = x ; then
   7455     ac_cv_path_tclsh='';
   7456   else
   7457     ac_cv_path_tclsh="${TCLSH}";
   7458   fi
   7459 else
   7460   { echo "$as_me:$LINENO: result: ${ac_cv_path_tclsh}" >&5
   7461 echo "${ECHO_T}${ac_cv_path_tclsh}" >&6; }
   7462   TCLSH="${ac_cv_path_tclsh}"
   7463 
   7464 fi
   7465 
   7466 # Extract the first word of "zip", so it can be a program name with args.
   7467 set dummy zip; ac_word=$2
   7468 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   7469 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   7470 if test "${ac_cv_path_ZIP+set}" = set; then
   7471   echo $ECHO_N "(cached) $ECHO_C" >&6
   7472 else
   7473   case $ZIP in
   7474   [\\/]* | ?:[\\/]*)
   7475   ac_cv_path_ZIP="$ZIP" # Let the user override the test with a path.
   7476   ;;
   7477   *)
   7478   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7479 for as_dir in $PATH
   7480 do
   7481   IFS=$as_save_IFS
   7482   test -z "$as_dir" && as_dir=.
   7483   for ac_exec_ext in '' $ac_executable_extensions; do
   7484   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   7485     ac_cv_path_ZIP="$as_dir/$ac_word$ac_exec_ext"
   7486     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7487     break 2
   7488   fi
   7489 done
   7490 done
   7491 IFS=$as_save_IFS
   7492 
   7493   ;;
   7494 esac
   7495 fi
   7496 ZIP=$ac_cv_path_ZIP
   7497 if test -n "$ZIP"; then
   7498   { echo "$as_me:$LINENO: result: $ZIP" >&5
   7499 echo "${ECHO_T}$ZIP" >&6; }
   7500 else
   7501   { echo "$as_me:$LINENO: result: no" >&5
   7502 echo "${ECHO_T}no" >&6; }
   7503 fi
   7504 
   7505 
   7506 for ac_prog in ocamlc
   7507 do
   7508   # Extract the first word of "$ac_prog", so it can be a program name with args.
   7509 set dummy $ac_prog; ac_word=$2
   7510 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   7511 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   7512 if test "${ac_cv_path_OCAMLC+set}" = set; then
   7513   echo $ECHO_N "(cached) $ECHO_C" >&6
   7514 else
   7515   case $OCAMLC in
   7516   [\\/]* | ?:[\\/]*)
   7517   ac_cv_path_OCAMLC="$OCAMLC" # Let the user override the test with a path.
   7518   ;;
   7519   *)
   7520   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7521 for as_dir in $PATH
   7522 do
   7523   IFS=$as_save_IFS
   7524   test -z "$as_dir" && as_dir=.
   7525   for ac_exec_ext in '' $ac_executable_extensions; do
   7526   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   7527     ac_cv_path_OCAMLC="$as_dir/$ac_word$ac_exec_ext"
   7528     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7529     break 2
   7530   fi
   7531 done
   7532 done
   7533 IFS=$as_save_IFS
   7534 
   7535   ;;
   7536 esac
   7537 fi
   7538 OCAMLC=$ac_cv_path_OCAMLC
   7539 if test -n "$OCAMLC"; then
   7540   { echo "$as_me:$LINENO: result: $OCAMLC" >&5
   7541 echo "${ECHO_T}$OCAMLC" >&6; }
   7542 else
   7543   { echo "$as_me:$LINENO: result: no" >&5
   7544 echo "${ECHO_T}no" >&6; }
   7545 fi
   7546 
   7547 
   7548   test -n "$OCAMLC" && break
   7549 done
   7550 
   7551 for ac_prog in ocamlopt
   7552 do
   7553   # Extract the first word of "$ac_prog", so it can be a program name with args.
   7554 set dummy $ac_prog; ac_word=$2
   7555 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   7556 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   7557 if test "${ac_cv_path_OCAMLOPT+set}" = set; then
   7558   echo $ECHO_N "(cached) $ECHO_C" >&6
   7559 else
   7560   case $OCAMLOPT in
   7561   [\\/]* | ?:[\\/]*)
   7562   ac_cv_path_OCAMLOPT="$OCAMLOPT" # Let the user override the test with a path.
   7563   ;;
   7564   *)
   7565   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7566 for as_dir in $PATH
   7567 do
   7568   IFS=$as_save_IFS
   7569   test -z "$as_dir" && as_dir=.
   7570   for ac_exec_ext in '' $ac_executable_extensions; do
   7571   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   7572     ac_cv_path_OCAMLOPT="$as_dir/$ac_word$ac_exec_ext"
   7573     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7574     break 2
   7575   fi
   7576 done
   7577 done
   7578 IFS=$as_save_IFS
   7579 
   7580   ;;
   7581 esac
   7582 fi
   7583 OCAMLOPT=$ac_cv_path_OCAMLOPT
   7584 if test -n "$OCAMLOPT"; then
   7585   { echo "$as_me:$LINENO: result: $OCAMLOPT" >&5
   7586 echo "${ECHO_T}$OCAMLOPT" >&6; }
   7587 else
   7588   { echo "$as_me:$LINENO: result: no" >&5
   7589 echo "${ECHO_T}no" >&6; }
   7590 fi
   7591 
   7592 
   7593   test -n "$OCAMLOPT" && break
   7594 done
   7595 
   7596 for ac_prog in ocamldep
   7597 do
   7598   # Extract the first word of "$ac_prog", so it can be a program name with args.
   7599 set dummy $ac_prog; ac_word=$2
   7600 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   7601 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   7602 if test "${ac_cv_path_OCAMLDEP+set}" = set; then
   7603   echo $ECHO_N "(cached) $ECHO_C" >&6
   7604 else
   7605   case $OCAMLDEP in
   7606   [\\/]* | ?:[\\/]*)
   7607   ac_cv_path_OCAMLDEP="$OCAMLDEP" # Let the user override the test with a path.
   7608   ;;
   7609   *)
   7610   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7611 for as_dir in $PATH
   7612 do
   7613   IFS=$as_save_IFS
   7614   test -z "$as_dir" && as_dir=.
   7615   for ac_exec_ext in '' $ac_executable_extensions; do
   7616   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   7617     ac_cv_path_OCAMLDEP="$as_dir/$ac_word$ac_exec_ext"
   7618     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7619     break 2
   7620   fi
   7621 done
   7622 done
   7623 IFS=$as_save_IFS
   7624 
   7625   ;;
   7626 esac
   7627 fi
   7628 OCAMLDEP=$ac_cv_path_OCAMLDEP
   7629 if test -n "$OCAMLDEP"; then
   7630   { echo "$as_me:$LINENO: result: $OCAMLDEP" >&5
   7631 echo "${ECHO_T}$OCAMLDEP" >&6; }
   7632 else
   7633   { echo "$as_me:$LINENO: result: no" >&5
   7634 echo "${ECHO_T}no" >&6; }
   7635 fi
   7636 
   7637 
   7638   test -n "$OCAMLDEP" && break
   7639 done
   7640 
   7641 for ac_prog in ocamldoc
   7642 do
   7643   # Extract the first word of "$ac_prog", so it can be a program name with args.
   7644 set dummy $ac_prog; ac_word=$2
   7645 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   7646 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   7647 if test "${ac_cv_path_OCAMLDOC+set}" = set; then
   7648   echo $ECHO_N "(cached) $ECHO_C" >&6
   7649 else
   7650   case $OCAMLDOC in
   7651   [\\/]* | ?:[\\/]*)
   7652   ac_cv_path_OCAMLDOC="$OCAMLDOC" # Let the user override the test with a path.
   7653   ;;
   7654   *)
   7655   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7656 for as_dir in $PATH
   7657 do
   7658   IFS=$as_save_IFS
   7659   test -z "$as_dir" && as_dir=.
   7660   for ac_exec_ext in '' $ac_executable_extensions; do
   7661   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   7662     ac_cv_path_OCAMLDOC="$as_dir/$ac_word$ac_exec_ext"
   7663     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7664     break 2
   7665   fi
   7666 done
   7667 done
   7668 IFS=$as_save_IFS
   7669 
   7670   ;;
   7671 esac
   7672 fi
   7673 OCAMLDOC=$ac_cv_path_OCAMLDOC
   7674 if test -n "$OCAMLDOC"; then
   7675   { echo "$as_me:$LINENO: result: $OCAMLDOC" >&5
   7676 echo "${ECHO_T}$OCAMLDOC" >&6; }
   7677 else
   7678   { echo "$as_me:$LINENO: result: no" >&5
   7679 echo "${ECHO_T}no" >&6; }
   7680 fi
   7681 
   7682 
   7683   test -n "$OCAMLDOC" && break
   7684 done
   7685 
   7686 for ac_prog in gas as
   7687 do
   7688   # Extract the first word of "$ac_prog", so it can be a program name with args.
   7689 set dummy $ac_prog; ac_word=$2
   7690 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   7691 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   7692 if test "${ac_cv_path_GAS+set}" = set; then
   7693   echo $ECHO_N "(cached) $ECHO_C" >&6
   7694 else
   7695   case $GAS in
   7696   [\\/]* | ?:[\\/]*)
   7697   ac_cv_path_GAS="$GAS" # Let the user override the test with a path.
   7698   ;;
   7699   *)
   7700   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7701 for as_dir in $PATH
   7702 do
   7703   IFS=$as_save_IFS
   7704   test -z "$as_dir" && as_dir=.
   7705   for ac_exec_ext in '' $ac_executable_extensions; do
   7706   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
   7707     ac_cv_path_GAS="$as_dir/$ac_word$ac_exec_ext"
   7708     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7709     break 2
   7710   fi
   7711 done
   7712 done
   7713 IFS=$as_save_IFS
   7714 
   7715   ;;
   7716 esac
   7717 fi
   7718 GAS=$ac_cv_path_GAS
   7719 if test -n "$GAS"; then
   7720   { echo "$as_me:$LINENO: result: $GAS" >&5
   7721 echo "${ECHO_T}$GAS" >&6; }
   7722 else
   7723   { echo "$as_me:$LINENO: result: no" >&5
   7724 echo "${ECHO_T}no" >&6; }
   7725 fi
   7726 
   7727 
   7728   test -n "$GAS" && break
   7729 done
   7730 
   7731 
   7732 { echo "$as_me:$LINENO: checking for linker version" >&5
   7733 echo $ECHO_N "checking for linker version... $ECHO_C" >&6; }
   7734 if test "${llvm_cv_link_version+set}" = set; then
   7735   echo $ECHO_N "(cached) $ECHO_C" >&6
   7736 else
   7737 
   7738    version_string="$(ld -v 2>&1 | head -1)"
   7739 
   7740    # Check for ld64.
   7741    if (echo "$version_string" | grep -q "ld64"); then
   7742      llvm_cv_link_version=$(echo "$version_string" | sed -e "s#.*ld64-\([^ ]*\)#\1#")
   7743    else
   7744      llvm_cv_link_version=$(echo "$version_string" | sed -e "s#[^0-9]*\([0-9.]*\).*#\1#")
   7745    fi
   7746 
   7747 fi
   7748 { echo "$as_me:$LINENO: result: $llvm_cv_link_version" >&5
   7749 echo "${ECHO_T}$llvm_cv_link_version" >&6; }
   7750 
   7751 cat >>confdefs.h <<_ACEOF
   7752 #define HOST_LINK_VERSION "$llvm_cv_link_version"
   7753 _ACEOF
   7754 
   7755 
   7756 
   7757 { echo "$as_me:$LINENO: checking for compiler -Wl,-R<path> option" >&5
   7758 echo $ECHO_N "checking for compiler -Wl,-R<path> option... $ECHO_C" >&6; }
   7759 if test "${llvm_cv_link_use_r+set}" = set; then
   7760   echo $ECHO_N "(cached) $ECHO_C" >&6
   7761 else
   7762    ac_ext=c
   7763 ac_cpp='$CPP $CPPFLAGS'
   7764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7767 
   7768   oldcflags="$CFLAGS"
   7769   CFLAGS="$CFLAGS -Wl,-R."
   7770   cat >conftest.$ac_ext <<_ACEOF
   7771 /* confdefs.h.  */
   7772 _ACEOF
   7773 cat confdefs.h >>conftest.$ac_ext
   7774 cat >>conftest.$ac_ext <<_ACEOF
   7775 /* end confdefs.h.  */
   7776 
   7777 int
   7778 main ()
   7779 {
   7780 
   7781   ;
   7782   return 0;
   7783 }
   7784 _ACEOF
   7785 rm -f conftest.$ac_objext conftest$ac_exeext
   7786 if { (ac_try="$ac_link"
   7787 case "(($ac_try" in
   7788   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   7789   *) ac_try_echo=$ac_try;;
   7790 esac
   7791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   7792   (eval "$ac_link") 2>conftest.er1
   7793   ac_status=$?
   7794   grep -v '^ *+' conftest.er1 >conftest.err
   7795   rm -f conftest.er1
   7796   cat conftest.err >&5
   7797   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7798   (exit $ac_status); } &&
   7799 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   7800   { (case "(($ac_try" in
   7801   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   7802   *) ac_try_echo=$ac_try;;
   7803 esac
   7804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   7805   (eval "$ac_try") 2>&5
   7806   ac_status=$?
   7807   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7808   (exit $ac_status); }; } &&
   7809 	 { ac_try='test -s conftest$ac_exeext'
   7810   { (case "(($ac_try" in
   7811   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   7812   *) ac_try_echo=$ac_try;;
   7813 esac
   7814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   7815   (eval "$ac_try") 2>&5
   7816   ac_status=$?
   7817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7818   (exit $ac_status); }; }; then
   7819   llvm_cv_link_use_r=yes
   7820 else
   7821   echo "$as_me: failed program was:" >&5
   7822 sed 's/^/| /' conftest.$ac_ext >&5
   7823 
   7824 	llvm_cv_link_use_r=no
   7825 fi
   7826 
   7827 rm -f core conftest.err conftest.$ac_objext \
   7828       conftest$ac_exeext conftest.$ac_ext
   7829   CFLAGS="$oldcflags"
   7830   ac_ext=c
   7831 ac_cpp='$CPP $CPPFLAGS'
   7832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7835 
   7836 
   7837 fi
   7838 { echo "$as_me:$LINENO: result: $llvm_cv_link_use_r" >&5
   7839 echo "${ECHO_T}$llvm_cv_link_use_r" >&6; }
   7840 if test "$llvm_cv_link_use_r" = yes ; then
   7841 
   7842 cat >>confdefs.h <<\_ACEOF
   7843 #define HAVE_LINK_R 1
   7844 _ACEOF
   7845 
   7846   fi
   7847 
   7848 
   7849 { echo "$as_me:$LINENO: checking for compiler -Wl,-export-dynamic option" >&5
   7850 echo $ECHO_N "checking for compiler -Wl,-export-dynamic option... $ECHO_C" >&6; }
   7851 if test "${llvm_cv_link_use_export_dynamic+set}" = set; then
   7852   echo $ECHO_N "(cached) $ECHO_C" >&6
   7853 else
   7854    ac_ext=c
   7855 ac_cpp='$CPP $CPPFLAGS'
   7856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7859 
   7860   oldcflags="$CFLAGS"
   7861   CFLAGS="$CFLAGS -Wl,-export-dynamic"
   7862   cat >conftest.$ac_ext <<_ACEOF
   7863 /* confdefs.h.  */
   7864 _ACEOF
   7865 cat confdefs.h >>conftest.$ac_ext
   7866 cat >>conftest.$ac_ext <<_ACEOF
   7867 /* end confdefs.h.  */
   7868 
   7869 int
   7870 main ()
   7871 {
   7872 
   7873   ;
   7874   return 0;
   7875 }
   7876 _ACEOF
   7877 rm -f conftest.$ac_objext conftest$ac_exeext
   7878 if { (ac_try="$ac_link"
   7879 case "(($ac_try" in
   7880   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   7881   *) ac_try_echo=$ac_try;;
   7882 esac
   7883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   7884   (eval "$ac_link") 2>conftest.er1
   7885   ac_status=$?
   7886   grep -v '^ *+' conftest.er1 >conftest.err
   7887   rm -f conftest.er1
   7888   cat conftest.err >&5
   7889   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7890   (exit $ac_status); } &&
   7891 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   7892   { (case "(($ac_try" in
   7893   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   7894   *) ac_try_echo=$ac_try;;
   7895 esac
   7896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   7897   (eval "$ac_try") 2>&5
   7898   ac_status=$?
   7899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7900   (exit $ac_status); }; } &&
   7901 	 { ac_try='test -s conftest$ac_exeext'
   7902   { (case "(($ac_try" in
   7903   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   7904   *) ac_try_echo=$ac_try;;
   7905 esac
   7906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   7907   (eval "$ac_try") 2>&5
   7908   ac_status=$?
   7909   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7910   (exit $ac_status); }; }; then
   7911   llvm_cv_link_use_export_dynamic=yes
   7912 else
   7913   echo "$as_me: failed program was:" >&5
   7914 sed 's/^/| /' conftest.$ac_ext >&5
   7915 
   7916 	llvm_cv_link_use_export_dynamic=no
   7917 fi
   7918 
   7919 rm -f core conftest.err conftest.$ac_objext \
   7920       conftest$ac_exeext conftest.$ac_ext
   7921   CFLAGS="$oldcflags"
   7922   ac_ext=c
   7923 ac_cpp='$CPP $CPPFLAGS'
   7924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7927 
   7928 
   7929 fi
   7930 { echo "$as_me:$LINENO: result: $llvm_cv_link_use_export_dynamic" >&5
   7931 echo "${ECHO_T}$llvm_cv_link_use_export_dynamic" >&6; }
   7932 if test "$llvm_cv_link_use_export_dynamic" = yes ; then
   7933 
   7934 cat >>confdefs.h <<\_ACEOF
   7935 #define HAVE_LINK_EXPORT_DYNAMIC 1
   7936 _ACEOF
   7937 
   7938   fi
   7939 
   7940 
   7941 { echo "$as_me:$LINENO: checking for compiler -Wl,--version-script option" >&5
   7942 echo $ECHO_N "checking for compiler -Wl,--version-script option... $ECHO_C" >&6; }
   7943 if test "${llvm_cv_link_use_version_script+set}" = set; then
   7944   echo $ECHO_N "(cached) $ECHO_C" >&6
   7945 else
   7946    ac_ext=c
   7947 ac_cpp='$CPP $CPPFLAGS'
   7948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7951 
   7952   oldcflags="$CFLAGS"
   7953 
   7954   # The following code is from the autoconf manual,
   7955   # "11.13: Limitations of Usual Tools".
   7956   # Create a temporary directory $tmp in $TMPDIR (default /tmp).
   7957   # Use mktemp if possible; otherwise fall back on mkdir,
   7958   # with $RANDOM to make collisions less likely.
   7959   : ${TMPDIR=/tmp}
   7960   {
   7961     tmp=`
   7962       (umask 077 && mktemp -d "$TMPDIR/fooXXXXXX") 2>/dev/null
   7963     ` &&
   7964     test -n "$tmp" && test -d "$tmp"
   7965   } || {
   7966     tmp=$TMPDIR/foo$$-$RANDOM
   7967     (umask 077 && mkdir "$tmp")
   7968   } || exit $?
   7969 
   7970   echo "{" > "$tmp/export.map"
   7971   echo "  global: main;" >> "$tmp/export.map"
   7972   echo "  local: *;" >> "$tmp/export.map"
   7973   echo "};" >> "$tmp/export.map"
   7974 
   7975   CFLAGS="$CFLAGS -Wl,--version-script=$tmp/export.map"
   7976   cat >conftest.$ac_ext <<_ACEOF
   7977 /* confdefs.h.  */
   7978 _ACEOF
   7979 cat confdefs.h >>conftest.$ac_ext
   7980 cat >>conftest.$ac_ext <<_ACEOF
   7981 /* end confdefs.h.  */
   7982 
   7983 int
   7984 main ()
   7985 {
   7986 
   7987   ;
   7988   return 0;
   7989 }
   7990 _ACEOF
   7991 rm -f conftest.$ac_objext conftest$ac_exeext
   7992 if { (ac_try="$ac_link"
   7993 case "(($ac_try" in
   7994   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   7995   *) ac_try_echo=$ac_try;;
   7996 esac
   7997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   7998   (eval "$ac_link") 2>conftest.er1
   7999   ac_status=$?
   8000   grep -v '^ *+' conftest.er1 >conftest.err
   8001   rm -f conftest.er1
   8002   cat conftest.err >&5
   8003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8004   (exit $ac_status); } &&
   8005 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   8006   { (case "(($ac_try" in
   8007   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8008   *) ac_try_echo=$ac_try;;
   8009 esac
   8010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   8011   (eval "$ac_try") 2>&5
   8012   ac_status=$?
   8013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8014   (exit $ac_status); }; } &&
   8015 	 { ac_try='test -s conftest$ac_exeext'
   8016   { (case "(($ac_try" in
   8017   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8018   *) ac_try_echo=$ac_try;;
   8019 esac
   8020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   8021   (eval "$ac_try") 2>&5
   8022   ac_status=$?
   8023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8024   (exit $ac_status); }; }; then
   8025   llvm_cv_link_use_version_script=yes
   8026 else
   8027   echo "$as_me: failed program was:" >&5
   8028 sed 's/^/| /' conftest.$ac_ext >&5
   8029 
   8030 	llvm_cv_link_use_version_script=no
   8031 fi
   8032 
   8033 rm -f core conftest.err conftest.$ac_objext \
   8034       conftest$ac_exeext conftest.$ac_ext
   8035   rm "$tmp/export.map"
   8036   rmdir "$tmp"
   8037   CFLAGS="$oldcflags"
   8038   ac_ext=c
   8039 ac_cpp='$CPP $CPPFLAGS'
   8040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8043 
   8044 
   8045 fi
   8046 { echo "$as_me:$LINENO: result: $llvm_cv_link_use_version_script" >&5
   8047 echo "${ECHO_T}$llvm_cv_link_use_version_script" >&6; }
   8048 if test "$llvm_cv_link_use_version_script" = yes ; then
   8049   HAVE_LINK_VERSION_SCRIPT=1
   8050 
   8051   fi
   8052 
   8053 
   8054 
   8055 
   8056 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
   8057 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
   8058 if test "${ac_cv_c_const+set}" = set; then
   8059   echo $ECHO_N "(cached) $ECHO_C" >&6
   8060 else
   8061   cat >conftest.$ac_ext <<_ACEOF
   8062 /* confdefs.h.  */
   8063 _ACEOF
   8064 cat confdefs.h >>conftest.$ac_ext
   8065 cat >>conftest.$ac_ext <<_ACEOF
   8066 /* end confdefs.h.  */
   8067 
   8068 int
   8069 main ()
   8070 {
   8071 /* FIXME: Include the comments suggested by Paul. */
   8072 #ifndef __cplusplus
   8073   /* Ultrix mips cc rejects this.  */
   8074   typedef int charset[2];
   8075   const charset x;
   8076   /* SunOS 4.1.1 cc rejects this.  */
   8077   char const *const *ccp;
   8078   char **p;
   8079   /* NEC SVR4.0.2 mips cc rejects this.  */
   8080   struct point {int x, y;};
   8081   static struct point const zero = {0,0};
   8082   /* AIX XL C 1.02.0.0 rejects this.
   8083      It does not let you subtract one const X* pointer from another in
   8084      an arm of an if-expression whose if-part is not a constant
   8085      expression */
   8086   const char *g = "string";
   8087   ccp = &g + (g ? g-g : 0);
   8088   /* HPUX 7.0 cc rejects these. */
   8089   ++ccp;
   8090   p = (char**) ccp;
   8091   ccp = (char const *const *) p;
   8092   { /* SCO 3.2v4 cc rejects this.  */
   8093     char *t;
   8094     char const *s = 0 ? (char *) 0 : (char const *) 0;
   8095 
   8096     *t++ = 0;
   8097     if (s) return 0;
   8098   }
   8099   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
   8100     int x[] = {25, 17};
   8101     const int *foo = &x[0];
   8102     ++foo;
   8103   }
   8104   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
   8105     typedef const int *iptr;
   8106     iptr p = 0;
   8107     ++p;
   8108   }
   8109   { /* AIX XL C 1.02.0.0 rejects this saying
   8110        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
   8111     struct s { int j; const int *ap[3]; };
   8112     struct s *b; b->j = 5;
   8113   }
   8114   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
   8115     const int foo = 10;
   8116     if (!foo) return 0;
   8117   }
   8118   return !x[0] && !zero.x;
   8119 #endif
   8120 
   8121   ;
   8122   return 0;
   8123 }
   8124 _ACEOF
   8125 rm -f conftest.$ac_objext
   8126 if { (ac_try="$ac_compile"
   8127 case "(($ac_try" in
   8128   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8129   *) ac_try_echo=$ac_try;;
   8130 esac
   8131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   8132   (eval "$ac_compile") 2>conftest.er1
   8133   ac_status=$?
   8134   grep -v '^ *+' conftest.er1 >conftest.err
   8135   rm -f conftest.er1
   8136   cat conftest.err >&5
   8137   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8138   (exit $ac_status); } &&
   8139 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   8140   { (case "(($ac_try" in
   8141   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8142   *) ac_try_echo=$ac_try;;
   8143 esac
   8144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   8145   (eval "$ac_try") 2>&5
   8146   ac_status=$?
   8147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8148   (exit $ac_status); }; } &&
   8149 	 { ac_try='test -s conftest.$ac_objext'
   8150   { (case "(($ac_try" in
   8151   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8152   *) ac_try_echo=$ac_try;;
   8153 esac
   8154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   8155   (eval "$ac_try") 2>&5
   8156   ac_status=$?
   8157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8158   (exit $ac_status); }; }; then
   8159   ac_cv_c_const=yes
   8160 else
   8161   echo "$as_me: failed program was:" >&5
   8162 sed 's/^/| /' conftest.$ac_ext >&5
   8163 
   8164 	ac_cv_c_const=no
   8165 fi
   8166 
   8167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8168 fi
   8169 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
   8170 echo "${ECHO_T}$ac_cv_c_const" >&6; }
   8171 if test $ac_cv_c_const = no; then
   8172 
   8173 cat >>confdefs.h <<\_ACEOF
   8174 #define const
   8175 _ACEOF
   8176 
   8177 fi
   8178 
   8179 
   8180 
   8181 
   8182 
   8183 
   8184 ac_header_dirent=no
   8185 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
   8186   as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
   8187 { echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
   8188 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
   8189 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   8190   echo $ECHO_N "(cached) $ECHO_C" >&6
   8191 else
   8192   cat >conftest.$ac_ext <<_ACEOF
   8193 /* confdefs.h.  */
   8194 _ACEOF
   8195 cat confdefs.h >>conftest.$ac_ext
   8196 cat >>conftest.$ac_ext <<_ACEOF
   8197 /* end confdefs.h.  */
   8198 #include <sys/types.h>
   8199 #include <$ac_hdr>
   8200 
   8201 int
   8202 main ()
   8203 {
   8204 if ((DIR *) 0)
   8205 return 0;
   8206   ;
   8207   return 0;
   8208 }
   8209 _ACEOF
   8210 rm -f conftest.$ac_objext
   8211 if { (ac_try="$ac_compile"
   8212 case "(($ac_try" in
   8213   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8214   *) ac_try_echo=$ac_try;;
   8215 esac
   8216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   8217   (eval "$ac_compile") 2>conftest.er1
   8218   ac_status=$?
   8219   grep -v '^ *+' conftest.er1 >conftest.err
   8220   rm -f conftest.er1
   8221   cat conftest.err >&5
   8222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8223   (exit $ac_status); } &&
   8224 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   8225   { (case "(($ac_try" in
   8226   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8227   *) ac_try_echo=$ac_try;;
   8228 esac
   8229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   8230   (eval "$ac_try") 2>&5
   8231   ac_status=$?
   8232   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8233   (exit $ac_status); }; } &&
   8234 	 { ac_try='test -s conftest.$ac_objext'
   8235   { (case "(($ac_try" in
   8236   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8237   *) ac_try_echo=$ac_try;;
   8238 esac
   8239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   8240   (eval "$ac_try") 2>&5
   8241   ac_status=$?
   8242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8243   (exit $ac_status); }; }; then
   8244   eval "$as_ac_Header=yes"
   8245 else
   8246   echo "$as_me: failed program was:" >&5
   8247 sed 's/^/| /' conftest.$ac_ext >&5
   8248 
   8249 	eval "$as_ac_Header=no"
   8250 fi
   8251 
   8252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8253 fi
   8254 ac_res=`eval echo '${'$as_ac_Header'}'`
   8255 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   8256 echo "${ECHO_T}$ac_res" >&6; }
   8257 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   8258   cat >>confdefs.h <<_ACEOF
   8259 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
   8260 _ACEOF
   8261 
   8262 ac_header_dirent=$ac_hdr; break
   8263 fi
   8264 
   8265 done
   8266 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
   8267 if test $ac_header_dirent = dirent.h; then
   8268   { echo "$as_me:$LINENO: checking for library containing opendir" >&5
   8269 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
   8270 if test "${ac_cv_search_opendir+set}" = set; then
   8271   echo $ECHO_N "(cached) $ECHO_C" >&6
   8272 else
   8273   ac_func_search_save_LIBS=$LIBS
   8274 cat >conftest.$ac_ext <<_ACEOF
   8275 /* confdefs.h.  */
   8276 _ACEOF
   8277 cat confdefs.h >>conftest.$ac_ext
   8278 cat >>conftest.$ac_ext <<_ACEOF
   8279 /* end confdefs.h.  */
   8280 
   8281 /* Override any GCC internal prototype to avoid an error.
   8282    Use char because int might match the return type of a GCC
   8283    builtin and then its argument prototype would still apply.  */
   8284 #ifdef __cplusplus
   8285 extern "C"
   8286 #endif
   8287 char opendir ();
   8288 int
   8289 main ()
   8290 {
   8291 return opendir ();
   8292   ;
   8293   return 0;
   8294 }
   8295 _ACEOF
   8296 for ac_lib in '' dir; do
   8297   if test -z "$ac_lib"; then
   8298     ac_res="none required"
   8299   else
   8300     ac_res=-l$ac_lib
   8301     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   8302   fi
   8303   rm -f conftest.$ac_objext conftest$ac_exeext
   8304 if { (ac_try="$ac_link"
   8305 case "(($ac_try" in
   8306   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8307   *) ac_try_echo=$ac_try;;
   8308 esac
   8309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   8310   (eval "$ac_link") 2>conftest.er1
   8311   ac_status=$?
   8312   grep -v '^ *+' conftest.er1 >conftest.err
   8313   rm -f conftest.er1
   8314   cat conftest.err >&5
   8315   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8316   (exit $ac_status); } &&
   8317 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   8318   { (case "(($ac_try" in
   8319   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8320   *) ac_try_echo=$ac_try;;
   8321 esac
   8322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   8323   (eval "$ac_try") 2>&5
   8324   ac_status=$?
   8325   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8326   (exit $ac_status); }; } &&
   8327 	 { ac_try='test -s conftest$ac_exeext'
   8328   { (case "(($ac_try" in
   8329   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8330   *) ac_try_echo=$ac_try;;
   8331 esac
   8332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   8333   (eval "$ac_try") 2>&5
   8334   ac_status=$?
   8335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8336   (exit $ac_status); }; }; then
   8337   ac_cv_search_opendir=$ac_res
   8338 else
   8339   echo "$as_me: failed program was:" >&5
   8340 sed 's/^/| /' conftest.$ac_ext >&5
   8341 
   8342 
   8343 fi
   8344 
   8345 rm -f core conftest.err conftest.$ac_objext \
   8346       conftest$ac_exeext
   8347   if test "${ac_cv_search_opendir+set}" = set; then
   8348   break
   8349 fi
   8350 done
   8351 if test "${ac_cv_search_opendir+set}" = set; then
   8352   :
   8353 else
   8354   ac_cv_search_opendir=no
   8355 fi
   8356 rm conftest.$ac_ext
   8357 LIBS=$ac_func_search_save_LIBS
   8358 fi
   8359 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
   8360 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
   8361 ac_res=$ac_cv_search_opendir
   8362 if test "$ac_res" != no; then
   8363   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   8364 
   8365 fi
   8366 
   8367 else
   8368   { echo "$as_me:$LINENO: checking for library containing opendir" >&5
   8369 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
   8370 if test "${ac_cv_search_opendir+set}" = set; then
   8371   echo $ECHO_N "(cached) $ECHO_C" >&6
   8372 else
   8373   ac_func_search_save_LIBS=$LIBS
   8374 cat >conftest.$ac_ext <<_ACEOF
   8375 /* confdefs.h.  */
   8376 _ACEOF
   8377 cat confdefs.h >>conftest.$ac_ext
   8378 cat >>conftest.$ac_ext <<_ACEOF
   8379 /* end confdefs.h.  */
   8380 
   8381 /* Override any GCC internal prototype to avoid an error.
   8382    Use char because int might match the return type of a GCC
   8383    builtin and then its argument prototype would still apply.  */
   8384 #ifdef __cplusplus
   8385 extern "C"
   8386 #endif
   8387 char opendir ();
   8388 int
   8389 main ()
   8390 {
   8391 return opendir ();
   8392   ;
   8393   return 0;
   8394 }
   8395 _ACEOF
   8396 for ac_lib in '' x; do
   8397   if test -z "$ac_lib"; then
   8398     ac_res="none required"
   8399   else
   8400     ac_res=-l$ac_lib
   8401     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   8402   fi
   8403   rm -f conftest.$ac_objext conftest$ac_exeext
   8404 if { (ac_try="$ac_link"
   8405 case "(($ac_try" in
   8406   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8407   *) ac_try_echo=$ac_try;;
   8408 esac
   8409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   8410   (eval "$ac_link") 2>conftest.er1
   8411   ac_status=$?
   8412   grep -v '^ *+' conftest.er1 >conftest.err
   8413   rm -f conftest.er1
   8414   cat conftest.err >&5
   8415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8416   (exit $ac_status); } &&
   8417 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   8418   { (case "(($ac_try" in
   8419   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8420   *) ac_try_echo=$ac_try;;
   8421 esac
   8422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   8423   (eval "$ac_try") 2>&5
   8424   ac_status=$?
   8425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8426   (exit $ac_status); }; } &&
   8427 	 { ac_try='test -s conftest$ac_exeext'
   8428   { (case "(($ac_try" in
   8429   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8430   *) ac_try_echo=$ac_try;;
   8431 esac
   8432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   8433   (eval "$ac_try") 2>&5
   8434   ac_status=$?
   8435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8436   (exit $ac_status); }; }; then
   8437   ac_cv_search_opendir=$ac_res
   8438 else
   8439   echo "$as_me: failed program was:" >&5
   8440 sed 's/^/| /' conftest.$ac_ext >&5
   8441 
   8442 
   8443 fi
   8444 
   8445 rm -f core conftest.err conftest.$ac_objext \
   8446       conftest$ac_exeext
   8447   if test "${ac_cv_search_opendir+set}" = set; then
   8448   break
   8449 fi
   8450 done
   8451 if test "${ac_cv_search_opendir+set}" = set; then
   8452   :
   8453 else
   8454   ac_cv_search_opendir=no
   8455 fi
   8456 rm conftest.$ac_ext
   8457 LIBS=$ac_func_search_save_LIBS
   8458 fi
   8459 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
   8460 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
   8461 ac_res=$ac_cv_search_opendir
   8462 if test "$ac_res" != no; then
   8463   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   8464 
   8465 fi
   8466 
   8467 fi
   8468 
   8469 
   8470 for ac_header in dlfcn.h
   8471 do
   8472 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   8473 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   8474   { echo "$as_me:$LINENO: checking for $ac_header" >&5
   8475 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   8476 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   8477   echo $ECHO_N "(cached) $ECHO_C" >&6
   8478 fi
   8479 ac_res=`eval echo '${'$as_ac_Header'}'`
   8480 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   8481 echo "${ECHO_T}$ac_res" >&6; }
   8482 else
   8483   # Is the header compilable?
   8484 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
   8485 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
   8486 cat >conftest.$ac_ext <<_ACEOF
   8487 /* confdefs.h.  */
   8488 _ACEOF
   8489 cat confdefs.h >>conftest.$ac_ext
   8490 cat >>conftest.$ac_ext <<_ACEOF
   8491 /* end confdefs.h.  */
   8492 $ac_includes_default
   8493 #include <$ac_header>
   8494 _ACEOF
   8495 rm -f conftest.$ac_objext
   8496 if { (ac_try="$ac_compile"
   8497 case "(($ac_try" in
   8498   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8499   *) ac_try_echo=$ac_try;;
   8500 esac
   8501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   8502   (eval "$ac_compile") 2>conftest.er1
   8503   ac_status=$?
   8504   grep -v '^ *+' conftest.er1 >conftest.err
   8505   rm -f conftest.er1
   8506   cat conftest.err >&5
   8507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8508   (exit $ac_status); } &&
   8509 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   8510   { (case "(($ac_try" in
   8511   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8512   *) ac_try_echo=$ac_try;;
   8513 esac
   8514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   8515   (eval "$ac_try") 2>&5
   8516   ac_status=$?
   8517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8518   (exit $ac_status); }; } &&
   8519 	 { ac_try='test -s conftest.$ac_objext'
   8520   { (case "(($ac_try" in
   8521   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8522   *) ac_try_echo=$ac_try;;
   8523 esac
   8524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   8525   (eval "$ac_try") 2>&5
   8526   ac_status=$?
   8527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8528   (exit $ac_status); }; }; then
   8529   ac_header_compiler=yes
   8530 else
   8531   echo "$as_me: failed program was:" >&5
   8532 sed 's/^/| /' conftest.$ac_ext >&5
   8533 
   8534 	ac_header_compiler=no
   8535 fi
   8536 
   8537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8538 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   8539 echo "${ECHO_T}$ac_header_compiler" >&6; }
   8540 
   8541 # Is the header present?
   8542 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
   8543 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
   8544 cat >conftest.$ac_ext <<_ACEOF
   8545 /* confdefs.h.  */
   8546 _ACEOF
   8547 cat confdefs.h >>conftest.$ac_ext
   8548 cat >>conftest.$ac_ext <<_ACEOF
   8549 /* end confdefs.h.  */
   8550 #include <$ac_header>
   8551 _ACEOF
   8552 if { (ac_try="$ac_cpp conftest.$ac_ext"
   8553 case "(($ac_try" in
   8554   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8555   *) ac_try_echo=$ac_try;;
   8556 esac
   8557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   8558   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   8559   ac_status=$?
   8560   grep -v '^ *+' conftest.er1 >conftest.err
   8561   rm -f conftest.er1
   8562   cat conftest.err >&5
   8563   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8564   (exit $ac_status); } >/dev/null; then
   8565   if test -s conftest.err; then
   8566     ac_cpp_err=$ac_c_preproc_warn_flag
   8567     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   8568   else
   8569     ac_cpp_err=
   8570   fi
   8571 else
   8572   ac_cpp_err=yes
   8573 fi
   8574 if test -z "$ac_cpp_err"; then
   8575   ac_header_preproc=yes
   8576 else
   8577   echo "$as_me: failed program was:" >&5
   8578 sed 's/^/| /' conftest.$ac_ext >&5
   8579 
   8580   ac_header_preproc=no
   8581 fi
   8582 
   8583 rm -f conftest.err conftest.$ac_ext
   8584 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   8585 echo "${ECHO_T}$ac_header_preproc" >&6; }
   8586 
   8587 # So?  What about this header?
   8588 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   8589   yes:no: )
   8590     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   8591 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   8592     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   8593 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   8594     ac_header_preproc=yes
   8595     ;;
   8596   no:yes:* )
   8597     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   8598 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   8599     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   8600 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   8601     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   8602 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   8603     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   8604 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   8605     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   8606 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   8607     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   8608 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   8609     ( cat <<\_ASBOX
   8610 ## ------------------------------ ##
   8611 ## Report this to bugs@yourdomain ##
   8612 ## ------------------------------ ##
   8613 _ASBOX
   8614      ) | sed "s/^/$as_me: WARNING:     /" >&2
   8615     ;;
   8616 esac
   8617 { echo "$as_me:$LINENO: checking for $ac_header" >&5
   8618 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   8619 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   8620   echo $ECHO_N "(cached) $ECHO_C" >&6
   8621 else
   8622   eval "$as_ac_Header=\$ac_header_preproc"
   8623 fi
   8624 ac_res=`eval echo '${'$as_ac_Header'}'`
   8625 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   8626 echo "${ECHO_T}$ac_res" >&6; }
   8627 
   8628 fi
   8629 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   8630   cat >>confdefs.h <<_ACEOF
   8631 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   8632 _ACEOF
   8633 
   8634 fi
   8635 
   8636 done
   8637 
   8638 # Check whether --enable-ltdl-install was given.
   8639 if test "${enable_ltdl_install+set}" = set; then
   8640   enableval=$enable_ltdl_install;
   8641 fi
   8642 
   8643 
   8644 
   8645 
   8646 if test x"${enable_ltdl_install-no}" != xno; then
   8647   INSTALL_LTDL_TRUE=
   8648   INSTALL_LTDL_FALSE='#'
   8649 else
   8650   INSTALL_LTDL_TRUE='#'
   8651   INSTALL_LTDL_FALSE=
   8652 fi
   8653 
   8654 
   8655 
   8656 if test x"${enable_ltdl_convenience-no}" != xno; then
   8657   CONVENIENCE_LTDL_TRUE=
   8658   CONVENIENCE_LTDL_FALSE='#'
   8659 else
   8660   CONVENIENCE_LTDL_TRUE='#'
   8661   CONVENIENCE_LTDL_FALSE=
   8662 fi
   8663 
   8664 
   8665 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   8666 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
   8667 library_names_spec=
   8668 libname_spec='lib$name'
   8669 soname_spec=
   8670 shrext_cmds=".so"
   8671 postinstall_cmds=
   8672 postuninstall_cmds=
   8673 finish_cmds=
   8674 finish_eval=
   8675 shlibpath_var=
   8676 shlibpath_overrides_runpath=unknown
   8677 version_type=none
   8678 dynamic_linker="$host_os ld.so"
   8679 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   8680 if test "$GCC" = yes; then
   8681   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   8682   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
   8683     # if the path contains ";" then we assume it to be the separator
   8684     # otherwise default to the standard path separator (i.e. ":") - it is
   8685     # assumed that no part of a normal pathname contains ";" but that should
   8686     # okay in the real world where ";" in dirpaths is itself problematic.
   8687     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   8688   else
   8689     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   8690   fi
   8691 else
   8692   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   8693 fi
   8694 need_lib_prefix=unknown
   8695 hardcode_into_libs=no
   8696 
   8697 # when you set need_version to no, make sure it does not cause -set_version
   8698 # flags to be left without arguments
   8699 need_version=unknown
   8700 
   8701 case $host_os in
   8702 aix3*)
   8703   version_type=linux
   8704   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   8705   shlibpath_var=LIBPATH
   8706 
   8707   # AIX 3 has no versioning support, so we append a major version to the name.
   8708   soname_spec='${libname}${release}${shared_ext}$major'
   8709   ;;
   8710 
   8711 aix4* | aix5*)
   8712   version_type=linux
   8713   need_lib_prefix=no
   8714   need_version=no
   8715   hardcode_into_libs=yes
   8716   if test "$host_cpu" = ia64; then
   8717     # AIX 5 supports IA64
   8718     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   8719     shlibpath_var=LD_LIBRARY_PATH
   8720   else
   8721     # With GCC up to 2.95.x, collect2 would create an import file
   8722     # for dependence libraries.  The import file would start with
   8723     # the line `#! .'.  This would cause the generated library to
   8724     # depend on `.', always an invalid library.  This was fixed in
   8725     # development snapshots of GCC prior to 3.0.
   8726     case $host_os in
   8727       aix4 | aix4.[01] | aix4.[01].*)
   8728       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   8729 	   echo ' yes '
   8730 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   8731 	:
   8732       else
   8733 	can_build_shared=no
   8734       fi
   8735       ;;
   8736     esac
   8737     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   8738     # soname into executable. Probably we can add versioning support to
   8739     # collect2, so additional links can be useful in future.
   8740     if test "$aix_use_runtimelinking" = yes; then
   8741       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   8742       # instead of lib<name>.a to let people know that these are not
   8743       # typical AIX shared libraries.
   8744       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8745     else
   8746       # We preserve .a as extension for shared libraries through AIX4.2
   8747       # and later when we are not doing run time linking.
   8748       library_names_spec='${libname}${release}.a $libname.a'
   8749       soname_spec='${libname}${release}${shared_ext}$major'
   8750     fi
   8751     shlibpath_var=LIBPATH
   8752   fi
   8753   ;;
   8754 
   8755 amigaos*)
   8756   library_names_spec='$libname.ixlibrary $libname.a'
   8757   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   8758   finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
   8759   ;;
   8760 
   8761 beos*)
   8762   library_names_spec='${libname}${shared_ext}'
   8763   dynamic_linker="$host_os ld.so"
   8764   shlibpath_var=LIBRARY_PATH
   8765   ;;
   8766 
   8767 bsdi[45]*)
   8768   version_type=linux
   8769   need_version=no
   8770   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8771   soname_spec='${libname}${release}${shared_ext}$major'
   8772   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   8773   shlibpath_var=LD_LIBRARY_PATH
   8774   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   8775   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   8776   # the default ld.so.conf also contains /usr/contrib/lib and
   8777   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   8778   # libtool to hard-code these into programs
   8779   ;;
   8780 
   8781 cygwin* | mingw* | pw32*)
   8782   version_type=windows
   8783   shrext_cmds=".dll"
   8784   need_version=no
   8785   need_lib_prefix=no
   8786 
   8787   case $GCC,$host_os in
   8788   yes,cygwin* | yes,mingw* | yes,pw32*)
   8789     library_names_spec='$libname.dll.a'
   8790     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   8791     postinstall_cmds='base_file=`basename \${file}`~
   8792       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   8793       dldir=$destdir/`dirname \$dlpath`~
   8794       test -d \$dldir || mkdir -p \$dldir~
   8795       $install_prog $dir/$dlname \$dldir/$dlname~
   8796       chmod a+x \$dldir/$dlname'
   8797     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   8798       dlpath=$dir/\$dldll~
   8799        $rm \$dlpath'
   8800     shlibpath_overrides_runpath=yes
   8801 
   8802     case $host_os in
   8803     cygwin*)
   8804       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   8805       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   8806       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   8807       ;;
   8808     mingw*)
   8809       # MinGW DLLs use traditional 'lib' prefix
   8810       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   8811       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   8812       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   8813         # It is most probably a Windows format PATH printed by
   8814         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   8815         # path with ; separators, and with drive letters. We can handle the
   8816         # drive letters (cygwin fileutils understands them), so leave them,
   8817         # especially as we might pass files found there to a mingw objdump,
   8818         # which wouldn't understand a cygwinified path. Ahh.
   8819         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   8820       else
   8821         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   8822       fi
   8823       ;;
   8824     pw32*)
   8825       # pw32 DLLs use 'pw' prefix rather than 'lib'
   8826       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   8827       ;;
   8828     esac
   8829     ;;
   8830 
   8831   *)
   8832     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   8833     ;;
   8834   esac
   8835   dynamic_linker='Win32 ld.exe'
   8836   # FIXME: first we should search . and the directory the executable is in
   8837   shlibpath_var=PATH
   8838   ;;
   8839 
   8840 darwin* | rhapsody*)
   8841   dynamic_linker="$host_os dyld"
   8842   version_type=darwin
   8843   need_lib_prefix=no
   8844   need_version=no
   8845   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   8846   soname_spec='${libname}${release}${major}$shared_ext'
   8847   shlibpath_overrides_runpath=yes
   8848   shlibpath_var=DYLD_LIBRARY_PATH
   8849   shrext_cmds='.dylib'
   8850   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
   8851   if test "$GCC" = yes; then
   8852     sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
   8853   else
   8854     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
   8855   fi
   8856   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   8857   ;;
   8858 
   8859 dgux*)
   8860   version_type=linux
   8861   need_lib_prefix=no
   8862   need_version=no
   8863   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   8864   soname_spec='${libname}${release}${shared_ext}$major'
   8865   shlibpath_var=LD_LIBRARY_PATH
   8866   ;;
   8867 
   8868 freebsd1*)
   8869   dynamic_linker=no
   8870   ;;
   8871 
   8872 kfreebsd*-gnu)
   8873   version_type=linux
   8874   need_lib_prefix=no
   8875   need_version=no
   8876   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   8877   soname_spec='${libname}${release}${shared_ext}$major'
   8878   shlibpath_var=LD_LIBRARY_PATH
   8879   shlibpath_overrides_runpath=no
   8880   hardcode_into_libs=yes
   8881   dynamic_linker='GNU ld.so'
   8882   ;;
   8883 
   8884 freebsd* | dragonfly*)
   8885   # DragonFly does not have aout.  When/if they implement a new
   8886   # versioning mechanism, adjust this.
   8887   if test -x /usr/bin/objformat; then
   8888     objformat=`/usr/bin/objformat`
   8889   else
   8890     case $host_os in
   8891     freebsd[123]*) objformat=aout ;;
   8892     *) objformat=elf ;;
   8893     esac
   8894   fi
   8895   version_type=freebsd-$objformat
   8896   case $version_type in
   8897     freebsd-elf*)
   8898       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   8899       need_version=no
   8900       need_lib_prefix=no
   8901       ;;
   8902     freebsd-*)
   8903       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   8904       need_version=yes
   8905       ;;
   8906   esac
   8907   shlibpath_var=LD_LIBRARY_PATH
   8908   case $host_os in
   8909   freebsd2*)
   8910     shlibpath_overrides_runpath=yes
   8911     ;;
   8912   freebsd3.[01]* | freebsdelf3.[01]*)
   8913     shlibpath_overrides_runpath=yes
   8914     hardcode_into_libs=yes
   8915     ;;
   8916   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   8917   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   8918     shlibpath_overrides_runpath=no
   8919     hardcode_into_libs=yes
   8920     ;;
   8921   freebsd*) # from 4.6 on
   8922     shlibpath_overrides_runpath=yes
   8923     hardcode_into_libs=yes
   8924     ;;
   8925   esac
   8926   ;;
   8927 
   8928 gnu*)
   8929   version_type=linux
   8930   need_lib_prefix=no
   8931   need_version=no
   8932   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   8933   soname_spec='${libname}${release}${shared_ext}$major'
   8934   shlibpath_var=LD_LIBRARY_PATH
   8935   hardcode_into_libs=yes
   8936   ;;
   8937 
   8938 hpux9* | hpux10* | hpux11*)
   8939   # Give a soname corresponding to the major version so that dld.sl refuses to
   8940   # link against other versions.
   8941   version_type=sunos
   8942   need_lib_prefix=no
   8943   need_version=no
   8944   case $host_cpu in
   8945   ia64*)
   8946     shrext_cmds='.so'
   8947     hardcode_into_libs=yes
   8948     dynamic_linker="$host_os dld.so"
   8949     shlibpath_var=LD_LIBRARY_PATH
   8950     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   8951     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8952     soname_spec='${libname}${release}${shared_ext}$major'
   8953     if test "X$HPUX_IA64_MODE" = X32; then
   8954       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   8955     else
   8956       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   8957     fi
   8958     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   8959     ;;
   8960    hppa*64*)
   8961      shrext_cmds='.sl'
   8962      hardcode_into_libs=yes
   8963      dynamic_linker="$host_os dld.sl"
   8964      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   8965      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   8966      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8967      soname_spec='${libname}${release}${shared_ext}$major'
   8968      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   8969      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   8970      ;;
   8971    *)
   8972     shrext_cmds='.sl'
   8973     dynamic_linker="$host_os dld.sl"
   8974     shlibpath_var=SHLIB_PATH
   8975     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   8976     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   8977     soname_spec='${libname}${release}${shared_ext}$major'
   8978     ;;
   8979   esac
   8980   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   8981   postinstall_cmds='chmod 555 $lib'
   8982   ;;
   8983 
   8984 interix3*)
   8985   version_type=linux
   8986   need_lib_prefix=no
   8987   need_version=no
   8988   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   8989   soname_spec='${libname}${release}${shared_ext}$major'
   8990   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   8991   shlibpath_var=LD_LIBRARY_PATH
   8992   shlibpath_overrides_runpath=no
   8993   hardcode_into_libs=yes
   8994   ;;
   8995 
   8996 irix5* | irix6* | nonstopux*)
   8997   case $host_os in
   8998     nonstopux*) version_type=nonstopux ;;
   8999     *)
   9000 	if test "$lt_cv_prog_gnu_ld" = yes; then
   9001 		version_type=linux
   9002 	else
   9003 		version_type=irix
   9004 	fi ;;
   9005   esac
   9006   need_lib_prefix=no
   9007   need_version=no
   9008   soname_spec='${libname}${release}${shared_ext}$major'
   9009   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   9010   case $host_os in
   9011   irix5* | nonstopux*)
   9012     libsuff= shlibsuff=
   9013     ;;
   9014   *)
   9015     case $LD in # libtool.m4 will add one of these switches to LD
   9016     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   9017       libsuff= shlibsuff= libmagic=32-bit;;
   9018     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   9019       libsuff=32 shlibsuff=N32 libmagic=N32;;
   9020     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   9021       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   9022     *) libsuff= shlibsuff= libmagic=never-match;;
   9023     esac
   9024     ;;
   9025   esac
   9026   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   9027   shlibpath_overrides_runpath=no
   9028   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   9029   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   9030   hardcode_into_libs=yes
   9031   ;;
   9032 
   9033 # No shared lib support for Linux oldld, aout, or coff.
   9034 linux*oldld* | linux*aout* | linux*coff*)
   9035   dynamic_linker=no
   9036   ;;
   9037 
   9038 # This must be Linux ELF.
   9039 linux*)
   9040   version_type=linux
   9041   need_lib_prefix=no
   9042   need_version=no
   9043   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9044   soname_spec='${libname}${release}${shared_ext}$major'
   9045   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   9046   shlibpath_var=LD_LIBRARY_PATH
   9047   shlibpath_overrides_runpath=no
   9048   # This implies no fast_install, which is unacceptable.
   9049   # Some rework will be needed to allow for fast_install
   9050   # before this can be enabled.
   9051   hardcode_into_libs=yes
   9052 
   9053   # Append ld.so.conf contents to the search path
   9054   if test -f /etc/ld.so.conf; then
   9055     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
   9056     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   9057   fi
   9058 
   9059   # We used to test for /lib/ld.so.1 and disable shared libraries on
   9060   # powerpc, because MkLinux only supported shared libraries with the
   9061   # GNU dynamic linker.  Since this was broken with cross compilers,
   9062   # most powerpc-linux boxes support dynamic linking these days and
   9063   # people can always --disable-shared, the test was removed, and we
   9064   # assume the GNU/Linux dynamic linker is in use.
   9065   dynamic_linker='GNU/Linux ld.so'
   9066   ;;
   9067 
   9068 knetbsd*-gnu)
   9069   version_type=linux
   9070   need_lib_prefix=no
   9071   need_version=no
   9072   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9073   soname_spec='${libname}${release}${shared_ext}$major'
   9074   shlibpath_var=LD_LIBRARY_PATH
   9075   shlibpath_overrides_runpath=no
   9076   hardcode_into_libs=yes
   9077   dynamic_linker='GNU ld.so'
   9078   ;;
   9079 
   9080 netbsd*)
   9081   version_type=sunos
   9082   need_lib_prefix=no
   9083   need_version=no
   9084   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   9085     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9086     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9087     dynamic_linker='NetBSD (a.out) ld.so'
   9088   else
   9089     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9090     soname_spec='${libname}${release}${shared_ext}$major'
   9091     dynamic_linker='NetBSD ld.elf_so'
   9092   fi
   9093   shlibpath_var=LD_LIBRARY_PATH
   9094   shlibpath_overrides_runpath=yes
   9095   hardcode_into_libs=yes
   9096   ;;
   9097 
   9098 newsos6)
   9099   version_type=linux
   9100   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9101   shlibpath_var=LD_LIBRARY_PATH
   9102   shlibpath_overrides_runpath=yes
   9103   ;;
   9104 
   9105 nto-qnx*)
   9106   version_type=linux
   9107   need_lib_prefix=no
   9108   need_version=no
   9109   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9110   soname_spec='${libname}${release}${shared_ext}$major'
   9111   shlibpath_var=LD_LIBRARY_PATH
   9112   shlibpath_overrides_runpath=yes
   9113   ;;
   9114 
   9115 openbsd*)
   9116   version_type=sunos
   9117   sys_lib_dlsearch_path_spec="/usr/lib"
   9118   need_lib_prefix=no
   9119   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   9120   case $host_os in
   9121     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   9122     *)                         need_version=no  ;;
   9123   esac
   9124   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9125   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9126   shlibpath_var=LD_LIBRARY_PATH
   9127   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9128     case $host_os in
   9129       openbsd2.[89] | openbsd2.[89].*)
   9130 	shlibpath_overrides_runpath=no
   9131 	;;
   9132       *)
   9133 	shlibpath_overrides_runpath=yes
   9134 	;;
   9135       esac
   9136   else
   9137     shlibpath_overrides_runpath=yes
   9138   fi
   9139   ;;
   9140 
   9141 os2*)
   9142   libname_spec='$name'
   9143   shrext_cmds=".dll"
   9144   need_lib_prefix=no
   9145   library_names_spec='$libname${shared_ext} $libname.a'
   9146   dynamic_linker='OS/2 ld.exe'
   9147   shlibpath_var=LIBPATH
   9148   ;;
   9149 
   9150 osf3* | osf4* | osf5*)
   9151   version_type=osf
   9152   need_lib_prefix=no
   9153   need_version=no
   9154   soname_spec='${libname}${release}${shared_ext}$major'
   9155   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9156   shlibpath_var=LD_LIBRARY_PATH
   9157   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   9158   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   9159   ;;
   9160 
   9161 solaris*)
   9162   version_type=linux
   9163   need_lib_prefix=no
   9164   need_version=no
   9165   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9166   soname_spec='${libname}${release}${shared_ext}$major'
   9167   shlibpath_var=LD_LIBRARY_PATH
   9168   shlibpath_overrides_runpath=yes
   9169   hardcode_into_libs=yes
   9170   # ldd complains unless libraries are executable
   9171   postinstall_cmds='chmod +x $lib'
   9172   ;;
   9173 
   9174 sunos4*)
   9175   version_type=sunos
   9176   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9177   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   9178   shlibpath_var=LD_LIBRARY_PATH
   9179   shlibpath_overrides_runpath=yes
   9180   if test "$with_gnu_ld" = yes; then
   9181     need_lib_prefix=no
   9182   fi
   9183   need_version=yes
   9184   ;;
   9185 
   9186 sysv4 | sysv4.3*)
   9187   version_type=linux
   9188   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9189   soname_spec='${libname}${release}${shared_ext}$major'
   9190   shlibpath_var=LD_LIBRARY_PATH
   9191   case $host_vendor in
   9192     sni)
   9193       shlibpath_overrides_runpath=no
   9194       need_lib_prefix=no
   9195       export_dynamic_flag_spec='${wl}-Blargedynsym'
   9196       runpath_var=LD_RUN_PATH
   9197       ;;
   9198     siemens)
   9199       need_lib_prefix=no
   9200       ;;
   9201     motorola)
   9202       need_lib_prefix=no
   9203       need_version=no
   9204       shlibpath_overrides_runpath=no
   9205       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   9206       ;;
   9207   esac
   9208   ;;
   9209 
   9210 sysv4*MP*)
   9211   if test -d /usr/nec ;then
   9212     version_type=linux
   9213     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   9214     soname_spec='$libname${shared_ext}.$major'
   9215     shlibpath_var=LD_LIBRARY_PATH
   9216   fi
   9217   ;;
   9218 
   9219 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   9220   version_type=freebsd-elf
   9221   need_lib_prefix=no
   9222   need_version=no
   9223   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9224   soname_spec='${libname}${release}${shared_ext}$major'
   9225   shlibpath_var=LD_LIBRARY_PATH
   9226   hardcode_into_libs=yes
   9227   if test "$with_gnu_ld" = yes; then
   9228     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   9229     shlibpath_overrides_runpath=no
   9230   else
   9231     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   9232     shlibpath_overrides_runpath=yes
   9233     case $host_os in
   9234       sco3.2v5*)
   9235         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   9236 	;;
   9237     esac
   9238   fi
   9239   sys_lib_dlsearch_path_spec='/usr/lib'
   9240   ;;
   9241 
   9242 uts4*)
   9243   version_type=linux
   9244   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9245   soname_spec='${libname}${release}${shared_ext}$major'
   9246   shlibpath_var=LD_LIBRARY_PATH
   9247   ;;
   9248 
   9249 *)
   9250   dynamic_linker=no
   9251   ;;
   9252 esac
   9253 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   9254 echo "${ECHO_T}$dynamic_linker" >&6; }
   9255 test "$dynamic_linker" = no && can_build_shared=no
   9256 
   9257 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   9258 if test "$GCC" = yes; then
   9259   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   9260 fi
   9261 
   9262 
   9263 { echo "$as_me:$LINENO: checking which extension is used for loadable modules" >&5
   9264 echo $ECHO_N "checking which extension is used for loadable modules... $ECHO_C" >&6; }
   9265 if test "${libltdl_cv_shlibext+set}" = set; then
   9266   echo $ECHO_N "(cached) $ECHO_C" >&6
   9267 else
   9268 
   9269 module=yes
   9270 eval libltdl_cv_shlibext=$shrext_cmds
   9271 
   9272 fi
   9273 { echo "$as_me:$LINENO: result: $libltdl_cv_shlibext" >&5
   9274 echo "${ECHO_T}$libltdl_cv_shlibext" >&6; }
   9275 if test -n "$libltdl_cv_shlibext"; then
   9276 
   9277 cat >>confdefs.h <<_ACEOF
   9278 #define LTDL_SHLIB_EXT "$libltdl_cv_shlibext"
   9279 _ACEOF
   9280 
   9281 fi
   9282 
   9283 
   9284 { echo "$as_me:$LINENO: checking which variable specifies run-time library path" >&5
   9285 echo $ECHO_N "checking which variable specifies run-time library path... $ECHO_C" >&6; }
   9286 if test "${libltdl_cv_shlibpath_var+set}" = set; then
   9287   echo $ECHO_N "(cached) $ECHO_C" >&6
   9288 else
   9289   libltdl_cv_shlibpath_var="$shlibpath_var"
   9290 fi
   9291 { echo "$as_me:$LINENO: result: $libltdl_cv_shlibpath_var" >&5
   9292 echo "${ECHO_T}$libltdl_cv_shlibpath_var" >&6; }
   9293 if test -n "$libltdl_cv_shlibpath_var"; then
   9294 
   9295 cat >>confdefs.h <<_ACEOF
   9296 #define LTDL_SHLIBPATH_VAR "$libltdl_cv_shlibpath_var"
   9297 _ACEOF
   9298 
   9299 fi
   9300 
   9301 
   9302 { echo "$as_me:$LINENO: checking for the default library search path" >&5
   9303 echo $ECHO_N "checking for the default library search path... $ECHO_C" >&6; }
   9304 if test "${libltdl_cv_sys_search_path+set}" = set; then
   9305   echo $ECHO_N "(cached) $ECHO_C" >&6
   9306 else
   9307   libltdl_cv_sys_search_path="$sys_lib_dlsearch_path_spec"
   9308 fi
   9309 { echo "$as_me:$LINENO: result: $libltdl_cv_sys_search_path" >&5
   9310 echo "${ECHO_T}$libltdl_cv_sys_search_path" >&6; }
   9311 if test -n "$libltdl_cv_sys_search_path"; then
   9312   sys_search_path=
   9313   for dir in $libltdl_cv_sys_search_path; do
   9314     if test -z "$sys_search_path"; then
   9315       sys_search_path="$dir"
   9316     else
   9317       sys_search_path="$sys_search_path$PATH_SEPARATOR$dir"
   9318     fi
   9319   done
   9320 
   9321 cat >>confdefs.h <<_ACEOF
   9322 #define LTDL_SYSSEARCHPATH "$sys_search_path"
   9323 _ACEOF
   9324 
   9325 fi
   9326 
   9327 { echo "$as_me:$LINENO: checking for objdir" >&5
   9328 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
   9329 if test "${libltdl_cv_objdir+set}" = set; then
   9330   echo $ECHO_N "(cached) $ECHO_C" >&6
   9331 else
   9332   libltdl_cv_objdir="$objdir"
   9333   if test -n "$objdir"; then
   9334     :
   9335   else
   9336     rm -f .libs 2>/dev/null
   9337     mkdir .libs 2>/dev/null
   9338     if test -d .libs; then
   9339       libltdl_cv_objdir=.libs
   9340     else
   9341       # MS-DOS does not allow filenames that begin with a dot.
   9342       libltdl_cv_objdir=_libs
   9343     fi
   9344   rmdir .libs 2>/dev/null
   9345   fi
   9346 
   9347 fi
   9348 { echo "$as_me:$LINENO: result: $libltdl_cv_objdir" >&5
   9349 echo "${ECHO_T}$libltdl_cv_objdir" >&6; }
   9350 
   9351 cat >>confdefs.h <<_ACEOF
   9352 #define LTDL_OBJDIR "$libltdl_cv_objdir/"
   9353 _ACEOF
   9354 
   9355 
   9356 
   9357 
   9358 
   9359 
   9360 # Check for command to grab the raw symbol name followed by C symbol from nm.
   9361 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
   9362 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
   9363 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
   9364   echo $ECHO_N "(cached) $ECHO_C" >&6
   9365 else
   9366 
   9367 # These are sane defaults that work on at least a few old systems.
   9368 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   9369 
   9370 # Character class describing NM global symbol codes.
   9371 symcode='[BCDEGRST]'
   9372 
   9373 # Regexp to match symbols that can be accessed directly from C.
   9374 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   9375 
   9376 # Transform an extracted symbol line into a proper C declaration
   9377 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
   9378 
   9379 # Transform an extracted symbol line into symbol name and symbol address
   9380 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
   9381 
   9382 # Define system-specific variables.
   9383 case $host_os in
   9384 aix*)
   9385   symcode='[BCDT]'
   9386   ;;
   9387 cygwin* | mingw* | pw32*)
   9388   symcode='[ABCDGISTW]'
   9389   ;;
   9390 hpux*) # Its linker distinguishes data from code symbols
   9391   if test "$host_cpu" = ia64; then
   9392     symcode='[ABCDEGRST]'
   9393   fi
   9394   lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   9395   lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
   9396   ;;
   9397 linux*)
   9398   if test "$host_cpu" = ia64; then
   9399     symcode='[ABCDGIRSTW]'
   9400     lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   9401     lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
   9402   fi
   9403   ;;
   9404 irix* | nonstopux*)
   9405   symcode='[BCDEGRST]'
   9406   ;;
   9407 osf*)
   9408   symcode='[BCDEGQRST]'
   9409   ;;
   9410 solaris*)
   9411   symcode='[BDRT]'
   9412   ;;
   9413 sco3.2v5*)
   9414   symcode='[DT]'
   9415   ;;
   9416 sysv4.2uw2*)
   9417   symcode='[DT]'
   9418   ;;
   9419 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   9420   symcode='[ABDT]'
   9421   ;;
   9422 sysv4)
   9423   symcode='[DFNSTU]'
   9424   ;;
   9425 esac
   9426 
   9427 # Handle CRLF in mingw tool chain
   9428 opt_cr=
   9429 case $build_os in
   9430 mingw*)
   9431   opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   9432   ;;
   9433 esac
   9434 
   9435 # If we're using GNU nm, then use its standard symbol codes.
   9436 case `$NM -V 2>&1` in
   9437 *GNU* | *'with BFD'*)
   9438   symcode='[ABCDGIRSTW]' ;;
   9439 esac
   9440 
   9441 # Try without a prefix undercore, then with it.
   9442 for ac_symprfx in "" "_"; do
   9443 
   9444   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   9445   symxfrm="\\1 $ac_symprfx\\2 \\2"
   9446 
   9447   # Write the raw and C identifiers.
   9448   lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ 	]\($symcode$symcode*\)[ 	][ 	]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   9449 
   9450   # Check to see that the pipe works correctly.
   9451   pipe_works=no
   9452 
   9453   rm -f conftest*
   9454   cat > conftest.$ac_ext <<EOF
   9455 #ifdef __cplusplus
   9456 extern "C" {
   9457 #endif
   9458 char nm_test_var;
   9459 void nm_test_func(){}
   9460 #ifdef __cplusplus
   9461 }
   9462 #endif
   9463 int main(){nm_test_var='a';nm_test_func();return(0);}
   9464 EOF
   9465 
   9466   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   9467   (eval $ac_compile) 2>&5
   9468   ac_status=$?
   9469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9470   (exit $ac_status); }; then
   9471     # Now try to grab the symbols.
   9472     nlist=conftest.nm
   9473     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
   9474   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
   9475   ac_status=$?
   9476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9477   (exit $ac_status); } && test -s "$nlist"; then
   9478       # Try sorting and uniquifying the output.
   9479       if sort "$nlist" | uniq > "$nlist"T; then
   9480 	mv -f "$nlist"T "$nlist"
   9481       else
   9482 	rm -f "$nlist"T
   9483       fi
   9484 
   9485       # Make sure that we snagged all the symbols we need.
   9486       if grep ' nm_test_var$' "$nlist" >/dev/null; then
   9487 	if grep ' nm_test_func$' "$nlist" >/dev/null; then
   9488 	  cat <<EOF > conftest.$ac_ext
   9489 #ifdef __cplusplus
   9490 extern "C" {
   9491 #endif
   9492 
   9493 EOF
   9494 	  # Now generate the symbol file.
   9495 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
   9496 
   9497 	  cat <<EOF >> conftest.$ac_ext
   9498 #if defined (__STDC__) && __STDC__
   9499 # define lt_ptr_t void *
   9500 #else
   9501 # define lt_ptr_t char *
   9502 # define const
   9503 #endif
   9504 
   9505 /* The mapping between symbol names and symbols. */
   9506 const struct {
   9507   const char *name;
   9508   lt_ptr_t address;
   9509 }
   9510 lt_preloaded_symbols[] =
   9511 {
   9512 EOF
   9513 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
   9514 	  cat <<\EOF >> conftest.$ac_ext
   9515   {0, (lt_ptr_t) 0}
   9516 };
   9517 
   9518 #ifdef __cplusplus
   9519 }
   9520 #endif
   9521 EOF
   9522 	  # Now try linking the two files.
   9523 	  mv conftest.$ac_objext conftstm.$ac_objext
   9524 	  lt_save_LIBS="$LIBS"
   9525 	  lt_save_CFLAGS="$CFLAGS"
   9526 	  LIBS="conftstm.$ac_objext"
   9527 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   9528 	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   9529   (eval $ac_link) 2>&5
   9530   ac_status=$?
   9531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9532   (exit $ac_status); } && test -s conftest${ac_exeext}; then
   9533 	    pipe_works=yes
   9534 	  fi
   9535 	  LIBS="$lt_save_LIBS"
   9536 	  CFLAGS="$lt_save_CFLAGS"
   9537 	else
   9538 	  echo "cannot find nm_test_func in $nlist" >&5
   9539 	fi
   9540       else
   9541 	echo "cannot find nm_test_var in $nlist" >&5
   9542       fi
   9543     else
   9544       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   9545     fi
   9546   else
   9547     echo "$progname: failed program was:" >&5
   9548     cat conftest.$ac_ext >&5
   9549   fi
   9550   rm -f conftest* conftst*
   9551 
   9552   # Do not use the global_symbol_pipe unless it works.
   9553   if test "$pipe_works" = yes; then
   9554     break
   9555   else
   9556     lt_cv_sys_global_symbol_pipe=
   9557   fi
   9558 done
   9559 
   9560 fi
   9561 
   9562 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   9563   lt_cv_sys_global_symbol_to_cdecl=
   9564 fi
   9565 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   9566   { echo "$as_me:$LINENO: result: failed" >&5
   9567 echo "${ECHO_T}failed" >&6; }
   9568 else
   9569   { echo "$as_me:$LINENO: result: ok" >&5
   9570 echo "${ECHO_T}ok" >&6; }
   9571 fi
   9572 
   9573 
   9574 { echo "$as_me:$LINENO: checking whether libtool supports -dlopen/-dlpreopen" >&5
   9575 echo $ECHO_N "checking whether libtool supports -dlopen/-dlpreopen... $ECHO_C" >&6; }
   9576 if test "${libltdl_cv_preloaded_symbols+set}" = set; then
   9577   echo $ECHO_N "(cached) $ECHO_C" >&6
   9578 else
   9579   if test -n "$lt_cv_sys_global_symbol_pipe"; then
   9580     libltdl_cv_preloaded_symbols=yes
   9581   else
   9582     libltdl_cv_preloaded_symbols=no
   9583   fi
   9584 
   9585 fi
   9586 { echo "$as_me:$LINENO: result: $libltdl_cv_preloaded_symbols" >&5
   9587 echo "${ECHO_T}$libltdl_cv_preloaded_symbols" >&6; }
   9588 if test x"$libltdl_cv_preloaded_symbols" = xyes; then
   9589 
   9590 cat >>confdefs.h <<\_ACEOF
   9591 #define HAVE_PRELOADED_SYMBOLS 1
   9592 _ACEOF
   9593 
   9594 fi
   9595 
   9596 LIBADD_DL=
   9597 
   9598 ac_ext=c
   9599 ac_cpp='$CPP $CPPFLAGS'
   9600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   9601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   9602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   9603 
   9604 
   9605 { echo "$as_me:$LINENO: checking for shl_load" >&5
   9606 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
   9607 if test "${ac_cv_func_shl_load+set}" = set; then
   9608   echo $ECHO_N "(cached) $ECHO_C" >&6
   9609 else
   9610   cat >conftest.$ac_ext <<_ACEOF
   9611 /* confdefs.h.  */
   9612 _ACEOF
   9613 cat confdefs.h >>conftest.$ac_ext
   9614 cat >>conftest.$ac_ext <<_ACEOF
   9615 /* end confdefs.h.  */
   9616 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
   9617    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   9618 #define shl_load innocuous_shl_load
   9619 
   9620 /* System header to define __stub macros and hopefully few prototypes,
   9621     which can conflict with char shl_load (); below.
   9622     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   9623     <limits.h> exists even on freestanding compilers.  */
   9624 
   9625 #ifdef __STDC__
   9626 # include <limits.h>
   9627 #else
   9628 # include <assert.h>
   9629 #endif
   9630 
   9631 #undef shl_load
   9632 
   9633 /* Override any GCC internal prototype to avoid an error.
   9634    Use char because int might match the return type of a GCC
   9635    builtin and then its argument prototype would still apply.  */
   9636 #ifdef __cplusplus
   9637 extern "C"
   9638 #endif
   9639 char shl_load ();
   9640 /* The GNU C library defines this for functions which it implements
   9641     to always fail with ENOSYS.  Some functions are actually named
   9642     something starting with __ and the normal name is an alias.  */
   9643 #if defined __stub_shl_load || defined __stub___shl_load
   9644 choke me
   9645 #endif
   9646 
   9647 int
   9648 main ()
   9649 {
   9650 return shl_load ();
   9651   ;
   9652   return 0;
   9653 }
   9654 _ACEOF
   9655 rm -f conftest.$ac_objext conftest$ac_exeext
   9656 if { (ac_try="$ac_link"
   9657 case "(($ac_try" in
   9658   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9659   *) ac_try_echo=$ac_try;;
   9660 esac
   9661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9662   (eval "$ac_link") 2>conftest.er1
   9663   ac_status=$?
   9664   grep -v '^ *+' conftest.er1 >conftest.err
   9665   rm -f conftest.er1
   9666   cat conftest.err >&5
   9667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9668   (exit $ac_status); } &&
   9669 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   9670   { (case "(($ac_try" in
   9671   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9672   *) ac_try_echo=$ac_try;;
   9673 esac
   9674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9675   (eval "$ac_try") 2>&5
   9676   ac_status=$?
   9677   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9678   (exit $ac_status); }; } &&
   9679 	 { ac_try='test -s conftest$ac_exeext'
   9680   { (case "(($ac_try" in
   9681   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9682   *) ac_try_echo=$ac_try;;
   9683 esac
   9684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9685   (eval "$ac_try") 2>&5
   9686   ac_status=$?
   9687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9688   (exit $ac_status); }; }; then
   9689   ac_cv_func_shl_load=yes
   9690 else
   9691   echo "$as_me: failed program was:" >&5
   9692 sed 's/^/| /' conftest.$ac_ext >&5
   9693 
   9694 	ac_cv_func_shl_load=no
   9695 fi
   9696 
   9697 rm -f core conftest.err conftest.$ac_objext \
   9698       conftest$ac_exeext conftest.$ac_ext
   9699 fi
   9700 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
   9701 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
   9702 if test $ac_cv_func_shl_load = yes; then
   9703 
   9704 cat >>confdefs.h <<\_ACEOF
   9705 #define HAVE_SHL_LOAD 1
   9706 _ACEOF
   9707 
   9708 else
   9709   { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
   9710 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
   9711 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
   9712   echo $ECHO_N "(cached) $ECHO_C" >&6
   9713 else
   9714   ac_check_lib_save_LIBS=$LIBS
   9715 LIBS="-ldld  $LIBS"
   9716 cat >conftest.$ac_ext <<_ACEOF
   9717 /* confdefs.h.  */
   9718 _ACEOF
   9719 cat confdefs.h >>conftest.$ac_ext
   9720 cat >>conftest.$ac_ext <<_ACEOF
   9721 /* end confdefs.h.  */
   9722 
   9723 /* Override any GCC internal prototype to avoid an error.
   9724    Use char because int might match the return type of a GCC
   9725    builtin and then its argument prototype would still apply.  */
   9726 #ifdef __cplusplus
   9727 extern "C"
   9728 #endif
   9729 char shl_load ();
   9730 int
   9731 main ()
   9732 {
   9733 return shl_load ();
   9734   ;
   9735   return 0;
   9736 }
   9737 _ACEOF
   9738 rm -f conftest.$ac_objext conftest$ac_exeext
   9739 if { (ac_try="$ac_link"
   9740 case "(($ac_try" in
   9741   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9742   *) ac_try_echo=$ac_try;;
   9743 esac
   9744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9745   (eval "$ac_link") 2>conftest.er1
   9746   ac_status=$?
   9747   grep -v '^ *+' conftest.er1 >conftest.err
   9748   rm -f conftest.er1
   9749   cat conftest.err >&5
   9750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9751   (exit $ac_status); } &&
   9752 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   9753   { (case "(($ac_try" in
   9754   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9755   *) ac_try_echo=$ac_try;;
   9756 esac
   9757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9758   (eval "$ac_try") 2>&5
   9759   ac_status=$?
   9760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9761   (exit $ac_status); }; } &&
   9762 	 { ac_try='test -s conftest$ac_exeext'
   9763   { (case "(($ac_try" in
   9764   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9765   *) ac_try_echo=$ac_try;;
   9766 esac
   9767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9768   (eval "$ac_try") 2>&5
   9769   ac_status=$?
   9770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9771   (exit $ac_status); }; }; then
   9772   ac_cv_lib_dld_shl_load=yes
   9773 else
   9774   echo "$as_me: failed program was:" >&5
   9775 sed 's/^/| /' conftest.$ac_ext >&5
   9776 
   9777 	ac_cv_lib_dld_shl_load=no
   9778 fi
   9779 
   9780 rm -f core conftest.err conftest.$ac_objext \
   9781       conftest$ac_exeext conftest.$ac_ext
   9782 LIBS=$ac_check_lib_save_LIBS
   9783 fi
   9784 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
   9785 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
   9786 if test $ac_cv_lib_dld_shl_load = yes; then
   9787 
   9788 cat >>confdefs.h <<\_ACEOF
   9789 #define HAVE_SHL_LOAD 1
   9790 _ACEOF
   9791 
   9792 	LIBADD_DL="$LIBADD_DL -ldld"
   9793 else
   9794   { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   9795 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
   9796 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   9797   echo $ECHO_N "(cached) $ECHO_C" >&6
   9798 else
   9799   ac_check_lib_save_LIBS=$LIBS
   9800 LIBS="-ldl  $LIBS"
   9801 cat >conftest.$ac_ext <<_ACEOF
   9802 /* confdefs.h.  */
   9803 _ACEOF
   9804 cat confdefs.h >>conftest.$ac_ext
   9805 cat >>conftest.$ac_ext <<_ACEOF
   9806 /* end confdefs.h.  */
   9807 
   9808 /* Override any GCC internal prototype to avoid an error.
   9809    Use char because int might match the return type of a GCC
   9810    builtin and then its argument prototype would still apply.  */
   9811 #ifdef __cplusplus
   9812 extern "C"
   9813 #endif
   9814 char dlopen ();
   9815 int
   9816 main ()
   9817 {
   9818 return dlopen ();
   9819   ;
   9820   return 0;
   9821 }
   9822 _ACEOF
   9823 rm -f conftest.$ac_objext conftest$ac_exeext
   9824 if { (ac_try="$ac_link"
   9825 case "(($ac_try" in
   9826   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9827   *) ac_try_echo=$ac_try;;
   9828 esac
   9829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9830   (eval "$ac_link") 2>conftest.er1
   9831   ac_status=$?
   9832   grep -v '^ *+' conftest.er1 >conftest.err
   9833   rm -f conftest.er1
   9834   cat conftest.err >&5
   9835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9836   (exit $ac_status); } &&
   9837 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   9838   { (case "(($ac_try" in
   9839   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9840   *) ac_try_echo=$ac_try;;
   9841 esac
   9842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9843   (eval "$ac_try") 2>&5
   9844   ac_status=$?
   9845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9846   (exit $ac_status); }; } &&
   9847 	 { ac_try='test -s conftest$ac_exeext'
   9848   { (case "(($ac_try" in
   9849   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9850   *) ac_try_echo=$ac_try;;
   9851 esac
   9852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9853   (eval "$ac_try") 2>&5
   9854   ac_status=$?
   9855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9856   (exit $ac_status); }; }; then
   9857   ac_cv_lib_dl_dlopen=yes
   9858 else
   9859   echo "$as_me: failed program was:" >&5
   9860 sed 's/^/| /' conftest.$ac_ext >&5
   9861 
   9862 	ac_cv_lib_dl_dlopen=no
   9863 fi
   9864 
   9865 rm -f core conftest.err conftest.$ac_objext \
   9866       conftest$ac_exeext conftest.$ac_ext
   9867 LIBS=$ac_check_lib_save_LIBS
   9868 fi
   9869 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   9870 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
   9871 if test $ac_cv_lib_dl_dlopen = yes; then
   9872 
   9873 cat >>confdefs.h <<\_ACEOF
   9874 #define HAVE_LIBDL 1
   9875 _ACEOF
   9876 
   9877 	        LIBADD_DL="-ldl" libltdl_cv_lib_dl_dlopen="yes"
   9878 else
   9879   cat >conftest.$ac_ext <<_ACEOF
   9880 /* confdefs.h.  */
   9881 _ACEOF
   9882 cat confdefs.h >>conftest.$ac_ext
   9883 cat >>conftest.$ac_ext <<_ACEOF
   9884 /* end confdefs.h.  */
   9885 #if HAVE_DLFCN_H
   9886 #  include <dlfcn.h>
   9887 #endif
   9888 
   9889 int
   9890 main ()
   9891 {
   9892 dlopen(0, 0);
   9893   ;
   9894   return 0;
   9895 }
   9896 _ACEOF
   9897 rm -f conftest.$ac_objext conftest$ac_exeext
   9898 if { (ac_try="$ac_link"
   9899 case "(($ac_try" in
   9900   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9901   *) ac_try_echo=$ac_try;;
   9902 esac
   9903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9904   (eval "$ac_link") 2>conftest.er1
   9905   ac_status=$?
   9906   grep -v '^ *+' conftest.er1 >conftest.err
   9907   rm -f conftest.er1
   9908   cat conftest.err >&5
   9909   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9910   (exit $ac_status); } &&
   9911 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   9912   { (case "(($ac_try" in
   9913   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9914   *) ac_try_echo=$ac_try;;
   9915 esac
   9916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9917   (eval "$ac_try") 2>&5
   9918   ac_status=$?
   9919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9920   (exit $ac_status); }; } &&
   9921 	 { ac_try='test -s conftest$ac_exeext'
   9922   { (case "(($ac_try" in
   9923   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9924   *) ac_try_echo=$ac_try;;
   9925 esac
   9926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9927   (eval "$ac_try") 2>&5
   9928   ac_status=$?
   9929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9930   (exit $ac_status); }; }; then
   9931 
   9932 cat >>confdefs.h <<\_ACEOF
   9933 #define HAVE_LIBDL 1
   9934 _ACEOF
   9935  libltdl_cv_func_dlopen="yes"
   9936 else
   9937   echo "$as_me: failed program was:" >&5
   9938 sed 's/^/| /' conftest.$ac_ext >&5
   9939 
   9940 	{ echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
   9941 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
   9942 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
   9943   echo $ECHO_N "(cached) $ECHO_C" >&6
   9944 else
   9945   ac_check_lib_save_LIBS=$LIBS
   9946 LIBS="-lsvld  $LIBS"
   9947 cat >conftest.$ac_ext <<_ACEOF
   9948 /* confdefs.h.  */
   9949 _ACEOF
   9950 cat confdefs.h >>conftest.$ac_ext
   9951 cat >>conftest.$ac_ext <<_ACEOF
   9952 /* end confdefs.h.  */
   9953 
   9954 /* Override any GCC internal prototype to avoid an error.
   9955    Use char because int might match the return type of a GCC
   9956    builtin and then its argument prototype would still apply.  */
   9957 #ifdef __cplusplus
   9958 extern "C"
   9959 #endif
   9960 char dlopen ();
   9961 int
   9962 main ()
   9963 {
   9964 return dlopen ();
   9965   ;
   9966   return 0;
   9967 }
   9968 _ACEOF
   9969 rm -f conftest.$ac_objext conftest$ac_exeext
   9970 if { (ac_try="$ac_link"
   9971 case "(($ac_try" in
   9972   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9973   *) ac_try_echo=$ac_try;;
   9974 esac
   9975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9976   (eval "$ac_link") 2>conftest.er1
   9977   ac_status=$?
   9978   grep -v '^ *+' conftest.er1 >conftest.err
   9979   rm -f conftest.er1
   9980   cat conftest.err >&5
   9981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9982   (exit $ac_status); } &&
   9983 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   9984   { (case "(($ac_try" in
   9985   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9986   *) ac_try_echo=$ac_try;;
   9987 esac
   9988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9989   (eval "$ac_try") 2>&5
   9990   ac_status=$?
   9991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9992   (exit $ac_status); }; } &&
   9993 	 { ac_try='test -s conftest$ac_exeext'
   9994   { (case "(($ac_try" in
   9995   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9996   *) ac_try_echo=$ac_try;;
   9997 esac
   9998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   9999   (eval "$ac_try") 2>&5
   10000   ac_status=$?
   10001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10002   (exit $ac_status); }; }; then
   10003   ac_cv_lib_svld_dlopen=yes
   10004 else
   10005   echo "$as_me: failed program was:" >&5
   10006 sed 's/^/| /' conftest.$ac_ext >&5
   10007 
   10008 	ac_cv_lib_svld_dlopen=no
   10009 fi
   10010 
   10011 rm -f core conftest.err conftest.$ac_objext \
   10012       conftest$ac_exeext conftest.$ac_ext
   10013 LIBS=$ac_check_lib_save_LIBS
   10014 fi
   10015 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
   10016 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
   10017 if test $ac_cv_lib_svld_dlopen = yes; then
   10018 
   10019 cat >>confdefs.h <<\_ACEOF
   10020 #define HAVE_LIBDL 1
   10021 _ACEOF
   10022 
   10023 	            LIBADD_DL="-lsvld" libltdl_cv_func_dlopen="yes"
   10024 else
   10025   { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
   10026 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
   10027 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
   10028   echo $ECHO_N "(cached) $ECHO_C" >&6
   10029 else
   10030   ac_check_lib_save_LIBS=$LIBS
   10031 LIBS="-ldld  $LIBS"
   10032 cat >conftest.$ac_ext <<_ACEOF
   10033 /* confdefs.h.  */
   10034 _ACEOF
   10035 cat confdefs.h >>conftest.$ac_ext
   10036 cat >>conftest.$ac_ext <<_ACEOF
   10037 /* end confdefs.h.  */
   10038 
   10039 /* Override any GCC internal prototype to avoid an error.
   10040    Use char because int might match the return type of a GCC
   10041    builtin and then its argument prototype would still apply.  */
   10042 #ifdef __cplusplus
   10043 extern "C"
   10044 #endif
   10045 char dld_link ();
   10046 int
   10047 main ()
   10048 {
   10049 return dld_link ();
   10050   ;
   10051   return 0;
   10052 }
   10053 _ACEOF
   10054 rm -f conftest.$ac_objext conftest$ac_exeext
   10055 if { (ac_try="$ac_link"
   10056 case "(($ac_try" in
   10057   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10058   *) ac_try_echo=$ac_try;;
   10059 esac
   10060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   10061   (eval "$ac_link") 2>conftest.er1
   10062   ac_status=$?
   10063   grep -v '^ *+' conftest.er1 >conftest.err
   10064   rm -f conftest.er1
   10065   cat conftest.err >&5
   10066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10067   (exit $ac_status); } &&
   10068 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   10069   { (case "(($ac_try" in
   10070   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10071   *) ac_try_echo=$ac_try;;
   10072 esac
   10073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   10074   (eval "$ac_try") 2>&5
   10075   ac_status=$?
   10076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10077   (exit $ac_status); }; } &&
   10078 	 { ac_try='test -s conftest$ac_exeext'
   10079   { (case "(($ac_try" in
   10080   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10081   *) ac_try_echo=$ac_try;;
   10082 esac
   10083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   10084   (eval "$ac_try") 2>&5
   10085   ac_status=$?
   10086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10087   (exit $ac_status); }; }; then
   10088   ac_cv_lib_dld_dld_link=yes
   10089 else
   10090   echo "$as_me: failed program was:" >&5
   10091 sed 's/^/| /' conftest.$ac_ext >&5
   10092 
   10093 	ac_cv_lib_dld_dld_link=no
   10094 fi
   10095 
   10096 rm -f core conftest.err conftest.$ac_objext \
   10097       conftest$ac_exeext conftest.$ac_ext
   10098 LIBS=$ac_check_lib_save_LIBS
   10099 fi
   10100 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
   10101 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
   10102 if test $ac_cv_lib_dld_dld_link = yes; then
   10103 
   10104 cat >>confdefs.h <<\_ACEOF
   10105 #define HAVE_DLD 1
   10106 _ACEOF
   10107 
   10108 	 	LIBADD_DL="$LIBADD_DL -ldld"
   10109 else
   10110   { echo "$as_me:$LINENO: checking for _dyld_func_lookup" >&5
   10111 echo $ECHO_N "checking for _dyld_func_lookup... $ECHO_C" >&6; }
   10112 if test "${ac_cv_func__dyld_func_lookup+set}" = set; then
   10113   echo $ECHO_N "(cached) $ECHO_C" >&6
   10114 else
   10115   cat >conftest.$ac_ext <<_ACEOF
   10116 /* confdefs.h.  */
   10117 _ACEOF
   10118 cat confdefs.h >>conftest.$ac_ext
   10119 cat >>conftest.$ac_ext <<_ACEOF
   10120 /* end confdefs.h.  */
   10121 /* Define _dyld_func_lookup to an innocuous variant, in case <limits.h> declares _dyld_func_lookup.
   10122    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   10123 #define _dyld_func_lookup innocuous__dyld_func_lookup
   10124 
   10125 /* System header to define __stub macros and hopefully few prototypes,
   10126     which can conflict with char _dyld_func_lookup (); below.
   10127     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   10128     <limits.h> exists even on freestanding compilers.  */
   10129 
   10130 #ifdef __STDC__
   10131 # include <limits.h>
   10132 #else
   10133 # include <assert.h>
   10134 #endif
   10135 
   10136 #undef _dyld_func_lookup
   10137 
   10138 /* Override any GCC internal prototype to avoid an error.
   10139    Use char because int might match the return type of a GCC
   10140    builtin and then its argument prototype would still apply.  */
   10141 #ifdef __cplusplus
   10142 extern "C"
   10143 #endif
   10144 char _dyld_func_lookup ();
   10145 /* The GNU C library defines this for functions which it implements
   10146     to always fail with ENOSYS.  Some functions are actually named
   10147     something starting with __ and the normal name is an alias.  */
   10148 #if defined __stub__dyld_func_lookup || defined __stub____dyld_func_lookup
   10149 choke me
   10150 #endif
   10151 
   10152 int
   10153 main ()
   10154 {
   10155 return _dyld_func_lookup ();
   10156   ;
   10157   return 0;
   10158 }
   10159 _ACEOF
   10160 rm -f conftest.$ac_objext conftest$ac_exeext
   10161 if { (ac_try="$ac_link"
   10162 case "(($ac_try" in
   10163   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10164   *) ac_try_echo=$ac_try;;
   10165 esac
   10166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   10167   (eval "$ac_link") 2>conftest.er1
   10168   ac_status=$?
   10169   grep -v '^ *+' conftest.er1 >conftest.err
   10170   rm -f conftest.er1
   10171   cat conftest.err >&5
   10172   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10173   (exit $ac_status); } &&
   10174 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   10175   { (case "(($ac_try" in
   10176   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10177   *) ac_try_echo=$ac_try;;
   10178 esac
   10179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   10180   (eval "$ac_try") 2>&5
   10181   ac_status=$?
   10182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10183   (exit $ac_status); }; } &&
   10184 	 { ac_try='test -s conftest$ac_exeext'
   10185   { (case "(($ac_try" in
   10186   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10187   *) ac_try_echo=$ac_try;;
   10188 esac
   10189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   10190   (eval "$ac_try") 2>&5
   10191   ac_status=$?
   10192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10193   (exit $ac_status); }; }; then
   10194   ac_cv_func__dyld_func_lookup=yes
   10195 else
   10196   echo "$as_me: failed program was:" >&5
   10197 sed 's/^/| /' conftest.$ac_ext >&5
   10198 
   10199 	ac_cv_func__dyld_func_lookup=no
   10200 fi
   10201 
   10202 rm -f core conftest.err conftest.$ac_objext \
   10203       conftest$ac_exeext conftest.$ac_ext
   10204 fi
   10205 { echo "$as_me:$LINENO: result: $ac_cv_func__dyld_func_lookup" >&5
   10206 echo "${ECHO_T}$ac_cv_func__dyld_func_lookup" >&6; }
   10207 if test $ac_cv_func__dyld_func_lookup = yes; then
   10208 
   10209 cat >>confdefs.h <<\_ACEOF
   10210 #define HAVE_DYLD 1
   10211 _ACEOF
   10212 
   10213 fi
   10214 
   10215 
   10216 fi
   10217 
   10218 
   10219 fi
   10220 
   10221 
   10222 fi
   10223 
   10224 rm -f core conftest.err conftest.$ac_objext \
   10225       conftest$ac_exeext conftest.$ac_ext
   10226 
   10227 fi
   10228 
   10229 
   10230 fi
   10231 
   10232 
   10233 fi
   10234 
   10235 
   10236 if test x"$libltdl_cv_func_dlopen" = xyes || test x"$libltdl_cv_lib_dl_dlopen" = xyes
   10237 then
   10238   lt_save_LIBS="$LIBS"
   10239   LIBS="$LIBS $LIBADD_DL"
   10240 
   10241 for ac_func in dlerror
   10242 do
   10243 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
   10244 { echo "$as_me:$LINENO: checking for $ac_func" >&5
   10245 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
   10246 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
   10247   echo $ECHO_N "(cached) $ECHO_C" >&6
   10248 else
   10249   cat >conftest.$ac_ext <<_ACEOF
   10250 /* confdefs.h.  */
   10251 _ACEOF
   10252 cat confdefs.h >>conftest.$ac_ext
   10253 cat >>conftest.$ac_ext <<_ACEOF
   10254 /* end confdefs.h.  */
   10255 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
   10256    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   10257 #define $ac_func innocuous_$ac_func
   10258 
   10259 /* System header to define __stub macros and hopefully few prototypes,
   10260     which can conflict with char $ac_func (); below.
   10261     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   10262     <limits.h> exists even on freestanding compilers.  */
   10263 
   10264 #ifdef __STDC__
   10265 # include <limits.h>
   10266 #else
   10267 # include <assert.h>
   10268 #endif
   10269 
   10270 #undef $ac_func
   10271 
   10272 /* Override any GCC internal prototype to avoid an error.
   10273    Use char because int might match the return type of a GCC
   10274    builtin and then its argument prototype would still apply.  */
   10275 #ifdef __cplusplus
   10276 extern "C"
   10277 #endif
   10278 char $ac_func ();
   10279 /* The GNU C library defines this for functions which it implements
   10280     to always fail with ENOSYS.  Some functions are actually named
   10281     something starting with __ and the normal name is an alias.  */
   10282 #if defined __stub_$ac_func || defined __stub___$ac_func
   10283 choke me
   10284 #endif
   10285 
   10286 int
   10287 main ()
   10288 {
   10289 return $ac_func ();
   10290   ;
   10291   return 0;
   10292 }
   10293 _ACEOF
   10294 rm -f conftest.$ac_objext conftest$ac_exeext
   10295 if { (ac_try="$ac_link"
   10296 case "(($ac_try" in
   10297   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10298   *) ac_try_echo=$ac_try;;
   10299 esac
   10300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   10301   (eval "$ac_link") 2>conftest.er1
   10302   ac_status=$?
   10303   grep -v '^ *+' conftest.er1 >conftest.err
   10304   rm -f conftest.er1
   10305   cat conftest.err >&5
   10306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10307   (exit $ac_status); } &&
   10308 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   10309   { (case "(($ac_try" in
   10310   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10311   *) ac_try_echo=$ac_try;;
   10312 esac
   10313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   10314   (eval "$ac_try") 2>&5
   10315   ac_status=$?
   10316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10317   (exit $ac_status); }; } &&
   10318 	 { ac_try='test -s conftest$ac_exeext'
   10319   { (case "(($ac_try" in
   10320   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10321   *) ac_try_echo=$ac_try;;
   10322 esac
   10323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   10324   (eval "$ac_try") 2>&5
   10325   ac_status=$?
   10326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10327   (exit $ac_status); }; }; then
   10328   eval "$as_ac_var=yes"
   10329 else
   10330   echo "$as_me: failed program was:" >&5
   10331 sed 's/^/| /' conftest.$ac_ext >&5
   10332 
   10333 	eval "$as_ac_var=no"
   10334 fi
   10335 
   10336 rm -f core conftest.err conftest.$ac_objext \
   10337       conftest$ac_exeext conftest.$ac_ext
   10338 fi
   10339 ac_res=`eval echo '${'$as_ac_var'}'`
   10340 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   10341 echo "${ECHO_T}$ac_res" >&6; }
   10342 if test `eval echo '${'$as_ac_var'}'` = yes; then
   10343   cat >>confdefs.h <<_ACEOF
   10344 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
   10345 _ACEOF
   10346 
   10347 fi
   10348 done
   10349 
   10350   LIBS="$lt_save_LIBS"
   10351 fi
   10352 ac_ext=c
   10353 ac_cpp='$CPP $CPPFLAGS'
   10354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   10355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   10356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   10357 
   10358 
   10359 
   10360 { echo "$as_me:$LINENO: checking for _ prefix in compiled symbols" >&5
   10361 echo $ECHO_N "checking for _ prefix in compiled symbols... $ECHO_C" >&6; }
   10362 if test "${ac_cv_sys_symbol_underscore+set}" = set; then
   10363   echo $ECHO_N "(cached) $ECHO_C" >&6
   10364 else
   10365   ac_cv_sys_symbol_underscore=no
   10366   cat > conftest.$ac_ext <<EOF
   10367 void nm_test_func(){}
   10368 int main(){nm_test_func;return 0;}
   10369 EOF
   10370   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   10371   (eval $ac_compile) 2>&5
   10372   ac_status=$?
   10373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10374   (exit $ac_status); }; then
   10375     # Now try to grab the symbols.
   10376     ac_nlist=conftest.nm
   10377     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist\"") >&5
   10378   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) 2>&5
   10379   ac_status=$?
   10380   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10381   (exit $ac_status); } && test -s "$ac_nlist"; then
   10382       # See whether the symbols have a leading underscore.
   10383       if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
   10384         ac_cv_sys_symbol_underscore=yes
   10385       else
   10386         if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
   10387 	  :
   10388         else
   10389 	  echo "configure: cannot find nm_test_func in $ac_nlist" >&5
   10390         fi
   10391       fi
   10392     else
   10393       echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&5
   10394     fi
   10395   else
   10396     echo "configure: failed program was:" >&5
   10397     cat conftest.c >&5
   10398   fi
   10399   rm -rf conftest*
   10400 
   10401 fi
   10402 { echo "$as_me:$LINENO: result: $ac_cv_sys_symbol_underscore" >&5
   10403 echo "${ECHO_T}$ac_cv_sys_symbol_underscore" >&6; }
   10404 
   10405 
   10406 if test x"$ac_cv_sys_symbol_underscore" = xyes; then
   10407   if test x"$libltdl_cv_func_dlopen" = xyes ||
   10408      test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
   10409 	{ echo "$as_me:$LINENO: checking whether we have to add an underscore for dlsym" >&5
   10410 echo $ECHO_N "checking whether we have to add an underscore for dlsym... $ECHO_C" >&6; }
   10411 if test "${libltdl_cv_need_uscore+set}" = set; then
   10412   echo $ECHO_N "(cached) $ECHO_C" >&6
   10413 else
   10414   libltdl_cv_need_uscore=unknown
   10415           save_LIBS="$LIBS"
   10416           LIBS="$LIBS $LIBADD_DL"
   10417 	  if test "$cross_compiling" = yes; then :
   10418   libltdl_cv_need_uscore=cross
   10419 else
   10420   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10421   lt_status=$lt_dlunknown
   10422   cat > conftest.$ac_ext <<EOF
   10423 #line 10423 "configure"
   10424 #include "confdefs.h"
   10425 
   10426 #if HAVE_DLFCN_H
   10427 #include <dlfcn.h>
   10428 #endif
   10429 
   10430 #include <stdio.h>
   10431 
   10432 #ifdef RTLD_GLOBAL
   10433 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10434 #else
   10435 #  ifdef DL_GLOBAL
   10436 #    define LT_DLGLOBAL		DL_GLOBAL
   10437 #  else
   10438 #    define LT_DLGLOBAL		0
   10439 #  endif
   10440 #endif
   10441 
   10442 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10443    find out it does not work in some platform. */
   10444 #ifndef LT_DLLAZY_OR_NOW
   10445 #  ifdef RTLD_LAZY
   10446 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10447 #  else
   10448 #    ifdef DL_LAZY
   10449 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10450 #    else
   10451 #      ifdef RTLD_NOW
   10452 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10453 #      else
   10454 #        ifdef DL_NOW
   10455 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10456 #        else
   10457 #          define LT_DLLAZY_OR_NOW	0
   10458 #        endif
   10459 #      endif
   10460 #    endif
   10461 #  endif
   10462 #endif
   10463 
   10464 #ifdef __cplusplus
   10465 extern "C" void exit (int);
   10466 #endif
   10467 
   10468 void fnord() { int i=42;}
   10469 int main ()
   10470 {
   10471   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10472   int status = $lt_dlunknown;
   10473 
   10474   if (self)
   10475     {
   10476       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10477       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   10478       /* dlclose (self); */
   10479     }
   10480   else
   10481     puts (dlerror ());
   10482 
   10483     exit (status);
   10484 }
   10485 EOF
   10486   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10487   (eval $ac_link) 2>&5
   10488   ac_status=$?
   10489   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10490   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   10491     (./conftest; exit; ) >&5 2>/dev/null
   10492     lt_status=$?
   10493     case x$lt_status in
   10494       x$lt_dlno_uscore) libltdl_cv_need_uscore=no ;;
   10495       x$lt_dlneed_uscore) libltdl_cv_need_uscore=yes ;;
   10496       x$lt_dlunknown|x*)  ;;
   10497     esac
   10498   else :
   10499     # compilation failed
   10500 
   10501   fi
   10502 fi
   10503 rm -fr conftest*
   10504 
   10505 	  LIBS="$save_LIBS"
   10506 
   10507 fi
   10508 { echo "$as_me:$LINENO: result: $libltdl_cv_need_uscore" >&5
   10509 echo "${ECHO_T}$libltdl_cv_need_uscore" >&6; }
   10510   fi
   10511 fi
   10512 
   10513 if test x"$libltdl_cv_need_uscore" = xyes; then
   10514 
   10515 cat >>confdefs.h <<\_ACEOF
   10516 #define NEED_USCORE 1
   10517 _ACEOF
   10518 
   10519 fi
   10520 
   10521 
   10522 { echo "$as_me:$LINENO: checking whether deplibs are loaded by dlopen" >&5
   10523 echo $ECHO_N "checking whether deplibs are loaded by dlopen... $ECHO_C" >&6; }
   10524 if test "${libltdl_cv_sys_dlopen_deplibs+set}" = set; then
   10525   echo $ECHO_N "(cached) $ECHO_C" >&6
   10526 else
   10527   # PORTME does your system automatically load deplibs for dlopen?
   10528   # or its logical equivalent (e.g. shl_load for HP-UX < 11)
   10529   # For now, we just catch OSes we know something about -- in the
   10530   # future, we'll try test this programmatically.
   10531   libltdl_cv_sys_dlopen_deplibs=unknown
   10532   case "$host_os" in
   10533   aix3*|aix4.1.*|aix4.2.*)
   10534     # Unknown whether this is true for these versions of AIX, but
   10535     # we want this `case' here to explicitly catch those versions.
   10536     libltdl_cv_sys_dlopen_deplibs=unknown
   10537     ;;
   10538   aix[45]*)
   10539     libltdl_cv_sys_dlopen_deplibs=yes
   10540     ;;
   10541   darwin*)
   10542     # Assuming the user has installed a libdl from somewhere, this is true
   10543     # If you are looking for one http://www.opendarwin.org/projects/dlcompat
   10544     libltdl_cv_sys_dlopen_deplibs=yes
   10545     ;;
   10546   gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
   10547     # GNU and its variants, using gnu ld.so (Glibc)
   10548     libltdl_cv_sys_dlopen_deplibs=yes
   10549     ;;
   10550   hpux10*|hpux11*)
   10551     libltdl_cv_sys_dlopen_deplibs=yes
   10552     ;;
   10553   interix*)
   10554     libltdl_cv_sys_dlopen_deplibs=yes
   10555     ;;
   10556   irix[12345]*|irix6.[01]*)
   10557     # Catch all versions of IRIX before 6.2, and indicate that we don't
   10558     # know how it worked for any of those versions.
   10559     libltdl_cv_sys_dlopen_deplibs=unknown
   10560     ;;
   10561   irix*)
   10562     # The case above catches anything before 6.2, and it's known that
   10563     # at 6.2 and later dlopen does load deplibs.
   10564     libltdl_cv_sys_dlopen_deplibs=yes
   10565     ;;
   10566   netbsd*)
   10567     libltdl_cv_sys_dlopen_deplibs=yes
   10568     ;;
   10569   openbsd*)
   10570     libltdl_cv_sys_dlopen_deplibs=yes
   10571     ;;
   10572   osf[1234]*)
   10573     # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
   10574     # it did *not* use an RPATH in a shared library to find objects the
   10575     # library depends on, so we explicitly say `no'.
   10576     libltdl_cv_sys_dlopen_deplibs=no
   10577     ;;
   10578   osf5.0|osf5.0a|osf5.1)
   10579     # dlopen *does* load deplibs and with the right loader patch applied
   10580     # it even uses RPATH in a shared library to search for shared objects
   10581     # that the library depends on, but there's no easy way to know if that
   10582     # patch is installed.  Since this is the case, all we can really
   10583     # say is unknown -- it depends on the patch being installed.  If
   10584     # it is, this changes to `yes'.  Without it, it would be `no'.
   10585     libltdl_cv_sys_dlopen_deplibs=unknown
   10586     ;;
   10587   osf*)
   10588     # the two cases above should catch all versions of osf <= 5.1.  Read
   10589     # the comments above for what we know about them.
   10590     # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
   10591     # is used to find them so we can finally say `yes'.
   10592     libltdl_cv_sys_dlopen_deplibs=yes
   10593     ;;
   10594   solaris*)
   10595     libltdl_cv_sys_dlopen_deplibs=yes
   10596     ;;
   10597   sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   10598     libltdl_cv_sys_dlopen_deplibs=yes
   10599     ;;
   10600   esac
   10601 
   10602 fi
   10603 { echo "$as_me:$LINENO: result: $libltdl_cv_sys_dlopen_deplibs" >&5
   10604 echo "${ECHO_T}$libltdl_cv_sys_dlopen_deplibs" >&6; }
   10605 if test "$libltdl_cv_sys_dlopen_deplibs" != yes; then
   10606 
   10607 cat >>confdefs.h <<\_ACEOF
   10608 #define LTDL_DLOPEN_DEPLIBS 1
   10609 _ACEOF
   10610 
   10611 fi
   10612 
   10613 
   10614 for ac_header in argz.h
   10615 do
   10616 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   10617 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   10618   { echo "$as_me:$LINENO: checking for $ac_header" >&5
   10619 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   10620 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   10621   echo $ECHO_N "(cached) $ECHO_C" >&6
   10622 fi
   10623 ac_res=`eval echo '${'$as_ac_Header'}'`
   10624 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   10625 echo "${ECHO_T}$ac_res" >&6; }
   10626 else
   10627   # Is the header compilable?
   10628 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
   10629 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
   10630 cat >conftest.$ac_ext <<_ACEOF
   10631 /* confdefs.h.  */
   10632 _ACEOF
   10633 cat confdefs.h >>conftest.$ac_ext
   10634 cat >>conftest.$ac_ext <<_ACEOF
   10635 /* end confdefs.h.  */
   10636 $ac_includes_default
   10637 #include <$ac_header>
   10638 _ACEOF
   10639 rm -f conftest.$ac_objext
   10640 if { (ac_try="$ac_compile"
   10641 case "(($ac_try" in
   10642   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10643   *) ac_try_echo=$ac_try;;
   10644 esac
   10645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   10646   (eval "$ac_compile") 2>conftest.er1
   10647   ac_status=$?
   10648   grep -v '^ *+' conftest.er1 >conftest.err
   10649   rm -f conftest.er1
   10650   cat conftest.err >&5
   10651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10652   (exit $ac_status); } &&
   10653 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   10654   { (case "(($ac_try" in
   10655   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10656   *) ac_try_echo=$ac_try;;
   10657 esac
   10658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   10659   (eval "$ac_try") 2>&5
   10660   ac_status=$?
   10661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10662   (exit $ac_status); }; } &&
   10663 	 { ac_try='test -s conftest.$ac_objext'
   10664   { (case "(($ac_try" in
   10665   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10666   *) ac_try_echo=$ac_try;;
   10667 esac
   10668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   10669   (eval "$ac_try") 2>&5
   10670   ac_status=$?
   10671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10672   (exit $ac_status); }; }; then
   10673   ac_header_compiler=yes
   10674 else
   10675   echo "$as_me: failed program was:" >&5
   10676 sed 's/^/| /' conftest.$ac_ext >&5
   10677 
   10678 	ac_header_compiler=no
   10679 fi
   10680 
   10681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10682 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   10683 echo "${ECHO_T}$ac_header_compiler" >&6; }
   10684 
   10685 # Is the header present?
   10686 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
   10687 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
   10688 cat >conftest.$ac_ext <<_ACEOF
   10689 /* confdefs.h.  */
   10690 _ACEOF
   10691 cat confdefs.h >>conftest.$ac_ext
   10692 cat >>conftest.$ac_ext <<_ACEOF
   10693 /* end confdefs.h.  */
   10694 #include <$ac_header>
   10695 _ACEOF
   10696 if { (ac_try="$ac_cpp conftest.$ac_ext"
   10697 case "(($ac_try" in
   10698   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10699   *) ac_try_echo=$ac_try;;
   10700 esac
   10701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   10702   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   10703   ac_status=$?
   10704   grep -v '^ *+' conftest.er1 >conftest.err
   10705   rm -f conftest.er1
   10706   cat conftest.err >&5
   10707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10708   (exit $ac_status); } >/dev/null; then
   10709   if test -s conftest.err; then
   10710     ac_cpp_err=$ac_c_preproc_warn_flag
   10711     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   10712   else
   10713     ac_cpp_err=
   10714   fi
   10715 else
   10716   ac_cpp_err=yes
   10717 fi
   10718 if test -z "$ac_cpp_err"; then
   10719   ac_header_preproc=yes
   10720 else
   10721   echo "$as_me: failed program was:" >&5
   10722 sed 's/^/| /' conftest.$ac_ext >&5
   10723 
   10724   ac_header_preproc=no
   10725 fi
   10726 
   10727 rm -f conftest.err conftest.$ac_ext
   10728 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   10729 echo "${ECHO_T}$ac_header_preproc" >&6; }
   10730 
   10731 # So?  What about this header?
   10732 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   10733   yes:no: )
   10734     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   10735 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   10736     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   10737 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   10738     ac_header_preproc=yes
   10739     ;;
   10740   no:yes:* )
   10741     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   10742 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   10743     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   10744 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   10745     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   10746 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   10747     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   10748 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   10749     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   10750 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   10751     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   10752 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   10753     ( cat <<\_ASBOX
   10754 ## ------------------------------ ##
   10755 ## Report this to bugs@yourdomain ##
   10756 ## ------------------------------ ##
   10757 _ASBOX
   10758      ) | sed "s/^/$as_me: WARNING:     /" >&2
   10759     ;;
   10760 esac
   10761 { echo "$as_me:$LINENO: checking for $ac_header" >&5
   10762 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   10763 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   10764   echo $ECHO_N "(cached) $ECHO_C" >&6
   10765 else
   10766   eval "$as_ac_Header=\$ac_header_preproc"
   10767 fi
   10768 ac_res=`eval echo '${'$as_ac_Header'}'`
   10769 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   10770 echo "${ECHO_T}$ac_res" >&6; }
   10771 
   10772 fi
   10773 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   10774   cat >>confdefs.h <<_ACEOF
   10775 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   10776 _ACEOF
   10777 
   10778 fi
   10779 
   10780 done
   10781 
   10782 
   10783 { echo "$as_me:$LINENO: checking for error_t" >&5
   10784 echo $ECHO_N "checking for error_t... $ECHO_C" >&6; }
   10785 if test "${ac_cv_type_error_t+set}" = set; then
   10786   echo $ECHO_N "(cached) $ECHO_C" >&6
   10787 else
   10788   cat >conftest.$ac_ext <<_ACEOF
   10789 /* confdefs.h.  */
   10790 _ACEOF
   10791 cat confdefs.h >>conftest.$ac_ext
   10792 cat >>conftest.$ac_ext <<_ACEOF
   10793 /* end confdefs.h.  */
   10794 #if HAVE_ARGZ_H
   10795 #  include <argz.h>
   10796 #endif
   10797 
   10798 typedef error_t ac__type_new_;
   10799 int
   10800 main ()
   10801 {
   10802 if ((ac__type_new_ *) 0)
   10803   return 0;
   10804 if (sizeof (ac__type_new_))
   10805   return 0;
   10806   ;
   10807   return 0;
   10808 }
   10809 _ACEOF
   10810 rm -f conftest.$ac_objext
   10811 if { (ac_try="$ac_compile"
   10812 case "(($ac_try" in
   10813   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10814   *) ac_try_echo=$ac_try;;
   10815 esac
   10816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   10817   (eval "$ac_compile") 2>conftest.er1
   10818   ac_status=$?
   10819   grep -v '^ *+' conftest.er1 >conftest.err
   10820   rm -f conftest.er1
   10821   cat conftest.err >&5
   10822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10823   (exit $ac_status); } &&
   10824 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   10825   { (case "(($ac_try" in
   10826   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10827   *) ac_try_echo=$ac_try;;
   10828 esac
   10829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   10830   (eval "$ac_try") 2>&5
   10831   ac_status=$?
   10832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10833   (exit $ac_status); }; } &&
   10834 	 { ac_try='test -s conftest.$ac_objext'
   10835   { (case "(($ac_try" in
   10836   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10837   *) ac_try_echo=$ac_try;;
   10838 esac
   10839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   10840   (eval "$ac_try") 2>&5
   10841   ac_status=$?
   10842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10843   (exit $ac_status); }; }; then
   10844   ac_cv_type_error_t=yes
   10845 else
   10846   echo "$as_me: failed program was:" >&5
   10847 sed 's/^/| /' conftest.$ac_ext >&5
   10848 
   10849 	ac_cv_type_error_t=no
   10850 fi
   10851 
   10852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10853 fi
   10854 { echo "$as_me:$LINENO: result: $ac_cv_type_error_t" >&5
   10855 echo "${ECHO_T}$ac_cv_type_error_t" >&6; }
   10856 if test $ac_cv_type_error_t = yes; then
   10857 
   10858 cat >>confdefs.h <<_ACEOF
   10859 #define HAVE_ERROR_T 1
   10860 _ACEOF
   10861 
   10862 
   10863 else
   10864 
   10865 cat >>confdefs.h <<\_ACEOF
   10866 #define error_t int
   10867 _ACEOF
   10868 
   10869 fi
   10870 
   10871 
   10872 
   10873 
   10874 
   10875 
   10876 
   10877 for ac_func in argz_append argz_create_sep argz_insert argz_next argz_stringify
   10878 do
   10879 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
   10880 { echo "$as_me:$LINENO: checking for $ac_func" >&5
   10881 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
   10882 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
   10883   echo $ECHO_N "(cached) $ECHO_C" >&6
   10884 else
   10885   cat >conftest.$ac_ext <<_ACEOF
   10886 /* confdefs.h.  */
   10887 _ACEOF
   10888 cat confdefs.h >>conftest.$ac_ext
   10889 cat >>conftest.$ac_ext <<_ACEOF
   10890 /* end confdefs.h.  */
   10891 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
   10892    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   10893 #define $ac_func innocuous_$ac_func
   10894 
   10895 /* System header to define __stub macros and hopefully few prototypes,
   10896     which can conflict with char $ac_func (); below.
   10897     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   10898     <limits.h> exists even on freestanding compilers.  */
   10899 
   10900 #ifdef __STDC__
   10901 # include <limits.h>
   10902 #else
   10903 # include <assert.h>
   10904 #endif
   10905 
   10906 #undef $ac_func
   10907 
   10908 /* Override any GCC internal prototype to avoid an error.
   10909    Use char because int might match the return type of a GCC
   10910    builtin and then its argument prototype would still apply.  */
   10911 #ifdef __cplusplus
   10912 extern "C"
   10913 #endif
   10914 char $ac_func ();
   10915 /* The GNU C library defines this for functions which it implements
   10916     to always fail with ENOSYS.  Some functions are actually named
   10917     something starting with __ and the normal name is an alias.  */
   10918 #if defined __stub_$ac_func || defined __stub___$ac_func
   10919 choke me
   10920 #endif
   10921 
   10922 int
   10923 main ()
   10924 {
   10925 return $ac_func ();
   10926   ;
   10927   return 0;
   10928 }
   10929 _ACEOF
   10930 rm -f conftest.$ac_objext conftest$ac_exeext
   10931 if { (ac_try="$ac_link"
   10932 case "(($ac_try" in
   10933   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10934   *) ac_try_echo=$ac_try;;
   10935 esac
   10936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   10937   (eval "$ac_link") 2>conftest.er1
   10938   ac_status=$?
   10939   grep -v '^ *+' conftest.er1 >conftest.err
   10940   rm -f conftest.er1
   10941   cat conftest.err >&5
   10942   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10943   (exit $ac_status); } &&
   10944 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   10945   { (case "(($ac_try" in
   10946   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10947   *) ac_try_echo=$ac_try;;
   10948 esac
   10949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   10950   (eval "$ac_try") 2>&5
   10951   ac_status=$?
   10952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10953   (exit $ac_status); }; } &&
   10954 	 { ac_try='test -s conftest$ac_exeext'
   10955   { (case "(($ac_try" in
   10956   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10957   *) ac_try_echo=$ac_try;;
   10958 esac
   10959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   10960   (eval "$ac_try") 2>&5
   10961   ac_status=$?
   10962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10963   (exit $ac_status); }; }; then
   10964   eval "$as_ac_var=yes"
   10965 else
   10966   echo "$as_me: failed program was:" >&5
   10967 sed 's/^/| /' conftest.$ac_ext >&5
   10968 
   10969 	eval "$as_ac_var=no"
   10970 fi
   10971 
   10972 rm -f core conftest.err conftest.$ac_objext \
   10973       conftest$ac_exeext conftest.$ac_ext
   10974 fi
   10975 ac_res=`eval echo '${'$as_ac_var'}'`
   10976 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   10977 echo "${ECHO_T}$ac_res" >&6; }
   10978 if test `eval echo '${'$as_ac_var'}'` = yes; then
   10979   cat >>confdefs.h <<_ACEOF
   10980 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
   10981 _ACEOF
   10982 
   10983 fi
   10984 done
   10985 
   10986 
   10987 
   10988 
   10989 
   10990 
   10991 
   10992 
   10993 
   10994 
   10995 
   10996 
   10997 
   10998 
   10999 
   11000 
   11001 
   11002 
   11003 
   11004 
   11005 
   11006 
   11007 
   11008 
   11009 
   11010 
   11011 
   11012 
   11013 for ac_header in assert.h ctype.h errno.h malloc.h memory.h stdlib.h \
   11014 		  stdio.h unistd.h
   11015 do
   11016 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   11017 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   11018   { echo "$as_me:$LINENO: checking for $ac_header" >&5
   11019 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   11020 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   11021   echo $ECHO_N "(cached) $ECHO_C" >&6
   11022 fi
   11023 ac_res=`eval echo '${'$as_ac_Header'}'`
   11024 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   11025 echo "${ECHO_T}$ac_res" >&6; }
   11026 else
   11027   # Is the header compilable?
   11028 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
   11029 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
   11030 cat >conftest.$ac_ext <<_ACEOF
   11031 /* confdefs.h.  */
   11032 _ACEOF
   11033 cat confdefs.h >>conftest.$ac_ext
   11034 cat >>conftest.$ac_ext <<_ACEOF
   11035 /* end confdefs.h.  */
   11036 $ac_includes_default
   11037 #include <$ac_header>
   11038 _ACEOF
   11039 rm -f conftest.$ac_objext
   11040 if { (ac_try="$ac_compile"
   11041 case "(($ac_try" in
   11042   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11043   *) ac_try_echo=$ac_try;;
   11044 esac
   11045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   11046   (eval "$ac_compile") 2>conftest.er1
   11047   ac_status=$?
   11048   grep -v '^ *+' conftest.er1 >conftest.err
   11049   rm -f conftest.er1
   11050   cat conftest.err >&5
   11051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11052   (exit $ac_status); } &&
   11053 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   11054   { (case "(($ac_try" in
   11055   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11056   *) ac_try_echo=$ac_try;;
   11057 esac
   11058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   11059   (eval "$ac_try") 2>&5
   11060   ac_status=$?
   11061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11062   (exit $ac_status); }; } &&
   11063 	 { ac_try='test -s conftest.$ac_objext'
   11064   { (case "(($ac_try" in
   11065   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11066   *) ac_try_echo=$ac_try;;
   11067 esac
   11068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   11069   (eval "$ac_try") 2>&5
   11070   ac_status=$?
   11071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11072   (exit $ac_status); }; }; then
   11073   ac_header_compiler=yes
   11074 else
   11075   echo "$as_me: failed program was:" >&5
   11076 sed 's/^/| /' conftest.$ac_ext >&5
   11077 
   11078 	ac_header_compiler=no
   11079 fi
   11080 
   11081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11082 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   11083 echo "${ECHO_T}$ac_header_compiler" >&6; }
   11084 
   11085 # Is the header present?
   11086 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
   11087 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
   11088 cat >conftest.$ac_ext <<_ACEOF
   11089 /* confdefs.h.  */
   11090 _ACEOF
   11091 cat confdefs.h >>conftest.$ac_ext
   11092 cat >>conftest.$ac_ext <<_ACEOF
   11093 /* end confdefs.h.  */
   11094 #include <$ac_header>
   11095 _ACEOF
   11096 if { (ac_try="$ac_cpp conftest.$ac_ext"
   11097 case "(($ac_try" in
   11098   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11099   *) ac_try_echo=$ac_try;;
   11100 esac
   11101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   11102   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   11103   ac_status=$?
   11104   grep -v '^ *+' conftest.er1 >conftest.err
   11105   rm -f conftest.er1
   11106   cat conftest.err >&5
   11107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11108   (exit $ac_status); } >/dev/null; then
   11109   if test -s conftest.err; then
   11110     ac_cpp_err=$ac_c_preproc_warn_flag
   11111     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   11112   else
   11113     ac_cpp_err=
   11114   fi
   11115 else
   11116   ac_cpp_err=yes
   11117 fi
   11118 if test -z "$ac_cpp_err"; then
   11119   ac_header_preproc=yes
   11120 else
   11121   echo "$as_me: failed program was:" >&5
   11122 sed 's/^/| /' conftest.$ac_ext >&5
   11123 
   11124   ac_header_preproc=no
   11125 fi
   11126 
   11127 rm -f conftest.err conftest.$ac_ext
   11128 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   11129 echo "${ECHO_T}$ac_header_preproc" >&6; }
   11130 
   11131 # So?  What about this header?
   11132 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   11133   yes:no: )
   11134     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   11135 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   11136     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   11137 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   11138     ac_header_preproc=yes
   11139     ;;
   11140   no:yes:* )
   11141     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   11142 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   11143     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   11144 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   11145     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   11146 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   11147     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   11148 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   11149     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   11150 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   11151     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   11152 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   11153     ( cat <<\_ASBOX
   11154 ## ------------------------------ ##
   11155 ## Report this to bugs@yourdomain ##
   11156 ## ------------------------------ ##
   11157 _ASBOX
   11158      ) | sed "s/^/$as_me: WARNING:     /" >&2
   11159     ;;
   11160 esac
   11161 { echo "$as_me:$LINENO: checking for $ac_header" >&5
   11162 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   11163 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   11164   echo $ECHO_N "(cached) $ECHO_C" >&6
   11165 else
   11166   eval "$as_ac_Header=\$ac_header_preproc"
   11167 fi
   11168 ac_res=`eval echo '${'$as_ac_Header'}'`
   11169 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   11170 echo "${ECHO_T}$ac_res" >&6; }
   11171 
   11172 fi
   11173 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   11174   cat >>confdefs.h <<_ACEOF
   11175 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   11176 _ACEOF
   11177 
   11178 fi
   11179 
   11180 done
   11181 
   11182 
   11183 
   11184 
   11185 
   11186 for ac_header in dl.h sys/dl.h dld.h mach-o/dyld.h
   11187 do
   11188 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   11189 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   11190   { echo "$as_me:$LINENO: checking for $ac_header" >&5
   11191 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   11192 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   11193   echo $ECHO_N "(cached) $ECHO_C" >&6
   11194 fi
   11195 ac_res=`eval echo '${'$as_ac_Header'}'`
   11196 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   11197 echo "${ECHO_T}$ac_res" >&6; }
   11198 else
   11199   # Is the header compilable?
   11200 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
   11201 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
   11202 cat >conftest.$ac_ext <<_ACEOF
   11203 /* confdefs.h.  */
   11204 _ACEOF
   11205 cat confdefs.h >>conftest.$ac_ext
   11206 cat >>conftest.$ac_ext <<_ACEOF
   11207 /* end confdefs.h.  */
   11208 $ac_includes_default
   11209 #include <$ac_header>
   11210 _ACEOF
   11211 rm -f conftest.$ac_objext
   11212 if { (ac_try="$ac_compile"
   11213 case "(($ac_try" in
   11214   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11215   *) ac_try_echo=$ac_try;;
   11216 esac
   11217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   11218   (eval "$ac_compile") 2>conftest.er1
   11219   ac_status=$?
   11220   grep -v '^ *+' conftest.er1 >conftest.err
   11221   rm -f conftest.er1
   11222   cat conftest.err >&5
   11223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11224   (exit $ac_status); } &&
   11225 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   11226   { (case "(($ac_try" in
   11227   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11228   *) ac_try_echo=$ac_try;;
   11229 esac
   11230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   11231   (eval "$ac_try") 2>&5
   11232   ac_status=$?
   11233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11234   (exit $ac_status); }; } &&
   11235 	 { ac_try='test -s conftest.$ac_objext'
   11236   { (case "(($ac_try" in
   11237   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11238   *) ac_try_echo=$ac_try;;
   11239 esac
   11240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   11241   (eval "$ac_try") 2>&5
   11242   ac_status=$?
   11243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11244   (exit $ac_status); }; }; then
   11245   ac_header_compiler=yes
   11246 else
   11247   echo "$as_me: failed program was:" >&5
   11248 sed 's/^/| /' conftest.$ac_ext >&5
   11249 
   11250 	ac_header_compiler=no
   11251 fi
   11252 
   11253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11254 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   11255 echo "${ECHO_T}$ac_header_compiler" >&6; }
   11256 
   11257 # Is the header present?
   11258 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
   11259 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
   11260 cat >conftest.$ac_ext <<_ACEOF
   11261 /* confdefs.h.  */
   11262 _ACEOF
   11263 cat confdefs.h >>conftest.$ac_ext
   11264 cat >>conftest.$ac_ext <<_ACEOF
   11265 /* end confdefs.h.  */
   11266 #include <$ac_header>
   11267 _ACEOF
   11268 if { (ac_try="$ac_cpp conftest.$ac_ext"
   11269 case "(($ac_try" in
   11270   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11271   *) ac_try_echo=$ac_try;;
   11272 esac
   11273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   11274   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   11275   ac_status=$?
   11276   grep -v '^ *+' conftest.er1 >conftest.err
   11277   rm -f conftest.er1
   11278   cat conftest.err >&5
   11279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11280   (exit $ac_status); } >/dev/null; then
   11281   if test -s conftest.err; then
   11282     ac_cpp_err=$ac_c_preproc_warn_flag
   11283     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   11284   else
   11285     ac_cpp_err=
   11286   fi
   11287 else
   11288   ac_cpp_err=yes
   11289 fi
   11290 if test -z "$ac_cpp_err"; then
   11291   ac_header_preproc=yes
   11292 else
   11293   echo "$as_me: failed program was:" >&5
   11294 sed 's/^/| /' conftest.$ac_ext >&5
   11295 
   11296   ac_header_preproc=no
   11297 fi
   11298 
   11299 rm -f conftest.err conftest.$ac_ext
   11300 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   11301 echo "${ECHO_T}$ac_header_preproc" >&6; }
   11302 
   11303 # So?  What about this header?
   11304 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   11305   yes:no: )
   11306     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   11307 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   11308     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   11309 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   11310     ac_header_preproc=yes
   11311     ;;
   11312   no:yes:* )
   11313     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   11314 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   11315     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   11316 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   11317     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   11318 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   11319     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   11320 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   11321     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   11322 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   11323     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   11324 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   11325     ( cat <<\_ASBOX
   11326 ## ------------------------------ ##
   11327 ## Report this to bugs@yourdomain ##
   11328 ## ------------------------------ ##
   11329 _ASBOX
   11330      ) | sed "s/^/$as_me: WARNING:     /" >&2
   11331     ;;
   11332 esac
   11333 { echo "$as_me:$LINENO: checking for $ac_header" >&5
   11334 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   11335 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   11336   echo $ECHO_N "(cached) $ECHO_C" >&6
   11337 else
   11338   eval "$as_ac_Header=\$ac_header_preproc"
   11339 fi
   11340 ac_res=`eval echo '${'$as_ac_Header'}'`
   11341 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   11342 echo "${ECHO_T}$ac_res" >&6; }
   11343 
   11344 fi
   11345 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   11346   cat >>confdefs.h <<_ACEOF
   11347 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   11348 _ACEOF
   11349 
   11350 fi
   11351 
   11352 done
   11353 
   11354 
   11355 
   11356 for ac_header in string.h strings.h
   11357 do
   11358 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   11359 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   11360   { echo "$as_me:$LINENO: checking for $ac_header" >&5
   11361 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   11362 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   11363   echo $ECHO_N "(cached) $ECHO_C" >&6
   11364 fi
   11365 ac_res=`eval echo '${'$as_ac_Header'}'`
   11366 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   11367 echo "${ECHO_T}$ac_res" >&6; }
   11368 else
   11369   # Is the header compilable?
   11370 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
   11371 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
   11372 cat >conftest.$ac_ext <<_ACEOF
   11373 /* confdefs.h.  */
   11374 _ACEOF
   11375 cat confdefs.h >>conftest.$ac_ext
   11376 cat >>conftest.$ac_ext <<_ACEOF
   11377 /* end confdefs.h.  */
   11378 $ac_includes_default
   11379 #include <$ac_header>
   11380 _ACEOF
   11381 rm -f conftest.$ac_objext
   11382 if { (ac_try="$ac_compile"
   11383 case "(($ac_try" in
   11384   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11385   *) ac_try_echo=$ac_try;;
   11386 esac
   11387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   11388   (eval "$ac_compile") 2>conftest.er1
   11389   ac_status=$?
   11390   grep -v '^ *+' conftest.er1 >conftest.err
   11391   rm -f conftest.er1
   11392   cat conftest.err >&5
   11393   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11394   (exit $ac_status); } &&
   11395 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   11396   { (case "(($ac_try" in
   11397   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11398   *) ac_try_echo=$ac_try;;
   11399 esac
   11400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   11401   (eval "$ac_try") 2>&5
   11402   ac_status=$?
   11403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11404   (exit $ac_status); }; } &&
   11405 	 { ac_try='test -s conftest.$ac_objext'
   11406   { (case "(($ac_try" in
   11407   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11408   *) ac_try_echo=$ac_try;;
   11409 esac
   11410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   11411   (eval "$ac_try") 2>&5
   11412   ac_status=$?
   11413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11414   (exit $ac_status); }; }; then
   11415   ac_header_compiler=yes
   11416 else
   11417   echo "$as_me: failed program was:" >&5
   11418 sed 's/^/| /' conftest.$ac_ext >&5
   11419 
   11420 	ac_header_compiler=no
   11421 fi
   11422 
   11423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11424 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   11425 echo "${ECHO_T}$ac_header_compiler" >&6; }
   11426 
   11427 # Is the header present?
   11428 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
   11429 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
   11430 cat >conftest.$ac_ext <<_ACEOF
   11431 /* confdefs.h.  */
   11432 _ACEOF
   11433 cat confdefs.h >>conftest.$ac_ext
   11434 cat >>conftest.$ac_ext <<_ACEOF
   11435 /* end confdefs.h.  */
   11436 #include <$ac_header>
   11437 _ACEOF
   11438 if { (ac_try="$ac_cpp conftest.$ac_ext"
   11439 case "(($ac_try" in
   11440   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11441   *) ac_try_echo=$ac_try;;
   11442 esac
   11443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   11444   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   11445   ac_status=$?
   11446   grep -v '^ *+' conftest.er1 >conftest.err
   11447   rm -f conftest.er1
   11448   cat conftest.err >&5
   11449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11450   (exit $ac_status); } >/dev/null; then
   11451   if test -s conftest.err; then
   11452     ac_cpp_err=$ac_c_preproc_warn_flag
   11453     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   11454   else
   11455     ac_cpp_err=
   11456   fi
   11457 else
   11458   ac_cpp_err=yes
   11459 fi
   11460 if test -z "$ac_cpp_err"; then
   11461   ac_header_preproc=yes
   11462 else
   11463   echo "$as_me: failed program was:" >&5
   11464 sed 's/^/| /' conftest.$ac_ext >&5
   11465 
   11466   ac_header_preproc=no
   11467 fi
   11468 
   11469 rm -f conftest.err conftest.$ac_ext
   11470 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   11471 echo "${ECHO_T}$ac_header_preproc" >&6; }
   11472 
   11473 # So?  What about this header?
   11474 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   11475   yes:no: )
   11476     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   11477 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   11478     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   11479 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   11480     ac_header_preproc=yes
   11481     ;;
   11482   no:yes:* )
   11483     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   11484 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   11485     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   11486 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   11487     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   11488 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   11489     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   11490 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   11491     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   11492 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   11493     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   11494 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   11495     ( cat <<\_ASBOX
   11496 ## ------------------------------ ##
   11497 ## Report this to bugs@yourdomain ##
   11498 ## ------------------------------ ##
   11499 _ASBOX
   11500      ) | sed "s/^/$as_me: WARNING:     /" >&2
   11501     ;;
   11502 esac
   11503 { echo "$as_me:$LINENO: checking for $ac_header" >&5
   11504 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   11505 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   11506   echo $ECHO_N "(cached) $ECHO_C" >&6
   11507 else
   11508   eval "$as_ac_Header=\$ac_header_preproc"
   11509 fi
   11510 ac_res=`eval echo '${'$as_ac_Header'}'`
   11511 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   11512 echo "${ECHO_T}$ac_res" >&6; }
   11513 
   11514 fi
   11515 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   11516   cat >>confdefs.h <<_ACEOF
   11517 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   11518 _ACEOF
   11519  break
   11520 fi
   11521 
   11522 done
   11523 
   11524 
   11525 
   11526 
   11527 for ac_func in strchr index
   11528 do
   11529 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
   11530 { echo "$as_me:$LINENO: checking for $ac_func" >&5
   11531 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
   11532 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
   11533   echo $ECHO_N "(cached) $ECHO_C" >&6
   11534 else
   11535   cat >conftest.$ac_ext <<_ACEOF
   11536 /* confdefs.h.  */
   11537 _ACEOF
   11538 cat confdefs.h >>conftest.$ac_ext
   11539 cat >>conftest.$ac_ext <<_ACEOF
   11540 /* end confdefs.h.  */
   11541 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
   11542    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   11543 #define $ac_func innocuous_$ac_func
   11544 
   11545 /* System header to define __stub macros and hopefully few prototypes,
   11546     which can conflict with char $ac_func (); below.
   11547     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   11548     <limits.h> exists even on freestanding compilers.  */
   11549 
   11550 #ifdef __STDC__
   11551 # include <limits.h>
   11552 #else
   11553 # include <assert.h>
   11554 #endif
   11555 
   11556 #undef $ac_func
   11557 
   11558 /* Override any GCC internal prototype to avoid an error.
   11559    Use char because int might match the return type of a GCC
   11560    builtin and then its argument prototype would still apply.  */
   11561 #ifdef __cplusplus
   11562 extern "C"
   11563 #endif
   11564 char $ac_func ();
   11565 /* The GNU C library defines this for functions which it implements
   11566     to always fail with ENOSYS.  Some functions are actually named
   11567     something starting with __ and the normal name is an alias.  */
   11568 #if defined __stub_$ac_func || defined __stub___$ac_func
   11569 choke me
   11570 #endif
   11571 
   11572 int
   11573 main ()
   11574 {
   11575 return $ac_func ();
   11576   ;
   11577   return 0;
   11578 }
   11579 _ACEOF
   11580 rm -f conftest.$ac_objext conftest$ac_exeext
   11581 if { (ac_try="$ac_link"
   11582 case "(($ac_try" in
   11583   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11584   *) ac_try_echo=$ac_try;;
   11585 esac
   11586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   11587   (eval "$ac_link") 2>conftest.er1
   11588   ac_status=$?
   11589   grep -v '^ *+' conftest.er1 >conftest.err
   11590   rm -f conftest.er1
   11591   cat conftest.err >&5
   11592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11593   (exit $ac_status); } &&
   11594 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   11595   { (case "(($ac_try" in
   11596   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11597   *) ac_try_echo=$ac_try;;
   11598 esac
   11599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   11600   (eval "$ac_try") 2>&5
   11601   ac_status=$?
   11602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11603   (exit $ac_status); }; } &&
   11604 	 { ac_try='test -s conftest$ac_exeext'
   11605   { (case "(($ac_try" in
   11606   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11607   *) ac_try_echo=$ac_try;;
   11608 esac
   11609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   11610   (eval "$ac_try") 2>&5
   11611   ac_status=$?
   11612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11613   (exit $ac_status); }; }; then
   11614   eval "$as_ac_var=yes"
   11615 else
   11616   echo "$as_me: failed program was:" >&5
   11617 sed 's/^/| /' conftest.$ac_ext >&5
   11618 
   11619 	eval "$as_ac_var=no"
   11620 fi
   11621 
   11622 rm -f core conftest.err conftest.$ac_objext \
   11623       conftest$ac_exeext conftest.$ac_ext
   11624 fi
   11625 ac_res=`eval echo '${'$as_ac_var'}'`
   11626 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   11627 echo "${ECHO_T}$ac_res" >&6; }
   11628 if test `eval echo '${'$as_ac_var'}'` = yes; then
   11629   cat >>confdefs.h <<_ACEOF
   11630 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
   11631 _ACEOF
   11632  break
   11633 fi
   11634 done
   11635 
   11636 
   11637 
   11638 for ac_func in strrchr rindex
   11639 do
   11640 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
   11641 { echo "$as_me:$LINENO: checking for $ac_func" >&5
   11642 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
   11643 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
   11644   echo $ECHO_N "(cached) $ECHO_C" >&6
   11645 else
   11646   cat >conftest.$ac_ext <<_ACEOF
   11647 /* confdefs.h.  */
   11648 _ACEOF
   11649 cat confdefs.h >>conftest.$ac_ext
   11650 cat >>conftest.$ac_ext <<_ACEOF
   11651 /* end confdefs.h.  */
   11652 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
   11653    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   11654 #define $ac_func innocuous_$ac_func
   11655 
   11656 /* System header to define __stub macros and hopefully few prototypes,
   11657     which can conflict with char $ac_func (); below.
   11658     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   11659     <limits.h> exists even on freestanding compilers.  */
   11660 
   11661 #ifdef __STDC__
   11662 # include <limits.h>
   11663 #else
   11664 # include <assert.h>
   11665 #endif
   11666 
   11667 #undef $ac_func
   11668 
   11669 /* Override any GCC internal prototype to avoid an error.
   11670    Use char because int might match the return type of a GCC
   11671    builtin and then its argument prototype would still apply.  */
   11672 #ifdef __cplusplus
   11673 extern "C"
   11674 #endif
   11675 char $ac_func ();
   11676 /* The GNU C library defines this for functions which it implements
   11677     to always fail with ENOSYS.  Some functions are actually named
   11678     something starting with __ and the normal name is an alias.  */
   11679 #if defined __stub_$ac_func || defined __stub___$ac_func
   11680 choke me
   11681 #endif
   11682 
   11683 int
   11684 main ()
   11685 {
   11686 return $ac_func ();
   11687   ;
   11688   return 0;
   11689 }
   11690 _ACEOF
   11691 rm -f conftest.$ac_objext conftest$ac_exeext
   11692 if { (ac_try="$ac_link"
   11693 case "(($ac_try" in
   11694   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11695   *) ac_try_echo=$ac_try;;
   11696 esac
   11697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   11698   (eval "$ac_link") 2>conftest.er1
   11699   ac_status=$?
   11700   grep -v '^ *+' conftest.er1 >conftest.err
   11701   rm -f conftest.er1
   11702   cat conftest.err >&5
   11703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11704   (exit $ac_status); } &&
   11705 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   11706   { (case "(($ac_try" in
   11707   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11708   *) ac_try_echo=$ac_try;;
   11709 esac
   11710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   11711   (eval "$ac_try") 2>&5
   11712   ac_status=$?
   11713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11714   (exit $ac_status); }; } &&
   11715 	 { ac_try='test -s conftest$ac_exeext'
   11716   { (case "(($ac_try" in
   11717   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11718   *) ac_try_echo=$ac_try;;
   11719 esac
   11720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   11721   (eval "$ac_try") 2>&5
   11722   ac_status=$?
   11723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11724   (exit $ac_status); }; }; then
   11725   eval "$as_ac_var=yes"
   11726 else
   11727   echo "$as_me: failed program was:" >&5
   11728 sed 's/^/| /' conftest.$ac_ext >&5
   11729 
   11730 	eval "$as_ac_var=no"
   11731 fi
   11732 
   11733 rm -f core conftest.err conftest.$ac_objext \
   11734       conftest$ac_exeext conftest.$ac_ext
   11735 fi
   11736 ac_res=`eval echo '${'$as_ac_var'}'`
   11737 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   11738 echo "${ECHO_T}$ac_res" >&6; }
   11739 if test `eval echo '${'$as_ac_var'}'` = yes; then
   11740   cat >>confdefs.h <<_ACEOF
   11741 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
   11742 _ACEOF
   11743  break
   11744 fi
   11745 done
   11746 
   11747 
   11748 
   11749 for ac_func in memcpy bcopy
   11750 do
   11751 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
   11752 { echo "$as_me:$LINENO: checking for $ac_func" >&5
   11753 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
   11754 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
   11755   echo $ECHO_N "(cached) $ECHO_C" >&6
   11756 else
   11757   cat >conftest.$ac_ext <<_ACEOF
   11758 /* confdefs.h.  */
   11759 _ACEOF
   11760 cat confdefs.h >>conftest.$ac_ext
   11761 cat >>conftest.$ac_ext <<_ACEOF
   11762 /* end confdefs.h.  */
   11763 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
   11764    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   11765 #define $ac_func innocuous_$ac_func
   11766 
   11767 /* System header to define __stub macros and hopefully few prototypes,
   11768     which can conflict with char $ac_func (); below.
   11769     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   11770     <limits.h> exists even on freestanding compilers.  */
   11771 
   11772 #ifdef __STDC__
   11773 # include <limits.h>
   11774 #else
   11775 # include <assert.h>
   11776 #endif
   11777 
   11778 #undef $ac_func
   11779 
   11780 /* Override any GCC internal prototype to avoid an error.
   11781    Use char because int might match the return type of a GCC
   11782    builtin and then its argument prototype would still apply.  */
   11783 #ifdef __cplusplus
   11784 extern "C"
   11785 #endif
   11786 char $ac_func ();
   11787 /* The GNU C library defines this for functions which it implements
   11788     to always fail with ENOSYS.  Some functions are actually named
   11789     something starting with __ and the normal name is an alias.  */
   11790 #if defined __stub_$ac_func || defined __stub___$ac_func
   11791 choke me
   11792 #endif
   11793 
   11794 int
   11795 main ()
   11796 {
   11797 return $ac_func ();
   11798   ;
   11799   return 0;
   11800 }
   11801 _ACEOF
   11802 rm -f conftest.$ac_objext conftest$ac_exeext
   11803 if { (ac_try="$ac_link"
   11804 case "(($ac_try" in
   11805   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11806   *) ac_try_echo=$ac_try;;
   11807 esac
   11808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   11809   (eval "$ac_link") 2>conftest.er1
   11810   ac_status=$?
   11811   grep -v '^ *+' conftest.er1 >conftest.err
   11812   rm -f conftest.er1
   11813   cat conftest.err >&5
   11814   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11815   (exit $ac_status); } &&
   11816 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   11817   { (case "(($ac_try" in
   11818   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11819   *) ac_try_echo=$ac_try;;
   11820 esac
   11821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   11822   (eval "$ac_try") 2>&5
   11823   ac_status=$?
   11824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11825   (exit $ac_status); }; } &&
   11826 	 { ac_try='test -s conftest$ac_exeext'
   11827   { (case "(($ac_try" in
   11828   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11829   *) ac_try_echo=$ac_try;;
   11830 esac
   11831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   11832   (eval "$ac_try") 2>&5
   11833   ac_status=$?
   11834   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11835   (exit $ac_status); }; }; then
   11836   eval "$as_ac_var=yes"
   11837 else
   11838   echo "$as_me: failed program was:" >&5
   11839 sed 's/^/| /' conftest.$ac_ext >&5
   11840 
   11841 	eval "$as_ac_var=no"
   11842 fi
   11843 
   11844 rm -f core conftest.err conftest.$ac_objext \
   11845       conftest$ac_exeext conftest.$ac_ext
   11846 fi
   11847 ac_res=`eval echo '${'$as_ac_var'}'`
   11848 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   11849 echo "${ECHO_T}$ac_res" >&6; }
   11850 if test `eval echo '${'$as_ac_var'}'` = yes; then
   11851   cat >>confdefs.h <<_ACEOF
   11852 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
   11853 _ACEOF
   11854  break
   11855 fi
   11856 done
   11857 
   11858 
   11859 
   11860 for ac_func in memmove strcmp
   11861 do
   11862 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
   11863 { echo "$as_me:$LINENO: checking for $ac_func" >&5
   11864 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
   11865 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
   11866   echo $ECHO_N "(cached) $ECHO_C" >&6
   11867 else
   11868   cat >conftest.$ac_ext <<_ACEOF
   11869 /* confdefs.h.  */
   11870 _ACEOF
   11871 cat confdefs.h >>conftest.$ac_ext
   11872 cat >>conftest.$ac_ext <<_ACEOF
   11873 /* end confdefs.h.  */
   11874 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
   11875    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   11876 #define $ac_func innocuous_$ac_func
   11877 
   11878 /* System header to define __stub macros and hopefully few prototypes,
   11879     which can conflict with char $ac_func (); below.
   11880     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   11881     <limits.h> exists even on freestanding compilers.  */
   11882 
   11883 #ifdef __STDC__
   11884 # include <limits.h>
   11885 #else
   11886 # include <assert.h>
   11887 #endif
   11888 
   11889 #undef $ac_func
   11890 
   11891 /* Override any GCC internal prototype to avoid an error.
   11892    Use char because int might match the return type of a GCC
   11893    builtin and then its argument prototype would still apply.  */
   11894 #ifdef __cplusplus
   11895 extern "C"
   11896 #endif
   11897 char $ac_func ();
   11898 /* The GNU C library defines this for functions which it implements
   11899     to always fail with ENOSYS.  Some functions are actually named
   11900     something starting with __ and the normal name is an alias.  */
   11901 #if defined __stub_$ac_func || defined __stub___$ac_func
   11902 choke me
   11903 #endif
   11904 
   11905 int
   11906 main ()
   11907 {
   11908 return $ac_func ();
   11909   ;
   11910   return 0;
   11911 }
   11912 _ACEOF
   11913 rm -f conftest.$ac_objext conftest$ac_exeext
   11914 if { (ac_try="$ac_link"
   11915 case "(($ac_try" in
   11916   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11917   *) ac_try_echo=$ac_try;;
   11918 esac
   11919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   11920   (eval "$ac_link") 2>conftest.er1
   11921   ac_status=$?
   11922   grep -v '^ *+' conftest.er1 >conftest.err
   11923   rm -f conftest.er1
   11924   cat conftest.err >&5
   11925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11926   (exit $ac_status); } &&
   11927 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   11928   { (case "(($ac_try" in
   11929   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11930   *) ac_try_echo=$ac_try;;
   11931 esac
   11932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   11933   (eval "$ac_try") 2>&5
   11934   ac_status=$?
   11935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11936   (exit $ac_status); }; } &&
   11937 	 { ac_try='test -s conftest$ac_exeext'
   11938   { (case "(($ac_try" in
   11939   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11940   *) ac_try_echo=$ac_try;;
   11941 esac
   11942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   11943   (eval "$ac_try") 2>&5
   11944   ac_status=$?
   11945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11946   (exit $ac_status); }; }; then
   11947   eval "$as_ac_var=yes"
   11948 else
   11949   echo "$as_me: failed program was:" >&5
   11950 sed 's/^/| /' conftest.$ac_ext >&5
   11951 
   11952 	eval "$as_ac_var=no"
   11953 fi
   11954 
   11955 rm -f core conftest.err conftest.$ac_objext \
   11956       conftest$ac_exeext conftest.$ac_ext
   11957 fi
   11958 ac_res=`eval echo '${'$as_ac_var'}'`
   11959 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   11960 echo "${ECHO_T}$ac_res" >&6; }
   11961 if test `eval echo '${'$as_ac_var'}'` = yes; then
   11962   cat >>confdefs.h <<_ACEOF
   11963 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
   11964 _ACEOF
   11965 
   11966 fi
   11967 done
   11968 
   11969 
   11970 
   11971 
   11972 for ac_func in closedir opendir readdir
   11973 do
   11974 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
   11975 { echo "$as_me:$LINENO: checking for $ac_func" >&5
   11976 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
   11977 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
   11978   echo $ECHO_N "(cached) $ECHO_C" >&6
   11979 else
   11980   cat >conftest.$ac_ext <<_ACEOF
   11981 /* confdefs.h.  */
   11982 _ACEOF
   11983 cat confdefs.h >>conftest.$ac_ext
   11984 cat >>conftest.$ac_ext <<_ACEOF
   11985 /* end confdefs.h.  */
   11986 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
   11987    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   11988 #define $ac_func innocuous_$ac_func
   11989 
   11990 /* System header to define __stub macros and hopefully few prototypes,
   11991     which can conflict with char $ac_func (); below.
   11992     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   11993     <limits.h> exists even on freestanding compilers.  */
   11994 
   11995 #ifdef __STDC__
   11996 # include <limits.h>
   11997 #else
   11998 # include <assert.h>
   11999 #endif
   12000 
   12001 #undef $ac_func
   12002 
   12003 /* Override any GCC internal prototype to avoid an error.
   12004    Use char because int might match the return type of a GCC
   12005    builtin and then its argument prototype would still apply.  */
   12006 #ifdef __cplusplus
   12007 extern "C"
   12008 #endif
   12009 char $ac_func ();
   12010 /* The GNU C library defines this for functions which it implements
   12011     to always fail with ENOSYS.  Some functions are actually named
   12012     something starting with __ and the normal name is an alias.  */
   12013 #if defined __stub_$ac_func || defined __stub___$ac_func
   12014 choke me
   12015 #endif
   12016 
   12017 int
   12018 main ()
   12019 {
   12020 return $ac_func ();
   12021   ;
   12022   return 0;
   12023 }
   12024 _ACEOF
   12025 rm -f conftest.$ac_objext conftest$ac_exeext
   12026 if { (ac_try="$ac_link"
   12027 case "(($ac_try" in
   12028   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12029   *) ac_try_echo=$ac_try;;
   12030 esac
   12031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   12032   (eval "$ac_link") 2>conftest.er1
   12033   ac_status=$?
   12034   grep -v '^ *+' conftest.er1 >conftest.err
   12035   rm -f conftest.er1
   12036   cat conftest.err >&5
   12037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12038   (exit $ac_status); } &&
   12039 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   12040   { (case "(($ac_try" in
   12041   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12042   *) ac_try_echo=$ac_try;;
   12043 esac
   12044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   12045   (eval "$ac_try") 2>&5
   12046   ac_status=$?
   12047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12048   (exit $ac_status); }; } &&
   12049 	 { ac_try='test -s conftest$ac_exeext'
   12050   { (case "(($ac_try" in
   12051   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12052   *) ac_try_echo=$ac_try;;
   12053 esac
   12054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   12055   (eval "$ac_try") 2>&5
   12056   ac_status=$?
   12057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12058   (exit $ac_status); }; }; then
   12059   eval "$as_ac_var=yes"
   12060 else
   12061   echo "$as_me: failed program was:" >&5
   12062 sed 's/^/| /' conftest.$ac_ext >&5
   12063 
   12064 	eval "$as_ac_var=no"
   12065 fi
   12066 
   12067 rm -f core conftest.err conftest.$ac_objext \
   12068       conftest$ac_exeext conftest.$ac_ext
   12069 fi
   12070 ac_res=`eval echo '${'$as_ac_var'}'`
   12071 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   12072 echo "${ECHO_T}$ac_res" >&6; }
   12073 if test `eval echo '${'$as_ac_var'}'` = yes; then
   12074   cat >>confdefs.h <<_ACEOF
   12075 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
   12076 _ACEOF
   12077 
   12078 fi
   12079 done
   12080 
   12081 
   12082 
   12083 { echo "$as_me:$LINENO: checking tool compatibility" >&5
   12084 echo $ECHO_N "checking tool compatibility... $ECHO_C" >&6; }
   12085 
   12086 ICC=no
   12087 IXX=no
   12088 case $CC in
   12089   icc*|icpc*)
   12090     ICC=yes
   12091     IXX=yes
   12092     ;;
   12093    *)
   12094     ;;
   12095 esac
   12096 
   12097 if test "$GCC" != "yes" && test "$ICC" != "yes"
   12098 then
   12099   { { echo "$as_me:$LINENO: error: gcc|icc required but not found" >&5
   12100 echo "$as_me: error: gcc|icc required but not found" >&2;}
   12101    { (exit 1); exit 1; }; }
   12102 fi
   12103 
   12104 if test "$GXX" != "yes" && test "$IXX" != "yes"
   12105 then
   12106   { { echo "$as_me:$LINENO: error: g++|clang++|icc required but not found" >&5
   12107 echo "$as_me: error: g++|clang++|icc required but not found" >&2;}
   12108    { (exit 1); exit 1; }; }
   12109 fi
   12110 
   12111 if test "$GCC" = "yes"
   12112 then
   12113   cat >conftest.$ac_ext <<_ACEOF
   12114 #if !defined(__GNUC__) || __GNUC__ < 3
   12115 #error Unsupported GCC version
   12116 #endif
   12117 
   12118 _ACEOF
   12119 rm -f conftest.$ac_objext
   12120 if { (ac_try="$ac_compile"
   12121 case "(($ac_try" in
   12122   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12123   *) ac_try_echo=$ac_try;;
   12124 esac
   12125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   12126   (eval "$ac_compile") 2>conftest.er1
   12127   ac_status=$?
   12128   grep -v '^ *+' conftest.er1 >conftest.err
   12129   rm -f conftest.er1
   12130   cat conftest.err >&5
   12131   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12132   (exit $ac_status); } &&
   12133 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   12134   { (case "(($ac_try" in
   12135   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12136   *) ac_try_echo=$ac_try;;
   12137 esac
   12138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   12139   (eval "$ac_try") 2>&5
   12140   ac_status=$?
   12141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12142   (exit $ac_status); }; } &&
   12143 	 { ac_try='test -s conftest.$ac_objext'
   12144   { (case "(($ac_try" in
   12145   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12146   *) ac_try_echo=$ac_try;;
   12147 esac
   12148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   12149   (eval "$ac_try") 2>&5
   12150   ac_status=$?
   12151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12152   (exit $ac_status); }; }; then
   12153   :
   12154 else
   12155   echo "$as_me: failed program was:" >&5
   12156 sed 's/^/| /' conftest.$ac_ext >&5
   12157 
   12158 	{ { echo "$as_me:$LINENO: error: gcc 3.x required, but you have a lower version" >&5
   12159 echo "$as_me: error: gcc 3.x required, but you have a lower version" >&2;}
   12160    { (exit 1); exit 1; }; }
   12161 fi
   12162 
   12163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12164 fi
   12165 
   12166 if test -z "$llvm_cv_gnu_make_command"
   12167 then
   12168   { { echo "$as_me:$LINENO: error: GNU Make required but not found" >&5
   12169 echo "$as_me: error: GNU Make required but not found" >&2;}
   12170    { (exit 1); exit 1; }; }
   12171 fi
   12172 
   12173 { echo "$as_me:$LINENO: result: ok" >&5
   12174 echo "${ECHO_T}ok" >&6; }
   12175 
   12176 { echo "$as_me:$LINENO: checking optional compiler flags" >&5
   12177 echo $ECHO_N "checking optional compiler flags... $ECHO_C" >&6; }
   12178 NO_VARIADIC_MACROS=`$CXX -Wno-variadic-macros -fsyntax-only -xc /dev/null 2>/dev/null && echo -Wno-variadic-macros`
   12179 
   12180 NO_MISSING_FIELD_INITIALIZERS=`$CXX -Wno-missing-field-initializers -fsyntax-only -xc /dev/null 2>/dev/null && echo -Wno-missing-field-initializers`
   12181 
   12182 { echo "$as_me:$LINENO: result: $NO_VARIADIC_MACROS $NO_MISSING_FIELD_INITIALIZERS" >&5
   12183 echo "${ECHO_T}$NO_VARIADIC_MACROS $NO_MISSING_FIELD_INITIALIZERS" >&6; }
   12184 
   12185 
   12186 
   12187 { echo "$as_me:$LINENO: checking for sin in -lm" >&5
   12188 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6; }
   12189 if test "${ac_cv_lib_m_sin+set}" = set; then
   12190   echo $ECHO_N "(cached) $ECHO_C" >&6
   12191 else
   12192   ac_check_lib_save_LIBS=$LIBS
   12193 LIBS="-lm  $LIBS"
   12194 cat >conftest.$ac_ext <<_ACEOF
   12195 /* confdefs.h.  */
   12196 _ACEOF
   12197 cat confdefs.h >>conftest.$ac_ext
   12198 cat >>conftest.$ac_ext <<_ACEOF
   12199 /* end confdefs.h.  */
   12200 
   12201 /* Override any GCC internal prototype to avoid an error.
   12202    Use char because int might match the return type of a GCC
   12203    builtin and then its argument prototype would still apply.  */
   12204 #ifdef __cplusplus
   12205 extern "C"
   12206 #endif
   12207 char sin ();
   12208 int
   12209 main ()
   12210 {
   12211 return sin ();
   12212   ;
   12213   return 0;
   12214 }
   12215 _ACEOF
   12216 rm -f conftest.$ac_objext conftest$ac_exeext
   12217 if { (ac_try="$ac_link"
   12218 case "(($ac_try" in
   12219   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12220   *) ac_try_echo=$ac_try;;
   12221 esac
   12222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   12223   (eval "$ac_link") 2>conftest.er1
   12224   ac_status=$?
   12225   grep -v '^ *+' conftest.er1 >conftest.err
   12226   rm -f conftest.er1
   12227   cat conftest.err >&5
   12228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12229   (exit $ac_status); } &&
   12230 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   12231   { (case "(($ac_try" in
   12232   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12233   *) ac_try_echo=$ac_try;;
   12234 esac
   12235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   12236   (eval "$ac_try") 2>&5
   12237   ac_status=$?
   12238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12239   (exit $ac_status); }; } &&
   12240 	 { ac_try='test -s conftest$ac_exeext'
   12241   { (case "(($ac_try" in
   12242   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12243   *) ac_try_echo=$ac_try;;
   12244 esac
   12245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   12246   (eval "$ac_try") 2>&5
   12247   ac_status=$?
   12248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12249   (exit $ac_status); }; }; then
   12250   ac_cv_lib_m_sin=yes
   12251 else
   12252   echo "$as_me: failed program was:" >&5
   12253 sed 's/^/| /' conftest.$ac_ext >&5
   12254 
   12255 	ac_cv_lib_m_sin=no
   12256 fi
   12257 
   12258 rm -f core conftest.err conftest.$ac_objext \
   12259       conftest$ac_exeext conftest.$ac_ext
   12260 LIBS=$ac_check_lib_save_LIBS
   12261 fi
   12262 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
   12263 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6; }
   12264 if test $ac_cv_lib_m_sin = yes; then
   12265   cat >>confdefs.h <<_ACEOF
   12266 #define HAVE_LIBM 1
   12267 _ACEOF
   12268 
   12269   LIBS="-lm $LIBS"
   12270 
   12271 fi
   12272 
   12273 if test "$llvm_cv_os_type" = "MingW" ; then
   12274 
   12275 { echo "$as_me:$LINENO: checking for main in -limagehlp" >&5
   12276 echo $ECHO_N "checking for main in -limagehlp... $ECHO_C" >&6; }
   12277 if test "${ac_cv_lib_imagehlp_main+set}" = set; then
   12278   echo $ECHO_N "(cached) $ECHO_C" >&6
   12279 else
   12280   ac_check_lib_save_LIBS=$LIBS
   12281 LIBS="-limagehlp  $LIBS"
   12282 cat >conftest.$ac_ext <<_ACEOF
   12283 /* confdefs.h.  */
   12284 _ACEOF
   12285 cat confdefs.h >>conftest.$ac_ext
   12286 cat >>conftest.$ac_ext <<_ACEOF
   12287 /* end confdefs.h.  */
   12288 
   12289 
   12290 int
   12291 main ()
   12292 {
   12293 return main ();
   12294   ;
   12295   return 0;
   12296 }
   12297 _ACEOF
   12298 rm -f conftest.$ac_objext conftest$ac_exeext
   12299 if { (ac_try="$ac_link"
   12300 case "(($ac_try" in
   12301   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12302   *) ac_try_echo=$ac_try;;
   12303 esac
   12304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   12305   (eval "$ac_link") 2>conftest.er1
   12306   ac_status=$?
   12307   grep -v '^ *+' conftest.er1 >conftest.err
   12308   rm -f conftest.er1
   12309   cat conftest.err >&5
   12310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12311   (exit $ac_status); } &&
   12312 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   12313   { (case "(($ac_try" in
   12314   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12315   *) ac_try_echo=$ac_try;;
   12316 esac
   12317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   12318   (eval "$ac_try") 2>&5
   12319   ac_status=$?
   12320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12321   (exit $ac_status); }; } &&
   12322 	 { ac_try='test -s conftest$ac_exeext'
   12323   { (case "(($ac_try" in
   12324   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12325   *) ac_try_echo=$ac_try;;
   12326 esac
   12327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   12328   (eval "$ac_try") 2>&5
   12329   ac_status=$?
   12330   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12331   (exit $ac_status); }; }; then
   12332   ac_cv_lib_imagehlp_main=yes
   12333 else
   12334   echo "$as_me: failed program was:" >&5
   12335 sed 's/^/| /' conftest.$ac_ext >&5
   12336 
   12337 	ac_cv_lib_imagehlp_main=no
   12338 fi
   12339 
   12340 rm -f core conftest.err conftest.$ac_objext \
   12341       conftest$ac_exeext conftest.$ac_ext
   12342 LIBS=$ac_check_lib_save_LIBS
   12343 fi
   12344 { echo "$as_me:$LINENO: result: $ac_cv_lib_imagehlp_main" >&5
   12345 echo "${ECHO_T}$ac_cv_lib_imagehlp_main" >&6; }
   12346 if test $ac_cv_lib_imagehlp_main = yes; then
   12347   cat >>confdefs.h <<_ACEOF
   12348 #define HAVE_LIBIMAGEHLP 1
   12349 _ACEOF
   12350 
   12351   LIBS="-limagehlp $LIBS"
   12352 
   12353 fi
   12354 
   12355 
   12356 { echo "$as_me:$LINENO: checking for main in -lpsapi" >&5
   12357 echo $ECHO_N "checking for main in -lpsapi... $ECHO_C" >&6; }
   12358 if test "${ac_cv_lib_psapi_main+set}" = set; then
   12359   echo $ECHO_N "(cached) $ECHO_C" >&6
   12360 else
   12361   ac_check_lib_save_LIBS=$LIBS
   12362 LIBS="-lpsapi  $LIBS"
   12363 cat >conftest.$ac_ext <<_ACEOF
   12364 /* confdefs.h.  */
   12365 _ACEOF
   12366 cat confdefs.h >>conftest.$ac_ext
   12367 cat >>conftest.$ac_ext <<_ACEOF
   12368 /* end confdefs.h.  */
   12369 
   12370 
   12371 int
   12372 main ()
   12373 {
   12374 return main ();
   12375   ;
   12376   return 0;
   12377 }
   12378 _ACEOF
   12379 rm -f conftest.$ac_objext conftest$ac_exeext
   12380 if { (ac_try="$ac_link"
   12381 case "(($ac_try" in
   12382   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12383   *) ac_try_echo=$ac_try;;
   12384 esac
   12385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   12386   (eval "$ac_link") 2>conftest.er1
   12387   ac_status=$?
   12388   grep -v '^ *+' conftest.er1 >conftest.err
   12389   rm -f conftest.er1
   12390   cat conftest.err >&5
   12391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12392   (exit $ac_status); } &&
   12393 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   12394   { (case "(($ac_try" in
   12395   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12396   *) ac_try_echo=$ac_try;;
   12397 esac
   12398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   12399   (eval "$ac_try") 2>&5
   12400   ac_status=$?
   12401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12402   (exit $ac_status); }; } &&
   12403 	 { ac_try='test -s conftest$ac_exeext'
   12404   { (case "(($ac_try" in
   12405   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12406   *) ac_try_echo=$ac_try;;
   12407 esac
   12408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   12409   (eval "$ac_try") 2>&5
   12410   ac_status=$?
   12411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12412   (exit $ac_status); }; }; then
   12413   ac_cv_lib_psapi_main=yes
   12414 else
   12415   echo "$as_me: failed program was:" >&5
   12416 sed 's/^/| /' conftest.$ac_ext >&5
   12417 
   12418 	ac_cv_lib_psapi_main=no
   12419 fi
   12420 
   12421 rm -f core conftest.err conftest.$ac_objext \
   12422       conftest$ac_exeext conftest.$ac_ext
   12423 LIBS=$ac_check_lib_save_LIBS
   12424 fi
   12425 { echo "$as_me:$LINENO: result: $ac_cv_lib_psapi_main" >&5
   12426 echo "${ECHO_T}$ac_cv_lib_psapi_main" >&6; }
   12427 if test $ac_cv_lib_psapi_main = yes; then
   12428   cat >>confdefs.h <<_ACEOF
   12429 #define HAVE_LIBPSAPI 1
   12430 _ACEOF
   12431 
   12432   LIBS="-lpsapi $LIBS"
   12433 
   12434 fi
   12435 
   12436 fi
   12437 
   12438 { echo "$as_me:$LINENO: checking for library containing dlopen" >&5
   12439 echo $ECHO_N "checking for library containing dlopen... $ECHO_C" >&6; }
   12440 if test "${ac_cv_search_dlopen+set}" = set; then
   12441   echo $ECHO_N "(cached) $ECHO_C" >&6
   12442 else
   12443   ac_func_search_save_LIBS=$LIBS
   12444 cat >conftest.$ac_ext <<_ACEOF
   12445 /* confdefs.h.  */
   12446 _ACEOF
   12447 cat confdefs.h >>conftest.$ac_ext
   12448 cat >>conftest.$ac_ext <<_ACEOF
   12449 /* end confdefs.h.  */
   12450 
   12451 /* Override any GCC internal prototype to avoid an error.
   12452    Use char because int might match the return type of a GCC
   12453    builtin and then its argument prototype would still apply.  */
   12454 #ifdef __cplusplus
   12455 extern "C"
   12456 #endif
   12457 char dlopen ();
   12458 int
   12459 main ()
   12460 {
   12461 return dlopen ();
   12462   ;
   12463   return 0;
   12464 }
   12465 _ACEOF
   12466 for ac_lib in '' dl; do
   12467   if test -z "$ac_lib"; then
   12468     ac_res="none required"
   12469   else
   12470     ac_res=-l$ac_lib
   12471     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   12472   fi
   12473   rm -f conftest.$ac_objext conftest$ac_exeext
   12474 if { (ac_try="$ac_link"
   12475 case "(($ac_try" in
   12476   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12477   *) ac_try_echo=$ac_try;;
   12478 esac
   12479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   12480   (eval "$ac_link") 2>conftest.er1
   12481   ac_status=$?
   12482   grep -v '^ *+' conftest.er1 >conftest.err
   12483   rm -f conftest.er1
   12484   cat conftest.err >&5
   12485   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12486   (exit $ac_status); } &&
   12487 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   12488   { (case "(($ac_try" in
   12489   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12490   *) ac_try_echo=$ac_try;;
   12491 esac
   12492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   12493   (eval "$ac_try") 2>&5
   12494   ac_status=$?
   12495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12496   (exit $ac_status); }; } &&
   12497 	 { ac_try='test -s conftest$ac_exeext'
   12498   { (case "(($ac_try" in
   12499   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12500   *) ac_try_echo=$ac_try;;
   12501 esac
   12502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   12503   (eval "$ac_try") 2>&5
   12504   ac_status=$?
   12505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12506   (exit $ac_status); }; }; then
   12507   ac_cv_search_dlopen=$ac_res
   12508 else
   12509   echo "$as_me: failed program was:" >&5
   12510 sed 's/^/| /' conftest.$ac_ext >&5
   12511 
   12512 
   12513 fi
   12514 
   12515 rm -f core conftest.err conftest.$ac_objext \
   12516       conftest$ac_exeext
   12517   if test "${ac_cv_search_dlopen+set}" = set; then
   12518   break
   12519 fi
   12520 done
   12521 if test "${ac_cv_search_dlopen+set}" = set; then
   12522   :
   12523 else
   12524   ac_cv_search_dlopen=no
   12525 fi
   12526 rm conftest.$ac_ext
   12527 LIBS=$ac_func_search_save_LIBS
   12528 fi
   12529 { echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5
   12530 echo "${ECHO_T}$ac_cv_search_dlopen" >&6; }
   12531 ac_res=$ac_cv_search_dlopen
   12532 if test "$ac_res" != no; then
   12533   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   12534 
   12535 cat >>confdefs.h <<\_ACEOF
   12536 #define HAVE_DLOPEN 1
   12537 _ACEOF
   12538 
   12539 else
   12540   { echo "$as_me:$LINENO: WARNING: dlopen() not found - disabling plugin support" >&5
   12541 echo "$as_me: WARNING: dlopen() not found - disabling plugin support" >&2;}
   12542 fi
   12543 
   12544 
   12545 if test "$llvm_cv_enable_libffi" = "yes" ; then
   12546   { echo "$as_me:$LINENO: checking for library containing ffi_call" >&5
   12547 echo $ECHO_N "checking for library containing ffi_call... $ECHO_C" >&6; }
   12548 if test "${ac_cv_search_ffi_call+set}" = set; then
   12549   echo $ECHO_N "(cached) $ECHO_C" >&6
   12550 else
   12551   ac_func_search_save_LIBS=$LIBS
   12552 cat >conftest.$ac_ext <<_ACEOF
   12553 /* confdefs.h.  */
   12554 _ACEOF
   12555 cat confdefs.h >>conftest.$ac_ext
   12556 cat >>conftest.$ac_ext <<_ACEOF
   12557 /* end confdefs.h.  */
   12558 
   12559 /* Override any GCC internal prototype to avoid an error.
   12560    Use char because int might match the return type of a GCC
   12561    builtin and then its argument prototype would still apply.  */
   12562 #ifdef __cplusplus
   12563 extern "C"
   12564 #endif
   12565 char ffi_call ();
   12566 int
   12567 main ()
   12568 {
   12569 return ffi_call ();
   12570   ;
   12571   return 0;
   12572 }
   12573 _ACEOF
   12574 for ac_lib in '' ffi; do
   12575   if test -z "$ac_lib"; then
   12576     ac_res="none required"
   12577   else
   12578     ac_res=-l$ac_lib
   12579     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   12580   fi
   12581   rm -f conftest.$ac_objext conftest$ac_exeext
   12582 if { (ac_try="$ac_link"
   12583 case "(($ac_try" in
   12584   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12585   *) ac_try_echo=$ac_try;;
   12586 esac
   12587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   12588   (eval "$ac_link") 2>conftest.er1
   12589   ac_status=$?
   12590   grep -v '^ *+' conftest.er1 >conftest.err
   12591   rm -f conftest.er1
   12592   cat conftest.err >&5
   12593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12594   (exit $ac_status); } &&
   12595 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   12596   { (case "(($ac_try" in
   12597   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12598   *) ac_try_echo=$ac_try;;
   12599 esac
   12600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   12601   (eval "$ac_try") 2>&5
   12602   ac_status=$?
   12603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12604   (exit $ac_status); }; } &&
   12605 	 { ac_try='test -s conftest$ac_exeext'
   12606   { (case "(($ac_try" in
   12607   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12608   *) ac_try_echo=$ac_try;;
   12609 esac
   12610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   12611   (eval "$ac_try") 2>&5
   12612   ac_status=$?
   12613   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12614   (exit $ac_status); }; }; then
   12615   ac_cv_search_ffi_call=$ac_res
   12616 else
   12617   echo "$as_me: failed program was:" >&5
   12618 sed 's/^/| /' conftest.$ac_ext >&5
   12619 
   12620 
   12621 fi
   12622 
   12623 rm -f core conftest.err conftest.$ac_objext \
   12624       conftest$ac_exeext
   12625   if test "${ac_cv_search_ffi_call+set}" = set; then
   12626   break
   12627 fi
   12628 done
   12629 if test "${ac_cv_search_ffi_call+set}" = set; then
   12630   :
   12631 else
   12632   ac_cv_search_ffi_call=no
   12633 fi
   12634 rm conftest.$ac_ext
   12635 LIBS=$ac_func_search_save_LIBS
   12636 fi
   12637 { echo "$as_me:$LINENO: result: $ac_cv_search_ffi_call" >&5
   12638 echo "${ECHO_T}$ac_cv_search_ffi_call" >&6; }
   12639 ac_res=$ac_cv_search_ffi_call
   12640 if test "$ac_res" != no; then
   12641   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   12642 
   12643 cat >>confdefs.h <<\_ACEOF
   12644 #define HAVE_FFI_CALL 1
   12645 _ACEOF
   12646 
   12647 else
   12648   { { echo "$as_me:$LINENO: error: libffi not found - configure without --enable-libffi to compile without it" >&5
   12649 echo "$as_me: error: libffi not found - configure without --enable-libffi to compile without it" >&2;}
   12650    { (exit 1); exit 1; }; }
   12651 fi
   12652 
   12653 fi
   12654 
   12655 { echo "$as_me:$LINENO: checking for library containing mallinfo" >&5
   12656 echo $ECHO_N "checking for library containing mallinfo... $ECHO_C" >&6; }
   12657 if test "${ac_cv_search_mallinfo+set}" = set; then
   12658   echo $ECHO_N "(cached) $ECHO_C" >&6
   12659 else
   12660   ac_func_search_save_LIBS=$LIBS
   12661 cat >conftest.$ac_ext <<_ACEOF
   12662 /* confdefs.h.  */
   12663 _ACEOF
   12664 cat confdefs.h >>conftest.$ac_ext
   12665 cat >>conftest.$ac_ext <<_ACEOF
   12666 /* end confdefs.h.  */
   12667 
   12668 /* Override any GCC internal prototype to avoid an error.
   12669    Use char because int might match the return type of a GCC
   12670    builtin and then its argument prototype would still apply.  */
   12671 #ifdef __cplusplus
   12672 extern "C"
   12673 #endif
   12674 char mallinfo ();
   12675 int
   12676 main ()
   12677 {
   12678 return mallinfo ();
   12679   ;
   12680   return 0;
   12681 }
   12682 _ACEOF
   12683 for ac_lib in '' malloc; do
   12684   if test -z "$ac_lib"; then
   12685     ac_res="none required"
   12686   else
   12687     ac_res=-l$ac_lib
   12688     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   12689   fi
   12690   rm -f conftest.$ac_objext conftest$ac_exeext
   12691 if { (ac_try="$ac_link"
   12692 case "(($ac_try" in
   12693   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12694   *) ac_try_echo=$ac_try;;
   12695 esac
   12696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   12697   (eval "$ac_link") 2>conftest.er1
   12698   ac_status=$?
   12699   grep -v '^ *+' conftest.er1 >conftest.err
   12700   rm -f conftest.er1
   12701   cat conftest.err >&5
   12702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12703   (exit $ac_status); } &&
   12704 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   12705   { (case "(($ac_try" in
   12706   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12707   *) ac_try_echo=$ac_try;;
   12708 esac
   12709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   12710   (eval "$ac_try") 2>&5
   12711   ac_status=$?
   12712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12713   (exit $ac_status); }; } &&
   12714 	 { ac_try='test -s conftest$ac_exeext'
   12715   { (case "(($ac_try" in
   12716   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12717   *) ac_try_echo=$ac_try;;
   12718 esac
   12719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   12720   (eval "$ac_try") 2>&5
   12721   ac_status=$?
   12722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12723   (exit $ac_status); }; }; then
   12724   ac_cv_search_mallinfo=$ac_res
   12725 else
   12726   echo "$as_me: failed program was:" >&5
   12727 sed 's/^/| /' conftest.$ac_ext >&5
   12728 
   12729 
   12730 fi
   12731 
   12732 rm -f core conftest.err conftest.$ac_objext \
   12733       conftest$ac_exeext
   12734   if test "${ac_cv_search_mallinfo+set}" = set; then
   12735   break
   12736 fi
   12737 done
   12738 if test "${ac_cv_search_mallinfo+set}" = set; then
   12739   :
   12740 else
   12741   ac_cv_search_mallinfo=no
   12742 fi
   12743 rm conftest.$ac_ext
   12744 LIBS=$ac_func_search_save_LIBS
   12745 fi
   12746 { echo "$as_me:$LINENO: result: $ac_cv_search_mallinfo" >&5
   12747 echo "${ECHO_T}$ac_cv_search_mallinfo" >&6; }
   12748 ac_res=$ac_cv_search_mallinfo
   12749 if test "$ac_res" != no; then
   12750   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   12751 
   12752 cat >>confdefs.h <<\_ACEOF
   12753 #define HAVE_MALLINFO 1
   12754 _ACEOF
   12755 
   12756 fi
   12757 
   12758 
   12759 if test "$ENABLE_THREADS" -eq 1 && test "$ENABLE_PTHREADS" -eq 1 ; then
   12760 
   12761 { echo "$as_me:$LINENO: checking for pthread_mutex_init in -lpthread" >&5
   12762 echo $ECHO_N "checking for pthread_mutex_init in -lpthread... $ECHO_C" >&6; }
   12763 if test "${ac_cv_lib_pthread_pthread_mutex_init+set}" = set; then
   12764   echo $ECHO_N "(cached) $ECHO_C" >&6
   12765 else
   12766   ac_check_lib_save_LIBS=$LIBS
   12767 LIBS="-lpthread  $LIBS"
   12768 cat >conftest.$ac_ext <<_ACEOF
   12769 /* confdefs.h.  */
   12770 _ACEOF
   12771 cat confdefs.h >>conftest.$ac_ext
   12772 cat >>conftest.$ac_ext <<_ACEOF
   12773 /* end confdefs.h.  */
   12774 
   12775 /* Override any GCC internal prototype to avoid an error.
   12776    Use char because int might match the return type of a GCC
   12777    builtin and then its argument prototype would still apply.  */
   12778 #ifdef __cplusplus
   12779 extern "C"
   12780 #endif
   12781 char pthread_mutex_init ();
   12782 int
   12783 main ()
   12784 {
   12785 return pthread_mutex_init ();
   12786   ;
   12787   return 0;
   12788 }
   12789 _ACEOF
   12790 rm -f conftest.$ac_objext conftest$ac_exeext
   12791 if { (ac_try="$ac_link"
   12792 case "(($ac_try" in
   12793   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12794   *) ac_try_echo=$ac_try;;
   12795 esac
   12796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   12797   (eval "$ac_link") 2>conftest.er1
   12798   ac_status=$?
   12799   grep -v '^ *+' conftest.er1 >conftest.err
   12800   rm -f conftest.er1
   12801   cat conftest.err >&5
   12802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12803   (exit $ac_status); } &&
   12804 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   12805   { (case "(($ac_try" in
   12806   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12807   *) ac_try_echo=$ac_try;;
   12808 esac
   12809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   12810   (eval "$ac_try") 2>&5
   12811   ac_status=$?
   12812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12813   (exit $ac_status); }; } &&
   12814 	 { ac_try='test -s conftest$ac_exeext'
   12815   { (case "(($ac_try" in
   12816   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12817   *) ac_try_echo=$ac_try;;
   12818 esac
   12819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   12820   (eval "$ac_try") 2>&5
   12821   ac_status=$?
   12822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12823   (exit $ac_status); }; }; then
   12824   ac_cv_lib_pthread_pthread_mutex_init=yes
   12825 else
   12826   echo "$as_me: failed program was:" >&5
   12827 sed 's/^/| /' conftest.$ac_ext >&5
   12828 
   12829 	ac_cv_lib_pthread_pthread_mutex_init=no
   12830 fi
   12831 
   12832 rm -f core conftest.err conftest.$ac_objext \
   12833       conftest$ac_exeext conftest.$ac_ext
   12834 LIBS=$ac_check_lib_save_LIBS
   12835 fi
   12836 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_mutex_init" >&5
   12837 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_mutex_init" >&6; }
   12838 if test $ac_cv_lib_pthread_pthread_mutex_init = yes; then
   12839   cat >>confdefs.h <<_ACEOF
   12840 #define HAVE_LIBPTHREAD 1
   12841 _ACEOF
   12842 
   12843   LIBS="-lpthread $LIBS"
   12844 
   12845 fi
   12846 
   12847   { echo "$as_me:$LINENO: checking for library containing pthread_mutex_lock" >&5
   12848 echo $ECHO_N "checking for library containing pthread_mutex_lock... $ECHO_C" >&6; }
   12849 if test "${ac_cv_search_pthread_mutex_lock+set}" = set; then
   12850   echo $ECHO_N "(cached) $ECHO_C" >&6
   12851 else
   12852   ac_func_search_save_LIBS=$LIBS
   12853 cat >conftest.$ac_ext <<_ACEOF
   12854 /* confdefs.h.  */
   12855 _ACEOF
   12856 cat confdefs.h >>conftest.$ac_ext
   12857 cat >>conftest.$ac_ext <<_ACEOF
   12858 /* end confdefs.h.  */
   12859 
   12860 /* Override any GCC internal prototype to avoid an error.
   12861    Use char because int might match the return type of a GCC
   12862    builtin and then its argument prototype would still apply.  */
   12863 #ifdef __cplusplus
   12864 extern "C"
   12865 #endif
   12866 char pthread_mutex_lock ();
   12867 int
   12868 main ()
   12869 {
   12870 return pthread_mutex_lock ();
   12871   ;
   12872   return 0;
   12873 }
   12874 _ACEOF
   12875 for ac_lib in '' pthread; do
   12876   if test -z "$ac_lib"; then
   12877     ac_res="none required"
   12878   else
   12879     ac_res=-l$ac_lib
   12880     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   12881   fi
   12882   rm -f conftest.$ac_objext conftest$ac_exeext
   12883 if { (ac_try="$ac_link"
   12884 case "(($ac_try" in
   12885   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12886   *) ac_try_echo=$ac_try;;
   12887 esac
   12888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   12889   (eval "$ac_link") 2>conftest.er1
   12890   ac_status=$?
   12891   grep -v '^ *+' conftest.er1 >conftest.err
   12892   rm -f conftest.er1
   12893   cat conftest.err >&5
   12894   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12895   (exit $ac_status); } &&
   12896 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   12897   { (case "(($ac_try" in
   12898   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12899   *) ac_try_echo=$ac_try;;
   12900 esac
   12901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   12902   (eval "$ac_try") 2>&5
   12903   ac_status=$?
   12904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12905   (exit $ac_status); }; } &&
   12906 	 { ac_try='test -s conftest$ac_exeext'
   12907   { (case "(($ac_try" in
   12908   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12909   *) ac_try_echo=$ac_try;;
   12910 esac
   12911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   12912   (eval "$ac_try") 2>&5
   12913   ac_status=$?
   12914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12915   (exit $ac_status); }; }; then
   12916   ac_cv_search_pthread_mutex_lock=$ac_res
   12917 else
   12918   echo "$as_me: failed program was:" >&5
   12919 sed 's/^/| /' conftest.$ac_ext >&5
   12920 
   12921 
   12922 fi
   12923 
   12924 rm -f core conftest.err conftest.$ac_objext \
   12925       conftest$ac_exeext
   12926   if test "${ac_cv_search_pthread_mutex_lock+set}" = set; then
   12927   break
   12928 fi
   12929 done
   12930 if test "${ac_cv_search_pthread_mutex_lock+set}" = set; then
   12931   :
   12932 else
   12933   ac_cv_search_pthread_mutex_lock=no
   12934 fi
   12935 rm conftest.$ac_ext
   12936 LIBS=$ac_func_search_save_LIBS
   12937 fi
   12938 { echo "$as_me:$LINENO: result: $ac_cv_search_pthread_mutex_lock" >&5
   12939 echo "${ECHO_T}$ac_cv_search_pthread_mutex_lock" >&6; }
   12940 ac_res=$ac_cv_search_pthread_mutex_lock
   12941 if test "$ac_res" != no; then
   12942   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   12943 
   12944 cat >>confdefs.h <<\_ACEOF
   12945 #define HAVE_PTHREAD_MUTEX_LOCK 1
   12946 _ACEOF
   12947 
   12948 fi
   12949 
   12950   { echo "$as_me:$LINENO: checking for library containing pthread_rwlock_init" >&5
   12951 echo $ECHO_N "checking for library containing pthread_rwlock_init... $ECHO_C" >&6; }
   12952 if test "${ac_cv_search_pthread_rwlock_init+set}" = set; then
   12953   echo $ECHO_N "(cached) $ECHO_C" >&6
   12954 else
   12955   ac_func_search_save_LIBS=$LIBS
   12956 cat >conftest.$ac_ext <<_ACEOF
   12957 /* confdefs.h.  */
   12958 _ACEOF
   12959 cat confdefs.h >>conftest.$ac_ext
   12960 cat >>conftest.$ac_ext <<_ACEOF
   12961 /* end confdefs.h.  */
   12962 
   12963 /* Override any GCC internal prototype to avoid an error.
   12964    Use char because int might match the return type of a GCC
   12965    builtin and then its argument prototype would still apply.  */
   12966 #ifdef __cplusplus
   12967 extern "C"
   12968 #endif
   12969 char pthread_rwlock_init ();
   12970 int
   12971 main ()
   12972 {
   12973 return pthread_rwlock_init ();
   12974   ;
   12975   return 0;
   12976 }
   12977 _ACEOF
   12978 for ac_lib in '' pthread; do
   12979   if test -z "$ac_lib"; then
   12980     ac_res="none required"
   12981   else
   12982     ac_res=-l$ac_lib
   12983     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   12984   fi
   12985   rm -f conftest.$ac_objext conftest$ac_exeext
   12986 if { (ac_try="$ac_link"
   12987 case "(($ac_try" in
   12988   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12989   *) ac_try_echo=$ac_try;;
   12990 esac
   12991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   12992   (eval "$ac_link") 2>conftest.er1
   12993   ac_status=$?
   12994   grep -v '^ *+' conftest.er1 >conftest.err
   12995   rm -f conftest.er1
   12996   cat conftest.err >&5
   12997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12998   (exit $ac_status); } &&
   12999 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   13000   { (case "(($ac_try" in
   13001   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   13002   *) ac_try_echo=$ac_try;;
   13003 esac
   13004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   13005   (eval "$ac_try") 2>&5
   13006   ac_status=$?
   13007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13008   (exit $ac_status); }; } &&
   13009 	 { ac_try='test -s conftest$ac_exeext'
   13010   { (case "(($ac_try" in
   13011   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   13012   *) ac_try_echo=$ac_try;;
   13013 esac
   13014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   13015   (eval "$ac_try") 2>&5
   13016   ac_status=$?
   13017   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13018   (exit $ac_status); }; }; then
   13019   ac_cv_search_pthread_rwlock_init=$ac_res
   13020 else
   13021   echo "$as_me: failed program was:" >&5
   13022 sed 's/^/| /' conftest.$ac_ext >&5
   13023 
   13024 
   13025 fi
   13026 
   13027 rm -f core conftest.err conftest.$ac_objext \
   13028       conftest$ac_exeext
   13029   if test "${ac_cv_search_pthread_rwlock_init+set}" = set; then
   13030   break
   13031 fi
   13032 done
   13033 if test "${ac_cv_search_pthread_rwlock_init+set}" = set; then
   13034   :
   13035 else
   13036   ac_cv_search_pthread_rwlock_init=no
   13037 fi
   13038 rm conftest.$ac_ext
   13039 LIBS=$ac_func_search_save_LIBS
   13040 fi
   13041 { echo "$as_me:$LINENO: result: $ac_cv_search_pthread_rwlock_init" >&5
   13042 echo "${ECHO_T}$ac_cv_search_pthread_rwlock_init" >&6; }
   13043 ac_res=$ac_cv_search_pthread_rwlock_init
   13044 if test "$ac_res" != no; then
   13045   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   13046 
   13047 cat >>confdefs.h <<\_ACEOF
   13048 #define HAVE_PTHREAD_RWLOCK_INIT 1
   13049 _ACEOF
   13050 
   13051 fi
   13052 
   13053   { echo "$as_me:$LINENO: checking for library containing pthread_getspecific" >&5
   13054 echo $ECHO_N "checking for library containing pthread_getspecific... $ECHO_C" >&6; }
   13055 if test "${ac_cv_search_pthread_getspecific+set}" = set; then
   13056   echo $ECHO_N "(cached) $ECHO_C" >&6
   13057 else
   13058   ac_func_search_save_LIBS=$LIBS
   13059 cat >conftest.$ac_ext <<_ACEOF
   13060 /* confdefs.h.  */
   13061 _ACEOF
   13062 cat confdefs.h >>conftest.$ac_ext
   13063 cat >>conftest.$ac_ext <<_ACEOF
   13064 /* end confdefs.h.  */
   13065 
   13066 /* Override any GCC internal prototype to avoid an error.
   13067    Use char because int might match the return type of a GCC
   13068    builtin and then its argument prototype would still apply.  */
   13069 #ifdef __cplusplus
   13070 extern "C"
   13071 #endif
   13072 char pthread_getspecific ();
   13073 int
   13074 main ()
   13075 {
   13076 return pthread_getspecific ();
   13077   ;
   13078   return 0;
   13079 }
   13080 _ACEOF
   13081 for ac_lib in '' pthread; do
   13082   if test -z "$ac_lib"; then
   13083     ac_res="none required"
   13084   else
   13085     ac_res=-l$ac_lib
   13086     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   13087   fi
   13088   rm -f conftest.$ac_objext conftest$ac_exeext
   13089 if { (ac_try="$ac_link"
   13090 case "(($ac_try" in
   13091   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   13092   *) ac_try_echo=$ac_try;;
   13093 esac
   13094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   13095   (eval "$ac_link") 2>conftest.er1
   13096   ac_status=$?
   13097   grep -v '^ *+' conftest.er1 >conftest.err
   13098   rm -f conftest.er1
   13099   cat conftest.err >&5
   13100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13101   (exit $ac_status); } &&
   13102 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   13103   { (case "(($ac_try" in
   13104   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   13105   *) ac_try_echo=$ac_try;;
   13106 esac
   13107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   13108   (eval "$ac_try") 2>&5
   13109   ac_status=$?
   13110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13111   (exit $ac_status); }; } &&
   13112 	 { ac_try='test -s conftest$ac_exeext'
   13113   { (case "(($ac_try" in
   13114   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   13115   *) ac_try_echo=$ac_try;;
   13116 esac
   13117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   13118   (eval "$ac_try") 2>&5
   13119   ac_status=$?
   13120   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13121   (exit $ac_status); }; }; then
   13122   ac_cv_search_pthread_getspecific=$ac_res
   13123 else
   13124   echo "$as_me: failed program was:" >&5
   13125 sed 's/^/| /' conftest.$ac_ext >&5
   13126 
   13127 
   13128 fi
   13129 
   13130 rm -f core conftest.err conftest.$ac_objext \
   13131       conftest$ac_exeext
   13132   if test "${ac_cv_search_pthread_getspecific+set}" = set; then
   13133   break
   13134 fi
   13135 done
   13136 if test "${ac_cv_search_pthread_getspecific+set}" = set; then
   13137   :
   13138 else
   13139   ac_cv_search_pthread_getspecific=no
   13140 fi
   13141 rm conftest.$ac_ext
   13142 LIBS=$ac_func_search_save_LIBS
   13143 fi
   13144 { echo "$as_me:$LINENO: result: $ac_cv_search_pthread_getspecific" >&5
   13145 echo "${ECHO_T}$ac_cv_search_pthread_getspecific" >&6; }
   13146 ac_res=$ac_cv_search_pthread_getspecific
   13147 if test "$ac_res" != no; then
   13148   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   13149 
   13150 cat >>confdefs.h <<\_ACEOF
   13151 #define HAVE_PTHREAD_GETSPECIFIC 1
   13152 _ACEOF
   13153 
   13154 fi
   13155 
   13156 fi
   13157 
   13158 
   13159 # Check whether --with-udis86 was given.
   13160 if test "${with_udis86+set}" = set; then
   13161   withval=$with_udis86;
   13162       USE_UDIS86=1
   13163 
   13164       case "$withval" in
   13165         /usr/lib|yes) ;;
   13166         *) LDFLAGS="$LDFLAGS -L${withval}" ;;
   13167       esac
   13168 
   13169 { echo "$as_me:$LINENO: checking for ud_init in -ludis86" >&5
   13170 echo $ECHO_N "checking for ud_init in -ludis86... $ECHO_C" >&6; }
   13171 if test "${ac_cv_lib_udis86_ud_init+set}" = set; then
   13172   echo $ECHO_N "(cached) $ECHO_C" >&6
   13173 else
   13174   ac_check_lib_save_LIBS=$LIBS
   13175 LIBS="-ludis86  $LIBS"
   13176 cat >conftest.$ac_ext <<_ACEOF
   13177 /* confdefs.h.  */
   13178 _ACEOF
   13179 cat confdefs.h >>conftest.$ac_ext
   13180 cat >>conftest.$ac_ext <<_ACEOF
   13181 /* end confdefs.h.  */
   13182 
   13183 /* Override any GCC internal prototype to avoid an error.
   13184    Use char because int might match the return type of a GCC
   13185    builtin and then its argument prototype would still apply.  */
   13186 #ifdef __cplusplus
   13187 extern "C"
   13188 #endif
   13189 char ud_init ();
   13190 int
   13191 main ()
   13192 {
   13193 return ud_init ();
   13194   ;
   13195   return 0;
   13196 }
   13197 _ACEOF
   13198 rm -f conftest.$ac_objext conftest$ac_exeext
   13199 if { (ac_try="$ac_link"
   13200 case "(($ac_try" in
   13201   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   13202   *) ac_try_echo=$ac_try;;
   13203 esac
   13204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   13205   (eval "$ac_link") 2>conftest.er1
   13206   ac_status=$?
   13207   grep -v '^ *+' conftest.er1 >conftest.err
   13208   rm -f conftest.er1
   13209   cat conftest.err >&5
   13210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13211   (exit $ac_status); } &&
   13212 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   13213   { (case "(($ac_try" in
   13214   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   13215   *) ac_try_echo=$ac_try;;
   13216 esac
   13217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   13218   (eval "$ac_try") 2>&5
   13219   ac_status=$?
   13220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13221   (exit $ac_status); }; } &&
   13222 	 { ac_try='test -s conftest$ac_exeext'
   13223   { (case "(($ac_try" in
   13224   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   13225   *) ac_try_echo=$ac_try;;
   13226 esac
   13227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   13228   (eval "$ac_try") 2>&5
   13229   ac_status=$?
   13230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13231   (exit $ac_status); }; }; then
   13232   ac_cv_lib_udis86_ud_init=yes
   13233 else
   13234   echo "$as_me: failed program was:" >&5
   13235 sed 's/^/| /' conftest.$ac_ext >&5
   13236 
   13237 	ac_cv_lib_udis86_ud_init=no
   13238 fi
   13239 
   13240 rm -f core conftest.err conftest.$ac_objext \
   13241       conftest$ac_exeext conftest.$ac_ext
   13242 LIBS=$ac_check_lib_save_LIBS
   13243 fi
   13244 { echo "$as_me:$LINENO: result: $ac_cv_lib_udis86_ud_init" >&5
   13245 echo "${ECHO_T}$ac_cv_lib_udis86_ud_init" >&6; }
   13246 if test $ac_cv_lib_udis86_ud_init = yes; then
   13247   cat >>confdefs.h <<_ACEOF
   13248 #define HAVE_LIBUDIS86 1
   13249 _ACEOF
   13250 
   13251   LIBS="-ludis86 $LIBS"
   13252 
   13253 else
   13254 
   13255         echo "Error! You need to have libudis86 around."
   13256         exit -1
   13257 
   13258 fi
   13259 
   13260 
   13261 else
   13262   USE_UDIS86=0
   13263 
   13264 fi
   13265 
   13266 
   13267 cat >>confdefs.h <<_ACEOF
   13268 #define USE_UDIS86 $USE_UDIS86
   13269 _ACEOF
   13270 
   13271 
   13272 
   13273 # Check whether --with-oprofile was given.
   13274 if test "${with_oprofile+set}" = set; then
   13275   withval=$with_oprofile;
   13276       USE_OPROFILE=1
   13277 
   13278       case "$withval" in
   13279         /usr|yes) llvm_cv_oppath=/usr/lib/oprofile ;;
   13280         no) llvm_cv_oppath=
   13281             USE_OPROFILE=0
   13282  ;;
   13283         *) llvm_cv_oppath="${withval}/lib/oprofile"
   13284            CPPFLAGS="-I${withval}/include";;
   13285       esac
   13286       if test -n "$llvm_cv_oppath" ; then
   13287         LIBS="$LIBS -L${llvm_cv_oppath} -Wl,-rpath,${llvm_cv_oppath}"
   13288                                         { echo "$as_me:$LINENO: checking for library containing bfd_init" >&5
   13289 echo $ECHO_N "checking for library containing bfd_init... $ECHO_C" >&6; }
   13290 if test "${ac_cv_search_bfd_init+set}" = set; then
   13291   echo $ECHO_N "(cached) $ECHO_C" >&6
   13292 else
   13293   ac_func_search_save_LIBS=$LIBS
   13294 cat >conftest.$ac_ext <<_ACEOF
   13295 /* confdefs.h.  */
   13296 _ACEOF
   13297 cat confdefs.h >>conftest.$ac_ext
   13298 cat >>conftest.$ac_ext <<_ACEOF
   13299 /* end confdefs.h.  */
   13300 
   13301 /* Override any GCC internal prototype to avoid an error.
   13302    Use char because int might match the return type of a GCC
   13303    builtin and then its argument prototype would still apply.  */
   13304 #ifdef __cplusplus
   13305 extern "C"
   13306 #endif
   13307 char bfd_init ();
   13308 int
   13309 main ()
   13310 {
   13311 return bfd_init ();
   13312   ;
   13313   return 0;
   13314 }
   13315 _ACEOF
   13316 for ac_lib in '' bfd; do
   13317   if test -z "$ac_lib"; then
   13318     ac_res="none required"
   13319   else
   13320     ac_res=-l$ac_lib
   13321     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   13322   fi
   13323   rm -f conftest.$ac_objext conftest$ac_exeext
   13324 if { (ac_try="$ac_link"
   13325 case "(($ac_try" in
   13326   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   13327   *) ac_try_echo=$ac_try;;
   13328 esac
   13329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   13330   (eval "$ac_link") 2>conftest.er1
   13331   ac_status=$?
   13332   grep -v '^ *+' conftest.er1 >conftest.err
   13333   rm -f conftest.er1
   13334   cat conftest.err >&5
   13335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13336   (exit $ac_status); } &&
   13337 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   13338   { (case "(($ac_try" in
   13339   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   13340   *) ac_try_echo=$ac_try;;
   13341 esac
   13342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   13343   (eval "$ac_try") 2>&5
   13344   ac_status=$?
   13345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13346   (exit $ac_status); }; } &&
   13347 	 { ac_try='test -s conftest$ac_exeext'
   13348   { (case "(($ac_try" in
   13349   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   13350   *) ac_try_echo=$ac_try;;
   13351 esac
   13352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   13353   (eval "$ac_try") 2>&5
   13354   ac_status=$?
   13355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13356   (exit $ac_status); }; }; then
   13357   ac_cv_search_bfd_init=$ac_res
   13358 else
   13359   echo "$as_me: failed program was:" >&5
   13360 sed 's/^/| /' conftest.$ac_ext >&5
   13361 
   13362 
   13363 fi
   13364 
   13365 rm -f core conftest.err conftest.$ac_objext \
   13366       conftest$ac_exeext
   13367   if test "${ac_cv_search_bfd_init+set}" = set; then
   13368   break
   13369 fi
   13370 done
   13371 if test "${ac_cv_search_bfd_init+set}" = set; then
   13372   :
   13373 else
   13374   ac_cv_search_bfd_init=no
   13375 fi
   13376 rm conftest.$ac_ext
   13377 LIBS=$ac_func_search_save_LIBS
   13378 fi
   13379 { echo "$as_me:$LINENO: result: $ac_cv_search_bfd_init" >&5
   13380 echo "${ECHO_T}$ac_cv_search_bfd_init" >&6; }
   13381 ac_res=$ac_cv_search_bfd_init
   13382 if test "$ac_res" != no; then
   13383   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   13384 
   13385 fi
   13386 
   13387         { echo "$as_me:$LINENO: checking for library containing op_open_agent" >&5
   13388 echo $ECHO_N "checking for library containing op_open_agent... $ECHO_C" >&6; }
   13389 if test "${ac_cv_search_op_open_agent+set}" = set; then
   13390   echo $ECHO_N "(cached) $ECHO_C" >&6
   13391 else
   13392   ac_func_search_save_LIBS=$LIBS
   13393 cat >conftest.$ac_ext <<_ACEOF
   13394 /* confdefs.h.  */
   13395 _ACEOF
   13396 cat confdefs.h >>conftest.$ac_ext
   13397 cat >>conftest.$ac_ext <<_ACEOF
   13398 /* end confdefs.h.  */
   13399 
   13400 /* Override any GCC internal prototype to avoid an error.
   13401    Use char because int might match the return type of a GCC
   13402    builtin and then its argument prototype would still apply.  */
   13403 #ifdef __cplusplus
   13404 extern "C"
   13405 #endif
   13406 char op_open_agent ();
   13407 int
   13408 main ()
   13409 {
   13410 return op_open_agent ();
   13411   ;
   13412   return 0;
   13413 }
   13414 _ACEOF
   13415 for ac_lib in '' opagent; do
   13416   if test -z "$ac_lib"; then
   13417     ac_res="none required"
   13418   else
   13419     ac_res=-l$ac_lib
   13420     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   13421   fi
   13422   rm -f conftest.$ac_objext conftest$ac_exeext
   13423 if { (ac_try="$ac_link"
   13424 case "(($ac_try" in
   13425   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   13426   *) ac_try_echo=$ac_try;;
   13427 esac
   13428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   13429   (eval "$ac_link") 2>conftest.er1
   13430   ac_status=$?
   13431   grep -v '^ *+' conftest.er1 >conftest.err
   13432   rm -f conftest.er1
   13433   cat conftest.err >&5
   13434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13435   (exit $ac_status); } &&
   13436 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   13437   { (case "(($ac_try" in
   13438   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   13439   *) ac_try_echo=$ac_try;;
   13440 esac
   13441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   13442   (eval "$ac_try") 2>&5
   13443   ac_status=$?
   13444   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13445   (exit $ac_status); }; } &&
   13446 	 { ac_try='test -s conftest$ac_exeext'
   13447   { (case "(($ac_try" in
   13448   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   13449   *) ac_try_echo=$ac_try;;
   13450 esac
   13451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   13452   (eval "$ac_try") 2>&5
   13453   ac_status=$?
   13454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13455   (exit $ac_status); }; }; then
   13456   ac_cv_search_op_open_agent=$ac_res
   13457 else
   13458   echo "$as_me: failed program was:" >&5
   13459 sed 's/^/| /' conftest.$ac_ext >&5
   13460 
   13461 
   13462 fi
   13463 
   13464 rm -f core conftest.err conftest.$ac_objext \
   13465       conftest$ac_exeext
   13466   if test "${ac_cv_search_op_open_agent+set}" = set; then
   13467   break
   13468 fi
   13469 done
   13470 if test "${ac_cv_search_op_open_agent+set}" = set; then
   13471   :
   13472 else
   13473   ac_cv_search_op_open_agent=no
   13474 fi
   13475 rm conftest.$ac_ext
   13476 LIBS=$ac_func_search_save_LIBS
   13477 fi
   13478 { echo "$as_me:$LINENO: result: $ac_cv_search_op_open_agent" >&5
   13479 echo "${ECHO_T}$ac_cv_search_op_open_agent" >&6; }
   13480 ac_res=$ac_cv_search_op_open_agent
   13481 if test "$ac_res" != no; then
   13482   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   13483 
   13484 else
   13485 
   13486           echo "Error! You need to have libopagent around."
   13487           exit -1
   13488 
   13489 fi
   13490 
   13491         if test "${ac_cv_header_opagent_h+set}" = set; then
   13492   { echo "$as_me:$LINENO: checking for opagent.h" >&5
   13493 echo $ECHO_N "checking for opagent.h... $ECHO_C" >&6; }
   13494 if test "${ac_cv_header_opagent_h+set}" = set; then
   13495   echo $ECHO_N "(cached) $ECHO_C" >&6
   13496 fi
   13497 { echo "$as_me:$LINENO: result: $ac_cv_header_opagent_h" >&5
   13498 echo "${ECHO_T}$ac_cv_header_opagent_h" >&6; }
   13499 else
   13500   # Is the header compilable?
   13501 { echo "$as_me:$LINENO: checking opagent.h usability" >&5
   13502 echo $ECHO_N "checking opagent.h usability... $ECHO_C" >&6; }
   13503 cat >conftest.$ac_ext <<_ACEOF
   13504 /* confdefs.h.  */
   13505 _ACEOF
   13506 cat confdefs.h >>conftest.$ac_ext
   13507 cat >>conftest.$ac_ext <<_ACEOF
   13508 /* end confdefs.h.  */
   13509 $ac_includes_default
   13510 #include <opagent.h>
   13511 _ACEOF
   13512 rm -f conftest.$ac_objext
   13513 if { (ac_try="$ac_compile"
   13514 case "(($ac_try" in
   13515   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   13516   *) ac_try_echo=$ac_try;;
   13517 esac
   13518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   13519   (eval "$ac_compile") 2>conftest.er1
   13520   ac_status=$?
   13521   grep -v '^ *+' conftest.er1 >conftest.err
   13522   rm -f conftest.er1
   13523   cat conftest.err >&5
   13524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13525   (exit $ac_status); } &&
   13526 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   13527   { (case "(($ac_try" in
   13528   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   13529   *) ac_try_echo=$ac_try;;
   13530 esac
   13531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   13532   (eval "$ac_try") 2>&5
   13533   ac_status=$?
   13534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13535   (exit $ac_status); }; } &&
   13536 	 { ac_try='test -s conftest.$ac_objext'
   13537   { (case "(($ac_try" in
   13538   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   13539   *) ac_try_echo=$ac_try;;
   13540 esac
   13541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   13542   (eval "$ac_try") 2>&5
   13543   ac_status=$?
   13544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13545   (exit $ac_status); }; }; then
   13546   ac_header_compiler=yes
   13547 else
   13548   echo "$as_me: failed program was:" >&5
   13549 sed 's/^/| /' conftest.$ac_ext >&5
   13550 
   13551 	ac_header_compiler=no
   13552 fi
   13553 
   13554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13555 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   13556 echo "${ECHO_T}$ac_header_compiler" >&6; }
   13557 
   13558 # Is the header present?
   13559 { echo "$as_me:$LINENO: checking opagent.h presence" >&5
   13560 echo $ECHO_N "checking opagent.h presence... $ECHO_C" >&6; }
   13561 cat >conftest.$ac_ext <<_ACEOF
   13562 /* confdefs.h.  */
   13563 _ACEOF
   13564 cat confdefs.h >>conftest.$ac_ext
   13565 cat >>conftest.$ac_ext <<_ACEOF
   13566 /* end confdefs.h.  */
   13567 #include <opagent.h>
   13568 _ACEOF
   13569 if { (ac_try="$ac_cpp conftest.$ac_ext"
   13570 case "(($ac_try" in
   13571   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   13572   *) ac_try_echo=$ac_try;;
   13573 esac
   13574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   13575   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   13576   ac_status=$?
   13577   grep -v '^ *+' conftest.er1 >conftest.err
   13578   rm -f conftest.er1
   13579   cat conftest.err >&5
   13580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13581   (exit $ac_status); } >/dev/null; then
   13582   if test -s conftest.err; then
   13583     ac_cpp_err=$ac_c_preproc_warn_flag
   13584     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   13585   else
   13586     ac_cpp_err=
   13587   fi
   13588 else
   13589   ac_cpp_err=yes
   13590 fi
   13591 if test -z "$ac_cpp_err"; then
   13592   ac_header_preproc=yes
   13593 else
   13594   echo "$as_me: failed program was:" >&5
   13595 sed 's/^/| /' conftest.$ac_ext >&5
   13596 
   13597   ac_header_preproc=no
   13598 fi
   13599 
   13600 rm -f conftest.err conftest.$ac_ext
   13601 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   13602 echo "${ECHO_T}$ac_header_preproc" >&6; }
   13603 
   13604 # So?  What about this header?
   13605 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   13606   yes:no: )
   13607     { echo "$as_me:$LINENO: WARNING: opagent.h: accepted by the compiler, rejected by the preprocessor!" >&5
   13608 echo "$as_me: WARNING: opagent.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
   13609     { echo "$as_me:$LINENO: WARNING: opagent.h: proceeding with the compiler's result" >&5
   13610 echo "$as_me: WARNING: opagent.h: proceeding with the compiler's result" >&2;}
   13611     ac_header_preproc=yes
   13612     ;;
   13613   no:yes:* )
   13614     { echo "$as_me:$LINENO: WARNING: opagent.h: present but cannot be compiled" >&5
   13615 echo "$as_me: WARNING: opagent.h: present but cannot be compiled" >&2;}
   13616     { echo "$as_me:$LINENO: WARNING: opagent.h:     check for missing prerequisite headers?" >&5
   13617 echo "$as_me: WARNING: opagent.h:     check for missing prerequisite headers?" >&2;}
   13618     { echo "$as_me:$LINENO: WARNING: opagent.h: see the Autoconf documentation" >&5
   13619 echo "$as_me: WARNING: opagent.h: see the Autoconf documentation" >&2;}
   13620     { echo "$as_me:$LINENO: WARNING: opagent.h:     section \"Present But Cannot Be Compiled\"" >&5
   13621 echo "$as_me: WARNING: opagent.h:     section \"Present But Cannot Be Compiled\"" >&2;}
   13622     { echo "$as_me:$LINENO: WARNING: opagent.h: proceeding with the preprocessor's result" >&5
   13623 echo "$as_me: WARNING: opagent.h: proceeding with the preprocessor's result" >&2;}
   13624     { echo "$as_me:$LINENO: WARNING: opagent.h: in the future, the compiler will take precedence" >&5
   13625 echo "$as_me: WARNING: opagent.h: in the future, the compiler will take precedence" >&2;}
   13626     ( cat <<\_ASBOX
   13627 ## ------------------------------ ##
   13628 ## Report this to bugs@yourdomain ##
   13629 ## ------------------------------ ##
   13630 _ASBOX
   13631      ) | sed "s/^/$as_me: WARNING:     /" >&2
   13632     ;;
   13633 esac
   13634 { echo "$as_me:$LINENO: checking for opagent.h" >&5
   13635 echo $ECHO_N "checking for opagent.h... $ECHO_C" >&6; }
   13636 if test "${ac_cv_header_opagent_h+set}" = set; then
   13637   echo $ECHO_N "(cached) $ECHO_C" >&6
   13638 else
   13639   ac_cv_header_opagent_h=$ac_header_preproc
   13640 fi
   13641 { echo "$as_me:$LINENO: result: $ac_cv_header_opagent_h" >&5
   13642 echo "${ECHO_T}$ac_cv_header_opagent_h" >&6; }
   13643 
   13644 fi
   13645 if test $ac_cv_header_opagent_h = yes; then
   13646   :
   13647 else
   13648 
   13649           echo "Error! You need to have opagent.h around."
   13650           exit -1
   13651 
   13652 fi
   13653 
   13654 
   13655       fi
   13656 
   13657 else
   13658 
   13659       USE_OPROFILE=0
   13660 
   13661 
   13662 fi
   13663 
   13664 
   13665 cat >>confdefs.h <<_ACEOF
   13666 #define USE_OPROFILE $USE_OPROFILE
   13667 _ACEOF
   13668 
   13669 
   13670 
   13671 
   13672 
   13673 
   13674 
   13675 
   13676 ac_header_dirent=no
   13677 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
   13678   as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
   13679 { echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
   13680 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
   13681 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   13682   echo $ECHO_N "(cached) $ECHO_C" >&6
   13683 else
   13684   cat >conftest.$ac_ext <<_ACEOF
   13685 /* confdefs.h.  */
   13686 _ACEOF
   13687 cat confdefs.h >>conftest.$ac_ext
   13688 cat >>conftest.$ac_ext <<_ACEOF
   13689 /* end confdefs.h.  */
   13690 #include <sys/types.h>
   13691 #include <$ac_hdr>
   13692 
   13693 int
   13694 main ()
   13695 {
   13696 if ((DIR *) 0)
   13697 return 0;
   13698   ;
   13699   return 0;
   13700 }
   13701 _ACEOF
   13702 rm -f conftest.$ac_objext
   13703 if { (ac_try="$ac_compile"
   13704 case "(($ac_try" in
   13705   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   13706   *) ac_try_echo=$ac_try;;
   13707 esac
   13708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   13709   (eval "$ac_compile") 2>conftest.er1
   13710   ac_status=$?
   13711   grep -v '^ *+' conftest.er1 >conftest.err
   13712   rm -f conftest.er1
   13713   cat conftest.err >&5
   13714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13715   (exit $ac_status); } &&
   13716 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   13717   { (case "(($ac_try" in
   13718   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   13719   *) ac_try_echo=$ac_try;;
   13720 esac
   13721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   13722   (eval "$ac_try") 2>&5
   13723   ac_status=$?
   13724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13725   (exit $ac_status); }; } &&
   13726 	 { ac_try='test -s conftest.$ac_objext'
   13727   { (case "(($ac_try" in
   13728   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   13729   *) ac_try_echo=$ac_try;;
   13730 esac
   13731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   13732   (eval "$ac_try") 2>&5
   13733   ac_status=$?
   13734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13735   (exit $ac_status); }; }; then
   13736   eval "$as_ac_Header=yes"
   13737 else
   13738   echo "$as_me: failed program was:" >&5
   13739 sed 's/^/| /' conftest.$ac_ext >&5
   13740 
   13741 	eval "$as_ac_Header=no"
   13742 fi
   13743 
   13744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13745 fi
   13746 ac_res=`eval echo '${'$as_ac_Header'}'`
   13747 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   13748 echo "${ECHO_T}$ac_res" >&6; }
   13749 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   13750   cat >>confdefs.h <<_ACEOF
   13751 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
   13752 _ACEOF
   13753 
   13754 ac_header_dirent=$ac_hdr; break
   13755 fi
   13756 
   13757 done
   13758 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
   13759 if test $ac_header_dirent = dirent.h; then
   13760   { echo "$as_me:$LINENO: checking for library containing opendir" >&5
   13761 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
   13762 if test "${ac_cv_search_opendir+set}" = set; then
   13763   echo $ECHO_N "(cached) $ECHO_C" >&6
   13764 else
   13765   ac_func_search_save_LIBS=$LIBS
   13766 cat >conftest.$ac_ext <<_ACEOF
   13767 /* confdefs.h.  */
   13768 _ACEOF
   13769 cat confdefs.h >>conftest.$ac_ext
   13770 cat >>conftest.$ac_ext <<_ACEOF
   13771 /* end confdefs.h.  */
   13772 
   13773 /* Override any GCC internal prototype to avoid an error.
   13774    Use char because int might match the return type of a GCC
   13775    builtin and then its argument prototype would still apply.  */
   13776 #ifdef __cplusplus
   13777 extern "C"
   13778 #endif
   13779 char opendir ();
   13780 int
   13781 main ()
   13782 {
   13783 return opendir ();
   13784   ;
   13785   return 0;
   13786 }
   13787 _ACEOF
   13788 for ac_lib in '' dir; do
   13789   if test -z "$ac_lib"; then
   13790     ac_res="none required"
   13791   else
   13792     ac_res=-l$ac_lib
   13793     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   13794   fi
   13795   rm -f conftest.$ac_objext conftest$ac_exeext
   13796 if { (ac_try="$ac_link"
   13797 case "(($ac_try" in
   13798   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   13799   *) ac_try_echo=$ac_try;;
   13800 esac
   13801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   13802   (eval "$ac_link") 2>conftest.er1
   13803   ac_status=$?
   13804   grep -v '^ *+' conftest.er1 >conftest.err
   13805   rm -f conftest.er1
   13806   cat conftest.err >&5
   13807   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13808   (exit $ac_status); } &&
   13809 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   13810   { (case "(($ac_try" in
   13811   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   13812   *) ac_try_echo=$ac_try;;
   13813 esac
   13814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   13815   (eval "$ac_try") 2>&5
   13816   ac_status=$?
   13817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13818   (exit $ac_status); }; } &&
   13819 	 { ac_try='test -s conftest$ac_exeext'
   13820   { (case "(($ac_try" in
   13821   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   13822   *) ac_try_echo=$ac_try;;
   13823 esac
   13824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   13825   (eval "$ac_try") 2>&5
   13826   ac_status=$?
   13827   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13828   (exit $ac_status); }; }; then
   13829   ac_cv_search_opendir=$ac_res
   13830 else
   13831   echo "$as_me: failed program was:" >&5
   13832 sed 's/^/| /' conftest.$ac_ext >&5
   13833 
   13834 
   13835 fi
   13836 
   13837 rm -f core conftest.err conftest.$ac_objext \
   13838       conftest$ac_exeext
   13839   if test "${ac_cv_search_opendir+set}" = set; then
   13840   break
   13841 fi
   13842 done
   13843 if test "${ac_cv_search_opendir+set}" = set; then
   13844   :
   13845 else
   13846   ac_cv_search_opendir=no
   13847 fi
   13848 rm conftest.$ac_ext
   13849 LIBS=$ac_func_search_save_LIBS
   13850 fi
   13851 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
   13852 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
   13853 ac_res=$ac_cv_search_opendir
   13854 if test "$ac_res" != no; then
   13855   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   13856 
   13857 fi
   13858 
   13859 else
   13860   { echo "$as_me:$LINENO: checking for library containing opendir" >&5
   13861 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
   13862 if test "${ac_cv_search_opendir+set}" = set; then
   13863   echo $ECHO_N "(cached) $ECHO_C" >&6
   13864 else
   13865   ac_func_search_save_LIBS=$LIBS
   13866 cat >conftest.$ac_ext <<_ACEOF
   13867 /* confdefs.h.  */
   13868 _ACEOF
   13869 cat confdefs.h >>conftest.$ac_ext
   13870 cat >>conftest.$ac_ext <<_ACEOF
   13871 /* end confdefs.h.  */
   13872 
   13873 /* Override any GCC internal prototype to avoid an error.
   13874    Use char because int might match the return type of a GCC
   13875    builtin and then its argument prototype would still apply.  */
   13876 #ifdef __cplusplus
   13877 extern "C"
   13878 #endif
   13879 char opendir ();
   13880 int
   13881 main ()
   13882 {
   13883 return opendir ();
   13884   ;
   13885   return 0;
   13886 }
   13887 _ACEOF
   13888 for ac_lib in '' x; do
   13889   if test -z "$ac_lib"; then
   13890     ac_res="none required"
   13891   else
   13892     ac_res=-l$ac_lib
   13893     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   13894   fi
   13895   rm -f conftest.$ac_objext conftest$ac_exeext
   13896 if { (ac_try="$ac_link"
   13897 case "(($ac_try" in
   13898   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   13899   *) ac_try_echo=$ac_try;;
   13900 esac
   13901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   13902   (eval "$ac_link") 2>conftest.er1
   13903   ac_status=$?
   13904   grep -v '^ *+' conftest.er1 >conftest.err
   13905   rm -f conftest.er1
   13906   cat conftest.err >&5
   13907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13908   (exit $ac_status); } &&
   13909 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   13910   { (case "(($ac_try" in
   13911   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   13912   *) ac_try_echo=$ac_try;;
   13913 esac
   13914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   13915   (eval "$ac_try") 2>&5
   13916   ac_status=$?
   13917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13918   (exit $ac_status); }; } &&
   13919 	 { ac_try='test -s conftest$ac_exeext'
   13920   { (case "(($ac_try" in
   13921   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   13922   *) ac_try_echo=$ac_try;;
   13923 esac
   13924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   13925   (eval "$ac_try") 2>&5
   13926   ac_status=$?
   13927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13928   (exit $ac_status); }; }; then
   13929   ac_cv_search_opendir=$ac_res
   13930 else
   13931   echo "$as_me: failed program was:" >&5
   13932 sed 's/^/| /' conftest.$ac_ext >&5
   13933 
   13934 
   13935 fi
   13936 
   13937 rm -f core conftest.err conftest.$ac_objext \
   13938       conftest$ac_exeext
   13939   if test "${ac_cv_search_opendir+set}" = set; then
   13940   break
   13941 fi
   13942 done
   13943 if test "${ac_cv_search_opendir+set}" = set; then
   13944   :
   13945 else
   13946   ac_cv_search_opendir=no
   13947 fi
   13948 rm conftest.$ac_ext
   13949 LIBS=$ac_func_search_save_LIBS
   13950 fi
   13951 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
   13952 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
   13953 ac_res=$ac_cv_search_opendir
   13954 if test "$ac_res" != no; then
   13955   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   13956 
   13957 fi
   13958 
   13959 fi
   13960 
   13961 { echo "$as_me:$LINENO: checking for MAP_ANONYMOUS vs. MAP_ANON" >&5
   13962 echo $ECHO_N "checking for MAP_ANONYMOUS vs. MAP_ANON... $ECHO_C" >&6; }
   13963 if test "${ac_cv_header_mmap_anon+set}" = set; then
   13964   echo $ECHO_N "(cached) $ECHO_C" >&6
   13965 else
   13966    ac_ext=c
   13967 ac_cpp='$CPP $CPPFLAGS'
   13968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   13971 
   13972   cat >conftest.$ac_ext <<_ACEOF
   13973 /* confdefs.h.  */
   13974 _ACEOF
   13975 cat confdefs.h >>conftest.$ac_ext
   13976 cat >>conftest.$ac_ext <<_ACEOF
   13977 /* end confdefs.h.  */
   13978 #include <sys/mman.h>
   13979 #include <unistd.h>
   13980 #include <fcntl.h>
   13981 int
   13982 main ()
   13983 {
   13984 mmap (0, 1, PROT_READ, MAP_ANONYMOUS, -1, 0); return (0);
   13985   ;
   13986   return 0;
   13987 }
   13988 _ACEOF
   13989 rm -f conftest.$ac_objext
   13990 if { (ac_try="$ac_compile"
   13991 case "(($ac_try" in
   13992   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   13993   *) ac_try_echo=$ac_try;;
   13994 esac
   13995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   13996   (eval "$ac_compile") 2>conftest.er1
   13997   ac_status=$?
   13998   grep -v '^ *+' conftest.er1 >conftest.err
   13999   rm -f conftest.er1
   14000   cat conftest.err >&5
   14001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14002   (exit $ac_status); } &&
   14003 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   14004   { (case "(($ac_try" in
   14005   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   14006   *) ac_try_echo=$ac_try;;
   14007 esac
   14008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   14009   (eval "$ac_try") 2>&5
   14010   ac_status=$?
   14011   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14012   (exit $ac_status); }; } &&
   14013 	 { ac_try='test -s conftest.$ac_objext'
   14014   { (case "(($ac_try" in
   14015   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   14016   *) ac_try_echo=$ac_try;;
   14017 esac
   14018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   14019   (eval "$ac_try") 2>&5
   14020   ac_status=$?
   14021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14022   (exit $ac_status); }; }; then
   14023   ac_cv_header_mmap_anon=yes
   14024 else
   14025   echo "$as_me: failed program was:" >&5
   14026 sed 's/^/| /' conftest.$ac_ext >&5
   14027 
   14028 	ac_cv_header_mmap_anon=no
   14029 fi
   14030 
   14031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14032   ac_ext=c
   14033 ac_cpp='$CPP $CPPFLAGS'
   14034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   14037 
   14038 
   14039 fi
   14040 { echo "$as_me:$LINENO: result: $ac_cv_header_mmap_anon" >&5
   14041 echo "${ECHO_T}$ac_cv_header_mmap_anon" >&6; }
   14042 if test "$ac_cv_header_mmap_anon" = yes; then
   14043 
   14044 cat >>confdefs.h <<\_ACEOF
   14045 #define HAVE_MMAP_ANONYMOUS 1
   14046 _ACEOF
   14047 
   14048 fi
   14049 
   14050 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
   14051 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
   14052 if test "${ac_cv_header_stat_broken+set}" = set; then
   14053   echo $ECHO_N "(cached) $ECHO_C" >&6
   14054 else
   14055   cat >conftest.$ac_ext <<_ACEOF
   14056 /* confdefs.h.  */
   14057 _ACEOF
   14058 cat confdefs.h >>conftest.$ac_ext
   14059 cat >>conftest.$ac_ext <<_ACEOF
   14060 /* end confdefs.h.  */
   14061 #include <sys/types.h>
   14062 #include <sys/stat.h>
   14063 
   14064 #if defined S_ISBLK && defined S_IFDIR
   14065 # if S_ISBLK (S_IFDIR)
   14066 You lose.
   14067 # endif
   14068 #endif
   14069 
   14070 #if defined S_ISBLK && defined S_IFCHR
   14071 # if S_ISBLK (S_IFCHR)
   14072 You lose.
   14073 # endif
   14074 #endif
   14075 
   14076 #if defined S_ISLNK && defined S_IFREG
   14077 # if S_ISLNK (S_IFREG)
   14078 You lose.
   14079 # endif
   14080 #endif
   14081 
   14082 #if defined S_ISSOCK && defined S_IFREG
   14083 # if S_ISSOCK (S_IFREG)
   14084 You lose.
   14085 # endif
   14086 #endif
   14087 
   14088 _ACEOF
   14089 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   14090   $EGREP "You lose" >/dev/null 2>&1; then
   14091   ac_cv_header_stat_broken=yes
   14092 else
   14093   ac_cv_header_stat_broken=no
   14094 fi
   14095 rm -f conftest*
   14096 
   14097 fi
   14098 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
   14099 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
   14100 if test $ac_cv_header_stat_broken = yes; then
   14101 
   14102 cat >>confdefs.h <<\_ACEOF
   14103 #define STAT_MACROS_BROKEN 1
   14104 _ACEOF
   14105 
   14106 fi
   14107 
   14108 { echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
   14109 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; }
   14110 if test "${ac_cv_header_sys_wait_h+set}" = set; then
   14111   echo $ECHO_N "(cached) $ECHO_C" >&6
   14112 else
   14113   cat >conftest.$ac_ext <<_ACEOF
   14114 /* confdefs.h.  */
   14115 _ACEOF
   14116 cat confdefs.h >>conftest.$ac_ext
   14117 cat >>conftest.$ac_ext <<_ACEOF
   14118 /* end confdefs.h.  */
   14119 #include <sys/types.h>
   14120 #include <sys/wait.h>
   14121 #ifndef WEXITSTATUS
   14122 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
   14123 #endif
   14124 #ifndef WIFEXITED
   14125 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
   14126 #endif
   14127 
   14128 int
   14129 main ()
   14130 {
   14131   int s;
   14132   wait (&s);
   14133   s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
   14134   ;
   14135   return 0;
   14136 }
   14137 _ACEOF
   14138 rm -f conftest.$ac_objext
   14139 if { (ac_try="$ac_compile"
   14140 case "(($ac_try" in
   14141   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   14142   *) ac_try_echo=$ac_try;;
   14143 esac
   14144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   14145   (eval "$ac_compile") 2>conftest.er1
   14146   ac_status=$?
   14147   grep -v '^ *+' conftest.er1 >conftest.err
   14148   rm -f conftest.er1
   14149   cat conftest.err >&5
   14150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14151   (exit $ac_status); } &&
   14152 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   14153   { (case "(($ac_try" in
   14154   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   14155   *) ac_try_echo=$ac_try;;
   14156 esac
   14157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   14158   (eval "$ac_try") 2>&5
   14159   ac_status=$?
   14160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14161   (exit $ac_status); }; } &&
   14162 	 { ac_try='test -s conftest.$ac_objext'
   14163   { (case "(($ac_try" in
   14164   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   14165   *) ac_try_echo=$ac_try;;
   14166 esac
   14167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   14168   (eval "$ac_try") 2>&5
   14169   ac_status=$?
   14170   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14171   (exit $ac_status); }; }; then
   14172   ac_cv_header_sys_wait_h=yes
   14173 else
   14174   echo "$as_me: failed program was:" >&5
   14175 sed 's/^/| /' conftest.$ac_ext >&5
   14176 
   14177 	ac_cv_header_sys_wait_h=no
   14178 fi
   14179 
   14180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14181 fi
   14182 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
   14183 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; }
   14184 if test $ac_cv_header_sys_wait_h = yes; then
   14185 
   14186 cat >>confdefs.h <<\_ACEOF
   14187 #define HAVE_SYS_WAIT_H 1
   14188 _ACEOF
   14189 
   14190 fi
   14191 
   14192 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
   14193 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
   14194 if test "${ac_cv_header_time+set}" = set; then
   14195   echo $ECHO_N "(cached) $ECHO_C" >&6
   14196 else
   14197   cat >conftest.$ac_ext <<_ACEOF
   14198 /* confdefs.h.  */
   14199 _ACEOF
   14200 cat confdefs.h >>conftest.$ac_ext
   14201 cat >>conftest.$ac_ext <<_ACEOF
   14202 /* end confdefs.h.  */
   14203 #include <sys/types.h>
   14204 #include <sys/time.h>
   14205 #include <time.h>
   14206 
   14207 int
   14208 main ()
   14209 {
   14210 if ((struct tm *) 0)
   14211 return 0;
   14212   ;
   14213   return 0;
   14214 }
   14215 _ACEOF
   14216 rm -f conftest.$ac_objext
   14217 if { (ac_try="$ac_compile"
   14218 case "(($ac_try" in
   14219   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   14220   *) ac_try_echo=$ac_try;;
   14221 esac
   14222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   14223   (eval "$ac_compile") 2>conftest.er1
   14224   ac_status=$?
   14225   grep -v '^ *+' conftest.er1 >conftest.err
   14226   rm -f conftest.er1
   14227   cat conftest.err >&5
   14228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14229   (exit $ac_status); } &&
   14230 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   14231   { (case "(($ac_try" in
   14232   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   14233   *) ac_try_echo=$ac_try;;
   14234 esac
   14235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   14236   (eval "$ac_try") 2>&5
   14237   ac_status=$?
   14238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14239   (exit $ac_status); }; } &&
   14240 	 { ac_try='test -s conftest.$ac_objext'
   14241   { (case "(($ac_try" in
   14242   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   14243   *) ac_try_echo=$ac_try;;
   14244 esac
   14245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   14246   (eval "$ac_try") 2>&5
   14247   ac_status=$?
   14248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14249   (exit $ac_status); }; }; then
   14250   ac_cv_header_time=yes
   14251 else
   14252   echo "$as_me: failed program was:" >&5
   14253 sed 's/^/| /' conftest.$ac_ext >&5
   14254 
   14255 	ac_cv_header_time=no
   14256 fi
   14257 
   14258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14259 fi
   14260 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
   14261 echo "${ECHO_T}$ac_cv_header_time" >&6; }
   14262 if test $ac_cv_header_time = yes; then
   14263 
   14264 cat >>confdefs.h <<\_ACEOF
   14265 #define TIME_WITH_SYS_TIME 1
   14266 _ACEOF
   14267 
   14268 fi
   14269 
   14270 
   14271 
   14272 
   14273 
   14274 
   14275 
   14276 
   14277 for ac_header in dlfcn.h execinfo.h fcntl.h inttypes.h limits.h link.h
   14278 do
   14279 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   14280 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   14281   { echo "$as_me:$LINENO: checking for $ac_header" >&5
   14282 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   14283 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   14284   echo $ECHO_N "(cached) $ECHO_C" >&6
   14285 fi
   14286 ac_res=`eval echo '${'$as_ac_Header'}'`
   14287 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   14288 echo "${ECHO_T}$ac_res" >&6; }
   14289 else
   14290   # Is the header compilable?
   14291 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
   14292 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
   14293 cat >conftest.$ac_ext <<_ACEOF
   14294 /* confdefs.h.  */
   14295 _ACEOF
   14296 cat confdefs.h >>conftest.$ac_ext
   14297 cat >>conftest.$ac_ext <<_ACEOF
   14298 /* end confdefs.h.  */
   14299 $ac_includes_default
   14300 #include <$ac_header>
   14301 _ACEOF
   14302 rm -f conftest.$ac_objext
   14303 if { (ac_try="$ac_compile"
   14304 case "(($ac_try" in
   14305   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   14306   *) ac_try_echo=$ac_try;;
   14307 esac
   14308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   14309   (eval "$ac_compile") 2>conftest.er1
   14310   ac_status=$?
   14311   grep -v '^ *+' conftest.er1 >conftest.err
   14312   rm -f conftest.er1
   14313   cat conftest.err >&5
   14314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14315   (exit $ac_status); } &&
   14316 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   14317   { (case "(($ac_try" in
   14318   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   14319   *) ac_try_echo=$ac_try;;
   14320 esac
   14321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   14322   (eval "$ac_try") 2>&5
   14323   ac_status=$?
   14324   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14325   (exit $ac_status); }; } &&
   14326 	 { ac_try='test -s conftest.$ac_objext'
   14327   { (case "(($ac_try" in
   14328   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   14329   *) ac_try_echo=$ac_try;;
   14330 esac
   14331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   14332   (eval "$ac_try") 2>&5
   14333   ac_status=$?
   14334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14335   (exit $ac_status); }; }; then
   14336   ac_header_compiler=yes
   14337 else
   14338   echo "$as_me: failed program was:" >&5
   14339 sed 's/^/| /' conftest.$ac_ext >&5
   14340 
   14341 	ac_header_compiler=no
   14342 fi
   14343 
   14344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14345 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   14346 echo "${ECHO_T}$ac_header_compiler" >&6; }
   14347 
   14348 # Is the header present?
   14349 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
   14350 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
   14351 cat >conftest.$ac_ext <<_ACEOF
   14352 /* confdefs.h.  */
   14353 _ACEOF
   14354 cat confdefs.h >>conftest.$ac_ext
   14355 cat >>conftest.$ac_ext <<_ACEOF
   14356 /* end confdefs.h.  */
   14357 #include <$ac_header>
   14358 _ACEOF
   14359 if { (ac_try="$ac_cpp conftest.$ac_ext"
   14360 case "(($ac_try" in
   14361   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   14362   *) ac_try_echo=$ac_try;;
   14363 esac
   14364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   14365   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   14366   ac_status=$?
   14367   grep -v '^ *+' conftest.er1 >conftest.err
   14368   rm -f conftest.er1
   14369   cat conftest.err >&5
   14370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14371   (exit $ac_status); } >/dev/null; then
   14372   if test -s conftest.err; then
   14373     ac_cpp_err=$ac_c_preproc_warn_flag
   14374     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   14375   else
   14376     ac_cpp_err=
   14377   fi
   14378 else
   14379   ac_cpp_err=yes
   14380 fi
   14381 if test -z "$ac_cpp_err"; then
   14382   ac_header_preproc=yes
   14383 else
   14384   echo "$as_me: failed program was:" >&5
   14385 sed 's/^/| /' conftest.$ac_ext >&5
   14386 
   14387   ac_header_preproc=no
   14388 fi
   14389 
   14390 rm -f conftest.err conftest.$ac_ext
   14391 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   14392 echo "${ECHO_T}$ac_header_preproc" >&6; }
   14393 
   14394 # So?  What about this header?
   14395 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   14396   yes:no: )
   14397     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   14398 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   14399     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   14400 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   14401     ac_header_preproc=yes
   14402     ;;
   14403   no:yes:* )
   14404     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   14405 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   14406     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   14407 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   14408     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   14409 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   14410     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   14411 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   14412     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   14413 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   14414     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   14415 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   14416     ( cat <<\_ASBOX
   14417 ## ------------------------------ ##
   14418 ## Report this to bugs@yourdomain ##
   14419 ## ------------------------------ ##
   14420 _ASBOX
   14421      ) | sed "s/^/$as_me: WARNING:     /" >&2
   14422     ;;
   14423 esac
   14424 { echo "$as_me:$LINENO: checking for $ac_header" >&5
   14425 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   14426 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   14427   echo $ECHO_N "(cached) $ECHO_C" >&6
   14428 else
   14429   eval "$as_ac_Header=\$ac_header_preproc"
   14430 fi
   14431 ac_res=`eval echo '${'$as_ac_Header'}'`
   14432 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   14433 echo "${ECHO_T}$ac_res" >&6; }
   14434 
   14435 fi
   14436 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   14437   cat >>confdefs.h <<_ACEOF
   14438 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   14439 _ACEOF
   14440 
   14441 fi
   14442 
   14443 done
   14444 
   14445 
   14446 
   14447 
   14448 
   14449 
   14450 
   14451 for ac_header in malloc.h setjmp.h signal.h stdint.h termios.h unistd.h
   14452 do
   14453 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   14454 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   14455   { echo "$as_me:$LINENO: checking for $ac_header" >&5
   14456 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   14457 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   14458   echo $ECHO_N "(cached) $ECHO_C" >&6
   14459 fi
   14460 ac_res=`eval echo '${'$as_ac_Header'}'`
   14461 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   14462 echo "${ECHO_T}$ac_res" >&6; }
   14463 else
   14464   # Is the header compilable?
   14465 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
   14466 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
   14467 cat >conftest.$ac_ext <<_ACEOF
   14468 /* confdefs.h.  */
   14469 _ACEOF
   14470 cat confdefs.h >>conftest.$ac_ext
   14471 cat >>conftest.$ac_ext <<_ACEOF
   14472 /* end confdefs.h.  */
   14473 $ac_includes_default
   14474 #include <$ac_header>
   14475 _ACEOF
   14476 rm -f conftest.$ac_objext
   14477 if { (ac_try="$ac_compile"
   14478 case "(($ac_try" in
   14479   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   14480   *) ac_try_echo=$ac_try;;
   14481 esac
   14482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   14483   (eval "$ac_compile") 2>conftest.er1
   14484   ac_status=$?
   14485   grep -v '^ *+' conftest.er1 >conftest.err
   14486   rm -f conftest.er1
   14487   cat conftest.err >&5
   14488   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14489   (exit $ac_status); } &&
   14490 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   14491   { (case "(($ac_try" in
   14492   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   14493   *) ac_try_echo=$ac_try;;
   14494 esac
   14495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   14496   (eval "$ac_try") 2>&5
   14497   ac_status=$?
   14498   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14499   (exit $ac_status); }; } &&
   14500 	 { ac_try='test -s conftest.$ac_objext'
   14501   { (case "(($ac_try" in
   14502   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   14503   *) ac_try_echo=$ac_try;;
   14504 esac
   14505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   14506   (eval "$ac_try") 2>&5
   14507   ac_status=$?
   14508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14509   (exit $ac_status); }; }; then
   14510   ac_header_compiler=yes
   14511 else
   14512   echo "$as_me: failed program was:" >&5
   14513 sed 's/^/| /' conftest.$ac_ext >&5
   14514 
   14515 	ac_header_compiler=no
   14516 fi
   14517 
   14518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14519 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   14520 echo "${ECHO_T}$ac_header_compiler" >&6; }
   14521 
   14522 # Is the header present?
   14523 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
   14524 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
   14525 cat >conftest.$ac_ext <<_ACEOF
   14526 /* confdefs.h.  */
   14527 _ACEOF
   14528 cat confdefs.h >>conftest.$ac_ext
   14529 cat >>conftest.$ac_ext <<_ACEOF
   14530 /* end confdefs.h.  */
   14531 #include <$ac_header>
   14532 _ACEOF
   14533 if { (ac_try="$ac_cpp conftest.$ac_ext"
   14534 case "(($ac_try" in
   14535   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   14536   *) ac_try_echo=$ac_try;;
   14537 esac
   14538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   14539   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   14540   ac_status=$?
   14541   grep -v '^ *+' conftest.er1 >conftest.err
   14542   rm -f conftest.er1
   14543   cat conftest.err >&5
   14544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14545   (exit $ac_status); } >/dev/null; then
   14546   if test -s conftest.err; then
   14547     ac_cpp_err=$ac_c_preproc_warn_flag
   14548     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   14549   else
   14550     ac_cpp_err=
   14551   fi
   14552 else
   14553   ac_cpp_err=yes
   14554 fi
   14555 if test -z "$ac_cpp_err"; then
   14556   ac_header_preproc=yes
   14557 else
   14558   echo "$as_me: failed program was:" >&5
   14559 sed 's/^/| /' conftest.$ac_ext >&5
   14560 
   14561   ac_header_preproc=no
   14562 fi
   14563 
   14564 rm -f conftest.err conftest.$ac_ext
   14565 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   14566 echo "${ECHO_T}$ac_header_preproc" >&6; }
   14567 
   14568 # So?  What about this header?
   14569 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   14570   yes:no: )
   14571     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   14572 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   14573     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   14574 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   14575     ac_header_preproc=yes
   14576     ;;
   14577   no:yes:* )
   14578     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   14579 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   14580     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   14581 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   14582     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   14583 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   14584     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   14585 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   14586     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   14587 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   14588     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   14589 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   14590     ( cat <<\_ASBOX
   14591 ## ------------------------------ ##
   14592 ## Report this to bugs@yourdomain ##
   14593 ## ------------------------------ ##
   14594 _ASBOX
   14595      ) | sed "s/^/$as_me: WARNING:     /" >&2
   14596     ;;
   14597 esac
   14598 { echo "$as_me:$LINENO: checking for $ac_header" >&5
   14599 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   14600 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   14601   echo $ECHO_N "(cached) $ECHO_C" >&6
   14602 else
   14603   eval "$as_ac_Header=\$ac_header_preproc"
   14604 fi
   14605 ac_res=`eval echo '${'$as_ac_Header'}'`
   14606 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   14607 echo "${ECHO_T}$ac_res" >&6; }
   14608 
   14609 fi
   14610 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   14611   cat >>confdefs.h <<_ACEOF
   14612 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   14613 _ACEOF
   14614 
   14615 fi
   14616 
   14617 done
   14618 
   14619 
   14620 
   14621 for ac_header in utime.h windows.h
   14622 do
   14623 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   14624 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   14625   { echo "$as_me:$LINENO: checking for $ac_header" >&5
   14626 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   14627 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   14628   echo $ECHO_N "(cached) $ECHO_C" >&6
   14629 fi
   14630 ac_res=`eval echo '${'$as_ac_Header'}'`
   14631 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   14632 echo "${ECHO_T}$ac_res" >&6; }
   14633 else
   14634   # Is the header compilable?
   14635 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
   14636 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
   14637 cat >conftest.$ac_ext <<_ACEOF
   14638 /* confdefs.h.  */
   14639 _ACEOF
   14640 cat confdefs.h >>conftest.$ac_ext
   14641 cat >>conftest.$ac_ext <<_ACEOF
   14642 /* end confdefs.h.  */
   14643 $ac_includes_default
   14644 #include <$ac_header>
   14645 _ACEOF
   14646 rm -f conftest.$ac_objext
   14647 if { (ac_try="$ac_compile"
   14648 case "(($ac_try" in
   14649   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   14650   *) ac_try_echo=$ac_try;;
   14651 esac
   14652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   14653   (eval "$ac_compile") 2>conftest.er1
   14654   ac_status=$?
   14655   grep -v '^ *+' conftest.er1 >conftest.err
   14656   rm -f conftest.er1
   14657   cat conftest.err >&5
   14658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14659   (exit $ac_status); } &&
   14660 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   14661   { (case "(($ac_try" in
   14662   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   14663   *) ac_try_echo=$ac_try;;
   14664 esac
   14665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   14666   (eval "$ac_try") 2>&5
   14667   ac_status=$?
   14668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14669   (exit $ac_status); }; } &&
   14670 	 { ac_try='test -s conftest.$ac_objext'
   14671   { (case "(($ac_try" in
   14672   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   14673   *) ac_try_echo=$ac_try;;
   14674 esac
   14675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   14676   (eval "$ac_try") 2>&5
   14677   ac_status=$?
   14678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14679   (exit $ac_status); }; }; then
   14680   ac_header_compiler=yes
   14681 else
   14682   echo "$as_me: failed program was:" >&5
   14683 sed 's/^/| /' conftest.$ac_ext >&5
   14684 
   14685 	ac_header_compiler=no
   14686 fi
   14687 
   14688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14689 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   14690 echo "${ECHO_T}$ac_header_compiler" >&6; }
   14691 
   14692 # Is the header present?
   14693 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
   14694 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
   14695 cat >conftest.$ac_ext <<_ACEOF
   14696 /* confdefs.h.  */
   14697 _ACEOF
   14698 cat confdefs.h >>conftest.$ac_ext
   14699 cat >>conftest.$ac_ext <<_ACEOF
   14700 /* end confdefs.h.  */
   14701 #include <$ac_header>
   14702 _ACEOF
   14703 if { (ac_try="$ac_cpp conftest.$ac_ext"
   14704 case "(($ac_try" in
   14705   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   14706   *) ac_try_echo=$ac_try;;
   14707 esac
   14708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   14709   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   14710   ac_status=$?
   14711   grep -v '^ *+' conftest.er1 >conftest.err
   14712   rm -f conftest.er1
   14713   cat conftest.err >&5
   14714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14715   (exit $ac_status); } >/dev/null; then
   14716   if test -s conftest.err; then
   14717     ac_cpp_err=$ac_c_preproc_warn_flag
   14718     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   14719   else
   14720     ac_cpp_err=
   14721   fi
   14722 else
   14723   ac_cpp_err=yes
   14724 fi
   14725 if test -z "$ac_cpp_err"; then
   14726   ac_header_preproc=yes
   14727 else
   14728   echo "$as_me: failed program was:" >&5
   14729 sed 's/^/| /' conftest.$ac_ext >&5
   14730 
   14731   ac_header_preproc=no
   14732 fi
   14733 
   14734 rm -f conftest.err conftest.$ac_ext
   14735 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   14736 echo "${ECHO_T}$ac_header_preproc" >&6; }
   14737 
   14738 # So?  What about this header?
   14739 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   14740   yes:no: )
   14741     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   14742 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   14743     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   14744 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   14745     ac_header_preproc=yes
   14746     ;;
   14747   no:yes:* )
   14748     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   14749 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   14750     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   14751 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   14752     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   14753 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   14754     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   14755 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   14756     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   14757 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   14758     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   14759 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   14760     ( cat <<\_ASBOX
   14761 ## ------------------------------ ##
   14762 ## Report this to bugs@yourdomain ##
   14763 ## ------------------------------ ##
   14764 _ASBOX
   14765      ) | sed "s/^/$as_me: WARNING:     /" >&2
   14766     ;;
   14767 esac
   14768 { echo "$as_me:$LINENO: checking for $ac_header" >&5
   14769 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   14770 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   14771   echo $ECHO_N "(cached) $ECHO_C" >&6
   14772 else
   14773   eval "$as_ac_Header=\$ac_header_preproc"
   14774 fi
   14775 ac_res=`eval echo '${'$as_ac_Header'}'`
   14776 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   14777 echo "${ECHO_T}$ac_res" >&6; }
   14778 
   14779 fi
   14780 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   14781   cat >>confdefs.h <<_ACEOF
   14782 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   14783 _ACEOF
   14784 
   14785 fi
   14786 
   14787 done
   14788 
   14789 
   14790 
   14791 
   14792 
   14793 
   14794 for ac_header in sys/mman.h sys/param.h sys/resource.h sys/time.h sys/uio.h
   14795 do
   14796 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   14797 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   14798   { echo "$as_me:$LINENO: checking for $ac_header" >&5
   14799 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   14800 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   14801   echo $ECHO_N "(cached) $ECHO_C" >&6
   14802 fi
   14803 ac_res=`eval echo '${'$as_ac_Header'}'`
   14804 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   14805 echo "${ECHO_T}$ac_res" >&6; }
   14806 else
   14807   # Is the header compilable?
   14808 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
   14809 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
   14810 cat >conftest.$ac_ext <<_ACEOF
   14811 /* confdefs.h.  */
   14812 _ACEOF
   14813 cat confdefs.h >>conftest.$ac_ext
   14814 cat >>conftest.$ac_ext <<_ACEOF
   14815 /* end confdefs.h.  */
   14816 $ac_includes_default
   14817 #include <$ac_header>
   14818 _ACEOF
   14819 rm -f conftest.$ac_objext
   14820 if { (ac_try="$ac_compile"
   14821 case "(($ac_try" in
   14822   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   14823   *) ac_try_echo=$ac_try;;
   14824 esac
   14825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   14826   (eval "$ac_compile") 2>conftest.er1
   14827   ac_status=$?
   14828   grep -v '^ *+' conftest.er1 >conftest.err
   14829   rm -f conftest.er1
   14830   cat conftest.err >&5
   14831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14832   (exit $ac_status); } &&
   14833 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   14834   { (case "(($ac_try" in
   14835   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   14836   *) ac_try_echo=$ac_try;;
   14837 esac
   14838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   14839   (eval "$ac_try") 2>&5
   14840   ac_status=$?
   14841   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14842   (exit $ac_status); }; } &&
   14843 	 { ac_try='test -s conftest.$ac_objext'
   14844   { (case "(($ac_try" in
   14845   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   14846   *) ac_try_echo=$ac_try;;
   14847 esac
   14848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   14849   (eval "$ac_try") 2>&5
   14850   ac_status=$?
   14851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14852   (exit $ac_status); }; }; then
   14853   ac_header_compiler=yes
   14854 else
   14855   echo "$as_me: failed program was:" >&5
   14856 sed 's/^/| /' conftest.$ac_ext >&5
   14857 
   14858 	ac_header_compiler=no
   14859 fi
   14860 
   14861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14862 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   14863 echo "${ECHO_T}$ac_header_compiler" >&6; }
   14864 
   14865 # Is the header present?
   14866 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
   14867 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
   14868 cat >conftest.$ac_ext <<_ACEOF
   14869 /* confdefs.h.  */
   14870 _ACEOF
   14871 cat confdefs.h >>conftest.$ac_ext
   14872 cat >>conftest.$ac_ext <<_ACEOF
   14873 /* end confdefs.h.  */
   14874 #include <$ac_header>
   14875 _ACEOF
   14876 if { (ac_try="$ac_cpp conftest.$ac_ext"
   14877 case "(($ac_try" in
   14878   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   14879   *) ac_try_echo=$ac_try;;
   14880 esac
   14881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   14882   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   14883   ac_status=$?
   14884   grep -v '^ *+' conftest.er1 >conftest.err
   14885   rm -f conftest.er1
   14886   cat conftest.err >&5
   14887   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14888   (exit $ac_status); } >/dev/null; then
   14889   if test -s conftest.err; then
   14890     ac_cpp_err=$ac_c_preproc_warn_flag
   14891     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   14892   else
   14893     ac_cpp_err=
   14894   fi
   14895 else
   14896   ac_cpp_err=yes
   14897 fi
   14898 if test -z "$ac_cpp_err"; then
   14899   ac_header_preproc=yes
   14900 else
   14901   echo "$as_me: failed program was:" >&5
   14902 sed 's/^/| /' conftest.$ac_ext >&5
   14903 
   14904   ac_header_preproc=no
   14905 fi
   14906 
   14907 rm -f conftest.err conftest.$ac_ext
   14908 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   14909 echo "${ECHO_T}$ac_header_preproc" >&6; }
   14910 
   14911 # So?  What about this header?
   14912 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   14913   yes:no: )
   14914     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   14915 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   14916     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   14917 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   14918     ac_header_preproc=yes
   14919     ;;
   14920   no:yes:* )
   14921     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   14922 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   14923     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   14924 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   14925     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   14926 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   14927     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   14928 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   14929     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   14930 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   14931     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   14932 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   14933     ( cat <<\_ASBOX
   14934 ## ------------------------------ ##
   14935 ## Report this to bugs@yourdomain ##
   14936 ## ------------------------------ ##
   14937 _ASBOX
   14938      ) | sed "s/^/$as_me: WARNING:     /" >&2
   14939     ;;
   14940 esac
   14941 { echo "$as_me:$LINENO: checking for $ac_header" >&5
   14942 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   14943 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   14944   echo $ECHO_N "(cached) $ECHO_C" >&6
   14945 else
   14946   eval "$as_ac_Header=\$ac_header_preproc"
   14947 fi
   14948 ac_res=`eval echo '${'$as_ac_Header'}'`
   14949 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   14950 echo "${ECHO_T}$ac_res" >&6; }
   14951 
   14952 fi
   14953 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   14954   cat >>confdefs.h <<_ACEOF
   14955 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   14956 _ACEOF
   14957 
   14958 fi
   14959 
   14960 done
   14961 
   14962 
   14963 
   14964 
   14965 
   14966 for ac_header in sys/types.h sys/ioctl.h malloc/malloc.h mach/mach.h
   14967 do
   14968 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   14969 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   14970   { echo "$as_me:$LINENO: checking for $ac_header" >&5
   14971 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   14972 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   14973   echo $ECHO_N "(cached) $ECHO_C" >&6
   14974 fi
   14975 ac_res=`eval echo '${'$as_ac_Header'}'`
   14976 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   14977 echo "${ECHO_T}$ac_res" >&6; }
   14978 else
   14979   # Is the header compilable?
   14980 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
   14981 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
   14982 cat >conftest.$ac_ext <<_ACEOF
   14983 /* confdefs.h.  */
   14984 _ACEOF
   14985 cat confdefs.h >>conftest.$ac_ext
   14986 cat >>conftest.$ac_ext <<_ACEOF
   14987 /* end confdefs.h.  */
   14988 $ac_includes_default
   14989 #include <$ac_header>
   14990 _ACEOF
   14991 rm -f conftest.$ac_objext
   14992 if { (ac_try="$ac_compile"
   14993 case "(($ac_try" in
   14994   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   14995   *) ac_try_echo=$ac_try;;
   14996 esac
   14997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   14998   (eval "$ac_compile") 2>conftest.er1
   14999   ac_status=$?
   15000   grep -v '^ *+' conftest.er1 >conftest.err
   15001   rm -f conftest.er1
   15002   cat conftest.err >&5
   15003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15004   (exit $ac_status); } &&
   15005 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   15006   { (case "(($ac_try" in
   15007   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   15008   *) ac_try_echo=$ac_try;;
   15009 esac
   15010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   15011   (eval "$ac_try") 2>&5
   15012   ac_status=$?
   15013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15014   (exit $ac_status); }; } &&
   15015 	 { ac_try='test -s conftest.$ac_objext'
   15016   { (case "(($ac_try" in
   15017   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   15018   *) ac_try_echo=$ac_try;;
   15019 esac
   15020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   15021   (eval "$ac_try") 2>&5
   15022   ac_status=$?
   15023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15024   (exit $ac_status); }; }; then
   15025   ac_header_compiler=yes
   15026 else
   15027   echo "$as_me: failed program was:" >&5
   15028 sed 's/^/| /' conftest.$ac_ext >&5
   15029 
   15030 	ac_header_compiler=no
   15031 fi
   15032 
   15033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15034 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   15035 echo "${ECHO_T}$ac_header_compiler" >&6; }
   15036 
   15037 # Is the header present?
   15038 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
   15039 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
   15040 cat >conftest.$ac_ext <<_ACEOF
   15041 /* confdefs.h.  */
   15042 _ACEOF
   15043 cat confdefs.h >>conftest.$ac_ext
   15044 cat >>conftest.$ac_ext <<_ACEOF
   15045 /* end confdefs.h.  */
   15046 #include <$ac_header>
   15047 _ACEOF
   15048 if { (ac_try="$ac_cpp conftest.$ac_ext"
   15049 case "(($ac_try" in
   15050   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   15051   *) ac_try_echo=$ac_try;;
   15052 esac
   15053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   15054   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   15055   ac_status=$?
   15056   grep -v '^ *+' conftest.er1 >conftest.err
   15057   rm -f conftest.er1
   15058   cat conftest.err >&5
   15059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15060   (exit $ac_status); } >/dev/null; then
   15061   if test -s conftest.err; then
   15062     ac_cpp_err=$ac_c_preproc_warn_flag
   15063     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   15064   else
   15065     ac_cpp_err=
   15066   fi
   15067 else
   15068   ac_cpp_err=yes
   15069 fi
   15070 if test -z "$ac_cpp_err"; then
   15071   ac_header_preproc=yes
   15072 else
   15073   echo "$as_me: failed program was:" >&5
   15074 sed 's/^/| /' conftest.$ac_ext >&5
   15075 
   15076   ac_header_preproc=no
   15077 fi
   15078 
   15079 rm -f conftest.err conftest.$ac_ext
   15080 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   15081 echo "${ECHO_T}$ac_header_preproc" >&6; }
   15082 
   15083 # So?  What about this header?
   15084 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   15085   yes:no: )
   15086     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   15087 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   15088     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   15089 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   15090     ac_header_preproc=yes
   15091     ;;
   15092   no:yes:* )
   15093     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   15094 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   15095     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   15096 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   15097     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   15098 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   15099     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   15100 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   15101     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   15102 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   15103     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   15104 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   15105     ( cat <<\_ASBOX
   15106 ## ------------------------------ ##
   15107 ## Report this to bugs@yourdomain ##
   15108 ## ------------------------------ ##
   15109 _ASBOX
   15110      ) | sed "s/^/$as_me: WARNING:     /" >&2
   15111     ;;
   15112 esac
   15113 { echo "$as_me:$LINENO: checking for $ac_header" >&5
   15114 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   15115 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   15116   echo $ECHO_N "(cached) $ECHO_C" >&6
   15117 else
   15118   eval "$as_ac_Header=\$ac_header_preproc"
   15119 fi
   15120 ac_res=`eval echo '${'$as_ac_Header'}'`
   15121 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   15122 echo "${ECHO_T}$ac_res" >&6; }
   15123 
   15124 fi
   15125 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   15126   cat >>confdefs.h <<_ACEOF
   15127 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   15128 _ACEOF
   15129 
   15130 fi
   15131 
   15132 done
   15133 
   15134 
   15135 for ac_header in valgrind/valgrind.h
   15136 do
   15137 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   15138 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   15139   { echo "$as_me:$LINENO: checking for $ac_header" >&5
   15140 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   15141 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   15142   echo $ECHO_N "(cached) $ECHO_C" >&6
   15143 fi
   15144 ac_res=`eval echo '${'$as_ac_Header'}'`
   15145 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   15146 echo "${ECHO_T}$ac_res" >&6; }
   15147 else
   15148   # Is the header compilable?
   15149 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
   15150 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
   15151 cat >conftest.$ac_ext <<_ACEOF
   15152 /* confdefs.h.  */
   15153 _ACEOF
   15154 cat confdefs.h >>conftest.$ac_ext
   15155 cat >>conftest.$ac_ext <<_ACEOF
   15156 /* end confdefs.h.  */
   15157 $ac_includes_default
   15158 #include <$ac_header>
   15159 _ACEOF
   15160 rm -f conftest.$ac_objext
   15161 if { (ac_try="$ac_compile"
   15162 case "(($ac_try" in
   15163   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   15164   *) ac_try_echo=$ac_try;;
   15165 esac
   15166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   15167   (eval "$ac_compile") 2>conftest.er1
   15168   ac_status=$?
   15169   grep -v '^ *+' conftest.er1 >conftest.err
   15170   rm -f conftest.er1
   15171   cat conftest.err >&5
   15172   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15173   (exit $ac_status); } &&
   15174 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   15175   { (case "(($ac_try" in
   15176   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   15177   *) ac_try_echo=$ac_try;;
   15178 esac
   15179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   15180   (eval "$ac_try") 2>&5
   15181   ac_status=$?
   15182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15183   (exit $ac_status); }; } &&
   15184 	 { ac_try='test -s conftest.$ac_objext'
   15185   { (case "(($ac_try" in
   15186   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   15187   *) ac_try_echo=$ac_try;;
   15188 esac
   15189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   15190   (eval "$ac_try") 2>&5
   15191   ac_status=$?
   15192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15193   (exit $ac_status); }; }; then
   15194   ac_header_compiler=yes
   15195 else
   15196   echo "$as_me: failed program was:" >&5
   15197 sed 's/^/| /' conftest.$ac_ext >&5
   15198 
   15199 	ac_header_compiler=no
   15200 fi
   15201 
   15202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15203 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   15204 echo "${ECHO_T}$ac_header_compiler" >&6; }
   15205 
   15206 # Is the header present?
   15207 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
   15208 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
   15209 cat >conftest.$ac_ext <<_ACEOF
   15210 /* confdefs.h.  */
   15211 _ACEOF
   15212 cat confdefs.h >>conftest.$ac_ext
   15213 cat >>conftest.$ac_ext <<_ACEOF
   15214 /* end confdefs.h.  */
   15215 #include <$ac_header>
   15216 _ACEOF
   15217 if { (ac_try="$ac_cpp conftest.$ac_ext"
   15218 case "(($ac_try" in
   15219   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   15220   *) ac_try_echo=$ac_try;;
   15221 esac
   15222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   15223   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   15224   ac_status=$?
   15225   grep -v '^ *+' conftest.er1 >conftest.err
   15226   rm -f conftest.er1
   15227   cat conftest.err >&5
   15228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15229   (exit $ac_status); } >/dev/null; then
   15230   if test -s conftest.err; then
   15231     ac_cpp_err=$ac_c_preproc_warn_flag
   15232     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   15233   else
   15234     ac_cpp_err=
   15235   fi
   15236 else
   15237   ac_cpp_err=yes
   15238 fi
   15239 if test -z "$ac_cpp_err"; then
   15240   ac_header_preproc=yes
   15241 else
   15242   echo "$as_me: failed program was:" >&5
   15243 sed 's/^/| /' conftest.$ac_ext >&5
   15244 
   15245   ac_header_preproc=no
   15246 fi
   15247 
   15248 rm -f conftest.err conftest.$ac_ext
   15249 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   15250 echo "${ECHO_T}$ac_header_preproc" >&6; }
   15251 
   15252 # So?  What about this header?
   15253 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   15254   yes:no: )
   15255     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   15256 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   15257     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   15258 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   15259     ac_header_preproc=yes
   15260     ;;
   15261   no:yes:* )
   15262     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   15263 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   15264     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   15265 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   15266     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   15267 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   15268     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   15269 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   15270     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   15271 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   15272     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   15273 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   15274     ( cat <<\_ASBOX
   15275 ## ------------------------------ ##
   15276 ## Report this to bugs@yourdomain ##
   15277 ## ------------------------------ ##
   15278 _ASBOX
   15279      ) | sed "s/^/$as_me: WARNING:     /" >&2
   15280     ;;
   15281 esac
   15282 { echo "$as_me:$LINENO: checking for $ac_header" >&5
   15283 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   15284 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   15285   echo $ECHO_N "(cached) $ECHO_C" >&6
   15286 else
   15287   eval "$as_ac_Header=\$ac_header_preproc"
   15288 fi
   15289 ac_res=`eval echo '${'$as_ac_Header'}'`
   15290 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   15291 echo "${ECHO_T}$ac_res" >&6; }
   15292 
   15293 fi
   15294 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   15295   cat >>confdefs.h <<_ACEOF
   15296 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   15297 _ACEOF
   15298 
   15299 fi
   15300 
   15301 done
   15302 
   15303 
   15304 for ac_header in fenv.h
   15305 do
   15306 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   15307 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   15308   { echo "$as_me:$LINENO: checking for $ac_header" >&5
   15309 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   15310 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   15311   echo $ECHO_N "(cached) $ECHO_C" >&6
   15312 fi
   15313 ac_res=`eval echo '${'$as_ac_Header'}'`
   15314 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   15315 echo "${ECHO_T}$ac_res" >&6; }
   15316 else
   15317   # Is the header compilable?
   15318 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
   15319 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
   15320 cat >conftest.$ac_ext <<_ACEOF
   15321 /* confdefs.h.  */
   15322 _ACEOF
   15323 cat confdefs.h >>conftest.$ac_ext
   15324 cat >>conftest.$ac_ext <<_ACEOF
   15325 /* end confdefs.h.  */
   15326 $ac_includes_default
   15327 #include <$ac_header>
   15328 _ACEOF
   15329 rm -f conftest.$ac_objext
   15330 if { (ac_try="$ac_compile"
   15331 case "(($ac_try" in
   15332   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   15333   *) ac_try_echo=$ac_try;;
   15334 esac
   15335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   15336   (eval "$ac_compile") 2>conftest.er1
   15337   ac_status=$?
   15338   grep -v '^ *+' conftest.er1 >conftest.err
   15339   rm -f conftest.er1
   15340   cat conftest.err >&5
   15341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15342   (exit $ac_status); } &&
   15343 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   15344   { (case "(($ac_try" in
   15345   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   15346   *) ac_try_echo=$ac_try;;
   15347 esac
   15348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   15349   (eval "$ac_try") 2>&5
   15350   ac_status=$?
   15351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15352   (exit $ac_status); }; } &&
   15353 	 { ac_try='test -s conftest.$ac_objext'
   15354   { (case "(($ac_try" in
   15355   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   15356   *) ac_try_echo=$ac_try;;
   15357 esac
   15358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   15359   (eval "$ac_try") 2>&5
   15360   ac_status=$?
   15361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15362   (exit $ac_status); }; }; then
   15363   ac_header_compiler=yes
   15364 else
   15365   echo "$as_me: failed program was:" >&5
   15366 sed 's/^/| /' conftest.$ac_ext >&5
   15367 
   15368 	ac_header_compiler=no
   15369 fi
   15370 
   15371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15372 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   15373 echo "${ECHO_T}$ac_header_compiler" >&6; }
   15374 
   15375 # Is the header present?
   15376 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
   15377 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
   15378 cat >conftest.$ac_ext <<_ACEOF
   15379 /* confdefs.h.  */
   15380 _ACEOF
   15381 cat confdefs.h >>conftest.$ac_ext
   15382 cat >>conftest.$ac_ext <<_ACEOF
   15383 /* end confdefs.h.  */
   15384 #include <$ac_header>
   15385 _ACEOF
   15386 if { (ac_try="$ac_cpp conftest.$ac_ext"
   15387 case "(($ac_try" in
   15388   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   15389   *) ac_try_echo=$ac_try;;
   15390 esac
   15391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   15392   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   15393   ac_status=$?
   15394   grep -v '^ *+' conftest.er1 >conftest.err
   15395   rm -f conftest.er1
   15396   cat conftest.err >&5
   15397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15398   (exit $ac_status); } >/dev/null; then
   15399   if test -s conftest.err; then
   15400     ac_cpp_err=$ac_c_preproc_warn_flag
   15401     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   15402   else
   15403     ac_cpp_err=
   15404   fi
   15405 else
   15406   ac_cpp_err=yes
   15407 fi
   15408 if test -z "$ac_cpp_err"; then
   15409   ac_header_preproc=yes
   15410 else
   15411   echo "$as_me: failed program was:" >&5
   15412 sed 's/^/| /' conftest.$ac_ext >&5
   15413 
   15414   ac_header_preproc=no
   15415 fi
   15416 
   15417 rm -f conftest.err conftest.$ac_ext
   15418 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   15419 echo "${ECHO_T}$ac_header_preproc" >&6; }
   15420 
   15421 # So?  What about this header?
   15422 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   15423   yes:no: )
   15424     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   15425 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   15426     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   15427 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   15428     ac_header_preproc=yes
   15429     ;;
   15430   no:yes:* )
   15431     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   15432 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   15433     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   15434 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   15435     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   15436 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   15437     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   15438 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   15439     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   15440 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   15441     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   15442 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   15443     ( cat <<\_ASBOX
   15444 ## ------------------------------ ##
   15445 ## Report this to bugs@yourdomain ##
   15446 ## ------------------------------ ##
   15447 _ASBOX
   15448      ) | sed "s/^/$as_me: WARNING:     /" >&2
   15449     ;;
   15450 esac
   15451 { echo "$as_me:$LINENO: checking for $ac_header" >&5
   15452 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   15453 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   15454   echo $ECHO_N "(cached) $ECHO_C" >&6
   15455 else
   15456   eval "$as_ac_Header=\$ac_header_preproc"
   15457 fi
   15458 ac_res=`eval echo '${'$as_ac_Header'}'`
   15459 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   15460 echo "${ECHO_T}$ac_res" >&6; }
   15461 
   15462 fi
   15463 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   15464   cat >>confdefs.h <<_ACEOF
   15465 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   15466 _ACEOF
   15467 
   15468 fi
   15469 
   15470 done
   15471 
   15472 if test "$ENABLE_THREADS" -eq 1 && test "$ENABLE_PTHREADS" -eq 1 ; then
   15473 
   15474 for ac_header in pthread.h
   15475 do
   15476 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   15477 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   15478   { echo "$as_me:$LINENO: checking for $ac_header" >&5
   15479 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   15480 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   15481   echo $ECHO_N "(cached) $ECHO_C" >&6
   15482 fi
   15483 ac_res=`eval echo '${'$as_ac_Header'}'`
   15484 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   15485 echo "${ECHO_T}$ac_res" >&6; }
   15486 else
   15487   # Is the header compilable?
   15488 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
   15489 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
   15490 cat >conftest.$ac_ext <<_ACEOF
   15491 /* confdefs.h.  */
   15492 _ACEOF
   15493 cat confdefs.h >>conftest.$ac_ext
   15494 cat >>conftest.$ac_ext <<_ACEOF
   15495 /* end confdefs.h.  */
   15496 $ac_includes_default
   15497 #include <$ac_header>
   15498 _ACEOF
   15499 rm -f conftest.$ac_objext
   15500 if { (ac_try="$ac_compile"
   15501 case "(($ac_try" in
   15502   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   15503   *) ac_try_echo=$ac_try;;
   15504 esac
   15505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   15506   (eval "$ac_compile") 2>conftest.er1
   15507   ac_status=$?
   15508   grep -v '^ *+' conftest.er1 >conftest.err
   15509   rm -f conftest.er1
   15510   cat conftest.err >&5
   15511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15512   (exit $ac_status); } &&
   15513 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   15514   { (case "(($ac_try" in
   15515   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   15516   *) ac_try_echo=$ac_try;;
   15517 esac
   15518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   15519   (eval "$ac_try") 2>&5
   15520   ac_status=$?
   15521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15522   (exit $ac_status); }; } &&
   15523 	 { ac_try='test -s conftest.$ac_objext'
   15524   { (case "(($ac_try" in
   15525   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   15526   *) ac_try_echo=$ac_try;;
   15527 esac
   15528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   15529   (eval "$ac_try") 2>&5
   15530   ac_status=$?
   15531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15532   (exit $ac_status); }; }; then
   15533   ac_header_compiler=yes
   15534 else
   15535   echo "$as_me: failed program was:" >&5
   15536 sed 's/^/| /' conftest.$ac_ext >&5
   15537 
   15538 	ac_header_compiler=no
   15539 fi
   15540 
   15541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15542 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   15543 echo "${ECHO_T}$ac_header_compiler" >&6; }
   15544 
   15545 # Is the header present?
   15546 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
   15547 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
   15548 cat >conftest.$ac_ext <<_ACEOF
   15549 /* confdefs.h.  */
   15550 _ACEOF
   15551 cat confdefs.h >>conftest.$ac_ext
   15552 cat >>conftest.$ac_ext <<_ACEOF
   15553 /* end confdefs.h.  */
   15554 #include <$ac_header>
   15555 _ACEOF
   15556 if { (ac_try="$ac_cpp conftest.$ac_ext"
   15557 case "(($ac_try" in
   15558   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   15559   *) ac_try_echo=$ac_try;;
   15560 esac
   15561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   15562   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   15563   ac_status=$?
   15564   grep -v '^ *+' conftest.er1 >conftest.err
   15565   rm -f conftest.er1
   15566   cat conftest.err >&5
   15567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15568   (exit $ac_status); } >/dev/null; then
   15569   if test -s conftest.err; then
   15570     ac_cpp_err=$ac_c_preproc_warn_flag
   15571     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   15572   else
   15573     ac_cpp_err=
   15574   fi
   15575 else
   15576   ac_cpp_err=yes
   15577 fi
   15578 if test -z "$ac_cpp_err"; then
   15579   ac_header_preproc=yes
   15580 else
   15581   echo "$as_me: failed program was:" >&5
   15582 sed 's/^/| /' conftest.$ac_ext >&5
   15583 
   15584   ac_header_preproc=no
   15585 fi
   15586 
   15587 rm -f conftest.err conftest.$ac_ext
   15588 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   15589 echo "${ECHO_T}$ac_header_preproc" >&6; }
   15590 
   15591 # So?  What about this header?
   15592 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   15593   yes:no: )
   15594     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   15595 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   15596     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   15597 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   15598     ac_header_preproc=yes
   15599     ;;
   15600   no:yes:* )
   15601     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   15602 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   15603     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   15604 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   15605     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   15606 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   15607     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   15608 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   15609     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   15610 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   15611     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   15612 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   15613     ( cat <<\_ASBOX
   15614 ## ------------------------------ ##
   15615 ## Report this to bugs@yourdomain ##
   15616 ## ------------------------------ ##
   15617 _ASBOX
   15618      ) | sed "s/^/$as_me: WARNING:     /" >&2
   15619     ;;
   15620 esac
   15621 { echo "$as_me:$LINENO: checking for $ac_header" >&5
   15622 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   15623 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   15624   echo $ECHO_N "(cached) $ECHO_C" >&6
   15625 else
   15626   eval "$as_ac_Header=\$ac_header_preproc"
   15627 fi
   15628 ac_res=`eval echo '${'$as_ac_Header'}'`
   15629 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   15630 echo "${ECHO_T}$ac_res" >&6; }
   15631 
   15632 fi
   15633 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   15634   cat >>confdefs.h <<_ACEOF
   15635 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   15636 _ACEOF
   15637  HAVE_PTHREAD=1
   15638 
   15639 else
   15640   HAVE_PTHREAD=0
   15641 
   15642 fi
   15643 
   15644 done
   15645 
   15646 else
   15647   HAVE_PTHREAD=0
   15648 
   15649 fi
   15650 
   15651 if test "$llvm_cv_enable_libffi" = "yes" ; then
   15652 
   15653 
   15654 for ac_header in ffi.h ffi/ffi.h
   15655 do
   15656 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   15657 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   15658   { echo "$as_me:$LINENO: checking for $ac_header" >&5
   15659 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   15660 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   15661   echo $ECHO_N "(cached) $ECHO_C" >&6
   15662 fi
   15663 ac_res=`eval echo '${'$as_ac_Header'}'`
   15664 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   15665 echo "${ECHO_T}$ac_res" >&6; }
   15666 else
   15667   # Is the header compilable?
   15668 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
   15669 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
   15670 cat >conftest.$ac_ext <<_ACEOF
   15671 /* confdefs.h.  */
   15672 _ACEOF
   15673 cat confdefs.h >>conftest.$ac_ext
   15674 cat >>conftest.$ac_ext <<_ACEOF
   15675 /* end confdefs.h.  */
   15676 $ac_includes_default
   15677 #include <$ac_header>
   15678 _ACEOF
   15679 rm -f conftest.$ac_objext
   15680 if { (ac_try="$ac_compile"
   15681 case "(($ac_try" in
   15682   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   15683   *) ac_try_echo=$ac_try;;
   15684 esac
   15685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   15686   (eval "$ac_compile") 2>conftest.er1
   15687   ac_status=$?
   15688   grep -v '^ *+' conftest.er1 >conftest.err
   15689   rm -f conftest.er1
   15690   cat conftest.err >&5
   15691   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15692   (exit $ac_status); } &&
   15693 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   15694   { (case "(($ac_try" in
   15695   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   15696   *) ac_try_echo=$ac_try;;
   15697 esac
   15698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   15699   (eval "$ac_try") 2>&5
   15700   ac_status=$?
   15701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15702   (exit $ac_status); }; } &&
   15703 	 { ac_try='test -s conftest.$ac_objext'
   15704   { (case "(($ac_try" in
   15705   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   15706   *) ac_try_echo=$ac_try;;
   15707 esac
   15708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   15709   (eval "$ac_try") 2>&5
   15710   ac_status=$?
   15711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15712   (exit $ac_status); }; }; then
   15713   ac_header_compiler=yes
   15714 else
   15715   echo "$as_me: failed program was:" >&5
   15716 sed 's/^/| /' conftest.$ac_ext >&5
   15717 
   15718 	ac_header_compiler=no
   15719 fi
   15720 
   15721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15722 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   15723 echo "${ECHO_T}$ac_header_compiler" >&6; }
   15724 
   15725 # Is the header present?
   15726 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
   15727 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
   15728 cat >conftest.$ac_ext <<_ACEOF
   15729 /* confdefs.h.  */
   15730 _ACEOF
   15731 cat confdefs.h >>conftest.$ac_ext
   15732 cat >>conftest.$ac_ext <<_ACEOF
   15733 /* end confdefs.h.  */
   15734 #include <$ac_header>
   15735 _ACEOF
   15736 if { (ac_try="$ac_cpp conftest.$ac_ext"
   15737 case "(($ac_try" in
   15738   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   15739   *) ac_try_echo=$ac_try;;
   15740 esac
   15741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   15742   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   15743   ac_status=$?
   15744   grep -v '^ *+' conftest.er1 >conftest.err
   15745   rm -f conftest.er1
   15746   cat conftest.err >&5
   15747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15748   (exit $ac_status); } >/dev/null; then
   15749   if test -s conftest.err; then
   15750     ac_cpp_err=$ac_c_preproc_warn_flag
   15751     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   15752   else
   15753     ac_cpp_err=
   15754   fi
   15755 else
   15756   ac_cpp_err=yes
   15757 fi
   15758 if test -z "$ac_cpp_err"; then
   15759   ac_header_preproc=yes
   15760 else
   15761   echo "$as_me: failed program was:" >&5
   15762 sed 's/^/| /' conftest.$ac_ext >&5
   15763 
   15764   ac_header_preproc=no
   15765 fi
   15766 
   15767 rm -f conftest.err conftest.$ac_ext
   15768 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   15769 echo "${ECHO_T}$ac_header_preproc" >&6; }
   15770 
   15771 # So?  What about this header?
   15772 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   15773   yes:no: )
   15774     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   15775 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   15776     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   15777 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   15778     ac_header_preproc=yes
   15779     ;;
   15780   no:yes:* )
   15781     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   15782 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   15783     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   15784 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   15785     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   15786 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   15787     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   15788 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   15789     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   15790 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   15791     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   15792 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   15793     ( cat <<\_ASBOX
   15794 ## ------------------------------ ##
   15795 ## Report this to bugs@yourdomain ##
   15796 ## ------------------------------ ##
   15797 _ASBOX
   15798      ) | sed "s/^/$as_me: WARNING:     /" >&2
   15799     ;;
   15800 esac
   15801 { echo "$as_me:$LINENO: checking for $ac_header" >&5
   15802 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   15803 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   15804   echo $ECHO_N "(cached) $ECHO_C" >&6
   15805 else
   15806   eval "$as_ac_Header=\$ac_header_preproc"
   15807 fi
   15808 ac_res=`eval echo '${'$as_ac_Header'}'`
   15809 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   15810 echo "${ECHO_T}$ac_res" >&6; }
   15811 
   15812 fi
   15813 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   15814   cat >>confdefs.h <<_ACEOF
   15815 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   15816 _ACEOF
   15817 
   15818 fi
   15819 
   15820 done
   15821 
   15822 fi
   15823 
   15824 
   15825 for ac_header in CrashReporterClient.h
   15826 do
   15827 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   15828 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   15829   { echo "$as_me:$LINENO: checking for $ac_header" >&5
   15830 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   15831 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   15832   echo $ECHO_N "(cached) $ECHO_C" >&6
   15833 fi
   15834 ac_res=`eval echo '${'$as_ac_Header'}'`
   15835 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   15836 echo "${ECHO_T}$ac_res" >&6; }
   15837 else
   15838   # Is the header compilable?
   15839 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
   15840 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
   15841 cat >conftest.$ac_ext <<_ACEOF
   15842 /* confdefs.h.  */
   15843 _ACEOF
   15844 cat confdefs.h >>conftest.$ac_ext
   15845 cat >>conftest.$ac_ext <<_ACEOF
   15846 /* end confdefs.h.  */
   15847 $ac_includes_default
   15848 #include <$ac_header>
   15849 _ACEOF
   15850 rm -f conftest.$ac_objext
   15851 if { (ac_try="$ac_compile"
   15852 case "(($ac_try" in
   15853   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   15854   *) ac_try_echo=$ac_try;;
   15855 esac
   15856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   15857   (eval "$ac_compile") 2>conftest.er1
   15858   ac_status=$?
   15859   grep -v '^ *+' conftest.er1 >conftest.err
   15860   rm -f conftest.er1
   15861   cat conftest.err >&5
   15862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15863   (exit $ac_status); } &&
   15864 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   15865   { (case "(($ac_try" in
   15866   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   15867   *) ac_try_echo=$ac_try;;
   15868 esac
   15869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   15870   (eval "$ac_try") 2>&5
   15871   ac_status=$?
   15872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15873   (exit $ac_status); }; } &&
   15874 	 { ac_try='test -s conftest.$ac_objext'
   15875   { (case "(($ac_try" in
   15876   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   15877   *) ac_try_echo=$ac_try;;
   15878 esac
   15879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   15880   (eval "$ac_try") 2>&5
   15881   ac_status=$?
   15882   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15883   (exit $ac_status); }; }; then
   15884   ac_header_compiler=yes
   15885 else
   15886   echo "$as_me: failed program was:" >&5
   15887 sed 's/^/| /' conftest.$ac_ext >&5
   15888 
   15889 	ac_header_compiler=no
   15890 fi
   15891 
   15892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15893 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   15894 echo "${ECHO_T}$ac_header_compiler" >&6; }
   15895 
   15896 # Is the header present?
   15897 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
   15898 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
   15899 cat >conftest.$ac_ext <<_ACEOF
   15900 /* confdefs.h.  */
   15901 _ACEOF
   15902 cat confdefs.h >>conftest.$ac_ext
   15903 cat >>conftest.$ac_ext <<_ACEOF
   15904 /* end confdefs.h.  */
   15905 #include <$ac_header>
   15906 _ACEOF
   15907 if { (ac_try="$ac_cpp conftest.$ac_ext"
   15908 case "(($ac_try" in
   15909   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   15910   *) ac_try_echo=$ac_try;;
   15911 esac
   15912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   15913   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   15914   ac_status=$?
   15915   grep -v '^ *+' conftest.er1 >conftest.err
   15916   rm -f conftest.er1
   15917   cat conftest.err >&5
   15918   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15919   (exit $ac_status); } >/dev/null; then
   15920   if test -s conftest.err; then
   15921     ac_cpp_err=$ac_c_preproc_warn_flag
   15922     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   15923   else
   15924     ac_cpp_err=
   15925   fi
   15926 else
   15927   ac_cpp_err=yes
   15928 fi
   15929 if test -z "$ac_cpp_err"; then
   15930   ac_header_preproc=yes
   15931 else
   15932   echo "$as_me: failed program was:" >&5
   15933 sed 's/^/| /' conftest.$ac_ext >&5
   15934 
   15935   ac_header_preproc=no
   15936 fi
   15937 
   15938 rm -f conftest.err conftest.$ac_ext
   15939 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   15940 echo "${ECHO_T}$ac_header_preproc" >&6; }
   15941 
   15942 # So?  What about this header?
   15943 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   15944   yes:no: )
   15945     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   15946 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   15947     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   15948 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   15949     ac_header_preproc=yes
   15950     ;;
   15951   no:yes:* )
   15952     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   15953 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   15954     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   15955 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   15956     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   15957 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   15958     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   15959 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   15960     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   15961 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   15962     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   15963 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   15964     ( cat <<\_ASBOX
   15965 ## ------------------------------ ##
   15966 ## Report this to bugs@yourdomain ##
   15967 ## ------------------------------ ##
   15968 _ASBOX
   15969      ) | sed "s/^/$as_me: WARNING:     /" >&2
   15970     ;;
   15971 esac
   15972 { echo "$as_me:$LINENO: checking for $ac_header" >&5
   15973 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   15974 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   15975   echo $ECHO_N "(cached) $ECHO_C" >&6
   15976 else
   15977   eval "$as_ac_Header=\$ac_header_preproc"
   15978 fi
   15979 ac_res=`eval echo '${'$as_ac_Header'}'`
   15980 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   15981 echo "${ECHO_T}$ac_res" >&6; }
   15982 
   15983 fi
   15984 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   15985   cat >>confdefs.h <<_ACEOF
   15986 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   15987 _ACEOF
   15988 
   15989 fi
   15990 
   15991 done
   15992 
   15993 
   15994 { echo "$as_me:$LINENO: checking __crashreporter_info__" >&5
   15995 echo $ECHO_N "checking __crashreporter_info__... $ECHO_C" >&6; }
   15996 cat >conftest.$ac_ext <<_ACEOF
   15997 /* confdefs.h.  */
   15998 _ACEOF
   15999 cat confdefs.h >>conftest.$ac_ext
   16000 cat >>conftest.$ac_ext <<_ACEOF
   16001 /* end confdefs.h.  */
   16002 extern const char *__crashreporter_info__;
   16003       int main() {
   16004         __crashreporter_info__ = "test";
   16005         return 0;
   16006       }
   16007 
   16008 _ACEOF
   16009 rm -f conftest.$ac_objext conftest$ac_exeext
   16010 if { (ac_try="$ac_link"
   16011 case "(($ac_try" in
   16012   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   16013   *) ac_try_echo=$ac_try;;
   16014 esac
   16015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   16016   (eval "$ac_link") 2>conftest.er1
   16017   ac_status=$?
   16018   grep -v '^ *+' conftest.er1 >conftest.err
   16019   rm -f conftest.er1
   16020   cat conftest.err >&5
   16021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   16022   (exit $ac_status); } &&
   16023 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   16024   { (case "(($ac_try" in
   16025   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   16026   *) ac_try_echo=$ac_try;;
   16027 esac
   16028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   16029   (eval "$ac_try") 2>&5
   16030   ac_status=$?
   16031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   16032   (exit $ac_status); }; } &&
   16033 	 { ac_try='test -s conftest$ac_exeext'
   16034   { (case "(($ac_try" in
   16035   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   16036   *) ac_try_echo=$ac_try;;
   16037 esac
   16038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   16039   (eval "$ac_try") 2>&5
   16040   ac_status=$?
   16041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   16042   (exit $ac_status); }; }; then
   16043   { echo "$as_me:$LINENO: result: yes" >&5
   16044 echo "${ECHO_T}yes" >&6; }
   16045 
   16046 cat >>confdefs.h <<\_ACEOF
   16047 #define HAVE_CRASHREPORTER_INFO 1
   16048 _ACEOF
   16049 
   16050 else
   16051   echo "$as_me: failed program was:" >&5
   16052 sed 's/^/| /' conftest.$ac_ext >&5
   16053 
   16054 	{ echo "$as_me:$LINENO: result: no" >&5
   16055 echo "${ECHO_T}no" >&6; }
   16056 
   16057 cat >>confdefs.h <<\_ACEOF
   16058 #define HAVE_CRASHREPORTER_INFO 0
   16059 _ACEOF
   16060 
   16061 fi
   16062 
   16063 rm -f core conftest.err conftest.$ac_objext \
   16064       conftest$ac_exeext conftest.$ac_ext
   16065 
   16066 
   16067 
   16068 
   16069   { echo "$as_me:$LINENO: checking for HUGE_VAL sanity" >&5
   16070 echo $ECHO_N "checking for HUGE_VAL sanity... $ECHO_C" >&6; }
   16071 if test "${ac_cv_huge_val_sanity+set}" = set; then
   16072   echo $ECHO_N "(cached) $ECHO_C" >&6
   16073 else
   16074 
   16075     ac_ext=cpp
   16076 ac_cpp='$CXXCPP $CPPFLAGS'
   16077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   16078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   16079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   16080 
   16081     ac_save_CXXFLAGS=$CXXFLAGS
   16082     CXXFLAGS=-pedantic
   16083     if test "$cross_compiling" = yes; then
   16084   ac_cv_huge_val_sanity=yes
   16085 else
   16086   cat >conftest.$ac_ext <<_ACEOF
   16087 /* confdefs.h.  */
   16088 _ACEOF
   16089 cat confdefs.h >>conftest.$ac_ext
   16090 cat >>conftest.$ac_ext <<_ACEOF
   16091 /* end confdefs.h.  */
   16092 #include <math.h>
   16093 int
   16094 main ()
   16095 {
   16096 double x = HUGE_VAL; return x != x;
   16097   ;
   16098   return 0;
   16099 }
   16100 _ACEOF
   16101 rm -f conftest$ac_exeext
   16102 if { (ac_try="$ac_link"
   16103 case "(($ac_try" in
   16104   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   16105   *) ac_try_echo=$ac_try;;
   16106 esac
   16107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   16108   (eval "$ac_link") 2>&5
   16109   ac_status=$?
   16110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   16111   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   16112   { (case "(($ac_try" in
   16113   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   16114   *) ac_try_echo=$ac_try;;
   16115 esac
   16116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   16117   (eval "$ac_try") 2>&5
   16118   ac_status=$?
   16119   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   16120   (exit $ac_status); }; }; then
   16121   ac_cv_huge_val_sanity=yes
   16122 else
   16123   echo "$as_me: program exited with status $ac_status" >&5
   16124 echo "$as_me: failed program was:" >&5
   16125 sed 's/^/| /' conftest.$ac_ext >&5
   16126 
   16127 ( exit $ac_status )
   16128 ac_cv_huge_val_sanity=no
   16129 fi
   16130 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   16131 fi
   16132 
   16133 
   16134     CXXFLAGS=$ac_save_CXXFLAGS
   16135     ac_ext=c
   16136 ac_cpp='$CPP $CPPFLAGS'
   16137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   16138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   16139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   16140 
   16141 
   16142 fi
   16143 { echo "$as_me:$LINENO: result: $ac_cv_huge_val_sanity" >&5
   16144 echo "${ECHO_T}$ac_cv_huge_val_sanity" >&6; }
   16145   HUGE_VAL_SANITY=$ac_cv_huge_val_sanity
   16146 
   16147 
   16148 { echo "$as_me:$LINENO: checking for pid_t" >&5
   16149 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
   16150 if test "${ac_cv_type_pid_t+set}" = set; then
   16151   echo $ECHO_N "(cached) $ECHO_C" >&6
   16152 else
   16153   cat >conftest.$ac_ext <<_ACEOF
   16154 /* confdefs.h.  */
   16155 _ACEOF
   16156 cat confdefs.h >>conftest.$ac_ext
   16157 cat >>conftest.$ac_ext <<_ACEOF
   16158 /* end confdefs.h.  */
   16159 $ac_includes_default
   16160 typedef pid_t ac__type_new_;
   16161 int
   16162 main ()
   16163 {
   16164 if ((ac__type_new_ *) 0)
   16165   return 0;
   16166 if (sizeof (ac__type_new_))
   16167   return 0;
   16168   ;
   16169   return 0;
   16170 }
   16171 _ACEOF
   16172 rm -f conftest.$ac_objext
   16173 if { (ac_try="$ac_compile"
   16174 case "(($ac_try" in
   16175   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   16176   *) ac_try_echo=$ac_try;;
   16177 esac
   16178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   16179   (eval "$ac_compile") 2>conftest.er1
   16180   ac_status=$?
   16181   grep -v '^ *+' conftest.er1 >conftest.err
   16182   rm -f conftest.er1
   16183   cat conftest.err >&5
   16184   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   16185   (exit $ac_status); } &&
   16186 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   16187   { (case "(($ac_try" in
   16188   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   16189   *) ac_try_echo=$ac_try;;
   16190 esac
   16191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   16192   (eval "$ac_try") 2>&5
   16193   ac_status=$?
   16194   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   16195   (exit $ac_status); }; } &&
   16196 	 { ac_try='test -s conftest.$ac_objext'
   16197   { (case "(($ac_try" in
   16198   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   16199   *) ac_try_echo=$ac_try;;
   16200 esac
   16201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   16202   (eval "$ac_try") 2>&5
   16203   ac_status=$?
   16204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   16205   (exit $ac_status); }; }; then
   16206   ac_cv_type_pid_t=yes
   16207 else
   16208   echo "$as_me: failed program was:" >&5
   16209 sed 's/^/| /' conftest.$ac_ext >&5
   16210 
   16211 	ac_cv_type_pid_t=no
   16212 fi
   16213 
   16214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16215 fi
   16216 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
   16217 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
   16218 if test $ac_cv_type_pid_t = yes; then
   16219   :
   16220 else
   16221 
   16222 cat >>confdefs.h <<_ACEOF
   16223 #define pid_t int
   16224 _ACEOF
   16225 
   16226 fi
   16227 
   16228 { echo "$as_me:$LINENO: checking for size_t" >&5
   16229 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
   16230 if test "${ac_cv_type_size_t+set}" = set; then
   16231   echo $ECHO_N "(cached) $ECHO_C" >&6
   16232 else
   16233   cat >conftest.$ac_ext <<_ACEOF
   16234 /* confdefs.h.  */
   16235 _ACEOF
   16236 cat confdefs.h >>conftest.$ac_ext
   16237 cat >>conftest.$ac_ext <<_ACEOF
   16238 /* end confdefs.h.  */
   16239 $ac_includes_default
   16240 typedef size_t ac__type_new_;
   16241 int
   16242 main ()
   16243 {
   16244 if ((ac__type_new_ *) 0)
   16245   return 0;
   16246 if (sizeof (ac__type_new_))
   16247   return 0;
   16248   ;
   16249   return 0;
   16250 }
   16251 _ACEOF
   16252 rm -f conftest.$ac_objext
   16253 if { (ac_try="$ac_compile"
   16254 case "(($ac_try" in
   16255   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   16256   *) ac_try_echo=$ac_try;;
   16257 esac
   16258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   16259   (eval "$ac_compile") 2>conftest.er1
   16260   ac_status=$?
   16261   grep -v '^ *+' conftest.er1 >conftest.err
   16262   rm -f conftest.er1
   16263   cat conftest.err >&5
   16264   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   16265   (exit $ac_status); } &&
   16266 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   16267   { (case "(($ac_try" in
   16268   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   16269   *) ac_try_echo=$ac_try;;
   16270 esac
   16271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   16272   (eval "$ac_try") 2>&5
   16273   ac_status=$?
   16274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   16275   (exit $ac_status); }; } &&
   16276 	 { ac_try='test -s conftest.$ac_objext'
   16277   { (case "(($ac_try" in
   16278   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   16279   *) ac_try_echo=$ac_try;;
   16280 esac
   16281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   16282   (eval "$ac_try") 2>&5
   16283   ac_status=$?
   16284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   16285   (exit $ac_status); }; }; then
   16286   ac_cv_type_size_t=yes
   16287 else
   16288   echo "$as_me: failed program was:" >&5
   16289 sed 's/^/| /' conftest.$ac_ext >&5
   16290 
   16291 	ac_cv_type_size_t=no
   16292 fi
   16293 
   16294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16295 fi
   16296 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
   16297 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
   16298 if test $ac_cv_type_size_t = yes; then
   16299   :
   16300 else
   16301 
   16302 cat >>confdefs.h <<_ACEOF
   16303 #define size_t unsigned int
   16304 _ACEOF
   16305 
   16306 fi
   16307 
   16308 
   16309 cat >>confdefs.h <<_ACEOF
   16310 #define RETSIGTYPE void
   16311 _ACEOF
   16312 
   16313 { echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
   16314 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
   16315 if test "${ac_cv_struct_tm+set}" = set; then
   16316   echo $ECHO_N "(cached) $ECHO_C" >&6
   16317 else
   16318   cat >conftest.$ac_ext <<_ACEOF
   16319 /* confdefs.h.  */
   16320 _ACEOF
   16321 cat confdefs.h >>conftest.$ac_ext
   16322 cat >>conftest.$ac_ext <<_ACEOF
   16323 /* end confdefs.h.  */
   16324 #include <sys/types.h>
   16325 #include <time.h>
   16326 
   16327 int
   16328 main ()
   16329 {
   16330 struct tm *tp; tp->tm_sec;
   16331   ;
   16332   return 0;
   16333 }
   16334 _ACEOF
   16335 rm -f conftest.$ac_objext
   16336 if { (ac_try="$ac_compile"
   16337 case "(($ac_try" in
   16338   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   16339   *) ac_try_echo=$ac_try;;
   16340 esac
   16341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   16342   (eval "$ac_compile") 2>conftest.er1
   16343   ac_status=$?
   16344   grep -v '^ *+' conftest.er1 >conftest.err
   16345   rm -f conftest.er1
   16346   cat conftest.err >&5
   16347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   16348   (exit $ac_status); } &&
   16349 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   16350   { (case "(($ac_try" in
   16351   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   16352   *) ac_try_echo=$ac_try;;
   16353 esac
   16354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   16355   (eval "$ac_try") 2>&5
   16356   ac_status=$?
   16357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   16358   (exit $ac_status); }; } &&
   16359 	 { ac_try='test -s conftest.$ac_objext'
   16360   { (case "(($ac_try" in
   16361   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   16362   *) ac_try_echo=$ac_try;;
   16363 esac
   16364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   16365   (eval "$ac_try") 2>&5
   16366   ac_status=$?
   16367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   16368   (exit $ac_status); }; }; then
   16369   ac_cv_struct_tm=time.h
   16370 else
   16371   echo "$as_me: failed program was:" >&5
   16372 sed 's/^/| /' conftest.$ac_ext >&5
   16373 
   16374 	ac_cv_struct_tm=sys/time.h
   16375 fi
   16376 
   16377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16378 fi
   16379 { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
   16380 echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
   16381 if test $ac_cv_struct_tm = sys/time.h; then
   16382 
   16383 cat >>confdefs.h <<\_ACEOF
   16384 #define TM_IN_SYS_TIME 1
   16385 _ACEOF
   16386 
   16387 fi
   16388 
   16389 { echo "$as_me:$LINENO: checking for int64_t" >&5
   16390 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6; }
   16391 if test "${ac_cv_type_int64_t+set}" = set; then
   16392   echo $ECHO_N "(cached) $ECHO_C" >&6
   16393 else
   16394   cat >conftest.$ac_ext <<_ACEOF
   16395 /* confdefs.h.  */
   16396 _ACEOF
   16397 cat confdefs.h >>conftest.$ac_ext
   16398 cat >>conftest.$ac_ext <<_ACEOF
   16399 /* end confdefs.h.  */
   16400 $ac_includes_default
   16401 typedef int64_t ac__type_new_;
   16402 int
   16403 main ()
   16404 {
   16405 if ((ac__type_new_ *) 0)
   16406   return 0;
   16407 if (sizeof (ac__type_new_))
   16408   return 0;
   16409   ;
   16410   return 0;
   16411 }
   16412 _ACEOF
   16413 rm -f conftest.$ac_objext
   16414 if { (ac_try="$ac_compile"
   16415 case "(($ac_try" in
   16416   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   16417   *) ac_try_echo=$ac_try;;
   16418 esac
   16419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   16420   (eval "$ac_compile") 2>conftest.er1
   16421   ac_status=$?
   16422   grep -v '^ *+' conftest.er1 >conftest.err
   16423   rm -f conftest.er1
   16424   cat conftest.err >&5
   16425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   16426   (exit $ac_status); } &&
   16427 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   16428   { (case "(($ac_try" in
   16429   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   16430   *) ac_try_echo=$ac_try;;
   16431 esac
   16432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   16433   (eval "$ac_try") 2>&5
   16434   ac_status=$?
   16435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   16436   (exit $ac_status); }; } &&
   16437 	 { ac_try='test -s conftest.$ac_objext'
   16438   { (case "(($ac_try" in
   16439   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   16440   *) ac_try_echo=$ac_try;;
   16441 esac
   16442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   16443   (eval "$ac_try") 2>&5
   16444   ac_status=$?
   16445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   16446   (exit $ac_status); }; }; then
   16447   ac_cv_type_int64_t=yes
   16448 else
   16449   echo "$as_me: failed program was:" >&5
   16450 sed 's/^/| /' conftest.$ac_ext >&5
   16451 
   16452 	ac_cv_type_int64_t=no
   16453 fi
   16454 
   16455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16456 fi
   16457 { echo "$as_me:$LINENO: result: $ac_cv_type_int64_t" >&5
   16458 echo "${ECHO_T}$ac_cv_type_int64_t" >&6; }
   16459 if test $ac_cv_type_int64_t = yes; then
   16460 
   16461 cat >>confdefs.h <<_ACEOF
   16462 #define HAVE_INT64_T 1
   16463 _ACEOF
   16464 
   16465 
   16466 else
   16467   { { echo "$as_me:$LINENO: error: Type int64_t required but not found" >&5
   16468 echo "$as_me: error: Type int64_t required but not found" >&2;}
   16469    { (exit 1); exit 1; }; }
   16470 fi
   16471 
   16472 { echo "$as_me:$LINENO: checking for uint64_t" >&5
   16473 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6; }
   16474 if test "${ac_cv_type_uint64_t+set}" = set; then
   16475   echo $ECHO_N "(cached) $ECHO_C" >&6
   16476 else
   16477   cat >conftest.$ac_ext <<_ACEOF
   16478 /* confdefs.h.  */
   16479 _ACEOF
   16480 cat confdefs.h >>conftest.$ac_ext
   16481 cat >>conftest.$ac_ext <<_ACEOF
   16482 /* end confdefs.h.  */
   16483 $ac_includes_default
   16484 typedef uint64_t ac__type_new_;
   16485 int
   16486 main ()
   16487 {
   16488 if ((ac__type_new_ *) 0)
   16489   return 0;
   16490 if (sizeof (ac__type_new_))
   16491   return 0;
   16492   ;
   16493   return 0;
   16494 }
   16495 _ACEOF
   16496 rm -f conftest.$ac_objext
   16497 if { (ac_try="$ac_compile"
   16498 case "(($ac_try" in
   16499   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   16500   *) ac_try_echo=$ac_try;;
   16501 esac
   16502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   16503   (eval "$ac_compile") 2>conftest.er1
   16504   ac_status=$?
   16505   grep -v '^ *+' conftest.er1 >conftest.err
   16506   rm -f conftest.er1
   16507   cat conftest.err >&5
   16508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   16509   (exit $ac_status); } &&
   16510 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   16511   { (case "(($ac_try" in
   16512   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   16513   *) ac_try_echo=$ac_try;;
   16514 esac
   16515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   16516   (eval "$ac_try") 2>&5
   16517   ac_status=$?
   16518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   16519   (exit $ac_status); }; } &&
   16520 	 { ac_try='test -s conftest.$ac_objext'
   16521   { (case "(($ac_try" in
   16522   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   16523   *) ac_try_echo=$ac_try;;
   16524 esac
   16525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   16526   (eval "$ac_try") 2>&5
   16527   ac_status=$?
   16528   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   16529   (exit $ac_status); }; }; then
   16530   ac_cv_type_uint64_t=yes
   16531 else
   16532   echo "$as_me: failed program was:" >&5
   16533 sed 's/^/| /' conftest.$ac_ext >&5
   16534 
   16535 	ac_cv_type_uint64_t=no
   16536 fi
   16537 
   16538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16539 fi
   16540 { echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
   16541 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6; }
   16542 if test $ac_cv_type_uint64_t = yes; then
   16543 
   16544 cat >>confdefs.h <<_ACEOF
   16545 #define HAVE_UINT64_T 1
   16546 _ACEOF
   16547 
   16548 
   16549 else
   16550   { echo "$as_me:$LINENO: checking for u_int64_t" >&5
   16551 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6; }
   16552 if test "${ac_cv_type_u_int64_t+set}" = set; then
   16553   echo $ECHO_N "(cached) $ECHO_C" >&6
   16554 else
   16555   cat >conftest.$ac_ext <<_ACEOF
   16556 /* confdefs.h.  */
   16557 _ACEOF
   16558 cat confdefs.h >>conftest.$ac_ext
   16559 cat >>conftest.$ac_ext <<_ACEOF
   16560 /* end confdefs.h.  */
   16561 $ac_includes_default
   16562 typedef u_int64_t ac__type_new_;
   16563 int
   16564 main ()
   16565 {
   16566 if ((ac__type_new_ *) 0)
   16567   return 0;
   16568 if (sizeof (ac__type_new_))
   16569   return 0;
   16570   ;
   16571   return 0;
   16572 }
   16573 _ACEOF
   16574 rm -f conftest.$ac_objext
   16575 if { (ac_try="$ac_compile"
   16576 case "(($ac_try" in
   16577   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   16578   *) ac_try_echo=$ac_try;;
   16579 esac
   16580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   16581   (eval "$ac_compile") 2>conftest.er1
   16582   ac_status=$?
   16583   grep -v '^ *+' conftest.er1 >conftest.err
   16584   rm -f conftest.er1
   16585   cat conftest.err >&5
   16586   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   16587   (exit $ac_status); } &&
   16588 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   16589   { (case "(($ac_try" in
   16590   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   16591   *) ac_try_echo=$ac_try;;
   16592 esac
   16593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   16594   (eval "$ac_try") 2>&5
   16595   ac_status=$?
   16596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   16597   (exit $ac_status); }; } &&
   16598 	 { ac_try='test -s conftest.$ac_objext'
   16599   { (case "(($ac_try" in
   16600   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   16601   *) ac_try_echo=$ac_try;;
   16602 esac
   16603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   16604   (eval "$ac_try") 2>&5
   16605   ac_status=$?
   16606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   16607   (exit $ac_status); }; }; then
   16608   ac_cv_type_u_int64_t=yes
   16609 else
   16610   echo "$as_me: failed program was:" >&5
   16611 sed 's/^/| /' conftest.$ac_ext >&5
   16612 
   16613 	ac_cv_type_u_int64_t=no
   16614 fi
   16615 
   16616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16617 fi
   16618 { echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
   16619 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6; }
   16620 if test $ac_cv_type_u_int64_t = yes; then
   16621 
   16622 cat >>confdefs.h <<_ACEOF
   16623 #define HAVE_U_INT64_T 1
   16624 _ACEOF
   16625 
   16626 
   16627 else
   16628   { { echo "$as_me:$LINENO: error: Type uint64_t or u_int64_t required but not found" >&5
   16629 echo "$as_me: error: Type uint64_t or u_int64_t required but not found" >&2;}
   16630    { (exit 1); exit 1; }; }
   16631 fi
   16632 
   16633 fi
   16634 
   16635 
   16636 
   16637 
   16638 
   16639 
   16640 
   16641 
   16642 
   16643 
   16644 for ac_func in backtrace ceilf floorf roundf rintf nearbyintf getcwd
   16645 do
   16646 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
   16647 { echo "$as_me:$LINENO: checking for $ac_func" >&5
   16648 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
   16649 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
   16650   echo $ECHO_N "(cached) $ECHO_C" >&6
   16651 else
   16652   cat >conftest.$ac_ext <<_ACEOF
   16653 /* confdefs.h.  */
   16654 _ACEOF
   16655 cat confdefs.h >>conftest.$ac_ext
   16656 cat >>conftest.$ac_ext <<_ACEOF
   16657 /* end confdefs.h.  */
   16658 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
   16659    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   16660 #define $ac_func innocuous_$ac_func
   16661 
   16662 /* System header to define __stub macros and hopefully few prototypes,
   16663     which can conflict with char $ac_func (); below.
   16664     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   16665     <limits.h> exists even on freestanding compilers.  */
   16666 
   16667 #ifdef __STDC__
   16668 # include <limits.h>
   16669 #else
   16670 # include <assert.h>
   16671 #endif
   16672 
   16673 #undef $ac_func
   16674 
   16675 /* Override any GCC internal prototype to avoid an error.
   16676    Use char because int might match the return type of a GCC
   16677    builtin and then its argument prototype would still apply.  */
   16678 #ifdef __cplusplus
   16679 extern "C"
   16680 #endif
   16681 char $ac_func ();
   16682 /* The GNU C library defines this for functions which it implements
   16683     to always fail with ENOSYS.  Some functions are actually named
   16684     something starting with __ and the normal name is an alias.  */
   16685 #if defined __stub_$ac_func || defined __stub___$ac_func
   16686 choke me
   16687 #endif
   16688 
   16689 int
   16690 main ()
   16691 {
   16692 return $ac_func ();
   16693   ;
   16694   return 0;
   16695 }
   16696 _ACEOF
   16697 rm -f conftest.$ac_objext conftest$ac_exeext
   16698 if { (ac_try="$ac_link"
   16699 case "(($ac_try" in
   16700   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   16701   *) ac_try_echo=$ac_try;;
   16702 esac
   16703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   16704   (eval "$ac_link") 2>conftest.er1
   16705   ac_status=$?
   16706   grep -v '^ *+' conftest.er1 >conftest.err
   16707   rm -f conftest.er1
   16708   cat conftest.err >&5
   16709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   16710   (exit $ac_status); } &&
   16711 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   16712   { (case "(($ac_try" in
   16713   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   16714   *) ac_try_echo=$ac_try;;
   16715 esac
   16716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   16717   (eval "$ac_try") 2>&5
   16718   ac_status=$?
   16719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   16720   (exit $ac_status); }; } &&
   16721 	 { ac_try='test -s conftest$ac_exeext'
   16722   { (case "(($ac_try" in
   16723   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   16724   *) ac_try_echo=$ac_try;;
   16725 esac
   16726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   16727   (eval "$ac_try") 2>&5
   16728   ac_status=$?
   16729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   16730   (exit $ac_status); }; }; then
   16731   eval "$as_ac_var=yes"
   16732 else
   16733   echo "$as_me: failed program was:" >&5
   16734 sed 's/^/| /' conftest.$ac_ext >&5
   16735 
   16736 	eval "$as_ac_var=no"
   16737 fi
   16738 
   16739 rm -f core conftest.err conftest.$ac_objext \
   16740       conftest$ac_exeext conftest.$ac_ext
   16741 fi
   16742 ac_res=`eval echo '${'$as_ac_var'}'`
   16743 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   16744 echo "${ECHO_T}$ac_res" >&6; }
   16745 if test `eval echo '${'$as_ac_var'}'` = yes; then
   16746   cat >>confdefs.h <<_ACEOF
   16747 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
   16748 _ACEOF
   16749 
   16750 fi
   16751 done
   16752 
   16753 
   16754 
   16755 
   16756 
   16757 for ac_func in powf fmodf strtof round
   16758 do
   16759 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
   16760 { echo "$as_me:$LINENO: checking for $ac_func" >&5
   16761 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
   16762 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
   16763   echo $ECHO_N "(cached) $ECHO_C" >&6
   16764 else
   16765   cat >conftest.$ac_ext <<_ACEOF
   16766 /* confdefs.h.  */
   16767 _ACEOF
   16768 cat confdefs.h >>conftest.$ac_ext
   16769 cat >>conftest.$ac_ext <<_ACEOF
   16770 /* end confdefs.h.  */
   16771 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
   16772    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   16773 #define $ac_func innocuous_$ac_func
   16774 
   16775 /* System header to define __stub macros and hopefully few prototypes,
   16776     which can conflict with char $ac_func (); below.
   16777     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   16778     <limits.h> exists even on freestanding compilers.  */
   16779 
   16780 #ifdef __STDC__
   16781 # include <limits.h>
   16782 #else
   16783 # include <assert.h>
   16784 #endif
   16785 
   16786 #undef $ac_func
   16787 
   16788 /* Override any GCC internal prototype to avoid an error.
   16789    Use char because int might match the return type of a GCC
   16790    builtin and then its argument prototype would still apply.  */
   16791 #ifdef __cplusplus
   16792 extern "C"
   16793 #endif
   16794 char $ac_func ();
   16795 /* The GNU C library defines this for functions which it implements
   16796     to always fail with ENOSYS.  Some functions are actually named
   16797     something starting with __ and the normal name is an alias.  */
   16798 #if defined __stub_$ac_func || defined __stub___$ac_func
   16799 choke me
   16800 #endif
   16801 
   16802 int
   16803 main ()
   16804 {
   16805 return $ac_func ();
   16806   ;
   16807   return 0;
   16808 }
   16809 _ACEOF
   16810 rm -f conftest.$ac_objext conftest$ac_exeext
   16811 if { (ac_try="$ac_link"
   16812 case "(($ac_try" in
   16813   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   16814   *) ac_try_echo=$ac_try;;
   16815 esac
   16816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   16817   (eval "$ac_link") 2>conftest.er1
   16818   ac_status=$?
   16819   grep -v '^ *+' conftest.er1 >conftest.err
   16820   rm -f conftest.er1
   16821   cat conftest.err >&5
   16822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   16823   (exit $ac_status); } &&
   16824 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   16825   { (case "(($ac_try" in
   16826   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   16827   *) ac_try_echo=$ac_try;;
   16828 esac
   16829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   16830   (eval "$ac_try") 2>&5
   16831   ac_status=$?
   16832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   16833   (exit $ac_status); }; } &&
   16834 	 { ac_try='test -s conftest$ac_exeext'
   16835   { (case "(($ac_try" in
   16836   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   16837   *) ac_try_echo=$ac_try;;
   16838 esac
   16839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   16840   (eval "$ac_try") 2>&5
   16841   ac_status=$?
   16842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   16843   (exit $ac_status); }; }; then
   16844   eval "$as_ac_var=yes"
   16845 else
   16846   echo "$as_me: failed program was:" >&5
   16847 sed 's/^/| /' conftest.$ac_ext >&5
   16848 
   16849 	eval "$as_ac_var=no"
   16850 fi
   16851 
   16852 rm -f core conftest.err conftest.$ac_objext \
   16853       conftest$ac_exeext conftest.$ac_ext
   16854 fi
   16855 ac_res=`eval echo '${'$as_ac_var'}'`
   16856 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   16857 echo "${ECHO_T}$ac_res" >&6; }
   16858 if test `eval echo '${'$as_ac_var'}'` = yes; then
   16859   cat >>confdefs.h <<_ACEOF
   16860 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
   16861 _ACEOF
   16862 
   16863 fi
   16864 done
   16865 
   16866 
   16867 
   16868 
   16869 
   16870 
   16871 for ac_func in getpagesize getrusage getrlimit setrlimit gettimeofday
   16872 do
   16873 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
   16874 { echo "$as_me:$LINENO: checking for $ac_func" >&5
   16875 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
   16876 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
   16877   echo $ECHO_N "(cached) $ECHO_C" >&6
   16878 else
   16879   cat >conftest.$ac_ext <<_ACEOF
   16880 /* confdefs.h.  */
   16881 _ACEOF
   16882 cat confdefs.h >>conftest.$ac_ext
   16883 cat >>conftest.$ac_ext <<_ACEOF
   16884 /* end confdefs.h.  */
   16885 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
   16886    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   16887 #define $ac_func innocuous_$ac_func
   16888 
   16889 /* System header to define __stub macros and hopefully few prototypes,
   16890     which can conflict with char $ac_func (); below.
   16891     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   16892     <limits.h> exists even on freestanding compilers.  */
   16893 
   16894 #ifdef __STDC__
   16895 # include <limits.h>
   16896 #else
   16897 # include <assert.h>
   16898 #endif
   16899 
   16900 #undef $ac_func
   16901 
   16902 /* Override any GCC internal prototype to avoid an error.
   16903    Use char because int might match the return type of a GCC
   16904    builtin and then its argument prototype would still apply.  */
   16905 #ifdef __cplusplus
   16906 extern "C"
   16907 #endif
   16908 char $ac_func ();
   16909 /* The GNU C library defines this for functions which it implements
   16910     to always fail with ENOSYS.  Some functions are actually named
   16911     something starting with __ and the normal name is an alias.  */
   16912 #if defined __stub_$ac_func || defined __stub___$ac_func
   16913 choke me
   16914 #endif
   16915 
   16916 int
   16917 main ()
   16918 {
   16919 return $ac_func ();
   16920   ;
   16921   return 0;
   16922 }
   16923 _ACEOF
   16924 rm -f conftest.$ac_objext conftest$ac_exeext
   16925 if { (ac_try="$ac_link"
   16926 case "(($ac_try" in
   16927   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   16928   *) ac_try_echo=$ac_try;;
   16929 esac
   16930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   16931   (eval "$ac_link") 2>conftest.er1
   16932   ac_status=$?
   16933   grep -v '^ *+' conftest.er1 >conftest.err
   16934   rm -f conftest.er1
   16935   cat conftest.err >&5
   16936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   16937   (exit $ac_status); } &&
   16938 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   16939   { (case "(($ac_try" in
   16940   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   16941   *) ac_try_echo=$ac_try;;
   16942 esac
   16943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   16944   (eval "$ac_try") 2>&5
   16945   ac_status=$?
   16946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   16947   (exit $ac_status); }; } &&
   16948 	 { ac_try='test -s conftest$ac_exeext'
   16949   { (case "(($ac_try" in
   16950   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   16951   *) ac_try_echo=$ac_try;;
   16952 esac
   16953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   16954   (eval "$ac_try") 2>&5
   16955   ac_status=$?
   16956   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   16957   (exit $ac_status); }; }; then
   16958   eval "$as_ac_var=yes"
   16959 else
   16960   echo "$as_me: failed program was:" >&5
   16961 sed 's/^/| /' conftest.$ac_ext >&5
   16962 
   16963 	eval "$as_ac_var=no"
   16964 fi
   16965 
   16966 rm -f core conftest.err conftest.$ac_objext \
   16967       conftest$ac_exeext conftest.$ac_ext
   16968 fi
   16969 ac_res=`eval echo '${'$as_ac_var'}'`
   16970 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   16971 echo "${ECHO_T}$ac_res" >&6; }
   16972 if test `eval echo '${'$as_ac_var'}'` = yes; then
   16973   cat >>confdefs.h <<_ACEOF
   16974 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
   16975 _ACEOF
   16976 
   16977 fi
   16978 done
   16979 
   16980 
   16981 
   16982 
   16983 for ac_func in isatty mkdtemp mkstemp
   16984 do
   16985 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
   16986 { echo "$as_me:$LINENO: checking for $ac_func" >&5
   16987 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
   16988 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
   16989   echo $ECHO_N "(cached) $ECHO_C" >&6
   16990 else
   16991   cat >conftest.$ac_ext <<_ACEOF
   16992 /* confdefs.h.  */
   16993 _ACEOF
   16994 cat confdefs.h >>conftest.$ac_ext
   16995 cat >>conftest.$ac_ext <<_ACEOF
   16996 /* end confdefs.h.  */
   16997 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
   16998    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   16999 #define $ac_func innocuous_$ac_func
   17000 
   17001 /* System header to define __stub macros and hopefully few prototypes,
   17002     which can conflict with char $ac_func (); below.
   17003     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   17004     <limits.h> exists even on freestanding compilers.  */
   17005 
   17006 #ifdef __STDC__
   17007 # include <limits.h>
   17008 #else
   17009 # include <assert.h>
   17010 #endif
   17011 
   17012 #undef $ac_func
   17013 
   17014 /* Override any GCC internal prototype to avoid an error.
   17015    Use char because int might match the return type of a GCC
   17016    builtin and then its argument prototype would still apply.  */
   17017 #ifdef __cplusplus
   17018 extern "C"
   17019 #endif
   17020 char $ac_func ();
   17021 /* The GNU C library defines this for functions which it implements
   17022     to always fail with ENOSYS.  Some functions are actually named
   17023     something starting with __ and the normal name is an alias.  */
   17024 #if defined __stub_$ac_func || defined __stub___$ac_func
   17025 choke me
   17026 #endif
   17027 
   17028 int
   17029 main ()
   17030 {
   17031 return $ac_func ();
   17032   ;
   17033   return 0;
   17034 }
   17035 _ACEOF
   17036 rm -f conftest.$ac_objext conftest$ac_exeext
   17037 if { (ac_try="$ac_link"
   17038 case "(($ac_try" in
   17039   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17040   *) ac_try_echo=$ac_try;;
   17041 esac
   17042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   17043   (eval "$ac_link") 2>conftest.er1
   17044   ac_status=$?
   17045   grep -v '^ *+' conftest.er1 >conftest.err
   17046   rm -f conftest.er1
   17047   cat conftest.err >&5
   17048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17049   (exit $ac_status); } &&
   17050 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   17051   { (case "(($ac_try" in
   17052   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17053   *) ac_try_echo=$ac_try;;
   17054 esac
   17055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   17056   (eval "$ac_try") 2>&5
   17057   ac_status=$?
   17058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17059   (exit $ac_status); }; } &&
   17060 	 { ac_try='test -s conftest$ac_exeext'
   17061   { (case "(($ac_try" in
   17062   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17063   *) ac_try_echo=$ac_try;;
   17064 esac
   17065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   17066   (eval "$ac_try") 2>&5
   17067   ac_status=$?
   17068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17069   (exit $ac_status); }; }; then
   17070   eval "$as_ac_var=yes"
   17071 else
   17072   echo "$as_me: failed program was:" >&5
   17073 sed 's/^/| /' conftest.$ac_ext >&5
   17074 
   17075 	eval "$as_ac_var=no"
   17076 fi
   17077 
   17078 rm -f core conftest.err conftest.$ac_objext \
   17079       conftest$ac_exeext conftest.$ac_ext
   17080 fi
   17081 ac_res=`eval echo '${'$as_ac_var'}'`
   17082 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   17083 echo "${ECHO_T}$ac_res" >&6; }
   17084 if test `eval echo '${'$as_ac_var'}'` = yes; then
   17085   cat >>confdefs.h <<_ACEOF
   17086 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
   17087 _ACEOF
   17088 
   17089 fi
   17090 done
   17091 
   17092 
   17093 
   17094 
   17095 
   17096 
   17097 
   17098 for ac_func in mktemp posix_spawn realpath sbrk setrlimit strdup
   17099 do
   17100 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
   17101 { echo "$as_me:$LINENO: checking for $ac_func" >&5
   17102 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
   17103 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
   17104   echo $ECHO_N "(cached) $ECHO_C" >&6
   17105 else
   17106   cat >conftest.$ac_ext <<_ACEOF
   17107 /* confdefs.h.  */
   17108 _ACEOF
   17109 cat confdefs.h >>conftest.$ac_ext
   17110 cat >>conftest.$ac_ext <<_ACEOF
   17111 /* end confdefs.h.  */
   17112 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
   17113    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   17114 #define $ac_func innocuous_$ac_func
   17115 
   17116 /* System header to define __stub macros and hopefully few prototypes,
   17117     which can conflict with char $ac_func (); below.
   17118     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   17119     <limits.h> exists even on freestanding compilers.  */
   17120 
   17121 #ifdef __STDC__
   17122 # include <limits.h>
   17123 #else
   17124 # include <assert.h>
   17125 #endif
   17126 
   17127 #undef $ac_func
   17128 
   17129 /* Override any GCC internal prototype to avoid an error.
   17130    Use char because int might match the return type of a GCC
   17131    builtin and then its argument prototype would still apply.  */
   17132 #ifdef __cplusplus
   17133 extern "C"
   17134 #endif
   17135 char $ac_func ();
   17136 /* The GNU C library defines this for functions which it implements
   17137     to always fail with ENOSYS.  Some functions are actually named
   17138     something starting with __ and the normal name is an alias.  */
   17139 #if defined __stub_$ac_func || defined __stub___$ac_func
   17140 choke me
   17141 #endif
   17142 
   17143 int
   17144 main ()
   17145 {
   17146 return $ac_func ();
   17147   ;
   17148   return 0;
   17149 }
   17150 _ACEOF
   17151 rm -f conftest.$ac_objext conftest$ac_exeext
   17152 if { (ac_try="$ac_link"
   17153 case "(($ac_try" in
   17154   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17155   *) ac_try_echo=$ac_try;;
   17156 esac
   17157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   17158   (eval "$ac_link") 2>conftest.er1
   17159   ac_status=$?
   17160   grep -v '^ *+' conftest.er1 >conftest.err
   17161   rm -f conftest.er1
   17162   cat conftest.err >&5
   17163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17164   (exit $ac_status); } &&
   17165 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   17166   { (case "(($ac_try" in
   17167   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17168   *) ac_try_echo=$ac_try;;
   17169 esac
   17170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   17171   (eval "$ac_try") 2>&5
   17172   ac_status=$?
   17173   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17174   (exit $ac_status); }; } &&
   17175 	 { ac_try='test -s conftest$ac_exeext'
   17176   { (case "(($ac_try" in
   17177   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17178   *) ac_try_echo=$ac_try;;
   17179 esac
   17180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   17181   (eval "$ac_try") 2>&5
   17182   ac_status=$?
   17183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17184   (exit $ac_status); }; }; then
   17185   eval "$as_ac_var=yes"
   17186 else
   17187   echo "$as_me: failed program was:" >&5
   17188 sed 's/^/| /' conftest.$ac_ext >&5
   17189 
   17190 	eval "$as_ac_var=no"
   17191 fi
   17192 
   17193 rm -f core conftest.err conftest.$ac_objext \
   17194       conftest$ac_exeext conftest.$ac_ext
   17195 fi
   17196 ac_res=`eval echo '${'$as_ac_var'}'`
   17197 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   17198 echo "${ECHO_T}$ac_res" >&6; }
   17199 if test `eval echo '${'$as_ac_var'}'` = yes; then
   17200   cat >>confdefs.h <<_ACEOF
   17201 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
   17202 _ACEOF
   17203 
   17204 fi
   17205 done
   17206 
   17207 
   17208 
   17209 
   17210 for ac_func in strerror strerror_r setenv
   17211 do
   17212 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
   17213 { echo "$as_me:$LINENO: checking for $ac_func" >&5
   17214 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
   17215 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
   17216   echo $ECHO_N "(cached) $ECHO_C" >&6
   17217 else
   17218   cat >conftest.$ac_ext <<_ACEOF
   17219 /* confdefs.h.  */
   17220 _ACEOF
   17221 cat confdefs.h >>conftest.$ac_ext
   17222 cat >>conftest.$ac_ext <<_ACEOF
   17223 /* end confdefs.h.  */
   17224 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
   17225    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   17226 #define $ac_func innocuous_$ac_func
   17227 
   17228 /* System header to define __stub macros and hopefully few prototypes,
   17229     which can conflict with char $ac_func (); below.
   17230     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   17231     <limits.h> exists even on freestanding compilers.  */
   17232 
   17233 #ifdef __STDC__
   17234 # include <limits.h>
   17235 #else
   17236 # include <assert.h>
   17237 #endif
   17238 
   17239 #undef $ac_func
   17240 
   17241 /* Override any GCC internal prototype to avoid an error.
   17242    Use char because int might match the return type of a GCC
   17243    builtin and then its argument prototype would still apply.  */
   17244 #ifdef __cplusplus
   17245 extern "C"
   17246 #endif
   17247 char $ac_func ();
   17248 /* The GNU C library defines this for functions which it implements
   17249     to always fail with ENOSYS.  Some functions are actually named
   17250     something starting with __ and the normal name is an alias.  */
   17251 #if defined __stub_$ac_func || defined __stub___$ac_func
   17252 choke me
   17253 #endif
   17254 
   17255 int
   17256 main ()
   17257 {
   17258 return $ac_func ();
   17259   ;
   17260   return 0;
   17261 }
   17262 _ACEOF
   17263 rm -f conftest.$ac_objext conftest$ac_exeext
   17264 if { (ac_try="$ac_link"
   17265 case "(($ac_try" in
   17266   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17267   *) ac_try_echo=$ac_try;;
   17268 esac
   17269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   17270   (eval "$ac_link") 2>conftest.er1
   17271   ac_status=$?
   17272   grep -v '^ *+' conftest.er1 >conftest.err
   17273   rm -f conftest.er1
   17274   cat conftest.err >&5
   17275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17276   (exit $ac_status); } &&
   17277 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   17278   { (case "(($ac_try" in
   17279   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17280   *) ac_try_echo=$ac_try;;
   17281 esac
   17282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   17283   (eval "$ac_try") 2>&5
   17284   ac_status=$?
   17285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17286   (exit $ac_status); }; } &&
   17287 	 { ac_try='test -s conftest$ac_exeext'
   17288   { (case "(($ac_try" in
   17289   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17290   *) ac_try_echo=$ac_try;;
   17291 esac
   17292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   17293   (eval "$ac_try") 2>&5
   17294   ac_status=$?
   17295   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17296   (exit $ac_status); }; }; then
   17297   eval "$as_ac_var=yes"
   17298 else
   17299   echo "$as_me: failed program was:" >&5
   17300 sed 's/^/| /' conftest.$ac_ext >&5
   17301 
   17302 	eval "$as_ac_var=no"
   17303 fi
   17304 
   17305 rm -f core conftest.err conftest.$ac_objext \
   17306       conftest$ac_exeext conftest.$ac_ext
   17307 fi
   17308 ac_res=`eval echo '${'$as_ac_var'}'`
   17309 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   17310 echo "${ECHO_T}$ac_res" >&6; }
   17311 if test `eval echo '${'$as_ac_var'}'` = yes; then
   17312   cat >>confdefs.h <<_ACEOF
   17313 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
   17314 _ACEOF
   17315 
   17316 fi
   17317 done
   17318 
   17319 
   17320 
   17321 
   17322 
   17323 for ac_func in strtoll strtoq sysconf malloc_zone_statistics
   17324 do
   17325 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
   17326 { echo "$as_me:$LINENO: checking for $ac_func" >&5
   17327 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
   17328 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
   17329   echo $ECHO_N "(cached) $ECHO_C" >&6
   17330 else
   17331   cat >conftest.$ac_ext <<_ACEOF
   17332 /* confdefs.h.  */
   17333 _ACEOF
   17334 cat confdefs.h >>conftest.$ac_ext
   17335 cat >>conftest.$ac_ext <<_ACEOF
   17336 /* end confdefs.h.  */
   17337 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
   17338    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   17339 #define $ac_func innocuous_$ac_func
   17340 
   17341 /* System header to define __stub macros and hopefully few prototypes,
   17342     which can conflict with char $ac_func (); below.
   17343     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   17344     <limits.h> exists even on freestanding compilers.  */
   17345 
   17346 #ifdef __STDC__
   17347 # include <limits.h>
   17348 #else
   17349 # include <assert.h>
   17350 #endif
   17351 
   17352 #undef $ac_func
   17353 
   17354 /* Override any GCC internal prototype to avoid an error.
   17355    Use char because int might match the return type of a GCC
   17356    builtin and then its argument prototype would still apply.  */
   17357 #ifdef __cplusplus
   17358 extern "C"
   17359 #endif
   17360 char $ac_func ();
   17361 /* The GNU C library defines this for functions which it implements
   17362     to always fail with ENOSYS.  Some functions are actually named
   17363     something starting with __ and the normal name is an alias.  */
   17364 #if defined __stub_$ac_func || defined __stub___$ac_func
   17365 choke me
   17366 #endif
   17367 
   17368 int
   17369 main ()
   17370 {
   17371 return $ac_func ();
   17372   ;
   17373   return 0;
   17374 }
   17375 _ACEOF
   17376 rm -f conftest.$ac_objext conftest$ac_exeext
   17377 if { (ac_try="$ac_link"
   17378 case "(($ac_try" in
   17379   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17380   *) ac_try_echo=$ac_try;;
   17381 esac
   17382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   17383   (eval "$ac_link") 2>conftest.er1
   17384   ac_status=$?
   17385   grep -v '^ *+' conftest.er1 >conftest.err
   17386   rm -f conftest.er1
   17387   cat conftest.err >&5
   17388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17389   (exit $ac_status); } &&
   17390 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   17391   { (case "(($ac_try" in
   17392   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17393   *) ac_try_echo=$ac_try;;
   17394 esac
   17395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   17396   (eval "$ac_try") 2>&5
   17397   ac_status=$?
   17398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17399   (exit $ac_status); }; } &&
   17400 	 { ac_try='test -s conftest$ac_exeext'
   17401   { (case "(($ac_try" in
   17402   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17403   *) ac_try_echo=$ac_try;;
   17404 esac
   17405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   17406   (eval "$ac_try") 2>&5
   17407   ac_status=$?
   17408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17409   (exit $ac_status); }; }; then
   17410   eval "$as_ac_var=yes"
   17411 else
   17412   echo "$as_me: failed program was:" >&5
   17413 sed 's/^/| /' conftest.$ac_ext >&5
   17414 
   17415 	eval "$as_ac_var=no"
   17416 fi
   17417 
   17418 rm -f core conftest.err conftest.$ac_objext \
   17419       conftest$ac_exeext conftest.$ac_ext
   17420 fi
   17421 ac_res=`eval echo '${'$as_ac_var'}'`
   17422 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   17423 echo "${ECHO_T}$ac_res" >&6; }
   17424 if test `eval echo '${'$as_ac_var'}'` = yes; then
   17425   cat >>confdefs.h <<_ACEOF
   17426 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
   17427 _ACEOF
   17428 
   17429 fi
   17430 done
   17431 
   17432 
   17433 
   17434 
   17435 
   17436 
   17437 for ac_func in setjmp longjmp sigsetjmp siglongjmp writev
   17438 do
   17439 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
   17440 { echo "$as_me:$LINENO: checking for $ac_func" >&5
   17441 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
   17442 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
   17443   echo $ECHO_N "(cached) $ECHO_C" >&6
   17444 else
   17445   cat >conftest.$ac_ext <<_ACEOF
   17446 /* confdefs.h.  */
   17447 _ACEOF
   17448 cat confdefs.h >>conftest.$ac_ext
   17449 cat >>conftest.$ac_ext <<_ACEOF
   17450 /* end confdefs.h.  */
   17451 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
   17452    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   17453 #define $ac_func innocuous_$ac_func
   17454 
   17455 /* System header to define __stub macros and hopefully few prototypes,
   17456     which can conflict with char $ac_func (); below.
   17457     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   17458     <limits.h> exists even on freestanding compilers.  */
   17459 
   17460 #ifdef __STDC__
   17461 # include <limits.h>
   17462 #else
   17463 # include <assert.h>
   17464 #endif
   17465 
   17466 #undef $ac_func
   17467 
   17468 /* Override any GCC internal prototype to avoid an error.
   17469    Use char because int might match the return type of a GCC
   17470    builtin and then its argument prototype would still apply.  */
   17471 #ifdef __cplusplus
   17472 extern "C"
   17473 #endif
   17474 char $ac_func ();
   17475 /* The GNU C library defines this for functions which it implements
   17476     to always fail with ENOSYS.  Some functions are actually named
   17477     something starting with __ and the normal name is an alias.  */
   17478 #if defined __stub_$ac_func || defined __stub___$ac_func
   17479 choke me
   17480 #endif
   17481 
   17482 int
   17483 main ()
   17484 {
   17485 return $ac_func ();
   17486   ;
   17487   return 0;
   17488 }
   17489 _ACEOF
   17490 rm -f conftest.$ac_objext conftest$ac_exeext
   17491 if { (ac_try="$ac_link"
   17492 case "(($ac_try" in
   17493   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17494   *) ac_try_echo=$ac_try;;
   17495 esac
   17496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   17497   (eval "$ac_link") 2>conftest.er1
   17498   ac_status=$?
   17499   grep -v '^ *+' conftest.er1 >conftest.err
   17500   rm -f conftest.er1
   17501   cat conftest.err >&5
   17502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17503   (exit $ac_status); } &&
   17504 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   17505   { (case "(($ac_try" in
   17506   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17507   *) ac_try_echo=$ac_try;;
   17508 esac
   17509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   17510   (eval "$ac_try") 2>&5
   17511   ac_status=$?
   17512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17513   (exit $ac_status); }; } &&
   17514 	 { ac_try='test -s conftest$ac_exeext'
   17515   { (case "(($ac_try" in
   17516   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17517   *) ac_try_echo=$ac_try;;
   17518 esac
   17519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   17520   (eval "$ac_try") 2>&5
   17521   ac_status=$?
   17522   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17523   (exit $ac_status); }; }; then
   17524   eval "$as_ac_var=yes"
   17525 else
   17526   echo "$as_me: failed program was:" >&5
   17527 sed 's/^/| /' conftest.$ac_ext >&5
   17528 
   17529 	eval "$as_ac_var=no"
   17530 fi
   17531 
   17532 rm -f core conftest.err conftest.$ac_objext \
   17533       conftest$ac_exeext conftest.$ac_ext
   17534 fi
   17535 ac_res=`eval echo '${'$as_ac_var'}'`
   17536 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   17537 echo "${ECHO_T}$ac_res" >&6; }
   17538 if test `eval echo '${'$as_ac_var'}'` = yes; then
   17539   cat >>confdefs.h <<_ACEOF
   17540 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
   17541 _ACEOF
   17542 
   17543 fi
   17544 done
   17545 
   17546 { echo "$as_me:$LINENO: checking if printf has the %a format character" >&5
   17547 echo $ECHO_N "checking if printf has the %a format character... $ECHO_C" >&6; }
   17548 if test "${llvm_cv_c_printf_a+set}" = set; then
   17549   echo $ECHO_N "(cached) $ECHO_C" >&6
   17550 else
   17551   ac_ext=c
   17552 ac_cpp='$CPP $CPPFLAGS'
   17553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   17554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   17555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   17556 
   17557  if test "$cross_compiling" = yes; then
   17558   llvmac_cv_c_printf_a=no
   17559 else
   17560   cat >conftest.$ac_ext <<_ACEOF
   17561 
   17562   /* confdefs.h.  */
   17563 _ACEOF
   17564 cat confdefs.h >>conftest.$ac_ext
   17565 cat >>conftest.$ac_ext <<_ACEOF
   17566 /* end confdefs.h.  */
   17567 
   17568 #include <stdio.h>
   17569 #include <stdlib.h>
   17570 
   17571 int
   17572 main ()
   17573 {
   17574 
   17575 volatile double A, B;
   17576 char Buffer[100];
   17577 A = 1;
   17578 A /= 10.0;
   17579 sprintf(Buffer, "%a", A);
   17580 B = atof(Buffer);
   17581 if (A != B)
   17582   return (1);
   17583 if (A != 0x1.999999999999ap-4)
   17584   return (1);
   17585 return (0);
   17586   ;
   17587   return 0;
   17588 }
   17589 _ACEOF
   17590 rm -f conftest$ac_exeext
   17591 if { (ac_try="$ac_link"
   17592 case "(($ac_try" in
   17593   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17594   *) ac_try_echo=$ac_try;;
   17595 esac
   17596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   17597   (eval "$ac_link") 2>&5
   17598   ac_status=$?
   17599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17600   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   17601   { (case "(($ac_try" in
   17602   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17603   *) ac_try_echo=$ac_try;;
   17604 esac
   17605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   17606   (eval "$ac_try") 2>&5
   17607   ac_status=$?
   17608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17609   (exit $ac_status); }; }; then
   17610   llvm_cv_c_printf_a=yes
   17611 else
   17612   echo "$as_me: program exited with status $ac_status" >&5
   17613 echo "$as_me: failed program was:" >&5
   17614 sed 's/^/| /' conftest.$ac_ext >&5
   17615 
   17616 ( exit $ac_status )
   17617 llvmac_cv_c_printf_a=no
   17618 fi
   17619 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   17620 fi
   17621 
   17622 
   17623  ac_ext=c
   17624 ac_cpp='$CPP $CPPFLAGS'
   17625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   17626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   17627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   17628 
   17629 fi
   17630 { echo "$as_me:$LINENO: result: $llvm_cv_c_printf_a" >&5
   17631 echo "${ECHO_T}$llvm_cv_c_printf_a" >&6; }
   17632  if test "$llvm_cv_c_printf_a" = "yes"; then
   17633 
   17634 cat >>confdefs.h <<\_ACEOF
   17635 #define HAVE_PRINTF_A 1
   17636 _ACEOF
   17637 
   17638  fi
   17639 
   17640 
   17641 { echo "$as_me:$LINENO: checking for srand48/lrand48/drand48 in <stdlib.h>" >&5
   17642 echo $ECHO_N "checking for srand48/lrand48/drand48 in <stdlib.h>... $ECHO_C" >&6; }
   17643 if test "${ac_cv_func_rand48+set}" = set; then
   17644   echo $ECHO_N "(cached) $ECHO_C" >&6
   17645 else
   17646   ac_ext=cpp
   17647 ac_cpp='$CXXCPP $CPPFLAGS'
   17648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   17649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   17650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   17651 
   17652    cat >conftest.$ac_ext <<_ACEOF
   17653 /* confdefs.h.  */
   17654 _ACEOF
   17655 cat confdefs.h >>conftest.$ac_ext
   17656 cat >>conftest.$ac_ext <<_ACEOF
   17657 /* end confdefs.h.  */
   17658 #include <stdlib.h>
   17659 int
   17660 main ()
   17661 {
   17662 srand48(0);lrand48();drand48();
   17663   ;
   17664   return 0;
   17665 }
   17666 _ACEOF
   17667 rm -f conftest.$ac_objext
   17668 if { (ac_try="$ac_compile"
   17669 case "(($ac_try" in
   17670   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17671   *) ac_try_echo=$ac_try;;
   17672 esac
   17673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   17674   (eval "$ac_compile") 2>conftest.er1
   17675   ac_status=$?
   17676   grep -v '^ *+' conftest.er1 >conftest.err
   17677   rm -f conftest.er1
   17678   cat conftest.err >&5
   17679   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17680   (exit $ac_status); } &&
   17681 	 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
   17682   { (case "(($ac_try" in
   17683   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17684   *) ac_try_echo=$ac_try;;
   17685 esac
   17686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   17687   (eval "$ac_try") 2>&5
   17688   ac_status=$?
   17689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17690   (exit $ac_status); }; } &&
   17691 	 { ac_try='test -s conftest.$ac_objext'
   17692   { (case "(($ac_try" in
   17693   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17694   *) ac_try_echo=$ac_try;;
   17695 esac
   17696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   17697   (eval "$ac_try") 2>&5
   17698   ac_status=$?
   17699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17700   (exit $ac_status); }; }; then
   17701   ac_cv_func_rand48=yes
   17702 else
   17703   echo "$as_me: failed program was:" >&5
   17704 sed 's/^/| /' conftest.$ac_ext >&5
   17705 
   17706 	ac_cv_func_rand48=no
   17707 fi
   17708 
   17709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17710   ac_ext=c
   17711 ac_cpp='$CPP $CPPFLAGS'
   17712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   17713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   17714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   17715 
   17716 fi
   17717 { echo "$as_me:$LINENO: result: $ac_cv_func_rand48" >&5
   17718 echo "${ECHO_T}$ac_cv_func_rand48" >&6; }
   17719 
   17720 if test "$ac_cv_func_rand48" = "yes" ; then
   17721 
   17722 cat >>confdefs.h <<\_ACEOF
   17723 #define HAVE_RAND48 1
   17724 _ACEOF
   17725 
   17726 fi
   17727 
   17728 
   17729 { echo "$as_me:$LINENO: checking whether strerror_s is declared" >&5
   17730 echo $ECHO_N "checking whether strerror_s is declared... $ECHO_C" >&6; }
   17731 if test "${ac_cv_have_decl_strerror_s+set}" = set; then
   17732   echo $ECHO_N "(cached) $ECHO_C" >&6
   17733 else
   17734   cat >conftest.$ac_ext <<_ACEOF
   17735 /* confdefs.h.  */
   17736 _ACEOF
   17737 cat confdefs.h >>conftest.$ac_ext
   17738 cat >>conftest.$ac_ext <<_ACEOF
   17739 /* end confdefs.h.  */
   17740 $ac_includes_default
   17741 int
   17742 main ()
   17743 {
   17744 #ifndef strerror_s
   17745   char *p = (char *) strerror_s;
   17746   return !p;
   17747 #endif
   17748 
   17749   ;
   17750   return 0;
   17751 }
   17752 _ACEOF
   17753 rm -f conftest.$ac_objext
   17754 if { (ac_try="$ac_compile"
   17755 case "(($ac_try" in
   17756   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17757   *) ac_try_echo=$ac_try;;
   17758 esac
   17759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   17760   (eval "$ac_compile") 2>conftest.er1
   17761   ac_status=$?
   17762   grep -v '^ *+' conftest.er1 >conftest.err
   17763   rm -f conftest.er1
   17764   cat conftest.err >&5
   17765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17766   (exit $ac_status); } &&
   17767 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   17768   { (case "(($ac_try" in
   17769   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17770   *) ac_try_echo=$ac_try;;
   17771 esac
   17772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   17773   (eval "$ac_try") 2>&5
   17774   ac_status=$?
   17775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17776   (exit $ac_status); }; } &&
   17777 	 { ac_try='test -s conftest.$ac_objext'
   17778   { (case "(($ac_try" in
   17779   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17780   *) ac_try_echo=$ac_try;;
   17781 esac
   17782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   17783   (eval "$ac_try") 2>&5
   17784   ac_status=$?
   17785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17786   (exit $ac_status); }; }; then
   17787   ac_cv_have_decl_strerror_s=yes
   17788 else
   17789   echo "$as_me: failed program was:" >&5
   17790 sed 's/^/| /' conftest.$ac_ext >&5
   17791 
   17792 	ac_cv_have_decl_strerror_s=no
   17793 fi
   17794 
   17795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17796 fi
   17797 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_strerror_s" >&5
   17798 echo "${ECHO_T}$ac_cv_have_decl_strerror_s" >&6; }
   17799 if test $ac_cv_have_decl_strerror_s = yes; then
   17800 
   17801 cat >>confdefs.h <<_ACEOF
   17802 #define HAVE_DECL_STRERROR_S 1
   17803 _ACEOF
   17804 
   17805 
   17806 else
   17807   cat >>confdefs.h <<_ACEOF
   17808 #define HAVE_DECL_STRERROR_S 0
   17809 _ACEOF
   17810 
   17811 
   17812 fi
   17813 
   17814 
   17815 
   17816 if test "$llvm_cv_os_type" = "MingW" ; then
   17817   { echo "$as_me:$LINENO: checking for _alloca in -lgcc" >&5
   17818 echo $ECHO_N "checking for _alloca in -lgcc... $ECHO_C" >&6; }
   17819 if test "${ac_cv_lib_gcc__alloca+set}" = set; then
   17820   echo $ECHO_N "(cached) $ECHO_C" >&6
   17821 else
   17822   ac_check_lib_save_LIBS=$LIBS
   17823 LIBS="-lgcc  $LIBS"
   17824 cat >conftest.$ac_ext <<_ACEOF
   17825 /* confdefs.h.  */
   17826 _ACEOF
   17827 cat confdefs.h >>conftest.$ac_ext
   17828 cat >>conftest.$ac_ext <<_ACEOF
   17829 /* end confdefs.h.  */
   17830 
   17831 /* Override any GCC internal prototype to avoid an error.
   17832    Use char because int might match the return type of a GCC
   17833    builtin and then its argument prototype would still apply.  */
   17834 #ifdef __cplusplus
   17835 extern "C"
   17836 #endif
   17837 char _alloca ();
   17838 int
   17839 main ()
   17840 {
   17841 return _alloca ();
   17842   ;
   17843   return 0;
   17844 }
   17845 _ACEOF
   17846 rm -f conftest.$ac_objext conftest$ac_exeext
   17847 if { (ac_try="$ac_link"
   17848 case "(($ac_try" in
   17849   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17850   *) ac_try_echo=$ac_try;;
   17851 esac
   17852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   17853   (eval "$ac_link") 2>conftest.er1
   17854   ac_status=$?
   17855   grep -v '^ *+' conftest.er1 >conftest.err
   17856   rm -f conftest.er1
   17857   cat conftest.err >&5
   17858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17859   (exit $ac_status); } &&
   17860 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   17861   { (case "(($ac_try" in
   17862   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17863   *) ac_try_echo=$ac_try;;
   17864 esac
   17865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   17866   (eval "$ac_try") 2>&5
   17867   ac_status=$?
   17868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17869   (exit $ac_status); }; } &&
   17870 	 { ac_try='test -s conftest$ac_exeext'
   17871   { (case "(($ac_try" in
   17872   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17873   *) ac_try_echo=$ac_try;;
   17874 esac
   17875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   17876   (eval "$ac_try") 2>&5
   17877   ac_status=$?
   17878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17879   (exit $ac_status); }; }; then
   17880   ac_cv_lib_gcc__alloca=yes
   17881 else
   17882   echo "$as_me: failed program was:" >&5
   17883 sed 's/^/| /' conftest.$ac_ext >&5
   17884 
   17885 	ac_cv_lib_gcc__alloca=no
   17886 fi
   17887 
   17888 rm -f core conftest.err conftest.$ac_objext \
   17889       conftest$ac_exeext conftest.$ac_ext
   17890 LIBS=$ac_check_lib_save_LIBS
   17891 fi
   17892 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc__alloca" >&5
   17893 echo "${ECHO_T}$ac_cv_lib_gcc__alloca" >&6; }
   17894 if test $ac_cv_lib_gcc__alloca = yes; then
   17895 
   17896 cat >>confdefs.h <<\_ACEOF
   17897 #define HAVE__ALLOCA 1
   17898 _ACEOF
   17899 
   17900 fi
   17901 
   17902   { echo "$as_me:$LINENO: checking for __alloca in -lgcc" >&5
   17903 echo $ECHO_N "checking for __alloca in -lgcc... $ECHO_C" >&6; }
   17904 if test "${ac_cv_lib_gcc___alloca+set}" = set; then
   17905   echo $ECHO_N "(cached) $ECHO_C" >&6
   17906 else
   17907   ac_check_lib_save_LIBS=$LIBS
   17908 LIBS="-lgcc  $LIBS"
   17909 cat >conftest.$ac_ext <<_ACEOF
   17910 /* confdefs.h.  */
   17911 _ACEOF
   17912 cat confdefs.h >>conftest.$ac_ext
   17913 cat >>conftest.$ac_ext <<_ACEOF
   17914 /* end confdefs.h.  */
   17915 
   17916 /* Override any GCC internal prototype to avoid an error.
   17917    Use char because int might match the return type of a GCC
   17918    builtin and then its argument prototype would still apply.  */
   17919 #ifdef __cplusplus
   17920 extern "C"
   17921 #endif
   17922 char __alloca ();
   17923 int
   17924 main ()
   17925 {
   17926 return __alloca ();
   17927   ;
   17928   return 0;
   17929 }
   17930 _ACEOF
   17931 rm -f conftest.$ac_objext conftest$ac_exeext
   17932 if { (ac_try="$ac_link"
   17933 case "(($ac_try" in
   17934   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17935   *) ac_try_echo=$ac_try;;
   17936 esac
   17937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   17938   (eval "$ac_link") 2>conftest.er1
   17939   ac_status=$?
   17940   grep -v '^ *+' conftest.er1 >conftest.err
   17941   rm -f conftest.er1
   17942   cat conftest.err >&5
   17943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17944   (exit $ac_status); } &&
   17945 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   17946   { (case "(($ac_try" in
   17947   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17948   *) ac_try_echo=$ac_try;;
   17949 esac
   17950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   17951   (eval "$ac_try") 2>&5
   17952   ac_status=$?
   17953   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17954   (exit $ac_status); }; } &&
   17955 	 { ac_try='test -s conftest$ac_exeext'
   17956   { (case "(($ac_try" in
   17957   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17958   *) ac_try_echo=$ac_try;;
   17959 esac
   17960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   17961   (eval "$ac_try") 2>&5
   17962   ac_status=$?
   17963   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17964   (exit $ac_status); }; }; then
   17965   ac_cv_lib_gcc___alloca=yes
   17966 else
   17967   echo "$as_me: failed program was:" >&5
   17968 sed 's/^/| /' conftest.$ac_ext >&5
   17969 
   17970 	ac_cv_lib_gcc___alloca=no
   17971 fi
   17972 
   17973 rm -f core conftest.err conftest.$ac_objext \
   17974       conftest$ac_exeext conftest.$ac_ext
   17975 LIBS=$ac_check_lib_save_LIBS
   17976 fi
   17977 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc___alloca" >&5
   17978 echo "${ECHO_T}$ac_cv_lib_gcc___alloca" >&6; }
   17979 if test $ac_cv_lib_gcc___alloca = yes; then
   17980 
   17981 cat >>confdefs.h <<\_ACEOF
   17982 #define HAVE___ALLOCA 1
   17983 _ACEOF
   17984 
   17985 fi
   17986 
   17987   { echo "$as_me:$LINENO: checking for __chkstk in -lgcc" >&5
   17988 echo $ECHO_N "checking for __chkstk in -lgcc... $ECHO_C" >&6; }
   17989 if test "${ac_cv_lib_gcc___chkstk+set}" = set; then
   17990   echo $ECHO_N "(cached) $ECHO_C" >&6
   17991 else
   17992   ac_check_lib_save_LIBS=$LIBS
   17993 LIBS="-lgcc  $LIBS"
   17994 cat >conftest.$ac_ext <<_ACEOF
   17995 /* confdefs.h.  */
   17996 _ACEOF
   17997 cat confdefs.h >>conftest.$ac_ext
   17998 cat >>conftest.$ac_ext <<_ACEOF
   17999 /* end confdefs.h.  */
   18000 
   18001 /* Override any GCC internal prototype to avoid an error.
   18002    Use char because int might match the return type of a GCC
   18003    builtin and then its argument prototype would still apply.  */
   18004 #ifdef __cplusplus
   18005 extern "C"
   18006 #endif
   18007 char __chkstk ();
   18008 int
   18009 main ()
   18010 {
   18011 return __chkstk ();
   18012   ;
   18013   return 0;
   18014 }
   18015 _ACEOF
   18016 rm -f conftest.$ac_objext conftest$ac_exeext
   18017 if { (ac_try="$ac_link"
   18018 case "(($ac_try" in
   18019   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   18020   *) ac_try_echo=$ac_try;;
   18021 esac
   18022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   18023   (eval "$ac_link") 2>conftest.er1
   18024   ac_status=$?
   18025   grep -v '^ *+' conftest.er1 >conftest.err
   18026   rm -f conftest.er1
   18027   cat conftest.err >&5
   18028   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18029   (exit $ac_status); } &&
   18030 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   18031   { (case "(($ac_try" in
   18032   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   18033   *) ac_try_echo=$ac_try;;
   18034 esac
   18035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   18036   (eval "$ac_try") 2>&5
   18037   ac_status=$?
   18038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18039   (exit $ac_status); }; } &&
   18040 	 { ac_try='test -s conftest$ac_exeext'
   18041   { (case "(($ac_try" in
   18042   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   18043   *) ac_try_echo=$ac_try;;
   18044 esac
   18045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   18046   (eval "$ac_try") 2>&5
   18047   ac_status=$?
   18048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18049   (exit $ac_status); }; }; then
   18050   ac_cv_lib_gcc___chkstk=yes
   18051 else
   18052   echo "$as_me: failed program was:" >&5
   18053 sed 's/^/| /' conftest.$ac_ext >&5
   18054 
   18055 	ac_cv_lib_gcc___chkstk=no
   18056 fi
   18057 
   18058 rm -f core conftest.err conftest.$ac_objext \
   18059       conftest$ac_exeext conftest.$ac_ext
   18060 LIBS=$ac_check_lib_save_LIBS
   18061 fi
   18062 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc___chkstk" >&5
   18063 echo "${ECHO_T}$ac_cv_lib_gcc___chkstk" >&6; }
   18064 if test $ac_cv_lib_gcc___chkstk = yes; then
   18065 
   18066 cat >>confdefs.h <<\_ACEOF
   18067 #define HAVE___CHKSTK 1
   18068 _ACEOF
   18069 
   18070 fi
   18071 
   18072   { echo "$as_me:$LINENO: checking for ___chkstk in -lgcc" >&5
   18073 echo $ECHO_N "checking for ___chkstk in -lgcc... $ECHO_C" >&6; }
   18074 if test "${ac_cv_lib_gcc____chkstk+set}" = set; then
   18075   echo $ECHO_N "(cached) $ECHO_C" >&6
   18076 else
   18077   ac_check_lib_save_LIBS=$LIBS
   18078 LIBS="-lgcc  $LIBS"
   18079 cat >conftest.$ac_ext <<_ACEOF
   18080 /* confdefs.h.  */
   18081 _ACEOF
   18082 cat confdefs.h >>conftest.$ac_ext
   18083 cat >>conftest.$ac_ext <<_ACEOF
   18084 /* end confdefs.h.  */
   18085 
   18086 /* Override any GCC internal prototype to avoid an error.
   18087    Use char because int might match the return type of a GCC
   18088    builtin and then its argument prototype would still apply.  */
   18089 #ifdef __cplusplus
   18090 extern "C"
   18091 #endif
   18092 char ___chkstk ();
   18093 int
   18094 main ()
   18095 {
   18096 return ___chkstk ();
   18097   ;
   18098   return 0;
   18099 }
   18100 _ACEOF
   18101 rm -f conftest.$ac_objext conftest$ac_exeext
   18102 if { (ac_try="$ac_link"
   18103 case "(($ac_try" in
   18104   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   18105   *) ac_try_echo=$ac_try;;
   18106 esac
   18107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   18108   (eval "$ac_link") 2>conftest.er1
   18109   ac_status=$?
   18110   grep -v '^ *+' conftest.er1 >conftest.err
   18111   rm -f conftest.er1
   18112   cat conftest.err >&5
   18113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18114   (exit $ac_status); } &&
   18115 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   18116   { (case "(($ac_try" in
   18117   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   18118   *) ac_try_echo=$ac_try;;
   18119 esac
   18120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   18121   (eval "$ac_try") 2>&5
   18122   ac_status=$?
   18123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18124   (exit $ac_status); }; } &&
   18125 	 { ac_try='test -s conftest$ac_exeext'
   18126   { (case "(($ac_try" in
   18127   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   18128   *) ac_try_echo=$ac_try;;
   18129 esac
   18130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   18131   (eval "$ac_try") 2>&5
   18132   ac_status=$?
   18133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18134   (exit $ac_status); }; }; then
   18135   ac_cv_lib_gcc____chkstk=yes
   18136 else
   18137   echo "$as_me: failed program was:" >&5
   18138 sed 's/^/| /' conftest.$ac_ext >&5
   18139 
   18140 	ac_cv_lib_gcc____chkstk=no
   18141 fi
   18142 
   18143 rm -f core conftest.err conftest.$ac_objext \
   18144       conftest$ac_exeext conftest.$ac_ext
   18145 LIBS=$ac_check_lib_save_LIBS
   18146 fi
   18147 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc____chkstk" >&5
   18148 echo "${ECHO_T}$ac_cv_lib_gcc____chkstk" >&6; }
   18149 if test $ac_cv_lib_gcc____chkstk = yes; then
   18150 
   18151 cat >>confdefs.h <<\_ACEOF
   18152 #define HAVE____CHKSTK 1
   18153 _ACEOF
   18154 
   18155 fi
   18156 
   18157 
   18158   { echo "$as_me:$LINENO: checking for __ashldi3 in -lgcc" >&5
   18159 echo $ECHO_N "checking for __ashldi3 in -lgcc... $ECHO_C" >&6; }
   18160 if test "${ac_cv_lib_gcc___ashldi3+set}" = set; then
   18161   echo $ECHO_N "(cached) $ECHO_C" >&6
   18162 else
   18163   ac_check_lib_save_LIBS=$LIBS
   18164 LIBS="-lgcc  $LIBS"
   18165 cat >conftest.$ac_ext <<_ACEOF
   18166 /* confdefs.h.  */
   18167 _ACEOF
   18168 cat confdefs.h >>conftest.$ac_ext
   18169 cat >>conftest.$ac_ext <<_ACEOF
   18170 /* end confdefs.h.  */
   18171 
   18172 /* Override any GCC internal prototype to avoid an error.
   18173    Use char because int might match the return type of a GCC
   18174    builtin and then its argument prototype would still apply.  */
   18175 #ifdef __cplusplus
   18176 extern "C"
   18177 #endif
   18178 char __ashldi3 ();
   18179 int
   18180 main ()
   18181 {
   18182 return __ashldi3 ();
   18183   ;
   18184   return 0;
   18185 }
   18186 _ACEOF
   18187 rm -f conftest.$ac_objext conftest$ac_exeext
   18188 if { (ac_try="$ac_link"
   18189 case "(($ac_try" in
   18190   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   18191   *) ac_try_echo=$ac_try;;
   18192 esac
   18193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   18194   (eval "$ac_link") 2>conftest.er1
   18195   ac_status=$?
   18196   grep -v '^ *+' conftest.er1 >conftest.err
   18197   rm -f conftest.er1
   18198   cat conftest.err >&5
   18199   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18200   (exit $ac_status); } &&
   18201 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   18202   { (case "(($ac_try" in
   18203   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   18204   *) ac_try_echo=$ac_try;;
   18205 esac
   18206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   18207   (eval "$ac_try") 2>&5
   18208   ac_status=$?
   18209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18210   (exit $ac_status); }; } &&
   18211 	 { ac_try='test -s conftest$ac_exeext'
   18212   { (case "(($ac_try" in
   18213   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   18214   *) ac_try_echo=$ac_try;;
   18215 esac
   18216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   18217   (eval "$ac_try") 2>&5
   18218   ac_status=$?
   18219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18220   (exit $ac_status); }; }; then
   18221   ac_cv_lib_gcc___ashldi3=yes
   18222 else
   18223   echo "$as_me: failed program was:" >&5
   18224 sed 's/^/| /' conftest.$ac_ext >&5
   18225 
   18226 	ac_cv_lib_gcc___ashldi3=no
   18227 fi
   18228 
   18229 rm -f core conftest.err conftest.$ac_objext \
   18230       conftest$ac_exeext conftest.$ac_ext
   18231 LIBS=$ac_check_lib_save_LIBS
   18232 fi
   18233 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc___ashldi3" >&5
   18234 echo "${ECHO_T}$ac_cv_lib_gcc___ashldi3" >&6; }
   18235 if test $ac_cv_lib_gcc___ashldi3 = yes; then
   18236 
   18237 cat >>confdefs.h <<\_ACEOF
   18238 #define HAVE___ASHLDI3 1
   18239 _ACEOF
   18240 
   18241 fi
   18242 
   18243   { echo "$as_me:$LINENO: checking for __ashrdi3 in -lgcc" >&5
   18244 echo $ECHO_N "checking for __ashrdi3 in -lgcc... $ECHO_C" >&6; }
   18245 if test "${ac_cv_lib_gcc___ashrdi3+set}" = set; then
   18246   echo $ECHO_N "(cached) $ECHO_C" >&6
   18247 else
   18248   ac_check_lib_save_LIBS=$LIBS
   18249 LIBS="-lgcc  $LIBS"
   18250 cat >conftest.$ac_ext <<_ACEOF
   18251 /* confdefs.h.  */
   18252 _ACEOF
   18253 cat confdefs.h >>conftest.$ac_ext
   18254 cat >>conftest.$ac_ext <<_ACEOF
   18255 /* end confdefs.h.  */
   18256 
   18257 /* Override any GCC internal prototype to avoid an error.
   18258    Use char because int might match the return type of a GCC
   18259    builtin and then its argument prototype would still apply.  */
   18260 #ifdef __cplusplus
   18261 extern "C"
   18262 #endif
   18263 char __ashrdi3 ();
   18264 int
   18265 main ()
   18266 {
   18267 return __ashrdi3 ();
   18268   ;
   18269   return 0;
   18270 }
   18271 _ACEOF
   18272 rm -f conftest.$ac_objext conftest$ac_exeext
   18273 if { (ac_try="$ac_link"
   18274 case "(($ac_try" in
   18275   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   18276   *) ac_try_echo=$ac_try;;
   18277 esac
   18278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   18279   (eval "$ac_link") 2>conftest.er1
   18280   ac_status=$?
   18281   grep -v '^ *+' conftest.er1 >conftest.err
   18282   rm -f conftest.er1
   18283   cat conftest.err >&5
   18284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18285   (exit $ac_status); } &&
   18286 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   18287   { (case "(($ac_try" in
   18288   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   18289   *) ac_try_echo=$ac_try;;
   18290 esac
   18291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   18292   (eval "$ac_try") 2>&5
   18293   ac_status=$?
   18294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18295   (exit $ac_status); }; } &&
   18296 	 { ac_try='test -s conftest$ac_exeext'
   18297   { (case "(($ac_try" in
   18298   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   18299   *) ac_try_echo=$ac_try;;
   18300 esac
   18301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   18302   (eval "$ac_try") 2>&5
   18303   ac_status=$?
   18304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18305   (exit $ac_status); }; }; then
   18306   ac_cv_lib_gcc___ashrdi3=yes
   18307 else
   18308   echo "$as_me: failed program was:" >&5
   18309 sed 's/^/| /' conftest.$ac_ext >&5
   18310 
   18311 	ac_cv_lib_gcc___ashrdi3=no
   18312 fi
   18313 
   18314 rm -f core conftest.err conftest.$ac_objext \
   18315       conftest$ac_exeext conftest.$ac_ext
   18316 LIBS=$ac_check_lib_save_LIBS
   18317 fi
   18318 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc___ashrdi3" >&5
   18319 echo "${ECHO_T}$ac_cv_lib_gcc___ashrdi3" >&6; }
   18320 if test $ac_cv_lib_gcc___ashrdi3 = yes; then
   18321 
   18322 cat >>confdefs.h <<\_ACEOF
   18323 #define HAVE___ASHRDI3 1
   18324 _ACEOF
   18325 
   18326 fi
   18327 
   18328   { echo "$as_me:$LINENO: checking for __divdi3 in -lgcc" >&5
   18329 echo $ECHO_N "checking for __divdi3 in -lgcc... $ECHO_C" >&6; }
   18330 if test "${ac_cv_lib_gcc___divdi3+set}" = set; then
   18331   echo $ECHO_N "(cached) $ECHO_C" >&6
   18332 else
   18333   ac_check_lib_save_LIBS=$LIBS
   18334 LIBS="-lgcc  $LIBS"
   18335 cat >conftest.$ac_ext <<_ACEOF
   18336 /* confdefs.h.  */
   18337 _ACEOF
   18338 cat confdefs.h >>conftest.$ac_ext
   18339 cat >>conftest.$ac_ext <<_ACEOF
   18340 /* end confdefs.h.  */
   18341 
   18342 /* Override any GCC internal prototype to avoid an error.
   18343    Use char because int might match the return type of a GCC
   18344    builtin and then its argument prototype would still apply.  */
   18345 #ifdef __cplusplus
   18346 extern "C"
   18347 #endif
   18348 char __divdi3 ();
   18349 int
   18350 main ()
   18351 {
   18352 return __divdi3 ();
   18353   ;
   18354   return 0;
   18355 }
   18356 _ACEOF
   18357 rm -f conftest.$ac_objext conftest$ac_exeext
   18358 if { (ac_try="$ac_link"
   18359 case "(($ac_try" in
   18360   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   18361   *) ac_try_echo=$ac_try;;
   18362 esac
   18363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   18364   (eval "$ac_link") 2>conftest.er1
   18365   ac_status=$?
   18366   grep -v '^ *+' conftest.er1 >conftest.err
   18367   rm -f conftest.er1
   18368   cat conftest.err >&5
   18369   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18370   (exit $ac_status); } &&
   18371 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   18372   { (case "(($ac_try" in
   18373   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   18374   *) ac_try_echo=$ac_try;;
   18375 esac
   18376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   18377   (eval "$ac_try") 2>&5
   18378   ac_status=$?
   18379   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18380   (exit $ac_status); }; } &&
   18381 	 { ac_try='test -s conftest$ac_exeext'
   18382   { (case "(($ac_try" in
   18383   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   18384   *) ac_try_echo=$ac_try;;
   18385 esac
   18386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   18387   (eval "$ac_try") 2>&5
   18388   ac_status=$?
   18389   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18390   (exit $ac_status); }; }; then
   18391   ac_cv_lib_gcc___divdi3=yes
   18392 else
   18393   echo "$as_me: failed program was:" >&5
   18394 sed 's/^/| /' conftest.$ac_ext >&5
   18395 
   18396 	ac_cv_lib_gcc___divdi3=no
   18397 fi
   18398 
   18399 rm -f core conftest.err conftest.$ac_objext \
   18400       conftest$ac_exeext conftest.$ac_ext
   18401 LIBS=$ac_check_lib_save_LIBS
   18402 fi
   18403 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc___divdi3" >&5
   18404 echo "${ECHO_T}$ac_cv_lib_gcc___divdi3" >&6; }
   18405 if test $ac_cv_lib_gcc___divdi3 = yes; then
   18406 
   18407 cat >>confdefs.h <<\_ACEOF
   18408 #define HAVE___DIVDI3 1
   18409 _ACEOF
   18410 
   18411 fi
   18412 
   18413   { echo "$as_me:$LINENO: checking for __fixdfdi in -lgcc" >&5
   18414 echo $ECHO_N "checking for __fixdfdi in -lgcc... $ECHO_C" >&6; }
   18415 if test "${ac_cv_lib_gcc___fixdfdi+set}" = set; then
   18416   echo $ECHO_N "(cached) $ECHO_C" >&6
   18417 else
   18418   ac_check_lib_save_LIBS=$LIBS
   18419 LIBS="-lgcc  $LIBS"
   18420 cat >conftest.$ac_ext <<_ACEOF
   18421 /* confdefs.h.  */
   18422 _ACEOF
   18423 cat confdefs.h >>conftest.$ac_ext
   18424 cat >>conftest.$ac_ext <<_ACEOF
   18425 /* end confdefs.h.  */
   18426 
   18427 /* Override any GCC internal prototype to avoid an error.
   18428    Use char because int might match the return type of a GCC
   18429    builtin and then its argument prototype would still apply.  */
   18430 #ifdef __cplusplus
   18431 extern "C"
   18432 #endif
   18433 char __fixdfdi ();
   18434 int
   18435 main ()
   18436 {
   18437 return __fixdfdi ();
   18438   ;
   18439   return 0;
   18440 }
   18441 _ACEOF
   18442 rm -f conftest.$ac_objext conftest$ac_exeext
   18443 if { (ac_try="$ac_link"
   18444 case "(($ac_try" in
   18445   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   18446   *) ac_try_echo=$ac_try;;
   18447 esac
   18448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   18449   (eval "$ac_link") 2>conftest.er1
   18450   ac_status=$?
   18451   grep -v '^ *+' conftest.er1 >conftest.err
   18452   rm -f conftest.er1
   18453   cat conftest.err >&5
   18454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18455   (exit $ac_status); } &&
   18456 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   18457   { (case "(($ac_try" in
   18458   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   18459   *) ac_try_echo=$ac_try;;
   18460 esac
   18461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   18462   (eval "$ac_try") 2>&5
   18463   ac_status=$?
   18464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18465   (exit $ac_status); }; } &&
   18466 	 { ac_try='test -s conftest$ac_exeext'
   18467   { (case "(($ac_try" in
   18468   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   18469   *) ac_try_echo=$ac_try;;
   18470 esac
   18471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   18472   (eval "$ac_try") 2>&5
   18473   ac_status=$?
   18474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18475   (exit $ac_status); }; }; then
   18476   ac_cv_lib_gcc___fixdfdi=yes
   18477 else
   18478   echo "$as_me: failed program was:" >&5
   18479 sed 's/^/| /' conftest.$ac_ext >&5
   18480 
   18481 	ac_cv_lib_gcc___fixdfdi=no
   18482 fi
   18483 
   18484 rm -f core conftest.err conftest.$ac_objext \
   18485       conftest$ac_exeext conftest.$ac_ext
   18486 LIBS=$ac_check_lib_save_LIBS
   18487 fi
   18488 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc___fixdfdi" >&5
   18489 echo "${ECHO_T}$ac_cv_lib_gcc___fixdfdi" >&6; }
   18490 if test $ac_cv_lib_gcc___fixdfdi = yes; then
   18491 
   18492 cat >>confdefs.h <<\_ACEOF
   18493 #define HAVE___FIXDFDI 1
   18494 _ACEOF
   18495 
   18496 fi
   18497 
   18498   { echo "$as_me:$LINENO: checking for __fixsfdi in -lgcc" >&5
   18499 echo $ECHO_N "checking for __fixsfdi in -lgcc... $ECHO_C" >&6; }
   18500 if test "${ac_cv_lib_gcc___fixsfdi+set}" = set; then
   18501   echo $ECHO_N "(cached) $ECHO_C" >&6
   18502 else
   18503   ac_check_lib_save_LIBS=$LIBS
   18504 LIBS="-lgcc  $LIBS"
   18505 cat >conftest.$ac_ext <<_ACEOF
   18506 /* confdefs.h.  */
   18507 _ACEOF
   18508 cat confdefs.h >>conftest.$ac_ext
   18509 cat >>conftest.$ac_ext <<_ACEOF
   18510 /* end confdefs.h.  */
   18511 
   18512 /* Override any GCC internal prototype to avoid an error.
   18513    Use char because int might match the return type of a GCC
   18514    builtin and then its argument prototype would still apply.  */
   18515 #ifdef __cplusplus
   18516 extern "C"
   18517 #endif
   18518 char __fixsfdi ();
   18519 int
   18520 main ()
   18521 {
   18522 return __fixsfdi ();
   18523   ;
   18524   return 0;
   18525 }
   18526 _ACEOF
   18527 rm -f conftest.$ac_objext conftest$ac_exeext
   18528 if { (ac_try="$ac_link"
   18529 case "(($ac_try" in
   18530   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   18531   *) ac_try_echo=$ac_try;;
   18532 esac
   18533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   18534   (eval "$ac_link") 2>conftest.er1
   18535   ac_status=$?
   18536   grep -v '^ *+' conftest.er1 >conftest.err
   18537   rm -f conftest.er1
   18538   cat conftest.err >&5
   18539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18540   (exit $ac_status); } &&
   18541 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   18542   { (case "(($ac_try" in
   18543   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   18544   *) ac_try_echo=$ac_try;;
   18545 esac
   18546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   18547   (eval "$ac_try") 2>&5
   18548   ac_status=$?
   18549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18550   (exit $ac_status); }; } &&
   18551 	 { ac_try='test -s conftest$ac_exeext'
   18552   { (case "(($ac_try" in
   18553   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   18554   *) ac_try_echo=$ac_try;;
   18555 esac
   18556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   18557   (eval "$ac_try") 2>&5
   18558   ac_status=$?
   18559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18560   (exit $ac_status); }; }; then
   18561   ac_cv_lib_gcc___fixsfdi=yes
   18562 else
   18563   echo "$as_me: failed program was:" >&5
   18564 sed 's/^/| /' conftest.$ac_ext >&5
   18565 
   18566 	ac_cv_lib_gcc___fixsfdi=no
   18567 fi
   18568 
   18569 rm -f core conftest.err conftest.$ac_objext \
   18570       conftest$ac_exeext conftest.$ac_ext
   18571 LIBS=$ac_check_lib_save_LIBS
   18572 fi
   18573 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc___fixsfdi" >&5
   18574 echo "${ECHO_T}$ac_cv_lib_gcc___fixsfdi" >&6; }
   18575 if test $ac_cv_lib_gcc___fixsfdi = yes; then
   18576 
   18577 cat >>confdefs.h <<\_ACEOF
   18578 #define HAVE___FIXSFDI 1
   18579 _ACEOF
   18580 
   18581 fi
   18582 
   18583   { echo "$as_me:$LINENO: checking for __floatdidf in -lgcc" >&5
   18584 echo $ECHO_N "checking for __floatdidf in -lgcc... $ECHO_C" >&6; }
   18585 if test "${ac_cv_lib_gcc___floatdidf+set}" = set; then
   18586   echo $ECHO_N "(cached) $ECHO_C" >&6
   18587 else
   18588   ac_check_lib_save_LIBS=$LIBS
   18589 LIBS="-lgcc  $LIBS"
   18590 cat >conftest.$ac_ext <<_ACEOF
   18591 /* confdefs.h.  */
   18592 _ACEOF
   18593 cat confdefs.h >>conftest.$ac_ext
   18594 cat >>conftest.$ac_ext <<_ACEOF
   18595 /* end confdefs.h.  */
   18596 
   18597 /* Override any GCC internal prototype to avoid an error.
   18598    Use char because int might match the return type of a GCC
   18599    builtin and then its argument prototype would still apply.  */
   18600 #ifdef __cplusplus
   18601 extern "C"
   18602 #endif
   18603 char __floatdidf ();
   18604 int
   18605 main ()
   18606 {
   18607 return __floatdidf ();
   18608   ;
   18609   return 0;
   18610 }
   18611 _ACEOF
   18612 rm -f conftest.$ac_objext conftest$ac_exeext
   18613 if { (ac_try="$ac_link"
   18614 case "(($ac_try" in
   18615   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   18616   *) ac_try_echo=$ac_try;;
   18617 esac
   18618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   18619   (eval "$ac_link") 2>conftest.er1
   18620   ac_status=$?
   18621   grep -v '^ *+' conftest.er1 >conftest.err
   18622   rm -f conftest.er1
   18623   cat conftest.err >&5
   18624   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18625   (exit $ac_status); } &&
   18626 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   18627   { (case "(($ac_try" in
   18628   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   18629   *) ac_try_echo=$ac_try;;
   18630 esac
   18631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   18632   (eval "$ac_try") 2>&5
   18633   ac_status=$?
   18634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18635   (exit $ac_status); }; } &&
   18636 	 { ac_try='test -s conftest$ac_exeext'
   18637   { (case "(($ac_try" in
   18638   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   18639   *) ac_try_echo=$ac_try;;
   18640 esac
   18641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   18642   (eval "$ac_try") 2>&5
   18643   ac_status=$?
   18644   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18645   (exit $ac_status); }; }; then
   18646   ac_cv_lib_gcc___floatdidf=yes
   18647 else
   18648   echo "$as_me: failed program was:" >&5
   18649 sed 's/^/| /' conftest.$ac_ext >&5
   18650 
   18651 	ac_cv_lib_gcc___floatdidf=no
   18652 fi
   18653 
   18654 rm -f core conftest.err conftest.$ac_objext \
   18655       conftest$ac_exeext conftest.$ac_ext
   18656 LIBS=$ac_check_lib_save_LIBS
   18657 fi
   18658 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc___floatdidf" >&5
   18659 echo "${ECHO_T}$ac_cv_lib_gcc___floatdidf" >&6; }
   18660 if test $ac_cv_lib_gcc___floatdidf = yes; then
   18661 
   18662 cat >>confdefs.h <<\_ACEOF
   18663 #define HAVE___FLOATDIDF 1
   18664 _ACEOF
   18665 
   18666 fi
   18667 
   18668   { echo "$as_me:$LINENO: checking for __lshrdi3 in -lgcc" >&5
   18669 echo $ECHO_N "checking for __lshrdi3 in -lgcc... $ECHO_C" >&6; }
   18670 if test "${ac_cv_lib_gcc___lshrdi3+set}" = set; then
   18671   echo $ECHO_N "(cached) $ECHO_C" >&6
   18672 else
   18673   ac_check_lib_save_LIBS=$LIBS
   18674 LIBS="-lgcc  $LIBS"
   18675 cat >conftest.$ac_ext <<_ACEOF
   18676 /* confdefs.h.  */
   18677 _ACEOF
   18678 cat confdefs.h >>conftest.$ac_ext
   18679 cat >>conftest.$ac_ext <<_ACEOF
   18680 /* end confdefs.h.  */
   18681 
   18682 /* Override any GCC internal prototype to avoid an error.
   18683    Use char because int might match the return type of a GCC
   18684    builtin and then its argument prototype would still apply.  */
   18685 #ifdef __cplusplus
   18686 extern "C"
   18687 #endif
   18688 char __lshrdi3 ();
   18689 int
   18690 main ()
   18691 {
   18692 return __lshrdi3 ();
   18693   ;
   18694   return 0;
   18695 }
   18696 _ACEOF
   18697 rm -f conftest.$ac_objext conftest$ac_exeext
   18698 if { (ac_try="$ac_link"
   18699 case "(($ac_try" in
   18700   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   18701   *) ac_try_echo=$ac_try;;
   18702 esac
   18703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   18704   (eval "$ac_link") 2>conftest.er1
   18705   ac_status=$?
   18706   grep -v '^ *+' conftest.er1 >conftest.err
   18707   rm -f conftest.er1
   18708   cat conftest.err >&5
   18709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18710   (exit $ac_status); } &&
   18711 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   18712   { (case "(($ac_try" in
   18713   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   18714   *) ac_try_echo=$ac_try;;
   18715 esac
   18716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   18717   (eval "$ac_try") 2>&5
   18718   ac_status=$?
   18719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18720   (exit $ac_status); }; } &&
   18721 	 { ac_try='test -s conftest$ac_exeext'
   18722   { (case "(($ac_try" in
   18723   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   18724   *) ac_try_echo=$ac_try;;
   18725 esac
   18726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   18727   (eval "$ac_try") 2>&5
   18728   ac_status=$?
   18729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18730   (exit $ac_status); }; }; then
   18731   ac_cv_lib_gcc___lshrdi3=yes
   18732 else
   18733   echo "$as_me: failed program was:" >&5
   18734 sed 's/^/| /' conftest.$ac_ext >&5
   18735 
   18736 	ac_cv_lib_gcc___lshrdi3=no
   18737 fi
   18738 
   18739 rm -f core conftest.err conftest.$ac_objext \
   18740       conftest$ac_exeext conftest.$ac_ext
   18741 LIBS=$ac_check_lib_save_LIBS
   18742 fi
   18743 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc___lshrdi3" >&5
   18744 echo "${ECHO_T}$ac_cv_lib_gcc___lshrdi3" >&6; }
   18745 if test $ac_cv_lib_gcc___lshrdi3 = yes; then
   18746 
   18747 cat >>confdefs.h <<\_ACEOF
   18748 #define HAVE___LSHRDI3 1
   18749 _ACEOF
   18750 
   18751 fi
   18752 
   18753   { echo "$as_me:$LINENO: checking for __moddi3 in -lgcc" >&5
   18754 echo $ECHO_N "checking for __moddi3 in -lgcc... $ECHO_C" >&6; }
   18755 if test "${ac_cv_lib_gcc___moddi3+set}" = set; then
   18756   echo $ECHO_N "(cached) $ECHO_C" >&6
   18757 else
   18758   ac_check_lib_save_LIBS=$LIBS
   18759 LIBS="-lgcc  $LIBS"
   18760 cat >conftest.$ac_ext <<_ACEOF
   18761 /* confdefs.h.  */
   18762 _ACEOF
   18763 cat confdefs.h >>conftest.$ac_ext
   18764 cat >>conftest.$ac_ext <<_ACEOF
   18765 /* end confdefs.h.  */
   18766 
   18767 /* Override any GCC internal prototype to avoid an error.
   18768    Use char because int might match the return type of a GCC
   18769    builtin and then its argument prototype would still apply.  */
   18770 #ifdef __cplusplus
   18771 extern "C"
   18772 #endif
   18773 char __moddi3 ();
   18774 int
   18775 main ()
   18776 {
   18777 return __moddi3 ();
   18778   ;
   18779   return 0;
   18780 }
   18781 _ACEOF
   18782 rm -f conftest.$ac_objext conftest$ac_exeext
   18783 if { (ac_try="$ac_link"
   18784 case "(($ac_try" in
   18785   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   18786   *) ac_try_echo=$ac_try;;
   18787 esac
   18788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   18789   (eval "$ac_link") 2>conftest.er1
   18790   ac_status=$?
   18791   grep -v '^ *+' conftest.er1 >conftest.err
   18792   rm -f conftest.er1
   18793   cat conftest.err >&5
   18794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18795   (exit $ac_status); } &&
   18796 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   18797   { (case "(($ac_try" in
   18798   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   18799   *) ac_try_echo=$ac_try;;
   18800 esac
   18801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   18802   (eval "$ac_try") 2>&5
   18803   ac_status=$?
   18804   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18805   (exit $ac_status); }; } &&
   18806 	 { ac_try='test -s conftest$ac_exeext'
   18807   { (case "(($ac_try" in
   18808   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   18809   *) ac_try_echo=$ac_try;;
   18810 esac
   18811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   18812   (eval "$ac_try") 2>&5
   18813   ac_status=$?
   18814   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18815   (exit $ac_status); }; }; then
   18816   ac_cv_lib_gcc___moddi3=yes
   18817 else
   18818   echo "$as_me: failed program was:" >&5
   18819 sed 's/^/| /' conftest.$ac_ext >&5
   18820 
   18821 	ac_cv_lib_gcc___moddi3=no
   18822 fi
   18823 
   18824 rm -f core conftest.err conftest.$ac_objext \
   18825       conftest$ac_exeext conftest.$ac_ext
   18826 LIBS=$ac_check_lib_save_LIBS
   18827 fi
   18828 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc___moddi3" >&5
   18829 echo "${ECHO_T}$ac_cv_lib_gcc___moddi3" >&6; }
   18830 if test $ac_cv_lib_gcc___moddi3 = yes; then
   18831 
   18832 cat >>confdefs.h <<\_ACEOF
   18833 #define HAVE___MODDI3 1
   18834 _ACEOF
   18835 
   18836 fi
   18837 
   18838   { echo "$as_me:$LINENO: checking for __udivdi3 in -lgcc" >&5
   18839 echo $ECHO_N "checking for __udivdi3 in -lgcc... $ECHO_C" >&6; }
   18840 if test "${ac_cv_lib_gcc___udivdi3+set}" = set; then
   18841   echo $ECHO_N "(cached) $ECHO_C" >&6
   18842 else
   18843   ac_check_lib_save_LIBS=$LIBS
   18844 LIBS="-lgcc  $LIBS"
   18845 cat >conftest.$ac_ext <<_ACEOF
   18846 /* confdefs.h.  */
   18847 _ACEOF
   18848 cat confdefs.h >>conftest.$ac_ext
   18849 cat >>conftest.$ac_ext <<_ACEOF
   18850 /* end confdefs.h.  */
   18851 
   18852 /* Override any GCC internal prototype to avoid an error.
   18853    Use char because int might match the return type of a GCC
   18854    builtin and then its argument prototype would still apply.  */
   18855 #ifdef __cplusplus
   18856 extern "C"
   18857 #endif
   18858 char __udivdi3 ();
   18859 int
   18860 main ()
   18861 {
   18862 return __udivdi3 ();
   18863   ;
   18864   return 0;
   18865 }
   18866 _ACEOF
   18867 rm -f conftest.$ac_objext conftest$ac_exeext
   18868 if { (ac_try="$ac_link"
   18869 case "(($ac_try" in
   18870   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   18871   *) ac_try_echo=$ac_try;;
   18872 esac
   18873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   18874   (eval "$ac_link") 2>conftest.er1
   18875   ac_status=$?
   18876   grep -v '^ *+' conftest.er1 >conftest.err
   18877   rm -f conftest.er1
   18878   cat conftest.err >&5
   18879   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18880   (exit $ac_status); } &&
   18881 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   18882   { (case "(($ac_try" in
   18883   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   18884   *) ac_try_echo=$ac_try;;
   18885 esac
   18886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   18887   (eval "$ac_try") 2>&5
   18888   ac_status=$?
   18889   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18890   (exit $ac_status); }; } &&
   18891 	 { ac_try='test -s conftest$ac_exeext'
   18892   { (case "(($ac_try" in
   18893   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   18894   *) ac_try_echo=$ac_try;;
   18895 esac
   18896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   18897   (eval "$ac_try") 2>&5
   18898   ac_status=$?
   18899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18900   (exit $ac_status); }; }; then
   18901   ac_cv_lib_gcc___udivdi3=yes
   18902 else
   18903   echo "$as_me: failed program was:" >&5
   18904 sed 's/^/| /' conftest.$ac_ext >&5
   18905 
   18906 	ac_cv_lib_gcc___udivdi3=no
   18907 fi
   18908 
   18909 rm -f core conftest.err conftest.$ac_objext \
   18910       conftest$ac_exeext conftest.$ac_ext
   18911 LIBS=$ac_check_lib_save_LIBS
   18912 fi
   18913 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc___udivdi3" >&5
   18914 echo "${ECHO_T}$ac_cv_lib_gcc___udivdi3" >&6; }
   18915 if test $ac_cv_lib_gcc___udivdi3 = yes; then
   18916 
   18917 cat >>confdefs.h <<\_ACEOF
   18918 #define HAVE___UDIVDI3 1
   18919 _ACEOF
   18920 
   18921 fi
   18922 
   18923   { echo "$as_me:$LINENO: checking for __umoddi3 in -lgcc" >&5
   18924 echo $ECHO_N "checking for __umoddi3 in -lgcc... $ECHO_C" >&6; }
   18925 if test "${ac_cv_lib_gcc___umoddi3+set}" = set; then
   18926   echo $ECHO_N "(cached) $ECHO_C" >&6
   18927 else
   18928   ac_check_lib_save_LIBS=$LIBS
   18929 LIBS="-lgcc  $LIBS"
   18930 cat >conftest.$ac_ext <<_ACEOF
   18931 /* confdefs.h.  */
   18932 _ACEOF
   18933 cat confdefs.h >>conftest.$ac_ext
   18934 cat >>conftest.$ac_ext <<_ACEOF
   18935 /* end confdefs.h.  */
   18936 
   18937 /* Override any GCC internal prototype to avoid an error.
   18938    Use char because int might match the return type of a GCC
   18939    builtin and then its argument prototype would still apply.  */
   18940 #ifdef __cplusplus
   18941 extern "C"
   18942 #endif
   18943 char __umoddi3 ();
   18944 int
   18945 main ()
   18946 {
   18947 return __umoddi3 ();
   18948   ;
   18949   return 0;
   18950 }
   18951 _ACEOF
   18952 rm -f conftest.$ac_objext conftest$ac_exeext
   18953 if { (ac_try="$ac_link"
   18954 case "(($ac_try" in
   18955   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   18956   *) ac_try_echo=$ac_try;;
   18957 esac
   18958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   18959   (eval "$ac_link") 2>conftest.er1
   18960   ac_status=$?
   18961   grep -v '^ *+' conftest.er1 >conftest.err
   18962   rm -f conftest.er1
   18963   cat conftest.err >&5
   18964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18965   (exit $ac_status); } &&
   18966 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   18967   { (case "(($ac_try" in
   18968   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   18969   *) ac_try_echo=$ac_try;;
   18970 esac
   18971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   18972   (eval "$ac_try") 2>&5
   18973   ac_status=$?
   18974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18975   (exit $ac_status); }; } &&
   18976 	 { ac_try='test -s conftest$ac_exeext'
   18977   { (case "(($ac_try" in
   18978   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   18979   *) ac_try_echo=$ac_try;;
   18980 esac
   18981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   18982   (eval "$ac_try") 2>&5
   18983   ac_status=$?
   18984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18985   (exit $ac_status); }; }; then
   18986   ac_cv_lib_gcc___umoddi3=yes
   18987 else
   18988   echo "$as_me: failed program was:" >&5
   18989 sed 's/^/| /' conftest.$ac_ext >&5
   18990 
   18991 	ac_cv_lib_gcc___umoddi3=no
   18992 fi
   18993 
   18994 rm -f core conftest.err conftest.$ac_objext \
   18995       conftest$ac_exeext conftest.$ac_ext
   18996 LIBS=$ac_check_lib_save_LIBS
   18997 fi
   18998 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc___umoddi3" >&5
   18999 echo "${ECHO_T}$ac_cv_lib_gcc___umoddi3" >&6; }
   19000 if test $ac_cv_lib_gcc___umoddi3 = yes; then
   19001 
   19002 cat >>confdefs.h <<\_ACEOF
   19003 #define HAVE___UMODDI3 1
   19004 _ACEOF
   19005 
   19006 fi
   19007 
   19008 
   19009   { echo "$as_me:$LINENO: checking for __main in -lgcc" >&5
   19010 echo $ECHO_N "checking for __main in -lgcc... $ECHO_C" >&6; }
   19011 if test "${ac_cv_lib_gcc___main+set}" = set; then
   19012   echo $ECHO_N "(cached) $ECHO_C" >&6
   19013 else
   19014   ac_check_lib_save_LIBS=$LIBS
   19015 LIBS="-lgcc  $LIBS"
   19016 cat >conftest.$ac_ext <<_ACEOF
   19017 /* confdefs.h.  */
   19018 _ACEOF
   19019 cat confdefs.h >>conftest.$ac_ext
   19020 cat >>conftest.$ac_ext <<_ACEOF
   19021 /* end confdefs.h.  */
   19022 
   19023 /* Override any GCC internal prototype to avoid an error.
   19024    Use char because int might match the return type of a GCC
   19025    builtin and then its argument prototype would still apply.  */
   19026 #ifdef __cplusplus
   19027 extern "C"
   19028 #endif
   19029 char __main ();
   19030 int
   19031 main ()
   19032 {
   19033 return __main ();
   19034   ;
   19035   return 0;
   19036 }
   19037 _ACEOF
   19038 rm -f conftest.$ac_objext conftest$ac_exeext
   19039 if { (ac_try="$ac_link"
   19040 case "(($ac_try" in
   19041   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19042   *) ac_try_echo=$ac_try;;
   19043 esac
   19044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19045   (eval "$ac_link") 2>conftest.er1
   19046   ac_status=$?
   19047   grep -v '^ *+' conftest.er1 >conftest.err
   19048   rm -f conftest.er1
   19049   cat conftest.err >&5
   19050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19051   (exit $ac_status); } &&
   19052 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   19053   { (case "(($ac_try" in
   19054   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19055   *) ac_try_echo=$ac_try;;
   19056 esac
   19057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19058   (eval "$ac_try") 2>&5
   19059   ac_status=$?
   19060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19061   (exit $ac_status); }; } &&
   19062 	 { ac_try='test -s conftest$ac_exeext'
   19063   { (case "(($ac_try" in
   19064   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19065   *) ac_try_echo=$ac_try;;
   19066 esac
   19067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19068   (eval "$ac_try") 2>&5
   19069   ac_status=$?
   19070   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19071   (exit $ac_status); }; }; then
   19072   ac_cv_lib_gcc___main=yes
   19073 else
   19074   echo "$as_me: failed program was:" >&5
   19075 sed 's/^/| /' conftest.$ac_ext >&5
   19076 
   19077 	ac_cv_lib_gcc___main=no
   19078 fi
   19079 
   19080 rm -f core conftest.err conftest.$ac_objext \
   19081       conftest$ac_exeext conftest.$ac_ext
   19082 LIBS=$ac_check_lib_save_LIBS
   19083 fi
   19084 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc___main" >&5
   19085 echo "${ECHO_T}$ac_cv_lib_gcc___main" >&6; }
   19086 if test $ac_cv_lib_gcc___main = yes; then
   19087 
   19088 cat >>confdefs.h <<\_ACEOF
   19089 #define HAVE___MAIN 1
   19090 _ACEOF
   19091 
   19092 fi
   19093 
   19094   { echo "$as_me:$LINENO: checking for __cmpdi2 in -lgcc" >&5
   19095 echo $ECHO_N "checking for __cmpdi2 in -lgcc... $ECHO_C" >&6; }
   19096 if test "${ac_cv_lib_gcc___cmpdi2+set}" = set; then
   19097   echo $ECHO_N "(cached) $ECHO_C" >&6
   19098 else
   19099   ac_check_lib_save_LIBS=$LIBS
   19100 LIBS="-lgcc  $LIBS"
   19101 cat >conftest.$ac_ext <<_ACEOF
   19102 /* confdefs.h.  */
   19103 _ACEOF
   19104 cat confdefs.h >>conftest.$ac_ext
   19105 cat >>conftest.$ac_ext <<_ACEOF
   19106 /* end confdefs.h.  */
   19107 
   19108 /* Override any GCC internal prototype to avoid an error.
   19109    Use char because int might match the return type of a GCC
   19110    builtin and then its argument prototype would still apply.  */
   19111 #ifdef __cplusplus
   19112 extern "C"
   19113 #endif
   19114 char __cmpdi2 ();
   19115 int
   19116 main ()
   19117 {
   19118 return __cmpdi2 ();
   19119   ;
   19120   return 0;
   19121 }
   19122 _ACEOF
   19123 rm -f conftest.$ac_objext conftest$ac_exeext
   19124 if { (ac_try="$ac_link"
   19125 case "(($ac_try" in
   19126   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19127   *) ac_try_echo=$ac_try;;
   19128 esac
   19129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19130   (eval "$ac_link") 2>conftest.er1
   19131   ac_status=$?
   19132   grep -v '^ *+' conftest.er1 >conftest.err
   19133   rm -f conftest.er1
   19134   cat conftest.err >&5
   19135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19136   (exit $ac_status); } &&
   19137 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   19138   { (case "(($ac_try" in
   19139   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19140   *) ac_try_echo=$ac_try;;
   19141 esac
   19142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19143   (eval "$ac_try") 2>&5
   19144   ac_status=$?
   19145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19146   (exit $ac_status); }; } &&
   19147 	 { ac_try='test -s conftest$ac_exeext'
   19148   { (case "(($ac_try" in
   19149   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19150   *) ac_try_echo=$ac_try;;
   19151 esac
   19152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19153   (eval "$ac_try") 2>&5
   19154   ac_status=$?
   19155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19156   (exit $ac_status); }; }; then
   19157   ac_cv_lib_gcc___cmpdi2=yes
   19158 else
   19159   echo "$as_me: failed program was:" >&5
   19160 sed 's/^/| /' conftest.$ac_ext >&5
   19161 
   19162 	ac_cv_lib_gcc___cmpdi2=no
   19163 fi
   19164 
   19165 rm -f core conftest.err conftest.$ac_objext \
   19166       conftest$ac_exeext conftest.$ac_ext
   19167 LIBS=$ac_check_lib_save_LIBS
   19168 fi
   19169 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc___cmpdi2" >&5
   19170 echo "${ECHO_T}$ac_cv_lib_gcc___cmpdi2" >&6; }
   19171 if test $ac_cv_lib_gcc___cmpdi2 = yes; then
   19172 
   19173 cat >>confdefs.h <<\_ACEOF
   19174 #define HAVE___CMPDI2 1
   19175 _ACEOF
   19176 
   19177 fi
   19178 
   19179 fi
   19180 
   19181 if test "$llvm_cv_os_type" = "MingW" ; then
   19182   { echo "$as_me:$LINENO: checking whether EnumerateLoadedModules() accepts new decl" >&5
   19183 echo $ECHO_N "checking whether EnumerateLoadedModules() accepts new decl... $ECHO_C" >&6; }
   19184   cat >conftest.$ac_ext <<_ACEOF
   19185 #include <windows.h>
   19186 #include <imagehlp.h>
   19187 extern void foo(PENUMLOADED_MODULES_CALLBACK);
   19188 extern void foo(BOOL(CALLBACK*)(PCSTR,ULONG_PTR,ULONG,PVOID));
   19189 _ACEOF
   19190 rm -f conftest.$ac_objext
   19191 if { (ac_try="$ac_compile"
   19192 case "(($ac_try" in
   19193   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19194   *) ac_try_echo=$ac_try;;
   19195 esac
   19196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19197   (eval "$ac_compile") 2>conftest.er1
   19198   ac_status=$?
   19199   grep -v '^ *+' conftest.er1 >conftest.err
   19200   rm -f conftest.er1
   19201   cat conftest.err >&5
   19202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19203   (exit $ac_status); } &&
   19204 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   19205   { (case "(($ac_try" in
   19206   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19207   *) ac_try_echo=$ac_try;;
   19208 esac
   19209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19210   (eval "$ac_try") 2>&5
   19211   ac_status=$?
   19212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19213   (exit $ac_status); }; } &&
   19214 	 { ac_try='test -s conftest.$ac_objext'
   19215   { (case "(($ac_try" in
   19216   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19217   *) ac_try_echo=$ac_try;;
   19218 esac
   19219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19220   (eval "$ac_try") 2>&5
   19221   ac_status=$?
   19222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19223   (exit $ac_status); }; }; then
   19224 
   19225   { echo "$as_me:$LINENO: result: yes" >&5
   19226 echo "${ECHO_T}yes" >&6; }
   19227   llvm_cv_win32_elmcb_pcstr="PCSTR"
   19228 
   19229 else
   19230   echo "$as_me: failed program was:" >&5
   19231 sed 's/^/| /' conftest.$ac_ext >&5
   19232 
   19233 
   19234   { echo "$as_me:$LINENO: result: no" >&5
   19235 echo "${ECHO_T}no" >&6; }
   19236   llvm_cv_win32_elmcb_pcstr="PSTR"
   19237 
   19238 fi
   19239 
   19240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   19241 
   19242 cat >>confdefs.h <<_ACEOF
   19243 #define WIN32_ELMCB_PCSTR $llvm_cv_win32_elmcb_pcstr
   19244 _ACEOF
   19245 
   19246 fi
   19247 
   19248 
   19249 { echo "$as_me:$LINENO: checking for isnan in <math.h>" >&5
   19250 echo $ECHO_N "checking for isnan in <math.h>... $ECHO_C" >&6; }
   19251 if test "${ac_cv_func_isnan_in_math_h+set}" = set; then
   19252   echo $ECHO_N "(cached) $ECHO_C" >&6
   19253 else
   19254   ac_ext=cpp
   19255 ac_cpp='$CXXCPP $CPPFLAGS'
   19256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   19259 
   19260    cat >conftest.$ac_ext <<_ACEOF
   19261 /* confdefs.h.  */
   19262 _ACEOF
   19263 cat confdefs.h >>conftest.$ac_ext
   19264 cat >>conftest.$ac_ext <<_ACEOF
   19265 /* end confdefs.h.  */
   19266 #include <math.h>
   19267 int
   19268 main ()
   19269 {
   19270 float f; isnan(f);
   19271   ;
   19272   return 0;
   19273 }
   19274 _ACEOF
   19275 rm -f conftest.$ac_objext
   19276 if { (ac_try="$ac_compile"
   19277 case "(($ac_try" in
   19278   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19279   *) ac_try_echo=$ac_try;;
   19280 esac
   19281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19282   (eval "$ac_compile") 2>conftest.er1
   19283   ac_status=$?
   19284   grep -v '^ *+' conftest.er1 >conftest.err
   19285   rm -f conftest.er1
   19286   cat conftest.err >&5
   19287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19288   (exit $ac_status); } &&
   19289 	 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
   19290   { (case "(($ac_try" in
   19291   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19292   *) ac_try_echo=$ac_try;;
   19293 esac
   19294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19295   (eval "$ac_try") 2>&5
   19296   ac_status=$?
   19297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19298   (exit $ac_status); }; } &&
   19299 	 { ac_try='test -s conftest.$ac_objext'
   19300   { (case "(($ac_try" in
   19301   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19302   *) ac_try_echo=$ac_try;;
   19303 esac
   19304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19305   (eval "$ac_try") 2>&5
   19306   ac_status=$?
   19307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19308   (exit $ac_status); }; }; then
   19309   ac_cv_func_isnan_in_math_h=yes
   19310 else
   19311   echo "$as_me: failed program was:" >&5
   19312 sed 's/^/| /' conftest.$ac_ext >&5
   19313 
   19314 	ac_cv_func_isnan_in_math_h=no
   19315 fi
   19316 
   19317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   19318   ac_ext=c
   19319 ac_cpp='$CPP $CPPFLAGS'
   19320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19323 
   19324 fi
   19325 { echo "$as_me:$LINENO: result: $ac_cv_func_isnan_in_math_h" >&5
   19326 echo "${ECHO_T}$ac_cv_func_isnan_in_math_h" >&6; }
   19327 
   19328 
   19329 if test "$ac_cv_func_isnan_in_math_h" = "yes" ; then
   19330 
   19331 cat >>confdefs.h <<\_ACEOF
   19332 #define HAVE_ISNAN_IN_MATH_H 1
   19333 _ACEOF
   19334 
   19335 fi
   19336 
   19337 { echo "$as_me:$LINENO: checking for isnan in <cmath>" >&5
   19338 echo $ECHO_N "checking for isnan in <cmath>... $ECHO_C" >&6; }
   19339 if test "${ac_cv_func_isnan_in_cmath+set}" = set; then
   19340   echo $ECHO_N "(cached) $ECHO_C" >&6
   19341 else
   19342   ac_ext=cpp
   19343 ac_cpp='$CXXCPP $CPPFLAGS'
   19344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   19347 
   19348    cat >conftest.$ac_ext <<_ACEOF
   19349 /* confdefs.h.  */
   19350 _ACEOF
   19351 cat confdefs.h >>conftest.$ac_ext
   19352 cat >>conftest.$ac_ext <<_ACEOF
   19353 /* end confdefs.h.  */
   19354 #include <cmath>
   19355 int
   19356 main ()
   19357 {
   19358 float f; isnan(f);
   19359   ;
   19360   return 0;
   19361 }
   19362 _ACEOF
   19363 rm -f conftest.$ac_objext
   19364 if { (ac_try="$ac_compile"
   19365 case "(($ac_try" in
   19366   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19367   *) ac_try_echo=$ac_try;;
   19368 esac
   19369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19370   (eval "$ac_compile") 2>conftest.er1
   19371   ac_status=$?
   19372   grep -v '^ *+' conftest.er1 >conftest.err
   19373   rm -f conftest.er1
   19374   cat conftest.err >&5
   19375   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19376   (exit $ac_status); } &&
   19377 	 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
   19378   { (case "(($ac_try" in
   19379   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19380   *) ac_try_echo=$ac_try;;
   19381 esac
   19382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19383   (eval "$ac_try") 2>&5
   19384   ac_status=$?
   19385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19386   (exit $ac_status); }; } &&
   19387 	 { ac_try='test -s conftest.$ac_objext'
   19388   { (case "(($ac_try" in
   19389   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19390   *) ac_try_echo=$ac_try;;
   19391 esac
   19392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19393   (eval "$ac_try") 2>&5
   19394   ac_status=$?
   19395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19396   (exit $ac_status); }; }; then
   19397   ac_cv_func_isnan_in_cmath=yes
   19398 else
   19399   echo "$as_me: failed program was:" >&5
   19400 sed 's/^/| /' conftest.$ac_ext >&5
   19401 
   19402 	ac_cv_func_isnan_in_cmath=no
   19403 fi
   19404 
   19405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   19406   ac_ext=c
   19407 ac_cpp='$CPP $CPPFLAGS'
   19408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19411 
   19412 fi
   19413 { echo "$as_me:$LINENO: result: $ac_cv_func_isnan_in_cmath" >&5
   19414 echo "${ECHO_T}$ac_cv_func_isnan_in_cmath" >&6; }
   19415 
   19416 if test "$ac_cv_func_isnan_in_cmath" = "yes" ; then
   19417 
   19418 cat >>confdefs.h <<\_ACEOF
   19419 #define HAVE_ISNAN_IN_CMATH 1
   19420 _ACEOF
   19421 
   19422 fi
   19423 
   19424 { echo "$as_me:$LINENO: checking for std::isnan in <cmath>" >&5
   19425 echo $ECHO_N "checking for std::isnan in <cmath>... $ECHO_C" >&6; }
   19426 if test "${ac_cv_func_std_isnan_in_cmath+set}" = set; then
   19427   echo $ECHO_N "(cached) $ECHO_C" >&6
   19428 else
   19429   ac_ext=cpp
   19430 ac_cpp='$CXXCPP $CPPFLAGS'
   19431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   19434 
   19435    cat >conftest.$ac_ext <<_ACEOF
   19436 /* confdefs.h.  */
   19437 _ACEOF
   19438 cat confdefs.h >>conftest.$ac_ext
   19439 cat >>conftest.$ac_ext <<_ACEOF
   19440 /* end confdefs.h.  */
   19441 #include <cmath>
   19442 int
   19443 main ()
   19444 {
   19445 float f; std::isnan(f);
   19446   ;
   19447   return 0;
   19448 }
   19449 _ACEOF
   19450 rm -f conftest.$ac_objext
   19451 if { (ac_try="$ac_compile"
   19452 case "(($ac_try" in
   19453   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19454   *) ac_try_echo=$ac_try;;
   19455 esac
   19456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19457   (eval "$ac_compile") 2>conftest.er1
   19458   ac_status=$?
   19459   grep -v '^ *+' conftest.er1 >conftest.err
   19460   rm -f conftest.er1
   19461   cat conftest.err >&5
   19462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19463   (exit $ac_status); } &&
   19464 	 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
   19465   { (case "(($ac_try" in
   19466   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19467   *) ac_try_echo=$ac_try;;
   19468 esac
   19469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19470   (eval "$ac_try") 2>&5
   19471   ac_status=$?
   19472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19473   (exit $ac_status); }; } &&
   19474 	 { ac_try='test -s conftest.$ac_objext'
   19475   { (case "(($ac_try" in
   19476   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19477   *) ac_try_echo=$ac_try;;
   19478 esac
   19479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19480   (eval "$ac_try") 2>&5
   19481   ac_status=$?
   19482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19483   (exit $ac_status); }; }; then
   19484   ac_cv_func_std_isnan_in_cmath=yes
   19485 else
   19486   echo "$as_me: failed program was:" >&5
   19487 sed 's/^/| /' conftest.$ac_ext >&5
   19488 
   19489 	ac_cv_func_std_isnan_in_cmath=no
   19490 fi
   19491 
   19492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   19493   ac_ext=c
   19494 ac_cpp='$CPP $CPPFLAGS'
   19495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19498 
   19499 fi
   19500 { echo "$as_me:$LINENO: result: $ac_cv_func_std_isnan_in_cmath" >&5
   19501 echo "${ECHO_T}$ac_cv_func_std_isnan_in_cmath" >&6; }
   19502 
   19503 if test "$ac_cv_func_std_isnan_in_cmath" = "yes" ; then
   19504 
   19505 cat >>confdefs.h <<\_ACEOF
   19506 #define HAVE_STD_ISNAN_IN_CMATH 1
   19507 _ACEOF
   19508 
   19509 fi
   19510 
   19511 
   19512 { echo "$as_me:$LINENO: checking for isinf in <math.h>" >&5
   19513 echo $ECHO_N "checking for isinf in <math.h>... $ECHO_C" >&6; }
   19514 if test "${ac_cv_func_isinf_in_math_h+set}" = set; then
   19515   echo $ECHO_N "(cached) $ECHO_C" >&6
   19516 else
   19517   ac_ext=cpp
   19518 ac_cpp='$CXXCPP $CPPFLAGS'
   19519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   19522 
   19523    cat >conftest.$ac_ext <<_ACEOF
   19524 /* confdefs.h.  */
   19525 _ACEOF
   19526 cat confdefs.h >>conftest.$ac_ext
   19527 cat >>conftest.$ac_ext <<_ACEOF
   19528 /* end confdefs.h.  */
   19529 #include <math.h>
   19530 int
   19531 main ()
   19532 {
   19533 float f; isinf(f);
   19534   ;
   19535   return 0;
   19536 }
   19537 _ACEOF
   19538 rm -f conftest.$ac_objext
   19539 if { (ac_try="$ac_compile"
   19540 case "(($ac_try" in
   19541   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19542   *) ac_try_echo=$ac_try;;
   19543 esac
   19544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19545   (eval "$ac_compile") 2>conftest.er1
   19546   ac_status=$?
   19547   grep -v '^ *+' conftest.er1 >conftest.err
   19548   rm -f conftest.er1
   19549   cat conftest.err >&5
   19550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19551   (exit $ac_status); } &&
   19552 	 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
   19553   { (case "(($ac_try" in
   19554   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19555   *) ac_try_echo=$ac_try;;
   19556 esac
   19557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19558   (eval "$ac_try") 2>&5
   19559   ac_status=$?
   19560   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19561   (exit $ac_status); }; } &&
   19562 	 { ac_try='test -s conftest.$ac_objext'
   19563   { (case "(($ac_try" in
   19564   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19565   *) ac_try_echo=$ac_try;;
   19566 esac
   19567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19568   (eval "$ac_try") 2>&5
   19569   ac_status=$?
   19570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19571   (exit $ac_status); }; }; then
   19572   ac_cv_func_isinf_in_math_h=yes
   19573 else
   19574   echo "$as_me: failed program was:" >&5
   19575 sed 's/^/| /' conftest.$ac_ext >&5
   19576 
   19577 	ac_cv_func_isinf_in_math_h=no
   19578 fi
   19579 
   19580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   19581   ac_ext=c
   19582 ac_cpp='$CPP $CPPFLAGS'
   19583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19586 
   19587 fi
   19588 { echo "$as_me:$LINENO: result: $ac_cv_func_isinf_in_math_h" >&5
   19589 echo "${ECHO_T}$ac_cv_func_isinf_in_math_h" >&6; }
   19590 
   19591 if test "$ac_cv_func_isinf_in_math_h" = "yes" ; then
   19592 
   19593 cat >>confdefs.h <<\_ACEOF
   19594 #define HAVE_ISINF_IN_MATH_H 1
   19595 _ACEOF
   19596 
   19597 fi
   19598 
   19599 { echo "$as_me:$LINENO: checking for isinf in <cmath>" >&5
   19600 echo $ECHO_N "checking for isinf in <cmath>... $ECHO_C" >&6; }
   19601 if test "${ac_cv_func_isinf_in_cmath+set}" = set; then
   19602   echo $ECHO_N "(cached) $ECHO_C" >&6
   19603 else
   19604   ac_ext=cpp
   19605 ac_cpp='$CXXCPP $CPPFLAGS'
   19606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   19609 
   19610    cat >conftest.$ac_ext <<_ACEOF
   19611 /* confdefs.h.  */
   19612 _ACEOF
   19613 cat confdefs.h >>conftest.$ac_ext
   19614 cat >>conftest.$ac_ext <<_ACEOF
   19615 /* end confdefs.h.  */
   19616 #include <cmath>
   19617 int
   19618 main ()
   19619 {
   19620 float f; isinf(f);
   19621   ;
   19622   return 0;
   19623 }
   19624 _ACEOF
   19625 rm -f conftest.$ac_objext
   19626 if { (ac_try="$ac_compile"
   19627 case "(($ac_try" in
   19628   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19629   *) ac_try_echo=$ac_try;;
   19630 esac
   19631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19632   (eval "$ac_compile") 2>conftest.er1
   19633   ac_status=$?
   19634   grep -v '^ *+' conftest.er1 >conftest.err
   19635   rm -f conftest.er1
   19636   cat conftest.err >&5
   19637   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19638   (exit $ac_status); } &&
   19639 	 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
   19640   { (case "(($ac_try" in
   19641   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19642   *) ac_try_echo=$ac_try;;
   19643 esac
   19644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19645   (eval "$ac_try") 2>&5
   19646   ac_status=$?
   19647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19648   (exit $ac_status); }; } &&
   19649 	 { ac_try='test -s conftest.$ac_objext'
   19650   { (case "(($ac_try" in
   19651   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19652   *) ac_try_echo=$ac_try;;
   19653 esac
   19654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19655   (eval "$ac_try") 2>&5
   19656   ac_status=$?
   19657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19658   (exit $ac_status); }; }; then
   19659   ac_cv_func_isinf_in_cmath=yes
   19660 else
   19661   echo "$as_me: failed program was:" >&5
   19662 sed 's/^/| /' conftest.$ac_ext >&5
   19663 
   19664 	ac_cv_func_isinf_in_cmath=no
   19665 fi
   19666 
   19667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   19668   ac_ext=c
   19669 ac_cpp='$CPP $CPPFLAGS'
   19670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19673 
   19674 fi
   19675 { echo "$as_me:$LINENO: result: $ac_cv_func_isinf_in_cmath" >&5
   19676 echo "${ECHO_T}$ac_cv_func_isinf_in_cmath" >&6; }
   19677 
   19678 if test "$ac_cv_func_isinf_in_cmath" = "yes" ; then
   19679 
   19680 cat >>confdefs.h <<\_ACEOF
   19681 #define HAVE_ISINF_IN_CMATH 1
   19682 _ACEOF
   19683 
   19684 fi
   19685 
   19686 { echo "$as_me:$LINENO: checking for std::isinf in <cmath>" >&5
   19687 echo $ECHO_N "checking for std::isinf in <cmath>... $ECHO_C" >&6; }
   19688 if test "${ac_cv_func_std_isinf_in_cmath+set}" = set; then
   19689   echo $ECHO_N "(cached) $ECHO_C" >&6
   19690 else
   19691   ac_ext=cpp
   19692 ac_cpp='$CXXCPP $CPPFLAGS'
   19693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   19696 
   19697    cat >conftest.$ac_ext <<_ACEOF
   19698 /* confdefs.h.  */
   19699 _ACEOF
   19700 cat confdefs.h >>conftest.$ac_ext
   19701 cat >>conftest.$ac_ext <<_ACEOF
   19702 /* end confdefs.h.  */
   19703 #include <cmath>
   19704 int
   19705 main ()
   19706 {
   19707 float f; std::isinf(f)}
   19708   ;
   19709   return 0;
   19710 }
   19711 _ACEOF
   19712 rm -f conftest.$ac_objext
   19713 if { (ac_try="$ac_compile"
   19714 case "(($ac_try" in
   19715   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19716   *) ac_try_echo=$ac_try;;
   19717 esac
   19718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19719   (eval "$ac_compile") 2>conftest.er1
   19720   ac_status=$?
   19721   grep -v '^ *+' conftest.er1 >conftest.err
   19722   rm -f conftest.er1
   19723   cat conftest.err >&5
   19724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19725   (exit $ac_status); } &&
   19726 	 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
   19727   { (case "(($ac_try" in
   19728   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19729   *) ac_try_echo=$ac_try;;
   19730 esac
   19731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19732   (eval "$ac_try") 2>&5
   19733   ac_status=$?
   19734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19735   (exit $ac_status); }; } &&
   19736 	 { ac_try='test -s conftest.$ac_objext'
   19737   { (case "(($ac_try" in
   19738   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19739   *) ac_try_echo=$ac_try;;
   19740 esac
   19741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19742   (eval "$ac_try") 2>&5
   19743   ac_status=$?
   19744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19745   (exit $ac_status); }; }; then
   19746   ac_cv_func_std_isinf_in_cmath=yes
   19747 else
   19748   echo "$as_me: failed program was:" >&5
   19749 sed 's/^/| /' conftest.$ac_ext >&5
   19750 
   19751 	ac_cv_func_std_isinf_in_cmath=no
   19752 fi
   19753 
   19754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   19755   ac_ext=c
   19756 ac_cpp='$CPP $CPPFLAGS'
   19757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19760 
   19761 fi
   19762 { echo "$as_me:$LINENO: result: $ac_cv_func_std_isinf_in_cmath" >&5
   19763 echo "${ECHO_T}$ac_cv_func_std_isinf_in_cmath" >&6; }
   19764 
   19765 if test "$ac_cv_func_std_isinf_in_cmath" = "yes" ; then
   19766 
   19767 cat >>confdefs.h <<\_ACEOF
   19768 #define HAVE_STD_ISINF_IN_CMATH 1
   19769 _ACEOF
   19770 
   19771 fi
   19772 
   19773 { echo "$as_me:$LINENO: checking for finite in <ieeefp.h>" >&5
   19774 echo $ECHO_N "checking for finite in <ieeefp.h>... $ECHO_C" >&6; }
   19775 if test "${ac_cv_func_finite_in_ieeefp_h+set}" = set; then
   19776   echo $ECHO_N "(cached) $ECHO_C" >&6
   19777 else
   19778   ac_ext=cpp
   19779 ac_cpp='$CXXCPP $CPPFLAGS'
   19780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   19783 
   19784    cat >conftest.$ac_ext <<_ACEOF
   19785 /* confdefs.h.  */
   19786 _ACEOF
   19787 cat confdefs.h >>conftest.$ac_ext
   19788 cat >>conftest.$ac_ext <<_ACEOF
   19789 /* end confdefs.h.  */
   19790 #include <ieeefp.h>
   19791 int
   19792 main ()
   19793 {
   19794 float f; finite(f);
   19795   ;
   19796   return 0;
   19797 }
   19798 _ACEOF
   19799 rm -f conftest.$ac_objext
   19800 if { (ac_try="$ac_compile"
   19801 case "(($ac_try" in
   19802   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19803   *) ac_try_echo=$ac_try;;
   19804 esac
   19805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19806   (eval "$ac_compile") 2>conftest.er1
   19807   ac_status=$?
   19808   grep -v '^ *+' conftest.er1 >conftest.err
   19809   rm -f conftest.er1
   19810   cat conftest.err >&5
   19811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19812   (exit $ac_status); } &&
   19813 	 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
   19814   { (case "(($ac_try" in
   19815   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19816   *) ac_try_echo=$ac_try;;
   19817 esac
   19818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19819   (eval "$ac_try") 2>&5
   19820   ac_status=$?
   19821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19822   (exit $ac_status); }; } &&
   19823 	 { ac_try='test -s conftest.$ac_objext'
   19824   { (case "(($ac_try" in
   19825   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19826   *) ac_try_echo=$ac_try;;
   19827 esac
   19828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19829   (eval "$ac_try") 2>&5
   19830   ac_status=$?
   19831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19832   (exit $ac_status); }; }; then
   19833   ac_cv_func_finite_in_ieeefp_h=yes
   19834 else
   19835   echo "$as_me: failed program was:" >&5
   19836 sed 's/^/| /' conftest.$ac_ext >&5
   19837 
   19838 	ac_cv_func_finite_in_ieeefp_h=no
   19839 fi
   19840 
   19841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   19842   ac_ext=c
   19843 ac_cpp='$CPP $CPPFLAGS'
   19844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19847 
   19848 fi
   19849 { echo "$as_me:$LINENO: result: $ac_cv_func_finite_in_ieeefp_h" >&5
   19850 echo "${ECHO_T}$ac_cv_func_finite_in_ieeefp_h" >&6; }
   19851 
   19852 if test "$ac_cv_func_finite_in_ieeefp_h" = "yes" ; then
   19853 
   19854 cat >>confdefs.h <<\_ACEOF
   19855 #define HAVE_FINITE_IN_IEEEFP_H 1
   19856 _ACEOF
   19857 
   19858 fi
   19859 
   19860 
   19861 
   19862 if test "$llvm_cv_platform_type" = "Unix" ; then
   19863 
   19864 
   19865 for ac_header in stdlib.h unistd.h
   19866 do
   19867 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   19868 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   19869   { echo "$as_me:$LINENO: checking for $ac_header" >&5
   19870 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   19871 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   19872   echo $ECHO_N "(cached) $ECHO_C" >&6
   19873 fi
   19874 ac_res=`eval echo '${'$as_ac_Header'}'`
   19875 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   19876 echo "${ECHO_T}$ac_res" >&6; }
   19877 else
   19878   # Is the header compilable?
   19879 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
   19880 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
   19881 cat >conftest.$ac_ext <<_ACEOF
   19882 /* confdefs.h.  */
   19883 _ACEOF
   19884 cat confdefs.h >>conftest.$ac_ext
   19885 cat >>conftest.$ac_ext <<_ACEOF
   19886 /* end confdefs.h.  */
   19887 $ac_includes_default
   19888 #include <$ac_header>
   19889 _ACEOF
   19890 rm -f conftest.$ac_objext
   19891 if { (ac_try="$ac_compile"
   19892 case "(($ac_try" in
   19893   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19894   *) ac_try_echo=$ac_try;;
   19895 esac
   19896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19897   (eval "$ac_compile") 2>conftest.er1
   19898   ac_status=$?
   19899   grep -v '^ *+' conftest.er1 >conftest.err
   19900   rm -f conftest.er1
   19901   cat conftest.err >&5
   19902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19903   (exit $ac_status); } &&
   19904 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   19905   { (case "(($ac_try" in
   19906   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19907   *) ac_try_echo=$ac_try;;
   19908 esac
   19909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19910   (eval "$ac_try") 2>&5
   19911   ac_status=$?
   19912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19913   (exit $ac_status); }; } &&
   19914 	 { ac_try='test -s conftest.$ac_objext'
   19915   { (case "(($ac_try" in
   19916   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19917   *) ac_try_echo=$ac_try;;
   19918 esac
   19919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19920   (eval "$ac_try") 2>&5
   19921   ac_status=$?
   19922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19923   (exit $ac_status); }; }; then
   19924   ac_header_compiler=yes
   19925 else
   19926   echo "$as_me: failed program was:" >&5
   19927 sed 's/^/| /' conftest.$ac_ext >&5
   19928 
   19929 	ac_header_compiler=no
   19930 fi
   19931 
   19932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   19933 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   19934 echo "${ECHO_T}$ac_header_compiler" >&6; }
   19935 
   19936 # Is the header present?
   19937 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
   19938 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
   19939 cat >conftest.$ac_ext <<_ACEOF
   19940 /* confdefs.h.  */
   19941 _ACEOF
   19942 cat confdefs.h >>conftest.$ac_ext
   19943 cat >>conftest.$ac_ext <<_ACEOF
   19944 /* end confdefs.h.  */
   19945 #include <$ac_header>
   19946 _ACEOF
   19947 if { (ac_try="$ac_cpp conftest.$ac_ext"
   19948 case "(($ac_try" in
   19949   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19950   *) ac_try_echo=$ac_try;;
   19951 esac
   19952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   19953   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   19954   ac_status=$?
   19955   grep -v '^ *+' conftest.er1 >conftest.err
   19956   rm -f conftest.er1
   19957   cat conftest.err >&5
   19958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19959   (exit $ac_status); } >/dev/null; then
   19960   if test -s conftest.err; then
   19961     ac_cpp_err=$ac_c_preproc_warn_flag
   19962     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   19963   else
   19964     ac_cpp_err=
   19965   fi
   19966 else
   19967   ac_cpp_err=yes
   19968 fi
   19969 if test -z "$ac_cpp_err"; then
   19970   ac_header_preproc=yes
   19971 else
   19972   echo "$as_me: failed program was:" >&5
   19973 sed 's/^/| /' conftest.$ac_ext >&5
   19974 
   19975   ac_header_preproc=no
   19976 fi
   19977 
   19978 rm -f conftest.err conftest.$ac_ext
   19979 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   19980 echo "${ECHO_T}$ac_header_preproc" >&6; }
   19981 
   19982 # So?  What about this header?
   19983 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   19984   yes:no: )
   19985     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   19986 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   19987     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   19988 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   19989     ac_header_preproc=yes
   19990     ;;
   19991   no:yes:* )
   19992     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   19993 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   19994     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   19995 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   19996     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   19997 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   19998     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   19999 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   20000     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   20001 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   20002     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   20003 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   20004     ( cat <<\_ASBOX
   20005 ## ------------------------------ ##
   20006 ## Report this to bugs@yourdomain ##
   20007 ## ------------------------------ ##
   20008 _ASBOX
   20009      ) | sed "s/^/$as_me: WARNING:     /" >&2
   20010     ;;
   20011 esac
   20012 { echo "$as_me:$LINENO: checking for $ac_header" >&5
   20013 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   20014 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   20015   echo $ECHO_N "(cached) $ECHO_C" >&6
   20016 else
   20017   eval "$as_ac_Header=\$ac_header_preproc"
   20018 fi
   20019 ac_res=`eval echo '${'$as_ac_Header'}'`
   20020 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   20021 echo "${ECHO_T}$ac_res" >&6; }
   20022 
   20023 fi
   20024 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   20025   cat >>confdefs.h <<_ACEOF
   20026 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   20027 _ACEOF
   20028 
   20029 fi
   20030 
   20031 done
   20032 
   20033 
   20034 for ac_func in getpagesize
   20035 do
   20036 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
   20037 { echo "$as_me:$LINENO: checking for $ac_func" >&5
   20038 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
   20039 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
   20040   echo $ECHO_N "(cached) $ECHO_C" >&6
   20041 else
   20042   cat >conftest.$ac_ext <<_ACEOF
   20043 /* confdefs.h.  */
   20044 _ACEOF
   20045 cat confdefs.h >>conftest.$ac_ext
   20046 cat >>conftest.$ac_ext <<_ACEOF
   20047 /* end confdefs.h.  */
   20048 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
   20049    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   20050 #define $ac_func innocuous_$ac_func
   20051 
   20052 /* System header to define __stub macros and hopefully few prototypes,
   20053     which can conflict with char $ac_func (); below.
   20054     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   20055     <limits.h> exists even on freestanding compilers.  */
   20056 
   20057 #ifdef __STDC__
   20058 # include <limits.h>
   20059 #else
   20060 # include <assert.h>
   20061 #endif
   20062 
   20063 #undef $ac_func
   20064 
   20065 /* Override any GCC internal prototype to avoid an error.
   20066    Use char because int might match the return type of a GCC
   20067    builtin and then its argument prototype would still apply.  */
   20068 #ifdef __cplusplus
   20069 extern "C"
   20070 #endif
   20071 char $ac_func ();
   20072 /* The GNU C library defines this for functions which it implements
   20073     to always fail with ENOSYS.  Some functions are actually named
   20074     something starting with __ and the normal name is an alias.  */
   20075 #if defined __stub_$ac_func || defined __stub___$ac_func
   20076 choke me
   20077 #endif
   20078 
   20079 int
   20080 main ()
   20081 {
   20082 return $ac_func ();
   20083   ;
   20084   return 0;
   20085 }
   20086 _ACEOF
   20087 rm -f conftest.$ac_objext conftest$ac_exeext
   20088 if { (ac_try="$ac_link"
   20089 case "(($ac_try" in
   20090   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20091   *) ac_try_echo=$ac_try;;
   20092 esac
   20093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20094   (eval "$ac_link") 2>conftest.er1
   20095   ac_status=$?
   20096   grep -v '^ *+' conftest.er1 >conftest.err
   20097   rm -f conftest.er1
   20098   cat conftest.err >&5
   20099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20100   (exit $ac_status); } &&
   20101 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   20102   { (case "(($ac_try" in
   20103   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20104   *) ac_try_echo=$ac_try;;
   20105 esac
   20106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20107   (eval "$ac_try") 2>&5
   20108   ac_status=$?
   20109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20110   (exit $ac_status); }; } &&
   20111 	 { ac_try='test -s conftest$ac_exeext'
   20112   { (case "(($ac_try" in
   20113   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20114   *) ac_try_echo=$ac_try;;
   20115 esac
   20116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20117   (eval "$ac_try") 2>&5
   20118   ac_status=$?
   20119   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20120   (exit $ac_status); }; }; then
   20121   eval "$as_ac_var=yes"
   20122 else
   20123   echo "$as_me: failed program was:" >&5
   20124 sed 's/^/| /' conftest.$ac_ext >&5
   20125 
   20126 	eval "$as_ac_var=no"
   20127 fi
   20128 
   20129 rm -f core conftest.err conftest.$ac_objext \
   20130       conftest$ac_exeext conftest.$ac_ext
   20131 fi
   20132 ac_res=`eval echo '${'$as_ac_var'}'`
   20133 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   20134 echo "${ECHO_T}$ac_res" >&6; }
   20135 if test `eval echo '${'$as_ac_var'}'` = yes; then
   20136   cat >>confdefs.h <<_ACEOF
   20137 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
   20138 _ACEOF
   20139 
   20140 fi
   20141 done
   20142 
   20143 { echo "$as_me:$LINENO: checking for working mmap" >&5
   20144 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6; }
   20145 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
   20146   echo $ECHO_N "(cached) $ECHO_C" >&6
   20147 else
   20148   if test "$cross_compiling" = yes; then
   20149   ac_cv_func_mmap_fixed_mapped=no
   20150 else
   20151   cat >conftest.$ac_ext <<_ACEOF
   20152 /* confdefs.h.  */
   20153 _ACEOF
   20154 cat confdefs.h >>conftest.$ac_ext
   20155 cat >>conftest.$ac_ext <<_ACEOF
   20156 /* end confdefs.h.  */
   20157 $ac_includes_default
   20158 /* malloc might have been renamed as rpl_malloc. */
   20159 #undef malloc
   20160 
   20161 /* Thanks to Mike Haertel and Jim Avera for this test.
   20162    Here is a matrix of mmap possibilities:
   20163 	mmap private not fixed
   20164 	mmap private fixed at somewhere currently unmapped
   20165 	mmap private fixed at somewhere already mapped
   20166 	mmap shared not fixed
   20167 	mmap shared fixed at somewhere currently unmapped
   20168 	mmap shared fixed at somewhere already mapped
   20169    For private mappings, we should verify that changes cannot be read()
   20170    back from the file, nor mmap's back from the file at a different
   20171    address.  (There have been systems where private was not correctly
   20172    implemented like the infamous i386 svr4.0, and systems where the
   20173    VM page cache was not coherent with the file system buffer cache
   20174    like early versions of FreeBSD and possibly contemporary NetBSD.)
   20175    For shared mappings, we should conversely verify that changes get
   20176    propagated back to all the places they're supposed to be.
   20177 
   20178    Grep wants private fixed already mapped.
   20179    The main things grep needs to know about mmap are:
   20180    * does it exist and is it safe to write into the mmap'd area
   20181    * how to use it (BSD variants)  */
   20182 
   20183 #include <fcntl.h>
   20184 #include <sys/mman.h>
   20185 
   20186 #if !STDC_HEADERS && !HAVE_STDLIB_H
   20187 char *malloc ();
   20188 #endif
   20189 
   20190 /* This mess was copied from the GNU getpagesize.h.  */
   20191 #if !HAVE_GETPAGESIZE
   20192 /* Assume that all systems that can run configure have sys/param.h.  */
   20193 # if !HAVE_SYS_PARAM_H
   20194 #  define HAVE_SYS_PARAM_H 1
   20195 # endif
   20196 
   20197 # ifdef _SC_PAGESIZE
   20198 #  define getpagesize() sysconf(_SC_PAGESIZE)
   20199 # else /* no _SC_PAGESIZE */
   20200 #  if HAVE_SYS_PARAM_H
   20201 #   include <sys/param.h>
   20202 #   ifdef EXEC_PAGESIZE
   20203 #    define getpagesize() EXEC_PAGESIZE
   20204 #   else /* no EXEC_PAGESIZE */
   20205 #    ifdef NBPG
   20206 #     define getpagesize() NBPG * CLSIZE
   20207 #     ifndef CLSIZE
   20208 #      define CLSIZE 1
   20209 #     endif /* no CLSIZE */
   20210 #    else /* no NBPG */
   20211 #     ifdef NBPC
   20212 #      define getpagesize() NBPC
   20213 #     else /* no NBPC */
   20214 #      ifdef PAGESIZE
   20215 #       define getpagesize() PAGESIZE
   20216 #      endif /* PAGESIZE */
   20217 #     endif /* no NBPC */
   20218 #    endif /* no NBPG */
   20219 #   endif /* no EXEC_PAGESIZE */
   20220 #  else /* no HAVE_SYS_PARAM_H */
   20221 #   define getpagesize() 8192	/* punt totally */
   20222 #  endif /* no HAVE_SYS_PARAM_H */
   20223 # endif /* no _SC_PAGESIZE */
   20224 
   20225 #endif /* no HAVE_GETPAGESIZE */
   20226 
   20227 int
   20228 main ()
   20229 {
   20230   char *data, *data2, *data3;
   20231   int i, pagesize;
   20232   int fd;
   20233 
   20234   pagesize = getpagesize ();
   20235 
   20236   /* First, make a file with some known garbage in it. */
   20237   data = (char *) malloc (pagesize);
   20238   if (!data)
   20239     return 1;
   20240   for (i = 0; i < pagesize; ++i)
   20241     *(data + i) = rand ();
   20242   umask (0);
   20243   fd = creat ("conftest.mmap", 0600);
   20244   if (fd < 0)
   20245     return 1;
   20246   if (write (fd, data, pagesize) != pagesize)
   20247     return 1;
   20248   close (fd);
   20249 
   20250   /* Next, try to mmap the file at a fixed address which already has
   20251      something else allocated at it.  If we can, also make sure that
   20252      we see the same garbage.  */
   20253   fd = open ("conftest.mmap", O_RDWR);
   20254   if (fd < 0)
   20255     return 1;
   20256   data2 = (char *) malloc (2 * pagesize);
   20257   if (!data2)
   20258     return 1;
   20259   data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
   20260   if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
   20261 		     MAP_PRIVATE | MAP_FIXED, fd, 0L))
   20262     return 1;
   20263   for (i = 0; i < pagesize; ++i)
   20264     if (*(data + i) != *(data2 + i))
   20265       return 1;
   20266 
   20267   /* Finally, make sure that changes to the mapped area do not
   20268      percolate back to the file as seen by read().  (This is a bug on
   20269      some variants of i386 svr4.0.)  */
   20270   for (i = 0; i < pagesize; ++i)
   20271     *(data2 + i) = *(data2 + i) + 1;
   20272   data3 = (char *) malloc (pagesize);
   20273   if (!data3)
   20274     return 1;
   20275   if (read (fd, data3, pagesize) != pagesize)
   20276     return 1;
   20277   for (i = 0; i < pagesize; ++i)
   20278     if (*(data + i) != *(data3 + i))
   20279       return 1;
   20280   close (fd);
   20281   return 0;
   20282 }
   20283 _ACEOF
   20284 rm -f conftest$ac_exeext
   20285 if { (ac_try="$ac_link"
   20286 case "(($ac_try" in
   20287   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20288   *) ac_try_echo=$ac_try;;
   20289 esac
   20290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20291   (eval "$ac_link") 2>&5
   20292   ac_status=$?
   20293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20294   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   20295   { (case "(($ac_try" in
   20296   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20297   *) ac_try_echo=$ac_try;;
   20298 esac
   20299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20300   (eval "$ac_try") 2>&5
   20301   ac_status=$?
   20302   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20303   (exit $ac_status); }; }; then
   20304   ac_cv_func_mmap_fixed_mapped=yes
   20305 else
   20306   echo "$as_me: program exited with status $ac_status" >&5
   20307 echo "$as_me: failed program was:" >&5
   20308 sed 's/^/| /' conftest.$ac_ext >&5
   20309 
   20310 ( exit $ac_status )
   20311 ac_cv_func_mmap_fixed_mapped=no
   20312 fi
   20313 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   20314 fi
   20315 
   20316 
   20317 fi
   20318 { echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
   20319 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; }
   20320 if test $ac_cv_func_mmap_fixed_mapped = yes; then
   20321 
   20322 cat >>confdefs.h <<\_ACEOF
   20323 #define HAVE_MMAP 1
   20324 _ACEOF
   20325 
   20326 fi
   20327 rm -f conftest.mmap
   20328 
   20329   { echo "$as_me:$LINENO: checking for mmap of files" >&5
   20330 echo $ECHO_N "checking for mmap of files... $ECHO_C" >&6; }
   20331 if test "${ac_cv_func_mmap_file+set}" = set; then
   20332   echo $ECHO_N "(cached) $ECHO_C" >&6
   20333 else
   20334    ac_ext=c
   20335 ac_cpp='$CPP $CPPFLAGS'
   20336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   20337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   20338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   20339 
   20340   if test "$cross_compiling" = yes; then
   20341   ac_cv_func_mmap_file=no
   20342 else
   20343   cat >conftest.$ac_ext <<_ACEOF
   20344 
   20345     /* confdefs.h.  */
   20346 _ACEOF
   20347 cat confdefs.h >>conftest.$ac_ext
   20348 cat >>conftest.$ac_ext <<_ACEOF
   20349 /* end confdefs.h.  */
   20350 
   20351 #include <sys/types.h>
   20352 #include <sys/mman.h>
   20353 #include <fcntl.h>
   20354 
   20355 int
   20356 main ()
   20357 {
   20358 
   20359   int fd;
   20360   fd = creat ("foo",0777);
   20361   fd = (int) mmap (0, 1, PROT_READ, MAP_SHARED, fd, 0);
   20362   unlink ("foo");
   20363   return (fd != (int) MAP_FAILED);
   20364   ;
   20365   return 0;
   20366 }
   20367 _ACEOF
   20368 rm -f conftest$ac_exeext
   20369 if { (ac_try="$ac_link"
   20370 case "(($ac_try" in
   20371   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20372   *) ac_try_echo=$ac_try;;
   20373 esac
   20374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20375   (eval "$ac_link") 2>&5
   20376   ac_status=$?
   20377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20378   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   20379   { (case "(($ac_try" in
   20380   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20381   *) ac_try_echo=$ac_try;;
   20382 esac
   20383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20384   (eval "$ac_try") 2>&5
   20385   ac_status=$?
   20386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20387   (exit $ac_status); }; }; then
   20388   ac_cv_func_mmap_file=yes
   20389 else
   20390   echo "$as_me: program exited with status $ac_status" >&5
   20391 echo "$as_me: failed program was:" >&5
   20392 sed 's/^/| /' conftest.$ac_ext >&5
   20393 
   20394 ( exit $ac_status )
   20395 ac_cv_func_mmap_file=no
   20396 fi
   20397 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   20398 fi
   20399 
   20400 
   20401   ac_ext=c
   20402 ac_cpp='$CPP $CPPFLAGS'
   20403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   20404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   20405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   20406 
   20407 
   20408 fi
   20409 { echo "$as_me:$LINENO: result: $ac_cv_func_mmap_file" >&5
   20410 echo "${ECHO_T}$ac_cv_func_mmap_file" >&6; }
   20411 if test "$ac_cv_func_mmap_file" = yes; then
   20412 
   20413 cat >>confdefs.h <<\_ACEOF
   20414 #define HAVE_MMAP_FILE
   20415 _ACEOF
   20416 
   20417    MMAP_FILE=yes
   20418 
   20419 fi
   20420 
   20421   { echo "$as_me:$LINENO: checking if /dev/zero is needed for mmap" >&5
   20422 echo $ECHO_N "checking if /dev/zero is needed for mmap... $ECHO_C" >&6; }
   20423 if test "${ac_cv_need_dev_zero_for_mmap+set}" = set; then
   20424   echo $ECHO_N "(cached) $ECHO_C" >&6
   20425 else
   20426   if test "$llvm_cv_os_type" = "Interix" ; then
   20427    ac_cv_need_dev_zero_for_mmap=yes
   20428  else
   20429    ac_cv_need_dev_zero_for_mmap=no
   20430  fi
   20431 
   20432 fi
   20433 { echo "$as_me:$LINENO: result: $ac_cv_need_dev_zero_for_mmap" >&5
   20434 echo "${ECHO_T}$ac_cv_need_dev_zero_for_mmap" >&6; }
   20435 if test "$ac_cv_need_dev_zero_for_mmap" = yes; then
   20436 
   20437 cat >>confdefs.h <<\_ACEOF
   20438 #define NEED_DEV_ZERO_FOR_MMAP 1
   20439 _ACEOF
   20440 
   20441 fi
   20442 
   20443   if test "$ac_cv_func_mmap_fixed_mapped" = "no"
   20444   then
   20445     { echo "$as_me:$LINENO: WARNING: mmap() of a fixed address required but not supported" >&5
   20446 echo "$as_me: WARNING: mmap() of a fixed address required but not supported" >&2;}
   20447   fi
   20448   if test "$ac_cv_func_mmap_file" = "no"
   20449   then
   20450     { echo "$as_me:$LINENO: WARNING: mmap() of files required but not found" >&5
   20451 echo "$as_me: WARNING: mmap() of files required but not found" >&2;}
   20452   fi
   20453 fi
   20454 
   20455 { echo "$as_me:$LINENO: checking for GCC atomic builtins" >&5
   20456 echo $ECHO_N "checking for GCC atomic builtins... $ECHO_C" >&6; }
   20457 ac_ext=cpp
   20458 ac_cpp='$CXXCPP $CPPFLAGS'
   20459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   20460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   20461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   20462 
   20463 cat >conftest.$ac_ext <<_ACEOF
   20464 /* confdefs.h.  */
   20465 _ACEOF
   20466 cat confdefs.h >>conftest.$ac_ext
   20467 cat >>conftest.$ac_ext <<_ACEOF
   20468 /* end confdefs.h.  */
   20469 int main() {
   20470         volatile unsigned long val = 1;
   20471         __sync_synchronize();
   20472         __sync_val_compare_and_swap(&val, 1, 0);
   20473         __sync_add_and_fetch(&val, 1);
   20474         __sync_sub_and_fetch(&val, 1);
   20475         return 0;
   20476       }
   20477 
   20478 _ACEOF
   20479 rm -f conftest.$ac_objext conftest$ac_exeext
   20480 if { (ac_try="$ac_link"
   20481 case "(($ac_try" in
   20482   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20483   *) ac_try_echo=$ac_try;;
   20484 esac
   20485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20486   (eval "$ac_link") 2>conftest.er1
   20487   ac_status=$?
   20488   grep -v '^ *+' conftest.er1 >conftest.err
   20489   rm -f conftest.er1
   20490   cat conftest.err >&5
   20491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20492   (exit $ac_status); } &&
   20493 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   20494   { (case "(($ac_try" in
   20495   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20496   *) ac_try_echo=$ac_try;;
   20497 esac
   20498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20499   (eval "$ac_try") 2>&5
   20500   ac_status=$?
   20501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20502   (exit $ac_status); }; } &&
   20503 	 { ac_try='test -s conftest$ac_exeext'
   20504   { (case "(($ac_try" in
   20505   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20506   *) ac_try_echo=$ac_try;;
   20507 esac
   20508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20509   (eval "$ac_try") 2>&5
   20510   ac_status=$?
   20511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20512   (exit $ac_status); }; }; then
   20513   ac_ext=c
   20514 ac_cpp='$CPP $CPPFLAGS'
   20515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   20516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   20517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   20518 
   20519   { echo "$as_me:$LINENO: result: yes" >&5
   20520 echo "${ECHO_T}yes" >&6; }
   20521 
   20522 cat >>confdefs.h <<\_ACEOF
   20523 #define LLVM_HAS_ATOMICS 1
   20524 _ACEOF
   20525 
   20526 else
   20527   echo "$as_me: failed program was:" >&5
   20528 sed 's/^/| /' conftest.$ac_ext >&5
   20529 
   20530 	{ echo "$as_me:$LINENO: result: no" >&5
   20531 echo "${ECHO_T}no" >&6; }
   20532 
   20533 cat >>confdefs.h <<\_ACEOF
   20534 #define LLVM_HAS_ATOMICS 0
   20535 _ACEOF
   20536 
   20537   { echo "$as_me:$LINENO: WARNING: LLVM will be built thread-unsafe because atomic builtins are missing" >&5
   20538 echo "$as_me: WARNING: LLVM will be built thread-unsafe because atomic builtins are missing" >&2;}
   20539 fi
   20540 
   20541 rm -f core conftest.err conftest.$ac_objext \
   20542       conftest$ac_exeext conftest.$ac_ext
   20543 
   20544 
   20545 if test "$llvm_cv_os_type" = "Linux" -a "$llvm_cv_target_arch" = "x86_64" ; then
   20546   { echo "$as_me:$LINENO: checking for 32-bit userspace on 64-bit system" >&5
   20547 echo $ECHO_N "checking for 32-bit userspace on 64-bit system... $ECHO_C" >&6; }
   20548 if test "${llvm_cv_linux_mixed+set}" = set; then
   20549   echo $ECHO_N "(cached) $ECHO_C" >&6
   20550 else
   20551    ac_ext=c
   20552 ac_cpp='$CPP $CPPFLAGS'
   20553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   20554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   20555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   20556 
   20557   cat >conftest.$ac_ext <<_ACEOF
   20558 /* confdefs.h.  */
   20559 _ACEOF
   20560 cat confdefs.h >>conftest.$ac_ext
   20561 cat >>conftest.$ac_ext <<_ACEOF
   20562 /* end confdefs.h.  */
   20563 #ifndef __x86_64__
   20564        error: Not x86-64 even if uname says so!
   20565       #endif
   20566 
   20567 int
   20568 main ()
   20569 {
   20570 
   20571   ;
   20572   return 0;
   20573 }
   20574 _ACEOF
   20575 rm -f conftest.$ac_objext
   20576 if { (ac_try="$ac_compile"
   20577 case "(($ac_try" in
   20578   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20579   *) ac_try_echo=$ac_try;;
   20580 esac
   20581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20582   (eval "$ac_compile") 2>conftest.er1
   20583   ac_status=$?
   20584   grep -v '^ *+' conftest.er1 >conftest.err
   20585   rm -f conftest.er1
   20586   cat conftest.err >&5
   20587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20588   (exit $ac_status); } &&
   20589 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   20590   { (case "(($ac_try" in
   20591   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20592   *) ac_try_echo=$ac_try;;
   20593 esac
   20594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20595   (eval "$ac_try") 2>&5
   20596   ac_status=$?
   20597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20598   (exit $ac_status); }; } &&
   20599 	 { ac_try='test -s conftest.$ac_objext'
   20600   { (case "(($ac_try" in
   20601   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20602   *) ac_try_echo=$ac_try;;
   20603 esac
   20604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20605   (eval "$ac_try") 2>&5
   20606   ac_status=$?
   20607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20608   (exit $ac_status); }; }; then
   20609   llvm_cv_linux_mixed=no
   20610 else
   20611   echo "$as_me: failed program was:" >&5
   20612 sed 's/^/| /' conftest.$ac_ext >&5
   20613 
   20614 	llvm_cv_linux_mixed=yes
   20615 fi
   20616 
   20617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20618   ac_ext=c
   20619 ac_cpp='$CPP $CPPFLAGS'
   20620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   20621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   20622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   20623 
   20624 
   20625 fi
   20626 { echo "$as_me:$LINENO: result: $llvm_cv_linux_mixed" >&5
   20627 echo "${ECHO_T}$llvm_cv_linux_mixed" >&6; }
   20628 
   20629   if test "$llvm_cv_linux_mixed" = "yes"; then
   20630     llvm_cv_target_arch="x86"
   20631     ARCH="x86"
   20632   fi
   20633 fi
   20634 
   20635 
   20636 for ac_func in __dso_handle
   20637 do
   20638 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
   20639 { echo "$as_me:$LINENO: checking for $ac_func" >&5
   20640 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
   20641 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
   20642   echo $ECHO_N "(cached) $ECHO_C" >&6
   20643 else
   20644   cat >conftest.$ac_ext <<_ACEOF
   20645 /* confdefs.h.  */
   20646 _ACEOF
   20647 cat confdefs.h >>conftest.$ac_ext
   20648 cat >>conftest.$ac_ext <<_ACEOF
   20649 /* end confdefs.h.  */
   20650 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
   20651    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   20652 #define $ac_func innocuous_$ac_func
   20653 
   20654 /* System header to define __stub macros and hopefully few prototypes,
   20655     which can conflict with char $ac_func (); below.
   20656     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   20657     <limits.h> exists even on freestanding compilers.  */
   20658 
   20659 #ifdef __STDC__
   20660 # include <limits.h>
   20661 #else
   20662 # include <assert.h>
   20663 #endif
   20664 
   20665 #undef $ac_func
   20666 
   20667 /* Override any GCC internal prototype to avoid an error.
   20668    Use char because int might match the return type of a GCC
   20669    builtin and then its argument prototype would still apply.  */
   20670 #ifdef __cplusplus
   20671 extern "C"
   20672 #endif
   20673 char $ac_func ();
   20674 /* The GNU C library defines this for functions which it implements
   20675     to always fail with ENOSYS.  Some functions are actually named
   20676     something starting with __ and the normal name is an alias.  */
   20677 #if defined __stub_$ac_func || defined __stub___$ac_func
   20678 choke me
   20679 #endif
   20680 
   20681 int
   20682 main ()
   20683 {
   20684 return $ac_func ();
   20685   ;
   20686   return 0;
   20687 }
   20688 _ACEOF
   20689 rm -f conftest.$ac_objext conftest$ac_exeext
   20690 if { (ac_try="$ac_link"
   20691 case "(($ac_try" in
   20692   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20693   *) ac_try_echo=$ac_try;;
   20694 esac
   20695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20696   (eval "$ac_link") 2>conftest.er1
   20697   ac_status=$?
   20698   grep -v '^ *+' conftest.er1 >conftest.err
   20699   rm -f conftest.er1
   20700   cat conftest.err >&5
   20701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20702   (exit $ac_status); } &&
   20703 	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
   20704   { (case "(($ac_try" in
   20705   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20706   *) ac_try_echo=$ac_try;;
   20707 esac
   20708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20709   (eval "$ac_try") 2>&5
   20710   ac_status=$?
   20711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20712   (exit $ac_status); }; } &&
   20713 	 { ac_try='test -s conftest$ac_exeext'
   20714   { (case "(($ac_try" in
   20715   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20716   *) ac_try_echo=$ac_try;;
   20717 esac
   20718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20719   (eval "$ac_try") 2>&5
   20720   ac_status=$?
   20721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20722   (exit $ac_status); }; }; then
   20723   eval "$as_ac_var=yes"
   20724 else
   20725   echo "$as_me: failed program was:" >&5
   20726 sed 's/^/| /' conftest.$ac_ext >&5
   20727 
   20728 	eval "$as_ac_var=no"
   20729 fi
   20730 
   20731 rm -f core conftest.err conftest.$ac_objext \
   20732       conftest$ac_exeext conftest.$ac_ext
   20733 fi
   20734 ac_res=`eval echo '${'$as_ac_var'}'`
   20735 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   20736 echo "${ECHO_T}$ac_res" >&6; }
   20737 if test `eval echo '${'$as_ac_var'}'` = yes; then
   20738   cat >>confdefs.h <<_ACEOF
   20739 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
   20740 _ACEOF
   20741 
   20742 fi
   20743 done
   20744 
   20745 
   20746 SHLIBEXT=$libltdl_cv_shlibext
   20747 
   20748 
   20749 SHLIBPATH_VAR=$libltdl_cv_shlibpath_var
   20750 
   20751 
   20752 # Translate the various configuration directories and other basic
   20753 # information into substitutions that will end up in Makefile.config.in
   20754 # that these configured values can be used by the makefiles
   20755 if test "${prefix}" = "NONE" ; then
   20756   prefix="/usr/local"
   20757 fi
   20758 eval LLVM_PREFIX="${prefix}";
   20759 eval LLVM_BINDIR="${prefix}/bin";
   20760 eval LLVM_LIBDIR="${prefix}/lib";
   20761 eval LLVM_DATADIR="${prefix}/share/llvm";
   20762 eval LLVM_DOCSDIR="${prefix}/share/doc/llvm";
   20763 eval LLVM_ETCDIR="${prefix}/etc/llvm";
   20764 eval LLVM_INCLUDEDIR="${prefix}/include";
   20765 eval LLVM_INFODIR="${prefix}/info";
   20766 eval LLVM_MANDIR="${prefix}/man";
   20767 LLVM_CONFIGTIME=`date`
   20768 
   20769 
   20770 
   20771 
   20772 
   20773 
   20774 
   20775 
   20776 
   20777 
   20778 
   20779 # Place the various directores into the config.h file as #defines so that we
   20780 # can know about the installation paths within LLVM.
   20781 
   20782 cat >>confdefs.h <<_ACEOF
   20783 #define LLVM_PREFIX "$LLVM_PREFIX"
   20784 _ACEOF
   20785 
   20786 
   20787 cat >>confdefs.h <<_ACEOF
   20788 #define LLVM_BINDIR "$LLVM_BINDIR"
   20789 _ACEOF
   20790 
   20791 
   20792 cat >>confdefs.h <<_ACEOF
   20793 #define LLVM_LIBDIR "$LLVM_LIBDIR"
   20794 _ACEOF
   20795 
   20796 
   20797 cat >>confdefs.h <<_ACEOF
   20798 #define LLVM_DATADIR "$LLVM_DATADIR"
   20799 _ACEOF
   20800 
   20801 
   20802 cat >>confdefs.h <<_ACEOF
   20803 #define LLVM_DOCSDIR "$LLVM_DOCSDIR"
   20804 _ACEOF
   20805 
   20806 
   20807 cat >>confdefs.h <<_ACEOF
   20808 #define LLVM_ETCDIR "$LLVM_ETCDIR"
   20809 _ACEOF
   20810 
   20811 
   20812 cat >>confdefs.h <<_ACEOF
   20813 #define LLVM_INCLUDEDIR "$LLVM_INCLUDEDIR"
   20814 _ACEOF
   20815 
   20816 
   20817 cat >>confdefs.h <<_ACEOF
   20818 #define LLVM_INFODIR "$LLVM_INFODIR"
   20819 _ACEOF
   20820 
   20821 
   20822 cat >>confdefs.h <<_ACEOF
   20823 #define LLVM_MANDIR "$LLVM_MANDIR"
   20824 _ACEOF
   20825 
   20826 
   20827 cat >>confdefs.h <<_ACEOF
   20828 #define LLVM_CONFIGTIME "$LLVM_CONFIGTIME"
   20829 _ACEOF
   20830 
   20831 
   20832 cat >>confdefs.h <<_ACEOF
   20833 #define LLVM_HOSTTRIPLE "$host"
   20834 _ACEOF
   20835 
   20836 
   20837 # Determine which bindings to build.
   20838 if test "$BINDINGS_TO_BUILD" = auto ; then
   20839   BINDINGS_TO_BUILD=""
   20840   if test "x$OCAMLC" != x -a "x$OCAMLDEP" != x ; then
   20841     BINDINGS_TO_BUILD="ocaml $BINDINGS_TO_BUILD"
   20842   fi
   20843 fi
   20844 BINDINGS_TO_BUILD=$BINDINGS_TO_BUILD
   20845 
   20846 
   20847 # This isn't really configurey, but it avoids having to repeat the list in
   20848 # other files.
   20849 ALL_BINDINGS=ocaml
   20850 
   20851 
   20852 # Do any work necessary to ensure that bindings have what they need.
   20853 binding_prereqs_failed=0
   20854 for a_binding in $BINDINGS_TO_BUILD ; do
   20855   case "$a_binding" in
   20856   ocaml)
   20857     if test "x$OCAMLC" = x ; then
   20858       { echo "$as_me:$LINENO: WARNING: --enable-bindings=ocaml specified, but ocamlc not found. Try configure OCAMLC=/path/to/ocamlc" >&5
   20859 echo "$as_me: WARNING: --enable-bindings=ocaml specified, but ocamlc not found. Try configure OCAMLC=/path/to/ocamlc" >&2;}
   20860       binding_prereqs_failed=1
   20861     fi
   20862     if test "x$OCAMLDEP" = x ; then
   20863       { echo "$as_me:$LINENO: WARNING: --enable-bindings=ocaml specified, but ocamldep not found. Try configure OCAMLDEP=/path/to/ocamldep" >&5
   20864 echo "$as_me: WARNING: --enable-bindings=ocaml specified, but ocamldep not found. Try configure OCAMLDEP=/path/to/ocamldep" >&2;}
   20865       binding_prereqs_failed=1
   20866     fi
   20867     if test "x$OCAMLOPT" = x ; then
   20868       { echo "$as_me:$LINENO: WARNING: --enable-bindings=ocaml specified, but ocamlopt not found. Try configure OCAMLOPT=/path/to/ocamlopt" >&5
   20869 echo "$as_me: WARNING: --enable-bindings=ocaml specified, but ocamlopt not found. Try configure OCAMLOPT=/path/to/ocamlopt" >&2;}
   20870           fi
   20871     if test "x$with_ocaml_libdir" != xauto ; then
   20872       OCAML_LIBDIR=$with_ocaml_libdir
   20873 
   20874     else
   20875       ocaml_stdlib="`"$OCAMLC" -where`"
   20876       if test "$LLVM_PREFIX" '<' "$ocaml_stdlib" -a "$ocaml_stdlib" '<' "$LLVM_PREFIX~"
   20877       then
   20878         # ocaml stdlib is beneath our prefix; use stdlib
   20879         OCAML_LIBDIR=$ocaml_stdlib
   20880 
   20881       else
   20882         # ocaml stdlib is outside our prefix; use libdir/ocaml
   20883         OCAML_LIBDIR=$LLVM_LIBDIR/ocaml
   20884 
   20885       fi
   20886     fi
   20887     ;;
   20888   esac
   20889 done
   20890 if test "$binding_prereqs_failed" = 1 ; then
   20891   { { echo "$as_me:$LINENO: error: Prequisites for bindings not satisfied. Fix them or use configure --disable-bindings." >&5
   20892 echo "$as_me: error: Prequisites for bindings not satisfied. Fix them or use configure --disable-bindings." >&2;}
   20893    { (exit 1); exit 1; }; }
   20894 fi
   20895 
   20896 { echo "$as_me:$LINENO: checking for compiler -fvisibility-inlines-hidden option" >&5
   20897 echo $ECHO_N "checking for compiler -fvisibility-inlines-hidden option... $ECHO_C" >&6; }
   20898 if test "${llvm_cv_cxx_visibility_inlines_hidden+set}" = set; then
   20899   echo $ECHO_N "(cached) $ECHO_C" >&6
   20900 else
   20901    ac_ext=cpp
   20902 ac_cpp='$CXXCPP $CPPFLAGS'
   20903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   20904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   20905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   20906 
   20907   oldcxxflags="$CXXFLAGS"
   20908   CXXFLAGS="$CXXFLAGS -fvisibility-inlines-hidden"
   20909   cat >conftest.$ac_ext <<_ACEOF
   20910 /* confdefs.h.  */
   20911 _ACEOF
   20912 cat confdefs.h >>conftest.$ac_ext
   20913 cat >>conftest.$ac_ext <<_ACEOF
   20914 /* end confdefs.h.  */
   20915 
   20916 int
   20917 main ()
   20918 {
   20919 
   20920   ;
   20921   return 0;
   20922 }
   20923 _ACEOF
   20924 rm -f conftest.$ac_objext
   20925 if { (ac_try="$ac_compile"
   20926 case "(($ac_try" in
   20927   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20928   *) ac_try_echo=$ac_try;;
   20929 esac
   20930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20931   (eval "$ac_compile") 2>conftest.er1
   20932   ac_status=$?
   20933   grep -v '^ *+' conftest.er1 >conftest.err
   20934   rm -f conftest.er1
   20935   cat conftest.err >&5
   20936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20937   (exit $ac_status); } &&
   20938 	 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
   20939   { (case "(($ac_try" in
   20940   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20941   *) ac_try_echo=$ac_try;;
   20942 esac
   20943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20944   (eval "$ac_try") 2>&5
   20945   ac_status=$?
   20946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20947   (exit $ac_status); }; } &&
   20948 	 { ac_try='test -s conftest.$ac_objext'
   20949   { (case "(($ac_try" in
   20950   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20951   *) ac_try_echo=$ac_try;;
   20952 esac
   20953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   20954   (eval "$ac_try") 2>&5
   20955   ac_status=$?
   20956   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20957   (exit $ac_status); }; }; then
   20958   llvm_cv_cxx_visibility_inlines_hidden=yes
   20959 else
   20960   echo "$as_me: failed program was:" >&5
   20961 sed 's/^/| /' conftest.$ac_ext >&5
   20962 
   20963 	llvm_cv_cxx_visibility_inlines_hidden=no
   20964 fi
   20965 
   20966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20967   CXXFLAGS="$oldcxxflags"
   20968   ac_ext=c
   20969 ac_cpp='$CPP $CPPFLAGS'
   20970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   20971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   20972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   20973 
   20974 
   20975 fi
   20976 { echo "$as_me:$LINENO: result: $llvm_cv_cxx_visibility_inlines_hidden" >&5
   20977 echo "${ECHO_T}$llvm_cv_cxx_visibility_inlines_hidden" >&6; }
   20978 if test "$llvm_cv_cxx_visibility_inlines_hidden" = yes ; then
   20979   ENABLE_VISIBILITY_INLINES_HIDDEN=1
   20980 
   20981 else
   20982   ENABLE_VISIBILITY_INLINES_HIDDEN=0
   20983 
   20984 fi
   20985 
   20986 
   20987 if test "$llvm_cv_link_use_r" = "yes" ; then
   20988   RPATH="-Wl,-R"
   20989 else
   20990   RPATH="-Wl,-rpath"
   20991 fi
   20992 
   20993 
   20994 if test "$llvm_cv_link_use_export_dynamic" = "yes" ; then
   20995   RDYNAMIC="-Wl,-export-dynamic"
   20996 else
   20997   RDYNAMIC=""
   20998 fi
   20999 
   21000 
   21001 
   21002 
   21003 ac_config_files="$ac_config_files Makefile.common"
   21004 
   21005 ac_config_files="$ac_config_files Makefile.llvm.config"
   21006 
   21007 
   21008 ac_config_commands="$ac_config_commands Makefile"
   21009 
   21010 
   21011 ac_config_commands="$ac_config_commands lib/Makefile"
   21012 
   21013 
   21014 ac_config_commands="$ac_config_commands lib/sample/Makefile"
   21015 
   21016 
   21017 ac_config_commands="$ac_config_commands tools/Makefile"
   21018 
   21019 
   21020 ac_config_commands="$ac_config_commands tools/sample/Makefile"
   21021 
   21022 
   21023 
   21024 cat >confcache <<\_ACEOF
   21025 # This file is a shell script that caches the results of configure
   21026 # tests run on this system so they can be shared between configure
   21027 # scripts and configure runs, see configure's option --config-cache.
   21028 # It is not useful on other systems.  If it contains results you don't
   21029 # want to keep, you may remove or edit it.
   21030 #
   21031 # config.status only pays attention to the cache file if you give it
   21032 # the --recheck option to rerun configure.
   21033 #
   21034 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   21035 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   21036 # following values.
   21037 
   21038 _ACEOF
   21039 
   21040 # The following way of writing the cache mishandles newlines in values,
   21041 # but we know of no workaround that is simple, portable, and efficient.
   21042 # So, we kill variables containing newlines.
   21043 # Ultrix sh set writes to stderr and can't be redirected directly,
   21044 # and sets the high bit in the cache file unless we assign to the vars.
   21045 (
   21046   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   21047     eval ac_val=\$$ac_var
   21048     case $ac_val in #(
   21049     *${as_nl}*)
   21050       case $ac_var in #(
   21051       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
   21052 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
   21053       esac
   21054       case $ac_var in #(
   21055       _ | IFS | as_nl) ;; #(
   21056       *) $as_unset $ac_var ;;
   21057       esac ;;
   21058     esac
   21059   done
   21060 
   21061   (set) 2>&1 |
   21062     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   21063     *${as_nl}ac_space=\ *)
   21064       # `set' does not quote correctly, so add quotes (double-quote
   21065       # substitution turns \\\\ into \\, and sed turns \\ into \).
   21066       sed -n \
   21067 	"s/'/'\\\\''/g;
   21068 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   21069       ;; #(
   21070     *)
   21071       # `set' quotes correctly as required by POSIX, so do not add quotes.
   21072       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   21073       ;;
   21074     esac |
   21075     sort
   21076 ) |
   21077   sed '
   21078      /^ac_cv_env_/b end
   21079      t clear
   21080      :clear
   21081      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   21082      t end
   21083      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   21084      :end' >>confcache
   21085 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   21086   if test -w "$cache_file"; then
   21087     test "x$cache_file" != "x/dev/null" &&
   21088       { echo "$as_me:$LINENO: updating cache $cache_file" >&5
   21089 echo "$as_me: updating cache $cache_file" >&6;}
   21090     cat confcache >$cache_file
   21091   else
   21092     { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
   21093 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   21094   fi
   21095 fi
   21096 rm -f confcache
   21097 
   21098 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   21099 # Let make expand exec_prefix.
   21100 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   21101 
   21102 # Transform confdefs.h into DEFS.
   21103 # Protect against shell expansion while executing Makefile rules.
   21104 # Protect against Makefile macro expansion.
   21105 #
   21106 # If the first sed substitution is executed (which looks for macros that
   21107 # take arguments), then branch to the quote section.  Otherwise,
   21108 # look for a macro that doesn't take arguments.
   21109 ac_script='
   21110 t clear
   21111 :clear
   21112 s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
   21113 t quote
   21114 s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
   21115 t quote
   21116 b any
   21117 :quote
   21118 s/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
   21119 s/\[/\\&/g
   21120 s/\]/\\&/g
   21121 s/\$/$$/g
   21122 H
   21123 :any
   21124 ${
   21125 	g
   21126 	s/^\n//
   21127 	s/\n/ /g
   21128 	p
   21129 }
   21130 '
   21131 DEFS=`sed -n "$ac_script" confdefs.h`
   21132 
   21133 
   21134 ac_libobjs=
   21135 ac_ltlibobjs=
   21136 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   21137   # 1. Remove the extension, and $U if already installed.
   21138   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   21139   ac_i=`echo "$ac_i" | sed "$ac_script"`
   21140   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   21141   #    will be set to the directory where LIBOBJS objects are built.
   21142   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   21143   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
   21144 done
   21145 LIBOBJS=$ac_libobjs
   21146 
   21147 LTLIBOBJS=$ac_ltlibobjs
   21148 
   21149 
   21150 if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
   21151   { { echo "$as_me:$LINENO: error: conditional \"INSTALL_LTDL\" was never defined.
   21152 Usually this means the macro was only invoked conditionally." >&5
   21153 echo "$as_me: error: conditional \"INSTALL_LTDL\" was never defined.
   21154 Usually this means the macro was only invoked conditionally." >&2;}
   21155    { (exit 1); exit 1; }; }
   21156 fi
   21157 if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
   21158   { { echo "$as_me:$LINENO: error: conditional \"CONVENIENCE_LTDL\" was never defined.
   21159 Usually this means the macro was only invoked conditionally." >&5
   21160 echo "$as_me: error: conditional \"CONVENIENCE_LTDL\" was never defined.
   21161 Usually this means the macro was only invoked conditionally." >&2;}
   21162    { (exit 1); exit 1; }; }
   21163 fi
   21164 
   21165 : ${CONFIG_STATUS=./config.status}
   21166 ac_clean_files_save=$ac_clean_files
   21167 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   21168 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
   21169 echo "$as_me: creating $CONFIG_STATUS" >&6;}
   21170 cat >$CONFIG_STATUS <<_ACEOF
   21171 #! $SHELL
   21172 # Generated by $as_me.
   21173 # Run this file to recreate the current configuration.
   21174 # Compiler output produced by configure, useful for debugging
   21175 # configure, is in config.log if it exists.
   21176 
   21177 debug=false
   21178 ac_cs_recheck=false
   21179 ac_cs_silent=false
   21180 SHELL=\${CONFIG_SHELL-$SHELL}
   21181 _ACEOF
   21182 
   21183 cat >>$CONFIG_STATUS <<\_ACEOF
   21184 ## --------------------- ##
   21185 ## M4sh Initialization.  ##
   21186 ## --------------------- ##
   21187 
   21188 # Be Bourne compatible
   21189 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   21190   emulate sh
   21191   NULLCMD=:
   21192   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
   21193   # is contrary to our usage.  Disable this feature.
   21194   alias -g '${1+"$@"}'='"$@"'
   21195   setopt NO_GLOB_SUBST
   21196 else
   21197   case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
   21198 fi
   21199 BIN_SH=xpg4; export BIN_SH # for Tru64
   21200 DUALCASE=1; export DUALCASE # for MKS sh
   21201 
   21202 
   21203 # PATH needs CR
   21204 # Avoid depending upon Character Ranges.
   21205 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   21206 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   21207 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   21208 as_cr_digits='0123456789'
   21209 as_cr_alnum=$as_cr_Letters$as_cr_digits
   21210 
   21211 # The user is always right.
   21212 if test "${PATH_SEPARATOR+set}" != set; then
   21213   echo "#! /bin/sh" >conf$$.sh
   21214   echo  "exit 0"   >>conf$$.sh
   21215   chmod +x conf$$.sh
   21216   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   21217     PATH_SEPARATOR=';'
   21218   else
   21219     PATH_SEPARATOR=:
   21220   fi
   21221   rm -f conf$$.sh
   21222 fi
   21223 
   21224 # Support unset when possible.
   21225 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   21226   as_unset=unset
   21227 else
   21228   as_unset=false
   21229 fi
   21230 
   21231 
   21232 # IFS
   21233 # We need space, tab and new line, in precisely that order.  Quoting is
   21234 # there to prevent editors from complaining about space-tab.
   21235 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   21236 # splitting by setting IFS to empty value.)
   21237 as_nl='
   21238 '
   21239 IFS=" ""	$as_nl"
   21240 
   21241 # Find who we are.  Look in the path if we contain no directory separator.
   21242 case $0 in
   21243   *[\\/]* ) as_myself=$0 ;;
   21244   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21245 for as_dir in $PATH
   21246 do
   21247   IFS=$as_save_IFS
   21248   test -z "$as_dir" && as_dir=.
   21249   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   21250 done
   21251 IFS=$as_save_IFS
   21252 
   21253      ;;
   21254 esac
   21255 # We did not find ourselves, most probably we were run as `sh COMMAND'
   21256 # in which case we are not to be found in the path.
   21257 if test "x$as_myself" = x; then
   21258   as_myself=$0
   21259 fi
   21260 if test ! -f "$as_myself"; then
   21261   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   21262   { (exit 1); exit 1; }
   21263 fi
   21264 
   21265 # Work around bugs in pre-3.0 UWIN ksh.
   21266 for as_var in ENV MAIL MAILPATH
   21267 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   21268 done
   21269 PS1='$ '
   21270 PS2='> '
   21271 PS4='+ '
   21272 
   21273 # NLS nuisances.
   21274 for as_var in \
   21275   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
   21276   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
   21277   LC_TELEPHONE LC_TIME
   21278 do
   21279   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
   21280     eval $as_var=C; export $as_var
   21281   else
   21282     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   21283   fi
   21284 done
   21285 
   21286 # Required to use basename.
   21287 if expr a : '\(a\)' >/dev/null 2>&1 &&
   21288    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   21289   as_expr=expr
   21290 else
   21291   as_expr=false
   21292 fi
   21293 
   21294 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   21295   as_basename=basename
   21296 else
   21297   as_basename=false
   21298 fi
   21299 
   21300 
   21301 # Name of the executable.
   21302 as_me=`$as_basename -- "$0" ||
   21303 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   21304 	 X"$0" : 'X\(//\)$' \| \
   21305 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   21306 echo X/"$0" |
   21307     sed '/^.*\/\([^/][^/]*\)\/*$/{
   21308 	    s//\1/
   21309 	    q
   21310 	  }
   21311 	  /^X\/\(\/\/\)$/{
   21312 	    s//\1/
   21313 	    q
   21314 	  }
   21315 	  /^X\/\(\/\).*/{
   21316 	    s//\1/
   21317 	    q
   21318 	  }
   21319 	  s/.*/./; q'`
   21320 
   21321 # CDPATH.
   21322 $as_unset CDPATH
   21323 
   21324 
   21325 
   21326   as_lineno_1=$LINENO
   21327   as_lineno_2=$LINENO
   21328   test "x$as_lineno_1" != "x$as_lineno_2" &&
   21329   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
   21330 
   21331   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   21332   # uniformly replaced by the line number.  The first 'sed' inserts a
   21333   # line-number line after each line using $LINENO; the second 'sed'
   21334   # does the real work.  The second script uses 'N' to pair each
   21335   # line-number line with the line containing $LINENO, and appends
   21336   # trailing '-' during substitution so that $LINENO is not a special
   21337   # case at line end.
   21338   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   21339   # scripts with optimization help from Paolo Bonzini.  Blame Lee
   21340   # E. McMahon (1931-1989) for sed's syntax.  :-)
   21341   sed -n '
   21342     p
   21343     /[$]LINENO/=
   21344   ' <$as_myself |
   21345     sed '
   21346       s/[$]LINENO.*/&-/
   21347       t lineno
   21348       b
   21349       :lineno
   21350       N
   21351       :loop
   21352       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
   21353       t loop
   21354       s/-\n.*//
   21355     ' >$as_me.lineno &&
   21356   chmod +x "$as_me.lineno" ||
   21357     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
   21358    { (exit 1); exit 1; }; }
   21359 
   21360   # Don't try to exec as it changes $[0], causing all sort of problems
   21361   # (the dirname of $[0] is not the place where we might find the
   21362   # original and so on.  Autoconf is especially sensitive to this).
   21363   . "./$as_me.lineno"
   21364   # Exit status is that of the last command.
   21365   exit
   21366 }
   21367 
   21368 
   21369 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   21370   as_dirname=dirname
   21371 else
   21372   as_dirname=false
   21373 fi
   21374 
   21375 ECHO_C= ECHO_N= ECHO_T=
   21376 case `echo -n x` in
   21377 -n*)
   21378   case `echo 'x\c'` in
   21379   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   21380   *)   ECHO_C='\c';;
   21381   esac;;
   21382 *)
   21383   ECHO_N='-n';;
   21384 esac
   21385 
   21386 if expr a : '\(a\)' >/dev/null 2>&1 &&
   21387    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   21388   as_expr=expr
   21389 else
   21390   as_expr=false
   21391 fi
   21392 
   21393 rm -f conf$$ conf$$.exe conf$$.file
   21394 if test -d conf$$.dir; then
   21395   rm -f conf$$.dir/conf$$.file
   21396 else
   21397   rm -f conf$$.dir
   21398   mkdir conf$$.dir
   21399 fi
   21400 echo >conf$$.file
   21401 if ln -s conf$$.file conf$$ 2>/dev/null; then
   21402   as_ln_s='ln -s'
   21403   # ... but there are two gotchas:
   21404   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   21405   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   21406   # In both cases, we have to default to `cp -p'.
   21407   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   21408     as_ln_s='cp -p'
   21409 elif ln conf$$.file conf$$ 2>/dev/null; then
   21410   as_ln_s=ln
   21411 else
   21412   as_ln_s='cp -p'
   21413 fi
   21414 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   21415 rmdir conf$$.dir 2>/dev/null
   21416 
   21417 if mkdir -p . 2>/dev/null; then
   21418   as_mkdir_p=:
   21419 else
   21420   test -d ./-p && rmdir ./-p
   21421   as_mkdir_p=false
   21422 fi
   21423 
   21424 # Find out whether ``test -x'' works.  Don't use a zero-byte file, as
   21425 # systems may use methods other than mode bits to determine executability.
   21426 cat >conf$$.file <<_ASEOF
   21427 #! /bin/sh
   21428 exit 0
   21429 _ASEOF
   21430 chmod +x conf$$.file
   21431 if test -x conf$$.file >/dev/null 2>&1; then
   21432   as_executable_p="test -x"
   21433 else
   21434   as_executable_p=:
   21435 fi
   21436 rm -f conf$$.file
   21437 
   21438 # Sed expression to map a string onto a valid CPP name.
   21439 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   21440 
   21441 # Sed expression to map a string onto a valid variable name.
   21442 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   21443 
   21444 
   21445 exec 6>&1
   21446 
   21447 # Save the log message, to keep $[0] and so on meaningful, and to
   21448 # report actual input values of CONFIG_FILES etc. instead of their
   21449 # values after options handling.
   21450 ac_log="
   21451 This file was extended by [SAMPLE] $as_me [x.xx], which was
   21452 generated by GNU Autoconf 2.60.  Invocation command line was
   21453 
   21454   CONFIG_FILES    = $CONFIG_FILES
   21455   CONFIG_HEADERS  = $CONFIG_HEADERS
   21456   CONFIG_LINKS    = $CONFIG_LINKS
   21457   CONFIG_COMMANDS = $CONFIG_COMMANDS
   21458   $ $0 $@
   21459 
   21460 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   21461 "
   21462 
   21463 _ACEOF
   21464 
   21465 cat >>$CONFIG_STATUS <<_ACEOF
   21466 # Files that config.status was made for.
   21467 config_files="$ac_config_files"
   21468 config_commands="$ac_config_commands"
   21469 
   21470 _ACEOF
   21471 
   21472 cat >>$CONFIG_STATUS <<\_ACEOF
   21473 ac_cs_usage="\
   21474 \`$as_me' instantiates files from templates according to the
   21475 current configuration.
   21476 
   21477 Usage: $0 [OPTIONS] [FILE]...
   21478 
   21479   -h, --help       print this help, then exit
   21480   -V, --version    print version number, then exit
   21481   -q, --quiet      do not print progress messages
   21482   -d, --debug      don't remove temporary files
   21483       --recheck    update $as_me by reconfiguring in the same conditions
   21484   --file=FILE[:TEMPLATE]
   21485 		   instantiate the configuration file FILE
   21486 
   21487 Configuration files:
   21488 $config_files
   21489 
   21490 Configuration commands:
   21491 $config_commands
   21492 
   21493 Report bugs to <bug-autoconf@gnu.org>."
   21494 
   21495 _ACEOF
   21496 cat >>$CONFIG_STATUS <<_ACEOF
   21497 ac_cs_version="\\
   21498 [SAMPLE] config.status [x.xx]
   21499 configured by $0, generated by GNU Autoconf 2.60,
   21500   with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
   21501 
   21502 Copyright (C) 2006 Free Software Foundation, Inc.
   21503 This config.status script is free software; the Free Software Foundation
   21504 gives unlimited permission to copy, distribute and modify it."
   21505 
   21506 ac_pwd='$ac_pwd'
   21507 srcdir='$srcdir'
   21508 INSTALL='$INSTALL'
   21509 _ACEOF
   21510 
   21511 cat >>$CONFIG_STATUS <<\_ACEOF
   21512 # If no file are specified by the user, then we need to provide default
   21513 # value.  By we need to know if files were specified by the user.
   21514 ac_need_defaults=:
   21515 while test $# != 0
   21516 do
   21517   case $1 in
   21518   --*=*)
   21519     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   21520     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   21521     ac_shift=:
   21522     ;;
   21523   *)
   21524     ac_option=$1
   21525     ac_optarg=$2
   21526     ac_shift=shift
   21527     ;;
   21528   esac
   21529 
   21530   case $ac_option in
   21531   # Handling of the options.
   21532   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   21533     ac_cs_recheck=: ;;
   21534   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   21535     echo "$ac_cs_version"; exit ;;
   21536   --debug | --debu | --deb | --de | --d | -d )
   21537     debug=: ;;
   21538   --file | --fil | --fi | --f )
   21539     $ac_shift
   21540     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
   21541     ac_need_defaults=false;;
   21542   --he | --h |  --help | --hel | -h )
   21543     echo "$ac_cs_usage"; exit ;;
   21544   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   21545   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   21546     ac_cs_silent=: ;;
   21547 
   21548   # This is an error.
   21549   -*) { echo "$as_me: error: unrecognized option: $1
   21550 Try \`$0 --help' for more information." >&2
   21551    { (exit 1); exit 1; }; } ;;
   21552 
   21553   *) ac_config_targets="$ac_config_targets $1"
   21554      ac_need_defaults=false ;;
   21555 
   21556   esac
   21557   shift
   21558 done
   21559 
   21560 ac_configure_extra_args=
   21561 
   21562 if $ac_cs_silent; then
   21563   exec 6>/dev/null
   21564   ac_configure_extra_args="$ac_configure_extra_args --silent"
   21565 fi
   21566 
   21567 _ACEOF
   21568 cat >>$CONFIG_STATUS <<_ACEOF
   21569 if \$ac_cs_recheck; then
   21570   echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
   21571   CONFIG_SHELL=$SHELL
   21572   export CONFIG_SHELL
   21573   exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   21574 fi
   21575 
   21576 _ACEOF
   21577 cat >>$CONFIG_STATUS <<\_ACEOF
   21578 exec 5>>config.log
   21579 {
   21580   echo
   21581   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   21582 ## Running $as_me. ##
   21583 _ASBOX
   21584   echo "$ac_log"
   21585 } >&5
   21586 
   21587 _ACEOF
   21588 cat >>$CONFIG_STATUS <<_ACEOF
   21589 #
   21590 # INIT-COMMANDS
   21591 #
   21592 llvm_src="${LLVM_SRC}"
   21593 
   21594 _ACEOF
   21595 
   21596 cat >>$CONFIG_STATUS <<\_ACEOF
   21597 
   21598 # Handling of arguments.
   21599 for ac_config_target in $ac_config_targets
   21600 do
   21601   case $ac_config_target in
   21602     "setup") CONFIG_COMMANDS="$CONFIG_COMMANDS setup" ;;
   21603     "Makefile.common") CONFIG_FILES="$CONFIG_FILES Makefile.common" ;;
   21604     "Makefile.llvm.config") CONFIG_FILES="$CONFIG_FILES Makefile.llvm.config" ;;
   21605     "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
   21606     "lib/Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Makefile" ;;
   21607     "lib/sample/Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS lib/sample/Makefile" ;;
   21608     "tools/Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/Makefile" ;;
   21609     "tools/sample/Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/sample/Makefile" ;;
   21610 
   21611   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
   21612 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
   21613    { (exit 1); exit 1; }; };;
   21614   esac
   21615 done
   21616 
   21617 
   21618 # If the user did not use the arguments to specify the items to instantiate,
   21619 # then the envvar interface is used.  Set only those that are not.
   21620 # We use the long form for the default assignment because of an extremely
   21621 # bizarre bug on SunOS 4.1.3.
   21622 if $ac_need_defaults; then
   21623   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   21624   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   21625 fi
   21626 
   21627 # Have a temporary directory for convenience.  Make it in the build tree
   21628 # simply because there is no reason against having it here, and in addition,
   21629 # creating and moving files from /tmp can sometimes cause problems.
   21630 # Hook for its removal unless debugging.
   21631 # Note that there is a small window in which the directory will not be cleaned:
   21632 # after its creation but before its name has been assigned to `$tmp'.
   21633 $debug ||
   21634 {
   21635   tmp=
   21636   trap 'exit_status=$?
   21637   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
   21638 ' 0
   21639   trap '{ (exit 1); exit 1; }' 1 2 13 15
   21640 }
   21641 # Create a (secure) tmp directory for tmp files.
   21642 
   21643 {
   21644   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   21645   test -n "$tmp" && test -d "$tmp"
   21646 }  ||
   21647 {
   21648   tmp=./conf$$-$RANDOM
   21649   (umask 077 && mkdir "$tmp")
   21650 } ||
   21651 {
   21652    echo "$me: cannot create a temporary directory in ." >&2
   21653    { (exit 1); exit 1; }
   21654 }
   21655 
   21656 #
   21657 # Set up the sed scripts for CONFIG_FILES section.
   21658 #
   21659 
   21660 # No need to generate the scripts if there are no CONFIG_FILES.
   21661 # This happens for instance when ./config.status config.h
   21662 if test -n "$CONFIG_FILES"; then
   21663 
   21664 _ACEOF
   21665 
   21666 
   21667 
   21668 ac_delim='%!_!# '
   21669 for ac_last_try in false false false false false :; do
   21670   cat >conf$$subs.sed <<_ACEOF
   21671 SHELL!$SHELL$ac_delim
   21672 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
   21673 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
   21674 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
   21675 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
   21676 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
   21677 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
   21678 exec_prefix!$exec_prefix$ac_delim
   21679 prefix!$prefix$ac_delim
   21680 program_transform_name!$program_transform_name$ac_delim
   21681 bindir!$bindir$ac_delim
   21682 sbindir!$sbindir$ac_delim
   21683 libexecdir!$libexecdir$ac_delim
   21684 datarootdir!$datarootdir$ac_delim
   21685 datadir!$datadir$ac_delim
   21686 sysconfdir!$sysconfdir$ac_delim
   21687 sharedstatedir!$sharedstatedir$ac_delim
   21688 localstatedir!$localstatedir$ac_delim
   21689 includedir!$includedir$ac_delim
   21690 oldincludedir!$oldincludedir$ac_delim
   21691 docdir!$docdir$ac_delim
   21692 infodir!$infodir$ac_delim
   21693 htmldir!$htmldir$ac_delim
   21694 dvidir!$dvidir$ac_delim
   21695 pdfdir!$pdfdir$ac_delim
   21696 psdir!$psdir$ac_delim
   21697 libdir!$libdir$ac_delim
   21698 localedir!$localedir$ac_delim
   21699 mandir!$mandir$ac_delim
   21700 DEFS!$DEFS$ac_delim
   21701 ECHO_C!$ECHO_C$ac_delim
   21702 ECHO_N!$ECHO_N$ac_delim
   21703 ECHO_T!$ECHO_T$ac_delim
   21704 LIBS!$LIBS$ac_delim
   21705 build_alias!$build_alias$ac_delim
   21706 host_alias!$host_alias$ac_delim
   21707 target_alias!$target_alias$ac_delim
   21708 LLVM_SRC!$LLVM_SRC$ac_delim
   21709 LLVM_OBJ!$LLVM_OBJ$ac_delim
   21710 LLVM_VERSION!$LLVM_VERSION$ac_delim
   21711 CC!$CC$ac_delim
   21712 CFLAGS!$CFLAGS$ac_delim
   21713 LDFLAGS!$LDFLAGS$ac_delim
   21714 CPPFLAGS!$CPPFLAGS$ac_delim
   21715 ac_ct_CC!$ac_ct_CC$ac_delim
   21716 EXEEXT!$EXEEXT$ac_delim
   21717 OBJEXT!$OBJEXT$ac_delim
   21718 CXX!$CXX$ac_delim
   21719 CXXFLAGS!$CXXFLAGS$ac_delim
   21720 ac_ct_CXX!$ac_ct_CXX$ac_delim
   21721 CPP!$CPP$ac_delim
   21722 ENABLE_POLLY!$ENABLE_POLLY$ac_delim
   21723 LLVM_HAS_POLLY!$LLVM_HAS_POLLY$ac_delim
   21724 subdirs!$subdirs$ac_delim
   21725 build!$build$ac_delim
   21726 build_cpu!$build_cpu$ac_delim
   21727 build_vendor!$build_vendor$ac_delim
   21728 build_os!$build_os$ac_delim
   21729 host!$host$ac_delim
   21730 host_cpu!$host_cpu$ac_delim
   21731 host_vendor!$host_vendor$ac_delim
   21732 host_os!$host_os$ac_delim
   21733 target!$target$ac_delim
   21734 target_cpu!$target_cpu$ac_delim
   21735 target_vendor!$target_vendor$ac_delim
   21736 target_os!$target_os$ac_delim
   21737 OS!$OS$ac_delim
   21738 HOST_OS!$HOST_OS$ac_delim
   21739 TARGET_OS!$TARGET_OS$ac_delim
   21740 LINKALL!$LINKALL$ac_delim
   21741 NOLINKALL!$NOLINKALL$ac_delim
   21742 LLVM_ON_UNIX!$LLVM_ON_UNIX$ac_delim
   21743 LLVM_ON_WIN32!$LLVM_ON_WIN32$ac_delim
   21744 ARCH!$ARCH$ac_delim
   21745 ENDIAN!$ENDIAN$ac_delim
   21746 GREP!$GREP$ac_delim
   21747 EGREP!$EGREP$ac_delim
   21748 LLVM_CROSS_COMPILING!$LLVM_CROSS_COMPILING$ac_delim
   21749 BUILD_CC!$BUILD_CC$ac_delim
   21750 BUILD_EXEEXT!$BUILD_EXEEXT$ac_delim
   21751 BUILD_CXX!$BUILD_CXX$ac_delim
   21752 CVSBUILD!$CVSBUILD$ac_delim
   21753 ENABLE_OPTIMIZED!$ENABLE_OPTIMIZED$ac_delim
   21754 ENABLE_PROFILING!$ENABLE_PROFILING$ac_delim
   21755 DISABLE_ASSERTIONS!$DISABLE_ASSERTIONS$ac_delim
   21756 ENABLE_EXPENSIVE_CHECKS!$ENABLE_EXPENSIVE_CHECKS$ac_delim
   21757 EXPENSIVE_CHECKS!$EXPENSIVE_CHECKS$ac_delim
   21758 DEBUG_RUNTIME!$DEBUG_RUNTIME$ac_delim
   21759 DEBUG_SYMBOLS!$DEBUG_SYMBOLS$ac_delim
   21760 JIT!$JIT$ac_delim
   21761 TARGET_HAS_JIT!$TARGET_HAS_JIT$ac_delim
   21762 ENABLE_DOCS!$ENABLE_DOCS$ac_delim
   21763 ENABLE_DOXYGEN!$ENABLE_DOXYGEN$ac_delim
   21764 ENABLE_THREADS!$ENABLE_THREADS$ac_delim
   21765 ENABLE_PTHREADS!$ENABLE_PTHREADS$ac_delim
   21766 ENABLE_PIC!$ENABLE_PIC$ac_delim
   21767 ENABLE_SHARED!$ENABLE_SHARED$ac_delim
   21768 _ACEOF
   21769 
   21770   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
   21771     break
   21772   elif $ac_last_try; then
   21773     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   21774 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   21775    { (exit 1); exit 1; }; }
   21776   else
   21777     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   21778   fi
   21779 done
   21780 
   21781 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
   21782 if test -n "$ac_eof"; then
   21783   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
   21784   ac_eof=`expr $ac_eof + 1`
   21785 fi
   21786 
   21787 cat >>$CONFIG_STATUS <<_ACEOF
   21788 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
   21789 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   21790 _ACEOF
   21791 sed '
   21792 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
   21793 s/^/s,@/; s/!/@,|#_!!_#|/
   21794 :n
   21795 t n
   21796 s/'"$ac_delim"'$/,g/; t
   21797 s/$/\\/; p
   21798 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
   21799 ' >>$CONFIG_STATUS <conf$$subs.sed
   21800 rm -f conf$$subs.sed
   21801 cat >>$CONFIG_STATUS <<_ACEOF
   21802 CEOF$ac_eof
   21803 _ACEOF
   21804 
   21805 
   21806 ac_delim='%!_!# '
   21807 for ac_last_try in false false false false false :; do
   21808   cat >conf$$subs.sed <<_ACEOF
   21809 ENABLE_EMBED_STDCXX!$ENABLE_EMBED_STDCXX$ac_delim
   21810 ENABLE_TIMESTAMPS!$ENABLE_TIMESTAMPS$ac_delim
   21811 TARGETS_TO_BUILD!$TARGETS_TO_BUILD$ac_delim
   21812 LLVM_ENUM_TARGETS!$LLVM_ENUM_TARGETS$ac_delim
   21813 LLVM_ENUM_ASM_PRINTERS!$LLVM_ENUM_ASM_PRINTERS$ac_delim
   21814 LLVM_ENUM_ASM_PARSERS!$LLVM_ENUM_ASM_PARSERS$ac_delim
   21815 LLVM_ENUM_DISASSEMBLERS!$LLVM_ENUM_DISASSEMBLERS$ac_delim
   21816 ENABLE_CBE_PRINTF_A!$ENABLE_CBE_PRINTF_A$ac_delim
   21817 OPTIMIZE_OPTION!$OPTIMIZE_OPTION$ac_delim
   21818 EXTRA_OPTIONS!$EXTRA_OPTIONS$ac_delim
   21819 EXTRA_LD_OPTIONS!$EXTRA_LD_OPTIONS$ac_delim
   21820 BINUTILS_INCDIR!$BINUTILS_INCDIR$ac_delim
   21821 NM!$NM$ac_delim
   21822 ifGNUmake!$ifGNUmake$ac_delim
   21823 LN_S!$LN_S$ac_delim
   21824 CMP!$CMP$ac_delim
   21825 CP!$CP$ac_delim
   21826 DATE!$DATE$ac_delim
   21827 FIND!$FIND$ac_delim
   21828 MKDIR!$MKDIR$ac_delim
   21829 MV!$MV$ac_delim
   21830 RANLIB!$RANLIB$ac_delim
   21831 AR!$AR$ac_delim
   21832 RM!$RM$ac_delim
   21833 SED!$SED$ac_delim
   21834 TAR!$TAR$ac_delim
   21835 BINPWD!$BINPWD$ac_delim
   21836 GRAPHVIZ!$GRAPHVIZ$ac_delim
   21837 DOT!$DOT$ac_delim
   21838 FDP!$FDP$ac_delim
   21839 NEATO!$NEATO$ac_delim
   21840 TWOPI!$TWOPI$ac_delim
   21841 CIRCO!$CIRCO$ac_delim
   21842 GV!$GV$ac_delim
   21843 DOTTY!$DOTTY$ac_delim
   21844 XDOT_PY!$XDOT_PY$ac_delim
   21845 PERL!$PERL$ac_delim
   21846 HAVE_PERL!$HAVE_PERL$ac_delim
   21847 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
   21848 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
   21849 INSTALL_DATA!$INSTALL_DATA$ac_delim
   21850 BZIP2!$BZIP2$ac_delim
   21851 CAT!$CAT$ac_delim
   21852 DOXYGEN!$DOXYGEN$ac_delim
   21853 GROFF!$GROFF$ac_delim
   21854 GZIPBIN!$GZIPBIN$ac_delim
   21855 POD2HTML!$POD2HTML$ac_delim
   21856 POD2MAN!$POD2MAN$ac_delim
   21857 PDFROFF!$PDFROFF$ac_delim
   21858 RUNTEST!$RUNTEST$ac_delim
   21859 TCLSH!$TCLSH$ac_delim
   21860 ZIP!$ZIP$ac_delim
   21861 OCAMLC!$OCAMLC$ac_delim
   21862 OCAMLOPT!$OCAMLOPT$ac_delim
   21863 OCAMLDEP!$OCAMLDEP$ac_delim
   21864 OCAMLDOC!$OCAMLDOC$ac_delim
   21865 GAS!$GAS$ac_delim
   21866 HAVE_LINK_VERSION_SCRIPT!$HAVE_LINK_VERSION_SCRIPT$ac_delim
   21867 INSTALL_LTDL_TRUE!$INSTALL_LTDL_TRUE$ac_delim
   21868 INSTALL_LTDL_FALSE!$INSTALL_LTDL_FALSE$ac_delim
   21869 CONVENIENCE_LTDL_TRUE!$CONVENIENCE_LTDL_TRUE$ac_delim
   21870 CONVENIENCE_LTDL_FALSE!$CONVENIENCE_LTDL_FALSE$ac_delim
   21871 LIBADD_DL!$LIBADD_DL$ac_delim
   21872 NO_VARIADIC_MACROS!$NO_VARIADIC_MACROS$ac_delim
   21873 NO_MISSING_FIELD_INITIALIZERS!$NO_MISSING_FIELD_INITIALIZERS$ac_delim
   21874 USE_UDIS86!$USE_UDIS86$ac_delim
   21875 USE_OPROFILE!$USE_OPROFILE$ac_delim
   21876 HAVE_PTHREAD!$HAVE_PTHREAD$ac_delim
   21877 HUGE_VAL_SANITY!$HUGE_VAL_SANITY$ac_delim
   21878 MMAP_FILE!$MMAP_FILE$ac_delim
   21879 SHLIBEXT!$SHLIBEXT$ac_delim
   21880 SHLIBPATH_VAR!$SHLIBPATH_VAR$ac_delim
   21881 LLVM_PREFIX!$LLVM_PREFIX$ac_delim
   21882 LLVM_BINDIR!$LLVM_BINDIR$ac_delim
   21883 LLVM_LIBDIR!$LLVM_LIBDIR$ac_delim
   21884 LLVM_DATADIR!$LLVM_DATADIR$ac_delim
   21885 LLVM_DOCSDIR!$LLVM_DOCSDIR$ac_delim
   21886 LLVM_ETCDIR!$LLVM_ETCDIR$ac_delim
   21887 LLVM_INCLUDEDIR!$LLVM_INCLUDEDIR$ac_delim
   21888 LLVM_INFODIR!$LLVM_INFODIR$ac_delim
   21889 LLVM_MANDIR!$LLVM_MANDIR$ac_delim
   21890 LLVM_CONFIGTIME!$LLVM_CONFIGTIME$ac_delim
   21891 BINDINGS_TO_BUILD!$BINDINGS_TO_BUILD$ac_delim
   21892 ALL_BINDINGS!$ALL_BINDINGS$ac_delim
   21893 OCAML_LIBDIR!$OCAML_LIBDIR$ac_delim
   21894 ENABLE_VISIBILITY_INLINES_HIDDEN!$ENABLE_VISIBILITY_INLINES_HIDDEN$ac_delim
   21895 RPATH!$RPATH$ac_delim
   21896 RDYNAMIC!$RDYNAMIC$ac_delim
   21897 LIBOBJS!$LIBOBJS$ac_delim
   21898 LTLIBOBJS!$LTLIBOBJS$ac_delim
   21899 _ACEOF
   21900 
   21901   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 90; then
   21902     break
   21903   elif $ac_last_try; then
   21904     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   21905 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   21906    { (exit 1); exit 1; }; }
   21907   else
   21908     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   21909   fi
   21910 done
   21911 
   21912 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
   21913 if test -n "$ac_eof"; then
   21914   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
   21915   ac_eof=`expr $ac_eof + 1`
   21916 fi
   21917 
   21918 cat >>$CONFIG_STATUS <<_ACEOF
   21919 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
   21920 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
   21921 _ACEOF
   21922 sed '
   21923 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
   21924 s/^/s,@/; s/!/@,|#_!!_#|/
   21925 :n
   21926 t n
   21927 s/'"$ac_delim"'$/,g/; t
   21928 s/$/\\/; p
   21929 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
   21930 ' >>$CONFIG_STATUS <conf$$subs.sed
   21931 rm -f conf$$subs.sed
   21932 cat >>$CONFIG_STATUS <<_ACEOF
   21933 :end
   21934 s/|#_!!_#|//g
   21935 CEOF$ac_eof
   21936 _ACEOF
   21937 
   21938 
   21939 # VPATH may cause trouble with some makes, so we remove $(srcdir),
   21940 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   21941 # trailing colons and then remove the whole line if VPATH becomes empty
   21942 # (actually we leave an empty line to preserve line numbers).
   21943 if test "x$srcdir" = x.; then
   21944   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
   21945 s/:*\$(srcdir):*/:/
   21946 s/:*\${srcdir}:*/:/
   21947 s/:*@srcdir@:*/:/
   21948 s/^\([^=]*=[	 ]*\):*/\1/
   21949 s/:*$//
   21950 s/^[^=]*=[	 ]*$//
   21951 }'
   21952 fi
   21953 
   21954 cat >>$CONFIG_STATUS <<\_ACEOF
   21955 fi # test -n "$CONFIG_FILES"
   21956 
   21957 
   21958 for ac_tag in  :F $CONFIG_FILES      :C $CONFIG_COMMANDS
   21959 do
   21960   case $ac_tag in
   21961   :[FHLC]) ac_mode=$ac_tag; continue;;
   21962   esac
   21963   case $ac_mode$ac_tag in
   21964   :[FHL]*:*);;
   21965   :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
   21966 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
   21967    { (exit 1); exit 1; }; };;
   21968   :[FH]-) ac_tag=-:-;;
   21969   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   21970   esac
   21971   ac_save_IFS=$IFS
   21972   IFS=:
   21973   set x $ac_tag
   21974   IFS=$ac_save_IFS
   21975   shift
   21976   ac_file=$1
   21977   shift
   21978 
   21979   case $ac_mode in
   21980   :L) ac_source=$1;;
   21981   :[FH])
   21982     ac_file_inputs=
   21983     for ac_f
   21984     do
   21985       case $ac_f in
   21986       -) ac_f="$tmp/stdin";;
   21987       *) # Look for the file first in the build tree, then in the source tree
   21988 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   21989 	 # because $ac_f cannot contain `:'.
   21990 	 test -f "$ac_f" ||
   21991 	   case $ac_f in
   21992 	   [\\/$]*) false;;
   21993 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   21994 	   esac ||
   21995 	   { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
   21996 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
   21997    { (exit 1); exit 1; }; };;
   21998       esac
   21999       ac_file_inputs="$ac_file_inputs $ac_f"
   22000     done
   22001 
   22002     # Let's still pretend it is `configure' which instantiates (i.e., don't
   22003     # use $as_me), people would be surprised to read:
   22004     #    /* config.h.  Generated by config.status.  */
   22005     configure_input="Generated from "`IFS=:
   22006 	  echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
   22007     if test x"$ac_file" != x-; then
   22008       configure_input="$ac_file.  $configure_input"
   22009       { echo "$as_me:$LINENO: creating $ac_file" >&5
   22010 echo "$as_me: creating $ac_file" >&6;}
   22011     fi
   22012 
   22013     case $ac_tag in
   22014     *:-:* | *:-) cat >"$tmp/stdin";;
   22015     esac
   22016     ;;
   22017   esac
   22018 
   22019   ac_dir=`$as_dirname -- "$ac_file" ||
   22020 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22021 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   22022 	 X"$ac_file" : 'X\(//\)$' \| \
   22023 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   22024 echo X"$ac_file" |
   22025     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22026 	    s//\1/
   22027 	    q
   22028 	  }
   22029 	  /^X\(\/\/\)[^/].*/{
   22030 	    s//\1/
   22031 	    q
   22032 	  }
   22033 	  /^X\(\/\/\)$/{
   22034 	    s//\1/
   22035 	    q
   22036 	  }
   22037 	  /^X\(\/\).*/{
   22038 	    s//\1/
   22039 	    q
   22040 	  }
   22041 	  s/.*/./; q'`
   22042   { as_dir="$ac_dir"
   22043   case $as_dir in #(
   22044   -*) as_dir=./$as_dir;;
   22045   esac
   22046   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   22047     as_dirs=
   22048     while :; do
   22049       case $as_dir in #(
   22050       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
   22051       *) as_qdir=$as_dir;;
   22052       esac
   22053       as_dirs="'$as_qdir' $as_dirs"
   22054       as_dir=`$as_dirname -- "$as_dir" ||
   22055 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22056 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   22057 	 X"$as_dir" : 'X\(//\)$' \| \
   22058 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   22059 echo X"$as_dir" |
   22060     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22061 	    s//\1/
   22062 	    q
   22063 	  }
   22064 	  /^X\(\/\/\)[^/].*/{
   22065 	    s//\1/
   22066 	    q
   22067 	  }
   22068 	  /^X\(\/\/\)$/{
   22069 	    s//\1/
   22070 	    q
   22071 	  }
   22072 	  /^X\(\/\).*/{
   22073 	    s//\1/
   22074 	    q
   22075 	  }
   22076 	  s/.*/./; q'`
   22077       test -d "$as_dir" && break
   22078     done
   22079     test -z "$as_dirs" || eval "mkdir $as_dirs"
   22080   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   22081 echo "$as_me: error: cannot create directory $as_dir" >&2;}
   22082    { (exit 1); exit 1; }; }; }
   22083   ac_builddir=.
   22084 
   22085 case "$ac_dir" in
   22086 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   22087 *)
   22088   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
   22089   # A ".." for each directory in $ac_dir_suffix.
   22090   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
   22091   case $ac_top_builddir_sub in
   22092   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   22093   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   22094   esac ;;
   22095 esac
   22096 ac_abs_top_builddir=$ac_pwd
   22097 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   22098 # for backward compatibility:
   22099 ac_top_builddir=$ac_top_build_prefix
   22100 
   22101 case $srcdir in
   22102   .)  # We are building in place.
   22103     ac_srcdir=.
   22104     ac_top_srcdir=$ac_top_builddir_sub
   22105     ac_abs_top_srcdir=$ac_pwd ;;
   22106   [\\/]* | ?:[\\/]* )  # Absolute name.
   22107     ac_srcdir=$srcdir$ac_dir_suffix;
   22108     ac_top_srcdir=$srcdir
   22109     ac_abs_top_srcdir=$srcdir ;;
   22110   *) # Relative name.
   22111     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   22112     ac_top_srcdir=$ac_top_build_prefix$srcdir
   22113     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   22114 esac
   22115 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   22116 
   22117 
   22118   case $ac_mode in
   22119   :F)
   22120   #
   22121   # CONFIG_FILE
   22122   #
   22123 
   22124   case $INSTALL in
   22125   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   22126   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   22127   esac
   22128 _ACEOF
   22129 
   22130 cat >>$CONFIG_STATUS <<\_ACEOF
   22131 # If the template does not know about datarootdir, expand it.
   22132 # FIXME: This hack should be removed a few years after 2.60.
   22133 ac_datarootdir_hack=; ac_datarootdir_seen=
   22134 
   22135 case `sed -n '/datarootdir/ {
   22136   p
   22137   q
   22138 }
   22139 /@datadir@/p
   22140 /@docdir@/p
   22141 /@infodir@/p
   22142 /@localedir@/p
   22143 /@mandir@/p
   22144 ' $ac_file_inputs` in
   22145 *datarootdir*) ac_datarootdir_seen=yes;;
   22146 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   22147   { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   22148 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   22149 _ACEOF
   22150 cat >>$CONFIG_STATUS <<_ACEOF
   22151   ac_datarootdir_hack='
   22152   s&@datadir@&$datadir&g
   22153   s&@docdir@&$docdir&g
   22154   s&@infodir@&$infodir&g
   22155   s&@localedir@&$localedir&g
   22156   s&@mandir@&$mandir&g
   22157     s&\\\${datarootdir}&$datarootdir&g' ;;
   22158 esac
   22159 _ACEOF
   22160 
   22161 # Neutralize VPATH when `$srcdir' = `.'.
   22162 # Shell code in configure.ac might set extrasub.
   22163 # FIXME: do we really want to maintain this feature?
   22164 cat >>$CONFIG_STATUS <<_ACEOF
   22165   sed "$ac_vpsub
   22166 $extrasub
   22167 _ACEOF
   22168 cat >>$CONFIG_STATUS <<\_ACEOF
   22169 :t
   22170 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   22171 s&@configure_input@&$configure_input&;t t
   22172 s&@top_builddir@&$ac_top_builddir_sub&;t t
   22173 s&@srcdir@&$ac_srcdir&;t t
   22174 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   22175 s&@top_srcdir@&$ac_top_srcdir&;t t
   22176 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   22177 s&@builddir@&$ac_builddir&;t t
   22178 s&@abs_builddir@&$ac_abs_builddir&;t t
   22179 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   22180 s&@INSTALL@&$ac_INSTALL&;t t
   22181 $ac_datarootdir_hack
   22182 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
   22183 
   22184 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   22185   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
   22186   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
   22187   { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   22188 which seems to be undefined.  Please make sure it is defined." >&5
   22189 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   22190 which seems to be undefined.  Please make sure it is defined." >&2;}
   22191 
   22192   rm -f "$tmp/stdin"
   22193   case $ac_file in
   22194   -) cat "$tmp/out"; rm -f "$tmp/out";;
   22195   *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
   22196   esac
   22197  ;;
   22198 
   22199 
   22200   :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
   22201 echo "$as_me: executing $ac_file commands" >&6;}
   22202  ;;
   22203   esac
   22204 
   22205 
   22206   case $ac_file$ac_mode in
   22207     "Makefile":C) ${srcdir}/autoconf/mkinstalldirs `dirname Makefile`
   22208    ${SHELL} ${srcdir}/autoconf/install-sh -m 0644 -c ${srcdir}/Makefile Makefile ;;
   22209     "lib/Makefile":C) ${srcdir}/autoconf/mkinstalldirs `dirname lib/Makefile`
   22210    ${SHELL} ${srcdir}/autoconf/install-sh -m 0644 -c ${srcdir}/lib/Makefile lib/Makefile ;;
   22211     "lib/sample/Makefile":C) ${srcdir}/autoconf/mkinstalldirs `dirname lib/sample/Makefile`
   22212    ${SHELL} ${srcdir}/autoconf/install-sh -m 0644 -c ${srcdir}/lib/sample/Makefile lib/sample/Makefile ;;
   22213     "tools/Makefile":C) ${srcdir}/autoconf/mkinstalldirs `dirname tools/Makefile`
   22214    ${SHELL} ${srcdir}/autoconf/install-sh -m 0644 -c ${srcdir}/tools/Makefile tools/Makefile ;;
   22215     "tools/sample/Makefile":C) ${srcdir}/autoconf/mkinstalldirs `dirname tools/sample/Makefile`
   22216    ${SHELL} ${srcdir}/autoconf/install-sh -m 0644 -c ${srcdir}/tools/sample/Makefile tools/sample/Makefile ;;
   22217 
   22218   esac
   22219 done # for ac_tag
   22220 
   22221 
   22222 { (exit 0); exit 0; }
   22223 _ACEOF
   22224 chmod +x $CONFIG_STATUS
   22225 ac_clean_files=$ac_clean_files_save
   22226 
   22227 
   22228 # configure is writing to config.log, and then calls config.status.
   22229 # config.status does its own redirection, appending to config.log.
   22230 # Unfortunately, on DOS this fails, as config.log is still kept open
   22231 # by configure, so config.status won't be able to write to it; its
   22232 # output is simply discarded.  So we exec the FD to /dev/null,
   22233 # effectively closing config.log, so it can be properly (re)opened and
   22234 # appended to by config.status.  When coming back to configure, we
   22235 # need to make the FD available again.
   22236 if test "$no_create" != yes; then
   22237   ac_cs_success=:
   22238   ac_config_status_args=
   22239   test "$silent" = yes &&
   22240     ac_config_status_args="$ac_config_status_args --quiet"
   22241   exec 5>/dev/null
   22242   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   22243   exec 5>>config.log
   22244   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   22245   # would make configure fail if this is the last instruction.
   22246   $ac_cs_success || { (exit 1); exit 1; }
   22247 fi
   22248 
   22249 #
   22250 # CONFIG_SUBDIRS section.
   22251 #
   22252 if test "$no_recursion" != yes; then
   22253 
   22254   # Remove --cache-file and --srcdir arguments so they do not pile up.
   22255   ac_sub_configure_args=
   22256   ac_prev=
   22257   eval "set x $ac_configure_args"
   22258   shift
   22259   for ac_arg
   22260   do
   22261     if test -n "$ac_prev"; then
   22262       ac_prev=
   22263       continue
   22264     fi
   22265     case $ac_arg in
   22266     -cache-file | --cache-file | --cache-fil | --cache-fi \
   22267     | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   22268       ac_prev=cache_file ;;
   22269     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   22270     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
   22271     | --c=*)
   22272       ;;
   22273     --config-cache | -C)
   22274       ;;
   22275     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   22276       ac_prev=srcdir ;;
   22277     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   22278       ;;
   22279     -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   22280       ac_prev=prefix ;;
   22281     -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   22282       ;;
   22283     *)
   22284       case $ac_arg in
   22285       *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   22286       esac
   22287       ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
   22288     esac
   22289   done
   22290 
   22291   # Always prepend --prefix to ensure using the same prefix
   22292   # in subdir configurations.
   22293   ac_arg="--prefix=$prefix"
   22294   case $ac_arg in
   22295   *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   22296   esac
   22297   ac_sub_configure_args="$ac_arg $ac_sub_configure_args"
   22298 
   22299   ac_popdir=`pwd`
   22300   for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
   22301 
   22302     # Do not complain, so a configure script can configure whichever
   22303     # parts of a large source tree are present.
   22304     test -d "$srcdir/$ac_dir" || continue
   22305 
   22306     ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
   22307     echo "$as_me:$LINENO: $ac_msg" >&5
   22308     echo "$ac_msg" >&6
   22309     { as_dir="$ac_dir"
   22310   case $as_dir in #(
   22311   -*) as_dir=./$as_dir;;
   22312   esac
   22313   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   22314     as_dirs=
   22315     while :; do
   22316       case $as_dir in #(
   22317       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
   22318       *) as_qdir=$as_dir;;
   22319       esac
   22320       as_dirs="'$as_qdir' $as_dirs"
   22321       as_dir=`$as_dirname -- "$as_dir" ||
   22322 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22323 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   22324 	 X"$as_dir" : 'X\(//\)$' \| \
   22325 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   22326 echo X"$as_dir" |
   22327     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22328 	    s//\1/
   22329 	    q
   22330 	  }
   22331 	  /^X\(\/\/\)[^/].*/{
   22332 	    s//\1/
   22333 	    q
   22334 	  }
   22335 	  /^X\(\/\/\)$/{
   22336 	    s//\1/
   22337 	    q
   22338 	  }
   22339 	  /^X\(\/\).*/{
   22340 	    s//\1/
   22341 	    q
   22342 	  }
   22343 	  s/.*/./; q'`
   22344       test -d "$as_dir" && break
   22345     done
   22346     test -z "$as_dirs" || eval "mkdir $as_dirs"
   22347   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   22348 echo "$as_me: error: cannot create directory $as_dir" >&2;}
   22349    { (exit 1); exit 1; }; }; }
   22350     ac_builddir=.
   22351 
   22352 case "$ac_dir" in
   22353 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   22354 *)
   22355   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
   22356   # A ".." for each directory in $ac_dir_suffix.
   22357   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
   22358   case $ac_top_builddir_sub in
   22359   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   22360   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   22361   esac ;;
   22362 esac
   22363 ac_abs_top_builddir=$ac_pwd
   22364 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   22365 # for backward compatibility:
   22366 ac_top_builddir=$ac_top_build_prefix
   22367 
   22368 case $srcdir in
   22369   .)  # We are building in place.
   22370     ac_srcdir=.
   22371     ac_top_srcdir=$ac_top_builddir_sub
   22372     ac_abs_top_srcdir=$ac_pwd ;;
   22373   [\\/]* | ?:[\\/]* )  # Absolute name.
   22374     ac_srcdir=$srcdir$ac_dir_suffix;
   22375     ac_top_srcdir=$srcdir
   22376     ac_abs_top_srcdir=$srcdir ;;
   22377   *) # Relative name.
   22378     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   22379     ac_top_srcdir=$ac_top_build_prefix$srcdir
   22380     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   22381 esac
   22382 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   22383 
   22384 
   22385     cd "$ac_dir"
   22386 
   22387     # Check for guested configure; otherwise get Cygnus style configure.
   22388     if test -f "$ac_srcdir/configure.gnu"; then
   22389       ac_sub_configure=$ac_srcdir/configure.gnu
   22390     elif test -f "$ac_srcdir/configure"; then
   22391       ac_sub_configure=$ac_srcdir/configure
   22392     elif test -f "$ac_srcdir/configure.in"; then
   22393       # This should be Cygnus configure.
   22394       ac_sub_configure=$ac_aux_dir/configure
   22395     else
   22396       { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
   22397 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
   22398       ac_sub_configure=
   22399     fi
   22400 
   22401     # The recursion is here.
   22402     if test -n "$ac_sub_configure"; then
   22403       # Make the cache file name correct relative to the subdirectory.
   22404       case $cache_file in
   22405       [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
   22406       *) # Relative name.
   22407 	ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
   22408       esac
   22409 
   22410       { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
   22411 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
   22412       # The eval makes quoting arguments work.
   22413       eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
   22414 	   --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
   22415 	{ { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
   22416 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
   22417    { (exit 1); exit 1; }; }
   22418     fi
   22419 
   22420     cd "$ac_popdir"
   22421   done
   22422 fi
   22423 
   22424