Home | History | Annotate | Download | only in sample
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.60 for [SAMPLE] [x.xx].
      4 #
      5 # Report bugs to <bugs@yourdomain>.
      6 #
      7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
      8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
      9 # This configure script is free software; the Free Software Foundation
     10 # gives unlimited permission to copy, distribute and modify it.
     11 ## --------------------- ##
     12 ## M4sh Initialization.  ##
     13 ## --------------------- ##
     14 
     15 # Be Bourne compatible
     16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     17   emulate sh
     18   NULLCMD=:
     19   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
     20   # is contrary to our usage.  Disable this feature.
     21   alias -g '${1+"$@"}'='"$@"'
     22   setopt NO_GLOB_SUBST
     23 else
     24   case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
     25 fi
     26 BIN_SH=xpg4; export BIN_SH # for Tru64
     27 DUALCASE=1; export DUALCASE # for MKS sh
     28 
     29 
     30 # PATH needs CR
     31 # Avoid depending upon Character Ranges.
     32 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     33 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     34 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     35 as_cr_digits='0123456789'
     36 as_cr_alnum=$as_cr_Letters$as_cr_digits
     37 
     38 # The user is always right.
     39 if test "${PATH_SEPARATOR+set}" != set; then
     40   echo "#! /bin/sh" >conf$$.sh
     41   echo  "exit 0"   >>conf$$.sh
     42   chmod +x conf$$.sh
     43   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
     44     PATH_SEPARATOR=';'
     45   else
     46     PATH_SEPARATOR=:
     47   fi
     48   rm -f conf$$.sh
     49 fi
     50 
     51 # Support unset when possible.
     52 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     53   as_unset=unset
     54 else
     55   as_unset=false
     56 fi
     57 
     58 
     59 # IFS
     60 # We need space, tab and new line, in precisely that order.  Quoting is
     61 # there to prevent editors from complaining about space-tab.
     62 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     63 # splitting by setting IFS to empty value.)
     64 as_nl='
     65 '
     66 IFS=" ""	$as_nl"
     67 
     68 # Find who we are.  Look in the path if we contain no directory separator.
     69 case $0 in
     70   *[\\/]* ) as_myself=$0 ;;
     71   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     72 for as_dir in $PATH
     73 do
     74   IFS=$as_save_IFS
     75   test -z "$as_dir" && as_dir=.
     76   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     77 done
     78 IFS=$as_save_IFS
     79 
     80      ;;
     81 esac
     82 # We did not find ourselves, most probably we were run as `sh COMMAND'
     83 # in which case we are not to be found in the path.
     84 if test "x$as_myself" = x; then
     85   as_myself=$0
     86 fi
     87 if test ! -f "$as_myself"; then
     88   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
     89   { (exit 1); exit 1; }
     90 fi
     91 
     92 # Work around bugs in pre-3.0 UWIN ksh.
     93 for as_var in ENV MAIL MAILPATH
     94 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
     95 done
     96 PS1='$ '
     97 PS2='> '
     98 PS4='+ '
     99 
    100 # NLS nuisances.
    101 for as_var in \
    102   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
    103   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
    104   LC_TELEPHONE LC_TIME
    105 do
    106   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
    107     eval $as_var=C; export $as_var
    108   else
    109     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    110   fi
    111 done
    112 
    113 # Required to use basename.
    114 if expr a : '\(a\)' >/dev/null 2>&1 &&
    115    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    116   as_expr=expr
    117 else
    118   as_expr=false
    119 fi
    120 
    121 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    122   as_basename=basename
    123 else
    124   as_basename=false
    125 fi
    126 
    127 
    128 # Name of the executable.
    129 as_me=`$as_basename -- "$0" ||
    130 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    131 	 X"$0" : 'X\(//\)$' \| \
    132 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    133 echo X/"$0" |
    134     sed '/^.*\/\([^/][^/]*\)\/*$/{
    135 	    s//\1/
    136 	    q
    137 	  }
    138 	  /^X\/\(\/\/\)$/{
    139 	    s//\1/
    140 	    q
    141 	  }
    142 	  /^X\/\(\/\).*/{
    143 	    s//\1/
    144 	    q
    145 	  }
    146 	  s/.*/./; q'`
    147 
    148 # CDPATH.
    149 $as_unset CDPATH
    150 
    151 
    152 if test "x$CONFIG_SHELL" = x; then
    153   if (eval ":") 2>/dev/null; then
    154   as_have_required=yes
    155 else
    156   as_have_required=no
    157 fi
    158 
    159   if test $as_have_required = yes && 	 (eval ":
    160 (as_func_return () {
    161   (exit \$1)
    162 }
    163 as_func_success () {
    164   as_func_return 0
    165 }
    166 as_func_failure () {
    167   as_func_return 1
    168 }
    169 as_func_ret_success () {
    170   return 0
    171 }
    172 as_func_ret_failure () {
    173   return 1
    174 }
    175 
    176 exitcode=0
    177 if as_func_success; then
    178   :
    179 else
    180   exitcode=1
    181   echo as_func_success failed.
    182 fi
    183 
    184 if as_func_failure; then
    185   exitcode=1
    186   echo as_func_failure succeeded.
    187 fi
    188 
    189 if as_func_ret_success; then
    190   :
    191 else
    192   exitcode=1
    193   echo as_func_ret_success failed.
    194 fi
    195 
    196 if as_func_ret_failure; then
    197   exitcode=1
    198   echo as_func_ret_failure succeeded.
    199 fi
    200 
    201 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    202   :
    203 else
    204   exitcode=1
    205   echo positional parameters were not saved.
    206 fi
    207 
    208 test \$exitcode = 0) || { (exit 1); exit 1; }
    209 
    210 (
    211   as_lineno_1=\$LINENO
    212   as_lineno_2=\$LINENO
    213   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
    214   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
    215 ") 2> /dev/null; then
    216   :
    217 else
    218   as_candidate_shells=
    219     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    220 for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    221 do
    222   IFS=$as_save_IFS
    223   test -z "$as_dir" && as_dir=.
    224   case $as_dir in
    225 	 /*)
    226 	   for as_base in sh bash ksh sh5; do
    227 	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
    228 	   done;;
    229        esac
    230 done
    231 IFS=$as_save_IFS
    232 
    233 
    234       for as_shell in $as_candidate_shells $SHELL; do
    235 	 # Try only shells that exist, to save several forks.
    236 	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    237 		{ ("$as_shell") 2> /dev/null <<\_ASEOF
    238 # Be Bourne compatible
    239 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    240   emulate sh
    241   NULLCMD=:
    242   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
    243   # is contrary to our usage.  Disable this feature.
    244   alias -g '${1+"$@"}'='"$@"'
    245   setopt NO_GLOB_SUBST
    246 else
    247   case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
    248 fi
    249 BIN_SH=xpg4; export BIN_SH # for Tru64
    250 DUALCASE=1; export DUALCASE # for MKS sh
    251 
    252 :
    253 _ASEOF
    254 }; then
    255   CONFIG_SHELL=$as_shell
    256 	       as_have_required=yes
    257 	       if { "$as_shell" 2> /dev/null <<\_ASEOF
    258 # Be Bourne compatible
    259 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    260   emulate sh
    261   NULLCMD=:
    262   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
    263   # is contrary to our usage.  Disable this feature.
    264   alias -g '${1+"$@"}'='"$@"'
    265   setopt NO_GLOB_SUBST
    266 else
    267   case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
    268 fi
    269 BIN_SH=xpg4; export BIN_SH # for Tru64
    270 DUALCASE=1; export DUALCASE # for MKS sh
    271 
    272 :
    273 (as_func_return () {
    274   (exit $1)
    275 }
    276 as_func_success () {
    277   as_func_return 0
    278 }
    279 as_func_failure () {
    280   as_func_return 1
    281 }
    282 as_func_ret_success () {
    283   return 0
    284 }
    285 as_func_ret_failure () {
    286   return 1
    287 }
    288 
    289 exitcode=0
    290 if as_func_success; then
    291   :
    292 else
    293   exitcode=1
    294   echo as_func_success failed.
    295 fi
    296 
    297 if as_func_failure; then
    298   exitcode=1
    299   echo as_func_failure succeeded.
    300 fi
    301 
    302 if as_func_ret_success; then
    303   :
    304 else
    305   exitcode=1
    306   echo as_func_ret_success failed.
    307 fi
    308 
    309 if as_func_ret_failure; then
    310   exitcode=1
    311   echo as_func_ret_failure succeeded.
    312 fi
    313 
    314 if ( set x; as_func_ret_success y && test x = "$1" ); then
    315   :
    316 else
    317   exitcode=1
    318   echo positional parameters were not saved.
    319 fi
    320 
    321 test $exitcode = 0) || { (exit 1); exit 1; }
    322 
    323 (
    324   as_lineno_1=$LINENO
    325   as_lineno_2=$LINENO
    326   test "x$as_lineno_1" != "x$as_lineno_2" &&
    327   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
    328 
    329 _ASEOF
    330 }; then
    331   break
    332 fi
    333 
    334 fi
    335 
    336       done
    337 
    338       if test "x$CONFIG_SHELL" != x; then
    339   for as_var in BASH_ENV ENV
    340         do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    341         done
    342         export CONFIG_SHELL
    343         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
    344 fi
    345 
    346 
    347     if test $as_have_required = no; then
    348   echo This script requires a shell more modern than all the
    349       echo shells that I found on your system.  Please install a
    350       echo modern shell, or manually run the script under such a
    351       echo shell if you do have one.
    352       { (exit 1); exit 1; }
    353 fi
    354 
    355 
    356 fi
    357 
    358 fi
    359 
    360 
    361 
    362 (eval "as_func_return () {
    363   (exit \$1)
    364 }
    365 as_func_success () {
    366   as_func_return 0
    367 }
    368 as_func_failure () {
    369   as_func_return 1
    370 }
    371 as_func_ret_success () {
    372   return 0
    373 }
    374 as_func_ret_failure () {
    375   return 1
    376 }
    377 
    378 exitcode=0
    379 if as_func_success; then
    380   :
    381 else
    382   exitcode=1
    383   echo as_func_success failed.
    384 fi
    385 
    386 if as_func_failure; then
    387   exitcode=1
    388   echo as_func_failure succeeded.
    389 fi
    390 
    391 if as_func_ret_success; then
    392   :
    393 else
    394   exitcode=1
    395   echo as_func_ret_success failed.
    396 fi
    397 
    398 if as_func_ret_failure; then
    399   exitcode=1
    400   echo as_func_ret_failure succeeded.
    401 fi
    402 
    403 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    404   :
    405 else
    406   exitcode=1
    407   echo positional parameters were not saved.
    408 fi
    409 
    410 test \$exitcode = 0") || {
    411   echo No shell found that supports shell functions.
    412   echo Please tell autoconf@gnu.org about your system,
    413   echo including any error possibly output before this
    414   echo message
    415 }
    416 
    417 
    418 
    419   as_lineno_1=$LINENO
    420   as_lineno_2=$LINENO
    421   test "x$as_lineno_1" != "x$as_lineno_2" &&
    422   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
    423 
    424   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    425   # uniformly replaced by the line number.  The first 'sed' inserts a
    426   # line-number line after each line using $LINENO; the second 'sed'
    427   # does the real work.  The second script uses 'N' to pair each
    428   # line-number line with the line containing $LINENO, and appends
    429   # trailing '-' during substitution so that $LINENO is not a special
    430   # case at line end.
    431   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    432   # scripts with optimization help from Paolo Bonzini.  Blame Lee
    433   # E. McMahon (1931-1989) for sed's syntax.  :-)
    434   sed -n '
    435     p
    436     /[$]LINENO/=
    437   ' <$as_myself |
    438     sed '
    439       s/[$]LINENO.*/&-/
    440       t lineno
    441       b
    442       :lineno
    443       N
    444       :loop
    445       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    446       t loop
    447       s/-\n.*//
    448     ' >$as_me.lineno &&
    449   chmod +x "$as_me.lineno" ||
    450     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    451    { (exit 1); exit 1; }; }
    452 
    453   # Don't try to exec as it changes $[0], causing all sort of problems
    454   # (the dirname of $[0] is not the place where we might find the
    455   # original and so on.  Autoconf is especially sensitive to this).
    456   . "./$as_me.lineno"
    457   # Exit status is that of the last command.
    458   exit
    459 }
    460 
    461 
    462 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    463   as_dirname=dirname
    464 else
    465   as_dirname=false
    466 fi
    467 
    468 ECHO_C= ECHO_N= ECHO_T=
    469 case `echo -n x` in
    470 -n*)
    471   case `echo 'x\c'` in
    472   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    473   *)   ECHO_C='\c';;
    474   esac;;
    475 *)
    476   ECHO_N='-n';;
    477 esac
    478 
    479 if expr a : '\(a\)' >/dev/null 2>&1 &&
    480    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    481   as_expr=expr
    482 else
    483   as_expr=false
    484 fi
    485 
    486 rm -f conf$$ conf$$.exe conf$$.file
    487 if test -d conf$$.dir; then
    488   rm -f conf$$.dir/conf$$.file
    489 else
    490   rm -f conf$$.dir
    491   mkdir conf$$.dir
    492 fi
    493 echo >conf$$.file
    494 if ln -s conf$$.file conf$$ 2>/dev/null; then
    495   as_ln_s='ln -s'
    496   # ... but there are two gotchas:
    497   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    498   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    499   # In both cases, we have to default to `cp -p'.
    500   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    501     as_ln_s='cp -p'
    502 elif ln conf$$.file conf$$ 2>/dev/null; then
    503   as_ln_s=ln
    504 else
    505   as_ln_s='cp -p'
    506 fi
    507 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    508 rmdir conf$$.dir 2>/dev/null
    509 
    510 if mkdir -p . 2>/dev/null; then
    511   as_mkdir_p=:
    512 else
    513   test -d ./-p && rmdir ./-p
    514   as_mkdir_p=false
    515 fi
    516 
    517 # Find out whether ``test -x'' works.  Don't use a zero-byte file, as
    518 # systems may use methods other than mode bits to determine executability.
    519 cat >conf$$.file <<_ASEOF
    520 #! /bin/sh
    521 exit 0
    522 _ASEOF
    523 chmod +x conf$$.file
    524 if test -x conf$$.file >/dev/null 2>&1; then
    525   as_executable_p="test -x"
    526 else
    527   as_executable_p=:
    528 fi
    529 rm -f conf$$.file
    530 
    531 # Sed expression to map a string onto a valid CPP name.
    532 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    533 
    534 # Sed expression to map a string onto a valid variable name.
    535 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    536 
    537 
    538 
    539 exec 7<&0 </dev/null 6>&1
    540 
    541 # Name of the host.
    542 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
    543 # so uname gets run too.
    544 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    545 
    546 #
    547 # Initializations.
    548 #
    549 ac_default_prefix=/usr/local
    550 ac_clean_files=
    551 ac_config_libobj_dir=.
    552 LIBOBJS=
    553 cross_compiling=no
    554 subdirs=
    555 MFLAGS=
    556 MAKEFLAGS=
    557 SHELL=${CONFIG_SHELL-/bin/sh}
    558 
    559 # Identity of this package.
    560 PACKAGE_NAME='[SAMPLE]'
    561 PACKAGE_TARNAME='--sample--'
    562 PACKAGE_VERSION='[x.xx]'
    563 PACKAGE_STRING='[SAMPLE] [x.xx]'
    564 PACKAGE_BUGREPORT='bugs@yourdomain'
    565 
    566 ac_unique_file=""Makefile.common.in""
    567 ac_subst_vars='SHELL
    568 PATH_SEPARATOR
    569 PACKAGE_NAME
    570 PACKAGE_TARNAME
    571 PACKAGE_VERSION
    572 PACKAGE_STRING
    573 PACKAGE_BUGREPORT
    574 exec_prefix
    575 prefix
    576 program_transform_name
    577 bindir
    578 sbindir
    579 libexecdir
    580 datarootdir
    581 datadir
    582 sysconfdir
    583 sharedstatedir
    584 localstatedir
    585 includedir
    586 oldincludedir
    587 docdir
    588 infodir
    589 htmldir
    590 dvidir
    591 pdfdir
    592 psdir
    593 libdir
    594 localedir
    595 mandir
    596 DEFS
    597 ECHO_C
    598 ECHO_N
    599 ECHO_T
    600 LIBS
    601 build_alias
    602 host_alias
    603 target_alias
    604 LLVM_SRC
    605 LLVM_OBJ
    606 LIBOBJS
    607 LTLIBOBJS'
    608 ac_subst_files=''
    609       ac_precious_vars='build_alias
    610 host_alias
    611 target_alias'
    612 
    613 
    614 # Initialize some variables set by options.
    615 ac_init_help=
    616 ac_init_version=false
    617 # The variables have the same names as the options, with
    618 # dashes changed to underlines.
    619 cache_file=/dev/null
    620 exec_prefix=NONE
    621 no_create=
    622 no_recursion=
    623 prefix=NONE
    624 program_prefix=NONE
    625 program_suffix=NONE
    626 program_transform_name=s,x,x,
    627 silent=
    628 site=
    629 srcdir=
    630 verbose=
    631 x_includes=NONE
    632 x_libraries=NONE
    633 
    634 # Installation directory options.
    635 # These are left unexpanded so users can "make install exec_prefix=/foo"
    636 # and all the variables that are supposed to be based on exec_prefix
    637 # by default will actually change.
    638 # Use braces instead of parens because sh, perl, etc. also accept them.
    639 # (The list follows the same order as the GNU Coding Standards.)
    640 bindir='${exec_prefix}/bin'
    641 sbindir='${exec_prefix}/sbin'
    642 libexecdir='${exec_prefix}/libexec'
    643 datarootdir='${prefix}/share'
    644 datadir='${datarootdir}'
    645 sysconfdir='${prefix}/etc'
    646 sharedstatedir='${prefix}/com'
    647 localstatedir='${prefix}/var'
    648 includedir='${prefix}/include'
    649 oldincludedir='/usr/include'
    650 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    651 infodir='${datarootdir}/info'
    652 htmldir='${docdir}'
    653 dvidir='${docdir}'
    654 pdfdir='${docdir}'
    655 psdir='${docdir}'
    656 libdir='${exec_prefix}/lib'
    657 localedir='${datarootdir}/locale'
    658 mandir='${datarootdir}/man'
    659 
    660 ac_prev=
    661 ac_dashdash=
    662 for ac_option
    663 do
    664   # If the previous option needs an argument, assign it.
    665   if test -n "$ac_prev"; then
    666     eval $ac_prev=\$ac_option
    667     ac_prev=
    668     continue
    669   fi
    670 
    671   case $ac_option in
    672   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    673   *)	ac_optarg=yes ;;
    674   esac
    675 
    676   # Accept the important Cygnus configure options, so we can diagnose typos.
    677 
    678   case $ac_dashdash$ac_option in
    679   --)
    680     ac_dashdash=yes ;;
    681 
    682   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    683     ac_prev=bindir ;;
    684   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    685     bindir=$ac_optarg ;;
    686 
    687   -build | --build | --buil | --bui | --bu)
    688     ac_prev=build_alias ;;
    689   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    690     build_alias=$ac_optarg ;;
    691 
    692   -cache-file | --cache-file | --cache-fil | --cache-fi \
    693   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    694     ac_prev=cache_file ;;
    695   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    696   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    697     cache_file=$ac_optarg ;;
    698 
    699   --config-cache | -C)
    700     cache_file=config.cache ;;
    701 
    702   -datadir | --datadir | --datadi | --datad)
    703     ac_prev=datadir ;;
    704   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    705     datadir=$ac_optarg ;;
    706 
    707   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    708   | --dataroo | --dataro | --datar)
    709     ac_prev=datarootdir ;;
    710   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    711   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    712     datarootdir=$ac_optarg ;;
    713 
    714   -disable-* | --disable-*)
    715     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    716     # Reject names that are not valid shell variable names.
    717     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    718       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
    719    { (exit 1); exit 1; }; }
    720     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
    721     eval enable_$ac_feature=no ;;
    722 
    723   -docdir | --docdir | --docdi | --doc | --do)
    724     ac_prev=docdir ;;
    725   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    726     docdir=$ac_optarg ;;
    727 
    728   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    729     ac_prev=dvidir ;;
    730   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    731     dvidir=$ac_optarg ;;
    732 
    733   -enable-* | --enable-*)
    734     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    735     # Reject names that are not valid shell variable names.
    736     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    737       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
    738    { (exit 1); exit 1; }; }
    739     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
    740     eval enable_$ac_feature=\$ac_optarg ;;
    741 
    742   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    743   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    744   | --exec | --exe | --ex)
    745     ac_prev=exec_prefix ;;
    746   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    747   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    748   | --exec=* | --exe=* | --ex=*)
    749     exec_prefix=$ac_optarg ;;
    750 
    751   -gas | --gas | --ga | --g)
    752     # Obsolete; use --with-gas.
    753     with_gas=yes ;;
    754 
    755   -help | --help | --hel | --he | -h)
    756     ac_init_help=long ;;
    757   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    758     ac_init_help=recursive ;;
    759   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    760     ac_init_help=short ;;
    761 
    762   -host | --host | --hos | --ho)
    763     ac_prev=host_alias ;;
    764   -host=* | --host=* | --hos=* | --ho=*)
    765     host_alias=$ac_optarg ;;
    766 
    767   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    768     ac_prev=htmldir ;;
    769   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    770   | --ht=*)
    771     htmldir=$ac_optarg ;;
    772 
    773   -includedir | --includedir | --includedi | --included | --include \
    774   | --includ | --inclu | --incl | --inc)
    775     ac_prev=includedir ;;
    776   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    777   | --includ=* | --inclu=* | --incl=* | --inc=*)
    778     includedir=$ac_optarg ;;
    779 
    780   -infodir | --infodir | --infodi | --infod | --info | --inf)
    781     ac_prev=infodir ;;
    782   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    783     infodir=$ac_optarg ;;
    784 
    785   -libdir | --libdir | --libdi | --libd)
    786     ac_prev=libdir ;;
    787   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    788     libdir=$ac_optarg ;;
    789 
    790   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    791   | --libexe | --libex | --libe)
    792     ac_prev=libexecdir ;;
    793   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    794   | --libexe=* | --libex=* | --libe=*)
    795     libexecdir=$ac_optarg ;;
    796 
    797   -localedir | --localedir | --localedi | --localed | --locale)
    798     ac_prev=localedir ;;
    799   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    800     localedir=$ac_optarg ;;
    801 
    802   -localstatedir | --localstatedir | --localstatedi | --localstated \
    803   | --localstate | --localstat | --localsta | --localst | --locals)
    804     ac_prev=localstatedir ;;
    805   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    806   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    807     localstatedir=$ac_optarg ;;
    808 
    809   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    810     ac_prev=mandir ;;
    811   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    812     mandir=$ac_optarg ;;
    813 
    814   -nfp | --nfp | --nf)
    815     # Obsolete; use --without-fp.
    816     with_fp=no ;;
    817 
    818   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
    819   | --no-cr | --no-c | -n)
    820     no_create=yes ;;
    821 
    822   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
    823   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
    824     no_recursion=yes ;;
    825 
    826   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
    827   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
    828   | --oldin | --oldi | --old | --ol | --o)
    829     ac_prev=oldincludedir ;;
    830   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
    831   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
    832   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
    833     oldincludedir=$ac_optarg ;;
    834 
    835   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
    836     ac_prev=prefix ;;
    837   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
    838     prefix=$ac_optarg ;;
    839 
    840   -program-prefix | --program-prefix | --program-prefi | --program-pref \
    841   | --program-pre | --program-pr | --program-p)
    842     ac_prev=program_prefix ;;
    843   -program-prefix=* | --program-prefix=* | --program-prefi=* \
    844   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
    845     program_prefix=$ac_optarg ;;
    846 
    847   -program-suffix | --program-suffix | --program-suffi | --program-suff \
    848   | --program-suf | --program-su | --program-s)
    849     ac_prev=program_suffix ;;
    850   -program-suffix=* | --program-suffix=* | --program-suffi=* \
    851   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
    852     program_suffix=$ac_optarg ;;
    853 
    854   -program-transform-name | --program-transform-name \
    855   | --program-transform-nam | --program-transform-na \
    856   | --program-transform-n | --program-transform- \
    857   | --program-transform | --program-transfor \
    858   | --program-transfo | --program-transf \
    859   | --program-trans | --program-tran \
    860   | --progr-tra | --program-tr | --program-t)
    861     ac_prev=program_transform_name ;;
    862   -program-transform-name=* | --program-transform-name=* \
    863   | --program-transform-nam=* | --program-transform-na=* \
    864   | --program-transform-n=* | --program-transform-=* \
    865   | --program-transform=* | --program-transfor=* \
    866   | --program-transfo=* | --program-transf=* \
    867   | --program-trans=* | --program-tran=* \
    868   | --progr-tra=* | --program-tr=* | --program-t=*)
    869     program_transform_name=$ac_optarg ;;
    870 
    871   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
    872     ac_prev=pdfdir ;;
    873   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
    874     pdfdir=$ac_optarg ;;
    875 
    876   -psdir | --psdir | --psdi | --psd | --ps)
    877     ac_prev=psdir ;;
    878   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
    879     psdir=$ac_optarg ;;
    880 
    881   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
    882   | -silent | --silent | --silen | --sile | --sil)
    883     silent=yes ;;
    884 
    885   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
    886     ac_prev=sbindir ;;
    887   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
    888   | --sbi=* | --sb=*)
    889     sbindir=$ac_optarg ;;
    890 
    891   -sharedstatedir | --sharedstatedir | --sharedstatedi \
    892   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
    893   | --sharedst | --shareds | --shared | --share | --shar \
    894   | --sha | --sh)
    895     ac_prev=sharedstatedir ;;
    896   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
    897   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
    898   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
    899   | --sha=* | --sh=*)
    900     sharedstatedir=$ac_optarg ;;
    901 
    902   -site | --site | --sit)
    903     ac_prev=site ;;
    904   -site=* | --site=* | --sit=*)
    905     site=$ac_optarg ;;
    906 
    907   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
    908     ac_prev=srcdir ;;
    909   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
    910     srcdir=$ac_optarg ;;
    911 
    912   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
    913   | --syscon | --sysco | --sysc | --sys | --sy)
    914     ac_prev=sysconfdir ;;
    915   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
    916   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
    917     sysconfdir=$ac_optarg ;;
    918 
    919   -target | --target | --targe | --targ | --tar | --ta | --t)
    920     ac_prev=target_alias ;;
    921   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
    922     target_alias=$ac_optarg ;;
    923 
    924   -v | -verbose | --verbose | --verbos | --verbo | --verb)
    925     verbose=yes ;;
    926 
    927   -version | --version | --versio | --versi | --vers | -V)
    928     ac_init_version=: ;;
    929 
    930   -with-* | --with-*)
    931     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
    932     # Reject names that are not valid shell variable names.
    933     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    934       { echo "$as_me: error: invalid package name: $ac_package" >&2
    935    { (exit 1); exit 1; }; }
    936     ac_package=`echo $ac_package| sed 's/-/_/g'`
    937     eval with_$ac_package=\$ac_optarg ;;
    938 
    939   -without-* | --without-*)
    940     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
    941     # Reject names that are not valid shell variable names.
    942     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    943       { echo "$as_me: error: invalid package name: $ac_package" >&2
    944    { (exit 1); exit 1; }; }
    945     ac_package=`echo $ac_package | sed 's/-/_/g'`
    946     eval with_$ac_package=no ;;
    947 
    948   --x)
    949     # Obsolete; use --with-x.
    950     with_x=yes ;;
    951 
    952   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
    953   | --x-incl | --x-inc | --x-in | --x-i)
    954     ac_prev=x_includes ;;
    955   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
    956   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
    957     x_includes=$ac_optarg ;;
    958 
    959   -x-libraries | --x-libraries | --x-librarie | --x-librari \
    960   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
    961     ac_prev=x_libraries ;;
    962   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
    963   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
    964     x_libraries=$ac_optarg ;;
    965 
    966   -*) { echo "$as_me: error: unrecognized option: $ac_option
    967 Try \`$0 --help' for more information." >&2
    968    { (exit 1); exit 1; }; }
    969     ;;
    970 
    971   *=*)
    972     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
    973     # Reject names that are not valid shell variable names.
    974     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
    975       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
    976    { (exit 1); exit 1; }; }
    977     eval $ac_envvar=\$ac_optarg
    978     export $ac_envvar ;;
    979 
    980   *)
    981     # FIXME: should be removed in autoconf 3.0.
    982     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
    983     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    984       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
    985     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
    986     ;;
    987 
    988   esac
    989 done
    990 
    991 if test -n "$ac_prev"; then
    992   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
    993   { echo "$as_me: error: missing argument to $ac_option" >&2
    994    { (exit 1); exit 1; }; }
    995 fi
    996 
    997 # Be sure to have absolute directory names.
    998 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
    999 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1000 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1001 		libdir localedir mandir
   1002 do
   1003   eval ac_val=\$$ac_var
   1004   case $ac_val in
   1005     [\\/$]* | ?:[\\/]* )  continue;;
   1006     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1007   esac
   1008   { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
   1009    { (exit 1); exit 1; }; }
   1010 done
   1011 
   1012 # There might be people who depend on the old broken behavior: `$host'
   1013 # used to hold the argument of --host etc.
   1014 # FIXME: To remove some day.
   1015 build=$build_alias
   1016 host=$host_alias
   1017 target=$target_alias
   1018 
   1019 # FIXME: To remove some day.
   1020 if test "x$host_alias" != x; then
   1021   if test "x$build_alias" = x; then
   1022     cross_compiling=maybe
   1023     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
   1024     If a cross compiler is detected then cross compile mode will be used." >&2
   1025   elif test "x$build_alias" != "x$host_alias"; then
   1026     cross_compiling=yes
   1027   fi
   1028 fi
   1029 
   1030 ac_tool_prefix=
   1031 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1032 
   1033 test "$silent" = yes && exec 6>/dev/null
   1034 
   1035 
   1036 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1037 ac_ls_di=`ls -di .` &&
   1038 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1039   { echo "$as_me: error: Working directory cannot be determined" >&2
   1040    { (exit 1); exit 1; }; }
   1041 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1042   { echo "$as_me: error: pwd does not report name of working directory" >&2
   1043    { (exit 1); exit 1; }; }
   1044 
   1045 
   1046 # Find the source files, if location was not specified.
   1047 if test -z "$srcdir"; then
   1048   ac_srcdir_defaulted=yes
   1049   # Try the directory containing this script, then the parent directory.
   1050   ac_confdir=`$as_dirname -- "$0" ||
   1051 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1052 	 X"$0" : 'X\(//\)[^/]' \| \
   1053 	 X"$0" : 'X\(//\)$' \| \
   1054 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   1055 echo X"$0" |
   1056     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1057 	    s//\1/
   1058 	    q
   1059 	  }
   1060 	  /^X\(\/\/\)[^/].*/{
   1061 	    s//\1/
   1062 	    q
   1063 	  }
   1064 	  /^X\(\/\/\)$/{
   1065 	    s//\1/
   1066 	    q
   1067 	  }
   1068 	  /^X\(\/\).*/{
   1069 	    s//\1/
   1070 	    q
   1071 	  }
   1072 	  s/.*/./; q'`
   1073   srcdir=$ac_confdir
   1074   if test ! -r "$srcdir/$ac_unique_file"; then
   1075     srcdir=..
   1076   fi
   1077 else
   1078   ac_srcdir_defaulted=no
   1079 fi
   1080 if test ! -r "$srcdir/$ac_unique_file"; then
   1081   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1082   { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
   1083    { (exit 1); exit 1; }; }
   1084 fi
   1085 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1086 ac_abs_confdir=`(
   1087 	cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
   1088    { (exit 1); exit 1; }; }
   1089 	pwd)`
   1090 # When building in place, set srcdir=.
   1091 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1092   srcdir=.
   1093 fi
   1094 # Remove unnecessary trailing slashes from srcdir.
   1095 # Double slashes in file names in object file debugging info
   1096 # mess up M-x gdb in Emacs.
   1097 case $srcdir in
   1098 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1099 esac
   1100 for ac_var in $ac_precious_vars; do
   1101   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1102   eval ac_env_${ac_var}_value=\$${ac_var}
   1103   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1104   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1105 done
   1106 
   1107 #
   1108 # Report the --help message.
   1109 #
   1110 if test "$ac_init_help" = "long"; then
   1111   # Omit some internal or obsolete options to make the list less imposing.
   1112   # This message is too long to be a string in the A/UX 3.1 sh.
   1113   cat <<_ACEOF
   1114 \`configure' configures [SAMPLE] [x.xx] to adapt to many kinds of systems.
   1115 
   1116 Usage: $0 [OPTION]... [VAR=VALUE]...
   1117 
   1118 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1119 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1120 
   1121 Defaults for the options are specified in brackets.
   1122 
   1123 Configuration:
   1124   -h, --help              display this help and exit
   1125       --help=short        display options specific to this package
   1126       --help=recursive    display the short help of all the included packages
   1127   -V, --version           display version information and exit
   1128   -q, --quiet, --silent   do not print \`checking...' messages
   1129       --cache-file=FILE   cache test results in FILE [disabled]
   1130   -C, --config-cache      alias for \`--cache-file=config.cache'
   1131   -n, --no-create         do not create output files
   1132       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1133 
   1134 Installation directories:
   1135   --prefix=PREFIX         install architecture-independent files in PREFIX
   1136 			  [$ac_default_prefix]
   1137   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1138 			  [PREFIX]
   1139 
   1140 By default, \`make install' will install all the files in
   1141 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1142 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1143 for instance \`--prefix=\$HOME'.
   1144 
   1145 For better control, use the options below.
   1146 
   1147 Fine tuning of the installation directories:
   1148   --bindir=DIR           user executables [EPREFIX/bin]
   1149   --sbindir=DIR          system admin executables [EPREFIX/sbin]
   1150   --libexecdir=DIR       program executables [EPREFIX/libexec]
   1151   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
   1152   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
   1153   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
   1154   --libdir=DIR           object code libraries [EPREFIX/lib]
   1155   --includedir=DIR       C header files [PREFIX/include]
   1156   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
   1157   --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
   1158   --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
   1159   --infodir=DIR          info documentation [DATAROOTDIR/info]
   1160   --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
   1161   --mandir=DIR           man documentation [DATAROOTDIR/man]
   1162   --docdir=DIR           documentation root [DATAROOTDIR/doc/--sample--]
   1163   --htmldir=DIR          html documentation [DOCDIR]
   1164   --dvidir=DIR           dvi documentation [DOCDIR]
   1165   --pdfdir=DIR           pdf documentation [DOCDIR]
   1166   --psdir=DIR            ps documentation [DOCDIR]
   1167 _ACEOF
   1168 
   1169   cat <<\_ACEOF
   1170 _ACEOF
   1171 fi
   1172 
   1173 if test -n "$ac_init_help"; then
   1174   case $ac_init_help in
   1175      short | recursive ) echo "Configuration of [SAMPLE] [x.xx]:";;
   1176    esac
   1177   cat <<\_ACEOF
   1178 
   1179 Optional Packages:
   1180   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1181   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1182   --with-llvmsrc          Location of LLVM Source Code
   1183   --with-llvmobj          Location of LLVM Object Code
   1184 
   1185 Report bugs to <bugs@yourdomain>.
   1186 _ACEOF
   1187 ac_status=$?
   1188 fi
   1189 
   1190 if test "$ac_init_help" = "recursive"; then
   1191   # If there are subdirs, report their specific --help.
   1192   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1193     test -d "$ac_dir" || continue
   1194     ac_builddir=.
   1195 
   1196 case "$ac_dir" in
   1197 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1198 *)
   1199   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
   1200   # A ".." for each directory in $ac_dir_suffix.
   1201   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
   1202   case $ac_top_builddir_sub in
   1203   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1204   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1205   esac ;;
   1206 esac
   1207 ac_abs_top_builddir=$ac_pwd
   1208 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1209 # for backward compatibility:
   1210 ac_top_builddir=$ac_top_build_prefix
   1211 
   1212 case $srcdir in
   1213   .)  # We are building in place.
   1214     ac_srcdir=.
   1215     ac_top_srcdir=$ac_top_builddir_sub
   1216     ac_abs_top_srcdir=$ac_pwd ;;
   1217   [\\/]* | ?:[\\/]* )  # Absolute name.
   1218     ac_srcdir=$srcdir$ac_dir_suffix;
   1219     ac_top_srcdir=$srcdir
   1220     ac_abs_top_srcdir=$srcdir ;;
   1221   *) # Relative name.
   1222     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1223     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1224     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1225 esac
   1226 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1227 
   1228     cd "$ac_dir" || { ac_status=$?; continue; }
   1229     # Check for guested configure.
   1230     if test -f "$ac_srcdir/configure.gnu"; then
   1231       echo &&
   1232       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1233     elif test -f "$ac_srcdir/configure"; then
   1234       echo &&
   1235       $SHELL "$ac_srcdir/configure" --help=recursive
   1236     else
   1237       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1238     fi || ac_status=$?
   1239     cd "$ac_pwd" || { ac_status=$?; break; }
   1240   done
   1241 fi
   1242 
   1243 test -n "$ac_init_help" && exit $ac_status
   1244 if $ac_init_version; then
   1245   cat <<\_ACEOF
   1246 [SAMPLE] configure [x.xx]
   1247 generated by GNU Autoconf 2.60
   1248 
   1249 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
   1250 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
   1251 This configure script is free software; the Free Software Foundation
   1252 gives unlimited permission to copy, distribute and modify it.
   1253 _ACEOF
   1254   exit
   1255 fi
   1256 cat >config.log <<_ACEOF
   1257 This file contains any messages produced by compilers while
   1258 running configure, to aid debugging if configure makes a mistake.
   1259 
   1260 It was created by [SAMPLE] $as_me [x.xx], which was
   1261 generated by GNU Autoconf 2.60.  Invocation command line was
   1262 
   1263   $ $0 $@
   1264 
   1265 _ACEOF
   1266 exec 5>>config.log
   1267 {
   1268 cat <<_ASUNAME
   1269 ## --------- ##
   1270 ## Platform. ##
   1271 ## --------- ##
   1272 
   1273 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1274 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1275 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1276 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1277 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1278 
   1279 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1280 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1281 
   1282 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1283 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1284 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1285 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1286 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1287 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1288 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1289 
   1290 _ASUNAME
   1291 
   1292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1293 for as_dir in $PATH
   1294 do
   1295   IFS=$as_save_IFS
   1296   test -z "$as_dir" && as_dir=.
   1297   echo "PATH: $as_dir"
   1298 done
   1299 IFS=$as_save_IFS
   1300 
   1301 } >&5
   1302 
   1303 cat >&5 <<_ACEOF
   1304 
   1305 
   1306 ## ----------- ##
   1307 ## Core tests. ##
   1308 ## ----------- ##
   1309 
   1310 _ACEOF
   1311 
   1312 
   1313 # Keep a trace of the command line.
   1314 # Strip out --no-create and --no-recursion so they do not pile up.
   1315 # Strip out --silent because we don't want to record it for future runs.
   1316 # Also quote any args containing shell meta-characters.
   1317 # Make two passes to allow for proper duplicate-argument suppression.
   1318 ac_configure_args=
   1319 ac_configure_args0=
   1320 ac_configure_args1=
   1321 ac_must_keep_next=false
   1322 for ac_pass in 1 2
   1323 do
   1324   for ac_arg
   1325   do
   1326     case $ac_arg in
   1327     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1328     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1329     | -silent | --silent | --silen | --sile | --sil)
   1330       continue ;;
   1331     *\'*)
   1332       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1333     esac
   1334     case $ac_pass in
   1335     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
   1336     2)
   1337       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
   1338       if test $ac_must_keep_next = true; then
   1339 	ac_must_keep_next=false # Got value, back to normal.
   1340       else
   1341 	case $ac_arg in
   1342 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1343 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1344 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1345 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1346 	    case "$ac_configure_args0 " in
   1347 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1348 	    esac
   1349 	    ;;
   1350 	  -* ) ac_must_keep_next=true ;;
   1351 	esac
   1352       fi
   1353       ac_configure_args="$ac_configure_args '$ac_arg'"
   1354       ;;
   1355     esac
   1356   done
   1357 done
   1358 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
   1359 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
   1360 
   1361 # When interrupted or exit'd, cleanup temporary files, and complete
   1362 # config.log.  We remove comments because anyway the quotes in there
   1363 # would cause problems or look ugly.
   1364 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1365 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1366 trap 'exit_status=$?
   1367   # Save into config.log some information that might help in debugging.
   1368   {
   1369     echo
   1370 
   1371     cat <<\_ASBOX
   1372 ## ---------------- ##
   1373 ## Cache variables. ##
   1374 ## ---------------- ##
   1375 _ASBOX
   1376     echo
   1377     # The following way of writing the cache mishandles newlines in values,
   1378 (
   1379   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1380     eval ac_val=\$$ac_var
   1381     case $ac_val in #(
   1382     *${as_nl}*)
   1383       case $ac_var in #(
   1384       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
   1385 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
   1386       esac
   1387       case $ac_var in #(
   1388       _ | IFS | as_nl) ;; #(
   1389       *) $as_unset $ac_var ;;
   1390       esac ;;
   1391     esac
   1392   done
   1393   (set) 2>&1 |
   1394     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1395     *${as_nl}ac_space=\ *)
   1396       sed -n \
   1397 	"s/'\''/'\''\\\\'\'''\''/g;
   1398 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1399       ;; #(
   1400     *)
   1401       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1402       ;;
   1403     esac |
   1404     sort
   1405 )
   1406     echo
   1407 
   1408     cat <<\_ASBOX
   1409 ## ----------------- ##
   1410 ## Output variables. ##
   1411 ## ----------------- ##
   1412 _ASBOX
   1413     echo
   1414     for ac_var in $ac_subst_vars
   1415     do
   1416       eval ac_val=\$$ac_var
   1417       case $ac_val in
   1418       *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1419       esac
   1420       echo "$ac_var='\''$ac_val'\''"
   1421     done | sort
   1422     echo
   1423 
   1424     if test -n "$ac_subst_files"; then
   1425       cat <<\_ASBOX
   1426 ## ------------------- ##
   1427 ## File substitutions. ##
   1428 ## ------------------- ##
   1429 _ASBOX
   1430       echo
   1431       for ac_var in $ac_subst_files
   1432       do
   1433 	eval ac_val=\$$ac_var
   1434 	case $ac_val in
   1435 	*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1436 	esac
   1437 	echo "$ac_var='\''$ac_val'\''"
   1438       done | sort
   1439       echo
   1440     fi
   1441 
   1442     if test -s confdefs.h; then
   1443       cat <<\_ASBOX
   1444 ## ----------- ##
   1445 ## confdefs.h. ##
   1446 ## ----------- ##
   1447 _ASBOX
   1448       echo
   1449       cat confdefs.h
   1450       echo
   1451     fi
   1452     test "$ac_signal" != 0 &&
   1453       echo "$as_me: caught signal $ac_signal"
   1454     echo "$as_me: exit $exit_status"
   1455   } >&5
   1456   rm -f core *.core core.conftest.* &&
   1457     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1458     exit $exit_status
   1459 ' 0
   1460 for ac_signal in 1 2 13 15; do
   1461   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
   1462 done
   1463 ac_signal=0
   1464 
   1465 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1466 rm -f -r conftest* confdefs.h
   1467 
   1468 # Predefined preprocessor variables.
   1469 
   1470 cat >>confdefs.h <<_ACEOF
   1471 #define PACKAGE_NAME "$PACKAGE_NAME"
   1472 _ACEOF
   1473 
   1474 
   1475 cat >>confdefs.h <<_ACEOF
   1476 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   1477 _ACEOF
   1478 
   1479 
   1480 cat >>confdefs.h <<_ACEOF
   1481 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   1482 _ACEOF
   1483 
   1484 
   1485 cat >>confdefs.h <<_ACEOF
   1486 #define PACKAGE_STRING "$PACKAGE_STRING"
   1487 _ACEOF
   1488 
   1489 
   1490 cat >>confdefs.h <<_ACEOF
   1491 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   1492 _ACEOF
   1493 
   1494 
   1495 # Let the site file select an alternate cache file if it wants to.
   1496 # Prefer explicitly selected file to automatically selected ones.
   1497 if test -n "$CONFIG_SITE"; then
   1498   set x "$CONFIG_SITE"
   1499 elif test "x$prefix" != xNONE; then
   1500   set x "$prefix/share/config.site" "$prefix/etc/config.site"
   1501 else
   1502   set x "$ac_default_prefix/share/config.site" \
   1503 	"$ac_default_prefix/etc/config.site"
   1504 fi
   1505 shift
   1506 for ac_site_file
   1507 do
   1508   if test -r "$ac_site_file"; then
   1509     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
   1510 echo "$as_me: loading site script $ac_site_file" >&6;}
   1511     sed 's/^/| /' "$ac_site_file" >&5
   1512     . "$ac_site_file"
   1513   fi
   1514 done
   1515 
   1516 if test -r "$cache_file"; then
   1517   # Some versions of bash will fail to source /dev/null (special
   1518   # files actually), so we avoid doing that.
   1519   if test -f "$cache_file"; then
   1520     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
   1521 echo "$as_me: loading cache $cache_file" >&6;}
   1522     case $cache_file in
   1523       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   1524       *)                      . "./$cache_file";;
   1525     esac
   1526   fi
   1527 else
   1528   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
   1529 echo "$as_me: creating cache $cache_file" >&6;}
   1530   >$cache_file
   1531 fi
   1532 
   1533 # Check that the precious variables saved in the cache have kept the same
   1534 # value.
   1535 ac_cache_corrupted=false
   1536 for ac_var in $ac_precious_vars; do
   1537   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   1538   eval ac_new_set=\$ac_env_${ac_var}_set
   1539   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   1540   eval ac_new_val=\$ac_env_${ac_var}_value
   1541   case $ac_old_set,$ac_new_set in
   1542     set,)
   1543       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   1544 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   1545       ac_cache_corrupted=: ;;
   1546     ,set)
   1547       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
   1548 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   1549       ac_cache_corrupted=: ;;
   1550     ,);;
   1551     *)
   1552       if test "x$ac_old_val" != "x$ac_new_val"; then
   1553 	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
   1554 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   1555 	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
   1556 echo "$as_me:   former value:  $ac_old_val" >&2;}
   1557 	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
   1558 echo "$as_me:   current value: $ac_new_val" >&2;}
   1559 	ac_cache_corrupted=:
   1560       fi;;
   1561   esac
   1562   # Pass precious variables to config.status.
   1563   if test "$ac_new_set" = set; then
   1564     case $ac_new_val in
   1565     *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   1566     *) ac_arg=$ac_var=$ac_new_val ;;
   1567     esac
   1568     case " $ac_configure_args " in
   1569       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   1570       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
   1571     esac
   1572   fi
   1573 done
   1574 if $ac_cache_corrupted; then
   1575   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
   1576 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   1577   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
   1578 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
   1579    { (exit 1); exit 1; }; }
   1580 fi
   1581 
   1582 
   1583 
   1584 
   1585 
   1586 
   1587 
   1588 
   1589 
   1590 
   1591 
   1592 
   1593 
   1594 
   1595 
   1596 
   1597 
   1598 
   1599 
   1600 
   1601 
   1602 
   1603 
   1604 
   1605 
   1606 ac_ext=c
   1607 ac_cpp='$CPP $CPPFLAGS'
   1608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   1609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   1610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   1611 
   1612 
   1613 
   1614 LLVM_SRC_ROOT="../.."
   1615 LLVM_OBJ_ROOT="../.."
   1616 
   1617 LLVM_ABS_SRC_ROOT="`cd $srcdir ; cd $LLVM_SRC_ROOT ; pwd`"
   1618 LLVM_ABS_OBJ_ROOT="`cd $LLVM_OBJ_ROOT ; pwd`"
   1619 
   1620 
   1621 # Check whether --with-llvmsrc was given.
   1622 if test "${with_llvmsrc+set}" = set; then
   1623   withval=$with_llvmsrc; llvm_src="$withval"
   1624 else
   1625   llvm_src="$LLVM_ABS_SRC_ROOT"
   1626 fi
   1627 
   1628   LLVM_SRC=$llvm_src
   1629 
   1630 
   1631 # Check whether --with-llvmobj was given.
   1632 if test "${with_llvmobj+set}" = set; then
   1633   withval=$with_llvmobj; llvm_obj="$withval"
   1634 else
   1635   llvm_obj="$LLVM_ABS_OBJ_ROOT"
   1636 fi
   1637 
   1638   LLVM_OBJ=$llvm_obj
   1639 
   1640   ac_config_commands="$ac_config_commands setup"
   1641 
   1642 
   1643 
   1644 ac_aux_dir=
   1645 for ac_dir in $LLVM_SRC/autoconf "$srcdir"/$LLVM_SRC/autoconf; do
   1646   if test -f "$ac_dir/install-sh"; then
   1647     ac_aux_dir=$ac_dir
   1648     ac_install_sh="$ac_aux_dir/install-sh -c"
   1649     break
   1650   elif test -f "$ac_dir/install.sh"; then
   1651     ac_aux_dir=$ac_dir
   1652     ac_install_sh="$ac_aux_dir/install.sh -c"
   1653     break
   1654   elif test -f "$ac_dir/shtool"; then
   1655     ac_aux_dir=$ac_dir
   1656     ac_install_sh="$ac_aux_dir/shtool install -c"
   1657     break
   1658   fi
   1659 done
   1660 if test -z "$ac_aux_dir"; then
   1661   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $LLVM_SRC/autoconf \"$srcdir\"/$LLVM_SRC/autoconf" >&5
   1662 echo "$as_me: error: cannot find install-sh or install.sh in $LLVM_SRC/autoconf \"$srcdir\"/$LLVM_SRC/autoconf" >&2;}
   1663    { (exit 1); exit 1; }; }
   1664 fi
   1665 
   1666 # These three variables are undocumented and unsupported,
   1667 # and are intended to be withdrawn in a future Autoconf release.
   1668 # They can cause serious problems if a builder's source tree is in a directory
   1669 # whose full name contains unusual characters.
   1670 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   1671 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   1672 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   1673 
   1674 
   1675 
   1676 
   1677 
   1678 ac_config_files="$ac_config_files Makefile.common"
   1679 
   1680 
   1681 ac_config_commands="$ac_config_commands Makefile"
   1682 
   1683 
   1684 ac_config_commands="$ac_config_commands lib/Makefile"
   1685 
   1686 
   1687 ac_config_commands="$ac_config_commands lib/sample/Makefile"
   1688 
   1689 
   1690 ac_config_commands="$ac_config_commands tools/Makefile"
   1691 
   1692 
   1693 ac_config_commands="$ac_config_commands tools/sample/Makefile"
   1694 
   1695 
   1696 
   1697 
   1698 
   1699 
   1700 
   1701 
   1702 
   1703 
   1704 
   1705 
   1706 cat >confcache <<\_ACEOF
   1707 # This file is a shell script that caches the results of configure
   1708 # tests run on this system so they can be shared between configure
   1709 # scripts and configure runs, see configure's option --config-cache.
   1710 # It is not useful on other systems.  If it contains results you don't
   1711 # want to keep, you may remove or edit it.
   1712 #
   1713 # config.status only pays attention to the cache file if you give it
   1714 # the --recheck option to rerun configure.
   1715 #
   1716 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   1717 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   1718 # following values.
   1719 
   1720 _ACEOF
   1721 
   1722 # The following way of writing the cache mishandles newlines in values,
   1723 # but we know of no workaround that is simple, portable, and efficient.
   1724 # So, we kill variables containing newlines.
   1725 # Ultrix sh set writes to stderr and can't be redirected directly,
   1726 # and sets the high bit in the cache file unless we assign to the vars.
   1727 (
   1728   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   1729     eval ac_val=\$$ac_var
   1730     case $ac_val in #(
   1731     *${as_nl}*)
   1732       case $ac_var in #(
   1733       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
   1734 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
   1735       esac
   1736       case $ac_var in #(
   1737       _ | IFS | as_nl) ;; #(
   1738       *) $as_unset $ac_var ;;
   1739       esac ;;
   1740     esac
   1741   done
   1742 
   1743   (set) 2>&1 |
   1744     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   1745     *${as_nl}ac_space=\ *)
   1746       # `set' does not quote correctly, so add quotes (double-quote
   1747       # substitution turns \\\\ into \\, and sed turns \\ into \).
   1748       sed -n \
   1749 	"s/'/'\\\\''/g;
   1750 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   1751       ;; #(
   1752     *)
   1753       # `set' quotes correctly as required by POSIX, so do not add quotes.
   1754       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1755       ;;
   1756     esac |
   1757     sort
   1758 ) |
   1759   sed '
   1760      /^ac_cv_env_/b end
   1761      t clear
   1762      :clear
   1763      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   1764      t end
   1765      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   1766      :end' >>confcache
   1767 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   1768   if test -w "$cache_file"; then
   1769     test "x$cache_file" != "x/dev/null" &&
   1770       { echo "$as_me:$LINENO: updating cache $cache_file" >&5
   1771 echo "$as_me: updating cache $cache_file" >&6;}
   1772     cat confcache >$cache_file
   1773   else
   1774     { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
   1775 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   1776   fi
   1777 fi
   1778 rm -f confcache
   1779 
   1780 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   1781 # Let make expand exec_prefix.
   1782 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   1783 
   1784 # Transform confdefs.h into DEFS.
   1785 # Protect against shell expansion while executing Makefile rules.
   1786 # Protect against Makefile macro expansion.
   1787 #
   1788 # If the first sed substitution is executed (which looks for macros that
   1789 # take arguments), then branch to the quote section.  Otherwise,
   1790 # look for a macro that doesn't take arguments.
   1791 ac_script='
   1792 t clear
   1793 :clear
   1794 s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
   1795 t quote
   1796 s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
   1797 t quote
   1798 b any
   1799 :quote
   1800 s/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
   1801 s/\[/\\&/g
   1802 s/\]/\\&/g
   1803 s/\$/$$/g
   1804 H
   1805 :any
   1806 ${
   1807 	g
   1808 	s/^\n//
   1809 	s/\n/ /g
   1810 	p
   1811 }
   1812 '
   1813 DEFS=`sed -n "$ac_script" confdefs.h`
   1814 
   1815 
   1816 ac_libobjs=
   1817 ac_ltlibobjs=
   1818 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   1819   # 1. Remove the extension, and $U if already installed.
   1820   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   1821   ac_i=`echo "$ac_i" | sed "$ac_script"`
   1822   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   1823   #    will be set to the directory where LIBOBJS objects are built.
   1824   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   1825   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
   1826 done
   1827 LIBOBJS=$ac_libobjs
   1828 
   1829 LTLIBOBJS=$ac_ltlibobjs
   1830 
   1831 
   1832 
   1833 : ${CONFIG_STATUS=./config.status}
   1834 ac_clean_files_save=$ac_clean_files
   1835 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   1836 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
   1837 echo "$as_me: creating $CONFIG_STATUS" >&6;}
   1838 cat >$CONFIG_STATUS <<_ACEOF
   1839 #! $SHELL
   1840 # Generated by $as_me.
   1841 # Run this file to recreate the current configuration.
   1842 # Compiler output produced by configure, useful for debugging
   1843 # configure, is in config.log if it exists.
   1844 
   1845 debug=false
   1846 ac_cs_recheck=false
   1847 ac_cs_silent=false
   1848 SHELL=\${CONFIG_SHELL-$SHELL}
   1849 _ACEOF
   1850 
   1851 cat >>$CONFIG_STATUS <<\_ACEOF
   1852 ## --------------------- ##
   1853 ## M4sh Initialization.  ##
   1854 ## --------------------- ##
   1855 
   1856 # Be Bourne compatible
   1857 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   1858   emulate sh
   1859   NULLCMD=:
   1860   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
   1861   # is contrary to our usage.  Disable this feature.
   1862   alias -g '${1+"$@"}'='"$@"'
   1863   setopt NO_GLOB_SUBST
   1864 else
   1865   case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
   1866 fi
   1867 BIN_SH=xpg4; export BIN_SH # for Tru64
   1868 DUALCASE=1; export DUALCASE # for MKS sh
   1869 
   1870 
   1871 # PATH needs CR
   1872 # Avoid depending upon Character Ranges.
   1873 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   1874 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   1875 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   1876 as_cr_digits='0123456789'
   1877 as_cr_alnum=$as_cr_Letters$as_cr_digits
   1878 
   1879 # The user is always right.
   1880 if test "${PATH_SEPARATOR+set}" != set; then
   1881   echo "#! /bin/sh" >conf$$.sh
   1882   echo  "exit 0"   >>conf$$.sh
   1883   chmod +x conf$$.sh
   1884   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   1885     PATH_SEPARATOR=';'
   1886   else
   1887     PATH_SEPARATOR=:
   1888   fi
   1889   rm -f conf$$.sh
   1890 fi
   1891 
   1892 # Support unset when possible.
   1893 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   1894   as_unset=unset
   1895 else
   1896   as_unset=false
   1897 fi
   1898 
   1899 
   1900 # IFS
   1901 # We need space, tab and new line, in precisely that order.  Quoting is
   1902 # there to prevent editors from complaining about space-tab.
   1903 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   1904 # splitting by setting IFS to empty value.)
   1905 as_nl='
   1906 '
   1907 IFS=" ""	$as_nl"
   1908 
   1909 # Find who we are.  Look in the path if we contain no directory separator.
   1910 case $0 in
   1911   *[\\/]* ) as_myself=$0 ;;
   1912   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1913 for as_dir in $PATH
   1914 do
   1915   IFS=$as_save_IFS
   1916   test -z "$as_dir" && as_dir=.
   1917   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   1918 done
   1919 IFS=$as_save_IFS
   1920 
   1921      ;;
   1922 esac
   1923 # We did not find ourselves, most probably we were run as `sh COMMAND'
   1924 # in which case we are not to be found in the path.
   1925 if test "x$as_myself" = x; then
   1926   as_myself=$0
   1927 fi
   1928 if test ! -f "$as_myself"; then
   1929   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   1930   { (exit 1); exit 1; }
   1931 fi
   1932 
   1933 # Work around bugs in pre-3.0 UWIN ksh.
   1934 for as_var in ENV MAIL MAILPATH
   1935 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   1936 done
   1937 PS1='$ '
   1938 PS2='> '
   1939 PS4='+ '
   1940 
   1941 # NLS nuisances.
   1942 for as_var in \
   1943   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
   1944   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
   1945   LC_TELEPHONE LC_TIME
   1946 do
   1947   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
   1948     eval $as_var=C; export $as_var
   1949   else
   1950     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   1951   fi
   1952 done
   1953 
   1954 # Required to use basename.
   1955 if expr a : '\(a\)' >/dev/null 2>&1 &&
   1956    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   1957   as_expr=expr
   1958 else
   1959   as_expr=false
   1960 fi
   1961 
   1962 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   1963   as_basename=basename
   1964 else
   1965   as_basename=false
   1966 fi
   1967 
   1968 
   1969 # Name of the executable.
   1970 as_me=`$as_basename -- "$0" ||
   1971 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   1972 	 X"$0" : 'X\(//\)$' \| \
   1973 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   1974 echo X/"$0" |
   1975     sed '/^.*\/\([^/][^/]*\)\/*$/{
   1976 	    s//\1/
   1977 	    q
   1978 	  }
   1979 	  /^X\/\(\/\/\)$/{
   1980 	    s//\1/
   1981 	    q
   1982 	  }
   1983 	  /^X\/\(\/\).*/{
   1984 	    s//\1/
   1985 	    q
   1986 	  }
   1987 	  s/.*/./; q'`
   1988 
   1989 # CDPATH.
   1990 $as_unset CDPATH
   1991 
   1992 
   1993 
   1994   as_lineno_1=$LINENO
   1995   as_lineno_2=$LINENO
   1996   test "x$as_lineno_1" != "x$as_lineno_2" &&
   1997   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
   1998 
   1999   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   2000   # uniformly replaced by the line number.  The first 'sed' inserts a
   2001   # line-number line after each line using $LINENO; the second 'sed'
   2002   # does the real work.  The second script uses 'N' to pair each
   2003   # line-number line with the line containing $LINENO, and appends
   2004   # trailing '-' during substitution so that $LINENO is not a special
   2005   # case at line end.
   2006   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   2007   # scripts with optimization help from Paolo Bonzini.  Blame Lee
   2008   # E. McMahon (1931-1989) for sed's syntax.  :-)
   2009   sed -n '
   2010     p
   2011     /[$]LINENO/=
   2012   ' <$as_myself |
   2013     sed '
   2014       s/[$]LINENO.*/&-/
   2015       t lineno
   2016       b
   2017       :lineno
   2018       N
   2019       :loop
   2020       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
   2021       t loop
   2022       s/-\n.*//
   2023     ' >$as_me.lineno &&
   2024   chmod +x "$as_me.lineno" ||
   2025     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
   2026    { (exit 1); exit 1; }; }
   2027 
   2028   # Don't try to exec as it changes $[0], causing all sort of problems
   2029   # (the dirname of $[0] is not the place where we might find the
   2030   # original and so on.  Autoconf is especially sensitive to this).
   2031   . "./$as_me.lineno"
   2032   # Exit status is that of the last command.
   2033   exit
   2034 }
   2035 
   2036 
   2037 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   2038   as_dirname=dirname
   2039 else
   2040   as_dirname=false
   2041 fi
   2042 
   2043 ECHO_C= ECHO_N= ECHO_T=
   2044 case `echo -n x` in
   2045 -n*)
   2046   case `echo 'x\c'` in
   2047   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   2048   *)   ECHO_C='\c';;
   2049   esac;;
   2050 *)
   2051   ECHO_N='-n';;
   2052 esac
   2053 
   2054 if expr a : '\(a\)' >/dev/null 2>&1 &&
   2055    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   2056   as_expr=expr
   2057 else
   2058   as_expr=false
   2059 fi
   2060 
   2061 rm -f conf$$ conf$$.exe conf$$.file
   2062 if test -d conf$$.dir; then
   2063   rm -f conf$$.dir/conf$$.file
   2064 else
   2065   rm -f conf$$.dir
   2066   mkdir conf$$.dir
   2067 fi
   2068 echo >conf$$.file
   2069 if ln -s conf$$.file conf$$ 2>/dev/null; then
   2070   as_ln_s='ln -s'
   2071   # ... but there are two gotchas:
   2072   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   2073   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   2074   # In both cases, we have to default to `cp -p'.
   2075   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   2076     as_ln_s='cp -p'
   2077 elif ln conf$$.file conf$$ 2>/dev/null; then
   2078   as_ln_s=ln
   2079 else
   2080   as_ln_s='cp -p'
   2081 fi
   2082 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   2083 rmdir conf$$.dir 2>/dev/null
   2084 
   2085 if mkdir -p . 2>/dev/null; then
   2086   as_mkdir_p=:
   2087 else
   2088   test -d ./-p && rmdir ./-p
   2089   as_mkdir_p=false
   2090 fi
   2091 
   2092 # Find out whether ``test -x'' works.  Don't use a zero-byte file, as
   2093 # systems may use methods other than mode bits to determine executability.
   2094 cat >conf$$.file <<_ASEOF
   2095 #! /bin/sh
   2096 exit 0
   2097 _ASEOF
   2098 chmod +x conf$$.file
   2099 if test -x conf$$.file >/dev/null 2>&1; then
   2100   as_executable_p="test -x"
   2101 else
   2102   as_executable_p=:
   2103 fi
   2104 rm -f conf$$.file
   2105 
   2106 # Sed expression to map a string onto a valid CPP name.
   2107 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   2108 
   2109 # Sed expression to map a string onto a valid variable name.
   2110 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   2111 
   2112 
   2113 exec 6>&1
   2114 
   2115 # Save the log message, to keep $[0] and so on meaningful, and to
   2116 # report actual input values of CONFIG_FILES etc. instead of their
   2117 # values after options handling.
   2118 ac_log="
   2119 This file was extended by [SAMPLE] $as_me [x.xx], which was
   2120 generated by GNU Autoconf 2.60.  Invocation command line was
   2121 
   2122   CONFIG_FILES    = $CONFIG_FILES
   2123   CONFIG_HEADERS  = $CONFIG_HEADERS
   2124   CONFIG_LINKS    = $CONFIG_LINKS
   2125   CONFIG_COMMANDS = $CONFIG_COMMANDS
   2126   $ $0 $@
   2127 
   2128 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   2129 "
   2130 
   2131 _ACEOF
   2132 
   2133 cat >>$CONFIG_STATUS <<_ACEOF
   2134 # Files that config.status was made for.
   2135 config_files="$ac_config_files"
   2136 config_commands="$ac_config_commands"
   2137 
   2138 _ACEOF
   2139 
   2140 cat >>$CONFIG_STATUS <<\_ACEOF
   2141 ac_cs_usage="\
   2142 \`$as_me' instantiates files from templates according to the
   2143 current configuration.
   2144 
   2145 Usage: $0 [OPTIONS] [FILE]...
   2146 
   2147   -h, --help       print this help, then exit
   2148   -V, --version    print version number, then exit
   2149   -q, --quiet      do not print progress messages
   2150   -d, --debug      don't remove temporary files
   2151       --recheck    update $as_me by reconfiguring in the same conditions
   2152   --file=FILE[:TEMPLATE]
   2153 		   instantiate the configuration file FILE
   2154 
   2155 Configuration files:
   2156 $config_files
   2157 
   2158 Configuration commands:
   2159 $config_commands
   2160 
   2161 Report bugs to <bug-autoconf@gnu.org>."
   2162 
   2163 _ACEOF
   2164 cat >>$CONFIG_STATUS <<_ACEOF
   2165 ac_cs_version="\\
   2166 [SAMPLE] config.status [x.xx]
   2167 configured by $0, generated by GNU Autoconf 2.60,
   2168   with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
   2169 
   2170 Copyright (C) 2006 Free Software Foundation, Inc.
   2171 This config.status script is free software; the Free Software Foundation
   2172 gives unlimited permission to copy, distribute and modify it."
   2173 
   2174 ac_pwd='$ac_pwd'
   2175 srcdir='$srcdir'
   2176 _ACEOF
   2177 
   2178 cat >>$CONFIG_STATUS <<\_ACEOF
   2179 # If no file are specified by the user, then we need to provide default
   2180 # value.  By we need to know if files were specified by the user.
   2181 ac_need_defaults=:
   2182 while test $# != 0
   2183 do
   2184   case $1 in
   2185   --*=*)
   2186     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   2187     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   2188     ac_shift=:
   2189     ;;
   2190   *)
   2191     ac_option=$1
   2192     ac_optarg=$2
   2193     ac_shift=shift
   2194     ;;
   2195   esac
   2196 
   2197   case $ac_option in
   2198   # Handling of the options.
   2199   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   2200     ac_cs_recheck=: ;;
   2201   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   2202     echo "$ac_cs_version"; exit ;;
   2203   --debug | --debu | --deb | --de | --d | -d )
   2204     debug=: ;;
   2205   --file | --fil | --fi | --f )
   2206     $ac_shift
   2207     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
   2208     ac_need_defaults=false;;
   2209   --he | --h |  --help | --hel | -h )
   2210     echo "$ac_cs_usage"; exit ;;
   2211   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2212   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   2213     ac_cs_silent=: ;;
   2214 
   2215   # This is an error.
   2216   -*) { echo "$as_me: error: unrecognized option: $1
   2217 Try \`$0 --help' for more information." >&2
   2218    { (exit 1); exit 1; }; } ;;
   2219 
   2220   *) ac_config_targets="$ac_config_targets $1"
   2221      ac_need_defaults=false ;;
   2222 
   2223   esac
   2224   shift
   2225 done
   2226 
   2227 ac_configure_extra_args=
   2228 
   2229 if $ac_cs_silent; then
   2230   exec 6>/dev/null
   2231   ac_configure_extra_args="$ac_configure_extra_args --silent"
   2232 fi
   2233 
   2234 _ACEOF
   2235 cat >>$CONFIG_STATUS <<_ACEOF
   2236 if \$ac_cs_recheck; then
   2237   echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
   2238   CONFIG_SHELL=$SHELL
   2239   export CONFIG_SHELL
   2240   exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   2241 fi
   2242 
   2243 _ACEOF
   2244 cat >>$CONFIG_STATUS <<\_ACEOF
   2245 exec 5>>config.log
   2246 {
   2247   echo
   2248   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   2249 ## Running $as_me. ##
   2250 _ASBOX
   2251   echo "$ac_log"
   2252 } >&5
   2253 
   2254 _ACEOF
   2255 cat >>$CONFIG_STATUS <<_ACEOF
   2256 #
   2257 # INIT-COMMANDS
   2258 #
   2259 llvm_src="${LLVM_SRC}"
   2260 
   2261 _ACEOF
   2262 
   2263 cat >>$CONFIG_STATUS <<\_ACEOF
   2264 
   2265 # Handling of arguments.
   2266 for ac_config_target in $ac_config_targets
   2267 do
   2268   case $ac_config_target in
   2269     "setup") CONFIG_COMMANDS="$CONFIG_COMMANDS setup" ;;
   2270     "Makefile.common") CONFIG_FILES="$CONFIG_FILES Makefile.common" ;;
   2271     "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
   2272     "lib/Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Makefile" ;;
   2273     "lib/sample/Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS lib/sample/Makefile" ;;
   2274     "tools/Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/Makefile" ;;
   2275     "tools/sample/Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/sample/Makefile" ;;
   2276 
   2277   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
   2278 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
   2279    { (exit 1); exit 1; }; };;
   2280   esac
   2281 done
   2282 
   2283 
   2284 # If the user did not use the arguments to specify the items to instantiate,
   2285 # then the envvar interface is used.  Set only those that are not.
   2286 # We use the long form for the default assignment because of an extremely
   2287 # bizarre bug on SunOS 4.1.3.
   2288 if $ac_need_defaults; then
   2289   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   2290   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   2291 fi
   2292 
   2293 # Have a temporary directory for convenience.  Make it in the build tree
   2294 # simply because there is no reason against having it here, and in addition,
   2295 # creating and moving files from /tmp can sometimes cause problems.
   2296 # Hook for its removal unless debugging.
   2297 # Note that there is a small window in which the directory will not be cleaned:
   2298 # after its creation but before its name has been assigned to `$tmp'.
   2299 $debug ||
   2300 {
   2301   tmp=
   2302   trap 'exit_status=$?
   2303   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
   2304 ' 0
   2305   trap '{ (exit 1); exit 1; }' 1 2 13 15
   2306 }
   2307 # Create a (secure) tmp directory for tmp files.
   2308 
   2309 {
   2310   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   2311   test -n "$tmp" && test -d "$tmp"
   2312 }  ||
   2313 {
   2314   tmp=./conf$$-$RANDOM
   2315   (umask 077 && mkdir "$tmp")
   2316 } ||
   2317 {
   2318    echo "$me: cannot create a temporary directory in ." >&2
   2319    { (exit 1); exit 1; }
   2320 }
   2321 
   2322 #
   2323 # Set up the sed scripts for CONFIG_FILES section.
   2324 #
   2325 
   2326 # No need to generate the scripts if there are no CONFIG_FILES.
   2327 # This happens for instance when ./config.status config.h
   2328 if test -n "$CONFIG_FILES"; then
   2329 
   2330 _ACEOF
   2331 
   2332 
   2333 
   2334 ac_delim='%!_!# '
   2335 for ac_last_try in false false false false false :; do
   2336   cat >conf$$subs.sed <<_ACEOF
   2337 SHELL!$SHELL$ac_delim
   2338 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
   2339 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
   2340 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
   2341 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
   2342 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
   2343 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
   2344 exec_prefix!$exec_prefix$ac_delim
   2345 prefix!$prefix$ac_delim
   2346 program_transform_name!$program_transform_name$ac_delim
   2347 bindir!$bindir$ac_delim
   2348 sbindir!$sbindir$ac_delim
   2349 libexecdir!$libexecdir$ac_delim
   2350 datarootdir!$datarootdir$ac_delim
   2351 datadir!$datadir$ac_delim
   2352 sysconfdir!$sysconfdir$ac_delim
   2353 sharedstatedir!$sharedstatedir$ac_delim
   2354 localstatedir!$localstatedir$ac_delim
   2355 includedir!$includedir$ac_delim
   2356 oldincludedir!$oldincludedir$ac_delim
   2357 docdir!$docdir$ac_delim
   2358 infodir!$infodir$ac_delim
   2359 htmldir!$htmldir$ac_delim
   2360 dvidir!$dvidir$ac_delim
   2361 pdfdir!$pdfdir$ac_delim
   2362 psdir!$psdir$ac_delim
   2363 libdir!$libdir$ac_delim
   2364 localedir!$localedir$ac_delim
   2365 mandir!$mandir$ac_delim
   2366 DEFS!$DEFS$ac_delim
   2367 ECHO_C!$ECHO_C$ac_delim
   2368 ECHO_N!$ECHO_N$ac_delim
   2369 ECHO_T!$ECHO_T$ac_delim
   2370 LIBS!$LIBS$ac_delim
   2371 build_alias!$build_alias$ac_delim
   2372 host_alias!$host_alias$ac_delim
   2373 target_alias!$target_alias$ac_delim
   2374 LLVM_SRC!$LLVM_SRC$ac_delim
   2375 LLVM_OBJ!$LLVM_OBJ$ac_delim
   2376 LIBOBJS!$LIBOBJS$ac_delim
   2377 LTLIBOBJS!$LTLIBOBJS$ac_delim
   2378 _ACEOF
   2379 
   2380   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 41; then
   2381     break
   2382   elif $ac_last_try; then
   2383     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   2384 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   2385    { (exit 1); exit 1; }; }
   2386   else
   2387     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   2388   fi
   2389 done
   2390 
   2391 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
   2392 if test -n "$ac_eof"; then
   2393   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
   2394   ac_eof=`expr $ac_eof + 1`
   2395 fi
   2396 
   2397 cat >>$CONFIG_STATUS <<_ACEOF
   2398 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
   2399 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
   2400 _ACEOF
   2401 sed '
   2402 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
   2403 s/^/s,@/; s/!/@,|#_!!_#|/
   2404 :n
   2405 t n
   2406 s/'"$ac_delim"'$/,g/; t
   2407 s/$/\\/; p
   2408 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
   2409 ' >>$CONFIG_STATUS <conf$$subs.sed
   2410 rm -f conf$$subs.sed
   2411 cat >>$CONFIG_STATUS <<_ACEOF
   2412 :end
   2413 s/|#_!!_#|//g
   2414 CEOF$ac_eof
   2415 _ACEOF
   2416 
   2417 
   2418 # VPATH may cause trouble with some makes, so we remove $(srcdir),
   2419 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   2420 # trailing colons and then remove the whole line if VPATH becomes empty
   2421 # (actually we leave an empty line to preserve line numbers).
   2422 if test "x$srcdir" = x.; then
   2423   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
   2424 s/:*\$(srcdir):*/:/
   2425 s/:*\${srcdir}:*/:/
   2426 s/:*@srcdir@:*/:/
   2427 s/^\([^=]*=[	 ]*\):*/\1/
   2428 s/:*$//
   2429 s/^[^=]*=[	 ]*$//
   2430 }'
   2431 fi
   2432 
   2433 cat >>$CONFIG_STATUS <<\_ACEOF
   2434 fi # test -n "$CONFIG_FILES"
   2435 
   2436 
   2437 for ac_tag in  :F $CONFIG_FILES      :C $CONFIG_COMMANDS
   2438 do
   2439   case $ac_tag in
   2440   :[FHLC]) ac_mode=$ac_tag; continue;;
   2441   esac
   2442   case $ac_mode$ac_tag in
   2443   :[FHL]*:*);;
   2444   :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
   2445 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
   2446    { (exit 1); exit 1; }; };;
   2447   :[FH]-) ac_tag=-:-;;
   2448   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   2449   esac
   2450   ac_save_IFS=$IFS
   2451   IFS=:
   2452   set x $ac_tag
   2453   IFS=$ac_save_IFS
   2454   shift
   2455   ac_file=$1
   2456   shift
   2457 
   2458   case $ac_mode in
   2459   :L) ac_source=$1;;
   2460   :[FH])
   2461     ac_file_inputs=
   2462     for ac_f
   2463     do
   2464       case $ac_f in
   2465       -) ac_f="$tmp/stdin";;
   2466       *) # Look for the file first in the build tree, then in the source tree
   2467 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   2468 	 # because $ac_f cannot contain `:'.
   2469 	 test -f "$ac_f" ||
   2470 	   case $ac_f in
   2471 	   [\\/$]*) false;;
   2472 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   2473 	   esac ||
   2474 	   { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
   2475 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
   2476    { (exit 1); exit 1; }; };;
   2477       esac
   2478       ac_file_inputs="$ac_file_inputs $ac_f"
   2479     done
   2480 
   2481     # Let's still pretend it is `configure' which instantiates (i.e., don't
   2482     # use $as_me), people would be surprised to read:
   2483     #    /* config.h.  Generated by config.status.  */
   2484     configure_input="Generated from "`IFS=:
   2485 	  echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
   2486     if test x"$ac_file" != x-; then
   2487       configure_input="$ac_file.  $configure_input"
   2488       { echo "$as_me:$LINENO: creating $ac_file" >&5
   2489 echo "$as_me: creating $ac_file" >&6;}
   2490     fi
   2491 
   2492     case $ac_tag in
   2493     *:-:* | *:-) cat >"$tmp/stdin";;
   2494     esac
   2495     ;;
   2496   esac
   2497 
   2498   ac_dir=`$as_dirname -- "$ac_file" ||
   2499 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   2500 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   2501 	 X"$ac_file" : 'X\(//\)$' \| \
   2502 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   2503 echo X"$ac_file" |
   2504     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   2505 	    s//\1/
   2506 	    q
   2507 	  }
   2508 	  /^X\(\/\/\)[^/].*/{
   2509 	    s//\1/
   2510 	    q
   2511 	  }
   2512 	  /^X\(\/\/\)$/{
   2513 	    s//\1/
   2514 	    q
   2515 	  }
   2516 	  /^X\(\/\).*/{
   2517 	    s//\1/
   2518 	    q
   2519 	  }
   2520 	  s/.*/./; q'`
   2521   { as_dir="$ac_dir"
   2522   case $as_dir in #(
   2523   -*) as_dir=./$as_dir;;
   2524   esac
   2525   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   2526     as_dirs=
   2527     while :; do
   2528       case $as_dir in #(
   2529       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
   2530       *) as_qdir=$as_dir;;
   2531       esac
   2532       as_dirs="'$as_qdir' $as_dirs"
   2533       as_dir=`$as_dirname -- "$as_dir" ||
   2534 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   2535 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   2536 	 X"$as_dir" : 'X\(//\)$' \| \
   2537 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   2538 echo X"$as_dir" |
   2539     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   2540 	    s//\1/
   2541 	    q
   2542 	  }
   2543 	  /^X\(\/\/\)[^/].*/{
   2544 	    s//\1/
   2545 	    q
   2546 	  }
   2547 	  /^X\(\/\/\)$/{
   2548 	    s//\1/
   2549 	    q
   2550 	  }
   2551 	  /^X\(\/\).*/{
   2552 	    s//\1/
   2553 	    q
   2554 	  }
   2555 	  s/.*/./; q'`
   2556       test -d "$as_dir" && break
   2557     done
   2558     test -z "$as_dirs" || eval "mkdir $as_dirs"
   2559   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   2560 echo "$as_me: error: cannot create directory $as_dir" >&2;}
   2561    { (exit 1); exit 1; }; }; }
   2562   ac_builddir=.
   2563 
   2564 case "$ac_dir" in
   2565 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   2566 *)
   2567   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
   2568   # A ".." for each directory in $ac_dir_suffix.
   2569   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
   2570   case $ac_top_builddir_sub in
   2571   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   2572   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   2573   esac ;;
   2574 esac
   2575 ac_abs_top_builddir=$ac_pwd
   2576 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   2577 # for backward compatibility:
   2578 ac_top_builddir=$ac_top_build_prefix
   2579 
   2580 case $srcdir in
   2581   .)  # We are building in place.
   2582     ac_srcdir=.
   2583     ac_top_srcdir=$ac_top_builddir_sub
   2584     ac_abs_top_srcdir=$ac_pwd ;;
   2585   [\\/]* | ?:[\\/]* )  # Absolute name.
   2586     ac_srcdir=$srcdir$ac_dir_suffix;
   2587     ac_top_srcdir=$srcdir
   2588     ac_abs_top_srcdir=$srcdir ;;
   2589   *) # Relative name.
   2590     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   2591     ac_top_srcdir=$ac_top_build_prefix$srcdir
   2592     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   2593 esac
   2594 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   2595 
   2596 
   2597   case $ac_mode in
   2598   :F)
   2599   #
   2600   # CONFIG_FILE
   2601   #
   2602 
   2603 _ACEOF
   2604 
   2605 cat >>$CONFIG_STATUS <<\_ACEOF
   2606 # If the template does not know about datarootdir, expand it.
   2607 # FIXME: This hack should be removed a few years after 2.60.
   2608 ac_datarootdir_hack=; ac_datarootdir_seen=
   2609 
   2610 case `sed -n '/datarootdir/ {
   2611   p
   2612   q
   2613 }
   2614 /@datadir@/p
   2615 /@docdir@/p
   2616 /@infodir@/p
   2617 /@localedir@/p
   2618 /@mandir@/p
   2619 ' $ac_file_inputs` in
   2620 *datarootdir*) ac_datarootdir_seen=yes;;
   2621 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   2622   { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   2623 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   2624 _ACEOF
   2625 cat >>$CONFIG_STATUS <<_ACEOF
   2626   ac_datarootdir_hack='
   2627   s&@datadir@&$datadir&g
   2628   s&@docdir@&$docdir&g
   2629   s&@infodir@&$infodir&g
   2630   s&@localedir@&$localedir&g
   2631   s&@mandir@&$mandir&g
   2632     s&\\\${datarootdir}&$datarootdir&g' ;;
   2633 esac
   2634 _ACEOF
   2635 
   2636 # Neutralize VPATH when `$srcdir' = `.'.
   2637 # Shell code in configure.ac might set extrasub.
   2638 # FIXME: do we really want to maintain this feature?
   2639 cat >>$CONFIG_STATUS <<_ACEOF
   2640   sed "$ac_vpsub
   2641 $extrasub
   2642 _ACEOF
   2643 cat >>$CONFIG_STATUS <<\_ACEOF
   2644 :t
   2645 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   2646 s&@configure_input@&$configure_input&;t t
   2647 s&@top_builddir@&$ac_top_builddir_sub&;t t
   2648 s&@srcdir@&$ac_srcdir&;t t
   2649 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   2650 s&@top_srcdir@&$ac_top_srcdir&;t t
   2651 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   2652 s&@builddir@&$ac_builddir&;t t
   2653 s&@abs_builddir@&$ac_abs_builddir&;t t
   2654 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   2655 $ac_datarootdir_hack
   2656 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
   2657 
   2658 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   2659   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
   2660   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
   2661   { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   2662 which seems to be undefined.  Please make sure it is defined." >&5
   2663 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   2664 which seems to be undefined.  Please make sure it is defined." >&2;}
   2665 
   2666   rm -f "$tmp/stdin"
   2667   case $ac_file in
   2668   -) cat "$tmp/out"; rm -f "$tmp/out";;
   2669   *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
   2670   esac
   2671  ;;
   2672 
   2673 
   2674   :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
   2675 echo "$as_me: executing $ac_file commands" >&6;}
   2676  ;;
   2677   esac
   2678 
   2679 
   2680   case $ac_file$ac_mode in
   2681     "Makefile":C) ${llvm_src}/autoconf/mkinstalldirs `dirname Makefile`
   2682    ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/Makefile Makefile ;;
   2683     "lib/Makefile":C) ${llvm_src}/autoconf/mkinstalldirs `dirname lib/Makefile`
   2684    ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/lib/Makefile lib/Makefile ;;
   2685     "lib/sample/Makefile":C) ${llvm_src}/autoconf/mkinstalldirs `dirname lib/sample/Makefile`
   2686    ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/lib/sample/Makefile lib/sample/Makefile ;;
   2687     "tools/Makefile":C) ${llvm_src}/autoconf/mkinstalldirs `dirname tools/Makefile`
   2688    ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/tools/Makefile tools/Makefile ;;
   2689     "tools/sample/Makefile":C) ${llvm_src}/autoconf/mkinstalldirs `dirname tools/sample/Makefile`
   2690    ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/tools/sample/Makefile tools/sample/Makefile ;;
   2691 
   2692   esac
   2693 done # for ac_tag
   2694 
   2695 
   2696 { (exit 0); exit 0; }
   2697 _ACEOF
   2698 chmod +x $CONFIG_STATUS
   2699 ac_clean_files=$ac_clean_files_save
   2700 
   2701 
   2702 # configure is writing to config.log, and then calls config.status.
   2703 # config.status does its own redirection, appending to config.log.
   2704 # Unfortunately, on DOS this fails, as config.log is still kept open
   2705 # by configure, so config.status won't be able to write to it; its
   2706 # output is simply discarded.  So we exec the FD to /dev/null,
   2707 # effectively closing config.log, so it can be properly (re)opened and
   2708 # appended to by config.status.  When coming back to configure, we
   2709 # need to make the FD available again.
   2710 if test "$no_create" != yes; then
   2711   ac_cs_success=:
   2712   ac_config_status_args=
   2713   test "$silent" = yes &&
   2714     ac_config_status_args="$ac_config_status_args --quiet"
   2715   exec 5>/dev/null
   2716   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   2717   exec 5>>config.log
   2718   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   2719   # would make configure fail if this is the last instruction.
   2720   $ac_cs_success || { (exit 1); exit 1; }
   2721 fi
   2722 
   2723