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""
567 # Factoring default headers for most tests.
568 ac_includes_default="\
571 # include <sys/types.h>
574 # include <sys/stat.h>
585 # if !STDC_HEADERS && HAVE_MEMORY_H
591 # include <strings.h>
594 # include <inttypes.h>
612 program_transform_name
691 ENABLE_EXPENSIVE_CHECKS
707 LLVM_ENUM_ASM_PRINTERS
708 LLVM_ENUM_ASM_PARSERS
709 LLVM_ENUM_DISASSEMBLERS
757 HAVE_LINK_VERSION_SCRIPT
760 CONVENIENCE_LTDL_TRUE
761 CONVENIENCE_LTDL_FALSE
764 NO_MISSING_FIELD_INITIALIZERS
765 COVERED_SWITCH_DEFAULT
786 ENABLE_VISIBILITY_INLINES_HIDDEN
792 ac_precious_vars='build_alias
803 ac_subdirs_all='tools/polly'
805 # Initialize some variables set by options.
807 ac_init_version=false
808 # The variables have the same names as the options, with
809 # dashes changed to underlines.
817 program_transform_name=s,x,x,
825 # Installation directory options.
826 # These are left unexpanded so users can "make install exec_prefix=/foo"
827 # and all the variables that are supposed to be based on exec_prefix
828 # by default will actually change.
829 # Use braces instead of parens because sh, perl, etc. also accept them.
830 # (The list follows the same order as the GNU Coding Standards.)
831 bindir='${exec_prefix}/bin'
832 sbindir='${exec_prefix}/sbin'
833 libexecdir='${exec_prefix}/libexec'
834 datarootdir='${prefix}/share'
835 datadir='${datarootdir}'
836 sysconfdir='${prefix}/etc'
837 sharedstatedir='${prefix}/com'
838 localstatedir='${prefix}/var'
839 includedir='${prefix}/include'
840 oldincludedir='/usr/include'
841 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
842 infodir='${datarootdir}/info'
847 libdir='${exec_prefix}/lib'
848 localedir='${datarootdir}/locale'
849 mandir='${datarootdir}/man'
855 # If the previous option needs an argument, assign it.
856 if test -n "$ac_prev"; then
857 eval $ac_prev=\$ac_option
863 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
867 # Accept the important Cygnus configure options, so we can diagnose typos.
869 case $ac_dashdash$ac_option in
873 -bindir | --bindir | --bindi | --bind | --bin | --bi)
875 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
878 -build | --build | --buil | --bui | --bu)
879 ac_prev=build_alias ;;
880 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
881 build_alias=$ac_optarg ;;
883 -cache-file | --cache-file | --cache-fil | --cache-fi \
884 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
885 ac_prev=cache_file ;;
886 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
887 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
888 cache_file=$ac_optarg ;;
891 cache_file=config.cache ;;
893 -datadir | --datadir | --datadi | --datad)
895 -datadir=* | --datadir=* | --datadi=* | --datad=*)
896 datadir=$ac_optarg ;;
898 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
899 | --dataroo | --dataro | --datar)
900 ac_prev=datarootdir ;;
901 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
902 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
903 datarootdir=$ac_optarg ;;
905 -disable-* | --disable-*)
906 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
907 # Reject names that are not valid shell variable names.
908 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
909 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
910 { (exit 1); exit 1; }; }
911 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
912 eval enable_$ac_feature=no ;;
914 -docdir | --docdir | --docdi | --doc | --do)
916 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
919 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
921 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
924 -enable-* | --enable-*)
925 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
926 # Reject names that are not valid shell variable names.
927 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
928 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
929 { (exit 1); exit 1; }; }
930 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
931 eval enable_$ac_feature=\$ac_optarg ;;
933 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
934 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
935 | --exec | --exe | --ex)
936 ac_prev=exec_prefix ;;
937 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
938 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
939 | --exec=* | --exe=* | --ex=*)
940 exec_prefix=$ac_optarg ;;
942 -gas | --gas | --ga | --g)
943 # Obsolete; use --with-gas.
946 -help | --help | --hel | --he | -h)
948 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
949 ac_init_help=recursive ;;
950 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
951 ac_init_help=short ;;
953 -host | --host | --hos | --ho)
954 ac_prev=host_alias ;;
955 -host=* | --host=* | --hos=* | --ho=*)
956 host_alias=$ac_optarg ;;
958 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
960 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
962 htmldir=$ac_optarg ;;
964 -includedir | --includedir | --includedi | --included | --include \
965 | --includ | --inclu | --incl | --inc)
966 ac_prev=includedir ;;
967 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
968 | --includ=* | --inclu=* | --incl=* | --inc=*)
969 includedir=$ac_optarg ;;
971 -infodir | --infodir | --infodi | --infod | --info | --inf)
973 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
974 infodir=$ac_optarg ;;
976 -libdir | --libdir | --libdi | --libd)
978 -libdir=* | --libdir=* | --libdi=* | --libd=*)
981 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
982 | --libexe | --libex | --libe)
983 ac_prev=libexecdir ;;
984 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
985 | --libexe=* | --libex=* | --libe=*)
986 libexecdir=$ac_optarg ;;
988 -localedir | --localedir | --localedi | --localed | --locale)
990 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
991 localedir=$ac_optarg ;;
993 -localstatedir | --localstatedir | --localstatedi | --localstated \
994 | --localstate | --localstat | --localsta | --localst | --locals)
995 ac_prev=localstatedir ;;
996 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
997 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
998 localstatedir=$ac_optarg ;;
1000 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1002 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1003 mandir=$ac_optarg ;;
1005 -nfp | --nfp | --nf)
1006 # Obsolete; use --without-fp.
1009 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1010 | --no-cr | --no-c | -n)
1013 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1014 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1017 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1018 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1019 | --oldin | --oldi | --old | --ol | --o)
1020 ac_prev=oldincludedir ;;
1021 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1022 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1023 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1024 oldincludedir=$ac_optarg ;;
1026 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1028 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1029 prefix=$ac_optarg ;;
1031 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1032 | --program-pre | --program-pr | --program-p)
1033 ac_prev=program_prefix ;;
1034 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1035 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1036 program_prefix=$ac_optarg ;;
1038 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1039 | --program-suf | --program-su | --program-s)
1040 ac_prev=program_suffix ;;
1041 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1042 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1043 program_suffix=$ac_optarg ;;
1045 -program-transform-name | --program-transform-name \
1046 | --program-transform-nam | --program-transform-na \
1047 | --program-transform-n | --program-transform- \
1048 | --program-transform | --program-transfor \
1049 | --program-transfo | --program-transf \
1050 | --program-trans | --program-tran \
1051 | --progr-tra | --program-tr | --program-t)
1052 ac_prev=program_transform_name ;;
1053 -program-transform-name=* | --program-transform-name=* \
1054 | --program-transform-nam=* | --program-transform-na=* \
1055 | --program-transform-n=* | --program-transform-=* \
1056 | --program-transform=* | --program-transfor=* \
1057 | --program-transfo=* | --program-transf=* \
1058 | --program-trans=* | --program-tran=* \
1059 | --progr-tra=* | --program-tr=* | --program-t=*)
1060 program_transform_name=$ac_optarg ;;
1062 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1064 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1065 pdfdir=$ac_optarg ;;
1067 -psdir | --psdir | --psdi | --psd | --ps)
1069 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1072 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1073 | -silent | --silent | --silen | --sile | --sil)
1076 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1078 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1080 sbindir=$ac_optarg ;;
1082 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1083 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1084 | --sharedst | --shareds | --shared | --share | --shar \
1086 ac_prev=sharedstatedir ;;
1087 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1088 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1089 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1091 sharedstatedir=$ac_optarg ;;
1093 -site | --site | --sit)
1095 -site=* | --site=* | --sit=*)
1098 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1100 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1101 srcdir=$ac_optarg ;;
1103 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1104 | --syscon | --sysco | --sysc | --sys | --sy)
1105 ac_prev=sysconfdir ;;
1106 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1107 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1108 sysconfdir=$ac_optarg ;;
1110 -target | --target | --targe | --targ | --tar | --ta | --t)
1111 ac_prev=target_alias ;;
1112 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1113 target_alias=$ac_optarg ;;
1115 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1118 -version | --version | --versio | --versi | --vers | -V)
1119 ac_init_version=: ;;
1122 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1123 # Reject names that are not valid shell variable names.
1124 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1125 { echo "$as_me: error: invalid package name: $ac_package" >&2
1126 { (exit 1); exit 1; }; }
1127 ac_package=`echo $ac_package| sed 's/-/_/g'`
1128 eval with_$ac_package=\$ac_optarg ;;
1130 -without-* | --without-*)
1131 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1132 # Reject names that are not valid shell variable names.
1133 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1134 { echo "$as_me: error: invalid package name: $ac_package" >&2
1135 { (exit 1); exit 1; }; }
1136 ac_package=`echo $ac_package | sed 's/-/_/g'`
1137 eval with_$ac_package=no ;;
1140 # Obsolete; use --with-x.
1143 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1144 | --x-incl | --x-inc | --x-in | --x-i)
1145 ac_prev=x_includes ;;
1146 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1147 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1148 x_includes=$ac_optarg ;;
1150 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1151 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1152 ac_prev=x_libraries ;;
1153 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1154 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1155 x_libraries=$ac_optarg ;;
1157 -*) { echo "$as_me: error: unrecognized option: $ac_option
1158 Try \`$0 --help' for more information." >&2
1159 { (exit 1); exit 1; }; }
1163 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1164 # Reject names that are not valid shell variable names.
1165 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1166 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1167 { (exit 1); exit 1; }; }
1168 eval $ac_envvar=\$ac_optarg
1169 export $ac_envvar ;;
1172 # FIXME: should be removed in autoconf 3.0.
1173 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1174 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1175 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1176 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1182 if test -n "$ac_prev"; then
1183 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1184 { echo "$as_me: error: missing argument to $ac_option" >&2
1185 { (exit 1); exit 1; }; }
1188 # Be sure to have absolute directory names.
1189 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1190 datadir sysconfdir sharedstatedir localstatedir includedir \
1191 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1192 libdir localedir mandir
1194 eval ac_val=\$$ac_var
1196 [\\/$]* | ?:[\\/]* ) continue;;
1197 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1199 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1200 { (exit 1); exit 1; }; }
1203 # There might be people who depend on the old broken behavior: `$host'
1204 # used to hold the argument of --host etc.
1205 # FIXME: To remove some day.
1208 target=$target_alias
1210 # FIXME: To remove some day.
1211 if test "x$host_alias" != x; then
1212 if test "x$build_alias" = x; then
1213 cross_compiling=maybe
1214 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1215 If a cross compiler is detected then cross compile mode will be used." >&2
1216 elif test "x$build_alias" != "x$host_alias"; then
1222 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1224 test "$silent" = yes && exec 6>/dev/null
1227 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1228 ac_ls_di=`ls -di .` &&
1229 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1230 { echo "$as_me: error: Working directory cannot be determined" >&2
1231 { (exit 1); exit 1; }; }
1232 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1233 { echo "$as_me: error: pwd does not report name of working directory" >&2
1234 { (exit 1); exit 1; }; }
1237 # Find the source files, if location was not specified.
1238 if test -z "$srcdir"; then
1239 ac_srcdir_defaulted=yes
1240 # Try the directory containing this script, then the parent directory.
1241 ac_confdir=`$as_dirname -- "$0" ||
1242 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1243 X"$0" : 'X\(//\)[^/]' \| \
1244 X"$0" : 'X\(//\)$' \| \
1245 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1247 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1265 if test ! -r "$srcdir/$ac_unique_file"; then
1269 ac_srcdir_defaulted=no
1271 if test ! -r "$srcdir/$ac_unique_file"; then
1272 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1273 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1274 { (exit 1); exit 1; }; }
1276 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1278 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1279 { (exit 1); exit 1; }; }
1281 # When building in place, set srcdir=.
1282 if test "$ac_abs_confdir" = "$ac_pwd"; then
1285 # Remove unnecessary trailing slashes from srcdir.
1286 # Double slashes in file names in object file debugging info
1287 # mess up M-x gdb in Emacs.
1289 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1291 for ac_var in $ac_precious_vars; do
1292 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1293 eval ac_env_${ac_var}_value=\$${ac_var}
1294 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1295 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1299 # Report the --help message.
1301 if test "$ac_init_help" = "long"; then
1302 # Omit some internal or obsolete options to make the list less imposing.
1303 # This message is too long to be a string in the A/UX 3.1 sh.
1305 \`configure' configures [SAMPLE] [x.xx] to adapt to many kinds of systems.
1307 Usage: $0 [OPTION]... [VAR=VALUE]...
1309 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1310 VAR=VALUE. See below for descriptions of some of the useful variables.
1312 Defaults for the options are specified in brackets.
1315 -h, --help display this help and exit
1316 --help=short display options specific to this package
1317 --help=recursive display the short help of all the included packages
1318 -V, --version display version information and exit
1319 -q, --quiet, --silent do not print \`checking...' messages
1320 --cache-file=FILE cache test results in FILE [disabled]
1321 -C, --config-cache alias for \`--cache-file=config.cache'
1322 -n, --no-create do not create output files
1323 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1325 Installation directories:
1326 --prefix=PREFIX install architecture-independent files in PREFIX
1327 [$ac_default_prefix]
1328 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1331 By default, \`make install' will install all the files in
1332 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1333 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1334 for instance \`--prefix=\$HOME'.
1336 For better control, use the options below.
1338 Fine tuning of the installation directories:
1339 --bindir=DIR user executables [EPREFIX/bin]
1340 --sbindir=DIR system admin executables [EPREFIX/sbin]
1341 --libexecdir=DIR program executables [EPREFIX/libexec]
1342 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1343 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1344 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1345 --libdir=DIR object code libraries [EPREFIX/lib]
1346 --includedir=DIR C header files [PREFIX/include]
1347 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1348 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1349 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1350 --infodir=DIR info documentation [DATAROOTDIR/info]
1351 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1352 --mandir=DIR man documentation [DATAROOTDIR/man]
1353 --docdir=DIR documentation root [DATAROOTDIR/doc/--sample--]
1354 --htmldir=DIR html documentation [DOCDIR]
1355 --dvidir=DIR dvi documentation [DOCDIR]
1356 --pdfdir=DIR pdf documentation [DOCDIR]
1357 --psdir=DIR ps documentation [DOCDIR]
1363 --build=BUILD configure for building on BUILD [guessed]
1364 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1365 --target=TARGET configure for building compilers for TARGET [HOST]
1369 if test -n "$ac_init_help"; then
1370 case $ac_init_help in
1371 short | recursive ) echo "Configuration of [SAMPLE] [x.xx]:";;
1376 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1377 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1378 --enable-polly Use polly if available (default is YES)
1379 --enable-libcpp Use libc++ if available (default is NO)
1380 --enable-cxx11 Use c++11 if available (default is NO)
1381 --enable-optimized Compile with optimizations enabled (default is NO)
1382 --enable-profiling Compile with profiling enabled (default is NO)
1383 --enable-assertions Compile with assertion checks enabled (default is
1385 --enable-werror Compile with -Werror enabled (default is NO)
1386 --enable-expensive-checks
1387 Compile with expensive debug checks enabled (default
1389 --enable-debug-runtime Build runtime libs with debug symbols (default is
1391 --enable-debug-symbols Build compiler with debug symbols (default is NO if
1392 optimization is on and YES if it's off)
1393 --enable-jit Enable Just In Time Compiling (default is YES)
1394 --enable-docs Build documents (default is YES)
1395 --enable-doxygen Build doxygen documentation (default is NO)
1396 --enable-threads Use threads if available (default is YES)
1397 --enable-pthreads Use pthreads if available (default is YES)
1398 --enable-pic Build LLVM with Position Independent Code (default
1400 --enable-shared Build a shared library and link tools against it
1402 --enable-embed-stdcxx Build a shared library with embedded libstdc++ for
1403 Win32 DLL (default is YES)
1404 --enable-timestamps Enable embedding timestamp information in build
1406 --enable-targets Build specific host targets: all or
1407 target1,target2,... Valid targets are: host, x86,
1408 x86_64, sparc, powerpc, arm, aarch64, mips, hexagon,
1409 xcore, msp430, nvptx, systemz, r600, and cpp
1411 --enable-bindings Build specific language bindings:
1412 all,auto,none,{binding-name} (default=auto)
1413 --enable-libffi Check for the presence of libffi (default is NO)
1414 --enable-ltdl-install install libltdl
1417 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1418 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1419 --with-llvmsrc Location of LLVM Source Code
1420 --with-llvmobj Location of LLVM Object Code
1421 --with-optimize-option Select the compiler options to use for optimized
1423 --with-extra-options Specify additional options to compile LLVM with
1424 --with-extra-ld-options Specify additional options to link LLVM with
1425 --with-ocaml-libdir Specify install location for ocaml bindings (default
1427 --with-clang-resource-dir
1428 Relative directory from the Clang binary for
1430 --with-c-include-dirs Colon separated list of directories clang will
1432 --with-gcc-toolchain Directory where gcc is installed.
1433 --with-binutils-include Specify path to binutils/include/ containing
1434 plugin-api.h file for gold plugin.
1435 --with-bug-report-url Specify the URL where bug reports should be
1436 submitted (default=http://llvm.org/bugs/)
1437 --with-tclinclude directory where tcl headers are
1438 --with-udis86=<path> Use udis86 external x86 disassembler library
1439 --with-oprofile=<prefix>
1440 Tell OProfile >= 0.9.4 how to symbolize JIT output
1442 Some influential environment variables:
1443 CC C compiler command
1444 CFLAGS C compiler flags
1445 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1446 nonstandard directory <lib dir>
1447 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1448 you have headers in a nonstandard directory <include dir>
1449 CXX C++ compiler command
1450 CXXFLAGS C++ compiler flags
1453 Use these variables to override the choices made by `configure' or to help
1454 it to find libraries and programs with nonstandard names/locations.
1456 Report bugs to <bugs@yourdomain>.
1461 if test "$ac_init_help" = "recursive"; then
1462 # If there are subdirs, report their specific --help.
1463 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1464 test -d "$ac_dir" || continue
1468 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1470 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1471 # A ".." for each directory in $ac_dir_suffix.
1472 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1473 case $ac_top_builddir_sub in
1474 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1475 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1478 ac_abs_top_builddir=$ac_pwd
1479 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1480 # for backward compatibility:
1481 ac_top_builddir=$ac_top_build_prefix
1484 .) # We are building in place.
1486 ac_top_srcdir=$ac_top_builddir_sub
1487 ac_abs_top_srcdir=$ac_pwd ;;
1488 [\\/]* | ?:[\\/]* ) # Absolute name.
1489 ac_srcdir=$srcdir$ac_dir_suffix;
1490 ac_top_srcdir=$srcdir
1491 ac_abs_top_srcdir=$srcdir ;;
1493 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1494 ac_top_srcdir=$ac_top_build_prefix$srcdir
1495 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1497 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1499 cd "$ac_dir" || { ac_status=$?; continue; }
1500 # Check for guested configure.
1501 if test -f "$ac_srcdir/configure.gnu"; then
1503 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1504 elif test -f "$ac_srcdir/configure"; then
1506 $SHELL "$ac_srcdir/configure" --help=recursive
1508 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1510 cd "$ac_pwd" || { ac_status=$?; break; }
1514 test -n "$ac_init_help" && exit $ac_status
1515 if $ac_init_version; then
1517 [SAMPLE] configure [x.xx]
1518 generated by GNU Autoconf 2.60
1520 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1521 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1522 This configure script is free software; the Free Software Foundation
1523 gives unlimited permission to copy, distribute and modify it.
1527 cat >config.log <<_ACEOF
1528 This file contains any messages produced by compilers while
1529 running configure, to aid debugging if configure makes a mistake.
1531 It was created by [SAMPLE] $as_me [x.xx], which was
1532 generated by GNU Autoconf 2.60. Invocation command line was
1544 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1545 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1546 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1547 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1548 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1550 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1551 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1553 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1554 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1555 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1556 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1557 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1558 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1559 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1567 test -z "$as_dir" && as_dir=.
1568 echo "PATH: $as_dir"
1584 # Keep a trace of the command line.
1585 # Strip out --no-create and --no-recursion so they do not pile up.
1586 # Strip out --silent because we don't want to record it for future runs.
1587 # Also quote any args containing shell meta-characters.
1588 # Make two passes to allow for proper duplicate-argument suppression.
1592 ac_must_keep_next=false
1598 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1599 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1600 | -silent | --silent | --silen | --sile | --sil)
1603 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1606 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1608 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1609 if test $ac_must_keep_next = true; then
1610 ac_must_keep_next=false # Got value, back to normal.
1613 *=* | --config-cache | -C | -disable-* | --disable-* \
1614 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1615 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1616 | -with-* | --with-* | -without-* | --without-* | --x)
1617 case "$ac_configure_args0 " in
1618 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1621 -* ) ac_must_keep_next=true ;;
1624 ac_configure_args="$ac_configure_args '$ac_arg'"
1629 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1630 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1632 # When interrupted or exit'd, cleanup temporary files, and complete
1633 # config.log. We remove comments because anyway the quotes in there
1634 # would cause problems or look ugly.
1635 # WARNING: Use '\'' to represent an apostrophe within the trap.
1636 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1637 trap 'exit_status=$?
1638 # Save into config.log some information that might help in debugging.
1643 ## ---------------- ##
1644 ## Cache variables. ##
1645 ## ---------------- ##
1648 # The following way of writing the cache mishandles newlines in values,
1650 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1651 eval ac_val=\$$ac_var
1655 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1656 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1659 _ | IFS | as_nl) ;; #(
1660 *) $as_unset $ac_var ;;
1665 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1666 *${as_nl}ac_space=\ *)
1668 "s/'\''/'\''\\\\'\'''\''/g;
1669 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1672 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1680 ## ----------------- ##
1681 ## Output variables. ##
1682 ## ----------------- ##
1685 for ac_var in $ac_subst_vars
1687 eval ac_val=\$$ac_var
1689 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1691 echo "$ac_var='\''$ac_val'\''"
1695 if test -n "$ac_subst_files"; then
1697 ## ------------------- ##
1698 ## File substitutions. ##
1699 ## ------------------- ##
1702 for ac_var in $ac_subst_files
1704 eval ac_val=\$$ac_var
1706 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1708 echo "$ac_var='\''$ac_val'\''"
1713 if test -s confdefs.h; then
1723 test "$ac_signal" != 0 &&
1724 echo "$as_me: caught signal $ac_signal"
1725 echo "$as_me: exit $exit_status"
1727 rm -f core *.core core.conftest.* &&
1728 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1731 for ac_signal in 1 2 13 15; do
1732 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1736 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1737 rm -f -r conftest* confdefs.h
1739 # Predefined preprocessor variables.
1741 cat >>confdefs.h <<_ACEOF
1742 #define PACKAGE_NAME "$PACKAGE_NAME"
1746 cat >>confdefs.h <<_ACEOF
1747 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1751 cat >>confdefs.h <<_ACEOF
1752 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1756 cat >>confdefs.h <<_ACEOF
1757 #define PACKAGE_STRING "$PACKAGE_STRING"
1761 cat >>confdefs.h <<_ACEOF
1762 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1766 # Let the site file select an alternate cache file if it wants to.
1767 # Prefer explicitly selected file to automatically selected ones.
1768 if test -n "$CONFIG_SITE"; then
1769 set x "$CONFIG_SITE"
1770 elif test "x$prefix" != xNONE; then
1771 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1773 set x "$ac_default_prefix/share/config.site" \
1774 "$ac_default_prefix/etc/config.site"
1779 if test -r "$ac_site_file"; then
1780 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1781 echo "$as_me: loading site script $ac_site_file" >&6;}
1782 sed 's/^/| /' "$ac_site_file" >&5
1787 if test -r "$cache_file"; then
1788 # Some versions of bash will fail to source /dev/null (special
1789 # files actually), so we avoid doing that.
1790 if test -f "$cache_file"; then
1791 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1792 echo "$as_me: loading cache $cache_file" >&6;}
1794 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1795 *) . "./$cache_file";;
1799 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1800 echo "$as_me: creating cache $cache_file" >&6;}
1804 # Check that the precious variables saved in the cache have kept the same
1806 ac_cache_corrupted=false
1807 for ac_var in $ac_precious_vars; do
1808 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1809 eval ac_new_set=\$ac_env_${ac_var}_set
1810 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1811 eval ac_new_val=\$ac_env_${ac_var}_value
1812 case $ac_old_set,$ac_new_set in
1814 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1815 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1816 ac_cache_corrupted=: ;;
1818 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1819 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1820 ac_cache_corrupted=: ;;
1823 if test "x$ac_old_val" != "x$ac_new_val"; then
1824 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1825 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1826 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1827 echo "$as_me: former value: $ac_old_val" >&2;}
1828 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1829 echo "$as_me: current value: $ac_new_val" >&2;}
1830 ac_cache_corrupted=:
1833 # Pass precious variables to config.status.
1834 if test "$ac_new_set" = set; then
1836 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1837 *) ac_arg=$ac_var=$ac_new_val ;;
1839 case " $ac_configure_args " in
1840 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1841 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1845 if $ac_cache_corrupted; then
1846 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1847 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1848 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1849 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1850 { (exit 1); exit 1; }; }
1878 ac_cpp='$CPP $CPPFLAGS'
1879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1885 LLVM_SRC_ROOT="../.."
1886 LLVM_OBJ_ROOT="../.."
1888 LLVM_ABS_SRC_ROOT="`cd $srcdir ; cd $LLVM_SRC_ROOT ; pwd`"
1889 LLVM_ABS_OBJ_ROOT="`cd $LLVM_OBJ_ROOT ; pwd`"
1892 # Check whether --with-llvmsrc was given.
1893 if test "${with_llvmsrc+set}" = set; then
1894 withval=$with_llvmsrc; llvm_src="$withval"
1896 llvm_src="$LLVM_ABS_SRC_ROOT"
1902 # Check whether --with-llvmobj was given.
1903 if test "${with_llvmobj+set}" = set; then
1904 withval=$with_llvmobj; llvm_obj="$withval"
1906 llvm_obj="$LLVM_ABS_OBJ_ROOT"
1911 ac_config_commands="$ac_config_commands setup"
1915 { echo "$as_me:$LINENO: checking llvm-config" >&5
1916 echo $ECHO_N "checking llvm-config... $ECHO_C" >&6; }
1917 llvm_config_path="`ls -1 $llvm_obj/*/bin/llvm-config 2> /dev/null | head -1`"
1918 if ! test -f "$llvm_config_path" ; then
1919 llvm_config_path="no"
1921 { echo "$as_me:$LINENO: result: $llvm_config_path" >&5
1922 echo "${ECHO_T}$llvm_config_path" >&6; }
1924 { echo "$as_me:$LINENO: checking LLVM package version" >&5
1925 echo $ECHO_N "checking LLVM package version... $ECHO_C" >&6; }
1926 if test "$llvm_config_path" != no ; then
1927 llvm_package_version=`$llvm_config_path --version`
1929 llvm_package_version="unknown";
1931 { echo "$as_me:$LINENO: result: $llvm_package_version" >&5
1932 echo "${ECHO_T}$llvm_package_version" >&6; }
1933 LLVM_VERSION=$llvm_package_version
1939 for ac_dir in autoconf "$srcdir"/autoconf; do
1940 if test -f "$ac_dir/install-sh"; then
1942 ac_install_sh="$ac_aux_dir/install-sh -c"
1944 elif test -f "$ac_dir/install.sh"; then
1946 ac_install_sh="$ac_aux_dir/install.sh -c"
1948 elif test -f "$ac_dir/shtool"; then
1950 ac_install_sh="$ac_aux_dir/shtool install -c"
1954 if test -z "$ac_aux_dir"; then
1955 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in autoconf \"$srcdir\"/autoconf" >&5
1956 echo "$as_me: error: cannot find install-sh or install.sh in autoconf \"$srcdir\"/autoconf" >&2;}
1957 { (exit 1); exit 1; }; }
1960 # These three variables are undocumented and unsupported,
1961 # and are intended to be withdrawn in a future Autoconf release.
1962 # They can cause serious problems if a builder's source tree is in a directory
1963 # whose full name contains unusual characters.
1964 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1965 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1966 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1972 ac_cpp='$CPP $CPPFLAGS'
1973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1976 if test -n "$ac_tool_prefix"; then
1977 for ac_prog in clang llvm-gcc gcc
1979 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1980 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1981 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1982 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1983 if test "${ac_cv_prog_CC+set}" = set; then
1984 echo $ECHO_N "(cached) $ECHO_C" >&6
1986 if test -n "$CC"; then
1987 ac_cv_prog_CC="$CC" # Let the user override the test.
1989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1993 test -z "$as_dir" && as_dir=.
1994 for ac_exec_ext in '' $ac_executable_extensions; do
1995 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1996 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1997 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2007 if test -n "$CC"; then
2008 { echo "$as_me:$LINENO: result: $CC" >&5
2009 echo "${ECHO_T}$CC" >&6; }
2011 { echo "$as_me:$LINENO: result: no" >&5
2012 echo "${ECHO_T}no" >&6; }
2016 test -n "$CC" && break
2019 if test -z "$CC"; then
2021 for ac_prog in clang llvm-gcc gcc
2023 # Extract the first word of "$ac_prog", so it can be a program name with args.
2024 set dummy $ac_prog; ac_word=$2
2025 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2026 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2027 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2028 echo $ECHO_N "(cached) $ECHO_C" >&6
2030 if test -n "$ac_ct_CC"; then
2031 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2037 test -z "$as_dir" && as_dir=.
2038 for ac_exec_ext in '' $ac_executable_extensions; do
2039 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2040 ac_cv_prog_ac_ct_CC="$ac_prog"
2041 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2050 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2051 if test -n "$ac_ct_CC"; then
2052 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2053 echo "${ECHO_T}$ac_ct_CC" >&6; }
2055 { echo "$as_me:$LINENO: result: no" >&5
2056 echo "${ECHO_T}no" >&6; }
2060 test -n "$ac_ct_CC" && break
2063 if test "x$ac_ct_CC" = x; then
2066 case $cross_compiling:$ac_tool_warned in
2068 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2069 whose name does not start with the host triplet. If you think this
2070 configuration is useful to you, please write to autoconf@gnu.org." >&5
2071 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2072 whose name does not start with the host triplet. If you think this
2073 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2074 ac_tool_warned=yes ;;
2081 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2082 See \`config.log' for more details." >&5
2083 echo "$as_me: error: no acceptable C compiler found in \$PATH
2084 See \`config.log' for more details." >&2;}
2085 { (exit 1); exit 1; }; }
2087 # Provide some information about the compiler.
2088 echo "$as_me:$LINENO: checking for C compiler version" >&5
2089 ac_compiler=`set X $ac_compile; echo $2`
2090 { (ac_try="$ac_compiler --version >&5"
2092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2093 *) ac_try_echo=$ac_try;;
2095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2096 (eval "$ac_compiler --version >&5") 2>&5
2098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2099 (exit $ac_status); }
2100 { (ac_try="$ac_compiler -v >&5"
2102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2103 *) ac_try_echo=$ac_try;;
2105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2106 (eval "$ac_compiler -v >&5") 2>&5
2108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2109 (exit $ac_status); }
2110 { (ac_try="$ac_compiler -V >&5"
2112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2113 *) ac_try_echo=$ac_try;;
2115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2116 (eval "$ac_compiler -V >&5") 2>&5
2118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2119 (exit $ac_status); }
2121 cat >conftest.$ac_ext <<_ACEOF
2124 cat confdefs.h >>conftest.$ac_ext
2125 cat >>conftest.$ac_ext <<_ACEOF
2126 /* end confdefs.h. */
2136 ac_clean_files_save=$ac_clean_files
2137 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2138 # Try to create an executable without -o first, disregard a.out.
2139 # It will help us diagnose broken compilers, and finding out an intuition
2141 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2142 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2143 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2145 # List of possible output files, starting from the most likely.
2146 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2147 # only as a last resort. b.out is created by i960 compilers.
2148 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2150 # The IRIX 6 linker writes into existing files which may not be
2151 # executable, retaining their permissions. Remove them first so a
2152 # subsequent execution test works.
2154 for ac_file in $ac_files
2157 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2158 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2163 if { (ac_try="$ac_link_default"
2165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2166 *) ac_try_echo=$ac_try;;
2168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2169 (eval "$ac_link_default") 2>&5
2171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2172 (exit $ac_status); }; then
2173 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2174 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2175 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2176 # so that the user can short-circuit this test for compilers unknown to
2178 for ac_file in $ac_files
2180 test -f "$ac_file" || continue
2182 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2185 # We found the default executable, but exeext='' is most
2189 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2191 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2193 # We set ac_cv_exeext here because the later test for it is not
2194 # safe: cross compilers may not add the suffix if given an `-o'
2195 # argument, so we may need to know it at that point already.
2196 # Even if this section looks crufty: it has the advantage of
2203 test "$ac_cv_exeext" = no && ac_cv_exeext=
2206 echo "$as_me: failed program was:" >&5
2207 sed 's/^/| /' conftest.$ac_ext >&5
2209 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2210 See \`config.log' for more details." >&5
2211 echo "$as_me: error: C compiler cannot create executables
2212 See \`config.log' for more details." >&2;}
2213 { (exit 77); exit 77; }; }
2216 ac_exeext=$ac_cv_exeext
2217 { echo "$as_me:$LINENO: result: $ac_file" >&5
2218 echo "${ECHO_T}$ac_file" >&6; }
2220 # Check that the compiler produces executables we can run. If not, either
2221 # the compiler is broken, or we cross compile.
2222 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2223 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2224 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2225 # If not cross compiling, check that we can run a simple program.
2226 if test "$cross_compiling" != yes; then
2227 if { ac_try='./$ac_file'
2228 { (case "(($ac_try" in
2229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2230 *) ac_try_echo=$ac_try;;
2232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2233 (eval "$ac_try") 2>&5
2235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2236 (exit $ac_status); }; }; then
2239 if test "$cross_compiling" = maybe; then
2242 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2243 If you meant to cross compile, use \`--host'.
2244 See \`config.log' for more details." >&5
2245 echo "$as_me: error: cannot run C compiled programs.
2246 If you meant to cross compile, use \`--host'.
2247 See \`config.log' for more details." >&2;}
2248 { (exit 1); exit 1; }; }
2252 { echo "$as_me:$LINENO: result: yes" >&5
2253 echo "${ECHO_T}yes" >&6; }
2255 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2256 ac_clean_files=$ac_clean_files_save
2257 # Check that the compiler produces executables we can run. If not, either
2258 # the compiler is broken, or we cross compile.
2259 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2260 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2261 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2262 echo "${ECHO_T}$cross_compiling" >&6; }
2264 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2265 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2266 if { (ac_try="$ac_link"
2268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2269 *) ac_try_echo=$ac_try;;
2271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2272 (eval "$ac_link") 2>&5
2274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2275 (exit $ac_status); }; then
2276 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2277 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2278 # work properly (i.e., refer to `conftest.exe'), while it won't with
2280 for ac_file in conftest.exe conftest conftest.*; do
2281 test -f "$ac_file" || continue
2283 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2284 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2290 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2291 See \`config.log' for more details." >&5
2292 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2293 See \`config.log' for more details." >&2;}
2294 { (exit 1); exit 1; }; }
2297 rm -f conftest$ac_cv_exeext
2298 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2299 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2301 rm -f conftest.$ac_ext
2302 EXEEXT=$ac_cv_exeext
2304 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2305 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2306 if test "${ac_cv_objext+set}" = set; then
2307 echo $ECHO_N "(cached) $ECHO_C" >&6
2309 cat >conftest.$ac_ext <<_ACEOF
2312 cat confdefs.h >>conftest.$ac_ext
2313 cat >>conftest.$ac_ext <<_ACEOF
2314 /* end confdefs.h. */
2324 rm -f conftest.o conftest.obj
2325 if { (ac_try="$ac_compile"
2327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2328 *) ac_try_echo=$ac_try;;
2330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2331 (eval "$ac_compile") 2>&5
2333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2334 (exit $ac_status); }; then
2335 for ac_file in conftest.o conftest.obj conftest.*; do
2336 test -f "$ac_file" || continue;
2338 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2339 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2344 echo "$as_me: failed program was:" >&5
2345 sed 's/^/| /' conftest.$ac_ext >&5
2347 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2348 See \`config.log' for more details." >&5
2349 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2350 See \`config.log' for more details." >&2;}
2351 { (exit 1); exit 1; }; }
2354 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2356 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2357 echo "${ECHO_T}$ac_cv_objext" >&6; }
2358 OBJEXT=$ac_cv_objext
2360 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2361 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2362 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2363 echo $ECHO_N "(cached) $ECHO_C" >&6
2365 cat >conftest.$ac_ext <<_ACEOF
2368 cat confdefs.h >>conftest.$ac_ext
2369 cat >>conftest.$ac_ext <<_ACEOF
2370 /* end confdefs.h. */
2383 rm -f conftest.$ac_objext
2384 if { (ac_try="$ac_compile"
2386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2387 *) ac_try_echo=$ac_try;;
2389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2390 (eval "$ac_compile") 2>conftest.er1
2392 grep -v '^ *+' conftest.er1 >conftest.err
2394 cat conftest.err >&5
2395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2396 (exit $ac_status); } &&
2397 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2398 { (case "(($ac_try" in
2399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2400 *) ac_try_echo=$ac_try;;
2402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2403 (eval "$ac_try") 2>&5
2405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2406 (exit $ac_status); }; } &&
2407 { ac_try='test -s conftest.$ac_objext'
2408 { (case "(($ac_try" in
2409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2410 *) ac_try_echo=$ac_try;;
2412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2413 (eval "$ac_try") 2>&5
2415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2416 (exit $ac_status); }; }; then
2419 echo "$as_me: failed program was:" >&5
2420 sed 's/^/| /' conftest.$ac_ext >&5
2425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2426 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2429 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2430 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2431 GCC=`test $ac_compiler_gnu = yes && echo yes`
2432 ac_test_CFLAGS=${CFLAGS+set}
2433 ac_save_CFLAGS=$CFLAGS
2434 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2435 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2436 if test "${ac_cv_prog_cc_g+set}" = set; then
2437 echo $ECHO_N "(cached) $ECHO_C" >&6
2439 ac_save_c_werror_flag=$ac_c_werror_flag
2440 ac_c_werror_flag=yes
2443 cat >conftest.$ac_ext <<_ACEOF
2446 cat confdefs.h >>conftest.$ac_ext
2447 cat >>conftest.$ac_ext <<_ACEOF
2448 /* end confdefs.h. */
2458 rm -f conftest.$ac_objext
2459 if { (ac_try="$ac_compile"
2461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2462 *) ac_try_echo=$ac_try;;
2464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2465 (eval "$ac_compile") 2>conftest.er1
2467 grep -v '^ *+' conftest.er1 >conftest.err
2469 cat conftest.err >&5
2470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2471 (exit $ac_status); } &&
2472 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2473 { (case "(($ac_try" in
2474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2475 *) ac_try_echo=$ac_try;;
2477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2478 (eval "$ac_try") 2>&5
2480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2481 (exit $ac_status); }; } &&
2482 { ac_try='test -s conftest.$ac_objext'
2483 { (case "(($ac_try" in
2484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2485 *) ac_try_echo=$ac_try;;
2487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2488 (eval "$ac_try") 2>&5
2490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2491 (exit $ac_status); }; }; then
2494 echo "$as_me: failed program was:" >&5
2495 sed 's/^/| /' conftest.$ac_ext >&5
2498 cat >conftest.$ac_ext <<_ACEOF
2501 cat confdefs.h >>conftest.$ac_ext
2502 cat >>conftest.$ac_ext <<_ACEOF
2503 /* end confdefs.h. */
2513 rm -f conftest.$ac_objext
2514 if { (ac_try="$ac_compile"
2516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2517 *) ac_try_echo=$ac_try;;
2519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2520 (eval "$ac_compile") 2>conftest.er1
2522 grep -v '^ *+' conftest.er1 >conftest.err
2524 cat conftest.err >&5
2525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2526 (exit $ac_status); } &&
2527 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2528 { (case "(($ac_try" in
2529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2530 *) ac_try_echo=$ac_try;;
2532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2533 (eval "$ac_try") 2>&5
2535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2536 (exit $ac_status); }; } &&
2537 { ac_try='test -s conftest.$ac_objext'
2538 { (case "(($ac_try" in
2539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2540 *) ac_try_echo=$ac_try;;
2542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2543 (eval "$ac_try") 2>&5
2545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2546 (exit $ac_status); }; }; then
2549 echo "$as_me: failed program was:" >&5
2550 sed 's/^/| /' conftest.$ac_ext >&5
2552 ac_c_werror_flag=$ac_save_c_werror_flag
2554 cat >conftest.$ac_ext <<_ACEOF
2557 cat confdefs.h >>conftest.$ac_ext
2558 cat >>conftest.$ac_ext <<_ACEOF
2559 /* end confdefs.h. */
2569 rm -f conftest.$ac_objext
2570 if { (ac_try="$ac_compile"
2572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2573 *) ac_try_echo=$ac_try;;
2575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2576 (eval "$ac_compile") 2>conftest.er1
2578 grep -v '^ *+' conftest.er1 >conftest.err
2580 cat conftest.err >&5
2581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2582 (exit $ac_status); } &&
2583 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2584 { (case "(($ac_try" in
2585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2586 *) ac_try_echo=$ac_try;;
2588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2589 (eval "$ac_try") 2>&5
2591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2592 (exit $ac_status); }; } &&
2593 { ac_try='test -s conftest.$ac_objext'
2594 { (case "(($ac_try" in
2595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2596 *) ac_try_echo=$ac_try;;
2598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2599 (eval "$ac_try") 2>&5
2601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2602 (exit $ac_status); }; }; then
2605 echo "$as_me: failed program was:" >&5
2606 sed 's/^/| /' conftest.$ac_ext >&5
2611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2618 ac_c_werror_flag=$ac_save_c_werror_flag
2620 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2621 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2622 if test "$ac_test_CFLAGS" = set; then
2623 CFLAGS=$ac_save_CFLAGS
2624 elif test $ac_cv_prog_cc_g = yes; then
2625 if test "$GCC" = yes; then
2631 if test "$GCC" = yes; then
2637 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2638 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2639 if test "${ac_cv_prog_cc_c89+set}" = set; then
2640 echo $ECHO_N "(cached) $ECHO_C" >&6
2642 ac_cv_prog_cc_c89=no
2644 cat >conftest.$ac_ext <<_ACEOF
2647 cat confdefs.h >>conftest.$ac_ext
2648 cat >>conftest.$ac_ext <<_ACEOF
2649 /* end confdefs.h. */
2652 #include <sys/types.h>
2653 #include <sys/stat.h>
2654 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2655 struct buf { int x; };
2656 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2657 static char *e (p, i)
2663 static char *f (char * (*g) (char **, int), char **p, ...)
2668 s = g (p, va_arg (v,int));
2673 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2674 function prototypes and stuff, but not '\xHH' hex character constants.
2675 These don't provoke an error unfortunately, instead are silently treated
2676 as 'x'. The following induces an error, until -std is added to get
2677 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2678 array size at least. It's necessary to write '\x00'==0 to get something
2679 that's true only with -std. */
2680 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2682 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2683 inside strings and character constants. */
2685 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2687 int test (int i, double x);
2688 struct s1 {int (*f) (int a);};
2689 struct s2 {int (*f) (double a);};
2690 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2696 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2701 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2702 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2704 CC="$ac_save_CC $ac_arg"
2705 rm -f conftest.$ac_objext
2706 if { (ac_try="$ac_compile"
2708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2709 *) ac_try_echo=$ac_try;;
2711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2712 (eval "$ac_compile") 2>conftest.er1
2714 grep -v '^ *+' conftest.er1 >conftest.err
2716 cat conftest.err >&5
2717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2718 (exit $ac_status); } &&
2719 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2720 { (case "(($ac_try" in
2721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2722 *) ac_try_echo=$ac_try;;
2724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2725 (eval "$ac_try") 2>&5
2727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2728 (exit $ac_status); }; } &&
2729 { ac_try='test -s conftest.$ac_objext'
2730 { (case "(($ac_try" in
2731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2732 *) ac_try_echo=$ac_try;;
2734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2735 (eval "$ac_try") 2>&5
2737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2738 (exit $ac_status); }; }; then
2739 ac_cv_prog_cc_c89=$ac_arg
2741 echo "$as_me: failed program was:" >&5
2742 sed 's/^/| /' conftest.$ac_ext >&5
2747 rm -f core conftest.err conftest.$ac_objext
2748 test "x$ac_cv_prog_cc_c89" != "xno" && break
2750 rm -f conftest.$ac_ext
2755 case "x$ac_cv_prog_cc_c89" in
2757 { echo "$as_me:$LINENO: result: none needed" >&5
2758 echo "${ECHO_T}none needed" >&6; } ;;
2760 { echo "$as_me:$LINENO: result: unsupported" >&5
2761 echo "${ECHO_T}unsupported" >&6; } ;;
2763 CC="$CC $ac_cv_prog_cc_c89"
2764 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2765 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2770 ac_cpp='$CPP $CPPFLAGS'
2771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2776 ac_cpp='$CXXCPP $CPPFLAGS'
2777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2780 if test -z "$CXX"; then
2781 if test -n "$CCC"; then
2784 if test -n "$ac_tool_prefix"; then
2785 for ac_prog in clang++ llvm-g++ g++
2787 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2788 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2789 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2790 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2791 if test "${ac_cv_prog_CXX+set}" = set; then
2792 echo $ECHO_N "(cached) $ECHO_C" >&6
2794 if test -n "$CXX"; then
2795 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2801 test -z "$as_dir" && as_dir=.
2802 for ac_exec_ext in '' $ac_executable_extensions; do
2803 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2804 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2805 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2815 if test -n "$CXX"; then
2816 { echo "$as_me:$LINENO: result: $CXX" >&5
2817 echo "${ECHO_T}$CXX" >&6; }
2819 { echo "$as_me:$LINENO: result: no" >&5
2820 echo "${ECHO_T}no" >&6; }
2824 test -n "$CXX" && break
2827 if test -z "$CXX"; then
2829 for ac_prog in clang++ llvm-g++ g++
2831 # Extract the first word of "$ac_prog", so it can be a program name with args.
2832 set dummy $ac_prog; ac_word=$2
2833 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2834 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2835 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2836 echo $ECHO_N "(cached) $ECHO_C" >&6
2838 if test -n "$ac_ct_CXX"; then
2839 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2845 test -z "$as_dir" && as_dir=.
2846 for ac_exec_ext in '' $ac_executable_extensions; do
2847 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2848 ac_cv_prog_ac_ct_CXX="$ac_prog"
2849 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2858 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2859 if test -n "$ac_ct_CXX"; then
2860 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2861 echo "${ECHO_T}$ac_ct_CXX" >&6; }
2863 { echo "$as_me:$LINENO: result: no" >&5
2864 echo "${ECHO_T}no" >&6; }
2868 test -n "$ac_ct_CXX" && break
2871 if test "x$ac_ct_CXX" = x; then
2874 case $cross_compiling:$ac_tool_warned in
2876 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2877 whose name does not start with the host triplet. If you think this
2878 configuration is useful to you, please write to autoconf@gnu.org." >&5
2879 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2880 whose name does not start with the host triplet. If you think this
2881 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2882 ac_tool_warned=yes ;;
2890 # Provide some information about the compiler.
2891 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
2892 ac_compiler=`set X $ac_compile; echo $2`
2893 { (ac_try="$ac_compiler --version >&5"
2895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2896 *) ac_try_echo=$ac_try;;
2898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2899 (eval "$ac_compiler --version >&5") 2>&5
2901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2902 (exit $ac_status); }
2903 { (ac_try="$ac_compiler -v >&5"
2905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2906 *) ac_try_echo=$ac_try;;
2908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2909 (eval "$ac_compiler -v >&5") 2>&5
2911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2912 (exit $ac_status); }
2913 { (ac_try="$ac_compiler -V >&5"
2915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2916 *) ac_try_echo=$ac_try;;
2918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2919 (eval "$ac_compiler -V >&5") 2>&5
2921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2922 (exit $ac_status); }
2924 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2925 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
2926 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2927 echo $ECHO_N "(cached) $ECHO_C" >&6
2929 cat >conftest.$ac_ext <<_ACEOF
2932 cat confdefs.h >>conftest.$ac_ext
2933 cat >>conftest.$ac_ext <<_ACEOF
2934 /* end confdefs.h. */
2947 rm -f conftest.$ac_objext
2948 if { (ac_try="$ac_compile"
2950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2951 *) ac_try_echo=$ac_try;;
2953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2954 (eval "$ac_compile") 2>conftest.er1
2956 grep -v '^ *+' conftest.er1 >conftest.err
2958 cat conftest.err >&5
2959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2960 (exit $ac_status); } &&
2961 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2962 { (case "(($ac_try" in
2963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2964 *) ac_try_echo=$ac_try;;
2966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2967 (eval "$ac_try") 2>&5
2969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2970 (exit $ac_status); }; } &&
2971 { ac_try='test -s conftest.$ac_objext'
2972 { (case "(($ac_try" in
2973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2974 *) ac_try_echo=$ac_try;;
2976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2977 (eval "$ac_try") 2>&5
2979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2980 (exit $ac_status); }; }; then
2983 echo "$as_me: failed program was:" >&5
2984 sed 's/^/| /' conftest.$ac_ext >&5
2989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2990 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2993 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2994 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
2995 GXX=`test $ac_compiler_gnu = yes && echo yes`
2996 ac_test_CXXFLAGS=${CXXFLAGS+set}
2997 ac_save_CXXFLAGS=$CXXFLAGS
2998 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2999 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3000 if test "${ac_cv_prog_cxx_g+set}" = set; then
3001 echo $ECHO_N "(cached) $ECHO_C" >&6
3003 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3004 ac_cxx_werror_flag=yes
3007 cat >conftest.$ac_ext <<_ACEOF
3010 cat confdefs.h >>conftest.$ac_ext
3011 cat >>conftest.$ac_ext <<_ACEOF
3012 /* end confdefs.h. */
3022 rm -f conftest.$ac_objext
3023 if { (ac_try="$ac_compile"
3025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3026 *) ac_try_echo=$ac_try;;
3028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3029 (eval "$ac_compile") 2>conftest.er1
3031 grep -v '^ *+' conftest.er1 >conftest.err
3033 cat conftest.err >&5
3034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3035 (exit $ac_status); } &&
3036 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3037 { (case "(($ac_try" in
3038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3039 *) ac_try_echo=$ac_try;;
3041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3042 (eval "$ac_try") 2>&5
3044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3045 (exit $ac_status); }; } &&
3046 { ac_try='test -s conftest.$ac_objext'
3047 { (case "(($ac_try" in
3048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3049 *) ac_try_echo=$ac_try;;
3051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3052 (eval "$ac_try") 2>&5
3054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3055 (exit $ac_status); }; }; then
3056 ac_cv_prog_cxx_g=yes
3058 echo "$as_me: failed program was:" >&5
3059 sed 's/^/| /' conftest.$ac_ext >&5
3062 cat >conftest.$ac_ext <<_ACEOF
3065 cat confdefs.h >>conftest.$ac_ext
3066 cat >>conftest.$ac_ext <<_ACEOF
3067 /* end confdefs.h. */
3077 rm -f conftest.$ac_objext
3078 if { (ac_try="$ac_compile"
3080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3081 *) ac_try_echo=$ac_try;;
3083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3084 (eval "$ac_compile") 2>conftest.er1
3086 grep -v '^ *+' conftest.er1 >conftest.err
3088 cat conftest.err >&5
3089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3090 (exit $ac_status); } &&
3091 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3092 { (case "(($ac_try" in
3093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3094 *) ac_try_echo=$ac_try;;
3096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3097 (eval "$ac_try") 2>&5
3099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3100 (exit $ac_status); }; } &&
3101 { ac_try='test -s conftest.$ac_objext'
3102 { (case "(($ac_try" in
3103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3104 *) ac_try_echo=$ac_try;;
3106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3107 (eval "$ac_try") 2>&5
3109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3110 (exit $ac_status); }; }; then
3113 echo "$as_me: failed program was:" >&5
3114 sed 's/^/| /' conftest.$ac_ext >&5
3116 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3118 cat >conftest.$ac_ext <<_ACEOF
3121 cat confdefs.h >>conftest.$ac_ext
3122 cat >>conftest.$ac_ext <<_ACEOF
3123 /* end confdefs.h. */
3133 rm -f conftest.$ac_objext
3134 if { (ac_try="$ac_compile"
3136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3137 *) ac_try_echo=$ac_try;;
3139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3140 (eval "$ac_compile") 2>conftest.er1
3142 grep -v '^ *+' conftest.er1 >conftest.err
3144 cat conftest.err >&5
3145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3146 (exit $ac_status); } &&
3147 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3148 { (case "(($ac_try" in
3149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3150 *) ac_try_echo=$ac_try;;
3152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3153 (eval "$ac_try") 2>&5
3155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3156 (exit $ac_status); }; } &&
3157 { ac_try='test -s conftest.$ac_objext'
3158 { (case "(($ac_try" in
3159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3160 *) ac_try_echo=$ac_try;;
3162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3163 (eval "$ac_try") 2>&5
3165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3166 (exit $ac_status); }; }; then
3167 ac_cv_prog_cxx_g=yes
3169 echo "$as_me: failed program was:" >&5
3170 sed 's/^/| /' conftest.$ac_ext >&5
3175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3182 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3184 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3185 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3186 if test "$ac_test_CXXFLAGS" = set; then
3187 CXXFLAGS=$ac_save_CXXFLAGS
3188 elif test $ac_cv_prog_cxx_g = yes; then
3189 if test "$GXX" = yes; then
3195 if test "$GXX" = yes; then
3202 ac_cpp='$CPP $CPPFLAGS'
3203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3208 ac_cpp='$CPP $CPPFLAGS'
3209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3212 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3213 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3214 # On Suns, sometimes $CPP names a directory.
3215 if test -n "$CPP" && test -d "$CPP"; then
3218 if test -z "$CPP"; then
3219 if test "${ac_cv_prog_CPP+set}" = set; then
3220 echo $ECHO_N "(cached) $ECHO_C" >&6
3222 # Double quotes because CPP needs to be expanded
3223 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3226 for ac_c_preproc_warn_flag in '' yes
3228 # Use a header file that comes with gcc, so configuring glibc
3229 # with a fresh cross-compiler works.
3230 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3231 # <limits.h> exists even on freestanding compilers.
3232 # On the NeXT, cc -E runs the code through the compiler's parser,
3233 # not just through cpp. "Syntax error" is here to catch this case.
3234 cat >conftest.$ac_ext <<_ACEOF
3237 cat confdefs.h >>conftest.$ac_ext
3238 cat >>conftest.$ac_ext <<_ACEOF
3239 /* end confdefs.h. */
3241 # include <limits.h>
3243 # include <assert.h>
3247 if { (ac_try="$ac_cpp conftest.$ac_ext"
3249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3250 *) ac_try_echo=$ac_try;;
3252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3253 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3255 grep -v '^ *+' conftest.er1 >conftest.err
3257 cat conftest.err >&5
3258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3259 (exit $ac_status); } >/dev/null; then
3260 if test -s conftest.err; then
3261 ac_cpp_err=$ac_c_preproc_warn_flag
3262 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3269 if test -z "$ac_cpp_err"; then
3272 echo "$as_me: failed program was:" >&5
3273 sed 's/^/| /' conftest.$ac_ext >&5
3275 # Broken: fails on valid input.
3279 rm -f conftest.err conftest.$ac_ext
3281 # OK, works on sane cases. Now check whether nonexistent headers
3282 # can be detected and how.
3283 cat >conftest.$ac_ext <<_ACEOF
3286 cat confdefs.h >>conftest.$ac_ext
3287 cat >>conftest.$ac_ext <<_ACEOF
3288 /* end confdefs.h. */
3289 #include <ac_nonexistent.h>
3291 if { (ac_try="$ac_cpp conftest.$ac_ext"
3293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3294 *) ac_try_echo=$ac_try;;
3296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3297 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3299 grep -v '^ *+' conftest.er1 >conftest.err
3301 cat conftest.err >&5
3302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3303 (exit $ac_status); } >/dev/null; then
3304 if test -s conftest.err; then
3305 ac_cpp_err=$ac_c_preproc_warn_flag
3306 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3313 if test -z "$ac_cpp_err"; then
3314 # Broken: success on invalid input.
3317 echo "$as_me: failed program was:" >&5
3318 sed 's/^/| /' conftest.$ac_ext >&5
3320 # Passes both tests.
3325 rm -f conftest.err conftest.$ac_ext
3328 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3329 rm -f conftest.err conftest.$ac_ext
3330 if $ac_preproc_ok; then
3342 { echo "$as_me:$LINENO: result: $CPP" >&5
3343 echo "${ECHO_T}$CPP" >&6; }
3345 for ac_c_preproc_warn_flag in '' yes
3347 # Use a header file that comes with gcc, so configuring glibc
3348 # with a fresh cross-compiler works.
3349 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3350 # <limits.h> exists even on freestanding compilers.
3351 # On the NeXT, cc -E runs the code through the compiler's parser,
3352 # not just through cpp. "Syntax error" is here to catch this case.
3353 cat >conftest.$ac_ext <<_ACEOF
3356 cat confdefs.h >>conftest.$ac_ext
3357 cat >>conftest.$ac_ext <<_ACEOF
3358 /* end confdefs.h. */
3360 # include <limits.h>
3362 # include <assert.h>
3366 if { (ac_try="$ac_cpp conftest.$ac_ext"
3368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3369 *) ac_try_echo=$ac_try;;
3371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3372 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3374 grep -v '^ *+' conftest.er1 >conftest.err
3376 cat conftest.err >&5
3377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3378 (exit $ac_status); } >/dev/null; then
3379 if test -s conftest.err; then
3380 ac_cpp_err=$ac_c_preproc_warn_flag
3381 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3388 if test -z "$ac_cpp_err"; then
3391 echo "$as_me: failed program was:" >&5
3392 sed 's/^/| /' conftest.$ac_ext >&5
3394 # Broken: fails on valid input.
3398 rm -f conftest.err conftest.$ac_ext
3400 # OK, works on sane cases. Now check whether nonexistent headers
3401 # can be detected and how.
3402 cat >conftest.$ac_ext <<_ACEOF
3405 cat confdefs.h >>conftest.$ac_ext
3406 cat >>conftest.$ac_ext <<_ACEOF
3407 /* end confdefs.h. */
3408 #include <ac_nonexistent.h>
3410 if { (ac_try="$ac_cpp conftest.$ac_ext"
3412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3413 *) ac_try_echo=$ac_try;;
3415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3416 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3418 grep -v '^ *+' conftest.er1 >conftest.err
3420 cat conftest.err >&5
3421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3422 (exit $ac_status); } >/dev/null; then
3423 if test -s conftest.err; then
3424 ac_cpp_err=$ac_c_preproc_warn_flag
3425 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3432 if test -z "$ac_cpp_err"; then
3433 # Broken: success on invalid input.
3436 echo "$as_me: failed program was:" >&5
3437 sed 's/^/| /' conftest.$ac_ext >&5
3439 # Passes both tests.
3444 rm -f conftest.err conftest.$ac_ext
3447 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3448 rm -f conftest.err conftest.$ac_ext
3449 if $ac_preproc_ok; then
3452 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3453 See \`config.log' for more details." >&5
3454 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3455 See \`config.log' for more details." >&2;}
3456 { (exit 1); exit 1; }; }
3460 ac_cpp='$CPP $CPPFLAGS'
3461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3468 # Check whether --enable-polly was given.
3469 if test "${enable_polly+set}" = set; then
3470 enableval=$enable_polly;
3475 case "$enableval" in
3480 default) ENABLE_POLLY=1
3482 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-polly. Use \"yes\" or \"no\"" >&5
3483 echo "$as_me: error: Invalid setting for --enable-polly. Use \"yes\" or \"no\"" >&2;}
3484 { (exit 1); exit 1; }; } ;;
3488 if (test -d ${srcdir}/tools/polly) && (test $ENABLE_POLLY -eq 1) ; then
3491 subdirs="$subdirs tools/polly"
3496 # Make sure we can run config.sub.
3497 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3498 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
3499 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
3500 { (exit 1); exit 1; }; }
3502 { echo "$as_me:$LINENO: checking build system type" >&5
3503 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
3504 if test "${ac_cv_build+set}" = set; then
3505 echo $ECHO_N "(cached) $ECHO_C" >&6
3507 ac_build_alias=$build_alias
3508 test "x$ac_build_alias" = x &&
3509 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3510 test "x$ac_build_alias" = x &&
3511 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3512 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3513 { (exit 1); exit 1; }; }
3514 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3515 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
3516 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
3517 { (exit 1); exit 1; }; }
3520 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3521 echo "${ECHO_T}$ac_cv_build" >&6; }
3522 case $ac_cv_build in
3524 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
3525 echo "$as_me: error: invalid value of canonical build" >&2;}
3526 { (exit 1); exit 1; }; };;
3529 ac_save_IFS=$IFS; IFS='-'
3535 # Remember, the first character of IFS is used to create $*,
3536 # except with old shells:
3539 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3542 { echo "$as_me:$LINENO: checking host system type" >&5
3543 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
3544 if test "${ac_cv_host+set}" = set; then
3545 echo $ECHO_N "(cached) $ECHO_C" >&6
3547 if test "x$host_alias" = x; then
3548 ac_cv_host=$ac_cv_build
3550 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3551 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
3552 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
3553 { (exit 1); exit 1; }; }
3557 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3558 echo "${ECHO_T}$ac_cv_host" >&6; }
3561 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
3562 echo "$as_me: error: invalid value of canonical host" >&2;}
3563 { (exit 1); exit 1; }; };;
3566 ac_save_IFS=$IFS; IFS='-'
3572 # Remember, the first character of IFS is used to create $*,
3573 # except with old shells:
3576 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3579 { echo "$as_me:$LINENO: checking target system type" >&5
3580 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
3581 if test "${ac_cv_target+set}" = set; then
3582 echo $ECHO_N "(cached) $ECHO_C" >&6
3584 if test "x$target_alias" = x; then
3585 ac_cv_target=$ac_cv_host
3587 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3588 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
3589 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
3590 { (exit 1); exit 1; }; }
3594 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
3595 echo "${ECHO_T}$ac_cv_target" >&6; }
3596 case $ac_cv_target in
3598 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
3599 echo "$as_me: error: invalid value of canonical target" >&2;}
3600 { (exit 1); exit 1; }; };;
3602 target=$ac_cv_target
3603 ac_save_IFS=$IFS; IFS='-'
3609 # Remember, the first character of IFS is used to create $*,
3610 # except with old shells:
3613 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3616 # The aliases save the names the user supplied, while $host etc.
3617 # will get canonicalized.
3618 test -n "$target_alias" &&
3619 test "$program_prefix$program_suffix$program_transform_name" = \
3621 program_prefix=${target_alias}-
3623 { echo "$as_me:$LINENO: checking type of operating system we're going to host on" >&5
3624 echo $ECHO_N "checking type of operating system we're going to host on... $ECHO_C" >&6; }
3625 if test "${llvm_cv_os_type+set}" = set; then
3626 echo $ECHO_N "(cached) $ECHO_C" >&6
3630 llvm_cv_link_all_option="-Wl,--whole-archive"
3631 llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
3632 llvm_cv_os_type="AIX"
3633 llvm_cv_platform_type="Unix" ;;
3635 llvm_cv_link_all_option="-Wl,--whole-archive"
3636 llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
3637 llvm_cv_os_type="IRIX"
3638 llvm_cv_platform_type="Unix" ;;
3640 llvm_cv_link_all_option="-Wl,--whole-archive"
3641 llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
3642 llvm_cv_os_type="Cygwin"
3643 llvm_cv_platform_type="Unix" ;;
3645 llvm_cv_link_all_option="-Wl,-all_load"
3646 llvm_cv_no_link_all_option="-Wl,-noall_load"
3647 llvm_cv_os_type="Darwin"
3648 llvm_cv_platform_type="Unix" ;;
3650 llvm_cv_link_all_option="-Wl,-all_load"
3651 llvm_cv_no_link_all_option="-Wl,-noall_load"
3652 llvm_cv_os_type="Minix"
3653 llvm_cv_platform_type="Unix" ;;
3654 *-*-freebsd* | *-*-kfreebsd-gnu)
3655 llvm_cv_link_all_option="-Wl,--whole-archive"
3656 llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
3657 llvm_cv_os_type="FreeBSD"
3658 llvm_cv_platform_type="Unix" ;;
3660 llvm_cv_link_all_option="-Wl,--whole-archive"
3661 llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
3662 llvm_cv_os_type="OpenBSD"
3663 llvm_cv_platform_type="Unix" ;;
3665 llvm_cv_link_all_option="-Wl,--whole-archive"
3666 llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
3667 llvm_cv_os_type="NetBSD"
3668 llvm_cv_platform_type="Unix" ;;
3670 llvm_cv_link_all_option="-Wl,--whole-archive"
3671 llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
3672 llvm_cv_os_type="DragonFly"
3673 llvm_cv_platform_type="Unix" ;;
3675 llvm_cv_link_all_option="-Wl,--whole-archive"
3676 llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
3677 llvm_cv_os_type="HP-UX"
3678 llvm_cv_platform_type="Unix" ;;
3680 llvm_cv_link_all_option="-Wl,--whole-archive"
3681 llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
3682 llvm_cv_os_type="Interix"
3683 llvm_cv_platform_type="Unix" ;;
3685 llvm_cv_link_all_option="-Wl,--whole-archive"
3686 llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
3687 llvm_cv_os_type="Linux"
3688 llvm_cv_platform_type="Unix" ;;
3690 llvm_cv_link_all_option="-Wl,--whole-archive"
3691 llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
3692 llvm_cv_os_type="GNU"
3693 llvm_cv_platform_type="Unix" ;;
3695 llvm_cv_link_all_option="-Wl,-z,allextract"
3696 llvm_cv_no_link_all_option="-Wl,-z,defaultextract"
3697 llvm_cv_os_type="SunOS"
3698 llvm_cv_platform_type="Unix" ;;
3700 llvm_cv_link_all_option="-Wl,-z,allextract"
3701 llvm_cv_link_all_option="-Wl,-z,defaultextract"
3702 llvm_cv_os_type="AuroraUX"
3703 llvm_cv_platform_type="Unix" ;;
3705 llvm_cv_link_all_option="-Wl,--whole-archive"
3706 llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
3707 llvm_cv_os_type="Win32"
3708 llvm_cv_platform_type="Win32" ;;
3710 llvm_cv_link_all_option="-Wl,--whole-archive"
3711 llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
3712 llvm_cv_os_type="MingW"
3713 llvm_cv_platform_type="Win32" ;;
3715 llvm_cv_link_all_option="-Wl,--whole-archive"
3716 llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
3717 llvm_cv_os_type="Haiku"
3718 llvm_cv_platform_type="Unix" ;;
3720 llvm_cv_link_all_option="-Wl,--whole-archive"
3721 llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
3722 llvm_cv_os_type="Freestanding"
3723 llvm_cv_platform_type="Unix" ;;
3725 llvm_cv_link_all_option="-Wl,--whole-archive"
3726 llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
3727 llvm_cv_os_type="Freestanding"
3728 llvm_cv_platform_type="Unix" ;;
3730 llvm_cv_link_all_option=""
3731 llvm_cv_no_link_all_option=""
3732 llvm_cv_os_type="Unknown"
3733 llvm_cv_platform_type="Unknown" ;;
3736 { echo "$as_me:$LINENO: result: $llvm_cv_os_type" >&5
3737 echo "${ECHO_T}$llvm_cv_os_type" >&6; }
3739 { echo "$as_me:$LINENO: checking type of operating system we're going to target" >&5
3740 echo $ECHO_N "checking type of operating system we're going to target... $ECHO_C" >&6; }
3741 if test "${llvm_cv_target_os_type+set}" = set; then
3742 echo $ECHO_N "(cached) $ECHO_C" >&6
3746 llvm_cv_target_os_type="AIX" ;;
3748 llvm_cv_target_os_type="IRIX" ;;
3750 llvm_cv_target_os_type="Cygwin" ;;
3752 llvm_cv_target_os_type="Darwin" ;;
3754 llvm_cv_target_os_type="Minix" ;;
3755 *-*-freebsd* | *-*-kfreebsd-gnu)
3756 llvm_cv_target_os_type="FreeBSD" ;;
3758 llvm_cv_target_os_type="OpenBSD" ;;
3760 llvm_cv_target_os_type="NetBSD" ;;
3762 llvm_cv_target_os_type="DragonFly" ;;
3764 llvm_cv_target_os_type="HP-UX" ;;
3766 llvm_cv_target_os_type="Interix" ;;
3768 llvm_cv_target_os_type="Linux" ;;
3770 llvm_cv_target_os_type="GNU" ;;
3772 llvm_cv_target_os_type="SunOS" ;;
3774 llvm_cv_target_os_type="AuroraUX" ;;
3776 llvm_cv_target_os_type="Win32" ;;
3778 llvm_cv_target_os_type="MingW" ;;
3780 llvm_cv_target_os_type="Haiku" ;;
3782 llvm_cv_target_os_type="RTEMS" ;;
3784 llvm_cv_target_os_type="NativeClient" ;;
3786 llvm_cv_target_os_type="Freestanding" ;;
3788 llvm_cv_target_os_type="Unknown" ;;
3791 { echo "$as_me:$LINENO: result: $llvm_cv_target_os_type" >&5
3792 echo "${ECHO_T}$llvm_cv_target_os_type" >&6; }
3794 if test "$llvm_cv_os_type" = "Unknown" ; then
3795 { { echo "$as_me:$LINENO: error: Operating system is unknown, configure can't continue" >&5
3796 echo "$as_me: error: Operating system is unknown, configure can't continue" >&2;}
3797 { (exit 1); exit 1; }; }
3802 HOST_OS=$llvm_cv_os_type
3804 TARGET_OS=$llvm_cv_target_os_type
3807 LINKALL=$llvm_cv_link_all_option
3809 NOLINKALL=$llvm_cv_no_link_all_option
3812 case $llvm_cv_platform_type in
3815 cat >>confdefs.h <<\_ACEOF
3816 #define LLVM_ON_UNIX 1
3826 cat >>confdefs.h <<\_ACEOF
3827 #define LLVM_ON_WIN32 1
3837 { echo "$as_me:$LINENO: checking target architecture" >&5
3838 echo $ECHO_N "checking target architecture... $ECHO_C" >&6; }
3839 if test "${llvm_cv_target_arch+set}" = set; then
3840 echo $ECHO_N "(cached) $ECHO_C" >&6
3843 i?86-*) llvm_cv_target_arch="x86" ;;
3844 amd64-* | x86_64-*) llvm_cv_target_arch="x86_64" ;;
3845 sparc*-*) llvm_cv_target_arch="Sparc" ;;
3846 powerpc*-*) llvm_cv_target_arch="PowerPC" ;;
3847 arm*-*) llvm_cv_target_arch="ARM" ;;
3848 aarch64*-*) llvm_cv_target_arch="AArch64" ;;
3849 mips-* | mips64-*) llvm_cv_target_arch="Mips" ;;
3850 mipsel-* | mips64el-*) llvm_cv_target_arch="Mips" ;;
3851 xcore-*) llvm_cv_target_arch="XCore" ;;
3852 msp430-*) llvm_cv_target_arch="MSP430" ;;
3853 hexagon-*) llvm_cv_target_arch="Hexagon" ;;
3854 mblaze-*) llvm_cv_target_arch="MBlaze" ;;
3855 nvptx-*) llvm_cv_target_arch="NVPTX" ;;
3856 s390x-*) llvm_cv_target_arch="SystemZ" ;;
3857 *) llvm_cv_target_arch="Unknown" ;;
3860 { echo "$as_me:$LINENO: result: $llvm_cv_target_arch" >&5
3861 echo "${ECHO_T}$llvm_cv_target_arch" >&6; }
3863 if test "$llvm_cv_target_arch" = "Unknown" ; then
3864 { echo "$as_me:$LINENO: WARNING: Configuring LLVM for an unknown target archicture" >&5
3865 echo "$as_me: WARNING: Configuring LLVM for an unknown target archicture" >&2;}
3868 # Determine the LLVM native architecture for the target
3869 case "$llvm_cv_target_arch" in
3870 x86) LLVM_NATIVE_ARCH="X86" ;;
3871 x86_64) LLVM_NATIVE_ARCH="X86" ;;
3872 *) LLVM_NATIVE_ARCH="$llvm_cv_target_arch" ;;
3875 ARCH=$llvm_cv_target_arch
3880 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3881 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3882 if test "${ac_cv_path_GREP+set}" = set; then
3883 echo $ECHO_N "(cached) $ECHO_C" >&6
3885 # Extract the first word of "grep ggrep" to use in msg output
3886 if test -z "$GREP"; then
3887 set dummy grep ggrep; ac_prog_name=$2
3888 if test "${ac_cv_path_GREP+set}" = set; then
3889 echo $ECHO_N "(cached) $ECHO_C" >&6
3891 ac_path_GREP_found=false
3892 # Loop through the user's path and test for each of PROGNAME-LIST
3893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3894 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3897 test -z "$as_dir" && as_dir=.
3898 for ac_prog in grep ggrep; do
3899 for ac_exec_ext in '' $ac_executable_extensions; do
3900 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3901 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
3902 # Check for GNU ac_path_GREP and select it if it is found.
3903 # Check for GNU $ac_path_GREP
3904 case `"$ac_path_GREP" --version 2>&1` in
3906 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3909 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3912 cat "conftest.in" "conftest.in" >"conftest.tmp"
3913 mv "conftest.tmp" "conftest.in"
3914 cp "conftest.in" "conftest.nl"
3915 echo 'GREP' >> "conftest.nl"
3916 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3917 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3918 ac_count=`expr $ac_count + 1`
3919 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3920 # Best one so far, save it but keep looking for a better one
3921 ac_cv_path_GREP="$ac_path_GREP"
3922 ac_path_GREP_max=$ac_count
3924 # 10*(2^10) chars as input seems more than enough
3925 test $ac_count -gt 10 && break
3927 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3931 $ac_path_GREP_found && break 3
3941 GREP="$ac_cv_path_GREP"
3942 if test -z "$GREP"; then
3943 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3944 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3945 { (exit 1); exit 1; }; }
3949 ac_cv_path_GREP=$GREP
3954 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3955 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3956 GREP="$ac_cv_path_GREP"
3959 { echo "$as_me:$LINENO: checking for egrep" >&5
3960 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3961 if test "${ac_cv_path_EGREP+set}" = set; then
3962 echo $ECHO_N "(cached) $ECHO_C" >&6
3964 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3965 then ac_cv_path_EGREP="$GREP -E"
3967 # Extract the first word of "egrep" to use in msg output
3968 if test -z "$EGREP"; then
3969 set dummy egrep; ac_prog_name=$2
3970 if test "${ac_cv_path_EGREP+set}" = set; then
3971 echo $ECHO_N "(cached) $ECHO_C" >&6
3973 ac_path_EGREP_found=false
3974 # Loop through the user's path and test for each of PROGNAME-LIST
3975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3976 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3979 test -z "$as_dir" && as_dir=.
3980 for ac_prog in egrep; do
3981 for ac_exec_ext in '' $ac_executable_extensions; do
3982 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3983 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
3984 # Check for GNU ac_path_EGREP and select it if it is found.
3985 # Check for GNU $ac_path_EGREP
3986 case `"$ac_path_EGREP" --version 2>&1` in
3988 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3991 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3994 cat "conftest.in" "conftest.in" >"conftest.tmp"
3995 mv "conftest.tmp" "conftest.in"
3996 cp "conftest.in" "conftest.nl"
3997 echo 'EGREP' >> "conftest.nl"
3998 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3999 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4000 ac_count=`expr $ac_count + 1`
4001 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4002 # Best one so far, save it but keep looking for a better one
4003 ac_cv_path_EGREP="$ac_path_EGREP"
4004 ac_path_EGREP_max=$ac_count
4006 # 10*(2^10) chars as input seems more than enough
4007 test $ac_count -gt 10 && break
4009 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4013 $ac_path_EGREP_found && break 3
4023 EGREP="$ac_cv_path_EGREP"
4024 if test -z "$EGREP"; then
4025 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4026 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4027 { (exit 1); exit 1; }; }
4031 ac_cv_path_EGREP=$EGREP
4037 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4038 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4039 EGREP="$ac_cv_path_EGREP"
4042 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4043 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4044 if test "${ac_cv_header_stdc+set}" = set; then
4045 echo $ECHO_N "(cached) $ECHO_C" >&6
4047 cat >conftest.$ac_ext <<_ACEOF
4050 cat confdefs.h >>conftest.$ac_ext
4051 cat >>conftest.$ac_ext <<_ACEOF
4052 /* end confdefs.h. */
4066 rm -f conftest.$ac_objext
4067 if { (ac_try="$ac_compile"
4069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4070 *) ac_try_echo=$ac_try;;
4072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4073 (eval "$ac_compile") 2>conftest.er1
4075 grep -v '^ *+' conftest.er1 >conftest.err
4077 cat conftest.err >&5
4078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4079 (exit $ac_status); } &&
4080 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4081 { (case "(($ac_try" in
4082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4083 *) ac_try_echo=$ac_try;;
4085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4086 (eval "$ac_try") 2>&5
4088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4089 (exit $ac_status); }; } &&
4090 { ac_try='test -s conftest.$ac_objext'
4091 { (case "(($ac_try" in
4092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4093 *) ac_try_echo=$ac_try;;
4095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4096 (eval "$ac_try") 2>&5
4098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4099 (exit $ac_status); }; }; then
4100 ac_cv_header_stdc=yes
4102 echo "$as_me: failed program was:" >&5
4103 sed 's/^/| /' conftest.$ac_ext >&5
4105 ac_cv_header_stdc=no
4108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4110 if test $ac_cv_header_stdc = yes; then
4111 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4112 cat >conftest.$ac_ext <<_ACEOF
4115 cat confdefs.h >>conftest.$ac_ext
4116 cat >>conftest.$ac_ext <<_ACEOF
4117 /* end confdefs.h. */
4121 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4122 $EGREP "memchr" >/dev/null 2>&1; then
4125 ac_cv_header_stdc=no
4131 if test $ac_cv_header_stdc = yes; then
4132 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4133 cat >conftest.$ac_ext <<_ACEOF
4136 cat confdefs.h >>conftest.$ac_ext
4137 cat >>conftest.$ac_ext <<_ACEOF
4138 /* end confdefs.h. */
4142 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4143 $EGREP "free" >/dev/null 2>&1; then
4146 ac_cv_header_stdc=no
4152 if test $ac_cv_header_stdc = yes; then
4153 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4154 if test "$cross_compiling" = yes; then
4157 cat >conftest.$ac_ext <<_ACEOF
4160 cat confdefs.h >>conftest.$ac_ext
4161 cat >>conftest.$ac_ext <<_ACEOF
4162 /* end confdefs.h. */
4165 #if ((' ' & 0x0FF) == 0x020)
4166 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4167 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4169 # define ISLOWER(c) \
4170 (('a' <= (c) && (c) <= 'i') \
4171 || ('j' <= (c) && (c) <= 'r') \
4172 || ('s' <= (c) && (c) <= 'z'))
4173 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4176 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4181 for (i = 0; i < 256; i++)
4182 if (XOR (islower (i), ISLOWER (i))
4183 || toupper (i) != TOUPPER (i))
4188 rm -f conftest$ac_exeext
4189 if { (ac_try="$ac_link"
4191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4192 *) ac_try_echo=$ac_try;;
4194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4195 (eval "$ac_link") 2>&5
4197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4198 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4199 { (case "(($ac_try" in
4200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4201 *) ac_try_echo=$ac_try;;
4203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4204 (eval "$ac_try") 2>&5
4206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4207 (exit $ac_status); }; }; then
4210 echo "$as_me: program exited with status $ac_status" >&5
4211 echo "$as_me: failed program was:" >&5
4212 sed 's/^/| /' conftest.$ac_ext >&5
4215 ac_cv_header_stdc=no
4217 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4223 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4224 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4225 if test $ac_cv_header_stdc = yes; then
4227 cat >>confdefs.h <<\_ACEOF
4228 #define STDC_HEADERS 1
4233 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4243 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4244 inttypes.h stdint.h unistd.h
4246 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4247 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4248 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4249 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4250 echo $ECHO_N "(cached) $ECHO_C" >&6
4252 cat >conftest.$ac_ext <<_ACEOF
4255 cat confdefs.h >>conftest.$ac_ext
4256 cat >>conftest.$ac_ext <<_ACEOF
4257 /* end confdefs.h. */
4258 $ac_includes_default
4260 #include <$ac_header>
4262 rm -f conftest.$ac_objext
4263 if { (ac_try="$ac_compile"
4265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4266 *) ac_try_echo=$ac_try;;
4268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4269 (eval "$ac_compile") 2>conftest.er1
4271 grep -v '^ *+' conftest.er1 >conftest.err
4273 cat conftest.err >&5
4274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4275 (exit $ac_status); } &&
4276 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4277 { (case "(($ac_try" in
4278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4279 *) ac_try_echo=$ac_try;;
4281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4282 (eval "$ac_try") 2>&5
4284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4285 (exit $ac_status); }; } &&
4286 { ac_try='test -s conftest.$ac_objext'
4287 { (case "(($ac_try" in
4288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4289 *) ac_try_echo=$ac_try;;
4291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4292 (eval "$ac_try") 2>&5
4294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4295 (exit $ac_status); }; }; then
4296 eval "$as_ac_Header=yes"
4298 echo "$as_me: failed program was:" >&5
4299 sed 's/^/| /' conftest.$ac_ext >&5
4301 eval "$as_ac_Header=no"
4304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4306 ac_res=`eval echo '${'$as_ac_Header'}'`
4307 { echo "$as_me:$LINENO: result: $ac_res" >&5
4308 echo "${ECHO_T}$ac_res" >&6; }
4309 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4310 cat >>confdefs.h <<_ACEOF
4311 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4319 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
4320 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
4321 if test "${ac_cv_c_bigendian+set}" = set; then
4322 echo $ECHO_N "(cached) $ECHO_C" >&6
4324 # See if sys/param.h defines the BYTE_ORDER macro.
4325 cat >conftest.$ac_ext <<_ACEOF
4328 cat confdefs.h >>conftest.$ac_ext
4329 cat >>conftest.$ac_ext <<_ACEOF
4330 /* end confdefs.h. */
4331 #include <sys/types.h>
4332 #include <sys/param.h>
4337 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
4345 rm -f conftest.$ac_objext
4346 if { (ac_try="$ac_compile"
4348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4349 *) ac_try_echo=$ac_try;;
4351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4352 (eval "$ac_compile") 2>conftest.er1
4354 grep -v '^ *+' conftest.er1 >conftest.err
4356 cat conftest.err >&5
4357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4358 (exit $ac_status); } &&
4359 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4360 { (case "(($ac_try" in
4361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4362 *) ac_try_echo=$ac_try;;
4364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4365 (eval "$ac_try") 2>&5
4367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4368 (exit $ac_status); }; } &&
4369 { ac_try='test -s conftest.$ac_objext'
4370 { (case "(($ac_try" in
4371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4372 *) ac_try_echo=$ac_try;;
4374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4375 (eval "$ac_try") 2>&5
4377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4378 (exit $ac_status); }; }; then
4379 # It does; now see whether it defined to BIG_ENDIAN or not.
4380 cat >conftest.$ac_ext <<_ACEOF
4383 cat confdefs.h >>conftest.$ac_ext
4384 cat >>conftest.$ac_ext <<_ACEOF
4385 /* end confdefs.h. */
4386 #include <sys/types.h>
4387 #include <sys/param.h>
4392 #if BYTE_ORDER != BIG_ENDIAN
4400 rm -f conftest.$ac_objext
4401 if { (ac_try="$ac_compile"
4403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4404 *) ac_try_echo=$ac_try;;
4406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4407 (eval "$ac_compile") 2>conftest.er1
4409 grep -v '^ *+' conftest.er1 >conftest.err
4411 cat conftest.err >&5
4412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4413 (exit $ac_status); } &&
4414 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4415 { (case "(($ac_try" in
4416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4417 *) ac_try_echo=$ac_try;;
4419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4420 (eval "$ac_try") 2>&5
4422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4423 (exit $ac_status); }; } &&
4424 { ac_try='test -s conftest.$ac_objext'
4425 { (case "(($ac_try" in
4426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4427 *) ac_try_echo=$ac_try;;
4429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4430 (eval "$ac_try") 2>&5
4432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4433 (exit $ac_status); }; }; then
4434 ac_cv_c_bigendian=yes
4436 echo "$as_me: failed program was:" >&5
4437 sed 's/^/| /' conftest.$ac_ext >&5
4439 ac_cv_c_bigendian=no
4442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4444 echo "$as_me: failed program was:" >&5
4445 sed 's/^/| /' conftest.$ac_ext >&5
4447 # It does not; compile a test program.
4448 if test "$cross_compiling" = yes; then
4449 # try to guess the endianness by grepping values into an object file
4450 ac_cv_c_bigendian=unknown
4451 cat >conftest.$ac_ext <<_ACEOF
4454 cat confdefs.h >>conftest.$ac_ext
4455 cat >>conftest.$ac_ext <<_ACEOF
4456 /* end confdefs.h. */
4457 short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4458 short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4459 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
4460 short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4461 short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4462 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
4466 _ascii (); _ebcdic ();
4471 rm -f conftest.$ac_objext
4472 if { (ac_try="$ac_compile"
4474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4475 *) ac_try_echo=$ac_try;;
4477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4478 (eval "$ac_compile") 2>conftest.er1
4480 grep -v '^ *+' conftest.er1 >conftest.err
4482 cat conftest.err >&5
4483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4484 (exit $ac_status); } &&
4485 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4486 { (case "(($ac_try" in
4487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4488 *) ac_try_echo=$ac_try;;
4490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4491 (eval "$ac_try") 2>&5
4493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4494 (exit $ac_status); }; } &&
4495 { ac_try='test -s conftest.$ac_objext'
4496 { (case "(($ac_try" in
4497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4498 *) ac_try_echo=$ac_try;;
4500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4501 (eval "$ac_try") 2>&5
4503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4504 (exit $ac_status); }; }; then
4505 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
4506 ac_cv_c_bigendian=yes
4508 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
4509 if test "$ac_cv_c_bigendian" = unknown; then
4510 ac_cv_c_bigendian=no
4512 # finding both strings is unlikely to happen, but who knows?
4513 ac_cv_c_bigendian=unknown
4517 echo "$as_me: failed program was:" >&5
4518 sed 's/^/| /' conftest.$ac_ext >&5
4523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4525 cat >conftest.$ac_ext <<_ACEOF
4528 cat confdefs.h >>conftest.$ac_ext
4529 cat >>conftest.$ac_ext <<_ACEOF
4530 /* end confdefs.h. */
4531 $ac_includes_default
4536 /* Are we little or big endian? From Harbison&Steele. */
4540 char c[sizeof (long int)];
4543 return u.c[sizeof (long int) - 1] == 1;
4549 rm -f conftest$ac_exeext
4550 if { (ac_try="$ac_link"
4552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4553 *) ac_try_echo=$ac_try;;
4555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4556 (eval "$ac_link") 2>&5
4558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4559 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4560 { (case "(($ac_try" in
4561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4562 *) ac_try_echo=$ac_try;;
4564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4565 (eval "$ac_try") 2>&5
4567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4568 (exit $ac_status); }; }; then
4569 ac_cv_c_bigendian=no
4571 echo "$as_me: program exited with status $ac_status" >&5
4572 echo "$as_me: failed program was:" >&5
4573 sed 's/^/| /' conftest.$ac_ext >&5
4576 ac_cv_c_bigendian=yes
4578 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4586 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
4587 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
4588 case $ac_cv_c_bigendian in
4596 { { echo "$as_me:$LINENO: error: unknown endianness
4597 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
4598 echo "$as_me: error: unknown endianness
4599 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
4600 { (exit 1); exit 1; }; } ;;
4604 if test "$cross_compiling" = yes; then
4605 LLVM_CROSS_COMPILING=1
4608 { echo "$as_me:$LINENO: checking for executable suffix on build platform" >&5
4609 echo $ECHO_N "checking for executable suffix on build platform... $ECHO_C" >&6; }
4610 if test "${ac_cv_build_exeext+set}" = set; then
4611 echo $ECHO_N "(cached) $ECHO_C" >&6
4613 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
4614 ac_cv_build_exeext=.exe
4616 ac_build_prefix=${build_alias}-
4618 # Extract the first word of "${ac_build_prefix}gcc", so it can be a program name with args.
4619 set dummy ${ac_build_prefix}gcc; ac_word=$2
4620 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4621 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4622 if test "${ac_cv_prog_BUILD_CC+set}" = set; then
4623 echo $ECHO_N "(cached) $ECHO_C" >&6
4625 if test -n "$BUILD_CC"; then
4626 ac_cv_prog_BUILD_CC="$BUILD_CC" # Let the user override the test.
4628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4632 test -z "$as_dir" && as_dir=.
4633 for ac_exec_ext in '' $ac_executable_extensions; do
4634 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4635 ac_cv_prog_BUILD_CC="${ac_build_prefix}gcc"
4636 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4645 BUILD_CC=$ac_cv_prog_BUILD_CC
4646 if test -n "$BUILD_CC"; then
4647 { echo "$as_me:$LINENO: result: $BUILD_CC" >&5
4648 echo "${ECHO_T}$BUILD_CC" >&6; }
4650 { echo "$as_me:$LINENO: result: no" >&5
4651 echo "${ECHO_T}no" >&6; }
4655 if test -z "$BUILD_CC"; then
4656 # Extract the first word of "gcc", so it can be a program name with args.
4657 set dummy gcc; ac_word=$2
4658 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4659 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4660 if test "${ac_cv_prog_BUILD_CC+set}" = set; then
4661 echo $ECHO_N "(cached) $ECHO_C" >&6
4663 if test -n "$BUILD_CC"; then
4664 ac_cv_prog_BUILD_CC="$BUILD_CC" # Let the user override the test.
4666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4670 test -z "$as_dir" && as_dir=.
4671 for ac_exec_ext in '' $ac_executable_extensions; do
4672 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4673 ac_cv_prog_BUILD_CC="gcc"
4674 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4683 BUILD_CC=$ac_cv_prog_BUILD_CC
4684 if test -n "$BUILD_CC"; then
4685 { echo "$as_me:$LINENO: result: $BUILD_CC" >&5
4686 echo "${ECHO_T}$BUILD_CC" >&6; }
4688 { echo "$as_me:$LINENO: result: no" >&5
4689 echo "${ECHO_T}no" >&6; }
4693 if test -z "$BUILD_CC"; then
4694 # Extract the first word of "cc", so it can be a program name with args.
4695 set dummy cc; ac_word=$2
4696 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4697 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4698 if test "${ac_cv_prog_BUILD_CC+set}" = set; then
4699 echo $ECHO_N "(cached) $ECHO_C" >&6
4701 if test -n "$BUILD_CC"; then
4702 ac_cv_prog_BUILD_CC="$BUILD_CC" # Let the user override the test.
4705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4709 test -z "$as_dir" && as_dir=.
4710 for ac_exec_ext in '' $ac_executable_extensions; do
4711 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4712 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4713 ac_prog_rejected=yes
4716 ac_cv_prog_BUILD_CC="cc"
4717 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4724 if test $ac_prog_rejected = yes; then
4725 # We found a bogon in the path, so make sure we never use it.
4726 set dummy $ac_cv_prog_BUILD_CC
4728 if test $# != 0; then
4729 # We chose a different compiler from the bogus one.
4730 # However, it has the same basename, so the bogon will be chosen
4731 # first if we set BUILD_CC to just the basename; use the full file name.
4733 ac_cv_prog_BUILD_CC="$as_dir/$ac_word${1+' '}$@"
4738 BUILD_CC=$ac_cv_prog_BUILD_CC
4739 if test -n "$BUILD_CC"; then
4740 { echo "$as_me:$LINENO: result: $BUILD_CC" >&5
4741 echo "${ECHO_T}$BUILD_CC" >&6; }
4743 { echo "$as_me:$LINENO: result: no" >&5
4744 echo "${ECHO_T}no" >&6; }
4750 test -z "$BUILD_CC" && { { echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5
4751 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
4752 { (exit 1); exit 1; }; }
4753 ac_build_link='${BUILD_CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4755 echo 'int main () { return 0; }' > conftest.$ac_ext
4757 if { (eval echo "$as_me:$LINENO: \"$ac_build_link\"") >&5
4758 (eval $ac_build_link) 2>&5
4760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4761 (exit $ac_status); }; then
4762 for file in conftest.*; do
4764 *.c | *.o | *.obj | *.dSYM) ;;
4765 *) ac_cv_build_exeext=`echo $file | sed -e s/conftest//` ;;
4769 { { echo "$as_me:$LINENO: error: installation or configuration problem: compiler cannot create executables." >&5
4770 echo "$as_me: error: installation or configuration problem: compiler cannot create executables." >&2;}
4771 { (exit 1); exit 1; }; }
4774 test x"${ac_cv_build_exeext}" = x && ac_cv_build_exeext=blank
4779 test x"${ac_cv_build_exeext}" != xblank && BUILD_EXEEXT=${ac_cv_build_exeext}
4780 { echo "$as_me:$LINENO: result: ${ac_cv_build_exeext}" >&5
4781 echo "${ECHO_T}${ac_cv_build_exeext}" >&6; }
4782 ac_build_exeext=$BUILD_EXEEXT
4784 ac_build_prefix=${build_alias}-
4785 # Extract the first word of "${ac_build_prefix}g++", so it can be a program name with args.
4786 set dummy ${ac_build_prefix}g++; ac_word=$2
4787 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4788 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4789 if test "${ac_cv_prog_BUILD_CXX+set}" = set; then
4790 echo $ECHO_N "(cached) $ECHO_C" >&6
4792 if test -n "$BUILD_CXX"; then
4793 ac_cv_prog_BUILD_CXX="$BUILD_CXX" # Let the user override the test.
4795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4799 test -z "$as_dir" && as_dir=.
4800 for ac_exec_ext in '' $ac_executable_extensions; do
4801 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4802 ac_cv_prog_BUILD_CXX="${ac_build_prefix}g++"
4803 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4812 BUILD_CXX=$ac_cv_prog_BUILD_CXX
4813 if test -n "$BUILD_CXX"; then
4814 { echo "$as_me:$LINENO: result: $BUILD_CXX" >&5
4815 echo "${ECHO_T}$BUILD_CXX" >&6; }
4817 { echo "$as_me:$LINENO: result: no" >&5
4818 echo "${ECHO_T}no" >&6; }
4822 if test -z "$BUILD_CXX"; then
4823 # Extract the first word of "g++", so it can be a program name with args.
4824 set dummy g++; ac_word=$2
4825 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4826 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4827 if test "${ac_cv_prog_BUILD_CXX+set}" = set; then
4828 echo $ECHO_N "(cached) $ECHO_C" >&6
4830 if test -n "$BUILD_CXX"; then
4831 ac_cv_prog_BUILD_CXX="$BUILD_CXX" # Let the user override the test.
4833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4837 test -z "$as_dir" && as_dir=.
4838 for ac_exec_ext in '' $ac_executable_extensions; do
4839 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4840 ac_cv_prog_BUILD_CXX="g++"
4841 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4850 BUILD_CXX=$ac_cv_prog_BUILD_CXX
4851 if test -n "$BUILD_CXX"; then
4852 { echo "$as_me:$LINENO: result: $BUILD_CXX" >&5
4853 echo "${ECHO_T}$BUILD_CXX" >&6; }
4855 { echo "$as_me:$LINENO: result: no" >&5
4856 echo "${ECHO_T}no" >&6; }
4860 if test -z "$BUILD_CXX"; then
4861 # Extract the first word of "c++", so it can be a program name with args.
4862 set dummy c++; ac_word=$2
4863 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4864 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4865 if test "${ac_cv_prog_BUILD_CXX+set}" = set; then
4866 echo $ECHO_N "(cached) $ECHO_C" >&6
4868 if test -n "$BUILD_CXX"; then
4869 ac_cv_prog_BUILD_CXX="$BUILD_CXX" # Let the user override the test.
4872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4876 test -z "$as_dir" && as_dir=.
4877 for ac_exec_ext in '' $ac_executable_extensions; do
4878 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4879 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/c++"; then
4880 ac_prog_rejected=yes
4883 ac_cv_prog_BUILD_CXX="c++"
4884 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4891 if test $ac_prog_rejected = yes; then
4892 # We found a bogon in the path, so make sure we never use it.
4893 set dummy $ac_cv_prog_BUILD_CXX
4895 if test $# != 0; then
4896 # We chose a different compiler from the bogus one.
4897 # However, it has the same basename, so the bogon will be chosen
4898 # first if we set BUILD_CXX to just the basename; use the full file name.
4900 ac_cv_prog_BUILD_CXX="$as_dir/$ac_word${1+' '}$@"
4905 BUILD_CXX=$ac_cv_prog_BUILD_CXX
4906 if test -n "$BUILD_CXX"; then
4907 { echo "$as_me:$LINENO: result: $BUILD_CXX" >&5
4908 echo "${ECHO_T}$BUILD_CXX" >&6; }
4910 { echo "$as_me:$LINENO: result: no" >&5
4911 echo "${ECHO_T}no" >&6; }
4918 LLVM_CROSS_COMPILING=0
4922 if test -d ".svn" -o -d "${srcdir}/.svn" -o -d ".git" -o -d "${srcdir}/.git"; then
4933 # Check whether --enable-libcpp was given.
4934 if test "${enable_libcpp+set}" = set; then
4935 enableval=$enable_libcpp;
4940 case "$enableval" in
4941 yes) ENABLE_LIBCPP=1
4945 default) ENABLE_LIBCPP=0
4947 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-libcpp. Use \"yes\" or \"no\"" >&5
4948 echo "$as_me: error: Invalid setting for --enable-libcpp. Use \"yes\" or \"no\"" >&2;}
4949 { (exit 1); exit 1; }; } ;;
4952 # Check whether --enable-cxx11 was given.
4953 if test "${enable_cxx11+set}" = set; then
4954 enableval=$enable_cxx11;
4959 case "$enableval" in
4964 default) ENABLE_CXX11=0
4966 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-cxx11. Use \"yes\" or \"no\"" >&5
4967 echo "$as_me: error: Invalid setting for --enable-cxx11. Use \"yes\" or \"no\"" >&2;}
4968 { (exit 1); exit 1; }; } ;;
4971 # Check whether --enable-optimized was given.
4972 if test "${enable_optimized+set}" = set; then
4973 enableval=$enable_optimized;
4978 if test ${enableval} = "no" ; then
4982 ENABLE_OPTIMIZED=ENABLE_OPTIMIZED=1
4986 # Check whether --enable-profiling was given.
4987 if test "${enable_profiling+set}" = set; then
4988 enableval=$enable_profiling;
4993 if test ${enableval} = "no" ; then
4997 ENABLE_PROFILING=ENABLE_PROFILING=1
5001 # Check whether --enable-assertions was given.
5002 if test "${enable_assertions+set}" = set; then
5003 enableval=$enable_assertions;
5008 if test ${enableval} = "yes" ; then
5012 DISABLE_ASSERTIONS=DISABLE_ASSERTIONS=1
5016 # Check whether --enable-werror was given.
5017 if test "${enable_werror+set}" = set; then
5018 enableval=$enable_werror;
5023 case "$enableval" in
5024 yes) ENABLE_WERROR=1
5028 default) ENABLE_WERROR=0
5030 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-werror. Use \"yes\" or \"no\"" >&5
5031 echo "$as_me: error: Invalid setting for --enable-werror. Use \"yes\" or \"no\"" >&2;}
5032 { (exit 1); exit 1; }; } ;;
5035 # Check whether --enable-expensive-checks was given.
5036 if test "${enable_expensive_checks+set}" = set; then
5037 enableval=$enable_expensive_checks;
5042 if test ${enableval} = "yes" ; then
5043 ENABLE_EXPENSIVE_CHECKS=ENABLE_EXPENSIVE_CHECKS=1
5045 EXPENSIVE_CHECKS=yes
5048 ENABLE_EXPENSIVE_CHECKS=
5054 # Check whether --enable-debug-runtime was given.
5055 if test "${enable_debug_runtime+set}" = set; then
5056 enableval=$enable_debug_runtime;
5061 if test ${enableval} = "no" ; then
5065 DEBUG_RUNTIME=DEBUG_RUNTIME=1
5069 # Check whether --enable-debug-symbols was given.
5070 if test "${enable_debug_symbols+set}" = set; then
5071 enableval=$enable_debug_symbols;
5076 if test ${enableval} = "no" ; then
5080 DEBUG_SYMBOLS=DEBUG_SYMBOLS=1
5084 # Check whether --enable-jit was given.
5085 if test "${enable_jit+set}" = set; then
5086 enableval=$enable_jit;
5091 if test ${enableval} = "no"
5096 case "$llvm_cv_target_arch" in
5097 x86) TARGET_HAS_JIT=1
5099 Sparc) TARGET_HAS_JIT=0
5101 PowerPC) TARGET_HAS_JIT=1
5103 x86_64) TARGET_HAS_JIT=1
5105 ARM) TARGET_HAS_JIT=1
5107 AArch64) TARGET_HAS_JIT=0
5109 Mips) TARGET_HAS_JIT=1
5111 XCore) TARGET_HAS_JIT=0
5113 MSP430) TARGET_HAS_JIT=0
5115 Hexagon) TARGET_HAS_JIT=0
5117 MBlaze) TARGET_HAS_JIT=0
5119 NVPTX) TARGET_HAS_JIT=0
5121 SystemZ) TARGET_HAS_JIT=1
5128 # Check whether --enable-docs was given.
5129 if test "${enable_docs+set}" = set; then
5130 enableval=$enable_docs;
5135 case "$enableval" in
5140 default) ENABLE_DOCS=1
5142 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-docs. Use \"yes\" or \"no\"" >&5
5143 echo "$as_me: error: Invalid setting for --enable-docs. Use \"yes\" or \"no\"" >&2;}
5144 { (exit 1); exit 1; }; } ;;
5147 # Check whether --enable-doxygen was given.
5148 if test "${enable_doxygen+set}" = set; then
5149 enableval=$enable_doxygen;
5154 case "$enableval" in
5155 yes) ENABLE_DOXYGEN=1
5157 no) ENABLE_DOXYGEN=0
5159 default) ENABLE_DOXYGEN=0
5161 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-doxygen. Use \"yes\" or \"no\"" >&5
5162 echo "$as_me: error: Invalid setting for --enable-doxygen. Use \"yes\" or \"no\"" >&2;}
5163 { (exit 1); exit 1; }; } ;;
5166 # Check whether --enable-threads was given.
5167 if test "${enable_threads+set}" = set; then
5168 enableval=$enable_threads;
5173 case "$enableval" in
5174 yes) ENABLE_THREADS=1
5176 no) ENABLE_THREADS=0
5178 default) ENABLE_THREADS=1
5180 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-threads. Use \"yes\" or \"no\"" >&5
5181 echo "$as_me: error: Invalid setting for --enable-threads. Use \"yes\" or \"no\"" >&2;}
5182 { (exit 1); exit 1; }; } ;;
5185 cat >>confdefs.h <<_ACEOF
5186 #define ENABLE_THREADS $ENABLE_THREADS
5190 # Check whether --enable-pthreads was given.
5191 if test "${enable_pthreads+set}" = set; then
5192 enableval=$enable_pthreads;
5197 case "$enableval" in
5198 yes) ENABLE_PTHREADS=1
5200 no) ENABLE_PTHREADS=0
5202 default) ENABLE_PTHREADS=1
5204 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-pthreads. Use \"yes\" or \"no\"" >&5
5205 echo "$as_me: error: Invalid setting for --enable-pthreads. Use \"yes\" or \"no\"" >&2;}
5206 { (exit 1); exit 1; }; } ;;
5209 # Check whether --enable-pic was given.
5210 if test "${enable_pic+set}" = set; then
5211 enableval=$enable_pic;
5216 case "$enableval" in
5221 default) ENABLE_PIC=1
5223 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-pic. Use \"yes\" or \"no\"" >&5
5224 echo "$as_me: error: Invalid setting for --enable-pic. Use \"yes\" or \"no\"" >&2;}
5225 { (exit 1); exit 1; }; } ;;
5228 cat >>confdefs.h <<_ACEOF
5229 #define ENABLE_PIC $ENABLE_PIC
5233 # Check whether --enable-shared was given.
5234 if test "${enable_shared+set}" = set; then
5235 enableval=$enable_shared;
5240 case "$enableval" in
5241 yes) ENABLE_SHARED=1
5245 default) ENABLE_SHARED=0
5247 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-shared. Use \"yes\" or \"no\"" >&5
5248 echo "$as_me: error: Invalid setting for --enable-shared. Use \"yes\" or \"no\"" >&2;}
5249 { (exit 1); exit 1; }; } ;;
5252 # Check whether --enable-embed-stdcxx was given.
5253 if test "${enable_embed_stdcxx+set}" = set; then
5254 enableval=$enable_embed_stdcxx;
5259 case "$enableval" in
5260 yes) ENABLE_EMBED_STDCXX=1
5262 no) ENABLE_EMBED_STDCXX=0
5264 default) ENABLE_EMBED_STDCXX=1
5266 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-embed-stdcxx. Use \"yes\" or \"no\"" >&5
5267 echo "$as_me: error: Invalid setting for --enable-embed-stdcxx. Use \"yes\" or \"no\"" >&2;}
5268 { (exit 1); exit 1; }; } ;;
5271 # Check whether --enable-timestamps was given.
5272 if test "${enable_timestamps+set}" = set; then
5273 enableval=$enable_timestamps;
5278 case "$enableval" in
5279 yes) ENABLE_TIMESTAMPS=1
5281 no) ENABLE_TIMESTAMPS=0
5283 default) ENABLE_TIMESTAMPS=1
5285 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-timestamps. Use \"yes\" or \"no\"" >&5
5286 echo "$as_me: error: Invalid setting for --enable-timestamps. Use \"yes\" or \"no\"" >&2;}
5287 { (exit 1); exit 1; }; } ;;
5290 cat >>confdefs.h <<_ACEOF
5291 #define ENABLE_TIMESTAMPS $ENABLE_TIMESTAMPS
5296 # Check whether --enable-targets was given.
5297 if test "${enable_targets+set}" = set; then
5298 enableval=$enable_targets;
5303 if test "$enableval" = host-only ; then
5306 case "$enableval" in
5307 all) TARGETS_TO_BUILD="X86 Sparc PowerPC AArch64 ARM Mips XCore MSP430 CppBackend MBlaze NVPTX Hexagon SystemZ R600" ;;
5308 *)for a_target in `echo $enableval|sed -e 's/,/ /g' ` ; do
5310 x86) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
5311 x86_64) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
5312 sparc) TARGETS_TO_BUILD="Sparc $TARGETS_TO_BUILD" ;;
5313 powerpc) TARGETS_TO_BUILD="PowerPC $TARGETS_TO_BUILD" ;;
5314 aarch64) TARGETS_TO_BUILD="AArch64 $TARGETS_TO_BUILD" ;;
5315 arm) TARGETS_TO_BUILD="ARM $TARGETS_TO_BUILD" ;;
5316 mips) TARGETS_TO_BUILD="Mips $TARGETS_TO_BUILD" ;;
5317 mipsel) TARGETS_TO_BUILD="Mips $TARGETS_TO_BUILD" ;;
5318 mips64) TARGETS_TO_BUILD="Mips $TARGETS_TO_BUILD" ;;
5319 mips64el) TARGETS_TO_BUILD="Mips $TARGETS_TO_BUILD" ;;
5320 xcore) TARGETS_TO_BUILD="XCore $TARGETS_TO_BUILD" ;;
5321 msp430) TARGETS_TO_BUILD="MSP430 $TARGETS_TO_BUILD" ;;
5322 cpp) TARGETS_TO_BUILD="CppBackend $TARGETS_TO_BUILD" ;;
5323 hexagon) TARGETS_TO_BUILD="Hexagon $TARGETS_TO_BUILD" ;;
5324 mblaze) TARGETS_TO_BUILD="MBlaze $TARGETS_TO_BUILD" ;;
5325 nvptx) TARGETS_TO_BUILD="NVPTX $TARGETS_TO_BUILD" ;;
5326 systemz) TARGETS_TO_BUILD="SystemZ $TARGETS_TO_BUILD" ;;
5327 r600) TARGETS_TO_BUILD="R600 $TARGETS_TO_BUILD" ;;
5328 host) case "$llvm_cv_target_arch" in
5329 x86) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
5330 x86_64) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
5331 Sparc) TARGETS_TO_BUILD="Sparc $TARGETS_TO_BUILD" ;;
5332 PowerPC) TARGETS_TO_BUILD="PowerPC $TARGETS_TO_BUILD" ;;
5333 AArch64) TARGETS_TO_BUILD="AArch64 $TARGETS_TO_BUILD" ;;
5334 ARM) TARGETS_TO_BUILD="ARM $TARGETS_TO_BUILD" ;;
5335 Mips) TARGETS_TO_BUILD="Mips $TARGETS_TO_BUILD" ;;
5336 MBlaze) TARGETS_TO_BUILD="MBlaze $TARGETS_TO_BUILD" ;;
5337 XCore) TARGETS_TO_BUILD="XCore $TARGETS_TO_BUILD" ;;
5338 MSP430) TARGETS_TO_BUILD="MSP430 $TARGETS_TO_BUILD" ;;
5339 Hexagon) TARGETS_TO_BUILD="Hexagon $TARGETS_TO_BUILD" ;;
5340 NVPTX) TARGETS_TO_BUILD="NVPTX $TARGETS_TO_BUILD" ;;
5341 SystemZ) TARGETS_TO_BUILD="SystemZ $TARGETS_TO_BUILD" ;;
5342 *) { { echo "$as_me:$LINENO: error: Can not set target to build" >&5
5343 echo "$as_me: error: Can not set target to build" >&2;}
5344 { (exit 1); exit 1; }; } ;;
5346 *) { { echo "$as_me:$LINENO: error: Unrecognized target $a_target" >&5
5347 echo "$as_me: error: Unrecognized target $a_target" >&2;}
5348 { (exit 1); exit 1; }; } ;;
5353 TARGETS_TO_BUILD=$TARGETS_TO_BUILD
5356 # Determine whether we are building LLVM support for the native architecture.
5357 # If so, define LLVM_NATIVE_ARCH to that LLVM target.
5358 for a_target in $TARGETS_TO_BUILD; do
5359 if test "$a_target" = "$LLVM_NATIVE_ARCH"; then
5361 cat >>confdefs.h <<_ACEOF
5362 #define LLVM_NATIVE_ARCH $LLVM_NATIVE_ARCH
5365 LLVM_NATIVE_TARGET="LLVMInitialize${LLVM_NATIVE_ARCH}Target"
5366 LLVM_NATIVE_TARGETINFO="LLVMInitialize${LLVM_NATIVE_ARCH}TargetInfo"
5367 LLVM_NATIVE_TARGETMC="LLVMInitialize${LLVM_NATIVE_ARCH}TargetMC"
5368 LLVM_NATIVE_ASMPRINTER="LLVMInitialize${LLVM_NATIVE_ARCH}AsmPrinter"
5369 if test -f ${srcdir}/lib/Target/${LLVM_NATIVE_ARCH}/AsmParser/Makefile ; then
5370 LLVM_NATIVE_ASMPARSER="LLVMInitialize${LLVM_NATIVE_ARCH}AsmParser"
5372 if test -f ${srcdir}/lib/Target/${LLVM_NATIVE_ARCH}/Disassembler/Makefile ; then
5373 LLVM_NATIVE_DISASSEMBLER="LLVMInitialize${LLVM_NATIVE_ARCH}Disassembler"
5376 cat >>confdefs.h <<_ACEOF
5377 #define LLVM_NATIVE_TARGET $LLVM_NATIVE_TARGET
5381 cat >>confdefs.h <<_ACEOF
5382 #define LLVM_NATIVE_TARGETINFO $LLVM_NATIVE_TARGETINFO
5386 cat >>confdefs.h <<_ACEOF
5387 #define LLVM_NATIVE_TARGETMC $LLVM_NATIVE_TARGETMC
5391 cat >>confdefs.h <<_ACEOF
5392 #define LLVM_NATIVE_ASMPRINTER $LLVM_NATIVE_ASMPRINTER
5395 if test -f ${srcdir}/lib/Target/${LLVM_NATIVE_ARCH}/AsmParser/Makefile ; then
5397 cat >>confdefs.h <<_ACEOF
5398 #define LLVM_NATIVE_ASMPARSER $LLVM_NATIVE_ASMPARSER
5402 if test -f ${srcdir}/lib/Target/${LLVM_NATIVE_ARCH}/Disassembler/Makefile ; then
5404 cat >>confdefs.h <<_ACEOF
5405 #define LLVM_NATIVE_DISASSEMBLER $LLVM_NATIVE_DISASSEMBLER
5412 # Build the LLVM_TARGET and LLVM_... macros for Targets.def and the individual
5413 # target feature def files.
5414 LLVM_ENUM_TARGETS=""
5415 LLVM_ENUM_ASM_PRINTERS=""
5416 LLVM_ENUM_ASM_PARSERS=""
5417 LLVM_ENUM_DISASSEMBLERS=""
5418 for target_to_build in $TARGETS_TO_BUILD; do
5419 LLVM_ENUM_TARGETS="LLVM_TARGET($target_to_build) $LLVM_ENUM_TARGETS"
5420 if test -f ${srcdir}/lib/Target/${target_to_build}/*AsmPrinter.cpp ; then
5421 LLVM_ENUM_ASM_PRINTERS="LLVM_ASM_PRINTER($target_to_build) $LLVM_ENUM_ASM_PRINTERS";
5423 if test -f ${srcdir}/lib/Target/${target_to_build}/AsmParser/Makefile ; then
5424 LLVM_ENUM_ASM_PARSERS="LLVM_ASM_PARSER($target_to_build) $LLVM_ENUM_ASM_PARSERS";
5426 if test -f ${srcdir}/lib/Target/${target_to_build}/Disassembler/Makefile ; then
5427 LLVM_ENUM_DISASSEMBLERS="LLVM_DISASSEMBLER($target_to_build) $LLVM_ENUM_DISASSEMBLERS";
5436 # Check whether --with-optimize-option was given.
5437 if test "${with_optimize_option+set}" = set; then
5438 withval=$with_optimize_option;
5443 { echo "$as_me:$LINENO: checking optimization flags" >&5
5444 echo $ECHO_N "checking optimization flags... $ECHO_C" >&6; }
5447 case "$llvm_cv_os_type" in
5448 FreeBSD) optimize_option=-O2 ;;
5449 MingW) optimize_option=-O2 ;;
5450 *) optimize_option=-O3 ;;
5452 *) optimize_option="$withval" ;;
5454 OPTIMIZE_OPTION=$optimize_option
5456 { echo "$as_me:$LINENO: result: $optimize_option" >&5
5457 echo "${ECHO_T}$optimize_option" >&6; }
5460 # Check whether --with-extra-options was given.
5461 if test "${with_extra_options+set}" = set; then
5462 withval=$with_extra_options;
5468 default) EXTRA_OPTIONS= ;;
5469 *) EXTRA_OPTIONS=$withval ;;
5471 EXTRA_OPTIONS=$EXTRA_OPTIONS
5475 # Check whether --with-extra-ld-options was given.
5476 if test "${with_extra_ld_options+set}" = set; then
5477 withval=$with_extra_ld_options;
5483 default) EXTRA_LD_OPTIONS= ;;
5484 *) EXTRA_LD_OPTIONS=$withval ;;
5486 EXTRA_LD_OPTIONS=$EXTRA_LD_OPTIONS
5489 # Check whether --enable-bindings was given.
5490 if test "${enable_bindings+set}" = set; then
5491 enableval=$enable_bindings;
5496 BINDINGS_TO_BUILD=""
5497 case "$enableval" in
5498 yes | default | auto) BINDINGS_TO_BUILD="auto" ;;
5499 all ) BINDINGS_TO_BUILD="ocaml" ;;
5500 none | no) BINDINGS_TO_BUILD="" ;;
5501 *)for a_binding in `echo $enableval|sed -e 's/,/ /g' ` ; do
5502 case "$a_binding" in
5503 ocaml) BINDINGS_TO_BUILD="ocaml $BINDINGS_TO_BUILD" ;;
5504 *) { { echo "$as_me:$LINENO: error: Unrecognized binding $a_binding" >&5
5505 echo "$as_me: error: Unrecognized binding $a_binding" >&2;}
5506 { (exit 1); exit 1; }; } ;;
5513 # Check whether --with-ocaml-libdir was given.
5514 if test "${with_ocaml_libdir+set}" = set; then
5515 withval=$with_ocaml_libdir;
5521 auto) with_ocaml_libdir="$withval" ;;
5522 /* | [A-Za-z]:[\\/]*) with_ocaml_libdir="$withval" ;;
5523 *) { { echo "$as_me:$LINENO: error: Invalid path for --with-ocaml-libdir. Provide full path" >&5
5524 echo "$as_me: error: Invalid path for --with-ocaml-libdir. Provide full path" >&2;}
5525 { (exit 1); exit 1; }; } ;;
5529 # Check whether --with-clang-resource-dir was given.
5530 if test "${with_clang_resource_dir+set}" = set; then
5531 withval=$with_clang_resource_dir;
5537 cat >>confdefs.h <<_ACEOF
5538 #define CLANG_RESOURCE_DIR "$withval"
5543 # Check whether --with-c-include-dirs was given.
5544 if test "${with_c_include_dirs+set}" = set; then
5545 withval=$with_c_include_dirs;
5551 cat >>confdefs.h <<_ACEOF
5552 #define C_INCLUDE_DIRS "$withval"
5556 # Clang normally uses the system c++ headers and libraries. With this option,
5557 # clang will use the ones provided by a gcc installation instead. This option should
5558 # be passed the same value that was used with --prefix when configuring gcc.
5560 # Check whether --with-gcc-toolchain was given.
5561 if test "${with_gcc_toolchain+set}" = set; then
5562 withval=$with_gcc_toolchain;
5568 cat >>confdefs.h <<_ACEOF
5569 #define GCC_INSTALL_PREFIX "$withval"
5574 # Check whether --with-binutils-include was given.
5575 if test "${with_binutils_include+set}" = set; then
5576 withval=$with_binutils_include;
5582 default) WITH_BINUTILS_INCDIR=default ;;
5583 /* | [A-Za-z]:[\\/]*) WITH_BINUTILS_INCDIR=$withval ;;
5584 *) { { echo "$as_me:$LINENO: error: Invalid path for --with-binutils-include. Provide full path" >&5
5585 echo "$as_me: error: Invalid path for --with-binutils-include. Provide full path" >&2;}
5586 { (exit 1); exit 1; }; } ;;
5588 if test "x$WITH_BINUTILS_INCDIR" != xdefault ; then
5589 BINUTILS_INCDIR=$WITH_BINUTILS_INCDIR
5591 if test ! -f "$WITH_BINUTILS_INCDIR/plugin-api.h"; then
5592 echo "$WITH_BINUTILS_INCDIR/plugin-api.h"
5593 { { echo "$as_me:$LINENO: error: Invalid path to directory containing plugin-api.h." >&5
5594 echo "$as_me: error: Invalid path to directory containing plugin-api.h." >&2;}
5595 { (exit 1); exit 1; }; };
5600 # Check whether --with-bug-report-url was given.
5601 if test "${with_bug_report_url+set}" = set; then
5602 withval=$with_bug_report_url;
5604 withval="http://llvm.org/bugs/"
5608 cat >>confdefs.h <<_ACEOF
5609 #define BUG_REPORT_URL "$withval"
5613 # Check whether --enable-libffi was given.
5614 if test "${enable_libffi+set}" = set; then
5615 enableval=$enable_libffi; case "$enableval" in
5616 yes) llvm_cv_enable_libffi="yes" ;;
5617 no) llvm_cv_enable_libffi="no" ;;
5618 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-libffi. Use \"yes\" or \"no\"" >&5
5619 echo "$as_me: error: Invalid setting for --enable-libffi. Use \"yes\" or \"no\"" >&2;}
5620 { (exit 1); exit 1; }; } ;;
5623 llvm_cv_enable_libffi=no
5628 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
5629 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
5630 if test "${lt_cv_path_NM+set}" = set; then
5631 echo $ECHO_N "(cached) $ECHO_C" >&6
5633 if test -n "$NM"; then
5634 # Let the user override the test.
5637 lt_nm_to_check="${ac_tool_prefix}nm"
5638 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5639 lt_nm_to_check="$lt_nm_to_check nm"
5641 for lt_tmp_nm in $lt_nm_to_check; do
5642 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5643 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5645 test -z "$ac_dir" && ac_dir=.
5646 tmp_nm="$ac_dir/$lt_tmp_nm"
5647 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5648 # Check to see if the nm accepts a BSD-compat flag.
5649 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5650 # nm: unknown option "B" ignored
5651 # Tru64's nm complains that /dev/null is an invalid object file
5652 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5653 */dev/null* | *'Invalid file or object type'*)
5654 lt_cv_path_NM="$tmp_nm -B"
5658 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5660 lt_cv_path_NM="$tmp_nm -p"
5664 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5665 continue # so that we can try to find one that supports BSD flags
5674 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
5677 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
5678 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
5683 { echo "$as_me:$LINENO: checking for GNU make" >&5
5684 echo $ECHO_N "checking for GNU make... $ECHO_C" >&6; }
5685 if test "${llvm_cv_gnu_make_command+set}" = set; then
5686 echo $ECHO_N "(cached) $ECHO_C" >&6
5688 llvm_cv_gnu_make_command=''
5689 for a in "$MAKE" make gmake gnumake ; do
5690 if test -z "$a" ; then continue ; fi ;
5691 if ( sh -c "$a --version" 2> /dev/null | grep GNU 2>&1 > /dev/null )
5693 llvm_cv_gnu_make_command=$a ;
5698 { echo "$as_me:$LINENO: result: $llvm_cv_gnu_make_command" >&5
5699 echo "${ECHO_T}$llvm_cv_gnu_make_command" >&6; }
5700 if test "x$llvm_cv_gnu_make_command" != "x" ; then
5704 { echo "$as_me:$LINENO: result: \"Not found\"" >&5
5705 echo "${ECHO_T}\"Not found\"" >&6; };
5709 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
5710 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5712 if test "$LN_S" = "ln -s"; then
5713 { echo "$as_me:$LINENO: result: yes" >&5
5714 echo "${ECHO_T}yes" >&6; }
5716 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5717 echo "${ECHO_T}no, using $LN_S" >&6; }
5720 # Extract the first word of "cmp", so it can be a program name with args.
5721 set dummy cmp; ac_word=$2
5722 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5723 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5724 if test "${ac_cv_path_CMP+set}" = set; then
5725 echo $ECHO_N "(cached) $ECHO_C" >&6
5729 ac_cv_path_CMP="$CMP" # Let the user override the test with a path.
5732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5736 test -z "$as_dir" && as_dir=.
5737 for ac_exec_ext in '' $ac_executable_extensions; do
5738 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5739 ac_cv_path_CMP="$as_dir/$ac_word$ac_exec_ext"
5740 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5747 test -z "$ac_cv_path_CMP" && ac_cv_path_CMP="cmp"
5752 if test -n "$CMP"; then
5753 { echo "$as_me:$LINENO: result: $CMP" >&5
5754 echo "${ECHO_T}$CMP" >&6; }
5756 { echo "$as_me:$LINENO: result: no" >&5
5757 echo "${ECHO_T}no" >&6; }
5761 # Extract the first word of "cp", so it can be a program name with args.
5762 set dummy cp; ac_word=$2
5763 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5764 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5765 if test "${ac_cv_path_CP+set}" = set; then
5766 echo $ECHO_N "(cached) $ECHO_C" >&6
5770 ac_cv_path_CP="$CP" # Let the user override the test with a path.
5773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5777 test -z "$as_dir" && as_dir=.
5778 for ac_exec_ext in '' $ac_executable_extensions; do
5779 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5780 ac_cv_path_CP="$as_dir/$ac_word$ac_exec_ext"
5781 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5788 test -z "$ac_cv_path_CP" && ac_cv_path_CP="cp"
5793 if test -n "$CP"; then
5794 { echo "$as_me:$LINENO: result: $CP" >&5
5795 echo "${ECHO_T}$CP" >&6; }
5797 { echo "$as_me:$LINENO: result: no" >&5
5798 echo "${ECHO_T}no" >&6; }
5802 # Extract the first word of "date", so it can be a program name with args.
5803 set dummy date; ac_word=$2
5804 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5805 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5806 if test "${ac_cv_path_DATE+set}" = set; then
5807 echo $ECHO_N "(cached) $ECHO_C" >&6
5811 ac_cv_path_DATE="$DATE" # Let the user override the test with a path.
5814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5818 test -z "$as_dir" && as_dir=.
5819 for ac_exec_ext in '' $ac_executable_extensions; do
5820 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5821 ac_cv_path_DATE="$as_dir/$ac_word$ac_exec_ext"
5822 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5829 test -z "$ac_cv_path_DATE" && ac_cv_path_DATE="date"
5833 DATE=$ac_cv_path_DATE
5834 if test -n "$DATE"; then
5835 { echo "$as_me:$LINENO: result: $DATE" >&5
5836 echo "${ECHO_T}$DATE" >&6; }
5838 { echo "$as_me:$LINENO: result: no" >&5
5839 echo "${ECHO_T}no" >&6; }
5843 # Extract the first word of "find", so it can be a program name with args.
5844 set dummy find; ac_word=$2
5845 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5846 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5847 if test "${ac_cv_path_FIND+set}" = set; then
5848 echo $ECHO_N "(cached) $ECHO_C" >&6
5852 ac_cv_path_FIND="$FIND" # Let the user override the test with a path.
5855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5859 test -z "$as_dir" && as_dir=.
5860 for ac_exec_ext in '' $ac_executable_extensions; do
5861 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5862 ac_cv_path_FIND="$as_dir/$ac_word$ac_exec_ext"
5863 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5870 test -z "$ac_cv_path_FIND" && ac_cv_path_FIND="find"
5874 FIND=$ac_cv_path_FIND
5875 if test -n "$FIND"; then
5876 { echo "$as_me:$LINENO: result: $FIND" >&5
5877 echo "${ECHO_T}$FIND" >&6; }
5879 { echo "$as_me:$LINENO: result: no" >&5
5880 echo "${ECHO_T}no" >&6; }
5884 # Extract the first word of "grep", so it can be a program name with args.
5885 set dummy grep; ac_word=$2
5886 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5887 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5888 if test "${ac_cv_path_GREP+set}" = set; then
5889 echo $ECHO_N "(cached) $ECHO_C" >&6
5893 ac_cv_path_GREP="$GREP" # Let the user override the test with a path.
5896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5900 test -z "$as_dir" && as_dir=.
5901 for ac_exec_ext in '' $ac_executable_extensions; do
5902 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5903 ac_cv_path_GREP="$as_dir/$ac_word$ac_exec_ext"
5904 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5911 test -z "$ac_cv_path_GREP" && ac_cv_path_GREP="grep"
5915 GREP=$ac_cv_path_GREP
5916 if test -n "$GREP"; then
5917 { echo "$as_me:$LINENO: result: $GREP" >&5
5918 echo "${ECHO_T}$GREP" >&6; }
5920 { echo "$as_me:$LINENO: result: no" >&5
5921 echo "${ECHO_T}no" >&6; }
5925 # Extract the first word of "mkdir", so it can be a program name with args.
5926 set dummy mkdir; ac_word=$2
5927 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5928 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5929 if test "${ac_cv_path_MKDIR+set}" = set; then
5930 echo $ECHO_N "(cached) $ECHO_C" >&6
5934 ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a path.
5937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5941 test -z "$as_dir" && as_dir=.
5942 for ac_exec_ext in '' $ac_executable_extensions; do
5943 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5944 ac_cv_path_MKDIR="$as_dir/$ac_word$ac_exec_ext"
5945 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5952 test -z "$ac_cv_path_MKDIR" && ac_cv_path_MKDIR="mkdir"
5956 MKDIR=$ac_cv_path_MKDIR
5957 if test -n "$MKDIR"; then
5958 { echo "$as_me:$LINENO: result: $MKDIR" >&5
5959 echo "${ECHO_T}$MKDIR" >&6; }
5961 { echo "$as_me:$LINENO: result: no" >&5
5962 echo "${ECHO_T}no" >&6; }
5966 # Extract the first word of "mv", so it can be a program name with args.
5967 set dummy mv; ac_word=$2
5968 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5969 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5970 if test "${ac_cv_path_MV+set}" = set; then
5971 echo $ECHO_N "(cached) $ECHO_C" >&6
5975 ac_cv_path_MV="$MV" # Let the user override the test with a path.
5978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5982 test -z "$as_dir" && as_dir=.
5983 for ac_exec_ext in '' $ac_executable_extensions; do
5984 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5985 ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
5986 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5993 test -z "$ac_cv_path_MV" && ac_cv_path_MV="mv"
5998 if test -n "$MV"; then
5999 { echo "$as_me:$LINENO: result: $MV" >&5
6000 echo "${ECHO_T}$MV" >&6; }
6002 { echo "$as_me:$LINENO: result: no" >&5
6003 echo "${ECHO_T}no" >&6; }
6007 if test -n "$ac_tool_prefix"; then
6008 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6009 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6010 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6011 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6012 if test "${ac_cv_prog_RANLIB+set}" = set; then
6013 echo $ECHO_N "(cached) $ECHO_C" >&6
6015 if test -n "$RANLIB"; then
6016 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6022 test -z "$as_dir" && as_dir=.
6023 for ac_exec_ext in '' $ac_executable_extensions; do
6024 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6025 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6026 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6035 RANLIB=$ac_cv_prog_RANLIB
6036 if test -n "$RANLIB"; then
6037 { echo "$as_me:$LINENO: result: $RANLIB" >&5
6038 echo "${ECHO_T}$RANLIB" >&6; }
6040 { echo "$as_me:$LINENO: result: no" >&5
6041 echo "${ECHO_T}no" >&6; }
6046 if test -z "$ac_cv_prog_RANLIB"; then
6047 ac_ct_RANLIB=$RANLIB
6048 # Extract the first word of "ranlib", so it can be a program name with args.
6049 set dummy ranlib; ac_word=$2
6050 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6051 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6052 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6053 echo $ECHO_N "(cached) $ECHO_C" >&6
6055 if test -n "$ac_ct_RANLIB"; then
6056 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6062 test -z "$as_dir" && as_dir=.
6063 for ac_exec_ext in '' $ac_executable_extensions; do
6064 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6065 ac_cv_prog_ac_ct_RANLIB="ranlib"
6066 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6075 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6076 if test -n "$ac_ct_RANLIB"; then
6077 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6078 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6080 { echo "$as_me:$LINENO: result: no" >&5
6081 echo "${ECHO_T}no" >&6; }
6084 if test "x$ac_ct_RANLIB" = x; then
6087 case $cross_compiling:$ac_tool_warned in
6089 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6090 whose name does not start with the host triplet. If you think this
6091 configuration is useful to you, please write to autoconf@gnu.org." >&5
6092 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6093 whose name does not start with the host triplet. If you think this
6094 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6095 ac_tool_warned=yes ;;
6097 RANLIB=$ac_ct_RANLIB
6100 RANLIB="$ac_cv_prog_RANLIB"
6103 if test -n "$ac_tool_prefix"; then
6104 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6105 set dummy ${ac_tool_prefix}ar; ac_word=$2
6106 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6107 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6108 if test "${ac_cv_prog_AR+set}" = set; then
6109 echo $ECHO_N "(cached) $ECHO_C" >&6
6111 if test -n "$AR"; then
6112 ac_cv_prog_AR="$AR" # Let the user override the test.
6114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6118 test -z "$as_dir" && as_dir=.
6119 for ac_exec_ext in '' $ac_executable_extensions; do
6120 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6121 ac_cv_prog_AR="${ac_tool_prefix}ar"
6122 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6132 if test -n "$AR"; then
6133 { echo "$as_me:$LINENO: result: $AR" >&5
6134 echo "${ECHO_T}$AR" >&6; }
6136 { echo "$as_me:$LINENO: result: no" >&5
6137 echo "${ECHO_T}no" >&6; }
6142 if test -z "$ac_cv_prog_AR"; then
6144 # Extract the first word of "ar", so it can be a program name with args.
6145 set dummy ar; ac_word=$2
6146 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6147 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6148 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6149 echo $ECHO_N "(cached) $ECHO_C" >&6
6151 if test -n "$ac_ct_AR"; then
6152 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6158 test -z "$as_dir" && as_dir=.
6159 for ac_exec_ext in '' $ac_executable_extensions; do
6160 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6161 ac_cv_prog_ac_ct_AR="ar"
6162 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6171 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6172 if test -n "$ac_ct_AR"; then
6173 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6174 echo "${ECHO_T}$ac_ct_AR" >&6; }
6176 { echo "$as_me:$LINENO: result: no" >&5
6177 echo "${ECHO_T}no" >&6; }
6180 if test "x$ac_ct_AR" = x; then
6183 case $cross_compiling:$ac_tool_warned in
6185 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6186 whose name does not start with the host triplet. If you think this
6187 configuration is useful to you, please write to autoconf@gnu.org." >&5
6188 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6189 whose name does not start with the host triplet. If you think this
6190 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6191 ac_tool_warned=yes ;;
6199 # Extract the first word of "rm", so it can be a program name with args.
6200 set dummy rm; ac_word=$2
6201 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6202 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6203 if test "${ac_cv_path_RM+set}" = set; then
6204 echo $ECHO_N "(cached) $ECHO_C" >&6
6208 ac_cv_path_RM="$RM" # Let the user override the test with a path.
6211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6215 test -z "$as_dir" && as_dir=.
6216 for ac_exec_ext in '' $ac_executable_extensions; do
6217 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6218 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
6219 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6226 test -z "$ac_cv_path_RM" && ac_cv_path_RM="rm"
6231 if test -n "$RM"; then
6232 { echo "$as_me:$LINENO: result: $RM" >&5
6233 echo "${ECHO_T}$RM" >&6; }
6235 { echo "$as_me:$LINENO: result: no" >&5
6236 echo "${ECHO_T}no" >&6; }
6240 # Extract the first word of "sed", so it can be a program name with args.
6241 set dummy sed; ac_word=$2
6242 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6243 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6244 if test "${ac_cv_path_SED+set}" = set; then
6245 echo $ECHO_N "(cached) $ECHO_C" >&6
6249 ac_cv_path_SED="$SED" # Let the user override the test with a path.
6252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6256 test -z "$as_dir" && as_dir=.
6257 for ac_exec_ext in '' $ac_executable_extensions; do
6258 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6259 ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext"
6260 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6267 test -z "$ac_cv_path_SED" && ac_cv_path_SED="sed"
6272 if test -n "$SED"; then
6273 { echo "$as_me:$LINENO: result: $SED" >&5
6274 echo "${ECHO_T}$SED" >&6; }
6276 { echo "$as_me:$LINENO: result: no" >&5
6277 echo "${ECHO_T}no" >&6; }
6281 # Extract the first word of "tar", so it can be a program name with args.
6282 set dummy tar; ac_word=$2
6283 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6284 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6285 if test "${ac_cv_path_TAR+set}" = set; then
6286 echo $ECHO_N "(cached) $ECHO_C" >&6
6290 ac_cv_path_TAR="$TAR" # Let the user override the test with a path.
6293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6297 test -z "$as_dir" && as_dir=.
6298 for ac_exec_ext in '' $ac_executable_extensions; do
6299 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6300 ac_cv_path_TAR="$as_dir/$ac_word$ac_exec_ext"
6301 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6308 test -z "$ac_cv_path_TAR" && ac_cv_path_TAR="gtar"
6313 if test -n "$TAR"; then
6314 { echo "$as_me:$LINENO: result: $TAR" >&5
6315 echo "${ECHO_T}$TAR" >&6; }
6317 { echo "$as_me:$LINENO: result: no" >&5
6318 echo "${ECHO_T}no" >&6; }
6322 # Extract the first word of "pwd", so it can be a program name with args.
6323 set dummy pwd; ac_word=$2
6324 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6325 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6326 if test "${ac_cv_path_BINPWD+set}" = set; then
6327 echo $ECHO_N "(cached) $ECHO_C" >&6
6331 ac_cv_path_BINPWD="$BINPWD" # Let the user override the test with a path.
6334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6338 test -z "$as_dir" && as_dir=.
6339 for ac_exec_ext in '' $ac_executable_extensions; do
6340 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6341 ac_cv_path_BINPWD="$as_dir/$ac_word$ac_exec_ext"
6342 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6349 test -z "$ac_cv_path_BINPWD" && ac_cv_path_BINPWD="pwd"
6353 BINPWD=$ac_cv_path_BINPWD
6354 if test -n "$BINPWD"; then
6355 { echo "$as_me:$LINENO: result: $BINPWD" >&5
6356 echo "${ECHO_T}$BINPWD" >&6; }
6358 { echo "$as_me:$LINENO: result: no" >&5
6359 echo "${ECHO_T}no" >&6; }
6364 # Extract the first word of "Graphviz", so it can be a program name with args.
6365 set dummy Graphviz; ac_word=$2
6366 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6367 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6368 if test "${ac_cv_path_GRAPHVIZ+set}" = set; then
6369 echo $ECHO_N "(cached) $ECHO_C" >&6
6373 ac_cv_path_GRAPHVIZ="$GRAPHVIZ" # Let the user override the test with a path.
6376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6380 test -z "$as_dir" && as_dir=.
6381 for ac_exec_ext in '' $ac_executable_extensions; do
6382 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6383 ac_cv_path_GRAPHVIZ="$as_dir/$ac_word$ac_exec_ext"
6384 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6391 test -z "$ac_cv_path_GRAPHVIZ" && ac_cv_path_GRAPHVIZ="echo Graphviz"
6395 GRAPHVIZ=$ac_cv_path_GRAPHVIZ
6396 if test -n "$GRAPHVIZ"; then
6397 { echo "$as_me:$LINENO: result: $GRAPHVIZ" >&5
6398 echo "${ECHO_T}$GRAPHVIZ" >&6; }
6400 { echo "$as_me:$LINENO: result: no" >&5
6401 echo "${ECHO_T}no" >&6; }
6405 if test "$GRAPHVIZ" != "echo Graphviz" ; then
6407 cat >>confdefs.h <<\_ACEOF
6408 #define HAVE_GRAPHVIZ 1
6411 if test "$llvm_cv_os_type" = "MingW" ; then
6412 GRAPHVIZ=`echo $GRAPHVIZ | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
6415 cat >>confdefs.h <<_ACEOF
6416 #define LLVM_PATH_GRAPHVIZ "$GRAPHVIZ${EXEEXT}"
6420 # Extract the first word of "dot", so it can be a program name with args.
6421 set dummy dot; ac_word=$2
6422 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6423 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6424 if test "${ac_cv_path_DOT+set}" = set; then
6425 echo $ECHO_N "(cached) $ECHO_C" >&6
6429 ac_cv_path_DOT="$DOT" # Let the user override the test with a path.
6432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6436 test -z "$as_dir" && as_dir=.
6437 for ac_exec_ext in '' $ac_executable_extensions; do
6438 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6439 ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext"
6440 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6447 test -z "$ac_cv_path_DOT" && ac_cv_path_DOT="echo dot"
6452 if test -n "$DOT"; then
6453 { echo "$as_me:$LINENO: result: $DOT" >&5
6454 echo "${ECHO_T}$DOT" >&6; }
6456 { echo "$as_me:$LINENO: result: no" >&5
6457 echo "${ECHO_T}no" >&6; }
6461 if test "$DOT" != "echo dot" ; then
6463 cat >>confdefs.h <<\_ACEOF
6467 if test "$llvm_cv_os_type" = "MingW" ; then
6468 DOT=`echo $DOT | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
6471 cat >>confdefs.h <<_ACEOF
6472 #define LLVM_PATH_DOT "$DOT${EXEEXT}"
6476 # Extract the first word of "fdp", so it can be a program name with args.
6477 set dummy fdp; ac_word=$2
6478 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6479 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6480 if test "${ac_cv_path_FDP+set}" = set; then
6481 echo $ECHO_N "(cached) $ECHO_C" >&6
6485 ac_cv_path_FDP="$FDP" # Let the user override the test with a path.
6488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6492 test -z "$as_dir" && as_dir=.
6493 for ac_exec_ext in '' $ac_executable_extensions; do
6494 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6495 ac_cv_path_FDP="$as_dir/$ac_word$ac_exec_ext"
6496 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6503 test -z "$ac_cv_path_FDP" && ac_cv_path_FDP="echo fdp"
6508 if test -n "$FDP"; then
6509 { echo "$as_me:$LINENO: result: $FDP" >&5
6510 echo "${ECHO_T}$FDP" >&6; }
6512 { echo "$as_me:$LINENO: result: no" >&5
6513 echo "${ECHO_T}no" >&6; }
6517 if test "$FDP" != "echo fdp" ; then
6519 cat >>confdefs.h <<\_ACEOF
6523 if test "$llvm_cv_os_type" = "MingW" ; then
6524 FDP=`echo $FDP | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
6527 cat >>confdefs.h <<_ACEOF
6528 #define LLVM_PATH_FDP "$FDP${EXEEXT}"
6532 # Extract the first word of "neato", so it can be a program name with args.
6533 set dummy neato; ac_word=$2
6534 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6535 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6536 if test "${ac_cv_path_NEATO+set}" = set; then
6537 echo $ECHO_N "(cached) $ECHO_C" >&6
6541 ac_cv_path_NEATO="$NEATO" # Let the user override the test with a path.
6544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6548 test -z "$as_dir" && as_dir=.
6549 for ac_exec_ext in '' $ac_executable_extensions; do
6550 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6551 ac_cv_path_NEATO="$as_dir/$ac_word$ac_exec_ext"
6552 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6559 test -z "$ac_cv_path_NEATO" && ac_cv_path_NEATO="echo neato"
6563 NEATO=$ac_cv_path_NEATO
6564 if test -n "$NEATO"; then
6565 { echo "$as_me:$LINENO: result: $NEATO" >&5
6566 echo "${ECHO_T}$NEATO" >&6; }
6568 { echo "$as_me:$LINENO: result: no" >&5
6569 echo "${ECHO_T}no" >&6; }
6573 if test "$NEATO" != "echo neato" ; then
6575 cat >>confdefs.h <<\_ACEOF
6576 #define HAVE_NEATO 1
6579 if test "$llvm_cv_os_type" = "MingW" ; then
6580 NEATO=`echo $NEATO | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
6583 cat >>confdefs.h <<_ACEOF
6584 #define LLVM_PATH_NEATO "$NEATO${EXEEXT}"
6588 # Extract the first word of "twopi", so it can be a program name with args.
6589 set dummy twopi; ac_word=$2
6590 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6591 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6592 if test "${ac_cv_path_TWOPI+set}" = set; then
6593 echo $ECHO_N "(cached) $ECHO_C" >&6
6597 ac_cv_path_TWOPI="$TWOPI" # Let the user override the test with a path.
6600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6604 test -z "$as_dir" && as_dir=.
6605 for ac_exec_ext in '' $ac_executable_extensions; do
6606 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6607 ac_cv_path_TWOPI="$as_dir/$ac_word$ac_exec_ext"
6608 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6615 test -z "$ac_cv_path_TWOPI" && ac_cv_path_TWOPI="echo twopi"
6619 TWOPI=$ac_cv_path_TWOPI
6620 if test -n "$TWOPI"; then
6621 { echo "$as_me:$LINENO: result: $TWOPI" >&5
6622 echo "${ECHO_T}$TWOPI" >&6; }
6624 { echo "$as_me:$LINENO: result: no" >&5
6625 echo "${ECHO_T}no" >&6; }
6629 if test "$TWOPI" != "echo twopi" ; then
6631 cat >>confdefs.h <<\_ACEOF
6632 #define HAVE_TWOPI 1
6635 if test "$llvm_cv_os_type" = "MingW" ; then
6636 TWOPI=`echo $TWOPI | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
6639 cat >>confdefs.h <<_ACEOF
6640 #define LLVM_PATH_TWOPI "$TWOPI${EXEEXT}"
6644 # Extract the first word of "circo", so it can be a program name with args.
6645 set dummy circo; ac_word=$2
6646 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6647 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6648 if test "${ac_cv_path_CIRCO+set}" = set; then
6649 echo $ECHO_N "(cached) $ECHO_C" >&6
6653 ac_cv_path_CIRCO="$CIRCO" # Let the user override the test with a path.
6656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6660 test -z "$as_dir" && as_dir=.
6661 for ac_exec_ext in '' $ac_executable_extensions; do
6662 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6663 ac_cv_path_CIRCO="$as_dir/$ac_word$ac_exec_ext"
6664 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6671 test -z "$ac_cv_path_CIRCO" && ac_cv_path_CIRCO="echo circo"
6675 CIRCO=$ac_cv_path_CIRCO
6676 if test -n "$CIRCO"; then
6677 { echo "$as_me:$LINENO: result: $CIRCO" >&5
6678 echo "${ECHO_T}$CIRCO" >&6; }
6680 { echo "$as_me:$LINENO: result: no" >&5
6681 echo "${ECHO_T}no" >&6; }
6685 if test "$CIRCO" != "echo circo" ; then
6687 cat >>confdefs.h <<\_ACEOF
6688 #define HAVE_CIRCO 1
6691 if test "$llvm_cv_os_type" = "MingW" ; then
6692 CIRCO=`echo $CIRCO | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
6695 cat >>confdefs.h <<_ACEOF
6696 #define LLVM_PATH_CIRCO "$CIRCO${EXEEXT}"
6700 for ac_prog in gv gsview32
6702 # Extract the first word of "$ac_prog", so it can be a program name with args.
6703 set dummy $ac_prog; ac_word=$2
6704 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6705 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6706 if test "${ac_cv_path_GV+set}" = set; then
6707 echo $ECHO_N "(cached) $ECHO_C" >&6
6711 ac_cv_path_GV="$GV" # Let the user override the test with a path.
6714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6718 test -z "$as_dir" && as_dir=.
6719 for ac_exec_ext in '' $ac_executable_extensions; do
6720 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6721 ac_cv_path_GV="$as_dir/$ac_word$ac_exec_ext"
6722 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6733 if test -n "$GV"; then
6734 { echo "$as_me:$LINENO: result: $GV" >&5
6735 echo "${ECHO_T}$GV" >&6; }
6737 { echo "$as_me:$LINENO: result: no" >&5
6738 echo "${ECHO_T}no" >&6; }
6742 test -n "$GV" && break
6744 test -n "$GV" || GV="echo gv"
6746 if test "$GV" != "echo gv" ; then
6748 cat >>confdefs.h <<\_ACEOF
6752 if test "$llvm_cv_os_type" = "MingW" ; then
6753 GV=`echo $GV | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
6756 cat >>confdefs.h <<_ACEOF
6757 #define LLVM_PATH_GV "$GV${EXEEXT}"
6761 # Extract the first word of "dotty", so it can be a program name with args.
6762 set dummy dotty; ac_word=$2
6763 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6764 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6765 if test "${ac_cv_path_DOTTY+set}" = set; then
6766 echo $ECHO_N "(cached) $ECHO_C" >&6
6770 ac_cv_path_DOTTY="$DOTTY" # Let the user override the test with a path.
6773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6777 test -z "$as_dir" && as_dir=.
6778 for ac_exec_ext in '' $ac_executable_extensions; do
6779 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6780 ac_cv_path_DOTTY="$as_dir/$ac_word$ac_exec_ext"
6781 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6788 test -z "$ac_cv_path_DOTTY" && ac_cv_path_DOTTY="echo dotty"
6792 DOTTY=$ac_cv_path_DOTTY
6793 if test -n "$DOTTY"; then
6794 { echo "$as_me:$LINENO: result: $DOTTY" >&5
6795 echo "${ECHO_T}$DOTTY" >&6; }
6797 { echo "$as_me:$LINENO: result: no" >&5
6798 echo "${ECHO_T}no" >&6; }
6802 if test "$DOTTY" != "echo dotty" ; then
6804 cat >>confdefs.h <<\_ACEOF
6805 #define HAVE_DOTTY 1
6808 if test "$llvm_cv_os_type" = "MingW" ; then
6809 DOTTY=`echo $DOTTY | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
6812 cat >>confdefs.h <<_ACEOF
6813 #define LLVM_PATH_DOTTY "$DOTTY${EXEEXT}"
6817 # Extract the first word of "xdot.py", so it can be a program name with args.
6818 set dummy xdot.py; ac_word=$2
6819 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6820 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6821 if test "${ac_cv_path_XDOT_PY+set}" = set; then
6822 echo $ECHO_N "(cached) $ECHO_C" >&6
6826 ac_cv_path_XDOT_PY="$XDOT_PY" # Let the user override the test with a path.
6829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6833 test -z "$as_dir" && as_dir=.
6834 for ac_exec_ext in '' $ac_executable_extensions; do
6835 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6836 ac_cv_path_XDOT_PY="$as_dir/$ac_word$ac_exec_ext"
6837 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6844 test -z "$ac_cv_path_XDOT_PY" && ac_cv_path_XDOT_PY="echo xdot.py"
6848 XDOT_PY=$ac_cv_path_XDOT_PY
6849 if test -n "$XDOT_PY"; then
6850 { echo "$as_me:$LINENO: result: $XDOT_PY" >&5
6851 echo "${ECHO_T}$XDOT_PY" >&6; }
6853 { echo "$as_me:$LINENO: result: no" >&5
6854 echo "${ECHO_T}no" >&6; }
6858 if test "$XDOT_PY" != "echo xdot.py" ; then
6860 cat >>confdefs.h <<\_ACEOF
6861 #define HAVE_XDOT_PY 1
6864 if test "$llvm_cv_os_type" = "MingW" ; then
6865 XDOT_PY=`echo $XDOT_PY | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
6868 cat >>confdefs.h <<_ACEOF
6869 #define LLVM_PATH_XDOT_PY "$XDOT_PY${EXEEXT}"
6874 # Find a good install program. We prefer a C program (faster),
6875 # so one script is as good as another. But avoid the broken or
6876 # incompatible versions:
6877 # SysV /etc/install, /usr/sbin/install
6878 # SunOS /usr/etc/install
6879 # IRIX /sbin/install
6881 # AmigaOS /C/install, which installs bootblocks on floppy discs
6882 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6883 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6884 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6885 # OS/2's system install, which has a completely different semantic
6886 # ./install, which can be erroneously created by make from ./install.sh.
6887 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6888 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
6889 if test -z "$INSTALL"; then
6890 if test "${ac_cv_path_install+set}" = set; then
6891 echo $ECHO_N "(cached) $ECHO_C" >&6
6893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6897 test -z "$as_dir" && as_dir=.
6898 # Account for people who put trailing slashes in PATH elements.
6900 ./ | .// | /cC/* | \
6901 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
6902 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
6905 # OSF1 and SCO ODT 3.0 have their own names for install.
6906 # Don't use installbsd from OSF since it installs stuff as root
6908 for ac_prog in ginstall scoinst install; do
6909 for ac_exec_ext in '' $ac_executable_extensions; do
6910 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
6911 if test $ac_prog = install &&
6912 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6913 # AIX install. It has an incompatible calling convention.
6915 elif test $ac_prog = install &&
6916 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6917 # program-specific install script used by HP pwplus--don't use.
6920 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
6933 if test "${ac_cv_path_install+set}" = set; then
6934 INSTALL=$ac_cv_path_install
6936 # As a last resort, use the slow shell script. Don't cache a
6937 # value for INSTALL within a source directory, because that will
6938 # break other packages using the cache if that directory is
6939 # removed, or if the value is a relative name.
6940 INSTALL=$ac_install_sh
6943 { echo "$as_me:$LINENO: result: $INSTALL" >&5
6944 echo "${ECHO_T}$INSTALL" >&6; }
6946 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6947 # It thinks the first close brace ends the variable substitution.
6948 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
6950 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
6952 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
6955 [\\/$]* | ?:[\\/]* ) ;;
6956 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
6959 # Extract the first word of "bzip2", so it can be a program name with args.
6960 set dummy bzip2; ac_word=$2
6961 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6962 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6963 if test "${ac_cv_path_BZIP2+set}" = set; then
6964 echo $ECHO_N "(cached) $ECHO_C" >&6
6968 ac_cv_path_BZIP2="$BZIP2" # Let the user override the test with a path.
6971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6975 test -z "$as_dir" && as_dir=.
6976 for ac_exec_ext in '' $ac_executable_extensions; do
6977 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6978 ac_cv_path_BZIP2="$as_dir/$ac_word$ac_exec_ext"
6979 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6989 BZIP2=$ac_cv_path_BZIP2
6990 if test -n "$BZIP2"; then
6991 { echo "$as_me:$LINENO: result: $BZIP2" >&5
6992 echo "${ECHO_T}$BZIP2" >&6; }
6994 { echo "$as_me:$LINENO: result: no" >&5
6995 echo "${ECHO_T}no" >&6; }
6999 # Extract the first word of "cat", so it can be a program name with args.
7000 set dummy cat; ac_word=$2
7001 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7002 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7003 if test "${ac_cv_path_CAT+set}" = set; then
7004 echo $ECHO_N "(cached) $ECHO_C" >&6
7008 ac_cv_path_CAT="$CAT" # Let the user override the test with a path.
7011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7015 test -z "$as_dir" && as_dir=.
7016 for ac_exec_ext in '' $ac_executable_extensions; do
7017 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7018 ac_cv_path_CAT="$as_dir/$ac_word$ac_exec_ext"
7019 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7030 if test -n "$CAT"; then
7031 { echo "$as_me:$LINENO: result: $CAT" >&5
7032 echo "${ECHO_T}$CAT" >&6; }
7034 { echo "$as_me:$LINENO: result: no" >&5
7035 echo "${ECHO_T}no" >&6; }
7039 # Extract the first word of "doxygen", so it can be a program name with args.
7040 set dummy doxygen; ac_word=$2
7041 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7042 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7043 if test "${ac_cv_path_DOXYGEN+set}" = set; then
7044 echo $ECHO_N "(cached) $ECHO_C" >&6
7048 ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
7051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7055 test -z "$as_dir" && as_dir=.
7056 for ac_exec_ext in '' $ac_executable_extensions; do
7057 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7058 ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
7059 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7069 DOXYGEN=$ac_cv_path_DOXYGEN
7070 if test -n "$DOXYGEN"; then
7071 { echo "$as_me:$LINENO: result: $DOXYGEN" >&5
7072 echo "${ECHO_T}$DOXYGEN" >&6; }
7074 { echo "$as_me:$LINENO: result: no" >&5
7075 echo "${ECHO_T}no" >&6; }
7079 # Extract the first word of "groff", so it can be a program name with args.
7080 set dummy groff; ac_word=$2
7081 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7082 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7083 if test "${ac_cv_path_GROFF+set}" = set; then
7084 echo $ECHO_N "(cached) $ECHO_C" >&6
7088 ac_cv_path_GROFF="$GROFF" # Let the user override the test with a path.
7091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7095 test -z "$as_dir" && as_dir=.
7096 for ac_exec_ext in '' $ac_executable_extensions; do
7097 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7098 ac_cv_path_GROFF="$as_dir/$ac_word$ac_exec_ext"
7099 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7109 GROFF=$ac_cv_path_GROFF
7110 if test -n "$GROFF"; then
7111 { echo "$as_me:$LINENO: result: $GROFF" >&5
7112 echo "${ECHO_T}$GROFF" >&6; }
7114 { echo "$as_me:$LINENO: result: no" >&5
7115 echo "${ECHO_T}no" >&6; }
7119 # Extract the first word of "gzip", so it can be a program name with args.
7120 set dummy gzip; ac_word=$2
7121 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7122 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7123 if test "${ac_cv_path_GZIPBIN+set}" = set; then
7124 echo $ECHO_N "(cached) $ECHO_C" >&6
7128 ac_cv_path_GZIPBIN="$GZIPBIN" # Let the user override the test with a path.
7131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7135 test -z "$as_dir" && as_dir=.
7136 for ac_exec_ext in '' $ac_executable_extensions; do
7137 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7138 ac_cv_path_GZIPBIN="$as_dir/$ac_word$ac_exec_ext"
7139 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7149 GZIPBIN=$ac_cv_path_GZIPBIN
7150 if test -n "$GZIPBIN"; then
7151 { echo "$as_me:$LINENO: result: $GZIPBIN" >&5
7152 echo "${ECHO_T}$GZIPBIN" >&6; }
7154 { echo "$as_me:$LINENO: result: no" >&5
7155 echo "${ECHO_T}no" >&6; }
7159 # Extract the first word of "pod2html", so it can be a program name with args.
7160 set dummy pod2html; ac_word=$2
7161 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7162 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7163 if test "${ac_cv_path_POD2HTML+set}" = set; then
7164 echo $ECHO_N "(cached) $ECHO_C" >&6
7168 ac_cv_path_POD2HTML="$POD2HTML" # Let the user override the test with a path.
7171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7175 test -z "$as_dir" && as_dir=.
7176 for ac_exec_ext in '' $ac_executable_extensions; do
7177 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7178 ac_cv_path_POD2HTML="$as_dir/$ac_word$ac_exec_ext"
7179 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7189 POD2HTML=$ac_cv_path_POD2HTML
7190 if test -n "$POD2HTML"; then
7191 { echo "$as_me:$LINENO: result: $POD2HTML" >&5
7192 echo "${ECHO_T}$POD2HTML" >&6; }
7194 { echo "$as_me:$LINENO: result: no" >&5
7195 echo "${ECHO_T}no" >&6; }
7199 # Extract the first word of "pod2man", so it can be a program name with args.
7200 set dummy pod2man; ac_word=$2
7201 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7202 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7203 if test "${ac_cv_path_POD2MAN+set}" = set; then
7204 echo $ECHO_N "(cached) $ECHO_C" >&6
7208 ac_cv_path_POD2MAN="$POD2MAN" # Let the user override the test with a path.
7211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7215 test -z "$as_dir" && as_dir=.
7216 for ac_exec_ext in '' $ac_executable_extensions; do
7217 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7218 ac_cv_path_POD2MAN="$as_dir/$ac_word$ac_exec_ext"
7219 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7229 POD2MAN=$ac_cv_path_POD2MAN
7230 if test -n "$POD2MAN"; then
7231 { echo "$as_me:$LINENO: result: $POD2MAN" >&5
7232 echo "${ECHO_T}$POD2MAN" >&6; }
7234 { echo "$as_me:$LINENO: result: no" >&5
7235 echo "${ECHO_T}no" >&6; }
7239 # Extract the first word of "pdfroff", so it can be a program name with args.
7240 set dummy pdfroff; ac_word=$2
7241 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7242 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7243 if test "${ac_cv_path_PDFROFF+set}" = set; then
7244 echo $ECHO_N "(cached) $ECHO_C" >&6
7248 ac_cv_path_PDFROFF="$PDFROFF" # Let the user override the test with a path.
7251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7255 test -z "$as_dir" && as_dir=.
7256 for ac_exec_ext in '' $ac_executable_extensions; do
7257 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7258 ac_cv_path_PDFROFF="$as_dir/$ac_word$ac_exec_ext"
7259 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7269 PDFROFF=$ac_cv_path_PDFROFF
7270 if test -n "$PDFROFF"; then
7271 { echo "$as_me:$LINENO: result: $PDFROFF" >&5
7272 echo "${ECHO_T}$PDFROFF" >&6; }
7274 { echo "$as_me:$LINENO: result: no" >&5
7275 echo "${ECHO_T}no" >&6; }
7279 # Extract the first word of "runtest", so it can be a program name with args.
7280 set dummy runtest; ac_word=$2
7281 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7282 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7283 if test "${ac_cv_path_RUNTEST+set}" = set; then
7284 echo $ECHO_N "(cached) $ECHO_C" >&6
7288 ac_cv_path_RUNTEST="$RUNTEST" # Let the user override the test with a path.
7291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7295 test -z "$as_dir" && as_dir=.
7296 for ac_exec_ext in '' $ac_executable_extensions; do
7297 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7298 ac_cv_path_RUNTEST="$as_dir/$ac_word$ac_exec_ext"
7299 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7309 RUNTEST=$ac_cv_path_RUNTEST
7310 if test -n "$RUNTEST"; then
7311 { echo "$as_me:$LINENO: result: $RUNTEST" >&5
7312 echo "${ECHO_T}$RUNTEST" >&6; }
7314 { echo "$as_me:$LINENO: result: no" >&5
7315 echo "${ECHO_T}no" >&6; }
7321 { echo "$as_me:$LINENO: checking for the tclsh program in tclinclude directory" >&5
7322 echo $ECHO_N "checking for the tclsh program in tclinclude directory... $ECHO_C" >&6; }
7324 # Check whether --with-tclinclude was given.
7325 if test "${with_tclinclude+set}" = set; then
7326 withval=$with_tclinclude; with_tclinclude=${withval}
7331 if test "${ac_cv_path_tclsh+set}" = set; then
7332 echo $ECHO_N "(cached) $ECHO_C" >&6
7335 if test x"${with_tclinclude}" != x ; then
7336 if test -f ${with_tclinclude}/tclsh ; then
7337 ac_cv_path_tclsh=`(cd ${with_tclinclude}; pwd)`
7338 elif test -f ${with_tclinclude}/src/tclsh ; then
7339 ac_cv_path_tclsh=`(cd ${with_tclinclude}/src; pwd)`
7341 { { echo "$as_me:$LINENO: error: ${with_tclinclude} directory doesn't contain tclsh" >&5
7342 echo "$as_me: error: ${with_tclinclude} directory doesn't contain tclsh" >&2;}
7343 { (exit 1); exit 1; }; }
7349 if test x"${ac_cv_path_tclsh}" = x ; then
7350 { echo "$as_me:$LINENO: result: none" >&5
7351 echo "${ECHO_T}none" >&6; }
7352 for ac_prog in tclsh8.4 tclsh8.4.8 tclsh8.4.7 tclsh8.4.6 tclsh8.4.5 tclsh8.4.4 tclsh8.4.3 tclsh8.4.2 tclsh8.4.1 tclsh8.4.0 tclsh8.3 tclsh8.3.5 tclsh8.3.4 tclsh8.3.3 tclsh8.3.2 tclsh8.3.1 tclsh8.3.0 tclsh
7354 # Extract the first word of "$ac_prog", so it can be a program name with args.
7355 set dummy $ac_prog; ac_word=$2
7356 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7357 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7358 if test "${ac_cv_path_TCLSH+set}" = set; then
7359 echo $ECHO_N "(cached) $ECHO_C" >&6
7363 ac_cv_path_TCLSH="$TCLSH" # Let the user override the test with a path.
7366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7370 test -z "$as_dir" && as_dir=.
7371 for ac_exec_ext in '' $ac_executable_extensions; do
7372 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7373 ac_cv_path_TCLSH="$as_dir/$ac_word$ac_exec_ext"
7374 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7384 TCLSH=$ac_cv_path_TCLSH
7385 if test -n "$TCLSH"; then
7386 { echo "$as_me:$LINENO: result: $TCLSH" >&5
7387 echo "${ECHO_T}$TCLSH" >&6; }
7389 { echo "$as_me:$LINENO: result: no" >&5
7390 echo "${ECHO_T}no" >&6; }
7394 test -n "$TCLSH" && break
7397 if test x"${TCLSH}" = x ; then
7398 ac_cv_path_tclsh='';
7400 ac_cv_path_tclsh="${TCLSH}";
7403 { echo "$as_me:$LINENO: result: ${ac_cv_path_tclsh}" >&5
7404 echo "${ECHO_T}${ac_cv_path_tclsh}" >&6; }
7405 TCLSH="${ac_cv_path_tclsh}"
7409 # Extract the first word of "zip", so it can be a program name with args.
7410 set dummy zip; ac_word=$2
7411 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7412 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7413 if test "${ac_cv_path_ZIP+set}" = set; then
7414 echo $ECHO_N "(cached) $ECHO_C" >&6
7418 ac_cv_path_ZIP="$ZIP" # Let the user override the test with a path.
7421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7425 test -z "$as_dir" && as_dir=.
7426 for ac_exec_ext in '' $ac_executable_extensions; do
7427 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7428 ac_cv_path_ZIP="$as_dir/$ac_word$ac_exec_ext"
7429 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7440 if test -n "$ZIP"; then
7441 { echo "$as_me:$LINENO: result: $ZIP" >&5
7442 echo "${ECHO_T}$ZIP" >&6; }
7444 { echo "$as_me:$LINENO: result: no" >&5
7445 echo "${ECHO_T}no" >&6; }
7449 for ac_prog in ocamlc
7451 # Extract the first word of "$ac_prog", so it can be a program name with args.
7452 set dummy $ac_prog; ac_word=$2
7453 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7454 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7455 if test "${ac_cv_path_OCAMLC+set}" = set; then
7456 echo $ECHO_N "(cached) $ECHO_C" >&6
7460 ac_cv_path_OCAMLC="$OCAMLC" # Let the user override the test with a path.
7463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7467 test -z "$as_dir" && as_dir=.
7468 for ac_exec_ext in '' $ac_executable_extensions; do
7469 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7470 ac_cv_path_OCAMLC="$as_dir/$ac_word$ac_exec_ext"
7471 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7481 OCAMLC=$ac_cv_path_OCAMLC
7482 if test -n "$OCAMLC"; then
7483 { echo "$as_me:$LINENO: result: $OCAMLC" >&5
7484 echo "${ECHO_T}$OCAMLC" >&6; }
7486 { echo "$as_me:$LINENO: result: no" >&5
7487 echo "${ECHO_T}no" >&6; }
7491 test -n "$OCAMLC" && break
7494 for ac_prog in ocamlopt
7496 # Extract the first word of "$ac_prog", so it can be a program name with args.
7497 set dummy $ac_prog; ac_word=$2
7498 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7499 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7500 if test "${ac_cv_path_OCAMLOPT+set}" = set; then
7501 echo $ECHO_N "(cached) $ECHO_C" >&6
7505 ac_cv_path_OCAMLOPT="$OCAMLOPT" # Let the user override the test with a path.
7508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7512 test -z "$as_dir" && as_dir=.
7513 for ac_exec_ext in '' $ac_executable_extensions; do
7514 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7515 ac_cv_path_OCAMLOPT="$as_dir/$ac_word$ac_exec_ext"
7516 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7526 OCAMLOPT=$ac_cv_path_OCAMLOPT
7527 if test -n "$OCAMLOPT"; then
7528 { echo "$as_me:$LINENO: result: $OCAMLOPT" >&5
7529 echo "${ECHO_T}$OCAMLOPT" >&6; }
7531 { echo "$as_me:$LINENO: result: no" >&5
7532 echo "${ECHO_T}no" >&6; }
7536 test -n "$OCAMLOPT" && break
7539 for ac_prog in ocamldep
7541 # Extract the first word of "$ac_prog", so it can be a program name with args.
7542 set dummy $ac_prog; ac_word=$2
7543 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7544 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7545 if test "${ac_cv_path_OCAMLDEP+set}" = set; then
7546 echo $ECHO_N "(cached) $ECHO_C" >&6
7550 ac_cv_path_OCAMLDEP="$OCAMLDEP" # Let the user override the test with a path.
7553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7557 test -z "$as_dir" && as_dir=.
7558 for ac_exec_ext in '' $ac_executable_extensions; do
7559 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7560 ac_cv_path_OCAMLDEP="$as_dir/$ac_word$ac_exec_ext"
7561 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7571 OCAMLDEP=$ac_cv_path_OCAMLDEP
7572 if test -n "$OCAMLDEP"; then
7573 { echo "$as_me:$LINENO: result: $OCAMLDEP" >&5
7574 echo "${ECHO_T}$OCAMLDEP" >&6; }
7576 { echo "$as_me:$LINENO: result: no" >&5
7577 echo "${ECHO_T}no" >&6; }
7581 test -n "$OCAMLDEP" && break
7584 for ac_prog in ocamldoc
7586 # Extract the first word of "$ac_prog", so it can be a program name with args.
7587 set dummy $ac_prog; ac_word=$2
7588 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7589 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7590 if test "${ac_cv_path_OCAMLDOC+set}" = set; then
7591 echo $ECHO_N "(cached) $ECHO_C" >&6
7595 ac_cv_path_OCAMLDOC="$OCAMLDOC" # Let the user override the test with a path.
7598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7602 test -z "$as_dir" && as_dir=.
7603 for ac_exec_ext in '' $ac_executable_extensions; do
7604 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7605 ac_cv_path_OCAMLDOC="$as_dir/$ac_word$ac_exec_ext"
7606 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7616 OCAMLDOC=$ac_cv_path_OCAMLDOC
7617 if test -n "$OCAMLDOC"; then
7618 { echo "$as_me:$LINENO: result: $OCAMLDOC" >&5
7619 echo "${ECHO_T}$OCAMLDOC" >&6; }
7621 { echo "$as_me:$LINENO: result: no" >&5
7622 echo "${ECHO_T}no" >&6; }
7626 test -n "$OCAMLDOC" && break
7629 for ac_prog in gas as
7631 # Extract the first word of "$ac_prog", so it can be a program name with args.
7632 set dummy $ac_prog; ac_word=$2
7633 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7634 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7635 if test "${ac_cv_path_GAS+set}" = set; then
7636 echo $ECHO_N "(cached) $ECHO_C" >&6
7640 ac_cv_path_GAS="$GAS" # Let the user override the test with a path.
7643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7647 test -z "$as_dir" && as_dir=.
7648 for ac_exec_ext in '' $ac_executable_extensions; do
7649 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7650 ac_cv_path_GAS="$as_dir/$ac_word$ac_exec_ext"
7651 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7662 if test -n "$GAS"; then
7663 { echo "$as_me:$LINENO: result: $GAS" >&5
7664 echo "${ECHO_T}$GAS" >&6; }
7666 { echo "$as_me:$LINENO: result: no" >&5
7667 echo "${ECHO_T}no" >&6; }
7671 test -n "$GAS" && break
7675 { echo "$as_me:$LINENO: checking for linker version" >&5
7676 echo $ECHO_N "checking for linker version... $ECHO_C" >&6; }
7677 if test "${llvm_cv_link_version+set}" = set; then
7678 echo $ECHO_N "(cached) $ECHO_C" >&6
7681 version_string="$(ld -v 2>&1 | head -1)"
7684 if (echo "$version_string" | grep -q "ld64"); then
7685 llvm_cv_link_version=$(echo "$version_string" | sed -e "s#.*ld64-\([^ ]*\)\( (.*)\)\{0,1\}#\1#")
7687 llvm_cv_link_version=$(echo "$version_string" | sed -e "s#[^0-9]*\([0-9.]*\).*#\1#")
7691 { echo "$as_me:$LINENO: result: $llvm_cv_link_version" >&5
7692 echo "${ECHO_T}$llvm_cv_link_version" >&6; }
7694 cat >>confdefs.h <<_ACEOF
7695 #define HOST_LINK_VERSION "$llvm_cv_link_version"
7700 { echo "$as_me:$LINENO: checking for compiler -Wl,-R<path> option" >&5
7701 echo $ECHO_N "checking for compiler -Wl,-R<path> option... $ECHO_C" >&6; }
7702 if test "${llvm_cv_link_use_r+set}" = set; then
7703 echo $ECHO_N "(cached) $ECHO_C" >&6
7706 ac_cpp='$CPP $CPPFLAGS'
7707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7712 CFLAGS="$CFLAGS -Wl,-R."
7713 cat >conftest.$ac_ext <<_ACEOF
7716 cat confdefs.h >>conftest.$ac_ext
7717 cat >>conftest.$ac_ext <<_ACEOF
7718 /* end confdefs.h. */
7728 rm -f conftest.$ac_objext conftest$ac_exeext
7729 if { (ac_try="$ac_link"
7731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7732 *) ac_try_echo=$ac_try;;
7734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7735 (eval "$ac_link") 2>conftest.er1
7737 grep -v '^ *+' conftest.er1 >conftest.err
7739 cat conftest.err >&5
7740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7741 (exit $ac_status); } &&
7742 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7743 { (case "(($ac_try" in
7744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7745 *) ac_try_echo=$ac_try;;
7747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7748 (eval "$ac_try") 2>&5
7750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7751 (exit $ac_status); }; } &&
7752 { ac_try='test -s conftest$ac_exeext'
7753 { (case "(($ac_try" in
7754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7755 *) ac_try_echo=$ac_try;;
7757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7758 (eval "$ac_try") 2>&5
7760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7761 (exit $ac_status); }; }; then
7762 llvm_cv_link_use_r=yes
7764 echo "$as_me: failed program was:" >&5
7765 sed 's/^/| /' conftest.$ac_ext >&5
7767 llvm_cv_link_use_r=no
7770 rm -f core conftest.err conftest.$ac_objext \
7771 conftest$ac_exeext conftest.$ac_ext
7774 ac_cpp='$CPP $CPPFLAGS'
7775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7781 { echo "$as_me:$LINENO: result: $llvm_cv_link_use_r" >&5
7782 echo "${ECHO_T}$llvm_cv_link_use_r" >&6; }
7783 if test "$llvm_cv_link_use_r" = yes ; then
7785 cat >>confdefs.h <<\_ACEOF
7786 #define HAVE_LINK_R 1
7792 { echo "$as_me:$LINENO: checking for compiler -Wl,-export-dynamic option" >&5
7793 echo $ECHO_N "checking for compiler -Wl,-export-dynamic option... $ECHO_C" >&6; }
7794 if test "${llvm_cv_link_use_export_dynamic+set}" = set; then
7795 echo $ECHO_N "(cached) $ECHO_C" >&6
7798 ac_cpp='$CPP $CPPFLAGS'
7799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7804 CFLAGS="$CFLAGS -Wl,-export-dynamic"
7805 cat >conftest.$ac_ext <<_ACEOF
7808 cat confdefs.h >>conftest.$ac_ext
7809 cat >>conftest.$ac_ext <<_ACEOF
7810 /* end confdefs.h. */
7820 rm -f conftest.$ac_objext conftest$ac_exeext
7821 if { (ac_try="$ac_link"
7823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7824 *) ac_try_echo=$ac_try;;
7826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7827 (eval "$ac_link") 2>conftest.er1
7829 grep -v '^ *+' conftest.er1 >conftest.err
7831 cat conftest.err >&5
7832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7833 (exit $ac_status); } &&
7834 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7835 { (case "(($ac_try" in
7836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7837 *) ac_try_echo=$ac_try;;
7839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7840 (eval "$ac_try") 2>&5
7842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7843 (exit $ac_status); }; } &&
7844 { ac_try='test -s conftest$ac_exeext'
7845 { (case "(($ac_try" in
7846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7847 *) ac_try_echo=$ac_try;;
7849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7850 (eval "$ac_try") 2>&5
7852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7853 (exit $ac_status); }; }; then
7854 llvm_cv_link_use_export_dynamic=yes
7856 echo "$as_me: failed program was:" >&5
7857 sed 's/^/| /' conftest.$ac_ext >&5
7859 llvm_cv_link_use_export_dynamic=no
7862 rm -f core conftest.err conftest.$ac_objext \
7863 conftest$ac_exeext conftest.$ac_ext
7866 ac_cpp='$CPP $CPPFLAGS'
7867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7873 { echo "$as_me:$LINENO: result: $llvm_cv_link_use_export_dynamic" >&5
7874 echo "${ECHO_T}$llvm_cv_link_use_export_dynamic" >&6; }
7875 if test "$llvm_cv_link_use_export_dynamic" = yes ; then
7877 cat >>confdefs.h <<\_ACEOF
7878 #define HAVE_LINK_EXPORT_DYNAMIC 1
7884 { echo "$as_me:$LINENO: checking for compiler -Wl,--version-script option" >&5
7885 echo $ECHO_N "checking for compiler -Wl,--version-script option... $ECHO_C" >&6; }
7886 if test "${llvm_cv_link_use_version_script+set}" = set; then
7887 echo $ECHO_N "(cached) $ECHO_C" >&6
7890 ac_cpp='$CPP $CPPFLAGS'
7891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7897 # The following code is from the autoconf manual,
7898 # "11.13: Limitations of Usual Tools".
7899 # Create a temporary directory $tmp in $TMPDIR (default /tmp).
7900 # Use mktemp if possible; otherwise fall back on mkdir,
7901 # with $RANDOM to make collisions less likely.
7905 (umask 077 && mktemp -d "$TMPDIR/fooXXXXXX") 2>/dev/null
7907 test -n "$tmp" && test -d "$tmp"
7909 tmp=$TMPDIR/foo$$-$RANDOM
7910 (umask 077 && mkdir "$tmp")
7913 echo "{" > "$tmp/export.map"
7914 echo " global: main;" >> "$tmp/export.map"
7915 echo " local: *;" >> "$tmp/export.map"
7916 echo "};" >> "$tmp/export.map"
7918 CFLAGS="$CFLAGS -Wl,--version-script=$tmp/export.map"
7919 cat >conftest.$ac_ext <<_ACEOF
7922 cat confdefs.h >>conftest.$ac_ext
7923 cat >>conftest.$ac_ext <<_ACEOF
7924 /* end confdefs.h. */
7934 rm -f conftest.$ac_objext conftest$ac_exeext
7935 if { (ac_try="$ac_link"
7937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7938 *) ac_try_echo=$ac_try;;
7940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7941 (eval "$ac_link") 2>conftest.er1
7943 grep -v '^ *+' conftest.er1 >conftest.err
7945 cat conftest.err >&5
7946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7947 (exit $ac_status); } &&
7948 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7949 { (case "(($ac_try" in
7950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7951 *) ac_try_echo=$ac_try;;
7953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7954 (eval "$ac_try") 2>&5
7956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7957 (exit $ac_status); }; } &&
7958 { ac_try='test -s conftest$ac_exeext'
7959 { (case "(($ac_try" in
7960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7961 *) ac_try_echo=$ac_try;;
7963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7964 (eval "$ac_try") 2>&5
7966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7967 (exit $ac_status); }; }; then
7968 llvm_cv_link_use_version_script=yes
7970 echo "$as_me: failed program was:" >&5
7971 sed 's/^/| /' conftest.$ac_ext >&5
7973 llvm_cv_link_use_version_script=no
7976 rm -f core conftest.err conftest.$ac_objext \
7977 conftest$ac_exeext conftest.$ac_ext
7978 rm "$tmp/export.map"
7982 ac_cpp='$CPP $CPPFLAGS'
7983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7989 { echo "$as_me:$LINENO: result: $llvm_cv_link_use_version_script" >&5
7990 echo "${ECHO_T}$llvm_cv_link_use_version_script" >&6; }
7991 if test "$llvm_cv_link_use_version_script" = yes ; then
7992 HAVE_LINK_VERSION_SCRIPT=1
7999 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
8000 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
8001 if test "${ac_cv_c_const+set}" = set; then
8002 echo $ECHO_N "(cached) $ECHO_C" >&6
8004 cat >conftest.$ac_ext <<_ACEOF
8007 cat confdefs.h >>conftest.$ac_ext
8008 cat >>conftest.$ac_ext <<_ACEOF
8009 /* end confdefs.h. */
8014 /* FIXME: Include the comments suggested by Paul. */
8016 /* Ultrix mips cc rejects this. */
8017 typedef int charset[2];
8019 /* SunOS 4.1.1 cc rejects this. */
8020 char const *const *ccp;
8022 /* NEC SVR4.0.2 mips cc rejects this. */
8023 struct point {int x, y;};
8024 static struct point const zero = {0,0};
8025 /* AIX XL C 1.02.0.0 rejects this.
8026 It does not let you subtract one const X* pointer from another in
8027 an arm of an if-expression whose if-part is not a constant
8029 const char *g = "string";
8030 ccp = &g + (g ? g-g : 0);
8031 /* HPUX 7.0 cc rejects these. */
8034 ccp = (char const *const *) p;
8035 { /* SCO 3.2v4 cc rejects this. */
8037 char const *s = 0 ? (char *) 0 : (char const *) 0;
8042 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
8044 const int *foo = &x[0];
8047 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
8048 typedef const int *iptr;
8052 { /* AIX XL C 1.02.0.0 rejects this saying
8053 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
8054 struct s { int j; const int *ap[3]; };
8055 struct s *b; b->j = 5;
8057 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
8061 return !x[0] && !zero.x;
8068 rm -f conftest.$ac_objext
8069 if { (ac_try="$ac_compile"
8071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8072 *) ac_try_echo=$ac_try;;
8074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8075 (eval "$ac_compile") 2>conftest.er1
8077 grep -v '^ *+' conftest.er1 >conftest.err
8079 cat conftest.err >&5
8080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8081 (exit $ac_status); } &&
8082 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8083 { (case "(($ac_try" in
8084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8085 *) ac_try_echo=$ac_try;;
8087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8088 (eval "$ac_try") 2>&5
8090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8091 (exit $ac_status); }; } &&
8092 { ac_try='test -s conftest.$ac_objext'
8093 { (case "(($ac_try" in
8094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8095 *) ac_try_echo=$ac_try;;
8097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8098 (eval "$ac_try") 2>&5
8100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8101 (exit $ac_status); }; }; then
8104 echo "$as_me: failed program was:" >&5
8105 sed 's/^/| /' conftest.$ac_ext >&5
8110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8112 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
8113 echo "${ECHO_T}$ac_cv_c_const" >&6; }
8114 if test $ac_cv_c_const = no; then
8116 cat >>confdefs.h <<\_ACEOF
8128 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
8129 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
8130 { echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
8131 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
8132 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8133 echo $ECHO_N "(cached) $ECHO_C" >&6
8135 cat >conftest.$ac_ext <<_ACEOF
8138 cat confdefs.h >>conftest.$ac_ext
8139 cat >>conftest.$ac_ext <<_ACEOF
8140 /* end confdefs.h. */
8141 #include <sys/types.h>
8153 rm -f conftest.$ac_objext
8154 if { (ac_try="$ac_compile"
8156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8157 *) ac_try_echo=$ac_try;;
8159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8160 (eval "$ac_compile") 2>conftest.er1
8162 grep -v '^ *+' conftest.er1 >conftest.err
8164 cat conftest.err >&5
8165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8166 (exit $ac_status); } &&
8167 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8168 { (case "(($ac_try" in
8169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8170 *) ac_try_echo=$ac_try;;
8172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8173 (eval "$ac_try") 2>&5
8175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8176 (exit $ac_status); }; } &&
8177 { ac_try='test -s conftest.$ac_objext'
8178 { (case "(($ac_try" in
8179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8180 *) ac_try_echo=$ac_try;;
8182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8183 (eval "$ac_try") 2>&5
8185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8186 (exit $ac_status); }; }; then
8187 eval "$as_ac_Header=yes"
8189 echo "$as_me: failed program was:" >&5
8190 sed 's/^/| /' conftest.$ac_ext >&5
8192 eval "$as_ac_Header=no"
8195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8197 ac_res=`eval echo '${'$as_ac_Header'}'`
8198 { echo "$as_me:$LINENO: result: $ac_res" >&5
8199 echo "${ECHO_T}$ac_res" >&6; }
8200 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8201 cat >>confdefs.h <<_ACEOF
8202 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
8205 ac_header_dirent=$ac_hdr; break
8209 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
8210 if test $ac_header_dirent = dirent.h; then
8211 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
8212 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
8213 if test "${ac_cv_search_opendir+set}" = set; then
8214 echo $ECHO_N "(cached) $ECHO_C" >&6
8216 ac_func_search_save_LIBS=$LIBS
8217 cat >conftest.$ac_ext <<_ACEOF
8220 cat confdefs.h >>conftest.$ac_ext
8221 cat >>conftest.$ac_ext <<_ACEOF
8222 /* end confdefs.h. */
8224 /* Override any GCC internal prototype to avoid an error.
8225 Use char because int might match the return type of a GCC
8226 builtin and then its argument prototype would still apply. */
8239 for ac_lib in '' dir; do
8240 if test -z "$ac_lib"; then
8241 ac_res="none required"
8244 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
8246 rm -f conftest.$ac_objext conftest$ac_exeext
8247 if { (ac_try="$ac_link"
8249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8250 *) ac_try_echo=$ac_try;;
8252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8253 (eval "$ac_link") 2>conftest.er1
8255 grep -v '^ *+' conftest.er1 >conftest.err
8257 cat conftest.err >&5
8258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8259 (exit $ac_status); } &&
8260 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8261 { (case "(($ac_try" in
8262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8263 *) ac_try_echo=$ac_try;;
8265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8266 (eval "$ac_try") 2>&5
8268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8269 (exit $ac_status); }; } &&
8270 { ac_try='test -s conftest$ac_exeext'
8271 { (case "(($ac_try" in
8272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8273 *) ac_try_echo=$ac_try;;
8275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8276 (eval "$ac_try") 2>&5
8278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8279 (exit $ac_status); }; }; then
8280 ac_cv_search_opendir=$ac_res
8282 echo "$as_me: failed program was:" >&5
8283 sed 's/^/| /' conftest.$ac_ext >&5
8288 rm -f core conftest.err conftest.$ac_objext \
8290 if test "${ac_cv_search_opendir+set}" = set; then
8294 if test "${ac_cv_search_opendir+set}" = set; then
8297 ac_cv_search_opendir=no
8300 LIBS=$ac_func_search_save_LIBS
8302 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
8303 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
8304 ac_res=$ac_cv_search_opendir
8305 if test "$ac_res" != no; then
8306 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
8311 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
8312 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
8313 if test "${ac_cv_search_opendir+set}" = set; then
8314 echo $ECHO_N "(cached) $ECHO_C" >&6
8316 ac_func_search_save_LIBS=$LIBS
8317 cat >conftest.$ac_ext <<_ACEOF
8320 cat confdefs.h >>conftest.$ac_ext
8321 cat >>conftest.$ac_ext <<_ACEOF
8322 /* end confdefs.h. */
8324 /* Override any GCC internal prototype to avoid an error.
8325 Use char because int might match the return type of a GCC
8326 builtin and then its argument prototype would still apply. */
8339 for ac_lib in '' x; do
8340 if test -z "$ac_lib"; then
8341 ac_res="none required"
8344 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
8346 rm -f conftest.$ac_objext conftest$ac_exeext
8347 if { (ac_try="$ac_link"
8349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8350 *) ac_try_echo=$ac_try;;
8352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8353 (eval "$ac_link") 2>conftest.er1
8355 grep -v '^ *+' conftest.er1 >conftest.err
8357 cat conftest.err >&5
8358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8359 (exit $ac_status); } &&
8360 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8361 { (case "(($ac_try" in
8362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8363 *) ac_try_echo=$ac_try;;
8365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8366 (eval "$ac_try") 2>&5
8368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8369 (exit $ac_status); }; } &&
8370 { ac_try='test -s conftest$ac_exeext'
8371 { (case "(($ac_try" in
8372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8373 *) ac_try_echo=$ac_try;;
8375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8376 (eval "$ac_try") 2>&5
8378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8379 (exit $ac_status); }; }; then
8380 ac_cv_search_opendir=$ac_res
8382 echo "$as_me: failed program was:" >&5
8383 sed 's/^/| /' conftest.$ac_ext >&5
8388 rm -f core conftest.err conftest.$ac_objext \
8390 if test "${ac_cv_search_opendir+set}" = set; then
8394 if test "${ac_cv_search_opendir+set}" = set; then
8397 ac_cv_search_opendir=no
8400 LIBS=$ac_func_search_save_LIBS
8402 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
8403 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
8404 ac_res=$ac_cv_search_opendir
8405 if test "$ac_res" != no; then
8406 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
8413 for ac_header in dlfcn.h
8415 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8416 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8417 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8418 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8419 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8420 echo $ECHO_N "(cached) $ECHO_C" >&6
8422 ac_res=`eval echo '${'$as_ac_Header'}'`
8423 { echo "$as_me:$LINENO: result: $ac_res" >&5
8424 echo "${ECHO_T}$ac_res" >&6; }
8426 # Is the header compilable?
8427 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
8428 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8429 cat >conftest.$ac_ext <<_ACEOF
8432 cat confdefs.h >>conftest.$ac_ext
8433 cat >>conftest.$ac_ext <<_ACEOF
8434 /* end confdefs.h. */
8435 $ac_includes_default
8436 #include <$ac_header>
8438 rm -f conftest.$ac_objext
8439 if { (ac_try="$ac_compile"
8441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8442 *) ac_try_echo=$ac_try;;
8444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8445 (eval "$ac_compile") 2>conftest.er1
8447 grep -v '^ *+' conftest.er1 >conftest.err
8449 cat conftest.err >&5
8450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8451 (exit $ac_status); } &&
8452 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8453 { (case "(($ac_try" in
8454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8455 *) ac_try_echo=$ac_try;;
8457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8458 (eval "$ac_try") 2>&5
8460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8461 (exit $ac_status); }; } &&
8462 { ac_try='test -s conftest.$ac_objext'
8463 { (case "(($ac_try" in
8464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8465 *) ac_try_echo=$ac_try;;
8467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8468 (eval "$ac_try") 2>&5
8470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8471 (exit $ac_status); }; }; then
8472 ac_header_compiler=yes
8474 echo "$as_me: failed program was:" >&5
8475 sed 's/^/| /' conftest.$ac_ext >&5
8477 ac_header_compiler=no
8480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8481 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8482 echo "${ECHO_T}$ac_header_compiler" >&6; }
8484 # Is the header present?
8485 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
8486 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8487 cat >conftest.$ac_ext <<_ACEOF
8490 cat confdefs.h >>conftest.$ac_ext
8491 cat >>conftest.$ac_ext <<_ACEOF
8492 /* end confdefs.h. */
8493 #include <$ac_header>
8495 if { (ac_try="$ac_cpp conftest.$ac_ext"
8497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8498 *) ac_try_echo=$ac_try;;
8500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8501 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8503 grep -v '^ *+' conftest.er1 >conftest.err
8505 cat conftest.err >&5
8506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8507 (exit $ac_status); } >/dev/null; then
8508 if test -s conftest.err; then
8509 ac_cpp_err=$ac_c_preproc_warn_flag
8510 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8517 if test -z "$ac_cpp_err"; then
8518 ac_header_preproc=yes
8520 echo "$as_me: failed program was:" >&5
8521 sed 's/^/| /' conftest.$ac_ext >&5
8523 ac_header_preproc=no
8526 rm -f conftest.err conftest.$ac_ext
8527 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8528 echo "${ECHO_T}$ac_header_preproc" >&6; }
8530 # So? What about this header?
8531 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8533 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8534 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8535 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8536 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8537 ac_header_preproc=yes
8540 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8541 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8542 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8543 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8544 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8545 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8546 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8547 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8548 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8549 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8550 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8551 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8553 ## ------------------------------ ##
8554 ## Report this to bugs@yourdomain ##
8555 ## ------------------------------ ##
8557 ) | sed "s/^/$as_me: WARNING: /" >&2
8560 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8561 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8562 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8563 echo $ECHO_N "(cached) $ECHO_C" >&6
8565 eval "$as_ac_Header=\$ac_header_preproc"
8567 ac_res=`eval echo '${'$as_ac_Header'}'`
8568 { echo "$as_me:$LINENO: result: $ac_res" >&5
8569 echo "${ECHO_T}$ac_res" >&6; }
8572 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8573 cat >>confdefs.h <<_ACEOF
8574 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8581 # Check whether --enable-ltdl-install was given.
8582 if test "${enable_ltdl_install+set}" = set; then
8583 enableval=$enable_ltdl_install;
8589 if test x"${enable_ltdl_install-no}" != xno; then
8591 INSTALL_LTDL_FALSE='#'
8593 INSTALL_LTDL_TRUE='#'
8599 if test x"${enable_ltdl_convenience-no}" != xno; then
8600 CONVENIENCE_LTDL_TRUE=
8601 CONVENIENCE_LTDL_FALSE='#'
8603 CONVENIENCE_LTDL_TRUE='#'
8604 CONVENIENCE_LTDL_FALSE=
8608 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8609 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
8611 libname_spec='lib$name'
8619 shlibpath_overrides_runpath=unknown
8621 dynamic_linker="$host_os ld.so"
8622 sys_lib_dlsearch_path_spec="/lib /usr/lib"
8623 if test "$GCC" = yes; then
8624 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8625 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
8626 # if the path contains ";" then we assume it to be the separator
8627 # otherwise default to the standard path separator (i.e. ":") - it is
8628 # assumed that no part of a normal pathname contains ";" but that should
8629 # okay in the real world where ";" in dirpaths is itself problematic.
8630 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8632 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8635 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
8637 need_lib_prefix=unknown
8638 hardcode_into_libs=no
8640 # when you set need_version to no, make sure it does not cause -set_version
8641 # flags to be left without arguments
8642 need_version=unknown
8647 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
8648 shlibpath_var=LIBPATH
8650 # AIX 3 has no versioning support, so we append a major version to the name.
8651 soname_spec='${libname}${release}${shared_ext}$major'
8658 hardcode_into_libs=yes
8659 if test "$host_cpu" = ia64; then
8660 # AIX 5 supports IA64
8661 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8662 shlibpath_var=LD_LIBRARY_PATH
8664 # With GCC up to 2.95.x, collect2 would create an import file
8665 # for dependence libraries. The import file would start with
8666 # the line `#! .'. This would cause the generated library to
8667 # depend on `.', always an invalid library. This was fixed in
8668 # development snapshots of GCC prior to 3.0.
8670 aix4 | aix4.[01] | aix4.[01].*)
8671 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8673 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
8680 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8681 # soname into executable. Probably we can add versioning support to
8682 # collect2, so additional links can be useful in future.
8683 if test "$aix_use_runtimelinking" = yes; then
8684 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8685 # instead of lib<name>.a to let people know that these are not
8686 # typical AIX shared libraries.
8687 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8689 # We preserve .a as extension for shared libraries through AIX4.2
8690 # and later when we are not doing run time linking.
8691 library_names_spec='${libname}${release}.a $libname.a'
8692 soname_spec='${libname}${release}${shared_ext}$major'
8694 shlibpath_var=LIBPATH
8699 library_names_spec='$libname.ixlibrary $libname.a'
8700 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8701 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
8705 library_names_spec='${libname}${shared_ext}'
8706 dynamic_linker="$host_os ld.so"
8707 shlibpath_var=LIBRARY_PATH
8713 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8714 soname_spec='${libname}${release}${shared_ext}$major'
8715 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
8716 shlibpath_var=LD_LIBRARY_PATH
8717 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8718 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
8719 # the default ld.so.conf also contains /usr/contrib/lib and
8720 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8721 # libtool to hard-code these into programs
8724 cygwin* | mingw* | pw32*)
8725 version_type=windows
8730 case $GCC,$host_os in
8731 yes,cygwin* | yes,mingw* | yes,pw32*)
8732 library_names_spec='$libname.dll.a'
8733 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8734 postinstall_cmds='base_file=`basename \${file}`~
8735 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
8736 dldir=$destdir/`dirname \$dlpath`~
8737 test -d \$dldir || mkdir -p \$dldir~
8738 $install_prog $dir/$dlname \$dldir/$dlname~
8739 chmod a+x \$dldir/$dlname'
8740 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8741 dlpath=$dir/\$dldll~
8743 shlibpath_overrides_runpath=yes
8747 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8748 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8749 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
8752 # MinGW DLLs use traditional 'lib' prefix
8753 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8754 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8755 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
8756 # It is most probably a Windows format PATH printed by
8757 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8758 # path with ; separators, and with drive letters. We can handle the
8759 # drive letters (cygwin fileutils understands them), so leave them,
8760 # especially as we might pass files found there to a mingw objdump,
8761 # which wouldn't understand a cygwinified path. Ahh.
8762 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8764 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8768 # pw32 DLLs use 'pw' prefix rather than 'lib'
8769 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8775 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8778 dynamic_linker='Win32 ld.exe'
8779 # FIXME: first we should search . and the directory the executable is in
8783 darwin* | rhapsody*)
8784 dynamic_linker="$host_os dyld"
8788 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8789 soname_spec='${libname}${release}${major}$shared_ext'
8790 shlibpath_overrides_runpath=yes
8791 shlibpath_var=DYLD_LIBRARY_PATH
8792 shrext_cmds='.dylib'
8793 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
8794 if test "$GCC" = yes; then
8795 sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
8797 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
8799 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
8806 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8807 soname_spec='${libname}${release}${shared_ext}$major'
8808 shlibpath_var=LD_LIBRARY_PATH
8819 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8820 soname_spec='${libname}${release}${shared_ext}$major'
8821 shlibpath_var=LD_LIBRARY_PATH
8822 shlibpath_overrides_runpath=no
8823 hardcode_into_libs=yes
8824 dynamic_linker='GNU ld.so'
8827 freebsd* | dragonfly*)
8828 # DragonFly does not have aout. When/if they implement a new
8829 # versioning mechanism, adjust this.
8830 if test -x /usr/bin/objformat; then
8831 objformat=`/usr/bin/objformat`
8834 freebsd[123].*) objformat=aout ;;
8838 version_type=freebsd-$objformat
8839 case $version_type in
8841 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8846 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8850 shlibpath_var=LD_LIBRARY_PATH
8853 shlibpath_overrides_runpath=yes
8855 freebsd3.[01]* | freebsdelf3.[01]*)
8856 shlibpath_overrides_runpath=yes
8857 hardcode_into_libs=yes
8859 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
8860 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
8861 shlibpath_overrides_runpath=no
8862 hardcode_into_libs=yes
8864 freebsd*) # from 4.6 on
8865 shlibpath_overrides_runpath=yes
8866 hardcode_into_libs=yes
8875 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8876 soname_spec='${libname}${release}${shared_ext}$major'
8877 shlibpath_var=LD_LIBRARY_PATH
8878 hardcode_into_libs=yes
8881 hpux9* | hpux10* | hpux11*)
8882 # Give a soname corresponding to the major version so that dld.sl refuses to
8883 # link against other versions.
8890 hardcode_into_libs=yes
8891 dynamic_linker="$host_os dld.so"
8892 shlibpath_var=LD_LIBRARY_PATH
8893 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
8894 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8895 soname_spec='${libname}${release}${shared_ext}$major'
8896 if test "X$HPUX_IA64_MODE" = X32; then
8897 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8899 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
8901 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
8905 hardcode_into_libs=yes
8906 dynamic_linker="$host_os dld.sl"
8907 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
8908 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
8909 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8910 soname_spec='${libname}${release}${shared_ext}$major'
8911 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8912 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
8916 dynamic_linker="$host_os dld.sl"
8917 shlibpath_var=SHLIB_PATH
8918 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
8919 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8920 soname_spec='${libname}${release}${shared_ext}$major'
8923 # HP-UX runs *really* slowly unless shared libraries are mode 555.
8924 postinstall_cmds='chmod 555 $lib'
8931 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8932 soname_spec='${libname}${release}${shared_ext}$major'
8933 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
8934 shlibpath_var=LD_LIBRARY_PATH
8935 shlibpath_overrides_runpath=no
8936 hardcode_into_libs=yes
8939 irix5* | irix6* | nonstopux*)
8941 nonstopux*) version_type=nonstopux ;;
8943 if test "$lt_cv_prog_gnu_ld" = yes; then
8951 soname_spec='${libname}${release}${shared_ext}$major'
8952 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
8954 irix5* | nonstopux*)
8958 case $LD in # libtool.m4 will add one of these switches to LD
8959 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
8960 libsuff= shlibsuff= libmagic=32-bit;;
8961 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
8962 libsuff=32 shlibsuff=N32 libmagic=N32;;
8963 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
8964 libsuff=64 shlibsuff=64 libmagic=64-bit;;
8965 *) libsuff= shlibsuff= libmagic=never-match;;
8969 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
8970 shlibpath_overrides_runpath=no
8971 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
8972 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
8973 hardcode_into_libs=yes
8976 # No shared lib support for Linux oldld, aout, or coff.
8977 linux*oldld* | linux*aout* | linux*coff*)
8981 # This must be Linux ELF.
8986 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8987 soname_spec='${libname}${release}${shared_ext}$major'
8988 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
8989 shlibpath_var=LD_LIBRARY_PATH
8990 shlibpath_overrides_runpath=no
8991 # This implies no fast_install, which is unacceptable.
8992 # Some rework will be needed to allow for fast_install
8993 # before this can be enabled.
8994 hardcode_into_libs=yes
8996 # Append ld.so.conf contents to the search path
8997 if test -f /etc/ld.so.conf; then
8998 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
8999 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9002 # We used to test for /lib/ld.so.1 and disable shared libraries on
9003 # powerpc, because MkLinux only supported shared libraries with the
9004 # GNU dynamic linker. Since this was broken with cross compilers,
9005 # most powerpc-linux boxes support dynamic linking these days and
9006 # people can always --disable-shared, the test was removed, and we
9007 # assume the GNU/Linux dynamic linker is in use.
9008 dynamic_linker='GNU/Linux ld.so'
9015 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9016 soname_spec='${libname}${release}${shared_ext}$major'
9017 shlibpath_var=LD_LIBRARY_PATH
9018 shlibpath_overrides_runpath=no
9019 hardcode_into_libs=yes
9020 dynamic_linker='GNU ld.so'
9027 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
9028 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9029 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9030 dynamic_linker='NetBSD (a.out) ld.so'
9032 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9033 soname_spec='${libname}${release}${shared_ext}$major'
9034 dynamic_linker='NetBSD ld.elf_so'
9036 shlibpath_var=LD_LIBRARY_PATH
9037 shlibpath_overrides_runpath=yes
9038 hardcode_into_libs=yes
9043 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9044 shlibpath_var=LD_LIBRARY_PATH
9045 shlibpath_overrides_runpath=yes
9052 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9053 soname_spec='${libname}${release}${shared_ext}$major'
9054 shlibpath_var=LD_LIBRARY_PATH
9055 shlibpath_overrides_runpath=yes
9060 sys_lib_dlsearch_path_spec="/usr/lib"
9062 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9064 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9065 *) need_version=no ;;
9067 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9068 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9069 shlibpath_var=LD_LIBRARY_PATH
9070 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9072 openbsd2.[89] | openbsd2.[89].*)
9073 shlibpath_overrides_runpath=no
9076 shlibpath_overrides_runpath=yes
9080 shlibpath_overrides_runpath=yes
9085 libname_spec='$name'
9088 library_names_spec='$libname${shared_ext} $libname.a'
9089 dynamic_linker='OS/2 ld.exe'
9090 shlibpath_var=LIBPATH
9093 osf3* | osf4* | osf5*)
9097 soname_spec='${libname}${release}${shared_ext}$major'
9098 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9099 shlibpath_var=LD_LIBRARY_PATH
9100 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9101 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9108 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9109 soname_spec='${libname}${release}${shared_ext}$major'
9110 shlibpath_var=LD_LIBRARY_PATH
9111 shlibpath_overrides_runpath=yes
9112 hardcode_into_libs=yes
9113 # ldd complains unless libraries are executable
9114 postinstall_cmds='chmod +x $lib'
9119 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9120 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9121 shlibpath_var=LD_LIBRARY_PATH
9122 shlibpath_overrides_runpath=yes
9123 if test "$with_gnu_ld" = yes; then
9131 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9132 soname_spec='${libname}${release}${shared_ext}$major'
9133 shlibpath_var=LD_LIBRARY_PATH
9134 case $host_vendor in
9136 shlibpath_overrides_runpath=no
9138 export_dynamic_flag_spec='${wl}-Blargedynsym'
9139 runpath_var=LD_RUN_PATH
9147 shlibpath_overrides_runpath=no
9148 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9154 if test -d /usr/nec ;then
9156 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9157 soname_spec='$libname${shared_ext}.$major'
9158 shlibpath_var=LD_LIBRARY_PATH
9162 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9163 version_type=freebsd-elf
9166 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9167 soname_spec='${libname}${release}${shared_ext}$major'
9168 shlibpath_var=LD_LIBRARY_PATH
9169 hardcode_into_libs=yes
9170 if test "$with_gnu_ld" = yes; then
9171 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9172 shlibpath_overrides_runpath=no
9174 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9175 shlibpath_overrides_runpath=yes
9178 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9182 sys_lib_dlsearch_path_spec='/usr/lib'
9187 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9188 soname_spec='${libname}${release}${shared_ext}$major'
9189 shlibpath_var=LD_LIBRARY_PATH
9196 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9197 echo "${ECHO_T}$dynamic_linker" >&6; }
9198 test "$dynamic_linker" = no && can_build_shared=no
9200 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9201 if test "$GCC" = yes; then
9202 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9206 { echo "$as_me:$LINENO: checking which extension is used for loadable modules" >&5
9207 echo $ECHO_N "checking which extension is used for loadable modules... $ECHO_C" >&6; }
9208 if test "${libltdl_cv_shlibext+set}" = set; then
9209 echo $ECHO_N "(cached) $ECHO_C" >&6
9213 eval libltdl_cv_shlibext=$shrext_cmds
9216 { echo "$as_me:$LINENO: result: $libltdl_cv_shlibext" >&5
9217 echo "${ECHO_T}$libltdl_cv_shlibext" >&6; }
9218 if test -n "$libltdl_cv_shlibext"; then
9220 cat >>confdefs.h <<_ACEOF
9221 #define LTDL_SHLIB_EXT "$libltdl_cv_shlibext"
9227 { echo "$as_me:$LINENO: checking which variable specifies run-time library path" >&5
9228 echo $ECHO_N "checking which variable specifies run-time library path... $ECHO_C" >&6; }
9229 if test "${libltdl_cv_shlibpath_var+set}" = set; then
9230 echo $ECHO_N "(cached) $ECHO_C" >&6
9232 libltdl_cv_shlibpath_var="$shlibpath_var"
9234 { echo "$as_me:$LINENO: result: $libltdl_cv_shlibpath_var" >&5
9235 echo "${ECHO_T}$libltdl_cv_shlibpath_var" >&6; }
9236 if test -n "$libltdl_cv_shlibpath_var"; then
9238 cat >>confdefs.h <<_ACEOF
9239 #define LTDL_SHLIBPATH_VAR "$libltdl_cv_shlibpath_var"
9245 { echo "$as_me:$LINENO: checking for the default library search path" >&5
9246 echo $ECHO_N "checking for the default library search path... $ECHO_C" >&6; }
9247 if test "${libltdl_cv_sys_search_path+set}" = set; then
9248 echo $ECHO_N "(cached) $ECHO_C" >&6
9250 libltdl_cv_sys_search_path="$sys_lib_dlsearch_path_spec"
9252 { echo "$as_me:$LINENO: result: $libltdl_cv_sys_search_path" >&5
9253 echo "${ECHO_T}$libltdl_cv_sys_search_path" >&6; }
9254 if test -n "$libltdl_cv_sys_search_path"; then
9256 for dir in $libltdl_cv_sys_search_path; do
9257 if test -z "$sys_search_path"; then
9258 sys_search_path="$dir"
9260 sys_search_path="$sys_search_path$PATH_SEPARATOR$dir"
9264 cat >>confdefs.h <<_ACEOF
9265 #define LTDL_SYSSEARCHPATH "$sys_search_path"
9270 { echo "$as_me:$LINENO: checking for objdir" >&5
9271 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
9272 if test "${libltdl_cv_objdir+set}" = set; then
9273 echo $ECHO_N "(cached) $ECHO_C" >&6
9275 libltdl_cv_objdir="$objdir"
9276 if test -n "$objdir"; then
9279 rm -f .libs 2>/dev/null
9280 mkdir .libs 2>/dev/null
9281 if test -d .libs; then
9282 libltdl_cv_objdir=.libs
9284 # MS-DOS does not allow filenames that begin with a dot.
9285 libltdl_cv_objdir=_libs
9287 rmdir .libs 2>/dev/null
9291 { echo "$as_me:$LINENO: result: $libltdl_cv_objdir" >&5
9292 echo "${ECHO_T}$libltdl_cv_objdir" >&6; }
9294 cat >>confdefs.h <<_ACEOF
9295 #define LTDL_OBJDIR "$libltdl_cv_objdir/"
9303 # Check for command to grab the raw symbol name followed by C symbol from nm.
9304 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
9305 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
9306 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
9307 echo $ECHO_N "(cached) $ECHO_C" >&6
9310 # These are sane defaults that work on at least a few old systems.
9311 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
9313 # Character class describing NM global symbol codes.
9314 symcode='[BCDEGRST]'
9316 # Regexp to match symbols that can be accessed directly from C.
9317 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
9319 # Transform an extracted symbol line into a proper C declaration
9320 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
9322 # Transform an extracted symbol line into symbol name and symbol address
9323 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
9325 # Define system-specific variables.
9330 cygwin* | mingw* | pw32*)
9331 symcode='[ABCDGISTW]'
9333 hpux*) # Its linker distinguishes data from code symbols
9334 if test "$host_cpu" = ia64; then
9335 symcode='[ABCDEGRST]'
9337 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
9338 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
9341 if test "$host_cpu" = ia64; then
9342 symcode='[ABCDGIRSTW]'
9343 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
9344 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
9348 symcode='[BCDEGRST]'
9351 symcode='[BCDEGQRST]'
9362 sysv5* | sco5v6* | unixware* | OpenUNIX*)
9370 # Handle CRLF in mingw tool chain
9374 opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
9378 # If we're using GNU nm, then use its standard symbol codes.
9379 case `$NM -V 2>&1` in
9380 *GNU* | *'with BFD'*)
9381 symcode='[ABCDGIRSTW]' ;;
9384 # Try without a prefix undercore, then with it.
9385 for ac_symprfx in "" "_"; do
9387 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
9388 symxfrm="\\1 $ac_symprfx\\2 \\2"
9390 # Write the raw and C identifiers.
9391 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
9393 # Check to see that the pipe works correctly.
9397 cat > conftest.$ac_ext <<EOF
9402 void nm_test_func(){}
9406 int main(){nm_test_var='a';nm_test_func();return(0);}
9409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9410 (eval $ac_compile) 2>&5
9412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9413 (exit $ac_status); }; then
9414 # Now try to grab the symbols.
9416 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
9417 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
9419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9420 (exit $ac_status); } && test -s "$nlist"; then
9421 # Try sorting and uniquifying the output.
9422 if sort "$nlist" | uniq > "$nlist"T; then
9423 mv -f "$nlist"T "$nlist"
9428 # Make sure that we snagged all the symbols we need.
9429 if grep ' nm_test_var$' "$nlist" >/dev/null; then
9430 if grep ' nm_test_func$' "$nlist" >/dev/null; then
9431 cat <<EOF > conftest.$ac_ext
9437 # Now generate the symbol file.
9438 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
9440 cat <<EOF >> conftest.$ac_ext
9441 #if defined (__STDC__) && __STDC__
9442 # define lt_ptr_t void *
9444 # define lt_ptr_t char *
9448 /* The mapping between symbol names and symbols. */
9453 lt_preloaded_symbols[] =
9456 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
9457 cat <<\EOF >> conftest.$ac_ext
9465 # Now try linking the two files.
9466 mv conftest.$ac_objext conftstm.$ac_objext
9467 lt_save_LIBS="$LIBS"
9468 lt_save_CFLAGS="$CFLAGS"
9469 LIBS="conftstm.$ac_objext"
9470 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
9471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9472 (eval $ac_link) 2>&5
9474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9475 (exit $ac_status); } && test -s conftest${ac_exeext}; then
9478 LIBS="$lt_save_LIBS"
9479 CFLAGS="$lt_save_CFLAGS"
9481 echo "cannot find nm_test_func in $nlist" >&5
9484 echo "cannot find nm_test_var in $nlist" >&5
9487 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
9490 echo "$progname: failed program was:" >&5
9491 cat conftest.$ac_ext >&5
9493 rm -f conftest* conftst*
9495 # Do not use the global_symbol_pipe unless it works.
9496 if test "$pipe_works" = yes; then
9499 lt_cv_sys_global_symbol_pipe=
9505 if test -z "$lt_cv_sys_global_symbol_pipe"; then
9506 lt_cv_sys_global_symbol_to_cdecl=
9508 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
9509 { echo "$as_me:$LINENO: result: failed" >&5
9510 echo "${ECHO_T}failed" >&6; }
9512 { echo "$as_me:$LINENO: result: ok" >&5
9513 echo "${ECHO_T}ok" >&6; }
9517 { echo "$as_me:$LINENO: checking whether libtool supports -dlopen/-dlpreopen" >&5
9518 echo $ECHO_N "checking whether libtool supports -dlopen/-dlpreopen... $ECHO_C" >&6; }
9519 if test "${libltdl_cv_preloaded_symbols+set}" = set; then
9520 echo $ECHO_N "(cached) $ECHO_C" >&6
9522 if test -n "$lt_cv_sys_global_symbol_pipe"; then
9523 libltdl_cv_preloaded_symbols=yes
9525 libltdl_cv_preloaded_symbols=no
9529 { echo "$as_me:$LINENO: result: $libltdl_cv_preloaded_symbols" >&5
9530 echo "${ECHO_T}$libltdl_cv_preloaded_symbols" >&6; }
9531 if test x"$libltdl_cv_preloaded_symbols" = xyes; then
9533 cat >>confdefs.h <<\_ACEOF
9534 #define HAVE_PRELOADED_SYMBOLS 1
9542 ac_cpp='$CPP $CPPFLAGS'
9543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9548 { echo "$as_me:$LINENO: checking for shl_load" >&5
9549 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
9550 if test "${ac_cv_func_shl_load+set}" = set; then
9551 echo $ECHO_N "(cached) $ECHO_C" >&6
9553 cat >conftest.$ac_ext <<_ACEOF
9556 cat confdefs.h >>conftest.$ac_ext
9557 cat >>conftest.$ac_ext <<_ACEOF
9558 /* end confdefs.h. */
9559 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9560 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9561 #define shl_load innocuous_shl_load
9563 /* System header to define __stub macros and hopefully few prototypes,
9564 which can conflict with char shl_load (); below.
9565 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9566 <limits.h> exists even on freestanding compilers. */
9569 # include <limits.h>
9571 # include <assert.h>
9576 /* Override any GCC internal prototype to avoid an error.
9577 Use char because int might match the return type of a GCC
9578 builtin and then its argument prototype would still apply. */
9583 /* The GNU C library defines this for functions which it implements
9584 to always fail with ENOSYS. Some functions are actually named
9585 something starting with __ and the normal name is an alias. */
9586 #if defined __stub_shl_load || defined __stub___shl_load
9598 rm -f conftest.$ac_objext conftest$ac_exeext
9599 if { (ac_try="$ac_link"
9601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9602 *) ac_try_echo=$ac_try;;
9604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9605 (eval "$ac_link") 2>conftest.er1
9607 grep -v '^ *+' conftest.er1 >conftest.err
9609 cat conftest.err >&5
9610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9611 (exit $ac_status); } &&
9612 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9613 { (case "(($ac_try" in
9614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9615 *) ac_try_echo=$ac_try;;
9617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9618 (eval "$ac_try") 2>&5
9620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9621 (exit $ac_status); }; } &&
9622 { ac_try='test -s conftest$ac_exeext'
9623 { (case "(($ac_try" in
9624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9625 *) ac_try_echo=$ac_try;;
9627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9628 (eval "$ac_try") 2>&5
9630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9631 (exit $ac_status); }; }; then
9632 ac_cv_func_shl_load=yes
9634 echo "$as_me: failed program was:" >&5
9635 sed 's/^/| /' conftest.$ac_ext >&5
9637 ac_cv_func_shl_load=no
9640 rm -f core conftest.err conftest.$ac_objext \
9641 conftest$ac_exeext conftest.$ac_ext
9643 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9644 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
9645 if test $ac_cv_func_shl_load = yes; then
9647 cat >>confdefs.h <<\_ACEOF
9648 #define HAVE_SHL_LOAD 1
9652 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9653 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
9654 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9655 echo $ECHO_N "(cached) $ECHO_C" >&6
9657 ac_check_lib_save_LIBS=$LIBS
9659 cat >conftest.$ac_ext <<_ACEOF
9662 cat confdefs.h >>conftest.$ac_ext
9663 cat >>conftest.$ac_ext <<_ACEOF
9664 /* end confdefs.h. */
9666 /* Override any GCC internal prototype to avoid an error.
9667 Use char because int might match the return type of a GCC
9668 builtin and then its argument prototype would still apply. */
9681 rm -f conftest.$ac_objext conftest$ac_exeext
9682 if { (ac_try="$ac_link"
9684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9685 *) ac_try_echo=$ac_try;;
9687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9688 (eval "$ac_link") 2>conftest.er1
9690 grep -v '^ *+' conftest.er1 >conftest.err
9692 cat conftest.err >&5
9693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9694 (exit $ac_status); } &&
9695 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9696 { (case "(($ac_try" in
9697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9698 *) ac_try_echo=$ac_try;;
9700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9701 (eval "$ac_try") 2>&5
9703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9704 (exit $ac_status); }; } &&
9705 { ac_try='test -s conftest$ac_exeext'
9706 { (case "(($ac_try" in
9707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9708 *) ac_try_echo=$ac_try;;
9710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9711 (eval "$ac_try") 2>&5
9713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9714 (exit $ac_status); }; }; then
9715 ac_cv_lib_dld_shl_load=yes
9717 echo "$as_me: failed program was:" >&5
9718 sed 's/^/| /' conftest.$ac_ext >&5
9720 ac_cv_lib_dld_shl_load=no
9723 rm -f core conftest.err conftest.$ac_objext \
9724 conftest$ac_exeext conftest.$ac_ext
9725 LIBS=$ac_check_lib_save_LIBS
9727 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9728 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
9729 if test $ac_cv_lib_dld_shl_load = yes; then
9731 cat >>confdefs.h <<\_ACEOF
9732 #define HAVE_SHL_LOAD 1
9735 LIBADD_DL="$LIBADD_DL -ldld"
9737 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9738 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9739 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9740 echo $ECHO_N "(cached) $ECHO_C" >&6
9742 ac_check_lib_save_LIBS=$LIBS
9744 cat >conftest.$ac_ext <<_ACEOF
9747 cat confdefs.h >>conftest.$ac_ext
9748 cat >>conftest.$ac_ext <<_ACEOF
9749 /* end confdefs.h. */
9751 /* Override any GCC internal prototype to avoid an error.
9752 Use char because int might match the return type of a GCC
9753 builtin and then its argument prototype would still apply. */
9766 rm -f conftest.$ac_objext conftest$ac_exeext
9767 if { (ac_try="$ac_link"
9769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9770 *) ac_try_echo=$ac_try;;
9772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9773 (eval "$ac_link") 2>conftest.er1
9775 grep -v '^ *+' conftest.er1 >conftest.err
9777 cat conftest.err >&5
9778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9779 (exit $ac_status); } &&
9780 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9781 { (case "(($ac_try" in
9782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9783 *) ac_try_echo=$ac_try;;
9785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9786 (eval "$ac_try") 2>&5
9788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9789 (exit $ac_status); }; } &&
9790 { ac_try='test -s conftest$ac_exeext'
9791 { (case "(($ac_try" in
9792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9793 *) ac_try_echo=$ac_try;;
9795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9796 (eval "$ac_try") 2>&5
9798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9799 (exit $ac_status); }; }; then
9800 ac_cv_lib_dl_dlopen=yes
9802 echo "$as_me: failed program was:" >&5
9803 sed 's/^/| /' conftest.$ac_ext >&5
9805 ac_cv_lib_dl_dlopen=no
9808 rm -f core conftest.err conftest.$ac_objext \
9809 conftest$ac_exeext conftest.$ac_ext
9810 LIBS=$ac_check_lib_save_LIBS
9812 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9813 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9814 if test $ac_cv_lib_dl_dlopen = yes; then
9816 cat >>confdefs.h <<\_ACEOF
9817 #define HAVE_LIBDL 1
9820 LIBADD_DL="-ldl" libltdl_cv_lib_dl_dlopen="yes"
9822 cat >conftest.$ac_ext <<_ACEOF
9825 cat confdefs.h >>conftest.$ac_ext
9826 cat >>conftest.$ac_ext <<_ACEOF
9827 /* end confdefs.h. */
9840 rm -f conftest.$ac_objext conftest$ac_exeext
9841 if { (ac_try="$ac_link"
9843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9844 *) ac_try_echo=$ac_try;;
9846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9847 (eval "$ac_link") 2>conftest.er1
9849 grep -v '^ *+' conftest.er1 >conftest.err
9851 cat conftest.err >&5
9852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9853 (exit $ac_status); } &&
9854 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9855 { (case "(($ac_try" in
9856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9857 *) ac_try_echo=$ac_try;;
9859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9860 (eval "$ac_try") 2>&5
9862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9863 (exit $ac_status); }; } &&
9864 { ac_try='test -s conftest$ac_exeext'
9865 { (case "(($ac_try" in
9866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9867 *) ac_try_echo=$ac_try;;
9869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9870 (eval "$ac_try") 2>&5
9872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9873 (exit $ac_status); }; }; then
9875 cat >>confdefs.h <<\_ACEOF
9876 #define HAVE_LIBDL 1
9878 libltdl_cv_func_dlopen="yes"
9880 echo "$as_me: failed program was:" >&5
9881 sed 's/^/| /' conftest.$ac_ext >&5
9883 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9884 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
9885 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9886 echo $ECHO_N "(cached) $ECHO_C" >&6
9888 ac_check_lib_save_LIBS=$LIBS
9890 cat >conftest.$ac_ext <<_ACEOF
9893 cat confdefs.h >>conftest.$ac_ext
9894 cat >>conftest.$ac_ext <<_ACEOF
9895 /* end confdefs.h. */
9897 /* Override any GCC internal prototype to avoid an error.
9898 Use char because int might match the return type of a GCC
9899 builtin and then its argument prototype would still apply. */
9912 rm -f conftest.$ac_objext conftest$ac_exeext
9913 if { (ac_try="$ac_link"
9915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9916 *) ac_try_echo=$ac_try;;
9918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9919 (eval "$ac_link") 2>conftest.er1
9921 grep -v '^ *+' conftest.er1 >conftest.err
9923 cat conftest.err >&5
9924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9925 (exit $ac_status); } &&
9926 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9927 { (case "(($ac_try" in
9928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9929 *) ac_try_echo=$ac_try;;
9931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9932 (eval "$ac_try") 2>&5
9934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9935 (exit $ac_status); }; } &&
9936 { ac_try='test -s conftest$ac_exeext'
9937 { (case "(($ac_try" in
9938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9939 *) ac_try_echo=$ac_try;;
9941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9942 (eval "$ac_try") 2>&5
9944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9945 (exit $ac_status); }; }; then
9946 ac_cv_lib_svld_dlopen=yes
9948 echo "$as_me: failed program was:" >&5
9949 sed 's/^/| /' conftest.$ac_ext >&5
9951 ac_cv_lib_svld_dlopen=no
9954 rm -f core conftest.err conftest.$ac_objext \
9955 conftest$ac_exeext conftest.$ac_ext
9956 LIBS=$ac_check_lib_save_LIBS
9958 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9959 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
9960 if test $ac_cv_lib_svld_dlopen = yes; then
9962 cat >>confdefs.h <<\_ACEOF
9963 #define HAVE_LIBDL 1
9966 LIBADD_DL="-lsvld" libltdl_cv_func_dlopen="yes"
9968 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9969 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
9970 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9971 echo $ECHO_N "(cached) $ECHO_C" >&6
9973 ac_check_lib_save_LIBS=$LIBS
9975 cat >conftest.$ac_ext <<_ACEOF
9978 cat confdefs.h >>conftest.$ac_ext
9979 cat >>conftest.$ac_ext <<_ACEOF
9980 /* end confdefs.h. */
9982 /* Override any GCC internal prototype to avoid an error.
9983 Use char because int might match the return type of a GCC
9984 builtin and then its argument prototype would still apply. */
9997 rm -f conftest.$ac_objext conftest$ac_exeext
9998 if { (ac_try="$ac_link"
10000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10001 *) ac_try_echo=$ac_try;;
10003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10004 (eval "$ac_link") 2>conftest.er1
10006 grep -v '^ *+' conftest.er1 >conftest.err
10008 cat conftest.err >&5
10009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10010 (exit $ac_status); } &&
10011 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10012 { (case "(($ac_try" in
10013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10014 *) ac_try_echo=$ac_try;;
10016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10017 (eval "$ac_try") 2>&5
10019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10020 (exit $ac_status); }; } &&
10021 { ac_try='test -s conftest$ac_exeext'
10022 { (case "(($ac_try" in
10023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10024 *) ac_try_echo=$ac_try;;
10026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10027 (eval "$ac_try") 2>&5
10029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10030 (exit $ac_status); }; }; then
10031 ac_cv_lib_dld_dld_link=yes
10033 echo "$as_me: failed program was:" >&5
10034 sed 's/^/| /' conftest.$ac_ext >&5
10036 ac_cv_lib_dld_dld_link=no
10039 rm -f core conftest.err conftest.$ac_objext \
10040 conftest$ac_exeext conftest.$ac_ext
10041 LIBS=$ac_check_lib_save_LIBS
10043 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10044 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
10045 if test $ac_cv_lib_dld_dld_link = yes; then
10047 cat >>confdefs.h <<\_ACEOF
10051 LIBADD_DL="$LIBADD_DL -ldld"
10053 { echo "$as_me:$LINENO: checking for _dyld_func_lookup" >&5
10054 echo $ECHO_N "checking for _dyld_func_lookup... $ECHO_C" >&6; }
10055 if test "${ac_cv_func__dyld_func_lookup+set}" = set; then
10056 echo $ECHO_N "(cached) $ECHO_C" >&6
10058 cat >conftest.$ac_ext <<_ACEOF
10061 cat confdefs.h >>conftest.$ac_ext
10062 cat >>conftest.$ac_ext <<_ACEOF
10063 /* end confdefs.h. */
10064 /* Define _dyld_func_lookup to an innocuous variant, in case <limits.h> declares _dyld_func_lookup.
10065 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10066 #define _dyld_func_lookup innocuous__dyld_func_lookup
10068 /* System header to define __stub macros and hopefully few prototypes,
10069 which can conflict with char _dyld_func_lookup (); below.
10070 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10071 <limits.h> exists even on freestanding compilers. */
10074 # include <limits.h>
10076 # include <assert.h>
10079 #undef _dyld_func_lookup
10081 /* Override any GCC internal prototype to avoid an error.
10082 Use char because int might match the return type of a GCC
10083 builtin and then its argument prototype would still apply. */
10087 char _dyld_func_lookup ();
10088 /* The GNU C library defines this for functions which it implements
10089 to always fail with ENOSYS. Some functions are actually named
10090 something starting with __ and the normal name is an alias. */
10091 #if defined __stub__dyld_func_lookup || defined __stub____dyld_func_lookup
10098 return _dyld_func_lookup ();
10103 rm -f conftest.$ac_objext conftest$ac_exeext
10104 if { (ac_try="$ac_link"
10105 case "(($ac_try" in
10106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10107 *) ac_try_echo=$ac_try;;
10109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10110 (eval "$ac_link") 2>conftest.er1
10112 grep -v '^ *+' conftest.er1 >conftest.err
10114 cat conftest.err >&5
10115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10116 (exit $ac_status); } &&
10117 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10118 { (case "(($ac_try" in
10119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10120 *) ac_try_echo=$ac_try;;
10122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10123 (eval "$ac_try") 2>&5
10125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10126 (exit $ac_status); }; } &&
10127 { ac_try='test -s conftest$ac_exeext'
10128 { (case "(($ac_try" in
10129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10130 *) ac_try_echo=$ac_try;;
10132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10133 (eval "$ac_try") 2>&5
10135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10136 (exit $ac_status); }; }; then
10137 ac_cv_func__dyld_func_lookup=yes
10139 echo "$as_me: failed program was:" >&5
10140 sed 's/^/| /' conftest.$ac_ext >&5
10142 ac_cv_func__dyld_func_lookup=no
10145 rm -f core conftest.err conftest.$ac_objext \
10146 conftest$ac_exeext conftest.$ac_ext
10148 { echo "$as_me:$LINENO: result: $ac_cv_func__dyld_func_lookup" >&5
10149 echo "${ECHO_T}$ac_cv_func__dyld_func_lookup" >&6; }
10150 if test $ac_cv_func__dyld_func_lookup = yes; then
10152 cat >>confdefs.h <<\_ACEOF
10153 #define HAVE_DYLD 1
10167 rm -f core conftest.err conftest.$ac_objext \
10168 conftest$ac_exeext conftest.$ac_ext
10179 if test x"$libltdl_cv_func_dlopen" = xyes || test x"$libltdl_cv_lib_dl_dlopen" = xyes
10181 lt_save_LIBS="$LIBS"
10182 LIBS="$LIBS $LIBADD_DL"
10184 for ac_func in dlerror
10186 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10187 { echo "$as_me:$LINENO: checking for $ac_func" >&5
10188 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
10189 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
10190 echo $ECHO_N "(cached) $ECHO_C" >&6
10192 cat >conftest.$ac_ext <<_ACEOF
10195 cat confdefs.h >>conftest.$ac_ext
10196 cat >>conftest.$ac_ext <<_ACEOF
10197 /* end confdefs.h. */
10198 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10199 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10200 #define $ac_func innocuous_$ac_func
10202 /* System header to define __stub macros and hopefully few prototypes,
10203 which can conflict with char $ac_func (); below.
10204 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10205 <limits.h> exists even on freestanding compilers. */
10208 # include <limits.h>
10210 # include <assert.h>
10215 /* Override any GCC internal prototype to avoid an error.
10216 Use char because int might match the return type of a GCC
10217 builtin and then its argument prototype would still apply. */
10222 /* The GNU C library defines this for functions which it implements
10223 to always fail with ENOSYS. Some functions are actually named
10224 something starting with __ and the normal name is an alias. */
10225 #if defined __stub_$ac_func || defined __stub___$ac_func
10232 return $ac_func ();
10237 rm -f conftest.$ac_objext conftest$ac_exeext
10238 if { (ac_try="$ac_link"
10239 case "(($ac_try" in
10240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10241 *) ac_try_echo=$ac_try;;
10243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10244 (eval "$ac_link") 2>conftest.er1
10246 grep -v '^ *+' conftest.er1 >conftest.err
10248 cat conftest.err >&5
10249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10250 (exit $ac_status); } &&
10251 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10252 { (case "(($ac_try" in
10253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10254 *) ac_try_echo=$ac_try;;
10256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10257 (eval "$ac_try") 2>&5
10259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10260 (exit $ac_status); }; } &&
10261 { ac_try='test -s conftest$ac_exeext'
10262 { (case "(($ac_try" in
10263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10264 *) ac_try_echo=$ac_try;;
10266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10267 (eval "$ac_try") 2>&5
10269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10270 (exit $ac_status); }; }; then
10271 eval "$as_ac_var=yes"
10273 echo "$as_me: failed program was:" >&5
10274 sed 's/^/| /' conftest.$ac_ext >&5
10276 eval "$as_ac_var=no"
10279 rm -f core conftest.err conftest.$ac_objext \
10280 conftest$ac_exeext conftest.$ac_ext
10282 ac_res=`eval echo '${'$as_ac_var'}'`
10283 { echo "$as_me:$LINENO: result: $ac_res" >&5
10284 echo "${ECHO_T}$ac_res" >&6; }
10285 if test `eval echo '${'$as_ac_var'}'` = yes; then
10286 cat >>confdefs.h <<_ACEOF
10287 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10293 LIBS="$lt_save_LIBS"
10296 ac_cpp='$CPP $CPPFLAGS'
10297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10303 { echo "$as_me:$LINENO: checking for _ prefix in compiled symbols" >&5
10304 echo $ECHO_N "checking for _ prefix in compiled symbols... $ECHO_C" >&6; }
10305 if test "${ac_cv_sys_symbol_underscore+set}" = set; then
10306 echo $ECHO_N "(cached) $ECHO_C" >&6
10308 ac_cv_sys_symbol_underscore=no
10309 cat > conftest.$ac_ext <<EOF
10310 void nm_test_func(){}
10311 int main(){nm_test_func;return 0;}
10313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10314 (eval $ac_compile) 2>&5
10316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10317 (exit $ac_status); }; then
10318 # Now try to grab the symbols.
10319 ac_nlist=conftest.nm
10320 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist\"") >&5
10321 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) 2>&5
10323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10324 (exit $ac_status); } && test -s "$ac_nlist"; then
10325 # See whether the symbols have a leading underscore.
10326 if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
10327 ac_cv_sys_symbol_underscore=yes
10329 if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
10332 echo "configure: cannot find nm_test_func in $ac_nlist" >&5
10336 echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&5
10339 echo "configure: failed program was:" >&5
10345 { echo "$as_me:$LINENO: result: $ac_cv_sys_symbol_underscore" >&5
10346 echo "${ECHO_T}$ac_cv_sys_symbol_underscore" >&6; }
10349 if test x"$ac_cv_sys_symbol_underscore" = xyes; then
10350 if test x"$libltdl_cv_func_dlopen" = xyes ||
10351 test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
10352 { echo "$as_me:$LINENO: checking whether we have to add an underscore for dlsym" >&5
10353 echo $ECHO_N "checking whether we have to add an underscore for dlsym... $ECHO_C" >&6; }
10354 if test "${libltdl_cv_need_uscore+set}" = set; then
10355 echo $ECHO_N "(cached) $ECHO_C" >&6
10357 libltdl_cv_need_uscore=unknown
10359 LIBS="$LIBS $LIBADD_DL"
10360 if test "$cross_compiling" = yes; then :
10361 libltdl_cv_need_uscore=cross
10363 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10364 lt_status=$lt_dlunknown
10365 cat > conftest.$ac_ext <<EOF
10366 #line 10366 "configure"
10367 #include "confdefs.h"
10376 # define LT_DLGLOBAL RTLD_GLOBAL
10379 # define LT_DLGLOBAL DL_GLOBAL
10381 # define LT_DLGLOBAL 0
10385 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10386 find out it does not work in some platform. */
10387 #ifndef LT_DLLAZY_OR_NOW
10389 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10392 # define LT_DLLAZY_OR_NOW DL_LAZY
10395 # define LT_DLLAZY_OR_NOW RTLD_NOW
10398 # define LT_DLLAZY_OR_NOW DL_NOW
10400 # define LT_DLLAZY_OR_NOW 0
10408 extern "C" void exit (int);
10411 void fnord() { int i=42;}
10414 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10415 int status = $lt_dlunknown;
10419 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10420 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10421 /* dlclose (self); */
10429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10430 (eval $ac_link) 2>&5
10432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10433 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10434 (./conftest; exit; ) >&5 2>/dev/null
10436 case x$lt_status in
10437 x$lt_dlno_uscore) libltdl_cv_need_uscore=no ;;
10438 x$lt_dlneed_uscore) libltdl_cv_need_uscore=yes ;;
10439 x$lt_dlunknown|x*) ;;
10442 # compilation failed
10451 { echo "$as_me:$LINENO: result: $libltdl_cv_need_uscore" >&5
10452 echo "${ECHO_T}$libltdl_cv_need_uscore" >&6; }
10456 if test x"$libltdl_cv_need_uscore" = xyes; then
10458 cat >>confdefs.h <<\_ACEOF
10459 #define NEED_USCORE 1
10465 { echo "$as_me:$LINENO: checking whether deplibs are loaded by dlopen" >&5
10466 echo $ECHO_N "checking whether deplibs are loaded by dlopen... $ECHO_C" >&6; }
10467 if test "${libltdl_cv_sys_dlopen_deplibs+set}" = set; then
10468 echo $ECHO_N "(cached) $ECHO_C" >&6
10470 # PORTME does your system automatically load deplibs for dlopen?
10471 # or its logical equivalent (e.g. shl_load for HP-UX < 11)
10472 # For now, we just catch OSes we know something about -- in the
10473 # future, we'll try test this programmatically.
10474 libltdl_cv_sys_dlopen_deplibs=unknown
10476 aix3*|aix4.1.*|aix4.2.*)
10477 # Unknown whether this is true for these versions of AIX, but
10478 # we want this `case' here to explicitly catch those versions.
10479 libltdl_cv_sys_dlopen_deplibs=unknown
10482 libltdl_cv_sys_dlopen_deplibs=yes
10485 # Assuming the user has installed a libdl from somewhere, this is true
10486 # If you are looking for one http://www.opendarwin.org/projects/dlcompat
10487 libltdl_cv_sys_dlopen_deplibs=yes
10489 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
10490 # GNU and its variants, using gnu ld.so (Glibc)
10491 libltdl_cv_sys_dlopen_deplibs=yes
10494 libltdl_cv_sys_dlopen_deplibs=yes
10497 libltdl_cv_sys_dlopen_deplibs=yes
10499 irix[12345]*|irix6.[01]*)
10500 # Catch all versions of IRIX before 6.2, and indicate that we don't
10501 # know how it worked for any of those versions.
10502 libltdl_cv_sys_dlopen_deplibs=unknown
10505 # The case above catches anything before 6.2, and it's known that
10506 # at 6.2 and later dlopen does load deplibs.
10507 libltdl_cv_sys_dlopen_deplibs=yes
10510 libltdl_cv_sys_dlopen_deplibs=yes
10513 libltdl_cv_sys_dlopen_deplibs=yes
10516 # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
10517 # it did *not* use an RPATH in a shared library to find objects the
10518 # library depends on, so we explicitly say `no'.
10519 libltdl_cv_sys_dlopen_deplibs=no
10521 osf5.0|osf5.0a|osf5.1)
10522 # dlopen *does* load deplibs and with the right loader patch applied
10523 # it even uses RPATH in a shared library to search for shared objects
10524 # that the library depends on, but there's no easy way to know if that
10525 # patch is installed. Since this is the case, all we can really
10526 # say is unknown -- it depends on the patch being installed. If
10527 # it is, this changes to `yes'. Without it, it would be `no'.
10528 libltdl_cv_sys_dlopen_deplibs=unknown
10531 # the two cases above should catch all versions of osf <= 5.1. Read
10532 # the comments above for what we know about them.
10533 # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
10534 # is used to find them so we can finally say `yes'.
10535 libltdl_cv_sys_dlopen_deplibs=yes
10538 libltdl_cv_sys_dlopen_deplibs=yes
10540 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10541 libltdl_cv_sys_dlopen_deplibs=yes
10546 { echo "$as_me:$LINENO: result: $libltdl_cv_sys_dlopen_deplibs" >&5
10547 echo "${ECHO_T}$libltdl_cv_sys_dlopen_deplibs" >&6; }
10548 if test "$libltdl_cv_sys_dlopen_deplibs" != yes; then
10550 cat >>confdefs.h <<\_ACEOF
10551 #define LTDL_DLOPEN_DEPLIBS 1
10557 for ac_header in argz.h
10559 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10560 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10561 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10562 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10563 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10564 echo $ECHO_N "(cached) $ECHO_C" >&6
10566 ac_res=`eval echo '${'$as_ac_Header'}'`
10567 { echo "$as_me:$LINENO: result: $ac_res" >&5
10568 echo "${ECHO_T}$ac_res" >&6; }
10570 # Is the header compilable?
10571 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10572 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10573 cat >conftest.$ac_ext <<_ACEOF
10576 cat confdefs.h >>conftest.$ac_ext
10577 cat >>conftest.$ac_ext <<_ACEOF
10578 /* end confdefs.h. */
10579 $ac_includes_default
10580 #include <$ac_header>
10582 rm -f conftest.$ac_objext
10583 if { (ac_try="$ac_compile"
10584 case "(($ac_try" in
10585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10586 *) ac_try_echo=$ac_try;;
10588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10589 (eval "$ac_compile") 2>conftest.er1
10591 grep -v '^ *+' conftest.er1 >conftest.err
10593 cat conftest.err >&5
10594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10595 (exit $ac_status); } &&
10596 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10597 { (case "(($ac_try" in
10598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10599 *) ac_try_echo=$ac_try;;
10601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10602 (eval "$ac_try") 2>&5
10604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10605 (exit $ac_status); }; } &&
10606 { ac_try='test -s conftest.$ac_objext'
10607 { (case "(($ac_try" in
10608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10609 *) ac_try_echo=$ac_try;;
10611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10612 (eval "$ac_try") 2>&5
10614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10615 (exit $ac_status); }; }; then
10616 ac_header_compiler=yes
10618 echo "$as_me: failed program was:" >&5
10619 sed 's/^/| /' conftest.$ac_ext >&5
10621 ac_header_compiler=no
10624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10625 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10626 echo "${ECHO_T}$ac_header_compiler" >&6; }
10628 # Is the header present?
10629 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10630 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10631 cat >conftest.$ac_ext <<_ACEOF
10634 cat confdefs.h >>conftest.$ac_ext
10635 cat >>conftest.$ac_ext <<_ACEOF
10636 /* end confdefs.h. */
10637 #include <$ac_header>
10639 if { (ac_try="$ac_cpp conftest.$ac_ext"
10640 case "(($ac_try" in
10641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10642 *) ac_try_echo=$ac_try;;
10644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10645 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10647 grep -v '^ *+' conftest.er1 >conftest.err
10649 cat conftest.err >&5
10650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10651 (exit $ac_status); } >/dev/null; then
10652 if test -s conftest.err; then
10653 ac_cpp_err=$ac_c_preproc_warn_flag
10654 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10661 if test -z "$ac_cpp_err"; then
10662 ac_header_preproc=yes
10664 echo "$as_me: failed program was:" >&5
10665 sed 's/^/| /' conftest.$ac_ext >&5
10667 ac_header_preproc=no
10670 rm -f conftest.err conftest.$ac_ext
10671 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10672 echo "${ECHO_T}$ac_header_preproc" >&6; }
10674 # So? What about this header?
10675 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10677 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10678 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10679 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10680 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10681 ac_header_preproc=yes
10684 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10685 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10686 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10687 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10688 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10689 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10690 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10691 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10692 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10693 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10694 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10695 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10697 ## ------------------------------ ##
10698 ## Report this to bugs@yourdomain ##
10699 ## ------------------------------ ##
10701 ) | sed "s/^/$as_me: WARNING: /" >&2
10704 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10705 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10706 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10707 echo $ECHO_N "(cached) $ECHO_C" >&6
10709 eval "$as_ac_Header=\$ac_header_preproc"
10711 ac_res=`eval echo '${'$as_ac_Header'}'`
10712 { echo "$as_me:$LINENO: result: $ac_res" >&5
10713 echo "${ECHO_T}$ac_res" >&6; }
10716 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10717 cat >>confdefs.h <<_ACEOF
10718 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10726 { echo "$as_me:$LINENO: checking for error_t" >&5
10727 echo $ECHO_N "checking for error_t... $ECHO_C" >&6; }
10728 if test "${ac_cv_type_error_t+set}" = set; then
10729 echo $ECHO_N "(cached) $ECHO_C" >&6
10731 cat >conftest.$ac_ext <<_ACEOF
10734 cat confdefs.h >>conftest.$ac_ext
10735 cat >>conftest.$ac_ext <<_ACEOF
10736 /* end confdefs.h. */
10741 typedef error_t ac__type_new_;
10745 if ((ac__type_new_ *) 0)
10747 if (sizeof (ac__type_new_))
10753 rm -f conftest.$ac_objext
10754 if { (ac_try="$ac_compile"
10755 case "(($ac_try" in
10756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10757 *) ac_try_echo=$ac_try;;
10759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10760 (eval "$ac_compile") 2>conftest.er1
10762 grep -v '^ *+' conftest.er1 >conftest.err
10764 cat conftest.err >&5
10765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10766 (exit $ac_status); } &&
10767 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10768 { (case "(($ac_try" in
10769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10770 *) ac_try_echo=$ac_try;;
10772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10773 (eval "$ac_try") 2>&5
10775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10776 (exit $ac_status); }; } &&
10777 { ac_try='test -s conftest.$ac_objext'
10778 { (case "(($ac_try" in
10779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10780 *) ac_try_echo=$ac_try;;
10782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10783 (eval "$ac_try") 2>&5
10785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10786 (exit $ac_status); }; }; then
10787 ac_cv_type_error_t=yes
10789 echo "$as_me: failed program was:" >&5
10790 sed 's/^/| /' conftest.$ac_ext >&5
10792 ac_cv_type_error_t=no
10795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10797 { echo "$as_me:$LINENO: result: $ac_cv_type_error_t" >&5
10798 echo "${ECHO_T}$ac_cv_type_error_t" >&6; }
10799 if test $ac_cv_type_error_t = yes; then
10801 cat >>confdefs.h <<_ACEOF
10802 #define HAVE_ERROR_T 1
10808 cat >>confdefs.h <<\_ACEOF
10809 #define error_t int
10820 for ac_func in argz_append argz_create_sep argz_insert argz_next argz_stringify
10822 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10823 { echo "$as_me:$LINENO: checking for $ac_func" >&5
10824 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
10825 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
10826 echo $ECHO_N "(cached) $ECHO_C" >&6
10828 cat >conftest.$ac_ext <<_ACEOF
10831 cat confdefs.h >>conftest.$ac_ext
10832 cat >>conftest.$ac_ext <<_ACEOF
10833 /* end confdefs.h. */
10834 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10835 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10836 #define $ac_func innocuous_$ac_func
10838 /* System header to define __stub macros and hopefully few prototypes,
10839 which can conflict with char $ac_func (); below.
10840 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10841 <limits.h> exists even on freestanding compilers. */
10844 # include <limits.h>
10846 # include <assert.h>
10851 /* Override any GCC internal prototype to avoid an error.
10852 Use char because int might match the return type of a GCC
10853 builtin and then its argument prototype would still apply. */
10858 /* The GNU C library defines this for functions which it implements
10859 to always fail with ENOSYS. Some functions are actually named
10860 something starting with __ and the normal name is an alias. */
10861 #if defined __stub_$ac_func || defined __stub___$ac_func
10868 return $ac_func ();
10873 rm -f conftest.$ac_objext conftest$ac_exeext
10874 if { (ac_try="$ac_link"
10875 case "(($ac_try" in
10876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10877 *) ac_try_echo=$ac_try;;
10879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10880 (eval "$ac_link") 2>conftest.er1
10882 grep -v '^ *+' conftest.er1 >conftest.err
10884 cat conftest.err >&5
10885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10886 (exit $ac_status); } &&
10887 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10888 { (case "(($ac_try" in
10889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10890 *) ac_try_echo=$ac_try;;
10892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10893 (eval "$ac_try") 2>&5
10895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10896 (exit $ac_status); }; } &&
10897 { ac_try='test -s conftest$ac_exeext'
10898 { (case "(($ac_try" in
10899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10900 *) ac_try_echo=$ac_try;;
10902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10903 (eval "$ac_try") 2>&5
10905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10906 (exit $ac_status); }; }; then
10907 eval "$as_ac_var=yes"
10909 echo "$as_me: failed program was:" >&5
10910 sed 's/^/| /' conftest.$ac_ext >&5
10912 eval "$as_ac_var=no"
10915 rm -f core conftest.err conftest.$ac_objext \
10916 conftest$ac_exeext conftest.$ac_ext
10918 ac_res=`eval echo '${'$as_ac_var'}'`
10919 { echo "$as_me:$LINENO: result: $ac_res" >&5
10920 echo "${ECHO_T}$ac_res" >&6; }
10921 if test `eval echo '${'$as_ac_var'}'` = yes; then
10922 cat >>confdefs.h <<_ACEOF
10923 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10956 for ac_header in assert.h ctype.h errno.h malloc.h memory.h stdlib.h \
10959 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10960 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10961 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10962 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10963 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10964 echo $ECHO_N "(cached) $ECHO_C" >&6
10966 ac_res=`eval echo '${'$as_ac_Header'}'`
10967 { echo "$as_me:$LINENO: result: $ac_res" >&5
10968 echo "${ECHO_T}$ac_res" >&6; }
10970 # Is the header compilable?
10971 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10972 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10973 cat >conftest.$ac_ext <<_ACEOF
10976 cat confdefs.h >>conftest.$ac_ext
10977 cat >>conftest.$ac_ext <<_ACEOF
10978 /* end confdefs.h. */
10979 $ac_includes_default
10980 #include <$ac_header>
10982 rm -f conftest.$ac_objext
10983 if { (ac_try="$ac_compile"
10984 case "(($ac_try" in
10985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10986 *) ac_try_echo=$ac_try;;
10988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10989 (eval "$ac_compile") 2>conftest.er1
10991 grep -v '^ *+' conftest.er1 >conftest.err
10993 cat conftest.err >&5
10994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10995 (exit $ac_status); } &&
10996 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10997 { (case "(($ac_try" in
10998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10999 *) ac_try_echo=$ac_try;;
11001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11002 (eval "$ac_try") 2>&5
11004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11005 (exit $ac_status); }; } &&
11006 { ac_try='test -s conftest.$ac_objext'
11007 { (case "(($ac_try" in
11008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11009 *) ac_try_echo=$ac_try;;
11011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11012 (eval "$ac_try") 2>&5
11014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11015 (exit $ac_status); }; }; then
11016 ac_header_compiler=yes
11018 echo "$as_me: failed program was:" >&5
11019 sed 's/^/| /' conftest.$ac_ext >&5
11021 ac_header_compiler=no
11024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11025 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11026 echo "${ECHO_T}$ac_header_compiler" >&6; }
11028 # Is the header present?
11029 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11030 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11031 cat >conftest.$ac_ext <<_ACEOF
11034 cat confdefs.h >>conftest.$ac_ext
11035 cat >>conftest.$ac_ext <<_ACEOF
11036 /* end confdefs.h. */
11037 #include <$ac_header>
11039 if { (ac_try="$ac_cpp conftest.$ac_ext"
11040 case "(($ac_try" in
11041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11042 *) ac_try_echo=$ac_try;;
11044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11045 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11047 grep -v '^ *+' conftest.er1 >conftest.err
11049 cat conftest.err >&5
11050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11051 (exit $ac_status); } >/dev/null; then
11052 if test -s conftest.err; then
11053 ac_cpp_err=$ac_c_preproc_warn_flag
11054 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11061 if test -z "$ac_cpp_err"; then
11062 ac_header_preproc=yes
11064 echo "$as_me: failed program was:" >&5
11065 sed 's/^/| /' conftest.$ac_ext >&5
11067 ac_header_preproc=no
11070 rm -f conftest.err conftest.$ac_ext
11071 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11072 echo "${ECHO_T}$ac_header_preproc" >&6; }
11074 # So? What about this header?
11075 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11077 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11078 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11079 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11080 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11081 ac_header_preproc=yes
11084 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11085 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11086 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11087 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11088 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11089 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11090 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11091 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11092 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11093 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11094 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11095 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11097 ## ------------------------------ ##
11098 ## Report this to bugs@yourdomain ##
11099 ## ------------------------------ ##
11101 ) | sed "s/^/$as_me: WARNING: /" >&2
11104 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11105 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11106 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11107 echo $ECHO_N "(cached) $ECHO_C" >&6
11109 eval "$as_ac_Header=\$ac_header_preproc"
11111 ac_res=`eval echo '${'$as_ac_Header'}'`
11112 { echo "$as_me:$LINENO: result: $ac_res" >&5
11113 echo "${ECHO_T}$ac_res" >&6; }
11116 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11117 cat >>confdefs.h <<_ACEOF
11118 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11129 for ac_header in dl.h sys/dl.h dld.h mach-o/dyld.h
11131 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11132 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11133 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11134 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11135 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11136 echo $ECHO_N "(cached) $ECHO_C" >&6
11138 ac_res=`eval echo '${'$as_ac_Header'}'`
11139 { echo "$as_me:$LINENO: result: $ac_res" >&5
11140 echo "${ECHO_T}$ac_res" >&6; }
11142 # Is the header compilable?
11143 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11144 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11145 cat >conftest.$ac_ext <<_ACEOF
11148 cat confdefs.h >>conftest.$ac_ext
11149 cat >>conftest.$ac_ext <<_ACEOF
11150 /* end confdefs.h. */
11151 $ac_includes_default
11152 #include <$ac_header>
11154 rm -f conftest.$ac_objext
11155 if { (ac_try="$ac_compile"
11156 case "(($ac_try" in
11157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11158 *) ac_try_echo=$ac_try;;
11160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11161 (eval "$ac_compile") 2>conftest.er1
11163 grep -v '^ *+' conftest.er1 >conftest.err
11165 cat conftest.err >&5
11166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11167 (exit $ac_status); } &&
11168 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11169 { (case "(($ac_try" in
11170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11171 *) ac_try_echo=$ac_try;;
11173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11174 (eval "$ac_try") 2>&5
11176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11177 (exit $ac_status); }; } &&
11178 { ac_try='test -s conftest.$ac_objext'
11179 { (case "(($ac_try" in
11180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11181 *) ac_try_echo=$ac_try;;
11183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11184 (eval "$ac_try") 2>&5
11186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11187 (exit $ac_status); }; }; then
11188 ac_header_compiler=yes
11190 echo "$as_me: failed program was:" >&5
11191 sed 's/^/| /' conftest.$ac_ext >&5
11193 ac_header_compiler=no
11196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11197 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11198 echo "${ECHO_T}$ac_header_compiler" >&6; }
11200 # Is the header present?
11201 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11202 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11203 cat >conftest.$ac_ext <<_ACEOF
11206 cat confdefs.h >>conftest.$ac_ext
11207 cat >>conftest.$ac_ext <<_ACEOF
11208 /* end confdefs.h. */
11209 #include <$ac_header>
11211 if { (ac_try="$ac_cpp conftest.$ac_ext"
11212 case "(($ac_try" in
11213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11214 *) ac_try_echo=$ac_try;;
11216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11217 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11219 grep -v '^ *+' conftest.er1 >conftest.err
11221 cat conftest.err >&5
11222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11223 (exit $ac_status); } >/dev/null; then
11224 if test -s conftest.err; then
11225 ac_cpp_err=$ac_c_preproc_warn_flag
11226 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11233 if test -z "$ac_cpp_err"; then
11234 ac_header_preproc=yes
11236 echo "$as_me: failed program was:" >&5
11237 sed 's/^/| /' conftest.$ac_ext >&5
11239 ac_header_preproc=no
11242 rm -f conftest.err conftest.$ac_ext
11243 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11244 echo "${ECHO_T}$ac_header_preproc" >&6; }
11246 # So? What about this header?
11247 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11249 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11250 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11251 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11252 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11253 ac_header_preproc=yes
11256 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11257 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11258 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11259 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11260 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11261 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11262 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11263 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11264 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11265 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11266 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11267 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11269 ## ------------------------------ ##
11270 ## Report this to bugs@yourdomain ##
11271 ## ------------------------------ ##
11273 ) | sed "s/^/$as_me: WARNING: /" >&2
11276 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11277 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11278 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11279 echo $ECHO_N "(cached) $ECHO_C" >&6
11281 eval "$as_ac_Header=\$ac_header_preproc"
11283 ac_res=`eval echo '${'$as_ac_Header'}'`
11284 { echo "$as_me:$LINENO: result: $ac_res" >&5
11285 echo "${ECHO_T}$ac_res" >&6; }
11288 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11289 cat >>confdefs.h <<_ACEOF
11290 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11299 for ac_header in string.h strings.h
11301 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11302 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11303 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11304 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11305 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11306 echo $ECHO_N "(cached) $ECHO_C" >&6
11308 ac_res=`eval echo '${'$as_ac_Header'}'`
11309 { echo "$as_me:$LINENO: result: $ac_res" >&5
11310 echo "${ECHO_T}$ac_res" >&6; }
11312 # Is the header compilable?
11313 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11314 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11315 cat >conftest.$ac_ext <<_ACEOF
11318 cat confdefs.h >>conftest.$ac_ext
11319 cat >>conftest.$ac_ext <<_ACEOF
11320 /* end confdefs.h. */
11321 $ac_includes_default
11322 #include <$ac_header>
11324 rm -f conftest.$ac_objext
11325 if { (ac_try="$ac_compile"
11326 case "(($ac_try" in
11327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11328 *) ac_try_echo=$ac_try;;
11330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11331 (eval "$ac_compile") 2>conftest.er1
11333 grep -v '^ *+' conftest.er1 >conftest.err
11335 cat conftest.err >&5
11336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11337 (exit $ac_status); } &&
11338 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11339 { (case "(($ac_try" in
11340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11341 *) ac_try_echo=$ac_try;;
11343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11344 (eval "$ac_try") 2>&5
11346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11347 (exit $ac_status); }; } &&
11348 { ac_try='test -s conftest.$ac_objext'
11349 { (case "(($ac_try" in
11350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11351 *) ac_try_echo=$ac_try;;
11353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11354 (eval "$ac_try") 2>&5
11356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11357 (exit $ac_status); }; }; then
11358 ac_header_compiler=yes
11360 echo "$as_me: failed program was:" >&5
11361 sed 's/^/| /' conftest.$ac_ext >&5
11363 ac_header_compiler=no
11366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11367 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11368 echo "${ECHO_T}$ac_header_compiler" >&6; }
11370 # Is the header present?
11371 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11372 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11373 cat >conftest.$ac_ext <<_ACEOF
11376 cat confdefs.h >>conftest.$ac_ext
11377 cat >>conftest.$ac_ext <<_ACEOF
11378 /* end confdefs.h. */
11379 #include <$ac_header>
11381 if { (ac_try="$ac_cpp conftest.$ac_ext"
11382 case "(($ac_try" in
11383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11384 *) ac_try_echo=$ac_try;;
11386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11387 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11389 grep -v '^ *+' conftest.er1 >conftest.err
11391 cat conftest.err >&5
11392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11393 (exit $ac_status); } >/dev/null; then
11394 if test -s conftest.err; then
11395 ac_cpp_err=$ac_c_preproc_warn_flag
11396 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11403 if test -z "$ac_cpp_err"; then
11404 ac_header_preproc=yes
11406 echo "$as_me: failed program was:" >&5
11407 sed 's/^/| /' conftest.$ac_ext >&5
11409 ac_header_preproc=no
11412 rm -f conftest.err conftest.$ac_ext
11413 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11414 echo "${ECHO_T}$ac_header_preproc" >&6; }
11416 # So? What about this header?
11417 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11419 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11420 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11421 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11422 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11423 ac_header_preproc=yes
11426 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11427 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11428 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11429 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11430 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11431 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11432 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11433 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11434 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11435 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11436 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11437 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11439 ## ------------------------------ ##
11440 ## Report this to bugs@yourdomain ##
11441 ## ------------------------------ ##
11443 ) | sed "s/^/$as_me: WARNING: /" >&2
11446 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11447 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11448 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11449 echo $ECHO_N "(cached) $ECHO_C" >&6
11451 eval "$as_ac_Header=\$ac_header_preproc"
11453 ac_res=`eval echo '${'$as_ac_Header'}'`
11454 { echo "$as_me:$LINENO: result: $ac_res" >&5
11455 echo "${ECHO_T}$ac_res" >&6; }
11458 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11459 cat >>confdefs.h <<_ACEOF
11460 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11470 for ac_func in strchr index
11472 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11473 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11474 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11475 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11476 echo $ECHO_N "(cached) $ECHO_C" >&6
11478 cat >conftest.$ac_ext <<_ACEOF
11481 cat confdefs.h >>conftest.$ac_ext
11482 cat >>conftest.$ac_ext <<_ACEOF
11483 /* end confdefs.h. */
11484 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11485 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11486 #define $ac_func innocuous_$ac_func
11488 /* System header to define __stub macros and hopefully few prototypes,
11489 which can conflict with char $ac_func (); below.
11490 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11491 <limits.h> exists even on freestanding compilers. */
11494 # include <limits.h>
11496 # include <assert.h>
11501 /* Override any GCC internal prototype to avoid an error.
11502 Use char because int might match the return type of a GCC
11503 builtin and then its argument prototype would still apply. */
11508 /* The GNU C library defines this for functions which it implements
11509 to always fail with ENOSYS. Some functions are actually named
11510 something starting with __ and the normal name is an alias. */
11511 #if defined __stub_$ac_func || defined __stub___$ac_func
11518 return $ac_func ();
11523 rm -f conftest.$ac_objext conftest$ac_exeext
11524 if { (ac_try="$ac_link"
11525 case "(($ac_try" in
11526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11527 *) ac_try_echo=$ac_try;;
11529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11530 (eval "$ac_link") 2>conftest.er1
11532 grep -v '^ *+' conftest.er1 >conftest.err
11534 cat conftest.err >&5
11535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11536 (exit $ac_status); } &&
11537 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11538 { (case "(($ac_try" in
11539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11540 *) ac_try_echo=$ac_try;;
11542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11543 (eval "$ac_try") 2>&5
11545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11546 (exit $ac_status); }; } &&
11547 { ac_try='test -s conftest$ac_exeext'
11548 { (case "(($ac_try" in
11549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11550 *) ac_try_echo=$ac_try;;
11552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11553 (eval "$ac_try") 2>&5
11555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11556 (exit $ac_status); }; }; then
11557 eval "$as_ac_var=yes"
11559 echo "$as_me: failed program was:" >&5
11560 sed 's/^/| /' conftest.$ac_ext >&5
11562 eval "$as_ac_var=no"
11565 rm -f core conftest.err conftest.$ac_objext \
11566 conftest$ac_exeext conftest.$ac_ext
11568 ac_res=`eval echo '${'$as_ac_var'}'`
11569 { echo "$as_me:$LINENO: result: $ac_res" >&5
11570 echo "${ECHO_T}$ac_res" >&6; }
11571 if test `eval echo '${'$as_ac_var'}'` = yes; then
11572 cat >>confdefs.h <<_ACEOF
11573 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11581 for ac_func in strrchr rindex
11583 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11584 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11585 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11586 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11587 echo $ECHO_N "(cached) $ECHO_C" >&6
11589 cat >conftest.$ac_ext <<_ACEOF
11592 cat confdefs.h >>conftest.$ac_ext
11593 cat >>conftest.$ac_ext <<_ACEOF
11594 /* end confdefs.h. */
11595 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11596 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11597 #define $ac_func innocuous_$ac_func
11599 /* System header to define __stub macros and hopefully few prototypes,
11600 which can conflict with char $ac_func (); below.
11601 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11602 <limits.h> exists even on freestanding compilers. */
11605 # include <limits.h>
11607 # include <assert.h>
11612 /* Override any GCC internal prototype to avoid an error.
11613 Use char because int might match the return type of a GCC
11614 builtin and then its argument prototype would still apply. */
11619 /* The GNU C library defines this for functions which it implements
11620 to always fail with ENOSYS. Some functions are actually named
11621 something starting with __ and the normal name is an alias. */
11622 #if defined __stub_$ac_func || defined __stub___$ac_func
11629 return $ac_func ();
11634 rm -f conftest.$ac_objext conftest$ac_exeext
11635 if { (ac_try="$ac_link"
11636 case "(($ac_try" in
11637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11638 *) ac_try_echo=$ac_try;;
11640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11641 (eval "$ac_link") 2>conftest.er1
11643 grep -v '^ *+' conftest.er1 >conftest.err
11645 cat conftest.err >&5
11646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11647 (exit $ac_status); } &&
11648 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11649 { (case "(($ac_try" in
11650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11651 *) ac_try_echo=$ac_try;;
11653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11654 (eval "$ac_try") 2>&5
11656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11657 (exit $ac_status); }; } &&
11658 { ac_try='test -s conftest$ac_exeext'
11659 { (case "(($ac_try" in
11660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11661 *) ac_try_echo=$ac_try;;
11663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11664 (eval "$ac_try") 2>&5
11666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11667 (exit $ac_status); }; }; then
11668 eval "$as_ac_var=yes"
11670 echo "$as_me: failed program was:" >&5
11671 sed 's/^/| /' conftest.$ac_ext >&5
11673 eval "$as_ac_var=no"
11676 rm -f core conftest.err conftest.$ac_objext \
11677 conftest$ac_exeext conftest.$ac_ext
11679 ac_res=`eval echo '${'$as_ac_var'}'`
11680 { echo "$as_me:$LINENO: result: $ac_res" >&5
11681 echo "${ECHO_T}$ac_res" >&6; }
11682 if test `eval echo '${'$as_ac_var'}'` = yes; then
11683 cat >>confdefs.h <<_ACEOF
11684 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11692 for ac_func in memcpy bcopy
11694 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11695 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11696 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11697 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11698 echo $ECHO_N "(cached) $ECHO_C" >&6
11700 cat >conftest.$ac_ext <<_ACEOF
11703 cat confdefs.h >>conftest.$ac_ext
11704 cat >>conftest.$ac_ext <<_ACEOF
11705 /* end confdefs.h. */
11706 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11707 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11708 #define $ac_func innocuous_$ac_func
11710 /* System header to define __stub macros and hopefully few prototypes,
11711 which can conflict with char $ac_func (); below.
11712 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11713 <limits.h> exists even on freestanding compilers. */
11716 # include <limits.h>
11718 # include <assert.h>
11723 /* Override any GCC internal prototype to avoid an error.
11724 Use char because int might match the return type of a GCC
11725 builtin and then its argument prototype would still apply. */
11730 /* The GNU C library defines this for functions which it implements
11731 to always fail with ENOSYS. Some functions are actually named
11732 something starting with __ and the normal name is an alias. */
11733 #if defined __stub_$ac_func || defined __stub___$ac_func
11740 return $ac_func ();
11745 rm -f conftest.$ac_objext conftest$ac_exeext
11746 if { (ac_try="$ac_link"
11747 case "(($ac_try" in
11748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11749 *) ac_try_echo=$ac_try;;
11751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11752 (eval "$ac_link") 2>conftest.er1
11754 grep -v '^ *+' conftest.er1 >conftest.err
11756 cat conftest.err >&5
11757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11758 (exit $ac_status); } &&
11759 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11760 { (case "(($ac_try" in
11761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11762 *) ac_try_echo=$ac_try;;
11764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11765 (eval "$ac_try") 2>&5
11767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11768 (exit $ac_status); }; } &&
11769 { ac_try='test -s conftest$ac_exeext'
11770 { (case "(($ac_try" in
11771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11772 *) ac_try_echo=$ac_try;;
11774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11775 (eval "$ac_try") 2>&5
11777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11778 (exit $ac_status); }; }; then
11779 eval "$as_ac_var=yes"
11781 echo "$as_me: failed program was:" >&5
11782 sed 's/^/| /' conftest.$ac_ext >&5
11784 eval "$as_ac_var=no"
11787 rm -f core conftest.err conftest.$ac_objext \
11788 conftest$ac_exeext conftest.$ac_ext
11790 ac_res=`eval echo '${'$as_ac_var'}'`
11791 { echo "$as_me:$LINENO: result: $ac_res" >&5
11792 echo "${ECHO_T}$ac_res" >&6; }
11793 if test `eval echo '${'$as_ac_var'}'` = yes; then
11794 cat >>confdefs.h <<_ACEOF
11795 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11803 for ac_func in memmove strcmp
11805 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11806 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11807 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11808 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11809 echo $ECHO_N "(cached) $ECHO_C" >&6
11811 cat >conftest.$ac_ext <<_ACEOF
11814 cat confdefs.h >>conftest.$ac_ext
11815 cat >>conftest.$ac_ext <<_ACEOF
11816 /* end confdefs.h. */
11817 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11818 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11819 #define $ac_func innocuous_$ac_func
11821 /* System header to define __stub macros and hopefully few prototypes,
11822 which can conflict with char $ac_func (); below.
11823 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11824 <limits.h> exists even on freestanding compilers. */
11827 # include <limits.h>
11829 # include <assert.h>
11834 /* Override any GCC internal prototype to avoid an error.
11835 Use char because int might match the return type of a GCC
11836 builtin and then its argument prototype would still apply. */
11841 /* The GNU C library defines this for functions which it implements
11842 to always fail with ENOSYS. Some functions are actually named
11843 something starting with __ and the normal name is an alias. */
11844 #if defined __stub_$ac_func || defined __stub___$ac_func
11851 return $ac_func ();
11856 rm -f conftest.$ac_objext conftest$ac_exeext
11857 if { (ac_try="$ac_link"
11858 case "(($ac_try" in
11859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11860 *) ac_try_echo=$ac_try;;
11862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11863 (eval "$ac_link") 2>conftest.er1
11865 grep -v '^ *+' conftest.er1 >conftest.err
11867 cat conftest.err >&5
11868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11869 (exit $ac_status); } &&
11870 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11871 { (case "(($ac_try" in
11872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11873 *) ac_try_echo=$ac_try;;
11875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11876 (eval "$ac_try") 2>&5
11878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11879 (exit $ac_status); }; } &&
11880 { ac_try='test -s conftest$ac_exeext'
11881 { (case "(($ac_try" in
11882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11883 *) ac_try_echo=$ac_try;;
11885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11886 (eval "$ac_try") 2>&5
11888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11889 (exit $ac_status); }; }; then
11890 eval "$as_ac_var=yes"
11892 echo "$as_me: failed program was:" >&5
11893 sed 's/^/| /' conftest.$ac_ext >&5
11895 eval "$as_ac_var=no"
11898 rm -f core conftest.err conftest.$ac_objext \
11899 conftest$ac_exeext conftest.$ac_ext
11901 ac_res=`eval echo '${'$as_ac_var'}'`
11902 { echo "$as_me:$LINENO: result: $ac_res" >&5
11903 echo "${ECHO_T}$ac_res" >&6; }
11904 if test `eval echo '${'$as_ac_var'}'` = yes; then
11905 cat >>confdefs.h <<_ACEOF
11906 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11915 for ac_func in closedir opendir readdir
11917 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11918 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11919 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11920 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11921 echo $ECHO_N "(cached) $ECHO_C" >&6
11923 cat >conftest.$ac_ext <<_ACEOF
11926 cat confdefs.h >>conftest.$ac_ext
11927 cat >>conftest.$ac_ext <<_ACEOF
11928 /* end confdefs.h. */
11929 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11930 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11931 #define $ac_func innocuous_$ac_func
11933 /* System header to define __stub macros and hopefully few prototypes,
11934 which can conflict with char $ac_func (); below.
11935 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11936 <limits.h> exists even on freestanding compilers. */
11939 # include <limits.h>
11941 # include <assert.h>
11946 /* Override any GCC internal prototype to avoid an error.
11947 Use char because int might match the return type of a GCC
11948 builtin and then its argument prototype would still apply. */
11953 /* The GNU C library defines this for functions which it implements
11954 to always fail with ENOSYS. Some functions are actually named
11955 something starting with __ and the normal name is an alias. */
11956 #if defined __stub_$ac_func || defined __stub___$ac_func
11963 return $ac_func ();
11968 rm -f conftest.$ac_objext conftest$ac_exeext
11969 if { (ac_try="$ac_link"
11970 case "(($ac_try" in
11971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11972 *) ac_try_echo=$ac_try;;
11974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11975 (eval "$ac_link") 2>conftest.er1
11977 grep -v '^ *+' conftest.er1 >conftest.err
11979 cat conftest.err >&5
11980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11981 (exit $ac_status); } &&
11982 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11983 { (case "(($ac_try" in
11984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11985 *) ac_try_echo=$ac_try;;
11987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11988 (eval "$ac_try") 2>&5
11990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11991 (exit $ac_status); }; } &&
11992 { ac_try='test -s conftest$ac_exeext'
11993 { (case "(($ac_try" in
11994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11995 *) ac_try_echo=$ac_try;;
11997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11998 (eval "$ac_try") 2>&5
12000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12001 (exit $ac_status); }; }; then
12002 eval "$as_ac_var=yes"
12004 echo "$as_me: failed program was:" >&5
12005 sed 's/^/| /' conftest.$ac_ext >&5
12007 eval "$as_ac_var=no"
12010 rm -f core conftest.err conftest.$ac_objext \
12011 conftest$ac_exeext conftest.$ac_ext
12013 ac_res=`eval echo '${'$as_ac_var'}'`
12014 { echo "$as_me:$LINENO: result: $ac_res" >&5
12015 echo "${ECHO_T}$ac_res" >&6; }
12016 if test `eval echo '${'$as_ac_var'}'` = yes; then
12017 cat >>confdefs.h <<_ACEOF
12018 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12026 { echo "$as_me:$LINENO: checking tool compatibility" >&5
12027 echo $ECHO_N "checking tool compatibility... $ECHO_C" >&6; }
12040 if test "$GCC" != "yes" && test "$ICC" != "yes"
12042 { { echo "$as_me:$LINENO: error: gcc|icc required but not found" >&5
12043 echo "$as_me: error: gcc|icc required but not found" >&2;}
12044 { (exit 1); exit 1; }; }
12047 if test "$GXX" != "yes" && test "$IXX" != "yes"
12049 { { echo "$as_me:$LINENO: error: g++|clang++|icc required but not found" >&5
12050 echo "$as_me: error: g++|clang++|icc required but not found" >&2;}
12051 { (exit 1); exit 1; }; }
12054 if test "$GCC" = "yes"
12056 cat >conftest.$ac_ext <<_ACEOF
12057 #if !defined(__GNUC__) || __GNUC__ < 3
12058 #error Unsupported GCC version
12062 rm -f conftest.$ac_objext
12063 if { (ac_try="$ac_compile"
12064 case "(($ac_try" in
12065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12066 *) ac_try_echo=$ac_try;;
12068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12069 (eval "$ac_compile") 2>conftest.er1
12071 grep -v '^ *+' conftest.er1 >conftest.err
12073 cat conftest.err >&5
12074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12075 (exit $ac_status); } &&
12076 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12077 { (case "(($ac_try" in
12078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12079 *) ac_try_echo=$ac_try;;
12081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12082 (eval "$ac_try") 2>&5
12084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12085 (exit $ac_status); }; } &&
12086 { ac_try='test -s conftest.$ac_objext'
12087 { (case "(($ac_try" in
12088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12089 *) ac_try_echo=$ac_try;;
12091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12092 (eval "$ac_try") 2>&5
12094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12095 (exit $ac_status); }; }; then
12098 echo "$as_me: failed program was:" >&5
12099 sed 's/^/| /' conftest.$ac_ext >&5
12101 { { echo "$as_me:$LINENO: error: gcc 3.x required, but you have a lower version" >&5
12102 echo "$as_me: error: gcc 3.x required, but you have a lower version" >&2;}
12103 { (exit 1); exit 1; }; }
12106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12109 if test -z "$llvm_cv_gnu_make_command"
12111 { { echo "$as_me:$LINENO: error: GNU Make required but not found" >&5
12112 echo "$as_me: error: GNU Make required but not found" >&2;}
12113 { (exit 1); exit 1; }; }
12116 { echo "$as_me:$LINENO: result: ok" >&5
12117 echo "${ECHO_T}ok" >&6; }
12119 { echo "$as_me:$LINENO: checking optional compiler flags" >&5
12120 echo $ECHO_N "checking optional compiler flags... $ECHO_C" >&6; }
12121 NO_VARIADIC_MACROS=`$CXX -Werror -Wno-variadic-macros -fsyntax-only -xc /dev/null 2>/dev/null && echo -Wno-variadic-macros`
12123 NO_MISSING_FIELD_INITIALIZERS=`$CXX -Werror -Wno-missing-field-initializers -fsyntax-only -xc /dev/null 2>/dev/null && echo -Wno-missing-field-initializers`
12125 COVERED_SWITCH_DEFAULT=`$CXX -Werror -Wcovered-switch-default -fsyntax-only -xc /dev/null 2>/dev/null && echo -Wcovered-switch-default`
12127 { echo "$as_me:$LINENO: result: $NO_VARIADIC_MACROS $NO_MISSING_FIELD_INITIALIZERS $COVERED_SWITCH_DEFAULT" >&5
12128 echo "${ECHO_T}$NO_VARIADIC_MACROS $NO_MISSING_FIELD_INITIALIZERS $COVERED_SWITCH_DEFAULT" >&6; }
12132 { echo "$as_me:$LINENO: checking for sin in -lm" >&5
12133 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6; }
12134 if test "${ac_cv_lib_m_sin+set}" = set; then
12135 echo $ECHO_N "(cached) $ECHO_C" >&6
12137 ac_check_lib_save_LIBS=$LIBS
12139 cat >conftest.$ac_ext <<_ACEOF
12142 cat confdefs.h >>conftest.$ac_ext
12143 cat >>conftest.$ac_ext <<_ACEOF
12144 /* end confdefs.h. */
12146 /* Override any GCC internal prototype to avoid an error.
12147 Use char because int might match the return type of a GCC
12148 builtin and then its argument prototype would still apply. */
12161 rm -f conftest.$ac_objext conftest$ac_exeext
12162 if { (ac_try="$ac_link"
12163 case "(($ac_try" in
12164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12165 *) ac_try_echo=$ac_try;;
12167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12168 (eval "$ac_link") 2>conftest.er1
12170 grep -v '^ *+' conftest.er1 >conftest.err
12172 cat conftest.err >&5
12173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12174 (exit $ac_status); } &&
12175 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12176 { (case "(($ac_try" in
12177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12178 *) ac_try_echo=$ac_try;;
12180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12181 (eval "$ac_try") 2>&5
12183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12184 (exit $ac_status); }; } &&
12185 { ac_try='test -s conftest$ac_exeext'
12186 { (case "(($ac_try" in
12187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12188 *) ac_try_echo=$ac_try;;
12190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12191 (eval "$ac_try") 2>&5
12193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12194 (exit $ac_status); }; }; then
12195 ac_cv_lib_m_sin=yes
12197 echo "$as_me: failed program was:" >&5
12198 sed 's/^/| /' conftest.$ac_ext >&5
12203 rm -f core conftest.err conftest.$ac_objext \
12204 conftest$ac_exeext conftest.$ac_ext
12205 LIBS=$ac_check_lib_save_LIBS
12207 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
12208 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6; }
12209 if test $ac_cv_lib_m_sin = yes; then
12210 cat >>confdefs.h <<_ACEOF
12211 #define HAVE_LIBM 1
12218 if test "$llvm_cv_os_type" = "MingW" ; then
12220 { echo "$as_me:$LINENO: checking for main in -limagehlp" >&5
12221 echo $ECHO_N "checking for main in -limagehlp... $ECHO_C" >&6; }
12222 if test "${ac_cv_lib_imagehlp_main+set}" = set; then
12223 echo $ECHO_N "(cached) $ECHO_C" >&6
12225 ac_check_lib_save_LIBS=$LIBS
12226 LIBS="-limagehlp $LIBS"
12227 cat >conftest.$ac_ext <<_ACEOF
12230 cat confdefs.h >>conftest.$ac_ext
12231 cat >>conftest.$ac_ext <<_ACEOF
12232 /* end confdefs.h. */
12243 rm -f conftest.$ac_objext conftest$ac_exeext
12244 if { (ac_try="$ac_link"
12245 case "(($ac_try" in
12246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12247 *) ac_try_echo=$ac_try;;
12249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12250 (eval "$ac_link") 2>conftest.er1
12252 grep -v '^ *+' conftest.er1 >conftest.err
12254 cat conftest.err >&5
12255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12256 (exit $ac_status); } &&
12257 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12258 { (case "(($ac_try" in
12259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12260 *) ac_try_echo=$ac_try;;
12262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12263 (eval "$ac_try") 2>&5
12265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12266 (exit $ac_status); }; } &&
12267 { ac_try='test -s conftest$ac_exeext'
12268 { (case "(($ac_try" in
12269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12270 *) ac_try_echo=$ac_try;;
12272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12273 (eval "$ac_try") 2>&5
12275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12276 (exit $ac_status); }; }; then
12277 ac_cv_lib_imagehlp_main=yes
12279 echo "$as_me: failed program was:" >&5
12280 sed 's/^/| /' conftest.$ac_ext >&5
12282 ac_cv_lib_imagehlp_main=no
12285 rm -f core conftest.err conftest.$ac_objext \
12286 conftest$ac_exeext conftest.$ac_ext
12287 LIBS=$ac_check_lib_save_LIBS
12289 { echo "$as_me:$LINENO: result: $ac_cv_lib_imagehlp_main" >&5
12290 echo "${ECHO_T}$ac_cv_lib_imagehlp_main" >&6; }
12291 if test $ac_cv_lib_imagehlp_main = yes; then
12292 cat >>confdefs.h <<_ACEOF
12293 #define HAVE_LIBIMAGEHLP 1
12296 LIBS="-limagehlp $LIBS"
12301 { echo "$as_me:$LINENO: checking for main in -lpsapi" >&5
12302 echo $ECHO_N "checking for main in -lpsapi... $ECHO_C" >&6; }
12303 if test "${ac_cv_lib_psapi_main+set}" = set; then
12304 echo $ECHO_N "(cached) $ECHO_C" >&6
12306 ac_check_lib_save_LIBS=$LIBS
12307 LIBS="-lpsapi $LIBS"
12308 cat >conftest.$ac_ext <<_ACEOF
12311 cat confdefs.h >>conftest.$ac_ext
12312 cat >>conftest.$ac_ext <<_ACEOF
12313 /* end confdefs.h. */
12324 rm -f conftest.$ac_objext conftest$ac_exeext
12325 if { (ac_try="$ac_link"
12326 case "(($ac_try" in
12327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12328 *) ac_try_echo=$ac_try;;
12330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12331 (eval "$ac_link") 2>conftest.er1
12333 grep -v '^ *+' conftest.er1 >conftest.err
12335 cat conftest.err >&5
12336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12337 (exit $ac_status); } &&
12338 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12339 { (case "(($ac_try" in
12340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12341 *) ac_try_echo=$ac_try;;
12343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12344 (eval "$ac_try") 2>&5
12346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12347 (exit $ac_status); }; } &&
12348 { ac_try='test -s conftest$ac_exeext'
12349 { (case "(($ac_try" in
12350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12351 *) ac_try_echo=$ac_try;;
12353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12354 (eval "$ac_try") 2>&5
12356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12357 (exit $ac_status); }; }; then
12358 ac_cv_lib_psapi_main=yes
12360 echo "$as_me: failed program was:" >&5
12361 sed 's/^/| /' conftest.$ac_ext >&5
12363 ac_cv_lib_psapi_main=no
12366 rm -f core conftest.err conftest.$ac_objext \
12367 conftest$ac_exeext conftest.$ac_ext
12368 LIBS=$ac_check_lib_save_LIBS
12370 { echo "$as_me:$LINENO: result: $ac_cv_lib_psapi_main" >&5
12371 echo "${ECHO_T}$ac_cv_lib_psapi_main" >&6; }
12372 if test $ac_cv_lib_psapi_main = yes; then
12373 cat >>confdefs.h <<_ACEOF
12374 #define HAVE_LIBPSAPI 1
12377 LIBS="-lpsapi $LIBS"
12383 { echo "$as_me:$LINENO: checking for library containing dlopen" >&5
12384 echo $ECHO_N "checking for library containing dlopen... $ECHO_C" >&6; }
12385 if test "${ac_cv_search_dlopen+set}" = set; then
12386 echo $ECHO_N "(cached) $ECHO_C" >&6
12388 ac_func_search_save_LIBS=$LIBS
12389 cat >conftest.$ac_ext <<_ACEOF
12392 cat confdefs.h >>conftest.$ac_ext
12393 cat >>conftest.$ac_ext <<_ACEOF
12394 /* end confdefs.h. */
12396 /* Override any GCC internal prototype to avoid an error.
12397 Use char because int might match the return type of a GCC
12398 builtin and then its argument prototype would still apply. */
12411 for ac_lib in '' dl; do
12412 if test -z "$ac_lib"; then
12413 ac_res="none required"
12416 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
12418 rm -f conftest.$ac_objext conftest$ac_exeext
12419 if { (ac_try="$ac_link"
12420 case "(($ac_try" in
12421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12422 *) ac_try_echo=$ac_try;;
12424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12425 (eval "$ac_link") 2>conftest.er1
12427 grep -v '^ *+' conftest.er1 >conftest.err
12429 cat conftest.err >&5
12430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12431 (exit $ac_status); } &&
12432 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12433 { (case "(($ac_try" in
12434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12435 *) ac_try_echo=$ac_try;;
12437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12438 (eval "$ac_try") 2>&5
12440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12441 (exit $ac_status); }; } &&
12442 { ac_try='test -s conftest$ac_exeext'
12443 { (case "(($ac_try" in
12444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12445 *) ac_try_echo=$ac_try;;
12447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12448 (eval "$ac_try") 2>&5
12450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12451 (exit $ac_status); }; }; then
12452 ac_cv_search_dlopen=$ac_res
12454 echo "$as_me: failed program was:" >&5
12455 sed 's/^/| /' conftest.$ac_ext >&5
12460 rm -f core conftest.err conftest.$ac_objext \
12462 if test "${ac_cv_search_dlopen+set}" = set; then
12466 if test "${ac_cv_search_dlopen+set}" = set; then
12469 ac_cv_search_dlopen=no
12471 rm conftest.$ac_ext
12472 LIBS=$ac_func_search_save_LIBS
12474 { echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5
12475 echo "${ECHO_T}$ac_cv_search_dlopen" >&6; }
12476 ac_res=$ac_cv_search_dlopen
12477 if test "$ac_res" != no; then
12478 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12480 cat >>confdefs.h <<\_ACEOF
12481 #define HAVE_DLOPEN 1
12485 { echo "$as_me:$LINENO: WARNING: dlopen() not found - disabling plugin support" >&5
12486 echo "$as_me: WARNING: dlopen() not found - disabling plugin support" >&2;}
12490 if test "$llvm_cv_enable_libffi" = "yes" ; then
12491 { echo "$as_me:$LINENO: checking for library containing ffi_call" >&5
12492 echo $ECHO_N "checking for library containing ffi_call... $ECHO_C" >&6; }
12493 if test "${ac_cv_search_ffi_call+set}" = set; then
12494 echo $ECHO_N "(cached) $ECHO_C" >&6
12496 ac_func_search_save_LIBS=$LIBS
12497 cat >conftest.$ac_ext <<_ACEOF
12500 cat confdefs.h >>conftest.$ac_ext
12501 cat >>conftest.$ac_ext <<_ACEOF
12502 /* end confdefs.h. */
12504 /* Override any GCC internal prototype to avoid an error.
12505 Use char because int might match the return type of a GCC
12506 builtin and then its argument prototype would still apply. */
12514 return ffi_call ();
12519 for ac_lib in '' ffi; do
12520 if test -z "$ac_lib"; then
12521 ac_res="none required"
12524 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
12526 rm -f conftest.$ac_objext conftest$ac_exeext
12527 if { (ac_try="$ac_link"
12528 case "(($ac_try" in
12529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12530 *) ac_try_echo=$ac_try;;
12532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12533 (eval "$ac_link") 2>conftest.er1
12535 grep -v '^ *+' conftest.er1 >conftest.err
12537 cat conftest.err >&5
12538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12539 (exit $ac_status); } &&
12540 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12541 { (case "(($ac_try" in
12542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12543 *) ac_try_echo=$ac_try;;
12545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12546 (eval "$ac_try") 2>&5
12548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12549 (exit $ac_status); }; } &&
12550 { ac_try='test -s conftest$ac_exeext'
12551 { (case "(($ac_try" in
12552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12553 *) ac_try_echo=$ac_try;;
12555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12556 (eval "$ac_try") 2>&5
12558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12559 (exit $ac_status); }; }; then
12560 ac_cv_search_ffi_call=$ac_res
12562 echo "$as_me: failed program was:" >&5
12563 sed 's/^/| /' conftest.$ac_ext >&5
12568 rm -f core conftest.err conftest.$ac_objext \
12570 if test "${ac_cv_search_ffi_call+set}" = set; then
12574 if test "${ac_cv_search_ffi_call+set}" = set; then
12577 ac_cv_search_ffi_call=no
12579 rm conftest.$ac_ext
12580 LIBS=$ac_func_search_save_LIBS
12582 { echo "$as_me:$LINENO: result: $ac_cv_search_ffi_call" >&5
12583 echo "${ECHO_T}$ac_cv_search_ffi_call" >&6; }
12584 ac_res=$ac_cv_search_ffi_call
12585 if test "$ac_res" != no; then
12586 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12588 cat >>confdefs.h <<\_ACEOF
12589 #define HAVE_FFI_CALL 1
12593 { { echo "$as_me:$LINENO: error: libffi not found - configure without --enable-libffi to compile without it" >&5
12594 echo "$as_me: error: libffi not found - configure without --enable-libffi to compile without it" >&2;}
12595 { (exit 1); exit 1; }; }
12600 { echo "$as_me:$LINENO: checking for library containing mallinfo" >&5
12601 echo $ECHO_N "checking for library containing mallinfo... $ECHO_C" >&6; }
12602 if test "${ac_cv_search_mallinfo+set}" = set; then
12603 echo $ECHO_N "(cached) $ECHO_C" >&6
12605 ac_func_search_save_LIBS=$LIBS
12606 cat >conftest.$ac_ext <<_ACEOF
12609 cat confdefs.h >>conftest.$ac_ext
12610 cat >>conftest.$ac_ext <<_ACEOF
12611 /* end confdefs.h. */
12613 /* Override any GCC internal prototype to avoid an error.
12614 Use char because int might match the return type of a GCC
12615 builtin and then its argument prototype would still apply. */
12623 return mallinfo ();
12628 for ac_lib in '' malloc; do
12629 if test -z "$ac_lib"; then
12630 ac_res="none required"
12633 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
12635 rm -f conftest.$ac_objext conftest$ac_exeext
12636 if { (ac_try="$ac_link"
12637 case "(($ac_try" in
12638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12639 *) ac_try_echo=$ac_try;;
12641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12642 (eval "$ac_link") 2>conftest.er1
12644 grep -v '^ *+' conftest.er1 >conftest.err
12646 cat conftest.err >&5
12647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12648 (exit $ac_status); } &&
12649 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12650 { (case "(($ac_try" in
12651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12652 *) ac_try_echo=$ac_try;;
12654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12655 (eval "$ac_try") 2>&5
12657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12658 (exit $ac_status); }; } &&
12659 { ac_try='test -s conftest$ac_exeext'
12660 { (case "(($ac_try" in
12661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12662 *) ac_try_echo=$ac_try;;
12664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12665 (eval "$ac_try") 2>&5
12667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12668 (exit $ac_status); }; }; then
12669 ac_cv_search_mallinfo=$ac_res
12671 echo "$as_me: failed program was:" >&5
12672 sed 's/^/| /' conftest.$ac_ext >&5
12677 rm -f core conftest.err conftest.$ac_objext \
12679 if test "${ac_cv_search_mallinfo+set}" = set; then
12683 if test "${ac_cv_search_mallinfo+set}" = set; then
12686 ac_cv_search_mallinfo=no
12688 rm conftest.$ac_ext
12689 LIBS=$ac_func_search_save_LIBS
12691 { echo "$as_me:$LINENO: result: $ac_cv_search_mallinfo" >&5
12692 echo "${ECHO_T}$ac_cv_search_mallinfo" >&6; }
12693 ac_res=$ac_cv_search_mallinfo
12694 if test "$ac_res" != no; then
12695 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12697 cat >>confdefs.h <<\_ACEOF
12698 #define HAVE_MALLINFO 1
12704 if test "$ENABLE_THREADS" -eq 1 && test "$ENABLE_PTHREADS" -eq 1 ; then
12706 { echo "$as_me:$LINENO: checking for pthread_mutex_init in -lpthread" >&5
12707 echo $ECHO_N "checking for pthread_mutex_init in -lpthread... $ECHO_C" >&6; }
12708 if test "${ac_cv_lib_pthread_pthread_mutex_init+set}" = set; then
12709 echo $ECHO_N "(cached) $ECHO_C" >&6
12711 ac_check_lib_save_LIBS=$LIBS
12712 LIBS="-lpthread $LIBS"
12713 cat >conftest.$ac_ext <<_ACEOF
12716 cat confdefs.h >>conftest.$ac_ext
12717 cat >>conftest.$ac_ext <<_ACEOF
12718 /* end confdefs.h. */
12720 /* Override any GCC internal prototype to avoid an error.
12721 Use char because int might match the return type of a GCC
12722 builtin and then its argument prototype would still apply. */
12726 char pthread_mutex_init ();
12730 return pthread_mutex_init ();
12735 rm -f conftest.$ac_objext conftest$ac_exeext
12736 if { (ac_try="$ac_link"
12737 case "(($ac_try" in
12738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12739 *) ac_try_echo=$ac_try;;
12741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12742 (eval "$ac_link") 2>conftest.er1
12744 grep -v '^ *+' conftest.er1 >conftest.err
12746 cat conftest.err >&5
12747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12748 (exit $ac_status); } &&
12749 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12750 { (case "(($ac_try" in
12751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12752 *) ac_try_echo=$ac_try;;
12754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12755 (eval "$ac_try") 2>&5
12757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12758 (exit $ac_status); }; } &&
12759 { ac_try='test -s conftest$ac_exeext'
12760 { (case "(($ac_try" in
12761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12762 *) ac_try_echo=$ac_try;;
12764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12765 (eval "$ac_try") 2>&5
12767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12768 (exit $ac_status); }; }; then
12769 ac_cv_lib_pthread_pthread_mutex_init=yes
12771 echo "$as_me: failed program was:" >&5
12772 sed 's/^/| /' conftest.$ac_ext >&5
12774 ac_cv_lib_pthread_pthread_mutex_init=no
12777 rm -f core conftest.err conftest.$ac_objext \
12778 conftest$ac_exeext conftest.$ac_ext
12779 LIBS=$ac_check_lib_save_LIBS
12781 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_mutex_init" >&5
12782 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_mutex_init" >&6; }
12783 if test $ac_cv_lib_pthread_pthread_mutex_init = yes; then
12784 cat >>confdefs.h <<_ACEOF
12785 #define HAVE_LIBPTHREAD 1
12788 LIBS="-lpthread $LIBS"
12792 { echo "$as_me:$LINENO: checking for library containing pthread_mutex_lock" >&5
12793 echo $ECHO_N "checking for library containing pthread_mutex_lock... $ECHO_C" >&6; }
12794 if test "${ac_cv_search_pthread_mutex_lock+set}" = set; then
12795 echo $ECHO_N "(cached) $ECHO_C" >&6
12797 ac_func_search_save_LIBS=$LIBS
12798 cat >conftest.$ac_ext <<_ACEOF
12801 cat confdefs.h >>conftest.$ac_ext
12802 cat >>conftest.$ac_ext <<_ACEOF
12803 /* end confdefs.h. */
12805 /* Override any GCC internal prototype to avoid an error.
12806 Use char because int might match the return type of a GCC
12807 builtin and then its argument prototype would still apply. */
12811 char pthread_mutex_lock ();
12815 return pthread_mutex_lock ();
12820 for ac_lib in '' pthread; do
12821 if test -z "$ac_lib"; then
12822 ac_res="none required"
12825 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
12827 rm -f conftest.$ac_objext conftest$ac_exeext
12828 if { (ac_try="$ac_link"
12829 case "(($ac_try" in
12830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12831 *) ac_try_echo=$ac_try;;
12833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12834 (eval "$ac_link") 2>conftest.er1
12836 grep -v '^ *+' conftest.er1 >conftest.err
12838 cat conftest.err >&5
12839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12840 (exit $ac_status); } &&
12841 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12842 { (case "(($ac_try" in
12843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12844 *) ac_try_echo=$ac_try;;
12846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12847 (eval "$ac_try") 2>&5
12849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12850 (exit $ac_status); }; } &&
12851 { ac_try='test -s conftest$ac_exeext'
12852 { (case "(($ac_try" in
12853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12854 *) ac_try_echo=$ac_try;;
12856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12857 (eval "$ac_try") 2>&5
12859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12860 (exit $ac_status); }; }; then
12861 ac_cv_search_pthread_mutex_lock=$ac_res
12863 echo "$as_me: failed program was:" >&5
12864 sed 's/^/| /' conftest.$ac_ext >&5
12869 rm -f core conftest.err conftest.$ac_objext \
12871 if test "${ac_cv_search_pthread_mutex_lock+set}" = set; then
12875 if test "${ac_cv_search_pthread_mutex_lock+set}" = set; then
12878 ac_cv_search_pthread_mutex_lock=no
12880 rm conftest.$ac_ext
12881 LIBS=$ac_func_search_save_LIBS
12883 { echo "$as_me:$LINENO: result: $ac_cv_search_pthread_mutex_lock" >&5
12884 echo "${ECHO_T}$ac_cv_search_pthread_mutex_lock" >&6; }
12885 ac_res=$ac_cv_search_pthread_mutex_lock
12886 if test "$ac_res" != no; then
12887 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12889 cat >>confdefs.h <<\_ACEOF
12890 #define HAVE_PTHREAD_MUTEX_LOCK 1
12895 { echo "$as_me:$LINENO: checking for library containing pthread_rwlock_init" >&5
12896 echo $ECHO_N "checking for library containing pthread_rwlock_init... $ECHO_C" >&6; }
12897 if test "${ac_cv_search_pthread_rwlock_init+set}" = set; then
12898 echo $ECHO_N "(cached) $ECHO_C" >&6
12900 ac_func_search_save_LIBS=$LIBS
12901 cat >conftest.$ac_ext <<_ACEOF
12904 cat confdefs.h >>conftest.$ac_ext
12905 cat >>conftest.$ac_ext <<_ACEOF
12906 /* end confdefs.h. */
12908 /* Override any GCC internal prototype to avoid an error.
12909 Use char because int might match the return type of a GCC
12910 builtin and then its argument prototype would still apply. */
12914 char pthread_rwlock_init ();
12918 return pthread_rwlock_init ();
12923 for ac_lib in '' pthread; do
12924 if test -z "$ac_lib"; then
12925 ac_res="none required"
12928 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
12930 rm -f conftest.$ac_objext conftest$ac_exeext
12931 if { (ac_try="$ac_link"
12932 case "(($ac_try" in
12933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12934 *) ac_try_echo=$ac_try;;
12936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12937 (eval "$ac_link") 2>conftest.er1
12939 grep -v '^ *+' conftest.er1 >conftest.err
12941 cat conftest.err >&5
12942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12943 (exit $ac_status); } &&
12944 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12945 { (case "(($ac_try" in
12946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12947 *) ac_try_echo=$ac_try;;
12949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12950 (eval "$ac_try") 2>&5
12952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12953 (exit $ac_status); }; } &&
12954 { ac_try='test -s conftest$ac_exeext'
12955 { (case "(($ac_try" in
12956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12957 *) ac_try_echo=$ac_try;;
12959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12960 (eval "$ac_try") 2>&5
12962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12963 (exit $ac_status); }; }; then
12964 ac_cv_search_pthread_rwlock_init=$ac_res
12966 echo "$as_me: failed program was:" >&5
12967 sed 's/^/| /' conftest.$ac_ext >&5
12972 rm -f core conftest.err conftest.$ac_objext \
12974 if test "${ac_cv_search_pthread_rwlock_init+set}" = set; then
12978 if test "${ac_cv_search_pthread_rwlock_init+set}" = set; then
12981 ac_cv_search_pthread_rwlock_init=no
12983 rm conftest.$ac_ext
12984 LIBS=$ac_func_search_save_LIBS
12986 { echo "$as_me:$LINENO: result: $ac_cv_search_pthread_rwlock_init" >&5
12987 echo "${ECHO_T}$ac_cv_search_pthread_rwlock_init" >&6; }
12988 ac_res=$ac_cv_search_pthread_rwlock_init
12989 if test "$ac_res" != no; then
12990 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12992 cat >>confdefs.h <<\_ACEOF
12993 #define HAVE_PTHREAD_RWLOCK_INIT 1
12998 { echo "$as_me:$LINENO: checking for library containing pthread_getspecific" >&5
12999 echo $ECHO_N "checking for library containing pthread_getspecific... $ECHO_C" >&6; }
13000 if test "${ac_cv_search_pthread_getspecific+set}" = set; then
13001 echo $ECHO_N "(cached) $ECHO_C" >&6
13003 ac_func_search_save_LIBS=$LIBS
13004 cat >conftest.$ac_ext <<_ACEOF
13007 cat confdefs.h >>conftest.$ac_ext
13008 cat >>conftest.$ac_ext <<_ACEOF
13009 /* end confdefs.h. */
13011 /* Override any GCC internal prototype to avoid an error.
13012 Use char because int might match the return type of a GCC
13013 builtin and then its argument prototype would still apply. */
13017 char pthread_getspecific ();
13021 return pthread_getspecific ();
13026 for ac_lib in '' pthread; do
13027 if test -z "$ac_lib"; then
13028 ac_res="none required"
13031 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13033 rm -f conftest.$ac_objext conftest$ac_exeext
13034 if { (ac_try="$ac_link"
13035 case "(($ac_try" in
13036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13037 *) ac_try_echo=$ac_try;;
13039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13040 (eval "$ac_link") 2>conftest.er1
13042 grep -v '^ *+' conftest.er1 >conftest.err
13044 cat conftest.err >&5
13045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13046 (exit $ac_status); } &&
13047 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13048 { (case "(($ac_try" in
13049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13050 *) ac_try_echo=$ac_try;;
13052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13053 (eval "$ac_try") 2>&5
13055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13056 (exit $ac_status); }; } &&
13057 { ac_try='test -s conftest$ac_exeext'
13058 { (case "(($ac_try" in
13059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13060 *) ac_try_echo=$ac_try;;
13062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13063 (eval "$ac_try") 2>&5
13065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13066 (exit $ac_status); }; }; then
13067 ac_cv_search_pthread_getspecific=$ac_res
13069 echo "$as_me: failed program was:" >&5
13070 sed 's/^/| /' conftest.$ac_ext >&5
13075 rm -f core conftest.err conftest.$ac_objext \
13077 if test "${ac_cv_search_pthread_getspecific+set}" = set; then
13081 if test "${ac_cv_search_pthread_getspecific+set}" = set; then
13084 ac_cv_search_pthread_getspecific=no
13086 rm conftest.$ac_ext
13087 LIBS=$ac_func_search_save_LIBS
13089 { echo "$as_me:$LINENO: result: $ac_cv_search_pthread_getspecific" >&5
13090 echo "${ECHO_T}$ac_cv_search_pthread_getspecific" >&6; }
13091 ac_res=$ac_cv_search_pthread_getspecific
13092 if test "$ac_res" != no; then
13093 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13095 cat >>confdefs.h <<\_ACEOF
13096 #define HAVE_PTHREAD_GETSPECIFIC 1
13104 # Check whether --with-udis86 was given.
13105 if test "${with_udis86+set}" = set; then
13106 withval=$with_udis86;
13111 *) LDFLAGS="$LDFLAGS -L${withval}" ;;
13114 { echo "$as_me:$LINENO: checking for ud_init in -ludis86" >&5
13115 echo $ECHO_N "checking for ud_init in -ludis86... $ECHO_C" >&6; }
13116 if test "${ac_cv_lib_udis86_ud_init+set}" = set; then
13117 echo $ECHO_N "(cached) $ECHO_C" >&6
13119 ac_check_lib_save_LIBS=$LIBS
13120 LIBS="-ludis86 $LIBS"
13121 cat >conftest.$ac_ext <<_ACEOF
13124 cat confdefs.h >>conftest.$ac_ext
13125 cat >>conftest.$ac_ext <<_ACEOF
13126 /* end confdefs.h. */
13128 /* Override any GCC internal prototype to avoid an error.
13129 Use char because int might match the return type of a GCC
13130 builtin and then its argument prototype would still apply. */
13143 rm -f conftest.$ac_objext conftest$ac_exeext
13144 if { (ac_try="$ac_link"
13145 case "(($ac_try" in
13146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13147 *) ac_try_echo=$ac_try;;
13149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13150 (eval "$ac_link") 2>conftest.er1
13152 grep -v '^ *+' conftest.er1 >conftest.err
13154 cat conftest.err >&5
13155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13156 (exit $ac_status); } &&
13157 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13158 { (case "(($ac_try" in
13159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13160 *) ac_try_echo=$ac_try;;
13162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13163 (eval "$ac_try") 2>&5
13165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13166 (exit $ac_status); }; } &&
13167 { ac_try='test -s conftest$ac_exeext'
13168 { (case "(($ac_try" in
13169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13170 *) ac_try_echo=$ac_try;;
13172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13173 (eval "$ac_try") 2>&5
13175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13176 (exit $ac_status); }; }; then
13177 ac_cv_lib_udis86_ud_init=yes
13179 echo "$as_me: failed program was:" >&5
13180 sed 's/^/| /' conftest.$ac_ext >&5
13182 ac_cv_lib_udis86_ud_init=no
13185 rm -f core conftest.err conftest.$ac_objext \
13186 conftest$ac_exeext conftest.$ac_ext
13187 LIBS=$ac_check_lib_save_LIBS
13189 { echo "$as_me:$LINENO: result: $ac_cv_lib_udis86_ud_init" >&5
13190 echo "${ECHO_T}$ac_cv_lib_udis86_ud_init" >&6; }
13191 if test $ac_cv_lib_udis86_ud_init = yes; then
13192 cat >>confdefs.h <<_ACEOF
13193 #define HAVE_LIBUDIS86 1
13196 LIBS="-ludis86 $LIBS"
13200 echo "Error! You need to have libudis86 around."
13212 cat >>confdefs.h <<_ACEOF
13213 #define USE_UDIS86 $USE_UDIS86
13218 # Check whether --with-oprofile was given.
13219 if test "${with_oprofile+set}" = set; then
13220 withval=$with_oprofile;
13224 /usr|yes) llvm_cv_oppath=/usr/lib/oprofile ;;
13225 no) llvm_cv_oppath=
13228 *) llvm_cv_oppath="${withval}/lib/oprofile"
13229 CPPFLAGS="-I${withval}/include";;
13231 if test -n "$llvm_cv_oppath" ; then
13232 LIBS="$LIBS -L${llvm_cv_oppath} -Wl,-rpath,${llvm_cv_oppath}"
13233 { echo "$as_me:$LINENO: checking for library containing bfd_init" >&5
13234 echo $ECHO_N "checking for library containing bfd_init... $ECHO_C" >&6; }
13235 if test "${ac_cv_search_bfd_init+set}" = set; then
13236 echo $ECHO_N "(cached) $ECHO_C" >&6
13238 ac_func_search_save_LIBS=$LIBS
13239 cat >conftest.$ac_ext <<_ACEOF
13242 cat confdefs.h >>conftest.$ac_ext
13243 cat >>conftest.$ac_ext <<_ACEOF
13244 /* end confdefs.h. */
13246 /* Override any GCC internal prototype to avoid an error.
13247 Use char because int might match the return type of a GCC
13248 builtin and then its argument prototype would still apply. */
13256 return bfd_init ();
13261 for ac_lib in '' bfd; do
13262 if test -z "$ac_lib"; then
13263 ac_res="none required"
13266 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13268 rm -f conftest.$ac_objext conftest$ac_exeext
13269 if { (ac_try="$ac_link"
13270 case "(($ac_try" in
13271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13272 *) ac_try_echo=$ac_try;;
13274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13275 (eval "$ac_link") 2>conftest.er1
13277 grep -v '^ *+' conftest.er1 >conftest.err
13279 cat conftest.err >&5
13280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13281 (exit $ac_status); } &&
13282 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13283 { (case "(($ac_try" in
13284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13285 *) ac_try_echo=$ac_try;;
13287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13288 (eval "$ac_try") 2>&5
13290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13291 (exit $ac_status); }; } &&
13292 { ac_try='test -s conftest$ac_exeext'
13293 { (case "(($ac_try" in
13294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13295 *) ac_try_echo=$ac_try;;
13297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13298 (eval "$ac_try") 2>&5
13300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13301 (exit $ac_status); }; }; then
13302 ac_cv_search_bfd_init=$ac_res
13304 echo "$as_me: failed program was:" >&5
13305 sed 's/^/| /' conftest.$ac_ext >&5
13310 rm -f core conftest.err conftest.$ac_objext \
13312 if test "${ac_cv_search_bfd_init+set}" = set; then
13316 if test "${ac_cv_search_bfd_init+set}" = set; then
13319 ac_cv_search_bfd_init=no
13321 rm conftest.$ac_ext
13322 LIBS=$ac_func_search_save_LIBS
13324 { echo "$as_me:$LINENO: result: $ac_cv_search_bfd_init" >&5
13325 echo "${ECHO_T}$ac_cv_search_bfd_init" >&6; }
13326 ac_res=$ac_cv_search_bfd_init
13327 if test "$ac_res" != no; then
13328 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13332 { echo "$as_me:$LINENO: checking for library containing op_open_agent" >&5
13333 echo $ECHO_N "checking for library containing op_open_agent... $ECHO_C" >&6; }
13334 if test "${ac_cv_search_op_open_agent+set}" = set; then
13335 echo $ECHO_N "(cached) $ECHO_C" >&6
13337 ac_func_search_save_LIBS=$LIBS
13338 cat >conftest.$ac_ext <<_ACEOF
13341 cat confdefs.h >>conftest.$ac_ext
13342 cat >>conftest.$ac_ext <<_ACEOF
13343 /* end confdefs.h. */
13345 /* Override any GCC internal prototype to avoid an error.
13346 Use char because int might match the return type of a GCC
13347 builtin and then its argument prototype would still apply. */
13351 char op_open_agent ();
13355 return op_open_agent ();
13360 for ac_lib in '' opagent; do
13361 if test -z "$ac_lib"; then
13362 ac_res="none required"
13365 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13367 rm -f conftest.$ac_objext conftest$ac_exeext
13368 if { (ac_try="$ac_link"
13369 case "(($ac_try" in
13370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13371 *) ac_try_echo=$ac_try;;
13373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13374 (eval "$ac_link") 2>conftest.er1
13376 grep -v '^ *+' conftest.er1 >conftest.err
13378 cat conftest.err >&5
13379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13380 (exit $ac_status); } &&
13381 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13382 { (case "(($ac_try" in
13383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13384 *) ac_try_echo=$ac_try;;
13386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13387 (eval "$ac_try") 2>&5
13389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13390 (exit $ac_status); }; } &&
13391 { ac_try='test -s conftest$ac_exeext'
13392 { (case "(($ac_try" in
13393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13394 *) ac_try_echo=$ac_try;;
13396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13397 (eval "$ac_try") 2>&5
13399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13400 (exit $ac_status); }; }; then
13401 ac_cv_search_op_open_agent=$ac_res
13403 echo "$as_me: failed program was:" >&5
13404 sed 's/^/| /' conftest.$ac_ext >&5
13409 rm -f core conftest.err conftest.$ac_objext \
13411 if test "${ac_cv_search_op_open_agent+set}" = set; then
13415 if test "${ac_cv_search_op_open_agent+set}" = set; then
13418 ac_cv_search_op_open_agent=no
13420 rm conftest.$ac_ext
13421 LIBS=$ac_func_search_save_LIBS
13423 { echo "$as_me:$LINENO: result: $ac_cv_search_op_open_agent" >&5
13424 echo "${ECHO_T}$ac_cv_search_op_open_agent" >&6; }
13425 ac_res=$ac_cv_search_op_open_agent
13426 if test "$ac_res" != no; then
13427 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13431 echo "Error! You need to have libopagent around."
13436 if test "${ac_cv_header_opagent_h+set}" = set; then
13437 { echo "$as_me:$LINENO: checking for opagent.h" >&5
13438 echo $ECHO_N "checking for opagent.h... $ECHO_C" >&6; }
13439 if test "${ac_cv_header_opagent_h+set}" = set; then
13440 echo $ECHO_N "(cached) $ECHO_C" >&6
13442 { echo "$as_me:$LINENO: result: $ac_cv_header_opagent_h" >&5
13443 echo "${ECHO_T}$ac_cv_header_opagent_h" >&6; }
13445 # Is the header compilable?
13446 { echo "$as_me:$LINENO: checking opagent.h usability" >&5
13447 echo $ECHO_N "checking opagent.h usability... $ECHO_C" >&6; }
13448 cat >conftest.$ac_ext <<_ACEOF
13451 cat confdefs.h >>conftest.$ac_ext
13452 cat >>conftest.$ac_ext <<_ACEOF
13453 /* end confdefs.h. */
13454 $ac_includes_default
13455 #include <opagent.h>
13457 rm -f conftest.$ac_objext
13458 if { (ac_try="$ac_compile"
13459 case "(($ac_try" in
13460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13461 *) ac_try_echo=$ac_try;;
13463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13464 (eval "$ac_compile") 2>conftest.er1
13466 grep -v '^ *+' conftest.er1 >conftest.err
13468 cat conftest.err >&5
13469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13470 (exit $ac_status); } &&
13471 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13472 { (case "(($ac_try" in
13473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13474 *) ac_try_echo=$ac_try;;
13476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13477 (eval "$ac_try") 2>&5
13479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13480 (exit $ac_status); }; } &&
13481 { ac_try='test -s conftest.$ac_objext'
13482 { (case "(($ac_try" in
13483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13484 *) ac_try_echo=$ac_try;;
13486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13487 (eval "$ac_try") 2>&5
13489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13490 (exit $ac_status); }; }; then
13491 ac_header_compiler=yes
13493 echo "$as_me: failed program was:" >&5
13494 sed 's/^/| /' conftest.$ac_ext >&5
13496 ac_header_compiler=no
13499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13500 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13501 echo "${ECHO_T}$ac_header_compiler" >&6; }
13503 # Is the header present?
13504 { echo "$as_me:$LINENO: checking opagent.h presence" >&5
13505 echo $ECHO_N "checking opagent.h presence... $ECHO_C" >&6; }
13506 cat >conftest.$ac_ext <<_ACEOF
13509 cat confdefs.h >>conftest.$ac_ext
13510 cat >>conftest.$ac_ext <<_ACEOF
13511 /* end confdefs.h. */
13512 #include <opagent.h>
13514 if { (ac_try="$ac_cpp conftest.$ac_ext"
13515 case "(($ac_try" in
13516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13517 *) ac_try_echo=$ac_try;;
13519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13520 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13522 grep -v '^ *+' conftest.er1 >conftest.err
13524 cat conftest.err >&5
13525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13526 (exit $ac_status); } >/dev/null; then
13527 if test -s conftest.err; then
13528 ac_cpp_err=$ac_c_preproc_warn_flag
13529 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13536 if test -z "$ac_cpp_err"; then
13537 ac_header_preproc=yes
13539 echo "$as_me: failed program was:" >&5
13540 sed 's/^/| /' conftest.$ac_ext >&5
13542 ac_header_preproc=no
13545 rm -f conftest.err conftest.$ac_ext
13546 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13547 echo "${ECHO_T}$ac_header_preproc" >&6; }
13549 # So? What about this header?
13550 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13552 { echo "$as_me:$LINENO: WARNING: opagent.h: accepted by the compiler, rejected by the preprocessor!" >&5
13553 echo "$as_me: WARNING: opagent.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
13554 { echo "$as_me:$LINENO: WARNING: opagent.h: proceeding with the compiler's result" >&5
13555 echo "$as_me: WARNING: opagent.h: proceeding with the compiler's result" >&2;}
13556 ac_header_preproc=yes
13559 { echo "$as_me:$LINENO: WARNING: opagent.h: present but cannot be compiled" >&5
13560 echo "$as_me: WARNING: opagent.h: present but cannot be compiled" >&2;}
13561 { echo "$as_me:$LINENO: WARNING: opagent.h: check for missing prerequisite headers?" >&5
13562 echo "$as_me: WARNING: opagent.h: check for missing prerequisite headers?" >&2;}
13563 { echo "$as_me:$LINENO: WARNING: opagent.h: see the Autoconf documentation" >&5
13564 echo "$as_me: WARNING: opagent.h: see the Autoconf documentation" >&2;}
13565 { echo "$as_me:$LINENO: WARNING: opagent.h: section \"Present But Cannot Be Compiled\"" >&5
13566 echo "$as_me: WARNING: opagent.h: section \"Present But Cannot Be Compiled\"" >&2;}
13567 { echo "$as_me:$LINENO: WARNING: opagent.h: proceeding with the preprocessor's result" >&5
13568 echo "$as_me: WARNING: opagent.h: proceeding with the preprocessor's result" >&2;}
13569 { echo "$as_me:$LINENO: WARNING: opagent.h: in the future, the compiler will take precedence" >&5
13570 echo "$as_me: WARNING: opagent.h: in the future, the compiler will take precedence" >&2;}
13572 ## ------------------------------ ##
13573 ## Report this to bugs@yourdomain ##
13574 ## ------------------------------ ##
13576 ) | sed "s/^/$as_me: WARNING: /" >&2
13579 { echo "$as_me:$LINENO: checking for opagent.h" >&5
13580 echo $ECHO_N "checking for opagent.h... $ECHO_C" >&6; }
13581 if test "${ac_cv_header_opagent_h+set}" = set; then
13582 echo $ECHO_N "(cached) $ECHO_C" >&6
13584 ac_cv_header_opagent_h=$ac_header_preproc
13586 { echo "$as_me:$LINENO: result: $ac_cv_header_opagent_h" >&5
13587 echo "${ECHO_T}$ac_cv_header_opagent_h" >&6; }
13590 if test $ac_cv_header_opagent_h = yes; then
13594 echo "Error! You need to have opagent.h around."
13610 cat >>confdefs.h <<_ACEOF
13611 #define USE_OPROFILE $USE_OPROFILE
13621 ac_header_dirent=no
13622 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
13623 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
13624 { echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
13625 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
13626 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13627 echo $ECHO_N "(cached) $ECHO_C" >&6
13629 cat >conftest.$ac_ext <<_ACEOF
13632 cat confdefs.h >>conftest.$ac_ext
13633 cat >>conftest.$ac_ext <<_ACEOF
13634 /* end confdefs.h. */
13635 #include <sys/types.h>
13647 rm -f conftest.$ac_objext
13648 if { (ac_try="$ac_compile"
13649 case "(($ac_try" in
13650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13651 *) ac_try_echo=$ac_try;;
13653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13654 (eval "$ac_compile") 2>conftest.er1
13656 grep -v '^ *+' conftest.er1 >conftest.err
13658 cat conftest.err >&5
13659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13660 (exit $ac_status); } &&
13661 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13662 { (case "(($ac_try" in
13663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13664 *) ac_try_echo=$ac_try;;
13666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13667 (eval "$ac_try") 2>&5
13669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13670 (exit $ac_status); }; } &&
13671 { ac_try='test -s conftest.$ac_objext'
13672 { (case "(($ac_try" in
13673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13674 *) ac_try_echo=$ac_try;;
13676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13677 (eval "$ac_try") 2>&5
13679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13680 (exit $ac_status); }; }; then
13681 eval "$as_ac_Header=yes"
13683 echo "$as_me: failed program was:" >&5
13684 sed 's/^/| /' conftest.$ac_ext >&5
13686 eval "$as_ac_Header=no"
13689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13691 ac_res=`eval echo '${'$as_ac_Header'}'`
13692 { echo "$as_me:$LINENO: result: $ac_res" >&5
13693 echo "${ECHO_T}$ac_res" >&6; }
13694 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13695 cat >>confdefs.h <<_ACEOF
13696 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
13699 ac_header_dirent=$ac_hdr; break
13703 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
13704 if test $ac_header_dirent = dirent.h; then
13705 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
13706 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
13707 if test "${ac_cv_search_opendir+set}" = set; then
13708 echo $ECHO_N "(cached) $ECHO_C" >&6
13710 ac_func_search_save_LIBS=$LIBS
13711 cat >conftest.$ac_ext <<_ACEOF
13714 cat confdefs.h >>conftest.$ac_ext
13715 cat >>conftest.$ac_ext <<_ACEOF
13716 /* end confdefs.h. */
13718 /* Override any GCC internal prototype to avoid an error.
13719 Use char because int might match the return type of a GCC
13720 builtin and then its argument prototype would still apply. */
13733 for ac_lib in '' dir; do
13734 if test -z "$ac_lib"; then
13735 ac_res="none required"
13738 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13740 rm -f conftest.$ac_objext conftest$ac_exeext
13741 if { (ac_try="$ac_link"
13742 case "(($ac_try" in
13743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13744 *) ac_try_echo=$ac_try;;
13746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13747 (eval "$ac_link") 2>conftest.er1
13749 grep -v '^ *+' conftest.er1 >conftest.err
13751 cat conftest.err >&5
13752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13753 (exit $ac_status); } &&
13754 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13755 { (case "(($ac_try" in
13756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13757 *) ac_try_echo=$ac_try;;
13759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13760 (eval "$ac_try") 2>&5
13762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13763 (exit $ac_status); }; } &&
13764 { ac_try='test -s conftest$ac_exeext'
13765 { (case "(($ac_try" in
13766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13767 *) ac_try_echo=$ac_try;;
13769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13770 (eval "$ac_try") 2>&5
13772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13773 (exit $ac_status); }; }; then
13774 ac_cv_search_opendir=$ac_res
13776 echo "$as_me: failed program was:" >&5
13777 sed 's/^/| /' conftest.$ac_ext >&5
13782 rm -f core conftest.err conftest.$ac_objext \
13784 if test "${ac_cv_search_opendir+set}" = set; then
13788 if test "${ac_cv_search_opendir+set}" = set; then
13791 ac_cv_search_opendir=no
13793 rm conftest.$ac_ext
13794 LIBS=$ac_func_search_save_LIBS
13796 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
13797 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
13798 ac_res=$ac_cv_search_opendir
13799 if test "$ac_res" != no; then
13800 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13805 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
13806 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
13807 if test "${ac_cv_search_opendir+set}" = set; then
13808 echo $ECHO_N "(cached) $ECHO_C" >&6
13810 ac_func_search_save_LIBS=$LIBS
13811 cat >conftest.$ac_ext <<_ACEOF
13814 cat confdefs.h >>conftest.$ac_ext
13815 cat >>conftest.$ac_ext <<_ACEOF
13816 /* end confdefs.h. */
13818 /* Override any GCC internal prototype to avoid an error.
13819 Use char because int might match the return type of a GCC
13820 builtin and then its argument prototype would still apply. */
13833 for ac_lib in '' x; do
13834 if test -z "$ac_lib"; then
13835 ac_res="none required"
13838 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13840 rm -f conftest.$ac_objext conftest$ac_exeext
13841 if { (ac_try="$ac_link"
13842 case "(($ac_try" in
13843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13844 *) ac_try_echo=$ac_try;;
13846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13847 (eval "$ac_link") 2>conftest.er1
13849 grep -v '^ *+' conftest.er1 >conftest.err
13851 cat conftest.err >&5
13852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13853 (exit $ac_status); } &&
13854 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13855 { (case "(($ac_try" in
13856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13857 *) ac_try_echo=$ac_try;;
13859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13860 (eval "$ac_try") 2>&5
13862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13863 (exit $ac_status); }; } &&
13864 { ac_try='test -s conftest$ac_exeext'
13865 { (case "(($ac_try" in
13866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13867 *) ac_try_echo=$ac_try;;
13869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13870 (eval "$ac_try") 2>&5
13872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13873 (exit $ac_status); }; }; then
13874 ac_cv_search_opendir=$ac_res
13876 echo "$as_me: failed program was:" >&5
13877 sed 's/^/| /' conftest.$ac_ext >&5
13882 rm -f core conftest.err conftest.$ac_objext \
13884 if test "${ac_cv_search_opendir+set}" = set; then
13888 if test "${ac_cv_search_opendir+set}" = set; then
13891 ac_cv_search_opendir=no
13893 rm conftest.$ac_ext
13894 LIBS=$ac_func_search_save_LIBS
13896 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
13897 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
13898 ac_res=$ac_cv_search_opendir
13899 if test "$ac_res" != no; then
13900 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13906 { echo "$as_me:$LINENO: checking for MAP_ANONYMOUS vs. MAP_ANON" >&5
13907 echo $ECHO_N "checking for MAP_ANONYMOUS vs. MAP_ANON... $ECHO_C" >&6; }
13908 if test "${ac_cv_header_mmap_anon+set}" = set; then
13909 echo $ECHO_N "(cached) $ECHO_C" >&6
13912 ac_cpp='$CPP $CPPFLAGS'
13913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13917 cat >conftest.$ac_ext <<_ACEOF
13920 cat confdefs.h >>conftest.$ac_ext
13921 cat >>conftest.$ac_ext <<_ACEOF
13922 /* end confdefs.h. */
13923 #include <sys/mman.h>
13924 #include <unistd.h>
13929 mmap (0, 1, PROT_READ, MAP_ANONYMOUS, -1, 0); return (0);
13934 rm -f conftest.$ac_objext
13935 if { (ac_try="$ac_compile"
13936 case "(($ac_try" in
13937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13938 *) ac_try_echo=$ac_try;;
13940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13941 (eval "$ac_compile") 2>conftest.er1
13943 grep -v '^ *+' conftest.er1 >conftest.err
13945 cat conftest.err >&5
13946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13947 (exit $ac_status); } &&
13948 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13949 { (case "(($ac_try" in
13950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13951 *) ac_try_echo=$ac_try;;
13953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13954 (eval "$ac_try") 2>&5
13956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13957 (exit $ac_status); }; } &&
13958 { ac_try='test -s conftest.$ac_objext'
13959 { (case "(($ac_try" in
13960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13961 *) ac_try_echo=$ac_try;;
13963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13964 (eval "$ac_try") 2>&5
13966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13967 (exit $ac_status); }; }; then
13968 ac_cv_header_mmap_anon=yes
13970 echo "$as_me: failed program was:" >&5
13971 sed 's/^/| /' conftest.$ac_ext >&5
13973 ac_cv_header_mmap_anon=no
13976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13978 ac_cpp='$CPP $CPPFLAGS'
13979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13985 { echo "$as_me:$LINENO: result: $ac_cv_header_mmap_anon" >&5
13986 echo "${ECHO_T}$ac_cv_header_mmap_anon" >&6; }
13987 if test "$ac_cv_header_mmap_anon" = yes; then
13989 cat >>confdefs.h <<\_ACEOF
13990 #define HAVE_MMAP_ANONYMOUS 1
13995 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
13996 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
13997 if test "${ac_cv_header_stat_broken+set}" = set; then
13998 echo $ECHO_N "(cached) $ECHO_C" >&6
14000 cat >conftest.$ac_ext <<_ACEOF
14003 cat confdefs.h >>conftest.$ac_ext
14004 cat >>conftest.$ac_ext <<_ACEOF
14005 /* end confdefs.h. */
14006 #include <sys/types.h>
14007 #include <sys/stat.h>
14009 #if defined S_ISBLK && defined S_IFDIR
14010 # if S_ISBLK (S_IFDIR)
14015 #if defined S_ISBLK && defined S_IFCHR
14016 # if S_ISBLK (S_IFCHR)
14021 #if defined S_ISLNK && defined S_IFREG
14022 # if S_ISLNK (S_IFREG)
14027 #if defined S_ISSOCK && defined S_IFREG
14028 # if S_ISSOCK (S_IFREG)
14034 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14035 $EGREP "You lose" >/dev/null 2>&1; then
14036 ac_cv_header_stat_broken=yes
14038 ac_cv_header_stat_broken=no
14043 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
14044 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
14045 if test $ac_cv_header_stat_broken = yes; then
14047 cat >>confdefs.h <<\_ACEOF
14048 #define STAT_MACROS_BROKEN 1
14053 { echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
14054 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; }
14055 if test "${ac_cv_header_sys_wait_h+set}" = set; then
14056 echo $ECHO_N "(cached) $ECHO_C" >&6
14058 cat >conftest.$ac_ext <<_ACEOF
14061 cat confdefs.h >>conftest.$ac_ext
14062 cat >>conftest.$ac_ext <<_ACEOF
14063 /* end confdefs.h. */
14064 #include <sys/types.h>
14065 #include <sys/wait.h>
14066 #ifndef WEXITSTATUS
14067 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
14070 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
14078 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
14083 rm -f conftest.$ac_objext
14084 if { (ac_try="$ac_compile"
14085 case "(($ac_try" in
14086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14087 *) ac_try_echo=$ac_try;;
14089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14090 (eval "$ac_compile") 2>conftest.er1
14092 grep -v '^ *+' conftest.er1 >conftest.err
14094 cat conftest.err >&5
14095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14096 (exit $ac_status); } &&
14097 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14098 { (case "(($ac_try" in
14099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14100 *) ac_try_echo=$ac_try;;
14102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14103 (eval "$ac_try") 2>&5
14105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14106 (exit $ac_status); }; } &&
14107 { ac_try='test -s conftest.$ac_objext'
14108 { (case "(($ac_try" in
14109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14110 *) ac_try_echo=$ac_try;;
14112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14113 (eval "$ac_try") 2>&5
14115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14116 (exit $ac_status); }; }; then
14117 ac_cv_header_sys_wait_h=yes
14119 echo "$as_me: failed program was:" >&5
14120 sed 's/^/| /' conftest.$ac_ext >&5
14122 ac_cv_header_sys_wait_h=no
14125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14127 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
14128 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; }
14129 if test $ac_cv_header_sys_wait_h = yes; then
14131 cat >>confdefs.h <<\_ACEOF
14132 #define HAVE_SYS_WAIT_H 1
14137 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
14138 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
14139 if test "${ac_cv_header_time+set}" = set; then
14140 echo $ECHO_N "(cached) $ECHO_C" >&6
14142 cat >conftest.$ac_ext <<_ACEOF
14145 cat confdefs.h >>conftest.$ac_ext
14146 cat >>conftest.$ac_ext <<_ACEOF
14147 /* end confdefs.h. */
14148 #include <sys/types.h>
14149 #include <sys/time.h>
14155 if ((struct tm *) 0)
14161 rm -f conftest.$ac_objext
14162 if { (ac_try="$ac_compile"
14163 case "(($ac_try" in
14164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14165 *) ac_try_echo=$ac_try;;
14167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14168 (eval "$ac_compile") 2>conftest.er1
14170 grep -v '^ *+' conftest.er1 >conftest.err
14172 cat conftest.err >&5
14173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14174 (exit $ac_status); } &&
14175 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14176 { (case "(($ac_try" in
14177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14178 *) ac_try_echo=$ac_try;;
14180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14181 (eval "$ac_try") 2>&5
14183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14184 (exit $ac_status); }; } &&
14185 { ac_try='test -s conftest.$ac_objext'
14186 { (case "(($ac_try" in
14187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14188 *) ac_try_echo=$ac_try;;
14190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14191 (eval "$ac_try") 2>&5
14193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14194 (exit $ac_status); }; }; then
14195 ac_cv_header_time=yes
14197 echo "$as_me: failed program was:" >&5
14198 sed 's/^/| /' conftest.$ac_ext >&5
14200 ac_cv_header_time=no
14203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14205 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
14206 echo "${ECHO_T}$ac_cv_header_time" >&6; }
14207 if test $ac_cv_header_time = yes; then
14209 cat >>confdefs.h <<\_ACEOF
14210 #define TIME_WITH_SYS_TIME 1
14222 for ac_header in dlfcn.h execinfo.h fcntl.h inttypes.h limits.h link.h
14224 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14225 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14226 { echo "$as_me:$LINENO: checking for $ac_header" >&5
14227 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
14228 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14229 echo $ECHO_N "(cached) $ECHO_C" >&6
14231 ac_res=`eval echo '${'$as_ac_Header'}'`
14232 { echo "$as_me:$LINENO: result: $ac_res" >&5
14233 echo "${ECHO_T}$ac_res" >&6; }
14235 # Is the header compilable?
14236 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
14237 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
14238 cat >conftest.$ac_ext <<_ACEOF
14241 cat confdefs.h >>conftest.$ac_ext
14242 cat >>conftest.$ac_ext <<_ACEOF
14243 /* end confdefs.h. */
14244 $ac_includes_default
14245 #include <$ac_header>
14247 rm -f conftest.$ac_objext
14248 if { (ac_try="$ac_compile"
14249 case "(($ac_try" in
14250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14251 *) ac_try_echo=$ac_try;;
14253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14254 (eval "$ac_compile") 2>conftest.er1
14256 grep -v '^ *+' conftest.er1 >conftest.err
14258 cat conftest.err >&5
14259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14260 (exit $ac_status); } &&
14261 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14262 { (case "(($ac_try" in
14263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14264 *) ac_try_echo=$ac_try;;
14266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14267 (eval "$ac_try") 2>&5
14269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14270 (exit $ac_status); }; } &&
14271 { ac_try='test -s conftest.$ac_objext'
14272 { (case "(($ac_try" in
14273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14274 *) ac_try_echo=$ac_try;;
14276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14277 (eval "$ac_try") 2>&5
14279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14280 (exit $ac_status); }; }; then
14281 ac_header_compiler=yes
14283 echo "$as_me: failed program was:" >&5
14284 sed 's/^/| /' conftest.$ac_ext >&5
14286 ac_header_compiler=no
14289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14290 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14291 echo "${ECHO_T}$ac_header_compiler" >&6; }
14293 # Is the header present?
14294 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
14295 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
14296 cat >conftest.$ac_ext <<_ACEOF
14299 cat confdefs.h >>conftest.$ac_ext
14300 cat >>conftest.$ac_ext <<_ACEOF
14301 /* end confdefs.h. */
14302 #include <$ac_header>
14304 if { (ac_try="$ac_cpp conftest.$ac_ext"
14305 case "(($ac_try" in
14306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14307 *) ac_try_echo=$ac_try;;
14309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14310 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14312 grep -v '^ *+' conftest.er1 >conftest.err
14314 cat conftest.err >&5
14315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14316 (exit $ac_status); } >/dev/null; then
14317 if test -s conftest.err; then
14318 ac_cpp_err=$ac_c_preproc_warn_flag
14319 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14326 if test -z "$ac_cpp_err"; then
14327 ac_header_preproc=yes
14329 echo "$as_me: failed program was:" >&5
14330 sed 's/^/| /' conftest.$ac_ext >&5
14332 ac_header_preproc=no
14335 rm -f conftest.err conftest.$ac_ext
14336 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14337 echo "${ECHO_T}$ac_header_preproc" >&6; }
14339 # So? What about this header?
14340 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14342 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14343 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14344 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14345 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14346 ac_header_preproc=yes
14349 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14350 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14351 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14352 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14353 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14354 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14355 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14356 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14357 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14358 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14359 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14360 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14362 ## ------------------------------ ##
14363 ## Report this to bugs@yourdomain ##
14364 ## ------------------------------ ##
14366 ) | sed "s/^/$as_me: WARNING: /" >&2
14369 { echo "$as_me:$LINENO: checking for $ac_header" >&5
14370 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
14371 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14372 echo $ECHO_N "(cached) $ECHO_C" >&6
14374 eval "$as_ac_Header=\$ac_header_preproc"
14376 ac_res=`eval echo '${'$as_ac_Header'}'`
14377 { echo "$as_me:$LINENO: result: $ac_res" >&5
14378 echo "${ECHO_T}$ac_res" >&6; }
14381 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14382 cat >>confdefs.h <<_ACEOF
14383 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14396 for ac_header in malloc.h setjmp.h signal.h stdint.h termios.h unistd.h
14398 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14399 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14400 { echo "$as_me:$LINENO: checking for $ac_header" >&5
14401 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
14402 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14403 echo $ECHO_N "(cached) $ECHO_C" >&6
14405 ac_res=`eval echo '${'$as_ac_Header'}'`
14406 { echo "$as_me:$LINENO: result: $ac_res" >&5
14407 echo "${ECHO_T}$ac_res" >&6; }
14409 # Is the header compilable?
14410 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
14411 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
14412 cat >conftest.$ac_ext <<_ACEOF
14415 cat confdefs.h >>conftest.$ac_ext
14416 cat >>conftest.$ac_ext <<_ACEOF
14417 /* end confdefs.h. */
14418 $ac_includes_default
14419 #include <$ac_header>
14421 rm -f conftest.$ac_objext
14422 if { (ac_try="$ac_compile"
14423 case "(($ac_try" in
14424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14425 *) ac_try_echo=$ac_try;;
14427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14428 (eval "$ac_compile") 2>conftest.er1
14430 grep -v '^ *+' conftest.er1 >conftest.err
14432 cat conftest.err >&5
14433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14434 (exit $ac_status); } &&
14435 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14436 { (case "(($ac_try" in
14437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14438 *) ac_try_echo=$ac_try;;
14440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14441 (eval "$ac_try") 2>&5
14443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14444 (exit $ac_status); }; } &&
14445 { ac_try='test -s conftest.$ac_objext'
14446 { (case "(($ac_try" in
14447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14448 *) ac_try_echo=$ac_try;;
14450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14451 (eval "$ac_try") 2>&5
14453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14454 (exit $ac_status); }; }; then
14455 ac_header_compiler=yes
14457 echo "$as_me: failed program was:" >&5
14458 sed 's/^/| /' conftest.$ac_ext >&5
14460 ac_header_compiler=no
14463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14464 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14465 echo "${ECHO_T}$ac_header_compiler" >&6; }
14467 # Is the header present?
14468 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
14469 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
14470 cat >conftest.$ac_ext <<_ACEOF
14473 cat confdefs.h >>conftest.$ac_ext
14474 cat >>conftest.$ac_ext <<_ACEOF
14475 /* end confdefs.h. */
14476 #include <$ac_header>
14478 if { (ac_try="$ac_cpp conftest.$ac_ext"
14479 case "(($ac_try" in
14480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14481 *) ac_try_echo=$ac_try;;
14483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14484 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14486 grep -v '^ *+' conftest.er1 >conftest.err
14488 cat conftest.err >&5
14489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14490 (exit $ac_status); } >/dev/null; then
14491 if test -s conftest.err; then
14492 ac_cpp_err=$ac_c_preproc_warn_flag
14493 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14500 if test -z "$ac_cpp_err"; then
14501 ac_header_preproc=yes
14503 echo "$as_me: failed program was:" >&5
14504 sed 's/^/| /' conftest.$ac_ext >&5
14506 ac_header_preproc=no
14509 rm -f conftest.err conftest.$ac_ext
14510 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14511 echo "${ECHO_T}$ac_header_preproc" >&6; }
14513 # So? What about this header?
14514 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14516 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14517 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14518 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14519 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14520 ac_header_preproc=yes
14523 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14524 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14525 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14526 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14527 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14528 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14529 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14530 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14531 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14532 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14533 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14534 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14536 ## ------------------------------ ##
14537 ## Report this to bugs@yourdomain ##
14538 ## ------------------------------ ##
14540 ) | sed "s/^/$as_me: WARNING: /" >&2
14543 { echo "$as_me:$LINENO: checking for $ac_header" >&5
14544 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
14545 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14546 echo $ECHO_N "(cached) $ECHO_C" >&6
14548 eval "$as_ac_Header=\$ac_header_preproc"
14550 ac_res=`eval echo '${'$as_ac_Header'}'`
14551 { echo "$as_me:$LINENO: result: $ac_res" >&5
14552 echo "${ECHO_T}$ac_res" >&6; }
14555 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14556 cat >>confdefs.h <<_ACEOF
14557 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14566 for ac_header in utime.h windows.h
14568 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14569 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14570 { echo "$as_me:$LINENO: checking for $ac_header" >&5
14571 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
14572 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14573 echo $ECHO_N "(cached) $ECHO_C" >&6
14575 ac_res=`eval echo '${'$as_ac_Header'}'`
14576 { echo "$as_me:$LINENO: result: $ac_res" >&5
14577 echo "${ECHO_T}$ac_res" >&6; }
14579 # Is the header compilable?
14580 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
14581 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
14582 cat >conftest.$ac_ext <<_ACEOF
14585 cat confdefs.h >>conftest.$ac_ext
14586 cat >>conftest.$ac_ext <<_ACEOF
14587 /* end confdefs.h. */
14588 $ac_includes_default
14589 #include <$ac_header>
14591 rm -f conftest.$ac_objext
14592 if { (ac_try="$ac_compile"
14593 case "(($ac_try" in
14594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14595 *) ac_try_echo=$ac_try;;
14597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14598 (eval "$ac_compile") 2>conftest.er1
14600 grep -v '^ *+' conftest.er1 >conftest.err
14602 cat conftest.err >&5
14603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14604 (exit $ac_status); } &&
14605 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14606 { (case "(($ac_try" in
14607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14608 *) ac_try_echo=$ac_try;;
14610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14611 (eval "$ac_try") 2>&5
14613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14614 (exit $ac_status); }; } &&
14615 { ac_try='test -s conftest.$ac_objext'
14616 { (case "(($ac_try" in
14617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14618 *) ac_try_echo=$ac_try;;
14620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14621 (eval "$ac_try") 2>&5
14623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14624 (exit $ac_status); }; }; then
14625 ac_header_compiler=yes
14627 echo "$as_me: failed program was:" >&5
14628 sed 's/^/| /' conftest.$ac_ext >&5
14630 ac_header_compiler=no
14633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14634 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14635 echo "${ECHO_T}$ac_header_compiler" >&6; }
14637 # Is the header present?
14638 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
14639 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
14640 cat >conftest.$ac_ext <<_ACEOF
14643 cat confdefs.h >>conftest.$ac_ext
14644 cat >>conftest.$ac_ext <<_ACEOF
14645 /* end confdefs.h. */
14646 #include <$ac_header>
14648 if { (ac_try="$ac_cpp conftest.$ac_ext"
14649 case "(($ac_try" in
14650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14651 *) ac_try_echo=$ac_try;;
14653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14654 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14656 grep -v '^ *+' conftest.er1 >conftest.err
14658 cat conftest.err >&5
14659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14660 (exit $ac_status); } >/dev/null; then
14661 if test -s conftest.err; then
14662 ac_cpp_err=$ac_c_preproc_warn_flag
14663 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14670 if test -z "$ac_cpp_err"; then
14671 ac_header_preproc=yes
14673 echo "$as_me: failed program was:" >&5
14674 sed 's/^/| /' conftest.$ac_ext >&5
14676 ac_header_preproc=no
14679 rm -f conftest.err conftest.$ac_ext
14680 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14681 echo "${ECHO_T}$ac_header_preproc" >&6; }
14683 # So? What about this header?
14684 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14686 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14687 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14688 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14689 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14690 ac_header_preproc=yes
14693 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14694 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14695 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14696 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14697 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14698 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14699 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14700 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14701 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14702 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14703 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14704 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14706 ## ------------------------------ ##
14707 ## Report this to bugs@yourdomain ##
14708 ## ------------------------------ ##
14710 ) | sed "s/^/$as_me: WARNING: /" >&2
14713 { echo "$as_me:$LINENO: checking for $ac_header" >&5
14714 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
14715 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14716 echo $ECHO_N "(cached) $ECHO_C" >&6
14718 eval "$as_ac_Header=\$ac_header_preproc"
14720 ac_res=`eval echo '${'$as_ac_Header'}'`
14721 { echo "$as_me:$LINENO: result: $ac_res" >&5
14722 echo "${ECHO_T}$ac_res" >&6; }
14725 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14726 cat >>confdefs.h <<_ACEOF
14727 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14739 for ac_header in sys/mman.h sys/param.h sys/resource.h sys/time.h sys/uio.h
14741 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14742 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14743 { echo "$as_me:$LINENO: checking for $ac_header" >&5
14744 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
14745 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14746 echo $ECHO_N "(cached) $ECHO_C" >&6
14748 ac_res=`eval echo '${'$as_ac_Header'}'`
14749 { echo "$as_me:$LINENO: result: $ac_res" >&5
14750 echo "${ECHO_T}$ac_res" >&6; }
14752 # Is the header compilable?
14753 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
14754 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
14755 cat >conftest.$ac_ext <<_ACEOF
14758 cat confdefs.h >>conftest.$ac_ext
14759 cat >>conftest.$ac_ext <<_ACEOF
14760 /* end confdefs.h. */
14761 $ac_includes_default
14762 #include <$ac_header>
14764 rm -f conftest.$ac_objext
14765 if { (ac_try="$ac_compile"
14766 case "(($ac_try" in
14767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14768 *) ac_try_echo=$ac_try;;
14770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14771 (eval "$ac_compile") 2>conftest.er1
14773 grep -v '^ *+' conftest.er1 >conftest.err
14775 cat conftest.err >&5
14776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14777 (exit $ac_status); } &&
14778 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14779 { (case "(($ac_try" in
14780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14781 *) ac_try_echo=$ac_try;;
14783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14784 (eval "$ac_try") 2>&5
14786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14787 (exit $ac_status); }; } &&
14788 { ac_try='test -s conftest.$ac_objext'
14789 { (case "(($ac_try" in
14790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14791 *) ac_try_echo=$ac_try;;
14793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14794 (eval "$ac_try") 2>&5
14796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14797 (exit $ac_status); }; }; then
14798 ac_header_compiler=yes
14800 echo "$as_me: failed program was:" >&5
14801 sed 's/^/| /' conftest.$ac_ext >&5
14803 ac_header_compiler=no
14806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14807 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14808 echo "${ECHO_T}$ac_header_compiler" >&6; }
14810 # Is the header present?
14811 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
14812 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
14813 cat >conftest.$ac_ext <<_ACEOF
14816 cat confdefs.h >>conftest.$ac_ext
14817 cat >>conftest.$ac_ext <<_ACEOF
14818 /* end confdefs.h. */
14819 #include <$ac_header>
14821 if { (ac_try="$ac_cpp conftest.$ac_ext"
14822 case "(($ac_try" in
14823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14824 *) ac_try_echo=$ac_try;;
14826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14827 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14829 grep -v '^ *+' conftest.er1 >conftest.err
14831 cat conftest.err >&5
14832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14833 (exit $ac_status); } >/dev/null; then
14834 if test -s conftest.err; then
14835 ac_cpp_err=$ac_c_preproc_warn_flag
14836 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14843 if test -z "$ac_cpp_err"; then
14844 ac_header_preproc=yes
14846 echo "$as_me: failed program was:" >&5
14847 sed 's/^/| /' conftest.$ac_ext >&5
14849 ac_header_preproc=no
14852 rm -f conftest.err conftest.$ac_ext
14853 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14854 echo "${ECHO_T}$ac_header_preproc" >&6; }
14856 # So? What about this header?
14857 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14859 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14860 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14861 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14862 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14863 ac_header_preproc=yes
14866 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14867 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14868 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14869 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14870 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14871 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14872 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14873 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14874 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14875 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14876 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14877 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14879 ## ------------------------------ ##
14880 ## Report this to bugs@yourdomain ##
14881 ## ------------------------------ ##
14883 ) | sed "s/^/$as_me: WARNING: /" >&2
14886 { echo "$as_me:$LINENO: checking for $ac_header" >&5
14887 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
14888 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14889 echo $ECHO_N "(cached) $ECHO_C" >&6
14891 eval "$as_ac_Header=\$ac_header_preproc"
14893 ac_res=`eval echo '${'$as_ac_Header'}'`
14894 { echo "$as_me:$LINENO: result: $ac_res" >&5
14895 echo "${ECHO_T}$ac_res" >&6; }
14898 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14899 cat >>confdefs.h <<_ACEOF
14900 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14911 for ac_header in sys/types.h sys/ioctl.h malloc/malloc.h mach/mach.h
14913 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14914 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14915 { echo "$as_me:$LINENO: checking for $ac_header" >&5
14916 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
14917 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14918 echo $ECHO_N "(cached) $ECHO_C" >&6
14920 ac_res=`eval echo '${'$as_ac_Header'}'`
14921 { echo "$as_me:$LINENO: result: $ac_res" >&5
14922 echo "${ECHO_T}$ac_res" >&6; }
14924 # Is the header compilable?
14925 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
14926 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
14927 cat >conftest.$ac_ext <<_ACEOF
14930 cat confdefs.h >>conftest.$ac_ext
14931 cat >>conftest.$ac_ext <<_ACEOF
14932 /* end confdefs.h. */
14933 $ac_includes_default
14934 #include <$ac_header>
14936 rm -f conftest.$ac_objext
14937 if { (ac_try="$ac_compile"
14938 case "(($ac_try" in
14939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14940 *) ac_try_echo=$ac_try;;
14942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14943 (eval "$ac_compile") 2>conftest.er1
14945 grep -v '^ *+' conftest.er1 >conftest.err
14947 cat conftest.err >&5
14948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14949 (exit $ac_status); } &&
14950 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14951 { (case "(($ac_try" in
14952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14953 *) ac_try_echo=$ac_try;;
14955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14956 (eval "$ac_try") 2>&5
14958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14959 (exit $ac_status); }; } &&
14960 { ac_try='test -s conftest.$ac_objext'
14961 { (case "(($ac_try" in
14962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14963 *) ac_try_echo=$ac_try;;
14965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14966 (eval "$ac_try") 2>&5
14968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14969 (exit $ac_status); }; }; then
14970 ac_header_compiler=yes
14972 echo "$as_me: failed program was:" >&5
14973 sed 's/^/| /' conftest.$ac_ext >&5
14975 ac_header_compiler=no
14978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14979 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14980 echo "${ECHO_T}$ac_header_compiler" >&6; }
14982 # Is the header present?
14983 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
14984 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
14985 cat >conftest.$ac_ext <<_ACEOF
14988 cat confdefs.h >>conftest.$ac_ext
14989 cat >>conftest.$ac_ext <<_ACEOF
14990 /* end confdefs.h. */
14991 #include <$ac_header>
14993 if { (ac_try="$ac_cpp conftest.$ac_ext"
14994 case "(($ac_try" in
14995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14996 *) ac_try_echo=$ac_try;;
14998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14999 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15001 grep -v '^ *+' conftest.er1 >conftest.err
15003 cat conftest.err >&5
15004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15005 (exit $ac_status); } >/dev/null; then
15006 if test -s conftest.err; then
15007 ac_cpp_err=$ac_c_preproc_warn_flag
15008 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15015 if test -z "$ac_cpp_err"; then
15016 ac_header_preproc=yes
15018 echo "$as_me: failed program was:" >&5
15019 sed 's/^/| /' conftest.$ac_ext >&5
15021 ac_header_preproc=no
15024 rm -f conftest.err conftest.$ac_ext
15025 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15026 echo "${ECHO_T}$ac_header_preproc" >&6; }
15028 # So? What about this header?
15029 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15031 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15032 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15033 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15034 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15035 ac_header_preproc=yes
15038 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15039 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15040 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15041 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15042 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15043 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15044 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15045 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15046 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15047 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15048 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15049 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15051 ## ------------------------------ ##
15052 ## Report this to bugs@yourdomain ##
15053 ## ------------------------------ ##
15055 ) | sed "s/^/$as_me: WARNING: /" >&2
15058 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15059 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15060 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15061 echo $ECHO_N "(cached) $ECHO_C" >&6
15063 eval "$as_ac_Header=\$ac_header_preproc"
15065 ac_res=`eval echo '${'$as_ac_Header'}'`
15066 { echo "$as_me:$LINENO: result: $ac_res" >&5
15067 echo "${ECHO_T}$ac_res" >&6; }
15070 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15071 cat >>confdefs.h <<_ACEOF
15072 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15080 for ac_header in valgrind/valgrind.h
15082 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15083 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15084 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15085 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15086 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15087 echo $ECHO_N "(cached) $ECHO_C" >&6
15089 ac_res=`eval echo '${'$as_ac_Header'}'`
15090 { echo "$as_me:$LINENO: result: $ac_res" >&5
15091 echo "${ECHO_T}$ac_res" >&6; }
15093 # Is the header compilable?
15094 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
15095 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
15096 cat >conftest.$ac_ext <<_ACEOF
15099 cat confdefs.h >>conftest.$ac_ext
15100 cat >>conftest.$ac_ext <<_ACEOF
15101 /* end confdefs.h. */
15102 $ac_includes_default
15103 #include <$ac_header>
15105 rm -f conftest.$ac_objext
15106 if { (ac_try="$ac_compile"
15107 case "(($ac_try" in
15108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15109 *) ac_try_echo=$ac_try;;
15111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15112 (eval "$ac_compile") 2>conftest.er1
15114 grep -v '^ *+' conftest.er1 >conftest.err
15116 cat conftest.err >&5
15117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15118 (exit $ac_status); } &&
15119 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15120 { (case "(($ac_try" in
15121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15122 *) ac_try_echo=$ac_try;;
15124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15125 (eval "$ac_try") 2>&5
15127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15128 (exit $ac_status); }; } &&
15129 { ac_try='test -s conftest.$ac_objext'
15130 { (case "(($ac_try" in
15131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15132 *) ac_try_echo=$ac_try;;
15134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15135 (eval "$ac_try") 2>&5
15137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15138 (exit $ac_status); }; }; then
15139 ac_header_compiler=yes
15141 echo "$as_me: failed program was:" >&5
15142 sed 's/^/| /' conftest.$ac_ext >&5
15144 ac_header_compiler=no
15147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15148 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15149 echo "${ECHO_T}$ac_header_compiler" >&6; }
15151 # Is the header present?
15152 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
15153 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
15154 cat >conftest.$ac_ext <<_ACEOF
15157 cat confdefs.h >>conftest.$ac_ext
15158 cat >>conftest.$ac_ext <<_ACEOF
15159 /* end confdefs.h. */
15160 #include <$ac_header>
15162 if { (ac_try="$ac_cpp conftest.$ac_ext"
15163 case "(($ac_try" in
15164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15165 *) ac_try_echo=$ac_try;;
15167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15168 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15170 grep -v '^ *+' conftest.er1 >conftest.err
15172 cat conftest.err >&5
15173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15174 (exit $ac_status); } >/dev/null; then
15175 if test -s conftest.err; then
15176 ac_cpp_err=$ac_c_preproc_warn_flag
15177 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15184 if test -z "$ac_cpp_err"; then
15185 ac_header_preproc=yes
15187 echo "$as_me: failed program was:" >&5
15188 sed 's/^/| /' conftest.$ac_ext >&5
15190 ac_header_preproc=no
15193 rm -f conftest.err conftest.$ac_ext
15194 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15195 echo "${ECHO_T}$ac_header_preproc" >&6; }
15197 # So? What about this header?
15198 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15200 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15201 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15202 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15203 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15204 ac_header_preproc=yes
15207 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15208 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15209 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15210 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15211 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15212 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15213 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15214 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15215 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15216 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15217 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15218 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15220 ## ------------------------------ ##
15221 ## Report this to bugs@yourdomain ##
15222 ## ------------------------------ ##
15224 ) | sed "s/^/$as_me: WARNING: /" >&2
15227 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15228 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15229 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15230 echo $ECHO_N "(cached) $ECHO_C" >&6
15232 eval "$as_ac_Header=\$ac_header_preproc"
15234 ac_res=`eval echo '${'$as_ac_Header'}'`
15235 { echo "$as_me:$LINENO: result: $ac_res" >&5
15236 echo "${ECHO_T}$ac_res" >&6; }
15239 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15240 cat >>confdefs.h <<_ACEOF
15241 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15249 for ac_header in fenv.h
15251 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15252 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15253 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15254 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15255 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15256 echo $ECHO_N "(cached) $ECHO_C" >&6
15258 ac_res=`eval echo '${'$as_ac_Header'}'`
15259 { echo "$as_me:$LINENO: result: $ac_res" >&5
15260 echo "${ECHO_T}$ac_res" >&6; }
15262 # Is the header compilable?
15263 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
15264 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
15265 cat >conftest.$ac_ext <<_ACEOF
15268 cat confdefs.h >>conftest.$ac_ext
15269 cat >>conftest.$ac_ext <<_ACEOF
15270 /* end confdefs.h. */
15271 $ac_includes_default
15272 #include <$ac_header>
15274 rm -f conftest.$ac_objext
15275 if { (ac_try="$ac_compile"
15276 case "(($ac_try" in
15277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15278 *) ac_try_echo=$ac_try;;
15280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15281 (eval "$ac_compile") 2>conftest.er1
15283 grep -v '^ *+' conftest.er1 >conftest.err
15285 cat conftest.err >&5
15286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15287 (exit $ac_status); } &&
15288 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15289 { (case "(($ac_try" in
15290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15291 *) ac_try_echo=$ac_try;;
15293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15294 (eval "$ac_try") 2>&5
15296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15297 (exit $ac_status); }; } &&
15298 { ac_try='test -s conftest.$ac_objext'
15299 { (case "(($ac_try" in
15300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15301 *) ac_try_echo=$ac_try;;
15303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15304 (eval "$ac_try") 2>&5
15306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15307 (exit $ac_status); }; }; then
15308 ac_header_compiler=yes
15310 echo "$as_me: failed program was:" >&5
15311 sed 's/^/| /' conftest.$ac_ext >&5
15313 ac_header_compiler=no
15316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15317 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15318 echo "${ECHO_T}$ac_header_compiler" >&6; }
15320 # Is the header present?
15321 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
15322 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
15323 cat >conftest.$ac_ext <<_ACEOF
15326 cat confdefs.h >>conftest.$ac_ext
15327 cat >>conftest.$ac_ext <<_ACEOF
15328 /* end confdefs.h. */
15329 #include <$ac_header>
15331 if { (ac_try="$ac_cpp conftest.$ac_ext"
15332 case "(($ac_try" in
15333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15334 *) ac_try_echo=$ac_try;;
15336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15337 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15339 grep -v '^ *+' conftest.er1 >conftest.err
15341 cat conftest.err >&5
15342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15343 (exit $ac_status); } >/dev/null; then
15344 if test -s conftest.err; then
15345 ac_cpp_err=$ac_c_preproc_warn_flag
15346 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15353 if test -z "$ac_cpp_err"; then
15354 ac_header_preproc=yes
15356 echo "$as_me: failed program was:" >&5
15357 sed 's/^/| /' conftest.$ac_ext >&5
15359 ac_header_preproc=no
15362 rm -f conftest.err conftest.$ac_ext
15363 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15364 echo "${ECHO_T}$ac_header_preproc" >&6; }
15366 # So? What about this header?
15367 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15369 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15370 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15371 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15372 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15373 ac_header_preproc=yes
15376 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15377 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15378 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15379 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15380 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15381 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15382 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15383 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15384 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15385 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15386 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15387 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15389 ## ------------------------------ ##
15390 ## Report this to bugs@yourdomain ##
15391 ## ------------------------------ ##
15393 ) | sed "s/^/$as_me: WARNING: /" >&2
15396 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15397 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15398 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15399 echo $ECHO_N "(cached) $ECHO_C" >&6
15401 eval "$as_ac_Header=\$ac_header_preproc"
15403 ac_res=`eval echo '${'$as_ac_Header'}'`
15404 { echo "$as_me:$LINENO: result: $ac_res" >&5
15405 echo "${ECHO_T}$ac_res" >&6; }
15408 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15409 cat >>confdefs.h <<_ACEOF
15410 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15417 if test "$ENABLE_THREADS" -eq 1 && test "$ENABLE_PTHREADS" -eq 1 ; then
15419 for ac_header in pthread.h
15421 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15422 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15423 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15424 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15425 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15426 echo $ECHO_N "(cached) $ECHO_C" >&6
15428 ac_res=`eval echo '${'$as_ac_Header'}'`
15429 { echo "$as_me:$LINENO: result: $ac_res" >&5
15430 echo "${ECHO_T}$ac_res" >&6; }
15432 # Is the header compilable?
15433 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
15434 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
15435 cat >conftest.$ac_ext <<_ACEOF
15438 cat confdefs.h >>conftest.$ac_ext
15439 cat >>conftest.$ac_ext <<_ACEOF
15440 /* end confdefs.h. */
15441 $ac_includes_default
15442 #include <$ac_header>
15444 rm -f conftest.$ac_objext
15445 if { (ac_try="$ac_compile"
15446 case "(($ac_try" in
15447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15448 *) ac_try_echo=$ac_try;;
15450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15451 (eval "$ac_compile") 2>conftest.er1
15453 grep -v '^ *+' conftest.er1 >conftest.err
15455 cat conftest.err >&5
15456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15457 (exit $ac_status); } &&
15458 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15459 { (case "(($ac_try" in
15460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15461 *) ac_try_echo=$ac_try;;
15463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15464 (eval "$ac_try") 2>&5
15466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15467 (exit $ac_status); }; } &&
15468 { ac_try='test -s conftest.$ac_objext'
15469 { (case "(($ac_try" in
15470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15471 *) ac_try_echo=$ac_try;;
15473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15474 (eval "$ac_try") 2>&5
15476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15477 (exit $ac_status); }; }; then
15478 ac_header_compiler=yes
15480 echo "$as_me: failed program was:" >&5
15481 sed 's/^/| /' conftest.$ac_ext >&5
15483 ac_header_compiler=no
15486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15487 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15488 echo "${ECHO_T}$ac_header_compiler" >&6; }
15490 # Is the header present?
15491 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
15492 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
15493 cat >conftest.$ac_ext <<_ACEOF
15496 cat confdefs.h >>conftest.$ac_ext
15497 cat >>conftest.$ac_ext <<_ACEOF
15498 /* end confdefs.h. */
15499 #include <$ac_header>
15501 if { (ac_try="$ac_cpp conftest.$ac_ext"
15502 case "(($ac_try" in
15503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15504 *) ac_try_echo=$ac_try;;
15506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15507 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15509 grep -v '^ *+' conftest.er1 >conftest.err
15511 cat conftest.err >&5
15512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15513 (exit $ac_status); } >/dev/null; then
15514 if test -s conftest.err; then
15515 ac_cpp_err=$ac_c_preproc_warn_flag
15516 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15523 if test -z "$ac_cpp_err"; then
15524 ac_header_preproc=yes
15526 echo "$as_me: failed program was:" >&5
15527 sed 's/^/| /' conftest.$ac_ext >&5
15529 ac_header_preproc=no
15532 rm -f conftest.err conftest.$ac_ext
15533 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15534 echo "${ECHO_T}$ac_header_preproc" >&6; }
15536 # So? What about this header?
15537 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15539 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15540 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15541 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15542 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15543 ac_header_preproc=yes
15546 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15547 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15548 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15549 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15550 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15551 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15552 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15553 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15554 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15555 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15556 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15557 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15559 ## ------------------------------ ##
15560 ## Report this to bugs@yourdomain ##
15561 ## ------------------------------ ##
15563 ) | sed "s/^/$as_me: WARNING: /" >&2
15566 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15567 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15568 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15569 echo $ECHO_N "(cached) $ECHO_C" >&6
15571 eval "$as_ac_Header=\$ac_header_preproc"
15573 ac_res=`eval echo '${'$as_ac_Header'}'`
15574 { echo "$as_me:$LINENO: result: $ac_res" >&5
15575 echo "${ECHO_T}$ac_res" >&6; }
15578 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15579 cat >>confdefs.h <<_ACEOF
15580 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15596 if test "$llvm_cv_enable_libffi" = "yes" ; then
15599 for ac_header in ffi.h ffi/ffi.h
15601 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15602 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15603 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15604 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15605 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15606 echo $ECHO_N "(cached) $ECHO_C" >&6
15608 ac_res=`eval echo '${'$as_ac_Header'}'`
15609 { echo "$as_me:$LINENO: result: $ac_res" >&5
15610 echo "${ECHO_T}$ac_res" >&6; }
15612 # Is the header compilable?
15613 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
15614 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
15615 cat >conftest.$ac_ext <<_ACEOF
15618 cat confdefs.h >>conftest.$ac_ext
15619 cat >>conftest.$ac_ext <<_ACEOF
15620 /* end confdefs.h. */
15621 $ac_includes_default
15622 #include <$ac_header>
15624 rm -f conftest.$ac_objext
15625 if { (ac_try="$ac_compile"
15626 case "(($ac_try" in
15627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15628 *) ac_try_echo=$ac_try;;
15630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15631 (eval "$ac_compile") 2>conftest.er1
15633 grep -v '^ *+' conftest.er1 >conftest.err
15635 cat conftest.err >&5
15636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15637 (exit $ac_status); } &&
15638 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15639 { (case "(($ac_try" in
15640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15641 *) ac_try_echo=$ac_try;;
15643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15644 (eval "$ac_try") 2>&5
15646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15647 (exit $ac_status); }; } &&
15648 { ac_try='test -s conftest.$ac_objext'
15649 { (case "(($ac_try" in
15650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15651 *) ac_try_echo=$ac_try;;
15653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15654 (eval "$ac_try") 2>&5
15656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15657 (exit $ac_status); }; }; then
15658 ac_header_compiler=yes
15660 echo "$as_me: failed program was:" >&5
15661 sed 's/^/| /' conftest.$ac_ext >&5
15663 ac_header_compiler=no
15666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15667 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15668 echo "${ECHO_T}$ac_header_compiler" >&6; }
15670 # Is the header present?
15671 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
15672 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
15673 cat >conftest.$ac_ext <<_ACEOF
15676 cat confdefs.h >>conftest.$ac_ext
15677 cat >>conftest.$ac_ext <<_ACEOF
15678 /* end confdefs.h. */
15679 #include <$ac_header>
15681 if { (ac_try="$ac_cpp conftest.$ac_ext"
15682 case "(($ac_try" in
15683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15684 *) ac_try_echo=$ac_try;;
15686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15687 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15689 grep -v '^ *+' conftest.er1 >conftest.err
15691 cat conftest.err >&5
15692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15693 (exit $ac_status); } >/dev/null; then
15694 if test -s conftest.err; then
15695 ac_cpp_err=$ac_c_preproc_warn_flag
15696 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15703 if test -z "$ac_cpp_err"; then
15704 ac_header_preproc=yes
15706 echo "$as_me: failed program was:" >&5
15707 sed 's/^/| /' conftest.$ac_ext >&5
15709 ac_header_preproc=no
15712 rm -f conftest.err conftest.$ac_ext
15713 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15714 echo "${ECHO_T}$ac_header_preproc" >&6; }
15716 # So? What about this header?
15717 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15719 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15720 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15721 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15722 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15723 ac_header_preproc=yes
15726 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15727 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15728 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15729 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15730 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15731 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15732 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15733 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15734 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15735 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15736 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15737 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15739 ## ------------------------------ ##
15740 ## Report this to bugs@yourdomain ##
15741 ## ------------------------------ ##
15743 ) | sed "s/^/$as_me: WARNING: /" >&2
15746 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15747 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15748 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15749 echo $ECHO_N "(cached) $ECHO_C" >&6
15751 eval "$as_ac_Header=\$ac_header_preproc"
15753 ac_res=`eval echo '${'$as_ac_Header'}'`
15754 { echo "$as_me:$LINENO: result: $ac_res" >&5
15755 echo "${ECHO_T}$ac_res" >&6; }
15758 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15759 cat >>confdefs.h <<_ACEOF
15760 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15770 for ac_header in CrashReporterClient.h
15772 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15773 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15774 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15775 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15776 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15777 echo $ECHO_N "(cached) $ECHO_C" >&6
15779 ac_res=`eval echo '${'$as_ac_Header'}'`
15780 { echo "$as_me:$LINENO: result: $ac_res" >&5
15781 echo "${ECHO_T}$ac_res" >&6; }
15783 # Is the header compilable?
15784 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
15785 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
15786 cat >conftest.$ac_ext <<_ACEOF
15789 cat confdefs.h >>conftest.$ac_ext
15790 cat >>conftest.$ac_ext <<_ACEOF
15791 /* end confdefs.h. */
15792 $ac_includes_default
15793 #include <$ac_header>
15795 rm -f conftest.$ac_objext
15796 if { (ac_try="$ac_compile"
15797 case "(($ac_try" in
15798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15799 *) ac_try_echo=$ac_try;;
15801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15802 (eval "$ac_compile") 2>conftest.er1
15804 grep -v '^ *+' conftest.er1 >conftest.err
15806 cat conftest.err >&5
15807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15808 (exit $ac_status); } &&
15809 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15810 { (case "(($ac_try" in
15811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15812 *) ac_try_echo=$ac_try;;
15814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15815 (eval "$ac_try") 2>&5
15817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15818 (exit $ac_status); }; } &&
15819 { ac_try='test -s conftest.$ac_objext'
15820 { (case "(($ac_try" in
15821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15822 *) ac_try_echo=$ac_try;;
15824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15825 (eval "$ac_try") 2>&5
15827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15828 (exit $ac_status); }; }; then
15829 ac_header_compiler=yes
15831 echo "$as_me: failed program was:" >&5
15832 sed 's/^/| /' conftest.$ac_ext >&5
15834 ac_header_compiler=no
15837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15838 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15839 echo "${ECHO_T}$ac_header_compiler" >&6; }
15841 # Is the header present?
15842 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
15843 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
15844 cat >conftest.$ac_ext <<_ACEOF
15847 cat confdefs.h >>conftest.$ac_ext
15848 cat >>conftest.$ac_ext <<_ACEOF
15849 /* end confdefs.h. */
15850 #include <$ac_header>
15852 if { (ac_try="$ac_cpp conftest.$ac_ext"
15853 case "(($ac_try" in
15854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15855 *) ac_try_echo=$ac_try;;
15857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15858 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15860 grep -v '^ *+' conftest.er1 >conftest.err
15862 cat conftest.err >&5
15863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15864 (exit $ac_status); } >/dev/null; then
15865 if test -s conftest.err; then
15866 ac_cpp_err=$ac_c_preproc_warn_flag
15867 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15874 if test -z "$ac_cpp_err"; then
15875 ac_header_preproc=yes
15877 echo "$as_me: failed program was:" >&5
15878 sed 's/^/| /' conftest.$ac_ext >&5
15880 ac_header_preproc=no
15883 rm -f conftest.err conftest.$ac_ext
15884 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15885 echo "${ECHO_T}$ac_header_preproc" >&6; }
15887 # So? What about this header?
15888 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15890 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15891 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15892 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15893 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15894 ac_header_preproc=yes
15897 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15898 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15899 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15900 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15901 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15902 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15903 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15904 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15905 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15906 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15907 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15908 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15910 ## ------------------------------ ##
15911 ## Report this to bugs@yourdomain ##
15912 ## ------------------------------ ##
15914 ) | sed "s/^/$as_me: WARNING: /" >&2
15917 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15918 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15919 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15920 echo $ECHO_N "(cached) $ECHO_C" >&6
15922 eval "$as_ac_Header=\$ac_header_preproc"
15924 ac_res=`eval echo '${'$as_ac_Header'}'`
15925 { echo "$as_me:$LINENO: result: $ac_res" >&5
15926 echo "${ECHO_T}$ac_res" >&6; }
15929 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15930 cat >>confdefs.h <<_ACEOF
15931 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15939 { echo "$as_me:$LINENO: checking __crashreporter_info__" >&5
15940 echo $ECHO_N "checking __crashreporter_info__... $ECHO_C" >&6; }
15941 cat >conftest.$ac_ext <<_ACEOF
15944 cat confdefs.h >>conftest.$ac_ext
15945 cat >>conftest.$ac_ext <<_ACEOF
15946 /* end confdefs.h. */
15947 extern const char *__crashreporter_info__;
15949 __crashreporter_info__ = "test";
15954 rm -f conftest.$ac_objext conftest$ac_exeext
15955 if { (ac_try="$ac_link"
15956 case "(($ac_try" in
15957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15958 *) ac_try_echo=$ac_try;;
15960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15961 (eval "$ac_link") 2>conftest.er1
15963 grep -v '^ *+' conftest.er1 >conftest.err
15965 cat conftest.err >&5
15966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15967 (exit $ac_status); } &&
15968 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15969 { (case "(($ac_try" in
15970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15971 *) ac_try_echo=$ac_try;;
15973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15974 (eval "$ac_try") 2>&5
15976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15977 (exit $ac_status); }; } &&
15978 { ac_try='test -s conftest$ac_exeext'
15979 { (case "(($ac_try" in
15980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15981 *) ac_try_echo=$ac_try;;
15983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15984 (eval "$ac_try") 2>&5
15986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15987 (exit $ac_status); }; }; then
15988 { echo "$as_me:$LINENO: result: yes" >&5
15989 echo "${ECHO_T}yes" >&6; }
15991 cat >>confdefs.h <<\_ACEOF
15992 #define HAVE_CRASHREPORTER_INFO 1
15996 echo "$as_me: failed program was:" >&5
15997 sed 's/^/| /' conftest.$ac_ext >&5
15999 { echo "$as_me:$LINENO: result: no" >&5
16000 echo "${ECHO_T}no" >&6; }
16002 cat >>confdefs.h <<\_ACEOF
16003 #define HAVE_CRASHREPORTER_INFO 0
16008 rm -f core conftest.err conftest.$ac_objext \
16009 conftest$ac_exeext conftest.$ac_ext
16014 { echo "$as_me:$LINENO: checking for HUGE_VAL sanity" >&5
16015 echo $ECHO_N "checking for HUGE_VAL sanity... $ECHO_C" >&6; }
16016 if test "${ac_cv_huge_val_sanity+set}" = set; then
16017 echo $ECHO_N "(cached) $ECHO_C" >&6
16021 ac_cpp='$CXXCPP $CPPFLAGS'
16022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16026 ac_save_CXXFLAGS=$CXXFLAGS
16027 CXXFLAGS="$CXXFLAGS -pedantic"
16028 if test "$cross_compiling" = yes; then
16029 ac_cv_huge_val_sanity=yes
16031 cat >conftest.$ac_ext <<_ACEOF
16034 cat confdefs.h >>conftest.$ac_ext
16035 cat >>conftest.$ac_ext <<_ACEOF
16036 /* end confdefs.h. */
16041 double x = HUGE_VAL; return x != x;
16046 rm -f conftest$ac_exeext
16047 if { (ac_try="$ac_link"
16048 case "(($ac_try" in
16049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16050 *) ac_try_echo=$ac_try;;
16052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16053 (eval "$ac_link") 2>&5
16055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16056 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16057 { (case "(($ac_try" in
16058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16059 *) ac_try_echo=$ac_try;;
16061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16062 (eval "$ac_try") 2>&5
16064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16065 (exit $ac_status); }; }; then
16066 ac_cv_huge_val_sanity=yes
16068 echo "$as_me: program exited with status $ac_status" >&5
16069 echo "$as_me: failed program was:" >&5
16070 sed 's/^/| /' conftest.$ac_ext >&5
16072 ( exit $ac_status )
16073 ac_cv_huge_val_sanity=no
16075 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16079 CXXFLAGS=$ac_save_CXXFLAGS
16081 ac_cpp='$CPP $CPPFLAGS'
16082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16088 { echo "$as_me:$LINENO: result: $ac_cv_huge_val_sanity" >&5
16089 echo "${ECHO_T}$ac_cv_huge_val_sanity" >&6; }
16090 HUGE_VAL_SANITY=$ac_cv_huge_val_sanity
16093 { echo "$as_me:$LINENO: checking for pid_t" >&5
16094 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
16095 if test "${ac_cv_type_pid_t+set}" = set; then
16096 echo $ECHO_N "(cached) $ECHO_C" >&6
16098 cat >conftest.$ac_ext <<_ACEOF
16101 cat confdefs.h >>conftest.$ac_ext
16102 cat >>conftest.$ac_ext <<_ACEOF
16103 /* end confdefs.h. */
16104 $ac_includes_default
16105 typedef pid_t ac__type_new_;
16109 if ((ac__type_new_ *) 0)
16111 if (sizeof (ac__type_new_))
16117 rm -f conftest.$ac_objext
16118 if { (ac_try="$ac_compile"
16119 case "(($ac_try" in
16120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16121 *) ac_try_echo=$ac_try;;
16123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16124 (eval "$ac_compile") 2>conftest.er1
16126 grep -v '^ *+' conftest.er1 >conftest.err
16128 cat conftest.err >&5
16129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16130 (exit $ac_status); } &&
16131 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16132 { (case "(($ac_try" in
16133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16134 *) ac_try_echo=$ac_try;;
16136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16137 (eval "$ac_try") 2>&5
16139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16140 (exit $ac_status); }; } &&
16141 { ac_try='test -s conftest.$ac_objext'
16142 { (case "(($ac_try" in
16143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16144 *) ac_try_echo=$ac_try;;
16146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16147 (eval "$ac_try") 2>&5
16149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16150 (exit $ac_status); }; }; then
16151 ac_cv_type_pid_t=yes
16153 echo "$as_me: failed program was:" >&5
16154 sed 's/^/| /' conftest.$ac_ext >&5
16156 ac_cv_type_pid_t=no
16159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16161 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
16162 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
16163 if test $ac_cv_type_pid_t = yes; then
16167 cat >>confdefs.h <<_ACEOF
16173 { echo "$as_me:$LINENO: checking for size_t" >&5
16174 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
16175 if test "${ac_cv_type_size_t+set}" = set; then
16176 echo $ECHO_N "(cached) $ECHO_C" >&6
16178 cat >conftest.$ac_ext <<_ACEOF
16181 cat confdefs.h >>conftest.$ac_ext
16182 cat >>conftest.$ac_ext <<_ACEOF
16183 /* end confdefs.h. */
16184 $ac_includes_default
16185 typedef size_t ac__type_new_;
16189 if ((ac__type_new_ *) 0)
16191 if (sizeof (ac__type_new_))
16197 rm -f conftest.$ac_objext
16198 if { (ac_try="$ac_compile"
16199 case "(($ac_try" in
16200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16201 *) ac_try_echo=$ac_try;;
16203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16204 (eval "$ac_compile") 2>conftest.er1
16206 grep -v '^ *+' conftest.er1 >conftest.err
16208 cat conftest.err >&5
16209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16210 (exit $ac_status); } &&
16211 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16212 { (case "(($ac_try" in
16213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16214 *) ac_try_echo=$ac_try;;
16216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16217 (eval "$ac_try") 2>&5
16219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16220 (exit $ac_status); }; } &&
16221 { ac_try='test -s conftest.$ac_objext'
16222 { (case "(($ac_try" in
16223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16224 *) ac_try_echo=$ac_try;;
16226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16227 (eval "$ac_try") 2>&5
16229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16230 (exit $ac_status); }; }; then
16231 ac_cv_type_size_t=yes
16233 echo "$as_me: failed program was:" >&5
16234 sed 's/^/| /' conftest.$ac_ext >&5
16236 ac_cv_type_size_t=no
16239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16241 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16242 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
16243 if test $ac_cv_type_size_t = yes; then
16247 cat >>confdefs.h <<_ACEOF
16248 #define size_t unsigned int
16254 cat >>confdefs.h <<_ACEOF
16255 #define RETSIGTYPE void
16258 { echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
16259 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
16260 if test "${ac_cv_struct_tm+set}" = set; then
16261 echo $ECHO_N "(cached) $ECHO_C" >&6
16263 cat >conftest.$ac_ext <<_ACEOF
16266 cat confdefs.h >>conftest.$ac_ext
16267 cat >>conftest.$ac_ext <<_ACEOF
16268 /* end confdefs.h. */
16269 #include <sys/types.h>
16275 struct tm *tp; tp->tm_sec;
16280 rm -f conftest.$ac_objext
16281 if { (ac_try="$ac_compile"
16282 case "(($ac_try" in
16283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16284 *) ac_try_echo=$ac_try;;
16286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16287 (eval "$ac_compile") 2>conftest.er1
16289 grep -v '^ *+' conftest.er1 >conftest.err
16291 cat conftest.err >&5
16292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16293 (exit $ac_status); } &&
16294 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16295 { (case "(($ac_try" in
16296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16297 *) ac_try_echo=$ac_try;;
16299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16300 (eval "$ac_try") 2>&5
16302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16303 (exit $ac_status); }; } &&
16304 { ac_try='test -s conftest.$ac_objext'
16305 { (case "(($ac_try" in
16306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16307 *) ac_try_echo=$ac_try;;
16309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16310 (eval "$ac_try") 2>&5
16312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16313 (exit $ac_status); }; }; then
16314 ac_cv_struct_tm=time.h
16316 echo "$as_me: failed program was:" >&5
16317 sed 's/^/| /' conftest.$ac_ext >&5
16319 ac_cv_struct_tm=sys/time.h
16322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16324 { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
16325 echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
16326 if test $ac_cv_struct_tm = sys/time.h; then
16328 cat >>confdefs.h <<\_ACEOF
16329 #define TM_IN_SYS_TIME 1
16334 { echo "$as_me:$LINENO: checking for int64_t" >&5
16335 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6; }
16336 if test "${ac_cv_type_int64_t+set}" = set; then
16337 echo $ECHO_N "(cached) $ECHO_C" >&6
16339 cat >conftest.$ac_ext <<_ACEOF
16342 cat confdefs.h >>conftest.$ac_ext
16343 cat >>conftest.$ac_ext <<_ACEOF
16344 /* end confdefs.h. */
16345 $ac_includes_default
16346 typedef int64_t ac__type_new_;
16350 if ((ac__type_new_ *) 0)
16352 if (sizeof (ac__type_new_))
16358 rm -f conftest.$ac_objext
16359 if { (ac_try="$ac_compile"
16360 case "(($ac_try" in
16361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16362 *) ac_try_echo=$ac_try;;
16364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16365 (eval "$ac_compile") 2>conftest.er1
16367 grep -v '^ *+' conftest.er1 >conftest.err
16369 cat conftest.err >&5
16370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16371 (exit $ac_status); } &&
16372 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16373 { (case "(($ac_try" in
16374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16375 *) ac_try_echo=$ac_try;;
16377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16378 (eval "$ac_try") 2>&5
16380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16381 (exit $ac_status); }; } &&
16382 { ac_try='test -s conftest.$ac_objext'
16383 { (case "(($ac_try" in
16384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16385 *) ac_try_echo=$ac_try;;
16387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16388 (eval "$ac_try") 2>&5
16390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16391 (exit $ac_status); }; }; then
16392 ac_cv_type_int64_t=yes
16394 echo "$as_me: failed program was:" >&5
16395 sed 's/^/| /' conftest.$ac_ext >&5
16397 ac_cv_type_int64_t=no
16400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16402 { echo "$as_me:$LINENO: result: $ac_cv_type_int64_t" >&5
16403 echo "${ECHO_T}$ac_cv_type_int64_t" >&6; }
16404 if test $ac_cv_type_int64_t = yes; then
16406 cat >>confdefs.h <<_ACEOF
16407 #define HAVE_INT64_T 1
16412 { { echo "$as_me:$LINENO: error: Type int64_t required but not found" >&5
16413 echo "$as_me: error: Type int64_t required but not found" >&2;}
16414 { (exit 1); exit 1; }; }
16417 { echo "$as_me:$LINENO: checking for uint64_t" >&5
16418 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6; }
16419 if test "${ac_cv_type_uint64_t+set}" = set; then
16420 echo $ECHO_N "(cached) $ECHO_C" >&6
16422 cat >conftest.$ac_ext <<_ACEOF
16425 cat confdefs.h >>conftest.$ac_ext
16426 cat >>conftest.$ac_ext <<_ACEOF
16427 /* end confdefs.h. */
16428 $ac_includes_default
16429 typedef uint64_t ac__type_new_;
16433 if ((ac__type_new_ *) 0)
16435 if (sizeof (ac__type_new_))
16441 rm -f conftest.$ac_objext
16442 if { (ac_try="$ac_compile"
16443 case "(($ac_try" in
16444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16445 *) ac_try_echo=$ac_try;;
16447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16448 (eval "$ac_compile") 2>conftest.er1
16450 grep -v '^ *+' conftest.er1 >conftest.err
16452 cat conftest.err >&5
16453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16454 (exit $ac_status); } &&
16455 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16456 { (case "(($ac_try" in
16457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16458 *) ac_try_echo=$ac_try;;
16460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16461 (eval "$ac_try") 2>&5
16463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16464 (exit $ac_status); }; } &&
16465 { ac_try='test -s conftest.$ac_objext'
16466 { (case "(($ac_try" in
16467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16468 *) ac_try_echo=$ac_try;;
16470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16471 (eval "$ac_try") 2>&5
16473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16474 (exit $ac_status); }; }; then
16475 ac_cv_type_uint64_t=yes
16477 echo "$as_me: failed program was:" >&5
16478 sed 's/^/| /' conftest.$ac_ext >&5
16480 ac_cv_type_uint64_t=no
16483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16485 { echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
16486 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6; }
16487 if test $ac_cv_type_uint64_t = yes; then
16489 cat >>confdefs.h <<_ACEOF
16490 #define HAVE_UINT64_T 1
16495 { echo "$as_me:$LINENO: checking for u_int64_t" >&5
16496 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6; }
16497 if test "${ac_cv_type_u_int64_t+set}" = set; then
16498 echo $ECHO_N "(cached) $ECHO_C" >&6
16500 cat >conftest.$ac_ext <<_ACEOF
16503 cat confdefs.h >>conftest.$ac_ext
16504 cat >>conftest.$ac_ext <<_ACEOF
16505 /* end confdefs.h. */
16506 $ac_includes_default
16507 typedef u_int64_t ac__type_new_;
16511 if ((ac__type_new_ *) 0)
16513 if (sizeof (ac__type_new_))
16519 rm -f conftest.$ac_objext
16520 if { (ac_try="$ac_compile"
16521 case "(($ac_try" in
16522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16523 *) ac_try_echo=$ac_try;;
16525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16526 (eval "$ac_compile") 2>conftest.er1
16528 grep -v '^ *+' conftest.er1 >conftest.err
16530 cat conftest.err >&5
16531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16532 (exit $ac_status); } &&
16533 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16534 { (case "(($ac_try" in
16535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16536 *) ac_try_echo=$ac_try;;
16538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16539 (eval "$ac_try") 2>&5
16541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16542 (exit $ac_status); }; } &&
16543 { ac_try='test -s conftest.$ac_objext'
16544 { (case "(($ac_try" in
16545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16546 *) ac_try_echo=$ac_try;;
16548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16549 (eval "$ac_try") 2>&5
16551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16552 (exit $ac_status); }; }; then
16553 ac_cv_type_u_int64_t=yes
16555 echo "$as_me: failed program was:" >&5
16556 sed 's/^/| /' conftest.$ac_ext >&5
16558 ac_cv_type_u_int64_t=no
16561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16563 { echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
16564 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6; }
16565 if test $ac_cv_type_u_int64_t = yes; then
16567 cat >>confdefs.h <<_ACEOF
16568 #define HAVE_U_INT64_T 1
16573 { { echo "$as_me:$LINENO: error: Type uint64_t or u_int64_t required but not found" >&5
16574 echo "$as_me: error: Type uint64_t or u_int64_t required but not found" >&2;}
16575 { (exit 1); exit 1; }; }
16589 for ac_func in backtrace ceilf floorf roundf rintf nearbyintf getcwd
16591 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16592 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16593 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16594 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16595 echo $ECHO_N "(cached) $ECHO_C" >&6
16597 cat >conftest.$ac_ext <<_ACEOF
16600 cat confdefs.h >>conftest.$ac_ext
16601 cat >>conftest.$ac_ext <<_ACEOF
16602 /* end confdefs.h. */
16603 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16604 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16605 #define $ac_func innocuous_$ac_func
16607 /* System header to define __stub macros and hopefully few prototypes,
16608 which can conflict with char $ac_func (); below.
16609 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16610 <limits.h> exists even on freestanding compilers. */
16613 # include <limits.h>
16615 # include <assert.h>
16620 /* Override any GCC internal prototype to avoid an error.
16621 Use char because int might match the return type of a GCC
16622 builtin and then its argument prototype would still apply. */
16627 /* The GNU C library defines this for functions which it implements
16628 to always fail with ENOSYS. Some functions are actually named
16629 something starting with __ and the normal name is an alias. */
16630 #if defined __stub_$ac_func || defined __stub___$ac_func
16637 return $ac_func ();
16642 rm -f conftest.$ac_objext conftest$ac_exeext
16643 if { (ac_try="$ac_link"
16644 case "(($ac_try" in
16645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16646 *) ac_try_echo=$ac_try;;
16648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16649 (eval "$ac_link") 2>conftest.er1
16651 grep -v '^ *+' conftest.er1 >conftest.err
16653 cat conftest.err >&5
16654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16655 (exit $ac_status); } &&
16656 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16657 { (case "(($ac_try" in
16658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16659 *) ac_try_echo=$ac_try;;
16661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16662 (eval "$ac_try") 2>&5
16664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16665 (exit $ac_status); }; } &&
16666 { ac_try='test -s conftest$ac_exeext'
16667 { (case "(($ac_try" in
16668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16669 *) ac_try_echo=$ac_try;;
16671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16672 (eval "$ac_try") 2>&5
16674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16675 (exit $ac_status); }; }; then
16676 eval "$as_ac_var=yes"
16678 echo "$as_me: failed program was:" >&5
16679 sed 's/^/| /' conftest.$ac_ext >&5
16681 eval "$as_ac_var=no"
16684 rm -f core conftest.err conftest.$ac_objext \
16685 conftest$ac_exeext conftest.$ac_ext
16687 ac_res=`eval echo '${'$as_ac_var'}'`
16688 { echo "$as_me:$LINENO: result: $ac_res" >&5
16689 echo "${ECHO_T}$ac_res" >&6; }
16690 if test `eval echo '${'$as_ac_var'}'` = yes; then
16691 cat >>confdefs.h <<_ACEOF
16692 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16702 for ac_func in powf fmodf strtof round
16704 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16705 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16706 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16707 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16708 echo $ECHO_N "(cached) $ECHO_C" >&6
16710 cat >conftest.$ac_ext <<_ACEOF
16713 cat confdefs.h >>conftest.$ac_ext
16714 cat >>conftest.$ac_ext <<_ACEOF
16715 /* end confdefs.h. */
16716 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16717 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16718 #define $ac_func innocuous_$ac_func
16720 /* System header to define __stub macros and hopefully few prototypes,
16721 which can conflict with char $ac_func (); below.
16722 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16723 <limits.h> exists even on freestanding compilers. */
16726 # include <limits.h>
16728 # include <assert.h>
16733 /* Override any GCC internal prototype to avoid an error.
16734 Use char because int might match the return type of a GCC
16735 builtin and then its argument prototype would still apply. */
16740 /* The GNU C library defines this for functions which it implements
16741 to always fail with ENOSYS. Some functions are actually named
16742 something starting with __ and the normal name is an alias. */
16743 #if defined __stub_$ac_func || defined __stub___$ac_func
16750 return $ac_func ();
16755 rm -f conftest.$ac_objext conftest$ac_exeext
16756 if { (ac_try="$ac_link"
16757 case "(($ac_try" in
16758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16759 *) ac_try_echo=$ac_try;;
16761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16762 (eval "$ac_link") 2>conftest.er1
16764 grep -v '^ *+' conftest.er1 >conftest.err
16766 cat conftest.err >&5
16767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16768 (exit $ac_status); } &&
16769 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16770 { (case "(($ac_try" in
16771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16772 *) ac_try_echo=$ac_try;;
16774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16775 (eval "$ac_try") 2>&5
16777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16778 (exit $ac_status); }; } &&
16779 { ac_try='test -s conftest$ac_exeext'
16780 { (case "(($ac_try" in
16781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16782 *) ac_try_echo=$ac_try;;
16784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16785 (eval "$ac_try") 2>&5
16787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16788 (exit $ac_status); }; }; then
16789 eval "$as_ac_var=yes"
16791 echo "$as_me: failed program was:" >&5
16792 sed 's/^/| /' conftest.$ac_ext >&5
16794 eval "$as_ac_var=no"
16797 rm -f core conftest.err conftest.$ac_objext \
16798 conftest$ac_exeext conftest.$ac_ext
16800 ac_res=`eval echo '${'$as_ac_var'}'`
16801 { echo "$as_me:$LINENO: result: $ac_res" >&5
16802 echo "${ECHO_T}$ac_res" >&6; }
16803 if test `eval echo '${'$as_ac_var'}'` = yes; then
16804 cat >>confdefs.h <<_ACEOF
16805 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16816 for ac_func in getpagesize getrusage getrlimit setrlimit gettimeofday
16818 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16819 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16820 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16821 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16822 echo $ECHO_N "(cached) $ECHO_C" >&6
16824 cat >conftest.$ac_ext <<_ACEOF
16827 cat confdefs.h >>conftest.$ac_ext
16828 cat >>conftest.$ac_ext <<_ACEOF
16829 /* end confdefs.h. */
16830 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16831 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16832 #define $ac_func innocuous_$ac_func
16834 /* System header to define __stub macros and hopefully few prototypes,
16835 which can conflict with char $ac_func (); below.
16836 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16837 <limits.h> exists even on freestanding compilers. */
16840 # include <limits.h>
16842 # include <assert.h>
16847 /* Override any GCC internal prototype to avoid an error.
16848 Use char because int might match the return type of a GCC
16849 builtin and then its argument prototype would still apply. */
16854 /* The GNU C library defines this for functions which it implements
16855 to always fail with ENOSYS. Some functions are actually named
16856 something starting with __ and the normal name is an alias. */
16857 #if defined __stub_$ac_func || defined __stub___$ac_func
16864 return $ac_func ();
16869 rm -f conftest.$ac_objext conftest$ac_exeext
16870 if { (ac_try="$ac_link"
16871 case "(($ac_try" in
16872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16873 *) ac_try_echo=$ac_try;;
16875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16876 (eval "$ac_link") 2>conftest.er1
16878 grep -v '^ *+' conftest.er1 >conftest.err
16880 cat conftest.err >&5
16881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16882 (exit $ac_status); } &&
16883 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16884 { (case "(($ac_try" in
16885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16886 *) ac_try_echo=$ac_try;;
16888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16889 (eval "$ac_try") 2>&5
16891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16892 (exit $ac_status); }; } &&
16893 { ac_try='test -s conftest$ac_exeext'
16894 { (case "(($ac_try" in
16895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16896 *) ac_try_echo=$ac_try;;
16898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16899 (eval "$ac_try") 2>&5
16901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16902 (exit $ac_status); }; }; then
16903 eval "$as_ac_var=yes"
16905 echo "$as_me: failed program was:" >&5
16906 sed 's/^/| /' conftest.$ac_ext >&5
16908 eval "$as_ac_var=no"
16911 rm -f core conftest.err conftest.$ac_objext \
16912 conftest$ac_exeext conftest.$ac_ext
16914 ac_res=`eval echo '${'$as_ac_var'}'`
16915 { echo "$as_me:$LINENO: result: $ac_res" >&5
16916 echo "${ECHO_T}$ac_res" >&6; }
16917 if test `eval echo '${'$as_ac_var'}'` = yes; then
16918 cat >>confdefs.h <<_ACEOF
16919 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16928 for ac_func in isatty mkdtemp mkstemp
16930 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16931 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16932 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16933 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16934 echo $ECHO_N "(cached) $ECHO_C" >&6
16936 cat >conftest.$ac_ext <<_ACEOF
16939 cat confdefs.h >>conftest.$ac_ext
16940 cat >>conftest.$ac_ext <<_ACEOF
16941 /* end confdefs.h. */
16942 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16943 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16944 #define $ac_func innocuous_$ac_func
16946 /* System header to define __stub macros and hopefully few prototypes,
16947 which can conflict with char $ac_func (); below.
16948 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16949 <limits.h> exists even on freestanding compilers. */
16952 # include <limits.h>
16954 # include <assert.h>
16959 /* Override any GCC internal prototype to avoid an error.
16960 Use char because int might match the return type of a GCC
16961 builtin and then its argument prototype would still apply. */
16966 /* The GNU C library defines this for functions which it implements
16967 to always fail with ENOSYS. Some functions are actually named
16968 something starting with __ and the normal name is an alias. */
16969 #if defined __stub_$ac_func || defined __stub___$ac_func
16976 return $ac_func ();
16981 rm -f conftest.$ac_objext conftest$ac_exeext
16982 if { (ac_try="$ac_link"
16983 case "(($ac_try" in
16984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16985 *) ac_try_echo=$ac_try;;
16987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16988 (eval "$ac_link") 2>conftest.er1
16990 grep -v '^ *+' conftest.er1 >conftest.err
16992 cat conftest.err >&5
16993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16994 (exit $ac_status); } &&
16995 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16996 { (case "(($ac_try" in
16997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16998 *) ac_try_echo=$ac_try;;
17000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17001 (eval "$ac_try") 2>&5
17003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17004 (exit $ac_status); }; } &&
17005 { ac_try='test -s conftest$ac_exeext'
17006 { (case "(($ac_try" in
17007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17008 *) ac_try_echo=$ac_try;;
17010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17011 (eval "$ac_try") 2>&5
17013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17014 (exit $ac_status); }; }; then
17015 eval "$as_ac_var=yes"
17017 echo "$as_me: failed program was:" >&5
17018 sed 's/^/| /' conftest.$ac_ext >&5
17020 eval "$as_ac_var=no"
17023 rm -f core conftest.err conftest.$ac_objext \
17024 conftest$ac_exeext conftest.$ac_ext
17026 ac_res=`eval echo '${'$as_ac_var'}'`
17027 { echo "$as_me:$LINENO: result: $ac_res" >&5
17028 echo "${ECHO_T}$ac_res" >&6; }
17029 if test `eval echo '${'$as_ac_var'}'` = yes; then
17030 cat >>confdefs.h <<_ACEOF
17031 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17043 for ac_func in mktemp posix_spawn realpath sbrk setrlimit strdup
17045 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17046 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17047 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17048 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17049 echo $ECHO_N "(cached) $ECHO_C" >&6
17051 cat >conftest.$ac_ext <<_ACEOF
17054 cat confdefs.h >>conftest.$ac_ext
17055 cat >>conftest.$ac_ext <<_ACEOF
17056 /* end confdefs.h. */
17057 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17058 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17059 #define $ac_func innocuous_$ac_func
17061 /* System header to define __stub macros and hopefully few prototypes,
17062 which can conflict with char $ac_func (); below.
17063 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17064 <limits.h> exists even on freestanding compilers. */
17067 # include <limits.h>
17069 # include <assert.h>
17074 /* Override any GCC internal prototype to avoid an error.
17075 Use char because int might match the return type of a GCC
17076 builtin and then its argument prototype would still apply. */
17081 /* The GNU C library defines this for functions which it implements
17082 to always fail with ENOSYS. Some functions are actually named
17083 something starting with __ and the normal name is an alias. */
17084 #if defined __stub_$ac_func || defined __stub___$ac_func
17091 return $ac_func ();
17096 rm -f conftest.$ac_objext conftest$ac_exeext
17097 if { (ac_try="$ac_link"
17098 case "(($ac_try" in
17099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17100 *) ac_try_echo=$ac_try;;
17102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17103 (eval "$ac_link") 2>conftest.er1
17105 grep -v '^ *+' conftest.er1 >conftest.err
17107 cat conftest.err >&5
17108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17109 (exit $ac_status); } &&
17110 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17111 { (case "(($ac_try" in
17112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17113 *) ac_try_echo=$ac_try;;
17115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17116 (eval "$ac_try") 2>&5
17118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17119 (exit $ac_status); }; } &&
17120 { ac_try='test -s conftest$ac_exeext'
17121 { (case "(($ac_try" in
17122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17123 *) ac_try_echo=$ac_try;;
17125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17126 (eval "$ac_try") 2>&5
17128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17129 (exit $ac_status); }; }; then
17130 eval "$as_ac_var=yes"
17132 echo "$as_me: failed program was:" >&5
17133 sed 's/^/| /' conftest.$ac_ext >&5
17135 eval "$as_ac_var=no"
17138 rm -f core conftest.err conftest.$ac_objext \
17139 conftest$ac_exeext conftest.$ac_ext
17141 ac_res=`eval echo '${'$as_ac_var'}'`
17142 { echo "$as_me:$LINENO: result: $ac_res" >&5
17143 echo "${ECHO_T}$ac_res" >&6; }
17144 if test `eval echo '${'$as_ac_var'}'` = yes; then
17145 cat >>confdefs.h <<_ACEOF
17146 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17155 for ac_func in strerror strerror_r setenv
17157 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17158 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17159 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17160 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17161 echo $ECHO_N "(cached) $ECHO_C" >&6
17163 cat >conftest.$ac_ext <<_ACEOF
17166 cat confdefs.h >>conftest.$ac_ext
17167 cat >>conftest.$ac_ext <<_ACEOF
17168 /* end confdefs.h. */
17169 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17170 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17171 #define $ac_func innocuous_$ac_func
17173 /* System header to define __stub macros and hopefully few prototypes,
17174 which can conflict with char $ac_func (); below.
17175 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17176 <limits.h> exists even on freestanding compilers. */
17179 # include <limits.h>
17181 # include <assert.h>
17186 /* Override any GCC internal prototype to avoid an error.
17187 Use char because int might match the return type of a GCC
17188 builtin and then its argument prototype would still apply. */
17193 /* The GNU C library defines this for functions which it implements
17194 to always fail with ENOSYS. Some functions are actually named
17195 something starting with __ and the normal name is an alias. */
17196 #if defined __stub_$ac_func || defined __stub___$ac_func
17203 return $ac_func ();
17208 rm -f conftest.$ac_objext conftest$ac_exeext
17209 if { (ac_try="$ac_link"
17210 case "(($ac_try" in
17211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17212 *) ac_try_echo=$ac_try;;
17214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17215 (eval "$ac_link") 2>conftest.er1
17217 grep -v '^ *+' conftest.er1 >conftest.err
17219 cat conftest.err >&5
17220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17221 (exit $ac_status); } &&
17222 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17223 { (case "(($ac_try" in
17224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17225 *) ac_try_echo=$ac_try;;
17227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17228 (eval "$ac_try") 2>&5
17230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17231 (exit $ac_status); }; } &&
17232 { ac_try='test -s conftest$ac_exeext'
17233 { (case "(($ac_try" in
17234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17235 *) ac_try_echo=$ac_try;;
17237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17238 (eval "$ac_try") 2>&5
17240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17241 (exit $ac_status); }; }; then
17242 eval "$as_ac_var=yes"
17244 echo "$as_me: failed program was:" >&5
17245 sed 's/^/| /' conftest.$ac_ext >&5
17247 eval "$as_ac_var=no"
17250 rm -f core conftest.err conftest.$ac_objext \
17251 conftest$ac_exeext conftest.$ac_ext
17253 ac_res=`eval echo '${'$as_ac_var'}'`
17254 { echo "$as_me:$LINENO: result: $ac_res" >&5
17255 echo "${ECHO_T}$ac_res" >&6; }
17256 if test `eval echo '${'$as_ac_var'}'` = yes; then
17257 cat >>confdefs.h <<_ACEOF
17258 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17268 for ac_func in strtoll strtoq sysconf malloc_zone_statistics
17270 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17271 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17272 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17273 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17274 echo $ECHO_N "(cached) $ECHO_C" >&6
17276 cat >conftest.$ac_ext <<_ACEOF
17279 cat confdefs.h >>conftest.$ac_ext
17280 cat >>conftest.$ac_ext <<_ACEOF
17281 /* end confdefs.h. */
17282 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17283 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17284 #define $ac_func innocuous_$ac_func
17286 /* System header to define __stub macros and hopefully few prototypes,
17287 which can conflict with char $ac_func (); below.
17288 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17289 <limits.h> exists even on freestanding compilers. */
17292 # include <limits.h>
17294 # include <assert.h>
17299 /* Override any GCC internal prototype to avoid an error.
17300 Use char because int might match the return type of a GCC
17301 builtin and then its argument prototype would still apply. */
17306 /* The GNU C library defines this for functions which it implements
17307 to always fail with ENOSYS. Some functions are actually named
17308 something starting with __ and the normal name is an alias. */
17309 #if defined __stub_$ac_func || defined __stub___$ac_func
17316 return $ac_func ();
17321 rm -f conftest.$ac_objext conftest$ac_exeext
17322 if { (ac_try="$ac_link"
17323 case "(($ac_try" in
17324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17325 *) ac_try_echo=$ac_try;;
17327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17328 (eval "$ac_link") 2>conftest.er1
17330 grep -v '^ *+' conftest.er1 >conftest.err
17332 cat conftest.err >&5
17333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17334 (exit $ac_status); } &&
17335 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17336 { (case "(($ac_try" in
17337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17338 *) ac_try_echo=$ac_try;;
17340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17341 (eval "$ac_try") 2>&5
17343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17344 (exit $ac_status); }; } &&
17345 { ac_try='test -s conftest$ac_exeext'
17346 { (case "(($ac_try" in
17347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17348 *) ac_try_echo=$ac_try;;
17350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17351 (eval "$ac_try") 2>&5
17353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17354 (exit $ac_status); }; }; then
17355 eval "$as_ac_var=yes"
17357 echo "$as_me: failed program was:" >&5
17358 sed 's/^/| /' conftest.$ac_ext >&5
17360 eval "$as_ac_var=no"
17363 rm -f core conftest.err conftest.$ac_objext \
17364 conftest$ac_exeext conftest.$ac_ext
17366 ac_res=`eval echo '${'$as_ac_var'}'`
17367 { echo "$as_me:$LINENO: result: $ac_res" >&5
17368 echo "${ECHO_T}$ac_res" >&6; }
17369 if test `eval echo '${'$as_ac_var'}'` = yes; then
17370 cat >>confdefs.h <<_ACEOF
17371 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17382 for ac_func in setjmp longjmp sigsetjmp siglongjmp writev
17384 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17385 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17386 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17387 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17388 echo $ECHO_N "(cached) $ECHO_C" >&6
17390 cat >conftest.$ac_ext <<_ACEOF
17393 cat confdefs.h >>conftest.$ac_ext
17394 cat >>conftest.$ac_ext <<_ACEOF
17395 /* end confdefs.h. */
17396 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17397 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17398 #define $ac_func innocuous_$ac_func
17400 /* System header to define __stub macros and hopefully few prototypes,
17401 which can conflict with char $ac_func (); below.
17402 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17403 <limits.h> exists even on freestanding compilers. */
17406 # include <limits.h>
17408 # include <assert.h>
17413 /* Override any GCC internal prototype to avoid an error.
17414 Use char because int might match the return type of a GCC
17415 builtin and then its argument prototype would still apply. */
17420 /* The GNU C library defines this for functions which it implements
17421 to always fail with ENOSYS. Some functions are actually named
17422 something starting with __ and the normal name is an alias. */
17423 #if defined __stub_$ac_func || defined __stub___$ac_func
17430 return $ac_func ();
17435 rm -f conftest.$ac_objext conftest$ac_exeext
17436 if { (ac_try="$ac_link"
17437 case "(($ac_try" in
17438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17439 *) ac_try_echo=$ac_try;;
17441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17442 (eval "$ac_link") 2>conftest.er1
17444 grep -v '^ *+' conftest.er1 >conftest.err
17446 cat conftest.err >&5
17447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17448 (exit $ac_status); } &&
17449 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17450 { (case "(($ac_try" in
17451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17452 *) ac_try_echo=$ac_try;;
17454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17455 (eval "$ac_try") 2>&5
17457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17458 (exit $ac_status); }; } &&
17459 { ac_try='test -s conftest$ac_exeext'
17460 { (case "(($ac_try" in
17461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17462 *) ac_try_echo=$ac_try;;
17464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17465 (eval "$ac_try") 2>&5
17467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17468 (exit $ac_status); }; }; then
17469 eval "$as_ac_var=yes"
17471 echo "$as_me: failed program was:" >&5
17472 sed 's/^/| /' conftest.$ac_ext >&5
17474 eval "$as_ac_var=no"
17477 rm -f core conftest.err conftest.$ac_objext \
17478 conftest$ac_exeext conftest.$ac_ext
17480 ac_res=`eval echo '${'$as_ac_var'}'`
17481 { echo "$as_me:$LINENO: result: $ac_res" >&5
17482 echo "${ECHO_T}$ac_res" >&6; }
17483 if test `eval echo '${'$as_ac_var'}'` = yes; then
17484 cat >>confdefs.h <<_ACEOF
17485 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17491 { echo "$as_me:$LINENO: checking if printf has the %a format character" >&5
17492 echo $ECHO_N "checking if printf has the %a format character... $ECHO_C" >&6; }
17493 if test "${llvm_cv_c_printf_a+set}" = set; then
17494 echo $ECHO_N "(cached) $ECHO_C" >&6
17497 ac_cpp='$CPP $CPPFLAGS'
17498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17502 if test "$cross_compiling" = yes; then
17503 llvmac_cv_c_printf_a=no
17505 cat >conftest.$ac_ext <<_ACEOF
17509 cat confdefs.h >>conftest.$ac_ext
17510 cat >>conftest.$ac_ext <<_ACEOF
17511 /* end confdefs.h. */
17514 #include <stdlib.h>
17520 volatile double A, B;
17524 sprintf(Buffer, "%a", A);
17528 if (A != 0x1.999999999999ap-4)
17535 rm -f conftest$ac_exeext
17536 if { (ac_try="$ac_link"
17537 case "(($ac_try" in
17538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17539 *) ac_try_echo=$ac_try;;
17541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17542 (eval "$ac_link") 2>&5
17544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17545 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17546 { (case "(($ac_try" in
17547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17548 *) ac_try_echo=$ac_try;;
17550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17551 (eval "$ac_try") 2>&5
17553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17554 (exit $ac_status); }; }; then
17555 llvm_cv_c_printf_a=yes
17557 echo "$as_me: program exited with status $ac_status" >&5
17558 echo "$as_me: failed program was:" >&5
17559 sed 's/^/| /' conftest.$ac_ext >&5
17561 ( exit $ac_status )
17562 llvmac_cv_c_printf_a=no
17564 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17569 ac_cpp='$CPP $CPPFLAGS'
17570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17575 { echo "$as_me:$LINENO: result: $llvm_cv_c_printf_a" >&5
17576 echo "${ECHO_T}$llvm_cv_c_printf_a" >&6; }
17577 if test "$llvm_cv_c_printf_a" = "yes"; then
17579 cat >>confdefs.h <<\_ACEOF
17580 #define HAVE_PRINTF_A 1
17586 { echo "$as_me:$LINENO: checking for srand48/lrand48/drand48 in <stdlib.h>" >&5
17587 echo $ECHO_N "checking for srand48/lrand48/drand48 in <stdlib.h>... $ECHO_C" >&6; }
17588 if test "${ac_cv_func_rand48+set}" = set; then
17589 echo $ECHO_N "(cached) $ECHO_C" >&6
17592 ac_cpp='$CXXCPP $CPPFLAGS'
17593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17597 cat >conftest.$ac_ext <<_ACEOF
17600 cat confdefs.h >>conftest.$ac_ext
17601 cat >>conftest.$ac_ext <<_ACEOF
17602 /* end confdefs.h. */
17603 #include <stdlib.h>
17607 srand48(0);lrand48();drand48();
17612 rm -f conftest.$ac_objext
17613 if { (ac_try="$ac_compile"
17614 case "(($ac_try" in
17615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17616 *) ac_try_echo=$ac_try;;
17618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17619 (eval "$ac_compile") 2>conftest.er1
17621 grep -v '^ *+' conftest.er1 >conftest.err
17623 cat conftest.err >&5
17624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17625 (exit $ac_status); } &&
17626 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17627 { (case "(($ac_try" in
17628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17629 *) ac_try_echo=$ac_try;;
17631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17632 (eval "$ac_try") 2>&5
17634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17635 (exit $ac_status); }; } &&
17636 { ac_try='test -s conftest.$ac_objext'
17637 { (case "(($ac_try" in
17638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17639 *) ac_try_echo=$ac_try;;
17641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17642 (eval "$ac_try") 2>&5
17644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17645 (exit $ac_status); }; }; then
17646 ac_cv_func_rand48=yes
17648 echo "$as_me: failed program was:" >&5
17649 sed 's/^/| /' conftest.$ac_ext >&5
17651 ac_cv_func_rand48=no
17654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17656 ac_cpp='$CPP $CPPFLAGS'
17657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17662 { echo "$as_me:$LINENO: result: $ac_cv_func_rand48" >&5
17663 echo "${ECHO_T}$ac_cv_func_rand48" >&6; }
17665 if test "$ac_cv_func_rand48" = "yes" ; then
17667 cat >>confdefs.h <<\_ACEOF
17668 #define HAVE_RAND48 1
17674 { echo "$as_me:$LINENO: checking whether strerror_s is declared" >&5
17675 echo $ECHO_N "checking whether strerror_s is declared... $ECHO_C" >&6; }
17676 if test "${ac_cv_have_decl_strerror_s+set}" = set; then
17677 echo $ECHO_N "(cached) $ECHO_C" >&6
17679 cat >conftest.$ac_ext <<_ACEOF
17682 cat confdefs.h >>conftest.$ac_ext
17683 cat >>conftest.$ac_ext <<_ACEOF
17684 /* end confdefs.h. */
17685 $ac_includes_default
17690 char *p = (char *) strerror_s;
17698 rm -f conftest.$ac_objext
17699 if { (ac_try="$ac_compile"
17700 case "(($ac_try" in
17701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17702 *) ac_try_echo=$ac_try;;
17704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17705 (eval "$ac_compile") 2>conftest.er1
17707 grep -v '^ *+' conftest.er1 >conftest.err
17709 cat conftest.err >&5
17710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17711 (exit $ac_status); } &&
17712 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17713 { (case "(($ac_try" in
17714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17715 *) ac_try_echo=$ac_try;;
17717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17718 (eval "$ac_try") 2>&5
17720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17721 (exit $ac_status); }; } &&
17722 { ac_try='test -s conftest.$ac_objext'
17723 { (case "(($ac_try" in
17724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17725 *) ac_try_echo=$ac_try;;
17727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17728 (eval "$ac_try") 2>&5
17730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17731 (exit $ac_status); }; }; then
17732 ac_cv_have_decl_strerror_s=yes
17734 echo "$as_me: failed program was:" >&5
17735 sed 's/^/| /' conftest.$ac_ext >&5
17737 ac_cv_have_decl_strerror_s=no
17740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17742 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_strerror_s" >&5
17743 echo "${ECHO_T}$ac_cv_have_decl_strerror_s" >&6; }
17744 if test $ac_cv_have_decl_strerror_s = yes; then
17746 cat >>confdefs.h <<_ACEOF
17747 #define HAVE_DECL_STRERROR_S 1
17752 cat >>confdefs.h <<_ACEOF
17753 #define HAVE_DECL_STRERROR_S 0
17761 if test "$llvm_cv_os_type" = "MingW" ; then
17762 { echo "$as_me:$LINENO: checking for _alloca in -lgcc" >&5
17763 echo $ECHO_N "checking for _alloca in -lgcc... $ECHO_C" >&6; }
17764 if test "${ac_cv_lib_gcc__alloca+set}" = set; then
17765 echo $ECHO_N "(cached) $ECHO_C" >&6
17767 ac_check_lib_save_LIBS=$LIBS
17769 cat >conftest.$ac_ext <<_ACEOF
17772 cat confdefs.h >>conftest.$ac_ext
17773 cat >>conftest.$ac_ext <<_ACEOF
17774 /* end confdefs.h. */
17776 /* Override any GCC internal prototype to avoid an error.
17777 Use char because int might match the return type of a GCC
17778 builtin and then its argument prototype would still apply. */
17791 rm -f conftest.$ac_objext conftest$ac_exeext
17792 if { (ac_try="$ac_link"
17793 case "(($ac_try" in
17794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17795 *) ac_try_echo=$ac_try;;
17797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17798 (eval "$ac_link") 2>conftest.er1
17800 grep -v '^ *+' conftest.er1 >conftest.err
17802 cat conftest.err >&5
17803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17804 (exit $ac_status); } &&
17805 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17806 { (case "(($ac_try" in
17807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17808 *) ac_try_echo=$ac_try;;
17810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17811 (eval "$ac_try") 2>&5
17813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17814 (exit $ac_status); }; } &&
17815 { ac_try='test -s conftest$ac_exeext'
17816 { (case "(($ac_try" in
17817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17818 *) ac_try_echo=$ac_try;;
17820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17821 (eval "$ac_try") 2>&5
17823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17824 (exit $ac_status); }; }; then
17825 ac_cv_lib_gcc__alloca=yes
17827 echo "$as_me: failed program was:" >&5
17828 sed 's/^/| /' conftest.$ac_ext >&5
17830 ac_cv_lib_gcc__alloca=no
17833 rm -f core conftest.err conftest.$ac_objext \
17834 conftest$ac_exeext conftest.$ac_ext
17835 LIBS=$ac_check_lib_save_LIBS
17837 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc__alloca" >&5
17838 echo "${ECHO_T}$ac_cv_lib_gcc__alloca" >&6; }
17839 if test $ac_cv_lib_gcc__alloca = yes; then
17841 cat >>confdefs.h <<\_ACEOF
17842 #define HAVE__ALLOCA 1
17847 { echo "$as_me:$LINENO: checking for __alloca in -lgcc" >&5
17848 echo $ECHO_N "checking for __alloca in -lgcc... $ECHO_C" >&6; }
17849 if test "${ac_cv_lib_gcc___alloca+set}" = set; then
17850 echo $ECHO_N "(cached) $ECHO_C" >&6
17852 ac_check_lib_save_LIBS=$LIBS
17854 cat >conftest.$ac_ext <<_ACEOF
17857 cat confdefs.h >>conftest.$ac_ext
17858 cat >>conftest.$ac_ext <<_ACEOF
17859 /* end confdefs.h. */
17861 /* Override any GCC internal prototype to avoid an error.
17862 Use char because int might match the return type of a GCC
17863 builtin and then its argument prototype would still apply. */
17871 return __alloca ();
17876 rm -f conftest.$ac_objext conftest$ac_exeext
17877 if { (ac_try="$ac_link"
17878 case "(($ac_try" in
17879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17880 *) ac_try_echo=$ac_try;;
17882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17883 (eval "$ac_link") 2>conftest.er1
17885 grep -v '^ *+' conftest.er1 >conftest.err
17887 cat conftest.err >&5
17888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17889 (exit $ac_status); } &&
17890 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17891 { (case "(($ac_try" in
17892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17893 *) ac_try_echo=$ac_try;;
17895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17896 (eval "$ac_try") 2>&5
17898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17899 (exit $ac_status); }; } &&
17900 { ac_try='test -s conftest$ac_exeext'
17901 { (case "(($ac_try" in
17902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17903 *) ac_try_echo=$ac_try;;
17905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17906 (eval "$ac_try") 2>&5
17908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17909 (exit $ac_status); }; }; then
17910 ac_cv_lib_gcc___alloca=yes
17912 echo "$as_me: failed program was:" >&5
17913 sed 's/^/| /' conftest.$ac_ext >&5
17915 ac_cv_lib_gcc___alloca=no
17918 rm -f core conftest.err conftest.$ac_objext \
17919 conftest$ac_exeext conftest.$ac_ext
17920 LIBS=$ac_check_lib_save_LIBS
17922 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc___alloca" >&5
17923 echo "${ECHO_T}$ac_cv_lib_gcc___alloca" >&6; }
17924 if test $ac_cv_lib_gcc___alloca = yes; then
17926 cat >>confdefs.h <<\_ACEOF
17927 #define HAVE___ALLOCA 1
17932 { echo "$as_me:$LINENO: checking for __chkstk in -lgcc" >&5
17933 echo $ECHO_N "checking for __chkstk in -lgcc... $ECHO_C" >&6; }
17934 if test "${ac_cv_lib_gcc___chkstk+set}" = set; then
17935 echo $ECHO_N "(cached) $ECHO_C" >&6
17937 ac_check_lib_save_LIBS=$LIBS
17939 cat >conftest.$ac_ext <<_ACEOF
17942 cat confdefs.h >>conftest.$ac_ext
17943 cat >>conftest.$ac_ext <<_ACEOF
17944 /* end confdefs.h. */
17946 /* Override any GCC internal prototype to avoid an error.
17947 Use char because int might match the return type of a GCC
17948 builtin and then its argument prototype would still apply. */
17956 return __chkstk ();
17961 rm -f conftest.$ac_objext conftest$ac_exeext
17962 if { (ac_try="$ac_link"
17963 case "(($ac_try" in
17964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17965 *) ac_try_echo=$ac_try;;
17967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17968 (eval "$ac_link") 2>conftest.er1
17970 grep -v '^ *+' conftest.er1 >conftest.err
17972 cat conftest.err >&5
17973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17974 (exit $ac_status); } &&
17975 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17976 { (case "(($ac_try" in
17977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17978 *) ac_try_echo=$ac_try;;
17980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17981 (eval "$ac_try") 2>&5
17983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17984 (exit $ac_status); }; } &&
17985 { ac_try='test -s conftest$ac_exeext'
17986 { (case "(($ac_try" in
17987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17988 *) ac_try_echo=$ac_try;;
17990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17991 (eval "$ac_try") 2>&5
17993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17994 (exit $ac_status); }; }; then
17995 ac_cv_lib_gcc___chkstk=yes
17997 echo "$as_me: failed program was:" >&5
17998 sed 's/^/| /' conftest.$ac_ext >&5
18000 ac_cv_lib_gcc___chkstk=no
18003 rm -f core conftest.err conftest.$ac_objext \
18004 conftest$ac_exeext conftest.$ac_ext
18005 LIBS=$ac_check_lib_save_LIBS
18007 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc___chkstk" >&5
18008 echo "${ECHO_T}$ac_cv_lib_gcc___chkstk" >&6; }
18009 if test $ac_cv_lib_gcc___chkstk = yes; then
18011 cat >>confdefs.h <<\_ACEOF
18012 #define HAVE___CHKSTK 1
18017 { echo "$as_me:$LINENO: checking for ___chkstk in -lgcc" >&5
18018 echo $ECHO_N "checking for ___chkstk in -lgcc... $ECHO_C" >&6; }
18019 if test "${ac_cv_lib_gcc____chkstk+set}" = set; then
18020 echo $ECHO_N "(cached) $ECHO_C" >&6
18022 ac_check_lib_save_LIBS=$LIBS
18024 cat >conftest.$ac_ext <<_ACEOF
18027 cat confdefs.h >>conftest.$ac_ext
18028 cat >>conftest.$ac_ext <<_ACEOF
18029 /* end confdefs.h. */
18031 /* Override any GCC internal prototype to avoid an error.
18032 Use char because int might match the return type of a GCC
18033 builtin and then its argument prototype would still apply. */
18041 return ___chkstk ();
18046 rm -f conftest.$ac_objext conftest$ac_exeext
18047 if { (ac_try="$ac_link"
18048 case "(($ac_try" in
18049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18050 *) ac_try_echo=$ac_try;;
18052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18053 (eval "$ac_link") 2>conftest.er1
18055 grep -v '^ *+' conftest.er1 >conftest.err
18057 cat conftest.err >&5
18058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18059 (exit $ac_status); } &&
18060 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18061 { (case "(($ac_try" in
18062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18063 *) ac_try_echo=$ac_try;;
18065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18066 (eval "$ac_try") 2>&5
18068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18069 (exit $ac_status); }; } &&
18070 { ac_try='test -s conftest$ac_exeext'
18071 { (case "(($ac_try" in
18072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18073 *) ac_try_echo=$ac_try;;
18075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18076 (eval "$ac_try") 2>&5
18078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18079 (exit $ac_status); }; }; then
18080 ac_cv_lib_gcc____chkstk=yes
18082 echo "$as_me: failed program was:" >&5
18083 sed 's/^/| /' conftest.$ac_ext >&5
18085 ac_cv_lib_gcc____chkstk=no
18088 rm -f core conftest.err conftest.$ac_objext \
18089 conftest$ac_exeext conftest.$ac_ext
18090 LIBS=$ac_check_lib_save_LIBS
18092 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc____chkstk" >&5
18093 echo "${ECHO_T}$ac_cv_lib_gcc____chkstk" >&6; }
18094 if test $ac_cv_lib_gcc____chkstk = yes; then
18096 cat >>confdefs.h <<\_ACEOF
18097 #define HAVE____CHKSTK 1
18103 { echo "$as_me:$LINENO: checking for __ashldi3 in -lgcc" >&5
18104 echo $ECHO_N "checking for __ashldi3 in -lgcc... $ECHO_C" >&6; }
18105 if test "${ac_cv_lib_gcc___ashldi3+set}" = set; then
18106 echo $ECHO_N "(cached) $ECHO_C" >&6
18108 ac_check_lib_save_LIBS=$LIBS
18110 cat >conftest.$ac_ext <<_ACEOF
18113 cat confdefs.h >>conftest.$ac_ext
18114 cat >>conftest.$ac_ext <<_ACEOF
18115 /* end confdefs.h. */
18117 /* Override any GCC internal prototype to avoid an error.
18118 Use char because int might match the return type of a GCC
18119 builtin and then its argument prototype would still apply. */
18127 return __ashldi3 ();
18132 rm -f conftest.$ac_objext conftest$ac_exeext
18133 if { (ac_try="$ac_link"
18134 case "(($ac_try" in
18135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18136 *) ac_try_echo=$ac_try;;
18138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18139 (eval "$ac_link") 2>conftest.er1
18141 grep -v '^ *+' conftest.er1 >conftest.err
18143 cat conftest.err >&5
18144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18145 (exit $ac_status); } &&
18146 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18147 { (case "(($ac_try" in
18148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18149 *) ac_try_echo=$ac_try;;
18151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18152 (eval "$ac_try") 2>&5
18154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18155 (exit $ac_status); }; } &&
18156 { ac_try='test -s conftest$ac_exeext'
18157 { (case "(($ac_try" in
18158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18159 *) ac_try_echo=$ac_try;;
18161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18162 (eval "$ac_try") 2>&5
18164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18165 (exit $ac_status); }; }; then
18166 ac_cv_lib_gcc___ashldi3=yes
18168 echo "$as_me: failed program was:" >&5
18169 sed 's/^/| /' conftest.$ac_ext >&5
18171 ac_cv_lib_gcc___ashldi3=no
18174 rm -f core conftest.err conftest.$ac_objext \
18175 conftest$ac_exeext conftest.$ac_ext
18176 LIBS=$ac_check_lib_save_LIBS
18178 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc___ashldi3" >&5
18179 echo "${ECHO_T}$ac_cv_lib_gcc___ashldi3" >&6; }
18180 if test $ac_cv_lib_gcc___ashldi3 = yes; then
18182 cat >>confdefs.h <<\_ACEOF
18183 #define HAVE___ASHLDI3 1
18188 { echo "$as_me:$LINENO: checking for __ashrdi3 in -lgcc" >&5
18189 echo $ECHO_N "checking for __ashrdi3 in -lgcc... $ECHO_C" >&6; }
18190 if test "${ac_cv_lib_gcc___ashrdi3+set}" = set; then
18191 echo $ECHO_N "(cached) $ECHO_C" >&6
18193 ac_check_lib_save_LIBS=$LIBS
18195 cat >conftest.$ac_ext <<_ACEOF
18198 cat confdefs.h >>conftest.$ac_ext
18199 cat >>conftest.$ac_ext <<_ACEOF
18200 /* end confdefs.h. */
18202 /* Override any GCC internal prototype to avoid an error.
18203 Use char because int might match the return type of a GCC
18204 builtin and then its argument prototype would still apply. */
18212 return __ashrdi3 ();
18217 rm -f conftest.$ac_objext conftest$ac_exeext
18218 if { (ac_try="$ac_link"
18219 case "(($ac_try" in
18220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18221 *) ac_try_echo=$ac_try;;
18223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18224 (eval "$ac_link") 2>conftest.er1
18226 grep -v '^ *+' conftest.er1 >conftest.err
18228 cat conftest.err >&5
18229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18230 (exit $ac_status); } &&
18231 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18232 { (case "(($ac_try" in
18233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18234 *) ac_try_echo=$ac_try;;
18236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18237 (eval "$ac_try") 2>&5
18239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18240 (exit $ac_status); }; } &&
18241 { ac_try='test -s conftest$ac_exeext'
18242 { (case "(($ac_try" in
18243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18244 *) ac_try_echo=$ac_try;;
18246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18247 (eval "$ac_try") 2>&5
18249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18250 (exit $ac_status); }; }; then
18251 ac_cv_lib_gcc___ashrdi3=yes
18253 echo "$as_me: failed program was:" >&5
18254 sed 's/^/| /' conftest.$ac_ext >&5
18256 ac_cv_lib_gcc___ashrdi3=no
18259 rm -f core conftest.err conftest.$ac_objext \
18260 conftest$ac_exeext conftest.$ac_ext
18261 LIBS=$ac_check_lib_save_LIBS
18263 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc___ashrdi3" >&5
18264 echo "${ECHO_T}$ac_cv_lib_gcc___ashrdi3" >&6; }
18265 if test $ac_cv_lib_gcc___ashrdi3 = yes; then
18267 cat >>confdefs.h <<\_ACEOF
18268 #define HAVE___ASHRDI3 1
18273 { echo "$as_me:$LINENO: checking for __divdi3 in -lgcc" >&5
18274 echo $ECHO_N "checking for __divdi3 in -lgcc... $ECHO_C" >&6; }
18275 if test "${ac_cv_lib_gcc___divdi3+set}" = set; then
18276 echo $ECHO_N "(cached) $ECHO_C" >&6
18278 ac_check_lib_save_LIBS=$LIBS
18280 cat >conftest.$ac_ext <<_ACEOF
18283 cat confdefs.h >>conftest.$ac_ext
18284 cat >>conftest.$ac_ext <<_ACEOF
18285 /* end confdefs.h. */
18287 /* Override any GCC internal prototype to avoid an error.
18288 Use char because int might match the return type of a GCC
18289 builtin and then its argument prototype would still apply. */
18297 return __divdi3 ();
18302 rm -f conftest.$ac_objext conftest$ac_exeext
18303 if { (ac_try="$ac_link"
18304 case "(($ac_try" in
18305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18306 *) ac_try_echo=$ac_try;;
18308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18309 (eval "$ac_link") 2>conftest.er1
18311 grep -v '^ *+' conftest.er1 >conftest.err
18313 cat conftest.err >&5
18314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18315 (exit $ac_status); } &&
18316 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18317 { (case "(($ac_try" in
18318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18319 *) ac_try_echo=$ac_try;;
18321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18322 (eval "$ac_try") 2>&5
18324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18325 (exit $ac_status); }; } &&
18326 { ac_try='test -s conftest$ac_exeext'
18327 { (case "(($ac_try" in
18328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18329 *) ac_try_echo=$ac_try;;
18331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18332 (eval "$ac_try") 2>&5
18334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18335 (exit $ac_status); }; }; then
18336 ac_cv_lib_gcc___divdi3=yes
18338 echo "$as_me: failed program was:" >&5
18339 sed 's/^/| /' conftest.$ac_ext >&5
18341 ac_cv_lib_gcc___divdi3=no
18344 rm -f core conftest.err conftest.$ac_objext \
18345 conftest$ac_exeext conftest.$ac_ext
18346 LIBS=$ac_check_lib_save_LIBS
18348 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc___divdi3" >&5
18349 echo "${ECHO_T}$ac_cv_lib_gcc___divdi3" >&6; }
18350 if test $ac_cv_lib_gcc___divdi3 = yes; then
18352 cat >>confdefs.h <<\_ACEOF
18353 #define HAVE___DIVDI3 1
18358 { echo "$as_me:$LINENO: checking for __fixdfdi in -lgcc" >&5
18359 echo $ECHO_N "checking for __fixdfdi in -lgcc... $ECHO_C" >&6; }
18360 if test "${ac_cv_lib_gcc___fixdfdi+set}" = set; then
18361 echo $ECHO_N "(cached) $ECHO_C" >&6
18363 ac_check_lib_save_LIBS=$LIBS
18365 cat >conftest.$ac_ext <<_ACEOF
18368 cat confdefs.h >>conftest.$ac_ext
18369 cat >>conftest.$ac_ext <<_ACEOF
18370 /* end confdefs.h. */
18372 /* Override any GCC internal prototype to avoid an error.
18373 Use char because int might match the return type of a GCC
18374 builtin and then its argument prototype would still apply. */
18382 return __fixdfdi ();
18387 rm -f conftest.$ac_objext conftest$ac_exeext
18388 if { (ac_try="$ac_link"
18389 case "(($ac_try" in
18390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18391 *) ac_try_echo=$ac_try;;
18393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18394 (eval "$ac_link") 2>conftest.er1
18396 grep -v '^ *+' conftest.er1 >conftest.err
18398 cat conftest.err >&5
18399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18400 (exit $ac_status); } &&
18401 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18402 { (case "(($ac_try" in
18403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18404 *) ac_try_echo=$ac_try;;
18406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18407 (eval "$ac_try") 2>&5
18409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18410 (exit $ac_status); }; } &&
18411 { ac_try='test -s conftest$ac_exeext'
18412 { (case "(($ac_try" in
18413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18414 *) ac_try_echo=$ac_try;;
18416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18417 (eval "$ac_try") 2>&5
18419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18420 (exit $ac_status); }; }; then
18421 ac_cv_lib_gcc___fixdfdi=yes
18423 echo "$as_me: failed program was:" >&5
18424 sed 's/^/| /' conftest.$ac_ext >&5
18426 ac_cv_lib_gcc___fixdfdi=no
18429 rm -f core conftest.err conftest.$ac_objext \
18430 conftest$ac_exeext conftest.$ac_ext
18431 LIBS=$ac_check_lib_save_LIBS
18433 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc___fixdfdi" >&5
18434 echo "${ECHO_T}$ac_cv_lib_gcc___fixdfdi" >&6; }
18435 if test $ac_cv_lib_gcc___fixdfdi = yes; then
18437 cat >>confdefs.h <<\_ACEOF
18438 #define HAVE___FIXDFDI 1
18443 { echo "$as_me:$LINENO: checking for __fixsfdi in -lgcc" >&5
18444 echo $ECHO_N "checking for __fixsfdi in -lgcc... $ECHO_C" >&6; }
18445 if test "${ac_cv_lib_gcc___fixsfdi+set}" = set; then
18446 echo $ECHO_N "(cached) $ECHO_C" >&6
18448 ac_check_lib_save_LIBS=$LIBS
18450 cat >conftest.$ac_ext <<_ACEOF
18453 cat confdefs.h >>conftest.$ac_ext
18454 cat >>conftest.$ac_ext <<_ACEOF
18455 /* end confdefs.h. */
18457 /* Override any GCC internal prototype to avoid an error.
18458 Use char because int might match the return type of a GCC
18459 builtin and then its argument prototype would still apply. */
18467 return __fixsfdi ();
18472 rm -f conftest.$ac_objext conftest$ac_exeext
18473 if { (ac_try="$ac_link"
18474 case "(($ac_try" in
18475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18476 *) ac_try_echo=$ac_try;;
18478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18479 (eval "$ac_link") 2>conftest.er1
18481 grep -v '^ *+' conftest.er1 >conftest.err
18483 cat conftest.err >&5
18484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18485 (exit $ac_status); } &&
18486 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18487 { (case "(($ac_try" in
18488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18489 *) ac_try_echo=$ac_try;;
18491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18492 (eval "$ac_try") 2>&5
18494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18495 (exit $ac_status); }; } &&
18496 { ac_try='test -s conftest$ac_exeext'
18497 { (case "(($ac_try" in
18498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18499 *) ac_try_echo=$ac_try;;
18501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18502 (eval "$ac_try") 2>&5
18504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18505 (exit $ac_status); }; }; then
18506 ac_cv_lib_gcc___fixsfdi=yes
18508 echo "$as_me: failed program was:" >&5
18509 sed 's/^/| /' conftest.$ac_ext >&5
18511 ac_cv_lib_gcc___fixsfdi=no
18514 rm -f core conftest.err conftest.$ac_objext \
18515 conftest$ac_exeext conftest.$ac_ext
18516 LIBS=$ac_check_lib_save_LIBS
18518 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc___fixsfdi" >&5
18519 echo "${ECHO_T}$ac_cv_lib_gcc___fixsfdi" >&6; }
18520 if test $ac_cv_lib_gcc___fixsfdi = yes; then
18522 cat >>confdefs.h <<\_ACEOF
18523 #define HAVE___FIXSFDI 1
18528 { echo "$as_me:$LINENO: checking for __floatdidf in -lgcc" >&5
18529 echo $ECHO_N "checking for __floatdidf in -lgcc... $ECHO_C" >&6; }
18530 if test "${ac_cv_lib_gcc___floatdidf+set}" = set; then
18531 echo $ECHO_N "(cached) $ECHO_C" >&6
18533 ac_check_lib_save_LIBS=$LIBS
18535 cat >conftest.$ac_ext <<_ACEOF
18538 cat confdefs.h >>conftest.$ac_ext
18539 cat >>conftest.$ac_ext <<_ACEOF
18540 /* end confdefs.h. */
18542 /* Override any GCC internal prototype to avoid an error.
18543 Use char because int might match the return type of a GCC
18544 builtin and then its argument prototype would still apply. */
18548 char __floatdidf ();
18552 return __floatdidf ();
18557 rm -f conftest.$ac_objext conftest$ac_exeext
18558 if { (ac_try="$ac_link"
18559 case "(($ac_try" in
18560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18561 *) ac_try_echo=$ac_try;;
18563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18564 (eval "$ac_link") 2>conftest.er1
18566 grep -v '^ *+' conftest.er1 >conftest.err
18568 cat conftest.err >&5
18569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18570 (exit $ac_status); } &&
18571 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18572 { (case "(($ac_try" in
18573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18574 *) ac_try_echo=$ac_try;;
18576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18577 (eval "$ac_try") 2>&5
18579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18580 (exit $ac_status); }; } &&
18581 { ac_try='test -s conftest$ac_exeext'
18582 { (case "(($ac_try" in
18583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18584 *) ac_try_echo=$ac_try;;
18586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18587 (eval "$ac_try") 2>&5
18589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18590 (exit $ac_status); }; }; then
18591 ac_cv_lib_gcc___floatdidf=yes
18593 echo "$as_me: failed program was:" >&5
18594 sed 's/^/| /' conftest.$ac_ext >&5
18596 ac_cv_lib_gcc___floatdidf=no
18599 rm -f core conftest.err conftest.$ac_objext \
18600 conftest$ac_exeext conftest.$ac_ext
18601 LIBS=$ac_check_lib_save_LIBS
18603 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc___floatdidf" >&5
18604 echo "${ECHO_T}$ac_cv_lib_gcc___floatdidf" >&6; }
18605 if test $ac_cv_lib_gcc___floatdidf = yes; then
18607 cat >>confdefs.h <<\_ACEOF
18608 #define HAVE___FLOATDIDF 1
18613 { echo "$as_me:$LINENO: checking for __lshrdi3 in -lgcc" >&5
18614 echo $ECHO_N "checking for __lshrdi3 in -lgcc... $ECHO_C" >&6; }
18615 if test "${ac_cv_lib_gcc___lshrdi3+set}" = set; then
18616 echo $ECHO_N "(cached) $ECHO_C" >&6
18618 ac_check_lib_save_LIBS=$LIBS
18620 cat >conftest.$ac_ext <<_ACEOF
18623 cat confdefs.h >>conftest.$ac_ext
18624 cat >>conftest.$ac_ext <<_ACEOF
18625 /* end confdefs.h. */
18627 /* Override any GCC internal prototype to avoid an error.
18628 Use char because int might match the return type of a GCC
18629 builtin and then its argument prototype would still apply. */
18637 return __lshrdi3 ();
18642 rm -f conftest.$ac_objext conftest$ac_exeext
18643 if { (ac_try="$ac_link"
18644 case "(($ac_try" in
18645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18646 *) ac_try_echo=$ac_try;;
18648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18649 (eval "$ac_link") 2>conftest.er1
18651 grep -v '^ *+' conftest.er1 >conftest.err
18653 cat conftest.err >&5
18654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18655 (exit $ac_status); } &&
18656 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18657 { (case "(($ac_try" in
18658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18659 *) ac_try_echo=$ac_try;;
18661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18662 (eval "$ac_try") 2>&5
18664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18665 (exit $ac_status); }; } &&
18666 { ac_try='test -s conftest$ac_exeext'
18667 { (case "(($ac_try" in
18668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18669 *) ac_try_echo=$ac_try;;
18671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18672 (eval "$ac_try") 2>&5
18674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18675 (exit $ac_status); }; }; then
18676 ac_cv_lib_gcc___lshrdi3=yes
18678 echo "$as_me: failed program was:" >&5
18679 sed 's/^/| /' conftest.$ac_ext >&5
18681 ac_cv_lib_gcc___lshrdi3=no
18684 rm -f core conftest.err conftest.$ac_objext \
18685 conftest$ac_exeext conftest.$ac_ext
18686 LIBS=$ac_check_lib_save_LIBS
18688 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc___lshrdi3" >&5
18689 echo "${ECHO_T}$ac_cv_lib_gcc___lshrdi3" >&6; }
18690 if test $ac_cv_lib_gcc___lshrdi3 = yes; then
18692 cat >>confdefs.h <<\_ACEOF
18693 #define HAVE___LSHRDI3 1
18698 { echo "$as_me:$LINENO: checking for __moddi3 in -lgcc" >&5
18699 echo $ECHO_N "checking for __moddi3 in -lgcc... $ECHO_C" >&6; }
18700 if test "${ac_cv_lib_gcc___moddi3+set}" = set; then
18701 echo $ECHO_N "(cached) $ECHO_C" >&6
18703 ac_check_lib_save_LIBS=$LIBS
18705 cat >conftest.$ac_ext <<_ACEOF
18708 cat confdefs.h >>conftest.$ac_ext
18709 cat >>conftest.$ac_ext <<_ACEOF
18710 /* end confdefs.h. */
18712 /* Override any GCC internal prototype to avoid an error.
18713 Use char because int might match the return type of a GCC
18714 builtin and then its argument prototype would still apply. */
18722 return __moddi3 ();
18727 rm -f conftest.$ac_objext conftest$ac_exeext
18728 if { (ac_try="$ac_link"
18729 case "(($ac_try" in
18730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18731 *) ac_try_echo=$ac_try;;
18733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18734 (eval "$ac_link") 2>conftest.er1
18736 grep -v '^ *+' conftest.er1 >conftest.err
18738 cat conftest.err >&5
18739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18740 (exit $ac_status); } &&
18741 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18742 { (case "(($ac_try" in
18743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18744 *) ac_try_echo=$ac_try;;
18746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18747 (eval "$ac_try") 2>&5
18749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18750 (exit $ac_status); }; } &&
18751 { ac_try='test -s conftest$ac_exeext'
18752 { (case "(($ac_try" in
18753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18754 *) ac_try_echo=$ac_try;;
18756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18757 (eval "$ac_try") 2>&5
18759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18760 (exit $ac_status); }; }; then
18761 ac_cv_lib_gcc___moddi3=yes
18763 echo "$as_me: failed program was:" >&5
18764 sed 's/^/| /' conftest.$ac_ext >&5
18766 ac_cv_lib_gcc___moddi3=no
18769 rm -f core conftest.err conftest.$ac_objext \
18770 conftest$ac_exeext conftest.$ac_ext
18771 LIBS=$ac_check_lib_save_LIBS
18773 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc___moddi3" >&5
18774 echo "${ECHO_T}$ac_cv_lib_gcc___moddi3" >&6; }
18775 if test $ac_cv_lib_gcc___moddi3 = yes; then
18777 cat >>confdefs.h <<\_ACEOF
18778 #define HAVE___MODDI3 1
18783 { echo "$as_me:$LINENO: checking for __udivdi3 in -lgcc" >&5
18784 echo $ECHO_N "checking for __udivdi3 in -lgcc... $ECHO_C" >&6; }
18785 if test "${ac_cv_lib_gcc___udivdi3+set}" = set; then
18786 echo $ECHO_N "(cached) $ECHO_C" >&6
18788 ac_check_lib_save_LIBS=$LIBS
18790 cat >conftest.$ac_ext <<_ACEOF
18793 cat confdefs.h >>conftest.$ac_ext
18794 cat >>conftest.$ac_ext <<_ACEOF
18795 /* end confdefs.h. */
18797 /* Override any GCC internal prototype to avoid an error.
18798 Use char because int might match the return type of a GCC
18799 builtin and then its argument prototype would still apply. */
18807 return __udivdi3 ();
18812 rm -f conftest.$ac_objext conftest$ac_exeext
18813 if { (ac_try="$ac_link"
18814 case "(($ac_try" in
18815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18816 *) ac_try_echo=$ac_try;;
18818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18819 (eval "$ac_link") 2>conftest.er1
18821 grep -v '^ *+' conftest.er1 >conftest.err
18823 cat conftest.err >&5
18824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18825 (exit $ac_status); } &&
18826 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18827 { (case "(($ac_try" in
18828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18829 *) ac_try_echo=$ac_try;;
18831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18832 (eval "$ac_try") 2>&5
18834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18835 (exit $ac_status); }; } &&
18836 { ac_try='test -s conftest$ac_exeext'
18837 { (case "(($ac_try" in
18838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18839 *) ac_try_echo=$ac_try;;
18841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18842 (eval "$ac_try") 2>&5
18844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18845 (exit $ac_status); }; }; then
18846 ac_cv_lib_gcc___udivdi3=yes
18848 echo "$as_me: failed program was:" >&5
18849 sed 's/^/| /' conftest.$ac_ext >&5
18851 ac_cv_lib_gcc___udivdi3=no
18854 rm -f core conftest.err conftest.$ac_objext \
18855 conftest$ac_exeext conftest.$ac_ext
18856 LIBS=$ac_check_lib_save_LIBS
18858 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc___udivdi3" >&5
18859 echo "${ECHO_T}$ac_cv_lib_gcc___udivdi3" >&6; }
18860 if test $ac_cv_lib_gcc___udivdi3 = yes; then
18862 cat >>confdefs.h <<\_ACEOF
18863 #define HAVE___UDIVDI3 1
18868 { echo "$as_me:$LINENO: checking for __umoddi3 in -lgcc" >&5
18869 echo $ECHO_N "checking for __umoddi3 in -lgcc... $ECHO_C" >&6; }
18870 if test "${ac_cv_lib_gcc___umoddi3+set}" = set; then
18871 echo $ECHO_N "(cached) $ECHO_C" >&6
18873 ac_check_lib_save_LIBS=$LIBS
18875 cat >conftest.$ac_ext <<_ACEOF
18878 cat confdefs.h >>conftest.$ac_ext
18879 cat >>conftest.$ac_ext <<_ACEOF
18880 /* end confdefs.h. */
18882 /* Override any GCC internal prototype to avoid an error.
18883 Use char because int might match the return type of a GCC
18884 builtin and then its argument prototype would still apply. */
18892 return __umoddi3 ();
18897 rm -f conftest.$ac_objext conftest$ac_exeext
18898 if { (ac_try="$ac_link"
18899 case "(($ac_try" in
18900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18901 *) ac_try_echo=$ac_try;;
18903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18904 (eval "$ac_link") 2>conftest.er1
18906 grep -v '^ *+' conftest.er1 >conftest.err
18908 cat conftest.err >&5
18909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18910 (exit $ac_status); } &&
18911 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18912 { (case "(($ac_try" in
18913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18914 *) ac_try_echo=$ac_try;;
18916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18917 (eval "$ac_try") 2>&5
18919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18920 (exit $ac_status); }; } &&
18921 { ac_try='test -s conftest$ac_exeext'
18922 { (case "(($ac_try" in
18923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18924 *) ac_try_echo=$ac_try;;
18926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18927 (eval "$ac_try") 2>&5
18929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18930 (exit $ac_status); }; }; then
18931 ac_cv_lib_gcc___umoddi3=yes
18933 echo "$as_me: failed program was:" >&5
18934 sed 's/^/| /' conftest.$ac_ext >&5
18936 ac_cv_lib_gcc___umoddi3=no
18939 rm -f core conftest.err conftest.$ac_objext \
18940 conftest$ac_exeext conftest.$ac_ext
18941 LIBS=$ac_check_lib_save_LIBS
18943 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc___umoddi3" >&5
18944 echo "${ECHO_T}$ac_cv_lib_gcc___umoddi3" >&6; }
18945 if test $ac_cv_lib_gcc___umoddi3 = yes; then
18947 cat >>confdefs.h <<\_ACEOF
18948 #define HAVE___UMODDI3 1
18954 { echo "$as_me:$LINENO: checking for __main in -lgcc" >&5
18955 echo $ECHO_N "checking for __main in -lgcc... $ECHO_C" >&6; }
18956 if test "${ac_cv_lib_gcc___main+set}" = set; then
18957 echo $ECHO_N "(cached) $ECHO_C" >&6
18959 ac_check_lib_save_LIBS=$LIBS
18961 cat >conftest.$ac_ext <<_ACEOF
18964 cat confdefs.h >>conftest.$ac_ext
18965 cat >>conftest.$ac_ext <<_ACEOF
18966 /* end confdefs.h. */
18968 /* Override any GCC internal prototype to avoid an error.
18969 Use char because int might match the return type of a GCC
18970 builtin and then its argument prototype would still apply. */
18983 rm -f conftest.$ac_objext conftest$ac_exeext
18984 if { (ac_try="$ac_link"
18985 case "(($ac_try" in
18986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18987 *) ac_try_echo=$ac_try;;
18989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18990 (eval "$ac_link") 2>conftest.er1
18992 grep -v '^ *+' conftest.er1 >conftest.err
18994 cat conftest.err >&5
18995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18996 (exit $ac_status); } &&
18997 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18998 { (case "(($ac_try" in
18999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19000 *) ac_try_echo=$ac_try;;
19002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19003 (eval "$ac_try") 2>&5
19005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19006 (exit $ac_status); }; } &&
19007 { ac_try='test -s conftest$ac_exeext'
19008 { (case "(($ac_try" in
19009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19010 *) ac_try_echo=$ac_try;;
19012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19013 (eval "$ac_try") 2>&5
19015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19016 (exit $ac_status); }; }; then
19017 ac_cv_lib_gcc___main=yes
19019 echo "$as_me: failed program was:" >&5
19020 sed 's/^/| /' conftest.$ac_ext >&5
19022 ac_cv_lib_gcc___main=no
19025 rm -f core conftest.err conftest.$ac_objext \
19026 conftest$ac_exeext conftest.$ac_ext
19027 LIBS=$ac_check_lib_save_LIBS
19029 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc___main" >&5
19030 echo "${ECHO_T}$ac_cv_lib_gcc___main" >&6; }
19031 if test $ac_cv_lib_gcc___main = yes; then
19033 cat >>confdefs.h <<\_ACEOF
19034 #define HAVE___MAIN 1
19039 { echo "$as_me:$LINENO: checking for __cmpdi2 in -lgcc" >&5
19040 echo $ECHO_N "checking for __cmpdi2 in -lgcc... $ECHO_C" >&6; }
19041 if test "${ac_cv_lib_gcc___cmpdi2+set}" = set; then
19042 echo $ECHO_N "(cached) $ECHO_C" >&6
19044 ac_check_lib_save_LIBS=$LIBS
19046 cat >conftest.$ac_ext <<_ACEOF
19049 cat confdefs.h >>conftest.$ac_ext
19050 cat >>conftest.$ac_ext <<_ACEOF
19051 /* end confdefs.h. */
19053 /* Override any GCC internal prototype to avoid an error.
19054 Use char because int might match the return type of a GCC
19055 builtin and then its argument prototype would still apply. */
19063 return __cmpdi2 ();
19068 rm -f conftest.$ac_objext conftest$ac_exeext
19069 if { (ac_try="$ac_link"
19070 case "(($ac_try" in
19071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19072 *) ac_try_echo=$ac_try;;
19074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19075 (eval "$ac_link") 2>conftest.er1
19077 grep -v '^ *+' conftest.er1 >conftest.err
19079 cat conftest.err >&5
19080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19081 (exit $ac_status); } &&
19082 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19083 { (case "(($ac_try" in
19084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19085 *) ac_try_echo=$ac_try;;
19087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19088 (eval "$ac_try") 2>&5
19090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19091 (exit $ac_status); }; } &&
19092 { ac_try='test -s conftest$ac_exeext'
19093 { (case "(($ac_try" in
19094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19095 *) ac_try_echo=$ac_try;;
19097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19098 (eval "$ac_try") 2>&5
19100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19101 (exit $ac_status); }; }; then
19102 ac_cv_lib_gcc___cmpdi2=yes
19104 echo "$as_me: failed program was:" >&5
19105 sed 's/^/| /' conftest.$ac_ext >&5
19107 ac_cv_lib_gcc___cmpdi2=no
19110 rm -f core conftest.err conftest.$ac_objext \
19111 conftest$ac_exeext conftest.$ac_ext
19112 LIBS=$ac_check_lib_save_LIBS
19114 { echo "$as_me:$LINENO: result: $ac_cv_lib_gcc___cmpdi2" >&5
19115 echo "${ECHO_T}$ac_cv_lib_gcc___cmpdi2" >&6; }
19116 if test $ac_cv_lib_gcc___cmpdi2 = yes; then
19118 cat >>confdefs.h <<\_ACEOF
19119 #define HAVE___CMPDI2 1
19126 if test "$llvm_cv_os_type" = "MingW" ; then
19127 { echo "$as_me:$LINENO: checking whether EnumerateLoadedModules() accepts new decl" >&5
19128 echo $ECHO_N "checking whether EnumerateLoadedModules() accepts new decl... $ECHO_C" >&6; }
19129 cat >conftest.$ac_ext <<_ACEOF
19130 #include <windows.h>
19131 #include <imagehlp.h>
19132 extern void foo(PENUMLOADED_MODULES_CALLBACK);
19133 extern void foo(BOOL(CALLBACK*)(PCSTR,ULONG_PTR,ULONG,PVOID));
19135 rm -f conftest.$ac_objext
19136 if { (ac_try="$ac_compile"
19137 case "(($ac_try" in
19138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19139 *) ac_try_echo=$ac_try;;
19141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19142 (eval "$ac_compile") 2>conftest.er1
19144 grep -v '^ *+' conftest.er1 >conftest.err
19146 cat conftest.err >&5
19147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19148 (exit $ac_status); } &&
19149 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19150 { (case "(($ac_try" in
19151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19152 *) ac_try_echo=$ac_try;;
19154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19155 (eval "$ac_try") 2>&5
19157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19158 (exit $ac_status); }; } &&
19159 { ac_try='test -s conftest.$ac_objext'
19160 { (case "(($ac_try" in
19161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19162 *) ac_try_echo=$ac_try;;
19164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19165 (eval "$ac_try") 2>&5
19167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19168 (exit $ac_status); }; }; then
19170 { echo "$as_me:$LINENO: result: yes" >&5
19171 echo "${ECHO_T}yes" >&6; }
19172 llvm_cv_win32_elmcb_pcstr="PCSTR"
19175 echo "$as_me: failed program was:" >&5
19176 sed 's/^/| /' conftest.$ac_ext >&5
19179 { echo "$as_me:$LINENO: result: no" >&5
19180 echo "${ECHO_T}no" >&6; }
19181 llvm_cv_win32_elmcb_pcstr="PSTR"
19185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19187 cat >>confdefs.h <<_ACEOF
19188 #define WIN32_ELMCB_PCSTR $llvm_cv_win32_elmcb_pcstr
19194 { echo "$as_me:$LINENO: checking for isnan in <math.h>" >&5
19195 echo $ECHO_N "checking for isnan in <math.h>... $ECHO_C" >&6; }
19196 if test "${ac_cv_func_isnan_in_math_h+set}" = set; then
19197 echo $ECHO_N "(cached) $ECHO_C" >&6
19200 ac_cpp='$CXXCPP $CPPFLAGS'
19201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19205 cat >conftest.$ac_ext <<_ACEOF
19208 cat confdefs.h >>conftest.$ac_ext
19209 cat >>conftest.$ac_ext <<_ACEOF
19210 /* end confdefs.h. */
19220 rm -f conftest.$ac_objext
19221 if { (ac_try="$ac_compile"
19222 case "(($ac_try" in
19223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19224 *) ac_try_echo=$ac_try;;
19226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19227 (eval "$ac_compile") 2>conftest.er1
19229 grep -v '^ *+' conftest.er1 >conftest.err
19231 cat conftest.err >&5
19232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19233 (exit $ac_status); } &&
19234 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19235 { (case "(($ac_try" in
19236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19237 *) ac_try_echo=$ac_try;;
19239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19240 (eval "$ac_try") 2>&5
19242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19243 (exit $ac_status); }; } &&
19244 { ac_try='test -s conftest.$ac_objext'
19245 { (case "(($ac_try" in
19246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19247 *) ac_try_echo=$ac_try;;
19249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19250 (eval "$ac_try") 2>&5
19252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19253 (exit $ac_status); }; }; then
19254 ac_cv_func_isnan_in_math_h=yes
19256 echo "$as_me: failed program was:" >&5
19257 sed 's/^/| /' conftest.$ac_ext >&5
19259 ac_cv_func_isnan_in_math_h=no
19262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19264 ac_cpp='$CPP $CPPFLAGS'
19265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19270 { echo "$as_me:$LINENO: result: $ac_cv_func_isnan_in_math_h" >&5
19271 echo "${ECHO_T}$ac_cv_func_isnan_in_math_h" >&6; }
19274 if test "$ac_cv_func_isnan_in_math_h" = "yes" ; then
19276 cat >>confdefs.h <<\_ACEOF
19277 #define HAVE_ISNAN_IN_MATH_H 1
19282 { echo "$as_me:$LINENO: checking for isnan in <cmath>" >&5
19283 echo $ECHO_N "checking for isnan in <cmath>... $ECHO_C" >&6; }
19284 if test "${ac_cv_func_isnan_in_cmath+set}" = set; then
19285 echo $ECHO_N "(cached) $ECHO_C" >&6
19288 ac_cpp='$CXXCPP $CPPFLAGS'
19289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19293 cat >conftest.$ac_ext <<_ACEOF
19296 cat confdefs.h >>conftest.$ac_ext
19297 cat >>conftest.$ac_ext <<_ACEOF
19298 /* end confdefs.h. */
19308 rm -f conftest.$ac_objext
19309 if { (ac_try="$ac_compile"
19310 case "(($ac_try" in
19311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19312 *) ac_try_echo=$ac_try;;
19314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19315 (eval "$ac_compile") 2>conftest.er1
19317 grep -v '^ *+' conftest.er1 >conftest.err
19319 cat conftest.err >&5
19320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19321 (exit $ac_status); } &&
19322 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19323 { (case "(($ac_try" in
19324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19325 *) ac_try_echo=$ac_try;;
19327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19328 (eval "$ac_try") 2>&5
19330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19331 (exit $ac_status); }; } &&
19332 { ac_try='test -s conftest.$ac_objext'
19333 { (case "(($ac_try" in
19334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19335 *) ac_try_echo=$ac_try;;
19337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19338 (eval "$ac_try") 2>&5
19340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19341 (exit $ac_status); }; }; then
19342 ac_cv_func_isnan_in_cmath=yes
19344 echo "$as_me: failed program was:" >&5
19345 sed 's/^/| /' conftest.$ac_ext >&5
19347 ac_cv_func_isnan_in_cmath=no
19350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19352 ac_cpp='$CPP $CPPFLAGS'
19353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19358 { echo "$as_me:$LINENO: result: $ac_cv_func_isnan_in_cmath" >&5
19359 echo "${ECHO_T}$ac_cv_func_isnan_in_cmath" >&6; }
19361 if test "$ac_cv_func_isnan_in_cmath" = "yes" ; then
19363 cat >>confdefs.h <<\_ACEOF
19364 #define HAVE_ISNAN_IN_CMATH 1
19369 { echo "$as_me:$LINENO: checking for std::isnan in <cmath>" >&5
19370 echo $ECHO_N "checking for std::isnan in <cmath>... $ECHO_C" >&6; }
19371 if test "${ac_cv_func_std_isnan_in_cmath+set}" = set; then
19372 echo $ECHO_N "(cached) $ECHO_C" >&6
19375 ac_cpp='$CXXCPP $CPPFLAGS'
19376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19380 cat >conftest.$ac_ext <<_ACEOF
19383 cat confdefs.h >>conftest.$ac_ext
19384 cat >>conftest.$ac_ext <<_ACEOF
19385 /* end confdefs.h. */
19390 float f; std::isnan(f);
19395 rm -f conftest.$ac_objext
19396 if { (ac_try="$ac_compile"
19397 case "(($ac_try" in
19398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19399 *) ac_try_echo=$ac_try;;
19401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19402 (eval "$ac_compile") 2>conftest.er1
19404 grep -v '^ *+' conftest.er1 >conftest.err
19406 cat conftest.err >&5
19407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19408 (exit $ac_status); } &&
19409 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19410 { (case "(($ac_try" in
19411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19412 *) ac_try_echo=$ac_try;;
19414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19415 (eval "$ac_try") 2>&5
19417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19418 (exit $ac_status); }; } &&
19419 { ac_try='test -s conftest.$ac_objext'
19420 { (case "(($ac_try" in
19421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19422 *) ac_try_echo=$ac_try;;
19424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19425 (eval "$ac_try") 2>&5
19427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19428 (exit $ac_status); }; }; then
19429 ac_cv_func_std_isnan_in_cmath=yes
19431 echo "$as_me: failed program was:" >&5
19432 sed 's/^/| /' conftest.$ac_ext >&5
19434 ac_cv_func_std_isnan_in_cmath=no
19437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19439 ac_cpp='$CPP $CPPFLAGS'
19440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19445 { echo "$as_me:$LINENO: result: $ac_cv_func_std_isnan_in_cmath" >&5
19446 echo "${ECHO_T}$ac_cv_func_std_isnan_in_cmath" >&6; }
19448 if test "$ac_cv_func_std_isnan_in_cmath" = "yes" ; then
19450 cat >>confdefs.h <<\_ACEOF
19451 #define HAVE_STD_ISNAN_IN_CMATH 1
19457 { echo "$as_me:$LINENO: checking for isinf in <math.h>" >&5
19458 echo $ECHO_N "checking for isinf in <math.h>... $ECHO_C" >&6; }
19459 if test "${ac_cv_func_isinf_in_math_h+set}" = set; then
19460 echo $ECHO_N "(cached) $ECHO_C" >&6
19463 ac_cpp='$CXXCPP $CPPFLAGS'
19464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19468 cat >conftest.$ac_ext <<_ACEOF
19471 cat confdefs.h >>conftest.$ac_ext
19472 cat >>conftest.$ac_ext <<_ACEOF
19473 /* end confdefs.h. */
19483 rm -f conftest.$ac_objext
19484 if { (ac_try="$ac_compile"
19485 case "(($ac_try" in
19486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19487 *) ac_try_echo=$ac_try;;
19489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19490 (eval "$ac_compile") 2>conftest.er1
19492 grep -v '^ *+' conftest.er1 >conftest.err
19494 cat conftest.err >&5
19495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19496 (exit $ac_status); } &&
19497 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19498 { (case "(($ac_try" in
19499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19500 *) ac_try_echo=$ac_try;;
19502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19503 (eval "$ac_try") 2>&5
19505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19506 (exit $ac_status); }; } &&
19507 { ac_try='test -s conftest.$ac_objext'
19508 { (case "(($ac_try" in
19509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19510 *) ac_try_echo=$ac_try;;
19512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19513 (eval "$ac_try") 2>&5
19515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19516 (exit $ac_status); }; }; then
19517 ac_cv_func_isinf_in_math_h=yes
19519 echo "$as_me: failed program was:" >&5
19520 sed 's/^/| /' conftest.$ac_ext >&5
19522 ac_cv_func_isinf_in_math_h=no
19525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19527 ac_cpp='$CPP $CPPFLAGS'
19528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19533 { echo "$as_me:$LINENO: result: $ac_cv_func_isinf_in_math_h" >&5
19534 echo "${ECHO_T}$ac_cv_func_isinf_in_math_h" >&6; }
19536 if test "$ac_cv_func_isinf_in_math_h" = "yes" ; then
19538 cat >>confdefs.h <<\_ACEOF
19539 #define HAVE_ISINF_IN_MATH_H 1
19544 { echo "$as_me:$LINENO: checking for isinf in <cmath>" >&5
19545 echo $ECHO_N "checking for isinf in <cmath>... $ECHO_C" >&6; }
19546 if test "${ac_cv_func_isinf_in_cmath+set}" = set; then
19547 echo $ECHO_N "(cached) $ECHO_C" >&6
19550 ac_cpp='$CXXCPP $CPPFLAGS'
19551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19555 cat >conftest.$ac_ext <<_ACEOF
19558 cat confdefs.h >>conftest.$ac_ext
19559 cat >>conftest.$ac_ext <<_ACEOF
19560 /* end confdefs.h. */
19570 rm -f conftest.$ac_objext
19571 if { (ac_try="$ac_compile"
19572 case "(($ac_try" in
19573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19574 *) ac_try_echo=$ac_try;;
19576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19577 (eval "$ac_compile") 2>conftest.er1
19579 grep -v '^ *+' conftest.er1 >conftest.err
19581 cat conftest.err >&5
19582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19583 (exit $ac_status); } &&
19584 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19585 { (case "(($ac_try" in
19586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19587 *) ac_try_echo=$ac_try;;
19589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19590 (eval "$ac_try") 2>&5
19592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19593 (exit $ac_status); }; } &&
19594 { ac_try='test -s conftest.$ac_objext'
19595 { (case "(($ac_try" in
19596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19597 *) ac_try_echo=$ac_try;;
19599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19600 (eval "$ac_try") 2>&5
19602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19603 (exit $ac_status); }; }; then
19604 ac_cv_func_isinf_in_cmath=yes
19606 echo "$as_me: failed program was:" >&5
19607 sed 's/^/| /' conftest.$ac_ext >&5
19609 ac_cv_func_isinf_in_cmath=no
19612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19614 ac_cpp='$CPP $CPPFLAGS'
19615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19620 { echo "$as_me:$LINENO: result: $ac_cv_func_isinf_in_cmath" >&5
19621 echo "${ECHO_T}$ac_cv_func_isinf_in_cmath" >&6; }
19623 if test "$ac_cv_func_isinf_in_cmath" = "yes" ; then
19625 cat >>confdefs.h <<\_ACEOF
19626 #define HAVE_ISINF_IN_CMATH 1
19631 { echo "$as_me:$LINENO: checking for std::isinf in <cmath>" >&5
19632 echo $ECHO_N "checking for std::isinf in <cmath>... $ECHO_C" >&6; }
19633 if test "${ac_cv_func_std_isinf_in_cmath+set}" = set; then
19634 echo $ECHO_N "(cached) $ECHO_C" >&6
19637 ac_cpp='$CXXCPP $CPPFLAGS'
19638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19642 cat >conftest.$ac_ext <<_ACEOF
19645 cat confdefs.h >>conftest.$ac_ext
19646 cat >>conftest.$ac_ext <<_ACEOF
19647 /* end confdefs.h. */
19652 float f; std::isinf(f);
19657 rm -f conftest.$ac_objext
19658 if { (ac_try="$ac_compile"
19659 case "(($ac_try" in
19660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19661 *) ac_try_echo=$ac_try;;
19663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19664 (eval "$ac_compile") 2>conftest.er1
19666 grep -v '^ *+' conftest.er1 >conftest.err
19668 cat conftest.err >&5
19669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19670 (exit $ac_status); } &&
19671 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19672 { (case "(($ac_try" in
19673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19674 *) ac_try_echo=$ac_try;;
19676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19677 (eval "$ac_try") 2>&5
19679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19680 (exit $ac_status); }; } &&
19681 { ac_try='test -s conftest.$ac_objext'
19682 { (case "(($ac_try" in
19683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19684 *) ac_try_echo=$ac_try;;
19686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19687 (eval "$ac_try") 2>&5
19689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19690 (exit $ac_status); }; }; then
19691 ac_cv_func_std_isinf_in_cmath=yes
19693 echo "$as_me: failed program was:" >&5
19694 sed 's/^/| /' conftest.$ac_ext >&5
19696 ac_cv_func_std_isinf_in_cmath=no
19699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19701 ac_cpp='$CPP $CPPFLAGS'
19702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19707 { echo "$as_me:$LINENO: result: $ac_cv_func_std_isinf_in_cmath" >&5
19708 echo "${ECHO_T}$ac_cv_func_std_isinf_in_cmath" >&6; }
19710 if test "$ac_cv_func_std_isinf_in_cmath" = "yes" ; then
19712 cat >>confdefs.h <<\_ACEOF
19713 #define HAVE_STD_ISINF_IN_CMATH 1
19718 { echo "$as_me:$LINENO: checking for finite in <ieeefp.h>" >&5
19719 echo $ECHO_N "checking for finite in <ieeefp.h>... $ECHO_C" >&6; }
19720 if test "${ac_cv_func_finite_in_ieeefp_h+set}" = set; then
19721 echo $ECHO_N "(cached) $ECHO_C" >&6
19724 ac_cpp='$CXXCPP $CPPFLAGS'
19725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19729 cat >conftest.$ac_ext <<_ACEOF
19732 cat confdefs.h >>conftest.$ac_ext
19733 cat >>conftest.$ac_ext <<_ACEOF
19734 /* end confdefs.h. */
19735 #include <ieeefp.h>
19739 float f; finite(f);
19744 rm -f conftest.$ac_objext
19745 if { (ac_try="$ac_compile"
19746 case "(($ac_try" in
19747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19748 *) ac_try_echo=$ac_try;;
19750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19751 (eval "$ac_compile") 2>conftest.er1
19753 grep -v '^ *+' conftest.er1 >conftest.err
19755 cat conftest.err >&5
19756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19757 (exit $ac_status); } &&
19758 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19759 { (case "(($ac_try" in
19760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19761 *) ac_try_echo=$ac_try;;
19763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19764 (eval "$ac_try") 2>&5
19766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19767 (exit $ac_status); }; } &&
19768 { ac_try='test -s conftest.$ac_objext'
19769 { (case "(($ac_try" in
19770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19771 *) ac_try_echo=$ac_try;;
19773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19774 (eval "$ac_try") 2>&5
19776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19777 (exit $ac_status); }; }; then
19778 ac_cv_func_finite_in_ieeefp_h=yes
19780 echo "$as_me: failed program was:" >&5
19781 sed 's/^/| /' conftest.$ac_ext >&5
19783 ac_cv_func_finite_in_ieeefp_h=no
19786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19788 ac_cpp='$CPP $CPPFLAGS'
19789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19794 { echo "$as_me:$LINENO: result: $ac_cv_func_finite_in_ieeefp_h" >&5
19795 echo "${ECHO_T}$ac_cv_func_finite_in_ieeefp_h" >&6; }
19797 if test "$ac_cv_func_finite_in_ieeefp_h" = "yes" ; then
19799 cat >>confdefs.h <<\_ACEOF
19800 #define HAVE_FINITE_IN_IEEEFP_H 1
19807 if test "$llvm_cv_platform_type" = "Unix" ; then
19810 for ac_header in stdlib.h unistd.h
19812 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19813 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19814 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19815 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19816 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19817 echo $ECHO_N "(cached) $ECHO_C" >&6
19819 ac_res=`eval echo '${'$as_ac_Header'}'`
19820 { echo "$as_me:$LINENO: result: $ac_res" >&5
19821 echo "${ECHO_T}$ac_res" >&6; }
19823 # Is the header compilable?
19824 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
19825 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
19826 cat >conftest.$ac_ext <<_ACEOF
19829 cat confdefs.h >>conftest.$ac_ext
19830 cat >>conftest.$ac_ext <<_ACEOF
19831 /* end confdefs.h. */
19832 $ac_includes_default
19833 #include <$ac_header>
19835 rm -f conftest.$ac_objext
19836 if { (ac_try="$ac_compile"
19837 case "(($ac_try" in
19838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19839 *) ac_try_echo=$ac_try;;
19841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19842 (eval "$ac_compile") 2>conftest.er1
19844 grep -v '^ *+' conftest.er1 >conftest.err
19846 cat conftest.err >&5
19847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19848 (exit $ac_status); } &&
19849 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19850 { (case "(($ac_try" in
19851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19852 *) ac_try_echo=$ac_try;;
19854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19855 (eval "$ac_try") 2>&5
19857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19858 (exit $ac_status); }; } &&
19859 { ac_try='test -s conftest.$ac_objext'
19860 { (case "(($ac_try" in
19861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19862 *) ac_try_echo=$ac_try;;
19864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19865 (eval "$ac_try") 2>&5
19867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19868 (exit $ac_status); }; }; then
19869 ac_header_compiler=yes
19871 echo "$as_me: failed program was:" >&5
19872 sed 's/^/| /' conftest.$ac_ext >&5
19874 ac_header_compiler=no
19877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19878 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19879 echo "${ECHO_T}$ac_header_compiler" >&6; }
19881 # Is the header present?
19882 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
19883 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
19884 cat >conftest.$ac_ext <<_ACEOF
19887 cat confdefs.h >>conftest.$ac_ext
19888 cat >>conftest.$ac_ext <<_ACEOF
19889 /* end confdefs.h. */
19890 #include <$ac_header>
19892 if { (ac_try="$ac_cpp conftest.$ac_ext"
19893 case "(($ac_try" in
19894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19895 *) ac_try_echo=$ac_try;;
19897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19898 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
19900 grep -v '^ *+' conftest.er1 >conftest.err
19902 cat conftest.err >&5
19903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19904 (exit $ac_status); } >/dev/null; then
19905 if test -s conftest.err; then
19906 ac_cpp_err=$ac_c_preproc_warn_flag
19907 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
19914 if test -z "$ac_cpp_err"; then
19915 ac_header_preproc=yes
19917 echo "$as_me: failed program was:" >&5
19918 sed 's/^/| /' conftest.$ac_ext >&5
19920 ac_header_preproc=no
19923 rm -f conftest.err conftest.$ac_ext
19924 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19925 echo "${ECHO_T}$ac_header_preproc" >&6; }
19927 # So? What about this header?
19928 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19930 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19931 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19932 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19933 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19934 ac_header_preproc=yes
19937 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19938 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19939 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19940 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19941 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19942 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19943 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19944 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19945 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19946 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19947 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19948 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19950 ## ------------------------------ ##
19951 ## Report this to bugs@yourdomain ##
19952 ## ------------------------------ ##
19954 ) | sed "s/^/$as_me: WARNING: /" >&2
19957 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19958 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19959 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19960 echo $ECHO_N "(cached) $ECHO_C" >&6
19962 eval "$as_ac_Header=\$ac_header_preproc"
19964 ac_res=`eval echo '${'$as_ac_Header'}'`
19965 { echo "$as_me:$LINENO: result: $ac_res" >&5
19966 echo "${ECHO_T}$ac_res" >&6; }
19969 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19970 cat >>confdefs.h <<_ACEOF
19971 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19979 for ac_func in getpagesize
19981 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19982 { echo "$as_me:$LINENO: checking for $ac_func" >&5
19983 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
19984 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
19985 echo $ECHO_N "(cached) $ECHO_C" >&6
19987 cat >conftest.$ac_ext <<_ACEOF
19990 cat confdefs.h >>conftest.$ac_ext
19991 cat >>conftest.$ac_ext <<_ACEOF
19992 /* end confdefs.h. */
19993 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19994 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19995 #define $ac_func innocuous_$ac_func
19997 /* System header to define __stub macros and hopefully few prototypes,
19998 which can conflict with char $ac_func (); below.
19999 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20000 <limits.h> exists even on freestanding compilers. */
20003 # include <limits.h>
20005 # include <assert.h>
20010 /* Override any GCC internal prototype to avoid an error.
20011 Use char because int might match the return type of a GCC
20012 builtin and then its argument prototype would still apply. */
20017 /* The GNU C library defines this for functions which it implements
20018 to always fail with ENOSYS. Some functions are actually named
20019 something starting with __ and the normal name is an alias. */
20020 #if defined __stub_$ac_func || defined __stub___$ac_func
20027 return $ac_func ();
20032 rm -f conftest.$ac_objext conftest$ac_exeext
20033 if { (ac_try="$ac_link"
20034 case "(($ac_try" in
20035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20036 *) ac_try_echo=$ac_try;;
20038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20039 (eval "$ac_link") 2>conftest.er1
20041 grep -v '^ *+' conftest.er1 >conftest.err
20043 cat conftest.err >&5
20044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20045 (exit $ac_status); } &&
20046 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20047 { (case "(($ac_try" in
20048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20049 *) ac_try_echo=$ac_try;;
20051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20052 (eval "$ac_try") 2>&5
20054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20055 (exit $ac_status); }; } &&
20056 { ac_try='test -s conftest$ac_exeext'
20057 { (case "(($ac_try" in
20058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20059 *) ac_try_echo=$ac_try;;
20061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20062 (eval "$ac_try") 2>&5
20064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20065 (exit $ac_status); }; }; then
20066 eval "$as_ac_var=yes"
20068 echo "$as_me: failed program was:" >&5
20069 sed 's/^/| /' conftest.$ac_ext >&5
20071 eval "$as_ac_var=no"
20074 rm -f core conftest.err conftest.$ac_objext \
20075 conftest$ac_exeext conftest.$ac_ext
20077 ac_res=`eval echo '${'$as_ac_var'}'`
20078 { echo "$as_me:$LINENO: result: $ac_res" >&5
20079 echo "${ECHO_T}$ac_res" >&6; }
20080 if test `eval echo '${'$as_ac_var'}'` = yes; then
20081 cat >>confdefs.h <<_ACEOF
20082 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20088 { echo "$as_me:$LINENO: checking for working mmap" >&5
20089 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6; }
20090 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
20091 echo $ECHO_N "(cached) $ECHO_C" >&6
20093 if test "$cross_compiling" = yes; then
20094 ac_cv_func_mmap_fixed_mapped=no
20096 cat >conftest.$ac_ext <<_ACEOF
20099 cat confdefs.h >>conftest.$ac_ext
20100 cat >>conftest.$ac_ext <<_ACEOF
20101 /* end confdefs.h. */
20102 $ac_includes_default
20103 /* malloc might have been renamed as rpl_malloc. */
20106 /* Thanks to Mike Haertel and Jim Avera for this test.
20107 Here is a matrix of mmap possibilities:
20108 mmap private not fixed
20109 mmap private fixed at somewhere currently unmapped
20110 mmap private fixed at somewhere already mapped
20111 mmap shared not fixed
20112 mmap shared fixed at somewhere currently unmapped
20113 mmap shared fixed at somewhere already mapped
20114 For private mappings, we should verify that changes cannot be read()
20115 back from the file, nor mmap's back from the file at a different
20116 address. (There have been systems where private was not correctly
20117 implemented like the infamous i386 svr4.0, and systems where the
20118 VM page cache was not coherent with the file system buffer cache
20119 like early versions of FreeBSD and possibly contemporary NetBSD.)
20120 For shared mappings, we should conversely verify that changes get
20121 propagated back to all the places they're supposed to be.
20123 Grep wants private fixed already mapped.
20124 The main things grep needs to know about mmap are:
20125 * does it exist and is it safe to write into the mmap'd area
20126 * how to use it (BSD variants) */
20129 #include <sys/mman.h>
20131 #if !STDC_HEADERS && !HAVE_STDLIB_H
20135 /* This mess was copied from the GNU getpagesize.h. */
20136 #if !HAVE_GETPAGESIZE
20137 /* Assume that all systems that can run configure have sys/param.h. */
20138 # if !HAVE_SYS_PARAM_H
20139 # define HAVE_SYS_PARAM_H 1
20142 # ifdef _SC_PAGESIZE
20143 # define getpagesize() sysconf(_SC_PAGESIZE)
20144 # else /* no _SC_PAGESIZE */
20145 # if HAVE_SYS_PARAM_H
20146 # include <sys/param.h>
20147 # ifdef EXEC_PAGESIZE
20148 # define getpagesize() EXEC_PAGESIZE
20149 # else /* no EXEC_PAGESIZE */
20151 # define getpagesize() NBPG * CLSIZE
20154 # endif /* no CLSIZE */
20155 # else /* no NBPG */
20157 # define getpagesize() NBPC
20158 # else /* no NBPC */
20160 # define getpagesize() PAGESIZE
20161 # endif /* PAGESIZE */
20162 # endif /* no NBPC */
20163 # endif /* no NBPG */
20164 # endif /* no EXEC_PAGESIZE */
20165 # else /* no HAVE_SYS_PARAM_H */
20166 # define getpagesize() 8192 /* punt totally */
20167 # endif /* no HAVE_SYS_PARAM_H */
20168 # endif /* no _SC_PAGESIZE */
20170 #endif /* no HAVE_GETPAGESIZE */
20175 char *data, *data2, *data3;
20179 pagesize = getpagesize ();
20181 /* First, make a file with some known garbage in it. */
20182 data = (char *) malloc (pagesize);
20185 for (i = 0; i < pagesize; ++i)
20186 *(data + i) = rand ();
20188 fd = creat ("conftest.mmap", 0600);
20191 if (write (fd, data, pagesize) != pagesize)
20195 /* Next, try to mmap the file at a fixed address which already has
20196 something else allocated at it. If we can, also make sure that
20197 we see the same garbage. */
20198 fd = open ("conftest.mmap", O_RDWR);
20201 data2 = (char *) malloc (2 * pagesize);
20204 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
20205 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
20206 MAP_PRIVATE | MAP_FIXED, fd, 0L))
20208 for (i = 0; i < pagesize; ++i)
20209 if (*(data + i) != *(data2 + i))
20212 /* Finally, make sure that changes to the mapped area do not
20213 percolate back to the file as seen by read(). (This is a bug on
20214 some variants of i386 svr4.0.) */
20215 for (i = 0; i < pagesize; ++i)
20216 *(data2 + i) = *(data2 + i) + 1;
20217 data3 = (char *) malloc (pagesize);
20220 if (read (fd, data3, pagesize) != pagesize)
20222 for (i = 0; i < pagesize; ++i)
20223 if (*(data + i) != *(data3 + i))
20229 rm -f conftest$ac_exeext
20230 if { (ac_try="$ac_link"
20231 case "(($ac_try" in
20232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20233 *) ac_try_echo=$ac_try;;
20235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20236 (eval "$ac_link") 2>&5
20238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20239 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20240 { (case "(($ac_try" in
20241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20242 *) ac_try_echo=$ac_try;;
20244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20245 (eval "$ac_try") 2>&5
20247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20248 (exit $ac_status); }; }; then
20249 ac_cv_func_mmap_fixed_mapped=yes
20251 echo "$as_me: program exited with status $ac_status" >&5
20252 echo "$as_me: failed program was:" >&5
20253 sed 's/^/| /' conftest.$ac_ext >&5
20255 ( exit $ac_status )
20256 ac_cv_func_mmap_fixed_mapped=no
20258 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20263 { echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
20264 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; }
20265 if test $ac_cv_func_mmap_fixed_mapped = yes; then
20267 cat >>confdefs.h <<\_ACEOF
20268 #define HAVE_MMAP 1
20272 rm -f conftest.mmap
20274 { echo "$as_me:$LINENO: checking for mmap of files" >&5
20275 echo $ECHO_N "checking for mmap of files... $ECHO_C" >&6; }
20276 if test "${ac_cv_func_mmap_file+set}" = set; then
20277 echo $ECHO_N "(cached) $ECHO_C" >&6
20280 ac_cpp='$CPP $CPPFLAGS'
20281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20285 if test "$cross_compiling" = yes; then
20286 ac_cv_func_mmap_file=no
20288 cat >conftest.$ac_ext <<_ACEOF
20292 cat confdefs.h >>conftest.$ac_ext
20293 cat >>conftest.$ac_ext <<_ACEOF
20294 /* end confdefs.h. */
20296 #include <sys/types.h>
20297 #include <sys/mman.h>
20305 fd = creat ("foo",0777);
20306 fd = (int) mmap (0, 1, PROT_READ, MAP_SHARED, fd, 0);
20308 return (fd != (int) MAP_FAILED);
20313 rm -f conftest$ac_exeext
20314 if { (ac_try="$ac_link"
20315 case "(($ac_try" in
20316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20317 *) ac_try_echo=$ac_try;;
20319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20320 (eval "$ac_link") 2>&5
20322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20323 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20324 { (case "(($ac_try" in
20325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20326 *) ac_try_echo=$ac_try;;
20328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20329 (eval "$ac_try") 2>&5
20331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20332 (exit $ac_status); }; }; then
20333 ac_cv_func_mmap_file=yes
20335 echo "$as_me: program exited with status $ac_status" >&5
20336 echo "$as_me: failed program was:" >&5
20337 sed 's/^/| /' conftest.$ac_ext >&5
20339 ( exit $ac_status )
20340 ac_cv_func_mmap_file=no
20342 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20347 ac_cpp='$CPP $CPPFLAGS'
20348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20354 { echo "$as_me:$LINENO: result: $ac_cv_func_mmap_file" >&5
20355 echo "${ECHO_T}$ac_cv_func_mmap_file" >&6; }
20356 if test "$ac_cv_func_mmap_file" = yes; then
20358 cat >>confdefs.h <<\_ACEOF
20359 #define HAVE_MMAP_FILE
20366 { echo "$as_me:$LINENO: checking if /dev/zero is needed for mmap" >&5
20367 echo $ECHO_N "checking if /dev/zero is needed for mmap... $ECHO_C" >&6; }
20368 if test "${ac_cv_need_dev_zero_for_mmap+set}" = set; then
20369 echo $ECHO_N "(cached) $ECHO_C" >&6
20371 if test "$llvm_cv_os_type" = "Interix" ; then
20372 ac_cv_need_dev_zero_for_mmap=yes
20374 ac_cv_need_dev_zero_for_mmap=no
20378 { echo "$as_me:$LINENO: result: $ac_cv_need_dev_zero_for_mmap" >&5
20379 echo "${ECHO_T}$ac_cv_need_dev_zero_for_mmap" >&6; }
20380 if test "$ac_cv_need_dev_zero_for_mmap" = yes; then
20382 cat >>confdefs.h <<\_ACEOF
20383 #define NEED_DEV_ZERO_FOR_MMAP 1
20388 if test "$ac_cv_func_mmap_fixed_mapped" = "no"
20390 { echo "$as_me:$LINENO: WARNING: mmap() of a fixed address required but not supported" >&5
20391 echo "$as_me: WARNING: mmap() of a fixed address required but not supported" >&2;}
20393 if test "$ac_cv_func_mmap_file" = "no"
20395 { echo "$as_me:$LINENO: WARNING: mmap() of files required but not found" >&5
20396 echo "$as_me: WARNING: mmap() of files required but not found" >&2;}
20400 { echo "$as_me:$LINENO: checking for GCC atomic builtins" >&5
20401 echo $ECHO_N "checking for GCC atomic builtins... $ECHO_C" >&6; }
20403 ac_cpp='$CXXCPP $CPPFLAGS'
20404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20408 cat >conftest.$ac_ext <<_ACEOF
20411 cat confdefs.h >>conftest.$ac_ext
20412 cat >>conftest.$ac_ext <<_ACEOF
20413 /* end confdefs.h. */
20415 volatile unsigned long val = 1;
20416 __sync_synchronize();
20417 __sync_val_compare_and_swap(&val, 1, 0);
20418 __sync_add_and_fetch(&val, 1);
20419 __sync_sub_and_fetch(&val, 1);
20424 rm -f conftest.$ac_objext conftest$ac_exeext
20425 if { (ac_try="$ac_link"
20426 case "(($ac_try" in
20427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20428 *) ac_try_echo=$ac_try;;
20430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20431 (eval "$ac_link") 2>conftest.er1
20433 grep -v '^ *+' conftest.er1 >conftest.err
20435 cat conftest.err >&5
20436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20437 (exit $ac_status); } &&
20438 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20439 { (case "(($ac_try" in
20440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20441 *) ac_try_echo=$ac_try;;
20443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20444 (eval "$ac_try") 2>&5
20446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20447 (exit $ac_status); }; } &&
20448 { ac_try='test -s conftest$ac_exeext'
20449 { (case "(($ac_try" in
20450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20451 *) ac_try_echo=$ac_try;;
20453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20454 (eval "$ac_try") 2>&5
20456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20457 (exit $ac_status); }; }; then
20459 ac_cpp='$CPP $CPPFLAGS'
20460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20464 { echo "$as_me:$LINENO: result: yes" >&5
20465 echo "${ECHO_T}yes" >&6; }
20467 cat >>confdefs.h <<\_ACEOF
20468 #define LLVM_HAS_ATOMICS 1
20472 echo "$as_me: failed program was:" >&5
20473 sed 's/^/| /' conftest.$ac_ext >&5
20475 { echo "$as_me:$LINENO: result: no" >&5
20476 echo "${ECHO_T}no" >&6; }
20478 cat >>confdefs.h <<\_ACEOF
20479 #define LLVM_HAS_ATOMICS 0
20482 { echo "$as_me:$LINENO: WARNING: LLVM will be built thread-unsafe because atomic builtins are missing" >&5
20483 echo "$as_me: WARNING: LLVM will be built thread-unsafe because atomic builtins are missing" >&2;}
20486 rm -f core conftest.err conftest.$ac_objext \
20487 conftest$ac_exeext conftest.$ac_ext
20490 if test "$llvm_cv_os_type" = "Linux" -a "$llvm_cv_target_arch" = "x86_64" ; then
20491 { echo "$as_me:$LINENO: checking for 32-bit userspace on 64-bit system" >&5
20492 echo $ECHO_N "checking for 32-bit userspace on 64-bit system... $ECHO_C" >&6; }
20493 if test "${llvm_cv_linux_mixed+set}" = set; then
20494 echo $ECHO_N "(cached) $ECHO_C" >&6
20497 ac_cpp='$CPP $CPPFLAGS'
20498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20502 cat >conftest.$ac_ext <<_ACEOF
20505 cat confdefs.h >>conftest.$ac_ext
20506 cat >>conftest.$ac_ext <<_ACEOF
20507 /* end confdefs.h. */
20509 error: Not x86-64 even if uname says so!
20520 rm -f conftest.$ac_objext
20521 if { (ac_try="$ac_compile"
20522 case "(($ac_try" in
20523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20524 *) ac_try_echo=$ac_try;;
20526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20527 (eval "$ac_compile") 2>conftest.er1
20529 grep -v '^ *+' conftest.er1 >conftest.err
20531 cat conftest.err >&5
20532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20533 (exit $ac_status); } &&
20534 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20535 { (case "(($ac_try" in
20536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20537 *) ac_try_echo=$ac_try;;
20539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20540 (eval "$ac_try") 2>&5
20542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20543 (exit $ac_status); }; } &&
20544 { ac_try='test -s conftest.$ac_objext'
20545 { (case "(($ac_try" in
20546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20547 *) ac_try_echo=$ac_try;;
20549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20550 (eval "$ac_try") 2>&5
20552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20553 (exit $ac_status); }; }; then
20554 llvm_cv_linux_mixed=no
20556 echo "$as_me: failed program was:" >&5
20557 sed 's/^/| /' conftest.$ac_ext >&5
20559 llvm_cv_linux_mixed=yes
20562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20564 ac_cpp='$CPP $CPPFLAGS'
20565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20571 { echo "$as_me:$LINENO: result: $llvm_cv_linux_mixed" >&5
20572 echo "${ECHO_T}$llvm_cv_linux_mixed" >&6; }
20574 if test "$llvm_cv_linux_mixed" = "yes"; then
20575 llvm_cv_target_arch="x86"
20581 for ac_func in __dso_handle
20583 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20584 { echo "$as_me:$LINENO: checking for $ac_func" >&5
20585 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
20586 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
20587 echo $ECHO_N "(cached) $ECHO_C" >&6
20589 cat >conftest.$ac_ext <<_ACEOF
20592 cat confdefs.h >>conftest.$ac_ext
20593 cat >>conftest.$ac_ext <<_ACEOF
20594 /* end confdefs.h. */
20595 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20596 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20597 #define $ac_func innocuous_$ac_func
20599 /* System header to define __stub macros and hopefully few prototypes,
20600 which can conflict with char $ac_func (); below.
20601 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20602 <limits.h> exists even on freestanding compilers. */
20605 # include <limits.h>
20607 # include <assert.h>
20612 /* Override any GCC internal prototype to avoid an error.
20613 Use char because int might match the return type of a GCC
20614 builtin and then its argument prototype would still apply. */
20619 /* The GNU C library defines this for functions which it implements
20620 to always fail with ENOSYS. Some functions are actually named
20621 something starting with __ and the normal name is an alias. */
20622 #if defined __stub_$ac_func || defined __stub___$ac_func
20629 return $ac_func ();
20634 rm -f conftest.$ac_objext conftest$ac_exeext
20635 if { (ac_try="$ac_link"
20636 case "(($ac_try" in
20637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20638 *) ac_try_echo=$ac_try;;
20640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20641 (eval "$ac_link") 2>conftest.er1
20643 grep -v '^ *+' conftest.er1 >conftest.err
20645 cat conftest.err >&5
20646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20647 (exit $ac_status); } &&
20648 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20649 { (case "(($ac_try" in
20650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20651 *) ac_try_echo=$ac_try;;
20653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20654 (eval "$ac_try") 2>&5
20656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20657 (exit $ac_status); }; } &&
20658 { ac_try='test -s conftest$ac_exeext'
20659 { (case "(($ac_try" in
20660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20661 *) ac_try_echo=$ac_try;;
20663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20664 (eval "$ac_try") 2>&5
20666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20667 (exit $ac_status); }; }; then
20668 eval "$as_ac_var=yes"
20670 echo "$as_me: failed program was:" >&5
20671 sed 's/^/| /' conftest.$ac_ext >&5
20673 eval "$as_ac_var=no"
20676 rm -f core conftest.err conftest.$ac_objext \
20677 conftest$ac_exeext conftest.$ac_ext
20679 ac_res=`eval echo '${'$as_ac_var'}'`
20680 { echo "$as_me:$LINENO: result: $ac_res" >&5
20681 echo "${ECHO_T}$ac_res" >&6; }
20682 if test `eval echo '${'$as_ac_var'}'` = yes; then
20683 cat >>confdefs.h <<_ACEOF
20684 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20691 SHLIBEXT=$libltdl_cv_shlibext
20694 SHLIBPATH_VAR=$libltdl_cv_shlibpath_var
20697 # Translate the various configuration directories and other basic
20698 # information into substitutions that will end up in Makefile.config.in
20699 # that these configured values can be used by the makefiles
20700 if test "${prefix}" = "NONE" ; then
20701 prefix="/usr/local"
20703 eval LLVM_PREFIX="${prefix}";
20704 eval LLVM_BINDIR="${prefix}/bin";
20705 eval LLVM_LIBDIR="${prefix}/lib";
20706 eval LLVM_DATADIR="${prefix}/share/llvm";
20707 eval LLVM_DOCSDIR="${prefix}/share/doc/llvm";
20708 eval LLVM_ETCDIR="${prefix}/etc/llvm";
20709 eval LLVM_INCLUDEDIR="${prefix}/include";
20710 eval LLVM_INFODIR="${prefix}/info";
20711 eval LLVM_MANDIR="${prefix}/man";
20712 LLVM_CONFIGTIME=`date`
20724 # Place the various directores into the config.h file as #defines so that we
20725 # can know about the installation paths within LLVM.
20727 cat >>confdefs.h <<_ACEOF
20728 #define LLVM_PREFIX "$LLVM_PREFIX"
20732 cat >>confdefs.h <<_ACEOF
20733 #define LLVM_BINDIR "$LLVM_BINDIR"
20737 cat >>confdefs.h <<_ACEOF
20738 #define LLVM_LIBDIR "$LLVM_LIBDIR"
20742 cat >>confdefs.h <<_ACEOF
20743 #define LLVM_DATADIR "$LLVM_DATADIR"
20747 cat >>confdefs.h <<_ACEOF
20748 #define LLVM_DOCSDIR "$LLVM_DOCSDIR"
20752 cat >>confdefs.h <<_ACEOF
20753 #define LLVM_ETCDIR "$LLVM_ETCDIR"
20757 cat >>confdefs.h <<_ACEOF
20758 #define LLVM_INCLUDEDIR "$LLVM_INCLUDEDIR"
20762 cat >>confdefs.h <<_ACEOF
20763 #define LLVM_INFODIR "$LLVM_INFODIR"
20767 cat >>confdefs.h <<_ACEOF
20768 #define LLVM_MANDIR "$LLVM_MANDIR"
20772 cat >>confdefs.h <<_ACEOF
20773 #define LLVM_CONFIGTIME "$LLVM_CONFIGTIME"
20777 cat >>confdefs.h <<_ACEOF
20778 #define LLVM_DEFAULT_TARGET_TRIPLE "$target"
20782 # Determine which bindings to build.
20783 if test "$BINDINGS_TO_BUILD" = auto ; then
20784 BINDINGS_TO_BUILD=""
20785 if test "x$OCAMLC" != x -a "x$OCAMLDEP" != x ; then
20786 BINDINGS_TO_BUILD="ocaml $BINDINGS_TO_BUILD"
20789 BINDINGS_TO_BUILD=$BINDINGS_TO_BUILD
20792 # This isn't really configurey, but it avoids having to repeat the list in
20797 # Do any work necessary to ensure that bindings have what they need.
20798 binding_prereqs_failed=0
20799 for a_binding in $BINDINGS_TO_BUILD ; do
20800 case "$a_binding" in
20802 if test "x$OCAMLC" = x ; then
20803 { echo "$as_me:$LINENO: WARNING: --enable-bindings=ocaml specified, but ocamlc not found. Try configure OCAMLC=/path/to/ocamlc" >&5
20804 echo "$as_me: WARNING: --enable-bindings=ocaml specified, but ocamlc not found. Try configure OCAMLC=/path/to/ocamlc" >&2;}
20805 binding_prereqs_failed=1
20807 if test "x$OCAMLDEP" = x ; then
20808 { echo "$as_me:$LINENO: WARNING: --enable-bindings=ocaml specified, but ocamldep not found. Try configure OCAMLDEP=/path/to/ocamldep" >&5
20809 echo "$as_me: WARNING: --enable-bindings=ocaml specified, but ocamldep not found. Try configure OCAMLDEP=/path/to/ocamldep" >&2;}
20810 binding_prereqs_failed=1
20812 if test "x$OCAMLOPT" = x ; then
20813 { echo "$as_me:$LINENO: WARNING: --enable-bindings=ocaml specified, but ocamlopt not found. Try configure OCAMLOPT=/path/to/ocamlopt" >&5
20814 echo "$as_me: WARNING: --enable-bindings=ocaml specified, but ocamlopt not found. Try configure OCAMLOPT=/path/to/ocamlopt" >&2;}
20816 if test "x$with_ocaml_libdir" != xauto ; then
20817 OCAML_LIBDIR=$with_ocaml_libdir
20820 ocaml_stdlib="`"$OCAMLC" -where`"
20821 if test "$LLVM_PREFIX" '<' "$ocaml_stdlib" -a "$ocaml_stdlib" '<' "$LLVM_PREFIX~"
20823 # ocaml stdlib is beneath our prefix; use stdlib
20824 OCAML_LIBDIR=$ocaml_stdlib
20827 # ocaml stdlib is outside our prefix; use libdir/ocaml
20828 OCAML_LIBDIR=$LLVM_LIBDIR/ocaml
20835 if test "$binding_prereqs_failed" = 1 ; then
20836 { { echo "$as_me:$LINENO: error: Prequisites for bindings not satisfied. Fix them or use configure --disable-bindings." >&5
20837 echo "$as_me: error: Prequisites for bindings not satisfied. Fix them or use configure --disable-bindings." >&2;}
20838 { (exit 1); exit 1; }; }
20841 { echo "$as_me:$LINENO: checking for compiler -fvisibility-inlines-hidden option" >&5
20842 echo $ECHO_N "checking for compiler -fvisibility-inlines-hidden option... $ECHO_C" >&6; }
20843 if test "${llvm_cv_cxx_visibility_inlines_hidden+set}" = set; then
20844 echo $ECHO_N "(cached) $ECHO_C" >&6
20847 ac_cpp='$CXXCPP $CPPFLAGS'
20848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20852 oldcxxflags="$CXXFLAGS"
20853 CXXFLAGS="$CXXFLAGS -O0 -fvisibility-inlines-hidden -Werror"
20854 cat >conftest.$ac_ext <<_ACEOF
20857 cat confdefs.h >>conftest.$ac_ext
20858 cat >>conftest.$ac_ext <<_ACEOF
20859 /* end confdefs.h. */
20860 template <typename T> struct X { void __attribute__((noinline)) f() {} };
20869 rm -f conftest.$ac_objext
20870 if { (ac_try="$ac_compile"
20871 case "(($ac_try" in
20872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20873 *) ac_try_echo=$ac_try;;
20875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20876 (eval "$ac_compile") 2>conftest.er1
20878 grep -v '^ *+' conftest.er1 >conftest.err
20880 cat conftest.err >&5
20881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20882 (exit $ac_status); } &&
20883 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20884 { (case "(($ac_try" in
20885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20886 *) ac_try_echo=$ac_try;;
20888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20889 (eval "$ac_try") 2>&5
20891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20892 (exit $ac_status); }; } &&
20893 { ac_try='test -s conftest.$ac_objext'
20894 { (case "(($ac_try" in
20895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20896 *) ac_try_echo=$ac_try;;
20898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20899 (eval "$ac_try") 2>&5
20901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20902 (exit $ac_status); }; }; then
20903 llvm_cv_cxx_visibility_inlines_hidden=yes
20905 echo "$as_me: failed program was:" >&5
20906 sed 's/^/| /' conftest.$ac_ext >&5
20908 llvm_cv_cxx_visibility_inlines_hidden=no
20911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20912 CXXFLAGS="$oldcxxflags"
20914 ac_cpp='$CPP $CPPFLAGS'
20915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20921 { echo "$as_me:$LINENO: result: $llvm_cv_cxx_visibility_inlines_hidden" >&5
20922 echo "${ECHO_T}$llvm_cv_cxx_visibility_inlines_hidden" >&6; }
20923 if test "$llvm_cv_cxx_visibility_inlines_hidden" = yes ; then
20924 ENABLE_VISIBILITY_INLINES_HIDDEN=1
20927 ENABLE_VISIBILITY_INLINES_HIDDEN=0
20932 if test "$llvm_cv_link_use_r" = "yes" ; then
20939 if test "$llvm_cv_link_use_export_dynamic" = "yes" ; then
20940 RDYNAMIC="-Wl,-export-dynamic"
20948 ac_config_files="$ac_config_files Makefile.common"
20950 ac_config_files="$ac_config_files Makefile.llvm.config"
20953 ac_config_commands="$ac_config_commands Makefile"
20956 ac_config_commands="$ac_config_commands lib/Makefile"
20959 ac_config_commands="$ac_config_commands lib/sample/Makefile"
20962 ac_config_commands="$ac_config_commands tools/Makefile"
20965 ac_config_commands="$ac_config_commands tools/sample/Makefile"
20969 cat >confcache <<\_ACEOF
20970 # This file is a shell script that caches the results of configure
20971 # tests run on this system so they can be shared between configure
20972 # scripts and configure runs, see configure's option --config-cache.
20973 # It is not useful on other systems. If it contains results you don't
20974 # want to keep, you may remove or edit it.
20976 # config.status only pays attention to the cache file if you give it
20977 # the --recheck option to rerun configure.
20979 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20980 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20981 # following values.
20985 # The following way of writing the cache mishandles newlines in values,
20986 # but we know of no workaround that is simple, portable, and efficient.
20987 # So, we kill variables containing newlines.
20988 # Ultrix sh set writes to stderr and can't be redirected directly,
20989 # and sets the high bit in the cache file unless we assign to the vars.
20991 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20992 eval ac_val=\$$ac_var
20996 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
20997 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
21000 _ | IFS | as_nl) ;; #(
21001 *) $as_unset $ac_var ;;
21007 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21008 *${as_nl}ac_space=\ *)
21009 # `set' does not quote correctly, so add quotes (double-quote
21010 # substitution turns \\\\ into \\, and sed turns \\ into \).
21013 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21016 # `set' quotes correctly as required by POSIX, so do not add quotes.
21017 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21026 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21028 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21030 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21031 if test -w "$cache_file"; then
21032 test "x$cache_file" != "x/dev/null" &&
21033 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
21034 echo "$as_me: updating cache $cache_file" >&6;}
21035 cat confcache >$cache_file
21037 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
21038 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21043 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21044 # Let make expand exec_prefix.
21045 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21047 # Transform confdefs.h into DEFS.
21048 # Protect against shell expansion while executing Makefile rules.
21049 # Protect against Makefile macro expansion.
21051 # If the first sed substitution is executed (which looks for macros that
21052 # take arguments), then branch to the quote section. Otherwise,
21053 # look for a macro that doesn't take arguments.
21057 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
21059 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
21063 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
21076 DEFS=`sed -n "$ac_script" confdefs.h`
21081 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21082 # 1. Remove the extension, and $U if already installed.
21083 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21084 ac_i=`echo "$ac_i" | sed "$ac_script"`
21085 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21086 # will be set to the directory where LIBOBJS objects are built.
21087 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21088 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
21090 LIBOBJS=$ac_libobjs
21092 LTLIBOBJS=$ac_ltlibobjs
21095 if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
21096 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_LTDL\" was never defined.
21097 Usually this means the macro was only invoked conditionally." >&5
21098 echo "$as_me: error: conditional \"INSTALL_LTDL\" was never defined.
21099 Usually this means the macro was only invoked conditionally." >&2;}
21100 { (exit 1); exit 1; }; }
21102 if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
21103 { { echo "$as_me:$LINENO: error: conditional \"CONVENIENCE_LTDL\" was never defined.
21104 Usually this means the macro was only invoked conditionally." >&5
21105 echo "$as_me: error: conditional \"CONVENIENCE_LTDL\" was never defined.
21106 Usually this means the macro was only invoked conditionally." >&2;}
21107 { (exit 1); exit 1; }; }
21110 : ${CONFIG_STATUS=./config.status}
21111 ac_clean_files_save=$ac_clean_files
21112 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21113 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
21114 echo "$as_me: creating $CONFIG_STATUS" >&6;}
21115 cat >$CONFIG_STATUS <<_ACEOF
21117 # Generated by $as_me.
21118 # Run this file to recreate the current configuration.
21119 # Compiler output produced by configure, useful for debugging
21120 # configure, is in config.log if it exists.
21123 ac_cs_recheck=false
21125 SHELL=\${CONFIG_SHELL-$SHELL}
21128 cat >>$CONFIG_STATUS <<\_ACEOF
21129 ## --------------------- ##
21130 ## M4sh Initialization. ##
21131 ## --------------------- ##
21133 # Be Bourne compatible
21134 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
21137 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21138 # is contrary to our usage. Disable this feature.
21139 alias -g '${1+"$@"}'='"$@"'
21140 setopt NO_GLOB_SUBST
21142 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
21144 BIN_SH=xpg4; export BIN_SH # for Tru64
21145 DUALCASE=1; export DUALCASE # for MKS sh
21149 # Avoid depending upon Character Ranges.
21150 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21151 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21152 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21153 as_cr_digits='0123456789'
21154 as_cr_alnum=$as_cr_Letters$as_cr_digits
21156 # The user is always right.
21157 if test "${PATH_SEPARATOR+set}" != set; then
21158 echo "#! /bin/sh" >conf$$.sh
21159 echo "exit 0" >>conf$$.sh
21161 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
21169 # Support unset when possible.
21170 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
21178 # We need space, tab and new line, in precisely that order. Quoting is
21179 # there to prevent editors from complaining about space-tab.
21180 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21181 # splitting by setting IFS to empty value.)
21186 # Find who we are. Look in the path if we contain no directory separator.
21188 *[\\/]* ) as_myself=$0 ;;
21189 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21190 for as_dir in $PATH
21193 test -z "$as_dir" && as_dir=.
21194 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21200 # We did not find ourselves, most probably we were run as `sh COMMAND'
21201 # in which case we are not to be found in the path.
21202 if test "x$as_myself" = x; then
21205 if test ! -f "$as_myself"; then
21206 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21207 { (exit 1); exit 1; }
21210 # Work around bugs in pre-3.0 UWIN ksh.
21211 for as_var in ENV MAIL MAILPATH
21212 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
21220 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
21221 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
21222 LC_TELEPHONE LC_TIME
21224 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
21225 eval $as_var=C; export $as_var
21227 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
21231 # Required to use basename.
21232 if expr a : '\(a\)' >/dev/null 2>&1 &&
21233 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21239 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21240 as_basename=basename
21246 # Name of the executable.
21247 as_me=`$as_basename -- "$0" ||
21248 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21249 X"$0" : 'X\(//\)$' \| \
21250 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21252 sed '/^.*\/\([^/][^/]*\)\/*$/{
21271 as_lineno_1=$LINENO
21272 as_lineno_2=$LINENO
21273 test "x$as_lineno_1" != "x$as_lineno_2" &&
21274 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
21276 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21277 # uniformly replaced by the line number. The first 'sed' inserts a
21278 # line-number line after each line using $LINENO; the second 'sed'
21279 # does the real work. The second script uses 'N' to pair each
21280 # line-number line with the line containing $LINENO, and appends
21281 # trailing '-' during substitution so that $LINENO is not a special
21282 # case at line end.
21283 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21284 # scripts with optimization help from Paolo Bonzini. Blame Lee
21285 # E. McMahon (1931-1989) for sed's syntax. :-)
21297 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
21300 ' >$as_me.lineno &&
21301 chmod +x "$as_me.lineno" ||
21302 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
21303 { (exit 1); exit 1; }; }
21305 # Don't try to exec as it changes $[0], causing all sort of problems
21306 # (the dirname of $[0] is not the place where we might find the
21307 # original and so on. Autoconf is especially sensitive to this).
21308 . "./$as_me.lineno"
21309 # Exit status is that of the last command.
21314 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21320 ECHO_C= ECHO_N= ECHO_T=
21321 case `echo -n x` in
21323 case `echo 'x\c'` in
21324 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21331 if expr a : '\(a\)' >/dev/null 2>&1 &&
21332 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21338 rm -f conf$$ conf$$.exe conf$$.file
21339 if test -d conf$$.dir; then
21340 rm -f conf$$.dir/conf$$.file
21346 if ln -s conf$$.file conf$$ 2>/dev/null; then
21348 # ... but there are two gotchas:
21349 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21350 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21351 # In both cases, we have to default to `cp -p'.
21352 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21354 elif ln conf$$.file conf$$ 2>/dev/null; then
21359 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21360 rmdir conf$$.dir 2>/dev/null
21362 if mkdir -p . 2>/dev/null; then
21365 test -d ./-p && rmdir ./-p
21369 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
21370 # systems may use methods other than mode bits to determine executability.
21371 cat >conf$$.file <<_ASEOF
21375 chmod +x conf$$.file
21376 if test -x conf$$.file >/dev/null 2>&1; then
21377 as_executable_p="test -x"
21383 # Sed expression to map a string onto a valid CPP name.
21384 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21386 # Sed expression to map a string onto a valid variable name.
21387 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21392 # Save the log message, to keep $[0] and so on meaningful, and to
21393 # report actual input values of CONFIG_FILES etc. instead of their
21394 # values after options handling.
21396 This file was extended by [SAMPLE] $as_me [x.xx], which was
21397 generated by GNU Autoconf 2.60. Invocation command line was
21399 CONFIG_FILES = $CONFIG_FILES
21400 CONFIG_HEADERS = $CONFIG_HEADERS
21401 CONFIG_LINKS = $CONFIG_LINKS
21402 CONFIG_COMMANDS = $CONFIG_COMMANDS
21405 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21410 cat >>$CONFIG_STATUS <<_ACEOF
21411 # Files that config.status was made for.
21412 config_files="$ac_config_files"
21413 config_commands="$ac_config_commands"
21417 cat >>$CONFIG_STATUS <<\_ACEOF
21419 \`$as_me' instantiates files from templates according to the
21420 current configuration.
21422 Usage: $0 [OPTIONS] [FILE]...
21424 -h, --help print this help, then exit
21425 -V, --version print version number, then exit
21426 -q, --quiet do not print progress messages
21427 -d, --debug don't remove temporary files
21428 --recheck update $as_me by reconfiguring in the same conditions
21429 --file=FILE[:TEMPLATE]
21430 instantiate the configuration file FILE
21432 Configuration files:
21435 Configuration commands:
21438 Report bugs to <bug-autoconf@gnu.org>."
21441 cat >>$CONFIG_STATUS <<_ACEOF
21443 [SAMPLE] config.status [x.xx]
21444 configured by $0, generated by GNU Autoconf 2.60,
21445 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
21447 Copyright (C) 2006 Free Software Foundation, Inc.
21448 This config.status script is free software; the Free Software Foundation
21449 gives unlimited permission to copy, distribute and modify it."
21456 cat >>$CONFIG_STATUS <<\_ACEOF
21457 # If no file are specified by the user, then we need to provide default
21458 # value. By we need to know if files were specified by the user.
21464 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21465 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21476 # Handling of the options.
21477 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21479 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21480 echo "$ac_cs_version"; exit ;;
21481 --debug | --debu | --deb | --de | --d | -d )
21483 --file | --fil | --fi | --f )
21485 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
21486 ac_need_defaults=false;;
21487 --he | --h | --help | --hel | -h )
21488 echo "$ac_cs_usage"; exit ;;
21489 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21490 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21493 # This is an error.
21494 -*) { echo "$as_me: error: unrecognized option: $1
21495 Try \`$0 --help' for more information." >&2
21496 { (exit 1); exit 1; }; } ;;
21498 *) ac_config_targets="$ac_config_targets $1"
21499 ac_need_defaults=false ;;
21505 ac_configure_extra_args=
21507 if $ac_cs_silent; then
21509 ac_configure_extra_args="$ac_configure_extra_args --silent"
21513 cat >>$CONFIG_STATUS <<_ACEOF
21514 if \$ac_cs_recheck; then
21515 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21516 CONFIG_SHELL=$SHELL
21517 export CONFIG_SHELL
21518 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21522 cat >>$CONFIG_STATUS <<\_ACEOF
21526 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21527 ## Running $as_me. ##
21533 cat >>$CONFIG_STATUS <<_ACEOF
21537 llvm_src="${LLVM_SRC}"
21541 cat >>$CONFIG_STATUS <<\_ACEOF
21543 # Handling of arguments.
21544 for ac_config_target in $ac_config_targets
21546 case $ac_config_target in
21547 "setup") CONFIG_COMMANDS="$CONFIG_COMMANDS setup" ;;
21548 "Makefile.common") CONFIG_FILES="$CONFIG_FILES Makefile.common" ;;
21549 "Makefile.llvm.config") CONFIG_FILES="$CONFIG_FILES Makefile.llvm.config" ;;
21550 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
21551 "lib/Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Makefile" ;;
21552 "lib/sample/Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS lib/sample/Makefile" ;;
21553 "tools/Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/Makefile" ;;
21554 "tools/sample/Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/sample/Makefile" ;;
21556 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21557 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21558 { (exit 1); exit 1; }; };;
21563 # If the user did not use the arguments to specify the items to instantiate,
21564 # then the envvar interface is used. Set only those that are not.
21565 # We use the long form for the default assignment because of an extremely
21566 # bizarre bug on SunOS 4.1.3.
21567 if $ac_need_defaults; then
21568 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
21569 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
21572 # Have a temporary directory for convenience. Make it in the build tree
21573 # simply because there is no reason against having it here, and in addition,
21574 # creating and moving files from /tmp can sometimes cause problems.
21575 # Hook for its removal unless debugging.
21576 # Note that there is a small window in which the directory will not be cleaned:
21577 # after its creation but before its name has been assigned to `$tmp'.
21581 trap 'exit_status=$?
21582 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
21584 trap '{ (exit 1); exit 1; }' 1 2 13 15
21586 # Create a (secure) tmp directory for tmp files.
21589 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21590 test -n "$tmp" && test -d "$tmp"
21593 tmp=./conf$$-$RANDOM
21594 (umask 077 && mkdir "$tmp")
21597 echo "$me: cannot create a temporary directory in ." >&2
21598 { (exit 1); exit 1; }
21602 # Set up the sed scripts for CONFIG_FILES section.
21605 # No need to generate the scripts if there are no CONFIG_FILES.
21606 # This happens for instance when ./config.status config.h
21607 if test -n "$CONFIG_FILES"; then
21614 for ac_last_try in false false false false false :; do
21615 cat >conf$$subs.sed <<_ACEOF
21616 SHELL!$SHELL$ac_delim
21617 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
21618 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
21619 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
21620 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
21621 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
21622 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
21623 exec_prefix!$exec_prefix$ac_delim
21624 prefix!$prefix$ac_delim
21625 program_transform_name!$program_transform_name$ac_delim
21626 bindir!$bindir$ac_delim
21627 sbindir!$sbindir$ac_delim
21628 libexecdir!$libexecdir$ac_delim
21629 datarootdir!$datarootdir$ac_delim
21630 datadir!$datadir$ac_delim
21631 sysconfdir!$sysconfdir$ac_delim
21632 sharedstatedir!$sharedstatedir$ac_delim
21633 localstatedir!$localstatedir$ac_delim
21634 includedir!$includedir$ac_delim
21635 oldincludedir!$oldincludedir$ac_delim
21636 docdir!$docdir$ac_delim
21637 infodir!$infodir$ac_delim
21638 htmldir!$htmldir$ac_delim
21639 dvidir!$dvidir$ac_delim
21640 pdfdir!$pdfdir$ac_delim
21641 psdir!$psdir$ac_delim
21642 libdir!$libdir$ac_delim
21643 localedir!$localedir$ac_delim
21644 mandir!$mandir$ac_delim
21645 DEFS!$DEFS$ac_delim
21646 ECHO_C!$ECHO_C$ac_delim
21647 ECHO_N!$ECHO_N$ac_delim
21648 ECHO_T!$ECHO_T$ac_delim
21649 LIBS!$LIBS$ac_delim
21650 build_alias!$build_alias$ac_delim
21651 host_alias!$host_alias$ac_delim
21652 target_alias!$target_alias$ac_delim
21653 LLVM_SRC!$LLVM_SRC$ac_delim
21654 LLVM_OBJ!$LLVM_OBJ$ac_delim
21655 LLVM_VERSION!$LLVM_VERSION$ac_delim
21657 CFLAGS!$CFLAGS$ac_delim
21658 LDFLAGS!$LDFLAGS$ac_delim
21659 CPPFLAGS!$CPPFLAGS$ac_delim
21660 ac_ct_CC!$ac_ct_CC$ac_delim
21661 EXEEXT!$EXEEXT$ac_delim
21662 OBJEXT!$OBJEXT$ac_delim
21664 CXXFLAGS!$CXXFLAGS$ac_delim
21665 ac_ct_CXX!$ac_ct_CXX$ac_delim
21667 ENABLE_POLLY!$ENABLE_POLLY$ac_delim
21668 LLVM_HAS_POLLY!$LLVM_HAS_POLLY$ac_delim
21669 subdirs!$subdirs$ac_delim
21670 build!$build$ac_delim
21671 build_cpu!$build_cpu$ac_delim
21672 build_vendor!$build_vendor$ac_delim
21673 build_os!$build_os$ac_delim
21674 host!$host$ac_delim
21675 host_cpu!$host_cpu$ac_delim
21676 host_vendor!$host_vendor$ac_delim
21677 host_os!$host_os$ac_delim
21678 target!$target$ac_delim
21679 target_cpu!$target_cpu$ac_delim
21680 target_vendor!$target_vendor$ac_delim
21681 target_os!$target_os$ac_delim
21683 HOST_OS!$HOST_OS$ac_delim
21684 TARGET_OS!$TARGET_OS$ac_delim
21685 LINKALL!$LINKALL$ac_delim
21686 NOLINKALL!$NOLINKALL$ac_delim
21687 LLVM_ON_UNIX!$LLVM_ON_UNIX$ac_delim
21688 LLVM_ON_WIN32!$LLVM_ON_WIN32$ac_delim
21689 ARCH!$ARCH$ac_delim
21690 ENDIAN!$ENDIAN$ac_delim
21691 GREP!$GREP$ac_delim
21692 EGREP!$EGREP$ac_delim
21693 LLVM_CROSS_COMPILING!$LLVM_CROSS_COMPILING$ac_delim
21694 BUILD_CC!$BUILD_CC$ac_delim
21695 BUILD_EXEEXT!$BUILD_EXEEXT$ac_delim
21696 BUILD_CXX!$BUILD_CXX$ac_delim
21697 CVSBUILD!$CVSBUILD$ac_delim
21698 ENABLE_LIBCPP!$ENABLE_LIBCPP$ac_delim
21699 ENABLE_CXX11!$ENABLE_CXX11$ac_delim
21700 ENABLE_OPTIMIZED!$ENABLE_OPTIMIZED$ac_delim
21701 ENABLE_PROFILING!$ENABLE_PROFILING$ac_delim
21702 DISABLE_ASSERTIONS!$DISABLE_ASSERTIONS$ac_delim
21703 ENABLE_WERROR!$ENABLE_WERROR$ac_delim
21704 ENABLE_EXPENSIVE_CHECKS!$ENABLE_EXPENSIVE_CHECKS$ac_delim
21705 EXPENSIVE_CHECKS!$EXPENSIVE_CHECKS$ac_delim
21706 DEBUG_RUNTIME!$DEBUG_RUNTIME$ac_delim
21707 DEBUG_SYMBOLS!$DEBUG_SYMBOLS$ac_delim
21709 TARGET_HAS_JIT!$TARGET_HAS_JIT$ac_delim
21710 ENABLE_DOCS!$ENABLE_DOCS$ac_delim
21711 ENABLE_DOXYGEN!$ENABLE_DOXYGEN$ac_delim
21712 ENABLE_THREADS!$ENABLE_THREADS$ac_delim
21715 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
21717 elif $ac_last_try; then
21718 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21719 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21720 { (exit 1); exit 1; }; }
21722 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21726 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
21727 if test -n "$ac_eof"; then
21728 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
21729 ac_eof=`expr $ac_eof + 1`
21732 cat >>$CONFIG_STATUS <<_ACEOF
21733 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
21734 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21737 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
21738 s/^/s,@/; s/!/@,|#_!!_#|/
21741 s/'"$ac_delim"'$/,g/; t
21743 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
21744 ' >>$CONFIG_STATUS <conf$$subs.sed
21745 rm -f conf$$subs.sed
21746 cat >>$CONFIG_STATUS <<_ACEOF
21752 for ac_last_try in false false false false false :; do
21753 cat >conf$$subs.sed <<_ACEOF
21754 ENABLE_PTHREADS!$ENABLE_PTHREADS$ac_delim
21755 ENABLE_PIC!$ENABLE_PIC$ac_delim
21756 ENABLE_SHARED!$ENABLE_SHARED$ac_delim
21757 ENABLE_EMBED_STDCXX!$ENABLE_EMBED_STDCXX$ac_delim
21758 ENABLE_TIMESTAMPS!$ENABLE_TIMESTAMPS$ac_delim
21759 TARGETS_TO_BUILD!$TARGETS_TO_BUILD$ac_delim
21760 LLVM_ENUM_TARGETS!$LLVM_ENUM_TARGETS$ac_delim
21761 LLVM_ENUM_ASM_PRINTERS!$LLVM_ENUM_ASM_PRINTERS$ac_delim
21762 LLVM_ENUM_ASM_PARSERS!$LLVM_ENUM_ASM_PARSERS$ac_delim
21763 LLVM_ENUM_DISASSEMBLERS!$LLVM_ENUM_DISASSEMBLERS$ac_delim
21764 OPTIMIZE_OPTION!$OPTIMIZE_OPTION$ac_delim
21765 EXTRA_OPTIONS!$EXTRA_OPTIONS$ac_delim
21766 EXTRA_LD_OPTIONS!$EXTRA_LD_OPTIONS$ac_delim
21767 BINUTILS_INCDIR!$BINUTILS_INCDIR$ac_delim
21769 ifGNUmake!$ifGNUmake$ac_delim
21770 LN_S!$LN_S$ac_delim
21773 DATE!$DATE$ac_delim
21774 FIND!$FIND$ac_delim
21775 MKDIR!$MKDIR$ac_delim
21777 RANLIB!$RANLIB$ac_delim
21782 BINPWD!$BINPWD$ac_delim
21783 GRAPHVIZ!$GRAPHVIZ$ac_delim
21786 NEATO!$NEATO$ac_delim
21787 TWOPI!$TWOPI$ac_delim
21788 CIRCO!$CIRCO$ac_delim
21790 DOTTY!$DOTTY$ac_delim
21791 XDOT_PY!$XDOT_PY$ac_delim
21792 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
21793 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
21794 INSTALL_DATA!$INSTALL_DATA$ac_delim
21795 BZIP2!$BZIP2$ac_delim
21797 DOXYGEN!$DOXYGEN$ac_delim
21798 GROFF!$GROFF$ac_delim
21799 GZIPBIN!$GZIPBIN$ac_delim
21800 POD2HTML!$POD2HTML$ac_delim
21801 POD2MAN!$POD2MAN$ac_delim
21802 PDFROFF!$PDFROFF$ac_delim
21803 RUNTEST!$RUNTEST$ac_delim
21804 TCLSH!$TCLSH$ac_delim
21806 OCAMLC!$OCAMLC$ac_delim
21807 OCAMLOPT!$OCAMLOPT$ac_delim
21808 OCAMLDEP!$OCAMLDEP$ac_delim
21809 OCAMLDOC!$OCAMLDOC$ac_delim
21811 HAVE_LINK_VERSION_SCRIPT!$HAVE_LINK_VERSION_SCRIPT$ac_delim
21812 INSTALL_LTDL_TRUE!$INSTALL_LTDL_TRUE$ac_delim
21813 INSTALL_LTDL_FALSE!$INSTALL_LTDL_FALSE$ac_delim
21814 CONVENIENCE_LTDL_TRUE!$CONVENIENCE_LTDL_TRUE$ac_delim
21815 CONVENIENCE_LTDL_FALSE!$CONVENIENCE_LTDL_FALSE$ac_delim
21816 LIBADD_DL!$LIBADD_DL$ac_delim
21817 NO_VARIADIC_MACROS!$NO_VARIADIC_MACROS$ac_delim
21818 NO_MISSING_FIELD_INITIALIZERS!$NO_MISSING_FIELD_INITIALIZERS$ac_delim
21819 COVERED_SWITCH_DEFAULT!$COVERED_SWITCH_DEFAULT$ac_delim
21820 USE_UDIS86!$USE_UDIS86$ac_delim
21821 USE_OPROFILE!$USE_OPROFILE$ac_delim
21822 HAVE_PTHREAD!$HAVE_PTHREAD$ac_delim
21823 HUGE_VAL_SANITY!$HUGE_VAL_SANITY$ac_delim
21824 MMAP_FILE!$MMAP_FILE$ac_delim
21825 SHLIBEXT!$SHLIBEXT$ac_delim
21826 SHLIBPATH_VAR!$SHLIBPATH_VAR$ac_delim
21827 LLVM_PREFIX!$LLVM_PREFIX$ac_delim
21828 LLVM_BINDIR!$LLVM_BINDIR$ac_delim
21829 LLVM_LIBDIR!$LLVM_LIBDIR$ac_delim
21830 LLVM_DATADIR!$LLVM_DATADIR$ac_delim
21831 LLVM_DOCSDIR!$LLVM_DOCSDIR$ac_delim
21832 LLVM_ETCDIR!$LLVM_ETCDIR$ac_delim
21833 LLVM_INCLUDEDIR!$LLVM_INCLUDEDIR$ac_delim
21834 LLVM_INFODIR!$LLVM_INFODIR$ac_delim
21835 LLVM_MANDIR!$LLVM_MANDIR$ac_delim
21836 LLVM_CONFIGTIME!$LLVM_CONFIGTIME$ac_delim
21837 BINDINGS_TO_BUILD!$BINDINGS_TO_BUILD$ac_delim
21838 ALL_BINDINGS!$ALL_BINDINGS$ac_delim
21839 OCAML_LIBDIR!$OCAML_LIBDIR$ac_delim
21840 ENABLE_VISIBILITY_INLINES_HIDDEN!$ENABLE_VISIBILITY_INLINES_HIDDEN$ac_delim
21841 RPATH!$RPATH$ac_delim
21842 RDYNAMIC!$RDYNAMIC$ac_delim
21843 LIBOBJS!$LIBOBJS$ac_delim
21844 LTLIBOBJS!$LTLIBOBJS$ac_delim
21847 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 91; then
21849 elif $ac_last_try; then
21850 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21851 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21852 { (exit 1); exit 1; }; }
21854 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21858 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
21859 if test -n "$ac_eof"; then
21860 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
21861 ac_eof=`expr $ac_eof + 1`
21864 cat >>$CONFIG_STATUS <<_ACEOF
21865 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
21866 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
21869 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
21870 s/^/s,@/; s/!/@,|#_!!_#|/
21873 s/'"$ac_delim"'$/,g/; t
21875 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
21876 ' >>$CONFIG_STATUS <conf$$subs.sed
21877 rm -f conf$$subs.sed
21878 cat >>$CONFIG_STATUS <<_ACEOF
21885 # VPATH may cause trouble with some makes, so we remove $(srcdir),
21886 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
21887 # trailing colons and then remove the whole line if VPATH becomes empty
21888 # (actually we leave an empty line to preserve line numbers).
21889 if test "x$srcdir" = x.; then
21890 ac_vpsub='/^[ ]*VPATH[ ]*=/{
21891 s/:*\$(srcdir):*/:/
21892 s/:*\${srcdir}:*/:/
21894 s/^\([^=]*=[ ]*\):*/\1/
21900 cat >>$CONFIG_STATUS <<\_ACEOF
21901 fi # test -n "$CONFIG_FILES"
21904 for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS
21907 :[FHLC]) ac_mode=$ac_tag; continue;;
21909 case $ac_mode$ac_tag in
21911 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
21912 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
21913 { (exit 1); exit 1; }; };;
21914 :[FH]-) ac_tag=-:-;;
21915 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
21932 -) ac_f="$tmp/stdin";;
21933 *) # Look for the file first in the build tree, then in the source tree
21934 # (if the path is not absolute). The absolute path cannot be DOS-style,
21935 # because $ac_f cannot contain `:'.
21939 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
21941 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
21942 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
21943 { (exit 1); exit 1; }; };;
21945 ac_file_inputs="$ac_file_inputs $ac_f"
21948 # Let's still pretend it is `configure' which instantiates (i.e., don't
21949 # use $as_me), people would be surprised to read:
21950 # /* config.h. Generated by config.status. */
21951 configure_input="Generated from "`IFS=:
21952 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
21953 if test x"$ac_file" != x-; then
21954 configure_input="$ac_file. $configure_input"
21955 { echo "$as_me:$LINENO: creating $ac_file" >&5
21956 echo "$as_me: creating $ac_file" >&6;}
21960 *:-:* | *:-) cat >"$tmp/stdin";;
21965 ac_dir=`$as_dirname -- "$ac_file" ||
21966 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21967 X"$ac_file" : 'X\(//\)[^/]' \| \
21968 X"$ac_file" : 'X\(//\)$' \| \
21969 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21971 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21975 /^X\(\/\/\)[^/].*/{
21990 -*) as_dir=./$as_dir;;
21992 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
21996 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
21997 *) as_qdir=$as_dir;;
21999 as_dirs="'$as_qdir' $as_dirs"
22000 as_dir=`$as_dirname -- "$as_dir" ||
22001 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22002 X"$as_dir" : 'X\(//\)[^/]' \| \
22003 X"$as_dir" : 'X\(//\)$' \| \
22004 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22006 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22010 /^X\(\/\/\)[^/].*/{
22023 test -d "$as_dir" && break
22025 test -z "$as_dirs" || eval "mkdir $as_dirs"
22026 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22027 echo "$as_me: error: cannot create directory $as_dir" >&2;}
22028 { (exit 1); exit 1; }; }; }
22032 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22034 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22035 # A ".." for each directory in $ac_dir_suffix.
22036 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
22037 case $ac_top_builddir_sub in
22038 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22039 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22042 ac_abs_top_builddir=$ac_pwd
22043 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22044 # for backward compatibility:
22045 ac_top_builddir=$ac_top_build_prefix
22048 .) # We are building in place.
22050 ac_top_srcdir=$ac_top_builddir_sub
22051 ac_abs_top_srcdir=$ac_pwd ;;
22052 [\\/]* | ?:[\\/]* ) # Absolute name.
22053 ac_srcdir=$srcdir$ac_dir_suffix;
22054 ac_top_srcdir=$srcdir
22055 ac_abs_top_srcdir=$srcdir ;;
22056 *) # Relative name.
22057 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22058 ac_top_srcdir=$ac_top_build_prefix$srcdir
22059 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22061 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22071 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
22072 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
22076 cat >>$CONFIG_STATUS <<\_ACEOF
22077 # If the template does not know about datarootdir, expand it.
22078 # FIXME: This hack should be removed a few years after 2.60.
22079 ac_datarootdir_hack=; ac_datarootdir_seen=
22081 case `sed -n '/datarootdir/ {
22090 ' $ac_file_inputs` in
22091 *datarootdir*) ac_datarootdir_seen=yes;;
22092 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22093 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22094 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22096 cat >>$CONFIG_STATUS <<_ACEOF
22097 ac_datarootdir_hack='
22098 s&@datadir@&$datadir&g
22099 s&@docdir@&$docdir&g
22100 s&@infodir@&$infodir&g
22101 s&@localedir@&$localedir&g
22102 s&@mandir@&$mandir&g
22103 s&\\\${datarootdir}&$datarootdir&g' ;;
22107 # Neutralize VPATH when `$srcdir' = `.'.
22108 # Shell code in configure.ac might set extrasub.
22109 # FIXME: do we really want to maintain this feature?
22110 cat >>$CONFIG_STATUS <<_ACEOF
22114 cat >>$CONFIG_STATUS <<\_ACEOF
22116 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22117 s&@configure_input@&$configure_input&;t t
22118 s&@top_builddir@&$ac_top_builddir_sub&;t t
22119 s&@srcdir@&$ac_srcdir&;t t
22120 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22121 s&@top_srcdir@&$ac_top_srcdir&;t t
22122 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22123 s&@builddir@&$ac_builddir&;t t
22124 s&@abs_builddir@&$ac_abs_builddir&;t t
22125 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22126 s&@INSTALL@&$ac_INSTALL&;t t
22127 $ac_datarootdir_hack
22128 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
22130 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22131 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
22132 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
22133 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22134 which seems to be undefined. Please make sure it is defined." >&5
22135 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22136 which seems to be undefined. Please make sure it is defined." >&2;}
22140 -) cat "$tmp/out"; rm -f "$tmp/out";;
22141 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
22146 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
22147 echo "$as_me: executing $ac_file commands" >&6;}
22152 case $ac_file$ac_mode in
22153 "Makefile":C) ${llvm_src}/autoconf/mkinstalldirs `dirname Makefile`
22154 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/Makefile Makefile ;;
22155 "lib/Makefile":C) ${llvm_src}/autoconf/mkinstalldirs `dirname lib/Makefile`
22156 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/lib/Makefile lib/Makefile ;;
22157 "lib/sample/Makefile":C) ${llvm_src}/autoconf/mkinstalldirs `dirname lib/sample/Makefile`
22158 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/lib/sample/Makefile lib/sample/Makefile ;;
22159 "tools/Makefile":C) ${llvm_src}/autoconf/mkinstalldirs `dirname tools/Makefile`
22160 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/tools/Makefile tools/Makefile ;;
22161 "tools/sample/Makefile":C) ${llvm_src}/autoconf/mkinstalldirs `dirname tools/sample/Makefile`
22162 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/tools/sample/Makefile tools/sample/Makefile ;;
22168 { (exit 0); exit 0; }
22170 chmod +x $CONFIG_STATUS
22171 ac_clean_files=$ac_clean_files_save
22174 # configure is writing to config.log, and then calls config.status.
22175 # config.status does its own redirection, appending to config.log.
22176 # Unfortunately, on DOS this fails, as config.log is still kept open
22177 # by configure, so config.status won't be able to write to it; its
22178 # output is simply discarded. So we exec the FD to /dev/null,
22179 # effectively closing config.log, so it can be properly (re)opened and
22180 # appended to by config.status. When coming back to configure, we
22181 # need to make the FD available again.
22182 if test "$no_create" != yes; then
22184 ac_config_status_args=
22185 test "$silent" = yes &&
22186 ac_config_status_args="$ac_config_status_args --quiet"
22188 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22190 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22191 # would make configure fail if this is the last instruction.
22192 $ac_cs_success || { (exit 1); exit 1; }
22196 # CONFIG_SUBDIRS section.
22198 if test "$no_recursion" != yes; then
22200 # Remove --cache-file and --srcdir arguments so they do not pile up.
22201 ac_sub_configure_args=
22203 eval "set x $ac_configure_args"
22207 if test -n "$ac_prev"; then
22212 -cache-file | --cache-file | --cache-fil | --cache-fi \
22213 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
22214 ac_prev=cache_file ;;
22215 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
22216 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
22219 --config-cache | -C)
22221 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
22223 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
22225 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
22227 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
22231 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
22233 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
22237 # Always prepend --prefix to ensure using the same prefix
22238 # in subdir configurations.
22239 ac_arg="--prefix=$prefix"
22241 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
22243 ac_sub_configure_args="$ac_arg $ac_sub_configure_args"
22246 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
22248 # Do not complain, so a configure script can configure whichever
22249 # parts of a large source tree are present.
22250 test -d "$srcdir/$ac_dir" || continue
22252 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
22253 echo "$as_me:$LINENO: $ac_msg" >&5
22257 -*) as_dir=./$as_dir;;
22259 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
22263 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
22264 *) as_qdir=$as_dir;;
22266 as_dirs="'$as_qdir' $as_dirs"
22267 as_dir=`$as_dirname -- "$as_dir" ||
22268 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22269 X"$as_dir" : 'X\(//\)[^/]' \| \
22270 X"$as_dir" : 'X\(//\)$' \| \
22271 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22273 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22277 /^X\(\/\/\)[^/].*/{
22290 test -d "$as_dir" && break
22292 test -z "$as_dirs" || eval "mkdir $as_dirs"
22293 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22294 echo "$as_me: error: cannot create directory $as_dir" >&2;}
22295 { (exit 1); exit 1; }; }; }
22299 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22301 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22302 # A ".." for each directory in $ac_dir_suffix.
22303 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
22304 case $ac_top_builddir_sub in
22305 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22306 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22309 ac_abs_top_builddir=$ac_pwd
22310 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22311 # for backward compatibility:
22312 ac_top_builddir=$ac_top_build_prefix
22315 .) # We are building in place.
22317 ac_top_srcdir=$ac_top_builddir_sub
22318 ac_abs_top_srcdir=$ac_pwd ;;
22319 [\\/]* | ?:[\\/]* ) # Absolute name.
22320 ac_srcdir=$srcdir$ac_dir_suffix;
22321 ac_top_srcdir=$srcdir
22322 ac_abs_top_srcdir=$srcdir ;;
22323 *) # Relative name.
22324 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22325 ac_top_srcdir=$ac_top_build_prefix$srcdir
22326 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22328 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22333 # Check for guested configure; otherwise get Cygnus style configure.
22334 if test -f "$ac_srcdir/configure.gnu"; then
22335 ac_sub_configure=$ac_srcdir/configure.gnu
22336 elif test -f "$ac_srcdir/configure"; then
22337 ac_sub_configure=$ac_srcdir/configure
22338 elif test -f "$ac_srcdir/configure.in"; then
22339 # This should be Cygnus configure.
22340 ac_sub_configure=$ac_aux_dir/configure
22342 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
22343 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
22347 # The recursion is here.
22348 if test -n "$ac_sub_configure"; then
22349 # Make the cache file name correct relative to the subdirectory.
22350 case $cache_file in
22351 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
22352 *) # Relative name.
22353 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
22356 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
22357 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
22358 # The eval makes quoting arguments work.
22359 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
22360 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
22361 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
22362 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
22363 { (exit 1); exit 1; }; }