Home | History | Annotate | Download | only in LLVM
      1 #! /bin/sh

      2 # Guess values for system-dependent variables and create Makefiles.

      3 # Generated by GNU Autoconf 2.61 for llvm 3.0.

      4 #

      5 # Report bugs to <llvmbugs (at] cs.uiuc.edu>.

      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 # Copyright (c) 2003-2011 University of Illinois at Urbana-Champaign.

     13 ## --------------------- ##

     14 ## M4sh Initialization.  ##

     15 ## --------------------- ##

     16 
     17 # Be more Bourne compatible

     18 DUALCASE=1; export DUALCASE # for MKS sh

     19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     20   emulate sh
     21   NULLCMD=:
     22   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which

     23   # is contrary to our usage.  Disable this feature.

     24   alias -g '${1+"$@"}'='"$@"'
     25   setopt NO_GLOB_SUBST
     26 else
     27   case `(set -o) 2>/dev/null` in
     28   *posix*) set -o posix ;;
     29 esac
     30 
     31 fi
     32 
     33 
     34 
     35 
     36 # PATH needs CR

     37 # Avoid depending upon Character Ranges.

     38 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     39 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     40 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     41 as_cr_digits='0123456789'
     42 as_cr_alnum=$as_cr_Letters$as_cr_digits
     43 
     44 # The user is always right.

     45 if test "${PATH_SEPARATOR+set}" != set; then
     46   echo "#! /bin/sh" >conf$$.sh
     47   echo  "exit 0"   >>conf$$.sh
     48   chmod +x conf$$.sh
     49   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
     50     PATH_SEPARATOR=';'
     51   else
     52     PATH_SEPARATOR=:
     53   fi
     54   rm -f conf$$.sh
     55 fi
     56 
     57 # Support unset when possible.

     58 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     59   as_unset=unset
     60 else
     61   as_unset=false
     62 fi
     63 
     64 
     65 # IFS

     66 # We need space, tab and new line, in precisely that order.  Quoting is

     67 # there to prevent editors from complaining about space-tab.

     68 # (If _AS_PATH_WALK were called with IFS unset, it would disable word

     69 # splitting by setting IFS to empty value.)

     70 as_nl='
     71 '
     72 IFS=" ""	$as_nl"
     73 
     74 # Find who we are.  Look in the path if we contain no directory separator.

     75 case $0 in
     76   *[\\/]* ) as_myself=$0 ;;
     77   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     78 for as_dir in $PATH
     79 do
     80   IFS=$as_save_IFS
     81   test -z "$as_dir" && as_dir=.
     82   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     83 done
     84 IFS=$as_save_IFS
     85 
     86      ;;
     87 esac
     88 # We did not find ourselves, most probably we were run as `sh COMMAND'

     89 # in which case we are not to be found in the path.

     90 if test "x$as_myself" = x; then
     91   as_myself=$0
     92 fi
     93 if test ! -f "$as_myself"; then
     94   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
     95   { (exit 1); exit 1; }
     96 fi
     97 
     98 # Work around bugs in pre-3.0 UWIN ksh.

     99 for as_var in ENV MAIL MAILPATH
    100 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    101 done
    102 PS1='$ '
    103 PS2='> '
    104 PS4='+ '
    105 
    106 # NLS nuisances.

    107 for as_var in \
    108   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
    109   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
    110   LC_TELEPHONE LC_TIME
    111 do
    112   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
    113     eval $as_var=C; export $as_var
    114   else
    115     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    116   fi
    117 done
    118 
    119 # Required to use basename.

    120 if expr a : '\(a\)' >/dev/null 2>&1 &&
    121    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    122   as_expr=expr
    123 else
    124   as_expr=false
    125 fi
    126 
    127 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    128   as_basename=basename
    129 else
    130   as_basename=false
    131 fi
    132 
    133 
    134 # Name of the executable.

    135 as_me=`$as_basename -- "$0" ||
    136 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    137 	 X"$0" : 'X\(//\)$' \| \
    138 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    139 echo X/"$0" |
    140     sed '/^.*\/\([^/][^/]*\)\/*$/{
    141 	    s//\1/
    142 	    q
    143 	  }
    144 	  /^X\/\(\/\/\)$/{
    145 	    s//\1/
    146 	    q
    147 	  }
    148 	  /^X\/\(\/\).*/{
    149 	    s//\1/
    150 	    q
    151 	  }
    152 	  s/.*/./; q'`
    153 
    154 # CDPATH.

    155 $as_unset CDPATH
    156 
    157 
    158 if test "x$CONFIG_SHELL" = x; then
    159   if (eval ":") 2>/dev/null; then
    160   as_have_required=yes
    161 else
    162   as_have_required=no
    163 fi
    164 
    165   if test $as_have_required = yes && 	 (eval ":
    166 (as_func_return () {
    167   (exit \$1)
    168 }
    169 as_func_success () {
    170   as_func_return 0
    171 }
    172 as_func_failure () {
    173   as_func_return 1
    174 }
    175 as_func_ret_success () {
    176   return 0
    177 }
    178 as_func_ret_failure () {
    179   return 1
    180 }
    181 
    182 exitcode=0
    183 if as_func_success; then
    184   :
    185 else
    186   exitcode=1
    187   echo as_func_success failed.
    188 fi
    189 
    190 if as_func_failure; then
    191   exitcode=1
    192   echo as_func_failure succeeded.
    193 fi
    194 
    195 if as_func_ret_success; then
    196   :
    197 else
    198   exitcode=1
    199   echo as_func_ret_success failed.
    200 fi
    201 
    202 if as_func_ret_failure; then
    203   exitcode=1
    204   echo as_func_ret_failure succeeded.
    205 fi
    206 
    207 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    208   :
    209 else
    210   exitcode=1
    211   echo positional parameters were not saved.
    212 fi
    213 
    214 test \$exitcode = 0) || { (exit 1); exit 1; }
    215 
    216 (
    217   as_lineno_1=\$LINENO
    218   as_lineno_2=\$LINENO
    219   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
    220   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
    221 ") 2> /dev/null; then
    222   :
    223 else
    224   as_candidate_shells=
    225     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    226 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    227 do
    228   IFS=$as_save_IFS
    229   test -z "$as_dir" && as_dir=.
    230   case $as_dir in
    231 	 /*)
    232 	   for as_base in sh bash ksh sh5; do
    233 	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
    234 	   done;;
    235        esac
    236 done
    237 IFS=$as_save_IFS
    238 
    239 
    240       for as_shell in $as_candidate_shells $SHELL; do
    241 	 # Try only shells that exist, to save several forks.

    242 	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    243 		{ ("$as_shell") 2> /dev/null <<\_ASEOF
    244 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    245   emulate sh
    246   NULLCMD=:
    247   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which

    248   # is contrary to our usage.  Disable this feature.

    249   alias -g '${1+"$@"}'='"$@"'
    250   setopt NO_GLOB_SUBST
    251 else
    252   case `(set -o) 2>/dev/null` in
    253   *posix*) set -o posix ;;
    254 esac
    255 
    256 fi
    257 
    258 
    259 :
    260 _ASEOF
    261 }; then
    262   CONFIG_SHELL=$as_shell
    263 	       as_have_required=yes
    264 	       if { "$as_shell" 2> /dev/null <<\_ASEOF
    265 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    266   emulate sh
    267   NULLCMD=:
    268   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which

    269   # is contrary to our usage.  Disable this feature.

    270   alias -g '${1+"$@"}'='"$@"'
    271   setopt NO_GLOB_SUBST
    272 else
    273   case `(set -o) 2>/dev/null` in
    274   *posix*) set -o posix ;;
    275 esac
    276 
    277 fi
    278 
    279 
    280 :
    281 (as_func_return () {
    282   (exit $1)
    283 }
    284 as_func_success () {
    285   as_func_return 0
    286 }
    287 as_func_failure () {
    288   as_func_return 1
    289 }
    290 as_func_ret_success () {
    291   return 0
    292 }
    293 as_func_ret_failure () {
    294   return 1
    295 }
    296 
    297 exitcode=0
    298 if as_func_success; then
    299   :
    300 else
    301   exitcode=1
    302   echo as_func_success failed.
    303 fi
    304 
    305 if as_func_failure; then
    306   exitcode=1
    307   echo as_func_failure succeeded.
    308 fi
    309 
    310 if as_func_ret_success; then
    311   :
    312 else
    313   exitcode=1
    314   echo as_func_ret_success failed.
    315 fi
    316 
    317 if as_func_ret_failure; then
    318   exitcode=1
    319   echo as_func_ret_failure succeeded.
    320 fi
    321 
    322 if ( set x; as_func_ret_success y && test x = "$1" ); then
    323   :
    324 else
    325   exitcode=1
    326   echo positional parameters were not saved.
    327 fi
    328 
    329 test $exitcode = 0) || { (exit 1); exit 1; }
    330 
    331 (
    332   as_lineno_1=$LINENO
    333   as_lineno_2=$LINENO
    334   test "x$as_lineno_1" != "x$as_lineno_2" &&
    335   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
    336 
    337 _ASEOF
    338 }; then
    339   break
    340 fi
    341 
    342 fi
    343 
    344       done
    345 
    346       if test "x$CONFIG_SHELL" != x; then
    347   for as_var in BASH_ENV ENV
    348         do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    349         done
    350         export CONFIG_SHELL
    351         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
    352 fi
    353 
    354 
    355     if test $as_have_required = no; then
    356   echo This script requires a shell more modern than all the
    357       echo shells that I found on your system.  Please install a
    358       echo modern shell, or manually run the script under such a
    359       echo shell if you do have one.
    360       { (exit 1); exit 1; }
    361 fi
    362 
    363 
    364 fi
    365 
    366 fi
    367 
    368 
    369 
    370 (eval "as_func_return () {
    371   (exit \$1)
    372 }
    373 as_func_success () {
    374   as_func_return 0
    375 }
    376 as_func_failure () {
    377   as_func_return 1
    378 }
    379 as_func_ret_success () {
    380   return 0
    381 }
    382 as_func_ret_failure () {
    383   return 1
    384 }
    385 
    386 exitcode=0
    387 if as_func_success; then
    388   :
    389 else
    390   exitcode=1
    391   echo as_func_success failed.
    392 fi
    393 
    394 if as_func_failure; then
    395   exitcode=1
    396   echo as_func_failure succeeded.
    397 fi
    398 
    399 if as_func_ret_success; then
    400   :
    401 else
    402   exitcode=1
    403   echo as_func_ret_success failed.
    404 fi
    405 
    406 if as_func_ret_failure; then
    407   exitcode=1
    408   echo as_func_ret_failure succeeded.
    409 fi
    410 
    411 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    412   :
    413 else
    414   exitcode=1
    415   echo positional parameters were not saved.
    416 fi
    417 
    418 test \$exitcode = 0") || {
    419   echo No shell found that supports shell functions.
    420   echo Please tell autoconf@gnu.org about your system,
    421   echo including any error possibly output before this
    422   echo message
    423 }
    424 
    425 
    426 
    427   as_lineno_1=$LINENO
    428   as_lineno_2=$LINENO
    429   test "x$as_lineno_1" != "x$as_lineno_2" &&
    430   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
    431 
    432   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO

    433   # uniformly replaced by the line number.  The first 'sed' inserts a

    434   # line-number line after each line using $LINENO; the second 'sed'

    435   # does the real work.  The second script uses 'N' to pair each

    436   # line-number line with the line containing $LINENO, and appends

    437   # trailing '-' during substitution so that $LINENO is not a special

    438   # case at line end.

    439   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the

    440   # scripts with optimization help from Paolo Bonzini.  Blame Lee

    441   # E. McMahon (1931-1989) for sed's syntax.  :-)

    442   sed -n '
    443     p
    444     /[$]LINENO/=
    445   ' <$as_myself |
    446     sed '
    447       s/[$]LINENO.*/&-/
    448       t lineno
    449       b
    450       :lineno
    451       N
    452       :loop
    453       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    454       t loop
    455       s/-\n.*//
    456     ' >$as_me.lineno &&
    457   chmod +x "$as_me.lineno" ||
    458     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    459    { (exit 1); exit 1; }; }
    460 
    461   # Don't try to exec as it changes $[0], causing all sort of problems

    462   # (the dirname of $[0] is not the place where we might find the

    463   # original and so on.  Autoconf is especially sensitive to this).

    464   . "./$as_me.lineno"
    465   # Exit status is that of the last command.

    466   exit
    467 }
    468 
    469 
    470 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    471   as_dirname=dirname
    472 else
    473   as_dirname=false
    474 fi
    475 
    476 ECHO_C= ECHO_N= ECHO_T=
    477 case `echo -n x` in
    478 -n*)
    479   case `echo 'x\c'` in
    480   *c*) ECHO_T='	';;	# ECHO_T is single tab character.

    481   *)   ECHO_C='\c';;
    482   esac;;
    483 *)
    484   ECHO_N='-n';;
    485 esac
    486 
    487 if expr a : '\(a\)' >/dev/null 2>&1 &&
    488    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    489   as_expr=expr
    490 else
    491   as_expr=false
    492 fi
    493 
    494 rm -f conf$$ conf$$.exe conf$$.file
    495 if test -d conf$$.dir; then
    496   rm -f conf$$.dir/conf$$.file
    497 else
    498   rm -f conf$$.dir
    499   mkdir conf$$.dir
    500 fi
    501 echo >conf$$.file
    502 if ln -s conf$$.file conf$$ 2>/dev/null; then
    503   as_ln_s='ln -s'
    504   # ... but there are two gotchas:

    505   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.

    506   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.

    507   # In both cases, we have to default to `cp -p'.

    508   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    509     as_ln_s='cp -p'
    510 elif ln conf$$.file conf$$ 2>/dev/null; then
    511   as_ln_s=ln
    512 else
    513   as_ln_s='cp -p'
    514 fi
    515 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    516 rmdir conf$$.dir 2>/dev/null
    517 
    518 if mkdir -p . 2>/dev/null; then
    519   as_mkdir_p=:
    520 else
    521   test -d ./-p && rmdir ./-p
    522   as_mkdir_p=false
    523 fi
    524 
    525 if test -x / >/dev/null 2>&1; then
    526   as_test_x='test -x'
    527 else
    528   if ls -dL / >/dev/null 2>&1; then
    529     as_ls_L_option=L
    530   else
    531     as_ls_L_option=
    532   fi
    533   as_test_x='
    534     eval sh -c '\''
    535       if test -d "$1"; then
    536         test -d "$1/.";
    537       else
    538 	case $1 in
    539         -*)set "./$1";;
    540 	esac;
    541 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
    542 	???[sx]*):;;*)false;;esac;fi
    543     '\'' sh
    544   '
    545 fi
    546 as_executable_p=$as_test_x
    547 
    548 # Sed expression to map a string onto a valid CPP name.
    549 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    550 
    551 # Sed expression to map a string onto a valid variable name.
    552 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    553 
    554 
    555 
    556 exec 7<&0 </dev/null 6>&1
    557 
    558 # Name of the host.
    559 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
    560 # so uname gets run too.
    561 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    562 
    563 #
    564 # Initializations.
    565 #
    566 ac_default_prefix=/usr/local
    567 ac_clean_files=
    568 ac_config_libobj_dir=.
    569 LIBOBJS=
    570 cross_compiling=no
    571 subdirs=
    572 MFLAGS=
    573 MAKEFLAGS=
    574 SHELL=${CONFIG_SHELL-/bin/sh}
    575 
    576 # Identity of this package.
    577 PACKAGE_NAME='llvm'
    578 PACKAGE_TARNAME='-llvm-'
    579 PACKAGE_VERSION='3.0'
    580 PACKAGE_STRING='llvm 3.0'
    581 PACKAGE_BUGREPORT='llvmbugs@cs.uiuc.edu'
    582 
    583 ac_unique_file="lib/VMCore/Module.cpp"
    584 # Factoring default headers for most tests.
    585 ac_includes_default="\
    586 #include <stdio.h>
    587 #ifdef HAVE_SYS_TYPES_H
    588 # include <sys/types.h>
    589 #endif
    590 #ifdef HAVE_SYS_STAT_H
    591 # include <sys/stat.h>
    592 #endif
    593 #ifdef STDC_HEADERS
    594 # include <stdlib.h>
    595 # include <stddef.h>
    596 #else
    597 # ifdef HAVE_STDLIB_H
    598 #  include <stdlib.h>
    599 # endif
    600 #endif
    601 #ifdef HAVE_STRING_H
    602 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    603 #  include <memory.h>
    604 # endif
    605 # include <string.h>
    606 #endif
    607 #ifdef HAVE_STRINGS_H
    608 # include <strings.h>
    609 #endif
    610 #ifdef HAVE_INTTYPES_H
    611 # include <inttypes.h>
    612 #endif
    613 #ifdef HAVE_STDINT_H
    614 # include <stdint.h>
    615 #endif
    616 #ifdef HAVE_UNISTD_H
    617 # include <unistd.h>
    618 #endif"
    619 
    620 ac_subst_vars='SHELL
    621 PATH_SEPARATOR
    622 PACKAGE_NAME
    623 PACKAGE_TARNAME
    624 PACKAGE_VERSION
    625 PACKAGE_STRING
    626 PACKAGE_BUGREPORT
    627 exec_prefix
    628 prefix
    629 program_transform_name
    630 bindir
    631 sbindir
    632 libexecdir
    633 datarootdir
    634 datadir
    635 sysconfdir
    636 sharedstatedir
    637 localstatedir
    638 includedir
    639 oldincludedir
    640 docdir
    641 infodir
    642 htmldir
    643 dvidir
    644 pdfdir
    645 psdir
    646 libdir
    647 localedir
    648 mandir
    649 DEFS
    650 ECHO_C
    651 ECHO_N
    652 ECHO_T
    653 LIBS
    654 build_alias
    655 host_alias
    656 target_alias
    657 LLVM_COPYRIGHT
    658 CC
    659 CFLAGS
    660 LDFLAGS
    661 CPPFLAGS
    662 ac_ct_CC
    663 EXEEXT
    664 OBJEXT
    665 CXX
    666 CXXFLAGS
    667 ac_ct_CXX
    668 CPP
    669 subdirs
    670 ENABLE_POLLY
    671 LLVM_HAS_POLLY
    672 build
    673 build_cpu
    674 build_vendor
    675 build_os
    676 host
    677 host_cpu
    678 host_vendor
    679 host_os
    680 target
    681 target_cpu
    682 target_vendor
    683 target_os
    684 OS
    685 HOST_OS
    686 TARGET_OS
    687 LINKALL
    688 NOLINKALL
    689 LLVM_ON_UNIX
    690 LLVM_ON_WIN32
    691 ARCH
    692 ENDIAN
    693 GREP
    694 EGREP
    695 LLVM_CROSS_COMPILING
    696 BUILD_CC
    697 BUILD_EXEEXT
    698 BUILD_CXX
    699 CVSBUILD
    700 ENABLE_OPTIMIZED
    701 ENABLE_PROFILING
    702 DISABLE_ASSERTIONS
    703 ENABLE_EXPENSIVE_CHECKS
    704 EXPENSIVE_CHECKS
    705 DEBUG_RUNTIME
    706 DEBUG_SYMBOLS
    707 JIT
    708 TARGET_HAS_JIT
    709 ENABLE_DOCS
    710 ENABLE_DOXYGEN
    711 ENABLE_THREADS
    712 ENABLE_PTHREADS
    713 ENABLE_PIC
    714 ENABLE_SHARED
    715 ENABLE_EMBED_STDCXX
    716 ENABLE_TIMESTAMPS
    717 TARGETS_TO_BUILD
    718 LLVM_ENUM_TARGETS
    719 LLVM_ENUM_ASM_PRINTERS
    720 LLVM_ENUM_ASM_PARSERS
    721 LLVM_ENUM_DISASSEMBLERS
    722 ENABLE_CBE_PRINTF_A
    723 OPTIMIZE_OPTION
    724 EXTRA_OPTIONS
    725 EXTRA_LD_OPTIONS
    726 BINUTILS_INCDIR
    727 NM
    728 ifGNUmake
    729 LN_S
    730 CMP
    731 CP
    732 DATE
    733 FIND
    734 MKDIR
    735 MV
    736 RANLIB
    737 AR
    738 RM
    739 SED
    740 TAR
    741 BINPWD
    742 GRAPHVIZ
    743 DOT
    744 FDP
    745 NEATO
    746 TWOPI
    747 CIRCO
    748 GV
    749 DOTTY
    750 XDOT_PY
    751 PERL
    752 HAVE_PERL
    753 INSTALL_PROGRAM
    754 INSTALL_SCRIPT
    755 INSTALL_DATA
    756 BZIP2
    757 CAT
    758 DOXYGEN
    759 GROFF
    760 GZIPBIN
    761 POD2HTML
    762 POD2MAN
    763 PDFROFF
    764 RUNTEST
    765 TCLSH
    766 ZIP
    767 OCAMLC
    768 OCAMLOPT
    769 OCAMLDEP
    770 OCAMLDOC
    771 GAS
    772 HAVE_LINK_VERSION_SCRIPT
    773 INSTALL_LTDL_TRUE
    774 INSTALL_LTDL_FALSE
    775 CONVENIENCE_LTDL_TRUE
    776 CONVENIENCE_LTDL_FALSE
    777 LIBADD_DL
    778 NO_VARIADIC_MACROS
    779 NO_MISSING_FIELD_INITIALIZERS
    780 USE_UDIS86
    781 USE_OPROFILE
    782 HAVE_PTHREAD
    783 HUGE_VAL_SANITY
    784 MMAP_FILE
    785 SHLIBEXT
    786 SHLIBPATH_VAR
    787 LLVM_PREFIX
    788 LLVM_BINDIR
    789 LLVM_LIBDIR
    790 LLVM_DATADIR
    791 LLVM_DOCSDIR
    792 LLVM_ETCDIR
    793 LLVM_INCLUDEDIR
    794 LLVM_INFODIR
    795 LLVM_MANDIR
    796 LLVM_CONFIGTIME
    797 BINDINGS_TO_BUILD
    798 ALL_BINDINGS
    799 OCAML_LIBDIR
    800 ENABLE_VISIBILITY_INLINES_HIDDEN
    801 RPATH
    802 RDYNAMIC
    803 LIBOBJS
    804 LTLIBOBJS'
    805 ac_subst_files=''
    806       ac_precious_vars='build_alias
    807 host_alias
    808 target_alias
    809 CC
    810 CFLAGS
    811 LDFLAGS
    812 LIBS
    813 CPPFLAGS
    814 CXX
    815 CXXFLAGS
    816 CCC
    817 CPP'
    818 ac_subdirs_all='projects/llvm-gcc
    819 projects/test-suite
    820 projects/llvm-test
    821 projects/poolalloc
    822 projects/llvm-poolalloc
    823 projects/sample
    824 projects/privbracket
    825 projects/llvm-stacker
    826 projects/llvm-reopt
    827 projects/llvm-java
    828 projects/llvm-tv
    829 projects/safecode
    830 projects/llvm-kernel
    831 tools/polly'
    832 
    833 # Initialize some variables set by options.
    834 ac_init_help=
    835 ac_init_version=false
    836 # The variables have the same names as the options, with
    837 # dashes changed to underlines.
    838 cache_file=/dev/null
    839 exec_prefix=NONE
    840 no_create=
    841 no_recursion=
    842 prefix=NONE
    843 program_prefix=NONE
    844 program_suffix=NONE
    845 program_transform_name=s,x,x,
    846 silent=
    847 site=
    848 srcdir=
    849 verbose=
    850 x_includes=NONE
    851 x_libraries=NONE
    852 
    853 # Installation directory options.
    854 # These are left unexpanded so users can "make install exec_prefix=/foo"
    855 # and all the variables that are supposed to be based on exec_prefix
    856 # by default will actually change.
    857 # Use braces instead of parens because sh, perl, etc. also accept them.
    858 # (The list follows the same order as the GNU Coding Standards.)
    859 bindir='${exec_prefix}/bin'
    860 sbindir='${exec_prefix}/sbin'
    861 libexecdir='${exec_prefix}/libexec'
    862 datarootdir='${prefix}/share'
    863 datadir='${datarootdir}'
    864 sysconfdir='${prefix}/etc'
    865 sharedstatedir='${prefix}/com'
    866 localstatedir='${prefix}/var'
    867 includedir='${prefix}/include'
    868 oldincludedir='/usr/include'
    869 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    870 infodir='${datarootdir}/info'
    871 htmldir='${docdir}'
    872 dvidir='${docdir}'
    873 pdfdir='${docdir}'
    874 psdir='${docdir}'
    875 libdir='${exec_prefix}/lib'
    876 localedir='${datarootdir}/locale'
    877 mandir='${datarootdir}/man'
    878 
    879 ac_prev=
    880 ac_dashdash=
    881 for ac_option
    882 do
    883   # If the previous option needs an argument, assign it.
    884   if test -n "$ac_prev"; then
    885     eval $ac_prev=\$ac_option
    886     ac_prev=
    887     continue
    888   fi
    889 
    890   case $ac_option in
    891   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    892   *)	ac_optarg=yes ;;
    893   esac
    894 
    895   # Accept the important Cygnus configure options, so we can diagnose typos.
    896 
    897   case $ac_dashdash$ac_option in
    898   --)
    899     ac_dashdash=yes ;;
    900 
    901   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    902     ac_prev=bindir ;;
    903   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    904     bindir=$ac_optarg ;;
    905 
    906   -build | --build | --buil | --bui | --bu)
    907     ac_prev=build_alias ;;
    908   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    909     build_alias=$ac_optarg ;;
    910 
    911   -cache-file | --cache-file | --cache-fil | --cache-fi \
    912   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    913     ac_prev=cache_file ;;
    914   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    915   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    916     cache_file=$ac_optarg ;;
    917 
    918   --config-cache | -C)
    919     cache_file=config.cache ;;
    920 
    921   -datadir | --datadir | --datadi | --datad)
    922     ac_prev=datadir ;;
    923   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    924     datadir=$ac_optarg ;;
    925 
    926   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    927   | --dataroo | --dataro | --datar)
    928     ac_prev=datarootdir ;;
    929   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    930   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    931     datarootdir=$ac_optarg ;;
    932 
    933   -disable-* | --disable-*)
    934     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    935     # Reject names that are not valid shell variable names.
    936     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    937       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
    938    { (exit 1); exit 1; }; }
    939     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
    940     eval enable_$ac_feature=no ;;
    941 
    942   -docdir | --docdir | --docdi | --doc | --do)
    943     ac_prev=docdir ;;
    944   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    945     docdir=$ac_optarg ;;
    946 
    947   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    948     ac_prev=dvidir ;;
    949   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    950     dvidir=$ac_optarg ;;
    951 
    952   -enable-* | --enable-*)
    953     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    954     # Reject names that are not valid shell variable names.
    955     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    956       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
    957    { (exit 1); exit 1; }; }
    958     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
    959     eval enable_$ac_feature=\$ac_optarg ;;
    960 
    961   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    962   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    963   | --exec | --exe | --ex)
    964     ac_prev=exec_prefix ;;
    965   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    966   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    967   | --exec=* | --exe=* | --ex=*)
    968     exec_prefix=$ac_optarg ;;
    969 
    970   -gas | --gas | --ga | --g)
    971     # Obsolete; use --with-gas.
    972     with_gas=yes ;;
    973 
    974   -help | --help | --hel | --he | -h)
    975     ac_init_help=long ;;
    976   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    977     ac_init_help=recursive ;;
    978   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    979     ac_init_help=short ;;
    980 
    981   -host | --host | --hos | --ho)
    982     ac_prev=host_alias ;;
    983   -host=* | --host=* | --hos=* | --ho=*)
    984     host_alias=$ac_optarg ;;
    985 
    986   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    987     ac_prev=htmldir ;;
    988   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    989   | --ht=*)
    990     htmldir=$ac_optarg ;;
    991 
    992   -includedir | --includedir | --includedi | --included | --include \
    993   | --includ | --inclu | --incl | --inc)
    994     ac_prev=includedir ;;
    995   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    996   | --includ=* | --inclu=* | --incl=* | --inc=*)
    997     includedir=$ac_optarg ;;
    998 
    999   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1000     ac_prev=infodir ;;
   1001   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1002     infodir=$ac_optarg ;;
   1003 
   1004   -libdir | --libdir | --libdi | --libd)
   1005     ac_prev=libdir ;;
   1006   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1007     libdir=$ac_optarg ;;
   1008 
   1009   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1010   | --libexe | --libex | --libe)
   1011     ac_prev=libexecdir ;;
   1012   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1013   | --libexe=* | --libex=* | --libe=*)
   1014     libexecdir=$ac_optarg ;;
   1015 
   1016   -localedir | --localedir | --localedi | --localed | --locale)
   1017     ac_prev=localedir ;;
   1018   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1019     localedir=$ac_optarg ;;
   1020 
   1021   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1022   | --localstate | --localstat | --localsta | --localst | --locals)
   1023     ac_prev=localstatedir ;;
   1024   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1025   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1026     localstatedir=$ac_optarg ;;
   1027 
   1028   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1029     ac_prev=mandir ;;
   1030   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1031     mandir=$ac_optarg ;;
   1032 
   1033   -nfp | --nfp | --nf)
   1034     # Obsolete; use --without-fp.
   1035     with_fp=no ;;
   1036 
   1037   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1038   | --no-cr | --no-c | -n)
   1039     no_create=yes ;;
   1040 
   1041   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1042   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1043     no_recursion=yes ;;
   1044 
   1045   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1046   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1047   | --oldin | --oldi | --old | --ol | --o)
   1048     ac_prev=oldincludedir ;;
   1049   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1050   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1051   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1052     oldincludedir=$ac_optarg ;;
   1053 
   1054   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1055     ac_prev=prefix ;;
   1056   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1057     prefix=$ac_optarg ;;
   1058 
   1059   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1060   | --program-pre | --program-pr | --program-p)
   1061     ac_prev=program_prefix ;;
   1062   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1063   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1064     program_prefix=$ac_optarg ;;
   1065 
   1066   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1067   | --program-suf | --program-su | --program-s)
   1068     ac_prev=program_suffix ;;
   1069   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1070   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1071     program_suffix=$ac_optarg ;;
   1072 
   1073   -program-transform-name | --program-transform-name \
   1074   | --program-transform-nam | --program-transform-na \
   1075   | --program-transform-n | --program-transform- \
   1076   | --program-transform | --program-transfor \
   1077   | --program-transfo | --program-transf \
   1078   | --program-trans | --program-tran \
   1079   | --progr-tra | --program-tr | --program-t)
   1080     ac_prev=program_transform_name ;;
   1081   -program-transform-name=* | --program-transform-name=* \
   1082   | --program-transform-nam=* | --program-transform-na=* \
   1083   | --program-transform-n=* | --program-transform-=* \
   1084   | --program-transform=* | --program-transfor=* \
   1085   | --program-transfo=* | --program-transf=* \
   1086   | --program-trans=* | --program-tran=* \
   1087   | --progr-tra=* | --program-tr=* | --program-t=*)
   1088     program_transform_name=$ac_optarg ;;
   1089 
   1090   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1091     ac_prev=pdfdir ;;
   1092   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1093     pdfdir=$ac_optarg ;;
   1094 
   1095   -psdir | --psdir | --psdi | --psd | --ps)
   1096     ac_prev=psdir ;;
   1097   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1098     psdir=$ac_optarg ;;
   1099 
   1100   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1101   | -silent | --silent | --silen | --sile | --sil)
   1102     silent=yes ;;
   1103 
   1104   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1105     ac_prev=sbindir ;;
   1106   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1107   | --sbi=* | --sb=*)
   1108     sbindir=$ac_optarg ;;
   1109 
   1110   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1111   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1112   | --sharedst | --shareds | --shared | --share | --shar \
   1113   | --sha | --sh)
   1114     ac_prev=sharedstatedir ;;
   1115   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1116   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1117   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1118   | --sha=* | --sh=*)
   1119     sharedstatedir=$ac_optarg ;;
   1120 
   1121   -site | --site | --sit)
   1122     ac_prev=site ;;
   1123   -site=* | --site=* | --sit=*)
   1124     site=$ac_optarg ;;
   1125 
   1126   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1127     ac_prev=srcdir ;;
   1128   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1129     srcdir=$ac_optarg ;;
   1130 
   1131   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1132   | --syscon | --sysco | --sysc | --sys | --sy)
   1133     ac_prev=sysconfdir ;;
   1134   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1135   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1136     sysconfdir=$ac_optarg ;;
   1137 
   1138   -target | --target | --targe | --targ | --tar | --ta | --t)
   1139     ac_prev=target_alias ;;
   1140   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1141     target_alias=$ac_optarg ;;
   1142 
   1143   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1144     verbose=yes ;;
   1145 
   1146   -version | --version | --versio | --versi | --vers | -V)
   1147     ac_init_version=: ;;
   1148 
   1149   -with-* | --with-*)
   1150     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1151     # Reject names that are not valid shell variable names.
   1152     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1153       { echo "$as_me: error: invalid package name: $ac_package" >&2
   1154    { (exit 1); exit 1; }; }
   1155     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
   1156     eval with_$ac_package=\$ac_optarg ;;
   1157 
   1158   -without-* | --without-*)
   1159     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1160     # Reject names that are not valid shell variable names.
   1161     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1162       { echo "$as_me: error: invalid package name: $ac_package" >&2
   1163    { (exit 1); exit 1; }; }
   1164     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
   1165     eval with_$ac_package=no ;;
   1166 
   1167   --x)
   1168     # Obsolete; use --with-x.
   1169     with_x=yes ;;
   1170 
   1171   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1172   | --x-incl | --x-inc | --x-in | --x-i)
   1173     ac_prev=x_includes ;;
   1174   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1175   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1176     x_includes=$ac_optarg ;;
   1177 
   1178   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1179   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1180     ac_prev=x_libraries ;;
   1181   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1182   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1183     x_libraries=$ac_optarg ;;
   1184 
   1185   -*) { echo "$as_me: error: unrecognized option: $ac_option
   1186 Try \`$0 --help' for more information." >&2
   1187    { (exit 1); exit 1; }; }
   1188     ;;
   1189 
   1190   *=*)
   1191     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1192     # Reject names that are not valid shell variable names.
   1193     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
   1194       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
   1195    { (exit 1); exit 1; }; }
   1196     eval $ac_envvar=\$ac_optarg
   1197     export $ac_envvar ;;
   1198 
   1199   *)
   1200     # FIXME: should be removed in autoconf 3.0.
   1201     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1202     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1203       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1204     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
   1205     ;;
   1206 
   1207   esac
   1208 done
   1209 
   1210 if test -n "$ac_prev"; then
   1211   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1212   { echo "$as_me: error: missing argument to $ac_option" >&2
   1213    { (exit 1); exit 1; }; }
   1214 fi
   1215 
   1216 # Be sure to have absolute directory names.
   1217 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1218 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1219 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1220 		libdir localedir mandir
   1221 do
   1222   eval ac_val=\$$ac_var
   1223   case $ac_val in
   1224     [\\/$]* | ?:[\\/]* )  continue;;
   1225     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1226   esac
   1227   { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
   1228    { (exit 1); exit 1; }; }
   1229 done
   1230 
   1231 # There might be people who depend on the old broken behavior: `$host'
   1232 # used to hold the argument of --host etc.
   1233 # FIXME: To remove some day.
   1234 build=$build_alias
   1235 host=$host_alias
   1236 target=$target_alias
   1237 
   1238 # FIXME: To remove some day.
   1239 if test "x$host_alias" != x; then
   1240   if test "x$build_alias" = x; then
   1241     cross_compiling=maybe
   1242     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
   1243     If a cross compiler is detected then cross compile mode will be used." >&2
   1244   elif test "x$build_alias" != "x$host_alias"; then
   1245     cross_compiling=yes
   1246   fi
   1247 fi
   1248 
   1249 ac_tool_prefix=
   1250 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1251 
   1252 test "$silent" = yes && exec 6>/dev/null
   1253 
   1254 
   1255 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1256 ac_ls_di=`ls -di .` &&
   1257 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1258   { echo "$as_me: error: Working directory cannot be determined" >&2
   1259    { (exit 1); exit 1; }; }
   1260 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1261   { echo "$as_me: error: pwd does not report name of working directory" >&2
   1262    { (exit 1); exit 1; }; }
   1263 
   1264 
   1265 # Find the source files, if location was not specified.
   1266 if test -z "$srcdir"; then
   1267   ac_srcdir_defaulted=yes
   1268   # Try the directory containing this script, then the parent directory.
   1269   ac_confdir=`$as_dirname -- "$0" ||
   1270 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1271 	 X"$0" : 'X\(//\)[^/]' \| \
   1272 	 X"$0" : 'X\(//\)$' \| \
   1273 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   1274 echo X"$0" |
   1275     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1276 	    s//\1/
   1277 	    q
   1278 	  }
   1279 	  /^X\(\/\/\)[^/].*/{
   1280 	    s//\1/
   1281 	    q
   1282 	  }
   1283 	  /^X\(\/\/\)$/{
   1284 	    s//\1/
   1285 	    q
   1286 	  }
   1287 	  /^X\(\/\).*/{
   1288 	    s//\1/
   1289 	    q
   1290 	  }
   1291 	  s/.*/./; q'`
   1292   srcdir=$ac_confdir
   1293   if test ! -r "$srcdir/$ac_unique_file"; then
   1294     srcdir=..
   1295   fi
   1296 else
   1297   ac_srcdir_defaulted=no
   1298 fi
   1299 if test ! -r "$srcdir/$ac_unique_file"; then
   1300   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1301   { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
   1302    { (exit 1); exit 1; }; }
   1303 fi
   1304 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1305 ac_abs_confdir=`(
   1306 	cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
   1307    { (exit 1); exit 1; }; }
   1308 	pwd)`
   1309 # When building in place, set srcdir=.
   1310 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1311   srcdir=.
   1312 fi
   1313 # Remove unnecessary trailing slashes from srcdir.
   1314 # Double slashes in file names in object file debugging info
   1315 # mess up M-x gdb in Emacs.
   1316 case $srcdir in
   1317 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1318 esac
   1319 for ac_var in $ac_precious_vars; do
   1320   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1321   eval ac_env_${ac_var}_value=\$${ac_var}
   1322   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1323   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1324 done
   1325 
   1326 #
   1327 # Report the --help message.
   1328 #
   1329 if test "$ac_init_help" = "long"; then
   1330   # Omit some internal or obsolete options to make the list less imposing.
   1331   # This message is too long to be a string in the A/UX 3.1 sh.
   1332   cat <<_ACEOF
   1333 \`configure' configures llvm 3.0 to adapt to many kinds of systems.
   1334 
   1335 Usage: $0 [OPTION]... [VAR=VALUE]...
   1336 
   1337 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1338 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1339 
   1340 Defaults for the options are specified in brackets.
   1341 
   1342 Configuration:
   1343   -h, --help              display this help and exit
   1344       --help=short        display options specific to this package
   1345       --help=recursive    display the short help of all the included packages
   1346   -V, --version           display version information and exit
   1347   -q, --quiet, --silent   do not print \`checking...' messages
   1348       --cache-file=FILE   cache test results in FILE [disabled]
   1349   -C, --config-cache      alias for \`--cache-file=config.cache'
   1350   -n, --no-create         do not create output files
   1351       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1352 
   1353 Installation directories:
   1354   --prefix=PREFIX         install architecture-independent files in PREFIX
   1355 			  [$ac_default_prefix]
   1356   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1357 			  [PREFIX]
   1358 
   1359 By default, \`make install' will install all the files in
   1360 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1361 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1362 for instance \`--prefix=\$HOME'.
   1363 
   1364 For better control, use the options below.
   1365 
   1366 Fine tuning of the installation directories:
   1367   --bindir=DIR           user executables [EPREFIX/bin]
   1368   --sbindir=DIR          system admin executables [EPREFIX/sbin]
   1369   --libexecdir=DIR       program executables [EPREFIX/libexec]
   1370   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
   1371   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
   1372   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
   1373   --libdir=DIR           object code libraries [EPREFIX/lib]
   1374   --includedir=DIR       C header files [PREFIX/include]
   1375   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
   1376   --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
   1377   --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
   1378   --infodir=DIR          info documentation [DATAROOTDIR/info]
   1379   --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
   1380   --mandir=DIR           man documentation [DATAROOTDIR/man]
   1381   --docdir=DIR           documentation root [DATAROOTDIR/doc/-llvm-]
   1382   --htmldir=DIR          html documentation [DOCDIR]
   1383   --dvidir=DIR           dvi documentation [DOCDIR]
   1384   --pdfdir=DIR           pdf documentation [DOCDIR]
   1385   --psdir=DIR            ps documentation [DOCDIR]
   1386 _ACEOF
   1387 
   1388   cat <<\_ACEOF
   1389 
   1390 System types:
   1391   --build=BUILD     configure for building on BUILD [guessed]
   1392   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1393   --target=TARGET   configure for building compilers for TARGET [HOST]
   1394 _ACEOF
   1395 fi
   1396 
   1397 if test -n "$ac_init_help"; then
   1398   case $ac_init_help in
   1399      short | recursive ) echo "Configuration of llvm 3.0:";;
   1400    esac
   1401   cat <<\_ACEOF
   1402 
   1403 Optional Features:
   1404   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1405   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1406   --enable-polly          Use polly if available (default is YES)
   1407   --enable-optimized      Compile with optimizations enabled (default is YES)
   1408   --enable-profiling      Compile with profiling enabled (default is NO)
   1409   --enable-assertions     Compile with assertion checks enabled (default is
   1410                           NO)
   1411   --enable-expensive-checks
   1412                           Compile with expensive debug checks enabled (default
   1413                           is NO)
   1414   --enable-debug-runtime  Build runtime libs with debug symbols (default is
   1415                           NO)
   1416   --enable-debug-symbols  Build compiler with debug symbols (default is NO if
   1417                           optimization is on and YES if it's off)
   1418   --enable-jit            Enable Just In Time Compiling (default is YES)
   1419   --enable-docs           Build documents (default is YES)
   1420   --enable-doxygen        Build doxygen documentation (default is NO)
   1421   --enable-threads        Use threads if available (default is YES)
   1422   --enable-pthreads       Use pthreads if available (default is YES)
   1423   --enable-pic            Build LLVM with Position Independent Code (default
   1424                           is YES)
   1425   --enable-shared         Build a shared library and link tools against it
   1426                           (default is NO)
   1427   --enable-embed-stdcxx   Build a shared library with embedded libstdc++ for
   1428                           Win32 DLL (default is NO)
   1429   --enable-timestamps     Enable embedding timestamp information in build
   1430                           (default is YES)
   1431   --enable-targets        Build specific host targets: all or
   1432                           target1,target2,... Valid targets are: host, x86,
   1433                           x86_64, sparc, powerpc, alpha, arm, mips, spu,
   1434                           xcore, msp430, systemz, blackfin, ptx, cbe, and cpp
   1435                           (default=all)
   1436   --enable-cbe-printf-a   Enable C Backend output with hex floating point via
   1437                           %a (default is YES)
   1438   --enable-bindings       Build specific language bindings:
   1439                           all,auto,none,{binding-name} (default=auto)
   1440   --enable-libffi         Check for the presence of libffi (default is NO)
   1441   --enable-ltdl-install   install libltdl
   1442 
   1443 Optional Packages:
   1444   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1445   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1446   --with-optimize-option  Select the compiler options to use for optimized
   1447                           builds
   1448   --with-extra-options    Specify additional options to compile LLVM with
   1449   --with-extra-ld-options Specify additional options to link LLVM with
   1450   --with-ocaml-libdir     Specify install location for ocaml bindings (default
   1451                           is stdlib)
   1452   --with-clang-resource-dir
   1453                           Relative directory from the Clang binary for
   1454                           resource files
   1455   --with-c-include-dirs   Colon separated list of directories clang will
   1456                           search for headers
   1457   --with-cxx-include-root Directory with the libstdc++ headers.
   1458   --with-cxx-include-arch Architecture of the libstdc++ headers.
   1459   --with-cxx-include-32bit-dir
   1460                           32 bit multilib dir.
   1461   --with-cxx-include-64bit-dir
   1462                           64 bit multilib directory.
   1463   --with-binutils-include Specify path to binutils/include/ containing
   1464                           plugin-api.h file for gold plugin.
   1465   --with-bug-report-url   Specify the URL where bug reports should be
   1466                           submitted (default=http://llvm.org/bugs/)
   1467   --with-tclinclude       directory where tcl headers are
   1468   --with-udis86=<path>    Use udis86 external x86 disassembler library
   1469   --with-oprofile=<prefix>
   1470                           Tell OProfile >= 0.9.4 how to symbolize JIT output
   1471 
   1472 Some influential environment variables:
   1473   CC          C compiler command
   1474   CFLAGS      C compiler flags
   1475   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1476               nonstandard directory <lib dir>
   1477   LIBS        libraries to pass to the linker, e.g. -l<library>
   1478   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
   1479               you have headers in a nonstandard directory <include dir>
   1480   CXX         C++ compiler command
   1481   CXXFLAGS    C++ compiler flags
   1482   CPP         C preprocessor
   1483 
   1484 Use these variables to override the choices made by `configure' or to help
   1485 it to find libraries and programs with nonstandard names/locations.
   1486 
   1487 Report bugs to <llvmbugs (at] cs.uiuc.edu>.
   1488 _ACEOF
   1489 ac_status=$?
   1490 fi
   1491 
   1492 if test "$ac_init_help" = "recursive"; then
   1493   # If there are subdirs, report their specific --help.
   1494   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1495     test -d "$ac_dir" || continue
   1496     ac_builddir=.
   1497 
   1498 case "$ac_dir" in
   1499 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1500 *)
   1501   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
   1502   # A ".." for each directory in $ac_dir_suffix.
   1503   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
   1504   case $ac_top_builddir_sub in
   1505   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1506   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1507   esac ;;
   1508 esac
   1509 ac_abs_top_builddir=$ac_pwd
   1510 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1511 # for backward compatibility:
   1512 ac_top_builddir=$ac_top_build_prefix
   1513 
   1514 case $srcdir in
   1515   .)  # We are building in place.
   1516     ac_srcdir=.
   1517     ac_top_srcdir=$ac_top_builddir_sub
   1518     ac_abs_top_srcdir=$ac_pwd ;;
   1519   [\\/]* | ?:[\\/]* )  # Absolute name.
   1520     ac_srcdir=$srcdir$ac_dir_suffix;
   1521     ac_top_srcdir=$srcdir
   1522     ac_abs_top_srcdir=$srcdir ;;
   1523   *) # Relative name.
   1524     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1525     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1526     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1527 esac
   1528 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1529 
   1530     cd "$ac_dir" || { ac_status=$?; continue; }
   1531     # Check for guested configure.
   1532     if test -f "$ac_srcdir/configure.gnu"; then
   1533       echo &&
   1534       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1535     elif test -f "$ac_srcdir/configure"; then
   1536       echo &&
   1537       $SHELL "$ac_srcdir/configure" --help=recursive
   1538     else
   1539       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1540     fi || ac_status=$?
   1541     cd "$ac_pwd" || { ac_status=$?; break; }
   1542   done
   1543 fi
   1544 
   1545 test -n "$ac_init_help" && exit $ac_status
   1546 if $ac_init_version; then
   1547   cat <<\_ACEOF
   1548 llvm configure 3.0
   1549 generated by GNU Autoconf 2.61
   1550 
   1551 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
   1552 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
   1553 This configure script is free software; the Free Software Foundation
   1554 gives unlimited permission to copy, distribute and modify it.
   1555 
   1556 Copyright (c) 2003-2011 University of Illinois at Urbana-Champaign.
   1557 _ACEOF
   1558   exit
   1559 fi
   1560 cat >config.log <<_ACEOF
   1561 This file contains any messages produced by compilers while
   1562 running configure, to aid debugging if configure makes a mistake.
   1563 
   1564 It was created by llvm $as_me 3.0, which was
   1565 generated by GNU Autoconf 2.61.  Invocation command line was
   1566 
   1567   $ $0 $@
   1568 
   1569 _ACEOF
   1570 exec 5>>config.log
   1571 {
   1572 cat <<_ASUNAME
   1573 ## --------- ##
   1574 ## Platform. ##
   1575 ## --------- ##
   1576 
   1577 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1578 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1579 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1580 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1581 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1582 
   1583 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1584 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1585 
   1586 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1587 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1588 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1589 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1590 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1591 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1592 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1593 
   1594 _ASUNAME
   1595 
   1596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1597 for as_dir in $PATH
   1598 do
   1599   IFS=$as_save_IFS
   1600   test -z "$as_dir" && as_dir=.
   1601   echo "PATH: $as_dir"
   1602 done
   1603 IFS=$as_save_IFS
   1604 
   1605 } >&5
   1606 
   1607 cat >&5 <<_ACEOF
   1608 
   1609 
   1610 ## ----------- ##
   1611 ## Core tests. ##
   1612 ## ----------- ##
   1613 
   1614 _ACEOF
   1615 
   1616 
   1617 # Keep a trace of the command line.
   1618 # Strip out --no-create and --no-recursion so they do not pile up.
   1619 # Strip out --silent because we don't want to record it for future runs.
   1620 # Also quote any args containing shell meta-characters.
   1621 # Make two passes to allow for proper duplicate-argument suppression.
   1622 ac_configure_args=
   1623 ac_configure_args0=
   1624 ac_configure_args1=
   1625 ac_must_keep_next=false
   1626 for ac_pass in 1 2
   1627 do
   1628   for ac_arg
   1629   do
   1630     case $ac_arg in
   1631     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1632     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1633     | -silent | --silent | --silen | --sile | --sil)
   1634       continue ;;
   1635     *\'*)
   1636       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1637     esac
   1638     case $ac_pass in
   1639     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
   1640     2)
   1641       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
   1642       if test $ac_must_keep_next = true; then
   1643 	ac_must_keep_next=false # Got value, back to normal.
   1644       else
   1645 	case $ac_arg in
   1646 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1647 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1648 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1649 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1650 	    case "$ac_configure_args0 " in
   1651 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1652 	    esac
   1653 	    ;;
   1654 	  -* ) ac_must_keep_next=true ;;
   1655 	esac
   1656       fi
   1657       ac_configure_args="$ac_configure_args '$ac_arg'"
   1658       ;;
   1659     esac
   1660   done
   1661 done
   1662 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
   1663 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
   1664 
   1665 # When interrupted or exit'd, cleanup temporary files, and complete
   1666 # config.log.  We remove comments because anyway the quotes in there
   1667 # would cause problems or look ugly.
   1668 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1669 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1670 trap 'exit_status=$?
   1671   # Save into config.log some information that might help in debugging.
   1672   {
   1673     echo
   1674 
   1675     cat <<\_ASBOX
   1676 ## ---------------- ##
   1677 ## Cache variables. ##
   1678 ## ---------------- ##
   1679 _ASBOX
   1680     echo
   1681     # The following way of writing the cache mishandles newlines in values,
   1682 (
   1683   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1684     eval ac_val=\$$ac_var
   1685     case $ac_val in #(
   1686     *${as_nl}*)
   1687       case $ac_var in #(
   1688       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
   1689 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
   1690       esac
   1691       case $ac_var in #(
   1692       _ | IFS | as_nl) ;; #(
   1693       *) $as_unset $ac_var ;;
   1694       esac ;;
   1695     esac
   1696   done
   1697   (set) 2>&1 |
   1698     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1699     *${as_nl}ac_space=\ *)
   1700       sed -n \
   1701 	"s/'\''/'\''\\\\'\'''\''/g;
   1702 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1703       ;; #(
   1704     *)
   1705       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1706       ;;
   1707     esac |
   1708     sort
   1709 )
   1710     echo
   1711 
   1712     cat <<\_ASBOX
   1713 ## ----------------- ##
   1714 ## Output variables. ##
   1715 ## ----------------- ##
   1716 _ASBOX
   1717     echo
   1718     for ac_var in $ac_subst_vars
   1719     do
   1720       eval ac_val=\$$ac_var
   1721       case $ac_val in
   1722       *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1723       esac
   1724       echo "$ac_var='\''$ac_val'\''"
   1725     done | sort
   1726     echo
   1727 
   1728     if test -n "$ac_subst_files"; then
   1729       cat <<\_ASBOX
   1730 ## ------------------- ##
   1731 ## File substitutions. ##
   1732 ## ------------------- ##
   1733 _ASBOX
   1734       echo
   1735       for ac_var in $ac_subst_files
   1736       do
   1737 	eval ac_val=\$$ac_var
   1738 	case $ac_val in
   1739 	*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1740 	esac
   1741 	echo "$ac_var='\''$ac_val'\''"
   1742       done | sort
   1743       echo
   1744     fi
   1745 
   1746     if test -s confdefs.h; then
   1747       cat <<\_ASBOX
   1748 ## ----------- ##
   1749 ## confdefs.h. ##
   1750 ## ----------- ##
   1751 _ASBOX
   1752       echo
   1753       cat confdefs.h
   1754       echo
   1755     fi
   1756     test "$ac_signal" != 0 &&
   1757       echo "$as_me: caught signal $ac_signal"
   1758     echo "$as_me: exit $exit_status"
   1759   } >&5
   1760   rm -f core *.core core.conftest.* &&
   1761     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1762     exit $exit_status
   1763 ' 0
   1764 for ac_signal in 1 2 13 15; do
   1765   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
   1766 done
   1767 ac_signal=0
   1768 
   1769 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1770 rm -f -r conftest* confdefs.h
   1771 
   1772 # Predefined preprocessor variables.
   1773 
   1774 cat >>confdefs.h <<_ACEOF
   1775 #define PACKAGE_NAME "$PACKAGE_NAME"
   1776 _ACEOF
   1777 
   1778 
   1779 cat >>confdefs.h <<_ACEOF
   1780 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   1781 _ACEOF
   1782 
   1783 
   1784 cat >>confdefs.h <<_ACEOF
   1785 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   1786 _ACEOF
   1787 
   1788 
   1789 cat >>confdefs.h <<_ACEOF
   1790 #define PACKAGE_STRING "$PACKAGE_STRING"
   1791 _ACEOF
   1792 
   1793 
   1794 cat >>confdefs.h <<_ACEOF
   1795 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   1796 _ACEOF
   1797 
   1798 
   1799 # Let the site file select an alternate cache file if it wants to.
   1800 # Prefer explicitly selected file to automatically selected ones.
   1801 if test -n "$CONFIG_SITE"; then
   1802   set x "$CONFIG_SITE"
   1803 elif test "x$prefix" != xNONE; then
   1804   set x "$prefix/share/config.site" "$prefix/etc/config.site"
   1805 else
   1806   set x "$ac_default_prefix/share/config.site" \
   1807 	"$ac_default_prefix/etc/config.site"
   1808 fi
   1809 shift
   1810 for ac_site_file
   1811 do
   1812   if test -r "$ac_site_file"; then
   1813     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
   1814 echo "$as_me: loading site script $ac_site_file" >&6;}
   1815     sed 's/^/| /' "$ac_site_file" >&5
   1816     . "$ac_site_file"
   1817   fi
   1818 done
   1819 
   1820 if test -r "$cache_file"; then
   1821   # Some versions of bash will fail to source /dev/null (special
   1822   # files actually), so we avoid doing that.
   1823   if test -f "$cache_file"; then
   1824     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
   1825 echo "$as_me: loading cache $cache_file" >&6;}
   1826     case $cache_file in
   1827       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   1828       *)                      . "./$cache_file";;
   1829     esac
   1830   fi
   1831 else
   1832   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
   1833 echo "$as_me: creating cache $cache_file" >&6;}
   1834   >$cache_file
   1835 fi
   1836 
   1837 # Check that the precious variables saved in the cache have kept the same
   1838 # value.
   1839 ac_cache_corrupted=false
   1840 for ac_var in $ac_precious_vars; do
   1841   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   1842   eval ac_new_set=\$ac_env_${ac_var}_set
   1843   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   1844   eval ac_new_val=\$ac_env_${ac_var}_value
   1845   case $ac_old_set,$ac_new_set in
   1846     set,)
   1847       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   1848 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   1849       ac_cache_corrupted=: ;;
   1850     ,set)
   1851       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
   1852 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   1853       ac_cache_corrupted=: ;;
   1854     ,);;
   1855     *)
   1856       if test "x$ac_old_val" != "x$ac_new_val"; then
   1857 	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
   1858 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   1859 	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
   1860 echo "$as_me:   former value:  $ac_old_val" >&2;}
   1861 	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
   1862 echo "$as_me:   current value: $ac_new_val" >&2;}
   1863 	ac_cache_corrupted=:
   1864       fi;;
   1865   esac
   1866   # Pass precious variables to config.status.
   1867   if test "$ac_new_set" = set; then
   1868     case $ac_new_val in
   1869     *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   1870     *) ac_arg=$ac_var=$ac_new_val ;;
   1871     esac
   1872     case " $ac_configure_args " in
   1873       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   1874       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
   1875     esac
   1876   fi
   1877 done
   1878 if $ac_cache_corrupted; then
   1879   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
   1880 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   1881   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
   1882 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
   1883    { (exit 1); exit 1; }; }
   1884 fi
   1885 
   1886 
   1887 
   1888 
   1889 
   1890 
   1891 
   1892 
   1893 
   1894 
   1895 
   1896 
   1897 
   1898 
   1899 
   1900 
   1901 
   1902 
   1903 
   1904 
   1905 
   1906 
   1907 
   1908 
   1909 
   1910 ac_ext=c
   1911 ac_cpp='$CPP $CPPFLAGS'
   1912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   1913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   1914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   1915 
   1916 
   1917 
   1918 LLVM_COPYRIGHT="Copyright (c) 2003-2011 University of Illinois at Urbana-Champaign."
   1919 
   1920 
   1921 
   1922 
   1923 
   1924 
   1925 
   1926 ac_aux_dir=
   1927 for ac_dir in autoconf "$srcdir"/autoconf; do
   1928   if test -f "$ac_dir/install-sh"; then
   1929     ac_aux_dir=$ac_dir
   1930     ac_install_sh="$ac_aux_dir/install-sh -c"
   1931     break
   1932   elif test -f "$ac_dir/install.sh"; then
   1933     ac_aux_dir=$ac_dir
   1934     ac_install_sh="$ac_aux_dir/install.sh -c"
   1935     break
   1936   elif test -f "$ac_dir/shtool"; then
   1937     ac_aux_dir=$ac_dir
   1938     ac_install_sh="$ac_aux_dir/shtool install -c"
   1939     break
   1940   fi
   1941 done
   1942 if test -z "$ac_aux_dir"; then
   1943   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in autoconf \"$srcdir\"/autoconf" >&5
   1944 echo "$as_me: error: cannot find install-sh or install.sh in autoconf \"$srcdir\"/autoconf" >&2;}
   1945    { (exit 1); exit 1; }; }
   1946 fi
   1947 
   1948 # These three variables are undocumented and unsupported,

   1949 # and are intended to be withdrawn in a future Autoconf release.

   1950 # They can cause serious problems if a builder's source tree is in a directory

   1951 # whose full name contains unusual characters.

   1952 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.

   1953 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.

   1954 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.

   1955 
   1956 
   1957 
   1958 if test ${srcdir} != "." ; then
   1959   if test -f ${srcdir}/include/llvm/Config/config.h ; then
   1960     { { echo "$as_me:$LINENO: error: Already configured in ${srcdir}" >&5
   1961 echo "$as_me: error: Already configured in ${srcdir}" >&2;}
   1962    { (exit 1); exit 1; }; }
   1963   fi
   1964 fi
   1965 
   1966 ac_ext=c
   1967 ac_cpp='$CPP $CPPFLAGS'
   1968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   1969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   1970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   1971 if test -n "$ac_tool_prefix"; then
   1972   for ac_prog in clang llvm-gcc gcc
   1973   do
   1974     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.

   1975 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   1976 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   1977 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   1978 if test "${ac_cv_prog_CC+set}" = set; then
   1979   echo $ECHO_N "(cached) $ECHO_C" >&6
   1980 else
   1981   if test -n "$CC"; then
   1982   ac_cv_prog_CC="$CC" # Let the user override the test.

   1983 else
   1984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1985 for as_dir in $PATH
   1986 do
   1987   IFS=$as_save_IFS
   1988   test -z "$as_dir" && as_dir=.
   1989   for ac_exec_ext in '' $ac_executable_extensions; do
   1990   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   1991     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   1992     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   1993     break 2
   1994   fi
   1995 done
   1996 done
   1997 IFS=$as_save_IFS
   1998 
   1999 fi
   2000 fi
   2001 CC=$ac_cv_prog_CC
   2002 if test -n "$CC"; then
   2003   { echo "$as_me:$LINENO: result: $CC" >&5
   2004 echo "${ECHO_T}$CC" >&6; }
   2005 else
   2006   { echo "$as_me:$LINENO: result: no" >&5
   2007 echo "${ECHO_T}no" >&6; }
   2008 fi
   2009 
   2010 
   2011     test -n "$CC" && break
   2012   done
   2013 fi
   2014 if test -z "$CC"; then
   2015   ac_ct_CC=$CC
   2016   for ac_prog in clang llvm-gcc gcc
   2017 do
   2018   # Extract the first word of "$ac_prog", so it can be a program name with args.

   2019 set dummy $ac_prog; ac_word=$2
   2020 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2021 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2022 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2023   echo $ECHO_N "(cached) $ECHO_C" >&6
   2024 else
   2025   if test -n "$ac_ct_CC"; then
   2026   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.

   2027 else
   2028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2029 for as_dir in $PATH
   2030 do
   2031   IFS=$as_save_IFS
   2032   test -z "$as_dir" && as_dir=.
   2033   for ac_exec_ext in '' $ac_executable_extensions; do
   2034   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2035     ac_cv_prog_ac_ct_CC="$ac_prog"
   2036     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2037     break 2
   2038   fi
   2039 done
   2040 done
   2041 IFS=$as_save_IFS
   2042 
   2043 fi
   2044 fi
   2045 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2046 if test -n "$ac_ct_CC"; then
   2047   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2048 echo "${ECHO_T}$ac_ct_CC" >&6; }
   2049 else
   2050   { echo "$as_me:$LINENO: result: no" >&5
   2051 echo "${ECHO_T}no" >&6; }
   2052 fi
   2053 
   2054 
   2055   test -n "$ac_ct_CC" && break
   2056 done
   2057 
   2058   if test "x$ac_ct_CC" = x; then
   2059     CC=""
   2060   else
   2061     case $cross_compiling:$ac_tool_warned in
   2062 yes:)
   2063 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   2064 whose name does not start with the host triplet.  If you think this
   2065 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   2066 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   2067 whose name does not start with the host triplet.  If you think this
   2068 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   2069 ac_tool_warned=yes ;;
   2070 esac
   2071     CC=$ac_ct_CC
   2072   fi
   2073 fi
   2074 
   2075 
   2076 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   2077 See \`config.log' for more details." >&5
   2078 echo "$as_me: error: no acceptable C compiler found in \$PATH
   2079 See \`config.log' for more details." >&2;}
   2080    { (exit 1); exit 1; }; }
   2081 
   2082 # Provide some information about the compiler.
   2083 echo "$as_me:$LINENO: checking for C compiler version" >&5
   2084 ac_compiler=`set X $ac_compile; echo $2`
   2085 { (ac_try="$ac_compiler --version >&5"
   2086 case "(($ac_try" in
   2087   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2088   *) ac_try_echo=$ac_try;;
   2089 esac
   2090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2091   (eval "$ac_compiler --version >&5") 2>&5
   2092   ac_status=$?
   2093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2094   (exit $ac_status); }
   2095 { (ac_try="$ac_compiler -v >&5"
   2096 case "(($ac_try" in
   2097   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2098   *) ac_try_echo=$ac_try;;
   2099 esac
   2100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2101   (eval "$ac_compiler -v >&5") 2>&5
   2102   ac_status=$?
   2103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2104   (exit $ac_status); }
   2105 { (ac_try="$ac_compiler -V >&5"
   2106 case "(($ac_try" in
   2107   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2108   *) ac_try_echo=$ac_try;;
   2109 esac
   2110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2111   (eval "$ac_compiler -V >&5") 2>&5
   2112   ac_status=$?
   2113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2114   (exit $ac_status); }
   2115 
   2116 cat >conftest.$ac_ext <<_ACEOF
   2117 /* confdefs.h.  */
   2118 _ACEOF
   2119 cat confdefs.h >>conftest.$ac_ext
   2120 cat >>conftest.$ac_ext <<_ACEOF
   2121 /* end confdefs.h.  */
   2122 
   2123 int
   2124 main ()
   2125 {
   2126 
   2127   ;
   2128   return 0;
   2129 }
   2130 _ACEOF
   2131 ac_clean_files_save=$ac_clean_files
   2132 ac_clean_files="$ac_clean_files a.out a.exe b.out"
   2133 # Try to create an executable without -o first, disregard a.out.

   2134 # It will help us diagnose broken compilers, and finding out an intuition

   2135 # of exeext.

   2136 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
   2137 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
   2138 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   2139 #

   2140 # List of possible output files, starting from the most likely.

   2141 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)

   2142 # only as a last resort.  b.out is created by i960 compilers.

   2143 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
   2144 #

   2145 # The IRIX 6 linker writes into existing files which may not be

   2146 # executable, retaining their permissions.  Remove them first so a

   2147 # subsequent execution test works.

   2148 ac_rmfiles=
   2149 for ac_file in $ac_files
   2150 do
   2151   case $ac_file in
   2152     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
   2153     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   2154   esac
   2155 done
   2156 rm -f $ac_rmfiles
   2157 
   2158 if { (ac_try="$ac_link_default"
   2159 case "(($ac_try" in
   2160   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2161   *) ac_try_echo=$ac_try;;
   2162 esac
   2163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2164   (eval "$ac_link_default") 2>&5
   2165   ac_status=$?
   2166   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2167   (exit $ac_status); }; then
   2168   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.

   2169 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'

   2170 # in a Makefile.  We should not override ac_cv_exeext if it was cached,

   2171 # so that the user can short-circuit this test for compilers unknown to

   2172 # Autoconf.

   2173 for ac_file in $ac_files ''
   2174 do
   2175   test -f "$ac_file" || continue
   2176   case $ac_file in
   2177     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
   2178 	;;
   2179     [ab].out )
   2180 	# We found the default executable, but exeext='' is most

   2181 	# certainly right.

   2182 	break;;
   2183     *.* )
   2184         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   2185 	then :; else
   2186 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2187 	fi
   2188 	# We set ac_cv_exeext here because the later test for it is not

   2189 	# safe: cross compilers may not add the suffix if given an `-o'

   2190 	# argument, so we may need to know it at that point already.

   2191 	# Even if this section looks crufty: it has the advantage of

   2192 	# actually working.

   2193 	break;;
   2194     * )
   2195 	break;;
   2196   esac
   2197 done
   2198 test "$ac_cv_exeext" = no && ac_cv_exeext=
   2199 
   2200 else
   2201   ac_file=''
   2202 fi
   2203 
   2204 { echo "$as_me:$LINENO: result: $ac_file" >&5
   2205 echo "${ECHO_T}$ac_file" >&6; }
   2206 if test -z "$ac_file"; then
   2207   echo "$as_me: failed program was:" >&5
   2208 sed 's/^/| /' conftest.$ac_ext >&5
   2209 
   2210 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
   2211 See \`config.log' for more details." >&5
   2212 echo "$as_me: error: C compiler cannot create executables
   2213 See \`config.log' for more details." >&2;}
   2214    { (exit 77); exit 77; }; }
   2215 fi
   2216 
   2217 ac_exeext=$ac_cv_exeext
   2218 
   2219 # Check that the compiler produces executables we can run.  If not, either
   2220 # the compiler is broken, or we cross compile.
   2221 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
   2222 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
   2223 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
   2224 # If not cross compiling, check that we can run a simple program.
   2225 if test "$cross_compiling" != yes; then
   2226   if { ac_try='./$ac_file'
   2227   { (case "(($ac_try" in
   2228   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2229   *) ac_try_echo=$ac_try;;
   2230 esac
   2231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2232   (eval "$ac_try") 2>&5
   2233   ac_status=$?
   2234   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2235   (exit $ac_status); }; }; then
   2236     cross_compiling=no
   2237   else
   2238     if test "$cross_compiling" = maybe; then
   2239 	cross_compiling=yes
   2240     else
   2241 	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
   2242 If you meant to cross compile, use \`--host'.
   2243 See \`config.log' for more details." >&5
   2244 echo "$as_me: error: cannot run C compiled programs.
   2245 If you meant to cross compile, use \`--host'.
   2246 See \`config.log' for more details." >&2;}
   2247    { (exit 1); exit 1; }; }
   2248     fi
   2249   fi
   2250 fi
   2251 { echo "$as_me:$LINENO: result: yes" >&5
   2252 echo "${ECHO_T}yes" >&6; }
   2253 
   2254 rm -f a.out a.exe conftest$ac_cv_exeext b.out
   2255 ac_clean_files=$ac_clean_files_save
   2256 # Check that the compiler produces executables we can run.  If not, either
   2257 # the compiler is broken, or we cross compile.
   2258 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
   2259 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
   2260 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
   2261 echo "${ECHO_T}$cross_compiling" >&6; }
   2262 
   2263 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
   2264 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
   2265 if { (ac_try="$ac_link"
   2266 case "(($ac_try" in
   2267   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2268   *) ac_try_echo=$ac_try;;
   2269 esac
   2270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2271   (eval "$ac_link") 2>&5
   2272   ac_status=$?
   2273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2274   (exit $ac_status); }; then
   2275   # If both `conftest.exe' and `conftest' are `present' (well, observable)

   2276 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will

   2277 # work properly (i.e., refer to `conftest.exe'), while it won't with

   2278 # `rm'.

   2279 for ac_file in conftest.exe conftest conftest.*; do
   2280   test -f "$ac_file" || continue
   2281   case $ac_file in
   2282     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
   2283     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2284 	  break;;
   2285     * ) break;;
   2286   esac
   2287 done
   2288 else
   2289   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
   2290 See \`config.log' for more details." >&5
   2291 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
   2292 See \`config.log' for more details." >&2;}
   2293    { (exit 1); exit 1; }; }
   2294 fi
   2295 
   2296 rm -f conftest$ac_cv_exeext
   2297 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
   2298 echo "${ECHO_T}$ac_cv_exeext" >&6; }
   2299 
   2300 rm -f conftest.$ac_ext
   2301 EXEEXT=$ac_cv_exeext
   2302 ac_exeext=$EXEEXT
   2303 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
   2304 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
   2305 if test "${ac_cv_objext+set}" = set; then
   2306   echo $ECHO_N "(cached) $ECHO_C" >&6
   2307 else
   2308   cat >conftest.$ac_ext <<_ACEOF
   2309 /* confdefs.h.  */
   2310 _ACEOF
   2311 cat confdefs.h >>conftest.$ac_ext
   2312 cat >>conftest.$ac_ext <<_ACEOF
   2313 /* end confdefs.h.  */
   2314 
   2315 int
   2316 main ()
   2317 {
   2318 
   2319   ;
   2320   return 0;
   2321 }
   2322 _ACEOF
   2323 rm -f conftest.o conftest.obj
   2324 if { (ac_try="$ac_compile"
   2325 case "(($ac_try" in
   2326   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2327   *) ac_try_echo=$ac_try;;
   2328 esac
   2329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2330   (eval "$ac_compile") 2>&5
   2331   ac_status=$?
   2332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2333   (exit $ac_status); }; then
   2334   for ac_file in conftest.o conftest.obj conftest.*; do
   2335   test -f "$ac_file" || continue;
   2336   case $ac_file in
   2337     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
   2338     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   2339        break;;
   2340   esac
   2341 done
   2342 else
   2343   echo "$as_me: failed program was:" >&5
   2344 sed 's/^/| /' conftest.$ac_ext >&5
   2345 
   2346 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
   2347 See \`config.log' for more details." >&5
   2348 echo "$as_me: error: cannot compute suffix of object files: cannot compile
   2349 See \`config.log' for more details." >&2;}
   2350    { (exit 1); exit 1; }; }
   2351 fi
   2352 
   2353 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   2354 fi
   2355 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
   2356 echo "${ECHO_T}$ac_cv_objext" >&6; }
   2357 OBJEXT=$ac_cv_objext
   2358 ac_objext=$OBJEXT
   2359 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   2360 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
   2361 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   2362   echo $ECHO_N "(cached) $ECHO_C" >&6
   2363 else
   2364   cat >conftest.$ac_ext <<_ACEOF
   2365 /* confdefs.h.  */
   2366 _ACEOF
   2367 cat confdefs.h >>conftest.$ac_ext
   2368 cat >>conftest.$ac_ext <<_ACEOF
   2369 /* end confdefs.h.  */
   2370 
   2371 int
   2372 main ()
   2373 {
   2374 #ifndef __GNUC__
   2375        choke me
   2376 #endif
   2377 
   2378   ;
   2379   return 0;
   2380 }
   2381 _ACEOF
   2382 rm -f conftest.$ac_objext
   2383 if { (ac_try="$ac_compile"
   2384 case "(($ac_try" in
   2385   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2386   *) ac_try_echo=$ac_try;;
   2387 esac
   2388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2389   (eval "$ac_compile") 2>conftest.er1
   2390   ac_status=$?
   2391   grep -v '^ *+' conftest.er1 >conftest.err
   2392   rm -f conftest.er1
   2393   cat conftest.err >&5
   2394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2395   (exit $ac_status); } && {
   2396 	 test -z "$ac_c_werror_flag" ||
   2397 	 test ! -s conftest.err
   2398        } && test -s conftest.$ac_objext; then
   2399   ac_compiler_gnu=yes
   2400 else
   2401   echo "$as_me: failed program was:" >&5
   2402 sed 's/^/| /' conftest.$ac_ext >&5
   2403 
   2404 	ac_compiler_gnu=no
   2405 fi
   2406 
   2407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2408 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   2409 
   2410 fi
   2411 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   2412 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
   2413 GCC=`test $ac_compiler_gnu = yes && echo yes`
   2414 ac_test_CFLAGS=${CFLAGS+set}
   2415 ac_save_CFLAGS=$CFLAGS
   2416 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   2417 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
   2418 if test "${ac_cv_prog_cc_g+set}" = set; then
   2419   echo $ECHO_N "(cached) $ECHO_C" >&6
   2420 else
   2421   ac_save_c_werror_flag=$ac_c_werror_flag
   2422    ac_c_werror_flag=yes
   2423    ac_cv_prog_cc_g=no
   2424    CFLAGS="-g"
   2425    cat >conftest.$ac_ext <<_ACEOF
   2426 /* confdefs.h.  */
   2427 _ACEOF
   2428 cat confdefs.h >>conftest.$ac_ext
   2429 cat >>conftest.$ac_ext <<_ACEOF
   2430 /* end confdefs.h.  */
   2431 
   2432 int
   2433 main ()
   2434 {
   2435 
   2436   ;
   2437   return 0;
   2438 }
   2439 _ACEOF
   2440 rm -f conftest.$ac_objext
   2441 if { (ac_try="$ac_compile"
   2442 case "(($ac_try" in
   2443   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2444   *) ac_try_echo=$ac_try;;
   2445 esac
   2446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2447   (eval "$ac_compile") 2>conftest.er1
   2448   ac_status=$?
   2449   grep -v '^ *+' conftest.er1 >conftest.err
   2450   rm -f conftest.er1
   2451   cat conftest.err >&5
   2452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2453   (exit $ac_status); } && {
   2454 	 test -z "$ac_c_werror_flag" ||
   2455 	 test ! -s conftest.err
   2456        } && test -s conftest.$ac_objext; then
   2457   ac_cv_prog_cc_g=yes
   2458 else
   2459   echo "$as_me: failed program was:" >&5
   2460 sed 's/^/| /' conftest.$ac_ext >&5
   2461 
   2462 	CFLAGS=""
   2463       cat >conftest.$ac_ext <<_ACEOF
   2464 /* confdefs.h.  */
   2465 _ACEOF
   2466 cat confdefs.h >>conftest.$ac_ext
   2467 cat >>conftest.$ac_ext <<_ACEOF
   2468 /* end confdefs.h.  */
   2469 
   2470 int
   2471 main ()
   2472 {
   2473 
   2474   ;
   2475   return 0;
   2476 }
   2477 _ACEOF
   2478 rm -f conftest.$ac_objext
   2479 if { (ac_try="$ac_compile"
   2480 case "(($ac_try" in
   2481   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2482   *) ac_try_echo=$ac_try;;
   2483 esac
   2484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2485   (eval "$ac_compile") 2>conftest.er1
   2486   ac_status=$?
   2487   grep -v '^ *+' conftest.er1 >conftest.err
   2488   rm -f conftest.er1
   2489   cat conftest.err >&5
   2490   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2491   (exit $ac_status); } && {
   2492 	 test -z "$ac_c_werror_flag" ||
   2493 	 test ! -s conftest.err
   2494        } && test -s conftest.$ac_objext; then
   2495   :
   2496 else
   2497   echo "$as_me: failed program was:" >&5
   2498 sed 's/^/| /' conftest.$ac_ext >&5
   2499 
   2500 	ac_c_werror_flag=$ac_save_c_werror_flag
   2501 	 CFLAGS="-g"
   2502 	 cat >conftest.$ac_ext <<_ACEOF
   2503 /* confdefs.h.  */
   2504 _ACEOF
   2505 cat confdefs.h >>conftest.$ac_ext
   2506 cat >>conftest.$ac_ext <<_ACEOF
   2507 /* end confdefs.h.  */
   2508 
   2509 int
   2510 main ()
   2511 {
   2512 
   2513   ;
   2514   return 0;
   2515 }
   2516 _ACEOF
   2517 rm -f conftest.$ac_objext
   2518 if { (ac_try="$ac_compile"
   2519 case "(($ac_try" in
   2520   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2521   *) ac_try_echo=$ac_try;;
   2522 esac
   2523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2524   (eval "$ac_compile") 2>conftest.er1
   2525   ac_status=$?
   2526   grep -v '^ *+' conftest.er1 >conftest.err
   2527   rm -f conftest.er1
   2528   cat conftest.err >&5
   2529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2530   (exit $ac_status); } && {
   2531 	 test -z "$ac_c_werror_flag" ||
   2532 	 test ! -s conftest.err
   2533        } && test -s conftest.$ac_objext; then
   2534   ac_cv_prog_cc_g=yes
   2535 else
   2536   echo "$as_me: failed program was:" >&5
   2537 sed 's/^/| /' conftest.$ac_ext >&5
   2538 
   2539 
   2540 fi
   2541 
   2542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2543 fi
   2544 
   2545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2546 fi
   2547 
   2548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2549    ac_c_werror_flag=$ac_save_c_werror_flag
   2550 fi
   2551 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   2552 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
   2553 if test "$ac_test_CFLAGS" = set; then
   2554   CFLAGS=$ac_save_CFLAGS
   2555 elif test $ac_cv_prog_cc_g = yes; then
   2556   if test "$GCC" = yes; then
   2557     CFLAGS="-g -O2"
   2558   else
   2559     CFLAGS="-g"
   2560   fi
   2561 else
   2562   if test "$GCC" = yes; then
   2563     CFLAGS="-O2"
   2564   else
   2565     CFLAGS=
   2566   fi
   2567 fi
   2568 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
   2569 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
   2570 if test "${ac_cv_prog_cc_c89+set}" = set; then
   2571   echo $ECHO_N "(cached) $ECHO_C" >&6
   2572 else
   2573   ac_cv_prog_cc_c89=no
   2574 ac_save_CC=$CC
   2575 cat >conftest.$ac_ext <<_ACEOF
   2576 /* confdefs.h.  */
   2577 _ACEOF
   2578 cat confdefs.h >>conftest.$ac_ext
   2579 cat >>conftest.$ac_ext <<_ACEOF
   2580 /* end confdefs.h.  */
   2581 #include <stdarg.h>

   2582 #include <stdio.h>

   2583 #include <sys/types.h>

   2584 #include <sys/stat.h>

   2585 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   2586 struct buf { int x; };
   2587 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   2588 static char *e (p, i)
   2589      char **p;
   2590      int i;
   2591 {
   2592   return p[i];
   2593 }
   2594 static char *f (char * (*g) (char **, int), char **p, ...)
   2595 {
   2596   char *s;
   2597   va_list v;
   2598   va_start (v,p);
   2599   s = g (p, va_arg (v,int));
   2600   va_end (v);
   2601   return s;
   2602 }
   2603 
   2604 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2605    function prototypes and stuff, but not '\xHH' hex character constants.
   2606    These don't provoke an error unfortunately, instead are silently treated
   2607    as 'x'.  The following induces an error, until -std is added to get
   2608    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   2609    array size at least.  It's necessary to write '\x00'==0 to get something
   2610    that's true only with -std.  */
   2611 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   2612 
   2613 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2614    inside strings and character constants.  */
   2615 #define FOO(x) 'x'

   2616 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   2617 
   2618 int test (int i, double x);
   2619 struct s1 {int (*f) (int a);};
   2620 struct s2 {int (*f) (double a);};
   2621 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   2622 int argc;
   2623 char **argv;
   2624 int
   2625 main ()
   2626 {
   2627 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   2628   ;
   2629   return 0;
   2630 }
   2631 _ACEOF
   2632 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   2633 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   2634 do
   2635   CC="$ac_save_CC $ac_arg"
   2636   rm -f conftest.$ac_objext
   2637 if { (ac_try="$ac_compile"
   2638 case "(($ac_try" in
   2639   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2640   *) ac_try_echo=$ac_try;;
   2641 esac
   2642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2643   (eval "$ac_compile") 2>conftest.er1
   2644   ac_status=$?
   2645   grep -v '^ *+' conftest.er1 >conftest.err
   2646   rm -f conftest.er1
   2647   cat conftest.err >&5
   2648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2649   (exit $ac_status); } && {
   2650 	 test -z "$ac_c_werror_flag" ||
   2651 	 test ! -s conftest.err
   2652        } && test -s conftest.$ac_objext; then
   2653   ac_cv_prog_cc_c89=$ac_arg
   2654 else
   2655   echo "$as_me: failed program was:" >&5
   2656 sed 's/^/| /' conftest.$ac_ext >&5
   2657 
   2658 
   2659 fi
   2660 
   2661 rm -f core conftest.err conftest.$ac_objext
   2662   test "x$ac_cv_prog_cc_c89" != "xno" && break
   2663 done
   2664 rm -f conftest.$ac_ext
   2665 CC=$ac_save_CC
   2666 
   2667 fi
   2668 # AC_CACHE_VAL

   2669 case "x$ac_cv_prog_cc_c89" in
   2670   x)
   2671     { echo "$as_me:$LINENO: result: none needed" >&5
   2672 echo "${ECHO_T}none needed" >&6; } ;;
   2673   xno)
   2674     { echo "$as_me:$LINENO: result: unsupported" >&5
   2675 echo "${ECHO_T}unsupported" >&6; } ;;
   2676   *)
   2677     CC="$CC $ac_cv_prog_cc_c89"
   2678     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
   2679 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
   2680 esac
   2681 
   2682 
   2683 ac_ext=c
   2684 ac_cpp='$CPP $CPPFLAGS'
   2685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2688 
   2689 ac_ext=cpp
   2690 ac_cpp='$CXXCPP $CPPFLAGS'
   2691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   2694 if test -z "$CXX"; then
   2695   if test -n "$CCC"; then
   2696     CXX=$CCC
   2697   else
   2698     if test -n "$ac_tool_prefix"; then
   2699   for ac_prog in clang++ llvm-g++ g++
   2700   do
   2701     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.

   2702 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2703 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2704 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2705 if test "${ac_cv_prog_CXX+set}" = set; then
   2706   echo $ECHO_N "(cached) $ECHO_C" >&6
   2707 else
   2708   if test -n "$CXX"; then
   2709   ac_cv_prog_CXX="$CXX" # Let the user override the test.

   2710 else
   2711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2712 for as_dir in $PATH
   2713 do
   2714   IFS=$as_save_IFS
   2715   test -z "$as_dir" && as_dir=.
   2716   for ac_exec_ext in '' $ac_executable_extensions; do
   2717   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2718     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
   2719     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2720     break 2
   2721   fi
   2722 done
   2723 done
   2724 IFS=$as_save_IFS
   2725 
   2726 fi
   2727 fi
   2728 CXX=$ac_cv_prog_CXX
   2729 if test -n "$CXX"; then
   2730   { echo "$as_me:$LINENO: result: $CXX" >&5
   2731 echo "${ECHO_T}$CXX" >&6; }
   2732 else
   2733   { echo "$as_me:$LINENO: result: no" >&5
   2734 echo "${ECHO_T}no" >&6; }
   2735 fi
   2736 
   2737 
   2738     test -n "$CXX" && break
   2739   done
   2740 fi
   2741 if test -z "$CXX"; then
   2742   ac_ct_CXX=$CXX
   2743   for ac_prog in clang++ llvm-g++ g++
   2744 do
   2745   # Extract the first word of "$ac_prog", so it can be a program name with args.

   2746 set dummy $ac_prog; ac_word=$2
   2747 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2748 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2749 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
   2750   echo $ECHO_N "(cached) $ECHO_C" >&6
   2751 else
   2752   if test -n "$ac_ct_CXX"; then
   2753   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.

   2754 else
   2755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2756 for as_dir in $PATH
   2757 do
   2758   IFS=$as_save_IFS
   2759   test -z "$as_dir" && as_dir=.
   2760   for ac_exec_ext in '' $ac_executable_extensions; do
   2761   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2762     ac_cv_prog_ac_ct_CXX="$ac_prog"
   2763     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2764     break 2
   2765   fi
   2766 done
   2767 done
   2768 IFS=$as_save_IFS
   2769 
   2770 fi
   2771 fi
   2772 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
   2773 if test -n "$ac_ct_CXX"; then
   2774   { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
   2775 echo "${ECHO_T}$ac_ct_CXX" >&6; }
   2776 else
   2777   { echo "$as_me:$LINENO: result: no" >&5
   2778 echo "${ECHO_T}no" >&6; }
   2779 fi
   2780 
   2781 
   2782   test -n "$ac_ct_CXX" && break
   2783 done
   2784 
   2785   if test "x$ac_ct_CXX" = x; then
   2786     CXX="g++"
   2787   else
   2788     case $cross_compiling:$ac_tool_warned in
   2789 yes:)
   2790 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   2791 whose name does not start with the host triplet.  If you think this
   2792 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   2793 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   2794 whose name does not start with the host triplet.  If you think this
   2795 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   2796 ac_tool_warned=yes ;;
   2797 esac
   2798     CXX=$ac_ct_CXX
   2799   fi
   2800 fi
   2801 
   2802   fi
   2803 fi
   2804 # Provide some information about the compiler.

   2805 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
   2806 ac_compiler=`set X $ac_compile; echo $2`
   2807 { (ac_try="$ac_compiler --version >&5"
   2808 case "(($ac_try" in
   2809   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2810   *) ac_try_echo=$ac_try;;
   2811 esac
   2812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2813   (eval "$ac_compiler --version >&5") 2>&5
   2814   ac_status=$?
   2815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2816   (exit $ac_status); }
   2817 { (ac_try="$ac_compiler -v >&5"
   2818 case "(($ac_try" in
   2819   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2820   *) ac_try_echo=$ac_try;;
   2821 esac
   2822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2823   (eval "$ac_compiler -v >&5") 2>&5
   2824   ac_status=$?
   2825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2826   (exit $ac_status); }
   2827 { (ac_try="$ac_compiler -V >&5"
   2828 case "(($ac_try" in
   2829   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2830   *) ac_try_echo=$ac_try;;
   2831 esac
   2832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2833   (eval "$ac_compiler -V >&5") 2>&5
   2834   ac_status=$?
   2835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2836   (exit $ac_status); }
   2837 
   2838 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
   2839 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
   2840 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
   2841   echo $ECHO_N "(cached) $ECHO_C" >&6
   2842 else
   2843   cat >conftest.$ac_ext <<_ACEOF
   2844 /* confdefs.h.  */
   2845 _ACEOF
   2846 cat confdefs.h >>conftest.$ac_ext
   2847 cat >>conftest.$ac_ext <<_ACEOF
   2848 /* end confdefs.h.  */
   2849 
   2850 int
   2851 main ()
   2852 {
   2853 #ifndef __GNUC__

   2854        choke me
   2855 #endif

   2856 
   2857   ;
   2858   return 0;
   2859 }
   2860 _ACEOF
   2861 rm -f conftest.$ac_objext
   2862 if { (ac_try="$ac_compile"
   2863 case "(($ac_try" in
   2864   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2865   *) ac_try_echo=$ac_try;;
   2866 esac
   2867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2868   (eval "$ac_compile") 2>conftest.er1
   2869   ac_status=$?
   2870   grep -v '^ *+' conftest.er1 >conftest.err
   2871   rm -f conftest.er1
   2872   cat conftest.err >&5
   2873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2874   (exit $ac_status); } && {
   2875 	 test -z "$ac_cxx_werror_flag" ||
   2876 	 test ! -s conftest.err
   2877        } && test -s conftest.$ac_objext; then
   2878   ac_compiler_gnu=yes
   2879 else
   2880   echo "$as_me: failed program was:" >&5
   2881 sed 's/^/| /' conftest.$ac_ext >&5
   2882 
   2883 	ac_compiler_gnu=no
   2884 fi
   2885 
   2886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2887 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
   2888 
   2889 fi
   2890 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
   2891 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
   2892 GXX=`test $ac_compiler_gnu = yes && echo yes`
   2893 ac_test_CXXFLAGS=${CXXFLAGS+set}
   2894 ac_save_CXXFLAGS=$CXXFLAGS
   2895 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
   2896 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
   2897 if test "${ac_cv_prog_cxx_g+set}" = set; then
   2898   echo $ECHO_N "(cached) $ECHO_C" >&6
   2899 else
   2900   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
   2901    ac_cxx_werror_flag=yes
   2902    ac_cv_prog_cxx_g=no
   2903    CXXFLAGS="-g"
   2904    cat >conftest.$ac_ext <<_ACEOF
   2905 /* confdefs.h.  */
   2906 _ACEOF
   2907 cat confdefs.h >>conftest.$ac_ext
   2908 cat >>conftest.$ac_ext <<_ACEOF
   2909 /* end confdefs.h.  */
   2910 
   2911 int
   2912 main ()
   2913 {
   2914 
   2915   ;
   2916   return 0;
   2917 }
   2918 _ACEOF
   2919 rm -f conftest.$ac_objext
   2920 if { (ac_try="$ac_compile"
   2921 case "(($ac_try" in
   2922   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2923   *) ac_try_echo=$ac_try;;
   2924 esac
   2925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2926   (eval "$ac_compile") 2>conftest.er1
   2927   ac_status=$?
   2928   grep -v '^ *+' conftest.er1 >conftest.err
   2929   rm -f conftest.er1
   2930   cat conftest.err >&5
   2931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2932   (exit $ac_status); } && {
   2933 	 test -z "$ac_cxx_werror_flag" ||
   2934 	 test ! -s conftest.err
   2935        } && test -s conftest.$ac_objext; then
   2936   ac_cv_prog_cxx_g=yes
   2937 else
   2938   echo "$as_me: failed program was:" >&5
   2939 sed 's/^/| /' conftest.$ac_ext >&5
   2940 
   2941 	CXXFLAGS=""
   2942       cat >conftest.$ac_ext <<_ACEOF
   2943 /* confdefs.h.  */
   2944 _ACEOF
   2945 cat confdefs.h >>conftest.$ac_ext
   2946 cat >>conftest.$ac_ext <<_ACEOF
   2947 /* end confdefs.h.  */
   2948 
   2949 int
   2950 main ()
   2951 {
   2952 
   2953   ;
   2954   return 0;
   2955 }
   2956 _ACEOF
   2957 rm -f conftest.$ac_objext
   2958 if { (ac_try="$ac_compile"
   2959 case "(($ac_try" in
   2960   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2961   *) ac_try_echo=$ac_try;;
   2962 esac
   2963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2964   (eval "$ac_compile") 2>conftest.er1
   2965   ac_status=$?
   2966   grep -v '^ *+' conftest.er1 >conftest.err
   2967   rm -f conftest.er1
   2968   cat conftest.err >&5
   2969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2970   (exit $ac_status); } && {
   2971 	 test -z "$ac_cxx_werror_flag" ||
   2972 	 test ! -s conftest.err
   2973        } && test -s conftest.$ac_objext; then
   2974   :
   2975 else
   2976   echo "$as_me: failed program was:" >&5
   2977 sed 's/^/| /' conftest.$ac_ext >&5
   2978 
   2979 	ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   2980 	 CXXFLAGS="-g"
   2981 	 cat >conftest.$ac_ext <<_ACEOF
   2982 /* confdefs.h.  */
   2983 _ACEOF
   2984 cat confdefs.h >>conftest.$ac_ext
   2985 cat >>conftest.$ac_ext <<_ACEOF
   2986 /* end confdefs.h.  */
   2987 
   2988 int
   2989 main ()
   2990 {
   2991 
   2992   ;
   2993   return 0;
   2994 }
   2995 _ACEOF
   2996 rm -f conftest.$ac_objext
   2997 if { (ac_try="$ac_compile"
   2998 case "(($ac_try" in
   2999   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3000   *) ac_try_echo=$ac_try;;
   3001 esac
   3002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3003   (eval "$ac_compile") 2>conftest.er1
   3004   ac_status=$?
   3005   grep -v '^ *+' conftest.er1 >conftest.err
   3006   rm -f conftest.er1
   3007   cat conftest.err >&5
   3008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3009   (exit $ac_status); } && {
   3010 	 test -z "$ac_cxx_werror_flag" ||
   3011 	 test ! -s conftest.err
   3012        } && test -s conftest.$ac_objext; then
   3013   ac_cv_prog_cxx_g=yes
   3014 else
   3015   echo "$as_me: failed program was:" >&5
   3016 sed 's/^/| /' conftest.$ac_ext >&5
   3017 
   3018 
   3019 fi
   3020 
   3021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3022 fi
   3023 
   3024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3025 fi
   3026 
   3027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3028    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   3029 fi
   3030 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
   3031 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
   3032 if test "$ac_test_CXXFLAGS" = set; then
   3033   CXXFLAGS=$ac_save_CXXFLAGS
   3034 elif test $ac_cv_prog_cxx_g = yes; then
   3035   if test "$GXX" = yes; then
   3036     CXXFLAGS="-g -O2"
   3037   else
   3038     CXXFLAGS="-g"
   3039   fi
   3040 else
   3041   if test "$GXX" = yes; then
   3042     CXXFLAGS="-O2"
   3043   else
   3044     CXXFLAGS=
   3045   fi
   3046 fi
   3047 ac_ext=c
   3048 ac_cpp='$CPP $CPPFLAGS'
   3049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3052 
   3053 ac_ext=c
   3054 ac_cpp='$CPP $CPPFLAGS'
   3055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3058 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
   3059 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
   3060 # On Suns, sometimes $CPP names a directory.

   3061 if test -n "$CPP" && test -d "$CPP"; then
   3062   CPP=
   3063 fi
   3064 if test -z "$CPP"; then
   3065   if test "${ac_cv_prog_CPP+set}" = set; then
   3066   echo $ECHO_N "(cached) $ECHO_C" >&6
   3067 else
   3068       # Double quotes because CPP needs to be expanded

   3069     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   3070     do
   3071       ac_preproc_ok=false
   3072 for ac_c_preproc_warn_flag in '' yes
   3073 do
   3074   # Use a header file that comes with gcc, so configuring glibc

   3075   # with a fresh cross-compiler works.

   3076   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since

   3077   # <limits.h> exists even on freestanding compilers.

   3078   # On the NeXT, cc -E runs the code through the compiler's parser,

   3079   # not just through cpp. "Syntax error" is here to catch this case.

   3080   cat >conftest.$ac_ext <<_ACEOF
   3081 /* confdefs.h.  */
   3082 _ACEOF
   3083 cat confdefs.h >>conftest.$ac_ext
   3084 cat >>conftest.$ac_ext <<_ACEOF
   3085 /* end confdefs.h.  */
   3086 #ifdef __STDC__

   3087 # include <limits.h>

   3088 #else

   3089 # include <assert.h>

   3090 #endif

   3091 		     Syntax error
   3092 _ACEOF
   3093 if { (ac_try="$ac_cpp conftest.$ac_ext"
   3094 case "(($ac_try" in
   3095   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3096   *) ac_try_echo=$ac_try;;
   3097 esac
   3098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3099   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   3100   ac_status=$?
   3101   grep -v '^ *+' conftest.er1 >conftest.err
   3102   rm -f conftest.er1
   3103   cat conftest.err >&5
   3104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3105   (exit $ac_status); } >/dev/null && {
   3106 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   3107 	 test ! -s conftest.err
   3108        }; then
   3109   :
   3110 else
   3111   echo "$as_me: failed program was:" >&5
   3112 sed 's/^/| /' conftest.$ac_ext >&5
   3113 
   3114   # Broken: fails on valid input.

   3115 continue
   3116 fi
   3117 
   3118 rm -f conftest.err conftest.$ac_ext
   3119 
   3120   # OK, works on sane cases.  Now check whether nonexistent headers

   3121   # can be detected and how.

   3122   cat >conftest.$ac_ext <<_ACEOF
   3123 /* confdefs.h.  */
   3124 _ACEOF
   3125 cat confdefs.h >>conftest.$ac_ext
   3126 cat >>conftest.$ac_ext <<_ACEOF
   3127 /* end confdefs.h.  */
   3128 #include <ac_nonexistent.h>

   3129 _ACEOF
   3130 if { (ac_try="$ac_cpp conftest.$ac_ext"
   3131 case "(($ac_try" in
   3132   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3133   *) ac_try_echo=$ac_try;;
   3134 esac
   3135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3136   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   3137   ac_status=$?
   3138   grep -v '^ *+' conftest.er1 >conftest.err
   3139   rm -f conftest.er1
   3140   cat conftest.err >&5
   3141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3142   (exit $ac_status); } >/dev/null && {
   3143 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   3144 	 test ! -s conftest.err
   3145        }; then
   3146   # Broken: success on invalid input.

   3147 continue
   3148 else
   3149   echo "$as_me: failed program was:" >&5
   3150 sed 's/^/| /' conftest.$ac_ext >&5
   3151 
   3152   # Passes both tests.

   3153 ac_preproc_ok=:
   3154 break
   3155 fi
   3156 
   3157 rm -f conftest.err conftest.$ac_ext
   3158 
   3159 done
   3160 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.

   3161 rm -f conftest.err conftest.$ac_ext
   3162 if $ac_preproc_ok; then
   3163   break
   3164 fi
   3165 
   3166     done
   3167     ac_cv_prog_CPP=$CPP
   3168 
   3169 fi
   3170   CPP=$ac_cv_prog_CPP
   3171 else
   3172   ac_cv_prog_CPP=$CPP
   3173 fi
   3174 { echo "$as_me:$LINENO: result: $CPP" >&5
   3175 echo "${ECHO_T}$CPP" >&6; }
   3176 ac_preproc_ok=false
   3177 for ac_c_preproc_warn_flag in '' yes
   3178 do
   3179   # Use a header file that comes with gcc, so configuring glibc

   3180   # with a fresh cross-compiler works.

   3181   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since

   3182   # <limits.h> exists even on freestanding compilers.

   3183   # On the NeXT, cc -E runs the code through the compiler's parser,

   3184   # not just through cpp. "Syntax error" is here to catch this case.

   3185   cat >conftest.