2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.60 for [SAMPLE] [x.xx].
5 # Report bugs to <bugs@yourdomain>.
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 ## --------------------- ##
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
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+"$@"}'='"$@"'
24 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
26 BIN_SH=xpg4; export BIN_SH # for Tru64
27 DUALCASE=1; export DUALCASE # for MKS sh
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
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
43 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
51 # Support unset when possible.
52 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
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.)
68 # Find who we are. Look in the path if we contain no directory separator.
70 *[\\/]* ) as_myself=$0 ;;
71 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
75 test -z "$as_dir" && as_dir=.
76 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
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
87 if test ! -f "$as_myself"; then
88 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
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
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 \
106 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
107 eval $as_var=C; export $as_var
109 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
113 # Required to use basename.
114 if expr a : '\(a\)' >/dev/null 2>&1 &&
115 test "X`expr 00001 : '.*\(...\)'`" = X001; then
121 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
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 ||
134 sed '/^.*\/\([^/][^/]*\)\/*$/{
152 if test "x$CONFIG_SHELL" = x; then
153 if (eval ":") 2>/dev/null; then
159 if test $as_have_required = yes && (eval ":
169 as_func_ret_success () {
172 as_func_ret_failure () {
177 if as_func_success; then
181 echo as_func_success failed.
184 if as_func_failure; then
186 echo as_func_failure succeeded.
189 if as_func_ret_success; then
193 echo as_func_ret_success failed.
196 if as_func_ret_failure; then
198 echo as_func_ret_failure succeeded.
201 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
205 echo positional parameters were not saved.
208 test \$exitcode = 0) || { (exit 1); exit 1; }
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
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
223 test -z "$as_dir" && as_dir=.
226 for as_base in sh bash ksh sh5; do
227 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
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
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+"$@"}'='"$@"'
247 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
249 BIN_SH=xpg4; export BIN_SH # for Tru64
250 DUALCASE=1; export DUALCASE # for MKS sh
255 CONFIG_SHELL=$as_shell
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
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+"$@"}'='"$@"'
267 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
269 BIN_SH=xpg4; export BIN_SH # for Tru64
270 DUALCASE=1; export DUALCASE # for MKS sh
282 as_func_ret_success () {
285 as_func_ret_failure () {
290 if as_func_success; then
294 echo as_func_success failed.
297 if as_func_failure; then
299 echo as_func_failure succeeded.
302 if as_func_ret_success; then
306 echo as_func_ret_success failed.
309 if as_func_ret_failure; then
311 echo as_func_ret_failure succeeded.
314 if ( set x; as_func_ret_success y && test x = "$1" ); then
318 echo positional parameters were not saved.
321 test $exitcode = 0) || { (exit 1); exit 1; }
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; }
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
343 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
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; }
362 (eval "as_func_return () {
371 as_func_ret_success () {
374 as_func_ret_failure () {
379 if as_func_success; then
383 echo as_func_success failed.
386 if as_func_failure; then
388 echo as_func_failure succeeded.
391 if as_func_ret_success; then
395 echo as_func_ret_success failed.
398 if as_func_ret_failure; then
400 echo as_func_ret_failure succeeded.
403 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
407 echo positional parameters were not saved.
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
421 test "x$as_lineno_1" != "x$as_lineno_2" &&
422 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
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
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. :-)
445 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
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; }; }
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).
457 # Exit status is that of the last command.
462 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
468 ECHO_C= ECHO_N= ECHO_T=
472 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
479 if expr a : '\(a\)' >/dev/null 2>&1 &&
480 test "X`expr 00001 : '.*\(...\)'`" = X001; then
486 rm -f conf$$ conf$$.exe conf$$.file
487 if test -d conf$$.dir; then
488 rm -f conf$$.dir/conf$$.file
494 if ln -s conf$$.file conf$$ 2>/dev/null; then
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 ||
502 elif ln conf$$.file conf$$ 2>/dev/null; then
507 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
508 rmdir conf$$.dir 2>/dev/null
510 if mkdir -p . 2>/dev/null; then
513 test -d ./-p && rmdir ./-p
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
524 if test -x conf$$.file >/dev/null 2>&1; then
525 as_executable_p="test -x"
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'"
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'"
539 exec 7<&0 </dev/null 6>&1
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`
549 ac_default_prefix=/usr/local
551 ac_config_libobj_dir=.
557 SHELL=${CONFIG_SHELL-/bin/sh}
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'
566 ac_unique_file=""Makefile.common.in""
576 program_transform_name
609 ac_precious_vars='build_alias
614 # Initialize some variables set by options.
616 ac_init_version=false
617 # The variables have the same names as the options, with
618 # dashes changed to underlines.
626 program_transform_name=s,x,x,
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'
656 libdir='${exec_prefix}/lib'
657 localedir='${datarootdir}/locale'
658 mandir='${datarootdir}/man'
664 # If the previous option needs an argument, assign it.
665 if test -n "$ac_prev"; then
666 eval $ac_prev=\$ac_option
672 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
676 # Accept the important Cygnus configure options, so we can diagnose typos.
678 case $ac_dashdash$ac_option in
682 -bindir | --bindir | --bindi | --bind | --bin | --bi)
684 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
687 -build | --build | --buil | --bui | --bu)
688 ac_prev=build_alias ;;
689 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
690 build_alias=$ac_optarg ;;
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 ;;
700 cache_file=config.cache ;;
702 -datadir | --datadir | --datadi | --datad)
704 -datadir=* | --datadir=* | --datadi=* | --datad=*)
705 datadir=$ac_optarg ;;
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 ;;
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 ;;
723 -docdir | --docdir | --docdi | --doc | --do)
725 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
728 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
730 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
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 ;;
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 ;;
751 -gas | --gas | --ga | --g)
752 # Obsolete; use --with-gas.
755 -help | --help | --hel | --he | -h)
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 ;;
762 -host | --host | --hos | --ho)
763 ac_prev=host_alias ;;
764 -host=* | --host=* | --hos=* | --ho=*)
765 host_alias=$ac_optarg ;;
767 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
769 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
771 htmldir=$ac_optarg ;;
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 ;;
780 -infodir | --infodir | --infodi | --infod | --info | --inf)
782 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
783 infodir=$ac_optarg ;;
785 -libdir | --libdir | --libdi | --libd)
787 -libdir=* | --libdir=* | --libdi=* | --libd=*)
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 ;;
797 -localedir | --localedir | --localedi | --localed | --locale)
799 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
800 localedir=$ac_optarg ;;
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 ;;
809 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
811 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
815 # Obsolete; use --without-fp.
818 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
819 | --no-cr | --no-c | -n)
822 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
823 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
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 ;;
835 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
837 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
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 ;;
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 ;;
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 ;;
871 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
873 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
876 -psdir | --psdir | --psdi | --psd | --ps)
878 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
881 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
882 | -silent | --silent | --silen | --sile | --sil)
885 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
887 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
889 sbindir=$ac_optarg ;;
891 -sharedstatedir | --sharedstatedir | --sharedstatedi \
892 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
893 | --sharedst | --shareds | --shared | --share | --shar \
895 ac_prev=sharedstatedir ;;
896 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
897 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
898 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
900 sharedstatedir=$ac_optarg ;;
902 -site | --site | --sit)
904 -site=* | --site=* | --sit=*)
907 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
909 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
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 ;;
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 ;;
924 -v | -verbose | --verbose | --verbos | --verbo | --verb)
927 -version | --version | --versio | --versi | --vers | -V)
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 ;;
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 ;;
949 # Obsolete; use --with-x.
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 ;;
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 ;;
966 -*) { echo "$as_me: error: unrecognized option: $ac_option
967 Try \`$0 --help' for more information." >&2
968 { (exit 1); exit 1; }; }
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
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}
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; }; }
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
1003 eval ac_val=\$$ac_var
1005 [\\/$]* | ?:[\\/]* ) continue;;
1006 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1008 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1009 { (exit 1); exit 1; }; }
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.
1017 target=$target_alias
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
1031 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1033 test "$silent" = yes && exec 6>/dev/null
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; }; }
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 ||
1056 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1074 if test ! -r "$srcdir/$ac_unique_file"; then
1078 ac_srcdir_defaulted=no
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; }; }
1085 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1087 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1088 { (exit 1); exit 1; }; }
1090 # When building in place, set srcdir=.
1091 if test "$ac_abs_confdir" = "$ac_pwd"; then
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.
1098 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
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}
1108 # Report the --help message.
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.
1114 \`configure' configures [SAMPLE] [x.xx] to adapt to many kinds of systems.
1116 Usage: $0 [OPTION]... [VAR=VALUE]...
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.
1121 Defaults for the options are specified in brackets.
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 \`..']
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
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'.
1145 For better control, use the options below.
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]
1173 if test -n "$ac_init_help"; then
1174 case $ac_init_help in
1175 short | recursive ) echo "Configuration of [SAMPLE] [x.xx]:";;
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
1185 Report bugs to <bugs@yourdomain>.
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
1197 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
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/ ;;
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
1213 .) # We are building in place.
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 ;;
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 ;;
1226 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1228 cd "$ac_dir" || { ac_status=$?; continue; }
1229 # Check for guested configure.
1230 if test -f "$ac_srcdir/configure.gnu"; then
1232 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1233 elif test -f "$ac_srcdir/configure"; then
1235 $SHELL "$ac_srcdir/configure" --help=recursive
1237 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1239 cd "$ac_pwd" || { ac_status=$?; break; }
1243 test -n "$ac_init_help" && exit $ac_status
1244 if $ac_init_version; then
1246 [SAMPLE] configure [x.xx]
1247 generated by GNU Autoconf 2.60
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.
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.
1260 It was created by [SAMPLE] $as_me [x.xx], which was
1261 generated by GNU Autoconf 2.60. Invocation command line was
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`
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`
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`
1292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1296 test -z "$as_dir" && as_dir=.
1297 echo "PATH: $as_dir"
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.
1321 ac_must_keep_next=false
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)
1332 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1335 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
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.
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 ;;
1350 -* ) ac_must_keep_next=true ;;
1353 ac_configure_args="$ac_configure_args '$ac_arg'"
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; }
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.
1372 ## ---------------- ##
1373 ## Cache variables. ##
1374 ## ---------------- ##
1377 # The following way of writing the cache mishandles newlines in values,
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
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;} ;;
1388 _ | IFS | as_nl) ;; #(
1389 *) $as_unset $ac_var ;;
1394 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1395 *${as_nl}ac_space=\ *)
1397 "s/'\''/'\''\\\\'\'''\''/g;
1398 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1401 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1409 ## ----------------- ##
1410 ## Output variables. ##
1411 ## ----------------- ##
1414 for ac_var in $ac_subst_vars
1416 eval ac_val=\$$ac_var
1418 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1420 echo "$ac_var='\''$ac_val'\''"
1424 if test -n "$ac_subst_files"; then
1426 ## ------------------- ##
1427 ## File substitutions. ##
1428 ## ------------------- ##
1431 for ac_var in $ac_subst_files
1433 eval ac_val=\$$ac_var
1435 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1437 echo "$ac_var='\''$ac_val'\''"
1442 if test -s confdefs.h; then
1452 test "$ac_signal" != 0 &&
1453 echo "$as_me: caught signal $ac_signal"
1454 echo "$as_me: exit $exit_status"
1456 rm -f core *.core core.conftest.* &&
1457 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1460 for ac_signal in 1 2 13 15; do
1461 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1465 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1466 rm -f -r conftest* confdefs.h
1468 # Predefined preprocessor variables.
1470 cat >>confdefs.h <<_ACEOF
1471 #define PACKAGE_NAME "$PACKAGE_NAME"
1475 cat >>confdefs.h <<_ACEOF
1476 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1480 cat >>confdefs.h <<_ACEOF
1481 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1485 cat >>confdefs.h <<_ACEOF
1486 #define PACKAGE_STRING "$PACKAGE_STRING"
1490 cat >>confdefs.h <<_ACEOF
1491 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
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"
1502 set x "$ac_default_prefix/share/config.site" \
1503 "$ac_default_prefix/etc/config.site"
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
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;}
1523 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1524 *) . "./$cache_file";;
1528 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1529 echo "$as_me: creating cache $cache_file" >&6;}
1533 # Check that the precious variables saved in the cache have kept the same
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
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=: ;;
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=: ;;
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=:
1562 # Pass precious variables to config.status.
1563 if test "$ac_new_set" = set; then
1565 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1566 *) ac_arg=$ac_var=$ac_new_val ;;
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'" ;;
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; }; }
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
1614 LLVM_SRC_ROOT="../.."
1615 LLVM_OBJ_ROOT="../.."
1617 LLVM_ABS_SRC_ROOT="`cd $srcdir ; cd $LLVM_SRC_ROOT ; pwd`"
1618 LLVM_ABS_OBJ_ROOT="`cd $LLVM_OBJ_ROOT ; pwd`"
1621 # Check whether --with-llvmsrc was given.
1622 if test "${with_llvmsrc+set}" = set; then
1623 withval=$with_llvmsrc; llvm_src="$withval"
1625 llvm_src="$LLVM_ABS_SRC_ROOT"
1631 # Check whether --with-llvmobj was given.
1632 if test "${with_llvmobj+set}" = set; then
1633 withval=$with_llvmobj; llvm_obj="$withval"
1635 llvm_obj="$LLVM_ABS_OBJ_ROOT"
1640 ac_config_commands="$ac_config_commands setup"
1645 for ac_dir in $LLVM_SRC/autoconf "$srcdir"/$LLVM_SRC/autoconf; do
1646 if test -f "$ac_dir/install-sh"; then
1648 ac_install_sh="$ac_aux_dir/install-sh -c"
1650 elif test -f "$ac_dir/install.sh"; then
1652 ac_install_sh="$ac_aux_dir/install.sh -c"
1654 elif test -f "$ac_dir/shtool"; then
1656 ac_install_sh="$ac_aux_dir/shtool install -c"
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; }; }
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.
1678 ac_config_files="$ac_config_files Makefile.common"
1681 ac_config_commands="$ac_config_commands Makefile"
1684 ac_config_commands="$ac_config_commands lib/Makefile"
1687 ac_config_commands="$ac_config_commands lib/sample/Makefile"
1690 ac_config_commands="$ac_config_commands tools/Makefile"
1693 ac_config_commands="$ac_config_commands tools/sample/Makefile"
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.
1713 # config.status only pays attention to the cache file if you give it
1714 # the --recheck option to rerun configure.
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
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.
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
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;} ;;
1737 _ | IFS | as_nl) ;; #(
1738 *) $as_unset $ac_var ;;
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 \).
1750 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1753 # `set' quotes correctly as required by POSIX, so do not add quotes.
1754 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1763 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
1765 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
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
1774 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
1775 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
1780 test "x$prefix" = xNONE && prefix=$ac_default_prefix
1781 # Let make expand exec_prefix.
1782 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1784 # Transform confdefs.h into DEFS.
1785 # Protect against shell expansion while executing Makefile rules.
1786 # Protect against Makefile macro expansion.
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.
1794 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
1796 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
1800 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
1813 DEFS=`sed -n "$ac_script" confdefs.h`
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'
1829 LTLIBOBJS=$ac_ltlibobjs
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
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.
1848 SHELL=\${CONFIG_SHELL-$SHELL}
1851 cat >>$CONFIG_STATUS <<\_ACEOF
1852 ## --------------------- ##
1853 ## M4sh Initialization. ##
1854 ## --------------------- ##
1856 # Be Bourne compatible
1857 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
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
1865 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
1867 BIN_SH=xpg4; export BIN_SH # for Tru64
1868 DUALCASE=1; export DUALCASE # for MKS sh
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
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
1884 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
1892 # Support unset when possible.
1893 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
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.)
1909 # Find who we are. Look in the path if we contain no directory separator.
1911 *[\\/]* ) as_myself=$0 ;;
1912 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1916 test -z "$as_dir" && as_dir=.
1917 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
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
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; }
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
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
1947 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
1948 eval $as_var=C; export $as_var
1950 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
1954 # Required to use basename.
1955 if expr a : '\(a\)' >/dev/null 2>&1 &&
1956 test "X`expr 00001 : '.*\(...\)'`" = X001; then
1962 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
1963 as_basename=basename
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 ||
1975 sed '/^.*\/\([^/][^/]*\)\/*$/{
1996 test "x$as_lineno_1" != "x$as_lineno_2" &&
1997 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
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
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. :-)
2020 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
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; }; }
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).
2032 # Exit status is that of the last command.
2037 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2043 ECHO_C= ECHO_N= ECHO_T=
2046 case `echo 'x\c'` in
2047 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
2054 if expr a : '\(a\)' >/dev/null 2>&1 &&
2055 test "X`expr 00001 : '.*\(...\)'`" = X001; then
2061 rm -f conf$$ conf$$.exe conf$$.file
2062 if test -d conf$$.dir; then
2063 rm -f conf$$.dir/conf$$.file
2069 if ln -s conf$$.file conf$$ 2>/dev/null; then
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 ||
2077 elif ln conf$$.file conf$$ 2>/dev/null; then
2082 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2083 rmdir conf$$.dir 2>/dev/null
2085 if mkdir -p . 2>/dev/null; then
2088 test -d ./-p && rmdir ./-p
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
2098 chmod +x conf$$.file
2099 if test -x conf$$.file >/dev/null 2>&1; then
2100 as_executable_p="test -x"
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'"
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'"
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.
2119 This file was extended by [SAMPLE] $as_me [x.xx], which was
2120 generated by GNU Autoconf 2.60. Invocation command line was
2122 CONFIG_FILES = $CONFIG_FILES
2123 CONFIG_HEADERS = $CONFIG_HEADERS
2124 CONFIG_LINKS = $CONFIG_LINKS
2125 CONFIG_COMMANDS = $CONFIG_COMMANDS
2128 on `(hostname || uname -n) 2>/dev/null | sed 1q`
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"
2140 cat >>$CONFIG_STATUS <<\_ACEOF
2142 \`$as_me' instantiates files from templates according to the
2143 current configuration.
2145 Usage: $0 [OPTIONS] [FILE]...
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
2155 Configuration files:
2158 Configuration commands:
2161 Report bugs to <bug-autoconf@gnu.org>."
2164 cat >>$CONFIG_STATUS <<_ACEOF
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'`\\"
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."
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.
2186 ac_option=`expr "X$1" : 'X\([^=]*\)='`
2187 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
2198 # Handling of the options.
2199 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2201 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
2202 echo "$ac_cs_version"; exit ;;
2203 --debug | --debu | --deb | --de | --d | -d )
2205 --file | --fil | --fi | --f )
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)
2216 -*) { echo "$as_me: error: unrecognized option: $1
2217 Try \`$0 --help' for more information." >&2
2218 { (exit 1); exit 1; }; } ;;
2220 *) ac_config_targets="$ac_config_targets $1"
2221 ac_need_defaults=false ;;
2227 ac_configure_extra_args=
2229 if $ac_cs_silent; then
2231 ac_configure_extra_args="$ac_configure_extra_args --silent"
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
2240 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2244 cat >>$CONFIG_STATUS <<\_ACEOF
2248 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2249 ## Running $as_me. ##
2255 cat >>$CONFIG_STATUS <<_ACEOF
2259 llvm_src="${LLVM_SRC}"
2263 cat >>$CONFIG_STATUS <<\_ACEOF
2265 # Handling of arguments.
2266 for ac_config_target in $ac_config_targets
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" ;;
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; }; };;
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
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'.
2302 trap 'exit_status=$?
2303 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
2305 trap '{ (exit 1); exit 1; }' 1 2 13 15
2307 # Create a (secure) tmp directory for tmp files.
2310 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
2311 test -n "$tmp" && test -d "$tmp"
2314 tmp=./conf$$-$RANDOM
2315 (umask 077 && mkdir "$tmp")
2318 echo "$me: cannot create a temporary directory in ." >&2
2319 { (exit 1); exit 1; }
2323 # Set up the sed scripts for CONFIG_FILES section.
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
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
2367 ECHO_C!$ECHO_C$ac_delim
2368 ECHO_N!$ECHO_N$ac_delim
2369 ECHO_T!$ECHO_T$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
2380 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 41; then
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; }; }
2387 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
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`
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
2402 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
2403 s/^/s,@/; s/!/@,|#_!!_#|/
2406 s/'"$ac_delim"'$/,g/; t
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
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[ ]*=/{
2427 s/^\([^=]*=[ ]*\):*/\1/
2433 cat >>$CONFIG_STATUS <<\_ACEOF
2434 fi # test -n "$CONFIG_FILES"
2437 for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS
2440 :[FHLC]) ac_mode=$ac_tag; continue;;
2442 case $ac_mode$ac_tag in
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;;
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 `:'.
2472 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
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; }; };;
2478 ac_file_inputs="$ac_file_inputs $ac_f"
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;}
2493 *:-:* | *:-) cat >"$tmp/stdin";;
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 ||
2504 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2523 -*) as_dir=./$as_dir;;
2525 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
2529 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
2530 *) as_qdir=$as_dir;;
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 ||
2539 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2556 test -d "$as_dir" && break
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; }; }; }
2565 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
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/ ;;
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
2581 .) # We are building in place.
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 ;;
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 ;;
2594 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
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=
2610 case `sed -n '/datarootdir/ {
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;}
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' ;;
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
2643 cat >>$CONFIG_STATUS <<\_ACEOF
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
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;}
2668 -) cat "$tmp/out"; rm -f "$tmp/out";;
2669 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
2674 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
2675 echo "$as_me: executing $ac_file commands" >&6;}
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 ;;
2696 { (exit 0); exit 0; }
2698 chmod +x $CONFIG_STATUS
2699 ac_clean_files=$ac_clean_files_save
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
2712 ac_config_status_args=
2713 test "$silent" = yes &&
2714 ac_config_status_args="$ac_config_status_args --quiet"
2716 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
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; }